(_o,Uo,Rn=0,Cn=-1)
| 1 | var E7=Object.create;var ES=Object.defineProperty;var k7=Object.getOwnPropertyDescriptor;var C7=Object.getOwnPropertyNames;var L7=Object.getPrototypeOf,I7=Object.prototype.hasOwnProperty;var Aw=(jt,Se)=>()=>(Se||jt((Se={exports:{}}).exports,Se),Se.exports);var P7=(jt,Se,Mt,Lt)=>{if(Se&&typeof Se=="object"||typeof Se=="function")for(let $t of C7(Se))!I7.call(jt,$t)&&$t!==Mt&&ES(jt,$t,{get:()=>Se[$t],enumerable:!(Lt=k7(Se,$t))||Lt.enumerable});return jt};var Qv=(jt,Se,Mt)=>(Mt=jt!=null?E7(L7(jt)):{},P7(Se||!jt||!jt.__esModule?ES(Mt,"default",{value:jt,enumerable:!0}):Mt,jt));var P0=Aw((r_,kS)=>{(function(jt,Se){typeof r_=="object"&&typeof kS<"u"?Se(r_):typeof define=="function"&&define.amd?define(["exports"],Se):(jt=typeof globalThis<"u"?globalThis:jt||self,Se(jt.lumino_algorithm={}))})(r_,function(jt){"use strict";jt.ArrayExt=void 0,function(Tn){function lo(_o,Uo,Rn=0,Cn=-1){let jn=_o.length;if(jn===0)return-1;Rn<0?Rn=Math.max(0,Rn+jn):Rn=Math.min(Rn,jn-1),Cn<0?Cn=Math.max(0,Cn+jn):Cn=Math.min(Cn,jn-1);let Yo;Cn<Rn?Yo=Cn+1+(jn-Rn):Yo=Cn-Rn+1;for(let As=0;As<Yo;++As){let Sc=(Rn+As)%jn;if(_o[Sc]===Uo)return Sc}return-1}Tn.firstIndexOf=lo;function vn(_o,Uo,Rn=-1,Cn=0){let jn=_o.length;if(jn===0)return-1;Rn<0?Rn=Math.max(0,Rn+jn):Rn=Math.min(Rn,jn-1),Cn<0?Cn=Math.max(0,Cn+jn):Cn=Math.min(Cn,jn-1);let Yo;Rn<Cn?Yo=Rn+1+(jn-Cn):Yo=Rn-Cn+1;for(let As=0;As<Yo;++As){let Sc=(Rn-As+jn)%jn;if(_o[Sc]===Uo)return Sc}return-1}Tn.lastIndexOf=vn;function zn(_o,Uo,Rn=0,Cn=-1){let jn=_o.length;if(jn===0)return-1;Rn<0?Rn=Math.max(0,Rn+jn):Rn=Math.min(Rn,jn-1),Cn<0?Cn=Math.max(0,Cn+jn):Cn=Math.min(Cn,jn-1);let Yo;Cn<Rn?Yo=Cn+1+(jn-Rn):Yo=Cn-Rn+1;for(let As=0;As<Yo;++As){let Sc=(Rn+As)%jn;if(Uo(_o[Sc],Sc))return Sc}return-1}Tn.findFirstIndex=zn;function zl(_o,Uo,Rn=-1,Cn=0){let jn=_o.length;if(jn===0)return-1;Rn<0?Rn=Math.max(0,Rn+jn):Rn=Math.min(Rn,jn-1),Cn<0?Cn=Math.max(0,Cn+jn):Cn=Math.min(Cn,jn-1);let Yo;Rn<Cn?Yo=Rn+1+(jn-Cn):Yo=Rn-Cn+1;for(let As=0;As<Yo;++As){let Sc=(Rn-As+jn)%jn;if(Uo(_o[Sc],Sc))return Sc}return-1}Tn.findLastIndex=zl;function fu(_o,Uo,Rn=0,Cn=-1){let jn=zn(_o,Uo,Rn,Cn);return jn!==-1?_o[jn]:void 0}Tn.findFirstValue=fu;function vl(_o,Uo,Rn=-1,Cn=0){let jn=zl(_o,Uo,Rn,Cn);return jn!==-1?_o[jn]:void 0}Tn.findLastValue=vl;function bu(_o,Uo,Rn,Cn=0,jn=-1){let Yo=_o.length;if(Yo===0)return 0;Cn<0?Cn=Math.max(0,Cn+Yo):Cn=Math.min(Cn,Yo-1),jn<0?jn=Math.max(0,jn+Yo):jn=Math.min(jn,Yo-1);let As=Cn,Sc=jn-Cn+1;for(;Sc>0;){let Td=Sc>>1,Up=As+Td;Rn(_o[Up],Uo)<0?(As=Up+1,Sc-=Td+1):Sc=Td}return As}Tn.lowerBound=bu;function Tf(_o,Uo,Rn,Cn=0,jn=-1){let Yo=_o.length;if(Yo===0)return 0;Cn<0?Cn=Math.max(0,Cn+Yo):Cn=Math.min(Cn,Yo-1),jn<0?jn=Math.max(0,jn+Yo):jn=Math.min(jn,Yo-1);let As=Cn,Sc=jn-Cn+1;for(;Sc>0;){let Td=Sc>>1,Up=As+Td;Rn(_o[Up],Uo)>0?Sc=Td:(As=Up+1,Sc-=Td+1)}return As}Tn.upperBound=Tf;function Hc(_o,Uo,Rn){if(_o===Uo)return!0;if(_o.length!==Uo.length)return!1;for(let Cn=0,jn=_o.length;Cn<jn;++Cn)if(Rn?!Rn(_o[Cn],Uo[Cn]):_o[Cn]!==Uo[Cn])return!1;return!0}Tn.shallowEqual=Hc;function Ac(_o,Uo={}){let{start:Rn,stop:Cn,step:jn}=Uo;if(jn===void 0&&(jn=1),jn===0)throw new Error("Slice `step` cannot be zero.");let Yo=_o.length;Rn===void 0?Rn=jn<0?Yo-1:0:Rn<0?Rn=Math.max(Rn+Yo,jn<0?-1:0):Rn>=Yo&&(Rn=jn<0?Yo-1:Yo),Cn===void 0?Cn=jn<0?-1:Yo:Cn<0?Cn=Math.max(Cn+Yo,jn<0?-1:0):Cn>=Yo&&(Cn=jn<0?Yo-1:Yo);let As;jn<0&&Cn>=Rn||jn>0&&Rn>=Cn?As=0:jn<0?As=Math.floor((Cn-Rn+1)/jn+1):As=Math.floor((Cn-Rn-1)/jn+1);let Sc=[];for(let Td=0;Td<As;++Td)Sc[Td]=_o[Rn+Td*jn];return Sc}Tn.slice=Ac;function af(_o,Uo,Rn){let Cn=_o.length;if(Cn<=1||(Uo<0?Uo=Math.max(0,Uo+Cn):Uo=Math.min(Uo,Cn-1),Rn<0?Rn=Math.max(0,Rn+Cn):Rn=Math.min(Rn,Cn-1),Uo===Rn))return;let jn=_o[Uo],Yo=Uo<Rn?1:-1;for(let As=Uo;As!==Rn;As+=Yo)_o[As]=_o[As+Yo];_o[Rn]=jn}Tn.move=af;function gf(_o,Uo=0,Rn=-1){let Cn=_o.length;if(!(Cn<=1))for(Uo<0?Uo=Math.max(0,Uo+Cn):Uo=Math.min(Uo,Cn-1),Rn<0?Rn=Math.max(0,Rn+Cn):Rn=Math.min(Rn,Cn-1);Uo<Rn;){let jn=_o[Uo],Yo=_o[Rn];_o[Uo++]=Yo,_o[Rn--]=jn}}Tn.reverse=gf;function wu(_o,Uo,Rn=0,Cn=-1){let jn=_o.length;if(jn<=1||(Rn<0?Rn=Math.max(0,Rn+jn):Rn=Math.min(Rn,jn-1),Cn<0?Cn=Math.max(0,Cn+jn):Cn=Math.min(Cn,jn-1),Rn>=Cn))return;let Yo=Cn-Rn+1;if(Uo>0?Uo=Uo%Yo:Uo<0&&(Uo=(Uo%Yo+Yo)%Yo),Uo===0)return;let As=Rn+Uo;gf(_o,Rn,As-1),gf(_o,As,Cn),gf(_o,Rn,Cn)}Tn.rotate=wu;function Xo(_o,Uo,Rn=0,Cn=-1){let jn=_o.length;if(jn===0)return;Rn<0?Rn=Math.max(0,Rn+jn):Rn=Math.min(Rn,jn-1),Cn<0?Cn=Math.max(0,Cn+jn):Cn=Math.min(Cn,jn-1);let Yo;Cn<Rn?Yo=Cn+1+(jn-Rn):Yo=Cn-Rn+1;for(let As=0;As<Yo;++As)_o[(Rn+As)%jn]=Uo}Tn.fill=Xo;function qu(_o,Uo,Rn){let Cn=_o.length;Uo<0?Uo=Math.max(0,Uo+Cn):Uo=Math.min(Uo,Cn);for(let jn=Cn;jn>Uo;--jn)_o[jn]=_o[jn-1];_o[Uo]=Rn}Tn.insert=qu;function cv(_o,Uo){let Rn=_o.length;if(Uo<0&&(Uo+=Rn),Uo<0||Uo>=Rn)return;let Cn=_o[Uo];for(let jn=Uo+1;jn<Rn;++jn)_o[jn-1]=_o[jn];return _o.length=Rn-1,Cn}Tn.removeAt=cv;function Rv(_o,Uo,Rn=0,Cn=-1){let jn=lo(_o,Uo,Rn,Cn);return jn!==-1&&cv(_o,jn),jn}Tn.removeFirstOf=Rv;function Np(_o,Uo,Rn=-1,Cn=0){let jn=vn(_o,Uo,Rn,Cn);return jn!==-1&&cv(_o,jn),jn}Tn.removeLastOf=Np;function Yl(_o,Uo,Rn=0,Cn=-1){let jn=_o.length;if(jn===0)return 0;Rn<0?Rn=Math.max(0,Rn+jn):Rn=Math.min(Rn,jn-1),Cn<0?Cn=Math.max(0,Cn+jn):Cn=Math.min(Cn,jn-1);let Yo=0;for(let As=0;As<jn;++As)Rn<=Cn&&As>=Rn&&As<=Cn&&_o[As]===Uo||Cn<Rn&&(As<=Cn||As>=Rn)&&_o[As]===Uo?Yo++:Yo>0&&(_o[As-Yo]=_o[As]);return Yo>0&&(_o.length=jn-Yo),Yo}Tn.removeAllOf=Yl;function up(_o,Uo,Rn=0,Cn=-1){let jn,Yo=zn(_o,Uo,Rn,Cn);return Yo!==-1&&(jn=cv(_o,Yo)),{index:Yo,value:jn}}Tn.removeFirstWhere=up;function Pf(_o,Uo,Rn=-1,Cn=0){let jn,Yo=zl(_o,Uo,Rn,Cn);return Yo!==-1&&(jn=cv(_o,Yo)),{index:Yo,value:jn}}Tn.removeLastWhere=Pf;function vo(_o,Uo,Rn=0,Cn=-1){let jn=_o.length;if(jn===0)return 0;Rn<0?Rn=Math.max(0,Rn+jn):Rn=Math.min(Rn,jn-1),Cn<0?Cn=Math.max(0,Cn+jn):Cn=Math.min(Cn,jn-1);let Yo=0;for(let As=0;As<jn;++As)Rn<=Cn&&As>=Rn&&As<=Cn&&Uo(_o[As],As)||Cn<Rn&&(As<=Cn||As>=Rn)&&Uo(_o[As],As)?Yo++:Yo>0&&(_o[As-Yo]=_o[As]);return Yo>0&&(_o.length=jn-Yo),Yo}Tn.removeAllWhere=vo}(jt.ArrayExt||(jt.ArrayExt={}));function*Se(...Tn){for(let lo of Tn)yield*lo}function*Mt(){}function*Lt(Tn,lo=0){for(let vn of Tn)yield[lo++,vn]}function*$t(Tn,lo){let vn=0;for(let zn of Tn)lo(zn,vn++)&&(yield zn)}function gr(Tn,lo){let vn=0;for(let zn of Tn)if(lo(zn,vn++))return zn}function pi(Tn,lo){let vn=0;for(let zn of Tn)if(lo(zn,vn++))return vn-1;return-1}function ti(Tn,lo){let vn;for(let zn of Tn){if(vn===void 0){vn=zn;continue}lo(zn,vn)<0&&(vn=zn)}return vn}function ci(Tn,lo){let vn;for(let zn of Tn){if(vn===void 0){vn=zn;continue}lo(zn,vn)>0&&(vn=zn)}return vn}function Ii(Tn,lo){let vn=!0,zn,zl;for(let fu of Tn)vn?(zn=fu,zl=fu,vn=!1):lo(fu,zn)<0?zn=fu:lo(fu,zl)>0&&(zl=fu);return vn?void 0:[zn,zl]}function si(Tn){return Array.from(Tn)}function mi(Tn){let lo={};for(let[vn,zn]of Tn)lo[vn]=zn;return lo}function Ri(Tn,lo){let vn=0;for(let zn of Tn)if(lo(zn,vn++)===!1)return}function yi(Tn,lo){let vn=0;for(let zn of Tn)if(lo(zn,vn++)===!1)return!1;return!0}function bi(Tn,lo){let vn=0;for(let zn of Tn)if(lo(zn,vn++))return!0;return!1}function*wi(Tn,lo){let vn=0;for(let zn of Tn)yield lo(zn,vn++)}function*De(Tn,lo,vn){lo===void 0?(lo=Tn,Tn=0,vn=1):vn===void 0&&(vn=1);let zn=tn.rangeLength(Tn,lo,vn);for(let zl=0;zl<zn;zl++)yield Tn+vn*zl}var tn;(function(Tn){function lo(vn,zn,zl){return zl===0?1/0:vn>zn&&zl>0||vn<zn&&zl<0?0:Math.ceil((zn-vn)/zl)}Tn.rangeLength=lo})(tn||(tn={}));function Ya(Tn,lo,vn){let zn=Tn[Symbol.iterator](),zl=0,fu=zn.next();if(fu.done&&vn===void 0)throw new TypeError("Reduce of empty iterable with no initial value.");if(fu.done)return vn;let vl=zn.next();if(vl.done&&vn===void 0)return fu.value;if(vl.done)return lo(vn,fu.value,zl++);let bu;vn===void 0?bu=lo(fu.value,vl.value,zl++):bu=lo(lo(vn,fu.value,zl++),vl.value,zl++);let Tf;for(;!(Tf=zn.next()).done;)bu=lo(bu,Tf.value,zl++);return bu}function*sa(Tn,lo){for(;0<lo--;)yield Tn}function*Ua(Tn){yield Tn}function*en(Tn){if(typeof Tn.retro=="function")yield*Tn.retro();else for(let lo=Tn.length-1;lo>-1;lo--)yield Tn[lo]}function Mn(Tn){let lo=[],vn=new Set,zn=new Map;for(let vl of Tn)zl(vl);for(let[vl]of zn)fu(vl);return lo;function zl(vl){let[bu,Tf]=vl,Hc=zn.get(Tf);Hc?Hc.push(bu):zn.set(Tf,[bu])}function fu(vl){if(vn.has(vl))return;vn.add(vl);let bu=zn.get(vl);if(bu)for(let Tf of bu)fu(Tf);lo.push(vl)}}function*za(Tn,lo){let vn=0;for(let zn of Tn)vn++%lo===0&&(yield zn)}jt.StringExt=void 0,function(Tn){function lo(vl,bu,Tf=0){let Hc=new Array(bu.length);for(let Ac=0,af=Tf,gf=bu.length;Ac<gf;++Ac,++af){if(af=vl.indexOf(bu[Ac],af),af===-1)return null;Hc[Ac]=af}return Hc}Tn.findIndices=lo;function vn(vl,bu,Tf=0){let Hc=lo(vl,bu,Tf);if(!Hc)return null;let Ac=0;for(let af=0,gf=Hc.length;af<gf;++af){let wu=Hc[af]-Tf;Ac+=wu*wu}return{score:Ac,indices:Hc}}Tn.matchSumOfSquares=vn;function zn(vl,bu,Tf=0){let Hc=lo(vl,bu,Tf);if(!Hc)return null;let Ac=0,af=Tf-1;for(let gf=0,wu=Hc.length;gf<wu;++gf){let Xo=Hc[gf];Ac+=Xo-af-1,af=Xo}return{score:Ac,indices:Hc}}Tn.matchSumOfDeltas=zn;function zl(vl,bu,Tf){let Hc=[],Ac=0,af=0,gf=bu.length;for(;Ac<gf;){let wu=bu[Ac],Xo=bu[Ac];for(;++Ac<gf&&bu[Ac]===Xo+1;)Xo++;af<wu&&Hc.push(vl.slice(af,wu)),wu<Xo+1&&Hc.push(Tf(vl.slice(wu,Xo+1))),af=Xo+1}return af<vl.length&&Hc.push(vl.slice(af)),Hc}Tn.highlight=zl;function fu(vl,bu){return vl<bu?-1:vl>bu?1:0}Tn.cmp=fu}(jt.StringExt||(jt.StringExt={}));function*Qn(Tn,lo){if(lo<1)return;let vn=Tn[Symbol.iterator](),zn;for(;0<lo--&&!(zn=vn.next()).done;)yield zn.value}function*Do(...Tn){let lo=Tn.map(zn=>zn[Symbol.iterator]()),vn=lo.map(zn=>zn.next());for(;yi(vn,zn=>!zn.done);vn=lo.map(zn=>zn.next()))yield vn.map(zn=>zn.value)}jt.chain=Se,jt.each=Ri,jt.empty=Mt,jt.enumerate=Lt,jt.every=yi,jt.filter=$t,jt.find=gr,jt.findIndex=pi,jt.map=wi,jt.max=ci,jt.min=ti,jt.minmax=Ii,jt.once=Ua,jt.range=De,jt.reduce=Ya,jt.repeat=sa,jt.retro=en,jt.some=bi,jt.stride=za,jt.take=Qn,jt.toArray=si,jt.toObject=mi,jt.topologicSort=Mn,jt.zip=Do})});var a_=Aw((i_,CS)=>{(function(jt,Se){typeof i_=="object"&&typeof CS<"u"?Se(i_,P0()):typeof define=="function"&&define.amd?define(["exports","@lumino/algorithm"],Se):(jt=typeof globalThis<"u"?globalThis:jt||self,Se(jt.lumino_coreutils={},jt.lumino_algorithm))})(i_,function(jt,Se){"use strict";jt.JSONExt=void 0,function(Ii){Ii.emptyObject=Object.freeze({}),Ii.emptyArray=Object.freeze([]);function si(sa){return sa===null||typeof sa=="boolean"||typeof sa=="number"||typeof sa=="string"}Ii.isPrimitive=si;function mi(sa){return Array.isArray(sa)}Ii.isArray=mi;function Ri(sa){return!si(sa)&&!mi(sa)}Ii.isObject=Ri;function yi(sa,Ua){if(sa===Ua)return!0;if(si(sa)||si(Ua))return!1;let en=mi(sa),Mn=mi(Ua);return en!==Mn?!1:en&&Mn?wi(sa,Ua):De(sa,Ua)}Ii.deepEqual=yi;function bi(sa){return si(sa)?sa:mi(sa)?tn(sa):Ya(sa)}Ii.deepCopy=bi;function wi(sa,Ua){if(sa===Ua)return!0;if(sa.length!==Ua.length)return!1;for(let en=0,Mn=sa.length;en<Mn;++en)if(!yi(sa[en],Ua[en]))return!1;return!0}function De(sa,Ua){if(sa===Ua)return!0;for(let en in sa)if(sa[en]!==void 0&&!(en in Ua))return!1;for(let en in Ua)if(Ua[en]!==void 0&&!(en in sa))return!1;for(let en in sa){let Mn=sa[en],za=Ua[en];if(!(Mn===void 0&&za===void 0)&&(Mn===void 0||za===void 0||!yi(Mn,za)))return!1}return!0}function tn(sa){let Ua=new Array(sa.length);for(let en=0,Mn=sa.length;en<Mn;++en)Ua[en]=bi(sa[en]);return Ua}function Ya(sa){let Ua={};for(let en in sa){let Mn=sa[en];Mn!==void 0&&(Ua[en]=bi(Mn))}return Ua}}(jt.JSONExt||(jt.JSONExt={}));class Mt{constructor(){this._types=[],this._values=[]}types(){return this._types.slice()}hasData(si){return this._types.indexOf(si)!==-1}getData(si){let mi=this._types.indexOf(si);return mi!==-1?this._values[mi]:void 0}setData(si,mi){this.clearData(si),this._types.push(si),this._values.push(mi)}clearData(si){let mi=this._types.indexOf(si);mi!==-1&&(this._types.splice(mi,1),this._values.splice(mi,1))}clear(){this._types.length=0,this._values.length=0}}class Lt{constructor(si={}){this._application=null,this._validatePlugin=()=>!0,this._plugins=new Map,this._services=new Map,si.validatePlugin&&(console.info("Plugins may be rejected by the custom validation plugin method."),this._validatePlugin=si.validatePlugin)}get application(){return this._application}set application(si){if(this._application!==null)throw Error("PluginRegistry.application is already set. It cannot be overridden.");this._application=si}get deferredPlugins(){return Array.from(this._plugins).filter(([si,mi])=>mi.autoStart==="defer").map(([si,mi])=>si)}getPluginDescription(si){var mi,Ri;return(Ri=(mi=this._plugins.get(si))===null||mi===void 0?void 0:mi.description)!==null&&Ri!==void 0?Ri:""}hasPlugin(si){return this._plugins.has(si)}isPluginActivated(si){var mi,Ri;return(Ri=(mi=this._plugins.get(si))===null||mi===void 0?void 0:mi.activated)!==null&&Ri!==void 0?Ri:!1}listPlugins(){return Array.from(this._plugins.keys())}registerPlugin(si){if(this._plugins.has(si.id))throw new TypeError(`Plugin '${si.id}' is already registered.`);if(!this._validatePlugin(si))throw new Error(`Plugin '${si.id}' is not valid.`);let mi=$t.createPluginData(si);$t.ensureNoCycle(mi,this._plugins,this._services),mi.provides&&this._services.set(mi.provides,mi.id),this._plugins.set(mi.id,mi)}registerPlugins(si){for(let mi of si)this.registerPlugin(mi)}deregisterPlugin(si,mi){let Ri=this._plugins.get(si);if(Ri){if(Ri.activated&&!mi)throw new Error(`Plugin '${si}' is still active.`);this._plugins.delete(si)}}async activatePlugin(si){let mi=this._plugins.get(si);if(!mi)throw new ReferenceError(`Plugin '${si}' is not registered.`);if(mi.activated)return;if(mi.promise)return mi.promise;let Ri=mi.requires.map(bi=>this.resolveRequiredService(bi)),yi=mi.optional.map(bi=>this.resolveOptionalService(bi));return mi.promise=Promise.all([...Ri,...yi]).then(bi=>mi.activate.apply(void 0,[this.application,...bi])).then(bi=>{mi.service=bi,mi.activated=!0,mi.promise=null}).catch(bi=>{throw mi.promise=null,bi}),mi.promise}async activatePlugins(si,mi={}){switch(si){case"defer":{let Ri=this.deferredPlugins.filter(yi=>this._plugins.get(yi).autoStart).map(yi=>this.activatePlugin(yi));await Promise.all(Ri);break}case"startUp":{let yi=$t.collectStartupPlugins(this._plugins,mi).map(async bi=>{try{return await this.activatePlugin(bi)}catch(wi){console.error(`Plugin '${bi}' failed to activate.`,wi)}});await Promise.all(yi);break}}}async deactivatePlugin(si){let mi=this._plugins.get(si);if(!mi)throw new ReferenceError(`Plugin '${si}' is not registered.`);if(!mi.activated)return[];if(!mi.deactivate)throw new TypeError(`Plugin '${si}'#deactivate() method missing`);let Ri=$t.findDependents(si,this._plugins,this._services),yi=Ri.map(bi=>this._plugins.get(bi));for(let bi of yi)if(!bi.deactivate)throw new TypeError(`Plugin ${bi.id}#deactivate() method missing (depends on ${si})`);for(let bi of yi){let wi=[...bi.requires,...bi.optional].map(De=>{let tn=this._services.get(De);return tn?this._plugins.get(tn).service:null});await bi.deactivate(this.application,...wi),bi.service=null,bi.activated=!1}return Ri.pop(),Ri}async resolveRequiredService(si){let mi=this._services.get(si);if(!mi)throw new TypeError(`No provider for: ${si.name}.`);let Ri=this._plugins.get(mi);return Ri.activated||await this.activatePlugin(mi),Ri.service}async resolveOptionalService(si){let mi=this._services.get(si);if(!mi)return null;let Ri=this._plugins.get(mi);if(!Ri.activated)try{await this.activatePlugin(mi)}catch(yi){return console.error(yi),null}return Ri.service}}var $t;(function(Ii){class si{constructor(De){var tn,Ya,sa,Ua;this._activated=!1,this._promise=null,this._service=null,this.id=De.id,this.description=(tn=De.description)!==null&&tn!==void 0?tn:"",this.activate=De.activate,this.deactivate=(Ya=De.deactivate)!==null&&Ya!==void 0?Ya:null,this.provides=(sa=De.provides)!==null&&sa!==void 0?sa:null,this.autoStart=(Ua=De.autoStart)!==null&&Ua!==void 0?Ua:!1,this.requires=De.requires?De.requires.slice():[],this.optional=De.optional?De.optional.slice():[]}get activated(){return this._activated}set activated(De){this._activated=De}get service(){return this._service}set service(De){this._service=De}get promise(){return this._promise}set promise(De){this._promise=De}}function mi(wi){return new si(wi)}Ii.createPluginData=mi;function Ri(wi,De,tn){let Ya=[...wi.requires,...wi.optional],sa=en=>{if(en===wi.provides)return!0;let Mn=tn.get(en);if(!Mn)return!1;let za=De.get(Mn),Qn=[...za.requires,...za.optional];return Qn.length===0?!1:(Ua.push(Mn),Qn.some(sa)?!0:(Ua.pop(),!1))};if(!wi.provides||Ya.length===0)return;let Ua=[wi.id];if(Ya.some(sa))throw new ReferenceError(`Cycle detected: ${Ua.join(" -> ")}.`)}Ii.ensureNoCycle=Ri;function yi(wi,De,tn){let Ya=new Array,sa=Qn=>{let Do=De.get(Qn),Tn=[...Do.requires,...Do.optional];Ya.push(...Tn.reduce((lo,vn)=>{let zn=tn.get(vn);return zn&&lo.push([Qn,zn]),lo},[]))};for(let Qn of De.keys())sa(Qn);let Ua=Ya.filter(Qn=>Qn[1]===wi),en=0;for(;Ua.length>en;){let Qn=Ua.length,Do=new Set(Ua.map(Tn=>Tn[0]));for(let Tn of Do)Ya.filter(lo=>lo[1]===Tn).forEach(lo=>{Ua.includes(lo)||Ua.push(lo)});en=Qn}let Mn=Se.topologicSort(Ua),za=Mn.findIndex(Qn=>Qn===wi);return za===-1?[wi]:Mn.slice(0,za+1)}Ii.findDependents=yi;function bi(wi,De){let tn=new Set;for(let Ya of wi.keys())wi.get(Ya).autoStart===!0&&tn.add(Ya);if(De.startPlugins)for(let Ya of De.startPlugins)tn.add(Ya);if(De.ignorePlugins)for(let Ya of De.ignorePlugins)tn.delete(Ya);return Array.from(tn)}Ii.collectStartupPlugins=bi})($t||($t={}));class gr{constructor(){this.promise=new Promise((si,mi)=>{this._resolve=si,this._reject=mi})}resolve(si){let mi=this._resolve;mi(si)}reject(si){let mi=this._reject;mi(si)}}class pi{constructor(si,mi){this.name=si,this.description=mi??"",this._tokenStructuralPropertyT=null}}function ti(Ii){let si=0;for(let mi=0,Ri=Ii.length;mi<Ri;++mi)mi%4===0&&(si=Math.random()*4294967295>>>0),Ii[mi]=si&255,si>>>=8}jt.Random=void 0,function(Ii){Ii.getRandomValues=(()=>{let si=typeof window<"u"&&(window.crypto||window.msCrypto)||null;return si&&typeof si.getRandomValues=="function"?function(Ri){return si.getRandomValues(Ri)}:ti})()}(jt.Random||(jt.Random={}));function ci(Ii){let si=new Uint8Array(16),mi=new Array(256);for(let Ri=0;Ri<16;++Ri)mi[Ri]="0"+Ri.toString(16);for(let Ri=16;Ri<256;++Ri)mi[Ri]=Ri.toString(16);return function(){return Ii(si),si[6]=64|si[6]&15,si[8]=128|si[8]&63,mi[si[0]]+mi[si[1]]+mi[si[2]]+mi[si[3]]+"-"+mi[si[4]]+mi[si[5]]+"-"+mi[si[6]]+mi[si[7]]+"-"+mi[si[8]]+mi[si[9]]+"-"+mi[si[10]]+mi[si[11]]+mi[si[12]]+mi[si[13]]+mi[si[14]]+mi[si[15]]}}jt.UUID=void 0,function(Ii){Ii.uuid4=ci(jt.Random.getRandomValues)}(jt.UUID||(jt.UUID={})),jt.MimeData=Mt,jt.PluginRegistry=Lt,jt.PromiseDelegate=gr,jt.Token=pi})});var OS=Aw((BS,p_)=>{(function(jt,Se){typeof p_=="object"&&p_.exports?p_.exports=Se():jt.moduleName=Se()})(typeof self<"u"?self:BS,()=>{"use strict";var jt=(()=>{var Se=Object.create,Mt=Object.defineProperty,Lt=Object.defineProperties,$t=Object.getOwnPropertyDescriptor,gr=Object.getOwnPropertyDescriptors,pi=Object.getOwnPropertyNames,ti=Object.getOwnPropertySymbols,ci=Object.getPrototypeOf,Ii=Object.prototype.hasOwnProperty,si=Object.prototype.propertyIsEnumerable,mi=(Y,H,p)=>H in Y?Mt(Y,H,{enumerable:!0,configurable:!0,writable:!0,value:p}):Y[H]=p,Ri=(Y,H)=>{for(var p in H||(H={}))Ii.call(H,p)&&mi(Y,p,H[p]);if(ti)for(var p of ti(H))si.call(H,p)&&mi(Y,p,H[p]);return Y},yi=(Y,H)=>Lt(Y,gr(H)),bi=(Y,H)=>{var p={};for(var x in Y)Ii.call(Y,x)&&H.indexOf(x)<0&&(p[x]=Y[x]);if(Y!=null&&ti)for(var x of ti(Y))H.indexOf(x)<0&&si.call(Y,x)&&(p[x]=Y[x]);return p},wi=(Y,H)=>function(){return Y&&(H=(0,Y[pi(Y)[0]])(Y=0)),H},De=(Y,H)=>function(){return H||(0,Y[pi(Y)[0]])((H={exports:{}}).exports,H),H.exports},tn=(Y,H)=>{for(var p in H)Mt(Y,p,{get:H[p],enumerable:!0})},Ya=(Y,H,p,x)=>{if(H&&typeof H=="object"||typeof H=="function")for(let S of pi(H))!Ii.call(Y,S)&&S!==p&&Mt(Y,S,{get:()=>H[S],enumerable:!(x=$t(H,S))||x.enumerable});return Y},sa=(Y,H,p)=>(p=Y!=null?Se(ci(Y)):{},Ya(H||!Y||!Y.__esModule?Mt(p,"default",{value:Y,enumerable:!0}):p,Y)),Ua=Y=>Ya(Mt({},"__esModule",{value:!0}),Y),en=De({"src/version.js"(Y){"use strict";Y.version="3.4.0"}}),Mn=De({"node_modules/native-promise-only/lib/npo.src.js"(Y,H){(function(x,S,E){S[x]=S[x]||E(),typeof H<"u"&&H.exports&&(H.exports=S[x])})("Promise",typeof window<"u"?window:Y,function(){"use strict";var x,S,E,e=Object.prototype.toString,t=typeof setImmediate<"u"?function(_){return setImmediate(_)}:setTimeout;try{Object.defineProperty({},"x",{}),x=function(_,w,A,M){return Object.defineProperty(_,w,{value:A,writable:!0,configurable:M!==!1})}}catch{x=function(w,A,M){return w[A]=M,w}}E=function(){var _,w,A;function M(g,b){this.fn=g,this.self=b,this.next=void 0}return{add:function(b,v){A=new M(b,v),w?w.next=A:_=A,w=A,A=void 0},drain:function(){var b=_;for(_=w=S=void 0;b;)b.fn.call(b.self),b=b.next}}}();function r(l,_){E.add(l,_),S||(S=t(E.drain))}function o(l){var _,w=typeof l;return l!=null&&(w=="object"||w=="function")&&(_=l.then),typeof _=="function"?_:!1}function i(){for(var l=0;l<this.chain.length;l++)n(this,this.state===1?this.chain[l].success:this.chain[l].failure,this.chain[l]);this.chain.length=0}function n(l,_,w){var A,M;try{_===!1?w.reject(l.msg):(_===!0?A=l.msg:A=_.call(void 0,l.msg),A===w.promise?w.reject(TypeError("Promise-chain cycle")):(M=o(A))?M.call(A,w.resolve,w.reject):w.resolve(A))}catch(g){w.reject(g)}}function a(l){var _,w=this;if(!w.triggered){w.triggered=!0,w.def&&(w=w.def);try{(_=o(l))?r(function(){var A=new c(w);try{_.call(l,function(){a.apply(A,arguments)},function(){s.apply(A,arguments)})}catch(M){s.call(A,M)}}):(w.msg=l,w.state=1,w.chain.length>0&&r(i,w))}catch(A){s.call(new c(w),A)}}}function s(l){var _=this;_.triggered||(_.triggered=!0,_.def&&(_=_.def),_.msg=l,_.state=2,_.chain.length>0&&r(i,_))}function h(l,_,w,A){for(var M=0;M<_.length;M++)(function(b){l.resolve(_[b]).then(function(u){w(b,u)},A)})(M)}function c(l){this.def=l,this.triggered=!1}function m(l){this.promise=l,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function d(l){if(typeof l!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var _=new m(this);this.then=function(A,M){var g={success:typeof A=="function"?A:!0,failure:typeof M=="function"?M:!1};return g.promise=new this.constructor(function(v,u){if(typeof v!="function"||typeof u!="function")throw TypeError("Not a function");g.resolve=v,g.reject=u}),_.chain.push(g),_.state!==0&&r(i,_),g.promise},this.catch=function(A){return this.then(void 0,A)};try{l.call(void 0,function(A){a.call(_,A)},function(A){s.call(_,A)})}catch(w){s.call(_,w)}}var T=x({},"constructor",d,!1);return d.prototype=T,x(T,"__NPO__",0,!1),x(d,"resolve",function(_){var w=this;return _&&typeof _=="object"&&_.__NPO__===1?_:new w(function(M,g){if(typeof M!="function"||typeof g!="function")throw TypeError("Not a function");M(_)})}),x(d,"reject",function(_){return new this(function(A,M){if(typeof A!="function"||typeof M!="function")throw TypeError("Not a function");M(_)})}),x(d,"all",function(_){var w=this;return e.call(_)!="[object Array]"?w.reject(TypeError("Not an array")):_.length===0?w.resolve([]):new w(function(M,g){if(typeof M!="function"||typeof g!="function")throw TypeError("Not a function");var b=_.length,v=Array(b),u=0;h(w,_,function(f,R){v[f]=R,++u===b&&M(v)},g)})}),x(d,"race",function(_){var w=this;return e.call(_)!="[object Array]"?w.reject(TypeError("Not an array")):new w(function(M,g){if(typeof M!="function"||typeof g!="function")throw TypeError("Not a function");h(w,_,function(v,u){M(u)},g)})}),d})}}),za=De({"node_modules/@plotly/d3/d3.js"(Y,H){(function(){var p={version:"3.8.2"},x=[].slice,S=function(de){return x.call(de)},E=self.document;function e(de){return de&&(de.ownerDocument||de.document||de).documentElement}function t(de){return de&&(de.ownerDocument&&de.ownerDocument.defaultView||de.document&&de||de.defaultView)}if(E)try{S(E.documentElement.childNodes)[0].nodeType}catch{S=function(Fe){for(var Je=Fe.length,vt=new Array(Je);Je--;)vt[Je]=Fe[Je];return vt}}if(Date.now||(Date.now=function(){return+new Date}),E)try{E.createElement("DIV").style.setProperty("opacity",0,"")}catch{var r=this.Element.prototype,o=r.setAttribute,i=r.setAttributeNS,n=this.CSSStyleDeclaration.prototype,a=n.setProperty;r.setAttribute=function(Fe,Je){o.call(this,Fe,Je+"")},r.setAttributeNS=function(Fe,Je,vt){i.call(this,Fe,Je,vt+"")},n.setProperty=function(Fe,Je,vt){a.call(this,Fe,Je+"",vt)}}p.ascending=s;function s(de,Fe){return de<Fe?-1:de>Fe?1:de>=Fe?0:NaN}p.descending=function(de,Fe){return Fe<de?-1:Fe>de?1:Fe>=de?0:NaN},p.min=function(de,Fe){var Je=-1,vt=de.length,_t,At;if(arguments.length===1){for(;++Je<vt;)if((At=de[Je])!=null&&At>=At){_t=At;break}for(;++Je<vt;)(At=de[Je])!=null&&_t>At&&(_t=At)}else{for(;++Je<vt;)if((At=Fe.call(de,de[Je],Je))!=null&&At>=At){_t=At;break}for(;++Je<vt;)(At=Fe.call(de,de[Je],Je))!=null&&_t>At&&(_t=At)}return _t},p.max=function(de,Fe){var Je=-1,vt=de.length,_t,At;if(arguments.length===1){for(;++Je<vt;)if((At=de[Je])!=null&&At>=At){_t=At;break}for(;++Je<vt;)(At=de[Je])!=null&&At>_t&&(_t=At)}else{for(;++Je<vt;)if((At=Fe.call(de,de[Je],Je))!=null&&At>=At){_t=At;break}for(;++Je<vt;)(At=Fe.call(de,de[Je],Je))!=null&&At>_t&&(_t=At)}return _t},p.extent=function(de,Fe){var Je=-1,vt=de.length,_t,At,ar;if(arguments.length===1){for(;++Je<vt;)if((At=de[Je])!=null&&At>=At){_t=ar=At;break}for(;++Je<vt;)(At=de[Je])!=null&&(_t>At&&(_t=At),ar<At&&(ar=At))}else{for(;++Je<vt;)if((At=Fe.call(de,de[Je],Je))!=null&&At>=At){_t=ar=At;break}for(;++Je<vt;)(At=Fe.call(de,de[Je],Je))!=null&&(_t>At&&(_t=At),ar<At&&(ar=At))}return[_t,ar]};function h(de){return de===null?NaN:+de}function c(de){return!isNaN(de)}p.sum=function(de,Fe){var Je=0,vt=de.length,_t,At=-1;if(arguments.length===1)for(;++At<vt;)c(_t=+de[At])&&(Je+=_t);else for(;++At<vt;)c(_t=+Fe.call(de,de[At],At))&&(Je+=_t);return Je},p.mean=function(de,Fe){var Je=0,vt=de.length,_t,At=-1,ar=vt;if(arguments.length===1)for(;++At<vt;)c(_t=h(de[At]))?Je+=_t:--ar;else for(;++At<vt;)c(_t=h(Fe.call(de,de[At],At)))?Je+=_t:--ar;if(ar)return Je/ar},p.quantile=function(de,Fe){var Je=(de.length-1)*Fe+1,vt=Math.floor(Je),_t=+de[vt-1],At=Je-vt;return At?_t+At*(de[vt]-_t):_t},p.median=function(de,Fe){var Je=[],vt=de.length,_t,At=-1;if(arguments.length===1)for(;++At<vt;)c(_t=h(de[At]))&&Je.push(_t);else for(;++At<vt;)c(_t=h(Fe.call(de,de[At],At)))&&Je.push(_t);if(Je.length)return p.quantile(Je.sort(s),.5)},p.variance=function(de,Fe){var Je=de.length,vt=0,_t,At,ar=0,Ft=-1,xr=0;if(arguments.length===1)for(;++Ft<Je;)c(_t=h(de[Ft]))&&(At=_t-vt,vt+=At/++xr,ar+=At*(_t-vt));else for(;++Ft<Je;)c(_t=h(Fe.call(de,de[Ft],Ft)))&&(At=_t-vt,vt+=At/++xr,ar+=At*(_t-vt));if(xr>1)return ar/(xr-1)},p.deviation=function(){var de=p.variance.apply(this,arguments);return de&&Math.sqrt(de)};function m(de){return{left:function(Fe,Je,vt,_t){for(arguments.length<3&&(vt=0),arguments.length<4&&(_t=Fe.length);vt<_t;){var At=vt+_t>>>1;de(Fe[At],Je)<0?vt=At+1:_t=At}return vt},right:function(Fe,Je,vt,_t){for(arguments.length<3&&(vt=0),arguments.length<4&&(_t=Fe.length);vt<_t;){var At=vt+_t>>>1;de(Fe[At],Je)>0?_t=At:vt=At+1}return vt}}}var d=m(s);p.bisectLeft=d.left,p.bisect=p.bisectRight=d.right,p.bisector=function(de){return m(de.length===1?function(Fe,Je){return s(de(Fe),Je)}:de)},p.shuffle=function(de,Fe,Je){(vt=arguments.length)<3&&(Je=de.length,vt<2&&(Fe=0));for(var vt=Je-Fe,_t,At;vt;)At=Math.random()*vt--|0,_t=de[vt+Fe],de[vt+Fe]=de[At+Fe],de[At+Fe]=_t;return de},p.permute=function(de,Fe){for(var Je=Fe.length,vt=new Array(Je);Je--;)vt[Je]=de[Fe[Je]];return vt},p.pairs=function(de){for(var Fe=0,Je=de.length-1,vt,_t=de[0],At=new Array(Je<0?0:Je);Fe<Je;)At[Fe]=[vt=_t,_t=de[++Fe]];return At},p.transpose=function(de){if(!(At=de.length))return[];for(var Fe=-1,Je=p.min(de,T),vt=new Array(Je);++Fe<Je;)for(var _t=-1,At,ar=vt[Fe]=new Array(At);++_t<At;)ar[_t]=de[_t][Fe];return vt};function T(de){return de.length}p.zip=function(){return p.transpose(arguments)},p.keys=function(de){var Fe=[];for(var Je in de)Fe.push(Je);return Fe},p.values=function(de){var Fe=[];for(var Je in de)Fe.push(de[Je]);return Fe},p.entries=function(de){var Fe=[];for(var Je in de)Fe.push({key:Je,value:de[Je]});return Fe},p.merge=function(de){for(var Fe=de.length,Je,vt=-1,_t=0,At,ar;++vt<Fe;)_t+=de[vt].length;for(At=new Array(_t);--Fe>=0;)for(ar=de[Fe],Je=ar.length;--Je>=0;)At[--_t]=ar[Je];return At};var l=Math.abs;p.range=function(de,Fe,Je){if(arguments.length<3&&(Je=1,arguments.length<2&&(Fe=de,de=0)),(Fe-de)/Je===1/0)throw new Error("infinite range");var vt=[],_t=_(l(Je)),At=-1,ar;if(de*=_t,Fe*=_t,Je*=_t,Je<0)for(;(ar=de+Je*++At)>Fe;)vt.push(ar/_t);else for(;(ar=de+Je*++At)<Fe;)vt.push(ar/_t);return vt};function _(de){for(var Fe=1;de*Fe%1;)Fe*=10;return Fe}function w(de,Fe){for(var Je in Fe)Object.defineProperty(de.prototype,Je,{value:Fe[Je],enumerable:!1})}p.map=function(de,Fe){var Je=new A;if(de instanceof A)de.forEach(function(Ft,xr){Je.set(Ft,xr)});else if(Array.isArray(de)){var vt=-1,_t=de.length,At;if(arguments.length===1)for(;++vt<_t;)Je.set(vt,de[vt]);else for(;++vt<_t;)Je.set(Fe.call(de,At=de[vt],vt),At)}else for(var ar in de)Je.set(ar,de[ar]);return Je};function A(){this._=Object.create(null)}var M="__proto__",g="\0";w(A,{has:u,get:function(de){return this._[b(de)]},set:function(de,Fe){return this._[b(de)]=Fe},remove:y,keys:f,values:function(){var de=[];for(var Fe in this._)de.push(this._[Fe]);return de},entries:function(){var de=[];for(var Fe in this._)de.push({key:v(Fe),value:this._[Fe]});return de},size:R,empty:L,forEach:function(de){for(var Fe in this._)de.call(this,v(Fe),this._[Fe])}});function b(de){return(de+="")===M||de[0]===g?g+de:de}function v(de){return(de+="")[0]===g?de.slice(1):de}function u(de){return b(de)in this._}function y(de){return(de=b(de))in this._&&delete this._[de]}function f(){var de=[];for(var Fe in this._)de.push(v(Fe));return de}function R(){var de=0;for(var Fe in this._)++de;return de}function L(){for(var de in this._)return!1;return!0}p.nest=function(){var de={},Fe=[],Je=[],vt,_t;function At(Ft,xr,Gr){if(Gr>=Fe.length)return _t?_t.call(de,xr):vt?xr.sort(vt):xr;for(var Yr=-1,Ei=xr.length,xi=Fe[Gr++],na,ua,Di,Hi=new A,ta;++Yr<Ei;)(ta=Hi.get(na=xi(ua=xr[Yr])))?ta.push(ua):Hi.set(na,[ua]);return Ft?(ua=Ft(),Di=function(ya,da){ua.set(ya,At(Ft,da,Gr))}):(ua={},Di=function(ya,da){ua[ya]=At(Ft,da,Gr)}),Hi.forEach(Di),ua}function ar(Ft,xr){if(xr>=Fe.length)return Ft;var Gr=[],Yr=Je[xr++];return Ft.forEach(function(Ei,xi){Gr.push({key:Ei,values:ar(xi,xr)})}),Yr?Gr.sort(function(Ei,xi){return Yr(Ei.key,xi.key)}):Gr}return de.map=function(Ft,xr){return At(xr,Ft,0)},de.entries=function(Ft){return ar(At(p.map,Ft,0),0)},de.key=function(Ft){return Fe.push(Ft),de},de.sortKeys=function(Ft){return Je[Fe.length-1]=Ft,de},de.sortValues=function(Ft){return vt=Ft,de},de.rollup=function(Ft){return _t=Ft,de},de},p.set=function(de){var Fe=new z;if(de)for(var Je=0,vt=de.length;Je<vt;++Je)Fe.add(de[Je]);return Fe};function z(){this._=Object.create(null)}w(z,{has:u,add:function(de){return this._[b(de+="")]=!0,de},remove:y,values:f,size:R,empty:L,forEach:function(de){for(var Fe in this._)de.call(this,v(Fe))}}),p.behavior={};function F(de){return de}p.rebind=function(de,Fe){for(var Je=1,vt=arguments.length,_t;++Je<vt;)de[_t=arguments[Je]]=N(de,Fe,Fe[_t]);return de};function N(de,Fe,Je){return function(){var vt=Je.apply(Fe,arguments);return vt===Fe?de:vt}}function B(de,Fe){if(Fe in de)return Fe;Fe=Fe.charAt(0).toUpperCase()+Fe.slice(1);for(var Je=0,vt=I.length;Je<vt;++Je){var _t=I[Je]+Fe;if(_t in de)return _t}}var I=["webkit","ms","moz","Moz","o","O"];function U(){}p.dispatch=function(){for(var de=new O,Fe=-1,Je=arguments.length;++Fe<Je;)de[arguments[Fe]]=X(de);return de};function O(){}O.prototype.on=function(de,Fe){var Je=de.indexOf("."),vt="";if(Je>=0&&(vt=de.slice(Je+1),de=de.slice(0,Je)),de)return arguments.length<2?this[de].on(vt):this[de].on(vt,Fe);if(arguments.length===2){if(Fe==null)for(de in this)this.hasOwnProperty(de)&&this[de].on(vt,null);return this}};function X(de){var Fe=[],Je=new A;function vt(){for(var _t=Fe,At=-1,ar=_t.length,Ft;++At<ar;)(Ft=_t[At].on)&&Ft.apply(this,arguments);return de}return vt.on=function(_t,At){var ar=Je.get(_t),Ft;return arguments.length<2?ar&&ar.on:(ar&&(ar.on=null,Fe=Fe.slice(0,Ft=Fe.indexOf(ar)).concat(Fe.slice(Ft+1)),Je.remove(_t)),At&&Fe.push(Je.set(_t,{on:At})),de)},vt}p.event=null;function J(){p.event.preventDefault()}function se(){for(var de=p.event,Fe;Fe=de.sourceEvent;)de=Fe;return de}function le(de){for(var Fe=new O,Je=0,vt=arguments.length;++Je<vt;)Fe[arguments[Je]]=X(Fe);return Fe.of=function(_t,At){return function(ar){try{var Ft=ar.sourceEvent=p.event;ar.target=de,p.event=ar,Fe[ar.type].apply(_t,At)}finally{p.event=Ft}}},Fe}p.requote=function(de){return de.replace(ce,"\\$&")};var ce=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,q={}.__proto__?function(de,Fe){de.__proto__=Fe}:function(de,Fe){for(var Je in Fe)de[Je]=Fe[Je]};function Z(de){return q(de,ie),de}var ee=function(de,Fe){return Fe.querySelector(de)},V=function(de,Fe){return Fe.querySelectorAll(de)},oe=function(de,Fe){var Je=de.matches||de[B(de,"matchesSelector")];return oe=function(vt,_t){return Je.call(vt,_t)},oe(de,Fe)};typeof Sizzle=="function"&&(ee=function(de,Fe){return Sizzle(de,Fe)[0]||null},V=Sizzle,oe=Sizzle.matchesSelector),p.selection=function(){return p.select(E.documentElement)};var ie=p.selection.prototype=[];ie.select=function(de){var Fe=[],Je,vt,_t,At;de=j(de);for(var ar=-1,Ft=this.length;++ar<Ft;){Fe.push(Je=[]),Je.parentNode=(_t=this[ar]).parentNode;for(var xr=-1,Gr=_t.length;++xr<Gr;)(At=_t[xr])?(Je.push(vt=de.call(At,At.__data__,xr,ar)),vt&&"__data__"in At&&(vt.__data__=At.__data__)):Je.push(null)}return Z(Fe)};function j(de){return typeof de=="function"?de:function(){return ee(de,this)}}ie.selectAll=function(de){var Fe=[],Je,vt;de=Q(de);for(var _t=-1,At=this.length;++_t<At;)for(var ar=this[_t],Ft=-1,xr=ar.length;++Ft<xr;)(vt=ar[Ft])&&(Fe.push(Je=S(de.call(vt,vt.__data__,Ft,_t))),Je.parentNode=vt);return Z(Fe)};function Q(de){return typeof de=="function"?de:function(){return V(de,this)}}var re="http://www.w3.org/1999/xhtml",ue={svg:"http://www.w3.org/2000/svg",xhtml:re,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};p.ns={prefix:ue,qualify:function(de){var Fe=de.indexOf(":"),Je=de;return Fe>=0&&(Je=de.slice(0,Fe))!=="xmlns"&&(de=de.slice(Fe+1)),ue.hasOwnProperty(Je)?{space:ue[Je],local:de}:de}},ie.attr=function(de,Fe){if(arguments.length<2){if(typeof de=="string"){var Je=this.node();return de=p.ns.qualify(de),de.local?Je.getAttributeNS(de.space,de.local):Je.getAttribute(de)}for(Fe in de)this.each(_e(Fe,de[Fe]));return this}return this.each(_e(de,Fe))};function _e(de,Fe){de=p.ns.qualify(de);function Je(){this.removeAttribute(de)}function vt(){this.removeAttributeNS(de.space,de.local)}function _t(){this.setAttribute(de,Fe)}function At(){this.setAttributeNS(de.space,de.local,Fe)}function ar(){var xr=Fe.apply(this,arguments);xr==null?this.removeAttribute(de):this.setAttribute(de,xr)}function Ft(){var xr=Fe.apply(this,arguments);xr==null?this.removeAttributeNS(de.space,de.local):this.setAttributeNS(de.space,de.local,xr)}return Fe==null?de.local?vt:Je:typeof Fe=="function"?de.local?Ft:ar:de.local?At:_t}function we(de){return de.trim().replace(/\s+/g," ")}ie.classed=function(de,Fe){if(arguments.length<2){if(typeof de=="string"){var Je=this.node(),vt=(de=ze(de)).length,_t=-1;if(Fe=Je.classList){for(;++_t<vt;)if(!Fe.contains(de[_t]))return!1}else for(Fe=Je.getAttribute("class");++_t<vt;)if(!Re(de[_t]).test(Fe))return!1;return!0}for(Fe in de)this.each(Xe(Fe,de[Fe]));return this}return this.each(Xe(de,Fe))};function Re(de){return new RegExp("(?:^|\\s+)"+p.requote(de)+"(?:\\s+|$)","g")}function ze(de){return(de+"").trim().split(/^|\s+/)}function Xe(de,Fe){de=ze(de).map(tt);var Je=de.length;function vt(){for(var At=-1;++At<Je;)de[At](this,Fe)}function _t(){for(var At=-1,ar=Fe.apply(this,arguments);++At<Je;)de[At](this,ar)}return typeof Fe=="function"?_t:vt}function tt(de){var Fe=Re(de);return function(Je,vt){if(_t=Je.classList)return vt?_t.add(de):_t.remove(de);var _t=Je.getAttribute("class")||"";vt?(Fe.lastIndex=0,Fe.test(_t)||Je.setAttribute("class",we(_t+" "+de))):Je.setAttribute("class",we(_t.replace(Fe," ")))}}ie.style=function(de,Fe,Je){var vt=arguments.length;if(vt<3){if(typeof de!="string"){vt<2&&(Fe="");for(Je in de)this.each(it(Je,de[Je],Fe));return this}if(vt<2){var _t=this.node();return t(_t).getComputedStyle(_t,null).getPropertyValue(de)}Je=""}return this.each(it(de,Fe,Je))};function it(de,Fe,Je){function vt(){this.style.removeProperty(de)}function _t(){this.style.setProperty(de,Fe,Je)}function At(){var ar=Fe.apply(this,arguments);ar==null?this.style.removeProperty(de):this.style.setProperty(de,ar,Je)}return Fe==null?vt:typeof Fe=="function"?At:_t}ie.property=function(de,Fe){if(arguments.length<2){if(typeof de=="string")return this.node()[de];for(Fe in de)this.each(et(Fe,de[Fe]));return this}return this.each(et(de,Fe))};function et(de,Fe){function Je(){delete this[de]}function vt(){this[de]=Fe}function _t(){var At=Fe.apply(this,arguments);At==null?delete this[de]:this[de]=At}return Fe==null?Je:typeof Fe=="function"?_t:vt}ie.text=function(de){return arguments.length?this.each(typeof de=="function"?function(){var Fe=de.apply(this,arguments);this.textContent=Fe??""}:de==null?function(){this.textContent=""}:function(){this.textContent=de}):this.node().textContent},ie.html=function(de){return arguments.length?this.each(typeof de=="function"?function(){var Fe=de.apply(this,arguments);this.innerHTML=Fe??""}:de==null?function(){this.innerHTML=""}:function(){this.innerHTML=de}):this.node().innerHTML},ie.append=function(de){return de=nt(de),this.select(function(){return this.appendChild(de.apply(this,arguments))})};function nt(de){function Fe(){var vt=this.ownerDocument,_t=this.namespaceURI;return _t===re&&vt.documentElement.namespaceURI===re?vt.createElement(de):vt.createElementNS(_t,de)}function Je(){return this.ownerDocument.createElementNS(de.space,de.local)}return typeof de=="function"?de:(de=p.ns.qualify(de)).local?Je:Fe}ie.insert=function(de,Fe){return de=nt(de),Fe=j(Fe),this.select(function(){return this.insertBefore(de.apply(this,arguments),Fe.apply(this,arguments)||null)})},ie.remove=function(){return this.each(Ae)};function Ae(){var de=this.parentNode;de&&de.removeChild(this)}ie.data=function(de,Fe){var Je=-1,vt=this.length,_t,At;if(!arguments.length){for(de=new Array(vt=(_t=this[0]).length);++Je<vt;)(At=_t[Je])&&(de[Je]=At.__data__);return de}function ar(Yr,Ei){var xi,na=Yr.length,ua=Ei.length,Di=Math.min(na,ua),Hi=new Array(ua),ta=new Array(ua),ya=new Array(na),da,Oi;if(Fe){var xn=new A,mn=new Array(na),In;for(xi=-1;++xi<na;)(da=Yr[xi])&&(xn.has(In=Fe.call(da,da.__data__,xi))?ya[xi]=da:xn.set(In,da),mn[xi]=In);for(xi=-1;++xi<ua;)(da=xn.get(In=Fe.call(Ei,Oi=Ei[xi],xi)))?da!==!0&&(Hi[xi]=da,da.__data__=Oi):ta[xi]=me(Oi),xn.set(In,!0);for(xi=-1;++xi<na;)xi in mn&&xn.get(mn[xi])!==!0&&(ya[xi]=Yr[xi])}else{for(xi=-1;++xi<Di;)da=Yr[xi],Oi=Ei[xi],da?(da.__data__=Oi,Hi[xi]=da):ta[xi]=me(Oi);for(;xi<ua;++xi)ta[xi]=me(Ei[xi]);for(;xi<na;++xi)ya[xi]=Yr[xi]}ta.update=Hi,ta.parentNode=Hi.parentNode=ya.parentNode=Yr.parentNode,Ft.push(ta),xr.push(Hi),Gr.push(ya)}var Ft=at([]),xr=Z([]),Gr=Z([]);if(typeof de=="function")for(;++Je<vt;)ar(_t=this[Je],de.call(_t,_t.parentNode.__data__,Je));else for(;++Je<vt;)ar(_t=this[Je],de);return xr.enter=function(){return Ft},xr.exit=function(){return Gr},xr};function me(de){return{__data__:de}}ie.datum=function(de){return arguments.length?this.property("__data__",de):this.property("__data__")},ie.filter=function(de){var Fe=[],Je,vt,_t;typeof de!="function"&&(de=fe(de));for(var At=0,ar=this.length;At<ar;At++){Fe.push(Je=[]),Je.parentNode=(vt=this[At]).parentNode;for(var Ft=0,xr=vt.length;Ft<xr;Ft++)(_t=vt[Ft])&&de.call(_t,_t.__data__,Ft,At)&&Je.push(_t)}return Z(Fe)};function fe(de){return function(){return oe(this,de)}}ie.order=function(){for(var de=-1,Fe=this.length;++de<Fe;)for(var Je=this[de],vt=Je.length-1,_t=Je[vt],At;--vt>=0;)(At=Je[vt])&&(_t&&_t!==At.nextSibling&&_t.parentNode.insertBefore(At,_t),_t=At);return this},ie.sort=function(de){de=Be.apply(this,arguments);for(var Fe=-1,Je=this.length;++Fe<Je;)this[Fe].sort(de);return this.order()};function Be(de){return arguments.length||(de=s),function(Fe,Je){return Fe&&Je?de(Fe.__data__,Je.__data__):!Fe-!Je}}ie.each=function(de){return Qe(this,function(Fe,Je,vt){de.call(Fe,Fe.__data__,Je,vt)})};function Qe(de,Fe){for(var Je=0,vt=de.length;Je<vt;Je++)for(var _t=de[Je],At=0,ar=_t.length,Ft;At<ar;At++)(Ft=_t[At])&&Fe(Ft,At,Je);return de}ie.call=function(de){var Fe=S(arguments);return de.apply(Fe[0]=this,Fe),this},ie.empty=function(){return!this.node()},ie.node=function(){for(var de=0,Fe=this.length;de<Fe;de++)for(var Je=this[de],vt=0,_t=Je.length;vt<_t;vt++){var At=Je[vt];if(At)return At}return null},ie.size=function(){var de=0;return Qe(this,function(){++de}),de};function at(de){return q(de,$e),de}var $e=[];p.selection.enter=at,p.selection.enter.prototype=$e,$e.append=ie.append,$e.empty=ie.empty,$e.node=ie.node,$e.call=ie.call,$e.size=ie.size,$e.select=function(de){for(var Fe=[],Je,vt,_t,At,ar,Ft=-1,xr=this.length;++Ft<xr;){_t=(At=this[Ft]).update,Fe.push(Je=[]),Je.parentNode=At.parentNode;for(var Gr=-1,Yr=At.length;++Gr<Yr;)(ar=At[Gr])?(Je.push(_t[Gr]=vt=de.call(At.parentNode,ar.__data__,Gr,Ft)),vt.__data__=ar.__data__):Je.push(null)}return Z(Fe)},$e.insert=function(de,Fe){return arguments.length<2&&(Fe=It(this)),ie.insert.call(this,de,Fe)};function It(de){var Fe,Je;return function(vt,_t,At){var ar=de[At].update,Ft=ar.length,xr;for(At!=Je&&(Je=At,Fe=0),_t>=Fe&&(Fe=_t+1);!(xr=ar[Fe])&&++Fe<Ft;);return xr}}p.select=function(de){var Fe;return typeof de=="string"?(Fe=[ee(de,E)],Fe.parentNode=E.documentElement):(Fe=[de],Fe.parentNode=e(de)),Z([Fe])},p.selectAll=function(de){var Fe;return typeof de=="string"?(Fe=S(V(de,E)),Fe.parentNode=E.documentElement):(Fe=S(de),Fe.parentNode=null),Z([Fe])},ie.on=function(de,Fe,Je){var vt=arguments.length;if(vt<3){if(typeof de!="string"){vt<2&&(Fe=!1);for(Je in de)this.each(Pt(Je,de[Je],Fe));return this}if(vt<2)return(vt=this.node()["__on"+de])&&vt._;Je=!1}return this.each(Pt(de,Fe,Je))};function Pt(de,Fe,Je){var vt="__on"+de,_t=de.indexOf("."),At=Wt;_t>0&&(de=de.slice(0,_t));var ar=Vt.get(de);ar&&(de=ar,At=Cr);function Ft(){var Yr=this[vt];Yr&&(this.removeEventListener(de,Yr,Yr.$),delete this[vt])}function xr(){var Yr=At(Fe,S(arguments));Ft.call(this),this.addEventListener(de,this[vt]=Yr,Yr.$=Je),Yr._=Fe}function Gr(){var Yr=new RegExp("^__on([^.]+)"+p.requote(de)+"$"),Ei;for(var xi in this)if(Ei=xi.match(Yr)){var na=this[xi];this.removeEventListener(Ei[1],na,na.$),delete this[xi]}}return _t?Fe?xr:Ft:Fe?U:Gr}var Vt=p.map({mouseenter:"mouseover",mouseleave:"mouseout"});E&&Vt.forEach(function(de){"on"+de in E&&Vt.remove(de)});function Wt(de,Fe){return function(Je){var vt=p.event;p.event=Je,Fe[0]=this.__data__;try{de.apply(this,Fe)}finally{p.event=vt}}}function Cr(de,Fe){var Je=Wt(de,Fe);return function(vt){var _t=this,At=vt.relatedTarget;(!At||At!==_t&&!(At.compareDocumentPosition(_t)&8))&&Je.call(_t,vt)}}var yr,qr=0;function Mr(de){var Fe=".dragsuppress-"+ ++qr,Je="click"+Fe,vt=p.select(t(de)).on("touchmove"+Fe,J).on("dragstart"+Fe,J).on("selectstart"+Fe,J);if(yr==null&&(yr="onselectstart"in de?!1:B(de.style,"userSelect")),yr){var _t=e(de).style,At=_t[yr];_t[yr]="none"}return function(ar){if(vt.on(Fe,null),yr&&(_t[yr]=At),ar){var Ft=function(){vt.on(Je,null)};vt.on(Je,function(){J(),Ft()},!0),setTimeout(Ft,0)}}}p.mouse=function(de){return xt(de,se())};var Dr=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function xt(de,Fe){Fe.changedTouches&&(Fe=Fe.changedTouches[0]);var Je=de.ownerSVGElement||de;if(Je.createSVGPoint){var vt=Je.createSVGPoint();if(Dr<0){var _t=t(de);if(_t.scrollX||_t.scrollY){Je=p.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var At=Je[0][0].getScreenCTM();Dr=!(At.f||At.e),Je.remove()}}return Dr?(vt.x=Fe.pageX,vt.y=Fe.pageY):(vt.x=Fe.clientX,vt.y=Fe.clientY),vt=vt.matrixTransform(de.getScreenCTM().inverse()),[vt.x,vt.y]}var ar=de.getBoundingClientRect();return[Fe.clientX-ar.left-de.clientLeft,Fe.clientY-ar.top-de.clientTop]}p.touch=function(de,Fe,Je){if(arguments.length<3&&(Je=Fe,Fe=se().changedTouches),Fe){for(var vt=0,_t=Fe.length,At;vt<_t;++vt)if((At=Fe[vt]).identifier===Je)return xt(de,At)}},p.behavior.drag=function(){var de=le(_t,"drag","dragstart","dragend"),Fe=null,Je=At(U,p.mouse,t,"mousemove","mouseup"),vt=At(Ne,p.touch,F,"touchmove","touchend");function _t(){this.on("mousedown.drag",Je).on("touchstart.drag",vt)}function At(ar,Ft,xr,Gr,Yr){return function(){var Ei=this,xi=p.event.target.correspondingElement||p.event.target,na=Ei.parentNode,ua=de.of(Ei,arguments),Di=0,Hi=ar(),ta=".drag"+(Hi==null?"":"-"+Hi),ya,da=p.select(xr(xi)).on(Gr+ta,mn).on(Yr+ta,In),Oi=Mr(xi),xn=Ft(na,Hi);Fe?(ya=Fe.apply(Ei,arguments),ya=[ya.x-xn[0],ya.y-xn[1]]):ya=[0,0],ua({type:"dragstart"});function mn(){var Yn=Ft(na,Hi),mo,bo;Yn&&(mo=Yn[0]-xn[0],bo=Yn[1]-xn[1],Di|=mo|bo,xn=Yn,ua({type:"drag",x:Yn[0]+ya[0],y:Yn[1]+ya[1],dx:mo,dy:bo}))}function In(){Ft(na,Hi)&&(da.on(Gr+ta,null).on(Yr+ta,null),Oi(Di),ua({type:"dragend"}))}}}return _t.origin=function(ar){return arguments.length?(Fe=ar,_t):Fe},p.rebind(_t,de,"on")};function Ne(){return p.event.changedTouches[0].identifier}p.touches=function(de,Fe){return arguments.length<2&&(Fe=se().touches),Fe?S(Fe).map(function(Je){var vt=xt(de,Je);return vt.identifier=Je.identifier,vt}):[]};var Ye=1e-6,be=Ye*Ye,Ie=Math.PI,qe=2*Ie,ke=qe-Ye,Me=Ie/2,Le=Ie/180,ut=180/Ie;function lt(de){return de>0?1:de<0?-1:0}function gt(de,Fe,Je){return(Fe[0]-de[0])*(Je[1]-de[1])-(Fe[1]-de[1])*(Je[0]-de[0])}function kt(de){return de>1?0:de<-1?Ie:Math.acos(de)}function nr(de){return de>1?Me:de<-1?-Me:Math.asin(de)}function ir(de){return((de=Math.exp(de))-1/de)/2}function tr(de){return((de=Math.exp(de))+1/de)/2}function Ir(de){return((de=Math.exp(2*de))-1)/(de+1)}function vi(de){return(de=Math.sin(de/2))*de}var Vi=Math.SQRT2,Ui=2,Ki=4;p.interpolateZoom=function(de,Fe){var Je=de[0],vt=de[1],_t=de[2],At=Fe[0],ar=Fe[1],Ft=Fe[2],xr=At-Je,Gr=ar-vt,Yr=xr*xr+Gr*Gr,Ei,xi;if(Yr<be)xi=Math.log(Ft/_t)/Vi,Ei=function(ya){return[Je+ya*xr,vt+ya*Gr,_t*Math.exp(Vi*ya*xi)]};else{var na=Math.sqrt(Yr),ua=(Ft*Ft-_t*_t+Ki*Yr)/(2*_t*Ui*na),Di=(Ft*Ft-_t*_t-Ki*Yr)/(2*Ft*Ui*na),Hi=Math.log(Math.sqrt(ua*ua+1)-ua),ta=Math.log(Math.sqrt(Di*Di+1)-Di);xi=(ta-Hi)/Vi,Ei=function(ya){var da=ya*xi,Oi=tr(Hi),xn=_t/(Ui*na)*(Oi*Ir(Vi*da+Hi)-ir(Hi));return[Je+xn*xr,vt+xn*Gr,_t*Oi/tr(Vi*da+Hi)]}}return Ei.duration=xi*1e3,Ei},p.behavior.zoom=function(){var de={x:0,y:0,k:1},Fe,Je,vt,_t=[960,500],At=ea,ar=250,Ft=0,xr="mousedown.zoom",Gr="mousemove.zoom",Yr="mouseup.zoom",Ei,xi="touchstart.zoom",na,ua=le(da,"zoomstart","zoom","zoomend"),Di,Hi,ta,ya;_a||(_a="onwheel"in E?(Bi=function(){return-p.event.deltaY*(p.event.deltaMode?120:1)},"wheel"):"onmousewheel"in E?(Bi=function(){return p.event.wheelDelta},"mousewheel"):(Bi=function(){return-p.event.detail},"MozMousePixelScroll"));function da(Dn){Dn.on(xr,cs).on(_a+".zoom",ml).on("dblclick.zoom",Pl).on(xi,Al)}da.event=function(Dn){Dn.each(function(){var zo=ua.of(this,arguments),ks=de;Is?p.select(this).transition().each("start.zoom",function(){de=this.__chart__||{x:0,y:0,k:1},bo(zo)}).tween("zoom:zoom",function(){var Rs=_t[0],Bl=_t[1],tu=Je?Je[0]:Rs/2,Ru=Je?Je[1]:Bl/2,Hl=p.interpolateZoom([(tu-de.x)/de.k,(Ru-de.y)/de.k,Rs/de.k],[(tu-ks.x)/ks.k,(Ru-ks.y)/ks.k,Rs/ks.k]);return function(Tc){var rt=Hl(Tc),Yt=Rs/rt[2];this.__chart__=de={x:tu-rt[0]*Yt,y:Ru-rt[1]*Yt,k:Yt},vs(zo)}}).each("interrupt.zoom",function(){To(zo)}).each("end.zoom",function(){To(zo)}):(this.__chart__=de,bo(zo),vs(zo),To(zo))})},da.translate=function(Dn){return arguments.length?(de={x:+Dn[0],y:+Dn[1],k:de.k},mo(),da):[de.x,de.y]},da.scale=function(Dn){return arguments.length?(de={x:de.x,y:de.y,k:null},mn(+Dn),mo(),da):de.k},da.scaleExtent=function(Dn){return arguments.length?(At=Dn==null?ea:[+Dn[0],+Dn[1]],da):At},da.center=function(Dn){return arguments.length?(vt=Dn&&[+Dn[0],+Dn[1]],da):vt},da.size=function(Dn){return arguments.length?(_t=Dn&&[+Dn[0],+Dn[1]],da):_t},da.duration=function(Dn){return arguments.length?(ar=+Dn,da):ar},da.x=function(Dn){return arguments.length?(Hi=Dn,Di=Dn.copy(),de={x:0,y:0,k:1},da):Hi},da.y=function(Dn){return arguments.length?(ya=Dn,ta=Dn.copy(),de={x:0,y:0,k:1},da):ya};function Oi(Dn){return[(Dn[0]-de.x)/de.k,(Dn[1]-de.y)/de.k]}function xn(Dn){return[Dn[0]*de.k+de.x,Dn[1]*de.k+de.y]}function mn(Dn){de.k=Math.max(At[0],Math.min(At[1],Dn))}function In(Dn,zo){zo=xn(zo),de.x+=Dn[0]-zo[0],de.y+=Dn[1]-zo[1]}function Yn(Dn,zo,ks,Rs){Dn.__chart__={x:de.x,y:de.y,k:de.k},mn(Math.pow(2,Rs)),In(Je=zo,ks),Dn=p.select(Dn),ar>0&&(Dn=Dn.transition().duration(ar)),Dn.call(da.event)}function mo(){Hi&&Hi.domain(Di.range().map(function(Dn){return(Dn-de.x)/de.k}).map(Di.invert)),ya&&ya.domain(ta.range().map(function(Dn){return(Dn-de.y)/de.k}).map(ta.invert))}function bo(Dn){Ft++||Dn({type:"zoomstart"})}function vs(Dn){mo(),Dn({type:"zoom",scale:de.k,translate:[de.x,de.y]})}function To(Dn){--Ft||(Dn({type:"zoomend"}),Je=null)}function cs(){var Dn=this,zo=ua.of(Dn,arguments),ks=0,Rs=p.select(t(Dn)).on(Gr,Ru).on(Yr,Hl),Bl=Oi(p.mouse(Dn)),tu=Mr(Dn);to.call(Dn),bo(zo);function Ru(){ks=1,In(p.mouse(Dn),Bl),vs(zo)}function Hl(){Rs.on(Gr,null).on(Yr,null),tu(ks),To(zo)}}function Al(){var Dn=this,zo=ua.of(Dn,arguments),ks={},Rs=0,Bl,tu=".zoom-"+p.event.changedTouches[0].identifier,Ru="touchmove"+tu,Hl="touchend"+tu,Tc=[],rt=p.select(Dn),Yt=Mr(Dn);li(),bo(zo),rt.on(xr,null).on(xi,li);function hr(){var Mi=p.touches(Dn);return Bl=de.k,Mi.forEach(function(ia){ia.identifier in ks&&(ks[ia.identifier]=Oi(ia))}),Mi}function li(){var Mi=p.event.target;p.select(Mi).on(Ru,Ci).on(Hl,Ti),Tc.push(Mi);for(var ia=p.event.changedTouches,ka=0,Sa=ia.length;ka<Sa;++ka)ks[ia[ka].identifier]=null;var va=hr(),Fn=Date.now();if(va.length===1){if(Fn-na<500){var Ha=va[0];Yn(Dn,Ha,ks[Ha.identifier],Math.floor(Math.log(de.k)/Math.LN2)+1),J()}na=Fn}else if(va.length>1){var Ha=va[0],Da=va[1],Xi=Ha[0]-Da[0],ei=Ha[1]-Da[1];Rs=Xi*Xi+ei*ei}}function Ci(){var Mi=p.touches(Dn),ia,ka,Sa,va;to.call(Dn);for(var Fn=0,Ha=Mi.length;Fn<Ha;++Fn,va=null)if(Sa=Mi[Fn],va=ks[Sa.identifier]){if(ka)break;ia=Sa,ka=va}if(va){var Da=(Da=Sa[0]-ia[0])*Da+(Da=Sa[1]-ia[1])*Da,Xi=Rs&&Math.sqrt(Da/Rs);ia=[(ia[0]+Sa[0])/2,(ia[1]+Sa[1])/2],ka=[(ka[0]+va[0])/2,(ka[1]+va[1])/2],mn(Xi*Bl)}na=null,In(ia,ka),vs(zo)}function Ti(){if(p.event.touches.length){for(var Mi=p.event.changedTouches,ia=0,ka=Mi.length;ia<ka;++ia)delete ks[Mi[ia].identifier];for(var Sa in ks)return void hr()}p.selectAll(Tc).on(tu,null),rt.on(xr,cs).on(xi,Al),Yt(),To(zo)}}function ml(){var Dn=ua.of(this,arguments);Ei?clearTimeout(Ei):(to.call(this),Fe=Oi(Je=vt||p.mouse(this)),bo(Dn)),Ei=setTimeout(function(){Ei=null,To(Dn)},50),J(),mn(Math.pow(2,Bi()*.002)*de.k),In(Je,Fe),vs(Dn)}function Pl(){var Dn=p.mouse(this),zo=Math.log(de.k)/Math.LN2;Yn(this,Dn,Oi(Dn),p.event.shiftKey?Math.ceil(zo)-1:Math.floor(zo)+1)}return p.rebind(da,ua,"on")};var ea=[0,1/0],Bi,_a;p.color=Ca;function Ca(){}Ca.prototype.toString=function(){return this.rgb()+""},p.hsl=Kt;function Kt(de,Fe,Je){return this instanceof Kt?(this.h=+de,this.s=+Fe,void(this.l=+Je)):arguments.length<2?de instanceof Kt?new Kt(de.h,de.s,de.l):Rr(""+de,jr,Kt):new Kt(de,Fe,Je)}var zt=Kt.prototype=new Ca;zt.brighter=function(de){return de=Math.pow(.7,arguments.length?de:1),new Kt(this.h,this.s,this.l/de)},zt.darker=function(de){return de=Math.pow(.7,arguments.length?de:1),new Kt(this.h,this.s,de*this.l)},zt.rgb=function(){return Zt(this.h,this.s,this.l)};function Zt(de,Fe,Je){var vt,_t;de=isNaN(de)?0:(de%=360)<0?de+360:de,Fe=isNaN(Fe)||Fe<0?0:Fe>1?1:Fe,Je=Je<0?0:Je>1?1:Je,_t=Je<=.5?Je*(1+Fe):Je+Fe-Je*Fe,vt=2*Je-_t;function At(Ft){return Ft>360?Ft-=360:Ft<0&&(Ft+=360),Ft<60?vt+(_t-vt)*Ft/60:Ft<180?_t:Ft<240?vt+(_t-vt)*(240-Ft)/60:vt}function ar(Ft){return Math.round(At(Ft)*255)}return new bt(ar(de+120),ar(de),ar(de-120))}p.hcl=Jt;function Jt(de,Fe,Je){return this instanceof Jt?(this.h=+de,this.c=+Fe,void(this.l=+Je)):arguments.length<2?de instanceof Jt?new Jt(de.h,de.c,de.l):de instanceof ii?ji(de.l,de.a,de.b):ji((de=Wr((de=p.rgb(de)).r,de.g,de.b)).l,de.a,de.b):new Jt(de,Fe,Je)}var Br=Jt.prototype=new Ca;Br.brighter=function(de){return new Jt(this.h,this.c,Math.min(100,this.l+di*(arguments.length?de:1)))},Br.darker=function(de){return new Jt(this.h,this.c,Math.max(0,this.l-di*(arguments.length?de:1)))},Br.rgb=function(){return ri(this.h,this.c,this.l).rgb()};function ri(de,Fe,Je){return isNaN(de)&&(de=0),isNaN(Fe)&&(Fe=0),new ii(Je,Math.cos(de*=Le)*Fe,Math.sin(de)*Fe)}p.lab=ii;function ii(de,Fe,Je){return this instanceof ii?(this.l=+de,this.a=+Fe,void(this.b=+Je)):arguments.length<2?de instanceof ii?new ii(de.l,de.a,de.b):de instanceof Jt?ri(de.h,de.c,de.l):Wr((de=bt(de)).r,de.g,de.b):new ii(de,Fe,Je)}var di=18,Wi=.95047,oa=1,ra=1.08883,ca=ii.prototype=new Ca;ca.brighter=function(de){return new ii(Math.min(100,this.l+di*(arguments.length?de:1)),this.a,this.b)},ca.darker=function(de){return new ii(Math.max(0,this.l-di*(arguments.length?de:1)),this.a,this.b)},ca.rgb=function(){return xa(this.l,this.a,this.b)};function xa(de,Fe,Je){var vt=(de+16)/116,_t=vt+Fe/500,At=vt-Je/200;return _t=pn(_t)*Wi,vt=pn(vt)*oa,At=pn(At)*ra,new bt(En(3.2404542*_t-1.5371385*vt-.4985314*At),En(-.969266*_t+1.8760108*vt+.041556*At),En(.0556434*_t-.2040259*vt+1.0572252*At))}function ji(de,Fe,Je){return de>0?new Jt(Math.atan2(Je,Fe)*ut,Math.sqrt(Fe*Fe+Je*Je),de):new Jt(NaN,NaN,de)}function pn(de){return de>.206893034?de*de*de:(de-4/29)/7.787037}function _n(de){return de>.008856?Math.pow(de,1/3):7.787037*de+4/29}function En(de){return Math.round(255*(de<=.00304?12.92*de:1.055*Math.pow(de,1/2.4)-.055))}p.rgb=bt;function bt(de,Fe,Je){return this instanceof bt?(this.r=~~de,this.g=~~Fe,void(this.b=~~Je)):arguments.length<2?de instanceof bt?new bt(de.r,de.g,de.b):Rr(""+de,bt,Zt):new bt(de,Fe,Je)}function st(de){return new bt(de>>16,de>>8&255,de&255)}function Nr(de){return st(de)+""}var Lr=bt.prototype=new Ca;Lr.brighter=function(de){de=Math.pow(.7,arguments.length?de:1);var Fe=this.r,Je=this.g,vt=this.b,_t=30;return!Fe&&!Je&&!vt?new bt(_t,_t,_t):(Fe&&Fe<_t&&(Fe=_t),Je&&Je<_t&&(Je=_t),vt&&vt<_t&&(vt=_t),new bt(Math.min(255,Fe/de),Math.min(255,Je/de),Math.min(255,vt/de)))},Lr.darker=function(de){return de=Math.pow(.7,arguments.length?de:1),new bt(de*this.r,de*this.g,de*this.b)},Lr.hsl=function(){return jr(this.r,this.g,this.b)},Lr.toString=function(){return"#"+br(this.r)+br(this.g)+br(this.b)};function br(de){return de<16?"0"+Math.max(0,de).toString(16):Math.min(255,de).toString(16)}function Rr(de,Fe,Je){var vt=0,_t=0,At=0,ar,Ft,xr;if(ar=/([a-z]+)\((.*)\)/.exec(de=de.toLowerCase()),ar)switch(Ft=ar[2].split(","),ar[1]){case"hsl":return Je(parseFloat(Ft[0]),parseFloat(Ft[1])/100,parseFloat(Ft[2])/100);case"rgb":return Fe(Xt(Ft[0]),Xt(Ft[1]),Xt(Ft[2]))}return(xr=mr.get(de))?Fe(xr.r,xr.g,xr.b):(de!=null&&de.charAt(0)==="#"&&!isNaN(xr=parseInt(de.slice(1),16))&&(de.length===4?(vt=(xr&3840)>>4,vt=vt>>4|vt,_t=xr&240,_t=_t>>4|_t,At=xr&15,At=At<<4|At):de.length===7&&(vt=(xr&16711680)>>16,_t=(xr&65280)>>8,At=xr&255)),Fe(vt,_t,At))}function jr(de,Fe,Je){var vt=Math.min(de/=255,Fe/=255,Je/=255),_t=Math.max(de,Fe,Je),At=_t-vt,ar,Ft,xr=(_t+vt)/2;return At?(Ft=xr<.5?At/(_t+vt):At/(2-_t-vt),de==_t?ar=(Fe-Je)/At+(Fe<Je?6:0):Fe==_t?ar=(Je-de)/At+2:ar=(de-Fe)/At+4,ar*=60):(ar=NaN,Ft=xr>0&&xr<1?0:ar),new Kt(ar,Ft,xr)}function Wr(de,Fe,Je){de=yt(de),Fe=yt(Fe),Je=yt(Je);var vt=_n((.4124564*de+.3575761*Fe+.1804375*Je)/Wi),_t=_n((.2126729*de+.7151522*Fe+.072175*Je)/oa),At=_n((.0193339*de+.119192*Fe+.9503041*Je)/ra);return ii(116*_t-16,500*(vt-_t),200*(_t-At))}function yt(de){return(de/=255)<=.04045?de/12.92:Math.pow((de+.055)/1.055,2.4)}function Xt(de){var Fe=parseFloat(de);return de.charAt(de.length-1)==="%"?Math.round(Fe*2.55):Fe}var mr=p.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});mr.forEach(function(de,Fe){mr.set(de,st(Fe))});function Or(de){return typeof de=="function"?de:function(){return de}}p.functor=Or,p.xhr=ki(F);function ki(de){return function(Fe,Je,vt){return arguments.length===2&&typeof Je=="function"&&(vt=Je,Je=null),Ni(Fe,Je,de,vt)}}function Ni(de,Fe,Je,vt){var _t={},At=p.dispatch("beforesend","progress","load","error"),ar={},Ft=new XMLHttpRequest,xr=null;self.XDomainRequest&&!("withCredentials"in Ft)&&/^(http(s)?:)?\/\//.test(de)&&(Ft=new XDomainRequest),"onload"in Ft?Ft.onload=Ft.onerror=Gr:Ft.onreadystatechange=function(){Ft.readyState>3&&Gr()};function Gr(){var Yr=Ft.status,Ei;if(!Yr&&fi(Ft)||Yr>=200&&Yr<300||Yr===304){try{Ei=Je.call(_t,Ft)}catch(xi){At.error.call(_t,xi);return}At.load.call(_t,Ei)}else At.error.call(_t,Ft)}return Ft.onprogress=function(Yr){var Ei=p.event;p.event=Yr;try{At.progress.call(_t,Ft)}finally{p.event=Ei}},_t.header=function(Yr,Ei){return Yr=(Yr+"").toLowerCase(),arguments.length<2?ar[Yr]:(Ei==null?delete ar[Yr]:ar[Yr]=Ei+"",_t)},_t.mimeType=function(Yr){return arguments.length?(Fe=Yr==null?null:Yr+"",_t):Fe},_t.responseType=function(Yr){return arguments.length?(xr=Yr,_t):xr},_t.response=function(Yr){return Je=Yr,_t},["get","post"].forEach(function(Yr){_t[Yr]=function(){return _t.send.apply(_t,[Yr].concat(S(arguments)))}}),_t.send=function(Yr,Ei,xi){if(arguments.length===2&&typeof Ei=="function"&&(xi=Ei,Ei=null),Ft.open(Yr,de,!0),Fe!=null&&!("accept"in ar)&&(ar.accept=Fe+",*/*"),Ft.setRequestHeader)for(var na in ar)Ft.setRequestHeader(na,ar[na]);return Fe!=null&&Ft.overrideMimeType&&Ft.overrideMimeType(Fe),xr!=null&&(Ft.responseType=xr),xi!=null&&_t.on("error",xi).on("load",function(ua){xi(null,ua)}),At.beforesend.call(_t,Ft),Ft.send(Ei??null),_t},_t.abort=function(){return Ft.abort(),_t},p.rebind(_t,At,"on"),vt==null?_t:_t.get(Si(vt))}function Si(de){return de.length===1?function(Fe,Je){de(Fe==null?Je:null)}:de}function fi(de){var Fe=de.responseType;return Fe&&Fe!=="text"?de.response:de.responseText}p.dsv=function(de,Fe){var Je=new RegExp('["'+de+` |
| 2 | ]`),vt=de.charCodeAt(0);function _t(Gr,Yr,Ei){arguments.length<3&&(Ei=Yr,Yr=null);var xi=Ni(Gr,Fe,Yr==null?At:ar(Yr),Ei);return xi.row=function(na){return arguments.length?xi.response((Yr=na)==null?At:ar(na)):Yr},xi}function At(Gr){return _t.parse(Gr.responseText)}function ar(Gr){return function(Yr){return _t.parse(Yr.responseText,Gr)}}_t.parse=function(Gr,Yr){var Ei;return _t.parseRows(Gr,function(xi,na){if(Ei)return Ei(xi,na-1);var ua=function(Di){for(var Hi={},ta=xi.length,ya=0;ya<ta;++ya)Hi[xi[ya]]=Di[ya];return Hi};Ei=Yr?function(Di,Hi){return Yr(ua(Di),Hi)}:ua})},_t.parseRows=function(Gr,Yr){var Ei={},xi={},na=[],ua=Gr.length,Di=0,Hi=0,ta,ya;function da(){if(Di>=ua)return xi;if(ya)return ya=!1,Ei;var xn=Di;if(Gr.charCodeAt(xn)===34){for(var mn=xn;mn++<ua;)if(Gr.charCodeAt(mn)===34){if(Gr.charCodeAt(mn+1)!==34)break;++mn}Di=mn+2;var In=Gr.charCodeAt(mn+1);return In===13?(ya=!0,Gr.charCodeAt(mn+2)===10&&++Di):In===10&&(ya=!0),Gr.slice(xn+1,mn).replace(/""/g,'"')}for(;Di<ua;){var In=Gr.charCodeAt(Di++),Yn=1;if(In===10)ya=!0;else if(In===13)ya=!0,Gr.charCodeAt(Di)===10&&(++Di,++Yn);else if(In!==vt)continue;return Gr.slice(xn,Di-Yn)}return Gr.slice(xn)}for(;(ta=da())!==xi;){for(var Oi=[];ta!==Ei&&ta!==xi;)Oi.push(ta),ta=da();Yr&&(Oi=Yr(Oi,Hi++))==null||na.push(Oi)}return na},_t.format=function(Gr){if(Array.isArray(Gr[0]))return _t.formatRows(Gr);var Yr=new z,Ei=[];return Gr.forEach(function(xi){for(var na in xi)Yr.has(na)||Ei.push(Yr.add(na))}),[Ei.map(xr).join(de)].concat(Gr.map(function(xi){return Ei.map(function(na){return xr(xi[na])}).join(de)})).join(` |
| 3 | `)},_t.formatRows=function(Gr){return Gr.map(Ft).join(` |
| 4 | `)};function Ft(Gr){return Gr.map(xr).join(de)}function xr(Gr){return Je.test(Gr)?'"'+Gr.replace(/\"/g,'""')+'"':Gr}return _t},p.csv=p.dsv(",","text/csv"),p.tsv=p.dsv(" ","text/tab-separated-values");var Li,Ia,Fa,un,Bn=this[B(this,"requestAnimationFrame")]||function(de){setTimeout(de,17)};p.timer=function(){Kn.apply(this,arguments)};function Kn(de,Fe,Je){var vt=arguments.length;vt<2&&(Fe=0),vt<3&&(Je=Date.now());var _t=Je+Fe,At={c:de,t:_t,n:null};return Ia?Ia.n=At:Li=At,Ia=At,Fa||(un=clearTimeout(un),Fa=1,Bn(Gn)),At}function Gn(){var de=eo(),Fe=Ao()-de;Fe>24?(isFinite(Fe)&&(clearTimeout(un),un=setTimeout(Gn,Fe)),Fa=0):(Fa=1,Bn(Gn))}p.timer.flush=function(){eo(),Ao()};function eo(){for(var de=Date.now(),Fe=Li;Fe;)de>=Fe.t&&Fe.c(de-Fe.t)&&(Fe.c=null),Fe=Fe.n;return de}function Ao(){for(var de,Fe=Li,Je=1/0;Fe;)Fe.c?(Fe.t<Je&&(Je=Fe.t),Fe=(de=Fe).n):Fe=de?de.n=Fe.n:Li=Fe.n;return Ia=de,Je}p.round=function(de,Fe){return Fe?Math.round(de*(Fe=Math.pow(10,Fe)))/Fe:Math.round(de)},p.geom={};function An(de){return de[0]}function Eo(de){return de[1]}p.geom.hull=function(de){var Fe=An,Je=Eo;if(arguments.length)return vt(de);function vt(_t){if(_t.length<3)return[];var At=Or(Fe),ar=Or(Je),Ft,xr=_t.length,Gr=[],Yr=[];for(Ft=0;Ft<xr;Ft++)Gr.push([+At.call(this,_t[Ft],Ft),+ar.call(this,_t[Ft],Ft),Ft]);for(Gr.sort(Ls),Ft=0;Ft<xr;Ft++)Yr.push([Gr[Ft][0],-Gr[Ft][1]]);var Ei=fs(Gr),xi=fs(Yr),na=xi[0]===Ei[0],ua=xi[xi.length-1]===Ei[Ei.length-1],Di=[];for(Ft=Ei.length-1;Ft>=0;--Ft)Di.push(_t[Gr[Ei[Ft]][2]]);for(Ft=+na;Ft<xi.length-ua;++Ft)Di.push(_t[Gr[xi[Ft]][2]]);return Di}return vt.x=function(_t){return arguments.length?(Fe=_t,vt):Fe},vt.y=function(_t){return arguments.length?(Je=_t,vt):Je},vt};function fs(de){for(var Fe=de.length,Je=[0,1],vt=2,_t=2;_t<Fe;_t++){for(;vt>1&>(de[Je[vt-2]],de[Je[vt-1]],de[_t])<=0;)--vt;Je[vt++]=_t}return Je.slice(0,vt)}function Ls(de,Fe){return de[0]-Fe[0]||de[1]-Fe[1]}p.geom.polygon=function(de){return q(de,ns),de};var ns=p.geom.polygon.prototype=[];ns.area=function(){for(var de=-1,Fe=this.length,Je,vt=this[Fe-1],_t=0;++de<Fe;)Je=vt,vt=this[de],_t+=Je[1]*vt[0]-Je[0]*vt[1];return _t*.5},ns.centroid=function(de){var Fe=-1,Je=this.length,vt=0,_t=0,At,ar=this[Je-1],Ft;for(arguments.length||(de=-1/(6*this.area()));++Fe<Je;)At=ar,ar=this[Fe],Ft=At[0]*ar[1]-ar[0]*At[1],vt+=(At[0]+ar[0])*Ft,_t+=(At[1]+ar[1])*Ft;return[vt*de,_t*de]},ns.clip=function(de){for(var Fe,Je=xs(de),vt=-1,_t=this.length-xs(this),At,ar,Ft=this[_t-1],xr,Gr,Yr;++vt<_t;){for(Fe=de.slice(),de.length=0,xr=this[vt],Gr=Fe[(ar=Fe.length-Je)-1],At=-1;++At<ar;)Yr=Fe[At],uo(Yr,Ft,xr)?(uo(Gr,Ft,xr)||de.push(ss(Gr,Yr,Ft,xr)),de.push(Yr)):uo(Gr,Ft,xr)&&de.push(ss(Gr,Yr,Ft,xr)),Gr=Yr;Je&&de.push(de[0]),Ft=xr}return de};function uo(de,Fe,Je){return(Je[0]-Fe[0])*(de[1]-Fe[1])<(Je[1]-Fe[1])*(de[0]-Fe[0])}function ss(de,Fe,Je,vt){var _t=de[0],At=Je[0],ar=Fe[0]-_t,Ft=vt[0]-At,xr=de[1],Gr=Je[1],Yr=Fe[1]-xr,Ei=vt[1]-Gr,xi=(Ft*(xr-Gr)-Ei*(_t-At))/(Ei*ar-Ft*Yr);return[_t+xi*ar,xr+xi*Yr]}function xs(de){var Fe=de[0],Je=de[de.length-1];return!(Fe[0]-Je[0]||Fe[1]-Je[1])}var el,Ss,Co,ao=[],co,Ms,Gs=[];function ul(){Us(this),this.edge=this.site=this.circle=null}function hs(de){var Fe=ao.pop()||new ul;return Fe.site=de,Fe}function rn(de){Ko(de),Co.remove(de),ao.push(de),Us(de)}function Xn(de){var Fe=de.circle,Je=Fe.x,vt=Fe.cy,_t={x:Je,y:vt},At=de.P,ar=de.N,Ft=[de];rn(de);for(var xr=At;xr.circle&&l(Je-xr.circle.x)<Ye&&l(vt-xr.circle.cy)<Ye;)At=xr.P,Ft.unshift(xr),rn(xr),xr=At;Ft.unshift(xr),Ko(xr);for(var Gr=ar;Gr.circle&&l(Je-Gr.circle.x)<Ye&&l(vt-Gr.circle.cy)<Ye;)ar=Gr.N,Ft.push(Gr),rn(Gr),Gr=ar;Ft.push(Gr),Ko(Gr);var Yr=Ft.length,Ei;for(Ei=1;Ei<Yr;++Ei)Gr=Ft[Ei],xr=Ft[Ei-1],Ns(Gr.edge,xr.site,Gr.site,_t);xr=Ft[0],Gr=Ft[Yr-1],Gr.edge=al(xr.site,Gr.site,null,_t),On(xr),On(Gr)}function tl(de){for(var Fe=de.x,Je=de.y,vt,_t,At,ar,Ft=Co._;Ft;)if(At=zs(Ft,Je)-Fe,At>Ye)Ft=Ft.L;else if(ar=Fe-so(Ft,Je),ar>Ye){if(!Ft.R){vt=Ft;break}Ft=Ft.R}else{At>-Ye?(vt=Ft.P,_t=Ft):ar>-Ye?(vt=Ft,_t=Ft.N):vt=_t=Ft;break}var xr=hs(de);if(Co.insert(vt,xr),!(!vt&&!_t)){if(vt===_t){Ko(vt),_t=hs(vt.site),Co.insert(xr,_t),xr.edge=_t.edge=al(vt.site,xr.site),On(vt),On(_t);return}if(!_t){xr.edge=al(vt.site,xr.site);return}Ko(vt),Ko(_t);var Gr=vt.site,Yr=Gr.x,Ei=Gr.y,xi=de.x-Yr,na=de.y-Ei,ua=_t.site,Di=ua.x-Yr,Hi=ua.y-Ei,ta=2*(xi*Hi-na*Di),ya=xi*xi+na*na,da=Di*Di+Hi*Hi,Oi={x:(Hi*ya-na*da)/ta+Yr,y:(xi*da-Di*ya)/ta+Ei};Ns(_t.edge,Gr,ua,Oi),xr.edge=al(Gr,de,null,Oi),_t.edge=al(de,ua,null,Oi),On(vt),On(_t)}}function zs(de,Fe){var Je=de.site,vt=Je.x,_t=Je.y,At=_t-Fe;if(!At)return vt;var ar=de.P;if(!ar)return-1/0;Je=ar.site;var Ft=Je.x,xr=Je.y,Gr=xr-Fe;if(!Gr)return Ft;var Yr=Ft-vt,Ei=1/At-1/Gr,xi=Yr/Gr;return Ei?(-xi+Math.sqrt(xi*xi-2*Ei*(Yr*Yr/(-2*Gr)-xr+Gr/2+_t-At/2)))/Ei+vt:(vt+Ft)/2}function so(de,Fe){var Je=de.N;if(Je)return zs(Je,Fe);var vt=de.site;return vt.y===Fe?vt.x:1/0}function $s(de){this.site=de,this.edges=[]}$s.prototype.prepare=function(){for(var de=this.edges,Fe=de.length,Je;Fe--;)Je=de[Fe].edge,(!Je.b||!Je.a)&&de.splice(Fe,1);return de.sort(nl),de.length};function Ps(de){for(var Fe=de[0][0],Je=de[1][0],vt=de[0][1],_t=de[1][1],At,ar,Ft,xr,Gr=Ss,Yr=Gr.length,Ei,xi,na,ua,Di,Hi;Yr--;)if(Ei=Gr[Yr],!(!Ei||!Ei.prepare()))for(na=Ei.edges,ua=na.length,xi=0;xi<ua;)Hi=na[xi].end(),Ft=Hi.x,xr=Hi.y,Di=na[++xi%ua].start(),At=Di.x,ar=Di.y,(l(Ft-At)>Ye||l(xr-ar)>Ye)&&(na.splice(xi,0,new rl(kl(Ei.site,Hi,l(Ft-Fe)<Ye&&_t-xr>Ye?{x:Fe,y:l(At-Fe)<Ye?ar:_t}:l(xr-_t)<Ye&&Je-Ft>Ye?{x:l(ar-_t)<Ye?At:Je,y:_t}:l(Ft-Je)<Ye&&xr-vt>Ye?{x:Je,y:l(At-Je)<Ye?ar:vt}:l(xr-vt)<Ye&&Ft-Fe>Ye?{x:l(ar-vt)<Ye?At:Fe,y:vt}:null),Ei.site,null)),++ua)}function nl(de,Fe){return Fe.angle-de.angle}function yl(){Us(this),this.x=this.y=this.arc=this.site=this.cy=null}function On(de){var Fe=de.P,Je=de.N;if(!(!Fe||!Je)){var vt=Fe.site,_t=de.site,At=Je.site;if(vt!==At){var ar=_t.x,Ft=_t.y,xr=vt.x-ar,Gr=vt.y-Ft,Yr=At.x-ar,Hi=At.y-Ft,Ei=2*(xr*Hi-Gr*Yr);if(!(Ei>=-be)){var xi=xr*xr+Gr*Gr,na=Yr*Yr+Hi*Hi,ua=(Hi*xi-Gr*na)/Ei,Di=(xr*na-Yr*xi)/Ei,Hi=Di+Ft,ta=Gs.pop()||new yl;ta.arc=de,ta.site=_t,ta.x=ua+ar,ta.y=Hi+Math.sqrt(ua*ua+Di*Di),ta.cy=Hi,de.circle=ta;for(var ya=null,da=Ms._;da;)if(ta.y<da.y||ta.y===da.y&&ta.x<=da.x)if(da.L)da=da.L;else{ya=da.P;break}else if(da.R)da=da.R;else{ya=da;break}Ms.insert(ya,ta),ya||(co=ta)}}}}function Ko(de){var Fe=de.circle;Fe&&(Fe.P||(co=Fe.N),Ms.remove(Fe),Gs.push(Fe),Us(Fe),de.circle=null)}function jo(de,Fe,Je,vt){return function(_t){var At=_t.a,ar=_t.b,Ft=At.x,xr=At.y,Gr=ar.x,Yr=ar.y,Ei=0,xi=1,na=Gr-Ft,ua=Yr-xr,Di;if(Di=de-Ft,!(!na&&Di>0)){if(Di/=na,na<0){if(Di<Ei)return;Di<xi&&(xi=Di)}else if(na>0){if(Di>xi)return;Di>Ei&&(Ei=Di)}if(Di=Je-Ft,!(!na&&Di<0)){if(Di/=na,na<0){if(Di>xi)return;Di>Ei&&(Ei=Di)}else if(na>0){if(Di<Ei)return;Di<xi&&(xi=Di)}if(Di=Fe-xr,!(!ua&&Di>0)){if(Di/=ua,ua<0){if(Di<Ei)return;Di<xi&&(xi=Di)}else if(ua>0){if(Di>xi)return;Di>Ei&&(Ei=Di)}if(Di=vt-xr,!(!ua&&Di<0)){if(Di/=ua,ua<0){if(Di>xi)return;Di>Ei&&(Ei=Di)}else if(ua>0){if(Di<Ei)return;Di<xi&&(xi=Di)}return Ei>0&&(_t.a={x:Ft+Ei*na,y:xr+Ei*ua}),xi<1&&(_t.b={x:Ft+xi*na,y:xr+xi*ua}),_t}}}}}}function Ys(de){for(var Fe=el,Je=jo(de[0][0],de[0][1],de[1][0],de[1][1]),vt=Fe.length,_t;vt--;)_t=Fe[vt],(!Tu(_t,de)||!Je(_t)||l(_t.a.x-_t.b.x)<Ye&&l(_t.a.y-_t.b.y)<Ye)&&(_t.a=_t.b=null,Fe.splice(vt,1))}function Tu(de,Fe){var Je=de.b;if(Je)return!0;var vt=de.a,_t=Fe[0][0],At=Fe[1][0],ar=Fe[0][1],Ft=Fe[1][1],xr=de.l,Gr=de.r,Yr=xr.x,Ei=xr.y,xi=Gr.x,na=Gr.y,ua=(Yr+xi)/2,Di=(Ei+na)/2,Hi,ta;if(na===Ei){if(ua<_t||ua>=At)return;if(Yr>xi){if(!vt)vt={x:ua,y:ar};else if(vt.y>=Ft)return;Je={x:ua,y:Ft}}else{if(!vt)vt={x:ua,y:Ft};else if(vt.y<ar)return;Je={x:ua,y:ar}}}else if(Hi=(Yr-xi)/(na-Ei),ta=Di-Hi*ua,Hi<-1||Hi>1)if(Yr>xi){if(!vt)vt={x:(ar-ta)/Hi,y:ar};else if(vt.y>=Ft)return;Je={x:(Ft-ta)/Hi,y:Ft}}else{if(!vt)vt={x:(Ft-ta)/Hi,y:Ft};else if(vt.y<ar)return;Je={x:(ar-ta)/Hi,y:ar}}else if(Ei<na){if(!vt)vt={x:_t,y:Hi*_t+ta};else if(vt.x>=At)return;Je={x:At,y:Hi*At+ta}}else{if(!vt)vt={x:At,y:Hi*At+ta};else if(vt.x<_t)return;Je={x:_t,y:Hi*_t+ta}}return de.a=vt,de.b=Je,!0}function Lo(de,Fe){this.l=de,this.r=Fe,this.a=this.b=null}function al(de,Fe,Je,vt){var _t=new Lo(de,Fe);return el.push(_t),Je&&Ns(_t,de,Fe,Je),vt&&Ns(_t,Fe,de,vt),Ss[de.i].edges.push(new rl(_t,de,Fe)),Ss[Fe.i].edges.push(new rl(_t,Fe,de)),_t}function kl(de,Fe,Je){var vt=new Lo(de,null);return vt.a=Fe,vt.b=Je,el.push(vt),vt}function Ns(de,Fe,Je,vt){!de.a&&!de.b?(de.a=vt,de.l=Fe,de.r=Je):de.l===Je?de.b=vt:de.a=vt}function rl(de,Fe,Je){var vt=de.a,_t=de.b;this.edge=de,this.site=Fe,this.angle=Je?Math.atan2(Je.y-Fe.y,Je.x-Fe.x):de.l===Fe?Math.atan2(_t.x-vt.x,vt.y-_t.y):Math.atan2(vt.x-_t.x,_t.y-vt.y)}rl.prototype={start:function(){return this.edge.l===this.site?this.edge.a:this.edge.b},end:function(){return this.edge.l===this.site?this.edge.b:this.edge.a}};function Es(){this._=null}function Us(de){de.U=de.C=de.L=de.R=de.P=de.N=null}Es.prototype={insert:function(de,Fe){var Je,vt,_t;if(de){if(Fe.P=de,Fe.N=de.N,de.N&&(de.N.P=Fe),de.N=Fe,de.R){for(de=de.R;de.L;)de=de.L;de.L=Fe}else de.R=Fe;Je=de}else this._?(de=kc(this._),Fe.P=null,Fe.N=de,de.P=de.L=Fe,Je=de):(Fe.P=Fe.N=null,this._=Fe,Je=null);for(Fe.L=Fe.R=null,Fe.U=Je,Fe.C=!0,de=Fe;Je&&Je.C;)vt=Je.U,Je===vt.L?(_t=vt.R,_t&&_t.C?(Je.C=_t.C=!1,vt.C=!0,de=vt):(de===Je.R&&(Zl(this,Je),de=Je,Je=de.U),Je.C=!1,vt.C=!0,pu(this,vt))):(_t=vt.L,_t&&_t.C?(Je.C=_t.C=!1,vt.C=!0,de=vt):(de===Je.L&&(pu(this,Je),de=Je,Je=de.U),Je.C=!1,vt.C=!0,Zl(this,vt))),Je=de.U;this._.C=!1},remove:function(de){de.N&&(de.N.P=de.P),de.P&&(de.P.N=de.N),de.N=de.P=null;var Fe=de.U,Je,vt=de.L,_t=de.R,At,ar;if(vt?_t?At=kc(_t):At=vt:At=_t,Fe?Fe.L===de?Fe.L=At:Fe.R=At:this._=At,vt&&_t?(ar=At.C,At.C=de.C,At.L=vt,vt.U=At,At!==_t?(Fe=At.U,At.U=de.U,de=At.R,Fe.L=de,At.R=_t,_t.U=At):(At.U=Fe,Fe=At,de=At.R)):(ar=de.C,de=At),de&&(de.U=Fe),!ar){if(de&&de.C){de.C=!1;return}do{if(de===this._)break;if(de===Fe.L){if(Je=Fe.R,Je.C&&(Je.C=!1,Fe.C=!0,Zl(this,Fe),Je=Fe.R),Je.L&&Je.L.C||Je.R&&Je.R.C){(!Je.R||!Je.R.C)&&(Je.L.C=!1,Je.C=!0,pu(this,Je),Je=Fe.R),Je.C=Fe.C,Fe.C=Je.R.C=!1,Zl(this,Fe),de=this._;break}}else if(Je=Fe.L,Je.C&&(Je.C=!1,Fe.C=!0,pu(this,Fe),Je=Fe.L),Je.L&&Je.L.C||Je.R&&Je.R.C){(!Je.L||!Je.L.C)&&(Je.R.C=!1,Je.C=!0,Zl(this,Je),Je=Fe.L),Je.C=Fe.C,Fe.C=Je.L.C=!1,pu(this,Fe),de=this._;break}Je.C=!0,de=Fe,Fe=Fe.U}while(!de.C);de&&(de.C=!1)}}};function Zl(de,Fe){var Je=Fe,vt=Fe.R,_t=Je.U;_t?_t.L===Je?_t.L=vt:_t.R=vt:de._=vt,vt.U=_t,Je.U=vt,Je.R=vt.L,Je.R&&(Je.R.U=Je),vt.L=Je}function pu(de,Fe){var Je=Fe,vt=Fe.L,_t=Je.U;_t?_t.L===Je?_t.L=vt:_t.R=vt:de._=vt,vt.U=_t,Je.U=vt,Je.L=vt.R,Je.L&&(Je.L.U=Je),vt.R=Je}function kc(de){for(;de.L;)de=de.L;return de}function Au(de,Fe){var Je=de.sort(Sf).pop(),vt,_t,At;for(el=[],Ss=new Array(de.length),Co=new Es,Ms=new Es;;)if(At=co,Je&&(!At||Je.y<At.y||Je.y===At.y&&Je.x<At.x))(Je.x!==vt||Je.y!==_t)&&(Ss[Je.i]=new $s(Je),tl(Je),vt=Je.x,_t=Je.y),Je=de.pop();else if(At)Xn(At.arc);else break;Fe&&(Ys(Fe),Ps(Fe));var ar={cells:Ss,edges:el};return Co=Ms=el=Ss=null,ar}function Sf(de,Fe){return Fe.y-de.y||Fe.x-de.x}p.geom.voronoi=function(de){var Fe=An,Je=Eo,vt=Fe,_t=Je,At=Gc;if(de)return ar(de);function ar(xr){var Gr=new Array(xr.length),Yr=At[0][0],Ei=At[0][1],xi=At[1][0],na=At[1][1];return Au(Ft(xr),At).cells.forEach(function(ua,Di){var Hi=ua.edges,ta=ua.site,ya=Gr[Di]=Hi.length?Hi.map(function(da){var Oi=da.start();return[Oi.x,Oi.y]}):ta.x>=Yr&&ta.x<=xi&&ta.y>=Ei&&ta.y<=na?[[Yr,na],[xi,na],[xi,Ei],[Yr,Ei]]:[];ya.point=xr[Di]}),Gr}function Ft(xr){return xr.map(function(Gr,Yr){return{x:Math.round(vt(Gr,Yr)/Ye)*Ye,y:Math.round(_t(Gr,Yr)/Ye)*Ye,i:Yr}})}return ar.links=function(xr){return Au(Ft(xr)).edges.filter(function(Gr){return Gr.l&&Gr.r}).map(function(Gr){return{source:xr[Gr.l.i],target:xr[Gr.r.i]}})},ar.triangles=function(xr){var Gr=[];return Au(Ft(xr)).cells.forEach(function(Yr,Ei){for(var xi=Yr.site,na=Yr.edges.sort(nl),ua=-1,Di=na.length,Hi,ta,ya=na[Di-1].edge,da=ya.l===xi?ya.r:ya.l;++ua<Di;)Hi=ya,ta=da,ya=na[ua].edge,da=ya.l===xi?ya.r:ya.l,Ei<ta.i&&Ei<da.i&&Js(xi,ta,da)<0&&Gr.push([xr[Ei],xr[ta.i],xr[da.i]])}),Gr},ar.x=function(xr){return arguments.length?(vt=Or(Fe=xr),ar):Fe},ar.y=function(xr){return arguments.length?(_t=Or(Je=xr),ar):Je},ar.clipExtent=function(xr){return arguments.length?(At=xr??Gc,ar):At===Gc?null:At},ar.size=function(xr){return arguments.length?ar.clipExtent(xr&&[[0,0],xr]):At===Gc?null:At&&At[1]},ar};var Gc=[[-1e6,-1e6],[1e6,1e6]];function Js(de,Fe,Je){return(de.x-Je.x)*(Fe.y-de.y)-(de.x-Fe.x)*(Je.y-de.y)}p.geom.delaunay=function(de){return p.geom.voronoi().triangles(de)},p.geom.quadtree=function(de,Fe,Je,vt,_t){var At=An,ar=Eo,Ft;if(Ft=arguments.length)return At=yc,ar=Zc,Ft===3&&(_t=Je,vt=Fe,Je=Fe=0),xr(de);function xr(Gr){var Yr,Ei=Or(At),xi=Or(ar),na,ua,Di,Hi,ta,ya,da,Oi;if(Fe!=null)ta=Fe,ya=Je,da=vt,Oi=_t;else if(da=Oi=-(ta=ya=1/0),na=[],ua=[],Hi=Gr.length,Ft)for(Di=0;Di<Hi;++Di)Yr=Gr[Di],Yr.x<ta&&(ta=Yr.x),Yr.y<ya&&(ya=Yr.y),Yr.x>da&&(da=Yr.x),Yr.y>Oi&&(Oi=Yr.y),na.push(Yr.x),ua.push(Yr.y);else for(Di=0;Di<Hi;++Di){var xn=+Ei(Yr=Gr[Di],Di),mn=+xi(Yr,Di);xn<ta&&(ta=xn),mn<ya&&(ya=mn),xn>da&&(da=xn),mn>Oi&&(Oi=mn),na.push(xn),ua.push(mn)}var In=da-ta,Yn=Oi-ya;In>Yn?Oi=ya+In:da=ta+Yn;function mo(To,cs,Al,ml,Pl,Dn,zo,ks){if(!(isNaN(Al)||isNaN(ml)))if(To.leaf){var Rs=To.x,Bl=To.y;if(Rs!=null)if(l(Rs-Al)+l(Bl-ml)<.01)bo(To,cs,Al,ml,Pl,Dn,zo,ks);else{var tu=To.point;To.x=To.y=To.point=null,bo(To,tu,Rs,Bl,Pl,Dn,zo,ks),bo(To,cs,Al,ml,Pl,Dn,zo,ks)}else To.x=Al,To.y=ml,To.point=cs}else bo(To,cs,Al,ml,Pl,Dn,zo,ks)}function bo(To,cs,Al,ml,Pl,Dn,zo,ks){var Rs=(Pl+zo)*.5,Bl=(Dn+ks)*.5,tu=Al>=Rs,Ru=ml>=Bl,Hl=Ru<<1|tu;To.leaf=!1,To=To.nodes[Hl]||(To.nodes[Hl]=mu()),tu?Pl=Rs:zo=Rs,Ru?Dn=Bl:ks=Bl,mo(To,cs,Al,ml,Pl,Dn,zo,ks)}var vs=mu();if(vs.add=function(To){mo(vs,To,+Ei(To,++Di),+xi(To,Di),ta,ya,da,Oi)},vs.visit=function(To){Vl(To,vs,ta,ya,da,Oi)},vs.find=function(To){return lc(vs,To[0],To[1],ta,ya,da,Oi)},Di=-1,Fe==null){for(;++Di<Hi;)mo(vs,Gr[Di],na[Di],ua[Di],ta,ya,da,Oi);--Di}else Gr.forEach(vs.add);return na=ua=Gr=Yr=null,vs}return xr.x=function(Gr){return arguments.length?(At=Gr,xr):At},xr.y=function(Gr){return arguments.length?(ar=Gr,xr):ar},xr.extent=function(Gr){return arguments.length?(Gr==null?Fe=Je=vt=_t=null:(Fe=+Gr[0][0],Je=+Gr[0][1],vt=+Gr[1][0],_t=+Gr[1][1]),xr):Fe==null?null:[[Fe,Je],[vt,_t]]},xr.size=function(Gr){return arguments.length?(Gr==null?Fe=Je=vt=_t=null:(Fe=Je=0,vt=+Gr[0],_t=+Gr[1]),xr):Fe==null?null:[vt-Fe,_t-Je]},xr};function yc(de){return de.x}function Zc(de){return de.y}function mu(){return{leaf:!0,nodes:[],point:null,x:null,y:null}}function Vl(de,Fe,Je,vt,_t,At){if(!de(Fe,Je,vt,_t,At)){var ar=(Je+_t)*.5,Ft=(vt+At)*.5,xr=Fe.nodes;xr[0]&&Vl(de,xr[0],Je,vt,ar,Ft),xr[1]&&Vl(de,xr[1],ar,vt,_t,Ft),xr[2]&&Vl(de,xr[2],Je,Ft,ar,At),xr[3]&&Vl(de,xr[3],ar,Ft,_t,At)}}function lc(de,Fe,Je,vt,_t,At,ar){var Ft=1/0,xr;return function Gr(Yr,Ei,xi,na,ua){if(!(Ei>At||xi>ar||na<vt||ua<_t)){if(Di=Yr.point){var Di,Hi=Fe-Yr.x,ta=Je-Yr.y,ya=Hi*Hi+ta*ta;if(ya<Ft){var da=Math.sqrt(Ft=ya);vt=Fe-da,_t=Je-da,At=Fe+da,ar=Je+da,xr=Di}}for(var Oi=Yr.nodes,xn=(Ei+na)*.5,mn=(xi+ua)*.5,In=Fe>=xn,Yn=Je>=mn,mo=Yn<<1|In,bo=mo+4;mo<bo;++mo)if(Yr=Oi[mo&3])switch(mo&3){case 0:Gr(Yr,Ei,xi,xn,mn);break;case 1:Gr(Yr,xn,xi,na,mn);break;case 2:Gr(Yr,Ei,mn,xn,ua);break;case 3:Gr(Yr,xn,mn,na,ua);break}}}(de,vt,_t,At,ar),xr}p.interpolateRgb=Gu;function Gu(de,Fe){de=p.rgb(de),Fe=p.rgb(Fe);var Je=de.r,vt=de.g,_t=de.b,At=Fe.r-Je,ar=Fe.g-vt,Ft=Fe.b-_t;return function(xr){return"#"+br(Math.round(Je+At*xr))+br(Math.round(vt+ar*xr))+br(Math.round(_t+Ft*xr))}}p.interpolateObject=_l;function _l(de,Fe){var Je={},vt={},_t;for(_t in de)_t in Fe?Je[_t]=Kl(de[_t],Fe[_t]):vt[_t]=de[_t];for(_t in Fe)_t in de||(vt[_t]=Fe[_t]);return function(At){for(_t in Je)vt[_t]=Je[_t](At);return vt}}p.interpolateNumber=Cl;function Cl(de,Fe){return de=+de,Fe=+Fe,function(Je){return de*(1-Je)+Fe*Je}}p.interpolateString=Fs;function Fs(de,Fe){var Je=ol.lastIndex=uc.lastIndex=0,vt,_t,At,ar=-1,Ft=[],xr=[];for(de=de+"",Fe=Fe+"";(vt=ol.exec(de))&&(_t=uc.exec(Fe));)(At=_t.index)>Je&&(At=Fe.slice(Je,At),Ft[ar]?Ft[ar]+=At:Ft[++ar]=At),(vt=vt[0])===(_t=_t[0])?Ft[ar]?Ft[ar]+=_t:Ft[++ar]=_t:(Ft[++ar]=null,xr.push({i:ar,x:Cl(vt,_t)})),Je=uc.lastIndex;return Je<Fe.length&&(At=Fe.slice(Je),Ft[ar]?Ft[ar]+=At:Ft[++ar]=At),Ft.length<2?xr[0]?(Fe=xr[0].x,function(Gr){return Fe(Gr)+""}):function(){return Fe}:(Fe=xr.length,function(Gr){for(var Yr=0,Ei;Yr<Fe;++Yr)Ft[(Ei=xr[Yr]).i]=Ei.x(Gr);return Ft.join("")})}var ol=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,uc=new RegExp(ol.source,"g");p.interpolate=Kl;function Kl(de,Fe){for(var Je=p.interpolators.length,vt;--Je>=0&&!(vt=p.interpolators[Je](de,Fe)););return vt}p.interpolators=[function(de,Fe){var Je=typeof Fe;return(Je==="string"?mr.has(Fe.toLowerCase())||/^(#|rgb\(|hsl\()/i.test(Fe)?Gu:Fs:Fe instanceof Ca?Gu:Array.isArray(Fe)?Zu:Je==="object"&&isNaN(Fe)?_l:Cl)(de,Fe)}],p.interpolateArray=Zu;function Zu(de,Fe){var Je=[],vt=[],_t=de.length,At=Fe.length,ar=Math.min(de.length,Fe.length),Ft;for(Ft=0;Ft<ar;++Ft)Je.push(Kl(de[Ft],Fe[Ft]));for(;Ft<_t;++Ft)vt[Ft]=de[Ft];for(;Ft<At;++Ft)vt[Ft]=Fe[Ft];return function(xr){for(Ft=0;Ft<ar;++Ft)vt[Ft]=Je[Ft](xr);return vt}}var Sl=function(){return F},vh=p.map({linear:Sl,poly:Mf,quad:function(){return Kc},cubic:function(){return Ku},sin:function(){return Cc},exp:function(){return uf},circle:function(){return su},elastic:Wf,back:Rf,bounce:function(){return cf}}),ws=p.map({in:F,out:qs,"in-out":xo,"out-in":function(de){return xo(qs(de))}});p.ease=function(de){var Fe=de.indexOf("-"),Je=Fe>=0?de.slice(0,Fe):de,vt=Fe>=0?de.slice(Fe+1):"in";return Je=vh.get(Je)||Sl,vt=ws.get(vt)||F,ph(vt(Je.apply(null,x.call(arguments,1))))};function ph(de){return function(Fe){return Fe<=0?0:Fe>=1?1:de(Fe)}}function qs(de){return function(Fe){return 1-de(1-Fe)}}function xo(de){return function(Fe){return .5*(Fe<.5?de(2*Fe):2-de(2-2*Fe))}}function Kc(de){return de*de}function Ku(de){return de*de*de}function $l(de){if(de<=0)return 0;if(de>=1)return 1;var Fe=de*de,Je=Fe*de;return 4*(de<.5?Je:3*(de-Fe)+Je-.75)}function Mf(de){return function(Fe){return Math.pow(Fe,de)}}function Cc(de){return 1-Math.cos(de*Me)}function uf(de){return Math.pow(2,10*(de-1))}function su(de){return 1-Math.sqrt(1-de*de)}function Wf(de,Fe){var Je;return arguments.length<2&&(Fe=.45),arguments.length?Je=Fe/qe*Math.asin(1/de):(de=1,Je=Fe/4),function(vt){return 1+de*Math.pow(2,-10*vt)*Math.sin((vt-Je)*qe/Fe)}}function Rf(de){return de||(de=1.70158),function(Fe){return Fe*Fe*((de+1)*Fe-de)}}function cf(de){return de<1/2.75?7.5625*de*de:de<2/2.75?7.5625*(de-=1.5/2.75)*de+.75:de<2.5/2.75?7.5625*(de-=2.25/2.75)*de+.9375:7.5625*(de-=2.625/2.75)*de+.984375}p.interpolateHcl=Wc;function Wc(de,Fe){de=p.hcl(de),Fe=p.hcl(Fe);var Je=de.h,vt=de.c,_t=de.l,At=Fe.h-Je,ar=Fe.c-vt,Ft=Fe.l-_t;return isNaN(ar)&&(ar=0,vt=isNaN(vt)?Fe.c:vt),isNaN(At)?(At=0,Je=isNaN(Je)?Fe.h:Je):At>180?At-=360:At<-180&&(At+=360),function(xr){return ri(Je+At*xr,vt+ar*xr,_t+Ft*xr)+""}}p.interpolateHsl=Df;function Df(de,Fe){de=p.hsl(de),Fe=p.hsl(Fe);var Je=de.h,vt=de.s,_t=de.l,At=Fe.h-Je,ar=Fe.s-vt,Ft=Fe.l-_t;return isNaN(ar)&&(ar=0,vt=isNaN(vt)?Fe.s:vt),isNaN(At)?(At=0,Je=isNaN(Je)?Fe.h:Je):At>180?At-=360:At<-180&&(At+=360),function(xr){return Zt(Je+At*xr,vt+ar*xr,_t+Ft*xr)+""}}p.interpolateLab=zf;function zf(de,Fe){de=p.lab(de),Fe=p.lab(Fe);var Je=de.l,vt=de.a,_t=de.b,At=Fe.l-Je,ar=Fe.a-vt,Ft=Fe.b-_t;return function(xr){return xa(Je+At*xr,vt+ar*xr,_t+Ft*xr)+""}}p.interpolateRound=$u;function $u(de,Fe){return Fe-=de,function(Je){return Math.round(de+Fe*Je)}}p.transform=function(de){var Fe=E.createElementNS(p.ns.prefix.svg,"g");return(p.transform=function(Je){if(Je!=null){Fe.setAttribute("transform",Je);var vt=Fe.transform.baseVal.consolidate()}return new Ef(vt?vt.matrix:Xc)})(de)};function Ef(de){var Fe=[de.a,de.b],Je=[de.c,de.d],vt=$c(Fe),_t=cc(Fe,Je),At=$c(lu(Je,Fe,-_t))||0;Fe[0]*Je[1]<Je[0]*Fe[1]&&(Fe[0]*=-1,Fe[1]*=-1,vt*=-1,_t*=-1),this.rotate=(vt?Math.atan2(Fe[1],Fe[0]):Math.atan2(-Je[0],Je[1]))*ut,this.translate=[de.e,de.f],this.scale=[vt,At],this.skew=At?Math.atan2(_t,At)*ut:0}Ef.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};function cc(de,Fe){return de[0]*Fe[0]+de[1]*Fe[1]}function $c(de){var Fe=Math.sqrt(cc(de,de));return Fe&&(de[0]/=Fe,de[1]/=Fe),Fe}function lu(de,Fe,Je){return de[0]+=Je*Fe[0],de[1]+=Je*Fe[1],de}var Xc={a:1,b:0,c:0,d:1,e:0,f:0};p.interpolateTransform=Jc;function Lc(de){return de.length?de.pop()+",":""}function sl(de,Fe,Je,vt){if(de[0]!==Fe[0]||de[1]!==Fe[1]){var _t=Je.push("translate(",null,",",null,")");vt.push({i:_t-4,x:Cl(de[0],Fe[0])},{i:_t-2,x:Cl(de[1],Fe[1])})}else(Fe[0]||Fe[1])&&Je.push("translate("+Fe+")")}function kf(de,Fe,Je,vt){de!==Fe?(de-Fe>180?Fe+=360:Fe-de>180&&(de+=360),vt.push({i:Je.push(Lc(Je)+"rotate(",null,")")-2,x:Cl(de,Fe)})):Fe&&Je.push(Lc(Je)+"rotate("+Fe+")")}function ah(de,Fe,Je,vt){de!==Fe?vt.push({i:Je.push(Lc(Je)+"skewX(",null,")")-2,x:Cl(de,Fe)}):Fe&&Je.push(Lc(Je)+"skewX("+Fe+")")}function Ff(de,Fe,Je,vt){if(de[0]!==Fe[0]||de[1]!==Fe[1]){var _t=Je.push(Lc(Je)+"scale(",null,",",null,")");vt.push({i:_t-4,x:Cl(de[0],Fe[0])},{i:_t-2,x:Cl(de[1],Fe[1])})}else(Fe[0]!==1||Fe[1]!==1)&&Je.push(Lc(Je)+"scale("+Fe+")")}function Jc(de,Fe){var Je=[],vt=[];return de=p.transform(de),Fe=p.transform(Fe),sl(de.translate,Fe.translate,Je,vt),kf(de.rotate,Fe.rotate,Je,vt),ah(de.skew,Fe.skew,Je,vt),Ff(de.scale,Fe.scale,Je,vt),de=Fe=null,function(_t){for(var At=-1,ar=vt.length,Ft;++At<ar;)Je[(Ft=vt[At]).i]=Ft.x(_t);return Je.join("")}}function Xf(de,Fe){return Fe=(Fe-=de=+de)||1/Fe,function(Je){return(Je-de)/Fe}}function Fu(de,Fe){return Fe=(Fe-=de=+de)||1/Fe,function(Je){return Math.max(0,Math.min(1,(Je-de)/Fe))}}p.layout={},p.layout.bundle=function(){return function(de){for(var Fe=[],Je=-1,vt=de.length;++Je<vt;)Fe.push(Bf(de[Je]));return Fe}};function Bf(de){for(var Fe=de.source,Je=de.target,vt=Bu(Fe,Je),_t=[Fe];Fe!==vt;)Fe=Fe.parent,_t.push(Fe);for(var At=_t.length;Je!==vt;)_t.splice(At,0,Je),Je=Je.parent;return _t}function Ll(de){for(var Fe=[],Je=de.parent;Je!=null;)Fe.push(de),de=Je,Je=Je.parent;return Fe.push(de),Fe}function Bu(de,Fe){if(de===Fe)return de;for(var Je=Ll(de),vt=Ll(Fe),_t=Je.pop(),At=vt.pop(),ar=null;_t===At;)ar=_t,_t=Je.pop(),At=vt.pop();return ar}p.layout.chord=function(){var de={},Fe,Je,vt,_t,At=0,ar,Ft,xr;function Gr(){var Ei={},xi=[],na=p.range(_t),ua=[],Di,Hi,ta,ya,da;for(Fe=[],Je=[],Di=0,ya=-1;++ya<_t;){for(Hi=0,da=-1;++da<_t;)Hi+=vt[ya][da];xi.push(Hi),ua.push(p.range(_t)),Di+=Hi}for(ar&&na.sort(function(vs,To){return ar(xi[vs],xi[To])}),Ft&&ua.forEach(function(vs,To){vs.sort(function(cs,Al){return Ft(vt[To][cs],vt[To][Al])})}),Di=(qe-At*_t)/Di,Hi=0,ya=-1;++ya<_t;){for(ta=Hi,da=-1;++da<_t;){var Oi=na[ya],xn=ua[Oi][da],mn=vt[Oi][xn],In=Hi,Yn=Hi+=mn*Di;Ei[Oi+"-"+xn]={index:Oi,subindex:xn,startAngle:In,endAngle:Yn,value:mn}}Je[Oi]={index:Oi,startAngle:ta,endAngle:Hi,value:xi[Oi]},Hi+=At}for(ya=-1;++ya<_t;)for(da=ya-1;++da<_t;){var mo=Ei[ya+"-"+da],bo=Ei[da+"-"+ya];(mo.value||bo.value)&&Fe.push(mo.value<bo.value?{source:bo,target:mo}:{source:mo,target:bo})}xr&&Yr()}function Yr(){Fe.sort(function(Ei,xi){return xr((Ei.source.value+Ei.target.value)/2,(xi.source.value+xi.target.value)/2)})}return de.matrix=function(Ei){return arguments.length?(_t=(vt=Ei)&&vt.length,Fe=Je=null,de):vt},de.padding=function(Ei){return arguments.length?(At=Ei,Fe=Je=null,de):At},de.sortGroups=function(Ei){return arguments.length?(ar=Ei,Fe=Je=null,de):ar},de.sortSubgroups=function(Ei){return arguments.length?(Ft=Ei,Fe=null,de):Ft},de.sortChords=function(Ei){return arguments.length?(xr=Ei,Fe&&Yr(),de):xr},de.chords=function(){return Fe||Gr(),Fe},de.groups=function(){return Je||Gr(),Je},de},p.layout.force=function(){var de={},Fe=p.dispatch("start","tick","end"),Je,vt=[1,1],_t,At,ar=.9,Ft=Nl,xr=Of,Gr=-30,Yr=Yf,Ei=.1,xi=.64,na=[],ua=[],Di,Hi,ta;function ya(Oi){return function(xn,mn,In,Yn){if(xn.point!==Oi){var mo=xn.cx-Oi.x,bo=xn.cy-Oi.y,vs=Yn-mn,To=mo*mo+bo*bo;if(vs*vs/xi<To){if(To<Yr){var cs=xn.charge/To;Oi.px-=mo*cs,Oi.py-=bo*cs}return!0}if(xn.point&&To&&To<Yr){var cs=xn.pointCharge/To;Oi.px-=mo*cs,Oi.py-=bo*cs}}return!xn.charge}}de.tick=function(){if((At*=.99)<.005)return Je=null,Fe.end({type:"end",alpha:At=0}),!0;var Oi=na.length,xn=ua.length,mn,In,Yn,mo,bo,vs,To,cs,Al;for(In=0;In<xn;++In)Yn=ua[In],mo=Yn.source,bo=Yn.target,cs=bo.x-mo.x,Al=bo.y-mo.y,(vs=cs*cs+Al*Al)&&(vs=At*Hi[In]*((vs=Math.sqrt(vs))-Di[In])/vs,cs*=vs,Al*=vs,bo.x-=cs*(To=mo.weight+bo.weight?mo.weight/(mo.weight+bo.weight):.5),bo.y-=Al*To,mo.x+=cs*(To=1-To),mo.y+=Al*To);if((To=At*Ei)&&(cs=vt[0]/2,Al=vt[1]/2,In=-1,To))for(;++In<Oi;)Yn=na[In],Yn.x+=(cs-Yn.x)*To,Yn.y+=(Al-Yn.y)*To;if(Gr)for(Iu(mn=p.geom.quadtree(na),At,ta),In=-1;++In<Oi;)(Yn=na[In]).fixed||mn.visit(ya(Yn));for(In=-1;++In<Oi;)Yn=na[In],Yn.fixed?(Yn.x=Yn.px,Yn.y=Yn.py):(Yn.x-=(Yn.px-(Yn.px=Yn.x))*ar,Yn.y-=(Yn.py-(Yn.py=Yn.y))*ar);Fe.tick({type:"tick",alpha:At})},de.nodes=function(Oi){return arguments.length?(na=Oi,de):na},de.links=function(Oi){return arguments.length?(ua=Oi,de):ua},de.size=function(Oi){return arguments.length?(vt=Oi,de):vt},de.linkDistance=function(Oi){return arguments.length?(Ft=typeof Oi=="function"?Oi:+Oi,de):Ft},de.distance=de.linkDistance,de.linkStrength=function(Oi){return arguments.length?(xr=typeof Oi=="function"?Oi:+Oi,de):xr},de.friction=function(Oi){return arguments.length?(ar=+Oi,de):ar},de.charge=function(Oi){return arguments.length?(Gr=typeof Oi=="function"?Oi:+Oi,de):Gr},de.chargeDistance=function(Oi){return arguments.length?(Yr=Oi*Oi,de):Math.sqrt(Yr)},de.gravity=function(Oi){return arguments.length?(Ei=+Oi,de):Ei},de.theta=function(Oi){return arguments.length?(xi=Oi*Oi,de):Math.sqrt(xi)},de.alpha=function(Oi){return arguments.length?(Oi=+Oi,At?Oi>0?At=Oi:(Je.c=null,Je.t=NaN,Je=null,Fe.end({type:"end",alpha:At=0})):Oi>0&&(Fe.start({type:"start",alpha:At=Oi}),Je=Kn(de.tick)),de):At},de.start=function(){var Oi,xn=na.length,mn=ua.length,In=vt[0],Yn=vt[1],mo,bo;for(Oi=0;Oi<xn;++Oi)(bo=na[Oi]).index=Oi,bo.weight=0;for(Oi=0;Oi<mn;++Oi)bo=ua[Oi],typeof bo.source=="number"&&(bo.source=na[bo.source]),typeof bo.target=="number"&&(bo.target=na[bo.target]),++bo.source.weight,++bo.target.weight;for(Oi=0;Oi<xn;++Oi)bo=na[Oi],isNaN(bo.x)&&(bo.x=vs("x",In)),isNaN(bo.y)&&(bo.y=vs("y",Yn)),isNaN(bo.px)&&(bo.px=bo.x),isNaN(bo.py)&&(bo.py=bo.y);if(Di=[],typeof Ft=="function")for(Oi=0;Oi<mn;++Oi)Di[Oi]=+Ft.call(this,ua[Oi],Oi);else for(Oi=0;Oi<mn;++Oi)Di[Oi]=Ft;if(Hi=[],typeof xr=="function")for(Oi=0;Oi<mn;++Oi)Hi[Oi]=+xr.call(this,ua[Oi],Oi);else for(Oi=0;Oi<mn;++Oi)Hi[Oi]=xr;if(ta=[],typeof Gr=="function")for(Oi=0;Oi<xn;++Oi)ta[Oi]=+Gr.call(this,na[Oi],Oi);else for(Oi=0;Oi<xn;++Oi)ta[Oi]=Gr;function vs(To,cs){if(!mo){for(mo=new Array(xn),Pl=0;Pl<xn;++Pl)mo[Pl]=[];for(Pl=0;Pl<mn;++Pl){var Al=ua[Pl];mo[Al.source.index].push(Al.target),mo[Al.target.index].push(Al.source)}}for(var ml=mo[Oi],Pl=-1,Dn=ml.length,zo;++Pl<Dn;)if(!isNaN(zo=ml[Pl][To]))return zo;return Math.random()*cs}return de.resume()},de.resume=function(){return de.alpha(.1)},de.stop=function(){return de.alpha(0)},de.drag=function(){if(_t||(_t=p.behavior.drag().origin(F).on("dragstart.force",Ic).on("drag.force",da).on("dragend.force",xl)),!arguments.length)return _t;this.on("mouseover.force",_c).on("mouseout.force",Eu).call(_t)};function da(Oi){Oi.px=p.event.x,Oi.py=p.event.y,de.resume()}return p.rebind(de,Fe,"on")};function Ic(de){de.fixed|=2}function xl(de){de.fixed&=-7}function _c(de){de.fixed|=4,de.px=de.x,de.py=de.y}function Eu(de){de.fixed&=-5}function Iu(de,Fe,Je){var vt=0,_t=0;if(de.charge=0,!de.leaf)for(var At=de.nodes,ar=At.length,Ft=-1,xr;++Ft<ar;)xr=At[Ft],xr!=null&&(Iu(xr,Fe,Je),de.charge+=xr.charge,vt+=xr.charge*xr.cx,_t+=xr.charge*xr.cy);if(de.point){de.leaf||(de.point.x+=Math.random()-.5,de.point.y+=Math.random()-.5);var Gr=Fe*Je[de.point.index];de.charge+=de.pointCharge=Gr,vt+=Gr*de.point.x,_t+=Gr*de.point.y}de.cx=vt/de.charge,de.cy=_t/de.charge}var Nl=20,Of=1,Yf=1/0;p.layout.hierarchy=function(){var de=yf,Fe=_h,Je=ff;function vt(_t){var At=[_t],ar=[],Ft;for(_t.depth=0;(Ft=At.pop())!=null;)if(ar.push(Ft),(Gr=Fe.call(vt,Ft,Ft.depth))&&(xr=Gr.length)){for(var xr,Gr,Yr;--xr>=0;)At.push(Yr=Gr[xr]),Yr.parent=Ft,Yr.depth=Ft.depth+1;Je&&(Ft.value=0),Ft.children=Gr}else Je&&(Ft.value=+Je.call(vt,Ft,Ft.depth)||0),delete Ft.children;return xc(_t,function(Ei){var xi,na;de&&(xi=Ei.children)&&xi.sort(de),Je&&(na=Ei.parent)&&(na.value+=Ei.value)}),ar}return vt.sort=function(_t){return arguments.length?(de=_t,vt):de},vt.children=function(_t){return arguments.length?(Fe=_t,vt):Fe},vt.value=function(_t){return arguments.length?(Je=_t,vt):Je},vt.revalue=function(_t){return Je&&(Pc(_t,function(At){At.children&&(At.value=0)}),xc(_t,function(At){var ar;At.children||(At.value=+Je.call(vt,At,At.depth)||0),(ar=At.parent)&&(ar.value+=At.value)})),_t},vt};function Wu(de,Fe){return p.rebind(de,Fe,"sort","children","value"),de.nodes=de,de.links=Xu,de}function Pc(de,Fe){for(var Je=[de];(de=Je.pop())!=null;)if(Fe(de),(_t=de.children)&&(vt=_t.length))for(var vt,_t;--vt>=0;)Je.push(_t[vt])}function xc(de,Fe){for(var Je=[de],vt=[];(de=Je.pop())!=null;)if(vt.push(de),(ar=de.children)&&(At=ar.length))for(var _t=-1,At,ar;++_t<At;)Je.push(ar[_t]);for(;(de=vt.pop())!=null;)Fe(de)}function _h(de){return de.children}function ff(de){return de.value}function yf(de,Fe){return Fe.value-de.value}function Xu(de){return p.merge(de.map(function(Fe){return(Fe.children||[]).map(function(Je){return{source:Fe,target:Je}})}))}p.layout.partition=function(){var de=p.layout.hierarchy(),Fe=[1,1];function Je(At,ar,Ft,xr){var Gr=At.children;if(At.x=ar,At.y=At.depth*xr,At.dx=Ft,At.dy=xr,Gr&&(Ei=Gr.length)){var Yr=-1,Ei,xi,na;for(Ft=At.value?Ft/At.value:0;++Yr<Ei;)Je(xi=Gr[Yr],ar,na=xi.value*Ft,xr),ar+=na}}function vt(At){var ar=At.children,Ft=0;if(ar&&(Gr=ar.length))for(var xr=-1,Gr;++xr<Gr;)Ft=Math.max(Ft,vt(ar[xr]));return 1+Ft}function _t(At,ar){var Ft=de.call(this,At,ar);return Je(Ft[0],0,Fe[0],Fe[1]/vt(Ft[0])),Ft}return _t.size=function(At){return arguments.length?(Fe=At,_t):Fe},Wu(_t,de)},p.layout.pie=function(){var de=Number,Fe=hf,Je=0,vt=qe,_t=0;function At(ar){var Ft=ar.length,xr=ar.map(function(ya,da){return+de.call(At,ya,da)}),Gr=+(typeof Je=="function"?Je.apply(this,arguments):Je),Yr=(typeof vt=="function"?vt.apply(this,arguments):vt)-Gr,Ei=Math.min(Math.abs(Yr)/Ft,+(typeof _t=="function"?_t.apply(this,arguments):_t)),xi=Ei*(Yr<0?-1:1),na=p.sum(xr),ua=na?(Yr-Ft*xi)/na:0,Di=p.range(Ft),Hi=[],ta;return Fe!=null&&Di.sort(Fe===hf?function(ya,da){return xr[da]-xr[ya]}:function(ya,da){return Fe(ar[ya],ar[da])}),Di.forEach(function(ya){Hi[ya]={data:ar[ya],value:ta=xr[ya],startAngle:Gr,endAngle:Gr+=ta*ua+xi,padAngle:Ei}}),Hi}return At.value=function(ar){return arguments.length?(de=ar,At):de},At.sort=function(ar){return arguments.length?(Fe=ar,At):Fe},At.startAngle=function(ar){return arguments.length?(Je=ar,At):Je},At.endAngle=function(ar){return arguments.length?(vt=ar,At):vt},At.padAngle=function(ar){return arguments.length?(_t=ar,At):_t},At};var hf={};p.layout.stack=function(){var de=F,Fe=ku,Je=Ou,vt=nh,_t=hu,At=Qc;function ar(Ft,xr){if(!(ua=Ft.length))return Ft;var Gr=Ft.map(function(ya,da){return de.call(ar,ya,da)}),Yr=Gr.map(function(ya){return ya.map(function(da,Oi){return[_t.call(ar,da,Oi),At.call(ar,da,Oi)]})}),Ei=Fe.call(ar,Yr,xr);Gr=p.permute(Gr,Ei),Yr=p.permute(Yr,Ei);var xi=Je.call(ar,Yr,xr),na=Gr[0].length,ua,Di,Hi,ta;for(Hi=0;Hi<na;++Hi)for(vt.call(ar,Gr[0][Hi],ta=xi[Hi],Yr[0][Hi][1]),Di=1;Di<ua;++Di)vt.call(ar,Gr[Di][Hi],ta+=Yr[Di-1][Hi][1],Yr[Di][Hi][1]);return Ft}return ar.values=function(Ft){return arguments.length?(de=Ft,ar):de},ar.order=function(Ft){return arguments.length?(Fe=typeof Ft=="function"?Ft:_f.get(Ft)||ku,ar):Fe},ar.offset=function(Ft){return arguments.length?(Je=typeof Ft=="function"?Ft:bl.get(Ft)||Ou,ar):Je},ar.x=function(Ft){return arguments.length?(_t=Ft,ar):_t},ar.y=function(Ft){return arguments.length?(At=Ft,ar):At},ar.out=function(Ft){return arguments.length?(vt=Ft,ar):vt},ar};function hu(de){return de.x}function Qc(de){return de.y}function nh(de,Fe,Je){de.y0=Fe,de.y=Je}var _f=p.map({"inside-out":function(de){var Fe=de.length,Je,vt,_t=de.map(Cf),At=de.map(Ml),ar=p.range(Fe).sort(function(Ei,xi){return _t[Ei]-_t[xi]}),Ft=0,xr=0,Gr=[],Yr=[];for(Je=0;Je<Fe;++Je)vt=ar[Je],Ft<xr?(Ft+=At[vt],Gr.push(vt)):(xr+=At[vt],Yr.push(vt));return Yr.reverse().concat(Gr)},reverse:function(de){return p.range(de.length).reverse()},default:ku}),bl=p.map({silhouette:function(de){var Fe=de.length,Je=de[0].length,vt=[],_t=0,At,ar,Ft,xr=[];for(ar=0;ar<Je;++ar){for(At=0,Ft=0;At<Fe;At++)Ft+=de[At][ar][1];Ft>_t&&(_t=Ft),vt.push(Ft)}for(ar=0;ar<Je;++ar)xr[ar]=(_t-vt[ar])/2;return xr},wiggle:function(de){var Fe=de.length,Je=de[0],vt=Je.length,_t,At,ar,Ft,xr,Gr,Yr,Ei,xi,na=[];for(na[0]=Ei=xi=0,At=1;At<vt;++At){for(_t=0,Ft=0;_t<Fe;++_t)Ft+=de[_t][At][1];for(_t=0,xr=0,Yr=Je[At][0]-Je[At-1][0];_t<Fe;++_t){for(ar=0,Gr=(de[_t][At][1]-de[_t][At-1][1])/(2*Yr);ar<_t;++ar)Gr+=(de[ar][At][1]-de[ar][At-1][1])/Yr;xr+=Gr*de[_t][At][1]}na[At]=Ei-=Ft?xr/Ft*Yr:0,Ei<xi&&(xi=Ei)}for(At=0;At<vt;++At)na[At]-=xi;return na},expand:function(de){var Fe=de.length,Je=de[0].length,vt=1/Fe,_t,At,ar,Ft=[];for(At=0;At<Je;++At){for(_t=0,ar=0;_t<Fe;_t++)ar+=de[_t][At][1];if(ar)for(_t=0;_t<Fe;_t++)de[_t][At][1]/=ar;else for(_t=0;_t<Fe;_t++)de[_t][At][1]=vt}for(At=0;At<Je;++At)Ft[At]=0;return Ft},zero:Ou});function ku(de){return p.range(de.length)}function Ou(de){for(var Fe=-1,Je=de[0].length,vt=[];++Fe<Je;)vt[Fe]=0;return vt}function Cf(de){for(var Fe=1,Je=0,vt=de[0][1],_t,At=de.length;Fe<At;++Fe)(_t=de[Fe][1])>vt&&(Je=Fe,vt=_t);return Je}function Ml(de){return de.reduce(df,0)}function df(de,Fe){return de+Fe[1]}p.layout.histogram=function(){var de=!0,Fe=Number,Je=xf,vt=Rc;function _t(At,xi){for(var Ft=[],xr=At.map(Fe,this),Gr=Je.call(this,xr,xi),Yr=vt.call(this,Gr,xr,xi),Ei,xi=-1,na=xr.length,ua=Yr.length-1,Di=de?1:1/na,Hi;++xi<ua;)Ei=Ft[xi]=[],Ei.dx=Yr[xi+1]-(Ei.x=Yr[xi]),Ei.y=0;if(ua>0)for(xi=-1;++xi<na;)Hi=xr[xi],Hi>=Gr[0]&&Hi<=Gr[1]&&(Ei=Ft[p.bisect(Yr,Hi,1,ua)-1],Ei.y+=Di,Ei.push(At[xi]));return Ft}return _t.value=function(At){return arguments.length?(Fe=At,_t):Fe},_t.range=function(At){return arguments.length?(Je=Or(At),_t):Je},_t.bins=function(At){return arguments.length?(vt=typeof At=="number"?function(ar){return Ju(ar,At)}:Or(At),_t):vt},_t.frequency=function(At){return arguments.length?(de=!!At,_t):de},_t};function Rc(de,Fe){return Ju(de,Math.ceil(Math.log(Fe.length)/Math.LN2+1))}function Ju(de,Fe){for(var Je=-1,vt=+de[0],_t=(de[1]-vt)/Fe,At=[];++Je<=Fe;)At[Je]=_t*Je+vt;return At}function xf(de){return[p.min(de),p.max(de)]}p.layout.pack=function(){var de=p.layout.hierarchy().sort(Qu),Fe=0,Je=[1,1],vt;function _t(At,ar){var Ft=de.call(this,At,ar),xr=Ft[0],Gr=Je[0],Yr=Je[1],Ei=vt==null?Math.sqrt:typeof vt=="function"?vt:function(){return vt};if(xr.x=xr.y=0,xc(xr,function(na){na.r=+Ei(na.value)}),xc(xr,Nf),Fe){var xi=Fe*(vt?1:Math.max(2*xr.r/Gr,2*xr.r/Yr))/2;xc(xr,function(na){na.r+=xi}),xc(xr,Nf),xc(xr,function(na){na.r-=xi})}return bc(xr,Gr/2,Yr/2,vt?1:1/Math.max(2*xr.r/Gr,2*xr.r/Yr)),Ft}return _t.size=function(At){return arguments.length?(Je=At,_t):Je},_t.radius=function(At){return arguments.length?(vt=At==null||typeof At=="function"?At:+At,_t):vt},_t.padding=function(At){return arguments.length?(Fe=+At,_t):Fe},Wu(_t,de)};function Qu(de,Fe){return de.value-Fe.value}function ef(de,Fe){var Je=de._pack_next;de._pack_next=Fe,Fe._pack_prev=de,Fe._pack_next=Je,Je._pack_prev=Fe}function Lf(de,Fe){de._pack_next=Fe,Fe._pack_prev=de}function du(de,Fe){var Je=Fe.x-de.x,vt=Fe.y-de.y,_t=de.r+Fe.r;return .999*_t*_t>Je*Je+vt*vt}function Nf(de){if(!(Fe=de.children)||!(xi=Fe.length))return;var Fe,Je=1/0,vt=-1/0,_t=1/0,At=-1/0,ar,Ft,xr,Gr,Yr,Ei,xi;function na(Oi){Je=Math.min(Oi.x-Oi.r,Je),vt=Math.max(Oi.x+Oi.r,vt),_t=Math.min(Oi.y-Oi.r,_t),At=Math.max(Oi.y+Oi.r,At)}if(Fe.forEach(ec),ar=Fe[0],ar.x=-ar.r,ar.y=0,na(ar),xi>1&&(Ft=Fe[1],Ft.x=Ft.r,Ft.y=0,na(Ft),xi>2))for(xr=Fe[2],Jl(ar,Ft,xr),na(xr),ef(ar,xr),ar._pack_prev=xr,ef(xr,Ft),Ft=ar._pack_next,Gr=3;Gr<xi;Gr++){Jl(ar,Ft,xr=Fe[Gr]);var ua=0,Di=1,Hi=1;for(Yr=Ft._pack_next;Yr!==Ft;Yr=Yr._pack_next,Di++)if(du(Yr,xr)){ua=1;break}if(ua==1)for(Ei=ar._pack_prev;Ei!==Yr._pack_prev&&!du(Ei,xr);Ei=Ei._pack_prev,Hi++);ua?(Di<Hi||Di==Hi&&Ft.r<ar.r?Lf(ar,Ft=Yr):Lf(ar=Ei,Ft),Gr--):(ef(ar,xr),Ft=xr,na(xr))}var ta=(Je+vt)/2,ya=(_t+At)/2,da=0;for(Gr=0;Gr<xi;Gr++)xr=Fe[Gr],xr.x-=ta,xr.y-=ya,da=Math.max(da,xr.r+Math.sqrt(xr.x*xr.x+xr.y*xr.y));de.r=da,Fe.forEach(Dc)}function ec(de){de._pack_next=de._pack_prev=de}function Dc(de){delete de._pack_next,delete de._pack_prev}function bc(de,Fe,Je,vt){var _t=de.children;if(de.x=Fe+=vt*de.x,de.y=Je+=vt*de.y,de.r*=vt,_t)for(var At=-1,ar=_t.length;++At<ar;)bc(_t[At],Fe,Je,vt)}function Jl(de,Fe,Je){var vt=de.r+Je.r,_t=Fe.x-de.x,At=Fe.y-de.y;if(vt&&(_t||At)){var ar=Fe.r+Je.r,Ft=_t*_t+At*At;ar*=ar,vt*=vt;var xr=.5+(vt-ar)/(2*Ft),Gr=Math.sqrt(Math.max(0,2*ar*(vt+Ft)-(vt-=Ft)*vt-ar*ar))/(2*Ft);Je.x=de.x+xr*_t+Gr*At,Je.y=de.y+xr*At-Gr*_t}else Je.x=de.x+vt,Je.y=de.y}p.layout.tree=function(){var de=p.layout.hierarchy().sort(null).value(null),Fe=Cu,Je=[1,1],vt=null;function _t(Yr,Ei){var xi=de.call(this,Yr,Ei),na=xi[0],ua=At(na);if(xc(ua,ar),ua.parent.m=-ua.z,Pc(ua,Ft),vt)Pc(na,Gr);else{var Di=na,Hi=na,ta=na;Pc(na,function(xn){xn.x<Di.x&&(Di=xn),xn.x>Hi.x&&(Hi=xn),xn.depth>ta.depth&&(ta=xn)});var ya=Fe(Di,Hi)/2-Di.x,da=Je[0]/(Hi.x+Fe(Hi,Di)/2+ya),Oi=Je[1]/(ta.depth||1);Pc(na,function(xn){xn.x=(xn.x+ya)*da,xn.y=xn.depth*Oi})}return xi}function At(Yr){for(var Ei={A:null,children:[Yr]},xi=[Ei],na;(na=xi.pop())!=null;)for(var ua=na.children,Di,Hi=0,ta=ua.length;Hi<ta;++Hi)xi.push((ua[Hi]=Di={_:ua[Hi],parent:na,children:(Di=ua[Hi].children)&&Di.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:Hi}).a=Di);return Ei.children[0]}function ar(Yr){var Ei=Yr.children,xi=Yr.parent.children,na=Yr.i?xi[Yr.i-1]:null;if(Ei.length){Fc(Yr);var ua=(Ei[0].z+Ei[Ei.length-1].z)/2;na?(Yr.z=na.z+Fe(Yr._,na._),Yr.m=Yr.z-ua):Yr.z=ua}else na&&(Yr.z=na.z+Fe(Yr._,na._));Yr.parent.A=xr(Yr,na,Yr.parent.A||xi[0])}function Ft(Yr){Yr._.x=Yr.z+Yr.parent.m,Yr.m+=Yr.parent.m}function xr(Yr,Ei,xi){if(Ei){for(var na=Yr,ua=Yr,Di=Ei,Hi=na.parent.children[0],ta=na.m,ya=ua.m,da=Di.m,Oi=Hi.m,xn;Di=tf(Di),na=zc(na),Di&&na;)Hi=zc(Hi),ua=tf(ua),ua.a=Yr,xn=Di.z+da-na.z-ta+Fe(Di._,na._),xn>0&&(fc(er(Di,Yr,xi),Yr,xn),ta+=xn,ya+=xn),da+=Di.m,ta+=na.m,Oi+=Hi.m,ya+=ua.m;Di&&!tf(ua)&&(ua.t=Di,ua.m+=da-ya),na&&!zc(Hi)&&(Hi.t=na,Hi.m+=ta-Oi,xi=Yr)}return xi}function Gr(Yr){Yr.x*=Je[0],Yr.y=Yr.depth*Je[1]}return _t.separation=function(Yr){return arguments.length?(Fe=Yr,_t):Fe},_t.size=function(Yr){return arguments.length?(vt=(Je=Yr)==null?Gr:null,_t):vt?null:Je},_t.nodeSize=function(Yr){return arguments.length?(vt=(Je=Yr)==null?null:Gr,_t):vt?Je:null},Wu(_t,de)};function Cu(de,Fe){return de.parent==Fe.parent?1:2}function zc(de){var Fe=de.children;return Fe.length?Fe[0]:de.t}function tf(de){var Fe=de.children,Je;return(Je=Fe.length)?Fe[Je-1]:de.t}function fc(de,Fe,Je){var vt=Je/(Fe.i-de.i);Fe.c-=vt,Fe.s+=Je,de.c+=vt,Fe.z+=Je,Fe.m+=Je}function Fc(de){for(var Fe=0,Je=0,vt=de.children,_t=vt.length,At;--_t>=0;)At=vt[_t],At.z+=Fe,At.m+=Fe,Fe+=At.s+(Je+=At.c)}function er(de,Fe,Je){return de.a.parent===Fe.parent?de.a:Je}p.layout.cluster=function(){var de=p.layout.hierarchy().sort(null).value(null),Fe=Cu,Je=[1,1],vt=!1;function _t(At,ar){var Ft=de.call(this,At,ar),xr=Ft[0],Gr,Yr=0;xc(xr,function(Di){var Hi=Di.children;Hi&&Hi.length?(Di.x=ai(Hi),Di.y=wr(Hi)):(Di.x=Gr?Yr+=Fe(Di,Gr):0,Di.y=0,Gr=Di)});var Ei=Jr(xr),xi=Fi(xr),na=Ei.x-Fe(Ei,xi)/2,ua=xi.x+Fe(xi,Ei)/2;return xc(xr,vt?function(Di){Di.x=(Di.x-xr.x)*Je[0],Di.y=(xr.y-Di.y)*Je[1]}:function(Di){Di.x=(Di.x-na)/(ua-na)*Je[0],Di.y=(1-(xr.y?Di.y/xr.y:1))*Je[1]}),Ft}return _t.separation=function(At){return arguments.length?(Fe=At,_t):Fe},_t.size=function(At){return arguments.length?(vt=(Je=At)==null,_t):vt?null:Je},_t.nodeSize=function(At){return arguments.length?(vt=(Je=At)!=null,_t):vt?Je:null},Wu(_t,de)};function wr(de){return 1+p.max(de,function(Fe){return Fe.y})}function ai(de){return de.reduce(function(Fe,Je){return Fe+Je.x},0)/de.length}function Jr(de){var Fe=de.children;return Fe&&Fe.length?Jr(Fe[0]):de}function Fi(de){var Fe=de.children,Je;return Fe&&(Je=Fe.length)?Fi(Fe[Je-1]):de}p.layout.treemap=function(){var de=p.layout.hierarchy(),Fe=Math.round,Je=[1,1],vt=null,_t=pa,At=!1,ar,Ft="squarify",xr=.5*(1+Math.sqrt(5));function Gr(Di,Hi){for(var ta=-1,ya=Di.length,da,Oi;++ta<ya;)Oi=(da=Di[ta]).value*(Hi<0?0:Hi),da.area=isNaN(Oi)||Oi<=0?0:Oi}function Yr(Di){var Hi=Di.children;if(Hi&&Hi.length){var ta=_t(Di),ya=[],da=Hi.slice(),Oi,xn=1/0,mn,In=Ft==="slice"?ta.dx:Ft==="dice"?ta.dy:Ft==="slice-dice"?Di.depth&1?ta.dy:ta.dx:Math.min(ta.dx,ta.dy),Yn;for(Gr(da,ta.dx*ta.dy/Di.value),ya.area=0;(Yn=da.length)>0;)ya.push(Oi=da[Yn-1]),ya.area+=Oi.area,Ft!=="squarify"||(mn=xi(ya,In))<=xn?(da.pop(),xn=mn):(ya.area-=ya.pop().area,na(ya,In,ta,!1),In=Math.min(ta.dx,ta.dy),ya.length=ya.area=0,xn=1/0);ya.length&&(na(ya,In,ta,!0),ya.length=ya.area=0),Hi.forEach(Yr)}}function Ei(Di){var Hi=Di.children;if(Hi&&Hi.length){var ta=_t(Di),ya=Hi.slice(),da,Oi=[];for(Gr(ya,ta.dx*ta.dy/Di.value),Oi.area=0;da=ya.pop();)Oi.push(da),Oi.area+=da.area,da.z!=null&&(na(Oi,da.z?ta.dx:ta.dy,ta,!ya.length),Oi.length=Oi.area=0);Hi.forEach(Ei)}}function xi(Di,Hi){for(var ta=Di.area,ya,da=0,Oi=1/0,xn=-1,mn=Di.length;++xn<mn;)(ya=Di[xn].area)&&(ya<Oi&&(Oi=ya),ya>da&&(da=ya));return ta*=ta,Hi*=Hi,ta?Math.max(Hi*da*xr/ta,ta/(Hi*Oi*xr)):1/0}function na(Di,Hi,ta,ya){var da=-1,Oi=Di.length,xn=ta.x,mn=ta.y,In=Hi?Fe(Di.area/Hi):0,Yn;if(Hi==ta.dx){for((ya||In>ta.dy)&&(In=ta.dy);++da<Oi;)Yn=Di[da],Yn.x=xn,Yn.y=mn,Yn.dy=In,xn+=Yn.dx=Math.min(ta.x+ta.dx-xn,In?Fe(Yn.area/In):0);Yn.z=!0,Yn.dx+=ta.x+ta.dx-xn,ta.y+=In,ta.dy-=In}else{for((ya||In>ta.dx)&&(In=ta.dx);++da<Oi;)Yn=Di[da],Yn.x=xn,Yn.y=mn,Yn.dx=In,mn+=Yn.dy=Math.min(ta.y+ta.dy-mn,In?Fe(Yn.area/In):0);Yn.z=!1,Yn.dy+=ta.y+ta.dy-mn,ta.x+=In,ta.dx-=In}}function ua(Di){var Hi=ar||de(Di),ta=Hi[0];return ta.x=ta.y=0,ta.value?(ta.dx=Je[0],ta.dy=Je[1]):ta.dx=ta.dy=0,ar&&de.revalue(ta),Gr([ta],ta.dx*ta.dy/ta.value),(ar?Ei:Yr)(ta),At&&(ar=Hi),Hi}return ua.size=function(Di){return arguments.length?(Je=Di,ua):Je},ua.padding=function(Di){if(!arguments.length)return vt;function Hi(da){var Oi=Di.call(ua,da,da.depth);return Oi==null?pa(da):Ba(da,typeof Oi=="number"?[Oi,Oi,Oi,Oi]:Oi)}function ta(da){return Ba(da,Di)}var ya;return _t=(vt=Di)==null?pa:(ya=typeof Di)=="function"?Hi:(ya==="number"&&(Di=[Di,Di,Di,Di]),ta),ua},ua.round=function(Di){return arguments.length?(Fe=Di?Math.round:Number,ua):Fe!=Number},ua.sticky=function(Di){return arguments.length?(At=Di,ar=null,ua):At},ua.ratio=function(Di){return arguments.length?(xr=Di,ua):xr},ua.mode=function(Di){return arguments.length?(Ft=Di+"",ua):Ft},Wu(ua,de)};function pa(de){return{x:de.x,y:de.y,dx:de.dx,dy:de.dy}}function Ba(de,Fe){var Je=de.x+Fe[3],vt=de.y+Fe[0],_t=de.dx-Fe[1]-Fe[3],At=de.dy-Fe[0]-Fe[2];return _t<0&&(Je+=_t/2,_t=0),At<0&&(vt+=At/2,At=0),{x:Je,y:vt,dx:_t,dy:At}}p.random={normal:function(de,Fe){var Je=arguments.length;return Je<2&&(Fe=1),Je<1&&(de=0),function(){var vt,_t,At;do vt=Math.random()*2-1,_t=Math.random()*2-1,At=vt*vt+_t*_t;while(!At||At>1);return de+Fe*vt*Math.sqrt(-2*Math.log(At)/At)}},logNormal:function(){var de=p.random.normal.apply(p,arguments);return function(){return Math.exp(de())}},bates:function(de){var Fe=p.random.irwinHall(de);return function(){return Fe()/de}},irwinHall:function(de){return function(){for(var Fe=0,Je=0;Je<de;Je++)Fe+=Math.random();return Fe}}},p.scale={};function an(de){var Fe=de[0],Je=de[de.length-1];return Fe<Je?[Fe,Je]:[Je,Fe]}function hn(de){return de.rangeExtent?de.rangeExtent():an(de.range())}function Ln(de,Fe,Je,vt){var _t=Je(de[0],de[1]),At=vt(Fe[0],Fe[1]);return function(ar){return At(_t(ar))}}function Na(de,Fe){var Je=0,vt=de.length-1,_t=de[Je],At=de[vt],ar;return At<_t&&(ar=Je,Je=vt,vt=ar,ar=_t,_t=At,At=ar),de[Je]=Fe.floor(_t),de[vt]=Fe.ceil(At),de}function qa(de){return de?{floor:function(Fe){return Math.floor(Fe/de)*de},ceil:function(Fe){return Math.ceil(Fe/de)*de}}:Za}var Za={floor:F,ceil:F};function Ta(de,Fe,Je,vt){var _t=[],At=[],ar=0,Ft=Math.min(de.length,Fe.length)-1;for(de[Ft]<de[0]&&(de=de.slice().reverse(),Fe=Fe.slice().reverse());++ar<=Ft;)_t.push(Je(de[ar-1],de[ar])),At.push(vt(Fe[ar-1],Fe[ar]));return function(xr){var Gr=p.bisect(de,xr,1,Ft)-1;return At[Gr](_t[Gr](xr))}}p.scale.linear=function(){return Hn([0,1],[0,1],Kl,!1)};function Hn(de,Fe,Je,vt){var _t,At;function ar(){var xr=Math.min(de.length,Fe.length)>2?Ta:Ln,Gr=vt?Fu:Xf;return _t=xr(de,Fe,Gr,Je),At=xr(Fe,de,Gr,Kl),Ft}function Ft(xr){return _t(xr)}return Ft.invert=function(xr){return At(xr)},Ft.domain=function(xr){return arguments.length?(de=xr.map(Number),ar()):de},Ft.range=function(xr){return arguments.length?(Fe=xr,ar()):Fe},Ft.rangeRound=function(xr){return Ft.range(xr).interpolate($u)},Ft.clamp=function(xr){return arguments.length?(vt=xr,ar()):vt},Ft.interpolate=function(xr){return arguments.length?(Je=xr,ar()):Je},Ft.ticks=function(xr){return Io(de,xr)},Ft.tickFormat=function(xr,Gr){return d3_scale_linearTickFormat(de,xr,Gr)},Ft.nice=function(xr){return wo(de,xr),ar()},Ft.copy=function(){return Hn(de,Fe,Je,vt)},ar()}function go(de,Fe){return p.rebind(de,Fe,"range","rangeRound","interpolate","clamp")}function wo(de,Fe){return Na(de,qa(yo(de,Fe)[2])),Na(de,qa(yo(de,Fe)[2])),de}function yo(de,Fe){Fe==null&&(Fe=10);var Je=an(de),vt=Je[1]-Je[0],_t=Math.pow(10,Math.floor(Math.log(vt/Fe)/Math.LN10)),At=Fe/vt*_t;return At<=.15?_t*=10:At<=.35?_t*=5:At<=.75&&(_t*=2),Je[0]=Math.ceil(Je[0]/_t)*_t,Je[1]=Math.floor(Je[1]/_t)*_t+_t*.5,Je[2]=_t,Je}function Io(de,Fe){return p.range.apply(p,yo(de,Fe))}var Vn={s:1,g:1,p:1,r:1,e:1};function wn(de){return-Math.floor(Math.log(de)/Math.LN10+.01)}function Oo(de,Fe){var Je=wn(Fe[2]);return de in Vn?Math.abs(Je-wn(Math.max(l(Fe[0]),l(Fe[1]))))+ +(de!=="e"):Je-(de==="%")*2}p.scale.log=function(){return ps(p.scale.linear().domain([0,1]),10,!0,[1,10])};function ps(de,Fe,Je,vt){function _t(Ft){return(Je?Math.log(Ft<0?0:Ft):-Math.log(Ft>0?0:-Ft))/Math.log(Fe)}function At(Ft){return Je?Math.pow(Fe,Ft):-Math.pow(Fe,-Ft)}function ar(Ft){return de(_t(Ft))}return ar.invert=function(Ft){return At(de.invert(Ft))},ar.domain=function(Ft){return arguments.length?(Je=Ft[0]>=0,de.domain((vt=Ft.map(Number)).map(_t)),ar):vt},ar.base=function(Ft){return arguments.length?(Fe=+Ft,de.domain(vt.map(_t)),ar):Fe},ar.nice=function(){var Ft=Na(vt.map(_t),Je?Math:js);return de.domain(Ft),vt=Ft.map(At),ar},ar.ticks=function(){var Ft=an(vt),xr=[],Gr=Ft[0],Yr=Ft[1],Ei=Math.floor(_t(Gr)),xi=Math.ceil(_t(Yr)),na=Fe%1?2:Fe;if(isFinite(xi-Ei)){if(Je){for(;Ei<xi;Ei++)for(var ua=1;ua<na;ua++)xr.push(At(Ei)*ua);xr.push(At(Ei))}else for(xr.push(At(Ei));Ei++<xi;)for(var ua=na-1;ua>0;ua--)xr.push(At(Ei)*ua);for(Ei=0;xr[Ei]<Gr;Ei++);for(xi=xr.length;xr[xi-1]>Yr;xi--);xr=xr.slice(Ei,xi)}return xr},ar.copy=function(){return ps(de.copy(),Fe,Je,vt)},go(ar,de)}var js={floor:function(de){return-Math.ceil(-de)},ceil:function(de){return-Math.floor(-de)}};p.scale.pow=function(){return pl(p.scale.linear(),1,[0,1])};function pl(de,Fe,Je){var vt=Qs(Fe),_t=Qs(1/Fe);function At(ar){return de(vt(ar))}return At.invert=function(ar){return _t(de.invert(ar))},At.domain=function(ar){return arguments.length?(de.domain((Je=ar.map(Number)).map(vt)),At):Je},At.ticks=function(ar){return Io(Je,ar)},At.tickFormat=function(ar,Ft){return d3_scale_linearTickFormat(Je,ar,Ft)},At.nice=function(ar){return At.domain(wo(Je,ar))},At.exponent=function(ar){return arguments.length?(vt=Qs(Fe=ar),_t=Qs(1/Fe),de.domain(Je.map(vt)),At):Fe},At.copy=function(){return pl(de.copy(),Fe,Je)},go(At,de)}function Qs(de){return function(Fe){return Fe<0?-Math.pow(-Fe,de):Math.pow(Fe,de)}}p.scale.sqrt=function(){return p.scale.pow().exponent(.5)},p.scale.ordinal=function(){return hl([],{t:"range",a:[[]]})};function hl(de,Fe){var Je,vt,_t;function At(Ft){return vt[((Je.get(Ft)||(Fe.t==="range"?Je.set(Ft,de.push(Ft)):NaN))-1)%vt.length]}function ar(Ft,xr){return p.range(de.length).map(function(Gr){return Ft+xr*Gr})}return At.domain=function(Ft){if(!arguments.length)return de;de=[],Je=new A;for(var xr=-1,Gr=Ft.length,Yr;++xr<Gr;)Je.has(Yr=Ft[xr])||Je.set(Yr,de.push(Yr));return At[Fe.t].apply(At,Fe.a)},At.range=function(Ft){return arguments.length?(vt=Ft,_t=0,Fe={t:"range",a:arguments},At):vt},At.rangePoints=function(Ft,xr){arguments.length<2&&(xr=0);var Gr=Ft[0],Yr=Ft[1],Ei=de.length<2?(Gr=(Gr+Yr)/2,0):(Yr-Gr)/(de.length-1+xr);return vt=ar(Gr+Ei*xr/2,Ei),_t=0,Fe={t:"rangePoints",a:arguments},At},At.rangeRoundPoints=function(Ft,xr){arguments.length<2&&(xr=0);var Gr=Ft[0],Yr=Ft[1],Ei=de.length<2?(Gr=Yr=Math.round((Gr+Yr)/2),0):(Yr-Gr)/(de.length-1+xr)|0;return vt=ar(Gr+Math.round(Ei*xr/2+(Yr-Gr-(de.length-1+xr)*Ei)/2),Ei),_t=0,Fe={t:"rangeRoundPoints",a:arguments},At},At.rangeBands=function(Ft,xr,Gr){arguments.length<2&&(xr=0),arguments.length<3&&(Gr=xr);var Yr=Ft[1]<Ft[0],Ei=Ft[Yr-0],xi=Ft[1-Yr],na=(xi-Ei)/(de.length-xr+2*Gr);return vt=ar(Ei+na*Gr,na),Yr&&vt.reverse(),_t=na*(1-xr),Fe={t:"rangeBands",a:arguments},At},At.rangeRoundBands=function(Ft,xr,Gr){arguments.length<2&&(xr=0),arguments.length<3&&(Gr=xr);var Yr=Ft[1]<Ft[0],Ei=Ft[Yr-0],xi=Ft[1-Yr],na=Math.floor((xi-Ei)/(de.length-xr+2*Gr));return vt=ar(Ei+Math.round((xi-Ei-(de.length-xr)*na)/2),na),Yr&&vt.reverse(),_t=Math.round(na*(1-xr)),Fe={t:"rangeRoundBands",a:arguments},At},At.rangeBand=function(){return _t},At.rangeExtent=function(){return an(Fe.a[0])},At.copy=function(){return hl(de,Fe)},At.domain(de)}p.scale.category10=function(){return p.scale.ordinal().range(Bs)},p.scale.category20=function(){return p.scale.ordinal().range(Wl)},p.scale.category20b=function(){return p.scale.ordinal().range(Il)},p.scale.category20c=function(){return p.scale.ordinal().range(wl)};var Bs=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(Nr),Wl=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(Nr),Il=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(Nr),wl=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(Nr);p.scale.quantile=function(){return io([],[])};function io(de,Fe){var Je;function vt(){var At=0,ar=Fe.length;for(Je=[];++At<ar;)Je[At-1]=p.quantile(de,At/ar);return _t}function _t(At){if(!isNaN(At=+At))return Fe[p.bisect(Je,At)]}return _t.domain=function(At){return arguments.length?(de=At.map(h).filter(c).sort(s),vt()):de},_t.range=function(At){return arguments.length?(Fe=At,vt()):Fe},_t.quantiles=function(){return Je},_t.invertExtent=function(At){return At=Fe.indexOf(At),At<0?[NaN,NaN]:[At>0?Je[At-1]:de[0],At<Je.length?Je[At]:de[de.length-1]]},_t.copy=function(){return io(de,Fe)},vt()}p.scale.quantize=function(){return Jo(0,1,[0,1])};function Jo(de,Fe,Je){var vt,_t;function At(Ft){return Je[Math.max(0,Math.min(_t,Math.floor(vt*(Ft-de))))]}function ar(){return vt=Je.length/(Fe-de),_t=Je.length-1,At}return At.domain=function(Ft){return arguments.length?(de=+Ft[0],Fe=+Ft[Ft.length-1],ar()):[de,Fe]},At.range=function(Ft){return arguments.length?(Je=Ft,ar()):Je},At.invertExtent=function(Ft){return Ft=Je.indexOf(Ft),Ft=Ft<0?NaN:Ft/vt+de,[Ft,Ft+1/vt]},At.copy=function(){return Jo(de,Fe,Je)},ar()}p.scale.threshold=function(){return cl([.5],[0,1])};function cl(de,Fe){function Je(vt){if(vt<=vt)return Fe[p.bisect(de,vt)]}return Je.domain=function(vt){return arguments.length?(de=vt,Je):de},Je.range=function(vt){return arguments.length?(Fe=vt,Je):Fe},Je.invertExtent=function(vt){return vt=Fe.indexOf(vt),[de[vt-1],de[vt]]},Je.copy=function(){return cl(de,Fe)},Je}p.scale.identity=function(){return Zs([0,1])};function Zs(de){function Fe(Je){return+Je}return Fe.invert=Fe,Fe.domain=Fe.range=function(Je){return arguments.length?(de=Je.map(Fe),Fe):de},Fe.ticks=function(Je){return Io(de,Je)},Fe.tickFormat=function(Je,vt){return d3_scale_linearTickFormat(de,Je,vt)},Fe.copy=function(){return Zs(de)},Fe}p.svg={};function gu(){return 0}p.svg.arc=function(){var de=tc,Fe=Bc,Je=gu,vt=Nu,_t=Lu,At=Oc,ar=Pu;function Ft(){var Gr=Math.max(0,+de.apply(this,arguments)),Yr=Math.max(0,+Fe.apply(this,arguments)),Ei=_t.apply(this,arguments)-Me,xi=At.apply(this,arguments)-Me,na=Math.abs(xi-Ei),ua=Ei>xi?0:1;if(Yr<Gr&&(Di=Yr,Yr=Gr,Gr=Di),na>=ke)return xr(Yr,ua)+(Gr?xr(Gr,1-ua):"")+"Z";var Di,Hi,ta,ya,da=0,Oi=0,xn,mn,In,Yn,mo,bo,vs,To,cs=[];if((ya=(+ar.apply(this,arguments)||0)/2)&&(ta=vt===Nu?Math.sqrt(Gr*Gr+Yr*Yr):+vt.apply(this,arguments),ua||(Oi*=-1),Yr&&(Oi=nr(ta/Yr*Math.sin(ya))),Gr&&(da=nr(ta/Gr*Math.sin(ya)))),Yr){xn=Yr*Math.cos(Ei+Oi),mn=Yr*Math.sin(Ei+Oi),In=Yr*Math.cos(xi-Oi),Yn=Yr*Math.sin(xi-Oi);var Al=Math.abs(xi-Ei-2*Oi)<=Ie?0:1;if(Oi&&wc(xn,mn,In,Yn)===ua^Al){var ml=(Ei+xi)/2;xn=Yr*Math.cos(ml),mn=Yr*Math.sin(ml),In=Yn=null}}else xn=mn=0;if(Gr){mo=Gr*Math.cos(xi-da),bo=Gr*Math.sin(xi-da),vs=Gr*Math.cos(Ei+da),To=Gr*Math.sin(Ei+da);var Pl=Math.abs(Ei-xi+2*da)<=Ie?0:1;if(da&&wc(mo,bo,vs,To)===1-ua^Pl){var Dn=(Ei+xi)/2;mo=Gr*Math.cos(Dn),bo=Gr*Math.sin(Dn),vs=To=null}}else mo=bo=0;if(na>Ye&&(Di=Math.min(Math.abs(Yr-Gr)/2,+Je.apply(this,arguments)))>.001){Hi=Gr<Yr^ua?0:1;var zo=Di,ks=Di;if(na<Ie){var Rs=vs==null?[mo,bo]:In==null?[xn,mn]:ss([xn,mn],[vs,To],[In,Yn],[mo,bo]),Bl=xn-Rs[0],tu=mn-Rs[1],Ru=In-Rs[0],Hl=Yn-Rs[1],Tc=1/Math.sin(Math.acos((Bl*Ru+tu*Hl)/(Math.sqrt(Bl*Bl+tu*tu)*Math.sqrt(Ru*Ru+Hl*Hl)))/2),rt=Math.sqrt(Rs[0]*Rs[0]+Rs[1]*Rs[1]);ks=Math.min(Di,(Gr-rt)/(Tc-1)),zo=Math.min(Di,(Yr-rt)/(Tc+1))}if(In!=null){var Yt=Po(vs==null?[mo,bo]:[vs,To],[xn,mn],Yr,zo,ua),hr=Po([In,Yn],[mo,bo],Yr,zo,ua);Di===zo?cs.push("M",Yt[0],"A",zo,",",zo," 0 0,",Hi," ",Yt[1],"A",Yr,",",Yr," 0 ",1-ua^wc(Yt[1][0],Yt[1][1],hr[1][0],hr[1][1]),",",ua," ",hr[1],"A",zo,",",zo," 0 0,",Hi," ",hr[0]):cs.push("M",Yt[0],"A",zo,",",zo," 0 1,",Hi," ",hr[0])}else cs.push("M",xn,",",mn);if(vs!=null){var li=Po([xn,mn],[vs,To],Gr,-ks,ua),Ci=Po([mo,bo],In==null?[xn,mn]:[In,Yn],Gr,-ks,ua);Di===ks?cs.push("L",Ci[0],"A",ks,",",ks," 0 0,",Hi," ",Ci[1],"A",Gr,",",Gr," 0 ",ua^wc(Ci[1][0],Ci[1][1],li[1][0],li[1][1]),",",1-ua," ",li[1],"A",ks,",",ks," 0 0,",Hi," ",li[0]):cs.push("L",Ci[0],"A",ks,",",ks," 0 0,",Hi," ",li[0])}else cs.push("L",mo,",",bo)}else cs.push("M",xn,",",mn),In!=null&&cs.push("A",Yr,",",Yr," 0 ",Al,",",ua," ",In,",",Yn),cs.push("L",mo,",",bo),vs!=null&&cs.push("A",Gr,",",Gr," 0 ",Pl,",",1-ua," ",vs,",",To);return cs.push("Z"),cs.join("")}function xr(Gr,Yr){return"M0,"+Gr+"A"+Gr+","+Gr+" 0 1,"+Yr+" 0,"+-Gr+"A"+Gr+","+Gr+" 0 1,"+Yr+" 0,"+Gr}return Ft.innerRadius=function(Gr){return arguments.length?(de=Or(Gr),Ft):de},Ft.outerRadius=function(Gr){return arguments.length?(Fe=Or(Gr),Ft):Fe},Ft.cornerRadius=function(Gr){return arguments.length?(Je=Or(Gr),Ft):Je},Ft.padRadius=function(Gr){return arguments.length?(vt=Gr==Nu?Nu:Or(Gr),Ft):vt},Ft.startAngle=function(Gr){return arguments.length?(_t=Or(Gr),Ft):_t},Ft.endAngle=function(Gr){return arguments.length?(At=Or(Gr),Ft):At},Ft.padAngle=function(Gr){return arguments.length?(ar=Or(Gr),Ft):ar},Ft.centroid=function(){var Gr=(+de.apply(this,arguments)+ +Fe.apply(this,arguments))/2,Yr=(+_t.apply(this,arguments)+ +At.apply(this,arguments))/2-Me;return[Math.cos(Yr)*Gr,Math.sin(Yr)*Gr]},Ft};var Nu="auto";function tc(de){return de.innerRadius}function Bc(de){return de.outerRadius}function Lu(de){return de.startAngle}function Oc(de){return de.endAngle}function Pu(de){return de&&de.padAngle}function wc(de,Fe,Je,vt){return(de-Je)*Fe-(Fe-vt)*de>0?0:1}function Po(de,Fe,Je,vt,_t){var At=de[0]-Fe[0],ar=de[1]-Fe[1],Ft=(_t?vt:-vt)/Math.sqrt(At*At+ar*ar),xr=Ft*ar,Gr=-Ft*At,Yr=de[0]+xr,Ei=de[1]+Gr,xi=Fe[0]+xr,na=Fe[1]+Gr,ua=(Yr+xi)/2,Di=(Ei+na)/2,Hi=xi-Yr,ta=na-Ei,ya=Hi*Hi+ta*ta,da=Je-vt,Oi=Yr*na-xi*Ei,xn=(ta<0?-1:1)*Math.sqrt(Math.max(0,da*da*ya-Oi*Oi)),mn=(Oi*ta-Hi*xn)/ya,In=(-Oi*Hi-ta*xn)/ya,Yn=(Oi*ta+Hi*xn)/ya,mo=(-Oi*Hi+ta*xn)/ya,bo=mn-ua,vs=In-Di,To=Yn-ua,cs=mo-Di;return bo*bo+vs*vs>To*To+cs*cs&&(mn=Yn,In=mo),[[mn-xr,In-Gr],[mn*Je/da,In*Je/da]]}function es(){return!0}function Nc(de){var Fe=An,Je=Eo,vt=es,_t=rc,At=_t.key,ar=.7;function Ft(xr){var Gr=[],Yr=[],Ei=-1,xi=xr.length,na,ua=Or(Fe),Di=Or(Je);function Hi(){Gr.push("M",_t(de(Yr),ar))}for(;++Ei<xi;)vt.call(this,na=xr[Ei],Ei)?Yr.push([+ua.call(this,na,Ei),+Di.call(this,na,Ei)]):Yr.length&&(Hi(),Yr=[]);return Yr.length&&Hi(),Gr.length?Gr.join(""):null}return Ft.x=function(xr){return arguments.length?(Fe=xr,Ft):Fe},Ft.y=function(xr){return arguments.length?(Je=xr,Ft):Je},Ft.defined=function(xr){return arguments.length?(vt=xr,Ft):vt},Ft.interpolate=function(xr){return arguments.length?(typeof xr=="function"?At=_t=xr:At=(_t=hc.get(xr)||rc).key,Ft):At},Ft.tension=function(xr){return arguments.length?(ar=xr,Ft):ar},Ft}p.svg.line=function(){return Nc(F)};var hc=p.map({linear:rc,"linear-closed":Ue,step:P,"step-before":ae,"step-after":xe,basis:Qt,"basis-open":Ar,"basis-closed":Sr,bundle:Kr,cardinal:ht,"cardinal-open":Te,"cardinal-closed":Oe,monotone:fr});hc.forEach(function(de,Fe){Fe.key=de,Fe.closed=/-closed$/.test(de)});function rc(de){return de.length>1?de.join("L"):de+"Z"}function Ue(de){return de.join("L")+"Z"}function P(de){for(var Fe=0,Je=de.length,vt=de[0],_t=[vt[0],",",vt[1]];++Fe<Je;)_t.push("H",(vt[0]+(vt=de[Fe])[0])/2,"V",vt[1]);return Je>1&&_t.push("H",vt[0]),_t.join("")}function ae(de){for(var Fe=0,Je=de.length,vt=de[0],_t=[vt[0],",",vt[1]];++Fe<Je;)_t.push("V",(vt=de[Fe])[1],"H",vt[0]);return _t.join("")}function xe(de){for(var Fe=0,Je=de.length,vt=de[0],_t=[vt[0],",",vt[1]];++Fe<Je;)_t.push("H",(vt=de[Fe])[0],"V",vt[1]);return _t.join("")}function Te(de,Fe){return de.length<4?rc(de):de[1]+Tt(de.slice(1,-1),Ot(de,Fe))}function Oe(de,Fe){return de.length<3?Ue(de):de[0]+Tt((de.push(de[0]),de),Ot([de[de.length-2]].concat(de,[de[1]]),Fe))}function ht(de,Fe){return de.length<3?rc(de):de[0]+Tt(de,Ot(de,Fe))}function Tt(de,Fe){if(Fe.length<1||de.length!=Fe.length&&de.length!=Fe.length+2)return rc(de);var Je=de.length!=Fe.length,vt="",_t=de[0],At=de[1],ar=Fe[0],Ft=ar,xr=1;if(Je&&(vt+="Q"+(At[0]-ar[0]*2/3)+","+(At[1]-ar[1]*2/3)+","+At[0]+","+At[1],_t=de[1],xr=2),Fe.length>1){Ft=Fe[1],At=de[xr],xr++,vt+="C"+(_t[0]+ar[0])+","+(_t[1]+ar[1])+","+(At[0]-Ft[0])+","+(At[1]-Ft[1])+","+At[0]+","+At[1];for(var Gr=2;Gr<Fe.length;Gr++,xr++)At=de[xr],Ft=Fe[Gr],vt+="S"+(At[0]-Ft[0])+","+(At[1]-Ft[1])+","+At[0]+","+At[1]}if(Je){var Yr=de[xr];vt+="Q"+(At[0]+Ft[0]*2/3)+","+(At[1]+Ft[1]*2/3)+","+Yr[0]+","+Yr[1]}return vt}function Ot(de,Fe){for(var Je=[],vt=(1-Fe)/2,_t,At=de[0],ar=de[1],Ft=1,xr=de.length;++Ft<xr;)_t=At,At=ar,ar=de[Ft],Je.push([vt*(ar[0]-_t[0]),vt*(ar[1]-_t[1])]);return Je}function Qt(de){if(de.length<3)return rc(de);var Fe=1,Je=de.length,vt=de[0],_t=vt[0],At=vt[1],ar=[_t,_t,_t,(vt=de[1])[0]],Ft=[At,At,At,vt[1]],xr=[_t,",",At,"L",oi(ot,ar),",",oi(ot,Ft)];for(de.push(de[Je-1]);++Fe<=Je;)vt=de[Fe],ar.shift(),ar.push(vt[0]),Ft.shift(),Ft.push(vt[1]),dt(xr,ar,Ft);return de.pop(),xr.push("L",vt),xr.join("")}function Ar(de){if(de.length<4)return rc(de);for(var Fe=[],Je=-1,vt=de.length,_t,At=[0],ar=[0];++Je<3;)_t=de[Je],At.push(_t[0]),ar.push(_t[1]);for(Fe.push(oi(ot,At)+","+oi(ot,ar)),--Je;++Je<vt;)_t=de[Je],At.shift(),At.push(_t[0]),ar.shift(),ar.push(_t[1]),dt(Fe,At,ar);return Fe.join("")}function Sr(de){for(var Fe,Je=-1,vt=de.length,_t=vt+4,At,ar=[],Ft=[];++Je<4;)At=de[Je%vt],ar.push(At[0]),Ft.push(At[1]);for(Fe=[oi(ot,ar),",",oi(ot,Ft)],--Je;++Je<_t;)At=de[Je%vt],ar.shift(),ar.push(At[0]),Ft.shift(),Ft.push(At[1]),dt(Fe,ar,Ft);return Fe.join("")}function Kr(de,Fe){var Je=de.length-1;if(Je)for(var vt=de[0][0],_t=de[0][1],At=de[Je][0]-vt,ar=de[Je][1]-_t,Ft=-1,xr,Gr;++Ft<=Je;)xr=de[Ft],Gr=Ft/Je,xr[0]=Fe*xr[0]+(1-Fe)*(vt+Gr*At),xr[1]=Fe*xr[1]+(1-Fe)*(_t+Gr*ar);return Qt(de)}function oi(de,Fe){return de[0]*Fe[0]+de[1]*Fe[1]+de[2]*Fe[2]+de[3]*Fe[3]}var Ge=[0,2/3,1/3,0],Ze=[0,1/3,2/3,0],ot=[0,1/6,2/3,1/6];function dt(de,Fe,Je){de.push("C",oi(Ge,Fe),",",oi(Ge,Je),",",oi(Ze,Fe),",",oi(Ze,Je),",",oi(ot,Fe),",",oi(ot,Je))}function Ct(de,Fe){return(Fe[1]-de[1])/(Fe[0]-de[0])}function wt(de){for(var Fe=0,Je=de.length-1,vt=[],_t=de[0],At=de[1],ar=vt[0]=Ct(_t,At);++Fe<Je;)vt[Fe]=(ar+(ar=Ct(_t=At,At=de[Fe+1])))/2;return vt[Fe]=ar,vt}function Dt(de){for(var Fe=[],Je,vt,_t,At,ar=wt(de),Ft=-1,xr=de.length-1;++Ft<xr;)Je=Ct(de[Ft],de[Ft+1]),l(Je)<Ye?ar[Ft]=ar[Ft+1]=0:(vt=ar[Ft]/Je,_t=ar[Ft+1]/Je,At=vt*vt+_t*_t,At>9&&(At=Je*3/Math.sqrt(At),ar[Ft]=At*vt,ar[Ft+1]=At*_t));for(Ft=-1;++Ft<=xr;)At=(de[Math.min(xr,Ft+1)][0]-de[Math.max(0,Ft-1)][0])/(6*(1+ar[Ft]*ar[Ft])),Fe.push([At||0,ar[Ft]*At||0]);return Fe}function fr(de){return de.length<3?rc(de):de[0]+Tt(de,Dt(de))}p.svg.line.radial=function(){var de=Nc(_r);return de.radius=de.x,delete de.x,de.angle=de.y,delete de.y,de};function _r(de){for(var Fe,Je=-1,vt=de.length,_t,At;++Je<vt;)Fe=de[Je],_t=Fe[0],At=Fe[1]-Me,Fe[0]=_t*Math.cos(At),Fe[1]=_t*Math.sin(At);return de}function kr(de){var Fe=An,Je=An,vt=0,_t=Eo,At=es,ar=rc,Ft=ar.key,xr=ar,Gr="L",Yr=.7;function Ei(xi){var na=[],ua=[],Di=[],Hi=-1,ta=xi.length,ya,da=Or(Fe),Oi=Or(vt),xn=Fe===Je?function(){return In}:Or(Je),mn=vt===_t?function(){return Yn}:Or(_t),In,Yn;function mo(){na.push("M",ar(de(Di),Yr),Gr,xr(de(ua.reverse()),Yr),"Z")}for(;++Hi<ta;)At.call(this,ya=xi[Hi],Hi)?(ua.push([In=+da.call(this,ya,Hi),Yn=+Oi.call(this,ya,Hi)]),Di.push([+xn.call(this,ya,Hi),+mn.call(this,ya,Hi)])):ua.length&&(mo(),ua=[],Di=[]);return ua.length&&mo(),na.length?na.join(""):null}return Ei.x=function(xi){return arguments.length?(Fe=Je=xi,Ei):Je},Ei.x0=function(xi){return arguments.length?(Fe=xi,Ei):Fe},Ei.x1=function(xi){return arguments.length?(Je=xi,Ei):Je},Ei.y=function(xi){return arguments.length?(vt=_t=xi,Ei):_t},Ei.y0=function(xi){return arguments.length?(vt=xi,Ei):vt},Ei.y1=function(xi){return arguments.length?(_t=xi,Ei):_t},Ei.defined=function(xi){return arguments.length?(At=xi,Ei):At},Ei.interpolate=function(xi){return arguments.length?(typeof xi=="function"?Ft=ar=xi:Ft=(ar=hc.get(xi)||rc).key,xr=ar.reverse||ar,Gr=ar.closed?"M":"L",Ei):Ft},Ei.tension=function(xi){return arguments.length?(Yr=xi,Ei):Yr},Ei}ae.reverse=xe,xe.reverse=ae,p.svg.area=function(){return kr(F)},p.svg.area.radial=function(){var de=kr(_r);return de.radius=de.x,delete de.x,de.innerRadius=de.x0,delete de.x0,de.outerRadius=de.x1,delete de.x1,de.angle=de.y,delete de.y,de.startAngle=de.y0,delete de.y0,de.endAngle=de.y1,delete de.y1,de};function Vr(de){return de.source}function Qr(de){return de.target}p.svg.chord=function(){var de=Vr,Fe=Qr,Je=_i,vt=Lu,_t=Oc;function At(Yr,Ei){var xi=ar(this,de,Yr,Ei),na=ar(this,Fe,Yr,Ei);return"M"+xi.p0+xr(xi.r,xi.p1,xi.a1-xi.a0)+(Ft(xi,na)?Gr(xi.r,xi.p1,xi.r,xi.p0):Gr(xi.r,xi.p1,na.r,na.p0)+xr(na.r,na.p1,na.a1-na.a0)+Gr(na.r,na.p1,xi.r,xi.p0))+"Z"}function ar(Yr,Ei,xi,na){var ua=Ei.call(Yr,xi,na),Di=Je.call(Yr,ua,na),Hi=vt.call(Yr,ua,na)-Me,ta=_t.call(Yr,ua,na)-Me;return{r:Di,a0:Hi,a1:ta,p0:[Di*Math.cos(Hi),Di*Math.sin(Hi)],p1:[Di*Math.cos(ta),Di*Math.sin(ta)]}}function Ft(Yr,Ei){return Yr.a0==Ei.a0&&Yr.a1==Ei.a1}function xr(Yr,Ei,xi){return"A"+Yr+","+Yr+" 0 "+ +(xi>Ie)+",1 "+Ei}function Gr(Yr,Ei,xi,na){return"Q 0,0 "+na}return At.radius=function(Yr){return arguments.length?(Je=Or(Yr),At):Je},At.source=function(Yr){return arguments.length?(de=Or(Yr),At):de},At.target=function(Yr){return arguments.length?(Fe=Or(Yr),At):Fe},At.startAngle=function(Yr){return arguments.length?(vt=Or(Yr),At):vt},At.endAngle=function(Yr){return arguments.length?(_t=Or(Yr),At):_t},At};function _i(de){return de.radius}p.svg.diagonal=function(){var de=Vr,Fe=Qr,Je=Pi;function vt(_t,At){var ar=de.call(this,_t,At),Ft=Fe.call(this,_t,At),xr=(ar.y+Ft.y)/2,Gr=[ar,{x:ar.x,y:xr},{x:Ft.x,y:xr},Ft];return Gr=Gr.map(Je),"M"+Gr[0]+"C"+Gr[1]+" "+Gr[2]+" "+Gr[3]}return vt.source=function(_t){return arguments.length?(de=Or(_t),vt):de},vt.target=function(_t){return arguments.length?(Fe=Or(_t),vt):Fe},vt.projection=function(_t){return arguments.length?(Je=_t,vt):Je},vt};function Pi(de){return[de.x,de.y]}p.svg.diagonal.radial=function(){var de=p.svg.diagonal(),Fe=Pi,Je=de.projection;return de.projection=function(vt){return arguments.length?Je(qi(Fe=vt)):Fe},de};function qi(de){return function(){var Fe=de.apply(this,arguments),Je=Fe[0],vt=Fe[1]-Me;return[Je*Math.cos(vt),Je*Math.sin(vt)]}}p.svg.symbol=function(){var de=Qa,Fe=ga;function Je(vt,_t){return(yn.get(de.call(this,vt,_t))||$a)(Fe.call(this,vt,_t))}return Je.type=function(vt){return arguments.length?(de=Or(vt),Je):de},Je.size=function(vt){return arguments.length?(Fe=Or(vt),Je):Fe},Je};function ga(){return 64}function Qa(){return"circle"}function $a(de){var Fe=Math.sqrt(de/Ie);return"M0,"+Fe+"A"+Fe+","+Fe+" 0 1,1 0,"+-Fe+"A"+Fe+","+Fe+" 0 1,1 0,"+Fe+"Z"}var yn=p.map({circle:$a,cross:function(de){var Fe=Math.sqrt(de/5)/2;return"M"+-3*Fe+","+-Fe+"H"+-Fe+"V"+-3*Fe+"H"+Fe+"V"+-Fe+"H"+3*Fe+"V"+Fe+"H"+Fe+"V"+3*Fe+"H"+-Fe+"V"+Fe+"H"+-3*Fe+"Z"},diamond:function(de){var Fe=Math.sqrt(de/(2*po)),Je=Fe*po;return"M0,"+-Fe+"L"+Je+",0 0,"+Fe+" "+-Je+",0Z"},square:function(de){var Fe=Math.sqrt(de)/2;return"M"+-Fe+","+-Fe+"L"+Fe+","+-Fe+" "+Fe+","+Fe+" "+-Fe+","+Fe+"Z"},"triangle-down":function(de){var Fe=Math.sqrt(de/qn),Je=Fe*qn/2;return"M0,"+Je+"L"+Fe+","+-Je+" "+-Fe+","+-Je+"Z"},"triangle-up":function(de){var Fe=Math.sqrt(de/qn),Je=Fe*qn/2;return"M0,"+-Je+"L"+Fe+","+Je+" "+-Fe+","+Je+"Z"}});p.svg.symbolTypes=yn.keys();var qn=Math.sqrt(3),po=Math.tan(30*Le);ie.transition=function(de){for(var Fe=Is||++ds,Je=gs(de),vt=[],_t,At,ar=Tl||{time:Date.now(),ease:$l,delay:0,duration:250},Ft=-1,xr=this.length;++Ft<xr;){vt.push(_t=[]);for(var Gr=this[Ft],Yr=-1,Ei=Gr.length;++Yr<Ei;)(At=Gr[Yr])&&ql(At,Yr,Je,Fe,ar),_t.push(At)}return bs(vt,Je,Fe)},ie.interrupt=function(de){return this.each(de==null?to:Vo(gs(de)))};var to=Vo(gs());function Vo(de){return function(){var Fe,Je,vt;(Fe=this[de])&&(vt=Fe[Je=Fe.active])&&(vt.timer.c=null,vt.timer.t=NaN,--Fe.count?delete Fe[Je]:delete this[de],Fe.active+=.5,vt.event&&vt.event.interrupt.call(this,this.__data__,vt.index))}}function bs(de,Fe,Je){return q(de,Ho),de.namespace=Fe,de.id=Je,de}var Ho=[],ds=0,Is,Tl;Ho.call=ie.call,Ho.empty=ie.empty,Ho.node=ie.node,Ho.size=ie.size,p.transition=function(de,Fe){return de&&de.transition?Is?de.transition(Fe):de:p.selection().transition(de)},p.transition.prototype=Ho,Ho.select=function(de){var Fe=this.id,Je=this.namespace,vt=[],_t,At,ar;de=j(de);for(var Ft=-1,xr=this.length;++Ft<xr;){vt.push(_t=[]);for(var Gr=this[Ft],Yr=-1,Ei=Gr.length;++Yr<Ei;)(ar=Gr[Yr])&&(At=de.call(ar,ar.__data__,Yr,Ft))?("__data__"in ar&&(At.__data__=ar.__data__),ql(At,Yr,Je,Fe,ar[Je][Fe]),_t.push(At)):_t.push(null)}return bs(vt,Je,Fe)},Ho.selectAll=function(de){var Fe=this.id,Je=this.namespace,vt=[],_t,At,ar,Ft,xr;de=Q(de);for(var Gr=-1,Yr=this.length;++Gr<Yr;)for(var Ei=this[Gr],xi=-1,na=Ei.length;++xi<na;)if(ar=Ei[xi]){xr=ar[Je][Fe],At=de.call(ar,ar.__data__,xi,Gr),vt.push(_t=[]);for(var ua=-1,Di=At.length;++ua<Di;)(Ft=At[ua])&&ql(Ft,ua,Je,Fe,xr),_t.push(Ft)}return bs(vt,Je,Fe)},Ho.filter=function(de){var Fe=[],Je,vt,_t;typeof de!="function"&&(de=fe(de));for(var At=0,ar=this.length;At<ar;At++){Fe.push(Je=[]);for(var vt=this[At],Ft=0,xr=vt.length;Ft<xr;Ft++)(_t=vt[Ft])&&de.call(_t,_t.__data__,Ft,At)&&Je.push(_t)}return bs(Fe,this.namespace,this.id)},Ho.tween=function(de,Fe){var Je=this.id,vt=this.namespace;return arguments.length<2?this.node()[vt][Je].tween.get(de):Qe(this,Fe==null?function(_t){_t[vt][Je].tween.remove(de)}:function(_t){_t[vt][Je].tween.set(de,Fe)})};function dl(de,Fe,Je,vt){var _t=de.id,At=de.namespace;return Qe(de,typeof Je=="function"?function(ar,Ft,xr){ar[At][_t].tween.set(Fe,vt(Je.call(ar,ar.__data__,Ft,xr)))}:(Je=vt(Je),function(ar){ar[At][_t].tween.set(Fe,Je)}))}Ho.attr=function(de,Fe){if(arguments.length<2){for(Fe in de)this.attr(Fe,de[Fe]);return this}var Je=de=="transform"?Jc:Kl,vt=p.ns.qualify(de);function _t(){this.removeAttribute(vt)}function At(){this.removeAttributeNS(vt.space,vt.local)}function ar(xr){return xr==null?_t:(xr+="",function(){var Gr=this.getAttribute(vt),Yr;return Gr!==xr&&(Yr=Je(Gr,xr),function(Ei){this.setAttribute(vt,Yr(Ei))})})}function Ft(xr){return xr==null?At:(xr+="",function(){var Gr=this.getAttributeNS(vt.space,vt.local),Yr;return Gr!==xr&&(Yr=Je(Gr,xr),function(Ei){this.setAttributeNS(vt.space,vt.local,Yr(Ei))})})}return dl(this,"attr."+de,Fe,vt.local?Ft:ar)},Ho.attrTween=function(de,Fe){var Je=p.ns.qualify(de);function vt(At,ar){var Ft=Fe.call(this,At,ar,this.getAttribute(Je));return Ft&&function(xr){this.setAttribute(Je,Ft(xr))}}function _t(At,ar){var Ft=Fe.call(this,At,ar,this.getAttributeNS(Je.space,Je.local));return Ft&&function(xr){this.setAttributeNS(Je.space,Je.local,Ft(xr))}}return this.tween("attr."+de,Je.local?_t:vt)},Ho.style=function(de,Fe,Je){var vt=arguments.length;if(vt<3){if(typeof de!="string"){vt<2&&(Fe="");for(Je in de)this.style(Je,de[Je],Fe);return this}Je=""}function _t(){this.style.removeProperty(de)}function At(ar){return ar==null?_t:(ar+="",function(){var Ft=t(this).getComputedStyle(this,null).getPropertyValue(de),xr;return Ft!==ar&&(xr=Kl(Ft,ar),function(Gr){this.style.setProperty(de,xr(Gr),Je)})})}return dl(this,"style."+de,Fe,At)},Ho.styleTween=function(de,Fe,Je){arguments.length<3&&(Je="");function vt(_t,At){var ar=Fe.call(this,_t,At,t(this).getComputedStyle(this,null).getPropertyValue(de));return ar&&function(Ft){this.style.setProperty(de,ar(Ft),Je)}}return this.tween("style."+de,vt)},Ho.text=function(de){return dl(this,"text",de,ms)};function ms(de){return de==null&&(de=""),function(){this.textContent=de}}Ho.remove=function(){var de=this.namespace;return this.each("end.transition",function(){var Fe;this[de].count<2&&(Fe=this.parentNode)&&Fe.removeChild(this)})},Ho.ease=function(de){var Fe=this.id,Je=this.namespace;return arguments.length<1?this.node()[Je][Fe].ease:(typeof de!="function"&&(de=p.ease.apply(p,arguments)),Qe(this,function(vt){vt[Je][Fe].ease=de}))},Ho.delay=function(de){var Fe=this.id,Je=this.namespace;return arguments.length<1?this.node()[Je][Fe].delay:Qe(this,typeof de=="function"?function(vt,_t,At){vt[Je][Fe].delay=+de.call(vt,vt.__data__,_t,At)}:(de=+de,function(vt){vt[Je][Fe].delay=de}))},Ho.duration=function(de){var Fe=this.id,Je=this.namespace;return arguments.length<1?this.node()[Je][Fe].duration:Qe(this,typeof de=="function"?function(vt,_t,At){vt[Je][Fe].duration=Math.max(1,de.call(vt,vt.__data__,_t,At))}:(de=Math.max(1,de),function(vt){vt[Je][Fe].duration=de}))},Ho.each=function(de,Fe){var Je=this.id,vt=this.namespace;if(arguments.length<2){var _t=Tl,At=Is;try{Is=Je,Qe(this,function(ar,Ft,xr){Tl=ar[vt][Je],de.call(ar,ar.__data__,Ft,xr)})}finally{Tl=_t,Is=At}}else Qe(this,function(ar){var Ft=ar[vt][Je];(Ft.event||(Ft.event=p.dispatch("start","end","interrupt"))).on(de,Fe)});return this},Ho.transition=function(){for(var de=this.id,Fe=++ds,Je=this.namespace,vt=[],_t,At,ar,Ft,xr=0,Gr=this.length;xr<Gr;xr++){vt.push(_t=[]);for(var At=this[xr],Yr=0,Ei=At.length;Yr<Ei;Yr++)(ar=At[Yr])&&(Ft=ar[Je][de],ql(ar,Yr,Je,Fe,{time:Ft.time,ease:Ft.ease,delay:Ft.delay+Ft.duration,duration:Ft.duration})),_t.push(ar)}return bs(vt,Je,Fe)};function gs(de){return de==null?"__transition__":"__transition_"+de+"__"}function ql(de,Fe,Je,vt,_t){var At=de[Je]||(de[Je]={active:0,count:0}),ar=At[vt],Ft,xr,Gr,Yr,Ei;function xi(Di){var Hi=ar.delay;if(xr.t=Hi+Ft,Hi<=Di)return na(Di-Hi);xr.c=na}function na(Di){var Hi=At.active,ta=At[Hi];ta&&(ta.timer.c=null,ta.timer.t=NaN,--At.count,delete At[Hi],ta.event&&ta.event.interrupt.call(de,de.__data__,ta.index));for(var ya in At)if(+ya<vt){var da=At[ya];da.timer.c=null,da.timer.t=NaN,--At.count,delete At[ya]}xr.c=ua,Kn(function(){return xr.c&&ua(Di||1)&&(xr.c=null,xr.t=NaN),1},0,Ft),At.active=vt,ar.event&&ar.event.start.call(de,de.__data__,Fe),Ei=[],ar.tween.forEach(function(Oi,xn){(xn=xn.call(de,de.__data__,Fe))&&Ei.push(xn)}),Yr=ar.ease,Gr=ar.duration}function ua(Di){for(var Hi=Di/Gr,ta=Yr(Hi),ya=Ei.length;ya>0;)Ei[--ya].call(de,ta);if(Hi>=1)return ar.event&&ar.event.end.call(de,de.__data__,Fe),--At.count?delete At[vt]:delete de[Je],1}ar||(Ft=_t.time,xr=Kn(xi,0,Ft),ar=At[vt]={tween:new A,time:Ft,timer:xr,delay:_t.delay,duration:_t.duration,ease:_t.ease,index:Fe},_t=null,++At.count)}p.svg.axis=function(){var de=p.scale.linear(),Fe=uu,Je=6,vt=6,_t=3,At=[10],ar=null,Ft;function xr(Gr){Gr.each(function(){var Yr=p.select(this),Ei=this.__chart__||de,xi=this.__chart__=de.copy(),na=ar??(xi.ticks?xi.ticks.apply(xi,At):xi.domain()),ua=Ft??(xi.tickFormat?xi.tickFormat.apply(xi,At):F),Di=Yr.selectAll(".tick").data(na,xi),Hi=Di.enter().insert("g",".domain").attr("class","tick").style("opacity",Ye),ta=p.transition(Di.exit()).style("opacity",Ye).remove(),ya=p.transition(Di.order()).style("opacity",1),da=Math.max(Je,0)+_t,Oi,xn=hn(xi),mn=Yr.selectAll(".domain").data([0]),In=(mn.enter().append("path").attr("class","domain"),p.transition(mn));Hi.append("line"),Hi.append("text");var Yn=Hi.select("line"),mo=ya.select("line"),bo=Di.select("text").text(ua),vs=Hi.select("text"),To=ya.select("text"),cs=Fe==="top"||Fe==="left"?-1:1,Al,ml,Pl,Dn;if(Fe==="bottom"||Fe==="top"?(Oi=Su,Al="x",Pl="y",ml="x2",Dn="y2",bo.attr("dy",cs<0?"0em":".71em").style("text-anchor","middle"),In.attr("d","M"+xn[0]+","+cs*vt+"V0H"+xn[1]+"V"+cs*vt)):(Oi=Fl,Al="y",Pl="x",ml="y2",Dn="x2",bo.attr("dy",".32em").style("text-anchor",cs<0?"end":"start"),In.attr("d","M"+cs*vt+","+xn[0]+"H0V"+xn[1]+"H"+cs*vt)),Yn.attr(Dn,cs*Je),vs.attr(Pl,cs*da),mo.attr(ml,0).attr(Dn,cs*Je),To.attr(Al,0).attr(Pl,cs*da),xi.rangeBand){var zo=xi,ks=zo.rangeBand()/2;Ei=xi=function(Rs){return zo(Rs)+ks}}else Ei.rangeBand?Ei=xi:ta.call(Oi,xi,Ei);Hi.call(Oi,Ei,xi),ya.call(Oi,xi,xi)})}return xr.scale=function(Gr){return arguments.length?(de=Gr,xr):de},xr.orient=function(Gr){return arguments.length?(Fe=Gr in Uu?Gr+"":uu,xr):Fe},xr.ticks=function(){return arguments.length?(At=S(arguments),xr):At},xr.tickValues=function(Gr){return arguments.length?(ar=Gr,xr):ar},xr.tickFormat=function(Gr){return arguments.length?(Ft=Gr,xr):Ft},xr.tickSize=function(Gr){var Yr=arguments.length;return Yr?(Je=+Gr,vt=+arguments[Yr-1],xr):Je},xr.innerTickSize=function(Gr){return arguments.length?(Je=+Gr,xr):Je},xr.outerTickSize=function(Gr){return arguments.length?(vt=+Gr,xr):vt},xr.tickPadding=function(Gr){return arguments.length?(_t=+Gr,xr):_t},xr.tickSubdivide=function(){return arguments.length&&xr},xr};var uu="bottom",Uu={top:1,right:1,bottom:1,left:1};function Su(de,Fe,Je){de.attr("transform",function(vt){var _t=Fe(vt);return"translate("+(isFinite(_t)?_t:Je(vt))+",0)"})}function Fl(de,Fe,Je){de.attr("transform",function(vt){var _t=Fe(vt);return"translate(0,"+(isFinite(_t)?_t:Je(vt))+")"})}p.svg.brush=function(){var de=le(Yr,"brushstart","brush","brushend"),Fe=null,Je=null,vt=[0,0],_t=[0,0],At,ar,Ft=!0,xr=!0,Gr=dc[0];function Yr(Di){Di.each(function(){var Hi=p.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",ua).on("touchstart.brush",ua),ta=Hi.selectAll(".background").data([0]);ta.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),Hi.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var ya=Hi.selectAll(".resize").data(Gr,F);ya.exit().remove(),ya.enter().append("g").attr("class",function(mn){return"resize "+mn}).style("cursor",function(mn){return yu[mn]}).append("rect").attr("x",function(mn){return/[ew]$/.test(mn)?-3:null}).attr("y",function(mn){return/^[ns]/.test(mn)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),ya.style("display",Yr.empty()?"none":null);var da=p.transition(Hi),Oi=p.transition(ta),xn;Fe&&(xn=hn(Fe),Oi.attr("x",xn[0]).attr("width",xn[1]-xn[0]),xi(da)),Je&&(xn=hn(Je),Oi.attr("y",xn[0]).attr("height",xn[1]-xn[0]),na(da)),Ei(da)})}Yr.event=function(Di){Di.each(function(){var Hi=de.of(this,arguments),ta={x:vt,y:_t,i:At,j:ar},ya=this.__chart__||ta;this.__chart__=ta,Is?p.select(this).transition().each("start.brush",function(){At=ya.i,ar=ya.j,vt=ya.x,_t=ya.y,Hi({type:"brushstart"})}).tween("brush:brush",function(){var da=Zu(vt,ta.x),Oi=Zu(_t,ta.y);return At=ar=null,function(xn){vt=ta.x=da(xn),_t=ta.y=Oi(xn),Hi({type:"brush",mode:"resize"})}}).each("end.brush",function(){At=ta.i,ar=ta.j,Hi({type:"brush",mode:"resize"}),Hi({type:"brushend"})}):(Hi({type:"brushstart"}),Hi({type:"brush",mode:"resize"}),Hi({type:"brushend"}))})};function Ei(Di){Di.selectAll(".resize").attr("transform",function(Hi){return"translate("+vt[+/e$/.test(Hi)]+","+_t[+/^s/.test(Hi)]+")"})}function xi(Di){Di.select(".extent").attr("x",vt[0]),Di.selectAll(".extent,.n>rect,.s>rect").attr("width",vt[1]-vt[0])}function na(Di){Di.select(".extent").attr("y",_t[0]),Di.selectAll(".extent,.e>rect,.w>rect").attr("height",_t[1]-_t[0])}function ua(){var Di=this,Hi=p.select(p.event.target),ta=de.of(Di,arguments),ya=p.select(Di),da=Hi.datum(),Oi=!/^(n|s)$/.test(da)&&Fe,xn=!/^(e|w)$/.test(da)&&Je,mn=Hi.classed("extent"),In=Mr(Di),Yn,mo=p.mouse(Di),bo,vs=p.select(t(Di)).on("keydown.brush",Al).on("keyup.brush",ml);if(p.event.changedTouches?vs.on("touchmove.brush",Pl).on("touchend.brush",zo):vs.on("mousemove.brush",Pl).on("mouseup.brush",zo),ya.interrupt().selectAll("*").interrupt(),mn)mo[0]=vt[0]-mo[0],mo[1]=_t[0]-mo[1];else if(da){var To=+/w$/.test(da),cs=+/^n/.test(da);bo=[vt[1-To]-mo[0],_t[1-cs]-mo[1]],mo[0]=vt[To],mo[1]=_t[cs]}else p.event.altKey&&(Yn=mo.slice());ya.style("pointer-events","none").selectAll(".resize").style("display",null),p.select("body").style("cursor",Hi.style("cursor")),ta({type:"brushstart"}),Pl();function Al(){p.event.keyCode==32&&(mn||(Yn=null,mo[0]-=vt[1],mo[1]-=_t[1],mn=2),J())}function ml(){p.event.keyCode==32&&mn==2&&(mo[0]+=vt[1],mo[1]+=_t[1],mn=0,J())}function Pl(){var ks=p.mouse(Di),Rs=!1;bo&&(ks[0]+=bo[0],ks[1]+=bo[1]),mn||(p.event.altKey?(Yn||(Yn=[(vt[0]+vt[1])/2,(_t[0]+_t[1])/2]),mo[0]=vt[+(ks[0]<Yn[0])],mo[1]=_t[+(ks[1]<Yn[1])]):Yn=null),Oi&&Dn(ks,Fe,0)&&(xi(ya),Rs=!0),xn&&Dn(ks,Je,1)&&(na(ya),Rs=!0),Rs&&(Ei(ya),ta({type:"brush",mode:mn?"move":"resize"}))}function Dn(ks,Rs,Bl){var tu=hn(Rs),Ru=tu[0],Hl=tu[1],Tc=mo[Bl],rt=Bl?_t:vt,Yt=rt[1]-rt[0],hr,li;if(mn&&(Ru-=Tc,Hl-=Yt+Tc),hr=(Bl?xr:Ft)?Math.max(Ru,Math.min(Hl,ks[Bl])):ks[Bl],mn?li=(hr+=Tc)+Yt:(Yn&&(Tc=Math.max(Ru,Math.min(Hl,2*Yn[Bl]-hr))),Tc<hr?(li=hr,hr=Tc):li=Tc),rt[0]!=hr||rt[1]!=li)return Bl?ar=null:At=null,rt[0]=hr,rt[1]=li,!0}function zo(){Pl(),ya.style("pointer-events","all").selectAll(".resize").style("display",Yr.empty()?"none":null),p.select("body").style("cursor",null),vs.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),In(),ta({type:"brushend"})}}return Yr.x=function(Di){return arguments.length?(Fe=Di,Gr=dc[!Fe<<1|!Je],Yr):Fe},Yr.y=function(Di){return arguments.length?(Je=Di,Gr=dc[!Fe<<1|!Je],Yr):Je},Yr.clamp=function(Di){return arguments.length?(Fe&&Je?(Ft=!!Di[0],xr=!!Di[1]):Fe?Ft=!!Di:Je&&(xr=!!Di),Yr):Fe&&Je?[Ft,xr]:Fe?Ft:Je?xr:null},Yr.extent=function(Di){var Hi,ta,ya,da,Oi;return arguments.length?(Fe&&(Hi=Di[0],ta=Di[1],Je&&(Hi=Hi[0],ta=ta[0]),At=[Hi,ta],Fe.invert&&(Hi=Fe(Hi),ta=Fe(ta)),ta<Hi&&(Oi=Hi,Hi=ta,ta=Oi),(Hi!=vt[0]||ta!=vt[1])&&(vt=[Hi,ta])),Je&&(ya=Di[0],da=Di[1],Fe&&(ya=ya[1],da=da[1]),ar=[ya,da],Je.invert&&(ya=Je(ya),da=Je(da)),da<ya&&(Oi=ya,ya=da,da=Oi),(ya!=_t[0]||da!=_t[1])&&(_t=[ya,da])),Yr):(Fe&&(At?(Hi=At[0],ta=At[1]):(Hi=vt[0],ta=vt[1],Fe.invert&&(Hi=Fe.invert(Hi),ta=Fe.invert(ta)),ta<Hi&&(Oi=Hi,Hi=ta,ta=Oi))),Je&&(ar?(ya=ar[0],da=ar[1]):(ya=_t[0],da=_t[1],Je.invert&&(ya=Je.invert(ya),da=Je.invert(da)),da<ya&&(Oi=ya,ya=da,da=Oi))),Fe&&Je?[[Hi,ya],[ta,da]]:Fe?[Hi,ta]:Je&&[ya,da])},Yr.clear=function(){return Yr.empty()||(vt=[0,0],_t=[0,0],At=ar=null),Yr},Yr.empty=function(){return!!Fe&&vt[0]==vt[1]||!!Je&&_t[0]==_t[1]},p.rebind(Yr,de,"on")};var yu={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},dc=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]];p.text=ki(function(de){return de.responseText}),p.json=function(de,Fe){return Ni(de,"application/json",Ql,Fe)};function Ql(de){return JSON.parse(de.responseText)}p.html=function(de,Fe){return Ni(de,"text/html",eu,Fe)};function eu(de){var Fe=E.createRange();return Fe.selectNode(E.body),Fe.createContextualFragment(de.responseText)}p.xml=ki(function(de){return de.responseXML}),typeof H=="object"&&H.exports?H.exports=p:this.d3=p}).apply(self)}}),Qn=De({"node_modules/d3-time/dist/d3-time.js"(Y,H){(function(p,x){typeof Y=="object"&&typeof H<"u"?x(Y):(p=p||self,x(p.d3=p.d3||{}))})(Y,function(p){"use strict";var x=new Date,S=new Date;function E(fe,Be,Qe,at){function $e(It){return fe(It=arguments.length===0?new Date:new Date(+It)),It}return $e.floor=function(It){return fe(It=new Date(+It)),It},$e.ceil=function(It){return fe(It=new Date(It-1)),Be(It,1),fe(It),It},$e.round=function(It){var Pt=$e(It),Vt=$e.ceil(It);return It-Pt<Vt-It?Pt:Vt},$e.offset=function(It,Pt){return Be(It=new Date(+It),Pt==null?1:Math.floor(Pt)),It},$e.range=function(It,Pt,Vt){var Wt=[],Cr;if(It=$e.ceil(It),Vt=Vt==null?1:Math.floor(Vt),!(It<Pt)||!(Vt>0))return Wt;do Wt.push(Cr=new Date(+It)),Be(It,Vt),fe(It);while(Cr<It&&It<Pt);return Wt},$e.filter=function(It){return E(function(Pt){if(Pt>=Pt)for(;fe(Pt),!It(Pt);)Pt.setTime(Pt-1)},function(Pt,Vt){if(Pt>=Pt)if(Vt<0)for(;++Vt<=0;)for(;Be(Pt,-1),!It(Pt););else for(;--Vt>=0;)for(;Be(Pt,1),!It(Pt););})},Qe&&($e.count=function(It,Pt){return x.setTime(+It),S.setTime(+Pt),fe(x),fe(S),Math.floor(Qe(x,S))},$e.every=function(It){return It=Math.floor(It),!isFinite(It)||!(It>0)?null:It>1?$e.filter(at?function(Pt){return at(Pt)%It===0}:function(Pt){return $e.count(0,Pt)%It===0}):$e}),$e}var e=E(function(){},function(fe,Be){fe.setTime(+fe+Be)},function(fe,Be){return Be-fe});e.every=function(fe){return fe=Math.floor(fe),!isFinite(fe)||!(fe>0)?null:fe>1?E(function(Be){Be.setTime(Math.floor(Be/fe)*fe)},function(Be,Qe){Be.setTime(+Be+Qe*fe)},function(Be,Qe){return(Qe-Be)/fe}):e};var t=e.range,r=1e3,o=6e4,i=36e5,n=864e5,a=6048e5,s=E(function(fe){fe.setTime(fe-fe.getMilliseconds())},function(fe,Be){fe.setTime(+fe+Be*r)},function(fe,Be){return(Be-fe)/r},function(fe){return fe.getUTCSeconds()}),h=s.range,c=E(function(fe){fe.setTime(fe-fe.getMilliseconds()-fe.getSeconds()*r)},function(fe,Be){fe.setTime(+fe+Be*o)},function(fe,Be){return(Be-fe)/o},function(fe){return fe.getMinutes()}),m=c.range,d=E(function(fe){fe.setTime(fe-fe.getMilliseconds()-fe.getSeconds()*r-fe.getMinutes()*o)},function(fe,Be){fe.setTime(+fe+Be*i)},function(fe,Be){return(Be-fe)/i},function(fe){return fe.getHours()}),T=d.range,l=E(function(fe){fe.setHours(0,0,0,0)},function(fe,Be){fe.setDate(fe.getDate()+Be)},function(fe,Be){return(Be-fe-(Be.getTimezoneOffset()-fe.getTimezoneOffset())*o)/n},function(fe){return fe.getDate()-1}),_=l.range;function w(fe){return E(function(Be){Be.setDate(Be.getDate()-(Be.getDay()+7-fe)%7),Be.setHours(0,0,0,0)},function(Be,Qe){Be.setDate(Be.getDate()+Qe*7)},function(Be,Qe){return(Qe-Be-(Qe.getTimezoneOffset()-Be.getTimezoneOffset())*o)/a})}var A=w(0),M=w(1),g=w(2),b=w(3),v=w(4),u=w(5),y=w(6),f=A.range,R=M.range,L=g.range,z=b.range,F=v.range,N=u.range,B=y.range,I=E(function(fe){fe.setDate(1),fe.setHours(0,0,0,0)},function(fe,Be){fe.setMonth(fe.getMonth()+Be)},function(fe,Be){return Be.getMonth()-fe.getMonth()+(Be.getFullYear()-fe.getFullYear())*12},function(fe){return fe.getMonth()}),U=I.range,O=E(function(fe){fe.setMonth(0,1),fe.setHours(0,0,0,0)},function(fe,Be){fe.setFullYear(fe.getFullYear()+Be)},function(fe,Be){return Be.getFullYear()-fe.getFullYear()},function(fe){return fe.getFullYear()});O.every=function(fe){return!isFinite(fe=Math.floor(fe))||!(fe>0)?null:E(function(Be){Be.setFullYear(Math.floor(Be.getFullYear()/fe)*fe),Be.setMonth(0,1),Be.setHours(0,0,0,0)},function(Be,Qe){Be.setFullYear(Be.getFullYear()+Qe*fe)})};var X=O.range,J=E(function(fe){fe.setUTCSeconds(0,0)},function(fe,Be){fe.setTime(+fe+Be*o)},function(fe,Be){return(Be-fe)/o},function(fe){return fe.getUTCMinutes()}),se=J.range,le=E(function(fe){fe.setUTCMinutes(0,0,0)},function(fe,Be){fe.setTime(+fe+Be*i)},function(fe,Be){return(Be-fe)/i},function(fe){return fe.getUTCHours()}),ce=le.range,q=E(function(fe){fe.setUTCHours(0,0,0,0)},function(fe,Be){fe.setUTCDate(fe.getUTCDate()+Be)},function(fe,Be){return(Be-fe)/n},function(fe){return fe.getUTCDate()-1}),Z=q.range;function ee(fe){return E(function(Be){Be.setUTCDate(Be.getUTCDate()-(Be.getUTCDay()+7-fe)%7),Be.setUTCHours(0,0,0,0)},function(Be,Qe){Be.setUTCDate(Be.getUTCDate()+Qe*7)},function(Be,Qe){return(Qe-Be)/a})}var V=ee(0),oe=ee(1),ie=ee(2),j=ee(3),Q=ee(4),re=ee(5),ue=ee(6),_e=V.range,we=oe.range,Re=ie.range,ze=j.range,Xe=Q.range,tt=re.range,it=ue.range,et=E(function(fe){fe.setUTCDate(1),fe.setUTCHours(0,0,0,0)},function(fe,Be){fe.setUTCMonth(fe.getUTCMonth()+Be)},function(fe,Be){return Be.getUTCMonth()-fe.getUTCMonth()+(Be.getUTCFullYear()-fe.getUTCFullYear())*12},function(fe){return fe.getUTCMonth()}),nt=et.range,Ae=E(function(fe){fe.setUTCMonth(0,1),fe.setUTCHours(0,0,0,0)},function(fe,Be){fe.setUTCFullYear(fe.getUTCFullYear()+Be)},function(fe,Be){return Be.getUTCFullYear()-fe.getUTCFullYear()},function(fe){return fe.getUTCFullYear()});Ae.every=function(fe){return!isFinite(fe=Math.floor(fe))||!(fe>0)?null:E(function(Be){Be.setUTCFullYear(Math.floor(Be.getUTCFullYear()/fe)*fe),Be.setUTCMonth(0,1),Be.setUTCHours(0,0,0,0)},function(Be,Qe){Be.setUTCFullYear(Be.getUTCFullYear()+Qe*fe)})};var me=Ae.range;p.timeDay=l,p.timeDays=_,p.timeFriday=u,p.timeFridays=N,p.timeHour=d,p.timeHours=T,p.timeInterval=E,p.timeMillisecond=e,p.timeMilliseconds=t,p.timeMinute=c,p.timeMinutes=m,p.timeMonday=M,p.timeMondays=R,p.timeMonth=I,p.timeMonths=U,p.timeSaturday=y,p.timeSaturdays=B,p.timeSecond=s,p.timeSeconds=h,p.timeSunday=A,p.timeSundays=f,p.timeThursday=v,p.timeThursdays=F,p.timeTuesday=g,p.timeTuesdays=L,p.timeWednesday=b,p.timeWednesdays=z,p.timeWeek=A,p.timeWeeks=f,p.timeYear=O,p.timeYears=X,p.utcDay=q,p.utcDays=Z,p.utcFriday=re,p.utcFridays=tt,p.utcHour=le,p.utcHours=ce,p.utcMillisecond=e,p.utcMilliseconds=t,p.utcMinute=J,p.utcMinutes=se,p.utcMonday=oe,p.utcMondays=we,p.utcMonth=et,p.utcMonths=nt,p.utcSaturday=ue,p.utcSaturdays=it,p.utcSecond=s,p.utcSeconds=h,p.utcSunday=V,p.utcSundays=_e,p.utcThursday=Q,p.utcThursdays=Xe,p.utcTuesday=ie,p.utcTuesdays=Re,p.utcWednesday=j,p.utcWednesdays=ze,p.utcWeek=V,p.utcWeeks=_e,p.utcYear=Ae,p.utcYears=me,Object.defineProperty(p,"__esModule",{value:!0})})}}),Do=De({"node_modules/d3-time-format/dist/d3-time-format.js"(Y,H){(function(p,x){typeof Y=="object"&&typeof H<"u"?x(Y,Qn()):(p=p||self,x(p.d3=p.d3||{},p.d3))})(Y,function(p,x){"use strict";function S(Ne){if(0<=Ne.y&&Ne.y<100){var Ye=new Date(-1,Ne.m,Ne.d,Ne.H,Ne.M,Ne.S,Ne.L);return Ye.setFullYear(Ne.y),Ye}return new Date(Ne.y,Ne.m,Ne.d,Ne.H,Ne.M,Ne.S,Ne.L)}function E(Ne){if(0<=Ne.y&&Ne.y<100){var Ye=new Date(Date.UTC(-1,Ne.m,Ne.d,Ne.H,Ne.M,Ne.S,Ne.L));return Ye.setUTCFullYear(Ne.y),Ye}return new Date(Date.UTC(Ne.y,Ne.m,Ne.d,Ne.H,Ne.M,Ne.S,Ne.L))}function e(Ne,Ye,be){return{y:Ne,m:Ye,d:be,H:0,M:0,S:0,L:0}}function t(Ne){var Ye=Ne.dateTime,be=Ne.date,Ie=Ne.time,qe=Ne.periods,ke=Ne.days,Me=Ne.shortDays,Le=Ne.months,ut=Ne.shortMonths,lt=h(qe),gt=c(qe),kt=h(ke),nr=c(ke),ir=h(Me),tr=c(Me),Ir=h(Le),vi=c(Le),Vi=h(ut),Ui=c(ut),Ki={a:oa,A:ra,b:ca,B:xa,c:null,d:I,e:I,f:se,H:U,I:O,j:X,L:J,m:le,M:ce,p:ji,q:pn,Q:Pt,s:Vt,S:q,u:Z,U:ee,V,w:oe,W:ie,x:null,X:null,y:j,Y:Q,Z:re,"%":It},ea={a:_n,A:En,b:bt,B:st,c:null,d:ue,e:ue,f:Xe,H:_e,I:we,j:Re,L:ze,m:tt,M:it,p:Nr,q:Lr,Q:Pt,s:Vt,S:et,u:nt,U:Ae,V:me,w:fe,W:Be,x:null,X:null,y:Qe,Y:at,Z:$e,"%":It},Bi={a:Zt,A:Jt,b:Br,B:ri,c:ii,d:v,e:v,f:z,H:y,I:y,j:u,L,m:b,M:f,p:zt,q:g,Q:N,s:B,S:R,u:d,U:T,V:l,w:m,W:_,x:di,X:Wi,y:A,Y:w,Z:M,"%":F};Ki.x=_a(be,Ki),Ki.X=_a(Ie,Ki),Ki.c=_a(Ye,Ki),ea.x=_a(be,ea),ea.X=_a(Ie,ea),ea.c=_a(Ye,ea);function _a(br,Rr){return function(jr){var Wr=[],yt=-1,Xt=0,mr=br.length,Or,ki,Ni;for(jr instanceof Date||(jr=new Date(+jr));++yt<mr;)br.charCodeAt(yt)===37&&(Wr.push(br.slice(Xt,yt)),(ki=r[Or=br.charAt(++yt)])!=null?Or=br.charAt(++yt):ki=Or==="e"?" ":"0",(Ni=Rr[Or])&&(Or=Ni(jr,ki)),Wr.push(Or),Xt=yt+1);return Wr.push(br.slice(Xt,yt)),Wr.join("")}}function Ca(br,Rr){return function(jr){var Wr=e(1900,void 0,1),yt=Kt(Wr,br,jr+="",0),Xt,mr;if(yt!=jr.length)return null;if("Q"in Wr)return new Date(Wr.Q);if("s"in Wr)return new Date(Wr.s*1e3+("L"in Wr?Wr.L:0));if(Rr&&!("Z"in Wr)&&(Wr.Z=0),"p"in Wr&&(Wr.H=Wr.H%12+Wr.p*12),Wr.m===void 0&&(Wr.m="q"in Wr?Wr.q:0),"V"in Wr){if(Wr.V<1||Wr.V>53)return null;"w"in Wr||(Wr.w=1),"Z"in Wr?(Xt=E(e(Wr.y,0,1)),mr=Xt.getUTCDay(),Xt=mr>4||mr===0?x.utcMonday.ceil(Xt):x.utcMonday(Xt),Xt=x.utcDay.offset(Xt,(Wr.V-1)*7),Wr.y=Xt.getUTCFullYear(),Wr.m=Xt.getUTCMonth(),Wr.d=Xt.getUTCDate()+(Wr.w+6)%7):(Xt=S(e(Wr.y,0,1)),mr=Xt.getDay(),Xt=mr>4||mr===0?x.timeMonday.ceil(Xt):x.timeMonday(Xt),Xt=x.timeDay.offset(Xt,(Wr.V-1)*7),Wr.y=Xt.getFullYear(),Wr.m=Xt.getMonth(),Wr.d=Xt.getDate()+(Wr.w+6)%7)}else("W"in Wr||"U"in Wr)&&("w"in Wr||(Wr.w="u"in Wr?Wr.u%7:"W"in Wr?1:0),mr="Z"in Wr?E(e(Wr.y,0,1)).getUTCDay():S(e(Wr.y,0,1)).getDay(),Wr.m=0,Wr.d="W"in Wr?(Wr.w+6)%7+Wr.W*7-(mr+5)%7:Wr.w+Wr.U*7-(mr+6)%7);return"Z"in Wr?(Wr.H+=Wr.Z/100|0,Wr.M+=Wr.Z%100,E(Wr)):S(Wr)}}function Kt(br,Rr,jr,Wr){for(var yt=0,Xt=Rr.length,mr=jr.length,Or,ki;yt<Xt;){if(Wr>=mr)return-1;if(Or=Rr.charCodeAt(yt++),Or===37){if(Or=Rr.charAt(yt++),ki=Bi[Or in r?Rr.charAt(yt++):Or],!ki||(Wr=ki(br,jr,Wr))<0)return-1}else if(Or!=jr.charCodeAt(Wr++))return-1}return Wr}function zt(br,Rr,jr){var Wr=lt.exec(Rr.slice(jr));return Wr?(br.p=gt[Wr[0].toLowerCase()],jr+Wr[0].length):-1}function Zt(br,Rr,jr){var Wr=ir.exec(Rr.slice(jr));return Wr?(br.w=tr[Wr[0].toLowerCase()],jr+Wr[0].length):-1}function Jt(br,Rr,jr){var Wr=kt.exec(Rr.slice(jr));return Wr?(br.w=nr[Wr[0].toLowerCase()],jr+Wr[0].length):-1}function Br(br,Rr,jr){var Wr=Vi.exec(Rr.slice(jr));return Wr?(br.m=Ui[Wr[0].toLowerCase()],jr+Wr[0].length):-1}function ri(br,Rr,jr){var Wr=Ir.exec(Rr.slice(jr));return Wr?(br.m=vi[Wr[0].toLowerCase()],jr+Wr[0].length):-1}function ii(br,Rr,jr){return Kt(br,Ye,Rr,jr)}function di(br,Rr,jr){return Kt(br,be,Rr,jr)}function Wi(br,Rr,jr){return Kt(br,Ie,Rr,jr)}function oa(br){return Me[br.getDay()]}function ra(br){return ke[br.getDay()]}function ca(br){return ut[br.getMonth()]}function xa(br){return Le[br.getMonth()]}function ji(br){return qe[+(br.getHours()>=12)]}function pn(br){return 1+~~(br.getMonth()/3)}function _n(br){return Me[br.getUTCDay()]}function En(br){return ke[br.getUTCDay()]}function bt(br){return ut[br.getUTCMonth()]}function st(br){return Le[br.getUTCMonth()]}function Nr(br){return qe[+(br.getUTCHours()>=12)]}function Lr(br){return 1+~~(br.getUTCMonth()/3)}return{format:function(br){var Rr=_a(br+="",Ki);return Rr.toString=function(){return br},Rr},parse:function(br){var Rr=Ca(br+="",!1);return Rr.toString=function(){return br},Rr},utcFormat:function(br){var Rr=_a(br+="",ea);return Rr.toString=function(){return br},Rr},utcParse:function(br){var Rr=Ca(br+="",!0);return Rr.toString=function(){return br},Rr}}}var r={"-":"",_:" ",0:"0"},o=/^\s*\d+/,i=/^%/,n=/[\\^$*+?|[\]().{}]/g;function a(Ne,Ye,be){var Ie=Ne<0?"-":"",qe=(Ie?-Ne:Ne)+"",ke=qe.length;return Ie+(ke<be?new Array(be-ke+1).join(Ye)+qe:qe)}function s(Ne){return Ne.replace(n,"\\$&")}function h(Ne){return new RegExp("^(?:"+Ne.map(s).join("|")+")","i")}function c(Ne){for(var Ye={},be=-1,Ie=Ne.length;++be<Ie;)Ye[Ne[be].toLowerCase()]=be;return Ye}function m(Ne,Ye,be){var Ie=o.exec(Ye.slice(be,be+1));return Ie?(Ne.w=+Ie[0],be+Ie[0].length):-1}function d(Ne,Ye,be){var Ie=o.exec(Ye.slice(be,be+1));return Ie?(Ne.u=+Ie[0],be+Ie[0].length):-1}function T(Ne,Ye,be){var Ie=o.exec(Ye.slice(be,be+2));return Ie?(Ne.U=+Ie[0],be+Ie[0].length):-1}function l(Ne,Ye,be){var Ie=o.exec(Ye.slice(be,be+2));return Ie?(Ne.V=+Ie[0],be+Ie[0].length):-1}function _(Ne,Ye,be){var Ie=o.exec(Ye.slice(be,be+2));return Ie?(Ne.W=+Ie[0],be+Ie[0].length):-1}function w(Ne,Ye,be){var Ie=o.exec(Ye.slice(be,be+4));return Ie?(Ne.y=+Ie[0],be+Ie[0].length):-1}function A(Ne,Ye,be){var Ie=o.exec(Ye.slice(be,be+2));return Ie?(Ne.y=+Ie[0]+(+Ie[0]>68?1900:2e3),be+Ie[0].length):-1}function M(Ne,Ye,be){var Ie=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(Ye.slice(be,be+6));return Ie?(Ne.Z=Ie[1]?0:-(Ie[2]+(Ie[3]||"00")),be+Ie[0].length):-1}function g(Ne,Ye,be){var Ie=o.exec(Ye.slice(be,be+1));return Ie?(Ne.q=Ie[0]*3-3,be+Ie[0].length):-1}function b(Ne,Ye,be){var Ie=o.exec(Ye.slice(be,be+2));return Ie?(Ne.m=Ie[0]-1,be+Ie[0].length):-1}function v(Ne,Ye,be){var Ie=o.exec(Ye.slice(be,be+2));return Ie?(Ne.d=+Ie[0],be+Ie[0].length):-1}function u(Ne,Ye,be){var Ie=o.exec(Ye.slice(be,be+3));return Ie?(Ne.m=0,Ne.d=+Ie[0],be+Ie[0].length):-1}function y(Ne,Ye,be){var Ie=o.exec(Ye.slice(be,be+2));return Ie?(Ne.H=+Ie[0],be+Ie[0].length):-1}function f(Ne,Ye,be){var Ie=o.exec(Ye.slice(be,be+2));return Ie?(Ne.M=+Ie[0],be+Ie[0].length):-1}function R(Ne,Ye,be){var Ie=o.exec(Ye.slice(be,be+2));return Ie?(Ne.S=+Ie[0],be+Ie[0].length):-1}function L(Ne,Ye,be){var Ie=o.exec(Ye.slice(be,be+3));return Ie?(Ne.L=+Ie[0],be+Ie[0].length):-1}function z(Ne,Ye,be){var Ie=o.exec(Ye.slice(be,be+6));return Ie?(Ne.L=Math.floor(Ie[0]/1e3),be+Ie[0].length):-1}function F(Ne,Ye,be){var Ie=i.exec(Ye.slice(be,be+1));return Ie?be+Ie[0].length:-1}function N(Ne,Ye,be){var Ie=o.exec(Ye.slice(be));return Ie?(Ne.Q=+Ie[0],be+Ie[0].length):-1}function B(Ne,Ye,be){var Ie=o.exec(Ye.slice(be));return Ie?(Ne.s=+Ie[0],be+Ie[0].length):-1}function I(Ne,Ye){return a(Ne.getDate(),Ye,2)}function U(Ne,Ye){return a(Ne.getHours(),Ye,2)}function O(Ne,Ye){return a(Ne.getHours()%12||12,Ye,2)}function X(Ne,Ye){return a(1+x.timeDay.count(x.timeYear(Ne),Ne),Ye,3)}function J(Ne,Ye){return a(Ne.getMilliseconds(),Ye,3)}function se(Ne,Ye){return J(Ne,Ye)+"000"}function le(Ne,Ye){return a(Ne.getMonth()+1,Ye,2)}function ce(Ne,Ye){return a(Ne.getMinutes(),Ye,2)}function q(Ne,Ye){return a(Ne.getSeconds(),Ye,2)}function Z(Ne){var Ye=Ne.getDay();return Ye===0?7:Ye}function ee(Ne,Ye){return a(x.timeSunday.count(x.timeYear(Ne)-1,Ne),Ye,2)}function V(Ne,Ye){var be=Ne.getDay();return Ne=be>=4||be===0?x.timeThursday(Ne):x.timeThursday.ceil(Ne),a(x.timeThursday.count(x.timeYear(Ne),Ne)+(x.timeYear(Ne).getDay()===4),Ye,2)}function oe(Ne){return Ne.getDay()}function ie(Ne,Ye){return a(x.timeMonday.count(x.timeYear(Ne)-1,Ne),Ye,2)}function j(Ne,Ye){return a(Ne.getFullYear()%100,Ye,2)}function Q(Ne,Ye){return a(Ne.getFullYear()%1e4,Ye,4)}function re(Ne){var Ye=Ne.getTimezoneOffset();return(Ye>0?"-":(Ye*=-1,"+"))+a(Ye/60|0,"0",2)+a(Ye%60,"0",2)}function ue(Ne,Ye){return a(Ne.getUTCDate(),Ye,2)}function _e(Ne,Ye){return a(Ne.getUTCHours(),Ye,2)}function we(Ne,Ye){return a(Ne.getUTCHours()%12||12,Ye,2)}function Re(Ne,Ye){return a(1+x.utcDay.count(x.utcYear(Ne),Ne),Ye,3)}function ze(Ne,Ye){return a(Ne.getUTCMilliseconds(),Ye,3)}function Xe(Ne,Ye){return ze(Ne,Ye)+"000"}function tt(Ne,Ye){return a(Ne.getUTCMonth()+1,Ye,2)}function it(Ne,Ye){return a(Ne.getUTCMinutes(),Ye,2)}function et(Ne,Ye){return a(Ne.getUTCSeconds(),Ye,2)}function nt(Ne){var Ye=Ne.getUTCDay();return Ye===0?7:Ye}function Ae(Ne,Ye){return a(x.utcSunday.count(x.utcYear(Ne)-1,Ne),Ye,2)}function me(Ne,Ye){var be=Ne.getUTCDay();return Ne=be>=4||be===0?x.utcThursday(Ne):x.utcThursday.ceil(Ne),a(x.utcThursday.count(x.utcYear(Ne),Ne)+(x.utcYear(Ne).getUTCDay()===4),Ye,2)}function fe(Ne){return Ne.getUTCDay()}function Be(Ne,Ye){return a(x.utcMonday.count(x.utcYear(Ne)-1,Ne),Ye,2)}function Qe(Ne,Ye){return a(Ne.getUTCFullYear()%100,Ye,2)}function at(Ne,Ye){return a(Ne.getUTCFullYear()%1e4,Ye,4)}function $e(){return"+0000"}function It(){return"%"}function Pt(Ne){return+Ne}function Vt(Ne){return Math.floor(+Ne/1e3)}var Wt;Cr({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Cr(Ne){return Wt=t(Ne),p.timeFormat=Wt.format,p.timeParse=Wt.parse,p.utcFormat=Wt.utcFormat,p.utcParse=Wt.utcParse,Wt}var yr="%Y-%m-%dT%H:%M:%S.%LZ";function qr(Ne){return Ne.toISOString()}var Mr=Date.prototype.toISOString?qr:p.utcFormat(yr);function Dr(Ne){var Ye=new Date(Ne);return isNaN(Ye)?null:Ye}var xt=+new Date("2000-01-01T00:00:00.000Z")?Dr:p.utcParse(yr);p.isoFormat=Mr,p.isoParse=xt,p.timeFormatDefaultLocale=Cr,p.timeFormatLocale=t,Object.defineProperty(p,"__esModule",{value:!0})})}}),Tn=De({"node_modules/d3-format/dist/d3-format.js"(Y,H){(function(p,x){typeof Y=="object"&&typeof H<"u"?x(Y):(p=typeof globalThis<"u"?globalThis:p||self,x(p.d3=p.d3||{}))})(Y,function(p){"use strict";function x(b){return Math.abs(b=Math.round(b))>=1e21?b.toLocaleString("en").replace(/,/g,""):b.toString(10)}function S(b,v){if((u=(b=v?b.toExponential(v-1):b.toExponential()).indexOf("e"))<0)return null;var u,y=b.slice(0,u);return[y.length>1?y[0]+y.slice(2):y,+b.slice(u+1)]}function E(b){return b=S(Math.abs(b)),b?b[1]:NaN}function e(b,v){return function(u,y){for(var f=u.length,R=[],L=0,z=b[0],F=0;f>0&&z>0&&(F+z+1>y&&(z=Math.max(1,y-F)),R.push(u.substring(f-=z,f+z)),!((F+=z+1)>y));)z=b[L=(L+1)%b.length];return R.reverse().join(v)}}function t(b){return function(v){return v.replace(/[0-9]/g,function(u){return b[+u]})}}var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function o(b){if(!(v=r.exec(b)))throw new Error("invalid format: "+b);var v;return new i({fill:v[1],align:v[2],sign:v[3],symbol:v[4],zero:v[5],width:v[6],comma:v[7],precision:v[8]&&v[8].slice(1),trim:v[9],type:v[10]})}o.prototype=i.prototype;function i(b){this.fill=b.fill===void 0?" ":b.fill+"",this.align=b.align===void 0?">":b.align+"",this.sign=b.sign===void 0?"-":b.sign+"",this.symbol=b.symbol===void 0?"":b.symbol+"",this.zero=!!b.zero,this.width=b.width===void 0?void 0:+b.width,this.comma=!!b.comma,this.precision=b.precision===void 0?void 0:+b.precision,this.trim=!!b.trim,this.type=b.type===void 0?"":b.type+""}i.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function n(b){e:for(var v=b.length,u=1,y=-1,f;u<v;++u)switch(b[u]){case".":y=f=u;break;case"0":y===0&&(y=u),f=u;break;default:if(!+b[u])break e;y>0&&(y=0);break}return y>0?b.slice(0,y)+b.slice(f+1):b}var a;function s(b,v){var u=S(b,v);if(!u)return b+"";var y=u[0],f=u[1],R=f-(a=Math.max(-8,Math.min(8,Math.floor(f/3)))*3)+1,L=y.length;return R===L?y:R>L?y+new Array(R-L+1).join("0"):R>0?y.slice(0,R)+"."+y.slice(R):"0."+new Array(1-R).join("0")+S(b,Math.max(0,v+R-1))[0]}function h(b,v){var u=S(b,v);if(!u)return b+"";var y=u[0],f=u[1];return f<0?"0."+new Array(-f).join("0")+y:y.length>f+1?y.slice(0,f+1)+"."+y.slice(f+1):y+new Array(f-y.length+2).join("0")}var c={"%":function(b,v){return(b*100).toFixed(v)},b:function(b){return Math.round(b).toString(2)},c:function(b){return b+""},d:x,e:function(b,v){return b.toExponential(v)},f:function(b,v){return b.toFixed(v)},g:function(b,v){return b.toPrecision(v)},o:function(b){return Math.round(b).toString(8)},p:function(b,v){return h(b*100,v)},r:h,s,X:function(b){return Math.round(b).toString(16).toUpperCase()},x:function(b){return Math.round(b).toString(16)}};function m(b){return b}var d=Array.prototype.map,T=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function l(b){var v=b.grouping===void 0||b.thousands===void 0?m:e(d.call(b.grouping,Number),b.thousands+""),u=b.currency===void 0?"":b.currency[0]+"",y=b.currency===void 0?"":b.currency[1]+"",f=b.decimal===void 0?".":b.decimal+"",R=b.numerals===void 0?m:t(d.call(b.numerals,String)),L=b.percent===void 0?"%":b.percent+"",z=b.minus===void 0?"-":b.minus+"",F=b.nan===void 0?"NaN":b.nan+"";function N(I){I=o(I);var U=I.fill,O=I.align,X=I.sign,J=I.symbol,se=I.zero,le=I.width,ce=I.comma,q=I.precision,Z=I.trim,ee=I.type;ee==="n"?(ce=!0,ee="g"):c[ee]||(q===void 0&&(q=12),Z=!0,ee="g"),(se||U==="0"&&O==="=")&&(se=!0,U="0",O="=");var V=J==="$"?u:J==="#"&&/[boxX]/.test(ee)?"0"+ee.toLowerCase():"",oe=J==="$"?y:/[%p]/.test(ee)?L:"",ie=c[ee],j=/[defgprs%]/.test(ee);q=q===void 0?6:/[gprs]/.test(ee)?Math.max(1,Math.min(21,q)):Math.max(0,Math.min(20,q));function Q(re){var ue=V,_e=oe,we,Re,ze;if(ee==="c")_e=ie(re)+_e,re="";else{re=+re;var Xe=re<0||1/re<0;if(re=isNaN(re)?F:ie(Math.abs(re),q),Z&&(re=n(re)),Xe&&+re==0&&X!=="+"&&(Xe=!1),ue=(Xe?X==="("?X:z:X==="-"||X==="("?"":X)+ue,_e=(ee==="s"?T[8+a/3]:"")+_e+(Xe&&X==="("?")":""),j){for(we=-1,Re=re.length;++we<Re;)if(ze=re.charCodeAt(we),48>ze||ze>57){_e=(ze===46?f+re.slice(we+1):re.slice(we))+_e,re=re.slice(0,we);break}}}ce&&!se&&(re=v(re,1/0));var tt=ue.length+re.length+_e.length,it=tt<le?new Array(le-tt+1).join(U):"";switch(ce&&se&&(re=v(it+re,it.length?le-_e.length:1/0),it=""),O){case"<":re=ue+re+_e+it;break;case"=":re=ue+it+re+_e;break;case"^":re=it.slice(0,tt=it.length>>1)+ue+re+_e+it.slice(tt);break;default:re=it+ue+re+_e;break}return R(re)}return Q.toString=function(){return I+""},Q}function B(I,U){var O=N((I=o(I),I.type="f",I)),X=Math.max(-8,Math.min(8,Math.floor(E(U)/3)))*3,J=Math.pow(10,-X),se=T[8+X/3];return function(le){return O(J*le)+se}}return{format:N,formatPrefix:B}}var _;w({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function w(b){return _=l(b),p.format=_.format,p.formatPrefix=_.formatPrefix,_}function A(b){return Math.max(0,-E(Math.abs(b)))}function M(b,v){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(E(v)/3)))*3-E(Math.abs(b)))}function g(b,v){return b=Math.abs(b),v=Math.abs(v)-b,Math.max(0,E(v)-E(b))+1}p.FormatSpecifier=i,p.formatDefaultLocale=w,p.formatLocale=l,p.formatSpecifier=o,p.precisionFixed=A,p.precisionPrefix=M,p.precisionRound=g,Object.defineProperty(p,"__esModule",{value:!0})})}}),lo=De({"node_modules/is-string-blank/index.js"(Y,H){"use strict";H.exports=function(p){for(var x=p.length,S,E=0;E<x;E++)if(S=p.charCodeAt(E),(S<9||S>13)&&S!==32&&S!==133&&S!==160&&S!==5760&&S!==6158&&(S<8192||S>8205)&&S!==8232&&S!==8233&&S!==8239&&S!==8287&&S!==8288&&S!==12288&&S!==65279)return!1;return!0}}}),vn=De({"node_modules/fast-isnumeric/index.js"(Y,H){"use strict";var p=lo();H.exports=function(x){var S=typeof x;if(S==="string"){var E=x;if(x=+x,x===0&&p(E))return!1}else if(S!=="number")return!1;return x-x<1}}}),zn=De({"src/constants/numerical.js"(Y,H){"use strict";H.exports={BADNUM:void 0,FP_SAFE:Number.MAX_VALUE*1e-4,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,ONEMILLI:1,ONEMICROSEC:.001,EPOCHJD:24405875e-1,ALMOST_EQUAL:1-1e-6,LOG_CLIP:10,MINUS_SIGN:"\u2212"}}}),zl=De({"node_modules/base64-arraybuffer/dist/base64-arraybuffer.umd.js"(Y,H){(function(p,x){typeof Y=="object"&&typeof H<"u"?x(Y):(p=typeof globalThis<"u"?globalThis:p||self,x(p["base64-arraybuffer"]={}))})(Y,function(p){"use strict";for(var x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",S=typeof Uint8Array>"u"?[]:new Uint8Array(256),E=0;E<x.length;E++)S[x.charCodeAt(E)]=E;var e=function(r){var o=new Uint8Array(r),i,n=o.length,a="";for(i=0;i<n;i+=3)a+=x[o[i]>>2],a+=x[(o[i]&3)<<4|o[i+1]>>4],a+=x[(o[i+1]&15)<<2|o[i+2]>>6],a+=x[o[i+2]&63];return n%3===2?a=a.substring(0,a.length-1)+"=":n%3===1&&(a=a.substring(0,a.length-2)+"=="),a},t=function(r){var o=r.length*.75,i=r.length,n,a=0,s,h,c,m;r[r.length-1]==="="&&(o--,r[r.length-2]==="="&&o--);var d=new ArrayBuffer(o),T=new Uint8Array(d);for(n=0;n<i;n+=4)s=S[r.charCodeAt(n)],h=S[r.charCodeAt(n+1)],c=S[r.charCodeAt(n+2)],m=S[r.charCodeAt(n+3)],T[a++]=s<<2|h>>4,T[a++]=(h&15)<<4|c>>2,T[a++]=(c&3)<<6|m&63;return d};p.decode=t,p.encode=e,Object.defineProperty(p,"__esModule",{value:!0})})}}),fu=De({"src/lib/is_plain_object.js"(Y,H){"use strict";H.exports=function(x){return window&&window.process&&window.process.versions?Object.prototype.toString.call(x)==="[object Object]":Object.prototype.toString.call(x)==="[object Object]"&&Object.getPrototypeOf(x).hasOwnProperty("hasOwnProperty")}}}),vl=De({"src/lib/array.js"(Y){"use strict";var H=zl().decode,p=fu(),x=Array.isArray,S=ArrayBuffer,E=DataView;function e(s){return S.isView(s)&&!(s instanceof E)}Y.isTypedArray=e;function t(s){return x(s)||e(s)}Y.isArrayOrTypedArray=t;function r(s){return!t(s[0])}Y.isArray1D=r,Y.ensureArray=function(s,h){return x(s)||(s=[]),s.length=h,s};var o={u1c:typeof Uint8ClampedArray>"u"?void 0:Uint8ClampedArray,i1:typeof Int8Array>"u"?void 0:Int8Array,u1:typeof Uint8Array>"u"?void 0:Uint8Array,i2:typeof Int16Array>"u"?void 0:Int16Array,u2:typeof Uint16Array>"u"?void 0:Uint16Array,i4:typeof Int32Array>"u"?void 0:Int32Array,u4:typeof Uint32Array>"u"?void 0:Uint32Array,f4:typeof Float32Array>"u"?void 0:Float32Array,f8:typeof Float64Array>"u"?void 0:Float64Array};o.uint8c=o.u1c,o.uint8=o.u1,o.int8=o.i1,o.uint16=o.u2,o.int16=o.i2,o.uint32=o.u4,o.int32=o.i4,o.float32=o.f4,o.float64=o.f8;function i(s){return s.constructor===ArrayBuffer}Y.isArrayBuffer=i,Y.decodeTypedArraySpec=function(s){var h=[],c=n(s),m=c.dtype,d=o[m];if(!d)throw new Error('Error in dtype: "'+m+'"');var T=d.BYTES_PER_ELEMENT,l=c.bdata;i(l)||(l=H(l));var _=c.shape===void 0?[l.byteLength/T]:(""+c.shape).split(",");_.reverse();var w=_.length,A,M,g=+_[0],b=T*g,v=0;if(w===1)h=new d(l);else if(w===2)for(A=+_[1],M=0;M<A;M++)h[M]=new d(l,v,g),v+=b;else if(w===3){A=+_[1];for(var u=+_[2],y=0;y<u;y++)for(h[y]=[],M=0;M<A;M++)h[y][M]=new d(l,v,g),v+=b}else throw new Error("ndim: "+w+'is not supported with the shape:"'+c.shape+'"');return h.bdata=c.bdata,h.dtype=c.dtype,h.shape=_.reverse().join(","),s._inputArray=h,h},Y.isTypedArraySpec=function(s){return p(s)&&s.hasOwnProperty("dtype")&&typeof s.dtype=="string"&&s.hasOwnProperty("bdata")&&(typeof s.bdata=="string"||i(s.bdata))&&(s.shape===void 0||s.hasOwnProperty("shape")&&(typeof s.shape=="string"||typeof s.shape=="number"))};function n(s){return{bdata:s.bdata,dtype:s.dtype,shape:s.shape}}Y.concat=function(){var s=[],h=!0,c=0,m,d,T,l,_,w,A,M;for(T=0;T<arguments.length;T++)l=arguments[T],w=l.length,w&&(d?s.push(l):(d=l,_=w),x(l)?m=!1:(h=!1,c?m!==l.constructor&&(m=!1):m=l.constructor),c+=w);if(!c)return[];if(!s.length)return d;if(h)return d.concat.apply(d,s);if(m){for(A=new m(c),A.set(d),T=0;T<s.length;T++)l=s[T],A.set(l,_),_+=l.length;return A}for(A=new Array(c),M=0;M<d.length;M++)A[M]=d[M];for(T=0;T<s.length;T++){for(l=s[T],M=0;M<l.length;M++)A[_+M]=l[M];_+=M}return A},Y.maxRowLength=function(s){return a(s,Math.max,0)},Y.minRowLength=function(s){return a(s,Math.min,1/0)};function a(s,h,c){if(t(s))if(t(s[0])){for(var m=c,d=0;d<s.length;d++)m=h(m,s[d].length);return m}else return s.length;return 0}}}),bu=De({"src/lib/nested_property.js"(Y,H){"use strict";var p=vn(),x=vl().isArrayOrTypedArray;H.exports=function(s,h){if(p(h))h=String(h);else if(typeof h!="string"||h.slice(-4)==="[-1]")throw"bad property string";var c=h.split("."),m,d,T,l;for(l=0;l<c.length;l++)if(String(c[l]).slice(0,2)==="__")throw"bad property string";for(l=0;l<c.length;){if(m=String(c[l]).match(/^([^\[\]]*)((\[\-?[0-9]*\])+)$/),m){if(m[1])c[l]=m[1];else if(l===0)c.splice(0,1);else throw"bad property string";for(d=m[2].slice(1,-1).split("]["),T=0;T<d.length;T++)l++,c.splice(l,0,Number(d[T]))}l++}return typeof s!="object"?n(s,h,c):{set:t(s,c,h),get:S(s,c),astr:h,parts:c,obj:s}};function S(a,s){return function(h){var c=a,m,d,T,l,_;for(l=0;l<s.length-1;l++){if(m=s[l],m===-1){for(d=!0,T=[],_=0;_<c.length;_++)T[_]=S(c[_],s.slice(l+1))(h),T[_]!==T[0]&&(d=!1);return d?T[0]:T}if(typeof m=="number"&&!x(c)||(c=c[m],typeof c!="object"||c===null))return}if(!(typeof c!="object"||c===null)&&(T=c[s[l]],!(!h&&T===null)))return T}}var E=/(^|\.)args\[/;function e(a,s){return a===void 0||a===null&&!s.match(E)}function t(a,s,h){return function(c){var m=a,d="",T=[[a,d]],l=e(c,h),_,w;for(w=0;w<s.length-1;w++){if(_=s[w],typeof _=="number"&&!x(m))throw"array index but container is not an array";if(_===-1){if(l=!o(m,s.slice(w+1),c,h),l)break;return}if(!i(m,_,s[w+1],l))break;if(m=m[_],typeof m!="object"||m===null)throw"container is not an object";d=r(d,_),T.push([m,d])}if(l){if(w===s.length-1&&(delete m[s[w]],Array.isArray(m)&&+s[w]===m.length-1))for(;m.length&&m[m.length-1]===void 0;)m.pop()}else m[s[w]]=c}}function r(a,s){var h=s;return p(s)?h="["+s+"]":a&&(h="."+s),a+h}function o(a,s,h,c){var m=x(h),d=!0,T=h,l=c.replace("-1",0),_=m?!1:e(h,l),w=s[0],A;for(A=0;A<a.length;A++)l=c.replace("-1",A),m&&(T=h[A%h.length],_=e(T,l)),_&&(d=!1),i(a,A,w,_)&&t(a[A],s,c.replace("-1",A))(T);return d}function i(a,s,h,c){if(a[s]===void 0){if(c)return!1;typeof h=="number"?a[s]=[]:a[s]={}}return!0}function n(a,s,h){return{set:function(){throw"bad container"},get:function(){},astr:s,parts:h,obj:a}}}}),Tf=De({"src/lib/keyed_container.js"(Y,H){"use strict";var p=bu(),x=/^\w*$/,S=0,E=1,e=2,t=3,r=4;H.exports=function(i,n,a,s){a=a||"name",s=s||"value";var h,c,m,d={};n&&n.length?(m=p(i,n),c=m.get()):c=i,n=n||"";var T={};if(c)for(h=0;h<c.length;h++)T[c[h][a]]=h;var l=x.test(s),_={set:function(w,A){var M=A===null?r:S;if(!c){if(!m||M===r)return;c=[],m.set(c)}var g=T[w];if(g===void 0){if(M===r)return;M=M|t,g=c.length,T[w]=g}else A!==(l?c[g][s]:p(c[g],s).get())&&(M=M|e);var b=c[g]=c[g]||{};return b[a]=w,l?b[s]=A:p(b,s).set(A),A!==null&&(M=M&~r),d[g]=d[g]|M,_},get:function(w){if(c){var A=T[w];if(A!==void 0)return l?c[A][s]:p(c[A],s).get()}},rename:function(w,A){var M=T[w];return M===void 0||(d[M]=d[M]|E,T[A]=M,delete T[w],c[M][a]=A),_},remove:function(w){var A=T[w];if(A===void 0)return _;var M=c[A];if(Object.keys(M).length>2)return d[A]=d[A]|e,_.set(w,null);if(l){for(h=A;h<c.length;h++)d[h]=d[h]|t;for(h=A;h<c.length;h++)T[c[h][a]]--;c.splice(A,1),delete T[w]}else p(M,s).set(null),d[A]=d[A]|e|r;return _},constructUpdate:function(){for(var w,A,M={},g=Object.keys(d),b=0;b<g.length;b++)A=g[b],w=n+"["+A+"]",c[A]?(d[A]&E&&(M[w+"."+a]=c[A][a]),d[A]&e&&(l?M[w+"."+s]=d[A]&r?null:c[A][s]:M[w+"."+s]=d[A]&r?null:p(c[A],s).get())):M[w]=null;return M}};return _}}}),Hc=De({"src/lib/relative_attr.js"(Y,H){"use strict";var p=/^(.*)(\.[^\.\[\]]+|\[\d\])$/,x=/^[^\.\[\]]+$/;H.exports=function(S,E){for(;E;){var e=S.match(p);if(e)S=e[1];else if(S.match(x))S="";else throw new Error("bad relativeAttr call:"+[S,E]);if(E.charAt(0)==="^")E=E.slice(1);else break}return S&&E.charAt(0)!=="["?S+"."+E:S+E}}}),Ac=De({"src/lib/to_log_range.js"(Y,H){"use strict";var p=vn();H.exports=function(S,E){if(S>0)return Math.log(S)/Math.LN10;var e=Math.log(Math.min(E[0],E[1]))/Math.LN10;return p(e)||(e=Math.log(Math.max(E[0],E[1]))/Math.LN10-6),e}}}),af=De({"src/lib/relink_private.js"(Y,H){"use strict";var p=vl().isArrayOrTypedArray,x=fu();H.exports=function S(E,e){for(var t in e){var r=e[t],o=E[t];if(o!==r)if(t.charAt(0)==="_"||typeof r=="function"){if(t in E)continue;E[t]=r}else if(p(r)&&p(o)&&x(r[0])){if(t==="customdata"||t==="ids")continue;for(var i=Math.min(r.length,o.length),n=0;n<i;n++)o[n]!==r[n]&&x(r[n])&&x(o[n])&&S(o[n],r[n])}else x(r)&&x(o)&&(S(o,r),Object.keys(o).length||delete E[t])}}}}),gf=De({"src/lib/mod.js"(Y,H){"use strict";function p(S,E){var e=S%E;return e<0?e+E:e}function x(S,E){return Math.abs(S)>E/2?S-Math.round(S/E)*E:S}H.exports={mod:p,modHalf:x}}}),wu=De({"node_modules/tinycolor2/tinycolor.js"(Y,H){(function(p){var x=/^\s+/,S=/\s+$/,E=0,e=p.round,t=p.min,r=p.max,o=p.random;function i(j,Q){if(j=j||"",Q=Q||{},j instanceof i)return j;if(!(this instanceof i))return new i(j,Q);var re=n(j);this._originalInput=j,this._r=re.r,this._g=re.g,this._b=re.b,this._a=re.a,this._roundA=e(100*this._a)/100,this._format=Q.format||re.format,this._gradientType=Q.gradientType,this._r<1&&(this._r=e(this._r)),this._g<1&&(this._g=e(this._g)),this._b<1&&(this._b=e(this._b)),this._ok=re.ok,this._tc_id=E++}i.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var j=this.toRgb();return(j.r*299+j.g*587+j.b*114)/1e3},getLuminance:function(){var j=this.toRgb(),Q,re,ue,_e,we,Re;return Q=j.r/255,re=j.g/255,ue=j.b/255,Q<=.03928?_e=Q/12.92:_e=p.pow((Q+.055)/1.055,2.4),re<=.03928?we=re/12.92:we=p.pow((re+.055)/1.055,2.4),ue<=.03928?Re=ue/12.92:Re=p.pow((ue+.055)/1.055,2.4),.2126*_e+.7152*we+.0722*Re},setAlpha:function(j){return this._a=I(j),this._roundA=e(100*this._a)/100,this},toHsv:function(){var j=c(this._r,this._g,this._b);return{h:j.h*360,s:j.s,v:j.v,a:this._a}},toHsvString:function(){var j=c(this._r,this._g,this._b),Q=e(j.h*360),re=e(j.s*100),ue=e(j.v*100);return this._a==1?"hsv("+Q+", "+re+"%, "+ue+"%)":"hsva("+Q+", "+re+"%, "+ue+"%, "+this._roundA+")"},toHsl:function(){var j=s(this._r,this._g,this._b);return{h:j.h*360,s:j.s,l:j.l,a:this._a}},toHslString:function(){var j=s(this._r,this._g,this._b),Q=e(j.h*360),re=e(j.s*100),ue=e(j.l*100);return this._a==1?"hsl("+Q+", "+re+"%, "+ue+"%)":"hsla("+Q+", "+re+"%, "+ue+"%, "+this._roundA+")"},toHex:function(j){return d(this._r,this._g,this._b,j)},toHexString:function(j){return"#"+this.toHex(j)},toHex8:function(j){return T(this._r,this._g,this._b,this._a,j)},toHex8String:function(j){return"#"+this.toHex8(j)},toRgb:function(){return{r:e(this._r),g:e(this._g),b:e(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+e(this._r)+", "+e(this._g)+", "+e(this._b)+")":"rgba("+e(this._r)+", "+e(this._g)+", "+e(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:e(U(this._r,255)*100)+"%",g:e(U(this._g,255)*100)+"%",b:e(U(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+e(U(this._r,255)*100)+"%, "+e(U(this._g,255)*100)+"%, "+e(U(this._b,255)*100)+"%)":"rgba("+e(U(this._r,255)*100)+"%, "+e(U(this._g,255)*100)+"%, "+e(U(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:N[d(this._r,this._g,this._b,!0)]||!1},toFilter:function(j){var Q="#"+l(this._r,this._g,this._b,this._a),re=Q,ue=this._gradientType?"GradientType = 1, ":"";if(j){var _e=i(j);re="#"+l(_e._r,_e._g,_e._b,_e._a)}return"progid:DXImageTransform.Microsoft.gradient("+ue+"startColorstr="+Q+",endColorstr="+re+")"},toString:function(j){var Q=!!j;j=j||this._format;var re=!1,ue=this._a<1&&this._a>=0,_e=!Q&&ue&&(j==="hex"||j==="hex6"||j==="hex3"||j==="hex4"||j==="hex8"||j==="name");return _e?j==="name"&&this._a===0?this.toName():this.toRgbString():(j==="rgb"&&(re=this.toRgbString()),j==="prgb"&&(re=this.toPercentageRgbString()),(j==="hex"||j==="hex6")&&(re=this.toHexString()),j==="hex3"&&(re=this.toHexString(!0)),j==="hex4"&&(re=this.toHex8String(!0)),j==="hex8"&&(re=this.toHex8String()),j==="name"&&(re=this.toName()),j==="hsl"&&(re=this.toHslString()),j==="hsv"&&(re=this.toHsvString()),re||this.toHexString())},clone:function(){return i(this.toString())},_applyModification:function(j,Q){var re=j.apply(null,[this].concat([].slice.call(Q)));return this._r=re._r,this._g=re._g,this._b=re._b,this.setAlpha(re._a),this},lighten:function(){return this._applyModification(M,arguments)},brighten:function(){return this._applyModification(g,arguments)},darken:function(){return this._applyModification(b,arguments)},desaturate:function(){return this._applyModification(_,arguments)},saturate:function(){return this._applyModification(w,arguments)},greyscale:function(){return this._applyModification(A,arguments)},spin:function(){return this._applyModification(v,arguments)},_applyCombination:function(j,Q){return j.apply(null,[this].concat([].slice.call(Q)))},analogous:function(){return this._applyCombination(L,arguments)},complement:function(){return this._applyCombination(u,arguments)},monochromatic:function(){return this._applyCombination(z,arguments)},splitcomplement:function(){return this._applyCombination(R,arguments)},triad:function(){return this._applyCombination(y,arguments)},tetrad:function(){return this._applyCombination(f,arguments)}},i.fromRatio=function(j,Q){if(typeof j=="object"){var re={};for(var ue in j)j.hasOwnProperty(ue)&&(ue==="a"?re[ue]=j[ue]:re[ue]=ce(j[ue]));j=re}return i(j,Q)};function n(j){var Q={r:0,g:0,b:0},re=1,ue=null,_e=null,we=null,Re=!1,ze=!1;return typeof j=="string"&&(j=oe(j)),typeof j=="object"&&(V(j.r)&&V(j.g)&&V(j.b)?(Q=a(j.r,j.g,j.b),Re=!0,ze=String(j.r).substr(-1)==="%"?"prgb":"rgb"):V(j.h)&&V(j.s)&&V(j.v)?(ue=ce(j.s),_e=ce(j.v),Q=m(j.h,ue,_e),Re=!0,ze="hsv"):V(j.h)&&V(j.s)&&V(j.l)&&(ue=ce(j.s),we=ce(j.l),Q=h(j.h,ue,we),Re=!0,ze="hsl"),j.hasOwnProperty("a")&&(re=j.a)),re=I(re),{ok:Re,format:j.format||ze,r:t(255,r(Q.r,0)),g:t(255,r(Q.g,0)),b:t(255,r(Q.b,0)),a:re}}function a(j,Q,re){return{r:U(j,255)*255,g:U(Q,255)*255,b:U(re,255)*255}}function s(j,Q,re){j=U(j,255),Q=U(Q,255),re=U(re,255);var ue=r(j,Q,re),_e=t(j,Q,re),we,Re,ze=(ue+_e)/2;if(ue==_e)we=Re=0;else{var Xe=ue-_e;switch(Re=ze>.5?Xe/(2-ue-_e):Xe/(ue+_e),ue){case j:we=(Q-re)/Xe+(Q<re?6:0);break;case Q:we=(re-j)/Xe+2;break;case re:we=(j-Q)/Xe+4;break}we/=6}return{h:we,s:Re,l:ze}}function h(j,Q,re){var ue,_e,we;j=U(j,360),Q=U(Q,100),re=U(re,100);function Re(tt,it,et){return et<0&&(et+=1),et>1&&(et-=1),et<1/6?tt+(it-tt)*6*et:et<1/2?it:et<2/3?tt+(it-tt)*(2/3-et)*6:tt}if(Q===0)ue=_e=we=re;else{var ze=re<.5?re*(1+Q):re+Q-re*Q,Xe=2*re-ze;ue=Re(Xe,ze,j+1/3),_e=Re(Xe,ze,j),we=Re(Xe,ze,j-1/3)}return{r:ue*255,g:_e*255,b:we*255}}function c(j,Q,re){j=U(j,255),Q=U(Q,255),re=U(re,255);var ue=r(j,Q,re),_e=t(j,Q,re),we,Re,ze=ue,Xe=ue-_e;if(Re=ue===0?0:Xe/ue,ue==_e)we=0;else{switch(ue){case j:we=(Q-re)/Xe+(Q<re?6:0);break;case Q:we=(re-j)/Xe+2;break;case re:we=(j-Q)/Xe+4;break}we/=6}return{h:we,s:Re,v:ze}}function m(j,Q,re){j=U(j,360)*6,Q=U(Q,100),re=U(re,100);var ue=p.floor(j),_e=j-ue,we=re*(1-Q),Re=re*(1-_e*Q),ze=re*(1-(1-_e)*Q),Xe=ue%6,tt=[re,Re,we,we,ze,re][Xe],it=[ze,re,re,Re,we,we][Xe],et=[we,we,ze,re,re,Re][Xe];return{r:tt*255,g:it*255,b:et*255}}function d(j,Q,re,ue){var _e=[le(e(j).toString(16)),le(e(Q).toString(16)),le(e(re).toString(16))];return ue&&_e[0].charAt(0)==_e[0].charAt(1)&&_e[1].charAt(0)==_e[1].charAt(1)&&_e[2].charAt(0)==_e[2].charAt(1)?_e[0].charAt(0)+_e[1].charAt(0)+_e[2].charAt(0):_e.join("")}function T(j,Q,re,ue,_e){var we=[le(e(j).toString(16)),le(e(Q).toString(16)),le(e(re).toString(16)),le(q(ue))];return _e&&we[0].charAt(0)==we[0].charAt(1)&&we[1].charAt(0)==we[1].charAt(1)&&we[2].charAt(0)==we[2].charAt(1)&&we[3].charAt(0)==we[3].charAt(1)?we[0].charAt(0)+we[1].charAt(0)+we[2].charAt(0)+we[3].charAt(0):we.join("")}function l(j,Q,re,ue){var _e=[le(q(ue)),le(e(j).toString(16)),le(e(Q).toString(16)),le(e(re).toString(16))];return _e.join("")}i.equals=function(j,Q){return!j||!Q?!1:i(j).toRgbString()==i(Q).toRgbString()},i.random=function(){return i.fromRatio({r:o(),g:o(),b:o()})};function _(j,Q){Q=Q===0?0:Q||10;var re=i(j).toHsl();return re.s-=Q/100,re.s=O(re.s),i(re)}function w(j,Q){Q=Q===0?0:Q||10;var re=i(j).toHsl();return re.s+=Q/100,re.s=O(re.s),i(re)}function A(j){return i(j).desaturate(100)}function M(j,Q){Q=Q===0?0:Q||10;var re=i(j).toHsl();return re.l+=Q/100,re.l=O(re.l),i(re)}function g(j,Q){Q=Q===0?0:Q||10;var re=i(j).toRgb();return re.r=r(0,t(255,re.r-e(255*-(Q/100)))),re.g=r(0,t(255,re.g-e(255*-(Q/100)))),re.b=r(0,t(255,re.b-e(255*-(Q/100)))),i(re)}function b(j,Q){Q=Q===0?0:Q||10;var re=i(j).toHsl();return re.l-=Q/100,re.l=O(re.l),i(re)}function v(j,Q){var re=i(j).toHsl(),ue=(re.h+Q)%360;return re.h=ue<0?360+ue:ue,i(re)}function u(j){var Q=i(j).toHsl();return Q.h=(Q.h+180)%360,i(Q)}function y(j){var Q=i(j).toHsl(),re=Q.h;return[i(j),i({h:(re+120)%360,s:Q.s,l:Q.l}),i({h:(re+240)%360,s:Q.s,l:Q.l})]}function f(j){var Q=i(j).toHsl(),re=Q.h;return[i(j),i({h:(re+90)%360,s:Q.s,l:Q.l}),i({h:(re+180)%360,s:Q.s,l:Q.l}),i({h:(re+270)%360,s:Q.s,l:Q.l})]}function R(j){var Q=i(j).toHsl(),re=Q.h;return[i(j),i({h:(re+72)%360,s:Q.s,l:Q.l}),i({h:(re+216)%360,s:Q.s,l:Q.l})]}function L(j,Q,re){Q=Q||6,re=re||30;var ue=i(j).toHsl(),_e=360/re,we=[i(j)];for(ue.h=(ue.h-(_e*Q>>1)+720)%360;--Q;)ue.h=(ue.h+_e)%360,we.push(i(ue));return we}function z(j,Q){Q=Q||6;for(var re=i(j).toHsv(),ue=re.h,_e=re.s,we=re.v,Re=[],ze=1/Q;Q--;)Re.push(i({h:ue,s:_e,v:we})),we=(we+ze)%1;return Re}i.mix=function(j,Q,re){re=re===0?0:re||50;var ue=i(j).toRgb(),_e=i(Q).toRgb(),we=re/100,Re={r:(_e.r-ue.r)*we+ue.r,g:(_e.g-ue.g)*we+ue.g,b:(_e.b-ue.b)*we+ue.b,a:(_e.a-ue.a)*we+ue.a};return i(Re)},i.readability=function(j,Q){var re=i(j),ue=i(Q);return(p.max(re.getLuminance(),ue.getLuminance())+.05)/(p.min(re.getLuminance(),ue.getLuminance())+.05)},i.isReadable=function(j,Q,re){var ue=i.readability(j,Q),_e,we;switch(we=!1,_e=ie(re),_e.level+_e.size){case"AAsmall":case"AAAlarge":we=ue>=4.5;break;case"AAlarge":we=ue>=3;break;case"AAAsmall":we=ue>=7;break}return we},i.mostReadable=function(j,Q,re){var ue=null,_e=0,we,Re,ze,Xe;re=re||{},Re=re.includeFallbackColors,ze=re.level,Xe=re.size;for(var tt=0;tt<Q.length;tt++)we=i.readability(j,Q[tt]),we>_e&&(_e=we,ue=i(Q[tt]));return i.isReadable(j,ue,{level:ze,size:Xe})||!Re?ue:(re.includeFallbackColors=!1,i.mostReadable(j,["#fff","#000"],re))};var F=i.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},N=i.hexNames=B(F);function B(j){var Q={};for(var re in j)j.hasOwnProperty(re)&&(Q[j[re]]=re);return Q}function I(j){return j=parseFloat(j),(isNaN(j)||j<0||j>1)&&(j=1),j}function U(j,Q){J(j)&&(j="100%");var re=se(j);return j=t(Q,r(0,parseFloat(j))),re&&(j=parseInt(j*Q,10)/100),p.abs(j-Q)<1e-6?1:j%Q/parseFloat(Q)}function O(j){return t(1,r(0,j))}function X(j){return parseInt(j,16)}function J(j){return typeof j=="string"&&j.indexOf(".")!=-1&&parseFloat(j)===1}function se(j){return typeof j=="string"&&j.indexOf("%")!=-1}function le(j){return j.length==1?"0"+j:""+j}function ce(j){return j<=1&&(j=j*100+"%"),j}function q(j){return p.round(parseFloat(j)*255).toString(16)}function Z(j){return X(j)/255}var ee=function(){var j="[-\\+]?\\d+%?",Q="[-\\+]?\\d*\\.\\d+%?",re="(?:"+Q+")|(?:"+j+")",ue="[\\s|\\(]+("+re+")[,|\\s]+("+re+")[,|\\s]+("+re+")\\s*\\)?",_e="[\\s|\\(]+("+re+")[,|\\s]+("+re+")[,|\\s]+("+re+")[,|\\s]+("+re+")\\s*\\)?";return{CSS_UNIT:new RegExp(re),rgb:new RegExp("rgb"+ue),rgba:new RegExp("rgba"+_e),hsl:new RegExp("hsl"+ue),hsla:new RegExp("hsla"+_e),hsv:new RegExp("hsv"+ue),hsva:new RegExp("hsva"+_e),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function V(j){return!!ee.CSS_UNIT.exec(j)}function oe(j){j=j.replace(x,"").replace(S,"").toLowerCase();var Q=!1;if(F[j])j=F[j],Q=!0;else if(j=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var re;return(re=ee.rgb.exec(j))?{r:re[1],g:re[2],b:re[3]}:(re=ee.rgba.exec(j))?{r:re[1],g:re[2],b:re[3],a:re[4]}:(re=ee.hsl.exec(j))?{h:re[1],s:re[2],l:re[3]}:(re=ee.hsla.exec(j))?{h:re[1],s:re[2],l:re[3],a:re[4]}:(re=ee.hsv.exec(j))?{h:re[1],s:re[2],v:re[3]}:(re=ee.hsva.exec(j))?{h:re[1],s:re[2],v:re[3],a:re[4]}:(re=ee.hex8.exec(j))?{r:X(re[1]),g:X(re[2]),b:X(re[3]),a:Z(re[4]),format:Q?"name":"hex8"}:(re=ee.hex6.exec(j))?{r:X(re[1]),g:X(re[2]),b:X(re[3]),format:Q?"name":"hex"}:(re=ee.hex4.exec(j))?{r:X(re[1]+""+re[1]),g:X(re[2]+""+re[2]),b:X(re[3]+""+re[3]),a:Z(re[4]+""+re[4]),format:Q?"name":"hex8"}:(re=ee.hex3.exec(j))?{r:X(re[1]+""+re[1]),g:X(re[2]+""+re[2]),b:X(re[3]+""+re[3]),format:Q?"name":"hex"}:!1}function ie(j){var Q,re;return j=j||{level:"AA",size:"small"},Q=(j.level||"AA").toUpperCase(),re=(j.size||"small").toLowerCase(),Q!=="AA"&&Q!=="AAA"&&(Q="AA"),re!=="small"&&re!=="large"&&(re="small"),{level:Q,size:re}}typeof H<"u"&&H.exports?H.exports=i:window.tinycolor=i})(Math)}}),Xo=De({"src/lib/extend.js"(Y){"use strict";var H=fu(),p=Array.isArray;function x(E,e){var t,r;for(t=0;t<E.length;t++){if(r=E[t],r!==null&&typeof r=="object")return!1;r!==void 0&&(e[t]=r)}return!0}Y.extendFlat=function(){return S(arguments,!1,!1,!1)},Y.extendDeep=function(){return S(arguments,!0,!1,!1)},Y.extendDeepAll=function(){return S(arguments,!0,!0,!1)},Y.extendDeepNoArrays=function(){return S(arguments,!0,!1,!0)};function S(E,e,t,r){var o=E[0],i=E.length,n,a,s,h,c,m,d;if(i===2&&p(o)&&p(E[1])&&o.length===0){if(d=x(E[1],o),d)return o;o.splice(0,o.length)}for(var T=1;T<i;T++){n=E[T];for(a in n)s=o[a],h=n[a],r&&p(h)?o[a]=h:e&&h&&(H(h)||(c=p(h)))?(c?(c=!1,m=s&&p(s)?s:[]):m=s&&H(s)?s:{},o[a]=S([m,h],e,t,r)):(typeof h<"u"||t)&&(o[a]=h)}return o}}}),qu=De({"src/plots/font_attributes.js"(Y,H){"use strict";H.exports=function(p){var x=p.variantValues,S=p.editType,E=p.colorEditType;E===void 0&&(E=S);var e={editType:S,valType:"integer",min:1,max:1e3,extras:["normal","bold"],dflt:"normal"};p.noNumericWeightValues&&(e.valType="enumerated",e.values=e.extras,e.extras=void 0,e.min=void 0,e.max=void 0);var t={family:{valType:"string",noBlank:!0,strict:!0,editType:S},size:{valType:"number",min:1,editType:S},color:{valType:"color",editType:E},weight:e,style:{editType:S,valType:"enumerated",values:["normal","italic"],dflt:"normal"},variant:p.noFontVariant?void 0:{editType:S,valType:"enumerated",values:x||["normal","small-caps","all-small-caps","all-petite-caps","petite-caps","unicase"],dflt:"normal"},textcase:p.noFontTextcase?void 0:{editType:S,valType:"enumerated",values:["normal","word caps","upper","lower"],dflt:"normal"},lineposition:p.noFontLineposition?void 0:{editType:S,valType:"flaglist",flags:["under","over","through"],extras:["none"],dflt:"none"},shadow:p.noFontShadow?void 0:{editType:S,valType:"string",dflt:p.autoShadowDflt?"auto":"none"},editType:S};return p.autoSize&&(t.size.dflt="auto"),p.autoColor&&(t.color.dflt="auto"),p.arrayOk&&(t.family.arrayOk=!0,t.weight.arrayOk=!0,t.style.arrayOk=!0,p.noFontVariant||(t.variant.arrayOk=!0),p.noFontTextcase||(t.textcase.arrayOk=!0),p.noFontLineposition||(t.lineposition.arrayOk=!0),p.noFontShadow||(t.shadow.arrayOk=!0),t.size.arrayOk=!0,t.color.arrayOk=!0),t}}}),cv=De({"src/components/fx/constants.js"(Y,H){"use strict";H.exports={YANGLE:60,HOVERARROWSIZE:6,HOVERTEXTPAD:3,HOVERFONTSIZE:13,HOVERFONT:"Arial, sans-serif",HOVERMINTIME:50,HOVERID:"-hover"}}}),Rv=De({"src/components/fx/layout_attributes.js"(Y,H){"use strict";var p=cv(),x=qu(),S=x({editType:"none"});S.family.dflt=p.HOVERFONT,S.size.dflt=p.HOVERFONTSIZE,H.exports={clickmode:{valType:"flaglist",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"]},dragmode:{valType:"enumerated",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar"},hovermode:{valType:"enumerated",values:["x","y","closest",!1,"x unified","y unified"],dflt:"closest",editType:"modebar"},hoversubplots:{valType:"enumerated",values:["single","overlaying","axis"],dflt:"overlaying",editType:"none"},hoverdistance:{valType:"integer",min:-1,dflt:20,editType:"none"},spikedistance:{valType:"integer",min:-1,dflt:-1,editType:"none"},hoverlabel:{bgcolor:{valType:"color",editType:"none"},bordercolor:{valType:"color",editType:"none"},font:S,grouptitlefont:x({editType:"none"}),align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",editType:"none"},namelength:{valType:"integer",min:-1,dflt:15,editType:"none"},showarrow:{valType:"boolean",dflt:!0,editType:"none"},editType:"none"},selectdirection:{valType:"enumerated",values:["h","v","d","any"],dflt:"any",editType:"none"}}}}),Np=De({"src/components/fx/attributes.js"(Y,H){"use strict";var p=qu(),x=Rv().hoverlabel,S=Xo().extendFlat;H.exports={hoverlabel:{bgcolor:S({},x.bgcolor,{arrayOk:!0}),bordercolor:S({},x.bordercolor,{arrayOk:!0}),font:p({arrayOk:!0,editType:"none"}),align:S({},x.align,{arrayOk:!0}),namelength:S({},x.namelength,{arrayOk:!0}),showarrow:S({},x.showarrow),editType:"none"}}}}),Yl=De({"src/plots/attributes.js"(Y,H){"use strict";var p=qu(),x=Np();H.exports={type:{valType:"enumerated",values:[],dflt:"scatter",editType:"calc+clearAxisTypes",_noTemplating:!0},visible:{valType:"enumerated",values:[!0,!1,"legendonly"],dflt:!0,editType:"calc"},showlegend:{valType:"boolean",dflt:!0,editType:"style"},legend:{valType:"subplotid",dflt:"legend",editType:"style"},legendgroup:{valType:"string",dflt:"",editType:"style"},legendgrouptitle:{text:{valType:"string",dflt:"",editType:"style"},font:p({editType:"style"}),editType:"style"},legendrank:{valType:"number",dflt:1e3,editType:"style"},legendwidth:{valType:"number",min:0,editType:"style"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"style"},name:{valType:"string",editType:"style"},uid:{valType:"string",editType:"plot",anim:!0},ids:{valType:"data_array",editType:"calc",anim:!0},customdata:{valType:"data_array",editType:"calc"},meta:{valType:"any",arrayOk:!0,editType:"plot"},selectedpoints:{valType:"any",editType:"calc"},hoverinfo:{valType:"flaglist",flags:["x","y","z","text","name"],extras:["all","none","skip"],arrayOk:!0,dflt:"all",editType:"none"},hoverlabel:x.hoverlabel,stream:{token:{valType:"string",noBlank:!0,strict:!0,editType:"calc"},maxpoints:{valType:"number",min:0,max:1e4,dflt:500,editType:"calc"},editType:"calc"},uirevision:{valType:"any",editType:"none"}}}}),up=De({"src/components/colorscale/scales.js"(Y,H){"use strict";var p=wu(),x={Greys:[[0,"rgb(0,0,0)"],[1,"rgb(255,255,255)"]],YlGnBu:[[0,"rgb(8,29,88)"],[.125,"rgb(37,52,148)"],[.25,"rgb(34,94,168)"],[.375,"rgb(29,145,192)"],[.5,"rgb(65,182,196)"],[.625,"rgb(127,205,187)"],[.75,"rgb(199,233,180)"],[.875,"rgb(237,248,217)"],[1,"rgb(255,255,217)"]],Greens:[[0,"rgb(0,68,27)"],[.125,"rgb(0,109,44)"],[.25,"rgb(35,139,69)"],[.375,"rgb(65,171,93)"],[.5,"rgb(116,196,118)"],[.625,"rgb(161,217,155)"],[.75,"rgb(199,233,192)"],[.875,"rgb(229,245,224)"],[1,"rgb(247,252,245)"]],YlOrRd:[[0,"rgb(128,0,38)"],[.125,"rgb(189,0,38)"],[.25,"rgb(227,26,28)"],[.375,"rgb(252,78,42)"],[.5,"rgb(253,141,60)"],[.625,"rgb(254,178,76)"],[.75,"rgb(254,217,118)"],[.875,"rgb(255,237,160)"],[1,"rgb(255,255,204)"]],Bluered:[[0,"rgb(0,0,255)"],[1,"rgb(255,0,0)"]],RdBu:[[0,"rgb(5,10,172)"],[.35,"rgb(106,137,247)"],[.5,"rgb(190,190,190)"],[.6,"rgb(220,170,132)"],[.7,"rgb(230,145,90)"],[1,"rgb(178,10,28)"]],Reds:[[0,"rgb(220,220,220)"],[.2,"rgb(245,195,157)"],[.4,"rgb(245,160,105)"],[1,"rgb(178,10,28)"]],Blues:[[0,"rgb(5,10,172)"],[.35,"rgb(40,60,190)"],[.5,"rgb(70,100,245)"],[.6,"rgb(90,120,245)"],[.7,"rgb(106,137,247)"],[1,"rgb(220,220,220)"]],Picnic:[[0,"rgb(0,0,255)"],[.1,"rgb(51,153,255)"],[.2,"rgb(102,204,255)"],[.3,"rgb(153,204,255)"],[.4,"rgb(204,204,255)"],[.5,"rgb(255,255,255)"],[.6,"rgb(255,204,255)"],[.7,"rgb(255,153,255)"],[.8,"rgb(255,102,204)"],[.9,"rgb(255,102,102)"],[1,"rgb(255,0,0)"]],Rainbow:[[0,"rgb(150,0,90)"],[.125,"rgb(0,0,200)"],[.25,"rgb(0,25,255)"],[.375,"rgb(0,152,255)"],[.5,"rgb(44,255,150)"],[.625,"rgb(151,255,0)"],[.75,"rgb(255,234,0)"],[.875,"rgb(255,111,0)"],[1,"rgb(255,0,0)"]],Portland:[[0,"rgb(12,51,131)"],[.25,"rgb(10,136,186)"],[.5,"rgb(242,211,56)"],[.75,"rgb(242,143,56)"],[1,"rgb(217,30,30)"]],Jet:[[0,"rgb(0,0,131)"],[.125,"rgb(0,60,170)"],[.375,"rgb(5,255,255)"],[.625,"rgb(255,255,0)"],[.875,"rgb(250,0,0)"],[1,"rgb(128,0,0)"]],Hot:[[0,"rgb(0,0,0)"],[.3,"rgb(230,0,0)"],[.6,"rgb(255,210,0)"],[1,"rgb(255,255,255)"]],Blackbody:[[0,"rgb(0,0,0)"],[.2,"rgb(230,0,0)"],[.4,"rgb(230,210,0)"],[.7,"rgb(255,255,255)"],[1,"rgb(160,200,255)"]],Earth:[[0,"rgb(0,0,130)"],[.1,"rgb(0,180,180)"],[.2,"rgb(40,210,40)"],[.4,"rgb(230,230,50)"],[.6,"rgb(120,70,20)"],[1,"rgb(255,255,255)"]],Electric:[[0,"rgb(0,0,0)"],[.15,"rgb(30,0,100)"],[.4,"rgb(120,0,100)"],[.6,"rgb(160,90,0)"],[.8,"rgb(230,200,0)"],[1,"rgb(255,250,220)"]],Viridis:[[0,"#440154"],[.06274509803921569,"#48186a"],[.12549019607843137,"#472d7b"],[.18823529411764706,"#424086"],[.25098039215686274,"#3b528b"],[.3137254901960784,"#33638d"],[.3764705882352941,"#2c728e"],[.4392156862745098,"#26828e"],[.5019607843137255,"#21918c"],[.5647058823529412,"#1fa088"],[.6274509803921569,"#28ae80"],[.6901960784313725,"#3fbc73"],[.7529411764705882,"#5ec962"],[.8156862745098039,"#84d44b"],[.8784313725490196,"#addc30"],[.9411764705882353,"#d8e219"],[1,"#fde725"]],Cividis:[[0,"rgb(0,32,76)"],[.058824,"rgb(0,42,102)"],[.117647,"rgb(0,52,110)"],[.176471,"rgb(39,63,108)"],[.235294,"rgb(60,74,107)"],[.294118,"rgb(76,85,107)"],[.352941,"rgb(91,95,109)"],[.411765,"rgb(104,106,112)"],[.470588,"rgb(117,117,117)"],[.529412,"rgb(131,129,120)"],[.588235,"rgb(146,140,120)"],[.647059,"rgb(161,152,118)"],[.705882,"rgb(176,165,114)"],[.764706,"rgb(192,177,109)"],[.823529,"rgb(209,191,102)"],[.882353,"rgb(225,204,92)"],[.941176,"rgb(243,219,79)"],[1,"rgb(255,233,69)"]]},S=x.RdBu;function E(r,o){if(o||(o=S),!r)return o;function i(){try{r=x[r]||JSON.parse(r)}catch{r=o}}return typeof r=="string"&&(i(),typeof r=="string"&&i()),e(r)?r:o}function e(r){var o=0;if(!Array.isArray(r)||r.length<2||!r[0]||!r[r.length-1]||+r[0][0]!=0||+r[r.length-1][0]!=1)return!1;for(var i=0;i<r.length;i++){var n=r[i];if(n.length!==2||+n[0]<o||!p(n[1]).isValid())return!1;o=+n[0]}return!0}function t(r){return x[r]!==void 0?!0:e(r)}H.exports={scales:x,defaultScale:S,get:E,isValid:t}}}),Pf=De({"src/components/color/attributes.js"(Y){"use strict";Y.defaults=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],Y.defaultLine="#444",Y.lightLine="#eee",Y.background="#fff",Y.borderLine="#BEC8D9",Y.lightFraction=100*10/11}}),vo=De({"src/components/color/index.js"(Y,H){"use strict";var p=wu(),x=vn(),S=vl().isTypedArray,E=H.exports={},e=Pf();E.defaults=e.defaults;var t=E.defaultLine=e.defaultLine;E.lightLine=e.lightLine;var r=E.background=e.background;E.tinyRGB=function(i){var n=i.toRgb();return"rgb("+Math.round(n.r)+", "+Math.round(n.g)+", "+Math.round(n.b)+")"},E.rgb=function(i){return E.tinyRGB(p(i))},E.opacity=function(i){return i?p(i).getAlpha():0},E.addOpacity=function(i,n){var a=p(i).toRgb();return"rgba("+Math.round(a.r)+", "+Math.round(a.g)+", "+Math.round(a.b)+", "+n+")"},E.combine=function(i,n){var a=p(i).toRgb();if(a.a===1)return p(i).toRgbString();var s=p(n||r).toRgb(),h=s.a===1?s:{r:255*(1-s.a)+s.r*s.a,g:255*(1-s.a)+s.g*s.a,b:255*(1-s.a)+s.b*s.a},c={r:h.r*(1-a.a)+a.r*a.a,g:h.g*(1-a.a)+a.g*a.a,b:h.b*(1-a.a)+a.b*a.a};return p(c).toRgbString()},E.interpolate=function(i,n,a){var s=p(i).toRgb(),h=p(n).toRgb(),c={r:a*s.r+(1-a)*h.r,g:a*s.g+(1-a)*h.g,b:a*s.b+(1-a)*h.b};return p(c).toRgbString()},E.contrast=function(i,n,a){var s=p(i);s.getAlpha()!==1&&(s=p(E.combine(i,r)));var h=s.isDark()?n?s.lighten(n):r:a?s.darken(a):t;return h.toString()},E.stroke=function(i,n){var a=p(n);i.style({stroke:E.tinyRGB(a),"stroke-opacity":a.getAlpha()})},E.fill=function(i,n){var a=p(n);i.style({fill:E.tinyRGB(a),"fill-opacity":a.getAlpha()})},E.clean=function(i){if(!(!i||typeof i!="object")){var n=Object.keys(i),a,s,h,c;for(a=0;a<n.length;a++)if(h=n[a],c=i[h],h.slice(-5)==="color")if(Array.isArray(c))for(s=0;s<c.length;s++)c[s]=o(c[s]);else i[h]=o(c);else if(h.slice(-10)==="colorscale"&&Array.isArray(c))for(s=0;s<c.length;s++)Array.isArray(c[s])&&(c[s][1]=o(c[s][1]));else if(Array.isArray(c)){var m=c[0];if(!Array.isArray(m)&&m&&typeof m=="object")for(s=0;s<c.length;s++)E.clean(c[s])}else c&&typeof c=="object"&&!S(c)&&E.clean(c)}};function o(i){if(x(i)||typeof i!="string")return i;var n=i.trim();if(n.slice(0,3)!=="rgb")return i;var a=n.match(/^rgba?\s*\(([^()]*)\)$/);if(!a)return i;var s=a[1].trim().split(/\s*[\s,]\s*/),h=n.charAt(3)==="a"&&s.length===4;if(!h&&s.length!==3)return i;for(var c=0;c<s.length;c++){if(!s[c].length||(s[c]=Number(s[c]),!(s[c]>=0)))return i;if(c===3)s[c]>1&&(s[c]=1);else if(s[c]>=1)return i}var m=Math.round(s[0]*255)+", "+Math.round(s[1]*255)+", "+Math.round(s[2]*255);return h?"rgba("+m+", "+s[3]+")":"rgb("+m+")"}}}),_o=De({"src/constants/interactions.js"(Y,H){"use strict";H.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}}}),Uo=De({"src/lib/regex.js"(Y){"use strict";Y.counter=function(H,p,x,S){var E=(p||"")+(x?"":"$"),e=S===!1?"":"^";return H==="xy"?new RegExp(e+"x([2-9]|[1-9][0-9]+)?y([2-9]|[1-9][0-9]+)?"+E):new RegExp(e+H+"([2-9]|[1-9][0-9]+)?"+E)}}}),Rn=De({"src/lib/coerce.js"(Y){"use strict";var H=vn(),p=wu(),x=Xo().extendFlat,S=Yl(),E=up(),e=vo(),t=_o().DESELECTDIM,r=bu(),o=Uo().counter,i=gf().modHalf,n=vl().isArrayOrTypedArray,a=vl().isTypedArraySpec,s=vl().decodeTypedArraySpec;Y.valObjectMeta={data_array:{coerceFunction:function(c,m,d){m.set(n(c)?c:a(c)?s(c):d)}},enumerated:{coerceFunction:function(c,m,d,T){T.coerceNumber&&(c=+c),T.values.indexOf(c)===-1?m.set(d):m.set(c)},validateFunction:function(c,m){m.coerceNumber&&(c=+c);for(var d=m.values,T=0;T<d.length;T++){var l=String(d[T]);if(l.charAt(0)==="/"&&l.charAt(l.length-1)==="/"){var _=new RegExp(l.slice(1,-1));if(_.test(c))return!0}else if(c===d[T])return!0}return!1}},boolean:{coerceFunction:function(c,m,d,T){let l=_=>_===!0||_===!1;l(c)||T.arrayOk&&Array.isArray(c)&&c.length>0&&c.every(l)?m.set(c):m.set(d)}},number:{coerceFunction:function(c,m,d,T){a(c)&&(c=s(c)),!H(c)||T.min!==void 0&&c<T.min||T.max!==void 0&&c>T.max?m.set(d):m.set(+c)}},integer:{coerceFunction:function(c,m,d,T){if((T.extras||[]).indexOf(c)!==-1){m.set(c);return}a(c)&&(c=s(c)),c%1||!H(c)||T.min!==void 0&&c<T.min||T.max!==void 0&&c>T.max?m.set(d):m.set(+c)}},string:{coerceFunction:function(c,m,d,T){if(typeof c!="string"){var l=typeof c=="number";T.strict===!0||!l?m.set(d):m.set(String(c))}else T.noBlank&&!c?m.set(d):m.set(c)}},color:{coerceFunction:function(c,m,d){a(c)&&(c=s(c)),p(c).isValid()?m.set(c):m.set(d)}},colorlist:{coerceFunction:function(c,m,d){function T(l){return p(l).isValid()}!Array.isArray(c)||!c.length?m.set(d):c.every(T)?m.set(c):m.set(d)}},colorscale:{coerceFunction:function(c,m,d){m.set(E.get(c,d))}},angle:{coerceFunction:function(c,m,d){a(c)&&(c=s(c)),c==="auto"?m.set("auto"):H(c)?m.set(i(+c,360)):m.set(d)}},subplotid:{coerceFunction:function(c,m,d,T){var l=T.regex||o(d);let _=w=>typeof w=="string"&&l.test(w);_(c)||T.arrayOk&&n(c)&&c.length>0&&c.every(_)?m.set(c):m.set(d)},validateFunction:function(c,m){var d=m.dflt;return c===d?!0:typeof c!="string"?!1:!!o(d).test(c)}},flaglist:{coerceFunction:function(c,m,d,T){if((T.extras||[]).indexOf(c)!==-1){m.set(c);return}if(typeof c!="string"){m.set(d);return}for(var l=c.split("+"),_=0;_<l.length;){var w=l[_];T.flags.indexOf(w)===-1||l.indexOf(w)<_?l.splice(_,1):_++}l.length?m.set(l.join("+")):m.set(d)}},any:{coerceFunction:function(c,m,d){c===void 0?m.set(d):m.set(a(c)?s(c):c)}},info_array:{coerceFunction:function(c,m,d,T){function l(F,N,B){var I,U={set:function(O){I=O}};return B===void 0&&(B=N.dflt),Y.valObjectMeta[N.valType].coerceFunction(F,U,B,N),I}if(a(c)&&(c=s(c)),!n(c)){m.set(d);return}var _=T.dimensions===2||T.dimensions==="1-2"&&Array.isArray(c)&&n(c[0]),w=T.items,A=[],M=Array.isArray(w),g=M&&_&&n(w[0]),b=_&&M&&!g,v=M&&!b?w.length:c.length,u,y,f,R,L,z;if(d=Array.isArray(d)?d:[],_)for(u=0;u<v;u++)for(A[u]=[],f=n(c[u])?c[u]:[],b?L=w.length:M?L=w[u].length:L=f.length,y=0;y<L;y++)b?R=w[y]:M?R=w[u][y]:R=w,z=l(f[y],R,(d[u]||[])[y]),z!==void 0&&(A[u][y]=z);else for(u=0;u<v;u++)z=l(c[u],M?w[u]:w,d[u]),z!==void 0&&(A[u]=z);m.set(A)},validateFunction:function(c,m){if(!n(c))return!1;var d=m.items,T=Array.isArray(d),l=m.dimensions===2;if(!m.freeLength&&c.length!==d.length)return!1;for(var _=0;_<c.length;_++)if(l){if(!n(c[_])||!m.freeLength&&c[_].length!==d[_].length)return!1;for(var w=0;w<c[_].length;w++)if(!h(c[_][w],T?d[_][w]:d))return!1}else if(!h(c[_],T?d[_]:d))return!1;return!0}}},Y.coerce=function(c,m,d,T,l){var _=r(d,T).get(),w=r(c,T),A=r(m,T),M=w.get(),g=m._template;if(M===void 0&&g&&(M=r(g,T).get(),g=0),l===void 0&&(l=_.dflt),_.arrayOk){if(n(M))return A.set(M),M;if(a(M))return M=s(M),A.set(M),M}var b=Y.valObjectMeta[_.valType].coerceFunction;b(M,A,l,_);var v=A.get();return g&&v===l&&!h(M,_)&&(M=r(g,T).get(),b(M,A,l,_),v=A.get()),v},Y.coerce2=function(c,m,d,T,l){var _=r(c,T),w=Y.coerce(c,m,d,T,l),A=_.get();return A!=null?w:!1},Y.coerceFont=function(c,m,d,T){T||(T={}),d=x({},d),d=x(d,T.overrideDflt||{});var l={family:c(m+".family",d.family),size:c(m+".size",d.size),color:c(m+".color",d.color),weight:c(m+".weight",d.weight),style:c(m+".style",d.style)};if(T.noFontVariant||(l.variant=c(m+".variant",d.variant)),T.noFontLineposition||(l.lineposition=c(m+".lineposition",d.lineposition)),T.noFontTextcase||(l.textcase=c(m+".textcase",d.textcase)),!T.noFontShadow){var _=d.shadow;_==="none"&&T.autoShadowDflt&&(_="auto"),l.shadow=c(m+".shadow",_)}return l},Y.coercePattern=function(c,m,d,T){var l=c(m+".shape"),_;if(l||(_=c(m+".path")),l||_){l&&c(m+".solidity"),c(m+".size");var w=c(m+".fillmode"),A=w==="overlay";if(!T){var M=c(m+".bgcolor",A?d:void 0);c(m+".fgcolor",A?e.contrast(M):d)}c(m+".fgopacity",A?.5:1)}},Y.coerceHoverinfo=function(c,m,d){var T=m._module.attributes,l=T.hoverinfo?T:S,_=l.hoverinfo,w;if(d._dataLength===1){var A=_.dflt==="all"?_.flags.slice():_.dflt.split("+");A.splice(A.indexOf("name"),1),w=A.join("+")}return Y.coerce(c,m,l,"hoverinfo",w)},Y.coerceSelectionMarkerOpacity=function(c,m){if(c.marker){var d=c.marker.opacity;if(d!==void 0){var T,l;!n(d)&&!c.selected&&!c.unselected&&(T=d,l=t*d),m("selected.marker.opacity",T),m("unselected.marker.opacity",l)}}};function h(c,m){var d=Y.valObjectMeta[m.valType];if(m.arrayOk&&n(c))return!0;if(d.validateFunction)return d.validateFunction(c,m);var T={},l=T,_={set:function(w){l=w}};return d.coerceFunction(c,_,T,m),l!==T}Y.validate=h}}),Cn=De({"src/plot_api/plot_config.js"(Y,H){"use strict";var p={staticPlot:{valType:"boolean",dflt:!1},typesetMath:{valType:"boolean",dflt:!0},plotlyServerURL:{valType:"string",dflt:""},editable:{valType:"boolean",dflt:!1},edits:{annotationPosition:{valType:"boolean",dflt:!1},annotationTail:{valType:"boolean",dflt:!1},annotationText:{valType:"boolean",dflt:!1},axisTitleText:{valType:"boolean",dflt:!1},colorbarPosition:{valType:"boolean",dflt:!1},colorbarTitleText:{valType:"boolean",dflt:!1},legendPosition:{valType:"boolean",dflt:!1},legendText:{valType:"boolean",dflt:!1},shapePosition:{valType:"boolean",dflt:!1},titleText:{valType:"boolean",dflt:!1}},editSelection:{valType:"boolean",dflt:!0},autosizable:{valType:"boolean",dflt:!1},responsive:{valType:"boolean",dflt:!1},fillFrame:{valType:"boolean",dflt:!1},frameMargins:{valType:"number",dflt:0,min:0,max:.5},scrollZoom:{valType:"flaglist",flags:["cartesian","gl3d","geo","mapbox","map"],extras:[!0,!1],dflt:"gl3d+geo+map"},doubleClick:{valType:"enumerated",values:[!1,"reset","autosize","reset+autosize"],dflt:"reset+autosize"},doubleClickDelay:{valType:"number",dflt:300,min:0},showAxisDragHandles:{valType:"boolean",dflt:!0},showAxisRangeEntryBoxes:{valType:"boolean",dflt:!0},showTips:{valType:"boolean",dflt:!0},showLink:{valType:"boolean",dflt:!1},linkText:{valType:"string",dflt:"Edit chart",noBlank:!0},sendData:{valType:"boolean",dflt:!0},showSources:{valType:"any",dflt:!1},displayModeBar:{valType:"enumerated",values:["hover",!0,!1],dflt:"hover"},showSendToCloud:{valType:"boolean",dflt:!1},showEditInChartStudio:{valType:"boolean",dflt:!1},modeBarButtonsToRemove:{valType:"any",dflt:[]},modeBarButtonsToAdd:{valType:"any",dflt:[]},modeBarButtons:{valType:"any",dflt:!1},toImageButtonOptions:{valType:"any",dflt:{}},displaylogo:{valType:"boolean",dflt:!0},watermark:{valType:"boolean",dflt:!1},plotGlPixelRatio:{valType:"number",dflt:2,min:1,max:4},setBackground:{valType:"any",dflt:"transparent"},topojsonURL:{valType:"string",noBlank:!0,dflt:"https://cdn.plot.ly/un/"},mapboxAccessToken:{valType:"string",dflt:null},logging:{valType:"integer",min:0,max:2,dflt:1},notifyOnLogging:{valType:"integer",min:0,max:2,dflt:0},queueLength:{valType:"integer",min:0,dflt:0},locale:{valType:"string",dflt:"en-US"},locales:{valType:"any",dflt:{}}},x={};function S(E,e){for(var t in E){var r=E[t];r.valType?e[t]=r.dflt:(e[t]||(e[t]={}),S(r,e[t]))}}S(p,x),H.exports={configAttributes:p,dfltConfig:x}}}),jn=De({"src/lib/notifier.js"(Y,H){"use strict";var p=za(),x=vn(),S=[];H.exports=function(E,e){if(S.indexOf(E)!==-1)return;S.push(E);var t=1e3;x(e)?t=e:e==="long"&&(t=3e3);var r=p.select("body").selectAll(".plotly-notifier").data([0]);r.enter().append("div").classed("plotly-notifier",!0);var o=r.selectAll(".notifier-note").data(S);function i(n){n.duration(700).style("opacity",0).each("end",function(a){var s=S.indexOf(a);s!==-1&&S.splice(s,1),p.select(this).remove()})}o.enter().append("div").classed("notifier-note",!0).style("opacity",0).each(function(n){var a=p.select(this);a.append("button").classed("notifier-close",!0).html("×").on("click",function(){a.transition().call(i)});for(var s=a.append("p"),h=n.split(/<br\s*\/?>/g),c=0;c<h.length;c++)c&&s.append("br"),s.append("span").text(h[c]);e==="stick"?a.transition().duration(350).style("opacity",1):a.transition().duration(700).style("opacity",1).transition().delay(t).call(i)})}}}),Yo=De({"src/lib/loggers.js"(Y,H){"use strict";var p=Cn().dfltConfig,x=jn(),S=H.exports={};S.log=function(){var E;if(p.logging>1){var e=["LOG:"];for(E=0;E<arguments.length;E++)e.push(arguments[E]);console.trace.apply(console,e)}if(p.notifyOnLogging>1){var t=[];for(E=0;E<arguments.length;E++)t.push(arguments[E]);x(t.join("<br>"),"long")}},S.warn=function(){var E;if(p.logging>0){var e=["WARN:"];for(E=0;E<arguments.length;E++)e.push(arguments[E]);console.trace.apply(console,e)}if(p.notifyOnLogging>0){var t=[];for(E=0;E<arguments.length;E++)t.push(arguments[E]);x(t.join("<br>"),"stick")}},S.error=function(){var E;if(p.logging>0){var e=["ERROR:"];for(E=0;E<arguments.length;E++)e.push(arguments[E]);console.error.apply(console,e)}if(p.notifyOnLogging>0){var t=[];for(E=0;E<arguments.length;E++)t.push(arguments[E]);x(t.join("<br>"),"stick")}}}}),As=De({"src/lib/noop.js"(Y,H){"use strict";H.exports=function(){}}}),Sc=De({"src/lib/push_unique.js"(Y,H){"use strict";H.exports=function(x,S){if(S instanceof RegExp){for(var E=S.toString(),e=0;e<x.length;e++)if(x[e]instanceof RegExp&&x[e].toString()===E)return x;x.push(S)}else(S||S===0)&&x.indexOf(S)===-1&&x.push(S);return x}}}),Td=De({"node_modules/gl-mat4/create.js"(Y,H){H.exports=p;function p(){var x=new Float32Array(16);return x[0]=1,x[1]=0,x[2]=0,x[3]=0,x[4]=0,x[5]=1,x[6]=0,x[7]=0,x[8]=0,x[9]=0,x[10]=1,x[11]=0,x[12]=0,x[13]=0,x[14]=0,x[15]=1,x}}}),Up=De({"node_modules/gl-mat4/clone.js"(Y,H){H.exports=p;function p(x){var S=new Float32Array(16);return S[0]=x[0],S[1]=x[1],S[2]=x[2],S[3]=x[3],S[4]=x[4],S[5]=x[5],S[6]=x[6],S[7]=x[7],S[8]=x[8],S[9]=x[9],S[10]=x[10],S[11]=x[11],S[12]=x[12],S[13]=x[13],S[14]=x[14],S[15]=x[15],S}}}),US=De({"node_modules/gl-mat4/copy.js"(Y,H){H.exports=p;function p(x,S){return x[0]=S[0],x[1]=S[1],x[2]=S[2],x[3]=S[3],x[4]=S[4],x[5]=S[5],x[6]=S[6],x[7]=S[7],x[8]=S[8],x[9]=S[9],x[10]=S[10],x[11]=S[11],x[12]=S[12],x[13]=S[13],x[14]=S[14],x[15]=S[15],x}}}),Dw=De({"node_modules/gl-mat4/identity.js"(Y,H){H.exports=p;function p(x){return x[0]=1,x[1]=0,x[2]=0,x[3]=0,x[4]=0,x[5]=1,x[6]=0,x[7]=0,x[8]=0,x[9]=0,x[10]=1,x[11]=0,x[12]=0,x[13]=0,x[14]=0,x[15]=1,x}}}),jS=De({"node_modules/gl-mat4/transpose.js"(Y,H){H.exports=p;function p(x,S){if(x===S){var E=S[1],e=S[2],t=S[3],r=S[6],o=S[7],i=S[11];x[1]=S[4],x[2]=S[8],x[3]=S[12],x[4]=E,x[6]=S[9],x[7]=S[13],x[8]=e,x[9]=r,x[11]=S[14],x[12]=t,x[13]=o,x[14]=i}else x[0]=S[0],x[1]=S[4],x[2]=S[8],x[3]=S[12],x[4]=S[1],x[5]=S[5],x[6]=S[9],x[7]=S[13],x[8]=S[2],x[9]=S[6],x[10]=S[10],x[11]=S[14],x[12]=S[3],x[13]=S[7],x[14]=S[11],x[15]=S[15];return x}}}),VS=De({"node_modules/gl-mat4/invert.js"(Y,H){H.exports=p;function p(x,S){var E=S[0],e=S[1],t=S[2],r=S[3],o=S[4],i=S[5],n=S[6],a=S[7],s=S[8],h=S[9],c=S[10],m=S[11],d=S[12],T=S[13],l=S[14],_=S[15],w=E*i-e*o,A=E*n-t*o,M=E*a-r*o,g=e*n-t*i,b=e*a-r*i,v=t*a-r*n,u=s*T-h*d,y=s*l-c*d,f=s*_-m*d,R=h*l-c*T,L=h*_-m*T,z=c*_-m*l,F=w*z-A*L+M*R+g*f-b*y+v*u;return F?(F=1/F,x[0]=(i*z-n*L+a*R)*F,x[1]=(t*L-e*z-r*R)*F,x[2]=(T*v-l*b+_*g)*F,x[3]=(c*b-h*v-m*g)*F,x[4]=(n*f-o*z-a*y)*F,x[5]=(E*z-t*f+r*y)*F,x[6]=(l*M-d*v-_*A)*F,x[7]=(s*v-c*M+m*A)*F,x[8]=(o*L-i*f+a*u)*F,x[9]=(e*f-E*L-r*u)*F,x[10]=(d*b-T*M+_*w)*F,x[11]=(h*M-s*b-m*w)*F,x[12]=(i*y-o*R-n*u)*F,x[13]=(E*R-e*y+t*u)*F,x[14]=(T*A-d*g-l*w)*F,x[15]=(s*g-h*A+c*w)*F,x):null}}}),qS=De({"node_modules/gl-mat4/adjoint.js"(Y,H){H.exports=p;function p(x,S){var E=S[0],e=S[1],t=S[2],r=S[3],o=S[4],i=S[5],n=S[6],a=S[7],s=S[8],h=S[9],c=S[10],m=S[11],d=S[12],T=S[13],l=S[14],_=S[15];return x[0]=i*(c*_-m*l)-h*(n*_-a*l)+T*(n*m-a*c),x[1]=-(e*(c*_-m*l)-h*(t*_-r*l)+T*(t*m-r*c)),x[2]=e*(n*_-a*l)-i*(t*_-r*l)+T*(t*a-r*n),x[3]=-(e*(n*m-a*c)-i*(t*m-r*c)+h*(t*a-r*n)),x[4]=-(o*(c*_-m*l)-s*(n*_-a*l)+d*(n*m-a*c)),x[5]=E*(c*_-m*l)-s*(t*_-r*l)+d*(t*m-r*c),x[6]=-(E*(n*_-a*l)-o*(t*_-r*l)+d*(t*a-r*n)),x[7]=E*(n*m-a*c)-o*(t*m-r*c)+s*(t*a-r*n),x[8]=o*(h*_-m*T)-s*(i*_-a*T)+d*(i*m-a*h),x[9]=-(E*(h*_-m*T)-s*(e*_-r*T)+d*(e*m-r*h)),x[10]=E*(i*_-a*T)-o*(e*_-r*T)+d*(e*a-r*i),x[11]=-(E*(i*m-a*h)-o*(e*m-r*h)+s*(e*a-r*i)),x[12]=-(o*(h*l-c*T)-s*(i*l-n*T)+d*(i*c-n*h)),x[13]=E*(h*l-c*T)-s*(e*l-t*T)+d*(e*c-t*h),x[14]=-(E*(i*l-n*T)-o*(e*l-t*T)+d*(e*n-t*i)),x[15]=E*(i*c-n*h)-o*(e*c-t*h)+s*(e*n-t*i),x}}}),HS=De({"node_modules/gl-mat4/determinant.js"(Y,H){H.exports=p;function p(x){var S=x[0],E=x[1],e=x[2],t=x[3],r=x[4],o=x[5],i=x[6],n=x[7],a=x[8],s=x[9],h=x[10],c=x[11],m=x[12],d=x[13],T=x[14],l=x[15],_=S*o-E*r,w=S*i-e*r,A=S*n-t*r,M=E*i-e*o,g=E*n-t*o,b=e*n-t*i,v=a*d-s*m,u=a*T-h*m,y=a*l-c*m,f=s*T-h*d,R=s*l-c*d,L=h*l-c*T;return _*L-w*R+A*f+M*y-g*u+b*v}}}),GS=De({"node_modules/gl-mat4/multiply.js"(Y,H){H.exports=p;function p(x,S,E){var e=S[0],t=S[1],r=S[2],o=S[3],i=S[4],n=S[5],a=S[6],s=S[7],h=S[8],c=S[9],m=S[10],d=S[11],T=S[12],l=S[13],_=S[14],w=S[15],A=E[0],M=E[1],g=E[2],b=E[3];return x[0]=A*e+M*i+g*h+b*T,x[1]=A*t+M*n+g*c+b*l,x[2]=A*r+M*a+g*m+b*_,x[3]=A*o+M*s+g*d+b*w,A=E[4],M=E[5],g=E[6],b=E[7],x[4]=A*e+M*i+g*h+b*T,x[5]=A*t+M*n+g*c+b*l,x[6]=A*r+M*a+g*m+b*_,x[7]=A*o+M*s+g*d+b*w,A=E[8],M=E[9],g=E[10],b=E[11],x[8]=A*e+M*i+g*h+b*T,x[9]=A*t+M*n+g*c+b*l,x[10]=A*r+M*a+g*m+b*_,x[11]=A*o+M*s+g*d+b*w,A=E[12],M=E[13],g=E[14],b=E[15],x[12]=A*e+M*i+g*h+b*T,x[13]=A*t+M*n+g*c+b*l,x[14]=A*r+M*a+g*m+b*_,x[15]=A*o+M*s+g*d+b*w,x}}}),WS=De({"node_modules/gl-mat4/translate.js"(Y,H){H.exports=p;function p(x,S,E){var e=E[0],t=E[1],r=E[2],o,i,n,a,s,h,c,m,d,T,l,_;return S===x?(x[12]=S[0]*e+S[4]*t+S[8]*r+S[12],x[13]=S[1]*e+S[5]*t+S[9]*r+S[13],x[14]=S[2]*e+S[6]*t+S[10]*r+S[14],x[15]=S[3]*e+S[7]*t+S[11]*r+S[15]):(o=S[0],i=S[1],n=S[2],a=S[3],s=S[4],h=S[5],c=S[6],m=S[7],d=S[8],T=S[9],l=S[10],_=S[11],x[0]=o,x[1]=i,x[2]=n,x[3]=a,x[4]=s,x[5]=h,x[6]=c,x[7]=m,x[8]=d,x[9]=T,x[10]=l,x[11]=_,x[12]=o*e+s*t+d*r+S[12],x[13]=i*e+h*t+T*r+S[13],x[14]=n*e+c*t+l*r+S[14],x[15]=a*e+m*t+_*r+S[15]),x}}}),XS=De({"node_modules/gl-mat4/scale.js"(Y,H){H.exports=p;function p(x,S,E){var e=E[0],t=E[1],r=E[2];return x[0]=S[0]*e,x[1]=S[1]*e,x[2]=S[2]*e,x[3]=S[3]*e,x[4]=S[4]*t,x[5]=S[5]*t,x[6]=S[6]*t,x[7]=S[7]*t,x[8]=S[8]*r,x[9]=S[9]*r,x[10]=S[10]*r,x[11]=S[11]*r,x[12]=S[12],x[13]=S[13],x[14]=S[14],x[15]=S[15],x}}}),YS=De({"node_modules/gl-mat4/rotate.js"(Y,H){H.exports=p;function p(x,S,E,e){var t=e[0],r=e[1],o=e[2],i=Math.sqrt(t*t+r*r+o*o),n,a,s,h,c,m,d,T,l,_,w,A,M,g,b,v,u,y,f,R,L,z,F,N;return Math.abs(i)<1e-6?null:(i=1/i,t*=i,r*=i,o*=i,n=Math.sin(E),a=Math.cos(E),s=1-a,h=S[0],c=S[1],m=S[2],d=S[3],T=S[4],l=S[5],_=S[6],w=S[7],A=S[8],M=S[9],g=S[10],b=S[11],v=t*t*s+a,u=r*t*s+o*n,y=o*t*s-r*n,f=t*r*s-o*n,R=r*r*s+a,L=o*r*s+t*n,z=t*o*s+r*n,F=r*o*s-t*n,N=o*o*s+a,x[0]=h*v+T*u+A*y,x[1]=c*v+l*u+M*y,x[2]=m*v+_*u+g*y,x[3]=d*v+w*u+b*y,x[4]=h*f+T*R+A*L,x[5]=c*f+l*R+M*L,x[6]=m*f+_*R+g*L,x[7]=d*f+w*R+b*L,x[8]=h*z+T*F+A*N,x[9]=c*z+l*F+M*N,x[10]=m*z+_*F+g*N,x[11]=d*z+w*F+b*N,S!==x&&(x[12]=S[12],x[13]=S[13],x[14]=S[14],x[15]=S[15]),x)}}}),ZS=De({"node_modules/gl-mat4/rotateX.js"(Y,H){H.exports=p;function p(x,S,E){var e=Math.sin(E),t=Math.cos(E),r=S[4],o=S[5],i=S[6],n=S[7],a=S[8],s=S[9],h=S[10],c=S[11];return S!==x&&(x[0]=S[0],x[1]=S[1],x[2]=S[2],x[3]=S[3],x[12]=S[12],x[13]=S[13],x[14]=S[14],x[15]=S[15]),x[4]=r*t+a*e,x[5]=o*t+s*e,x[6]=i*t+h*e,x[7]=n*t+c*e,x[8]=a*t-r*e,x[9]=s*t-o*e,x[10]=h*t-i*e,x[11]=c*t-n*e,x}}}),KS=De({"node_modules/gl-mat4/rotateY.js"(Y,H){H.exports=p;function p(x,S,E){var e=Math.sin(E),t=Math.cos(E),r=S[0],o=S[1],i=S[2],n=S[3],a=S[8],s=S[9],h=S[10],c=S[11];return S!==x&&(x[4]=S[4],x[5]=S[5],x[6]=S[6],x[7]=S[7],x[12]=S[12],x[13]=S[13],x[14]=S[14],x[15]=S[15]),x[0]=r*t-a*e,x[1]=o*t-s*e,x[2]=i*t-h*e,x[3]=n*t-c*e,x[8]=r*e+a*t,x[9]=o*e+s*t,x[10]=i*e+h*t,x[11]=n*e+c*t,x}}}),$S=De({"node_modules/gl-mat4/rotateZ.js"(Y,H){H.exports=p;function p(x,S,E){var e=Math.sin(E),t=Math.cos(E),r=S[0],o=S[1],i=S[2],n=S[3],a=S[4],s=S[5],h=S[6],c=S[7];return S!==x&&(x[8]=S[8],x[9]=S[9],x[10]=S[10],x[11]=S[11],x[12]=S[12],x[13]=S[13],x[14]=S[14],x[15]=S[15]),x[0]=r*t+a*e,x[1]=o*t+s*e,x[2]=i*t+h*e,x[3]=n*t+c*e,x[4]=a*t-r*e,x[5]=s*t-o*e,x[6]=h*t-i*e,x[7]=c*t-n*e,x}}}),JS=De({"node_modules/gl-mat4/fromRotation.js"(Y,H){H.exports=p;function p(x,S,E){var e,t,r,o=E[0],i=E[1],n=E[2],a=Math.sqrt(o*o+i*i+n*n);return Math.abs(a)<1e-6?null:(a=1/a,o*=a,i*=a,n*=a,e=Math.sin(S),t=Math.cos(S),r=1-t,x[0]=o*o*r+t,x[1]=i*o*r+n*e,x[2]=n*o*r-i*e,x[3]=0,x[4]=o*i*r-n*e,x[5]=i*i*r+t,x[6]=n*i*r+o*e,x[7]=0,x[8]=o*n*r+i*e,x[9]=i*n*r-o*e,x[10]=n*n*r+t,x[11]=0,x[12]=0,x[13]=0,x[14]=0,x[15]=1,x)}}}),QS=De({"node_modules/gl-mat4/fromRotationTranslation.js"(Y,H){H.exports=p;function p(x,S,E){var e=S[0],t=S[1],r=S[2],o=S[3],i=e+e,n=t+t,a=r+r,s=e*i,h=e*n,c=e*a,m=t*n,d=t*a,T=r*a,l=o*i,_=o*n,w=o*a;return x[0]=1-(m+T),x[1]=h+w,x[2]=c-_,x[3]=0,x[4]=h-w,x[5]=1-(s+T),x[6]=d+l,x[7]=0,x[8]=c+_,x[9]=d-l,x[10]=1-(s+m),x[11]=0,x[12]=E[0],x[13]=E[1],x[14]=E[2],x[15]=1,x}}}),eM=De({"node_modules/gl-mat4/fromScaling.js"(Y,H){H.exports=p;function p(x,S){return x[0]=S[0],x[1]=0,x[2]=0,x[3]=0,x[4]=0,x[5]=S[1],x[6]=0,x[7]=0,x[8]=0,x[9]=0,x[10]=S[2],x[11]=0,x[12]=0,x[13]=0,x[14]=0,x[15]=1,x}}}),tM=De({"node_modules/gl-mat4/fromTranslation.js"(Y,H){H.exports=p;function p(x,S){return x[0]=1,x[1]=0,x[2]=0,x[3]=0,x[4]=0,x[5]=1,x[6]=0,x[7]=0,x[8]=0,x[9]=0,x[10]=1,x[11]=0,x[12]=S[0],x[13]=S[1],x[14]=S[2],x[15]=1,x}}}),rM=De({"node_modules/gl-mat4/fromXRotation.js"(Y,H){H.exports=p;function p(x,S){var E=Math.sin(S),e=Math.cos(S);return x[0]=1,x[1]=0,x[2]=0,x[3]=0,x[4]=0,x[5]=e,x[6]=E,x[7]=0,x[8]=0,x[9]=-E,x[10]=e,x[11]=0,x[12]=0,x[13]=0,x[14]=0,x[15]=1,x}}}),iM=De({"node_modules/gl-mat4/fromYRotation.js"(Y,H){H.exports=p;function p(x,S){var E=Math.sin(S),e=Math.cos(S);return x[0]=e,x[1]=0,x[2]=-E,x[3]=0,x[4]=0,x[5]=1,x[6]=0,x[7]=0,x[8]=E,x[9]=0,x[10]=e,x[11]=0,x[12]=0,x[13]=0,x[14]=0,x[15]=1,x}}}),aM=De({"node_modules/gl-mat4/fromZRotation.js"(Y,H){H.exports=p;function p(x,S){var E=Math.sin(S),e=Math.cos(S);return x[0]=e,x[1]=E,x[2]=0,x[3]=0,x[4]=-E,x[5]=e,x[6]=0,x[7]=0,x[8]=0,x[9]=0,x[10]=1,x[11]=0,x[12]=0,x[13]=0,x[14]=0,x[15]=1,x}}}),nM=De({"node_modules/gl-mat4/fromQuat.js"(Y,H){H.exports=p;function p(x,S){var E=S[0],e=S[1],t=S[2],r=S[3],o=E+E,i=e+e,n=t+t,a=E*o,s=e*o,h=e*i,c=t*o,m=t*i,d=t*n,T=r*o,l=r*i,_=r*n;return x[0]=1-h-d,x[1]=s+_,x[2]=c-l,x[3]=0,x[4]=s-_,x[5]=1-a-d,x[6]=m+T,x[7]=0,x[8]=c+l,x[9]=m-T,x[10]=1-a-h,x[11]=0,x[12]=0,x[13]=0,x[14]=0,x[15]=1,x}}}),oM=De({"node_modules/gl-mat4/frustum.js"(Y,H){H.exports=p;function p(x,S,E,e,t,r,o){var i=1/(E-S),n=1/(t-e),a=1/(r-o);return x[0]=r*2*i,x[1]=0,x[2]=0,x[3]=0,x[4]=0,x[5]=r*2*n,x[6]=0,x[7]=0,x[8]=(E+S)*i,x[9]=(t+e)*n,x[10]=(o+r)*a,x[11]=-1,x[12]=0,x[13]=0,x[14]=o*r*2*a,x[15]=0,x}}}),sM=De({"node_modules/gl-mat4/perspective.js"(Y,H){H.exports=p;function p(x,S,E,e,t){var r=1/Math.tan(S/2),o=1/(e-t);return x[0]=r/E,x[1]=0,x[2]=0,x[3]=0,x[4]=0,x[5]=r,x[6]=0,x[7]=0,x[8]=0,x[9]=0,x[10]=(t+e)*o,x[11]=-1,x[12]=0,x[13]=0,x[14]=2*t*e*o,x[15]=0,x}}}),lM=De({"node_modules/gl-mat4/perspectiveFromFieldOfView.js"(Y,H){H.exports=p;function p(x,S,E,e){var t=Math.tan(S.upDegrees*Math.PI/180),r=Math.tan(S.downDegrees*Math.PI/180),o=Math.tan(S.leftDegrees*Math.PI/180),i=Math.tan(S.rightDegrees*Math.PI/180),n=2/(o+i),a=2/(t+r);return x[0]=n,x[1]=0,x[2]=0,x[3]=0,x[4]=0,x[5]=a,x[6]=0,x[7]=0,x[8]=-((o-i)*n*.5),x[9]=(t-r)*a*.5,x[10]=e/(E-e),x[11]=-1,x[12]=0,x[13]=0,x[14]=e*E/(E-e),x[15]=0,x}}}),uM=De({"node_modules/gl-mat4/ortho.js"(Y,H){H.exports=p;function p(x,S,E,e,t,r,o){var i=1/(S-E),n=1/(e-t),a=1/(r-o);return x[0]=-2*i,x[1]=0,x[2]=0,x[3]=0,x[4]=0,x[5]=-2*n,x[6]=0,x[7]=0,x[8]=0,x[9]=0,x[10]=2*a,x[11]=0,x[12]=(S+E)*i,x[13]=(t+e)*n,x[14]=(o+r)*a,x[15]=1,x}}}),cM=De({"node_modules/gl-mat4/lookAt.js"(Y,H){var p=Dw();H.exports=x;function x(S,E,e,t){var r,o,i,n,a,s,h,c,m,d,T=E[0],l=E[1],_=E[2],w=t[0],A=t[1],M=t[2],g=e[0],b=e[1],v=e[2];return Math.abs(T-g)<1e-6&&Math.abs(l-b)<1e-6&&Math.abs(_-v)<1e-6?p(S):(h=T-g,c=l-b,m=_-v,d=1/Math.sqrt(h*h+c*c+m*m),h*=d,c*=d,m*=d,r=A*m-M*c,o=M*h-w*m,i=w*c-A*h,d=Math.sqrt(r*r+o*o+i*i),d?(d=1/d,r*=d,o*=d,i*=d):(r=0,o=0,i=0),n=c*i-m*o,a=m*r-h*i,s=h*o-c*r,d=Math.sqrt(n*n+a*a+s*s),d?(d=1/d,n*=d,a*=d,s*=d):(n=0,a=0,s=0),S[0]=r,S[1]=n,S[2]=h,S[3]=0,S[4]=o,S[5]=a,S[6]=c,S[7]=0,S[8]=i,S[9]=s,S[10]=m,S[11]=0,S[12]=-(r*T+o*l+i*_),S[13]=-(n*T+a*l+s*_),S[14]=-(h*T+c*l+m*_),S[15]=1,S)}}}),fM=De({"node_modules/gl-mat4/str.js"(Y,H){H.exports=p;function p(x){return"mat4("+x[0]+", "+x[1]+", "+x[2]+", "+x[3]+", "+x[4]+", "+x[5]+", "+x[6]+", "+x[7]+", "+x[8]+", "+x[9]+", "+x[10]+", "+x[11]+", "+x[12]+", "+x[13]+", "+x[14]+", "+x[15]+")"}}}),zw=De({"node_modules/gl-mat4/index.js"(Y,H){H.exports={create:Td(),clone:Up(),copy:US(),identity:Dw(),transpose:jS(),invert:VS(),adjoint:qS(),determinant:HS(),multiply:GS(),translate:WS(),scale:XS(),rotate:YS(),rotateX:ZS(),rotateY:KS(),rotateZ:$S(),fromRotation:JS(),fromRotationTranslation:QS(),fromScaling:eM(),fromTranslation:tM(),fromXRotation:rM(),fromYRotation:iM(),fromZRotation:aM(),fromQuat:nM(),frustum:oM(),perspective:sM(),perspectiveFromFieldOfView:lM(),ortho:uM(),lookAt:cM(),str:fM()}}}),m_=De({"src/lib/matrix.js"(Y){"use strict";var H=zw();Y.init2dArray=function(p,x){for(var S=new Array(p),E=0;E<p;E++)S[E]=new Array(x);return S},Y.transposeRagged=function(p){var x=0,S=p.length,E,e;for(E=0;E<S;E++)x=Math.max(x,p[E].length);var t=new Array(x);for(E=0;E<x;E++)for(t[E]=new Array(S),e=0;e<S;e++)t[E][e]=p[e][E];return t},Y.dot=function(p,x){if(!(p.length&&x.length)||p.length!==x.length)return null;var S=p.length,E,e;if(p[0].length)for(E=new Array(S),e=0;e<S;e++)E[e]=Y.dot(p[e],x);else if(x[0].length){var t=Y.transposeRagged(x);for(E=new Array(t.length),e=0;e<t.length;e++)E[e]=Y.dot(p,t[e])}else for(E=0,e=0;e<S;e++)E+=p[e]*x[e];return E},Y.translationMatrix=function(p,x){return[[1,0,p],[0,1,x],[0,0,1]]},Y.rotationMatrix=function(p){var x=p*Math.PI/180;return[[Math.cos(x),-Math.sin(x),0],[Math.sin(x),Math.cos(x),0],[0,0,1]]},Y.rotationXYMatrix=function(p,x,S){return Y.dot(Y.dot(Y.translationMatrix(x,S),Y.rotationMatrix(p)),Y.translationMatrix(-x,-S))},Y.apply3DTransform=function(p){return function(){var x=arguments,S=arguments.length===1?x[0]:[x[0],x[1],x[2]||0];return Y.dot(p,[S[0],S[1],S[2],1]).slice(0,3)}},Y.apply2DTransform=function(p){return function(){var x=arguments;x.length===3&&(x=x[0]);var S=arguments.length===1?x[0]:[x[0],x[1]];return Y.dot(p,[S[0],S[1],1]).slice(0,2)}},Y.apply2DTransform2=function(p){var x=Y.apply2DTransform(p);return function(S){return x(S.slice(0,2)).concat(x(S.slice(2,4)))}},Y.convertCssMatrix=function(p){if(p){var x=p.length;if(x===16)return p;if(x===6)return[p[0],p[1],0,0,p[2],p[3],0,0,0,0,1,0,p[4],p[5],0,1]}return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]},Y.inverseTransformMatrix=function(p){var x=[];return H.invert(x,p),[[x[0],x[1],x[2],x[3]],[x[4],x[5],x[6],x[7]],[x[8],x[9],x[10],x[11]],[x[12],x[13],x[14],x[15]]]}}}),ny=De({"src/lib/dom.js"(Y,H){"use strict";var p=za(),x=Yo(),S=m_(),E=zw();function e(T){var l;if(typeof T=="string"){if(l=document.getElementById(T),l===null)throw new Error("No DOM element with id '"+T+"' exists on the page.");return l}else if(T==null)throw new Error("DOM element provided is null or undefined");return T}function t(T){var l=p.select(T);return l.node()instanceof HTMLElement&&l.size()&&l.classed("js-plotly-plot")}function r(T){var l=T&&T.parentNode;l&&l.removeChild(T)}function o(T,l){i("global",T,l)}function i(T,l,_){var w="plotly.js-style-"+T,A=document.getElementById(w);if(!(A&&A.matches(".no-inline-styles"))){A||(A=document.createElement("style"),A.setAttribute("id",w),A.appendChild(document.createTextNode("")),document.head.appendChild(A));var M=A.sheet;M?M.insertRule?M.insertRule(l+"{"+_+"}",0):M.addRule?M.addRule(l,_,0):x.warn("addStyleRule failed"):x.warn("Cannot addRelatedStyleRule, probably due to strict CSP...")}}function n(T){var l="plotly.js-style-"+T,_=document.getElementById(l);_&&r(_)}function a(T,l,_,w,A,M){var g=w.split(":"),b=A.split(":"),v="data-btn-style-event-added";M||(M=document),M.querySelectorAll(T).forEach(function(u){u.getAttribute(v)||(u.addEventListener("mouseenter",function(){var y=this.querySelector(_);y&&(y.style[g[0]]=g[1])}),u.addEventListener("mouseleave",function(){var y=this.querySelector(_);y&&(l&&this.matches(l)?y.style[g[0]]=g[1]:y.style[b[0]]=b[1])}),u.setAttribute(v,!0))})}function s(T){var l=c(T),_=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];return l.forEach(function(w){var A=h(w);if(A){var M=S.convertCssMatrix(A);_=E.multiply(_,_,M)}}),_}function h(T){var l=window.getComputedStyle(T,null),_=l.getPropertyValue("-webkit-transform")||l.getPropertyValue("-moz-transform")||l.getPropertyValue("-ms-transform")||l.getPropertyValue("-o-transform")||l.getPropertyValue("transform");return _==="none"?null:_.replace("matrix","").replace("3d","").slice(1,-1).split(",").map(function(w){return+w})}function c(T){for(var l=[];m(T);)l.push(T),T=T.parentNode,typeof ShadowRoot=="function"&&T instanceof ShadowRoot&&(T=T.host);return l}function m(T){return T&&(T instanceof Element||T instanceof HTMLElement)}function d(T,l){return T&&l&&T.top===l.top&&T.left===l.left&&T.right===l.right&&T.bottom===l.bottom}H.exports={getGraphDiv:e,isPlotDiv:t,removeElement:r,addStyleRule:o,addRelatedStyleRule:i,deleteRelatedStyleRule:n,setStyleOnHover:a,getFullTransformMatrix:s,getElementTransformMatrix:h,getElementAndAncestors:c,equalDomRects:d}}}),oy=De({"src/plots/animation_attributes.js"(Y,H){"use strict";H.exports={mode:{valType:"enumerated",dflt:"afterall",values:["immediate","next","afterall"]},direction:{valType:"enumerated",values:["forward","reverse"],dflt:"forward"},fromcurrent:{valType:"boolean",dflt:!1},frame:{duration:{valType:"number",min:0,dflt:500},redraw:{valType:"boolean",dflt:!0}},transition:{duration:{valType:"number",min:0,dflt:500,editType:"none"},easing:{valType:"enumerated",dflt:"cubic-in-out",values:["linear","quad","cubic","sin","exp","circle","elastic","back","bounce","linear-in","quad-in","cubic-in","sin-in","exp-in","circle-in","elastic-in","back-in","bounce-in","linear-out","quad-out","cubic-out","sin-out","exp-out","circle-out","elastic-out","back-out","bounce-out","linear-in-out","quad-in-out","cubic-in-out","sin-in-out","exp-in-out","circle-in-out","elastic-in-out","back-in-out","bounce-in-out"],editType:"none"},ordering:{valType:"enumerated",values:["layout first","traces first"],dflt:"layout first",editType:"none"}}}}}),gc=De({"src/plot_api/edit_types.js"(Y,H){"use strict";var p=Xo().extendFlat,x=fu(),S={valType:"flaglist",extras:["none"],flags:["calc","clearAxisTypes","plot","style","markerSize","colorbars"]},E={valType:"flaglist",extras:["none"],flags:["calc","plot","legend","ticks","axrange","layoutstyle","modebar","camera","arraydraw","colorbars"]},e=S.flags.slice().concat(["fullReplot"]),t=E.flags.slice().concat("layoutReplot");H.exports={traces:S,layout:E,traceFlags:function(){return r(e)},layoutFlags:function(){return r(t)},update:function(n,a){var s=a.editType;if(s&&s!=="none")for(var h=s.split("+"),c=0;c<h.length;c++)n[h[c]]=!0},overrideAll:o};function r(n){for(var a={},s=0;s<n.length;s++)a[n[s]]=!1;return a}function o(n,a,s){var h=p({},n);for(var c in h){var m=h[c];x(m)&&(h[c]=i(m,a,s,c))}return s==="from-root"&&(h.editType=a),h}function i(n,a,s,h){if(n.valType){var c=p({},n);if(c.editType=a,Array.isArray(n.items)){c.items=new Array(n.items.length);for(var m=0;m<n.items.length;m++)c.items[m]=i(n.items[m],a,"from-root")}return c}else return o(n,a,h.charAt(0)==="_"?"nested":"from-root")}}}),Ch=De({"src/components/drawing/attributes.js"(Y){"use strict";Y.dash={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"},Y.pattern={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style"},path:{valType:"string",arrayOk:!0,editType:"style"},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style"},bgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgopacity:{valType:"number",editType:"style",min:0,max:1},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style"},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style"},editType:"style"}}}),Fw=De({"src/constants/docs.js"(Y,H){"use strict";H.exports={FORMAT_LINK:"https://github.com/d3/d3-format/tree/v1.4.5#d3-format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format"}}}),ou=De({"src/plots/template_attributes.js"(Y){"use strict";var{DATE_FORMAT_LINK:H,FORMAT_LINK:p}=Fw(),x=["Variables that can't be found will be replaced with the specifier.",'For example, a template of "data: %{x}, %{y}" will result in a value of "data: 1, %{y}" if x is 1 and y is missing.',"Variables with an undefined value will be replaced with the fallback value."].join(" ");function S({supportOther:E}={}){return["Variables are inserted using %{variable},",'for example "y: %{y}"'+(E?" as well as %{xother}, {%_xother}, {%_xother_}, {%xother_}. When showing info for several points, *xother* will be added to those with different x positions from the first point. An underscore before or after *(x|y)other* will add a space on that side, only when this field is shown.":"."),`Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}".`,p,"for details on the formatting syntax.",`Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}".`,H,"for details on the date formatting syntax.",x].join(" ")}Y.templateFormatStringDescription=S,Y.hovertemplateAttrs=({editType:E="none",arrayOk:e}={},t={})=>Ri({valType:"string",dflt:"",editType:E},e!==!1?{arrayOk:!0}:{}),Y.texttemplateAttrs=({editType:E="calc",arrayOk:e}={},t={})=>Ri({valType:"string",dflt:"",editType:E},e!==!1?{arrayOk:!0}:{}),Y.shapeTexttemplateAttrs=({editType:E="arraydraw",newshape:e}={},t={})=>({valType:"string",dflt:"",editType:E}),Y.templatefallbackAttrs=({editType:E="none"}={})=>({valType:"any",dflt:"-",editType:E})}}),g_=De({"src/components/shapes/label_texttemplate.js"(Y,H){"use strict";function p(A,M){return M?M.d2l(A):A}function x(A,M){return M?M.l2d(A):A}function S(A){return A.x0}function E(A){return A.x1}function e(A){return A.y0}function t(A){return A.y1}function r(A){return A.x0shift||0}function o(A){return A.x1shift||0}function i(A){return A.y0shift||0}function n(A){return A.y1shift||0}function a(A,M){return p(A.x1,M)+o(A)-p(A.x0,M)-r(A)}function s(A,M,g){return p(A.y1,g)+n(A)-p(A.y0,g)-i(A)}function h(A,M){return Math.abs(a(A,M))}function c(A,M,g){return Math.abs(s(A,M,g))}function m(A,M,g){return A.type!=="line"?void 0:Math.sqrt(Math.pow(a(A,M),2)+Math.pow(s(A,M,g),2))}function d(A,M){return x((p(A.x1,M)+o(A)+p(A.x0,M)+r(A))/2,M)}function T(A,M,g){return x((p(A.y1,g)+n(A)+p(A.y0,g)+i(A))/2,g)}function l(A,M,g){return A.type!=="line"?void 0:s(A,M,g)/a(A,M)}var _=["x0","x1","y0","y1","dy","height","ycenter"],w=["x0","x1","y0","y1","dx","width","xcenter"];H.exports={x0:S,x1:E,y0:e,y1:t,slope:l,dx:a,dy:s,width:h,height:c,length:m,xcenter:d,ycenter:T,simpleXVariables:_,simpleYVariables:w}}}),hM=De({"src/components/shapes/draw_newshape/attributes.js"(Y,H){"use strict";var p=gc().overrideAll,x=Yl(),S=qu(),E=Ch().dash,e=Xo().extendFlat,{shapeTexttemplateAttrs:t,templatefallbackAttrs:r}=ou(),o=g_();H.exports=p({newshape:{visible:e({},x.visible,{}),showlegend:{valType:"boolean",dflt:!1},legend:e({},x.legend,{}),legendgroup:e({},x.legendgroup,{}),legendgrouptitle:{text:e({},x.legendgrouptitle.text,{}),font:S({})},legendrank:e({},x.legendrank,{}),legendwidth:e({},x.legendwidth,{}),line:{color:{valType:"color"},width:{valType:"number",min:0,dflt:4},dash:e({},E,{dflt:"solid"})},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)"},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd"},opacity:{valType:"number",min:0,max:1,dflt:1},layer:{valType:"enumerated",values:["below","above","between"],dflt:"above"},drawdirection:{valType:"enumerated",values:["ortho","horizontal","vertical","diagonal"],dflt:"diagonal"},name:e({},x.name,{}),label:{text:{valType:"string",dflt:""},texttemplate:t({newshape:!0},{keys:Object.keys(o)}),texttemplatefallback:r({editType:"arraydraw"}),font:S({}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right","start","middle","end"]},textangle:{valType:"angle",dflt:"auto"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto"},yanchor:{valType:"enumerated",values:["top","middle","bottom"]},padding:{valType:"number",dflt:3,min:0}}},activeshape:{fillcolor:{valType:"color",dflt:"rgb(255,0,255)",description:"Sets the color filling the active shape' interior."},opacity:{valType:"number",min:0,max:1,dflt:.5}}},"none","from-root")}}),dM=De({"src/components/selections/draw_newselection/attributes.js"(Y,H){"use strict";var p=Ch().dash,x=Xo().extendFlat;H.exports={newselection:{mode:{valType:"enumerated",values:["immediate","gradual"],dflt:"immediate",editType:"none"},line:{color:{valType:"color",editType:"none"},width:{valType:"number",min:1,dflt:1,editType:"none"},dash:x({},p,{dflt:"dot",editType:"none"}),editType:"none"},editType:"none"},activeselection:{fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"none"},opacity:{valType:"number",min:0,max:1,dflt:.5,editType:"none"},editType:"none"}}}}),y_=De({"src/plots/pad_attributes.js"(Y,H){"use strict";H.exports=function(p){var x=p.editType;return{t:{valType:"number",dflt:0,editType:x},r:{valType:"number",dflt:0,editType:x},b:{valType:"number",dflt:0,editType:x},l:{valType:"number",dflt:0,editType:x},editType:x}}}}),Wm=De({"src/plots/layout_attributes.js"(Y,H){"use strict";var p=qu(),x=oy(),S=Pf(),E=hM(),e=dM(),t=y_(),r=Xo().extendFlat,o=p({editType:"calc"});o.family.dflt='"Open Sans", verdana, arial, sans-serif',o.size.dflt=12,o.color.dflt=S.defaultLine,H.exports={font:o,title:{text:{valType:"string",editType:"layoutstyle"},font:p({editType:"layoutstyle"}),subtitle:{text:{valType:"string",editType:"layoutstyle"},font:p({editType:"layoutstyle"}),editType:"layoutstyle"},xref:{valType:"enumerated",dflt:"container",values:["container","paper"],editType:"layoutstyle"},yref:{valType:"enumerated",dflt:"container",values:["container","paper"],editType:"layoutstyle"},x:{valType:"number",min:0,max:1,dflt:.5,editType:"layoutstyle"},y:{valType:"number",min:0,max:1,dflt:"auto",editType:"layoutstyle"},xanchor:{valType:"enumerated",dflt:"auto",values:["auto","left","center","right"],editType:"layoutstyle"},yanchor:{valType:"enumerated",dflt:"auto",values:["auto","top","middle","bottom"],editType:"layoutstyle"},pad:r(t({editType:"layoutstyle"}),{}),automargin:{valType:"boolean",dflt:!1,editType:"plot"},editType:"layoutstyle"},uniformtext:{mode:{valType:"enumerated",values:[!1,"hide","show"],dflt:!1,editType:"plot"},minsize:{valType:"number",min:0,dflt:0,editType:"plot"},editType:"plot"},autosize:{valType:"boolean",dflt:!1,editType:"none"},width:{valType:"number",min:10,dflt:700,editType:"plot"},height:{valType:"number",min:10,dflt:450,editType:"plot"},minreducedwidth:{valType:"number",min:2,dflt:64,editType:"plot"},minreducedheight:{valType:"number",min:2,dflt:64,editType:"plot"},margin:{l:{valType:"number",min:0,dflt:80,editType:"plot"},r:{valType:"number",min:0,dflt:80,editType:"plot"},t:{valType:"number",min:0,dflt:100,editType:"plot"},b:{valType:"number",min:0,dflt:80,editType:"plot"},pad:{valType:"number",min:0,dflt:0,editType:"plot"},autoexpand:{valType:"boolean",dflt:!0,editType:"plot"},editType:"plot"},computed:{valType:"any",editType:"none"},paper_bgcolor:{valType:"color",dflt:S.background,editType:"plot"},plot_bgcolor:{valType:"color",dflt:S.background,editType:"layoutstyle"},autotypenumbers:{valType:"enumerated",values:["convert types","strict"],dflt:"convert types",editType:"calc"},separators:{valType:"string",editType:"plot"},hidesources:{valType:"boolean",dflt:!1,editType:"plot"},showlegend:{valType:"boolean",editType:"legend"},colorway:{valType:"colorlist",dflt:S.defaults,editType:"calc"},datarevision:{valType:"any",editType:"calc"},uirevision:{valType:"any",editType:"none"},editrevision:{valType:"any",editType:"none"},selectionrevision:{valType:"any",editType:"none"},template:{valType:"any",editType:"calc"},newshape:E.newshape,activeshape:E.activeshape,newselection:e.newselection,activeselection:e.activeselection,meta:{valType:"any",arrayOk:!0,editType:"plot"},transition:r({},x.transition,{editType:"none"})}}}),vM=De({"node_modules/maplibre-gl/dist/maplibre-gl.css"(){(function(){if(!document.getElementById("a75c73da1cd7a97e8992659f6aed556255838daadea9ca0c9fc3af7f1ddf63c0")){var Y=document.createElement("style");Y.id="a75c73da1cd7a97e8992659f6aed556255838daadea9ca0c9fc3af7f1ddf63c0",Y.textContent=`.maplibregl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgb(0 0 0/0)}.maplibregl-canvas{left:0;position:absolute;top:0}.maplibregl-map:fullscreen{height:100%;width:100%}.maplibregl-ctrl-group button.maplibregl-ctrl-compass{touch-action:none}.maplibregl-canvas-container.maplibregl-interactive,.maplibregl-ctrl-group button.maplibregl-ctrl-compass{cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none}.maplibregl-canvas-container.maplibregl-interactive.maplibregl-track-pointer{cursor:pointer}.maplibregl-canvas-container.maplibregl-interactive:active,.maplibregl-ctrl-group button.maplibregl-ctrl-compass:active{cursor:grabbing}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-canvas-container.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:pinch-zoom}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:none}.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures,.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right,.maplibregl-ctrl-top-left,.maplibregl-ctrl-top-right{pointer-events:none;position:absolute;z-index:2}.maplibregl-ctrl-top-left{left:0;top:0}.maplibregl-ctrl-top-right{right:0;top:0}.maplibregl-ctrl-bottom-left{bottom:0;left:0}.maplibregl-ctrl-bottom-right{bottom:0;right:0}.maplibregl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.maplibregl-ctrl-top-left .maplibregl-ctrl{float:left;margin:10px 0 0 10px}.maplibregl-ctrl-top-right .maplibregl-ctrl{float:right;margin:10px 10px 0 0}.maplibregl-ctrl-bottom-left .maplibregl-ctrl{float:left;margin:0 0 10px 10px}.maplibregl-ctrl-bottom-right .maplibregl-ctrl{float:right;margin:0 10px 10px 0}.maplibregl-ctrl-group{background:#fff;border-radius:4px}.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px rgba(0,0,0,.1)}@media (forced-colors:active){.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.maplibregl-ctrl-group button{background-color:transparent;border:0;box-sizing:border-box;cursor:pointer;display:block;height:29px;outline:none;padding:0;width:29px}.maplibregl-ctrl-group button+button{border-top:1px solid #ddd}.maplibregl-ctrl button .maplibregl-ctrl-icon{background-position:50%;background-repeat:no-repeat;display:block;height:100%;width:100%}@media (forced-colors:active){.maplibregl-ctrl-icon{background-color:transparent}.maplibregl-ctrl-group button+button{border-top:1px solid ButtonText}}.maplibregl-ctrl button::-moz-focus-inner{border:0;padding:0}.maplibregl-ctrl-attrib-button:focus,.maplibregl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl button:disabled{cursor:not-allowed}.maplibregl-ctrl button:disabled .maplibregl-ctrl-icon{opacity:.25}.maplibregl-ctrl button:not(:disabled):hover{background-color:rgb(0 0 0/5%)}.maplibregl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.maplibregl-ctrl-group button:focus:first-child{border-radius:4px 4px 0 0}.maplibregl-ctrl-group button:focus:last-child{border-radius:0 0 4px 4px}.maplibregl-ctrl-group button:focus:only-child{border-radius:inherit}.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-terrain .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='%23333' viewBox='0 0 22 22'%3E%3Cpath d='m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-terrain-enabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='%2333b5e5' viewBox='0 0 22 22'%3E%3Cpath d='m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23aaa' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e58978' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e54e33' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-waiting .maplibregl-ctrl-icon{animation:maplibregl-spin 2s linear infinite}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23999' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e58978' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e54e33' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23666' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}}@keyframes maplibregl-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}a.maplibregl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;cursor:pointer;display:block;height:23px;margin:0 0 -4px -4px;overflow:hidden;width:88px}a.maplibregl-ctrl-logo.maplibregl-compact{width:14px}@media (forced-colors:active){a.maplibregl-ctrl-logo{background-color:transparent;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){a.maplibregl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E")}}.maplibregl-ctrl.maplibregl-ctrl-attrib{background-color:hsla(0,0%,100%,.5);margin:0;padding:0 5px}@media screen{.maplibregl-ctrl-attrib.maplibregl-compact{background-color:#fff;border-radius:12px;box-sizing:content-box;color:#000;margin:10px;min-height:20px;padding:2px 24px 2px 0;position:relative}.maplibregl-ctrl-attrib.maplibregl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact-show,.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact-show{border-radius:12px;padding:2px 8px 2px 28px}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-inner{display:none}.maplibregl-ctrl-attrib-button{background-color:hsla(0,0%,100%,.5);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E");border:0;border-radius:12px;box-sizing:border-box;cursor:pointer;display:none;height:24px;outline:none;position:absolute;right:0;top:0;width:24px}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;list-style:none}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button::-webkit-details-marker{display:none}.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-top-left .maplibregl-ctrl-attrib-button{left:0}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-inner{display:block}.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-button{background-color:rgb(0 0 0/5%)}.maplibregl-ctrl-bottom-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;right:0}.maplibregl-ctrl-top-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{right:0;top:0}.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{left:0;top:0}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;left:0}}@media screen and (forced-colors:active){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%23fff' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}@media screen and (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}.maplibregl-ctrl-attrib a{color:rgba(0,0,0,.75);text-decoration:none}.maplibregl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.maplibregl-attrib-empty{display:none}.maplibregl-ctrl-scale{background-color:hsla(0,0%,100%,.75);border:2px solid #333;border-top:#333;box-sizing:border-box;color:#333;font-size:10px;padding:0 5px}.maplibregl-popup{display:flex;left:0;pointer-events:none;position:absolute;top:0;will-change:transform}.maplibregl-popup-anchor-top,.maplibregl-popup-anchor-top-left,.maplibregl-popup-anchor-top-right{flex-direction:column}.maplibregl-popup-anchor-bottom,.maplibregl-popup-anchor-bottom-left,.maplibregl-popup-anchor-bottom-right{flex-direction:column-reverse}.maplibregl-popup-anchor-left{flex-direction:row}.maplibregl-popup-anchor-right{flex-direction:row-reverse}.maplibregl-popup-tip{border:10px solid transparent;height:0;width:0;z-index:1}.maplibregl-popup-anchor-top .maplibregl-popup-tip{align-self:center;border-bottom-color:#fff;border-top:none}.maplibregl-popup-anchor-top-left .maplibregl-popup-tip{align-self:flex-start;border-bottom-color:#fff;border-left:none;border-top:none}.maplibregl-popup-anchor-top-right .maplibregl-popup-tip{align-self:flex-end;border-bottom-color:#fff;border-right:none;border-top:none}.maplibregl-popup-anchor-bottom .maplibregl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.maplibregl-popup-anchor-left .maplibregl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.maplibregl-popup-anchor-right .maplibregl-popup-tip{align-self:center;border-left-color:#fff;border-right:none}.maplibregl-popup-close-button{background-color:transparent;border:0;border-radius:0 3px 0 0;cursor:pointer;position:absolute;right:0;top:0}.maplibregl-popup-close-button:hover{background-color:rgb(0 0 0/5%)}.maplibregl-popup-content{background:#fff;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.1);padding:15px 10px;pointer-events:auto;position:relative}.maplibregl-popup-anchor-top-left .maplibregl-popup-content{border-top-left-radius:0}.maplibregl-popup-anchor-top-right .maplibregl-popup-content{border-top-right-radius:0}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-content{border-bottom-left-radius:0}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-content{border-bottom-right-radius:0}.maplibregl-popup-track-pointer{display:none}.maplibregl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.maplibregl-map:hover .maplibregl-popup-track-pointer{display:flex}.maplibregl-map:active .maplibregl-popup-track-pointer{display:none}.maplibregl-marker{left:0;position:absolute;top:0;transition:opacity .2s;will-change:transform}.maplibregl-user-location-dot,.maplibregl-user-location-dot:before{background-color:#1da1f2;border-radius:50%;height:15px;width:15px}.maplibregl-user-location-dot:before{animation:maplibregl-user-location-dot-pulse 2s infinite;content:"";position:absolute}.maplibregl-user-location-dot:after{border:2px solid #fff;border-radius:50%;box-shadow:0 0 3px rgba(0,0,0,.35);box-sizing:border-box;content:"";height:19px;left:-2px;position:absolute;top:-2px;width:19px}@keyframes maplibregl-user-location-dot-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:0;transform:scale(3)}to{opacity:0;transform:scale(1)}}.maplibregl-user-location-dot-stale{background-color:#aaa}.maplibregl-user-location-dot-stale:after{display:none}.maplibregl-user-location-accuracy-circle{background-color:#1da1f233;border-radius:100%;height:1px;width:1px}.maplibregl-crosshair,.maplibregl-crosshair .maplibregl-interactive,.maplibregl-crosshair .maplibregl-interactive:active{cursor:crosshair}.maplibregl-boxzoom{background:#fff;border:2px dotted #202020;height:0;left:0;opacity:.5;position:absolute;top:0;width:0}.maplibregl-cooperative-gesture-screen{align-items:center;background:rgba(0,0,0,.4);color:#fff;display:flex;font-size:1.4em;inset:0;justify-content:center;line-height:1.2;opacity:0;padding:1rem;pointer-events:none;position:absolute;transition:opacity 1s ease 1s;z-index:99999}.maplibregl-cooperative-gesture-screen.maplibregl-show{opacity:1;transition:opacity .05s}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:none}@media (hover:none),(width <= 480px){.maplibregl-cooperative-gesture-screen .maplibregl-desktop-message{display:none}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:block}}.maplibregl-pseudo-fullscreen{height:100%!important;left:0!important;position:fixed!important;top:0!important;width:100%!important;z-index:99999}`,document.head.appendChild(Y)}})()}}),Mo=De({"src/registry.js"(Y){"use strict";var H=Yo(),p=As(),x=Sc(),S=fu(),E=ny().addStyleRule,e=Xo(),t=Yl(),r=Wm(),o=e.extendFlat,i=e.extendDeepAll;Y.modules={},Y.allCategories={},Y.allTypes=[],Y.subplotsRegistry={},Y.componentsRegistry={},Y.layoutArrayContainers=[],Y.layoutArrayRegexes=[],Y.traceLayoutAttributes={},Y.localeRegistry={},Y.apiMethodRegistry={},Y.collectableSubplotTypes=null,Y.register=function(w){if(Y.collectableSubplotTypes=null,w)w&&!Array.isArray(w)&&(w=[w]);else throw new Error("No argument passed to Plotly.register.");for(var A=0;A<w.length;A++){var M=w[A];if(!M)throw new Error("Invalid module was attempted to be registered!");switch(M.moduleType){case"trace":n(M);break;case"transform":h(M);break;case"component":s(M);break;case"locale":c(M);break;case"apiMethod":var g=M.name;Y.apiMethodRegistry[g]=M.fn;break;default:throw new Error("Invalid module was attempted to be registered!")}}},Y.getModule=function(_){var w=Y.modules[l(_)];return w?w._module:!1},Y.traceIs=function(_,w){if(_=l(_),_==="various")return!1;var A=Y.modules[_];return A||(_&&H.log("Unrecognized trace type "+_+"."),A=Y.modules[t.type.dflt]),!!A.categories[w]},Y.getComponentMethod=function(_,w){var A=Y.componentsRegistry[_];return A&&A[w]||p},Y.call=function(){var _=arguments[0],w=[].slice.call(arguments,1);return Y.apiMethodRegistry[_].apply(null,w)};function n(_){var w=_.name,A=_.categories,M=_.meta;if(Y.modules[w]){H.log("Type "+w+" already registered");return}Y.subplotsRegistry[_.basePlotModule.name]||a(_.basePlotModule);for(var g={},b=0;b<A.length;b++)g[A[b]]=!0,Y.allCategories[A[b]]=!0;Y.modules[w]={_module:_,categories:g},M&&Object.keys(M).length&&(Y.modules[w].meta=M),Y.allTypes.push(w);for(var v in Y.componentsRegistry)d(v,w);_.layoutAttributes&&o(Y.traceLayoutAttributes,_.layoutAttributes);var u=_.basePlotModule,y=u.name;if(y==="mapbox"){var f=u.constants.styleRules;for(var R in f)E(".js-plotly-plot .plotly .mapboxgl-"+R,f[R])}y==="map"&&vM(),(y==="geo"||y==="mapbox"||y==="map")&&window.PlotlyGeoAssets===void 0&&(window.PlotlyGeoAssets={topojson:{}})}function a(_){var w=_.name;if(Y.subplotsRegistry[w]){H.log("Plot type "+w+" already registered.");return}m(_),Y.subplotsRegistry[w]=_;for(var A in Y.componentsRegistry)T(A,_.name)}function s(_){if(typeof _.name!="string")throw new Error("Component module *name* must be a string.");var w=_.name;Y.componentsRegistry[w]=_,_.layoutAttributes&&(_.layoutAttributes._isLinkedToArray&&x(Y.layoutArrayContainers,w),m(_));for(var A in Y.modules)d(w,A);for(var M in Y.subplotsRegistry)T(w,M);_.schema&&_.schema.layout&&i(r,_.schema.layout)}function h(_){if(typeof _.name!="string")throw new Error("Transform module *name* must be a string.");var w="Transform module "+_.name,A=typeof _.transform=="function",M=typeof _.calcTransform=="function";if(!A&&!M)throw new Error(w+" is missing a *transform* or *calcTransform* method.");A&&M&&H.log([w+" has both a *transform* and *calcTransform* methods.","Please note that all *transform* methods are executed","before all *calcTransform* methods."].join(" ")),S(_.attributes)||H.log(w+" registered without an *attributes* object."),typeof _.supplyDefaults!="function"&&H.log(w+" registered without a *supplyDefaults* method.")}function c(_){var w=_.name,A=w.split("-")[0],M=_.dictionary,g=_.format,b=M&&Object.keys(M).length,v=g&&Object.keys(g).length,u=Y.localeRegistry,y=u[w];if(y||(u[w]=y={}),A!==w){var f=u[A];f||(u[A]=f={}),b&&f.dictionary===y.dictionary&&(f.dictionary=M),v&&f.format===y.format&&(f.format=g)}b&&(y.dictionary=M),v&&(y.format=g)}function m(_){if(_.layoutAttributes){var w=_.layoutAttributes._arrayAttrRegexps;if(w)for(var A=0;A<w.length;A++)x(Y.layoutArrayRegexes,w[A])}}function d(_,w){var A=Y.componentsRegistry[_].schema;if(!(!A||!A.traces)){var M=A.traces[w];M&&i(Y.modules[w]._module.attributes,M)}}function T(_,w){var A=Y.componentsRegistry[_].schema;if(!(!A||!A.subplots)){var M=Y.subplotsRegistry[w],g=M.layoutAttributes,b=M.attr==="subplot"?M.name:M.attr;Array.isArray(b)&&(b=b[0]);var v=A.subplots[b];g&&v&&i(g,v)}}function l(_){return typeof _=="object"&&(_=_.type),_}}}),pM=De({"src/lib/dates.js"(Y){"use strict";var H=Do().timeFormat,p=vn(),x=Yo(),S=gf().mod,E=zn(),e=E.BADNUM,t=E.ONEDAY,r=E.ONEHOUR,o=E.ONEMIN,i=E.ONESEC,n=E.EPOCHJD,a=Mo(),s=Do().utcFormat,h=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\d)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d(:?\d\d)?)?)?)?)?)?\s*$/m,c=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\di?)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d(:?\d\d)?)?)?)?)?)?\s*$/m,m=new Date().getFullYear()-70;function d(F){return F&&a.componentsRegistry.calendars&&typeof F=="string"&&F!=="gregorian"}Y.dateTick0=function(F,N){var B=T(F,!!N);if(N<2)return B;var I=Y.dateTime2ms(B,F);return I+=t*(N-1),Y.ms2DateTime(I,0,F)};function T(F,N){return d(F)?N?a.getComponentMethod("calendars","CANONICAL_SUNDAY")[F]:a.getComponentMethod("calendars","CANONICAL_TICK")[F]:N?"2000-01-02":"2000-01-01"}Y.dfltRange=function(F){return d(F)?a.getComponentMethod("calendars","DFLTRANGE")[F]:["2000-01-01","2001-01-01"]},Y.isJSDate=function(F){return typeof F=="object"&&F!==null&&typeof F.getTime=="function"};var l,_;Y.dateTime2ms=function(F,N){if(Y.isJSDate(F)){var B=F.getTimezoneOffset()*o,I=(F.getUTCMinutes()-F.getMinutes())*o+(F.getUTCSeconds()-F.getSeconds())*i+(F.getUTCMilliseconds()-F.getMilliseconds());if(I){var U=3*o;B=B-U/2+S(I-B+U/2,U)}return F=Number(F)-B,F>=l&&F<=_?F:e}if(typeof F!="string"&&typeof F!="number")return e;F=String(F);var O=d(N),X=F.charAt(0);O&&(X==="G"||X==="g")&&(F=F.slice(1),N="");var J=O&&N.slice(0,7)==="chinese",se=F.match(J?c:h);if(!se)return e;var le=se[1],ce=se[3]||"1",q=Number(se[5]||1),Z=Number(se[7]||0),ee=Number(se[9]||0),V=Number(se[11]||0);if(O){if(le.length===2)return e;le=Number(le);var oe;try{var ie=a.getComponentMethod("calendars","getCal")(N);if(J){var j=ce.charAt(ce.length-1)==="i";ce=parseInt(ce,10),oe=ie.newDate(le,ie.toMonthIndex(le,ce,j),q)}else oe=ie.newDate(le,Number(ce),q)}catch{return e}return oe?(oe.toJD()-n)*t+Z*r+ee*o+V*i:e}le.length===2?le=(Number(le)+2e3-m)%100+m:le=Number(le),ce-=1;var Q=new Date(Date.UTC(2e3,ce,q,Z,ee));return Q.setUTCFullYear(le),Q.getUTCMonth()!==ce||Q.getUTCDate()!==q?e:Q.getTime()+V*i},l=Y.MIN_MS=Y.dateTime2ms("-9999"),_=Y.MAX_MS=Y.dateTime2ms("9999-12-31 23:59:59.9999"),Y.isDateTime=function(F,N){return Y.dateTime2ms(F,N)!==e};function w(F,N){return String(F+Math.pow(10,N)).slice(1)}var A=90*t,M=3*r,g=5*o;Y.ms2DateTime=function(F,N,B){if(typeof F!="number"||!(F>=l&&F<=_))return e;N||(N=0);var I=Math.floor(S(F+.05,1)*10),U=Math.round(F-I/10),O,X,J,se,le,ce;if(d(B)){var q=Math.floor(U/t)+n,Z=Math.floor(S(F,t));try{O=a.getComponentMethod("calendars","getCal")(B).fromJD(q).formatDate("yyyy-mm-dd")}catch{O=s("G%Y-%m-%d")(new Date(U))}if(O.charAt(0)==="-")for(;O.length<11;)O="-0"+O.slice(1);else for(;O.length<10;)O="0"+O;X=N<A?Math.floor(Z/r):0,J=N<A?Math.floor(Z%r/o):0,se=N<M?Math.floor(Z%o/i):0,le=N<g?Z%i*10+I:0}else ce=new Date(U),O=s("%Y-%m-%d")(ce),X=N<A?ce.getUTCHours():0,J=N<A?ce.getUTCMinutes():0,se=N<M?ce.getUTCSeconds():0,le=N<g?ce.getUTCMilliseconds()*10+I:0;return b(O,X,J,se,le)},Y.ms2DateTimeLocal=function(F){if(!(F>=l+t&&F<=_-t))return e;var N=Math.floor(S(F+.05,1)*10),B=new Date(Math.round(F-N/10)),I=H("%Y-%m-%d")(B),U=B.getHours(),O=B.getMinutes(),X=B.getSeconds(),J=B.getUTCMilliseconds()*10+N;return b(I,U,O,X,J)};function b(F,N,B,I,U){if((N||B||I||U)&&(F+=" "+w(N,2)+":"+w(B,2),(I||U)&&(F+=":"+w(I,2),U))){for(var O=4;U%10===0;)O-=1,U/=10;F+="."+w(U,O)}return F}Y.cleanDate=function(F,N,B){if(F===e)return N;if(Y.isJSDate(F)||typeof F=="number"&&isFinite(F)){if(d(B))return x.error("JS Dates and milliseconds are incompatible with world calendars",F),N;if(F=Y.ms2DateTimeLocal(+F),!F&&N!==void 0)return N}else if(!Y.isDateTime(F,B))return x.error("unrecognized date",F),N;return F};var v=/%\d?f/g,u=/%h/g,y={1:"1",2:"1",3:"2",4:"2"};function f(F,N,B,I){F=F.replace(v,function(O){var X=Math.min(+O.charAt(1)||6,6),J=(N/1e3%1+2).toFixed(X).slice(2).replace(/0+$/,"")||"0";return J});var U=new Date(Math.floor(N+.05));if(F=F.replace(u,function(){return y[B("%q")(U)]}),d(I))try{F=a.getComponentMethod("calendars","worldCalFmt")(F,N,I)}catch{return"Invalid"}return B(F)(U)}var R=[59,59.9,59.99,59.999,59.9999];function L(F,N){var B=S(F+.05,t),I=w(Math.floor(B/r),2)+":"+w(S(Math.floor(B/o),60),2);if(N!=="M"){p(N)||(N=0);var U=Math.min(S(F/i,60),R[N]),O=(100+U).toFixed(N).slice(1);N>0&&(O=O.replace(/0+$/,"").replace(/[\.]$/,"")),I+=":"+O}return I}Y.formatDate=function(F,N,B,I,U,O){if(U=d(U)&&U,!N)if(B==="y")N=O.year;else if(B==="m")N=O.month;else if(B==="d")N=O.dayMonth+` |
no test coverage detected