@preschen/gen-vis 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
var t={854:(t,e,n)=>{n.d(e,{Z:()=>s});var r=n(81),i=n.n(r),o=n(645),a=n.n(o)()(i());a.push([t.id,".vis-inner[data-v-6b719c92]{position:relative;display:inline-block}.vis-inner .debug[data-v-6b719c92]{font-size:12px}.vis-inner[data-v-6b719c92] svg g.axis-position-bottom g.tick line{transform:translate(0px, -4px)}.vis-inner[data-v-6b719c92] svg g.axis-position-top g.tick line{transform:translate(0px, 5px)}.vis-inner[data-v-6b719c92] svg g.axis-position-right g.tick line{transform:translate(-4px, 0px)}.vis-inner[data-v-6b719c92] svg g.axis-position-bottom g.tick line{transform:translate(0px, -4px)}.vis-inner[data-v-6b719c92] svg g.axis-position-left g.tick line{transform:translate(5px, 0px)}.vis-inner[data-v-6b719c92] svg g.tick text{font-size:13px}.vis-inner[data-v-6b719c92] svg .axis-title{font-size:13px}.vis-inner[data-v-6b719c92] svg g.group[data-visible=false],.vis-inner[data-v-6b719c92] svg path[data-visible=false]{opacity:.01}.vis-inner[data-v-6b719c92] svg g.grid{stroke:#ccc;stroke-width:.75px}.vis-inner[data-v-6b719c92] svg g.hoverMarker line{stroke-width:.75px;stroke:#aaa}",""]);const s=a},137:(t,e,n)=>{n.d(e,{Z:()=>s});var r=n(81),i=n.n(r),o=n(645),a=n.n(o)()(i());a.push([t.id,".formElement[data-v-4bf43b49]{font-size:13px;margin:6px 4px}.formElement .title[data-v-4bf43b49]{font-weight:bold;margin-right:5px;display:inline-block}.formElement .entries[data-v-4bf43b49]{display:inline-block}.formElement .entries>div[data-v-4bf43b49]{display:inline-block;margin-right:5px}.formElement .entries>div input[data-v-4bf43b49]{position:relative;display:inline-block;top:1px}",""]);const s=a},119:(t,e,n)=>{n.d(e,{Z:()=>s});var r=n(81),i=n.n(r),o=n(645),a=n.n(o)()(i());a.push([t.id,".hover[data-v-b25a8ab0]{position:absolute;top:0px;font-size:13px;background-color:rgba(255,255,255,.8);top:40%;pointer-events:none}.hover .title[data-v-b25a8ab0]{font-weight:bold;padding:1px 3px;border-bottom:2px solid #000;text-align:center}.hover[data-v-b25a8ab0] table{border-collapse:collapse;margin-left:auto;margin-right:auto}.hover[data-v-b25a8ab0] table tr.nearest{font-weight:bold}.hover[data-v-b25a8ab0] table tr td{text-align:left;padding:1px 5px}.hover[data-v-b25a8ab0] table tr td.value{text-align:right}.hover[data-v-b25a8ab0] table tr td.y{text-align:right}.hover[data-v-b25a8ab0] table tr td:first-child{border-left:0}",""]);const s=a},574:(t,e,n)=>{n.d(e,{Z:()=>s});var r=n(81),i=n.n(r),o=n(645),a=n.n(o)()(i());a.push([t.id,".legend .title[data-v-c27ae710]{font-weight:bold;font-size:13px;margin:3px;position:relative}.legend .entries>div[data-v-c27ae710]{cursor:pointer;display:inline-block;margin:0px 5px}.legend .entries>div[data-visible=false][data-v-c27ae710]{opacity:.3}.legend .entries>div span[data-v-c27ae710]{top:-4px;display:inline-block;position:relative;font-size:13px}.legend .entries>div.bold[data-v-c27ae710]{font-weight:bold}",""]);const s=a},582:(t,e,n)=>{n.d(e,{Z:()=>s});var r=n(81),i=n.n(r),o=n(645),a=n.n(o)()(i());a.push([t.id,"svg[data-v-5ffe5c5e]{display:inline-block;margin-right:5px}",""]);const s=a},674:(t,e,n)=>{n.d(e,{Z:()=>s});var r=n(81),i=n.n(r),o=n(645),a=n.n(o)()(i());a.push([t.id,".vis[data-v-4e2c80a1] text,.vis[data-v-4e2c80a1] span,.vis[data-v-4e2c80a1] div{font-family:Century Gothic,sans-serif}.vis-header[data-v-4e2c80a1]{margin-bottom:10px}.vis-header .title[data-v-4e2c80a1]{font-size:22px;font-weight:bold}.vis-header .subtitle[data-v-4e2c80a1]{font-size:13px;margin-top:3px}.vis-footer span[data-v-4e2c80a1]{font-size:13px}.facet-title[data-v-4e2c80a1]{font-size:13px;font-weight:bold;margin-top:8px}",""]);const s=a},645:t=>{t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,r,i,o){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(a[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);r&&a[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),i&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=i):l[4]="".concat(i)),e.push(l))}},e}},81:t=>{t.exports=function(t){return t[1]}},996:t=>{var e=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===n}(t)}(t)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(t,e){return!1!==e.clone&&e.isMergeableObject(t)?s((n=t,Array.isArray(n)?[]:{}),t,e):t;var n}function i(t,e,n){return t.concat(e).map((function(t){return r(t,n)}))}function o(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(e){return t.propertyIsEnumerable(e)})):[]}(t))}function a(t,e){try{return e in t}catch(t){return!1}}function s(t,n,c){(c=c||{}).arrayMerge=c.arrayMerge||i,c.isMergeableObject=c.isMergeableObject||e,c.cloneUnlessOtherwiseSpecified=r;var u=Array.isArray(n);return u===Array.isArray(t)?u?c.arrayMerge(t,n,c):function(t,e,n){var i={};return n.isMergeableObject(t)&&o(t).forEach((function(e){i[e]=r(t[e],n)})),o(e).forEach((function(o){(function(t,e){return a(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,o)||(a(t,o)&&n.isMergeableObject(e[o])?i[o]=function(t,e){if(!e.customMerge)return s;var n=e.customMerge(t);return"function"==typeof n?n:s}(o,n)(t[o],e[o],n):i[o]=r(e[o],n))})),i}(t,n,c):r(n,c)}s.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,n){return s(t,n,e)}),{})};var c=s;t.exports=c},230:t=>{t.exports="object"==typeof self?self.FormData:window.FormData},379:t=>{var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var o={},a=[],s=0;s<t.length;s++){var c=t[s],u=r.base?c[0]+r.base:c[0],l=o[u]||0,f="".concat(u," ").concat(l);o[u]=l+1;var h=n(f),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)e[h].references++,e[h].updater(d);else{var p=i(d,r);r.byIndex=s,e.splice(s,0,{identifier:f,updater:p,references:1})}a.push(f)}return a}function i(t,e){var n=e.domAPI(e);return n.update(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var o=r(t=t||[],i=i||{});return function(t){t=t||[];for(var a=0;a<o.length;a++){var s=n(o[a]);e[s].references--}for(var c=r(t,i),u=0;u<o.length;u++){var l=n(o[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}o=c}}},569:t=>{var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},216:t=>{t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},565:(t,e,n)=>{t.exports=function(t){var e=n.nc;e&&t.setAttribute("nonce",e)}},795:t=>{t.exports=function(t){var e=t.insertStyleElement(t);return{update:function(n){!function(t,e,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var i=void 0!==n.layer;i&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,i&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleTagTransform(r,t,e.options)}(e,t,n)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},589:t=>{t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},744:(t,e)=>{e.Z=(t,e)=>{const n=t.__vccOpts||t;for(const[t,r]of e)n[t]=r;return n}}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={id:r,exports:{}};return t[r](o,o.exports,n),o.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.nc=void 0;var r={};(()=>{n.d(r,{J:()=>iF,K:()=>rF});var t={};n.r(t),n.d(t,{Adder:()=>hc,Delaunay:()=>Tv,FormatSpecifier:()=>Cm,InternMap:()=>gc,InternSet:()=>vc,Node:()=>GM,Voronoi:()=>xv,ZoomTransform:()=>lj,active:()=>Jd,arc:()=>ZN,area:()=>nP,areaRadial:()=>fP,ascending:()=>$s,autoType:()=>ry,axisBottom:()=>Ju,axisLeft:()=>Ku,axisRight:()=>Xu,axisTop:()=>Gu,bin:()=>Gc,bisect:()=>Gs,bisectCenter:()=>Zs,bisectLeft:()=>Ws,bisectRight:()=>Ys,bisector:()=>zs,blob:()=>Iy,blur:()=>Xs,blur2:()=>Js,blurImage:()=>Ks,brush:()=>kp,brushSelection:()=>Sp,brushX:()=>Ap,brushY:()=>Tp,buffer:()=>$y,chord:()=>Up,chordDirected:()=>Bp,chordTranspose:()=>zp,cluster:()=>BM,color:()=>Wf,contourDensity:()=>Kg,contours:()=>Zg,count:()=>rc,create:()=>xN,creator:()=>sf,cross:()=>sc,csv:()=>qy,csvFormat:()=>qv,csvFormatBody:()=>Hv,csvFormatRow:()=>Wv,csvFormatRows:()=>Yv,csvFormatValue:()=>Zv,csvParse:()=>Bv,csvParseRows:()=>Vv,cubehelix:()=>Lg,cumsum:()=>cc,curveBasis:()=>eR,curveBasisClosed:()=>rR,curveBasisOpen:()=>oR,curveBumpX:()=>gP,curveBumpY:()=>vP,curveBundle:()=>sR,curveCardinal:()=>lR,curveCardinalClosed:()=>hR,curveCardinalOpen:()=>pR,curveCatmullRom:()=>yR,curveCatmullRomClosed:()=>_R,curveCatmullRomOpen:()=>xR,curveLinear:()=>KN,curveLinearClosed:()=>MR,curveMonotoneX:()=>NR,curveMonotoneY:()=>PR,curveNatural:()=>DR,curveStep:()=>IR,curveStepAfter:()=>$R,curveStepBefore:()=>LR,descending:()=>Us,deviation:()=>lc,difference:()=>Ru,disjoint:()=>ju,dispatch:()=>ol,drag:()=>jv,dragDisable:()=>Tf,dragEnable:()=>kf,dsv:()=>Vy,dsvFormat:()=>Uv,easeBack:()=>Ny,easeBackIn:()=>Oy,easeBackInOut:()=>Ny,easeBackOut:()=>Cy,easeBounce:()=>Ay,easeBounceIn:()=>Sy,easeBounceInOut:()=>Ty,easeBounceOut:()=>Ay,easeCircle:()=>My,easeCircleIn:()=>xy,easeCircleInOut:()=>My,easeCircleOut:()=>wy,easeCubic:()=>Wd,easeCubicIn:()=>Hd,easeCubicInOut:()=>Wd,easeCubicOut:()=>Yd,easeElastic:()=>jy,easeElasticIn:()=>Ry,easeElasticInOut:()=>Dy,easeElasticOut:()=>jy,easeExp:()=>by,easeExpIn:()=>my,easeExpInOut:()=>by,easeExpOut:()=>_y,easeLinear:()=>oy,easePoly:()=>fy,easePolyIn:()=>uy,easePolyInOut:()=>fy,easePolyOut:()=>ly,easeQuad:()=>cy,easeQuadIn:()=>ay,easeQuadInOut:()=>cy,easeQuadOut:()=>sy,easeSin:()=>vy,easeSinIn:()=>py,easeSinInOut:()=>vy,easeSinOut:()=>gy,every:()=>Tu,extent:()=>fc,fcumsum:()=>pc,filter:()=>Ou,flatGroup:()=>Sc,flatRollup:()=>Ac,forceCenter:()=>Qy,forceCollide:()=>hm,forceLink:()=>gm,forceManyBody:()=>xm,forceRadial:()=>wm,forceSimulation:()=>bm,forceX:()=>Mm,forceY:()=>Em,format:()=>Dm,formatDefaultLocale:()=>Um,formatLocale:()=>$m,formatPrefix:()=>Fm,formatSpecifier:()=>Om,fsum:()=>dc,geoAlbers:()=>rM,geoAlbersUsa:()=>iM,geoArea:()=>q_,geoAzimuthalEqualArea:()=>cM,geoAzimuthalEqualAreaRaw:()=>sM,geoAzimuthalEquidistant:()=>lM,geoAzimuthalEquidistantRaw:()=>uM,geoBounds:()=>Sb,geoCentroid:()=>Ib,geoCircle:()=>Zb,geoClipAntimeridian:()=>ox,geoClipCircle:()=>ax,geoClipExtent:()=>px,geoClipRectangle:()=>dx,geoConicConformal:()=>vM,geoConicConformalRaw:()=>gM,geoConicEqualArea:()=>nM,geoConicEqualAreaRaw:()=>eM,geoConicEquidistant:()=>bM,geoConicEquidistantRaw:()=>_M,geoContains:()=>Nx,geoDistance:()=>wx,geoEqualEarth:()=>TM,geoEqualEarthRaw:()=>AM,geoEquirectangular:()=>mM,geoEquirectangularRaw:()=>yM,geoGnomonic:()=>OM,geoGnomonicRaw:()=>kM,geoGraticule:()=>jx,geoGraticule10:()=>Dx,geoIdentity:()=>CM,geoInterpolate:()=>Fx,geoLength:()=>_x,geoMercator:()=>hM,geoMercatorRaw:()=>fM,geoNaturalEarth1:()=>PM,geoNaturalEarth1Raw:()=>NM,geoOrthographic:()=>jM,geoOrthographicRaw:()=>RM,geoPath:()=>$w,geoProjection:()=>Kw,geoProjectionMutator:()=>Qw,geoRotation:()=>Hb,geoStereographic:()=>FM,geoStereographicRaw:()=>DM,geoStream:()=>b_,geoTransform:()=>Uw,geoTransverseMercator:()=>LM,geoTransverseMercatorRaw:()=>IM,gray:()=>yg,greatest:()=>nu,greatestIndex:()=>_u,group:()=>wc,groupSort:()=>Ic,groups:()=>Mc,hcl:()=>Ag,hierarchy:()=>qM,histogram:()=>Gc,hsl:()=>ah,html:()=>Jy,image:()=>Yy,index:()=>Oc,indexes:()=>Cc,interpolate:()=>Ph,interpolateArray:()=>Eh,interpolateBasis:()=>hh,interpolateBasisClosed:()=>dh,interpolateBlues:()=>ZC,interpolateBrBG:()=>aC,interpolateBuGn:()=>EC,interpolateBuPu:()=>AC,interpolateCividis:()=>oN,interpolateCool:()=>cN,interpolateCubehelix:()=>sS,interpolateCubehelixDefault:()=>aN,interpolateCubehelixLong:()=>cS,interpolateDate:()=>Ah,interpolateDiscrete:()=>ZE,interpolateGnBu:()=>kC,interpolateGreens:()=>XC,interpolateGreys:()=>KC,interpolateHcl:()=>iS,interpolateHclLong:()=>oS,interpolateHsl:()=>tS,interpolateHslLong:()=>eS,interpolateHue:()=>GE,interpolateInferno:()=>_N,interpolateLab:()=>nS,interpolateMagma:()=>mN,interpolateNumber:()=>Th,interpolateNumberArray:()=>wh,interpolateObject:()=>kh,interpolateOrRd:()=>CC,interpolateOranges:()=>iN,interpolatePRGn:()=>cC,interpolatePiYG:()=>lC,interpolatePlasma:()=>bN,interpolatePuBu:()=>jC,interpolatePuBuGn:()=>PC,interpolatePuOr:()=>hC,interpolatePuRd:()=>FC,interpolatePurples:()=>tN,interpolateRainbow:()=>lN,interpolateRdBu:()=>pC,interpolateRdGy:()=>vC,interpolateRdPu:()=>LC,interpolateRdYlBu:()=>mC,interpolateRdYlGn:()=>bC,interpolateReds:()=>nN,interpolateRgb:()=>mh,interpolateRgbBasis:()=>bh,interpolateRgbBasisClosed:()=>xh,interpolateRound:()=>XE,interpolateSinebow:()=>pN,interpolateSpectral:()=>wC,interpolateString:()=>Nh,interpolateTransformCss:()=>hd,interpolateTransformSvg:()=>dd,interpolateTurbo:()=>gN,interpolateViridis:()=>yN,interpolateWarm:()=>sN,interpolateYlGn:()=>BC,interpolateYlGnBu:()=>UC,interpolateYlOrBr:()=>qC,interpolateYlOrRd:()=>YC,interpolateZoom:()=>KE,interrupt:()=>ad,intersection:()=>Du,interval:()=>sj,isoFormat:()=>ij,isoParse:()=>aj,json:()=>Zy,lab:()=>mg,lch:()=>Sg,least:()=>yu,leastIndex:()=>mu,line:()=>eP,lineRadial:()=>lP,link:()=>bP,linkHorizontal:()=>xP,linkRadial:()=>MP,linkVertical:()=>wP,local:()=>MN,map:()=>Cu,matcher:()=>fl,max:()=>Xc,maxIndex:()=>Jc,mean:()=>cu,median:()=>uu,medianIndex:()=>lu,merge:()=>fu,min:()=>Kc,minIndex:()=>Qc,mode:()=>hu,namespace:()=>Tl,namespaces:()=>Al,nice:()=>Wc,now:()=>Hh,pack:()=>mE,packEnclose:()=>nE,packSiblings:()=>vE,pairs:()=>du,partition:()=>EE,path:()=>Xp,permute:()=>Rc,pie:()=>oP,piecewise:()=>uS,pointRadial:()=>hP,pointer:()=>jh,pointers:()=>SN,polygonArea:()=>fS,polygonCentroid:()=>hS,polygonContains:()=>vS,polygonHull:()=>gS,polygonLength:()=>yS,precisionFixed:()=>zm,precisionPrefix:()=>Bm,precisionRound:()=>Vm,quadtree:()=>im,quantile:()=>ru,quantileIndex:()=>ou,quantileSorted:()=>iu,quantize:()=>lS,quickselect:()=>tu,radialArea:()=>fP,radialLine:()=>lP,randomBates:()=>ES,randomBernoulli:()=>TS,randomBeta:()=>CS,randomBinomial:()=>NS,randomCauchy:()=>RS,randomExponential:()=>SS,randomGamma:()=>OS,randomGeometric:()=>kS,randomInt:()=>bS,randomIrwinHall:()=>MS,randomLcg:()=>IS,randomLogNormal:()=>wS,randomLogistic:()=>jS,randomNormal:()=>xS,randomPareto:()=>AS,randomPoisson:()=>DS,randomUniform:()=>_S,randomWeibull:()=>PS,range:()=>gu,rank:()=>vu,reduce:()=>Nu,reverse:()=>Pu,rgb:()=>Jf,ribbon:()=>sg,ribbonArrow:()=>cg,rollup:()=>Tc,rollups:()=>kc,scaleBand:()=>BS,scaleDiverging:()=>BO,scaleDivergingLog:()=>VO,scaleDivergingPow:()=>HO,scaleDivergingSqrt:()=>YO,scaleDivergingSymlog:()=>qO,scaleIdentity:()=>rA,scaleImplicit:()=>US,scaleLinear:()=>nA,scaleLog:()=>hA,scaleOrdinal:()=>zS,scalePoint:()=>qS,scalePow:()=>xA,scaleQuantile:()=>AA,scaleQuantize:()=>TA,scaleRadial:()=>SA,scaleSequential:()=>DO,scaleSequentialLog:()=>FO,scaleSequentialPow:()=>LO,scaleSequentialQuantile:()=>UO,scaleSequentialSqrt:()=>$O,scaleSequentialSymlog:()=>IO,scaleSqrt:()=>wA,scaleSymlog:()=>vA,scaleThreshold:()=>kA,scaleTime:()=>NO,scaleUtc:()=>PO,scan:()=>bu,schemeAccent:()=>GO,schemeBlues:()=>WC,schemeBrBG:()=>oC,schemeBuGn:()=>MC,schemeBuPu:()=>SC,schemeCategory10:()=>ZO,schemeDark2:()=>XO,schemeGnBu:()=>TC,schemeGreens:()=>GC,schemeGreys:()=>JC,schemeOrRd:()=>OC,schemeOranges:()=>rN,schemePRGn:()=>sC,schemePaired:()=>JO,schemePastel1:()=>KO,schemePastel2:()=>QO,schemePiYG:()=>uC,schemePuBu:()=>RC,schemePuBuGn:()=>NC,schemePuOr:()=>fC,schemePuRd:()=>DC,schemePurples:()=>QC,schemeRdBu:()=>dC,schemeRdGy:()=>gC,schemeRdPu:()=>IC,schemeRdYlBu:()=>yC,schemeRdYlGn:()=>_C,schemeReds:()=>eN,schemeSet1:()=>tC,schemeSet2:()=>eC,schemeSet3:()=>nC,schemeSpectral:()=>xC,schemeTableau10:()=>rC,schemeYlGn:()=>zC,schemeYlGnBu:()=>$C,schemeYlOrBr:()=>VC,schemeYlOrRd:()=>HC,select:()=>wf,selectAll:()=>AN,selection:()=>xf,selector:()=>sl,selectorAll:()=>ll,shuffle:()=>xu,shuffler:()=>wu,some:()=>ku,sort:()=>jc,stack:()=>qR,stackOffsetDiverging:()=>YR,stackOffsetExpand:()=>HR,stackOffsetNone:()=>UR,stackOffsetSilhouette:()=>WR,stackOffsetWiggle:()=>ZR,stackOrderAppearance:()=>GR,stackOrderAscending:()=>JR,stackOrderDescending:()=>QR,stackOrderInsideOut:()=>tj,stackOrderNone:()=>zR,stackOrderReverse:()=>ej,stratify:()=>CE,style:()=>Ll,subset:()=>$u,sum:()=>Mu,superset:()=>Iu,svg:()=>Ky,symbol:()=>JP,symbolAsterisk:()=>SP,symbolCircle:()=>AP,symbolCross:()=>TP,symbolDiamond:()=>CP,symbolDiamond2:()=>NP,symbolPlus:()=>PP,symbolSquare:()=>RP,symbolSquare2:()=>jP,symbolStar:()=>LP,symbolTriangle:()=>UP,symbolTriangle2:()=>BP,symbolWye:()=>WP,symbolX:()=>ZP,symbols:()=>GP,symbolsFill:()=>GP,symbolsStroke:()=>XP,text:()=>zy,thresholdFreedmanDiaconis:()=>au,thresholdScott:()=>su,thresholdSturges:()=>Zc,tickFormat:()=>tA,tickIncrement:()=>Hc,tickStep:()=>Yc,ticks:()=>qc,timeDay:()=>JA,timeDays:()=>KA,timeFormat:()=>ak,timeFormatDefaultLocale:()=>TO,timeFormatLocale:()=>ik,timeFriday:()=>oT,timeFridays:()=>hT,timeHour:()=>ZA,timeHours:()=>GA,timeInterval:()=>IA,timeMillisecond:()=>$A,timeMilliseconds:()=>UA,timeMinute:()=>HA,timeMinutes:()=>YA,timeMonday:()=>eT,timeMondays:()=>cT,timeMonth:()=>gT,timeMonths:()=>vT,timeParse:()=>sk,timeSaturday:()=>aT,timeSaturdays:()=>dT,timeSecond:()=>BA,timeSeconds:()=>VA,timeSunday:()=>tT,timeSundays:()=>sT,timeThursday:()=>iT,timeThursdays:()=>fT,timeTickInterval:()=>tk,timeTicks:()=>QT,timeTuesday:()=>nT,timeTuesdays:()=>uT,timeWednesday:()=>rT,timeWednesdays:()=>lT,timeWeek:()=>tT,timeWeeks:()=>sT,timeYear:()=>mT,timeYears:()=>_T,timeout:()=>Qh,timer:()=>Zh,timerFlush:()=>Gh,transition:()=>Bd,transpose:()=>Eu,tree:()=>$E,treemap:()=>qE,treemapBinary:()=>HE,treemapDice:()=>ME,treemapResquarify:()=>WE,treemapSlice:()=>UE,treemapSliceDice:()=>YE,treemapSquarify:()=>VE,tsv:()=>Hy,tsvFormat:()=>Kv,tsvFormatBody:()=>Qv,tsvFormatRow:()=>ey,tsvFormatRows:()=>ty,tsvFormatValue:()=>ny,tsvParse:()=>Xv,tsvParseRows:()=>Jv,union:()=>Uu,utcDay:()=>TT,utcDays:()=>kT,utcFormat:()=>ck,utcFriday:()=>DT,utcFridays:()=>BT,utcHour:()=>ET,utcHours:()=>ST,utcMillisecond:()=>$A,utcMilliseconds:()=>UA,utcMinute:()=>xT,utcMinutes:()=>wT,utcMonday:()=>NT,utcMondays:()=>LT,utcMonth:()=>HT,utcMonths:()=>YT,utcParse:()=>uk,utcSaturday:()=>FT,utcSaturdays:()=>VT,utcSecond:()=>BA,utcSeconds:()=>VA,utcSunday:()=>CT,utcSundays:()=>IT,utcThursday:()=>jT,utcThursdays:()=>zT,utcTickInterval:()=>KT,utcTicks:()=>JT,utcTuesday:()=>PT,utcTuesdays:()=>$T,utcWednesday:()=>RT,utcWednesdays:()=>UT,utcWeek:()=>CT,utcWeeks:()=>IT,utcYear:()=>ZT,utcYears:()=>GT,variance:()=>uc,window:()=>jl,xml:()=>Xy,zip:()=>Au,zoom:()=>xj,zoomIdentity:()=>fj,zoomTransform:()=>hj});var e={};function i(t,e){const n=Object.create(null),r=t.split(",");for(let t=0;t<r.length;t++)n[r[t]]=!0;return e?t=>!!n[t.toLowerCase()]:t=>!!n[t]}n.r(e),n.d(e,{entryToProp:()=>Dj,entryToValue:()=>Nj,fillDirect:()=>Pj,fillProps:()=>Rj,getProps:()=>Oj,isProp:()=>jj,prepareDef:()=>Fj,toValue:()=>Cj});const o=i("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function a(t){return!!t||""===t}function s(t){if(S(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],i=O(r)?l(r):s(r);if(i)for(const t in i)e[t]=i[t]}return e}return O(t)||N(t)?t:void 0}const c=/;(?![^(]*\))/g,u=/:(.+)/;function l(t){const e={};return t.split(c).forEach((t=>{if(t){const n=t.split(u);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}function f(t){let e="";if(O(t))e=t;else if(S(t))for(let n=0;n<t.length;n++){const r=f(t[n]);r&&(e+=r+" ")}else if(N(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const h=t=>O(t)?t:null==t?"":S(t)||N(t)&&(t.toString===R||!k(t.toString))?JSON.stringify(t,d,2):String(t),d=(t,e)=>e&&e.__v_isRef?d(t,e.value):A(e)?{[`Map(${e.size})`]:[...e.entries()].reduce(((t,[e,n])=>(t[`${e} =>`]=n,t)),{})}:T(e)?{[`Set(${e.size})`]:[...e.values()]}:!N(e)||S(e)||D(e)?e:String(e),p={},g=[],v=()=>{},y=()=>!1,m=/^on[^a-z]/,_=t=>m.test(t),b=t=>t.startsWith("onUpdate:"),x=Object.assign,w=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},M=Object.prototype.hasOwnProperty,E=(t,e)=>M.call(t,e),S=Array.isArray,A=t=>"[object Map]"===j(t),T=t=>"[object Set]"===j(t),k=t=>"function"==typeof t,O=t=>"string"==typeof t,C=t=>"symbol"==typeof t,N=t=>null!==t&&"object"==typeof t,P=t=>N(t)&&k(t.then)&&k(t.catch),R=Object.prototype.toString,j=t=>R.call(t),D=t=>"[object Object]"===j(t),F=t=>O(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,I=i(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),L=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},$=/-(\w)/g,U=L((t=>t.replace($,((t,e)=>e?e.toUpperCase():"")))),z=/\B([A-Z])/g,B=L((t=>t.replace(z,"-$1").toLowerCase())),V=L((t=>t.charAt(0).toUpperCase()+t.slice(1))),q=L((t=>t?`on${V(t)}`:"")),H=(t,e)=>!Object.is(t,e),Y=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},W=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},Z=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let G;const X=()=>G||(G="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{});let J;class K{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=J,!t&&J&&(this.index=(J.scopes||(J.scopes=[])).push(this)-1)}run(t){if(this.active){const e=J;try{return J=this,t()}finally{J=e}}}on(){J=this}off(){J=this.parent}stop(t){if(this.active){let e,n;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].stop();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){const t=this.parent.scopes.pop();t&&t!==this&&(this.parent.scopes[this.index]=t,t.index=this.index)}this.parent=void 0,this.active=!1}}}function Q(t){return new K(t)}const tt=t=>{const e=new Set(t);return e.w=0,e.n=0,e},et=t=>(t.w&at)>0,nt=t=>(t.n&at)>0,rt=new WeakMap;let it,ot=0,at=1;const st=Symbol(""),ct=Symbol("");class ut{constructor(t,e=null,n){this.fn=t,this.scheduler=e,this.active=!0,this.deps=[],this.parent=void 0,function(t,e=J){e&&e.active&&e.effects.push(t)}(this,n)}run(){if(!this.active)return this.fn();let t=it,e=ft;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=it,it=this,ft=!0,at=1<<++ot,ot<=30?(({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=at})(this):lt(this),this.fn()}finally{ot<=30&&(t=>{const{deps:e}=t;if(e.length){let n=0;for(let r=0;r<e.length;r++){const i=e[r];et(i)&&!nt(i)?i.delete(t):e[n++]=i,i.w&=~at,i.n&=~at}e.length=n}})(this),at=1<<--ot,it=this.parent,ft=e,this.parent=void 0,this.deferStop&&this.stop()}}stop(){it===this?this.deferStop=!0:this.active&&(lt(this),this.onStop&&this.onStop(),this.active=!1)}}function lt(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}let ft=!0;const ht=[];function dt(){ht.push(ft),ft=!1}function pt(){const t=ht.pop();ft=void 0===t||t}function gt(t,e,n){if(ft&&it){let e=rt.get(t);e||rt.set(t,e=new Map);let r=e.get(n);r||e.set(n,r=tt()),vt(r)}}function vt(t,e){let n=!1;ot<=30?nt(t)||(t.n|=at,n=!et(t)):n=!t.has(it),n&&(t.add(it),it.deps.push(t))}function yt(t,e,n,r,i,o){const a=rt.get(t);if(!a)return;let s=[];if("clear"===e)s=[...a.values()];else if("length"===n&&S(t))a.forEach(((t,e)=>{("length"===e||e>=r)&&s.push(t)}));else switch(void 0!==n&&s.push(a.get(n)),e){case"add":S(t)?F(n)&&s.push(a.get("length")):(s.push(a.get(st)),A(t)&&s.push(a.get(ct)));break;case"delete":S(t)||(s.push(a.get(st)),A(t)&&s.push(a.get(ct)));break;case"set":A(t)&&s.push(a.get(st))}if(1===s.length)s[0]&&mt(s[0]);else{const t=[];for(const e of s)e&&t.push(...e);mt(tt(t))}}function mt(t,e){const n=S(t)?t:[...t];for(const t of n)t.computed&&_t(t);for(const t of n)t.computed||_t(t)}function _t(t,e){(t!==it||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const bt=i("__proto__,__v_isRef,__isVue"),xt=new Set(Object.getOwnPropertyNames(Symbol).filter((t=>"arguments"!==t&&"caller"!==t)).map((t=>Symbol[t])).filter(C)),wt=Tt(),Mt=Tt(!1,!0),Et=Tt(!0),St=At();function At(){const t={};return["includes","indexOf","lastIndexOf"].forEach((e=>{t[e]=function(...t){const n=le(this);for(let t=0,e=this.length;t<e;t++)gt(n,0,t+"");const r=n[e](...t);return-1===r||!1===r?n[e](...t.map(le)):r}})),["push","pop","shift","unshift","splice"].forEach((e=>{t[e]=function(...t){dt();const n=le(this)[e].apply(this,t);return pt(),n}})),t}function Tt(t=!1,e=!1){return function(n,r,i){if("__v_isReactive"===r)return!t;if("__v_isReadonly"===r)return t;if("__v_isShallow"===r)return e;if("__v_raw"===r&&i===(t?e?ne:ee:e?te:Qt).get(n))return n;const o=S(n);if(!t&&o&&E(St,r))return Reflect.get(St,r,i);const a=Reflect.get(n,r,i);return(C(r)?xt.has(r):bt(r))?a:(t||gt(n,0,r),e?a:ve(a)?o&&F(r)?a:a.value:N(a)?t?ie(a):re(a):a)}}function kt(t=!1){return function(e,n,r,i){let o=e[n];if(se(o)&&ve(o)&&!ve(r))return!1;if(!t&&(ce(r)||se(r)||(o=le(o),r=le(r)),!S(e)&&ve(o)&&!ve(r)))return o.value=r,!0;const a=S(e)&&F(n)?Number(n)<e.length:E(e,n),s=Reflect.set(e,n,r,i);return e===le(i)&&(a?H(r,o)&&yt(e,"set",n,r):yt(e,"add",n,r)),s}}const Ot={get:wt,set:kt(),deleteProperty:function(t,e){const n=E(t,e),r=(t[e],Reflect.deleteProperty(t,e));return r&&n&&yt(t,"delete",e,void 0),r},has:function(t,e){const n=Reflect.has(t,e);return C(e)&&xt.has(e)||gt(t,0,e),n},ownKeys:function(t){return gt(t,0,S(t)?"length":st),Reflect.ownKeys(t)}},Ct={get:Et,set:(t,e)=>!0,deleteProperty:(t,e)=>!0},Nt=x({},Ot,{get:Mt,set:kt(!0)}),Pt=t=>t,Rt=t=>Reflect.getPrototypeOf(t);function jt(t,e,n=!1,r=!1){const i=le(t=t.__v_raw),o=le(e);n||(e!==o&>(i,0,e),gt(i,0,o));const{has:a}=Rt(i),s=r?Pt:n?de:he;return a.call(i,e)?s(t.get(e)):a.call(i,o)?s(t.get(o)):void(t!==i&&t.get(e))}function Dt(t,e=!1){const n=this.__v_raw,r=le(n),i=le(t);return e||(t!==i&>(r,0,t),gt(r,0,i)),t===i?n.has(t):n.has(t)||n.has(i)}function Ft(t,e=!1){return t=t.__v_raw,!e&>(le(t),0,st),Reflect.get(t,"size",t)}function It(t){t=le(t);const e=le(this);return Rt(e).has.call(e,t)||(e.add(t),yt(e,"add",t,t)),this}function Lt(t,e){e=le(e);const n=le(this),{has:r,get:i}=Rt(n);let o=r.call(n,t);o||(t=le(t),o=r.call(n,t));const a=i.call(n,t);return n.set(t,e),o?H(e,a)&&yt(n,"set",t,e):yt(n,"add",t,e),this}function $t(t){const e=le(this),{has:n,get:r}=Rt(e);let i=n.call(e,t);i||(t=le(t),i=n.call(e,t)),r&&r.call(e,t);const o=e.delete(t);return i&&yt(e,"delete",t,void 0),o}function Ut(){const t=le(this),e=0!==t.size,n=t.clear();return e&&yt(t,"clear",void 0,void 0),n}function zt(t,e){return function(n,r){const i=this,o=i.__v_raw,a=le(o),s=e?Pt:t?de:he;return!t&>(a,0,st),o.forEach(((t,e)=>n.call(r,s(t),s(e),i)))}}function Bt(t,e,n){return function(...r){const i=this.__v_raw,o=le(i),a=A(o),s="entries"===t||t===Symbol.iterator&&a,c="keys"===t&&a,u=i[t](...r),l=n?Pt:e?de:he;return!e&>(o,0,c?ct:st),{next(){const{value:t,done:e}=u.next();return e?{value:t,done:e}:{value:s?[l(t[0]),l(t[1])]:l(t),done:e}},[Symbol.iterator](){return this}}}}function Vt(t){return function(...e){return"delete"!==t&&this}}function qt(){const t={get(t){return jt(this,t)},get size(){return Ft(this)},has:Dt,add:It,set:Lt,delete:$t,clear:Ut,forEach:zt(!1,!1)},e={get(t){return jt(this,t,!1,!0)},get size(){return Ft(this)},has:Dt,add:It,set:Lt,delete:$t,clear:Ut,forEach:zt(!1,!0)},n={get(t){return jt(this,t,!0)},get size(){return Ft(this,!0)},has(t){return Dt.call(this,t,!0)},add:Vt("add"),set:Vt("set"),delete:Vt("delete"),clear:Vt("clear"),forEach:zt(!0,!1)},r={get(t){return jt(this,t,!0,!0)},get size(){return Ft(this,!0)},has(t){return Dt.call(this,t,!0)},add:Vt("add"),set:Vt("set"),delete:Vt("delete"),clear:Vt("clear"),forEach:zt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((i=>{t[i]=Bt(i,!1,!1),n[i]=Bt(i,!0,!1),e[i]=Bt(i,!1,!0),r[i]=Bt(i,!0,!0)})),[t,n,e,r]}const[Ht,Yt,Wt,Zt]=qt();function Gt(t,e){const n=e?t?Zt:Wt:t?Yt:Ht;return(e,r,i)=>"__v_isReactive"===r?!t:"__v_isReadonly"===r?t:"__v_raw"===r?e:Reflect.get(E(n,r)&&r in e?n:e,r,i)}const Xt={get:Gt(!1,!1)},Jt={get:Gt(!1,!0)},Kt={get:Gt(!0,!1)},Qt=new WeakMap,te=new WeakMap,ee=new WeakMap,ne=new WeakMap;function re(t){return se(t)?t:oe(t,!1,Ot,Xt,Qt)}function ie(t){return oe(t,!0,Ct,Kt,ee)}function oe(t,e,n,r,i){if(!N(t))return t;if(t.__v_raw&&(!e||!t.__v_isReactive))return t;const o=i.get(t);if(o)return o;const a=function(t){return t.__v_skip||!Object.isExtensible(t)?0:function(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((t=>j(t).slice(8,-1))(t))}(t);if(0===a)return t;const s=new Proxy(t,2===a?r:n);return i.set(t,s),s}function ae(t){return se(t)?ae(t.__v_raw):!(!t||!t.__v_isReactive)}function se(t){return!(!t||!t.__v_isReadonly)}function ce(t){return!(!t||!t.__v_isShallow)}function ue(t){return ae(t)||se(t)}function le(t){const e=t&&t.__v_raw;return e?le(e):t}function fe(t){return W(t,"__v_skip",!0),t}const he=t=>N(t)?re(t):t,de=t=>N(t)?ie(t):t;function pe(t){ft&&it&&vt((t=le(t)).dep||(t.dep=tt()))}function ge(t,e){(t=le(t)).dep&&mt(t.dep)}function ve(t){return!(!t||!0!==t.__v_isRef)}function ye(t){return n=!1,ve(e=t)?e:new me(e,n);var e,n}class me{constructor(t,e){this.__v_isShallow=e,this.dep=void 0,this.__v_isRef=!0,this._rawValue=e?t:le(t),this._value=e?t:he(t)}get value(){return pe(this),this._value}set value(t){const e=this.__v_isShallow||ce(t)||se(t);t=e?t:le(t),H(t,this._rawValue)&&(this._rawValue=t,this._value=e?t:he(t),ge(this))}}function _e(t){return ve(t)?t.value:t}const be={get:(t,e,n)=>_e(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const i=t[e];return ve(i)&&!ve(n)?(i.value=n,!0):Reflect.set(t,e,n,r)}};function xe(t){return ae(t)?t:new Proxy(t,be)}class we{constructor(t,e,n){this._object=t,this._key=e,this._defaultValue=n,this.__v_isRef=!0}get value(){const t=this._object[this._key];return void 0===t?this._defaultValue:t}set value(t){this._object[this._key]=t}}function Me(t,e,n){const r=t[e];return ve(r)?r:new we(t,e,n)}var Ee;class Se{constructor(t,e,n,r){this._setter=e,this.dep=void 0,this.__v_isRef=!0,this[Ee]=!1,this._dirty=!0,this.effect=new ut(t,(()=>{this._dirty||(this._dirty=!0,ge(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){const t=le(this);return pe(t),!t._dirty&&t._cacheable||(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Ae(t,e,n,r){let i;try{i=r?t(...r):t()}catch(t){ke(t,e,n)}return i}function Te(t,e,n,r){if(k(t)){const i=Ae(t,e,n,r);return i&&P(i)&&i.catch((t=>{ke(t,e,n)})),i}const i=[];for(let o=0;o<t.length;o++)i.push(Te(t[o],e,n,r));return i}function ke(t,e,n,r=!0){if(e&&e.vnode,e){let r=e.parent;const i=e.proxy,o=n;for(;r;){const e=r.ec;if(e)for(let n=0;n<e.length;n++)if(!1===e[n](t,i,o))return;r=r.parent}const a=e.appContext.config.errorHandler;if(a)return void Ae(a,null,10,[t,i,o])}!function(t,e,n,r=!0){console.error(t)}(t,0,0,r)}Ee="__v_isReadonly";let Oe=!1,Ce=!1;const Ne=[];let Pe=0;const Re=[];let je=null,De=0;const Fe=Promise.resolve();let Ie=null;function Le(t){const e=Ie||Fe;return t?e.then(this?t.bind(this):t):e}function $e(t){Ne.length&&Ne.includes(t,Oe&&t.allowRecurse?Pe+1:Pe)||(null==t.id?Ne.push(t):Ne.splice(function(t){let e=Pe+1,n=Ne.length;for(;e<n;){const r=e+n>>>1;Ve(Ne[r])<t?e=r+1:n=r}return e}(t.id),0,t),Ue())}function Ue(){Oe||Ce||(Ce=!0,Ie=Fe.then(He))}function ze(t,e=(Oe?Pe+1:0)){for(;e<Ne.length;e++){const t=Ne[e];t&&t.pre&&(Ne.splice(e,1),e--,t())}}function Be(t){if(Re.length){const t=[...new Set(Re)];if(Re.length=0,je)return void je.push(...t);for(je=t,je.sort(((t,e)=>Ve(t)-Ve(e))),De=0;De<je.length;De++)je[De]();je=null,De=0}}const Ve=t=>null==t.id?1/0:t.id,qe=(t,e)=>{const n=Ve(t)-Ve(e);if(0===n){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function He(t){Ce=!1,Oe=!0,Ne.sort(qe);try{for(Pe=0;Pe<Ne.length;Pe++){const t=Ne[Pe];t&&!1!==t.active&&Ae(t,null,14)}}finally{Pe=0,Ne.length=0,Be(),Oe=!1,Ie=null,(Ne.length||Re.length)&&He(t)}}new Set,new Map;let Ye,We=[],Ze=!1;function Ge(t,...e){Ye?Ye.emit(t,...e):Ze||We.push({event:t,args:e})}function Xe(t,e){var n,r;Ye=t,Ye?(Ye.enabled=!0,We.forEach((({event:t,args:e})=>Ye.emit(t,...e))),We=[]):"undefined"!=typeof window&&window.HTMLElement&&!(null===(r=null===(n=window.navigator)||void 0===n?void 0:n.userAgent)||void 0===r?void 0:r.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((t=>{Xe(t,e)})),setTimeout((()=>{Ye||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Ze=!0,We=[])}),3e3)):(Ze=!0,We=[])}const Je=tn("component:added"),Ke=tn("component:updated"),Qe=tn("component:removed");function tn(t){return e=>{Ge(t,e.appContext.app,e.uid,e.parent?e.parent.uid:void 0,e)}}function en(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||p;let i=n;const o=e.startsWith("update:"),a=o&&e.slice(7);if(a&&a in r){const t=`${"modelValue"===a?"model":a}Modifiers`,{number:e,trim:o}=r[t]||p;o&&(i=n.map((t=>t.trim()))),e&&(i=n.map(Z))}let s;__VUE_PROD_DEVTOOLS__&&function(t,e,n){Ge("component:emit",t.appContext.app,t,e,n)}(t,e,i);let c=r[s=q(e)]||r[s=q(U(e))];!c&&o&&(c=r[s=q(B(e))]),c&&Te(c,t,6,i);const u=r[s+"Once"];if(u){if(t.emitted){if(t.emitted[s])return}else t.emitted={};t.emitted[s]=!0,Te(u,t,6,i)}}function nn(t,e,n=!1){const r=e.emitsCache,i=r.get(t);if(void 0!==i)return i;const o=t.emits;let a={},s=!1;if(__VUE_OPTIONS_API__&&!k(t)){const r=t=>{const n=nn(t,e,!0);n&&(s=!0,x(a,n))};!n&&e.mixins.length&&e.mixins.forEach(r),t.extends&&r(t.extends),t.mixins&&t.mixins.forEach(r)}return o||s?(S(o)?o.forEach((t=>a[t]=null)):x(a,o),N(t)&&r.set(t,a),a):(N(t)&&r.set(t,null),null)}function rn(t,e){return!(!t||!_(e))&&(e=e.slice(2).replace(/Once$/,""),E(t,e[0].toLowerCase()+e.slice(1))||E(t,B(e))||E(t,e))}let on=null,an=null;function sn(t){const e=on;return on=t,an=t&&t.type.__scopeId||null,e}function cn(t){const{type:e,vnode:n,proxy:r,withProxy:i,props:o,propsOptions:[a],slots:s,attrs:c,emit:u,render:l,renderCache:f,data:h,setupState:d,ctx:p,inheritAttrs:g}=t;let v,y;const m=sn(t);try{if(4&n.shapeFlag){const t=i||r;v=Qr(l.call(t,t,f,o,d,h,p)),y=c}else{const t=e;v=Qr(t.length>1?t(o,{attrs:c,slots:s,emit:u}):t(o,null)),y=e.props?c:un(c)}}catch(e){Dr.length=0,ke(e,t,1),v=Gr(Rr)}let _=v;if(y&&!1!==g){const t=Object.keys(y),{shapeFlag:e}=_;t.length&&7&e&&(a&&t.some(b)&&(y=ln(y,a)),_=Xr(_,y))}return n.dirs&&(_=Xr(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),v=_,sn(m),v}const un=t=>{let e;for(const n in t)("class"===n||"style"===n||_(n))&&((e||(e={}))[n]=t[n]);return e},ln=(t,e)=>{const n={};for(const r in t)b(r)&&r.slice(9)in e||(n[r]=t[r]);return n};function fn(t,e,n){const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!0;for(let i=0;i<r.length;i++){const o=r[i];if(e[o]!==t[o]&&!rn(n,o))return!0}return!1}function hn(t,e,n=!1){const r=ai||on;if(r){const i=null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(i&&t in i)return i[t];if(arguments.length>1)return n&&k(e)?e.call(r.proxy):e}}const dn={};function pn(t,e,n){return gn(t,e,n)}function gn(t,e,{immediate:n,deep:r,flush:i,onTrack:o,onTrigger:a}=p){const s=ai;let c,u,l=!1,f=!1;if(ve(t)?(c=()=>t.value,l=ce(t)):ae(t)?(c=()=>t,r=!0):S(t)?(f=!0,l=t.some((t=>ae(t)||ce(t))),c=()=>t.map((t=>ve(t)?t.value:ae(t)?mn(t):k(t)?Ae(t,s,2):void 0))):c=k(t)?e?()=>Ae(t,s,2):()=>{if(!s||!s.isUnmounted)return u&&u(),Te(t,s,3,[h])}:v,e&&r){const t=c;c=()=>mn(t())}let h=t=>{u=m.onStop=()=>{Ae(t,s,4)}};if(fi)return h=v,e?n&&Te(e,s,3,[c(),f?[]:void 0,h]):c(),v;let d=f?[]:dn;const g=()=>{if(m.active)if(e){const t=m.run();(r||l||(f?t.some(((t,e)=>H(t,d[e]))):H(t,d)))&&(u&&u(),Te(e,s,3,[t,d===dn?void 0:d,h]),d=t)}else m.run()};let y;g.allowRecurse=!!e,"sync"===i?y=g:"post"===i?y=()=>Tr(g,s&&s.suspense):(g.pre=!0,s&&(g.id=s.uid),y=()=>$e(g));const m=new ut(c,y);return e?n?g():d=m.run():"post"===i?Tr(m.run.bind(m),s&&s.suspense):m.run(),()=>{m.stop(),s&&s.scope&&w(s.scope.effects,m)}}function vn(t,e,n){const r=this.proxy,i=O(t)?t.includes(".")?yn(r,t):()=>r[t]:t.bind(r,r);let o;k(e)?o=e:(o=e.handler,n=e);const a=ai;ci(this);const s=gn(i,o.bind(r),n);return a?ci(a):ui(),s}function yn(t,e){const n=e.split(".");return()=>{let e=t;for(let t=0;t<n.length&&e;t++)e=e[n[t]];return e}}function mn(t,e){if(!N(t)||t.__v_skip)return t;if((e=e||new Set).has(t))return t;if(e.add(t),ve(t))mn(t.value,e);else if(S(t))for(let n=0;n<t.length;n++)mn(t[n],e);else if(T(t)||A(t))t.forEach((t=>{mn(t,e)}));else if(D(t))for(const n in t)mn(t[n],e);return t}const _n=[Function,Array],bn={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:_n,onEnter:_n,onAfterEnter:_n,onEnterCancelled:_n,onBeforeLeave:_n,onLeave:_n,onAfterLeave:_n,onLeaveCancelled:_n,onBeforeAppear:_n,onAppear:_n,onAfterAppear:_n,onAppearCancelled:_n},setup(t,{slots:e}){const n=si(),r=function(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return In((()=>{t.isMounted=!0})),Un((()=>{t.isUnmounting=!0})),t}();let i;return()=>{const o=e.default&&Tn(e.default(),!0);if(!o||!o.length)return;let a=o[0];if(o.length>1){let t=!1;for(const e of o)if(e.type!==Rr){a=e,t=!0;break}}const s=le(t),{mode:c}=s;if(r.isLeaving)return En(a);const u=Sn(a);if(!u)return En(a);const l=Mn(u,s,r,n);An(u,l);const f=n.subTree,h=f&&Sn(f);let d=!1;const{getTransitionKey:p}=u.type;if(p){const t=p();void 0===i?i=t:t!==i&&(i=t,d=!0)}if(h&&h.type!==Rr&&(!qr(u,h)||d)){const t=Mn(h,s,r,n);if(An(h,t),"out-in"===c)return r.isLeaving=!0,t.afterLeave=()=>{r.isLeaving=!1,n.update()},En(a);"in-out"===c&&u.type!==Rr&&(t.delayLeave=(t,e,n)=>{wn(r,h)[String(h.key)]=h,t._leaveCb=()=>{e(),t._leaveCb=void 0,delete l.delayedLeave},l.delayedLeave=n})}return a}}},xn=bn;function wn(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function Mn(t,e,n,r){const{appear:i,mode:o,persisted:a=!1,onBeforeEnter:s,onEnter:c,onAfterEnter:u,onEnterCancelled:l,onBeforeLeave:f,onLeave:h,onAfterLeave:d,onLeaveCancelled:p,onBeforeAppear:g,onAppear:v,onAfterAppear:y,onAppearCancelled:m}=e,_=String(t.key),b=wn(n,t),x=(t,e)=>{t&&Te(t,r,9,e)},w=(t,e)=>{const n=e[1];x(t,e),S(t)?t.every((t=>t.length<=1))&&n():t.length<=1&&n()},M={mode:o,persisted:a,beforeEnter(e){let r=s;if(!n.isMounted){if(!i)return;r=g||s}e._leaveCb&&e._leaveCb(!0);const o=b[_];o&&qr(t,o)&&o.el._leaveCb&&o.el._leaveCb(),x(r,[e])},enter(t){let e=c,r=u,o=l;if(!n.isMounted){if(!i)return;e=v||c,r=y||u,o=m||l}let a=!1;const s=t._enterCb=e=>{a||(a=!0,x(e?o:r,[t]),M.delayedLeave&&M.delayedLeave(),t._enterCb=void 0)};e?w(e,[t,s]):s()},leave(e,r){const i=String(t.key);if(e._enterCb&&e._enterCb(!0),n.isUnmounting)return r();x(f,[e]);let o=!1;const a=e._leaveCb=n=>{o||(o=!0,r(),x(n?p:d,[e]),e._leaveCb=void 0,b[i]===t&&delete b[i])};b[i]=t,h?w(h,[e,a]):a()},clone:t=>Mn(t,e,n,r)};return M}function En(t){if(On(t))return(t=Xr(t)).children=null,t}function Sn(t){return On(t)?t.children?t.children[0]:void 0:t}function An(t,e){6&t.shapeFlag&&t.component?An(t.component.subTree,e):128&t.shapeFlag?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Tn(t,e=!1,n){let r=[],i=0;for(let o=0;o<t.length;o++){let a=t[o];const s=null==n?a.key:String(n)+String(null!=a.key?a.key:o);a.type===Nr?(128&a.patchFlag&&i++,r=r.concat(Tn(a.children,e,s))):(e||a.type!==Rr)&&r.push(null!=s?Xr(a,{key:s}):a)}if(i>1)for(let t=0;t<r.length;t++)r[t].patchFlag=-2;return r}const kn=t=>!!t.type.__asyncLoader,On=t=>t.type.__isKeepAlive;function Cn(t,e){Pn(t,"a",e)}function Nn(t,e){Pn(t,"da",e)}function Pn(t,e,n=ai){const r=t.__wdc||(t.__wdc=()=>{let e=n;for(;e;){if(e.isDeactivated)return;e=e.parent}return t()});if(jn(e,r,n),n){let t=n.parent;for(;t&&t.parent;)On(t.parent.vnode)&&Rn(r,e,n,t),t=t.parent}}function Rn(t,e,n,r){const i=jn(e,t,r,!0);zn((()=>{w(r[e],i)}),n)}function jn(t,e,n=ai,r=!1){if(n){const i=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...r)=>{if(n.isUnmounted)return;dt(),ci(n);const i=Te(e,n,t,r);return ui(),pt(),i});return r?i.unshift(o):i.push(o),o}}RegExp,RegExp;const Dn=t=>(e,n=ai)=>(!fi||"sp"===t)&&jn(t,((...t)=>e(...t)),n),Fn=Dn("bm"),In=Dn("m"),Ln=Dn("bu"),$n=Dn("u"),Un=Dn("bum"),zn=Dn("um"),Bn=Dn("sp"),Vn=Dn("rtg"),qn=Dn("rtc");function Hn(t,e=ai){jn("ec",t,e)}function Yn(t,e,n,r){const i=t.dirs,o=e&&e.dirs;for(let a=0;a<i.length;a++){const s=i[a];o&&(s.oldValue=o[a].value);let c=s.dir[r];c&&(dt(),Te(c,n,8,[t.el,s,t,e]),pt())}}const Wn="components";function Zn(t,e){return function(t,e,n=!0,r=!1){const i=on||ai;if(i){const n=i.type;if(t===Wn){const t=function(t,e=!0){return k(t)?t.displayName||t.name:t.name||e&&t.__name}(n,!1);if(t&&(t===e||t===U(e)||t===V(U(e))))return n}const o=Xn(i[t]||n[t],e)||Xn(i.appContext[t],e);return!o&&r?n:o}}(Wn,t,!0,e)||t}const Gn=Symbol();function Xn(t,e){return t&&(t[e]||t[U(e)]||t[V(U(e))])}function Jn(t,e,n,r){let i;const o=n&&n[r];if(S(t)||O(t)){i=new Array(t.length);for(let n=0,r=t.length;n<r;n++)i[n]=e(t[n],n,void 0,o&&o[n])}else if("number"==typeof t){i=new Array(t);for(let n=0;n<t;n++)i[n]=e(n+1,n,void 0,o&&o[n])}else if(N(t))if(t[Symbol.iterator])i=Array.from(t,((t,n)=>e(t,n,void 0,o&&o[n])));else{const n=Object.keys(t);i=new Array(n.length);for(let r=0,a=n.length;r<a;r++){const a=n[r];i[r]=e(t[a],a,r,o&&o[r])}}else i=[];return n&&(n[r]=i),i}const Kn=t=>t?li(t)?pi(t)||t.proxy:Kn(t.parent):null,Qn=x(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Kn(t.parent),$root:t=>Kn(t.root),$emit:t=>t.emit,$options:t=>__VUE_OPTIONS_API__?ir(t):t.type,$forceUpdate:t=>t.f||(t.f=()=>$e(t.update)),$nextTick:t=>t.n||(t.n=Le.bind(t.proxy)),$watch:t=>__VUE_OPTIONS_API__?vn.bind(t):v}),tr={get({_:t},e){const{ctx:n,setupState:r,data:i,props:o,accessCache:a,type:s,appContext:c}=t;let u;if("$"!==e[0]){const s=a[e];if(void 0!==s)switch(s){case 1:return r[e];case 2:return i[e];case 4:return n[e];case 3:return o[e]}else{if(r!==p&&E(r,e))return a[e]=1,r[e];if(i!==p&&E(i,e))return a[e]=2,i[e];if((u=t.propsOptions[0])&&E(u,e))return a[e]=3,o[e];if(n!==p&&E(n,e))return a[e]=4,n[e];__VUE_OPTIONS_API__&&!er||(a[e]=0)}}const l=Qn[e];let f,h;return l?("$attrs"===e&>(t,0,e),l(t)):(f=s.__cssModules)&&(f=f[e])?f:n!==p&&E(n,e)?(a[e]=4,n[e]):(h=c.config.globalProperties,E(h,e)?h[e]:void 0)},set({_:t},e,n){const{data:r,setupState:i,ctx:o}=t;return i!==p&&E(i,e)?(i[e]=n,!0):r!==p&&E(r,e)?(r[e]=n,!0):!(E(t.props,e)||"$"===e[0]&&e.slice(1)in t||(o[e]=n,0))},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:i,propsOptions:o}},a){let s;return!!n[a]||t!==p&&E(t,a)||e!==p&&E(e,a)||(s=o[0])&&E(s,a)||E(r,a)||E(Qn,a)||E(i.config.globalProperties,a)},defineProperty(t,e,n){return null!=n.get?t._.accessCache[e]=0:E(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let er=!0;function nr(t,e,n){Te(S(t)?t.map((t=>t.bind(e.proxy))):t.bind(e.proxy),e,n)}function rr(t,e,n,r){const i=r.includes(".")?yn(n,r):()=>n[r];if(O(t)){const n=e[t];k(n)&&pn(i,n)}else if(k(t))pn(i,t.bind(n));else if(N(t))if(S(t))t.forEach((t=>rr(t,e,n,r)));else{const r=k(t.handler)?t.handler.bind(n):e[t.handler];k(r)&&pn(i,r,t)}}function ir(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:i,optionsCache:o,config:{optionMergeStrategies:a}}=t.appContext,s=o.get(e);let c;return s?c=s:i.length||n||r?(c={},i.length&&i.forEach((t=>or(c,t,a,!0))),or(c,e,a)):c=e,N(e)&&o.set(e,c),c}function or(t,e,n,r=!1){const{mixins:i,extends:o}=e;o&&or(t,o,n,!0),i&&i.forEach((e=>or(t,e,n,!0)));for(const i in e)if(r&&"expose"===i);else{const r=ar[i]||n&&n[i];t[i]=r?r(t[i],e[i]):e[i]}return t}const ar={data:sr,props:lr,emits:lr,methods:lr,computed:lr,beforeCreate:ur,created:ur,beforeMount:ur,mounted:ur,beforeUpdate:ur,updated:ur,beforeDestroy:ur,beforeUnmount:ur,destroyed:ur,unmounted:ur,activated:ur,deactivated:ur,errorCaptured:ur,serverPrefetch:ur,components:lr,directives:lr,watch:function(t,e){if(!t)return e;if(!e)return t;const n=x(Object.create(null),t);for(const r in e)n[r]=ur(t[r],e[r]);return n},provide:sr,inject:function(t,e){return lr(cr(t),cr(e))}};function sr(t,e){return e?t?function(){return x(k(t)?t.call(this,this):t,k(e)?e.call(this,this):e)}:e:t}function cr(t){if(S(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function ur(t,e){return t?[...new Set([].concat(t,e))]:e}function lr(t,e){return t?x(x(Object.create(null),t),e):e}function fr(t,e,n,r){const[i,o]=t.propsOptions;let a,s=!1;if(e)for(let c in e){if(I(c))continue;const u=e[c];let l;i&&E(i,l=U(c))?o&&o.includes(l)?(a||(a={}))[l]=u:n[l]=u:rn(t.emitsOptions,c)||c in r&&u===r[c]||(r[c]=u,s=!0)}if(o){const e=le(n),r=a||p;for(let a=0;a<o.length;a++){const s=o[a];n[s]=hr(i,e,s,r[s],t,!E(r,s))}}return s}function hr(t,e,n,r,i,o){const a=t[n];if(null!=a){const t=E(a,"default");if(t&&void 0===r){const t=a.default;if(a.type!==Function&&k(t)){const{propsDefaults:o}=i;n in o?r=o[n]:(ci(i),r=o[n]=t.call(null,e),ui())}else r=t}a[0]&&(o&&!t?r=!1:!a[1]||""!==r&&r!==B(n)||(r=!0))}return r}function dr(t,e,n=!1){const r=e.propsCache,i=r.get(t);if(i)return i;const o=t.props,a={},s=[];let c=!1;if(__VUE_OPTIONS_API__&&!k(t)){const r=t=>{c=!0;const[n,r]=dr(t,e,!0);x(a,n),r&&s.push(...r)};!n&&e.mixins.length&&e.mixins.forEach(r),t.extends&&r(t.extends),t.mixins&&t.mixins.forEach(r)}if(!o&&!c)return N(t)&&r.set(t,g),g;if(S(o))for(let t=0;t<o.length;t++){const e=U(o[t]);pr(e)&&(a[e]=p)}else if(o)for(const t in o){const e=U(t);if(pr(e)){const n=o[t],r=a[e]=S(n)||k(n)?{type:n}:n;if(r){const t=yr(Boolean,r.type),n=yr(String,r.type);r[0]=t>-1,r[1]=n<0||t<n,(t>-1||E(r,"default"))&&s.push(e)}}}const u=[a,s];return N(t)&&r.set(t,u),u}function pr(t){return"$"!==t[0]}function gr(t){const e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:null===t?"null":""}function vr(t,e){return gr(t)===gr(e)}function yr(t,e){return S(e)?e.findIndex((e=>vr(e,t))):k(e)&&vr(e,t)?0:-1}const mr=t=>"_"===t[0]||"$stable"===t,_r=t=>S(t)?t.map(Qr):[Qr(t)],br=(t,e,n)=>{if(e._n)return e;const r=function(t,e=on,n){if(!e)return t;if(t._n)return t;const r=(...n)=>{r._d&&$r(-1);const i=sn(e);let o;try{o=t(...n)}finally{sn(i),r._d&&$r(1)}return __VUE_PROD_DEVTOOLS__&&Ke(e),o};return r._n=!0,r._c=!0,r._d=!0,r}(((...t)=>_r(e(...t))),n);return r._c=!1,r},xr=(t,e,n)=>{const r=t._ctx;for(const n in t){if(mr(n))continue;const i=t[n];if(k(i))e[n]=br(0,i,r);else if(null!=i){const t=_r(i);e[n]=()=>t}}},wr=(t,e)=>{const n=_r(e);t.slots.default=()=>n};function Mr(){return{app:null,config:{isNativeTag:y,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Er=0;function Sr(t,e){return function(n,r=null){k(n)||(n=Object.assign({},n)),null==r||N(r)||(r=null);const i=Mr(),o=new Set;let a=!1;const s=i.app={_uid:Er++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:vi,get config(){return i.config},set config(t){},use:(t,...e)=>(o.has(t)||(t&&k(t.install)?(o.add(t),t.install(s,...e)):k(t)&&(o.add(t),t(s,...e))),s),mixin:t=>(__VUE_OPTIONS_API__&&(i.mixins.includes(t)||i.mixins.push(t)),s),component:(t,e)=>e?(i.components[t]=e,s):i.components[t],directive:(t,e)=>e?(i.directives[t]=e,s):i.directives[t],mount(o,c,u){if(!a){const l=Gr(n,r);return l.appContext=i,c&&e?e(l,o):t(l,o,u),a=!0,s._container=o,o.__vue_app__=s,__VUE_PROD_DEVTOOLS__&&(s._instance=l.component,function(t,e){Ge("app:init",t,e,{Fragment:Nr,Text:Pr,Comment:Rr,Static:jr})}(s,vi)),pi(l.component)||l.component.proxy}},unmount(){a&&(t(null,s._container),__VUE_PROD_DEVTOOLS__&&(s._instance=null,function(t){Ge("app:unmount",t)}(s)),delete s._container.__vue_app__)},provide:(t,e)=>(i.provides[t]=e,s)};return s}}function Ar(t,e,n,r,i=!1){if(S(t))return void t.forEach(((t,o)=>Ar(t,e&&(S(e)?e[o]:e),n,r,i)));if(kn(r)&&!i)return;const o=4&r.shapeFlag?pi(r.component)||r.component.proxy:r.el,a=i?null:o,{i:s,r:c}=t,u=e&&e.r,l=s.refs===p?s.refs={}:s.refs,f=s.setupState;if(null!=u&&u!==c&&(O(u)?(l[u]=null,E(f,u)&&(f[u]=null)):ve(u)&&(u.value=null)),k(c))Ae(c,s,12,[a,l]);else{const e=O(c),r=ve(c);if(e||r){const s=()=>{if(t.f){const n=e?E(f,c)?f[c]:l[c]:c.value;i?S(n)&&w(n,o):S(n)?n.includes(o)||n.push(o):e?(l[c]=[o],E(f,c)&&(f[c]=l[c])):(c.value=[o],t.k&&(l[t.k]=c.value))}else e?(l[c]=a,E(f,c)&&(f[c]=a)):r&&(c.value=a,t.k&&(l[t.k]=a))};a?(s.id=-1,Tr(s,n)):s()}}}const Tr=function(t,e){var n;e&&e.pendingBranch?S(t)?e.effects.push(...t):e.effects.push(t):(S(n=t)?Re.push(...n):je&&je.includes(n,n.allowRecurse?De+1:De)||Re.push(n),Ue())};function kr(t,e){"boolean"!=typeof __VUE_OPTIONS_API__&&(X().__VUE_OPTIONS_API__=!0),"boolean"!=typeof __VUE_PROD_DEVTOOLS__&&(X().__VUE_PROD_DEVTOOLS__=!1);const n=X();n.__VUE__=!0,__VUE_PROD_DEVTOOLS__&&Xe(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:r,remove:i,patchProp:o,createElement:a,createText:s,createComment:c,setText:u,setElementText:l,parentNode:f,nextSibling:h,setScopeId:d=v,insertStaticContent:y}=t,m=(t,e,n,r=null,i=null,o=null,a=!1,s=null,c=!!e.dynamicChildren)=>{if(t===e)return;t&&!qr(t,e)&&(r=tt(t),H(t,i,o,!0),t=null),-2===e.patchFlag&&(c=!1,e.dynamicChildren=null);const{type:u,ref:l,shapeFlag:f}=e;switch(u){case Pr:_(t,e,n,r);break;case Rr:b(t,e,n,r);break;case jr:null==t&&w(e,n,r,a);break;case Nr:N(t,e,n,r,i,o,a,s,c);break;default:1&f?M(t,e,n,r,i,o,a,s,c):6&f?R(t,e,n,r,i,o,a,s,c):(64&f||128&f)&&u.process(t,e,n,r,i,o,a,s,c,nt)}null!=l&&i&&Ar(l,t&&t.ref,o,e||t,!e)},_=(t,e,n,i)=>{if(null==t)r(e.el=s(e.children),n,i);else{const n=e.el=t.el;e.children!==t.children&&u(n,e.children)}},b=(t,e,n,i)=>{null==t?r(e.el=c(e.children||""),n,i):e.el=t.el},w=(t,e,n,r)=>{[t.el,t.anchor]=y(t.children,e,n,r,t.el,t.anchor)},M=(t,e,n,r,i,o,a,s,c)=>{a=a||"svg"===e.type,null==t?S(e,n,r,i,o,a,s,c):k(t,e,i,o,a,s,c)},S=(t,e,n,i,s,c,u,f)=>{let h,d;const{type:p,props:g,shapeFlag:v,transition:y,dirs:m}=t;if(h=t.el=a(t.type,c,g&&g.is,g),8&v?l(h,t.children):16&v&&T(t.children,h,null,i,s,c&&"foreignObject"!==p,u,f),m&&Yn(t,null,i,"created"),g){for(const e in g)"value"===e||I(e)||o(h,e,null,g[e],c,t.children,i,s,Q);"value"in g&&o(h,"value",null,g.value),(d=g.onVnodeBeforeMount)&&ri(d,i,t)}A(h,t,t.scopeId,u,i),__VUE_PROD_DEVTOOLS__&&(Object.defineProperty(h,"__vnode",{value:t,enumerable:!1}),Object.defineProperty(h,"__vueParentComponent",{value:i,enumerable:!1})),m&&Yn(t,null,i,"beforeMount");const _=(!s||s&&!s.pendingBranch)&&y&&!y.persisted;_&&y.beforeEnter(h),r(h,e,n),((d=g&&g.onVnodeMounted)||_||m)&&Tr((()=>{d&&ri(d,i,t),_&&y.enter(h),m&&Yn(t,null,i,"mounted")}),s)},A=(t,e,n,r,i)=>{if(n&&d(t,n),r)for(let e=0;e<r.length;e++)d(t,r[e]);if(i&&e===i.subTree){const e=i.vnode;A(t,e,e.scopeId,e.slotScopeIds,i.parent)}},T=(t,e,n,r,i,o,a,s,c=0)=>{for(let u=c;u<t.length;u++){const c=t[u]=s?ti(t[u]):Qr(t[u]);m(null,c,e,n,r,i,o,a,s)}},k=(t,e,n,r,i,a,s)=>{const c=e.el=t.el;let{patchFlag:u,dynamicChildren:f,dirs:h}=e;u|=16&t.patchFlag;const d=t.props||p,g=e.props||p;let v;n&&Or(n,!1),(v=g.onVnodeBeforeUpdate)&&ri(v,n,e,t),h&&Yn(e,t,n,"beforeUpdate"),n&&Or(n,!0);const y=i&&"foreignObject"!==e.type;if(f?O(t.dynamicChildren,f,c,n,r,y,a):s||$(t,e,c,null,n,r,y,a,!1),u>0){if(16&u)C(c,e,d,g,n,r,i);else if(2&u&&d.class!==g.class&&o(c,"class",null,g.class,i),4&u&&o(c,"style",d.style,g.style,i),8&u){const a=e.dynamicProps;for(let e=0;e<a.length;e++){const s=a[e],u=d[s],l=g[s];l===u&&"value"!==s||o(c,s,u,l,i,t.children,n,r,Q)}}1&u&&t.children!==e.children&&l(c,e.children)}else s||null!=f||C(c,e,d,g,n,r,i);((v=g.onVnodeUpdated)||h)&&Tr((()=>{v&&ri(v,n,e,t),h&&Yn(e,t,n,"updated")}),r)},O=(t,e,n,r,i,o,a)=>{for(let s=0;s<e.length;s++){const c=t[s],u=e[s],l=c.el&&(c.type===Nr||!qr(c,u)||70&c.shapeFlag)?f(c.el):n;m(c,u,l,null,r,i,o,a,!0)}},C=(t,e,n,r,i,a,s)=>{if(n!==r){if(n!==p)for(const c in n)I(c)||c in r||o(t,c,n[c],null,s,e.children,i,a,Q);for(const c in r){if(I(c))continue;const u=r[c],l=n[c];u!==l&&"value"!==c&&o(t,c,l,u,s,e.children,i,a,Q)}"value"in r&&o(t,"value",n.value,r.value)}},N=(t,e,n,i,o,a,c,u,l)=>{const f=e.el=t?t.el:s(""),h=e.anchor=t?t.anchor:s("");let{patchFlag:d,dynamicChildren:p,slotScopeIds:g}=e;g&&(u=u?u.concat(g):g),null==t?(r(f,n,i),r(h,n,i),T(e.children,n,h,o,a,c,u,l)):d>0&&64&d&&p&&t.dynamicChildren?(O(t.dynamicChildren,p,n,o,a,c,u),(null!=e.key||o&&e===o.subTree)&&Cr(t,e,!0)):$(t,e,n,h,o,a,c,u,l)},R=(t,e,n,r,i,o,a,s,c)=>{e.slotScopeIds=s,null==t?512&e.shapeFlag?i.ctx.activate(e,n,r,a,c):j(e,n,r,i,o,a,c):D(t,e,c)},j=(t,e,n,r,i,o,a)=>{const s=t.component=function(t,e,n){const r=t.type,i=(e?e.appContext:t.appContext)||ii,o={uid:oi++,vnode:t,type:r,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new K(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:dr(r,i),emitsOptions:nn(r,i),emit:null,emitted:null,propsDefaults:p,inheritAttrs:r.inheritAttrs,ctx:p,data:p,props:p,attrs:p,slots:p,refs:p,setupState:p,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=e?e.root:o,o.emit=en.bind(null,o),t.ce&&t.ce(o),o}(t,r,i);if(On(t)&&(s.ctx.renderer=nt),function(t,e=!1){fi=e;const{props:n,children:r}=t.vnode,i=li(t);(function(t,e,n,r=!1){const i={},o={};W(o,Hr,1),t.propsDefaults=Object.create(null),fr(t,e,i,o);for(const e in t.propsOptions[0])e in i||(i[e]=void 0);n?t.props=r?i:oe(i,!1,Nt,Jt,te):t.type.props?t.props=i:t.props=o,t.attrs=o})(t,n,i,e),((t,e)=>{if(32&t.vnode.shapeFlag){const n=e._;n?(t.slots=le(e),W(e,"_",n)):xr(e,t.slots={})}else t.slots={},e&&wr(t,e);W(t.slots,Hr,1)})(t,r);const o=i?function(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=fe(new Proxy(t.ctx,tr));const{setup:r}=n;if(r){const n=t.setupContext=r.length>1?function(t){const e=e=>{t.exposed=e||{}};let n;return{get attrs(){return n||(n=function(t){return new Proxy(t.attrs,{get:(e,n)=>(gt(t,0,"$attrs"),e[n])})}(t))},slots:t.slots,emit:t.emit,expose:e}}(t):null;ci(t),dt();const i=Ae(r,t,0,[t.props,n]);if(pt(),ui(),P(i)){if(i.then(ui,ui),e)return i.then((n=>{hi(t,n,e)})).catch((e=>{ke(e,t,0)}));t.asyncDep=i}else hi(t,i,e)}else di(t,e)}(t,e):void 0;fi=!1}(s),s.asyncDep){if(i&&i.registerDep(s,F),!t.el){const t=s.subTree=Gr(Rr);b(null,t,e,n)}}else F(s,t,e,n,i,o,a)},D=(t,e,n)=>{const r=e.component=t.component;if(function(t,e,n){const{props:r,children:i,component:o}=t,{props:a,children:s,patchFlag:c}=e,u=o.emitsOptions;if(e.dirs||e.transition)return!0;if(!(n&&c>=0))return!(!i&&!s||s&&s.$stable)||r!==a&&(r?!a||fn(r,a,u):!!a);if(1024&c)return!0;if(16&c)return r?fn(r,a,u):!!a;if(8&c){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const n=t[e];if(a[n]!==r[n]&&!rn(u,n))return!0}}return!1}(t,e,n)){if(r.asyncDep&&!r.asyncResolved)return void L(r,e,n);r.next=e,function(t){const e=Ne.indexOf(t);e>Pe&&Ne.splice(e,1)}(r.update),r.update()}else e.el=t.el,r.vnode=e},F=(t,e,n,r,i,o,a)=>{const s=t.effect=new ut((()=>{if(t.isMounted){let e,{next:n,bu:r,u:s,parent:c,vnode:u}=t,l=n;Or(t,!1),n?(n.el=u.el,L(t,n,a)):n=u,r&&Y(r),(e=n.props&&n.props.onVnodeBeforeUpdate)&&ri(e,c,n,u),Or(t,!0);const h=cn(t),d=t.subTree;t.subTree=h,m(d,h,f(d.el),tt(d),t,i,o),n.el=h.el,null===l&&function({vnode:t,parent:e},n){for(;e&&e.subTree===t;)(t=e.vnode).el=n,e=e.parent}(t,h.el),s&&Tr(s,i),(e=n.props&&n.props.onVnodeUpdated)&&Tr((()=>ri(e,c,n,u)),i),__VUE_PROD_DEVTOOLS__&&Ke(t)}else{let a;const{el:s,props:c}=e,{bm:u,m:l,parent:f}=t,h=kn(e);if(Or(t,!1),u&&Y(u),!h&&(a=c&&c.onVnodeBeforeMount)&&ri(a,f,e),Or(t,!0),s&&it){const n=()=>{t.subTree=cn(t),it(s,t.subTree,t,i,null)};h?e.type.__asyncLoader().then((()=>!t.isUnmounted&&n())):n()}else{const a=t.subTree=cn(t);m(null,a,n,r,t,i,o),e.el=a.el}if(l&&Tr(l,i),!h&&(a=c&&c.onVnodeMounted)){const t=e;Tr((()=>ri(a,f,t)),i)}(256&e.shapeFlag||f&&kn(f.vnode)&&256&f.vnode.shapeFlag)&&t.a&&Tr(t.a,i),t.isMounted=!0,__VUE_PROD_DEVTOOLS__&&Je(t),e=n=r=null}}),(()=>$e(c)),t.scope),c=t.update=()=>s.run();c.id=t.uid,Or(t,!0),c()},L=(t,e,n)=>{e.component=t;const r=t.vnode.props;t.vnode=e,t.next=null,function(t,e,n,r){const{props:i,attrs:o,vnode:{patchFlag:a}}=t,s=le(i),[c]=t.propsOptions;let u=!1;if(!(r||a>0)||16&a){let r;fr(t,e,i,o)&&(u=!0);for(const o in s)e&&(E(e,o)||(r=B(o))!==o&&E(e,r))||(c?!n||void 0===n[o]&&void 0===n[r]||(i[o]=hr(c,s,o,void 0,t,!0)):delete i[o]);if(o!==s)for(const t in o)e&&E(e,t)||(delete o[t],u=!0)}else if(8&a){const n=t.vnode.dynamicProps;for(let r=0;r<n.length;r++){let a=n[r];if(rn(t.emitsOptions,a))continue;const l=e[a];if(c)if(E(o,a))l!==o[a]&&(o[a]=l,u=!0);else{const e=U(a);i[e]=hr(c,s,e,l,t,!1)}else l!==o[a]&&(o[a]=l,u=!0)}}u&&yt(t,"set","$attrs")}(t,e.props,r,n),((t,e,n)=>{const{vnode:r,slots:i}=t;let o=!0,a=p;if(32&r.shapeFlag){const t=e._;t?n&&1===t?o=!1:(x(i,e),n||1!==t||delete i._):(o=!e.$stable,xr(e,i)),a=e}else e&&(wr(t,e),a={default:1});if(o)for(const t in i)mr(t)||t in a||delete i[t]})(t,e.children,n),dt(),ze(),pt()},$=(t,e,n,r,i,o,a,s,c=!1)=>{const u=t&&t.children,f=t?t.shapeFlag:0,h=e.children,{patchFlag:d,shapeFlag:p}=e;if(d>0){if(128&d)return void V(u,h,n,r,i,o,a,s,c);if(256&d)return void z(u,h,n,r,i,o,a,s,c)}8&p?(16&f&&Q(u,i,o),h!==u&&l(n,h)):16&f?16&p?V(u,h,n,r,i,o,a,s,c):Q(u,i,o,!0):(8&f&&l(n,""),16&p&&T(h,n,r,i,o,a,s,c))},z=(t,e,n,r,i,o,a,s,c)=>{e=e||g;const u=(t=t||g).length,l=e.length,f=Math.min(u,l);let h;for(h=0;h<f;h++){const r=e[h]=c?ti(e[h]):Qr(e[h]);m(t[h],r,n,null,i,o,a,s,c)}u>l?Q(t,i,o,!0,!1,f):T(e,n,r,i,o,a,s,c,f)},V=(t,e,n,r,i,o,a,s,c)=>{let u=0;const l=e.length;let f=t.length-1,h=l-1;for(;u<=f&&u<=h;){const r=t[u],l=e[u]=c?ti(e[u]):Qr(e[u]);if(!qr(r,l))break;m(r,l,n,null,i,o,a,s,c),u++}for(;u<=f&&u<=h;){const r=t[f],u=e[h]=c?ti(e[h]):Qr(e[h]);if(!qr(r,u))break;m(r,u,n,null,i,o,a,s,c),f--,h--}if(u>f){if(u<=h){const t=h+1,f=t<l?e[t].el:r;for(;u<=h;)m(null,e[u]=c?ti(e[u]):Qr(e[u]),n,f,i,o,a,s,c),u++}}else if(u>h)for(;u<=f;)H(t[u],i,o,!0),u++;else{const d=u,p=u,v=new Map;for(u=p;u<=h;u++){const t=e[u]=c?ti(e[u]):Qr(e[u]);null!=t.key&&v.set(t.key,u)}let y,_=0;const b=h-p+1;let x=!1,w=0;const M=new Array(b);for(u=0;u<b;u++)M[u]=0;for(u=d;u<=f;u++){const r=t[u];if(_>=b){H(r,i,o,!0);continue}let l;if(null!=r.key)l=v.get(r.key);else for(y=p;y<=h;y++)if(0===M[y-p]&&qr(r,e[y])){l=y;break}void 0===l?H(r,i,o,!0):(M[l-p]=u+1,l>=w?w=l:x=!0,m(r,e[l],n,null,i,o,a,s,c),_++)}const E=x?function(t){const e=t.slice(),n=[0];let r,i,o,a,s;const c=t.length;for(r=0;r<c;r++){const c=t[r];if(0!==c){if(i=n[n.length-1],t[i]<c){e[r]=i,n.push(r);continue}for(o=0,a=n.length-1;o<a;)s=o+a>>1,t[n[s]]<c?o=s+1:a=s;c<t[n[o]]&&(o>0&&(e[r]=n[o-1]),n[o]=r)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=e[a];return n}(M):g;for(y=E.length-1,u=b-1;u>=0;u--){const t=p+u,f=e[t],h=t+1<l?e[t+1].el:r;0===M[u]?m(null,f,n,h,i,o,a,s,c):x&&(y<0||u!==E[y]?q(f,n,h,2):y--)}}},q=(t,e,n,i,o=null)=>{const{el:a,type:s,transition:c,children:u,shapeFlag:l}=t;if(6&l)q(t.component.subTree,e,n,i);else if(128&l)t.suspense.move(e,n,i);else if(64&l)s.move(t,e,n,nt);else if(s!==Nr)if(s!==jr)if(2!==i&&1&l&&c)if(0===i)c.beforeEnter(a),r(a,e,n),Tr((()=>c.enter(a)),o);else{const{leave:t,delayLeave:i,afterLeave:o}=c,s=()=>r(a,e,n),u=()=>{t(a,(()=>{s(),o&&o()}))};i?i(a,s,u):u()}else r(a,e,n);else(({el:t,anchor:e},n,i)=>{let o;for(;t&&t!==e;)o=h(t),r(t,n,i),t=o;r(e,n,i)})(t,e,n);else{r(a,e,n);for(let t=0;t<u.length;t++)q(u[t],e,n,i);r(t.anchor,e,n)}},H=(t,e,n,r=!1,i=!1)=>{const{type:o,props:a,ref:s,children:c,dynamicChildren:u,shapeFlag:l,patchFlag:f,dirs:h}=t;if(null!=s&&Ar(s,null,n,t,!0),256&l)return void e.ctx.deactivate(t);const d=1&l&&h,p=!kn(t);let g;if(p&&(g=a&&a.onVnodeBeforeUnmount)&&ri(g,e,t),6&l)J(t.component,n,r);else{if(128&l)return void t.suspense.unmount(n,r);d&&Yn(t,null,e,"beforeUnmount"),64&l?t.type.remove(t,e,n,i,nt,r):u&&(o!==Nr||f>0&&64&f)?Q(u,e,n,!1,!0):(o===Nr&&384&f||!i&&16&l)&&Q(c,e,n),r&&Z(t)}(p&&(g=a&&a.onVnodeUnmounted)||d)&&Tr((()=>{g&&ri(g,e,t),d&&Yn(t,null,e,"unmounted")}),n)},Z=t=>{const{type:e,el:n,anchor:r,transition:o}=t;if(e===Nr)return void G(n,r);if(e===jr)return void(({el:t,anchor:e})=>{let n;for(;t&&t!==e;)n=h(t),i(t),t=n;i(e)})(t);const a=()=>{i(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&t.shapeFlag&&o&&!o.persisted){const{leave:e,delayLeave:r}=o,i=()=>e(n,a);r?r(t.el,a,i):i()}else a()},G=(t,e)=>{let n;for(;t!==e;)n=h(t),i(t),t=n;i(e)},J=(t,e,n)=>{const{bum:r,scope:i,update:o,subTree:a,um:s}=t;var c;r&&Y(r),i.stop(),o&&(o.active=!1,H(a,t,e,n)),s&&Tr(s,e),Tr((()=>{t.isUnmounted=!0}),e),e&&e.pendingBranch&&!e.isUnmounted&&t.asyncDep&&!t.asyncResolved&&t.suspenseId===e.pendingId&&(e.deps--,0===e.deps&&e.resolve()),__VUE_PROD_DEVTOOLS__&&(c=t,Ye&&"function"==typeof Ye.cleanupBuffer&&!Ye.cleanupBuffer(c)&&Qe(c))},Q=(t,e,n,r=!1,i=!1,o=0)=>{for(let a=o;a<t.length;a++)H(t[a],e,n,r,i)},tt=t=>6&t.shapeFlag?tt(t.component.subTree):128&t.shapeFlag?t.suspense.next():h(t.anchor||t.el),et=(t,e,n)=>{null==t?e._vnode&&H(e._vnode,null,null,!0):m(e._vnode||null,t,e,null,null,null,n),ze(),Be(),e._vnode=t},nt={p:m,um:H,m:q,r:Z,mt:j,mc:T,pc:$,pbc:O,n:tt,o:t};let rt,it;return e&&([rt,it]=e(nt)),{render:et,hydrate:rt,createApp:Sr(et,rt)}}function Or({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Cr(t,e,n=!1){const r=t.children,i=e.children;if(S(r)&&S(i))for(let t=0;t<r.length;t++){const e=r[t];let o=i[t];1&o.shapeFlag&&!o.dynamicChildren&&((o.patchFlag<=0||32===o.patchFlag)&&(o=i[t]=ti(i[t]),o.el=e.el),n||Cr(e,o))}}const Nr=Symbol(void 0),Pr=Symbol(void 0),Rr=Symbol(void 0),jr=Symbol(void 0),Dr=[];let Fr=null;function Ir(t=!1){Dr.push(Fr=t?null:[])}let Lr=1;function $r(t){Lr+=t}function Ur(t){return t.dynamicChildren=Lr>0?Fr||g:null,Dr.pop(),Fr=Dr[Dr.length-1]||null,Lr>0&&Fr&&Fr.push(t),t}function zr(t,e,n,r,i,o){return Ur(Zr(t,e,n,r,i,o,!0))}function Br(t,e,n,r,i){return Ur(Gr(t,e,n,r,i,!0))}function Vr(t){return!!t&&!0===t.__v_isVNode}function qr(t,e){return t.type===e.type&&t.key===e.key}const Hr="__vInternal",Yr=({key:t})=>null!=t?t:null,Wr=({ref:t,ref_key:e,ref_for:n})=>null!=t?O(t)||ve(t)||k(t)?{i:on,r:t,k:e,f:!!n}:t:null;function Zr(t,e=null,n=null,r=0,i=null,o=(t===Nr?0:1),a=!1,s=!1){const c={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Yr(e),ref:e&&Wr(e),scopeId:an,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null};return s?(ei(c,n),128&o&&t.normalize(c)):n&&(c.shapeFlag|=O(n)?8:16),Lr>0&&!a&&Fr&&(c.patchFlag>0||6&o)&&32!==c.patchFlag&&Fr.push(c),c}const Gr=function(t,e=null,n=null,r=0,i=null,o=!1){if(t&&t!==Gn||(t=Rr),Vr(t)){const r=Xr(t,e,!0);return n&&ei(r,n),Lr>0&&!o&&Fr&&(6&r.shapeFlag?Fr[Fr.indexOf(t)]=r:Fr.push(r)),r.patchFlag|=-2,r}if(function(t){return k(t)&&"__vccOpts"in t}(t)&&(t=t.__vccOpts),e){e=function(t){return t?ue(t)||Hr in t?x({},t):t:null}(e);let{class:t,style:n}=e;t&&!O(t)&&(e.class=f(t)),N(n)&&(ue(n)&&!S(n)&&(n=x({},n)),e.style=s(n))}return Zr(t,e,n,r,i,O(t)?1:(t=>t.__isSuspense)(t)?128:(t=>t.__isTeleport)(t)?64:N(t)?4:k(t)?2:0,o,!0)};function Xr(t,e,n=!1){const{props:r,ref:i,patchFlag:o,children:a}=t,s=e?ni(r||{},e):r;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:s,key:s&&Yr(s),ref:e&&e.ref?n&&i?S(i)?i.concat(Wr(e)):[i,Wr(e)]:Wr(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Nr?-1===o?16:16|o:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Xr(t.ssContent),ssFallback:t.ssFallback&&Xr(t.ssFallback),el:t.el,anchor:t.anchor}}function Jr(t=" ",e=0){return Gr(Pr,null,t,e)}function Kr(t="",e=!1){return e?(Ir(),Br(Rr,null,t)):Gr(Rr,null,t)}function Qr(t){return null==t||"boolean"==typeof t?Gr(Rr):S(t)?Gr(Nr,null,t.slice()):"object"==typeof t?ti(t):Gr(Pr,null,String(t))}function ti(t){return null===t.el&&-1!==t.patchFlag||t.memo?t:Xr(t)}function ei(t,e){let n=0;const{shapeFlag:r}=t;if(null==e)e=null;else if(S(e))n=16;else if("object"==typeof e){if(65&r){const n=e.default;return void(n&&(n._c&&(n._d=!1),ei(t,n()),n._c&&(n._d=!0)))}{n=32;const r=e._;r||Hr in e?3===r&&on&&(1===on.slots._?e._=1:(e._=2,t.patchFlag|=1024)):e._ctx=on}}else k(e)?(e={default:e,_ctx:on},n=32):(e=String(e),64&r?(n=16,e=[Jr(e)]):n=8);t.children=e,t.shapeFlag|=n}function ni(...t){const e={};for(let n=0;n<t.length;n++){const r=t[n];for(const t in r)if("class"===t)e.class!==r.class&&(e.class=f([e.class,r.class]));else if("style"===t)e.style=s([e.style,r.style]);else if(_(t)){const n=e[t],i=r[t];!i||n===i||S(n)&&n.includes(i)||(e[t]=n?[].concat(n,i):i)}else""!==t&&(e[t]=r[t])}return e}function ri(t,e,n,r=null){Te(t,e,7,[n,r])}const ii=Mr();let oi=0;let ai=null;const si=()=>ai||on,ci=t=>{ai=t,t.scope.on()},ui=()=>{ai&&ai.scope.off(),ai=null};function li(t){return 4&t.vnode.shapeFlag}let fi=!1;function hi(t,e,n){k(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:N(e)&&(__VUE_PROD_DEVTOOLS__&&(t.devtoolsRawSetupState=e),t.setupState=xe(e)),di(t,n)}function di(t,e,n){const r=t.type;t.render||(t.render=r.render||v),__VUE_OPTIONS_API__&&(ci(t),dt(),function(t){const e=ir(t),n=t.proxy,r=t.ctx;er=!1,e.beforeCreate&&nr(e.beforeCreate,t,"bc");const{data:i,computed:o,methods:a,watch:s,provide:c,inject:u,created:l,beforeMount:f,mounted:h,beforeUpdate:d,updated:p,activated:g,deactivated:y,beforeDestroy:m,beforeUnmount:_,destroyed:b,unmounted:x,render:w,renderTracked:M,renderTriggered:E,errorCaptured:A,serverPrefetch:T,expose:O,inheritAttrs:C,components:P,directives:R,filters:j}=e;if(u&&function(t,e,n=v,r=!1){S(t)&&(t=cr(t));for(const n in t){const i=t[n];let o;o=N(i)?"default"in i?hn(i.from||n,i.default,!0):hn(i.from||n):hn(i),ve(o)&&r?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:t=>o.value=t}):e[n]=o}}(u,r,null,t.appContext.config.unwrapInjectedRef),a)for(const t in a){const e=a[t];k(e)&&(r[t]=e.bind(n))}if(i){const e=i.call(n,n);N(e)&&(t.data=re(e))}if(er=!0,o)for(const t in o){const e=o[t],i=k(e)?e.bind(n,n):k(e.get)?e.get.bind(n,n):v,a=!k(e)&&k(e.set)?e.set.bind(n):v,s=gi({get:i,set:a});Object.defineProperty(r,t,{enumerable:!0,configurable:!0,get:()=>s.value,set:t=>s.value=t})}if(s)for(const t in s)rr(s[t],r,n,t);if(c){const t=k(c)?c.call(n):c;Reflect.ownKeys(t).forEach((e=>{!function(t,e){if(ai){let n=ai.provides;const r=ai.parent&&ai.parent.provides;r===n&&(n=ai.provides=Object.create(r)),n[t]=e}}(e,t[e])}))}function D(t,e){S(e)?e.forEach((e=>t(e.bind(n)))):e&&t(e.bind(n))}if(l&&nr(l,t,"c"),D(Fn,f),D(In,h),D(Ln,d),D($n,p),D(Cn,g),D(Nn,y),D(Hn,A),D(qn,M),D(Vn,E),D(Un,_),D(zn,x),D(Bn,T),S(O))if(O.length){const e=t.exposed||(t.exposed={});O.forEach((t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e})}))}else t.exposed||(t.exposed={});w&&t.render===v&&(t.render=w),null!=C&&(t.inheritAttrs=C),P&&(t.components=P),R&&(t.directives=R)}(t),pt(),ui())}function pi(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(xe(fe(t.exposed)),{get:(e,n)=>n in e?e[n]:n in Qn?Qn[n](t):void 0}))}const gi=(t,e)=>function(t,e,n=!1){let r,i;const o=k(t);return o?(r=t,i=v):(r=t.get,i=t.set),new Se(r,i,o||!i,n)}(t,0,fi);Symbol("");const vi="3.2.41",yi="undefined"!=typeof document?document:null,mi=yi&&yi.createElement("template"),_i={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const i=e?yi.createElementNS("http://www.w3.org/2000/svg",t):yi.createElement(t,n?{is:n}:void 0);return"select"===t&&r&&null!=r.multiple&&i.setAttribute("multiple",r.multiple),i},createText:t=>yi.createTextNode(t),createComment:t=>yi.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>yi.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,i,o){const a=n?n.previousSibling:e.lastChild;if(i&&(i===o||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),n),i!==o&&(i=i.nextSibling););else{mi.innerHTML=r?`<svg>${t}</svg>`:t;const i=mi.content;if(r){const t=i.firstChild;for(;t.firstChild;)i.appendChild(t.firstChild);i.removeChild(t)}e.insertBefore(i,n)}return[a?a.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},bi=/\s*!important$/;function xi(t,e,n){if(S(n))n.forEach((n=>xi(t,e,n)));else if(null==n&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=function(t,e){const n=Mi[e];if(n)return n;let r=U(e);if("filter"!==r&&r in t)return Mi[e]=r;r=V(r);for(let n=0;n<wi.length;n++){const i=wi[n]+r;if(i in t)return Mi[e]=i}return e}(t,e);bi.test(n)?t.setProperty(B(r),n.replace(bi,""),"important"):t[r]=n}}const wi=["Webkit","Moz","ms"],Mi={},Ei="http://www.w3.org/1999/xlink";const Si=/(?:Once|Passive|Capture)$/;let Ai=0;const Ti=Promise.resolve(),ki=/^on[a-z]/;"undefined"!=typeof HTMLElement&&HTMLElement;const Oi="transition",Ci="animation",Ni=(t,{slots:e})=>function(t,e,n){const r=arguments.length;return 2===r?N(e)&&!S(e)?Vr(e)?Gr(t,null,[e]):Gr(t,e):Gr(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Vr(n)&&(n=[n]),Gr(t,e,n))}(xn,function(t){const e={};for(const n in t)n in Pi||(e[n]=t[n]);if(!1===t.css)return e;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:u=a,appearToClass:l=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=t,p=function(t){if(null==t)return null;if(N(t))return[Di(t.enter),Di(t.leave)];{const e=Di(t);return[e,e]}}(i),g=p&&p[0],v=p&&p[1],{onBeforeEnter:y,onEnter:m,onEnterCancelled:_,onLeave:b,onLeaveCancelled:w,onBeforeAppear:M=y,onAppear:E=m,onAppearCancelled:S=_}=e,A=(t,e,n)=>{Ii(t,e?l:s),Ii(t,e?u:a),n&&n()},T=(t,e)=>{t._isLeaving=!1,Ii(t,f),Ii(t,d),Ii(t,h),e&&e()},k=t=>(e,n)=>{const i=t?E:m,a=()=>A(e,t,n);Ri(i,[e,a]),Li((()=>{Ii(e,t?c:o),Fi(e,t?l:s),ji(i)||Ui(e,r,g,a)}))};return x(e,{onBeforeEnter(t){Ri(y,[t]),Fi(t,o),Fi(t,a)},onBeforeAppear(t){Ri(M,[t]),Fi(t,c),Fi(t,u)},onEnter:k(!1),onAppear:k(!0),onLeave(t,e){t._isLeaving=!0;const n=()=>T(t,e);Fi(t,f),document.body.offsetHeight,Fi(t,h),Li((()=>{t._isLeaving&&(Ii(t,f),Fi(t,d),ji(b)||Ui(t,r,v,n))})),Ri(b,[t,n])},onEnterCancelled(t){A(t,!1),Ri(_,[t])},onAppearCancelled(t){A(t,!0),Ri(S,[t])},onLeaveCancelled(t){T(t),Ri(w,[t])}})}(t),e);Ni.displayName="Transition";const Pi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Ri=(Ni.props=x({},xn.props,Pi),(t,e=[])=>{S(t)?t.forEach((t=>t(...e))):t&&t(...e)}),ji=t=>!!t&&(S(t)?t.some((t=>t.length>1)):t.length>1);function Di(t){return Z(t)}function Fi(t,e){e.split(/\s+/).forEach((e=>e&&t.classList.add(e))),(t._vtc||(t._vtc=new Set)).add(e)}function Ii(t,e){e.split(/\s+/).forEach((e=>e&&t.classList.remove(e)));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function Li(t){requestAnimationFrame((()=>{requestAnimationFrame(t)}))}let $i=0;function Ui(t,e,n,r){const i=t._endId=++$i,o=()=>{i===t._endId&&r()};if(n)return setTimeout(o,n);const{type:a,timeout:s,propCount:c}=function(t,e){const n=window.getComputedStyle(t),r=t=>(n[t]||"").split(", "),i=r("transitionDelay"),o=r("transitionDuration"),a=zi(i,o),s=r("animationDelay"),c=r("animationDuration"),u=zi(s,c);let l=null,f=0,h=0;return e===Oi?a>0&&(l=Oi,f=a,h=o.length):e===Ci?u>0&&(l=Ci,f=u,h=c.length):(f=Math.max(a,u),l=f>0?a>u?Oi:Ci:null,h=l?l===Oi?o.length:c.length:0),{type:l,timeout:f,propCount:h,hasTransform:l===Oi&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}(t,e);if(!a)return r();const u=a+"end";let l=0;const f=()=>{t.removeEventListener(u,h),o()},h=e=>{e.target===t&&++l>=c&&f()};setTimeout((()=>{l<c&&f()}),s+1),t.addEventListener(u,h)}function zi(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map(((e,n)=>Bi(e)+Bi(t[n]))))}function Bi(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}new WeakMap,new WeakMap;const Vi=x({patchProp:(t,e,n,r,i=!1,s,c,u,l)=>{"class"===e?function(t,e,n){const r=t._vtc;r&&(e=(e?[e,...r]:[...r]).join(" ")),null==e?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}(t,r,i):"style"===e?function(t,e,n){const r=t.style,i=O(n);if(n&&!i){for(const t in n)xi(r,t,n[t]);if(e&&!O(e))for(const t in e)null==n[t]&&xi(r,t,"")}else{const o=r.display;i?e!==n&&(r.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(r.display=o)}}(t,n,r):_(e)?b(e)||function(t,e,n,r,i=null){const o=t._vei||(t._vei={}),a=o[e];if(r&&a)a.value=r;else{const[n,s]=function(t){let e;if(Si.test(t)){let n;for(e={};n=t.match(Si);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[":"===t[2]?t.slice(3):B(t.slice(2)),e]}(e);if(r){const a=o[e]=function(t,e){const n=t=>{if(t._vts){if(t._vts<=n.attached)return}else t._vts=Date.now();Te(function(t,e){if(S(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map((t=>e=>!e._stopped&&t&&t(e)))}return e}(t,n.value),e,5,[t])};return n.value=t,n.attached=Ai||(Ti.then((()=>Ai=0)),Ai=Date.now()),n}(r,i);!function(t,e,n,r){t.addEventListener(e,n,r)}(t,n,a,s)}else a&&(function(t,e,n,r){t.removeEventListener(e,n,r)}(t,n,a,s),o[e]=void 0)}}(t,e,0,r,c):("."===e[0]?(e=e.slice(1),1):"^"===e[0]?(e=e.slice(1),0):function(t,e,n,r){return r?"innerHTML"===e||"textContent"===e||!!(e in t&&ki.test(e)&&k(n)):"spellcheck"!==e&&"draggable"!==e&&"translate"!==e&&("form"!==e&&(("list"!==e||"INPUT"!==t.tagName)&&(("type"!==e||"TEXTAREA"!==t.tagName)&&((!ki.test(e)||!O(n))&&e in t))))}(t,e,r,i))?function(t,e,n,r,i,o,s){if("innerHTML"===e||"textContent"===e)return r&&s(r,i,o),void(t[e]=null==n?"":n);if("value"===e&&"PROGRESS"!==t.tagName&&!t.tagName.includes("-")){t._value=n;const r=null==n?"":n;return t.value===r&&"OPTION"!==t.tagName||(t.value=r),void(null==n&&t.removeAttribute(e))}let c=!1;if(""===n||null==n){const r=typeof t[e];"boolean"===r?n=a(n):null==n&&"string"===r?(n="",c=!0):"number"===r&&(n=0,c=!0)}try{t[e]=n}catch(t){}c&&t.removeAttribute(e)}(t,e,r,s,c,u,l):("true-value"===e?t._trueValue=r:"false-value"===e&&(t._falseValue=r),function(t,e,n,r,i){if(r&&e.startsWith("xlink:"))null==n?t.removeAttributeNS(Ei,e.slice(6,e.length)):t.setAttributeNS(Ei,e,n);else{const r=o(e);null==n||r&&!a(n)?t.removeAttribute(e):t.setAttribute(e,r?"":n)}}(t,e,r,i))}},_i);let qi;const Hi={class:"vis-outer"},Yi={key:1},Wi=Zr("h3",null,"prepared:",-1),Zi={style:{height:"500px",overflow:"auto","font-size":"11px"}},Gi=Zr("h3",null,"org:",-1),Xi={style:{height:"500px",overflow:"auto","font-size":"11px"}};function Ji(){return"undefined"!=typeof navigator&&"undefined"!=typeof window?window:void 0!==n.g?n.g:{}}const Ki="function"==typeof Proxy;let Qi,to,eo;class no{constructor(t,e){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=e;const r={};if(t.settings)for(const e in t.settings){const n=t.settings[e];r[e]=n.defaultValue}const i=`__vue-devtools-plugin-settings__${t.id}`;let o=Object.assign({},r);try{const t=localStorage.getItem(i),e=JSON.parse(t);Object.assign(o,e)}catch(t){}this.fallbacks={getSettings:()=>o,setSettings(t){try{localStorage.setItem(i,JSON.stringify(t))}catch(t){}o=t},now:()=>function(){var t;return void 0!==Qi||("undefined"!=typeof window&&window.performance?(Qi=!0,to=window.performance):void 0!==n.g&&(null===(t=n.g.perf_hooks)||void 0===t?void 0:t.performance)?(Qi=!0,to=n.g.perf_hooks.performance):Qi=!1),Qi}()?to.now():Date.now()},e&&e.on("plugin:settings:set",((t,e)=>{t===this.plugin.id&&this.fallbacks.setSettings(e)})),this.proxiedOn=new Proxy({},{get:(t,e)=>this.target?this.target.on[e]:(...t)=>{this.onQueue.push({method:e,args:t})}}),this.proxiedTarget=new Proxy({},{get:(t,e)=>this.target?this.target[e]:"on"===e?this.proxiedOn:Object.keys(this.fallbacks).includes(e)?(...t)=>(this.targetQueue.push({method:e,args:t,resolve:()=>{}}),this.fallbacks[e](...t)):(...t)=>new Promise((n=>{this.targetQueue.push({method:e,args:t,resolve:n})}))})}async setRealTarget(t){this.target=t;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function ro(t,e){const n=t,r=Ji(),i=Ji().__VUE_DEVTOOLS_GLOBAL_HOOK__,o=Ki&&n.enableEarlyProxy;if(!i||!r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&o){const t=o?new no(n,i):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:t}),t&&e(t.proxiedTarget)}else i.emit("devtools-plugin:setup",t,e)}const io=t=>eo=t,oo=Symbol();function ao(t){return t&&"object"==typeof t&&"[object Object]"===Object.prototype.toString.call(t)&&"function"!=typeof t.toJSON}var so;!function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"}(so||(so={}));const co="undefined"!=typeof window,uo="undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&co,lo=(()=>"object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:"object"==typeof globalThis?globalThis:{HTMLElement:null})();function fo(t,e,n){const r=new XMLHttpRequest;r.open("GET",t),r.responseType="blob",r.onload=function(){yo(r.response,e,n)},r.onerror=function(){console.error("could not download file")},r.send()}function ho(t){const e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return e.status>=200&&e.status<=299}function po(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(e){const n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(n)}}const go="object"==typeof navigator?navigator:{userAgent:""},vo=(()=>/Macintosh/.test(go.userAgent)&&/AppleWebKit/.test(go.userAgent)&&!/Safari/.test(go.userAgent))(),yo=co?"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!vo?function(t,e="download",n){const r=document.createElement("a");r.download=e,r.rel="noopener","string"==typeof t?(r.href=t,r.origin!==location.origin?ho(r.href)?fo(t,e,n):(r.target="_blank",po(r)):po(r)):(r.href=URL.createObjectURL(t),setTimeout((function(){URL.revokeObjectURL(r.href)}),4e4),setTimeout((function(){po(r)}),0))}:"msSaveOrOpenBlob"in go?function(t,e="download",n){if("string"==typeof t)if(ho(t))fo(t,e,n);else{const e=document.createElement("a");e.href=t,e.target="_blank",setTimeout((function(){po(e)}))}else navigator.msSaveOrOpenBlob(function(t,{autoBom:e=!1}={}){return e&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t}(t,n),e)}:function(t,e,n,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof t)return fo(t,e,n);const i="application/octet-stream"===t.type,o=/constructor/i.test(String(lo.HTMLElement))||"safari"in lo,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||i&&o||vo)&&"undefined"!=typeof FileReader){const e=new FileReader;e.onloadend=function(){let t=e.result;if("string"!=typeof t)throw r=null,new Error("Wrong reader.result type");t=a?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=t:location.assign(t),r=null},e.readAsDataURL(t)}else{const e=URL.createObjectURL(t);r?r.location.assign(e):location.href=e,r=null,setTimeout((function(){URL.revokeObjectURL(e)}),4e4)}}:()=>{};function mo(t,e){const n="🍍 "+t;"function"==typeof __VUE_DEVTOOLS_TOAST__?__VUE_DEVTOOLS_TOAST__(n,e):"error"===e?console.error(n):"warn"===e?console.warn(n):console.log(n)}function _o(t){return"_a"in t&&"install"in t}function bo(){if(!("clipboard"in navigator))return mo("Your browser doesn't support the Clipboard API","error"),!0}function xo(t){return!!(t instanceof Error&&t.message.toLowerCase().includes("document is not focused"))&&(mo('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0)}let wo;function Mo(t){return{_custom:{display:t}}}const Eo="🍍 Pinia (root)",So="_root";function Ao(t){return _o(t)?{id:So,label:Eo}:{id:t.$id,label:t.$id}}function To(t){return t?Array.isArray(t)?t.reduce(((t,e)=>(t.keys.push(e.key),t.operations.push(e.type),t.oldValue[e.key]=e.oldValue,t.newValue[e.key]=e.newValue,t)),{oldValue:{},keys:[],operations:[],newValue:{}}):{operation:Mo(t.type),key:Mo(t.key),oldValue:t.oldValue,newValue:t.newValue}:{}}function ko(t){switch(t){case so.direct:return"mutation";case so.patchFunction:case so.patchObject:return"$patch";default:return"unknown"}}let Oo=!0;const Co=[],No="pinia:mutations",Po="pinia",Ro=t=>"🍍 "+t;function jo(t,e){ro({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:Co,app:t},(n=>{"function"!=typeof n.now&&mo("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),n.addTimelineLayer({id:No,label:"Pinia 🍍",color:15064968}),n.addInspector({id:Po,label:"Pinia 🍍",icon:"storage",treeFilterPlaceholder:"Search stores",actions:[{icon:"content_copy",action:()=>{!async function(t){if(!bo())try{await navigator.clipboard.writeText(JSON.stringify(t.state.value)),mo("Global state copied to clipboard.")}catch(t){if(xo(t))return;mo("Failed to serialize the state. Check the console for more details.","error"),console.error(t)}}(e)},tooltip:"Serialize and copy the state"},{icon:"content_paste",action:async()=>{await async function(t){if(!bo())try{t.state.value=JSON.parse(await navigator.clipboard.readText()),mo("Global state pasted from clipboard.")}catch(t){if(xo(t))return;mo("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(t)}}(e),n.sendInspectorTree(Po),n.sendInspectorState(Po)},tooltip:"Replace the state with the content of your clipboard"},{icon:"save",action:()=>{!async function(t){try{yo(new Blob([JSON.stringify(t.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(t){mo("Failed to export the state as JSON. Check the console for more details.","error"),console.error(t)}}(e)},tooltip:"Save the state as a JSON file"},{icon:"folder_open",action:async()=>{await async function(t){try{const e=await(wo||(wo=document.createElement("input"),wo.type="file",wo.accept=".json"),function(){return new Promise(((t,e)=>{wo.onchange=async()=>{const e=wo.files;if(!e)return t(null);const n=e.item(0);return t(n?{text:await n.text(),file:n}:null)},wo.oncancel=()=>t(null),wo.onerror=e,wo.click()}))}),n=await e();if(!n)return;const{text:r,file:i}=n;t.state.value=JSON.parse(r),mo(`Global state imported from "${i.name}".`)}catch(t){mo("Failed to export the state as JSON. Check the console for more details.","error"),console.error(t)}}(e),n.sendInspectorTree(Po),n.sendInspectorState(Po)},tooltip:"Import the state from a JSON file"}],nodeActions:[{icon:"restore",tooltip:"Reset the state (option store only)",action:t=>{const n=e._s.get(t);n?n._isOptionsAPI?(n.$reset(),mo(`Store "${t}" reset.`)):mo(`Cannot reset "${t}" store because it's a setup store.`,"warn"):mo(`Cannot reset "${t}" store because it wasn't found.`,"warn")}}]}),n.on.inspectComponent(((t,e)=>{const n=t.componentInstance&&t.componentInstance.proxy;if(n&&n._pStores){const e=t.componentInstance.proxy._pStores;Object.values(e).forEach((e=>{t.instanceData.state.push({type:Ro(e.$id),key:"state",editable:!0,value:e._isOptionsAPI?{_custom:{value:le(e.$state),actions:[{icon:"restore",tooltip:"Reset the state of this store",action:()=>e.$reset()}]}}:Object.keys(e.$state).reduce(((t,n)=>(t[n]=e.$state[n],t)),{})}),e._getters&&e._getters.length&&t.instanceData.state.push({type:Ro(e.$id),key:"getters",editable:!1,value:e._getters.reduce(((t,n)=>{try{t[n]=e[n]}catch(e){t[n]=e}return t}),{})})}))}})),n.on.getInspectorTree((n=>{if(n.app===t&&n.inspectorId===Po){let t=[e];t=t.concat(Array.from(e._s.values())),n.rootNodes=(n.filter?t.filter((t=>"$id"in t?t.$id.toLowerCase().includes(n.filter.toLowerCase()):Eo.toLowerCase().includes(n.filter.toLowerCase()))):t).map(Ao)}})),n.on.getInspectorState((n=>{if(n.app===t&&n.inspectorId===Po){const t=n.nodeId===So?e:e._s.get(n.nodeId);if(!t)return;t&&(n.state=function(t){if(_o(t)){const e=Array.from(t._s.keys()),n=t._s,r={state:e.map((e=>({editable:!0,key:e,value:t.state.value[e]}))),getters:e.filter((t=>n.get(t)._getters)).map((t=>{const e=n.get(t);return{editable:!1,key:t,value:e._getters.reduce(((t,n)=>(t[n]=e[n],t)),{})}}))};return r}const e={state:Object.keys(t.$state).map((e=>({editable:!0,key:e,value:t.$state[e]})))};return t._getters&&t._getters.length&&(e.getters=t._getters.map((e=>({editable:!1,key:e,value:t[e]})))),t._customProperties.size&&(e.customProperties=Array.from(t._customProperties).map((e=>({editable:!0,key:e,value:t[e]})))),e}(t))}})),n.on.editInspectorState(((n,r)=>{if(n.app===t&&n.inspectorId===Po){const t=n.nodeId===So?e:e._s.get(n.nodeId);if(!t)return mo(`store "${n.nodeId}" not found`,"error");const{path:r}=n;_o(t)?r.unshift("state"):1===r.length&&t._customProperties.has(r[0])&&!(r[0]in t.$state)||r.unshift("$state"),Oo=!1,n.set(t,r,n.state.value),Oo=!0}})),n.on.editComponentState((t=>{if(t.type.startsWith("🍍")){const n=t.type.replace(/^🍍\s*/,""),r=e._s.get(n);if(!r)return mo(`store "${n}" not found`,"error");const{path:i}=t;if("state"!==i[0])return mo(`Invalid path for store "${n}":\n${i}\nOnly state can be modified.`);i[0]="$state",Oo=!1,t.set(r,i,t.state.value),Oo=!0}}))}))}let Do,Fo=0;function Io(t,e){const n=e.reduce(((e,n)=>(e[n]=le(t)[n],e)),{});for(const e in n)t[e]=function(){const r=Fo,i=new Proxy(t,{get:(...t)=>(Do=r,Reflect.get(...t)),set:(...t)=>(Do=r,Reflect.set(...t))});return n[e].apply(i,arguments)}}function Lo({app:t,store:e,options:n}){if(!e.$id.startsWith("__hot:")){if(n.state&&(e._isOptionsAPI=!0),"function"==typeof n.state){Io(e,Object.keys(n.actions));const t=e._hotUpdate;le(e)._hotUpdate=function(n){t.apply(this,arguments),Io(e,Object.keys(n._hmrPayload.actions))}}!function(t,e){Co.includes(Ro(e.$id))||Co.push(Ro(e.$id)),ro({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:Co,app:t,settings:{logStoreChanges:{label:"Notify about new/deleted stores",type:"boolean",defaultValue:!0}}},(t=>{const n="function"==typeof t.now?t.now.bind(t):Date.now;e.$onAction((({after:r,onError:i,name:o,args:a})=>{const s=Fo++;t.addTimelineEvent({layerId:No,event:{time:n(),title:"🛫 "+o,subtitle:"start",data:{store:Mo(e.$id),action:Mo(o),args:a},groupId:s}}),r((r=>{Do=void 0,t.addTimelineEvent({layerId:No,event:{time:n(),title:"🛬 "+o,subtitle:"end",data:{store:Mo(e.$id),action:Mo(o),args:a,result:r},groupId:s}})})),i((r=>{Do=void 0,t.addTimelineEvent({layerId:No,event:{time:n(),logType:"error",title:"💥 "+o,subtitle:"end",data:{store:Mo(e.$id),action:Mo(o),args:a,error:r},groupId:s}})}))}),!0),e._customProperties.forEach((r=>{pn((()=>_e(e[r])),((e,i)=>{t.notifyComponentUpdate(),t.sendInspectorState(Po),Oo&&t.addTimelineEvent({layerId:No,event:{time:n(),title:"Change",subtitle:r,data:{newValue:e,oldValue:i},groupId:Do}})}),{deep:!0})})),e.$subscribe((({events:r,type:i},o)=>{if(t.notifyComponentUpdate(),t.sendInspectorState(Po),!Oo)return;const a={time:n(),title:ko(i),data:{store:Mo(e.$id),...To(r)},groupId:Do};Do=void 0,i===so.patchFunction?a.subtitle="⤵️":i===so.patchObject?a.subtitle="🧩":r&&!Array.isArray(r)&&(a.subtitle=r.type),r&&(a.data["rawEvent(s)"]={_custom:{display:"DebuggerEvent",type:"object",tooltip:"raw DebuggerEvent[]",value:r}}),t.addTimelineEvent({layerId:No,event:a})}),{detached:!0,flush:"sync"});const r=e._hotUpdate;e._hotUpdate=fe((i=>{r(i),t.addTimelineEvent({layerId:No,event:{time:n(),title:"🔥 "+e.$id,subtitle:"HMR update",data:{store:Mo(e.$id),info:Mo("HMR update")}}}),t.notifyComponentUpdate(),t.sendInspectorTree(Po),t.sendInspectorState(Po)}));const{$dispose:i}=e;e.$dispose=()=>{i(),t.notifyComponentUpdate(),t.sendInspectorTree(Po),t.sendInspectorState(Po),t.getSettings().logStoreChanges&&mo(`Disposed "${e.$id}" store 🗑`)},t.notifyComponentUpdate(),t.sendInspectorTree(Po),t.sendInspectorState(Po),t.getSettings().logStoreChanges&&mo(`"${e.$id}" store installed 🆕`)}))}(t,e)}}const $o=()=>{};function Uo(t,e,n,r=$o){t.push(e);const i=()=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),r())};return!n&&si()&&zn(i),i}function zo(t,...e){t.slice().forEach((t=>{t(...e)}))}function Bo(t,e){t instanceof Map&&e instanceof Map&&e.forEach(((e,n)=>t.set(n,e))),t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const r=e[n],i=t[n];ao(i)&&ao(r)&&t.hasOwnProperty(n)&&!ve(r)&&!ae(r)?t[n]=Bo(i,r):t[n]=r}return t}const Vo=Symbol(),{assign:qo}=Object;function Ho(t,e,n={},r,i,o){let a;const s=qo({actions:{}},n),c={deep:!0};let u,l,f,h=fe([]),d=fe([]);const p=r.state.value[t];o||p||(r.state.value[t]={});const g=ye({});let v;function y(e){let n;u=l=!1,"function"==typeof e?(e(r.state.value[t]),n={type:so.patchFunction,storeId:t,events:f}):(Bo(r.state.value[t],e),n={type:so.patchObject,payload:e,storeId:t,events:f});const i=v=Symbol();Le().then((()=>{v===i&&(u=!0)})),l=!0,zo(h,n,r.state.value[t])}const m=$o;function _(e,n){return function(){io(r);const i=Array.from(arguments),o=[],a=[];function s(t){o.push(t)}function c(t){a.push(t)}let u;zo(d,{args:i,name:e,store:w,after:s,onError:c});try{u=n.apply(this&&this.$id===t?this:w,i)}catch(t){throw zo(a,t),t}return u instanceof Promise?u.then((t=>(zo(o,t),t))).catch((t=>(zo(a,t),Promise.reject(t)))):(zo(o,u),u)}}const b=fe({actions:{},getters:{},state:[],hotState:g}),x={_p:r,$id:t,$onAction:Uo.bind(null,d),$patch:y,$reset:m,$subscribe(e,n={}){const i=Uo(h,e,n.detached,(()=>o())),o=a.run((()=>pn((()=>r.state.value[t]),(r=>{("sync"===n.flush?l:u)&&e({storeId:t,type:so.direct,events:f},r)}),qo({},c,n))));return i},$dispose:function(){a.stop(),h=[],d=[],r._s.delete(t)}},w=re(uo?qo({_hmrPayload:b,_customProperties:fe(new Set)},x):x);r._s.set(t,w);const M=r._e.run((()=>(a=Q(),a.run((()=>e())))));for(const e in M){const n=M[e];if(ve(n)&&(!ve(S=n)||!S.effect)||ae(n))o||(!p||ao(E=n)&&E.hasOwnProperty(Vo)||(ve(n)?n.value=p[e]:Bo(n,p[e])),r.state.value[t][e]=n);else if("function"==typeof n){const t=_(e,n);M[e]=t,s.actions[e]=n}}var E,S;if(qo(w,M),qo(le(w),M),Object.defineProperty(w,"$state",{get:()=>r.state.value[t],set:t=>{y((e=>{qo(e,t)}))}}),uo){const t={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach((e=>{Object.defineProperty(w,e,{value:w[e],...t})}))}return r._p.forEach((t=>{if(uo){const e=a.run((()=>t({store:w,app:r._a,pinia:r,options:s})));Object.keys(e||{}).forEach((t=>w._customProperties.add(t))),qo(w,e)}else qo(w,a.run((()=>t({store:w,app:r._a,pinia:r,options:s}))))})),p&&o&&n.hydrate&&n.hydrate(w.$state,p),u=!0,l=!0,w}function Yo(t,e){return function(){return t.apply(e,arguments)}}const{toString:Wo}=Object.prototype,{getPrototypeOf:Zo}=Object,Go=(Xo=Object.create(null),t=>{const e=Wo.call(t);return Xo[e]||(Xo[e]=e.slice(8,-1).toLowerCase())});var Xo;const Jo=t=>(t=t.toLowerCase(),e=>Go(e)===t),Ko=t=>e=>typeof e===t,{isArray:Qo}=Array,ta=Ko("undefined"),ea=Jo("ArrayBuffer"),na=Ko("string"),ra=Ko("function"),ia=Ko("number"),oa=t=>null!==t&&"object"==typeof t,aa=t=>{if("object"!==Go(t))return!1;const e=Zo(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},sa=Jo("Date"),ca=Jo("File"),ua=Jo("Blob"),la=Jo("FileList"),fa=Jo("URLSearchParams");function ha(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let r,i;if("object"!=typeof t&&(t=[t]),Qo(t))for(r=0,i=t.length;r<i;r++)e.call(null,t[r],r,t);else{const i=n?Object.getOwnPropertyNames(t):Object.keys(t),o=i.length;let a;for(r=0;r<o;r++)a=i[r],e.call(null,t[a],a,t)}}const da=(pa="undefined"!=typeof Uint8Array&&Zo(Uint8Array),t=>pa&&t instanceof pa);var pa;const ga=Jo("HTMLFormElement"),va=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),ya=Jo("RegExp"),ma=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};ha(n,((n,i)=>{!1!==e(n,i,t)&&(r[i]=n)})),Object.defineProperties(t,r)},_a={isArray:Qo,isArrayBuffer:ea,isBuffer:function(t){return null!==t&&!ta(t)&&null!==t.constructor&&!ta(t.constructor)&&ra(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{const e="[object FormData]";return t&&("function"==typeof FormData&&t instanceof FormData||Wo.call(t)===e||ra(t.toString)&&t.toString()===e)},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&ea(t.buffer),e},isString:na,isNumber:ia,isBoolean:t=>!0===t||!1===t,isObject:oa,isPlainObject:aa,isUndefined:ta,isDate:sa,isFile:ca,isBlob:ua,isRegExp:ya,isFunction:ra,isStream:t=>oa(t)&&ra(t.pipe),isURLSearchParams:fa,isTypedArray:da,isFileList:la,forEach:ha,merge:function t(){const e={},n=(n,r)=>{aa(e[r])&&aa(n)?e[r]=t(e[r],n):aa(n)?e[r]=t({},n):Qo(n)?e[r]=n.slice():e[r]=n};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&ha(arguments[t],n);return e},extend:(t,e,n,{allOwnKeys:r}={})=>(ha(e,((e,r)=>{n&&ra(e)?t[r]=Yo(e,n):t[r]=e}),{allOwnKeys:r}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,e,n,r)=>{let i,o,a;const s={};if(e=e||{},null==t)return e;do{for(i=Object.getOwnPropertyNames(t),o=i.length;o-- >0;)a=i[o],r&&!r(a,t,e)||s[a]||(e[a]=t[a],s[a]=!0);t=!1!==n&&Zo(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:Go,kindOfTest:Jo,endsWith:(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return-1!==r&&r===n},toArray:t=>{if(!t)return null;if(Qo(t))return t;let e=t.length;if(!ia(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},forEachEntry:(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let r;for(;(r=n.next())&&!r.done;){const n=r.value;e.call(t,n[0],n[1])}},matchAll:(t,e)=>{let n;const r=[];for(;null!==(n=t.exec(e));)r.push(n);return r},isHTMLForm:ga,hasOwnProperty:va,hasOwnProp:va,reduceDescriptors:ma,freezeMethods:t=>{ma(t,((e,n)=>{const r=t[n];ra(r)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not read-only method '"+n+"'")}))}))},toObjectSet:(t,e)=>{const n={},r=t=>{t.forEach((t=>{n[t]=!0}))};return Qo(t)?r(t):r(String(t).split(e)),n},toCamelCase:t=>t.toLowerCase().replace(/[_-\s]([a-z\d])(\w*)/g,(function(t,e,n){return e.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(t,e)=>(t=+t,Number.isFinite(t)?t:e)};function ba(t,e,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}_a.inherits(ba,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const xa=ba.prototype,wa={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{wa[t]={value:t}})),Object.defineProperties(ba,wa),Object.defineProperty(xa,"isAxiosError",{value:!0}),ba.from=(t,e,n,r,i,o)=>{const a=Object.create(xa);return _a.toFlatObject(t,a,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),ba.call(a,t.message,e,n,r,i),a.cause=t,a.name=t.name,o&&Object.assign(a,o),a};const Ma=ba,Ea=n(230);function Sa(t){return _a.isPlainObject(t)||_a.isArray(t)}function Aa(t){return _a.endsWith(t,"[]")?t.slice(0,-2):t}function Ta(t,e,n){return t?t.concat(e).map((function(t,e){return t=Aa(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}const ka=_a.toFlatObject(_a,{},null,(function(t){return/^is[A-Z]/.test(t)})),Oa=function(t,e,n){if(!_a.isObject(t))throw new TypeError("target must be an object");e=e||new(Ea||FormData);const r=(n=_a.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!_a.isUndefined(e[t])}))).metaTokens,i=n.visitor||l,o=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&(c=e)&&_a.isFunction(c.append)&&"FormData"===c[Symbol.toStringTag]&&c[Symbol.iterator];var c;if(!_a.isFunction(i))throw new TypeError("visitor must be a function");function u(t){if(null===t)return"";if(_a.isDate(t))return t.toISOString();if(!s&&_a.isBlob(t))throw new Ma("Blob is not supported. Use a Buffer instead.");return _a.isArrayBuffer(t)||_a.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function l(t,n,i){let s=t;if(t&&!i&&"object"==typeof t)if(_a.endsWith(n,"{}"))n=r?n:n.slice(0,-2),t=JSON.stringify(t);else if(_a.isArray(t)&&function(t){return _a.isArray(t)&&!t.some(Sa)}(t)||_a.isFileList(t)||_a.endsWith(n,"[]")&&(s=_a.toArray(t)))return n=Aa(n),s.forEach((function(t,r){!_a.isUndefined(t)&&null!==t&&e.append(!0===a?Ta([n],r,o):null===a?n:n+"[]",u(t))})),!1;return!!Sa(t)||(e.append(Ta(i,n,o),u(t)),!1)}const f=[],h=Object.assign(ka,{defaultVisitor:l,convertValue:u,isVisitable:Sa});if(!_a.isObject(t))throw new TypeError("data must be an object");return function t(n,r){if(!_a.isUndefined(n)){if(-1!==f.indexOf(n))throw Error("Circular reference detected in "+r.join("."));f.push(n),_a.forEach(n,(function(n,o){!0===(!(_a.isUndefined(n)||null===n)&&i.call(e,n,_a.isString(o)?o.trim():o,r,h))&&t(n,r?r.concat(o):[o])})),f.pop()}}(t),e};function Ca(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function Na(t,e){this._pairs=[],t&&Oa(t,this,e)}const Pa=Na.prototype;Pa.append=function(t,e){this._pairs.push([t,e])},Pa.toString=function(t){const e=t?function(e){return t.call(this,e,Ca)}:Ca;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};const Ra=Na;function ja(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Da(t,e,n){if(!e)return t;const r=n&&n.encode||ja,i=n&&n.serialize;let o;if(o=i?i(e,n):_a.isURLSearchParams(e)?e.toString():new Ra(e,n).toString(r),o){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}const Fa=class{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){_a.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},Ia={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},La="undefined"!=typeof URLSearchParams?URLSearchParams:Ra,$a=FormData,Ua=(()=>{let t;return("undefined"==typeof navigator||"ReactNative"!==(t=navigator.product)&&"NativeScript"!==t&&"NS"!==t)&&"undefined"!=typeof window&&"undefined"!=typeof document})(),za={isBrowser:!0,classes:{URLSearchParams:La,FormData:$a,Blob},isStandardBrowserEnv:Ua,protocols:["http","https","file","blob","url","data"]},Ba=function(t){function e(t,n,r,i){let o=t[i++];const a=Number.isFinite(+o),s=i>=t.length;return o=!o&&_a.isArray(r)?r.length:o,s?(_a.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!a):(r[o]&&_a.isObject(r[o])||(r[o]=[]),e(t,n,r[o],i)&&_a.isArray(r[o])&&(r[o]=function(t){const e={},n=Object.keys(t);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],e[o]=t[o];return e}(r[o])),!a)}if(_a.isFormData(t)&&_a.isFunction(t.entries)){const n={};return _a.forEachEntry(t,((t,r)=>{e(function(t){return _a.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),r,n,0)})),n}return null},Va=za.isStandardBrowserEnv?{write:function(t,e,n,r,i,o){const a=[];a.push(t+"="+encodeURIComponent(e)),_a.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),_a.isString(r)&&a.push("path="+r),_a.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function qa(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const Ha=za.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let n;function r(n){let r=n;return t&&(e.setAttribute("href",r),r=e.href),e.setAttribute("href",r),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return n=r(window.location.href),function(t){const e=_a.isString(t)?r(t):t;return e.protocol===n.protocol&&e.host===n.host}}():function(){return!0};function Ya(t,e,n){Ma.call(this,null==t?"canceled":t,Ma.ERR_CANCELED,e,n),this.name="CanceledError"}_a.inherits(Ya,Ma,{__CANCEL__:!0});const Wa=Ya,Za=_a.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ga=Symbol("internals"),Xa=Symbol("defaults");function Ja(t){return t&&String(t).trim().toLowerCase()}function Ka(t){return!1===t||null==t?t:_a.isArray(t)?t.map(Ka):String(t)}function Qa(t,e,n,r){return _a.isFunction(r)?r.call(this,e,n):_a.isString(e)?_a.isString(r)?-1!==e.indexOf(r):_a.isRegExp(r)?r.test(e):void 0:void 0}function ts(t,e){e=e.toLowerCase();const n=Object.keys(t);let r,i=n.length;for(;i-- >0;)if(r=n[i],e===r.toLowerCase())return r;return null}function es(t,e){t&&this.set(t),this[Xa]=e||null}Object.assign(es.prototype,{set:function(t,e,n){const r=this;function i(t,e,n){const i=Ja(e);if(!i)throw new Error("header name must be a non-empty string");const o=ts(r,i);(!o||!0===n||!1!==r[o]&&!1!==n)&&(r[o||e]=Ka(t))}return _a.isPlainObject(t)?_a.forEach(t,((t,n)=>{i(t,n,e)})):i(e,t,n),this},get:function(t,e){if(!(t=Ja(t)))return;const n=ts(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}(t);if(_a.isFunction(e))return e.call(this,t,n);if(_a.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}},has:function(t,e){if(t=Ja(t)){const n=ts(this,t);return!(!n||e&&!Qa(0,this[n],n,e))}return!1},delete:function(t,e){const n=this;let r=!1;function i(t){if(t=Ja(t)){const i=ts(n,t);!i||e&&!Qa(0,n[i],i,e)||(delete n[i],r=!0)}}return _a.isArray(t)?t.forEach(i):i(t),r},clear:function(){return Object.keys(this).forEach(this.delete.bind(this))},normalize:function(t){const e=this,n={};return _a.forEach(this,((r,i)=>{const o=ts(n,i);if(o)return e[o]=Ka(r),void delete e[i];const a=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,n)=>e.toUpperCase()+n))}(i):String(i).trim();a!==i&&delete e[i],e[a]=Ka(r),n[a]=!0})),this},toJSON:function(t){const e=Object.create(null);return _a.forEach(Object.assign({},this[Xa]||null,this),((n,r)=>{null!=n&&!1!==n&&(e[r]=t&&_a.isArray(n)?n.join(", "):n)})),e}}),Object.assign(es,{from:function(t){return _a.isString(t)?new this((t=>{const e={};let n,r,i;return t&&t.split("\n").forEach((function(t){i=t.indexOf(":"),n=t.substring(0,i).trim().toLowerCase(),r=t.substring(i+1).trim(),!n||e[n]&&Za[n]||("set-cookie"===n?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)})),e})(t)):t instanceof this?t:new this(t)},accessor:function(t){const e=(this[Ga]=this[Ga]={accessors:{}}).accessors,n=this.prototype;function r(t){const r=Ja(t);e[r]||(function(t,e){const n=_a.toCamelCase(" "+e);["get","set","has"].forEach((r=>{Object.defineProperty(t,r+n,{value:function(t,n,i){return this[r].call(this,e,t,n,i)},configurable:!0})}))}(n,t),e[r]=!0)}return _a.isArray(t)?t.forEach(r):r(t),this}}),es.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent"]),_a.freezeMethods(es.prototype),_a.freezeMethods(es);const ns=es;function rs(t,e){let n=0;const r=function(t,e){t=t||10;const n=new Array(t),r=new Array(t);let i,o=0,a=0;return e=void 0!==e?e:1e3,function(s){const c=Date.now(),u=r[a];i||(i=c),n[o]=s,r[o]=c;let l=a,f=0;for(;l!==o;)f+=n[l++],l%=t;if(o=(o+1)%t,o===a&&(a=(a+1)%t),c-i<e)return;const h=u&&c-u;return h?Math.round(1e3*f/h):void 0}}(50,250);return i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,s=o-n,c=r(s);n=o;const u={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:c||void 0,estimated:c&&a&&o<=a?(a-o)/c:void 0};u[e?"download":"upload"]=!0,t(u)}}function is(t){return new Promise((function(e,n){let r=t.data;const i=ns.from(t.headers).normalize(),o=t.responseType;let a;function s(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}_a.isFormData(r)&&za.isStandardBrowserEnv&&i.setContentType(!1);let c=new XMLHttpRequest;if(t.auth){const e=t.auth.username||"",n=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(e+":"+n))}const u=qa(t.baseURL,t.url);function l(){if(!c)return;const r=ns.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders());!function(t,e,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(new Ma("Request failed with status code "+n.status,[Ma.ERR_BAD_REQUEST,Ma.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}((function(t){e(t),s()}),(function(t){n(t),s()}),{data:o&&"text"!==o&&"json"!==o?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:r,config:t,request:c}),c=null}if(c.open(t.method.toUpperCase(),Da(u,t.params,t.paramsSerializer),!0),c.timeout=t.timeout,"onloadend"in c?c.onloadend=l:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(l)},c.onabort=function(){c&&(n(new Ma("Request aborted",Ma.ECONNABORTED,t,c)),c=null)},c.onerror=function(){n(new Ma("Network Error",Ma.ERR_NETWORK,t,c)),c=null},c.ontimeout=function(){let e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const r=t.transitional||Ia;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(new Ma(e,r.clarifyTimeoutError?Ma.ETIMEDOUT:Ma.ECONNABORTED,t,c)),c=null},za.isStandardBrowserEnv){const e=(t.withCredentials||Ha(u))&&t.xsrfCookieName&&Va.read(t.xsrfCookieName);e&&i.set(t.xsrfHeaderName,e)}void 0===r&&i.setContentType(null),"setRequestHeader"in c&&_a.forEach(i.toJSON(),(function(t,e){c.setRequestHeader(e,t)})),_a.isUndefined(t.withCredentials)||(c.withCredentials=!!t.withCredentials),o&&"json"!==o&&(c.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&c.addEventListener("progress",rs(t.onDownloadProgress,!0)),"function"==typeof t.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",rs(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=e=>{c&&(n(!e||e.type?new Wa(null,t,c):e),c.abort(),c=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const f=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(u);f&&-1===za.protocols.indexOf(f)?n(new Ma("Unsupported protocol "+f+":",Ma.ERR_BAD_REQUEST,t)):c.send(r||null)}))}const os={http:is,xhr:is},as=t=>{if(_a.isString(t)){const e=os[t];if(!t)throw Error(_a.hasOwnProp(t)?`Adapter '${t}' is not available in the build`:`Can not resolve adapter '${t}'`);return e}if(!_a.isFunction(t))throw new TypeError("adapter is not a function");return t},ss={"Content-Type":"application/x-www-form-urlencoded"},cs={transitional:Ia,adapter:function(){let t;return"undefined"!=typeof XMLHttpRequest?t=as("xhr"):"undefined"!=typeof process&&"process"===_a.kindOf(process)&&(t=as("http")),t}(),transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,i=_a.isObject(t);if(i&&_a.isHTMLForm(t)&&(t=new FormData(t)),_a.isFormData(t))return r&&r?JSON.stringify(Ba(t)):t;if(_a.isArrayBuffer(t)||_a.isBuffer(t)||_a.isStream(t)||_a.isFile(t)||_a.isBlob(t))return t;if(_a.isArrayBufferView(t))return t.buffer;if(_a.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return Oa(t,new za.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,r){return za.isNode&&_a.isBuffer(t)?(this.append(e,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((o=_a.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return Oa(o?{"files[]":t}:t,e&&new e,this.formSerializer)}}return i||r?(e.setContentType("application/json",!1),function(t,e,n){if(_a.isString(t))try{return(0,JSON.parse)(t),_a.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||cs.transitional,n=e&&e.forcedJSONParsing,r="json"===this.responseType;if(t&&_a.isString(t)&&(n&&!this.responseType||r)){const n=!(e&&e.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(t){if(n){if("SyntaxError"===t.name)throw Ma.from(t,Ma.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:za.classes.FormData,Blob:za.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};_a.forEach(["delete","get","head"],(function(t){cs.headers[t]={}})),_a.forEach(["post","put","patch"],(function(t){cs.headers[t]=_a.merge(ss)}));const us=cs;function ls(t,e){const n=this||us,r=e||n,i=ns.from(r.headers);let o=r.data;return _a.forEach(t,(function(t){o=t.call(n,o,i.normalize(),e?e.status:void 0)})),i.normalize(),o}function fs(t){return!(!t||!t.__CANCEL__)}function hs(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Wa}function ds(t){return hs(t),t.headers=ns.from(t.headers),t.data=ls.call(t,t.transformRequest),(t.adapter||us.adapter)(t).then((function(e){return hs(t),e.data=ls.call(t,t.transformResponse,e),e.headers=ns.from(e.headers),e}),(function(e){return fs(e)||(hs(t),e&&e.response&&(e.response.data=ls.call(t,t.transformResponse,e.response),e.response.headers=ns.from(e.response.headers))),Promise.reject(e)}))}function ps(t,e){e=e||{};const n={};function r(t,e){return _a.isPlainObject(t)&&_a.isPlainObject(e)?_a.merge(t,e):_a.isPlainObject(e)?_a.merge({},e):_a.isArray(e)?e.slice():e}function i(n){return _a.isUndefined(e[n])?_a.isUndefined(t[n])?void 0:r(void 0,t[n]):r(t[n],e[n])}function o(t){if(!_a.isUndefined(e[t]))return r(void 0,e[t])}function a(n){return _a.isUndefined(e[n])?_a.isUndefined(t[n])?void 0:r(void 0,t[n]):r(void 0,e[n])}function s(n){return n in e?r(t[n],e[n]):n in t?r(void 0,t[n]):void 0}const c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s};return _a.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){const e=c[t]||i,r=e(t);_a.isUndefined(r)&&e!==s||(n[t]=r)})),n}const gs={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{gs[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));const vs={};gs.transitional=function(t,e,n){function r(t,e){return"[Axios v1.1.3] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,i,o)=>{if(!1===t)throw new Ma(r(i," has been removed"+(e?" in "+e:"")),Ma.ERR_DEPRECATED);return e&&!vs[i]&&(vs[i]=!0,console.warn(r(i," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,i,o)}};const ys={assertOptions:function(t,e,n){if("object"!=typeof t)throw new Ma("options must be an object",Ma.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let i=r.length;for(;i-- >0;){const o=r[i],a=e[o];if(a){const e=t[o],n=void 0===e||a(e,o,t);if(!0!==n)throw new Ma("option "+o+" must be "+n,Ma.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Ma("Unknown option "+o,Ma.ERR_BAD_OPTION)}},validators:gs},ms=ys.validators;class _s{constructor(t){this.defaults=t,this.interceptors={request:new Fa,response:new Fa}}request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=ps(this.defaults,e);const{transitional:n,paramsSerializer:r}=e;void 0!==n&&ys.assertOptions(n,{silentJSONParsing:ms.transitional(ms.boolean),forcedJSONParsing:ms.transitional(ms.boolean),clarifyTimeoutError:ms.transitional(ms.boolean)},!1),void 0!==r&&ys.assertOptions(r,{encode:ms.function,serialize:ms.function},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();const i=e.headers&&_a.merge(e.headers.common,e.headers[e.method]);i&&_a.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),e.headers=new ns(e.headers,i);const o=[];let a=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(a=a&&t.synchronous,o.unshift(t.fulfilled,t.rejected))}));const s=[];let c;this.interceptors.response.forEach((function(t){s.push(t.fulfilled,t.rejected)}));let u,l=0;if(!a){const t=[ds.bind(this),void 0];for(t.unshift.apply(t,o),t.push.apply(t,s),u=t.length,c=Promise.resolve(e);l<u;)c=c.then(t[l++],t[l++]);return c}u=o.length;let f=e;for(l=0;l<u;){const t=o[l++],e=o[l++];try{f=t(f)}catch(t){e.call(this,t);break}}try{c=ds.call(this,f)}catch(t){return Promise.reject(t)}for(l=0,u=s.length;l<u;)c=c.then(s[l++],s[l++]);return c}getUri(t){return Da(qa((t=ps(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}_a.forEach(["delete","get","head","options"],(function(t){_s.prototype[t]=function(e,n){return this.request(ps(n||{},{method:t,url:e,data:(n||{}).data}))}})),_a.forEach(["post","put","patch"],(function(t){function e(e){return function(n,r,i){return this.request(ps(i||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}_s.prototype[t]=e(),_s.prototype[t+"Form"]=e(!0)}));const bs=_s;class xs{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const n=this;this.promise.then((t=>{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null})),this.promise.then=t=>{let e;const r=new Promise((t=>{n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t,r,i){n.reason||(n.reason=new Wa(t,r,i),e(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;return{token:new xs((function(e){t=e})),cancel:t}}}const ws=xs,Ms=function t(e){const n=new bs(e),r=Yo(bs.prototype.request,n);return _a.extend(r,bs.prototype,n,{allOwnKeys:!0}),_a.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return t(ps(e,n))},r}(us);Ms.Axios=bs,Ms.CanceledError=Wa,Ms.CancelToken=ws,Ms.isCancel=fs,Ms.VERSION="1.1.3",Ms.toFormData=Oa,Ms.AxiosError=Ma,Ms.Cancel=Ms.CanceledError,Ms.all=function(t){return Promise.all(t)},Ms.spread=function(t){return function(e){return t.apply(null,e)}},Ms.isAxiosError=function(t){return _a.isObject(t)&&!0===t.isAxiosError},Ms.formToJSON=t=>Ba(_a.isHTMLForm(t)?new FormData(t):t);const Es=Ms,{Axios:Ss,AxiosError:As,CanceledError:Ts,isCancel:ks,CancelToken:Os,VERSION:Cs,all:Ns,Cancel:Ps,isAxiosError:Rs,spread:js,toFormData:Ds}=Es,Fs=Es;var Is=n(996),Ls=n.n(Is);function $s(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Us(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function zs(t){let e,n,r;function i(t,r,i=0,o=t.length){if(i<o){if(0!==e(r,r))return o;do{const e=i+o>>>1;n(t[e],r)<0?i=e+1:o=e}while(i<o)}return i}return 2!==t.length?(e=$s,n=(e,n)=>$s(t(e),n),r=(e,n)=>t(e)-n):(e=t===$s||t===Us?t:Bs,n=t,r=t),{left:i,center:function(t,e,n=0,o=t.length){const a=i(t,e,n,o-1);return a>n&&r(t[a-1],e)>-r(t[a],e)?a-1:a},right:function(t,r,i=0,o=t.length){if(i<o){if(0!==e(r,r))return o;do{const e=i+o>>>1;n(t[e],r)<=0?i=e+1:o=e}while(i<o)}return i}}}function Bs(){return 0}function Vs(t){return null===t?NaN:+t}function*qs(t,e){if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&(yield e);else{let n=-1;for(let r of t)null!=(r=e(r,++n,t))&&(r=+r)>=r&&(yield r)}}const Hs=zs($s),Ys=Hs.right,Ws=Hs.left,Zs=zs(Vs).center,Gs=Ys;function Xs(t,e){if(!((e=+e)>=0))throw new RangeError("invalid r");let n=t.length;if(!((n=Math.floor(n))>=0))throw new RangeError("invalid length");if(!n||!e)return t;const r=nc(e),i=t.slice();return r(t,i,0,n,1),r(i,t,0,n,1),r(t,i,0,n,1),t}const Js=Qs(nc),Ks=Qs((function(t){const e=nc(t);return(t,n,r,i,o)=>{e(t,n,0+(r<<=2),0+(i<<=2),o<<=2),e(t,n,r+1,i+1,o),e(t,n,r+2,i+2,o),e(t,n,r+3,i+3,o)}}));function Qs(t){return function(e,n,r=n){if(!((n=+n)>=0))throw new RangeError("invalid rx");if(!((r=+r)>=0))throw new RangeError("invalid ry");let{data:i,width:o,height:a}=e;if(!((o=Math.floor(o))>=0))throw new RangeError("invalid width");if(!((a=Math.floor(void 0!==a?a:i.length/o))>=0))throw new RangeError("invalid height");if(!o||!a||!n&&!r)return e;const s=n&&t(n),c=r&&t(r),u=i.slice();return s&&c?(tc(s,u,i,o,a),tc(s,i,u,o,a),tc(s,u,i,o,a),ec(c,i,u,o,a),ec(c,u,i,o,a),ec(c,i,u,o,a)):s?(tc(s,i,u,o,a),tc(s,u,i,o,a),tc(s,i,u,o,a)):c&&(ec(c,i,u,o,a),ec(c,u,i,o,a),ec(c,i,u,o,a)),e}}function tc(t,e,n,r,i){for(let o=0,a=r*i;o<a;)t(e,n,o,o+=r,1)}function ec(t,e,n,r,i){for(let o=0,a=r*i;o<r;++o)t(e,n,o,o+a,r)}function nc(t){const e=Math.floor(t);if(e===t)return function(t){const e=2*t+1;return(n,r,i,o,a)=>{if(!((o-=a)>=i))return;let s=t*r[i];const c=a*t;for(let t=i,e=i+c;t<e;t+=a)s+=r[Math.min(o,t)];for(let t=i,u=o;t<=u;t+=a)s+=r[Math.min(o,t+c)],n[t]=s/e,s-=r[Math.max(i,t-c)]}}(t);const n=t-e,r=2*t+1;return(t,i,o,a,s)=>{if(!((a-=s)>=o))return;let c=e*i[o];const u=s*e,l=u+s;for(let t=o,e=o+u;t<e;t+=s)c+=i[Math.min(a,t)];for(let e=o,f=a;e<=f;e+=s)c+=i[Math.min(a,e+u)],t[e]=(c+n*(i[Math.max(o,e-l)]+i[Math.min(a,e+l)]))/r,c-=i[Math.max(o,e-u)]}}function rc(t,e){let n=0;if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&++n;else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(i=+i)>=i&&++n}return n}function ic(t){return 0|t.length}function oc(t){return!(t>0)}function ac(t){return"object"!=typeof t||"length"in t?t:Array.from(t)}function sc(...t){const e="function"==typeof t[t.length-1]&&function(t){return e=>t(...e)}(t.pop()),n=(t=t.map(ac)).map(ic),r=t.length-1,i=new Array(r+1).fill(0),o=[];if(r<0||n.some(oc))return o;for(;;){o.push(i.map(((e,n)=>t[n][e])));let a=r;for(;++i[a]===n[a];){if(0===a)return e?o.map(e):o;i[a--]=0}}}function cc(t,e){var n=0,r=0;return Float64Array.from(t,void 0===e?t=>n+=+t||0:i=>n+=+e(i,r++,t)||0)}function uc(t,e){let n,r=0,i=0,o=0;if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&(n=e-i,i+=n/++r,o+=n*(e-i));else{let a=-1;for(let s of t)null!=(s=e(s,++a,t))&&(s=+s)>=s&&(n=s-i,i+=n/++r,o+=n*(s-i))}if(r>1)return o/(r-1)}function lc(t,e){const n=uc(t,e);return n?Math.sqrt(n):n}function fc(t,e){let n,r;if(void 0===e)for(const e of t)null!=e&&(void 0===n?e>=e&&(n=r=e):(n>e&&(n=e),r<e&&(r=e)));else{let i=-1;for(let o of t)null!=(o=e(o,++i,t))&&(void 0===n?o>=o&&(n=r=o):(n>o&&(n=o),r<o&&(r=o)))}return[n,r]}class hc{constructor(){this._partials=new Float64Array(32),this._n=0}add(t){const e=this._partials;let n=0;for(let r=0;r<this._n&&r<32;r++){const i=e[r],o=t+i,a=Math.abs(t)<Math.abs(i)?t-(o-i):i-(o-t);a&&(e[n++]=a),t=o}return e[n]=t,this._n=n+1,this}valueOf(){const t=this._partials;let e,n,r,i=this._n,o=0;if(i>0){for(o=t[--i];i>0&&(e=o,n=t[--i],o=e+n,r=n-(o-e),!r););i>0&&(r<0&&t[i-1]<0||r>0&&t[i-1]>0)&&(n=2*r,e=o+n,n==e-o&&(o=e))}return o}}function dc(t,e){const n=new hc;if(void 0===e)for(let e of t)(e=+e)&&n.add(e);else{let r=-1;for(let i of t)(i=+e(i,++r,t))&&n.add(i)}return+n}function pc(t,e){const n=new hc;let r=-1;return Float64Array.from(t,void 0===e?t=>n.add(+t||0):i=>n.add(+e(i,++r,t)||0))}class gc extends Map{constructor(t,e=bc){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[e,n]of t)this.set(e,n)}get(t){return super.get(yc(this,t))}has(t){return super.has(yc(this,t))}set(t,e){return super.set(mc(this,t),e)}delete(t){return super.delete(_c(this,t))}}class vc extends Set{constructor(t,e=bc){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const e of t)this.add(e)}has(t){return super.has(yc(this,t))}add(t){return super.add(mc(this,t))}delete(t){return super.delete(_c(this,t))}}function yc({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):n}function mc({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}function _c({_intern:t,_key:e},n){const r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}function bc(t){return null!==t&&"object"==typeof t?t.valueOf():t}function xc(t){return t}function wc(t,...e){return Pc(t,xc,xc,e)}function Mc(t,...e){return Pc(t,Array.from,xc,e)}function Ec(t,e){for(let n=1,r=e.length;n<r;++n)t=t.flatMap((t=>t.pop().map((([e,n])=>[...t,e,n]))));return t}function Sc(t,...e){return Ec(Mc(t,...e),e)}function Ac(t,e,...n){return Ec(kc(t,e,...n),n)}function Tc(t,e,...n){return Pc(t,xc,e,n)}function kc(t,e,...n){return Pc(t,Array.from,e,n)}function Oc(t,...e){return Pc(t,xc,Nc,e)}function Cc(t,...e){return Pc(t,Array.from,Nc,e)}function Nc(t){if(1!==t.length)throw new Error("duplicate key");return t[0]}function Pc(t,e,n,r){return function t(i,o){if(o>=r.length)return n(i);const a=new gc,s=r[o++];let c=-1;for(const t of i){const e=s(t,++c,i),n=a.get(e);n?n.push(t):a.set(e,[t])}for(const[e,n]of a)a.set(e,t(n,o));return e(a)}(t,0)}function Rc(t,e){return Array.from(e,(e=>t[e]))}function jc(t,...e){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");t=Array.from(t);let[n]=e;if(n&&2!==n.length||e.length>1){const r=Uint32Array.from(t,((t,e)=>e));return e.length>1?(e=e.map((e=>t.map(e))),r.sort(((t,n)=>{for(const r of e){const e=Fc(r[t],r[n]);if(e)return e}}))):(n=t.map(n),r.sort(((t,e)=>Fc(n[t],n[e])))),Rc(t,r)}return t.sort(Dc(n))}function Dc(t=$s){if(t===$s)return Fc;if("function"!=typeof t)throw new TypeError("compare is not a function");return(e,n)=>{const r=t(e,n);return r||0===r?r:(0===t(n,n))-(0===t(e,e))}}function Fc(t,e){return(null==t||!(t>=t))-(null==e||!(e>=e))||(t<e?-1:t>e?1:0)}function Ic(t,e,n){return(2!==e.length?jc(Tc(t,e,n),(([t,e],[n,r])=>$s(e,r)||$s(t,n))):jc(wc(t,n),(([t,n],[r,i])=>e(n,i)||$s(t,r)))).map((([t])=>t))}var Lc=Array.prototype,$c=Lc.slice;function Uc(t){return()=>t}Lc.map;var zc=Math.sqrt(50),Bc=Math.sqrt(10),Vc=Math.sqrt(2);function qc(t,e,n){var r,i,o,a,s=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];if((r=e<t)&&(i=t,t=e,e=i),0===(a=Hc(t,e,n))||!isFinite(a))return[];if(a>0){let n=Math.round(t/a),r=Math.round(e/a);for(n*a<t&&++n,r*a>e&&--r,o=new Array(i=r-n+1);++s<i;)o[s]=(n+s)*a}else{a=-a;let n=Math.round(t*a),r=Math.round(e*a);for(n/a<t&&++n,r/a>e&&--r,o=new Array(i=r-n+1);++s<i;)o[s]=(n+s)/a}return r&&o.reverse(),o}function Hc(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=zc?10:o>=Bc?5:o>=Vc?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=zc?10:o>=Bc?5:o>=Vc?2:1)}function Yc(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=zc?i*=10:o>=Bc?i*=5:o>=Vc&&(i*=2),e<t?-i:i}function Wc(t,e,n){let r;for(;;){const i=Hc(t,e,n);if(i===r||0===i||!isFinite(i))return[t,e];i>0?(t=Math.floor(t/i)*i,e=Math.ceil(e/i)*i):i<0&&(t=Math.ceil(t*i)/i,e=Math.floor(e*i)/i),r=i}}function Zc(t){return Math.ceil(Math.log(rc(t))/Math.LN2)+1}function Gc(){var t=xc,e=fc,n=Zc;function r(r){Array.isArray(r)||(r=Array.from(r));var i,o,a,s=r.length,c=new Array(s);for(i=0;i<s;++i)c[i]=t(r[i],i,r);var u=e(c),l=u[0],f=u[1],h=n(c,l,f);if(!Array.isArray(h)){const t=f,n=+h;if(e===fc&&([l,f]=Wc(l,f,n)),(h=qc(l,f,n))[0]<=l&&(a=Hc(l,f,n)),h[h.length-1]>=f)if(t>=f&&e===fc){const t=Hc(l,f,n);isFinite(t)&&(t>0?f=(Math.floor(f/t)+1)*t:t<0&&(f=(Math.ceil(f*-t)+1)/-t))}else h.pop()}for(var d=h.length;h[0]<=l;)h.shift(),--d;for(;h[d-1]>f;)h.pop(),--d;var p,g=new Array(d+1);for(i=0;i<=d;++i)(p=g[i]=[]).x0=i>0?h[i-1]:l,p.x1=i<d?h[i]:f;if(isFinite(a)){if(a>0)for(i=0;i<s;++i)null!=(o=c[i])&&l<=o&&o<=f&&g[Math.min(d,Math.floor((o-l)/a))].push(r[i]);else if(a<0)for(i=0;i<s;++i)if(null!=(o=c[i])&&l<=o&&o<=f){const t=Math.floor((l-o)*a);g[Math.min(d,t+(h[t]<=o))].push(r[i])}}else for(i=0;i<s;++i)null!=(o=c[i])&&l<=o&&o<=f&&g[Gs(h,o,0,d)].push(r[i]);return g}return r.value=function(e){return arguments.length?(t="function"==typeof e?e:Uc(e),r):t},r.domain=function(t){return arguments.length?(e="function"==typeof t?t:Uc([t[0],t[1]]),r):e},r.thresholds=function(t){return arguments.length?(n="function"==typeof t?t:Array.isArray(t)?Uc($c.call(t)):Uc(t),r):n},r}function Xc(t,e){let n;if(void 0===e)for(const e of t)null!=e&&(n<e||void 0===n&&e>=e)&&(n=e);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n<i||void 0===n&&i>=i)&&(n=i)}return n}function Jc(t,e){let n,r=-1,i=-1;if(void 0===e)for(const e of t)++i,null!=e&&(n<e||void 0===n&&e>=e)&&(n=e,r=i);else for(let o of t)null!=(o=e(o,++i,t))&&(n<o||void 0===n&&o>=o)&&(n=o,r=i);return r}function Kc(t,e){let n;if(void 0===e)for(const e of t)null!=e&&(n>e||void 0===n&&e>=e)&&(n=e);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function Qc(t,e){let n,r=-1,i=-1;if(void 0===e)for(const e of t)++i,null!=e&&(n>e||void 0===n&&e>=e)&&(n=e,r=i);else for(let o of t)null!=(o=e(o,++i,t))&&(n>o||void 0===n&&o>=o)&&(n=o,r=i);return r}function tu(t,e,n=0,r=t.length-1,i){for(i=void 0===i?Fc:Dc(i);r>n;){if(r-n>600){const o=r-n+1,a=e-n+1,s=Math.log(o),c=.5*Math.exp(2*s/3),u=.5*Math.sqrt(s*c*(o-c)/o)*(a-o/2<0?-1:1);tu(t,e,Math.max(n,Math.floor(e-a*c/o+u)),Math.min(r,Math.floor(e+(o-a)*c/o+u)),i)}const o=t[e];let a=n,s=r;for(eu(t,n,e),i(t[r],o)>0&&eu(t,n,r);a<s;){for(eu(t,a,s),++a,--s;i(t[a],o)<0;)++a;for(;i(t[s],o)>0;)--s}0===i(t[n],o)?eu(t,n,s):(++s,eu(t,s,r)),s<=e&&(n=s+1),e<=s&&(r=s-1)}return t}function eu(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function nu(t,e=$s){let n,r=!1;if(1===e.length){let i;for(const o of t){const t=e(o);(r?$s(t,i)>0:0===$s(t,t))&&(n=o,i=t,r=!0)}}else for(const i of t)(r?e(i,n)>0:0===e(i,i))&&(n=i,r=!0);return n}function ru(t,e,n){if(r=(t=Float64Array.from(qs(t,n))).length){if((e=+e)<=0||r<2)return Kc(t);if(e>=1)return Xc(t);var r,i=(r-1)*e,o=Math.floor(i),a=Xc(tu(t,o).subarray(0,o+1));return a+(Kc(t.subarray(o+1))-a)*(i-o)}}function iu(t,e,n=Vs){if(r=t.length){if((e=+e)<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,o=Math.floor(i),a=+n(t[o],o,t);return a+(+n(t[o+1],o+1,t)-a)*(i-o)}}function ou(t,e,n){if(r=(t=Float64Array.from(qs(t,n))).length){if((e=+e)<=0||r<2)return Qc(t);if(e>=1)return Jc(t);var r,i=Math.floor((r-1)*e),o=tu(Uint32Array.from(t,((t,e)=>e)),i,0,r-1,((e,n)=>Fc(t[e],t[n])));return nu(o.subarray(0,i+1),(e=>t[e]))}}function au(t,e,n){return Math.ceil((n-e)/(2*(ru(t,.75)-ru(t,.25))*Math.pow(rc(t),-1/3)))}function su(t,e,n){return Math.ceil((n-e)*Math.cbrt(rc(t))/(3.49*lc(t)))}function cu(t,e){let n=0,r=0;if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&(++n,r+=e);else{let i=-1;for(let o of t)null!=(o=e(o,++i,t))&&(o=+o)>=o&&(++n,r+=o)}if(n)return r/n}function uu(t,e){return ru(t,.5,e)}function lu(t,e){return ou(t,.5,e)}function fu(t){return Array.from(function*(t){for(const e of t)yield*e}(t))}function hu(t,e){const n=new gc;if(void 0===e)for(let e of t)null!=e&&e>=e&&n.set(e,(n.get(e)||0)+1);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&i>=i&&n.set(i,(n.get(i)||0)+1)}let r,i=0;for(const[t,e]of n)e>i&&(i=e,r=t);return r}function du(t,e=pu){const n=[];let r,i=!1;for(const o of t)i&&n.push(e(r,o)),r=o,i=!0;return n}function pu(t,e){return[t,e]}function gu(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r<i;)o[r]=t+r*n;return o}function vu(t,e=$s){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");let n=Array.from(t);const r=new Float64Array(n.length);2!==e.length&&(n=n.map(e),e=$s);const i=(t,r)=>e(n[t],n[r]);let o,a;return Uint32Array.from(n,((t,e)=>e)).sort(e===$s?(t,e)=>Fc(n[t],n[e]):Dc(i)).forEach(((t,e)=>{const n=i(t,void 0===o?t:o);n>=0?((void 0===o||n>0)&&(o=t,a=e),r[t]=a):r[t]=NaN})),r}function yu(t,e=$s){let n,r=!1;if(1===e.length){let i;for(const o of t){const t=e(o);(r?$s(t,i)<0:0===$s(t,t))&&(n=o,i=t,r=!0)}}else for(const i of t)(r?e(i,n)<0:0===e(i,i))&&(n=i,r=!0);return n}function mu(t,e=$s){if(1===e.length)return Qc(t,e);let n,r=-1,i=-1;for(const o of t)++i,(r<0?0===e(o,o):e(o,n)<0)&&(n=o,r=i);return r}function _u(t,e=$s){if(1===e.length)return Jc(t,e);let n,r=-1,i=-1;for(const o of t)++i,(r<0?0===e(o,o):e(o,n)>0)&&(n=o,r=i);return r}function bu(t,e){const n=mu(t,e);return n<0?void 0:n}const xu=wu(Math.random);function wu(t){return function(e,n=0,r=e.length){let i=r-(n=+n);for(;i;){const r=t()*i--|0,o=e[i+n];e[i+n]=e[r+n],e[r+n]=o}return e}}function Mu(t,e){let n=0;if(void 0===e)for(let e of t)(e=+e)&&(n+=e);else{let r=-1;for(let i of t)(i=+e(i,++r,t))&&(n+=i)}return n}function Eu(t){if(!(i=t.length))return[];for(var e=-1,n=Kc(t,Su),r=new Array(n);++e<n;)for(var i,o=-1,a=r[e]=new Array(i);++o<i;)a[o]=t[o][e];return r}function Su(t){return t.length}function Au(){return Eu(arguments)}function Tu(t,e){if("function"!=typeof e)throw new TypeError("test is not a function");let n=-1;for(const r of t)if(!e(r,++n,t))return!1;return!0}function ku(t,e){if("function"!=typeof e)throw new TypeError("test is not a function");let n=-1;for(const r of t)if(e(r,++n,t))return!0;return!1}function Ou(t,e){if("function"!=typeof e)throw new TypeError("test is not a function");const n=[];let r=-1;for(const i of t)e(i,++r,t)&&n.push(i);return n}function Cu(t,e){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");if("function"!=typeof e)throw new TypeError("mapper is not a function");return Array.from(t,((n,r)=>e(n,r,t)))}function Nu(t,e,n){if("function"!=typeof e)throw new TypeError("reducer is not a function");const r=t[Symbol.iterator]();let i,o,a=-1;if(arguments.length<3){if(({done:i,value:n}=r.next()),i)return;++a}for(;({done:i,value:o}=r.next()),!i;)n=e(n,o,++a,t);return n}function Pu(t){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");return Array.from(t).reverse()}function Ru(t,...e){t=new vc(t);for(const n of e)for(const e of n)t.delete(e);return t}function ju(t,e){const n=e[Symbol.iterator](),r=new vc;for(const e of t){if(r.has(e))return!1;let t,i;for(;({value:t,done:i}=n.next())&&!i;){if(Object.is(e,t))return!1;r.add(t)}}return!0}function Du(t,...e){t=new vc(t),e=e.map(Fu);t:for(const n of t)for(const r of e)if(!r.has(n)){t.delete(n);continue t}return t}function Fu(t){return t instanceof vc?t:new vc(t)}function Iu(t,e){const n=t[Symbol.iterator](),r=new Set;for(const t of e){const e=Lu(t);if(r.has(e))continue;let i,o;for(;({value:i,done:o}=n.next());){if(o)return!1;const t=Lu(i);if(r.add(t),Object.is(e,t))break}}return!0}function Lu(t){return null!==t&&"object"==typeof t?t.valueOf():t}function $u(t,e){return Iu(e,t)}function Uu(...t){const e=new vc;for(const n of t)for(const t of n)e.add(t);return e}function zu(t){return t}var Bu=1e-6;function Vu(t){return"translate("+t+",0)"}function qu(t){return"translate(0,"+t+")"}function Hu(t){return e=>+t(e)}function Yu(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function Wu(){return!this.__axis}function Zu(t,e){var n=[],r=null,i=null,o=6,a=6,s=3,c="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,u=1===t||4===t?-1:1,l=4===t||2===t?"x":"y",f=1===t||3===t?Vu:qu;function h(h){var d=null==r?e.ticks?e.ticks.apply(e,n):e.domain():r,p=null==i?e.tickFormat?e.tickFormat.apply(e,n):zu:i,g=Math.max(o,0)+s,v=e.range(),y=+v[0]+c,m=+v[v.length-1]+c,_=(e.bandwidth?Yu:Hu)(e.copy(),c),b=h.selection?h.selection():h,x=b.selectAll(".domain").data([null]),w=b.selectAll(".tick").data(d,e).order(),M=w.exit(),E=w.enter().append("g").attr("class","tick"),S=w.select("line"),A=w.select("text");x=x.merge(x.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),w=w.merge(E),S=S.merge(E.append("line").attr("stroke","currentColor").attr(l+"2",u*o)),A=A.merge(E.append("text").attr("fill","currentColor").attr(l,u*g).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),h!==b&&(x=x.transition(h),w=w.transition(h),S=S.transition(h),A=A.transition(h),M=M.transition(h).attr("opacity",Bu).attr("transform",(function(t){return isFinite(t=_(t))?f(t+c):this.getAttribute("transform")})),E.attr("opacity",Bu).attr("transform",(function(t){var e=this.parentNode.__axis;return f((e&&isFinite(e=e(t))?e:_(t))+c)}))),M.remove(),x.attr("d",4===t||2===t?a?"M"+u*a+","+y+"H"+c+"V"+m+"H"+u*a:"M"+c+","+y+"V"+m:a?"M"+y+","+u*a+"V"+c+"H"+m+"V"+u*a:"M"+y+","+c+"H"+m),w.attr("opacity",1).attr("transform",(function(t){return f(_(t)+c)})),S.attr(l+"2",u*o),A.attr(l,u*g).text(p),b.filter(Wu).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),b.each((function(){this.__axis=_}))}return h.scale=function(t){return arguments.length?(e=t,h):e},h.ticks=function(){return n=Array.from(arguments),h},h.tickArguments=function(t){return arguments.length?(n=null==t?[]:Array.from(t),h):n.slice()},h.tickValues=function(t){return arguments.length?(r=null==t?null:Array.from(t),h):r&&r.slice()},h.tickFormat=function(t){return arguments.length?(i=t,h):i},h.tickSize=function(t){return arguments.length?(o=a=+t,h):o},h.tickSizeInner=function(t){return arguments.length?(o=+t,h):o},h.tickSizeOuter=function(t){return arguments.length?(a=+t,h):a},h.tickPadding=function(t){return arguments.length?(s=+t,h):s},h.offset=function(t){return arguments.length?(c=+t,h):c},h}function Gu(t){return Zu(1,t)}function Xu(t){return Zu(2,t)}function Ju(t){return Zu(3,t)}function Ku(t){return Zu(4,t)}var Qu={value:()=>{}};function tl(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r||/[\s.]/.test(t))throw new Error("illegal type: "+t);r[t]=[]}return new el(r)}function el(t){this._=t}function nl(t,e){return t.trim().split(/^|\s+/).map((function(t){var n="",r=t.indexOf(".");if(r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function rl(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}function il(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=Qu,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}el.prototype=tl.prototype={constructor:el,on:function(t,e){var n,r=this._,i=nl(t+"",r),o=-1,a=i.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++o<a;)if(n=(t=i[o]).type)r[n]=il(r[n],t.name,e);else if(null==e)for(n in r)r[n]=il(r[n],t.name,null);return this}for(;++o<a;)if((n=(t=i[o]).type)&&(n=rl(r[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new el(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,n=(r=this._[t]).length;o<n;++o)r[o].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(e,n)}};const ol=tl;function al(){}function sl(t){return null==t?al:function(){return this.querySelector(t)}}function cl(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function ul(){return[]}function ll(t){return null==t?ul:function(){return this.querySelectorAll(t)}}function fl(t){return function(){return this.matches(t)}}function hl(t){return function(e){return e.matches(t)}}var dl=Array.prototype.find;function pl(){return this.firstElementChild}var gl=Array.prototype.filter;function vl(){return Array.from(this.children)}function yl(t){return new Array(t.length)}function ml(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function _l(t){return function(){return t}}function bl(t,e,n,r,i,o){for(var a,s=0,c=e.length,u=o.length;s<u;++s)(a=e[s])?(a.__data__=o[s],r[s]=a):n[s]=new ml(t,o[s]);for(;s<c;++s)(a=e[s])&&(i[s]=a)}function xl(t,e,n,r,i,o,a){var s,c,u,l=new Map,f=e.length,h=o.length,d=new Array(f);for(s=0;s<f;++s)(c=e[s])&&(d[s]=u=a.call(c,c.__data__,s,e)+"",l.has(u)?i[s]=c:l.set(u,c));for(s=0;s<h;++s)u=a.call(t,o[s],s,o)+"",(c=l.get(u))?(r[s]=c,c.__data__=o[s],l.delete(u)):n[s]=new ml(t,o[s]);for(s=0;s<f;++s)(c=e[s])&&l.get(d[s])===c&&(i[s]=c)}function wl(t){return t.__data__}function Ml(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function El(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}ml.prototype={constructor:ml,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var Sl="http://www.w3.org/1999/xhtml";const Al={svg:"http://www.w3.org/2000/svg",xhtml:Sl,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Tl(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),Al.hasOwnProperty(e)?{space:Al[e],local:t}:t}function kl(t){return function(){this.removeAttribute(t)}}function Ol(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Cl(t,e){return function(){this.setAttribute(t,e)}}function Nl(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Pl(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function Rl(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function jl(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Dl(t){return function(){this.style.removeProperty(t)}}function Fl(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Il(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function Ll(t,e){return t.style.getPropertyValue(e)||jl(t).getComputedStyle(t,null).getPropertyValue(e)}function $l(t){return function(){delete this[t]}}function Ul(t,e){return function(){this[t]=e}}function zl(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function Bl(t){return t.trim().split(/^|\s+/)}function Vl(t){return t.classList||new ql(t)}function ql(t){this._node=t,this._names=Bl(t.getAttribute("class")||"")}function Hl(t,e){for(var n=Vl(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function Yl(t,e){for(var n=Vl(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function Wl(t){return function(){Hl(this,t)}}function Zl(t){return function(){Yl(this,t)}}function Gl(t,e){return function(){(e.apply(this,arguments)?Hl:Yl)(this,t)}}function Xl(){this.textContent=""}function Jl(t){return function(){this.textContent=t}}function Kl(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function Ql(){this.innerHTML=""}function tf(t){return function(){this.innerHTML=t}}function ef(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function nf(){this.nextSibling&&this.parentNode.appendChild(this)}function rf(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function of(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===Sl&&e.documentElement.namespaceURI===Sl?e.createElement(t):e.createElementNS(n,t)}}function af(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function sf(t){var e=Tl(t);return(e.local?af:of)(e)}function cf(){return null}function uf(){var t=this.parentNode;t&&t.removeChild(this)}function lf(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function ff(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function hf(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function df(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r<o;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?e.length=i:delete this.__on}}}function pf(t,e,n){return function(){var r,i=this.__on,o=function(t){return function(e){t.call(this,e,this.__data__)}}(e);if(i)for(var a=0,s=i.length;a<s;++a)if((r=i[a]).type===t.type&&r.name===t.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),void(r.value=e);this.addEventListener(t.type,o,n),r={type:t.type,name:t.name,value:e,listener:o,options:n},i?i.push(r):this.__on=[r]}}function gf(t,e,n){var r=jl(t),i=r.CustomEvent;"function"==typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function vf(t,e){return function(){return gf(this,t,e)}}function yf(t,e){return function(){return gf(this,t,e.apply(this,arguments))}}ql.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var mf=[null];function _f(t,e){this._groups=t,this._parents=e}function bf(){return new _f([[document.documentElement]],mf)}_f.prototype=bf.prototype={constructor:_f,select:function(t){"function"!=typeof t&&(t=sl(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a,s=e[i],c=s.length,u=r[i]=new Array(c),l=0;l<c;++l)(o=s[l])&&(a=t.call(o,o.__data__,l,s))&&("__data__"in o&&(a.__data__=o.__data__),u[l]=a);return new _f(r,this._parents)},selectAll:function(t){t="function"==typeof t?function(t){return function(){return cl(t.apply(this,arguments))}}(t):ll(t);for(var e=this._groups,n=e.length,r=[],i=[],o=0;o<n;++o)for(var a,s=e[o],c=s.length,u=0;u<c;++u)(a=s[u])&&(r.push(t.call(a,a.__data__,u,s)),i.push(a));return new _f(r,i)},selectChild:function(t){return this.select(null==t?pl:function(t){return function(){return dl.call(this.children,t)}}("function"==typeof t?t:hl(t)))},selectChildren:function(t){return this.selectAll(null==t?vl:function(t){return function(){return gl.call(this.children,t)}}("function"==typeof t?t:hl(t)))},filter:function(t){"function"!=typeof t&&(t=fl(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],s=a.length,c=r[i]=[],u=0;u<s;++u)(o=a[u])&&t.call(o,o.__data__,u,a)&&c.push(o);return new _f(r,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,wl);var n=e?xl:bl,r=this._parents,i=this._groups;"function"!=typeof t&&(t=_l(t));for(var o=i.length,a=new Array(o),s=new Array(o),c=new Array(o),u=0;u<o;++u){var l=r[u],f=i[u],h=f.length,d=Ml(t.call(l,l&&l.__data__,u,r)),p=d.length,g=s[u]=new Array(p),v=a[u]=new Array(p),y=c[u]=new Array(h);n(l,f,g,v,y,d,e);for(var m,_,b=0,x=0;b<p;++b)if(m=g[b]){for(b>=x&&(x=b+1);!(_=v[x])&&++x<p;);m._next=_||null}}return(a=new _f(a,r))._enter=s,a._exit=c,a},enter:function(){return new _f(this._enter||this._groups.map(yl),this._parents)},exit:function(){return new _f(this._exit||this._groups.map(yl),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,o=this.exit();return"function"==typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=e&&(i=e(i))&&(i=i.selection()),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,i=n.length,o=r.length,a=Math.min(i,o),s=new Array(i),c=0;c<a;++c)for(var u,l=n[c],f=r[c],h=l.length,d=s[c]=new Array(h),p=0;p<h;++p)(u=l[p]||f[p])&&(d[p]=u);for(;c<i;++c)s[c]=n[c];return new _f(s,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=El);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var a,s=n[o],c=s.length,u=i[o]=new Array(c),l=0;l<c;++l)(a=s[l])&&(u[l]=a);u.sort(e)}return new _f(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){let t=0;for(const e of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,o=e[n],a=0,s=o.length;a<s;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},attr:function(t,e){var n=Tl(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?Ol:kl:"function"==typeof e?n.local?Rl:Pl:n.local?Nl:Cl)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?Dl:"function"==typeof e?Il:Fl)(t,e,null==n?"":n)):Ll(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?$l:"function"==typeof e?zl:Ul)(t,e)):this.node()[t]},classed:function(t,e){var n=Bl(t+"");if(arguments.length<2){for(var r=Vl(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?Gl:e?Wl:Zl)(n,e))},text:function(t){return arguments.length?this.each(null==t?Xl:("function"==typeof t?Kl:Jl)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?Ql:("function"==typeof t?ef:tf)(t)):this.node().innerHTML},raise:function(){return this.each(nf)},lower:function(){return this.each(rf)},append:function(t){var e="function"==typeof t?t:sf(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var n="function"==typeof t?t:sf(t),r=null==e?cf:"function"==typeof e?e:sl(e);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(uf)},clone:function(t){return this.select(t?ff:lf)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,i,o=hf(t+""),a=o.length;if(!(arguments.length<2)){for(s=e?pf:df,r=0;r<a;++r)this.each(s(o[r],e,n));return this}var s=this.node().__on;if(s)for(var c,u=0,l=s.length;u<l;++u)for(r=0,c=s[u];r<a;++r)if((i=o[r]).type===c.type&&i.name===c.name)return c.value},dispatch:function(t,e){return this.each(("function"==typeof e?yf:vf)(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r,i=t[e],o=0,a=i.length;o<a;++o)(r=i[o])&&(yield r)}};const xf=bf;function wf(t){return"string"==typeof t?new _f([[document.querySelector(t)]],[document.documentElement]):new _f([[t]],mf)}const Mf={passive:!1},Ef={capture:!0,passive:!1};function Sf(t){t.stopImmediatePropagation()}function Af(t){t.preventDefault(),t.stopImmediatePropagation()}function Tf(t){var e=t.document.documentElement,n=wf(t).on("dragstart.drag",Af,Ef);"onselectstart"in e?n.on("selectstart.drag",Af,Ef):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")}function kf(t,e){var n=t.document.documentElement,r=wf(t).on("dragstart.drag",null);e&&(r.on("click.drag",Af,Ef),setTimeout((function(){r.on("click.drag",null)}),0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}function Of(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function Cf(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Nf(){}var Pf=.7,Rf=1/Pf,jf="\\s*([+-]?\\d+)\\s*",Df="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ff="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",If=/^#([0-9a-f]{3,8})$/,Lf=new RegExp(`^rgb\\(${jf},${jf},${jf}\\)$`),$f=new RegExp(`^rgb\\(${Ff},${Ff},${Ff}\\)$`),Uf=new RegExp(`^rgba\\(${jf},${jf},${jf},${Df}\\)$`),zf=new RegExp(`^rgba\\(${Ff},${Ff},${Ff},${Df}\\)$`),Bf=new RegExp(`^hsl\\(${Df},${Ff},${Ff}\\)$`),Vf=new RegExp(`^hsla\\(${Df},${Ff},${Ff},${Df}\\)$`),qf={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};function Hf(){return this.rgb().formatHex()}function Yf(){return this.rgb().formatRgb()}function Wf(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=If.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?Zf(e):3===n?new Kf(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?Gf(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?Gf(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Lf.exec(t))?new Kf(e[1],e[2],e[3],1):(e=$f.exec(t))?new Kf(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Uf.exec(t))?Gf(e[1],e[2],e[3],e[4]):(e=zf.exec(t))?Gf(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Bf.exec(t))?ih(e[1],e[2]/100,e[3]/100,1):(e=Vf.exec(t))?ih(e[1],e[2]/100,e[3]/100,e[4]):qf.hasOwnProperty(t)?Zf(qf[t]):"transparent"===t?new Kf(NaN,NaN,NaN,0):null}function Zf(t){return new Kf(t>>16&255,t>>8&255,255&t,1)}function Gf(t,e,n,r){return r<=0&&(t=e=n=NaN),new Kf(t,e,n,r)}function Xf(t){return t instanceof Nf||(t=Wf(t)),t?new Kf((t=t.rgb()).r,t.g,t.b,t.opacity):new Kf}function Jf(t,e,n,r){return 1===arguments.length?Xf(t):new Kf(t,e,n,null==r?1:r)}function Kf(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function Qf(){return`#${rh(this.r)}${rh(this.g)}${rh(this.b)}`}function th(){const t=eh(this.opacity);return`${1===t?"rgb(":"rgba("}${nh(this.r)}, ${nh(this.g)}, ${nh(this.b)}${1===t?")":`, ${t})`}`}function eh(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function nh(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function rh(t){return((t=nh(t))<16?"0":"")+t.toString(16)}function ih(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new sh(t,e,n,r)}function oh(t){if(t instanceof sh)return new sh(t.h,t.s,t.l,t.opacity);if(t instanceof Nf||(t=Wf(t)),!t)return new sh;if(t instanceof sh)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,c=(o+i)/2;return s?(a=e===o?(n-r)/s+6*(n<r):n===o?(r-e)/s+2:(e-n)/s+4,s/=c<.5?o+i:2-o-i,a*=60):s=c>0&&c<1?0:a,new sh(a,s,c,t.opacity)}function ah(t,e,n,r){return 1===arguments.length?oh(t):new sh(t,e,n,null==r?1:r)}function sh(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function ch(t){return(t=(t||0)%360)<0?t+360:t}function uh(t){return Math.max(0,Math.min(1,t||0))}function lh(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function fh(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}function hh(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,s=r<e-1?t[r+2]:2*o-i;return fh((n-r/e)*e,a,i,o,s)}}function dh(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],o=t[r%e],a=t[(r+1)%e],s=t[(r+2)%e];return fh((n-r/e)*e,i,o,a,s)}}Of(Nf,Wf,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Hf,formatHex:Hf,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return oh(this).formatHsl()},formatRgb:Yf,toString:Yf}),Of(Kf,Jf,Cf(Nf,{brighter(t){return t=null==t?Rf:Math.pow(Rf,t),new Kf(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?Pf:Math.pow(Pf,t),new Kf(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Kf(nh(this.r),nh(this.g),nh(this.b),eh(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Qf,formatHex:Qf,formatHex8:function(){return`#${rh(this.r)}${rh(this.g)}${rh(this.b)}${rh(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:th,toString:th})),Of(sh,ah,Cf(Nf,{brighter(t){return t=null==t?Rf:Math.pow(Rf,t),new sh(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?Pf:Math.pow(Pf,t),new sh(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new Kf(lh(t>=240?t-240:t+120,i,r),lh(t,i,r),lh(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new sh(ch(this.h),uh(this.s),uh(this.l),eh(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=eh(this.opacity);return`${1===t?"hsl(":"hsla("}${ch(this.h)}, ${100*uh(this.s)}%, ${100*uh(this.l)}%${1===t?")":`, ${t})`}`}}));const ph=t=>()=>t;function gh(t,e){return function(n){return t+n*e}}function vh(t,e){var n=e-t;return n?gh(t,n>180||n<-180?n-360*Math.round(n/360):n):ph(isNaN(t)?e:t)}function yh(t,e){var n=e-t;return n?gh(t,n):ph(isNaN(t)?e:t)}const mh=function t(e){var n=function(t){return 1==(t=+t)?yh:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):ph(isNaN(e)?n:e)}}(e);function r(t,e){var r=n((t=Jf(t)).r,(e=Jf(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=yh(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function _h(t){return function(e){var n,r,i=e.length,o=new Array(i),a=new Array(i),s=new Array(i);for(n=0;n<i;++n)r=Jf(e[n]),o[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return o=t(o),a=t(a),s=t(s),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=s(t),r+""}}}var bh=_h(hh),xh=_h(dh);function wh(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(n=0;n<r;++n)i[n]=t[n]*(1-o)+e[n]*o;return i}}function Mh(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function Eh(t,e){return(Mh(e)?wh:Sh)(t,e)}function Sh(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=Ph(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<i;++n)a[n]=o[n](t);return a}}function Ah(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}function Th(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function kh(t,e){var n,r={},i={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?r[n]=Ph(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}}var Oh=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ch=new RegExp(Oh.source,"g");function Nh(t,e){var n,r,i,o=Oh.lastIndex=Ch.lastIndex=0,a=-1,s=[],c=[];for(t+="",e+="";(n=Oh.exec(t))&&(r=Ch.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,c.push({i:a,x:Th(n,r)})),o=Ch.lastIndex;return o<e.length&&(i=e.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?c[0]?function(t){return function(e){return t(e)+""}}(c[0].x):function(t){return function(){return t}}(e):(e=c.length,function(t){for(var n,r=0;r<e;++r)s[(n=c[r]).i]=n.x(t);return s.join("")})}function Ph(t,e){var n,r=typeof e;return null==e||"boolean"===r?ph(e):("number"===r?Th:"string"===r?(n=Wf(e))?(e=n,mh):Nh:e instanceof Wf?mh:e instanceof Date?Ah:Mh(e)?wh:Array.isArray(e)?Sh:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?kh:Th)(t,e)}function Rh(t){let e;for(;e=t.sourceEvent;)t=e;return t}function jh(t,e){if(t=Rh(t),void 0===e&&(e=t.currentTarget),e){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,[(r=r.matrixTransform(e.getScreenCTM().inverse())).x,r.y]}if(e.getBoundingClientRect){var i=e.getBoundingClientRect();return[t.clientX-i.left-e.clientLeft,t.clientY-i.top-e.clientTop]}}return[t.pageX,t.pageY]}var Dh,Fh,Ih=0,Lh=0,$h=0,Uh=0,zh=0,Bh=0,Vh="object"==typeof performance&&performance.now?performance:Date,qh="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Hh(){return zh||(qh(Yh),zh=Vh.now()+Bh)}function Yh(){zh=0}function Wh(){this._call=this._time=this._next=null}function Zh(t,e,n){var r=new Wh;return r.restart(t,e,n),r}function Gh(){Hh(),++Ih;for(var t,e=Dh;e;)(t=zh-e._time)>=0&&e._call.call(void 0,t),e=e._next;--Ih}function Xh(){zh=(Uh=Vh.now())+Bh,Ih=Lh=0;try{Gh()}finally{Ih=0,function(){for(var t,e,n=Dh,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:Dh=e);Fh=t,Kh(r)}(),zh=0}}function Jh(){var t=Vh.now(),e=t-Uh;e>1e3&&(Bh-=e,Uh=t)}function Kh(t){Ih||(Lh&&(Lh=clearTimeout(Lh)),t-zh>24?(t<1/0&&(Lh=setTimeout(Xh,t-Vh.now()-Bh)),$h&&($h=clearInterval($h))):($h||(Uh=Vh.now(),$h=setInterval(Jh,1e3)),Ih=1,qh(Xh)))}function Qh(t,e,n){var r=new Wh;return e=null==e?0:+e,r.restart((n=>{r.stop(),t(n+e)}),e,n),r}Wh.prototype=Zh.prototype={constructor:Wh,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Hh():+n)+(null==e?0:+e),this._next||Fh===this||(Fh?Fh._next=this:Dh=this,Fh=this),this._call=t,this._time=n,Kh()},stop:function(){this._call&&(this._call=null,this._time=1/0,Kh())}};var td=ol("start","end","cancel","interrupt"),ed=[];function nd(t,e,n,r,i,o){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function o(c){var u,l,f,h;if(1!==n.state)return s();for(u in i)if((h=i[u]).name===n.name){if(3===h.state)return Qh(o);4===h.state?(h.state=6,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[u]):+u<e&&(h.state=6,h.timer.stop(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete i[u])}if(Qh((function(){3===n.state&&(n.state=4,n.timer.restart(a,n.delay,n.time),a(c))})),n.state=2,n.on.call("start",t,t.__data__,n.index,n.group),2===n.state){for(n.state=3,r=new Array(f=n.tween.length),u=0,l=-1;u<f;++u)(h=n.tween[u].value.call(t,t.__data__,n.index,n.group))&&(r[++l]=h);r.length=l+1}}function a(e){for(var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(s),n.state=5,1),o=-1,a=r.length;++o<a;)r[o].call(t,i);5===n.state&&(n.on.call("end",t,t.__data__,n.index,n.group),s())}function s(){for(var r in n.state=6,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=Zh((function(t){n.state=1,n.timer.restart(o,n.delay,n.time),n.delay<=t&&o(t-n.delay)}),0,n.time)}(t,n,{name:e,index:r,group:i,on:td,tween:ed,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function rd(t,e){var n=od(t,e);if(n.state>0)throw new Error("too late; already scheduled");return n}function id(t,e){var n=od(t,e);if(n.state>3)throw new Error("too late; already running");return n}function od(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function ad(t,e){var n,r,i,o=t.__transition,a=!0;if(o){for(i in e=null==e?null:e+"",o)(n=o[i]).name===e?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}}var sd,cd=180/Math.PI,ud={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function ld(t,e,n,r,i,o){var a,s,c;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(c=t*n+e*r)&&(n-=t*c,r-=e*c),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,c/=s),t*r<e*n&&(t=-t,e=-e,c=-c,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(e,t)*cd,skewX:Math.atan(c)*cd,scaleX:a,scaleY:s}}function fd(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}return function(o,a){var s=[],c=[];return o=t(o),a=t(a),function(t,r,i,o,a,s){if(t!==i||r!==o){var c=a.push("translate(",null,e,null,n);s.push({i:c-4,x:Th(t,i)},{i:c-2,x:Th(r,o)})}else(i||o)&&a.push("translate("+i+e+o+n)}(o.translateX,o.translateY,a.translateX,a.translateY,s,c),function(t,e,n,o){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:Th(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,a.rotate,s,c),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Th(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,a.skewX,s,c),function(t,e,n,r,o,a){if(t!==n||e!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:Th(t,n)},{i:s-2,x:Th(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,c),o=a=null,function(t){for(var e,n=-1,r=c.length;++n<r;)s[(e=c[n]).i]=e.x(t);return s.join("")}}}var hd=fd((function(t){const e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?ud:ld(e.a,e.b,e.c,e.d,e.e,e.f)}),"px, ","px)","deg)"),dd=fd((function(t){return null==t?ud:(sd||(sd=document.createElementNS("http://www.w3.org/2000/svg","g")),sd.setAttribute("transform",t),(t=sd.transform.baseVal.consolidate())?ld((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):ud)}),", ",")",")");function pd(t,e){var n,r;return function(){var i=id(this,t),o=i.tween;if(o!==n)for(var a=0,s=(r=n=o).length;a<s;++a)if(r[a].name===e){(r=r.slice()).splice(a,1);break}i.tween=r}}function gd(t,e,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var o=id(this,t),a=o.tween;if(a!==r){i=(r=a).slice();for(var s={name:e,value:n},c=0,u=i.length;c<u;++c)if(i[c].name===e){i[c]=s;break}c===u&&i.push(s)}o.tween=i}}function vd(t,e,n){var r=t._id;return t.each((function(){var t=id(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)})),function(t){return od(t,r).value[e]}}function yd(t,e){var n;return("number"==typeof e?Th:e instanceof Wf?mh:(n=Wf(e))?(e=n,mh):Nh)(t,e)}function md(t){return function(){this.removeAttribute(t)}}function _d(t){return function(){this.removeAttributeNS(t.space,t.local)}}function bd(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttribute(t);return a===o?null:a===r?i:i=e(r=a,n)}}function xd(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===r?i:i=e(r=a,n)}}function wd(t,e,n){var r,i,o;return function(){var a,s,c=n(this);if(null!=c)return(a=this.getAttribute(t))===(s=c+"")?null:a===r&&s===i?o:(i=s,o=e(r=a,c));this.removeAttribute(t)}}function Md(t,e,n){var r,i,o;return function(){var a,s,c=n(this);if(null!=c)return(a=this.getAttributeNS(t.space,t.local))===(s=c+"")?null:a===r&&s===i?o:(i=s,o=e(r=a,c));this.removeAttributeNS(t.space,t.local)}}function Ed(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function Sd(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function Ad(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&Sd(t,i)),n}return i._value=e,i}function Td(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&Ed(t,i)),n}return i._value=e,i}function kd(t,e){return function(){rd(this,t).delay=+e.apply(this,arguments)}}function Od(t,e){return e=+e,function(){rd(this,t).delay=e}}function Cd(t,e){return function(){id(this,t).duration=+e.apply(this,arguments)}}function Nd(t,e){return e=+e,function(){id(this,t).duration=e}}function Pd(t,e){if("function"!=typeof e)throw new Error;return function(){id(this,t).ease=e}}function Rd(t,e,n){var r,i,o=function(t){return(t+"").trim().split(/^|\s+/).every((function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?rd:id;return function(){var a=o(this,t),s=a.on;s!==r&&(i=(r=s).copy()).on(e,n),a.on=i}}var jd=xf.prototype.constructor;function Dd(t){return function(){this.style.removeProperty(t)}}function Fd(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function Id(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&Fd(t,o,n)),r}return o._value=e,o}function Ld(t){return function(e){this.textContent=t.call(this,e)}}function $d(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&Ld(r)),e}return r._value=t,r}var Ud=0;function zd(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function Bd(t){return xf().transition(t)}function Vd(){return++Ud}var qd=xf.prototype;function Hd(t){return t*t*t}function Yd(t){return--t*t*t+1}function Wd(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}zd.prototype=Bd.prototype={constructor:zd,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=sl(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var s,c,u=r[a],l=u.length,f=o[a]=new Array(l),h=0;h<l;++h)(s=u[h])&&(c=t.call(s,s.__data__,h,u))&&("__data__"in s&&(c.__data__=s.__data__),f[h]=c,nd(f[h],e,n,h,f,od(s,n)));return new zd(o,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=ll(t));for(var r=this._groups,i=r.length,o=[],a=[],s=0;s<i;++s)for(var c,u=r[s],l=u.length,f=0;f<l;++f)if(c=u[f]){for(var h,d=t.call(c,c.__data__,f,u),p=od(c,n),g=0,v=d.length;g<v;++g)(h=d[g])&&nd(h,e,n,g,d,p);o.push(d),a.push(c)}return new zd(o,a,e,n)},selectChild:qd.selectChild,selectChildren:qd.selectChildren,filter:function(t){"function"!=typeof t&&(t=fl(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],s=a.length,c=r[i]=[],u=0;u<s;++u)(o=a[u])&&t.call(o,o.__data__,u,a)&&c.push(o);return new zd(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),s=0;s<o;++s)for(var c,u=e[s],l=n[s],f=u.length,h=a[s]=new Array(f),d=0;d<f;++d)(c=u[d]||l[d])&&(h[d]=c);for(;s<r;++s)a[s]=e[s];return new zd(a,this._parents,this._name,this._id)},selection:function(){return new jd(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=Vd(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],c=s.length,u=0;u<c;++u)if(a=s[u]){var l=od(a,e);nd(a,t,n,u,s,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new zd(r,this._parents,t,n)},call:qd.call,nodes:qd.nodes,node:qd.node,size:qd.size,empty:qd.empty,each:qd.each,on:function(t,e){var n=this._id;return arguments.length<2?od(this.node(),n).on.on(t):this.each(Rd(n,t,e))},attr:function(t,e){var n=Tl(t),r="transform"===n?dd:yd;return this.attrTween(t,"function"==typeof e?(n.local?Md:wd)(n,r,vd(this,"attr."+t,e)):null==e?(n.local?_d:md)(n):(n.local?xd:bd)(n,r,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;var r=Tl(t);return this.tween(n,(r.local?Ad:Td)(r,e))},style:function(t,e,n){var r="transform"==(t+="")?hd:yd;return null==e?this.styleTween(t,function(t,e){var n,r,i;return function(){var o=Ll(this,t),a=(this.style.removeProperty(t),Ll(this,t));return o===a?null:o===n&&a===r?i:i=e(n=o,r=a)}}(t,r)).on("end.style."+t,Dd(t)):"function"==typeof e?this.styleTween(t,function(t,e,n){var r,i,o;return function(){var a=Ll(this,t),s=n(this),c=s+"";return null==s&&(this.style.removeProperty(t),c=s=Ll(this,t)),a===c?null:a===r&&c===i?o:(i=c,o=e(r=a,s))}}(t,r,vd(this,"style."+t,e))).each(function(t,e){var n,r,i,o,a="style."+e,s="end."+a;return function(){var c=id(this,t),u=c.on,l=null==c.value[a]?o||(o=Dd(e)):void 0;u===n&&i===l||(r=(n=u).copy()).on(s,i=l),c.on=r}}(this._id,t)):this.styleTween(t,function(t,e,n){var r,i,o=n+"";return function(){var a=Ll(this,t);return a===o?null:a===r?i:i=e(r=a,n)}}(t,r,e),n).on("end.style."+t,null)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw new Error;return this.tween(r,Id(t,e,null==n?"":n))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(vd(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw new Error;return this.tween(e,$d(t))},remove:function(){return this.on("end.remove",function(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}(this._id))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=od(this.node(),n).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==e?pd:gd)(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?kd:Od)(e,t)):od(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?Cd:Nd)(e,t)):od(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(Pd(e,t)):od(this.node(),e).ease},easeVarying:function(t){if("function"!=typeof t)throw new Error;return this.each(function(t,e){return function(){var n=e.apply(this,arguments);if("function"!=typeof n)throw new Error;id(this,t).ease=n}}(this._id,t))},end:function(){var t,e,n=this,r=n._id,i=n.size();return new Promise((function(o,a){var s={value:a},c={value:function(){0==--i&&o()}};n.each((function(){var n=id(this,r),i=n.on;i!==t&&((e=(t=i).copy())._.cancel.push(s),e._.interrupt.push(s),e._.end.push(c)),n.on=e})),0===i&&o()}))},[Symbol.iterator]:qd[Symbol.iterator]};var Zd={time:null,delay:0,duration:250,ease:Wd};function Gd(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}xf.prototype.interrupt=function(t){return this.each((function(){ad(this,t)}))},xf.prototype.transition=function(t){var e,n;t instanceof zd?(e=t._id,t=t._name):(e=Vd(),(n=Zd).time=Hh(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],c=s.length,u=0;u<c;++u)(a=s[u])&&nd(a,t,e,u,s,n||Gd(a,e));return new zd(r,this._parents,t,e)};var Xd=[null];function Jd(t,e){var n,r,i=t.__transition;if(i)for(r in e=null==e?null:e+"",i)if((n=i[r]).state>1&&n.name===e)return new zd([[t]],Xd,e,+r);return null}const Kd=t=>()=>t;function Qd(t,{sourceEvent:e,target:n,selection:r,mode:i,dispatch:o}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},selection:{value:r,enumerable:!0,configurable:!0},mode:{value:i,enumerable:!0,configurable:!0},_:{value:o}})}function tp(t){t.stopImmediatePropagation()}function ep(t){t.preventDefault(),t.stopImmediatePropagation()}var np={name:"drag"},rp={name:"space"},ip={name:"handle"},op={name:"center"};const{abs:ap,max:sp,min:cp}=Math;function up(t){return[+t[0],+t[1]]}function lp(t){return[up(t[0]),up(t[1])]}var fp={name:"x",handles:["w","e"].map(_p),input:function(t,e){return null==t?null:[[+t[0],e[0][1]],[+t[1],e[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},hp={name:"y",handles:["n","s"].map(_p),input:function(t,e){return null==t?null:[[e[0][0],+t[0]],[e[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},dp={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(_p),input:function(t){return null==t?null:lp(t)},output:function(t){return t}},pp={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},gp={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},vp={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},yp={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},mp={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function _p(t){return{type:t}}function bp(t){return!t.ctrlKey&&!t.button}function xp(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function wp(){return navigator.maxTouchPoints||"ontouchstart"in this}function Mp(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function Ep(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}function Sp(t){var e=t.__brush;return e?e.dim.output(e.selection):null}function Ap(){return Op(fp)}function Tp(){return Op(hp)}function kp(){return Op(dp)}function Op(t){var e,n=xp,r=bp,i=wp,o=!0,a=ol("start","brush","end"),s=6;function c(e){var n=e.property("__brush",g).selectAll(".overlay").data([_p("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",pp.overlay).merge(n).each((function(){var t=Mp(this).extent;wf(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])})),e.selectAll(".selection").data([_p("selection")]).enter().append("rect").attr("class","selection").attr("cursor",pp.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=e.selectAll(".handle").data(t.handles,(function(t){return t.type}));r.exit().remove(),r.enter().append("rect").attr("class",(function(t){return"handle handle--"+t.type})).attr("cursor",(function(t){return pp[t.type]})),e.each(u).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",h).filter(i).on("touchstart.brush",h).on("touchmove.brush",d).on("touchend.brush touchcancel.brush",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function u(){var t=wf(this),e=Mp(this).selection;e?(t.selectAll(".selection").style("display",null).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1]),t.selectAll(".handle").style("display",null).attr("x",(function(t){return"e"===t.type[t.type.length-1]?e[1][0]-s/2:e[0][0]-s/2})).attr("y",(function(t){return"s"===t.type[0]?e[1][1]-s/2:e[0][1]-s/2})).attr("width",(function(t){return"n"===t.type||"s"===t.type?e[1][0]-e[0][0]+s:s})).attr("height",(function(t){return"e"===t.type||"w"===t.type?e[1][1]-e[0][1]+s:s}))):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function l(t,e,n){var r=t.__brush.emitter;return!r||n&&r.clean?new f(t,e,n):r}function f(t,e,n){this.that=t,this.args=e,this.state=t.__brush,this.active=0,this.clean=n}function h(n){if((!e||n.touches)&&r.apply(this,arguments)){var i,a,s,c,f,h,d,p,g,v,y,m=this,_=n.target.__data__.type,b="selection"===(o&&n.metaKey?_="overlay":_)?np:o&&n.altKey?op:ip,x=t===hp?null:yp[_],w=t===fp?null:mp[_],M=Mp(m),E=M.extent,S=M.selection,A=E[0][0],T=E[0][1],k=E[1][0],O=E[1][1],C=0,N=0,P=x&&w&&o&&n.shiftKey,R=Array.from(n.touches||[n],(t=>{const e=t.identifier;return(t=jh(t,m)).point0=t.slice(),t.identifier=e,t}));ad(m);var j=l(m,arguments,!0).beforestart();if("overlay"===_){S&&(g=!0);const e=[R[0],R[1]||R[0]];M.selection=S=[[i=t===hp?A:cp(e[0][0],e[1][0]),s=t===fp?T:cp(e[0][1],e[1][1])],[f=t===hp?k:sp(e[0][0],e[1][0]),d=t===fp?O:sp(e[0][1],e[1][1])]],R.length>1&&$(n)}else i=S[0][0],s=S[0][1],f=S[1][0],d=S[1][1];a=i,c=s,h=f,p=d;var D=wf(m).attr("pointer-events","none"),F=D.selectAll(".overlay").attr("cursor",pp[_]);if(n.touches)j.moved=L,j.ended=U;else{var I=wf(n.view).on("mousemove.brush",L,!0).on("mouseup.brush",U,!0);o&&I.on("keydown.brush",z,!0).on("keyup.brush",B,!0),Tf(n.view)}u.call(m),j.start(n,b.name)}function L(t){for(const e of t.changedTouches||[t])for(const t of R)t.identifier===e.identifier&&(t.cur=jh(e,m));if(P&&!v&&!y&&1===R.length){const t=R[0];ap(t.cur[0]-t[0])>ap(t.cur[1]-t[1])?y=!0:v=!0}for(const t of R)t.cur&&(t[0]=t.cur[0],t[1]=t.cur[1]);g=!0,ep(t),$(t)}function $(t){const e=R[0],n=e.point0;var r;switch(C=e[0]-n[0],N=e[1]-n[1],b){case rp:case np:x&&(C=sp(A-i,cp(k-f,C)),a=i+C,h=f+C),w&&(N=sp(T-s,cp(O-d,N)),c=s+N,p=d+N);break;case ip:R[1]?(x&&(a=sp(A,cp(k,R[0][0])),h=sp(A,cp(k,R[1][0])),x=1),w&&(c=sp(T,cp(O,R[0][1])),p=sp(T,cp(O,R[1][1])),w=1)):(x<0?(C=sp(A-i,cp(k-i,C)),a=i+C,h=f):x>0&&(C=sp(A-f,cp(k-f,C)),a=i,h=f+C),w<0?(N=sp(T-s,cp(O-s,N)),c=s+N,p=d):w>0&&(N=sp(T-d,cp(O-d,N)),c=s,p=d+N));break;case op:x&&(a=sp(A,cp(k,i-C*x)),h=sp(A,cp(k,f+C*x))),w&&(c=sp(T,cp(O,s-N*w)),p=sp(T,cp(O,d+N*w)))}h<a&&(x*=-1,r=i,i=f,f=r,r=a,a=h,h=r,_ in gp&&F.attr("cursor",pp[_=gp[_]])),p<c&&(w*=-1,r=s,s=d,d=r,r=c,c=p,p=r,_ in vp&&F.attr("cursor",pp[_=vp[_]])),M.selection&&(S=M.selection),v&&(a=S[0][0],h=S[1][0]),y&&(c=S[0][1],p=S[1][1]),S[0][0]===a&&S[0][1]===c&&S[1][0]===h&&S[1][1]===p||(M.selection=[[a,c],[h,p]],u.call(m),j.brush(t,b.name))}function U(t){if(tp(t),t.touches){if(t.touches.length)return;e&&clearTimeout(e),e=setTimeout((function(){e=null}),500)}else kf(t.view,g),I.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);D.attr("pointer-events","all"),F.attr("cursor",pp.overlay),M.selection&&(S=M.selection),Ep(S)&&(M.selection=null,u.call(m)),j.end(t,b.name)}function z(t){switch(t.keyCode){case 16:P=x&&w;break;case 18:b===ip&&(x&&(f=h-C*x,i=a+C*x),w&&(d=p-N*w,s=c+N*w),b=op,$(t));break;case 32:b!==ip&&b!==op||(x<0?f=h-C:x>0&&(i=a-C),w<0?d=p-N:w>0&&(s=c-N),b=rp,F.attr("cursor",pp.selection),$(t));break;default:return}ep(t)}function B(t){switch(t.keyCode){case 16:P&&(v=y=P=!1,$(t));break;case 18:b===op&&(x<0?f=h:x>0&&(i=a),w<0?d=p:w>0&&(s=c),b=ip,$(t));break;case 32:b===rp&&(t.altKey?(x&&(f=h-C*x,i=a+C*x),w&&(d=p-N*w,s=c+N*w),b=op):(x<0?f=h:x>0&&(i=a),w<0?d=p:w>0&&(s=c),b=ip),F.attr("cursor",pp[_]),$(t));break;default:return}ep(t)}}function d(t){l(this,arguments).moved(t)}function p(t){l(this,arguments).ended(t)}function g(){var e=this.__brush||{selection:null};return e.extent=lp(n.apply(this,arguments)),e.dim=t,e}return c.move=function(e,n,r){e.tween?e.on("start.brush",(function(t){l(this,arguments).beforestart().start(t)})).on("interrupt.brush end.brush",(function(t){l(this,arguments).end(t)})).tween("brush",(function(){var e=this,r=e.__brush,i=l(e,arguments),o=r.selection,a=t.input("function"==typeof n?n.apply(this,arguments):n,r.extent),s=Ph(o,a);function c(t){r.selection=1===t&&null===a?null:s(t),u.call(e),i.brush()}return null!==o&&null!==a?c:c(1)})):e.each((function(){var e=this,i=arguments,o=e.__brush,a=t.input("function"==typeof n?n.apply(e,i):n,o.extent),s=l(e,i).beforestart();ad(e),o.selection=null===a?null:a,u.call(e),s.start(r).brush(r).end(r)}))},c.clear=function(t,e){c.move(t,null,e)},f.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(t,e){return this.starting?(this.starting=!1,this.emit("start",t,e)):this.emit("brush",t),this},brush:function(t,e){return this.emit("brush",t,e),this},end:function(t,e){return 0==--this.active&&(delete this.state.emitter,this.emit("end",t,e)),this},emit:function(e,n,r){var i=wf(this.that).datum();a.call(e,this.that,new Qd(e,{sourceEvent:n,target:c,selection:t.output(this.state.selection),mode:r,dispatch:a}),i)}},c.extent=function(t){return arguments.length?(n="function"==typeof t?t:Kd(lp(t)),c):n},c.filter=function(t){return arguments.length?(r="function"==typeof t?t:Kd(!!t),c):r},c.touchable=function(t){return arguments.length?(i="function"==typeof t?t:Kd(!!t),c):i},c.handleSize=function(t){return arguments.length?(s=+t,c):s},c.keyModifiers=function(t){return arguments.length?(o=!!t,c):o},c.on=function(){var t=a.on.apply(a,arguments);return t===a?c:t},c}var Cp=Math.abs,Np=Math.cos,Pp=Math.sin,Rp=Math.PI,jp=Rp/2,Dp=2*Rp,Fp=Math.max,Ip=1e-12;function Lp(t,e){return Array.from({length:e-t},((e,n)=>t+n))}function $p(t){return function(e,n){return t(e.source.value+e.target.value,n.source.value+n.target.value)}}function Up(){return Vp(!1,!1)}function zp(){return Vp(!1,!0)}function Bp(){return Vp(!0,!1)}function Vp(t,e){var n=0,r=null,i=null,o=null;function a(a){var s,c=a.length,u=new Array(c),l=Lp(0,c),f=new Array(c*c),h=new Array(c),d=0;a=Float64Array.from({length:c*c},e?(t,e)=>a[e%c][e/c|0]:(t,e)=>a[e/c|0][e%c]);for(let e=0;e<c;++e){let n=0;for(let r=0;r<c;++r)n+=a[e*c+r]+t*a[r*c+e];d+=u[e]=n}s=(d=Fp(0,Dp-n*c)/d)?n:Dp/c;{let e=0;r&&l.sort(((t,e)=>r(u[t],u[e])));for(const n of l){const r=e;if(t){const t=Lp(1+~c,c).filter((t=>t<0?a[~t*c+n]:a[n*c+t]));i&&t.sort(((t,e)=>i(t<0?-a[~t*c+n]:a[n*c+t],e<0?-a[~e*c+n]:a[n*c+e])));for(const r of t)r<0?(f[~r*c+n]||(f[~r*c+n]={source:null,target:null})).target={index:n,startAngle:e,endAngle:e+=a[~r*c+n]*d,value:a[~r*c+n]}:(f[n*c+r]||(f[n*c+r]={source:null,target:null})).source={index:n,startAngle:e,endAngle:e+=a[n*c+r]*d,value:a[n*c+r]};h[n]={index:n,startAngle:r,endAngle:e,value:u[n]}}else{const t=Lp(0,c).filter((t=>a[n*c+t]||a[t*c+n]));i&&t.sort(((t,e)=>i(a[n*c+t],a[n*c+e])));for(const r of t){let t;if(n<r?(t=f[n*c+r]||(f[n*c+r]={source:null,target:null}),t.source={index:n,startAngle:e,endAngle:e+=a[n*c+r]*d,value:a[n*c+r]}):(t=f[r*c+n]||(f[r*c+n]={source:null,target:null}),t.target={index:n,startAngle:e,endAngle:e+=a[n*c+r]*d,value:a[n*c+r]},n===r&&(t.source=t.target)),t.source&&t.target&&t.source.value<t.target.value){const e=t.source;t.source=t.target,t.target=e}}h[n]={index:n,startAngle:r,endAngle:e,value:u[n]}}e+=s}}return(f=Object.values(f)).groups=h,o?f.sort(o):f}return a.padAngle=function(t){return arguments.length?(n=Fp(0,t),a):n},a.sortGroups=function(t){return arguments.length?(r=t,a):r},a.sortSubgroups=function(t){return arguments.length?(i=t,a):i},a.sortChords=function(t){return arguments.length?(null==t?o=null:(o=$p(t))._=t,a):o&&o._},a}const qp=Math.PI,Hp=2*qp,Yp=1e-6,Wp=Hp-Yp;function Zp(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Gp(){return new Zp}Zp.prototype=Gp.prototype={constructor:Zp,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,i,o){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,e,n,r,i){t=+t,e=+e,n=+n,r=+r,i=+i;var o=this._x1,a=this._y1,s=n-t,c=r-e,u=o-t,l=a-e,f=u*u+l*l;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(f>Yp)if(Math.abs(l*s-c*u)>Yp&&i){var h=n-o,d=r-a,p=s*s+c*c,g=h*h+d*d,v=Math.sqrt(p),y=Math.sqrt(f),m=i*Math.tan((qp-Math.acos((p+f-g)/(2*v*y)))/2),_=m/y,b=m/v;Math.abs(_-1)>Yp&&(this._+="L"+(t+_*u)+","+(e+_*l)),this._+="A"+i+","+i+",0,0,"+ +(l*h>u*d)+","+(this._x1=t+b*s)+","+(this._y1=e+b*c)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,n,r,i,o){t=+t,e=+e,o=!!o;var a=(n=+n)*Math.cos(r),s=n*Math.sin(r),c=t+a,u=e+s,l=1^o,f=o?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+c+","+u:(Math.abs(this._x1-c)>Yp||Math.abs(this._y1-u)>Yp)&&(this._+="L"+c+","+u),n&&(f<0&&(f=f%Hp+Hp),f>Wp?this._+="A"+n+","+n+",0,1,"+l+","+(t-a)+","+(e-s)+"A"+n+","+n+",0,1,"+l+","+(this._x1=c)+","+(this._y1=u):f>Yp&&(this._+="A"+n+","+n+",0,"+ +(f>=qp)+","+l+","+(this._x1=t+n*Math.cos(i))+","+(this._y1=e+n*Math.sin(i))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};const Xp=Gp;var Jp=Array.prototype.slice;function Kp(t){return function(){return t}}function Qp(t){return t.source}function tg(t){return t.target}function eg(t){return t.radius}function ng(t){return t.startAngle}function rg(t){return t.endAngle}function ig(){return 0}function og(){return 10}function ag(t){var e=Qp,n=tg,r=eg,i=eg,o=ng,a=rg,s=ig,c=null;function u(){var u,l=e.apply(this,arguments),f=n.apply(this,arguments),h=s.apply(this,arguments)/2,d=Jp.call(arguments),p=+r.apply(this,(d[0]=l,d)),g=o.apply(this,d)-jp,v=a.apply(this,d)-jp,y=+i.apply(this,(d[0]=f,d)),m=o.apply(this,d)-jp,_=a.apply(this,d)-jp;if(c||(c=u=Xp()),h>Ip&&(Cp(v-g)>2*h+Ip?v>g?(g+=h,v-=h):(g-=h,v+=h):g=v=(g+v)/2,Cp(_-m)>2*h+Ip?_>m?(m+=h,_-=h):(m-=h,_+=h):m=_=(m+_)/2),c.moveTo(p*Np(g),p*Pp(g)),c.arc(0,0,p,g,v),g!==m||v!==_)if(t){var b=+t.apply(this,arguments),x=y-b,w=(m+_)/2;c.quadraticCurveTo(0,0,x*Np(m),x*Pp(m)),c.lineTo(y*Np(w),y*Pp(w)),c.lineTo(x*Np(_),x*Pp(_))}else c.quadraticCurveTo(0,0,y*Np(m),y*Pp(m)),c.arc(0,0,y,m,_);if(c.quadraticCurveTo(0,0,p*Np(g),p*Pp(g)),c.closePath(),u)return c=null,u+""||null}return t&&(u.headRadius=function(e){return arguments.length?(t="function"==typeof e?e:Kp(+e),u):t}),u.radius=function(t){return arguments.length?(r=i="function"==typeof t?t:Kp(+t),u):r},u.sourceRadius=function(t){return arguments.length?(r="function"==typeof t?t:Kp(+t),u):r},u.targetRadius=function(t){return arguments.length?(i="function"==typeof t?t:Kp(+t),u):i},u.startAngle=function(t){return arguments.length?(o="function"==typeof t?t:Kp(+t),u):o},u.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:Kp(+t),u):a},u.padAngle=function(t){return arguments.length?(s="function"==typeof t?t:Kp(+t),u):s},u.source=function(t){return arguments.length?(e=t,u):e},u.target=function(t){return arguments.length?(n=t,u):n},u.context=function(t){return arguments.length?(c=null==t?null:t,u):c},u}function sg(){return ag()}function cg(){return ag(og)}const ug=Math.PI/180,lg=180/Math.PI,fg=.96422,hg=.82521,dg=4/29,pg=6/29,gg=3*pg*pg;function vg(t){if(t instanceof _g)return new _g(t.l,t.a,t.b,t.opacity);if(t instanceof Tg)return kg(t);t instanceof Kf||(t=Xf(t));var e,n,r=Mg(t.r),i=Mg(t.g),o=Mg(t.b),a=bg((.2225045*r+.7168786*i+.0606169*o)/1);return r===i&&i===o?e=n=a:(e=bg((.4360747*r+.3850649*i+.1430804*o)/fg),n=bg((.0139322*r+.0971045*i+.7141733*o)/hg)),new _g(116*a-16,500*(e-a),200*(a-n),t.opacity)}function yg(t,e){return new _g(t,0,0,null==e?1:e)}function mg(t,e,n,r){return 1===arguments.length?vg(t):new _g(t,e,n,null==r?1:r)}function _g(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function bg(t){return t>.008856451679035631?Math.pow(t,1/3):t/gg+dg}function xg(t){return t>pg?t*t*t:gg*(t-dg)}function wg(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Mg(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Eg(t){if(t instanceof Tg)return new Tg(t.h,t.c,t.l,t.opacity);if(t instanceof _g||(t=vg(t)),0===t.a&&0===t.b)return new Tg(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*lg;return new Tg(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function Sg(t,e,n,r){return 1===arguments.length?Eg(t):new Tg(n,e,t,null==r?1:r)}function Ag(t,e,n,r){return 1===arguments.length?Eg(t):new Tg(t,e,n,null==r?1:r)}function Tg(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function kg(t){if(isNaN(t.h))return new _g(t.l,0,0,t.opacity);var e=t.h*ug;return new _g(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}Of(_g,mg,Cf(Nf,{brighter(t){return new _g(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker(t){return new _g(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return new Kf(wg(3.1338561*(e=fg*xg(e))-1.6168667*(t=1*xg(t))-.4906146*(n=hg*xg(n))),wg(-.9787684*e+1.9161415*t+.033454*n),wg(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),Of(Tg,Ag,Cf(Nf,{brighter(t){return new Tg(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker(t){return new Tg(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb(){return kg(this).rgb()}}));var Og=-.14861,Cg=1.78277,Ng=-.29227,Pg=-.90649,Rg=1.97294,jg=Rg*Pg,Dg=Rg*Cg,Fg=Cg*Ng-Pg*Og;function Ig(t){if(t instanceof $g)return new $g(t.h,t.s,t.l,t.opacity);t instanceof Kf||(t=Xf(t));var e=t.r/255,n=t.g/255,r=t.b/255,i=(Fg*r+jg*e-Dg*n)/(Fg+jg-Dg),o=r-i,a=(Rg*(n-i)-Ng*o)/Pg,s=Math.sqrt(a*a+o*o)/(Rg*i*(1-i)),c=s?Math.atan2(a,o)*lg-120:NaN;return new $g(c<0?c+360:c,s,i,t.opacity)}function Lg(t,e,n,r){return 1===arguments.length?Ig(t):new $g(t,e,n,null==r?1:r)}function $g(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}Of($g,Lg,Cf(Nf,{brighter(t){return t=null==t?Rf:Math.pow(Rf,t),new $g(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?Pf:Math.pow(Pf,t),new $g(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=isNaN(this.h)?0:(this.h+120)*ug,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t);return new Kf(255*(e+n*(Og*r+Cg*i)),255*(e+n*(Ng*r+Pg*i)),255*(e+n*(Rg*r)),this.opacity)}}));var Ug=Array.prototype.slice;function zg(t,e){return t-e}const Bg=t=>()=>t;function Vg(t,e){for(var n,r=-1,i=e.length;++r<i;)if(n=qg(t,e[r]))return n;return 0}function qg(t,e){for(var n=e[0],r=e[1],i=-1,o=0,a=t.length,s=a-1;o<a;s=o++){var c=t[o],u=c[0],l=c[1],f=t[s],h=f[0],d=f[1];if(Hg(c,f,e))return 0;l>r!=d>r&&n<(h-u)*(r-l)/(d-l)+u&&(i=-i)}return i}function Hg(t,e,n){var r;return function(t,e,n){return(e[0]-t[0])*(n[1]-t[1])==(n[0]-t[0])*(e[1]-t[1])}(t,e,n)&&function(t,e,n){return t<=e&&e<=n||n<=e&&e<=t}(t[r=+(t[0]===e[0])],n[r],e[r])}function Yg(){}var Wg=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function Zg(){var t=1,e=1,n=Zc,r=s;function i(t){var e=n(t);if(Array.isArray(e))e=e.slice().sort(zg);else{const n=fc(t),r=Yc(n[0],n[1],e);e=qc(Math.floor(n[0]/r)*r,Math.floor(n[1]/r-1)*r,e)}return e.map((e=>o(t,e)))}function o(n,i){var o=[],s=[];return function(n,r,i){var o,s,c,u,l,f,h=new Array,d=new Array;for(o=s=-1,u=n[0]>=r,Wg[u<<1].forEach(p);++o<t-1;)c=u,u=n[o+1]>=r,Wg[c|u<<1].forEach(p);for(Wg[u<<0].forEach(p);++s<e-1;){for(o=-1,u=n[s*t+t]>=r,l=n[s*t]>=r,Wg[u<<1|l<<2].forEach(p);++o<t-1;)c=u,u=n[s*t+t+o+1]>=r,f=l,l=n[s*t+o+1]>=r,Wg[c|u<<1|l<<2|f<<3].forEach(p);Wg[u|l<<3].forEach(p)}for(o=-1,l=n[s*t]>=r,Wg[l<<2].forEach(p);++o<t-1;)f=l,l=n[s*t+o+1]>=r,Wg[l<<2|f<<3].forEach(p);function p(t){var e,n,r=[t[0][0]+o,t[0][1]+s],c=[t[1][0]+o,t[1][1]+s],u=a(r),l=a(c);(e=d[u])?(n=h[l])?(delete d[e.end],delete h[n.start],e===n?(e.ring.push(c),i(e.ring)):h[e.start]=d[n.end]={start:e.start,end:n.end,ring:e.ring.concat(n.ring)}):(delete d[e.end],e.ring.push(c),d[e.end=l]=e):(e=h[l])?(n=d[u])?(delete h[e.start],delete d[n.end],e===n?(e.ring.push(c),i(e.ring)):h[n.start]=d[e.end]={start:n.start,end:e.end,ring:n.ring.concat(e.ring)}):(delete h[e.start],e.ring.unshift(r),h[e.start=u]=e):h[u]=d[l]={start:u,end:l,ring:[r,c]}}Wg[l<<3].forEach(p)}(n,i,(function(t){r(t,n,i),function(t){for(var e=0,n=t.length,r=t[n-1][1]*t[0][0]-t[n-1][0]*t[0][1];++e<n;)r+=t[e-1][1]*t[e][0]-t[e-1][0]*t[e][1];return r}(t)>0?o.push([t]):s.push(t)})),s.forEach((function(t){for(var e,n=0,r=o.length;n<r;++n)if(-1!==Vg((e=o[n])[0],t))return void e.push(t)})),{type:"MultiPolygon",value:i,coordinates:o}}function a(e){return 2*e[0]+e[1]*(t+1)*4}function s(n,r,i){n.forEach((function(n){var o,a=n[0],s=n[1],c=0|a,u=0|s,l=r[u*t+c];a>0&&a<t&&c===a&&(o=r[u*t+c-1],n[0]=a+(i-o)/(l-o)-.5),s>0&&s<e&&u===s&&(o=r[(u-1)*t+c],n[1]=s+(i-o)/(l-o)-.5)}))}return i.contour=o,i.size=function(n){if(!arguments.length)return[t,e];var r=Math.floor(n[0]),o=Math.floor(n[1]);if(!(r>=0&&o>=0))throw new Error("invalid size");return t=r,e=o,i},i.thresholds=function(t){return arguments.length?(n="function"==typeof t?t:Array.isArray(t)?Bg(Ug.call(t)):Bg(t),i):n},i.smooth=function(t){return arguments.length?(r=t?s:Yg,i):r===s},i}function Gg(t){return t[0]}function Xg(t){return t[1]}function Jg(){return 1}function Kg(){var t=Gg,e=Xg,n=Jg,r=960,i=500,o=20,a=2,s=3*o,c=r+2*s>>a,u=i+2*s>>a,l=Bg(20);function f(r){var i=new Float32Array(c*u),l=Math.pow(2,-a),f=-1;for(const o of r){var h=(t(o,++f,r)+s)*l,d=(e(o,f,r)+s)*l,p=+n(o,f,r);if(h>=0&&h<c&&d>=0&&d<u){var g=Math.floor(h),v=Math.floor(d),y=h-g-.5,m=d-v-.5;i[g+v*c]+=(1-y)*(1-m)*p,i[g+1+v*c]+=y*(1-m)*p,i[g+1+(v+1)*c]+=y*m*p,i[g+(v+1)*c]+=(1-y)*m*p}}return Js({data:i,width:c,height:u},o*l),i}function h(t){var e=f(t),n=l(e),r=Math.pow(2,2*a);return Array.isArray(n)||(n=qc(Number.MIN_VALUE,Xc(e)/r,n)),Zg().size([c,u]).thresholds(n.map((t=>t*r)))(e).map(((t,e)=>(t.value=+n[e],d(t))))}function d(t){return t.coordinates.forEach(p),t}function p(t){t.forEach(g)}function g(t){t.forEach(v)}function v(t){t[0]=t[0]*Math.pow(2,a)-s,t[1]=t[1]*Math.pow(2,a)-s}function y(){return c=r+2*(s=3*o)>>a,u=i+2*s>>a,h}return h.contours=function(t){var e=f(t),n=Zg().size([c,u]),r=Math.pow(2,2*a),i=t=>{t=+t;var i=d(n.contour(e,t*r));return i.value=t,i};return Object.defineProperty(i,"max",{get:()=>Xc(e)/r}),i},h.x=function(e){return arguments.length?(t="function"==typeof e?e:Bg(+e),h):t},h.y=function(t){return arguments.length?(e="function"==typeof t?t:Bg(+t),h):e},h.weight=function(t){return arguments.length?(n="function"==typeof t?t:Bg(+t),h):n},h.size=function(t){if(!arguments.length)return[r,i];var e=+t[0],n=+t[1];if(!(e>=0&&n>=0))throw new Error("invalid size");return r=e,i=n,y()},h.cellSize=function(t){if(!arguments.length)return 1<<a;if(!((t=+t)>=1))throw new Error("invalid cell size");return a=Math.floor(Math.log(t)/Math.LN2),y()},h.thresholds=function(t){return arguments.length?(l="function"==typeof t?t:Array.isArray(t)?Bg(Ug.call(t)):Bg(t),h):l},h.bandwidth=function(t){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((t=+t)>=0))throw new Error("invalid bandwidth");return o=(Math.sqrt(4*t*t+1)-1)/2,y()},h}const Qg=134217729;function tv(t,e,n,r,i){let o,a,s,c,u=e[0],l=r[0],f=0,h=0;l>u==l>-u?(o=u,u=e[++f]):(o=l,l=r[++h]);let d=0;if(f<t&&h<n)for(l>u==l>-u?(a=u+o,s=o-(a-u),u=e[++f]):(a=l+o,s=o-(a-l),l=r[++h]),o=a,0!==s&&(i[d++]=s);f<t&&h<n;)l>u==l>-u?(a=o+u,c=a-o,s=o-(a-c)+(u-c),u=e[++f]):(a=o+l,c=a-o,s=o-(a-c)+(l-c),l=r[++h]),o=a,0!==s&&(i[d++]=s);for(;f<t;)a=o+u,c=a-o,s=o-(a-c)+(u-c),u=e[++f],o=a,0!==s&&(i[d++]=s);for(;h<n;)a=o+l,c=a-o,s=o-(a-c)+(l-c),l=r[++h],o=a,0!==s&&(i[d++]=s);return 0===o&&0!==d||(i[d++]=o),d}function ev(t){return new Float64Array(t)}const nv=ev(4),rv=ev(8),iv=ev(12),ov=ev(16),av=ev(4);function sv(t,e,n,r,i,o){const a=(e-o)*(n-i),s=(t-i)*(r-o),c=a-s;if(0===a||0===s||a>0!=s>0)return c;const u=Math.abs(a+s);return Math.abs(c)>=33306690738754716e-32*u?c:-function(t,e,n,r,i,o,a){let s,c,u,l,f,h,d,p,g,v,y,m,_,b,x,w,M,E;const S=t-i,A=n-i,T=e-o,k=r-o;b=S*k,h=Qg*S,d=h-(h-S),p=S-d,h=Qg*k,g=h-(h-k),v=k-g,x=p*v-(b-d*g-p*g-d*v),w=T*A,h=Qg*T,d=h-(h-T),p=T-d,h=Qg*A,g=h-(h-A),v=A-g,M=p*v-(w-d*g-p*g-d*v),y=x-M,f=x-y,nv[0]=x-(y+f)+(f-M),m=b+y,f=m-b,_=b-(m-f)+(y-f),y=_-w,f=_-y,nv[1]=_-(y+f)+(f-w),E=m+y,f=E-m,nv[2]=m-(E-f)+(y-f),nv[3]=E;let O=function(t,e){let n=e[0];for(let t=1;t<4;t++)n+=e[t];return n}(0,nv),C=22204460492503146e-32*a;if(O>=C||-O>=C)return O;if(f=t-S,s=t-(S+f)+(f-i),f=n-A,u=n-(A+f)+(f-i),f=e-T,c=e-(T+f)+(f-o),f=r-k,l=r-(k+f)+(f-o),0===s&&0===c&&0===u&&0===l)return O;if(C=11093356479670487e-47*a+33306690738754706e-32*Math.abs(O),O+=S*l+k*s-(T*u+A*c),O>=C||-O>=C)return O;b=s*k,h=Qg*s,d=h-(h-s),p=s-d,h=Qg*k,g=h-(h-k),v=k-g,x=p*v-(b-d*g-p*g-d*v),w=c*A,h=Qg*c,d=h-(h-c),p=c-d,h=Qg*A,g=h-(h-A),v=A-g,M=p*v-(w-d*g-p*g-d*v),y=x-M,f=x-y,av[0]=x-(y+f)+(f-M),m=b+y,f=m-b,_=b-(m-f)+(y-f),y=_-w,f=_-y,av[1]=_-(y+f)+(f-w),E=m+y,f=E-m,av[2]=m-(E-f)+(y-f),av[3]=E;const N=tv(4,nv,4,av,rv);b=S*l,h=Qg*S,d=h-(h-S),p=S-d,h=Qg*l,g=h-(h-l),v=l-g,x=p*v-(b-d*g-p*g-d*v),w=T*u,h=Qg*T,d=h-(h-T),p=T-d,h=Qg*u,g=h-(h-u),v=u-g,M=p*v-(w-d*g-p*g-d*v),y=x-M,f=x-y,av[0]=x-(y+f)+(f-M),m=b+y,f=m-b,_=b-(m-f)+(y-f),y=_-w,f=_-y,av[1]=_-(y+f)+(f-w),E=m+y,f=E-m,av[2]=m-(E-f)+(y-f),av[3]=E;const P=tv(N,rv,4,av,iv);b=s*l,h=Qg*s,d=h-(h-s),p=s-d,h=Qg*l,g=h-(h-l),v=l-g,x=p*v-(b-d*g-p*g-d*v),w=c*u,h=Qg*c,d=h-(h-c),p=c-d,h=Qg*u,g=h-(h-u),v=u-g,M=p*v-(w-d*g-p*g-d*v),y=x-M,f=x-y,av[0]=x-(y+f)+(f-M),m=b+y,f=m-b,_=b-(m-f)+(y-f),y=_-w,f=_-y,av[1]=_-(y+f)+(f-w),E=m+y,f=E-m,av[2]=m-(E-f)+(y-f),av[3]=E;const R=tv(P,iv,4,av,ov);return ov[R-1]}(t,e,n,r,i,o,u)}ev(4),ev(4),ev(4),ev(4),ev(4),ev(4),ev(4),ev(4),ev(4),ev(8),ev(8),ev(8),ev(4),ev(8),ev(8),ev(8),ev(12),ev(192),ev(192),ev(4),ev(4),ev(4),ev(4),ev(4),ev(4),ev(4),ev(4),ev(8),ev(8),ev(8),ev(8),ev(8),ev(8),ev(8),ev(8),ev(8),ev(4),ev(4),ev(4),ev(8),ev(16),ev(16),ev(16),ev(32),ev(32),ev(48),ev(64),ev(1152),ev(1152),ev(4),ev(4),ev(4),ev(4),ev(4),ev(4),ev(4),ev(4),ev(4),ev(4),ev(24),ev(24),ev(24),ev(24),ev(24),ev(24),ev(24),ev(24),ev(24),ev(24),ev(1152),ev(1152),ev(1152),ev(1152),ev(1152),ev(2304),ev(2304),ev(3456),ev(5760),ev(8),ev(8),ev(8),ev(16),ev(24),ev(48),ev(48),ev(96),ev(192),ev(384),ev(384),ev(384),ev(768),ev(96),ev(96),ev(96),ev(1152);const cv=Math.pow(2,-52),uv=new Uint32Array(512);class lv{static from(t,e=vv,n=yv){const r=t.length,i=new Float64Array(2*r);for(let o=0;o<r;o++){const r=t[o];i[2*o]=e(r),i[2*o+1]=n(r)}return new lv(i)}constructor(t){const e=t.length>>1;if(e>0&&"number"!=typeof t[0])throw new Error("Expected coords to contain numbers.");this.coords=t;const n=Math.max(2*e-5,0);this._triangles=new Uint32Array(3*n),this._halfedges=new Int32Array(3*n),this._hashSize=Math.ceil(Math.sqrt(e)),this._hullPrev=new Uint32Array(e),this._hullNext=new Uint32Array(e),this._hullTri=new Uint32Array(e),this._hullHash=new Int32Array(this._hashSize).fill(-1),this._ids=new Uint32Array(e),this._dists=new Float64Array(e),this.update()}update(){const{coords:t,_hullPrev:e,_hullNext:n,_hullTri:r,_hullHash:i}=this,o=t.length>>1;let a=1/0,s=1/0,c=-1/0,u=-1/0;for(let e=0;e<o;e++){const n=t[2*e],r=t[2*e+1];n<a&&(a=n),r<s&&(s=r),n>c&&(c=n),r>u&&(u=r),this._ids[e]=e}const l=(a+c)/2,f=(s+u)/2;let h,d,p,g=1/0;for(let e=0;e<o;e++){const n=fv(l,f,t[2*e],t[2*e+1]);n<g&&(h=e,g=n)}const v=t[2*h],y=t[2*h+1];g=1/0;for(let e=0;e<o;e++){if(e===h)continue;const n=fv(v,y,t[2*e],t[2*e+1]);n<g&&n>0&&(d=e,g=n)}let m=t[2*d],_=t[2*d+1],b=1/0;for(let e=0;e<o;e++){if(e===h||e===d)continue;const n=dv(v,y,m,_,t[2*e],t[2*e+1]);n<b&&(p=e,b=n)}let x=t[2*p],w=t[2*p+1];if(b===1/0){for(let e=0;e<o;e++)this._dists[e]=t[2*e]-t[0]||t[2*e+1]-t[1];pv(this._ids,this._dists,0,o-1);const e=new Uint32Array(o);let n=0;for(let t=0,r=-1/0;t<o;t++){const i=this._ids[t];this._dists[i]>r&&(e[n++]=i,r=this._dists[i])}return this.hull=e.subarray(0,n),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if(sv(v,y,m,_,x,w)<0){const t=d,e=m,n=_;d=p,m=x,_=w,p=t,x=e,w=n}const M=function(t,e,n,r,i,o){const a=n-t,s=r-e,c=i-t,u=o-e,l=a*a+s*s,f=c*c+u*u,h=.5/(a*u-s*c);return{x:t+(u*l-s*f)*h,y:e+(a*f-c*l)*h}}(v,y,m,_,x,w);this._cx=M.x,this._cy=M.y;for(let e=0;e<o;e++)this._dists[e]=fv(t[2*e],t[2*e+1],M.x,M.y);pv(this._ids,this._dists,0,o-1),this._hullStart=h;let E=3;n[h]=e[p]=d,n[d]=e[h]=p,n[p]=e[d]=h,r[h]=0,r[d]=1,r[p]=2,i.fill(-1),i[this._hashKey(v,y)]=h,i[this._hashKey(m,_)]=d,i[this._hashKey(x,w)]=p,this.trianglesLen=0,this._addTriangle(h,d,p,-1,-1,-1);for(let o,a,s=0;s<this._ids.length;s++){const c=this._ids[s],u=t[2*c],l=t[2*c+1];if(s>0&&Math.abs(u-o)<=cv&&Math.abs(l-a)<=cv)continue;if(o=u,a=l,c===h||c===d||c===p)continue;let f=0;for(let t=0,e=this._hashKey(u,l);t<this._hashSize&&(f=i[(e+t)%this._hashSize],-1===f||f===n[f]);t++);f=e[f];let g,v=f;for(;g=n[v],sv(u,l,t[2*v],t[2*v+1],t[2*g],t[2*g+1])>=0;)if(v=g,v===f){v=-1;break}if(-1===v)continue;let y=this._addTriangle(v,c,n[v],-1,-1,r[v]);r[c]=this._legalize(y+2),r[v]=y,E++;let m=n[v];for(;g=n[m],sv(u,l,t[2*m],t[2*m+1],t[2*g],t[2*g+1])<0;)y=this._addTriangle(m,c,g,r[c],-1,r[m]),r[c]=this._legalize(y+2),n[m]=m,E--,m=g;if(v===f)for(;g=e[v],sv(u,l,t[2*g],t[2*g+1],t[2*v],t[2*v+1])<0;)y=this._addTriangle(g,c,v,-1,r[v],r[g]),this._legalize(y+2),r[g]=y,n[v]=v,E--,v=g;this._hullStart=e[c]=v,n[v]=e[m]=c,n[c]=m,i[this._hashKey(u,l)]=c,i[this._hashKey(t[2*v],t[2*v+1])]=v}this.hull=new Uint32Array(E);for(let t=0,e=this._hullStart;t<E;t++)this.hull[t]=e,e=n[e];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)}_hashKey(t,e){return Math.floor(function(t,e){const n=t/(Math.abs(t)+Math.abs(e));return(e>0?3-n:1+n)/4}(t-this._cx,e-this._cy)*this._hashSize)%this._hashSize}_legalize(t){const{_triangles:e,_halfedges:n,coords:r}=this;let i=0,o=0;for(;;){const a=n[t],s=t-t%3;if(o=s+(t+2)%3,-1===a){if(0===i)break;t=uv[--i];continue}const c=a-a%3,u=s+(t+1)%3,l=c+(a+2)%3,f=e[o],h=e[t],d=e[u],p=e[l];if(hv(r[2*f],r[2*f+1],r[2*h],r[2*h+1],r[2*d],r[2*d+1],r[2*p],r[2*p+1])){e[t]=p,e[a]=f;const r=n[l];if(-1===r){let e=this._hullStart;do{if(this._hullTri[e]===l){this._hullTri[e]=t;break}e=this._hullPrev[e]}while(e!==this._hullStart)}this._link(t,r),this._link(a,n[o]),this._link(o,l);const s=c+(a+1)%3;i<uv.length&&(uv[i++]=s)}else{if(0===i)break;t=uv[--i]}}return o}_link(t,e){this._halfedges[t]=e,-1!==e&&(this._halfedges[e]=t)}_addTriangle(t,e,n,r,i,o){const a=this.trianglesLen;return this._triangles[a]=t,this._triangles[a+1]=e,this._triangles[a+2]=n,this._link(a,r),this._link(a+1,i),this._link(a+2,o),this.trianglesLen+=3,a}}function fv(t,e,n,r){const i=t-n,o=e-r;return i*i+o*o}function hv(t,e,n,r,i,o,a,s){const c=t-a,u=e-s,l=n-a,f=r-s,h=i-a,d=o-s,p=l*l+f*f,g=h*h+d*d;return c*(f*g-p*d)-u*(l*g-p*h)+(c*c+u*u)*(l*d-f*h)<0}function dv(t,e,n,r,i,o){const a=n-t,s=r-e,c=i-t,u=o-e,l=a*a+s*s,f=c*c+u*u,h=.5/(a*u-s*c),d=(u*l-s*f)*h,p=(a*f-c*l)*h;return d*d+p*p}function pv(t,e,n,r){if(r-n<=20)for(let i=n+1;i<=r;i++){const r=t[i],o=e[r];let a=i-1;for(;a>=n&&e[t[a]]>o;)t[a+1]=t[a--];t[a+1]=r}else{let i=n+1,o=r;gv(t,n+r>>1,i),e[t[n]]>e[t[r]]&&gv(t,n,r),e[t[i]]>e[t[r]]&&gv(t,i,r),e[t[n]]>e[t[i]]&&gv(t,n,i);const a=t[i],s=e[a];for(;;){do{i++}while(e[t[i]]<s);do{o--}while(e[t[o]]>s);if(o<i)break;gv(t,i,o)}t[n+1]=t[o],t[o]=a,r-i+1>=o-n?(pv(t,e,i,r),pv(t,e,n,o-1)):(pv(t,e,n,o-1),pv(t,e,i,r))}}function gv(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function vv(t){return t[0]}function yv(t){return t[1]}const mv=1e-6;class _v{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=""}moveTo(t,e){this._+=`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}lineTo(t,e){this._+=`L${this._x1=+t},${this._y1=+e}`}arc(t,e,n){const r=(t=+t)+(n=+n),i=e=+e;if(n<0)throw new Error("negative radius");null===this._x1?this._+=`M${r},${i}`:(Math.abs(this._x1-r)>mv||Math.abs(this._y1-i)>mv)&&(this._+="L"+r+","+i),n&&(this._+=`A${n},${n},0,1,1,${t-n},${e}A${n},${n},0,1,1,${this._x1=r},${this._y1=i}`)}rect(t,e,n,r){this._+=`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${+n}v${+r}h${-n}Z`}value(){return this._||null}}class bv{constructor(){this._=[]}moveTo(t,e){this._.push([t,e])}closePath(){this._.push(this._[0].slice())}lineTo(t,e){this._.push([t,e])}value(){return this._.length?this._:null}}class xv{constructor(t,[e,n,r,i]=[0,0,960,500]){if(!((r=+r)>=(e=+e)&&(i=+i)>=(n=+n)))throw new Error("invalid bounds");this.delaunay=t,this._circumcenters=new Float64Array(2*t.points.length),this.vectors=new Float64Array(2*t.points.length),this.xmax=r,this.xmin=e,this.ymax=i,this.ymin=n,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:t,hull:e,triangles:n},vectors:r}=this,i=this.circumcenters=this._circumcenters.subarray(0,n.length/3*2);for(let e,r,o=0,a=0,s=n.length;o<s;o+=3,a+=2){const s=2*n[o],c=2*n[o+1],u=2*n[o+2],l=t[s],f=t[s+1],h=t[c],d=t[c+1],p=t[u],g=t[u+1],v=h-l,y=d-f,m=p-l,_=g-f,b=2*(v*_-y*m);if(Math.abs(b)<1e-9){let i=1e9;const o=2*n[0];i*=Math.sign((t[o]-l)*_-(t[o+1]-f)*m),e=(l+p)/2-i*_,r=(f+g)/2+i*m}else{const t=1/b,n=v*v+y*y,i=m*m+_*_;e=l+(_*n-y*i)*t,r=f+(v*i-m*n)*t}i[a]=e,i[a+1]=r}let o,a,s,c=e[e.length-1],u=4*c,l=t[2*c],f=t[2*c+1];r.fill(0);for(let n=0;n<e.length;++n)c=e[n],o=u,a=l,s=f,u=4*c,l=t[2*c],f=t[2*c+1],r[o+2]=r[u]=s-f,r[o+3]=r[u+1]=l-a}render(t){const e=null==t?t=new _v:void 0,{delaunay:{halfedges:n,inedges:r,hull:i},circumcenters:o,vectors:a}=this;if(i.length<=1)return null;for(let e=0,r=n.length;e<r;++e){const r=n[e];if(r<e)continue;const i=2*Math.floor(e/3),a=2*Math.floor(r/3),s=o[i],c=o[i+1],u=o[a],l=o[a+1];this._renderSegment(s,c,u,l,t)}let s,c=i[i.length-1];for(let e=0;e<i.length;++e){s=c,c=i[e];const n=2*Math.floor(r[c]/3),u=o[n],l=o[n+1],f=4*s,h=this._project(u,l,a[f+2],a[f+3]);h&&this._renderSegment(u,l,h[0],h[1],t)}return e&&e.value()}renderBounds(t){const e=null==t?t=new _v:void 0;return t.rect(this.xmin,this.ymin,this.xmax-this.xmin,this.ymax-this.ymin),e&&e.value()}renderCell(t,e){const n=null==e?e=new _v:void 0,r=this._clip(t);if(null===r||!r.length)return;e.moveTo(r[0],r[1]);let i=r.length;for(;r[0]===r[i-2]&&r[1]===r[i-1]&&i>1;)i-=2;for(let t=2;t<i;t+=2)r[t]===r[t-2]&&r[t+1]===r[t-1]||e.lineTo(r[t],r[t+1]);return e.closePath(),n&&n.value()}*cellPolygons(){const{delaunay:{points:t}}=this;for(let e=0,n=t.length/2;e<n;++e){const t=this.cellPolygon(e);t&&(t.index=e,yield t)}}cellPolygon(t){const e=new bv;return this.renderCell(t,e),e.value()}_renderSegment(t,e,n,r,i){let o;const a=this._regioncode(t,e),s=this._regioncode(n,r);0===a&&0===s?(i.moveTo(t,e),i.lineTo(n,r)):(o=this._clipSegment(t,e,n,r,a,s))&&(i.moveTo(o[0],o[1]),i.lineTo(o[2],o[3]))}contains(t,e,n){return(e=+e)==e&&(n=+n)==n&&this.delaunay._step(t,e,n)===t}*neighbors(t){const e=this._clip(t);if(e)for(const n of this.delaunay.neighbors(t)){const t=this._clip(n);if(t)t:for(let r=0,i=e.length;r<i;r+=2)for(let o=0,a=t.length;o<a;o+=2)if(e[r]==t[o]&&e[r+1]==t[o+1]&&e[(r+2)%i]==t[(o+a-2)%a]&&e[(r+3)%i]==t[(o+a-1)%a]){yield n;break t}}}_cell(t){const{circumcenters:e,delaunay:{inedges:n,halfedges:r,triangles:i}}=this,o=n[t];if(-1===o)return null;const a=[];let s=o;do{const n=Math.floor(s/3);if(a.push(e[2*n],e[2*n+1]),s=s%3==2?s-2:s+1,i[s]!==t)break;s=r[s]}while(s!==o&&-1!==s);return a}_clip(t){if(0===t&&1===this.delaunay.hull.length)return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];const e=this._cell(t);if(null===e)return null;const{vectors:n}=this,r=4*t;return n[r]||n[r+1]?this._clipInfinite(t,e,n[r],n[r+1],n[r+2],n[r+3]):this._clipFinite(t,e)}_clipFinite(t,e){const n=e.length;let r,i,o,a,s=null,c=e[n-2],u=e[n-1],l=this._regioncode(c,u),f=0;for(let h=0;h<n;h+=2)if(r=c,i=u,c=e[h],u=e[h+1],o=l,l=this._regioncode(c,u),0===o&&0===l)a=f,f=0,s?s.push(c,u):s=[c,u];else{let e,n,h,d,p;if(0===o){if(null===(e=this._clipSegment(r,i,c,u,o,l)))continue;[n,h,d,p]=e}else{if(null===(e=this._clipSegment(c,u,r,i,l,o)))continue;[d,p,n,h]=e,a=f,f=this._edgecode(n,h),a&&f&&this._edge(t,a,f,s,s.length),s?s.push(n,h):s=[n,h]}a=f,f=this._edgecode(d,p),a&&f&&this._edge(t,a,f,s,s.length),s?s.push(d,p):s=[d,p]}if(s)a=f,f=this._edgecode(s[0],s[1]),a&&f&&this._edge(t,a,f,s,s.length);else if(this.contains(t,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2))return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];return s}_clipSegment(t,e,n,r,i,o){for(;;){if(0===i&&0===o)return[t,e,n,r];if(i&o)return null;let a,s,c=i||o;8&c?(a=t+(n-t)*(this.ymax-e)/(r-e),s=this.ymax):4&c?(a=t+(n-t)*(this.ymin-e)/(r-e),s=this.ymin):2&c?(s=e+(r-e)*(this.xmax-t)/(n-t),a=this.xmax):(s=e+(r-e)*(this.xmin-t)/(n-t),a=this.xmin),i?(t=a,e=s,i=this._regioncode(t,e)):(n=a,r=s,o=this._regioncode(n,r))}}_clipInfinite(t,e,n,r,i,o){let a,s=Array.from(e);if((a=this._project(s[0],s[1],n,r))&&s.unshift(a[0],a[1]),(a=this._project(s[s.length-2],s[s.length-1],i,o))&&s.push(a[0],a[1]),s=this._clipFinite(t,s))for(let e,n=0,r=s.length,i=this._edgecode(s[r-2],s[r-1]);n<r;n+=2)e=i,i=this._edgecode(s[n],s[n+1]),e&&i&&(n=this._edge(t,e,i,s,n),r=s.length);else this.contains(t,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2)&&(s=[this.xmin,this.ymin,this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax]);return s}_edge(t,e,n,r,i){for(;e!==n;){let n,o;switch(e){case 5:e=4;continue;case 4:e=6,n=this.xmax,o=this.ymin;break;case 6:e=2;continue;case 2:e=10,n=this.xmax,o=this.ymax;break;case 10:e=8;continue;case 8:e=9,n=this.xmin,o=this.ymax;break;case 9:e=1;continue;case 1:e=5,n=this.xmin,o=this.ymin}r[i]===n&&r[i+1]===o||!this.contains(t,n,o)||(r.splice(i,0,n,o),i+=2)}if(r.length>4)for(let t=0;t<r.length;t+=2){const e=(t+2)%r.length,n=(t+4)%r.length;(r[t]===r[e]&&r[e]===r[n]||r[t+1]===r[e+1]&&r[e+1]===r[n+1])&&(r.splice(e,2),t-=2)}return i}_project(t,e,n,r){let i,o,a,s=1/0;if(r<0){if(e<=this.ymin)return null;(i=(this.ymin-e)/r)<s&&(a=this.ymin,o=t+(s=i)*n)}else if(r>0){if(e>=this.ymax)return null;(i=(this.ymax-e)/r)<s&&(a=this.ymax,o=t+(s=i)*n)}if(n>0){if(t>=this.xmax)return null;(i=(this.xmax-t)/n)<s&&(o=this.xmax,a=e+(s=i)*r)}else if(n<0){if(t<=this.xmin)return null;(i=(this.xmin-t)/n)<s&&(o=this.xmin,a=e+(s=i)*r)}return[o,a]}_edgecode(t,e){return(t===this.xmin?1:t===this.xmax?2:0)|(e===this.ymin?4:e===this.ymax?8:0)}_regioncode(t,e){return(t<this.xmin?1:t>this.xmax?2:0)|(e<this.ymin?4:e>this.ymax?8:0)}}const wv=2*Math.PI,Mv=Math.pow;function Ev(t){return t[0]}function Sv(t){return t[1]}function Av(t,e,n){return[t+Math.sin(t+e)*n,e+Math.cos(t-e)*n]}class Tv{static from(t,e=Ev,n=Sv,r){return new Tv("length"in t?function(t,e,n,r){const i=t.length,o=new Float64Array(2*i);for(let a=0;a<i;++a){const i=t[a];o[2*a]=e.call(r,i,a,t),o[2*a+1]=n.call(r,i,a,t)}return o}(t,e,n,r):Float64Array.from(function*(t,e,n,r){let i=0;for(const o of t)yield e.call(r,o,i,t),yield n.call(r,o,i,t),++i}(t,e,n,r)))}constructor(t){this._delaunator=new lv(t),this.inedges=new Int32Array(t.length/2),this._hullIndex=new Int32Array(t.length/2),this.points=this._delaunator.coords,this._init()}update(){return this._delaunator.update(),this._init(),this}_init(){const t=this._delaunator,e=this.points;if(t.hull&&t.hull.length>2&&function(t){const{triangles:e,coords:n}=t;for(let t=0;t<e.length;t+=3){const r=2*e[t],i=2*e[t+1],o=2*e[t+2];if((n[o]-n[r])*(n[i+1]-n[r+1])-(n[i]-n[r])*(n[o+1]-n[r+1])>1e-10)return!1}return!0}(t)){this.collinear=Int32Array.from({length:e.length/2},((t,e)=>e)).sort(((t,n)=>e[2*t]-e[2*n]||e[2*t+1]-e[2*n+1]));const t=this.collinear[0],n=this.collinear[this.collinear.length-1],r=[e[2*t],e[2*t+1],e[2*n],e[2*n+1]],i=1e-8*Math.hypot(r[3]-r[1],r[2]-r[0]);for(let t=0,n=e.length/2;t<n;++t){const n=Av(e[2*t],e[2*t+1],i);e[2*t]=n[0],e[2*t+1]=n[1]}this._delaunator=new lv(e)}else delete this.collinear;const n=this.halfedges=this._delaunator.halfedges,r=this.hull=this._delaunator.hull,i=this.triangles=this._delaunator.triangles,o=this.inedges.fill(-1),a=this._hullIndex.fill(-1);for(let t=0,e=n.length;t<e;++t){const e=i[t%3==2?t-2:t+1];-1!==n[t]&&-1!==o[e]||(o[e]=t)}for(let t=0,e=r.length;t<e;++t)a[r[t]]=t;r.length<=2&&r.length>0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=r[0],o[r[0]]=1,2===r.length&&(o[r[1]]=0,this.triangles[1]=r[1],this.triangles[2]=r[1]))}voronoi(t){return new xv(this,t)}*neighbors(t){const{inedges:e,hull:n,_hullIndex:r,halfedges:i,triangles:o,collinear:a}=this;if(a){const e=a.indexOf(t);return e>0&&(yield a[e-1]),void(e<a.length-1&&(yield a[e+1]))}const s=e[t];if(-1===s)return;let c=s,u=-1;do{if(yield u=o[c],c=c%3==2?c-2:c+1,o[c]!==t)return;if(c=i[c],-1===c){const e=n[(r[t]+1)%n.length];return void(e!==u&&(yield e))}}while(c!==s)}find(t,e,n=0){if((t=+t)!=t||(e=+e)!=e)return-1;const r=n;let i;for(;(i=this._step(n,t,e))>=0&&i!==n&&i!==r;)n=i;return i}_step(t,e,n){const{inedges:r,hull:i,_hullIndex:o,halfedges:a,triangles:s,points:c}=this;if(-1===r[t]||!c.length)return(t+1)%(c.length>>1);let u=t,l=Mv(e-c[2*t],2)+Mv(n-c[2*t+1],2);const f=r[t];let h=f;do{let r=s[h];const f=Mv(e-c[2*r],2)+Mv(n-c[2*r+1],2);if(f<l&&(l=f,u=r),h=h%3==2?h-2:h+1,s[h]!==t)break;if(h=a[h],-1===h){if(h=i[(o[t]+1)%i.length],h!==r&&Mv(e-c[2*h],2)+Mv(n-c[2*h+1],2)<l)return h;break}}while(h!==f);return u}render(t){const e=null==t?t=new _v:void 0,{points:n,halfedges:r,triangles:i}=this;for(let e=0,o=r.length;e<o;++e){const o=r[e];if(o<e)continue;const a=2*i[e],s=2*i[o];t.moveTo(n[a],n[a+1]),t.lineTo(n[s],n[s+1])}return this.renderHull(t),e&&e.value()}renderPoints(t,e){void 0!==e||t&&"function"==typeof t.moveTo||(e=t,t=null),e=null==e?2:+e;const n=null==t?t=new _v:void 0,{points:r}=this;for(let n=0,i=r.length;n<i;n+=2){const i=r[n],o=r[n+1];t.moveTo(i+e,o),t.arc(i,o,e,0,wv)}return n&&n.value()}renderHull(t){const e=null==t?t=new _v:void 0,{hull:n,points:r}=this,i=2*n[0],o=n.length;t.moveTo(r[i],r[i+1]);for(let e=1;e<o;++e){const i=2*n[e];t.lineTo(r[i],r[i+1])}return t.closePath(),e&&e.value()}hullPolygon(){const t=new bv;return this.renderHull(t),t.value()}renderTriangle(t,e){const n=null==e?e=new _v:void 0,{points:r,triangles:i}=this,o=2*i[t*=3],a=2*i[t+1],s=2*i[t+2];return e.moveTo(r[o],r[o+1]),e.lineTo(r[a],r[a+1]),e.lineTo(r[s],r[s+1]),e.closePath(),n&&n.value()}*trianglePolygons(){const{triangles:t}=this;for(let e=0,n=t.length/3;e<n;++e)yield this.trianglePolygon(e)}trianglePolygon(t){const e=new bv;return this.renderTriangle(t,e),e.value()}}const kv=t=>()=>t;function Ov(t,{sourceEvent:e,subject:n,target:r,identifier:i,active:o,x:a,y:s,dx:c,dy:u,dispatch:l}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:i,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:a,enumerable:!0,configurable:!0},y:{value:s,enumerable:!0,configurable:!0},dx:{value:c,enumerable:!0,configurable:!0},dy:{value:u,enumerable:!0,configurable:!0},_:{value:l}})}function Cv(t){return!t.ctrlKey&&!t.button}function Nv(){return this.parentNode}function Pv(t,e){return null==e?{x:t.x,y:t.y}:e}function Rv(){return navigator.maxTouchPoints||"ontouchstart"in this}function jv(){var t,e,n,r,i=Cv,o=Nv,a=Pv,s=Rv,c={},u=ol("start","drag","end"),l=0,f=0;function h(t){t.on("mousedown.drag",d).filter(s).on("touchstart.drag",v).on("touchmove.drag",y,Mf).on("touchend.drag touchcancel.drag",m).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function d(a,s){if(!r&&i.call(this,a,s)){var c=_(this,o.call(this,a,s),a,s,"mouse");c&&(wf(a.view).on("mousemove.drag",p,Ef).on("mouseup.drag",g,Ef),Tf(a.view),Sf(a),n=!1,t=a.clientX,e=a.clientY,c("start",a))}}function p(r){if(Af(r),!n){var i=r.clientX-t,o=r.clientY-e;n=i*i+o*o>f}c.mouse("drag",r)}function g(t){wf(t.view).on("mousemove.drag mouseup.drag",null),kf(t.view,n),Af(t),c.mouse("end",t)}function v(t,e){if(i.call(this,t,e)){var n,r,a=t.changedTouches,s=o.call(this,t,e),c=a.length;for(n=0;n<c;++n)(r=_(this,s,t,e,a[n].identifier,a[n]))&&(Sf(t),r("start",t,a[n]))}}function y(t){var e,n,r=t.changedTouches,i=r.length;for(e=0;e<i;++e)(n=c[r[e].identifier])&&(Af(t),n("drag",t,r[e]))}function m(t){var e,n,i=t.changedTouches,o=i.length;for(r&&clearTimeout(r),r=setTimeout((function(){r=null}),500),e=0;e<o;++e)(n=c[i[e].identifier])&&(Sf(t),n("end",t,i[e]))}function _(t,e,n,r,i,o){var s,f,d,p=u.copy(),g=jh(o||n,e);if(null!=(d=a.call(t,new Ov("beforestart",{sourceEvent:n,target:h,identifier:i,active:l,x:g[0],y:g[1],dx:0,dy:0,dispatch:p}),r)))return s=d.x-g[0]||0,f=d.y-g[1]||0,function n(o,a,u){var v,y=g;switch(o){case"start":c[i]=n,v=l++;break;case"end":delete c[i],--l;case"drag":g=jh(u||a,e),v=l}p.call(o,t,new Ov(o,{sourceEvent:a,subject:d,target:h,identifier:i,active:v,x:g[0]+s,y:g[1]+f,dx:g[0]-y[0],dy:g[1]-y[1],dispatch:p}),r)}}return h.filter=function(t){return arguments.length?(i="function"==typeof t?t:kv(!!t),h):i},h.container=function(t){return arguments.length?(o="function"==typeof t?t:kv(t),h):o},h.subject=function(t){return arguments.length?(a="function"==typeof t?t:kv(t),h):a},h.touchable=function(t){return arguments.length?(s="function"==typeof t?t:kv(!!t),h):s},h.on=function(){var t=u.on.apply(u,arguments);return t===u?h:t},h.clickDistance=function(t){return arguments.length?(f=(t=+t)*t,h):Math.sqrt(f)},h}Ov.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var Dv={},Fv={};function Iv(t){return new Function("d","return {"+t.map((function(t,e){return JSON.stringify(t)+": d["+e+'] || ""'})).join(",")+"}")}function Lv(t){var e=Object.create(null),n=[];return t.forEach((function(t){for(var r in t)r in e||n.push(e[r]=r)})),n}function $v(t,e){var n=t+"",r=n.length;return r<e?new Array(e-r+1).join(0)+n:n}function Uv(t){var e=new RegExp('["'+t+"\n\r]"),n=t.charCodeAt(0);function r(t,e){var r,i=[],o=t.length,a=0,s=0,c=o<=0,u=!1;function l(){if(c)return Fv;if(u)return u=!1,Dv;var e,r,i=a;if(34===t.charCodeAt(i)){for(;a++<o&&34!==t.charCodeAt(a)||34===t.charCodeAt(++a););return(e=a)>=o?c=!0:10===(r=t.charCodeAt(a++))?u=!0:13===r&&(u=!0,10===t.charCodeAt(a)&&++a),t.slice(i+1,e-1).replace(/""/g,'"')}for(;a<o;){if(10===(r=t.charCodeAt(e=a++)))u=!0;else if(13===r)u=!0,10===t.charCodeAt(a)&&++a;else if(r!==n)continue;return t.slice(i,e)}return c=!0,t.slice(i,o)}for(10===t.charCodeAt(o-1)&&--o,13===t.charCodeAt(o-1)&&--o;(r=l())!==Fv;){for(var f=[];r!==Dv&&r!==Fv;)f.push(r),r=l();e&&null==(f=e(f,s++))||i.push(f)}return i}function i(e,n){return e.map((function(e){return n.map((function(t){return a(e[t])})).join(t)}))}function o(e){return e.map(a).join(t)}function a(t){return null==t?"":t instanceof Date?function(t){var e=t.getUTCHours(),n=t.getUTCMinutes(),r=t.getUTCSeconds(),i=t.getUTCMilliseconds();return isNaN(t)?"Invalid Date":function(t){return t<0?"-"+$v(-t,6):t>9999?"+"+$v(t,6):$v(t,4)}(t.getUTCFullYear())+"-"+$v(t.getUTCMonth()+1,2)+"-"+$v(t.getUTCDate(),2)+(i?"T"+$v(e,2)+":"+$v(n,2)+":"+$v(r,2)+"."+$v(i,3)+"Z":r?"T"+$v(e,2)+":"+$v(n,2)+":"+$v(r,2)+"Z":n||e?"T"+$v(e,2)+":"+$v(n,2)+"Z":"")}(t):e.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,e){var n,i,o=r(t,(function(t,r){if(n)return n(t,r-1);i=t,n=e?function(t,e){var n=Iv(t);return function(r,i){return e(n(r),i,t)}}(t,e):Iv(t)}));return o.columns=i||[],o},parseRows:r,format:function(e,n){return null==n&&(n=Lv(e)),[n.map(a).join(t)].concat(i(e,n)).join("\n")},formatBody:function(t,e){return null==e&&(e=Lv(t)),i(t,e).join("\n")},formatRows:function(t){return t.map(o).join("\n")},formatRow:o,formatValue:a}}var zv=Uv(","),Bv=zv.parse,Vv=zv.parseRows,qv=zv.format,Hv=zv.formatBody,Yv=zv.formatRows,Wv=zv.formatRow,Zv=zv.formatValue,Gv=Uv("\t"),Xv=Gv.parse,Jv=Gv.parseRows,Kv=Gv.format,Qv=Gv.formatBody,ty=Gv.formatRows,ey=Gv.formatRow,ny=Gv.formatValue;function ry(t){for(var e in t){var n,r,i=t[e].trim();if(i)if("true"===i)i=!0;else if("false"===i)i=!1;else if("NaN"===i)i=NaN;else if(isNaN(n=+i)){if(!(r=i.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;iy&&r[4]&&!r[7]&&(i=i.replace(/-/g,"/").replace(/T/," ")),i=new Date(i)}else i=n;else i=null;t[e]=i}return t}const iy=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours(),oy=t=>+t;function ay(t){return t*t}function sy(t){return t*(2-t)}function cy(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}var uy=function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n}(3),ly=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(3),fy=function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(3),hy=Math.PI,dy=hy/2;function py(t){return 1==+t?1:1-Math.cos(t*dy)}function gy(t){return Math.sin(t*dy)}function vy(t){return(1-Math.cos(hy*t))/2}function yy(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function my(t){return yy(1-+t)}function _y(t){return 1-yy(t)}function by(t){return((t*=2)<=1?yy(1-t):2-yy(t-1))/2}function xy(t){return 1-Math.sqrt(1-t*t)}function wy(t){return Math.sqrt(1- --t*t)}function My(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var Ey=7.5625;function Sy(t){return 1-Ay(1-t)}function Ay(t){return(t=+t)<.36363636363636365?Ey*t*t:t<.7272727272727273?Ey*(t-=.5454545454545454)*t+.75:t<.9090909090909091?Ey*(t-=.8181818181818182)*t+.9375:Ey*(t-=.9545454545454546)*t+.984375}function Ty(t){return((t*=2)<=1?1-Ay(1-t):Ay(t-1)+1)/2}var ky=1.70158,Oy=function t(e){function n(t){return(t=+t)*t*(e*(t-1)+t)}return e=+e,n.overshoot=t,n}(ky),Cy=function t(e){function n(t){return--t*t*((t+1)*e+t)+1}return e=+e,n.overshoot=t,n}(ky),Ny=function t(e){function n(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,n.overshoot=t,n}(ky),Py=2*Math.PI,Ry=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Py);function i(t){return e*yy(- --t)*Math.sin((r-t)/n)}return i.amplitude=function(e){return t(e,n*Py)},i.period=function(n){return t(e,n)},i}(1,.3),jy=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Py);function i(t){return 1-e*yy(t=+t)*Math.sin((t+r)/n)}return i.amplitude=function(e){return t(e,n*Py)},i.period=function(n){return t(e,n)},i}(1,.3),Dy=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Py);function i(t){return((t=2*t-1)<0?e*yy(-t)*Math.sin((r-t)/n):2-e*yy(t)*Math.sin((r+t)/n))/2}return i.amplitude=function(e){return t(e,n*Py)},i.period=function(n){return t(e,n)},i}(1,.3);function Fy(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.blob()}function Iy(t,e){return fetch(t,e).then(Fy)}function Ly(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.arrayBuffer()}function $y(t,e){return fetch(t,e).then(Ly)}function Uy(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}function zy(t,e){return fetch(t,e).then(Uy)}function By(t){return function(e,n,r){return 2===arguments.length&&"function"==typeof n&&(r=n,n=void 0),zy(e,n).then((function(e){return t(e,r)}))}}function Vy(t,e,n,r){3===arguments.length&&"function"==typeof n&&(r=n,n=void 0);var i=Uv(t);return zy(e,n).then((function(t){return i.parse(t,r)}))}var qy=By(Bv),Hy=By(Xv);function Yy(t,e){return new Promise((function(n,r){var i=new Image;for(var o in e)i[o]=e[o];i.onerror=r,i.onload=function(){n(i)},i.src=t}))}function Wy(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);if(204!==t.status&&205!==t.status)return t.json()}function Zy(t,e){return fetch(t,e).then(Wy)}function Gy(t){return(e,n)=>zy(e,n).then((e=>(new DOMParser).parseFromString(e,t)))}const Xy=Gy("application/xml");var Jy=Gy("text/html"),Ky=Gy("image/svg+xml");function Qy(t,e){var n,r=1;function i(){var i,o,a=n.length,s=0,c=0;for(i=0;i<a;++i)s+=(o=n[i]).x,c+=o.y;for(s=(s/a-t)*r,c=(c/a-e)*r,i=0;i<a;++i)(o=n[i]).x-=s,o.y-=c}return null==t&&(t=0),null==e&&(e=0),i.initialize=function(t){n=t},i.x=function(e){return arguments.length?(t=+e,i):t},i.y=function(t){return arguments.length?(e=+t,i):e},i.strength=function(t){return arguments.length?(r=+t,i):r},i}function tm(t,e,n,r){if(isNaN(e)||isNaN(n))return t;var i,o,a,s,c,u,l,f,h,d=t._root,p={data:r},g=t._x0,v=t._y0,y=t._x1,m=t._y1;if(!d)return t._root=p,t;for(;d.length;)if((u=e>=(o=(g+y)/2))?g=o:y=o,(l=n>=(a=(v+m)/2))?v=a:m=a,i=d,!(d=d[f=l<<1|u]))return i[f]=p,t;if(s=+t._x.call(null,d.data),c=+t._y.call(null,d.data),e===s&&n===c)return p.next=d,i?i[f]=p:t._root=p,t;do{i=i?i[f]=new Array(4):t._root=new Array(4),(u=e>=(o=(g+y)/2))?g=o:y=o,(l=n>=(a=(v+m)/2))?v=a:m=a}while((f=l<<1|u)==(h=(c>=a)<<1|s>=o));return i[h]=d,i[f]=p,t}function em(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i}function nm(t){return t[0]}function rm(t){return t[1]}function im(t,e,n){var r=new om(null==e?nm:e,null==n?rm:n,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function om(t,e,n,r,i,o){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function am(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}var sm=im.prototype=om.prototype;function cm(t){return function(){return t}}function um(t){return 1e-6*(t()-.5)}function lm(t){return t.x+t.vx}function fm(t){return t.y+t.vy}function hm(t){var e,n,r,i=1,o=1;function a(){for(var t,a,c,u,l,f,h,d=e.length,p=0;p<o;++p)for(a=im(e,lm,fm).visitAfter(s),t=0;t<d;++t)c=e[t],f=n[c.index],h=f*f,u=c.x+c.vx,l=c.y+c.vy,a.visit(g);function g(t,e,n,o,a){var s=t.data,d=t.r,p=f+d;if(!s)return e>u+p||o<u-p||n>l+p||a<l-p;if(s.index>c.index){var g=u-s.x-s.vx,v=l-s.y-s.vy,y=g*g+v*v;y<p*p&&(0===g&&(y+=(g=um(r))*g),0===v&&(y+=(v=um(r))*v),y=(p-(y=Math.sqrt(y)))/y*i,c.vx+=(g*=y)*(p=(d*=d)/(h+d)),c.vy+=(v*=y)*p,s.vx-=g*(p=1-p),s.vy-=v*p)}}}function s(t){if(t.data)return t.r=n[t.data.index];for(var e=t.r=0;e<4;++e)t[e]&&t[e].r>t.r&&(t.r=t[e].r)}function c(){if(e){var r,i,o=e.length;for(n=new Array(o),r=0;r<o;++r)i=e[r],n[i.index]=+t(i,r,e)}}return"function"!=typeof t&&(t=cm(null==t?1:+t)),a.initialize=function(t,n){e=t,r=n,c()},a.iterations=function(t){return arguments.length?(o=+t,a):o},a.strength=function(t){return arguments.length?(i=+t,a):i},a.radius=function(e){return arguments.length?(t="function"==typeof e?e:cm(+e),c(),a):t},a}function dm(t){return t.index}function pm(t,e){var n=t.get(e);if(!n)throw new Error("node not found: "+e);return n}function gm(t){var e,n,r,i,o,a,s=dm,c=function(t){return 1/Math.min(i[t.source.index],i[t.target.index])},u=cm(30),l=1;function f(r){for(var i=0,s=t.length;i<l;++i)for(var c,u,f,h,d,p,g,v=0;v<s;++v)u=(c=t[v]).source,h=(f=c.target).x+f.vx-u.x-u.vx||um(a),d=f.y+f.vy-u.y-u.vy||um(a),h*=p=((p=Math.sqrt(h*h+d*d))-n[v])/p*r*e[v],d*=p,f.vx-=h*(g=o[v]),f.vy-=d*g,u.vx+=h*(g=1-g),u.vy+=d*g}function h(){if(r){var a,c,u=r.length,l=t.length,f=new Map(r.map(((t,e)=>[s(t,e,r),t])));for(a=0,i=new Array(u);a<l;++a)(c=t[a]).index=a,"object"!=typeof c.source&&(c.source=pm(f,c.source)),"object"!=typeof c.target&&(c.target=pm(f,c.target)),i[c.source.index]=(i[c.source.index]||0)+1,i[c.target.index]=(i[c.target.index]||0)+1;for(a=0,o=new Array(l);a<l;++a)c=t[a],o[a]=i[c.source.index]/(i[c.source.index]+i[c.target.index]);e=new Array(l),d(),n=new Array(l),p()}}function d(){if(r)for(var n=0,i=t.length;n<i;++n)e[n]=+c(t[n],n,t)}function p(){if(r)for(var e=0,i=t.length;e<i;++e)n[e]=+u(t[e],e,t)}return null==t&&(t=[]),f.initialize=function(t,e){r=t,a=e,h()},f.links=function(e){return arguments.length?(t=e,h(),f):t},f.id=function(t){return arguments.length?(s=t,f):s},f.iterations=function(t){return arguments.length?(l=+t,f):l},f.strength=function(t){return arguments.length?(c="function"==typeof t?t:cm(+t),d(),f):c},f.distance=function(t){return arguments.length?(u="function"==typeof t?t:cm(+t),p(),f):u},f}sm.copy=function(){var t,e,n=new om(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=am(r),n;for(t=[{source:r,target:n._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(e=r.source[i])&&(e.length?t.push({source:e,target:r.target[i]=new Array(4)}):r.target[i]=am(e));return n},sm.add=function(t){const e=+this._x.call(null,t),n=+this._y.call(null,t);return tm(this.cover(e,n),e,n,t)},sm.addAll=function(t){var e,n,r,i,o=t.length,a=new Array(o),s=new Array(o),c=1/0,u=1/0,l=-1/0,f=-1/0;for(n=0;n<o;++n)isNaN(r=+this._x.call(null,e=t[n]))||isNaN(i=+this._y.call(null,e))||(a[n]=r,s[n]=i,r<c&&(c=r),r>l&&(l=r),i<u&&(u=i),i>f&&(f=i));if(c>l||u>f)return this;for(this.cover(c,u).cover(l,f),n=0;n<o;++n)tm(this,a[n],s[n],t[n]);return this},sm.cover=function(t,e){if(isNaN(t=+t)||isNaN(e=+e))return this;var n=this._x0,r=this._y0,i=this._x1,o=this._y1;if(isNaN(n))i=(n=Math.floor(t))+1,o=(r=Math.floor(e))+1;else{for(var a,s,c=i-n||1,u=this._root;n>t||t>=i||r>e||e>=o;)switch(s=(e<r)<<1|t<n,(a=new Array(4))[s]=u,u=a,c*=2,s){case 0:i=n+c,o=r+c;break;case 1:n=i-c,o=r+c;break;case 2:i=n+c,r=o-c;break;case 3:n=i-c,r=o-c}this._root&&this._root.length&&(this._root=u)}return this._x0=n,this._y0=r,this._x1=i,this._y1=o,this},sm.data=function(){var t=[];return this.visit((function(e){if(!e.length)do{t.push(e.data)}while(e=e.next)})),t},sm.extent=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},sm.find=function(t,e,n){var r,i,o,a,s,c,u,l=this._x0,f=this._y0,h=this._x1,d=this._y1,p=[],g=this._root;for(g&&p.push(new em(g,l,f,h,d)),null==n?n=1/0:(l=t-n,f=e-n,h=t+n,d=e+n,n*=n);c=p.pop();)if(!(!(g=c.node)||(i=c.x0)>h||(o=c.y0)>d||(a=c.x1)<l||(s=c.y1)<f))if(g.length){var v=(i+a)/2,y=(o+s)/2;p.push(new em(g[3],v,y,a,s),new em(g[2],i,y,v,s),new em(g[1],v,o,a,y),new em(g[0],i,o,v,y)),(u=(e>=y)<<1|t>=v)&&(c=p[p.length-1],p[p.length-1]=p[p.length-1-u],p[p.length-1-u]=c)}else{var m=t-+this._x.call(null,g.data),_=e-+this._y.call(null,g.data),b=m*m+_*_;if(b<n){var x=Math.sqrt(n=b);l=t-x,f=e-x,h=t+x,d=e+x,r=g.data}}return r},sm.remove=function(t){if(isNaN(o=+this._x.call(null,t))||isNaN(a=+this._y.call(null,t)))return this;var e,n,r,i,o,a,s,c,u,l,f,h,d=this._root,p=this._x0,g=this._y0,v=this._x1,y=this._y1;if(!d)return this;if(d.length)for(;;){if((u=o>=(s=(p+v)/2))?p=s:v=s,(l=a>=(c=(g+y)/2))?g=c:y=c,e=d,!(d=d[f=l<<1|u]))return this;if(!d.length)break;(e[f+1&3]||e[f+2&3]||e[f+3&3])&&(n=e,h=f)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):e?(i?e[f]=i:delete e[f],(d=e[0]||e[1]||e[2]||e[3])&&d===(e[3]||e[2]||e[1]||e[0])&&!d.length&&(n?n[h]=d:this._root=d),this):(this._root=i,this)},sm.removeAll=function(t){for(var e=0,n=t.length;e<n;++e)this.remove(t[e]);return this},sm.root=function(){return this._root},sm.size=function(){var t=0;return this.visit((function(e){if(!e.length)do{++t}while(e=e.next)})),t},sm.visit=function(t){var e,n,r,i,o,a,s=[],c=this._root;for(c&&s.push(new em(c,this._x0,this._y0,this._x1,this._y1));e=s.pop();)if(!t(c=e.node,r=e.x0,i=e.y0,o=e.x1,a=e.y1)&&c.length){var u=(r+o)/2,l=(i+a)/2;(n=c[3])&&s.push(new em(n,u,l,o,a)),(n=c[2])&&s.push(new em(n,r,l,u,a)),(n=c[1])&&s.push(new em(n,u,i,o,l)),(n=c[0])&&s.push(new em(n,r,i,u,l))}return this},sm.visitAfter=function(t){var e,n=[],r=[];for(this._root&&n.push(new em(this._root,this._x0,this._y0,this._x1,this._y1));e=n.pop();){var i=e.node;if(i.length){var o,a=e.x0,s=e.y0,c=e.x1,u=e.y1,l=(a+c)/2,f=(s+u)/2;(o=i[0])&&n.push(new em(o,a,s,l,f)),(o=i[1])&&n.push(new em(o,l,s,c,f)),(o=i[2])&&n.push(new em(o,a,f,l,u)),(o=i[3])&&n.push(new em(o,l,f,c,u))}r.push(e)}for(;e=r.pop();)t(e.node,e.x0,e.y0,e.x1,e.y1);return this},sm.x=function(t){return arguments.length?(this._x=t,this):this._x},sm.y=function(t){return arguments.length?(this._y=t,this):this._y};const vm=4294967296;function ym(t){return t.x}function mm(t){return t.y}var _m=Math.PI*(3-Math.sqrt(5));function bm(t){var e,n=1,r=.001,i=1-Math.pow(r,1/300),o=0,a=.6,s=new Map,c=Zh(f),u=ol("tick","end"),l=function(){let t=1;return()=>(t=(1664525*t+1013904223)%vm)/vm}();function f(){h(),u.call("tick",e),n<r&&(c.stop(),u.call("end",e))}function h(r){var c,u,l=t.length;void 0===r&&(r=1);for(var f=0;f<r;++f)for(n+=(o-n)*i,s.forEach((function(t){t(n)})),c=0;c<l;++c)null==(u=t[c]).fx?u.x+=u.vx*=a:(u.x=u.fx,u.vx=0),null==u.fy?u.y+=u.vy*=a:(u.y=u.fy,u.vy=0);return e}function d(){for(var e,n=0,r=t.length;n<r;++n){if((e=t[n]).index=n,null!=e.fx&&(e.x=e.fx),null!=e.fy&&(e.y=e.fy),isNaN(e.x)||isNaN(e.y)){var i=10*Math.sqrt(.5+n),o=n*_m;e.x=i*Math.cos(o),e.y=i*Math.sin(o)}(isNaN(e.vx)||isNaN(e.vy))&&(e.vx=e.vy=0)}}function p(e){return e.initialize&&e.initialize(t,l),e}return null==t&&(t=[]),d(),e={tick:h,restart:function(){return c.restart(f),e},stop:function(){return c.stop(),e},nodes:function(n){return arguments.length?(t=n,d(),s.forEach(p),e):t},alpha:function(t){return arguments.length?(n=+t,e):n},alphaMin:function(t){return arguments.length?(r=+t,e):r},alphaDecay:function(t){return arguments.length?(i=+t,e):+i},alphaTarget:function(t){return arguments.length?(o=+t,e):o},velocityDecay:function(t){return arguments.length?(a=1-t,e):1-a},randomSource:function(t){return arguments.length?(l=t,s.forEach(p),e):l},force:function(t,n){return arguments.length>1?(null==n?s.delete(t):s.set(t,p(n)),e):s.get(t)},find:function(e,n,r){var i,o,a,s,c,u=0,l=t.length;for(null==r?r=1/0:r*=r,u=0;u<l;++u)(a=(i=e-(s=t[u]).x)*i+(o=n-s.y)*o)<r&&(c=s,r=a);return c},on:function(t,n){return arguments.length>1?(u.on(t,n),e):u.on(t)}}}function xm(){var t,e,n,r,i,o=cm(-30),a=1,s=1/0,c=.81;function u(n){var i,o=t.length,a=im(t,ym,mm).visitAfter(f);for(r=n,i=0;i<o;++i)e=t[i],a.visit(h)}function l(){if(t){var e,n,r=t.length;for(i=new Array(r),e=0;e<r;++e)n=t[e],i[n.index]=+o(n,e,t)}}function f(t){var e,n,r,o,a,s=0,c=0;if(t.length){for(r=o=a=0;a<4;++a)(e=t[a])&&(n=Math.abs(e.value))&&(s+=e.value,c+=n,r+=n*e.x,o+=n*e.y);t.x=r/c,t.y=o/c}else{(e=t).x=e.data.x,e.y=e.data.y;do{s+=i[e.data.index]}while(e=e.next)}t.value=s}function h(t,o,u,l){if(!t.value)return!0;var f=t.x-e.x,h=t.y-e.y,d=l-o,p=f*f+h*h;if(d*d/c<p)return p<s&&(0===f&&(p+=(f=um(n))*f),0===h&&(p+=(h=um(n))*h),p<a&&(p=Math.sqrt(a*p)),e.vx+=f*t.value*r/p,e.vy+=h*t.value*r/p),!0;if(!(t.length||p>=s)){(t.data!==e||t.next)&&(0===f&&(p+=(f=um(n))*f),0===h&&(p+=(h=um(n))*h),p<a&&(p=Math.sqrt(a*p)));do{t.data!==e&&(d=i[t.data.index]*r/p,e.vx+=f*d,e.vy+=h*d)}while(t=t.next)}}return u.initialize=function(e,r){t=e,n=r,l()},u.strength=function(t){return arguments.length?(o="function"==typeof t?t:cm(+t),l(),u):o},u.distanceMin=function(t){return arguments.length?(a=t*t,u):Math.sqrt(a)},u.distanceMax=function(t){return arguments.length?(s=t*t,u):Math.sqrt(s)},u.theta=function(t){return arguments.length?(c=t*t,u):Math.sqrt(c)},u}function wm(t,e,n){var r,i,o,a=cm(.1);function s(t){for(var a=0,s=r.length;a<s;++a){var c=r[a],u=c.x-e||1e-6,l=c.y-n||1e-6,f=Math.sqrt(u*u+l*l),h=(o[a]-f)*i[a]*t/f;c.vx+=u*h,c.vy+=l*h}}function c(){if(r){var e,n=r.length;for(i=new Array(n),o=new Array(n),e=0;e<n;++e)o[e]=+t(r[e],e,r),i[e]=isNaN(o[e])?0:+a(r[e],e,r)}}return"function"!=typeof t&&(t=cm(+t)),null==e&&(e=0),null==n&&(n=0),s.initialize=function(t){r=t,c()},s.strength=function(t){return arguments.length?(a="function"==typeof t?t:cm(+t),c(),s):a},s.radius=function(e){return arguments.length?(t="function"==typeof e?e:cm(+e),c(),s):t},s.x=function(t){return arguments.length?(e=+t,s):e},s.y=function(t){return arguments.length?(n=+t,s):n},s}function Mm(t){var e,n,r,i=cm(.1);function o(t){for(var i,o=0,a=e.length;o<a;++o)(i=e[o]).vx+=(r[o]-i.x)*n[o]*t}function a(){if(e){var o,a=e.length;for(n=new Array(a),r=new Array(a),o=0;o<a;++o)n[o]=isNaN(r[o]=+t(e[o],o,e))?0:+i(e[o],o,e)}}return"function"!=typeof t&&(t=cm(null==t?0:+t)),o.initialize=function(t){e=t,a()},o.strength=function(t){return arguments.length?(i="function"==typeof t?t:cm(+t),a(),o):i},o.x=function(e){return arguments.length?(t="function"==typeof e?e:cm(+e),a(),o):t},o}function Em(t){var e,n,r,i=cm(.1);function o(t){for(var i,o=0,a=e.length;o<a;++o)(i=e[o]).vy+=(r[o]-i.y)*n[o]*t}function a(){if(e){var o,a=e.length;for(n=new Array(a),r=new Array(a),o=0;o<a;++o)n[o]=isNaN(r[o]=+t(e[o],o,e))?0:+i(e[o],o,e)}}return"function"!=typeof t&&(t=cm(null==t?0:+t)),o.initialize=function(t){e=t,a()},o.strength=function(t){return arguments.length?(i="function"==typeof t?t:cm(+t),a(),o):i},o.y=function(e){return arguments.length?(t="function"==typeof e?e:cm(+e),a(),o):t},o}function Sm(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function Am(t){return(t=Sm(Math.abs(t)))?t[1]:NaN}var Tm,km=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Om(t){if(!(e=km.exec(t)))throw new Error("invalid format: "+t);var e;return new Cm({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function Cm(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function Nm(t,e){var n=Sm(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}Om.prototype=Cm.prototype,Cm.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const Pm={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>Nm(100*t,e),r:Nm,s:function(t,e){var n=Sm(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(Tm=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Sm(t,Math.max(0,e+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Rm(t){return t}var jm,Dm,Fm,Im=Array.prototype.map,Lm=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function $m(t){var e,n,r=void 0===t.grouping||void 0===t.thousands?Rm:(e=Im.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),o.push(t.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[a=(a+1)%e.length];return o.reverse().join(n)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?Rm:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(Im.call(t.numerals,String)),c=void 0===t.percent?"%":t.percent+"",u=void 0===t.minus?"−":t.minus+"",l=void 0===t.nan?"NaN":t.nan+"";function f(t){var e=(t=Om(t)).fill,n=t.align,f=t.sign,h=t.symbol,d=t.zero,p=t.width,g=t.comma,v=t.precision,y=t.trim,m=t.type;"n"===m?(g=!0,m="g"):Pm[m]||(void 0===v&&(v=12),y=!0,m="g"),(d||"0"===e&&"="===n)&&(d=!0,e="0",n="=");var _="$"===h?i:"#"===h&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",b="$"===h?o:/[%p]/.test(m)?c:"",x=Pm[m],w=/[defgprs%]/.test(m);function M(t){var i,o,c,h=_,M=b;if("c"===m)M=x(t)+M,t="";else{var E=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:x(Math.abs(t),v),y&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),E&&0==+t&&"+"!==f&&(E=!1),h=(E?"("===f?f:u:"-"===f||"("===f?"":f)+h,M=("s"===m?Lm[8+Tm/3]:"")+M+(E&&"("===f?")":""),w)for(i=-1,o=t.length;++i<o;)if(48>(c=t.charCodeAt(i))||c>57){M=(46===c?a+t.slice(i+1):t.slice(i))+M,t=t.slice(0,i);break}}g&&!d&&(t=r(t,1/0));var S=h.length+t.length+M.length,A=S<p?new Array(p-S+1).join(e):"";switch(g&&d&&(t=r(A+t,A.length?p-M.length:1/0),A=""),n){case"<":t=h+t+M+A;break;case"=":t=h+A+t+M;break;case"^":t=A.slice(0,S=A.length>>1)+h+t+M+A.slice(S);break;default:t=A+h+t+M}return s(t)}return v=void 0===v?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),M.toString=function(){return t+""},M}return{format:f,formatPrefix:function(t,e){var n=f(((t=Om(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Am(e)/3))),i=Math.pow(10,-r),o=Lm[8+r/3];return function(t){return n(i*t)+o}}}}function Um(t){return jm=$m(t),Dm=jm.format,Fm=jm.formatPrefix,jm}function zm(t){return Math.max(0,-Am(Math.abs(t)))}function Bm(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Am(e)/3)))-Am(Math.abs(t)))}function Vm(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Am(e)-Am(t))+1}Um({thousands:",",grouping:[3],currency:["$",""]});var qm=1e-6,Hm=1e-12,Ym=Math.PI,Wm=Ym/2,Zm=Ym/4,Gm=2*Ym,Xm=180/Ym,Jm=Ym/180,Km=Math.abs,Qm=Math.atan,t_=Math.atan2,e_=Math.cos,n_=Math.ceil,r_=Math.exp,i_=(Math.floor,Math.hypot),o_=Math.log,a_=Math.pow,s_=Math.sin,c_=Math.sign||function(t){return t>0?1:t<0?-1:0},u_=Math.sqrt,l_=Math.tan;function f_(t){return t>1?0:t<-1?Ym:Math.acos(t)}function h_(t){return t>1?Wm:t<-1?-Wm:Math.asin(t)}function d_(t){return(t=s_(t/2))*t}function p_(){}function g_(t,e){t&&y_.hasOwnProperty(t.type)&&y_[t.type](t,e)}var v_={Feature:function(t,e){g_(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)g_(n[r].geometry,e)}},y_={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)t=n[r],e.point(t[0],t[1],t[2])},LineString:function(t,e){m_(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)m_(n[r],e,0)},Polygon:function(t,e){__(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)__(n[r],e)},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)g_(n[r],e)}};function m_(t,e,n){var r,i=-1,o=t.length-n;for(e.lineStart();++i<o;)r=t[i],e.point(r[0],r[1],r[2]);e.lineEnd()}function __(t,e){var n=-1,r=t.length;for(e.polygonStart();++n<r;)m_(t[n],e,1);e.polygonEnd()}function b_(t,e){t&&v_.hasOwnProperty(t.type)?v_[t.type](t,e):g_(t,e)}var x_,w_,M_,E_,S_,A_,T_,k_,O_,C_,N_,P_,R_,j_,D_,F_,I_=new hc,L_=new hc,$_={point:p_,lineStart:p_,lineEnd:p_,polygonStart:function(){I_=new hc,$_.lineStart=U_,$_.lineEnd=z_},polygonEnd:function(){var t=+I_;L_.add(t<0?Gm+t:t),this.lineStart=this.lineEnd=this.point=p_},sphere:function(){L_.add(Gm)}};function U_(){$_.point=B_}function z_(){V_(x_,w_)}function B_(t,e){$_.point=V_,x_=t,w_=e,M_=t*=Jm,E_=e_(e=(e*=Jm)/2+Zm),S_=s_(e)}function V_(t,e){var n=(t*=Jm)-M_,r=n>=0?1:-1,i=r*n,o=e_(e=(e*=Jm)/2+Zm),a=s_(e),s=S_*a,c=E_*o+s*e_(i),u=s*r*s_(i);I_.add(t_(u,c)),M_=t,E_=o,S_=a}function q_(t){return L_=new hc,b_(t,$_),2*L_}function H_(t){return[t_(t[1],t[0]),h_(t[2])]}function Y_(t){var e=t[0],n=t[1],r=e_(n);return[r*e_(e),r*s_(e),s_(n)]}function W_(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function Z_(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function G_(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function X_(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function J_(t){var e=u_(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}var K_,Q_,tb,eb,nb,rb,ib,ob,ab,sb,cb,ub,lb,fb,hb,db,pb={point:gb,lineStart:yb,lineEnd:mb,polygonStart:function(){pb.point=_b,pb.lineStart=bb,pb.lineEnd=xb,j_=new hc,$_.polygonStart()},polygonEnd:function(){$_.polygonEnd(),pb.point=gb,pb.lineStart=yb,pb.lineEnd=mb,I_<0?(A_=-(k_=180),T_=-(O_=90)):j_>qm?O_=90:j_<-1e-6&&(T_=-90),F_[0]=A_,F_[1]=k_},sphere:function(){A_=-(k_=180),T_=-(O_=90)}};function gb(t,e){D_.push(F_=[A_=t,k_=t]),e<T_&&(T_=e),e>O_&&(O_=e)}function vb(t,e){var n=Y_([t*Jm,e*Jm]);if(R_){var r=Z_(R_,n),i=Z_([r[1],-r[0],0],r);J_(i),i=H_(i);var o,a=t-C_,s=a>0?1:-1,c=i[0]*Xm*s,u=Km(a)>180;u^(s*C_<c&&c<s*t)?(o=i[1]*Xm)>O_&&(O_=o):u^(s*C_<(c=(c+360)%360-180)&&c<s*t)?(o=-i[1]*Xm)<T_&&(T_=o):(e<T_&&(T_=e),e>O_&&(O_=e)),u?t<C_?wb(A_,t)>wb(A_,k_)&&(k_=t):wb(t,k_)>wb(A_,k_)&&(A_=t):k_>=A_?(t<A_&&(A_=t),t>k_&&(k_=t)):t>C_?wb(A_,t)>wb(A_,k_)&&(k_=t):wb(t,k_)>wb(A_,k_)&&(A_=t)}else D_.push(F_=[A_=t,k_=t]);e<T_&&(T_=e),e>O_&&(O_=e),R_=n,C_=t}function yb(){pb.point=vb}function mb(){F_[0]=A_,F_[1]=k_,pb.point=gb,R_=null}function _b(t,e){if(R_){var n=t-C_;j_.add(Km(n)>180?n+(n>0?360:-360):n)}else N_=t,P_=e;$_.point(t,e),vb(t,e)}function bb(){$_.lineStart()}function xb(){_b(N_,P_),$_.lineEnd(),Km(j_)>qm&&(A_=-(k_=180)),F_[0]=A_,F_[1]=k_,R_=null}function wb(t,e){return(e-=t)<0?e+360:e}function Mb(t,e){return t[0]-e[0]}function Eb(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e<t[0]||t[1]<e}function Sb(t){var e,n,r,i,o,a,s;if(O_=k_=-(A_=T_=1/0),D_=[],b_(t,pb),n=D_.length){for(D_.sort(Mb),e=1,o=[r=D_[0]];e<n;++e)Eb(r,(i=D_[e])[0])||Eb(r,i[1])?(wb(r[0],i[1])>wb(r[0],r[1])&&(r[1]=i[1]),wb(i[0],r[1])>wb(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-1/0,e=0,r=o[n=o.length-1];e<=n;r=i,++e)i=o[e],(s=wb(r[1],i[0]))>a&&(a=s,A_=i[0],k_=r[1])}return D_=F_=null,A_===1/0||T_===1/0?[[NaN,NaN],[NaN,NaN]]:[[A_,T_],[k_,O_]]}var Ab={sphere:p_,point:Tb,lineStart:Ob,lineEnd:Pb,polygonStart:function(){Ab.lineStart=Rb,Ab.lineEnd=jb},polygonEnd:function(){Ab.lineStart=Ob,Ab.lineEnd=Pb}};function Tb(t,e){t*=Jm;var n=e_(e*=Jm);kb(n*e_(t),n*s_(t),s_(e))}function kb(t,e,n){++K_,tb+=(t-tb)/K_,eb+=(e-eb)/K_,nb+=(n-nb)/K_}function Ob(){Ab.point=Cb}function Cb(t,e){t*=Jm;var n=e_(e*=Jm);fb=n*e_(t),hb=n*s_(t),db=s_(e),Ab.point=Nb,kb(fb,hb,db)}function Nb(t,e){t*=Jm;var n=e_(e*=Jm),r=n*e_(t),i=n*s_(t),o=s_(e),a=t_(u_((a=hb*o-db*i)*a+(a=db*r-fb*o)*a+(a=fb*i-hb*r)*a),fb*r+hb*i+db*o);Q_+=a,rb+=a*(fb+(fb=r)),ib+=a*(hb+(hb=i)),ob+=a*(db+(db=o)),kb(fb,hb,db)}function Pb(){Ab.point=Tb}function Rb(){Ab.point=Db}function jb(){Fb(ub,lb),Ab.point=Tb}function Db(t,e){ub=t,lb=e,t*=Jm,e*=Jm,Ab.point=Fb;var n=e_(e);fb=n*e_(t),hb=n*s_(t),db=s_(e),kb(fb,hb,db)}function Fb(t,e){t*=Jm;var n=e_(e*=Jm),r=n*e_(t),i=n*s_(t),o=s_(e),a=hb*o-db*i,s=db*r-fb*o,c=fb*i-hb*r,u=i_(a,s,c),l=h_(u),f=u&&-l/u;ab.add(f*a),sb.add(f*s),cb.add(f*c),Q_+=l,rb+=l*(fb+(fb=r)),ib+=l*(hb+(hb=i)),ob+=l*(db+(db=o)),kb(fb,hb,db)}function Ib(t){K_=Q_=tb=eb=nb=rb=ib=ob=0,ab=new hc,sb=new hc,cb=new hc,b_(t,Ab);var e=+ab,n=+sb,r=+cb,i=i_(e,n,r);return i<Hm&&(e=rb,n=ib,r=ob,Q_<qm&&(e=tb,n=eb,r=nb),(i=i_(e,n,r))<Hm)?[NaN,NaN]:[t_(n,e)*Xm,h_(r/i)*Xm]}function Lb(t){return function(){return t}}function $b(t,e){function n(n,r){return n=t(n,r),e(n[0],n[1])}return t.invert&&e.invert&&(n.invert=function(n,r){return(n=e.invert(n,r))&&t.invert(n[0],n[1])}),n}function Ub(t,e){return[Km(t)>Ym?t+Math.round(-t/Gm)*Gm:t,e]}function zb(t,e,n){return(t%=Gm)?e||n?$b(Vb(t),qb(e,n)):Vb(t):e||n?qb(e,n):Ub}function Bb(t){return function(e,n){return[(e+=t)>Ym?e-Gm:e<-Ym?e+Gm:e,n]}}function Vb(t){var e=Bb(t);return e.invert=Bb(-t),e}function qb(t,e){var n=e_(t),r=s_(t),i=e_(e),o=s_(e);function a(t,e){var a=e_(e),s=e_(t)*a,c=s_(t)*a,u=s_(e),l=u*n+s*r;return[t_(c*i-l*o,s*n-u*r),h_(l*i+c*o)]}return a.invert=function(t,e){var a=e_(e),s=e_(t)*a,c=s_(t)*a,u=s_(e),l=u*i-c*o;return[t_(c*i+u*o,s*n+l*r),h_(l*n-s*r)]},a}function Hb(t){function e(e){return(e=t(e[0]*Jm,e[1]*Jm))[0]*=Xm,e[1]*=Xm,e}return t=zb(t[0]*Jm,t[1]*Jm,t.length>2?t[2]*Jm:0),e.invert=function(e){return(e=t.invert(e[0]*Jm,e[1]*Jm))[0]*=Xm,e[1]*=Xm,e},e}function Yb(t,e,n,r,i,o){if(n){var a=e_(e),s=s_(e),c=r*n;null==i?(i=e+r*Gm,o=e-c/2):(i=Wb(a,i),o=Wb(a,o),(r>0?i<o:i>o)&&(i+=r*Gm));for(var u,l=i;r>0?l>o:l<o;l-=c)u=H_([a,-s*e_(l),-s*s_(l)]),t.point(u[0],u[1])}}function Wb(t,e){(e=Y_(e))[0]-=t,J_(e);var n=f_(-e[1]);return((-e[2]<0?-n:n)+Gm-qm)%Gm}function Zb(){var t,e,n=Lb([0,0]),r=Lb(90),i=Lb(6),o={point:function(n,r){t.push(n=e(n,r)),n[0]*=Xm,n[1]*=Xm}};function a(){var a=n.apply(this,arguments),s=r.apply(this,arguments)*Jm,c=i.apply(this,arguments)*Jm;return t=[],e=zb(-a[0]*Jm,-a[1]*Jm,0).invert,Yb(o,s,c,1),a={type:"Polygon",coordinates:[t]},t=e=null,a}return a.center=function(t){return arguments.length?(n="function"==typeof t?t:Lb([+t[0],+t[1]]),a):n},a.radius=function(t){return arguments.length?(r="function"==typeof t?t:Lb(+t),a):r},a.precision=function(t){return arguments.length?(i="function"==typeof t?t:Lb(+t),a):i},a}function Gb(){var t,e=[];return{point:function(e,n,r){t.push([e,n,r])},lineStart:function(){e.push(t=[])},lineEnd:p_,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}}function Xb(t,e){return Km(t[0]-e[0])<qm&&Km(t[1]-e[1])<qm}function Jb(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function Kb(t,e,n,r,i){var o,a,s=[],c=[];if(t.forEach((function(t){if(!((e=t.length-1)<=0)){var e,n,r=t[0],a=t[e];if(Xb(r,a)){if(!r[2]&&!a[2]){for(i.lineStart(),o=0;o<e;++o)i.point((r=t[o])[0],r[1]);return void i.lineEnd()}a[0]+=2e-6}s.push(n=new Jb(r,t,null,!0)),c.push(n.o=new Jb(r,null,n,!1)),s.push(n=new Jb(a,t,null,!1)),c.push(n.o=new Jb(a,null,n,!0))}})),s.length){for(c.sort(e),Qb(s),Qb(c),o=0,a=c.length;o<a;++o)c[o].e=n=!n;for(var u,l,f=s[0];;){for(var h=f,d=!0;h.v;)if((h=h.n)===f)return;u=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(d)for(o=0,a=u.length;o<a;++o)i.point((l=u[o])[0],l[1]);else r(h.x,h.n.x,1,i);h=h.n}else{if(d)for(u=h.p.z,o=u.length-1;o>=0;--o)i.point((l=u[o])[0],l[1]);else r(h.x,h.p.x,-1,i);h=h.p}u=(h=h.o).z,d=!d}while(!h.v);i.lineEnd()}}}function Qb(t){if(e=t.length){for(var e,n,r=0,i=t[0];++r<e;)i.n=n=t[r],n.p=i,i=n;i.n=n=t[0],n.p=i}}function tx(t){return Km(t[0])<=Ym?t[0]:c_(t[0])*((Km(t[0])+Ym)%Gm-Ym)}function ex(t,e){var n=tx(e),r=e[1],i=s_(r),o=[s_(n),-e_(n),0],a=0,s=0,c=new hc;1===i?r=Wm+qm:-1===i&&(r=-Wm-qm);for(var u=0,l=t.length;u<l;++u)if(h=(f=t[u]).length)for(var f,h,d=f[h-1],p=tx(d),g=d[1]/2+Zm,v=s_(g),y=e_(g),m=0;m<h;++m,p=b,v=w,y=M,d=_){var _=f[m],b=tx(_),x=_[1]/2+Zm,w=s_(x),M=e_(x),E=b-p,S=E>=0?1:-1,A=S*E,T=A>Ym,k=v*w;if(c.add(t_(k*S*s_(A),y*M+k*e_(A))),a+=T?E+S*Gm:E,T^p>=n^b>=n){var O=Z_(Y_(d),Y_(_));J_(O);var C=Z_(o,O);J_(C);var N=(T^E>=0?-1:1)*h_(C[2]);(r>N||r===N&&(O[0]||O[1]))&&(s+=T^E>=0?1:-1)}}return(a<-1e-6||a<qm&&c<-1e-12)^1&s}function nx(t,e,n,r){return function(i){var o,a,s,c=e(i),u=Gb(),l=e(u),f=!1,h={point:d,lineStart:g,lineEnd:v,polygonStart:function(){h.point=y,h.lineStart=m,h.lineEnd=_,a=[],o=[]},polygonEnd:function(){h.point=d,h.lineStart=g,h.lineEnd=v,a=fu(a);var t=ex(o,r);a.length?(f||(i.polygonStart(),f=!0),Kb(a,ix,t,n,i)):t&&(f||(i.polygonStart(),f=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),f&&(i.polygonEnd(),f=!1),a=o=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function d(e,n){t(e,n)&&i.point(e,n)}function p(t,e){c.point(t,e)}function g(){h.point=p,c.lineStart()}function v(){h.point=d,c.lineEnd()}function y(t,e){s.push([t,e]),l.point(t,e)}function m(){l.lineStart(),s=[]}function _(){y(s[0][0],s[0][1]),l.lineEnd();var t,e,n,r,c=l.clean(),h=u.result(),d=h.length;if(s.pop(),o.push(s),s=null,d)if(1&c){if((e=(n=h[0]).length-1)>0){for(f||(i.polygonStart(),f=!0),i.lineStart(),t=0;t<e;++t)i.point((r=n[t])[0],r[1]);i.lineEnd()}}else d>1&&2&c&&h.push(h.pop().concat(h.shift())),a.push(h.filter(rx))}return h}}function rx(t){return t.length>1}function ix(t,e){return((t=t.x)[0]<0?t[1]-Wm-qm:Wm-t[1])-((e=e.x)[0]<0?e[1]-Wm-qm:Wm-e[1])}Ub.invert=Ub;const ox=nx((function(){return!0}),(function(t){var e,n=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(o,a){var s=o>0?Ym:-Ym,c=Km(o-n);Km(c-Ym)<qm?(t.point(n,r=(r+a)/2>0?Wm:-Wm),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(s,r),t.point(o,r),e=0):i!==s&&c>=Ym&&(Km(n-i)<qm&&(n-=i*qm),Km(o-s)<qm&&(o-=s*qm),r=function(t,e,n,r){var i,o,a=s_(t-n);return Km(a)>qm?Qm((s_(e)*(o=e_(r))*s_(n)-s_(r)*(i=e_(e))*s_(t))/(i*o*a)):(e+r)/2}(n,r,o,a),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(s,r),e=0),t.point(n=o,r=a),i=s},lineEnd:function(){t.lineEnd(),n=r=NaN},clean:function(){return 2-e}}}),(function(t,e,n,r){var i;if(null==t)i=n*Wm,r.point(-Ym,i),r.point(0,i),r.point(Ym,i),r.point(Ym,0),r.point(Ym,-i),r.point(0,-i),r.point(-Ym,-i),r.point(-Ym,0),r.point(-Ym,i);else if(Km(t[0]-e[0])>qm){var o=t[0]<e[0]?Ym:-Ym;i=n*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(e[0],e[1])}),[-Ym,-Wm]);function ax(t){var e=e_(t),n=6*Jm,r=e>0,i=Km(e)>qm;function o(t,n){return e_(t)*e_(n)>e}function a(t,n,r){var i=[1,0,0],o=Z_(Y_(t),Y_(n)),a=W_(o,o),s=o[0],c=a-s*s;if(!c)return!r&&t;var u=e*a/c,l=-e*s/c,f=Z_(i,o),h=X_(i,u);G_(h,X_(o,l));var d=f,p=W_(h,d),g=W_(d,d),v=p*p-g*(W_(h,h)-1);if(!(v<0)){var y=u_(v),m=X_(d,(-p-y)/g);if(G_(m,h),m=H_(m),!r)return m;var _,b=t[0],x=n[0],w=t[1],M=n[1];x<b&&(_=b,b=x,x=_);var E=x-b,S=Km(E-Ym)<qm;if(!S&&M<w&&(_=w,w=M,M=_),S||E<qm?S?w+M>0^m[1]<(Km(m[0]-b)<qm?w:M):w<=m[1]&&m[1]<=M:E>Ym^(b<=m[0]&&m[0]<=x)){var A=X_(d,(-p+y)/g);return G_(A,h),[m,H_(A)]}}}function s(e,n){var i=r?t:Ym-t,o=0;return e<-i?o|=1:e>i&&(o|=2),n<-i?o|=4:n>i&&(o|=8),o}return nx(o,(function(t){var e,n,c,u,l;return{lineStart:function(){u=c=!1,l=1},point:function(f,h){var d,p=[f,h],g=o(f,h),v=r?g?0:s(f,h):g?s(f+(f<0?Ym:-Ym),h):0;if(!e&&(u=c=g)&&t.lineStart(),g!==c&&(!(d=a(e,p))||Xb(e,d)||Xb(p,d))&&(p[2]=1),g!==c)l=0,g?(t.lineStart(),d=a(p,e),t.point(d[0],d[1])):(d=a(e,p),t.point(d[0],d[1],2),t.lineEnd()),e=d;else if(i&&e&&r^g){var y;v&n||!(y=a(p,e,!0))||(l=0,r?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1],3)))}!g||e&&Xb(e,p)||t.point(p[0],p[1]),e=p,c=g,n=v},lineEnd:function(){c&&t.lineEnd(),e=null},clean:function(){return l|(u&&c)<<1}}}),(function(e,r,i,o){Yb(o,t,n,i,e,r)}),r?[0,-t]:[-Ym,t-Ym])}var sx,cx,ux,lx,fx=1e9,hx=-fx;function dx(t,e,n,r){function i(i,o){return t<=i&&i<=n&&e<=o&&o<=r}function o(i,o,s,u){var l=0,f=0;if(null==i||(l=a(i,s))!==(f=a(o,s))||c(i,o)<0^s>0)do{u.point(0===l||3===l?t:n,l>1?r:e)}while((l=(l+s+4)%4)!==f);else u.point(o[0],o[1])}function a(r,i){return Km(r[0]-t)<qm?i>0?0:3:Km(r[0]-n)<qm?i>0?2:1:Km(r[1]-e)<qm?i>0?1:0:i>0?3:2}function s(t,e){return c(t.x,e.x)}function c(t,e){var n=a(t,1),r=a(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(a){var c,u,l,f,h,d,p,g,v,y,m,_=a,b=Gb(),x={point:w,lineStart:function(){x.point=M,u&&u.push(l=[]),y=!0,v=!1,p=g=NaN},lineEnd:function(){c&&(M(f,h),d&&v&&b.rejoin(),c.push(b.result())),x.point=w,v&&_.lineEnd()},polygonStart:function(){_=b,c=[],u=[],m=!0},polygonEnd:function(){var e=function(){for(var e=0,n=0,i=u.length;n<i;++n)for(var o,a,s=u[n],c=1,l=s.length,f=s[0],h=f[0],d=f[1];c<l;++c)o=h,a=d,h=(f=s[c])[0],d=f[1],a<=r?d>r&&(h-o)*(r-a)>(d-a)*(t-o)&&++e:d<=r&&(h-o)*(r-a)<(d-a)*(t-o)&&--e;return e}(),n=m&&e,i=(c=fu(c)).length;(n||i)&&(a.polygonStart(),n&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),i&&Kb(c,s,e,o,a),a.polygonEnd()),_=a,c=u=l=null}};function w(t,e){i(t,e)&&_.point(t,e)}function M(o,a){var s=i(o,a);if(u&&l.push([o,a]),y)f=o,h=a,d=s,y=!1,s&&(_.lineStart(),_.point(o,a));else if(s&&v)_.point(o,a);else{var c=[p=Math.max(hx,Math.min(fx,p)),g=Math.max(hx,Math.min(fx,g))],b=[o=Math.max(hx,Math.min(fx,o)),a=Math.max(hx,Math.min(fx,a))];!function(t,e,n,r,i,o){var a,s=t[0],c=t[1],u=0,l=1,f=e[0]-s,h=e[1]-c;if(a=n-s,f||!(a>0)){if(a/=f,f<0){if(a<u)return;a<l&&(l=a)}else if(f>0){if(a>l)return;a>u&&(u=a)}if(a=i-s,f||!(a<0)){if(a/=f,f<0){if(a>l)return;a>u&&(u=a)}else if(f>0){if(a<u)return;a<l&&(l=a)}if(a=r-c,h||!(a>0)){if(a/=h,h<0){if(a<u)return;a<l&&(l=a)}else if(h>0){if(a>l)return;a>u&&(u=a)}if(a=o-c,h||!(a<0)){if(a/=h,h<0){if(a>l)return;a>u&&(u=a)}else if(h>0){if(a<u)return;a<l&&(l=a)}return u>0&&(t[0]=s+u*f,t[1]=c+u*h),l<1&&(e[0]=s+l*f,e[1]=c+l*h),!0}}}}}(c,b,t,e,n,r)?s&&(_.lineStart(),_.point(o,a),m=!1):(v||(_.lineStart(),_.point(c[0],c[1])),_.point(b[0],b[1]),s||_.lineEnd(),m=!1)}p=o,g=a,v=s}return x}}function px(){var t,e,n,r=0,i=0,o=960,a=500;return n={stream:function(n){return t&&e===n?t:t=dx(r,i,o,a)(e=n)},extent:function(s){return arguments.length?(r=+s[0][0],i=+s[0][1],o=+s[1][0],a=+s[1][1],t=e=null,n):[[r,i],[o,a]]}}}var gx={sphere:p_,point:p_,lineStart:function(){gx.point=yx,gx.lineEnd=vx},lineEnd:p_,polygonStart:p_,polygonEnd:p_};function vx(){gx.point=gx.lineEnd=p_}function yx(t,e){cx=t*=Jm,ux=s_(e*=Jm),lx=e_(e),gx.point=mx}function mx(t,e){t*=Jm;var n=s_(e*=Jm),r=e_(e),i=Km(t-cx),o=e_(i),a=r*s_(i),s=lx*n-ux*r*o,c=ux*n+lx*r*o;sx.add(t_(u_(a*a+s*s),c)),cx=t,ux=n,lx=r}function _x(t){return sx=new hc,b_(t,gx),+sx}var bx=[null,null],xx={type:"LineString",coordinates:bx};function wx(t,e){return bx[0]=t,bx[1]=e,_x(xx)}var Mx={Feature:function(t,e){return Sx(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)if(Sx(n[r].geometry,e))return!0;return!1}},Ex={Sphere:function(){return!0},Point:function(t,e){return Ax(t.coordinates,e)},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(Ax(n[r],e))return!0;return!1},LineString:function(t,e){return Tx(t.coordinates,e)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(Tx(n[r],e))return!0;return!1},Polygon:function(t,e){return kx(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(kx(n[r],e))return!0;return!1},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)if(Sx(n[r],e))return!0;return!1}};function Sx(t,e){return!(!t||!Ex.hasOwnProperty(t.type))&&Ex[t.type](t,e)}function Ax(t,e){return 0===wx(t,e)}function Tx(t,e){for(var n,r,i,o=0,a=t.length;o<a;o++){if(0===(r=wx(t[o],e)))return!0;if(o>0&&(i=wx(t[o],t[o-1]))>0&&n<=i&&r<=i&&(n+r-i)*(1-Math.pow((n-r)/i,2))<Hm*i)return!0;n=r}return!1}function kx(t,e){return!!ex(t.map(Ox),Cx(e))}function Ox(t){return(t=t.map(Cx)).pop(),t}function Cx(t){return[t[0]*Jm,t[1]*Jm]}function Nx(t,e){return(t&&Mx.hasOwnProperty(t.type)?Mx[t.type]:Sx)(t,e)}function Px(t,e,n){var r=gu(t,e-qm,n).concat(e);return function(t){return r.map((function(e){return[t,e]}))}}function Rx(t,e,n){var r=gu(t,e-qm,n).concat(e);return function(t){return r.map((function(e){return[e,t]}))}}function jx(){var t,e,n,r,i,o,a,s,c,u,l,f,h=10,d=h,p=90,g=360,v=2.5;function y(){return{type:"MultiLineString",coordinates:m()}}function m(){return gu(n_(r/p)*p,n,p).map(l).concat(gu(n_(s/g)*g,a,g).map(f)).concat(gu(n_(e/h)*h,t,h).filter((function(t){return Km(t%p)>qm})).map(c)).concat(gu(n_(o/d)*d,i,d).filter((function(t){return Km(t%g)>qm})).map(u))}return y.lines=function(){return m().map((function(t){return{type:"LineString",coordinates:t}}))},y.outline=function(){return{type:"Polygon",coordinates:[l(r).concat(f(a).slice(1),l(n).reverse().slice(1),f(s).reverse().slice(1))]}},y.extent=function(t){return arguments.length?y.extentMajor(t).extentMinor(t):y.extentMinor()},y.extentMajor=function(t){return arguments.length?(r=+t[0][0],n=+t[1][0],s=+t[0][1],a=+t[1][1],r>n&&(t=r,r=n,n=t),s>a&&(t=s,s=a,a=t),y.precision(v)):[[r,s],[n,a]]},y.extentMinor=function(n){return arguments.length?(e=+n[0][0],t=+n[1][0],o=+n[0][1],i=+n[1][1],e>t&&(n=e,e=t,t=n),o>i&&(n=o,o=i,i=n),y.precision(v)):[[e,o],[t,i]]},y.step=function(t){return arguments.length?y.stepMajor(t).stepMinor(t):y.stepMinor()},y.stepMajor=function(t){return arguments.length?(p=+t[0],g=+t[1],y):[p,g]},y.stepMinor=function(t){return arguments.length?(h=+t[0],d=+t[1],y):[h,d]},y.precision=function(h){return arguments.length?(v=+h,c=Px(o,i,90),u=Rx(e,t,v),l=Px(s,a,90),f=Rx(r,n,v),y):v},y.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])}function Dx(){return jx()()}function Fx(t,e){var n=t[0]*Jm,r=t[1]*Jm,i=e[0]*Jm,o=e[1]*Jm,a=e_(r),s=s_(r),c=e_(o),u=s_(o),l=a*e_(n),f=a*s_(n),h=c*e_(i),d=c*s_(i),p=2*h_(u_(d_(o-r)+a*c*d_(i-n))),g=s_(p),v=p?function(t){var e=s_(t*=p)/g,n=s_(p-t)/g,r=n*l+e*h,i=n*f+e*d,o=n*s+e*u;return[t_(i,r)*Xm,t_(o,u_(r*r+i*i))*Xm]}:function(){return[n*Xm,r*Xm]};return v.distance=p,v}const Ix=t=>t;var Lx,$x,Ux,zx,Bx=new hc,Vx=new hc,qx={point:p_,lineStart:p_,lineEnd:p_,polygonStart:function(){qx.lineStart=Hx,qx.lineEnd=Zx},polygonEnd:function(){qx.lineStart=qx.lineEnd=qx.point=p_,Bx.add(Km(Vx)),Vx=new hc},result:function(){var t=Bx/2;return Bx=new hc,t}};function Hx(){qx.point=Yx}function Yx(t,e){qx.point=Wx,Lx=Ux=t,$x=zx=e}function Wx(t,e){Vx.add(zx*t-Ux*e),Ux=t,zx=e}function Zx(){Wx(Lx,$x)}const Gx=qx;var Xx=1/0,Jx=Xx,Kx=-Xx,Qx=Kx,tw={point:function(t,e){t<Xx&&(Xx=t),t>Kx&&(Kx=t),e<Jx&&(Jx=e),e>Qx&&(Qx=e)},lineStart:p_,lineEnd:p_,polygonStart:p_,polygonEnd:p_,result:function(){var t=[[Xx,Jx],[Kx,Qx]];return Kx=Qx=-(Jx=Xx=1/0),t}};const ew=tw;var nw,rw,iw,ow,aw=0,sw=0,cw=0,uw=0,lw=0,fw=0,hw=0,dw=0,pw=0,gw={point:vw,lineStart:yw,lineEnd:bw,polygonStart:function(){gw.lineStart=xw,gw.lineEnd=ww},polygonEnd:function(){gw.point=vw,gw.lineStart=yw,gw.lineEnd=bw},result:function(){var t=pw?[hw/pw,dw/pw]:fw?[uw/fw,lw/fw]:cw?[aw/cw,sw/cw]:[NaN,NaN];return aw=sw=cw=uw=lw=fw=hw=dw=pw=0,t}};function vw(t,e){aw+=t,sw+=e,++cw}function yw(){gw.point=mw}function mw(t,e){gw.point=_w,vw(iw=t,ow=e)}function _w(t,e){var n=t-iw,r=e-ow,i=u_(n*n+r*r);uw+=i*(iw+t)/2,lw+=i*(ow+e)/2,fw+=i,vw(iw=t,ow=e)}function bw(){gw.point=vw}function xw(){gw.point=Mw}function ww(){Ew(nw,rw)}function Mw(t,e){gw.point=Ew,vw(nw=iw=t,rw=ow=e)}function Ew(t,e){var n=t-iw,r=e-ow,i=u_(n*n+r*r);uw+=i*(iw+t)/2,lw+=i*(ow+e)/2,fw+=i,hw+=(i=ow*t-iw*e)*(iw+t),dw+=i*(ow+e),pw+=3*i,vw(iw=t,ow=e)}const Sw=gw;function Aw(t){this._context=t}Aw.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,Gm)}},result:p_};var Tw,kw,Ow,Cw,Nw,Pw=new hc,Rw={point:p_,lineStart:function(){Rw.point=jw},lineEnd:function(){Tw&&Dw(kw,Ow),Rw.point=p_},polygonStart:function(){Tw=!0},polygonEnd:function(){Tw=null},result:function(){var t=+Pw;return Pw=new hc,t}};function jw(t,e){Rw.point=Dw,kw=Cw=t,Ow=Nw=e}function Dw(t,e){Cw-=t,Nw-=e,Pw.add(u_(Cw*Cw+Nw*Nw)),Cw=t,Nw=e}const Fw=Rw;function Iw(){this._string=[]}function Lw(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function $w(t,e){var n,r,i=4.5;function o(t){return t&&("function"==typeof i&&r.pointRadius(+i.apply(this,arguments)),b_(t,n(r))),r.result()}return o.area=function(t){return b_(t,n(Gx)),Gx.result()},o.measure=function(t){return b_(t,n(Fw)),Fw.result()},o.bounds=function(t){return b_(t,n(ew)),ew.result()},o.centroid=function(t){return b_(t,n(Sw)),Sw.result()},o.projection=function(e){return arguments.length?(n=null==e?(t=null,Ix):(t=e).stream,o):t},o.context=function(t){return arguments.length?(r=null==t?(e=null,new Iw):new Aw(e=t),"function"!=typeof i&&r.pointRadius(i),o):e},o.pointRadius=function(t){return arguments.length?(i="function"==typeof t?t:(r.pointRadius(+t),+t),o):i},o.projection(t).context(e)}function Uw(t){return{stream:zw(t)}}function zw(t){return function(e){var n=new Bw;for(var r in t)n[r]=t[r];return n.stream=e,n}}function Bw(){}function Vw(t,e,n){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),b_(n,t.stream(ew)),e(ew.result()),null!=r&&t.clipExtent(r),t}function qw(t,e,n){return Vw(t,(function(n){var r=e[1][0]-e[0][0],i=e[1][1]-e[0][1],o=Math.min(r/(n[1][0]-n[0][0]),i/(n[1][1]-n[0][1])),a=+e[0][0]+(r-o*(n[1][0]+n[0][0]))/2,s=+e[0][1]+(i-o*(n[1][1]+n[0][1]))/2;t.scale(150*o).translate([a,s])}),n)}function Hw(t,e,n){return qw(t,[[0,0],e],n)}function Yw(t,e,n){return Vw(t,(function(n){var r=+e,i=r/(n[1][0]-n[0][0]),o=(r-i*(n[1][0]+n[0][0]))/2,a=-i*n[0][1];t.scale(150*i).translate([o,a])}),n)}function Ww(t,e,n){return Vw(t,(function(n){var r=+e,i=r/(n[1][1]-n[0][1]),o=-i*n[0][0],a=(r-i*(n[1][1]+n[0][1]))/2;t.scale(150*i).translate([o,a])}),n)}Iw.prototype={_radius:4.5,_circle:Lw(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:null==this._circle&&(this._circle=Lw(this._radius)),this._string.push("M",t,",",e,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}},Bw.prototype={constructor:Bw,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var Zw=e_(30*Jm);function Gw(t,e){return+e?function(t,e){function n(r,i,o,a,s,c,u,l,f,h,d,p,g,v){var y=u-r,m=l-i,_=y*y+m*m;if(_>4*e&&g--){var b=a+h,x=s+d,w=c+p,M=u_(b*b+x*x+w*w),E=h_(w/=M),S=Km(Km(w)-1)<qm||Km(o-f)<qm?(o+f)/2:t_(x,b),A=t(S,E),T=A[0],k=A[1],O=T-r,C=k-i,N=m*O-y*C;(N*N/_>e||Km((y*O+m*C)/_-.5)>.3||a*h+s*d+c*p<Zw)&&(n(r,i,o,a,s,c,T,k,S,b/=M,x/=M,w,g,v),v.point(T,k),n(T,k,S,b,x,w,u,l,f,h,d,p,g,v))}}return function(e){var r,i,o,a,s,c,u,l,f,h,d,p,g={point:v,lineStart:y,lineEnd:_,polygonStart:function(){e.polygonStart(),g.lineStart=b},polygonEnd:function(){e.polygonEnd(),g.lineStart=y}};function v(n,r){n=t(n,r),e.point(n[0],n[1])}function y(){l=NaN,g.point=m,e.lineStart()}function m(r,i){var o=Y_([r,i]),a=t(r,i);n(l,f,u,h,d,p,l=a[0],f=a[1],u=r,h=o[0],d=o[1],p=o[2],16,e),e.point(l,f)}function _(){g.point=v,e.lineEnd()}function b(){y(),g.point=x,g.lineEnd=w}function x(t,e){m(r=t,e),i=l,o=f,a=h,s=d,c=p,g.point=m}function w(){n(l,f,u,h,d,p,i,o,r,a,s,c,16,e),g.lineEnd=_,_()}return g}}(t,e):function(t){return zw({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}(t)}var Xw=zw({point:function(t,e){this.stream.point(t*Jm,e*Jm)}});function Jw(t,e,n,r,i,o){if(!o)return function(t,e,n,r,i){function o(o,a){return[e+t*(o*=r),n-t*(a*=i)]}return o.invert=function(o,a){return[(o-e)/t*r,(n-a)/t*i]},o}(t,e,n,r,i);var a=e_(o),s=s_(o),c=a*t,u=s*t,l=a/t,f=s/t,h=(s*n-a*e)/t,d=(s*e+a*n)/t;function p(t,o){return[c*(t*=r)-u*(o*=i)+e,n-u*t-c*o]}return p.invert=function(t,e){return[r*(l*t-f*e+h),i*(d-f*t-l*e)]},p}function Kw(t){return Qw((function(){return t}))()}function Qw(t){var e,n,r,i,o,a,s,c,u,l,f=150,h=480,d=250,p=0,g=0,v=0,y=0,m=0,_=0,b=1,x=1,w=null,M=ox,E=null,S=Ix,A=.5;function T(t){return c(t[0]*Jm,t[1]*Jm)}function k(t){return(t=c.invert(t[0],t[1]))&&[t[0]*Xm,t[1]*Xm]}function O(){var t=Jw(f,0,0,b,x,_).apply(null,e(p,g)),r=Jw(f,h-t[0],d-t[1],b,x,_);return n=zb(v,y,m),s=$b(e,r),c=$b(n,s),a=Gw(s,A),C()}function C(){return u=l=null,T}return T.stream=function(t){return u&&l===t?u:u=Xw(function(t){return zw({point:function(e,n){var r=t(e,n);return this.stream.point(r[0],r[1])}})}(n)(M(a(S(l=t)))))},T.preclip=function(t){return arguments.length?(M=t,w=void 0,C()):M},T.postclip=function(t){return arguments.length?(S=t,E=r=i=o=null,C()):S},T.clipAngle=function(t){return arguments.length?(M=+t?ax(w=t*Jm):(w=null,ox),C()):w*Xm},T.clipExtent=function(t){return arguments.length?(S=null==t?(E=r=i=o=null,Ix):dx(E=+t[0][0],r=+t[0][1],i=+t[1][0],o=+t[1][1]),C()):null==E?null:[[E,r],[i,o]]},T.scale=function(t){return arguments.length?(f=+t,O()):f},T.translate=function(t){return arguments.length?(h=+t[0],d=+t[1],O()):[h,d]},T.center=function(t){return arguments.length?(p=t[0]%360*Jm,g=t[1]%360*Jm,O()):[p*Xm,g*Xm]},T.rotate=function(t){return arguments.length?(v=t[0]%360*Jm,y=t[1]%360*Jm,m=t.length>2?t[2]%360*Jm:0,O()):[v*Xm,y*Xm,m*Xm]},T.angle=function(t){return arguments.length?(_=t%360*Jm,O()):_*Xm},T.reflectX=function(t){return arguments.length?(b=t?-1:1,O()):b<0},T.reflectY=function(t){return arguments.length?(x=t?-1:1,O()):x<0},T.precision=function(t){return arguments.length?(a=Gw(s,A=t*t),C()):u_(A)},T.fitExtent=function(t,e){return qw(T,t,e)},T.fitSize=function(t,e){return Hw(T,t,e)},T.fitWidth=function(t,e){return Yw(T,t,e)},T.fitHeight=function(t,e){return Ww(T,t,e)},function(){return e=t.apply(this,arguments),T.invert=e.invert&&k,O()}}function tM(t){var e=0,n=Ym/3,r=Qw(t),i=r(e,n);return i.parallels=function(t){return arguments.length?r(e=t[0]*Jm,n=t[1]*Jm):[e*Xm,n*Xm]},i}function eM(t,e){var n=s_(t),r=(n+s_(e))/2;if(Km(r)<qm)return function(t){var e=e_(t);function n(t,n){return[t*e,s_(n)/e]}return n.invert=function(t,n){return[t/e,h_(n*e)]},n}(t);var i=1+n*(2*r-n),o=u_(i)/r;function a(t,e){var n=u_(i-2*r*s_(e))/r;return[n*s_(t*=r),o-n*e_(t)]}return a.invert=function(t,e){var n=o-e,a=t_(t,Km(n))*c_(n);return n*r<0&&(a-=Ym*c_(t)*c_(n)),[a/r,h_((i-(t*t+n*n)*r*r)/(2*r))]},a}function nM(){return tM(eM).scale(155.424).center([0,33.6442])}function rM(){return nM().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function iM(){var t,e,n,r,i,o,a=rM(),s=nM().rotate([154,0]).center([-2,58.5]).parallels([55,65]),c=nM().rotate([157,0]).center([-3,19.9]).parallels([8,18]),u={point:function(t,e){o=[t,e]}};function l(t){var e=t[0],a=t[1];return o=null,n.point(e,a),o||(r.point(e,a),o)||(i.point(e,a),o)}function f(){return t=e=null,l}return l.invert=function(t){var e=a.scale(),n=a.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?s:i>=.166&&i<.234&&r>=-.214&&r<-.115?c:a).invert(t)},l.stream=function(n){return t&&e===n?t:(r=[a.stream(e=n),s.stream(n),c.stream(n)],i=r.length,t={point:function(t,e){for(var n=-1;++n<i;)r[n].point(t,e)},sphere:function(){for(var t=-1;++t<i;)r[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)r[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)r[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)r[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)r[t].polygonEnd()}});var r,i},l.precision=function(t){return arguments.length?(a.precision(t),s.precision(t),c.precision(t),f()):a.precision()},l.scale=function(t){return arguments.length?(a.scale(t),s.scale(.35*t),c.scale(t),l.translate(a.translate())):a.scale()},l.translate=function(t){if(!arguments.length)return a.translate();var e=a.scale(),o=+t[0],l=+t[1];return n=a.translate(t).clipExtent([[o-.455*e,l-.238*e],[o+.455*e,l+.238*e]]).stream(u),r=s.translate([o-.307*e,l+.201*e]).clipExtent([[o-.425*e+qm,l+.12*e+qm],[o-.214*e-qm,l+.234*e-qm]]).stream(u),i=c.translate([o-.205*e,l+.212*e]).clipExtent([[o-.214*e+qm,l+.166*e+qm],[o-.115*e-qm,l+.234*e-qm]]).stream(u),f()},l.fitExtent=function(t,e){return qw(l,t,e)},l.fitSize=function(t,e){return Hw(l,t,e)},l.fitWidth=function(t,e){return Yw(l,t,e)},l.fitHeight=function(t,e){return Ww(l,t,e)},l.scale(1070)}function oM(t){return function(e,n){var r=e_(e),i=e_(n),o=t(r*i);return o===1/0?[2,0]:[o*i*s_(e),o*s_(n)]}}function aM(t){return function(e,n){var r=u_(e*e+n*n),i=t(r),o=s_(i),a=e_(i);return[t_(e*o,r*a),h_(r&&n*o/r)]}}var sM=oM((function(t){return u_(2/(1+t))}));function cM(){return Kw(sM).scale(124.75).clipAngle(179.999)}sM.invert=aM((function(t){return 2*h_(t/2)}));var uM=oM((function(t){return(t=f_(t))&&t/s_(t)}));function lM(){return Kw(uM).scale(79.4188).clipAngle(179.999)}function fM(t,e){return[t,o_(l_((Wm+e)/2))]}function hM(){return dM(fM).scale(961/Gm)}function dM(t){var e,n,r,i=Kw(t),o=i.center,a=i.scale,s=i.translate,c=i.clipExtent,u=null;function l(){var o=Ym*a(),s=i(Hb(i.rotate()).invert([0,0]));return c(null==u?[[s[0]-o,s[1]-o],[s[0]+o,s[1]+o]]:t===fM?[[Math.max(s[0]-o,u),e],[Math.min(s[0]+o,n),r]]:[[u,Math.max(s[1]-o,e)],[n,Math.min(s[1]+o,r)]])}return i.scale=function(t){return arguments.length?(a(t),l()):a()},i.translate=function(t){return arguments.length?(s(t),l()):s()},i.center=function(t){return arguments.length?(o(t),l()):o()},i.clipExtent=function(t){return arguments.length?(null==t?u=e=n=r=null:(u=+t[0][0],e=+t[0][1],n=+t[1][0],r=+t[1][1]),l()):null==u?null:[[u,e],[n,r]]},l()}function pM(t){return l_((Wm+t)/2)}function gM(t,e){var n=e_(t),r=t===e?s_(t):o_(n/e_(e))/o_(pM(e)/pM(t)),i=n*a_(pM(t),r)/r;if(!r)return fM;function o(t,e){i>0?e<-Wm+qm&&(e=-Wm+qm):e>Wm-qm&&(e=Wm-qm);var n=i/a_(pM(e),r);return[n*s_(r*t),i-n*e_(r*t)]}return o.invert=function(t,e){var n=i-e,o=c_(r)*u_(t*t+n*n),a=t_(t,Km(n))*c_(n);return n*r<0&&(a-=Ym*c_(t)*c_(n)),[a/r,2*Qm(a_(i/o,1/r))-Wm]},o}function vM(){return tM(gM).scale(109.5).parallels([30,30])}function yM(t,e){return[t,e]}function mM(){return Kw(yM).scale(152.63)}function _M(t,e){var n=e_(t),r=t===e?s_(t):(n-e_(e))/(e-t),i=n/r+t;if(Km(r)<qm)return yM;function o(t,e){var n=i-e,o=r*t;return[n*s_(o),i-n*e_(o)]}return o.invert=function(t,e){var n=i-e,o=t_(t,Km(n))*c_(n);return n*r<0&&(o-=Ym*c_(t)*c_(n)),[o/r,i-c_(r)*u_(t*t+n*n)]},o}function bM(){return tM(_M).scale(131.154).center([0,13.9389])}uM.invert=aM((function(t){return t})),fM.invert=function(t,e){return[t,2*Qm(r_(e))-Wm]},yM.invert=yM;var xM=1.340264,wM=-.081106,MM=893e-6,EM=.003796,SM=u_(3)/2;function AM(t,e){var n=h_(SM*s_(e)),r=n*n,i=r*r*r;return[t*e_(n)/(SM*(xM+3*wM*r+i*(7*MM+9*EM*r))),n*(xM+wM*r+i*(MM+EM*r))]}function TM(){return Kw(AM).scale(177.158)}function kM(t,e){var n=e_(e),r=e_(t)*n;return[n*s_(t)/r,s_(e)/r]}function OM(){return Kw(kM).scale(144.049).clipAngle(60)}function CM(){var t,e,n,r,i,o,a,s=1,c=0,u=0,l=1,f=1,h=0,d=null,p=1,g=1,v=zw({point:function(t,e){var n=_([t,e]);this.stream.point(n[0],n[1])}}),y=Ix;function m(){return p=s*l,g=s*f,o=a=null,_}function _(n){var r=n[0]*p,i=n[1]*g;if(h){var o=i*t-r*e;r=r*t+i*e,i=o}return[r+c,i+u]}return _.invert=function(n){var r=n[0]-c,i=n[1]-u;if(h){var o=i*t+r*e;r=r*t-i*e,i=o}return[r/p,i/g]},_.stream=function(t){return o&&a===t?o:o=v(y(a=t))},_.postclip=function(t){return arguments.length?(y=t,d=n=r=i=null,m()):y},_.clipExtent=function(t){return arguments.length?(y=null==t?(d=n=r=i=null,Ix):dx(d=+t[0][0],n=+t[0][1],r=+t[1][0],i=+t[1][1]),m()):null==d?null:[[d,n],[r,i]]},_.scale=function(t){return arguments.length?(s=+t,m()):s},_.translate=function(t){return arguments.length?(c=+t[0],u=+t[1],m()):[c,u]},_.angle=function(n){return arguments.length?(e=s_(h=n%360*Jm),t=e_(h),m()):h*Xm},_.reflectX=function(t){return arguments.length?(l=t?-1:1,m()):l<0},_.reflectY=function(t){return arguments.length?(f=t?-1:1,m()):f<0},_.fitExtent=function(t,e){return qw(_,t,e)},_.fitSize=function(t,e){return Hw(_,t,e)},_.fitWidth=function(t,e){return Yw(_,t,e)},_.fitHeight=function(t,e){return Ww(_,t,e)},_}function NM(t,e){var n=e*e,r=n*n;return[t*(.8707-.131979*n+r*(r*(.003971*n-.001529*r)-.013791)),e*(1.007226+n*(.015085+r*(.028874*n-.044475-.005916*r)))]}function PM(){return Kw(NM).scale(175.295)}function RM(t,e){return[e_(e)*s_(t),s_(e)]}function jM(){return Kw(RM).scale(249.5).clipAngle(90.000001)}function DM(t,e){var n=e_(e),r=1+e_(t)*n;return[n*s_(t)/r,s_(e)/r]}function FM(){return Kw(DM).scale(250).clipAngle(142)}function IM(t,e){return[o_(l_((Wm+e)/2)),-t]}function LM(){var t=dM(IM),e=t.center,n=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return arguments.length?n([t[0],t[1],t.length>2?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90]).scale(159.155)}function $M(t,e){return t.parent===e.parent?1:2}function UM(t,e){return t+e.x}function zM(t,e){return Math.max(t,e.y)}function BM(){var t=$M,e=1,n=1,r=!1;function i(i){var o,a=0;i.eachAfter((function(e){var n=e.children;n?(e.x=function(t){return t.reduce(UM,0)/t.length}(n),e.y=function(t){return 1+t.reduce(zM,0)}(n)):(e.x=o?a+=t(e,o):0,e.y=0,o=e)}));var s=function(t){for(var e;e=t.children;)t=e[0];return t}(i),c=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(i),u=s.x-t(s,c)/2,l=c.x+t(c,s)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*e,t.y=(i.y-t.y)*n}:function(t){t.x=(t.x-u)/(l-u)*e,t.y=(1-(i.y?t.y/i.y:1))*n})}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i}function VM(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}function qM(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=YM)):void 0===e&&(e=HM);for(var n,r,i,o,a,s=new GM(t),c=[s];n=c.pop();)if((i=e(n.data))&&(a=(i=Array.from(i)).length))for(n.children=i,o=a-1;o>=0;--o)c.push(r=i[o]=new GM(i[o])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(ZM)}function HM(t){return t.children}function YM(t){return Array.isArray(t)?t[1]:null}function WM(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function ZM(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function GM(t){this.data=t,this.depth=this.height=0,this.parent=null}function XM(t){return null==t?null:JM(t)}function JM(t){if("function"!=typeof t)throw new Error;return t}function KM(){return 0}function QM(t){return function(){return t}}AM.invert=function(t,e){for(var n,r=e,i=r*r,o=i*i*i,a=0;a<12&&(o=(i=(r-=n=(r*(xM+wM*i+o*(MM+EM*i))-e)/(xM+3*wM*i+o*(7*MM+9*EM*i)))*r)*i*i,!(Km(n)<Hm));++a);return[SM*t*(xM+3*wM*i+o*(7*MM+9*EM*i))/e_(r),h_(s_(r)/SM)]},kM.invert=aM(Qm),NM.invert=function(t,e){var n,r=e,i=25;do{var o=r*r,a=o*o;r-=n=(r*(1.007226+o*(.015085+a*(.028874*o-.044475-.005916*a)))-e)/(1.007226+o*(.045255+a*(.259866*o-.311325-.005916*11*a)))}while(Km(n)>qm&&--i>0);return[t/(.8707+(o=r*r)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),r]},RM.invert=aM(h_),DM.invert=aM((function(t){return 2*Qm(t)})),IM.invert=function(t,e){return[-e,2*Qm(r_(t))-Wm]},GM.prototype=qM.prototype={constructor:GM,count:function(){return this.eachAfter(VM)},each:function(t,e){let n=-1;for(const r of this)t.call(e,r,++n,this);return this},eachAfter:function(t,e){for(var n,r,i,o=this,a=[o],s=[],c=-1;o=a.pop();)if(s.push(o),n=o.children)for(r=0,i=n.length;r<i;++r)a.push(n[r]);for(;o=s.pop();)t.call(e,o,++c,this);return this},eachBefore:function(t,e){for(var n,r,i=this,o=[i],a=-1;i=o.pop();)if(t.call(e,i,++a,this),n=i.children)for(r=n.length-1;r>=0;--r)o.push(n[r]);return this},find:function(t,e){let n=-1;for(const r of this)if(t.call(e,r,++n,this))return r},sum:function(t){return this.eachAfter((function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n}))},sort:function(t){return this.eachBefore((function(e){e.children&&e.children.sort(t)}))},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)e=e.parent,r.push(e);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore((function(e){e.children||t.push(e)})),t},links:function(){var t=this,e=[];return t.each((function(n){n!==t&&e.push({source:n.parent,target:n})})),e},copy:function(){return qM(this).eachBefore(WM)},[Symbol.iterator]:function*(){var t,e,n,r,i=this,o=[i];do{for(t=o.reverse(),o=[];i=t.pop();)if(yield i,e=i.children)for(n=0,r=e.length;n<r;++n)o.push(e[n])}while(o.length)}};const tE=4294967296;function eE(){let t=1;return()=>(t=(1664525*t+1013904223)%tE)/tE}function nE(t){return rE(t,eE())}function rE(t,e){for(var n,r,i=0,o=(t=function(t,e){let n,r,i=t.length;for(;i;)r=e()*i--|0,n=t[i],t[i]=t[r],t[r]=n;return t}(Array.from(t),e)).length,a=[];i<o;)n=t[i],r&&aE(r,n)?++i:(r=cE(a=iE(a,n)),i=0);return r}function iE(t,e){var n,r;if(sE(e,t))return[e];for(n=0;n<t.length;++n)if(oE(e,t[n])&&sE(uE(t[n],e),t))return[t[n],e];for(n=0;n<t.length-1;++n)for(r=n+1;r<t.length;++r)if(oE(uE(t[n],t[r]),e)&&oE(uE(t[n],e),t[r])&&oE(uE(t[r],e),t[n])&&sE(lE(t[n],t[r],e),t))return[t[n],t[r],e];throw new Error}function oE(t,e){var n=t.r-e.r,r=e.x-t.x,i=e.y-t.y;return n<0||n*n<r*r+i*i}function aE(t,e){var n=t.r-e.r+1e-9*Math.max(t.r,e.r,1),r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function sE(t,e){for(var n=0;n<e.length;++n)if(!aE(t,e[n]))return!1;return!0}function cE(t){switch(t.length){case 1:return{x:(e=t[0]).x,y:e.y,r:e.r};case 2:return uE(t[0],t[1]);case 3:return lE(t[0],t[1],t[2])}var e}function uE(t,e){var n=t.x,r=t.y,i=t.r,o=e.x,a=e.y,s=e.r,c=o-n,u=a-r,l=s-i,f=Math.sqrt(c*c+u*u);return{x:(n+o+c/f*l)/2,y:(r+a+u/f*l)/2,r:(f+i+s)/2}}function lE(t,e,n){var r=t.x,i=t.y,o=t.r,a=e.x,s=e.y,c=e.r,u=n.x,l=n.y,f=n.r,h=r-a,d=r-u,p=i-s,g=i-l,v=c-o,y=f-o,m=r*r+i*i-o*o,_=m-a*a-s*s+c*c,b=m-u*u-l*l+f*f,x=d*p-h*g,w=(p*b-g*_)/(2*x)-r,M=(g*v-p*y)/x,E=(d*_-h*b)/(2*x)-i,S=(h*y-d*v)/x,A=M*M+S*S-1,T=2*(o+w*M+E*S),k=w*w+E*E-o*o,O=-(Math.abs(A)>1e-6?(T+Math.sqrt(T*T-4*A*k))/(2*A):k/T);return{x:r+w+M*O,y:i+E+S*O,r:O}}function fE(t,e,n){var r,i,o,a,s=t.x-e.x,c=t.y-e.y,u=s*s+c*c;u?(i=e.r+n.r,i*=i,a=t.r+n.r,i>(a*=a)?(r=(u+a-i)/(2*u),o=Math.sqrt(Math.max(0,a/u-r*r)),n.x=t.x-r*s-o*c,n.y=t.y-r*c+o*s):(r=(u+i-a)/(2*u),o=Math.sqrt(Math.max(0,i/u-r*r)),n.x=e.x+r*s-o*c,n.y=e.y+r*c+o*s)):(n.x=e.x+n.r,n.y=e.y)}function hE(t,e){var n=t.r+e.r-1e-6,r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function dE(t){var e=t._,n=t.next._,r=e.r+n.r,i=(e.x*n.r+n.x*e.r)/r,o=(e.y*n.r+n.y*e.r)/r;return i*i+o*o}function pE(t){this._=t,this.next=null,this.previous=null}function gE(t,e){if(!(a=(n=t,t="object"==typeof n&&"length"in n?n:Array.from(n)).length))return 0;var n,r,i,o,a,s,c,u,l,f,h,d;if((r=t[0]).x=0,r.y=0,!(a>1))return r.r;if(i=t[1],r.x=-i.r,i.x=r.r,i.y=0,!(a>2))return r.r+i.r;fE(i,r,o=t[2]),r=new pE(r),i=new pE(i),o=new pE(o),r.next=o.previous=i,i.next=r.previous=o,o.next=i.previous=r;t:for(u=3;u<a;++u){fE(r._,i._,o=t[u]),o=new pE(o),l=i.next,f=r.previous,h=i._.r,d=r._.r;do{if(h<=d){if(hE(l._,o._)){i=l,r.next=i,i.previous=r,--u;continue t}h+=l._.r,l=l.next}else{if(hE(f._,o._)){(r=f).next=i,i.previous=r,--u;continue t}d+=f._.r,f=f.previous}}while(l!==f.next);for(o.previous=r,o.next=i,r.next=i.previous=i=o,s=dE(r);(o=o.next)!==i;)(c=dE(o))<s&&(r=o,s=c);i=r.next}for(r=[i._],o=i;(o=o.next)!==i;)r.push(o._);for(o=rE(r,e),u=0;u<a;++u)(r=t[u]).x-=o.x,r.y-=o.y;return o.r}function vE(t){return gE(t,eE()),t}function yE(t){return Math.sqrt(t.value)}function mE(){var t=null,e=1,n=1,r=KM;function i(i){const o=eE();return i.x=e/2,i.y=n/2,t?i.eachBefore(_E(t)).eachAfter(bE(r,.5,o)).eachBefore(xE(1)):i.eachBefore(_E(yE)).eachAfter(bE(KM,1,o)).eachAfter(bE(r,i.r/Math.min(e,n),o)).eachBefore(xE(Math.min(e,n)/(2*i.r))),i}return i.radius=function(e){return arguments.length?(t=XM(e),i):t},i.size=function(t){return arguments.length?(e=+t[0],n=+t[1],i):[e,n]},i.padding=function(t){return arguments.length?(r="function"==typeof t?t:QM(+t),i):r},i}function _E(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function bE(t,e,n){return function(r){if(i=r.children){var i,o,a,s=i.length,c=t(r)*e||0;if(c)for(o=0;o<s;++o)i[o].r+=c;if(a=gE(i,n),c)for(o=0;o<s;++o)i[o].r-=c;r.r=a+c}}}function xE(t){return function(e){var n=e.parent;e.r*=t,n&&(e.x=n.x+t*e.x,e.y=n.y+t*e.y)}}function wE(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function ME(t,e,n,r,i){for(var o,a=t.children,s=-1,c=a.length,u=t.value&&(r-e)/t.value;++s<c;)(o=a[s]).y0=n,o.y1=i,o.x0=e,o.x1=e+=o.value*u}function EE(){var t=1,e=1,n=0,r=!1;function i(i){var o=i.height+1;return i.x0=i.y0=n,i.x1=t,i.y1=e/o,i.eachBefore(function(t,e){return function(r){r.children&&ME(r,r.x0,t*(r.depth+1)/e,r.x1,t*(r.depth+2)/e);var i=r.x0,o=r.y0,a=r.x1-n,s=r.y1-n;a<i&&(i=a=(i+a)/2),s<o&&(o=s=(o+s)/2),r.x0=i,r.y0=o,r.x1=a,r.y1=s}}(e,o)),r&&i.eachBefore(wE),i}return i.round=function(t){return arguments.length?(r=!!t,i):r},i.size=function(n){return arguments.length?(t=+n[0],e=+n[1],i):[t,e]},i.padding=function(t){return arguments.length?(n=+t,i):n},i}var SE={depth:-1},AE={},TE={};function kE(t){return t.id}function OE(t){return t.parentId}function CE(){var t,e=kE,n=OE;function r(r){var i,o,a,s,c,u,l,f,h=Array.from(r),d=e,p=n,g=new Map;if(null!=t){const e=h.map(((e,n)=>function(t){let e=(t=`${t}`).length;return PE(t,e-1)&&!PE(t,e-2)&&(t=t.slice(0,-1)),"/"===t[0]?t:`/${t}`}(t(e,n,r)))),n=e.map(NE),i=new Set(e).add("");for(const t of n)i.has(t)||(i.add(t),e.push(t),n.push(NE(t)),h.push(TE));d=(t,n)=>e[n],p=(t,e)=>n[e]}for(a=0,i=h.length;a<i;++a)o=h[a],u=h[a]=new GM(o),null!=(l=d(o,a,r))&&(l+="")&&(f=u.id=l,g.set(f,g.has(f)?AE:u)),null!=(l=p(o,a,r))&&(l+="")&&(u.parent=l);for(a=0;a<i;++a)if(l=(u=h[a]).parent){if(!(c=g.get(l)))throw new Error("missing: "+l);if(c===AE)throw new Error("ambiguous: "+l);c.children?c.children.push(u):c.children=[u],u.parent=c}else{if(s)throw new Error("multiple roots");s=u}if(!s)throw new Error("no root");if(null!=t){for(;s.data===TE&&1===s.children.length;)s=s.children[0],--i;for(let t=h.length-1;t>=0&&(u=h[t],u.data===TE);--t)u.data=null}if(s.parent=SE,s.eachBefore((function(t){t.depth=t.parent.depth+1,--i})).eachBefore(ZM),s.parent=null,i>0)throw new Error("cycle");return s}return r.id=function(t){return arguments.length?(e=XM(t),r):e},r.parentId=function(t){return arguments.length?(n=XM(t),r):n},r.path=function(e){return arguments.length?(t=XM(e),r):t},r}function NE(t){let e=t.length;if(e<2)return"";for(;--e>1&&!PE(t,e););return t.slice(0,e)}function PE(t,e){if("/"===t[e]){let n=0;for(;e>0&&"\\"===t[--e];)++n;if(0==(1&n))return!0}return!1}function RE(t,e){return t.parent===e.parent?1:2}function jE(t){var e=t.children;return e?e[0]:t.t}function DE(t){var e=t.children;return e?e[e.length-1]:t.t}function FE(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}function IE(t,e,n){return t.a.parent===e.parent?t.a:n}function LE(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}function $E(){var t=RE,e=1,n=1,r=null;function i(i){var c=function(t){for(var e,n,r,i,o,a=new LE(t,0),s=[a];e=s.pop();)if(r=e._.children)for(e.children=new Array(o=r.length),i=o-1;i>=0;--i)s.push(n=e.children[i]=new LE(r[i],i)),n.parent=e;return(a.parent=new LE(null,0)).children=[a],a}(i);if(c.eachAfter(o),c.parent.m=-c.z,c.eachBefore(a),r)i.eachBefore(s);else{var u=i,l=i,f=i;i.eachBefore((function(t){t.x<u.x&&(u=t),t.x>l.x&&(l=t),t.depth>f.depth&&(f=t)}));var h=u===l?1:t(u,l)/2,d=h-u.x,p=e/(l.x+h+d),g=n/(f.depth||1);i.eachBefore((function(t){t.x=(t.x+d)*p,t.y=t.depth*g}))}return i}function o(e){var n=e.children,r=e.parent.children,i=e.i?r[e.i-1]:null;if(n){!function(t){for(var e,n=0,r=0,i=t.children,o=i.length;--o>=0;)(e=i[o]).z+=n,e.m+=n,n+=e.s+(r+=e.c)}(e);var o=(n[0].z+n[n.length-1].z)/2;i?(e.z=i.z+t(e._,i._),e.m=e.z-o):e.z=o}else i&&(e.z=i.z+t(e._,i._));e.parent.A=function(e,n,r){if(n){for(var i,o=e,a=e,s=n,c=o.parent.children[0],u=o.m,l=a.m,f=s.m,h=c.m;s=DE(s),o=jE(o),s&&o;)c=jE(c),(a=DE(a)).a=e,(i=s.z+f-o.z-u+t(s._,o._))>0&&(FE(IE(s,e,r),e,i),u+=i,l+=i),f+=s.m,u+=o.m,h+=c.m,l+=a.m;s&&!DE(a)&&(a.t=s,a.m+=f-l),o&&!jE(c)&&(c.t=o,c.m+=u-h,r=e)}return r}(e,i,e.parent.A||r[0])}function a(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function s(t){t.x*=e,t.y=t.depth*n}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i}function UE(t,e,n,r,i){for(var o,a=t.children,s=-1,c=a.length,u=t.value&&(i-n)/t.value;++s<c;)(o=a[s]).x0=e,o.x1=r,o.y0=n,o.y1=n+=o.value*u}LE.prototype=Object.create(GM.prototype);var zE=(1+Math.sqrt(5))/2;function BE(t,e,n,r,i,o){for(var a,s,c,u,l,f,h,d,p,g,v,y=[],m=e.children,_=0,b=0,x=m.length,w=e.value;_<x;){c=i-n,u=o-r;do{l=m[b++].value}while(!l&&b<x);for(f=h=l,v=l*l*(g=Math.max(u/c,c/u)/(w*t)),p=Math.max(h/v,v/f);b<x;++b){if(l+=s=m[b].value,s<f&&(f=s),s>h&&(h=s),v=l*l*g,(d=Math.max(h/v,v/f))>p){l-=s;break}p=d}y.push(a={value:l,dice:c<u,children:m.slice(_,b)}),a.dice?ME(a,n,r,i,w?r+=u*l/w:o):UE(a,n,r,w?n+=c*l/w:i,o),w-=l,_=b}return y}const VE=function t(e){function n(t,n,r,i,o){BE(e,t,n,r,i,o)}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}(zE);function qE(){var t=VE,e=!1,n=1,r=1,i=[0],o=KM,a=KM,s=KM,c=KM,u=KM;function l(t){return t.x0=t.y0=0,t.x1=n,t.y1=r,t.eachBefore(f),i=[0],e&&t.eachBefore(wE),t}function f(e){var n=i[e.depth],r=e.x0+n,l=e.y0+n,f=e.x1-n,h=e.y1-n;f<r&&(r=f=(r+f)/2),h<l&&(l=h=(l+h)/2),e.x0=r,e.y0=l,e.x1=f,e.y1=h,e.children&&(n=i[e.depth+1]=o(e)/2,r+=u(e)-n,l+=a(e)-n,(f-=s(e)-n)<r&&(r=f=(r+f)/2),(h-=c(e)-n)<l&&(l=h=(l+h)/2),t(e,r,l,f,h))}return l.round=function(t){return arguments.length?(e=!!t,l):e},l.size=function(t){return arguments.length?(n=+t[0],r=+t[1],l):[n,r]},l.tile=function(e){return arguments.length?(t=JM(e),l):t},l.padding=function(t){return arguments.length?l.paddingInner(t).paddingOuter(t):l.paddingInner()},l.paddingInner=function(t){return arguments.length?(o="function"==typeof t?t:QM(+t),l):o},l.paddingOuter=function(t){return arguments.length?l.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):l.paddingTop()},l.paddingTop=function(t){return arguments.length?(a="function"==typeof t?t:QM(+t),l):a},l.paddingRight=function(t){return arguments.length?(s="function"==typeof t?t:QM(+t),l):s},l.paddingBottom=function(t){return arguments.length?(c="function"==typeof t?t:QM(+t),l):c},l.paddingLeft=function(t){return arguments.length?(u="function"==typeof t?t:QM(+t),l):u},l}function HE(t,e,n,r,i){var o,a,s=t.children,c=s.length,u=new Array(c+1);for(u[0]=a=o=0;o<c;++o)u[o+1]=a+=s[o].value;!function t(e,n,r,i,o,a,c){if(e>=n-1){var l=s[e];return l.x0=i,l.y0=o,l.x1=a,void(l.y1=c)}for(var f=u[e],h=r/2+f,d=e+1,p=n-1;d<p;){var g=d+p>>>1;u[g]<h?d=g+1:p=g}h-u[d-1]<u[d]-h&&e+1<d&&--d;var v=u[d]-f,y=r-v;if(a-i>c-o){var m=r?(i*y+a*v)/r:a;t(e,d,v,i,o,m,c),t(d,n,y,m,o,a,c)}else{var _=r?(o*y+c*v)/r:c;t(e,d,v,i,o,a,_),t(d,n,y,i,_,a,c)}}(0,c,t.value,e,n,r,i)}function YE(t,e,n,r,i){(1&t.depth?UE:ME)(t,e,n,r,i)}const WE=function t(e){function n(t,n,r,i,o){if((a=t._squarify)&&a.ratio===e)for(var a,s,c,u,l,f=-1,h=a.length,d=t.value;++f<h;){for(c=(s=a[f]).children,u=s.value=0,l=c.length;u<l;++u)s.value+=c[u].value;s.dice?ME(s,n,r,i,d?r+=(o-r)*s.value/d:o):UE(s,n,r,d?n+=(i-n)*s.value/d:i,o),d-=s.value}else t._squarify=a=BE(e,t,n,r,i,o),a.ratio=e}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}(zE);function ZE(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}function GE(t,e){var n=vh(+t,+e);return function(t){var e=n(t);return e-360*Math.floor(e/360)}}function XE(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}function JE(t){return((t=Math.exp(t))+1/t)/2}const KE=function t(e,n,r){function i(t,i){var o,a,s=t[0],c=t[1],u=t[2],l=i[0],f=i[1],h=i[2],d=l-s,p=f-c,g=d*d+p*p;if(g<1e-12)a=Math.log(h/u)/e,o=function(t){return[s+t*d,c+t*p,u*Math.exp(e*t*a)]};else{var v=Math.sqrt(g),y=(h*h-u*u+r*g)/(2*u*n*v),m=(h*h-u*u-r*g)/(2*h*n*v),_=Math.log(Math.sqrt(y*y+1)-y),b=Math.log(Math.sqrt(m*m+1)-m);a=(b-_)/e,o=function(t){var r,i=t*a,o=JE(_),l=u/(n*v)*(o*(r=e*i+_,((r=Math.exp(2*r))-1)/(r+1))-function(t){return((t=Math.exp(t))-1/t)/2}(_));return[s+l*d,c+l*p,u*o/JE(e*i+_)]}}return o.duration=1e3*a*e/Math.SQRT2,o}return i.rho=function(e){var n=Math.max(.001,+e),r=n*n;return t(n,r,r*r)},i}(Math.SQRT2,2,4);function QE(t){return function(e,n){var r=t((e=ah(e)).h,(n=ah(n)).h),i=yh(e.s,n.s),o=yh(e.l,n.l),a=yh(e.opacity,n.opacity);return function(t){return e.h=r(t),e.s=i(t),e.l=o(t),e.opacity=a(t),e+""}}}const tS=QE(vh);var eS=QE(yh);function nS(t,e){var n=yh((t=mg(t)).l,(e=mg(e)).l),r=yh(t.a,e.a),i=yh(t.b,e.b),o=yh(t.opacity,e.opacity);return function(e){return t.l=n(e),t.a=r(e),t.b=i(e),t.opacity=o(e),t+""}}function rS(t){return function(e,n){var r=t((e=Ag(e)).h,(n=Ag(n)).h),i=yh(e.c,n.c),o=yh(e.l,n.l),a=yh(e.opacity,n.opacity);return function(t){return e.h=r(t),e.c=i(t),e.l=o(t),e.opacity=a(t),e+""}}}const iS=rS(vh);var oS=rS(yh);function aS(t){return function e(n){function r(e,r){var i=t((e=Lg(e)).h,(r=Lg(r)).h),o=yh(e.s,r.s),a=yh(e.l,r.l),s=yh(e.opacity,r.opacity);return function(t){return e.h=i(t),e.s=o(t),e.l=a(Math.pow(t,n)),e.opacity=s(t),e+""}}return n=+n,r.gamma=e,r}(1)}const sS=aS(vh);var cS=aS(yh);function uS(t,e){void 0===e&&(e=t,t=Ph);for(var n=0,r=e.length-1,i=e[0],o=new Array(r<0?0:r);n<r;)o[n]=t(i,i=e[++n]);return function(t){var e=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return o[e](t-e)}}function lS(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t(r/(e-1));return n}function fS(t){for(var e,n=-1,r=t.length,i=t[r-1],o=0;++n<r;)e=i,i=t[n],o+=e[1]*i[0]-e[0]*i[1];return o/2}function hS(t){for(var e,n,r=-1,i=t.length,o=0,a=0,s=t[i-1],c=0;++r<i;)e=s,s=t[r],c+=n=e[0]*s[1]-s[0]*e[1],o+=(e[0]+s[0])*n,a+=(e[1]+s[1])*n;return[o/(c*=3),a/c]}function dS(t,e){return t[0]-e[0]||t[1]-e[1]}function pS(t){const e=t.length,n=[0,1];let r,i=2;for(r=2;r<e;++r){for(;i>1&&(o=t[n[i-2]],a=t[n[i-1]],s=t[r],(a[0]-o[0])*(s[1]-o[1])-(a[1]-o[1])*(s[0]-o[0])<=0);)--i;n[i++]=r}var o,a,s;return n.slice(0,i)}function gS(t){if((n=t.length)<3)return null;var e,n,r=new Array(n),i=new Array(n);for(e=0;e<n;++e)r[e]=[+t[e][0],+t[e][1],e];for(r.sort(dS),e=0;e<n;++e)i[e]=[r[e][0],-r[e][1]];var o=pS(r),a=pS(i),s=a[0]===o[0],c=a[a.length-1]===o[o.length-1],u=[];for(e=o.length-1;e>=0;--e)u.push(t[r[o[e]][2]]);for(e=+s;e<a.length-c;++e)u.push(t[r[a[e]][2]]);return u}function vS(t,e){for(var n,r,i=t.length,o=t[i-1],a=e[0],s=e[1],c=o[0],u=o[1],l=!1,f=0;f<i;++f)n=(o=t[f])[0],(r=o[1])>s!=u>s&&a<(c-n)*(s-r)/(u-r)+n&&(l=!l),c=n,u=r;return l}function yS(t){for(var e,n,r=-1,i=t.length,o=t[i-1],a=o[0],s=o[1],c=0;++r<i;)e=a,n=s,e-=a=(o=t[r])[0],n-=s=o[1],c+=Math.hypot(e,n);return c}const mS=Math.random,_S=function t(e){function n(t,n){return t=null==t?0:+t,n=null==n?1:+n,1===arguments.length?(n=t,t=0):n-=t,function(){return e()*n+t}}return n.source=t,n}(mS),bS=function t(e){function n(t,n){return arguments.length<2&&(n=t,t=0),t=Math.floor(t),n=Math.floor(n)-t,function(){return Math.floor(e()*n+t)}}return n.source=t,n}(mS),xS=function t(e){function n(t,n){var r,i;return t=null==t?0:+t,n=null==n?1:+n,function(){var o;if(null!=r)o=r,r=null;else do{r=2*e()-1,o=2*e()-1,i=r*r+o*o}while(!i||i>1);return t+n*o*Math.sqrt(-2*Math.log(i)/i)}}return n.source=t,n}(mS),wS=function t(e){var n=xS.source(e);function r(){var t=n.apply(this,arguments);return function(){return Math.exp(t())}}return r.source=t,r}(mS),MS=function t(e){function n(t){return(t=+t)<=0?()=>0:function(){for(var n=0,r=t;r>1;--r)n+=e();return n+r*e()}}return n.source=t,n}(mS),ES=function t(e){var n=MS.source(e);function r(t){if(0==(t=+t))return e;var r=n(t);return function(){return r()/t}}return r.source=t,r}(mS),SS=function t(e){function n(t){return function(){return-Math.log1p(-e())/t}}return n.source=t,n}(mS),AS=function t(e){function n(t){if((t=+t)<0)throw new RangeError("invalid alpha");return t=1/-t,function(){return Math.pow(1-e(),t)}}return n.source=t,n}(mS),TS=function t(e){function n(t){if((t=+t)<0||t>1)throw new RangeError("invalid p");return function(){return Math.floor(e()+t)}}return n.source=t,n}(mS),kS=function t(e){function n(t){if((t=+t)<0||t>1)throw new RangeError("invalid p");return 0===t?()=>1/0:1===t?()=>1:(t=Math.log1p(-t),function(){return 1+Math.floor(Math.log1p(-e())/t)})}return n.source=t,n}(mS),OS=function t(e){var n=xS.source(e)();function r(t,r){if((t=+t)<0)throw new RangeError("invalid k");if(0===t)return()=>0;if(r=null==r?1:+r,1===t)return()=>-Math.log1p(-e())*r;var i=(t<1?t+1:t)-1/3,o=1/(3*Math.sqrt(i)),a=t<1?()=>Math.pow(e(),1/t):()=>1;return function(){do{do{var t=n(),s=1+o*t}while(s<=0);s*=s*s;var c=1-e()}while(c>=1-.0331*t*t*t*t&&Math.log(c)>=.5*t*t+i*(1-s+Math.log(s)));return i*s*a()*r}}return r.source=t,r}(mS),CS=function t(e){var n=OS.source(e);function r(t,e){var r=n(t),i=n(e);return function(){var t=r();return 0===t?0:t/(t+i())}}return r.source=t,r}(mS),NS=function t(e){var n=kS.source(e),r=CS.source(e);function i(t,e){return t=+t,(e=+e)>=1?()=>t:e<=0?()=>0:function(){for(var i=0,o=t,a=e;o*a>16&&o*(1-a)>16;){var s=Math.floor((o+1)*a),c=r(s,o-s+1)();c<=a?(i+=s,o-=s,a=(a-c)/(1-c)):(o=s-1,a/=c)}for(var u=a<.5,l=n(u?a:1-a),f=l(),h=0;f<=o;++h)f+=l();return i+(u?h:o-h)}}return i.source=t,i}(mS),PS=function t(e){function n(t,n,r){var i;return 0==(t=+t)?i=t=>-Math.log(t):(t=1/t,i=e=>Math.pow(e,t)),n=null==n?0:+n,r=null==r?1:+r,function(){return n+r*i(-Math.log1p(-e()))}}return n.source=t,n}(mS),RS=function t(e){function n(t,n){return t=null==t?0:+t,n=null==n?1:+n,function(){return t+n*Math.tan(Math.PI*e())}}return n.source=t,n}(mS),jS=function t(e){function n(t,n){return t=null==t?0:+t,n=null==n?1:+n,function(){var r=e();return t+n*Math.log(r/(1-r))}}return n.source=t,n}(mS),DS=function t(e){var n=OS.source(e),r=NS.source(e);function i(t){return function(){for(var i=0,o=t;o>16;){var a=Math.floor(.875*o),s=n(a)();if(s>o)return i+r(a-1,o/s)();i+=a,o-=s}for(var c=-Math.log1p(-e()),u=0;c<=o;++u)c-=Math.log1p(-e());return i+u}}return i.source=t,i}(mS),FS=1/4294967296;function IS(t=Math.random()){let e=0|(0<=t&&t<1?t/FS:Math.abs(t));return()=>(e=1664525*e+1013904223|0,FS*(e>>>0))}function LS(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function $S(t,e){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof e?this.interpolator(e):this.range(e)}return this}const US=Symbol("implicit");function zS(){var t=new gc,e=[],n=[],r=US;function i(i){let o=t.get(i);if(void 0===o){if(r!==US)return r;t.set(i,o=e.push(i)-1)}return n[o%n.length]}return i.domain=function(n){if(!arguments.length)return e.slice();e=[],t=new gc;for(const r of n)t.has(r)||t.set(r,e.push(r)-1);return i},i.range=function(t){return arguments.length?(n=Array.from(t),i):n.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return zS(e,n).unknown(r)},LS.apply(i,arguments),i}function BS(){var t,e,n=zS().unknown(void 0),r=n.domain,i=n.range,o=0,a=1,s=!1,c=0,u=0,l=.5;function f(){var n=r().length,f=a<o,h=f?a:o,d=f?o:a;t=(d-h)/Math.max(1,n-c+2*u),s&&(t=Math.floor(t)),h+=(d-h-t*(n-c))*l,e=t*(1-c),s&&(h=Math.round(h),e=Math.round(e));var p=gu(n).map((function(e){return h+t*e}));return i(f?p.reverse():p)}return delete n.unknown,n.domain=function(t){return arguments.length?(r(t),f()):r()},n.range=function(t){return arguments.length?([o,a]=t,o=+o,a=+a,f()):[o,a]},n.rangeRound=function(t){return[o,a]=t,o=+o,a=+a,s=!0,f()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(s=!!t,f()):s},n.padding=function(t){return arguments.length?(c=Math.min(1,u=+t),f()):c},n.paddingInner=function(t){return arguments.length?(c=Math.min(1,t),f()):c},n.paddingOuter=function(t){return arguments.length?(u=+t,f()):u},n.align=function(t){return arguments.length?(l=Math.max(0,Math.min(1,t)),f()):l},n.copy=function(){return BS(r(),[o,a]).round(s).paddingInner(c).paddingOuter(u).align(l)},LS.apply(f(),arguments)}function VS(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return VS(e())},t}function qS(){return VS(BS.apply(null,arguments).paddingInner(1))}function HS(t){return+t}var YS=[0,1];function WS(t){return t}function ZS(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n});var n}function GS(t,e,n){var r=t[0],i=t[1],o=e[0],a=e[1];return i<r?(r=ZS(i,r),o=n(a,o)):(r=ZS(r,i),o=n(o,a)),function(t){return o(r(t))}}function XS(t,e,n){var r=Math.min(t.length,e.length)-1,i=new Array(r),o=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<r;)i[a]=ZS(t[a],t[a+1]),o[a]=n(e[a],e[a+1]);return function(e){var n=Gs(t,e,1,r)-1;return o[n](i[n](e))}}function JS(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function KS(){var t,e,n,r,i,o,a=YS,s=YS,c=Ph,u=WS;function l(){var t,e,n,c=Math.min(a.length,s.length);return u!==WS&&(t=a[0],e=a[c-1],t>e&&(n=t,t=e,e=n),u=function(n){return Math.max(t,Math.min(e,n))}),r=c>2?XS:GS,i=o=null,f}function f(e){return null==e||isNaN(e=+e)?n:(i||(i=r(a.map(t),s,c)))(t(u(e)))}return f.invert=function(n){return u(e((o||(o=r(s,a.map(t),Th)))(n)))},f.domain=function(t){return arguments.length?(a=Array.from(t,HS),l()):a.slice()},f.range=function(t){return arguments.length?(s=Array.from(t),l()):s.slice()},f.rangeRound=function(t){return s=Array.from(t),c=XE,l()},f.clamp=function(t){return arguments.length?(u=!!t||WS,l()):u!==WS},f.interpolate=function(t){return arguments.length?(c=t,l()):c},f.unknown=function(t){return arguments.length?(n=t,f):n},function(n,r){return t=n,e=r,l()}}function QS(){return KS()(WS,WS)}function tA(t,e,n,r){var i,o=Yc(t,e,n);switch((r=Om(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(i=Bm(o,a))||(r.precision=i),Fm(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=Vm(o,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=zm(o))||(r.precision=i-2*("%"===r.type))}return Dm(r)}function eA(t){var e=t.domain;return t.ticks=function(t){var n=e();return qc(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return tA(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,i,o=e(),a=0,s=o.length-1,c=o[a],u=o[s],l=10;for(u<c&&(i=c,c=u,u=i,i=a,a=s,s=i);l-- >0;){if((i=Hc(c,u,n))===r)return o[a]=c,o[s]=u,e(o);if(i>0)c=Math.floor(c/i)*i,u=Math.ceil(u/i)*i;else{if(!(i<0))break;c=Math.ceil(c*i)/i,u=Math.floor(u*i)/i}r=i}return t},t}function nA(){var t=QS();return t.copy=function(){return JS(t,nA())},LS.apply(t,arguments),eA(t)}function rA(t){var e;function n(t){return null==t||isNaN(t=+t)?e:t}return n.invert=n,n.domain=n.range=function(e){return arguments.length?(t=Array.from(e,HS),n):t.slice()},n.unknown=function(t){return arguments.length?(e=t,n):e},n.copy=function(){return rA(t).unknown(e)},t=arguments.length?Array.from(t,HS):[0,1],eA(n)}function iA(t,e){var n,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),t[r]=e.floor(o),t[i]=e.ceil(a),t}function oA(t){return Math.log(t)}function aA(t){return Math.exp(t)}function sA(t){return-Math.log(-t)}function cA(t){return-Math.exp(-t)}function uA(t){return isFinite(t)?+("1e"+t):t<0?0:t}function lA(t){return(e,n)=>-t(-e,n)}function fA(t){const e=t(oA,aA),n=e.domain;let r,i,o=10;function a(){return r=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),e=>Math.log(e)/t)}(o),i=function(t){return 10===t?uA:t===Math.E?Math.exp:e=>Math.pow(t,e)}(o),n()[0]<0?(r=lA(r),i=lA(i),t(sA,cA)):t(oA,aA),e}return e.base=function(t){return arguments.length?(o=+t,a()):o},e.domain=function(t){return arguments.length?(n(t),a()):n()},e.ticks=t=>{const e=n();let a=e[0],s=e[e.length-1];const c=s<a;c&&([a,s]=[s,a]);let u,l,f=r(a),h=r(s);const d=null==t?10:+t;let p=[];if(!(o%1)&&h-f<d){if(f=Math.floor(f),h=Math.ceil(h),a>0){for(;f<=h;++f)for(u=1;u<o;++u)if(l=f<0?u/i(-f):u*i(f),!(l<a)){if(l>s)break;p.push(l)}}else for(;f<=h;++f)for(u=o-1;u>=1;--u)if(l=f>0?u/i(-f):u*i(f),!(l<a)){if(l>s)break;p.push(l)}2*p.length<d&&(p=qc(a,s,d))}else p=qc(f,h,Math.min(h-f,d)).map(i);return c?p.reverse():p},e.tickFormat=(t,n)=>{if(null==t&&(t=10),null==n&&(n=10===o?"s":","),"function"!=typeof n&&(o%1||null!=(n=Om(n)).precision||(n.trim=!0),n=Dm(n)),t===1/0)return n;const a=Math.max(1,o*t/e.ticks().length);return t=>{let e=t/i(Math.round(r(t)));return e*o<o-.5&&(e*=o),e<=a?n(t):""}},e.nice=()=>n(iA(n(),{floor:t=>i(Math.floor(r(t))),ceil:t=>i(Math.ceil(r(t)))})),e}function hA(){const t=fA(KS()).domain([1,10]);return t.copy=()=>JS(t,hA()).base(t.base()),LS.apply(t,arguments),t}function dA(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function pA(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function gA(t){var e=1,n=t(dA(e),pA(e));return n.constant=function(n){return arguments.length?t(dA(e=+n),pA(e)):e},eA(n)}function vA(){var t=gA(KS());return t.copy=function(){return JS(t,vA()).constant(t.constant())},LS.apply(t,arguments)}function yA(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function mA(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function _A(t){return t<0?-t*t:t*t}function bA(t){var e=t(WS,WS),n=1;function r(){return 1===n?t(WS,WS):.5===n?t(mA,_A):t(yA(n),yA(1/n))}return e.exponent=function(t){return arguments.length?(n=+t,r()):n},eA(e)}function xA(){var t=bA(KS());return t.copy=function(){return JS(t,xA()).exponent(t.exponent())},LS.apply(t,arguments),t}function wA(){return xA.apply(null,arguments).exponent(.5)}function MA(t){return Math.sign(t)*t*t}function EA(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function SA(){var t,e=QS(),n=[0,1],r=!1;function i(n){var i=EA(e(n));return isNaN(i)?t:r?Math.round(i):i}return i.invert=function(t){return e.invert(MA(t))},i.domain=function(t){return arguments.length?(e.domain(t),i):e.domain()},i.range=function(t){return arguments.length?(e.range((n=Array.from(t,HS)).map(MA)),i):n.slice()},i.rangeRound=function(t){return i.range(t).round(!0)},i.round=function(t){return arguments.length?(r=!!t,i):r},i.clamp=function(t){return arguments.length?(e.clamp(t),i):e.clamp()},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return SA(e.domain(),n).round(r).clamp(e.clamp()).unknown(t)},LS.apply(i,arguments),eA(i)}function AA(){var t,e=[],n=[],r=[];function i(){var t=0,i=Math.max(1,n.length);for(r=new Array(i-1);++t<i;)r[t-1]=iu(e,t/i);return o}function o(e){return null==e||isNaN(e=+e)?t:n[Gs(r,e)]}return o.invertExtent=function(t){var i=n.indexOf(t);return i<0?[NaN,NaN]:[i>0?r[i-1]:e[0],i<r.length?r[i]:e[e.length-1]]},o.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)null==n||isNaN(n=+n)||e.push(n);return e.sort($s),i()},o.range=function(t){return arguments.length?(n=Array.from(t),i()):n.slice()},o.unknown=function(e){return arguments.length?(t=e,o):t},o.quantiles=function(){return r.slice()},o.copy=function(){return AA().domain(e).range(n).unknown(t)},LS.apply(o,arguments)}function TA(){var t,e=0,n=1,r=1,i=[.5],o=[0,1];function a(e){return null!=e&&e<=e?o[Gs(i,e,0,r)]:t}function s(){var t=-1;for(i=new Array(r);++t<r;)i[t]=((t+1)*n-(t-r)*e)/(r+1);return a}return a.domain=function(t){return arguments.length?([e,n]=t,e=+e,n=+n,s()):[e,n]},a.range=function(t){return arguments.length?(r=(o=Array.from(t)).length-1,s()):o.slice()},a.invertExtent=function(t){var a=o.indexOf(t);return a<0?[NaN,NaN]:a<1?[e,i[0]]:a>=r?[i[r-1],n]:[i[a-1],i[a]]},a.unknown=function(e){return arguments.length?(t=e,a):a},a.thresholds=function(){return i.slice()},a.copy=function(){return TA().domain([e,n]).range(o).unknown(t)},LS.apply(eA(a),arguments)}function kA(){var t,e=[.5],n=[0,1],r=1;function i(i){return null!=i&&i<=i?n[Gs(e,i,0,r)]:t}return i.domain=function(t){return arguments.length?(e=Array.from(t),r=Math.min(e.length,n.length-1),i):e.slice()},i.range=function(t){return arguments.length?(n=Array.from(t),r=Math.min(e.length,n.length-1),i):n.slice()},i.invertExtent=function(t){var r=n.indexOf(t);return[e[r-1],e[r]]},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return kA().domain(e).range(n).unknown(t)},LS.apply(i,arguments)}const OA=1e3,CA=6e4,NA=36e5,PA=864e5,RA=6048e5,jA=31536e6;var DA=new Date,FA=new Date;function IA(t,e,n,r){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},i.range=function(n,r,o){var a,s=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return s;do{s.push(a=new Date(+n)),e(n,o),t(n)}while(a<n&&n<r);return s},i.filter=function(n){return IA((function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}))},n&&(i.count=function(e,r){return DA.setTime(+e),FA.setTime(+r),t(DA),t(FA),Math.floor(n(DA,FA))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var LA=IA((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));LA.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?IA((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):LA:null};const $A=LA;var UA=LA.range,zA=IA((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+e*OA)}),(function(t,e){return(e-t)/OA}),(function(t){return t.getUTCSeconds()}));const BA=zA;var VA=zA.range,qA=IA((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*OA)}),(function(t,e){t.setTime(+t+e*CA)}),(function(t,e){return(e-t)/CA}),(function(t){return t.getMinutes()}));const HA=qA;var YA=qA.range,WA=IA((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*OA-t.getMinutes()*CA)}),(function(t,e){t.setTime(+t+e*NA)}),(function(t,e){return(e-t)/NA}),(function(t){return t.getHours()}));const ZA=WA;var GA=WA.range,XA=IA((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*CA)/PA),(t=>t.getDate()-1));const JA=XA;var KA=XA.range;function QA(t){return IA((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*CA)/RA}))}var tT=QA(0),eT=QA(1),nT=QA(2),rT=QA(3),iT=QA(4),oT=QA(5),aT=QA(6),sT=tT.range,cT=eT.range,uT=nT.range,lT=rT.range,fT=iT.range,hT=oT.range,dT=aT.range,pT=IA((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,e){t.setMonth(t.getMonth()+e)}),(function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}));const gT=pT;var vT=pT.range,yT=IA((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));yT.every=function(t){return isFinite(t=Math.floor(t))&&t>0?IA((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n*t)})):null};const mT=yT;var _T=yT.range,bT=IA((function(t){t.setUTCSeconds(0,0)}),(function(t,e){t.setTime(+t+e*CA)}),(function(t,e){return(e-t)/CA}),(function(t){return t.getUTCMinutes()}));const xT=bT;var wT=bT.range,MT=IA((function(t){t.setUTCMinutes(0,0,0)}),(function(t,e){t.setTime(+t+e*NA)}),(function(t,e){return(e-t)/NA}),(function(t){return t.getUTCHours()}));const ET=MT;var ST=MT.range,AT=IA((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/PA}),(function(t){return t.getUTCDate()-1}));const TT=AT;var kT=AT.range;function OT(t){return IA((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/RA}))}var CT=OT(0),NT=OT(1),PT=OT(2),RT=OT(3),jT=OT(4),DT=OT(5),FT=OT(6),IT=CT.range,LT=NT.range,$T=PT.range,UT=RT.range,zT=jT.range,BT=DT.range,VT=FT.range,qT=IA((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCMonth(t.getUTCMonth()+e)}),(function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()}));const HT=qT;var YT=qT.range,WT=IA((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));WT.every=function(t){return isFinite(t=Math.floor(t))&&t>0?IA((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null};const ZT=WT;var GT=WT.range;function XT(t,e,n,r,i,o){const a=[[BA,1,OA],[BA,5,5e3],[BA,15,15e3],[BA,30,3e4],[o,1,CA],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,NA],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,PA],[r,2,1728e5],[n,1,RA],[e,1,2592e6],[e,3,7776e6],[t,1,jA]];function s(e,n,r){const i=Math.abs(n-e)/r,o=zs((([,,t])=>t)).right(a,i);if(o===a.length)return t.every(Yc(e/jA,n/jA,r));if(0===o)return $A.every(Math.max(Yc(e,n,r),1));const[s,c]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return s.every(c)}return[function(t,e,n){const r=e<t;r&&([t,e]=[e,t]);const i=n&&"function"==typeof n.range?n:s(t,e,n),o=i?i.range(t,+e+1):[];return r?o.reverse():o},s]}const[JT,KT]=XT(ZT,HT,CT,TT,ET,xT),[QT,tk]=XT(mT,gT,tT,JA,ZA,HA);function ek(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function nk(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function rk(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function ik(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,s=t.months,c=t.shortMonths,u=vk(i),l=yk(i),f=vk(o),h=yk(o),d=vk(a),p=yk(a),g=vk(s),v=yk(s),y=vk(c),m=yk(c),_={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:Lk,e:Lk,f:Vk,g:tO,G:nO,H:$k,I:Uk,j:zk,L:Bk,m:qk,M:Hk,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:SO,s:AO,S:Yk,u:Wk,U:Zk,V:Xk,w:Jk,W:Kk,x:null,X:null,y:Qk,Y:eO,Z:rO,"%":EO},b={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:iO,e:iO,f:uO,g:bO,G:wO,H:oO,I:aO,j:sO,L:cO,m:lO,M:fO,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:SO,s:AO,S:hO,u:dO,U:pO,V:vO,w:yO,W:mO,x:null,X:null,y:_O,Y:xO,Z:MO,"%":EO},x={a:function(t,e,n){var r=d.exec(e.slice(n));return r?(t.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=f.exec(e.slice(n));return r?(t.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=y.exec(e.slice(n));return r?(t.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){var r=g.exec(e.slice(n));return r?(t.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return E(t,e,n,r)},d:kk,e:kk,f:jk,g:Ek,G:Mk,H:Ck,I:Ck,j:Ok,L:Rk,m:Tk,M:Nk,p:function(t,e,n){var r=u.exec(e.slice(n));return r?(t.p=l.get(r[0].toLowerCase()),n+r[0].length):-1},q:Ak,Q:Fk,s:Ik,S:Pk,u:_k,U:bk,V:xk,w:mk,W:wk,x:function(t,e,r){return E(t,n,e,r)},X:function(t,e,n){return E(t,r,e,n)},y:Ek,Y:Mk,Z:Sk,"%":Dk};function w(t,e){return function(n){var r,i,o,a=[],s=-1,c=0,u=t.length;for(n instanceof Date||(n=new Date(+n));++s<u;)37===t.charCodeAt(s)&&(a.push(t.slice(c,s)),null!=(i=lk[r=t.charAt(++s)])?r=t.charAt(++s):i="e"===r?" ":"0",(o=e[r])&&(r=o(n,i)),a.push(r),c=s+1);return a.push(t.slice(c,s)),a.join("")}}function M(t,e){return function(n){var r,i,o=rk(1900,void 0,1);if(E(o,t,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(e&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=nk(rk(o.y,0,1))).getUTCDay(),r=i>4||0===i?NT.ceil(r):NT(r),r=TT.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=ek(rk(o.y,0,1))).getDay(),r=i>4||0===i?eT.ceil(r):eT(r),r=JA.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?nk(rk(o.y,0,1)).getUTCDay():ek(rk(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,nk(o)):ek(o)}}function E(t,e,n,r){for(var i,o,a=0,s=e.length,c=n.length;a<s;){if(r>=c)return-1;if(37===(i=e.charCodeAt(a++))){if(i=e.charAt(a++),!(o=x[i in lk?e.charAt(a++):i])||(r=o(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return _.x=w(n,_),_.X=w(r,_),_.c=w(e,_),b.x=w(n,b),b.X=w(r,b),b.c=w(e,b),{format:function(t){var e=w(t+="",_);return e.toString=function(){return t},e},parse:function(t){var e=M(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",b);return e.toString=function(){return t},e},utcParse:function(t){var e=M(t+="",!0);return e.toString=function(){return t},e}}}var ok,ak,sk,ck,uk,lk={"-":"",_:" ",0:"0"},fk=/^\s*\d+/,hk=/^%/,dk=/[\\^$*+?|[\]().{}]/g;function pk(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(e)+i:i)}function gk(t){return t.replace(dk,"\\$&")}function vk(t){return new RegExp("^(?:"+t.map(gk).join("|")+")","i")}function yk(t){return new Map(t.map(((t,e)=>[t.toLowerCase(),e])))}function mk(t,e,n){var r=fk.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function _k(t,e,n){var r=fk.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function bk(t,e,n){var r=fk.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function xk(t,e,n){var r=fk.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function wk(t,e,n){var r=fk.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Mk(t,e,n){var r=fk.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Ek(t,e,n){var r=fk.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Sk(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Ak(t,e,n){var r=fk.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function Tk(t,e,n){var r=fk.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function kk(t,e,n){var r=fk.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Ok(t,e,n){var r=fk.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Ck(t,e,n){var r=fk.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Nk(t,e,n){var r=fk.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Pk(t,e,n){var r=fk.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Rk(t,e,n){var r=fk.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function jk(t,e,n){var r=fk.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Dk(t,e,n){var r=hk.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Fk(t,e,n){var r=fk.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Ik(t,e,n){var r=fk.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Lk(t,e){return pk(t.getDate(),e,2)}function $k(t,e){return pk(t.getHours(),e,2)}function Uk(t,e){return pk(t.getHours()%12||12,e,2)}function zk(t,e){return pk(1+JA.count(mT(t),t),e,3)}function Bk(t,e){return pk(t.getMilliseconds(),e,3)}function Vk(t,e){return Bk(t,e)+"000"}function qk(t,e){return pk(t.getMonth()+1,e,2)}function Hk(t,e){return pk(t.getMinutes(),e,2)}function Yk(t,e){return pk(t.getSeconds(),e,2)}function Wk(t){var e=t.getDay();return 0===e?7:e}function Zk(t,e){return pk(tT.count(mT(t)-1,t),e,2)}function Gk(t){var e=t.getDay();return e>=4||0===e?iT(t):iT.ceil(t)}function Xk(t,e){return t=Gk(t),pk(iT.count(mT(t),t)+(4===mT(t).getDay()),e,2)}function Jk(t){return t.getDay()}function Kk(t,e){return pk(eT.count(mT(t)-1,t),e,2)}function Qk(t,e){return pk(t.getFullYear()%100,e,2)}function tO(t,e){return pk((t=Gk(t)).getFullYear()%100,e,2)}function eO(t,e){return pk(t.getFullYear()%1e4,e,4)}function nO(t,e){var n=t.getDay();return pk((t=n>=4||0===n?iT(t):iT.ceil(t)).getFullYear()%1e4,e,4)}function rO(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+pk(e/60|0,"0",2)+pk(e%60,"0",2)}function iO(t,e){return pk(t.getUTCDate(),e,2)}function oO(t,e){return pk(t.getUTCHours(),e,2)}function aO(t,e){return pk(t.getUTCHours()%12||12,e,2)}function sO(t,e){return pk(1+TT.count(ZT(t),t),e,3)}function cO(t,e){return pk(t.getUTCMilliseconds(),e,3)}function uO(t,e){return cO(t,e)+"000"}function lO(t,e){return pk(t.getUTCMonth()+1,e,2)}function fO(t,e){return pk(t.getUTCMinutes(),e,2)}function hO(t,e){return pk(t.getUTCSeconds(),e,2)}function dO(t){var e=t.getUTCDay();return 0===e?7:e}function pO(t,e){return pk(CT.count(ZT(t)-1,t),e,2)}function gO(t){var e=t.getUTCDay();return e>=4||0===e?jT(t):jT.ceil(t)}function vO(t,e){return t=gO(t),pk(jT.count(ZT(t),t)+(4===ZT(t).getUTCDay()),e,2)}function yO(t){return t.getUTCDay()}function mO(t,e){return pk(NT.count(ZT(t)-1,t),e,2)}function _O(t,e){return pk(t.getUTCFullYear()%100,e,2)}function bO(t,e){return pk((t=gO(t)).getUTCFullYear()%100,e,2)}function xO(t,e){return pk(t.getUTCFullYear()%1e4,e,4)}function wO(t,e){var n=t.getUTCDay();return pk((t=n>=4||0===n?jT(t):jT.ceil(t)).getUTCFullYear()%1e4,e,4)}function MO(){return"+0000"}function EO(){return"%"}function SO(t){return+t}function AO(t){return Math.floor(+t/1e3)}function TO(t){return ok=ik(t),ak=ok.format,sk=ok.parse,ck=ok.utcFormat,uk=ok.utcParse,ok}function kO(t){return new Date(t)}function OO(t){return t instanceof Date?+t:+new Date(+t)}function CO(t,e,n,r,i,o,a,s,c,u){var l=QS(),f=l.invert,h=l.domain,d=u(".%L"),p=u(":%S"),g=u("%I:%M"),v=u("%I %p"),y=u("%a %d"),m=u("%b %d"),_=u("%B"),b=u("%Y");function x(t){return(c(t)<t?d:s(t)<t?p:a(t)<t?g:o(t)<t?v:r(t)<t?i(t)<t?y:m:n(t)<t?_:b)(t)}return l.invert=function(t){return new Date(f(t))},l.domain=function(t){return arguments.length?h(Array.from(t,OO)):h().map(kO)},l.ticks=function(e){var n=h();return t(n[0],n[n.length-1],null==e?10:e)},l.tickFormat=function(t,e){return null==e?x:u(e)},l.nice=function(t){var n=h();return t&&"function"==typeof t.range||(t=e(n[0],n[n.length-1],null==t?10:t)),t?h(iA(n,t)):l},l.copy=function(){return JS(l,CO(t,e,n,r,i,o,a,s,c,u))},l}function NO(){return LS.apply(CO(QT,tk,mT,gT,tT,JA,ZA,HA,BA,ak).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function PO(){return LS.apply(CO(JT,KT,ZT,HT,CT,TT,ET,xT,BA,ck).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function RO(){var t,e,n,r,i,o=0,a=1,s=WS,c=!1;function u(e){return null==e||isNaN(e=+e)?i:s(0===n?.5:(e=(r(e)-t)*n,c?Math.max(0,Math.min(1,e)):e))}function l(t){return function(e){var n,r;return arguments.length?([n,r]=e,s=t(n,r),u):[s(0),s(1)]}}return u.domain=function(i){return arguments.length?([o,a]=i,t=r(o=+o),e=r(a=+a),n=t===e?0:1/(e-t),u):[o,a]},u.clamp=function(t){return arguments.length?(c=!!t,u):c},u.interpolator=function(t){return arguments.length?(s=t,u):s},u.range=l(Ph),u.rangeRound=l(XE),u.unknown=function(t){return arguments.length?(i=t,u):i},function(i){return r=i,t=i(o),e=i(a),n=t===e?0:1/(e-t),u}}function jO(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function DO(){var t=eA(RO()(WS));return t.copy=function(){return jO(t,DO())},$S.apply(t,arguments)}function FO(){var t=fA(RO()).domain([1,10]);return t.copy=function(){return jO(t,FO()).base(t.base())},$S.apply(t,arguments)}function IO(){var t=gA(RO());return t.copy=function(){return jO(t,IO()).constant(t.constant())},$S.apply(t,arguments)}function LO(){var t=bA(RO());return t.copy=function(){return jO(t,LO()).exponent(t.exponent())},$S.apply(t,arguments)}function $O(){return LO.apply(null,arguments).exponent(.5)}function UO(){var t=[],e=WS;function n(n){if(null!=n&&!isNaN(n=+n))return e((Gs(t,n,1)-1)/(t.length-1))}return n.domain=function(e){if(!arguments.length)return t.slice();t=[];for(let n of e)null==n||isNaN(n=+n)||t.push(n);return t.sort($s),n},n.interpolator=function(t){return arguments.length?(e=t,n):e},n.range=function(){return t.map(((n,r)=>e(r/(t.length-1))))},n.quantiles=function(e){return Array.from({length:e+1},((n,r)=>ru(t,r/e)))},n.copy=function(){return UO(e).domain(t)},$S.apply(n,arguments)}function zO(){var t,e,n,r,i,o,a,s=0,c=.5,u=1,l=1,f=WS,h=!1;function d(t){return isNaN(t=+t)?a:(t=.5+((t=+o(t))-e)*(l*t<l*e?r:i),f(h?Math.max(0,Math.min(1,t)):t))}function p(t){return function(e){var n,r,i;return arguments.length?([n,r,i]=e,f=uS(t,[n,r,i]),d):[f(0),f(.5),f(1)]}}return d.domain=function(a){return arguments.length?([s,c,u]=a,t=o(s=+s),e=o(c=+c),n=o(u=+u),r=t===e?0:.5/(e-t),i=e===n?0:.5/(n-e),l=e<t?-1:1,d):[s,c,u]},d.clamp=function(t){return arguments.length?(h=!!t,d):h},d.interpolator=function(t){return arguments.length?(f=t,d):f},d.range=p(Ph),d.rangeRound=p(XE),d.unknown=function(t){return arguments.length?(a=t,d):a},function(a){return o=a,t=a(s),e=a(c),n=a(u),r=t===e?0:.5/(e-t),i=e===n?0:.5/(n-e),l=e<t?-1:1,d}}function BO(){var t=eA(zO()(WS));return t.copy=function(){return jO(t,BO())},$S.apply(t,arguments)}function VO(){var t=fA(zO()).domain([.1,1,10]);return t.copy=function(){return jO(t,VO()).base(t.base())},$S.apply(t,arguments)}function qO(){var t=gA(zO());return t.copy=function(){return jO(t,qO()).constant(t.constant())},$S.apply(t,arguments)}function HO(){var t=bA(zO());return t.copy=function(){return jO(t,HO()).exponent(t.exponent())},$S.apply(t,arguments)}function YO(){return HO.apply(null,arguments).exponent(.5)}function WO(t){for(var e=t.length/6|0,n=new Array(e),r=0;r<e;)n[r]="#"+t.slice(6*r,6*++r);return n}TO({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"]});const ZO=WO("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),GO=WO("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),XO=WO("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),JO=WO("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),KO=WO("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),QO=WO("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),tC=WO("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),eC=WO("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),nC=WO("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),rC=WO("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),iC=t=>bh(t[t.length-1]);var oC=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(WO);const aC=iC(oC);var sC=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(WO);const cC=iC(sC);var uC=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(WO);const lC=iC(uC);var fC=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(WO);const hC=iC(fC);var dC=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(WO);const pC=iC(dC);var gC=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(WO);const vC=iC(gC);var yC=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(WO);const mC=iC(yC);var _C=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(WO);const bC=iC(_C);var xC=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(WO);const wC=iC(xC);var MC=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(WO);const EC=iC(MC);var SC=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(WO);const AC=iC(SC);var TC=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(WO);const kC=iC(TC);var OC=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(WO);const CC=iC(OC);var NC=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(WO);const PC=iC(NC);var RC=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(WO);const jC=iC(RC);var DC=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(WO);const FC=iC(DC);var IC=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(WO);const LC=iC(IC);var $C=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(WO);const UC=iC($C);var zC=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(WO);const BC=iC(zC);var VC=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(WO);const qC=iC(VC);var HC=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(WO);const YC=iC(HC);var WC=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(WO);const ZC=iC(WC);var GC=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(WO);const XC=iC(GC);var JC=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(WO);const KC=iC(JC);var QC=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(WO);const tN=iC(QC);var eN=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(WO);const nN=iC(eN);var rN=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(WO);const iN=iC(rN);function oN(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-t*(35.34-t*(2381.73-t*(6402.7-t*(7024.72-2710.57*t)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+t*(170.73+t*(52.82-t*(131.46-t*(176.58-67.37*t)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+t*(442.36-t*(2482.43-t*(6167.24-t*(6614.94-2475.67*t)))))))+")"}const aN=cS(Lg(300,.5,0),Lg(-240,.5,1));var sN=cS(Lg(-100,.75,.35),Lg(80,1.5,.8)),cN=cS(Lg(260,.75,.35),Lg(80,1.5,.8)),uN=Lg();function lN(t){(t<0||t>1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return uN.h=360*t-100,uN.s=1.5-1.5*e,uN.l=.8-.9*e,uN+""}var fN=Jf(),hN=Math.PI/3,dN=2*Math.PI/3;function pN(t){var e;return t=(.5-t)*Math.PI,fN.r=255*(e=Math.sin(t))*e,fN.g=255*(e=Math.sin(t+hN))*e,fN.b=255*(e=Math.sin(t+dN))*e,fN+""}function gN(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+t*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"}function vN(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}const yN=vN(WO("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var mN=vN(WO("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),_N=vN(WO("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),bN=vN(WO("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function xN(t){return wf(sf(t).call(document.documentElement))}var wN=0;function MN(){return new EN}function EN(){this._="@"+(++wN).toString(36)}function SN(t,e){return t.target&&(t=Rh(t),void 0===e&&(e=t.currentTarget),t=t.touches||[t]),Array.from(t,(t=>jh(t,e)))}function AN(t){return"string"==typeof t?new _f([document.querySelectorAll(t)],[document.documentElement]):new _f([cl(t)],mf)}function TN(t){return function(){return t}}EN.prototype=MN.prototype={constructor:EN,get:function(t){for(var e=this._;!(e in t);)if(!(t=t.parentNode))return;return t[e]},set:function(t,e){return t[this._]=e},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};const kN=Math.abs,ON=Math.atan2,CN=Math.cos,NN=Math.max,PN=Math.min,RN=Math.sin,jN=Math.sqrt,DN=1e-12,FN=Math.PI,IN=FN/2,LN=2*FN;function $N(t){return t>1?0:t<-1?FN:Math.acos(t)}function UN(t){return t>=1?IN:t<=-1?-IN:Math.asin(t)}function zN(t){return t.innerRadius}function BN(t){return t.outerRadius}function VN(t){return t.startAngle}function qN(t){return t.endAngle}function HN(t){return t&&t.padAngle}function YN(t,e,n,r,i,o,a,s){var c=n-t,u=r-e,l=a-i,f=s-o,h=f*c-l*u;if(!(h*h<DN))return[t+(h=(l*(e-o)-f*(t-i))/h)*c,e+h*u]}function WN(t,e,n,r,i,o,a){var s=t-n,c=e-r,u=(a?o:-o)/jN(s*s+c*c),l=u*c,f=-u*s,h=t+l,d=e+f,p=n+l,g=r+f,v=(h+p)/2,y=(d+g)/2,m=p-h,_=g-d,b=m*m+_*_,x=i-o,w=h*g-p*d,M=(_<0?-1:1)*jN(NN(0,x*x*b-w*w)),E=(w*_-m*M)/b,S=(-w*m-_*M)/b,A=(w*_+m*M)/b,T=(-w*m+_*M)/b,k=E-v,O=S-y,C=A-v,N=T-y;return k*k+O*O>C*C+N*N&&(E=A,S=T),{cx:E,cy:S,x01:-l,y01:-f,x11:E*(i/x-1),y11:S*(i/x-1)}}function ZN(){var t=zN,e=BN,n=TN(0),r=null,i=VN,o=qN,a=HN,s=null;function c(){var c,u,l=+t.apply(this,arguments),f=+e.apply(this,arguments),h=i.apply(this,arguments)-IN,d=o.apply(this,arguments)-IN,p=kN(d-h),g=d>h;if(s||(s=c=Xp()),f<l&&(u=f,f=l,l=u),f>DN)if(p>LN-DN)s.moveTo(f*CN(h),f*RN(h)),s.arc(0,0,f,h,d,!g),l>DN&&(s.moveTo(l*CN(d),l*RN(d)),s.arc(0,0,l,d,h,g));else{var v,y,m=h,_=d,b=h,x=d,w=p,M=p,E=a.apply(this,arguments)/2,S=E>DN&&(r?+r.apply(this,arguments):jN(l*l+f*f)),A=PN(kN(f-l)/2,+n.apply(this,arguments)),T=A,k=A;if(S>DN){var O=UN(S/l*RN(E)),C=UN(S/f*RN(E));(w-=2*O)>DN?(b+=O*=g?1:-1,x-=O):(w=0,b=x=(h+d)/2),(M-=2*C)>DN?(m+=C*=g?1:-1,_-=C):(M=0,m=_=(h+d)/2)}var N=f*CN(m),P=f*RN(m),R=l*CN(x),j=l*RN(x);if(A>DN){var D,F=f*CN(_),I=f*RN(_),L=l*CN(b),$=l*RN(b);if(p<FN&&(D=YN(N,P,L,$,F,I,R,j))){var U=N-D[0],z=P-D[1],B=F-D[0],V=I-D[1],q=1/RN($N((U*B+z*V)/(jN(U*U+z*z)*jN(B*B+V*V)))/2),H=jN(D[0]*D[0]+D[1]*D[1]);T=PN(A,(l-H)/(q-1)),k=PN(A,(f-H)/(q+1))}}M>DN?k>DN?(v=WN(L,$,N,P,f,k,g),y=WN(F,I,R,j,f,k,g),s.moveTo(v.cx+v.x01,v.cy+v.y01),k<A?s.arc(v.cx,v.cy,k,ON(v.y01,v.x01),ON(y.y01,y.x01),!g):(s.arc(v.cx,v.cy,k,ON(v.y01,v.x01),ON(v.y11,v.x11),!g),s.arc(0,0,f,ON(v.cy+v.y11,v.cx+v.x11),ON(y.cy+y.y11,y.cx+y.x11),!g),s.arc(y.cx,y.cy,k,ON(y.y11,y.x11),ON(y.y01,y.x01),!g))):(s.moveTo(N,P),s.arc(0,0,f,m,_,!g)):s.moveTo(N,P),l>DN&&w>DN?T>DN?(v=WN(R,j,F,I,l,-T,g),y=WN(N,P,L,$,l,-T,g),s.lineTo(v.cx+v.x01,v.cy+v.y01),T<A?s.arc(v.cx,v.cy,T,ON(v.y01,v.x01),ON(y.y01,y.x01),!g):(s.arc(v.cx,v.cy,T,ON(v.y01,v.x01),ON(v.y11,v.x11),!g),s.arc(0,0,l,ON(v.cy+v.y11,v.cx+v.x11),ON(y.cy+y.y11,y.cx+y.x11),g),s.arc(y.cx,y.cy,T,ON(y.y11,y.x11),ON(y.y01,y.x01),!g))):s.arc(0,0,l,x,b,g):s.lineTo(R,j)}else s.moveTo(0,0);if(s.closePath(),c)return s=null,c+""||null}return c.centroid=function(){var n=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-FN/2;return[CN(r)*n,RN(r)*n]},c.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:TN(+e),c):t},c.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:TN(+t),c):e},c.cornerRadius=function(t){return arguments.length?(n="function"==typeof t?t:TN(+t),c):n},c.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:TN(+t),c):r},c.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:TN(+t),c):i},c.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:TN(+t),c):o},c.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:TN(+t),c):a},c.context=function(t){return arguments.length?(s=null==t?null:t,c):s},c}var GN=Array.prototype.slice;function XN(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function JN(t){this._context=t}function KN(t){return new JN(t)}function QN(t){return t[0]}function tP(t){return t[1]}function eP(t,e){var n=TN(!0),r=null,i=KN,o=null;function a(a){var s,c,u,l=(a=XN(a)).length,f=!1;for(null==r&&(o=i(u=Xp())),s=0;s<=l;++s)!(s<l&&n(c=a[s],s,a))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+t(c,s,a),+e(c,s,a));if(u)return o=null,u+""||null}return t="function"==typeof t?t:void 0===t?QN:TN(t),e="function"==typeof e?e:void 0===e?tP:TN(e),a.x=function(e){return arguments.length?(t="function"==typeof e?e:TN(+e),a):t},a.y=function(t){return arguments.length?(e="function"==typeof t?t:TN(+t),a):e},a.defined=function(t){return arguments.length?(n="function"==typeof t?t:TN(!!t),a):n},a.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),a):i},a.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),a):r},a}function nP(t,e,n){var r=null,i=TN(!0),o=null,a=KN,s=null;function c(c){var u,l,f,h,d,p=(c=XN(c)).length,g=!1,v=new Array(p),y=new Array(p);for(null==o&&(s=a(d=Xp())),u=0;u<=p;++u){if(!(u<p&&i(h=c[u],u,c))===g)if(g=!g)l=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),f=u-1;f>=l;--f)s.point(v[f],y[f]);s.lineEnd(),s.areaEnd()}g&&(v[u]=+t(h,u,c),y[u]=+e(h,u,c),s.point(r?+r(h,u,c):v[u],n?+n(h,u,c):y[u]))}if(d)return s=null,d+""||null}function u(){return eP().defined(i).curve(a).context(o)}return t="function"==typeof t?t:void 0===t?QN:TN(+t),e="function"==typeof e?e:TN(void 0===e?0:+e),n="function"==typeof n?n:void 0===n?tP:TN(+n),c.x=function(e){return arguments.length?(t="function"==typeof e?e:TN(+e),r=null,c):t},c.x0=function(e){return arguments.length?(t="function"==typeof e?e:TN(+e),c):t},c.x1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:TN(+t),c):r},c.y=function(t){return arguments.length?(e="function"==typeof t?t:TN(+t),n=null,c):e},c.y0=function(t){return arguments.length?(e="function"==typeof t?t:TN(+t),c):e},c.y1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:TN(+t),c):n},c.lineX0=c.lineY0=function(){return u().x(t).y(e)},c.lineY1=function(){return u().x(t).y(n)},c.lineX1=function(){return u().x(r).y(e)},c.defined=function(t){return arguments.length?(i="function"==typeof t?t:TN(!!t),c):i},c.curve=function(t){return arguments.length?(a=t,null!=o&&(s=a(o)),c):a},c.context=function(t){return arguments.length?(null==t?o=s=null:s=a(o=t),c):o},c}function rP(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function iP(t){return t}function oP(){var t=iP,e=rP,n=null,r=TN(0),i=TN(LN),o=TN(0);function a(a){var s,c,u,l,f,h=(a=XN(a)).length,d=0,p=new Array(h),g=new Array(h),v=+r.apply(this,arguments),y=Math.min(LN,Math.max(-LN,i.apply(this,arguments)-v)),m=Math.min(Math.abs(y)/h,o.apply(this,arguments)),_=m*(y<0?-1:1);for(s=0;s<h;++s)(f=g[p[s]=s]=+t(a[s],s,a))>0&&(d+=f);for(null!=e?p.sort((function(t,n){return e(g[t],g[n])})):null!=n&&p.sort((function(t,e){return n(a[t],a[e])})),s=0,u=d?(y-h*_)/d:0;s<h;++s,v=l)c=p[s],l=v+((f=g[c])>0?f*u:0)+_,g[c]={data:a[c],index:s,value:f,startAngle:v,endAngle:l,padAngle:m};return g}return a.value=function(e){return arguments.length?(t="function"==typeof e?e:TN(+e),a):t},a.sortValues=function(t){return arguments.length?(e=t,n=null,a):e},a.sort=function(t){return arguments.length?(n=t,e=null,a):n},a.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:TN(+t),a):r},a.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:TN(+t),a):i},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:TN(+t),a):o},a}JN.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}};var aP=cP(KN);function sP(t){this._curve=t}function cP(t){function e(e){return new sP(t(e))}return e._curve=t,e}function uP(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(cP(t)):e()._curve},t}function lP(){return uP(eP().curve(aP))}function fP(){var t=nP().curve(aP),e=t.curve,n=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return uP(n())},delete t.lineX0,t.lineEndAngle=function(){return uP(r())},delete t.lineX1,t.lineInnerRadius=function(){return uP(i())},delete t.lineY0,t.lineOuterRadius=function(){return uP(o())},delete t.lineY1,t.curve=function(t){return arguments.length?e(cP(t)):e()._curve},t}function hP(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]}sP.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};class dP{constructor(t,e){this._context=t,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}class pP{constructor(t){this._context=t}lineStart(){this._point=0}lineEnd(){}point(t,e){if(t=+t,e=+e,0==this._point++)this._x0=t,this._y0=e;else{const n=hP(this._x0,this._y0),r=hP(this._x0,this._y0=(this._y0+e)/2),i=hP(t,this._y0),o=hP(t,e);this._context.moveTo(...n),this._context.bezierCurveTo(...r,...i,...o)}}}function gP(t){return new dP(t,!0)}function vP(t){return new dP(t,!1)}function yP(t){return new pP(t)}function mP(t){return t.source}function _P(t){return t.target}function bP(t){let e=mP,n=_P,r=QN,i=tP,o=null,a=null;function s(){let s;const c=GN.call(arguments),u=e.apply(this,c),l=n.apply(this,c);if(null==o&&(a=t(s=Xp())),a.lineStart(),c[0]=u,a.point(+r.apply(this,c),+i.apply(this,c)),c[0]=l,a.point(+r.apply(this,c),+i.apply(this,c)),a.lineEnd(),s)return a=null,s+""||null}return s.source=function(t){return arguments.length?(e=t,s):e},s.target=function(t){return arguments.length?(n=t,s):n},s.x=function(t){return arguments.length?(r="function"==typeof t?t:TN(+t),s):r},s.y=function(t){return arguments.length?(i="function"==typeof t?t:TN(+t),s):i},s.context=function(e){return arguments.length?(null==e?o=a=null:a=t(o=e),s):o},s}function xP(){return bP(gP)}function wP(){return bP(vP)}function MP(){const t=bP(yP);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}const EP=jN(3),SP={draw(t,e){const n=.59436*jN(e+PN(e/28,.75)),r=n/2,i=r*EP;t.moveTo(0,n),t.lineTo(0,-n),t.moveTo(-i,-r),t.lineTo(i,r),t.moveTo(-i,r),t.lineTo(i,-r)}},AP={draw(t,e){const n=jN(e/FN);t.moveTo(n,0),t.arc(0,0,n,0,LN)}},TP={draw(t,e){const n=jN(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},kP=jN(1/3),OP=2*kP,CP={draw(t,e){const n=jN(e/OP),r=n*kP;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}},NP={draw(t,e){const n=.62625*jN(e);t.moveTo(0,-n),t.lineTo(n,0),t.lineTo(0,n),t.lineTo(-n,0),t.closePath()}},PP={draw(t,e){const n=.87559*jN(e-PN(e/7,2));t.moveTo(-n,0),t.lineTo(n,0),t.moveTo(0,n),t.lineTo(0,-n)}},RP={draw(t,e){const n=jN(e),r=-n/2;t.rect(r,r,n,n)}},jP={draw(t,e){const n=.4431*jN(e);t.moveTo(n,n),t.lineTo(n,-n),t.lineTo(-n,-n),t.lineTo(-n,n),t.closePath()}},DP=RN(FN/10)/RN(7*FN/10),FP=RN(LN/10)*DP,IP=-CN(LN/10)*DP,LP={draw(t,e){const n=jN(.8908130915292852*e),r=FP*n,i=IP*n;t.moveTo(0,-n),t.lineTo(r,i);for(let e=1;e<5;++e){const o=LN*e/5,a=CN(o),s=RN(o);t.lineTo(s*n,-a*n),t.lineTo(a*r-s*i,s*r+a*i)}t.closePath()}},$P=jN(3),UP={draw(t,e){const n=-jN(e/(3*$P));t.moveTo(0,2*n),t.lineTo(-$P*n,-n),t.lineTo($P*n,-n),t.closePath()}},zP=jN(3),BP={draw(t,e){const n=.6824*jN(e),r=n/2,i=n*zP/2;t.moveTo(0,-n),t.lineTo(i,r),t.lineTo(-i,r),t.closePath()}},VP=-.5,qP=jN(3)/2,HP=1/jN(12),YP=3*(HP/2+1),WP={draw(t,e){const n=jN(e/YP),r=n/2,i=n*HP,o=r,a=n*HP+n,s=-o,c=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(s,c),t.lineTo(VP*r-qP*i,qP*r+VP*i),t.lineTo(VP*o-qP*a,qP*o+VP*a),t.lineTo(VP*s-qP*c,qP*s+VP*c),t.lineTo(VP*r+qP*i,VP*i-qP*r),t.lineTo(VP*o+qP*a,VP*a-qP*o),t.lineTo(VP*s+qP*c,VP*c-qP*s),t.closePath()}},ZP={draw(t,e){const n=.6189*jN(e-PN(e/6,1.7));t.moveTo(-n,-n),t.lineTo(n,n),t.moveTo(-n,n),t.lineTo(n,-n)}},GP=[AP,TP,CP,RP,LP,UP,WP],XP=[AP,PP,ZP,BP,SP,jP,NP];function JP(t,e){let n=null;function r(){let r;if(n||(n=r=Xp()),t.apply(this,arguments).draw(n,+e.apply(this,arguments)),r)return n=null,r+""||null}return t="function"==typeof t?t:TN(t||AP),e="function"==typeof e?e:TN(void 0===e?64:+e),r.type=function(e){return arguments.length?(t="function"==typeof e?e:TN(e),r):t},r.size=function(t){return arguments.length?(e="function"==typeof t?t:TN(+t),r):e},r.context=function(t){return arguments.length?(n=null==t?null:t,r):n},r}function KP(){}function QP(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function tR(t){this._context=t}function eR(t){return new tR(t)}function nR(t){this._context=t}function rR(t){return new nR(t)}function iR(t){this._context=t}function oR(t){return new iR(t)}function aR(t,e){this._basis=new tR(t),this._beta=e}tR.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:QP(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:QP(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},nR.prototype={areaStart:KP,areaEnd:KP,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:QP(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},iR.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:QP(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},aR.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,i=t[0],o=e[0],a=t[n]-i,s=e[n]-o,c=-1;++c<=n;)r=c/n,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+r*a),this._beta*e[c]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};const sR=function t(e){function n(t){return 1===e?new tR(t):new aR(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function cR(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function uR(t,e){this._context=t,this._k=(1-e)/6}uR.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:cR(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:cR(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const lR=function t(e){function n(t){return new uR(t,e)}return n.tension=function(e){return t(+e)},n}(0);function fR(t,e){this._context=t,this._k=(1-e)/6}fR.prototype={areaStart:KP,areaEnd:KP,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:cR(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const hR=function t(e){function n(t){return new fR(t,e)}return n.tension=function(e){return t(+e)},n}(0);function dR(t,e){this._context=t,this._k=(1-e)/6}dR.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:cR(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const pR=function t(e){function n(t){return new dR(t,e)}return n.tension=function(e){return t(+e)},n}(0);function gR(t,e,n){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>DN){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>DN){var u=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*u+t._x1*t._l23_2a-e*t._l12_2a)/l,a=(a*u+t._y1*t._l23_2a-n*t._l12_2a)/l}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function vR(t,e){this._context=t,this._alpha=e}vR.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:gR(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const yR=function t(e){function n(t){return e?new vR(t,e):new uR(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function mR(t,e){this._context=t,this._alpha=e}mR.prototype={areaStart:KP,areaEnd:KP,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:gR(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const _R=function t(e){function n(t){return e?new mR(t,e):new fR(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function bR(t,e){this._context=t,this._alpha=e}bR.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:gR(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const xR=function t(e){function n(t){return e?new bR(t,e):new dR(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function wR(t){this._context=t}function MR(t){return new wR(t)}function ER(t){return t<0?-1:1}function SR(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(n-t._y1)/(i||r<0&&-0),s=(o*i+a*r)/(r+i);return(ER(o)+ER(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function AR(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function TR(t,e,n){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,s=(o-r)/3;t._context.bezierCurveTo(r+s,i+s*e,o-s,a-s*n,o,a)}function kR(t){this._context=t}function OR(t){this._context=new CR(t)}function CR(t){this._context=t}function NR(t){return new kR(t)}function PR(t){return new OR(t)}function RR(t){this._context=t}function jR(t){var e,n,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/o[e-1],o[e]-=n,a[e]-=n*a[e-1];for(i[r-1]=a[r-1]/o[r-1],e=r-2;e>=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(o[r-1]=(t[r]+i[r-1])/2,e=0;e<r-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}function DR(t){return new RR(t)}function FR(t,e){this._context=t,this._t=e}function IR(t){return new FR(t,.5)}function LR(t){return new FR(t,0)}function $R(t){return new FR(t,1)}function UR(t,e){if((i=t.length)>1)for(var n,r,i,o=1,a=t[e[0]],s=a.length;o<i;++o)for(r=a,a=t[e[o]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function zR(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e;return n}function BR(t,e){return t[e]}function VR(t){const e=[];return e.key=t,e}function qR(){var t=TN([]),e=zR,n=UR,r=BR;function i(i){var o,a,s=Array.from(t.apply(this,arguments),VR),c=s.length,u=-1;for(const t of i)for(o=0,++u;o<c;++o)(s[o][u]=[0,+r(t,s[o].key,u,i)]).data=t;for(o=0,a=XN(e(s));o<c;++o)s[a[o]].index=o;return n(s,a),s}return i.keys=function(e){return arguments.length?(t="function"==typeof e?e:TN(Array.from(e)),i):t},i.value=function(t){return arguments.length?(r="function"==typeof t?t:TN(+t),i):r},i.order=function(t){return arguments.length?(e=null==t?zR:"function"==typeof t?t:TN(Array.from(t)),i):e},i.offset=function(t){return arguments.length?(n=null==t?UR:t,i):n},i}function HR(t,e){if((r=t.length)>0){for(var n,r,i,o=0,a=t[0].length;o<a;++o){for(i=n=0;n<r;++n)i+=t[n][o][1]||0;if(i)for(n=0;n<r;++n)t[n][o][1]/=i}UR(t,e)}}function YR(t,e){if((s=t.length)>0)for(var n,r,i,o,a,s,c=0,u=t[e[0]].length;c<u;++c)for(o=a=0,n=0;n<s;++n)(i=(r=t[e[n]][c])[1]-r[0])>0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=a,r[0]=a+=i):(r[0]=0,r[1]=i)}function WR(t,e){if((n=t.length)>0){for(var n,r=0,i=t[e[0]],o=i.length;r<o;++r){for(var a=0,s=0;a<n;++a)s+=t[a][r][1]||0;i[r][1]+=i[r][0]=-s/2}UR(t,e)}}function ZR(t,e){if((i=t.length)>0&&(r=(n=t[e[0]]).length)>0){for(var n,r,i,o=0,a=1;a<r;++a){for(var s=0,c=0,u=0;s<i;++s){for(var l=t[e[s]],f=l[a][1]||0,h=(f-(l[a-1][1]||0))/2,d=0;d<s;++d){var p=t[e[d]];h+=(p[a][1]||0)-(p[a-1][1]||0)}c+=f,u+=h*f}n[a-1][1]+=n[a-1][0]=o,c&&(o-=u/c)}n[a-1][1]+=n[a-1][0]=o,UR(t,e)}}function GR(t){var e=t.map(XR);return zR(t).sort((function(t,n){return e[t]-e[n]}))}function XR(t){for(var e,n=-1,r=0,i=t.length,o=-1/0;++n<i;)(e=+t[n][1])>o&&(o=e,r=n);return r}function JR(t){var e=t.map(KR);return zR(t).sort((function(t,n){return e[t]-e[n]}))}function KR(t){for(var e,n=0,r=-1,i=t.length;++r<i;)(e=+t[r][1])&&(n+=e);return n}function QR(t){return JR(t).reverse()}function tj(t){var e,n,r=t.length,i=t.map(KR),o=GR(t),a=0,s=0,c=[],u=[];for(e=0;e<r;++e)n=o[e],a<s?(a+=i[n],c.push(n)):(s+=i[n],u.push(n));return u.reverse().concat(c)}function ej(t){return zR(t).reverse()}wR.prototype={areaStart:KP,areaEnd:KP,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},kR.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:TR(this,this._t0,AR(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,TR(this,AR(this,n=SR(this,t,e)),n);break;default:TR(this,this._t0,n=SR(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(OR.prototype=Object.create(kR.prototype)).point=function(t,e){kR.prototype.point.call(this,e,t)},CR.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,o){this._context.bezierCurveTo(e,t,r,n,o,i)}},RR.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=jR(t),i=jR(e),o=0,a=1;a<n;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[a],e[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},FR.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};var nj="%Y-%m-%dT%H:%M:%S.%LZ",rj=Date.prototype.toISOString?function(t){return t.toISOString()}:ck(nj);const ij=rj;var oj=+new Date("2000-01-01T00:00:00.000Z")?function(t){var e=new Date(t);return isNaN(e)?null:e}:uk(nj);const aj=oj;function sj(t,e,n){var r=new Wh,i=e;return null==e?(r.restart(t,e,n),r):(r._restart=r.restart,r.restart=function(t,e,n){e=+e,n=null==n?Hh():+n,r._restart((function o(a){a+=i,r._restart(o,i+=e,n),t(a)}),e,n)},r.restart(t,e,n),r)}const cj=t=>()=>t;function uj(t,{sourceEvent:e,target:n,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function lj(t,e,n){this.k=t,this.x=e,this.y=n}lj.prototype={constructor:lj,scale:function(t){return 1===t?this:new lj(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new lj(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var fj=new lj(1,0,0);function hj(t){for(;!t.__zoom;)if(!(t=t.parentNode))return fj;return t.__zoom}function dj(t){t.stopImmediatePropagation()}function pj(t){t.preventDefault(),t.stopImmediatePropagation()}function gj(t){return!(t.ctrlKey&&"wheel"!==t.type||t.button)}function vj(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function yj(){return this.__zoom||fj}function mj(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function _j(){return navigator.maxTouchPoints||"ontouchstart"in this}function bj(t,e,n){var r=t.invertX(e[0][0])-n[0][0],i=t.invertX(e[1][0])-n[1][0],o=t.invertY(e[0][1])-n[0][1],a=t.invertY(e[1][1])-n[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}function xj(){var t,e,n,r=gj,i=vj,o=bj,a=mj,s=_j,c=[0,1/0],u=[[-1/0,-1/0],[1/0,1/0]],l=250,f=KE,h=ol("start","zoom","end"),d=500,p=0,g=10;function v(t){t.property("__zoom",yj).on("wheel.zoom",M,{passive:!1}).on("mousedown.zoom",E).on("dblclick.zoom",S).filter(s).on("touchstart.zoom",A).on("touchmove.zoom",T).on("touchend.zoom touchcancel.zoom",k).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function y(t,e){return(e=Math.max(c[0],Math.min(c[1],e)))===t.k?t:new lj(e,t.x,t.y)}function m(t,e,n){var r=e[0]-n[0]*t.k,i=e[1]-n[1]*t.k;return r===t.x&&i===t.y?t:new lj(t.k,r,i)}function _(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function b(t,e,n,r){t.on("start.zoom",(function(){x(this,arguments).event(r).start()})).on("interrupt.zoom end.zoom",(function(){x(this,arguments).event(r).end()})).tween("zoom",(function(){var t=this,o=arguments,a=x(t,o).event(r),s=i.apply(t,o),c=null==n?_(s):"function"==typeof n?n.apply(t,o):n,u=Math.max(s[1][0]-s[0][0],s[1][1]-s[0][1]),l=t.__zoom,h="function"==typeof e?e.apply(t,o):e,d=f(l.invert(c).concat(u/l.k),h.invert(c).concat(u/h.k));return function(t){if(1===t)t=h;else{var e=d(t),n=u/e[2];t=new lj(n,c[0]-e[0]*n,c[1]-e[1]*n)}a.zoom(null,t)}}))}function x(t,e,n){return!n&&t.__zooming||new w(t,e)}function w(t,e){this.that=t,this.args=e,this.active=0,this.sourceEvent=null,this.extent=i.apply(t,e),this.taps=0}function M(t,...e){if(r.apply(this,arguments)){var n=x(this,e).event(t),i=this.__zoom,s=Math.max(c[0],Math.min(c[1],i.k*Math.pow(2,a.apply(this,arguments)))),l=jh(t);if(n.wheel)n.mouse[0][0]===l[0]&&n.mouse[0][1]===l[1]||(n.mouse[1]=i.invert(n.mouse[0]=l)),clearTimeout(n.wheel);else{if(i.k===s)return;n.mouse=[l,i.invert(l)],ad(this),n.start()}pj(t),n.wheel=setTimeout(f,150),n.zoom("mouse",o(m(y(i,s),n.mouse[0],n.mouse[1]),n.extent,u))}function f(){n.wheel=null,n.end()}}function E(t,...e){if(!n&&r.apply(this,arguments)){var i=t.currentTarget,a=x(this,e,!0).event(t),s=wf(t.view).on("mousemove.zoom",h,!0).on("mouseup.zoom",d,!0),c=jh(t,i),l=t.clientX,f=t.clientY;Tf(t.view),dj(t),a.mouse=[c,this.__zoom.invert(c)],ad(this),a.start()}function h(t){if(pj(t),!a.moved){var e=t.clientX-l,n=t.clientY-f;a.moved=e*e+n*n>p}a.event(t).zoom("mouse",o(m(a.that.__zoom,a.mouse[0]=jh(t,i),a.mouse[1]),a.extent,u))}function d(t){s.on("mousemove.zoom mouseup.zoom",null),kf(t.view,a.moved),pj(t),a.event(t).end()}}function S(t,...e){if(r.apply(this,arguments)){var n=this.__zoom,a=jh(t.changedTouches?t.changedTouches[0]:t,this),s=n.invert(a),c=n.k*(t.shiftKey?.5:2),f=o(m(y(n,c),a,s),i.apply(this,e),u);pj(t),l>0?wf(this).transition().duration(l).call(b,f,a,t):wf(this).call(v.transform,f,a,t)}}function A(n,...i){if(r.apply(this,arguments)){var o,a,s,c,u=n.touches,l=u.length,f=x(this,i,n.changedTouches.length===l).event(n);for(dj(n),a=0;a<l;++a)c=[c=jh(s=u[a],this),this.__zoom.invert(c),s.identifier],f.touch0?f.touch1||f.touch0[2]===c[2]||(f.touch1=c,f.taps=0):(f.touch0=c,o=!0,f.taps=1+!!t);t&&(t=clearTimeout(t)),o&&(f.taps<2&&(e=c[0],t=setTimeout((function(){t=null}),d)),ad(this),f.start())}}function T(t,...e){if(this.__zooming){var n,r,i,a,s=x(this,e).event(t),c=t.changedTouches,l=c.length;for(pj(t),n=0;n<l;++n)i=jh(r=c[n],this),s.touch0&&s.touch0[2]===r.identifier?s.touch0[0]=i:s.touch1&&s.touch1[2]===r.identifier&&(s.touch1[0]=i);if(r=s.that.__zoom,s.touch1){var f=s.touch0[0],h=s.touch0[1],d=s.touch1[0],p=s.touch1[1],g=(g=d[0]-f[0])*g+(g=d[1]-f[1])*g,v=(v=p[0]-h[0])*v+(v=p[1]-h[1])*v;r=y(r,Math.sqrt(g/v)),i=[(f[0]+d[0])/2,(f[1]+d[1])/2],a=[(h[0]+p[0])/2,(h[1]+p[1])/2]}else{if(!s.touch0)return;i=s.touch0[0],a=s.touch0[1]}s.zoom("touch",o(m(r,i,a),s.extent,u))}}function k(t,...r){if(this.__zooming){var i,o,a=x(this,r).event(t),s=t.changedTouches,c=s.length;for(dj(t),n&&clearTimeout(n),n=setTimeout((function(){n=null}),d),i=0;i<c;++i)o=s[i],a.touch0&&a.touch0[2]===o.identifier?delete a.touch0:a.touch1&&a.touch1[2]===o.identifier&&delete a.touch1;if(a.touch1&&!a.touch0&&(a.touch0=a.touch1,delete a.touch1),a.touch0)a.touch0[1]=this.__zoom.invert(a.touch0[0]);else if(a.end(),2===a.taps&&(o=jh(o,this),Math.hypot(e[0]-o[0],e[1]-o[1])<g)){var u=wf(this).on("dblclick.zoom");u&&u.apply(this,arguments)}}}return v.transform=function(t,e,n,r){var i=t.selection?t.selection():t;i.property("__zoom",yj),t!==i?b(t,e,n,r):i.interrupt().each((function(){x(this,arguments).event(r).start().zoom(null,"function"==typeof e?e.apply(this,arguments):e).end()}))},v.scaleBy=function(t,e,n,r){v.scaleTo(t,(function(){var t=this.__zoom.k,n="function"==typeof e?e.apply(this,arguments):e;return t*n}),n,r)},v.scaleTo=function(t,e,n,r){v.transform(t,(function(){var t=i.apply(this,arguments),r=this.__zoom,a=null==n?_(t):"function"==typeof n?n.apply(this,arguments):n,s=r.invert(a),c="function"==typeof e?e.apply(this,arguments):e;return o(m(y(r,c),a,s),t,u)}),n,r)},v.translateBy=function(t,e,n,r){v.transform(t,(function(){return o(this.__zoom.translate("function"==typeof e?e.apply(this,arguments):e,"function"==typeof n?n.apply(this,arguments):n),i.apply(this,arguments),u)}),null,r)},v.translateTo=function(t,e,n,r,a){v.transform(t,(function(){var t=i.apply(this,arguments),a=this.__zoom,s=null==r?_(t):"function"==typeof r?r.apply(this,arguments):r;return o(fj.translate(s[0],s[1]).scale(a.k).translate("function"==typeof e?-e.apply(this,arguments):-e,"function"==typeof n?-n.apply(this,arguments):-n),t,u)}),r,a)},w.prototype={event:function(t){return t&&(this.sourceEvent=t),this},start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(t,e){return this.mouse&&"mouse"!==t&&(this.mouse[1]=e.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=e.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=e.invert(this.touch1[0])),this.that.__zoom=e,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(t){var e=wf(this.that).datum();h.call(t,this.that,new uj(t,{sourceEvent:this.sourceEvent,target:v,type:t,transform:this.that.__zoom,dispatch:h}),e)}},v.wheelDelta=function(t){return arguments.length?(a="function"==typeof t?t:cj(+t),v):a},v.filter=function(t){return arguments.length?(r="function"==typeof t?t:cj(!!t),v):r},v.touchable=function(t){return arguments.length?(s="function"==typeof t?t:cj(!!t),v):s},v.extent=function(t){return arguments.length?(i="function"==typeof t?t:cj([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),v):i},v.scaleExtent=function(t){return arguments.length?(c[0]=+t[0],c[1]=+t[1],v):[c[0],c[1]]},v.translateExtent=function(t){return arguments.length?(u[0][0]=+t[0][0],u[1][0]=+t[1][0],u[0][1]=+t[0][1],u[1][1]=+t[1][1],v):[[u[0][0],u[0][1]],[u[1][0],u[1][1]]]},v.constrain=function(t){return arguments.length?(o=t,v):o},v.duration=function(t){return arguments.length?(l=+t,v):l},v.interpolate=function(t){return arguments.length?(f=t,v):f},v.on=function(){var t=h.on.apply(h,arguments);return t===h?v:t},v.clickDistance=function(t){return arguments.length?(p=(t=+t)*t,v):Math.sqrt(p)},v.tapDistance=function(t){return arguments.length?(g=+t,v):g},v}hj.prototype=lj.prototype;const wj=(t,e)=>{t=Bv(t);const n=Object.keys(e.mapping).map((t=>({name:t,column:e.mapping[t].column,numeric:"numeric"==e.mapping[t].type,date:"date"==e.mapping[t].type})));return t.map((t=>{const e={};return n.forEach((n=>{let r=t[n.column];n.date&&(r=Date.parse(r)),n.numeric&&(r*=1),e[n.name]=r})),e}))},Mj=(t,e)=>{t.values=[...new Set(e.map((e=>e[t.dim])))],"numeric"==t.mapping.type||"date"==t.mapping.type?t.mapping.stacked?t.extent=fc(e.map((e=>e[`${t.dim}:st:e`]))):t.extent=fc(t.values):t.mapping.type},Ej=(t,e)=>{t.forEach((t=>{Object.values(e).forEach((e=>{t[`${e.dim}:scaled`]=e.scale(t[e.dim]),t[`${e.dim}:scaled:min`]=e.scale(e.domain[0]),t[`${e.dim}:scaled:0`]=e.scale(0),t[`${e.dim}:scaled:max`]=e.scale(e.domain[1]),e.mapping.stacked&&(t[`${e.dim}:st:e:scaled`]=e.scale(t[`${e.dim}:st:e`]),t[`${e.dim}:st:s:scaled`]=e.scale(t[`${e.dim}:st:s`]),t[`${e.dim}:st:h:scaled`]=t[`${e.dim}:st:s:scaled`]-t[`${e.dim}:st:e:scaled`])}))}))},Sj=(t,e)=>Object.values(t.reduce(((t,n)=>{var r=e.map((t=>n[t])).join("-");return t[r]=t[r]||{group:Object.fromEntries(e.map((t=>[t,n[t]]))),entries:[]},t[r].entries.push(n),t}),{})),Aj=(t,e)=>0==e.length?t:t.filter((t=>e.reduce(((e,n)=>Array.isArray(n.key)?e&&n.key.includes(t[n.dim]):"function"==typeof n.key?e&&n.key(t[n.dim]):e&&t[n.dim]==n.key),!0))),Tj=(t,e)=>Object.fromEntries(Object.entries(t).map((([t,n],r)=>[t,e(n,t)]))),kj=(t,e)=>Array.isArray(t)?t.map(e):Tj(t,e),Oj=(t,e,n,r)=>t.map((t=>({group:Object.keys(t.group).map((e=>({dim:e,key:t.group[e]}))),props:e._fill(Object.assign(n,...Object.keys(t.group).map((e=>r[e].props[t.group[e]])))),values:t.entries}))),Cj=(t,e,n=!0,r=!1)=>{if(void 0===t.value||null===t.value||r){if("ref"==t.prop){const n=e[t.ref];void 0!==n&&(t.value=n)}if("relative"==t.prop){const n=e[t.ref];void 0!==n&&(t.value=t.ratio*n)}if("steps"==t.prop){const n=e[t.ref];void 0!==n&&t.steps.forEach((e=>{n>e.cut&&(t.value=e.value)}))}}return n?t.value:t},Nj=(t,e)=>Cj({...Dj(t)},e,!0),Pj=(t,e,n=!0)=>Rj(kj(t,Dj),e,n),Rj=(t,e,n=!1)=>kj(t,(t=>Cj({...t},e,n))),jj=t=>void 0!==t.prop,Dj=t=>{if("object"==typeof t&&!Array.isArray(t)&&null!==t)return jj(t)?t:Tj(t,Dj);if("string"==typeof t&&"@"==t.charAt()){const e=t.substring(1);return{prop:"ref",ref:e,parts:e.split(":")}}return{prop:"fixed",value:t}},Fj=t=>(Object.values(t.mapping).forEach((t=>{if(t.props){const e=t.props;Object.keys(e),t.props=Object.fromEntries(Object.keys(e.manual).map((t=>{const n=Object.assign({},e.common,e.manual[t]);return n.name??=t,n.visible??=!0,[t,n]})))}t.scale&&(t.scale.type??="linear",t.scale.domain??=[null,null],t.scale.domainAbs||(t.scale.domainRel??=t.scale.domain.map(((t,e)=>null===t?.02*(0==e?-1:1):0))),t.scale.domainAbs??=[0,0],Array.isArray(t.scale.range)||("horizontal"==t.scale.orientation?t.scale.range=[0,"@width"]:"vertical"==t.scale.orientation&&(t.scale.range=["@height",0]))),t.axis&&(t.axis.padding??=3),void 0!==t.hover&&void 0!==t.axis&&(t.hover.format??=t.axis.format),t.legend&&(void 0===t.legend.props&&(t.legend.props={}),"name"in t.legend.props||(t.legend.props.name="@name")),t.hover&&(void 0===t.hover.props&&(t.hover.props={}),"name"in t.hover.props||(t.hover.props.name="@name"))})),Array.isArray(t.plot)||(t.plot=[t.plot]),t.plot.forEach(((t,e)=>{t.categories??=[],t.id??=`plot-${e}`,t.highlightProps=Object.keys(t.props).filter((t=>t.startsWith("highlight-"))).map((t=>t.substring(10)))})),t.plot.forEach((t=>{t.props=Tj(t.props,Dj),t._fill=e=>Rj(t.props,e)})),t),Ij=(t,e,n)=>e,Lj=(t,e=null)=>0===t.indexOf("http://")||0===t.indexOf("https://")||0===t.indexOf("/")?t:e?`${e.substring(0,e.lastIndexOf("/"))}/${t}`:`./${t}`,$j=function(t,e,n){let r,i;const o="function"==typeof e;function a(t,n){const a=si();return(t=t||a&&hn(oo))&&io(t),(t=eo)._s.has(r)||(o?Ho(r,e,i,t):function(t,e,n,r){const{state:i,actions:o,getters:a}=e,s=n.state.value[t];let c;c=Ho(t,(function(){s||(n.state.value[t]=i?i():{});const e=function(t){const e=S(t)?new Array(t.length):{};for(const n in t)e[n]=Me(t,n);return e}(n.state.value[t]);return qo(e,o,Object.keys(a||{}).reduce(((e,r)=>(e[r]=fe(gi((()=>{io(n);const e=n._s.get(t);return a[r].call(e,e)}))),e)),{}))}),e,n,0,!0),c.$reset=function(){const t=i?i():{};this.$patch((e=>{qo(e,t)}))}}(r,i,t)),t._s.get(r)}return r=t,i=o?void 0:e,a.$id=r,a}("base",{state:()=>({defUrl:null,defOrg:null,def:null,data:null}),getters:{loaded(){return null!==this.def&&null!==this.data},axis(){const t=this.mappingNamesWithKey("scale");let e={};return t.forEach((t=>{const n=this.mapping(t).scale.orientation;"horizontal"==n&&(e.h=t),"vertical"==n&&(e.v=t)})),e},mapping(t){return t=>this.def.mapping[t]},prop(t,e){return(t,e)=>this.def.mapping[t].props[e]},mappingNamesWithKey(t){return t=>Object.keys(this.def.mapping).filter((e=>t in this.def.mapping[e]))},mappingNamesWithKeyValue(t,e){return(t,e)=>Object.keys(this.def.mapping).filter((n=>t in this.def.mapping[n]&&this.def.mapping[n][t]==e))}},actions:{init(t,e=null){const n=this;this.loadAndMergeParent(t,[t],(function(t){n.defOrg=t,n.def=Fj(JSON.parse(JSON.stringify(n.defOrg))),null===e?n.loadData():n.data=wj(e,n.def)}))},loadAndMergeParent(t,e,n){const r=this;if("string"==typeof t)throw console.error("No valid JSON definiton file"),new Error("No valid JSON definiton");if(t.parent)this.load(t.parent,(function(t){e.push(t),r.loadAndMergeParent(t,e,n)}));else{e.reverse();const t=Ls().all(e,{arrayMerge:Ij});n(t)}},load(t,e=this.init){const n=Lj(t);return this.defUrl??=n,Fs.get(n).then((t=>{e(t.data)})).catch((t=>{console.log(t),console.error(`Could not load def file ${n}`)}))},loadData(){return Fs.get(Lj(this.def.data,this.defUrl)).then((t=>{this.data=wj(t.data,this.def)})).catch((t=>{console.error(`Could not load data file '${Lj(this.def.data)}'`)}))}}}),Uj={class:"vis",ref:"vis"},zj={class:"vis-header"},Bj={class:"title"},Vj={class:"subtitle"},qj={ref:"form",class:"vis-form-elements"},Hj={ref:"legends",class:"vis-legends"},Yj={key:0,class:"vis-body"},Wj={class:"vis-footer"},Zj=["innerHTML"],Gj=t=>t.charAt(0).toUpperCase()+t.slice(1),Xj=$m({decimal:",",thousands:".",grouping:[3],currency:"€"}),Jj=ik({dateTime:"%A, der %e. %B %Y, %X",date:"%d.%m.%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],shortDays:["So","Mo","Di","Mi","Do","Fr","Sa"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],shortMonths:["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"]}),Kj=(e,n)=>{const r=e.mapping.scale,i=t[`scale${Gj(r.type)}`]();if(i.range(Pj(r.range,n)),e.extent){e.domain=[...r.domain],e.domainRel=[...r.domainRel?r.domainRel:[0,0]],e.domainAbs=r.domainAbs,e.domain[0]??=e.extent[0],e.domain[1]??=e.extent[1];const t=e.domain[1]-e.domain[0];e.domain[0]+=t*e.domainRel[0],e.domain[1]+=t*e.domainRel[1],e.domain[0]+=e.domainAbs[0],e.domain[1]+=e.domainAbs[1],i.invertCustom=t=>{const n=Zs(e.values,i.invert(t));return e.values[n]}}else e.domain=e.values,r.padding??=.4,i.padding(r.padding),i.invertCustom=t=>{const e=Math.floor(t/i.step());return i.domain()[Math.max(0,Math.min(e,i.domain().length-1))]};i.domain(e.domain),e.scale=i},Qj=function(t){const e=wf(this);Object.entries(t).forEach((([t,n],r)=>{if(n instanceof Object){if(!jj(n))return;n=n.value}"text"!=t?e.attr(t,n):e.text(n)}))},tD=function(t){const e=wf(this);t.group.forEach((t=>{e.attr(`data-group-${t.dim}`,t.key)})),t.group.forEach((t=>{e.attr(`data-visible-${t.dim}`,t.visible)})),e.attr("data-visible",t.group.reduce(((t,e)=>t&&e.visible),!0))},eD=(t,e,n=null)=>{e.filter((t=>t.highlightProps.length>0)).forEach((e=>{const r=`g.plotGroup.${e.id} .highlight`,i=t.selectAll(r);if(i.size()>0&&(i.classed("highlight",!1),i.each((function(){const t=wf(this);e.highlightProps.forEach((e=>{t.attr(e,t.attr(`default-${e}`))}))}))),n){const r=e.categories.filter((t=>Object.keys(n).includes(t))).map((t=>({name:t,value:n[t]}))).map((t=>`[data-group-${t.name}='${t.value}']`)).join(""),i=t.selectAll(`g.plotGroup.${e.id} ${r}`);i.size()>0&&(i.classed("highlight",!0).raise(),i.each((function(){const t=wf(this);e.highlightProps.forEach((e=>{t.attr(`default-${e}`,t.attr(e)).attr(e,t.attr(`highlight-${e}`))}))})))}}))},nD=["width","height"],rD=["transform"],iD=["visibility"],oD=[(t=>(an="data-v-6b719c92",t=t(),an=null,t))((()=>Zr("line",null,null,-1)))],aD={key:0,class:"debug"},sD={class:"title"},cD={class:"entries",ref:"entries"},uD={props:["title","axis","side","data"],data:()=>({space:20}),computed:{left(){return"left"==this.side?this.axis.h.value-this.space+"px":`${this.axis.h.value+this.space}px`},transform(){return"left"==this.side?"translate(-100%, -50%)":"translate(0, -50%)"}},components:{},created(){this.store=$j()},mounted(){},watch:{data(){const t=[...this.data].sort(((t,e)=>e.entries[this.axis.v.col].value-t.entries[this.axis.v.col].value));let e=wf(this.$refs.entries).selectAll("tr.entry").data(t).join("tr").attr("class","entry").classed("nearest",(t=>t.nearest));e.selectAll("td").remove(),e.selectAll("td").data((t=>Object.entries(t.entries))).join("td").attr("class",(t=>t[0])).html((t=>"object"==typeof t[1]?t[1].name:t[1]))}}};var lD=n(379),fD=n.n(lD),hD=n(795),dD=n.n(hD),pD=n(569),gD=n.n(pD),vD=n(565),yD=n.n(vD),mD=n(216),_D=n.n(mD),bD=n(589),xD=n.n(bD),wD=n(119),MD={};MD.styleTagTransform=xD(),MD.setAttributes=yD(),MD.insert=gD().bind(null,"head"),MD.domAPI=dD(),MD.insertStyleElement=_D(),fD()(wD.Z,MD),wD.Z&&wD.Z.locals&&wD.Z.locals;var ED=n(744);const SD={props:["filter","shared","height","width","margins","data"],data:()=>({info:{},debug:null,def:null,hover:{visible:!1}}),computed:{innerWidth(){return this.width-(this.margins.left+this.margins.right)},innerHeight(){return this.height-(this.margins.top+this.margins.bottom)},relativeBases(){return{width:this.width,innerWidth:this.innerWidth,height:this.height,innerHeight:this.innerHeight}}},components:{Hover:(0,ED.Z)(uD,[["render",function(t,e,n,r,i,o){return n.axis&&n.axis.h?(Ir(),zr("div",{key:0,class:"hover",ref:"hover",style:s({left:o.left,transform:o.transform})},[Zr("div",sD,h(n.axis.h.name),1),Zr("table",cD,[Kr(' <tr class="entry">\n <td></td>\n </tr> ')],512)],4)):Kr("v-if",!0)}],["__scopeId","data-v-b25a8ab0"]])},created(){this.store=$j(),this.def=this.store.def},mounted(){this.inner=wf(this.$refs.inner),this.scales(),this.axis(),this.plot(),this.hoverInit()},methods:{getFormatterByType:t=>"time"==t?Jj.format:Xj.format,plot(){this.def.plot.forEach((t=>{const e=Sj(this.data,t.categories),n=Oj(e,t,this.relativeBases,this.def.mapping),r=this.inner.append("g").classed("plotGroup",!0).classed(t.id,!0);this[t.type](n,r)}))},_groupwise:function(t,e){return e.classed("paths",!0).selectAll("path").data(t).enter().append("path").each((function(t){Qj.call(this,t.props)})).each(tD)},_pointwise:(t,e,n,r=(t=>t))=>e.classed(n,!0).selectAll("g.group").data(t).enter().append("g").attr("class","group").each(tD).selectAll(n).data((t=>t.values.map((e=>r(Rj(t.props,e)))))).enter().append(n).each(Qj),"svg:path":function(t,e){this._groupwise(t,e).attr("d",(t=>eP().x((t=>t.x)).y((t=>t.y))(t.values.map((e=>Rj(t.props.d,e,!0))))))},"svg:circle":function(t,e){this._pointwise(t,e,"circle")},"svg:line":function(t,e){this._pointwise(t,e,"line")},"svg:rect":function(t,e){this._pointwise(t,e,"rect")},"svg:text":function(t,e){this._pointwise(t,e,"text")},"base:area":function(t){this._groupwise(t,parent).attr("d",(t=>nP().x((t=>t.x)).y1((t=>t.y1)).y0((t=>t.y0))(t.values.map((e=>Rj(t.props.d,e,!0))))))},bar(t,e){const n=this;this._pointwise(t,e,"rect",(t=>{const e=t.height.parts[0],r=n.info[e].scale(0);if(void 0===t.width){const e=t.cx.parts[0];t.width=Dj(n.info[e].scale.step()*(1-n.info[e].scale.padding()))}return t.x=Dj(t.cx.value-t.width.value/2),delete t.cx,t.y=Dj(t.height.value),t.height=Dj(r-t.height.value),t}))},stackedBar(t,e){t.forEach((t=>{const e=t.props.x.ref,n=t.props.y.ref;t.props.x=Dj(`@${e}:scaled`),t.props.y=Dj(`@${n}:st:e:scaled`),t.props.height=Dj(`@${n}:st:h:scaled`),t.props.transform=Dj(`translate(-${t.props.width.value/2} 0)`)})),this._pointwise(t,e,"rect",(t=>(t.height.value<0&&(t.y.value+=t.height.value,t.height.value=-t.height.value),t)))},scales(){const t={};this.store.mappingNamesWithKey("scale").filter((t=>!Object.keys(this.shared).includes(t))).forEach((e=>{const n={dim:e,mapping:this.store.mapping(e)};Mj(n,this.data),Kj(n,{width:this.innerWidth,height:this.innerHeight}),t[e]=n})),Ej(this.data,t),this.info={...this.shared,...t}},axis(){this.store.mappingNamesWithKey("axis").forEach((e=>{const n=this.store.mapping(e),r=n.axis,i=this.info[e].scale,o=t[`axis${Gj(r.position)}`](i).tickSizeInner(9).tickSizeOuter(0).ticks(Nj(r.ticks,this.relativeBases)).tickPadding(r.padding);r.format&&o.tickFormat(this.getFormatterByType(n.scale.type)(r.format)),r.values&&o.tickValues(r.values),r.grid&&this.inner.append("g").attr("class","grid").selectAll("line").data(i.ticks(r.ticks)).enter().append("line").attr("x1",0).attr("x2",this.innerWidth).attr("y1",(t=>i(t))).attr("y2",(t=>i(t)));const a=this.inner.append("g").attr("class",`axis-name-${e} axis-position-${r.position}`).call(o);if("bottom"==r.position&&a.attr("transform",`translate(0, ${this.innerHeight})`),"right"==r.position&&a.attr("transform",`translate(${this.innerWidth}, 0)`),r.rotate&&a.selectAll("text").attr("text-anchor","end").attr("transform",`rotate(-${r.rotate})`),r.title){const t=this.inner.append("text").attr("class","axis-title").attr("y",0).attr("x",0).attr("text-anchor","middle").attr("dominant-baseline","middle").text(r.title.name);"left"==r.position&&t.attr("transform",`rotate(-90) translate(-${this.innerHeight/2} -${r.title.offset})`),"right"==r.position&&t.attr("transform",`rotate(90) translate(${this.innerHeight/2} -${this.innerWidth+r.title.offset})`),"top"==r.position&&t.attr("transform",`translate(${this.innerWidth/2} -${r.title.offset})`),"bottom"==r.position&&t.attr("transform",`translate(${this.innerHeight/2} -${r.title.offset})`)}}))},hoverInit(){const t=this;let e=this.store.axis;e=Object.keys(e).map((t=>({axis:t,name:e[t]}))),e.forEach((t=>{const e=this.def.mapping[t.name],n=e.hover;let r="c";n&&n.format&&n.format,t.formatter=this.getFormatterByType(e.scale.type)(n.format)})),e=Object.fromEntries(e.map((t=>[t.axis,t])));const n=this.store.mappingNamesWithKey("hover").filter((t=>!Object.values(e).map((t=>t.name)).includes(t))),r=wf(this.$refs.hoverMarker).select("line");wf(this.$refs.hover).select("table.entries").selectAll("*").remove(),this.inner.append("rect").attr("class","events").attr("width",this.innerWidth).attr("height",this.innerHeight).attr("opacity",0).on("mousemove",(function(i){const o=jh(i),a=t.info[e.h.name],s=a.scale.invertCustom(o[0]),c=a.scale(s);r.attr("x1",c).attr("x2",c).attr("y1",0).attr("y2",t.innerHeight);const u=Aj(t.data,[{dim:e.h.name,key:s}]).map((r=>{const i={entries:{},data:r,nearest:!1};return n.forEach((e=>{i.entries[e]=Pj(t.store.mapping(e).hover.props,t.store.prop(e,r[e]))})),i.entries[e.v.name]={value:r[e.v.name],name:e.v.formatter(r[e.v.name])},i})),l=t.info[e.v.name].scale.invert(o[1]),f=u.map(((t,n)=>({v:t.entries[e.v.name].value,i:n}))).sort(((t,e)=>t.v-e.v)),h=u[f[Zs(f.map((t=>t.v)),l)].i];h.nearest=!0,eD(t.inner,t.def.plot,h.data),t.hover.data=u,t.hover.axis={h:{col:e.h.name,value:c,name:e.h.formatter(s)},v:{col:e.v.name,value:l}},t.hover.side=c>t.innerWidth/2?"left":"right"})).on("mouseout",(function(e){t.hover.visible=!1,eD(t.inner,t.def.plot)})).on("mouseenter",(function(e){t.hover.visible=!0}))}}};var AD=n(854),TD={};TD.styleTagTransform=xD(),TD.setAttributes=yD(),TD.insert=gD().bind(null,"head"),TD.domAPI=dD(),TD.insertStyleElement=_D(),fD()(AD.Z,TD),AD.Z&&AD.Z.locals&&AD.Z.locals;const kD=(0,ED.Z)(SD,[["render",function(t,e,n,r,i,o){const a=Zn("hover");return Ir(),zr("div",{style:s(`width: ${n.width}px;`),class:"vis-inner"},[(Ir(),zr("svg",{ref:"svg",width:n.width,height:n.height,class:"facet"},[Zr("g",{ref:"inner",transform:`translate(${n.margins.left} ${n.margins.top})`},[Zr("g",{visibility:t.hover.visible?"visible":"hidden",class:"hoverMarker",ref:"hoverMarker"},oD,8,iD)],8,rD)],8,nD)),Zr("div",{style:s(`transform: translate(${n.margins.left}px, ${n.margins.top+o.innerHeight/2}px); position: absolute; top: 0; left: 0;`)},[t.hover.visible?(Ir(),Br(a,{key:0,data:t.hover.data,side:t.hover.side,axis:t.hover.axis},null,8,["data","side","axis"])):Kr("v-if",!0)],4),t.debug?(Ir(),zr("span",aD,h(t.debug),1)):Kr("v-if",!0)],4)}],["__scopeId","data-v-6b719c92"]]),OD=["data-dim"],CD={class:"title"},ND={class:"entries"},PD=["data-visible","data-key","onClick","onMouseenter"],RD=["innerHTML"],jD=["width","height"],DD={props:["info","props"],mounted(){const t=wf(this.$refs.legendSymbol);this.info.elements.forEach((e=>{const n=t.append(e.type);Qj.call(n.node(),Pj(e.props,this.props))}))}};var FD=n(582),ID={};ID.styleTagTransform=xD(),ID.setAttributes=yD(),ID.insert=gD().bind(null,"head"),ID.domAPI=dD(),ID.insertStyleElement=_D(),fD()(FD.Z,ID),FD.Z&&FD.Z.locals&&FD.Z.locals;const LD=(0,ED.Z)(DD,[["render",function(t,e,n,r,i,o){return Ir(),zr("svg",{width:n.info.size,height:n.info.size,ref:"legendSymbol"},null,8,jD)}],["__scopeId","data-v-5ffe5c5e"]]),$D={props:["legend"],data:()=>({ju:e,info:{},entries:[]}),components:{LegendSymbol:LD},mounted(){const t=$j();this.info=t.mapping(this.legend),this.entries=Object.keys(this.info.props).map((t=>({key:t,props:this.info.props[t],filled:Pj(this.info.legend.props,this.info.props[t])})))},methods:{switched(t){t.props.visible=!t.props.visible,this.$emit("changeSelected",{dim:this.legend,key:t.key,selected:t.props.visible})}}};var UD=n(574),zD={};zD.styleTagTransform=xD(),zD.setAttributes=yD(),zD.insert=gD().bind(null,"head"),zD.domAPI=dD(),zD.insertStyleElement=_D(),fD()(UD.Z,zD),UD.Z&&UD.Z.locals&&UD.Z.locals;const BD=(0,ED.Z)($D,[["render",function(t,e,n,r,i,o){const a=Zn("LegendSymbol");return Ir(),zr("div",{class:"legend","data-dim":n.legend},[Zr("div",CD,h(t.info.name),1),Zr("div",ND,[(Ir(!0),zr(Nr,null,Jn(t.entries,(n=>(Ir(),zr("div",ni({"data-visible":n.props.visible,"data-key":n.key},Object.assign({...n.filled},{name:null}),{onClick:t=>o.switched(n),onMouseenter:e=>t.$emit("highlight",{dim:this.legend,key:n.key}),onMouseleave:e[0]||(e[0]=e=>t.$emit("highlight",{}))}),[t.info.legend.symbol?(Ir(),Br(a,{key:0,info:t.info.legend.symbol,props:n.props},null,8,["info","props"])):Kr("v-if",!0),Zr("span",{innerHTML:n.filled.name},null,8,RD)],16,PD)))),256))])],8,OD)}],["__scopeId","data-v-c27ae710"]]),VD=["id"],qD={class:"title"},HD={key:0,class:"entries"},YD=["id","onClick"],WD=["name","value","checked"],ZD=["for"],GD={props:["element","globals"],data:()=>({}),computed:{vg(){return this.globals[this.element.ref]}},components:{LegendSymbol:LD},mounted(){},methods:{switched(t){this.globals[this.element.ref]=t.value,this.$emit("changeSelected",{})},equal(t){return t==this.vg||JSON.stringify(t)==JSON.stringify(this.vg)}}};var XD=n(137),JD={};JD.styleTagTransform=xD(),JD.setAttributes=yD(),JD.insert=gD().bind(null,"head"),JD.domAPI=dD(),JD.insertStyleElement=_D(),fD()(XD.Z,JD),XD.Z&&XD.Z.locals&&XD.Z.locals;const KD={data:()=>({initialized:!1,options:{},globals:{},legends:[],formElements:[],filter:[],data:[],facets:{shared:{},entries:[],height:0,width:0,margins:{top:0,right:0,bottom:0,left:0}},data:null}),computed:{innerWidth(){return this.options.width-(this.options.margins.left+this.options.margins.right)},innerHeight(){return this.options.height-(this.options.margins.top+this.options.margins.bottom)}},components:{Facet:kD,LegendEntry:BD,FormElement:(0,ED.Z)(GD,[["render",function(t,e,n,r,i,o){return Ir(),zr("div",{class:"formElement",id:`container-${n.element.id}`},[Zr("div",qD,h(n.element.name)+":",1),"switch"==n.element.type?(Ir(),zr("div",HD,[(Ir(!0),zr(Nr,null,Jn(n.element.values,(t=>(Ir(),zr("div",{id:`container-${t.id}`,onClick:e=>o.switched(t)},[Zr("input",{type:"radio",name:n.element.id,value:t.id,checked:o.equal(t.value)},null,8,WD),Zr("label",{for:t.id},h(t.name),9,ZD)],8,YD)))),256))])):Kr("v-if",!0)],8,VD)}],["__scopeId","data-v-4bf43b49"]])},created(){window.addEventListener("resize",this.resized)},mounted(){this.baseInit(),this.dataInit(),this.scales()},destroyed(){window.removeEventListener("resize",this.resized)},methods:{baseInit(){this.store=$j(),this.legends=this.store.mappingNamesWithKey("legend"),this.formElements=this.store.def.formElements,this.globals=this.store.def.globals,this.options=Object.assign({},this.store.def.options),this.options.width||(this.options.width=this.$refs.vis.getBoundingClientRect().width),this.options.height=Nj(this.options.height,{totalWidth:this.options.width},!0,!0)},resized(){this.store.def.options.width||(this.options.width=this.$refs.vis.getBoundingClientRect().width,this.options.height=Nj(this.store.def.options.height,{totalWidth:this.options.width},!0,!0),this.dataInit(),this.scales())},dataInit(){const t=this.store.def,e=this.store.axis;if(this.filter=this.store.mappingNamesWithKey("props").map((t=>({dim:t,key:Object.keys(this.store.mapping(t).props).filter((e=>this.store.mapping(t).props[e].visible))}))),this.data=Aj(this.store.data,this.filter),this.store.mapping(e.v).stacked&&((t,e,n=[])=>{Sj(t,[...n,e.h]).forEach((t=>{let n=0,r=0;t.entries.forEach((t=>{const i=t[e.v];i>=0?(t[`${e.v}:st:s`]=n,n+=i,t[`${e.v}:st:e`]=n):(t[`${e.v}:st:s`]=r,r+=i,t[`${e.v}:st:e`]=r)}))}))})(this.data,e,t.facets?t.facets.dim:[]),t.facets){this.facets.margins=this.options.margins,this.facets.height=this.options.height;const e=Nj(t.facets.cols,{totalWidth:this.options.width},!0,!0);this.facets.width=this.options.width/e;const n=t.facets.dim,r=Sj(this.data,[n]);this.facets.entries=r.filter((t=>Object.keys(this.store.mapping(n).props).includes(t.group[n]))).map((t=>({filter:{dim:t.group[n],key:n,name:this.store.mapping(n).props[t.group[n]].name},data:t.entries})))}},scales(){const t=this.store.def;if(t.facets&&t.facets.scales){const e=Nj(t.facets.scales,t.globals,!0,!0).map((t=>{const e={dim:t,mapping:this.store.mapping(t)};return Mj(e,this.data),Kj(e,{width:this.facets.width-(this.facets.margins.left+this.facets.margins.right),height:this.facets.height-(this.facets.margins.top+this.facets.margins.bottom)}),e}));Ej(this.data,e),this.facets.shared=Object.fromEntries(e.map((t=>[t.dim,t])))}this.initialized=!0},changeSelected(t){this.dataInit(),this.scales()},highlight(t){eD(wf(this.$refs.vis),this.store.def.plot,{[t.dim]:t.key})}}};var QD=n(674),tF={};tF.styleTagTransform=xD(),tF.setAttributes=yD(),tF.insert=gD().bind(null,"head"),tF.domAPI=dD(),tF.insertStyleElement=_D(),fD()(QD.Z,tF),QD.Z&&QD.Z.locals&&QD.Z.locals;const eF={props:{debug:{type:Boolean,default:!1},defFile:{type:String,default:null},def:{type:String,default:null},data:{type:String,default:null}},data:()=>({store:$j()}),components:{Vis:(0,ED.Z)(KD,[["render",function(t,e,n,r,i,o){const a=Zn("form-element"),c=Zn("legend-entry"),u=Zn("facet");return Ir(),zr("div",Uj,[Zr("div",zj,[Zr("div",Bj,h(t.options.title),1),Zr("div",Vj,h(t.options.subtitle),1)]),Zr("div",qj,[(Ir(!0),zr(Nr,null,Jn(t.formElements,(t=>(Ir(),Br(a,{element:t,globals:this.globals,onChangeSelected:o.changeSelected},null,8,["element","globals","onChangeSelected"])))),256))],512),Zr("div",Hj,[(Ir(!0),zr(Nr,null,Jn(t.legends,(t=>(Ir(),Br(c,{legend:t,onChangeSelected:o.changeSelected,onHighlight:o.highlight},null,8,["legend","onChangeSelected","onHighlight"])))),256))],512),t.initialized?(Ir(),zr("div",Yj,[t.facets.entries.length>0?(Ir(!0),zr(Nr,{key:0},Jn(t.facets.entries,(e=>(Ir(),zr("div",{style:s(`width: ${t.facets.width}px; display: inline-block;`)},[Zr("div",{class:"facet-title",style:s(`margin-left: ${t.facets.margins.left}px`)},h(e.filter.name),5),(Ir(),Br(u,{key:e.data,data:e.data,shared:t.facets.shared,height:t.facets.height,width:t.facets.width,margins:t.facets.margins},null,8,["data","shared","height","width","margins"]))],4)))),256)):(Ir(),Br(u,{key:t.data,data:t.data,shared:{},height:t.options.height,width:t.options.width,margins:t.options.margins},null,8,["data","height","width","margins"]))])):Kr("v-if",!0),Zr("div",Wj,[Zr("span",{innerHTML:t.options.footer},null,8,Zj)])],512)}],["__scopeId","data-v-4e2c80a1"]])},mounted(){null!==this.def?this.store.init(JSON.parse(this.def),this.data):null!==this.defFile?this.store.load(this.defFile):console.error("No definition given.")}},nF=(0,ED.Z)(eF,[["render",function(t,e,n,r,i,o){const a=Zn("vis");return Ir(),zr("div",Hi,[t.store.loaded?(Ir(),Br(a,{key:0})):Kr("v-if",!0),n.debug?(Ir(),zr("div",Yi,[Wi,Zr("pre",Zi,h(JSON.stringify(t.store.def,null,4)),1),Gi,Zr("pre",Xi,h(JSON.stringify(t.store.defOrg,null,4)),1)])):Kr("v-if",!0)])}]]),rF=t=>{const e=t.getAttributeNames().filter((t=>t.startsWith("data-"))).reduce(((e,n)=>({...e,[n.substring(5)]:t.getAttribute(n)})),{});((...t)=>{const e=(qi||(qi=function(t){return kr(t)}(Vi))).createApp(...t),{mount:n}=e;return e.mount=t=>{const r=function(t){return O(t)?document.querySelector(t):t}(t);if(!r)return;const i=e._component;k(i)||i.render||i.template||(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},e})(nF,e).use(function(){const t=Q(!0),e=t.run((()=>ye({})));let n=[],r=[];const i=fe({install(t){io(i),i._a=t,t.provide(oo,i),t.config.globalProperties.$pinia=i,uo&&jo(t,i),r.forEach((t=>n.push(t))),r=[]},use(t){return this._a?n.push(t):r.push(t),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return uo&&"undefined"!=typeof Proxy&&i.use(Lo),i}()).mount(t)},iF=t=>{const e=document.getElementsByClassName(t);for(const t of e)t.classList.contains("gen-vis-attached")||(t.classList.add("gen-vis-attached"),rF(t))}})();var i=r.J,o=r.K;export{i as mountGenVisByClass,o as mountGenVisElement};
|
|
1
|
+
/*! For license information please see index.js.LICENSE.txt */
|
|
2
|
+
var t={406(t,e,n){var r=n(601),i=n.n(r),o=n(314),a=n.n(o)()(i());a.push([t.id,".vis-inner[data-v-c0423fc2]{position:relative;display:inline-block}.vis-inner .debug[data-v-c0423fc2]{font-size:12px}.vis-inner[data-v-c0423fc2] svg g.axis-position-bottom g.tick line{transform:translate(0px, -4px)}.vis-inner[data-v-c0423fc2] svg g.axis-position-top g.tick line{transform:translate(0px, 5px)}.vis-inner[data-v-c0423fc2] svg g.axis-position-right g.tick line{transform:translate(-4px, 0px)}.vis-inner[data-v-c0423fc2] svg g.axis-position-bottom g.tick line{transform:translate(0px, -4px)}.vis-inner[data-v-c0423fc2] svg g.axis-position-left g.tick line{transform:translate(5px, 0px)}.vis-inner[data-v-c0423fc2] svg g.tick text{font-size:13px}.vis-inner[data-v-c0423fc2] svg .axis-title{font-size:13px}.vis-inner[data-v-c0423fc2] svg g.group[data-visible=false],.vis-inner[data-v-c0423fc2] svg path[data-visible=false]{opacity:.01}.vis-inner[data-v-c0423fc2] svg g.grid{stroke:#ccc;stroke-width:.75px}.vis-inner[data-v-c0423fc2] svg g.hoverMarker line{stroke-width:.75px;stroke:#aaa}",""]);const s=a;n.d(e,["A",0,s])},178(t,e,n){var r=n(601),i=n.n(r),o=n(314),a=n.n(o)()(i());a.push([t.id,".formElement[data-v-38f618e7]{font-size:13px;margin:6px 4px}.formElement .title[data-v-38f618e7]{font-weight:bold;margin-right:5px;display:inline-block}.formElement .entries[data-v-38f618e7]{display:inline-block}.formElement .entries>div[data-v-38f618e7]{display:inline-block;margin-right:5px}.formElement .entries>div input[data-v-38f618e7]{position:relative;display:inline-block;top:1px}",""]);const s=a;n.d(e,["A",0,s])},449(t,e,n){var r=n(601),i=n.n(r),o=n(314),a=n.n(o)()(i());a.push([t.id,".hover[data-v-b25a8ab0]{position:absolute;top:0px;font-size:13px}.hover .title[data-v-b25a8ab0]{font-weight:bold;padding:1px 3px;border-bottom:2px solid #000;text-align:center}.hover[data-v-b25a8ab0]{background-color:rgba(255,255,255,.8);top:40%}.hover[data-v-b25a8ab0] table{border-collapse:collapse}.hover[data-v-b25a8ab0] table tr.nearest{font-weight:bold}.hover[data-v-b25a8ab0] table tr td{text-align:left;padding:1px 5px}.hover[data-v-b25a8ab0] table tr td.value{text-align:right}.hover[data-v-b25a8ab0] table tr td.y{text-align:right}.hover[data-v-b25a8ab0] table tr td:first-child{border-left:0}.hover[data-v-b25a8ab0] table{margin-left:auto;margin-right:auto}.hover[data-v-b25a8ab0]{pointer-events:none}",""]);const s=a;n.d(e,["A",0,s])},835(t,e,n){var r=n(601),i=n.n(r),o=n(314),a=n.n(o)()(i());a.push([t.id,".legend .title[data-v-c27ae710]{font-weight:bold;font-size:13px;margin:3px;position:relative}.legend .entries>div[data-v-c27ae710]{cursor:pointer;display:inline-block;margin:0px 5px}.legend .entries>div[data-visible=false][data-v-c27ae710]{opacity:.3}.legend .entries>div span[data-v-c27ae710]{top:-4px;display:inline-block;position:relative;font-size:13px}.legend .entries>div.bold[data-v-c27ae710]{font-weight:bold}",""]);const s=a;n.d(e,["A",0,s])},467(t,e,n){var r=n(601),i=n.n(r),o=n(314),a=n.n(o)()(i());a.push([t.id,"svg[data-v-5ffe5c5e]{display:inline-block;margin-right:5px}",""]);const s=a;n.d(e,["A",0,s])},72(t,e,n){var r=n(601),i=n.n(r),o=n(314),a=n.n(o)()(i());a.push([t.id,".vis[data-v-458771cc] text,.vis[data-v-458771cc] span,.vis[data-v-458771cc] div{font-family:Century Gothic,sans-serif}.vis-header .title[data-v-458771cc]{font-size:22px;font-weight:bold}.vis-header .subtitle[data-v-458771cc]{font-size:13px;margin-top:3px}.vis-header[data-v-458771cc]{margin-bottom:10px}.vis-footer span[data-v-458771cc]{font-size:13px}.facet-title[data-v-458771cc]{font-size:13px;font-weight:bold;margin-top:8px}",""]);const s=a;n.d(e,["A",0,s])},314(t){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,r,i,o){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(a[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);r&&a[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),i&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=i):l[4]="".concat(i)),e.push(l))}},e}},601(t){t.exports=function(t){return t[1]}}};const e={};function n(r){const i=e[r];if(void 0!==i)return i.exports;const o=e[r]={id:r,exports:{}};return t[r](o,o.exports,n),o.exports}n.n=t=>{const e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.cw=t=>{var e;return()=>{if(t){var n=t;t=0,e={exports:{}},n.call(e.exports,e,e.exports)}return e.exports}},n.d=(t,e)=>{if(Array.isArray(e))for(var r=0;r<e.length;){var i=e[r++],o=e[r++],a=0===o?{enumerable:!0,value:e[r++]}:{enumerable:!0,get:o};n.o(t,i)||Object.defineProperty(t,i,a)}else for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.nc=void 0;var r=n.cw(function(t,e){var n=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===r}(t)}(t)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(t,e){return!1!==e.clone&&e.isMergeableObject(t)?c((n=t,Array.isArray(n)?[]:{}),t,e):t;var n}function o(t,e,n){return t.concat(e).map(function(t){return i(t,n)})}function a(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]}(t))}function s(t,e){try{return e in t}catch(t){return!1}}function c(t,e,r){(r=r||{}).arrayMerge=r.arrayMerge||o,r.isMergeableObject=r.isMergeableObject||n,r.cloneUnlessOtherwiseSpecified=i;var u=Array.isArray(e);return u===Array.isArray(t)?u?r.arrayMerge(t,e,r):function(t,e,n){var r={};return n.isMergeableObject(t)&&a(t).forEach(function(e){r[e]=i(t[e],n)}),a(e).forEach(function(o){(function(t,e){return s(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,o)||(s(t,o)&&n.isMergeableObject(e[o])?r[o]=function(t,e){if(!e.customMerge)return c;var n=e.customMerge(t);return"function"==typeof n?n:c}(o,n)(t[o],e[o],n):r[o]=i(e[o],n))}),r}(t,e,r):i(e,r)}c.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(t,n){return c(t,n,e)},{})};var u=c;t.exports=u}),i=n.cw(function(t,e){var n=[];function r(t){for(var e=-1,r=0;r<n.length;r++)if(n[r].identifier===t){e=r;break}return e}function i(t,e){for(var i={},a=[],s=0;s<t.length;s++){var c=t[s],u=e.base?c[0]+e.base:c[0],l=i[u]||0,f="".concat(u," ").concat(l);i[u]=l+1;var h=r(f),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)n[h].references++,n[h].updater(d);else{var p=o(d,e);e.byIndex=s,n.splice(s,0,{identifier:f,updater:p,references:1})}a.push(f)}return a}function o(t,e){var n=e.domAPI(e);return n.update(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,e){var o=i(t=t||[],e=e||{});return function(t){t=t||[];for(var a=0;a<o.length;a++){var s=r(o[a]);n[s].references--}for(var c=i(t,e),u=0;u<o.length;u++){var l=r(o[u]);0===n[l].references&&(n[l].updater(),n.splice(l,1))}o=c}}}),o=n.cw(function(t,e){var n={};t.exports=function(t,e){var r=function(t){if(void 0===n[t]){var e=document.querySelector(t);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(t){e=null}n[t]=e}return n[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(e)}}),a=n.cw(function(t,e){t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}}),s=n.cw(function(t,e){t.exports=function(t){var e=n.nc;e&&t.setAttribute("nonce",e)}}),c=n.cw(function(t,e){t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(n){!function(t,e,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var i=void 0!==n.layer;i&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,i&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleTagTransform(r,t,e.options)}(e,t,n)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}}),u=n.cw(function(t,e){t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}}),l=n.cw(function(t,e){e.A=(t,e)=>{const n=t.__vccOpts||t;for(const[t,r]of e)n[t]=r;return n}}),f={};n.r(f),n.d(f,{hasBrowserEnv:()=>Ul,hasStandardBrowserEnv:()=>Ll,hasStandardBrowserWebWorkerEnv:()=>Vl,navigator:()=>jl,origin:()=>$l});var h={};n.r(h),n.d(h,{Adder:()=>Eh,Delaunay:()=>Lb,FormatSpecifier:()=>nE,InternMap:()=>Oh,InternSet:()=>Ah,Node:()=>OM,Path:()=>tv,Voronoi:()=>Cb,ZoomTransform:()=>CL,active:()=>oy,arc:()=>_U,area:()=>TU,areaRadial:()=>RU,ascending:()=>Jf,autoType:()=>mw,axisBottom:()=>dp,axisLeft:()=>pp,axisRight:()=>hp,axisTop:()=>fp,bin:()=>sd,bisect:()=>ah,bisectCenter:()=>oh,bisectLeft:()=>ih,bisectRight:()=>rh,bisector:()=>Qf,blob:()=>ax,blur:()=>sh,blur2:()=>ch,blurImage:()=>uh,brush:()=>Iy,brushSelection:()=>Py,brushX:()=>Cy,brushY:()=>Ry,buffer:()=>cx,chord:()=>qy,chordDirected:()=>Gy,chordTranspose:()=>Yy,cluster:()=>vM,color:()=>o_,contourDensity:()=>ub,contours:()=>eb,count:()=>ph,create:()=>qD,creator:()=>bg,cross:()=>yh,csv:()=>dx,csvFormat:()=>iw,csvFormatBody:()=>ow,csvFormatRow:()=>sw,csvFormatRows:()=>aw,csvFormatValue:()=>cw,csvParse:()=>nw,csvParseRows:()=>rw,cubehelix:()=>qv,cumsum:()=>vh,curveBasis:()=>Ej,curveBasisClosed:()=>Sj,curveBasisOpen:()=>Aj,curveBumpX:()=>jU,curveBumpY:()=>LU,curveBundle:()=>kj,curveCardinal:()=>Cj,curveCardinalClosed:()=>Ij,curveCardinalOpen:()=>Uj,curveCatmullRom:()=>Vj,curveCatmullRomClosed:()=>Fj,curveCatmullRomOpen:()=>Bj,curveLinear:()=>bU,curveLinearClosed:()=>qj,curveMonotoneX:()=>Qj,curveMonotoneY:()=>tL,curveNatural:()=>rL,curveStep:()=>oL,curveStepAfter:()=>sL,curveStepBefore:()=>aL,descending:()=>Zf,deviation:()=>wh,difference:()=>qd,disjoint:()=>Yd,dispatch:()=>bp,drag:()=>qb,dragDisable:()=>Vg,dragEnable:()=>$g,dsv:()=>hx,dsvFormat:()=>tw,easeBack:()=>tx,easeBackIn:()=>Zw,easeBackInOut:()=>tx,easeBackOut:()=>Qw,easeBounce:()=>Kw,easeBounceIn:()=>Ww,easeBounceInOut:()=>Xw,easeBounceOut:()=>Kw,easeCircle:()=>jw,easeCircleIn:()=>Dw,easeCircleInOut:()=>jw,easeCircleOut:()=>Uw,easeCubic:()=>ey,easeCubicIn:()=>Qm,easeCubicInOut:()=>ey,easeCubicOut:()=>ty,easeElastic:()=>rx,easeElasticIn:()=>nx,easeElasticInOut:()=>ix,easeElasticOut:()=>rx,easeExp:()=>Iw,easeExpIn:()=>Cw,easeExpInOut:()=>Iw,easeExpOut:()=>Rw,easeLinear:()=>vw,easePoly:()=>Sw,easePolyIn:()=>Ew,easePolyInOut:()=>Sw,easePolyOut:()=>Tw,easeQuad:()=>xw,easeQuadIn:()=>bw,easeQuadInOut:()=>xw,easeQuadOut:()=>ww,easeSin:()=>Nw,easeSinIn:()=>Mw,easeSinInOut:()=>Nw,easeSinOut:()=>kw,every:()=>Vd,extent:()=>xh,fcumsum:()=>Sh,filter:()=>Fd,flatGroup:()=>Uh,flatRollup:()=>jh,forceCenter:()=>xx,forceCollide:()=>Dx,forceLink:()=>Lx,forceManyBody:()=>Gx,forceRadial:()=>Wx,forceSimulation:()=>Yx,forceX:()=>Kx,forceY:()=>Xx,format:()=>sE,formatDefaultLocale:()=>hE,formatLocale:()=>fE,formatPrefix:()=>cE,formatSpecifier:()=>eE,fsum:()=>Th,geoAlbers:()=>IA,geoAlbersUsa:()=>DA,geoArea:()=>_T,geoAzimuthalEqualArea:()=>VA,geoAzimuthalEqualAreaRaw:()=>LA,geoAzimuthalEquidistant:()=>FA,geoAzimuthalEquidistantRaw:()=>$A,geoBounds:()=>JT,geoCentroid:()=>uS,geoCircle:()=>bS,geoClipAntimeridian:()=>PS,geoClipCircle:()=>CS,geoClipExtent:()=>$S,geoClipRectangle:()=>VS,geoConicConformal:()=>GA,geoConicConformalRaw:()=>YA,geoConicEqualArea:()=>RA,geoConicEqualAreaRaw:()=>CA,geoConicEquidistant:()=>JA,geoConicEquidistantRaw:()=>XA,geoContains:()=>rO,geoDistance:()=>WS,geoEqualEarth:()=>iM,geoEqualEarthRaw:()=>rM,geoEquirectangular:()=>KA,geoEquirectangularRaw:()=>WA,geoGnomonic:()=>aM,geoGnomonicRaw:()=>oM,geoGraticule:()=>aO,geoGraticule10:()=>sO,geoIdentity:()=>sM,geoInterpolate:()=>cO,geoLength:()=>qS,geoMercator:()=>BA,geoMercatorRaw:()=>zA,geoNaturalEarth1:()=>uM,geoNaturalEarth1Raw:()=>cM,geoOrthographic:()=>fM,geoOrthographicRaw:()=>lM,geoPath:()=>gA,geoProjection:()=>kA,geoProjectionMutator:()=>NA,geoRotation:()=>mS,geoStereographic:()=>dM,geoStereographicRaw:()=>hM,geoStream:()=>YE,geoTransform:()=>_A,geoTransverseMercator:()=>gM,geoTransverseMercatorRaw:()=>pM,gray:()=>Sv,greatest:()=>pd,greatestIndex:()=>Pd,group:()=>Rh,groupSort:()=>Wh,groups:()=>Ih,hcl:()=>Iv,hierarchy:()=>wM,histogram:()=>sd,hsl:()=>y_,html:()=>bx,image:()=>gx,index:()=>$h,indexes:()=>Fh,interpolate:()=>H_,interpolateArray:()=>U_,interpolateBasis:()=>T_,interpolateBasisClosed:()=>S_,interpolateBlues:()=>yD,interpolateBrBG:()=>NI,interpolateBuGn:()=>WI,interpolateBuPu:()=>XI,interpolateCividis:()=>kD,interpolateCool:()=>CD,interpolateCubehelix:()=>$k,interpolateCubehelixDefault:()=>ND,interpolateCubehelixLong:()=>Fk,interpolateDate:()=>L_,interpolateDiscrete:()=>Ak,interpolateGnBu:()=>ZI,interpolateGreens:()=>bD,interpolateGreys:()=>xD,interpolateHcl:()=>jk,interpolateHclLong:()=>Lk,interpolateHsl:()=>Rk,interpolateHslLong:()=>Ik,interpolateHue:()=>Mk,interpolateInferno:()=>BD,interpolateLab:()=>Dk,interpolateMagma:()=>zD,interpolateNumber:()=>V_,interpolateNumberArray:()=>I_,interpolateObject:()=>$_,interpolateOrRd:()=>tD,interpolateOranges:()=>MD,interpolatePRGn:()=>CI,interpolatePiYG:()=>II,interpolatePlasma:()=>HD,interpolatePuBu:()=>iD,interpolatePuBuGn:()=>nD,interpolatePuOr:()=>UI,interpolatePuRd:()=>aD,interpolatePurples:()=>TD,interpolateRainbow:()=>ID,interpolateRdBu:()=>LI,interpolateRdGy:()=>$I,interpolateRdPu:()=>cD,interpolateRdYlBu:()=>zI,interpolateRdYlGn:()=>HI,interpolateReds:()=>OD,interpolateRgb:()=>N_,interpolateRgbBasis:()=>C_,interpolateRgbBasisClosed:()=>R_,interpolateRound:()=>kk,interpolateSinebow:()=>LD,interpolateSpectral:()=>YI,interpolateString:()=>B_,interpolateTransformCss:()=>Mm,interpolateTransformSvg:()=>km,interpolateTurbo:()=>VD,interpolateViridis:()=>FD,interpolateWarm:()=>PD,interpolateYlGn:()=>hD,interpolateYlGnBu:()=>lD,interpolateYlOrBr:()=>pD,interpolateYlOrRd:()=>_D,interpolateZoom:()=>Pk,interrupt:()=>xm,intersection:()=>Gd,interval:()=>kL,isoFormat:()=>OL,isoParse:()=>ML,json:()=>mx,lab:()=>Ov,lch:()=>Rv,least:()=>kd,leastIndex:()=>Nd,line:()=>EU,lineRadial:()=>CU,link:()=>zU,linkHorizontal:()=>BU,linkRadial:()=>qU,linkVertical:()=>HU,local:()=>GD,map:()=>zd,matcher:()=>Op,max:()=>cd,maxIndex:()=>ud,mean:()=>bd,median:()=>wd,medianIndex:()=>xd,merge:()=>Ed,min:()=>ld,minIndex:()=>fd,mode:()=>Td,namespace:()=>Fp,namespaces:()=>$p,nice:()=>od,now:()=>rm,pack:()=>JM,packEnclose:()=>DM,packSiblings:()=>KM,pairs:()=>Sd,partition:()=>rk,path:()=>ev,pathRound:()=>nv,permute:()=>Hh,pie:()=>AU,piecewise:()=>zk,pointRadial:()=>IU,pointer:()=>Y_,pointers:()=>KD,polygonArea:()=>Hk,polygonCentroid:()=>qk,polygonContains:()=>Xk,polygonHull:()=>Kk,polygonLength:()=>Jk,precisionFixed:()=>dE,precisionPrefix:()=>pE,precisionRound:()=>gE,quadtree:()=>Ax,quantile:()=>gd,quantileIndex:()=>md,quantileSorted:()=>_d,quantize:()=>Bk,quickselect:()=>hd,radialArea:()=>RU,radialLine:()=>CU,randomBates:()=>iN,randomBernoulli:()=>sN,randomBeta:()=>lN,randomBinomial:()=>fN,randomCauchy:()=>dN,randomExponential:()=>oN,randomGamma:()=>uN,randomGeometric:()=>cN,randomInt:()=>tN,randomIrwinHall:()=>rN,randomLcg:()=>vN,randomLogNormal:()=>nN,randomLogistic:()=>pN,randomNormal:()=>eN,randomPareto:()=>aN,randomPoisson:()=>gN,randomUniform:()=>Qk,randomWeibull:()=>hN,range:()=>Ad,rank:()=>Md,reduce:()=>Bd,reverse:()=>Hd,rgb:()=>u_,ribbon:()=>dv,ribbonArrow:()=>pv,rollup:()=>Lh,rollups:()=>Vh,scaleBand:()=>TN,scaleDiverging:()=>fI,scaleDivergingLog:()=>hI,scaleDivergingPow:()=>pI,scaleDivergingSqrt:()=>gI,scaleDivergingSymlog:()=>dI,scaleIdentity:()=>VN,scaleImplicit:()=>xN,scaleLinear:()=>LN,scaleLog:()=>WN,scaleOrdinal:()=>EN,scalePoint:()=>ON,scalePow:()=>rP,scaleQuantile:()=>sP,scaleQuantize:()=>cP,scaleRadial:()=>aP,scaleSequential:()=>iI,scaleSequentialLog:()=>oI,scaleSequentialPow:()=>sI,scaleSequentialQuantile:()=>uI,scaleSequentialSqrt:()=>cI,scaleSequentialSymlog:()=>aI,scaleSqrt:()=>iP,scaleSymlog:()=>ZN,scaleThreshold:()=>uP,scaleTime:()=>tI,scaleUtc:()=>eI,scan:()=>Cd,schemeAccent:()=>yI,schemeBlues:()=>mD,schemeBrBG:()=>kI,schemeBuGn:()=>GI,schemeBuPu:()=>KI,schemeCategory10:()=>mI,schemeDark2:()=>vI,schemeGnBu:()=>JI,schemeGreens:()=>vD,schemeGreys:()=>wD,schemeObservable10:()=>bI,schemeOrRd:()=>QI,schemeOranges:()=>AD,schemePRGn:()=>PI,schemePaired:()=>wI,schemePastel1:()=>xI,schemePastel2:()=>EI,schemePiYG:()=>RI,schemePuBu:()=>rD,schemePuBuGn:()=>eD,schemePuOr:()=>DI,schemePuRd:()=>oD,schemePurples:()=>ED,schemeRdBu:()=>jI,schemeRdGy:()=>VI,schemeRdPu:()=>sD,schemeRdYlBu:()=>FI,schemeRdYlGn:()=>BI,schemeReds:()=>SD,schemeSet1:()=>TI,schemeSet2:()=>SI,schemeSet3:()=>OI,schemeSpectral:()=>qI,schemeTableau10:()=>AI,schemeYlGn:()=>fD,schemeYlGnBu:()=>uD,schemeYlOrBr:()=>dD,schemeYlOrRd:()=>gD,select:()=>Ig,selectAll:()=>XD,selection:()=>Rg,selector:()=>xp,selectorAll:()=>Sp,shuffle:()=>Rd,shuffler:()=>Id,some:()=>$d,sort:()=>qh,stack:()=>hL,stackOffsetDiverging:()=>pL,stackOffsetExpand:()=>dL,stackOffsetNone:()=>cL,stackOffsetSilhouette:()=>gL,stackOffsetWiggle:()=>_L,stackOrderAppearance:()=>mL,stackOrderAscending:()=>vL,stackOrderDescending:()=>wL,stackOrderInsideOut:()=>xL,stackOrderNone:()=>uL,stackOrderReverse:()=>EL,stratify:()=>uk,style:()=>Zp,subset:()=>Jd,sum:()=>Dd,superset:()=>Kd,svg:()=>wx,symbol:()=>vj,symbolAsterisk:()=>GU,symbolCircle:()=>WU,symbolCross:()=>KU,symbolDiamond:()=>ZU,symbolDiamond2:()=>QU,symbolPlus:()=>tj,symbolSquare:()=>ej,symbolSquare2:()=>nj,symbolStar:()=>aj,symbolTimes:()=>_j,symbolTriangle:()=>cj,symbolTriangle2:()=>lj,symbolWye:()=>gj,symbolX:()=>_j,symbols:()=>mj,symbolsFill:()=>mj,symbolsStroke:()=>yj,text:()=>lx,thresholdFreedmanDiaconis:()=>yd,thresholdScott:()=>vd,thresholdSturges:()=>ad,tickFormat:()=>UN,tickIncrement:()=>rd,tickStep:()=>id,ticks:()=>nd,timeDay:()=>kP,timeDays:()=>NP,timeFormat:()=>kC,timeFormatDefaultLocale:()=>XR,timeFormatLocale:()=>AC,timeFriday:()=>FP,timeFridays:()=>WP,timeHour:()=>SP,timeHours:()=>OP,timeInterval:()=>_P,timeMillisecond:()=>mP,timeMilliseconds:()=>yP,timeMinute:()=>wP,timeMinutes:()=>xP,timeMonday:()=>jP,timeMondays:()=>HP,timeMonth:()=>fC,timeMonths:()=>hC,timeParse:()=>NC,timeSaturday:()=>zP,timeSaturdays:()=>KP,timeSecond:()=>vP,timeSeconds:()=>bP,timeSunday:()=>UP,timeSundays:()=>BP,timeThursday:()=>$P,timeThursdays:()=>GP,timeTickInterval:()=>EC,timeTicks:()=>xC,timeTuesday:()=>LP,timeTuesdays:()=>qP,timeWednesday:()=>VP,timeWednesdays:()=>YP,timeWeek:()=>UP,timeWeeks:()=>BP,timeYear:()=>gC,timeYears:()=>_C,timeout:()=>fm,timer:()=>am,timerFlush:()=>sm,transition:()=>Xm,transpose:()=>Ud,tree:()=>yk,treemap:()=>Ek,treemapBinary:()=>Tk,treemapDice:()=>nk,treemapResquarify:()=>Ok,treemapSlice:()=>vk,treemapSliceDice:()=>Sk,treemapSquarify:()=>xk,tsv:()=>px,tsvFormat:()=>hw,tsvFormatBody:()=>dw,tsvFormatRow:()=>gw,tsvFormatRows:()=>pw,tsvFormatValue:()=>_w,tsvParse:()=>lw,tsvParseRows:()=>fw,union:()=>Zd,unixDay:()=>RP,unixDays:()=>IP,utcDay:()=>PP,utcDays:()=>CP,utcFormat:()=>PC,utcFriday:()=>nC,utcFridays:()=>uC,utcHour:()=>AP,utcHours:()=>MP,utcMillisecond:()=>mP,utcMilliseconds:()=>yP,utcMinute:()=>EP,utcMinutes:()=>TP,utcMonday:()=>ZP,utcMondays:()=>oC,utcMonth:()=>dC,utcMonths:()=>pC,utcParse:()=>CC,utcSaturday:()=>rC,utcSaturdays:()=>lC,utcSecond:()=>vP,utcSeconds:()=>bP,utcSunday:()=>JP,utcSundays:()=>iC,utcThursday:()=>eC,utcThursdays:()=>cC,utcTickInterval:()=>wC,utcTicks:()=>bC,utcTuesday:()=>QP,utcTuesdays:()=>aC,utcWednesday:()=>tC,utcWednesdays:()=>sC,utcWeek:()=>JP,utcWeeks:()=>iC,utcYear:()=>mC,utcYears:()=>yC,variance:()=>bh,window:()=>Wp,xml:()=>vx,zip:()=>Ld,zoom:()=>BL,zoomIdentity:()=>RL,zoomTransform:()=>IL});var d={};function p(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return t=>t in e}n.r(d),n.d(d,{applyFormElements:()=>lV,entryToProp:()=>sV,entryToValue:()=>rV,fillDirect:()=>iV,fillProps:()=>oV,getProps:()=>eV,isProp:()=>aV,mergeAll:()=>JL,prepareDef:()=>uV,sameValue:()=>ZL,toValue:()=>nV});const g={},_=[],m=()=>{},y=()=>!1,v=t=>111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),b=t=>t.startsWith("onUpdate:"),w=Object.assign,x=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},E=Object.prototype.hasOwnProperty,T=(t,e)=>E.call(t,e),S=Array.isArray,O=t=>"[object Map]"===D(t),A=t=>"[object Set]"===D(t),M=t=>"[object Date]"===D(t),k=t=>"function"==typeof t,N=t=>"string"==typeof t,P=t=>"symbol"==typeof t,C=t=>null!==t&&"object"==typeof t,R=t=>(C(t)||k(t))&&k(t.then)&&k(t.catch),I=Object.prototype.toString,D=t=>I.call(t),U=t=>"[object Object]"===D(t),j=t=>N(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,L=p(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),V=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},$=/-\w/g,F=V(t=>t.replace($,t=>t.slice(1).toUpperCase())),z=/\B([A-Z])/g,B=V(t=>t.replace(z,"-$1").toLowerCase()),H=V(t=>t.charAt(0).toUpperCase()+t.slice(1)),q=V(t=>t?`on${H(t)}`:""),Y=(t,e)=>!Object.is(t,e),G=(t,...e)=>{for(let n=0;n<t.length;n++)t[n](...e)},W=(t,e,n,r=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:r,value:n})},K=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let X;const J=()=>X||(X="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{});function Z(t){if(S(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],i=N(r)?nt(r):Z(r);if(i)for(const t in i)e[t]=i[t]}return e}if(N(t)||C(t))return t}const Q=/;(?![^(]*\))/g,tt=/:([^]+)/,et=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function nt(t){const e={};return t.replace(et,t=>t.startsWith("/*")?"":t).split(Q).forEach(t=>{if(t){const n=t.split(tt);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function rt(t){let e="";if(N(t))e=t;else if(S(t))for(let n=0;n<t.length;n++){const r=rt(t[n]);r&&(e+=r+" ")}else if(C(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const it=p("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function ot(t){return!!t||""===t}function at(t,e,n){if(t.length!==e.length)return!1;let r=!0;for(let i=0;r&&i<t.length;i++)r=lt(t[i],e[i],n);return r}function st(t,e,n){if(t.size!==e.size)return!1;const r=Array.from(e),i=new Uint8Array(r.length);for(const e of t){let t=-1;for(let o=0;o<r.length;o++)if(!i[o]&<(e,r[o],n)){t=o;break}if(t<0)return!1;i[t]=1}return!0}function ct(t,e,n){let r=O(t),i=O(e);if(r||i)return!(!r||!i)&&st(t,e,n);if(r=A(t),i=A(e),r||i)return!(!r||!i)&&st(t,e,n);if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const r in t){const i=t.hasOwnProperty(r),o=e.hasOwnProperty(r);if(i&&!o||!i&&o||!lt(t[r],e[r],n))return!1}return String(t)===String(e)}function ut(t,e,n,r){n||(n=[new Map,new Map]);const[i,o]=n;if(i.has(t)||o.has(e))return i.get(t)===e&&o.get(e)===t;i.set(t,e),o.set(e,t);const a=r(t,e,n);return i.delete(t),o.delete(e),a}function lt(t,e,n){if(t===e)return!0;let r=M(t),i=M(e);return r||i?!(!r||!i)&&t.getTime()===e.getTime():(r=P(t),i=P(e),r||i?t===e:(r=S(t),i=S(e),r||i?!(!r||!i)&&ut(t,e,n,at):(r=C(t),i=C(e),r||i?!(!r||!i)&&ut(t,e,n,ct):String(t)===String(e))))}const ft=t=>!(!t||!0!==t.__v_isRef),ht=t=>N(t)?t:null==t?"":S(t)||C(t)&&(t.toString===I||!k(t.toString))?ft(t)?ht(t.value):JSON.stringify(t,dt,2):String(t),dt=(t,e)=>ft(e)?dt(t,e.value):O(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[e,n],r)=>(t[pt(e,r)+" =>"]=n,t),{})}:A(e)?{[`Set(${e.size})`]:[...e.values()].map(t=>pt(t))}:P(e)?pt(e):!C(e)||S(e)||U(e)?e:String(e),pt=(t,e="")=>{var n;return P(t)?`Symbol(${null!=(n=t.description)?n:e})`:t};let gt,_t;class mt{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&>&&(gt.active?(this.parent=gt,this.index=(gt.scopes||(gt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){let t,e;if(this._isPaused=!0,this.scopes){const n=this.scopes.slice();for(t=0,e=n.length;t<e;t++)n[t].pause()}for(t=0,e=this.effects.length;t<e;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){let t,e;if(this._isPaused=!1,this.scopes){const n=this.scopes.slice();for(t=0,e=n.length;t<e;t++)n[t].resume()}const n=this.effects.slice();for(t=0,e=n.length;t<e;t++)n[t].resume()}}run(t){if(this._active){const e=gt;try{return gt=this,t()}finally{gt=e}}}on(){1===++this._on&&(this.prevScope=gt,gt=this)}off(){if(this._on>0&&0===--this._on){if(gt===this)gt=this.prevScope;else{let t=gt;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){let e,n;for(this._active=!1,e=0,n=this.effects.length;e<n;e++)this.effects[e].stop();for(this.effects.length=0,e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.cleanups.length=0,this.scopes){const t=this.scopes.slice();for(e=0,n=t.length;e<n;e++)t[e].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const t=this.parent.scopes.pop();t&&t!==this&&(this.parent.scopes[this.index]=t,t.index=this.index)}this.parent=void 0}}}function yt(t){return new mt(t)}function vt(){return gt}const bt=new WeakSet;class wt{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,gt&&(gt.active?gt.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,bt.has(this)&&(bt.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||St(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,Lt(this),Mt(this);const t=_t,e=It;_t=this,It=!0;try{return this.fn()}finally{kt(this),_t=t,It=e,this.flags&=-3}}stop(){if(1&this.flags){for(let t=this.deps;t;t=t.nextDep)Ct(t);this.deps=this.depsTail=void 0,Lt(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?bt.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Nt(this)&&this.run()}get dirty(){return Nt(this)}}let xt,Et,Tt=0;function St(t,e=!1){if(t.flags|=8,e)return t.next=Et,void(Et=t);t.next=xt,xt=t}function Ot(){Tt++}function At(){if(--Tt>0)return;if(Et){let t=Et;for(Et=void 0;t;){const e=t.next;t.next=void 0,t.flags&=-9,t=e}}let t;for(;xt;){let e=xt;for(xt=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,1&e.flags)try{e.trigger()}catch(e){t||(t=e)}e=n}}if(t)throw t}function Mt(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function kt(t){let e,n=t.depsTail,r=n;for(;r;){const t=r.prevDep;-1===r.version?(r===n&&(n=t),Ct(r),Rt(r)):e=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=t}t.deps=e,t.depsTail=n}function Nt(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Pt(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Pt(t){if(4&t.flags&&!(16&t.flags))return;if(t.flags&=-17,t.globalVersion===Vt)return;if(t.globalVersion=Vt,!t.isSSR&&128&t.flags&&(!t.deps&&!t._dirty||!Nt(t)))return;t.flags|=2;const e=t.dep,n=_t,r=It;_t=t,It=!0;try{Mt(t);const n=t.fn(t._value);(0===e.version||Y(n,t._value))&&(t.flags|=128,t._value=n,e.version++)}catch(t){throw e.version++,t}finally{_t=n,It=r,kt(t),t.flags&=-3}}function Ct(t,e=!1){const{dep:n,prevSub:r,nextSub:i}=t;if(r&&(r.nextSub=i,t.prevSub=void 0),i&&(i.prevSub=r,t.nextSub=void 0),n.subs===t&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let t=n.computed.deps;t;t=t.nextDep)Ct(t,!0)}e||--n.sc||!n.map||n.map.delete(n.key)}function Rt(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let It=!0;const Dt=[];function Ut(){Dt.push(It),It=!1}function jt(){const t=Dt.pop();It=void 0===t||t}function Lt(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const t=_t;_t=void 0;try{e()}finally{_t=t}}}let Vt=0;class $t{constructor(t,e){this.sub=t,this.dep=e,this.version=e.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ft{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!_t||!It||_t===this.computed)return;let e=this.activeLink;if(void 0===e||e.sub!==_t)e=this.activeLink=new $t(_t,this),_t.deps?(e.prevDep=_t.depsTail,_t.depsTail.nextDep=e,_t.depsTail=e):_t.deps=_t.depsTail=e,zt(e);else if(-1===e.version&&(e.version=this.version,e.nextDep)){const t=e.nextDep;t.prevDep=e.prevDep,e.prevDep&&(e.prevDep.nextDep=t),e.prevDep=_t.depsTail,e.nextDep=void 0,_t.depsTail.nextDep=e,_t.depsTail=e,_t.deps===e&&(_t.deps=t)}return e}trigger(t){this.version++,Vt++,this.notify(t)}notify(t){Ot();try{for(let t=this.subs;t;t=t.prevSub)t.sub.notify()&&t.sub.dep.notify()}finally{At()}}}function zt(t){if(t.dep.sc++,4&t.sub.flags){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let t=e.deps;t;t=t.nextDep)zt(t)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const Bt=new WeakMap,Ht=Symbol(""),qt=Symbol(""),Yt=Symbol("");function Gt(t,e,n){if(It&&_t){let e=Bt.get(t);e||Bt.set(t,e=new Map);let r=e.get(n);r||(e.set(n,r=new Ft),r.map=e,r.key=n),r.track()}}function Wt(t,e,n,r,i,o){const a=Bt.get(t);if(!a)return void Vt++;const s=t=>{t&&t.trigger()};if(Ot(),"clear"===e)a.forEach(s);else{const i=S(t),o=i&&j(n);if(i&&"length"===n){const t=Number(r);a.forEach((e,n)=>{("length"===n||n===Yt||!P(n)&&n>=t)&&s(e)})}else switch((void 0!==n||a.has(void 0))&&s(a.get(n)),o&&s(a.get(Yt)),e){case"add":i?o&&s(a.get("length")):(s(a.get(Ht)),O(t)&&s(a.get(qt)));break;case"delete":i||(s(a.get(Ht)),O(t)&&s(a.get(qt)));break;case"set":O(t)&&s(a.get(Ht))}}At()}function Kt(t){const e=Ce(t);return e===t?e:(Gt(e,0,Yt),Ne(t)?e:ke(t)?Me(t)?e.map(t=>De(Ie(t))):e.map(De):e.map(Ie))}function Xt(t){return Gt(t=Ce(t),0,Yt),t}function Jt(t,e){return ke(t)?Me(t)?De(Ie(e)):De(e):Ie(e)}const Zt={__proto__:null,[Symbol.iterator](){return Qt(this,Symbol.iterator,t=>Jt(this,t))},concat(...t){return Kt(this).concat(...t.map(t=>S(t)?Kt(t):t))},entries(){return Qt(this,"entries",t=>(t[1]=Jt(this,t[1]),t))},every(t,e){return ee(this,"every",t,e,void 0,arguments)},filter(t,e){return ee(this,"filter",t,e,t=>t.map(t=>Jt(this,t)),arguments)},find(t,e){return ee(this,"find",t,e,t=>Jt(this,t),arguments)},findIndex(t,e){return ee(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return ee(this,"findLast",t,e,t=>Jt(this,t),arguments)},findLastIndex(t,e){return ee(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return ee(this,"forEach",t,e,void 0,arguments)},includes(...t){return re(this,"includes",t)},indexOf(...t){return re(this,"indexOf",t)},join(t){return Kt(this).join(t)},lastIndexOf(...t){return re(this,"lastIndexOf",t)},map(t,e){return ee(this,"map",t,e,void 0,arguments)},pop(){return ie(this,"pop")},push(...t){return ie(this,"push",t)},reduce(t,...e){return ne(this,"reduce",t,e)},reduceRight(t,...e){return ne(this,"reduceRight",t,e)},shift(){return ie(this,"shift")},some(t,e){return ee(this,"some",t,e,void 0,arguments)},splice(...t){return ie(this,"splice",t)},toReversed(){return Kt(this).toReversed()},toSorted(t){return Kt(this).toSorted(t)},toSpliced(...t){return Kt(this).toSpliced(...t)},unshift(...t){return ie(this,"unshift",t)},values(){return Qt(this,"values",t=>Jt(this,t))}};function Qt(t,e,n){const r=Xt(t),i=r[e]();return r===t||Ne(t)||(i._next=i.next,i.next=()=>{const t=i._next();return t.done||(t.value=n(t.value)),t}),i}const te=Array.prototype;function ee(t,e,n,r,i,o){const a=Xt(t),s=a!==t&&!Ne(t),c=a[e];if(c!==te[e]){const e=c.apply(t,o);return s?Ie(e):e}let u=n;a!==t&&(s?u=function(e,r){return n.call(this,Jt(t,e),r,t)}:n.length>2&&(u=function(e,r){return n.call(this,e,r,t)}));const l=c.call(a,u,r);return s&&i?i(l):l}function ne(t,e,n,r){const i=Xt(t),o=i!==t&&!Ne(t);let a=n,s=!1;i!==t&&(o?(s=0===r.length,a=function(e,r,i){return s&&(s=!1,e=Jt(t,e)),n.call(this,e,Jt(t,r),i,t)}):n.length>3&&(a=function(e,r,i){return n.call(this,e,r,i,t)}));const c=i[e](a,...r);return s?Jt(t,c):c}function re(t,e,n){const r=Ce(t);Gt(r,0,Yt);const i=r[e](...n);return-1!==i&&!1!==i||!Pe(n[0])?i:(n[0]=Ce(n[0]),r[e](...n))}function ie(t,e,n=[]){Ut(),Ot();const r=Ce(t)[e].apply(t,n);return At(),jt(),r}const oe=p("__proto__,__v_isRef,__isVue"),ae=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>"arguments"!==t&&"caller"!==t).map(t=>Symbol[t]).filter(P));function se(t){P(t)||(t=String(t));const e=Ce(this);return Gt(e,0,t),e.hasOwnProperty(t)}class ce{constructor(t=!1,e=!1){this._isReadonly=t,this._isShallow=e}get(t,e,n){if("__v_skip"===e)return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if("__v_isReactive"===e)return!r;if("__v_isReadonly"===e)return r;if("__v_isShallow"===e)return i;if("__v_raw"===e)return n===(r?i?Te:Ee:i?xe:we).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=S(t);if(!r){let t;if(o&&(t=Zt[e]))return t;if("hasOwnProperty"===e)return se}const a=Reflect.get(t,e,Ue(t)?t:n);if(P(e)?ae.has(e):oe(e))return a;if(r||Gt(t,0,e),i)return a;if(Ue(a)){const t=o&&j(e)?a:a.value;return r&&C(t)?Oe(t):t}return C(a)?r?Oe(a):Se(a):a}}class ue extends ce{constructor(t=!1){super(!1,t)}set(t,e,n,r){let i=t[e];const o=S(t)&&j(e);if(!this._isShallow){const t=ke(i);if(Ne(n)||ke(n)||(i=Ce(i),n=Ce(n)),!o&&Ue(i)&&!Ue(n))return t||(i.value=n),!0}const a=o?Number(e)<t.length:T(t,e),s=Reflect.set(t,e,n,Ue(t)?t:r);return t===Ce(r)&&s&&(a?Y(n,i)&&Wt(t,"set",e,n):Wt(t,"add",e,n)),s}deleteProperty(t,e){const n=T(t,e),r=(t[e],Reflect.deleteProperty(t,e));return r&&n&&Wt(t,"delete",e,void 0),r}has(t,e){const n=Reflect.has(t,e);return P(e)&&ae.has(e)||Gt(t,0,e),n}ownKeys(t){return Gt(t,0,S(t)?"length":Ht),Reflect.ownKeys(t)}}class le extends ce{constructor(t=!1){super(!0,t)}set(t,e){return!0}deleteProperty(t,e){return!0}}const fe=new ue,he=new le,de=new ue(!0),pe=t=>t,ge=t=>Reflect.getPrototypeOf(t);function _e(t){return function(...e){return"delete"!==t&&("clear"===t?void 0:this)}}function me(t,e){const n=function(t,e){const n={get(n){const r=this.__v_raw,i=Ce(r),o=Ce(n);t||(Y(n,o)&&Gt(i,0,n),Gt(i,0,o));const{has:a}=ge(i),s=e?pe:t?De:Ie;return a.call(i,n)?s(r.get(n)):a.call(i,o)?s(r.get(o)):void(r!==i&&r.get(n))},get size(){const e=this.__v_raw;return!t&&Gt(Ce(e),0,Ht),e.size},has(e){const n=this.__v_raw,r=Ce(n),i=Ce(e);return t||(Y(e,i)&&Gt(r,0,e),Gt(r,0,i)),e===i?n.has(e):n.has(e)||n.has(i)},forEach(n,r){const i=this,o=i.__v_raw,a=Ce(o),s=e?pe:t?De:Ie;return!t&&Gt(a,0,Ht),o.forEach((t,e)=>n.call(r,s(t),s(e),i))}};return w(n,t?{add:_e("add"),set:_e("set"),delete:_e("delete"),clear:_e("clear")}:{add(t){const n=Ce(this),r=ge(n),i=Ce(t),o=e||Ne(t)||ke(t)?t:i;return r.has.call(n,o)||Y(t,o)&&r.has.call(n,t)||Y(i,o)&&r.has.call(n,i)||(n.add(o),Wt(n,"add",o,o)),this},set(t,n){e||Ne(n)||ke(n)||(n=Ce(n));const r=Ce(this),{has:i,get:o}=ge(r);let a=i.call(r,t);a||(t=Ce(t),a=i.call(r,t));const s=o.call(r,t);return r.set(t,n),a?Y(n,s)&&Wt(r,"set",t,n):Wt(r,"add",t,n),this},delete(t){const e=Ce(this),{has:n,get:r}=ge(e);let i=n.call(e,t);i||(t=Ce(t),i=n.call(e,t)),r&&r.call(e,t);const o=e.delete(t);return i&&Wt(e,"delete",t,void 0),o},clear(){const t=Ce(this),e=0!==t.size,n=t.clear();return e&&Wt(t,"clear",void 0,void 0),n}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=function(t,e,n){return function(...r){const i=this.__v_raw,o=Ce(i),a=O(o),s="entries"===t||t===Symbol.iterator&&a,c="keys"===t&&a,u=i[t](...r),l=n?pe:e?De:Ie;return!e&&Gt(o,0,c?qt:Ht),w(Object.create(u),{next(){const{value:t,done:e}=u.next();return e?{value:t,done:e}:{value:s?[l(t[0]),l(t[1])]:l(t),done:e}}})}}(r,t,e)}),n}(t,e);return(e,r,i)=>"__v_isReactive"===r?!t:"__v_isReadonly"===r?t:"__v_raw"===r?e:Reflect.get(T(n,r)&&r in e?n:e,r,i)}const ye={get:me(!1,!1)},ve={get:me(!1,!0)},be={get:me(!0,!1)},we=new WeakMap,xe=new WeakMap,Ee=new WeakMap,Te=new WeakMap;function Se(t){return ke(t)?t:Ae(t,!1,fe,ye,we)}function Oe(t){return Ae(t,!0,he,be,Ee)}function Ae(t,e,n,r,i){if(!C(t))return t;if(t.__v_raw&&(!e||!t.__v_isReactive))return t;if(t.__v_skip||!Object.isExtensible(t))return t;const o=i.get(t);if(o)return o;const a=function(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(D(t).slice(8,-1));if(0===a)return t;const s=new Proxy(t,2===a?r:n);return i.set(t,s),s}function Me(t){return ke(t)?Me(t.__v_raw):!(!t||!t.__v_isReactive)}function ke(t){return!(!t||!t.__v_isReadonly)}function Ne(t){return!(!t||!t.__v_isShallow)}function Pe(t){return!!t&&!!t.__v_raw}function Ce(t){const e=t&&t.__v_raw;return e?Ce(e):t}function Re(t){return!T(t,"__v_skip")&&Object.isExtensible(t)&&W(t,"__v_skip",!0),t}const Ie=t=>C(t)?Se(t):t,De=t=>C(t)?Oe(t):t;function Ue(t){return!!t&&!0===t.__v_isRef}function je(t){return n=!1,Ue(e=t)?e:new Le(e,n);var e,n}class Le{constructor(t,e){this.dep=new Ft,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=e?t:Ce(t),this._value=e?t:Ie(t),this.__v_isShallow=e}get value(){return this.dep.track(),this._value}set value(t){const e=this._rawValue,n=this.__v_isShallow||Ne(t)||ke(t);t=n?t:Ce(t),Y(t,e)&&(this._rawValue=t,this._value=n?t:Ie(t),this.dep.trigger())}}function Ve(t){return Ue(t)?t.value:t}const $e={get:(t,e,n)=>"__v_raw"===e?t:Ve(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const i=t[e];return Ue(i)&&!Ue(n)?(i.value=n,!0):Reflect.set(t,e,n,r)}};function Fe(t){return Me(t)?t:new Proxy(t,$e)}class ze{constructor(t,e,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=P(e)?e:String(e),this._raw=Ce(t);let r=!0,i=t;if(!S(t)||P(this._key)||!j(this._key))do{r=!Pe(i)||Ne(i)}while(r&&(i=i.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=Ve(t)),this._value=void 0===t?this._defaultValue:t}set value(t){if(this._shallow&&Ue(this._raw[this._key])){const e=this._object[this._key];if(Ue(e))return void(e.value=t)}this._object[this._key]=t}get dep(){return function(t,e){const n=Bt.get(t);return n&&n.get(e)}(this._raw,this._key)}}function Be(t,e,n){return new ze(t,e,n)}class He{constructor(t,e,n){this.fn=t,this.setter=e,this._value=void 0,this.dep=new Ft(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Vt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!e,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags||_t===this))return St(this,!0),!0}get value(){const t=this.dep.track();return Pt(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}const qe={},Ye=new WeakMap;let Ge;function We(t,e=1/0,n){if(e<=0||!C(t)||t.__v_skip)return t;if(((n=n||new Map).get(t)||0)>=e)return t;if(n.set(t,e),e--,Ue(t))We(t.value,e,n);else if(S(t))for(let r=0;r<t.length;r++)We(t[r],e,n);else if(A(t)||O(t))t.forEach(t=>{We(t,e,n)});else if(U(t)){for(const r in t)We(t[r],e,n);for(const r of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,r)&&We(t[r],e,n)}return t}function Ke(t,e,n,r){try{return r?t(...r):t()}catch(t){Je(t,e,n)}}function Xe(t,e,n,r){if(k(t)){const i=Ke(t,e,n,r);return i&&R(i)&&i.catch(t=>{Je(t,e,n)}),i}if(S(t)){const i=[];for(let o=0;o<t.length;o++)i.push(Xe(t[o],e,n,r));return i}}function Je(t,e,n,r=!0){e&&e.vnode;const{errorHandler:i,throwUnhandledErrorInProduction:o}=e&&e.appContext.config||g;if(e){let r=e.parent;const o=e.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){const e=r.ec;if(e)for(let n=0;n<e.length;n++)if(!1===e[n](t,o,a))return;r=r.parent}if(i)return Ut(),Ke(i,null,10,[t,o,a]),void jt()}!function(t,e,n,r=!0,i=!1){if(i)throw t;console.error(t)}(t,0,0,r,o)}const Ze=[];let Qe=-1;const tn=[];let en=null,nn=0;const rn=Promise.resolve();let on=null;function an(t){const e=on||rn;return t?e.then(this?t.bind(this):t):e}function sn(t){if(!(1&t.flags)){const e=fn(t),n=Ze[Ze.length-1];!n||!(2&t.flags)&&e>=fn(n)?Ze.push(t):Ze.splice(function(t){let e=Qe+1,n=Ze.length;for(;e<n;){const r=e+n>>>1,i=Ze[r],o=fn(i);o<t||o===t&&2&i.flags?e=r+1:n=r}return e}(e),0,t),t.flags|=1,cn()}}function cn(){on||(on=rn.then(hn))}function un(t,e,n=Qe+1){for(;n<Ze.length;n++){const e=Ze[n];if(e&&2&e.flags){if(t&&e.id!==t.uid)continue;Ze.splice(n,1),n--,4&e.flags&&(e.flags&=-2),e(),4&e.flags||(e.flags&=-2)}}}function ln(t){if(tn.length){const t=[...new Set(tn)].sort((t,e)=>fn(t)-fn(e));if(tn.length=0,en){for(let e=0;e<t.length;e++)en.push(t[e]);return}for(en=t,nn=0;nn<en.length;nn++){const t=en[nn];4&t.flags&&(t.flags&=-2),8&t.flags||t(),t.flags&=-2}en=null,nn=0}}const fn=t=>null==t.id?2&t.flags?-1:1/0:t.id;function hn(t){try{for(Qe=0;Qe<Ze.length;Qe++){const t=Ze[Qe];!t||8&t.flags||(4&t.flags&&(t.flags&=-2),Ke(t,t.i,t.i?15:14),4&t.flags||(t.flags&=-2))}}finally{for(;Qe<Ze.length;Qe++){const t=Ze[Qe];t&&(t.flags&=-2)}Qe=-1,Ze.length=0,ln(),on=null,(Ze.length||tn.length)&&hn(t)}}let dn,pn=[],gn=!1;function _n(t,...e){dn?dn.emit(t,...e):gn||pn.push({event:t,args:e})}function mn(t,e){var n,r;dn=t,dn?(dn.enabled=!0,pn.forEach(({event:t,args:e})=>dn.emit(t,...e)),pn=[]):"undefined"!=typeof window&&window.HTMLElement&&!(null==(r=null==(n=window.navigator)?void 0:n.userAgent)?void 0:r.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(t=>{mn(t,e)}),setTimeout(()=>{dn||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,gn=!0,pn=[])},3e3)):(gn=!0,pn=[])}const yn=wn("component:added"),vn=wn("component:updated"),bn=wn("component:removed");function wn(t){return e=>{_n(t,e.appContext.app,e.uid,e.parent?e.parent.uid:void 0,e)}}let xn=null,En=null;function Tn(t){const e=xn;return xn=t,En=t&&t.type.__scopeId||null,e}function Sn(t,e,n,r){const i=t.dirs,o=e&&e.dirs;for(let a=0;a<i.length;a++){const s=i[a];o&&(s.oldValue=o[a].value);let c=s.dir[r];c&&(Ut(),Xe(c,n,8,[t.el,s,t,e]),jt())}}function On(t,e,n=!1){const r=Vi();if(r||Nr){let i=Nr?Nr._context.provides:r?null==r.parent||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&t in i)return i[t];if(arguments.length>1)return n&&k(e)?e.call(r&&r.proxy):e}}const An=Symbol.for("v-scx");function Mn(t,e,n){return kn(t,e,n)}function kn(t,e,n=g){const{immediate:r,deep:i,flush:o,once:a}=n,s=w({},n),c=e&&r||!e&&"post"!==o;let u;if(Gi)if("sync"===o){const t=On(An);u=t.__watcherHandles||(t.__watcherHandles=[])}else if(!c){const t=()=>{};return t.stop=m,t.resume=m,t.pause=m,t}const l=Li;s.call=(t,e,n)=>Xe(t,l,e,n);let f=!1;"post"===o?s.scheduler=t=>{ti(t,l&&l.suspense)}:"sync"!==o&&(f=!0,s.scheduler=(t,e)=>{e?t():sn(t)}),s.augmentJob=t=>{e&&(t.flags|=4),f&&(t.flags|=2,l&&(t.id=l.uid,t.i=l))};const h=function(t,e,n=g){const{immediate:r,deep:i,once:o,scheduler:a,augmentJob:s,call:c}=n,u=t=>i?t:Ne(t)||!1===i||0===i?We(t,1):We(t);let l,f,h,d,p=!1,_=!1;if(Ue(t)?(f=()=>t.value,p=Ne(t)):Me(t)?(f=()=>u(t),p=!0):S(t)?(_=!0,p=t.some(t=>Me(t)||Ne(t)),f=()=>t.map(t=>Ue(t)?t.value:Me(t)?u(t):k(t)?c?c(t,2):t():void 0)):f=k(t)?e?c?()=>c(t,2):t:()=>{if(h){Ut();try{h()}finally{jt()}}const e=Ge;Ge=l;try{return c?c(t,3,[d]):t(d)}finally{Ge=e}}:m,e&&i){const t=f,e=!0===i?1/0:i;f=()=>We(t(),e)}const y=vt(),v=()=>{l.stop(),y&&y.active&&x(y.effects,l)};if(o&&e){const t=e;e=(...e)=>{const n=t(...e);return v(),n}}let b=_?new Array(t.length).fill(qe):qe;const w=t=>{if(1&l.flags&&(l.dirty||t))if(e){const n=l.run();if(t||i||p||(_?n.some((t,e)=>Y(t,b[e])):Y(n,b))){h&&h();const t=Ge;Ge=l;try{const t=[n,b===qe?void 0:_&&b[0]===qe?[]:b,d];b=n,c?c(e,3,t):e(...t)}finally{Ge=t}}}else l.run()};return s&&s(w),l=new wt(f),l.scheduler=a?()=>a(w,!1):w,d=t=>function(t,e=!1,n=Ge){if(n){let e=Ye.get(n);e||Ye.set(n,e=[]),e.push(t)}}(t,!1,l),h=l.onStop=()=>{const t=Ye.get(l);if(t){if(c)c(t,4);else for(const e of t)e();Ye.delete(l)}},e?r?w(!0):b=l.run():a?a(w.bind(null,!0),!0):l.run(),v.pause=l.pause.bind(l),v.resume=l.resume.bind(l),v.stop=v,v}(t,e,s);return Gi&&(u?u.push(h):c&&h()),h}function Nn(t,e,n){const r=this.proxy,i=N(t)?t.includes(".")?Pn(r,t):()=>r[t]:t.bind(r,r);let o;k(e)?o=e:(o=e.handler,n=e);const a=zi(this),s=kn(i,o.bind(r),n);return a(),s}function Pn(t,e){const n=e.split(".");return()=>{let e=t;for(let t=0;t<n.length&&e;t++)e=e[n[t]];return e}}const Cn=Symbol("_vte"),Rn=t=>t.__isTeleport,In=Symbol("_leaveCb");function Dn(t){if(!Bn(t))return Rn(t.type)&&t.children?function(t){let e=t[0];if(t.length>1){let n=!1;for(const r of t)if(r.type!==fi){e=r,n=!0;break}}return e}(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:n}=t;if(n){if(16&e)return n[0];if(32&e&&k(n.default))return n.default()}}function Un(t,e){if(6&t.shapeFlag&&t.component){t.transition=e;const n=t.component.subTree;Un(Rn(n.type)&&Dn(n)||n,e)}else 128&t.shapeFlag?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function jn(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Ln(t,e){let n;return!(!(n=Object.getOwnPropertyDescriptor(t,e))||n.configurable)}const Vn=new WeakMap;function $n(t,e,n,r,i=!1){if(S(t))return void t.forEach((t,o)=>$n(t,e&&(S(e)?e[o]:e),n,r,i));if(zn(r)&&!i)return void(512&r.shapeFlag&&r.type.__asyncResolved&&r.component.subTree.component&&$n(t,e,n,r.component.subTree));const o=4&r.shapeFlag?Ji(r.component):r.el,a=i?null:o,{i:s,r:c}=t,u=e&&e.r,l=s.refs===g?s.refs={}:s.refs,f=s.setupState,h=Ce(f),d=f===g?y:t=>!Ln(l,t)&&T(h,t),p=(t,e)=>!e||!Ln(l,e);if(null!=u&&u!==c)if(Fn(e),N(u))l[u]=null,d(u)&&(f[u]=null);else if(Ue(u)){const t=e;p(0,t.k)&&(u.value=null),t.k&&(l[t.k]=null)}if(k(c))Ke(c,s,12,[a,l]);else{const e=N(c),r=Ue(c);if(e||r){const s=()=>{if(t.f){const n=e?d(c)?f[c]:l[c]:p()||!t.k?c.value:l[t.k];if(i)S(n)&&x(n,o);else if(S(n))n.includes(o)||n.push(o);else if(e)l[c]=[o],d(c)&&(f[c]=l[c]);else{const e=[o];p(0,t.k)&&(c.value=e),t.k&&(l[t.k]=e)}}else e?(l[c]=a,d(c)&&(f[c]=a)):r&&(p(0,t.k)&&(c.value=a),t.k&&(l[t.k]=a))};if(a){const e=()=>{s(),Vn.delete(t)};e.id=-1,Vn.set(t,e),ti(e,n)}else Fn(t),s()}}}function Fn(t){const e=Vn.get(t);e&&(e.flags|=8,Vn.delete(t))}J().requestIdleCallback,J().cancelIdleCallback;const zn=t=>!!t.type.__asyncLoader,Bn=t=>t.type.__isKeepAlive;function Hn(t,e){Yn(t,"a",e)}function qn(t,e){Yn(t,"da",e)}function Yn(t,e,n=Li){const r=t.__wdc||(t.__wdc=()=>{let e=n;for(;e;){if(e.isDeactivated)return;e=e.parent}return t()});if(Wn(e,r,n),n){let t=n.parent;for(;t&&t.parent;)Bn(t.parent.vnode)&&Gn(r,e,n,t),t=t.parent}}function Gn(t,e,n,r){const i=Wn(e,t,r,!0);er(()=>{x(r[e],i)},n)}function Wn(t,e,n=Li,r=!1){if(n){const i=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...r)=>{Ut();const i=zi(n),o=Xe(e,n,t,r);return i(),jt(),o});return r?i.unshift(o):i.push(o),o}}const Kn=t=>(e,n=Li)=>{Gi&&"sp"!==t||Wn(t,(...t)=>e(...t),n)},Xn=Kn("bm"),Jn=Kn("m"),Zn=Kn("bu"),Qn=Kn("u"),tr=Kn("bum"),er=Kn("um"),nr=Kn("sp"),rr=Kn("rtg"),ir=Kn("rtc");function or(t,e=Li){Wn("ec",t,e)}const ar="components";function sr(t,e){return function(t,e,n=!0,r=!1){const i=xn||Li;if(i){const n=i.type;if(t===ar){const t=function(t,e=!0){return k(t)?t.displayName||t.name:t.name||e&&t.__name}(n,!1);if(t&&(t===e||t===F(e)||t===H(F(e))))return n}const o=ur(i[t]||n[t],e)||ur(i.appContext[t],e);return!o&&r?n:o}}(ar,t,!0,e)||t}const cr=Symbol.for("v-ndc");function ur(t,e){return t&&(t[e]||t[F(e)]||t[H(F(e))])}function lr(t,e,n,r){let i;const o=n&&n[r],a=S(t);if(a||N(t)){let n=!1,r=!1;a&&Me(t)&&(n=!Ne(t),r=ke(t),t=Xt(t)),i=new Array(t.length);for(let a=0,s=t.length;a<s;a++)i[a]=e(n?r?De(Ie(t[a])):Ie(t[a]):t[a],a,void 0,o&&o[a])}else if("number"==typeof t){i=new Array(t);for(let n=0;n<t;n++)i[n]=e(n+1,n,void 0,o&&o[n])}else if(C(t))if(t[Symbol.iterator])i=Array.from(t,(t,n)=>e(t,n,void 0,o&&o[n]));else{const n=Object.keys(t);i=new Array(n.length);for(let r=0,a=n.length;r<a;r++){const a=n[r];i[r]=e(t[a],a,r,o&&o[r])}}else i=[];return n&&(n[r]=i),i}const fr=t=>t?Hi(t)?Ji(t):fr(t.parent):null,hr=w(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>fr(t.parent),$root:t=>fr(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>__VUE_OPTIONS_API__?vr(t):t.type,$forceUpdate:t=>t.f||(t.f=()=>{sn(t.update)}),$nextTick:t=>t.n||(t.n=an.bind(t.proxy)),$watch:t=>__VUE_OPTIONS_API__?Nn.bind(t):m}),dr=(t,e)=>t!==g&&!t.__isScriptSetup&&T(t,e),pr={get({_:t},e){if("__v_skip"===e)return!0;const{ctx:n,setupState:r,data:i,props:o,accessCache:a,type:s,appContext:c}=t;if("$"!==e[0]){const t=a[e];if(void 0!==t)switch(t){case 1:return r[e];case 2:return i[e];case 4:return n[e];case 3:return o[e]}else{if(dr(r,e))return a[e]=1,r[e];if(__VUE_OPTIONS_API__&&i!==g&&T(i,e))return a[e]=2,i[e];if(T(o,e))return a[e]=3,o[e];if(n!==g&&T(n,e))return a[e]=4,n[e];__VUE_OPTIONS_API__&&!_r||(a[e]=0)}}const u=hr[e];let l,f;return u?("$attrs"===e&&Gt(t.attrs,0,""),u(t)):(l=s.__cssModules)&&(l=l[e])?l:n!==g&&T(n,e)?(a[e]=4,n[e]):(f=c.config.globalProperties,T(f,e)?f[e]:void 0)},set({_:t},e,n){const{data:r,setupState:i,ctx:o}=t;return dr(i,e)?(i[e]=n,!0):__VUE_OPTIONS_API__&&r!==g&&T(r,e)?(r[e]=n,!0):!(T(t.props,e)||"$"===e[0]&&e.slice(1)in t||(o[e]=n,0))},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:i,props:o,type:a}},s){let c;return!!(n[s]||__VUE_OPTIONS_API__&&t!==g&&"$"!==s[0]&&T(t,s)||dr(e,s)||T(o,s)||T(r,s)||T(hr,s)||T(i.config.globalProperties,s)||(c=a.__cssModules)&&c[s])},defineProperty(t,e,n){return null!=n.get?t._.accessCache[e]=0:T(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function gr(t){return S(t)?t.reduce((t,e)=>(t[e]=null,t),{}):t}let _r=!0;function mr(t,e,n){Xe(S(t)?t.map(t=>t.bind(e.proxy)):t.bind(e.proxy),e,n)}function yr(t,e,n,r){let i=r.includes(".")?Pn(n,r):()=>n[r];if(N(t)){const n=e[t];k(n)&&Mn(i,n)}else if(k(t))Mn(i,t.bind(n));else if(C(t))if(S(t))t.forEach(t=>yr(t,e,n,r));else{const r=k(t.handler)?t.handler.bind(n):e[t.handler];k(r)&&Mn(i,r,t)}}function vr(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:i,optionsCache:o,config:{optionMergeStrategies:a}}=t.appContext,s=o.get(e);let c;return s?c=s:i.length||n||r?(c={},i.length&&i.forEach(t=>br(c,t,a,!0)),br(c,e,a)):c=e,C(e)&&o.set(e,c),c}function br(t,e,n,r=!1){const{mixins:i,extends:o}=e;o&&br(t,o,n,!0),i&&i.forEach(e=>br(t,e,n,!0));for(const i in e)if(r&&"expose"===i);else{const r=wr[i]||n&&n[i];t[i]=r?r(t[i],e[i]):e[i]}return t}const wr={data:xr,props:Or,emits:Or,methods:Sr,computed:Sr,beforeCreate:Tr,created:Tr,beforeMount:Tr,mounted:Tr,beforeUpdate:Tr,updated:Tr,beforeDestroy:Tr,beforeUnmount:Tr,destroyed:Tr,unmounted:Tr,activated:Tr,deactivated:Tr,errorCaptured:Tr,serverPrefetch:Tr,components:Sr,directives:Sr,watch:function(t,e){if(!t)return e;if(!e)return t;const n=w(Object.create(null),t);for(const r in e)n[r]=Tr(t[r],e[r]);return n},provide:xr,inject:function(t,e){return Sr(Er(t),Er(e))}};function xr(t,e){return e?t?function(){return w(k(t)?t.call(this,this):t,k(e)?e.call(this,this):e)}:e:t}function Er(t){if(S(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Tr(t,e){return t?[...new Set([].concat(t,e))]:e}function Sr(t,e){return t?w(Object.create(null),t,e):e}function Or(t,e){return t?S(t)&&S(e)?[...new Set([...t,...e])]:w(Object.create(null),gr(t),gr(null!=e?e:{})):e}function Ar(){return{app:null,config:{isNativeTag:y,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Mr=0;function kr(t,e){return function(n,r=null){k(n)||(n=w({},n)),null==r||C(r)||(r=null);const i=Ar(),o=new WeakSet,a=[];let s=!1;const c=i.app={_uid:Mr++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:Qi,get config(){return i.config},set config(t){},use:(t,...e)=>(o.has(t)||(t&&k(t.install)?(o.add(t),t.install(c,...e)):k(t)&&(o.add(t),t(c,...e))),c),mixin:t=>(__VUE_OPTIONS_API__&&(i.mixins.includes(t)||i.mixins.push(t)),c),component:(t,e)=>e?(i.components[t]=e,c):i.components[t],directive:(t,e)=>e?(i.directives[t]=e,c):i.directives[t],mount(o,a,u){if(!s){const l=c._ceVNode||Ai(n,r);return l.appContext=i,!0===u?u="svg":!1===u&&(u=void 0),a&&e?e(l,o):t(l,o,u),s=!0,c._container=o,o.__vue_app__=c,__VUE_PROD_DEVTOOLS__&&(c._instance=l.component,function(t,e){_n("app:init",t,e,{Fragment:ui,Text:li,Comment:fi,Static:hi})}(c,Qi)),Ji(l.component)}},onUnmount(t){a.push(t)},unmount(){s&&(Xe(a,c._instance,16),t(null,c._container),__VUE_PROD_DEVTOOLS__&&(c._instance=null,function(t){_n("app:unmount",t)}(c)),delete c._container.__vue_app__)},provide:(t,e)=>(i.provides[t]=e,c),runWithContext(t){const e=Nr;Nr=c;try{return t()}finally{Nr=e}}};return c}}let Nr=null;function Pr(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||g;let i=n;const o=e.startsWith("update:"),a=o&&((t,e)=>"modelValue"===e||"model-value"===e?t.modelModifiers:t[`${e}Modifiers`]||t[`${F(e)}Modifiers`]||t[`${B(e)}Modifiers`])(r,e.slice(7));let s;a&&(a.trim&&(i=n.map(t=>N(t)?t.trim():t)),a.number&&(i=i.map(K))),__VUE_PROD_DEVTOOLS__&&function(t,e,n){_n("component:emit",t.appContext.app,t,e,n)}(t,e,i);let c=r[s=q(e)]||r[s=q(F(e))];!c&&o&&(c=r[s=q(B(e))]),c&&Xe(c,t,6,i);const u=r[s+"Once"];if(u){if(t.emitted){if(t.emitted[s])return}else t.emitted={};t.emitted[s]=!0,Xe(u,t,6,i)}}const Cr=new WeakMap;function Rr(t,e,n=!1){const r=__VUE_OPTIONS_API__&&n?Cr:e.emitsCache,i=r.get(t);if(void 0!==i)return i;const o=t.emits;let a={},s=!1;if(__VUE_OPTIONS_API__&&!k(t)){const r=t=>{const n=Rr(t,e,!0);n&&(s=!0,w(a,n))};!n&&e.mixins.length&&e.mixins.forEach(r),t.extends&&r(t.extends),t.mixins&&t.mixins.forEach(r)}return o||s?(S(o)?o.forEach(t=>a[t]=null):w(a,o),C(t)&&r.set(t,a),a):(C(t)&&r.set(t,null),null)}function Ir(t,e){return!(!t||!v(e))&&(e="Once"===(e=e.slice(2))?e:e.replace(/Once$/,""),T(t,e[0].toLowerCase()+e.slice(1))||T(t,B(e))||T(t,e))}function Dr(t){const{type:e,vnode:n,proxy:r,withProxy:i,propsOptions:[o],slots:a,attrs:s,emit:c,render:u,renderCache:l,props:f,data:h,setupState:d,ctx:p,inheritAttrs:g}=t,_=Tn(t);let m,y;try{if(4&n.shapeFlag){const t=i||r,e=t;m=Pi(u.call(e,t,l,f,d,h,p)),y=s}else{const t=e;m=Pi(t.length>1?t(f,{attrs:s,slots:a,emit:c}):t(f,null)),y=e.props?s:Ur(s)}}catch(e){di.length=0,Je(e,t,1),m=Ai(fi)}let v=m;if(y&&!1!==g){const t=Object.keys(y),{shapeFlag:e}=v;t.length&&7&e&&(o&&t.some(b)&&(y=jr(y,o)),v=Mi(v,y,!1,!0))}return n.dirs&&(v=Mi(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&Un(Rn(v.type)&&Dn(v)||v,n.transition),m=v,Tn(_),m}const Ur=t=>{let e;for(const n in t)("class"===n||"style"===n||v(n))&&((e||(e={}))[n]=t[n]);return e},jr=(t,e)=>{const n={};for(const r in t)b(r)&&r.slice(9)in e||(n[r]=t[r]);return n};function Lr(t,e,n){const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!0;for(let i=0;i<r.length;i++){const o=r[i];if(Vr(e,t,o)&&!Ir(n,o))return!0}return!1}function Vr(t,e,n){const r=t[n],i=e[n];return"style"===n&&C(r)&&C(i)?!lt(r,i):r!==i}const $r={},Fr=()=>Object.create($r),zr=t=>Object.getPrototypeOf(t)===$r;function Br(t,e,n,r){const[i,o]=t.propsOptions;let a,s=!1;if(e)for(let c in e){if(L(c))continue;const u=e[c];let l;i&&T(i,l=F(c))?o&&o.includes(l)?(a||(a={}))[l]=u:n[l]=u:Ir(t.emitsOptions,c)||c in r&&u===r[c]||(r[c]=u,s=!0)}if(o){const e=Ce(n),r=a||g;for(let a=0;a<o.length;a++){const s=o[a];n[s]=Hr(i,e,s,r[s],t,!T(r,s))}}return s}function Hr(t,e,n,r,i,o){const a=t[n];if(null!=a){const t=T(a,"default");if(t&&void 0===r){const t=a.default;if(a.type!==Function&&!a.skipFactory&&k(t)){const{propsDefaults:o}=i;if(n in o)r=o[n];else{const a=zi(i);r=o[n]=t.call(null,e),a()}}else r=t;i.ce&&i.ce._setProp(n,r)}a[0]&&(o&&!t?r=!1:!a[1]||""!==r&&r!==B(n)||(r=!0))}return r}const qr=new WeakMap;function Yr(t,e,n=!1){const r=__VUE_OPTIONS_API__&&n?qr:e.propsCache,i=r.get(t);if(i)return i;const o=t.props,a={},s=[];let c=!1;if(__VUE_OPTIONS_API__&&!k(t)){const r=t=>{c=!0;const[n,r]=Yr(t,e,!0);w(a,n),r&&s.push(...r)};!n&&e.mixins.length&&e.mixins.forEach(r),t.extends&&r(t.extends),t.mixins&&t.mixins.forEach(r)}if(!o&&!c)return C(t)&&r.set(t,_),_;if(S(o))for(let t=0;t<o.length;t++){const e=F(o[t]);Gr(e)&&(a[e]=g)}else if(o)for(const t in o){const e=F(t);if(Gr(e)){const n=o[t],r=a[e]=S(n)||k(n)?{type:n}:w({},n),i=r.type;let c=!1,u=!0;if(S(i))for(let t=0;t<i.length;++t){const e=i[t],n=k(e)&&e.name;if("Boolean"===n){c=!0;break}"String"===n&&(u=!1)}else c=k(i)&&"Boolean"===i.name;r[0]=c,r[1]=u,(c||T(r,"default"))&&s.push(e)}}const u=[a,s];return C(t)&&r.set(t,u),u}function Gr(t){return"$"!==t[0]&&!L(t)}const Wr=t=>"_"===t||"_ctx"===t||"$stable"===t,Kr=t=>S(t)?t.map(Pi):[Pi(t)],Xr=(t,e,n)=>{if(e._n)return e;const r=function(t,e=xn){if(!e)return t;if(t._n)return t;const n=(...r)=>{n._d&&yi(-1);const i=Tn(e),o=di.length;let a;try{a=t(...r)}finally{for(let t=di.length;t>o;t--)_i();Tn(i),n._d&&yi(1)}return __VUE_PROD_DEVTOOLS__&&vn(e),a};return n._n=!0,n._c=!0,n._d=!0,n}((...t)=>Kr(e(...t)),n);return r._c=!1,r},Jr=(t,e,n)=>{const r=t._ctx;for(const n in t){if(Wr(n))continue;const i=t[n];if(k(i))e[n]=Xr(0,i,r);else if(null!=i){const t=Kr(i);e[n]=()=>t}}},Zr=(t,e)=>{const n=Kr(e);t.slots.default=()=>n},Qr=(t,e,n)=>{for(const r in e)!n&&Wr(r)||(t[r]=e[r])},ti=function(t,e){e&&e.pendingBranch?S(t)?e.effects.push(...t):e.effects.push(t):function(t){if(S(t))for(let e=0;e<t.length;e++)tn.push(t[e]);else en&&-1===t.id?en.splice(nn+1,0,t):1&t.flags||(tn.push(t),t.flags|=1);cn()}(t)};function ei(t,e){"boolean"!=typeof __VUE_OPTIONS_API__&&(J().__VUE_OPTIONS_API__=!0),"boolean"!=typeof __VUE_PROD_DEVTOOLS__&&(J().__VUE_PROD_DEVTOOLS__=!1),"boolean"!=typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&(J().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1);const n=J();n.__VUE__=!0,__VUE_PROD_DEVTOOLS__&&mn(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:r,remove:i,patchProp:o,createElement:a,createText:s,createComment:c,setText:u,setElementText:l,parentNode:f,nextSibling:h,setScopeId:d=m,insertStaticContent:p}=t,y=(t,e,n,r=null,i=null,o=null,a=void 0,s=null,c=!!e.dynamicChildren)=>{if(t===e)return;t&&!Ei(t,e)&&(r=Z(t),H(t,i,o,!0),t=null),-2===e.patchFlag&&(c=!1,e.dynamicChildren=null),e.dynamicChildren&&t&&t.dynamicChildren&&t.dynamicChildren.hasOnce&&(e.dynamicChildren===_&&(e.dynamicChildren=[]),e.dynamicChildren.hasOnce=!0);const{type:u,ref:l,shapeFlag:f}=e;switch(u){case li:v(t,e,n,r);break;case fi:b(t,e,n,r);break;case hi:null==t&&w(e,n,r,a);break;case ui:N(t,e,n,r,i,o,a,s,c);break;default:1&f?x(t,e,n,r,i,o,a,s,c):6&f?P(t,e,n,r,i,o,a,s,c):(64&f||128&f)&&u.process(t,e,n,r,i,o,a,s,c,et)}null!=l&&i?$n(l,t&&t.ref,o,e||t,!e):null==l&&t&&null!=t.ref&&$n(t.ref,null,o,t,!0)},v=(t,e,n,i)=>{if(null==t)r(e.el=s(e.children),n,i);else{const n=e.el=t.el;e.children!==t.children&&u(n,e.children)}},b=(t,e,n,i)=>{null==t?r(e.el=c(e.children||""),n,i):e.el=t.el},w=(t,e,n,r)=>{[t.el,t.anchor]=p(t.children,e,n,r,t.el,t.anchor)},x=(t,e,n,r,i,o,a,s,c)=>{if("svg"===e.type?a="svg":"math"===e.type&&(a="mathml"),null==t)E(e,n,r,i,o,a,s,c);else{const n=t.el&&t.el._isVueCE?t.el:null;try{n&&n._beginPatch(),A(t,e,i,o,a,s,c)}finally{n&&n._endPatch()}}},E=(t,e,n,i,s,c,u,f)=>{let h,d;const{props:p,shapeFlag:g,transition:_,dirs:m}=t;if(h=t.el=a(t.type,c,p&&p.is,p),8&g?l(h,t.children):16&g&&O(t.children,h,null,i,s,ni(t,c),u,f),m&&Sn(t,null,i,"created"),S(h,t,t.scopeId,u,i),p){for(const t in p)"value"===t||L(t)||o(h,t,null,p[t],c,i);"value"in p&&o(h,"value",null,p.value,c),(d=p.onVnodeBeforeMount)&&Di(d,i,t)}__VUE_PROD_DEVTOOLS__&&(W(h,"__vnode",t,!0),W(h,"__vueParentComponent",i,!0)),m&&Sn(t,null,i,"beforeMount");const y=function(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}(s,_);y&&_.beforeEnter(h),r(h,e,n),((d=p&&p.onVnodeMounted)||y||m)&&ti(()=>{try{d&&Di(d,i,t),y&&_.enter(h),m&&Sn(t,null,i,"mounted")}finally{}},s)},S=(t,e,n,r,i)=>{if(n&&d(t,n),r)for(let e=0;e<r.length;e++)d(t,r[e]);if(i){let n=i.subTree;if(e===n||ci(n.type)&&(n.ssContent===e||n.ssFallback===e)){const e=i.vnode;S(t,e,e.scopeId,e.slotScopeIds,i.parent)}}},O=(t,e,n,r,i,o,a,s,c=0)=>{for(let u=c;u<t.length;u++){const c=t[u]=s?Ci(t[u]):Pi(t[u]);y(null,c,e,n,r,i,o,a,s)}},A=(t,e,n,r,i,a,s)=>{const c=e.el=t.el;__VUE_PROD_DEVTOOLS__&&(c.__vnode=e);let{patchFlag:u,dynamicChildren:f,dirs:h}=e;u|=16&t.patchFlag;const d=t.props||g,p=e.props||g;let _;if(n&&ri(n,!1),(_=p.onVnodeBeforeUpdate)&&Di(_,n,e,t),h&&Sn(e,t,n,"beforeUpdate"),n&&ri(n,!0),!f||t.dynamicChildren&&t.dynamicChildren.length===f.length||(u=0,s=!1,f=null),(d.innerHTML&&null==p.innerHTML||d.textContent&&null==p.textContent)&&l(c,""),f?M(t.dynamicChildren,f,c,n,r,ni(e,i),a):s||j(t,e,c,null,n,r,ni(e,i),a,!1),u>0){if(16&u)k(c,d,p,n,i);else if(2&u&&d.class!==p.class&&o(c,"class",null,p.class,i),4&u&&o(c,"style",d.style,p.style,i),8&u){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const r=t[e],a=d[r],s=p[r];s===a&&"value"!==r||o(c,r,a,s,i,n)}}1&u&&t.children!==e.children&&l(c,e.children)}else s||null!=f||k(c,d,p,n,i);((_=p.onVnodeUpdated)||h)&&ti(()=>{_&&Di(_,n,e,t),h&&Sn(e,t,n,"updated")},r)},M=(t,e,n,r,i,o,a)=>{for(let s=0;s<e.length;s++){const c=t[s],u=e[s],l=c.el&&(c.type===ui||!Ei(c,u)||198&c.shapeFlag)?f(c.el):n;y(c,u,l,null,r,i,o,a,!0)}},k=(t,e,n,r,i)=>{if(e!==n){if(e!==g)for(const a in e)L(a)||a in n||o(t,a,e[a],null,i,r);for(const a in n){if(L(a))continue;const s=n[a],c=e[a];s!==c&&"value"!==a&&o(t,a,c,s,i,r)}"value"in n&&o(t,"value",e.value,n.value,i)}},N=(t,e,n,i,o,a,c,u,l)=>{const f=e.el=t?t.el:s(""),h=e.anchor=t?t.anchor:s("");let{patchFlag:d,dynamicChildren:p,slotScopeIds:g}=e;g&&(u=u?u.concat(g):g),null==t?(r(f,n,i),r(h,n,i),O(e.children||[],n,h,o,a,c,u,l)):d>0&&64&d&&p&&t.dynamicChildren&&t.dynamicChildren.length===p.length?(M(t.dynamicChildren,p,n,o,a,c,u),(null!=e.key||o&&e===o.subTree)&&ii(t,e,!0)):j(t,e,n,h,o,a,c,u,l)},P=(t,e,n,r,i,o,a,s,c)=>{e.slotScopeIds=s,null==t?512&e.shapeFlag?i.ctx.activate(e,n,r,a,c):C(e,n,r,i,o,a,c):I(t,e,c)},C=(t,e,n,r,i,o,a)=>{const s=t.component=function(t,e,n){const r=t.type,i=(e?e.appContext:t.appContext)||Ui,o={uid:ji++,vnode:t,type:r,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new mt(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(i.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Yr(r,i),emitsOptions:Rr(r,i),emit:null,emitted:null,propsDefaults:g,inheritAttrs:r.inheritAttrs,ctx:g,data:g,props:g,attrs:g,slots:g,refs:g,setupState:g,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=e?e.root:o,o.emit=Pr.bind(null,o),t.ce&&t.ce(o),o}(t,r,i);if(Bn(t)&&(s.ctx.renderer=et),function(t,e=!1,n=!1){e&&Fi(e);const{props:r,children:i}=t.vnode,o=Hi(t);(function(t,e,n,r=!1){const i={},o=Fr();t.propsDefaults=Object.create(null),Br(t,e,i,o);for(const e in t.propsOptions[0])e in i||(i[e]=void 0);n?t.props=r?i:Ae(i,!1,de,ve,xe):t.type.props?t.props=i:t.props=o,t.attrs=o})(t,r,o,e),((t,e,n)=>{const r=t.slots=Fr();if(32&t.vnode.shapeFlag){const t=e._;t?(Qr(r,e,n),n&&W(r,"_",t,!0)):Jr(e,r)}else e&&Zr(t,e)})(t,i,n||e);const a=o?function(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,pr);const{setup:r}=n;if(r){Ut();const n=t.setupContext=r.length>1?function(t){const e=e=>{t.exposed=e||{}};return{attrs:new Proxy(t.attrs,Xi),slots:t.slots,emit:t.emit,expose:e}}(t):null,i=zi(t),o=Ke(r,t,0,[t.props,n]),a=R(o);if(jt(),i(),!a&&!t.sp||zn(t)||jn(t),a){if(o.then(Bi,Bi),e)return o.then(n=>{Fi(!0);try{Wi(t,n,e)}finally{Fi(!1)}}).catch(e=>{Je(e,t,0)});t.asyncDep=o}else Wi(t,o,e)}else Ki(t,e)}(t,e):void 0;e&&Fi(!1)}(s,!1,a),s.asyncDep){if(i&&i.registerDep(s,D,a),!t.el){const r=s.subTree=Ai(fi);b(null,r,e,n),t.placeholder=r.el}}else D(s,t,e,n,i,o,a)},I=(t,e,n)=>{const r=e.component=t.component;if(function(t,e,n){const{props:r,children:i,component:o}=t,{props:a,children:s,patchFlag:c}=e,u=o.emitsOptions;if(e.dirs||e.transition)return!0;if(!(n&&c>=0))return!(!i&&!s||s&&s.$stable)||r!==a&&(r?!a||Lr(r,a,u):!!a);if(1024&c)return!0;if(16&c)return r?Lr(r,a,u):!!a;if(8&c){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const n=t[e];if(Vr(a,r,n)&&!Ir(u,n))return!0}}return!1}(t,e,n)){if(r.asyncDep&&!r.asyncResolved)return e.el=t.el,void U(r,e,n);r.next=e,r.update()}else e.el=t.el,r.vnode=e},D=(t,e,n,r,i,o,a)=>{t.scope.on();const s=t.effect=new wt(()=>{if(t.isMounted){let{next:e,bu:n,u:r,parent:s,vnode:u}=t;{const n=oi(t);if(n)return e&&(e.el=u.el,U(t,e,a)),void n.asyncDep.then(()=>{ti(()=>{t.isUnmounted||c()},i)})}let l,h=e;ri(t,!1),e?(e.el=u.el,U(t,e,a)):e=u,n&&G(n),(l=e.props&&e.props.onVnodeBeforeUpdate)&&Di(l,s,e,u),ri(t,!0);const d=Dr(t),p=t.subTree;t.subTree=d,y(p,d,f(p.el),Z(p),t,i,o),e.el=d.el,null===h&&function({vnode:t,parent:e,suspense:n},r){for(;e;){const n=e.subTree;if(n.suspense&&n.suspense.activeBranch===t&&(n.suspense.vnode.el=n.el=r,t=n),n!==t)break;(t=e.vnode).el=r,e=e.parent}n&&n.activeBranch===t&&(n.vnode.el=r)}(t,d.el),r&&ti(r,i),(l=e.props&&e.props.onVnodeUpdated)&&ti(()=>Di(l,s,e,u),i),__VUE_PROD_DEVTOOLS__&&vn(t)}else{let a;const{el:s,props:c}=e,{bm:u,m:l,parent:f,root:h,type:d}=t,p=zn(e);if(ri(t,!1),u&&G(u),!p&&(a=c&&c.onVnodeBeforeMount)&&Di(a,f,e),ri(t,!0),s&&rt){const e=()=>{t.subTree=Dr(t),rt(s,t.subTree,t,i,null)};p&&d.__asyncHydrate?d.__asyncHydrate(s,t,e):e()}else{h.ce&&h.ce._hasShadowRoot()&&h.ce._injectChildStyle(d,t.parent?t.parent.type:void 0);const a=t.subTree=Dr(t);y(null,a,n,r,t,i,o),e.el=a.el}if(l&&ti(l,i),!p&&(a=c&&c.onVnodeMounted)){const t=e;ti(()=>Di(a,f,t),i)}(256&e.shapeFlag||f&&zn(f.vnode)&&256&f.vnode.shapeFlag)&&t.a&&ti(t.a,i),t.isMounted=!0,__VUE_PROD_DEVTOOLS__&&yn(t),e=n=r=null}});t.scope.off();const c=t.update=s.run.bind(s),u=t.job=s.runIfDirty.bind(s);u.i=t,u.id=t.uid,s.scheduler=()=>sn(u),ri(t,!0),c()},U=(t,e,n)=>{e.component=t;const r=t.vnode.props;t.vnode=e,t.next=null,function(t,e,n,r){const{props:i,attrs:o,vnode:{patchFlag:a}}=t,s=Ce(i),[c]=t.propsOptions;let u=!1;if(!(r||a>0)||16&a){let r;Br(t,e,i,o)&&(u=!0);for(const o in s)e&&(T(e,o)||(r=B(o))!==o&&T(e,r))||(c?!n||void 0===n[o]&&void 0===n[r]||(i[o]=Hr(c,s,o,void 0,t,!0)):delete i[o]);if(o!==s)for(const t in o)e&&T(e,t)||(delete o[t],u=!0)}else if(8&a){const n=t.vnode.dynamicProps;for(let r=0;r<n.length;r++){let a=n[r];if(Ir(t.emitsOptions,a))continue;const l=e[a];if(c)if(T(o,a))l!==o[a]&&(o[a]=l,u=!0);else{const e=F(a);i[e]=Hr(c,s,e,l,t,!1)}else l!==o[a]&&(o[a]=l,u=!0)}}u&&Wt(t.attrs,"set","")}(t,e.props,r,n),((t,e,n)=>{const{vnode:r,slots:i}=t;let o=!0,a=g;if(32&r.shapeFlag){const t=e._;t?n&&1===t?o=!1:Qr(i,e,n):(o=!e.$stable,Jr(e,i)),a=e}else e&&(Zr(t,e),a={default:1});if(o)for(const t in i)Wr(t)||null!=a[t]||delete i[t]})(t,e.children,n),Ut(),un(t),jt()},j=(t,e,n,r,i,o,a,s,c=!1)=>{const u=t&&t.children,f=t?t.shapeFlag:0,h=e.children,{patchFlag:d,shapeFlag:p}=e;if(d>0){if(128&d)return void $(u,h,n,r,i,o,a,s,c);if(256&d)return void V(u,h,n,r,i,o,a,s,c)}8&p?(16&f&&X(u,i,o),h!==u&&l(n,h)):16&f?16&p?$(u,h,n,r,i,o,a,s,c):X(u,i,o,!0):(8&f&&l(n,""),16&p&&O(h,n,r,i,o,a,s,c))},V=(t,e,n,r,i,o,a,s,c)=>{e=e||_;const u=(t=t||_).length,l=e.length,f=Math.min(u,l);let h;for(h=0;h<f;h++){const r=e[h]=c?Ci(e[h]):Pi(e[h]);y(t[h],r,n,null,i,o,a,s,c)}u>l?X(t,i,o,!0,!1,f):O(e,n,r,i,o,a,s,c,f)},$=(t,e,n,r,i,o,a,s,c)=>{let u=0;const l=e.length;let f=t.length-1,h=l-1;for(;u<=f&&u<=h;){const r=t[u],l=e[u]=c?Ci(e[u]):Pi(e[u]);if(!Ei(r,l))break;y(r,l,n,null,i,o,a,s,c),u++}for(;u<=f&&u<=h;){const r=t[f],u=e[h]=c?Ci(e[h]):Pi(e[h]);if(!Ei(r,u))break;y(r,u,n,null,i,o,a,s,c),f--,h--}if(u>f){if(u<=h){const t=h+1,f=t<l?e[t].el:r;for(;u<=h;)y(null,e[u]=c?Ci(e[u]):Pi(e[u]),n,f,i,o,a,s,c),u++}}else if(u>h)for(;u<=f;)H(t[u],i,o,!0),u++;else{const d=u,p=u,g=new Map;for(u=p;u<=h;u++){const t=e[u]=c?Ci(e[u]):Pi(e[u]);null!=t.key&&g.set(t.key,u)}let m,v=0;const b=h-p+1;let w=!1,x=0;const E=new Array(b);for(u=0;u<b;u++)E[u]=0;for(u=d;u<=f;u++){const r=t[u];if(v>=b){H(r,i,o,!0);continue}let l;if(null!=r.key)l=g.get(r.key);else for(m=p;m<=h;m++)if(0===E[m-p]&&Ei(r,e[m])){l=m;break}void 0===l?H(r,i,o,!0):(E[l-p]=u+1,l>=x?x=l:w=!0,y(r,e[l],n,null,i,o,a,s,c),v++)}const T=w?function(t){const e=t.slice(),n=[0];let r,i,o,a,s;const c=t.length;for(r=0;r<c;r++){const c=t[r];if(0!==c){if(i=n[n.length-1],t[i]<c){e[r]=i,n.push(r);continue}for(o=0,a=n.length-1;o<a;)s=o+a>>1,t[n[s]]<c?o=s+1:a=s;c<t[n[o]]&&(o>0&&(e[r]=n[o-1]),n[o]=r)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=e[a];return n}(E):_;for(m=T.length-1,u=b-1;u>=0;u--){const t=p+u,f=e[t],h=e[t+1],d=t+1<l?h.el||si(h):r;0===E[u]?y(null,f,n,d,i,o,a,s,c):w&&(m<0||u!==T[m]?z(f,n,d,2):m--)}}},z=(t,e,n,o,a=null)=>{const{el:s,type:c,transition:u,children:l,shapeFlag:f}=t;if(6&f)z(t.component.subTree,e,n,o);else if(128&f)t.suspense.move(e,n,o);else if(64&f)c.move(t,e,n,et);else if(c!==ui)if(c!==hi)if(2!==o&&1&f&&u)if(0===o)u.persisted&&!s[In]?r(s,e,n):(u.beforeEnter(s),r(s,e,n),ti(()=>u.enter(s),a));else{const{leave:o,delayLeave:a,afterLeave:c}=u,l=()=>{t.ctx.isUnmounted?i(s):r(s,e,n)},f=()=>{const t=s._isLeaving||!!s[In];s._isLeaving&&s[In](!0),u.persisted&&!t?l():o(s,()=>{l(),c&&c()})};a?a(s,l,f):f()}else r(s,e,n);else(({el:t,anchor:e},n,i)=>{let o;for(;t&&t!==e;)o=h(t),r(t,n,i),t=o;r(e,n,i)})(t,e,n);else{r(s,e,n);for(let t=0;t<l.length;t++)z(l[t],e,n,o);r(t.anchor,e,n)}},H=(t,e,n,r=!1,i=!1)=>{const{type:o,props:a,ref:s,children:c,dynamicChildren:u,shapeFlag:l,patchFlag:f,dirs:h,cacheIndex:d,memo:p}=t;if((-2===f||u&&u.hasOnce)&&(i=!1),null!=s&&(Ut(),$n(s,null,n,t,!0),jt()),null==d||t.ctx&&t.ctx!==e||(e.renderCache[d]=void 0),256&l)return void e.ctx.deactivate(t);const g=1&l&&h,_=!zn(t);let m;if(_&&(m=a&&a.onVnodeBeforeUnmount)&&Di(m,e,t),6&l)K(t.component,n,r);else{if(128&l)return void t.suspense.unmount(n,r);g&&Sn(t,null,e,"beforeUnmount"),64&l?t.type.remove(t,e,n,et,r):u&&!u.hasOnce&&(o!==ui||f>0&&64&f)?X(u,e,n,!1,!0):(o===ui&&384&f||!i&&16&l)&&X(c,e,n),r&&q(t)}const y=null!=p&&null==d;(_&&(m=a&&a.onVnodeUnmounted)||g||y)&&ti(()=>{m&&Di(m,e,t),g&&Sn(t,null,e,"unmounted"),y&&(t.el=null)},n)},q=t=>{const{type:e,el:n,anchor:r,transition:o}=t;if(e===ui)return void Y(n,r);if(e===hi)return(({el:t,anchor:e})=>{let n;for(;t&&t!==e;)n=h(t),i(t),t=n;i(e)})(t),void(o&&!o.persisted&&o.afterLeave&&o.afterLeave());const a=()=>{i(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&t.shapeFlag&&o&&!o.persisted){const{leave:e,delayLeave:r}=o,i=()=>e(n,a);r?r(t.el,a,i):i()}else a()},Y=(t,e)=>{let n;for(;t!==e;)n=h(t),i(t),t=n;i(e)},K=(t,e,n)=>{const{bum:r,scope:i,job:o,subTree:a,um:s,m:c,a:u}=t;var l;ai(c),ai(u),r&&G(r),i.stop(),o?(o.flags|=8,H(a,t,e,n)):t.vnode.el&&a&&(a.transition=t.vnode.transition,H(a,t,e,n)),s&&ti(s,e),ti(()=>{t.isUnmounted=!0},e),__VUE_PROD_DEVTOOLS__&&(l=t,dn&&"function"==typeof dn.cleanupBuffer&&!dn.cleanupBuffer(l)&&bn(l))},X=(t,e,n,r=!1,i=!1,o=0)=>{for(let a=o;a<t.length;a++)H(t[a],e,n,r,i)},Z=t=>{if(6&t.shapeFlag)return Z(t.component.subTree);if(128&t.shapeFlag)return t.suspense.next();const e=h(t.anchor||t.el),n=e&&e[Cn];return n?h(n):e};let Q=!1;const tt=(t,e,n)=>{let r;null==t?e._vnode&&(H(e._vnode,null,null,!0),r=e._vnode.component):y(e._vnode||null,t,e,null,null,null,n),e._vnode=t,Q||(Q=!0,un(r),ln(),Q=!1)},et={p:y,um:H,m:z,r:q,mt:C,mc:O,pc:j,pbc:M,n:Z,o:t};let nt,rt;return e&&([nt,rt]=e(et)),{render:tt,hydrate:nt,createApp:kr(tt,nt)}}function ni({type:t,props:e},n){return"svg"===n&&"foreignObject"===t||"mathml"===n&&"annotation-xml"===t&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function ri({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function ii(t,e,n=!1){const r=t.children,i=e.children;if(S(r)&&S(i))for(let t=0;t<r.length;t++){const e=r[t];let o=i[t];1&o.shapeFlag&&!o.dynamicChildren&&((o.patchFlag<=0||32===o.patchFlag)&&(o=i[t]=Ci(i[t]),o.el=e.el),n||-2===o.patchFlag||ii(e,o)),o.type===li&&(-1===o.patchFlag&&(o=i[t]=Ci(o)),o.el=e.el),o.type!==fi||o.el||(o.el=e.el)}}function oi(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:oi(e)}function ai(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function si(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?si(e.subTree):null}const ci=t=>t.__isSuspense;const ui=Symbol.for("v-fgt"),li=Symbol.for("v-txt"),fi=Symbol.for("v-cmt"),hi=Symbol.for("v-stc"),di=[];let pi=null;function gi(t=!1){di.push(pi=t?null:[])}function _i(){di.pop(),pi=di[di.length-1]||null}let mi=1;function yi(t,e=!1){mi+=t,t<0&&pi&&e&&(pi.hasOnce=!0)}function vi(t){return t.dynamicChildren=mi>0?pi||_:null,_i(),mi>0&&pi&&pi.push(t),t}function bi(t,e,n,r,i,o){return vi(Oi(t,e,n,r,i,o,!0))}function wi(t,e,n,r,i){return vi(Ai(t,e,n,r,i,!0))}function xi(t){return!!t&&!0===t.__v_isVNode}function Ei(t,e){return t.type===e.type&&t.key===e.key}const Ti=({key:t})=>null!=t?t:null,Si=({ref:t,ref_key:e,ref_for:n})=>("number"==typeof t&&(t=""+t),null!=t?N(t)||Ue(t)||k(t)?{i:xn,r:t,k:e,f:!!n}:t:null);function Oi(t,e=null,n=null,r=0,i=null,o=(t===ui?0:1),a=!1,s=!1){const c={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Ti(e),ref:e&&Si(e),scopeId:En,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:xn};return s?(Ri(c,n),128&o&&t.normalize(c)):n&&(c.shapeFlag|=N(n)?8:16),mi>0&&!a&&pi&&(c.patchFlag>0||6&o)&&32!==c.patchFlag&&pi.push(c),c}const Ai=function(t,e=null,n=null,r=0,i=null,o=!1){if(t&&t!==cr||(t=fi),xi(t)){const r=Mi(t,e,!0);return n&&Ri(r,n),mi>0&&!o&&pi&&(6&r.shapeFlag?pi[pi.indexOf(t)]=r:pi.push(r)),r.patchFlag=-2,r}if(a=t,k(a)&&"__vccOpts"in a&&(t=t.__vccOpts),e){e=function(t){return t?Pe(t)||zr(t)?w({},t):t:null}(e);let{class:t,style:n}=e;t&&!N(t)&&(e.class=rt(t)),C(n)&&(Pe(n)&&!S(n)&&(n=w({},n)),e.style=Z(n))}var a;return Oi(t,e,n,r,i,N(t)?1:ci(t)?128:Rn(t)?64:C(t)?4:k(t)?2:0,o,!0)};function Mi(t,e,n=!1,r=!1){const{props:i,ref:o,patchFlag:a,children:s,transition:c}=t,u=e?Ii(i||{},e):i,l={__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&Ti(u),ref:e&&e.ref?n&&o?S(o)?o.concat(Si(e)):[o,Si(e)]:Si(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:s,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==ui?-1===a?16:16|a:a,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:c,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Mi(t.ssContent),ssFallback:t.ssFallback&&Mi(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce,cacheIndex:t.cacheIndex};return c&&r&&Un(l,c.clone(l)),l}function ki(t=" ",e=0){return Ai(li,null,t,e)}function Ni(t="",e=!1){return e?(gi(),wi(fi,null,t)):Ai(fi,null,t)}function Pi(t){return null==t||"boolean"==typeof t?Ai(fi):S(t)?Ai(ui,null,t.slice()):xi(t)?Ci(t):Ai(li,null,String(t))}function Ci(t){return null===t.el&&-1!==t.patchFlag||t.memo?t:Mi(t)}function Ri(t,e){let n=0;const{shapeFlag:r}=t;if(null==e)e=null;else if(S(e))n=16;else if("object"==typeof e){if(65&r){const n=e.default;return void(n&&(n._c&&(n._d=!1),Ri(t,n()),n._c&&(n._d=!0)))}{n=32;const r=e._;r||zr(e)?3===r&&xn&&(1===xn.slots._?e._=1:(e._=2,t.patchFlag|=1024)):e._ctx=xn}}else if(k(e)){if(65&r)return void Ri(t,{default:e});e={default:e,_ctx:xn},n=32}else e=String(e),64&r?(n=16,e=[ki(e)]):n=8;t.children=e,t.shapeFlag|=n}function Ii(...t){const e={};for(let n=0;n<t.length;n++){const r=t[n];for(const t in r)if("class"===t)e.class!==r.class&&(e.class=rt([e.class,r.class]));else if("style"===t)e.style=Z([e.style,r.style]);else if(v(t)){const n=e[t],i=r[t];!i||n===i||S(n)&&n.includes(i)?null!=i||null!=n||b(t)||(e[t]=i):e[t]=n?[].concat(n,i):i}else""!==t&&(e[t]=r[t])}return e}function Di(t,e,n,r=null){Xe(t,e,7,[n,r])}const Ui=Ar();let ji=0;let Li=null;const Vi=()=>Li||xn;let $i,Fi;{const t=J(),e=(e,n)=>{let r;return(r=t[e])||(r=t[e]=[]),r.push(n),t=>{r.length>1?r.forEach(e=>e(t)):r[0](t)}};$i=e("__VUE_INSTANCE_SETTERS__",t=>Li=t),Fi=e("__VUE_SSR_SETTERS__",t=>Gi=t)}const zi=t=>{const e=Li;return $i(t),t.scope.on(),()=>{t.scope.off(),$i(e)}},Bi=()=>{Li&&Li.scope.off(),$i(null)};function Hi(t){return 4&t.vnode.shapeFlag}let qi,Yi,Gi=!1;function Wi(t,e,n){k(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:C(e)&&(__VUE_PROD_DEVTOOLS__&&(t.devtoolsRawSetupState=e),t.setupState=Fe(e)),Ki(t,n)}function Ki(t,e,n){const r=t.type;if(!t.render){if(!e&&qi&&!r.render){const e=r.template||__VUE_OPTIONS_API__&&vr(t).template;if(e){const{isCustomElement:n,compilerOptions:i}=t.appContext.config,{delimiters:o,compilerOptions:a}=r,s=w(w({isCustomElement:n,delimiters:o},i),a);r.render=qi(e,s)}}t.render=r.render||m,Yi&&Yi(t)}if(__VUE_OPTIONS_API__){const e=zi(t);Ut();try{!function(t){const e=vr(t),n=t.proxy,r=t.ctx;_r=!1,e.beforeCreate&&mr(e.beforeCreate,t,"bc");const{data:i,computed:o,methods:a,watch:s,provide:c,inject:u,created:l,beforeMount:f,mounted:h,beforeUpdate:d,updated:p,activated:g,deactivated:_,beforeDestroy:y,beforeUnmount:v,destroyed:b,unmounted:w,render:x,renderTracked:E,renderTriggered:T,errorCaptured:O,serverPrefetch:A,expose:M,inheritAttrs:N,components:P,directives:R,filters:I}=e;if(u&&function(t,e){S(t)&&(t=Er(t));for(const n in t){const r=t[n];let i;i=C(r)?"default"in r?On(r.from||n,r.default,!0):On(r.from||n):On(r),Ue(i)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:t=>i.value=t}):e[n]=i}}(u,r),a)for(const t in a){const e=a[t];k(e)&&(r[t]=e.bind(n))}if(i){const e=i.call(n,n);C(e)&&(t.data=Se(e))}if(_r=!0,o)for(const t in o){const e=o[t],i=k(e)?e.bind(n,n):k(e.get)?e.get.bind(n,n):m,a=!k(e)&&k(e.set)?e.set.bind(n):m,s=Zi({get:i,set:a});Object.defineProperty(r,t,{enumerable:!0,configurable:!0,get:()=>s.value,set:t=>s.value=t})}if(s)for(const t in s)yr(s[t],r,n,t);if(c){const t=k(c)?c.call(n):c;Reflect.ownKeys(t).forEach(e=>{!function(t,e){if(Li){let n=Li.provides;const r=Li.parent&&Li.parent.provides;r===n&&(n=Li.provides=Object.create(r)),n[t]=e}}(e,t[e])})}function D(t,e){S(e)?e.forEach(e=>t(e.bind(n))):e&&t(e.bind(n))}if(l&&mr(l,t,"c"),D(Xn,f),D(Jn,h),D(Zn,d),D(Qn,p),D(Hn,g),D(qn,_),D(or,O),D(ir,E),D(rr,T),D(tr,v),D(er,w),D(nr,A),S(M))if(M.length){const e=t.exposed||(t.exposed={});M.forEach(t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e,enumerable:!0})})}else t.exposed||(t.exposed={});x&&t.render===m&&(t.render=x),null!=N&&(t.inheritAttrs=N),P&&(t.components=P),R&&(t.directives=R),A&&jn(t)}(t)}finally{jt(),e()}}}const Xi={get:(t,e)=>(Gt(t,0,""),t[e])};function Ji(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Fe(Re(t.exposed)),{get:(e,n)=>n in e?e[n]:n in hr?hr[n](t):void 0,has:(t,e)=>e in t||e in hr})):t.proxy}const Zi=(t,e)=>{const n=function(t,e,n=!1){let r,i;return k(t)?r=t:(r=t.get,i=t.set),new He(r,i,n)}(t,0,Gi);return n},Qi="3.5.43";let to;const eo="undefined"!=typeof window&&window.trustedTypes;if(eo)try{to=eo.createPolicy("vue",{createHTML:t=>t})}catch(t){}const no=to?t=>to.createHTML(t):t=>t,ro="undefined"!=typeof document?document:null,io=ro&&ro.createElement("template"),oo={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const i="svg"===e?ro.createElementNS("http://www.w3.org/2000/svg",t):"mathml"===e?ro.createElementNS("http://www.w3.org/1998/Math/MathML",t):n?ro.createElement(t,{is:n}):ro.createElement(t);return"select"===t&&r&&null!=r.multiple&&i.setAttribute("multiple",r.multiple),i},createText:t=>ro.createTextNode(t),createComment:t=>ro.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>ro.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,i,o){const a=n?n.previousSibling:e.lastChild;if(i&&(i===o||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),n),i!==o&&(i=i.nextSibling););else{io.innerHTML=no("svg"===r?`<svg>${t}</svg>`:"mathml"===r?`<math>${t}</math>`:t);const i=io.content;if("svg"===r||"mathml"===r){const t=i.firstChild;for(;t.firstChild;)i.appendChild(t.firstChild);i.removeChild(t)}e.insertBefore(i,n)}return[a?a.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},ao=Symbol("_vtc"),so=Symbol("_vod"),co=Symbol("_vsh"),uo=Symbol(""),lo=/(?:^|;)\s*display\s*:/,fo=/\s*!important$/;function ho(t,e,n){if(S(n))n.forEach(n=>ho(t,e,n));else if(null==n&&(n=""),e.startsWith("--"))fo.test(n)?t.setProperty(e,n.replace(fo,""),"important"):t.setProperty(e,n);else{const r=function(t,e){const n=go[e];if(n)return n;let r=F(e);if("filter"!==r&&r in t)return go[e]=r;r=H(r);for(let n=0;n<po.length;n++){const i=po[n]+r;if(i in t)return go[e]=i}return e}(t,e);fo.test(n)?t.setProperty(B(r),n.replace(fo,""),"important"):t[r]=n}}const po=["Webkit","Moz","ms"],go={};function _o(t,e,n,r){return"TEXTAREA"===t.tagName&&("width"===e||"height"===e)&&N(r)&&n===r}const mo="http://www.w3.org/1999/xlink";function yo(t,e,n,r,i,o=it(e)){r&&e.startsWith("xlink:")?null==n?t.removeAttributeNS(mo,e.slice(6,e.length)):t.setAttributeNS(mo,e,n):null==n||o&&!ot(n)?t.removeAttribute(e):t.setAttribute(e,o?"":P(n)?String(n):n)}function vo(t,e,n,r,i){if("innerHTML"===e||"textContent"===e)return void(null!=n&&(t[e]="innerHTML"===e?no(n):n));const o=t.tagName;if("value"===e&&"PROGRESS"!==o&&!o.includes("-")){const r="OPTION"===o?t.getAttribute("value")||"":t.value,i=null==n?"checkbox"===t.type?"on":"":String(n);return r===i&&"_value"in t||(t.value=i),null==n&&t.removeAttribute(e),void(t._value=n)}let a=!1;if(""===n||null==n){const r=typeof t[e];"boolean"===r?n=ot(n):null==n&&"string"===r?(n="",a=!0):"number"===r&&(n=0,a=!0)}try{t[e]=n}catch(t){}a&&t.removeAttribute(i||e)}const bo=Symbol("_vei");const wo=/(Once|Passive|Capture)$/,xo=/^on:?(?:Once|Passive|Capture)$/;let Eo=0;const To=Promise.resolve(),So=()=>Eo||(To.then(()=>Eo=0),Eo=Date.now()),Oo=t=>111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123;"undefined"!=typeof HTMLElement&&HTMLElement;const Ao=w({patchProp:(t,e,n,r,i,o)=>{const a="svg"===i;"class"===e?function(t,e,n){const r=t[ao];r&&(e=(e?[e,...r]:[...r]).join(" ")),null==e?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}(t,r,a):"style"===e?function(t,e,n){const r=t.style,i=N(n);let o=!1;if(n&&!i){if(e)if(N(e))for(const t of e.split(";")){const e=t.slice(0,t.indexOf(":")).trim();null==n[e]&&ho(r,e,"")}else for(const t in e)null==n[t]&&ho(r,t,"");for(const i in n){"display"===i&&(o=!0);const a=n[i];null!=a?_o(t,i,!N(e)&&e?e[i]:void 0,a)||ho(r,i,a):ho(r,i,"")}}else if(i){if(e!==n){const t=r[uo];t&&(n+=";"+t),r.cssText=n,o=lo.test(n)}}else e&&t.removeAttribute("style");so in t&&(t[so]=o?r.display:"",t[co]&&(r.display="none"))}(t,n,r):v(e)?b(e)||function(t,e,n,r,i=null){const o=t[bo]||(t[bo]={}),a=o[e];if(r&&a)a.value=r;else{const[n,s]=function(t){let e,n;for(;(n=t.match(wo))&&!xo.test(t);)e||(e={}),t=t.slice(0,t.length-n[1].length),e[n[1].toLowerCase()]=!0;return[":"===t[2]?t.slice(3):B(t.slice(2)),e]}(e);if(r){const a=o[e]=function(t,e){const n=t=>{if(t._vts){if(t._vts<=n.attached)return}else t._vts=Date.now();const r=n.value;if(S(r)){const n=t.stopImmediatePropagation;t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0};const i=r.slice(),o=[t];for(let n=0;n<i.length&&!t._stopped;n++){const t=i[n];t&&Xe(t,e,5,o)}}else Xe(r,e,5,[t])};return n.value=t,n.attached=So(),n}(r,i);!function(t,e,n,r){t.addEventListener(e,n,r)}(t,n,a,s)}else a&&(function(t,e,n,r){t.removeEventListener(e,n,r)}(t,n,a,s),o[e]=void 0)}}(t,e,0,r,o):("."===e[0]?(e=e.slice(1),1):"^"===e[0]?(e=e.slice(1),0):function(t,e,n,r){if(r)return"innerHTML"===e||"textContent"===e||!!(e in t&&Oo(e)&&k(n));if("spellcheck"===e||"draggable"===e||"translate"===e||"autocorrect"===e)return!1;if("sandbox"===e&&"IFRAME"===t.tagName)return!1;if("form"===e)return!1;if("list"===e&&"INPUT"===t.tagName)return!1;if("type"===e&&"TEXTAREA"===t.tagName)return!1;if("width"===e||"height"===e){const e=t.tagName;if("IMG"===e||"VIDEO"===e||"CANVAS"===e||"SOURCE"===e)return!1}return(!Oo(e)||!N(n))&&e in t}(t,e,r,a))?(vo(t,e,r),t.tagName.includes("-")||"value"!==e&&"checked"!==e&&"selected"!==e||yo(t,e,r,a,0,"value"!==e)):t._isVueCE&&(function(t,e){const n=t._def.props;if(!n)return!1;const r=F(e);return Array.isArray(n)?n.some(t=>F(t)===r):Object.keys(n).some(t=>F(t)===r)}(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!N(r)))?vo(t,F(e),r,0,e):("true-value"===e?t._trueValue=r:"false-value"===e&&(t._falseValue=r),yo(t,e,r,a))}},oo);let Mo;const ko=(...t)=>{const e=(Mo||(Mo=ei(Ao))).createApp(...t),{mount:n}=e;return e.mount=t=>{const r=function(t){if(N(t))return document.querySelector(t);return t}(t);if(!r)return;const i=e._component;k(i)||i.render||i.template||(i.template=r.innerHTML),1===r.nodeType&&(r.textContent="");const o=n(r,!1,function(t){return t instanceof SVGElement?"svg":"function"==typeof MathMLElement&&t instanceof MathMLElement?"mathml":void 0}(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},e};const No={class:"vis-outer"},Po={key:1},Co={style:{height:"500px",overflow:"auto","font-size":"11px"}},Ro={style:{height:"500px",overflow:"auto","font-size":"11px"}};var Io=Object.create,Do=Object.defineProperty,Uo=Object.getOwnPropertyDescriptor,jo=Object.getOwnPropertyNames,Lo=Object.getPrototypeOf,Vo=Object.prototype.hasOwnProperty,$o=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Fo=(t,e,n)=>(n=null!=t?Io(Lo(t)):{},((t,e,n,r)=>{if(e&&"object"==typeof e||"function"==typeof e)for(var i,o=jo(e),a=0,s=o.length;a<s;a++)i=o[a],Vo.call(t,i)||void 0===i||Do(t,i,{get:(t=>e[t]).bind(null,i),enumerable:!(r=Uo(e,i))||r.enumerable});return t})(!e&&t&&t.__esModule?n:Do(n,"default",{value:t,enumerable:!0}),t));const zo="undefined"!=typeof navigator,Bo="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:void 0!==n.g?n.g:{};void 0!==Bo.chrome&&Bo.chrome.devtools,zo&&(Bo.self,Bo.top),"undefined"!=typeof navigator&&navigator.userAgent?.toLowerCase().includes("electron"),"undefined"!=typeof window&&window.__NUXT__;var Ho=Fo($o((t,e)=>{function n(t){return t instanceof Buffer?Buffer.from(t):new t.constructor(t.buffer.slice(),t.byteOffset,t.length)}e.exports=function(t){if((t=t||{}).circles)return function(t){const e=[],r=[],i=new Map;if(i.set(Date,t=>new Date(t)),i.set(Map,(t,e)=>new Map(a(Array.from(t),e))),i.set(Set,(t,e)=>new Set(a(Array.from(t),e))),t.constructorHandlers)for(const e of t.constructorHandlers)i.set(e[0],e[1]);let o=null;return t.proto?function t(s){if("object"!=typeof s||null===s)return s;if(Array.isArray(s))return a(s,t);if(s.constructor!==Object&&(o=i.get(s.constructor)))return o(s,t);const c={};e.push(s),r.push(c);for(const a in s){const u=s[a];if("object"!=typeof u||null===u)c[a]=u;else if(u.constructor!==Object&&(o=i.get(u.constructor)))c[a]=o(u,t);else if(ArrayBuffer.isView(u))c[a]=n(u);else{const n=e.indexOf(u);c[a]=-1!==n?r[n]:t(u)}}return e.pop(),r.pop(),c}:function t(s){if("object"!=typeof s||null===s)return s;if(Array.isArray(s))return a(s,t);if(s.constructor!==Object&&(o=i.get(s.constructor)))return o(s,t);const c={};e.push(s),r.push(c);for(const a in s){if(!1===Object.hasOwnProperty.call(s,a))continue;const u=s[a];if("object"!=typeof u||null===u)c[a]=u;else if(u.constructor!==Object&&(o=i.get(u.constructor)))c[a]=o(u,t);else if(ArrayBuffer.isView(u))c[a]=n(u);else{const n=e.indexOf(u);c[a]=-1!==n?r[n]:t(u)}}return e.pop(),r.pop(),c};function a(t,a){const s=Object.keys(t),c=new Array(s.length);for(let u=0;u<s.length;u++){const l=s[u],f=t[l];if("object"!=typeof f||null===f)c[l]=f;else if(f.constructor!==Object&&(o=i.get(f.constructor)))c[l]=o(f,a);else if(ArrayBuffer.isView(f))c[l]=n(f);else{const t=e.indexOf(f);c[l]=-1!==t?r[t]:a(f)}}return c}}(t);const e=new Map;if(e.set(Date,t=>new Date(t)),e.set(Map,(t,e)=>new Map(i(Array.from(t),e))),e.set(Set,(t,e)=>new Set(i(Array.from(t),e))),t.constructorHandlers)for(const n of t.constructorHandlers)e.set(n[0],n[1]);let r=null;return t.proto?function t(o){if("object"!=typeof o||null===o)return o;if(Array.isArray(o))return i(o,t);if(o.constructor!==Object&&(r=e.get(o.constructor)))return r(o,t);const a={};for(const i in o){const s=o[i];"object"!=typeof s||null===s?a[i]=s:s.constructor!==Object&&(r=e.get(s.constructor))?a[i]=r(s,t):ArrayBuffer.isView(s)?a[i]=n(s):a[i]=t(s)}return a}:function t(o){if("object"!=typeof o||null===o)return o;if(Array.isArray(o))return i(o,t);if(o.constructor!==Object&&(r=e.get(o.constructor)))return r(o,t);const a={};for(const i in o){if(!1===Object.hasOwnProperty.call(o,i))continue;const s=o[i];"object"!=typeof s||null===s?a[i]=s:s.constructor!==Object&&(r=e.get(s.constructor))?a[i]=r(s,t):ArrayBuffer.isView(s)?a[i]=n(s):a[i]=t(s)}return a};function i(t,i){const o=Object.keys(t),a=new Array(o.length);for(let s=0;s<o.length;s++){const c=o[s],u=t[c];"object"!=typeof u||null===u?a[c]=u:u.constructor!==Object&&(r=e.get(u.constructor))?a[c]=r(u,i):ArrayBuffer.isView(u)?a[c]=n(u):a[c]=i(u)}return a}}})(),1);const qo=/(?:^|[-_/])(\w)/g;function Yo(t,e){return e?e.toUpperCase():""}const Go=(0,Ho.default)({circles:!0}),Wo={trailing:!0};function Ko(t,e=25,n={}){if(n={...Wo,...n},!Number.isFinite(e))throw new TypeError("Expected `wait` to be a finite number");let r,i,o,a,s=[];const c=(e,r)=>(o=async function(t,e,n){return await t.apply(e,n)}(t,e,r),o.finally(()=>{if(o=null,n.trailing&&a&&!i){const t=c(e,a);return a=null,t}}),o),u=function(...t){return n.trailing&&(a=t),o||new Promise(o=>{const u=!i&&n.leading;clearTimeout(i),i=setTimeout(()=>{i=null;const e=n.leading?r:c(this,t);a=null;for(const t of s)t(e);s=[]},e),u?(r=c(this,t),o(r)):s.push(o)})},l=t=>{t&&(clearTimeout(t),i=null)};return u.isPending=()=>!!i,u.cancel=()=>{l(i),s=[],a=null},u.flush=()=>{if(l(i),!a||o)return;const t=a;return a=null,c(this,t)},u}function Xo(t,e={},n){for(const r in t){const i=t[r],o=n?`${n}:${r}`:r;"object"==typeof i&&null!==i?Xo(i,e,o):"function"==typeof i&&(e[o]=i)}return e}const Jo={run:t=>t()},Zo=void 0!==console.createTask?console.createTask:()=>Jo;function Qo(t,e){const n=e.shift(),r=Zo(n);return t.reduce((t,n)=>t.then(()=>r.run(()=>n(...e))),Promise.resolve())}function ta(t,e){const n=e.shift(),r=Zo(n);return Promise.all(t.map(t=>r.run(()=>t(...e))))}function ea(t,e){for(const n of[...t])n(e)}class na{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,e,n={}){if(!t||"function"!=typeof e)return()=>{};const r=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!n.allowDeprecated){let t=i.message;t||(t=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(t)||(console.warn(t),this._deprecatedMessages.add(t))}if(!e.name)try{Object.defineProperty(e,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(e),()=>{e&&(this.removeHook(t,e),e=void 0)}}hookOnce(t,e){let n,r=(...t)=>("function"==typeof n&&n(),n=void 0,r=void 0,e(...t));return n=this.hook(t,r),n}removeHook(t,e){if(this._hooks[t]){const n=this._hooks[t].indexOf(e);-1!==n&&this._hooks[t].splice(n,1),0===this._hooks[t].length&&delete this._hooks[t]}}deprecateHook(t,e){this._deprecatedHooks[t]="string"==typeof e?{to:e}:e;const n=this._hooks[t]||[];delete this._hooks[t];for(const e of n)this.hook(t,e)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const e in t)this.deprecateHook(e,t[e])}addHooks(t){const e=Xo(t),n=Object.keys(e).map(t=>this.hook(t,e[t]));return()=>{for(const t of n.splice(0,n.length))t()}}removeHooks(t){const e=Xo(t);for(const t in e)this.removeHook(t,e[t])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...e){return e.unshift(t),this.callHookWith(Qo,t,...e)}callHookParallel(t,...e){return e.unshift(t),this.callHookWith(ta,t,...e)}callHookWith(t,e,...n){const r=this._before||this._after?{name:e,args:n,context:{}}:void 0;this._before&&ea(this._before,r);const i=t(e in this._hooks?[...this._hooks[e]]:[],n);return i instanceof Promise?i.finally(()=>{this._after&&r&&ea(this._after,r)}):(this._after&&r&&ea(this._after,r),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(void 0!==this._before){const e=this._before.indexOf(t);-1!==e&&this._before.splice(e,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(void 0!==this._after){const e=this._after.indexOf(t);-1!==e&&this._after.splice(e,1)}}}}function ra(){return new na}Object.create,Object.defineProperty,Object.getOwnPropertyDescriptor,Object.getOwnPropertyNames,Object.getPrototypeOf,Object.prototype.hasOwnProperty;var ia=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);function oa(t,e){return t.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=e,e}function aa(t){return t.__VUE_DEVTOOLS_NEXT_APP_RECORD__?t.__VUE_DEVTOOLS_NEXT_APP_RECORD__:t.root?t.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__:void 0}function sa(t){const e=t.subTree?.type,n=aa(t);return!!n&&n?.types?.Fragment===e}function ca(t){const e=function(t){if("function"==typeof t)return t.displayName||t.name||t.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||"";const e=t.name||t._componentTag||t.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||t.__name;return"index"===e&&t.__file?.endsWith("index.vue")?"":e}(t?.type||{});if(e)return e;if(t?.root===t)return"Root";for(const e in t.parent?.type?.components)if(t.parent.type.components[e]===t?.type)return oa(t,e);for(const e in t.appContext?.components)if(t.appContext.components[e]===t?.type)return oa(t,e);return function(t){const e=t.__file;if(e)return(n=function(t,e){let n=t.replace(/^[a-z]:/i,"").replace(/\\/g,"/");n.endsWith(`index${e}`)&&(n=n.replace(`/index${e}`,e));const r=n.lastIndexOf("/"),i=n.substring(r+1);if(e){const t=i.lastIndexOf(e);return i.substring(0,t)}return""}(e,".vue"))&&`${n}`.replace(qo,Yo);var n}(t?.type||{})||"Anonymous Component"}function ua(t,e){return e=e||`${t.id}:root`,t.instanceMap.get(e)||t.instanceMap.get(":root")}let la;function fa(t){return la||(la=document.createRange()),la.selectNode(t),la.getBoundingClientRect()}function ha(t,e){return(!t.top||e.top<t.top)&&(t.top=e.top),(!t.bottom||e.bottom>t.bottom)&&(t.bottom=e.bottom),(!t.left||e.left<t.left)&&(t.left=e.left),(!t.right||e.right>t.right)&&(t.right=e.right),t}const da={top:0,left:0,right:0,bottom:0,width:0,height:0};function pa(t){const e=t.subTree.el;return"undefined"==typeof window?da:sa(t)?function(t){const e=function(){const t={top:0,bottom:0,left:0,right:0,get width(){return t.right-t.left},get height(){return t.bottom-t.top}};return t}();if(!t.children)return e;for(let n=0,r=t.children.length;n<r;n++){const r=t.children[n];let i;if(r.component)i=pa(r.component);else if(r.el){const t=r.el;1===t.nodeType||t.getBoundingClientRect?i=t.getBoundingClientRect():3===t.nodeType&&t.data.trim()&&(i=fa(t))}i&&ha(e,i)}return e}(t.subTree):1===e?.nodeType?e?.getBoundingClientRect():t.subTree.component?pa(t.subTree.component):da}function ga(t){return sa(t)?function(t){if(!t.children)return[];const e=[];return t.children.forEach(t=>{t.component?e.push(...ga(t.component)):t?.el&&e.push(t.el)}),e}(t.subTree):t.subTree?[t.subTree.el]:[]}const _a="__vue-devtools-component-inspector__",ma="__vue-devtools-component-inspector__card__",ya="__vue-devtools-component-inspector__name__",va="__vue-devtools-component-inspector__indicator__",ba={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},wa={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},xa={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function Ea(){return document.getElementById(_a)}function Ta(t){return{left:Math.round(100*t.left)/100+"px",top:Math.round(100*t.top)/100+"px",width:Math.round(100*t.width)/100+"px",height:Math.round(100*t.height)/100+"px"}}function Sa(t){const e=document.createElement("div");e.id=t.elementId??_a,Object.assign(e.style,{...ba,...Ta(t.bounds),...t.style});const n=document.createElement("span");n.id=ma,Object.assign(n.style,{...wa,top:t.bounds.top<35?0:"-35px"});const r=document.createElement("span");r.id=ya,r.innerHTML=`<${t.name}> `;const i=document.createElement("i");return i.id=va,i.innerHTML=`${Math.round(100*t.bounds.width)/100} x ${Math.round(100*t.bounds.height)/100}`,Object.assign(i.style,xa),n.appendChild(r),n.appendChild(i),e.appendChild(n),document.body.appendChild(e),e}function Oa(t){const e=Ea(),n=document.getElementById(ma),r=document.getElementById(ya),i=document.getElementById(va);e&&(Object.assign(e.style,{...ba,...Ta(t.bounds)}),Object.assign(n.style,{top:t.bounds.top<35?0:"-35px"}),r.innerHTML=`<${t.name}> `,i.innerHTML=`${Math.round(100*t.bounds.width)/100} x ${Math.round(100*t.bounds.height)/100}`)}function Aa(){const t=Ea();t&&(t.style.display="none")}let Ma=null;function ka(t){const e=t.target;if(e){const t=e.__vueParentComponent;if(t&&(Ma=t,t.vnode.el)){const e=pa(t),n=ca(t);Ea()?Oa({bounds:e,name:n}):Sa({bounds:e,name:n})}}}let Na=null;function Pa(){return window.addEventListener("mouseover",ka),new Promise(t=>{function e(n){n.preventDefault(),n.stopPropagation(),function(n){var r;n.preventDefault(),n.stopPropagation(),Ma&&(n=>{window.removeEventListener("click",e,!0),Na=null,window.removeEventListener("mouseover",ka);const r=Ea();r&&(r.style.display="none"),t(JSON.stringify({id:n}))})((r=Ma,`${r?.appContext?.app?.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__??0}:${r===r?.root?"root":r.uid}`))}(n)}Na=e,window.addEventListener("click",e,!0)})}function Ca(){return new Promise(t=>{function e(){!function(){const t=Bo.__VUE_INSPECTOR__,e=t.openInEditor;t.openInEditor=async(...n)=>{t.disable(),e(...n)}}(),t(Bo.__VUE_INSPECTOR__)}Bo.__VUE_INSPECTOR__?e():function(){let t=0;const n=setInterval(()=>{Bo.__VUE_INSPECTOR__&&(clearInterval(n),t+=30,e()),t>=5e3&&clearInterval(n)},30)}()})}Bo.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__??=!0;let Ra=function(t){return t.SKIP="__v_skip",t.IS_REACTIVE="__v_isReactive",t.IS_READONLY="__v_isReadonly",t.IS_SHALLOW="__v_isShallow",t.RAW="__v_raw",t}({});function Ia(t){return function(t){return!(!t||!t[Ra.IS_READONLY])}(t)?Ia(t[Ra.RAW]):!(!t||!t[Ra.IS_REACTIVE])}function Da(t){return!(!t||!0!==t.__v_isRef)}function Ua(t){const e=t&&t[Ra.RAW];return e?Ua(e):t}var ja=class{constructor(){this.refEditor=new La}set(t,e,n,r){const i=Array.isArray(e)?e:e.split(".");for(;i.length>1;){const e=i.shift();t=t instanceof Map?t.get(e):t instanceof Set?Array.from(t.values())[e]:t[e],this.refEditor.isRef(t)&&(t=this.refEditor.get(t))}const o=i[0],a=this.refEditor.get(t)[o];r?r(t,o,n):this.refEditor.isRef(a)?this.refEditor.set(a,n):t[o]=n}get(t,e){const n=Array.isArray(e)?e:e.split(".");for(let e=0;e<n.length;e++)if(t=t instanceof Map?t.get(n[e]):t[n[e]],this.refEditor.isRef(t)&&(t=this.refEditor.get(t)),!t)return;return t}has(t,e,n=!1){if(void 0===t)return!1;const r=Array.isArray(e)?e.slice():e.split("."),i=n?2:1;for(;t&&r.length>i;)t=t[r.shift()],this.refEditor.isRef(t)&&(t=this.refEditor.get(t));return null!=t&&Object.prototype.hasOwnProperty.call(t,r[0])}createDefaultSetCallback(t){return(e,n,r)=>{if((t.remove||t.newKey)&&(Array.isArray(e)?e.splice(n,1):Ua(e)instanceof Map?e.delete(n):Ua(e)instanceof Set?e.delete(Array.from(e.values())[n]):Reflect.deleteProperty(e,n)),!t.remove){const i=e[t.newKey||n];this.refEditor.isRef(i)?this.refEditor.set(i,r):Ua(e)instanceof Map?e.set(t.newKey||n,r):Ua(e)instanceof Set?e.add(r):e[t.newKey||n]=r}}}},La=class{set(t,e){if(Da(t))t.value=e;else{if(t instanceof Set&&Array.isArray(e))return t.clear(),void e.forEach(e=>t.add(e));const n=Object.keys(e);if(t instanceof Map){const r=new Set(t.keys());return n.forEach(n=>{t.set(n,Reflect.get(e,n)),r.delete(n)}),void r.forEach(e=>t.delete(e))}const r=new Set(Object.keys(t));n.forEach(n=>{Reflect.set(t,n,Reflect.get(e,n)),r.delete(n)}),r.forEach(e=>Reflect.deleteProperty(t,e))}}get(t){return Da(t)?t.value:t}isRef(t){return Da(t)||Ia(t)}};new ja;function Va(){if("undefined"==typeof window||!zo||"undefined"==typeof localStorage||null===localStorage)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const t=void 0!==localStorage.getItem?localStorage.getItem("__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__"):null;return t?JSON.parse(t):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}Bo.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS??=[];const $a=new Proxy(Bo.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get:(t,e,n)=>Reflect.get(t,e,n)});Bo.__VUE_DEVTOOLS_KIT_INSPECTOR__??=[];const Fa=new Proxy(Bo.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get:(t,e,n)=>Reflect.get(t,e,n)}),za=Ko(()=>{ws.hooks.callHook(Ga.SEND_INSPECTOR_TO_CLIENT,Ba())});function Ba(){return Fa.filter(t=>t.descriptor.app===Ja.value.app).filter(t=>"components"!==t.descriptor.id).map(t=>{const e=t.descriptor,n=t.options;return{id:n.id,label:n.label,logo:e.logo,icon:`custom-ic-baseline-${n?.icon?.replace(/_/g,"-")}`,packageName:e.packageName,homepage:e.homepage,pluginId:e.id}})}function Ha(t,e){return Fa.find(n=>n.options.id===t&&(!e||n.descriptor.app===e))}let qa=function(t){return t.VISIT_COMPONENT_TREE="visitComponentTree",t.INSPECT_COMPONENT="inspectComponent",t.EDIT_COMPONENT_STATE="editComponentState",t.GET_INSPECTOR_TREE="getInspectorTree",t.GET_INSPECTOR_STATE="getInspectorState",t.EDIT_INSPECTOR_STATE="editInspectorState",t.INSPECT_TIMELINE_EVENT="inspectTimelineEvent",t.TIMELINE_CLEARED="timelineCleared",t.SET_PLUGIN_SETTINGS="setPluginSettings",t}({}),Ya=function(t){return t.ADD_INSPECTOR="addInspector",t.SEND_INSPECTOR_TREE="sendInspectorTree",t.SEND_INSPECTOR_STATE="sendInspectorState",t.CUSTOM_INSPECTOR_SELECT_NODE="customInspectorSelectNode",t.TIMELINE_LAYER_ADDED="timelineLayerAdded",t.TIMELINE_EVENT_ADDED="timelineEventAdded",t.GET_COMPONENT_INSTANCES="getComponentInstances",t.GET_COMPONENT_BOUNDS="getComponentBounds",t.GET_COMPONENT_NAME="getComponentName",t.COMPONENT_HIGHLIGHT="componentHighlight",t.COMPONENT_UNHIGHLIGHT="componentUnhighlight",t}({}),Ga=function(t){return t.SEND_INSPECTOR_TREE_TO_CLIENT="sendInspectorTreeToClient",t.SEND_INSPECTOR_STATE_TO_CLIENT="sendInspectorStateToClient",t.SEND_TIMELINE_EVENT_TO_CLIENT="sendTimelineEventToClient",t.SEND_INSPECTOR_TO_CLIENT="sendInspectorToClient",t.SEND_ACTIVE_APP_UNMOUNTED_TO_CLIENT="sendActiveAppUpdatedToClient",t.DEVTOOLS_STATE_UPDATED="devtoolsStateUpdated",t.DEVTOOLS_CONNECTED_UPDATED="devtoolsConnectedUpdated",t.ROUTER_INFO_UPDATED="routerInfoUpdated",t}({});Bo.__VUE_DEVTOOLS_KIT_APP_RECORDS__??=[],Bo.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__??={},Bo.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__??="",Bo.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__??=[],Bo.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__??=[];const Wa="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";Bo[Wa]??={connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:Va()};const Ka=Ko(t=>{ws.hooks.callHook(Ga.DEVTOOLS_STATE_UPDATED,{state:t})}),Xa=(Ko((t,e)=>{ws.hooks.callHook(Ga.DEVTOOLS_CONNECTED_UPDATED,{state:t,oldState:e})}),new Proxy(Bo.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get:(t,e,n)=>"value"===e?Bo.__VUE_DEVTOOLS_KIT_APP_RECORDS__:Bo.__VUE_DEVTOOLS_KIT_APP_RECORDS__[e]})),Ja=new Proxy(Bo.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get:(t,e,n)=>"value"===e?Bo.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:"id"===e?Bo.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:Bo.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[e]});function Za(){Ka({...Bo[Wa],appRecords:Xa.value,activeAppRecordId:Ja.id,tabs:Bo.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:Bo.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}const Qa=new Proxy(Bo[Wa],{get:(t,e)=>"appRecords"===e?Xa:"activeAppRecordId"===e?Ja.id:"tabs"===e?Bo.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:"commands"===e?Bo.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:Bo[Wa][e],deleteProperty:(t,e)=>(delete t[e],!0),set:(t,e,n)=>(t[e]=n,Bo[Wa][e]=n,!0)});function ts(t={}){const{file:e,host:n,baseUrl:r=window.location.origin,line:i=0,column:o=0}=t;if(e)if("chrome-extension"===n){const t=e.replace(/\\/g,"\\\\"),n=window.VUE_DEVTOOLS_CONFIG?.openInEditorHost??"/";fetch(`${n}__open-in-editor?file=${encodeURI(e)}`).then(e=>{if(!e.ok){const e=`Opening component ${t} failed`;console.log(`%c${e}`,"color:red")}})}else if(Qa.vitePluginDetected){const t=Bo.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__??r;Bo.__VUE_INSPECTOR__.openInEditor(t,e,i,o)}}Bo.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__??=[];const es=new Proxy(Bo.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get:(t,e,n)=>Reflect.get(t,e,n)});function ns(t){const e={};return Object.keys(t).forEach(n=>{e[n]=t[n].defaultValue}),e}function rs(t){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${t}__`}function is(t){return(es.find(e=>e[0].id===t&&!!e[0]?.settings)?.[0]??null)?.settings??null}function os(t,e){const n=rs(t);if(n){const t=localStorage.getItem(n);if(t)return JSON.parse(t)}return ns(t?(es.find(e=>e[0].id===t)?.[0]??null)?.settings??{}:e)}let as=function(t){return t.APP_INIT="app:init",t.APP_UNMOUNT="app:unmount",t.COMPONENT_UPDATED="component:updated",t.COMPONENT_ADDED="component:added",t.COMPONENT_REMOVED="component:removed",t.COMPONENT_EMIT="component:emit",t.PERFORMANCE_START="perf:start",t.PERFORMANCE_END="perf:end",t.ADD_ROUTE="router:add-route",t.REMOVE_ROUTE="router:remove-route",t.RENDER_TRACKED="render:tracked",t.RENDER_TRIGGERED="render:triggered",t.APP_CONNECTED="app:connected",t.SETUP_DEVTOOLS_PLUGIN="devtools-plugin:setup",t}({});const ss=Bo.__VUE_DEVTOOLS_HOOK??=ra(),cs={on:{vueAppInit(t){ss.hook(as.APP_INIT,t)},vueAppUnmount(t){ss.hook(as.APP_UNMOUNT,t)},vueAppConnected(t){ss.hook(as.APP_CONNECTED,t)},componentAdded:t=>ss.hook(as.COMPONENT_ADDED,t),componentEmit:t=>ss.hook(as.COMPONENT_EMIT,t),componentUpdated:t=>ss.hook(as.COMPONENT_UPDATED,t),componentRemoved:t=>ss.hook(as.COMPONENT_REMOVED,t),setupDevtoolsPlugin(t){ss.hook(as.SETUP_DEVTOOLS_PLUGIN,t)},perfStart:t=>ss.hook(as.PERFORMANCE_START,t),perfEnd:t=>ss.hook(as.PERFORMANCE_END,t)},setupDevToolsPlugin:(t,e)=>ss.callHook(as.SETUP_DEVTOOLS_PLUGIN,t,e)},us=class{constructor({plugin:t,ctx:e}){this.hooks=e.hooks,this.plugin=t}get on(){return{visitComponentTree:t=>{this.hooks.hook(qa.VISIT_COMPONENT_TREE,t)},inspectComponent:t=>{this.hooks.hook(qa.INSPECT_COMPONENT,t)},editComponentState:t=>{this.hooks.hook(qa.EDIT_COMPONENT_STATE,t)},getInspectorTree:t=>{this.hooks.hook(qa.GET_INSPECTOR_TREE,t)},getInspectorState:t=>{this.hooks.hook(qa.GET_INSPECTOR_STATE,t)},editInspectorState:t=>{this.hooks.hook(qa.EDIT_INSPECTOR_STATE,t)},inspectTimelineEvent:t=>{this.hooks.hook(qa.INSPECT_TIMELINE_EVENT,t)},timelineCleared:t=>{this.hooks.hook(qa.TIMELINE_CLEARED,t)},setPluginSettings:t=>{this.hooks.hook(qa.SET_PLUGIN_SETTINGS,t)}}}notifyComponentUpdate(t){if(Qa.highPerfModeEnabled)return;const e=Ba().find(t=>t.packageName===this.plugin.descriptor.packageName);if(e?.id){if(t){const e=[t.appContext.app,t.uid,t.parent?.uid,t];ss.callHook(as.COMPONENT_UPDATED,...e)}else ss.callHook(as.COMPONENT_UPDATED);this.hooks.callHook(Ya.SEND_INSPECTOR_STATE,{inspectorId:e.id,plugin:this.plugin})}}addInspector(t){this.hooks.callHook(Ya.ADD_INSPECTOR,{inspector:t,plugin:this.plugin}),this.plugin.descriptor.settings&&function(t,e){const n=rs(t);localStorage.getItem(n)||localStorage.setItem(n,JSON.stringify(ns(e)))}(t.id,this.plugin.descriptor.settings)}sendInspectorTree(t){Qa.highPerfModeEnabled||this.hooks.callHook(Ya.SEND_INSPECTOR_TREE,{inspectorId:t,plugin:this.plugin})}sendInspectorState(t){Qa.highPerfModeEnabled||this.hooks.callHook(Ya.SEND_INSPECTOR_STATE,{inspectorId:t,plugin:this.plugin})}selectInspectorNode(t,e){this.hooks.callHook(Ya.CUSTOM_INSPECTOR_SELECT_NODE,{inspectorId:t,nodeId:e,plugin:this.plugin})}visitComponentTree(t){return this.hooks.callHook(qa.VISIT_COMPONENT_TREE,t)}now(){return Qa.highPerfModeEnabled?0:Date.now()}addTimelineLayer(t){this.hooks.callHook(Ya.TIMELINE_LAYER_ADDED,{options:t,plugin:this.plugin})}addTimelineEvent(t){Qa.highPerfModeEnabled||this.hooks.callHook(Ya.TIMELINE_EVENT_ADDED,{options:t,plugin:this.plugin})}getSettings(t){return os(t??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(t){return this.hooks.callHook(Ya.GET_COMPONENT_INSTANCES,{app:t})}getComponentBounds(t){return this.hooks.callHook(Ya.GET_COMPONENT_BOUNDS,{instance:t})}getComponentName(t){return this.hooks.callHook(Ya.GET_COMPONENT_NAME,{instance:t})}highlightElement(t){const e=t.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook(Ya.COMPONENT_HIGHLIGHT,{uid:e})}unhighlightElement(){return this.hooks.callHook(Ya.COMPONENT_UNHIGHLIGHT)}},ls=(new Set(["nextTick","defineComponent","defineAsyncComponent","defineCustomElement","ref","computed","reactive","readonly","watchEffect","watchPostEffect","watchSyncEffect","watch","isRef","unref","toRef","toRefs","isProxy","isReactive","isReadonly","shallowRef","triggerRef","customRef","shallowReactive","shallowReadonly","toRaw","markRaw","effectScope","getCurrentScope","onScopeDispose","onMounted","onUpdated","onUnmounted","onBeforeMount","onBeforeUpdate","onBeforeUnmount","onErrorCaptured","onRenderTracked","onRenderTriggered","onActivated","onDeactivated","onServerPrefetch","provide","inject","h","mergeProps","cloneVNode","isVNode","resolveComponent","resolveDirective","withDirectives","withModifiers"]),"__vue_devtool_undefined__"),fs="__vue_devtool_infinity__",hs="__vue_devtool_negative_infinity__",ds="__vue_devtool_nan__",ps={[ls]:"undefined",[ds]:"NaN",[fs]:"Infinity",[hs]:"-Infinity"};function gs(t,e){return cs.setupDevToolsPlugin(t,e)}function _s(t,e){Bo.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(t)||Qa.highPerfModeEnabled&&!e?.inspectingComponent||(Bo.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(t),es.forEach(e=>{!function(t,e){const[n,r]=t;if(n.app!==e)return;const i=new us({plugin:{setupFn:r,descriptor:n},ctx:ws});"vuex"===n.packageName&&i.on.editInspectorState(t=>{i.sendInspectorState(t.inspectorId)}),r(i)}(e,t)}))}Object.entries(ps).reduce((t,[e,n])=>(t[n]=e,t),{}),Object.prototype.hasOwnProperty,new Set(["vnode-before-mount","vnode-mounted","vnode-before-update","vnode-updated","vnode-before-unmount","vnode-unmounted"]),Bo.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__??=new Set;const ms="__VUE_DEVTOOLS_ROUTER__",ys="__VUE_DEVTOOLS_ROUTER_INFO__";function vs(t){return t.map(t=>{let{path:e,name:n,children:r,meta:i}=t;return r?.length&&(r=vs(r)),{path:e,name:n,children:r,meta:i}})}Bo[ys]??={currentRoute:null,routes:[]},Bo[ms]??={},new Proxy(Bo[ys],{get:(t,e)=>Bo[ys][e]}),new Proxy(Bo[ms],{get(t,e){if("value"===e)return Bo[ms]}}),Bo.__VUE_DEVTOOLS_ENV__??={vitePluginDetected:!1};const bs=function(){const t=ra();t.hook(Ya.ADD_INSPECTOR,({inspector:t,plugin:e})=>{!function(t,e){Fa.push({options:t,descriptor:e,treeFilterPlaceholder:t.treeFilterPlaceholder??"Search tree...",stateFilterPlaceholder:t.stateFilterPlaceholder??"Search state...",treeFilter:"",selectedNodeId:"",appRecord:aa(e.app)}),za()}(t,e.descriptor)});const e=Ko(async({inspectorId:e,plugin:n})=>{if(!e||!n?.descriptor?.app||Qa.highPerfModeEnabled)return;const r=Ha(e,n.descriptor.app),i={app:n.descriptor.app,inspectorId:e,filter:r?.treeFilter||"",rootNodes:[]};await new Promise(e=>{t.callHookWith(async t=>{await Promise.all(t.map(t=>t(i))),e()},qa.GET_INSPECTOR_TREE)}),t.callHookWith(async t=>{await Promise.all(t.map(t=>t({inspectorId:e,rootNodes:i.rootNodes})))},Ga.SEND_INSPECTOR_TREE_TO_CLIENT)},120);t.hook(Ya.SEND_INSPECTOR_TREE,e);const n=Ko(async({inspectorId:e,plugin:n})=>{if(!e||!n?.descriptor?.app||Qa.highPerfModeEnabled)return;const r=Ha(e,n.descriptor.app),i={app:n.descriptor.app,inspectorId:e,nodeId:r?.selectedNodeId||"",state:null},o={currentTab:`custom-inspector:${e}`};i.nodeId&&await new Promise(e=>{t.callHookWith(async t=>{await Promise.all(t.map(t=>t(i,o))),e()},qa.GET_INSPECTOR_STATE)}),t.callHookWith(async t=>{await Promise.all(t.map(t=>t({inspectorId:e,nodeId:i.nodeId,state:i.state})))},Ga.SEND_INSPECTOR_STATE_TO_CLIENT)},120);return t.hook(Ya.SEND_INSPECTOR_STATE,n),t.hook(Ya.CUSTOM_INSPECTOR_SELECT_NODE,({inspectorId:t,nodeId:e,plugin:n})=>{const r=Ha(t,n.descriptor.app);r&&(r.selectedNodeId=e)}),t.hook(Ya.TIMELINE_LAYER_ADDED,({options:t,plugin:e})=>{!function(t,e){Qa.timelineLayersState[e.id]=!1,$a.push({...t,descriptorId:e.id,appRecord:aa(e.app)})}(t,e.descriptor)}),t.hook(Ya.TIMELINE_EVENT_ADDED,({options:e,plugin:n})=>{Qa.highPerfModeEnabled||!Qa.timelineLayersState?.[n.descriptor.id]&&!["performance","component-event","keyboard","mouse"].includes(e.layerId)||t.callHookWith(async t=>{await Promise.all(t.map(t=>t(e)))},Ga.SEND_TIMELINE_EVENT_TO_CLIENT)}),t.hook(Ya.GET_COMPONENT_INSTANCES,async({app:t})=>{const e=t.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!e)return null;const n=e.id.toString();return[...e.instanceMap].filter(([t])=>t.split(":")[0]===n).map(([,t])=>t)}),t.hook(Ya.GET_COMPONENT_BOUNDS,async({instance:t})=>pa(t)),t.hook(Ya.GET_COMPONENT_NAME,({instance:t})=>ca(t)),t.hook(Ya.COMPONENT_HIGHLIGHT,({uid:t})=>{const e=Ja.value.instanceMap.get(t);e&&function(t){const e=pa(t);if(!e.width&&!e.height)return;const n=ca(t);Ea()?Oa({bounds:e,name:n}):Sa({bounds:e,name:n})}(e)}),t.hook(Ya.COMPONENT_UNHIGHLIGHT,()=>{Aa()}),t}();Bo.__VUE_DEVTOOLS_KIT_CONTEXT__??={hooks:bs,get state(){return{...Qa,activeAppRecordId:Ja.id,activeAppRecord:Ja.value,appRecords:Xa.value}},api:function(t){return{async getInspectorTree(e){const n={...e,app:Ja.value.app,rootNodes:[]};return await new Promise(e=>{t.callHookWith(async t=>{await Promise.all(t.map(t=>t(n))),e()},qa.GET_INSPECTOR_TREE)}),n.rootNodes},async getInspectorState(e){const n={...e,app:Ja.value.app,state:null},r={currentTab:`custom-inspector:${e.inspectorId}`};return await new Promise(e=>{t.callHookWith(async t=>{await Promise.all(t.map(t=>t(n,r))),e()},qa.GET_INSPECTOR_STATE)}),n.state},editInspectorState(e){const n=new ja,r={...e,app:Ja.value.app,set:(t,r=e.path,i=e.state.value,o)=>{n.set(t,r,i,o||n.createDefaultSetCallback(e.state))}};t.callHookWith(t=>{t.forEach(t=>t(r))},qa.EDIT_INSPECTOR_STATE)},sendInspectorState(e){const n=Ha(e);t.callHook(Ya.SEND_INSPECTOR_STATE,{inspectorId:e,plugin:{descriptor:n.descriptor,setupFn:()=>({})}})},inspectComponentInspector:()=>Pa(),cancelInspectComponentInspector:()=>(Aa(),window.removeEventListener("mouseover",ka),window.removeEventListener("click",Na,!0),void(Na=null)),getComponentRenderCode(t){const e=ua(Ja.value,t);if(e)return"function"!=typeof e?.type?e.render.toString():e.type.toString()},scrollToComponent:t=>function(t){const e=ua(Ja.value,t.id);if(e){const[n]=ga(e);if("function"==typeof n.scrollIntoView)n.scrollIntoView({behavior:"smooth"});else{const t=pa(e),n=document.createElement("div"),r={...Ta(t),position:"absolute"};Object.assign(n.style,r),document.body.appendChild(n),n.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(n)},2e3)}setTimeout(()=>{const n=pa(e);if(n.width||n.height){const r=ca(e),i=Ea();i?Oa({...t,name:r,bounds:n}):Sa({...t,name:r,bounds:n}),setTimeout(()=>{i&&(i.style.display="none")},1500)}},1200)}}({id:t}),openInEditor:ts,getVueInspector:Ca,toggleApp(t,e){const n=Xa.value.find(e=>e.id===t);var r;n&&(function(t){Bo.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=t,Za()}(t),r=n,Bo.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=r,Za(),function(t,e){function n(){const e=t.app?.config.globalProperties.$router,n=function(t){if(t){const{fullPath:e,hash:n,href:r,path:i,name:o,matched:a,params:s,query:c}=t;return{fullPath:e,hash:n,href:r,path:i,name:o,params:s,query:c,matched:vs(a)}}return t}(e?.currentRoute.value),r=vs(function(t){const e=new Map;return(t?.getRoutes()||[]).filter(t=>!e.has(t.path)&&e.set(t.path,1))}(e)),i=console.warn;console.warn=()=>{},Bo[ys]={currentRoute:n?Go(n):{},routes:Go(r)},Bo[ms]=e,console.warn=i}n(),cs.on.componentUpdated(Ko(()=>{e.value?.app===t.app&&(n(),Qa.highPerfModeEnabled||ws.hooks.callHook(Ga.ROUTER_INFO_UPDATED,{state:Bo[ys]}))},200))}(n,Ja),za(),_s(n.app,e))},inspectDOM(t){const e=ua(Ja.value,t);if(e){const[t]=ga(e);t&&(Bo.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=t)}},updatePluginSettings(t,e,n){!function(t,e,n){const r=rs(t),i=localStorage.getItem(r),o=JSON.parse(i||"{}"),a={...o,[e]:n};localStorage.setItem(r,JSON.stringify(a)),ws.hooks.callHookWith(r=>{r.forEach(r=>r({pluginId:t,key:e,oldValue:o[e],newValue:n,settings:a}))},qa.SET_PLUGIN_SETTINGS)}(t,e,n)},getPluginSettings:t=>({options:is(t),values:os(t)})}}(bs)};const ws=Bo.__VUE_DEVTOOLS_KIT_CONTEXT__;var xs=ia((t,e)=>{!function(t){var n={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y",ẞ:"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z",စျ:"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw",သြော:"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},r=["်","ް"],i={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်",က်:"et","ိုက်":"aik","ောက်":"auk",င်:"in","ိုင်":"aing","ောင်":"aung",စ်:"it",ည်:"i",တ်:"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it",ဒ်:"d","ိုဒ်":"ok","ုဒ်":"ait",န်:"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un",ပ်:"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut",န်ုပ်:"nub",မ်:"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un",ယ်:"e","ိုလ်":"ol",ဉ်:"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},o={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},a={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},s=[";","?",":","@","&","=","+","$",",","/"].join(""),c=[";","?",":","@","&","=","+","$",","].join(""),u=[".","!","~","*","'","(",")"].join(""),l=function(t,e){var l,f,p,g,_,m,y,v,b,w,x,E,T,S,O="-",A="",M="",k=!0,N={},P="";if("string"!=typeof t)return"";if("string"==typeof e&&(O=e),y=a.en,v=o.en,"object"==typeof e)for(x in l=e.maintainCase||!1,N=e.custom&&"object"==typeof e.custom?e.custom:N,p=+e.truncate>1&&e.truncate||!1,g=e.uric||!1,_=e.uricNoSlash||!1,m=e.mark||!1,k=!1!==e.symbols&&!1!==e.lang,O=e.separator||O,g&&(P+=s),_&&(P+=c),m&&(P+=u),y=e.lang&&a[e.lang]&&k?a[e.lang]:k?a.en:{},v=e.lang&&o[e.lang]?o[e.lang]:!1===e.lang||!0===e.lang?{}:o.en,e.titleCase&&"number"==typeof e.titleCase.length&&Array.prototype.toString.call(e.titleCase)?(e.titleCase.forEach(function(t){N[t+""]=t+""}),f=!0):f=!!e.titleCase,e.custom&&"number"==typeof e.custom.length&&Array.prototype.toString.call(e.custom)&&e.custom.forEach(function(t){N[t+""]=t+""}),Object.keys(N).forEach(function(e){var n;n=e.length>1?new RegExp("\\b"+h(e)+"\\b","gi"):new RegExp(h(e),"gi"),t=t.replace(n,N[e])}),N)P+=x;for(P=h(P+=O),T=!1,S=!1,w=0,E=(t=t.replace(/(^\s+|\s+$)/g,"")).length;w<E;w++)x=t[w],d(x,N)?T=!1:v[x]?(x=T&&v[x].match(/[A-Za-z0-9]/)?" "+v[x]:v[x],T=!1):x in n?(w+1<E&&r.indexOf(t[w+1])>=0?(M+=x,x=""):!0===S?(x=i[M]+n[x],M=""):x=T&&n[x].match(/[A-Za-z0-9]/)?" "+n[x]:n[x],T=!1,S=!1):x in i?(M+=x,x="",w===E-1&&(x=i[M]),S=!0):!y[x]||g&&-1!==s.indexOf(x)||_&&-1!==c.indexOf(x)?(!0===S?(x=i[M]+x,M="",S=!1):T&&(/[A-Za-z0-9]/.test(x)||A.substr(-1).match(/A-Za-z0-9]/))&&(x=" "+x),T=!1):(x=T||A.substr(-1).match(/[A-Za-z0-9]/)?O+y[x]:y[x],x+=void 0!==t[w+1]&&t[w+1].match(/[A-Za-z0-9]/)?O:"",T=!0),A+=x.replace(new RegExp("[^\\w\\s"+P+"_-]","g"),O);return f&&(A=A.replace(/(\w)(\S*)/g,function(t,e,n){var r=e.toUpperCase()+(null!==n?n:"");return Object.keys(N).indexOf(r.toLowerCase())<0?r:r.toLowerCase()})),A=A.replace(/\s+/g,O).replace(new RegExp("\\"+O+"+","g"),O).replace(new RegExp("(^\\"+O+"+|\\"+O+"+$)","g"),""),p&&A.length>p&&(b=A.charAt(p)===O,A=A.slice(0,p),b||(A=A.slice(0,A.lastIndexOf(O)))),l||f||(A=A.toLowerCase()),A},f=function(t){return function(e){return l(e,t)}},h=function(t){return t.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},d=function(t,e){for(var n in e)if(e[n]===t)return!0};if(void 0!==e&&e.exports)e.exports=l,e.exports.createSlug=f;else if("undefined"!=typeof define&&define.amd)define([],function(){return l});else try{if(t.getSlug||t.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";t.getSlug=l,t.createSlug=f}catch(t){}}(t)});ia((t,e)=>{e.exports=xs()})(),Bo.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__??={id:0,appIds:new Set},Bo.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__??=function(t){var e;Qa.devtoolsClientDetected={...Qa.devtoolsClientDetected,...t},e=!Object.values(Qa.devtoolsClientDetected).some(Boolean),Qa.highPerfModeEnabled=e??!Qa.highPerfModeEnabled,!e&&Ja.value&&_s(Ja.value.app)};var Es=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(t,e){this.keyToValue.set(t,e),this.valueToKey.set(e,t)}getByKey(t){return this.keyToValue.get(t)}getByValue(t){return this.valueToKey.get(t)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},Ts=class{constructor(t){this.generateIdentifier=t,this.kv=new Es}register(t,e){this.kv.getByValue(t)||(e||(e=this.generateIdentifier(t)),this.kv.set(e,t))}clear(){this.kv.clear()}getIdentifier(t){return this.kv.getByValue(t)}getValue(t){return this.kv.getByKey(t)}},Ss=class extends Ts{constructor(){super(t=>t.name),this.classToAllowedProps=new Map}register(t,e){"object"==typeof e?(e.allowProps&&this.classToAllowedProps.set(t,e.allowProps),super.register(t,e.identifier)):super.register(t,e)}getAllowedProps(t){return this.classToAllowedProps.get(t)}};function Os(t,e){Object.entries(t).forEach(([t,n])=>e(n,t))}function As(t,e){return-1!==t.indexOf(e)}function Ms(t,e){for(let n=0;n<t.length;n++){const r=t[n];if(e(r))return r}}var ks=class{constructor(){this.transfomers={}}register(t){this.transfomers[t.name]=t}findApplicable(t){return function(t,e){const n=function(t){if("values"in Object)return Object.values(t);const e=[];for(const n in t)t.hasOwnProperty(n)&&e.push(t[n]);return e}(t);if("find"in n)return n.find(e);const r=n;for(let t=0;t<r.length;t++){const n=r[t];if(e(n))return n}}(this.transfomers,e=>e.isApplicable(t))}findByName(t){return this.transfomers[t]}};const Ns=t=>void 0===t,Ps=t=>"object"==typeof t&&null!==t&&t!==Object.prototype&&(null===Object.getPrototypeOf(t)||Object.getPrototypeOf(t)===Object.prototype),Cs=t=>Ps(t)&&0===Object.keys(t).length,Rs=t=>Array.isArray(t),Is=t=>t instanceof Map,Ds=t=>t instanceof Set,Us=t=>"Symbol"===(t=>Object.prototype.toString.call(t).slice(8,-1))(t),js=t=>"number"==typeof t&&isNaN(t),Ls=t=>t.replace(/\./g,"\\."),Vs=t=>t.map(String).map(Ls).join("."),$s=t=>{const e=[];let n="";for(let r=0;r<t.length;r++){let i=t.charAt(r);"\\"!==i||"."!==t.charAt(r+1)?"."!==i?n+=i:(e.push(n),n=""):(n+=".",r++)}const r=n;return e.push(r),e};function Fs(t,e,n,r){return{isApplicable:t,annotation:e,transform:n,untransform:r}}const zs=[Fs(Ns,"undefined",()=>null,()=>{}),Fs(t=>"bigint"==typeof t,"bigint",t=>t.toString(),t=>"undefined"!=typeof BigInt?BigInt(t):(console.error("Please add a BigInt polyfill."),t)),Fs(t=>t instanceof Date&&!isNaN(t.valueOf()),"Date",t=>t.toISOString(),t=>new Date(t)),Fs(t=>t instanceof Error,"Error",(t,e)=>{const n={name:t.name,message:t.message};return e.allowedErrorProps.forEach(e=>{n[e]=t[e]}),n},(t,e)=>{const n=new Error(t.message);return n.name=t.name,n.stack=t.stack,e.allowedErrorProps.forEach(e=>{n[e]=t[e]}),n}),Fs(t=>t instanceof RegExp,"regexp",t=>""+t,t=>{const e=t.slice(1,t.lastIndexOf("/")),n=t.slice(t.lastIndexOf("/")+1);return new RegExp(e,n)}),Fs(Ds,"set",t=>[...t.values()],t=>new Set(t)),Fs(Is,"map",t=>[...t.entries()],t=>new Map(t)),Fs(t=>{return js(t)||(e=t)===1/0||e===-1/0;var e},"number",t=>js(t)?"NaN":t>0?"Infinity":"-Infinity",Number),Fs(t=>0===t&&1/t==-1/0,"number",()=>"-0",Number),Fs(t=>t instanceof URL,"URL",t=>t.toString(),t=>new URL(t))];function Bs(t,e,n,r){return{isApplicable:t,annotation:e,transform:n,untransform:r}}const Hs=Bs((t,e)=>!!Us(t)&&!!e.symbolRegistry.getIdentifier(t),(t,e)=>["symbol",e.symbolRegistry.getIdentifier(t)],t=>t.description,(t,e,n)=>{const r=n.symbolRegistry.getValue(e[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),qs=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((t,e)=>(t[e.name]=e,t),{}),Ys=Bs(t=>ArrayBuffer.isView(t)&&!(t instanceof DataView),t=>["typed-array",t.constructor.name],t=>[...t],(t,e)=>{const n=qs[e[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(t)});function Gs(t,e){return!!t?.constructor&&!!e.classRegistry.getIdentifier(t.constructor)}const Ws=Bs(Gs,(t,e)=>["class",e.classRegistry.getIdentifier(t.constructor)],(t,e)=>{const n=e.classRegistry.getAllowedProps(t.constructor);if(!n)return{...t};const r={};return n.forEach(e=>{r[e]=t[e]}),r},(t,e,n)=>{const r=n.classRegistry.getValue(e[1]);if(!r)throw new Error(`Trying to deserialize unknown class '${e[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(r.prototype),t)}),Ks=Bs((t,e)=>!!e.customTransformerRegistry.findApplicable(t),(t,e)=>["custom",e.customTransformerRegistry.findApplicable(t).name],(t,e)=>e.customTransformerRegistry.findApplicable(t).serialize(t),(t,e,n)=>{const r=n.customTransformerRegistry.findByName(e[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(t)}),Xs=[Ws,Hs,Ks,Ys],Js=(t,e)=>{const n=Ms(Xs,n=>n.isApplicable(t,e));if(n)return{value:n.transform(t,e),type:n.annotation(t,e)};const r=Ms(zs,n=>n.isApplicable(t,e));return r?{value:r.transform(t,e),type:r.annotation}:void 0},Zs={};zs.forEach(t=>{Zs[t.annotation]=t});const Qs=(t,e)=>{if(e>t.size)throw new Error("index out of bounds");const n=t.keys();for(;e>0;)n.next(),e--;return n.next().value};function tc(t){if(As(t,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(As(t,"prototype"))throw new Error("prototype is not allowed as a property");if(As(t,"constructor"))throw new Error("constructor is not allowed as a property")}const ec=(t,e,n)=>{if(tc(e),0===e.length)return n(t);let r=t;for(let t=0;t<e.length-1;t++){const n=e[t];if(Rs(r))r=r[+n];else if(Ps(r))r=r[n];else if(Ds(r))r=Qs(r,+n);else if(Is(r)){if(t===e.length-2)break;const i=+n,o=0===+e[++t]?"key":"value",a=Qs(r,i);switch(o){case"key":r=a;break;case"value":r=r.get(a)}}}const i=e[e.length-1];if(Rs(r)?r[+i]=n(r[+i]):Ps(r)&&(r[i]=n(r[i])),Ds(r)){const t=Qs(r,+i),e=n(t);t!==e&&(r.delete(t),r.add(e))}if(Is(r)){const t=+e[e.length-2],o=Qs(r,t);switch(0===+i?"key":"value"){case"key":{const t=n(o);r.set(t,r.get(o)),t!==o&&r.delete(o);break}case"value":r.set(o,n(r.get(o)))}}return t};function nc(t,e,n=[]){if(!t)return;if(!Rs(t))return void Os(t,(t,r)=>nc(t,e,[...n,...$s(r)]));const[r,i]=t;i&&Os(i,(t,r)=>{nc(t,e,[...n,...$s(r)])}),e(r,n)}function rc(t,e,n){return nc(e,(e,r)=>{t=ec(t,r,t=>((t,e,n)=>{if(!Rs(e)){const r=Zs[e];if(!r)throw new Error("Unknown transformation: "+e);return r.untransform(t,n)}switch(e[0]){case"symbol":return Hs.untransform(t,e,n);case"class":return Ws.untransform(t,e,n);case"custom":return Ks.untransform(t,e,n);case"typed-array":return Ys.untransform(t,e,n);default:throw new Error("Unknown transformation: "+e)}})(t,e,n))}),t}const ic=(t,e,n,r,i=[],o=[],a=new Map)=>{const s=(t=>"boolean"==typeof t)(c=t)||(t=>null===t)(c)||Ns(c)||(t=>"number"==typeof t&&!isNaN(t))(c)||(t=>"string"==typeof t)(c)||Us(c);var c;if(!s){!function(t,e,n){const r=n.get(t);r?r.push(e):n.set(t,[e])}(t,i,e);const n=a.get(t);if(n)return r?{transformedValue:null}:n}if(!((t,e)=>Ps(t)||Rs(t)||Is(t)||Ds(t)||Gs(t,e))(t,n)){const e=Js(t,n),r=e?{transformedValue:e.value,annotations:[e.type]}:{transformedValue:t};return s||a.set(t,r),r}if(As(o,t))return{transformedValue:null};const u=Js(t,n),l=u?.value??t,f=Rs(l)?[]:{},h={};Os(l,(s,c)=>{if("__proto__"===c||"constructor"===c||"prototype"===c)throw new Error(`Detected property ${c}. This is a prototype pollution risk, please remove it from your object.`);const u=ic(s,e,n,r,[...i,c],[...o,t],a);f[c]=u.transformedValue,Rs(u.annotations)?h[c]=u.annotations:Ps(u.annotations)&&Os(u.annotations,(t,e)=>{h[Ls(c)+"."+e]=t})});const d=Cs(h)?{transformedValue:f,annotations:u?[u.type]:void 0}:{transformedValue:f,annotations:u?[u.type,h]:h};return s||a.set(t,d),d};function oc(t){return Object.prototype.toString.call(t).slice(8,-1)}function ac(t){return"Array"===oc(t)}function sc(t,e={}){return ac(t)?t.map(t=>sc(t,e)):function(t){if("Object"!==oc(t))return!1;const e=Object.getPrototypeOf(t);return!!e&&e.constructor===Object&&e===Object.prototype}(t)?[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)].reduce((n,r)=>(ac(e.props)&&!e.props.includes(r)||function(t,e,n,r,i){const o={}.propertyIsEnumerable.call(r,e)?"enumerable":"nonenumerable";"enumerable"===o&&(t[e]=n),i&&"nonenumerable"===o&&Object.defineProperty(t,e,{value:n,enumerable:!1,writable:!0,configurable:!0})}(n,r,sc(t[r],e),t,e.nonenumerable),n),{}):t}var cc=class{constructor({dedupe:t=!1}={}){this.classRegistry=new Ss,this.symbolRegistry=new Ts(t=>t.description??""),this.customTransformerRegistry=new ks,this.allowedErrorProps=[],this.dedupe=t}serialize(t){const e=new Map,n=ic(t,e,this,this.dedupe),r={json:n.transformedValue};n.annotations&&(r.meta={...r.meta,values:n.annotations});const i=function(t,e){const n={};let r;return t.forEach(t=>{if(t.length<=1)return;e||(t=t.map(t=>t.map(String)).sort((t,e)=>t.length-e.length));const[i,...o]=t;0===i.length?r=o.map(Vs):n[Vs(i)]=o.map(Vs)}),r?Cs(n)?[r]:[r,n]:Cs(n)?void 0:n}(e,this.dedupe);return i&&(r.meta={...r.meta,referentialEqualities:i}),r}deserialize(t){const{json:e,meta:n}=t;let r=sc(e);return n?.values&&(r=rc(r,n.values,this)),n?.referentialEqualities&&(r=function(t,e){function n(e,n){const r=((t,e)=>{tc(e);for(let n=0;n<e.length;n++){const r=e[n];if(Ds(t))t=Qs(t,+r);else if(Is(t)){const i=+r,o=0===+e[++n]?"key":"value",a=Qs(t,i);switch(o){case"key":t=a;break;case"value":t=t.get(a)}}else t=t[r]}return t})(t,$s(n));e.map($s).forEach(e=>{t=ec(t,e,()=>r)})}if(Rs(e)){const[r,i]=e;r.forEach(e=>{t=ec(t,$s(e),()=>t)}),i&&Os(i,n)}else Os(e,n);return t}(r,n.referentialEqualities)),r}stringify(t){return JSON.stringify(this.serialize(t))}parse(t){return this.deserialize(JSON.parse(t))}registerClass(t,e){this.classRegistry.register(t,e)}registerSymbol(t,e){this.symbolRegistry.register(t,e)}registerCustom(t,e){this.customTransformerRegistry.register({name:e,...t})}allowErrorProps(...t){this.allowedErrorProps.push(...t)}};cc.defaultInstance=new cc,cc.serialize=cc.defaultInstance.serialize.bind(cc.defaultInstance),cc.deserialize=cc.defaultInstance.deserialize.bind(cc.defaultInstance),cc.stringify=cc.defaultInstance.stringify.bind(cc.defaultInstance),cc.parse=cc.defaultInstance.parse.bind(cc.defaultInstance),cc.registerClass=cc.defaultInstance.registerClass.bind(cc.defaultInstance),cc.registerSymbol=cc.defaultInstance.registerSymbol.bind(cc.defaultInstance),cc.registerCustom=cc.defaultInstance.registerCustom.bind(cc.defaultInstance),cc.allowErrorProps=cc.defaultInstance.allowErrorProps.bind(cc.defaultInstance),cc.serialize,cc.deserialize,cc.stringify,cc.parse,cc.registerClass,cc.registerCustom,cc.registerSymbol,cc.allowErrorProps,Bo.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__??=[],Bo.__VUE_DEVTOOLS_KIT_RPC_CLIENT__??=null,Bo.__VUE_DEVTOOLS_KIT_RPC_SERVER__??=null,Bo.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__??=null,Bo.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__??=null,Bo.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__??=null;const uc="undefined"!=typeof window;let lc;const fc=t=>lc=t,hc=Symbol();function dc(t){return t&&"object"==typeof t&&"[object Object]"===Object.prototype.toString.call(t)&&"function"!=typeof t.toJSON}const pc=(()=>"object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n.g&&n.g.global===n.g?n.g:"object"==typeof globalThis?globalThis:{HTMLElement:null})();function gc(t,e,n){const r=new XMLHttpRequest;r.open("GET",t),r.responseType="blob",r.onload=function(){bc(r.response,e,n)},r.onerror=function(){console.error("could not download file")},r.send()}function _c(t){const e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return e.status>=200&&e.status<=299}function mc(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(e){const n=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window,detail:0,screenX:80,screenY:20,clientX:80,clientY:20,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:null});t.dispatchEvent(n)}}const yc="object"==typeof navigator?navigator:{userAgent:""},vc=(()=>/Macintosh/.test(yc.userAgent)&&/AppleWebKit/.test(yc.userAgent)&&!/Safari/.test(yc.userAgent))(),bc=uc?"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!vc?function(t,e="download",n){const r=document.createElement("a");r.download=e,r.rel="noopener","string"==typeof t?(r.href=t,r.origin!==location.origin?_c(r.href)?gc(t,e,n):(r.target="_blank",mc(r)):mc(r)):(r.href=URL.createObjectURL(t),setTimeout(function(){URL.revokeObjectURL(r.href)},4e4),setTimeout(function(){mc(r)},0))}:"msSaveOrOpenBlob"in yc?function(t,e="download",n){if("string"==typeof t)if(_c(t))gc(t,e,n);else{const e=document.createElement("a");e.href=t,e.target="_blank",setTimeout(function(){mc(e)})}else navigator.msSaveOrOpenBlob(function(t,{autoBom:e=!1}={}){return e&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t}(t,n),e)}:function(t,e,n,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof t)return gc(t,e,n);const i="application/octet-stream"===t.type,o=/constructor/i.test(String(pc.HTMLElement))||"safari"in pc,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||i&&o||vc)&&"undefined"!=typeof FileReader){const e=new FileReader;e.onloadend=function(){let t=e.result;if("string"!=typeof t)throw r=null,new Error("Wrong reader.result type");t=a?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=t:location.assign(t),r=null},e.readAsDataURL(t)}else{const e=URL.createObjectURL(t);r?r.location.assign(e):location.href=e,r=null,setTimeout(function(){URL.revokeObjectURL(e)},4e4)}}:()=>{};function wc(t,e){const n="🍍 "+t;"error"===e?console.error(n):"warn"===e?console.warn(n):console.debug(n)}function xc(t){return"_a"in t&&"install"in t}function Ec(t,e){const n=Ce(t)[e];return Ue(n)&&!ke(n)}function Tc(){if(!("clipboard"in navigator))return wc("Your browser doesn't support the Clipboard API","error"),!0}function Sc(t){return!!(t instanceof Error&&t.message.toLowerCase().includes("document is not focused"))&&(wc('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0)}let Oc;function Ac(t,e){for(const n in e){const r=t.state.value[n];r?Object.assign(r,e[n]):t.state.value[n]=e[n]}}function Mc(t){return{_custom:{display:t}}}const kc="🍍 Pinia (root)";function Nc(t){return xc(t)?{id:"_root",label:kc}:{id:t.$id,label:t.$id}}function Pc(t){return t?Array.isArray(t)?t.reduce((t,e)=>(t.keys.push(e.key),t.operations.push(e.type),t.oldValue[e.key]=e.oldValue,t.newValue[e.key]=e.newValue,t),{oldValue:{},keys:[],operations:[],newValue:{}}):{operation:Mc(t.type),key:Mc(t.key),oldValue:t.oldValue,newValue:t.newValue}:{}}function Cc(t){switch(t){case"direct":return"mutation";case"patch function":case"patch object":return"$patch";default:return"unknown"}}let Rc=!0;const Ic=[],Dc="pinia:mutations",Uc="pinia",{assign:jc}=Object,Lc=t=>"🍍 "+t;function Vc(t,e){gs({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:Ic,app:t},n=>{"function"!=typeof n.now&&wc("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),n.addTimelineLayer({id:Dc,label:"Pinia 🍍",color:15064968}),n.addInspector({id:Uc,label:"Pinia 🍍",icon:"storage",treeFilterPlaceholder:"Search stores",actions:[{icon:"content_copy",action:()=>{!async function(t){if(!Tc())try{await navigator.clipboard.writeText(JSON.stringify(t.state.value)),wc("Global state copied to clipboard.")}catch(t){if(Sc(t))return;wc("Failed to serialize the state. Check the console for more details.","error"),console.error(t)}}(e)},tooltip:"Serialize and copy the state"},{icon:"content_paste",action:async()=>{await async function(t){if(!Tc())try{Ac(t,JSON.parse(await navigator.clipboard.readText())),wc("Global state pasted from clipboard.")}catch(t){if(Sc(t))return;wc("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(t)}}(e),n.sendInspectorTree(Uc),n.sendInspectorState(Uc)},tooltip:"Replace the state with the content of your clipboard"},{icon:"save",action:()=>{!async function(t){try{bc(new Blob([JSON.stringify(t.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(t){wc("Failed to export the state as JSON. Check the console for more details.","error"),console.error(t)}}(e)},tooltip:"Save the state as a JSON file"},{icon:"folder_open",action:async()=>{await async function(t){try{const e=await(Oc||(Oc=document.createElement("input"),Oc.type="file",Oc.accept=".json"),function(){return new Promise((t,e)=>{Oc.onchange=async()=>{const e=Oc.files;if(!e)return t(null);const n=e.item(0);return t(n?{text:await n.text(),file:n}:null)},Oc.oncancel=()=>t(null),Oc.onerror=e,Oc.click()})})();if(!e)return;const{text:n,file:r}=e;Ac(t,JSON.parse(n)),wc(`Global state imported from "${r.name}".`)}catch(t){wc("Failed to import the state from JSON. Check the console for more details.","error"),console.error(t)}}(e),n.sendInspectorTree(Uc),n.sendInspectorState(Uc)},tooltip:"Import the state from a JSON file"}],nodeActions:[{icon:"restore",tooltip:'Reset the state (with "$reset")',action:t=>{const n=e._s.get(t);n?"function"!=typeof n.$reset?wc(`Cannot reset "${t}" store because it doesn't have a "$reset" method implemented.`,"warn"):(n.$reset(),wc(`Store "${t}" reset.`)):wc(`Cannot reset "${t}" store because it wasn't found.`,"warn")}}]}),n.on.inspectComponent(t=>{const e=t.componentInstance&&t.componentInstance.proxy;if(e&&e._pStores){const e=t.componentInstance.proxy._pStores;Object.values(e).forEach(e=>{t.instanceData.state.push({type:Lc(e.$id),key:"state",editable:!0,value:e._isOptionsAPI?{_custom:{value:Ce(e.$state),actions:[{icon:"restore",tooltip:"Reset the state of this store",action:()=>e.$reset()}]}}:Object.keys(e.$state).reduce((t,n)=>(t[n]=e.$state[n],t),{})}),e._getters&&e._getters.length&&t.instanceData.state.push({type:Lc(e.$id),key:"getters",editable:!1,value:e._getters.reduce((t,n)=>{try{t[n]=e[n]}catch(e){t[n]=e}return t},{})})})}}),n.on.getInspectorTree(n=>{if(n.app===t&&n.inspectorId===Uc){let t=[e];t=t.concat(Array.from(e._s.values())),n.rootNodes=(n.filter?t.filter(t=>"$id"in t?t.$id.toLowerCase().includes(n.filter.toLowerCase()):kc.toLowerCase().includes(n.filter.toLowerCase())):t).map(Nc)}}),globalThis.$pinia=e,n.on.getInspectorState(n=>{if(n.app===t&&n.inspectorId===Uc){const t="_root"===n.nodeId?e:e._s.get(n.nodeId);if(!t)return;t&&("_root"!==n.nodeId&&(globalThis.$store=Ce(t)),n.state=function(t){if(xc(t)){const e=Array.from(t._s.keys()),n=t._s;return{state:e.map(e=>({editable:!0,key:e,value:t.state.value[e]})),getters:e.filter(t=>n.get(t)._getters).map(t=>{const e=n.get(t);return{editable:!1,key:t,value:e._getters.reduce((t,n)=>(t[n]=e[n],t),{})}})}}const e={state:Object.keys(t.$state).map(e=>({editable:!0,key:e,value:t.$state[e]}))};return t._getters&&t._getters.length&&(e.getters=t._getters.map(e=>({editable:Ec(t,e),key:e,value:t[e]}))),t._customProperties.size&&(e.customProperties=Array.from(t._customProperties).map(e=>({editable:!0,key:e,value:t[e]}))),e}(t))}}),n.on.editInspectorState(n=>{if(n.app===t&&n.inspectorId===Uc){const t="_root"===n.nodeId?e:e._s.get(n.nodeId);if(!t)return wc(`store "${n.nodeId}" not found`,"error");const{path:r}=n;xc(t)?r.unshift("state"):(1!==r.length||!t._customProperties.has(r[0])&&!Ec(t,r[0])||r[0]in t.$state)&&r.unshift("$state"),Rc=!1,n.set(t,r,n.state.value),Rc=!0}}),n.on.editComponentState(t=>{if(t.type.startsWith("🍍")){const n=t.type.replace(/^🍍\s*/,""),r=e._s.get(n);if(!r)return wc(`store "${n}" not found`,"error");const{path:i}=t;if("state"!==i[0])return wc(`Invalid path for store "${n}":\n${i}\nOnly state can be modified.`);i[0]="$state",Rc=!1,t.set(r,i,t.state.value),Rc=!0}})})}let $c,Fc=0;function zc(t,e,n){const r=e.reduce((e,n)=>(e[n]=Ce(t)[n],e),{});for(const e in r)t[e]=function(){const i=Fc,o=n?new Proxy(t,{get:(...t)=>($c=i,Reflect.get(...t)),set:(...t)=>($c=i,Reflect.set(...t))}):t;$c=i;const a=r[e].apply(o,arguments);return $c=void 0,a}}function Bc({app:t,store:e,options:n}){if(!e.$id.startsWith("__hot:")){if(e._isOptionsAPI=!!n.state,!e._p._testing){zc(e,Object.keys(n.actions),e._isOptionsAPI);const t=e._hotUpdate;Ce(e)._hotUpdate=function(n){t.apply(this,arguments),zc(e,Object.keys(n._hmrPayload.actions),!!e._isOptionsAPI)}}!function(t,e){Ic.includes(Lc(e.$id))||Ic.push(Lc(e.$id)),gs({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:Ic,app:t,settings:{logStoreChanges:{label:"Notify about new/deleted stores",type:"boolean",defaultValue:!0}}},t=>{const n="function"==typeof t.now?t.now.bind(t):Date.now;e.$onAction(({after:r,onError:i,name:o,args:a})=>{const s=Fc++;t.addTimelineEvent({layerId:Dc,event:{time:n(),title:"🛫 "+o,subtitle:"start",data:{store:Mc(e.$id),action:Mc(o),args:a},groupId:s}}),r(r=>{$c=void 0,t.addTimelineEvent({layerId:Dc,event:{time:n(),title:"🛬 "+o,subtitle:"end",data:{store:Mc(e.$id),action:Mc(o),args:a,result:r},groupId:s}})}),i(r=>{$c=void 0,t.addTimelineEvent({layerId:Dc,event:{time:n(),logType:"error",title:"💥 "+o,subtitle:"end",data:{store:Mc(e.$id),action:Mc(o),args:a,error:r},groupId:s}})})},!0),e._customProperties.forEach(r=>{Mn(()=>Ve(e[r]),(e,i)=>{t.notifyComponentUpdate(),t.sendInspectorState(Uc),Rc&&t.addTimelineEvent({layerId:Dc,event:{time:n(),title:"Change",subtitle:r,data:{newValue:e,oldValue:i},groupId:$c}})},{deep:!0})}),e.$subscribe(({events:r,type:i},o)=>{if(t.notifyComponentUpdate(),t.sendInspectorState(Uc),!Rc)return;const a={time:n(),title:Cc(i),data:jc({store:Mc(e.$id)},Pc(r)),groupId:$c};"patch function"===i?a.subtitle="⤵️":"patch object"===i?a.subtitle="🧩":r&&!Array.isArray(r)&&(a.subtitle=r.type),r&&(a.data["rawEvent(s)"]={_custom:{display:"DebuggerEvent",type:"object",tooltip:"raw DebuggerEvent[]",value:r}}),t.addTimelineEvent({layerId:Dc,event:a})},{detached:!0,flush:"sync"});const r=e._hotUpdate;e._hotUpdate=Re(i=>{r(i),t.addTimelineEvent({layerId:Dc,event:{time:n(),title:"🔥 "+e.$id,subtitle:"HMR update",data:{store:Mc(e.$id),info:Mc("HMR update")}}}),t.notifyComponentUpdate(),t.sendInspectorTree(Uc),t.sendInspectorState(Uc)});const{$dispose:i}=e;e.$dispose=()=>{i(),t.notifyComponentUpdate(),t.sendInspectorTree(Uc),t.sendInspectorState(Uc),t.getSettings().logStoreChanges&&wc(`Disposed "${e.$id}" store 🗑`)},t.notifyComponentUpdate(),t.sendInspectorTree(Uc),t.sendInspectorState(Uc),t.getSettings().logStoreChanges&&wc(`"${e.$id}" store installed 🆕`)})}(t,e)}}const Hc=()=>{};function qc(t,e,n,r=Hc){t.add(e);const i=()=>{t.delete(e)&&r()};var o;return!n&&vt()&&(o=i,gt&>.cleanups.push(o)),i}function Yc(t,...e){t.forEach(t=>{t(...e)})}const Gc=t=>t(),Wc=Symbol(),Kc=Symbol();function Xc(t,e){t instanceof Map&&e instanceof Map?e.forEach((e,n)=>t.set(n,e)):t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!Object.hasOwn(e,n))continue;const r=e[n],i=t[n];dc(i)&&dc(r)&&Object.hasOwn(t,n)&&!Ue(r)&&!Me(r)?t[n]=Xc(i,r):t[n]=r}return t}const Jc=Symbol();function Zc(t){return!t||"object"!=typeof t||!Object.hasOwn(t,Jc)}const{assign:Qc}=Object;function tu(t){return!(!Ue(t)||!t.effect)}function eu(t,e,n={},r,i,o){let a;const s=Qc({actions:{}},n),c={deep:!0};let u,l,f,h=new Set,d=new Set;const p=r.state.value[t];let g;function _(e){let n;u=l=!1,"function"==typeof e?(e(r.state.value[t]),n={type:"patch function",storeId:t,events:f}):(Xc(r.state.value[t],e),n={type:"patch object",payload:e,storeId:t,events:f});const i=g=Symbol();an().then(()=>{g===i&&(u=!0)}),l=!0,Yc(h,n,r.state.value[t])}o||p||(r.state.value[t]={});const m=o?function(){const{state:t}=n,e=t?t():{};this.$patch(t=>{Qc(t,e)})}:Hc,y=(e,n="")=>{if(Wc in e)return e[Kc]=n,e;const i=function(){fc(r);const n=Array.from(arguments),o=new Set,a=new Set;let s;Yc(d,{args:n,name:i[Kc],store:w,after:function(t){o.add(t)},onError:function(t){a.add(t)}});try{s=e.apply(this&&this.$id===t?this:w,n)}catch(t){throw Yc(a,t),t}return s instanceof Promise?s.then(t=>(Yc(o,t),t)).catch(t=>(Yc(a,t),Promise.reject(t))):(Yc(o,s),s)};return i[Wc]=!0,i[Kc]=n,i},v=Re({actions:{},getters:{},state:[],hotState:je({})}),b={_p:r,$id:t,$onAction:qc.bind(null,d),$patch:_,$reset:m,$subscribe(e,n={}){if(h.has(e))return Hc;const i=qc(h,e,n.detached,()=>o()),o=a.run(()=>Mn(()=>r.state.value[t],r=>{("sync"===n.flush?l:u)&&e({storeId:t,type:"direct",events:f},r)},Qc({},c,n)));return i},$dispose:function(){a.stop(),h.clear(),d.clear(),r._s.delete(t)}},w=Se("undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&uc?Qc({_hmrPayload:v,_customProperties:Re(new Set)},b):b);r._s.set(t,w);const x=(r._a&&r._a.runWithContext||Gc)(()=>r._e.run(()=>(a=yt()).run(()=>e({action:y}))));for(const e in x){const n=x[e];Ue(n)&&!tu(n)||Me(n)?o||(p&&Zc(n)&&(Ue(n)?n.value=p[e]:((n instanceof Set||n instanceof Map)&&n.clear(),Xc(n,p[e]))),r.state.value[t][e]=n):"function"==typeof n&&(x[e]=y(n,e),s.actions[e]=n)}if(Qc(w,x),Qc(Ce(w),x),Object.defineProperty(w,"$state",{get:()=>r.state.value[t],set:t=>{_(e=>{Qc(e,t)})}}),"undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&uc){const t={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(e=>{Object.defineProperty(w,e,Qc({value:w[e]},t))})}return r._p.forEach(t=>{const e=a.run(()=>t({store:w,app:r._a,pinia:r,options:s}));"undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&uc&&Object.keys(e||{}).forEach(t=>w._customProperties.add(t)),Qc(w,e)}),p&&o&&n.hydrate&&n.hydrate(w.$state,p),u=!0,l=!0,w}function nu(t,e){return function(){return t.apply(e,arguments)}}const{toString:ru}=Object.prototype,{getPrototypeOf:iu}=Object,{iterator:ou,toStringTag:au}=Symbol,su=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),cu=t=>"string"==typeof t&&("__proto__"===t||"constructor"===t||"prototype"===t),uu=(t,e,n)=>t===Object.prototype||!n&&null===e,lu=(t,e)=>{let n=t;const r=[];for(;null!=n;){if(-1!==r.indexOf(n))return!1;r.push(n);const i=iu(n);if(uu(n,i,n===t))return!1;if(su(n,e))return!0;n=i}return!1},fu=(hu=Object.create(null),t=>{const e=ru.call(t);return hu[e]||(hu[e]=e.slice(8,-1).toLowerCase())});var hu;const du=t=>(t=t.toLowerCase(),e=>fu(e)===t),pu=t=>e=>typeof e===t,{isArray:gu}=Array,_u=pu("undefined");function mu(t){return null!==t&&!_u(t)&&null!==t.constructor&&!_u(t.constructor)&&bu(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const yu=du("ArrayBuffer"),vu=pu("string"),bu=pu("function"),wu=pu("number"),xu=t=>null!==t&&"object"==typeof t,Eu=t=>{if(!xu(t))return!1;const e=iu(t);return!(null!==e&&e!==Object.prototype&&null!==iu(e)||lu(t,au)||lu(t,ou))},Tu=du("Date"),Su=du("File"),Ou=du("Blob"),Au=du("FileList"),Mu=du("Set"),ku="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{},Nu=void 0!==ku.FormData?ku.FormData:void 0,Pu=du("URLSearchParams"),[Cu,Ru,Iu,Du]=["ReadableStream","Request","Response","Headers"].map(du);function Uu(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let r,i;if("object"!=typeof t&&(t=[t]),gu(t))for(r=0,i=t.length;r<i;r++)e.call(null,t[r],r,t);else{if(mu(t))return;const i=n?Object.getOwnPropertyNames(t):Object.keys(t),o=i.length;let a;for(r=0;r<o;r++)a=i[r],e.call(null,t[a],a,t)}}function ju(t,e){if(mu(t))return null;e=e.toLowerCase();const n=Object.keys(t);let r,i=n.length;for(;i-- >0;)if(r=n[i],e===r.toLowerCase())return r;return null}const Lu="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:n.g,Vu=t=>!_u(t)&&t!==Lu,$u=(Fu="undefined"!=typeof Uint8Array&&iu(Uint8Array),t=>Fu&&t instanceof Fu);var Fu;const zu=du("HTMLFormElement"),{propertyIsEnumerable:Bu}=Object.prototype,Hu=du("RegExp"),qu=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};Uu(n,(n,i)=>{let o;!1!==(o=e(n,i,t))&&(r[i]=o||n)}),Object.defineProperties(t,r)},Yu=du("AsyncFunction"),Gu=(Wu="function"==typeof setImmediate,Ku=bu(Lu.postMessage),Wu?setImmediate:Ku?(Xu=`axios@${Math.random()}`,Ju=[],Lu.addEventListener("message",({source:t,data:e})=>{t===Lu&&e===Xu&&Ju.length&&Ju.shift()()},!1),t=>{Ju.push(t),Lu.postMessage(Xu,"*")}):t=>setTimeout(t));var Wu,Ku,Xu,Ju;const Zu="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Lu):"undefined"!=typeof process&&process.nextTick||Gu,Qu=t=>null!=t&&bu(t[ou]),tl={isArray:gu,isArrayBuffer:yu,isBuffer:mu,isFormData:t=>{if(!t)return!1;if(Nu&&t instanceof Nu)return!0;const e=iu(t);if(!e||e===Object.prototype)return!1;if(!bu(t.append))return!1;const n=fu(t);return"formdata"===n||"object"===n&&bu(t.toString)&&"[object FormData]"===t.toString()},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&yu(t.buffer),e},isString:vu,isNumber:wu,isBoolean:t=>!0===t||!1===t,isObject:xu,isPlainObject:Eu,isEmptyObject:t=>{if(!xu(t)||mu(t))return!1;try{return 0===Object.keys(t).length&&Object.getPrototypeOf(t)===Object.prototype}catch(t){return!1}},isReadableStream:Cu,isRequest:Ru,isResponse:Iu,isHeaders:Du,isUndefined:_u,isDate:Tu,isFile:Su,isReactNativeBlob:t=>!(!t||void 0===t.uri),isReactNative:t=>t&&void 0!==t.getParts,isBlob:Ou,isRegExp:Hu,isFunction:bu,isStream:t=>xu(t)&&bu(t.pipe),isURLSearchParams:Pu,isTypedArray:$u,isFileList:Au,forEach:Uu,merge:function t(...e){const{caseless:n,skipUndefined:r}=Vu(this)&&this||{},i={},o=(e,o)=>{if("__proto__"===o||"constructor"===o||"prototype"===o)return;const a=n&&"string"==typeof o&&ju(i,o)||o,s=su(i,a)?i[a]:void 0;Eu(s)&&Eu(e)?i[a]=t(s,e):Eu(e)?i[a]=t({},e):gu(e)?i[a]=e.slice():r&&_u(e)||(i[a]=e)};for(let t=0,n=e.length;t<n;t++){const n=e[t];if(!n||mu(n))continue;if(Uu(n,o),"object"!=typeof n||gu(n))continue;const r=Object.getOwnPropertySymbols(n);for(let t=0;t<r.length;t++){const e=r[t];Bu.call(n,e)&&o(n[e],e)}}return i},extend:(t,e,n,{allOwnKeys:r}={})=>(Uu(e,(e,r)=>{n&&bu(e)?Object.defineProperty(t,r,{__proto__:null,value:nu(e,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,r,{__proto__:null,value:e,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),Object.defineProperty(t.prototype,"constructor",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(t,"super",{__proto__:null,value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,e,n,r)=>{let i,o,a;const s={};if(e=e||{},null==t)return e;do{for(i=Object.getOwnPropertyNames(t),o=i.length;o-- >0;)a=i[o],r&&!r(a,t,e)||s[a]||(e[a]=t[a],s[a]=!0);t=!1!==n&&iu(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:fu,kindOfTest:du,endsWith:(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return-1!==r&&r===n},toArray:t=>{if(!t)return null;if(gu(t))return t;let e=t.length;if(!wu(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},forEachEntry:(t,e)=>{const n=(t&&t[ou]).call(t);let r;for(;(r=n.next())&&!r.done;){const n=r.value;e.call(t,n[0],n[1])}},matchAll:(t,e)=>{let n;const r=[];for(;null!==(n=t.exec(e));)r.push(n);return r},isHTMLForm:zu,hasOwnProperty:su,hasOwnProp:su,hasOwnInPrototypeChain:lu,getSafeProp:(t,e)=>null!=t&&lu(t,e)?t[e]:void 0,toSafeFlatObject:t=>{if(null==t||"object"!=typeof t&&"function"!=typeof t)return t;const e=iu(t);if(null===e&&(t=>{if(!Object.isExtensible(t))return!1;const e=Object.getOwnPropertyNames(t);return Object.getOwnPropertySymbols&&e.push(...Object.getOwnPropertySymbols(t)),e.every(e=>{if(cu(e))return!1;const n=Object.getOwnPropertyDescriptor(t,e);return!!n&&n.configurable&&!0===n.writable})})(t))return t;const n=Object.create(null),r=Object.create(null),i=[];let o=t;for(;null!=o&&-1===i.indexOf(o);){i.push(o);const a=o===t?e:iu(o);if(uu(o,a,o===t))break;const s=Object.getOwnPropertyNames(o);Object.getOwnPropertySymbols&&s.push(...Object.getOwnPropertySymbols(o));for(const e of s)cu(e)||su(r,e)||(n[e]=t[e],r[e]=!0);o=a}return n},reduceDescriptors:qu,freezeMethods:t=>{qu(t,(e,n)=>{if(bu(t)&&["arguments","caller","callee"].includes(n))return!1;const r=t[n];bu(r)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(t,e)=>{const n={},r=t=>{t.forEach(t=>{n[t]=!0})};return gu(t)?r(t):r(String(t).split(e)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,e,n){return e.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:ju,global:Lu,isContextDefined:Vu,isSpecCompliantForm:function(t){return!!(t&&bu(t.append)&&"FormData"===t[au]&&t[ou])},toJSONObject:t=>{const e=new WeakSet,n=t=>{if(xu(t)){if(e.has(t))return;if(mu(t))return t;if(!("toJSON"in t)){let r;if(e.add(t),Mu(t)){r=[];for(const e of t){const t=n(e);!_u(t)&&r.push(t)}}else r=gu(t)?[]:{},Uu(t,(t,e)=>{const i=n(t);!_u(i)&&(r[e]=i)});return e.delete(t),r}}return t};return n(t)},isAsyncFn:Yu,isThenable:t=>t&&(xu(t)||bu(t))&&bu(t.then)&&bu(t.catch),setImmediate:Gu,asap:Zu,isIterable:Qu,isSafeIterable:t=>null!=t&&lu(t,ou)&&Qu(t)},el=tl.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),nl=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),rl=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function il(t,e){return tl.isArray(t)?t.map(t=>il(t,e)):function(t){let e=0,n=t.length;for(;e<n;){const n=t.charCodeAt(e);if(9!==n&&32!==n)break;e+=1}for(;n>e;){const e=t.charCodeAt(n-1);if(9!==e&&32!==e)break;n-=1}return 0===e&&n===t.length?t:t.slice(e,n)}(String(t).replace(e,""))}function ol(t){const e=Object.create(null);return tl.forEach(t.toJSON(),(t,n)=>{e[n]=(t=>il(t,rl))(t)}),e}const al=Symbol("internals");function sl(t){return t&&String(t).trim().toLowerCase()}function cl(t){return!1===t||null==t?t:tl.isArray(t)?t.map(cl):(t=>il(t,nl))(String(t))}const ul=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function ll(t){let e=0,n=t.length;for(;e<n;){const n=t.charCodeAt(e);if(9!==n&&32!==n)break;e+=1}for(;n>e;){const e=t.charCodeAt(n-1);if(9!==e&&32!==e)break;n-=1}return 0===e&&n===t.length?t:t.slice(e,n)}function fl(t,e,n,r,i){return tl.isFunction(r)?r.call(this,e,n):(i&&(e=n),tl.isString(e)?tl.isString(r)?-1!==e.indexOf(r):tl.isRegExp(r)?r.test(e):void 0:void 0)}class hl{constructor(t){t&&this.set(t)}set(t,e,n){const r=this;function i(t,e,n){const i=sl(e);if(!i)return;const o=tl.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||e]=cl(t))}const o=(t,e)=>tl.forEach(t,(t,n)=>i(t,n,e));if(tl.isPlainObject(t)||t instanceof this.constructor)o(t,e);else if(tl.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))o((t=>{const e={};let n,r,i;return t&&t.split("\n").forEach(function(t){i=t.indexOf(":"),n=t.substring(0,i).trim().toLowerCase(),r=t.substring(i+1).trim();const o=tl.hasOwnProp(e,n);!n||o&&tl.hasOwnProp(el,n)||("set-cookie"===n?o?e[n].push(r):e[n]=[r]:e[n]=o?e[n]+", "+r:r)}),e})(t),e);else if(tl.isObject(t)&&tl.isSafeIterable(t)){let n,r,i=Object.create(null);for(const e of t){if(!tl.isArray(e))throw new TypeError("Object iterator must return a key-value pair");r=e[0],tl.hasOwnProp(i,r)?(n=i[r],i[r]=tl.isArray(n)?[...n,e[1]]:[n,e[1]]):i[r]=e[1]}o(i,e)}else null!=t&&i(e,t,n);return this}get(t,e){if(t=sl(t)){const n=tl.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}(t);if(tl.isFunction(e))return e.call(this,t,n);if(tl.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=sl(t)){const n=tl.findKey(this,t);return!(!n||void 0===this[n]||e&&!fl(0,this[n],n,e))}return!1}delete(t,e){const n=this;let r=!1;function i(t){if(t=sl(t)){const i=tl.findKey(n,t);!i||e&&!fl(0,n[i],i,e)||(delete n[i],r=!0)}}return tl.isArray(t)?t.forEach(i):i(t),r}clear(t){const e=Object.keys(this);let n=e.length,r=!1;for(;n--;){const i=e[n];t&&!fl(0,this[i],i,t,!0)||(delete this[i],r=!0)}return r}normalize(t){const e=this,n={};return tl.forEach(this,(r,i)=>{const o=tl.findKey(n,i);if(o)return e[o]=cl(r),void delete e[i];const a=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,e,n)=>e.toUpperCase()+n)}(i):String(i).trim();a!==i&&delete e[i],e[a]=cl(r),n[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return tl.forEach(this,(n,r)=>{null!=n&&!1!==n&&(e[r]=t&&tl.isArray(n)?n.join(", "):n)}),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,e])=>t+": "+e).join("\n")}getSetCookie(){const t=this.get("set-cookie");return tl.isArray(t)?t:null==t||!1===t?[]:[t]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static parseParameters(t){return function(t){const e=Object.create(null),n=String(t);let r=0,i=!1,o=!1;function a(t){const i=ll(n.slice(r,t)),o=i.indexOf("=");if(o<1)return;const a=ll(i.slice(0,o));if(!ul.test(a))return;const s=a.toLowerCase();if("__proto__"===s||"constructor"===s||"prototype"===s)return;const c=ll(i.slice(o+1));e[s]=function(t){const e=t.length-1;if(e<1||34!==t.charCodeAt(0)||34!==t.charCodeAt(e))return t;let n="";for(let r=1;r<e;r++){const i=t.charCodeAt(r);if(34===i)return t;if(92===i&&(r+=1,r>=e))return t;n+=t[r]}return n}(c)}for(let t=0;t<n.length;t++){const e=n.charCodeAt(t);i?o?o=!1:92===e?o=!0:34===e&&(i=!1):34===e?i=!0:44!==e&&59!==e||(a(t),r=t+1)}return a(n.length),e}(t)}static concat(t,...e){const n=new this(t);return e.forEach(t=>n.set(t)),n}static accessor(t){const e=(this[al]=this[al]={accessors:{}}).accessors,n=this.prototype;function r(t){const r=sl(t);e[r]||(function(t,e){const n=tl.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{__proto__:null,value:function(t,n,i){return this[r].call(this,e,t,n,i)},configurable:!0})})}(n,t),e[r]=!0)}return tl.isArray(t)?t.forEach(r):r(t),this}}hl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),tl.reduceDescriptors(hl.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[n]=t}}}),tl.freezeMethods(hl);const dl=hl,pl="[REDACTED ****]";function gl(t){try{return String(t)}catch(t){return""}}class _l extends Error{static from(t,e,n,r,i,o){let a=t.message;!a&&tl.isArray(t.errors)&&t.errors.length&&(a=function(t){return t.errors.map(t=>{try{return t&&t.message?gl(t.message):gl(t)}catch(t){return""}}).filter(Boolean).join("; ")||t.name||"AggregateError"}(t));const s=new _l(a,e||t.code,n,r,i);return Object.defineProperty(s,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),s.name=t.name,null!=t.status&&null==s.status&&(s.status=t.status),o&&Object.assign(s,o),s}constructor(t,e,n,r,i){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status)}toJSON(){const t=this.config,e=t&&tl.hasOwnProp(t,"redact")?t.redact:void 0,n=tl.isArray(e)&&e.length>0?function(t,e){const n=new Set(e.map(t=>String(t).toLowerCase())),r=[],i=t=>{if(null===t||"object"!=typeof t)return t;if(tl.isBuffer(t))return t;if(-1!==r.indexOf(t))return;let e;if(t instanceof dl&&(t=t.toJSON()),r.push(t),tl.isArray(t))e=[],t.forEach((t,n)=>{const r=i(t);tl.isUndefined(r)||(e[n]=r)});else{if(!tl.isPlainObject(t)&&function(t){if(tl.hasOwnProp(t,"toJSON"))return!0;let e=Object.getPrototypeOf(t);for(;e&&e!==Object.prototype;){if(tl.hasOwnProp(e,"toJSON"))return!0;e=Object.getPrototypeOf(e)}return!1}(t))return r.pop(),t;e=Object.create(null);for(const[r,o]of Object.entries(t)){const t=n.has(r.toLowerCase())?pl:i(o);tl.isUndefined(t)||(e[r]=t)}}return r.pop(),e};return i(t)}(t,e):tl.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}}_l.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",_l.ERR_BAD_OPTION="ERR_BAD_OPTION",_l.ECONNABORTED="ECONNABORTED",_l.ETIMEDOUT="ETIMEDOUT",_l.ECONNREFUSED="ECONNREFUSED",_l.ERR_NETWORK="ERR_NETWORK",_l.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",_l.ERR_DEPRECATED="ERR_DEPRECATED",_l.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",_l.ERR_BAD_REQUEST="ERR_BAD_REQUEST",_l.ERR_CANCELED="ERR_CANCELED",_l.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",_l.ERR_INVALID_URL="ERR_INVALID_URL",_l.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const ml=_l;function yl(t){return tl.isPlainObject(t)||tl.isArray(t)}function vl(t){return tl.endsWith(t,"[]")?t.slice(0,-2):t}function bl(t,e,n){return t?t.concat(e).map(function(t,e){return t=vl(t),!n&&e?"["+t+"]":t}).join(n?".":""):e}const wl=tl.toFlatObject(tl,{},null,function(t){return/^is[A-Z]/.test(t)}),xl=function(t,e,n){if(!tl.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const r=(t,e)=>{const r=tl.getSafeProp(n,t);return tl.isUndefined(r)?e:r},i=r("metaTokens",!0),o=r("visitor")||p,a=r("dots",!1),s=r("indexes",!1),c=r("Blob")||"undefined"!=typeof Blob&&Blob,u=r("maxDepth",100),l=c&&tl.isSpecCompliantForm(e),f=[];if(!tl.isFunction(o))throw new TypeError("visitor must be a function");function h(t){if(null===t)return"";if(tl.isDate(t))return t.toISOString();if(tl.isBoolean(t))return t.toString();if(!l&&tl.isBlob(t))throw new ml("Blob is not supported. Use a Buffer instead.");if(tl.isArrayBuffer(t)||tl.isTypedArray(t)){if(l&&"function"==typeof c)return new c([t]);throw new ml("Blob is not supported. Use a Buffer instead.",ml.ERR_NOT_SUPPORT)}return t}function d(t){if(t>u)throw new ml("Object is too deeply nested ("+t+" levels). Max depth: "+u,ml.ERR_FORM_DATA_DEPTH_EXCEEDED)}function p(t,n,r){let o=t;if(tl.isReactNative(e)&&tl.isReactNativeBlob(t))return e.append(bl(r,n,a),h(t)),!1;if(t&&!r&&"object"==typeof t)if(tl.endsWith(n,"{}"))n=i?n:n.slice(0,-2),t=function(t){if(u===1/0)return JSON.stringify(t);const e=[];return JSON.stringify(t,function(t,n){if(!tl.isObject(n))return n;for(;e.length&&e[e.length-1]!==this;)e.pop();return e.push(n),d(1+e.length-1),n})}(t);else if(tl.isArray(t)&&function(t){return tl.isArray(t)&&!t.some(yl)}(t)||(tl.isFileList(t)||tl.endsWith(n,"[]"))&&(o=tl.toArray(t)))return n=vl(n),o.forEach(function(t,r){!tl.isUndefined(t)&&null!==t&&e.append(!0===s?bl([n],r,a):null===s?n:n+"[]",h(t))}),!1;return!!yl(t)||(e.append(bl(r,n,a),h(t)),!1)}const g=Object.assign(wl,{defaultVisitor:p,convertValue:h,isVisitable:yl});if(!tl.isObject(t))throw new TypeError("data must be an object");return function t(n,r,i=0){if(!tl.isUndefined(n)){if(d(i),-1!==f.indexOf(n))throw new Error("Circular reference detected in "+r.join("."));f.push(n),tl.forEach(n,function(n,a){!0===(!(tl.isUndefined(n)||null===n)&&o.call(e,n,tl.isString(a)?a.trim():a,r,g))&&t(n,r?r.concat(a):[a],i+1)}),f.pop()}}(t),e};function El(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(t).replace(/[!'()~]|%20/g,function(t){return e[t]})}function Tl(t,e){this._pairs=[],t&&xl(t,this,e)}const Sl=Tl.prototype;Sl.append=function(t,e){this._pairs.push([t,e])},Sl.toString=function(t){const e=t?e=>t.call(this,e,El):El;return this._pairs.map(function(t){return e(t[0])+"="+e(t[1])},"").join("&")};const Ol=Tl;function Al(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Ml(t,e,n){if(!e)return t;t=t||"";const r=tl.isFunction(n)?{serialize:n}:n,i=tl.getSafeProp(r,"encode")||Al,o=tl.getSafeProp(r,"serialize");let a;if(a=o?o(e,r):tl.isURLSearchParams(e)?e.toString():new Ol(e,r).toString(i),a){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}const kl=Symbol("internals");function Nl(t){return t?t.length:0}function Pl(t){if(t)for(;t.length&&null===t[t.length-1];)t.pop()}function Cl(t,e){const n=t.handlers,r=Nl(n);n!==e.handlersRef?(e.handlersRef=n,e.handlerEntries.clear()):r!==e.handlersLength&&(r?e.handlerEntries.forEach(function(t,r){n[t.index]!==t.handler&&e.handlerEntries.delete(r)}):e.handlerEntries.clear()),e.handlersLength=r}const Rl=class{constructor(){this.handlers=[],this[kl]={handlersRef:this.handlers,handlersLength:this.handlers.length,handlerEntries:new Map,iterationDepth:0,nextId:0}}use(t,e,n){const r={fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null},i=this[kl];null==this.handlers&&(this.handlers=[]),Cl(this,i);const o=i.nextId++;return this.handlers.push(r),i.handlerEntries.set(o,{handler:r,index:this.handlers.length-1}),i.handlersLength=this.handlers.length,o}eject(t){const e=this[kl];Cl(this,e);const n=e.handlerEntries.get(t);if(n){if(e.handlerEntries.delete(t),this.handlers[n.index]!==n.handler)return;this.handlers[n.index]=null,e.iterationDepth||(Pl(this.handlers),e.handlersLength=this.handlers.length)}}clear(){this.handlers&&(this.handlers=[],Cl(this,this[kl]))}forEach(t){const e=this[kl];Cl(this,e),e.iterationDepth++;try{tl.forEach(this.handlers,function(e){null!==e&&t(e)})}finally{--e.iterationDepth||(Cl(this,e),Pl(this.handlers),e.handlersLength=Nl(this.handlers))}}},Il={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},Dl={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Ol,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Ul="undefined"!=typeof window&&"undefined"!=typeof document,jl="object"==typeof navigator&&navigator||void 0,Ll=Ul&&(!jl||["ReactNative","NativeScript","NS"].indexOf(jl.product)<0),Vl="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,$l=Ul&&window.location.href||"http://localhost",Fl={...f,...Dl};function zl(t){if(t>100)throw new ml("FormData field is too deeply nested ("+t+" levels). Max depth: 100",ml.ERR_FORM_DATA_DEPTH_EXCEEDED)}const Bl=function(t){function e(t,n,r,i){zl(i);let o=t[i++];if("__proto__"===o)return!0;const a=Number.isFinite(+o),s=i>=t.length;return o=!o&&tl.isArray(r)?r.length:o,s?(tl.hasOwnProp(r,o)?r[o]=tl.isArray(r[o])?r[o].concat(n):[r[o],n]:r[o]=n,!a):(tl.hasOwnProp(r,o)&&tl.isObject(r[o])||(r[o]=[]),e(t,n,r[o],i)&&tl.isArray(r[o])&&(r[o]=function(t){const e={},n=Object.keys(t);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],e[o]=t[o];return e}(r[o])),!a)}if(tl.isFormData(t)&&tl.isFunction(t.entries)){const n={};return tl.forEachEntry(t,(t,r)=>{e(function(t){const e=[],n=/[^.[\]]+|\[([^.[\]]*)]/g;let r;for(;null!==(r=n.exec(t));)zl(e.length),e.push("[]"===r[0]?"":r[1]||r[0]);return e}(t),r,n,0)}),n}return null},Hl=Object.freeze(["get","delete","head","options","post","put","patch","purge","link","unlink","query"]),ql=(t,e)=>null!=t&&tl.hasOwnProp(t,e)?t[e]:void 0,Yl={transitional:Il,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,i=tl.isObject(t);if(i&&tl.isHTMLForm(t)&&(t=new FormData(t)),tl.isFormData(t))return r?JSON.stringify(Bl(t)):t;if(tl.isArrayBuffer(t)||tl.isBuffer(t)||tl.isStream(t)||tl.isFile(t)||tl.isBlob(t)||tl.isReadableStream(t))return t;if(tl.isArrayBufferView(t))return t.buffer;if(tl.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(i){const e=ql(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return xl(t,new Fl.classes.URLSearchParams,{visitor:function(t,e,n,r){return Fl.isNode&&tl.isBuffer(t)?(this.append(e,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...e})}(t,e).toString();if((o=tl.isFileList(t))||n.indexOf("multipart/form-data")>-1){const n=ql(this,"env"),r=n&&n.FormData;return xl(o?{"files[]":t}:t,r&&new r,e)}}return i||r?(e.setContentType("application/json",!1),function(t){if(tl.isString(t))try{return(0,JSON.parse)(t),tl.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=ql(this,"transitional")||Yl.transitional,n=e&&e.forcedJSONParsing,r=ql(this,"responseType"),i="json"===r;if(tl.isResponse(t)||tl.isReadableStream(t))return t;if(t&&tl.isString(t)&&(n&&!r||i)){const n=!(e&&e.silentJSONParsing)&&i;try{return JSON.parse(t,ql(this,"parseReviver"))}catch(t){if(n){if("SyntaxError"===t.name)throw ml.from(t,ml.ERR_BAD_RESPONSE,this,null,ql(this,"response"));throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Fl.classes.FormData,Blob:Fl.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};tl.forEach(Hl,t=>{Yl.headers[t]={}});const Gl=Yl;function Wl(t,e){const n=this||Gl,r=e||n,i=dl.from(r.headers);let o=r.data;return tl.forEach(t,function(t){o=t.call(n,o,i.normalize(),e?e.status:void 0)}),i.normalize(),o}function Kl(t){return!(!t||!t.__CANCEL__)}const Xl=class extends ml{constructor(t,e,n){super(t??"canceled",ml.ERR_CANCELED,e,n),this.name="CanceledError",this.__CANCEL__=!0}};function Jl(t,e,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(new ml("Request failed with status code "+n.status,n.status>=400&&n.status<500?ml.ERR_BAD_REQUEST:ml.ERR_BAD_RESPONSE,n.config,n.request,n)):t(n)}const Zl=/[\t\n\r]/g;function Ql(t){if("string"!=typeof t)return t;let e=0;for(;e<t.length&&t.charCodeAt(e)<=32;)e++;return t.slice(e).replace(Zl,"")}function tf(t){const e=/^([-+\w]{1,25}):(?:\/\/)?/.exec(t);return e&&e[1]||""}const ef=(t,e,n=3)=>{let r=0;const i=function(t,e){t=t||10;const n=new Array(t),r=new Array(t);let i,o=0,a=0;return e=void 0!==e?e:1e3,function(s){const c=Date.now(),u=r[a];i||(i=c),n[o]=s,r[o]=c;let l=a,f=0;for(;l!==o;)f+=n[l++],l%=t;if(o=(o+1)%t,o===a&&(a=(a+1)%t),c-i<e)return;const h=u&&c-u;return h?Math.round(1e3*f/h):void 0}}(50,250);return function(t,e){let n,r,i=0,o=1e3/e;const a=(e,o=Date.now())=>{i=o,n=null,r&&(clearTimeout(r),r=null),t(...e)};return[(...t)=>{const e=Date.now(),s=e-i;s>=o?a(t,e):(n=t,r||(r=setTimeout(()=>{r=null,a(n)},o-s)))},()=>n&&a(n),(...t)=>a(t)]}(n=>{if(!n||!tl.isNumber(n.loaded))return;const o=n.loaded,a=n.lengthComputable?n.total:void 0,s=Math.max(0,null!=a?Math.min(o,a):o),c=Math.max(0,s-r),u=i(c);r=Math.max(r,s),t({loaded:s,total:a,progress:a?s/a:void 0,bytes:c,rate:u||void 0,estimated:u&&a?(a-s)/u:void 0,event:n,lengthComputable:null!=a,[e?"download":"upload"]:!0})},n)},nf=(t,e)=>{const n=null!=t;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},rf=(t,e=tl.asap)=>(...n)=>e(()=>t(...n)),of=Fl.hasStandardBrowserEnv?(af=new URL(Fl.origin),sf=Fl.navigator&&/(msie|trident)/i.test(Fl.navigator.userAgent),t=>(t=new URL(t,Fl.origin),af.protocol===t.protocol&&af.host===t.host&&(sf||af.port===t.port))):()=>!0;var af,sf;const cf=Fl.hasStandardBrowserEnv?{write(t,e,n,r,i,o,a){if("undefined"==typeof document)return;const s=[`${t}=${encodeURIComponent(e)}`];tl.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),tl.isString(r)&&s.push(`path=${r}`),tl.isString(i)&&s.push(`domain=${i}`),!0===o&&s.push("secure"),tl.isString(a)&&s.push(`SameSite=${a}`),document.cookie=s.join("; ")},read(t){if("undefined"==typeof document)return null;const e=document.cookie.split(";");for(let n=0;n<e.length;n++){const r=e[n].replace(/^\s+/,""),i=r.indexOf("=");if(-1!==i&&r.slice(0,i)===t)try{return decodeURIComponent(r.slice(i+1))}catch(t){return r.slice(i+1)}}return null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}},uf=/^https?:(?!\/\/)/i;function lf(t,e){if("string"==typeof t){const n=Ql(t);if(uf.test(n))throw new ml(`Invalid URL ${JSON.stringify(function(t){const e=t.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${pl}@`),n=e.indexOf("#"),r=(-1===n?e:e.slice(0,n)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${pl}`);return-1===n?r:`${r}#${i=e.slice(n+1),i?i.replace(/(^|&)([^=&]*=)?[^&]+/g,(t,e,n="")=>`${e}${n}${pl}`):i}`;var i}(n))}: missing "//" after protocol`,ml.ERR_INVALID_URL,e)}}function ff(t,e,n,r){lf(e,r);let i=!("string"==typeof(o=e)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(o));var o;return t&&(i||!1===n)?(lf(t,r),function(t,e){if(!e)return t;let n=t.length;for(;n>0&&47===t.charCodeAt(n-1);)n--;return t.slice(0,n)+"/"+e.replace(/^\/+/,"")}(t,e)):e}const hf=t=>t instanceof dl?{...t}:t;function df(t,e){t=t||{},e=e||{};const n=Object.create(null);function r(t,e,n,r){return tl.isPlainObject(t)&&tl.isPlainObject(e)?tl.merge.call({caseless:r},t,e):tl.isPlainObject(e)?tl.merge({},e):tl.isArray(e)?e.slice():e}function i(t,e,n,i){return tl.isUndefined(e)?tl.isUndefined(t)?void 0:r(void 0,t,0,i):r(t,e,0,i)}function o(t,e){if(!tl.isUndefined(e))return r(void 0,e)}function a(t,e){return tl.isUndefined(e)?tl.isUndefined(t)?void 0:r(void 0,t):r(void 0,e)}function s(n,i,o){return tl.hasOwnProp(e,o)?r(n,i):tl.hasOwnProp(t,o)?r(void 0,n):void 0}Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});const c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutErrorMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,allowedSocketPaths:a,responseEncoding:a,validateStatus:s,headers:(t,e,n)=>i(hf(t),hf(e),0,!0)};var u;return tl.forEach((u={...t,...e},Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(u).concat(Object.getOwnPropertySymbols(u).filter(t=>Object.getOwnPropertyDescriptor(u,t).enumerable)):Object.keys(u)),function(r){if("__proto__"===r||"constructor"===r||"prototype"===r)return;const o=tl.hasOwnProp(c,r)?c[r]:i,a=o(tl.hasOwnProp(t,r)?t[r]:void 0,tl.hasOwnProp(e,r)?e[r]:void 0,r);tl.isUndefined(a)&&o!==s||(n[r]=a)}),tl.hasOwnProp(e,"validateStatus")&&tl.isUndefined(e.validateStatus)&&!1===function(n){const r=tl.hasOwnProp(e,"transitional")?e.transitional:void 0;if(!tl.isUndefined(r)){if(!tl.isPlainObject(r))return;if(tl.hasOwnProp(r,n))return r[n]}const i=tl.hasOwnProp(t,"transitional")?t.transitional:void 0;if(tl.isPlainObject(i)&&tl.hasOwnProp(i,n))return i[n]}("validateStatusUndefinedResolves")&&(tl.hasOwnProp(t,"validateStatus")?n.validateStatus=r(void 0,t.validateStatus):delete n.validateStatus),n}const pf=["content-type","content-length"],gf=function(t){const e=df({},t),n=t=>tl.hasOwnProp(e,t)?e[t]:void 0,r=n("data");let i=n("withXSRFToken");const o=n("xsrfHeaderName"),a=n("xsrfCookieName");let s=n("headers");const c=n("auth"),u=n("baseURL"),l=n("allowAbsoluteUrls"),f=n("url");if(e.headers=s=dl.from(s),e.url=Ml(ff(u,f,l,e),n("params"),n("paramsSerializer")),c){const e=tl.getSafeProp(c,"username")||"",n=tl.getSafeProp(c,"password")||"";try{s.set("Authorization","Basic "+btoa(e+":"+(n?encodeURIComponent(n).replace(/%([0-9A-F]{2})/gi,(t,e)=>String.fromCharCode(parseInt(e,16))):"")))}catch(e){throw ml.from(e,ml.ERR_BAD_OPTION_VALUE,t)}}if(tl.isFormData(r)){const t=tl.getSafeProp(r,"getHeaders");Fl.hasStandardBrowserEnv||Fl.hasStandardBrowserWebWorkerEnv||tl.isReactNative(r)?s.setContentType(void 0):tl.isFunction(t)&&function(t,e,n){"content-only"===n?Object.entries(e||{}).forEach(([e,n])=>{pf.includes(e.toLowerCase())&&t.set(e,n)}):t.set(e)}(s,t.call(r),n("formDataHeaderPolicy"))}if(Fl.hasStandardBrowserEnv&&(tl.isFunction(i)&&(i=i(e)),!0===i||null==i&&of(e.url))){const t=o&&a&&cf.read(a);t&&s.set(o,t)}return e},_f="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise(function(e,n){const r=gf(t);let i=r.data;const o=dl.from(r.headers).normalize();let a,s,c,u,l,f,{responseType:h,onUploadProgress:d,onDownloadProgress:p}=r;function g(){u&&u(),l&&l(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let _=new XMLHttpRequest;function m(i){if(!_)return;if(!(0!==_.status||"file"===(tf(Ql(r.url))||tf(Fl.origin))||_.responseURL&&_.responseURL.startsWith("file:")))return n(new ml("Request aborted",ml.ECONNABORTED,t,_)),g(),void(_=null);try{i?f&&f(i):l&&l()}catch(t){setTimeout(()=>{throw t})}if(!_)return;const o=dl.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders());Jl(function(t){e(t),g()},function(t){n(t),g()},{data:h&&"text"!==h&&"json"!==h?_.response:_.responseText,status:_.status,statusText:_.statusText,headers:o,config:t,request:_}),_=null}_.open(r.method.toUpperCase(),r.url,!0),_.timeout=r.timeout,"onloadend"in _?_.onloadend=m:_.onreadystatechange=function(){_&&4===_.readyState&&(0!==_.status||_.responseURL&&_.responseURL.startsWith("file:"))&&setTimeout(m)},_.onabort=function(){_&&(n(new ml("Request aborted",ml.ECONNABORTED,t,_)),g(),_=null)},_.onerror=function(e){const r=e&&e.message?e.message:"Network Error",i=new ml(r,ml.ERR_NETWORK,t,_);i.event=e||null,n(i),g(),_=null},_.ontimeout=function(){let e=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const i=r.transitional||Il;r.timeoutErrorMessage&&(e=r.timeoutErrorMessage),n(new ml(e,i.clarifyTimeoutError?ml.ETIMEDOUT:ml.ECONNABORTED,t,_)),g(),_=null},void 0===i&&o.setContentType(null),"setRequestHeader"in _&&tl.forEach(ol(o),function(t,e){_.setRequestHeader(e,t)}),tl.isUndefined(r.withCredentials)||(_.withCredentials=!!r.withCredentials),h&&"json"!==h&&(_.responseType=r.responseType),p&&([c,l,f]=ef(p,!0),_.addEventListener("progress",c)),d&&_.upload&&([s,u]=ef(d),_.upload.addEventListener("progress",s),_.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(a=e=>{_&&(n(!e||e.type?new Xl(null,t,_):e),_.abort(),g(),_=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const y=tf(r.url);if(y&&!Fl.protocols.includes(y))return n(new ml("Unsupported protocol "+y+":",ml.ERR_BAD_REQUEST,t)),void g();_.send(i||null)})},mf=(t,e)=>{if(t=t?t.filter(Boolean):[],!e&&!t.length)return;const n=new AbortController;let r=!1;const i=function(t){if(!r){r=!0,a();const e=t instanceof Error?t:this.reason;n.abort(e instanceof ml?e:new Xl(e instanceof Error?e.message:e))}};let o=e&&setTimeout(()=>{o=null,i(new ml(`timeout of ${e}ms exceeded`,ml.ETIMEDOUT))},e);const a=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach(t=>{t.unsubscribe?t.unsubscribe(i):t.removeEventListener("abort",i)}),t=null)};t.forEach(t=>{r||(t.aborted?i.call(t):t.addEventListener("abort",i,{once:!0}))});const{signal:s}=n;return s.unsubscribe=()=>tl.asap(a),s},yf=function*(t,e){let n=t.byteLength;if(!e||n<e)return void(yield t);let r,i=0;for(;i<n;)r=i+e,yield t.slice(i,r),i=r},vf=(t,e,n,r)=>{const i=async function*(t,e){for await(const n of async function*(t){if(t[Symbol.asyncIterator])return void(yield*t);const e=t.getReader();try{for(;;){const{done:t,value:n}=await e.read();if(t)break;yield n}}finally{await e.cancel()}}(t))yield*yf(n,e)}(t,e);let o,a=0,s=t=>{o||(o=!0,r&&r(t))};return new ReadableStream({async pull(t){try{const{done:e,value:r}=await i.next();if(e)return s(),void t.close();let o=r.byteLength;if(n){let t=a+=o;n(t)}t.enqueue(new Uint8Array(r))}catch(t){throw s(t),t}},cancel:t=>(s(t),i.return())},{highWaterMark:2})},bf=t=>t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102,wf=(t,e,n)=>e+2<n&&bf(t.charCodeAt(e+1))&&bf(t.charCodeAt(e+2)),xf=t=>t<=57?t-48:(223&t)-55,Ef=t=>t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||43===t||47===t||45===t||95===t,Tf=t=>9===t||10===t||12===t||13===t||32===t,Sf=t=>{const e=t.length;let n=0,r=0,i=!1;for(let o=0;o<e;o++){let a=t.charCodeAt(o);37===a&&wf(t,o,e)&&(a=16*xf(t.charCodeAt(o+1))+xf(t.charCodeAt(o+2)),o+=2),Tf(a)||(61!==a?!Ef(a)||r>0?i=!0:n++:r++)}return i||r>2||r>0&&(n+r)%4!=0||n%4==1?(t=>{const e=t.length;let n=0;return e>0&&61===t.charCodeAt(e-1)&&(n++,e>1&&61===t.charCodeAt(e-2)&&n++),Math.floor(3*(e-n)/4)})(t):(t=>{const e=t%4;return 3*Math.floor(t/4)+(2===e?1:3===e?2:0)})(n)},Of={cache:"default",redirect:"follow",referrer:"about:client",referrerPolicy:"",mode:"cors",integrity:"",keepalive:!1,priority:"auto",window:null},{isFunction:Af}=tl,Mf=t=>{if(!tl.isString(t))return t;try{return decodeURIComponent(t)}catch(e){return t}},kf=(t,...e)=>{try{return!!t(...e)}catch(t){return!1}},Nf=t=>{const e=void 0!==tl.global&&null!==tl.global?tl.global:globalThis,{ReadableStream:n,TextEncoder:r}=e;t=tl.merge.call({skipUndefined:!0},{Request:e.Request,Response:e.Response},t);const{fetch:i,Request:o,Response:a}=t,s=i?Af(i):"function"==typeof fetch,c=Af(o),u=Af(a);if(!s)return!1;const l=s&&Af(n),f=s&&("function"==typeof r?(h=new r,t=>h.encode(t)):async t=>new Uint8Array(await new o(t).arrayBuffer()));var h;const d=c&&l&&kf(()=>{let t=!1;const e=new o(Fl.origin,{body:new n,method:"POST",get duplex(){return t=!0,"half"}}),r=e.headers.has("Content-Type");return null!=e.body&&e.body.cancel(),t&&!r}),p=u&&l&&kf(()=>tl.isReadableStream(new a("").body)),g={stream:p&&(t=>t.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!g[t]&&(g[t]=(e,n)=>{let r=e&&e[t];if(r)return r.call(e);throw new ml(`Response type '${t}' is not supported`,ml.ERR_NOT_SUPPORT,n)})});const _=async t=>{if(null==t)return 0;if(tl.isBlob(t))return t.size;if(tl.isSpecCompliantForm(t)){const e=new o(Fl.origin,{method:"POST",body:t});return(await e.arrayBuffer()).byteLength}return tl.isArrayBufferView(t)||tl.isArrayBuffer(t)?t.byteLength:(tl.isURLSearchParams(t)&&(t+=""),tl.isString(t)?(await f(t)).byteLength:void 0)};return async t=>{let{url:e,method:n,data:s,signal:u,cancelToken:f,timeout:h,onDownloadProgress:m,onUploadProgress:y,responseType:v,headers:b,withCredentials:w="same-origin",fetchOptions:x,maxContentLength:E,maxBodyLength:T,maxRedirects:S}=gf(t);const O=tl.isNumber(E)&&E>-1,A=tl.isNumber(T)&&T>-1;let M=i||fetch;v=v?(v+"").toLowerCase():"text";let k=mf([u,f&&f.toAbortSignal()],h),N=null;const P=k&&k.unsubscribe&&(()=>{k.unsubscribe()});let C,R=null;const I=()=>new ml("Request body larger than maxBodyLength limit",ml.ERR_BAD_REQUEST,t,N);try{let i;const u=(U="auth",tl.hasOwnProp(t,U)?t[U]:void 0);if(u){i={username:tl.getSafeProp(u,"username")||"",password:tl.getSafeProp(u,"password")||""}}if((t=>{const e=t.indexOf("://");let n=t;return-1!==e&&(n=n.slice(e+3)),n.includes("@")||n.includes(":")})(e)){const t=new URL(e,Fl.origin);if(!i&&(t.username||t.password)){i={username:Mf(t.username),password:Mf(t.password)}}(t.username||t.password)&&(t.username="",t.password="",e=t.href)}if(i&&(b.delete("authorization"),b.set("Authorization","Basic "+btoa((D=(i.username||"")+":"+(i.password||""),encodeURIComponent(D).replace(/%([0-9A-F]{2})/gi,(t,e)=>String.fromCharCode(parseInt(e,16))))))),O&&"string"==typeof e&&e.startsWith("data:")){const n=function(t){const e="string"==typeof t?t.indexOf("#"):-1;return((t,e)=>{if(!t||"string"!=typeof t)return 0;if(!t.startsWith("data:"))return 0;const n=t.indexOf(",");if(n<0)return 0;const r=t.slice(5,n),i=t.slice(n+1);if(/;base64/i.test(r))return e(i);let o=0;for(let t=0,e=i.length;t<e;t++){const n=i.charCodeAt(t);if(37===n&&wf(i,t,e))o+=1,t+=2;else if(n<128)o+=1;else if(n<2048)o+=2;else if(n>=55296&&n<=56319&&t+1<e){const e=i.charCodeAt(t+1);e>=56320&&e<=57343?(o+=4,t++):o+=3}else o+=3}return o})(-1===e?t:t.slice(0,e),Sf)}(e);if(n>E)throw new ml("maxContentLength size of "+E+" exceeded",ml.ERR_BAD_RESPONSE,t,N)}if(A&&"get"!==n&&"head"!==n){const t=await _(s);if("number"==typeof t&&isFinite(t)&&(C=t,t>T))throw I()}const f=A&&(tl.isReadableStream(s)||tl.isStream(s)),h=(t,e,n)=>vf(t,65536,t=>{if(A&&t>T)throw R=I();e&&e(t)},n);if(d&&"get"!==n&&"head"!==n&&(y||f)){if(C=C??await(async(t,e)=>tl.toFiniteNumber(t.getContentLength())??_(e))(b,s),0!==C||f){let t,n=new o(e,{method:"POST",body:s,duplex:"half"});if(tl.isFormData(s)&&(t=n.headers.get("content-type"))&&b.setContentType(t),n.body){const[t,e]=y&&nf(C,ef(rf(y)))||[];s=h(n.body,t,e)}}}else if(f&&!c&&l&&"get"!==n&&"head"!==n)s=h(s);else if(f&&c&&!d&&"get"!==n&&"head"!==n)throw new ml("Stream request bodies are not supported by the current fetch implementation",ml.ERR_NOT_SUPPORT,t,N);tl.isString(w)||(w=w?"include":"omit");const j=c&&"credentials"in o.prototype;if(tl.isFormData(s)){const t=b.getContentType();t&&/^multipart\/form-data/i.test(t)&&!/boundary=/i.test(t)&&b.delete("content-type")}b.set("User-Agent","axios/1.20.0",!1);const L=null==x?x:Object.assign(Object.create(null),x);L&&(delete L.body,delete L.headers,delete L.method,delete L.signal,delete L.duplex,delete L.credentials);const V=Object.assign(Object.create(null),L,{signal:k,method:n.toUpperCase(),headers:ol(b.normalize()),body:s,duplex:"half",credentials:j?w:void 0});c&&(tl.forEach(Of,(t,e)=>{void 0===V[e]&&(V[e]=t)}),void 0===V.signal&&(V.signal=null),void 0===V.body&&(V.body=null)),0===S&&(V.redirect="manual",L&&(L.redirect="manual")),N=c&&new o(e,V);let $=await(c?M(N,L):M(e,V));const F=dl.from($.headers);if(O){const e=tl.toFiniteNumber(F.getContentLength());if(null!=e&&e>E)throw new ml("maxContentLength size of "+E+" exceeded",ml.ERR_BAD_RESPONSE,t,N)}const z=p&&("stream"===v||"response"===v);if(p&&$.body&&(m||O||z&&P)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=$[t]});const n=tl.toFiniteNumber(F.getContentLength()),[r,i]=m&&nf(n,ef(rf(m),!0))||[];let o=0;const s=e=>{if(O&&(o=e,o>E))throw new ml("maxContentLength size of "+E+" exceeded",ml.ERR_BAD_RESPONSE,t,N);r&&r(e)};$=new a(vf($.body,65536,s,()=>{i&&i(),P&&P()}),e)}v=v||"text";let B=await g[tl.findKey(g,v)||"text"]($,t);if(O&&!p&&!z){let e;if(null!=B&&("number"==typeof B.byteLength?e=B.byteLength:"number"==typeof B.size?e=B.size:"string"==typeof B&&(e="function"==typeof r?(new r).encode(B).byteLength:B.length)),"number"==typeof e&&e>E)throw new ml("maxContentLength size of "+E+" exceeded",ml.ERR_BAD_RESPONSE,t,N)}return!z&&P&&P(),await new Promise((e,n)=>{Jl(e,n,{data:B,headers:dl.from($.headers),status:$.status,statusText:$.statusText,config:t,request:N})})}catch(e){if(P&&P(),k&&k.aborted&&k.reason instanceof ml){const n=k.reason;throw n.config=t,N&&(n.request=N),e!==n&&Object.defineProperty(n,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),n}if(R)throw N&&!R.request&&(R.request=N),R;if(e instanceof ml)throw N&&!e.request&&(e.request=N),e;if(e&&"TypeError"===e.name&&/Load failed|fetch/i.test(e.message)){const n=new ml("Network Error",ml.ERR_NETWORK,t,N,e&&e.response);throw Object.defineProperty(n,"cause",{__proto__:null,value:e.cause||e,writable:!0,enumerable:!1,configurable:!0}),n}throw ml.from(e,e&&e.code,t,N,e&&e.response)}var D,U}},Pf=new Map,Cf=t=>{let e=t&&t.env||{};const{fetch:n,Request:r,Response:i}=e,o=[r,i,n];let a,s,c=o.length,u=Pf;for(;c--;)a=o[c],s=u.get(a),void 0===s&&u.set(a,s=c?new Map:Nf(e)),u=s;return s},Rf=(Cf(),{http:null,xhr:_f,fetch:{get:Cf}});tl.forEach(Rf,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{__proto__:null,value:e})}catch(t){}Object.defineProperty(t,"adapterName",{__proto__:null,value:e})}});const If=t=>`- ${t}`,Df=t=>tl.isFunction(t)||null===t||!1===t,Uf=function(t,e){t=tl.isArray(t)?t:[t];const{length:n}=t;let r,i;const o={};for(let a=0;a<n;a++){let n;if(r=t[a],i=r,!Df(r)&&(i=Rf[(n=String(r)).toLowerCase()],void 0===i))throw new ml(`Unknown adapter '${n}'`);if(i&&(tl.isFunction(i)||(i=i.get(e))))break;o[n||"#"+a]=i}if(!i){const t=Object.entries(o).map(([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build"));let e=n?t.length>1?"since :\n"+t.map(If).join("\n"):" "+If(t[0]):"as no adapter specified";throw new ml("There is no suitable adapter to dispatch the request "+e,ml.ERR_NOT_SUPPORT)}return i};function jf(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Xl(null,t)}function Lf(t){const e=tl.toSafeFlatObject(t);return jf(e),e.headers=dl.from(tl.getSafeProp(e,"headers")),e.data=Wl.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Uf(e.adapter||Gl.adapter,e)(e).then(function(t){jf(e),e.response=t;try{t.data=Wl.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=dl.from(t.headers),t},function(t){if(!Kl(t)&&(jf(e),t&&t.response)){e.response=t.response;try{t.response.data=Wl.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=dl.from(t.response.headers)}return Promise.reject(t)})}const Vf={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Vf[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const $f={};Vf.transitional=function(t,e,n){function r(t,e){return"[Axios v1.20.0] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,i,o)=>{if(!1===t)throw new ml(r(i," has been removed"+(e?" in "+e:"")),ml.ERR_DEPRECATED);return e&&!$f[i]&&($f[i]=!0,console.warn(r(i," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,i,o)}},Vf.spelling=function(t){return(e,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};const Ff={assertOptions:function(t,e,n){if("object"!=typeof t||null===t)throw new ml("options must be an object",ml.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let i=r.length;for(;i-- >0;){const o=r[i],a=Object.prototype.hasOwnProperty.call(e,o)?e[o]:void 0;if(a){const e=t[o],n=void 0===e||a(e,o,t);if(!0!==n)throw new ml("option "+o+" must be "+n,ml.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new ml("Unknown option "+o,ml.ERR_BAD_OPTION)}},validators:Vf},zf=Ff.validators;class Bf{constructor(t){this.defaults=t||{},this.interceptors={request:new Rl,response:new Rl}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error)try{let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const n=e.stack;let r="";if("string"==typeof n){const t=n.indexOf("\n");r=-1===t?"":n.slice(t+1)}if(t.stack){if(r){const e=r.indexOf("\n"),n=-1===e?-1:r.indexOf("\n",e+1),i=-1===n?"":r.slice(n+1);String(t.stack).endsWith(i)||(t.stack+="\n"+r)}}else t.stack=r}catch(t){}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=df(this.defaults,e);const{transitional:n,paramsSerializer:r,headers:i}=e;void 0!==n&&Ff.assertOptions(n,{silentJSONParsing:zf.transitional(zf.boolean),forcedJSONParsing:zf.transitional(zf.boolean),clarifyTimeoutError:zf.transitional(zf.boolean),legacyInterceptorReqResOrdering:zf.transitional(zf.boolean),advertiseZstdAcceptEncoding:zf.transitional(zf.boolean),validateStatusUndefinedResolves:zf.transitional(zf.boolean)},!1),null!=r&&(tl.isFunction(r)?e.paramsSerializer={serialize:r}:Ff.assertOptions(r,{encode:zf.function,serialize:zf.function},!0)),void 0!==e.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?e.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:e.allowAbsoluteUrls=!0),Ff.assertOptions(e,{baseUrl:zf.spelling("baseURL"),withXsrfToken:zf.spelling("withXSRFToken")},!0),e.method=(tl.getSafeProp(e,"method")||tl.getSafeProp(this.defaults,"method")||"get").toLowerCase();let o=i&&tl.merge(i.common,i[e.method]);i&&tl.forEach(Hl.concat("common"),t=>{delete i[t]}),e.headers=dl.concat(o,i);const a=[];let s=!0;this.interceptors.request.forEach(function(t){if("function"==typeof t.runWhen&&!1===t.runWhen(e))return;s=s&&t.synchronous;const n=e.transitional||Il;n&&n.legacyInterceptorReqResOrdering?a.unshift(t.fulfilled,t.rejected):a.push(t.fulfilled,t.rejected)});const c=[];let u;this.interceptors.response.forEach(function(t){c.push(t.fulfilled,t.rejected)});let l,f=0;if(!s){const t=[Lf.bind(this),void 0];for(t.unshift(...a),t.push(...c),l=t.length,u=Promise.resolve(e);f<l;)u=u.then(t[f++],t[f++]);return u}l=a.length;let h=e;for(;f<l;){const t=a[f++],e=a[f++];try{h=t?t(h):h}catch(t){if(!e){u=Promise.reject(t);break}try{const n=e.call(this,t);tl.isThenable(n)&&(u=Promise.resolve(n).then(()=>Lf.call(this,h)))}catch(t){u=Promise.reject(t)}break}}if(!u)try{u=Lf.call(this,h)}catch(t){u=Promise.reject(t)}for(f=0,l=c.length;f<l;)u=u.then(c[f++],c[f++]);return u}getUri(t){return Ml(ff((t=df(this.defaults,t)).baseURL,t.url,t.allowAbsoluteUrls,t),t.params,t.paramsSerializer)}}tl.forEach(["delete","get","head","options"],function(t){Bf.prototype[t]=function(e,n){return this.request(df(n||{},{method:t,url:e,data:n&&tl.hasOwnProp(n,"data")?n.data:void 0}))}}),tl.forEach(["post","put","patch","query"],function(t){function e(e){return function(n,r,i){return this.request(df(i||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Bf.prototype[t]=e(),"query"!==t&&(Bf.prototype[t+"Form"]=e(!0))});const Hf=Bf;class qf{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise(function(t){e=t});const n=this;this.promise.then(t=>{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null}),this.promise.then=t=>{let e;const r=new Promise(t=>{n.subscribe(t),e=t}).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t(function(t,r,i){n.reason||(n.reason=new Xl(t,r,i),e(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}toAbortSignal(){const t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let t;const e=new qf(function(e){t=e});return{token:e,cancel:t}}}const Yf=qf,Gf={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,ContentTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,UnprocessableContent:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Gf).forEach(([t,e])=>{void 0===Gf[e]&&(Gf[e]=t)});const Wf=Gf,Kf=function t(e){const n=new Hf(e),r=nu(Hf.prototype.request,n);return tl.extend(r,Hf.prototype,n,{allOwnKeys:!0}),tl.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return t(df(e,n))},r}(Gl);Kf.Axios=Hf,Kf.CanceledError=Xl,Kf.CancelToken=Yf,Kf.isCancel=Kl,Kf.VERSION="1.20.0",Kf.toFormData=xl,Kf.AxiosError=ml,Kf.Cancel=Kf.CanceledError,Kf.all=function(t){return Promise.all(t)},Kf.spread=function(t){return function(e){return t.apply(null,e)}},Kf.isAxiosError=function(t){return tl.isObject(t)&&!0===t.isAxiosError},Kf.mergeConfig=df,Kf.AxiosHeaders=dl,Kf.formToJSON=t=>Bl(tl.isHTMLForm(t)?new FormData(t):t),Kf.getAdapter=Uf,Kf.HttpStatusCode=Wf,Kf.default=Kf;const Xf=Kf;function Jf(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Zf(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Qf(t){let e,n,r;function i(t,r,i=0,o=t.length){if(i<o){if(0!==e(r,r))return o;do{const e=i+o>>>1;n(t[e],r)<0?i=e+1:o=e}while(i<o)}return i}return 2!==t.length?(e=Jf,n=(e,n)=>Jf(t(e),n),r=(e,n)=>t(e)-n):(e=t===Jf||t===Zf?t:th,n=t,r=t),{left:i,center:function(t,e,n=0,o=t.length){const a=i(t,e,n,o-1);return a>n&&r(t[a-1],e)>-r(t[a],e)?a-1:a},right:function(t,r,i=0,o=t.length){if(i<o){if(0!==e(r,r))return o;do{const e=i+o>>>1;n(t[e],r)<=0?i=e+1:o=e}while(i<o)}return i}}}function th(){return 0}function eh(t){return null===t?NaN:+t}const nh=Qf(Jf),rh=nh.right,ih=nh.left,oh=Qf(eh).center,ah=rh;function sh(t,e){if(!((e=+e)>=0))throw new RangeError("invalid r");let n=t.length;if(!((n=Math.floor(n))>=0))throw new RangeError("invalid length");if(!n||!e)return t;const r=dh(e),i=t.slice();return r(t,i,0,n,1),r(i,t,0,n,1),r(t,i,0,n,1),t}const ch=lh(dh),uh=lh(function(t){const e=dh(t);return(t,n,r,i,o)=>{e(t,n,0+(r<<=2),0+(i<<=2),o<<=2),e(t,n,r+1,i+1,o),e(t,n,r+2,i+2,o),e(t,n,r+3,i+3,o)}});function lh(t){return function(e,n,r=n){if(!((n=+n)>=0))throw new RangeError("invalid rx");if(!((r=+r)>=0))throw new RangeError("invalid ry");let{data:i,width:o,height:a}=e;if(!((o=Math.floor(o))>=0))throw new RangeError("invalid width");if(!((a=Math.floor(void 0!==a?a:i.length/o))>=0))throw new RangeError("invalid height");if(!o||!a||!n&&!r)return e;const s=n&&t(n),c=r&&t(r),u=i.slice();return s&&c?(fh(s,u,i,o,a),fh(s,i,u,o,a),fh(s,u,i,o,a),hh(c,i,u,o,a),hh(c,u,i,o,a),hh(c,i,u,o,a)):s?(fh(s,i,u,o,a),fh(s,u,i,o,a),fh(s,i,u,o,a)):c&&(hh(c,i,u,o,a),hh(c,u,i,o,a),hh(c,i,u,o,a)),e}}function fh(t,e,n,r,i){for(let o=0,a=r*i;o<a;)t(e,n,o,o+=r,1)}function hh(t,e,n,r,i){for(let o=0,a=r*i;o<r;++o)t(e,n,o,o+a,r)}function dh(t){const e=Math.floor(t);if(e===t)return function(t){const e=2*t+1;return(n,r,i,o,a)=>{if(!((o-=a)>=i))return;let s=t*r[i];const c=a*t;for(let t=i,e=i+c;t<e;t+=a)s+=r[Math.min(o,t)];for(let t=i,u=o;t<=u;t+=a)s+=r[Math.min(o,t+c)],n[t]=s/e,s-=r[Math.max(i,t-c)]}}(t);const n=t-e,r=2*t+1;return(t,i,o,a,s)=>{if(!((a-=s)>=o))return;let c=e*i[o];const u=s*e,l=u+s;for(let t=o,e=o+u;t<e;t+=s)c+=i[Math.min(a,t)];for(let e=o,f=a;e<=f;e+=s)c+=i[Math.min(a,e+u)],t[e]=(c+n*(i[Math.max(o,e-l)]+i[Math.min(a,e+l)]))/r,c-=i[Math.max(o,e-u)]}}function ph(t,e){let n=0;if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&++n;else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(i=+i)>=i&&++n}return n}function gh(t){return 0|t.length}function _h(t){return!(t>0)}function mh(t){return"object"!=typeof t||"length"in t?t:Array.from(t)}function yh(...t){const e="function"==typeof t[t.length-1]&&function(t){return e=>t(...e)}(t.pop()),n=(t=t.map(mh)).map(gh),r=t.length-1,i=new Array(r+1).fill(0),o=[];if(r<0||n.some(_h))return o;for(;;){o.push(i.map((e,n)=>t[n][e]));let a=r;for(;++i[a]===n[a];){if(0===a)return e?o.map(e):o;i[a--]=0}}}function vh(t,e){var n=0,r=0;return Float64Array.from(t,void 0===e?t=>n+=+t||0:i=>n+=+e(i,r++,t)||0)}function bh(t,e){let n,r=0,i=0,o=0;if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&(n=e-i,i+=n/++r,o+=n*(e-i));else{let a=-1;for(let s of t)null!=(s=e(s,++a,t))&&(s=+s)>=s&&(n=s-i,i+=n/++r,o+=n*(s-i))}if(r>1)return o/(r-1)}function wh(t,e){const n=bh(t,e);return n?Math.sqrt(n):n}function xh(t,e){let n,r;if(void 0===e)for(const e of t)null!=e&&(void 0===n?e>=e&&(n=r=e):(n>e&&(n=e),r<e&&(r=e)));else{let i=-1;for(let o of t)null!=(o=e(o,++i,t))&&(void 0===n?o>=o&&(n=r=o):(n>o&&(n=o),r<o&&(r=o)))}return[n,r]}class Eh{constructor(){this._partials=new Float64Array(32),this._n=0}add(t){const e=this._partials;let n=0;for(let r=0;r<this._n&&r<32;r++){const i=e[r],o=t+i,a=Math.abs(t)<Math.abs(i)?t-(o-i):i-(o-t);a&&(e[n++]=a),t=o}return e[n]=t,this._n=n+1,this}valueOf(){const t=this._partials;let e,n,r,i=this._n,o=0;if(i>0){for(o=t[--i];i>0&&(e=o,n=t[--i],o=e+n,r=n-(o-e),!r););i>0&&(r<0&&t[i-1]<0||r>0&&t[i-1]>0)&&(n=2*r,e=o+n,n==e-o&&(o=e))}return o}}function Th(t,e){const n=new Eh;if(void 0===e)for(let e of t)(e=+e)&&n.add(e);else{let r=-1;for(let i of t)(i=+e(i,++r,t))&&n.add(i)}return+n}function Sh(t,e){const n=new Eh;let r=-1;return Float64Array.from(t,void 0===e?t=>n.add(+t||0):i=>n.add(+e(i,++r,t)||0))}class Oh extends Map{constructor(t,e=Ph){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[e,n]of t)this.set(e,n)}get(t){return super.get(Mh(this,t))}has(t){return super.has(Mh(this,t))}set(t,e){return super.set(kh(this,t),e)}delete(t){return super.delete(Nh(this,t))}}class Ah extends Set{constructor(t,e=Ph){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const e of t)this.add(e)}has(t){return super.has(Mh(this,t))}add(t){return super.add(kh(this,t))}delete(t){return super.delete(Nh(this,t))}}function Mh({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):n}function kh({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}function Nh({_intern:t,_key:e},n){const r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}function Ph(t){return null!==t&&"object"==typeof t?t.valueOf():t}function Ch(t){return t}function Rh(t,...e){return Bh(t,Ch,Ch,e)}function Ih(t,...e){return Bh(t,Array.from,Ch,e)}function Dh(t,e){for(let n=1,r=e.length;n<r;++n)t=t.flatMap(t=>t.pop().map(([e,n])=>[...t,e,n]));return t}function Uh(t,...e){return Dh(Ih(t,...e),e)}function jh(t,e,...n){return Dh(Vh(t,e,...n),n)}function Lh(t,e,...n){return Bh(t,Ch,e,n)}function Vh(t,e,...n){return Bh(t,Array.from,e,n)}function $h(t,...e){return Bh(t,Ch,zh,e)}function Fh(t,...e){return Bh(t,Array.from,zh,e)}function zh(t){if(1!==t.length)throw new Error("duplicate key");return t[0]}function Bh(t,e,n,r){return function t(i,o){if(o>=r.length)return n(i);const a=new Oh,s=r[o++];let c=-1;for(const t of i){const e=s(t,++c,i),n=a.get(e);n?n.push(t):a.set(e,[t])}for(const[e,n]of a)a.set(e,t(n,o));return e(a)}(t,0)}function Hh(t,e){return Array.from(e,e=>t[e])}function qh(t,...e){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");t=Array.from(t);let[n]=e;if(n&&2!==n.length||e.length>1){const r=Uint32Array.from(t,(t,e)=>e);return e.length>1?(e=e.map(e=>t.map(e)),r.sort((t,n)=>{for(const r of e){const e=Gh(r[t],r[n]);if(e)return e}})):(n=t.map(n),r.sort((t,e)=>Gh(n[t],n[e]))),Hh(t,r)}return t.sort(Yh(n))}function Yh(t=Jf){if(t===Jf)return Gh;if("function"!=typeof t)throw new TypeError("compare is not a function");return(e,n)=>{const r=t(e,n);return r||0===r?r:(0===t(n,n))-(0===t(e,e))}}function Gh(t,e){return(null==t||!(t>=t))-(null==e||!(e>=e))||(t<e?-1:t>e?1:0)}function Wh(t,e,n){return(2!==e.length?qh(Lh(t,e,n),([t,e],[n,r])=>Jf(e,r)||Jf(t,n)):qh(Rh(t,n),([t,n],[r,i])=>e(n,i)||Jf(t,r))).map(([t])=>t)}var Kh=Array.prototype,Xh=Kh.slice;function Jh(t){return()=>t}Kh.map;const Zh=Math.sqrt(50),Qh=Math.sqrt(10),td=Math.sqrt(2);function ed(t,e,n){const r=(e-t)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),a=o>=Zh?10:o>=Qh?5:o>=td?2:1;let s,c,u;return i<0?(u=Math.pow(10,-i)/a,s=Math.round(t*u),c=Math.round(e*u),s/u<t&&++s,c/u>e&&--c,u=-u):(u=Math.pow(10,i)*a,s=Math.round(t/u),c=Math.round(e/u),s*u<t&&++s,c*u>e&&--c),c<s&&.5<=n&&n<2?ed(t,e,2*n):[s,c,u]}function nd(t,e,n){if(!((n=+n)>0))return[];if((t=+t)===(e=+e))return[t];const r=e<t,[i,o,a]=r?ed(e,t,n):ed(t,e,n);if(!(o>=i))return[];const s=o-i+1,c=new Array(s);if(r)if(a<0)for(let t=0;t<s;++t)c[t]=(o-t)/-a;else for(let t=0;t<s;++t)c[t]=(o-t)*a;else if(a<0)for(let t=0;t<s;++t)c[t]=(i+t)/-a;else for(let t=0;t<s;++t)c[t]=(i+t)*a;return c}function rd(t,e,n){return ed(t=+t,e=+e,n=+n)[2]}function id(t,e,n){n=+n;const r=(e=+e)<(t=+t),i=r?rd(e,t,n):rd(t,e,n);return(r?-1:1)*(i<0?1/-i:i)}function od(t,e,n){let r;for(;;){const i=rd(t,e,n);if(i===r||0===i||!isFinite(i))return[t,e];i>0?(t=Math.floor(t/i)*i,e=Math.ceil(e/i)*i):i<0&&(t=Math.ceil(t*i)/i,e=Math.floor(e*i)/i),r=i}}function ad(t){return Math.max(1,Math.ceil(Math.log(ph(t))/Math.LN2)+1)}function sd(){var t=Ch,e=xh,n=ad;function r(r){Array.isArray(r)||(r=Array.from(r));var i,o,a,s=r.length,c=new Array(s);for(i=0;i<s;++i)c[i]=t(r[i],i,r);var u=e(c),l=u[0],f=u[1],h=n(c,l,f);if(!Array.isArray(h)){const t=f,n=+h;if(e===xh&&([l,f]=od(l,f,n)),(h=nd(l,f,n))[0]<=l&&(a=rd(l,f,n)),h[h.length-1]>=f)if(t>=f&&e===xh){const t=rd(l,f,n);isFinite(t)&&(t>0?f=(Math.floor(f/t)+1)*t:t<0&&(f=(Math.ceil(f*-t)+1)/-t))}else h.pop()}for(var d=h.length,p=0,g=d;h[p]<=l;)++p;for(;h[g-1]>f;)--g;(p||g<d)&&(h=h.slice(p,g),d=g-p);var _,m=new Array(d+1);for(i=0;i<=d;++i)(_=m[i]=[]).x0=i>0?h[i-1]:l,_.x1=i<d?h[i]:f;if(isFinite(a)){if(a>0)for(i=0;i<s;++i)null!=(o=c[i])&&l<=o&&o<=f&&m[Math.min(d,Math.floor((o-l)/a))].push(r[i]);else if(a<0)for(i=0;i<s;++i)if(null!=(o=c[i])&&l<=o&&o<=f){const t=Math.floor((l-o)*a);m[Math.min(d,t+(h[t]<=o))].push(r[i])}}else for(i=0;i<s;++i)null!=(o=c[i])&&l<=o&&o<=f&&m[ah(h,o,0,d)].push(r[i]);return m}return r.value=function(e){return arguments.length?(t="function"==typeof e?e:Jh(e),r):t},r.domain=function(t){return arguments.length?(e="function"==typeof t?t:Jh([t[0],t[1]]),r):e},r.thresholds=function(t){return arguments.length?(n="function"==typeof t?t:Jh(Array.isArray(t)?Xh.call(t):t),r):n},r}function cd(t,e){let n;if(void 0===e)for(const e of t)null!=e&&(n<e||void 0===n&&e>=e)&&(n=e);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n<i||void 0===n&&i>=i)&&(n=i)}return n}function ud(t,e){let n,r=-1,i=-1;if(void 0===e)for(const e of t)++i,null!=e&&(n<e||void 0===n&&e>=e)&&(n=e,r=i);else for(let o of t)null!=(o=e(o,++i,t))&&(n<o||void 0===n&&o>=o)&&(n=o,r=i);return r}function ld(t,e){let n;if(void 0===e)for(const e of t)null!=e&&(n>e||void 0===n&&e>=e)&&(n=e);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function fd(t,e){let n,r=-1,i=-1;if(void 0===e)for(const e of t)++i,null!=e&&(n>e||void 0===n&&e>=e)&&(n=e,r=i);else for(let o of t)null!=(o=e(o,++i,t))&&(n>o||void 0===n&&o>=o)&&(n=o,r=i);return r}function hd(t,e,n=0,r=1/0,i){if(e=Math.floor(e),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(t.length-1,r)),!(n<=e&&e<=r))return t;for(i=void 0===i?Gh:Yh(i);r>n;){if(r-n>600){const o=r-n+1,a=e-n+1,s=Math.log(o),c=.5*Math.exp(2*s/3),u=.5*Math.sqrt(s*c*(o-c)/o)*(a-o/2<0?-1:1);hd(t,e,Math.max(n,Math.floor(e-a*c/o+u)),Math.min(r,Math.floor(e+(o-a)*c/o+u)),i)}const o=t[e];let a=n,s=r;for(dd(t,n,e),i(t[r],o)>0&&dd(t,n,r);a<s;){for(dd(t,a,s),++a,--s;i(t[a],o)<0;)++a;for(;i(t[s],o)>0;)--s}0===i(t[n],o)?dd(t,n,s):(++s,dd(t,s,r)),s<=e&&(n=s+1),e<=s&&(r=s-1)}return t}function dd(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function pd(t,e=Jf){let n,r=!1;if(1===e.length){let i;for(const o of t){const t=e(o);(r?Jf(t,i)>0:0===Jf(t,t))&&(n=o,i=t,r=!0)}}else for(const i of t)(r?e(i,n)>0:0===e(i,i))&&(n=i,r=!0);return n}function gd(t,e,n){if(t=Float64Array.from(function*(t,e){if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&(yield e);else{let n=-1;for(let r of t)null!=(r=e(r,++n,t))&&(r=+r)>=r&&(yield r)}}(t,n)),(r=t.length)&&!isNaN(e=+e)){if(e<=0||r<2)return ld(t);if(e>=1)return cd(t);var r,i=(r-1)*e,o=Math.floor(i),a=cd(hd(t,o).subarray(0,o+1));return a+(ld(t.subarray(o+1))-a)*(i-o)}}function _d(t,e,n=eh){if((r=t.length)&&!isNaN(e=+e)){if(e<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,o=Math.floor(i),a=+n(t[o],o,t);return a+(+n(t[o+1],o+1,t)-a)*(i-o)}}function md(t,e,n=eh){if(!isNaN(e=+e)){if(r=Float64Array.from(t,(e,r)=>eh(n(t[r],r,t))),e<=0)return fd(r);if(e>=1)return ud(r);var r,i=Uint32Array.from(t,(t,e)=>e),o=r.length-1,a=Math.floor(o*e);return hd(i,a,0,o,(t,e)=>Gh(r[t],r[e])),(a=pd(i.subarray(0,a+1),t=>r[t]))>=0?a:-1}}function yd(t,e,n){const r=ph(t),i=gd(t,.75)-gd(t,.25);return r&&i?Math.ceil((n-e)/(2*i*Math.pow(r,-1/3))):1}function vd(t,e,n){const r=ph(t),i=wh(t);return r&&i?Math.ceil((n-e)*Math.cbrt(r)/(3.49*i)):1}function bd(t,e){let n=0,r=0;if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&(++n,r+=e);else{let i=-1;for(let o of t)null!=(o=e(o,++i,t))&&(o=+o)>=o&&(++n,r+=o)}if(n)return r/n}function wd(t,e){return gd(t,.5,e)}function xd(t,e){return md(t,.5,e)}function Ed(t){return Array.from(function*(t){for(const e of t)yield*e}(t))}function Td(t,e){const n=new Oh;if(void 0===e)for(let e of t)null!=e&&e>=e&&n.set(e,(n.get(e)||0)+1);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&i>=i&&n.set(i,(n.get(i)||0)+1)}let r,i=0;for(const[t,e]of n)e>i&&(i=e,r=t);return r}function Sd(t,e=Od){const n=[];let r,i=!1;for(const o of t)i&&n.push(e(r,o)),r=o,i=!0;return n}function Od(t,e){return[t,e]}function Ad(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r<i;)o[r]=t+r*n;return o}function Md(t,e=Jf){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");let n=Array.from(t);const r=new Float64Array(n.length);2!==e.length&&(n=n.map(e),e=Jf);const i=(t,r)=>e(n[t],n[r]);let o,a;return(t=Uint32Array.from(n,(t,e)=>e)).sort(e===Jf?(t,e)=>Gh(n[t],n[e]):Yh(i)),t.forEach((t,e)=>{const n=i(t,void 0===o?t:o);n>=0?((void 0===o||n>0)&&(o=t,a=e),r[t]=a):r[t]=NaN}),r}function kd(t,e=Jf){let n,r=!1;if(1===e.length){let i;for(const o of t){const t=e(o);(r?Jf(t,i)<0:0===Jf(t,t))&&(n=o,i=t,r=!0)}}else for(const i of t)(r?e(i,n)<0:0===e(i,i))&&(n=i,r=!0);return n}function Nd(t,e=Jf){if(1===e.length)return fd(t,e);let n,r=-1,i=-1;for(const o of t)++i,(r<0?0===e(o,o):e(o,n)<0)&&(n=o,r=i);return r}function Pd(t,e=Jf){if(1===e.length)return ud(t,e);let n,r=-1,i=-1;for(const o of t)++i,(r<0?0===e(o,o):e(o,n)>0)&&(n=o,r=i);return r}function Cd(t,e){const n=Nd(t,e);return n<0?void 0:n}const Rd=Id(Math.random);function Id(t){return function(e,n=0,r=e.length){let i=r-(n=+n);for(;i;){const r=t()*i--|0,o=e[i+n];e[i+n]=e[r+n],e[r+n]=o}return e}}function Dd(t,e){let n=0;if(void 0===e)for(let e of t)(e=+e)&&(n+=e);else{let r=-1;for(let i of t)(i=+e(i,++r,t))&&(n+=i)}return n}function Ud(t){if(!(i=t.length))return[];for(var e=-1,n=ld(t,jd),r=new Array(n);++e<n;)for(var i,o=-1,a=r[e]=new Array(i);++o<i;)a[o]=t[o][e];return r}function jd(t){return t.length}function Ld(){return Ud(arguments)}function Vd(t,e){if("function"!=typeof e)throw new TypeError("test is not a function");let n=-1;for(const r of t)if(!e(r,++n,t))return!1;return!0}function $d(t,e){if("function"!=typeof e)throw new TypeError("test is not a function");let n=-1;for(const r of t)if(e(r,++n,t))return!0;return!1}function Fd(t,e){if("function"!=typeof e)throw new TypeError("test is not a function");const n=[];let r=-1;for(const i of t)e(i,++r,t)&&n.push(i);return n}function zd(t,e){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");if("function"!=typeof e)throw new TypeError("mapper is not a function");return Array.from(t,(n,r)=>e(n,r,t))}function Bd(t,e,n){if("function"!=typeof e)throw new TypeError("reducer is not a function");const r=t[Symbol.iterator]();let i,o,a=-1;if(arguments.length<3){if(({done:i,value:n}=r.next()),i)return;++a}for(;({done:i,value:o}=r.next()),!i;)n=e(n,o,++a,t);return n}function Hd(t){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");return Array.from(t).reverse()}function qd(t,...e){t=new Ah(t);for(const n of e)for(const e of n)t.delete(e);return t}function Yd(t,e){const n=e[Symbol.iterator](),r=new Ah;for(const e of t){if(r.has(e))return!1;let t,i;for(;({value:t,done:i}=n.next())&&!i;){if(Object.is(e,t))return!1;r.add(t)}}return!0}function Gd(t,...e){t=new Ah(t),e=e.map(Wd);t:for(const n of t)for(const r of e)if(!r.has(n)){t.delete(n);continue t}return t}function Wd(t){return t instanceof Ah?t:new Ah(t)}function Kd(t,e){const n=t[Symbol.iterator](),r=new Set;for(const t of e){const e=Xd(t);if(r.has(e))continue;let i,o;for(;({value:i,done:o}=n.next());){if(o)return!1;const t=Xd(i);if(r.add(t),Object.is(e,t))break}}return!0}function Xd(t){return null!==t&&"object"==typeof t?t.valueOf():t}function Jd(t,e){return Kd(e,t)}function Zd(...t){const e=new Ah;for(const n of t)for(const t of n)e.add(t);return e}function Qd(t){return t}var tp=1,ep=2,np=3,rp=4,ip=1e-6;function op(t){return"translate("+t+",0)"}function ap(t){return"translate(0,"+t+")"}function sp(t){return e=>+t(e)}function cp(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function up(){return!this.__axis}function lp(t,e){var n=[],r=null,i=null,o=6,a=6,s=3,c="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,u=t===tp||t===rp?-1:1,l=t===rp||t===ep?"x":"y",f=t===tp||t===np?op:ap;function h(h){var d=r??(e.ticks?e.ticks.apply(e,n):e.domain()),p=i??(e.tickFormat?e.tickFormat.apply(e,n):Qd),g=Math.max(o,0)+s,_=e.range(),m=+_[0]+c,y=+_[_.length-1]+c,v=(e.bandwidth?cp:sp)(e.copy(),c),b=h.selection?h.selection():h,w=b.selectAll(".domain").data([null]),x=b.selectAll(".tick").data(d,e).order(),E=x.exit(),T=x.enter().append("g").attr("class","tick"),S=x.select("line"),O=x.select("text");w=w.merge(w.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),x=x.merge(T),S=S.merge(T.append("line").attr("stroke","currentColor").attr(l+"2",u*o)),O=O.merge(T.append("text").attr("fill","currentColor").attr(l,u*g).attr("dy",t===tp?"0em":t===np?"0.71em":"0.32em")),h!==b&&(w=w.transition(h),x=x.transition(h),S=S.transition(h),O=O.transition(h),E=E.transition(h).attr("opacity",ip).attr("transform",function(t){return isFinite(t=v(t))?f(t+c):this.getAttribute("transform")}),T.attr("opacity",ip).attr("transform",function(t){var e=this.parentNode.__axis;return f((e&&isFinite(e=e(t))?e:v(t))+c)})),E.remove(),w.attr("d",t===rp||t===ep?a?"M"+u*a+","+m+"H"+c+"V"+y+"H"+u*a:"M"+c+","+m+"V"+y:a?"M"+m+","+u*a+"V"+c+"H"+y+"V"+u*a:"M"+m+","+c+"H"+y),x.attr("opacity",1).attr("transform",function(t){return f(v(t)+c)}),S.attr(l+"2",u*o),O.attr(l,u*g).text(p),b.filter(up).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===ep?"start":t===rp?"end":"middle"),b.each(function(){this.__axis=v})}return h.scale=function(t){return arguments.length?(e=t,h):e},h.ticks=function(){return n=Array.from(arguments),h},h.tickArguments=function(t){return arguments.length?(n=null==t?[]:Array.from(t),h):n.slice()},h.tickValues=function(t){return arguments.length?(r=null==t?null:Array.from(t),h):r&&r.slice()},h.tickFormat=function(t){return arguments.length?(i=t,h):i},h.tickSize=function(t){return arguments.length?(o=a=+t,h):o},h.tickSizeInner=function(t){return arguments.length?(o=+t,h):o},h.tickSizeOuter=function(t){return arguments.length?(a=+t,h):a},h.tickPadding=function(t){return arguments.length?(s=+t,h):s},h.offset=function(t){return arguments.length?(c=+t,h):c},h}function fp(t){return lp(tp,t)}function hp(t){return lp(ep,t)}function dp(t){return lp(np,t)}function pp(t){return lp(rp,t)}var gp={value:()=>{}};function _p(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r||/[\s.]/.test(t))throw new Error("illegal type: "+t);r[t]=[]}return new mp(r)}function mp(t){this._=t}function yp(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}function vp(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=gp,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}mp.prototype=_p.prototype={constructor:mp,on:function(t,e){var n,r,i=this._,o=(r=i,(t+"").trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");if(n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}})),a=-1,s=o.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++a<s;)if(n=(t=o[a]).type)i[n]=vp(i[n],t.name,e);else if(null==e)for(n in i)i[n]=vp(i[n],t.name,null);return this}for(;++a<s;)if((n=(t=o[a]).type)&&(n=yp(i[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new mp(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,n=(r=this._[t]).length;o<n;++o)r[o].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(e,n)}};const bp=_p;function wp(){}function xp(t){return null==t?wp:function(){return this.querySelector(t)}}function Ep(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function Tp(){return[]}function Sp(t){return null==t?Tp:function(){return this.querySelectorAll(t)}}function Op(t){return function(){return this.matches(t)}}function Ap(t){return function(e){return e.matches(t)}}var Mp=Array.prototype.find;function kp(){return this.firstElementChild}var Np=Array.prototype.filter;function Pp(){return Array.from(this.children)}function Cp(t){return new Array(t.length)}function Rp(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function Ip(t,e,n,r,i,o){for(var a,s=0,c=e.length,u=o.length;s<u;++s)(a=e[s])?(a.__data__=o[s],r[s]=a):n[s]=new Rp(t,o[s]);for(;s<c;++s)(a=e[s])&&(i[s]=a)}function Dp(t,e,n,r,i,o,a){var s,c,u,l=new Map,f=e.length,h=o.length,d=new Array(f);for(s=0;s<f;++s)(c=e[s])&&(d[s]=u=a.call(c,c.__data__,s,e)+"",l.has(u)?i[s]=c:l.set(u,c));for(s=0;s<h;++s)u=a.call(t,o[s],s,o)+"",(c=l.get(u))?(r[s]=c,c.__data__=o[s],l.delete(u)):n[s]=new Rp(t,o[s]);for(s=0;s<f;++s)(c=e[s])&&l.get(d[s])===c&&(i[s]=c)}function Up(t){return t.__data__}function jp(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function Lp(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}Rp.prototype={constructor:Rp,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var Vp="http://www.w3.org/1999/xhtml";const $p={svg:"http://www.w3.org/2000/svg",xhtml:Vp,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Fp(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),$p.hasOwnProperty(e)?{space:$p[e],local:t}:t}function zp(t){return function(){this.removeAttribute(t)}}function Bp(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Hp(t,e){return function(){this.setAttribute(t,e)}}function qp(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Yp(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function Gp(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function Wp(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Kp(t){return function(){this.style.removeProperty(t)}}function Xp(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Jp(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function Zp(t,e){return t.style.getPropertyValue(e)||Wp(t).getComputedStyle(t,null).getPropertyValue(e)}function Qp(t){return function(){delete this[t]}}function tg(t,e){return function(){this[t]=e}}function eg(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function ng(t){return t.trim().split(/^|\s+/)}function rg(t){return t.classList||new ig(t)}function ig(t){this._node=t,this._names=ng(t.getAttribute("class")||"")}function og(t,e){for(var n=rg(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function ag(t,e){for(var n=rg(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function sg(t){return function(){og(this,t)}}function cg(t){return function(){ag(this,t)}}function ug(t,e){return function(){(e.apply(this,arguments)?og:ag)(this,t)}}function lg(){this.textContent=""}function fg(t){return function(){this.textContent=t}}function hg(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function dg(){this.innerHTML=""}function pg(t){return function(){this.innerHTML=t}}function gg(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function _g(){this.nextSibling&&this.parentNode.appendChild(this)}function mg(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function yg(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===Vp&&e.documentElement.namespaceURI===Vp?e.createElement(t):e.createElementNS(n,t)}}function vg(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function bg(t){var e=Fp(t);return(e.local?vg:yg)(e)}function wg(){return null}function xg(){var t=this.parentNode;t&&t.removeChild(this)}function Eg(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Tg(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Sg(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r<o;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?e.length=i:delete this.__on}}}function Og(t,e,n){return function(){var r,i=this.__on,o=function(t){return function(e){t.call(this,e,this.__data__)}}(e);if(i)for(var a=0,s=i.length;a<s;++a)if((r=i[a]).type===t.type&&r.name===t.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),void(r.value=e);this.addEventListener(t.type,o,n),r={type:t.type,name:t.name,value:e,listener:o,options:n},i?i.push(r):this.__on=[r]}}function Ag(t,e,n){var r=Wp(t),i=r.CustomEvent;"function"==typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function Mg(t,e){return function(){return Ag(this,t,e)}}function kg(t,e){return function(){return Ag(this,t,e.apply(this,arguments))}}ig.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Ng=[null];function Pg(t,e){this._groups=t,this._parents=e}function Cg(){return new Pg([[document.documentElement]],Ng)}Pg.prototype=Cg.prototype={constructor:Pg,select:function(t){"function"!=typeof t&&(t=xp(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a,s=e[i],c=s.length,u=r[i]=new Array(c),l=0;l<c;++l)(o=s[l])&&(a=t.call(o,o.__data__,l,s))&&("__data__"in o&&(a.__data__=o.__data__),u[l]=a);return new Pg(r,this._parents)},selectAll:function(t){t="function"==typeof t?function(t){return function(){return Ep(t.apply(this,arguments))}}(t):Sp(t);for(var e=this._groups,n=e.length,r=[],i=[],o=0;o<n;++o)for(var a,s=e[o],c=s.length,u=0;u<c;++u)(a=s[u])&&(r.push(t.call(a,a.__data__,u,s)),i.push(a));return new Pg(r,i)},selectChild:function(t){return this.select(null==t?kp:function(t){return function(){return Mp.call(this.children,t)}}("function"==typeof t?t:Ap(t)))},selectChildren:function(t){return this.selectAll(null==t?Pp:function(t){return function(){return Np.call(this.children,t)}}("function"==typeof t?t:Ap(t)))},filter:function(t){"function"!=typeof t&&(t=Op(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],s=a.length,c=r[i]=[],u=0;u<s;++u)(o=a[u])&&t.call(o,o.__data__,u,a)&&c.push(o);return new Pg(r,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,Up);var n,r=e?Dp:Ip,i=this._parents,o=this._groups;"function"!=typeof t&&(n=t,t=function(){return n});for(var a=o.length,s=new Array(a),c=new Array(a),u=new Array(a),l=0;l<a;++l){var f=i[l],h=o[l],d=h.length,p=jp(t.call(f,f&&f.__data__,l,i)),g=p.length,_=c[l]=new Array(g),m=s[l]=new Array(g);r(f,h,_,m,u[l]=new Array(d),p,e);for(var y,v,b=0,w=0;b<g;++b)if(y=_[b]){for(b>=w&&(w=b+1);!(v=m[w])&&++w<g;);y._next=v||null}}return(s=new Pg(s,i))._enter=c,s._exit=u,s},enter:function(){return new Pg(this._enter||this._groups.map(Cp),this._parents)},exit:function(){return new Pg(this._exit||this._groups.map(Cp),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,o=this.exit();return"function"==typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=e&&(i=e(i))&&(i=i.selection()),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,i=n.length,o=r.length,a=Math.min(i,o),s=new Array(i),c=0;c<a;++c)for(var u,l=n[c],f=r[c],h=l.length,d=s[c]=new Array(h),p=0;p<h;++p)(u=l[p]||f[p])&&(d[p]=u);for(;c<i;++c)s[c]=n[c];return new Pg(s,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=Lp);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var a,s=n[o],c=s.length,u=i[o]=new Array(c),l=0;l<c;++l)(a=s[l])&&(u[l]=a);u.sort(e)}return new Pg(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){let t=0;for(const e of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,o=e[n],a=0,s=o.length;a<s;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},attr:function(t,e){var n=Fp(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?Bp:zp:"function"==typeof e?n.local?Gp:Yp:n.local?qp:Hp)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?Kp:"function"==typeof e?Jp:Xp)(t,e,n??"")):Zp(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?Qp:"function"==typeof e?eg:tg)(t,e)):this.node()[t]},classed:function(t,e){var n=ng(t+"");if(arguments.length<2){for(var r=rg(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?ug:e?sg:cg)(n,e))},text:function(t){return arguments.length?this.each(null==t?lg:("function"==typeof t?hg:fg)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?dg:("function"==typeof t?gg:pg)(t)):this.node().innerHTML},raise:function(){return this.each(_g)},lower:function(){return this.each(mg)},append:function(t){var e="function"==typeof t?t:bg(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(t,e){var n="function"==typeof t?t:bg(t),r=null==e?wg:"function"==typeof e?e:xp(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(xg)},clone:function(t){return this.select(t?Tg:Eg)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,i,o=function(t){return t.trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}})}(t+""),a=o.length;if(!(arguments.length<2)){for(s=e?Og:Sg,r=0;r<a;++r)this.each(s(o[r],e,n));return this}var s=this.node().__on;if(s)for(var c,u=0,l=s.length;u<l;++u)for(r=0,c=s[u];r<a;++r)if((i=o[r]).type===c.type&&i.name===c.name)return c.value},dispatch:function(t,e){return this.each(("function"==typeof e?kg:Mg)(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r,i=t[e],o=0,a=i.length;o<a;++o)(r=i[o])&&(yield r)}};const Rg=Cg;function Ig(t){return"string"==typeof t?new Pg([[document.querySelector(t)]],[document.documentElement]):new Pg([[t]],Ng)}const Dg={passive:!1},Ug={capture:!0,passive:!1};function jg(t){t.stopImmediatePropagation()}function Lg(t){t.preventDefault(),t.stopImmediatePropagation()}function Vg(t){var e=t.document.documentElement,n=Ig(t).on("dragstart.drag",Lg,Ug);"onselectstart"in e?n.on("selectstart.drag",Lg,Ug):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")}function $g(t,e){var n=t.document.documentElement,r=Ig(t).on("dragstart.drag",null);e&&(r.on("click.drag",Lg,Ug),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}function Fg(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function zg(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Bg(){}var Hg=.7,qg=1/Hg,Yg="\\s*([+-]?\\d+)\\s*",Gg="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Wg="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Kg=/^#([0-9a-f]{3,8})$/,Xg=new RegExp(`^rgb\\(${Yg},${Yg},${Yg}\\)$`),Jg=new RegExp(`^rgb\\(${Wg},${Wg},${Wg}\\)$`),Zg=new RegExp(`^rgba\\(${Yg},${Yg},${Yg},${Gg}\\)$`),Qg=new RegExp(`^rgba\\(${Wg},${Wg},${Wg},${Gg}\\)$`),t_=new RegExp(`^hsl\\(${Gg},${Wg},${Wg}\\)$`),e_=new RegExp(`^hsla\\(${Gg},${Wg},${Wg},${Gg}\\)$`),n_={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};function r_(){return this.rgb().formatHex()}function i_(){return this.rgb().formatRgb()}function o_(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=Kg.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?a_(e):3===n?new l_(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?s_(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?s_(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Xg.exec(t))?new l_(e[1],e[2],e[3],1):(e=Jg.exec(t))?new l_(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Zg.exec(t))?s_(e[1],e[2],e[3],e[4]):(e=Qg.exec(t))?s_(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=t_.exec(t))?__(e[1],e[2]/100,e[3]/100,1):(e=e_.exec(t))?__(e[1],e[2]/100,e[3]/100,e[4]):n_.hasOwnProperty(t)?a_(n_[t]):"transparent"===t?new l_(NaN,NaN,NaN,0):null}function a_(t){return new l_(t>>16&255,t>>8&255,255&t,1)}function s_(t,e,n,r){return r<=0&&(t=e=n=NaN),new l_(t,e,n,r)}function c_(t){return t instanceof Bg||(t=o_(t)),t?new l_((t=t.rgb()).r,t.g,t.b,t.opacity):new l_}function u_(t,e,n,r){return 1===arguments.length?c_(t):new l_(t,e,n,r??1)}function l_(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function f_(){return`#${g_(this.r)}${g_(this.g)}${g_(this.b)}`}function h_(){const t=d_(this.opacity);return`${1===t?"rgb(":"rgba("}${p_(this.r)}, ${p_(this.g)}, ${p_(this.b)}${1===t?")":`, ${t})`}`}function d_(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function p_(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function g_(t){return((t=p_(t))<16?"0":"")+t.toString(16)}function __(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new v_(t,e,n,r)}function m_(t){if(t instanceof v_)return new v_(t.h,t.s,t.l,t.opacity);if(t instanceof Bg||(t=o_(t)),!t)return new v_;if(t instanceof v_)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,c=(o+i)/2;return s?(a=e===o?(n-r)/s+6*(n<r):n===o?(r-e)/s+2:(e-n)/s+4,s/=c<.5?o+i:2-o-i,a*=60):s=c>0&&c<1?0:a,new v_(a,s,c,t.opacity)}function y_(t,e,n,r){return 1===arguments.length?m_(t):new v_(t,e,n,r??1)}function v_(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function b_(t){return(t=(t||0)%360)<0?t+360:t}function w_(t){return Math.max(0,Math.min(1,t||0))}function x_(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function E_(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}function T_(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,s=r<e-1?t[r+2]:2*o-i;return E_((n-r/e)*e,a,i,o,s)}}function S_(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],o=t[r%e],a=t[(r+1)%e],s=t[(r+2)%e];return E_((n-r/e)*e,i,o,a,s)}}Fg(Bg,o_,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:r_,formatHex:r_,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return m_(this).formatHsl()},formatRgb:i_,toString:i_}),Fg(l_,u_,zg(Bg,{brighter(t){return t=null==t?qg:Math.pow(qg,t),new l_(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?Hg:Math.pow(Hg,t),new l_(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new l_(p_(this.r),p_(this.g),p_(this.b),d_(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:f_,formatHex:f_,formatHex8:function(){return`#${g_(this.r)}${g_(this.g)}${g_(this.b)}${g_(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:h_,toString:h_})),Fg(v_,y_,zg(Bg,{brighter(t){return t=null==t?qg:Math.pow(qg,t),new v_(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?Hg:Math.pow(Hg,t),new v_(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new l_(x_(t>=240?t-240:t+120,i,r),x_(t,i,r),x_(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new v_(b_(this.h),w_(this.s),w_(this.l),d_(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=d_(this.opacity);return`${1===t?"hsl(":"hsla("}${b_(this.h)}, ${100*w_(this.s)}%, ${100*w_(this.l)}%${1===t?")":`, ${t})`}`}}));const O_=t=>()=>t;function A_(t,e){return function(n){return t+n*e}}function M_(t,e){var n=e-t;return n?A_(t,n>180||n<-180?n-360*Math.round(n/360):n):O_(isNaN(t)?e:t)}function k_(t,e){var n=e-t;return n?A_(t,n):O_(isNaN(t)?e:t)}const N_=function t(e){var n=function(t){return 1===(t=+t)?k_:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):O_(isNaN(e)?n:e)}}(e);function r(t,e){var r=n((t=u_(t)).r,(e=u_(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=k_(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function P_(t){return function(e){var n,r,i=e.length,o=new Array(i),a=new Array(i),s=new Array(i);for(n=0;n<i;++n)r=u_(e[n]),o[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return o=t(o),a=t(a),s=t(s),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=s(t),r+""}}}var C_=P_(T_),R_=P_(S_);function I_(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(n=0;n<r;++n)i[n]=t[n]*(1-o)+e[n]*o;return i}}function D_(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function U_(t,e){return(D_(e)?I_:j_)(t,e)}function j_(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=H_(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<i;++n)a[n]=o[n](t);return a}}function L_(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}function V_(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function $_(t,e){var n,r={},i={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?r[n]=H_(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}}var F_=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,z_=new RegExp(F_.source,"g");function B_(t,e){var n,r,i,o=F_.lastIndex=z_.lastIndex=0,a=-1,s=[],c=[];for(t+="",e+="";(n=F_.exec(t))&&(r=z_.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,c.push({i:a,x:V_(n,r)})),o=z_.lastIndex;return o<e.length&&(i=e.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?c[0]?function(t){return function(e){return t(e)+""}}(c[0].x):function(t){return function(){return t}}(e):(e=c.length,function(t){for(var n,r=0;r<e;++r)s[(n=c[r]).i]=n.x(t);return s.join("")})}function H_(t,e){var n,r=typeof e;return null==e||"boolean"===r?O_(e):("number"===r?V_:"string"===r?(n=o_(e))?(e=n,N_):B_:e instanceof o_?N_:e instanceof Date?L_:D_(e)?I_:Array.isArray(e)?j_:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?$_:V_)(t,e)}function q_(t){let e;for(;e=t.sourceEvent;)t=e;return t}function Y_(t,e){if(t=q_(t),void 0===e&&(e=t.currentTarget),e){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,[(r=r.matrixTransform(e.getScreenCTM().inverse())).x,r.y]}if(e.getBoundingClientRect){var i=e.getBoundingClientRect();return[t.clientX-i.left-e.clientLeft,t.clientY-i.top-e.clientTop]}}return[t.pageX,t.pageY]}var G_,W_,K_=0,X_=0,J_=0,Z_=0,Q_=0,tm=0,em="object"==typeof performance&&performance.now?performance:Date,nm="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function rm(){return Q_||(nm(im),Q_=em.now()+tm)}function im(){Q_=0}function om(){this._call=this._time=this._next=null}function am(t,e,n){var r=new om;return r.restart(t,e,n),r}function sm(){rm(),++K_;for(var t,e=G_;e;)(t=Q_-e._time)>=0&&e._call.call(void 0,t),e=e._next;--K_}function cm(){Q_=(Z_=em.now())+tm,K_=X_=0;try{sm()}finally{K_=0,function(){for(var t,e,n=G_,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:G_=e);W_=t,lm(r)}(),Q_=0}}function um(){var t=em.now(),e=t-Z_;e>1e3&&(tm-=e,Z_=t)}function lm(t){K_||(X_&&(X_=clearTimeout(X_)),t-Q_>24?(t<1/0&&(X_=setTimeout(cm,t-em.now()-tm)),J_&&(J_=clearInterval(J_))):(J_||(Z_=em.now(),J_=setInterval(um,1e3)),K_=1,nm(cm)))}function fm(t,e,n){var r=new om;return e=null==e?0:+e,r.restart(n=>{r.stop(),t(n+e)},e,n),r}om.prototype=am.prototype={constructor:om,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?rm():+n)+(null==e?0:+e),this._next||W_===this||(W_?W_._next=this:G_=this,W_=this),this._call=t,this._time=n,lm()},stop:function(){this._call&&(this._call=null,this._time=1/0,lm())}};var hm=bp("start","end","cancel","interrupt"),dm=[],pm=1,gm=2,_m=5,mm=6;function ym(t,e,n,r,i,o){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function o(c){var u,l,f,h;if(n.state!==pm)return s();for(u in i)if((h=i[u]).name===n.name){if(3===h.state)return fm(o);4===h.state?(h.state=mm,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[u]):+u<e&&(h.state=mm,h.timer.stop(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete i[u])}if(fm(function(){3===n.state&&(n.state=4,n.timer.restart(a,n.delay,n.time),a(c))}),n.state=gm,n.on.call("start",t,t.__data__,n.index,n.group),n.state===gm){for(n.state=3,r=new Array(f=n.tween.length),u=0,l=-1;u<f;++u)(h=n.tween[u].value.call(t,t.__data__,n.index,n.group))&&(r[++l]=h);r.length=l+1}}function a(e){for(var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(s),n.state=_m,1),o=-1,a=r.length;++o<a;)r[o].call(t,i);n.state===_m&&(n.on.call("end",t,t.__data__,n.index,n.group),s())}function s(){for(var r in n.state=mm,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=am(function(t){n.state=pm,n.timer.restart(o,n.delay,n.time),n.delay<=t&&o(t-n.delay)},0,n.time)}(t,n,{name:e,index:r,group:i,on:hm,tween:dm,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function vm(t,e){var n=wm(t,e);if(n.state>0)throw new Error("too late; already scheduled");return n}function bm(t,e){var n=wm(t,e);if(n.state>3)throw new Error("too late; already running");return n}function wm(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function xm(t,e){var n,r,i,o=t.__transition,a=!0;if(o){for(i in e=null==e?null:e+"",o)(n=o[i]).name===e?(r=n.state>gm&&n.state<_m,n.state=mm,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}}var Em,Tm=180/Math.PI,Sm={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Om(t,e,n,r,i,o){var a,s,c;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(c=t*n+e*r)&&(n-=t*c,r-=e*c),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,c/=s),t*r<e*n&&(t=-t,e=-e,c=-c,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(e,t)*Tm,skewX:Math.atan(c)*Tm,scaleX:a,scaleY:s}}function Am(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}return function(o,a){var s=[],c=[];return o=t(o),a=t(a),function(t,r,i,o,a,s){if(t!==i||r!==o){var c=a.push("translate(",null,e,null,n);s.push({i:c-4,x:V_(t,i)},{i:c-2,x:V_(r,o)})}else(i||o)&&a.push("translate("+i+e+o+n)}(o.translateX,o.translateY,a.translateX,a.translateY,s,c),function(t,e,n,o){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:V_(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,a.rotate,s,c),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:V_(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,a.skewX,s,c),function(t,e,n,r,o,a){if(t!==n||e!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:V_(t,n)},{i:s-2,x:V_(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,c),o=a=null,function(t){for(var e,n=-1,r=c.length;++n<r;)s[(e=c[n]).i]=e.x(t);return s.join("")}}}var Mm=Am(function(t){const e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?Sm:Om(e.a,e.b,e.c,e.d,e.e,e.f)},"px, ","px)","deg)"),km=Am(function(t){return null==t?Sm:(Em||(Em=document.createElementNS("http://www.w3.org/2000/svg","g")),Em.setAttribute("transform",t),(t=Em.transform.baseVal.consolidate())?Om((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):Sm)},", ",")",")");function Nm(t,e){var n,r;return function(){var i=bm(this,t),o=i.tween;if(o!==n)for(var a=0,s=(r=n=o).length;a<s;++a)if(r[a].name===e){(r=r.slice()).splice(a,1);break}i.tween=r}}function Pm(t,e,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var o=bm(this,t),a=o.tween;if(a!==r){i=(r=a).slice();for(var s={name:e,value:n},c=0,u=i.length;c<u;++c)if(i[c].name===e){i[c]=s;break}c===u&&i.push(s)}o.tween=i}}function Cm(t,e,n){var r=t._id;return t.each(function(){var t=bm(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)}),function(t){return wm(t,r).value[e]}}function Rm(t,e){var n;return("number"==typeof e?V_:e instanceof o_?N_:(n=o_(e))?(e=n,N_):B_)(t,e)}function Im(t){return function(){this.removeAttribute(t)}}function Dm(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Um(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttribute(t);return a===o?null:a===r?i:i=e(r=a,n)}}function jm(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===r?i:i=e(r=a,n)}}function Lm(t,e,n){var r,i,o;return function(){var a,s,c=n(this);if(null!=c)return(a=this.getAttribute(t))===(s=c+"")?null:a===r&&s===i?o:(i=s,o=e(r=a,c));this.removeAttribute(t)}}function Vm(t,e,n){var r,i,o;return function(){var a,s,c=n(this);if(null!=c)return(a=this.getAttributeNS(t.space,t.local))===(s=c+"")?null:a===r&&s===i?o:(i=s,o=e(r=a,c));this.removeAttributeNS(t.space,t.local)}}function $m(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}(t,i)),n}return i._value=e,i}function Fm(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}(t,i)),n}return i._value=e,i}function zm(t,e){return function(){vm(this,t).delay=+e.apply(this,arguments)}}function Bm(t,e){return e=+e,function(){vm(this,t).delay=e}}function Hm(t,e){return function(){bm(this,t).duration=+e.apply(this,arguments)}}function qm(t,e){return e=+e,function(){bm(this,t).duration=e}}var Ym=Rg.prototype.constructor;function Gm(t){return function(){this.style.removeProperty(t)}}var Wm=0;function Km(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function Xm(t){return Rg().transition(t)}function Jm(){return++Wm}var Zm=Rg.prototype;function Qm(t){return t*t*t}function ty(t){return--t*t*t+1}function ey(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}Km.prototype=Xm.prototype={constructor:Km,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=xp(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var s,c,u=r[a],l=u.length,f=o[a]=new Array(l),h=0;h<l;++h)(s=u[h])&&(c=t.call(s,s.__data__,h,u))&&("__data__"in s&&(c.__data__=s.__data__),f[h]=c,ym(f[h],e,n,h,f,wm(s,n)));return new Km(o,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=Sp(t));for(var r=this._groups,i=r.length,o=[],a=[],s=0;s<i;++s)for(var c,u=r[s],l=u.length,f=0;f<l;++f)if(c=u[f]){for(var h,d=t.call(c,c.__data__,f,u),p=wm(c,n),g=0,_=d.length;g<_;++g)(h=d[g])&&ym(h,e,n,g,d,p);o.push(d),a.push(c)}return new Km(o,a,e,n)},selectChild:Zm.selectChild,selectChildren:Zm.selectChildren,filter:function(t){"function"!=typeof t&&(t=Op(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],s=a.length,c=r[i]=[],u=0;u<s;++u)(o=a[u])&&t.call(o,o.__data__,u,a)&&c.push(o);return new Km(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),s=0;s<o;++s)for(var c,u=e[s],l=n[s],f=u.length,h=a[s]=new Array(f),d=0;d<f;++d)(c=u[d]||l[d])&&(h[d]=c);for(;s<r;++s)a[s]=e[s];return new Km(a,this._parents,this._name,this._id)},selection:function(){return new Ym(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=Jm(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],c=s.length,u=0;u<c;++u)if(a=s[u]){var l=wm(a,e);ym(a,t,n,u,s,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new Km(r,this._parents,t,n)},call:Zm.call,nodes:Zm.nodes,node:Zm.node,size:Zm.size,empty:Zm.empty,each:Zm.each,on:function(t,e){var n=this._id;return arguments.length<2?wm(this.node(),n).on.on(t):this.each(function(t,e,n){var r,i,o=function(t){return(t+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t})}(e)?vm:bm;return function(){var a=o(this,t),s=a.on;s!==r&&(i=(r=s).copy()).on(e,n),a.on=i}}(n,t,e))},attr:function(t,e){var n=Fp(t),r="transform"===n?km:Rm;return this.attrTween(t,"function"==typeof e?(n.local?Vm:Lm)(n,r,Cm(this,"attr."+t,e)):null==e?(n.local?Dm:Im)(n):(n.local?jm:Um)(n,r,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;var r=Fp(t);return this.tween(n,(r.local?$m:Fm)(r,e))},style:function(t,e,n){var r="transform"==(t+="")?Mm:Rm;return null==e?this.styleTween(t,function(t,e){var n,r,i;return function(){var o=Zp(this,t),a=(this.style.removeProperty(t),Zp(this,t));return o===a?null:o===n&&a===r?i:i=e(n=o,r=a)}}(t,r)).on("end.style."+t,Gm(t)):"function"==typeof e?this.styleTween(t,function(t,e,n){var r,i,o;return function(){var a=Zp(this,t),s=n(this),c=s+"";return null==s&&(this.style.removeProperty(t),c=s=Zp(this,t)),a===c?null:a===r&&c===i?o:(i=c,o=e(r=a,s))}}(t,r,Cm(this,"style."+t,e))).each(function(t,e){var n,r,i,o,a="style."+e,s="end."+a;return function(){var c=bm(this,t),u=c.on,l=null==c.value[a]?o||(o=Gm(e)):void 0;u===n&&i===l||(r=(n=u).copy()).on(s,i=l),c.on=r}}(this._id,t)):this.styleTween(t,function(t,e,n){var r,i,o=n+"";return function(){var a=Zp(this,t);return a===o?null:a===r?i:i=e(r=a,n)}}(t,r,e),n).on("end.style."+t,null)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw new Error;return this.tween(r,function(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&function(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}(t,o,n)),r}return o._value=e,o}(t,e,n??""))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=e??""}}(Cm(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw new Error;return this.tween(e,function(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&function(t){return function(e){this.textContent=t.call(this,e)}}(r)),e}return r._value=t,r}(t))},remove:function(){return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}));var t},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=wm(this.node(),n).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==e?Nm:Pm)(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?zm:Bm)(e,t)):wm(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?Hm:qm)(e,t)):wm(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw new Error;return function(){bm(this,t).ease=e}}(e,t)):wm(this.node(),e).ease},easeVarying:function(t){if("function"!=typeof t)throw new Error;return this.each(function(t,e){return function(){var n=e.apply(this,arguments);if("function"!=typeof n)throw new Error;bm(this,t).ease=n}}(this._id,t))},end:function(){var t,e,n=this,r=n._id,i=n.size();return new Promise(function(o,a){var s={value:a},c={value:function(){0===--i&&o()}};n.each(function(){var n=bm(this,r),i=n.on;i!==t&&((e=(t=i).copy())._.cancel.push(s),e._.interrupt.push(s),e._.end.push(c)),n.on=e}),0===i&&o()})},[Symbol.iterator]:Zm[Symbol.iterator]};var ny={time:null,delay:0,duration:250,ease:ey};function ry(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}Rg.prototype.interrupt=function(t){return this.each(function(){xm(this,t)})},Rg.prototype.transition=function(t){var e,n;t instanceof Km?(e=t._id,t=t._name):(e=Jm(),(n=ny).time=rm(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],c=s.length,u=0;u<c;++u)(a=s[u])&&ym(a,t,e,u,s,n||ry(a,e));return new Km(r,this._parents,t,e)};var iy=[null];function oy(t,e){var n,r,i=t.__transition;if(i)for(r in e=null==e?null:e+"",i)if((n=i[r]).state>pm&&n.name===e)return new Km([[t]],iy,e,+r);return null}const ay=t=>()=>t;function sy(t,{sourceEvent:e,target:n,selection:r,mode:i,dispatch:o}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},selection:{value:r,enumerable:!0,configurable:!0},mode:{value:i,enumerable:!0,configurable:!0},_:{value:o}})}function cy(t){t.preventDefault(),t.stopImmediatePropagation()}var uy={name:"drag"},ly={name:"space"},fy={name:"handle"},hy={name:"center"};const{abs:dy,max:py,min:gy}=Math;function _y(t){return[+t[0],+t[1]]}function my(t){return[_y(t[0]),_y(t[1])]}var yy={name:"x",handles:["w","e"].map(Oy),input:function(t,e){return null==t?null:[[+t[0],e[0][1]],[+t[1],e[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},vy={name:"y",handles:["n","s"].map(Oy),input:function(t,e){return null==t?null:[[e[0][0],+t[0]],[e[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},by={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(Oy),input:function(t){return null==t?null:my(t)},output:function(t){return t}},wy={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},xy={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},Ey={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},Ty={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Sy={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function Oy(t){return{type:t}}function Ay(t){return!t.ctrlKey&&!t.button}function My(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function ky(){return navigator.maxTouchPoints||"ontouchstart"in this}function Ny(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function Py(t){var e=t.__brush;return e?e.dim.output(e.selection):null}function Cy(){return Dy(yy)}function Ry(){return Dy(vy)}function Iy(){return Dy(by)}function Dy(t){var e,n=My,r=Ay,i=ky,o=!0,a=bp("start","brush","end"),s=6;function c(e){var n=e.property("__brush",g).selectAll(".overlay").data([Oy("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",wy.overlay).merge(n).each(function(){var t=Ny(this).extent;Ig(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])}),e.selectAll(".selection").data([Oy("selection")]).enter().append("rect").attr("class","selection").attr("cursor",wy.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=e.selectAll(".handle").data(t.handles,function(t){return t.type});r.exit().remove(),r.enter().append("rect").attr("class",function(t){return"handle handle--"+t.type}).attr("cursor",function(t){return wy[t.type]}),e.each(u).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",h).filter(i).on("touchstart.brush",h).on("touchmove.brush",d).on("touchend.brush touchcancel.brush",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function u(){var t=Ig(this),e=Ny(this).selection;e?(t.selectAll(".selection").style("display",null).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1]),t.selectAll(".handle").style("display",null).attr("x",function(t){return"e"===t.type[t.type.length-1]?e[1][0]-s/2:e[0][0]-s/2}).attr("y",function(t){return"s"===t.type[0]?e[1][1]-s/2:e[0][1]-s/2}).attr("width",function(t){return"n"===t.type||"s"===t.type?e[1][0]-e[0][0]+s:s}).attr("height",function(t){return"e"===t.type||"w"===t.type?e[1][1]-e[0][1]+s:s})):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function l(t,e,n){var r=t.__brush.emitter;return!r||n&&r.clean?new f(t,e,n):r}function f(t,e,n){this.that=t,this.args=e,this.state=t.__brush,this.active=0,this.clean=n}function h(n){if((!e||n.touches)&&r.apply(this,arguments)){var i,a,s,c,f,h,d,p,g,_,m,y=this,v=n.target.__data__.type,b="selection"===(o&&n.metaKey?v="overlay":v)?uy:o&&n.altKey?hy:fy,w=t===vy?null:Ty[v],x=t===yy?null:Sy[v],E=Ny(y),T=E.extent,S=E.selection,O=T[0][0],A=T[0][1],M=T[1][0],k=T[1][1],N=0,P=0,C=w&&x&&o&&n.shiftKey,R=Array.from(n.touches||[n],t=>{const e=t.identifier;return(t=Y_(t,y)).point0=t.slice(),t.identifier=e,t});xm(y);var I=l(y,arguments,!0).beforestart();if("overlay"===v){S&&(g=!0);const e=[R[0],R[1]||R[0]];E.selection=S=[[i=t===vy?O:gy(e[0][0],e[1][0]),s=t===yy?A:gy(e[0][1],e[1][1])],[f=t===vy?M:py(e[0][0],e[1][0]),d=t===yy?k:py(e[0][1],e[1][1])]],R.length>1&&V(n)}else i=S[0][0],s=S[0][1],f=S[1][0],d=S[1][1];a=i,c=s,h=f,p=d;var D=Ig(y).attr("pointer-events","none"),U=D.selectAll(".overlay").attr("cursor",wy[v]);if(n.touches)I.moved=L,I.ended=$;else{var j=Ig(n.view).on("mousemove.brush",L,!0).on("mouseup.brush",$,!0);o&&j.on("keydown.brush",function(t){switch(t.keyCode){case 16:C=w&&x;break;case 18:b===fy&&(w&&(f=h-N*w,i=a+N*w),x&&(d=p-P*x,s=c+P*x),b=hy,V(t));break;case 32:b!==fy&&b!==hy||(w<0?f=h-N:w>0&&(i=a-N),x<0?d=p-P:x>0&&(s=c-P),b=ly,U.attr("cursor",wy.selection),V(t));break;default:return}cy(t)},!0).on("keyup.brush",function(t){switch(t.keyCode){case 16:C&&(_=m=C=!1,V(t));break;case 18:b===hy&&(w<0?f=h:w>0&&(i=a),x<0?d=p:x>0&&(s=c),b=fy,V(t));break;case 32:b===ly&&(t.altKey?(w&&(f=h-N*w,i=a+N*w),x&&(d=p-P*x,s=c+P*x),b=hy):(w<0?f=h:w>0&&(i=a),x<0?d=p:x>0&&(s=c),b=fy),U.attr("cursor",wy[v]),V(t));break;default:return}cy(t)},!0),Vg(n.view)}u.call(y),I.start(n,b.name)}function L(t){for(const e of t.changedTouches||[t])for(const t of R)t.identifier===e.identifier&&(t.cur=Y_(e,y));if(C&&!_&&!m&&1===R.length){const t=R[0];dy(t.cur[0]-t[0])>dy(t.cur[1]-t[1])?m=!0:_=!0}for(const t of R)t.cur&&(t[0]=t.cur[0],t[1]=t.cur[1]);g=!0,cy(t),V(t)}function V(t){const e=R[0],n=e.point0;var r;switch(N=e[0]-n[0],P=e[1]-n[1],b){case ly:case uy:w&&(N=py(O-i,gy(M-f,N)),a=i+N,h=f+N),x&&(P=py(A-s,gy(k-d,P)),c=s+P,p=d+P);break;case fy:R[1]?(w&&(a=py(O,gy(M,R[0][0])),h=py(O,gy(M,R[1][0])),w=1),x&&(c=py(A,gy(k,R[0][1])),p=py(A,gy(k,R[1][1])),x=1)):(w<0?(N=py(O-i,gy(M-i,N)),a=i+N,h=f):w>0&&(N=py(O-f,gy(M-f,N)),a=i,h=f+N),x<0?(P=py(A-s,gy(k-s,P)),c=s+P,p=d):x>0&&(P=py(A-d,gy(k-d,P)),c=s,p=d+P));break;case hy:w&&(a=py(O,gy(M,i-N*w)),h=py(O,gy(M,f+N*w))),x&&(c=py(A,gy(k,s-P*x)),p=py(A,gy(k,d+P*x)))}h<a&&(w*=-1,r=i,i=f,f=r,r=a,a=h,h=r,v in xy&&U.attr("cursor",wy[v=xy[v]])),p<c&&(x*=-1,r=s,s=d,d=r,r=c,c=p,p=r,v in Ey&&U.attr("cursor",wy[v=Ey[v]])),E.selection&&(S=E.selection),_&&(a=S[0][0],h=S[1][0]),m&&(c=S[0][1],p=S[1][1]),S[0][0]===a&&S[0][1]===c&&S[1][0]===h&&S[1][1]===p||(E.selection=[[a,c],[h,p]],u.call(y),I.brush(t,b.name))}function $(t){if(function(t){t.stopImmediatePropagation()}(t),t.touches){if(t.touches.length)return;e&&clearTimeout(e),e=setTimeout(function(){e=null},500)}else $g(t.view,g),j.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);D.attr("pointer-events","all"),U.attr("cursor",wy.overlay),E.selection&&(S=E.selection),function(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}(S)&&(E.selection=null,u.call(y)),I.end(t,b.name)}}function d(t){l(this,arguments).moved(t)}function p(t){l(this,arguments).ended(t)}function g(){var e=this.__brush||{selection:null};return e.extent=my(n.apply(this,arguments)),e.dim=t,e}return c.move=function(e,n,r){e.tween?e.on("start.brush",function(t){l(this,arguments).beforestart().start(t)}).on("interrupt.brush end.brush",function(t){l(this,arguments).end(t)}).tween("brush",function(){var e=this,r=e.__brush,i=l(e,arguments),o=r.selection,a=t.input("function"==typeof n?n.apply(this,arguments):n,r.extent),s=H_(o,a);function c(t){r.selection=1===t&&null===a?null:s(t),u.call(e),i.brush()}return null!==o&&null!==a?c:c(1)}):e.each(function(){var e=this,i=arguments,o=e.__brush,a=t.input("function"==typeof n?n.apply(e,i):n,o.extent),s=l(e,i).beforestart();xm(e),o.selection=null===a?null:a,u.call(e),s.start(r).brush(r).end(r)})},c.clear=function(t,e){c.move(t,null,e)},f.prototype={beforestart:function(){return 1===++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(t,e){return this.starting?(this.starting=!1,this.emit("start",t,e)):this.emit("brush",t),this},brush:function(t,e){return this.emit("brush",t,e),this},end:function(t,e){return 0===--this.active&&(delete this.state.emitter,this.emit("end",t,e)),this},emit:function(e,n,r){var i=Ig(this.that).datum();a.call(e,this.that,new sy(e,{sourceEvent:n,target:c,selection:t.output(this.state.selection),mode:r,dispatch:a}),i)}},c.extent=function(t){return arguments.length?(n="function"==typeof t?t:ay(my(t)),c):n},c.filter=function(t){return arguments.length?(r="function"==typeof t?t:ay(!!t),c):r},c.touchable=function(t){return arguments.length?(i="function"==typeof t?t:ay(!!t),c):i},c.handleSize=function(t){return arguments.length?(s=+t,c):s},c.keyModifiers=function(t){return arguments.length?(o=!!t,c):o},c.on=function(){var t=a.on.apply(a,arguments);return t===a?c:t},c}var Uy=Math.abs,jy=Math.cos,Ly=Math.sin,Vy=Math.PI,$y=Vy/2,Fy=2*Vy,zy=Math.max,By=1e-12;function Hy(t,e){return Array.from({length:e-t},(e,n)=>t+n)}function qy(){return Wy(!1,!1)}function Yy(){return Wy(!1,!0)}function Gy(){return Wy(!0,!1)}function Wy(t,e){var n=0,r=null,i=null,o=null;function a(a){var s,c=a.length,u=new Array(c),l=Hy(0,c),f=new Array(c*c),h=new Array(c),d=0;a=Float64Array.from({length:c*c},e?(t,e)=>a[e%c][e/c|0]:(t,e)=>a[e/c|0][e%c]);for(let e=0;e<c;++e){let n=0;for(let r=0;r<c;++r)n+=a[e*c+r]+t*a[r*c+e];d+=u[e]=n}s=(d=zy(0,Fy-n*c)/d)?n:Fy/c;{let e=0;r&&l.sort((t,e)=>r(u[t],u[e]));for(const n of l){const r=e;if(t){const t=Hy(1+~c,c).filter(t=>t<0?a[~t*c+n]:a[n*c+t]);i&&t.sort((t,e)=>i(t<0?-a[~t*c+n]:a[n*c+t],e<0?-a[~e*c+n]:a[n*c+e]));for(const r of t)r<0?(f[~r*c+n]||(f[~r*c+n]={source:null,target:null})).target={index:n,startAngle:e,endAngle:e+=a[~r*c+n]*d,value:a[~r*c+n]}:(f[n*c+r]||(f[n*c+r]={source:null,target:null})).source={index:n,startAngle:e,endAngle:e+=a[n*c+r]*d,value:a[n*c+r]};h[n]={index:n,startAngle:r,endAngle:e,value:u[n]}}else{const t=Hy(0,c).filter(t=>a[n*c+t]||a[t*c+n]);i&&t.sort((t,e)=>i(a[n*c+t],a[n*c+e]));for(const r of t){let t;if(n<r?(t=f[n*c+r]||(f[n*c+r]={source:null,target:null}),t.source={index:n,startAngle:e,endAngle:e+=a[n*c+r]*d,value:a[n*c+r]}):(t=f[r*c+n]||(f[r*c+n]={source:null,target:null}),t.target={index:n,startAngle:e,endAngle:e+=a[n*c+r]*d,value:a[n*c+r]},n===r&&(t.source=t.target)),t.source&&t.target&&t.source.value<t.target.value){const e=t.source;t.source=t.target,t.target=e}}h[n]={index:n,startAngle:r,endAngle:e,value:u[n]}}e+=s}}return(f=Object.values(f)).groups=h,o?f.sort(o):f}return a.padAngle=function(t){return arguments.length?(n=zy(0,t),a):n},a.sortGroups=function(t){return arguments.length?(r=t,a):r},a.sortSubgroups=function(t){return arguments.length?(i=t,a):i},a.sortChords=function(t){return arguments.length?(null==t?o=null:(e=t,o=function(t,n){return e(t.source.value+t.target.value,n.source.value+n.target.value)})._=t,a):o&&o._;var e},a}const Ky=Math.PI,Xy=2*Ky,Jy=1e-6,Zy=Xy-Jy;function Qy(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=arguments[e]+t[e]}class tv{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?Qy:function(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return Qy;const n=10**e;return function(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=Math.round(arguments[e]*n)/n+t[e]}}(t)}moveTo(t,e){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,e){this._append`L${this._x1=+t},${this._y1=+e}`}quadraticCurveTo(t,e,n,r){this._append`Q${+t},${+e},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(t,e,n,r,i,o){this._append`C${+t},${+e},${+n},${+r},${this._x1=+i},${this._y1=+o}`}arcTo(t,e,n,r,i){if(t=+t,e=+e,n=+n,r=+r,(i=+i)<0)throw new Error(`negative radius: ${i}`);let o=this._x1,a=this._y1,s=n-t,c=r-e,u=o-t,l=a-e,f=u*u+l*l;if(null===this._x1)this._append`M${this._x1=t},${this._y1=e}`;else if(f>Jy)if(Math.abs(l*s-c*u)>Jy&&i){let h=n-o,d=r-a,p=s*s+c*c,g=h*h+d*d,_=Math.sqrt(p),m=Math.sqrt(f),y=i*Math.tan((Ky-Math.acos((p+f-g)/(2*_*m)))/2),v=y/m,b=y/_;Math.abs(v-1)>Jy&&this._append`L${t+v*u},${e+v*l}`,this._append`A${i},${i},0,0,${+(l*h>u*d)},${this._x1=t+b*s},${this._y1=e+b*c}`}else this._append`L${this._x1=t},${this._y1=e}`}arc(t,e,n,r,i,o){if(t=+t,e=+e,o=!!o,(n=+n)<0)throw new Error(`negative radius: ${n}`);let a=n*Math.cos(r),s=n*Math.sin(r),c=t+a,u=e+s,l=1^o,f=o?r-i:i-r;null===this._x1?this._append`M${c},${u}`:(Math.abs(this._x1-c)>Jy||Math.abs(this._y1-u)>Jy)&&this._append`L${c},${u}`,n&&(f<0&&(f=f%Xy+Xy),f>Zy?this._append`A${n},${n},0,1,${l},${t-a},${e-s}A${n},${n},0,1,${l},${this._x1=c},${this._y1=u}`:f>Jy&&this._append`A${n},${n},0,${+(f>=Ky)},${l},${this._x1=t+n*Math.cos(i)},${this._y1=e+n*Math.sin(i)}`)}rect(t,e,n,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}}function ev(){return new tv}function nv(t=3){return new tv(+t)}ev.prototype=tv.prototype;var rv=Array.prototype.slice;function iv(t){return function(){return t}}function ov(t){return t.source}function av(t){return t.target}function sv(t){return t.radius}function cv(t){return t.startAngle}function uv(t){return t.endAngle}function lv(){return 0}function fv(){return 10}function hv(t){var e=ov,n=av,r=sv,i=sv,o=cv,a=uv,s=lv,c=null;function u(){var u,l=e.apply(this,arguments),f=n.apply(this,arguments),h=s.apply(this,arguments)/2,d=rv.call(arguments),p=+r.apply(this,(d[0]=l,d)),g=o.apply(this,d)-$y,_=a.apply(this,d)-$y,m=+i.apply(this,(d[0]=f,d)),y=o.apply(this,d)-$y,v=a.apply(this,d)-$y;if(c||(c=u=ev()),h>By&&(Uy(_-g)>2*h+By?_>g?(g+=h,_-=h):(g-=h,_+=h):g=_=(g+_)/2,Uy(v-y)>2*h+By?v>y?(y+=h,v-=h):(y-=h,v+=h):y=v=(y+v)/2),c.moveTo(p*jy(g),p*Ly(g)),c.arc(0,0,p,g,_),g!==y||_!==v)if(t){var b=m-+t.apply(this,arguments),w=(y+v)/2;c.quadraticCurveTo(0,0,b*jy(y),b*Ly(y)),c.lineTo(m*jy(w),m*Ly(w)),c.lineTo(b*jy(v),b*Ly(v))}else c.quadraticCurveTo(0,0,m*jy(y),m*Ly(y)),c.arc(0,0,m,y,v);if(c.quadraticCurveTo(0,0,p*jy(g),p*Ly(g)),c.closePath(),u)return c=null,u+""||null}return t&&(u.headRadius=function(e){return arguments.length?(t="function"==typeof e?e:iv(+e),u):t}),u.radius=function(t){return arguments.length?(r=i="function"==typeof t?t:iv(+t),u):r},u.sourceRadius=function(t){return arguments.length?(r="function"==typeof t?t:iv(+t),u):r},u.targetRadius=function(t){return arguments.length?(i="function"==typeof t?t:iv(+t),u):i},u.startAngle=function(t){return arguments.length?(o="function"==typeof t?t:iv(+t),u):o},u.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:iv(+t),u):a},u.padAngle=function(t){return arguments.length?(s="function"==typeof t?t:iv(+t),u):s},u.source=function(t){return arguments.length?(e=t,u):e},u.target=function(t){return arguments.length?(n=t,u):n},u.context=function(t){return arguments.length?(c=t??null,u):c},u}function dv(){return hv()}function pv(){return hv(fv)}const gv=Math.PI/180,_v=180/Math.PI,mv=.96422,yv=1,vv=.82521,bv=4/29,wv=6/29,xv=3*wv*wv,Ev=wv*wv*wv;function Tv(t){if(t instanceof Av)return new Av(t.l,t.a,t.b,t.opacity);if(t instanceof Dv)return Uv(t);t instanceof l_||(t=c_(t));var e,n,r=Pv(t.r),i=Pv(t.g),o=Pv(t.b),a=Mv((.2225045*r+.7168786*i+.0606169*o)/yv);return r===i&&i===o?e=n=a:(e=Mv((.4360747*r+.3850649*i+.1430804*o)/mv),n=Mv((.0139322*r+.0971045*i+.7141733*o)/vv)),new Av(116*a-16,500*(e-a),200*(a-n),t.opacity)}function Sv(t,e){return new Av(t,0,0,e??1)}function Ov(t,e,n,r){return 1===arguments.length?Tv(t):new Av(t,e,n,r??1)}function Av(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function Mv(t){return t>Ev?Math.pow(t,1/3):t/xv+bv}function kv(t){return t>wv?t*t*t:xv*(t-bv)}function Nv(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Pv(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Cv(t){if(t instanceof Dv)return new Dv(t.h,t.c,t.l,t.opacity);if(t instanceof Av||(t=Tv(t)),0===t.a&&0===t.b)return new Dv(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*_v;return new Dv(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function Rv(t,e,n,r){return 1===arguments.length?Cv(t):new Dv(n,e,t,r??1)}function Iv(t,e,n,r){return 1===arguments.length?Cv(t):new Dv(t,e,n,r??1)}function Dv(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function Uv(t){if(isNaN(t.h))return new Av(t.l,0,0,t.opacity);var e=t.h*gv;return new Av(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}Fg(Av,Ov,zg(Bg,{brighter(t){return new Av(this.l+18*(t??1),this.a,this.b,this.opacity)},darker(t){return new Av(this.l-18*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return new l_(Nv(3.1338561*(e=mv*kv(e))-1.6168667*(t=yv*kv(t))-.4906146*(n=vv*kv(n))),Nv(-.9787684*e+1.9161415*t+.033454*n),Nv(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),Fg(Dv,Iv,zg(Bg,{brighter(t){return new Dv(this.h,this.c,this.l+18*(t??1),this.opacity)},darker(t){return new Dv(this.h,this.c,this.l-18*(t??1),this.opacity)},rgb(){return Uv(this).rgb()}}));var jv=-.14861,Lv=1.78277,Vv=-.29227,$v=-.90649,Fv=1.97294,zv=Fv*$v,Bv=Fv*Lv,Hv=Lv*Vv-$v*jv;function qv(t,e,n,r){return 1===arguments.length?function(t){if(t instanceof Yv)return new Yv(t.h,t.s,t.l,t.opacity);t instanceof l_||(t=c_(t));var e=t.r/255,n=t.g/255,r=t.b/255,i=(Hv*r+zv*e-Bv*n)/(Hv+zv-Bv),o=r-i,a=(Fv*(n-i)-Vv*o)/$v,s=Math.sqrt(a*a+o*o)/(Fv*i*(1-i)),c=s?Math.atan2(a,o)*_v-120:NaN;return new Yv(c<0?c+360:c,s,i,t.opacity)}(t):new Yv(t,e,n,r??1)}function Yv(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}Fg(Yv,qv,zg(Bg,{brighter(t){return t=null==t?qg:Math.pow(qg,t),new Yv(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?Hg:Math.pow(Hg,t),new Yv(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=isNaN(this.h)?0:(this.h+120)*gv,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t);return new l_(255*(e+n*(jv*r+Lv*i)),255*(e+n*(Vv*r+$v*i)),255*(e+n*(Fv*r)),this.opacity)}}));var Gv=Array.prototype.slice;function Wv(t,e){return t-e}const Kv=t=>()=>t;function Xv(t,e){for(var n,r=-1,i=e.length;++r<i;)if(n=Jv(t,e[r]))return n;return 0}function Jv(t,e){for(var n=e[0],r=e[1],i=-1,o=0,a=t.length,s=a-1;o<a;s=o++){var c=t[o],u=c[0],l=c[1],f=t[s],h=f[0],d=f[1];if(Zv(c,f,e))return 0;l>r!=d>r&&n<(h-u)*(r-l)/(d-l)+u&&(i=-i)}return i}function Zv(t,e,n){var r;return function(t,e,n){return(e[0]-t[0])*(n[1]-t[1])===(n[0]-t[0])*(e[1]-t[1])}(t,e,n)&&function(t,e,n){return t<=e&&e<=n||n<=e&&e<=t}(t[r=+(t[0]===e[0])],n[r],e[r])}function Qv(){}var tb=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function eb(){var t=1,e=1,n=ad,r=s;function i(t){var e=n(t);if(Array.isArray(e))e=e.slice().sort(Wv);else{const n=xh(t,nb);for(e=nd(...od(n[0],n[1],e),e);e[e.length-1]>=n[1];)e.pop();for(;e[1]<n[0];)e.shift()}return e.map(e=>o(t,e))}function o(n,i){const o=null==i?NaN:+i;if(isNaN(o))throw new Error(`invalid value: ${i}`);var s=[],c=[];return function(n,r,i){var o,s,c,u,l,f,h=new Array,d=new Array;for(o=s=-1,u=rb(n[0],r),tb[u<<1].forEach(p);++o<t-1;)c=u,u=rb(n[o+1],r),tb[c|u<<1].forEach(p);for(tb[0|u].forEach(p);++s<e-1;){for(o=-1,u=rb(n[s*t+t],r),l=rb(n[s*t],r),tb[u<<1|l<<2].forEach(p);++o<t-1;)c=u,u=rb(n[s*t+t+o+1],r),f=l,l=rb(n[s*t+o+1],r),tb[c|u<<1|l<<2|f<<3].forEach(p);tb[u|l<<3].forEach(p)}for(o=-1,l=n[s*t]>=r,tb[l<<2].forEach(p);++o<t-1;)f=l,l=rb(n[s*t+o+1],r),tb[l<<2|f<<3].forEach(p);function p(t){var e,n,r=[t[0][0]+o,t[0][1]+s],c=[t[1][0]+o,t[1][1]+s],u=a(r),l=a(c);(e=d[u])?(n=h[l])?(delete d[e.end],delete h[n.start],e===n?(e.ring.push(c),i(e.ring)):h[e.start]=d[n.end]={start:e.start,end:n.end,ring:e.ring.concat(n.ring)}):(delete d[e.end],e.ring.push(c),d[e.end=l]=e):(e=h[l])?(n=d[u])?(delete h[e.start],delete d[n.end],e===n?(e.ring.push(c),i(e.ring)):h[n.start]=d[e.end]={start:n.start,end:e.end,ring:n.ring.concat(e.ring)}):(delete h[e.start],e.ring.unshift(r),h[e.start=u]=e):h[u]=d[l]={start:u,end:l,ring:[r,c]}}tb[l<<3].forEach(p)}(n,o,function(t){r(t,n,o),function(t){for(var e=0,n=t.length,r=t[n-1][1]*t[0][0]-t[n-1][0]*t[0][1];++e<n;)r+=t[e-1][1]*t[e][0]-t[e-1][0]*t[e][1];return r}(t)>0?s.push([t]):c.push(t)}),c.forEach(function(t){for(var e,n=0,r=s.length;n<r;++n)if(-1!==Xv((e=s[n])[0],t))return void e.push(t)}),{type:"MultiPolygon",value:i,coordinates:s}}function a(e){return 2*e[0]+e[1]*(t+1)*4}function s(n,r,i){n.forEach(function(n){var o=n[0],a=n[1],s=0|o,c=0|a,u=ib(r[c*t+s]);o>0&&o<t&&s===o&&(n[0]=ob(o,ib(r[c*t+s-1]),u,i)),a>0&&a<e&&c===a&&(n[1]=ob(a,ib(r[(c-1)*t+s]),u,i))})}return i.contour=o,i.size=function(n){if(!arguments.length)return[t,e];var r=Math.floor(n[0]),o=Math.floor(n[1]);if(!(r>=0&&o>=0))throw new Error("invalid size");return t=r,e=o,i},i.thresholds=function(t){return arguments.length?(n="function"==typeof t?t:Array.isArray(t)?Kv(Gv.call(t)):Kv(t),i):n},i.smooth=function(t){return arguments.length?(r=t?s:Qv,i):r===s},i}function nb(t){return isFinite(t)?t:NaN}function rb(t,e){return null!=t&&+t>=e}function ib(t){return null==t||isNaN(t=+t)?-1/0:t}function ob(t,e,n,r){const i=r-e,o=n-e,a=isFinite(i)||isFinite(o)?i/o:Math.sign(i)/Math.sign(o);return isNaN(a)?t:t+a-.5}function ab(t){return t[0]}function sb(t){return t[1]}function cb(){return 1}function ub(){var t=ab,e=sb,n=cb,r=960,i=500,o=20,a=2,s=3*o,c=r+2*s>>a,u=i+2*s>>a,l=Kv(20);function f(r){var i=new Float32Array(c*u),l=Math.pow(2,-a),f=-1;for(const o of r){var h=(t(o,++f,r)+s)*l,d=(e(o,f,r)+s)*l,p=+n(o,f,r);if(p&&h>=0&&h<c&&d>=0&&d<u){var g=Math.floor(h),_=Math.floor(d),m=h-g-.5,y=d-_-.5;i[g+_*c]+=(1-m)*(1-y)*p,i[g+1+_*c]+=m*(1-y)*p,i[g+1+(_+1)*c]+=m*y*p,i[g+(_+1)*c]+=(1-m)*y*p}}return ch({data:i,width:c,height:u},o*l),i}function h(t){var e=f(t),n=l(e),r=Math.pow(2,2*a);return Array.isArray(n)||(n=nd(Number.MIN_VALUE,cd(e)/r,n)),eb().size([c,u]).thresholds(n.map(t=>t*r))(e).map((t,e)=>(t.value=+n[e],d(t)))}function d(t){return t.coordinates.forEach(p),t}function p(t){t.forEach(g)}function g(t){t.forEach(_)}function _(t){t[0]=t[0]*Math.pow(2,a)-s,t[1]=t[1]*Math.pow(2,a)-s}function m(){return c=r+2*(s=3*o)>>a,u=i+2*s>>a,h}return h.contours=function(t){var e=f(t),n=eb().size([c,u]),r=Math.pow(2,2*a),i=t=>{t=+t;var i=d(n.contour(e,t*r));return i.value=t,i};return Object.defineProperty(i,"max",{get:()=>cd(e)/r}),i},h.x=function(e){return arguments.length?(t="function"==typeof e?e:Kv(+e),h):t},h.y=function(t){return arguments.length?(e="function"==typeof t?t:Kv(+t),h):e},h.weight=function(t){return arguments.length?(n="function"==typeof t?t:Kv(+t),h):n},h.size=function(t){if(!arguments.length)return[r,i];var e=+t[0],n=+t[1];if(!(e>=0&&n>=0))throw new Error("invalid size");return r=e,i=n,m()},h.cellSize=function(t){if(!arguments.length)return 1<<a;if(!((t=+t)>=1))throw new Error("invalid cell size");return a=Math.floor(Math.log(t)/Math.LN2),m()},h.thresholds=function(t){return arguments.length?(l="function"==typeof t?t:Array.isArray(t)?Kv(Gv.call(t)):Kv(t),h):l},h.bandwidth=function(t){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((t=+t)>=0))throw new Error("invalid bandwidth");return o=(Math.sqrt(4*t*t+1)-1)/2,m()},h}const lb=134217729;function fb(t,e,n,r,i){let o,a,s,c,u=e[0],l=r[0],f=0,h=0;l>u==l>-u?(o=u,u=e[++f]):(o=l,l=r[++h]);let d=0;if(f<t&&h<n)for(l>u==l>-u?(a=u+o,s=o-(a-u),u=e[++f]):(a=l+o,s=o-(a-l),l=r[++h]),o=a,0!==s&&(i[d++]=s);f<t&&h<n;)l>u==l>-u?(a=o+u,c=a-o,s=o-(a-c)+(u-c),u=e[++f]):(a=o+l,c=a-o,s=o-(a-c)+(l-c),l=r[++h]),o=a,0!==s&&(i[d++]=s);for(;f<t;)a=o+u,c=a-o,s=o-(a-c)+(u-c),u=e[++f],o=a,0!==s&&(i[d++]=s);for(;h<n;)a=o+l,c=a-o,s=o-(a-c)+(l-c),l=r[++h],o=a,0!==s&&(i[d++]=s);return 0===o&&0!==d||(i[d++]=o),d}function hb(t){return new Float64Array(t)}const db=hb(4),pb=hb(8),gb=hb(12),_b=hb(16),mb=hb(4);function yb(t,e,n,r,i,o){const a=(e-o)*(n-i),s=(t-i)*(r-o),c=a-s,u=Math.abs(a+s);return Math.abs(c)>=33306690738754716e-32*u?c:-function(t,e,n,r,i,o,a){let s,c,u,l,f,h,d,p,g,_,m,y,v,b,w,x,E,T;const S=t-i,O=n-i,A=e-o,M=r-o;b=S*M,h=lb*S,d=h-(h-S),p=S-d,h=lb*M,g=h-(h-M),_=M-g,w=p*_-(b-d*g-p*g-d*_),x=A*O,h=lb*A,d=h-(h-A),p=A-d,h=lb*O,g=h-(h-O),_=O-g,E=p*_-(x-d*g-p*g-d*_),m=w-E,f=w-m,db[0]=w-(m+f)+(f-E),y=b+m,f=y-b,v=b-(y-f)+(m-f),m=v-x,f=v-m,db[1]=v-(m+f)+(f-x),T=y+m,f=T-y,db[2]=y-(T-f)+(m-f),db[3]=T;let k=function(t,e){let n=e[0];for(let t=1;t<4;t++)n+=e[t];return n}(0,db),N=22204460492503146e-32*a;if(k>=N||-k>=N)return k;if(f=t-S,s=t-(S+f)+(f-i),f=n-O,u=n-(O+f)+(f-i),f=e-A,c=e-(A+f)+(f-o),f=r-M,l=r-(M+f)+(f-o),0===s&&0===c&&0===u&&0===l)return k;if(N=11093356479670487e-47*a+33306690738754706e-32*Math.abs(k),k+=S*l+M*s-(A*u+O*c),k>=N||-k>=N)return k;b=s*M,h=lb*s,d=h-(h-s),p=s-d,h=lb*M,g=h-(h-M),_=M-g,w=p*_-(b-d*g-p*g-d*_),x=c*O,h=lb*c,d=h-(h-c),p=c-d,h=lb*O,g=h-(h-O),_=O-g,E=p*_-(x-d*g-p*g-d*_),m=w-E,f=w-m,mb[0]=w-(m+f)+(f-E),y=b+m,f=y-b,v=b-(y-f)+(m-f),m=v-x,f=v-m,mb[1]=v-(m+f)+(f-x),T=y+m,f=T-y,mb[2]=y-(T-f)+(m-f),mb[3]=T;const P=fb(4,db,4,mb,pb);b=S*l,h=lb*S,d=h-(h-S),p=S-d,h=lb*l,g=h-(h-l),_=l-g,w=p*_-(b-d*g-p*g-d*_),x=A*u,h=lb*A,d=h-(h-A),p=A-d,h=lb*u,g=h-(h-u),_=u-g,E=p*_-(x-d*g-p*g-d*_),m=w-E,f=w-m,mb[0]=w-(m+f)+(f-E),y=b+m,f=y-b,v=b-(y-f)+(m-f),m=v-x,f=v-m,mb[1]=v-(m+f)+(f-x),T=y+m,f=T-y,mb[2]=y-(T-f)+(m-f),mb[3]=T;const C=fb(P,pb,4,mb,gb);b=s*l,h=lb*s,d=h-(h-s),p=s-d,h=lb*l,g=h-(h-l),_=l-g,w=p*_-(b-d*g-p*g-d*_),x=c*u,h=lb*c,d=h-(h-c),p=c-d,h=lb*u,g=h-(h-u),_=u-g,E=p*_-(x-d*g-p*g-d*_),m=w-E,f=w-m,mb[0]=w-(m+f)+(f-E),y=b+m,f=y-b,v=b-(y-f)+(m-f),m=v-x,f=v-m,mb[1]=v-(m+f)+(f-x),T=y+m,f=T-y,mb[2]=y-(T-f)+(m-f),mb[3]=T;const R=fb(C,gb,4,mb,_b);return _b[R-1]}(t,e,n,r,i,o,u)}hb(4),hb(4),hb(4),hb(4),hb(4),hb(4),hb(4),hb(4),hb(4),hb(8),hb(8),hb(8),hb(4),hb(8),hb(8),hb(16),hb(12),hb(192),hb(192),hb(4),hb(4),hb(4),hb(4),hb(4),hb(4),hb(4),hb(4),hb(8),hb(8),hb(8),hb(8),hb(8),hb(8),hb(8),hb(8),hb(8),hb(4),hb(4),hb(4),hb(8),hb(16),hb(16),hb(16),hb(32),hb(32),hb(48),hb(64),hb(1152),hb(1152),hb(4),hb(4),hb(4),hb(4),hb(4),hb(4),hb(4),hb(4),hb(4),hb(4),hb(24),hb(24),hb(24),hb(24),hb(24),hb(24),hb(24),hb(24),hb(24),hb(24),hb(1152),hb(1152),hb(1152),hb(1152),hb(1152),hb(2304),hb(2304),hb(3456),hb(5760),hb(8),hb(8),hb(8),hb(16),hb(24),hb(48),hb(48),hb(96),hb(192),hb(384),hb(384),hb(384),hb(768),hb(96),hb(96),hb(96),hb(1152);const vb=Math.pow(2,-52),bb=new Uint32Array(512);class wb{static from(t,e=Ab,n=Mb){const r=t.length,i=new Float64Array(2*r);for(let o=0;o<r;o++){const r=t[o];i[2*o]=e(r),i[2*o+1]=n(r)}return new wb(i)}constructor(t){const e=t.length>>1;if(e>0&&"number"!=typeof t[0])throw new Error("Expected coords to contain numbers.");this.coords=t;const n=Math.max(2*e-5,0);this._triangles=new Uint32Array(3*n),this._halfedges=new Int32Array(3*n),this._hashSize=Math.ceil(Math.sqrt(e)),this._hullPrev=new Uint32Array(e),this._hullNext=new Uint32Array(e),this._hullTri=new Uint32Array(e),this._hullHash=new Int32Array(this._hashSize),this._ids=new Uint32Array(e),this._dists=new Float64Array(e),this.trianglesLen=0,this._cx=0,this._cy=0,this._hullStart=0,this.hull=this._triangles,this.triangles=this._triangles,this.halfedges=this._halfedges,this.update()}update(){const{coords:t,_hullPrev:e,_hullNext:n,_hullTri:r,_hullHash:i}=this,o=t.length>>1;let a=1/0,s=1/0,c=-1/0,u=-1/0;for(let e=0;e<o;e++){const n=t[2*e],r=t[2*e+1];n<a&&(a=n),r<s&&(s=r),n>c&&(c=n),r>u&&(u=r),this._ids[e]=e}const l=(a+c)/2,f=(s+u)/2;let h=0,d=0,p=0;for(let e=0,n=1/0;e<o;e++){const r=xb(l,f,t[2*e],t[2*e+1]);r<n&&(h=e,n=r)}const g=t[2*h],_=t[2*h+1];for(let e=0,n=1/0;e<o;e++){if(e===h)continue;const r=xb(g,_,t[2*e],t[2*e+1]);r<n&&r>0&&(d=e,n=r)}let m=t[2*d],y=t[2*d+1],v=1/0;for(let e=0;e<o;e++){if(e===h||e===d)continue;const n=Tb(g,_,m,y,t[2*e],t[2*e+1]);n<v&&(p=e,v=n)}let b=t[2*p],w=t[2*p+1];if(v===1/0){for(let e=0;e<o;e++)this._dists[e]=t[2*e]-t[0]||t[2*e+1]-t[1];Sb(this._ids,this._dists,0,o-1);const e=new Uint32Array(o);let n=0;for(let t=0,r=-1/0;t<o;t++){const i=this._ids[t],o=this._dists[i];o>r&&(e[n++]=i,r=o)}return this.hull=e.subarray(0,n),this.triangles=new Uint32Array(0),void(this.halfedges=new Int32Array(0))}if(yb(g,_,m,y,b,w)<0){const t=d,e=m,n=y;d=p,m=b,y=w,p=t,b=e,w=n}const x=function(t,e,n,r,i,o){const a=n-t,s=r-e,c=i-t,u=o-e,l=a*a+s*s,f=c*c+u*u,h=.5/(a*u-s*c);return{x:t+(u*l-s*f)*h,y:e+(a*f-c*l)*h}}(g,_,m,y,b,w);this._cx=x.x,this._cy=x.y;for(let e=0;e<o;e++)this._dists[e]=xb(t[2*e],t[2*e+1],x.x,x.y);Sb(this._ids,this._dists,0,o-1),this._hullStart=h;let E=3;n[h]=e[p]=d,n[d]=e[h]=p,n[p]=e[d]=h,r[h]=0,r[d]=1,r[p]=2,i.fill(-1),i[this._hashKey(g,_)]=h,i[this._hashKey(m,y)]=d,i[this._hashKey(b,w)]=p,this.trianglesLen=0,this._addTriangle(h,d,p,-1,-1,-1);for(let o=0,a=0,s=0;o<this._ids.length;o++){const c=this._ids[o],u=t[2*c],l=t[2*c+1];if(o>0&&Math.abs(u-a)<=vb&&Math.abs(l-s)<=vb)continue;if(a=u,s=l,c===h||c===d||c===p)continue;let f=0;for(let t=0,e=this._hashKey(u,l);t<this._hashSize&&(f=i[(e+t)%this._hashSize],-1===f||f===n[f]);t++);f=e[f];let g,_=f;for(;g=n[_],yb(u,l,t[2*_],t[2*_+1],t[2*g],t[2*g+1])>=0;)if(_=g,_===f){_=-1;break}if(-1===_)continue;let m=this._addTriangle(_,c,n[_],-1,-1,r[_]);r[c]=this._legalize(m+2),r[_]=m,E++;let y=n[_];for(;g=n[y],yb(u,l,t[2*y],t[2*y+1],t[2*g],t[2*g+1])<0;)m=this._addTriangle(y,c,g,r[c],-1,r[y]),r[c]=this._legalize(m+2),n[y]=y,E--,y=g;if(_===f)for(;g=e[_],yb(u,l,t[2*g],t[2*g+1],t[2*_],t[2*_+1])<0;)m=this._addTriangle(g,c,_,-1,r[_],r[g]),this._legalize(m+2),r[g]=m,n[_]=_,E--,_=g;this._hullStart=e[c]=_,n[_]=e[y]=c,n[c]=y,i[this._hashKey(u,l)]=c,i[this._hashKey(t[2*_],t[2*_+1])]=_}this.hull=new Uint32Array(E);for(let t=0,e=this._hullStart;t<E;t++)this.hull[t]=e,e=n[e];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)}_hashKey(t,e){return Math.floor(function(t,e){const n=t/(Math.abs(t)+Math.abs(e));return(e>0?3-n:1+n)/4}(t-this._cx,e-this._cy)*this._hashSize)%this._hashSize}_legalize(t){const{_triangles:e,_halfedges:n,coords:r}=this;let i=0,o=0;for(;;){const a=n[t],s=t-t%3;if(o=s+(t+2)%3,-1===a){if(0===i)break;t=bb[--i];continue}const c=a-a%3,u=s+(t+1)%3,l=c+(a+2)%3,f=e[o],h=e[t],d=e[u],p=e[l];if(Eb(r[2*f],r[2*f+1],r[2*h],r[2*h+1],r[2*d],r[2*d+1],r[2*p],r[2*p+1])){e[t]=p,e[a]=f;const r=n[l];if(-1===r){let e=this._hullStart;do{if(this._hullTri[e]===l){this._hullTri[e]=t;break}e=this._hullPrev[e]}while(e!==this._hullStart)}this._link(t,r),this._link(a,n[o]),this._link(o,l);const s=c+(a+1)%3;i<bb.length&&(bb[i++]=s)}else{if(0===i)break;t=bb[--i]}}return o}_link(t,e){this._halfedges[t]=e,-1!==e&&(this._halfedges[e]=t)}_addTriangle(t,e,n,r,i,o){const a=this.trianglesLen;return this._triangles[a]=t,this._triangles[a+1]=e,this._triangles[a+2]=n,this._link(a,r),this._link(a+1,i),this._link(a+2,o),this.trianglesLen+=3,a}}function xb(t,e,n,r){const i=t-n,o=e-r;return i*i+o*o}function Eb(t,e,n,r,i,o,a,s){const c=t-a,u=e-s,l=n-a,f=r-s,h=i-a,d=o-s,p=l*l+f*f,g=h*h+d*d;return c*(f*g-p*d)-u*(l*g-p*h)+(c*c+u*u)*(l*d-f*h)<0}function Tb(t,e,n,r,i,o){const a=n-t,s=r-e,c=i-t,u=o-e,l=a*a+s*s,f=c*c+u*u,h=.5/(a*u-s*c),d=(u*l-s*f)*h,p=(a*f-c*l)*h;return d*d+p*p}function Sb(t,e,n,r){if(r-n<=20)for(let i=n+1;i<=r;i++){const r=t[i],o=e[r];let a=i-1;for(;a>=n&&e[t[a]]>o;)t[a+1]=t[a--];t[a+1]=r}else{let i=n+1,o=r;Ob(t,n+r>>1,i),e[t[n]]>e[t[r]]&&Ob(t,n,r),e[t[i]]>e[t[r]]&&Ob(t,i,r),e[t[n]]>e[t[i]]&&Ob(t,n,i);const a=t[i],s=e[a];for(;;){do{i++}while(e[t[i]]<s);do{o--}while(e[t[o]]>s);if(o<i)break;Ob(t,i,o)}t[n+1]=t[o],t[o]=a,r-i+1>=o-n?(Sb(t,e,i,r),Sb(t,e,n,o-1)):(Sb(t,e,n,o-1),Sb(t,e,i,r))}}function Ob(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function Ab(t){return t[0]}function Mb(t){return t[1]}const kb=1e-6;class Nb{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=""}moveTo(t,e){this._+=`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}lineTo(t,e){this._+=`L${this._x1=+t},${this._y1=+e}`}arc(t,e,n){const r=(t=+t)+(n=+n),i=e=+e;if(n<0)throw new Error("negative radius");null===this._x1?this._+=`M${r},${i}`:(Math.abs(this._x1-r)>kb||Math.abs(this._y1-i)>kb)&&(this._+="L"+r+","+i),n&&(this._+=`A${n},${n},0,1,1,${t-n},${e}A${n},${n},0,1,1,${this._x1=r},${this._y1=i}`)}rect(t,e,n,r){this._+=`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${+n}v${+r}h${-n}Z`}value(){return this._||null}}class Pb{constructor(){this._=[]}moveTo(t,e){this._.push([t,e])}closePath(){this._.push(this._[0].slice())}lineTo(t,e){this._.push([t,e])}value(){return this._.length?this._:null}}class Cb{constructor(t,[e,n,r,i]=[0,0,960,500]){if(!((r=+r)>=(e=+e)&&(i=+i)>=(n=+n)))throw new Error("invalid bounds");this.delaunay=t,this._circumcenters=new Float64Array(2*t.points.length),this.vectors=new Float64Array(2*t.points.length),this.xmax=r,this.xmin=e,this.ymax=i,this.ymin=n,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:t,hull:e,triangles:n},vectors:r}=this;let i,o;const a=this.circumcenters=this._circumcenters.subarray(0,n.length/3*2);for(let r,s,c=0,u=0,l=n.length;c<l;c+=3,u+=2){const l=2*n[c],f=2*n[c+1],h=2*n[c+2],d=t[l],p=t[l+1],g=t[f],_=t[f+1],m=t[h],y=t[h+1],v=g-d,b=_-p,w=m-d,x=y-p,E=2*(v*x-b*w);if(Math.abs(E)<1e-9){if(void 0===i){i=o=0;for(const n of e)i+=t[2*n],o+=t[2*n+1];i/=e.length,o/=e.length}const n=1e9*Math.sign((i-d)*x-(o-p)*w);r=(d+m)/2-n*x,s=(p+y)/2+n*w}else{const t=1/E,e=v*v+b*b,n=w*w+x*x;r=d+(x*e-b*n)*t,s=p+(v*n-w*e)*t}a[u]=r,a[u+1]=s}let s,c,u,l=e[e.length-1],f=4*l,h=t[2*l],d=t[2*l+1];r.fill(0);for(let n=0;n<e.length;++n)l=e[n],s=f,c=h,u=d,f=4*l,h=t[2*l],d=t[2*l+1],r[s+2]=r[f]=u-d,r[s+3]=r[f+1]=h-c}render(t){const e=null==t?t=new Nb:void 0,{delaunay:{halfedges:n,inedges:r,hull:i},circumcenters:o,vectors:a}=this;if(i.length<=1)return null;for(let e=0,r=n.length;e<r;++e){const r=n[e];if(r<e)continue;const i=2*Math.floor(e/3),a=2*Math.floor(r/3),s=o[i],c=o[i+1],u=o[a],l=o[a+1];this._renderSegment(s,c,u,l,t)}let s,c=i[i.length-1];for(let e=0;e<i.length;++e){s=c,c=i[e];const n=2*Math.floor(r[c]/3),u=o[n],l=o[n+1],f=4*s,h=this._project(u,l,a[f+2],a[f+3]);h&&this._renderSegment(u,l,h[0],h[1],t)}return e&&e.value()}renderBounds(t){const e=null==t?t=new Nb:void 0;return t.rect(this.xmin,this.ymin,this.xmax-this.xmin,this.ymax-this.ymin),e&&e.value()}renderCell(t,e){const n=null==e?e=new Nb:void 0,r=this._clip(t);if(null===r||!r.length)return;e.moveTo(r[0],r[1]);let i=r.length;for(;r[0]===r[i-2]&&r[1]===r[i-1]&&i>1;)i-=2;for(let t=2;t<i;t+=2)r[t]===r[t-2]&&r[t+1]===r[t-1]||e.lineTo(r[t],r[t+1]);return e.closePath(),n&&n.value()}*cellPolygons(){const{delaunay:{points:t}}=this;for(let e=0,n=t.length/2;e<n;++e){const t=this.cellPolygon(e);t&&(t.index=e,yield t)}}cellPolygon(t){const e=new Pb;return this.renderCell(t,e),e.value()}_renderSegment(t,e,n,r,i){let o;const a=this._regioncode(t,e),s=this._regioncode(n,r);0===a&&0===s?(i.moveTo(t,e),i.lineTo(n,r)):(o=this._clipSegment(t,e,n,r,a,s))&&(i.moveTo(o[0],o[1]),i.lineTo(o[2],o[3]))}contains(t,e,n){return(e=+e)==e&&(n=+n)==n&&this.delaunay._step(t,e,n)===t}*neighbors(t){const e=this._clip(t);if(e)for(const n of this.delaunay.neighbors(t)){const t=this._clip(n);if(t)t:for(let r=0,i=e.length;r<i;r+=2)for(let o=0,a=t.length;o<a;o+=2)if(e[r]===t[o]&&e[r+1]===t[o+1]&&e[(r+2)%i]===t[(o+a-2)%a]&&e[(r+3)%i]===t[(o+a-1)%a]){yield n;break t}}}_cell(t){const{circumcenters:e,delaunay:{inedges:n,halfedges:r,triangles:i}}=this,o=n[t];if(-1===o)return null;const a=[];let s=o;do{const n=Math.floor(s/3);if(a.push(e[2*n],e[2*n+1]),s=s%3==2?s-2:s+1,i[s]!==t)break;s=r[s]}while(s!==o&&-1!==s);return a}_clip(t){if(0===t&&1===this.delaunay.hull.length)return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];const e=this._cell(t);if(null===e)return null;const{vectors:n}=this,r=4*t;return this._simplify(n[r]||n[r+1]?this._clipInfinite(t,e,n[r],n[r+1],n[r+2],n[r+3]):this._clipFinite(t,e))}_clipFinite(t,e){const n=e.length;let r,i,o,a,s=null,c=e[n-2],u=e[n-1],l=this._regioncode(c,u),f=0;for(let h=0;h<n;h+=2)if(r=c,i=u,c=e[h],u=e[h+1],o=l,l=this._regioncode(c,u),0===o&&0===l)a=f,f=0,s?s.push(c,u):s=[c,u];else{let e,n,h,d,p;if(0===o){if(null===(e=this._clipSegment(r,i,c,u,o,l)))continue;[n,h,d,p]=e}else{if(null===(e=this._clipSegment(c,u,r,i,l,o)))continue;[d,p,n,h]=e,a=f,f=this._edgecode(n,h),a&&f&&this._edge(t,a,f,s,s.length),s?s.push(n,h):s=[n,h]}a=f,f=this._edgecode(d,p),a&&f&&this._edge(t,a,f,s,s.length),s?s.push(d,p):s=[d,p]}if(s)a=f,f=this._edgecode(s[0],s[1]),a&&f&&this._edge(t,a,f,s,s.length);else if(this.contains(t,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2))return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];return s}_clipSegment(t,e,n,r,i,o){const a=i<o;for(a&&([t,e,n,r,i,o]=[n,r,t,e,o,i]);;){if(0===i&&0===o)return a?[n,r,t,e]:[t,e,n,r];if(i&o)return null;let s,c,u=i||o;8&u?(s=t+(n-t)*(this.ymax-e)/(r-e),c=this.ymax):4&u?(s=t+(n-t)*(this.ymin-e)/(r-e),c=this.ymin):2&u?(c=e+(r-e)*(this.xmax-t)/(n-t),s=this.xmax):(c=e+(r-e)*(this.xmin-t)/(n-t),s=this.xmin),i?(t=s,e=c,i=this._regioncode(t,e)):(n=s,r=c,o=this._regioncode(n,r))}}_clipInfinite(t,e,n,r,i,o){let a,s=Array.from(e);if((a=this._project(s[0],s[1],n,r))&&s.unshift(a[0],a[1]),(a=this._project(s[s.length-2],s[s.length-1],i,o))&&s.push(a[0],a[1]),s=this._clipFinite(t,s))for(let e,n=0,r=s.length,i=this._edgecode(s[r-2],s[r-1]);n<r;n+=2)e=i,i=this._edgecode(s[n],s[n+1]),e&&i&&(n=this._edge(t,e,i,s,n),r=s.length);else this.contains(t,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2)&&(s=[this.xmin,this.ymin,this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax]);return s}_edge(t,e,n,r,i){for(;e!==n;){let n,o;switch(e){case 5:e=4;continue;case 4:e=6,n=this.xmax,o=this.ymin;break;case 6:e=2;continue;case 2:e=10,n=this.xmax,o=this.ymax;break;case 10:e=8;continue;case 8:e=9,n=this.xmin,o=this.ymax;break;case 9:e=1;continue;case 1:e=5,n=this.xmin,o=this.ymin}r[i]===n&&r[i+1]===o||!this.contains(t,n,o)||(r.splice(i,0,n,o),i+=2)}return i}_project(t,e,n,r){let i,o,a,s=1/0;if(r<0){if(e<=this.ymin)return null;(i=(this.ymin-e)/r)<s&&(a=this.ymin,o=t+(s=i)*n)}else if(r>0){if(e>=this.ymax)return null;(i=(this.ymax-e)/r)<s&&(a=this.ymax,o=t+(s=i)*n)}if(n>0){if(t>=this.xmax)return null;(i=(this.xmax-t)/n)<s&&(o=this.xmax,a=e+(s=i)*r)}else if(n<0){if(t<=this.xmin)return null;(i=(this.xmin-t)/n)<s&&(o=this.xmin,a=e+(s=i)*r)}return[o,a]}_edgecode(t,e){return(t===this.xmin?1:t===this.xmax?2:0)|(e===this.ymin?4:e===this.ymax?8:0)}_regioncode(t,e){return(t<this.xmin?1:t>this.xmax?2:0)|(e<this.ymin?4:e>this.ymax?8:0)}_simplify(t){if(t&&t.length>4){for(let e=0;e<t.length;e+=2){const n=(e+2)%t.length,r=(e+4)%t.length;(t[e]===t[n]&&t[n]===t[r]||t[e+1]===t[n+1]&&t[n+1]===t[r+1])&&(t.splice(n,2),e-=2)}t.length||(t=null)}return t}}const Rb=2*Math.PI,Ib=Math.pow;function Db(t){return t[0]}function Ub(t){return t[1]}function jb(t,e,n){return[t+Math.sin(t+e)*n,e+Math.cos(t-e)*n]}class Lb{static from(t,e=Db,n=Ub,r){return new Lb("length"in t?function(t,e,n,r){const i=t.length,o=new Float64Array(2*i);for(let a=0;a<i;++a){const i=t[a];o[2*a]=e.call(r,i,a,t),o[2*a+1]=n.call(r,i,a,t)}return o}(t,e,n,r):Float64Array.from(function*(t,e,n,r){let i=0;for(const o of t)yield e.call(r,o,i,t),yield n.call(r,o,i,t),++i}(t,e,n,r)))}constructor(t){this._delaunator=new wb(t),this.inedges=new Int32Array(t.length/2),this._hullIndex=new Int32Array(t.length/2),this.points=this._delaunator.coords,this._init()}update(){return this._delaunator.update(),this._init(),this}_init(){const t=this._delaunator,e=this.points;if(t.hull&&t.hull.length>2&&function(t){const{triangles:e,coords:n}=t;for(let t=0;t<e.length;t+=3){const r=2*e[t],i=2*e[t+1],o=2*e[t+2];if((n[o]-n[r])*(n[i+1]-n[r+1])-(n[i]-n[r])*(n[o+1]-n[r+1])>1e-10)return!1}return!0}(t)){this.collinear=Int32Array.from({length:e.length/2},(t,e)=>e).sort((t,n)=>e[2*t]-e[2*n]||e[2*t+1]-e[2*n+1]);const t=this.collinear[0],n=this.collinear[this.collinear.length-1],r=[e[2*t],e[2*t+1],e[2*n],e[2*n+1]],i=1e-8*Math.hypot(r[3]-r[1],r[2]-r[0]);for(let t=0,n=e.length/2;t<n;++t){const n=jb(e[2*t],e[2*t+1],i);e[2*t]=n[0],e[2*t+1]=n[1]}this._delaunator=new wb(e)}else delete this.collinear;const n=this.halfedges=this._delaunator.halfedges,r=this.hull=this._delaunator.hull,i=this.triangles=this._delaunator.triangles,o=this.inedges.fill(-1),a=this._hullIndex.fill(-1);for(let t=0,e=n.length;t<e;++t){const e=i[t%3==2?t-2:t+1];-1!==n[t]&&-1!==o[e]||(o[e]=t)}for(let t=0,e=r.length;t<e;++t)a[r[t]]=t;r.length<=2&&r.length>0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=r[0],o[r[0]]=1,2===r.length&&(o[r[1]]=0,this.triangles[1]=r[1],this.triangles[2]=r[1]))}voronoi(t){return new Cb(this,t)}*neighbors(t){const{inedges:e,hull:n,_hullIndex:r,halfedges:i,triangles:o,collinear:a}=this;if(a){const e=a.indexOf(t);return e>0&&(yield a[e-1]),void(e<a.length-1&&(yield a[e+1]))}const s=e[t];if(-1===s)return;let c=s,u=-1;do{if(yield u=o[c],c=c%3==2?c-2:c+1,o[c]!==t)return;if(c=i[c],-1===c){const e=n[(r[t]+1)%n.length];return void(e!==u&&(yield e))}}while(c!==s)}find(t,e,n=0){if((t=+t)!=t||(e=+e)!=e)return-1;const r=n;let i;for(;(i=this._step(n,t,e))>=0&&i!==n&&i!==r;)n=i;return i}_step(t,e,n){const{inedges:r,hull:i,_hullIndex:o,halfedges:a,triangles:s,points:c}=this;if(-1===r[t]||!c.length)return(t+1)%(c.length>>1);let u=t,l=Ib(e-c[2*t],2)+Ib(n-c[2*t+1],2);const f=r[t];let h=f;do{let r=s[h];const f=Ib(e-c[2*r],2)+Ib(n-c[2*r+1],2);if(f<l&&(l=f,u=r),h=h%3==2?h-2:h+1,s[h]!==t)break;if(h=a[h],-1===h){if(h=i[(o[t]+1)%i.length],h!==r&&Ib(e-c[2*h],2)+Ib(n-c[2*h+1],2)<l)return h;break}}while(h!==f);return u}render(t){const e=null==t?t=new Nb:void 0,{points:n,halfedges:r,triangles:i}=this;for(let e=0,o=r.length;e<o;++e){const o=r[e];if(o<e)continue;const a=2*i[e],s=2*i[o];t.moveTo(n[a],n[a+1]),t.lineTo(n[s],n[s+1])}return this.renderHull(t),e&&e.value()}renderPoints(t,e){void 0!==e||t&&"function"==typeof t.moveTo||(e=t,t=null),e=null==e?2:+e;const n=null==t?t=new Nb:void 0,{points:r}=this;for(let n=0,i=r.length;n<i;n+=2){const i=r[n],o=r[n+1];t.moveTo(i+e,o),t.arc(i,o,e,0,Rb)}return n&&n.value()}renderHull(t){const e=null==t?t=new Nb:void 0,{hull:n,points:r}=this,i=2*n[0],o=n.length;t.moveTo(r[i],r[i+1]);for(let e=1;e<o;++e){const i=2*n[e];t.lineTo(r[i],r[i+1])}return t.closePath(),e&&e.value()}hullPolygon(){const t=new Pb;return this.renderHull(t),t.value()}renderTriangle(t,e){const n=null==e?e=new Nb:void 0,{points:r,triangles:i}=this,o=2*i[t*=3],a=2*i[t+1],s=2*i[t+2];return e.moveTo(r[o],r[o+1]),e.lineTo(r[a],r[a+1]),e.lineTo(r[s],r[s+1]),e.closePath(),n&&n.value()}*trianglePolygons(){const{triangles:t}=this;for(let e=0,n=t.length/3;e<n;++e)yield this.trianglePolygon(e)}trianglePolygon(t){const e=new Pb;return this.renderTriangle(t,e),e.value()}}const Vb=t=>()=>t;function $b(t,{sourceEvent:e,subject:n,target:r,identifier:i,active:o,x:a,y:s,dx:c,dy:u,dispatch:l}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:i,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:a,enumerable:!0,configurable:!0},y:{value:s,enumerable:!0,configurable:!0},dx:{value:c,enumerable:!0,configurable:!0},dy:{value:u,enumerable:!0,configurable:!0},_:{value:l}})}function Fb(t){return!t.ctrlKey&&!t.button}function zb(){return this.parentNode}function Bb(t,e){return e??{x:t.x,y:t.y}}function Hb(){return navigator.maxTouchPoints||"ontouchstart"in this}function qb(){var t,e,n,r,i=Fb,o=zb,a=Bb,s=Hb,c={},u=bp("start","drag","end"),l=0,f=0;function h(t){t.on("mousedown.drag",d).filter(s).on("touchstart.drag",_).on("touchmove.drag",m,Dg).on("touchend.drag touchcancel.drag",y).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function d(a,s){if(!r&&i.call(this,a,s)){var c=v(this,o.call(this,a,s),a,s,"mouse");c&&(Ig(a.view).on("mousemove.drag",p,Ug).on("mouseup.drag",g,Ug),Vg(a.view),jg(a),n=!1,t=a.clientX,e=a.clientY,c("start",a))}}function p(r){if(Lg(r),!n){var i=r.clientX-t,o=r.clientY-e;n=i*i+o*o>f}c.mouse("drag",r)}function g(t){Ig(t.view).on("mousemove.drag mouseup.drag",null),$g(t.view,n),Lg(t),c.mouse("end",t)}function _(t,e){if(i.call(this,t,e)){var n,r,a=t.changedTouches,s=o.call(this,t,e),c=a.length;for(n=0;n<c;++n)(r=v(this,s,t,e,a[n].identifier,a[n]))&&(jg(t),r("start",t,a[n]))}}function m(t){var e,n,r=t.changedTouches,i=r.length;for(e=0;e<i;++e)(n=c[r[e].identifier])&&(Lg(t),n("drag",t,r[e]))}function y(t){var e,n,i=t.changedTouches,o=i.length;for(r&&clearTimeout(r),r=setTimeout(function(){r=null},500),e=0;e<o;++e)(n=c[i[e].identifier])&&(jg(t),n("end",t,i[e]))}function v(t,e,n,r,i,o){var s,f,d,p=u.copy(),g=Y_(o||n,e);if(null!=(d=a.call(t,new $b("beforestart",{sourceEvent:n,target:h,identifier:i,active:l,x:g[0],y:g[1],dx:0,dy:0,dispatch:p}),r)))return s=d.x-g[0]||0,f=d.y-g[1]||0,function n(o,a,u){var _,m=g;switch(o){case"start":c[i]=n,_=l++;break;case"end":delete c[i],--l;case"drag":g=Y_(u||a,e),_=l}p.call(o,t,new $b(o,{sourceEvent:a,subject:d,target:h,identifier:i,active:_,x:g[0]+s,y:g[1]+f,dx:g[0]-m[0],dy:g[1]-m[1],dispatch:p}),r)}}return h.filter=function(t){return arguments.length?(i="function"==typeof t?t:Vb(!!t),h):i},h.container=function(t){return arguments.length?(o="function"==typeof t?t:Vb(t),h):o},h.subject=function(t){return arguments.length?(a="function"==typeof t?t:Vb(t),h):a},h.touchable=function(t){return arguments.length?(s="function"==typeof t?t:Vb(!!t),h):s},h.on=function(){var t=u.on.apply(u,arguments);return t===u?h:t},h.clickDistance=function(t){return arguments.length?(f=(t=+t)*t,h):Math.sqrt(f)},h}$b.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var Yb={},Gb={},Wb=34,Kb=10,Xb=13;function Jb(t){return new Function("d","return {"+t.map(function(t,e){return JSON.stringify(t)+": d["+e+'] || ""'}).join(",")+"}")}function Zb(t){var e=Object.create(null),n=[];return t.forEach(function(t){for(var r in t)r in e||n.push(e[r]=r)}),n}function Qb(t,e){var n=t+"",r=n.length;return r<e?new Array(e-r+1).join(0)+n:n}function tw(t){var e=new RegExp('["'+t+"\n\r]"),n=t.charCodeAt(0);function r(t,e){var r,i=[],o=t.length,a=0,s=0,c=o<=0,u=!1;function l(){if(c)return Gb;if(u)return u=!1,Yb;var e,r,i=a;if(t.charCodeAt(i)===Wb){for(;a++<o&&t.charCodeAt(a)!==Wb||t.charCodeAt(++a)===Wb;);return(e=a)>=o?c=!0:(r=t.charCodeAt(a++))===Kb?u=!0:r===Xb&&(u=!0,t.charCodeAt(a)===Kb&&++a),t.slice(i+1,e-1).replace(/""/g,'"')}for(;a<o;){if((r=t.charCodeAt(e=a++))===Kb)u=!0;else if(r===Xb)u=!0,t.charCodeAt(a)===Kb&&++a;else if(r!==n)continue;return t.slice(i,e)}return c=!0,t.slice(i,o)}for(t.charCodeAt(o-1)===Kb&&--o,t.charCodeAt(o-1)===Xb&&--o;(r=l())!==Gb;){for(var f=[];r!==Yb&&r!==Gb;)f.push(r),r=l();e&&null==(f=e(f,s++))||i.push(f)}return i}function i(e,n){return e.map(function(e){return n.map(function(t){return a(e[t])}).join(t)})}function o(e){return e.map(a).join(t)}function a(t){return null==t?"":t instanceof Date?function(t){var e,n=t.getUTCHours(),r=t.getUTCMinutes(),i=t.getUTCSeconds(),o=t.getUTCMilliseconds();return isNaN(t)?"Invalid Date":((e=t.getUTCFullYear())<0?"-"+Qb(-e,6):e>9999?"+"+Qb(e,6):Qb(e,4))+"-"+Qb(t.getUTCMonth()+1,2)+"-"+Qb(t.getUTCDate(),2)+(o?"T"+Qb(n,2)+":"+Qb(r,2)+":"+Qb(i,2)+"."+Qb(o,3)+"Z":i?"T"+Qb(n,2)+":"+Qb(r,2)+":"+Qb(i,2)+"Z":r||n?"T"+Qb(n,2)+":"+Qb(r,2)+"Z":"")}(t):e.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,e){var n,i,o=r(t,function(t,r){if(n)return n(t,r-1);i=t,n=e?function(t,e){var n=Jb(t);return function(r,i){return e(n(r),i,t)}}(t,e):Jb(t)});return o.columns=i||[],o},parseRows:r,format:function(e,n){return null==n&&(n=Zb(e)),[n.map(a).join(t)].concat(i(e,n)).join("\n")},formatBody:function(t,e){return null==e&&(e=Zb(t)),i(t,e).join("\n")},formatRows:function(t){return t.map(o).join("\n")},formatRow:o,formatValue:a}}var ew=tw(","),nw=ew.parse,rw=ew.parseRows,iw=ew.format,ow=ew.formatBody,aw=ew.formatRows,sw=ew.formatRow,cw=ew.formatValue,uw=tw("\t"),lw=uw.parse,fw=uw.parseRows,hw=uw.format,dw=uw.formatBody,pw=uw.formatRows,gw=uw.formatRow,_w=uw.formatValue;function mw(t){for(var e in t){var n,r,i=t[e].trim();if(i)if("true"===i)i=!0;else if("false"===i)i=!1;else if("NaN"===i)i=NaN;else if(isNaN(n=+i)){if(!(r=i.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;yw&&r[4]&&!r[7]&&(i=i.replace(/-/g,"/").replace(/T/," ")),i=new Date(i)}else i=n;else i=null;t[e]=i}return t}const yw=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours(),vw=t=>+t;function bw(t){return t*t}function ww(t){return t*(2-t)}function xw(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}var Ew=function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n}(3),Tw=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(3),Sw=function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(3),Ow=Math.PI,Aw=Ow/2;function Mw(t){return 1===+t?1:1-Math.cos(t*Aw)}function kw(t){return Math.sin(t*Aw)}function Nw(t){return(1-Math.cos(Ow*t))/2}function Pw(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function Cw(t){return Pw(1-+t)}function Rw(t){return 1-Pw(t)}function Iw(t){return((t*=2)<=1?Pw(1-t):2-Pw(t-1))/2}function Dw(t){return 1-Math.sqrt(1-t*t)}function Uw(t){return Math.sqrt(1- --t*t)}function jw(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var Lw=4/11,Vw=6/11,$w=8/11,Fw=3/4,zw=9/11,Bw=10/11,Hw=15/16,qw=21/22,Yw=63/64,Gw=1/Lw/Lw;function Ww(t){return 1-Kw(1-t)}function Kw(t){return(t=+t)<Lw?Gw*t*t:t<$w?Gw*(t-=Vw)*t+Fw:t<Bw?Gw*(t-=zw)*t+Hw:Gw*(t-=qw)*t+Yw}function Xw(t){return((t*=2)<=1?1-Kw(1-t):Kw(t-1)+1)/2}var Jw=1.70158,Zw=function t(e){function n(t){return(t=+t)*t*(e*(t-1)+t)}return e=+e,n.overshoot=t,n}(Jw),Qw=function t(e){function n(t){return--t*t*((t+1)*e+t)+1}return e=+e,n.overshoot=t,n}(Jw),tx=function t(e){function n(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,n.overshoot=t,n}(Jw),ex=2*Math.PI,nx=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=ex);function i(t){return e*Pw(- --t)*Math.sin((r-t)/n)}return i.amplitude=function(e){return t(e,n*ex)},i.period=function(n){return t(e,n)},i}(1,.3),rx=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=ex);function i(t){return 1-e*Pw(t=+t)*Math.sin((t+r)/n)}return i.amplitude=function(e){return t(e,n*ex)},i.period=function(n){return t(e,n)},i}(1,.3),ix=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=ex);function i(t){return((t=2*t-1)<0?e*Pw(-t)*Math.sin((r-t)/n):2-e*Pw(t)*Math.sin((r+t)/n))/2}return i.amplitude=function(e){return t(e,n*ex)},i.period=function(n){return t(e,n)},i}(1,.3);function ox(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.blob()}function ax(t,e){return fetch(t,e).then(ox)}function sx(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.arrayBuffer()}function cx(t,e){return fetch(t,e).then(sx)}function ux(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}function lx(t,e){return fetch(t,e).then(ux)}function fx(t){return function(e,n,r){return 2===arguments.length&&"function"==typeof n&&(r=n,n=void 0),lx(e,n).then(function(e){return t(e,r)})}}function hx(t,e,n,r){3===arguments.length&&"function"==typeof n&&(r=n,n=void 0);var i=tw(t);return lx(e,n).then(function(t){return i.parse(t,r)})}var dx=fx(nw),px=fx(lw);function gx(t,e){return new Promise(function(n,r){var i=new Image;for(var o in e)i[o]=e[o];i.onerror=r,i.onload=function(){n(i)},i.src=t})}function _x(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);if(204!==t.status&&205!==t.status)return t.json()}function mx(t,e){return fetch(t,e).then(_x)}function yx(t){return(e,n)=>lx(e,n).then(e=>(new DOMParser).parseFromString(e,t))}const vx=yx("application/xml");var bx=yx("text/html"),wx=yx("image/svg+xml");function xx(t,e){var n,r=1;function i(){var i,o,a=n.length,s=0,c=0;for(i=0;i<a;++i)s+=(o=n[i]).x,c+=o.y;for(s=(s/a-t)*r,c=(c/a-e)*r,i=0;i<a;++i)(o=n[i]).x-=s,o.y-=c}return null==t&&(t=0),null==e&&(e=0),i.initialize=function(t){n=t},i.x=function(e){return arguments.length?(t=+e,i):t},i.y=function(t){return arguments.length?(e=+t,i):e},i.strength=function(t){return arguments.length?(r=+t,i):r},i}function Ex(t,e,n,r){if(isNaN(e)||isNaN(n))return t;var i,o,a,s,c,u,l,f,h,d=t._root,p={data:r},g=t._x0,_=t._y0,m=t._x1,y=t._y1;if(!d)return t._root=p,t;for(;d.length;)if((u=e>=(o=(g+m)/2))?g=o:m=o,(l=n>=(a=(_+y)/2))?_=a:y=a,i=d,!(d=d[f=l<<1|u]))return i[f]=p,t;if(s=+t._x.call(null,d.data),c=+t._y.call(null,d.data),e===s&&n===c)return p.next=d,i?i[f]=p:t._root=p,t;do{i=i?i[f]=new Array(4):t._root=new Array(4),(u=e>=(o=(g+m)/2))?g=o:m=o,(l=n>=(a=(_+y)/2))?_=a:y=a}while((f=l<<1|u)==(h=(c>=a)<<1|s>=o));return i[h]=d,i[f]=p,t}function Tx(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i}function Sx(t){return t[0]}function Ox(t){return t[1]}function Ax(t,e,n){var r=new Mx(e??Sx,n??Ox,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function Mx(t,e,n,r,i,o){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function kx(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}var Nx=Ax.prototype=Mx.prototype;function Px(t){return function(){return t}}function Cx(t){return 1e-6*(t()-.5)}function Rx(t){return t.x+t.vx}function Ix(t){return t.y+t.vy}function Dx(t){var e,n,r,i=1,o=1;function a(){for(var t,a,c,u,l,f,h,d=e.length,p=0;p<o;++p)for(a=Ax(e,Rx,Ix).visitAfter(s),t=0;t<d;++t)c=e[t],f=n[c.index],h=f*f,u=c.x+c.vx,l=c.y+c.vy,a.visit(g);function g(t,e,n,o,a){var s=t.data,d=t.r,p=f+d;if(!s)return e>u+p||o<u-p||n>l+p||a<l-p;if(s.index>c.index){var g=u-s.x-s.vx,_=l-s.y-s.vy,m=g*g+_*_;m<p*p&&(0===g&&(m+=(g=Cx(r))*g),0===_&&(m+=(_=Cx(r))*_),m=(p-(m=Math.sqrt(m)))/m*i,c.vx+=(g*=m)*(p=(d*=d)/(h+d)),c.vy+=(_*=m)*p,s.vx-=g*(p=1-p),s.vy-=_*p)}}}function s(t){if(t.data)return t.r=n[t.data.index];for(var e=t.r=0;e<4;++e)t[e]&&t[e].r>t.r&&(t.r=t[e].r)}function c(){if(e){var r,i,o=e.length;for(n=new Array(o),r=0;r<o;++r)i=e[r],n[i.index]=+t(i,r,e)}}return"function"!=typeof t&&(t=Px(null==t?1:+t)),a.initialize=function(t,n){e=t,r=n,c()},a.iterations=function(t){return arguments.length?(o=+t,a):o},a.strength=function(t){return arguments.length?(i=+t,a):i},a.radius=function(e){return arguments.length?(t="function"==typeof e?e:Px(+e),c(),a):t},a}function Ux(t){return t.index}function jx(t,e){var n=t.get(e);if(!n)throw new Error("node not found: "+e);return n}function Lx(t){var e,n,r,i,o,a,s=Ux,c=function(t){return 1/Math.min(i[t.source.index],i[t.target.index])},u=Px(30),l=1;function f(r){for(var i=0,s=t.length;i<l;++i)for(var c,u,f,h,d,p,g,_=0;_<s;++_)u=(c=t[_]).source,h=(f=c.target).x+f.vx-u.x-u.vx||Cx(a),d=f.y+f.vy-u.y-u.vy||Cx(a),h*=p=((p=Math.sqrt(h*h+d*d))-n[_])/p*r*e[_],d*=p,f.vx-=h*(g=o[_]),f.vy-=d*g,u.vx+=h*(g=1-g),u.vy+=d*g}function h(){if(r){var a,c,u=r.length,l=t.length,f=new Map(r.map((t,e)=>[s(t,e,r),t]));for(a=0,i=new Array(u);a<l;++a)(c=t[a]).index=a,"object"!=typeof c.source&&(c.source=jx(f,c.source)),"object"!=typeof c.target&&(c.target=jx(f,c.target)),i[c.source.index]=(i[c.source.index]||0)+1,i[c.target.index]=(i[c.target.index]||0)+1;for(a=0,o=new Array(l);a<l;++a)c=t[a],o[a]=i[c.source.index]/(i[c.source.index]+i[c.target.index]);e=new Array(l),d(),n=new Array(l),p()}}function d(){if(r)for(var n=0,i=t.length;n<i;++n)e[n]=+c(t[n],n,t)}function p(){if(r)for(var e=0,i=t.length;e<i;++e)n[e]=+u(t[e],e,t)}return null==t&&(t=[]),f.initialize=function(t,e){r=t,a=e,h()},f.links=function(e){return arguments.length?(t=e,h(),f):t},f.id=function(t){return arguments.length?(s=t,f):s},f.iterations=function(t){return arguments.length?(l=+t,f):l},f.strength=function(t){return arguments.length?(c="function"==typeof t?t:Px(+t),d(),f):c},f.distance=function(t){return arguments.length?(u="function"==typeof t?t:Px(+t),p(),f):u},f}Nx.copy=function(){var t,e,n=new Mx(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=kx(r),n;for(t=[{source:r,target:n._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(e=r.source[i])&&(e.length?t.push({source:e,target:r.target[i]=new Array(4)}):r.target[i]=kx(e));return n},Nx.add=function(t){const e=+this._x.call(null,t),n=+this._y.call(null,t);return Ex(this.cover(e,n),e,n,t)},Nx.addAll=function(t){var e,n,r,i,o=t.length,a=new Array(o),s=new Array(o),c=1/0,u=1/0,l=-1/0,f=-1/0;for(n=0;n<o;++n)isNaN(r=+this._x.call(null,e=t[n]))||isNaN(i=+this._y.call(null,e))||(a[n]=r,s[n]=i,r<c&&(c=r),r>l&&(l=r),i<u&&(u=i),i>f&&(f=i));if(c>l||u>f)return this;for(this.cover(c,u).cover(l,f),n=0;n<o;++n)Ex(this,a[n],s[n],t[n]);return this},Nx.cover=function(t,e){if(isNaN(t=+t)||isNaN(e=+e))return this;var n=this._x0,r=this._y0,i=this._x1,o=this._y1;if(isNaN(n))i=(n=Math.floor(t))+1,o=(r=Math.floor(e))+1;else{for(var a,s,c=i-n||1,u=this._root;n>t||t>=i||r>e||e>=o;)switch(s=(e<r)<<1|t<n,(a=new Array(4))[s]=u,u=a,c*=2,s){case 0:i=n+c,o=r+c;break;case 1:n=i-c,o=r+c;break;case 2:i=n+c,r=o-c;break;case 3:n=i-c,r=o-c}this._root&&this._root.length&&(this._root=u)}return this._x0=n,this._y0=r,this._x1=i,this._y1=o,this},Nx.data=function(){var t=[];return this.visit(function(e){if(!e.length)do{t.push(e.data)}while(e=e.next)}),t},Nx.extent=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},Nx.find=function(t,e,n){var r,i,o,a,s,c,u,l=this._x0,f=this._y0,h=this._x1,d=this._y1,p=[],g=this._root;for(g&&p.push(new Tx(g,l,f,h,d)),null==n?n=1/0:(l=t-n,f=e-n,h=t+n,d=e+n,n*=n);c=p.pop();)if(!(!(g=c.node)||(i=c.x0)>h||(o=c.y0)>d||(a=c.x1)<l||(s=c.y1)<f))if(g.length){var _=(i+a)/2,m=(o+s)/2;p.push(new Tx(g[3],_,m,a,s),new Tx(g[2],i,m,_,s),new Tx(g[1],_,o,a,m),new Tx(g[0],i,o,_,m)),(u=(e>=m)<<1|t>=_)&&(c=p[p.length-1],p[p.length-1]=p[p.length-1-u],p[p.length-1-u]=c)}else{var y=t-+this._x.call(null,g.data),v=e-+this._y.call(null,g.data),b=y*y+v*v;if(b<n){var w=Math.sqrt(n=b);l=t-w,f=e-w,h=t+w,d=e+w,r=g.data}}return r},Nx.remove=function(t){if(isNaN(o=+this._x.call(null,t))||isNaN(a=+this._y.call(null,t)))return this;var e,n,r,i,o,a,s,c,u,l,f,h,d=this._root,p=this._x0,g=this._y0,_=this._x1,m=this._y1;if(!d)return this;if(d.length)for(;;){if((u=o>=(s=(p+_)/2))?p=s:_=s,(l=a>=(c=(g+m)/2))?g=c:m=c,e=d,!(d=d[f=l<<1|u]))return this;if(!d.length)break;(e[f+1&3]||e[f+2&3]||e[f+3&3])&&(n=e,h=f)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):e?(i?e[f]=i:delete e[f],(d=e[0]||e[1]||e[2]||e[3])&&d===(e[3]||e[2]||e[1]||e[0])&&!d.length&&(n?n[h]=d:this._root=d),this):(this._root=i,this)},Nx.removeAll=function(t){for(var e=0,n=t.length;e<n;++e)this.remove(t[e]);return this},Nx.root=function(){return this._root},Nx.size=function(){var t=0;return this.visit(function(e){if(!e.length)do{++t}while(e=e.next)}),t},Nx.visit=function(t){var e,n,r,i,o,a,s=[],c=this._root;for(c&&s.push(new Tx(c,this._x0,this._y0,this._x1,this._y1));e=s.pop();)if(!t(c=e.node,r=e.x0,i=e.y0,o=e.x1,a=e.y1)&&c.length){var u=(r+o)/2,l=(i+a)/2;(n=c[3])&&s.push(new Tx(n,u,l,o,a)),(n=c[2])&&s.push(new Tx(n,r,l,u,a)),(n=c[1])&&s.push(new Tx(n,u,i,o,l)),(n=c[0])&&s.push(new Tx(n,r,i,u,l))}return this},Nx.visitAfter=function(t){var e,n=[],r=[];for(this._root&&n.push(new Tx(this._root,this._x0,this._y0,this._x1,this._y1));e=n.pop();){var i=e.node;if(i.length){var o,a=e.x0,s=e.y0,c=e.x1,u=e.y1,l=(a+c)/2,f=(s+u)/2;(o=i[0])&&n.push(new Tx(o,a,s,l,f)),(o=i[1])&&n.push(new Tx(o,l,s,c,f)),(o=i[2])&&n.push(new Tx(o,a,f,l,u)),(o=i[3])&&n.push(new Tx(o,l,f,c,u))}r.push(e)}for(;e=r.pop();)t(e.node,e.x0,e.y0,e.x1,e.y1);return this},Nx.x=function(t){return arguments.length?(this._x=t,this):this._x},Nx.y=function(t){return arguments.length?(this._y=t,this):this._y};const Vx=1664525,$x=1013904223,Fx=4294967296;function zx(t){return t.x}function Bx(t){return t.y}var Hx=10,qx=Math.PI*(3-Math.sqrt(5));function Yx(t){var e,n=1,r=.001,i=1-Math.pow(r,1/300),o=0,a=.6,s=new Map,c=am(f),u=bp("tick","end"),l=function(){let t=1;return()=>(t=(Vx*t+$x)%Fx)/Fx}();function f(){h(),u.call("tick",e),n<r&&(c.stop(),u.call("end",e))}function h(r){var c,u,l=t.length;void 0===r&&(r=1);for(var f=0;f<r;++f)for(n+=(o-n)*i,s.forEach(function(t){t(n)}),c=0;c<l;++c)null==(u=t[c]).fx?u.x+=u.vx*=a:(u.x=u.fx,u.vx=0),null==u.fy?u.y+=u.vy*=a:(u.y=u.fy,u.vy=0);return e}function d(){for(var e,n=0,r=t.length;n<r;++n){if((e=t[n]).index=n,null!=e.fx&&(e.x=e.fx),null!=e.fy&&(e.y=e.fy),isNaN(e.x)||isNaN(e.y)){var i=Hx*Math.sqrt(.5+n),o=n*qx;e.x=i*Math.cos(o),e.y=i*Math.sin(o)}(isNaN(e.vx)||isNaN(e.vy))&&(e.vx=e.vy=0)}}function p(e){return e.initialize&&e.initialize(t,l),e}return null==t&&(t=[]),d(),e={tick:h,restart:function(){return c.restart(f),e},stop:function(){return c.stop(),e},nodes:function(n){return arguments.length?(t=n,d(),s.forEach(p),e):t},alpha:function(t){return arguments.length?(n=+t,e):n},alphaMin:function(t){return arguments.length?(r=+t,e):r},alphaDecay:function(t){return arguments.length?(i=+t,e):+i},alphaTarget:function(t){return arguments.length?(o=+t,e):o},velocityDecay:function(t){return arguments.length?(a=1-t,e):1-a},randomSource:function(t){return arguments.length?(l=t,s.forEach(p),e):l},force:function(t,n){return arguments.length>1?(null==n?s.delete(t):s.set(t,p(n)),e):s.get(t)},find:function(e,n,r){var i,o,a,s,c,u=0,l=t.length;for(null==r?r=1/0:r*=r,u=0;u<l;++u)(a=(i=e-(s=t[u]).x)*i+(o=n-s.y)*o)<r&&(c=s,r=a);return c},on:function(t,n){return arguments.length>1?(u.on(t,n),e):u.on(t)}}}function Gx(){var t,e,n,r,i,o=Px(-30),a=1,s=1/0,c=.81;function u(n){var i,o=t.length,a=Ax(t,zx,Bx).visitAfter(f);for(r=n,i=0;i<o;++i)e=t[i],a.visit(h)}function l(){if(t){var e,n,r=t.length;for(i=new Array(r),e=0;e<r;++e)n=t[e],i[n.index]=+o(n,e,t)}}function f(t){var e,n,r,o,a,s=0,c=0;if(t.length){for(r=o=a=0;a<4;++a)(e=t[a])&&(n=Math.abs(e.value))&&(s+=e.value,c+=n,r+=n*e.x,o+=n*e.y);t.x=r/c,t.y=o/c}else{(e=t).x=e.data.x,e.y=e.data.y;do{s+=i[e.data.index]}while(e=e.next)}t.value=s}function h(t,o,u,l){if(!t.value)return!0;var f=t.x-e.x,h=t.y-e.y,d=l-o,p=f*f+h*h;if(d*d/c<p)return p<s&&(0===f&&(p+=(f=Cx(n))*f),0===h&&(p+=(h=Cx(n))*h),p<a&&(p=Math.sqrt(a*p)),e.vx+=f*t.value*r/p,e.vy+=h*t.value*r/p),!0;if(!(t.length||p>=s)){(t.data!==e||t.next)&&(0===f&&(p+=(f=Cx(n))*f),0===h&&(p+=(h=Cx(n))*h),p<a&&(p=Math.sqrt(a*p)));do{t.data!==e&&(d=i[t.data.index]*r/p,e.vx+=f*d,e.vy+=h*d)}while(t=t.next)}}return u.initialize=function(e,r){t=e,n=r,l()},u.strength=function(t){return arguments.length?(o="function"==typeof t?t:Px(+t),l(),u):o},u.distanceMin=function(t){return arguments.length?(a=t*t,u):Math.sqrt(a)},u.distanceMax=function(t){return arguments.length?(s=t*t,u):Math.sqrt(s)},u.theta=function(t){return arguments.length?(c=t*t,u):Math.sqrt(c)},u}function Wx(t,e,n){var r,i,o,a=Px(.1);function s(t){for(var a=0,s=r.length;a<s;++a){var c=r[a],u=c.x-e||1e-6,l=c.y-n||1e-6,f=Math.sqrt(u*u+l*l),h=(o[a]-f)*i[a]*t/f;c.vx+=u*h,c.vy+=l*h}}function c(){if(r){var e,n=r.length;for(i=new Array(n),o=new Array(n),e=0;e<n;++e)o[e]=+t(r[e],e,r),i[e]=isNaN(o[e])?0:+a(r[e],e,r)}}return"function"!=typeof t&&(t=Px(+t)),null==e&&(e=0),null==n&&(n=0),s.initialize=function(t){r=t,c()},s.strength=function(t){return arguments.length?(a="function"==typeof t?t:Px(+t),c(),s):a},s.radius=function(e){return arguments.length?(t="function"==typeof e?e:Px(+e),c(),s):t},s.x=function(t){return arguments.length?(e=+t,s):e},s.y=function(t){return arguments.length?(n=+t,s):n},s}function Kx(t){var e,n,r,i=Px(.1);function o(t){for(var i,o=0,a=e.length;o<a;++o)(i=e[o]).vx+=(r[o]-i.x)*n[o]*t}function a(){if(e){var o,a=e.length;for(n=new Array(a),r=new Array(a),o=0;o<a;++o)n[o]=isNaN(r[o]=+t(e[o],o,e))?0:+i(e[o],o,e)}}return"function"!=typeof t&&(t=Px(null==t?0:+t)),o.initialize=function(t){e=t,a()},o.strength=function(t){return arguments.length?(i="function"==typeof t?t:Px(+t),a(),o):i},o.x=function(e){return arguments.length?(t="function"==typeof e?e:Px(+e),a(),o):t},o}function Xx(t){var e,n,r,i=Px(.1);function o(t){for(var i,o=0,a=e.length;o<a;++o)(i=e[o]).vy+=(r[o]-i.y)*n[o]*t}function a(){if(e){var o,a=e.length;for(n=new Array(a),r=new Array(a),o=0;o<a;++o)n[o]=isNaN(r[o]=+t(e[o],o,e))?0:+i(e[o],o,e)}}return"function"!=typeof t&&(t=Px(null==t?0:+t)),o.initialize=function(t){e=t,a()},o.strength=function(t){return arguments.length?(i="function"==typeof t?t:Px(+t),a(),o):i},o.y=function(e){return arguments.length?(t="function"==typeof e?e:Px(+e),a(),o):t},o}function Jx(t,e){if(!isFinite(t)||0===t)return null;var n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"),r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function Zx(t){return(t=Jx(Math.abs(t)))?t[1]:NaN}var Qx,tE=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function eE(t){if(!(e=tE.exec(t)))throw new Error("invalid format: "+t);var e;return new nE({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function nE(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function rE(t,e){var n=Jx(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}eE.prototype=nE.prototype,nE.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const iE={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>rE(100*t,e),r:rE,s:function(t,e){var n=Jx(t,e);if(!n)return Qx=void 0,t.toPrecision(e);var r=n[0],i=n[1],o=i-(Qx=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Jx(t,Math.max(0,e+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function oE(t){return t}var aE,sE,cE,uE=Array.prototype.map,lE=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function fE(t){var e,n,r=void 0===t.grouping||void 0===t.thousands?oE:(e=uE.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),o.push(t.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[a=(a+1)%e.length];return o.reverse().join(n)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?oE:function(t){return function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}}(uE.call(t.numerals,String)),c=void 0===t.percent?"%":t.percent+"",u=void 0===t.minus?"−":t.minus+"",l=void 0===t.nan?"NaN":t.nan+"";function f(t,e){var n=(t=eE(t)).fill,f=t.align,h=t.sign,d=t.symbol,p=t.zero,g=t.width,_=t.comma,m=t.precision,y=t.trim,v=t.type;"n"===v?(_=!0,v="g"):iE[v]||(void 0===m&&(m=12),y=!0,v="g"),(p||"0"===n&&"="===f)&&(p=!0,n="0",f="=");var b=(e&&void 0!==e.prefix?e.prefix:"")+("$"===d?i:"#"===d&&/[boxX]/.test(v)?"0"+v.toLowerCase():""),w=("$"===d?o:/[%p]/.test(v)?c:"")+(e&&void 0!==e.suffix?e.suffix:""),x=iE[v],E=/[defgprs%]/.test(v);function T(t){var e,i,o,c=b,d=w;if("c"===v)d=x(t)+d,t="";else{var T=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:x(Math.abs(t),m),y&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),T&&0===+t&&"+"!==h&&(T=!1),c=(T?"("===h?h:u:"-"===h||"("===h?"":h)+c,d=("s"!==v||isNaN(t)||void 0===Qx?"":lE[8+Qx/3])+d+(T&&"("===h?")":""),E)for(e=-1,i=t.length;++e<i;)if(48>(o=t.charCodeAt(e))||o>57){d=(46===o?a+t.slice(e+1):t.slice(e))+d,t=t.slice(0,e);break}}_&&!p&&(t=r(t,1/0));var S=c.length+t.length+d.length,O=S<g?new Array(g-S+1).join(n):"";switch(_&&p&&(t=r(O+t,O.length?g-d.length:1/0),O=""),f){case"<":t=c+t+d+O;break;case"=":t=c+O+t+d;break;case"^":t=O.slice(0,S=O.length>>1)+c+t+d+O.slice(S);break;default:t=O+c+t+d}return s(t)}return m=void 0===m?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),T.toString=function(){return t+""},T}return{format:f,formatPrefix:function(t,e){var n=3*Math.max(-8,Math.min(8,Math.floor(Zx(e)/3))),r=Math.pow(10,-n),i=f(((t=eE(t)).type="f",t),{suffix:lE[8+n/3]});return function(t){return i(r*t)}}}}function hE(t){return aE=fE(t),sE=aE.format,cE=aE.formatPrefix,aE}function dE(t){return Math.max(0,-Zx(Math.abs(t)))}function pE(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Zx(e)/3)))-Zx(Math.abs(t)))}function gE(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Zx(e)-Zx(t))+1}hE({thousands:",",grouping:[3],currency:["$",""]});var _E=1e-6,mE=1e-12,yE=Math.PI,vE=yE/2,bE=yE/4,wE=2*yE,xE=180/yE,EE=yE/180,TE=Math.abs,SE=Math.atan,OE=Math.atan2,AE=Math.cos,ME=Math.ceil,kE=Math.exp,NE=(Math.floor,Math.hypot),PE=Math.log,CE=Math.pow,RE=Math.sin,IE=Math.sign||function(t){return t>0?1:t<0?-1:0},DE=Math.sqrt,UE=Math.tan;function jE(t){return t>1?0:t<-1?yE:Math.acos(t)}function LE(t){return t>1?vE:t<-1?-vE:Math.asin(t)}function VE(t){return(t=RE(t/2))*t}function $E(){}function FE(t,e){t&&BE.hasOwnProperty(t.type)&&BE[t.type](t,e)}var zE={Feature:function(t,e){FE(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)FE(n[r].geometry,e)}},BE={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)t=n[r],e.point(t[0],t[1],t[2])},LineString:function(t,e){HE(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)HE(n[r],e,0)},Polygon:function(t,e){qE(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)qE(n[r],e)},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)FE(n[r],e)}};function HE(t,e,n){var r,i=-1,o=t.length-n;for(e.lineStart();++i<o;)r=t[i],e.point(r[0],r[1],r[2]);e.lineEnd()}function qE(t,e){var n=-1,r=t.length;for(e.polygonStart();++n<r;)HE(t[n],e,1);e.polygonEnd()}function YE(t,e){t&&zE.hasOwnProperty(t.type)?zE[t.type](t,e):FE(t,e)}var GE,WE,KE,XE,JE,ZE,QE,tT,eT,nT,rT,iT,oT,aT,sT,cT,uT=new Eh,lT=new Eh,fT={point:$E,lineStart:$E,lineEnd:$E,polygonStart:function(){uT=new Eh,fT.lineStart=hT,fT.lineEnd=dT},polygonEnd:function(){var t=+uT;lT.add(t<0?wE+t:t),this.lineStart=this.lineEnd=this.point=$E},sphere:function(){lT.add(wE)}};function hT(){fT.point=pT}function dT(){gT(GE,WE)}function pT(t,e){fT.point=gT,GE=t,WE=e,KE=t*=EE,XE=AE(e=(e*=EE)/2+bE),JE=RE(e)}function gT(t,e){var n=(t*=EE)-KE,r=n>=0?1:-1,i=r*n,o=AE(e=(e*=EE)/2+bE),a=RE(e),s=JE*a,c=XE*o+s*AE(i),u=s*r*RE(i);uT.add(OE(u,c)),KE=t,XE=o,JE=a}function _T(t){return lT=new Eh,YE(t,fT),2*lT}function mT(t){return[OE(t[1],t[0]),LE(t[2])]}function yT(t){var e=t[0],n=t[1],r=AE(n);return[r*AE(e),r*RE(e),RE(n)]}function vT(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function bT(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function wT(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function xT(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function ET(t){var e=DE(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}var TT,ST,OT,AT,MT,kT,NT,PT,CT,RT,IT,DT,UT,jT,LT,VT,$T={point:FT,lineStart:BT,lineEnd:HT,polygonStart:function(){$T.point=qT,$T.lineStart=YT,$T.lineEnd=GT,aT=new Eh,fT.polygonStart()},polygonEnd:function(){fT.polygonEnd(),$T.point=FT,$T.lineStart=BT,$T.lineEnd=HT,uT<0?(ZE=-(tT=180),QE=-(eT=90)):aT>_E?eT=90:aT<-_E&&(QE=-90),cT[0]=ZE,cT[1]=tT},sphere:function(){ZE=-(tT=180),QE=-(eT=90)}};function FT(t,e){sT.push(cT=[ZE=t,tT=t]),e<QE&&(QE=e),e>eT&&(eT=e)}function zT(t,e){var n=yT([t*EE,e*EE]);if(oT){var r=bT(oT,n),i=bT([r[1],-r[0],0],r);ET(i),i=mT(i);var o,a=t-nT,s=a>0?1:-1,c=i[0]*xE*s,u=TE(a)>180;u^(s*nT<c&&c<s*t)?(o=i[1]*xE)>eT&&(eT=o):u^(s*nT<(c=(c+360)%360-180)&&c<s*t)?(o=-i[1]*xE)<QE&&(QE=o):(e<QE&&(QE=e),e>eT&&(eT=e)),u?t<nT?WT(ZE,t)>WT(ZE,tT)&&(tT=t):WT(t,tT)>WT(ZE,tT)&&(ZE=t):tT>=ZE?(t<ZE&&(ZE=t),t>tT&&(tT=t)):t>nT?WT(ZE,t)>WT(ZE,tT)&&(tT=t):WT(t,tT)>WT(ZE,tT)&&(ZE=t)}else sT.push(cT=[ZE=t,tT=t]);e<QE&&(QE=e),e>eT&&(eT=e),oT=n,nT=t}function BT(){$T.point=zT}function HT(){cT[0]=ZE,cT[1]=tT,$T.point=FT,oT=null}function qT(t,e){if(oT){var n=t-nT;aT.add(TE(n)>180?n+(n>0?360:-360):n)}else rT=t,iT=e;fT.point(t,e),zT(t,e)}function YT(){fT.lineStart()}function GT(){qT(rT,iT),fT.lineEnd(),TE(aT)>_E&&(ZE=-(tT=180)),cT[0]=ZE,cT[1]=tT,oT=null}function WT(t,e){return(e-=t)<0?e+360:e}function KT(t,e){return t[0]-e[0]}function XT(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e<t[0]||t[1]<e}function JT(t){var e,n,r,i,o,a,s;if(eT=tT=-(ZE=QE=1/0),sT=[],YE(t,$T),n=sT.length){for(sT.sort(KT),e=1,o=[r=sT[0]];e<n;++e)XT(r,(i=sT[e])[0])||XT(r,i[1])?(WT(r[0],i[1])>WT(r[0],r[1])&&(r[1]=i[1]),WT(i[0],r[1])>WT(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-1/0,e=0,r=o[n=o.length-1];e<=n;r=i,++e)i=o[e],(s=WT(r[1],i[0]))>a&&(a=s,ZE=i[0],tT=r[1])}return sT=cT=null,ZE===1/0||QE===1/0?[[NaN,NaN],[NaN,NaN]]:[[ZE,QE],[tT,eT]]}var ZT={sphere:$E,point:QT,lineStart:eS,lineEnd:iS,polygonStart:function(){ZT.lineStart=oS,ZT.lineEnd=aS},polygonEnd:function(){ZT.lineStart=eS,ZT.lineEnd=iS}};function QT(t,e){t*=EE;var n=AE(e*=EE);tS(n*AE(t),n*RE(t),RE(e))}function tS(t,e,n){++TT,OT+=(t-OT)/TT,AT+=(e-AT)/TT,MT+=(n-MT)/TT}function eS(){ZT.point=nS}function nS(t,e){t*=EE;var n=AE(e*=EE);jT=n*AE(t),LT=n*RE(t),VT=RE(e),ZT.point=rS,tS(jT,LT,VT)}function rS(t,e){t*=EE;var n=AE(e*=EE),r=n*AE(t),i=n*RE(t),o=RE(e),a=OE(DE((a=LT*o-VT*i)*a+(a=VT*r-jT*o)*a+(a=jT*i-LT*r)*a),jT*r+LT*i+VT*o);ST+=a,kT+=a*(jT+(jT=r)),NT+=a*(LT+(LT=i)),PT+=a*(VT+(VT=o)),tS(jT,LT,VT)}function iS(){ZT.point=QT}function oS(){ZT.point=sS}function aS(){cS(DT,UT),ZT.point=QT}function sS(t,e){DT=t,UT=e,t*=EE,e*=EE,ZT.point=cS;var n=AE(e);jT=n*AE(t),LT=n*RE(t),VT=RE(e),tS(jT,LT,VT)}function cS(t,e){t*=EE;var n=AE(e*=EE),r=n*AE(t),i=n*RE(t),o=RE(e),a=LT*o-VT*i,s=VT*r-jT*o,c=jT*i-LT*r,u=NE(a,s,c),l=LE(u),f=u&&-l/u;CT.add(f*a),RT.add(f*s),IT.add(f*c),ST+=l,kT+=l*(jT+(jT=r)),NT+=l*(LT+(LT=i)),PT+=l*(VT+(VT=o)),tS(jT,LT,VT)}function uS(t){TT=ST=OT=AT=MT=kT=NT=PT=0,CT=new Eh,RT=new Eh,IT=new Eh,YE(t,ZT);var e=+CT,n=+RT,r=+IT,i=NE(e,n,r);return i<mE&&(e=kT,n=NT,r=PT,ST<_E&&(e=OT,n=AT,r=MT),(i=NE(e,n,r))<mE)?[NaN,NaN]:[OE(n,e)*xE,LE(r/i)*xE]}function lS(t){return function(){return t}}function fS(t,e){function n(n,r){return n=t(n,r),e(n[0],n[1])}return t.invert&&e.invert&&(n.invert=function(n,r){return(n=e.invert(n,r))&&t.invert(n[0],n[1])}),n}function hS(t,e){return TE(t)>yE&&(t-=Math.round(t/wE)*wE),[t,e]}function dS(t,e,n){return(t%=wE)?e||n?fS(gS(t),_S(e,n)):gS(t):e||n?_S(e,n):hS}function pS(t){return function(e,n){return TE(e+=t)>yE&&(e-=Math.round(e/wE)*wE),[e,n]}}function gS(t){var e=pS(t);return e.invert=pS(-t),e}function _S(t,e){var n=AE(t),r=RE(t),i=AE(e),o=RE(e);function a(t,e){var a=AE(e),s=AE(t)*a,c=RE(t)*a,u=RE(e),l=u*n+s*r;return[OE(c*i-l*o,s*n-u*r),LE(l*i+c*o)]}return a.invert=function(t,e){var a=AE(e),s=AE(t)*a,c=RE(t)*a,u=RE(e),l=u*i-c*o;return[OE(c*i+u*o,s*n+l*r),LE(l*n-s*r)]},a}function mS(t){function e(e){return(e=t(e[0]*EE,e[1]*EE))[0]*=xE,e[1]*=xE,e}return t=dS(t[0]*EE,t[1]*EE,t.length>2?t[2]*EE:0),e.invert=function(e){return(e=t.invert(e[0]*EE,e[1]*EE))[0]*=xE,e[1]*=xE,e},e}function yS(t,e,n,r,i,o){if(n){var a=AE(e),s=RE(e),c=r*n;null==i?(i=e+r*wE,o=e-c/2):(i=vS(a,i),o=vS(a,o),(r>0?i<o:i>o)&&(i+=r*wE));for(var u,l=i;r>0?l>o:l<o;l-=c)u=mT([a,-s*AE(l),-s*RE(l)]),t.point(u[0],u[1])}}function vS(t,e){(e=yT(e))[0]-=t,ET(e);var n=jE(-e[1]);return((-e[2]<0?-n:n)+wE-_E)%wE}function bS(){var t,e,n=lS([0,0]),r=lS(90),i=lS(2),o={point:function(n,r){t.push(n=e(n,r)),n[0]*=xE,n[1]*=xE}};function a(){var a=n.apply(this,arguments),s=r.apply(this,arguments)*EE,c=i.apply(this,arguments)*EE;return t=[],e=dS(-a[0]*EE,-a[1]*EE,0).invert,yS(o,s,c,1),a={type:"Polygon",coordinates:[t]},t=e=null,a}return a.center=function(t){return arguments.length?(n="function"==typeof t?t:lS([+t[0],+t[1]]),a):n},a.radius=function(t){return arguments.length?(r="function"==typeof t?t:lS(+t),a):r},a.precision=function(t){return arguments.length?(i="function"==typeof t?t:lS(+t),a):i},a}function wS(){var t,e=[];return{point:function(e,n,r){t.push([e,n,r])},lineStart:function(){e.push(t=[])},lineEnd:$E,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}}function xS(t,e){return TE(t[0]-e[0])<_E&&TE(t[1]-e[1])<_E}function ES(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function TS(t,e,n,r,i){var o,a,s=[],c=[];if(t.forEach(function(t){if(!((e=t.length-1)<=0)){var e,n,r=t[0],a=t[e];if(xS(r,a)){if(!r[2]&&!a[2]){for(i.lineStart(),o=0;o<e;++o)i.point((r=t[o])[0],r[1]);return void i.lineEnd()}a[0]+=2*_E}s.push(n=new ES(r,t,null,!0)),c.push(n.o=new ES(r,null,n,!1)),s.push(n=new ES(a,t,null,!1)),c.push(n.o=new ES(a,null,n,!0))}}),s.length){for(c.sort(e),SS(s),SS(c),o=0,a=c.length;o<a;++o)c[o].e=n=!n;for(var u,l,f=s[0];;){for(var h=f,d=!0;h.v;)if((h=h.n)===f)return;u=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(d)for(o=0,a=u.length;o<a;++o)i.point((l=u[o])[0],l[1]);else r(h.x,h.n.x,1,i);h=h.n}else{if(d)for(u=h.p.z,o=u.length-1;o>=0;--o)i.point((l=u[o])[0],l[1]);else r(h.x,h.p.x,-1,i);h=h.p}u=(h=h.o).z,d=!d}while(!h.v);i.lineEnd()}}}function SS(t){if(e=t.length){for(var e,n,r=0,i=t[0];++r<e;)i.n=n=t[r],n.p=i,i=n;i.n=n=t[0],n.p=i}}function OS(t){return TE(t[0])<=yE?t[0]:IE(t[0])*((TE(t[0])+yE)%wE-yE)}function AS(t,e){var n=OS(e),r=e[1],i=RE(r),o=[RE(n),-AE(n),0],a=0,s=0,c=new Eh;1===i?r=vE+_E:-1===i&&(r=-vE-_E);for(var u=0,l=t.length;u<l;++u)if(h=(f=t[u]).length)for(var f,h,d=f[h-1],p=OS(d),g=d[1]/2+bE,_=RE(g),m=AE(g),y=0;y<h;++y,p=b,_=x,m=E,d=v){var v=f[y],b=OS(v),w=v[1]/2+bE,x=RE(w),E=AE(w),T=b-p,S=T>=0?1:-1,O=S*T,A=O>yE,M=_*x;if(c.add(OE(M*S*RE(O),m*E+M*AE(O))),a+=A?T+S*wE:T,A^p>=n^b>=n){var k=bT(yT(d),yT(v));ET(k);var N=bT(o,k);ET(N);var P=(A^T>=0?-1:1)*LE(N[2]);(r>P||r===P&&(k[0]||k[1]))&&(s+=A^T>=0?1:-1)}}return(a<-_E||a<_E&&c<-mE)^1&s}function MS(t,e,n,r){return function(i){var o,a,s,c=e(i),u=wS(),l=e(u),f=!1,h={point:d,lineStart:g,lineEnd:_,polygonStart:function(){h.point=m,h.lineStart=y,h.lineEnd=v,a=[],o=[]},polygonEnd:function(){h.point=d,h.lineStart=g,h.lineEnd=_,a=Ed(a);var t=AS(o,r);a.length?(f||(i.polygonStart(),f=!0),TS(a,NS,t,n,i)):t&&(f||(i.polygonStart(),f=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),f&&(i.polygonEnd(),f=!1),a=o=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function d(e,n){t(e,n)&&i.point(e,n)}function p(t,e){c.point(t,e)}function g(){h.point=p,c.lineStart()}function _(){h.point=d,c.lineEnd()}function m(t,e){s.push([t,e]),l.point(t,e)}function y(){l.lineStart(),s=[]}function v(){m(s[0][0],s[0][1]),l.lineEnd();var t,e,n,r,c=l.clean(),h=u.result(),d=h.length;if(s.pop(),o.push(s),s=null,d)if(1&c){if((e=(n=h[0]).length-1)>0){for(f||(i.polygonStart(),f=!0),i.lineStart(),t=0;t<e;++t)i.point((r=n[t])[0],r[1]);i.lineEnd()}}else d>1&&2&c&&h.push(h.pop().concat(h.shift())),a.push(h.filter(kS))}return h}}function kS(t){return t.length>1}function NS(t,e){return((t=t.x)[0]<0?t[1]-vE-_E:vE-t[1])-((e=e.x)[0]<0?e[1]-vE-_E:vE-e[1])}hS.invert=hS;const PS=MS(function(){return!0},function(t){var e,n=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(o,a){var s=o>0?yE:-yE,c=TE(o-n);TE(c-yE)<_E?(t.point(n,r=(r+a)/2>0?vE:-vE),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(s,r),t.point(o,r),e=0):i!==s&&c>=yE&&(TE(n-i)<_E&&(n-=i*_E),TE(o-s)<_E&&(o-=s*_E),r=function(t,e,n,r){var i,o,a=RE(t-n);return TE(a)>_E?SE((RE(e)*(o=AE(r))*RE(n)-RE(r)*(i=AE(e))*RE(t))/(i*o*a)):(e+r)/2}(n,r,o,a),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(s,r),e=0),t.point(n=o,r=a),i=s},lineEnd:function(){t.lineEnd(),n=r=NaN},clean:function(){return 2-e}}},function(t,e,n,r){var i;if(null==t)i=n*vE,r.point(-yE,i),r.point(0,i),r.point(yE,i),r.point(yE,0),r.point(yE,-i),r.point(0,-i),r.point(-yE,-i),r.point(-yE,0),r.point(-yE,i);else if(TE(t[0]-e[0])>_E){var o=t[0]<e[0]?yE:-yE;i=n*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(e[0],e[1])},[-yE,-vE]);function CS(t){var e=AE(t),n=2*EE,r=e>0,i=TE(e)>_E;function o(t,n){return AE(t)*AE(n)>e}function a(t,n,r){var i=[1,0,0],o=bT(yT(t),yT(n)),a=vT(o,o),s=o[0],c=a-s*s;if(!c)return!r&&t;var u=e*a/c,l=-e*s/c,f=bT(i,o),h=xT(i,u);wT(h,xT(o,l));var d=f,p=vT(h,d),g=vT(d,d),_=p*p-g*(vT(h,h)-1);if(!(_<0)){var m=DE(_),y=xT(d,(-p-m)/g);if(wT(y,h),y=mT(y),!r)return y;var v,b=t[0],w=n[0],x=t[1],E=n[1];w<b&&(v=b,b=w,w=v);var T=w-b,S=TE(T-yE)<_E;if(!S&&E<x&&(v=x,x=E,E=v),S||T<_E?S?x+E>0^y[1]<(TE(y[0]-b)<_E?x:E):x<=y[1]&&y[1]<=E:T>yE^(b<=y[0]&&y[0]<=w)){var O=xT(d,(-p+m)/g);return wT(O,h),[y,mT(O)]}}}function s(e,n){var i=r?t:yE-t,o=0;return e<-i?o|=1:e>i&&(o|=2),n<-i?o|=4:n>i&&(o|=8),o}return MS(o,function(t){var e,n,c,u,l;return{lineStart:function(){u=c=!1,l=1},point:function(f,h){var d,p=[f,h],g=o(f,h),_=r?g?0:s(f,h):g?s(f+(f<0?yE:-yE),h):0;if(!e&&(u=c=g)&&t.lineStart(),g!==c&&(!(d=a(e,p))||xS(e,d)||xS(p,d))&&(p[2]=1),g!==c)l=0,g?(t.lineStart(),d=a(p,e),t.point(d[0],d[1])):(d=a(e,p),t.point(d[0],d[1],2),t.lineEnd()),e=d;else if(i&&e&&r^g){var m;_&n||!(m=a(p,e,!0))||(l=0,r?(t.lineStart(),t.point(m[0][0],m[0][1]),t.point(m[1][0],m[1][1]),t.lineEnd()):(t.point(m[1][0],m[1][1]),t.lineEnd(),t.lineStart(),t.point(m[0][0],m[0][1],3)))}!g||e&&xS(e,p)||t.point(p[0],p[1]),e=p,c=g,n=_},lineEnd:function(){c&&t.lineEnd(),e=null},clean:function(){return l|(u&&c)<<1}}},function(e,r,i,o){yS(o,t,n,i,e,r)},r?[0,-t]:[-yE,t-yE])}var RS,IS,DS,US,jS=1e9,LS=-jS;function VS(t,e,n,r){function i(i,o){return t<=i&&i<=n&&e<=o&&o<=r}function o(i,o,s,u){var l=0,f=0;if(null==i||(l=a(i,s))!==(f=a(o,s))||c(i,o)<0^s>0)do{u.point(0===l||3===l?t:n,l>1?r:e)}while((l=(l+s+4)%4)!==f);else u.point(o[0],o[1])}function a(r,i){return TE(r[0]-t)<_E?i>0?0:3:TE(r[0]-n)<_E?i>0?2:1:TE(r[1]-e)<_E?i>0?1:0:i>0?3:2}function s(t,e){return c(t.x,e.x)}function c(t,e){var n=a(t,1),r=a(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(a){var c,u,l,f,h,d,p,g,_,m,y,v=a,b=wS(),w={point:x,lineStart:function(){w.point=E,u&&u.push(l=[]),m=!0,_=!1,p=g=NaN},lineEnd:function(){c&&(E(f,h),d&&_&&b.rejoin(),c.push(b.result())),w.point=x,_&&v.lineEnd()},polygonStart:function(){v=b,c=[],u=[],y=!0},polygonEnd:function(){var e=function(){for(var e=0,n=0,i=u.length;n<i;++n)for(var o,a,s=u[n],c=1,l=s.length,f=s[0],h=f[0],d=f[1];c<l;++c)o=h,a=d,h=(f=s[c])[0],d=f[1],a<=r?d>r&&(h-o)*(r-a)>(d-a)*(t-o)&&++e:d<=r&&(h-o)*(r-a)<(d-a)*(t-o)&&--e;return e}(),n=y&&e,i=(c=Ed(c)).length;(n||i)&&(a.polygonStart(),n&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),i&&TS(c,s,e,o,a),a.polygonEnd()),v=a,c=u=l=null}};function x(t,e){i(t,e)&&v.point(t,e)}function E(o,a){var s=i(o,a);if(u&&l.push([o,a]),m)f=o,h=a,d=s,m=!1,s&&(v.lineStart(),v.point(o,a));else if(s&&_)v.point(o,a);else{var c=[p=Math.max(LS,Math.min(jS,p)),g=Math.max(LS,Math.min(jS,g))],b=[o=Math.max(LS,Math.min(jS,o)),a=Math.max(LS,Math.min(jS,a))];!function(t,e,n,r,i,o){var a,s=t[0],c=t[1],u=0,l=1,f=e[0]-s,h=e[1]-c;if(a=n-s,f||!(a>0)){if(a/=f,f<0){if(a<u)return;a<l&&(l=a)}else if(f>0){if(a>l)return;a>u&&(u=a)}if(a=i-s,f||!(a<0)){if(a/=f,f<0){if(a>l)return;a>u&&(u=a)}else if(f>0){if(a<u)return;a<l&&(l=a)}if(a=r-c,h||!(a>0)){if(a/=h,h<0){if(a<u)return;a<l&&(l=a)}else if(h>0){if(a>l)return;a>u&&(u=a)}if(a=o-c,h||!(a<0)){if(a/=h,h<0){if(a>l)return;a>u&&(u=a)}else if(h>0){if(a<u)return;a<l&&(l=a)}return u>0&&(t[0]=s+u*f,t[1]=c+u*h),l<1&&(e[0]=s+l*f,e[1]=c+l*h),!0}}}}}(c,b,t,e,n,r)?s&&(v.lineStart(),v.point(o,a),y=!1):(_||(v.lineStart(),v.point(c[0],c[1])),v.point(b[0],b[1]),s||v.lineEnd(),y=!1)}p=o,g=a,_=s}return w}}function $S(){var t,e,n,r=0,i=0,o=960,a=500;return n={stream:function(n){return t&&e===n?t:t=VS(r,i,o,a)(e=n)},extent:function(s){return arguments.length?(r=+s[0][0],i=+s[0][1],o=+s[1][0],a=+s[1][1],t=e=null,n):[[r,i],[o,a]]}}}var FS={sphere:$E,point:$E,lineStart:function(){FS.point=BS,FS.lineEnd=zS},lineEnd:$E,polygonStart:$E,polygonEnd:$E};function zS(){FS.point=FS.lineEnd=$E}function BS(t,e){IS=t*=EE,DS=RE(e*=EE),US=AE(e),FS.point=HS}function HS(t,e){t*=EE;var n=RE(e*=EE),r=AE(e),i=TE(t-IS),o=AE(i),a=r*RE(i),s=US*n-DS*r*o,c=DS*n+US*r*o;RS.add(OE(DE(a*a+s*s),c)),IS=t,DS=n,US=r}function qS(t){return RS=new Eh,YE(t,FS),+RS}var YS=[null,null],GS={type:"LineString",coordinates:YS};function WS(t,e){return YS[0]=t,YS[1]=e,qS(GS)}var KS={Feature:function(t,e){return JS(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)if(JS(n[r].geometry,e))return!0;return!1}},XS={Sphere:function(){return!0},Point:function(t,e){return ZS(t.coordinates,e)},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(ZS(n[r],e))return!0;return!1},LineString:function(t,e){return QS(t.coordinates,e)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(QS(n[r],e))return!0;return!1},Polygon:function(t,e){return tO(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(tO(n[r],e))return!0;return!1},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)if(JS(n[r],e))return!0;return!1}};function JS(t,e){return!(!t||!XS.hasOwnProperty(t.type))&&XS[t.type](t,e)}function ZS(t,e){return 0===WS(t,e)}function QS(t,e){for(var n,r,i,o=0,a=t.length;o<a;o++){if(0===(r=WS(t[o],e)))return!0;if(o>0&&(i=WS(t[o],t[o-1]))>0&&n<=i&&r<=i&&(n+r-i)*(1-Math.pow((n-r)/i,2))<mE*i)return!0;n=r}return!1}function tO(t,e){return!!AS(t.map(eO),nO(e))}function eO(t){return(t=t.map(nO)).pop(),t}function nO(t){return[t[0]*EE,t[1]*EE]}function rO(t,e){return(t&&KS.hasOwnProperty(t.type)?KS[t.type]:JS)(t,e)}function iO(t,e,n){var r=Ad(t,e-_E,n).concat(e);return function(t){return r.map(function(e){return[t,e]})}}function oO(t,e,n){var r=Ad(t,e-_E,n).concat(e);return function(t){return r.map(function(e){return[e,t]})}}function aO(){var t,e,n,r,i,o,a,s,c,u,l,f,h=10,d=h,p=90,g=360,_=2.5;function m(){return{type:"MultiLineString",coordinates:y()}}function y(){return Ad(ME(r/p)*p,n,p).map(l).concat(Ad(ME(s/g)*g,a,g).map(f)).concat(Ad(ME(e/h)*h,t,h).filter(function(t){return TE(t%p)>_E}).map(c)).concat(Ad(ME(o/d)*d,i,d).filter(function(t){return TE(t%g)>_E}).map(u))}return m.lines=function(){return y().map(function(t){return{type:"LineString",coordinates:t}})},m.outline=function(){return{type:"Polygon",coordinates:[l(r).concat(f(a).slice(1),l(n).reverse().slice(1),f(s).reverse().slice(1))]}},m.extent=function(t){return arguments.length?m.extentMajor(t).extentMinor(t):m.extentMinor()},m.extentMajor=function(t){return arguments.length?(r=+t[0][0],n=+t[1][0],s=+t[0][1],a=+t[1][1],r>n&&(t=r,r=n,n=t),s>a&&(t=s,s=a,a=t),m.precision(_)):[[r,s],[n,a]]},m.extentMinor=function(n){return arguments.length?(e=+n[0][0],t=+n[1][0],o=+n[0][1],i=+n[1][1],e>t&&(n=e,e=t,t=n),o>i&&(n=o,o=i,i=n),m.precision(_)):[[e,o],[t,i]]},m.step=function(t){return arguments.length?m.stepMajor(t).stepMinor(t):m.stepMinor()},m.stepMajor=function(t){return arguments.length?(p=+t[0],g=+t[1],m):[p,g]},m.stepMinor=function(t){return arguments.length?(h=+t[0],d=+t[1],m):[h,d]},m.precision=function(h){return arguments.length?(_=+h,c=iO(o,i,90),u=oO(e,t,_),l=iO(s,a,90),f=oO(r,n,_),m):_},m.extentMajor([[-180,-90+_E],[180,90-_E]]).extentMinor([[-180,-80-_E],[180,80+_E]])}function sO(){return aO()()}function cO(t,e){var n=t[0]*EE,r=t[1]*EE,i=e[0]*EE,o=e[1]*EE,a=AE(r),s=RE(r),c=AE(o),u=RE(o),l=a*AE(n),f=a*RE(n),h=c*AE(i),d=c*RE(i),p=2*LE(DE(VE(o-r)+a*c*VE(i-n))),g=RE(p),_=p?function(t){var e=RE(t*=p)/g,n=RE(p-t)/g,r=n*l+e*h,i=n*f+e*d,o=n*s+e*u;return[OE(i,r)*xE,OE(o,DE(r*r+i*i))*xE]}:function(){return[n*xE,r*xE]};return _.distance=p,_}const uO=t=>t;var lO,fO,hO,dO,pO=new Eh,gO=new Eh,_O={point:$E,lineStart:$E,lineEnd:$E,polygonStart:function(){_O.lineStart=mO,_O.lineEnd=bO},polygonEnd:function(){_O.lineStart=_O.lineEnd=_O.point=$E,pO.add(TE(gO)),gO=new Eh},result:function(){var t=pO/2;return pO=new Eh,t}};function mO(){_O.point=yO}function yO(t,e){_O.point=vO,lO=hO=t,fO=dO=e}function vO(t,e){gO.add(dO*t-hO*e),hO=t,dO=e}function bO(){vO(lO,fO)}const wO=_O;var xO=1/0,EO=xO,TO=-xO,SO=TO,OO={point:function(t,e){t<xO&&(xO=t),t>TO&&(TO=t),e<EO&&(EO=e),e>SO&&(SO=e)},lineStart:$E,lineEnd:$E,polygonStart:$E,polygonEnd:$E,result:function(){var t=[[xO,EO],[TO,SO]];return TO=SO=-(EO=xO=1/0),t}};const AO=OO;var MO,kO,NO,PO,CO=0,RO=0,IO=0,DO=0,UO=0,jO=0,LO=0,VO=0,$O=0,FO={point:zO,lineStart:BO,lineEnd:YO,polygonStart:function(){FO.lineStart=GO,FO.lineEnd=WO},polygonEnd:function(){FO.point=zO,FO.lineStart=BO,FO.lineEnd=YO},result:function(){var t=$O?[LO/$O,VO/$O]:jO?[DO/jO,UO/jO]:IO?[CO/IO,RO/IO]:[NaN,NaN];return CO=RO=IO=DO=UO=jO=LO=VO=$O=0,t}};function zO(t,e){CO+=t,RO+=e,++IO}function BO(){FO.point=HO}function HO(t,e){FO.point=qO,zO(NO=t,PO=e)}function qO(t,e){var n=t-NO,r=e-PO,i=DE(n*n+r*r);DO+=i*(NO+t)/2,UO+=i*(PO+e)/2,jO+=i,zO(NO=t,PO=e)}function YO(){FO.point=zO}function GO(){FO.point=KO}function WO(){XO(MO,kO)}function KO(t,e){FO.point=XO,zO(MO=NO=t,kO=PO=e)}function XO(t,e){var n=t-NO,r=e-PO,i=DE(n*n+r*r);DO+=i*(NO+t)/2,UO+=i*(PO+e)/2,jO+=i,LO+=(i=PO*t-NO*e)*(NO+t),VO+=i*(PO+e),$O+=3*i,zO(NO=t,PO=e)}const JO=FO;function ZO(t){this._context=t}ZO.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,wE)}},result:$E};var QO,tA,eA,nA,rA,iA=new Eh,oA={point:$E,lineStart:function(){oA.point=aA},lineEnd:function(){QO&&sA(tA,eA),oA.point=$E},polygonStart:function(){QO=!0},polygonEnd:function(){QO=null},result:function(){var t=+iA;return iA=new Eh,t}};function aA(t,e){oA.point=sA,tA=nA=t,eA=rA=e}function sA(t,e){nA-=t,rA-=e,iA.add(DE(nA*nA+rA*rA)),nA=t,rA=e}const cA=oA;let uA,lA,fA,hA;class dA{constructor(t){this._append=null==t?pA:function(t){const e=Math.floor(t);if(!(e>=0))throw new RangeError(`invalid digits: ${t}`);if(e>15)return pA;if(e!==uA){const t=10**e;uA=e,lA=function(e){let n=1;this._+=e[0];for(const r=e.length;n<r;++n)this._+=Math.round(arguments[n]*t)/t+e[n]}}return lA}(t),this._radius=4.5,this._=""}pointRadius(t){return this._radius=+t,this}polygonStart(){this._line=0}polygonEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){0===this._line&&(this._+="Z"),this._point=NaN}point(t,e){switch(this._point){case 0:this._append`M${t},${e}`,this._point=1;break;case 1:this._append`L${t},${e}`;break;default:if(this._append`M${t},${e}`,this._radius!==fA||this._append!==lA){const t=this._radius,e=this._;this._="",this._append`m0,${t}a${t},${t} 0 1,1 0,${-2*t}a${t},${t} 0 1,1 0,${2*t}z`,fA=t,lA=this._append,hA=this._,this._=e}this._+=hA}}result(){const t=this._;return this._="",t.length?t:null}}function pA(t){let e=1;this._+=t[0];for(const n=t.length;e<n;++e)this._+=arguments[e]+t[e]}function gA(t,e){let n,r,i=3,o=4.5;function a(t){return t&&("function"==typeof o&&r.pointRadius(+o.apply(this,arguments)),YE(t,n(r))),r.result()}return a.area=function(t){return YE(t,n(wO)),wO.result()},a.measure=function(t){return YE(t,n(cA)),cA.result()},a.bounds=function(t){return YE(t,n(AO)),AO.result()},a.centroid=function(t){return YE(t,n(JO)),JO.result()},a.projection=function(e){return arguments.length?(n=null==e?(t=null,uO):(t=e).stream,a):t},a.context=function(t){return arguments.length?(r=null==t?(e=null,new dA(i)):new ZO(e=t),"function"!=typeof o&&r.pointRadius(o),a):e},a.pointRadius=function(t){return arguments.length?(o="function"==typeof t?t:(r.pointRadius(+t),+t),a):o},a.digits=function(t){if(!arguments.length)return i;if(null==t)i=null;else{const e=Math.floor(t);if(!(e>=0))throw new RangeError(`invalid digits: ${t}`);i=e}return null===e&&(r=new dA(i)),a},a.projection(t).digits(i).context(e)}function _A(t){return{stream:mA(t)}}function mA(t){return function(e){var n=new yA;for(var r in t)n[r]=t[r];return n.stream=e,n}}function yA(){}function vA(t,e,n){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),YE(n,t.stream(AO)),e(AO.result()),null!=r&&t.clipExtent(r),t}function bA(t,e,n){return vA(t,function(n){var r=e[1][0]-e[0][0],i=e[1][1]-e[0][1],o=Math.min(r/(n[1][0]-n[0][0]),i/(n[1][1]-n[0][1])),a=+e[0][0]+(r-o*(n[1][0]+n[0][0]))/2,s=+e[0][1]+(i-o*(n[1][1]+n[0][1]))/2;t.scale(150*o).translate([a,s])},n)}function wA(t,e,n){return bA(t,[[0,0],e],n)}function xA(t,e,n){return vA(t,function(n){var r=+e,i=r/(n[1][0]-n[0][0]),o=(r-i*(n[1][0]+n[0][0]))/2,a=-i*n[0][1];t.scale(150*i).translate([o,a])},n)}function EA(t,e,n){return vA(t,function(n){var r=+e,i=r/(n[1][1]-n[0][1]),o=-i*n[0][0],a=(r-i*(n[1][1]+n[0][1]))/2;t.scale(150*i).translate([o,a])},n)}yA.prototype={constructor:yA,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var TA=16,SA=AE(30*EE);function OA(t,e){return+e?function(t,e){function n(r,i,o,a,s,c,u,l,f,h,d,p,g,_){var m=u-r,y=l-i,v=m*m+y*y;if(v>4*e&&g--){var b=a+h,w=s+d,x=c+p,E=DE(b*b+w*w+x*x),T=LE(x/=E),S=TE(TE(x)-1)<_E||TE(o-f)<_E?(o+f)/2:OE(w,b),O=t(S,T),A=O[0],M=O[1],k=A-r,N=M-i,P=y*k-m*N;(P*P/v>e||TE((m*k+y*N)/v-.5)>.3||a*h+s*d+c*p<SA)&&(n(r,i,o,a,s,c,A,M,S,b/=E,w/=E,x,g,_),_.point(A,M),n(A,M,S,b,w,x,u,l,f,h,d,p,g,_))}}return function(e){var r,i,o,a,s,c,u,l,f,h,d,p,g={point:_,lineStart:m,lineEnd:v,polygonStart:function(){e.polygonStart(),g.lineStart=b},polygonEnd:function(){e.polygonEnd(),g.lineStart=m}};function _(n,r){n=t(n,r),e.point(n[0],n[1])}function m(){l=NaN,g.point=y,e.lineStart()}function y(r,i){var o=yT([r,i]),a=t(r,i);n(l,f,u,h,d,p,l=a[0],f=a[1],u=r,h=o[0],d=o[1],p=o[2],TA,e),e.point(l,f)}function v(){g.point=_,e.lineEnd()}function b(){m(),g.point=w,g.lineEnd=x}function w(t,e){y(r=t,e),i=l,o=f,a=h,s=d,c=p,g.point=y}function x(){n(l,f,u,h,d,p,i,o,r,a,s,c,TA,e),g.lineEnd=v,v()}return g}}(t,e):function(t){return mA({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}(t)}var AA=mA({point:function(t,e){this.stream.point(t*EE,e*EE)}});function MA(t,e,n,r,i,o){if(!o)return function(t,e,n,r,i){function o(o,a){return[e+t*(o*=r),n-t*(a*=i)]}return o.invert=function(o,a){return[(o-e)/t*r,(n-a)/t*i]},o}(t,e,n,r,i);var a=AE(o),s=RE(o),c=a*t,u=s*t,l=a/t,f=s/t,h=(s*n-a*e)/t,d=(s*e+a*n)/t;function p(t,o){return[c*(t*=r)-u*(o*=i)+e,n-u*t-c*o]}return p.invert=function(t,e){return[r*(l*t-f*e+h),i*(d-f*t-l*e)]},p}function kA(t){return NA(function(){return t})()}function NA(t){var e,n,r,i,o,a,s,c,u,l,f=150,h=480,d=250,p=0,g=0,_=0,m=0,y=0,v=0,b=1,w=1,x=null,E=PS,T=null,S=uO,O=.5;function A(t){return c(t[0]*EE,t[1]*EE)}function M(t){return(t=c.invert(t[0],t[1]))&&[t[0]*xE,t[1]*xE]}function k(){var t=MA(f,0,0,b,w,v).apply(null,e(p,g)),r=MA(f,h-t[0],d-t[1],b,w,v);return n=dS(_,m,y),s=fS(e,r),c=fS(n,s),a=OA(s,O),N()}function N(){return u=l=null,A}return A.stream=function(t){return u&&l===t?u:u=AA(function(t){return mA({point:function(e,n){var r=t(e,n);return this.stream.point(r[0],r[1])}})}(n)(E(a(S(l=t)))))},A.preclip=function(t){return arguments.length?(E=t,x=void 0,N()):E},A.postclip=function(t){return arguments.length?(S=t,T=r=i=o=null,N()):S},A.clipAngle=function(t){return arguments.length?(E=+t?CS(x=t*EE):(x=null,PS),N()):x*xE},A.clipExtent=function(t){return arguments.length?(S=null==t?(T=r=i=o=null,uO):VS(T=+t[0][0],r=+t[0][1],i=+t[1][0],o=+t[1][1]),N()):null==T?null:[[T,r],[i,o]]},A.scale=function(t){return arguments.length?(f=+t,k()):f},A.translate=function(t){return arguments.length?(h=+t[0],d=+t[1],k()):[h,d]},A.center=function(t){return arguments.length?(p=t[0]%360*EE,g=t[1]%360*EE,k()):[p*xE,g*xE]},A.rotate=function(t){return arguments.length?(_=t[0]%360*EE,m=t[1]%360*EE,y=t.length>2?t[2]%360*EE:0,k()):[_*xE,m*xE,y*xE]},A.angle=function(t){return arguments.length?(v=t%360*EE,k()):v*xE},A.reflectX=function(t){return arguments.length?(b=t?-1:1,k()):b<0},A.reflectY=function(t){return arguments.length?(w=t?-1:1,k()):w<0},A.precision=function(t){return arguments.length?(a=OA(s,O=t*t),N()):DE(O)},A.fitExtent=function(t,e){return bA(A,t,e)},A.fitSize=function(t,e){return wA(A,t,e)},A.fitWidth=function(t,e){return xA(A,t,e)},A.fitHeight=function(t,e){return EA(A,t,e)},function(){return e=t.apply(this,arguments),A.invert=e.invert&&M,k()}}function PA(t){var e=0,n=yE/3,r=NA(t),i=r(e,n);return i.parallels=function(t){return arguments.length?r(e=t[0]*EE,n=t[1]*EE):[e*xE,n*xE]},i}function CA(t,e){var n=RE(t),r=(n+RE(e))/2;if(TE(r)<_E)return function(t){var e=AE(t);function n(t,n){return[t*e,RE(n)/e]}return n.invert=function(t,n){return[t/e,LE(n*e)]},n}(t);var i=1+n*(2*r-n),o=DE(i)/r;function a(t,e){var n=DE(i-2*r*RE(e))/r;return[n*RE(t*=r),o-n*AE(t)]}return a.invert=function(t,e){var n=o-e,a=OE(t,TE(n))*IE(n);return n*r<0&&(a-=yE*IE(t)*IE(n)),[a/r,LE((i-(t*t+n*n)*r*r)/(2*r))]},a}function RA(){return PA(CA).scale(155.424).center([0,33.6442])}function IA(){return RA().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function DA(){var t,e,n,r,i,o,a=IA(),s=RA().rotate([154,0]).center([-2,58.5]).parallels([55,65]),c=RA().rotate([157,0]).center([-3,19.9]).parallels([8,18]),u={point:function(t,e){o=[t,e]}};function l(t){var e=t[0],a=t[1];return o=null,n.point(e,a),o||(r.point(e,a),o)||(i.point(e,a),o)}function f(){return t=e=null,l}return l.invert=function(t){var e=a.scale(),n=a.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?s:i>=.166&&i<.234&&r>=-.214&&r<-.115?c:a).invert(t)},l.stream=function(n){return t&&e===n?t:(r=[a.stream(e=n),s.stream(n),c.stream(n)],i=r.length,t={point:function(t,e){for(var n=-1;++n<i;)r[n].point(t,e)},sphere:function(){for(var t=-1;++t<i;)r[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)r[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)r[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)r[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)r[t].polygonEnd()}});var r,i},l.precision=function(t){return arguments.length?(a.precision(t),s.precision(t),c.precision(t),f()):a.precision()},l.scale=function(t){return arguments.length?(a.scale(t),s.scale(.35*t),c.scale(t),l.translate(a.translate())):a.scale()},l.translate=function(t){if(!arguments.length)return a.translate();var e=a.scale(),o=+t[0],l=+t[1];return n=a.translate(t).clipExtent([[o-.455*e,l-.238*e],[o+.455*e,l+.238*e]]).stream(u),r=s.translate([o-.307*e,l+.201*e]).clipExtent([[o-.425*e+_E,l+.12*e+_E],[o-.214*e-_E,l+.234*e-_E]]).stream(u),i=c.translate([o-.205*e,l+.212*e]).clipExtent([[o-.214*e+_E,l+.166*e+_E],[o-.115*e-_E,l+.234*e-_E]]).stream(u),f()},l.fitExtent=function(t,e){return bA(l,t,e)},l.fitSize=function(t,e){return wA(l,t,e)},l.fitWidth=function(t,e){return xA(l,t,e)},l.fitHeight=function(t,e){return EA(l,t,e)},l.scale(1070)}function UA(t){return function(e,n){var r=AE(e),i=AE(n),o=t(r*i);return o===1/0?[2,0]:[o*i*RE(e),o*RE(n)]}}function jA(t){return function(e,n){var r=DE(e*e+n*n),i=t(r),o=RE(i),a=AE(i);return[OE(e*o,r*a),LE(r&&n*o/r)]}}var LA=UA(function(t){return DE(2/(1+t))});function VA(){return kA(LA).scale(124.75).clipAngle(179.999)}LA.invert=jA(function(t){return 2*LE(t/2)});var $A=UA(function(t){return(t=jE(t))&&t/RE(t)});function FA(){return kA($A).scale(79.4188).clipAngle(179.999)}function zA(t,e){return[t,PE(UE((vE+e)/2))]}function BA(){return HA(zA).scale(961/wE)}function HA(t){var e,n,r,i=kA(t),o=i.center,a=i.scale,s=i.translate,c=i.clipExtent,u=null;function l(){var o=yE*a(),s=i(mS(i.rotate()).invert([0,0]));return c(null==u?[[s[0]-o,s[1]-o],[s[0]+o,s[1]+o]]:t===zA?[[Math.max(s[0]-o,u),e],[Math.min(s[0]+o,n),r]]:[[u,Math.max(s[1]-o,e)],[n,Math.min(s[1]+o,r)]])}return i.scale=function(t){return arguments.length?(a(t),l()):a()},i.translate=function(t){return arguments.length?(s(t),l()):s()},i.center=function(t){return arguments.length?(o(t),l()):o()},i.clipExtent=function(t){return arguments.length?(null==t?u=e=n=r=null:(u=+t[0][0],e=+t[0][1],n=+t[1][0],r=+t[1][1]),l()):null==u?null:[[u,e],[n,r]]},l()}function qA(t){return UE((vE+t)/2)}function YA(t,e){var n=AE(t),r=t===e?RE(t):PE(n/AE(e))/PE(qA(e)/qA(t)),i=n*CE(qA(t),r)/r;if(!r)return zA;function o(t,e){i>0?e<-vE+_E&&(e=-vE+_E):e>vE-_E&&(e=vE-_E);var n=i/CE(qA(e),r);return[n*RE(r*t),i-n*AE(r*t)]}return o.invert=function(t,e){var n=i-e,o=IE(r)*DE(t*t+n*n),a=OE(t,TE(n))*IE(n);return n*r<0&&(a-=yE*IE(t)*IE(n)),[a/r,2*SE(CE(i/o,1/r))-vE]},o}function GA(){return PA(YA).scale(109.5).parallels([30,30])}function WA(t,e){return[t,e]}function KA(){return kA(WA).scale(152.63)}function XA(t,e){var n=AE(t),r=t===e?RE(t):(n-AE(e))/(e-t),i=n/r+t;if(TE(r)<_E)return WA;function o(t,e){var n=i-e,o=r*t;return[n*RE(o),i-n*AE(o)]}return o.invert=function(t,e){var n=i-e,o=OE(t,TE(n))*IE(n);return n*r<0&&(o-=yE*IE(t)*IE(n)),[o/r,i-IE(r)*DE(t*t+n*n)]},o}function JA(){return PA(XA).scale(131.154).center([0,13.9389])}$A.invert=jA(function(t){return t}),zA.invert=function(t,e){return[t,2*SE(kE(e))-vE]},WA.invert=WA;var ZA=1.340264,QA=-.081106,tM=893e-6,eM=.003796,nM=DE(3)/2;function rM(t,e){var n=LE(nM*RE(e)),r=n*n,i=r*r*r;return[t*AE(n)/(nM*(ZA+3*QA*r+i*(7*tM+9*eM*r))),n*(ZA+QA*r+i*(tM+eM*r))]}function iM(){return kA(rM).scale(177.158)}function oM(t,e){var n=AE(e),r=AE(t)*n;return[n*RE(t)/r,RE(e)/r]}function aM(){return kA(oM).scale(144.049).clipAngle(60)}function sM(){var t,e,n,r,i,o,a,s=1,c=0,u=0,l=1,f=1,h=0,d=null,p=1,g=1,_=mA({point:function(t,e){var n=v([t,e]);this.stream.point(n[0],n[1])}}),m=uO;function y(){return p=s*l,g=s*f,o=a=null,v}function v(n){var r=n[0]*p,i=n[1]*g;if(h){var o=i*t-r*e;r=r*t+i*e,i=o}return[r+c,i+u]}return v.invert=function(n){var r=n[0]-c,i=n[1]-u;if(h){var o=i*t+r*e;r=r*t-i*e,i=o}return[r/p,i/g]},v.stream=function(t){return o&&a===t?o:o=_(m(a=t))},v.postclip=function(t){return arguments.length?(m=t,d=n=r=i=null,y()):m},v.clipExtent=function(t){return arguments.length?(m=null==t?(d=n=r=i=null,uO):VS(d=+t[0][0],n=+t[0][1],r=+t[1][0],i=+t[1][1]),y()):null==d?null:[[d,n],[r,i]]},v.scale=function(t){return arguments.length?(s=+t,y()):s},v.translate=function(t){return arguments.length?(c=+t[0],u=+t[1],y()):[c,u]},v.angle=function(n){return arguments.length?(e=RE(h=n%360*EE),t=AE(h),y()):h*xE},v.reflectX=function(t){return arguments.length?(l=t?-1:1,y()):l<0},v.reflectY=function(t){return arguments.length?(f=t?-1:1,y()):f<0},v.fitExtent=function(t,e){return bA(v,t,e)},v.fitSize=function(t,e){return wA(v,t,e)},v.fitWidth=function(t,e){return xA(v,t,e)},v.fitHeight=function(t,e){return EA(v,t,e)},v}function cM(t,e){var n=e*e,r=n*n;return[t*(.8707-.131979*n+r*(r*(.003971*n-.001529*r)-.013791)),e*(1.007226+n*(.015085+r*(.028874*n-.044475-.005916*r)))]}function uM(){return kA(cM).scale(175.295)}function lM(t,e){return[AE(e)*RE(t),RE(e)]}function fM(){return kA(lM).scale(249.5).clipAngle(90+_E)}function hM(t,e){var n=AE(e),r=1+AE(t)*n;return[n*RE(t)/r,RE(e)/r]}function dM(){return kA(hM).scale(250).clipAngle(142)}function pM(t,e){return[PE(UE((vE+e)/2)),-t]}function gM(){var t=HA(pM),e=t.center,n=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return arguments.length?n([t[0],t[1],t.length>2?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90]).scale(159.155)}function _M(t,e){return t.parent===e.parent?1:2}function mM(t,e){return t+e.x}function yM(t,e){return Math.max(t,e.y)}function vM(){var t=_M,e=1,n=1,r=!1;function i(i){var o,a=0;i.eachAfter(function(e){var n=e.children;n?(e.x=function(t){return t.reduce(mM,0)/t.length}(n),e.y=function(t){return 1+t.reduce(yM,0)}(n)):(e.x=o?a+=t(e,o):0,e.y=0,o=e)});var s=function(t){for(var e;e=t.children;)t=e[0];return t}(i),c=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(i),u=s.x-t(s,c)/2,l=c.x+t(c,s)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*e,t.y=(i.y-t.y)*n}:function(t){t.x=(t.x-u)/(l-u)*e,t.y=(1-(i.y?t.y/i.y:1))*n})}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i}function bM(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}function wM(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=EM)):void 0===e&&(e=xM);for(var n,r,i,o,a,s=new OM(t),c=[s];n=c.pop();)if((i=e(n.data))&&(a=(i=Array.from(i)).length))for(n.children=i,o=a-1;o>=0;--o)c.push(r=i[o]=new OM(i[o])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(SM)}function xM(t){return t.children}function EM(t){return Array.isArray(t)?t[1]:null}function TM(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function SM(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function OM(t){this.data=t,this.depth=this.height=0,this.parent=null}function AM(t){return null==t?null:MM(t)}function MM(t){if("function"!=typeof t)throw new Error;return t}function kM(){return 0}function NM(t){return function(){return t}}rM.invert=function(t,e){for(var n,r=e,i=r*r,o=i*i*i,a=0;a<12&&(o=(i=(r-=n=(r*(ZA+QA*i+o*(tM+eM*i))-e)/(ZA+3*QA*i+o*(7*tM+9*eM*i)))*r)*i*i,!(TE(n)<mE));++a);return[nM*t*(ZA+3*QA*i+o*(7*tM+9*eM*i))/AE(r),LE(RE(r)/nM)]},oM.invert=jA(SE),cM.invert=function(t,e){var n,r=e,i=25;do{var o=r*r,a=o*o;r-=n=(r*(1.007226+o*(.015085+a*(.028874*o-.044475-.005916*a)))-e)/(1.007226+o*(.045255+a*(.259866*o-.311325-.005916*11*a)))}while(TE(n)>_E&&--i>0);return[t/(.8707+(o=r*r)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),r]},lM.invert=jA(LE),hM.invert=jA(function(t){return 2*SE(t)}),pM.invert=function(t,e){return[-e,2*SE(kE(t))-vE]},OM.prototype=wM.prototype={constructor:OM,count:function(){return this.eachAfter(bM)},each:function(t,e){let n=-1;for(const r of this)t.call(e,r,++n,this);return this},eachAfter:function(t,e){for(var n,r,i,o=this,a=[o],s=[],c=-1;o=a.pop();)if(s.push(o),n=o.children)for(r=0,i=n.length;r<i;++r)a.push(n[r]);for(;o=s.pop();)t.call(e,o,++c,this);return this},eachBefore:function(t,e){for(var n,r,i=this,o=[i],a=-1;i=o.pop();)if(t.call(e,i,++a,this),n=i.children)for(r=n.length-1;r>=0;--r)o.push(n[r]);return this},find:function(t,e){let n=-1;for(const r of this)if(t.call(e,r,++n,this))return r},sum:function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)e=e.parent,r.push(e);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e},copy:function(){return wM(this).eachBefore(TM)},[Symbol.iterator]:function*(){var t,e,n,r,i=this,o=[i];do{for(t=o.reverse(),o=[];i=t.pop();)if(yield i,e=i.children)for(n=0,r=e.length;n<r;++n)o.push(e[n])}while(o.length)}};const PM=1664525,CM=1013904223,RM=4294967296;function IM(){let t=1;return()=>(t=(PM*t+CM)%RM)/RM}function DM(t){return UM(t,IM())}function UM(t,e){for(var n,r,i=0,o=(t=function(t,e){let n,r,i=t.length;for(;i;)r=e()*i--|0,n=t[i],t[i]=t[r],t[r]=n;return t}(Array.from(t),e)).length,a=[];i<o;)n=t[i],r&&VM(r,n)?++i:(r=FM(a=jM(a,n)),i=0);return r}function jM(t,e){var n,r;if($M(e,t))return[e];for(n=0;n<t.length;++n)if(LM(e,t[n])&&$M(zM(t[n],e),t))return[t[n],e];for(n=0;n<t.length-1;++n)for(r=n+1;r<t.length;++r)if(LM(zM(t[n],t[r]),e)&&LM(zM(t[n],e),t[r])&&LM(zM(t[r],e),t[n])&&$M(BM(t[n],t[r],e),t))return[t[n],t[r],e];throw new Error}function LM(t,e){var n=t.r-e.r,r=e.x-t.x,i=e.y-t.y;return n<0||n*n<r*r+i*i}function VM(t,e){var n=t.r-e.r+1e-9*Math.max(t.r,e.r,1),r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function $M(t,e){for(var n=0;n<e.length;++n)if(!VM(t,e[n]))return!1;return!0}function FM(t){switch(t.length){case 1:return{x:(e=t[0]).x,y:e.y,r:e.r};case 2:return zM(t[0],t[1]);case 3:return BM(t[0],t[1],t[2])}var e}function zM(t,e){var n=t.x,r=t.y,i=t.r,o=e.x,a=e.y,s=e.r,c=o-n,u=a-r,l=s-i,f=Math.sqrt(c*c+u*u);return{x:(n+o+c/f*l)/2,y:(r+a+u/f*l)/2,r:(f+i+s)/2}}function BM(t,e,n){var r=t.x,i=t.y,o=t.r,a=e.x,s=e.y,c=e.r,u=n.x,l=n.y,f=n.r,h=r-a,d=r-u,p=i-s,g=i-l,_=c-o,m=f-o,y=r*r+i*i-o*o,v=y-a*a-s*s+c*c,b=y-u*u-l*l+f*f,w=d*p-h*g,x=(p*b-g*v)/(2*w)-r,E=(g*_-p*m)/w,T=(d*v-h*b)/(2*w)-i,S=(h*m-d*_)/w,O=E*E+S*S-1,A=2*(o+x*E+T*S),M=x*x+T*T-o*o,k=-(Math.abs(O)>1e-6?(A+Math.sqrt(A*A-4*O*M))/(2*O):M/A);return{x:r+x+E*k,y:i+T+S*k,r:k}}function HM(t,e,n){var r,i,o,a,s=t.x-e.x,c=t.y-e.y,u=s*s+c*c;u?(i=e.r+n.r,i*=i,a=t.r+n.r,i>(a*=a)?(r=(u+a-i)/(2*u),o=Math.sqrt(Math.max(0,a/u-r*r)),n.x=t.x-r*s-o*c,n.y=t.y-r*c+o*s):(r=(u+i-a)/(2*u),o=Math.sqrt(Math.max(0,i/u-r*r)),n.x=e.x+r*s-o*c,n.y=e.y+r*c+o*s)):(n.x=e.x+n.r,n.y=e.y)}function qM(t,e){var n=t.r+e.r-1e-6,r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function YM(t){var e=t._,n=t.next._,r=e.r+n.r,i=(e.x*n.r+n.x*e.r)/r,o=(e.y*n.r+n.y*e.r)/r;return i*i+o*o}function GM(t){this._=t,this.next=null,this.previous=null}function WM(t,e){if(!(a=(n=t,t="object"==typeof n&&"length"in n?n:Array.from(n)).length))return 0;var n,r,i,o,a,s,c,u,l,f,h,d;if((r=t[0]).x=0,r.y=0,!(a>1))return r.r;if(i=t[1],r.x=-i.r,i.x=r.r,i.y=0,!(a>2))return r.r+i.r;HM(i,r,o=t[2]),r=new GM(r),i=new GM(i),o=new GM(o),r.next=o.previous=i,i.next=r.previous=o,o.next=i.previous=r;t:for(u=3;u<a;++u){HM(r._,i._,o=t[u]),o=new GM(o),l=i.next,f=r.previous,h=i._.r,d=r._.r;do{if(h<=d){if(qM(l._,o._)){i=l,r.next=i,i.previous=r,--u;continue t}h+=l._.r,l=l.next}else{if(qM(f._,o._)){(r=f).next=i,i.previous=r,--u;continue t}d+=f._.r,f=f.previous}}while(l!==f.next);for(o.previous=r,o.next=i,r.next=i.previous=i=o,s=YM(r);(o=o.next)!==i;)(c=YM(o))<s&&(r=o,s=c);i=r.next}for(r=[i._],o=i;(o=o.next)!==i;)r.push(o._);for(o=UM(r,e),u=0;u<a;++u)(r=t[u]).x-=o.x,r.y-=o.y;return o.r}function KM(t){return WM(t,IM()),t}function XM(t){return Math.sqrt(t.value)}function JM(){var t=null,e=1,n=1,r=kM;function i(i){const o=IM();return i.x=e/2,i.y=n/2,t?i.eachBefore(ZM(t)).eachAfter(QM(r,.5,o)).eachBefore(tk(1)):i.eachBefore(ZM(XM)).eachAfter(QM(kM,1,o)).eachAfter(QM(r,i.r/Math.min(e,n),o)).eachBefore(tk(Math.min(e,n)/(2*i.r))),i}return i.radius=function(e){return arguments.length?(t=AM(e),i):t},i.size=function(t){return arguments.length?(e=+t[0],n=+t[1],i):[e,n]},i.padding=function(t){return arguments.length?(r="function"==typeof t?t:NM(+t),i):r},i}function ZM(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function QM(t,e,n){return function(r){if(i=r.children){var i,o,a,s=i.length,c=t(r)*e||0;if(c)for(o=0;o<s;++o)i[o].r+=c;if(a=WM(i,n),c)for(o=0;o<s;++o)i[o].r-=c;r.r=a+c}}}function tk(t){return function(e){var n=e.parent;e.r*=t,n&&(e.x=n.x+t*e.x,e.y=n.y+t*e.y)}}function ek(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function nk(t,e,n,r,i){for(var o,a=t.children,s=-1,c=a.length,u=t.value&&(r-e)/t.value;++s<c;)(o=a[s]).y0=n,o.y1=i,o.x0=e,o.x1=e+=o.value*u}function rk(){var t=1,e=1,n=0,r=!1;function i(i){var o=i.height+1;return i.x0=i.y0=n,i.x1=t,i.y1=e/o,i.eachBefore(function(t,e){return function(r){r.children&&nk(r,r.x0,t*(r.depth+1)/e,r.x1,t*(r.depth+2)/e);var i=r.x0,o=r.y0,a=r.x1-n,s=r.y1-n;a<i&&(i=a=(i+a)/2),s<o&&(o=s=(o+s)/2),r.x0=i,r.y0=o,r.x1=a,r.y1=s}}(e,o)),r&&i.eachBefore(ek),i}return i.round=function(t){return arguments.length?(r=!!t,i):r},i.size=function(n){return arguments.length?(t=+n[0],e=+n[1],i):[t,e]},i.padding=function(t){return arguments.length?(n=+t,i):n},i}var ik={depth:-1},ok={},ak={};function sk(t){return t.id}function ck(t){return t.parentId}function uk(){var t,e=sk,n=ck;function r(r){var i,o,a,s,c,u,l,f,h=Array.from(r),d=e,p=n,g=new Map;if(null!=t){const e=h.map((e,n)=>function(t){let e=(t=`${t}`).length;return fk(t,e-1)&&!fk(t,e-2)&&(t=t.slice(0,-1)),"/"===t[0]?t:`/${t}`}(t(e,n,r))),n=e.map(lk),i=new Set(e).add("");for(const t of n)i.has(t)||(i.add(t),e.push(t),n.push(lk(t)),h.push(ak));d=(t,n)=>e[n],p=(t,e)=>n[e]}for(a=0,i=h.length;a<i;++a)o=h[a],u=h[a]=new OM(o),null!=(l=d(o,a,r))&&(l+="")&&(f=u.id=l,g.set(f,g.has(f)?ok:u)),null!=(l=p(o,a,r))&&(l+="")&&(u.parent=l);for(a=0;a<i;++a)if(l=(u=h[a]).parent){if(!(c=g.get(l)))throw new Error("missing: "+l);if(c===ok)throw new Error("ambiguous: "+l);c.children?c.children.push(u):c.children=[u],u.parent=c}else{if(s)throw new Error("multiple roots");s=u}if(!s)throw new Error("no root");if(null!=t){for(;s.data===ak&&1===s.children.length;)s=s.children[0],--i;for(let t=h.length-1;t>=0&&(u=h[t]).data===ak;--t)u.data=null}if(s.parent=ik,s.eachBefore(function(t){t.depth=t.parent.depth+1,--i}).eachBefore(SM),s.parent=null,i>0)throw new Error("cycle");return s}return r.id=function(t){return arguments.length?(e=AM(t),r):e},r.parentId=function(t){return arguments.length?(n=AM(t),r):n},r.path=function(e){return arguments.length?(t=AM(e),r):t},r}function lk(t){let e=t.length;if(e<2)return"";for(;--e>1&&!fk(t,e););return t.slice(0,e)}function fk(t,e){if("/"===t[e]){let n=0;for(;e>0&&"\\"===t[--e];)++n;if(!(1&n))return!0}return!1}function hk(t,e){return t.parent===e.parent?1:2}function dk(t){var e=t.children;return e?e[0]:t.t}function pk(t){var e=t.children;return e?e[e.length-1]:t.t}function gk(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}function _k(t,e,n){return t.a.parent===e.parent?t.a:n}function mk(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}function yk(){var t=hk,e=1,n=1,r=null;function i(i){var c=function(t){for(var e,n,r,i,o,a=new mk(t,0),s=[a];e=s.pop();)if(r=e._.children)for(e.children=new Array(o=r.length),i=o-1;i>=0;--i)s.push(n=e.children[i]=new mk(r[i],i)),n.parent=e;return(a.parent=new mk(null,0)).children=[a],a}(i);if(c.eachAfter(o),c.parent.m=-c.z,c.eachBefore(a),r)i.eachBefore(s);else{var u=i,l=i,f=i;i.eachBefore(function(t){t.x<u.x&&(u=t),t.x>l.x&&(l=t),t.depth>f.depth&&(f=t)});var h=u===l?1:t(u,l)/2,d=h-u.x,p=e/(l.x+h+d),g=n/(f.depth||1);i.eachBefore(function(t){t.x=(t.x+d)*p,t.y=t.depth*g})}return i}function o(e){var n=e.children,r=e.parent.children,i=e.i?r[e.i-1]:null;if(n){!function(t){for(var e,n=0,r=0,i=t.children,o=i.length;--o>=0;)(e=i[o]).z+=n,e.m+=n,n+=e.s+(r+=e.c)}(e);var o=(n[0].z+n[n.length-1].z)/2;i?(e.z=i.z+t(e._,i._),e.m=e.z-o):e.z=o}else i&&(e.z=i.z+t(e._,i._));e.parent.A=function(e,n,r){if(n){for(var i,o=e,a=e,s=n,c=o.parent.children[0],u=o.m,l=a.m,f=s.m,h=c.m;s=pk(s),o=dk(o),s&&o;)c=dk(c),(a=pk(a)).a=e,(i=s.z+f-o.z-u+t(s._,o._))>0&&(gk(_k(s,e,r),e,i),u+=i,l+=i),f+=s.m,u+=o.m,h+=c.m,l+=a.m;s&&!pk(a)&&(a.t=s,a.m+=f-l),o&&!dk(c)&&(c.t=o,c.m+=u-h,r=e)}return r}(e,i,e.parent.A||r[0])}function a(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function s(t){t.x*=e,t.y=t.depth*n}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i}function vk(t,e,n,r,i){for(var o,a=t.children,s=-1,c=a.length,u=t.value&&(i-n)/t.value;++s<c;)(o=a[s]).x0=e,o.x1=r,o.y0=n,o.y1=n+=o.value*u}mk.prototype=Object.create(OM.prototype);var bk=(1+Math.sqrt(5))/2;function wk(t,e,n,r,i,o){for(var a,s,c,u,l,f,h,d,p,g,_,m=[],y=e.children,v=0,b=0,w=y.length,x=e.value;v<w;){c=i-n,u=o-r;do{l=y[b++].value}while(!l&&b<w);for(f=h=l,_=l*l*(g=Math.max(u/c,c/u)/(x*t)),p=Math.max(h/_,_/f);b<w;++b){if(l+=s=y[b].value,s<f&&(f=s),s>h&&(h=s),_=l*l*g,(d=Math.max(h/_,_/f))>p){l-=s;break}p=d}m.push(a={value:l,dice:c<u,children:y.slice(v,b)}),a.dice?nk(a,n,r,i,x?r+=u*l/x:o):vk(a,n,r,x?n+=c*l/x:i,o),x-=l,v=b}return m}const xk=function t(e){function n(t,n,r,i,o){wk(e,t,n,r,i,o)}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}(bk);function Ek(){var t=xk,e=!1,n=1,r=1,i=[0],o=kM,a=kM,s=kM,c=kM,u=kM;function l(t){return t.x0=t.y0=0,t.x1=n,t.y1=r,t.eachBefore(f),i=[0],e&&t.eachBefore(ek),t}function f(e){var n=i[e.depth],r=e.x0+n,l=e.y0+n,f=e.x1-n,h=e.y1-n;f<r&&(r=f=(r+f)/2),h<l&&(l=h=(l+h)/2),e.x0=r,e.y0=l,e.x1=f,e.y1=h,e.children&&(n=i[e.depth+1]=o(e)/2,r+=u(e)-n,l+=a(e)-n,(f-=s(e)-n)<r&&(r=f=(r+f)/2),(h-=c(e)-n)<l&&(l=h=(l+h)/2),t(e,r,l,f,h))}return l.round=function(t){return arguments.length?(e=!!t,l):e},l.size=function(t){return arguments.length?(n=+t[0],r=+t[1],l):[n,r]},l.tile=function(e){return arguments.length?(t=MM(e),l):t},l.padding=function(t){return arguments.length?l.paddingInner(t).paddingOuter(t):l.paddingInner()},l.paddingInner=function(t){return arguments.length?(o="function"==typeof t?t:NM(+t),l):o},l.paddingOuter=function(t){return arguments.length?l.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):l.paddingTop()},l.paddingTop=function(t){return arguments.length?(a="function"==typeof t?t:NM(+t),l):a},l.paddingRight=function(t){return arguments.length?(s="function"==typeof t?t:NM(+t),l):s},l.paddingBottom=function(t){return arguments.length?(c="function"==typeof t?t:NM(+t),l):c},l.paddingLeft=function(t){return arguments.length?(u="function"==typeof t?t:NM(+t),l):u},l}function Tk(t,e,n,r,i){var o,a,s=t.children,c=s.length,u=new Array(c+1);for(u[0]=a=o=0;o<c;++o)u[o+1]=a+=s[o].value;!function t(e,n,r,i,o,a,c){if(e>=n-1){var l=s[e];return l.x0=i,l.y0=o,l.x1=a,void(l.y1=c)}for(var f=u[e],h=r/2+f,d=e+1,p=n-1;d<p;){var g=d+p>>>1;u[g]<h?d=g+1:p=g}h-u[d-1]<u[d]-h&&e+1<d&&--d;var _=u[d]-f,m=r-_;if(a-i>c-o){var y=r?(i*m+a*_)/r:a;t(e,d,_,i,o,y,c),t(d,n,m,y,o,a,c)}else{var v=r?(o*m+c*_)/r:c;t(e,d,_,i,o,a,v),t(d,n,m,i,v,a,c)}}(0,c,t.value,e,n,r,i)}function Sk(t,e,n,r,i){(1&t.depth?vk:nk)(t,e,n,r,i)}const Ok=function t(e){function n(t,n,r,i,o){if((a=t._squarify)&&a.ratio===e)for(var a,s,c,u,l,f=-1,h=a.length,d=t.value;++f<h;){for(c=(s=a[f]).children,u=s.value=0,l=c.length;u<l;++u)s.value+=c[u].value;s.dice?nk(s,n,r,i,d?r+=(o-r)*s.value/d:o):vk(s,n,r,d?n+=(i-n)*s.value/d:i,o),d-=s.value}else t._squarify=a=wk(e,t,n,r,i,o),a.ratio=e}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}(bk);function Ak(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}function Mk(t,e){var n=M_(+t,+e);return function(t){var e=n(t);return e-360*Math.floor(e/360)}}function kk(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}function Nk(t){return((t=Math.exp(t))+1/t)/2}const Pk=function t(e,n,r){function i(t,i){var o,a,s=t[0],c=t[1],u=t[2],l=i[0],f=i[1],h=i[2],d=l-s,p=f-c,g=d*d+p*p;if(g<1e-12)a=Math.log(h/u)/e,o=function(t){return[s+t*d,c+t*p,u*Math.exp(e*t*a)]};else{var _=Math.sqrt(g),m=(h*h-u*u+r*g)/(2*u*n*_),y=(h*h-u*u-r*g)/(2*h*n*_),v=Math.log(Math.sqrt(m*m+1)-m),b=Math.log(Math.sqrt(y*y+1)-y);a=(b-v)/e,o=function(t){var r,i=t*a,o=Nk(v),l=u/(n*_)*(o*(r=e*i+v,((r=Math.exp(2*r))-1)/(r+1))-function(t){return((t=Math.exp(t))-1/t)/2}(v));return[s+l*d,c+l*p,u*o/Nk(e*i+v)]}}return o.duration=1e3*a*e/Math.SQRT2,o}return i.rho=function(e){var n=Math.max(.001,+e),r=n*n;return t(n,r,r*r)},i}(Math.SQRT2,2,4);function Ck(t){return function(e,n){var r=t((e=y_(e)).h,(n=y_(n)).h),i=k_(e.s,n.s),o=k_(e.l,n.l),a=k_(e.opacity,n.opacity);return function(t){return e.h=r(t),e.s=i(t),e.l=o(t),e.opacity=a(t),e+""}}}const Rk=Ck(M_);var Ik=Ck(k_);function Dk(t,e){var n=k_((t=Ov(t)).l,(e=Ov(e)).l),r=k_(t.a,e.a),i=k_(t.b,e.b),o=k_(t.opacity,e.opacity);return function(e){return t.l=n(e),t.a=r(e),t.b=i(e),t.opacity=o(e),t+""}}function Uk(t){return function(e,n){var r=t((e=Iv(e)).h,(n=Iv(n)).h),i=k_(e.c,n.c),o=k_(e.l,n.l),a=k_(e.opacity,n.opacity);return function(t){return e.h=r(t),e.c=i(t),e.l=o(t),e.opacity=a(t),e+""}}}const jk=Uk(M_);var Lk=Uk(k_);function Vk(t){return function e(n){function r(e,r){var i=t((e=qv(e)).h,(r=qv(r)).h),o=k_(e.s,r.s),a=k_(e.l,r.l),s=k_(e.opacity,r.opacity);return function(t){return e.h=i(t),e.s=o(t),e.l=a(Math.pow(t,n)),e.opacity=s(t),e+""}}return n=+n,r.gamma=e,r}(1)}const $k=Vk(M_);var Fk=Vk(k_);function zk(t,e){void 0===e&&(e=t,t=H_);for(var n=0,r=e.length-1,i=e[0],o=new Array(r<0?0:r);n<r;)o[n]=t(i,i=e[++n]);return function(t){var e=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return o[e](t-e)}}function Bk(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t(r/(e-1));return n}function Hk(t){for(var e,n=-1,r=t.length,i=t[r-1],o=0;++n<r;)e=i,i=t[n],o+=e[1]*i[0]-e[0]*i[1];return o/2}function qk(t){for(var e,n,r=-1,i=t.length,o=0,a=0,s=t[i-1],c=0;++r<i;)e=s,s=t[r],c+=n=e[0]*s[1]-s[0]*e[1],o+=(e[0]+s[0])*n,a+=(e[1]+s[1])*n;return[o/(c*=3),a/c]}function Yk(t,e,n){return(e[0]-t[0])*(n[1]-t[1])-(e[1]-t[1])*(n[0]-t[0])}function Gk(t,e){return t[0]-e[0]||t[1]-e[1]}function Wk(t){const e=t.length,n=[0,1];let r,i=2;for(r=2;r<e;++r){for(;i>1&&Yk(t[n[i-2]],t[n[i-1]],t[r])<=0;)--i;n[i++]=r}return n.slice(0,i)}function Kk(t){if((n=t.length)<3)return null;var e,n,r=new Array(n),i=new Array(n);for(e=0;e<n;++e)r[e]=[+t[e][0],+t[e][1],e];for(r.sort(Gk),e=0;e<n;++e)i[e]=[r[e][0],-r[e][1]];var o=Wk(r),a=Wk(i),s=a[0]===o[0],c=a[a.length-1]===o[o.length-1],u=[];for(e=o.length-1;e>=0;--e)u.push(t[r[o[e]][2]]);for(e=+s;e<a.length-c;++e)u.push(t[r[a[e]][2]]);return u}function Xk(t,e){for(var n,r,i=t.length,o=t[i-1],a=e[0],s=e[1],c=o[0],u=o[1],l=!1,f=0;f<i;++f)n=(o=t[f])[0],(r=o[1])>s!=u>s&&a<(c-n)*(s-r)/(u-r)+n&&(l=!l),c=n,u=r;return l}function Jk(t){for(var e,n,r=-1,i=t.length,o=t[i-1],a=o[0],s=o[1],c=0;++r<i;)e=a,n=s,e-=a=(o=t[r])[0],n-=s=o[1],c+=Math.hypot(e,n);return c}const Zk=Math.random,Qk=function t(e){function n(t,n){return t=null==t?0:+t,n=null==n?1:+n,1===arguments.length?(n=t,t=0):n-=t,function(){return e()*n+t}}return n.source=t,n}(Zk),tN=function t(e){function n(t,n){return arguments.length<2&&(n=t,t=0),t=Math.floor(t),n=Math.floor(n)-t,function(){return Math.floor(e()*n+t)}}return n.source=t,n}(Zk),eN=function t(e){function n(t,n){var r,i;return t=null==t?0:+t,n=null==n?1:+n,function(){var o;if(null!=r)o=r,r=null;else do{r=2*e()-1,o=2*e()-1,i=r*r+o*o}while(!i||i>1);return t+n*o*Math.sqrt(-2*Math.log(i)/i)}}return n.source=t,n}(Zk),nN=function t(e){var n=eN.source(e);function r(){var t=n.apply(this,arguments);return function(){return Math.exp(t())}}return r.source=t,r}(Zk),rN=function t(e){function n(t){return(t=+t)<=0?()=>0:function(){for(var n=0,r=t;r>1;--r)n+=e();return n+r*e()}}return n.source=t,n}(Zk),iN=function t(e){var n=rN.source(e);function r(t){if(0===(t=+t))return e;var r=n(t);return function(){return r()/t}}return r.source=t,r}(Zk),oN=function t(e){function n(t){return function(){return-Math.log1p(-e())/t}}return n.source=t,n}(Zk),aN=function t(e){function n(t){if((t=+t)<0)throw new RangeError("invalid alpha");return t=1/-t,function(){return Math.pow(1-e(),t)}}return n.source=t,n}(Zk),sN=function t(e){function n(t){if((t=+t)<0||t>1)throw new RangeError("invalid p");return function(){return Math.floor(e()+t)}}return n.source=t,n}(Zk),cN=function t(e){function n(t){if((t=+t)<0||t>1)throw new RangeError("invalid p");return 0===t?()=>1/0:1===t?()=>1:(t=Math.log1p(-t),function(){return 1+Math.floor(Math.log1p(-e())/t)})}return n.source=t,n}(Zk),uN=function t(e){var n=eN.source(e)();function r(t,r){if((t=+t)<0)throw new RangeError("invalid k");if(0===t)return()=>0;if(r=null==r?1:+r,1===t)return()=>-Math.log1p(-e())*r;var i=(t<1?t+1:t)-1/3,o=1/(3*Math.sqrt(i)),a=t<1?()=>Math.pow(e(),1/t):()=>1;return function(){do{do{var t=n(),s=1+o*t}while(s<=0);s*=s*s;var c=1-e()}while(c>=1-.0331*t*t*t*t&&Math.log(c)>=.5*t*t+i*(1-s+Math.log(s)));return i*s*a()*r}}return r.source=t,r}(Zk),lN=function t(e){var n=uN.source(e);function r(t,e){var r=n(t),i=n(e);return function(){var t=r();return 0===t?0:t/(t+i())}}return r.source=t,r}(Zk),fN=function t(e){var n=cN.source(e),r=lN.source(e);function i(t,e){return t=+t,(e=+e)>=1?()=>t:e<=0?()=>0:function(){for(var i=0,o=t,a=e;o*a>16&&o*(1-a)>16;){var s=Math.floor((o+1)*a),c=r(s,o-s+1)();c<=a?(i+=s,o-=s,a=(a-c)/(1-c)):(o=s-1,a/=c)}for(var u=a<.5,l=n(u?a:1-a),f=l(),h=0;f<=o;++h)f+=l();return i+(u?h:o-h)}}return i.source=t,i}(Zk),hN=function t(e){function n(t,n,r){var i;return 0===(t=+t)?i=t=>-Math.log(t):(t=1/t,i=e=>Math.pow(e,t)),n=null==n?0:+n,r=null==r?1:+r,function(){return n+r*i(-Math.log1p(-e()))}}return n.source=t,n}(Zk),dN=function t(e){function n(t,n){return t=null==t?0:+t,n=null==n?1:+n,function(){return t+n*Math.tan(Math.PI*e())}}return n.source=t,n}(Zk),pN=function t(e){function n(t,n){return t=null==t?0:+t,n=null==n?1:+n,function(){var r=e();return t+n*Math.log(r/(1-r))}}return n.source=t,n}(Zk),gN=function t(e){var n=uN.source(e),r=fN.source(e);function i(t){return function(){for(var i=0,o=t;o>16;){var a=Math.floor(.875*o),s=n(a)();if(s>o)return i+r(a-1,o/s)();i+=a,o-=s}for(var c=-Math.log1p(-e()),u=0;c<=o;++u)c-=Math.log1p(-e());return i+u}}return i.source=t,i}(Zk),_N=1664525,mN=1013904223,yN=1/4294967296;function vN(t=Math.random()){let e=0|(0<=t&&t<1?t/yN:Math.abs(t));return()=>(e=_N*e+mN|0,yN*(e>>>0))}function bN(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function wN(t,e){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof e?this.interpolator(e):this.range(e)}return this}const xN=Symbol("implicit");function EN(){var t=new Oh,e=[],n=[],r=xN;function i(i){let o=t.get(i);if(void 0===o){if(r!==xN)return r;t.set(i,o=e.push(i)-1)}return n[o%n.length]}return i.domain=function(n){if(!arguments.length)return e.slice();e=[],t=new Oh;for(const r of n)t.has(r)||t.set(r,e.push(r)-1);return i},i.range=function(t){return arguments.length?(n=Array.from(t),i):n.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return EN(e,n).unknown(r)},bN.apply(i,arguments),i}function TN(){var t,e,n=EN().unknown(void 0),r=n.domain,i=n.range,o=0,a=1,s=!1,c=0,u=0,l=.5;function f(){var n=r().length,f=a<o,h=f?a:o,d=f?o:a;t=(d-h)/Math.max(1,n-c+2*u),s&&(t=Math.floor(t)),h+=(d-h-t*(n-c))*l,e=t*(1-c),s&&(h=Math.round(h),e=Math.round(e));var p=Ad(n).map(function(e){return h+t*e});return i(f?p.reverse():p)}return delete n.unknown,n.domain=function(t){return arguments.length?(r(t),f()):r()},n.range=function(t){return arguments.length?([o,a]=t,o=+o,a=+a,f()):[o,a]},n.rangeRound=function(t){return[o,a]=t,o=+o,a=+a,s=!0,f()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(s=!!t,f()):s},n.padding=function(t){return arguments.length?(c=Math.min(1,u=+t),f()):c},n.paddingInner=function(t){return arguments.length?(c=Math.min(1,t),f()):c},n.paddingOuter=function(t){return arguments.length?(u=+t,f()):u},n.align=function(t){return arguments.length?(l=Math.max(0,Math.min(1,t)),f()):l},n.copy=function(){return TN(r(),[o,a]).round(s).paddingInner(c).paddingOuter(u).align(l)},bN.apply(f(),arguments)}function SN(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return SN(e())},t}function ON(){return SN(TN.apply(null,arguments).paddingInner(1))}function AN(t){return+t}var MN=[0,1];function kN(t){return t}function NN(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n});var n}function PN(t,e,n){var r=t[0],i=t[1],o=e[0],a=e[1];return i<r?(r=NN(i,r),o=n(a,o)):(r=NN(r,i),o=n(o,a)),function(t){return o(r(t))}}function CN(t,e,n){var r=Math.min(t.length,e.length)-1,i=new Array(r),o=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<r;)i[a]=NN(t[a],t[a+1]),o[a]=n(e[a],e[a+1]);return function(e){var n=ah(t,e,1,r)-1;return o[n](i[n](e))}}function RN(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function IN(){var t,e,n,r,i,o,a=MN,s=MN,c=H_,u=kN;function l(){var t,e,n,c=Math.min(a.length,s.length);return u!==kN&&(t=a[0],e=a[c-1],t>e&&(n=t,t=e,e=n),u=function(n){return Math.max(t,Math.min(e,n))}),r=c>2?CN:PN,i=o=null,f}function f(e){return null==e||isNaN(e=+e)?n:(i||(i=r(a.map(t),s,c)))(t(u(e)))}return f.invert=function(n){return u(e((o||(o=r(s,a.map(t),V_)))(n)))},f.domain=function(t){return arguments.length?(a=Array.from(t,AN),l()):a.slice()},f.range=function(t){return arguments.length?(s=Array.from(t),l()):s.slice()},f.rangeRound=function(t){return s=Array.from(t),c=kk,l()},f.clamp=function(t){return arguments.length?(u=!!t||kN,l()):u!==kN},f.interpolate=function(t){return arguments.length?(c=t,l()):c},f.unknown=function(t){return arguments.length?(n=t,f):n},function(n,r){return t=n,e=r,l()}}function DN(){return IN()(kN,kN)}function UN(t,e,n,r){var i,o=id(t,e,n);switch((r=eE(r??",f")).type){case"s":var a=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(i=pE(o,a))||(r.precision=i),cE(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=gE(o,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=dE(o))||(r.precision=i-2*("%"===r.type))}return sE(r)}function jN(t){var e=t.domain;return t.ticks=function(t){var n=e();return nd(n[0],n[n.length-1],t??10)},t.tickFormat=function(t,n){var r=e();return UN(r[0],r[r.length-1],t??10,n)},t.nice=function(n){null==n&&(n=10);var r,i,o=e(),a=0,s=o.length-1,c=o[a],u=o[s],l=10;for(u<c&&(i=c,c=u,u=i,i=a,a=s,s=i);l-- >0;){if((i=rd(c,u,n))===r)return o[a]=c,o[s]=u,e(o);if(i>0)c=Math.floor(c/i)*i,u=Math.ceil(u/i)*i;else{if(!(i<0))break;c=Math.ceil(c*i)/i,u=Math.floor(u*i)/i}r=i}return t},t}function LN(){var t=DN();return t.copy=function(){return RN(t,LN())},bN.apply(t,arguments),jN(t)}function VN(t){var e;function n(t){return null==t||isNaN(t=+t)?e:t}return n.invert=n,n.domain=n.range=function(e){return arguments.length?(t=Array.from(e,AN),n):t.slice()},n.unknown=function(t){return arguments.length?(e=t,n):e},n.copy=function(){return VN(t).unknown(e)},t=arguments.length?Array.from(t,AN):[0,1],jN(n)}function $N(t,e){var n,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),t[r]=e.floor(o),t[i]=e.ceil(a),t}function FN(t){return Math.log(t)}function zN(t){return Math.exp(t)}function BN(t){return-Math.log(-t)}function HN(t){return-Math.exp(-t)}function qN(t){return isFinite(t)?+("1e"+t):t<0?0:t}function YN(t){return(e,n)=>-t(-e,n)}function GN(t){const e=t(FN,zN),n=e.domain;let r,i,o=10;function a(){return r=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),e=>Math.log(e)/t)}(o),i=function(t){return 10===t?qN:t===Math.E?Math.exp:e=>Math.pow(t,e)}(o),n()[0]<0?(r=YN(r),i=YN(i),t(BN,HN)):t(FN,zN),e}return e.base=function(t){return arguments.length?(o=+t,a()):o},e.domain=function(t){return arguments.length?(n(t),a()):n()},e.ticks=t=>{const e=n();let a=e[0],s=e[e.length-1];const c=s<a;c&&([a,s]=[s,a]);let u,l,f=r(a),h=r(s);const d=null==t?10:+t;let p=[];if(!(o%1)&&h-f<d){if(f=Math.floor(f),h=Math.ceil(h),a>0){for(;f<=h;++f)for(u=1;u<o;++u)if(l=f<0?u/i(-f):u*i(f),!(l<a)){if(l>s)break;p.push(l)}}else for(;f<=h;++f)for(u=o-1;u>=1;--u)if(l=f>0?u/i(-f):u*i(f),!(l<a)){if(l>s)break;p.push(l)}2*p.length<d&&(p=nd(a,s,d))}else p=nd(f,h,Math.min(h-f,d)).map(i);return c?p.reverse():p},e.tickFormat=(t,n)=>{if(null==t&&(t=10),null==n&&(n=10===o?"s":","),"function"!=typeof n&&(o%1||null!=(n=eE(n)).precision||(n.trim=!0),n=sE(n)),t===1/0)return n;const a=Math.max(1,o*t/e.ticks().length);return t=>{let e=t/i(Math.round(r(t)));return e*o<o-.5&&(e*=o),e<=a?n(t):""}},e.nice=()=>n($N(n(),{floor:t=>i(Math.floor(r(t))),ceil:t=>i(Math.ceil(r(t)))})),e}function WN(){const t=GN(IN()).domain([1,10]);return t.copy=()=>RN(t,WN()).base(t.base()),bN.apply(t,arguments),t}function KN(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function XN(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function JN(t){var e=1,n=t(KN(e),XN(e));return n.constant=function(n){return arguments.length?t(KN(e=+n),XN(e)):e},jN(n)}function ZN(){var t=JN(IN());return t.copy=function(){return RN(t,ZN()).constant(t.constant())},bN.apply(t,arguments)}function QN(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function tP(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function eP(t){return t<0?-t*t:t*t}function nP(t){var e=t(kN,kN),n=1;return e.exponent=function(e){return arguments.length?1===(n=+e)?t(kN,kN):.5===n?t(tP,eP):t(QN(n),QN(1/n)):n},jN(e)}function rP(){var t=nP(IN());return t.copy=function(){return RN(t,rP()).exponent(t.exponent())},bN.apply(t,arguments),t}function iP(){return rP.apply(null,arguments).exponent(.5)}function oP(t){return Math.sign(t)*t*t}function aP(){var t,e=DN(),n=[0,1],r=!1;function i(n){var i=function(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}(e(n));return isNaN(i)?t:r?Math.round(i):i}return i.invert=function(t){return e.invert(oP(t))},i.domain=function(t){return arguments.length?(e.domain(t),i):e.domain()},i.range=function(t){return arguments.length?(e.range((n=Array.from(t,AN)).map(oP)),i):n.slice()},i.rangeRound=function(t){return i.range(t).round(!0)},i.round=function(t){return arguments.length?(r=!!t,i):r},i.clamp=function(t){return arguments.length?(e.clamp(t),i):e.clamp()},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return aP(e.domain(),n).round(r).clamp(e.clamp()).unknown(t)},bN.apply(i,arguments),jN(i)}function sP(){var t,e=[],n=[],r=[];function i(){var t=0,i=Math.max(1,n.length);for(r=new Array(i-1);++t<i;)r[t-1]=_d(e,t/i);return o}function o(e){return null==e||isNaN(e=+e)?t:n[ah(r,e)]}return o.invertExtent=function(t){var i=n.indexOf(t);return i<0?[NaN,NaN]:[i>0?r[i-1]:e[0],i<r.length?r[i]:e[e.length-1]]},o.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)null==n||isNaN(n=+n)||e.push(n);return e.sort(Jf),i()},o.range=function(t){return arguments.length?(n=Array.from(t),i()):n.slice()},o.unknown=function(e){return arguments.length?(t=e,o):t},o.quantiles=function(){return r.slice()},o.copy=function(){return sP().domain(e).range(n).unknown(t)},bN.apply(o,arguments)}function cP(){var t,e=0,n=1,r=1,i=[.5],o=[0,1];function a(e){return null!=e&&e<=e?o[ah(i,e,0,r)]:t}function s(){var t=-1;for(i=new Array(r);++t<r;)i[t]=((t+1)*n-(t-r)*e)/(r+1);return a}return a.domain=function(t){return arguments.length?([e,n]=t,e=+e,n=+n,s()):[e,n]},a.range=function(t){return arguments.length?(r=(o=Array.from(t)).length-1,s()):o.slice()},a.invertExtent=function(t){var a=o.indexOf(t);return a<0?[NaN,NaN]:a<1?[e,i[0]]:a>=r?[i[r-1],n]:[i[a-1],i[a]]},a.unknown=function(e){return arguments.length?(t=e,a):a},a.thresholds=function(){return i.slice()},a.copy=function(){return cP().domain([e,n]).range(o).unknown(t)},bN.apply(jN(a),arguments)}function uP(){var t,e=[.5],n=[0,1],r=1;function i(i){return null!=i&&i<=i?n[ah(e,i,0,r)]:t}return i.domain=function(t){return arguments.length?(e=Array.from(t),r=Math.min(e.length,n.length-1),i):e.slice()},i.range=function(t){return arguments.length?(n=Array.from(t),r=Math.min(e.length,n.length-1),i):n.slice()},i.invertExtent=function(t){var r=n.indexOf(t);return[e[r-1],e[r]]},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return uP().domain(e).range(n).unknown(t)},bN.apply(i,arguments)}const lP=36e5,fP=864e5,hP=6048e5,dP=31536e6,pP=new Date,gP=new Date;function _P(t,e,n,r){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=e=>(t(e=new Date(+e)),e),i.ceil=n=>(t(n=new Date(n-1)),e(n,1),t(n),n),i.round=t=>{const e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=(t,n)=>(e(t=new Date(+t),null==n?1:Math.floor(n)),t),i.range=(n,r,o)=>{const a=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return a;let s;do{a.push(s=new Date(+n)),e(n,o),t(n)}while(s<n&&n<r);return a},i.filter=n=>_P(e=>{if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)},(t,r)=>{if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}),n&&(i.count=(e,r)=>(pP.setTime(+e),gP.setTime(+r),t(pP),t(gP),Math.floor(n(pP,gP))),i.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?e=>r(e)%t===0:e=>i.count(0,e)%t===0):i:null)),i}const mP=_P(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);mP.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?_P(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):mP:null);const yP=mP.range,vP=_P(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+1e3*e)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds()),bP=vP.range,wP=_P(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getMinutes()),xP=wP.range,EP=_P(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getUTCMinutes()),TP=EP.range,SP=_P(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},(t,e)=>{t.setTime(+t+e*lP)},(t,e)=>(e-t)/lP,t=>t.getHours()),OP=SP.range,AP=_P(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*lP)},(t,e)=>(e-t)/lP,t=>t.getUTCHours()),MP=AP.range,kP=_P(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/fP,t=>t.getDate()-1),NP=kP.range,PP=_P(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/fP,t=>t.getUTCDate()-1),CP=PP.range,RP=_P(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/fP,t=>Math.floor(t/fP)),IP=RP.range;function DP(t){return _P(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(t,e)=>{t.setDate(t.getDate()+7*e)},(t,e)=>(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/hP)}const UP=DP(0),jP=DP(1),LP=DP(2),VP=DP(3),$P=DP(4),FP=DP(5),zP=DP(6),BP=UP.range,HP=jP.range,qP=LP.range,YP=VP.range,GP=$P.range,WP=FP.range,KP=zP.range;function XP(t){return _P(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)},(t,e)=>(e-t)/hP)}const JP=XP(0),ZP=XP(1),QP=XP(2),tC=XP(3),eC=XP(4),nC=XP(5),rC=XP(6),iC=JP.range,oC=ZP.range,aC=QP.range,sC=tC.range,cC=eC.range,uC=nC.range,lC=rC.range,fC=_P(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear()),t=>t.getMonth()),hC=fC.range,dC=_P(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear()),t=>t.getUTCMonth()),pC=dC.range,gC=_P(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());gC.every=t=>isFinite(t=Math.floor(t))&&t>0?_P(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)}):null;const _C=gC.range,mC=_P(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());mC.every=t=>isFinite(t=Math.floor(t))&&t>0?_P(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null;const yC=mC.range;function vC(t,e,n,r,i,o){const a=[[vP,1,1e3],[vP,5,5e3],[vP,15,15e3],[vP,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,lP],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,fP],[r,2,1728e5],[n,1,hP],[e,1,2592e6],[e,3,7776e6],[t,1,dP]];function s(e,n,r){const i=Math.abs(n-e)/r,o=Qf(([,,t])=>t).right(a,i);if(o===a.length)return t.every(id(e/dP,n/dP,r));if(0===o)return mP.every(Math.max(id(e,n,r),1));const[s,c]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return s.every(c)}return[function(t,e,n){const r=e<t;r&&([t,e]=[e,t]);const i=n&&"function"==typeof n.range?n:s(t,e,n),o=i?i.range(t,+e+1):[];return r?o.reverse():o},s]}const[bC,wC]=vC(mC,dC,JP,RP,AP,EP),[xC,EC]=vC(gC,fC,UP,kP,SP,wP);function TC(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function SC(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function OC(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function AC(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,s=t.months,c=t.shortMonths,u=VC(i),l=$C(i),f=VC(o),h=$C(o),d=VC(a),p=$C(a),g=VC(s),_=$C(s),m=VC(c),y=$C(c),v={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:sR,e:sR,f:hR,g:ER,G:SR,H:cR,I:uR,j:lR,L:fR,m:dR,M:pR,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:WR,s:KR,S:gR,u:_R,U:mR,V:vR,w:bR,W:wR,x:null,X:null,y:xR,Y:TR,Z:OR,"%":GR},b={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:AR,e:AR,f:CR,g:BR,G:qR,H:MR,I:kR,j:NR,L:PR,m:RR,M:IR,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:WR,s:KR,S:DR,u:UR,U:jR,V:VR,w:$R,W:FR,x:null,X:null,y:zR,Y:HR,Z:YR,"%":GR},w={a:function(t,e,n){var r=d.exec(e.slice(n));return r?(t.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=f.exec(e.slice(n));return r?(t.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=m.exec(e.slice(n));return r?(t.m=y.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){var r=g.exec(e.slice(n));return r?(t.m=_.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return T(t,e,n,r)},d:JC,e:JC,f:rR,g:GC,G:YC,H:QC,I:QC,j:ZC,L:nR,m:XC,M:tR,p:function(t,e,n){var r=u.exec(e.slice(n));return r?(t.p=l.get(r[0].toLowerCase()),n+r[0].length):-1},q:KC,Q:oR,s:aR,S:eR,u:zC,U:BC,V:HC,w:FC,W:qC,x:function(t,e,r){return T(t,n,e,r)},X:function(t,e,n){return T(t,r,e,n)},y:GC,Y:YC,Z:WC,"%":iR};function x(t,e){return function(n){var r,i,o,a=[],s=-1,c=0,u=t.length;for(n instanceof Date||(n=new Date(+n));++s<u;)37===t.charCodeAt(s)&&(a.push(t.slice(c,s)),null!=(i=RC[r=t.charAt(++s)])?r=t.charAt(++s):i="e"===r?" ":"0",(o=e[r])&&(r=o(n,i)),a.push(r),c=s+1);return a.push(t.slice(c,s)),a.join("")}}function E(t,e){return function(n){var r,i,o=OC(1900,void 0,1);if(T(o,t,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(e&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=SC(OC(o.y,0,1))).getUTCDay(),r=i>4||0===i?ZP.ceil(r):ZP(r),r=PP.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=TC(OC(o.y,0,1))).getDay(),r=i>4||0===i?jP.ceil(r):jP(r),r=kP.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?SC(OC(o.y,0,1)).getUTCDay():TC(OC(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,SC(o)):TC(o)}}function T(t,e,n,r){for(var i,o,a=0,s=e.length,c=n.length;a<s;){if(r>=c)return-1;if(37===(i=e.charCodeAt(a++))){if(i=e.charAt(a++),!(o=w[i in RC?e.charAt(a++):i])||(r=o(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return v.x=x(n,v),v.X=x(r,v),v.c=x(e,v),b.x=x(n,b),b.X=x(r,b),b.c=x(e,b),{format:function(t){var e=x(t+="",v);return e.toString=function(){return t},e},parse:function(t){var e=E(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=x(t+="",b);return e.toString=function(){return t},e},utcParse:function(t){var e=E(t+="",!0);return e.toString=function(){return t},e}}}var MC,kC,NC,PC,CC,RC={"-":"",_:" ",0:"0"},IC=/^\s*\d+/,DC=/^%/,UC=/[\\^$*+?|[\]().{}]/g;function jC(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(e)+i:i)}function LC(t){return t.replace(UC,"\\$&")}function VC(t){return new RegExp("^(?:"+t.map(LC).join("|")+")","i")}function $C(t){return new Map(t.map((t,e)=>[t.toLowerCase(),e]))}function FC(t,e,n){var r=IC.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function zC(t,e,n){var r=IC.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function BC(t,e,n){var r=IC.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function HC(t,e,n){var r=IC.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function qC(t,e,n){var r=IC.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function YC(t,e,n){var r=IC.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function GC(t,e,n){var r=IC.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function WC(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function KC(t,e,n){var r=IC.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function XC(t,e,n){var r=IC.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function JC(t,e,n){var r=IC.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function ZC(t,e,n){var r=IC.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function QC(t,e,n){var r=IC.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function tR(t,e,n){var r=IC.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function eR(t,e,n){var r=IC.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function nR(t,e,n){var r=IC.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function rR(t,e,n){var r=IC.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function iR(t,e,n){var r=DC.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function oR(t,e,n){var r=IC.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function aR(t,e,n){var r=IC.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function sR(t,e){return jC(t.getDate(),e,2)}function cR(t,e){return jC(t.getHours(),e,2)}function uR(t,e){return jC(t.getHours()%12||12,e,2)}function lR(t,e){return jC(1+kP.count(gC(t),t),e,3)}function fR(t,e){return jC(t.getMilliseconds(),e,3)}function hR(t,e){return fR(t,e)+"000"}function dR(t,e){return jC(t.getMonth()+1,e,2)}function pR(t,e){return jC(t.getMinutes(),e,2)}function gR(t,e){return jC(t.getSeconds(),e,2)}function _R(t){var e=t.getDay();return 0===e?7:e}function mR(t,e){return jC(UP.count(gC(t)-1,t),e,2)}function yR(t){var e=t.getDay();return e>=4||0===e?$P(t):$P.ceil(t)}function vR(t,e){return t=yR(t),jC($P.count(gC(t),t)+(4===gC(t).getDay()),e,2)}function bR(t){return t.getDay()}function wR(t,e){return jC(jP.count(gC(t)-1,t),e,2)}function xR(t,e){return jC(t.getFullYear()%100,e,2)}function ER(t,e){return jC((t=yR(t)).getFullYear()%100,e,2)}function TR(t,e){return jC(t.getFullYear()%1e4,e,4)}function SR(t,e){var n=t.getDay();return jC((t=n>=4||0===n?$P(t):$P.ceil(t)).getFullYear()%1e4,e,4)}function OR(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+jC(e/60|0,"0",2)+jC(e%60,"0",2)}function AR(t,e){return jC(t.getUTCDate(),e,2)}function MR(t,e){return jC(t.getUTCHours(),e,2)}function kR(t,e){return jC(t.getUTCHours()%12||12,e,2)}function NR(t,e){return jC(1+PP.count(mC(t),t),e,3)}function PR(t,e){return jC(t.getUTCMilliseconds(),e,3)}function CR(t,e){return PR(t,e)+"000"}function RR(t,e){return jC(t.getUTCMonth()+1,e,2)}function IR(t,e){return jC(t.getUTCMinutes(),e,2)}function DR(t,e){return jC(t.getUTCSeconds(),e,2)}function UR(t){var e=t.getUTCDay();return 0===e?7:e}function jR(t,e){return jC(JP.count(mC(t)-1,t),e,2)}function LR(t){var e=t.getUTCDay();return e>=4||0===e?eC(t):eC.ceil(t)}function VR(t,e){return t=LR(t),jC(eC.count(mC(t),t)+(4===mC(t).getUTCDay()),e,2)}function $R(t){return t.getUTCDay()}function FR(t,e){return jC(ZP.count(mC(t)-1,t),e,2)}function zR(t,e){return jC(t.getUTCFullYear()%100,e,2)}function BR(t,e){return jC((t=LR(t)).getUTCFullYear()%100,e,2)}function HR(t,e){return jC(t.getUTCFullYear()%1e4,e,4)}function qR(t,e){var n=t.getUTCDay();return jC((t=n>=4||0===n?eC(t):eC.ceil(t)).getUTCFullYear()%1e4,e,4)}function YR(){return"+0000"}function GR(){return"%"}function WR(t){return+t}function KR(t){return Math.floor(+t/1e3)}function XR(t){return MC=AC(t),kC=MC.format,NC=MC.parse,PC=MC.utcFormat,CC=MC.utcParse,MC}function JR(t){return new Date(t)}function ZR(t){return t instanceof Date?+t:+new Date(+t)}function QR(t,e,n,r,i,o,a,s,c,u){var l=DN(),f=l.invert,h=l.domain,d=u(".%L"),p=u(":%S"),g=u("%I:%M"),_=u("%I %p"),m=u("%a %d"),y=u("%b %d"),v=u("%B"),b=u("%Y");function w(t){return(c(t)<t?d:s(t)<t?p:a(t)<t?g:o(t)<t?_:r(t)<t?i(t)<t?m:y:n(t)<t?v:b)(t)}return l.invert=function(t){return new Date(f(t))},l.domain=function(t){return arguments.length?h(Array.from(t,ZR)):h().map(JR)},l.ticks=function(e){var n=h();return t(n[0],n[n.length-1],e??10)},l.tickFormat=function(t,e){return null==e?w:u(e)},l.nice=function(t){var n=h();return t&&"function"==typeof t.range||(t=e(n[0],n[n.length-1],t??10)),t?h($N(n,t)):l},l.copy=function(){return RN(l,QR(t,e,n,r,i,o,a,s,c,u))},l}function tI(){return bN.apply(QR(xC,EC,gC,fC,UP,kP,SP,wP,vP,kC).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function eI(){return bN.apply(QR(bC,wC,mC,dC,JP,PP,AP,EP,vP,PC).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function nI(){var t,e,n,r,i,o=0,a=1,s=kN,c=!1;function u(e){return null==e||isNaN(e=+e)?i:s(0===n?.5:(e=(r(e)-t)*n,c?Math.max(0,Math.min(1,e)):e))}function l(t){return function(e){var n,r;return arguments.length?([n,r]=e,s=t(n,r),u):[s(0),s(1)]}}return u.domain=function(i){return arguments.length?([o,a]=i,t=r(o=+o),e=r(a=+a),n=t===e?0:1/(e-t),u):[o,a]},u.clamp=function(t){return arguments.length?(c=!!t,u):c},u.interpolator=function(t){return arguments.length?(s=t,u):s},u.range=l(H_),u.rangeRound=l(kk),u.unknown=function(t){return arguments.length?(i=t,u):i},function(i){return r=i,t=i(o),e=i(a),n=t===e?0:1/(e-t),u}}function rI(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function iI(){var t=jN(nI()(kN));return t.copy=function(){return rI(t,iI())},wN.apply(t,arguments)}function oI(){var t=GN(nI()).domain([1,10]);return t.copy=function(){return rI(t,oI()).base(t.base())},wN.apply(t,arguments)}function aI(){var t=JN(nI());return t.copy=function(){return rI(t,aI()).constant(t.constant())},wN.apply(t,arguments)}function sI(){var t=nP(nI());return t.copy=function(){return rI(t,sI()).exponent(t.exponent())},wN.apply(t,arguments)}function cI(){return sI.apply(null,arguments).exponent(.5)}function uI(){var t=[],e=kN;function n(n){if(null!=n&&!isNaN(n=+n))return e((ah(t,n,1)-1)/(t.length-1))}return n.domain=function(e){if(!arguments.length)return t.slice();t=[];for(let n of e)null==n||isNaN(n=+n)||t.push(n);return t.sort(Jf),n},n.interpolator=function(t){return arguments.length?(e=t,n):e},n.range=function(){return t.map((n,r)=>e(r/(t.length-1)))},n.quantiles=function(e){return Array.from({length:e+1},(n,r)=>gd(t,r/e))},n.copy=function(){return uI(e).domain(t)},wN.apply(n,arguments)}function lI(){var t,e,n,r,i,o,a,s=0,c=.5,u=1,l=1,f=kN,h=!1;function d(t){return isNaN(t=+t)?a:(t=.5+((t=+o(t))-e)*(l*t<l*e?r:i),f(h?Math.max(0,Math.min(1,t)):t))}function p(t){return function(e){var n,r,i;return arguments.length?([n,r,i]=e,f=zk(t,[n,r,i]),d):[f(0),f(.5),f(1)]}}return d.domain=function(a){return arguments.length?([s,c,u]=a,t=o(s=+s),e=o(c=+c),n=o(u=+u),r=t===e?0:.5/(e-t),i=e===n?0:.5/(n-e),l=e<t?-1:1,d):[s,c,u]},d.clamp=function(t){return arguments.length?(h=!!t,d):h},d.interpolator=function(t){return arguments.length?(f=t,d):f},d.range=p(H_),d.rangeRound=p(kk),d.unknown=function(t){return arguments.length?(a=t,d):a},function(a){return o=a,t=a(s),e=a(c),n=a(u),r=t===e?0:.5/(e-t),i=e===n?0:.5/(n-e),l=e<t?-1:1,d}}function fI(){var t=jN(lI()(kN));return t.copy=function(){return rI(t,fI())},wN.apply(t,arguments)}function hI(){var t=GN(lI()).domain([.1,1,10]);return t.copy=function(){return rI(t,hI()).base(t.base())},wN.apply(t,arguments)}function dI(){var t=JN(lI());return t.copy=function(){return rI(t,dI()).constant(t.constant())},wN.apply(t,arguments)}function pI(){var t=nP(lI());return t.copy=function(){return rI(t,pI()).exponent(t.exponent())},wN.apply(t,arguments)}function gI(){return pI.apply(null,arguments).exponent(.5)}function _I(t){for(var e=t.length/6|0,n=new Array(e),r=0;r<e;)n[r]="#"+t.slice(6*r,6*++r);return n}XR({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"]});const mI=_I("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),yI=_I("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),vI=_I("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),bI=_I("4269d0efb118ff725c6cc5b03ca951ff8ab7a463f297bbf59c6b4e9498a0"),wI=_I("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),xI=_I("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),EI=_I("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),TI=_I("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),SI=_I("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),OI=_I("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),AI=_I("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),MI=t=>C_(t[t.length-1]);var kI=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(_I);const NI=MI(kI);var PI=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(_I);const CI=MI(PI);var RI=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(_I);const II=MI(RI);var DI=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(_I);const UI=MI(DI);var jI=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(_I);const LI=MI(jI);var VI=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(_I);const $I=MI(VI);var FI=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(_I);const zI=MI(FI);var BI=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(_I);const HI=MI(BI);var qI=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(_I);const YI=MI(qI);var GI=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(_I);const WI=MI(GI);var KI=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(_I);const XI=MI(KI);var JI=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(_I);const ZI=MI(JI);var QI=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(_I);const tD=MI(QI);var eD=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(_I);const nD=MI(eD);var rD=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(_I);const iD=MI(rD);var oD=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(_I);const aD=MI(oD);var sD=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(_I);const cD=MI(sD);var uD=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(_I);const lD=MI(uD);var fD=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(_I);const hD=MI(fD);var dD=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(_I);const pD=MI(dD);var gD=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(_I);const _D=MI(gD);var mD=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(_I);const yD=MI(mD);var vD=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(_I);const bD=MI(vD);var wD=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(_I);const xD=MI(wD);var ED=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(_I);const TD=MI(ED);var SD=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(_I);const OD=MI(SD);var AD=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(_I);const MD=MI(AD);function kD(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-t*(35.34-t*(2381.73-t*(6402.7-t*(7024.72-2710.57*t)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+t*(170.73+t*(52.82-t*(131.46-t*(176.58-67.37*t)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+t*(442.36-t*(2482.43-t*(6167.24-t*(6614.94-2475.67*t)))))))+")"}const ND=Fk(qv(300,.5,0),qv(-240,.5,1));var PD=Fk(qv(-100,.75,.35),qv(80,1.5,.8)),CD=Fk(qv(260,.75,.35),qv(80,1.5,.8)),RD=qv();function ID(t){(t<0||t>1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return RD.h=360*t-100,RD.s=1.5-1.5*e,RD.l=.8-.9*e,RD+""}var DD=u_(),UD=Math.PI/3,jD=2*Math.PI/3;function LD(t){var e;return t=(.5-t)*Math.PI,DD.r=255*(e=Math.sin(t))*e,DD.g=255*(e=Math.sin(t+UD))*e,DD.b=255*(e=Math.sin(t+jD))*e,DD+""}function VD(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+t*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"}function $D(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}const FD=$D(_I("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var zD=$D(_I("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),BD=$D(_I("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),HD=$D(_I("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function qD(t){return Ig(bg(t).call(document.documentElement))}var YD=0;function GD(){return new WD}function WD(){this._="@"+(++YD).toString(36)}function KD(t,e){return t.target&&(t=q_(t),void 0===e&&(e=t.currentTarget),t=t.touches||[t]),Array.from(t,t=>Y_(t,e))}function XD(t){return"string"==typeof t?new Pg([document.querySelectorAll(t)],[document.documentElement]):new Pg([Ep(t)],Ng)}function JD(t){return function(){return t}}WD.prototype=GD.prototype={constructor:WD,get:function(t){for(var e=this._;!(e in t);)if(!(t=t.parentNode))return;return t[e]},set:function(t,e){return t[this._]=e},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};const ZD=Math.abs,QD=Math.atan2,tU=Math.cos,eU=Math.max,nU=Math.min,rU=Math.sin,iU=Math.sqrt,oU=Math.PI,aU=oU/2,sU=2*oU;function cU(t){return t>=1?aU:t<=-1?-aU:Math.asin(t)}function uU(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(null==n)e=null;else{const t=Math.floor(n);if(!(t>=0))throw new RangeError(`invalid digits: ${n}`);e=t}return t},()=>new tv(e)}function lU(t){return t.innerRadius}function fU(t){return t.outerRadius}function hU(t){return t.startAngle}function dU(t){return t.endAngle}function pU(t){return t&&t.padAngle}function gU(t,e,n,r,i,o,a){var s=t-n,c=e-r,u=(a?o:-o)/iU(s*s+c*c),l=u*c,f=-u*s,h=t+l,d=e+f,p=n+l,g=r+f,_=(h+p)/2,m=(d+g)/2,y=p-h,v=g-d,b=y*y+v*v,w=i-o,x=h*g-p*d,E=(v<0?-1:1)*iU(eU(0,w*w*b-x*x)),T=(x*v-y*E)/b,S=(-x*y-v*E)/b,O=(x*v+y*E)/b,A=(-x*y+v*E)/b,M=T-_,k=S-m,N=O-_,P=A-m;return M*M+k*k>N*N+P*P&&(T=O,S=A),{cx:T,cy:S,x01:-l,y01:-f,x11:T*(i/w-1),y11:S*(i/w-1)}}function _U(){var t=lU,e=fU,n=JD(0),r=null,i=hU,o=dU,a=pU,s=null,c=uU(u);function u(){var u,l,f,h=+t.apply(this,arguments),d=+e.apply(this,arguments),p=i.apply(this,arguments)-aU,g=o.apply(this,arguments)-aU,_=ZD(g-p),m=g>p;if(s||(s=u=c()),d<h&&(l=d,d=h,h=l),d>1e-12)if(_>sU-1e-12)s.moveTo(d*tU(p),d*rU(p)),s.arc(0,0,d,p,g,!m),h>1e-12&&(s.moveTo(h*tU(g),h*rU(g)),s.arc(0,0,h,g,p,m));else{var y,v,b=p,w=g,x=p,E=g,T=_,S=_,O=a.apply(this,arguments)/2,A=O>1e-12&&(r?+r.apply(this,arguments):iU(h*h+d*d)),M=nU(ZD(d-h)/2,+n.apply(this,arguments)),k=M,N=M;if(A>1e-12){var P=cU(A/h*rU(O)),C=cU(A/d*rU(O));(T-=2*P)>1e-12?(x+=P*=m?1:-1,E-=P):(T=0,x=E=(p+g)/2),(S-=2*C)>1e-12?(b+=C*=m?1:-1,w-=C):(S=0,b=w=(p+g)/2)}var R=d*tU(b),I=d*rU(b),D=h*tU(E),U=h*rU(E);if(M>1e-12){var j,L=d*tU(w),V=d*rU(w),$=h*tU(x),F=h*rU(x);if(_<oU)if(j=function(t,e,n,r,i,o,a,s){var c=n-t,u=r-e,l=a-i,f=s-o,h=f*c-l*u;if(!(h*h<1e-12))return[t+(h=(l*(e-o)-f*(t-i))/h)*c,e+h*u]}(R,I,$,F,L,V,D,U)){var z=R-j[0],B=I-j[1],H=L-j[0],q=V-j[1],Y=1/rU(((f=(z*H+B*q)/(iU(z*z+B*B)*iU(H*H+q*q)))>1?0:f<-1?oU:Math.acos(f))/2),G=iU(j[0]*j[0]+j[1]*j[1]);k=nU(M,(h-G)/(Y-1)),N=nU(M,(d-G)/(Y+1))}else k=N=0}S>1e-12?N>1e-12?(y=gU($,F,R,I,d,N,m),v=gU(L,V,D,U,d,N,m),s.moveTo(y.cx+y.x01,y.cy+y.y01),N<M?s.arc(y.cx,y.cy,N,QD(y.y01,y.x01),QD(v.y01,v.x01),!m):(s.arc(y.cx,y.cy,N,QD(y.y01,y.x01),QD(y.y11,y.x11),!m),s.arc(0,0,d,QD(y.cy+y.y11,y.cx+y.x11),QD(v.cy+v.y11,v.cx+v.x11),!m),s.arc(v.cx,v.cy,N,QD(v.y11,v.x11),QD(v.y01,v.x01),!m))):(s.moveTo(R,I),s.arc(0,0,d,b,w,!m)):s.moveTo(R,I),h>1e-12&&T>1e-12?k>1e-12?(y=gU(D,U,L,V,h,-k,m),v=gU(R,I,$,F,h,-k,m),s.lineTo(y.cx+y.x01,y.cy+y.y01),k<M?s.arc(y.cx,y.cy,k,QD(y.y01,y.x01),QD(v.y01,v.x01),!m):(s.arc(y.cx,y.cy,k,QD(y.y01,y.x01),QD(y.y11,y.x11),!m),s.arc(0,0,h,QD(y.cy+y.y11,y.cx+y.x11),QD(v.cy+v.y11,v.cx+v.x11),m),s.arc(v.cx,v.cy,k,QD(v.y11,v.x11),QD(v.y01,v.x01),!m))):s.arc(0,0,h,E,x,m):s.lineTo(D,U)}else s.moveTo(0,0);if(s.closePath(),u)return s=null,u+""||null}return u.centroid=function(){var n=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-oU/2;return[tU(r)*n,rU(r)*n]},u.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:JD(+e),u):t},u.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:JD(+t),u):e},u.cornerRadius=function(t){return arguments.length?(n="function"==typeof t?t:JD(+t),u):n},u.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:JD(+t),u):r},u.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:JD(+t),u):i},u.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:JD(+t),u):o},u.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:JD(+t),u):a},u.context=function(t){return arguments.length?(s=t??null,u):s},u}var mU=Array.prototype.slice;function yU(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function vU(t){this._context=t}function bU(t){return new vU(t)}function wU(t){return t[0]}function xU(t){return t[1]}function EU(t,e){var n=JD(!0),r=null,i=bU,o=null,a=uU(s);function s(s){var c,u,l,f=(s=yU(s)).length,h=!1;for(null==r&&(o=i(l=a())),c=0;c<=f;++c)!(c<f&&n(u=s[c],c,s))===h&&((h=!h)?o.lineStart():o.lineEnd()),h&&o.point(+t(u,c,s),+e(u,c,s));if(l)return o=null,l+""||null}return t="function"==typeof t?t:void 0===t?wU:JD(t),e="function"==typeof e?e:void 0===e?xU:JD(e),s.x=function(e){return arguments.length?(t="function"==typeof e?e:JD(+e),s):t},s.y=function(t){return arguments.length?(e="function"==typeof t?t:JD(+t),s):e},s.defined=function(t){return arguments.length?(n="function"==typeof t?t:JD(!!t),s):n},s.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),s):i},s.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),s):r},s}function TU(t,e,n){var r=null,i=JD(!0),o=null,a=bU,s=null,c=uU(u);function u(u){var l,f,h,d,p,g=(u=yU(u)).length,_=!1,m=new Array(g),y=new Array(g);for(null==o&&(s=a(p=c())),l=0;l<=g;++l){if(!(l<g&&i(d=u[l],l,u))===_)if(_=!_)f=l,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),h=l-1;h>=f;--h)s.point(m[h],y[h]);s.lineEnd(),s.areaEnd()}_&&(m[l]=+t(d,l,u),y[l]=+e(d,l,u),s.point(r?+r(d,l,u):m[l],n?+n(d,l,u):y[l]))}if(p)return s=null,p+""||null}function l(){return EU().defined(i).curve(a).context(o)}return t="function"==typeof t?t:void 0===t?wU:JD(+t),e="function"==typeof e?e:JD(void 0===e?0:+e),n="function"==typeof n?n:void 0===n?xU:JD(+n),u.x=function(e){return arguments.length?(t="function"==typeof e?e:JD(+e),r=null,u):t},u.x0=function(e){return arguments.length?(t="function"==typeof e?e:JD(+e),u):t},u.x1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:JD(+t),u):r},u.y=function(t){return arguments.length?(e="function"==typeof t?t:JD(+t),n=null,u):e},u.y0=function(t){return arguments.length?(e="function"==typeof t?t:JD(+t),u):e},u.y1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:JD(+t),u):n},u.lineX0=u.lineY0=function(){return l().x(t).y(e)},u.lineY1=function(){return l().x(t).y(n)},u.lineX1=function(){return l().x(r).y(e)},u.defined=function(t){return arguments.length?(i="function"==typeof t?t:JD(!!t),u):i},u.curve=function(t){return arguments.length?(a=t,null!=o&&(s=a(o)),u):a},u.context=function(t){return arguments.length?(null==t?o=s=null:s=a(o=t),u):o},u}function SU(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function OU(t){return t}function AU(){var t=OU,e=SU,n=null,r=JD(0),i=JD(sU),o=JD(0);function a(a){var s,c,u,l,f,h=(a=yU(a)).length,d=0,p=new Array(h),g=new Array(h),_=+r.apply(this,arguments),m=Math.min(sU,Math.max(-sU,i.apply(this,arguments)-_)),y=Math.min(Math.abs(m)/h,o.apply(this,arguments)),v=y*(m<0?-1:1);for(s=0;s<h;++s)(f=g[p[s]=s]=+t(a[s],s,a))>0&&(d+=f);for(null!=e?p.sort(function(t,n){return e(g[t],g[n])}):null!=n&&p.sort(function(t,e){return n(a[t],a[e])}),s=0,u=d?(m-h*v)/d:0;s<h;++s,_=l)c=p[s],l=_+((f=g[c])>0?f*u:0)+v,g[c]={data:a[c],index:s,value:f,startAngle:_,endAngle:l,padAngle:y};return g}return a.value=function(e){return arguments.length?(t="function"==typeof e?e:JD(+e),a):t},a.sortValues=function(t){return arguments.length?(e=t,n=null,a):e},a.sort=function(t){return arguments.length?(n=t,e=null,a):n},a.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:JD(+t),a):r},a.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:JD(+t),a):i},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:JD(+t),a):o},a}vU.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}};var MU=NU(bU);function kU(t){this._curve=t}function NU(t){function e(e){return new kU(t(e))}return e._curve=t,e}function PU(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(NU(t)):e()._curve},t}function CU(){return PU(EU().curve(MU))}function RU(){var t=TU().curve(MU),e=t.curve,n=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return PU(n())},delete t.lineX0,t.lineEndAngle=function(){return PU(r())},delete t.lineX1,t.lineInnerRadius=function(){return PU(i())},delete t.lineY0,t.lineOuterRadius=function(){return PU(o())},delete t.lineY1,t.curve=function(t){return arguments.length?e(NU(t)):e()._curve},t}function IU(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]}kU.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};class DU{constructor(t,e){this._context=t,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}class UU{constructor(t){this._context=t}lineStart(){this._point=0}lineEnd(){}point(t,e){if(t=+t,e=+e,0===this._point)this._point=1;else{const n=IU(this._x0,this._y0),r=IU(this._x0,this._y0=(this._y0+e)/2),i=IU(t,this._y0),o=IU(t,e);this._context.moveTo(...n),this._context.bezierCurveTo(...r,...i,...o)}this._x0=t,this._y0=e}}function jU(t){return new DU(t,!0)}function LU(t){return new DU(t,!1)}function VU(t){return new UU(t)}function $U(t){return t.source}function FU(t){return t.target}function zU(t){let e=$U,n=FU,r=wU,i=xU,o=null,a=null,s=uU(c);function c(){let c;const u=mU.call(arguments),l=e.apply(this,u),f=n.apply(this,u);if(null==o&&(a=t(c=s())),a.lineStart(),u[0]=l,a.point(+r.apply(this,u),+i.apply(this,u)),u[0]=f,a.point(+r.apply(this,u),+i.apply(this,u)),a.lineEnd(),c)return a=null,c+""||null}return c.source=function(t){return arguments.length?(e=t,c):e},c.target=function(t){return arguments.length?(n=t,c):n},c.x=function(t){return arguments.length?(r="function"==typeof t?t:JD(+t),c):r},c.y=function(t){return arguments.length?(i="function"==typeof t?t:JD(+t),c):i},c.context=function(e){return arguments.length?(null==e?o=a=null:a=t(o=e),c):o},c}function BU(){return zU(jU)}function HU(){return zU(LU)}function qU(){const t=zU(VU);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}const YU=iU(3),GU={draw(t,e){const n=.59436*iU(e+nU(e/28,.75)),r=n/2,i=r*YU;t.moveTo(0,n),t.lineTo(0,-n),t.moveTo(-i,-r),t.lineTo(i,r),t.moveTo(-i,r),t.lineTo(i,-r)}},WU={draw(t,e){const n=iU(e/oU);t.moveTo(n,0),t.arc(0,0,n,0,sU)}},KU={draw(t,e){const n=iU(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},XU=iU(1/3),JU=2*XU,ZU={draw(t,e){const n=iU(e/JU),r=n*XU;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}},QU={draw(t,e){const n=.62625*iU(e);t.moveTo(0,-n),t.lineTo(n,0),t.lineTo(0,n),t.lineTo(-n,0),t.closePath()}},tj={draw(t,e){const n=.87559*iU(e-nU(e/7,2));t.moveTo(-n,0),t.lineTo(n,0),t.moveTo(0,n),t.lineTo(0,-n)}},ej={draw(t,e){const n=iU(e),r=-n/2;t.rect(r,r,n,n)}},nj={draw(t,e){const n=.4431*iU(e);t.moveTo(n,n),t.lineTo(n,-n),t.lineTo(-n,-n),t.lineTo(-n,n),t.closePath()}},rj=rU(oU/10)/rU(7*oU/10),ij=rU(sU/10)*rj,oj=-tU(sU/10)*rj,aj={draw(t,e){const n=iU(.8908130915292852*e),r=ij*n,i=oj*n;t.moveTo(0,-n),t.lineTo(r,i);for(let e=1;e<5;++e){const o=sU*e/5,a=tU(o),s=rU(o);t.lineTo(s*n,-a*n),t.lineTo(a*r-s*i,s*r+a*i)}t.closePath()}},sj=iU(3),cj={draw(t,e){const n=-iU(e/(3*sj));t.moveTo(0,2*n),t.lineTo(-sj*n,-n),t.lineTo(sj*n,-n),t.closePath()}},uj=iU(3),lj={draw(t,e){const n=.6824*iU(e),r=n/2,i=n*uj/2;t.moveTo(0,-n),t.lineTo(i,r),t.lineTo(-i,r),t.closePath()}},fj=-.5,hj=iU(3)/2,dj=1/iU(12),pj=3*(dj/2+1),gj={draw(t,e){const n=iU(e/pj),r=n/2,i=n*dj,o=r,a=n*dj+n,s=-o,c=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(s,c),t.lineTo(fj*r-hj*i,hj*r+fj*i),t.lineTo(fj*o-hj*a,hj*o+fj*a),t.lineTo(fj*s-hj*c,hj*s+fj*c),t.lineTo(fj*r+hj*i,fj*i-hj*r),t.lineTo(fj*o+hj*a,fj*a-hj*o),t.lineTo(fj*s+hj*c,fj*c-hj*s),t.closePath()}},_j={draw(t,e){const n=.6189*iU(e-nU(e/6,1.7));t.moveTo(-n,-n),t.lineTo(n,n),t.moveTo(-n,n),t.lineTo(n,-n)}},mj=[WU,KU,ZU,ej,aj,cj,gj],yj=[WU,tj,_j,lj,GU,nj,QU];function vj(t,e){let n=null,r=uU(i);function i(){let i;if(n||(n=i=r()),t.apply(this,arguments).draw(n,+e.apply(this,arguments)),i)return n=null,i+""||null}return t="function"==typeof t?t:JD(t||WU),e="function"==typeof e?e:JD(void 0===e?64:+e),i.type=function(e){return arguments.length?(t="function"==typeof e?e:JD(e),i):t},i.size=function(t){return arguments.length?(e="function"==typeof t?t:JD(+t),i):e},i.context=function(t){return arguments.length?(n=t??null,i):n},i}function bj(){}function wj(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function xj(t){this._context=t}function Ej(t){return new xj(t)}function Tj(t){this._context=t}function Sj(t){return new Tj(t)}function Oj(t){this._context=t}function Aj(t){return new Oj(t)}function Mj(t,e){this._basis=new xj(t),this._beta=e}xj.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:wj(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:wj(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Tj.prototype={areaStart:bj,areaEnd:bj,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:wj(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Oj.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:wj(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Mj.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,i=t[0],o=e[0],a=t[n]-i,s=e[n]-o,c=-1;++c<=n;)r=c/n,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+r*a),this._beta*e[c]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};const kj=function t(e){function n(t){return 1===e?new xj(t):new Mj(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function Nj(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function Pj(t,e){this._context=t,this._k=(1-e)/6}Pj.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Nj(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:Nj(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Cj=function t(e){function n(t){return new Pj(t,e)}return n.tension=function(e){return t(+e)},n}(0);function Rj(t,e){this._context=t,this._k=(1-e)/6}Rj.prototype={areaStart:bj,areaEnd:bj,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Nj(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Ij=function t(e){function n(t){return new Rj(t,e)}return n.tension=function(e){return t(+e)},n}(0);function Dj(t,e){this._context=t,this._k=(1-e)/6}Dj.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Nj(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Uj=function t(e){function n(t){return new Dj(t,e)}return n.tension=function(e){return t(+e)},n}(0);function jj(t,e,n){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>1e-12){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>1e-12){var u=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*u+t._x1*t._l23_2a-e*t._l12_2a)/l,a=(a*u+t._y1*t._l23_2a-n*t._l12_2a)/l}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function Lj(t,e){this._context=t,this._alpha=e}Lj.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:jj(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Vj=function t(e){function n(t){return e?new Lj(t,e):new Pj(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function $j(t,e){this._context=t,this._alpha=e}$j.prototype={areaStart:bj,areaEnd:bj,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:jj(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Fj=function t(e){function n(t){return e?new $j(t,e):new Rj(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function zj(t,e){this._context=t,this._alpha=e}zj.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:jj(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Bj=function t(e){function n(t){return e?new zj(t,e):new Dj(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Hj(t){this._context=t}function qj(t){return new Hj(t)}function Yj(t){return t<0?-1:1}function Gj(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(n-t._y1)/(i||r<0&&-0),s=(o*i+a*r)/(r+i);return(Yj(o)+Yj(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function Wj(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function Kj(t,e,n){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,s=(o-r)/3;t._context.bezierCurveTo(r+s,i+s*e,o-s,a-s*n,o,a)}function Xj(t){this._context=t}function Jj(t){this._context=new Zj(t)}function Zj(t){this._context=t}function Qj(t){return new Xj(t)}function tL(t){return new Jj(t)}function eL(t){this._context=t}function nL(t){var e,n,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/o[e-1],o[e]-=n,a[e]-=n*a[e-1];for(i[r-1]=a[r-1]/o[r-1],e=r-2;e>=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(o[r-1]=(t[r]+i[r-1])/2,e=0;e<r-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}function rL(t){return new eL(t)}function iL(t,e){this._context=t,this._t=e}function oL(t){return new iL(t,.5)}function aL(t){return new iL(t,0)}function sL(t){return new iL(t,1)}function cL(t,e){if((i=t.length)>1)for(var n,r,i,o=1,a=t[e[0]],s=a.length;o<i;++o)for(r=a,a=t[e[o]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function uL(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e;return n}function lL(t,e){return t[e]}function fL(t){const e=[];return e.key=t,e}function hL(){var t=JD([]),e=uL,n=cL,r=lL;function i(i){var o,a,s=Array.from(t.apply(this,arguments),fL),c=s.length,u=-1;for(const t of i)for(o=0,++u;o<c;++o)(s[o][u]=[0,+r(t,s[o].key,u,i)]).data=t;for(o=0,a=yU(e(s));o<c;++o)s[a[o]].index=o;return n(s,a),s}return i.keys=function(e){return arguments.length?(t="function"==typeof e?e:JD(Array.from(e)),i):t},i.value=function(t){return arguments.length?(r="function"==typeof t?t:JD(+t),i):r},i.order=function(t){return arguments.length?(e=null==t?uL:"function"==typeof t?t:JD(Array.from(t)),i):e},i.offset=function(t){return arguments.length?(n=t??cL,i):n},i}function dL(t,e){if((r=t.length)>0){for(var n,r,i,o=0,a=t[0].length;o<a;++o){for(i=n=0;n<r;++n)i+=t[n][o][1]||0;if(i)for(n=0;n<r;++n)t[n][o][1]/=i}cL(t,e)}}function pL(t,e){if((s=t.length)>0)for(var n,r,i,o,a,s,c=0,u=t[e[0]].length;c<u;++c)for(o=a=0,n=0;n<s;++n)(i=(r=t[e[n]][c])[1]-r[0])>0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=a,r[0]=a+=i):(r[0]=0,r[1]=i)}function gL(t,e){if((n=t.length)>0){for(var n,r=0,i=t[e[0]],o=i.length;r<o;++r){for(var a=0,s=0;a<n;++a)s+=t[a][r][1]||0;i[r][1]+=i[r][0]=-s/2}cL(t,e)}}function _L(t,e){if((i=t.length)>0&&(r=(n=t[e[0]]).length)>0){for(var n,r,i,o=0,a=1;a<r;++a){for(var s=0,c=0,u=0;s<i;++s){for(var l=t[e[s]],f=l[a][1]||0,h=(f-(l[a-1][1]||0))/2,d=0;d<s;++d){var p=t[e[d]];h+=(p[a][1]||0)-(p[a-1][1]||0)}c+=f,u+=h*f}n[a-1][1]+=n[a-1][0]=o,c&&(o-=u/c)}n[a-1][1]+=n[a-1][0]=o,cL(t,e)}}function mL(t){var e=t.map(yL);return uL(t).sort(function(t,n){return e[t]-e[n]})}function yL(t){for(var e,n=-1,r=0,i=t.length,o=-1/0;++n<i;)(e=+t[n][1])>o&&(o=e,r=n);return r}function vL(t){var e=t.map(bL);return uL(t).sort(function(t,n){return e[t]-e[n]})}function bL(t){for(var e,n=0,r=-1,i=t.length;++r<i;)(e=+t[r][1])&&(n+=e);return n}function wL(t){return vL(t).reverse()}function xL(t){var e,n,r=t.length,i=t.map(bL),o=mL(t),a=0,s=0,c=[],u=[];for(e=0;e<r;++e)n=o[e],a<s?(a+=i[n],c.push(n)):(s+=i[n],u.push(n));return u.reverse().concat(c)}function EL(t){return uL(t).reverse()}Hj.prototype={areaStart:bj,areaEnd:bj,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},Xj.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Kj(this,this._t0,Wj(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,Kj(this,Wj(this,n=Gj(this,t,e)),n);break;default:Kj(this,this._t0,n=Gj(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(Jj.prototype=Object.create(Xj.prototype)).point=function(t,e){Xj.prototype.point.call(this,e,t)},Zj.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,o){this._context.bezierCurveTo(e,t,r,n,o,i)}},eL.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=nL(t),i=nL(e),o=0,a=1;a<n;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[a],e[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},iL.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};var TL="%Y-%m-%dT%H:%M:%S.%LZ",SL=Date.prototype.toISOString?function(t){return t.toISOString()}:PC(TL);const OL=SL;var AL=+new Date("2000-01-01T00:00:00.000Z")?function(t){var e=new Date(t);return isNaN(e)?null:e}:CC(TL);const ML=AL;function kL(t,e,n){var r=new om,i=e;return null==e?(r.restart(t,e,n),r):(r._restart=r.restart,r.restart=function(t,e,n){e=+e,n=null==n?rm():+n,r._restart(function o(a){a+=i,r._restart(o,i+=e,n),t(a)},e,n)},r.restart(t,e,n),r)}const NL=t=>()=>t;function PL(t,{sourceEvent:e,target:n,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function CL(t,e,n){this.k=t,this.x=e,this.y=n}CL.prototype={constructor:CL,scale:function(t){return 1===t?this:new CL(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new CL(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var RL=new CL(1,0,0);function IL(t){for(;!t.__zoom;)if(!(t=t.parentNode))return RL;return t.__zoom}function DL(t){t.stopImmediatePropagation()}function UL(t){t.preventDefault(),t.stopImmediatePropagation()}function jL(t){return!(t.ctrlKey&&"wheel"!==t.type||t.button)}function LL(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function VL(){return this.__zoom||RL}function $L(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function FL(){return navigator.maxTouchPoints||"ontouchstart"in this}function zL(t,e,n){var r=t.invertX(e[0][0])-n[0][0],i=t.invertX(e[1][0])-n[1][0],o=t.invertY(e[0][1])-n[0][1],a=t.invertY(e[1][1])-n[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}function BL(){var t,e,n,r=jL,i=LL,o=zL,a=$L,s=FL,c=[0,1/0],u=[[-1/0,-1/0],[1/0,1/0]],l=250,f=Pk,h=bp("start","zoom","end"),d=0,p=10;function g(t){t.property("__zoom",VL).on("wheel.zoom",x,{passive:!1}).on("mousedown.zoom",E).on("dblclick.zoom",T).filter(s).on("touchstart.zoom",S).on("touchmove.zoom",O).on("touchend.zoom touchcancel.zoom",A).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function _(t,e){return(e=Math.max(c[0],Math.min(c[1],e)))===t.k?t:new CL(e,t.x,t.y)}function m(t,e,n){var r=e[0]-n[0]*t.k,i=e[1]-n[1]*t.k;return r===t.x&&i===t.y?t:new CL(t.k,r,i)}function y(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function v(t,e,n,r){t.on("start.zoom",function(){b(this,arguments).event(r).start()}).on("interrupt.zoom end.zoom",function(){b(this,arguments).event(r).end()}).tween("zoom",function(){var t=this,o=arguments,a=b(t,o).event(r),s=i.apply(t,o),c=null==n?y(s):"function"==typeof n?n.apply(t,o):n,u=Math.max(s[1][0]-s[0][0],s[1][1]-s[0][1]),l=t.__zoom,h="function"==typeof e?e.apply(t,o):e,d=f(l.invert(c).concat(u/l.k),h.invert(c).concat(u/h.k));return function(t){if(1===t)t=h;else{var e=d(t),n=u/e[2];t=new CL(n,c[0]-e[0]*n,c[1]-e[1]*n)}a.zoom(null,t)}})}function b(t,e,n){return!n&&t.__zooming||new w(t,e)}function w(t,e){this.that=t,this.args=e,this.active=0,this.sourceEvent=null,this.extent=i.apply(t,e),this.taps=0}function x(t,...e){if(r.apply(this,arguments)){var n=b(this,e).event(t),i=this.__zoom,s=Math.max(c[0],Math.min(c[1],i.k*Math.pow(2,a.apply(this,arguments)))),l=Y_(t);if(n.wheel)n.mouse[0][0]===l[0]&&n.mouse[0][1]===l[1]||(n.mouse[1]=i.invert(n.mouse[0]=l)),clearTimeout(n.wheel);else{if(i.k===s)return;n.mouse=[l,i.invert(l)],xm(this),n.start()}UL(t),n.wheel=setTimeout(function(){n.wheel=null,n.end()},150),n.zoom("mouse",o(m(_(i,s),n.mouse[0],n.mouse[1]),n.extent,u))}}function E(t,...e){if(!n&&r.apply(this,arguments)){var i=t.currentTarget,a=b(this,e,!0).event(t),s=Ig(t.view).on("mousemove.zoom",function(t){if(UL(t),!a.moved){var e=t.clientX-l,n=t.clientY-f;a.moved=e*e+n*n>d}a.event(t).zoom("mouse",o(m(a.that.__zoom,a.mouse[0]=Y_(t,i),a.mouse[1]),a.extent,u))},!0).on("mouseup.zoom",function(t){s.on("mousemove.zoom mouseup.zoom",null),$g(t.view,a.moved),UL(t),a.event(t).end()},!0),c=Y_(t,i),l=t.clientX,f=t.clientY;Vg(t.view),DL(t),a.mouse=[c,this.__zoom.invert(c)],xm(this),a.start()}}function T(t,...e){if(r.apply(this,arguments)){var n=this.__zoom,a=Y_(t.changedTouches?t.changedTouches[0]:t,this),s=n.invert(a),c=n.k*(t.shiftKey?.5:2),f=o(m(_(n,c),a,s),i.apply(this,e),u);UL(t),l>0?Ig(this).transition().duration(l).call(v,f,a,t):Ig(this).call(g.transform,f,a,t)}}function S(n,...i){if(r.apply(this,arguments)){var o,a,s,c,u=n.touches,l=u.length,f=b(this,i,n.changedTouches.length===l).event(n);for(DL(n),a=0;a<l;++a)c=[c=Y_(s=u[a],this),this.__zoom.invert(c),s.identifier],f.touch0?f.touch1||f.touch0[2]===c[2]||(f.touch1=c,f.taps=0):(f.touch0=c,o=!0,f.taps=1+!!t);t&&(t=clearTimeout(t)),o&&(f.taps<2&&(e=c[0],t=setTimeout(function(){t=null},500)),xm(this),f.start())}}function O(t,...e){if(this.__zooming){var n,r,i,a,s=b(this,e).event(t),c=t.changedTouches,l=c.length;for(UL(t),n=0;n<l;++n)i=Y_(r=c[n],this),s.touch0&&s.touch0[2]===r.identifier?s.touch0[0]=i:s.touch1&&s.touch1[2]===r.identifier&&(s.touch1[0]=i);if(r=s.that.__zoom,s.touch1){var f=s.touch0[0],h=s.touch0[1],d=s.touch1[0],p=s.touch1[1],g=(g=d[0]-f[0])*g+(g=d[1]-f[1])*g,y=(y=p[0]-h[0])*y+(y=p[1]-h[1])*y;r=_(r,Math.sqrt(g/y)),i=[(f[0]+d[0])/2,(f[1]+d[1])/2],a=[(h[0]+p[0])/2,(h[1]+p[1])/2]}else{if(!s.touch0)return;i=s.touch0[0],a=s.touch0[1]}s.zoom("touch",o(m(r,i,a),s.extent,u))}}function A(t,...r){if(this.__zooming){var i,o,a=b(this,r).event(t),s=t.changedTouches,c=s.length;for(DL(t),n&&clearTimeout(n),n=setTimeout(function(){n=null},500),i=0;i<c;++i)o=s[i],a.touch0&&a.touch0[2]===o.identifier?delete a.touch0:a.touch1&&a.touch1[2]===o.identifier&&delete a.touch1;if(a.touch1&&!a.touch0&&(a.touch0=a.touch1,delete a.touch1),a.touch0)a.touch0[1]=this.__zoom.invert(a.touch0[0]);else if(a.end(),2===a.taps&&(o=Y_(o,this),Math.hypot(e[0]-o[0],e[1]-o[1])<p)){var u=Ig(this).on("dblclick.zoom");u&&u.apply(this,arguments)}}}return g.transform=function(t,e,n,r){var i=t.selection?t.selection():t;i.property("__zoom",VL),t!==i?v(t,e,n,r):i.interrupt().each(function(){b(this,arguments).event(r).start().zoom(null,"function"==typeof e?e.apply(this,arguments):e).end()})},g.scaleBy=function(t,e,n,r){g.scaleTo(t,function(){return this.__zoom.k*("function"==typeof e?e.apply(this,arguments):e)},n,r)},g.scaleTo=function(t,e,n,r){g.transform(t,function(){var t=i.apply(this,arguments),r=this.__zoom,a=null==n?y(t):"function"==typeof n?n.apply(this,arguments):n,s=r.invert(a),c="function"==typeof e?e.apply(this,arguments):e;return o(m(_(r,c),a,s),t,u)},n,r)},g.translateBy=function(t,e,n,r){g.transform(t,function(){return o(this.__zoom.translate("function"==typeof e?e.apply(this,arguments):e,"function"==typeof n?n.apply(this,arguments):n),i.apply(this,arguments),u)},null,r)},g.translateTo=function(t,e,n,r,a){g.transform(t,function(){var t=i.apply(this,arguments),a=this.__zoom,s=null==r?y(t):"function"==typeof r?r.apply(this,arguments):r;return o(RL.translate(s[0],s[1]).scale(a.k).translate("function"==typeof e?-e.apply(this,arguments):-e,"function"==typeof n?-n.apply(this,arguments):-n),t,u)},r,a)},w.prototype={event:function(t){return t&&(this.sourceEvent=t),this},start:function(){return 1===++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(t,e){return this.mouse&&"mouse"!==t&&(this.mouse[1]=e.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=e.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=e.invert(this.touch1[0])),this.that.__zoom=e,this.emit("zoom"),this},end:function(){return 0===--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(t){var e=Ig(this.that).datum();h.call(t,this.that,new PL(t,{sourceEvent:this.sourceEvent,target:g,type:t,transform:this.that.__zoom,dispatch:h}),e)}},g.wheelDelta=function(t){return arguments.length?(a="function"==typeof t?t:NL(+t),g):a},g.filter=function(t){return arguments.length?(r="function"==typeof t?t:NL(!!t),g):r},g.touchable=function(t){return arguments.length?(s="function"==typeof t?t:NL(!!t),g):s},g.extent=function(t){return arguments.length?(i="function"==typeof t?t:NL([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),g):i},g.scaleExtent=function(t){return arguments.length?(c[0]=+t[0],c[1]=+t[1],g):[c[0],c[1]]},g.translateExtent=function(t){return arguments.length?(u[0][0]=+t[0][0],u[1][0]=+t[1][0],u[0][1]=+t[0][1],u[1][1]=+t[1][1],g):[[u[0][0],u[0][1]],[u[1][0],u[1][1]]]},g.constrain=function(t){return arguments.length?(o=t,g):o},g.duration=function(t){return arguments.length?(l=+t,g):l},g.interpolate=function(t){return arguments.length?(f=t,g):f},g.on=function(){var t=h.on.apply(h,arguments);return t===h?g:t},g.clickDistance=function(t){return arguments.length?(d=(t=+t)*t,g):Math.sqrt(d)},g.tapDistance=function(t){return arguments.length?(p=+t,g):p},g}IL.prototype=CL.prototype;const HL=(t,e)=>{const n=Object.keys(e.mapping).map(t=>({name:t,column:e.mapping[t].column,numeric:"numeric"==e.mapping[t].type,date:"date"==e.mapping[t].type}));return t.map(t=>{const e={};return n.forEach(n=>{let r=t[n.column];n.date&&(r=Date.parse(r)),n.numeric&&(r*=1),e[n.name]=r}),e})},qL=(t,e)=>{t.values=[...new Set(e.map(e=>e[t.dim]))],"numeric"==t.mapping.type||"date"==t.mapping.type?t.mapping.stacked?t.extent=xh(e.map(e=>e[`${t.dim}:st:e`])):t.extent=xh(t.values):t.mapping.type},YL=(t,e)=>{t.forEach(t=>{Object.values(e).forEach(e=>{t[`${e.dim}:scaled`]=e.scale(t[e.dim]),t[`${e.dim}:scaled:min`]=e.scale(e.domain[0]),t[`${e.dim}:scaled:0`]=e.scale(0),t[`${e.dim}:scaled:max`]=e.scale(e.domain[1]),e.mapping.stacked&&(t[`${e.dim}:st:e:scaled`]=e.scale(t[`${e.dim}:st:e`]),t[`${e.dim}:st:s:scaled`]=e.scale(t[`${e.dim}:st:s`]),t[`${e.dim}:st:h:scaled`]=t[`${e.dim}:st:s:scaled`]-t[`${e.dim}:st:e:scaled`])})})},GL=(t,e)=>Object.values(t.reduce((t,n)=>{var r=e.map(t=>n[t]).join("-");return t[r]=t[r]||{group:Object.fromEntries(e.map(t=>[t,n[t]])),entries:[]},t[r].entries.push(n),t},{})),WL=(t,e)=>0==e.length?t:t.filter(t=>e.reduce((e,n)=>Array.isArray(n.key)?e&&n.key.includes(t[n.dim]):"function"==typeof n.key?e&&n.key(t[n.dim]):e&&t[n.dim]==n.key,!0));function KL(){return KL.c||(KL.c=n.n(r()))}r();const XL=(t,e,n)=>e,JL=t=>KL()().all(t,{arrayMerge:XL}),ZL=(t,e)=>t==e||JSON.stringify(t)==JSON.stringify(e),QL=(t,e)=>Object.fromEntries(Object.entries(t).map(([t,n],r)=>[t,e(n,t)])),tV=(t,e)=>Array.isArray(t)?t.map(e):QL(t,e),eV=(t,e,n,r)=>t.map(t=>({group:Object.keys(t.group).map(e=>({dim:e,key:t.group[e]})),props:e._fill(Object.assign(n,...Object.keys(t.group).map(e=>r[e].props[t.group[e]]))),values:t.entries})),nV=(t,e,n=!0,r=!1)=>{if(void 0===t.value||null===t.value||r){if("ref"==t.prop){const n=e[t.ref];void 0!==n&&(t.value=n)}if("relative"==t.prop){const n=e[t.ref];void 0!==n&&(t.value=t.ratio*n)}if("steps"==t.prop){const n=e[t.ref];void 0!==n&&t.steps.forEach(e=>{n>e.cut&&(t.value=e.value)})}}return n?t.value:t},rV=(t,e)=>nV({...sV(t)},e,!0),iV=(t,e,n=!0)=>oV(tV(t,sV),e,n),oV=(t,e,n=!1)=>tV(t,t=>nV({...t},e,n)),aV=t=>void 0!==t.prop,sV=t=>{if("object"==typeof t&&!Array.isArray(t)&&null!==t)return aV(t)?t:QL(t,sV);if("string"==typeof t&&"@"==t.charAt()){const e=t.substring(1);return{prop:"ref",ref:e,parts:e.split(":")}}return{prop:"fixed",value:t}},cV=t=>{if(t.props){const e=t.props;Object.keys(e),t.props=Object.fromEntries(Object.keys(e.manual).map(t=>{const n=Object.assign({},e.common,e.manual[t]);return n.name??=t,n.visible??=!0,[t,n]}))}return t.scale&&(t.scale.type??="linear",t.scale.domain??=[null,null],t.scale.domainAbs||(t.scale.domainRel??=t.scale.domain.map((t,e)=>null===t?.02*(0==e?-1:1):0)),t.scale.domainAbs??=[0,0],Array.isArray(t.scale.range)||("horizontal"==t.scale.orientation?t.scale.range=[0,"@width"]:"vertical"==t.scale.orientation&&(t.scale.range=["@height",0]))),t.axis&&(t.axis.padding??=3),void 0!==t.hover&&void 0!==t.axis&&(t.hover.format??=t.axis.format),t.legend&&(void 0===t.legend.props&&(t.legend.props={}),"name"in t.legend.props||(t.legend.props.name="@name")),t.hover&&(void 0===t.hover.props&&(t.hover.props={}),"name"in t.hover.props||(t.hover.props.name="@name")),t},uV=t=>(Object.values(t.mapping).forEach(cV),Array.isArray(t.plot)||(t.plot=[t.plot]),t.plot.forEach((t,e)=>{t.categories??=[],t.id??=`plot-${e}`,t.highlightProps=Object.keys(t.props).filter(t=>t.startsWith("highlight-")).map(t=>t.substring(10))}),t.plot.forEach(t=>{t.props=QL(t.props,sV),t._fill=e=>oV(t.props,e)}),t),lV=(t,e)=>{const n=t.formElements??[],r=new Set(n.flatMap(t=>t.values.flatMap(t=>Object.keys(t.mapping??{}))));if(0==r.size)return!1;const i=n.map(e=>e.values.find(n=>ZL(n.value,t.globals?.[e.ref]))).filter(t=>t&&t.mapping);return r.forEach(n=>{const r=i.filter(t=>t.mapping[n]).map(t=>t.mapping[n]),o=cV(JL([e.mapping[n]??{},...r]));t.mapping[n]&&"props"in t.mapping[n]&&(o.props=t.mapping[n].props),t.mapping[n]=o}),!0},fV=(t,e=null)=>0===t.indexOf("http://")||0===t.indexOf("https://")||0===t.indexOf("/")?t:e?`${e.substring(0,e.lastIndexOf("/"))}/${t}`:`./${t}`,hV=function(t,e){let n;function r(e,r){const i=!(!Vi()&&!Nr);return(e=e||(i?On(hc,null):null))&&fc(e),(e=lc)._s.has(t)||function(t,e,n){const{state:r,actions:i,getters:o}=e,a=n.state.value[t];let s;s=eu(t,function(){a||(n.state.value[t]=r?r():{});const e=function(t){const e=S(t)?new Array(t.length):{};for(const n in t)e[n]=Be(t,n);return e}(n.state.value[t]);return Qc(e,i,Object.keys(o||{}).reduce((e,r)=>(e[r]=Re(Zi(()=>{fc(n);const e=n._s.get(t);return o[r].call(e,e)})),e),{}))},e,n,0,!0)}(t,n,e),e._s.get(t)}return n=e,r.$id=t,r}("base",{state:()=>({defUrl:null,defOrg:null,def:null,rows:null,data:null}),getters:{loaded(){return null!==this.def&&null!==this.data},axis(){const t=this.mappingNamesWithKey("scale");let e={};return t.forEach(t=>{const n=this.mapping(t).scale.orientation;"horizontal"==n&&(e.h=t),"vertical"==n&&(e.v=t)}),e},mapping(t){return t=>this.def.mapping[t]},prop(t,e){return(t,e)=>this.def.mapping[t].props[e]},mappingNamesWithKey(t){return t=>Object.keys(this.def.mapping).filter(e=>t in this.def.mapping[e])},mappingNamesWithKeyValue(t,e){return(t,e)=>Object.keys(this.def.mapping).filter(n=>t in this.def.mapping[n]&&this.def.mapping[n][t]==e)}},actions:{init(t,e=null){const n=this;this.loadAndMergeParent(t,[t],function(t){n.defOrg=t,n.def=uV(JSON.parse(JSON.stringify(n.defOrg))),lV(n.def,n.defOrg),null===e?n.loadData():n.setData(e)})},loadAndMergeParent(t,e,n){const r=this;if("string"==typeof t)throw console.error("No valid JSON definiton file"),new Error("No valid JSON definiton");if(t.parent)this.load(t.parent,function(t){e.push(t),r.loadAndMergeParent(t,e,n)});else{e.reverse();const t=JL(e);n(t)}},load(t,e=this.init){const n=fV(t);return this.defUrl??=n,Xf.get(n).then(t=>{e(t.data)}).catch(t=>{console.log(t),console.error(`Could not load def file ${n}`)})},loadData(){return Xf.get(fV(this.def.data,this.defUrl)).then(t=>{this.setData(t.data)}).catch(t=>{console.error(`Could not load data file '${fV(this.def.data)}'`)})},setData(t){this.rows=(t=>nw(t))(t),this.data=HL(this.rows,this.def)},applyFormElements(){lV(this.def,this.defOrg)&&(this.data=HL(this.rows,this.def))}}}),dV={class:"vis",ref:"vis"},pV={class:"vis-header"},gV={class:"title"},_V={class:"subtitle"},mV={ref:"form",class:"vis-form-elements"},yV={ref:"legends",class:"vis-legends"},vV={key:0,class:"vis-body"},bV={class:"vis-footer"},wV=["innerHTML"],xV=t=>t.charAt(0).toUpperCase()+t.slice(1),EV=fE({decimal:",",thousands:".",grouping:[3],currency:"€"}),TV=AC({dateTime:"%A, der %e. %B %Y, %X",date:"%d.%m.%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],shortDays:["So","Mo","Di","Mi","Do","Fr","Sa"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],shortMonths:["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"]}),SV=(t,e)=>{const n=t.mapping.scale,r=h[`scale${xV(n.type)}`]();if(r.range(iV(n.range,e)),t.extent){t.domain=[...n.domain],t.domainRel=[...n.domainRel?n.domainRel:[0,0]],t.domainAbs=n.domainAbs,t.domain[0]??=t.extent[0],t.domain[1]??=t.extent[1];const e=t.domain[1]-t.domain[0];t.domain[0]+=e*t.domainRel[0],t.domain[1]+=e*t.domainRel[1],t.domain[0]+=t.domainAbs[0],t.domain[1]+=t.domainAbs[1],r.invertCustom=e=>{const n=oh(t.values,r.invert(e));return t.values[n]}}else t.domain=t.values,n.padding??=.4,r.padding(n.padding),r.invertCustom=t=>{const e=Math.floor(t/r.step());return r.domain()[Math.max(0,Math.min(e,r.domain().length-1))]};r.domain(t.domain),t.scale=r},OV=function(t){const e=Ig(this);Object.entries(t).forEach(([t,n],r)=>{if(n instanceof Object){if(!aV(n))return;n=n.value}"text"!=t?e.attr(t,n):e.text(n)})},AV=function(t){const e=Ig(this);t.group.forEach(t=>{e.attr(`data-group-${t.dim}`,t.key)}),t.group.forEach(t=>{e.attr(`data-visible-${t.dim}`,t.visible)}),e.attr("data-visible",t.group.reduce((t,e)=>t&&e.visible,!0))},MV=(t,e,n=null)=>{e.filter(t=>t.highlightProps.length>0).forEach(e=>{const r=`g.plotGroup.${e.id} .highlight`,i=t.selectAll(r);if(i.size()>0&&(i.classed("highlight",!1),i.each(function(){const t=Ig(this);e.highlightProps.forEach(e=>{t.attr(e,t.attr(`default-${e}`))})})),n){const r=e.categories.filter(t=>Object.keys(n).includes(t)).map(t=>({name:t,value:n[t]})).map(t=>`[data-group-${t.name}='${t.value}']`).join(""),i=t.selectAll(`g.plotGroup.${e.id} ${r}`);i.size()>0&&(i.classed("highlight",!0).raise(),i.each(function(){const t=Ig(this);e.highlightProps.forEach(e=>{t.attr(`default-${e}`,t.attr(e)).attr(e,t.attr(`highlight-${e}`))})}))}})},kV=["width","height"],NV=["transform"],PV=["visibility"],CV={key:0,class:"debug"},RV={class:"title"},IV={class:"entries",ref:"entries"},DV={props:["title","axis","side","data"],data:()=>({space:20}),computed:{left(){return"left"==this.side?this.axis.h.value-this.space+"px":`${this.axis.h.value+this.space}px`},transform(){return"left"==this.side?"translate(-100%, -50%)":"translate(0, -50%)"}},components:{},created(){this.store=hV()},mounted(){},watch:{data(){const t=[...this.data].sort((t,e)=>e.entries[this.axis.v.col].value-t.entries[this.axis.v.col].value);let e=Ig(this.$refs.entries).selectAll("tr.entry").data(t).join("tr").attr("class","entry").classed("nearest",t=>t.nearest);e.selectAll("td").remove(),e.selectAll("td").data(t=>Object.entries(t.entries)).join("td").attr("class",t=>t[0]).html(t=>"object"==typeof t[1]?t[1].name:t[1])}}};function UV(){return UV.c||(UV.c=n.n(i()))}function jV(){return jV.c||(jV.c=n.n(c()))}function LV(){return LV.c||(LV.c=n.n(o()))}function VV(){return VV.c||(VV.c=n.n(s()))}function $V(){return $V.c||($V.c=n.n(a()))}function FV(){return FV.c||(FV.c=n.n(u()))}i(),c(),o(),s(),a(),u();var zV=n(449),BV={};BV.styleTagTransform=FV()(),BV.setAttributes=VV()(),BV.insert=LV()().bind(null,"head"),BV.domAPI=jV()(),BV.insertStyleElement=$V()(),UV()()(zV.A,BV),zV.A&&zV.A.locals&&zV.A.locals,l();const HV=(0,l().A)(DV,[["render",function(t,e,n,r,i,o){return n.axis&&n.axis.h?(gi(),bi("div",{key:0,class:"hover",ref:"hover",style:Z({left:o.left,transform:o.transform})},[Oi("div",RV,ht(n.axis.h.name),1),Oi("table",IV,[Ni(' <tr class="entry">\n <td></td>\n </tr> ')],512)],4)):Ni("v-if",!0)}],["__scopeId","data-v-b25a8ab0"]]),qV={props:["filter","shared","height","width","margins","data"],data:()=>({info:{},debug:null,def:null,hover:{visible:!1}}),computed:{innerWidth(){return this.width-(this.margins.left+this.margins.right)},innerHeight(){return this.height-(this.margins.top+this.margins.bottom)},relativeBases(){return{width:this.width,innerWidth:this.innerWidth,height:this.height,innerHeight:this.innerHeight}}},components:{Hover:HV},created(){this.store=hV(),this.def=this.store.def},mounted(){this.inner=Ig(this.$refs.inner),this.scales(),this.axis(),this.plot(),this.hoverInit()},methods:{getFormatterByType:t=>"time"==t?TV.format:EV.format,plot(){this.def.plot.forEach(t=>{const e=GL(this.data,t.categories),n=eV(e,t,this.relativeBases,this.def.mapping),r=this.inner.append("g").classed("plotGroup",!0).classed(t.id,!0);this[t.type](n,r)})},_groupwise:function(t,e){return e.classed("paths",!0).selectAll("path").data(t).enter().append("path").each(function(t){OV.call(this,t.props)}).each(AV)},_pointwise:(t,e,n,r=t=>t)=>e.classed(n,!0).selectAll("g.group").data(t).enter().append("g").attr("class","group").each(AV).selectAll(n).data(t=>t.values.map(e=>r(oV(t.props,e)))).enter().append(n).each(OV),"svg:path":function(t,e){this._groupwise(t,e).attr("d",t=>EU().x(t=>t.x).y(t=>t.y)(t.values.map(e=>oV(t.props.d,e,!0))))},"svg:circle":function(t,e){this._pointwise(t,e,"circle")},"svg:line":function(t,e){this._pointwise(t,e,"line")},"svg:rect":function(t,e){this._pointwise(t,e,"rect")},"svg:text":function(t,e){this._pointwise(t,e,"text")},"base:area":function(t){this._groupwise(t,parent).attr("d",t=>TU().x(t=>t.x).y1(t=>t.y1).y0(t=>t.y0)(t.values.map(e=>oV(t.props.d,e,!0))))},bar(t,e){const n=this;this._pointwise(t,e,"rect",t=>{const e=t.height.parts[0],r=n.info[e].scale(0);if(void 0===t.width){const e=t.cx.parts[0];t.width=sV(n.info[e].scale.step()*(1-n.info[e].scale.padding()))}return t.x=sV(t.cx.value-t.width.value/2),delete t.cx,t.y=sV(t.height.value),t.height=sV(r-t.height.value),t})},stackedBar(t,e){t.forEach(t=>{const e=t.props.x.ref,n=t.props.y.ref;t.props.x=sV(`@${e}:scaled`),t.props.y=sV(`@${n}:st:e:scaled`),t.props.height=sV(`@${n}:st:h:scaled`),t.props.transform=sV(`translate(-${t.props.width.value/2} 0)`)}),this._pointwise(t,e,"rect",t=>(t.height.value<0&&(t.y.value+=t.height.value,t.height.value=-t.height.value),t))},scales(){const t={};this.store.mappingNamesWithKey("scale").filter(t=>!Object.keys(this.shared).includes(t)).forEach(e=>{const n={dim:e,mapping:this.store.mapping(e)};qL(n,this.data),SV(n,{width:this.innerWidth,height:this.innerHeight}),t[e]=n}),YL(this.data,t),this.info={...this.shared,...t}},axis(){this.store.mappingNamesWithKey("axis").forEach(t=>{const e=this.store.mapping(t),n=e.axis,r=this.info[t].scale,i=h[`axis${xV(n.position)}`](r).tickSizeInner(9).tickSizeOuter(0).ticks(rV(n.ticks,this.relativeBases)).tickPadding(n.padding);n.format&&i.tickFormat(this.getFormatterByType(e.scale.type)(n.format)),n.values&&i.tickValues(n.values),n.grid&&this.inner.append("g").attr("class","grid").selectAll("line").data(r.ticks(n.ticks)).enter().append("line").attr("x1",0).attr("x2",this.innerWidth).attr("y1",t=>r(t)).attr("y2",t=>r(t));const o=this.inner.append("g").attr("class",`axis-name-${t} axis-position-${n.position}`).call(i);if("bottom"==n.position&&o.attr("transform",`translate(0, ${this.innerHeight})`),"right"==n.position&&o.attr("transform",`translate(${this.innerWidth}, 0)`),n.rotate&&o.selectAll("text").attr("text-anchor","end").attr("transform",`rotate(-${n.rotate})`),n.title){const t=this.inner.append("text").attr("class","axis-title").attr("y",0).attr("x",0).attr("text-anchor","middle").attr("dominant-baseline","middle").text(n.title.name);"left"==n.position&&t.attr("transform",`rotate(-90) translate(-${this.innerHeight/2} -${n.title.offset})`),"right"==n.position&&t.attr("transform",`rotate(90) translate(${this.innerHeight/2} -${this.innerWidth+n.title.offset})`),"top"==n.position&&t.attr("transform",`translate(${this.innerWidth/2} -${n.title.offset})`),"bottom"==n.position&&t.attr("transform",`translate(${this.innerHeight/2} -${n.title.offset})`)}})},hoverInit(){const t=this;let e=this.store.axis;e=Object.keys(e).map(t=>({axis:t,name:e[t]})),e.forEach(t=>{const e=this.def.mapping[t.name],n=e.hover;let r="c";n&&n.format&&n.format,t.formatter=this.getFormatterByType(e.scale.type)(n.format)}),e=Object.fromEntries(e.map(t=>[t.axis,t]));const n=this.store.mappingNamesWithKey("hover").filter(t=>!Object.values(e).map(t=>t.name).includes(t)),r=Ig(this.$refs.hoverMarker).select("line");Ig(this.$refs.hover).select("table.entries").selectAll("*").remove(),this.inner.append("rect").attr("class","events").attr("width",this.innerWidth).attr("height",this.innerHeight).attr("opacity",0).on("mousemove",function(i){const o=Y_(i),a=t.info[e.h.name],s=a.scale.invertCustom(o[0]),c=a.scale(s);r.attr("x1",c).attr("x2",c).attr("y1",0).attr("y2",t.innerHeight);const u=WL(t.data,[{dim:e.h.name,key:s}]).map(r=>{const i={entries:{},data:r,nearest:!1};return n.forEach(e=>{i.entries[e]=iV(t.store.mapping(e).hover.props,t.store.prop(e,r[e]))}),i.entries[e.v.name]={value:r[e.v.name],name:e.v.formatter(r[e.v.name])},i}),l=t.info[e.v.name].scale.invert(o[1]);let f;if(t.store.mapping(e.v.name).stacked){const t=e.v.name;f=kd(u,e=>{const[n,r]=xh([e.data[`${t}:st:s`],e.data[`${t}:st:e`]]);return l<n?n-l:l>r?l-r:0})}else{const t=u.map((t,n)=>({v:t.entries[e.v.name].value,i:n})).sort((t,e)=>t.v-e.v);f=u[t[oh(t.map(t=>t.v),l)].i]}f.nearest=!0,MV(t.inner,t.def.plot,f.data),t.hover.data=u,t.hover.axis={h:{col:e.h.name,value:c,name:e.h.formatter(s)},v:{col:e.v.name,value:l}},t.hover.side=c>t.innerWidth/2?"left":"right"}).on("mouseout",function(e){t.hover.visible=!1,MV(t.inner,t.def.plot)}).on("mouseenter",function(e){t.hover.visible=!0})}}};var YV=n(406),GV={};GV.styleTagTransform=FV()(),GV.setAttributes=VV()(),GV.insert=LV()().bind(null,"head"),GV.domAPI=jV()(),GV.insertStyleElement=$V()(),UV()()(YV.A,GV),YV.A&&YV.A.locals&&YV.A.locals;const WV=(0,l().A)(qV,[["render",function(t,e,n,r,i,o){const a=sr("hover");return gi(),bi("div",{style:Z(`width: ${n.width}px;`),class:"vis-inner"},[(gi(),bi("svg",{ref:"svg",width:n.width,height:n.height,class:"facet"},[Oi("g",{ref:"inner",transform:`translate(${n.margins.left} ${n.margins.top})`},[Oi("g",{visibility:t.hover.visible?"visible":"hidden",class:"hoverMarker",ref:"hoverMarker"},[...e[0]||(e[0]=[Oi("line",null,null,-1)])],8,PV)],8,NV)],8,kV)),Oi("div",{style:Z(`transform: translate(${n.margins.left}px, ${n.margins.top+o.innerHeight/2}px); position: absolute; top: 0; left: 0;`)},[t.hover.visible?(gi(),wi(a,{key:0,data:t.hover.data,side:t.hover.side,axis:t.hover.axis},null,8,["data","side","axis"])):Ni("v-if",!0)],4),t.debug?(gi(),bi("span",CV,ht(t.debug),1)):Ni("v-if",!0)],4)}],["__scopeId","data-v-c0423fc2"]]),KV=["data-dim"],XV={class:"title"},JV={class:"entries"},ZV=["data-visible","data-key","onClick","onMouseenter"],QV=["innerHTML"],t$=["width","height"],e$={props:["info","props"],mounted(){const t=Ig(this.$refs.legendSymbol);this.info.elements.forEach(e=>{const n=t.append(e.type);OV.call(n.node(),iV(e.props,this.props))})}};var n$=n(467),r$={};r$.styleTagTransform=FV()(),r$.setAttributes=VV()(),r$.insert=LV()().bind(null,"head"),r$.domAPI=jV()(),r$.insertStyleElement=$V()(),UV()()(n$.A,r$),n$.A&&n$.A.locals&&n$.A.locals;const i$=(0,l().A)(e$,[["render",function(t,e,n,r,i,o){return gi(),bi("svg",{width:n.info.size,height:n.info.size,ref:"legendSymbol"},null,8,t$)}],["__scopeId","data-v-5ffe5c5e"]]),o$={props:["legend"],data:()=>({ju:d,info:{},entries:[]}),components:{LegendSymbol:i$},mounted(){const t=hV();this.info=t.mapping(this.legend),this.entries=Object.keys(this.info.props).map(t=>({key:t,props:this.info.props[t],filled:iV(this.info.legend.props,this.info.props[t])}))},methods:{switched(t){t.props.visible=!t.props.visible,this.$emit("changeSelected",{dim:this.legend,key:t.key,selected:t.props.visible})}}};var a$=n(835),s$={};s$.styleTagTransform=FV()(),s$.setAttributes=VV()(),s$.insert=LV()().bind(null,"head"),s$.domAPI=jV()(),s$.insertStyleElement=$V()(),UV()()(a$.A,s$),a$.A&&a$.A.locals&&a$.A.locals;const c$=(0,l().A)(o$,[["render",function(t,e,n,r,i,o){const a=sr("LegendSymbol");return gi(),bi("div",{class:"legend","data-dim":n.legend},[Oi("div",XV,ht(t.info.name),1),Oi("div",JV,[(gi(!0),bi(ui,null,lr(t.entries,n=>(gi(),bi("div",Ii({"data-visible":n.props.visible,"data-key":n.key},{ref_for:!0},Object.assign({...n.filled},{name:null}),{onClick:t=>o.switched(n),onMouseenter:e=>t.$emit("highlight",{dim:this.legend,key:n.key}),onMouseleave:e[0]||(e[0]=e=>t.$emit("highlight",{}))}),[t.info.legend.symbol?(gi(),wi(a,{key:0,info:t.info.legend.symbol,props:n.props},null,8,["info","props"])):Ni("v-if",!0),Oi("span",{innerHTML:n.filled.name},null,8,QV)],16,ZV))),256))])],8,KV)}],["__scopeId","data-v-c27ae710"]]),u$=["id"],l$={class:"title"},f$={key:0,class:"entries"},h$=["id","onClick"],d$=["name","value","checked"],p$=["for"],g$={props:["element","globals"],data:()=>({}),computed:{vg(){return this.globals[this.element.ref]}},components:{LegendSymbol:i$},mounted(){},methods:{switched(t){this.globals[this.element.ref]=t.value,this.$emit("changeSelected",{})},equal(t){return ZL(t,this.vg)}}};var _$=n(178),m$={};m$.styleTagTransform=FV()(),m$.setAttributes=VV()(),m$.insert=LV()().bind(null,"head"),m$.domAPI=jV()(),m$.insertStyleElement=$V()(),UV()()(_$.A,m$),_$.A&&_$.A.locals&&_$.A.locals;const y$=(0,l().A)(g$,[["render",function(t,e,n,r,i,o){return gi(),bi("div",{class:"formElement",id:`container-${n.element.id}`},[Oi("div",l$,ht(n.element.name)+":",1),"switch"==n.element.type?(gi(),bi("div",f$,[(gi(!0),bi(ui,null,lr(n.element.values,t=>(gi(),bi("div",{id:`container-${t.id}`,onClick:e=>o.switched(t)},[Oi("input",{type:"radio",name:n.element.id,value:t.id,checked:o.equal(t.value)},null,8,d$),Oi("label",{for:t.id},ht(t.name),9,p$)],8,h$))),256))])):Ni("v-if",!0)],8,u$)}],["__scopeId","data-v-38f618e7"]]),v$={data:()=>({initialized:!1,options:{},globals:{},legends:[],formElements:[],filter:[],data:[],facets:{shared:{},entries:[],height:0,width:0,margins:{top:0,right:0,bottom:0,left:0}},data:null}),computed:{innerWidth(){return this.options.width-(this.options.margins.left+this.options.margins.right)},innerHeight(){return this.options.height-(this.options.margins.top+this.options.margins.bottom)}},components:{Facet:WV,LegendEntry:c$,FormElement:y$},created(){window.addEventListener("resize",this.resized)},mounted(){this.baseInit(),this.dataInit(),this.scales()},destroyed(){window.removeEventListener("resize",this.resized)},methods:{baseInit(){this.store=hV(),this.legends=this.store.mappingNamesWithKey("legend"),this.formElements=this.store.def.formElements,this.globals=this.store.def.globals,this.options=Object.assign({},this.store.def.options),this.options.width||(this.options.width=this.$refs.vis.getBoundingClientRect().width),this.options.height=rV(this.options.height,{totalWidth:this.options.width},!0,!0)},resized(){this.store.def.options.width||(this.options.width=this.$refs.vis.getBoundingClientRect().width,this.options.height=rV(this.store.def.options.height,{totalWidth:this.options.width},!0,!0),this.dataInit(),this.scales())},dataInit(){const t=this.store.def,e=this.store.axis;if(this.filter=this.store.mappingNamesWithKey("props").map(t=>({dim:t,key:Object.keys(this.store.mapping(t).props).filter(e=>this.store.mapping(t).props[e].visible)})),this.data=WL(this.store.data,this.filter),this.store.mapping(e.v).stacked&&((t,e,n=[])=>{GL(t,[...n,e.h]).forEach(t=>{let n=0,r=0;t.entries.forEach(t=>{const i=t[e.v];i>=0?(t[`${e.v}:st:s`]=n,n+=i,t[`${e.v}:st:e`]=n):(t[`${e.v}:st:s`]=r,r+=i,t[`${e.v}:st:e`]=r)})})})(this.data,e,t.facets?t.facets.dim:[]),t.facets){this.facets.margins=this.options.margins,this.facets.height=this.options.height;const e=rV(t.facets.cols,{totalWidth:this.options.width},!0,!0);this.facets.width=this.options.width/e;const n=t.facets.dim,r=GL(this.data,[n]);this.facets.entries=r.filter(t=>Object.keys(this.store.mapping(n).props).includes(t.group[n])).map(t=>({filter:{dim:t.group[n],key:n,name:this.store.mapping(n).props[t.group[n]].name},data:t.entries}))}},scales(){const t=this.store.def;if(t.facets&&t.facets.scales){const e=rV(t.facets.scales,t.globals,!0,!0).map(t=>{const e={dim:t,mapping:this.store.mapping(t)};return qL(e,this.data),SV(e,{width:this.facets.width-(this.facets.margins.left+this.facets.margins.right),height:this.facets.height-(this.facets.margins.top+this.facets.margins.bottom)}),e});YL(this.data,e),this.facets.shared=Object.fromEntries(e.map(t=>[t.dim,t]))}this.initialized=!0},changeSelected(t){this.dataInit(),this.scales()},formChanged(t){this.store.applyFormElements(),this.changeSelected(t)},highlight(t){MV(Ig(this.$refs.vis),this.store.def.plot,{[t.dim]:t.key})}}};var b$=n(72),w$={};w$.styleTagTransform=FV()(),w$.setAttributes=VV()(),w$.insert=LV()().bind(null,"head"),w$.domAPI=jV()(),w$.insertStyleElement=$V()(),UV()()(b$.A,w$),b$.A&&b$.A.locals&&b$.A.locals;const x$={props:{debug:{type:Boolean,default:!1},defFile:{type:String,default:null},def:{type:String,default:null},data:{type:String,default:null}},data:()=>({store:hV()}),components:{Vis:(0,l().A)(v$,[["render",function(t,e,n,r,i,o){const a=sr("form-element"),s=sr("legend-entry"),c=sr("facet");return gi(),bi("div",dV,[Oi("div",pV,[Oi("div",gV,ht(t.options.title),1),Oi("div",_V,ht(t.options.subtitle),1)]),Oi("div",mV,[(gi(!0),bi(ui,null,lr(t.formElements,t=>(gi(),wi(a,{element:t,globals:this.globals,onChangeSelected:o.formChanged},null,8,["element","globals","onChangeSelected"]))),256))],512),Oi("div",yV,[(gi(!0),bi(ui,null,lr(t.legends,t=>(gi(),wi(s,{legend:t,onChangeSelected:o.changeSelected,onHighlight:o.highlight},null,8,["legend","onChangeSelected","onHighlight"]))),256))],512),t.initialized?(gi(),bi("div",vV,[t.facets.entries.length>0?(gi(!0),bi(ui,{key:0},lr(t.facets.entries,e=>(gi(),bi("div",{style:Z(`width: ${t.facets.width}px; display: inline-block;`)},[Oi("div",{class:"facet-title",style:Z(`margin-left: ${t.facets.margins.left}px`)},ht(e.filter.name),5),(gi(),wi(c,{key:e.data,data:e.data,shared:t.facets.shared,height:t.facets.height,width:t.facets.width,margins:t.facets.margins},null,8,["data","shared","height","width","margins"]))],4))),256)):(gi(),wi(c,{key:t.data,data:t.data,shared:{},height:t.options.height,width:t.options.width,margins:t.options.margins},null,8,["data","height","width","margins"]))])):Ni("v-if",!0),Oi("div",bV,[Oi("span",{innerHTML:t.options.footer},null,8,wV)])],512)}],["__scopeId","data-v-458771cc"]])},mounted(){null!==this.def?this.store.init(JSON.parse(this.def),this.data):null!==this.defFile?this.store.load(this.defFile):console.error("No definition given.")}},E$=(0,l().A)(x$,[["render",function(t,e,n,r,i,o){const a=sr("vis");return gi(),bi("div",No,[t.store.loaded?(gi(),wi(a,{key:0})):Ni("v-if",!0),n.debug?(gi(),bi("div",Po,[e[0]||(e[0]=Oi("h3",null,"prepared:",-1)),Oi("pre",Co,ht(JSON.stringify(t.store.def,null,4)),1),e[1]||(e[1]=Oi("h3",null,"org:",-1)),Oi("pre",Ro,ht(JSON.stringify(t.store.defOrg,null,4)),1)])):Ni("v-if",!0)])}]]),T$=t=>{const e=t.getAttributeNames().filter(t=>t.startsWith("data-")).reduce((e,n)=>({...e,[n.substring(5)]:t.getAttribute(n)}),{});ko(E$,e).use(function(){const t=yt(!0),e=t.run(()=>je({}));let n=[],r=[];const i=Re({install(t){fc(i),i._a=t,t.provide(hc,i),t.config.globalProperties.$pinia=i,"undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&uc&&Vc(t,i),r.forEach(t=>n.push(t)),r=[]},use(t){return this._a?n.push(t):r.push(t),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return"undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&uc&&"undefined"!=typeof Proxy&&i.use(Bc),i}()).mount(t)},S$=t=>{const e=document.getElementsByClassName(t);for(const t of e)t.classList.contains("gen-vis-attached")||(t.classList.add("gen-vis-attached"),T$(t))};export{S$ as mountGenVisByClass,T$ as mountGenVisElement};
|