@stlite/desktop 0.91.0 → 0.91.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/bin/dump_artifacts.js +1 -1
- package/build/assets/{ErrorOutline.esm-5cmZjQRC-icYL4BM5.js → ErrorOutline.esm-CBPRrcCq-C9-TIHiy.js} +1 -1
- package/build/assets/{FileDownload.esm-rDRR6AEq-DjpuiBZc.js → FileDownload.esm-zztsCQgv-C5piFaVt.js} +1 -1
- package/build/assets/{FileHelper-DDgj8qUb-DZYWXyeE.js → FileHelper-D9iak492-B1kwMP-N.js} +1 -1
- package/build/assets/{FormClearHelper-Bi1RDDCw-CUfvtGEu.js → FormClearHelper-B-0AN2KG-drNJ-Zdq.js} +1 -1
- package/build/assets/{Hooks-BLb3umpI-D_n25nUE.js → Hooks-BLb3umpI-CC08A2wx.js} +1 -1
- package/build/assets/{InputInstructions-DK4vKQJt-CxHQuxCq.js → InputInstructions-w5hPdqFC-DnPj3I4S.js} +1 -1
- package/build/assets/{Particles-CVTDiAXz-DxW9qGxs.js → Particles-DQoPZNo9-BWmBxXhd.js} +1 -1
- package/build/assets/{ProgressBar-DBzTytnw-KD3bOGNH.js → ProgressBar-DlHaaa-z-DdC3oXz0.js} +1 -1
- package/build/assets/{Toolbar-C79vGzHM-4gREjS-R.js → Toolbar-Cau3SOTY-cJ6wtM04.js} +1 -1
- package/build/assets/{base-input-DqwZ6cLM-CfKARdZH.js → base-input-D-Fvddky-3QuAUeGB.js} +1 -1
- package/build/assets/{checkbox-DSLjv1hz-C5dTTEJn.js → checkbox-CjcIG3na-LB8a9-d7.js} +1 -1
- package/build/assets/{createSuper-B3kpwht8-vR1ZxlfE.js → createSuper-B81LEHTk-DVB4ulOX.js} +1 -1
- package/build/assets/data-grid-overlay-editor-C7-8Z8CC-CmhK1L1G.js +1 -0
- package/build/assets/{downloader-DcCTL3Wz-B8zcxQVm.js → downloader-DcCTL3Wz-DfHnsO-D.js} +1 -1
- package/build/assets/{es6--XPcqeHG-Ct8fR_QW.js → es6--XPcqeHG-CU-P5RWV.js} +2 -2
- package/build/assets/{iframeResizer.contentWindow-BYeUxEkG-BGHgpKaO.js → iframeResizer.contentWindow-vAQsQkcx-DjDgPkx5.js} +1 -1
- package/build/assets/{index-DDzvi540-BP83xTE8.js → index--hiX6Uwv-DtKO9Hld.js} +1 -1
- package/build/assets/{index-CqUzXpnq-BkRqyTZ-.js → index-6t9Tq-Ab-Cc_ees8I.js} +1 -1
- package/build/assets/{index-zCpSIFXF-CNWD8XSX.js → index-B5h0Xgw3-CNFqm9ip.js} +1 -1
- package/build/assets/{index-fUOYudAa-DwvNVa4q.js → index-BDD6ManL-XC9-hEWd.js} +1 -1
- package/build/assets/{index-0V3zFawH-dk2qSnUj.js → index-BDtR3I-m-C6v_enzF.js} +1 -1
- package/build/assets/{index-B77TIzH--_sfHBOLj.js → index-BNeCf0z6-eizg-dFz.js} +1 -1
- package/build/assets/{index-BPsr3GBY-CJGmhZ4p.js → index-BXbsmcnm-D0BJVs7R.js} +1 -1
- package/build/assets/index-Bt2pmgaJ-ymksNLCl.js +198 -0
- package/build/assets/{index-DdN7bQv1-B-kAc3Ut.js → index-Bx1YyC6x-bUWv5Yyf.js} +1 -1
- package/build/assets/{index-BUGX2TMK.js → index-BxpEVUJq.js} +45 -45
- package/build/assets/{index-BFxpMDN6-DR2ES9VX.js → index-C5FPtYYS-BTTgdUI2.js} +1 -1
- package/build/assets/{index-CKLXnSph-0c1m_tEn.js → index-CL9VPrGG-DvzaBWYj.js} +1 -1
- package/build/assets/{index-DpgEDPmz-DJh9zWZb.js → index-COXlYbHo-B2m8urCs.js} +1 -1
- package/build/assets/{index-xHja9EuR-BJAq-yTR.js → index-CR_1rzEZ-DaqWZNME.js} +1 -1
- package/build/assets/{index-CK3GkxeH-D2XBcs5n.js → index-CUH8SI0g-CgCG3Tq7.js} +1 -1
- package/build/assets/{index-D6seXbqB-BPSqxK2r.js → index-CeUKVR_x-6fYziq6X.js} +1 -1
- package/build/assets/{index-p30tlBB--Bny4OpXe.js → index-D4OS_mB9-BwMU_oxN.js} +1 -1
- package/build/assets/{index-DUxsAr3N-YOYvjsWo.js → index-D5GvvN8r-CL05rAIV.js} +1 -1
- package/build/assets/{index-DJv86VV6-BxF_m0zQ.js → index-D6OV4wQy-CQIpYALu.js} +1 -1
- package/build/assets/{index-fJZU9fvL-CKGTaTkl.js → index-D8AcUh2z-BvmWAicd.js} +1 -1
- package/build/assets/index-D9Ww6wIM-CODTYNKi.js +1 -0
- package/build/assets/{index-j0zTFwH2-B6bjwCqo.js → index-D9xjkRNt-CFe8X0f3.js} +1 -1
- package/build/assets/{index-BkEF79ga-BDywftDb.js → index-DBM8Q3zu-1UaS0Le1.js} +1 -1
- package/build/assets/{index-pBZdYFXV-CISZ02sQ.js → index-DEKI5kx7-B8lK1On8.js} +1 -1
- package/build/assets/{index-CZG1F3wS-BFc-W9r-.js → index-DVo6TdD5-Cigl7ucs.js} +1 -1
- package/build/assets/{index-CFJPpmiv-DJLEtKZ0.js → index-DYssp6us-ss1M0SKX.js} +1 -1
- package/build/assets/{index-BV9PPylv-DWAKeZC_.js → index-Da8BucgM-CDMzLZMq.js} +1 -1
- package/build/assets/{index-Hwxwzkvz-BrKybKu3.js → index-DbIPIRRU-UJS7GIgX.js} +1 -1
- package/build/assets/{index-D--Ibtdf-DP7qoXbQ.js → index-DqAvSOqr-BCGTFud5.js} +1 -1
- package/build/assets/{index-BQabGVla-C_9TU-y1.js → index-Ds3R2kL1-CFh_Kz3Y.js} +1 -1
- package/build/assets/{index-Ng0C2pop-CzH2RCjT.js → index-FbSORAjW-Lthz52ML.js} +1 -1
- package/build/assets/{index-B7QM9sAr-BJJ9a1xS.js → index-JJq6JoHy-CX1Omp_x.js} +1 -1
- package/build/assets/{index-DlIOBmG6-fWsA1K6o.js → index-OAJkEMe--vGYqEFkN.js} +1 -1
- package/build/assets/{index-CxQBvv94-C1cgCYzN.js → index-PfjJDWy5-DkldmeJ8.js} +1 -1
- package/build/assets/{index-CQ0SOKgT-K7zOmyHq.js → index-kgY8PEpO-BUILDAe7.js} +1 -1
- package/build/assets/{index-BacWTAj2-C6QHLACm.js → index-oFRA4JRK-kx0e_3zA.js} +1 -1
- package/build/assets/{index-DfmwwL-F-BtkRVq0J.js → index-vdN_5NIh-CyyygayY.js} +1 -1
- package/build/assets/{inherits-V2B09WF6-BfQai87E.js → inherits-DIXnBNlu-DQhXiByk.js} +1 -1
- package/build/assets/{input-0QG8D109-QEdIPUBc.js → input-D3V-zfyu-Ca751_uU.js} +1 -1
- package/build/assets/{memory-B3L1Fctl-DNNZq00W.js → memory-B3L1Fctl-DNb7NEQl.js} +1 -1
- package/build/assets/{number-overlay-editor-CQf9AWEA-RmKnGQqj.js → number-overlay-editor-ChRMsdOl-C6ThLwiC.js} +1 -1
- package/build/assets/{sandbox-ChAzL-i--Bt92ucFR.js → sandbox-ChAzL-i--FikCfyDW.js} +1 -1
- package/build/assets/{slicedToArray-bXF_q2D_-C8JYb8qs.js → slicedToArray-BPQXLGHq-C21Y2TxO.js} +1 -1
- package/build/assets/{timepicker-BaiGCRZ1-Sm9ehMNI.js → timepicker-B0aGGgzd-sxFvpbfo.js} +1 -1
- package/build/assets/{uniqueId-DEZw4fCm-ChV-p6H5.js → uniqueId-MHj2wT7u-DPxsodx6.js} +1 -1
- package/build/assets/{useBasicWidgetState-gAw0WJ0t-BlUmDiku.js → useBasicWidgetState-zjZCXhqV-BNiFnFun.js} +1 -1
- package/build/assets/{useTextInputAutoExpand-CrQdinCr-BiEwhNXe.js → useTextInputAutoExpand-ox95UJrD-CZJQOtsK.js} +1 -1
- package/build/assets/{useUpdateUiValue-Bz-Z5Int-0QBs3uQx.js → useUpdateUiValue-Yj1mvLxf-DIZzUp3u.js} +1 -1
- package/build/assets/{withFullScreenWrapper-BKnfDWJg-dLKoL1-0.js → withFullScreenWrapper-Ca0mIjWH-ClODS1xe.js} +1 -1
- package/build/assets/worker-B65uO5d3-CuVvmm9s.js +106 -0
- package/build/electron/worker.js +9 -9
- package/build/index.html +1 -1
- package/package.json +12 -11
- package/wheels/stlite_lib-0.1.0-py3-none-any.whl +0 -0
- package/wheels/streamlit-1.50.0-cp313-none-any.whl +0 -0
- package/build/assets/data-grid-overlay-editor-DlwBF2tR-B5qTFESv.js +0 -1
- package/build/assets/index-BaDPYxKb-eLNjgO02.js +0 -1
- package/build/assets/index-Cwu3avS4-DiDBV46w.js +0 -188
- package/build/assets/worker-BOuMG9lT-DqkGm1hg.js +0 -106
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as jp,e as tT,j as ob,m as JO,aq as Zg,X as $O,x as X4,ar as WO,l as QO,as as tz,at as eT,au as ez,av as rz,aw as nz,ax as Np,ay as df,az as rT,aA as iz,aB as Hh,aC as az,aD as oz}from"./index-BUGX2TMK.js";import{v as sz,d as nT}from"./withFullScreenWrapper-BKnfDWJg-dLKoL1-0.js";import{d as lz}from"./FormClearHelper-Bi1RDDCw-CUfvtGEu.js";var uz={},Z4={},K4={},J4;function cz(){return J4||(J4=1,(function(Qn){function Fa(Wo){"@babel/helpers - typeof";return Fa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Js){return typeof Js}:function(Js){return Js&&typeof Symbol=="function"&&Js.constructor===Symbol&&Js!==Symbol.prototype?"symbol":typeof Js},Fa(Wo)}Object.defineProperty(Qn,"__esModule",{value:!0}),Qn.default=Vd;var Cs=Wu(az),No=Ws(oz());function Ws(Wo){return Wo&&Wo.__esModule?Wo:{default:Wo}}function hc(Wo){if(typeof WeakMap!="function")return null;var Js=new WeakMap,Qu=new WeakMap;return(hc=function(Ki){return Ki?Qu:Js})(Wo)}function Wu(Wo,Js){if(Wo&&Wo.__esModule)return Wo;if(Wo===null||Fa(Wo)!=="object"&&typeof Wo!="function")return{default:Wo};var Qu=hc(Js);if(Qu&&Qu.has(Wo))return Qu.get(Wo);var Ki={},fc=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ts in Wo)if(ts!=="default"&&Object.prototype.hasOwnProperty.call(Wo,ts)){var ss=fc?Object.getOwnPropertyDescriptor(Wo,ts):null;ss&&(ss.get||ss.set)?Object.defineProperty(Ki,ts,ss):Ki[ts]=Wo[ts]}return Ki.default=Wo,Qu&&Qu.set(Wo,Ki),Ki}function Ph(Wo,Js){if(!(Wo instanceof Js))throw new TypeError("Cannot call a class as a function")}function bh(Wo,Js){for(var Qu=0;Qu<Js.length;Qu++){var Ki=Js[Qu];Ki.enumerable=Ki.enumerable||!1,Ki.configurable=!0,"value"in Ki&&(Ki.writable=!0),Object.defineProperty(Wo,Ki.key,Ki)}}function Rh(Wo,Js,Qu){return Js&&bh(Wo.prototype,Js),Object.defineProperty(Wo,"prototype",{writable:!1}),Wo}function hh(Wo,Js){if(typeof Js!="function"&&Js!==null)throw new TypeError("Super expression must either be null or a function");Wo.prototype=Object.create(Js&&Js.prototype,{constructor:{value:Wo,writable:!0,configurable:!0}}),Object.defineProperty(Wo,"prototype",{writable:!1}),Js&&Wc(Wo,Js)}function Wc(Wo,Js){return Wc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Qu,Ki){return Qu.__proto__=Ki,Qu},Wc(Wo,Js)}function kc(Wo){var Js=wh();return function(){var Qu=sl(Wo),Ki;if(Js){var fc=sl(this).constructor;Ki=Reflect.construct(Qu,arguments,fc)}else Ki=Qu.apply(this,arguments);return Qo(this,Ki)}}function Qo(Wo,Js){if(Js&&(Fa(Js)==="object"||typeof Js=="function"))return Js;if(Js!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return kl(Wo)}function kl(Wo){if(Wo===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Wo}function wh(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function sl(Wo){return sl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(Js){return Js.__proto__||Object.getPrototypeOf(Js)},sl(Wo)}var Vt=["AfterExport","AfterPlot","Animated","AnimatingFrame","AnimationInterrupted","AutoSize","BeforeExport","BeforeHover","ButtonClicked","Click","ClickAnnotation","Deselect","DoubleClick","Framework","Hover","LegendClick","LegendDoubleClick","Relayout","Relayouting","Restyle","Redraw","Selected","Selecting","SliderChange","SliderEnd","SliderStart","SunburstClick","Transitioning","TransitionInterrupted","Unhover","WebGlContextLost"],xp=["plotly_restyle","plotly_redraw","plotly_relayout","plotly_relayouting","plotly_doubleclick","plotly_animated","plotly_sunburstclick"],sd=typeof window<"u";function Vd(Wo){var Js=(function(Qu){hh(fc,Qu);var Ki=kc(fc);function fc(ts){var ss;return Ph(this,fc),ss=Ki.call(this,ts),ss.p=Promise.resolve(),ss.resizeHandler=null,ss.handlers={},ss.syncWindowResize=ss.syncWindowResize.bind(kl(ss)),ss.syncEventHandlers=ss.syncEventHandlers.bind(kl(ss)),ss.attachUpdateEvents=ss.attachUpdateEvents.bind(kl(ss)),ss.getRef=ss.getRef.bind(kl(ss)),ss.handleUpdate=ss.handleUpdate.bind(kl(ss)),ss.figureCallback=ss.figureCallback.bind(kl(ss)),ss.updatePlotly=ss.updatePlotly.bind(kl(ss)),ss}return Rh(fc,[{key:"updatePlotly",value:function(ts,ss,Ff){var Ua=this;this.p=this.p.then(function(){if(!Ua.unmounting){if(!Ua.el)throw new Error("Missing element reference");return Wo.react(Ua.el,{data:Ua.props.data,layout:Ua.props.layout,config:Ua.props.config,frames:Ua.props.frames})}}).then(function(){Ua.unmounting||(Ua.syncWindowResize(ts),Ua.syncEventHandlers(),Ua.figureCallback(ss),Ff&&Ua.attachUpdateEvents())}).catch(function(es){Ua.props.onError&&Ua.props.onError(es)})}},{key:"componentDidMount",value:function(){this.unmounting=!1,this.updatePlotly(!0,this.props.onInitialized,!0)}},{key:"componentDidUpdate",value:function(ts){this.unmounting=!1;var ss=ts.frames&&ts.frames.length?ts.frames.length:0,Ff=this.props.frames&&this.props.frames.length?this.props.frames.length:0,Ua=!(ts.layout===this.props.layout&&ts.data===this.props.data&&ts.config===this.props.config&&Ff===ss),es=ts.revision!==void 0,S0=ts.revision!==this.props.revision;!Ua&&(!es||es&&!S0)||this.updatePlotly(!1,this.props.onUpdate,!1)}},{key:"componentWillUnmount",value:function(){this.unmounting=!0,this.figureCallback(this.props.onPurge),this.resizeHandler&&sd&&(window.removeEventListener("resize",this.resizeHandler),this.resizeHandler=null),this.removeUpdateEvents(),Wo.purge(this.el)}},{key:"attachUpdateEvents",value:function(){var ts=this;!this.el||!this.el.removeListener||xp.forEach(function(ss){ts.el.on(ss,ts.handleUpdate)})}},{key:"removeUpdateEvents",value:function(){var ts=this;!this.el||!this.el.removeListener||xp.forEach(function(ss){ts.el.removeListener(ss,ts.handleUpdate)})}},{key:"handleUpdate",value:function(){this.figureCallback(this.props.onUpdate)}},{key:"figureCallback",value:function(ts){if(typeof ts=="function"){var ss=this.el,Ff=ss.data,Ua=ss.layout,es=this.el._transitionData?this.el._transitionData._frames:null,S0={data:Ff,layout:Ua,frames:es};ts(S0,this.el)}}},{key:"syncWindowResize",value:function(ts){var ss=this;sd&&(this.props.useResizeHandler&&!this.resizeHandler?(this.resizeHandler=function(){return Wo.Plots.resize(ss.el)},window.addEventListener("resize",this.resizeHandler),ts&&this.resizeHandler()):!this.props.useResizeHandler&&this.resizeHandler&&(window.removeEventListener("resize",this.resizeHandler),this.resizeHandler=null))}},{key:"getRef",value:function(ts){this.el=ts,this.props.debug&&sd&&(window.gd=this.el)}},{key:"syncEventHandlers",value:function(){var ts=this;Vt.forEach(function(ss){var Ff=ts.props["on"+ss],Ua=ts.handlers[ss],es=!!Ua;Ff&&!es?ts.addEventHandler(ss,Ff):!Ff&&es?ts.removeEventHandler(ss):Ff&&es&&Ff!==Ua&&(ts.removeEventHandler(ss),ts.addEventHandler(ss,Ff))})}},{key:"addEventHandler",value:function(ts,ss){this.handlers[ts]=ss,this.el.on(this.getPlotlyEventName(ts),this.handlers[ts])}},{key:"removeEventHandler",value:function(ts){this.el.removeListener(this.getPlotlyEventName(ts),this.handlers[ts]),delete this.handlers[ts]}},{key:"getPlotlyEventName",value:function(ts){return"plotly_"+ts.toLowerCase()}},{key:"render",value:function(){return Cs.default.createElement("div",{id:this.props.divId,style:this.props.style,ref:this.getRef,className:this.props.className})}}]),fc})(Cs.Component);return Js.propTypes={data:No.default.arrayOf(No.default.object),config:No.default.object,layout:No.default.object,frames:No.default.arrayOf(No.default.object),revision:No.default.number,onInitialized:No.default.func,onPurge:No.default.func,onError:No.default.func,onUpdate:No.default.func,debug:No.default.bool,style:No.default.object,className:No.default.string,useResizeHandler:No.default.bool,divId:No.default.string},Vt.forEach(function(Qu){Js.propTypes["on"+Qu]=No.default.func}),Js.defaultProps={debug:!1,useResizeHandler:!1,data:[],style:{position:"relative",display:"inline-block"}},Js}})(K4)),K4}var sb={exports:{}},hz=sb.exports,$4;function fz(){return $4||($4=1,(function(Qn){(function(Fa,Cs){Qn.exports?Qn.exports=Cs():Fa.moduleName=Cs()})(typeof self<"u"?self:hz,()=>{var Fa=(()=>{var Cs=Object.create,No=Object.defineProperty,Ws=Object.defineProperties,hc=Object.getOwnPropertyDescriptor,Wu=Object.getOwnPropertyDescriptors,Ph=Object.getOwnPropertyNames,bh=Object.getOwnPropertySymbols,Rh=Object.getPrototypeOf,hh=Object.prototype.hasOwnProperty,Wc=Object.prototype.propertyIsEnumerable,kc=(X,V,u)=>V in X?No(X,V,{enumerable:!0,configurable:!0,writable:!0,value:u}):X[V]=u,Qo=(X,V)=>{for(var u in V||(V={}))hh.call(V,u)&&kc(X,u,V[u]);if(bh)for(var u of bh(V))Wc.call(V,u)&&kc(X,u,V[u]);return X},kl=(X,V)=>Ws(X,Wu(V)),wh=(X,V)=>{var u={};for(var d in X)hh.call(X,d)&&V.indexOf(d)<0&&(u[d]=X[d]);if(X!=null&&bh)for(var d of bh(X))V.indexOf(d)<0&&Wc.call(X,d)&&(u[d]=X[d]);return u},sl=(X,V)=>function(){return X&&(V=(0,X[Ph(X)[0]])(X=0)),V},Vt=(X,V)=>function(){return V||(0,X[Ph(X)[0]])((V={exports:{}}).exports,V),V.exports},xp=(X,V)=>{for(var u in V)No(X,u,{get:V[u],enumerable:!0})},sd=(X,V,u,d)=>{if(V&&typeof V=="object"||typeof V=="function")for(let A of Ph(V))!hh.call(X,A)&&A!==u&&No(X,A,{get:()=>V[A],enumerable:!(d=hc(V,A))||d.enumerable});return X},Vd=(X,V,u)=>(u=X!=null?Cs(Rh(X)):{},sd(No(u,"default",{value:X,enumerable:!0}),X)),Wo=X=>sd(No({},"__esModule",{value:!0}),X),Js=Vt({"src/version.js"(X){X.version="3.2.0"}}),Qu=Vt({"node_modules/native-promise-only/lib/npo.src.js"(X,V){(function(u,d,A){d[u]=d[u]||A(),typeof V<"u"&&V.exports&&(V.exports=d[u])})("Promise",typeof window<"u"?window:X,function(){var u,d,A,k=Object.prototype.toString,t=typeof setImmediate<"u"?function(b){return setImmediate(b)}:setTimeout;try{Object.defineProperty({},"x",{}),u=function(b,l,x,y){return Object.defineProperty(b,l,{value:x,writable:!0,configurable:y!==!1})}}catch{u=function(b,l,x){return b[l]=x,b}}A=(function(){var b,l,x;function y(E,M){this.fn=E,this.self=M,this.next=void 0}return{add:function(E,M){x=new y(E,M),l?l.next=x:b=x,l=x,x=void 0},drain:function(){var E=b;for(b=l=d=void 0;E;)E.fn.call(E.self),E=E.next}}})();function e(b,l){A.add(b,l),d||(d=t(A.drain))}function r(b){var l,x=typeof b;return b!=null&&(x=="object"||x=="function")&&(l=b.then),typeof l=="function"?l:!1}function a(){for(var b=0;b<this.chain.length;b++)n(this,this.state===1?this.chain[b].success:this.chain[b].failure,this.chain[b]);this.chain.length=0}function n(b,l,x){var y,E;try{l===!1?x.reject(b.msg):(l===!0?y=b.msg:y=l.call(void 0,b.msg),y===x.promise?x.reject(TypeError("Promise-chain cycle")):(E=r(y))?E.call(y,x.resolve,x.reject):x.resolve(y))}catch(M){x.reject(M)}}function o(b){var l,x=this;if(!x.triggered){x.triggered=!0,x.def&&(x=x.def);try{(l=r(b))?e(function(){var y=new c(x);try{l.call(b,function(){o.apply(y,arguments)},function(){i.apply(y,arguments)})}catch(E){i.call(y,E)}}):(x.msg=b,x.state=1,x.chain.length>0&&e(a,x))}catch(y){i.call(new c(x),y)}}}function i(b){var l=this;l.triggered||(l.triggered=!0,l.def&&(l=l.def),l.msg=b,l.state=2,l.chain.length>0&&e(a,l))}function s(b,l,x,y){for(var E=0;E<l.length;E++)(function(M){b.resolve(l[M]).then(function(S){x(M,S)},y)})(E)}function c(b){this.def=b,this.triggered=!1}function v(b){this.promise=b,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function g(b){if(typeof b!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var l=new v(this);this.then=function(x,y){var E={success:typeof x=="function"?x:!0,failure:typeof y=="function"?y:!1};return E.promise=new this.constructor(function(M,S){if(typeof M!="function"||typeof S!="function")throw TypeError("Not a function");E.resolve=M,E.reject=S}),l.chain.push(E),l.state!==0&&e(a,l),E.promise},this.catch=function(x){return this.then(void 0,x)};try{b.call(void 0,function(x){o.call(l,x)},function(x){i.call(l,x)})}catch(x){i.call(l,x)}}var m=u({},"constructor",g,!1);return g.prototype=m,u(m,"__NPO__",0,!1),u(g,"resolve",function(b){var l=this;return b&&typeof b=="object"&&b.__NPO__===1?b:new l(function(x,y){if(typeof x!="function"||typeof y!="function")throw TypeError("Not a function");x(b)})}),u(g,"reject",function(b){return new this(function(l,x){if(typeof l!="function"||typeof x!="function")throw TypeError("Not a function");x(b)})}),u(g,"all",function(b){var l=this;return k.call(b)!="[object Array]"?l.reject(TypeError("Not an array")):b.length===0?l.resolve([]):new l(function(x,y){if(typeof x!="function"||typeof y!="function")throw TypeError("Not a function");var E=b.length,M=Array(E),S=0;s(l,b,function(T,h){M[T]=h,++S===E&&x(M)},y)})}),u(g,"race",function(b){var l=this;return k.call(b)!="[object Array]"?l.reject(TypeError("Not an array")):new l(function(x,y){if(typeof x!="function"||typeof y!="function")throw TypeError("Not a function");s(l,b,function(E,M){x(M)},y)})}),g})}}),Ki=Vt({"node_modules/@plotly/d3/d3.js"(X,V){(function(){var u={version:"3.8.2"},d=[].slice,A=function(mt){return d.call(mt)},k=self.document;function t(mt){return mt&&(mt.ownerDocument||mt.document||mt).documentElement}function e(mt){return mt&&(mt.ownerDocument&&mt.ownerDocument.defaultView||mt.document&&mt||mt.defaultView)}if(k)try{A(k.documentElement.childNodes)[0].nodeType}catch{A=function(mt){for(var Et=mt.length,Jt=new Array(Et);Et--;)Jt[Et]=mt[Et];return Jt}}if(Date.now||(Date.now=function(){return+new Date}),k)try{k.createElement("DIV").style.setProperty("opacity",0,"")}catch{var r=this.Element.prototype,a=r.setAttribute,n=r.setAttributeNS,o=this.CSSStyleDeclaration.prototype,i=o.setProperty;r.setAttribute=function(mt,Et){a.call(this,mt,Et+"")},r.setAttributeNS=function(mt,Et,Jt){n.call(this,mt,Et,Jt+"")},o.setProperty=function(mt,Et,Jt){i.call(this,mt,Et+"",Jt)}}u.ascending=s;function s(mt,Et){return mt<Et?-1:mt>Et?1:mt>=Et?0:NaN}u.descending=function(mt,Et){return Et<mt?-1:Et>mt?1:Et>=mt?0:NaN},u.min=function(mt,Et){var Jt=-1,fe=mt.length,de,we;if(arguments.length===1){for(;++Jt<fe;)if((we=mt[Jt])!=null&&we>=we){de=we;break}for(;++Jt<fe;)(we=mt[Jt])!=null&&de>we&&(de=we)}else{for(;++Jt<fe;)if((we=Et.call(mt,mt[Jt],Jt))!=null&&we>=we){de=we;break}for(;++Jt<fe;)(we=Et.call(mt,mt[Jt],Jt))!=null&&de>we&&(de=we)}return de},u.max=function(mt,Et){var Jt=-1,fe=mt.length,de,we;if(arguments.length===1){for(;++Jt<fe;)if((we=mt[Jt])!=null&&we>=we){de=we;break}for(;++Jt<fe;)(we=mt[Jt])!=null&&we>de&&(de=we)}else{for(;++Jt<fe;)if((we=Et.call(mt,mt[Jt],Jt))!=null&&we>=we){de=we;break}for(;++Jt<fe;)(we=Et.call(mt,mt[Jt],Jt))!=null&&we>de&&(de=we)}return de},u.extent=function(mt,Et){var Jt=-1,fe=mt.length,de,we,Ve;if(arguments.length===1){for(;++Jt<fe;)if((we=mt[Jt])!=null&&we>=we){de=Ve=we;break}for(;++Jt<fe;)(we=mt[Jt])!=null&&(de>we&&(de=we),Ve<we&&(Ve=we))}else{for(;++Jt<fe;)if((we=Et.call(mt,mt[Jt],Jt))!=null&&we>=we){de=Ve=we;break}for(;++Jt<fe;)(we=Et.call(mt,mt[Jt],Jt))!=null&&(de>we&&(de=we),Ve<we&&(Ve=we))}return[de,Ve]};function c(mt){return mt===null?NaN:+mt}function v(mt){return!isNaN(mt)}u.sum=function(mt,Et){var Jt=0,fe=mt.length,de,we=-1;if(arguments.length===1)for(;++we<fe;)v(de=+mt[we])&&(Jt+=de);else for(;++we<fe;)v(de=+Et.call(mt,mt[we],we))&&(Jt+=de);return Jt},u.mean=function(mt,Et){var Jt=0,fe=mt.length,de,we=-1,Ve=fe;if(arguments.length===1)for(;++we<fe;)v(de=c(mt[we]))?Jt+=de:--Ve;else for(;++we<fe;)v(de=c(Et.call(mt,mt[we],we)))?Jt+=de:--Ve;if(Ve)return Jt/Ve},u.quantile=function(mt,Et){var Jt=(mt.length-1)*Et+1,fe=Math.floor(Jt),de=+mt[fe-1],we=Jt-fe;return we?de+we*(mt[fe]-de):de},u.median=function(mt,Et){var Jt=[],fe=mt.length,de,we=-1;if(arguments.length===1)for(;++we<fe;)v(de=c(mt[we]))&&Jt.push(de);else for(;++we<fe;)v(de=c(Et.call(mt,mt[we],we)))&&Jt.push(de);if(Jt.length)return u.quantile(Jt.sort(s),.5)},u.variance=function(mt,Et){var Jt=mt.length,fe=0,de,we,Ve=0,Ne=-1,or=0;if(arguments.length===1)for(;++Ne<Jt;)v(de=c(mt[Ne]))&&(we=de-fe,fe+=we/++or,Ve+=we*(de-fe));else for(;++Ne<Jt;)v(de=c(Et.call(mt,mt[Ne],Ne)))&&(we=de-fe,fe+=we/++or,Ve+=we*(de-fe));if(or>1)return Ve/(or-1)},u.deviation=function(){var mt=u.variance.apply(this,arguments);return mt&&Math.sqrt(mt)};function g(mt){return{left:function(Et,Jt,fe,de){for(arguments.length<3&&(fe=0),arguments.length<4&&(de=Et.length);fe<de;){var we=fe+de>>>1;mt(Et[we],Jt)<0?fe=we+1:de=we}return fe},right:function(Et,Jt,fe,de){for(arguments.length<3&&(fe=0),arguments.length<4&&(de=Et.length);fe<de;){var we=fe+de>>>1;mt(Et[we],Jt)>0?de=we:fe=we+1}return fe}}}var m=g(s);u.bisectLeft=m.left,u.bisect=u.bisectRight=m.right,u.bisector=function(mt){return g(mt.length===1?function(Et,Jt){return s(mt(Et),Jt)}:mt)},u.shuffle=function(mt,Et,Jt){(fe=arguments.length)<3&&(Jt=mt.length,fe<2&&(Et=0));for(var fe=Jt-Et,de,we;fe;)we=Math.random()*fe--|0,de=mt[fe+Et],mt[fe+Et]=mt[we+Et],mt[we+Et]=de;return mt},u.permute=function(mt,Et){for(var Jt=Et.length,fe=new Array(Jt);Jt--;)fe[Jt]=mt[Et[Jt]];return fe},u.pairs=function(mt){for(var Et=0,Jt=mt.length-1,fe=mt[0],de=new Array(Jt<0?0:Jt);Et<Jt;)de[Et]=[fe,fe=mt[++Et]];return de},u.transpose=function(mt){if(!(we=mt.length))return[];for(var Et=-1,Jt=u.min(mt,b),fe=new Array(Jt);++Et<Jt;)for(var de=-1,we,Ve=fe[Et]=new Array(we);++de<we;)Ve[de]=mt[de][Et];return fe};function b(mt){return mt.length}u.zip=function(){return u.transpose(arguments)},u.keys=function(mt){var Et=[];for(var Jt in mt)Et.push(Jt);return Et},u.values=function(mt){var Et=[];for(var Jt in mt)Et.push(mt[Jt]);return Et},u.entries=function(mt){var Et=[];for(var Jt in mt)Et.push({key:Jt,value:mt[Jt]});return Et},u.merge=function(mt){for(var Et=mt.length,Jt,fe=-1,de=0,we,Ve;++fe<Et;)de+=mt[fe].length;for(we=new Array(de);--Et>=0;)for(Ve=mt[Et],Jt=Ve.length;--Jt>=0;)we[--de]=Ve[Jt];return we};var l=Math.abs;u.range=function(mt,Et,Jt){if(arguments.length<3&&(Jt=1,arguments.length<2&&(Et=mt,mt=0)),(Et-mt)/Jt===1/0)throw new Error("infinite range");var fe=[],de=x(l(Jt)),we=-1,Ve;if(mt*=de,Et*=de,Jt*=de,Jt<0)for(;(Ve=mt+Jt*++we)>Et;)fe.push(Ve/de);else for(;(Ve=mt+Jt*++we)<Et;)fe.push(Ve/de);return fe};function x(mt){for(var Et=1;mt*Et%1;)Et*=10;return Et}function y(mt,Et){for(var Jt in Et)Object.defineProperty(mt.prototype,Jt,{value:Et[Jt],enumerable:!1})}u.map=function(mt,Et){var Jt=new E;if(mt instanceof E)mt.forEach(function(Ne,or){Jt.set(Ne,or)});else if(Array.isArray(mt)){var fe=-1,de=mt.length,we;if(arguments.length===1)for(;++fe<de;)Jt.set(fe,mt[fe]);else for(;++fe<de;)Jt.set(Et.call(mt,we=mt[fe],fe),we)}else for(var Ve in mt)Jt.set(Ve,mt[Ve]);return Jt};function E(){this._=Object.create(null)}var M="__proto__",S="\0";y(E,{has:f,get:function(mt){return this._[T(mt)]},set:function(mt,Et){return this._[T(mt)]=Et},remove:w,keys:_,values:function(){var mt=[];for(var Et in this._)mt.push(this._[Et]);return mt},entries:function(){var mt=[];for(var Et in this._)mt.push({key:h(Et),value:this._[Et]});return mt},size:z,empty:L,forEach:function(mt){for(var Et in this._)mt.call(this,h(Et),this._[Et])}});function T(mt){return(mt+="")===M||mt[0]===S?S+mt:mt}function h(mt){return(mt+="")[0]===S?mt.slice(1):mt}function f(mt){return T(mt)in this._}function w(mt){return(mt=T(mt))in this._&&delete this._[mt]}function _(){var mt=[];for(var Et in this._)mt.push(h(Et));return mt}function z(){var mt=0;for(var Et in this._)++mt;return mt}function L(){for(var mt in this._)return!1;return!0}u.nest=function(){var mt={},Et=[],Jt=[],fe,de;function we(Ne,or,Ir){if(Ir>=Et.length)return de?de.call(mt,or):fe?or.sort(fe):or;for(var Ar=-1,Yr=or.length,an=Et[Ir++],on,ei,fn,zn=new E,Un;++Ar<Yr;)(Un=zn.get(on=an(ei=or[Ar])))?Un.push(ei):zn.set(on,[ei]);return Ne?(ei=Ne(),fn=function(Jn,si){ei.set(Jn,we(Ne,si,Ir))}):(ei={},fn=function(Jn,si){ei[Jn]=we(Ne,si,Ir)}),zn.forEach(fn),ei}function Ve(Ne,or){if(or>=Et.length)return Ne;var Ir=[],Ar=Jt[or++];return Ne.forEach(function(Yr,an){Ir.push({key:Yr,values:Ve(an,or)})}),Ar?Ir.sort(function(Yr,an){return Ar(Yr.key,an.key)}):Ir}return mt.map=function(Ne,or){return we(or,Ne,0)},mt.entries=function(Ne){return Ve(we(u.map,Ne,0),0)},mt.key=function(Ne){return Et.push(Ne),mt},mt.sortKeys=function(Ne){return Jt[Et.length-1]=Ne,mt},mt.sortValues=function(Ne){return fe=Ne,mt},mt.rollup=function(Ne){return de=Ne,mt},mt},u.set=function(mt){var Et=new R;if(mt)for(var Jt=0,fe=mt.length;Jt<fe;++Jt)Et.add(mt[Jt]);return Et};function R(){this._=Object.create(null)}y(R,{has:f,add:function(mt){return this._[T(mt+="")]=!0,mt},remove:w,values:_,size:z,empty:L,forEach:function(mt){for(var Et in this._)mt.call(this,h(Et))}}),u.behavior={};function B(mt){return mt}u.rebind=function(mt,Et){for(var Jt=1,fe=arguments.length,de;++Jt<fe;)mt[de=arguments[Jt]]=F(mt,Et,Et[de]);return mt};function F(mt,Et,Jt){return function(){var fe=Jt.apply(Et,arguments);return fe===Et?mt:fe}}function O(mt,Et){if(Et in mt)return Et;Et=Et.charAt(0).toUpperCase()+Et.slice(1);for(var Jt=0,fe=D.length;Jt<fe;++Jt){var de=D[Jt]+Et;if(de in mt)return de}}var D=["webkit","ms","moz","Moz","o","O"];function j(){}u.dispatch=function(){for(var mt=new N,Et=-1,Jt=arguments.length;++Et<Jt;)mt[arguments[Et]]=Y(mt);return mt};function N(){}N.prototype.on=function(mt,Et){var Jt=mt.indexOf("."),fe="";if(Jt>=0&&(fe=mt.slice(Jt+1),mt=mt.slice(0,Jt)),mt)return arguments.length<2?this[mt].on(fe):this[mt].on(fe,Et);if(arguments.length===2){if(Et==null)for(mt in this)this.hasOwnProperty(mt)&&this[mt].on(fe,null);return this}};function Y(mt){var Et=[],Jt=new E;function fe(){for(var de=Et,we=-1,Ve=de.length,Ne;++we<Ve;)(Ne=de[we].on)&&Ne.apply(this,arguments);return mt}return fe.on=function(de,we){var Ve=Jt.get(de),Ne;return arguments.length<2?Ve&&Ve.on:(Ve&&(Ve.on=null,Et=Et.slice(0,Ne=Et.indexOf(Ve)).concat(Et.slice(Ne+1)),Jt.remove(de)),we&&Et.push(Jt.set(de,{on:we})),mt)},fe}u.event=null;function rt(){u.event.preventDefault()}function ct(){for(var mt=u.event,Et;Et=mt.sourceEvent;)mt=Et;return mt}function st(mt){for(var Et=new N,Jt=0,fe=arguments.length;++Jt<fe;)Et[arguments[Jt]]=Y(Et);return Et.of=function(de,we){return function(Ve){try{var Ne=Ve.sourceEvent=u.event;Ve.target=mt,u.event=Ve,Et[Ve.type].apply(de,we)}finally{u.event=Ne}}},Et}u.requote=function(mt){return mt.replace(et,"\\$&")};var et=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Z={}.__proto__?function(mt,Et){mt.__proto__=Et}:function(mt,Et){for(var Jt in Et)mt[Jt]=Et[Jt]};function ot(mt){return Z(mt,W),mt}var J=function(mt,Et){return Et.querySelector(mt)},Q=function(mt,Et){return Et.querySelectorAll(mt)},ut=function(mt,Et){var Jt=mt.matches||mt[O(mt,"matchesSelector")];return ut=function(fe,de){return Jt.call(fe,de)},ut(mt,Et)};typeof Sizzle=="function"&&(J=function(mt,Et){return Sizzle(mt,Et)[0]||null},Q=Sizzle,ut=Sizzle.matchesSelector),u.selection=function(){return u.select(k.documentElement)};var W=u.selection.prototype=[];W.select=function(mt){var Et=[],Jt,fe,de,we;mt=G(mt);for(var Ve=-1,Ne=this.length;++Ve<Ne;){Et.push(Jt=[]),Jt.parentNode=(de=this[Ve]).parentNode;for(var or=-1,Ir=de.length;++or<Ir;)(we=de[or])?(Jt.push(fe=mt.call(we,we.__data__,or,Ve)),fe&&"__data__"in we&&(fe.__data__=we.__data__)):Jt.push(null)}return ot(Et)};function G(mt){return typeof mt=="function"?mt:function(){return J(mt,this)}}W.selectAll=function(mt){var Et=[],Jt,fe;mt=at(mt);for(var de=-1,we=this.length;++de<we;)for(var Ve=this[de],Ne=-1,or=Ve.length;++Ne<or;)(fe=Ve[Ne])&&(Et.push(Jt=A(mt.call(fe,fe.__data__,Ne,de))),Jt.parentNode=fe);return ot(Et)};function at(mt){return typeof mt=="function"?mt:function(){return Q(mt,this)}}var nt="http://www.w3.org/1999/xhtml",dt={svg:"http://www.w3.org/2000/svg",xhtml:nt,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};u.ns={prefix:dt,qualify:function(mt){var Et=mt.indexOf(":"),Jt=mt;return Et>=0&&(Jt=mt.slice(0,Et))!=="xmlns"&&(mt=mt.slice(Et+1)),dt.hasOwnProperty(Jt)?{space:dt[Jt],local:mt}:mt}},W.attr=function(mt,Et){if(arguments.length<2){if(typeof mt=="string"){var Jt=this.node();return mt=u.ns.qualify(mt),mt.local?Jt.getAttributeNS(mt.space,mt.local):Jt.getAttribute(mt)}for(Et in mt)this.each(Tt(Et,mt[Et]));return this}return this.each(Tt(mt,Et))};function Tt(mt,Et){mt=u.ns.qualify(mt);function Jt(){this.removeAttribute(mt)}function fe(){this.removeAttributeNS(mt.space,mt.local)}function de(){this.setAttribute(mt,Et)}function we(){this.setAttributeNS(mt.space,mt.local,Et)}function Ve(){var or=Et.apply(this,arguments);or==null?this.removeAttribute(mt):this.setAttribute(mt,or)}function Ne(){var or=Et.apply(this,arguments);or==null?this.removeAttributeNS(mt.space,mt.local):this.setAttributeNS(mt.space,mt.local,or)}return Et==null?mt.local?fe:Jt:typeof Et=="function"?mt.local?Ne:Ve:mt.local?we:de}function wt(mt){return mt.trim().replace(/\s+/g," ")}W.classed=function(mt,Et){if(arguments.length<2){if(typeof mt=="string"){var Jt=this.node(),fe=(mt=It(mt)).length,de=-1;if(Et=Jt.classList){for(;++de<fe;)if(!Et.contains(mt[de]))return!1}else for(Et=Jt.getAttribute("class");++de<fe;)if(!Ot(mt[de]).test(Et))return!1;return!0}for(Et in mt)this.each(Ft(Et,mt[Et]));return this}return this.each(Ft(mt,Et))};function Ot(mt){return new RegExp("(?:^|\\s+)"+u.requote(mt)+"(?:\\s+|$)","g")}function It(mt){return(mt+"").trim().split(/^|\s+/)}function Ft(mt,Et){mt=It(mt).map(ee);var Jt=mt.length;function fe(){for(var we=-1;++we<Jt;)mt[we](this,Et)}function de(){for(var we=-1,Ve=Et.apply(this,arguments);++we<Jt;)mt[we](this,Ve)}return typeof Et=="function"?de:fe}function ee(mt){var Et=Ot(mt);return function(Jt,fe){if(de=Jt.classList)return fe?de.add(mt):de.remove(mt);var de=Jt.getAttribute("class")||"";fe?(Et.lastIndex=0,Et.test(de)||Jt.setAttribute("class",wt(de+" "+mt))):Jt.setAttribute("class",wt(de.replace(Et," ")))}}W.style=function(mt,Et,Jt){var fe=arguments.length;if(fe<3){if(typeof mt!="string"){fe<2&&(Et="");for(Jt in mt)this.each(Wt(Jt,mt[Jt],Et));return this}if(fe<2){var de=this.node();return e(de).getComputedStyle(de,null).getPropertyValue(mt)}Jt=""}return this.each(Wt(mt,Et,Jt))};function Wt(mt,Et,Jt){function fe(){this.style.removeProperty(mt)}function de(){this.style.setProperty(mt,Et,Jt)}function we(){var Ve=Et.apply(this,arguments);Ve==null?this.style.removeProperty(mt):this.style.setProperty(mt,Ve,Jt)}return Et==null?fe:typeof Et=="function"?we:de}W.property=function(mt,Et){if(arguments.length<2){if(typeof mt=="string")return this.node()[mt];for(Et in mt)this.each(te(Et,mt[Et]));return this}return this.each(te(mt,Et))};function te(mt,Et){function Jt(){delete this[mt]}function fe(){this[mt]=Et}function de(){var we=Et.apply(this,arguments);we==null?delete this[mt]:this[mt]=we}return Et==null?Jt:typeof Et=="function"?de:fe}W.text=function(mt){return arguments.length?this.each(typeof mt=="function"?function(){var Et=mt.apply(this,arguments);this.textContent=Et??""}:mt==null?function(){this.textContent=""}:function(){this.textContent=mt}):this.node().textContent},W.html=function(mt){return arguments.length?this.each(typeof mt=="function"?function(){var Et=mt.apply(this,arguments);this.innerHTML=Et??""}:mt==null?function(){this.innerHTML=""}:function(){this.innerHTML=mt}):this.node().innerHTML},W.append=function(mt){return mt=Xt(mt),this.select(function(){return this.appendChild(mt.apply(this,arguments))})};function Xt(mt){function Et(){var fe=this.ownerDocument,de=this.namespaceURI;return de===nt&&fe.documentElement.namespaceURI===nt?fe.createElement(mt):fe.createElementNS(de,mt)}function Jt(){return this.ownerDocument.createElementNS(mt.space,mt.local)}return typeof mt=="function"?mt:(mt=u.ns.qualify(mt)).local?Jt:Et}W.insert=function(mt,Et){return mt=Xt(mt),Et=G(Et),this.select(function(){return this.insertBefore(mt.apply(this,arguments),Et.apply(this,arguments)||null)})},W.remove=function(){return this.each(gt)};function gt(){var mt=this.parentNode;mt&&mt.removeChild(this)}W.data=function(mt,Et){var Jt=-1,fe=this.length,de,we;if(!arguments.length){for(mt=new Array(fe=(de=this[0]).length);++Jt<fe;)(we=de[Jt])&&(mt[Jt]=we.__data__);return mt}function Ve(Ar,Yr){var an,on=Ar.length,ei=Yr.length,fn=Math.min(on,ei),zn=new Array(ei),Un=new Array(ei),Jn=new Array(on),si,bn;if(Et){var Gi=new E,Hi=new Array(on),aa;for(an=-1;++an<on;)(si=Ar[an])&&(Gi.has(aa=Et.call(si,si.__data__,an))?Jn[an]=si:Gi.set(aa,si),Hi[an]=aa);for(an=-1;++an<ei;)(si=Gi.get(aa=Et.call(Yr,bn=Yr[an],an)))?si!==!0&&(zn[an]=si,si.__data__=bn):Un[an]=bt(bn),Gi.set(aa,!0);for(an=-1;++an<on;)an in Hi&&Gi.get(Hi[an])!==!0&&(Jn[an]=Ar[an])}else{for(an=-1;++an<fn;)si=Ar[an],bn=Yr[an],si?(si.__data__=bn,zn[an]=si):Un[an]=bt(bn);for(;an<ei;++an)Un[an]=bt(Yr[an]);for(;an<on;++an)Jn[an]=Ar[an]}Un.update=zn,Un.parentNode=zn.parentNode=Jn.parentNode=Ar.parentNode,Ne.push(Un),or.push(zn),Ir.push(Jn)}var Ne=Zt([]),or=ot([]),Ir=ot([]);if(typeof mt=="function")for(;++Jt<fe;)Ve(de=this[Jt],mt.call(de,de.parentNode.__data__,Jt));else for(;++Jt<fe;)Ve(de=this[Jt],mt);return or.enter=function(){return Ne},or.exit=function(){return Ir},or};function bt(mt){return{__data__:mt}}W.datum=function(mt){return arguments.length?this.property("__data__",mt):this.property("__data__")},W.filter=function(mt){var Et=[],Jt,fe,de;typeof mt!="function"&&(mt=vt(mt));for(var we=0,Ve=this.length;we<Ve;we++){Et.push(Jt=[]),Jt.parentNode=(fe=this[we]).parentNode;for(var Ne=0,or=fe.length;Ne<or;Ne++)(de=fe[Ne])&&mt.call(de,de.__data__,Ne,we)&&Jt.push(de)}return ot(Et)};function vt(mt){return function(){return ut(this,mt)}}W.order=function(){for(var mt=-1,Et=this.length;++mt<Et;)for(var Jt=this[mt],fe=Jt.length-1,de=Jt[fe],we;--fe>=0;)(we=Jt[fe])&&(de&&de!==we.nextSibling&&de.parentNode.insertBefore(we,de),de=we);return this},W.sort=function(mt){mt=Ut.apply(this,arguments);for(var Et=-1,Jt=this.length;++Et<Jt;)this[Et].sort(mt);return this.order()};function Ut(mt){return arguments.length||(mt=s),function(Et,Jt){return Et&&Jt?mt(Et.__data__,Jt.__data__):!Et-!Jt}}W.each=function(mt){return re(this,function(Et,Jt,fe){mt.call(Et,Et.__data__,Jt,fe)})};function re(mt,Et){for(var Jt=0,fe=mt.length;Jt<fe;Jt++)for(var de=mt[Jt],we=0,Ve=de.length,Ne;we<Ve;we++)(Ne=de[we])&&Et(Ne,we,Jt);return mt}W.call=function(mt){var Et=A(arguments);return mt.apply(Et[0]=this,Et),this},W.empty=function(){return!this.node()},W.node=function(){for(var mt=0,Et=this.length;mt<Et;mt++)for(var Jt=this[mt],fe=0,de=Jt.length;fe<de;fe++){var we=Jt[fe];if(we)return we}return null},W.size=function(){var mt=0;return re(this,function(){++mt}),mt};function Zt(mt){return Z(mt,ue),mt}var ue=[];u.selection.enter=Zt,u.selection.enter.prototype=ue,ue.append=W.append,ue.empty=W.empty,ue.node=W.node,ue.call=W.call,ue.size=W.size,ue.select=function(mt){for(var Et=[],Jt,fe,de,we,Ve,Ne=-1,or=this.length;++Ne<or;){de=(we=this[Ne]).update,Et.push(Jt=[]),Jt.parentNode=we.parentNode;for(var Ir=-1,Ar=we.length;++Ir<Ar;)(Ve=we[Ir])?(Jt.push(de[Ir]=fe=mt.call(we.parentNode,Ve.__data__,Ir,Ne)),fe.__data__=Ve.__data__):Jt.push(null)}return ot(Et)},ue.insert=function(mt,Et){return arguments.length<2&&(Et=Se(this)),W.insert.call(this,mt,Et)};function Se(mt){var Et,Jt;return function(fe,de,we){var Ve=mt[we].update,Ne=Ve.length,or;for(we!=Jt&&(Jt=we,Et=0),de>=Et&&(Et=de+1);!(or=Ve[Et])&&++Et<Ne;);return or}}u.select=function(mt){var Et;return typeof mt=="string"?(Et=[J(mt,k)],Et.parentNode=k.documentElement):(Et=[mt],Et.parentNode=t(mt)),ot([Et])},u.selectAll=function(mt){var Et;return typeof mt=="string"?(Et=A(Q(mt,k)),Et.parentNode=k.documentElement):(Et=A(mt),Et.parentNode=null),ot([Et])},W.on=function(mt,Et,Jt){var fe=arguments.length;if(fe<3){if(typeof mt!="string"){fe<2&&(Et=!1);for(Jt in mt)this.each(Ie(Jt,mt[Jt],Et));return this}if(fe<2)return(fe=this.node()["__on"+mt])&&fe._;Jt=!1}return this.each(Ie(mt,Et,Jt))};function Ie(mt,Et,Jt){var fe="__on"+mt,de=mt.indexOf("."),we=Ge;de>0&&(mt=mt.slice(0,de));var Ve=He.get(mt);Ve&&(mt=Ve,we=vr);function Ne(){var Ar=this[fe];Ar&&(this.removeEventListener(mt,Ar,Ar.$),delete this[fe])}function or(){var Ar=we(Et,A(arguments));Ne.call(this),this.addEventListener(mt,this[fe]=Ar,Ar.$=Jt),Ar._=Et}function Ir(){var Ar=new RegExp("^__on([^.]+)"+u.requote(mt)+"$"),Yr;for(var an in this)if(Yr=an.match(Ar)){var on=this[an];this.removeEventListener(Yr[1],on,on.$),delete this[an]}}return de?Et?or:Ne:Et?j:Ir}var He=u.map({mouseenter:"mouseover",mouseleave:"mouseout"});k&&He.forEach(function(mt){"on"+mt in k&&He.remove(mt)});function Ge(mt,Et){return function(Jt){var fe=u.event;u.event=Jt,Et[0]=this.__data__;try{mt.apply(this,Et)}finally{u.event=fe}}}function vr(mt,Et){var Jt=Ge(mt,Et);return function(fe){var de=this,we=fe.relatedTarget;(!we||we!==de&&!(we.compareDocumentPosition(de)&8))&&Jt.call(de,fe)}}var _r,er=0;function Sr(mt){var Et=".dragsuppress-"+ ++er,Jt="click"+Et,fe=u.select(e(mt)).on("touchmove"+Et,rt).on("dragstart"+Et,rt).on("selectstart"+Et,rt);if(_r==null&&(_r="onselectstart"in mt?!1:O(mt.style,"userSelect")),_r){var de=t(mt).style,we=de[_r];de[_r]="none"}return function(Ve){if(fe.on(Et,null),_r&&(de[_r]=we),Ve){var Ne=function(){fe.on(Jt,null)};fe.on(Jt,function(){rt(),Ne()},!0),setTimeout(Ne,0)}}}u.mouse=function(mt){return me(mt,ct())};var Or=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function me(mt,Et){Et.changedTouches&&(Et=Et.changedTouches[0]);var Jt=mt.ownerSVGElement||mt;if(Jt.createSVGPoint){var fe=Jt.createSVGPoint();if(Or<0){var de=e(mt);if(de.scrollX||de.scrollY){Jt=u.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var we=Jt[0][0].getScreenCTM();Or=!(we.f||we.e),Jt.remove()}}return Or?(fe.x=Et.pageX,fe.y=Et.pageY):(fe.x=Et.clientX,fe.y=Et.clientY),fe=fe.matrixTransform(mt.getScreenCTM().inverse()),[fe.x,fe.y]}var Ve=mt.getBoundingClientRect();return[Et.clientX-Ve.left-mt.clientLeft,Et.clientY-Ve.top-mt.clientTop]}u.touch=function(mt,Et,Jt){if(arguments.length<3&&(Jt=Et,Et=ct().changedTouches),Et){for(var fe=0,de=Et.length,we;fe<de;++fe)if((we=Et[fe]).identifier===Jt)return me(mt,we)}},u.behavior.drag=function(){var mt=st(de,"drag","dragstart","dragend"),Et=null,Jt=we(j,u.mouse,e,"mousemove","mouseup"),fe=we(Rt,u.touch,B,"touchmove","touchend");function de(){this.on("mousedown.drag",Jt).on("touchstart.drag",fe)}function we(Ve,Ne,or,Ir,Ar){return function(){var Yr=this,an=u.event.target.correspondingElement||u.event.target,on=Yr.parentNode,ei=mt.of(Yr,arguments),fn=0,zn=Ve(),Un=".drag"+(zn==null?"":"-"+zn),Jn,si=u.select(or(an)).on(Ir+Un,Hi).on(Ar+Un,aa),bn=Sr(an),Gi=Ne(on,zn);Et?(Jn=Et.apply(Yr,arguments),Jn=[Jn.x-Gi[0],Jn.y-Gi[1]]):Jn=[0,0],ei({type:"dragstart"});function Hi(){var ya=Ne(on,zn),Ma,La;ya&&(Ma=ya[0]-Gi[0],La=ya[1]-Gi[1],fn|=Ma|La,Gi=ya,ei({type:"drag",x:ya[0]+Jn[0],y:ya[1]+Jn[1],dx:Ma,dy:La}))}function aa(){Ne(on,zn)&&(si.on(Ir+Un,null).on(Ar+Un,null),bn(fn),ei({type:"dragend"}))}}}return de.origin=function(Ve){return arguments.length?(Et=Ve,de):Et},u.rebind(de,mt,"on")};function Rt(){return u.event.changedTouches[0].identifier}u.touches=function(mt,Et){return arguments.length<2&&(Et=ct().touches),Et?A(Et).map(function(Jt){var fe=me(mt,Jt);return fe.identifier=Jt.identifier,fe}):[]};var Gt=1e-6,_t=Gt*Gt,lt=Math.PI,yt=2*lt,At=yt-Gt,qt=lt/2,Kt=lt/180,se=180/lt;function Me(mt,Et,Jt){return(Et[0]-mt[0])*(Jt[1]-mt[1])-(Et[1]-mt[1])*(Jt[0]-mt[0])}function Ee(mt){return mt>1?qt:mt<-1?-qt:Math.asin(mt)}function Ue(mt){return((mt=Math.exp(mt))-1/mt)/2}function ar(mt){return((mt=Math.exp(mt))+1/mt)/2}function ir(mt){return((mt=Math.exp(2*mt))-1)/(mt+1)}var Ke=Math.SQRT2,Er=2,dn=4;u.interpolateZoom=function(mt,Et){var Jt=mt[0],fe=mt[1],de=mt[2],we=Et[0],Ve=Et[1],Ne=Et[2],or=we-Jt,Ir=Ve-fe,Ar=or*or+Ir*Ir,Yr,an;if(Ar<_t)an=Math.log(Ne/de)/Ke,Yr=function(Jn){return[Jt+Jn*or,fe+Jn*Ir,de*Math.exp(Ke*Jn*an)]};else{var on=Math.sqrt(Ar),ei=(Ne*Ne-de*de+dn*Ar)/(2*de*Er*on),fn=(Ne*Ne-de*de-dn*Ar)/(2*Ne*Er*on),zn=Math.log(Math.sqrt(ei*ei+1)-ei),Un=Math.log(Math.sqrt(fn*fn+1)-fn);an=(Un-zn)/Ke,Yr=function(Jn){var si=Jn*an,bn=ar(zn),Gi=de/(Er*on)*(bn*ir(Ke*si+zn)-Ue(zn));return[Jt+Gi*or,fe+Gi*Ir,de*bn/ar(Ke*si+zn)]}}return Yr.duration=an*1e3,Yr},u.behavior.zoom=function(){var mt={x:0,y:0,k:1},Et,Jt,fe,de=[960,500],we=mn,Ve=250,Ne=0,or="mousedown.zoom",Ir="mousemove.zoom",Ar="mouseup.zoom",Yr,an="touchstart.zoom",on,ei=st(si,"zoomstart","zoom","zoomend"),fn,zn,Un,Jn;Zn||(Zn="onwheel"in k?(wn=function(){return-u.event.deltaY*(u.event.deltaMode?120:1)},"wheel"):"onmousewheel"in k?(wn=function(){return u.event.wheelDelta},"mousewheel"):(wn=function(){return-u.event.detail},"MozMousePixelScroll"));function si(pa){pa.on(or,to).on(Zn+".zoom",Tl).on("dblclick.zoom",Ys).on(an,us)}si.event=function(pa){pa.each(function(){var Eo=ei.of(this,arguments),Vo=mt;ka?u.select(this).transition().each("start.zoom",function(){mt=this.__chart__||{x:0,y:0,k:1},La(Eo)}).tween("zoom:zoom",function(){var Us=de[0],Ls=de[1],yu=Jt?Jt[0]:Us/2,_s=Jt?Jt[1]:Ls/2,Rs=u.interpolateZoom([(yu-mt.x)/mt.k,(_s-mt.y)/mt.k,Us/mt.k],[(yu-Vo.x)/Vo.k,(_s-Vo.y)/Vo.k,Us/Vo.k]);return function(Fu){var ae=Rs(Fu),nr=Us/ae[2];this.__chart__=mt={x:yu-ae[0]*nr,y:_s-ae[1]*nr,k:nr},Ho(Eo)}}).each("interrupt.zoom",function(){za(Eo)}).each("end.zoom",function(){za(Eo)}):(this.__chart__=mt,La(Eo),Ho(Eo),za(Eo))})},si.translate=function(pa){return arguments.length?(mt={x:+pa[0],y:+pa[1],k:mt.k},Ma(),si):[mt.x,mt.y]},si.scale=function(pa){return arguments.length?(mt={x:mt.x,y:mt.y,k:null},Hi(+pa),Ma(),si):mt.k},si.scaleExtent=function(pa){return arguments.length?(we=pa==null?mn:[+pa[0],+pa[1]],si):we},si.center=function(pa){return arguments.length?(fe=pa&&[+pa[0],+pa[1]],si):fe},si.size=function(pa){return arguments.length?(de=pa&&[+pa[0],+pa[1]],si):de},si.duration=function(pa){return arguments.length?(Ve=+pa,si):Ve},si.x=function(pa){return arguments.length?(zn=pa,fn=pa.copy(),mt={x:0,y:0,k:1},si):zn},si.y=function(pa){return arguments.length?(Jn=pa,Un=pa.copy(),mt={x:0,y:0,k:1},si):Jn};function bn(pa){return[(pa[0]-mt.x)/mt.k,(pa[1]-mt.y)/mt.k]}function Gi(pa){return[pa[0]*mt.k+mt.x,pa[1]*mt.k+mt.y]}function Hi(pa){mt.k=Math.max(we[0],Math.min(we[1],pa))}function aa(pa,Eo){Eo=Gi(Eo),mt.x+=pa[0]-Eo[0],mt.y+=pa[1]-Eo[1]}function ya(pa,Eo,Vo,Us){pa.__chart__={x:mt.x,y:mt.y,k:mt.k},Hi(Math.pow(2,Us)),aa(Jt=Eo,Vo),pa=u.select(pa),Ve>0&&(pa=pa.transition().duration(Ve)),pa.call(si.event)}function Ma(){zn&&zn.domain(fn.range().map(function(pa){return(pa-mt.x)/mt.k}).map(fn.invert)),Jn&&Jn.domain(Un.range().map(function(pa){return(pa-mt.y)/mt.k}).map(Un.invert))}function La(pa){Ne++||pa({type:"zoomstart"})}function Ho(pa){Ma(),pa({type:"zoom",scale:mt.k,translate:[mt.x,mt.y]})}function za(pa){--Ne||(pa({type:"zoomend"}),Jt=null)}function to(){var pa=this,Eo=ei.of(pa,arguments),Vo=0,Us=u.select(e(pa)).on(Ir,_s).on(Ar,Rs),Ls=bn(u.mouse(pa)),yu=Sr(pa);Wn.call(pa),La(Eo);function _s(){Vo=1,aa(u.mouse(pa),Ls),Ho(Eo)}function Rs(){Us.on(Ir,null).on(Ar,null),yu(Vo),za(Eo)}}function us(){var pa=this,Eo=ei.of(pa,arguments),Vo={},Us=0,Ls,yu=".zoom-"+u.event.changedTouches[0].identifier,_s="touchmove"+yu,Rs="touchend"+yu,Fu=[],ae=u.select(pa),nr=Sr(pa);sn(),La(Eo),ae.on(or,null).on(an,sn);function cr(){var Gr=u.touches(pa);return Ls=mt.k,Gr.forEach(function(An){An.identifier in Vo&&(Vo[An.identifier]=bn(An))}),Gr}function sn(){var Gr=u.event.target;u.select(Gr).on(_s,In).on(Rs,Mn),Fu.push(Gr);for(var An=u.event.changedTouches,li=0,ni=An.length;li<ni;++li)Vo[An[li].identifier]=null;var Mi=cr(),Zi=Date.now();if(Mi.length===1){if(Zi-on<500){var qi=Mi[0];ya(pa,qi,Vo[qi.identifier],Math.floor(Math.log(mt.k)/Math.LN2)+1),rt()}on=Zi}else if(Mi.length>1){var qi=Mi[0],ui=Mi[1],Hn=qi[0]-ui[0],jr=qi[1]-ui[1];Us=Hn*Hn+jr*jr}}function In(){var Gr=u.touches(pa),An,li,ni,Mi;Wn.call(pa);for(var Zi=0,qi=Gr.length;Zi<qi;++Zi,Mi=null)if(ni=Gr[Zi],Mi=Vo[ni.identifier]){if(li)break;An=ni,li=Mi}if(Mi){var ui=(ui=ni[0]-An[0])*ui+(ui=ni[1]-An[1])*ui,Hn=Us&&Math.sqrt(ui/Us);An=[(An[0]+ni[0])/2,(An[1]+ni[1])/2],li=[(li[0]+Mi[0])/2,(li[1]+Mi[1])/2],Hi(Hn*Ls)}on=null,aa(An,li),Ho(Eo)}function Mn(){if(u.event.touches.length){for(var Gr=u.event.changedTouches,An=0,li=Gr.length;An<li;++An)delete Vo[Gr[An].identifier];for(var ni in Vo)return void cr()}u.selectAll(Fu).on(yu,null),ae.on(or,to).on(an,us),nr(),za(Eo)}}function Tl(){var pa=ei.of(this,arguments);Yr?clearTimeout(Yr):(Wn.call(this),Et=bn(Jt=fe||u.mouse(this)),La(pa)),Yr=setTimeout(function(){Yr=null,za(pa)},50),rt(),Hi(Math.pow(2,wn()*.002)*mt.k),aa(Jt,Et),Ho(pa)}function Ys(){var pa=u.mouse(this),Eo=Math.log(mt.k)/Math.LN2;ya(this,pa,bn(pa),u.event.shiftKey?Math.ceil(Eo)-1:Math.floor(Eo)+1)}return u.rebind(si,ei,"on")};var mn=[0,1/0],wn,Zn;u.color=Ln;function Ln(){}Ln.prototype.toString=function(){return this.rgb()+""},u.hsl=vn;function vn(mt,Et,Jt){return this instanceof vn?(this.h=+mt,this.s=+Et,void(this.l=+Jt)):arguments.length<2?mt instanceof vn?new vn(mt.h,mt.s,mt.l):br(""+mt,Tr,vn):new vn(mt,Et,Jt)}var mi=vn.prototype=new Ln;mi.brighter=function(mt){return mt=Math.pow(.7,arguments.length?mt:1),new vn(this.h,this.s,this.l/mt)},mi.darker=function(mt){return mt=Math.pow(.7,arguments.length?mt:1),new vn(this.h,this.s,mt*this.l)},mi.rgb=function(){return ii(this.h,this.s,this.l)};function ii(mt,Et,Jt){var fe,de;mt=isNaN(mt)?0:(mt%=360)<0?mt+360:mt,Et=isNaN(Et)||Et<0?0:Et>1?1:Et,Jt=Jt<0?0:Jt>1?1:Jt,de=Jt<=.5?Jt*(1+Et):Jt+Et-Jt*Et,fe=2*Jt-de;function we(Ne){return Ne>360?Ne-=360:Ne<0&&(Ne+=360),Ne<60?fe+(de-fe)*Ne/60:Ne<180?de:Ne<240?fe+(de-fe)*(240-Ne)/60:fe}function Ve(Ne){return Math.round(we(Ne)*255)}return new Di(Ve(mt+120),Ve(mt),Ve(mt-120))}u.hcl=Ae;function Ae(mt,Et,Jt){return this instanceof Ae?(this.h=+mt,this.c=+Et,void(this.l=+Jt)):arguments.length<2?mt instanceof Ae?new Ae(mt.h,mt.c,mt.l):mt instanceof tr?Kn(mt.l,mt.a,mt.b):Kn((mt=mr((mt=u.rgb(mt)).r,mt.g,mt.b)).l,mt.a,mt.b):new Ae(mt,Et,Jt)}var Fe=Ae.prototype=new Ln;Fe.brighter=function(mt){return new Ae(this.h,this.c,Math.min(100,this.l+Cr*(arguments.length?mt:1)))},Fe.darker=function(mt){return new Ae(this.h,this.c,Math.max(0,this.l-Cr*(arguments.length?mt:1)))},Fe.rgb=function(){return Xe(this.h,this.c,this.l).rgb()};function Xe(mt,Et,Jt){return isNaN(mt)&&(mt=0),isNaN(Et)&&(Et=0),new tr(Jt,Math.cos(mt*=Kt)*Et,Math.sin(mt)*Et)}u.lab=tr;function tr(mt,Et,Jt){return this instanceof tr?(this.l=+mt,this.a=+Et,void(this.b=+Jt)):arguments.length<2?mt instanceof tr?new tr(mt.l,mt.a,mt.b):mt instanceof Ae?Xe(mt.h,mt.c,mt.l):mr((mt=Di(mt)).r,mt.g,mt.b):new tr(mt,Et,Jt)}var Cr=18,tn=.95047,Kr=1,$r=1.08883,Pn=tr.prototype=new Ln;Pn.brighter=function(mt){return new tr(Math.min(100,this.l+Cr*(arguments.length?mt:1)),this.a,this.b)},Pn.darker=function(mt){return new tr(Math.max(0,this.l-Cr*(arguments.length?mt:1)),this.a,this.b)},Pn.rgb=function(){return Vn(this.l,this.a,this.b)};function Vn(mt,Et,Jt){var fe=(mt+16)/116,de=fe+Et/500,we=fe-Jt/200;return de=$n(de)*tn,fe=$n(fe)*Kr,we=$n(we)*$r,new Di(On(3.2404542*de-1.5371385*fe-.4985314*we),On(-.969266*de+1.8760108*fe+.041556*we),On(.0556434*de-.2040259*fe+1.0572252*we))}function Kn(mt,Et,Jt){return mt>0?new Ae(Math.atan2(Jt,Et)*se,Math.sqrt(Et*Et+Jt*Jt),mt):new Ae(NaN,NaN,mt)}function $n(mt){return mt>.206893034?mt*mt*mt:(mt-4/29)/7.787037}function oi(mt){return mt>.008856?Math.pow(mt,1/3):7.787037*mt+4/29}function On(mt){return Math.round(255*(mt<=.00304?12.92*mt:1.055*Math.pow(mt,1/2.4)-.055))}u.rgb=Di;function Di(mt,Et,Jt){return this instanceof Di?(this.r=~~mt,this.g=~~Et,void(this.b=~~Jt)):arguments.length<2?mt instanceof Di?new Di(mt.r,mt.g,mt.b):br(""+mt,Di,ii):new Di(mt,Et,Jt)}function Yi(mt){return new Di(mt>>16,mt>>8&255,mt&255)}function ve(mt){return Yi(mt)+""}var ge=Di.prototype=new Ln;ge.brighter=function(mt){mt=Math.pow(.7,arguments.length?mt:1);var Et=this.r,Jt=this.g,fe=this.b,de=30;return!Et&&!Jt&&!fe?new Di(de,de,de):(Et&&Et<de&&(Et=de),Jt&&Jt<de&&(Jt=de),fe&&fe<de&&(fe=de),new Di(Math.min(255,Et/mt),Math.min(255,Jt/mt),Math.min(255,fe/mt)))},ge.darker=function(mt){return mt=Math.pow(.7,arguments.length?mt:1),new Di(mt*this.r,mt*this.g,mt*this.b)},ge.hsl=function(){return Tr(this.r,this.g,this.b)},ge.toString=function(){return"#"+dr(this.r)+dr(this.g)+dr(this.b)};function dr(mt){return mt<16?"0"+Math.max(0,mt).toString(16):Math.min(255,mt).toString(16)}function br(mt,Et,Jt){var fe=0,de=0,we=0,Ve,Ne,or;if(Ve=/([a-z]+)\((.*)\)/.exec(mt=mt.toLowerCase()),Ve)switch(Ne=Ve[2].split(","),Ve[1]){case"hsl":return Jt(parseFloat(Ne[0]),parseFloat(Ne[1])/100,parseFloat(Ne[2])/100);case"rgb":return Et(Nr(Ne[0]),Nr(Ne[1]),Nr(Ne[2]))}return(or=Pr.get(mt))?Et(or.r,or.g,or.b):(mt!=null&&mt.charAt(0)==="#"&&!isNaN(or=parseInt(mt.slice(1),16))&&(mt.length===4?(fe=(or&3840)>>4,fe=fe>>4|fe,de=or&240,de=de>>4|de,we=or&15,we=we<<4|we):mt.length===7&&(fe=(or&16711680)>>16,de=(or&65280)>>8,we=or&255)),Et(fe,de,we))}function Tr(mt,Et,Jt){var fe=Math.min(mt/=255,Et/=255,Jt/=255),de=Math.max(mt,Et,Jt),we=de-fe,Ve,Ne,or=(de+fe)/2;return we?(Ne=or<.5?we/(de+fe):we/(2-de-fe),mt==de?Ve=(Et-Jt)/we+(Et<Jt?6:0):Et==de?Ve=(Jt-mt)/we+2:Ve=(mt-Et)/we+4,Ve*=60):(Ve=NaN,Ne=or>0&&or<1?0:Ve),new vn(Ve,Ne,or)}function mr(mt,Et,Jt){mt=Mr(mt),Et=Mr(Et),Jt=Mr(Jt);var fe=oi((.4124564*mt+.3575761*Et+.1804375*Jt)/tn),de=oi((.2126729*mt+.7151522*Et+.072175*Jt)/Kr),we=oi((.0193339*mt+.119192*Et+.9503041*Jt)/$r);return tr(116*de-16,500*(fe-de),200*(de-we))}function Mr(mt){return(mt/=255)<=.04045?mt/12.92:Math.pow((mt+.055)/1.055,2.4)}function Nr(mt){var Et=parseFloat(mt);return mt.charAt(mt.length-1)==="%"?Math.round(Et*2.55):Et}var Pr=u.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});Pr.forEach(function(mt,Et){Pr.set(mt,Yi(Et))});function pe(mt){return typeof mt=="function"?mt:function(){return mt}}u.functor=pe,u.xhr=Ze(B);function Ze(mt){return function(Et,Jt,fe){return arguments.length===2&&typeof Jt=="function"&&(fe=Jt,Jt=null),xr(Et,Jt,mt,fe)}}function xr(mt,Et,Jt,fe){var de={},we=u.dispatch("beforesend","progress","load","error"),Ve={},Ne=new XMLHttpRequest,or=null;self.XDomainRequest&&!("withCredentials"in Ne)&&/^(http(s)?:)?\/\//.test(mt)&&(Ne=new XDomainRequest),"onload"in Ne?Ne.onload=Ne.onerror=Ir:Ne.onreadystatechange=function(){Ne.readyState>3&&Ir()};function Ir(){var Ar=Ne.status,Yr;if(!Ar&&un(Ne)||Ar>=200&&Ar<300||Ar===304){try{Yr=Jt.call(de,Ne)}catch(an){we.error.call(de,an);return}we.load.call(de,Yr)}else we.error.call(de,Ne)}return Ne.onprogress=function(Ar){var Yr=u.event;u.event=Ar;try{we.progress.call(de,Ne)}finally{u.event=Yr}},de.header=function(Ar,Yr){return Ar=(Ar+"").toLowerCase(),arguments.length<2?Ve[Ar]:(Yr==null?delete Ve[Ar]:Ve[Ar]=Yr+"",de)},de.mimeType=function(Ar){return arguments.length?(Et=Ar==null?null:Ar+"",de):Et},de.responseType=function(Ar){return arguments.length?(or=Ar,de):or},de.response=function(Ar){return Jt=Ar,de},["get","post"].forEach(function(Ar){de[Ar]=function(){return de.send.apply(de,[Ar].concat(A(arguments)))}}),de.send=function(Ar,Yr,an){if(arguments.length===2&&typeof Yr=="function"&&(an=Yr,Yr=null),Ne.open(Ar,mt,!0),Et!=null&&!("accept"in Ve)&&(Ve.accept=Et+",*/*"),Ne.setRequestHeader)for(var on in Ve)Ne.setRequestHeader(on,Ve[on]);return Et!=null&&Ne.overrideMimeType&&Ne.overrideMimeType(Et),or!=null&&(Ne.responseType=or),an!=null&&de.on("error",an).on("load",function(ei){an(null,ei)}),we.beforesend.call(de,Ne),Ne.send(Yr??null),de},de.abort=function(){return Ne.abort(),de},u.rebind(de,we,"on"),fe==null?de:de.get(Hr(fe))}function Hr(mt){return mt.length===1?function(Et,Jt){mt(Et==null?Jt:null)}:mt}function un(mt){var Et=mt.responseType;return Et&&Et!=="text"?mt.response:mt.responseText}u.dsv=function(mt,Et){var Jt=new RegExp('["'+mt+`
|
|
1
|
+
import{r as jp,e as tT,j as ob,m as JO,aq as Zg,X as $O,x as X4,ar as WO,l as QO,as as tz,at as eT,au as ez,av as rz,aw as nz,ax as Np,ay as df,az as rT,aA as iz,aB as Hh,aC as az,aD as oz}from"./index-BxpEVUJq.js";import{v as sz,d as nT}from"./withFullScreenWrapper-Ca0mIjWH-ClODS1xe.js";import{d as lz}from"./FormClearHelper-B-0AN2KG-drNJ-Zdq.js";var uz={},Z4={},K4={},J4;function cz(){return J4||(J4=1,(function(Qn){function Fa(Wo){"@babel/helpers - typeof";return Fa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Js){return typeof Js}:function(Js){return Js&&typeof Symbol=="function"&&Js.constructor===Symbol&&Js!==Symbol.prototype?"symbol":typeof Js},Fa(Wo)}Object.defineProperty(Qn,"__esModule",{value:!0}),Qn.default=Vd;var Cs=Wu(az),No=Ws(oz());function Ws(Wo){return Wo&&Wo.__esModule?Wo:{default:Wo}}function hc(Wo){if(typeof WeakMap!="function")return null;var Js=new WeakMap,Qu=new WeakMap;return(hc=function(Ki){return Ki?Qu:Js})(Wo)}function Wu(Wo,Js){if(Wo&&Wo.__esModule)return Wo;if(Wo===null||Fa(Wo)!=="object"&&typeof Wo!="function")return{default:Wo};var Qu=hc(Js);if(Qu&&Qu.has(Wo))return Qu.get(Wo);var Ki={},fc=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ts in Wo)if(ts!=="default"&&Object.prototype.hasOwnProperty.call(Wo,ts)){var ss=fc?Object.getOwnPropertyDescriptor(Wo,ts):null;ss&&(ss.get||ss.set)?Object.defineProperty(Ki,ts,ss):Ki[ts]=Wo[ts]}return Ki.default=Wo,Qu&&Qu.set(Wo,Ki),Ki}function Ph(Wo,Js){if(!(Wo instanceof Js))throw new TypeError("Cannot call a class as a function")}function bh(Wo,Js){for(var Qu=0;Qu<Js.length;Qu++){var Ki=Js[Qu];Ki.enumerable=Ki.enumerable||!1,Ki.configurable=!0,"value"in Ki&&(Ki.writable=!0),Object.defineProperty(Wo,Ki.key,Ki)}}function Rh(Wo,Js,Qu){return Js&&bh(Wo.prototype,Js),Object.defineProperty(Wo,"prototype",{writable:!1}),Wo}function hh(Wo,Js){if(typeof Js!="function"&&Js!==null)throw new TypeError("Super expression must either be null or a function");Wo.prototype=Object.create(Js&&Js.prototype,{constructor:{value:Wo,writable:!0,configurable:!0}}),Object.defineProperty(Wo,"prototype",{writable:!1}),Js&&Wc(Wo,Js)}function Wc(Wo,Js){return Wc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Qu,Ki){return Qu.__proto__=Ki,Qu},Wc(Wo,Js)}function kc(Wo){var Js=wh();return function(){var Qu=sl(Wo),Ki;if(Js){var fc=sl(this).constructor;Ki=Reflect.construct(Qu,arguments,fc)}else Ki=Qu.apply(this,arguments);return Qo(this,Ki)}}function Qo(Wo,Js){if(Js&&(Fa(Js)==="object"||typeof Js=="function"))return Js;if(Js!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return kl(Wo)}function kl(Wo){if(Wo===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Wo}function wh(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function sl(Wo){return sl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(Js){return Js.__proto__||Object.getPrototypeOf(Js)},sl(Wo)}var Vt=["AfterExport","AfterPlot","Animated","AnimatingFrame","AnimationInterrupted","AutoSize","BeforeExport","BeforeHover","ButtonClicked","Click","ClickAnnotation","Deselect","DoubleClick","Framework","Hover","LegendClick","LegendDoubleClick","Relayout","Relayouting","Restyle","Redraw","Selected","Selecting","SliderChange","SliderEnd","SliderStart","SunburstClick","Transitioning","TransitionInterrupted","Unhover","WebGlContextLost"],xp=["plotly_restyle","plotly_redraw","plotly_relayout","plotly_relayouting","plotly_doubleclick","plotly_animated","plotly_sunburstclick"],sd=typeof window<"u";function Vd(Wo){var Js=(function(Qu){hh(fc,Qu);var Ki=kc(fc);function fc(ts){var ss;return Ph(this,fc),ss=Ki.call(this,ts),ss.p=Promise.resolve(),ss.resizeHandler=null,ss.handlers={},ss.syncWindowResize=ss.syncWindowResize.bind(kl(ss)),ss.syncEventHandlers=ss.syncEventHandlers.bind(kl(ss)),ss.attachUpdateEvents=ss.attachUpdateEvents.bind(kl(ss)),ss.getRef=ss.getRef.bind(kl(ss)),ss.handleUpdate=ss.handleUpdate.bind(kl(ss)),ss.figureCallback=ss.figureCallback.bind(kl(ss)),ss.updatePlotly=ss.updatePlotly.bind(kl(ss)),ss}return Rh(fc,[{key:"updatePlotly",value:function(ts,ss,Ff){var Ua=this;this.p=this.p.then(function(){if(!Ua.unmounting){if(!Ua.el)throw new Error("Missing element reference");return Wo.react(Ua.el,{data:Ua.props.data,layout:Ua.props.layout,config:Ua.props.config,frames:Ua.props.frames})}}).then(function(){Ua.unmounting||(Ua.syncWindowResize(ts),Ua.syncEventHandlers(),Ua.figureCallback(ss),Ff&&Ua.attachUpdateEvents())}).catch(function(es){Ua.props.onError&&Ua.props.onError(es)})}},{key:"componentDidMount",value:function(){this.unmounting=!1,this.updatePlotly(!0,this.props.onInitialized,!0)}},{key:"componentDidUpdate",value:function(ts){this.unmounting=!1;var ss=ts.frames&&ts.frames.length?ts.frames.length:0,Ff=this.props.frames&&this.props.frames.length?this.props.frames.length:0,Ua=!(ts.layout===this.props.layout&&ts.data===this.props.data&&ts.config===this.props.config&&Ff===ss),es=ts.revision!==void 0,S0=ts.revision!==this.props.revision;!Ua&&(!es||es&&!S0)||this.updatePlotly(!1,this.props.onUpdate,!1)}},{key:"componentWillUnmount",value:function(){this.unmounting=!0,this.figureCallback(this.props.onPurge),this.resizeHandler&&sd&&(window.removeEventListener("resize",this.resizeHandler),this.resizeHandler=null),this.removeUpdateEvents(),Wo.purge(this.el)}},{key:"attachUpdateEvents",value:function(){var ts=this;!this.el||!this.el.removeListener||xp.forEach(function(ss){ts.el.on(ss,ts.handleUpdate)})}},{key:"removeUpdateEvents",value:function(){var ts=this;!this.el||!this.el.removeListener||xp.forEach(function(ss){ts.el.removeListener(ss,ts.handleUpdate)})}},{key:"handleUpdate",value:function(){this.figureCallback(this.props.onUpdate)}},{key:"figureCallback",value:function(ts){if(typeof ts=="function"){var ss=this.el,Ff=ss.data,Ua=ss.layout,es=this.el._transitionData?this.el._transitionData._frames:null,S0={data:Ff,layout:Ua,frames:es};ts(S0,this.el)}}},{key:"syncWindowResize",value:function(ts){var ss=this;sd&&(this.props.useResizeHandler&&!this.resizeHandler?(this.resizeHandler=function(){return Wo.Plots.resize(ss.el)},window.addEventListener("resize",this.resizeHandler),ts&&this.resizeHandler()):!this.props.useResizeHandler&&this.resizeHandler&&(window.removeEventListener("resize",this.resizeHandler),this.resizeHandler=null))}},{key:"getRef",value:function(ts){this.el=ts,this.props.debug&&sd&&(window.gd=this.el)}},{key:"syncEventHandlers",value:function(){var ts=this;Vt.forEach(function(ss){var Ff=ts.props["on"+ss],Ua=ts.handlers[ss],es=!!Ua;Ff&&!es?ts.addEventHandler(ss,Ff):!Ff&&es?ts.removeEventHandler(ss):Ff&&es&&Ff!==Ua&&(ts.removeEventHandler(ss),ts.addEventHandler(ss,Ff))})}},{key:"addEventHandler",value:function(ts,ss){this.handlers[ts]=ss,this.el.on(this.getPlotlyEventName(ts),this.handlers[ts])}},{key:"removeEventHandler",value:function(ts){this.el.removeListener(this.getPlotlyEventName(ts),this.handlers[ts]),delete this.handlers[ts]}},{key:"getPlotlyEventName",value:function(ts){return"plotly_"+ts.toLowerCase()}},{key:"render",value:function(){return Cs.default.createElement("div",{id:this.props.divId,style:this.props.style,ref:this.getRef,className:this.props.className})}}]),fc})(Cs.Component);return Js.propTypes={data:No.default.arrayOf(No.default.object),config:No.default.object,layout:No.default.object,frames:No.default.arrayOf(No.default.object),revision:No.default.number,onInitialized:No.default.func,onPurge:No.default.func,onError:No.default.func,onUpdate:No.default.func,debug:No.default.bool,style:No.default.object,className:No.default.string,useResizeHandler:No.default.bool,divId:No.default.string},Vt.forEach(function(Qu){Js.propTypes["on"+Qu]=No.default.func}),Js.defaultProps={debug:!1,useResizeHandler:!1,data:[],style:{position:"relative",display:"inline-block"}},Js}})(K4)),K4}var sb={exports:{}},hz=sb.exports,$4;function fz(){return $4||($4=1,(function(Qn){(function(Fa,Cs){Qn.exports?Qn.exports=Cs():Fa.moduleName=Cs()})(typeof self<"u"?self:hz,()=>{var Fa=(()=>{var Cs=Object.create,No=Object.defineProperty,Ws=Object.defineProperties,hc=Object.getOwnPropertyDescriptor,Wu=Object.getOwnPropertyDescriptors,Ph=Object.getOwnPropertyNames,bh=Object.getOwnPropertySymbols,Rh=Object.getPrototypeOf,hh=Object.prototype.hasOwnProperty,Wc=Object.prototype.propertyIsEnumerable,kc=(X,V,u)=>V in X?No(X,V,{enumerable:!0,configurable:!0,writable:!0,value:u}):X[V]=u,Qo=(X,V)=>{for(var u in V||(V={}))hh.call(V,u)&&kc(X,u,V[u]);if(bh)for(var u of bh(V))Wc.call(V,u)&&kc(X,u,V[u]);return X},kl=(X,V)=>Ws(X,Wu(V)),wh=(X,V)=>{var u={};for(var d in X)hh.call(X,d)&&V.indexOf(d)<0&&(u[d]=X[d]);if(X!=null&&bh)for(var d of bh(X))V.indexOf(d)<0&&Wc.call(X,d)&&(u[d]=X[d]);return u},sl=(X,V)=>function(){return X&&(V=(0,X[Ph(X)[0]])(X=0)),V},Vt=(X,V)=>function(){return V||(0,X[Ph(X)[0]])((V={exports:{}}).exports,V),V.exports},xp=(X,V)=>{for(var u in V)No(X,u,{get:V[u],enumerable:!0})},sd=(X,V,u,d)=>{if(V&&typeof V=="object"||typeof V=="function")for(let A of Ph(V))!hh.call(X,A)&&A!==u&&No(X,A,{get:()=>V[A],enumerable:!(d=hc(V,A))||d.enumerable});return X},Vd=(X,V,u)=>(u=X!=null?Cs(Rh(X)):{},sd(No(u,"default",{value:X,enumerable:!0}),X)),Wo=X=>sd(No({},"__esModule",{value:!0}),X),Js=Vt({"src/version.js"(X){X.version="3.2.0"}}),Qu=Vt({"node_modules/native-promise-only/lib/npo.src.js"(X,V){(function(u,d,A){d[u]=d[u]||A(),typeof V<"u"&&V.exports&&(V.exports=d[u])})("Promise",typeof window<"u"?window:X,function(){var u,d,A,k=Object.prototype.toString,t=typeof setImmediate<"u"?function(b){return setImmediate(b)}:setTimeout;try{Object.defineProperty({},"x",{}),u=function(b,l,x,y){return Object.defineProperty(b,l,{value:x,writable:!0,configurable:y!==!1})}}catch{u=function(b,l,x){return b[l]=x,b}}A=(function(){var b,l,x;function y(E,M){this.fn=E,this.self=M,this.next=void 0}return{add:function(E,M){x=new y(E,M),l?l.next=x:b=x,l=x,x=void 0},drain:function(){var E=b;for(b=l=d=void 0;E;)E.fn.call(E.self),E=E.next}}})();function e(b,l){A.add(b,l),d||(d=t(A.drain))}function r(b){var l,x=typeof b;return b!=null&&(x=="object"||x=="function")&&(l=b.then),typeof l=="function"?l:!1}function a(){for(var b=0;b<this.chain.length;b++)n(this,this.state===1?this.chain[b].success:this.chain[b].failure,this.chain[b]);this.chain.length=0}function n(b,l,x){var y,E;try{l===!1?x.reject(b.msg):(l===!0?y=b.msg:y=l.call(void 0,b.msg),y===x.promise?x.reject(TypeError("Promise-chain cycle")):(E=r(y))?E.call(y,x.resolve,x.reject):x.resolve(y))}catch(M){x.reject(M)}}function o(b){var l,x=this;if(!x.triggered){x.triggered=!0,x.def&&(x=x.def);try{(l=r(b))?e(function(){var y=new c(x);try{l.call(b,function(){o.apply(y,arguments)},function(){i.apply(y,arguments)})}catch(E){i.call(y,E)}}):(x.msg=b,x.state=1,x.chain.length>0&&e(a,x))}catch(y){i.call(new c(x),y)}}}function i(b){var l=this;l.triggered||(l.triggered=!0,l.def&&(l=l.def),l.msg=b,l.state=2,l.chain.length>0&&e(a,l))}function s(b,l,x,y){for(var E=0;E<l.length;E++)(function(M){b.resolve(l[M]).then(function(S){x(M,S)},y)})(E)}function c(b){this.def=b,this.triggered=!1}function v(b){this.promise=b,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function g(b){if(typeof b!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var l=new v(this);this.then=function(x,y){var E={success:typeof x=="function"?x:!0,failure:typeof y=="function"?y:!1};return E.promise=new this.constructor(function(M,S){if(typeof M!="function"||typeof S!="function")throw TypeError("Not a function");E.resolve=M,E.reject=S}),l.chain.push(E),l.state!==0&&e(a,l),E.promise},this.catch=function(x){return this.then(void 0,x)};try{b.call(void 0,function(x){o.call(l,x)},function(x){i.call(l,x)})}catch(x){i.call(l,x)}}var m=u({},"constructor",g,!1);return g.prototype=m,u(m,"__NPO__",0,!1),u(g,"resolve",function(b){var l=this;return b&&typeof b=="object"&&b.__NPO__===1?b:new l(function(x,y){if(typeof x!="function"||typeof y!="function")throw TypeError("Not a function");x(b)})}),u(g,"reject",function(b){return new this(function(l,x){if(typeof l!="function"||typeof x!="function")throw TypeError("Not a function");x(b)})}),u(g,"all",function(b){var l=this;return k.call(b)!="[object Array]"?l.reject(TypeError("Not an array")):b.length===0?l.resolve([]):new l(function(x,y){if(typeof x!="function"||typeof y!="function")throw TypeError("Not a function");var E=b.length,M=Array(E),S=0;s(l,b,function(T,h){M[T]=h,++S===E&&x(M)},y)})}),u(g,"race",function(b){var l=this;return k.call(b)!="[object Array]"?l.reject(TypeError("Not an array")):new l(function(x,y){if(typeof x!="function"||typeof y!="function")throw TypeError("Not a function");s(l,b,function(E,M){x(M)},y)})}),g})}}),Ki=Vt({"node_modules/@plotly/d3/d3.js"(X,V){(function(){var u={version:"3.8.2"},d=[].slice,A=function(mt){return d.call(mt)},k=self.document;function t(mt){return mt&&(mt.ownerDocument||mt.document||mt).documentElement}function e(mt){return mt&&(mt.ownerDocument&&mt.ownerDocument.defaultView||mt.document&&mt||mt.defaultView)}if(k)try{A(k.documentElement.childNodes)[0].nodeType}catch{A=function(mt){for(var Et=mt.length,Jt=new Array(Et);Et--;)Jt[Et]=mt[Et];return Jt}}if(Date.now||(Date.now=function(){return+new Date}),k)try{k.createElement("DIV").style.setProperty("opacity",0,"")}catch{var r=this.Element.prototype,a=r.setAttribute,n=r.setAttributeNS,o=this.CSSStyleDeclaration.prototype,i=o.setProperty;r.setAttribute=function(mt,Et){a.call(this,mt,Et+"")},r.setAttributeNS=function(mt,Et,Jt){n.call(this,mt,Et,Jt+"")},o.setProperty=function(mt,Et,Jt){i.call(this,mt,Et+"",Jt)}}u.ascending=s;function s(mt,Et){return mt<Et?-1:mt>Et?1:mt>=Et?0:NaN}u.descending=function(mt,Et){return Et<mt?-1:Et>mt?1:Et>=mt?0:NaN},u.min=function(mt,Et){var Jt=-1,fe=mt.length,de,we;if(arguments.length===1){for(;++Jt<fe;)if((we=mt[Jt])!=null&&we>=we){de=we;break}for(;++Jt<fe;)(we=mt[Jt])!=null&&de>we&&(de=we)}else{for(;++Jt<fe;)if((we=Et.call(mt,mt[Jt],Jt))!=null&&we>=we){de=we;break}for(;++Jt<fe;)(we=Et.call(mt,mt[Jt],Jt))!=null&&de>we&&(de=we)}return de},u.max=function(mt,Et){var Jt=-1,fe=mt.length,de,we;if(arguments.length===1){for(;++Jt<fe;)if((we=mt[Jt])!=null&&we>=we){de=we;break}for(;++Jt<fe;)(we=mt[Jt])!=null&&we>de&&(de=we)}else{for(;++Jt<fe;)if((we=Et.call(mt,mt[Jt],Jt))!=null&&we>=we){de=we;break}for(;++Jt<fe;)(we=Et.call(mt,mt[Jt],Jt))!=null&&we>de&&(de=we)}return de},u.extent=function(mt,Et){var Jt=-1,fe=mt.length,de,we,Ve;if(arguments.length===1){for(;++Jt<fe;)if((we=mt[Jt])!=null&&we>=we){de=Ve=we;break}for(;++Jt<fe;)(we=mt[Jt])!=null&&(de>we&&(de=we),Ve<we&&(Ve=we))}else{for(;++Jt<fe;)if((we=Et.call(mt,mt[Jt],Jt))!=null&&we>=we){de=Ve=we;break}for(;++Jt<fe;)(we=Et.call(mt,mt[Jt],Jt))!=null&&(de>we&&(de=we),Ve<we&&(Ve=we))}return[de,Ve]};function c(mt){return mt===null?NaN:+mt}function v(mt){return!isNaN(mt)}u.sum=function(mt,Et){var Jt=0,fe=mt.length,de,we=-1;if(arguments.length===1)for(;++we<fe;)v(de=+mt[we])&&(Jt+=de);else for(;++we<fe;)v(de=+Et.call(mt,mt[we],we))&&(Jt+=de);return Jt},u.mean=function(mt,Et){var Jt=0,fe=mt.length,de,we=-1,Ve=fe;if(arguments.length===1)for(;++we<fe;)v(de=c(mt[we]))?Jt+=de:--Ve;else for(;++we<fe;)v(de=c(Et.call(mt,mt[we],we)))?Jt+=de:--Ve;if(Ve)return Jt/Ve},u.quantile=function(mt,Et){var Jt=(mt.length-1)*Et+1,fe=Math.floor(Jt),de=+mt[fe-1],we=Jt-fe;return we?de+we*(mt[fe]-de):de},u.median=function(mt,Et){var Jt=[],fe=mt.length,de,we=-1;if(arguments.length===1)for(;++we<fe;)v(de=c(mt[we]))&&Jt.push(de);else for(;++we<fe;)v(de=c(Et.call(mt,mt[we],we)))&&Jt.push(de);if(Jt.length)return u.quantile(Jt.sort(s),.5)},u.variance=function(mt,Et){var Jt=mt.length,fe=0,de,we,Ve=0,Ne=-1,or=0;if(arguments.length===1)for(;++Ne<Jt;)v(de=c(mt[Ne]))&&(we=de-fe,fe+=we/++or,Ve+=we*(de-fe));else for(;++Ne<Jt;)v(de=c(Et.call(mt,mt[Ne],Ne)))&&(we=de-fe,fe+=we/++or,Ve+=we*(de-fe));if(or>1)return Ve/(or-1)},u.deviation=function(){var mt=u.variance.apply(this,arguments);return mt&&Math.sqrt(mt)};function g(mt){return{left:function(Et,Jt,fe,de){for(arguments.length<3&&(fe=0),arguments.length<4&&(de=Et.length);fe<de;){var we=fe+de>>>1;mt(Et[we],Jt)<0?fe=we+1:de=we}return fe},right:function(Et,Jt,fe,de){for(arguments.length<3&&(fe=0),arguments.length<4&&(de=Et.length);fe<de;){var we=fe+de>>>1;mt(Et[we],Jt)>0?de=we:fe=we+1}return fe}}}var m=g(s);u.bisectLeft=m.left,u.bisect=u.bisectRight=m.right,u.bisector=function(mt){return g(mt.length===1?function(Et,Jt){return s(mt(Et),Jt)}:mt)},u.shuffle=function(mt,Et,Jt){(fe=arguments.length)<3&&(Jt=mt.length,fe<2&&(Et=0));for(var fe=Jt-Et,de,we;fe;)we=Math.random()*fe--|0,de=mt[fe+Et],mt[fe+Et]=mt[we+Et],mt[we+Et]=de;return mt},u.permute=function(mt,Et){for(var Jt=Et.length,fe=new Array(Jt);Jt--;)fe[Jt]=mt[Et[Jt]];return fe},u.pairs=function(mt){for(var Et=0,Jt=mt.length-1,fe=mt[0],de=new Array(Jt<0?0:Jt);Et<Jt;)de[Et]=[fe,fe=mt[++Et]];return de},u.transpose=function(mt){if(!(we=mt.length))return[];for(var Et=-1,Jt=u.min(mt,b),fe=new Array(Jt);++Et<Jt;)for(var de=-1,we,Ve=fe[Et]=new Array(we);++de<we;)Ve[de]=mt[de][Et];return fe};function b(mt){return mt.length}u.zip=function(){return u.transpose(arguments)},u.keys=function(mt){var Et=[];for(var Jt in mt)Et.push(Jt);return Et},u.values=function(mt){var Et=[];for(var Jt in mt)Et.push(mt[Jt]);return Et},u.entries=function(mt){var Et=[];for(var Jt in mt)Et.push({key:Jt,value:mt[Jt]});return Et},u.merge=function(mt){for(var Et=mt.length,Jt,fe=-1,de=0,we,Ve;++fe<Et;)de+=mt[fe].length;for(we=new Array(de);--Et>=0;)for(Ve=mt[Et],Jt=Ve.length;--Jt>=0;)we[--de]=Ve[Jt];return we};var l=Math.abs;u.range=function(mt,Et,Jt){if(arguments.length<3&&(Jt=1,arguments.length<2&&(Et=mt,mt=0)),(Et-mt)/Jt===1/0)throw new Error("infinite range");var fe=[],de=x(l(Jt)),we=-1,Ve;if(mt*=de,Et*=de,Jt*=de,Jt<0)for(;(Ve=mt+Jt*++we)>Et;)fe.push(Ve/de);else for(;(Ve=mt+Jt*++we)<Et;)fe.push(Ve/de);return fe};function x(mt){for(var Et=1;mt*Et%1;)Et*=10;return Et}function y(mt,Et){for(var Jt in Et)Object.defineProperty(mt.prototype,Jt,{value:Et[Jt],enumerable:!1})}u.map=function(mt,Et){var Jt=new E;if(mt instanceof E)mt.forEach(function(Ne,or){Jt.set(Ne,or)});else if(Array.isArray(mt)){var fe=-1,de=mt.length,we;if(arguments.length===1)for(;++fe<de;)Jt.set(fe,mt[fe]);else for(;++fe<de;)Jt.set(Et.call(mt,we=mt[fe],fe),we)}else for(var Ve in mt)Jt.set(Ve,mt[Ve]);return Jt};function E(){this._=Object.create(null)}var M="__proto__",S="\0";y(E,{has:f,get:function(mt){return this._[T(mt)]},set:function(mt,Et){return this._[T(mt)]=Et},remove:w,keys:_,values:function(){var mt=[];for(var Et in this._)mt.push(this._[Et]);return mt},entries:function(){var mt=[];for(var Et in this._)mt.push({key:h(Et),value:this._[Et]});return mt},size:z,empty:L,forEach:function(mt){for(var Et in this._)mt.call(this,h(Et),this._[Et])}});function T(mt){return(mt+="")===M||mt[0]===S?S+mt:mt}function h(mt){return(mt+="")[0]===S?mt.slice(1):mt}function f(mt){return T(mt)in this._}function w(mt){return(mt=T(mt))in this._&&delete this._[mt]}function _(){var mt=[];for(var Et in this._)mt.push(h(Et));return mt}function z(){var mt=0;for(var Et in this._)++mt;return mt}function L(){for(var mt in this._)return!1;return!0}u.nest=function(){var mt={},Et=[],Jt=[],fe,de;function we(Ne,or,Ir){if(Ir>=Et.length)return de?de.call(mt,or):fe?or.sort(fe):or;for(var Ar=-1,Yr=or.length,an=Et[Ir++],on,ei,fn,zn=new E,Un;++Ar<Yr;)(Un=zn.get(on=an(ei=or[Ar])))?Un.push(ei):zn.set(on,[ei]);return Ne?(ei=Ne(),fn=function(Jn,si){ei.set(Jn,we(Ne,si,Ir))}):(ei={},fn=function(Jn,si){ei[Jn]=we(Ne,si,Ir)}),zn.forEach(fn),ei}function Ve(Ne,or){if(or>=Et.length)return Ne;var Ir=[],Ar=Jt[or++];return Ne.forEach(function(Yr,an){Ir.push({key:Yr,values:Ve(an,or)})}),Ar?Ir.sort(function(Yr,an){return Ar(Yr.key,an.key)}):Ir}return mt.map=function(Ne,or){return we(or,Ne,0)},mt.entries=function(Ne){return Ve(we(u.map,Ne,0),0)},mt.key=function(Ne){return Et.push(Ne),mt},mt.sortKeys=function(Ne){return Jt[Et.length-1]=Ne,mt},mt.sortValues=function(Ne){return fe=Ne,mt},mt.rollup=function(Ne){return de=Ne,mt},mt},u.set=function(mt){var Et=new R;if(mt)for(var Jt=0,fe=mt.length;Jt<fe;++Jt)Et.add(mt[Jt]);return Et};function R(){this._=Object.create(null)}y(R,{has:f,add:function(mt){return this._[T(mt+="")]=!0,mt},remove:w,values:_,size:z,empty:L,forEach:function(mt){for(var Et in this._)mt.call(this,h(Et))}}),u.behavior={};function B(mt){return mt}u.rebind=function(mt,Et){for(var Jt=1,fe=arguments.length,de;++Jt<fe;)mt[de=arguments[Jt]]=F(mt,Et,Et[de]);return mt};function F(mt,Et,Jt){return function(){var fe=Jt.apply(Et,arguments);return fe===Et?mt:fe}}function O(mt,Et){if(Et in mt)return Et;Et=Et.charAt(0).toUpperCase()+Et.slice(1);for(var Jt=0,fe=D.length;Jt<fe;++Jt){var de=D[Jt]+Et;if(de in mt)return de}}var D=["webkit","ms","moz","Moz","o","O"];function j(){}u.dispatch=function(){for(var mt=new N,Et=-1,Jt=arguments.length;++Et<Jt;)mt[arguments[Et]]=Y(mt);return mt};function N(){}N.prototype.on=function(mt,Et){var Jt=mt.indexOf("."),fe="";if(Jt>=0&&(fe=mt.slice(Jt+1),mt=mt.slice(0,Jt)),mt)return arguments.length<2?this[mt].on(fe):this[mt].on(fe,Et);if(arguments.length===2){if(Et==null)for(mt in this)this.hasOwnProperty(mt)&&this[mt].on(fe,null);return this}};function Y(mt){var Et=[],Jt=new E;function fe(){for(var de=Et,we=-1,Ve=de.length,Ne;++we<Ve;)(Ne=de[we].on)&&Ne.apply(this,arguments);return mt}return fe.on=function(de,we){var Ve=Jt.get(de),Ne;return arguments.length<2?Ve&&Ve.on:(Ve&&(Ve.on=null,Et=Et.slice(0,Ne=Et.indexOf(Ve)).concat(Et.slice(Ne+1)),Jt.remove(de)),we&&Et.push(Jt.set(de,{on:we})),mt)},fe}u.event=null;function rt(){u.event.preventDefault()}function ct(){for(var mt=u.event,Et;Et=mt.sourceEvent;)mt=Et;return mt}function st(mt){for(var Et=new N,Jt=0,fe=arguments.length;++Jt<fe;)Et[arguments[Jt]]=Y(Et);return Et.of=function(de,we){return function(Ve){try{var Ne=Ve.sourceEvent=u.event;Ve.target=mt,u.event=Ve,Et[Ve.type].apply(de,we)}finally{u.event=Ne}}},Et}u.requote=function(mt){return mt.replace(et,"\\$&")};var et=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Z={}.__proto__?function(mt,Et){mt.__proto__=Et}:function(mt,Et){for(var Jt in Et)mt[Jt]=Et[Jt]};function ot(mt){return Z(mt,W),mt}var J=function(mt,Et){return Et.querySelector(mt)},Q=function(mt,Et){return Et.querySelectorAll(mt)},ut=function(mt,Et){var Jt=mt.matches||mt[O(mt,"matchesSelector")];return ut=function(fe,de){return Jt.call(fe,de)},ut(mt,Et)};typeof Sizzle=="function"&&(J=function(mt,Et){return Sizzle(mt,Et)[0]||null},Q=Sizzle,ut=Sizzle.matchesSelector),u.selection=function(){return u.select(k.documentElement)};var W=u.selection.prototype=[];W.select=function(mt){var Et=[],Jt,fe,de,we;mt=G(mt);for(var Ve=-1,Ne=this.length;++Ve<Ne;){Et.push(Jt=[]),Jt.parentNode=(de=this[Ve]).parentNode;for(var or=-1,Ir=de.length;++or<Ir;)(we=de[or])?(Jt.push(fe=mt.call(we,we.__data__,or,Ve)),fe&&"__data__"in we&&(fe.__data__=we.__data__)):Jt.push(null)}return ot(Et)};function G(mt){return typeof mt=="function"?mt:function(){return J(mt,this)}}W.selectAll=function(mt){var Et=[],Jt,fe;mt=at(mt);for(var de=-1,we=this.length;++de<we;)for(var Ve=this[de],Ne=-1,or=Ve.length;++Ne<or;)(fe=Ve[Ne])&&(Et.push(Jt=A(mt.call(fe,fe.__data__,Ne,de))),Jt.parentNode=fe);return ot(Et)};function at(mt){return typeof mt=="function"?mt:function(){return Q(mt,this)}}var nt="http://www.w3.org/1999/xhtml",dt={svg:"http://www.w3.org/2000/svg",xhtml:nt,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};u.ns={prefix:dt,qualify:function(mt){var Et=mt.indexOf(":"),Jt=mt;return Et>=0&&(Jt=mt.slice(0,Et))!=="xmlns"&&(mt=mt.slice(Et+1)),dt.hasOwnProperty(Jt)?{space:dt[Jt],local:mt}:mt}},W.attr=function(mt,Et){if(arguments.length<2){if(typeof mt=="string"){var Jt=this.node();return mt=u.ns.qualify(mt),mt.local?Jt.getAttributeNS(mt.space,mt.local):Jt.getAttribute(mt)}for(Et in mt)this.each(Tt(Et,mt[Et]));return this}return this.each(Tt(mt,Et))};function Tt(mt,Et){mt=u.ns.qualify(mt);function Jt(){this.removeAttribute(mt)}function fe(){this.removeAttributeNS(mt.space,mt.local)}function de(){this.setAttribute(mt,Et)}function we(){this.setAttributeNS(mt.space,mt.local,Et)}function Ve(){var or=Et.apply(this,arguments);or==null?this.removeAttribute(mt):this.setAttribute(mt,or)}function Ne(){var or=Et.apply(this,arguments);or==null?this.removeAttributeNS(mt.space,mt.local):this.setAttributeNS(mt.space,mt.local,or)}return Et==null?mt.local?fe:Jt:typeof Et=="function"?mt.local?Ne:Ve:mt.local?we:de}function wt(mt){return mt.trim().replace(/\s+/g," ")}W.classed=function(mt,Et){if(arguments.length<2){if(typeof mt=="string"){var Jt=this.node(),fe=(mt=It(mt)).length,de=-1;if(Et=Jt.classList){for(;++de<fe;)if(!Et.contains(mt[de]))return!1}else for(Et=Jt.getAttribute("class");++de<fe;)if(!Ot(mt[de]).test(Et))return!1;return!0}for(Et in mt)this.each(Ft(Et,mt[Et]));return this}return this.each(Ft(mt,Et))};function Ot(mt){return new RegExp("(?:^|\\s+)"+u.requote(mt)+"(?:\\s+|$)","g")}function It(mt){return(mt+"").trim().split(/^|\s+/)}function Ft(mt,Et){mt=It(mt).map(ee);var Jt=mt.length;function fe(){for(var we=-1;++we<Jt;)mt[we](this,Et)}function de(){for(var we=-1,Ve=Et.apply(this,arguments);++we<Jt;)mt[we](this,Ve)}return typeof Et=="function"?de:fe}function ee(mt){var Et=Ot(mt);return function(Jt,fe){if(de=Jt.classList)return fe?de.add(mt):de.remove(mt);var de=Jt.getAttribute("class")||"";fe?(Et.lastIndex=0,Et.test(de)||Jt.setAttribute("class",wt(de+" "+mt))):Jt.setAttribute("class",wt(de.replace(Et," ")))}}W.style=function(mt,Et,Jt){var fe=arguments.length;if(fe<3){if(typeof mt!="string"){fe<2&&(Et="");for(Jt in mt)this.each(Wt(Jt,mt[Jt],Et));return this}if(fe<2){var de=this.node();return e(de).getComputedStyle(de,null).getPropertyValue(mt)}Jt=""}return this.each(Wt(mt,Et,Jt))};function Wt(mt,Et,Jt){function fe(){this.style.removeProperty(mt)}function de(){this.style.setProperty(mt,Et,Jt)}function we(){var Ve=Et.apply(this,arguments);Ve==null?this.style.removeProperty(mt):this.style.setProperty(mt,Ve,Jt)}return Et==null?fe:typeof Et=="function"?we:de}W.property=function(mt,Et){if(arguments.length<2){if(typeof mt=="string")return this.node()[mt];for(Et in mt)this.each(te(Et,mt[Et]));return this}return this.each(te(mt,Et))};function te(mt,Et){function Jt(){delete this[mt]}function fe(){this[mt]=Et}function de(){var we=Et.apply(this,arguments);we==null?delete this[mt]:this[mt]=we}return Et==null?Jt:typeof Et=="function"?de:fe}W.text=function(mt){return arguments.length?this.each(typeof mt=="function"?function(){var Et=mt.apply(this,arguments);this.textContent=Et??""}:mt==null?function(){this.textContent=""}:function(){this.textContent=mt}):this.node().textContent},W.html=function(mt){return arguments.length?this.each(typeof mt=="function"?function(){var Et=mt.apply(this,arguments);this.innerHTML=Et??""}:mt==null?function(){this.innerHTML=""}:function(){this.innerHTML=mt}):this.node().innerHTML},W.append=function(mt){return mt=Xt(mt),this.select(function(){return this.appendChild(mt.apply(this,arguments))})};function Xt(mt){function Et(){var fe=this.ownerDocument,de=this.namespaceURI;return de===nt&&fe.documentElement.namespaceURI===nt?fe.createElement(mt):fe.createElementNS(de,mt)}function Jt(){return this.ownerDocument.createElementNS(mt.space,mt.local)}return typeof mt=="function"?mt:(mt=u.ns.qualify(mt)).local?Jt:Et}W.insert=function(mt,Et){return mt=Xt(mt),Et=G(Et),this.select(function(){return this.insertBefore(mt.apply(this,arguments),Et.apply(this,arguments)||null)})},W.remove=function(){return this.each(gt)};function gt(){var mt=this.parentNode;mt&&mt.removeChild(this)}W.data=function(mt,Et){var Jt=-1,fe=this.length,de,we;if(!arguments.length){for(mt=new Array(fe=(de=this[0]).length);++Jt<fe;)(we=de[Jt])&&(mt[Jt]=we.__data__);return mt}function Ve(Ar,Yr){var an,on=Ar.length,ei=Yr.length,fn=Math.min(on,ei),zn=new Array(ei),Un=new Array(ei),Jn=new Array(on),si,bn;if(Et){var Gi=new E,Hi=new Array(on),aa;for(an=-1;++an<on;)(si=Ar[an])&&(Gi.has(aa=Et.call(si,si.__data__,an))?Jn[an]=si:Gi.set(aa,si),Hi[an]=aa);for(an=-1;++an<ei;)(si=Gi.get(aa=Et.call(Yr,bn=Yr[an],an)))?si!==!0&&(zn[an]=si,si.__data__=bn):Un[an]=bt(bn),Gi.set(aa,!0);for(an=-1;++an<on;)an in Hi&&Gi.get(Hi[an])!==!0&&(Jn[an]=Ar[an])}else{for(an=-1;++an<fn;)si=Ar[an],bn=Yr[an],si?(si.__data__=bn,zn[an]=si):Un[an]=bt(bn);for(;an<ei;++an)Un[an]=bt(Yr[an]);for(;an<on;++an)Jn[an]=Ar[an]}Un.update=zn,Un.parentNode=zn.parentNode=Jn.parentNode=Ar.parentNode,Ne.push(Un),or.push(zn),Ir.push(Jn)}var Ne=Zt([]),or=ot([]),Ir=ot([]);if(typeof mt=="function")for(;++Jt<fe;)Ve(de=this[Jt],mt.call(de,de.parentNode.__data__,Jt));else for(;++Jt<fe;)Ve(de=this[Jt],mt);return or.enter=function(){return Ne},or.exit=function(){return Ir},or};function bt(mt){return{__data__:mt}}W.datum=function(mt){return arguments.length?this.property("__data__",mt):this.property("__data__")},W.filter=function(mt){var Et=[],Jt,fe,de;typeof mt!="function"&&(mt=vt(mt));for(var we=0,Ve=this.length;we<Ve;we++){Et.push(Jt=[]),Jt.parentNode=(fe=this[we]).parentNode;for(var Ne=0,or=fe.length;Ne<or;Ne++)(de=fe[Ne])&&mt.call(de,de.__data__,Ne,we)&&Jt.push(de)}return ot(Et)};function vt(mt){return function(){return ut(this,mt)}}W.order=function(){for(var mt=-1,Et=this.length;++mt<Et;)for(var Jt=this[mt],fe=Jt.length-1,de=Jt[fe],we;--fe>=0;)(we=Jt[fe])&&(de&&de!==we.nextSibling&&de.parentNode.insertBefore(we,de),de=we);return this},W.sort=function(mt){mt=Ut.apply(this,arguments);for(var Et=-1,Jt=this.length;++Et<Jt;)this[Et].sort(mt);return this.order()};function Ut(mt){return arguments.length||(mt=s),function(Et,Jt){return Et&&Jt?mt(Et.__data__,Jt.__data__):!Et-!Jt}}W.each=function(mt){return re(this,function(Et,Jt,fe){mt.call(Et,Et.__data__,Jt,fe)})};function re(mt,Et){for(var Jt=0,fe=mt.length;Jt<fe;Jt++)for(var de=mt[Jt],we=0,Ve=de.length,Ne;we<Ve;we++)(Ne=de[we])&&Et(Ne,we,Jt);return mt}W.call=function(mt){var Et=A(arguments);return mt.apply(Et[0]=this,Et),this},W.empty=function(){return!this.node()},W.node=function(){for(var mt=0,Et=this.length;mt<Et;mt++)for(var Jt=this[mt],fe=0,de=Jt.length;fe<de;fe++){var we=Jt[fe];if(we)return we}return null},W.size=function(){var mt=0;return re(this,function(){++mt}),mt};function Zt(mt){return Z(mt,ue),mt}var ue=[];u.selection.enter=Zt,u.selection.enter.prototype=ue,ue.append=W.append,ue.empty=W.empty,ue.node=W.node,ue.call=W.call,ue.size=W.size,ue.select=function(mt){for(var Et=[],Jt,fe,de,we,Ve,Ne=-1,or=this.length;++Ne<or;){de=(we=this[Ne]).update,Et.push(Jt=[]),Jt.parentNode=we.parentNode;for(var Ir=-1,Ar=we.length;++Ir<Ar;)(Ve=we[Ir])?(Jt.push(de[Ir]=fe=mt.call(we.parentNode,Ve.__data__,Ir,Ne)),fe.__data__=Ve.__data__):Jt.push(null)}return ot(Et)},ue.insert=function(mt,Et){return arguments.length<2&&(Et=Se(this)),W.insert.call(this,mt,Et)};function Se(mt){var Et,Jt;return function(fe,de,we){var Ve=mt[we].update,Ne=Ve.length,or;for(we!=Jt&&(Jt=we,Et=0),de>=Et&&(Et=de+1);!(or=Ve[Et])&&++Et<Ne;);return or}}u.select=function(mt){var Et;return typeof mt=="string"?(Et=[J(mt,k)],Et.parentNode=k.documentElement):(Et=[mt],Et.parentNode=t(mt)),ot([Et])},u.selectAll=function(mt){var Et;return typeof mt=="string"?(Et=A(Q(mt,k)),Et.parentNode=k.documentElement):(Et=A(mt),Et.parentNode=null),ot([Et])},W.on=function(mt,Et,Jt){var fe=arguments.length;if(fe<3){if(typeof mt!="string"){fe<2&&(Et=!1);for(Jt in mt)this.each(Ie(Jt,mt[Jt],Et));return this}if(fe<2)return(fe=this.node()["__on"+mt])&&fe._;Jt=!1}return this.each(Ie(mt,Et,Jt))};function Ie(mt,Et,Jt){var fe="__on"+mt,de=mt.indexOf("."),we=Ge;de>0&&(mt=mt.slice(0,de));var Ve=He.get(mt);Ve&&(mt=Ve,we=vr);function Ne(){var Ar=this[fe];Ar&&(this.removeEventListener(mt,Ar,Ar.$),delete this[fe])}function or(){var Ar=we(Et,A(arguments));Ne.call(this),this.addEventListener(mt,this[fe]=Ar,Ar.$=Jt),Ar._=Et}function Ir(){var Ar=new RegExp("^__on([^.]+)"+u.requote(mt)+"$"),Yr;for(var an in this)if(Yr=an.match(Ar)){var on=this[an];this.removeEventListener(Yr[1],on,on.$),delete this[an]}}return de?Et?or:Ne:Et?j:Ir}var He=u.map({mouseenter:"mouseover",mouseleave:"mouseout"});k&&He.forEach(function(mt){"on"+mt in k&&He.remove(mt)});function Ge(mt,Et){return function(Jt){var fe=u.event;u.event=Jt,Et[0]=this.__data__;try{mt.apply(this,Et)}finally{u.event=fe}}}function vr(mt,Et){var Jt=Ge(mt,Et);return function(fe){var de=this,we=fe.relatedTarget;(!we||we!==de&&!(we.compareDocumentPosition(de)&8))&&Jt.call(de,fe)}}var _r,er=0;function Sr(mt){var Et=".dragsuppress-"+ ++er,Jt="click"+Et,fe=u.select(e(mt)).on("touchmove"+Et,rt).on("dragstart"+Et,rt).on("selectstart"+Et,rt);if(_r==null&&(_r="onselectstart"in mt?!1:O(mt.style,"userSelect")),_r){var de=t(mt).style,we=de[_r];de[_r]="none"}return function(Ve){if(fe.on(Et,null),_r&&(de[_r]=we),Ve){var Ne=function(){fe.on(Jt,null)};fe.on(Jt,function(){rt(),Ne()},!0),setTimeout(Ne,0)}}}u.mouse=function(mt){return me(mt,ct())};var Or=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function me(mt,Et){Et.changedTouches&&(Et=Et.changedTouches[0]);var Jt=mt.ownerSVGElement||mt;if(Jt.createSVGPoint){var fe=Jt.createSVGPoint();if(Or<0){var de=e(mt);if(de.scrollX||de.scrollY){Jt=u.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var we=Jt[0][0].getScreenCTM();Or=!(we.f||we.e),Jt.remove()}}return Or?(fe.x=Et.pageX,fe.y=Et.pageY):(fe.x=Et.clientX,fe.y=Et.clientY),fe=fe.matrixTransform(mt.getScreenCTM().inverse()),[fe.x,fe.y]}var Ve=mt.getBoundingClientRect();return[Et.clientX-Ve.left-mt.clientLeft,Et.clientY-Ve.top-mt.clientTop]}u.touch=function(mt,Et,Jt){if(arguments.length<3&&(Jt=Et,Et=ct().changedTouches),Et){for(var fe=0,de=Et.length,we;fe<de;++fe)if((we=Et[fe]).identifier===Jt)return me(mt,we)}},u.behavior.drag=function(){var mt=st(de,"drag","dragstart","dragend"),Et=null,Jt=we(j,u.mouse,e,"mousemove","mouseup"),fe=we(Rt,u.touch,B,"touchmove","touchend");function de(){this.on("mousedown.drag",Jt).on("touchstart.drag",fe)}function we(Ve,Ne,or,Ir,Ar){return function(){var Yr=this,an=u.event.target.correspondingElement||u.event.target,on=Yr.parentNode,ei=mt.of(Yr,arguments),fn=0,zn=Ve(),Un=".drag"+(zn==null?"":"-"+zn),Jn,si=u.select(or(an)).on(Ir+Un,Hi).on(Ar+Un,aa),bn=Sr(an),Gi=Ne(on,zn);Et?(Jn=Et.apply(Yr,arguments),Jn=[Jn.x-Gi[0],Jn.y-Gi[1]]):Jn=[0,0],ei({type:"dragstart"});function Hi(){var ya=Ne(on,zn),Ma,La;ya&&(Ma=ya[0]-Gi[0],La=ya[1]-Gi[1],fn|=Ma|La,Gi=ya,ei({type:"drag",x:ya[0]+Jn[0],y:ya[1]+Jn[1],dx:Ma,dy:La}))}function aa(){Ne(on,zn)&&(si.on(Ir+Un,null).on(Ar+Un,null),bn(fn),ei({type:"dragend"}))}}}return de.origin=function(Ve){return arguments.length?(Et=Ve,de):Et},u.rebind(de,mt,"on")};function Rt(){return u.event.changedTouches[0].identifier}u.touches=function(mt,Et){return arguments.length<2&&(Et=ct().touches),Et?A(Et).map(function(Jt){var fe=me(mt,Jt);return fe.identifier=Jt.identifier,fe}):[]};var Gt=1e-6,_t=Gt*Gt,lt=Math.PI,yt=2*lt,At=yt-Gt,qt=lt/2,Kt=lt/180,se=180/lt;function Me(mt,Et,Jt){return(Et[0]-mt[0])*(Jt[1]-mt[1])-(Et[1]-mt[1])*(Jt[0]-mt[0])}function Ee(mt){return mt>1?qt:mt<-1?-qt:Math.asin(mt)}function Ue(mt){return((mt=Math.exp(mt))-1/mt)/2}function ar(mt){return((mt=Math.exp(mt))+1/mt)/2}function ir(mt){return((mt=Math.exp(2*mt))-1)/(mt+1)}var Ke=Math.SQRT2,Er=2,dn=4;u.interpolateZoom=function(mt,Et){var Jt=mt[0],fe=mt[1],de=mt[2],we=Et[0],Ve=Et[1],Ne=Et[2],or=we-Jt,Ir=Ve-fe,Ar=or*or+Ir*Ir,Yr,an;if(Ar<_t)an=Math.log(Ne/de)/Ke,Yr=function(Jn){return[Jt+Jn*or,fe+Jn*Ir,de*Math.exp(Ke*Jn*an)]};else{var on=Math.sqrt(Ar),ei=(Ne*Ne-de*de+dn*Ar)/(2*de*Er*on),fn=(Ne*Ne-de*de-dn*Ar)/(2*Ne*Er*on),zn=Math.log(Math.sqrt(ei*ei+1)-ei),Un=Math.log(Math.sqrt(fn*fn+1)-fn);an=(Un-zn)/Ke,Yr=function(Jn){var si=Jn*an,bn=ar(zn),Gi=de/(Er*on)*(bn*ir(Ke*si+zn)-Ue(zn));return[Jt+Gi*or,fe+Gi*Ir,de*bn/ar(Ke*si+zn)]}}return Yr.duration=an*1e3,Yr},u.behavior.zoom=function(){var mt={x:0,y:0,k:1},Et,Jt,fe,de=[960,500],we=mn,Ve=250,Ne=0,or="mousedown.zoom",Ir="mousemove.zoom",Ar="mouseup.zoom",Yr,an="touchstart.zoom",on,ei=st(si,"zoomstart","zoom","zoomend"),fn,zn,Un,Jn;Zn||(Zn="onwheel"in k?(wn=function(){return-u.event.deltaY*(u.event.deltaMode?120:1)},"wheel"):"onmousewheel"in k?(wn=function(){return u.event.wheelDelta},"mousewheel"):(wn=function(){return-u.event.detail},"MozMousePixelScroll"));function si(pa){pa.on(or,to).on(Zn+".zoom",Tl).on("dblclick.zoom",Ys).on(an,us)}si.event=function(pa){pa.each(function(){var Eo=ei.of(this,arguments),Vo=mt;ka?u.select(this).transition().each("start.zoom",function(){mt=this.__chart__||{x:0,y:0,k:1},La(Eo)}).tween("zoom:zoom",function(){var Us=de[0],Ls=de[1],yu=Jt?Jt[0]:Us/2,_s=Jt?Jt[1]:Ls/2,Rs=u.interpolateZoom([(yu-mt.x)/mt.k,(_s-mt.y)/mt.k,Us/mt.k],[(yu-Vo.x)/Vo.k,(_s-Vo.y)/Vo.k,Us/Vo.k]);return function(Fu){var ae=Rs(Fu),nr=Us/ae[2];this.__chart__=mt={x:yu-ae[0]*nr,y:_s-ae[1]*nr,k:nr},Ho(Eo)}}).each("interrupt.zoom",function(){za(Eo)}).each("end.zoom",function(){za(Eo)}):(this.__chart__=mt,La(Eo),Ho(Eo),za(Eo))})},si.translate=function(pa){return arguments.length?(mt={x:+pa[0],y:+pa[1],k:mt.k},Ma(),si):[mt.x,mt.y]},si.scale=function(pa){return arguments.length?(mt={x:mt.x,y:mt.y,k:null},Hi(+pa),Ma(),si):mt.k},si.scaleExtent=function(pa){return arguments.length?(we=pa==null?mn:[+pa[0],+pa[1]],si):we},si.center=function(pa){return arguments.length?(fe=pa&&[+pa[0],+pa[1]],si):fe},si.size=function(pa){return arguments.length?(de=pa&&[+pa[0],+pa[1]],si):de},si.duration=function(pa){return arguments.length?(Ve=+pa,si):Ve},si.x=function(pa){return arguments.length?(zn=pa,fn=pa.copy(),mt={x:0,y:0,k:1},si):zn},si.y=function(pa){return arguments.length?(Jn=pa,Un=pa.copy(),mt={x:0,y:0,k:1},si):Jn};function bn(pa){return[(pa[0]-mt.x)/mt.k,(pa[1]-mt.y)/mt.k]}function Gi(pa){return[pa[0]*mt.k+mt.x,pa[1]*mt.k+mt.y]}function Hi(pa){mt.k=Math.max(we[0],Math.min(we[1],pa))}function aa(pa,Eo){Eo=Gi(Eo),mt.x+=pa[0]-Eo[0],mt.y+=pa[1]-Eo[1]}function ya(pa,Eo,Vo,Us){pa.__chart__={x:mt.x,y:mt.y,k:mt.k},Hi(Math.pow(2,Us)),aa(Jt=Eo,Vo),pa=u.select(pa),Ve>0&&(pa=pa.transition().duration(Ve)),pa.call(si.event)}function Ma(){zn&&zn.domain(fn.range().map(function(pa){return(pa-mt.x)/mt.k}).map(fn.invert)),Jn&&Jn.domain(Un.range().map(function(pa){return(pa-mt.y)/mt.k}).map(Un.invert))}function La(pa){Ne++||pa({type:"zoomstart"})}function Ho(pa){Ma(),pa({type:"zoom",scale:mt.k,translate:[mt.x,mt.y]})}function za(pa){--Ne||(pa({type:"zoomend"}),Jt=null)}function to(){var pa=this,Eo=ei.of(pa,arguments),Vo=0,Us=u.select(e(pa)).on(Ir,_s).on(Ar,Rs),Ls=bn(u.mouse(pa)),yu=Sr(pa);Wn.call(pa),La(Eo);function _s(){Vo=1,aa(u.mouse(pa),Ls),Ho(Eo)}function Rs(){Us.on(Ir,null).on(Ar,null),yu(Vo),za(Eo)}}function us(){var pa=this,Eo=ei.of(pa,arguments),Vo={},Us=0,Ls,yu=".zoom-"+u.event.changedTouches[0].identifier,_s="touchmove"+yu,Rs="touchend"+yu,Fu=[],ae=u.select(pa),nr=Sr(pa);sn(),La(Eo),ae.on(or,null).on(an,sn);function cr(){var Gr=u.touches(pa);return Ls=mt.k,Gr.forEach(function(An){An.identifier in Vo&&(Vo[An.identifier]=bn(An))}),Gr}function sn(){var Gr=u.event.target;u.select(Gr).on(_s,In).on(Rs,Mn),Fu.push(Gr);for(var An=u.event.changedTouches,li=0,ni=An.length;li<ni;++li)Vo[An[li].identifier]=null;var Mi=cr(),Zi=Date.now();if(Mi.length===1){if(Zi-on<500){var qi=Mi[0];ya(pa,qi,Vo[qi.identifier],Math.floor(Math.log(mt.k)/Math.LN2)+1),rt()}on=Zi}else if(Mi.length>1){var qi=Mi[0],ui=Mi[1],Hn=qi[0]-ui[0],jr=qi[1]-ui[1];Us=Hn*Hn+jr*jr}}function In(){var Gr=u.touches(pa),An,li,ni,Mi;Wn.call(pa);for(var Zi=0,qi=Gr.length;Zi<qi;++Zi,Mi=null)if(ni=Gr[Zi],Mi=Vo[ni.identifier]){if(li)break;An=ni,li=Mi}if(Mi){var ui=(ui=ni[0]-An[0])*ui+(ui=ni[1]-An[1])*ui,Hn=Us&&Math.sqrt(ui/Us);An=[(An[0]+ni[0])/2,(An[1]+ni[1])/2],li=[(li[0]+Mi[0])/2,(li[1]+Mi[1])/2],Hi(Hn*Ls)}on=null,aa(An,li),Ho(Eo)}function Mn(){if(u.event.touches.length){for(var Gr=u.event.changedTouches,An=0,li=Gr.length;An<li;++An)delete Vo[Gr[An].identifier];for(var ni in Vo)return void cr()}u.selectAll(Fu).on(yu,null),ae.on(or,to).on(an,us),nr(),za(Eo)}}function Tl(){var pa=ei.of(this,arguments);Yr?clearTimeout(Yr):(Wn.call(this),Et=bn(Jt=fe||u.mouse(this)),La(pa)),Yr=setTimeout(function(){Yr=null,za(pa)},50),rt(),Hi(Math.pow(2,wn()*.002)*mt.k),aa(Jt,Et),Ho(pa)}function Ys(){var pa=u.mouse(this),Eo=Math.log(mt.k)/Math.LN2;ya(this,pa,bn(pa),u.event.shiftKey?Math.ceil(Eo)-1:Math.floor(Eo)+1)}return u.rebind(si,ei,"on")};var mn=[0,1/0],wn,Zn;u.color=Ln;function Ln(){}Ln.prototype.toString=function(){return this.rgb()+""},u.hsl=vn;function vn(mt,Et,Jt){return this instanceof vn?(this.h=+mt,this.s=+Et,void(this.l=+Jt)):arguments.length<2?mt instanceof vn?new vn(mt.h,mt.s,mt.l):br(""+mt,Tr,vn):new vn(mt,Et,Jt)}var mi=vn.prototype=new Ln;mi.brighter=function(mt){return mt=Math.pow(.7,arguments.length?mt:1),new vn(this.h,this.s,this.l/mt)},mi.darker=function(mt){return mt=Math.pow(.7,arguments.length?mt:1),new vn(this.h,this.s,mt*this.l)},mi.rgb=function(){return ii(this.h,this.s,this.l)};function ii(mt,Et,Jt){var fe,de;mt=isNaN(mt)?0:(mt%=360)<0?mt+360:mt,Et=isNaN(Et)||Et<0?0:Et>1?1:Et,Jt=Jt<0?0:Jt>1?1:Jt,de=Jt<=.5?Jt*(1+Et):Jt+Et-Jt*Et,fe=2*Jt-de;function we(Ne){return Ne>360?Ne-=360:Ne<0&&(Ne+=360),Ne<60?fe+(de-fe)*Ne/60:Ne<180?de:Ne<240?fe+(de-fe)*(240-Ne)/60:fe}function Ve(Ne){return Math.round(we(Ne)*255)}return new Di(Ve(mt+120),Ve(mt),Ve(mt-120))}u.hcl=Ae;function Ae(mt,Et,Jt){return this instanceof Ae?(this.h=+mt,this.c=+Et,void(this.l=+Jt)):arguments.length<2?mt instanceof Ae?new Ae(mt.h,mt.c,mt.l):mt instanceof tr?Kn(mt.l,mt.a,mt.b):Kn((mt=mr((mt=u.rgb(mt)).r,mt.g,mt.b)).l,mt.a,mt.b):new Ae(mt,Et,Jt)}var Fe=Ae.prototype=new Ln;Fe.brighter=function(mt){return new Ae(this.h,this.c,Math.min(100,this.l+Cr*(arguments.length?mt:1)))},Fe.darker=function(mt){return new Ae(this.h,this.c,Math.max(0,this.l-Cr*(arguments.length?mt:1)))},Fe.rgb=function(){return Xe(this.h,this.c,this.l).rgb()};function Xe(mt,Et,Jt){return isNaN(mt)&&(mt=0),isNaN(Et)&&(Et=0),new tr(Jt,Math.cos(mt*=Kt)*Et,Math.sin(mt)*Et)}u.lab=tr;function tr(mt,Et,Jt){return this instanceof tr?(this.l=+mt,this.a=+Et,void(this.b=+Jt)):arguments.length<2?mt instanceof tr?new tr(mt.l,mt.a,mt.b):mt instanceof Ae?Xe(mt.h,mt.c,mt.l):mr((mt=Di(mt)).r,mt.g,mt.b):new tr(mt,Et,Jt)}var Cr=18,tn=.95047,Kr=1,$r=1.08883,Pn=tr.prototype=new Ln;Pn.brighter=function(mt){return new tr(Math.min(100,this.l+Cr*(arguments.length?mt:1)),this.a,this.b)},Pn.darker=function(mt){return new tr(Math.max(0,this.l-Cr*(arguments.length?mt:1)),this.a,this.b)},Pn.rgb=function(){return Vn(this.l,this.a,this.b)};function Vn(mt,Et,Jt){var fe=(mt+16)/116,de=fe+Et/500,we=fe-Jt/200;return de=$n(de)*tn,fe=$n(fe)*Kr,we=$n(we)*$r,new Di(On(3.2404542*de-1.5371385*fe-.4985314*we),On(-.969266*de+1.8760108*fe+.041556*we),On(.0556434*de-.2040259*fe+1.0572252*we))}function Kn(mt,Et,Jt){return mt>0?new Ae(Math.atan2(Jt,Et)*se,Math.sqrt(Et*Et+Jt*Jt),mt):new Ae(NaN,NaN,mt)}function $n(mt){return mt>.206893034?mt*mt*mt:(mt-4/29)/7.787037}function oi(mt){return mt>.008856?Math.pow(mt,1/3):7.787037*mt+4/29}function On(mt){return Math.round(255*(mt<=.00304?12.92*mt:1.055*Math.pow(mt,1/2.4)-.055))}u.rgb=Di;function Di(mt,Et,Jt){return this instanceof Di?(this.r=~~mt,this.g=~~Et,void(this.b=~~Jt)):arguments.length<2?mt instanceof Di?new Di(mt.r,mt.g,mt.b):br(""+mt,Di,ii):new Di(mt,Et,Jt)}function Yi(mt){return new Di(mt>>16,mt>>8&255,mt&255)}function ve(mt){return Yi(mt)+""}var ge=Di.prototype=new Ln;ge.brighter=function(mt){mt=Math.pow(.7,arguments.length?mt:1);var Et=this.r,Jt=this.g,fe=this.b,de=30;return!Et&&!Jt&&!fe?new Di(de,de,de):(Et&&Et<de&&(Et=de),Jt&&Jt<de&&(Jt=de),fe&&fe<de&&(fe=de),new Di(Math.min(255,Et/mt),Math.min(255,Jt/mt),Math.min(255,fe/mt)))},ge.darker=function(mt){return mt=Math.pow(.7,arguments.length?mt:1),new Di(mt*this.r,mt*this.g,mt*this.b)},ge.hsl=function(){return Tr(this.r,this.g,this.b)},ge.toString=function(){return"#"+dr(this.r)+dr(this.g)+dr(this.b)};function dr(mt){return mt<16?"0"+Math.max(0,mt).toString(16):Math.min(255,mt).toString(16)}function br(mt,Et,Jt){var fe=0,de=0,we=0,Ve,Ne,or;if(Ve=/([a-z]+)\((.*)\)/.exec(mt=mt.toLowerCase()),Ve)switch(Ne=Ve[2].split(","),Ve[1]){case"hsl":return Jt(parseFloat(Ne[0]),parseFloat(Ne[1])/100,parseFloat(Ne[2])/100);case"rgb":return Et(Nr(Ne[0]),Nr(Ne[1]),Nr(Ne[2]))}return(or=Pr.get(mt))?Et(or.r,or.g,or.b):(mt!=null&&mt.charAt(0)==="#"&&!isNaN(or=parseInt(mt.slice(1),16))&&(mt.length===4?(fe=(or&3840)>>4,fe=fe>>4|fe,de=or&240,de=de>>4|de,we=or&15,we=we<<4|we):mt.length===7&&(fe=(or&16711680)>>16,de=(or&65280)>>8,we=or&255)),Et(fe,de,we))}function Tr(mt,Et,Jt){var fe=Math.min(mt/=255,Et/=255,Jt/=255),de=Math.max(mt,Et,Jt),we=de-fe,Ve,Ne,or=(de+fe)/2;return we?(Ne=or<.5?we/(de+fe):we/(2-de-fe),mt==de?Ve=(Et-Jt)/we+(Et<Jt?6:0):Et==de?Ve=(Jt-mt)/we+2:Ve=(mt-Et)/we+4,Ve*=60):(Ve=NaN,Ne=or>0&&or<1?0:Ve),new vn(Ve,Ne,or)}function mr(mt,Et,Jt){mt=Mr(mt),Et=Mr(Et),Jt=Mr(Jt);var fe=oi((.4124564*mt+.3575761*Et+.1804375*Jt)/tn),de=oi((.2126729*mt+.7151522*Et+.072175*Jt)/Kr),we=oi((.0193339*mt+.119192*Et+.9503041*Jt)/$r);return tr(116*de-16,500*(fe-de),200*(de-we))}function Mr(mt){return(mt/=255)<=.04045?mt/12.92:Math.pow((mt+.055)/1.055,2.4)}function Nr(mt){var Et=parseFloat(mt);return mt.charAt(mt.length-1)==="%"?Math.round(Et*2.55):Et}var Pr=u.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});Pr.forEach(function(mt,Et){Pr.set(mt,Yi(Et))});function pe(mt){return typeof mt=="function"?mt:function(){return mt}}u.functor=pe,u.xhr=Ze(B);function Ze(mt){return function(Et,Jt,fe){return arguments.length===2&&typeof Jt=="function"&&(fe=Jt,Jt=null),xr(Et,Jt,mt,fe)}}function xr(mt,Et,Jt,fe){var de={},we=u.dispatch("beforesend","progress","load","error"),Ve={},Ne=new XMLHttpRequest,or=null;self.XDomainRequest&&!("withCredentials"in Ne)&&/^(http(s)?:)?\/\//.test(mt)&&(Ne=new XDomainRequest),"onload"in Ne?Ne.onload=Ne.onerror=Ir:Ne.onreadystatechange=function(){Ne.readyState>3&&Ir()};function Ir(){var Ar=Ne.status,Yr;if(!Ar&&un(Ne)||Ar>=200&&Ar<300||Ar===304){try{Yr=Jt.call(de,Ne)}catch(an){we.error.call(de,an);return}we.load.call(de,Yr)}else we.error.call(de,Ne)}return Ne.onprogress=function(Ar){var Yr=u.event;u.event=Ar;try{we.progress.call(de,Ne)}finally{u.event=Yr}},de.header=function(Ar,Yr){return Ar=(Ar+"").toLowerCase(),arguments.length<2?Ve[Ar]:(Yr==null?delete Ve[Ar]:Ve[Ar]=Yr+"",de)},de.mimeType=function(Ar){return arguments.length?(Et=Ar==null?null:Ar+"",de):Et},de.responseType=function(Ar){return arguments.length?(or=Ar,de):or},de.response=function(Ar){return Jt=Ar,de},["get","post"].forEach(function(Ar){de[Ar]=function(){return de.send.apply(de,[Ar].concat(A(arguments)))}}),de.send=function(Ar,Yr,an){if(arguments.length===2&&typeof Yr=="function"&&(an=Yr,Yr=null),Ne.open(Ar,mt,!0),Et!=null&&!("accept"in Ve)&&(Ve.accept=Et+",*/*"),Ne.setRequestHeader)for(var on in Ve)Ne.setRequestHeader(on,Ve[on]);return Et!=null&&Ne.overrideMimeType&&Ne.overrideMimeType(Et),or!=null&&(Ne.responseType=or),an!=null&&de.on("error",an).on("load",function(ei){an(null,ei)}),we.beforesend.call(de,Ne),Ne.send(Yr??null),de},de.abort=function(){return Ne.abort(),de},u.rebind(de,we,"on"),fe==null?de:de.get(Hr(fe))}function Hr(mt){return mt.length===1?function(Et,Jt){mt(Et==null?Jt:null)}:mt}function un(mt){var Et=mt.responseType;return Et&&Et!=="text"?mt.response:mt.responseText}u.dsv=function(mt,Et){var Jt=new RegExp('["'+mt+`
|
|
2
2
|
]`),fe=mt.charCodeAt(0);function de(Ir,Ar,Yr){arguments.length<3&&(Yr=Ar,Ar=null);var an=xr(Ir,Et,Ar==null?we:Ve(Ar),Yr);return an.row=function(on){return arguments.length?an.response((Ar=on)==null?we:Ve(on)):Ar},an}function we(Ir){return de.parse(Ir.responseText)}function Ve(Ir){return function(Ar){return de.parse(Ar.responseText,Ir)}}de.parse=function(Ir,Ar){var Yr;return de.parseRows(Ir,function(an,on){if(Yr)return Yr(an,on-1);var ei=function(fn){for(var zn={},Un=an.length,Jn=0;Jn<Un;++Jn)zn[an[Jn]]=fn[Jn];return zn};Yr=Ar?function(fn,zn){return Ar(ei(fn),zn)}:ei})},de.parseRows=function(Ir,Ar){var Yr={},an={},on=[],ei=Ir.length,fn=0,zn=0,Un,Jn;function si(){if(fn>=ei)return an;if(Jn)return Jn=!1,Yr;var Gi=fn;if(Ir.charCodeAt(Gi)===34){for(var Hi=Gi;Hi++<ei;)if(Ir.charCodeAt(Hi)===34){if(Ir.charCodeAt(Hi+1)!==34)break;++Hi}fn=Hi+2;var aa=Ir.charCodeAt(Hi+1);return aa===13?(Jn=!0,Ir.charCodeAt(Hi+2)===10&&++fn):aa===10&&(Jn=!0),Ir.slice(Gi+1,Hi).replace(/""/g,'"')}for(;fn<ei;){var aa=Ir.charCodeAt(fn++),ya=1;if(aa===10)Jn=!0;else if(aa===13)Jn=!0,Ir.charCodeAt(fn)===10&&(++fn,++ya);else if(aa!==fe)continue;return Ir.slice(Gi,fn-ya)}return Ir.slice(Gi)}for(;(Un=si())!==an;){for(var bn=[];Un!==Yr&&Un!==an;)bn.push(Un),Un=si();Ar&&(bn=Ar(bn,zn++))==null||on.push(bn)}return on},de.format=function(Ir){if(Array.isArray(Ir[0]))return de.formatRows(Ir);var Ar=new R,Yr=[];return Ir.forEach(function(an){for(var on in an)Ar.has(on)||Yr.push(Ar.add(on))}),[Yr.map(or).join(mt)].concat(Ir.map(function(an){return Yr.map(function(on){return or(an[on])}).join(mt)})).join(`
|
|
3
3
|
`)},de.formatRows=function(Ir){return Ir.map(Ne).join(`
|
|
4
4
|
`)};function Ne(Ir){return Ir.map(or).join(mt)}function or(Ir){return Jt.test(Ir)?'"'+Ir.replace(/\"/g,'""')+'"':Ir}return de},u.csv=u.dsv(",","text/csv"),u.tsv=u.dsv(" ","text/tab-separated-values");var Tn,rn,Qr,xn,Ri=this[O(this,"requestAnimationFrame")]||function(mt){setTimeout(mt,17)};u.timer=function(){ti.apply(this,arguments)};function ti(mt,Et,Jt){var fe=arguments.length;fe<2&&(Et=0),fe<3&&(Jt=Date.now());var de=Jt+Et,we={c:mt,t:de,n:null};return rn?rn.n=we:Tn=we,rn=we,Qr||(xn=clearTimeout(xn),Qr=1,Ri(ta)),we}function ta(){var mt=Qi(),Et=wa()-mt;Et>24?(isFinite(Et)&&(clearTimeout(xn),xn=setTimeout(ta,Et)),Qr=0):(Qr=1,Ri(ta))}u.timer.flush=function(){Qi(),wa()};function Qi(){for(var mt=Date.now(),Et=Tn;Et;)mt>=Et.t&&Et.c(mt-Et.t)&&(Et.c=null),Et=Et.n;return mt}function wa(){for(var mt,Et=Tn,Jt=1/0;Et;)Et.c?(Et.t<Jt&&(Jt=Et.t),Et=(mt=Et).n):Et=mt?mt.n=Et.n:Tn=Et.n;return rn=mt,Jt}u.round=function(mt,Et){return Et?Math.round(mt*(Et=Math.pow(10,Et)))/Et:Math.round(mt)},u.geom={};function fa(mt){return mt[0]}function Ta(mt){return mt[1]}u.geom.hull=function(mt){var Et=fa,Jt=Ta;if(arguments.length)return fe(mt);function fe(de){if(de.length<3)return[];var we=pe(Et),Ve=pe(Jt),Ne,or=de.length,Ir=[],Ar=[];for(Ne=0;Ne<or;Ne++)Ir.push([+we.call(this,de[Ne],Ne),+Ve.call(this,de[Ne],Ne),Ne]);for(Ir.sort(ro),Ne=0;Ne<or;Ne++)Ar.push([Ir[Ne][0],-Ir[Ne][1]]);var Yr=Fi(Ir),an=Fi(Ar),on=an[0]===Yr[0],ei=an[an.length-1]===Yr[Yr.length-1],fn=[];for(Ne=Yr.length-1;Ne>=0;--Ne)fn.push(de[Ir[Yr[Ne]][2]]);for(Ne=+on;Ne<an.length-ei;++Ne)fn.push(de[Ir[an[Ne]][2]]);return fn}return fe.x=function(de){return arguments.length?(Et=de,fe):Et},fe.y=function(de){return arguments.length?(Jt=de,fe):Jt},fe};function Fi(mt){for(var Et=mt.length,Jt=[0,1],fe=2,de=2;de<Et;de++){for(;fe>1&&Me(mt[Jt[fe-2]],mt[Jt[fe-1]],mt[de])<=0;)--fe;Jt[fe++]=de}return Jt.slice(0,fe)}function ro(mt,Et){return mt[0]-Et[0]||mt[1]-Et[1]}u.geom.polygon=function(mt){return Z(mt,Ya),mt};var Ya=u.geom.polygon.prototype=[];Ya.area=function(){for(var mt=-1,Et=this.length,Jt,fe=this[Et-1],de=0;++mt<Et;)Jt=fe,fe=this[mt],de+=Jt[1]*fe[0]-Jt[0]*fe[1];return de*.5},Ya.centroid=function(mt){var Et=-1,Jt=this.length,fe=0,de=0,we,Ve=this[Jt-1],Ne;for(arguments.length||(mt=-1/(6*this.area()));++Et<Jt;)we=Ve,Ve=this[Et],Ne=we[0]*Ve[1]-Ve[0]*we[1],fe+=(we[0]+Ve[0])*Ne,de+=(we[1]+Ve[1])*Ne;return[fe*mt,de*mt]},Ya.clip=function(mt){for(var Et,Jt=Oo(mt),fe=-1,de=this.length-Oo(this),we,Ve,Ne=this[de-1],or,Ir,Ar;++fe<de;){for(Et=mt.slice(),mt.length=0,or=this[fe],Ir=Et[(Ve=Et.length-Jt)-1],we=-1;++we<Ve;)Ar=Et[we],Xo(Ar,Ne,or)?(Xo(Ir,Ne,or)||mt.push(Oa(Ir,Ar,Ne,or)),mt.push(Ar)):Xo(Ir,Ne,or)&&mt.push(Oa(Ir,Ar,Ne,or)),Ir=Ar;Jt&&mt.push(mt[0]),Ne=or}return mt};function Xo(mt,Et,Jt){return(Jt[0]-Et[0])*(mt[1]-Et[1])<(Jt[1]-Et[1])*(mt[0]-Et[0])}function Oa(mt,Et,Jt,fe){var de=mt[0],we=Jt[0],Ve=Et[0]-de,Ne=fe[0]-we,or=mt[1],Ir=Jt[1],Ar=Et[1]-or,Yr=fe[1]-Ir,an=(Ne*(or-Ir)-Yr*(de-we))/(Yr*Ve-Ne*Ar);return[de+an*Ve,or+an*Ar]}function Oo(mt){var Et=mt[0],Jt=mt[mt.length-1];return!(Et[0]-Jt[0]||Et[1]-Jt[1])}var Xa,Zo,Bo,xs=[],Ka,fo,va=[];function so(){as(this),this.edge=this.site=this.circle=null}function ls(mt){var Et=xs.pop()||new so;return Et.site=mt,Et}function Ts(mt){fs(mt),Bo.remove(mt),xs.push(mt),as(mt)}function Is(mt){var Et=mt.circle,Jt=Et.x,fe=Et.cy,de={x:Jt,y:fe},we=mt.P,Ve=mt.N,Ne=[mt];Ts(mt);for(var or=we;or.circle&&l(Jt-or.circle.x)<Gt&&l(fe-or.circle.cy)<Gt;)we=or.P,Ne.unshift(or),Ts(or),or=we;Ne.unshift(or),fs(or);for(var Ir=Ve;Ir.circle&&l(Jt-Ir.circle.x)<Gt&&l(fe-Ir.circle.cy)<Gt;)Ve=Ir.N,Ne.push(Ir),Ts(Ir),Ir=Ve;Ne.push(Ir),fs(Ir);var Ar=Ne.length,Yr;for(Yr=1;Yr<Ar;++Yr)Ir=Ne[Yr],or=Ne[Yr-1],Na(Ir.edge,or.site,Ir.site,de);or=Ne[0],Ir=Ne[Ar-1],Ir.edge=Fs(or.site,Ir.site,null,de),Go(or),Go(Ir)}function To(mt){for(var Et=mt.x,Jt=mt.y,fe,de,we,Ve,Ne=Bo._;Ne;)if(we=Pi(Ne,Jt)-Et,we>Gt)Ne=Ne.L;else if(Ve=Et-ha(Ne,Jt),Ve>Gt){if(!Ne.R){fe=Ne;break}Ne=Ne.R}else{we>-Gt?(fe=Ne.P,de=Ne):Ve>-Gt?(fe=Ne,de=Ne.N):fe=de=Ne;break}var or=ls(mt);if(Bo.insert(fe,or),!(!fe&&!de)){if(fe===de){fs(fe),de=ls(fe.site),Bo.insert(or,de),or.edge=de.edge=Fs(fe.site,or.site),Go(fe),Go(de);return}if(!de){or.edge=Fs(fe.site,or.site);return}fs(fe),fs(de);var Ir=fe.site,Ar=Ir.x,Yr=Ir.y,an=mt.x-Ar,on=mt.y-Yr,ei=de.site,fn=ei.x-Ar,zn=ei.y-Yr,Un=2*(an*zn-on*fn),Jn=an*an+on*on,si=fn*fn+zn*zn,bn={x:(zn*Jn-on*si)/Un+Ar,y:(an*si-fn*Jn)/Un+Yr};Na(de.edge,Ir,ei,bn),or.edge=Fs(Ir,mt,null,bn),de.edge=Fs(mt,ei,null,bn),Go(fe),Go(de)}}function Pi(mt,Et){var Jt=mt.site,fe=Jt.x,de=Jt.y,we=de-Et;if(!we)return fe;var Ve=mt.P;if(!Ve)return-1/0;Jt=Ve.site;var Ne=Jt.x,or=Jt.y,Ir=or-Et;if(!Ir)return Ne;var Ar=Ne-fe,Yr=1/we-1/Ir,an=Ar/Ir;return Yr?(-an+Math.sqrt(an*an-2*Yr*(Ar*Ar/(-2*Ir)-or+Ir/2+de-we/2)))/Yr+fe:(fe+Ne)/2}function ha(mt,Et){var Jt=mt.N;if(Jt)return Pi(Jt,Et);var fe=mt.site;return fe.y===Et?fe.x:1/0}function ko(mt){this.site=mt,this.edges=[]}ko.prototype.prepare=function(){for(var mt=this.edges,Et=mt.length,Jt;Et--;)Jt=mt[Et].edge,(!Jt.b||!Jt.a)&&mt.splice(Et,1);return mt.sort(Ba),mt.length};function Os(mt){for(var Et=mt[0][0],Jt=mt[1][0],fe=mt[0][1],de=mt[1][1],we,Ve,Ne,or,Ir=Zo,Ar=Ir.length,Yr,an,on,ei,fn,zn;Ar--;)if(Yr=Ir[Ar],!(!Yr||!Yr.prepare()))for(on=Yr.edges,ei=on.length,an=0;an<ei;)zn=on[an].end(),Ne=zn.x,or=zn.y,fn=on[++an%ei].start(),we=fn.x,Ve=fn.y,(l(Ne-we)>Gt||l(or-Ve)>Gt)&&(on.splice(an,0,new nl(Ko(Yr.site,zn,l(Ne-Et)<Gt&&de-or>Gt?{x:Et,y:l(we-Et)<Gt?Ve:de}:l(or-de)<Gt&&Jt-Ne>Gt?{x:l(Ve-de)<Gt?we:Jt,y:de}:l(Ne-Jt)<Gt&&or-fe>Gt?{x:Jt,y:l(we-Jt)<Gt?Ve:fe}:l(or-fe)<Gt&&Ne-Et>Gt?{x:l(Ve-fe)<Gt?we:Et,y:fe}:null),Yr.site,null)),++ei)}function Ba(mt,Et){return Et.angle-mt.angle}function Ss(){as(this),this.x=this.y=this.arc=this.site=this.cy=null}function Go(mt){var Et=mt.P,Jt=mt.N;if(!(!Et||!Jt)){var fe=Et.site,de=mt.site,we=Jt.site;if(fe!==we){var Ve=de.x,Ne=de.y,or=fe.x-Ve,Ir=fe.y-Ne,Ar=we.x-Ve,Yr=we.y-Ne,an=2*(or*Yr-Ir*Ar);if(!(an>=-_t)){var on=or*or+Ir*Ir,ei=Ar*Ar+Yr*Yr,fn=(Yr*on-Ir*ei)/an,zn=(or*ei-Ar*on)/an,Yr=zn+Ne,Un=va.pop()||new Ss;Un.arc=mt,Un.site=de,Un.x=fn+Ve,Un.y=Yr+Math.sqrt(fn*fn+zn*zn),Un.cy=Yr,mt.circle=Un;for(var Jn=null,si=fo._;si;)if(Un.y<si.y||Un.y===si.y&&Un.x<=si.x)if(si.L)si=si.L;else{Jn=si.P;break}else if(si.R)si=si.R;else{Jn=si;break}fo.insert(Jn,Un),Jn||(Ka=Un)}}}}function fs(mt){var Et=mt.circle;Et&&(Et.P||(Ka=Et.N),fo.remove(Et),va.push(Et),as(Et),mt.circle=null)}function pl(mt,Et,Jt,fe){return function(de){var we=de.a,Ve=de.b,Ne=we.x,or=we.y,Ir=Ve.x,Ar=Ve.y,Yr=0,an=1,on=Ir-Ne,ei=Ar-or,fn;if(fn=mt-Ne,!(!on&&fn>0)){if(fn/=on,on<0){if(fn<Yr)return;fn<an&&(an=fn)}else if(on>0){if(fn>an)return;fn>Yr&&(Yr=fn)}if(fn=Jt-Ne,!(!on&&fn<0)){if(fn/=on,on<0){if(fn>an)return;fn>Yr&&(Yr=fn)}else if(on>0){if(fn<Yr)return;fn<an&&(an=fn)}if(fn=Et-or,!(!ei&&fn>0)){if(fn/=ei,ei<0){if(fn<Yr)return;fn<an&&(an=fn)}else if(ei>0){if(fn>an)return;fn>Yr&&(Yr=fn)}if(fn=fe-or,!(!ei&&fn<0)){if(fn/=ei,ei<0){if(fn>an)return;fn>Yr&&(Yr=fn)}else if(ei>0){if(fn<Yr)return;fn<an&&(an=fn)}return Yr>0&&(de.a={x:Ne+Yr*on,y:or+Yr*ei}),an<1&&(de.b={x:Ne+an*on,y:or+an*ei}),de}}}}}}function la(mt){for(var Et=Xa,Jt=pl(mt[0][0],mt[0][1],mt[1][0],mt[1][1]),fe=Et.length,de;fe--;)de=Et[fe],(!lo(de,mt)||!Jt(de)||l(de.a.x-de.b.x)<Gt&&l(de.a.y-de.b.y)<Gt)&&(de.a=de.b=null,Et.splice(fe,1))}function lo(mt,Et){var Jt=mt.b;if(Jt)return!0;var fe=mt.a,de=Et[0][0],we=Et[1][0],Ve=Et[0][1],Ne=Et[1][1],or=mt.l,Ir=mt.r,Ar=or.x,Yr=or.y,an=Ir.x,on=Ir.y,ei=(Ar+an)/2,fn=(Yr+on)/2,zn,Un;if(on===Yr){if(ei<de||ei>=we)return;if(Ar>an){if(!fe)fe={x:ei,y:Ve};else if(fe.y>=Ne)return;Jt={x:ei,y:Ne}}else{if(!fe)fe={x:ei,y:Ne};else if(fe.y<Ve)return;Jt={x:ei,y:Ve}}}else if(zn=(Ar-an)/(on-Yr),Un=fn-zn*ei,zn<-1||zn>1)if(Ar>an){if(!fe)fe={x:(Ve-Un)/zn,y:Ve};else if(fe.y>=Ne)return;Jt={x:(Ne-Un)/zn,y:Ne}}else{if(!fe)fe={x:(Ne-Un)/zn,y:Ne};else if(fe.y<Ve)return;Jt={x:(Ve-Un)/zn,y:Ve}}else if(Yr<on){if(!fe)fe={x:de,y:zn*de+Un};else if(fe.x>=we)return;Jt={x:we,y:zn*we+Un}}else{if(!fe)fe={x:we,y:zn*we+Un};else if(fe.x<de)return;Jt={x:de,y:zn*de+Un}}return mt.a=fe,mt.b=Jt,!0}function po(mt,Et){this.l=mt,this.r=Et,this.a=this.b=null}function Fs(mt,Et,Jt,fe){var de=new po(mt,Et);return Xa.push(de),Jt&&Na(de,mt,Et,Jt),fe&&Na(de,Et,mt,fe),Zo[mt.i].edges.push(new nl(de,mt,Et)),Zo[Et.i].edges.push(new nl(de,Et,mt)),de}function Ko(mt,Et,Jt){var fe=new po(mt,null);return fe.a=Et,fe.b=Jt,Xa.push(fe),fe}function Na(mt,Et,Jt,fe){!mt.a&&!mt.b?(mt.a=fe,mt.l=Et,mt.r=Jt):mt.l===Jt?mt.b=fe:mt.a=fe}function nl(mt,Et,Jt){var fe=mt.a,de=mt.b;this.edge=mt,this.site=Et,this.angle=Jt?Math.atan2(Jt.y-Et.y,Jt.x-Et.x):mt.l===Et?Math.atan2(de.x-fe.x,fe.y-de.y):Math.atan2(fe.x-de.x,de.y-fe.y)}nl.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 bl(){this._=null}function as(mt){mt.U=mt.C=mt.L=mt.R=mt.P=mt.N=null}bl.prototype={insert:function(mt,Et){var Jt,fe,de;if(mt){if(Et.P=mt,Et.N=mt.N,mt.N&&(mt.N.P=Et),mt.N=Et,mt.R){for(mt=mt.R;mt.L;)mt=mt.L;mt.L=Et}else mt.R=Et;Jt=mt}else this._?(mt=Ds(this._),Et.P=null,Et.N=mt,mt.P=mt.L=Et,Jt=mt):(Et.P=Et.N=null,this._=Et,Jt=null);for(Et.L=Et.R=null,Et.U=Jt,Et.C=!0,mt=Et;Jt&&Jt.C;)fe=Jt.U,Jt===fe.L?(de=fe.R,de&&de.C?(Jt.C=de.C=!1,fe.C=!0,mt=fe):(mt===Jt.R&&(gs(this,Jt),mt=Jt,Jt=mt.U),Jt.C=!1,fe.C=!0,zs(this,fe))):(de=fe.L,de&&de.C?(Jt.C=de.C=!1,fe.C=!0,mt=fe):(mt===Jt.L&&(zs(this,Jt),mt=Jt,Jt=mt.U),Jt.C=!1,fe.C=!0,gs(this,fe))),Jt=mt.U;this._.C=!1},remove:function(mt){mt.N&&(mt.N.P=mt.P),mt.P&&(mt.P.N=mt.N),mt.N=mt.P=null;var Et=mt.U,Jt,fe=mt.L,de=mt.R,we,Ve;if(fe?de?we=Ds(de):we=fe:we=de,Et?Et.L===mt?Et.L=we:Et.R=we:this._=we,fe&&de?(Ve=we.C,we.C=mt.C,we.L=fe,fe.U=we,we!==de?(Et=we.U,we.U=mt.U,mt=we.R,Et.L=mt,we.R=de,de.U=we):(we.U=Et,Et=we,mt=we.R)):(Ve=mt.C,mt=we),mt&&(mt.U=Et),!Ve){if(mt&&mt.C){mt.C=!1;return}do{if(mt===this._)break;if(mt===Et.L){if(Jt=Et.R,Jt.C&&(Jt.C=!1,Et.C=!0,gs(this,Et),Jt=Et.R),Jt.L&&Jt.L.C||Jt.R&&Jt.R.C){(!Jt.R||!Jt.R.C)&&(Jt.L.C=!1,Jt.C=!0,zs(this,Jt),Jt=Et.R),Jt.C=Et.C,Et.C=Jt.R.C=!1,gs(this,Et),mt=this._;break}}else if(Jt=Et.L,Jt.C&&(Jt.C=!1,Et.C=!0,zs(this,Et),Jt=Et.L),Jt.L&&Jt.L.C||Jt.R&&Jt.R.C){(!Jt.L||!Jt.L.C)&&(Jt.R.C=!1,Jt.C=!0,gs(this,Jt),Jt=Et.L),Jt.C=Et.C,Et.C=Jt.L.C=!1,zs(this,Et),mt=this._;break}Jt.C=!0,mt=Et,Et=Et.U}while(!mt.C);mt&&(mt.C=!1)}}};function gs(mt,Et){var Jt=Et,fe=Et.R,de=Jt.U;de?de.L===Jt?de.L=fe:de.R=fe:mt._=fe,fe.U=de,Jt.U=fe,Jt.R=fe.L,Jt.R&&(Jt.R.U=Jt),fe.L=Jt}function zs(mt,Et){var Jt=Et,fe=Et.L,de=Jt.U;de?de.L===Jt?de.L=fe:de.R=fe:mt._=fe,fe.U=de,Jt.U=fe,Jt.L=fe.R,Jt.L&&(Jt.L.U=Jt),fe.R=Jt}function Ds(mt){for(;mt.L;)mt=mt.L;return mt}function Ll(mt,Et){var Jt=mt.sort(Iu).pop(),fe,de,we;for(Xa=[],Zo=new Array(mt.length),Bo=new bl,fo=new bl;;)if(we=Ka,Jt&&(!we||Jt.y<we.y||Jt.y===we.y&&Jt.x<we.x))(Jt.x!==fe||Jt.y!==de)&&(Zo[Jt.i]=new ko(Jt),To(Jt),fe=Jt.x,de=Jt.y),Jt=mt.pop();else if(we)Is(we.arc);else break;Et&&(la(Et),Os(Et));var Ve={cells:Zo,edges:Xa};return Bo=fo=Xa=Zo=null,Ve}function Iu(mt,Et){return Et.y-mt.y||Et.x-mt.x}u.geom.voronoi=function(mt){var Et=fa,Jt=Ta,fe=Et,de=Jt,we=du;if(mt)return Ve(mt);function Ve(or){var Ir=new Array(or.length),Ar=we[0][0],Yr=we[0][1],an=we[1][0],on=we[1][1];return Ll(Ne(or),we).cells.forEach(function(ei,fn){var zn=ei.edges,Un=ei.site,Jn=Ir[fn]=zn.length?zn.map(function(si){var bn=si.start();return[bn.x,bn.y]}):Un.x>=Ar&&Un.x<=an&&Un.y>=Yr&&Un.y<=on?[[Ar,on],[an,on],[an,Yr],[Ar,Yr]]:[];Jn.point=or[fn]}),Ir}function Ne(or){return or.map(function(Ir,Ar){return{x:Math.round(fe(Ir,Ar)/Gt)*Gt,y:Math.round(de(Ir,Ar)/Gt)*Gt,i:Ar}})}return Ve.links=function(or){return Ll(Ne(or)).edges.filter(function(Ir){return Ir.l&&Ir.r}).map(function(Ir){return{source:or[Ir.l.i],target:or[Ir.r.i]}})},Ve.triangles=function(or){var Ir=[];return Ll(Ne(or)).cells.forEach(function(Ar,Yr){for(var an=Ar.site,on=Ar.edges.sort(Ba),ei=-1,fn=on.length,zn,Un=on[fn-1].edge,Jn=Un.l===an?Un.r:Un.l;++ei<fn;)zn=Jn,Un=on[ei].edge,Jn=Un.l===an?Un.r:Un.l,Yr<zn.i&&Yr<Jn.i&&bu(an,zn,Jn)<0&&Ir.push([or[Yr],or[zn.i],or[Jn.i]])}),Ir},Ve.x=function(or){return arguments.length?(fe=pe(Et=or),Ve):Et},Ve.y=function(or){return arguments.length?(de=pe(Jt=or),Ve):Jt},Ve.clipExtent=function(or){return arguments.length?(we=or??du,Ve):we===du?null:we},Ve.size=function(or){return arguments.length?Ve.clipExtent(or&&[[0,0],or]):we===du?null:we&&we[1]},Ve};var du=[[-1e6,-1e6],[1e6,1e6]];function bu(mt,Et,Jt){return(mt.x-Jt.x)*(Et.y-mt.y)-(mt.x-Et.x)*(Jt.y-mt.y)}u.geom.delaunay=function(mt){return u.geom.voronoi().triangles(mt)},u.geom.quadtree=function(mt,Et,Jt,fe,de){var we=fa,Ve=Ta,Ne;if(Ne=arguments.length)return we=Gc,Ve=Rc,Ne===3&&(de=Jt,fe=Et,Jt=Et=0),or(mt);function or(Ir){var Ar,Yr=pe(we),an=pe(Ve),on,ei,fn,zn,Un,Jn,si,bn;if(Et!=null)Un=Et,Jn=Jt,si=fe,bn=de;else if(si=bn=-(Un=Jn=1/0),on=[],ei=[],zn=Ir.length,Ne)for(fn=0;fn<zn;++fn)Ar=Ir[fn],Ar.x<Un&&(Un=Ar.x),Ar.y<Jn&&(Jn=Ar.y),Ar.x>si&&(si=Ar.x),Ar.y>bn&&(bn=Ar.y),on.push(Ar.x),ei.push(Ar.y);else for(fn=0;fn<zn;++fn){var Gi=+Yr(Ar=Ir[fn],fn),Hi=+an(Ar,fn);Gi<Un&&(Un=Gi),Hi<Jn&&(Jn=Hi),Gi>si&&(si=Gi),Hi>bn&&(bn=Hi),on.push(Gi),ei.push(Hi)}var aa=si-Un,ya=bn-Jn;aa>ya?bn=Jn+aa:si=Un+ya;function Ma(za,to,us,Tl,Ys,pa,Eo,Vo){if(!(isNaN(us)||isNaN(Tl)))if(za.leaf){var Us=za.x,Ls=za.y;if(Us!=null)if(l(Us-us)+l(Ls-Tl)<.01)La(za,to,us,Tl,Ys,pa,Eo,Vo);else{var yu=za.point;za.x=za.y=za.point=null,La(za,yu,Us,Ls,Ys,pa,Eo,Vo),La(za,to,us,Tl,Ys,pa,Eo,Vo)}else za.x=us,za.y=Tl,za.point=to}else La(za,to,us,Tl,Ys,pa,Eo,Vo)}function La(za,to,us,Tl,Ys,pa,Eo,Vo){var Us=(Ys+Eo)*.5,Ls=(pa+Vo)*.5,yu=us>=Us,_s=Tl>=Ls,Rs=_s<<1|yu;za.leaf=!1,za=za.nodes[Rs]||(za.nodes[Rs]=vs()),yu?Ys=Us:Eo=Us,_s?pa=Ls:Vo=Ls,Ma(za,to,us,Tl,Ys,pa,Eo,Vo)}var Ho=vs();if(Ho.add=function(za){Ma(Ho,za,+Yr(za,++fn),+an(za,fn),Un,Jn,si,bn)},Ho.visit=function(za){ru(za,Ho,Un,Jn,si,bn)},Ho.find=function(za){return Hc(Ho,za[0],za[1],Un,Jn,si,bn)},fn=-1,Et==null){for(;++fn<zn;)Ma(Ho,Ir[fn],on[fn],ei[fn],Un,Jn,si,bn);--fn}else Ir.forEach(Ho.add);return on=ei=Ir=Ar=null,Ho}return or.x=function(Ir){return arguments.length?(we=Ir,or):we},or.y=function(Ir){return arguments.length?(Ve=Ir,or):Ve},or.extent=function(Ir){return arguments.length?(Ir==null?Et=Jt=fe=de=null:(Et=+Ir[0][0],Jt=+Ir[0][1],fe=+Ir[1][0],de=+Ir[1][1]),or):Et==null?null:[[Et,Jt],[fe,de]]},or.size=function(Ir){return arguments.length?(Ir==null?Et=Jt=fe=de=null:(Et=Jt=0,fe=+Ir[0],de=+Ir[1]),or):Et==null?null:[fe-Et,de-Jt]},or};function Gc(mt){return mt.x}function Rc(mt){return mt.y}function vs(){return{leaf:!0,nodes:[],point:null,x:null,y:null}}function ru(mt,Et,Jt,fe,de,we){if(!mt(Et,Jt,fe,de,we)){var Ve=(Jt+de)*.5,Ne=(fe+we)*.5,or=Et.nodes;or[0]&&ru(mt,or[0],Jt,fe,Ve,Ne),or[1]&&ru(mt,or[1],Ve,fe,de,Ne),or[2]&&ru(mt,or[2],Jt,Ne,Ve,we),or[3]&&ru(mt,or[3],Ve,Ne,de,we)}}function Hc(mt,Et,Jt,fe,de,we,Ve){var Ne=1/0,or;return(function Ir(Ar,Yr,an,on,ei){if(!(Yr>we||an>Ve||on<fe||ei<de)){if(fn=Ar.point){var fn,zn=Et-Ar.x,Un=Jt-Ar.y,Jn=zn*zn+Un*Un;if(Jn<Ne){var si=Math.sqrt(Ne=Jn);fe=Et-si,de=Jt-si,we=Et+si,Ve=Jt+si,or=fn}}for(var bn=Ar.nodes,Gi=(Yr+on)*.5,Hi=(an+ei)*.5,aa=Et>=Gi,ya=Jt>=Hi,Ma=ya<<1|aa,La=Ma+4;Ma<La;++Ma)if(Ar=bn[Ma&3])switch(Ma&3){case 0:Ir(Ar,Yr,an,Gi,Hi);break;case 1:Ir(Ar,Gi,an,on,Hi);break;case 2:Ir(Ar,Yr,Hi,Gi,ei);break;case 3:Ir(Ar,Gi,Hi,on,ei);break}}})(mt,fe,de,we,Ve),or}u.interpolateRgb=Dl;function Dl(mt,Et){mt=u.rgb(mt),Et=u.rgb(Et);var Jt=mt.r,fe=mt.g,de=mt.b,we=Et.r-Jt,Ve=Et.g-fe,Ne=Et.b-de;return function(or){return"#"+dr(Math.round(Jt+we*or))+dr(Math.round(fe+Ve*or))+dr(Math.round(de+Ne*or))}}u.interpolateObject=Cl;function Cl(mt,Et){var Jt={},fe={},de;for(de in mt)de in Et?Jt[de]=Uo(mt[de],Et[de]):fe[de]=mt[de];for(de in Et)de in mt||(fe[de]=Et[de]);return function(we){for(de in Jt)fe[de]=Jt[de](we);return fe}}u.interpolateNumber=Bl;function Bl(mt,Et){return mt=+mt,Et=+Et,function(Jt){return mt*(1-Jt)+Et*Jt}}u.interpolateString=wu;function wu(mt,Et){var Jt=qs.lastIndex=Il.lastIndex=0,fe,de,we,Ve=-1,Ne=[],or=[];for(mt=mt+"",Et=Et+"";(fe=qs.exec(mt))&&(de=Il.exec(Et));)(we=de.index)>Jt&&(we=Et.slice(Jt,we),Ne[Ve]?Ne[Ve]+=we:Ne[++Ve]=we),(fe=fe[0])===(de=de[0])?Ne[Ve]?Ne[Ve]+=de:Ne[++Ve]=de:(Ne[++Ve]=null,or.push({i:Ve,x:Bl(fe,de)})),Jt=Il.lastIndex;return Jt<Et.length&&(we=Et.slice(Jt),Ne[Ve]?Ne[Ve]+=we:Ne[++Ve]=we),Ne.length<2?or[0]?(Et=or[0].x,function(Ir){return Et(Ir)+""}):function(){return Et}:(Et=or.length,function(Ir){for(var Ar=0,Yr;Ar<Et;++Ar)Ne[(Yr=or[Ar]).i]=Yr.x(Ir);return Ne.join("")})}var qs=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Il=new RegExp(qs.source,"g");u.interpolate=Uo;function Uo(mt,Et){for(var Jt=u.interpolators.length,fe;--Jt>=0&&!(fe=u.interpolators[Jt](mt,Et)););return fe}u.interpolators=[function(mt,Et){var Jt=typeof Et;return(Jt==="string"?Pr.has(Et.toLowerCase())||/^(#|rgb\(|hsl\()/i.test(Et)?Dl:wu:Et instanceof Ln?Dl:Array.isArray(Et)?As:Jt==="object"&&isNaN(Et)?Cl:Bl)(mt,Et)}],u.interpolateArray=As;function As(mt,Et){var Jt=[],fe=[],de=mt.length,we=Et.length,Ve=Math.min(mt.length,Et.length),Ne;for(Ne=0;Ne<Ve;++Ne)Jt.push(Uo(mt[Ne],Et[Ne]));for(;Ne<de;++Ne)fe[Ne]=mt[Ne];for(;Ne<we;++Ne)fe[Ne]=Et[Ne];return function(or){for(Ne=0;Ne<Ve;++Ne)fe[Ne]=Jt[Ne](or);return fe}}var Vu=function(){return B},Kl=u.map({linear:Vu,poly:yc,quad:function(){return Fh},cubic:function(){return ps},sin:function(){return Tu},exp:function(){return Sl},circle:function(){return Yc},elastic:nc,back:Cc,bounce:function(){return Ol}}),rc=u.map({in:B,out:kh,"in-out":Fo,"out-in":function(mt){return Fo(kh(mt))}});u.ease=function(mt){var Et=mt.indexOf("-"),Jt=Et>=0?mt.slice(0,Et):mt,fe=Et>=0?mt.slice(Et+1):"in";return Jt=Kl.get(Jt)||Vu,fe=rc.get(fe)||B,Qs(fe(Jt.apply(null,d.call(arguments,1))))};function Qs(mt){return function(Et){return Et<=0?0:Et>=1?1:mt(Et)}}function kh(mt){return function(Et){return 1-mt(1-Et)}}function Fo(mt){return function(Et){return .5*(Et<.5?mt(2*Et):2-mt(2-2*Et))}}function Fh(mt){return mt*mt}function ps(mt){return mt*mt*mt}function ja(mt){if(mt<=0)return 0;if(mt>=1)return 1;var Et=mt*mt,Jt=Et*mt;return 4*(mt<.5?Jt:3*(mt-Et)+Jt-.75)}function yc(mt){return function(Et){return Math.pow(Et,mt)}}function Tu(mt){return 1-Math.cos(mt*qt)}function Sl(mt){return Math.pow(2,10*(mt-1))}function Yc(mt){return 1-Math.sqrt(1-mt*mt)}function nc(mt,Et){var Jt;return arguments.length<2&&(Et=.45),arguments.length?Jt=Et/yt*Math.asin(1/mt):(mt=1,Jt=Et/4),function(fe){return 1+mt*Math.pow(2,-10*fe)*Math.sin((fe-Jt)*yt/Et)}}function Cc(mt){return mt||(mt=1.70158),function(Et){return Et*Et*((mt+1)*Et-mt)}}function Ol(mt){return mt<1/2.75?7.5625*mt*mt:mt<2/2.75?7.5625*(mt-=1.5/2.75)*mt+.75:mt<2.5/2.75?7.5625*(mt-=2.25/2.75)*mt+.9375:7.5625*(mt-=2.625/2.75)*mt+.984375}u.interpolateHcl=ph;function ph(mt,Et){mt=u.hcl(mt),Et=u.hcl(Et);var Jt=mt.h,fe=mt.c,de=mt.l,we=Et.h-Jt,Ve=Et.c-fe,Ne=Et.l-de;return isNaN(Ve)&&(Ve=0,fe=isNaN(fe)?Et.c:fe),isNaN(we)?(we=0,Jt=isNaN(Jt)?Et.h:Jt):we>180?we-=360:we<-180&&(we+=360),function(or){return Xe(Jt+we*or,fe+Ve*or,de+Ne*or)+""}}u.interpolateHsl=Qc;function Qc(mt,Et){mt=u.hsl(mt),Et=u.hsl(Et);var Jt=mt.h,fe=mt.s,de=mt.l,we=Et.h-Jt,Ve=Et.s-fe,Ne=Et.l-de;return isNaN(Ve)&&(Ve=0,fe=isNaN(fe)?Et.s:fe),isNaN(we)?(we=0,Jt=isNaN(Jt)?Et.h:Jt):we>180?we-=360:we<-180&&(we+=360),function(or){return ii(Jt+we*or,fe+Ve*or,de+Ne*or)+""}}u.interpolateLab=Ic;function Ic(mt,Et){mt=u.lab(mt),Et=u.lab(Et);var Jt=mt.l,fe=mt.a,de=mt.b,we=Et.l-Jt,Ve=Et.a-fe,Ne=Et.b-de;return function(or){return Vn(Jt+we*or,fe+Ve*or,de+Ne*or)+""}}u.interpolateRound=ic;function ic(mt,Et){return Et-=mt,function(Jt){return Math.round(mt+Et*Jt)}}u.transform=function(mt){var Et=k.createElementNS(u.ns.prefix.svg,"g");return(u.transform=function(Jt){if(Jt!=null){Et.setAttribute("transform",Jt);var fe=Et.transform.baseVal.consolidate()}return new Xc(fe?fe.matrix:qu)})(mt)};function Xc(mt){var Et=[mt.a,mt.b],Jt=[mt.c,mt.d],fe=Mu(Et),de=Zc(Et,Jt),we=Mu(th(Jt,Et,-de))||0;Et[0]*Jt[1]<Jt[0]*Et[1]&&(Et[0]*=-1,Et[1]*=-1,fe*=-1,de*=-1),this.rotate=(fe?Math.atan2(Et[1],Et[0]):Math.atan2(-Jt[0],Jt[1]))*se,this.translate=[mt.e,mt.f],this.scale=[fe,we],this.skew=we?Math.atan2(de,we)*se:0}Xc.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};function Zc(mt,Et){return mt[0]*Et[0]+mt[1]*Et[1]}function Mu(mt){var Et=Math.sqrt(Zc(mt,mt));return Et&&(mt[0]/=Et,mt[1]/=Et),Et}function th(mt,Et,Jt){return mt[0]+=Jt*Et[0],mt[1]+=Jt*Et[1],mt}var qu={a:1,b:0,c:0,d:1,e:0,f:0};u.interpolateTransform=Dc;function Ou(mt){return mt.length?mt.pop()+",":""}function zl(mt,Et,Jt,fe){if(mt[0]!==Et[0]||mt[1]!==Et[1]){var de=Jt.push("translate(",null,",",null,")");fe.push({i:de-4,x:Bl(mt[0],Et[0])},{i:de-2,x:Bl(mt[1],Et[1])})}else(Et[0]||Et[1])&&Jt.push("translate("+Et+")")}function pc(mt,Et,Jt,fe){mt!==Et?(mt-Et>180?Et+=360:Et-mt>180&&(mt+=360),fe.push({i:Jt.push(Ou(Jt)+"rotate(",null,")")-2,x:Bl(mt,Et)})):Et&&Jt.push(Ou(Jt)+"rotate("+Et+")")}function Kc(mt,Et,Jt,fe){mt!==Et?fe.push({i:Jt.push(Ou(Jt)+"skewX(",null,")")-2,x:Bl(mt,Et)}):Et&&Jt.push(Ou(Jt)+"skewX("+Et+")")}function Ps(mt,Et,Jt,fe){if(mt[0]!==Et[0]||mt[1]!==Et[1]){var de=Jt.push(Ou(Jt)+"scale(",null,",",null,")");fe.push({i:de-4,x:Bl(mt[0],Et[0])},{i:de-2,x:Bl(mt[1],Et[1])})}else(Et[0]!==1||Et[1]!==1)&&Jt.push(Ou(Jt)+"scale("+Et+")")}function Dc(mt,Et){var Jt=[],fe=[];return mt=u.transform(mt),Et=u.transform(Et),zl(mt.translate,Et.translate,Jt,fe),pc(mt.rotate,Et.rotate,Jt,fe),Kc(mt.skew,Et.skew,Jt,fe),Ps(mt.scale,Et.scale,Jt,fe),mt=Et=null,function(de){for(var we=-1,Ve=fe.length,Ne;++we<Ve;)Jt[(Ne=fe[we]).i]=Ne.x(de);return Jt.join("")}}function Sh(mt,Et){return Et=(Et-=mt=+mt)||1/Et,function(Jt){return(Jt-mt)/Et}}function eh(mt,Et){return Et=(Et-=mt=+mt)||1/Et,function(Jt){return Math.max(0,Math.min(1,(Jt-mt)/Et))}}u.layout={},u.layout.bundle=function(){return function(mt){for(var Et=[],Jt=-1,fe=mt.length;++Jt<fe;)Et.push(Oc(mt[Jt]));return Et}};function Oc(mt){for(var Et=mt.source,Jt=mt.target,fe=nu(Et,Jt),de=[Et];Et!==fe;)Et=Et.parent,de.push(Et);for(var we=de.length;Jt!==fe;)de.splice(we,0,Jt),Jt=Jt.parent;return de}function rh(mt){for(var Et=[],Jt=mt.parent;Jt!=null;)Et.push(mt),mt=Jt,Jt=Jt.parent;return Et.push(mt),Et}function nu(mt,Et){if(mt===Et)return mt;for(var Jt=rh(mt),fe=rh(Et),de=Jt.pop(),we=fe.pop(),Ve=null;de===we;)Ve=de,de=Jt.pop(),we=fe.pop();return Ve}u.layout.chord=function(){var mt={},Et,Jt,fe,de,we=0,Ve,Ne,or;function Ir(){var Yr={},an=[],on=u.range(de),ei=[],fn,zn,Un,Jn,si;for(Et=[],Jt=[],fn=0,Jn=-1;++Jn<de;){for(zn=0,si=-1;++si<de;)zn+=fe[Jn][si];an.push(zn),ei.push(u.range(de)),fn+=zn}for(Ve&&on.sort(function(Ho,za){return Ve(an[Ho],an[za])}),Ne&&ei.forEach(function(Ho,za){Ho.sort(function(to,us){return Ne(fe[za][to],fe[za][us])})}),fn=(yt-we*de)/fn,zn=0,Jn=-1;++Jn<de;){for(Un=zn,si=-1;++si<de;){var bn=on[Jn],Gi=ei[bn][si],Hi=fe[bn][Gi],aa=zn,ya=zn+=Hi*fn;Yr[bn+"-"+Gi]={index:bn,subindex:Gi,startAngle:aa,endAngle:ya,value:Hi}}Jt[bn]={index:bn,startAngle:Un,endAngle:zn,value:an[bn]},zn+=we}for(Jn=-1;++Jn<de;)for(si=Jn-1;++si<de;){var Ma=Yr[Jn+"-"+si],La=Yr[si+"-"+Jn];(Ma.value||La.value)&&Et.push(Ma.value<La.value?{source:La,target:Ma}:{source:Ma,target:La})}or&&Ar()}function Ar(){Et.sort(function(Yr,an){return or((Yr.source.value+Yr.target.value)/2,(an.source.value+an.target.value)/2)})}return mt.matrix=function(Yr){return arguments.length?(de=(fe=Yr)&&fe.length,Et=Jt=null,mt):fe},mt.padding=function(Yr){return arguments.length?(we=Yr,Et=Jt=null,mt):we},mt.sortGroups=function(Yr){return arguments.length?(Ve=Yr,Et=Jt=null,mt):Ve},mt.sortSubgroups=function(Yr){return arguments.length?(Ne=Yr,Et=null,mt):Ne},mt.sortChords=function(Yr){return arguments.length?(or=Yr,Et&&Ar(),mt):or},mt.chords=function(){return Et||Ir(),Et},mt.groups=function(){return Jt||Ir(),Jt},mt},u.layout.force=function(){var mt={},Et=u.dispatch("start","tick","end"),Jt,fe=[1,1],de,we,Ve=.9,Ne=Gu,or=Zl,Ir=-30,Ar=au,Yr=.1,an=.64,on=[],ei=[],fn,zn,Un;function Jn(bn){return function(Gi,Hi,aa,ya){if(Gi.point!==bn){var Ma=Gi.cx-bn.x,La=Gi.cy-bn.y,Ho=ya-Hi,za=Ma*Ma+La*La;if(Ho*Ho/an<za){if(za<Ar){var to=Gi.charge/za;bn.px-=Ma*to,bn.py-=La*to}return!0}if(Gi.point&&za&&za<Ar){var to=Gi.pointCharge/za;bn.px-=Ma*to,bn.py-=La*to}}return!Gi.charge}}mt.tick=function(){if((we*=.99)<.005)return Jt=null,Et.end({type:"end",alpha:we=0}),!0;var bn=on.length,Gi=ei.length,Hi,aa,ya,Ma,La,Ho,za,to,us;for(aa=0;aa<Gi;++aa)ya=ei[aa],Ma=ya.source,La=ya.target,to=La.x-Ma.x,us=La.y-Ma.y,(Ho=to*to+us*us)&&(Ho=we*zn[aa]*((Ho=Math.sqrt(Ho))-fn[aa])/Ho,to*=Ho,us*=Ho,La.x-=to*(za=Ma.weight+La.weight?Ma.weight/(Ma.weight+La.weight):.5),La.y-=us*za,Ma.x+=to*(za=1-za),Ma.y+=us*za);if((za=we*Yr)&&(to=fe[0]/2,us=fe[1]/2,aa=-1,za))for(;++aa<bn;)ya=on[aa],ya.x+=(to-ya.x)*za,ya.y+=(us-ya.y)*za;if(Ir)for(Gs(Hi=u.geom.quadtree(on),we,Un),aa=-1;++aa<bn;)(ya=on[aa]).fixed||Hi.visit(Jn(ya));for(aa=-1;++aa<bn;)ya=on[aa],ya.fixed?(ya.x=ya.px,ya.y=ya.py):(ya.x-=(ya.px-(ya.px=ya.x))*Ve,ya.y-=(ya.py-(ya.py=ya.y))*Ve);Et.tick({type:"tick",alpha:we})},mt.nodes=function(bn){return arguments.length?(on=bn,mt):on},mt.links=function(bn){return arguments.length?(ei=bn,mt):ei},mt.size=function(bn){return arguments.length?(fe=bn,mt):fe},mt.linkDistance=function(bn){return arguments.length?(Ne=typeof bn=="function"?bn:+bn,mt):Ne},mt.distance=mt.linkDistance,mt.linkStrength=function(bn){return arguments.length?(or=typeof bn=="function"?bn:+bn,mt):or},mt.friction=function(bn){return arguments.length?(Ve=+bn,mt):Ve},mt.charge=function(bn){return arguments.length?(Ir=typeof bn=="function"?bn:+bn,mt):Ir},mt.chargeDistance=function(bn){return arguments.length?(Ar=bn*bn,mt):Math.sqrt(Ar)},mt.gravity=function(bn){return arguments.length?(Yr=+bn,mt):Yr},mt.theta=function(bn){return arguments.length?(an=bn*bn,mt):Math.sqrt(an)},mt.alpha=function(bn){return arguments.length?(bn=+bn,we?bn>0?we=bn:(Jt.c=null,Jt.t=NaN,Jt=null,Et.end({type:"end",alpha:we=0})):bn>0&&(Et.start({type:"start",alpha:we=bn}),Jt=ti(mt.tick)),mt):we},mt.start=function(){var bn,Gi=on.length,Hi=ei.length,aa=fe[0],ya=fe[1],Ma,La;for(bn=0;bn<Gi;++bn)(La=on[bn]).index=bn,La.weight=0;for(bn=0;bn<Hi;++bn)La=ei[bn],typeof La.source=="number"&&(La.source=on[La.source]),typeof La.target=="number"&&(La.target=on[La.target]),++La.source.weight,++La.target.weight;for(bn=0;bn<Gi;++bn)La=on[bn],isNaN(La.x)&&(La.x=Ho("x",aa)),isNaN(La.y)&&(La.y=Ho("y",ya)),isNaN(La.px)&&(La.px=La.x),isNaN(La.py)&&(La.py=La.y);if(fn=[],typeof Ne=="function")for(bn=0;bn<Hi;++bn)fn[bn]=+Ne.call(this,ei[bn],bn);else for(bn=0;bn<Hi;++bn)fn[bn]=Ne;if(zn=[],typeof or=="function")for(bn=0;bn<Hi;++bn)zn[bn]=+or.call(this,ei[bn],bn);else for(bn=0;bn<Hi;++bn)zn[bn]=or;if(Un=[],typeof Ir=="function")for(bn=0;bn<Gi;++bn)Un[bn]=+Ir.call(this,on[bn],bn);else for(bn=0;bn<Gi;++bn)Un[bn]=Ir;function Ho(za,to){if(!Ma){for(Ma=new Array(Gi),Ys=0;Ys<Gi;++Ys)Ma[Ys]=[];for(Ys=0;Ys<Hi;++Ys){var us=ei[Ys];Ma[us.source.index].push(us.target),Ma[us.target.index].push(us.source)}}for(var Tl=Ma[bn],Ys=-1,pa=Tl.length,Eo;++Ys<pa;)if(!isNaN(Eo=Tl[Ys][za]))return Eo;return Math.random()*to}return mt.resume()},mt.resume=function(){return mt.alpha(.1)},mt.stop=function(){return mt.alpha(0)},mt.drag=function(){if(de||(de=u.behavior.drag().origin(B).on("dragstart.force",nh).on("drag.force",si).on("dragend.force",ul)),!arguments.length)return de;this.on("mouseover.force",iu).on("mouseout.force",ac).call(de)};function si(bn){bn.px=u.event.x,bn.py=u.event.y,mt.resume()}return u.rebind(mt,Et,"on")};function nh(mt){mt.fixed|=2}function ul(mt){mt.fixed&=-7}function iu(mt){mt.fixed|=4,mt.px=mt.x,mt.py=mt.y}function ac(mt){mt.fixed&=-5}function Gs(mt,Et,Jt){var fe=0,de=0;if(mt.charge=0,!mt.leaf)for(var we=mt.nodes,Ve=we.length,Ne=-1,or;++Ne<Ve;)or=we[Ne],or!=null&&(Gs(or,Et,Jt),mt.charge+=or.charge,fe+=or.charge*or.cx,de+=or.charge*or.cy);if(mt.point){mt.leaf||(mt.point.x+=Math.random()-.5,mt.point.y+=Math.random()-.5);var Ir=Et*Jt[mt.point.index];mt.charge+=mt.pointCharge=Ir,fe+=Ir*mt.point.x,de+=Ir*mt.point.y}mt.cx=fe/mt.charge,mt.cy=de/mt.charge}var Gu=20,Zl=1,au=1/0;u.layout.hierarchy=function(){var mt=Ah,Et=oc,Jt=Bc;function fe(de){var we=[de],Ve=[],Ne;for(de.depth=0;(Ne=we.pop())!=null;)if(Ve.push(Ne),(Ir=Et.call(fe,Ne,Ne.depth))&&(or=Ir.length)){for(var or,Ir,Ar;--or>=0;)we.push(Ar=Ir[or]),Ar.parent=Ne,Ar.depth=Ne.depth+1;Jt&&(Ne.value=0),Ne.children=Ir}else Jt&&(Ne.value=+Jt.call(fe,Ne,Ne.depth)||0),delete Ne.children;return zu(de,function(Yr){var an,on;mt&&(an=Yr.children)&&an.sort(mt),Jt&&(on=Yr.parent)&&(on.value+=Yr.value)}),Ve}return fe.sort=function(de){return arguments.length?(mt=de,fe):mt},fe.children=function(de){return arguments.length?(Et=de,fe):Et},fe.value=function(de){return arguments.length?(Jt=de,fe):Jt},fe.revalue=function(de){return Jt&&(xc(de,function(we){we.children&&(we.value=0)}),zu(de,function(we){var Ve;we.children||(we.value=+Jt.call(fe,we,we.depth)||0),(Ve=we.parent)&&(Ve.value+=we.value)})),de},fe};function tl(mt,Et){return u.rebind(mt,Et,"sort","children","value"),mt.nodes=mt,mt.links=Zh,mt}function xc(mt,Et){for(var Jt=[mt];(mt=Jt.pop())!=null;)if(Et(mt),(de=mt.children)&&(fe=de.length))for(var fe,de;--fe>=0;)Jt.push(de[fe])}function zu(mt,Et){for(var Jt=[mt],fe=[];(mt=Jt.pop())!=null;)if(fe.push(mt),(Ve=mt.children)&&(we=Ve.length))for(var de=-1,we,Ve;++de<we;)Jt.push(Ve[de]);for(;(mt=fe.pop())!=null;)Et(mt)}function oc(mt){return mt.children}function Bc(mt){return mt.value}function Ah(mt,Et){return Et.value-mt.value}function Zh(mt){return u.merge(mt.map(function(Et){return(Et.children||[]).map(function(Jt){return{source:Et,target:Jt}})}))}u.layout.partition=function(){var mt=u.layout.hierarchy(),Et=[1,1];function Jt(we,Ve,Ne,or){var Ir=we.children;if(we.x=Ve,we.y=we.depth*or,we.dx=Ne,we.dy=or,Ir&&(Yr=Ir.length)){var Ar=-1,Yr,an,on;for(Ne=we.value?Ne/we.value:0;++Ar<Yr;)Jt(an=Ir[Ar],Ve,on=an.value*Ne,or),Ve+=on}}function fe(we){var Ve=we.children,Ne=0;if(Ve&&(Ir=Ve.length))for(var or=-1,Ir;++or<Ir;)Ne=Math.max(Ne,fe(Ve[or]));return 1+Ne}function de(we,Ve){var Ne=mt.call(this,we,Ve);return Jt(Ne[0],0,Et[0],Et[1]/fe(Ne[0])),Ne}return de.size=function(we){return arguments.length?(Et=we,de):Et},tl(de,mt)},u.layout.pie=function(){var mt=Number,Et=_c,Jt=0,fe=yt,de=0;function we(Ve){var Ne=Ve.length,or=Ve.map(function(Jn,si){return+mt.call(we,Jn,si)}),Ir=+(typeof Jt=="function"?Jt.apply(this,arguments):Jt),Ar=(typeof fe=="function"?fe.apply(this,arguments):fe)-Ir,Yr=Math.min(Math.abs(Ar)/Ne,+(typeof de=="function"?de.apply(this,arguments):de)),an=Yr*(Ar<0?-1:1),on=u.sum(or),ei=on?(Ar-Ne*an)/on:0,fn=u.range(Ne),zn=[],Un;return Et!=null&&fn.sort(Et===_c?function(Jn,si){return or[si]-or[Jn]}:function(Jn,si){return Et(Ve[Jn],Ve[si])}),fn.forEach(function(Jn){zn[Jn]={data:Ve[Jn],value:Un=or[Jn],startAngle:Ir,endAngle:Ir+=Un*ei+an,padAngle:Yr}}),zn}return we.value=function(Ve){return arguments.length?(mt=Ve,we):mt},we.sort=function(Ve){return arguments.length?(Et=Ve,we):Et},we.startAngle=function(Ve){return arguments.length?(Jt=Ve,we):Jt},we.endAngle=function(Ve){return arguments.length?(fe=Ve,we):fe},we.padAngle=function(Ve){return arguments.length?(de=Ve,we):de},we};var _c={};u.layout.stack=function(){var mt=B,Et=jc,Jt=Pu,fe=bc,de=Fc,we=Xl;function Ve(Ne,or){if(!(ei=Ne.length))return Ne;var Ir=Ne.map(function(Jn,si){return mt.call(Ve,Jn,si)}),Ar=Ir.map(function(Jn){return Jn.map(function(si,bn){return[de.call(Ve,si,bn),we.call(Ve,si,bn)]})}),Yr=Et.call(Ve,Ar,or);Ir=u.permute(Ir,Yr),Ar=u.permute(Ar,Yr);var an=Jt.call(Ve,Ar,or),on=Ir[0].length,ei,fn,zn,Un;for(zn=0;zn<on;++zn)for(fe.call(Ve,Ir[0][zn],Un=an[zn],Ar[0][zn][1]),fn=1;fn<ei;++fn)fe.call(Ve,Ir[fn][zn],Un+=Ar[fn-1][zn][1],Ar[fn][zn][1]);return Ne}return Ve.values=function(Ne){return arguments.length?(mt=Ne,Ve):mt},Ve.order=function(Ne){return arguments.length?(Et=typeof Ne=="function"?Ne:mu.get(Ne)||jc,Ve):Et},Ve.offset=function(Ne){return arguments.length?(Jt=typeof Ne=="function"?Ne:wc.get(Ne)||Pu,Ve):Jt},Ve.x=function(Ne){return arguments.length?(de=Ne,Ve):de},Ve.y=function(Ne){return arguments.length?(we=Ne,Ve):we},Ve.out=function(Ne){return arguments.length?(fe=Ne,Ve):fe},Ve};function Fc(mt){return mt.x}function Xl(mt){return mt.y}function bc(mt,Et,Jt){mt.y0=Et,mt.y=Jt}var mu=u.map({"inside-out":function(mt){var Et=mt.length,Jt,fe,de=mt.map(el),we=mt.map(Hu),Ve=u.range(Et).sort(function(Yr,an){return de[Yr]-de[an]}),Ne=0,or=0,Ir=[],Ar=[];for(Jt=0;Jt<Et;++Jt)fe=Ve[Jt],Ne<or?(Ne+=we[fe],Ir.push(fe)):(or+=we[fe],Ar.push(fe));return Ar.reverse().concat(Ir)},reverse:function(mt){return u.range(mt.length).reverse()},default:jc}),wc=u.map({silhouette:function(mt){var Et=mt.length,Jt=mt[0].length,fe=[],de=0,we,Ve,Ne,or=[];for(Ve=0;Ve<Jt;++Ve){for(we=0,Ne=0;we<Et;we++)Ne+=mt[we][Ve][1];Ne>de&&(de=Ne),fe.push(Ne)}for(Ve=0;Ve<Jt;++Ve)or[Ve]=(de-fe[Ve])/2;return or},wiggle:function(mt){var Et=mt.length,Jt=mt[0],fe=Jt.length,de,we,Ve,Ne,or,Ir,Ar,Yr,an,on=[];for(on[0]=Yr=an=0,we=1;we<fe;++we){for(de=0,Ne=0;de<Et;++de)Ne+=mt[de][we][1];for(de=0,or=0,Ar=Jt[we][0]-Jt[we-1][0];de<Et;++de){for(Ve=0,Ir=(mt[de][we][1]-mt[de][we-1][1])/(2*Ar);Ve<de;++Ve)Ir+=(mt[Ve][we][1]-mt[Ve][we-1][1])/Ar;or+=Ir*mt[de][we][1]}on[we]=Yr-=Ne?or/Ne*Ar:0,Yr<an&&(an=Yr)}for(we=0;we<fe;++we)on[we]-=an;return on},expand:function(mt){var Et=mt.length,Jt=mt[0].length,fe=1/Et,de,we,Ve,Ne=[];for(we=0;we<Jt;++we){for(de=0,Ve=0;de<Et;de++)Ve+=mt[de][we][1];if(Ve)for(de=0;de<Et;de++)mt[de][we][1]/=Ve;else for(de=0;de<Et;de++)mt[de][we][1]=fe}for(we=0;we<Jt;++we)Ne[we]=0;return Ne},zero:Pu});function jc(mt){return u.range(mt.length)}function Pu(mt){for(var Et=-1,Jt=mt[0].length,fe=[];++Et<Jt;)fe[Et]=0;return fe}function el(mt){for(var Et=1,Jt=0,fe=mt[0][1],de,we=mt.length;Et<we;++Et)(de=mt[Et][1])>fe&&(Jt=Et,fe=de);return Jt}function Hu(mt){return mt.reduce(ou,0)}function ou(mt,Et){return mt+Et[1]}u.layout.histogram=function(){var mt=!0,Et=Number,Jt=zc,fe=dh;function de(we,Ve){for(var Ne=[],or=we.map(Et,this),Ir=Jt.call(this,or,Ve),Ar=fe.call(this,Ir,or,Ve),Yr,Ve=-1,an=or.length,on=Ar.length-1,ei=mt?1:1/an,fn;++Ve<on;)Yr=Ne[Ve]=[],Yr.dx=Ar[Ve+1]-(Yr.x=Ar[Ve]),Yr.y=0;if(on>0)for(Ve=-1;++Ve<an;)fn=or[Ve],fn>=Ir[0]&&fn<=Ir[1]&&(Yr=Ne[u.bisect(Ar,fn,1,on)-1],Yr.y+=ei,Yr.push(we[Ve]));return Ne}return de.value=function(we){return arguments.length?(Et=we,de):Et},de.range=function(we){return arguments.length?(Jt=pe(we),de):Jt},de.bins=function(we){return arguments.length?(fe=typeof we=="number"?function(Ve){return $s(Ve,we)}:pe(we),de):fe},de.frequency=function(we){return arguments.length?(mt=!!we,de):mt},de};function dh(mt,Et){return $s(mt,Math.ceil(Math.log(Et.length)/Math.LN2+1))}function $s(mt,Et){for(var Jt=-1,fe=+mt[0],de=(mt[1]-fe)/Et,we=[];++Jt<=Et;)we[Jt]=de*Jt+fe;return we}function zc(mt){return[u.min(mt),u.max(mt)]}u.layout.pack=function(){var mt=u.layout.hierarchy().sort(sc),Et=0,Jt=[1,1],fe;function de(we,Ve){var Ne=mt.call(this,we,Ve),or=Ne[0],Ir=Jt[0],Ar=Jt[1],Yr=fe==null?Math.sqrt:typeof fe=="function"?fe:function(){return fe};if(or.x=or.y=0,zu(or,function(on){on.r=+Yr(on.value)}),zu(or,Pc),Et){var an=Et*(fe?1:Math.max(2*or.r/Ir,2*or.r/Ar))/2;zu(or,function(on){on.r+=an}),zu(or,Pc),zu(or,function(on){on.r-=an})}return ih(or,Ir/2,Ar/2,fe?1:1/Math.max(2*or.r/Ir,2*or.r/Ar)),Ne}return de.size=function(we){return arguments.length?(Jt=we,de):Jt},de.radius=function(we){return arguments.length?(fe=we==null||typeof we=="function"?we:+we,de):fe},de.padding=function(we){return arguments.length?(Et=+we,de):Et},tl(de,mt)};function sc(mt,Et){return mt.value-Et.value}function gu(mt,Et){var Jt=mt._pack_next;mt._pack_next=Et,Et._pack_prev=mt,Et._pack_next=Jt,Jt._pack_prev=Et}function dc(mt,Et){mt._pack_next=Et,Et._pack_prev=mt}function lc(mt,Et){var Jt=Et.x-mt.x,fe=Et.y-mt.y,de=mt.r+Et.r;return .999*de*de>Jt*Jt+fe*fe}function Pc(mt){if(!(Et=mt.children)||!(an=Et.length))return;var Et,Jt=1/0,fe=-1/0,de=1/0,we=-1/0,Ve,Ne,or,Ir,Ar,Yr,an;function on(bn){Jt=Math.min(bn.x-bn.r,Jt),fe=Math.max(bn.x+bn.r,fe),de=Math.min(bn.y-bn.r,de),we=Math.max(bn.y+bn.r,we)}if(Et.forEach(Eh),Ve=Et[0],Ve.x=-Ve.r,Ve.y=0,on(Ve),an>1&&(Ne=Et[1],Ne.x=Ne.r,Ne.y=0,on(Ne),an>2))for(or=Et[2],vu(Ve,Ne,or),on(or),gu(Ve,or),Ve._pack_prev=or,gu(or,Ne),Ne=Ve._pack_next,Ir=3;Ir<an;Ir++){vu(Ve,Ne,or=Et[Ir]);var ei=0,fn=1,zn=1;for(Ar=Ne._pack_next;Ar!==Ne;Ar=Ar._pack_next,fn++)if(lc(Ar,or)){ei=1;break}if(ei==1)for(Yr=Ve._pack_prev;Yr!==Ar._pack_prev&&!lc(Yr,or);Yr=Yr._pack_prev,zn++);ei?(fn<zn||fn==zn&&Ne.r<Ve.r?dc(Ve,Ne=Ar):dc(Ve=Yr,Ne),Ir--):(gu(Ve,or),Ne=or,on(or))}var Un=(Jt+fe)/2,Jn=(de+we)/2,si=0;for(Ir=0;Ir<an;Ir++)or=Et[Ir],or.x-=Un,or.y-=Jn,si=Math.max(si,or.r+Math.sqrt(or.x*or.x+or.y*or.y));mt.r=si,Et.forEach(Nl)}function Eh(mt){mt._pack_next=mt._pack_prev=mt}function Nl(mt){delete mt._pack_next,delete mt._pack_prev}function ih(mt,Et,Jt,fe){var de=mt.children;if(mt.x=Et+=fe*mt.x,mt.y=Jt+=fe*mt.y,mt.r*=fe,de)for(var we=-1,Ve=de.length;++we<Ve;)ih(de[we],Et,Jt,fe)}function vu(mt,Et,Jt){var fe=mt.r+Jt.r,de=Et.x-mt.x,we=Et.y-mt.y;if(fe&&(de||we)){var Ve=Et.r+Jt.r,Ne=de*de+we*we;Ve*=Ve,fe*=fe;var or=.5+(fe-Ve)/(2*Ne),Ir=Math.sqrt(Math.max(0,2*Ve*(fe+Ne)-(fe-=Ne)*fe-Ve*Ve))/(2*Ne);Jt.x=mt.x+or*de+Ir*we,Jt.y=mt.y+or*we-Ir*de}else Jt.x=mt.x+fe,Jt.y=mt.y}u.layout.tree=function(){var mt=u.layout.hierarchy().sort(null).value(null),Et=Yu,Jt=[1,1],fe=null;function de(Ar,Yr){var an=mt.call(this,Ar,Yr),on=an[0],ei=we(on);if(zu(ei,Ve),ei.parent.m=-ei.z,xc(ei,Ne),fe)xc(on,Ir);else{var fn=on,zn=on,Un=on;xc(on,function(Gi){Gi.x<fn.x&&(fn=Gi),Gi.x>zn.x&&(zn=Gi),Gi.depth>Un.depth&&(Un=Gi)});var Jn=Et(fn,zn)/2-fn.x,si=Jt[0]/(zn.x+Et(zn,fn)/2+Jn),bn=Jt[1]/(Un.depth||1);xc(on,function(Gi){Gi.x=(Gi.x+Jn)*si,Gi.y=Gi.depth*bn})}return an}function we(Ar){for(var Yr={A:null,children:[Ar]},an=[Yr],on;(on=an.pop())!=null;)for(var ei=on.children,fn,zn=0,Un=ei.length;zn<Un;++zn)an.push((ei[zn]=fn={_:ei[zn],parent:on,children:(fn=ei[zn].children)&&fn.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:zn}).a=fn);return Yr.children[0]}function Ve(Ar){var Yr=Ar.children,an=Ar.parent.children,on=Ar.i?an[Ar.i-1]:null;if(Yr.length){Du(Ar);var ei=(Yr[0].z+Yr[Yr.length-1].z)/2;on?(Ar.z=on.z+Et(Ar._,on._),Ar.m=Ar.z-ei):Ar.z=ei}else on&&(Ar.z=on.z+Et(Ar._,on._));Ar.parent.A=or(Ar,on,Ar.parent.A||an[0])}function Ne(Ar){Ar._.x=Ar.z+Ar.parent.m,Ar.m+=Ar.parent.m}function or(Ar,Yr,an){if(Yr){for(var on=Ar,ei=Ar,fn=Yr,zn=on.parent.children[0],Un=on.m,Jn=ei.m,si=fn.m,bn=zn.m,Gi;fn=dl(fn),on=Ru(on),fn&&on;)zn=Ru(zn),ei=dl(ei),ei.a=Ar,Gi=fn.z+si-on.z-Un+Et(fn._,on._),Gi>0&&(Bs(Tc(fn,Ar,an),Ar,Gi),Un+=Gi,Jn+=Gi),si+=fn.m,Un+=on.m,bn+=zn.m,Jn+=ei.m;fn&&!dl(ei)&&(ei.t=fn,ei.m+=si-Jn),on&&!Ru(zn)&&(zn.t=on,zn.m+=Un-bn,an=Ar)}return an}function Ir(Ar){Ar.x*=Jt[0],Ar.y=Ar.depth*Jt[1]}return de.separation=function(Ar){return arguments.length?(Et=Ar,de):Et},de.size=function(Ar){return arguments.length?(fe=(Jt=Ar)==null?Ir:null,de):fe?null:Jt},de.nodeSize=function(Ar){return arguments.length?(fe=(Jt=Ar)==null?null:Ir,de):fe?Jt:null},tl(de,mt)};function Yu(mt,Et){return mt.parent==Et.parent?1:2}function Ru(mt){var Et=mt.children;return Et.length?Et[0]:mt.t}function dl(mt){var Et=mt.children,Jt;return(Jt=Et.length)?Et[Jt-1]:mt.t}function Bs(mt,Et,Jt){var fe=Jt/(Et.i-mt.i);Et.c-=fe,Et.s+=Jt,mt.c+=fe,Et.z+=Jt,Et.m+=Jt}function Du(mt){for(var Et=0,Jt=0,fe=mt.children,de=fe.length,we;--de>=0;)we=fe[de],we.z+=Et,we.m+=Et,Et+=we.s+(Jt+=we.c)}function Tc(mt,Et,Jt){return mt.a.parent===Et.parent?mt.a:Jt}u.layout.cluster=function(){var mt=u.layout.hierarchy().sort(null).value(null),Et=Yu,Jt=[1,1],fe=!1;function de(we,Ve){var Ne=mt.call(this,we,Ve),or=Ne[0],Ir,Ar=0;zu(or,function(fn){var zn=fn.children;zn&&zn.length?(fn.x=Jc(zn),fn.y=Bu(zn)):(fn.x=Ir?Ar+=Et(fn,Ir):0,fn.y=0,Ir=fn)});var Yr=Je(or),an=yr(or),on=Yr.x-Et(Yr,an)/2,ei=an.x+Et(an,Yr)/2;return zu(or,fe?function(fn){fn.x=(fn.x-or.x)*Jt[0],fn.y=(or.y-fn.y)*Jt[1]}:function(fn){fn.x=(fn.x-on)/(ei-on)*Jt[0],fn.y=(1-(or.y?fn.y/or.y:1))*Jt[1]}),Ne}return de.separation=function(we){return arguments.length?(Et=we,de):Et},de.size=function(we){return arguments.length?(fe=(Jt=we)==null,de):fe?null:Jt},de.nodeSize=function(we){return arguments.length?(fe=(Jt=we)!=null,de):fe?Jt:null},tl(de,mt)};function Bu(mt){return 1+u.max(mt,function(Et){return Et.y})}function Jc(mt){return mt.reduce(function(Et,Jt){return Et+Jt.x},0)/mt.length}function Je(mt){var Et=mt.children;return Et&&Et.length?Je(Et[0]):mt}function yr(mt){var Et=mt.children,Jt;return Et&&(Jt=Et.length)?yr(Et[Jt-1]):mt}u.layout.treemap=function(){var mt=u.layout.hierarchy(),Et=Math.round,Jt=[1,1],fe=null,de=Zr,we=!1,Ve,Ne="squarify",or=.5*(1+Math.sqrt(5));function Ir(fn,zn){for(var Un=-1,Jn=fn.length,si,bn;++Un<Jn;)bn=(si=fn[Un]).value*(zn<0?0:zn),si.area=isNaN(bn)||bn<=0?0:bn}function Ar(fn){var zn=fn.children;if(zn&&zn.length){var Un=de(fn),Jn=[],si=zn.slice(),bn,Gi=1/0,Hi,aa=Ne==="slice"?Un.dx:Ne==="dice"?Un.dy:Ne==="slice-dice"?fn.depth&1?Un.dy:Un.dx:Math.min(Un.dx,Un.dy),ya;for(Ir(si,Un.dx*Un.dy/fn.value),Jn.area=0;(ya=si.length)>0;)Jn.push(bn=si[ya-1]),Jn.area+=bn.area,Ne!=="squarify"||(Hi=an(Jn,aa))<=Gi?(si.pop(),Gi=Hi):(Jn.area-=Jn.pop().area,on(Jn,aa,Un,!1),aa=Math.min(Un.dx,Un.dy),Jn.length=Jn.area=0,Gi=1/0);Jn.length&&(on(Jn,aa,Un,!0),Jn.length=Jn.area=0),zn.forEach(Ar)}}function Yr(fn){var zn=fn.children;if(zn&&zn.length){var Un=de(fn),Jn=zn.slice(),si,bn=[];for(Ir(Jn,Un.dx*Un.dy/fn.value),bn.area=0;si=Jn.pop();)bn.push(si),bn.area+=si.area,si.z!=null&&(on(bn,si.z?Un.dx:Un.dy,Un,!Jn.length),bn.length=bn.area=0);zn.forEach(Yr)}}function an(fn,zn){for(var Un=fn.area,Jn,si=0,bn=1/0,Gi=-1,Hi=fn.length;++Gi<Hi;)(Jn=fn[Gi].area)&&(Jn<bn&&(bn=Jn),Jn>si&&(si=Jn));return Un*=Un,zn*=zn,Un?Math.max(zn*si*or/Un,Un/(zn*bn*or)):1/0}function on(fn,zn,Un,Jn){var si=-1,bn=fn.length,Gi=Un.x,Hi=Un.y,aa=zn?Et(fn.area/zn):0,ya;if(zn==Un.dx){for((Jn||aa>Un.dy)&&(aa=Un.dy);++si<bn;)ya=fn[si],ya.x=Gi,ya.y=Hi,ya.dy=aa,Gi+=ya.dx=Math.min(Un.x+Un.dx-Gi,aa?Et(ya.area/aa):0);ya.z=!0,ya.dx+=Un.x+Un.dx-Gi,Un.y+=aa,Un.dy-=aa}else{for((Jn||aa>Un.dx)&&(aa=Un.dx);++si<bn;)ya=fn[si],ya.x=Gi,ya.y=Hi,ya.dx=aa,Hi+=ya.dy=Math.min(Un.y+Un.dy-Hi,aa?Et(ya.area/aa):0);ya.z=!1,ya.dy+=Un.y+Un.dy-Hi,Un.x+=aa,Un.dx-=aa}}function ei(fn){var zn=Ve||mt(fn),Un=zn[0];return Un.x=Un.y=0,Un.value?(Un.dx=Jt[0],Un.dy=Jt[1]):Un.dx=Un.dy=0,Ve&&mt.revalue(Un),Ir([Un],Un.dx*Un.dy/Un.value),(Ve?Yr:Ar)(Un),we&&(Ve=zn),zn}return ei.size=function(fn){return arguments.length?(Jt=fn,ei):Jt},ei.padding=function(fn){if(!arguments.length)return fe;function zn(si){var bn=fn.call(ei,si,si.depth);return bn==null?Zr(si):Fr(si,typeof bn=="number"?[bn,bn,bn,bn]:bn)}function Un(si){return Fr(si,fn)}var Jn;return de=(fe=fn)==null?Zr:(Jn=typeof fn)=="function"?zn:(Jn==="number"&&(fn=[fn,fn,fn,fn]),Un),ei},ei.round=function(fn){return arguments.length?(Et=fn?Math.round:Number,ei):Et!=Number},ei.sticky=function(fn){return arguments.length?(we=fn,Ve=null,ei):we},ei.ratio=function(fn){return arguments.length?(or=fn,ei):or},ei.mode=function(fn){return arguments.length?(Ne=fn+"",ei):Ne},tl(ei,mt)};function Zr(mt){return{x:mt.x,y:mt.y,dx:mt.dx,dy:mt.dy}}function Fr(mt,Et){var Jt=mt.x+Et[3],fe=mt.y+Et[0],de=mt.dx-Et[1]-Et[3],we=mt.dy-Et[0]-Et[2];return de<0&&(Jt+=de/2,de=0),we<0&&(fe+=we/2,we=0),{x:Jt,y:fe,dx:de,dy:we}}u.random={normal:function(mt,Et){var Jt=arguments.length;return Jt<2&&(Et=1),Jt<1&&(mt=0),function(){var fe,de,we;do fe=Math.random()*2-1,de=Math.random()*2-1,we=fe*fe+de*de;while(!we||we>1);return mt+Et*fe*Math.sqrt(-2*Math.log(we)/we)}},logNormal:function(){var mt=u.random.normal.apply(u,arguments);return function(){return Math.exp(mt())}},bates:function(mt){var Et=u.random.irwinHall(mt);return function(){return Et()/mt}},irwinHall:function(mt){return function(){for(var Et=0,Jt=0;Jt<mt;Jt++)Et+=Math.random();return Et}}},u.scale={};function gn(mt){var Et=mt[0],Jt=mt[mt.length-1];return Et<Jt?[Et,Jt]:[Jt,Et]}function Rn(mt){return mt.rangeExtent?mt.rangeExtent():gn(mt.range())}function pi(mt,Et,Jt,fe){var de=Jt(mt[0],mt[1]),we=fe(Et[0],Et[1]);return function(Ve){return we(de(Ve))}}function Si(mt,Et){var Jt=0,fe=mt.length-1,de=mt[Jt],we=mt[fe],Ve;return we<de&&(Ve=Jt,Jt=fe,fe=Ve,Ve=de,de=we,we=Ve),mt[Jt]=Et.floor(de),mt[fe]=Et.ceil(we),mt}function Ui(mt){return mt?{floor:function(Et){return Math.floor(Et/mt)*mt},ceil:function(Et){return Math.ceil(Et/mt)*mt}}:Ji}var Ji={floor:B,ceil:B};function yi(mt,Et,Jt,fe){var de=[],we=[],Ve=0,Ne=Math.min(mt.length,Et.length)-1;for(mt[Ne]<mt[0]&&(mt=mt.slice().reverse(),Et=Et.slice().reverse());++Ve<=Ne;)de.push(Jt(mt[Ve-1],mt[Ve])),we.push(fe(Et[Ve-1],Et[Ve]));return function(or){var Ir=u.bisect(mt,or,1,Ne)-1;return we[Ir](de[Ir](or))}}u.scale.linear=function(){return Bi([0,1],[0,1],Uo,!1)};function Bi(mt,Et,Jt,fe){var de,we;function Ve(){var or=Math.min(mt.length,Et.length)>2?yi:pi,Ir=fe?eh:Sh;return de=or(mt,Et,Ir,Jt),we=or(Et,mt,Ir,Uo),Ne}function Ne(or){return de(or)}return Ne.invert=function(or){return we(or)},Ne.domain=function(or){return arguments.length?(mt=or.map(Number),Ve()):mt},Ne.range=function(or){return arguments.length?(Et=or,Ve()):Et},Ne.rangeRound=function(or){return Ne.range(or).interpolate(ic)},Ne.clamp=function(or){return arguments.length?(fe=or,Ve()):fe},Ne.interpolate=function(or){return arguments.length?(Jt=or,Ve()):Jt},Ne.ticks=function(or){return Ha(mt,or)},Ne.tickFormat=function(or,Ir){return d3_scale_linearTickFormat(mt,or,Ir)},Ne.nice=function(or){return fi(mt,or),Ve()},Ne.copy=function(){return Bi(mt,Et,Jt,fe)},Ve()}function Li(mt,Et){return u.rebind(mt,Et,"range","rangeRound","interpolate","clamp")}function fi(mt,Et){return Si(mt,Ui(ia(mt,Et)[2])),Si(mt,Ui(ia(mt,Et)[2])),mt}function ia(mt,Et){Et==null&&(Et=10);var Jt=gn(mt),fe=Jt[1]-Jt[0],de=Math.pow(10,Math.floor(Math.log(fe/Et)/Math.LN10)),we=Et/fe*de;return we<=.15?de*=10:we<=.35?de*=5:we<=.75&&(de*=2),Jt[0]=Math.ceil(Jt[0]/de)*de,Jt[1]=Math.floor(Jt[1]/de)*de+de*.5,Jt[2]=de,Jt}function Ha(mt,Et){return u.range.apply(u,ia(mt,Et))}u.scale.log=function(){return Ra(u.scale.linear().domain([0,1]),10,!0,[1,10])};function Ra(mt,Et,Jt,fe){function de(Ne){return(Jt?Math.log(Ne<0?0:Ne):-Math.log(Ne>0?0:-Ne))/Math.log(Et)}function we(Ne){return Jt?Math.pow(Et,Ne):-Math.pow(Et,-Ne)}function Ve(Ne){return mt(de(Ne))}return Ve.invert=function(Ne){return we(mt.invert(Ne))},Ve.domain=function(Ne){return arguments.length?(Jt=Ne[0]>=0,mt.domain((fe=Ne.map(Number)).map(de)),Ve):fe},Ve.base=function(Ne){return arguments.length?(Et=+Ne,mt.domain(fe.map(de)),Ve):Et},Ve.nice=function(){var Ne=Si(fe.map(de),Jt?Math:Za);return mt.domain(Ne),fe=Ne.map(we),Ve},Ve.ticks=function(){var Ne=gn(fe),or=[],Ir=Ne[0],Ar=Ne[1],Yr=Math.floor(de(Ir)),an=Math.ceil(de(Ar)),on=Et%1?2:Et;if(isFinite(an-Yr)){if(Jt){for(;Yr<an;Yr++)for(var ei=1;ei<on;ei++)or.push(we(Yr)*ei);or.push(we(Yr))}else for(or.push(we(Yr));Yr++<an;)for(var ei=on-1;ei>0;ei--)or.push(we(Yr)*ei);for(Yr=0;or[Yr]<Ir;Yr++);for(an=or.length;or[an-1]>Ar;an--);or=or.slice(Yr,an)}return or},Ve.copy=function(){return Ra(mt.copy(),Et,Jt,fe)},Li(Ve,mt)}var Za={floor:function(mt){return-Math.ceil(-mt)},ceil:function(mt){return-Math.floor(-mt)}};u.scale.pow=function(){return Wa(u.scale.linear(),1,[0,1])};function Wa(mt,Et,Jt){var fe=oa(Et),de=oa(1/Et);function we(Ve){return mt(fe(Ve))}return we.invert=function(Ve){return de(mt.invert(Ve))},we.domain=function(Ve){return arguments.length?(mt.domain((Jt=Ve.map(Number)).map(fe)),we):Jt},we.ticks=function(Ve){return Ha(Jt,Ve)},we.tickFormat=function(Ve,Ne){return d3_scale_linearTickFormat(Jt,Ve,Ne)},we.nice=function(Ve){return we.domain(fi(Jt,Ve))},we.exponent=function(Ve){return arguments.length?(fe=oa(Et=Ve),de=oa(1/Et),mt.domain(Jt.map(fe)),we):Et},we.copy=function(){return Wa(mt.copy(),Et,Jt)},Li(we,mt)}function oa(mt){return function(Et){return Et<0?-Math.pow(-Et,mt):Math.pow(Et,mt)}}u.scale.sqrt=function(){return u.scale.pow().exponent(.5)},u.scale.ordinal=function(){return Xi([],{t:"range",a:[[]]})};function Xi(mt,Et){var Jt,fe,de;function we(Ne){return fe[((Jt.get(Ne)||(Et.t==="range"?Jt.set(Ne,mt.push(Ne)):NaN))-1)%fe.length]}function Ve(Ne,or){return u.range(mt.length).map(function(Ir){return Ne+or*Ir})}return we.domain=function(Ne){if(!arguments.length)return mt;mt=[],Jt=new E;for(var or=-1,Ir=Ne.length,Ar;++or<Ir;)Jt.has(Ar=Ne[or])||Jt.set(Ar,mt.push(Ar));return we[Et.t].apply(we,Et.a)},we.range=function(Ne){return arguments.length?(fe=Ne,de=0,Et={t:"range",a:arguments},we):fe},we.rangePoints=function(Ne,or){arguments.length<2&&(or=0);var Ir=Ne[0],Ar=Ne[1],Yr=mt.length<2?(Ir=(Ir+Ar)/2,0):(Ar-Ir)/(mt.length-1+or);return fe=Ve(Ir+Yr*or/2,Yr),de=0,Et={t:"rangePoints",a:arguments},we},we.rangeRoundPoints=function(Ne,or){arguments.length<2&&(or=0);var Ir=Ne[0],Ar=Ne[1],Yr=mt.length<2?(Ir=Ar=Math.round((Ir+Ar)/2),0):(Ar-Ir)/(mt.length-1+or)|0;return fe=Ve(Ir+Math.round(Yr*or/2+(Ar-Ir-(mt.length-1+or)*Yr)/2),Yr),de=0,Et={t:"rangeRoundPoints",a:arguments},we},we.rangeBands=function(Ne,or,Ir){arguments.length<2&&(or=0),arguments.length<3&&(Ir=or);var Ar=Ne[1]<Ne[0],Yr=Ne[Ar-0],an=Ne[1-Ar],on=(an-Yr)/(mt.length-or+2*Ir);return fe=Ve(Yr+on*Ir,on),Ar&&fe.reverse(),de=on*(1-or),Et={t:"rangeBands",a:arguments},we},we.rangeRoundBands=function(Ne,or,Ir){arguments.length<2&&(or=0),arguments.length<3&&(Ir=or);var Ar=Ne[1]<Ne[0],Yr=Ne[Ar-0],an=Ne[1-Ar],on=Math.floor((an-Yr)/(mt.length-or+2*Ir));return fe=Ve(Yr+Math.round((an-Yr-(mt.length-or)*on)/2),on),Ar&&fe.reverse(),de=Math.round(on*(1-or)),Et={t:"rangeRoundBands",a:arguments},we},we.rangeBand=function(){return de},we.rangeExtent=function(){return gn(Et.a[0])},we.copy=function(){return Xi(mt,Et)},we.domain(mt)}u.scale.category10=function(){return u.scale.ordinal().range(Qa)},u.scale.category20=function(){return u.scale.ordinal().range(jo)},u.scale.category20b=function(){return u.scale.ordinal().range(ds)},u.scale.category20c=function(){return u.scale.ordinal().range(js)};var Qa=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(ve),jo=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(ve),ds=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(ve),js=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(ve);u.scale.quantile=function(){return Ms([],[])};function Ms(mt,Et){var Jt;function fe(){var we=0,Ve=Et.length;for(Jt=[];++we<Ve;)Jt[we-1]=u.quantile(mt,we/Ve);return de}function de(we){if(!isNaN(we=+we))return Et[u.bisect(Jt,we)]}return de.domain=function(we){return arguments.length?(mt=we.map(c).filter(v).sort(s),fe()):mt},de.range=function(we){return arguments.length?(Et=we,fe()):Et},de.quantiles=function(){return Jt},de.invertExtent=function(we){return we=Et.indexOf(we),we<0?[NaN,NaN]:[we>0?Jt[we-1]:mt[0],we<Jt.length?Jt[we]:mt[mt.length-1]]},de.copy=function(){return Ms(mt,Et)},fe()}u.scale.quantize=function(){return Ns(0,1,[0,1])};function Ns(mt,Et,Jt){var fe,de;function we(Ne){return Jt[Math.max(0,Math.min(de,Math.floor(fe*(Ne-mt))))]}function Ve(){return fe=Jt.length/(Et-mt),de=Jt.length-1,we}return we.domain=function(Ne){return arguments.length?(mt=+Ne[0],Et=+Ne[Ne.length-1],Ve()):[mt,Et]},we.range=function(Ne){return arguments.length?(Jt=Ne,Ve()):Jt},we.invertExtent=function(Ne){return Ne=Jt.indexOf(Ne),Ne=Ne<0?NaN:Ne/fe+mt,[Ne,Ne+1/fe]},we.copy=function(){return Ns(mt,Et,Jt)},Ve()}u.scale.threshold=function(){return rs([.5],[0,1])};function rs(mt,Et){function Jt(fe){if(fe<=fe)return Et[u.bisect(mt,fe)]}return Jt.domain=function(fe){return arguments.length?(mt=fe,Jt):mt},Jt.range=function(fe){return arguments.length?(Et=fe,Jt):Et},Jt.invertExtent=function(fe){return fe=Et.indexOf(fe),[mt[fe-1],mt[fe]]},Jt.copy=function(){return rs(mt,Et)},Jt}u.scale.identity=function(){return yl([0,1])};function yl(mt){function Et(Jt){return+Jt}return Et.invert=Et,Et.domain=Et.range=function(Jt){return arguments.length?(mt=Jt.map(Et),Et):mt},Et.ticks=function(Jt){return Ha(mt,Jt)},Et.tickFormat=function(Jt,fe){return d3_scale_linearTickFormat(mt,Jt,fe)},Et.copy=function(){return yl(mt)},Et}u.svg={};function ll(){return 0}u.svg.arc=function(){var mt=ba,Et=co,Jt=ll,fe=Hs,de=Es,we=ys,Ve=Ul;function Ne(){var Ir=Math.max(0,+mt.apply(this,arguments)),Ar=Math.max(0,+Et.apply(this,arguments)),Yr=de.apply(this,arguments)-qt,an=we.apply(this,arguments)-qt,on=Math.abs(an-Yr),ei=Yr>an?0:1;if(Ar<Ir&&(fn=Ar,Ar=Ir,Ir=fn),on>=At)return or(Ar,ei)+(Ir?or(Ir,1-ei):"")+"Z";var fn,zn,Un,Jn,si=0,bn=0,Gi,Hi,aa,ya,Ma,La,Ho,za,to=[];if((Jn=(+Ve.apply(this,arguments)||0)/2)&&(Un=fe===Hs?Math.sqrt(Ir*Ir+Ar*Ar):+fe.apply(this,arguments),ei||(bn*=-1),Ar&&(bn=Ee(Un/Ar*Math.sin(Jn))),Ir&&(si=Ee(Un/Ir*Math.sin(Jn)))),Ar){Gi=Ar*Math.cos(Yr+bn),Hi=Ar*Math.sin(Yr+bn),aa=Ar*Math.cos(an-bn),ya=Ar*Math.sin(an-bn);var us=Math.abs(an-Yr-2*bn)<=lt?0:1;if(bn&&su(Gi,Hi,aa,ya)===ei^us){var Tl=(Yr+an)/2;Gi=Ar*Math.cos(Tl),Hi=Ar*Math.sin(Tl),aa=ya=null}}else Gi=Hi=0;if(Ir){Ma=Ir*Math.cos(an-si),La=Ir*Math.sin(an-si),Ho=Ir*Math.cos(Yr+si),za=Ir*Math.sin(Yr+si);var Ys=Math.abs(Yr-an+2*si)<=lt?0:1;if(si&&su(Ma,La,Ho,za)===1-ei^Ys){var pa=(Yr+an)/2;Ma=Ir*Math.cos(pa),La=Ir*Math.sin(pa),Ho=za=null}}else Ma=La=0;if(on>Gt&&(fn=Math.min(Math.abs(Ar-Ir)/2,+Jt.apply(this,arguments)))>.001){zn=Ir<Ar^ei?0:1;var Eo=fn,Vo=fn;if(on<lt){var Us=Ho==null?[Ma,La]:aa==null?[Gi,Hi]:Oa([Gi,Hi],[Ho,za],[aa,ya],[Ma,La]),Ls=Gi-Us[0],yu=Hi-Us[1],_s=aa-Us[0],Rs=ya-Us[1],Fu=1/Math.sin(Math.acos((Ls*_s+yu*Rs)/(Math.sqrt(Ls*Ls+yu*yu)*Math.sqrt(_s*_s+Rs*Rs)))/2),ae=Math.sqrt(Us[0]*Us[0]+Us[1]*Us[1]);Vo=Math.min(fn,(Ir-ae)/(Fu-1)),Eo=Math.min(fn,(Ar-ae)/(Fu+1))}if(aa!=null){var nr=Jl(Ho==null?[Ma,La]:[Ho,za],[Gi,Hi],Ar,Eo,ei),cr=Jl([aa,ya],[Ma,La],Ar,Eo,ei);fn===Eo?to.push("M",nr[0],"A",Eo,",",Eo," 0 0,",zn," ",nr[1],"A",Ar,",",Ar," 0 ",1-ei^su(nr[1][0],nr[1][1],cr[1][0],cr[1][1]),",",ei," ",cr[1],"A",Eo,",",Eo," 0 0,",zn," ",cr[0]):to.push("M",nr[0],"A",Eo,",",Eo," 0 1,",zn," ",cr[0])}else to.push("M",Gi,",",Hi);if(Ho!=null){var sn=Jl([Gi,Hi],[Ho,za],Ir,-Vo,ei),In=Jl([Ma,La],aa==null?[Gi,Hi]:[aa,ya],Ir,-Vo,ei);fn===Vo?to.push("L",In[0],"A",Vo,",",Vo," 0 0,",zn," ",In[1],"A",Ir,",",Ir," 0 ",ei^su(In[1][0],In[1][1],sn[1][0],sn[1][1]),",",1-ei," ",sn[1],"A",Vo,",",Vo," 0 0,",zn," ",sn[0]):to.push("L",In[0],"A",Vo,",",Vo," 0 0,",zn," ",sn[0])}else to.push("L",Ma,",",La)}else to.push("M",Gi,",",Hi),aa!=null&&to.push("A",Ar,",",Ar," 0 ",us,",",ei," ",aa,",",ya),to.push("L",Ma,",",La),Ho!=null&&to.push("A",Ir,",",Ir," 0 ",Ys,",",1-ei," ",Ho,",",za);return to.push("Z"),to.join("")}function or(Ir,Ar){return"M0,"+Ir+"A"+Ir+","+Ir+" 0 1,"+Ar+" 0,"+-Ir+"A"+Ir+","+Ir+" 0 1,"+Ar+" 0,"+Ir}return Ne.innerRadius=function(Ir){return arguments.length?(mt=pe(Ir),Ne):mt},Ne.outerRadius=function(Ir){return arguments.length?(Et=pe(Ir),Ne):Et},Ne.cornerRadius=function(Ir){return arguments.length?(Jt=pe(Ir),Ne):Jt},Ne.padRadius=function(Ir){return arguments.length?(fe=Ir==Hs?Hs:pe(Ir),Ne):fe},Ne.startAngle=function(Ir){return arguments.length?(de=pe(Ir),Ne):de},Ne.endAngle=function(Ir){return arguments.length?(we=pe(Ir),Ne):we},Ne.padAngle=function(Ir){return arguments.length?(Ve=pe(Ir),Ne):Ve},Ne.centroid=function(){var Ir=(+mt.apply(this,arguments)+ +Et.apply(this,arguments))/2,Ar=(+de.apply(this,arguments)+ +we.apply(this,arguments))/2-qt;return[Math.cos(Ar)*Ir,Math.sin(Ar)*Ir]},Ne};var Hs="auto";function ba(mt){return mt.innerRadius}function co(mt){return mt.outerRadius}function Es(mt){return mt.startAngle}function ys(mt){return mt.endAngle}function Ul(mt){return mt&&mt.padAngle}function su(mt,Et,Jt,fe){return(mt-Jt)*Et-(Et-fe)*mt>0?0:1}function Jl(mt,Et,Jt,fe,de){var we=mt[0]-Et[0],Ve=mt[1]-Et[1],Ne=(de?fe:-fe)/Math.sqrt(we*we+Ve*Ve),or=Ne*Ve,Ir=-Ne*we,Ar=mt[0]+or,Yr=mt[1]+Ir,an=Et[0]+or,on=Et[1]+Ir,ei=(Ar+an)/2,fn=(Yr+on)/2,zn=an-Ar,Un=on-Yr,Jn=zn*zn+Un*Un,si=Jt-fe,bn=Ar*on-an*Yr,Gi=(Un<0?-1:1)*Math.sqrt(Math.max(0,si*si*Jn-bn*bn)),Hi=(bn*Un-zn*Gi)/Jn,aa=(-bn*zn-Un*Gi)/Jn,ya=(bn*Un+zn*Gi)/Jn,Ma=(-bn*zn+Un*Gi)/Jn,La=Hi-ei,Ho=aa-fn,za=ya-ei,to=Ma-fn;return La*La+Ho*Ho>za*za+to*to&&(Hi=ya,aa=Ma),[[Hi-or,aa-Ir],[Hi*Jt/si,aa*Jt/si]]}function Xu(){return!0}function lu(mt){var Et=fa,Jt=Ta,fe=Xu,de=cl,we=de.key,Ve=.7;function Ne(or){var Ir=[],Ar=[],Yr=-1,an=or.length,on,ei=pe(Et),fn=pe(Jt);function zn(){Ir.push("M",de(mt(Ar),Ve))}for(;++Yr<an;)fe.call(this,on=or[Yr],Yr)?Ar.push([+ei.call(this,on,Yr),+fn.call(this,on,Yr)]):Ar.length&&(zn(),Ar=[]);return Ar.length&&zn(),Ir.length?Ir.join(""):null}return Ne.x=function(or){return arguments.length?(Et=or,Ne):Et},Ne.y=function(or){return arguments.length?(Jt=or,Ne):Jt},Ne.defined=function(or){return arguments.length?(fe=or,Ne):fe},Ne.interpolate=function(or){return arguments.length?(typeof or=="function"?we=de=or:we=(de=Zu.get(or)||cl).key,Ne):we},Ne.tension=function(or){return arguments.length?(Ve=or,Ne):Ve},Ne}u.svg.line=function(){return lu(B)};var Zu=u.map({linear:cl,"linear-closed":Ku,step:qa,"step-before":mo,"step-after":uu,basis:xt,"basis-open":Mt,"basis-closed":Ct,bundle:le,cardinal:zt,"cardinal-open":xl,"cardinal-closed":$c,monotone:Yt});Zu.forEach(function(mt,Et){Et.key=mt,Et.closed=/-closed$/.test(mt)});function cl(mt){return mt.length>1?mt.join("L"):mt+"Z"}function Ku(mt){return mt.join("L")+"Z"}function qa(mt){for(var Et=0,Jt=mt.length,fe=mt[0],de=[fe[0],",",fe[1]];++Et<Jt;)de.push("H",(fe[0]+(fe=mt[Et])[0])/2,"V",fe[1]);return Jt>1&&de.push("H",fe[0]),de.join("")}function mo(mt){for(var Et=0,Jt=mt.length,fe=mt[0],de=[fe[0],",",fe[1]];++Et<Jt;)de.push("V",(fe=mt[Et])[1],"H",fe[0]);return de.join("")}function uu(mt){for(var Et=0,Jt=mt.length,fe=mt[0],de=[fe[0],",",fe[1]];++Et<Jt;)de.push("H",(fe=mt[Et])[0],"V",fe[1]);return de.join("")}function xl(mt,Et){return mt.length<4?cl(mt):mt[1]+C(mt.slice(1,-1),it(mt,Et))}function $c(mt,Et){return mt.length<3?Ku(mt):mt[0]+C((mt.push(mt[0]),mt),it([mt[mt.length-2]].concat(mt,[mt[1]]),Et))}function zt(mt,Et){return mt.length<3?cl(mt):mt[0]+C(mt,it(mt,Et))}function C(mt,Et){if(Et.length<1||mt.length!=Et.length&&mt.length!=Et.length+2)return cl(mt);var Jt=mt.length!=Et.length,fe="",de=mt[0],we=mt[1],Ve=Et[0],Ne=Ve,or=1;if(Jt&&(fe+="Q"+(we[0]-Ve[0]*2/3)+","+(we[1]-Ve[1]*2/3)+","+we[0]+","+we[1],de=mt[1],or=2),Et.length>1){Ne=Et[1],we=mt[or],or++,fe+="C"+(de[0]+Ve[0])+","+(de[1]+Ve[1])+","+(we[0]-Ne[0])+","+(we[1]-Ne[1])+","+we[0]+","+we[1];for(var Ir=2;Ir<Et.length;Ir++,or++)we=mt[or],Ne=Et[Ir],fe+="S"+(we[0]-Ne[0])+","+(we[1]-Ne[1])+","+we[0]+","+we[1]}if(Jt){var Ar=mt[or];fe+="Q"+(we[0]+Ne[0]*2/3)+","+(we[1]+Ne[1]*2/3)+","+Ar[0]+","+Ar[1]}return fe}function it(mt,Et){for(var Jt=[],fe=(1-Et)/2,de,we=mt[0],Ve=mt[1],Ne=1,or=mt.length;++Ne<or;)de=we,we=Ve,Ve=mt[Ne],Jt.push([fe*(Ve[0]-de[0]),fe*(Ve[1]-de[1])]);return Jt}function xt(mt){if(mt.length<3)return cl(mt);var Et=1,Jt=mt.length,fe=mt[0],de=fe[0],we=fe[1],Ve=[de,de,de,(fe=mt[1])[0]],Ne=[we,we,we,fe[1]],or=[de,",",we,"L",xe(fr,Ve),",",xe(fr,Ne)];for(mt.push(mt[Jt-1]);++Et<=Jt;)fe=mt[Et],Ve.shift(),Ve.push(fe[0]),Ne.shift(),Ne.push(fe[1]),pr(or,Ve,Ne);return mt.pop(),or.push("L",fe),or.join("")}function Mt(mt){if(mt.length<4)return cl(mt);for(var Et=[],Jt=-1,fe=mt.length,de,we=[0],Ve=[0];++Jt<3;)de=mt[Jt],we.push(de[0]),Ve.push(de[1]);for(Et.push(xe(fr,we)+","+xe(fr,Ve)),--Jt;++Jt<fe;)de=mt[Jt],we.shift(),we.push(de[0]),Ve.shift(),Ve.push(de[1]),pr(Et,we,Ve);return Et.join("")}function Ct(mt){for(var Et,Jt=-1,fe=mt.length,de=fe+4,we,Ve=[],Ne=[];++Jt<4;)we=mt[Jt%fe],Ve.push(we[0]),Ne.push(we[1]);for(Et=[xe(fr,Ve),",",xe(fr,Ne)],--Jt;++Jt<de;)we=mt[Jt%fe],Ve.shift(),Ve.push(we[0]),Ne.shift(),Ne.push(we[1]),pr(Et,Ve,Ne);return Et.join("")}function le(mt,Et){var Jt=mt.length-1;if(Jt)for(var fe=mt[0][0],de=mt[0][1],we=mt[Jt][0]-fe,Ve=mt[Jt][1]-de,Ne=-1,or,Ir;++Ne<=Jt;)or=mt[Ne],Ir=Ne/Jt,or[0]=Et*or[0]+(1-Et)*(fe+Ir*we),or[1]=Et*or[1]+(1-Et)*(de+Ir*Ve);return xt(mt)}function xe(mt,Et){return mt[0]*Et[0]+mt[1]*Et[1]+mt[2]*Et[2]+mt[3]*Et[3]}var ze=[0,2/3,1/3,0],$e=[0,1/3,2/3,0],fr=[0,1/6,2/3,1/6];function pr(mt,Et,Jt){mt.push("C",xe(ze,Et),",",xe(ze,Jt),",",xe($e,Et),",",xe($e,Jt),",",xe(fr,Et),",",xe(fr,Jt))}function Br(mt,Et){return(Et[1]-mt[1])/(Et[0]-mt[0])}function Wr(mt){for(var Et=0,Jt=mt.length-1,fe=[],de=mt[0],we=mt[1],Ve=fe[0]=Br(de,we);++Et<Jt;)fe[Et]=(Ve+(Ve=Br(de=we,we=mt[Et+1])))/2;return fe[Et]=Ve,fe}function jt(mt){for(var Et=[],Jt,fe,de,we,Ve=Wr(mt),Ne=-1,or=mt.length-1;++Ne<or;)Jt=Br(mt[Ne],mt[Ne+1]),l(Jt)<Gt?Ve[Ne]=Ve[Ne+1]=0:(fe=Ve[Ne]/Jt,de=Ve[Ne+1]/Jt,we=fe*fe+de*de,we>9&&(we=Jt*3/Math.sqrt(we),Ve[Ne]=we*fe,Ve[Ne+1]=we*de));for(Ne=-1;++Ne<=or;)we=(mt[Math.min(or,Ne+1)][0]-mt[Math.max(0,Ne-1)][0])/(6*(1+Ve[Ne]*Ve[Ne])),Et.push([we||0,Ve[Ne]*we||0]);return Et}function Yt(mt){return mt.length<3?cl(mt):mt[0]+C(mt,jt(mt))}u.svg.line.radial=function(){var mt=lu(ie);return mt.radius=mt.x,delete mt.x,mt.angle=mt.y,delete mt.y,mt};function ie(mt){for(var Et,Jt=-1,fe=mt.length,de,we;++Jt<fe;)Et=mt[Jt],de=Et[0],we=Et[1]-qt,Et[0]=de*Math.cos(we),Et[1]=de*Math.sin(we);return mt}function ce(mt){var Et=fa,Jt=fa,fe=0,de=Ta,we=Xu,Ve=cl,Ne=Ve.key,or=Ve,Ir="L",Ar=.7;function Yr(an){var on=[],ei=[],fn=[],zn=-1,Un=an.length,Jn,si=pe(Et),bn=pe(fe),Gi=Et===Jt?function(){return aa}:pe(Jt),Hi=fe===de?function(){return ya}:pe(de),aa,ya;function Ma(){on.push("M",Ve(mt(fn),Ar),Ir,or(mt(ei.reverse()),Ar),"Z")}for(;++zn<Un;)we.call(this,Jn=an[zn],zn)?(ei.push([aa=+si.call(this,Jn,zn),ya=+bn.call(this,Jn,zn)]),fn.push([+Gi.call(this,Jn,zn),+Hi.call(this,Jn,zn)])):ei.length&&(Ma(),ei=[],fn=[]);return ei.length&&Ma(),on.length?on.join(""):null}return Yr.x=function(an){return arguments.length?(Et=Jt=an,Yr):Jt},Yr.x0=function(an){return arguments.length?(Et=an,Yr):Et},Yr.x1=function(an){return arguments.length?(Jt=an,Yr):Jt},Yr.y=function(an){return arguments.length?(fe=de=an,Yr):de},Yr.y0=function(an){return arguments.length?(fe=an,Yr):fe},Yr.y1=function(an){return arguments.length?(de=an,Yr):de},Yr.defined=function(an){return arguments.length?(we=an,Yr):we},Yr.interpolate=function(an){return arguments.length?(typeof an=="function"?Ne=Ve=an:Ne=(Ve=Zu.get(an)||cl).key,or=Ve.reverse||Ve,Ir=Ve.closed?"M":"L",Yr):Ne},Yr.tension=function(an){return arguments.length?(Ar=an,Yr):Ar},Yr}mo.reverse=uu,uu.reverse=mo,u.svg.area=function(){return ce(B)},u.svg.area.radial=function(){var mt=ce(ie);return mt.radius=mt.x,delete mt.x,mt.innerRadius=mt.x0,delete mt.x0,mt.outerRadius=mt.x1,delete mt.x1,mt.angle=mt.y,delete mt.y,mt.startAngle=mt.y0,delete mt.y0,mt.endAngle=mt.y1,delete mt.y1,mt};function Te(mt){return mt.source}function ye(mt){return mt.target}u.svg.chord=function(){var mt=Te,Et=ye,Jt=Le,fe=Es,de=ys;function we(Ar,Yr){var an=Ve(this,mt,Ar,Yr),on=Ve(this,Et,Ar,Yr);return"M"+an.p0+or(an.r,an.p1,an.a1-an.a0)+(Ne(an,on)?Ir(an.r,an.p1,an.r,an.p0):Ir(an.r,an.p1,on.r,on.p0)+or(on.r,on.p1,on.a1-on.a0)+Ir(on.r,on.p1,an.r,an.p0))+"Z"}function Ve(Ar,Yr,an,on){var ei=Yr.call(Ar,an,on),fn=Jt.call(Ar,ei,on),zn=fe.call(Ar,ei,on)-qt,Un=de.call(Ar,ei,on)-qt;return{r:fn,a0:zn,a1:Un,p0:[fn*Math.cos(zn),fn*Math.sin(zn)],p1:[fn*Math.cos(Un),fn*Math.sin(Un)]}}function Ne(Ar,Yr){return Ar.a0==Yr.a0&&Ar.a1==Yr.a1}function or(Ar,Yr,an){return"A"+Ar+","+Ar+" 0 "+ +(an>lt)+",1 "+Yr}function Ir(Ar,Yr,an,on){return"Q 0,0 "+on}return we.radius=function(Ar){return arguments.length?(Jt=pe(Ar),we):Jt},we.source=function(Ar){return arguments.length?(mt=pe(Ar),we):mt},we.target=function(Ar){return arguments.length?(Et=pe(Ar),we):Et},we.startAngle=function(Ar){return arguments.length?(fe=pe(Ar),we):fe},we.endAngle=function(Ar){return arguments.length?(de=pe(Ar),we):de},we};function Le(mt){return mt.radius}u.svg.diagonal=function(){var mt=Te,Et=ye,Jt=rr;function fe(de,we){var Ve=mt.call(this,de,we),Ne=Et.call(this,de,we),or=(Ve.y+Ne.y)/2,Ir=[Ve,{x:Ve.x,y:or},{x:Ne.x,y:or},Ne];return Ir=Ir.map(Jt),"M"+Ir[0]+"C"+Ir[1]+" "+Ir[2]+" "+Ir[3]}return fe.source=function(de){return arguments.length?(mt=pe(de),fe):mt},fe.target=function(de){return arguments.length?(Et=pe(de),fe):Et},fe.projection=function(de){return arguments.length?(Jt=de,fe):Jt},fe};function rr(mt){return[mt.x,mt.y]}u.svg.diagonal.radial=function(){var mt=u.svg.diagonal(),Et=rr,Jt=mt.projection;return mt.projection=function(fe){return arguments.length?Jt(hr(Et=fe)):Et},mt};function hr(mt){return function(){var Et=mt.apply(this,arguments),Jt=Et[0],fe=Et[1]-qt;return[Jt*Math.cos(fe),Jt*Math.sin(fe)]}}u.svg.symbol=function(){var mt=Lr,Et=gr;function Jt(fe,de){return(nn.get(mt.call(this,fe,de))||qr)(Et.call(this,fe,de))}return Jt.type=function(fe){return arguments.length?(mt=pe(fe),Jt):mt},Jt.size=function(fe){return arguments.length?(Et=pe(fe),Jt):Et},Jt};function gr(){return 64}function Lr(){return"circle"}function qr(mt){var Et=Math.sqrt(mt/lt);return"M0,"+Et+"A"+Et+","+Et+" 0 1,1 0,"+-Et+"A"+Et+","+Et+" 0 1,1 0,"+Et+"Z"}var nn=u.map({circle:qr,cross:function(mt){var Et=Math.sqrt(mt/5)/2;return"M"+-3*Et+","+-Et+"H"+-Et+"V"+-3*Et+"H"+Et+"V"+-Et+"H"+3*Et+"V"+Et+"H"+Et+"V"+3*Et+"H"+-Et+"V"+Et+"H"+-3*Et+"Z"},diamond:function(mt){var Et=Math.sqrt(mt/(2*Sn)),Jt=Et*Sn;return"M0,"+-Et+"L"+Jt+",0 0,"+Et+" "+-Jt+",0Z"},square:function(mt){var Et=Math.sqrt(mt)/2;return"M"+-Et+","+-Et+"L"+Et+","+-Et+" "+Et+","+Et+" "+-Et+","+Et+"Z"},"triangle-down":function(mt){var Et=Math.sqrt(mt/cn),Jt=Et*cn/2;return"M0,"+Jt+"L"+Et+","+-Jt+" "+-Et+","+-Jt+"Z"},"triangle-up":function(mt){var Et=Math.sqrt(mt/cn),Jt=Et*cn/2;return"M0,"+-Jt+"L"+Et+","+Jt+" "+-Et+","+Jt+"Z"}});u.svg.symbolTypes=nn.keys();var cn=Math.sqrt(3),Sn=Math.tan(30*Kt);W.transition=function(mt){for(var Et=ka||++sa,Jt=ns(mt),fe=[],de,we,Ve=ga||{time:Date.now(),ease:ja,delay:0,duration:250},Ne=-1,or=this.length;++Ne<or;){fe.push(de=[]);for(var Ir=this[Ne],Ar=-1,Yr=Ir.length;++Ar<Yr;)(we=Ir[Ar])&&vo(we,Ar,Jt,Et,Ve),de.push(we)}return bi(fe,Jt,Et)},W.interrupt=function(mt){return this.each(mt==null?Wn:Ti(ns(mt)))};var Wn=Ti(ns());function Ti(mt){return function(){var Et,Jt,fe;(Et=this[mt])&&(fe=Et[Jt=Et.active])&&(fe.timer.c=null,fe.timer.t=NaN,--Et.count?delete Et[Jt]:delete this[mt],Et.active+=.5,fe.event&&fe.event.interrupt.call(this,this.__data__,fe.index))}}function bi(mt,Et,Jt){return Z(mt,Ci),mt.namespace=Et,mt.id=Jt,mt}var Ci=[],sa=0,ka,ga;Ci.call=W.call,Ci.empty=W.empty,Ci.node=W.node,Ci.size=W.size,u.transition=function(mt,Et){return mt&&mt.transition?ka?mt.transition(Et):mt:u.selection().transition(mt)},u.transition.prototype=Ci,Ci.select=function(mt){var Et=this.id,Jt=this.namespace,fe=[],de,we,Ve;mt=G(mt);for(var Ne=-1,or=this.length;++Ne<or;){fe.push(de=[]);for(var Ir=this[Ne],Ar=-1,Yr=Ir.length;++Ar<Yr;)(Ve=Ir[Ar])&&(we=mt.call(Ve,Ve.__data__,Ar,Ne))?("__data__"in Ve&&(we.__data__=Ve.__data__),vo(we,Ar,Jt,Et,Ve[Jt][Et]),de.push(we)):de.push(null)}return bi(fe,Jt,Et)},Ci.selectAll=function(mt){var Et=this.id,Jt=this.namespace,fe=[],de,we,Ve,Ne,or;mt=at(mt);for(var Ir=-1,Ar=this.length;++Ir<Ar;)for(var Yr=this[Ir],an=-1,on=Yr.length;++an<on;)if(Ve=Yr[an]){or=Ve[Jt][Et],we=mt.call(Ve,Ve.__data__,an,Ir),fe.push(de=[]);for(var ei=-1,fn=we.length;++ei<fn;)(Ne=we[ei])&&vo(Ne,ei,Jt,Et,or),de.push(Ne)}return bi(fe,Jt,Et)},Ci.filter=function(mt){var Et=[],Jt,fe,de;typeof mt!="function"&&(mt=vt(mt));for(var we=0,Ve=this.length;we<Ve;we++){Et.push(Jt=[]);for(var fe=this[we],Ne=0,or=fe.length;Ne<or;Ne++)(de=fe[Ne])&&mt.call(de,de.__data__,Ne,we)&&Jt.push(de)}return bi(Et,this.namespace,this.id)},Ci.tween=function(mt,Et){var Jt=this.id,fe=this.namespace;return arguments.length<2?this.node()[fe][Jt].tween.get(mt):re(this,Et==null?function(de){de[fe][Jt].tween.remove(mt)}:function(de){de[fe][Jt].tween.set(mt,Et)})};function $a(mt,Et,Jt,fe){var de=mt.id,we=mt.namespace;return re(mt,typeof Jt=="function"?function(Ve,Ne,or){Ve[we][de].tween.set(Et,fe(Jt.call(Ve,Ve.__data__,Ne,or)))}:(Jt=fe(Jt),function(Ve){Ve[we][de].tween.set(Et,Jt)}))}Ci.attr=function(mt,Et){if(arguments.length<2){for(Et in mt)this.attr(Et,mt[Et]);return this}var Jt=mt=="transform"?Dc:Uo,fe=u.ns.qualify(mt);function de(){this.removeAttribute(fe)}function we(){this.removeAttributeNS(fe.space,fe.local)}function Ve(or){return or==null?de:(or+="",function(){var Ir=this.getAttribute(fe),Ar;return Ir!==or&&(Ar=Jt(Ir,or),function(Yr){this.setAttribute(fe,Ar(Yr))})})}function Ne(or){return or==null?we:(or+="",function(){var Ir=this.getAttributeNS(fe.space,fe.local),Ar;return Ir!==or&&(Ar=Jt(Ir,or),function(Yr){this.setAttributeNS(fe.space,fe.local,Ar(Yr))})})}return $a(this,"attr."+mt,Et,fe.local?Ne:Ve)},Ci.attrTween=function(mt,Et){var Jt=u.ns.qualify(mt);function fe(we,Ve){var Ne=Et.call(this,we,Ve,this.getAttribute(Jt));return Ne&&function(or){this.setAttribute(Jt,Ne(or))}}function de(we,Ve){var Ne=Et.call(this,we,Ve,this.getAttributeNS(Jt.space,Jt.local));return Ne&&function(or){this.setAttributeNS(Jt.space,Jt.local,Ne(or))}}return this.tween("attr."+mt,Jt.local?de:fe)},Ci.style=function(mt,Et,Jt){var fe=arguments.length;if(fe<3){if(typeof mt!="string"){fe<2&&(Et="");for(Jt in mt)this.style(Jt,mt[Jt],Et);return this}Jt=""}function de(){this.style.removeProperty(mt)}function we(Ve){return Ve==null?de:(Ve+="",function(){var Ne=e(this).getComputedStyle(this,null).getPropertyValue(mt),or;return Ne!==Ve&&(or=Uo(Ne,Ve),function(Ir){this.style.setProperty(mt,or(Ir),Jt)})})}return $a(this,"style."+mt,Et,we)},Ci.styleTween=function(mt,Et,Jt){arguments.length<3&&(Jt="");function fe(de,we){var Ve=Et.call(this,de,we,e(this).getComputedStyle(this,null).getPropertyValue(mt));return Ve&&function(Ne){this.style.setProperty(mt,Ve(Ne),Jt)}}return this.tween("style."+mt,fe)},Ci.text=function(mt){return $a(this,"text",mt,Jo)};function Jo(mt){return mt==null&&(mt=""),function(){this.textContent=mt}}Ci.remove=function(){var mt=this.namespace;return this.each("end.transition",function(){var Et;this[mt].count<2&&(Et=this.parentNode)&&Et.removeChild(this)})},Ci.ease=function(mt){var Et=this.id,Jt=this.namespace;return arguments.length<1?this.node()[Jt][Et].ease:(typeof mt!="function"&&(mt=u.ease.apply(u,arguments)),re(this,function(fe){fe[Jt][Et].ease=mt}))},Ci.delay=function(mt){var Et=this.id,Jt=this.namespace;return arguments.length<1?this.node()[Jt][Et].delay:re(this,typeof mt=="function"?function(fe,de,we){fe[Jt][Et].delay=+mt.call(fe,fe.__data__,de,we)}:(mt=+mt,function(fe){fe[Jt][Et].delay=mt}))},Ci.duration=function(mt){var Et=this.id,Jt=this.namespace;return arguments.length<1?this.node()[Jt][Et].duration:re(this,typeof mt=="function"?function(fe,de,we){fe[Jt][Et].duration=Math.max(1,mt.call(fe,fe.__data__,de,we))}:(mt=Math.max(1,mt),function(fe){fe[Jt][Et].duration=mt}))},Ci.each=function(mt,Et){var Jt=this.id,fe=this.namespace;if(arguments.length<2){var de=ga,we=ka;try{ka=Jt,re(this,function(Ve,Ne,or){ga=Ve[fe][Jt],mt.call(Ve,Ve.__data__,Ne,or)})}finally{ga=de,ka=we}}else re(this,function(Ve){var Ne=Ve[fe][Jt];(Ne.event||(Ne.event=u.dispatch("start","end","interrupt"))).on(mt,Et)});return this},Ci.transition=function(){for(var mt=this.id,Et=++sa,Jt=this.namespace,fe=[],de,we,Ve,Ne,or=0,Ir=this.length;or<Ir;or++){fe.push(de=[]);for(var we=this[or],Ar=0,Yr=we.length;Ar<Yr;Ar++)(Ve=we[Ar])&&(Ne=Ve[Jt][mt],vo(Ve,Ar,Jt,Et,{time:Ne.time,ease:Ne.ease,delay:Ne.delay+Ne.duration,duration:Ne.duration})),de.push(Ve)}return bi(fe,Jt,Et)};function ns(mt){return mt==null?"__transition__":"__transition_"+mt+"__"}function vo(mt,Et,Jt,fe,de){var we=mt[Jt]||(mt[Jt]={active:0,count:0}),Ve=we[fe],Ne,or,Ir,Ar,Yr;function an(fn){var zn=Ve.delay;if(or.t=zn+Ne,zn<=fn)return on(fn-zn);or.c=on}function on(fn){var zn=we.active,Un=we[zn];Un&&(Un.timer.c=null,Un.timer.t=NaN,--we.count,delete we[zn],Un.event&&Un.event.interrupt.call(mt,mt.__data__,Un.index));for(var Jn in we)if(+Jn<fe){var si=we[Jn];si.timer.c=null,si.timer.t=NaN,--we.count,delete we[Jn]}or.c=ei,ti(function(){return or.c&&ei(fn||1)&&(or.c=null,or.t=NaN),1},0,Ne),we.active=fe,Ve.event&&Ve.event.start.call(mt,mt.__data__,Et),Yr=[],Ve.tween.forEach(function(bn,Gi){(Gi=Gi.call(mt,mt.__data__,Et))&&Yr.push(Gi)}),Ar=Ve.ease,Ir=Ve.duration}function ei(fn){for(var zn=fn/Ir,Un=Ar(zn),Jn=Yr.length;Jn>0;)Yr[--Jn].call(mt,Un);if(zn>=1)return Ve.event&&Ve.event.end.call(mt,mt.__data__,Et),--we.count?delete we[fe]:delete mt[Jt],1}Ve||(Ne=de.time,or=ti(an,0,Ne),Ve=we[fe]={tween:new E,time:Ne,timer:or,delay:de.delay,duration:de.duration,ease:de.ease,index:Et},de=null,++we.count)}u.svg.axis=function(){var mt=u.scale.linear(),Et=os,Jt=6,fe=6,de=3,we=[10],Ve=null,Ne;function or(Ir){Ir.each(function(){var Ar=u.select(this),Yr=this.__chart__||mt,an=this.__chart__=mt.copy(),on=Ve??(an.ticks?an.ticks.apply(an,we):an.domain()),ei=Ne??(an.tickFormat?an.tickFormat.apply(an,we):B),fn=Ar.selectAll(".tick").data(on,an),zn=fn.enter().insert("g",".domain").attr("class","tick").style("opacity",Gt),Un=u.transition(fn.exit()).style("opacity",Gt).remove(),Jn=u.transition(fn.order()).style("opacity",1),si=Math.max(Jt,0)+de,bn,Gi=Rn(an),Hi=Ar.selectAll(".domain").data([0]),aa=(Hi.enter().append("path").attr("class","domain"),u.transition(Hi));zn.append("line"),zn.append("text");var ya=zn.select("line"),Ma=Jn.select("line"),La=fn.select("text").text(ei),Ho=zn.select("text"),za=Jn.select("text"),to=Et==="top"||Et==="left"?-1:1,us,Tl,Ys,pa;if(Et==="bottom"||Et==="top"?(bn=Zs,us="x",Ys="y",Tl="x2",pa="y2",La.attr("dy",to<0?"0em":".71em").style("text-anchor","middle"),aa.attr("d","M"+Gi[0]+","+to*fe+"V0H"+Gi[1]+"V"+to*fe)):(bn=So,us="y",Ys="x",Tl="y2",pa="x2",La.attr("dy",".32em").style("text-anchor",to<0?"end":"start"),aa.attr("d","M"+to*fe+","+Gi[0]+"H0V"+Gi[1]+"H"+to*fe)),ya.attr(pa,to*Jt),Ho.attr(Ys,to*si),Ma.attr(Tl,0).attr(pa,to*Jt),za.attr(us,0).attr(Ys,to*si),an.rangeBand){var Eo=an,Vo=Eo.rangeBand()/2;Yr=an=function(Us){return Eo(Us)+Vo}}else Yr.rangeBand?Yr=an:Un.call(bn,an,Yr);zn.call(bn,Yr,an),Jn.call(bn,an,an)})}return or.scale=function(Ir){return arguments.length?(mt=Ir,or):mt},or.orient=function(Ir){return arguments.length?(Et=Ir in il?Ir+"":os,or):Et},or.ticks=function(){return arguments.length?(we=A(arguments),or):we},or.tickValues=function(Ir){return arguments.length?(Ve=Ir,or):Ve},or.tickFormat=function(Ir){return arguments.length?(Ne=Ir,or):Ne},or.tickSize=function(Ir){var Ar=arguments.length;return Ar?(Jt=+Ir,fe=+arguments[Ar-1],or):Jt},or.innerTickSize=function(Ir){return arguments.length?(Jt=+Ir,or):Jt},or.outerTickSize=function(Ir){return arguments.length?(fe=+Ir,or):fe},or.tickPadding=function(Ir){return arguments.length?(de=+Ir,or):de},or.tickSubdivide=function(){return arguments.length&&or},or};var os="bottom",il={top:1,right:1,bottom:1,left:1};function Zs(mt,Et,Jt){mt.attr("transform",function(fe){var de=Et(fe);return"translate("+(isFinite(de)?de:Jt(fe))+",0)"})}function So(mt,Et,Jt){mt.attr("transform",function(fe){var de=Et(fe);return"translate(0,"+(isFinite(de)?de:Jt(fe))+")"})}u.svg.brush=function(){var mt=st(Ar,"brushstart","brush","brushend"),Et=null,Jt=null,fe=[0,0],de=[0,0],we,Ve,Ne=!0,or=!0,Ir=wl[0];function Ar(fn){fn.each(function(){var zn=u.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",ei).on("touchstart.brush",ei),Un=zn.selectAll(".background").data([0]);Un.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),zn.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var Jn=zn.selectAll(".resize").data(Ir,B);Jn.exit().remove(),Jn.enter().append("g").attr("class",function(Hi){return"resize "+Hi}).style("cursor",function(Hi){return Ao[Hi]}).append("rect").attr("x",function(Hi){return/[ew]$/.test(Hi)?-3:null}).attr("y",function(Hi){return/^[ns]/.test(Hi)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),Jn.style("display",Ar.empty()?"none":null);var si=u.transition(zn),bn=u.transition(Un),Gi;Et&&(Gi=Rn(Et),bn.attr("x",Gi[0]).attr("width",Gi[1]-Gi[0]),an(si)),Jt&&(Gi=Rn(Jt),bn.attr("y",Gi[0]).attr("height",Gi[1]-Gi[0]),on(si)),Yr(si)})}Ar.event=function(fn){fn.each(function(){var zn=mt.of(this,arguments),Un={x:fe,y:de,i:we,j:Ve},Jn=this.__chart__||Un;this.__chart__=Un,ka?u.select(this).transition().each("start.brush",function(){we=Jn.i,Ve=Jn.j,fe=Jn.x,de=Jn.y,zn({type:"brushstart"})}).tween("brush:brush",function(){var si=As(fe,Un.x),bn=As(de,Un.y);return we=Ve=null,function(Gi){fe=Un.x=si(Gi),de=Un.y=bn(Gi),zn({type:"brush",mode:"resize"})}}).each("end.brush",function(){we=Un.i,Ve=Un.j,zn({type:"brush",mode:"resize"}),zn({type:"brushend"})}):(zn({type:"brushstart"}),zn({type:"brush",mode:"resize"}),zn({type:"brushend"}))})};function Yr(fn){fn.selectAll(".resize").attr("transform",function(zn){return"translate("+fe[+/e$/.test(zn)]+","+de[+/^s/.test(zn)]+")"})}function an(fn){fn.select(".extent").attr("x",fe[0]),fn.selectAll(".extent,.n>rect,.s>rect").attr("width",fe[1]-fe[0])}function on(fn){fn.select(".extent").attr("y",de[0]),fn.selectAll(".extent,.e>rect,.w>rect").attr("height",de[1]-de[0])}function ei(){var fn=this,zn=u.select(u.event.target),Un=mt.of(fn,arguments),Jn=u.select(fn),si=zn.datum(),bn=!/^(n|s)$/.test(si)&&Et,Gi=!/^(e|w)$/.test(si)&&Jt,Hi=zn.classed("extent"),aa=Sr(fn),ya,Ma=u.mouse(fn),La,Ho=u.select(e(fn)).on("keydown.brush",us).on("keyup.brush",Tl);if(u.event.changedTouches?Ho.on("touchmove.brush",Ys).on("touchend.brush",Eo):Ho.on("mousemove.brush",Ys).on("mouseup.brush",Eo),Jn.interrupt().selectAll("*").interrupt(),Hi)Ma[0]=fe[0]-Ma[0],Ma[1]=de[0]-Ma[1];else if(si){var za=+/w$/.test(si),to=+/^n/.test(si);La=[fe[1-za]-Ma[0],de[1-to]-Ma[1]],Ma[0]=fe[za],Ma[1]=de[to]}else u.event.altKey&&(ya=Ma.slice());Jn.style("pointer-events","none").selectAll(".resize").style("display",null),u.select("body").style("cursor",zn.style("cursor")),Un({type:"brushstart"}),Ys();function us(){u.event.keyCode==32&&(Hi||(ya=null,Ma[0]-=fe[1],Ma[1]-=de[1],Hi=2),rt())}function Tl(){u.event.keyCode==32&&Hi==2&&(Ma[0]+=fe[1],Ma[1]+=de[1],Hi=0,rt())}function Ys(){var Vo=u.mouse(fn),Us=!1;La&&(Vo[0]+=La[0],Vo[1]+=La[1]),Hi||(u.event.altKey?(ya||(ya=[(fe[0]+fe[1])/2,(de[0]+de[1])/2]),Ma[0]=fe[+(Vo[0]<ya[0])],Ma[1]=de[+(Vo[1]<ya[1])]):ya=null),bn&&pa(Vo,Et,0)&&(an(Jn),Us=!0),Gi&&pa(Vo,Jt,1)&&(on(Jn),Us=!0),Us&&(Yr(Jn),Un({type:"brush",mode:Hi?"move":"resize"}))}function pa(Vo,Us,Ls){var yu=Rn(Us),_s=yu[0],Rs=yu[1],Fu=Ma[Ls],ae=Ls?de:fe,nr=ae[1]-ae[0],cr,sn;if(Hi&&(_s-=Fu,Rs-=nr+Fu),cr=(Ls?or:Ne)?Math.max(_s,Math.min(Rs,Vo[Ls])):Vo[Ls],Hi?sn=(cr+=Fu)+nr:(ya&&(Fu=Math.max(_s,Math.min(Rs,2*ya[Ls]-cr))),Fu<cr?(sn=cr,cr=Fu):sn=Fu),ae[0]!=cr||ae[1]!=sn)return Ls?Ve=null:we=null,ae[0]=cr,ae[1]=sn,!0}function Eo(){Ys(),Jn.style("pointer-events","all").selectAll(".resize").style("display",Ar.empty()?"none":null),u.select("body").style("cursor",null),Ho.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),aa(),Un({type:"brushend"})}}return Ar.x=function(fn){return arguments.length?(Et=fn,Ir=wl[!Et<<1|!Jt],Ar):Et},Ar.y=function(fn){return arguments.length?(Jt=fn,Ir=wl[!Et<<1|!Jt],Ar):Jt},Ar.clamp=function(fn){return arguments.length?(Et&&Jt?(Ne=!!fn[0],or=!!fn[1]):Et?Ne=!!fn:Jt&&(or=!!fn),Ar):Et&&Jt?[Ne,or]:Et?Ne:Jt?or:null},Ar.extent=function(fn){var zn,Un,Jn,si,bn;return arguments.length?(Et&&(zn=fn[0],Un=fn[1],Jt&&(zn=zn[0],Un=Un[0]),we=[zn,Un],Et.invert&&(zn=Et(zn),Un=Et(Un)),Un<zn&&(bn=zn,zn=Un,Un=bn),(zn!=fe[0]||Un!=fe[1])&&(fe=[zn,Un])),Jt&&(Jn=fn[0],si=fn[1],Et&&(Jn=Jn[1],si=si[1]),Ve=[Jn,si],Jt.invert&&(Jn=Jt(Jn),si=Jt(si)),si<Jn&&(bn=Jn,Jn=si,si=bn),(Jn!=de[0]||si!=de[1])&&(de=[Jn,si])),Ar):(Et&&(we?(zn=we[0],Un=we[1]):(zn=fe[0],Un=fe[1],Et.invert&&(zn=Et.invert(zn),Un=Et.invert(Un)),Un<zn&&(bn=zn,zn=Un,Un=bn))),Jt&&(Ve?(Jn=Ve[0],si=Ve[1]):(Jn=de[0],si=de[1],Jt.invert&&(Jn=Jt.invert(Jn),si=Jt.invert(si)),si<Jn&&(bn=Jn,Jn=si,si=bn))),Et&&Jt?[[zn,Jn],[Un,si]]:Et?[zn,Un]:Jt&&[Jn,si])},Ar.clear=function(){return Ar.empty()||(fe=[0,0],de=[0,0],we=Ve=null),Ar},Ar.empty=function(){return!!Et&&fe[0]==fe[1]||!!Jt&&de[0]==de[1]},u.rebind(Ar,mt,"on")};var Ao={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},wl=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]];u.text=Ze(function(mt){return mt.responseText}),u.json=function(mt,Et){return xr(mt,"application/json",Fl,Et)};function Fl(mt){return JSON.parse(mt.responseText)}u.html=function(mt,Et){return xr(mt,"text/html",cu,Et)};function cu(mt){var Et=k.createRange();return Et.selectNode(k.body),Et.createContextualFragment(mt.responseText)}u.xml=Ze(function(mt){return mt.responseXML}),typeof V=="object"&&V.exports?V.exports=u:this.d3=u}).apply(self)}}),fc=Vt({"node_modules/d3-time/dist/d3-time.js"(X,V){(function(u,d){typeof X=="object"&&typeof V<"u"?d(X):(u=u||self,d(u.d3=u.d3||{}))})(X,function(u){var d=new Date,A=new Date;function k(vt,Ut,re,Zt){function ue(Se){return vt(Se=arguments.length===0?new Date:new Date(+Se)),Se}return ue.floor=function(Se){return vt(Se=new Date(+Se)),Se},ue.ceil=function(Se){return vt(Se=new Date(Se-1)),Ut(Se,1),vt(Se),Se},ue.round=function(Se){var Ie=ue(Se),He=ue.ceil(Se);return Se-Ie<He-Se?Ie:He},ue.offset=function(Se,Ie){return Ut(Se=new Date(+Se),Ie==null?1:Math.floor(Ie)),Se},ue.range=function(Se,Ie,He){var Ge=[],vr;if(Se=ue.ceil(Se),He=He==null?1:Math.floor(He),!(Se<Ie)||!(He>0))return Ge;do Ge.push(vr=new Date(+Se)),Ut(Se,He),vt(Se);while(vr<Se&&Se<Ie);return Ge},ue.filter=function(Se){return k(function(Ie){if(Ie>=Ie)for(;vt(Ie),!Se(Ie);)Ie.setTime(Ie-1)},function(Ie,He){if(Ie>=Ie)if(He<0)for(;++He<=0;)for(;Ut(Ie,-1),!Se(Ie););else for(;--He>=0;)for(;Ut(Ie,1),!Se(Ie););})},re&&(ue.count=function(Se,Ie){return d.setTime(+Se),A.setTime(+Ie),vt(d),vt(A),Math.floor(re(d,A))},ue.every=function(Se){return Se=Math.floor(Se),!isFinite(Se)||!(Se>0)?null:Se>1?ue.filter(Zt?function(Ie){return Zt(Ie)%Se===0}:function(Ie){return ue.count(0,Ie)%Se===0}):ue}),ue}var t=k(function(){},function(vt,Ut){vt.setTime(+vt+Ut)},function(vt,Ut){return Ut-vt});t.every=function(vt){return vt=Math.floor(vt),!isFinite(vt)||!(vt>0)?null:vt>1?k(function(Ut){Ut.setTime(Math.floor(Ut/vt)*vt)},function(Ut,re){Ut.setTime(+Ut+re*vt)},function(Ut,re){return(re-Ut)/vt}):t};var e=t.range,r=1e3,a=6e4,n=36e5,o=864e5,i=6048e5,s=k(function(vt){vt.setTime(vt-vt.getMilliseconds())},function(vt,Ut){vt.setTime(+vt+Ut*r)},function(vt,Ut){return(Ut-vt)/r},function(vt){return vt.getUTCSeconds()}),c=s.range,v=k(function(vt){vt.setTime(vt-vt.getMilliseconds()-vt.getSeconds()*r)},function(vt,Ut){vt.setTime(+vt+Ut*a)},function(vt,Ut){return(Ut-vt)/a},function(vt){return vt.getMinutes()}),g=v.range,m=k(function(vt){vt.setTime(vt-vt.getMilliseconds()-vt.getSeconds()*r-vt.getMinutes()*a)},function(vt,Ut){vt.setTime(+vt+Ut*n)},function(vt,Ut){return(Ut-vt)/n},function(vt){return vt.getHours()}),b=m.range,l=k(function(vt){vt.setHours(0,0,0,0)},function(vt,Ut){vt.setDate(vt.getDate()+Ut)},function(vt,Ut){return(Ut-vt-(Ut.getTimezoneOffset()-vt.getTimezoneOffset())*a)/o},function(vt){return vt.getDate()-1}),x=l.range;function y(vt){return k(function(Ut){Ut.setDate(Ut.getDate()-(Ut.getDay()+7-vt)%7),Ut.setHours(0,0,0,0)},function(Ut,re){Ut.setDate(Ut.getDate()+re*7)},function(Ut,re){return(re-Ut-(re.getTimezoneOffset()-Ut.getTimezoneOffset())*a)/i})}var E=y(0),M=y(1),S=y(2),T=y(3),h=y(4),f=y(5),w=y(6),_=E.range,z=M.range,L=S.range,R=T.range,B=h.range,F=f.range,O=w.range,D=k(function(vt){vt.setDate(1),vt.setHours(0,0,0,0)},function(vt,Ut){vt.setMonth(vt.getMonth()+Ut)},function(vt,Ut){return Ut.getMonth()-vt.getMonth()+(Ut.getFullYear()-vt.getFullYear())*12},function(vt){return vt.getMonth()}),j=D.range,N=k(function(vt){vt.setMonth(0,1),vt.setHours(0,0,0,0)},function(vt,Ut){vt.setFullYear(vt.getFullYear()+Ut)},function(vt,Ut){return Ut.getFullYear()-vt.getFullYear()},function(vt){return vt.getFullYear()});N.every=function(vt){return!isFinite(vt=Math.floor(vt))||!(vt>0)?null:k(function(Ut){Ut.setFullYear(Math.floor(Ut.getFullYear()/vt)*vt),Ut.setMonth(0,1),Ut.setHours(0,0,0,0)},function(Ut,re){Ut.setFullYear(Ut.getFullYear()+re*vt)})};var Y=N.range,rt=k(function(vt){vt.setUTCSeconds(0,0)},function(vt,Ut){vt.setTime(+vt+Ut*a)},function(vt,Ut){return(Ut-vt)/a},function(vt){return vt.getUTCMinutes()}),ct=rt.range,st=k(function(vt){vt.setUTCMinutes(0,0,0)},function(vt,Ut){vt.setTime(+vt+Ut*n)},function(vt,Ut){return(Ut-vt)/n},function(vt){return vt.getUTCHours()}),et=st.range,Z=k(function(vt){vt.setUTCHours(0,0,0,0)},function(vt,Ut){vt.setUTCDate(vt.getUTCDate()+Ut)},function(vt,Ut){return(Ut-vt)/o},function(vt){return vt.getUTCDate()-1}),ot=Z.range;function J(vt){return k(function(Ut){Ut.setUTCDate(Ut.getUTCDate()-(Ut.getUTCDay()+7-vt)%7),Ut.setUTCHours(0,0,0,0)},function(Ut,re){Ut.setUTCDate(Ut.getUTCDate()+re*7)},function(Ut,re){return(re-Ut)/i})}var Q=J(0),ut=J(1),W=J(2),G=J(3),at=J(4),nt=J(5),dt=J(6),Tt=Q.range,wt=ut.range,Ot=W.range,It=G.range,Ft=at.range,ee=nt.range,Wt=dt.range,te=k(function(vt){vt.setUTCDate(1),vt.setUTCHours(0,0,0,0)},function(vt,Ut){vt.setUTCMonth(vt.getUTCMonth()+Ut)},function(vt,Ut){return Ut.getUTCMonth()-vt.getUTCMonth()+(Ut.getUTCFullYear()-vt.getUTCFullYear())*12},function(vt){return vt.getUTCMonth()}),Xt=te.range,gt=k(function(vt){vt.setUTCMonth(0,1),vt.setUTCHours(0,0,0,0)},function(vt,Ut){vt.setUTCFullYear(vt.getUTCFullYear()+Ut)},function(vt,Ut){return Ut.getUTCFullYear()-vt.getUTCFullYear()},function(vt){return vt.getUTCFullYear()});gt.every=function(vt){return!isFinite(vt=Math.floor(vt))||!(vt>0)?null:k(function(Ut){Ut.setUTCFullYear(Math.floor(Ut.getUTCFullYear()/vt)*vt),Ut.setUTCMonth(0,1),Ut.setUTCHours(0,0,0,0)},function(Ut,re){Ut.setUTCFullYear(Ut.getUTCFullYear()+re*vt)})};var bt=gt.range;u.timeDay=l,u.timeDays=x,u.timeFriday=f,u.timeFridays=F,u.timeHour=m,u.timeHours=b,u.timeInterval=k,u.timeMillisecond=t,u.timeMilliseconds=e,u.timeMinute=v,u.timeMinutes=g,u.timeMonday=M,u.timeMondays=z,u.timeMonth=D,u.timeMonths=j,u.timeSaturday=w,u.timeSaturdays=O,u.timeSecond=s,u.timeSeconds=c,u.timeSunday=E,u.timeSundays=_,u.timeThursday=h,u.timeThursdays=B,u.timeTuesday=S,u.timeTuesdays=L,u.timeWednesday=T,u.timeWednesdays=R,u.timeWeek=E,u.timeWeeks=_,u.timeYear=N,u.timeYears=Y,u.utcDay=Z,u.utcDays=ot,u.utcFriday=nt,u.utcFridays=ee,u.utcHour=st,u.utcHours=et,u.utcMillisecond=t,u.utcMilliseconds=e,u.utcMinute=rt,u.utcMinutes=ct,u.utcMonday=ut,u.utcMondays=wt,u.utcMonth=te,u.utcMonths=Xt,u.utcSaturday=dt,u.utcSaturdays=Wt,u.utcSecond=s,u.utcSeconds=c,u.utcSunday=Q,u.utcSundays=Tt,u.utcThursday=at,u.utcThursdays=Ft,u.utcTuesday=W,u.utcTuesdays=Ot,u.utcWednesday=G,u.utcWednesdays=It,u.utcWeek=Q,u.utcWeeks=Tt,u.utcYear=gt,u.utcYears=bt,Object.defineProperty(u,"__esModule",{value:!0})})}}),ts=Vt({"node_modules/d3-time-format/dist/d3-time-format.js"(X,V){(function(u,d){typeof X=="object"&&typeof V<"u"?d(X,fc()):(u=u||self,d(u.d3=u.d3||{},u.d3))})(X,function(u,d){function A(Rt){if(0<=Rt.y&&Rt.y<100){var Gt=new Date(-1,Rt.m,Rt.d,Rt.H,Rt.M,Rt.S,Rt.L);return Gt.setFullYear(Rt.y),Gt}return new Date(Rt.y,Rt.m,Rt.d,Rt.H,Rt.M,Rt.S,Rt.L)}function k(Rt){if(0<=Rt.y&&Rt.y<100){var Gt=new Date(Date.UTC(-1,Rt.m,Rt.d,Rt.H,Rt.M,Rt.S,Rt.L));return Gt.setUTCFullYear(Rt.y),Gt}return new Date(Date.UTC(Rt.y,Rt.m,Rt.d,Rt.H,Rt.M,Rt.S,Rt.L))}function t(Rt,Gt,_t){return{y:Rt,m:Gt,d:_t,H:0,M:0,S:0,L:0}}function e(Rt){var Gt=Rt.dateTime,_t=Rt.date,lt=Rt.time,yt=Rt.periods,At=Rt.days,qt=Rt.shortDays,Kt=Rt.months,se=Rt.shortMonths,Me=c(yt),Ee=v(yt),Ue=c(At),ar=v(At),ir=c(qt),Ke=v(qt),Er=c(Kt),dn=v(Kt),mn=c(se),wn=v(se),Zn={a:Vn,A:Kn,b:$n,B:oi,c:null,d:D,e:D,f:ct,H:j,I:N,j:Y,L:rt,m:st,M:et,p:On,q:Di,Q:Ie,s:He,S:Z,u:ot,U:J,V:Q,w:ut,W,x:null,X:null,y:G,Y:at,Z:nt,"%":Se},Ln={a:Yi,A:ve,b:ge,B:dr,c:null,d:dt,e:dt,f:Ft,H:Tt,I:wt,j:Ot,L:It,m:ee,M:Wt,p:br,q:Tr,Q:Ie,s:He,S:te,u:Xt,U:gt,V:bt,w:vt,W:Ut,x:null,X:null,y:re,Y:Zt,Z:ue,"%":Se},vn={a:Xe,A:tr,b:Cr,B:tn,c:Kr,d:h,e:h,f:R,H:w,I:w,j:f,L,m:T,M:_,p:Fe,q:S,Q:F,s:O,S:z,u:m,U:b,V:l,w:g,W:x,x:$r,X:Pn,y:E,Y:y,Z:M,"%":B};Zn.x=mi(_t,Zn),Zn.X=mi(lt,Zn),Zn.c=mi(Gt,Zn),Ln.x=mi(_t,Ln),Ln.X=mi(lt,Ln),Ln.c=mi(Gt,Ln);function mi(mr,Mr){return function(Nr){var Pr=[],pe=-1,Ze=0,xr=mr.length,Hr,un,Tn;for(Nr instanceof Date||(Nr=new Date(+Nr));++pe<xr;)mr.charCodeAt(pe)===37&&(Pr.push(mr.slice(Ze,pe)),(un=r[Hr=mr.charAt(++pe)])!=null?Hr=mr.charAt(++pe):un=Hr==="e"?" ":"0",(Tn=Mr[Hr])&&(Hr=Tn(Nr,un)),Pr.push(Hr),Ze=pe+1);return Pr.push(mr.slice(Ze,pe)),Pr.join("")}}function ii(mr,Mr){return function(Nr){var Pr=t(1900,void 0,1),pe=Ae(Pr,mr,Nr+="",0),Ze,xr;if(pe!=Nr.length)return null;if("Q"in Pr)return new Date(Pr.Q);if("s"in Pr)return new Date(Pr.s*1e3+("L"in Pr?Pr.L:0));if(Mr&&!("Z"in Pr)&&(Pr.Z=0),"p"in Pr&&(Pr.H=Pr.H%12+Pr.p*12),Pr.m===void 0&&(Pr.m="q"in Pr?Pr.q:0),"V"in Pr){if(Pr.V<1||Pr.V>53)return null;"w"in Pr||(Pr.w=1),"Z"in Pr?(Ze=k(t(Pr.y,0,1)),xr=Ze.getUTCDay(),Ze=xr>4||xr===0?d.utcMonday.ceil(Ze):d.utcMonday(Ze),Ze=d.utcDay.offset(Ze,(Pr.V-1)*7),Pr.y=Ze.getUTCFullYear(),Pr.m=Ze.getUTCMonth(),Pr.d=Ze.getUTCDate()+(Pr.w+6)%7):(Ze=A(t(Pr.y,0,1)),xr=Ze.getDay(),Ze=xr>4||xr===0?d.timeMonday.ceil(Ze):d.timeMonday(Ze),Ze=d.timeDay.offset(Ze,(Pr.V-1)*7),Pr.y=Ze.getFullYear(),Pr.m=Ze.getMonth(),Pr.d=Ze.getDate()+(Pr.w+6)%7)}else("W"in Pr||"U"in Pr)&&("w"in Pr||(Pr.w="u"in Pr?Pr.u%7:"W"in Pr?1:0),xr="Z"in Pr?k(t(Pr.y,0,1)).getUTCDay():A(t(Pr.y,0,1)).getDay(),Pr.m=0,Pr.d="W"in Pr?(Pr.w+6)%7+Pr.W*7-(xr+5)%7:Pr.w+Pr.U*7-(xr+6)%7);return"Z"in Pr?(Pr.H+=Pr.Z/100|0,Pr.M+=Pr.Z%100,k(Pr)):A(Pr)}}function Ae(mr,Mr,Nr,Pr){for(var pe=0,Ze=Mr.length,xr=Nr.length,Hr,un;pe<Ze;){if(Pr>=xr)return-1;if(Hr=Mr.charCodeAt(pe++),Hr===37){if(Hr=Mr.charAt(pe++),un=vn[Hr in r?Mr.charAt(pe++):Hr],!un||(Pr=un(mr,Nr,Pr))<0)return-1}else if(Hr!=Nr.charCodeAt(Pr++))return-1}return Pr}function Fe(mr,Mr,Nr){var Pr=Me.exec(Mr.slice(Nr));return Pr?(mr.p=Ee[Pr[0].toLowerCase()],Nr+Pr[0].length):-1}function Xe(mr,Mr,Nr){var Pr=ir.exec(Mr.slice(Nr));return Pr?(mr.w=Ke[Pr[0].toLowerCase()],Nr+Pr[0].length):-1}function tr(mr,Mr,Nr){var Pr=Ue.exec(Mr.slice(Nr));return Pr?(mr.w=ar[Pr[0].toLowerCase()],Nr+Pr[0].length):-1}function Cr(mr,Mr,Nr){var Pr=mn.exec(Mr.slice(Nr));return Pr?(mr.m=wn[Pr[0].toLowerCase()],Nr+Pr[0].length):-1}function tn(mr,Mr,Nr){var Pr=Er.exec(Mr.slice(Nr));return Pr?(mr.m=dn[Pr[0].toLowerCase()],Nr+Pr[0].length):-1}function Kr(mr,Mr,Nr){return Ae(mr,Gt,Mr,Nr)}function $r(mr,Mr,Nr){return Ae(mr,_t,Mr,Nr)}function Pn(mr,Mr,Nr){return Ae(mr,lt,Mr,Nr)}function Vn(mr){return qt[mr.getDay()]}function Kn(mr){return At[mr.getDay()]}function $n(mr){return se[mr.getMonth()]}function oi(mr){return Kt[mr.getMonth()]}function On(mr){return yt[+(mr.getHours()>=12)]}function Di(mr){return 1+~~(mr.getMonth()/3)}function Yi(mr){return qt[mr.getUTCDay()]}function ve(mr){return At[mr.getUTCDay()]}function ge(mr){return se[mr.getUTCMonth()]}function dr(mr){return Kt[mr.getUTCMonth()]}function br(mr){return yt[+(mr.getUTCHours()>=12)]}function Tr(mr){return 1+~~(mr.getUTCMonth()/3)}return{format:function(mr){var Mr=mi(mr+="",Zn);return Mr.toString=function(){return mr},Mr},parse:function(mr){var Mr=ii(mr+="",!1);return Mr.toString=function(){return mr},Mr},utcFormat:function(mr){var Mr=mi(mr+="",Ln);return Mr.toString=function(){return mr},Mr},utcParse:function(mr){var Mr=ii(mr+="",!0);return Mr.toString=function(){return mr},Mr}}}var r={"-":"",_:" ",0:"0"},a=/^\s*\d+/,n=/^%/,o=/[\\^$*+?|[\]().{}]/g;function i(Rt,Gt,_t){var lt=Rt<0?"-":"",yt=(lt?-Rt:Rt)+"",At=yt.length;return lt+(At<_t?new Array(_t-At+1).join(Gt)+yt:yt)}function s(Rt){return Rt.replace(o,"\\$&")}function c(Rt){return new RegExp("^(?:"+Rt.map(s).join("|")+")","i")}function v(Rt){for(var Gt={},_t=-1,lt=Rt.length;++_t<lt;)Gt[Rt[_t].toLowerCase()]=_t;return Gt}function g(Rt,Gt,_t){var lt=a.exec(Gt.slice(_t,_t+1));return lt?(Rt.w=+lt[0],_t+lt[0].length):-1}function m(Rt,Gt,_t){var lt=a.exec(Gt.slice(_t,_t+1));return lt?(Rt.u=+lt[0],_t+lt[0].length):-1}function b(Rt,Gt,_t){var lt=a.exec(Gt.slice(_t,_t+2));return lt?(Rt.U=+lt[0],_t+lt[0].length):-1}function l(Rt,Gt,_t){var lt=a.exec(Gt.slice(_t,_t+2));return lt?(Rt.V=+lt[0],_t+lt[0].length):-1}function x(Rt,Gt,_t){var lt=a.exec(Gt.slice(_t,_t+2));return lt?(Rt.W=+lt[0],_t+lt[0].length):-1}function y(Rt,Gt,_t){var lt=a.exec(Gt.slice(_t,_t+4));return lt?(Rt.y=+lt[0],_t+lt[0].length):-1}function E(Rt,Gt,_t){var lt=a.exec(Gt.slice(_t,_t+2));return lt?(Rt.y=+lt[0]+(+lt[0]>68?1900:2e3),_t+lt[0].length):-1}function M(Rt,Gt,_t){var lt=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(Gt.slice(_t,_t+6));return lt?(Rt.Z=lt[1]?0:-(lt[2]+(lt[3]||"00")),_t+lt[0].length):-1}function S(Rt,Gt,_t){var lt=a.exec(Gt.slice(_t,_t+1));return lt?(Rt.q=lt[0]*3-3,_t+lt[0].length):-1}function T(Rt,Gt,_t){var lt=a.exec(Gt.slice(_t,_t+2));return lt?(Rt.m=lt[0]-1,_t+lt[0].length):-1}function h(Rt,Gt,_t){var lt=a.exec(Gt.slice(_t,_t+2));return lt?(Rt.d=+lt[0],_t+lt[0].length):-1}function f(Rt,Gt,_t){var lt=a.exec(Gt.slice(_t,_t+3));return lt?(Rt.m=0,Rt.d=+lt[0],_t+lt[0].length):-1}function w(Rt,Gt,_t){var lt=a.exec(Gt.slice(_t,_t+2));return lt?(Rt.H=+lt[0],_t+lt[0].length):-1}function _(Rt,Gt,_t){var lt=a.exec(Gt.slice(_t,_t+2));return lt?(Rt.M=+lt[0],_t+lt[0].length):-1}function z(Rt,Gt,_t){var lt=a.exec(Gt.slice(_t,_t+2));return lt?(Rt.S=+lt[0],_t+lt[0].length):-1}function L(Rt,Gt,_t){var lt=a.exec(Gt.slice(_t,_t+3));return lt?(Rt.L=+lt[0],_t+lt[0].length):-1}function R(Rt,Gt,_t){var lt=a.exec(Gt.slice(_t,_t+6));return lt?(Rt.L=Math.floor(lt[0]/1e3),_t+lt[0].length):-1}function B(Rt,Gt,_t){var lt=n.exec(Gt.slice(_t,_t+1));return lt?_t+lt[0].length:-1}function F(Rt,Gt,_t){var lt=a.exec(Gt.slice(_t));return lt?(Rt.Q=+lt[0],_t+lt[0].length):-1}function O(Rt,Gt,_t){var lt=a.exec(Gt.slice(_t));return lt?(Rt.s=+lt[0],_t+lt[0].length):-1}function D(Rt,Gt){return i(Rt.getDate(),Gt,2)}function j(Rt,Gt){return i(Rt.getHours(),Gt,2)}function N(Rt,Gt){return i(Rt.getHours()%12||12,Gt,2)}function Y(Rt,Gt){return i(1+d.timeDay.count(d.timeYear(Rt),Rt),Gt,3)}function rt(Rt,Gt){return i(Rt.getMilliseconds(),Gt,3)}function ct(Rt,Gt){return rt(Rt,Gt)+"000"}function st(Rt,Gt){return i(Rt.getMonth()+1,Gt,2)}function et(Rt,Gt){return i(Rt.getMinutes(),Gt,2)}function Z(Rt,Gt){return i(Rt.getSeconds(),Gt,2)}function ot(Rt){var Gt=Rt.getDay();return Gt===0?7:Gt}function J(Rt,Gt){return i(d.timeSunday.count(d.timeYear(Rt)-1,Rt),Gt,2)}function Q(Rt,Gt){var _t=Rt.getDay();return Rt=_t>=4||_t===0?d.timeThursday(Rt):d.timeThursday.ceil(Rt),i(d.timeThursday.count(d.timeYear(Rt),Rt)+(d.timeYear(Rt).getDay()===4),Gt,2)}function ut(Rt){return Rt.getDay()}function W(Rt,Gt){return i(d.timeMonday.count(d.timeYear(Rt)-1,Rt),Gt,2)}function G(Rt,Gt){return i(Rt.getFullYear()%100,Gt,2)}function at(Rt,Gt){return i(Rt.getFullYear()%1e4,Gt,4)}function nt(Rt){var Gt=Rt.getTimezoneOffset();return(Gt>0?"-":(Gt*=-1,"+"))+i(Gt/60|0,"0",2)+i(Gt%60,"0",2)}function dt(Rt,Gt){return i(Rt.getUTCDate(),Gt,2)}function Tt(Rt,Gt){return i(Rt.getUTCHours(),Gt,2)}function wt(Rt,Gt){return i(Rt.getUTCHours()%12||12,Gt,2)}function Ot(Rt,Gt){return i(1+d.utcDay.count(d.utcYear(Rt),Rt),Gt,3)}function It(Rt,Gt){return i(Rt.getUTCMilliseconds(),Gt,3)}function Ft(Rt,Gt){return It(Rt,Gt)+"000"}function ee(Rt,Gt){return i(Rt.getUTCMonth()+1,Gt,2)}function Wt(Rt,Gt){return i(Rt.getUTCMinutes(),Gt,2)}function te(Rt,Gt){return i(Rt.getUTCSeconds(),Gt,2)}function Xt(Rt){var Gt=Rt.getUTCDay();return Gt===0?7:Gt}function gt(Rt,Gt){return i(d.utcSunday.count(d.utcYear(Rt)-1,Rt),Gt,2)}function bt(Rt,Gt){var _t=Rt.getUTCDay();return Rt=_t>=4||_t===0?d.utcThursday(Rt):d.utcThursday.ceil(Rt),i(d.utcThursday.count(d.utcYear(Rt),Rt)+(d.utcYear(Rt).getUTCDay()===4),Gt,2)}function vt(Rt){return Rt.getUTCDay()}function Ut(Rt,Gt){return i(d.utcMonday.count(d.utcYear(Rt)-1,Rt),Gt,2)}function re(Rt,Gt){return i(Rt.getUTCFullYear()%100,Gt,2)}function Zt(Rt,Gt){return i(Rt.getUTCFullYear()%1e4,Gt,4)}function ue(){return"+0000"}function Se(){return"%"}function Ie(Rt){return+Rt}function He(Rt){return Math.floor(+Rt/1e3)}var Ge;vr({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 vr(Rt){return Ge=e(Rt),u.timeFormat=Ge.format,u.timeParse=Ge.parse,u.utcFormat=Ge.utcFormat,u.utcParse=Ge.utcParse,Ge}var _r="%Y-%m-%dT%H:%M:%S.%LZ";function er(Rt){return Rt.toISOString()}var Sr=Date.prototype.toISOString?er:u.utcFormat(_r);function Or(Rt){var Gt=new Date(Rt);return isNaN(Gt)?null:Gt}var me=+new Date("2000-01-01T00:00:00.000Z")?Or:u.utcParse(_r);u.isoFormat=Sr,u.isoParse=me,u.timeFormatDefaultLocale=vr,u.timeFormatLocale=e,Object.defineProperty(u,"__esModule",{value:!0})})}}),ss=Vt({"node_modules/d3-format/dist/d3-format.js"(X,V){(function(u,d){typeof X=="object"&&typeof V<"u"?d(X):(u=typeof globalThis<"u"?globalThis:u||self,d(u.d3=u.d3||{}))})(X,function(u){function d(T){return Math.abs(T=Math.round(T))>=1e21?T.toLocaleString("en").replace(/,/g,""):T.toString(10)}function A(T,h){if((f=(T=h?T.toExponential(h-1):T.toExponential()).indexOf("e"))<0)return null;var f,w=T.slice(0,f);return[w.length>1?w[0]+w.slice(2):w,+T.slice(f+1)]}function k(T){return T=A(Math.abs(T)),T?T[1]:NaN}function t(T,h){return function(f,w){for(var _=f.length,z=[],L=0,R=T[0],B=0;_>0&&R>0&&(B+R+1>w&&(R=Math.max(1,w-B)),z.push(f.substring(_-=R,_+R)),!((B+=R+1)>w));)R=T[L=(L+1)%T.length];return z.reverse().join(h)}}function e(T){return function(h){return h.replace(/[0-9]/g,function(f){return T[+f]})}}var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function a(T){if(!(h=r.exec(T)))throw new Error("invalid format: "+T);var h;return new n({fill:h[1],align:h[2],sign:h[3],symbol:h[4],zero:h[5],width:h[6],comma:h[7],precision:h[8]&&h[8].slice(1),trim:h[9],type:h[10]})}a.prototype=n.prototype;function n(T){this.fill=T.fill===void 0?" ":T.fill+"",this.align=T.align===void 0?">":T.align+"",this.sign=T.sign===void 0?"-":T.sign+"",this.symbol=T.symbol===void 0?"":T.symbol+"",this.zero=!!T.zero,this.width=T.width===void 0?void 0:+T.width,this.comma=!!T.comma,this.precision=T.precision===void 0?void 0:+T.precision,this.trim=!!T.trim,this.type=T.type===void 0?"":T.type+""}n.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 o(T){t:for(var h=T.length,f=1,w=-1,_;f<h;++f)switch(T[f]){case".":w=_=f;break;case"0":w===0&&(w=f),_=f;break;default:if(!+T[f])break t;w>0&&(w=0);break}return w>0?T.slice(0,w)+T.slice(_+1):T}var i;function s(T,h){var f=A(T,h);if(!f)return T+"";var w=f[0],_=f[1],z=_-(i=Math.max(-8,Math.min(8,Math.floor(_/3)))*3)+1,L=w.length;return z===L?w:z>L?w+new Array(z-L+1).join("0"):z>0?w.slice(0,z)+"."+w.slice(z):"0."+new Array(1-z).join("0")+A(T,Math.max(0,h+z-1))[0]}function c(T,h){var f=A(T,h);if(!f)return T+"";var w=f[0],_=f[1];return _<0?"0."+new Array(-_).join("0")+w:w.length>_+1?w.slice(0,_+1)+"."+w.slice(_+1):w+new Array(_-w.length+2).join("0")}var v={"%":function(T,h){return(T*100).toFixed(h)},b:function(T){return Math.round(T).toString(2)},c:function(T){return T+""},d,e:function(T,h){return T.toExponential(h)},f:function(T,h){return T.toFixed(h)},g:function(T,h){return T.toPrecision(h)},o:function(T){return Math.round(T).toString(8)},p:function(T,h){return c(T*100,h)},r:c,s,X:function(T){return Math.round(T).toString(16).toUpperCase()},x:function(T){return Math.round(T).toString(16)}};function g(T){return T}var m=Array.prototype.map,b=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function l(T){var h=T.grouping===void 0||T.thousands===void 0?g:t(m.call(T.grouping,Number),T.thousands+""),f=T.currency===void 0?"":T.currency[0]+"",w=T.currency===void 0?"":T.currency[1]+"",_=T.decimal===void 0?".":T.decimal+"",z=T.numerals===void 0?g:e(m.call(T.numerals,String)),L=T.percent===void 0?"%":T.percent+"",R=T.minus===void 0?"-":T.minus+"",B=T.nan===void 0?"NaN":T.nan+"";function F(D){D=a(D);var j=D.fill,N=D.align,Y=D.sign,rt=D.symbol,ct=D.zero,st=D.width,et=D.comma,Z=D.precision,ot=D.trim,J=D.type;J==="n"?(et=!0,J="g"):v[J]||(Z===void 0&&(Z=12),ot=!0,J="g"),(ct||j==="0"&&N==="=")&&(ct=!0,j="0",N="=");var Q=rt==="$"?f:rt==="#"&&/[boxX]/.test(J)?"0"+J.toLowerCase():"",ut=rt==="$"?w:/[%p]/.test(J)?L:"",W=v[J],G=/[defgprs%]/.test(J);Z=Z===void 0?6:/[gprs]/.test(J)?Math.max(1,Math.min(21,Z)):Math.max(0,Math.min(20,Z));function at(nt){var dt=Q,Tt=ut,wt,Ot,It;if(J==="c")Tt=W(nt)+Tt,nt="";else{nt=+nt;var Ft=nt<0||1/nt<0;if(nt=isNaN(nt)?B:W(Math.abs(nt),Z),ot&&(nt=o(nt)),Ft&&+nt==0&&Y!=="+"&&(Ft=!1),dt=(Ft?Y==="("?Y:R:Y==="-"||Y==="("?"":Y)+dt,Tt=(J==="s"?b[8+i/3]:"")+Tt+(Ft&&Y==="("?")":""),G){for(wt=-1,Ot=nt.length;++wt<Ot;)if(It=nt.charCodeAt(wt),48>It||It>57){Tt=(It===46?_+nt.slice(wt+1):nt.slice(wt))+Tt,nt=nt.slice(0,wt);break}}}et&&!ct&&(nt=h(nt,1/0));var ee=dt.length+nt.length+Tt.length,Wt=ee<st?new Array(st-ee+1).join(j):"";switch(et&&ct&&(nt=h(Wt+nt,Wt.length?st-Tt.length:1/0),Wt=""),N){case"<":nt=dt+nt+Tt+Wt;break;case"=":nt=dt+Wt+nt+Tt;break;case"^":nt=Wt.slice(0,ee=Wt.length>>1)+dt+nt+Tt+Wt.slice(ee);break;default:nt=Wt+dt+nt+Tt;break}return z(nt)}return at.toString=function(){return D+""},at}function O(D,j){var N=F((D=a(D),D.type="f",D)),Y=Math.max(-8,Math.min(8,Math.floor(k(j)/3)))*3,rt=Math.pow(10,-Y),ct=b[8+Y/3];return function(st){return N(rt*st)+ct}}return{format:F,formatPrefix:O}}var x;y({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function y(T){return x=l(T),u.format=x.format,u.formatPrefix=x.formatPrefix,x}function E(T){return Math.max(0,-k(Math.abs(T)))}function M(T,h){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(k(h)/3)))*3-k(Math.abs(T)))}function S(T,h){return T=Math.abs(T),h=Math.abs(h)-T,Math.max(0,k(h)-k(T))+1}u.FormatSpecifier=n,u.formatDefaultLocale=y,u.formatLocale=l,u.formatSpecifier=a,u.precisionFixed=E,u.precisionPrefix=M,u.precisionRound=S,Object.defineProperty(u,"__esModule",{value:!0})})}}),Ff=Vt({"node_modules/is-string-blank/index.js"(X,V){V.exports=function(u){for(var d=u.length,A,k=0;k<d;k++)if(A=u.charCodeAt(k),(A<9||A>13)&&A!==32&&A!==133&&A!==160&&A!==5760&&A!==6158&&(A<8192||A>8205)&&A!==8232&&A!==8233&&A!==8239&&A!==8287&&A!==8288&&A!==12288&&A!==65279)return!1;return!0}}}),Ua=Vt({"node_modules/fast-isnumeric/index.js"(X,V){var u=Ff();V.exports=function(d){var A=typeof d;if(A==="string"){var k=d;if(d=+d,d===0&&u(k))return!1}else if(A!=="number")return!1;return d-d<1}}}),es=Vt({"src/constants/numerical.js"(X,V){V.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:"−"}}}),S0=Vt({"node_modules/base64-arraybuffer/dist/base64-arraybuffer.umd.js"(X,V){(function(u,d){typeof X=="object"&&typeof V<"u"?d(X):(u=typeof globalThis<"u"?globalThis:u||self,d(u["base64-arraybuffer"]={}))})(X,function(u){for(var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",A=typeof Uint8Array>"u"?[]:new Uint8Array(256),k=0;k<d.length;k++)A[d.charCodeAt(k)]=k;var t=function(r){var a=new Uint8Array(r),n,o=a.length,i="";for(n=0;n<o;n+=3)i+=d[a[n]>>2],i+=d[(a[n]&3)<<4|a[n+1]>>4],i+=d[(a[n+1]&15)<<2|a[n+2]>>6],i+=d[a[n+2]&63];return o%3===2?i=i.substring(0,i.length-1)+"=":o%3===1&&(i=i.substring(0,i.length-2)+"=="),i},e=function(r){var a=r.length*.75,n=r.length,o,i=0,s,c,v,g;r[r.length-1]==="="&&(a--,r[r.length-2]==="="&&a--);var m=new ArrayBuffer(a),b=new Uint8Array(m);for(o=0;o<n;o+=4)s=A[r.charCodeAt(o)],c=A[r.charCodeAt(o+1)],v=A[r.charCodeAt(o+2)],g=A[r.charCodeAt(o+3)],b[i++]=s<<2|c>>4,b[i++]=(c&15)<<4|v>>2,b[i++]=(v&3)<<6|g&63;return m};u.decode=e,u.encode=t,Object.defineProperty(u,"__esModule",{value:!0})})}}),ld=Vt({"src/lib/is_plain_object.js"(X,V){V.exports=function(u){return window&&window.process&&window.process.versions?Object.prototype.toString.call(u)==="[object Object]":Object.prototype.toString.call(u)==="[object Object]"&&Object.getPrototypeOf(u).hasOwnProperty("hasOwnProperty")}}}),Sf=Vt({"src/lib/array.js"(X){var V=S0().decode,u=ld(),d=Array.isArray,A=ArrayBuffer,k=DataView;function t(s){return A.isView(s)&&!(s instanceof k)}X.isTypedArray=t;function e(s){return d(s)||t(s)}X.isArrayOrTypedArray=e;function r(s){return!e(s[0])}X.isArray1D=r,X.ensureArray=function(s,c){return d(s)||(s=[]),s.length=c,s};var a={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};a.uint8c=a.u1c,a.uint8=a.u1,a.int8=a.i1,a.uint16=a.u2,a.int16=a.i2,a.uint32=a.u4,a.int32=a.i4,a.float32=a.f4,a.float64=a.f8;function n(s){return s.constructor===ArrayBuffer}X.isArrayBuffer=n,X.decodeTypedArraySpec=function(s){var c=[],v=o(s),g=v.dtype,m=a[g];if(!m)throw new Error('Error in dtype: "'+g+'"');var b=m.BYTES_PER_ELEMENT,l=v.bdata;n(l)||(l=V(l));var x=v.shape===void 0?[l.byteLength/b]:(""+v.shape).split(",");x.reverse();var y=x.length,E,M,S=+x[0],T=b*S,h=0;if(y===1)c=new m(l);else if(y===2)for(E=+x[1],M=0;M<E;M++)c[M]=new m(l,h,S),h+=T;else if(y===3){E=+x[1];for(var f=+x[2],w=0;w<f;w++)for(c[w]=[],M=0;M<E;M++)c[w][M]=new m(l,h,S),h+=T}else throw new Error("ndim: "+y+'is not supported with the shape:"'+v.shape+'"');return c.bdata=v.bdata,c.dtype=v.dtype,c.shape=x.reverse().join(","),s._inputArray=c,c},X.isTypedArraySpec=function(s){return u(s)&&s.hasOwnProperty("dtype")&&typeof s.dtype=="string"&&s.hasOwnProperty("bdata")&&(typeof s.bdata=="string"||n(s.bdata))&&(s.shape===void 0||s.hasOwnProperty("shape")&&(typeof s.shape=="string"||typeof s.shape=="number"))};function o(s){return{bdata:s.bdata,dtype:s.dtype,shape:s.shape}}X.concat=function(){var s=[],c=!0,v=0,g,m,b,l,x,y,E,M;for(b=0;b<arguments.length;b++)l=arguments[b],y=l.length,y&&(m?s.push(l):(m=l,x=y),d(l)?g=!1:(c=!1,v?g!==l.constructor&&(g=!1):g=l.constructor),v+=y);if(!v)return[];if(!s.length)return m;if(c)return m.concat.apply(m,s);if(g){for(E=new g(v),E.set(m),b=0;b<s.length;b++)l=s[b],E.set(l,x),x+=l.length;return E}for(E=new Array(v),M=0;M<m.length;M++)E[M]=m[M];for(b=0;b<s.length;b++){for(l=s[b],M=0;M<l.length;M++)E[x+M]=l[M];x+=M}return E},X.maxRowLength=function(s){return i(s,Math.max,0)},X.minRowLength=function(s){return i(s,Math.min,1/0)};function i(s,c,v){if(e(s))if(e(s[0])){for(var g=v,m=0;m<s.length;m++)g=c(g,s[m].length);return g}else return s.length;return 0}}}),Kg=Vt({"src/lib/nested_property.js"(X,V){var u=Ua(),d=Sf().isArrayOrTypedArray;V.exports=function(i,s){if(u(s))s=String(s);else if(typeof s!="string"||s.substr(s.length-4)==="[-1]")throw"bad property string";var c=s.split("."),v,g,m,b;for(b=0;b<c.length;b++)if(String(c[b]).slice(0,2)==="__")throw"bad property string";for(b=0;b<c.length;){if(v=String(c[b]).match(/^([^\[\]]*)((\[\-?[0-9]*\])+)$/),v){if(v[1])c[b]=v[1];else if(b===0)c.splice(0,1);else throw"bad property string";for(g=v[2].substr(1,v[2].length-2).split("]["),m=0;m<g.length;m++)b++,c.splice(b,0,Number(g[m]))}b++}return typeof i!="object"?o(i,s,c):{set:e(i,c,s),get:A(i,c),astr:s,parts:c,obj:i}};function A(i,s){return function(c){var v=i,g,m,b,l,x;for(l=0;l<s.length-1;l++){if(g=s[l],g===-1){for(m=!0,b=[],x=0;x<v.length;x++)b[x]=A(v[x],s.slice(l+1))(c),b[x]!==b[0]&&(m=!1);return m?b[0]:b}if(typeof g=="number"&&!d(v)||(v=v[g],typeof v!="object"||v===null))return}if(!(typeof v!="object"||v===null)&&(b=v[s[l]],!(!c&&b===null)))return b}}var k=/(^|\.)args\[/;function t(i,s){return i===void 0||i===null&&!s.match(k)}function e(i,s,c){return function(v){var g=i,m="",b=t(v,c),l,x;for(x=0;x<s.length-1;x++){if(l=s[x],typeof l=="number"&&!d(g))throw"array index but container is not an array";if(l===-1){if(b=!a(g,s.slice(x+1),v,c),b)break;return}if(!n(g,l,s[x+1],b))break;if(g=g[l],typeof g!="object"||g===null)throw"container is not an object";m=r(m,l)}if(b){if(x===s.length-1&&(delete g[s[x]],Array.isArray(g)&&+s[x]===g.length-1))for(;g.length&&g[g.length-1]===void 0;)g.pop()}else g[s[x]]=v}}function r(i,s){var c=s;return u(s)?c="["+s+"]":i&&(c="."+s),i+c}function a(i,s,c,v){var g=d(c),m=!0,b=c,l=v.replace("-1",0),x=g?!1:t(c,l),y=s[0],E;for(E=0;E<i.length;E++)l=v.replace("-1",E),g&&(b=c[E%c.length],x=t(b,l)),x&&(m=!1),n(i,E,y,x)&&e(i[E],s,v.replace("-1",E))(b);return m}function n(i,s,c,v){if(i[s]===void 0){if(v)return!1;typeof c=="number"?i[s]=[]:i[s]={}}return!0}function o(i,s,c){return{set:function(){throw"bad container"},get:function(){},astr:s,parts:c,obj:i}}}}),aT=Vt({"src/lib/keyed_container.js"(X,V){var u=Kg(),d=/^\w*$/,A=0,k=1,t=2,e=3,r=4;V.exports=function(a,n,o,i){o=o||"name",i=i||"value";var s,c,v,g={};n&&n.length?(v=u(a,n),c=v.get()):c=a,n=n||"";var m={};if(c)for(s=0;s<c.length;s++)m[c[s][o]]=s;var b=d.test(i),l={set:function(x,y){var E=y===null?r:A;if(!c){if(!v||E===r)return;c=[],v.set(c)}var M=m[x];if(M===void 0){if(E===r)return;E=E|e,M=c.length,m[x]=M}else y!==(b?c[M][i]:u(c[M],i).get())&&(E=E|t);var S=c[M]=c[M]||{};return S[o]=x,b?S[i]=y:u(S,i).set(y),y!==null&&(E=E&~r),g[M]=g[M]|E,l},get:function(x){if(c){var y=m[x];if(y!==void 0)return b?c[y][i]:u(c[y],i).get()}},rename:function(x,y){var E=m[x];return E===void 0||(g[E]=g[E]|k,m[y]=E,delete m[x],c[E][o]=y),l},remove:function(x){var y=m[x];if(y===void 0)return l;var E=c[y];if(Object.keys(E).length>2)return g[y]=g[y]|t,l.set(x,null);if(b){for(s=y;s<c.length;s++)g[s]=g[s]|e;for(s=y;s<c.length;s++)m[c[s][o]]--;c.splice(y,1),delete m[x]}else u(E,i).set(null),g[y]=g[y]|t|r;return l},constructUpdate:function(){for(var x,y,E={},M=Object.keys(g),S=0;S<M.length;S++)y=M[S],x=n+"["+y+"]",c[y]?(g[y]&k&&(E[x+"."+o]=c[y][o]),g[y]&t&&(b?E[x+"."+i]=g[y]&r?null:c[y][i]:E[x+"."+i]=g[y]&r?null:u(c[y],i).get())):E[x]=null;return E}};return l}}}),oT=Vt({"src/lib/relative_attr.js"(X,V){var u=/^(.*)(\.[^\.\[\]]+|\[\d\])$/,d=/^[^\.\[\]]+$/;V.exports=function(A,k){for(;k;){var t=A.match(u);if(t)A=t[1];else if(A.match(d))A="";else throw new Error("bad relativeAttr call:"+[A,k]);if(k.charAt(0)==="^")k=k.slice(1);else break}return A&&k.charAt(0)!=="["?A+"."+k:A+k}}}),Zy=Vt({"src/lib/to_log_range.js"(X,V){var u=Ua();V.exports=function(d,A){if(d>0)return Math.log(d)/Math.LN10;var k=Math.log(Math.min(A[0],A[1]))/Math.LN10;return u(k)||(k=Math.log(Math.max(A[0],A[1]))/Math.LN10-6),k}}}),sT=Vt({"src/lib/relink_private.js"(X,V){var u=Sf().isArrayOrTypedArray,d=ld();V.exports=function A(k,t){for(var e in t){var r=t[e],a=k[e];if(a!==r)if(e.charAt(0)==="_"||typeof r=="function"){if(e in k)continue;k[e]=r}else if(u(r)&&u(a)&&d(r[0])){if(e==="customdata"||e==="ids")continue;for(var n=Math.min(r.length,a.length),o=0;o<n;o++)a[o]!==r[o]&&d(r[o])&&d(a[o])&&A(a[o],r[o])}else d(r)&&d(a)&&(A(a,r),Object.keys(a).length||delete k[e])}}}}),zm=Vt({"src/lib/mod.js"(X,V){function u(A,k){var t=A%k;return t<0?t+k:t}function d(A,k){return Math.abs(A)>k/2?A-Math.round(A/k)*k:A}V.exports={mod:u,modHalf:d}}}),Yh=Vt({"node_modules/tinycolor2/tinycolor.js"(X,V){(function(u){var d=/^\s+/,A=/\s+$/,k=0,t=u.round,e=u.min,r=u.max,a=u.random;function n(G,at){if(G=G||"",at=at||{},G instanceof n)return G;if(!(this instanceof n))return new n(G,at);var nt=o(G);this._originalInput=G,this._r=nt.r,this._g=nt.g,this._b=nt.b,this._a=nt.a,this._roundA=t(100*this._a)/100,this._format=at.format||nt.format,this._gradientType=at.gradientType,this._r<1&&(this._r=t(this._r)),this._g<1&&(this._g=t(this._g)),this._b<1&&(this._b=t(this._b)),this._ok=nt.ok,this._tc_id=k++}n.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 G=this.toRgb();return(G.r*299+G.g*587+G.b*114)/1e3},getLuminance:function(){var G=this.toRgb(),at,nt,dt,Tt,wt,Ot;return at=G.r/255,nt=G.g/255,dt=G.b/255,at<=.03928?Tt=at/12.92:Tt=u.pow((at+.055)/1.055,2.4),nt<=.03928?wt=nt/12.92:wt=u.pow((nt+.055)/1.055,2.4),dt<=.03928?Ot=dt/12.92:Ot=u.pow((dt+.055)/1.055,2.4),.2126*Tt+.7152*wt+.0722*Ot},setAlpha:function(G){return this._a=D(G),this._roundA=t(100*this._a)/100,this},toHsv:function(){var G=v(this._r,this._g,this._b);return{h:G.h*360,s:G.s,v:G.v,a:this._a}},toHsvString:function(){var G=v(this._r,this._g,this._b),at=t(G.h*360),nt=t(G.s*100),dt=t(G.v*100);return this._a==1?"hsv("+at+", "+nt+"%, "+dt+"%)":"hsva("+at+", "+nt+"%, "+dt+"%, "+this._roundA+")"},toHsl:function(){var G=s(this._r,this._g,this._b);return{h:G.h*360,s:G.s,l:G.l,a:this._a}},toHslString:function(){var G=s(this._r,this._g,this._b),at=t(G.h*360),nt=t(G.s*100),dt=t(G.l*100);return this._a==1?"hsl("+at+", "+nt+"%, "+dt+"%)":"hsla("+at+", "+nt+"%, "+dt+"%, "+this._roundA+")"},toHex:function(G){return m(this._r,this._g,this._b,G)},toHexString:function(G){return"#"+this.toHex(G)},toHex8:function(G){return b(this._r,this._g,this._b,this._a,G)},toHex8String:function(G){return"#"+this.toHex8(G)},toRgb:function(){return{r:t(this._r),g:t(this._g),b:t(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+t(this._r)+", "+t(this._g)+", "+t(this._b)+")":"rgba("+t(this._r)+", "+t(this._g)+", "+t(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:t(j(this._r,255)*100)+"%",g:t(j(this._g,255)*100)+"%",b:t(j(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+t(j(this._r,255)*100)+"%, "+t(j(this._g,255)*100)+"%, "+t(j(this._b,255)*100)+"%)":"rgba("+t(j(this._r,255)*100)+"%, "+t(j(this._g,255)*100)+"%, "+t(j(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:F[m(this._r,this._g,this._b,!0)]||!1},toFilter:function(G){var at="#"+l(this._r,this._g,this._b,this._a),nt=at,dt=this._gradientType?"GradientType = 1, ":"";if(G){var Tt=n(G);nt="#"+l(Tt._r,Tt._g,Tt._b,Tt._a)}return"progid:DXImageTransform.Microsoft.gradient("+dt+"startColorstr="+at+",endColorstr="+nt+")"},toString:function(G){var at=!!G;G=G||this._format;var nt=!1,dt=this._a<1&&this._a>=0,Tt=!at&&dt&&(G==="hex"||G==="hex6"||G==="hex3"||G==="hex4"||G==="hex8"||G==="name");return Tt?G==="name"&&this._a===0?this.toName():this.toRgbString():(G==="rgb"&&(nt=this.toRgbString()),G==="prgb"&&(nt=this.toPercentageRgbString()),(G==="hex"||G==="hex6")&&(nt=this.toHexString()),G==="hex3"&&(nt=this.toHexString(!0)),G==="hex4"&&(nt=this.toHex8String(!0)),G==="hex8"&&(nt=this.toHex8String()),G==="name"&&(nt=this.toName()),G==="hsl"&&(nt=this.toHslString()),G==="hsv"&&(nt=this.toHsvString()),nt||this.toHexString())},clone:function(){return n(this.toString())},_applyModification:function(G,at){var nt=G.apply(null,[this].concat([].slice.call(at)));return this._r=nt._r,this._g=nt._g,this._b=nt._b,this.setAlpha(nt._a),this},lighten:function(){return this._applyModification(M,arguments)},brighten:function(){return this._applyModification(S,arguments)},darken:function(){return this._applyModification(T,arguments)},desaturate:function(){return this._applyModification(x,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(E,arguments)},spin:function(){return this._applyModification(h,arguments)},_applyCombination:function(G,at){return G.apply(null,[this].concat([].slice.call(at)))},analogous:function(){return this._applyCombination(L,arguments)},complement:function(){return this._applyCombination(f,arguments)},monochromatic:function(){return this._applyCombination(R,arguments)},splitcomplement:function(){return this._applyCombination(z,arguments)},triad:function(){return this._applyCombination(w,arguments)},tetrad:function(){return this._applyCombination(_,arguments)}},n.fromRatio=function(G,at){if(typeof G=="object"){var nt={};for(var dt in G)G.hasOwnProperty(dt)&&(dt==="a"?nt[dt]=G[dt]:nt[dt]=et(G[dt]));G=nt}return n(G,at)};function o(G){var at={r:0,g:0,b:0},nt=1,dt=null,Tt=null,wt=null,Ot=!1,It=!1;return typeof G=="string"&&(G=ut(G)),typeof G=="object"&&(Q(G.r)&&Q(G.g)&&Q(G.b)?(at=i(G.r,G.g,G.b),Ot=!0,It=String(G.r).substr(-1)==="%"?"prgb":"rgb"):Q(G.h)&&Q(G.s)&&Q(G.v)?(dt=et(G.s),Tt=et(G.v),at=g(G.h,dt,Tt),Ot=!0,It="hsv"):Q(G.h)&&Q(G.s)&&Q(G.l)&&(dt=et(G.s),wt=et(G.l),at=c(G.h,dt,wt),Ot=!0,It="hsl"),G.hasOwnProperty("a")&&(nt=G.a)),nt=D(nt),{ok:Ot,format:G.format||It,r:e(255,r(at.r,0)),g:e(255,r(at.g,0)),b:e(255,r(at.b,0)),a:nt}}function i(G,at,nt){return{r:j(G,255)*255,g:j(at,255)*255,b:j(nt,255)*255}}function s(G,at,nt){G=j(G,255),at=j(at,255),nt=j(nt,255);var dt=r(G,at,nt),Tt=e(G,at,nt),wt,Ot,It=(dt+Tt)/2;if(dt==Tt)wt=Ot=0;else{var Ft=dt-Tt;switch(Ot=It>.5?Ft/(2-dt-Tt):Ft/(dt+Tt),dt){case G:wt=(at-nt)/Ft+(at<nt?6:0);break;case at:wt=(nt-G)/Ft+2;break;case nt:wt=(G-at)/Ft+4;break}wt/=6}return{h:wt,s:Ot,l:It}}function c(G,at,nt){var dt,Tt,wt;G=j(G,360),at=j(at,100),nt=j(nt,100);function Ot(ee,Wt,te){return te<0&&(te+=1),te>1&&(te-=1),te<1/6?ee+(Wt-ee)*6*te:te<1/2?Wt:te<2/3?ee+(Wt-ee)*(2/3-te)*6:ee}if(at===0)dt=Tt=wt=nt;else{var It=nt<.5?nt*(1+at):nt+at-nt*at,Ft=2*nt-It;dt=Ot(Ft,It,G+1/3),Tt=Ot(Ft,It,G),wt=Ot(Ft,It,G-1/3)}return{r:dt*255,g:Tt*255,b:wt*255}}function v(G,at,nt){G=j(G,255),at=j(at,255),nt=j(nt,255);var dt=r(G,at,nt),Tt=e(G,at,nt),wt,Ot,It=dt,Ft=dt-Tt;if(Ot=dt===0?0:Ft/dt,dt==Tt)wt=0;else{switch(dt){case G:wt=(at-nt)/Ft+(at<nt?6:0);break;case at:wt=(nt-G)/Ft+2;break;case nt:wt=(G-at)/Ft+4;break}wt/=6}return{h:wt,s:Ot,v:It}}function g(G,at,nt){G=j(G,360)*6,at=j(at,100),nt=j(nt,100);var dt=u.floor(G),Tt=G-dt,wt=nt*(1-at),Ot=nt*(1-Tt*at),It=nt*(1-(1-Tt)*at),Ft=dt%6,ee=[nt,Ot,wt,wt,It,nt][Ft],Wt=[It,nt,nt,Ot,wt,wt][Ft],te=[wt,wt,It,nt,nt,Ot][Ft];return{r:ee*255,g:Wt*255,b:te*255}}function m(G,at,nt,dt){var Tt=[st(t(G).toString(16)),st(t(at).toString(16)),st(t(nt).toString(16))];return dt&&Tt[0].charAt(0)==Tt[0].charAt(1)&&Tt[1].charAt(0)==Tt[1].charAt(1)&&Tt[2].charAt(0)==Tt[2].charAt(1)?Tt[0].charAt(0)+Tt[1].charAt(0)+Tt[2].charAt(0):Tt.join("")}function b(G,at,nt,dt,Tt){var wt=[st(t(G).toString(16)),st(t(at).toString(16)),st(t(nt).toString(16)),st(Z(dt))];return Tt&&wt[0].charAt(0)==wt[0].charAt(1)&&wt[1].charAt(0)==wt[1].charAt(1)&&wt[2].charAt(0)==wt[2].charAt(1)&&wt[3].charAt(0)==wt[3].charAt(1)?wt[0].charAt(0)+wt[1].charAt(0)+wt[2].charAt(0)+wt[3].charAt(0):wt.join("")}function l(G,at,nt,dt){var Tt=[st(Z(dt)),st(t(G).toString(16)),st(t(at).toString(16)),st(t(nt).toString(16))];return Tt.join("")}n.equals=function(G,at){return!G||!at?!1:n(G).toRgbString()==n(at).toRgbString()},n.random=function(){return n.fromRatio({r:a(),g:a(),b:a()})};function x(G,at){at=at===0?0:at||10;var nt=n(G).toHsl();return nt.s-=at/100,nt.s=N(nt.s),n(nt)}function y(G,at){at=at===0?0:at||10;var nt=n(G).toHsl();return nt.s+=at/100,nt.s=N(nt.s),n(nt)}function E(G){return n(G).desaturate(100)}function M(G,at){at=at===0?0:at||10;var nt=n(G).toHsl();return nt.l+=at/100,nt.l=N(nt.l),n(nt)}function S(G,at){at=at===0?0:at||10;var nt=n(G).toRgb();return nt.r=r(0,e(255,nt.r-t(255*-(at/100)))),nt.g=r(0,e(255,nt.g-t(255*-(at/100)))),nt.b=r(0,e(255,nt.b-t(255*-(at/100)))),n(nt)}function T(G,at){at=at===0?0:at||10;var nt=n(G).toHsl();return nt.l-=at/100,nt.l=N(nt.l),n(nt)}function h(G,at){var nt=n(G).toHsl(),dt=(nt.h+at)%360;return nt.h=dt<0?360+dt:dt,n(nt)}function f(G){var at=n(G).toHsl();return at.h=(at.h+180)%360,n(at)}function w(G){var at=n(G).toHsl(),nt=at.h;return[n(G),n({h:(nt+120)%360,s:at.s,l:at.l}),n({h:(nt+240)%360,s:at.s,l:at.l})]}function _(G){var at=n(G).toHsl(),nt=at.h;return[n(G),n({h:(nt+90)%360,s:at.s,l:at.l}),n({h:(nt+180)%360,s:at.s,l:at.l}),n({h:(nt+270)%360,s:at.s,l:at.l})]}function z(G){var at=n(G).toHsl(),nt=at.h;return[n(G),n({h:(nt+72)%360,s:at.s,l:at.l}),n({h:(nt+216)%360,s:at.s,l:at.l})]}function L(G,at,nt){at=at||6,nt=nt||30;var dt=n(G).toHsl(),Tt=360/nt,wt=[n(G)];for(dt.h=(dt.h-(Tt*at>>1)+720)%360;--at;)dt.h=(dt.h+Tt)%360,wt.push(n(dt));return wt}function R(G,at){at=at||6;for(var nt=n(G).toHsv(),dt=nt.h,Tt=nt.s,wt=nt.v,Ot=[],It=1/at;at--;)Ot.push(n({h:dt,s:Tt,v:wt})),wt=(wt+It)%1;return Ot}n.mix=function(G,at,nt){nt=nt===0?0:nt||50;var dt=n(G).toRgb(),Tt=n(at).toRgb(),wt=nt/100,Ot={r:(Tt.r-dt.r)*wt+dt.r,g:(Tt.g-dt.g)*wt+dt.g,b:(Tt.b-dt.b)*wt+dt.b,a:(Tt.a-dt.a)*wt+dt.a};return n(Ot)},n.readability=function(G,at){var nt=n(G),dt=n(at);return(u.max(nt.getLuminance(),dt.getLuminance())+.05)/(u.min(nt.getLuminance(),dt.getLuminance())+.05)},n.isReadable=function(G,at,nt){var dt=n.readability(G,at),Tt,wt;switch(wt=!1,Tt=W(nt),Tt.level+Tt.size){case"AAsmall":case"AAAlarge":wt=dt>=4.5;break;case"AAlarge":wt=dt>=3;break;case"AAAsmall":wt=dt>=7;break}return wt},n.mostReadable=function(G,at,nt){var dt=null,Tt=0,wt,Ot,It,Ft;nt=nt||{},Ot=nt.includeFallbackColors,It=nt.level,Ft=nt.size;for(var ee=0;ee<at.length;ee++)wt=n.readability(G,at[ee]),wt>Tt&&(Tt=wt,dt=n(at[ee]));return n.isReadable(G,dt,{level:It,size:Ft})||!Ot?dt:(nt.includeFallbackColors=!1,n.mostReadable(G,["#fff","#000"],nt))};var B=n.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"},F=n.hexNames=O(B);function O(G){var at={};for(var nt in G)G.hasOwnProperty(nt)&&(at[G[nt]]=nt);return at}function D(G){return G=parseFloat(G),(isNaN(G)||G<0||G>1)&&(G=1),G}function j(G,at){rt(G)&&(G="100%");var nt=ct(G);return G=e(at,r(0,parseFloat(G))),nt&&(G=parseInt(G*at,10)/100),u.abs(G-at)<1e-6?1:G%at/parseFloat(at)}function N(G){return e(1,r(0,G))}function Y(G){return parseInt(G,16)}function rt(G){return typeof G=="string"&&G.indexOf(".")!=-1&&parseFloat(G)===1}function ct(G){return typeof G=="string"&&G.indexOf("%")!=-1}function st(G){return G.length==1?"0"+G:""+G}function et(G){return G<=1&&(G=G*100+"%"),G}function Z(G){return u.round(parseFloat(G)*255).toString(16)}function ot(G){return Y(G)/255}var J=(function(){var G="[-\\+]?\\d+%?",at="[-\\+]?\\d*\\.\\d+%?",nt="(?:"+at+")|(?:"+G+")",dt="[\\s|\\(]+("+nt+")[,|\\s]+("+nt+")[,|\\s]+("+nt+")\\s*\\)?",Tt="[\\s|\\(]+("+nt+")[,|\\s]+("+nt+")[,|\\s]+("+nt+")[,|\\s]+("+nt+")\\s*\\)?";return{CSS_UNIT:new RegExp(nt),rgb:new RegExp("rgb"+dt),rgba:new RegExp("rgba"+Tt),hsl:new RegExp("hsl"+dt),hsla:new RegExp("hsla"+Tt),hsv:new RegExp("hsv"+dt),hsva:new RegExp("hsva"+Tt),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 Q(G){return!!J.CSS_UNIT.exec(G)}function ut(G){G=G.replace(d,"").replace(A,"").toLowerCase();var at=!1;if(B[G])G=B[G],at=!0;else if(G=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var nt;return(nt=J.rgb.exec(G))?{r:nt[1],g:nt[2],b:nt[3]}:(nt=J.rgba.exec(G))?{r:nt[1],g:nt[2],b:nt[3],a:nt[4]}:(nt=J.hsl.exec(G))?{h:nt[1],s:nt[2],l:nt[3]}:(nt=J.hsla.exec(G))?{h:nt[1],s:nt[2],l:nt[3],a:nt[4]}:(nt=J.hsv.exec(G))?{h:nt[1],s:nt[2],v:nt[3]}:(nt=J.hsva.exec(G))?{h:nt[1],s:nt[2],v:nt[3],a:nt[4]}:(nt=J.hex8.exec(G))?{r:Y(nt[1]),g:Y(nt[2]),b:Y(nt[3]),a:ot(nt[4]),format:at?"name":"hex8"}:(nt=J.hex6.exec(G))?{r:Y(nt[1]),g:Y(nt[2]),b:Y(nt[3]),format:at?"name":"hex"}:(nt=J.hex4.exec(G))?{r:Y(nt[1]+""+nt[1]),g:Y(nt[2]+""+nt[2]),b:Y(nt[3]+""+nt[3]),a:ot(nt[4]+""+nt[4]),format:at?"name":"hex8"}:(nt=J.hex3.exec(G))?{r:Y(nt[1]+""+nt[1]),g:Y(nt[2]+""+nt[2]),b:Y(nt[3]+""+nt[3]),format:at?"name":"hex"}:!1}function W(G){var at,nt;return G=G||{level:"AA",size:"small"},at=(G.level||"AA").toUpperCase(),nt=(G.size||"small").toLowerCase(),at!=="AA"&&at!=="AAA"&&(at="AA"),nt!=="small"&&nt!=="large"&&(nt="small"),{level:at,size:nt}}typeof V<"u"&&V.exports?V.exports=n:window.tinycolor=n})(Math)}}),Co=Vt({"src/lib/extend.js"(X){var V=ld(),u=Array.isArray;function d(k,t){var e,r;for(e=0;e<k.length;e++){if(r=k[e],r!==null&&typeof r=="object")return!1;r!==void 0&&(t[e]=r)}return!0}X.extendFlat=function(){return A(arguments,!1,!1,!1)},X.extendDeep=function(){return A(arguments,!0,!1,!1)},X.extendDeepAll=function(){return A(arguments,!0,!0,!1)},X.extendDeepNoArrays=function(){return A(arguments,!0,!1,!0)};function A(k,t,e,r){var a=k[0],n=k.length,o,i,s,c,v,g,m;if(n===2&&u(a)&&u(k[1])&&a.length===0){if(m=d(k[1],a),m)return a;a.splice(0,a.length)}for(var b=1;b<n;b++){o=k[b];for(i in o)s=a[i],c=o[i],r&&u(c)?a[i]=c:t&&c&&(V(c)||(v=u(c)))?(v?(v=!1,g=s&&u(s)?s:[]):g=s&&V(s)?s:{},a[i]=A([g,c],t,e,r)):(typeof c<"u"||e)&&(a[i]=c)}return a}}}),Eu=Vt({"src/plots/font_attributes.js"(X,V){V.exports=function(u){var d=u.variantValues,A=u.editType,k=u.colorEditType;k===void 0&&(k=A);var t={editType:A,valType:"integer",min:1,max:1e3,extras:["normal","bold"],dflt:"normal"};u.noNumericWeightValues&&(t.valType="enumerated",t.values=t.extras,t.extras=void 0,t.min=void 0,t.max=void 0);var e={family:{valType:"string",noBlank:!0,strict:!0,editType:A},size:{valType:"number",min:1,editType:A},color:{valType:"color",editType:k},weight:t,style:{editType:A,valType:"enumerated",values:["normal","italic"],dflt:"normal"},variant:u.noFontVariant?void 0:{editType:A,valType:"enumerated",values:d||["normal","small-caps","all-small-caps","all-petite-caps","petite-caps","unicase"],dflt:"normal"},textcase:u.noFontTextcase?void 0:{editType:A,valType:"enumerated",values:["normal","word caps","upper","lower"],dflt:"normal"},lineposition:u.noFontLineposition?void 0:{editType:A,valType:"flaglist",flags:["under","over","through"],extras:["none"],dflt:"none"},shadow:u.noFontShadow?void 0:{editType:A,valType:"string",dflt:u.autoShadowDflt?"auto":"none"},editType:A};return u.autoSize&&(e.size.dflt="auto"),u.autoColor&&(e.color.dflt="auto"),u.arrayOk&&(e.family.arrayOk=!0,e.weight.arrayOk=!0,e.style.arrayOk=!0,u.noFontVariant||(e.variant.arrayOk=!0),u.noFontTextcase||(e.textcase.arrayOk=!0),u.noFontLineposition||(e.lineposition.arrayOk=!0),u.noFontShadow||(e.shadow.arrayOk=!0),e.size.arrayOk=!0,e.color.arrayOk=!0),e}}}),Jg=Vt({"src/components/fx/constants.js"(X,V){V.exports={YANGLE:60,HOVERARROWSIZE:6,HOVERTEXTPAD:3,HOVERFONTSIZE:13,HOVERFONT:"Arial, sans-serif",HOVERMINTIME:50,HOVERID:"-hover"}}}),qd=Vt({"src/components/fx/layout_attributes.js"(X,V){var u=Jg(),d=Eu(),A=d({editType:"none"});A.family.dflt=u.HOVERFONT,A.size.dflt=u.HOVERFONTSIZE,V.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:A,grouptitlefont:d({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"}}}}),Pm=Vt({"src/components/fx/attributes.js"(X,V){var u=Eu(),d=qd().hoverlabel,A=Co().extendFlat;V.exports={hoverlabel:{bgcolor:A({},d.bgcolor,{arrayOk:!0}),bordercolor:A({},d.bordercolor,{arrayOk:!0}),font:u({arrayOk:!0,editType:"none"}),align:A({},d.align,{arrayOk:!0}),namelength:A({},d.namelength,{arrayOk:!0}),showarrow:A({},d.showarrow),editType:"none"}}}}),Pl=Vt({"src/plots/attributes.js"(X,V){var u=Eu(),d=Pm();V.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:u({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:d.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"}}}}),A0=Vt({"src/components/colorscale/scales.js"(X,V){var u=Yh(),d={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)"]]},A=d.RdBu;function k(r,a){if(a||(a=A),!r)return a;function n(){try{r=d[r]||JSON.parse(r)}catch{r=a}}return typeof r=="string"&&(n(),typeof r=="string"&&n()),t(r)?r:a}function t(r){var a=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 n=0;n<r.length;n++){var o=r[n];if(o.length!==2||+o[0]<a||!u(o[1]).isValid())return!1;a=+o[0]}return!0}function e(r){return d[r]!==void 0?!0:t(r)}V.exports={scales:d,defaultScale:A,get:k,isValid:e}}}),Th=Vt({"src/components/color/attributes.js"(X){X.defaults=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],X.defaultLine="#444",X.lightLine="#eee",X.background="#fff",X.borderLine="#BEC8D9",X.lightFraction=1e3/11}}),Pa=Vt({"src/components/color/index.js"(X,V){var u=Yh(),d=Ua(),A=Sf().isTypedArray,k=V.exports={},t=Th();k.defaults=t.defaults;var e=k.defaultLine=t.defaultLine;k.lightLine=t.lightLine;var r=k.background=t.background;k.tinyRGB=function(n){var o=n.toRgb();return"rgb("+Math.round(o.r)+", "+Math.round(o.g)+", "+Math.round(o.b)+")"},k.rgb=function(n){return k.tinyRGB(u(n))},k.opacity=function(n){return n?u(n).getAlpha():0},k.addOpacity=function(n,o){var i=u(n).toRgb();return"rgba("+Math.round(i.r)+", "+Math.round(i.g)+", "+Math.round(i.b)+", "+o+")"},k.combine=function(n,o){var i=u(n).toRgb();if(i.a===1)return u(n).toRgbString();var s=u(o||r).toRgb(),c=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},v={r:c.r*(1-i.a)+i.r*i.a,g:c.g*(1-i.a)+i.g*i.a,b:c.b*(1-i.a)+i.b*i.a};return u(v).toRgbString()},k.interpolate=function(n,o,i){var s=u(n).toRgb(),c=u(o).toRgb(),v={r:i*s.r+(1-i)*c.r,g:i*s.g+(1-i)*c.g,b:i*s.b+(1-i)*c.b};return u(v).toRgbString()},k.contrast=function(n,o,i){var s=u(n);s.getAlpha()!==1&&(s=u(k.combine(n,r)));var c=s.isDark()?o?s.lighten(o):r:i?s.darken(i):e;return c.toString()},k.stroke=function(n,o){var i=u(o);n.style({stroke:k.tinyRGB(i),"stroke-opacity":i.getAlpha()})},k.fill=function(n,o){var i=u(o);n.style({fill:k.tinyRGB(i),"fill-opacity":i.getAlpha()})},k.clean=function(n){if(!(!n||typeof n!="object")){var o=Object.keys(n),i,s,c,v;for(i=0;i<o.length;i++)if(c=o[i],v=n[c],c.substr(c.length-5)==="color")if(Array.isArray(v))for(s=0;s<v.length;s++)v[s]=a(v[s]);else n[c]=a(v);else if(c.substr(c.length-10)==="colorscale"&&Array.isArray(v))for(s=0;s<v.length;s++)Array.isArray(v[s])&&(v[s][1]=a(v[s][1]));else if(Array.isArray(v)){var g=v[0];if(!Array.isArray(g)&&g&&typeof g=="object")for(s=0;s<v.length;s++)k.clean(v[s])}else v&&typeof v=="object"&&!A(v)&&k.clean(v)}};function a(n){if(d(n)||typeof n!="string")return n;var o=n.trim();if(o.substr(0,3)!=="rgb")return n;var i=o.match(/^rgba?\s*\(([^()]*)\)$/);if(!i)return n;var s=i[1].trim().split(/\s*[\s,]\s*/),c=o.charAt(3)==="a"&&s.length===4;if(!c&&s.length!==3)return n;for(var v=0;v<s.length;v++){if(!s[v].length||(s[v]=Number(s[v]),!(s[v]>=0)))return n;if(v===3)s[v]>1&&(s[v]=1);else if(s[v]>=1)return n}var g=Math.round(s[0]*255)+", "+Math.round(s[1]*255)+", "+Math.round(s[2]*255);return c?"rgba("+g+", "+s[3]+")":"rgb("+g+")"}}}),Gd=Vt({"src/constants/interactions.js"(X,V){V.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}}}),Rm=Vt({"src/lib/regex.js"(X){X.counter=function(V,u,d,A){var k=(u||"")+(d?"":"$"),t=A===!1?"":"^";return V==="xy"?new RegExp(t+"x([2-9]|[1-9][0-9]+)?y([2-9]|[1-9][0-9]+)?"+k):new RegExp(t+V+"([2-9]|[1-9][0-9]+)?"+k)}}}),lT=Vt({"src/lib/coerce.js"(X){var V=Ua(),u=Yh(),d=Co().extendFlat,A=Pl(),k=A0(),t=Pa(),e=Gd().DESELECTDIM,r=Kg(),a=Rm().counter,n=zm().modHalf,o=Sf().isArrayOrTypedArray,i=Sf().isTypedArraySpec,s=Sf().decodeTypedArraySpec;X.valObjectMeta={data_array:{coerceFunction:function(v,g,m){g.set(o(v)?v:i(v)?s(v):m)}},enumerated:{coerceFunction:function(v,g,m,b){b.coerceNumber&&(v=+v),b.values.indexOf(v)===-1?g.set(m):g.set(v)},validateFunction:function(v,g){g.coerceNumber&&(v=+v);for(var m=g.values,b=0;b<m.length;b++){var l=String(m[b]);if(l.charAt(0)==="/"&&l.charAt(l.length-1)==="/"){var x=new RegExp(l.substr(1,l.length-2));if(x.test(v))return!0}else if(v===m[b])return!0}return!1}},boolean:{coerceFunction:function(v,g,m){v===!0||v===!1?g.set(v):g.set(m)}},number:{coerceFunction:function(v,g,m,b){i(v)&&(v=s(v)),!V(v)||b.min!==void 0&&v<b.min||b.max!==void 0&&v>b.max?g.set(m):g.set(+v)}},integer:{coerceFunction:function(v,g,m,b){if((b.extras||[]).indexOf(v)!==-1){g.set(v);return}i(v)&&(v=s(v)),v%1||!V(v)||b.min!==void 0&&v<b.min||b.max!==void 0&&v>b.max?g.set(m):g.set(+v)}},string:{coerceFunction:function(v,g,m,b){if(typeof v!="string"){var l=typeof v=="number";b.strict===!0||!l?g.set(m):g.set(String(v))}else b.noBlank&&!v?g.set(m):g.set(v)}},color:{coerceFunction:function(v,g,m){i(v)&&(v=s(v)),u(v).isValid()?g.set(v):g.set(m)}},colorlist:{coerceFunction:function(v,g,m){function b(l){return u(l).isValid()}!Array.isArray(v)||!v.length?g.set(m):v.every(b)?g.set(v):g.set(m)}},colorscale:{coerceFunction:function(v,g,m){g.set(k.get(v,m))}},angle:{coerceFunction:function(v,g,m){i(v)&&(v=s(v)),v==="auto"?g.set("auto"):V(v)?g.set(n(+v,360)):g.set(m)}},subplotid:{coerceFunction:function(v,g,m,b){var l=b.regex||a(m);if(typeof v=="string"&&l.test(v)){g.set(v);return}g.set(m)},validateFunction:function(v,g){var m=g.dflt;return v===m?!0:typeof v!="string"?!1:!!a(m).test(v)}},flaglist:{coerceFunction:function(v,g,m,b){if((b.extras||[]).indexOf(v)!==-1){g.set(v);return}if(typeof v!="string"){g.set(m);return}for(var l=v.split("+"),x=0;x<l.length;){var y=l[x];b.flags.indexOf(y)===-1||l.indexOf(y)<x?l.splice(x,1):x++}l.length?g.set(l.join("+")):g.set(m)}},any:{coerceFunction:function(v,g,m){v===void 0?g.set(m):g.set(i(v)?s(v):v)}},info_array:{coerceFunction:function(v,g,m,b){function l(B,F,O){var D,j={set:function(N){D=N}};return O===void 0&&(O=F.dflt),X.valObjectMeta[F.valType].coerceFunction(B,j,O,F),D}if(i(v)&&(v=s(v)),!o(v)){g.set(m);return}var x=b.dimensions===2||b.dimensions==="1-2"&&Array.isArray(v)&&o(v[0]),y=b.items,E=[],M=Array.isArray(y),S=M&&x&&o(y[0]),T=x&&M&&!S,h=M&&!T?y.length:v.length,f,w,_,z,L,R;if(m=Array.isArray(m)?m:[],x)for(f=0;f<h;f++)for(E[f]=[],_=o(v[f])?v[f]:[],T?L=y.length:M?L=y[f].length:L=_.length,w=0;w<L;w++)T?z=y[w]:M?z=y[f][w]:z=y,R=l(_[w],z,(m[f]||[])[w]),R!==void 0&&(E[f][w]=R);else for(f=0;f<h;f++)R=l(v[f],M?y[f]:y,m[f]),R!==void 0&&(E[f]=R);g.set(E)},validateFunction:function(v,g){if(!o(v))return!1;var m=g.items,b=Array.isArray(m),l=g.dimensions===2;if(!g.freeLength&&v.length!==m.length)return!1;for(var x=0;x<v.length;x++)if(l){if(!o(v[x])||!g.freeLength&&v[x].length!==m[x].length)return!1;for(var y=0;y<v[x].length;y++)if(!c(v[x][y],b?m[x][y]:m))return!1}else if(!c(v[x],b?m[x]:m))return!1;return!0}}},X.coerce=function(v,g,m,b,l){var x=r(m,b).get(),y=r(v,b),E=r(g,b),M=y.get(),S=g._template;if(M===void 0&&S&&(M=r(S,b).get(),S=0),l===void 0&&(l=x.dflt),x.arrayOk){if(o(M))return E.set(M),M;if(i(M))return M=s(M),E.set(M),M}var T=X.valObjectMeta[x.valType].coerceFunction;T(M,E,l,x);var h=E.get();return S&&h===l&&!c(M,x)&&(M=r(S,b).get(),T(M,E,l,x),h=E.get()),h},X.coerce2=function(v,g,m,b,l){var x=r(v,b),y=X.coerce(v,g,m,b,l),E=x.get();return E!=null?y:!1},X.coerceFont=function(v,g,m,b){b||(b={}),m=d({},m),m=d(m,b.overrideDflt||{});var l={family:v(g+".family",m.family),size:v(g+".size",m.size),color:v(g+".color",m.color),weight:v(g+".weight",m.weight),style:v(g+".style",m.style)};if(b.noFontVariant||(l.variant=v(g+".variant",m.variant)),b.noFontLineposition||(l.lineposition=v(g+".lineposition",m.lineposition)),b.noFontTextcase||(l.textcase=v(g+".textcase",m.textcase)),!b.noFontShadow){var x=m.shadow;x==="none"&&b.autoShadowDflt&&(x="auto"),l.shadow=v(g+".shadow",x)}return l},X.coercePattern=function(v,g,m,b){var l=v(g+".shape"),x;if(l||(x=v(g+".path")),l||x){l&&v(g+".solidity"),v(g+".size");var y=v(g+".fillmode"),E=y==="overlay";if(!b){var M=v(g+".bgcolor",E?m:void 0);v(g+".fgcolor",E?t.contrast(M):m)}v(g+".fgopacity",E?.5:1)}},X.coerceHoverinfo=function(v,g,m){var b=g._module.attributes,l=b.hoverinfo?b:A,x=l.hoverinfo,y;if(m._dataLength===1){var E=x.dflt==="all"?x.flags.slice():x.dflt.split("+");E.splice(E.indexOf("name"),1),y=E.join("+")}return X.coerce(v,g,l,"hoverinfo",y)},X.coerceSelectionMarkerOpacity=function(v,g){if(v.marker){var m=v.marker.opacity;if(m!==void 0){var b,l;!o(m)&&!v.selected&&!v.unselected&&(b=m,l=e*m),g("selected.marker.opacity",b),g("unselected.marker.opacity",l)}}};function c(v,g){var m=X.valObjectMeta[g.valType];if(g.arrayOk&&o(v))return!0;if(m.validateFunction)return m.validateFunction(v,g);var b={},l=b,x={set:function(y){l=y}};return m.coerceFunction(v,x,b,g),l!==b}X.validate=c}}),E0=Vt({"src/plot_api/plot_config.js"(X,V){var u={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:{}}},d={};function A(k,t){for(var e in k){var r=k[e];r.valType?t[e]=r.dflt:(t[e]||(t[e]={}),A(r,t[e]))}}A(u,d),V.exports={configAttributes:u,dfltConfig:d}}}),lb=Vt({"src/lib/notifier.js"(X,V){var u=Ki(),d=Ua(),A=[];V.exports=function(k,t){if(A.indexOf(k)!==-1)return;A.push(k);var e=1e3;d(t)?e=t:t==="long"&&(e=3e3);var r=u.select("body").selectAll(".plotly-notifier").data([0]);r.enter().append("div").classed("plotly-notifier",!0);var a=r.selectAll(".notifier-note").data(A);function n(o){o.duration(700).style("opacity",0).each("end",function(i){var s=A.indexOf(i);s!==-1&&A.splice(s,1),u.select(this).remove()})}a.enter().append("div").classed("notifier-note",!0).style("opacity",0).each(function(o){var i=u.select(this);i.append("button").classed("notifier-close",!0).html("×").on("click",function(){i.transition().call(n)});for(var s=i.append("p"),c=o.split(/<br\s*\/?>/g),v=0;v<c.length;v++)v&&s.append("br"),s.append("span").text(c[v]);t==="stick"?i.transition().duration(350).style("opacity",1):i.transition().duration(700).style("opacity",1).transition().delay(e).call(n)})}}}),Hd=Vt({"src/lib/loggers.js"(X,V){var u=E0().dfltConfig,d=lb(),A=V.exports={};A.log=function(){var k;if(u.logging>1){var t=["LOG:"];for(k=0;k<arguments.length;k++)t.push(arguments[k]);console.trace.apply(console,t)}if(u.notifyOnLogging>1){var e=[];for(k=0;k<arguments.length;k++)e.push(arguments[k]);d(e.join("<br>"),"long")}},A.warn=function(){var k;if(u.logging>0){var t=["WARN:"];for(k=0;k<arguments.length;k++)t.push(arguments[k]);console.trace.apply(console,t)}if(u.notifyOnLogging>0){var e=[];for(k=0;k<arguments.length;k++)e.push(arguments[k]);d(e.join("<br>"),"stick")}},A.error=function(){var k;if(u.logging>0){var t=["ERROR:"];for(k=0;k<arguments.length;k++)t.push(arguments[k]);console.error.apply(console,t)}if(u.notifyOnLogging>0){var e=[];for(k=0;k<arguments.length;k++)e.push(arguments[k]);d(e.join("<br>"),"stick")}}}}),Ky=Vt({"src/lib/noop.js"(X,V){V.exports=function(){}}}),ub=Vt({"src/lib/push_unique.js"(X,V){V.exports=function(u,d){if(d instanceof RegExp){for(var A=d.toString(),k=0;k<u.length;k++)if(u[k]instanceof RegExp&&u[k].toString()===A)return u;u.push(d)}else(d||d===0)&&u.indexOf(d)===-1&&u.push(d);return u}}}),uT=Vt({"node_modules/gl-mat4/create.js"(X,V){V.exports=u;function u(){var d=new Float32Array(16);return d[0]=1,d[1]=0,d[2]=0,d[3]=0,d[4]=0,d[5]=1,d[6]=0,d[7]=0,d[8]=0,d[9]=0,d[10]=1,d[11]=0,d[12]=0,d[13]=0,d[14]=0,d[15]=1,d}}}),cT=Vt({"node_modules/gl-mat4/clone.js"(X,V){V.exports=u;function u(d){var A=new Float32Array(16);return A[0]=d[0],A[1]=d[1],A[2]=d[2],A[3]=d[3],A[4]=d[4],A[5]=d[5],A[6]=d[6],A[7]=d[7],A[8]=d[8],A[9]=d[9],A[10]=d[10],A[11]=d[11],A[12]=d[12],A[13]=d[13],A[14]=d[14],A[15]=d[15],A}}}),hT=Vt({"node_modules/gl-mat4/copy.js"(X,V){V.exports=u;function u(d,A){return d[0]=A[0],d[1]=A[1],d[2]=A[2],d[3]=A[3],d[4]=A[4],d[5]=A[5],d[6]=A[6],d[7]=A[7],d[8]=A[8],d[9]=A[9],d[10]=A[10],d[11]=A[11],d[12]=A[12],d[13]=A[13],d[14]=A[14],d[15]=A[15],d}}}),cb=Vt({"node_modules/gl-mat4/identity.js"(X,V){V.exports=u;function u(d){return d[0]=1,d[1]=0,d[2]=0,d[3]=0,d[4]=0,d[5]=1,d[6]=0,d[7]=0,d[8]=0,d[9]=0,d[10]=1,d[11]=0,d[12]=0,d[13]=0,d[14]=0,d[15]=1,d}}}),fT=Vt({"node_modules/gl-mat4/transpose.js"(X,V){V.exports=u;function u(d,A){if(d===A){var k=A[1],t=A[2],e=A[3],r=A[6],a=A[7],n=A[11];d[1]=A[4],d[2]=A[8],d[3]=A[12],d[4]=k,d[6]=A[9],d[7]=A[13],d[8]=t,d[9]=r,d[11]=A[14],d[12]=e,d[13]=a,d[14]=n}else d[0]=A[0],d[1]=A[4],d[2]=A[8],d[3]=A[12],d[4]=A[1],d[5]=A[5],d[6]=A[9],d[7]=A[13],d[8]=A[2],d[9]=A[6],d[10]=A[10],d[11]=A[14],d[12]=A[3],d[13]=A[7],d[14]=A[11],d[15]=A[15];return d}}}),pT=Vt({"node_modules/gl-mat4/invert.js"(X,V){V.exports=u;function u(d,A){var k=A[0],t=A[1],e=A[2],r=A[3],a=A[4],n=A[5],o=A[6],i=A[7],s=A[8],c=A[9],v=A[10],g=A[11],m=A[12],b=A[13],l=A[14],x=A[15],y=k*n-t*a,E=k*o-e*a,M=k*i-r*a,S=t*o-e*n,T=t*i-r*n,h=e*i-r*o,f=s*b-c*m,w=s*l-v*m,_=s*x-g*m,z=c*l-v*b,L=c*x-g*b,R=v*x-g*l,B=y*R-E*L+M*z+S*_-T*w+h*f;return B?(B=1/B,d[0]=(n*R-o*L+i*z)*B,d[1]=(e*L-t*R-r*z)*B,d[2]=(b*h-l*T+x*S)*B,d[3]=(v*T-c*h-g*S)*B,d[4]=(o*_-a*R-i*w)*B,d[5]=(k*R-e*_+r*w)*B,d[6]=(l*M-m*h-x*E)*B,d[7]=(s*h-v*M+g*E)*B,d[8]=(a*L-n*_+i*f)*B,d[9]=(t*_-k*L-r*f)*B,d[10]=(m*T-b*M+x*y)*B,d[11]=(c*M-s*T-g*y)*B,d[12]=(n*w-a*z-o*f)*B,d[13]=(k*z-t*w+e*f)*B,d[14]=(b*E-m*S-l*y)*B,d[15]=(s*S-c*E+v*y)*B,d):null}}}),dT=Vt({"node_modules/gl-mat4/adjoint.js"(X,V){V.exports=u;function u(d,A){var k=A[0],t=A[1],e=A[2],r=A[3],a=A[4],n=A[5],o=A[6],i=A[7],s=A[8],c=A[9],v=A[10],g=A[11],m=A[12],b=A[13],l=A[14],x=A[15];return d[0]=n*(v*x-g*l)-c*(o*x-i*l)+b*(o*g-i*v),d[1]=-(t*(v*x-g*l)-c*(e*x-r*l)+b*(e*g-r*v)),d[2]=t*(o*x-i*l)-n*(e*x-r*l)+b*(e*i-r*o),d[3]=-(t*(o*g-i*v)-n*(e*g-r*v)+c*(e*i-r*o)),d[4]=-(a*(v*x-g*l)-s*(o*x-i*l)+m*(o*g-i*v)),d[5]=k*(v*x-g*l)-s*(e*x-r*l)+m*(e*g-r*v),d[6]=-(k*(o*x-i*l)-a*(e*x-r*l)+m*(e*i-r*o)),d[7]=k*(o*g-i*v)-a*(e*g-r*v)+s*(e*i-r*o),d[8]=a*(c*x-g*b)-s*(n*x-i*b)+m*(n*g-i*c),d[9]=-(k*(c*x-g*b)-s*(t*x-r*b)+m*(t*g-r*c)),d[10]=k*(n*x-i*b)-a*(t*x-r*b)+m*(t*i-r*n),d[11]=-(k*(n*g-i*c)-a*(t*g-r*c)+s*(t*i-r*n)),d[12]=-(a*(c*l-v*b)-s*(n*l-o*b)+m*(n*v-o*c)),d[13]=k*(c*l-v*b)-s*(t*l-e*b)+m*(t*v-e*c),d[14]=-(k*(n*l-o*b)-a*(t*l-e*b)+m*(t*o-e*n)),d[15]=k*(n*v-o*c)-a*(t*v-e*c)+s*(t*o-e*n),d}}}),mT=Vt({"node_modules/gl-mat4/determinant.js"(X,V){V.exports=u;function u(d){var A=d[0],k=d[1],t=d[2],e=d[3],r=d[4],a=d[5],n=d[6],o=d[7],i=d[8],s=d[9],c=d[10],v=d[11],g=d[12],m=d[13],b=d[14],l=d[15],x=A*a-k*r,y=A*n-t*r,E=A*o-e*r,M=k*n-t*a,S=k*o-e*a,T=t*o-e*n,h=i*m-s*g,f=i*b-c*g,w=i*l-v*g,_=s*b-c*m,z=s*l-v*m,L=c*l-v*b;return x*L-y*z+E*_+M*w-S*f+T*h}}}),gT=Vt({"node_modules/gl-mat4/multiply.js"(X,V){V.exports=u;function u(d,A,k){var t=A[0],e=A[1],r=A[2],a=A[3],n=A[4],o=A[5],i=A[6],s=A[7],c=A[8],v=A[9],g=A[10],m=A[11],b=A[12],l=A[13],x=A[14],y=A[15],E=k[0],M=k[1],S=k[2],T=k[3];return d[0]=E*t+M*n+S*c+T*b,d[1]=E*e+M*o+S*v+T*l,d[2]=E*r+M*i+S*g+T*x,d[3]=E*a+M*s+S*m+T*y,E=k[4],M=k[5],S=k[6],T=k[7],d[4]=E*t+M*n+S*c+T*b,d[5]=E*e+M*o+S*v+T*l,d[6]=E*r+M*i+S*g+T*x,d[7]=E*a+M*s+S*m+T*y,E=k[8],M=k[9],S=k[10],T=k[11],d[8]=E*t+M*n+S*c+T*b,d[9]=E*e+M*o+S*v+T*l,d[10]=E*r+M*i+S*g+T*x,d[11]=E*a+M*s+S*m+T*y,E=k[12],M=k[13],S=k[14],T=k[15],d[12]=E*t+M*n+S*c+T*b,d[13]=E*e+M*o+S*v+T*l,d[14]=E*r+M*i+S*g+T*x,d[15]=E*a+M*s+S*m+T*y,d}}}),vT=Vt({"node_modules/gl-mat4/translate.js"(X,V){V.exports=u;function u(d,A,k){var t=k[0],e=k[1],r=k[2],a,n,o,i,s,c,v,g,m,b,l,x;return A===d?(d[12]=A[0]*t+A[4]*e+A[8]*r+A[12],d[13]=A[1]*t+A[5]*e+A[9]*r+A[13],d[14]=A[2]*t+A[6]*e+A[10]*r+A[14],d[15]=A[3]*t+A[7]*e+A[11]*r+A[15]):(a=A[0],n=A[1],o=A[2],i=A[3],s=A[4],c=A[5],v=A[6],g=A[7],m=A[8],b=A[9],l=A[10],x=A[11],d[0]=a,d[1]=n,d[2]=o,d[3]=i,d[4]=s,d[5]=c,d[6]=v,d[7]=g,d[8]=m,d[9]=b,d[10]=l,d[11]=x,d[12]=a*t+s*e+m*r+A[12],d[13]=n*t+c*e+b*r+A[13],d[14]=o*t+v*e+l*r+A[14],d[15]=i*t+g*e+x*r+A[15]),d}}}),yT=Vt({"node_modules/gl-mat4/scale.js"(X,V){V.exports=u;function u(d,A,k){var t=k[0],e=k[1],r=k[2];return d[0]=A[0]*t,d[1]=A[1]*t,d[2]=A[2]*t,d[3]=A[3]*t,d[4]=A[4]*e,d[5]=A[5]*e,d[6]=A[6]*e,d[7]=A[7]*e,d[8]=A[8]*r,d[9]=A[9]*r,d[10]=A[10]*r,d[11]=A[11]*r,d[12]=A[12],d[13]=A[13],d[14]=A[14],d[15]=A[15],d}}}),xT=Vt({"node_modules/gl-mat4/rotate.js"(X,V){V.exports=u;function u(d,A,k,t){var e=t[0],r=t[1],a=t[2],n=Math.sqrt(e*e+r*r+a*a),o,i,s,c,v,g,m,b,l,x,y,E,M,S,T,h,f,w,_,z,L,R,B,F;return Math.abs(n)<1e-6?null:(n=1/n,e*=n,r*=n,a*=n,o=Math.sin(k),i=Math.cos(k),s=1-i,c=A[0],v=A[1],g=A[2],m=A[3],b=A[4],l=A[5],x=A[6],y=A[7],E=A[8],M=A[9],S=A[10],T=A[11],h=e*e*s+i,f=r*e*s+a*o,w=a*e*s-r*o,_=e*r*s-a*o,z=r*r*s+i,L=a*r*s+e*o,R=e*a*s+r*o,B=r*a*s-e*o,F=a*a*s+i,d[0]=c*h+b*f+E*w,d[1]=v*h+l*f+M*w,d[2]=g*h+x*f+S*w,d[3]=m*h+y*f+T*w,d[4]=c*_+b*z+E*L,d[5]=v*_+l*z+M*L,d[6]=g*_+x*z+S*L,d[7]=m*_+y*z+T*L,d[8]=c*R+b*B+E*F,d[9]=v*R+l*B+M*F,d[10]=g*R+x*B+S*F,d[11]=m*R+y*B+T*F,A!==d&&(d[12]=A[12],d[13]=A[13],d[14]=A[14],d[15]=A[15]),d)}}}),_T=Vt({"node_modules/gl-mat4/rotateX.js"(X,V){V.exports=u;function u(d,A,k){var t=Math.sin(k),e=Math.cos(k),r=A[4],a=A[5],n=A[6],o=A[7],i=A[8],s=A[9],c=A[10],v=A[11];return A!==d&&(d[0]=A[0],d[1]=A[1],d[2]=A[2],d[3]=A[3],d[12]=A[12],d[13]=A[13],d[14]=A[14],d[15]=A[15]),d[4]=r*e+i*t,d[5]=a*e+s*t,d[6]=n*e+c*t,d[7]=o*e+v*t,d[8]=i*e-r*t,d[9]=s*e-a*t,d[10]=c*e-n*t,d[11]=v*e-o*t,d}}}),bT=Vt({"node_modules/gl-mat4/rotateY.js"(X,V){V.exports=u;function u(d,A,k){var t=Math.sin(k),e=Math.cos(k),r=A[0],a=A[1],n=A[2],o=A[3],i=A[8],s=A[9],c=A[10],v=A[11];return A!==d&&(d[4]=A[4],d[5]=A[5],d[6]=A[6],d[7]=A[7],d[12]=A[12],d[13]=A[13],d[14]=A[14],d[15]=A[15]),d[0]=r*e-i*t,d[1]=a*e-s*t,d[2]=n*e-c*t,d[3]=o*e-v*t,d[8]=r*t+i*e,d[9]=a*t+s*e,d[10]=n*t+c*e,d[11]=o*t+v*e,d}}}),wT=Vt({"node_modules/gl-mat4/rotateZ.js"(X,V){V.exports=u;function u(d,A,k){var t=Math.sin(k),e=Math.cos(k),r=A[0],a=A[1],n=A[2],o=A[3],i=A[4],s=A[5],c=A[6],v=A[7];return A!==d&&(d[8]=A[8],d[9]=A[9],d[10]=A[10],d[11]=A[11],d[12]=A[12],d[13]=A[13],d[14]=A[14],d[15]=A[15]),d[0]=r*e+i*t,d[1]=a*e+s*t,d[2]=n*e+c*t,d[3]=o*e+v*t,d[4]=i*e-r*t,d[5]=s*e-a*t,d[6]=c*e-n*t,d[7]=v*e-o*t,d}}}),TT=Vt({"node_modules/gl-mat4/fromRotation.js"(X,V){V.exports=u;function u(d,A,k){var t,e,r,a=k[0],n=k[1],o=k[2],i=Math.sqrt(a*a+n*n+o*o);return Math.abs(i)<1e-6?null:(i=1/i,a*=i,n*=i,o*=i,t=Math.sin(A),e=Math.cos(A),r=1-e,d[0]=a*a*r+e,d[1]=n*a*r+o*t,d[2]=o*a*r-n*t,d[3]=0,d[4]=a*n*r-o*t,d[5]=n*n*r+e,d[6]=o*n*r+a*t,d[7]=0,d[8]=a*o*r+n*t,d[9]=n*o*r-a*t,d[10]=o*o*r+e,d[11]=0,d[12]=0,d[13]=0,d[14]=0,d[15]=1,d)}}}),MT=Vt({"node_modules/gl-mat4/fromRotationTranslation.js"(X,V){V.exports=u;function u(d,A,k){var t=A[0],e=A[1],r=A[2],a=A[3],n=t+t,o=e+e,i=r+r,s=t*n,c=t*o,v=t*i,g=e*o,m=e*i,b=r*i,l=a*n,x=a*o,y=a*i;return d[0]=1-(g+b),d[1]=c+y,d[2]=v-x,d[3]=0,d[4]=c-y,d[5]=1-(s+b),d[6]=m+l,d[7]=0,d[8]=v+x,d[9]=m-l,d[10]=1-(s+g),d[11]=0,d[12]=k[0],d[13]=k[1],d[14]=k[2],d[15]=1,d}}}),kT=Vt({"node_modules/gl-mat4/fromScaling.js"(X,V){V.exports=u;function u(d,A){return d[0]=A[0],d[1]=0,d[2]=0,d[3]=0,d[4]=0,d[5]=A[1],d[6]=0,d[7]=0,d[8]=0,d[9]=0,d[10]=A[2],d[11]=0,d[12]=0,d[13]=0,d[14]=0,d[15]=1,d}}}),ST=Vt({"node_modules/gl-mat4/fromTranslation.js"(X,V){V.exports=u;function u(d,A){return d[0]=1,d[1]=0,d[2]=0,d[3]=0,d[4]=0,d[5]=1,d[6]=0,d[7]=0,d[8]=0,d[9]=0,d[10]=1,d[11]=0,d[12]=A[0],d[13]=A[1],d[14]=A[2],d[15]=1,d}}}),AT=Vt({"node_modules/gl-mat4/fromXRotation.js"(X,V){V.exports=u;function u(d,A){var k=Math.sin(A),t=Math.cos(A);return d[0]=1,d[1]=0,d[2]=0,d[3]=0,d[4]=0,d[5]=t,d[6]=k,d[7]=0,d[8]=0,d[9]=-k,d[10]=t,d[11]=0,d[12]=0,d[13]=0,d[14]=0,d[15]=1,d}}}),ET=Vt({"node_modules/gl-mat4/fromYRotation.js"(X,V){V.exports=u;function u(d,A){var k=Math.sin(A),t=Math.cos(A);return d[0]=t,d[1]=0,d[2]=-k,d[3]=0,d[4]=0,d[5]=1,d[6]=0,d[7]=0,d[8]=k,d[9]=0,d[10]=t,d[11]=0,d[12]=0,d[13]=0,d[14]=0,d[15]=1,d}}}),LT=Vt({"node_modules/gl-mat4/fromZRotation.js"(X,V){V.exports=u;function u(d,A){var k=Math.sin(A),t=Math.cos(A);return d[0]=t,d[1]=k,d[2]=0,d[3]=0,d[4]=-k,d[5]=t,d[6]=0,d[7]=0,d[8]=0,d[9]=0,d[10]=1,d[11]=0,d[12]=0,d[13]=0,d[14]=0,d[15]=1,d}}}),CT=Vt({"node_modules/gl-mat4/fromQuat.js"(X,V){V.exports=u;function u(d,A){var k=A[0],t=A[1],e=A[2],r=A[3],a=k+k,n=t+t,o=e+e,i=k*a,s=t*a,c=t*n,v=e*a,g=e*n,m=e*o,b=r*a,l=r*n,x=r*o;return d[0]=1-c-m,d[1]=s+x,d[2]=v-l,d[3]=0,d[4]=s-x,d[5]=1-i-m,d[6]=g+b,d[7]=0,d[8]=v+l,d[9]=g-b,d[10]=1-i-c,d[11]=0,d[12]=0,d[13]=0,d[14]=0,d[15]=1,d}}}),IT=Vt({"node_modules/gl-mat4/frustum.js"(X,V){V.exports=u;function u(d,A,k,t,e,r,a){var n=1/(k-A),o=1/(e-t),i=1/(r-a);return d[0]=r*2*n,d[1]=0,d[2]=0,d[3]=0,d[4]=0,d[5]=r*2*o,d[6]=0,d[7]=0,d[8]=(k+A)*n,d[9]=(e+t)*o,d[10]=(a+r)*i,d[11]=-1,d[12]=0,d[13]=0,d[14]=a*r*2*i,d[15]=0,d}}}),OT=Vt({"node_modules/gl-mat4/perspective.js"(X,V){V.exports=u;function u(d,A,k,t,e){var r=1/Math.tan(A/2),a=1/(t-e);return d[0]=r/k,d[1]=0,d[2]=0,d[3]=0,d[4]=0,d[5]=r,d[6]=0,d[7]=0,d[8]=0,d[9]=0,d[10]=(e+t)*a,d[11]=-1,d[12]=0,d[13]=0,d[14]=2*e*t*a,d[15]=0,d}}}),zT=Vt({"node_modules/gl-mat4/perspectiveFromFieldOfView.js"(X,V){V.exports=u;function u(d,A,k,t){var e=Math.tan(A.upDegrees*Math.PI/180),r=Math.tan(A.downDegrees*Math.PI/180),a=Math.tan(A.leftDegrees*Math.PI/180),n=Math.tan(A.rightDegrees*Math.PI/180),o=2/(a+n),i=2/(e+r);return d[0]=o,d[1]=0,d[2]=0,d[3]=0,d[4]=0,d[5]=i,d[6]=0,d[7]=0,d[8]=-((a-n)*o*.5),d[9]=(e-r)*i*.5,d[10]=t/(k-t),d[11]=-1,d[12]=0,d[13]=0,d[14]=t*k/(k-t),d[15]=0,d}}}),PT=Vt({"node_modules/gl-mat4/ortho.js"(X,V){V.exports=u;function u(d,A,k,t,e,r,a){var n=1/(A-k),o=1/(t-e),i=1/(r-a);return d[0]=-2*n,d[1]=0,d[2]=0,d[3]=0,d[4]=0,d[5]=-2*o,d[6]=0,d[7]=0,d[8]=0,d[9]=0,d[10]=2*i,d[11]=0,d[12]=(A+k)*n,d[13]=(e+t)*o,d[14]=(a+r)*i,d[15]=1,d}}}),RT=Vt({"node_modules/gl-mat4/lookAt.js"(X,V){var u=cb();V.exports=d;function d(A,k,t,e){var r,a,n,o,i,s,c,v,g,m,b=k[0],l=k[1],x=k[2],y=e[0],E=e[1],M=e[2],S=t[0],T=t[1],h=t[2];return Math.abs(b-S)<1e-6&&Math.abs(l-T)<1e-6&&Math.abs(x-h)<1e-6?u(A):(c=b-S,v=l-T,g=x-h,m=1/Math.sqrt(c*c+v*v+g*g),c*=m,v*=m,g*=m,r=E*g-M*v,a=M*c-y*g,n=y*v-E*c,m=Math.sqrt(r*r+a*a+n*n),m?(m=1/m,r*=m,a*=m,n*=m):(r=0,a=0,n=0),o=v*n-g*a,i=g*r-c*n,s=c*a-v*r,m=Math.sqrt(o*o+i*i+s*s),m?(m=1/m,o*=m,i*=m,s*=m):(o=0,i=0,s=0),A[0]=r,A[1]=o,A[2]=c,A[3]=0,A[4]=a,A[5]=i,A[6]=v,A[7]=0,A[8]=n,A[9]=s,A[10]=g,A[11]=0,A[12]=-(r*b+a*l+n*x),A[13]=-(o*b+i*l+s*x),A[14]=-(c*b+v*l+g*x),A[15]=1,A)}}}),DT=Vt({"node_modules/gl-mat4/str.js"(X,V){V.exports=u;function u(d){return"mat4("+d[0]+", "+d[1]+", "+d[2]+", "+d[3]+", "+d[4]+", "+d[5]+", "+d[6]+", "+d[7]+", "+d[8]+", "+d[9]+", "+d[10]+", "+d[11]+", "+d[12]+", "+d[13]+", "+d[14]+", "+d[15]+")"}}}),hb=Vt({"node_modules/gl-mat4/index.js"(X,V){V.exports={create:uT(),clone:cT(),copy:hT(),identity:cb(),transpose:fT(),invert:pT(),adjoint:dT(),determinant:mT(),multiply:gT(),translate:vT(),scale:yT(),rotate:xT(),rotateX:_T(),rotateY:bT(),rotateZ:wT(),fromRotation:TT(),fromRotationTranslation:MT(),fromScaling:kT(),fromTranslation:ST(),fromXRotation:AT(),fromYRotation:ET(),fromZRotation:LT(),fromQuat:CT(),frustum:IT(),perspective:OT(),perspectiveFromFieldOfView:zT(),ortho:PT(),lookAt:RT(),str:DT()}}}),Jy=Vt({"src/lib/matrix.js"(X){var V=hb();X.init2dArray=function(u,d){for(var A=new Array(u),k=0;k<u;k++)A[k]=new Array(d);return A},X.transposeRagged=function(u){var d=0,A=u.length,k,t;for(k=0;k<A;k++)d=Math.max(d,u[k].length);var e=new Array(d);for(k=0;k<d;k++)for(e[k]=new Array(A),t=0;t<A;t++)e[k][t]=u[t][k];return e},X.dot=function(u,d){if(!(u.length&&d.length)||u.length!==d.length)return null;var A=u.length,k,t;if(u[0].length)for(k=new Array(A),t=0;t<A;t++)k[t]=X.dot(u[t],d);else if(d[0].length){var e=X.transposeRagged(d);for(k=new Array(e.length),t=0;t<e.length;t++)k[t]=X.dot(u,e[t])}else for(k=0,t=0;t<A;t++)k+=u[t]*d[t];return k},X.translationMatrix=function(u,d){return[[1,0,u],[0,1,d],[0,0,1]]},X.rotationMatrix=function(u){var d=u*Math.PI/180;return[[Math.cos(d),-Math.sin(d),0],[Math.sin(d),Math.cos(d),0],[0,0,1]]},X.rotationXYMatrix=function(u,d,A){return X.dot(X.dot(X.translationMatrix(d,A),X.rotationMatrix(u)),X.translationMatrix(-d,-A))},X.apply3DTransform=function(u){return function(){var d=arguments,A=arguments.length===1?d[0]:[d[0],d[1],d[2]||0];return X.dot(u,[A[0],A[1],A[2],1]).slice(0,3)}},X.apply2DTransform=function(u){return function(){var d=arguments;d.length===3&&(d=d[0]);var A=arguments.length===1?d[0]:[d[0],d[1]];return X.dot(u,[A[0],A[1],1]).slice(0,2)}},X.apply2DTransform2=function(u){var d=X.apply2DTransform(u);return function(A){return d(A.slice(0,2)).concat(d(A.slice(2,4)))}},X.convertCssMatrix=function(u){if(u){var d=u.length;if(d===16)return u;if(d===6)return[u[0],u[1],0,0,u[2],u[3],0,0,0,0,1,0,u[4],u[5],0,1]}return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]},X.inverseTransformMatrix=function(u){var d=[];return V.invert(d,u),[[d[0],d[1],d[2],d[3]],[d[4],d[5],d[6],d[7]],[d[8],d[9],d[10],d[11]],[d[12],d[13],d[14],d[15]]]}}}),$g=Vt({"src/lib/dom.js"(X,V){var u=Ki(),d=Hd(),A=Jy(),k=hb();function t(b){var l;if(typeof b=="string"){if(l=document.getElementById(b),l===null)throw new Error("No DOM element with id '"+b+"' exists on the page.");return l}else if(b==null)throw new Error("DOM element provided is null or undefined");return b}function e(b){var l=u.select(b);return l.node()instanceof HTMLElement&&l.size()&&l.classed("js-plotly-plot")}function r(b){var l=b&&b.parentNode;l&&l.removeChild(b)}function a(b,l){n("global",b,l)}function n(b,l,x){var y="plotly.js-style-"+b,E=document.getElementById(y);if(!(E&&E.matches(".no-inline-styles"))){E||(E=document.createElement("style"),E.setAttribute("id",y),E.appendChild(document.createTextNode("")),document.head.appendChild(E));var M=E.sheet;M?M.insertRule?M.insertRule(l+"{"+x+"}",0):M.addRule?M.addRule(l,x,0):d.warn("addStyleRule failed"):d.warn("Cannot addRelatedStyleRule, probably due to strict CSP...")}}function o(b){var l="plotly.js-style-"+b,x=document.getElementById(l);x&&r(x)}function i(b,l,x,y,E,M){var S=y.split(":"),T=E.split(":"),h="data-btn-style-event-added";M||(M=document),M.querySelectorAll(b).forEach(function(f){f.getAttribute(h)||(f.addEventListener("mouseenter",function(){var w=this.querySelector(x);w&&(w.style[S[0]]=S[1])}),f.addEventListener("mouseleave",function(){var w=this.querySelector(x);w&&(l&&this.matches(l)?w.style[S[0]]=S[1]:w.style[T[0]]=T[1])}),f.setAttribute(h,!0))})}function s(b){var l=v(b),x=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];return l.forEach(function(y){var E=c(y);if(E){var M=A.convertCssMatrix(E);x=k.multiply(x,x,M)}}),x}function c(b){var l=window.getComputedStyle(b,null),x=l.getPropertyValue("-webkit-transform")||l.getPropertyValue("-moz-transform")||l.getPropertyValue("-ms-transform")||l.getPropertyValue("-o-transform")||l.getPropertyValue("transform");return x==="none"?null:x.replace("matrix","").replace("3d","").slice(1,-1).split(",").map(function(y){return+y})}function v(b){for(var l=[];g(b);)l.push(b),b=b.parentNode,typeof ShadowRoot=="function"&&b instanceof ShadowRoot&&(b=b.host);return l}function g(b){return b&&(b instanceof Element||b instanceof HTMLElement)}function m(b,l){return b&&l&&b.top===l.top&&b.left===l.left&&b.right===l.right&&b.bottom===l.bottom}V.exports={getGraphDiv:t,isPlotDiv:e,removeElement:r,addStyleRule:a,addRelatedStyleRule:n,deleteRelatedStyleRule:o,setStyleOnHover:i,getFullTransformMatrix:s,getElementTransformMatrix:c,getElementAndAncestors:v,equalDomRects:m}}}),Wg=Vt({"src/plots/animation_attributes.js"(X,V){V.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"}}}}}),Uu=Vt({"src/plot_api/edit_types.js"(X,V){var u=Co().extendFlat,d=ld(),A={valType:"flaglist",extras:["none"],flags:["calc","clearAxisTypes","plot","style","markerSize","colorbars"]},k={valType:"flaglist",extras:["none"],flags:["calc","plot","legend","ticks","axrange","layoutstyle","modebar","camera","arraydraw","colorbars"]},t=A.flags.slice().concat(["fullReplot"]),e=k.flags.slice().concat("layoutReplot");V.exports={traces:A,layout:k,traceFlags:function(){return r(t)},layoutFlags:function(){return r(e)},update:function(o,i){var s=i.editType;if(s&&s!=="none")for(var c=s.split("+"),v=0;v<c.length;v++)o[c[v]]=!0},overrideAll:a};function r(o){for(var i={},s=0;s<o.length;s++)i[o[s]]=!1;return i}function a(o,i,s){var c=u({},o);for(var v in c){var g=c[v];d(g)&&(c[v]=n(g,i,s,v))}return s==="from-root"&&(c.editType=i),c}function n(o,i,s,c){if(o.valType){var v=u({},o);if(v.editType=i,Array.isArray(o.items)){v.items=new Array(o.items.length);for(var g=0;g<o.items.length;g++)v.items[g]=n(o.items[g],i)}return v}else return a(o,i,c.charAt(0)==="_"?"nested":"from-root")}}}),Qh=Vt({"src/components/drawing/attributes.js"(X){X.dash={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"},X.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"}}}),fb=Vt({"src/constants/docs.js"(X,V){V.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"}}}),Rl=Vt({"src/plots/template_attributes.js"(X){var{DATE_FORMAT_LINK:V,FORMAT_LINK:u}=fb(),d=["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 A({supportOther:k}={}){return["Variables are inserted using %{variable},",'for example "y: %{y}"'+(k?" 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}".`,u,"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}".`,V,"for details on the date formatting syntax.",d].join(" ")}X.templateFormatStringDescription=A,X.hovertemplateAttrs=({editType:k="none",arrayOk:t}={},e={})=>Qo({valType:"string",dflt:"",editType:k},t!==!1?{arrayOk:!0}:{}),X.texttemplateAttrs=({editType:k="calc",arrayOk:t}={},e={})=>Qo({valType:"string",dflt:"",editType:k},t!==!1?{arrayOk:!0}:{}),X.shapeTexttemplateAttrs=({editType:k="arraydraw",newshape:t}={},e={})=>({valType:"string",dflt:"",editType:k}),X.templatefallbackAttrs=({editType:k="none"}={})=>({valType:"any",dflt:"-",editType:k})}}),$y=Vt({"src/components/shapes/label_texttemplate.js"(X,V){function u(x,y){return y?y.d2l(x):x}function d(x,y){return y?y.l2d(x):x}function A(x){return x.x0}function k(x){return x.x1}function t(x){return x.y0}function e(x){return x.y1}function r(x){return x.x0shift||0}function a(x){return x.x1shift||0}function n(x){return x.y0shift||0}function o(x){return x.y1shift||0}function i(x,y){return u(x.x1,y)+a(x)-u(x.x0,y)-r(x)}function s(x,y,E){return u(x.y1,E)+o(x)-u(x.y0,E)-n(x)}function c(x,y){return Math.abs(i(x,y))}function v(x,y,E){return Math.abs(s(x,y,E))}function g(x,y,E){return x.type!=="line"?void 0:Math.sqrt(Math.pow(i(x,y),2)+Math.pow(s(x,y,E),2))}function m(x,y){return d((u(x.x1,y)+a(x)+u(x.x0,y)+r(x))/2,y)}function b(x,y,E){return d((u(x.y1,E)+o(x)+u(x.y0,E)+n(x))/2,E)}function l(x,y,E){return x.type!=="line"?void 0:s(x,y,E)/i(x,y)}V.exports={x0:A,x1:k,y0:t,y1:e,slope:l,dx:i,dy:s,width:c,height:v,length:g,xcenter:m,ycenter:b}}}),BT=Vt({"src/components/shapes/draw_newshape/attributes.js"(X,V){var u=Uu().overrideAll,d=Pl(),A=Eu(),k=Qh().dash,t=Co().extendFlat,{shapeTexttemplateAttrs:e,templatefallbackAttrs:r}=Rl(),a=$y();V.exports=u({newshape:{visible:t({},d.visible,{}),showlegend:{valType:"boolean",dflt:!1},legend:t({},d.legend,{}),legendgroup:t({},d.legendgroup,{}),legendgrouptitle:{text:t({},d.legendgrouptitle.text,{}),font:A({})},legendrank:t({},d.legendrank,{}),legendwidth:t({},d.legendwidth,{}),line:{color:{valType:"color"},width:{valType:"number",min:0,dflt:4},dash:t({},k,{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:t({},d.name,{}),label:{text:{valType:"string",dflt:""},texttemplate:e({newshape:!0},{keys:Object.keys(a)}),texttemplatefallback:r({editType:"arraydraw"}),font:A({}),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")}}),FT=Vt({"src/components/selections/draw_newselection/attributes.js"(X,V){var u=Qh().dash,d=Co().extendFlat;V.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:d({},u,{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"}}}}),Wy=Vt({"src/plots/pad_attributes.js"(X,V){V.exports=function(u){var d=u.editType;return{t:{valType:"number",dflt:0,editType:d},r:{valType:"number",dflt:0,editType:d},b:{valType:"number",dflt:0,editType:d},l:{valType:"number",dflt:0,editType:d},editType:d}}}}),Dm=Vt({"src/plots/layout_attributes.js"(X,V){var u=Eu(),d=Wg(),A=Th(),k=BT(),t=FT(),e=Wy(),r=Co().extendFlat,a=u({editType:"calc"});a.family.dflt='"Open Sans", verdana, arial, sans-serif',a.size.dflt=12,a.color.dflt=A.defaultLine,V.exports={font:a,title:{text:{valType:"string",editType:"layoutstyle"},font:u({editType:"layoutstyle"}),subtitle:{text:{valType:"string",editType:"layoutstyle"},font:u({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(e({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:A.background,editType:"plot"},plot_bgcolor:{valType:"color",dflt:A.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:A.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:k.newshape,activeshape:k.activeshape,newselection:t.newselection,activeselection:t.activeselection,meta:{valType:"any",arrayOk:!0,editType:"plot"},transition:r({},d.transition,{editType:"none"})}}}),jT=Vt({"node_modules/maplibre-gl/dist/maplibre-gl.css"(){(function(){if(!document.getElementById("8431bff7cc77ea8693f8122c6e0981316b936a0a4930625e08b1512d134062bc")){var X=document.createElement("style");X.id="8431bff7cc77ea8693f8122c6e0981316b936a0a4930625e08b1512d134062bc",X.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(X)}})()}}),Va=Vt({"src/registry.js"(X){var V=Hd(),u=Ky(),d=ub(),A=ld(),k=$g().addStyleRule,t=Co(),e=Pl(),r=Dm(),a=t.extendFlat,n=t.extendDeepAll;X.modules={},X.allCategories={},X.allTypes=[],X.subplotsRegistry={},X.componentsRegistry={},X.layoutArrayContainers=[],X.layoutArrayRegexes=[],X.traceLayoutAttributes={},X.localeRegistry={},X.apiMethodRegistry={},X.collectableSubplotTypes=null,X.register=function(x){if(X.collectableSubplotTypes=null,x)x&&!Array.isArray(x)&&(x=[x]);else throw new Error("No argument passed to Plotly.register.");for(var y=0;y<x.length;y++){var E=x[y];if(!E)throw new Error("Invalid module was attempted to be registered!");switch(E.moduleType){case"trace":o(E);break;case"transform":c(E);break;case"component":s(E);break;case"locale":v(E);break;case"apiMethod":var M=E.name;X.apiMethodRegistry[M]=E.fn;break;default:throw new Error("Invalid module was attempted to be registered!")}}},X.getModule=function(x){var y=X.modules[l(x)];return y?y._module:!1},X.traceIs=function(x,y){if(x=l(x),x==="various")return!1;var E=X.modules[x];return E||(x&&V.log("Unrecognized trace type "+x+"."),E=X.modules[e.type.dflt]),!!E.categories[y]},X.getComponentMethod=function(x,y){var E=X.componentsRegistry[x];return E&&E[y]||u},X.call=function(){var x=arguments[0],y=[].slice.call(arguments,1);return X.apiMethodRegistry[x].apply(null,y)};function o(x){var y=x.name,E=x.categories,M=x.meta;if(X.modules[y]){V.log("Type "+y+" already registered");return}X.subplotsRegistry[x.basePlotModule.name]||i(x.basePlotModule);for(var S={},T=0;T<E.length;T++)S[E[T]]=!0,X.allCategories[E[T]]=!0;X.modules[y]={_module:x,categories:S},M&&Object.keys(M).length&&(X.modules[y].meta=M),X.allTypes.push(y);for(var h in X.componentsRegistry)m(h,y);x.layoutAttributes&&a(X.traceLayoutAttributes,x.layoutAttributes);var f=x.basePlotModule,w=f.name;if(w==="mapbox"){var _=f.constants.styleRules;for(var z in _)k(".js-plotly-plot .plotly .mapboxgl-"+z,_[z])}w==="map"&&jT(),(w==="geo"||w==="mapbox"||w==="map")&&window.PlotlyGeoAssets===void 0&&(window.PlotlyGeoAssets={topojson:{}})}function i(x){var y=x.name;if(X.subplotsRegistry[y]){V.log("Plot type "+y+" already registered.");return}g(x),X.subplotsRegistry[y]=x;for(var E in X.componentsRegistry)b(E,x.name)}function s(x){if(typeof x.name!="string")throw new Error("Component module *name* must be a string.");var y=x.name;X.componentsRegistry[y]=x,x.layoutAttributes&&(x.layoutAttributes._isLinkedToArray&&d(X.layoutArrayContainers,y),g(x));for(var E in X.modules)m(y,E);for(var M in X.subplotsRegistry)b(y,M);x.schema&&x.schema.layout&&n(r,x.schema.layout)}function c(x){if(typeof x.name!="string")throw new Error("Transform module *name* must be a string.");var y="Transform module "+x.name,E=typeof x.transform=="function",M=typeof x.calcTransform=="function";if(!E&&!M)throw new Error(y+" is missing a *transform* or *calcTransform* method.");E&&M&&V.log([y+" has both a *transform* and *calcTransform* methods.","Please note that all *transform* methods are executed","before all *calcTransform* methods."].join(" ")),A(x.attributes)||V.log(y+" registered without an *attributes* object."),typeof x.supplyDefaults!="function"&&V.log(y+" registered without a *supplyDefaults* method.")}function v(x){var y=x.name,E=y.split("-")[0],M=x.dictionary,S=x.format,T=M&&Object.keys(M).length,h=S&&Object.keys(S).length,f=X.localeRegistry,w=f[y];if(w||(f[y]=w={}),E!==y){var _=f[E];_||(f[E]=_={}),T&&_.dictionary===w.dictionary&&(_.dictionary=M),h&&_.format===w.format&&(_.format=S)}T&&(w.dictionary=M),h&&(w.format=S)}function g(x){if(x.layoutAttributes){var y=x.layoutAttributes._arrayAttrRegexps;if(y)for(var E=0;E<y.length;E++)d(X.layoutArrayRegexes,y[E])}}function m(x,y){var E=X.componentsRegistry[x].schema;if(!(!E||!E.traces)){var M=E.traces[y];M&&n(X.modules[y]._module.attributes,M)}}function b(x,y){var E=X.componentsRegistry[x].schema;if(!(!E||!E.subplots)){var M=X.subplotsRegistry[y],S=M.layoutAttributes,T=M.attr==="subplot"?M.name:M.attr;Array.isArray(T)&&(T=T[0]);var h=E.subplots[T];S&&h&&n(S,h)}}function l(x){return typeof x=="object"&&(x=x.type),x}}}),NT=Vt({"src/lib/dates.js"(X){var V=ts().timeFormat,u=Ua(),d=Hd(),A=zm().mod,k=es(),t=k.BADNUM,e=k.ONEDAY,r=k.ONEHOUR,a=k.ONEMIN,n=k.ONESEC,o=k.EPOCHJD,i=Va(),s=ts().utcFormat,c=/^\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,v=/^\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,g=new Date().getFullYear()-70;function m(B){return B&&i.componentsRegistry.calendars&&typeof B=="string"&&B!=="gregorian"}X.dateTick0=function(B,F){var O=b(B,!!F);if(F<2)return O;var D=X.dateTime2ms(O,B);return D+=e*(F-1),X.ms2DateTime(D,0,B)};function b(B,F){return m(B)?F?i.getComponentMethod("calendars","CANONICAL_SUNDAY")[B]:i.getComponentMethod("calendars","CANONICAL_TICK")[B]:F?"2000-01-02":"2000-01-01"}X.dfltRange=function(B){return m(B)?i.getComponentMethod("calendars","DFLTRANGE")[B]:["2000-01-01","2001-01-01"]},X.isJSDate=function(B){return typeof B=="object"&&B!==null&&typeof B.getTime=="function"};var l,x;X.dateTime2ms=function(B,F){if(X.isJSDate(B)){var O=B.getTimezoneOffset()*a,D=(B.getUTCMinutes()-B.getMinutes())*a+(B.getUTCSeconds()-B.getSeconds())*n+(B.getUTCMilliseconds()-B.getMilliseconds());if(D){var j=3*a;O=O-j/2+A(D-O+j/2,j)}return B=Number(B)-O,B>=l&&B<=x?B:t}if(typeof B!="string"&&typeof B!="number")return t;B=String(B);var N=m(F),Y=B.charAt(0);N&&(Y==="G"||Y==="g")&&(B=B.substr(1),F="");var rt=N&&F.substr(0,7)==="chinese",ct=B.match(rt?v:c);if(!ct)return t;var st=ct[1],et=ct[3]||"1",Z=Number(ct[5]||1),ot=Number(ct[7]||0),J=Number(ct[9]||0),Q=Number(ct[11]||0);if(N){if(st.length===2)return t;st=Number(st);var ut;try{var W=i.getComponentMethod("calendars","getCal")(F);if(rt){var G=et.charAt(et.length-1)==="i";et=parseInt(et,10),ut=W.newDate(st,W.toMonthIndex(st,et,G),Z)}else ut=W.newDate(st,Number(et),Z)}catch{return t}return ut?(ut.toJD()-o)*e+ot*r+J*a+Q*n:t}st.length===2?st=(Number(st)+2e3-g)%100+g:st=Number(st),et-=1;var at=new Date(Date.UTC(2e3,et,Z,ot,J));return at.setUTCFullYear(st),at.getUTCMonth()!==et||at.getUTCDate()!==Z?t:at.getTime()+Q*n},l=X.MIN_MS=X.dateTime2ms("-9999"),x=X.MAX_MS=X.dateTime2ms("9999-12-31 23:59:59.9999"),X.isDateTime=function(B,F){return X.dateTime2ms(B,F)!==t};function y(B,F){return String(B+Math.pow(10,F)).substr(1)}var E=90*e,M=3*r,S=5*a;X.ms2DateTime=function(B,F,O){if(typeof B!="number"||!(B>=l&&B<=x))return t;F||(F=0);var D=Math.floor(A(B+.05,1)*10),j=Math.round(B-D/10),N,Y,rt,ct,st,et;if(m(O)){var Z=Math.floor(j/e)+o,ot=Math.floor(A(B,e));try{N=i.getComponentMethod("calendars","getCal")(O).fromJD(Z).formatDate("yyyy-mm-dd")}catch{N=s("G%Y-%m-%d")(new Date(j))}if(N.charAt(0)==="-")for(;N.length<11;)N="-0"+N.substr(1);else for(;N.length<10;)N="0"+N;Y=F<E?Math.floor(ot/r):0,rt=F<E?Math.floor(ot%r/a):0,ct=F<M?Math.floor(ot%a/n):0,st=F<S?ot%n*10+D:0}else et=new Date(j),N=s("%Y-%m-%d")(et),Y=F<E?et.getUTCHours():0,rt=F<E?et.getUTCMinutes():0,ct=F<M?et.getUTCSeconds():0,st=F<S?et.getUTCMilliseconds()*10+D:0;return T(N,Y,rt,ct,st)},X.ms2DateTimeLocal=function(B){if(!(B>=l+e&&B<=x-e))return t;var F=Math.floor(A(B+.05,1)*10),O=new Date(Math.round(B-F/10)),D=V("%Y-%m-%d")(O),j=O.getHours(),N=O.getMinutes(),Y=O.getSeconds(),rt=O.getUTCMilliseconds()*10+F;return T(D,j,N,Y,rt)};function T(B,F,O,D,j){if((F||O||D||j)&&(B+=" "+y(F,2)+":"+y(O,2),(D||j)&&(B+=":"+y(D,2),j))){for(var N=4;j%10===0;)N-=1,j/=10;B+="."+y(j,N)}return B}X.cleanDate=function(B,F,O){if(B===t)return F;if(X.isJSDate(B)||typeof B=="number"&&isFinite(B)){if(m(O))return d.error("JS Dates and milliseconds are incompatible with world calendars",B),F;if(B=X.ms2DateTimeLocal(+B),!B&&F!==void 0)return F}else if(!X.isDateTime(B,O))return d.error("unrecognized date",B),F;return B};var h=/%\d?f/g,f=/%h/g,w={1:"1",2:"1",3:"2",4:"2"};function _(B,F,O,D){B=B.replace(h,function(N){var Y=Math.min(+N.charAt(1)||6,6),rt=(F/1e3%1+2).toFixed(Y).substr(2).replace(/0+$/,"")||"0";return rt});var j=new Date(Math.floor(F+.05));if(B=B.replace(f,function(){return w[O("%q")(j)]}),m(D))try{B=i.getComponentMethod("calendars","worldCalFmt")(B,F,D)}catch{return"Invalid"}return O(B)(j)}var z=[59,59.9,59.99,59.999,59.9999];function L(B,F){var O=A(B+.05,e),D=y(Math.floor(O/r),2)+":"+y(A(Math.floor(O/a),60),2);if(F!=="M"){u(F)||(F=0);var j=Math.min(A(B/n,60),z[F]),N=(100+j).toFixed(F).substr(1);F>0&&(N=N.replace(/0+$/,"").replace(/[\.]$/,"")),D+=":"+N}return D}X.formatDate=function(B,F,O,D,j,N){if(j=m(j)&&j,!F)if(O==="y")F=N.year;else if(O==="m")F=N.month;else if(O==="d")F=N.dayMonth+`
|