blogwright-analytics 0.4.0-beta.2 → 0.4.0-beta.4

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.
Files changed (113) hide show
  1. package/README.md +103 -10
  2. package/dist/adapters/transform-diagnostics.d.ts +4 -0
  3. package/dist/adapters/transform-diagnostics.js +4 -0
  4. package/dist/app/_app/immutable/assets/0.BfwUqNJ-.css +1 -0
  5. package/dist/app/_app/immutable/assets/2.lkfjnM1s.css +1 -0
  6. package/dist/app/_app/immutable/assets/DefaultTooltip.CXdtNw-m.css +1 -0
  7. package/dist/app/_app/immutable/assets/Tooltip.BsTJVNOF.css +1 -0
  8. package/dist/app/_app/immutable/chunks/4DYKm5b2.js +1 -0
  9. package/dist/app/_app/immutable/chunks/B6Dt35mA.js +1 -0
  10. package/dist/app/_app/immutable/chunks/BAneOF1f.js +1 -0
  11. package/dist/app/_app/immutable/chunks/BQHoVMm0.js +1 -0
  12. package/dist/app/_app/immutable/chunks/{Doz7YX1W.js → BUku_rSO.js} +1 -1
  13. package/dist/app/_app/immutable/chunks/BoX17NrM.js +1 -0
  14. package/dist/app/_app/immutable/chunks/{vDgBJUjM.js → BpoiI2_d.js} +1 -1
  15. package/dist/app/_app/immutable/chunks/Bsj_2e-_.js +1 -0
  16. package/dist/app/_app/immutable/chunks/{-aNGNaBT.js → BumHYZmq.js} +1 -1
  17. package/dist/app/_app/immutable/chunks/{BJngAqxk.js → C0tbX_qQ.js} +1 -1
  18. package/dist/app/_app/immutable/chunks/C7qhOD3U.js +1 -0
  19. package/dist/app/_app/immutable/chunks/C8TrOru6.js +1 -0
  20. package/dist/app/_app/immutable/chunks/{DJc8C0NK.js → CAgm0Ruv.js} +1 -1
  21. package/dist/app/_app/immutable/chunks/CSrT-PUe.js +1 -0
  22. package/dist/app/_app/immutable/chunks/CU11V7_a.js +1 -0
  23. package/dist/app/_app/immutable/chunks/CdRe9NtS.js +1 -0
  24. package/dist/app/_app/immutable/chunks/Ch6MextH.js +1 -0
  25. package/dist/app/_app/immutable/chunks/{DCkHk5n_.js → Cr8mHXFf.js} +1 -1
  26. package/dist/app/_app/immutable/chunks/CuOP1eLc.js +2 -0
  27. package/dist/app/_app/immutable/chunks/{Bc-53cml.js → CwPKxnpy.js} +1 -1
  28. package/dist/app/_app/immutable/chunks/{FH_3TS2H.js → Cz3xtWLM.js} +1 -1
  29. package/dist/app/_app/immutable/chunks/D26njVw7.js +5 -0
  30. package/dist/app/_app/immutable/chunks/D6rPBWFd.js +1 -0
  31. package/dist/app/_app/immutable/chunks/D8dq3MNd.js +1 -0
  32. package/dist/app/_app/immutable/chunks/DOqi3Wfa.js +1 -0
  33. package/dist/app/_app/immutable/chunks/DRQZHPoe.js +1 -0
  34. package/dist/app/_app/immutable/chunks/DUJFqVVs.js +1 -0
  35. package/dist/app/_app/immutable/chunks/DVCZGvXq.js +3 -0
  36. package/dist/app/_app/immutable/chunks/Dco3y1p7.js +1 -0
  37. package/dist/app/_app/immutable/chunks/DmKBckYv.js +1 -0
  38. package/dist/app/_app/immutable/chunks/DnQEoGed.js +1 -0
  39. package/dist/app/_app/immutable/chunks/DoNmKjPy.js +1 -0
  40. package/dist/app/_app/immutable/chunks/DodcabfQ.js +1 -0
  41. package/dist/app/_app/immutable/chunks/DugTr35P.js +1 -0
  42. package/dist/app/_app/immutable/chunks/{xIq_fFFM.js → RBkNRIpl.js} +1 -1
  43. package/dist/app/_app/immutable/chunks/{DKMlMI4a.js → Sb-KFJGv.js} +1 -1
  44. package/dist/app/_app/immutable/chunks/XoU76ysy.js +1 -0
  45. package/dist/app/_app/immutable/chunks/imr7FUlI.js +15 -0
  46. package/dist/app/_app/immutable/chunks/{Dh958be7.js → xefVn_UF.js} +1 -1
  47. package/dist/app/_app/immutable/entry/app.w1HyN1Pe.js +2 -0
  48. package/dist/app/_app/immutable/entry/start.Iz8smxW0.js +1 -0
  49. package/dist/app/_app/immutable/nodes/0.BjQeslHk.js +1 -0
  50. package/dist/app/_app/immutable/nodes/1.DfqY5csg.js +1 -0
  51. package/dist/app/_app/immutable/nodes/2.CByBWAMF.js +10 -0
  52. package/dist/app/_app/version.json +1 -1
  53. package/dist/app/index.html +40 -36
  54. package/dist/aws/firehose.d.ts +32 -1
  55. package/dist/aws/firehose.js +11 -0
  56. package/dist/commands.js +1 -1
  57. package/dist/nodes.d.ts +65 -18
  58. package/dist/nodes.js +378 -58
  59. package/dist/path-filter.d.ts +4 -0
  60. package/dist/path-filter.js +34 -0
  61. package/dist/plugin.d.ts +2 -2
  62. package/dist/plugin.js +2 -2
  63. package/dist/queries.d.ts +16 -7
  64. package/dist/queries.js +82 -12
  65. package/dist/reporting-range.d.ts +53 -0
  66. package/dist/reporting-range.js +57 -0
  67. package/dist/server.js +47 -5
  68. package/dist/traffic-breakdown.d.ts +2 -0
  69. package/dist/traffic-breakdown.js +15 -0
  70. package/dist/transform/diagnostics.d.ts +17 -0
  71. package/dist/transform/diagnostics.js +1 -0
  72. package/dist/transform/handler.d.ts +6 -5
  73. package/dist/transform/handler.js +34 -11
  74. package/dist/transform-bundle/index.mjs +53 -13
  75. package/dist/transform-bundle/transform-manifest.json +2 -2
  76. package/dist/view-granularity.d.ts +27 -0
  77. package/dist/view-granularity.js +18 -0
  78. package/package.json +12 -3
  79. package/dist/app/_app/immutable/assets/0.BTQrrh5B.css +0 -1
  80. package/dist/app/_app/immutable/assets/2.DoCaRy3T.css +0 -1
  81. package/dist/app/_app/immutable/assets/DefaultTooltip.BXd66MzC.css +0 -1
  82. package/dist/app/_app/immutable/chunks/1aEdY044.js +0 -15
  83. package/dist/app/_app/immutable/chunks/B3vZDoek.js +0 -1
  84. package/dist/app/_app/immutable/chunks/B5KRA4hC.js +0 -1
  85. package/dist/app/_app/immutable/chunks/BC0iYSWx.js +0 -2
  86. package/dist/app/_app/immutable/chunks/BZrG8lR6.js +0 -5
  87. package/dist/app/_app/immutable/chunks/Bd1gDe3Y.js +0 -1
  88. package/dist/app/_app/immutable/chunks/Bkszif4s.js +0 -1
  89. package/dist/app/_app/immutable/chunks/BnKf2MvA.js +0 -1
  90. package/dist/app/_app/immutable/chunks/CKcppAud.js +0 -1
  91. package/dist/app/_app/immutable/chunks/CRTcXoMo.js +0 -1
  92. package/dist/app/_app/immutable/chunks/CvyVA_jC.js +0 -1
  93. package/dist/app/_app/immutable/chunks/CxBzrV8P.js +0 -1
  94. package/dist/app/_app/immutable/chunks/CyCGwyzf.js +0 -1
  95. package/dist/app/_app/immutable/chunks/D-mRKj3n.js +0 -1
  96. package/dist/app/_app/immutable/chunks/D0Ty6LN0.js +0 -1
  97. package/dist/app/_app/immutable/chunks/D2BnX0Uk.js +0 -3
  98. package/dist/app/_app/immutable/chunks/DBwYG1VY.js +0 -1
  99. package/dist/app/_app/immutable/chunks/DMoYijy0.js +0 -1
  100. package/dist/app/_app/immutable/chunks/DRmJpyQa.js +0 -1
  101. package/dist/app/_app/immutable/chunks/DVXZkpbf.js +0 -1
  102. package/dist/app/_app/immutable/chunks/DorUkkYD.js +0 -1
  103. package/dist/app/_app/immutable/chunks/DtuTIrAM.js +0 -1
  104. package/dist/app/_app/immutable/chunks/V9ZjaxiY.js +0 -1
  105. package/dist/app/_app/immutable/chunks/ZvRY-WVy.js +0 -1
  106. package/dist/app/_app/immutable/chunks/caXkbKD3.js +0 -1
  107. package/dist/app/_app/immutable/chunks/oNmA_rTI.js +0 -1
  108. package/dist/app/_app/immutable/chunks/yT96EWBw.js +0 -1
  109. package/dist/app/_app/immutable/entry/app.cy9eKSTf.js +0 -2
  110. package/dist/app/_app/immutable/entry/start.B2ycr8Ji.js +0 -1
  111. package/dist/app/_app/immutable/nodes/0.UTMEigHJ.js +0 -1
  112. package/dist/app/_app/immutable/nodes/1.CMX4YrAG.js +0 -1
  113. package/dist/app/_app/immutable/nodes/2.CQMIFodk.js +0 -6
@@ -0,0 +1,10 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../chunks/C8TrOru6.js","../chunks/DVCZGvXq.js","../chunks/xihTtKlq.js","../chunks/DmKBckYv.js","../chunks/DUJFqVVs.js","../chunks/D6rPBWFd.js","../chunks/Y5urAfNy.js","../chunks/Sb-KFJGv.js","../chunks/xefVn_UF.js","../chunks/BQHoVMm0.js","../chunks/BAneOF1f.js","../chunks/DRQZHPoe.js","../chunks/C58PZtCD.js","../assets/Group.DaJMILJc.css","../chunks/CuOP1eLc.js","../assets/Path.CvpwNZ6g.css","../chunks/Db0q5_zr.js","../chunks/BR2LaRms.js","../assets/Voronoi.ce7atosu.css","../chunks/Dco3y1p7.js","../chunks/C0tbX_qQ.js","../chunks/BUku_rSO.js","../chunks/RBkNRIpl.js","../chunks/RobXhXPM.js","../chunks/Cr8mHXFf.js","../chunks/CdRe9NtS.js","../chunks/BID1NNRh.js","../assets/TransformContext.BVplZvS3.css","../chunks/Bsj_2e-_.js","../chunks/C7qhOD3U.js","../chunks/CAgm0Ruv.js","../chunks/BumHYZmq.js","../chunks/CCch3uox.js","../assets/BrushContext.F5ATDMip.css","../chunks/imr7FUlI.js","../chunks/Dfvzj6n2.js","../chunks/D26njVw7.js","../assets/Text.j9l35qB0.css","../chunks/DodcabfQ.js","../chunks/DnQEoGed.js","../chunks/BpoiI2_d.js","../assets/Rect.CtRaGMmQ.css","../chunks/CU11V7_a.js","../assets/Line.fkmsECm9.css","../chunks/B6Dt35mA.js","../assets/Circle.C5MKzgk2.css","../assets/ChartAnnotations.CPxIG7Mw.css","../chunks/Ch6MextH.js","../chunks/D8dq3MNd.js","../chunks/CwPKxnpy.js","../assets/Labels.BxZ4NUVz.css","../chunks/4DYKm5b2.js","../assets/Legend.DTV5rk9m.css","../chunks/XoU76ysy.js","../chunks/CSrT-PUe.js","../assets/Tooltip.BsTJVNOF.css","../assets/DefaultTooltip.CXdtNw-m.css","../chunks/DOqi3Wfa.js","../chunks/BoX17NrM.js","../chunks/DugTr35P.js","../chunks/DoNmKjPy.js"])))=>i.map(i=>d[i]);
2
+ import{$ as e,A as t,At as n,B as r,Ct as i,F as a,Ft as o,G as s,H as c,I as l,It as u,J as d,K as f,L as p,M as m,N as h,Nt as g,Ot as _,P as v,Pt as y,R as b,S as x,St as S,T as C,Tt as w,U as T,V as E,W as D,X as O,Y as k,Z as A,_ as ee,_t as j,a as M,at as N,b as te,bt as P,c as ne,ct as re,d as ie,dt as F,et as ae,f as oe,ft as I,g as L,h as se,ht as R,i as z,j as B,jt as V,k as H,kt as ce,l as le,lt as U,m as W,n as ue,nt as de,o as G,ot as K,p as fe,pt as pe,q as me,rt as he,s as ge,st as _e,u as ve,ut as q,v as ye,vt as J,w as be,wt as Y,x as xe,xt as Se,y as Ce,z as we}from"../chunks/DVCZGvXq.js";import{t as Te}from"../chunks/HclGiUj8.js";import"../chunks/xihTtKlq.js";import{A as Ee,C as De,D as Oe,E as ke,H as Ae,O as je,V as Me,_ as Ne,a as Pe,c as Fe,d as Ie,f as Le,h as Re,i as ze,j as Be,k as Ve,l as He,m as Ue,n as We,o as Ge,r as Ke,s as qe,t as Je,u as Ye,v as Xe,w as Ze,x as Qe,y as $e,z as et}from"../chunks/DmKBckYv.js";import{a as tt,i as nt,l as rt,n as it,o as at,p as ot,u as st}from"../chunks/BUku_rSO.js";import{a as ct,c as lt,i as ut,n as dt,o as ft,s as pt,t as mt}from"../chunks/D6rPBWFd.js";import{S as ht,c as gt,d as _t,o as vt,x as yt}from"../chunks/Y5urAfNy.js";import{i as bt,n as xt,r as St,t as Ct}from"../chunks/CAgm0Ruv.js";import{t as wt}from"../chunks/Db0q5_zr.js";import{t as Tt}from"../chunks/CCch3uox.js";import{a as Et,i as Dt,n as Ot,r as kt,s as At,t as jt}from"../chunks/Sb-KFJGv.js";import{a as Mt,c as Nt,d as Pt,f as Ft,i as X,l as It,n as Lt,o as Rt,p as zt,r as Bt,s as Vt,t as Ht,u as Ut}from"../chunks/C7qhOD3U.js";import{n as Wt,t as Gt}from"../chunks/BID1NNRh.js";import{n as Kt,r as qt}from"../chunks/BumHYZmq.js";import{t as Jt}from"../chunks/Dfvzj6n2.js";import{C as Yt,S as Xt,_ as Zt,h as Qt,u as $t,w as en,x as tn}from"../chunks/xefVn_UF.js";import{t as nn}from"../chunks/RBkNRIpl.js";import{i as rn,n as an,r as on,t as sn}from"../chunks/BQHoVMm0.js";import{n as cn}from"../chunks/BAneOF1f.js";import{a as ln,o as un,r as dn,t as fn}from"../chunks/DRQZHPoe.js";import{n as pn,o as mn,r as hn}from"../chunks/RobXhXPM.js";import{i as gn,n as _n,r as vn,t as yn}from"../chunks/D26njVw7.js";import{n as bn,r as xn,t as Sn}from"../chunks/CSrT-PUe.js";import{n as Cn}from"../chunks/C58PZtCD.js";import{n as wn,t as Tn}from"../chunks/Cr8mHXFf.js";import{n as En,r as Dn,t as On}from"../chunks/C0tbX_qQ.js";import{n as kn,r as An,t as jn}from"../chunks/CuOP1eLc.js";import{a as Mn,c as Nn,i as Pn,l as Fn,o as In,r as Ln,s as Rn,t as zn}from"../chunks/DodcabfQ.js";import{t as Bn}from"../chunks/BR2LaRms.js";import{n as Vn,r as Hn,t as Un}from"../chunks/DnQEoGed.js";import{n as Wn,r as Gn,t as Kn}from"../chunks/CU11V7_a.js";import{n as qn,r as Jn,t as Yn}from"../chunks/B6Dt35mA.js";import{n as Xn,t as Zn}from"../chunks/BoX17NrM.js";import{n as Qn,r as $n,t as er}from"../chunks/DoNmKjPy.js";var tr={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`},nr=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},rr=Symbol(`lucide-context`),ir=()=>Se(rr),ar=new Set([`$$slots`,`$$events`,`$$legacy`,`name`,`color`,`size`,`strokeWidth`,`absoluteStrokeWidth`,`iconNode`,`children`]),or=T(`<svg><!><!></svg>`);function sr(e,n){Y(n,!0);let a=ir()??{},s=z(n,`color`,19,()=>a.color??`currentColor`),c=z(n,`size`,19,()=>a.size??24),l=z(n,`strokeWidth`,19,()=>a.strokeWidth??2),d=z(n,`absoluteStrokeWidth`,19,()=>a.absoluteStrokeWidth??!1),f=z(n,`iconNode`,19,()=>[]),p=M(n,ar),h=J(()=>d()?Number(l())*24/Number(c()):l());var g=or();W(g,e=>({...tr,...e,...p,width:c(),height:c(),stroke:s(),"stroke-width":A(h),class:[`lucide-icon lucide`,a.class,n.name&&`lucide-${n.name}`,n.class]}),[()=>!n.children&&!nr(p)&&{"aria-hidden":`true`}]);var _=U(g);B(_,17,f,m,(e,t)=>{var n=J(()=>u(A(t),2));let i=()=>A(n)[0],a=()=>A(n)[1];var o=E(),s=q(o);C(s,i,!0,(e,t)=>{W(e,()=>({...a()}))}),r(e,o)});var v=I(_);t(v,()=>n.children??o),V(g),r(e,g),i()}var cr=new Set([`$$slots`,`$$events`,`$$legacy`]);function lr(e,t){let n=M(t,cr),r=[[`path`,{d:`M8 2v3`}],[`path`,{d:`M16 2v3`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}],[`path`,{d:`M3 9h18`}],[`path`,{d:`M8 13h.01`}],[`path`,{d:`M12 13h.01`}],[`path`,{d:`M16 13h.01`}],[`path`,{d:`M8 17h.01`}],[`path`,{d:`M12 17h.01`}],[`path`,{d:`M16 17h.01`}]];sr(e,G({name:`calendar-days`},()=>n,{get iconNode(){return r}}))}var ur=new Set([`$$slots`,`$$events`,`$$legacy`]);function dr(e,t){let n=M(t,ur),r=[[`path`,{d:`m6 9 6 6 6-6`}]];sr(e,G({name:`chevron-down`},()=>n,{get iconNode(){return r}}))}var fr=new Set([`$$slots`,`$$events`,`$$legacy`]);function pr(e,t){let n=M(t,fr),r=[[`path`,{d:`m15 18-6-6 6-6`}]];sr(e,G({name:`chevron-left`},()=>n,{get iconNode(){return r}}))}var mr=new Set([`$$slots`,`$$events`,`$$legacy`]);function hr(e,t){let n=M(t,mr),r=[[`path`,{d:`m9 18 6-6-6-6`}]];sr(e,G({name:`chevron-right`},()=>n,{get iconNode(){return r}}))}var gr=new Set([`$$slots`,`$$events`,`$$legacy`]);function _r(e,t){let n=M(t,gr),r=[[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`}],[`line`,{x1:`8`,x2:`16`,y1:`21`,y2:`21`}],[`line`,{x1:`12`,x2:`12`,y1:`17`,y2:`21`}]];sr(e,G({name:`monitor`},()=>n,{get iconNode(){return r}}))}var vr=new Set([`$$slots`,`$$events`,`$$legacy`]);function yr(e,t){let n=M(t,vr),r=[[`path`,{d:`M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401`}]];sr(e,G({name:`moon`},()=>n,{get iconNode(){return r}}))}var br=new Set([`$$slots`,`$$events`,`$$legacy`]);function xr(e,t){let n=M(t,br),r=[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`}],[`path`,{d:`M21 3v5h-5`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`}],[`path`,{d:`M8 16H3v5`}]];sr(e,G({name:`refresh-cw`},()=>n,{get iconNode(){return r}}))}var Sr=new Set([`$$slots`,`$$events`,`$$legacy`]);function Cr(e,t){let n=M(t,Sr),r=[[`circle`,{cx:`12`,cy:`12`,r:`4`}],[`path`,{d:`M12 2v2`}],[`path`,{d:`M12 20v2`}],[`path`,{d:`m4.93 4.93 1.41 1.41`}],[`path`,{d:`m17.66 17.66 1.41 1.41`}],[`path`,{d:`M2 12h2`}],[`path`,{d:`M20 12h2`}],[`path`,{d:`m6.34 17.66-1.41 1.41`}],[`path`,{d:`m19.07 4.93-1.41 1.41`}]];sr(e,G({name:`sun`},()=>n,{get iconNode(){return r}}))}var wr=new Set([`$$slots`,`$$events`,`$$legacy`]);function Tr(e,t){let n=M(t,wr),r=[[`path`,{d:`M18 6 6 18`}],[`path`,{d:`m6 6 12 12`}]];sr(e,G({name:`x`},()=>n,{get iconNode(){return r}}))}var Er=[{name:`views-over-time`,title:`Views over time`,category:`day`,value:`views`,valueKind:`count`,ranked:!1},{name:`unique-visitors`,title:`Daily unique visitors`,category:`day`,value:`daily_unique_visitors`,valueKind:`count`,ranked:!1,totalColumn:`summed_daily_unique_visitors`},{name:`referrers`,title:`Referrers`,category:`referrer`,value:`views`,valueKind:`count`,ranked:!0},{name:`top-paths`,title:`Top paths`,category:`uri`,value:`views`,valueKind:`count`,ranked:!0},{name:`countries`,title:`Countries`,category:`country`,value:`views`,valueKind:`count`,ranked:!0},{name:`status-codes`,title:`Status codes`,category:`status`,value:`views`,valueKind:`count`,ranked:!1},{name:`cache-hit-ratio`,title:`Cache hit ratio`,category:`day`,value:`cache_hit_ratio`,valueKind:`ratio`,ranked:!1}],Dr=c(`<label class="pill-option svelte-1a17vex"><input type="radio" class="svelte-1a17vex"/> <span class="svelte-1a17vex"> </span></label>`),Or=c(`<fieldset class="pill-radio svelte-1a17vex"><span aria-hidden="true"></span> <!></fieldset>`);function kr(e,t){let n=D();Y(t,!0);let a=[],o=z(t,`value`,15),s=z(t,`name`,3,n),c=J(()=>t.options.findIndex(e=>e.value===o()));var l=Or();let u;var d=U(l);let f;var m=I(d,2);B(m,17,()=>t.options,e=>e.value,(e,t)=>{var n=Dr(),i=U(n);se(i);var c,l=I(i,2),u=F(l,!0);V(n),N(()=>{L(n,`title`,A(t).accessibleLabel??A(t).label),L(i,`name`,s()),L(i,`aria-label`,A(t).accessibleLabel??A(t).label),c!==(c=A(t).value)&&(i.value=(i.__value=c)??``),p(u,A(t).label)}),ve(a,[],i,()=>(A(t).value,o()),o),r(e,n)}),V(l),N(e=>{L(l,`aria-label`,t.label),L(l,`name`,s()),u=Ce(l,``,u,{"--option-count":e,"--selected-index":A(c)}),f=te(d,1,`pill-highlight svelte-1a17vex`,null,f,{unselected:A(c)<0})},[()=>Math.max(1,t.options.length)]),r(e,l),i()}var Ar=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`innerRef`,`zIndex`,`pointerEvents`,`viewBox`,`ignoreTransform`,`center`,`clip`,`class`,`title`,`defs`,`children`]),jr=T(`<title class="lc-layout-svg-title"> </title>`),Mr=T(`<g class="lc-layout-svg-g-transform"><!></g>`),Nr=T(`<svg><!><defs><!></defs><g class="lc-layout-svg-g"><!></g></svg>`);function Pr(e,n){Y(n,!0);let a=z(n,`ref`,15),s=z(n,`innerRef`,15),c=z(n,`zIndex`,3,0),l=z(n,`ignoreTransform`,3,!1),u=z(n,`center`,3,!1),d=z(n,`clip`,3,!1),f=M(n,Ar),m=j(void 0),h=j(void 0);_e(()=>{a(A(m))}),_e(()=>{s(A(h))});let g=Je(),_=J(()=>{if(g.transform.mode===`canvas`&&!l())return`translate(${g.transform.translate.x},${g.transform.translate.y}) scale(${g.transform.scale})`;if(u())return`translate(${u()===`x`||u()===!0?g.width/2:0}, ${u()===`y`||u()===!0?g.height/2:0})`});Xt(`svg`);var y=Nr();W(y,()=>({viewBox:n.viewBox,width:g.containerWidth,height:g.containerHeight,class:[`lc-layout-svg`,n.class],role:`figure`,...f,[oe]:{disablePointerEvents:n.pointerEvents===!1,clip:d()},[fe]:{"z-index":c()}}),void 0,void 0,void 0,`svelte-19y51xu`);var b=U(y),x=e=>{var i=E(),a=q(i);t(a,()=>n.title),r(e,i)},S=e=>{var t=jr(),i=F(t,!0);N(()=>p(i,n.title)),r(e,t)};v(b,e=>{typeof n.title==`function`?e(x):n.title&&e(S,1)});var C=I(b),w=U(C);t(w,()=>n.defs??o),V(C);var T=I(C),D=U(T),O=e=>{var i=Mr(),a=U(i);t(a,()=>n.children??o,()=>({ref:A(m)})),V(i),N(()=>L(i,`transform`,A(_))),r(e,i)},k=e=>{var i=E(),a=q(i);t(a,()=>n.children??o,()=>({ref:A(m)})),r(e,i)};v(D,e=>{A(_)?e(O):e(k,-1)}),V(T),ne(T,e=>R(h,e),()=>A(h)),V(y),ne(y,e=>R(m,e),()=>A(m)),N(()=>L(T,`transform`,`translate(${g.padding.left??``}, ${g.padding.top??``})`)),r(e,y),i()}var Fr=new Set([`$$slots`,`$$events`,`$$legacy`,`RectClipPath`,`full`,`disabled`]);function Ir(e,t){Y(t,!0);let n=z(t,`full`,3,!1),a=z(t,`disabled`,3,!1),o=M(t,Fr),s=Je();var c=E(),l=q(c);{let e=J(()=>n()&&s.padding.left?-s.padding.left:0),r=J(()=>n()&&s.padding.top?-s.padding.top:0),i=J(()=>s.height+(n()?(s.padding?.top??0)+(s.padding?.bottom??0):0)),c=J(()=>s.width+(n()?(s.padding?.left??0)+(s.padding?.right??0):0)),u=J(()=>nn(o,`lc-chart-clip-path`));H(l,()=>t.RectClipPath,(t,n)=>{n(t,G({get x(){return A(e)},get y(){return A(r)},get disabled(){return a()},get height(){return A(i)},get width(){return A(c)}},()=>A(u)))})}r(e,c),i()}function Lr(e,n){let a=D();Y(n,!0);let s=z(n,`id`,19,()=>rn(`clipPath-`,a)),c=z(n,`x`,3,0),l=z(n,`y`,3,0),u=z(n,`disabled`,3,!1),d=z(n,`invert`,3,!1),f=dn(n.initialX??c(),()=>c(),n.motion&&un(n.motion,`x`)),p=dn(n.initialY??l(),()=>l(),n.motion&&un(n.motion,`y`)),m=dn(n.initialWidth??n.width,()=>n.width,n.motion&&un(n.motion,`width`)),h=dn(n.initialHeight??n.height,()=>n.height,n.motion&&un(n.motion,`height`)),g=J(()=>`M${f.current},${p.current} h${m.current} v${h.current} h${-m.current} Z`);var _=E(),v=q(_);{let e=(e,i)=>{let a=()=>(i?.()).url;var c=E(),l=q(c);t(l,()=>n.children??o,()=>({id:s(),url:a()})),r(e,c)};H(v,()=>n.ClipPath,(t,n)=>{n(t,{get id(){return s()},get disabled(){return u()},get invert(){return d()},get path(){return A(g)},children:e,$$slots:{default:!0}})})}r(e,_),i()}var Rr=new Set([`$$slots`,`$$events`,`$$legacy`]);function zr(e,t){let n=M(t,Rr);Lr(e,G({get ClipPath(){return ft}},()=>n))}var Br=new Set([`$$slots`,`$$events`,`$$legacy`]);function Vr(e,t){let n=M(t,Br);Ir(e,G({get RectClipPath(){return zr}},()=>n))}var Hr=new Set([`$$slots`,`$$events`,`$$legacy`]);function Ur(e,t){let n=M(t,Hr);Lr(e,G({get ClipPath(){return ct}},()=>n))}var Wr=new Set([`$$slots`,`$$events`,`$$legacy`]);function Gr(e,t){let n=M(t,Wr);Ir(e,G({get RectClipPath(){return Ur}},()=>n))}var Kr=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`useId`,`disabled`,`invert`,`children`]),qr=c(`<div class="lc-clip-path-div"><!></div>`);function Jr(e,n){let a=D();Y(n,!0);let o=z(n,`id`,19,()=>rn(`clipPath-`,a)),s=z(n,`disabled`,3,!1),c=z(n,`invert`,3,!1),l=M(n,Kr),u=new pt(()=>({id:o(),useId:n.useId,disabled:s(),invert:c(),children:n.children,...l})),d=J(()=>`url(#${o()})`);var f=E(),p=q(f),m=e=>{var i=E(),a=q(i),l=e=>{var i=E(),a=q(i);t(a,()=>n.children,()=>({id:o(),url:A(d),useId:n.useId})),r(e,i)},f=e=>{var i=qr();let a;var s=U(i);t(s,()=>n.children,()=>({id:o(),url:A(d),useId:n.useId})),V(i),N(()=>a=Ce(i,``,a,{position:`absolute`,inset:`0`,"clip-path":c()?`path(evenodd, "${u.effectivePath}")`:`path("${u.effectivePath}")`})),r(e,i)};v(a,e=>{s()||!u.effectivePath?e(l):e(f,-1)}),r(e,i)};v(p,e=>{n.children&&e(m)}),r(e,f),i()}var Yr=new Set([`$$slots`,`$$events`,`$$legacy`]);function Xr(e,t){let n=M(t,Yr);Lr(e,G({get ClipPath(){return Jr}},()=>n))}var Zr=new Set([`$$slots`,`$$events`,`$$legacy`]);function Qr(e,t){let n=M(t,Zr);Ir(e,G({get RectClipPath(){return Xr}},()=>n))}var $r=new Set([`$$slots`,`$$events`,`$$legacy`]);function ei(e,t){Y(t,!0);let n=tn(),a=M(t,$r);var o=E(),s=q(o),c=e=>{Vr(e,G(()=>a))},l=e=>{Gr(e,G(()=>a))},u=e=>{Qr(e,G(()=>a))};v(s,e=>{n===`svg`?e(c):n===`canvas`?e(l,1):n===`html`&&e(u,2)}),r(e,o),i()}function ti(e){return function(t){return t<0?-((-t)**+e):t**+e}}function ni(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function ri(e){return e<0?-e*e:e*e}function ii(e){var t=e(tt,tt),n=1;function r(){return n===1?e(tt,tt):n===.5?e(ni,ri):e(ti(n),ti(1/n))}return t.exponent=function(e){return arguments.length?(n=+e,r()):n},it(t)}function ai(){var e=ii(at());return e.copy=function(){return nt(e,ai()).exponent(e.exponent())},st.apply(e,arguments),e}function oi(){return ai.apply(null,arguments).exponent(.5)}function si(){return st.apply(It(zt,Ft,$e,Qe,De,ke,je,Ee,Be,Ne).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function ci(e,t=!0){let n=[];return e.visit((e,r,i,a,o)=>{(t||Array.isArray(e))&&n.push({x:r,y:i,width:a-r,height:o-i})}),n}function li(e,t){return e.length===t.length&&e.every(e=>t.includes(e))}function ui(e,t,n){return t?di(t[e],n):n}function di(e=[],t){return Array.isArray(t)===!0?t.map((t,n)=>t===null?e[n]:t):e}function fi(e,{domain:t,scale:n,padding:r,nice:i,reverse:a,width:o,height:s,range:c,percentRange:l}){let u=xi(e,o,s,a,c,l),d=n.copy();if(d.domain(t),(!d.interpolator||typeof d.interpolator==`function`&&d.interpolator().name.startsWith(`identity`))&&d.range(u),r&&d.domain(mi(d,r)),(i===!0||typeof i==`number`)&&(typeof d.nice==`function`?d.nice(typeof i==`number`?i:void 0):console.error(`[Layer Chart] You set \`${e}Nice: true\` but the ${e}Scale does not have a \`.nice\` method. Ignoring...`)),typeof d.domain==`function`&&typeof d.invert==`function`){let[e,t]=d.domain();typeof e==`number`&&typeof t==`number`&&e===t&&d.domain([e,e+1])}return d}var pi=[`scaleThreshold`,`scaleQuantile`,`scaleQuantize`,`scaleSequentialQuantile`];function mi(e,t){if(typeof e.range!=`function`)throw Error("Scale method `range` must be a function");if(typeof e.domain!=`function`)throw Error("Scale method `domain` must be a function");if(!Array.isArray(t)||pi.includes(gi(e))||_i(e)===!0)return e.domain();let{lift:n,ground:r}=ki(e),i=e.domain()[0],a=Object.prototype.toString.call(i)===`[object Date]`,[o,s]=e.domain().map(e=>n(a?e.getTime():e)),[c,l]=e.range(),u=t[0]||0,d=t[1]||0,f=(s-o)/(Math.abs(l-c)-u-d);return[o-u*f,d*f+s].map(e=>r(a?new Date(e).getTime():e))}function hi(e,t=``){return`scale${gn(t)}${gn(e)}`}function gi(e){if(typeof e.bandwidth==`function`)return typeof e.paddingInner==`function`?hi(`band`):hi(`point`);if(li(Object.keys(e),[`domain`,`range`,`unknown`,`copy`]))return hi(`ordinal`);let t=``;if(e.interpolator&&(t=e.domain().length===3?`diverging`:`sequential`),e.quantiles)return hi(`quantile`,t);if(e.thresholds)return hi(`quantize`,t);if(e.constant)return hi(`symlog`,t);if(e.base)return hi(`log`,t);if(e.exponent)return e.exponent()===.5?hi(`sqrt`,t):hi(`pow`,t);if(li(Object.keys(e),[`domain`,`range`,`invertExtent`,`unknown`,`copy`]))return hi(`threshold`);if(li(Object.keys(e),[`invert`,`range`,`domain`,`unknown`,`copy`,`ticks`,`tickFormat`,`nice`]))return hi(`identity`);if(li(Object.keys(e),[`invert`,`domain`,`range`,`rangeRound`,`round`,`clamp`,`unknown`,`copy`,`ticks`,`tickFormat`,`nice`]))return hi(`radial`);if(t)return hi(t);if(e.domain()[0]instanceof Date){let t=new Date,n=``;return t.getDay=()=>n=`time`,t.getUTCDay=()=>n=`utc`,e.tickFormat(0,`%a`)(t),hi(n)}return hi(`linear`)}function _i(e){return!!(typeof e.bandwidth==`function`||li(Object.keys(e),[`domain`,`range`,`unknown`,`copy`]))}function vi(e,t,n){let r=Object.entries(n).reduce((e,[n,r])=>{let i=_i(r.scale)===!0?`ordinal`:`other`;return e[i]||(e[i]={}),e[i][n]=t[n],e},{ordinal:!1,other:!1}),i={};if(r.ordinal){let t=Object.fromEntries(Object.entries(n).map(([e,t])=>[e,t.sort]));i=yi(e,r.ordinal,t)}if(r.other){let t=ji(e,r.other);i={...i,...t}}return i}function yi(e,t,n={}){if(!Array.isArray(e))throw TypeError(`The first argument of calcUniques() must be an array. You passed in a ${typeof e}. If you got this error using the <Chart> component, consider passing a flat array to the \`flatData\` prop`);if(Array.isArray(t)||t==null)throw TypeError(`The second argument of calcUniques() must be an object with field names as keys and accessor functions as values.`);let r={},i=Object.keys(t);for(let a of i){let i=new bt,o=t[a];if(!o)continue;for(let t of e){let e=o(t);if(Array.isArray(e))for(let t of e)i.add(t);else i.add(e)}let s=Array.from(i);(n.sort===!0||n[a]===!0)&&s.sort((e,t)=>typeof e==`number`&&typeof t==`number`?e-t:String(e).localeCompare(String(t))),r[a]=s}return r}function bi(e,t,n,r,i){let a,o;return i===!0?(a=0,o=100):(a=+(e===`r`),o=e===`y`?n:e===`r`?25:t),r===!0?[o,a]:[a,o]}function xi(e,t,n,r,i,a=!1){return i?typeof i==`function`?i({width:t,height:n}):i:bi(e,t,n,r,a)}function Si(e){return e}function Ci(e){return e.constant?`symlog`:e.base?`log`:typeof e.exponent==`function`?e.exponent()===.5?`sqrt`:`pow`:`other`}function wi(e){return t=>Math.log(e*t)}function Ti(e){return t=>e*Math.exp(t)}function Ei(e){return t=>Math.sign(t)*Math.log1p(Math.abs(t/e))}function Di(e){return t=>Math.sign(t)*Math.expm1(Math.abs(t))*e}function Oi(e){return function(t){return t<0?-((-t)**+e):t**+e}}function ki(e){let t=Ci(e);switch(t){case`log`:{let n=e.domain(),r=Math.sign(n[0]);return{lift:wi(r),ground:Ti(r),scaleType:t}}case`pow`:return{lift:Oi(1),ground:Oi(1),scaleType:t};case`sqrt`:{let e=.5;return{lift:Oi(e),ground:Oi(1/e),scaleType:t}}case`symlog`:return{lift:Ei(1),ground:Di(1),scaleType:t};default:return{lift:Si,ground:Si,scaleType:t}}}function Ai(e,t){return n=>{let r=e(n);if(t)return Array.isArray(r)?r.map(e=>t(e)):t(r)}}function ji(e,t){if(!Array.isArray(e))throw TypeError(`The first argument of calcExtents() must be an array. You passed in a ${typeof e}. If you got this error using the <Chart> component, consider passing a flat array to the \`flatData\` prop.`);if(Array.isArray(t)||t==null)throw TypeError(`The second argument of calcExtents() must be an object with field names as keys as accessor functions as values.`);let n={},r=Object.keys(t),i=r.length,a,o,s,c,l,u,d,f,p=e.length;for(a=0;a<i;a+=1)if(c=r[a],d=t[c],l=null,u=null,d){for(o=0;o<p;o+=1)if(f=d(e[o]),Array.isArray(f)){let e=f.length;for(s=0;s<e;s+=1)f[s]!==void 0&&f[s]!==null&&(typeof f[s]==`string`||Number.isNaN(f[s])===!1)&&((l===null||f[s]<l)&&(l=f[s]),(u===null||f[s]>u)&&(u=f[s]))}else f!=null&&(typeof f==`string`||Number.isNaN(f)===!1)&&((l===null||f<l)&&(l=f),(u===null||f>u)&&(u=f));n[c]=[l,u]}return n}function Mi(e){e.nextSibling&&e.parentNode?.appendChild(e)}var Ni=class{#e=j(0);get x(){return A(this.#e)}set x(e){R(this.#e,e,!0)}#t=j(0);get y(){return A(this.#t)}set y(e){R(this.#t,e,!0)}#n=j(null);get data(){return A(this.#n)}set data(e){R(this.#n,e,!0)}#r=j(pe([]));get series(){return A(this.#r)}set series(e){R(this.#r,e,!0)}#i=j(!1);get isHoveringTooltipArea(){return A(this.#i)}set isHoveringTooltipArea(e){R(this.#i,e,!0)}#a=j(!1);get isHoveringTooltipContent(){return A(this.#a)}set isHoveringTooltipContent(e){R(this.#a,e,!0)}mode;show;hide;constructor(e,t,n){this.mode=e,this.show=t,this.hide=n}},Pi=new class{#e;get layer(){return A(this.#e)}set layer(e){R(this.#e,e,!0)}#t;get debug(){return A(this.#t)}set debug(e){R(this.#t,e,!0)}constructor(e={}){this.#e=j(pe(e.layer??`svg`)),this.#t=j(pe(e.debug??!1))}},Fi=new Ge(`Settings`);function Ii(){return Fi.getOr(Pi)}var Li=T(`<rect></rect>`),Ri=T(`<g class="lc-tooltip-rects-g"></g>`),zi=T(`<g class="lc-tooltip-quadtree-g"><!></g>`),Bi=c(`<div><div class="lc-tooltip-context-container svelte-1ou31d3"><!> <!></div></div>`);function Vi(e,n){Y(n,!0);let s=Je(),c=Yt(),l=Ii(),u=z(n,`ref`,15),f=z(n,`findTooltipData`,3,`closest`),p=z(n,`hideDelay`,3,0),h=z(n,`locked`,3,!1),g=z(n,`touchEvents`,3,`pan-y`),_=z(n,`mode`,3,`manual`),y=z(n,`onclick`,3,()=>{}),b=z(n,`radius`,3,1/0),x=z(n,`raiseTarget`,3,!1),S=z(n,`state`,15),C=j(void 0);_e(()=>{u(A(C))});let w=new Ni(_(),P,re);S(w);let T=J(()=>n.debug??l.debug),D,O=ot(e=>{let t=s.x(e);return Array.isArray(t)?t[0]:t}).left,k=ot(e=>{let t=s.y(e);return Array.isArray(t)?t[0]:t}).left;function ee(e,t,n,r){switch(f()){case`closest`:return t===void 0?e:e===void 0||Number(n)-Number(r(e))>Number(r(t))-Number(n)?t:e;case`left`:return e;default:return t}}function M(e,t){if(_()===`manual`&&s.series.isDefaultSeries&&e.key==="default"&&e.data==null&&e.value!=null&&t!=null){let e=s.c?.(t);if(typeof e==`string`||typeof e==`number`)return`${e}`}return e.key}function P(e,t){if(D&&clearTimeout(D),h())return;let n=e.target.closest(`.lc-root-container`),r=Gt(e,n);if(A(C)!==void 0&&t==null&&(r.x<A(C).offsetLeft||r.x>A(C).offsetLeft+A(C).offsetWidth||r.y<A(C).offsetTop||r.y>A(C).offsetTop+A(C).offsetHeight)){re();return}if(t==null)switch(_()){case`bisect-x`:{let e;if(s.radial){let{radians:t}=pn(r.x-s.width/2,r.y-s.height/2);e=Nt(s.xScale,t)}else e=Nt(s.xScale,r.x-s.padding.left);let n=O(s.flatData,e,1),i=s.flatData[n-1],a=s.flatData[n];t=ee(i,a,e,s.x);break}case`bisect-y`:{let e=Nt(s.yScale,r.y-s.padding.top),n=k(s.flatData,e,1),i=s.flatData[n-1],a=s.flatData[n];t=ee(i,a,e,s.y);break}case`bisect-band`:{let e=Nt(s.xScale,r.x-s.padding.left),n=Nt(s.yScale,r.y-s.padding.top);if(X(s.xScale)){let r=s.flatData.filter(t=>s.x(t)===e).sort(Ye(s.y)),i=k(r,n,1),a=r[i-1],o=r[i];t=ee(a,o,n,s.y)}else if(X(s.yScale)){let r=s.flatData.filter(e=>s.y(e)===n).sort(Ye(s.x)),i=O(r,e,1),a=r[i-1],o=r[i];t=ee(a,o,e,s.x)}break}case`quadtree-x`:case`quadtree-y`:case`quadtree`:{let e=r.x-s.padding.left,n=r.y-s.padding.top;s.transform.mode===`canvas`&&(e=(e-s.transform.translate.x)/s.transform.scale,n=(n-s.transform.translate.y)/s.transform.scale),t=A(ae)?.find(e,n,b());break}}if(t){x()&&Mi(e.target);let n=_()===`quadtree`||_()===`voronoi`,i=s.series.series.map(e=>{let r=e.data?n?t?.seriesKey==null?e.data.includes(t)?t:void 0:e.key===t.seriesKey?t:void 0:Dt(e.data,t,s.x):t,i=jt(e.value??(e.data?s.props.y??s.props.x??Jt(s.y)??Jt(s.x):e.key)),a=r?i(r):void 0,o=M(e,r),c=s.cScale?.(s.c(t)),l=s.props.cScale?c??e.color:e.color??c;return{key:o,label:e.label??(o==="default"?`value`:o),value:a,color:l,visible:o===e.key?s.series.isVisible(e.key):s.series.selectedKeys.isEmpty()||s.series.selectedKeys.isSelected(o),config:e}});w.x=r.x,w.y=r.y,w.data=t,w.series=s.series.isStacked?[...i].reverse():i}else re()}function re(){h()||(w.isHoveringTooltipArea=!1,D=setTimeout(()=>{!w.isHoveringTooltipArea&&!w.isHoveringTooltipContent&&(w.data=null)},p()))}let ie=J(()=>n.x==null?void 0:jt(n.x)),F=J(()=>n.y==null?void 0:jt(n.y)),ae=j(void 0);K(()=>{if(![`quadtree`,`quadtree-x`,`quadtree-y`].includes(_())){R(ae,void 0);return}let e=_(),t=A(ie),n=A(F),r=s.xScale,i=s.yScale,a=s.xGet,o=s.yGet,l=s.x,u=s.y,d=c.projection,f=s.flatData,p=!1;return Te(async()=>{let{quadtree:e}=await import(`../chunks/Bl052uUt.js`);return{quadtree:e}},[],import.meta.url).then(({quadtree:s})=>{p||R(ae,s().x(n=>{if(e===`quadtree-y`)return 0;if(t){let e=r(t(n));return typeof e==`number`?e:0}if(d){let e=l(n),t=u(n);return(d([e,t])??[0,0])[0]}let i=a(n);return Array.isArray(i)?wt(i):i}).y(t=>{if(e===`quadtree-x`)return 0;if(n){let e=i(n(t));return typeof e==`number`?e:0}if(d){let e=l(t),n=u(t);return(d([e,n])??[0,0])[1]}let r=o(t);return Array.isArray(r)?wt(r):r}).addAll(f),!0)}),()=>{p=!0}});let oe=J(()=>_()===`bounds`||_()===`band`?s.flatData.map(e=>{let t=s.xGet(e),n=s.yGet(e),r=Array.isArray(t)?t[0]:t,i=Array.isArray(n)?n[0]:n,a=X(s.xScale)?s.xScale.padding()*s.xScale.step()/2:0,o=X(s.yScale)?s.yScale.padding()*s.yScale.step()/2:0,c=wt(s.xRange)-Tt(s.xRange),l=wt(s.yRange)-Tt(s.yRange);if(_()===`band`){if(X(s.xScale))return{x:r-a,y:X(s.yScale)?i-o:Tt(s.yRange),width:s.xScale.step(),height:X(s.yScale)?s.yScale.step():l,data:e};if(X(s.yScale))return{x:X(s.xScale)?r-a:Tt(s.xRange),y:i-o,width:X(s.xScale)?s.xScale.step():c,height:s.yScale.step(),data:e};if(s.xInterval){let t=s.x(e),n=s.xInterval.floor(t),r=s.xInterval.offset(n),a=s.xScale(n),c=s.xScale(r);return{x:Math.min(a,c),y:X(s.yScale)?i-o:Tt(s.yRange),width:Math.abs(c-a),height:X(s.yScale)?s.yScale.step():l,data:e}}if(s.yInterval){let t=s.y(e),n=s.yInterval.floor(t),i=s.yInterval.offset(n),o=s.yScale(n),l=s.yScale(i);return{x:X(s.xScale)?r-a:Tt(s.xRange),y:Math.min(o,l),width:X(s.xScale)?s.xScale.step():c,height:Math.abs(l-o),data:e}}if(Array.isArray(t))return{x:Math.min(t[0],t[1])-a,y:Array.isArray(n)?Math.min(n[0],n[1])-o:Tt(s.yRange),width:Math.abs(t[1]-t[0]),height:Array.isArray(n)?Math.abs(n[1]-n[0]):l,data:e};if(Array.isArray(n))return{x:Tt(s.xRange),y:Math.min(n[0],n[1])-o,width:c,height:Math.abs(n[1]-n[0]),data:e};if(Rt(s.xScale)){let n=s.flatData.findIndex(t=>Number(s.x(t))===Number(s.x(e))),c=n+1===s.flatData.length?wt(s.xDomain):s.x(s.flatData[n+1]);return{x:r-a,y:X(s.yScale)?i-o:Tt(s.yRange),width:(s.xScale(c)??0)-(t??0),height:X(s.yScale)?s.yScale.step():l,data:e}}if(Rt(s.yScale)){let t=s.flatData.findIndex(t=>Number(s.y(t))===Number(s.y(e))),l=t+1===s.flatData.length?wt(s.yDomain):s.y(s.flatData[t+1]);return{x:X(s.xScale)?r-a:Tt(s.xRange),y:i-o,width:X(s.xScale)?s.xScale.step():c,height:(s.yScale(l)??0)-(n??0),data:e}}console.warn(`[layerchart] TooltipContext band mode requires at least one scale to be band or time.`);return}if(_()===`bounds`)return{x:X(s.xScale)||Array.isArray(t)?r-a:Tt(s.xRange),y:i-o,width:Array.isArray(t)?t[1]-t[0]:X(s.xScale)?s.xScale.step():Tt(s.xRange)+r,height:Array.isArray(n)?n[1]-n[0]:X(s.yScale)?s.yScale.step():wt(s.yRange)-i,data:e}}).filter(e=>e!==void 0).sort(Ye(`x`)):[]),se=J(()=>[`bisect-x`,`bisect-y`,`bisect-band`,`quadtree`,`quadtree-x`,`quadtree-y`].includes(_()));function ce(e){w.isHoveringTooltipArea=!0,A(se)&&P(e)}function le(e){A(se)&&P(e)}function W(e){w.isHoveringTooltipArea=!1,re()}var ue=Bi();let de,G;var fe=U(ue);let pe;var he=U(fe);t(he,()=>n.children??o,()=>({state:w}));var ge=I(he,2),ve=e=>{var t=E(),i=q(t);a(i,()=>Te(()=>import(`../chunks/C8TrOru6.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]),import.meta.url),null,(e,t)=>{var i=J(()=>{var{default:e}=A(t);return{Voronoi:e}}),a=J(()=>A(i).Voronoi);Pr(e,{children:(e,t)=>{var i=E(),o=q(i);{let e=J(()=>({path:At(`lc-tooltip-voronoi-path`,A(T)&&`debug`)}));H(o,()=>A(a),(t,r)=>{r(t,{get x(){return n.x},get y(){return n.y},get r(){return b()},onpointerenter:(e,{data:t})=>{P(e,t)},onpointermove:(e,{data:t})=>{P(e,t)},onpointerleave:()=>re(),onpointerdown:e=>{e.target?.hasPointerCapture(e.pointerId)&&e.target.releasePointerCapture(e.pointerId)},onclick:(e,{data:t})=>{y()(e,{data:t})},get classes(){return A(e)}})})}r(e,i)},$$slots:{default:!0}})}),r(e,t)},ye=e=>{Pr(e,{get center(){return s.radial},children:(e,t)=>{var n=Ri();B(n,21,()=>A(oe),m,(e,t)=>{var n=E(),i=q(n),o=e=>{var n=E(),i=q(n);a(i,()=>Te(()=>import(`../chunks/Dco3y1p7.js`),__vite__mapDeps([19,1,2,8,3,4,7,20,21,16,22,11,10,23,24,14,9,12,13,15]),import.meta.url),null,(e,n)=>{var i=J(()=>{var{default:e}=A(n);return{Arc:e}}),a=J(()=>A(i).Arc),o=E(),s=q(o);{let e=J(()=>A(t).y+A(t).height),n=J(()=>A(t).x+A(t).width),r=J(()=>At(`lc-tooltip-rect`,A(T)&&`debug`));H(s,()=>A(a),(i,a)=>{a(i,{get innerRadius(){return A(t).y},get outerRadius(){return A(e)},get startAngle(){return A(t).x},get endAngle(){return A(n)},get class(){return A(r)},onpointerenter:e=>P(e,A(t)?.data),onpointermove:e=>P(e,A(t)?.data),onpointerleave:()=>re(),onpointerdown:e=>{let t=e.target;t?.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId)},onclick:e=>{y()(e,{data:A(t)?.data})}})})}r(e,o)}),r(e,n)},c=e=>{var n=Li();N(e=>{L(n,`x`,A(t)?.x),L(n,`y`,A(t)?.y),L(n,`width`,A(t)?.width),L(n,`height`,A(t)?.height),te(n,0,e,`svelte-1ou31d3`)},[()=>xe(At(`lc-tooltip-rect`,A(T)&&`debug`))]),d(`pointerenter`,n,e=>P(e,A(t)?.data)),me(`pointermove`,n,e=>P(e,A(t)?.data)),d(`pointerleave`,n,()=>re()),me(`pointerdown`,n,e=>{let t=e.target;t?.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId)}),me(`click`,n,e=>{y()(e,{data:A(t)?.data})}),r(e,n)};v(i,e=>{s.radial?e(o):e(c,-1)}),r(e,n)}),V(n),r(e,n)},$$slots:{default:!0}})},be=e=>{Pr(e,{pointerEvents:!1,children:(e,t)=>{ei(e,{children:(e,t)=>{var n=zi(),i=U(n),a=e=>{var t=E(),n=q(t);B(n,17,()=>ci(A(ae),!1),m,(e,t)=>{var n=Li();N(e=>{L(n,`x`,A(t).x),L(n,`y`,A(t).y),L(n,`width`,A(t).width),L(n,`height`,A(t).height),te(n,0,e,`svelte-1ou31d3`)},[()=>xe(At(`lc-tooltip-quadtree-rect`,A(T)&&`debug`))]),r(e,n)}),r(e,t)};v(i,e=>{A(ae)&&e(a)}),V(n),r(e,n)},$$slots:{default:!0}})},$$slots:{default:!0}})},Se=J(()=>[`quadtree`,`quadtree-x`,`quadtree-y`].includes(_())&&A(T));v(ge,e=>{_()===`voronoi`?e(ve):_()===`bounds`||_()===`band`?e(ye,1):A(Se)&&e(be,2)}),V(fe),V(ue),ne(ue,e=>R(C,e),()=>A(C)),N(()=>{de=te(ue,1,`lc-tooltip-context svelte-1ou31d3`,null,de,{debug:A(T)&&A(se)}),G=Ce(ue,``,G,{top:`${s.padding.top??``}px`,left:`${s.padding.left??``}px`,width:`${s.width??``}px`,height:`${s.height??``}px`,"--touch-action":g()}),pe=Ce(fe,``,pe,{top:`-${s.padding.top??0??``}px`,left:`-${s.padding.left??0??``}px`,width:`${s.containerWidth??``}px`,height:`${s.containerHeight??``}px`})}),d(`pointerenter`,ue,ce),me(`pointermove`,ue,le),d(`pointerleave`,ue,W),me(`click`,ue,e=>{A(se)&&w.data!=null&&y()(e,{data:w.data})}),me(`keydown`,ue,()=>{}),r(e,ue),i()}f([`pointermove`,`click`,`keydown`,`pointerdown`]);function*Hi(e=200){let t=0;for(;t<1<<21;){let n=t&127,r=t>>7&127,i=t>>14&127;t+=e,yield{r:n*2,g:r*2,b:i*2,a:255}}return{r:0,g:0,b:0,a:255}}function Ui(e){let t=e.r&254,n=e.g&254,r=e.b&254;return e.a===void 0?`rgb(${t},${n},${r})`:`rgba(${t},${n},${r},${e.a})`}var Wi=new Ge(`CanvasContext`),Gi={register:e=>()=>{},invalidate:()=>{}};function Ki(){return Wi.getOr(Gi)}function qi(e){return Wi.set(e)}function Ji(e,t={}){return Object.fromEntries(Object.entries(e).filter(([e,n])=>n!==void 0&&t[e]===void 0))}var Yi=` `;function Xi(e){Object.entries(e).forEach(([e,t])=>{console.log(`${Yi}${e}:`,t)})}function Zi(e){let{r:t,g:n,b:r,opacity:i}=rt(e);return[t,n,r].every(e=>e>=0&&e<=255)?{r:t,g:n,b:r,o:i}:!1}function Qi(e,t,n=``){let r=e[t](),i=ea(r);i?$i(i,t,r):console.log(`${Yi}${Yi}${gn(t)}:${n}`,r)}function $i(e,t,n){console.log(`${Yi}${Yi}${gn(t)}: %cArray%c(${n.length}) `+e[0]+`%c ]`,`color: #1377e4`,`color: #737373`,`color: #1478e4`,...e[1],`color: #1478e4`)}function ea(e){let t=[],n=e.map((n,r)=>{let i=Zi(n);return i===!1?n:(t.push(i),`%c ${n}${r===e.length-1?` `:``}`)});return t.length?[`%c[ ${n.join(`, `)}`,t.map(e=>`background-color: rgba(${e.r}, ${e.g}, ${e.b}, ${e.o}); color:${na(e)};`)]:null}function ta(e,t,n){let r=gi(t);console.log(`${Yi}${e}:`),n!=null&&console.log(`${Yi}${Yi}Accessor: "${n.toString()}"`),console.log(`${Yi}${Yi}Type: ${r}`),Qi(t,`domain`),Qi(t,`range`,` `)}function na({r:e,g:t,b:n}){return(.2126*e+.7152*t+.0722*n)/255>.6?`black`:`white`}function ra(e){console.log(`/********* LayerChart Debug ************/`),console.log(`Bounding box:`),Xi(e.boundingBox),console.log(`Data:`),console.log(Yi,e.data),e.flatData&&(console.log(`flatData:`),console.log(Yi,e.flatData)),console.log(`Scales:`),Object.keys(e.activeGetters).forEach(t=>{ta(t,e[`${t}Scale`],e[t])}),console.log(`/************ End LayerChart Debug ***************/
3
+ `)}var ia=class{_propsGetter;_dimensionsGetter;#e=J(()=>this._propsGetter());get props(){return A(this.#e)}set props(e){R(this.#e,e)}#t=j(100);get chartWidth(){return A(this.#t)}set chartWidth(e){R(this.#t,e,!0)}#n=j(100);get chartHeight(){return A(this.#n)}set chartHeight(e){R(this.#n,e,!0)}#r=j(null);get transformState(){return A(this.#r)}set transformState(e){R(this.#r,e,!0)}#i=j(pe({rotation:!1,scale:!0,translate:!0}));get transformApply(){return A(this.#i)}set transformApply(e){R(this.#i,e,!0)}#a=J(()=>{if(!this.props.projection)return;let e=this.props.projection();return this.props.fitGeojson&&`fitSize`in e&&e.fitSize(this.fitSizeRange,this.props.fitGeojson),`scale`in e&&(this.props.scale&&e.scale(this.props.scale),this.transformState?.mode===`projection`&&this.transformApply.scale&&e.scale(this.transformState.scale)),`rotate`in e&&(this.props.rotate&&e.rotate([this.props.rotate.yaw,this.props.rotate.pitch,this.props.rotate.roll]),this.transformState?.mode===`projection`&&this.transformApply.rotation&&e.rotate([this.transformState.translate.x,this.transformState.translate.y])),`translate`in e&&(this.props.translate?e.translate(this.props.translate):this.props.fitGeojson||e.translate([(this._dimensionsGetter?.().width??this.chartWidth)/2,(this._dimensionsGetter?.().height??this.chartHeight)/2]),this.transformState?.mode===`projection`&&this.transformApply.translate&&e.translate([this.transformState.translate.x,this.transformState.translate.y])),this.props.center&&`center`in e&&e.center(this.props.center),this.props.reflectX&&e.reflectX(this.props.reflectX),this.props.reflectY&&e.reflectY(this.props.reflectY),this.props.clipAngle&&`clipAngle`in e&&e.clipAngle(this.props.clipAngle),this.props.clipExtent&&`clipExtent`in e&&e.clipExtent(this.props.clipExtent),e});get projection(){return A(this.#a)}set projection(e){R(this.#a,e)}constructor(e,t){this._propsGetter=e,this._dimensionsGetter=t}#o=J(()=>this.props.fixedAspectRatio?[100,100/this.props.fixedAspectRatio]:[this._dimensionsGetter?.().width??this.chartWidth,this._dimensionsGetter?.().height??this.chartHeight]);get fitSizeRange(){return A(this.#o)}set fitSizeRange(e){R(this.#o,e)}};function aa(e,t,n){var r=null,i=wn(!0),a=null,o=Nn,s=null,c=Tn(l);e=typeof e==`function`?e:e===void 0?In:wn(+e),t=typeof t==`function`?t:wn(t===void 0?0:+t),n=typeof n==`function`?n:n===void 0?Rn:wn(+n);function l(l){var u,d,f,p=(l=Fn(l)).length,m,h=!1,g,_=Array(p),v=Array(p);for(a??(s=o(g=c())),u=0;u<=p;++u){if(!(u<p&&i(m=l[u],u,l))===h){if(h=!h)d=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),f=u-1;f>=d;--f)s.point(_[f],v[f]);s.lineEnd(),s.areaEnd()}}h&&(_[u]=+e(m,u,l),v[u]=+t(m,u,l),s.point(r?+r(m,u,l):_[u],n?+n(m,u,l):v[u]))}if(g)return s=null,g+``||null}function u(){return Mn().defined(i).curve(o).context(a)}return l.x=function(t){return arguments.length?(e=typeof t==`function`?t:wn(+t),r=null,l):e},l.x0=function(t){return arguments.length?(e=typeof t==`function`?t:wn(+t),l):e},l.x1=function(e){return arguments.length?(r=e==null?null:typeof e==`function`?e:wn(+e),l):r},l.y=function(e){return arguments.length?(t=typeof e==`function`?e:wn(+e),n=null,l):t},l.y0=function(e){return arguments.length?(t=typeof e==`function`?e:wn(+e),l):t},l.y1=function(e){return arguments.length?(n=e==null?null:typeof e==`function`?e:wn(+e),l):n},l.lineX0=l.lineY0=function(){return u().x(e).y(t)},l.lineY1=function(){return u().x(e).y(n)},l.lineX1=function(){return u().x(r).y(t)},l.defined=function(e){return arguments.length?(i=typeof e==`function`?e:wn(!!e),l):i},l.curve=function(e){return arguments.length?(o=e,a!=null&&(s=o(a)),l):o},l.context=function(e){return arguments.length?(e==null?a=s=null:s=o(a=e),l):a},l}function oa(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function sa(e){return e}function ca(){var e=sa,t=oa,n=null,r=wn(0),i=wn(Dn),a=wn(0);function o(o){var s,c=(o=Fn(o)).length,l,u,d=0,f=Array(c),p=Array(c),m=+r.apply(this,arguments),h=Math.min(Dn,Math.max(-Dn,i.apply(this,arguments)-m)),g,_=Math.min(Math.abs(h)/c,a.apply(this,arguments)),v=_*(h<0?-1:1),y;for(s=0;s<c;++s)(y=p[f[s]=s]=+e(o[s],s,o))>0&&(d+=y);for(t==null?n!=null&&f.sort(function(e,t){return n(o[e],o[t])}):f.sort(function(e,n){return t(p[e],p[n])}),s=0,u=d?(h-c*v)/d:0;s<c;++s,m=g)l=f[s],y=p[l],g=m+(y>0?y*u:0)+v,p[l]={data:o[l],index:s,value:y,startAngle:m,endAngle:g,padAngle:_};return p}return o.value=function(t){return arguments.length?(e=typeof t==`function`?t:wn(+t),o):e},o.sortValues=function(e){return arguments.length?(t=e,n=null,o):t},o.sort=function(e){return arguments.length?(n=e,t=null,o):n},o.startAngle=function(e){return arguments.length?(r=typeof e==`function`?e:wn(+e),o):r},o.endAngle=function(e){return arguments.length?(i=typeof e==`function`?e:wn(+e),o):i},o.padAngle=function(e){return arguments.length?(a=typeof e==`function`?e:wn(+e),o):a},o}function la(){var e=aa().curve(Pn),t=e.curve,n=e.lineX0,r=e.lineX1,i=e.lineY0,a=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return zn(n())},delete e.lineX0,e.lineEndAngle=function(){return zn(r())},delete e.lineX1,e.lineInnerRadius=function(){return zn(i())},delete e.lineY0,e.lineOuterRadius=function(){return zn(a())},delete e.lineY1,e.curve=function(e){return arguments.length?t(Ln(e)):t()._curve},e}function ua(e,t){if((o=e.length)>1)for(var n=1,r,i,a=e[t[0]],o,s=a.length;n<o;++n)for(i=a,a=e[t[n]],r=0;r<s;++r)a[r][1]+=a[r][0]=isNaN(i[r][1])?i[r][0]:i[r][1]}function da(e){for(var t=e.length,n=Array(t);--t>=0;)n[t]=t;return n}function fa(e,t){return e[t]}function pa(e){let t=[];return t.key=e,t}function ma(){var e=wn([]),t=da,n=ua,r=fa;function i(i){var a=Array.from(e.apply(this,arguments),pa),o,s=a.length,c=-1,l;for(let e of i)for(o=0,++c;o<s;++o)(a[o][c]=[0,+r(e,a[o].key,c,i)]).data=e;for(o=0,l=Fn(t(a));o<s;++o)a[l[o]].index=o;return n(a,l),a}return i.keys=function(t){return arguments.length?(e=typeof t==`function`?t:wn(Array.from(t)),i):e},i.value=function(e){return arguments.length?(r=typeof e==`function`?e:wn(+e),i):r},i.order=function(e){return arguments.length?(t=e==null?da:typeof e==`function`?e:wn(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(n=e??ua,i):n},i}function ha(e,t){if((r=e.length)>0){for(var n,r,i=0,a=e[0].length,o;i<a;++i){for(o=n=0;n<r;++n)o+=e[n][i][1]||0;if(o)for(n=0;n<r;++n)e[n][i][1]/=o}ua(e,t)}}function ga(e,t){if((c=e.length)>0)for(var n,r=0,i,a,o,s,c,l=e[t[0]].length;r<l;++r)for(o=s=0,n=0;n<c;++n)(a=(i=e[t[n]][r])[1]-i[0])>0?(i[0]=o,i[1]=o+=a):a<0?(i[1]=s,i[0]=s+=a):(i[0]=0,i[1]=a)}var _a=class{width(e){return new qe(`(min-width: ${e}px)`)}height(e){return new qe(`(min-height: ${e}px)`)}smScreen=this.width(640);mdScreen=this.width(768);lgScreen=this.width(1024);xlScreen=this.width(1280);xxlScreen=this.width(1536);screen=new qe(`screen and (min-width: 0)`);print=new qe(`print and (min-width: 0)`);dark=new qe(`(prefers-color-scheme: dark)`);light=new qe(`(prefers-color-scheme: light)`);motion=new qe(`(prefers-reduced-motion: no-preference)`);motionReduce=new qe(`(prefers-reduced-motion: reduce)`);landscape=new qe(`(orientation: landscape)`);portrait=new qe(`(orientation: portrait)`)},va=class{#e;current;constructor(e){this.#e=e??[],this.current=new He(e??[])}clear(){this.current.clear()}reset(){this.clear(),this.addEach(this.#e)}add(e){this.current.add(e)}addEach(e){for(let t of e)this.current.add(t)}delete(e){this.current.delete(e)}toggle(e){this.current.has(e)?this.current.delete(e):this.current.add(e)}},ya=class{#e;#t;all;single;max;constructor(e={}){this.#e=e.initial??[],this.#t=new va(this.#e),this.all=e.all??[],this.single=e.single??!1,this.max=e.max}get current(){return this.single?Array.from(this.#t.current)[0]??null:Array.from(this.#t.current)}set current(e){if(Array.isArray(e)){if(this.max==null||e.length<this.max)this.#t.clear(),this.#t.addEach(e);else throw Error(`Too many values selected. Current: ${e.length}, max: ${this.max}`)}else e==null?this.#t.clear():(this.#t.clear(),this.#t.add(e))}isSelected(e){return this.#t.current.has(e)}isEmpty(){return this.#t.current.size===0}isAllSelected(){return this.all.every(e=>this.#t.current.has(e))}isAnySelected(){return this.all.some(e=>this.#t.current.has(e))}isMaxSelected(){return this.max!=null&&this.#t.current.size>=this.max}isDisabled(e){return!this.isSelected(e)&&this.isMaxSelected()}clear(){this.#t.clear()}reset(){this.#t.reset()}toggle(e){if(this.#t.current.has(e)){let t=[...this.#t.current];this.#t.clear(),this.#t.addEach(t.filter(t=>t!=e))}else if(this.single)this.#t.clear(),this.#t.add(e);else if(this.max==null||this.#t.current.size<this.max)return this.#t.add(e)}toggleAll(){let e;e=this.isAllSelected()?[...this.#t.current].filter(e=>!this.all.includes(e)):[...this.#t.current,...this.all],this.#t.clear(),this.#t.addEach(e)}},ba=class e{_getSeries;_getStackConfig;#e=J(()=>this._getSeries());#t=J(()=>this._getStackConfig());selectedKeys;#n=j(null);get highlightKey(){return A(this.#n)}set highlightKey(e){R(this.#n,e,!0)}constructor(t,n){this._getSeries=t,this._getStackConfig=n??(()=>null);let r=e.#r(t());this.selectedKeys=new ya({initial:r??void 0}),K(()=>{let t=e.#r(A(this.#e));t&&(this.selectedKeys.current=t)})}static#r(e){return e.some(e=>e.selected===!1)?e.filter(e=>e.selected!==!1).map(e=>e.key):null}get isStacked(){return A(this.#t)?.layout?.startsWith(`stack`)??!1}get stackLayout(){return A(this.#t)?.layout??`overlap`}#i(){let e=A(this.#t);if(!e)return[];let t=jt(e.keyBy),n=this.visibleSeries,r=new St;for(let i of n){if(!i.data)continue;let n=jt(i.value??e.valueAccessor??i.key);for(let e of i.data){let a=t(e);r.has(a)||r.set(a,{__key:a}),r.get(a)[i.key]=n(e)??0}}for(let e of r.values())for(let t of n)t.key in e||(e[t.key]=0);return Array.from(r.values())}#a=J(()=>{let e=A(this.#t);if(!e||!e.layout.startsWith(`stack`))return null;let t=this.visibleSeries.map(e=>e.key),n=this.visibleSeries.some(e=>e.data!=null),r=n?this.#i():e.data??[];if(t.length===0||r.length===0)return null;let i=jt(e.keyBy),a=e.layout===`stackExpand`?ha:e.layout===`stackDiverging`?ga:ua,o=ma().keys(t).value((t,r)=>{if(n)return t[r]??0;let i=A(this.#e).find(e=>e.key===r),a=i.value??e.valueAccessor??i.key;return jt(a)(t)??0}).offset(a)(r),s=new St;for(let e=0;e<r.length;e++){let a=r[e],c=n?a.__key:i(a),l=new Map;for(let n=0;n<t.length;n++)l.set(t[n],o[n][e]);s.set(c,l)}return s});get divergingEdgeKeys(){if(this.stackLayout!==`stackDiverging`||!A(this.#a))return null;let e=A(this.#a).values().next().value;if(!e)return null;let t=-1/0,n=1/0,r=null,i=null;for(let a of this.visibleSeries){let o=e.get(a.key);if(!o)continue;let[s,c]=o;c>t&&(t=c,r=a.key),s<n&&(n=s,i=a.key)}let a=new Set;return r!=null&&t>0&&a.add(r),i!=null&&n<0&&a.add(i),a}getStackValue(e,t){if(!A(this.#a)||!A(this.#t))return null;let n=jt(A(this.#t).keyBy)(t);return A(this.#a).get(n)?.get(e)??null}getStackAccessors(e){return{y0:t=>this.getStackValue(e,t)?.[0]??0,y1:t=>this.getStackValue(e,t)?.[1]??0,value:t=>this.getStackValue(e,t)}}get series(){return A(this.#e)}get visibleSeries(){return A(this.#e).filter(e=>this.isVisible(e.key))}isVisible(e){return this.selectedKeys.isEmpty()||this.selectedKeys.isSelected(e)}get isDefaultSeries(){return A(this.#e).length===0||A(this.#e).length===1&&A(this.#e)[0].key==="default"}isHighlighted(e,t=!1){return this.highlightKey===null?t:this.highlightKey===e}get allSeriesData(){return A(this.#e).flatMap(e=>e.data?.map(t=>({seriesKey:e.key,...t}))).filter(e=>e)}get visibleSeriesData(){return this.visibleSeries.flatMap(e=>e.data?.map(t=>({seriesKey:e.key,...t}))).filter(e=>e)}get allSeriesColors(){return A(this.#e).map(e=>e.color).filter(e=>e!=null)}},xa={top:0,right:0,bottom:0,left:0},Sa=[],Ca=new Ge(`ComponentTreeParent`);function wa(e){return!e.x&&!e.y&&!e.data&&!e.color&&!e.seriesKey&&!e.label}var Ta=class e{props;#e;#t;geoState;#n=j(null);get transformState(){return A(this.#n)}set transformState(e){R(this.#n,e,!0)}#r=j(null);get tooltipState(){return A(this.#r)}set tooltipState(e){R(this.#r,e,!0)}#i=j(null);get brushState(){return A(this.#i)}set brushState(e){R(this.#i,e,!0)}seriesState;#a=j(100);get _containerWidth(){return A(this.#a)}set _containerWidth(e){R(this.#a,e,!0)}#o=j(100);get _containerHeight(){return A(this.#o)}set _containerHeight(e){R(this.#o,e,!0)}#s=j(!1);get isMounted(){return A(this.#s)}set isMounted(e){R(this.#s,e,!0)}_markInfosRaw=[];#c=j(0);get _markInfosVersion(){return A(this.#c)}set _markInfosVersion(e){R(this.#c,e,!0)}_nextMarkId=0;get _markInfos(){return this._markInfosVersion,this.geoState.props.projection?this._markInfosRaw.map(({_id:e,info:t})=>({_id:e,info:{seriesKey:t.seriesKey,color:t.color,label:t.label}})):this._markInfosRaw}registerMark(e){let t=++this._nextMarkId;return this._markInfosRaw.push({_id:t,info:e}),this._markInfosVersion++,()=>{let e=this._markInfosRaw.findIndex(e=>e._id===t);e!==-1&&this._markInfosRaw.splice(e,1),this._markInfosVersion++}}registerComponent(e){let{name:t,kind:n,canvasRender:r,markInfo:i}=e,a=Ca.getOr(null),o=!1,s=a;for(;s;){if(s.kind===`composite-mark`){o=!0;break}s=s.parent}let c={id:Symbol(t),kind:n,name:t,parent:a,children:[],canvasRender:r,insideCompositeMark:o};a&&a.children.push(c),Ca.set(c);let l=r?Ki():null;return r&&(r.deps&&_e(()=>{r.deps?.(),l?.invalidate()}),l.invalidate()),_e(()=>()=>{this._removeComponentNode(c),l?.invalidate()}),i&&!o&&(wa(ae(i))||K(()=>{let e=i();if(!wa(e))return ae(()=>this.registerMark(e))})),c}_removeComponentNode(e){if(e.parent){let t=e.parent.children.indexOf(e);t>=0&&e.parent.children.splice(t,1)}}#l=j();get containerRef(){return A(this.#l)}set containerRef(e){R(this.#l,e,!0)}_xDomainMotion=null;_yDomainMotion=null;_xDomainIsDate=!1;_yDomainIsDate=!1;#u=J(()=>this.props.meta??{});get meta(){return A(this.#u)}set meta(e){R(this.#u,e)}constructor(e,t){this.props=e,this.#e=t?.brushXDomain??(()=>void 0),this.#t=t?.brushYDomain??(()=>void 0),this.geoState=new ia(()=>this.props.geo??{},()=>({width:this.width,height:this.height})),this.seriesState=new ba(()=>{let e=this.props.series;if(e&&e.length>0)return e;let t=this.valueAxis,n=t===`y`?this.props.y:this.props.x,r=Array.isArray(n)?n.filter(e=>typeof e==`string`):typeof n==`string`?[n]:[],i=this.props.data!=null&&(!Array.isArray(this.props.data)||this.props.data.length>0),a=[];for(let{info:e}of this._markInfos){let n=t===`y`?e.y:e.x,o=e.seriesKey??(typeof n==`string`?n:void 0);o&&(r.includes(o)&&(i||!e.data)||a.some(e=>e.key===o)||a.push({key:o,color:e.color,label:e.label,value:n,data:e.data}))}return a.length>0?a:Sa},()=>{let e=this.props.seriesLayout;if(!e||!e.startsWith(`stack`))return null;let t=this.props.series??[],n=this.valueAxis===`y`?this.props.x:this.props.y;return{layout:e,data:t.some(e=>e.data!=null)?void 0:Ot(this.props.data),keyBy:n,valueAccessor:this.valueAxis===`y`?this.props.y:this.props.x}});let n=Pe(ra,200);K(()=>{this.isMounted=!0}),K(()=>{this.geoState.chartWidth=this.width,this.geoState.chartHeight=this.height}),K(()=>{this.transformState&&(this.geoState.transformState=this.transformState)}),K(()=>{this.isMounted&&this.props.onResize?.({width:this.width,height:this.height,containerWidth:this.containerWidth,containerHeight:this.containerHeight})}),K(()=>{!this.isMounted||!this.props.debug||!this.props.ssr&&typeof window>`u`||this.box&&n({data:this.data,flatData:this.flatData,boundingBox:this.box,activeGetters:this.activeGetters,x:this.props.x,y:this.props.y,z:this.props.z,r:this.props.r,xScale:this.xScale,yScale:this.yScale,zScale:this.zScale,rScale:this.rScale})});let r=e.motion;if(r){let e=un(r);this._xDomainMotion=fn([],e),this._yDomainMotion=fn([],e);let t=!1,n=!1;K(()=>{let e=this._rawXDomain;if(!e||e.length<2)return;let n=e[0]instanceof Date;this._xDomainIsDate=n;let r=n?e.map(e=>e.getTime()):[...e];if(t)this._xDomainMotion.set(r);else{t=!0;let e=this._xDomainMotion.type===`spring`?{instant:!0}:this._xDomainMotion.type===`tween`?{duration:0}:void 0;this._xDomainMotion.set(r,e)}}),K(()=>{let e=this._rawYDomain;if(!e||e.length<2)return;let t=e[0]instanceof Date;this._yDomainIsDate=t;let r=t?e.map(e=>e.getTime()):[...e];if(n)this._yDomainMotion.set(r);else{n=!0;let e=this._yDomainMotion.type===`spring`?{instant:!0}:this._yDomainMotion.type===`tween`?{duration:0}:void 0;this._yDomainMotion.set(r,e)}})}}#d=J(()=>this.props.width??this._containerWidth);get containerWidth(){return A(this.#d)}set containerWidth(e){R(this.#d,e)}#f=J(()=>this.props.height??this._containerHeight);get containerHeight(){return A(this.#f)}set containerHeight(e){R(this.#f,e)}#p=J(()=>{let e=this.props.data;return e!=null&&(!Array.isArray(e)||e.length>0)?e:this.seriesState?.visibleSeriesData?.length?this.seriesState.visibleSeriesData:[]});get data(){return A(this.#p)}set data(e){R(this.#p,e)}#m=J(()=>{let e=this.props.flatData??this.data,t=[];for(let{info:e}of this._markInfos){if(!e.data)continue;let n=e.seriesKey??(typeof e.y==`string`?e.y:void 0);n&&this.seriesState?.series.some(t=>t.key===n&&t.data===e.data)||t.push(...e.data)}return t.length===0?e:[...e,...t]});get flatData(){return A(this.#m)}set flatData(e){R(this.#m,e)}#h=J(()=>this.props.xScale?this.props.xScale:this.props.xInterval?Ut():this.props.bandPadding!=null&&this.valueAxis===`y`?Ct().padding(this.props.bandPadding):Ht(this.#e()??this.props.xDomain,this.flatData,this.x));get _xScaleProp(){return A(this.#h)}set _xScaleProp(e){R(this.#h,e)}#g=J(()=>this.props.yScale?this.props.yScale:this.props.yInterval?Ut():this.props.bandPadding!=null&&this.valueAxis===`x`?Ct().padding(this.props.bandPadding):Ht(this.#t()??this.props.yDomain,this.flatData,this.y));get _yScaleProp(){return A(this.#g)}set _yScaleProp(e){R(this.#g,e)}#_=J(()=>this.props.zScale??Ht(this.props.zDomain,this.flatData,this.props.z));get _zScaleProp(){return A(this.#_)}set _zScaleProp(e){R(this.#_,e)}#v=J(()=>this.props.rScale??oi());get _rScaleProp(){return A(this.#v)}set _rScaleProp(e){R(this.#v,e)}#y=J(()=>this.props.xRange?this.props.xRange:this.props.radial?[0,2*Math.PI]:void 0);get xRangeProp(){return A(this.#y)}set xRangeProp(e){R(this.#y,e)}#b=J(()=>this.props.yRange??(this.props.radial?({height:e})=>[0,e/2]:void 0));get yRangeProp(){return A(this.#b)}set yRangeProp(e){R(this.#b,e)}#x=J(()=>{if(this.transformState?.mode===`domain`&&(this.transformState.axis===`x`||this.transformState.axis===`both`)&&X(this._xScaleProp)&&this.width>0){let{scale:e,translate:t}=this.transformState;return[t.x,t.x+this.width*e]}return this.xRangeProp});get _xScaleRange(){return A(this.#x)}set _xScaleRange(e){R(this.#x,e)}#S=J(()=>{if(this.transformState?.mode===`domain`&&(this.transformState.axis===`y`||this.transformState.axis===`both`)&&X(this._yScaleProp)&&this.height>0){let{scale:e,translate:t}=this.transformState;return[t.y,t.y+this.height*e]}return this.yRangeProp});get _yScaleRange(){return A(this.#S)}set _yScaleRange(e){R(this.#S,e)}#C=J(()=>!X(this._yScaleProp)&&!Rt(this._yScaleProp));get yReverse(){return A(this.#C)}set yReverse(e){R(this.#C,e)}resolveAccessor(e){let t=e===`x`?this.props.x:this.props.y;if(t)return Vt(t);if(this.valueAxis===e&&this.seriesState&&!this.seriesState.isDefaultSeries)return jt(this.seriesState.series.map(e=>e.value??e.key));let n=[];for(let{info:t}of this._markInfos){let r=e===`x`?t.x:t.y;typeof r==`string`&&!n.includes(r)&&n.push(r)}return n.length>0?jt(n.length===1?n[0]:n):Vt(t)}#w=J(()=>this.resolveAccessor(`x`));get x(){return A(this.#w)}set x(e){R(this.#w,e)}#T=J(()=>this.resolveAccessor(`y`));get y(){return A(this.#T)}set y(e){R(this.#T,e)}#E=J(()=>Vt(this.props.z));get z(){return A(this.#E)}set z(e){R(this.#E,e)}#D=J(()=>Vt(this.props.r));get r(){return A(this.#D)}set r(e){R(this.#D,e)}#O=J(()=>jt(this.props.c));get c(){return A(this.#O)}set c(e){R(this.#O,e)}#k=J(()=>Vt(this.props.x1));get x1(){return A(this.#k)}set x1(e){R(this.#k,e)}#A=J(()=>Vt(this.props.y1));get y1(){return A(this.#A)}set y1(e){R(this.#A,e)}#j=J(()=>Ji(_(this.props.extents??{})));get filteredExtents(){return A(this.#j)}set filteredExtents(e){R(this.#j,e)}#M=J(()=>({x:this.x,y:this.y,z:this.z,r:this.r}));get activeGetters(){return A(this.#M)}set activeGetters(e){R(this.#M,e)}#N=J(()=>{let e=this.props.padding,t=!this.props.children,n=this.props.axis??!!t;return e==null&&!this.props.radial&&n&&(e=kt({axis:n,legend:this.props.legend})),e??={},typeof e==`number`?{...xa,top:e,right:e,bottom:e,left:e}:{...xa,...e}});get padding(){return A(this.#N)}set padding(e){R(this.#N,e)}#P=J(()=>{let e=this.padding.top,t=this.containerWidth-this.padding.right,n=this.containerHeight-this.padding.bottom,r=this.padding.left,i=t-r,a=n-e;return this.props.verbose===!0&&(i<=0&&this.isMounted===!0&&console.warn(`[LayerChart] Target div has zero or negative width (${i}). Did you forget to set an explicit width in CSS on the container?`),a<=0&&this.isMounted===!0&&console.warn(`[LayerChart] Target div has zero or negative height (${a}). Did you forget to set an explicit width in CSS on the container?`)),{top:e,left:r,bottom:n,right:t,width:i,height:a}});get box(){return A(this.#P)}set box(e){R(this.#P,e)}#F=J(()=>this.box.width);get width(){return A(this.#F)}set width(e){R(this.#F,e)}#I=J(()=>this.box.height);get height(){return A(this.#I)}set height(e){R(this.#I,e)}#L=J(()=>{let e={x:{scale:this._xScaleProp,sort:this.props.xDomainSort},y:{scale:this._yScaleProp,sort:this.props.yDomainSort},z:{scale:this._zScaleProp,sort:this.props.zDomainSort},r:{scale:this._rScaleProp,sort:this.props.rDomainSort}},t=Ji(this.activeGetters,this.filteredExtents),n=Object.fromEntries(Object.keys(t).map(t=>[t,e[t]]));return Object.keys(t).length>0?{...vi(this.flatData,t,n),...this.filteredExtents}:{}});get extents(){return A(this.#L)}set extents(e){R(this.#L,e)}_computeTransformDomain(e,t,n,r){if(e.length<2||r<=0)return e;let i=e[0],a=e[1],o=i instanceof Date;if(!o&&typeof i!=`number`)return e;let s=o?i.getTime():i,c=(o?a.getTime():a)-s;if(!isFinite(c)||c===0)return e;let l=-t/n/r,u=(r-t)/n/r,d=s+l*c,f=s+u*c;return o?[new Date(d),new Date(f)]:[d,f]}_autoBaseline(e){let t=this.props.valueAxis;if(t!=null&&this.props.bandPadding!=null&&t===e){let t=e===`x`?this._xScaleProp:this._yScaleProp;return Rt(t)?void 0:0}}resolveDomain(e){let t=e===`x`?this.#e()??this.props.xDomain:this.#t()??this.props.yDomain,n=e===`x`?this.props.xInterval:this.props.yInterval,r=e===`x`?this.props.xBaseline:this.props.yBaseline,i=r===void 0?this._autoBaseline(e):r,a=e===`x`?this.props.x:this.props.y;if(t!==void 0)return t;if(this.valueAxis===e&&this.seriesState){if(this.seriesState.isStacked)return lt(Ot(this.data).flatMap(e=>{let t=[];for(let n of this.seriesState.visibleSeries){let r=this.seriesState.getStackValue(n.key,e);r&&t.push(r[0],r[1])}return t.length?t:void 0}));if(!this.seriesState.isDefaultSeries){let t=this.series.visibleSeries.flatMap(e=>{let t=jt(e.value??a??e.key);return(e.data??Ot(this.data)).flatMap(t)}),n=[];for(let{info:t}of this._markInfos){if(!t.data)continue;let r=t.seriesKey??(typeof t.y==`string`?t.y:void 0);if(r&&this.seriesState.visibleSeries.some(e=>e.key===r&&e.data===t.data))continue;let i=(e===`y`?t.y:t.x)??a;i&&n.push(...t.data.flatMap(jt(i)))}let r=[...t,...n].filter(e=>e!=null);if(r.length>0)return i==null?lt(r):[Tt([i,...r]),wt([i,...r])]}}if(n!=null&&Array.isArray(this.data)&&this.data.length>0){let e=jt(a)(this.data[this.data.length-1]);return[null,n.offset(e)]}if(i!=null&&Array.isArray(this.data)){let e=this.data.flatMap(jt(a));return[Tt([i,...e]),wt([i,...e])]}}#R=J(()=>this.resolveDomain(`x`));get _xDomain(){return A(this.#R)}set _xDomain(e){R(this.#R,e)}#z=J(()=>this.resolveDomain(`y`));get _yDomain(){return A(this.#z)}set _yDomain(e){R(this.#z,e)}#B=J(()=>ui(`x`,this.extents,this._xDomain));get _baseXDomain(){return A(this.#B)}set _baseXDomain(e){R(this.#B,e)}#V=J(()=>ui(`y`,this.extents,this._yDomain));get _baseYDomain(){return A(this.#V)}set _baseYDomain(e){R(this.#V,e)}#H=J(()=>this.transformState?.mode===`domain`&&(this.transformState.axis===`x`||this.transformState.axis===`both`)&&this.width>0?this._computeTransformDomain(this._baseXDomain,this.transformState.translate.x,this.transformState.scale,this.width):this._baseXDomain);get _rawXDomain(){return A(this.#H)}set _rawXDomain(e){R(this.#H,e)}#U=J(()=>this.transformState?.mode===`domain`&&(this.transformState.axis===`y`||this.transformState.axis===`both`)&&this.height>0?this._computeTransformDomain(this._baseYDomain,this.transformState.translate.y,this.transformState.scale,this.height):this._baseYDomain);get _rawYDomain(){return A(this.#U)}set _rawYDomain(e){R(this.#U,e)}#W=J(()=>{if(this._xDomainMotion){let e=this._xDomainMotion.current;return this._xDomainIsDate?e.map(e=>new Date(e)):e}return this._rawXDomain});get xDomain(){return A(this.#W)}set xDomain(e){R(this.#W,e)}#G=J(()=>{if(this._yDomainMotion){let e=this._yDomainMotion.current;return this._yDomainIsDate?e.map(e=>new Date(e)):e}return this._rawYDomain});get yDomain(){return A(this.#G)}set yDomain(e){R(this.#G,e)}#K=J(()=>ui(`z`,this.extents,this.props.zDomain));get zDomain(){return A(this.#K)}set zDomain(e){R(this.#K,e)}#q=J(()=>ui(`r`,this.extents,this.props.rDomain));get rDomain(){return A(this.#q)}set rDomain(e){R(this.#q,e)}#J=J(()=>{if(this.props.x1Domain){if(this.seriesState.series.length>0){let e=new Set(this.seriesState.visibleSeries.map(e=>e.key));return this.props.x1Domain.filter(t=>e.has(t))}return this.props.x1Domain}if(this.props.seriesLayout===`group`&&this.valueAxis===`y`)return this.seriesState.visibleSeries.map(e=>e.key);if(this.x1)return lt(Ot(this.data),this.x1)});get x1Domain(){return A(this.#J)}set x1Domain(e){R(this.#J,e)}#Y=J(()=>{if(this.props.y1Domain){if(this.seriesState.series.length>0){let e=new Set(this.seriesState.visibleSeries.map(e=>e.key));return this.props.y1Domain.filter(t=>e.has(t))}return this.props.y1Domain}if(this.props.seriesLayout===`group`&&this.valueAxis===`x`)return this.seriesState.visibleSeries.map(e=>e.key);if(this.y1)return lt(Ot(this.data),this.y1)});get y1Domain(){return A(this.#Y)}set y1Domain(e){R(this.#Y,e)}#X=J(()=>{if(this.props.cDomain)return this.props.cDomain;let e=Ot(this.data).map(this.c);return e.length>0&&typeof e[0]==`number`?lt(e):Me(e)});get cDomain(){return A(this.#X)}set cDomain(e){R(this.#X,e)}#Z=J(()=>_(this.props.xPadding));get snappedPadding(){return A(this.#Z)}set snappedPadding(e){R(this.#Z,e)}#Q=J(()=>_(this.extents));get snappedExtents(){return A(this.#Q)}set snappedExtents(e){R(this.#Q,e)}#$=J(()=>fi(`x`,{scale:this._xScaleProp,domain:this.xDomain,padding:this.snappedPadding,nice:this.xNice,reverse:this.props.xReverse??!1,percentRange:this.props.percentRange??!1,range:this._xScaleRange,height:this.height,width:this.width,extents:this.snappedExtents}));get xScale(){return A(this.#$)}set xScale(e){R(this.#$,e)}#ee=J(()=>Ai(this.x,this.xScale));get xGet(){return A(this.#ee)}set xGet(e){R(this.#ee,e)}#te=J(()=>fi(`y`,{scale:this._yScaleProp,domain:this.yDomain,padding:this.props.yPadding,nice:this.yNice,reverse:this.yReverse,percentRange:this.props.percentRange??!1,range:this._yScaleRange,height:this.height,width:this.width,extents:this.filteredExtents}));get yScale(){return A(this.#te)}set yScale(e){R(this.#te,e)}#ne=J(()=>Ai(this.y,this.yScale));get yGet(){return A(this.#ne)}set yGet(e){R(this.#ne,e)}#re=J(()=>fi(`x`,{scale:this._xScaleProp,domain:this._baseXDomain,padding:this.snappedPadding,nice:this.xNice,reverse:this.props.xReverse??!1,percentRange:this.props.percentRange??!1,range:this.xRangeProp,height:this.height,width:this.width,extents:this.snappedExtents}));get baseXScale(){return A(this.#re)}set baseXScale(e){R(this.#re,e)}#ie=J(()=>fi(`y`,{scale:this._yScaleProp,domain:this._baseYDomain,padding:this.props.yPadding,nice:this.yNice,reverse:this.yReverse,percentRange:this.props.percentRange??!1,range:this.yRangeProp,height:this.height,width:this.width,extents:this.filteredExtents}));get baseYScale(){return A(this.#ie)}set baseYScale(e){R(this.#ie,e)}#ae=J(()=>fi(`z`,{scale:this._zScaleProp,domain:this.zDomain,padding:this.props.zPadding,nice:this.props.zNice??!1,reverse:this.props.zReverse??!1,percentRange:this.props.percentRange??!1,range:this.props.zRange,height:this.height,width:this.width,extents:this.filteredExtents}));get zScale(){return A(this.#ae)}set zScale(e){R(this.#ae,e)}#oe=J(()=>Ai(this.z,this.zScale));get zGet(){return A(this.#oe)}set zGet(e){R(this.#oe,e)}#se=J(()=>fi(`r`,{scale:this._rScaleProp,domain:this.rDomain,padding:this.props.rPadding,nice:this.props.rNice??!1,reverse:this.props.rReverse??!1,percentRange:this.props.percentRange??!1,range:this.props.rRange,height:this.height,width:this.width,extents:this.filteredExtents}));get rScale(){return A(this.#se)}set rScale(e){R(this.#se,e)}#ce=J(()=>Ai(this.r,this.rScale));get rGet(){return A(this.#ce)}set rGet(e){R(this.#ce,e)}#le=J(()=>{if(this.props.x1Range)return Lt(this.props.x1Scale??Ht(this.props.x1Domain,this.flatData,this.props.x1),this.x1Domain,this.props.x1Range,{xScale:this.xScale,width:this.width,height:this.height});if(this.props.seriesLayout===`group`&&this.valueAxis===`y`&&this.x1Domain){let e=this.props.groupPadding??0;return Lt(Ct().padding(e),this.x1Domain,({xScale:e})=>[0,e.bandwidth()],{xScale:this.xScale,width:this.width,height:this.height})}return null});get x1Scale(){return A(this.#le)}set x1Scale(e){R(this.#le,e)}#ue=J(()=>this.x1?Ai(this.x1,this.x1Scale):null);get x1Get(){return A(this.#ue)}set x1Get(e){R(this.#ue,e)}#de=J(()=>{if(this.props.y1Range)return Lt(this.props.y1Scale??Ht(this.props.y1Domain,this.flatData,this.props.y1),this.y1Domain,this.props.y1Range,{yScale:this.yScale,width:this.width,height:this.height});if(this.props.seriesLayout===`group`&&this.valueAxis===`x`&&this.y1Domain){let e=this.props.groupPadding??0;return Lt(Ct().padding(e),this.y1Domain,({yScale:e})=>[0,e.bandwidth()],{yScale:this.yScale,width:this.width,height:this.height})}return null});get y1Scale(){return A(this.#de)}set y1Scale(e){R(this.#de,e)}#fe=J(()=>this.y1?Ai(this.y1,this.y1Scale):null);get y1Get(){return A(this.#fe)}set y1Get(e){R(this.#fe,e)}#pe=J(()=>this.props.cScale||this.props.cRange?Lt(this.props.cScale??xt(),this.cDomain,this.props.cRange,{width:this.width,height:this.height}):null);get cScale(){return A(this.#pe)}set cScale(e){R(this.#pe,e)}#me=J(()=>e=>this.cScale?.(this.c(e)));get cGet(){return A(this.#me)}set cGet(e){R(this.#me,e)}#he=J(()=>this.xScale.domain());get xDomainPossiblyNice(){return A(this.#he)}set xDomainPossiblyNice(e){R(this.#he,e)}#ge=J(()=>this.yScale.domain());get yDomainPossiblyNice(){return A(this.#ge)}set yDomainPossiblyNice(e){R(this.#ge,e)}#_e=J(()=>this.zScale.domain());get zDomainPossiblyNice(){return A(this.#_e)}set zDomainPossiblyNice(e){R(this.#_e,e)}#ve=J(()=>this.rScale.domain());get rDomainPossiblyNice(){return A(this.#ve)}set rDomainPossiblyNice(e){R(this.#ve,e)}#ye=J(()=>this.transformState?.mode===`domain`&&(this.transformState.axis===`x`||this.transformState.axis===`both`)&&X(this._xScaleProp)?Bt(this.baseXScale):Bt(this.xScale));get xRange(){return A(this.#ye)}set xRange(e){R(this.#ye,e)}#be=J(()=>this.transformState?.mode===`domain`&&(this.transformState.axis===`y`||this.transformState.axis===`both`)&&X(this._yScaleProp)?Bt(this.baseYScale):Bt(this.yScale));get yRange(){return A(this.#be)}set yRange(e){R(this.#be,e)}#xe=J(()=>Bt(this.zScale));get zRange(){return A(this.#xe)}set zRange(e){R(this.#xe,e)}#Se=J(()=>Bt(this.rScale));get rRange(){return A(this.#Se)}set rRange(e){R(this.#Se,e)}#Ce=J(()=>this.width/this.height);get aspectRatio(){return A(this.#Ce)}set aspectRatio(e){R(this.#Ce,e)}get percentRange(){return this.props.percentRange??!1}get xNice(){return this.props.xNice===void 0?this.props.valueAxis===`x`:this.props.xNice}get yNice(){return this.props.yNice===void 0?this.props.valueAxis===`y`:this.props.yNice}get zNice(){return this.props.zNice??!1}get rNice(){return this.props.rNice??!1}get xDomainSort(){return this.props.xDomainSort??!1}get yDomainSort(){return this.props.yDomainSort??!1}get zDomainSort(){return this.props.zDomainSort??!1}get rDomainSort(){return this.props.rDomainSort??!1}get xReverse(){return this.props.xReverse??!1}get zReverse(){return this.props.zReverse??!1}get rReverse(){return this.props.rReverse??!1}get xPadding(){return this.props.xPadding}get yPadding(){return this.props.yPadding}get zPadding(){return this.props.zPadding}get rPadding(){return this.props.rPadding}get cRange(){return this.props.cRange}get x1Range(){return this.props.x1Range}get y1Range(){return this.props.y1Range}get xInterval(){return this.props.xInterval??null}get yInterval(){return this.props.yInterval??null}get radial(){return this.props.radial??!1}get valueAxis(){return this.props.valueAxis??(this.props.yScale&&X(this.props.yScale)?`x`:(this.props.xScale&&X(this.props.xScale),`y`))}static#we={x:0,y:0,data:null,series:[],config:{},isHoveringTooltipArea:!1,isHoveringTooltipContent:!1,mode:`manual`,show:()=>{},hide:()=>{}};static#Te={mode:`none`,scale:1,translate:{x:0,y:0},moving:!1,dragging:!1,setScale:()=>{},setTranslate:()=>{}};static#Ee={series:[],visibleSeries:[],highlightKey:null,isVisible:()=>!0,isHighlighted:()=>!1,isDefaultSeries:!0,allSeriesData:[],allSeriesColors:[],selectedKeys:{isEmpty:()=>!0,isSelected:()=>!1}};get tooltip(){return this.tooltipState??e.#we}get geo(){return this.geoState}get brush(){return this.brushState}get transform(){return this.transformState??e.#Te}get series(){return this.seriesState??e.#Ee}zoomToBrush(e,t=`x`){let n=e.x,r=e.y;if((t===`x`||t===`both`)&&n[0]!=null&&n[1]!=null){let e=this._baseXDomain;if(typeof e[0]==`string`){let i=e.length,a=e.indexOf(n[0]),o=e.indexOf(n[1])+1-a;if(o>0&&i>0){let e=i/o,n=-(a/i)*this.width*e,s=0;if(t===`both`&&r[0]!=null&&r[1]!=null){let t=this._baseYDomain;if(typeof t[0]==`string`){let n=t.length,i=t.indexOf(r[0]);t.indexOf(r[1])+1-i>0&&(s=-(i/n)*this.height*e)}}this.transform.setScale(e),this.transform.setTranslate({x:n,y:s})}}else{let i=+e[0],a=+e[1]-i,o=+n[0],s=+n[1]-o;if(s>0&&a>0){let e=a/s,n=-((o-i)/a)*this.width*e,c=0;if(t===`both`&&r[0]!=null&&r[1]!=null){let t=+this._baseYDomain[0],n=+this._baseYDomain[1]-t;c=-((+r[0]-t)/n)*this.height*e}this.transform.setScale(e),this.transform.setTranslate({x:n,y:c})}}}}get config(){return{x:this.props.x,y:this.props.y,z:this.props.z,r:this.props.r,c:this.props.c,x1:this.props.x1,y1:this.props.y1,xDomain:this._xDomain,yDomain:this._yDomain,zDomain:this.props.zDomain,rDomain:this.props.rDomain,x1Domain:this.props.x1Domain,y1Domain:this.props.y1Domain,cDomain:this.props.cDomain,xRange:this.props.xRange,yRange:this.props.yRange,zRange:this.props.zRange,rRange:this.props.rRange,cRange:this.props.cRange,x1Range:this.props.x1Range,y1Range:this.props.y1Range}}},Ea=new Set([`$$slots`,`$$events`,`$$legacy`,`ChartChildren`,`ref`,`context`]),Da=c(`<div><!></div>`);function Oa(e,n){Y(n,!0);let a=e=>{var i=E(),a=q(i),s=e=>{var t=E(),i=q(t);H(i,()=>n.ChartChildren,(e,t)=>{t(e,G({get children(){return A(b)},get tooltipContext(){return A(S)}},()=>A(P)))}),r(e,t)},c=e=>{var n=E(),i=q(n);t(i,()=>A(b)??o,()=>({context:F})),r(e,n)};v(a,e=>{n.ChartChildren?e(s):e(c,-1)}),r(e,i)},s=e=>{var t=E(),n=q(t),i=e=>{var t=E(),n=q(t);H(n,()=>A(ye),(e,t)=>{t(e,G(()=>A(ge),{get state(){return F.brushState},set state(e){F.brushState=e},children:(e,t)=>{{let t=J(()=>Et(A(S)));Vi(e,G({get onclick(){return A(N)}},()=>A(t),{get state(){return F.tooltipState},set state(e){F.tooltipState=e},children:(e,t)=>{a(e)},$$slots:{default:!0}}))}},$$slots:{default:!0}}))}),r(e,t)},o=e=>{{let t=J(()=>Et(A(S)));Vi(e,G({get onclick(){return A(N)}},()=>A(t),{get state(){return F.tooltipState},set state(e){F.tooltipState=e},children:(e,t)=>{a(e)},$$slots:{default:!0}}))}};v(n,e=>{A(O)&&A(ye)?e(i):e(o,-1)}),r(e,t)},c=z(n,`ref`,15),l=z(n,`context`,15),u=M(n,Ea),d=J(()=>y(n.ssr,!1)),f=J(()=>y(n.pointerEvents,!0)),p=J(()=>n.width),m=J(()=>n.height),_=J(()=>y(n.position,`relative`)),b=J(()=>n.children),x=J(()=>n.geo),S=J(()=>n.tooltipContext),C=J(()=>n.transform),w=J(()=>n.onTransform),T=J(()=>n.ondragend),D=J(()=>n.ondragstart),O=J(()=>n.brush);J(()=>n.motion);let k=J(()=>y(n.debug,!1)),ee=J(()=>y(n.clip,!1)),N=J(()=>n.onTooltipClick),te=J(()=>n.class),P=J(()=>g(u,[`ssr`,`pointerEvents`,`width`,`height`,`position`,`children`,`geo`,`tooltipContext`,`transform`,`onTransform`,`ondragend`,`ondragstart`,`brush`,`motion`,`debug`,`clip`,`onTooltipClick`,`class`])),re=j(void 0),ie=j(void 0),F=new Ta(u,{brushXDomain:()=>A(re),brushYDomain:()=>A(ie)}),ae=j(void 0);_e(()=>{c(A(ae)),F.containerRef=A(ae)}),l(F),We(F),en(F.geoState);let oe=Ii();K(()=>{oe.debug=A(k)});let I=J(()=>{if(A(C)?.mode!==`projection`)return{rotation:!1,scale:!1,translate:!1};let e=!1;A(x)?.projection&&(e=(A(x).projection().clipAngle?.()??0)>0);let t={...e?{rotation:!0,scale:!0,translate:!1}:{rotation:!1,scale:!0,translate:!0},...A(C)?.apply};return A(C)?.apply?.rotation===!0&&A(C)?.apply?.translate==null&&(t.translate=!1),A(C)?.apply?.translate===!0&&A(C)?.apply?.rotation==null&&(t.rotation=!1),t});_e(()=>{F.geoState&&(F.geoState.transformApply=A(I))});let L=J(()=>{if(A(C)?.mode!==`projection`||!(A(I).translate||A(I).scale)||!A(x)?.fitGeojson||!A(x)?.projection)return;let e=A(x).projection().fitSize([F.width,F.height],A(x).fitGeojson),t=e.translate();return{translate:{x:t[0],y:t[1]},scale:e.scale()}}),se=J(()=>{if(A(I).rotation&&F.geoState?.projection)return(e,t,n,r)=>{let i=F.geoState.projection.scale()??0;return{x:e+75/i*n,y:t+75/i*r*-1}}}),B=J(()=>{let e=A(C)?.domainExtent;if(e)return t=>{let{scale:n,translate:r}=t,i=(e,t)=>{if(e!==void 0)return e===`data`?t instanceof Date?t.getTime():t:e instanceof Date?e.getTime():e},a=(e,t,n,r,a)=>{if(!a||r.length<2||n<=0)return e;let o=r[0],s=r[1];if(typeof o==`string`)return e;let c=o instanceof Date,l=c?o.getTime():o,u=c?s.getTime():s,d=Math.abs(u-l);if(!isFinite(d)||d===0)return e;let f=l>u,p=f?n*t-e-n:e,m=Math.min(l,u),h=i(a.min,r[0]),g=i(a.max,r[1]),_=h!=null&&g!=null?Math.min(h,g):h,v=h!=null&&g!=null?Math.max(h,g):g,y=-p/t/n,b=(n-p)/t/n,x=m+y*d,S=m+b*d,C=S-x;if(a.minRange!=null&&C<a.minRange){let e=(x+S)/2;x=e-a.minRange/2,S=e+a.minRange/2}_!=null&&x<_&&(x=_,S=x+(a.minRange!=null&&C<a.minRange?a.minRange:C)),v!=null&&S>v&&(S=v,x=S-(a.minRange!=null&&C<a.minRange?a.minRange:C),_!=null&&x<_&&(x=_));let w=-((x-m)/d)*t*n;return f?n*t-w-n:w},o=A(C)?.axis??`both`;if(e.x&&(o===`x`||o===`both`)&&F.width>0){if(e.x.minRange!=null&&F._baseXDomain.length>=2){let t=F._baseXDomain[0],r=F._baseXDomain[1],i=t instanceof Date,a=i?t.getTime():t,o=i?r.getTime():r,s=Math.abs(o-a);if(s>0){let t=s/e.x.minRange;n=Math.min(n,t)}}r={...r,x:a(r.x,n,F.width,F._baseXDomain,e.x)}}if(e.y&&(o===`y`||o===`both`)&&F.height>0){if(e.y.minRange!=null&&F._baseYDomain.length>=2){let t=F._baseYDomain[0],r=F._baseYDomain[1],i=t instanceof Date,a=i?t.getTime():t,o=i?r.getTime():r,s=Math.abs(o-a);if(s>0){let t=s/e.y.minRange;n=Math.min(n,t)}}r={...r,y:a(r.y,n,F.height,F._baseYDomain,e.y)}}return{scale:n,translate:r}}}),ce=J(()=>A(C)?.mode===`domain`&&((A(C).axis??`both`)!==`y`&&X(F._xScaleProp)||(A(C).axis??`both`)!==`x`&&X(F._yScaleProp))),ue=J(()=>{if(A(C)?.mode===`projection`&&A(C)?.scaleExtent&&A(L)){let e=A(L).scale;return[A(C).scaleExtent[0]*e,A(C).scaleExtent[1]*e]}if(!A(ce))return A(C)?.scaleExtent;let e=A(C)?.scaleExtent;return[Math.max(1,e?.[0]??1),e?.[1]??1/0]}),de=J(()=>A(C)?.mode===`projection`&&A(C)?.translateExtent?A(I).rotation?A(C).translateExtent:void 0:A(C)?.translateExtent),pe=J(()=>{if(A(C)?.mode!==`projection`||!A(C)?.translateExtent||!A(L)||A(I).rotation)return;let e=A(L).scale,t=A(L).translate,[[n,r],[i,a]]=A(C).translateExtent;return o=>{let{scale:s,translate:c}=o,l=s/e;return c={x:Math.max(t.x+n*l,Math.min(t.x+i*l,c.x)),y:Math.max(t.y+r*l,Math.min(t.y+a*l,c.y))},{scale:s,translate:c}}}),me=J(()=>{if(!A(ce))return;let e=(A(C).axis??`both`)!==`y`&&X(F._xScaleProp),t=(A(C).axis??`both`)!==`x`&&X(F._yScaleProp);return n=>{let{scale:r,translate:i}=n,a=i.x,o=i.y;return e&&(a=Math.max(F.width*(1-r),Math.min(0,a))),t&&(o=Math.max(F.height*(1-r),Math.min(0,o))),{scale:r,translate:{x:a,y:o}}}}),he=J(()=>{let e=A(C)?.constrain,t=[A(me),A(B),A(pe),e].filter(Boolean);if(t.length!==0)return t.length===1?t[0]:e=>t.reduce((e,t)=>t(e),e)}),ge=J(()=>{if(!A(O))return{disabled:!0};let e=typeof A(O)==`object`?A(O):{},t=e.onBrushEnd,n=`zoomOnBrush`in e&&e.zoomOnBrush;return A(C)?.mode===`domain`||n?{...e,onBrushEnd:r=>{if(r.brush.active){if(A(C)?.mode===`domain`)F.zoomToBrush(r.brush,e.axis??`x`);else if(n){let t=e.axis??`x`;(t===`x`||t===`both`)&&R(re,Kt(r.brush.x,F._baseXDomain),!0),(t===`y`||t===`both`)&&R(ie,Kt(r.brush.y,F._baseYDomain),!0)}t?.(r),r.brush.reset()}else A(C)?.mode===`domain`?F.transform.reset():n&&(R(re,void 0),R(ie,void 0)),t?.(r)}}:e}),ve=j(void 0),ye=j(void 0);K(()=>{A(C)&&!A(ve)&&Te(()=>import(`../chunks/CdRe9NtS.js`).then(e=>R(ve,e.default,!0)),__vite__mapDeps([25,1,2,3,4,26,11,10,27]),import.meta.url)}),K(()=>{A(O)&&!A(ye)&&Te(()=>import(`../chunks/Bsj_2e-_.js`).then(e=>R(ye,e.default,!0)),__vite__mapDeps([28,1,2,3,4,7,29,21,30,10,26,31,16,32,23,33]),import.meta.url)});var be=E(),xe=q(be),Se=e=>{var t=Da();W(t,()=>({class:[`lc-root-container`,A(te)],...A(P),[fe]:{position:A(_),top:A(_)===`absolute`?0:null,right:A(_)===`absolute`?0:null,bottom:A(_)===`absolute`?0:null,left:A(_)===`absolute`?0:null,"pointer-events":A(f)===!1?`none`:null,overflow:A(ee)?`hidden`:null,width:A(p)?`${A(p)}px`:`100%`,height:A(m)?`${A(m)}px`:`100%`}}),void 0,void 0,void 0,`svelte-3nvn3v`);var n=U(t);h(n,()=>F.isMounted,e=>{var t=E(),n=q(t),i=e=>{let t=J(()=>{let{domainExtent:e,constrain:t,apply:n,scaleExtent:r,translateExtent:i,...a}=A(C);return{_de:e,_uc:t,_apply:n,_se:r,_te:i,transformProps:a}});var n=E(),i=q(n);{let e=J(()=>A(C).mode??`none`),n=J(()=>A(I).translate?A(L)?.translate:void 0),r=J(()=>A(I).scale?A(L)?.scale:void 0),a=J(()=>A(O)===!0||typeof A(O)==`object`&&!A(O).disabled||A(C).disablePointer);H(i,()=>A(ve),(i,o)=>{o(i,G({get mode(){return A(e)},get initialTranslate(){return A(n)},get initialScale(){return A(r)},get processTranslate(){return A(se)}},()=>A(t).transformProps,{get scaleExtent(){return A(ue)},get translateExtent(){return A(de)},get constrain(){return A(he)},get disablePointer(){return A(a)},get ondragstart(){return A(D)},get onTransform(){return A(w)},get ondragend(){return A(T)},get state(){return F.transformState},set state(e){F.transformState=e},children:(e,t)=>{s(e)},$$slots:{default:!0}}))})}r(e,n)},a=e=>{s(e)};v(n,e=>{A(C)&&A(ve)?e(i):e(a,-1)}),r(e,t)}),V(t),ne(t,e=>R(ae,e),()=>A(ae)),le(t,`clientWidth`,e=>F._containerWidth=e),le(t,`clientHeight`,e=>F._containerHeight=e),r(e,t)};v(xe,e=>{(A(d)===!0||typeof window<`u`)&&e(Se)}),r(e,be),i()}var ka=c(`<!> <!> <!> <!>`,1),Aa=c(`<!> <!>`,1),ja=c(`<!> <!> <!>`,1),Ma=c(`<!> <!> <!> <!> <!>`,1);function Na(e,n){Y(n,!0);let s=Je(),c=Ii(),l=z(n,`props`,19,()=>({})),u=z(n,`grid`,3,!0),d=z(n,`axis`,3,!0),f=z(n,`rule`,3,!0),p=z(n,`points`,3,!1),m=z(n,`labels`,3,!1),h=z(n,`highlight`,3,!0),g=z(n,`annotations`,19,()=>[]),_=J(()=>({context:s})),y=J(()=>c.layer);var b=E(),x=q(b),S=e=>{var i=E(),a=q(i);t(a,()=>n.children,()=>A(_)),r(e,i)},C=e=>{var i=Ma(),b=q(i);t(b,()=>n.belowContext??o,()=>A(_));var x=I(b,2);{let e=J(()=>Jt(A(y)===`canvas`?l().canvas:l().svg));H(x,()=>n.Layer,(i,b)=>{b(i,G({get type(){return A(y)},get center(){return s.radial}},()=>A(e),{get debug(){return c.debug},children:(e,i)=>{var c=ka(),y=q(c),b=e=>{var n=E(),i=q(n);t(i,u,()=>A(_)),r(e,n)},x=e=>{var t=E(),i=q(t);{let e=J(()=>s.valueAxis===`x`||s.radial),t=J(()=>s.valueAxis===`y`||s.radial),r=J(()=>Et(u()));H(i,()=>n.Grid,(n,i)=>{i(n,G({get x(){return A(e)},get y(){return A(t)}},()=>A(r),()=>l().grid))})}r(e,t)};v(y,e=>{typeof u()==`function`?e(b):u()&&e(x,1)});var S=I(y,2);{let e=J(()=>!s.props.brush&&s.transformState?.mode!==`domain`);H(S,()=>n.ChartClipPath,(i,s)=>{s(i,{get disabled(){return A(e)},children:(e,i)=>{var s=ka(),c=q(s),l=e=>{var t=E(),n=q(t);a(n,()=>Te(()=>import(`../chunks/imr7FUlI.js`),__vite__mapDeps([34,1,2,3,4,7,29,21,30,10,35,8,22,9,11,12,13,23,36,37,24,14,15,38,17,39,40,16,32,41,42,43,44,45,46]),import.meta.url),null,(e,t)=>{var n=J(()=>{var{default:e}=A(t);return{ChartAnnotations:e}}),i=J(()=>A(n).ChartAnnotations),a=E(),o=q(a);H(o,()=>A(i),(e,t)=>{t(e,{get annotations(){return g()},layer:`below`})}),r(e,a)}),r(e,t)};v(c,e=>{g().length>0&&e(l)});var u=I(c,2);t(u,()=>n.belowMarks??o,()=>A(_));var d=I(u,2);t(d,()=>n.marks??o,()=>A(_));var f=I(d,2);t(f,()=>n.aboveMarks??o,()=>A(_)),r(e,s)},$$slots:{default:!0}})})}var C=I(S,2),w=e=>{var i=Aa(),a=q(i);t(a,d,()=>A(_));var o=I(a,2),c=e=>{var n=E(),i=q(n);t(i,f,()=>A(_)),r(e,n)},u=e=>{var t=E(),i=q(t);{let e=J(()=>s.valueAxis===`x`&&0),t=J(()=>s.valueAxis===`y`&&0),r=J(()=>Et(f()));H(i,()=>n.Rule,(n,i)=>{i(n,G({get x(){return A(e)},get y(){return A(t)}},()=>A(r),()=>l().rule))})}r(e,t)};v(o,e=>{typeof f()==`function`?e(c):f()&&e(u,1)}),r(e,i)},T=e=>{var i=ja(),a=q(i),o=e=>{var t=E(),i=q(t);{let e=J(()=>s.radial?`radius`:`left`),t=J(()=>Et(d()));H(i,()=>n.Axis,(n,r)=>{r(n,G({get placement(){return A(e)}},()=>A(t),()=>l().yAxis))})}r(e,t)};v(a,e=>{d()!==`x`&&e(o)});var c=I(a,2),u=e=>{var t=E(),i=q(t);{let e=J(()=>s.radial?`angle`:`bottom`),t=J(()=>Et(d()));H(i,()=>n.Axis,(n,r)=>{r(n,G({get placement(){return A(e)}},()=>A(t),()=>l().xAxis))})}r(e,t)};v(c,e=>{d()!==`y`&&e(u)});var p=I(c,2),m=e=>{var n=E(),i=q(n);t(i,f,()=>A(_)),r(e,n)},h=e=>{var t=E(),i=q(t);{let e=J(()=>s.valueAxis===`x`&&0),t=J(()=>s.valueAxis===`y`&&0),r=J(()=>Et(f()));H(i,()=>n.Rule,(n,i)=>{i(n,G({get x(){return A(e)},get y(){return A(t)}},()=>A(r),()=>l().rule))})}r(e,t)};v(p,e=>{typeof f()==`function`?e(m):f()&&e(h,1)}),r(e,i)};v(C,e=>{typeof d()==`function`?e(w):d()&&e(T,1)});var D=I(C,2);{let e=J(()=>!s.props.brush&&s.transformState?.mode!==`domain`);H(D,()=>n.ChartClipPath,(i,o)=>{o(i,{get disabled(){return A(e)},full:!0,children:(e,i)=>{var o=ka(),c=q(o),u=e=>{var n=E(),i=q(n);t(i,p,()=>A(_)),r(e,n)},d=e=>{var t=E(),n=q(t);a(n,()=>Te(()=>import(`../chunks/Ch6MextH.js`),__vite__mapDeps([47,1,2,8,3,4,7,48,29,21,30,10,22,17,44,11,45]),import.meta.url),null,(e,t)=>{var n=J(()=>{var{default:e}=A(t);return{Points:e}}),i=J(()=>A(n).Points),a=E(),o=q(a);B(o,19,()=>s.series.visibleSeries,e=>e.key,(e,t)=>{var n=E(),a=q(n);{let e=J(()=>Et(p()));H(a,()=>A(i),(n,r)=>{r(n,G({get seriesKey(){return A(t).key},stroke:`var(--color-surface-100, light-dark(white, black))`},()=>A(e),()=>l().points))})}r(e,n)}),r(e,a)}),r(e,t)};v(c,e=>{typeof p()==`function`?e(u):p()&&e(d,1)});var f=I(c,2),y=e=>{var n=E(),i=q(n);t(i,m,()=>A(_)),r(e,n)},b=e=>{var t=E(),n=q(t);a(n,()=>Te(()=>import(`../chunks/CwPKxnpy.js`),__vite__mapDeps([49,1,2,3,4,7,29,21,30,10,8,22,9,11,12,13,36,23,37,40,16,32,48,17,44,45,50]),import.meta.url),null,(e,t)=>{var n=J(()=>{var{default:e}=A(t);return{Labels:e}}),i=J(()=>A(n).Labels);let a=J(()=>typeof m()==`object`?m().seriesKey:void 0);var o=E(),c=q(o);B(c,19,()=>s.series.visibleSeries.filter(e=>!A(a)||e.key===A(a)),e=>e.key,(e,t)=>{var n=E(),a=q(n);{let e=J(()=>Et(m()));H(a,()=>A(i),(n,r)=>{r(n,G({get seriesKey(){return A(t).key}},()=>A(e),()=>l().labels))})}r(e,n)}),r(e,o)}),r(e,t)};v(f,e=>{typeof m()==`function`?e(y):m()&&e(b,1)});var x=I(f,2),S=e=>{var n=E(),i=q(n);t(i,h,()=>A(_)),r(e,n)},C=e=>{var t=E(),i=q(t);H(i,()=>n.Highlight,(e,t)=>{t(e,G(()=>typeof h()==`object`?h():{},()=>l().highlight))}),r(e,t)};v(x,e=>{typeof h()==`function`?e(S):h()&&e(C,1)});var w=I(x,2),T=e=>{var t=E(),n=q(t);a(n,()=>Te(()=>import(`../chunks/imr7FUlI.js`),__vite__mapDeps([34,1,2,3,4,7,29,21,30,10,35,8,22,9,11,12,13,23,36,37,24,14,15,38,17,39,40,16,32,41,42,43,44,45,46]),import.meta.url),null,(e,t)=>{var n=J(()=>{var{default:e}=A(t);return{ChartAnnotations:e}}),i=J(()=>A(n).ChartAnnotations),a=E(),o=q(a);H(o,()=>A(i),(e,t)=>{t(e,{get annotations(){return g()},layer:`above`})}),r(e,a)}),r(e,t)};v(w,e=>{g().length>0&&e(T)}),r(e,o)},$$slots:{default:!0}})})}r(e,c)},$$slots:{default:!0}}))})}var S=I(x,2);t(S,()=>n.aboveContext??o,()=>A(_));var C=I(S,2),w=e=>{var i=E(),a=q(i);t(a,()=>n.legend,()=>A(_)),r(e,i)},T=e=>{var t=E(),i=q(t);a(i,()=>Te(()=>import(`../chunks/4DYKm5b2.js`),__vite__mapDeps([51,1,2,3,4,21,30,7,16,32,35,22,52]),import.meta.url),null,(e,t)=>{var i=J(()=>{var{default:e}=A(t);return{Legend:e}}),a=J(()=>A(i).Legend),o=E(),s=q(o);{let e=J(()=>Et(n.legend));H(s,()=>A(a),(t,n)=>{n(t,G({placement:`bottom`},()=>A(e),()=>l().legend))})}r(e,o)}),r(e,t)};v(C,e=>{typeof n.legend==`function`?e(w):n.legend&&e(T,1)});var D=I(C,2),O=e=>{var i=E(),a=q(i);t(a,()=>n.tooltip,()=>A(_)),r(e,i)},k=e=>{var t=E(),n=q(t);a(n,()=>Te(()=>import(`../chunks/XoU76ysy.js`),__vite__mapDeps([53,1,2,3,4,7,35,54,29,21,30,10,11,12,55,56]),import.meta.url),null,(e,t)=>{var n=J(()=>{var{default:e}=A(t);return{DefaultTooltip:e}}),i=J(()=>A(n).DefaultTooltip),a=E(),o=q(a);H(o,()=>A(i),(e,t)=>{t(e,{get tooltipProps(){return l().tooltip},canHaveTotal:!0})}),r(e,a)}),r(e,t)};v(D,e=>{typeof n.tooltip==`function`?e(O):n.tooltipContext&&e(k,1)}),r(e,i)};v(x,e=>{n.children?e(S):e(C,-1)}),r(e,b),i()}function Pa(e,t){if(t.kind===`group`&&t.canvasRender){e.save(),t.canvasRender.render(e);for(let n of t.children)Pa(e,n);e.restore()}else if(t.canvasRender)e.save(),t.canvasRender.render(e),e.restore();else for(let n of t.children)Pa(e,n)}var Fa=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`canvasContext`,`ssrCapture`,`ssrCaptureCallback`,`willReadFrequently`,`debug`,`zIndex`,`pointerEvents`,`fallback`,`center`,`ignoreTransform`,`disableHitCanvas`,`class`,`children`,`onclick`,`ondblclick`,`onpointerenter`,`onpointermove`,`onpointerleave`,`onpointerdown`,`ontouchmove`]),Ia=c(`<canvas><!></canvas> <canvas></canvas> <!> `,1);function La(e,n){Y(n,!0);let a=z(n,`ref`,15),c=z(n,`canvasContext`,15),l=z(n,`willReadFrequently`,3,!1),u=z(n,`debug`,3,!1),d=z(n,`zIndex`,3,0),f=z(n,`pointerEvents`,3,!0),m=z(n,`center`,3,!1),h=z(n,`ignoreTransform`,3,!1),g=z(n,`disableHitCanvas`,3,!1),_=M(n,Fa),y=j(void 0),b=j(void 0);_e(()=>{a(A(y))}),_e(()=>{c(A(b))});let x=Je(),S=new qt(`Canvas`),C=x.registerComponent({name:`Canvas`,kind:`group`}),w=!1,T,D=j(void 0),O=j(void 0),k=Hi(),ee=j(!1),P=null,re=new Map;function ie(e){let{x:t,y:n}=Gt(e),r=Ui($t(A(O),t,n)),i=re.get(r);return S.debug({colorKey:r,node:i,nodeByColor:re}),i}function F(e,t,n){e?.canvasRender?.events?.[t]?.(n);let r=e?.parent;for(;r;)(r.kind===`group`?r.canvasRender?.events?.[t]:void 0)?.(n),r=r.parent}let ae=e=>{R(ee,!0);let t=ie(e);t!=P&&(P&&(F(P,`pointerleave`,e),F(P,`pointerout`,e)),F(t,`pointerenter`,e),F(t,`pointerover`,e)),F(t,`pointermove`,e),P=t},L=e=>{F(P,`pointerleave`,e),F(P,`pointerout`,e),P=null,R(ee,!1)};if(typeof window<`u`){let{dark:e}=new _a;ze(()=>e.current,()=>{de.invalidate()}),Ke(()=>document.documentElement,()=>de.invalidate(),{attributes:!0,attributeFilter:[`class`,`data-theme`]})}ue(()=>(R(b,A(y)?.getContext(`2d`,{willReadFrequently:l()}),!0),R(O,A(D)?.getContext(`2d`,{willReadFrequently:!1}),!0),()=>{T&&cancelAnimationFrame(T)}));function se(){if(!A(b))return;Qt(A(b),x.containerWidth,x.containerHeight),A(b).clearRect(0,0,x.containerWidth,x.containerHeight),A(b).translate(x.padding.left??0,x.padding.top??0);let e;if(m()?(e={x:m()===`x`||m()===!0?x.width/2:0,y:m()===`y`||m()===!0?x.height/2:0},A(b).translate(e.x,e.y)):x.transform.mode===`canvas`&&!h()&&(A(b).translate(x.transform.translate.x,x.transform.translate.y),A(b).scale(x.transform.scale,x.transform.scale)),Pa(A(b),C),A(O)){let e=!A(ee)&&x.transform.moving;g()||x.transform.dragging||e?A(O).clearRect(0,0,x.containerWidth,x.containerHeight):(Qt(A(O),x.containerWidth,x.containerHeight),A(O).clearRect(0,0,x.containerWidth,x.containerHeight),A(O).setTransform(A(b).getTransform()),k=Hi(),re.clear(),H(A(O),C))}w=!1}function B(e){return e.canvasRender?.events&&Object.values(e.canvasRender.events).some(e=>e)}function H(e,t,n=!1){if(t.kind===`group`&&t.canvasRender){let r=n||B(t);e.save(),t.canvasRender.render(e);for(let n of t.children)H(e,n,r);e.restore()}else if(t.canvasRender){if(B(t)||n){let n=Ui(k.next().value),r={styles:{fill:n,stroke:n,_fillOpacity:.1}};e.save(),t.canvasRender.render(e,r),e.restore(),re.set(n,t)}}else for(let r of t.children)H(e,r,n)}function ce(){function e(e){return()=>{}}function t(){w||typeof requestAnimationFrame>`u`||(w=!0,T=requestAnimationFrame(se))}function n(){return C}return{register:e,invalidate:t,getRootNode:n}}function le(){if(typeof window<`u`||!n.ssrCapture&&!n.ssrCaptureCallback)return``;let e={chartState:x,rootNode:C};return n.ssrCapture&&Object.assign(n.ssrCapture,e),n.ssrCaptureCallback?.(e),``}let de=ce();_e(()=>{x.height,x.width,x.containerHeight,x.containerWidth,x.transform.dragging,de.invalidate()}),qi(de),Xt(`canvas`);var G=Ia(),K=q(G),pe=e=>{F(ie(e),`click`,e),n.onclick?.(e)},me=e=>{F(ie(e),`dblclick`,e),n.ondblclick?.(e)},he=e=>{F(ie(e),`pointerdown`,e),n.onpointerdown?.(e)},ge=e=>{n.onpointerenter?.(e),ae(e)},ve=e=>{n.onpointermove?.(e),ae(e)},ye=e=>{n.onpointerleave?.(e),L(e)},J=e=>{P&&e.preventDefault(),F(ie(e),`touchmove`,e)};W(K,()=>({class:[`lc-layout-canvas`,n.class],onclick:pe,ondblclick:me,onpointerdown:he,onpointerenter:ge,onpointermove:ve,onpointerleave:ye,ontouchmove:J,..._,[oe]:{disablePointerEvents:f()===!1},[fe]:{"z-index":d()}}),void 0,void 0,void 0,`svelte-1bup3jo`);var be=U(K),xe=e=>{var i=E(),a=q(i),o=e=>{var i=E(),a=q(i);t(a,()=>n.fallback),r(e,i)},c=e=>{var t=s();N(()=>p(t,n.fallback)),r(e,t)};v(a,e=>{typeof n.fallback==`function`?e(o):e(c,-1)}),r(e,i)};v(be,e=>{n.fallback&&e(xe)}),V(K),ne(K,e=>R(y,e),()=>A(y));var Se=I(K,2);let Ce;ne(Se,e=>R(D,e),()=>A(D));var we=I(Se,2);t(we,()=>n.children??o,()=>({ref:A(y),canvasContext:A(b)}));var Te=I(we);N(e=>{Ce=te(Se,1,`lc-hit-canvas svelte-1bup3jo`,null,Ce,{debug:u()}),p(Te,` ${e??``}`)},[()=>le()]),r(e,G),i()}var Ra=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`zIndex`,`pointerEvents`,`role`,`aria-label`,`aria-labelledby`,`aria-describedby`,`center`,`ignoreTransform`,`clip`,`class`,`children`]),za=c(`<div><!></div>`);function Ba(e,n){Y(n,!0);let a=z(n,`ref`,15),s=z(n,`zIndex`,3,0),c=z(n,`pointerEvents`,3,!0),l=z(n,`center`,3,!1),u=z(n,`ignoreTransform`,3,!1),d=z(n,`clip`,3,!1),f=M(n,Ra),p=j(void 0);_e(()=>{a(A(p))});let m=J(()=>n.role||(n[`aria-label`]||n[`aria-labelledby`]||n[`aria-describedby`]?`figure`:void 0)),h=Je(),g=J(()=>{if(h.transform.mode===`canvas`&&!u())return`translate(${h.transform.translate.x}px,${h.transform.translate.y}px) scale(${h.transform.scale})`;if(l())return`translate(${l()===`x`||l()===!0?h.width/2:0}px, ${l()===`y`||l()===!0?h.height/2:0}px)`});Xt(`html`);var _=za();W(_,()=>({class:[`lc-layout-html`,n.class],role:A(m),"aria-label":n[`aria-label`],"aria-labelledby":n[`aria-labelledby`],"aria-describedby":n[`aria-describedby`],...f,[oe]:{disablePointerEvents:c()===!1,clip:d()},[fe]:{transform:A(g),"transform-origin":`top left`,"z-index":s(),top:`${h.padding.top??``}px`,bottom:`${h.padding.bottom??``}px`,left:`${h.padding.left??``}px`,right:`${h.padding.right??``}px`}}),void 0,void 0,void 0,`svelte-t2zypr`);var v=U(_);t(v,()=>n.children??o,()=>({ref:A(p)})),V(_),ne(_,e=>R(p,e),()=>A(p)),r(e,_),i()}var Va=new Set([`$$slots`,`$$events`,`$$legacy`,`Rect`,`ref`,`full`]);function Ha(e,t){Y(t,!0);let n=z(t,`ref`,15),a=z(t,`full`,3,!1),o=M(t,Va),s=j(void 0);_e(()=>{n(A(s))});let c=Je();var l=E(),u=q(l);{let e=J(()=>a()&&c.padding?.left?-c.padding.left:0),n=J(()=>a()&&c.padding?.top?-c.padding.top:0),r=J(()=>c.width+(a()?(c.padding?.left??0)+(c.padding?.right??0):0)),i=J(()=>c.height+(a()?(c.padding?.top??0)+(c.padding?.bottom??0):0)),l=J(()=>nn(o,`lc-frame`));H(u,()=>t.Rect,(t,a)=>{a(t,G({get x(){return A(e)},get y(){return A(n)},get width(){return A(r)},get height(){return A(i)}},()=>A(l),{get ref(){return A(s)},set ref(e){R(s,e,!0)}}))})}r(e,l),i()}var Ua=new Set([`$$slots`,`$$events`,`$$legacy`]);function Wa(e,t){let n=M(t,Ua);Ha(e,G({get Rect(){return Hn}},()=>n))}var Ga=new Set([`$$slots`,`$$events`,`$$legacy`]);function Ka(e,t){let n=M(t,Ga);Ha(e,G({get Rect(){return Vn}},()=>n))}var qa=new Set([`$$slots`,`$$events`,`$$legacy`]);function Ja(e,t){let n=M(t,qa);Ha(e,G({get Rect(){return Un}},()=>n))}var Ya=new Set([`$$slots`,`$$events`,`$$legacy`]);function Xa(e,t){Y(t,!0);let n=tn(),a=M(t,Ya);var o=E(),s=q(o),c=e=>{Wa(e,G(()=>a))},l=e=>{Ka(e,G(()=>a))},u=e=>{Ja(e,G(()=>a))};v(s,e=>{n===`svg`?e(c):n===`canvas`?e(l,1):n===`html`&&e(u,2)}),r(e,o),i()}var Za=new Set([`$$slots`,`$$events`,`$$legacy`,`type`,`children`]),Qa=c(`<!> <!>`,1);function $a(e,t){Y(t,!0);let n=M(t,Za),a=Ii(),s=J(()=>t.type??a.layer);var c=E(),l=q(c),u=e=>{La(e,G(()=>n,{children:(e,n=o)=>{var i=Qa(),s=q(i),c=e=>{var t=Qa(),n=q(t);Xa(n,{class:`lc-debug-frame`}),Xa(I(n,2),{class:`lc-debug-frame`,full:!0}),r(e,t)};v(s,e=>{a.debug&&e(c)});var l=I(s,2);t.children?.(l,n),r(e,i)},$$slots:{default:!0}}))},d=e=>{Pr(e,G(()=>n,{children:(e,n=o)=>{var i=Qa(),s=q(i),c=e=>{var t=Qa(),n=q(t);Xa(n,{class:`lc-debug-frame`}),Xa(I(n,2),{class:`lc-debug-frame`,full:!0}),r(e,t)};v(s,e=>{a.debug&&e(c)});var l=I(s,2);t.children?.(l,n),r(e,i)},$$slots:{default:!0}}))},f=e=>{Ba(e,G(()=>n,{children:(e,n=o)=>{var i=Qa(),s=q(i),c=e=>{var t=Qa(),n=q(t);Xa(n,{class:`lc-debug-frame`}),Xa(I(n,2),{class:`lc-debug-frame`,full:!0}),r(e,t)};v(s,e=>{a.debug&&e(c)});var l=I(s,2);t.children?.(l,n),r(e,i)},$$slots:{default:!0}}))};v(l,e=>{A(s)===`canvas`?e(u):A(s)===`svg`?e(d,1):A(s)===`html`&&e(f,2)}),r(e,c),i()}function eo(e,t={multiline:!1}){let{multiline:n=!1,placement:r=`bottom`}=t;return function(t,i){let a=``;if(+e>=+new Le({duration:{years:1}}))a=Ie(t,`year`);else if(+e>=+new Le({duration:{days:28}})){let e=i===0||+Xe.floor(t)==+t;a=n?[Ie(t,`month`,{variant:`short`}),e&&Ie(t,`year`)]:Ie(t,`month`,{variant:`short`})+(e?` '${Ie(t,`year`,{variant:`short`})}`:``)}else if(+e>=+new Le({duration:{days:1}})){let r=i===0||t.getDate()<=e.days;a=n?[Ie(t,`custom`,{custom:Ue.DayOfMonth_numeric}),r&&Ie(t,`month`,{variant:`short`})]:Ie(t,`day`,{variant:`short`})}else if(+e>=+new Le({duration:{hours:1}})){let e=i===0||+Ze.floor(t)==+t;a=n?[Ie(t,`custom`,{custom:Ue.Hour_numeric}),e&&Ie(t,`day`,{variant:`short`})]:e?Ie(t,`day`,{variant:`short`}):Ie(t,`custom`,{custom:Ue.Hour_numeric})}else if(+e>=+new Le({duration:{minutes:1}})){let e=i===0||+Ze.floor(t)==+t;a=n?[Ie(t,`time`,{variant:`short`}),e&&Ie(t,`day`,{variant:`short`})]:Ie(t,`time`,{variant:`short`})}else if(+e>=+new Le({duration:{seconds:1}})){let e=i===0||+Ze.floor(t)==+t;a=[Ie(t,`time`),n&&e&&Ie(t,`day`,{variant:`short`})]}else if(+e>=+new Le({duration:{milliseconds:1}})){let e=i===0||+Ze.floor(t)==+t;a=[Ie(t,`custom`,{custom:[Ue.Hour_2Digit,Ue.Minute_2Digit,Ue.Second_2Digit,Ue.MiliSecond_3,Ue.Hour_woAMPM]}),n&&e&&Ie(t,`day`,{variant:`short`})]}else a=t.toString();if(Array.isArray(a))switch(r){case`top`:return a.filter(Boolean).reverse().join(`
4
+ `);case`bottom`:return a.filter(Boolean).join(`
5
+ `);case`left`:return a.filter(Boolean).reverse().join(` `);case`right`:return a.filter(Boolean).join(` `);default:return a.filter(Boolean).join(`
6
+ `)}else return a}}function to(e,t,n){if(Array.isArray(t))return t;if(typeof t==`function`)return t(e)??[];if(Ae(t)&&`interval`in t)return t.interval===null||!(`ticks`in e)||typeof e.ticks!=`function`?[]:e.ticks(t.interval);if(X(e)){let r=e.domain(),i=typeof t==`number`?t:n;if(i!=null&&i<r.length){let e=Math.max(1,Math.ceil(r.length/i));return r.filter((t,n)=>n%e===0)}return r}return e.ticks&&typeof e.ticks==`function`?e.ticks(n??(typeof t==`number`?t:void 0)):[]}function no(e){let{scale:t,ticks:n,count:r,formatType:i,multiline:a,placement:o}=e;if(i)return e=>Ie(e,i);if(Rt(t)&&r){if(Ae(n)&&`interval`in n&&n.interval!=null){let e=n.interval.floor(new Date),t=n.interval.ceil(new Date);return eo(new Le({start:e,end:t}),{multiline:a,placement:o})}{let[e,n]=Pt(t.domain()[0],t.domain()[1],r);return eo(new Le({start:e,end:n}),{multiline:a,placement:o})}}return t.tickFormat?t.tickFormat(r):e=>`${e}`}var ro=class{#e=()=>({});ctx=Je();constructor(e){this.#e=e,this.ctx.registerComponent({name:`Axis`,kind:`composite-mark`})}#t=J(()=>{let e=this.#e().placement;return e===`angle`?`angle`:e===`radius`?`radius`:[`top`,`bottom`].includes(e)?`horizontal`:`vertical`});get orientation(){return A(this.#t)}set orientation(e){R(this.#t,e)}#n=J(()=>this.#e().scale??([`horizontal`,`angle`].includes(this.orientation)?this.ctx.xScale:this.ctx.yScale));get scale(){return A(this.#n)}set scale(e){R(this.#n,e)}#r=J(()=>[`horizontal`,`angle`].includes(this.orientation)?this.ctx.xInterval:this.ctx.yInterval);get interval(){return A(this.#r)}set interval(e){R(this.#r,e)}#i=J(()=>{let e=this.#e().placement;return[`top`,`bottom`,`angle`].includes(e)?80:[`left`,`right`,`radius`].includes(e)?50:void 0});get defaultTickSpacing(){return A(this.#i)}set defaultTickSpacing(e){R(this.#i,e)}#a=J(()=>{let e=this.#e().tickSpacing;return e===void 0?X(this.scale)&&this.interval==null?null:this.defaultTickSpacing:e});get tickSpacing(){return A(this.#a)}set tickSpacing(e){R(this.#a,e)}#o=J(()=>{let e=this.#e().format;if(e!==void 0)return e;if(this.ctx.series.stackLayout===`stackExpand`&&(this.ctx.valueAxis===`x`&&[`horizontal`,`angle`].includes(this.orientation)||this.ctx.valueAxis===`y`&&[`vertical`,`radius`].includes(this.orientation)))return`percentRound`});get resolvedFormat(){return A(this.#o)}set resolvedFormat(e){R(this.#o,e)}#s=J(()=>lt(this.ctx.xRange));get xRangeMinMax(){return A(this.#s)}set xRangeMinMax(e){R(this.#s,e)}#c=J(()=>lt(this.ctx.yRange));get yRangeMinMax(){return A(this.#c)}set yRangeMinMax(e){R(this.#c,e)}#l=J(()=>this.orientation===`vertical`?this.ctx.height:this.orientation===`horizontal`?this.ctx.width:this.orientation===`radius`?this.ctx.height/2:this.orientation===`angle`?this.ctx.width:null);get ctxSize(){return A(this.#l)}set ctxSize(e){R(this.#l,e)}#u=J(()=>{if(!this.ctxSize)return this.ctxSize;let e=this.ctx.transformState;return e?.mode===`domain`&&X(this.scale)&&e.scale>1?this.ctxSize*e.scale:this.ctxSize});get effectiveSize(){return A(this.#u)}set effectiveSize(e){R(this.#u,e)}#d=J(()=>{let e=this.#e().ticks;if(typeof e==`number`)return e;if(this.tickSpacing&&this.effectiveSize)return Math.round(this.effectiveSize/this.tickSpacing)});get tickCount(){return A(this.#d)}set tickCount(e){R(this.#d,e)}#f=J(()=>{let e=this.#e().ticks;if(typeof e==`number`)return e;if(this.defaultTickSpacing&&this.effectiveSize)return Math.round(this.effectiveSize/this.defaultTickSpacing)});get formatCount(){return A(this.#f)}set formatCount(e){R(this.#f,e)}#p=J(()=>{let e=this.#e().ticks,t=to(this.scale,e,this.tickCount);this.interval!=null&&t.pop();let n=typeof this.resolvedFormat==`object`?this.resolvedFormat?.type:this.resolvedFormat;return n===`integer`?t=t.filter(Number.isInteger):n===`year`||n===Re.CalendarYear?t=t.filter(e=>+Xe.floor(e)==+e):n===`month`||n===Re.Month||n===Re.MonthYear?t=t.filter(e=>e.getDate()<7):n===`day`||n===Re.Day?t=t.filter(e=>+Ze.floor(e)==+e):n===`hour`||n===Re.Hour?t=t.filter(e=>+Oe.floor(e)==+e):n===`minute`||n===Re.Minute?t=t.filter(e=>+Ve.floor(e)==+e):n===`second`||n===Re.Second?t=t.filter(e=>+Be.floor(e)==+e):(n===`millisecond`||n===Re.Millisecond)&&(t=t.filter(e=>+et.floor(e)==+e)),Me(t)});get tickVals(){return A(this.#p)}set tickVals(e){R(this.#p,e)}#m=J(()=>no({scale:this.scale,ticks:this.#e().ticks,count:this.formatCount,formatType:this.resolvedFormat,multiline:this.#e().tickMultiline??!1,placement:this.#e().placement}));get tickFormat(){return A(this.#m)}set tickFormat(e){R(this.#m,e)}getCoords(e){let t=this.#e().placement,n=this.scale;switch(t){case`top`:case`bottom`:return{x:n(e)+(X(n)?n.bandwidth()/2:this.ctx.xInterval?(n(this.ctx.xInterval.offset(e))-n(e))/2:0),y:t===`top`?this.yRangeMinMax[0]:this.yRangeMinMax[1]};case`left`:case`right`:return{x:t===`left`?this.xRangeMinMax[0]:this.xRangeMinMax[1],y:n(e)+(X(n)?n.bandwidth()/2:this.ctx.yInterval?(n(this.ctx.yInterval.offset(e))-n(e))/2:0)};case`angle`:return{x:n(e),y:this.yRangeMinMax[1]};case`radius`:return{x:this.xRangeMinMax[0],y:n(e)+(X(n)?n.bandwidth()/2:0)}}return{x:0,y:0}}getDefaultTickLabelProps(e){let{placement:t,tickLength:n=4}=this.#e();switch(t){case`top`:return{textAnchor:`middle`,verticalAnchor:`end`,dy:-n};case`bottom`:return{textAnchor:`middle`,verticalAnchor:`start`,dy:n};case`left`:return{textAnchor:`end`,verticalAnchor:`middle`,dx:-n};case`right`:return{textAnchor:`start`,verticalAnchor:`middle`,dx:n};case`angle`:{let t=this.scale(e);return{textAnchor:t===0||Math.abs(t-Math.PI)<.01||Math.abs(t-Math.PI*2)<.01?`middle`:t>Math.PI?`end`:`start`,verticalAnchor:`middle`,dx:Math.sin(t)*n,dy:-Math.cos(t)*(n+4)}}case`radius`:return{textAnchor:`middle`,verticalAnchor:`middle`,dx:2}}return{}}#h=J(()=>{let{placement:e,labelPlacement:t=`middle`}=this.#e();return e===`left`||this.orientation===`horizontal`&&t===`start`?-this.ctx.padding.left:e===`right`||this.orientation===`horizontal`&&t===`end`?this.ctx.width+this.ctx.padding.right:this.ctx.width/2});get resolvedLabelX(){return A(this.#h)}set resolvedLabelX(e){R(this.#h,e)}#g=J(()=>{let{placement:e,labelPlacement:t=`middle`}=this.#e();return e===`top`||this.orientation===`vertical`&&t===`start`?-this.ctx.padding.top:this.orientation===`vertical`&&t===`middle`?this.ctx.height/2:e===`bottom`||t===`end`?this.ctx.height+this.ctx.padding.bottom:`0`});get resolvedLabelY(){return A(this.#g)}set resolvedLabelY(e){R(this.#g,e)}#_=J(()=>{let{placement:e,labelPlacement:t=`middle`}=this.#e();return t===`middle`?`middle`:e===`right`||this.orientation===`horizontal`&&t===`end`?`end`:`start`});get resolvedLabelTextAnchor(){return A(this.#_)}set resolvedLabelTextAnchor(e){R(this.#_,e)}#v=J(()=>{let{placement:e,labelPlacement:t=`middle`}=this.#e();return e===`top`||this.orientation===`vertical`&&t===`start`||e===`left`&&t===`middle`?`start`:`end`});get resolvedLabelVerticalAnchor(){return A(this.#v)}set resolvedLabelVerticalAnchor(e){R(this.#v,e)}#y=J(()=>{let{label:e=``,labelPlacement:t=`middle`,labelProps:n,stroke:r,fill:i,classes:a={}}=this.#e();return{value:typeof e==`function`?``:e,x:this.resolvedLabelX,y:this.resolvedLabelY,textAnchor:this.resolvedLabelTextAnchor,verticalAnchor:this.resolvedLabelVerticalAnchor,rotate:this.orientation===`vertical`&&t===`middle`?-90:0,capHeight:`7px`,lineHeight:`11px`,fill:i,stroke:r,...n,class:At(`lc-axis-label`,a.label,n?.class)}});get resolvedLabelProps(){return A(this.#y)}set resolvedLabelProps(e){R(this.#y,e)}#b=J(()=>{let{motion:e,stroke:t,fill:n,tickLabelProps:r,classes:i={}}=this.#e();return this.tickVals.map((a,o)=>{let s=this.getCoords(a),[c,l]=Bn(s.x,s.y),[u,d]=Bn(s.x,s.y+(this.#e().tickLength??4)),f={x:this.orientation===`angle`?c:s.x,y:this.orientation===`angle`?l:s.y,value:this.tickFormat(a,o),...this.getDefaultTickLabelProps(a),motion:e,capHeight:`7px`,lineHeight:`11px`,fill:n,stroke:t,...r,class:At(`lc-axis-tick-label`,i.tickLabel,r?.class)};return{key:a.valueOf(),tick:a,tickCoordsX:s.x,tickCoordsY:s.y,radialTickCoordsX:c,radialTickCoordsY:l,radialTickMarkCoordsX:u,radialTickMarkCoordsY:d,tickLabelProps:f}})});get tickItems(){return A(this.#b)}set tickItems(e){R(this.#b,e)}},io=new Set(`$$slots.$$events.$$legacy.Group.Line.Text.Rule.placement.label.labelPlacement.labelProps.rule.grid.ticks.tickSpacing.tickMultiline.tickLength.tickMarks.format.tickLabelProps.stroke.fill.motion.transitionIn.transitionInParams.scale.classes.class.tickLabel`.split(`.`)),ao=c(`<!> <!> <!>`,1);function oo(e,n){Y(n,!0);let a=z(n,`label`,3,``),o=z(n,`labelPlacement`,3,`middle`),s=z(n,`rule`,3,!1),c=z(n,`grid`,3,!1),l=z(n,`tickMultiline`,3,!1),u=z(n,`tickLength`,3,4),d=z(n,`tickMarks`,3,!0),f=z(n,`classes`,19,()=>({})),p=M(n,io),m=new ro(()=>({placement:n.placement,label:a(),labelPlacement:o(),labelProps:n.labelProps,rule:s(),grid:c(),ticks:n.ticks,tickSpacing:n.tickSpacing,tickMultiline:l(),tickLength:u(),tickMarks:d(),format:n.format,tickLabelProps:n.tickLabelProps,stroke:n.stroke,fill:n.fill,motion:n.motion,scale:n.scale,classes:f()}));var h=E(),g=q(h);{let e=J(()=>At(`lc-axis`,`placement-${n.placement}`,f().root,n.class));H(g,()=>n.Group,(i,o)=>{o(i,G(()=>p,{get"data-placement"(){return n.placement},get class(){return A(e)},children:(e,i)=>{var o=ao(),l=q(o),p=e=>{var t=E(),i=q(t);{let e=J(()=>n.placement===`left`?`$left`:n.placement===`right`?`$right`:n.placement===`angle`),t=J(()=>n.placement===`top`?`$top`:n.placement===`bottom`?`$bottom`:n.placement===`radius`),r=J(()=>nn(s(),`lc-axis-rule`,f().rule??``));H(i,()=>n.Rule,(i,a)=>{a(i,G({get x(){return A(e)},get y(){return A(t)},get stroke(){return n.stroke},get motion(){return n.motion}},()=>A(r)))})}r(e,t)};v(l,e=>{s()!==!1&&e(p)});var h=I(l,2),g=e=>{var n=E(),i=q(n);t(i,a,()=>({props:m.resolvedLabelProps})),r(e,n)},_=e=>{var t=E(),i=q(t);H(i,()=>n.Text,(e,t)=>{t(e,G(()=>m.resolvedLabelProps))}),r(e,t)};v(h,e=>{typeof a()==`function`?e(g):a()&&e(_,1)});var y=I(h,2);B(y,19,()=>m.tickItems,e=>e.key,(e,i,a)=>{var o=E(),s=q(o);H(s,()=>n.Group,(e,o)=>{o(e,{get transitionIn(){return n.transitionIn},get transitionInParams(){return n.transitionInParams},class:`lc-axis-tick-group`,children:(e,o)=>{var s=ao(),l=q(s),p=e=>{var t=E(),a=q(t);{let e=J(()=>m.orientation===`horizontal`||m.orientation===`angle`?A(i).tick:!1),t=J(()=>m.orientation===`vertical`||m.orientation===`radius`?A(i).tick:!1),r=J(()=>nn(c(),`lc-axis-grid`,f().rule??``));H(a,()=>n.Rule,(i,a)=>{a(i,G({get x(){return A(e)},get y(){return A(t)},get stroke(){return n.stroke},get motion(){return n.motion}},()=>A(r)))})}r(e,t)};v(l,e=>{c()!==!1&&e(p)});var h=I(l,2),g=e=>{let t=J(()=>At(`lc-axis-tick`,f().tick));var a=E(),o=q(a),s=e=>{var a=E(),o=q(a);{let e=J(()=>A(i).tickCoordsY+(n.placement===`top`?-u():u()));H(o,()=>n.Line,(r,a)=>{a(r,{get x1(){return A(i).tickCoordsX},get y1(){return A(i).tickCoordsY},get x2(){return A(i).tickCoordsX},get y2(){return A(e)},get stroke(){return n.stroke},get motion(){return n.motion},get class(){return A(t)}})})}r(e,a)},c=e=>{var a=E(),o=q(a);{let e=J(()=>A(i).tickCoordsX+(n.placement===`left`?-u():u()));H(o,()=>n.Line,(r,a)=>{a(r,{get x1(){return A(i).tickCoordsX},get y1(){return A(i).tickCoordsY},get x2(){return A(e)},get y2(){return A(i).tickCoordsY},get stroke(){return n.stroke},get motion(){return n.motion},get class(){return A(t)}})})}r(e,a)},l=e=>{var a=E(),o=q(a);H(o,()=>n.Line,(e,r)=>{r(e,{get x1(){return A(i).radialTickCoordsX},get y1(){return A(i).radialTickCoordsY},get x2(){return A(i).radialTickMarkCoordsX},get y2(){return A(i).radialTickMarkCoordsY},get stroke(){return n.stroke},get motion(){return n.motion},get class(){return A(t)}})}),r(e,a)};v(o,e=>{m.orientation===`horizontal`?e(s):m.orientation===`vertical`?e(c,1):m.orientation===`angle`&&e(l,2)}),r(e,a)};v(h,e=>{d()&&e(g)});var _=I(h,2),y=e=>{var o=E(),s=q(o);t(s,()=>n.tickLabel,()=>({props:A(i).tickLabelProps,index:A(a)})),r(e,o)},b=e=>{var t=E(),a=q(t);H(a,()=>n.Text,(e,t)=>{t(e,G(()=>A(i).tickLabelProps))}),r(e,t)};v(_,e=>{n.tickLabel?e(y):e(b,-1)}),r(e,s)},$$slots:{default:!0}})}),r(e,o)}),r(e,o)},$$slots:{default:!0}}))})}r(e,h),i()}var so=class{#e=()=>({});ctx=Je();constructor(e){this.#e=e,this.ctx.registerComponent({name:`Rule`,kind:`composite-mark`})}#t=J(()=>Ot(this.#e().data??this.ctx.data));get data(){return A(this.#t)}set data(e){R(this.#t,e)}#n=J(()=>{let e=this.#e().x;return typeof e==`number`||e instanceof Date||e===!0||e===`$left`||e===`$right`||X(this.ctx.xScale)&&this.ctx.xDomain.includes(e)});get singleX(){return A(this.#n)}set singleX(e){R(this.#n,e)}#r=J(()=>{let e=this.#e().y;return typeof e==`number`||e instanceof Date||e===!0||e===`$bottom`||e===`$top`||X(this.ctx.yScale)&&this.ctx.yDomain.includes(e)});get singleY(){return A(this.#r)}set singleY(e){R(this.#r,e)}#i=J(()=>lt(this.ctx.xRange));get xRangeMinMax(){return A(this.#i)}set xRangeMinMax(e){R(this.#i,e)}#a=J(()=>lt(this.ctx.yRange));get yRangeMinMax(){return A(this.#a)}set yRangeMinMax(e){R(this.#a,e)}#o=J(()=>{let e=this.#e(),t=e.x??!1,n=e.y??!1,r=e.xOffset??0,i=e.yOffset??0,a=e.stroke,o=[];if(this.singleX){let e=t===!0||t===`$left`?this.xRangeMinMax[0]:t===`$right`?this.xRangeMinMax[1]:this.ctx.xScale(t)+r;o.push({x1:e,y1:this.ctx.yRange[0]||0,x2:e,y2:this.ctx.yRange[1]||0,axis:`x`})}if(this.singleY){let e=n===!0||n===`$bottom`?this.yRangeMinMax[1]:n===`$top`?this.yRangeMinMax[0]:this.ctx.yScale(n)+i;o.push({x1:this.ctx.xRange[0]||0,y1:e,x2:this.ctx.xRange[1]||0,y2:e,axis:`y`})}if(!this.singleX&&!this.singleY){let e=t===!1?this.ctx.x:jt(t),s=n===!1?this.ctx.y:jt(n),c=X(this.ctx.xScale)?this.ctx.xScale.bandwidth()/2:0,l=X(this.ctx.yScale)?this.ctx.yScale.bandwidth()/2:0;for(let t of this.data){let n=e(t),u=s(t),d=Array.isArray(n)?n[0]:Mt(this.ctx.xScale)?0:n,f=Array.isArray(n)?n[1]:n,p=Array.isArray(u)?u[0]:Mt(this.ctx.yScale)?0:u,m=Array.isArray(u)?u[1]:u;o.push({x1:this.ctx.xScale(d)+c+r,y1:this.ctx.yScale(p)+l+i,x2:this.ctx.xScale(f)+c+r,y2:this.ctx.yScale(m)+l+i,axis:Array.isArray(u)||X(this.ctx.xScale)?`x`:`y`,stroke:a??this.ctx.config.c?this.ctx.cGet(t):null})}}return o.filter(e=>e.x1>=this.xRangeMinMax[0]&&e.x2<=this.xRangeMinMax[1]&&e.y1>=this.yRangeMinMax[0]&&e.y2<=this.yRangeMinMax[1])});get lines(){return A(this.#o)}set lines(e){R(this.#o,e)}},co=new Set([`$$slots`,`$$events`,`$$legacy`,`Group`,`Line`,`Circle`,`data`,`x`,`xOffset`,`y`,`yOffset`,`stroke`,`class`,`children`]);function lo(e,t){Y(t,!0);let n=z(t,`x`,3,!1),a=z(t,`xOffset`,3,0),o=z(t,`y`,3,!1),s=z(t,`yOffset`,3,0),c=M(t,co),l=new so(()=>({data:t.data,x:n(),xOffset:a(),y:o(),yOffset:s(),stroke:t.stroke}));var u=E(),d=q(u);H(d,()=>t.Group,(e,n)=>{n(e,{class:`lc-rule-g`,children:(e,n)=>{var i=E(),a=q(i);B(a,17,()=>l.lines,m,(e,n)=>{let i=J(()=>A(n).stroke??t.stroke);var a=E(),o=q(a),s=e=>{var a=E(),o=q(a),s=e=>{let a=J(()=>{let[e,t]=Bn(A(n).x1,A(n).y1);return{x1:e,y1:t}}),o=J(()=>{let[e,t]=Bn(A(n).x2,A(n).y2);return{x2:e,y2:t}});var s=E(),l=q(s);{let e=J(()=>At(`lc-rule-x-radial-line`,t.class));H(l,()=>t.Line,(t,n)=>{n(t,G(()=>c,{get x1(){return A(a).x1},get y1(){return A(a).y1},get x2(){return A(o).x2},get y2(){return A(o).y2},get stroke(){return A(i)},get class(){return A(e)}}))})}r(e,s)},l=e=>{var a=E(),o=q(a);{let e=J(()=>At(`lc-rule-y-radial-circle`,t.class));H(o,()=>t.Circle,(t,r)=>{r(t,{get r(){return A(n).y1},get stroke(){return A(i)},get class(){return A(e)}})})}r(e,a)};v(o,e=>{A(n).axis===`x`?e(s):A(n).axis===`y`&&e(l,1)}),r(e,a)},u=e=>{var a=E(),o=q(a);{let e=J(()=>At(A(n).axis===`x`?`lc-rule-x-line`:`lc-rule-y-line`,t.class));H(o,()=>t.Line,(t,r)=>{r(t,G(()=>c,{get x1(){return A(n).x1},get y1(){return A(n).y1},get x2(){return A(n).x2},get y2(){return A(n).y2},get stroke(){return A(i)},get class(){return A(e)}}))})}r(e,a)};v(o,e=>{l.ctx.radial?e(s):e(u,-1)}),r(e,a)}),r(e,i)},$$slots:{default:!0}})}),r(e,u),i()}var uo=new Set([`$$slots`,`$$events`,`$$legacy`]);function fo(e,t){let n=M(t,uo);lo(e,G({get Group(){return on},get Line(){return Gn},get Circle(){return Jn}},()=>n))}var po=new Set([`$$slots`,`$$events`,`$$legacy`]);function mo(e,t){let n=M(t,po);oo(e,G({get Group(){return on},get Line(){return Gn},get Text(){return vn},get Rule(){return fo}},()=>n))}var ho=new Set([`$$slots`,`$$events`,`$$legacy`]);function go(e,t){let n=M(t,ho);lo(e,G({get Group(){return an},get Line(){return Wn},get Circle(){return qn}},()=>n))}var _o=new Set([`$$slots`,`$$events`,`$$legacy`]);function vo(e,t){let n=M(t,_o);oo(e,G({get Group(){return an},get Line(){return Wn},get Text(){return _n},get Rule(){return go}},()=>n))}var yo=new Set([`$$slots`,`$$events`,`$$legacy`]);function bo(e,t){let n=M(t,yo);lo(e,G({get Group(){return sn},get Line(){return Kn},get Circle(){return Yn}},()=>n))}var xo=new Set([`$$slots`,`$$events`,`$$legacy`]);function So(e,t){let n=M(t,xo);oo(e,G({get Group(){return sn},get Line(){return Kn},get Text(){return yn},get Rule(){return bo}},()=>n))}var Co=new Set([`$$slots`,`$$events`,`$$legacy`]);function wo(e,t){Y(t,!0);let n=tn(),a=M(t,Co);var o=E(),s=q(o),c=e=>{mo(e,G(()=>a))},l=e=>{vo(e,G(()=>a))},u=e=>{So(e,G(()=>a))};v(s,e=>{n===`svg`?e(c):n===`canvas`?e(l,1):n===`html`&&e(u,2)}),r(e,o),i()}var To=class{#e=()=>({});ctx=Je();constructor(e){this.#e=e,this.ctx.registerComponent({name:`Grid`,kind:`composite-mark`})}#t=J(()=>this.#e().yTicks??(X(this.ctx.yScale)?void 0:4));get yTicks(){return A(this.#t)}set yTicks(e){R(this.#t,e)}#n=J(()=>ln(this.#e().motion));get tweenConfig(){return A(this.#n)}set tweenConfig(e){R(this.#n,e)}#r=J(()=>this.#e().transitionIn??this.tweenConfig?.options?Cn:()=>({}));get defaultTransitionIn(){return A(this.#r)}set defaultTransitionIn(e){R(this.#r,e)}defaultTransitionInParams={easing:cn};#i=J(()=>to(this.ctx.xScale,this.#e().xTicks));get xTickVals(){return A(this.#i)}set xTickVals(e){R(this.#i,e)}#a=J(()=>to(this.ctx.yScale,this.yTicks));get yTickVals(){return A(this.#a)}set yTickVals(e){R(this.#a,e)}#o=J(()=>{let e=this.#e().bandAlign??`center`;return X(this.ctx.xScale)?e===`between`?-(this.ctx.xScale.padding()*this.ctx.xScale.step())/2:this.ctx.xScale.step()/2-this.ctx.xScale.padding()*this.ctx.xScale.step()/2:0});get xBandOffset(){return A(this.#o)}set xBandOffset(e){R(this.#o,e)}#s=J(()=>{let e=this.#e().bandAlign??`center`;return X(this.ctx.yScale)?e===`between`?-(this.ctx.yScale.padding()*this.ctx.yScale.step())/2:this.ctx.yScale.step()/2-this.ctx.yScale.padding()*this.ctx.yScale.step()/2:0});get yBandOffset(){return A(this.#s)}set yBandOffset(e){R(this.#s,e)}},Eo=new Set([`$$slots`,`$$events`,`$$legacy`,`Group`,`Line`,`Circle`,`Rule`,`x`,`y`,`xTicks`,`yTicks`,`bandAlign`,`radialY`,`stroke`,`motion`,`transitionIn`,`transitionInParams`,`classes`,`class`,`ref`]),Do=c(`<!> <!>`,1);function Oo(e,t){Y(t,!0);let n=z(t,`x`,3,!1),o=z(t,`y`,3,!1),s=z(t,`bandAlign`,3,`center`),c=z(t,`radialY`,3,`circle`),l=z(t,`classes`,19,()=>({})),u=z(t,`ref`,15),d=M(t,Eo),f=new To(()=>({x:n(),y:o(),xTicks:t.xTicks,yTicks:t.yTicks,bandAlign:s(),radialY:c(),stroke:t.stroke,motion:t.motion,transitionIn:t.transitionIn,transitionInParams:t.transitionInParams,classes:l()})),p=j(void 0);_e(()=>{u(A(p))});let m=J(()=>t.transitionIn??f.defaultTransitionIn),h=J(()=>t.transitionInParams??f.defaultTransitionInParams);var g=E(),_=q(g);{let e=J(()=>At(`lc-grid`,l().root,t.class));H(_,()=>t.Group,(i,u)=>{u(i,G({get class(){return A(e)}},()=>d,{get ref(){return A(p)},set ref(e){R(p,e,!0)},children:(e,i)=>{var u=Do(),d=q(u),p=e=>{let i=J(()=>nn(n(),`lc-grid-x-line`));var a=E(),o=q(a);H(o,()=>t.Group,(e,n)=>{n(e,{get transitionIn(){return A(m)},get transitionInParams(){return A(h)},class:`lc-grid-x`,children:(e,n)=>{var a=Do(),o=q(a);B(o,16,()=>f.xTickVals,e=>e,(e,n)=>{var a=E(),o=q(a),s=e=>{let a=J(()=>{let[e,t]=Bn(f.ctx.xScale(n),f.ctx.yRange[0]);return{x1:e,y1:t}}),o=J(()=>{let[e,t]=Bn(f.ctx.xScale(n),f.ctx.yRange[1]);return{x2:e,y2:t}});var s=E(),c=q(s);{let e=J(()=>At(`lc-grid-x-radial-line`,l().line,A(i)?.class));H(c,()=>t.Line,(n,r)=>{r(n,G({get x1(){return A(a).x1},get y1(){return A(a).y1},get x2(){return A(o).x2},get y2(){return A(o).y2},get stroke(){return t.stroke},get motion(){return f.tweenConfig}},()=>A(i),{get class(){return A(e)}}))})}r(e,s)},c=e=>{var a=E(),o=q(a);{let e=J(()=>At(`lc-grid-x-rule`,l().line,A(i)?.class));H(o,()=>t.Rule,(r,a)=>{a(r,G({get x(){return n},get xOffset(){return f.xBandOffset},get stroke(){return t.stroke},get motion(){return t.motion}},()=>A(i),{get class(){return A(e)}}))})}r(e,a)};v(o,e=>{f.ctx.radial?e(s):e(c,-1)}),r(e,a)});var c=I(o,2),u=e=>{var n=E(),a=q(n);{let e=J(()=>f.ctx.xScale.step()+f.xBandOffset),n=J(()=>At(`lc-grid-x-end-rule`,l().line,A(i)?.class));H(a,()=>t.Rule,(r,a)=>{a(r,G({get x(){return f.xTickVals[f.xTickVals.length-1]},get xOffset(){return A(e)},get stroke(){return t.stroke},get motion(){return t.motion}},()=>A(i),{get class(){return A(n)}}))})}r(e,n)},d=J(()=>X(f.ctx.xScale)&&s()===`between`&&!f.ctx.radial&&f.xTickVals.length);v(c,e=>{A(d)&&e(u)}),r(e,a)},$$slots:{default:!0}})}),r(e,a)};v(d,e=>{n()&&e(p)});var g=I(d,2),_=e=>{let n=J(()=>nn(o(),`lc-grid-y-line`));var i=E(),u=q(i);H(u,()=>t.Group,(e,i)=>{i(e,{get transitionIn(){return A(m)},get transitionInParams(){return A(h)},class:`lc-grid-y`,children:(e,i)=>{var o=Do(),u=q(o);B(u,16,()=>f.yTickVals,e=>e,(e,i)=>{var o=E(),s=q(o),u=e=>{var o=E(),s=q(o),u=e=>{var a=E(),o=q(a);{let e=J(()=>f.ctx.yScale(i)+f.yBandOffset),r=J(()=>At(`lc-grid-y-radial-circle`,l().line,A(n)?.class));H(o,()=>t.Circle,(i,a)=>{a(i,G({get r(){return A(e)},get stroke(){return t.stroke},get motion(){return t.motion}},()=>A(n),{get class(){return A(r)}}))})}r(e,a)},d=e=>{var o=E(),s=q(o);a(s,()=>Te(()=>import(`../chunks/DOqi3Wfa.js`),__vite__mapDeps([57,1,2,8,3,4,7,58,6,16,29,21,30,10,11,14,9,12,13,15,38,24]),import.meta.url),null,(e,a)=>{var o=J(()=>{var{default:e}=A(a);return{Spline:e}}),s=J(()=>A(o).Spline),c=E(),u=q(c);{let e=J(()=>f.xTickVals.map(e=>({x:e,y:i}))),r=J(()=>At(`lc-grid-y-radial-line`,l().line,A(n)?.class));H(u,()=>A(s),(i,a)=>{a(i,G({get data(){return A(e)},x:`x`,y:`y`,get stroke(){return t.stroke},get motion(){return f.tweenConfig},get curve(){return ut}},()=>A(n),{get class(){return A(r)}}))})}r(e,c)}),r(e,o)};v(s,e=>{c()===`circle`?e(u):e(d,-1)}),r(e,o)},d=e=>{var a=E(),o=q(a);{let e=J(()=>f.ctx.yScale(i)+f.yBandOffset),r=J(()=>f.ctx.yScale(i)+f.yBandOffset),a=J(()=>At(`lc-grid-y-rule`,l().line,A(n)?.class));H(o,()=>t.Line,(i,o)=>{o(i,G({get x1(){return f.ctx.xRange[0]},get y1(){return A(e)},get x2(){return f.ctx.xRange[1]},get y2(){return A(r)},get stroke(){return t.stroke},get motion(){return t.motion}},()=>A(n),{get class(){return A(a)}}))})}r(e,a)};v(s,e=>{f.ctx.radial?e(u):e(d,-1)}),r(e,o)});var d=I(u,2),p=e=>{var i=E(),a=q(i),o=e=>{var i=E(),a=q(i);{let e=J(()=>f.ctx.yScale(f.yTickVals[f.yTickVals.length-1])+f.ctx.yScale.step()+f.yBandOffset),r=J(()=>At(`lc-grid-y-radial-circle`,l().line,A(n)?.class));H(a,()=>t.Circle,(i,a)=>{a(i,G({get r(){return A(e)},get stroke(){return t.stroke},get motion(){return t.motion}},()=>A(n),{get class(){return A(r)}}))})}r(e,i)},s=e=>{let i=J(()=>f.ctx.yScale(f.yTickVals[f.yTickVals.length-1])+f.ctx.yScale.step()+f.yBandOffset);var a=E(),o=q(a);{let e=J(()=>At(`lc-grid-y-end-rule`,l().line,A(n)?.class));H(o,()=>t.Line,(r,a)=>{a(r,G({get x1(){return f.ctx.xRange[0]},get y1(){return A(i)},get x2(){return f.ctx.xRange[1]},get y2(){return A(i)},get stroke(){return t.stroke},get motion(){return t.motion}},()=>A(n),{get class(){return A(e)}}))})}r(e,a)};v(a,e=>{f.ctx.radial?e(o):e(s,-1)}),r(e,i)},m=J(()=>X(f.ctx.yScale)&&s()===`between`&&f.yTickVals.length);v(d,e=>{A(m)&&e(p)}),r(e,o)},$$slots:{default:!0}})}),r(e,i)};v(g,e=>{o()&&e(_)}),r(e,u)},$$slots:{default:!0}}))})}r(e,g),i()}var ko=new Set([`$$slots`,`$$events`,`$$legacy`]);function Ao(e,t){let n=M(t,ko);Oo(e,G({get Group(){return on},get Line(){return Gn},get Circle(){return Jn},get Rule(){return fo}},()=>n))}var jo=new Set([`$$slots`,`$$events`,`$$legacy`]);function Mo(e,t){let n=M(t,jo);Oo(e,G({get Group(){return an},get Line(){return Wn},get Circle(){return qn},get Rule(){return go}},()=>n))}var No=new Set([`$$slots`,`$$events`,`$$legacy`]);function Po(e,t){let n=M(t,No);Oo(e,G({get Group(){return sn},get Line(){return Kn},get Circle(){return Yn},get Rule(){return bo}},()=>n))}var Fo=new Set([`$$slots`,`$$events`,`$$legacy`]);function Io(e,t){Y(t,!0);let n=tn(),a=M(t,Fo);var o=E(),s=q(o),c=e=>{Ao(e,G(()=>a))},l=e=>{Mo(e,G(()=>a))},u=e=>{Po(e,G(()=>a))};v(s,e=>{n===`svg`?e(c):n===`canvas`?e(l,1):n===`html`&&e(u,2)}),r(e,o),i()}var Lo=new Set([`$$slots`,`$$events`,`$$legacy`]);function Ro(e,t){Y(t,!0);let n=tn(),a=M(t,Lo);var o=E(),s=q(o),c=e=>{fo(e,G(()=>a))},l=e=>{go(e,G(()=>a))},u=e=>{bo(e,G(()=>a))};v(s,e=>{n===`svg`?e(c):n===`canvas`?e(l,1):n===`html`&&e(u,2)}),r(e,o),i()}var zo=class{#e=()=>({});ctx=Je();constructor(e){this.#e=e}#t=J(()=>jt(this.#e().x??this.ctx.x));get x(){return A(this.#t)}set x(e){R(this.#t,e)}#n=J(()=>jt(this.#e().y??this.ctx.y));get y(){return A(this.#n)}set y(e){R(this.#n,e)}#r=J(()=>this.#e().data??this.ctx.tooltip.data);get highlightData(){return A(this.#r)}set highlightData(e){R(this.#r,e)}#i=J(()=>this.x(this.highlightData));get xValue(){return A(this.#i)}set xValue(e){R(this.#i,e)}#a=J(()=>Array.isArray(this.xValue)?this.xValue.map(e=>this.ctx.xScale(e)):this.ctx.xScale(this.xValue));get xCoord(){return A(this.#a)}set xCoord(e){R(this.#a,e)}#o=J(()=>X(this.ctx.xScale)&&!this.ctx.radial?this.ctx.xScale.bandwidth()/2:0);get xOffset(){return A(this.#o)}set xOffset(e){R(this.#o,e)}#s=J(()=>Array.isArray(this.xCoord)?(this.xCoord[0]+this.xCoord[this.xCoord.length-1])/2:this.xCoord);get xCoordScalar(){return A(this.#s)}set xCoordScalar(e){R(this.#s,e)}#c=J(()=>this.y(this.highlightData));get yValue(){return A(this.#c)}set yValue(e){R(this.#c,e)}#l=J(()=>Array.isArray(this.yValue)?this.yValue.map(e=>this.ctx.yScale(e)):this.ctx.yScale(this.yValue));get yCoord(){return A(this.#l)}set yCoord(e){R(this.#l,e)}#u=J(()=>X(this.ctx.yScale)&&!this.ctx.radial?this.ctx.yScale.bandwidth()/2:0);get yOffset(){return A(this.#u)}set yOffset(e){R(this.#u,e)}#d=J(()=>Array.isArray(this.yCoord)?(this.yCoord[0]+this.yCoord[this.yCoord.length-1])/2:this.yCoord);get yCoordScalar(){return A(this.#d)}set yCoordScalar(e){R(this.#d,e)}#f=J(()=>this.#e().axis??(X(this.ctx.yScale)||Rt(this.ctx.yScale)||this.ctx.valueAxis===`x`?`y`:`x`));get axis(){return A(this.#f)}set axis(e){R(this.#f,e)}getPointRadius(e){let t=this.#e().r;if(!t||!e)return;if(t===!0)return this.ctx.config.r?this.ctx.rGet(e):void 0;let n=jt(t)(e);return n==null?void 0:this.ctx.rScale(n)}#p=J(()=>{let e=[];if(!this.highlightData)return e;let t=this.axis;return(t===`x`||t===`both`)&&(Array.isArray(this.xCoord)?e=[...e,...this.xCoord.filter(Wt).map(e=>({x1:e+this.xOffset,y1:Tt(this.ctx.yRange),x2:e+this.xOffset,y2:wt(this.ctx.yRange)}))]:this.xCoord!=null&&(e=[...e,{x1:this.xCoord+this.xOffset,y1:Tt(this.ctx.yRange),x2:this.xCoord+this.xOffset,y2:wt(this.ctx.yRange)}])),(t===`y`||t===`both`)&&(Array.isArray(this.yCoord)?e=[...e,...this.yCoord.filter(Wt).map(e=>({x1:Tt(this.ctx.xRange),y1:e+this.yOffset,x2:wt(this.ctx.xRange),y2:e+this.yOffset}))]:this.yCoord!=null&&(e=[...e,{x1:Tt(this.ctx.xRange),y1:this.yCoord+this.yOffset,x2:wt(this.ctx.xRange),y2:this.yCoord+this.yOffset}])),this.ctx.radial&&(e=e.map(e=>{let[t,n]=Bn(e.x1,e.y1),[r,i]=Bn(e.x2,e.y2);return{...e,x1:t,y1:n,x2:r,y2:i}})),e});get lines(){return A(this.#p)}set lines(e){R(this.#p,e)}#m=J(()=>{let e={x:0,y:0,width:0,height:0};if(!this.highlightData)return e;let t=this.axis;if(t===`x`||t===`both`){if(Array.isArray(this.xCoord))e.x=Tt(this.xCoord),e.width=wt(this.xCoord)-Tt(this.xCoord);else if(X(this.ctx.xScale))e.x=this.xCoord-this.ctx.xScale.padding()*this.ctx.xScale.step()/2,e.width=this.ctx.xScale.step();else if(this.ctx.xInterval){let t=this.ctx.xInterval.floor(this.xValue),n=this.ctx.xInterval.offset(t),r=this.ctx.xScale(t),i=this.ctx.xScale(n);e.x=Math.min(r,i),e.width=Math.abs(i-r)}else{let t=this.ctx.flatData.findIndex(e=>Number(this.x(e))===Number(this.x(this.highlightData))),n=t+1===this.ctx.flatData.length?wt(this.ctx.xDomain):this.x(this.ctx.flatData[t+1]);e.x=this.xCoord,e.width=(this.ctx.xScale(n)??0)-(this.xCoord??0)}t===`x`&&(e.y=Tt(this.ctx.yRange),e.height=wt(this.ctx.yRange)-Tt(this.ctx.yRange))}if(t===`y`||t===`both`){if(Array.isArray(this.yCoord))e.y=Tt(this.yCoord),e.height=wt(this.yCoord)-Tt(this.yCoord);else if(X(this.ctx.yScale))e.y=this.yCoord-this.ctx.yScale.padding()*this.ctx.yScale.step()/2,e.height=this.ctx.yScale.step();else if(this.ctx.yInterval){let t=this.ctx.yInterval.floor(this.yValue),n=this.ctx.yInterval.offset(t),r=this.ctx.yScale(t),i=this.ctx.yScale(n);e.y=Math.min(r,i),e.height=Math.abs(i-r)}else{let t=this.ctx.flatData.findIndex(e=>Number(this.y(e))===Number(this.y(this.highlightData))),n=t+1===this.ctx.flatData.length?wt(this.ctx.yDomain):this.y(this.ctx.flatData[t+1]);e.y=this.yCoord,e.height=(this.ctx.yScale(n)??0)-(this.yCoord??0)}t===`y`&&(e.width=wt(this.ctx.xRange))}return e});get area(){return A(this.#m)}set area(e){R(this.#m,e)}#h=J(()=>{let e=[];if(!this.highlightData)return e;let t=this.#e();if(t.data===void 0&&this.ctx.tooltip.series.length>0)e=this.ctx.tooltip.series.flatMap(e=>{if(!e.visible)return[];let t,n,r,i;if(this.ctx.series.isStacked){let a=this.ctx.flatData.find(e=>this.x(e)===this.xValue),o=a?this.ctx.series.getStackValue(e.key,a):null,s=o?this.ctx.series.stackLayout===`stackDiverging`&&o[1]<=0?o[0]:o[1]:0;this.ctx.valueAxis===`x`?(t=this.ctx.xScale(s)+this.xOffset,n=this.yCoordScalar+this.yOffset,r=s,i=this.yValue):(t=this.xCoordScalar+this.xOffset,n=this.ctx.yScale(s)+this.yOffset,r=this.xValue,i=s)}else{let a=e.value;if(a==null)return[];if(Array.isArray(a))return this.ctx.valueAxis===`x`?a.map(t=>({x:this.ctx.xScale(t)+this.xOffset,y:this.yCoordScalar+this.yOffset,fill:e.color??``,data:{x:t,y:this.yValue},seriesKey:e.key})):a.map(t=>({x:this.xCoordScalar+this.xOffset,y:this.ctx.yScale(t)+this.yOffset,fill:e.color??``,data:{x:this.xValue,y:t},seriesKey:e.key}));this.ctx.valueAxis===`x`?(t=this.ctx.xScale(a)+this.xOffset,n=this.yCoordScalar+this.yOffset,r=a,i=this.yValue):(t=this.xCoordScalar+this.xOffset,n=this.ctx.yScale(a)+this.yOffset,r=this.xValue,i=a)}return{x:t,y:n,fill:e.color??``,data:{x:r,y:i},seriesKey:e.key}}).filter(Wt);else if(Array.isArray(this.xCoord)){if(Array.isArray(this.highlightData)){let t=this.highlightData;Array.isArray(this.ctx.data)&&(e=this.ctx.data.map(e=>({series:e,point:e.find(e=>this.y(e)===this.y(t))})).filter(e=>e.point).map(e=>{let t=this.ctx.config.c?this.ctx.cGet(e.series):null;return{x:this.ctx.xScale(e.point[1])+this.xOffset,y:this.yCoordScalar+this.yOffset,fill:t,data:{x:e.point[1],y:this.yValue},seriesKey:void 0}}).filter(Wt))}else e=this.xCoord.map((e,t)=>{if(e==null)return null;let n=this.ctx.config.x?.[t],r=this.ctx.config.c?this.ctx.cGet({...this.highlightData,$key:n}):null;return{x:e+this.xOffset,y:this.yCoordScalar+this.yOffset,fill:r,data:{x:this.xValue,y:this.yValue},seriesKey:n}}).filter(Wt)}else if(Array.isArray(this.yCoord)){if(Array.isArray(this.highlightData)){let t=this.highlightData;Array.isArray(this.ctx.data)&&(e=this.ctx.data.map(e=>({series:e,point:e.find(e=>this.x(e)===this.x(t))})).filter(e=>e.point).map(e=>{let t=this.ctx.config.c?this.ctx.cGet(e.series):null;return{x:this.xCoord+this.xOffset,y:this.ctx.yScale(e.point[1])+this.yOffset,fill:t,data:{x:this.xValue,y:e.point[1]},seriesKey:void 0}}).filter(Wt))}else e=this.yCoord.map((e,t)=>{if(e==null)return null;let n=this.ctx.config.y[t],r=this.ctx.config.c?this.ctx.cGet({...this.highlightData,$key:n}):null;return{x:this.xCoord+this.xOffset,y:e+this.yOffset,fill:r,data:{x:this.xValue,y:this.yValue},seriesKey:n}}).filter(Wt)}else if(this.xCoord!=null&&this.yCoord!=null){let t=this.ctx.config.c?this.ctx.cGet(this.highlightData):null;e=[{x:this.xCoord+this.xOffset,y:this.yCoord+this.yOffset,fill:t,data:{x:this.xValue,y:this.yValue},seriesKey:void 0}]}else e=[];if(this.ctx.radial&&(e=e.map(e=>{let[t,n]=Bn(e.x,e.y);return{...e,x:t,y:n}})),t.r){let t=this.getPointRadius(this.highlightData);t!=null&&(e=e.map(e=>({...e,r:t})))}return e});get points(){return A(this.#h)}set points(e){R(this.#h,e)}},Bo=new Set([`$$slots`,`$$events`,`$$legacy`,`Circle`,`Line`,`Rect`,`Arc`,`points`,`lines`,`area`,`bar`,`opacity`,`motion`,`onAreaClick`,`onBarClick`,`onPointClick`,`onPointEnter`,`onPointLeave`]),Vo=c(`<!> <!> <!> <!>`,1);function Ho(e,n){Y(n,!0);let o=z(n,`points`,3,!1),s=z(n,`lines`,3,!1),c=z(n,`area`,3,!1),l=z(n,`bar`,3,!1),u=z(n,`motion`,3,`spring`),d=M(n,Bo),f=new zo(()=>({...d,points:o(),lines:s(),area:c(),bar:l(),opacity:n.opacity,motion:u()}));var p=E(),h=q(p),g=e=>{var i=Vo(),d=q(i),p=e=>{var i=E(),a=q(i),o=e=>{var n=E(),i=q(n);t(i,c,()=>({area:f.area})),r(e,n)},s=e=>{var t=E(),i=q(t);{let e=J(()=>u()===`spring`?`spring`:void 0),t=J(()=>f.area.x+f.area.width),r=J(()=>f.area.y+f.area.height),a=J(()=>n.onAreaClick&&(e=>n.onAreaClick(e,{data:f.highlightData})));H(i,()=>n.Arc,(i,o)=>{o(i,{get motion(){return A(e)},get startAngle(){return f.area.x},get endAngle(){return A(t)},get innerRadius(){return f.area.y},get outerRadius(){return A(r)},get opacity(){return n.opacity},class:`lc-highlight-area`,get onclick(){return A(a)}})})}r(e,t)},l=e=>{var t=E(),i=q(t);{let e=J(()=>u()===`spring`?`spring`:void 0),t=J(()=>nn(c(),`lc-highlight-area`)),r=J(()=>n.onAreaClick&&(e=>n.onAreaClick(e,{data:f.highlightData})));H(i,()=>n.Rect,(i,a)=>{a(i,G({get motion(){return A(e)},get opacity(){return n.opacity}},()=>f.area,()=>A(t),{get onclick(){return A(r)}}))})}r(e,t)};v(a,e=>{typeof c()==`function`?e(o):f.ctx.radial?e(s,1):e(l,-1)}),r(e,i)};v(d,e=>{c()&&e(p)});var h=I(d,2),g=e=>{var i=E(),o=q(i),s=e=>{var n=E(),i=q(n);t(i,l),r(e,n)},c=e=>{var t=E(),i=q(t);a(i,()=>Te(()=>import(`../chunks/DugTr35P.js`),__vite__mapDeps([59,1,2,8,3,4,7,60,22,20,21,16,11,10,23,24,14,9,12,13,15,40,32,29,30,39,41]),import.meta.url),null,(e,t)=>{var i=J(()=>{var{default:e}=A(t);return{Bar:e}}),a=J(()=>A(i).Bar),o=E(),s=q(o);{let e=J(()=>u()===`spring`?`spring`:void 0),t=J(()=>nn(l(),`lc-highlight-bar`)),r=J(()=>n.onBarClick&&(e=>n.onBarClick(e,{data:f.highlightData})));H(s,()=>A(a),(i,a)=>{a(i,G({get motion(){return A(e)},get data(){return f.highlightData},get opacity(){return n.opacity}},()=>A(t),{get onclick(){return A(r)}}))})}r(e,o)}),r(e,t)};v(o,e=>{typeof l()==`function`?e(s):e(c,-1)}),r(e,i)};v(h,e=>{l()&&e(g)});var _=I(h,2),y=e=>{var i=E(),a=q(i),o=e=>{var n=E(),i=q(n);t(i,s,()=>({lines:f.lines})),r(e,n)},c=e=>{var t=E(),i=q(t);B(i,17,()=>f.lines,m,(e,t)=>{var i=E(),a=q(i);{let e=J(()=>u()===`spring`?`spring`:void 0),r=J(()=>nn(s(),`lc-highlight-line`));H(a,()=>n.Line,(i,a)=>{a(i,G({get motion(){return A(e)},get x1(){return A(t).x1},get y1(){return A(t).y1},get x2(){return A(t).x2},get y2(){return A(t).y2},dashArray:[2,2],get opacity(){return n.opacity}},()=>A(r)))})}r(e,i)}),r(e,t)};v(a,e=>{typeof s()==`function`?e(o):e(c,-1)}),r(e,i)};v(_,e=>{s()&&e(y)});var b=I(_,2),x=e=>{var i=E(),a=q(i),s=e=>{var n=E(),i=q(n);t(i,o,()=>({points:f.points})),r(e,n)},c=e=>{var t=E(),i=q(t);B(i,17,()=>f.points,m,(e,t)=>{let i=J(()=>n.opacity??(A(t).seriesKey?f.ctx.series.isHighlighted(A(t).seriesKey,!0)?1:.1:void 0));var a=E(),s=q(a);{let e=J(()=>u()===`spring`?`spring`:void 0),r=J(()=>A(t).r??4),a=J(()=>A(t).r?2:6),c=J(()=>nn(o(),`lc-highlight-point`)),l=J(()=>n.onPointClick&&(e=>{e.stopPropagation()})),d=J(()=>n.onPointClick&&(e=>n.onPointClick(e,{point:A(t),data:f.highlightData})));H(s,()=>n.Circle,(o,s)=>{s(o,G({get motion(){return A(e)},get cx(){return A(t).x},get cy(){return A(t).y},get fill(){return A(t).fill},get r(){return A(r)},get strokeWidth(){return A(a)},get opacity(){return A(i)}},()=>A(c),{get onpointerdown(){return A(l)},get onclick(){return A(d)},onpointerenter:e=>{n.onPointClick&&(Jt(e.target).style.cursor=`pointer`),A(t).seriesKey&&(f.ctx.series.highlightKey=A(t).seriesKey),n.onPointEnter?.(e,{point:A(t),data:f.highlightData})},onpointerleave:e=>{n.onPointClick&&(Jt(e.target).style.cursor=`default`),A(t).seriesKey&&(f.ctx.series.highlightKey=null),n.onPointLeave?.(e,{point:A(t),data:f.highlightData})}}))})}r(e,a)}),r(e,t)};v(a,e=>{typeof o()==`function`?e(s):e(c,-1)}),r(e,i)};v(b,e=>{o()&&e(x)}),r(e,i)};v(h,e=>{f.highlightData&&e(g)}),r(e,p),i()}var Uo=new Set([`$$slots`,`$$events`,`$$legacy`]);function Wo(e,t){let n=M(t,Uo);Ho(e,G({get Circle(){return Jn},get Line(){return Gn},get Rect(){return Hn},get Arc(){return En}},()=>n))}var Go=new Set([`$$slots`,`$$events`,`$$legacy`]);function Ko(e,t){let n=M(t,Go);Ho(e,G({get Circle(){return qn},get Line(){return Wn},get Rect(){return Vn},get Arc(){return On}},()=>n))}var qo=new Set([`$$slots`,`$$events`,`$$legacy`]);function Jo(e,t){let n=M(t,qo);Ho(e,G({get Circle(){return Yn},get Line(){return Kn},get Rect(){return Un},get Arc(){return En}},()=>n))}var Yo=new Set([`$$slots`,`$$events`,`$$legacy`]);function Xo(e,t){Y(t,!0);let n=tn(),a=M(t,Yo);var o=E(),s=q(o),c=e=>{Wo(e,G(()=>a))},l=e=>{Ko(e,G(()=>a))},u=e=>{Jo(e,G(()=>a))};v(s,e=>{n===`svg`?e(c):n===`canvas`?e(l,1):n===`html`&&e(u,2)}),r(e,o),i()}var Zo=new Set([`$$slots`,`$$events`,`$$legacy`]);function Qo(e,t){let n=M(t,Zo);Na(e,G({get Layer(){return $a},get Axis(){return wo},get Grid(){return Io},get Rule(){return Ro},get Highlight(){return Xo},get ChartClipPath(){return ei}},()=>n))}var $o=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`context`]);function es(e,t){Y(t,!0);let n=z(t,`ref`,15),r=z(t,`context`,15),a=M(t,$o);Oa(e,G({get ChartChildren(){return Qo}},()=>a,{get ref(){return n()},set ref(e){n(e)},get context(){return r()},set context(e){r(e)}})),i()}var ts=class{#e=()=>({});constructor(e){this.#e=e}#t=J(()=>{let{startAngle:e,endAngle:t}=this.#e();return e!=null&&t!=null?(e+t)/2:0});get midAngle(){return A(this.#t)}set midAngle(e){R(this.#t,e)}#n=J(()=>{let{centroid:e,offset:t=0,startAngle:n,endAngle:r}=this.#e();if(!e||!t||n==null||r==null)return e;let i=this.midAngle-Math.PI/2;return[e[0]+Math.cos(i)*t,e[1]+Math.sin(i)*t]});get offsetCentroid(){return A(this.#n)}set offsetCentroid(e){R(this.#n,e)}#r=J(()=>{let e=this.#e(),t=e.outerPadding??0;return e.placement===`outer`||e.placement===`middle`?t+(e.offset??0):t});get effectiveOuterPadding(){return A(this.#r)}set effectiveOuterPadding(e){R(this.#r,e)}#i=J(()=>{let e=this.#e();return e.placement===`inner`||e.placement===`middle`?e.offset??0:0});get effectiveInnerPadding(){return A(this.#i)}set effectiveInnerPadding(e){R(this.#i,e)}#a=J(()=>(this.#e().calloutLineLength??16)+(this.#e().offset??0));get effectiveCalloutLineLength(){return A(this.#a)}set effectiveCalloutLineLength(e){R(this.#a,e)}#o=J(()=>{let{startAngle:e,endAngle:t,placement:n}=this.#e();if(e==null||t==null)return 0;let r=mn(this.midAngle);if(n===`centroid-radial`)r-=90;else if(n!==`centroid-rotated`)return 0;return r=(r+180)%360-180,r>90?r-=180:r<-90&&(r+=180),r});get centroidRotation(){return A(this.#o)}set centroidRotation(e){R(this.#o,e)}#s=J(()=>{let{placement:e,startAngle:t,endAngle:n,outerRadius:r,calloutLabelOffset:i=12,calloutPadding:a=4}=this.#e();if(e!==`callout`||t==null||n==null||r==null)return null;let o=this.midAngle-Math.PI/2,s=Math.cos(o),c=Math.sin(o),l=s*r,u=c*r,d=r+this.effectiveCalloutLineLength,f=s*d,p=c*d,m=s>=0,h=f+(m?i:-i),g=p;return{pathData:`M${l},${u}L${f},${p}L${h},${g}`,labelX:h+(m?a:-a),labelY:g,textAnchor:m?`start`:`end`}});get calloutGeometry(){return A(this.#s)}set calloutGeometry(e){R(this.#s,e)}#c=J(()=>{let{placement:e=`centroid`,startOffset:t,outerPadding:n,getArcTextProps:r}=this.#e();if(e===`centroid`)return this.offsetCentroid?{x:this.offsetCentroid[0],y:this.offsetCentroid[1],textAnchor:`middle`,verticalAnchor:`middle`}:r?.(`centroid`,{startOffset:t,outerPadding:n})??{};if(e===`centroid-rotated`||e===`centroid-radial`)return this.offsetCentroid?{x:this.offsetCentroid[0],y:this.offsetCentroid[1],textAnchor:`middle`,verticalAnchor:`middle`,rotate:this.centroidRotation}:r?.(`centroid`,{startOffset:t,outerPadding:n})??{};if(e===`callout`){let e=this.calloutGeometry;return e?{x:e.labelX,y:e.labelY,textAnchor:e.textAnchor,verticalAnchor:`middle`}:{}}return r?.(e,{startOffset:t,outerPadding:this.effectiveOuterPadding,innerPadding:this.effectiveInnerPadding})??{}});get arcTextProps(){return A(this.#c)}set arcTextProps(e){R(this.#c,e)}},ns=new Set([`$$slots`,`$$events`,`$$legacy`,`Path`,`Text`,`getArcTextProps`,`centroid`,`startAngle`,`endAngle`,`innerRadius`,`outerRadius`,`placement`,`startOffset`,`outerPadding`,`calloutLineLength`,`calloutLabelOffset`,`calloutPadding`,`line`,`offset`]),rs=c(`<!> <!>`,1);function is(e,t){Y(t,!0);let n=z(t,`placement`,3,`centroid`),a=z(t,`calloutLineLength`,3,16),o=z(t,`calloutLabelOffset`,3,12),s=z(t,`calloutPadding`,3,4),c=z(t,`offset`,3,0),l=M(t,ns),u=new ts(()=>({getArcTextProps:t.getArcTextProps,centroid:t.centroid,startAngle:t.startAngle,endAngle:t.endAngle,innerRadius:t.innerRadius,outerRadius:t.outerRadius,placement:n(),startOffset:t.startOffset,outerPadding:t.outerPadding,calloutLineLength:a(),calloutLabelOffset:o(),calloutPadding:s(),line:t.line,offset:c()}));var d=rs(),f=q(d),p=e=>{var n=E(),i=q(n);H(i,()=>t.Path,(e,n)=>{n(e,G({get pathData(){return u.calloutGeometry.pathData}},()=>t.line))}),r(e,n)};v(f,e=>{n()===`callout`&&u.calloutGeometry&&e(p)});var m=I(f,2);H(m,()=>t.Text,(e,t)=>{t(e,G(()=>u.arcTextProps,()=>l))}),r(e,d),i()}var as=new Set([`$$slots`,`$$events`,`$$legacy`]);function os(e,t){let n=M(t,as);is(e,G({get Path(){return kn},get Text(){return vn}},()=>n))}var ss=new Set([`$$slots`,`$$events`,`$$legacy`,`Chart`,`Area`,`data`,`y`,`xDomain`,`radial`,`series`,`seriesLayout`,`axis`,`brush`,`grid`,`legend`,`tooltipContext`,`highlight`,`rule`,`onPointClick`,`props`,`profile`,`marks`,`tooltip`,`context`]);function cs(e,t){Y(t,!0);let n=z(t,`data`,19,()=>[]),a=z(t,`radial`,3,!1),o=z(t,`seriesLayout`,3,`overlap`),s=z(t,`axis`,3,!0),c=z(t,`brush`,3,!1),l=z(t,`grid`,3,!0),u=z(t,`legend`,3,!1),d=z(t,`tooltipContext`,3,!0),f=z(t,`highlight`,19,()=>({lines:!0,points:!0})),p=z(t,`rule`,3,!0),m=z(t,`props`,19,()=>({})),h=z(t,`profile`,3,!1),g=z(t,`context`,15),_=M(t,ss),y=J(()=>t.series===void 0?[{key:`default`,label:typeof t.y==`string`?t.y:`value`,value:t.y,color:`var(--color-primary, currentColor)`}]:t.series);h()&&(console.time(`AreaChart render`),ue(()=>{console.timeEnd(`AreaChart render`)}));var b=E(),x=q(b);{let e=(e,n)=>{let i=()=>(n?.()).context;var a=E(),o=q(a),s=e=>{t.marks(e,()=>({context:i()}))},c=e=>{var n=E(),a=q(n);B(a,17,()=>i().series.visibleSeries,e=>e.key,(e,n)=>{var i=E(),a=q(i);{let e=J(()=>({...m().line,...Et(m().area?.line),...Et(A(n).props?.line)}));H(a,()=>t.Area,(t,r)=>{r(t,G({get seriesKey(){return A(n).key},fillOpacity:.3,get line(){return A(e)}},()=>m().area,()=>A(n).props))})}r(e,i)}),r(e,n)};v(o,e=>{typeof t.marks==`function`?e(s):e(c,-1)}),r(e,a)},i=J(()=>d()!==!1&&{mode:`quadtree-x`,...m().tooltip?.context,...typeof d()==`object`?d():null}),h=J(()=>c()?{axis:`x`,zoomOnBrush:!0,...typeof c()==`object`?c():null,...m().brush}:!1),b=J(()=>({...m(),highlight:{...m().highlight,onPointClick:t.onPointClick}}));H(x,()=>t.Chart,(r,c)=>{c(r,G({get data(){return n()},get xDomain(){return t.xDomain},get y(){return t.y},yBaseline:0,yNice:!0,get radial(){return a()}},()=>_,{get tooltipContext(){return A(i)},get brush(){return A(h)},get series(){return A(y)},get seriesLayout(){return o()},get axis(){return s()},get grid(){return l()},get rule(){return p()},get legend(){return u()},get highlight(){return f()},get tooltip(){return t.tooltip},get props(){return A(b)},get context(){return g()},set context(e){g(e)},marks:e,$$slots:{marks:!0}}))})}r(e,b),i()}var ls=class{#e=()=>({});ctx=Je();#t;constructor(e){this.#e=e;let t=e();this.ctx.registerComponent({name:`Area`,kind:`composite-mark`,markInfo:()=>{let t=e();return{data:t.data,x:t.x,y:t.y1??t.y0,seriesKey:t.seriesKey,color:t.fill}}});let n=ln(t.motion),r=n?{type:n.type,options:{interpolate:An,...n.options}}:void 0;this.#t=dn(this.#f(r),()=>this.d,r)}#n=J(()=>this.ctx.series.series.find(e=>e.key===this.#e().seriesKey));get series(){return A(this.#n)}set series(e){R(this.#n,e)}#r=J(()=>this.series?.data);get seriesData(){return A(this.#r)}set seriesData(e){R(this.#r,e)}#i=J(()=>this.series?.value??(this.series?.data?void 0:this.series?.key));get seriesAccessor(){return A(this.#i)}set seriesAccessor(e){R(this.#i,e)}#a=J(()=>{let e=this.#e().seriesKey;return e&&this.ctx.series.isStacked?this.ctx.series.getStackAccessors(e):null});get stackAccessors(){return A(this.#a)}set stackAccessors(e){R(this.#a,e)}#o=J(()=>{let e=this.#e().x;return e?jt(e):this.ctx.x});get xAccessor(){return A(this.#o)}set xAccessor(e){R(this.#o,e)}#s=J(()=>{let e=this.#e();return e.y0?jt(e.y0):this.stackAccessors?this.stackAccessors.y0:Array.isArray(this.seriesAccessor)?jt(this.seriesAccessor[0]):Array.isArray(this.ctx.config.y)&&this.ctx.config.y[0]===0?e=>this.ctx.y(e)[0]:this.ctx.props.yBaseline==null?()=>Tt(this.ctx.yScale.domain()):()=>this.ctx.props.yBaseline});get y0Accessor(){return A(this.#s)}set y0Accessor(e){R(this.#s,e)}#c=J(()=>{let e=this.#e();return e.y1?jt(e.y1):this.stackAccessors?this.stackAccessors.y1:Array.isArray(this.seriesAccessor)?jt(this.seriesAccessor[1]):this.seriesAccessor?jt(this.seriesAccessor):Array.isArray(this.ctx.config.y)&&this.ctx.config.y[1]===1?e=>this.ctx.y(e)[1]:this.ctx.y});get y1Accessor(){return A(this.#c)}set y1Accessor(e){R(this.#c,e)}#l=J(()=>this.#e().data??this.seriesData??this.ctx.data);get resolvedData(){return A(this.#l)}set resolvedData(e){R(this.#l,e)}#u=J(()=>X(this.ctx.xScale)?this.ctx.xScale.bandwidth()/2:0);get xOffset(){return A(this.#u)}set xOffset(e){R(this.#u,e)}#d=J(()=>X(this.ctx.yScale)?this.ctx.yScale.bandwidth()/2:0);get yOffset(){return A(this.#d)}set yOffset(e){R(this.#d,e)}#f(e){let t=this.#e();if(!e)return``;if(t.pathData)return Zt(t.pathData,Math.min(this.ctx.yScale(0),this.ctx.yRange[0]));if(this.ctx.config.x){let e=this.ctx.radial?la().angle(e=>this.ctx.xScale(this.xAccessor(e))).innerRadius(()=>Math.min(this.ctx.yScale(0),this.ctx.yRange[0])).outerRadius(()=>Math.min(this.ctx.yScale(0),this.ctx.yRange[0])):aa().x(e=>this.ctx.xScale(this.xAccessor(e))+this.xOffset).y0(()=>Math.min(this.ctx.yScale(0),this.ctx.yRange[0])).y1(()=>Math.min(this.ctx.yScale(0),this.ctx.yRange[0]));return e.defined(t.defined??(e=>this.xAccessor(e)!=null&&this.y1Accessor(e)!=null)),t.curve&&e.curve(t.curve),e(this.resolvedData)??``}return``}#p=J(()=>{let e=this.#e(),t=this.ctx.radial?la().angle(e=>this.ctx.xScale(this.xAccessor(e))).innerRadius(e=>this.ctx.yScale(this.y0Accessor(e))).outerRadius(e=>this.ctx.yScale(this.y1Accessor(e))):aa().x(e=>this.ctx.xScale(this.xAccessor(e))+this.xOffset).y0(e=>this.ctx.yScale(this.y0Accessor(e))+this.yOffset).y1(e=>this.ctx.yScale(this.y1Accessor(e))+this.yOffset);return t.defined(e.defined??(e=>this.xAccessor(e)!=null&&this.y1Accessor(e)!=null)),e.curve&&t.curve(e.curve),e.pathData??t(this.resolvedData)??``});get d(){return A(this.#p)}set d(e){R(this.#p,e)}get tweenedPath(){return this.#t.current}#m=J(()=>{let e=this.#e();if(this.stackAccessors&&this.ctx.series.stackLayout===`stackDiverging`){let e=this.resolvedData?.[0];if(e){let t=this.stackAccessors.value(e);if(t&&t[1]<=0)return this.y0Accessor}}return e.y1||this.stackAccessors||Array.isArray(this.seriesAccessor)||this.seriesAccessor?this.y1Accessor:void 0});get lineYAccessor(){return A(this.#m)}set lineYAccessor(e){R(this.#m,e)}#h=J(()=>this.series?.key==null||this.ctx.series.visibleSeries.length<=1||this.ctx.series.isHighlighted(this.series.key,!0)?1:.1);get pathOpacity(){return A(this.#h)}set pathOpacity(e){R(this.#h,e)}},us=new Set([`$$slots`,`$$events`,`$$legacy`,`Path`,`Spline`,`curve`,`data`,`defined`,`fill`,`stroke`,`line`,`pathData`,`motion`,`x`,`y0`,`y1`,`seriesKey`]),ds=c(`<!> <!>`,1);function fs(e,t){Y(t,!0);let n=z(t,`stroke`,3,`none`),a=z(t,`line`,3,!1),o=M(t,us),s=new ls(()=>({curve:t.curve,data:t.data,defined:t.defined,fill:t.fill,stroke:n(),line:a(),pathData:t.pathData,motion:t.motion,x:t.x,y0:t.y0,y1:t.y1,seriesKey:t.seriesKey}));var c=ds(),l=q(c),u=e=>{var n=E(),i=q(n);{let e=J(()=>t.data??s.seriesData),n=J(()=>nn(a(),`lc-area-line`));H(i,()=>t.Spline,(r,i)=>{i(r,G({get data(){return A(e)},get x(){return t.x},get y(){return s.lineYAccessor},get seriesKey(){return t.seriesKey},get curve(){return t.curve},get defined(){return t.defined},get motion(){return t.motion}},()=>A(n)))})}r(e,n)};v(l,e=>{a()&&e(u)});var d=I(l,2);{let e=J(()=>t.fill??s.series?.color),r=J(()=>nn(o,`lc-area-path`));H(d,()=>t.Path,(t,i)=>{i(t,G({get pathData(){return s.tweenedPath},get fill(){return A(e)},get stroke(){return n()},get opacity(){return s.pathOpacity}},()=>A(r)))})}r(e,c),i()}var ps=1.340264,ms=-.081106,hs=893e-6,gs=.003796,_s=ht(3)/2,vs=12;function ys(e,t){var n=gt(_s*yt(t)),r=n*n,i=r*r*r;return[e*_t(n)/(_s*(ps+3*ms*r+i*(7*hs+9*gs*r))),n*(ps+ms*r+i*(hs+gs*r))]}ys.invert=function(e,t){for(var n=t,r=n*n,i=r*r*r,a=0,o,s,c;a<vs&&(s=n*(ps+ms*r+i*(hs+gs*r))-t,c=ps+3*ms*r+i*(7*hs+9*gs*r),n-=o=s/c,r=n*n,i=r*r*r,!(vt(o)<1e-12));++a);return[_s*e*(ps+3*ms*r+i*(7*hs+9*gs*r))/_t(n),gt(yt(n)/_s)]};function bs(){return dt(ys).scale(177.158)}var xs=new Set([`$$slots`,`$$events`,`$$legacy`]);function Ss(e,t){let n=M(t,xs);fs(e,G({get Path(){return kn},get Spline(){return Xn}},()=>n))}var Cs=new Set([`$$slots`,`$$events`,`$$legacy`]);function ws(e,t){let n=M(t,Cs);fs(e,G({get Path(){return jn},get Spline(){return Zn}},()=>n))}var Ts=new Set([`$$slots`,`$$events`,`$$legacy`]);function Es(e,t){Y(t,!0);let n=tn(),a=M(t,Ts);var o=E(),s=q(o),c=e=>{Ss(e,G(()=>a))},l=e=>{ws(e,G(()=>a))};v(s,e=>{n===`svg`?e(c):n===`canvas`&&e(l,1)}),r(e,o),i()}var Ds=new Set([`$$slots`,`$$events`,`$$legacy`,`context`]);function Os(e,t){Y(t,!0);let n=z(t,`context`,15),r=M(t,Ds);cs(e,G({get Chart(){return es},get Area(){return Es}},()=>r,{get context(){return n()},set context(e){n(e)}})),i()}var ks=new Set(`$$slots.$$events.$$legacy.Chart.Bars.data.x.y.xDomain.radial.orientation.series.seriesLayout.axis.brush.grid.highlight.legend.rule.onBarClick.props.profile.bandPadding.groupPadding.stackPadding.xInterval.yInterval.tooltipContext.marks.context`.split(`.`));function As(e,t){Y(t,!0);let n=z(t,`data`,19,()=>[]),a=z(t,`radial`,3,!1),o=z(t,`orientation`,3,`vertical`),s=z(t,`seriesLayout`,3,`overlap`),c=z(t,`axis`,3,!0),l=z(t,`brush`,3,!1),u=z(t,`grid`,3,!0),d=z(t,`highlight`,19,()=>({area:!0})),f=z(t,`legend`,3,!1),p=z(t,`rule`,3,!0),m=z(t,`onBarClick`,3,()=>{}),h=z(t,`props`,19,()=>({})),g=z(t,`profile`,3,!1),_=z(t,`bandPadding`,19,()=>a()?0:.4),y=z(t,`groupPadding`,3,0),b=z(t,`stackPadding`,3,0),x=z(t,`tooltipContext`,3,!0),S=z(t,`context`,15),C=M(t,ks),w=J(()=>o()===`horizontal`?`x`:`y`),T=J(()=>t.series===void 0?[{key:`default`,label:A(w)===`y`?typeof t.y==`string`?t.y:`value`:typeof t.x==`string`?t.x:`value`,value:A(w)===`y`?t.y:t.x}]:t.series),D=J(()=>s()===`group`);g()&&(console.time(`BarChart render`),ue(()=>{console.timeEnd(`BarChart render`)}));var O=E(),k=q(O);{let e=(e,n)=>{let i=()=>(n?.()).context;var a=E(),o=q(a),s=e=>{t.marks(e,()=>({context:i()}))},c=e=>{var n=E(),a=q(n);B(a,19,()=>i().series.visibleSeries,e=>e.key,(e,n,a)=>{var o=E(),s=q(o);{let e=J(()=>A(w)===`y`&&A(D)?e=>A(n).value??A(n).key:void 0),r=J(()=>A(w)===`x`&&A(D)?e=>A(n).value??A(n).key:void 0),o=J(()=>i().series.divergingEdgeKeys?i().series.divergingEdgeKeys.has(A(n).key)?`edge`:`none`:i().series.isStacked&&A(a)!==i().series.visibleSeries.length-1?`none`:Array.isArray(t.x)||Array.isArray(t.y)?`all`:`edge`),c=J(()=>i().series.isHighlighted(A(n).key,!0)?1:.1);H(s,()=>t.Bars,(t,i)=>{i(t,G({get seriesKey(){return A(n).key},get x1(){return A(e)},get y1(){return A(r)},get rounded(){return A(o)},radius:4,strokeWidth:1,get stackPadding(){return b()},get opacity(){return A(c)},onBarClick:(e,t)=>m()(e,{...t,series:A(n)})},()=>h().bars,()=>A(n).props))})}r(e,o)}),r(e,n)};v(o,e=>{typeof t.marks==`function`?e(s):e(c,-1)}),r(e,a)},i=J(()=>A(w)===`y`?t.y:t.x),o=J(()=>x()!==!1&&{mode:`band`,...h().tooltip?.context,...typeof x()==`object`?x():null}),g=J(()=>l()?{axis:`x`,zoomOnBrush:!0,...typeof l()==`object`?l():null,...h().brush}:!1);H(k,()=>t.Chart,(r,l)=>{l(r,G({get data(){return n()},get x(){return t.x},get xDomain(){return t.xDomain},get xInterval(){return t.xInterval},get y(){return t.y},get yInterval(){return t.yInterval},get c(){return A(i)},cRange:[`var(--color-primary, currentColor)`],get radial(){return a()},get valueAxis(){return A(w)},get bandPadding(){return _()},get groupPadding(){return y()}},()=>C,{get tooltipContext(){return A(o)},get brush(){return A(g)},get series(){return A(T)},get seriesLayout(){return s()},get axis(){return c()},get grid(){return u()},get rule(){return p()},get legend(){return f()},get highlight(){return d()},get props(){return h()},get context(){return S()},set context(e){S(e)},marks:e,$$slots:{marks:!0}}))})}r(e,O),i()}var js=class{#e=()=>({});ctx=Je();constructor(e){this.#e=e,this.ctx.registerComponent({name:`Bars`,kind:`mark`,markInfo:()=>{let t=e();return{data:t.data,seriesKey:t.seriesKey,color:t.fill}}})}#t=J(()=>{let e=this.#e().seriesKey;return e?this.ctx.series.series.find(t=>t.key===e):void 0});get series(){return A(this.#t)}set series(e){R(this.#t,e)}#n=J(()=>this.series?.data);get seriesData(){return A(this.#n)}set seriesData(e){R(this.#n,e)}#r=J(()=>Ot(this.#e().data??this.seriesData??this.ctx.data));get data(){return A(this.#r)}set data(e){R(this.#r,e)}},Ms=new Set([`$$slots`,`$$events`,`$$legacy`,`Bar`,`Group`,`fill`,`key`,`data`,`onBarClick`,`children`,`radius`,`strokeWidth`,`stroke`,`seriesKey`,`stackPadding`]);function Ns(e,n){Y(n,!0);let a=z(n,`key`,3,(e,t)=>t),o=z(n,`onBarClick`,3,()=>{}),s=z(n,`radius`,3,0),c=z(n,`strokeWidth`,3,0),l=z(n,`stroke`,3,`black`),u=z(n,`stackPadding`,3,0),d=M(n,Ms),f=new js(()=>({data:n.data,key:a(),onBarClick:o(),seriesKey:n.seriesKey,stackPadding:u(),fill:n.fill,radius:s(),strokeWidth:c(),stroke:l()}));var p=E(),m=q(p);H(m,()=>n.Group,(e,i)=>{i(e,{class:`lc-bars`,children:(e,i)=>{var p=E(),m=q(p),h=e=>{var i=E(),a=q(i);t(a,()=>n.children),r(e,i)},g=e=>{var t=E(),i=q(t);B(i,19,()=>f.data,(e,t)=>a()(e,t),(e,t)=>{var i=E(),a=q(i);{let e=J(()=>n.fill??f.series?.color??(f.ctx.config.c?f.ctx.cGet(A(t)):null)),r=J(()=>nn(d,`lc-bars-bar`));H(a,()=>n.Bar,(i,a)=>{a(i,G({get data(){return A(t)},get radius(){return s()},get strokeWidth(){return c()},get stroke(){return l()},get seriesKey(){return n.seriesKey},get stackPadding(){return u()},get fill(){return A(e)},onclick:e=>o()(e,{data:A(t)})},()=>A(r)))})}r(e,i)}),r(e,t)};v(m,e=>{n.children?e(h):e(g,-1)}),r(e,p)},$$slots:{default:!0}})}),r(e,p),i()}var Ps=new Set([`$$slots`,`$$events`,`$$legacy`]);function Fs(e,t){let n=M(t,Ps);Ns(e,G({get Bar(){return $n},get Group(){return on}},()=>n))}var Is=new Set([`$$slots`,`$$events`,`$$legacy`]);function Ls(e,t){let n=M(t,Is);Ns(e,G({get Bar(){return Qn},get Group(){return an}},()=>n))}var Rs=new Set([`$$slots`,`$$events`,`$$legacy`]);function zs(e,t){let n=M(t,Rs);Ns(e,G({get Bar(){return er},get Group(){return sn}},()=>n))}var Bs=new Set([`$$slots`,`$$events`,`$$legacy`]);function Vs(e,t){Y(t,!0);let n=tn(),a=M(t,Bs);var o=E(),s=q(o),c=e=>{Fs(e,G(()=>a))},l=e=>{Ls(e,G(()=>a))},u=e=>{zs(e,G(()=>a))};v(s,e=>{n===`svg`?e(c):n===`canvas`?e(l,1):n===`html`&&e(u,2)}),r(e,o),i()}var Hs=new Set([`$$slots`,`$$events`,`$$legacy`,`context`]);function Us(e,t){Y(t,!0);let n=z(t,`context`,15),r=M(t,Hs);As(e,G({get Chart(){return es},get Bars(){return Vs}},()=>r,{get context(){return n()},set context(e){n(e)}})),i()}function Ws(e){for(var t=e.length/6|0,n=Array(t),r=0;r<t;)n[r]=`#`+e.slice(r*6,++r*6);return n}var Gs=Ws(`4269d0efb118ff725c6cc5b03ca951ff8ab7a463f297bbf59c6b4e9498a0`),Ks=new Set(`$$slots.$$events.$$legacy.Chart.Arc.ArcLabel.Group.Pie.data.key.label.value.range.c.innerRadius.outerRadius.cornerRadius.padAngle.placement.maxValue.center.series.legend.onArcClick.onTooltipClick.props.profile.tooltipContext.marks.tooltip.pie.arc.labels.context`.split(`.`));function qs(e,n){Y(n,!0);let a=z(n,`data`,19,()=>[]),s=z(n,`key`,3,`key`),c=z(n,`label`,3,`label`),l=z(n,`value`,3,`value`),u=z(n,`range`,19,()=>[0,360]),d=z(n,`c`,19,s),f=z(n,`cornerRadius`,3,0),p=z(n,`padAngle`,3,0),m=z(n,`placement`,3,`center`),h=z(n,`center`,19,()=>m()===`center`),g=z(n,`legend`,3,!1),_=z(n,`onArcClick`,3,()=>{}),y=z(n,`onTooltipClick`,3,()=>{}),b=z(n,`props`,19,()=>({})),x=z(n,`profile`,3,!1),S=z(n,`tooltipContext`,3,!0),C=z(n,`labels`,3,!1),w=z(n,`context`,15),T=M(n,Ks),D=J(()=>C()===!0?{placement:`callout`}:C()?{placement:`callout`,...C()}:null),O=J(()=>n.series===void 0?[{key:`default`,value:l()}]:n.series),k=J(()=>jt(s())),ee=J(()=>jt(c())),j=J(()=>jt(l())),N=J(()=>jt(d())),te=J(()=>{let e=A(O).flatMap(e=>(`data`in e?e.data:void 0)??[]);return e.length>0?e:Ot(a())}),P=J(()=>A(te).filter(e=>{let t=A(k)(e),n=w()?.series.selectedKeys;return!n||n.isEmpty()||n.isSelected(t)})),ne=J(()=>A(O).map(e=>`color`in e?e.color:void 0).filter(e=>e!=null)),re=e=>{let t=A(te).find(t=>A(k)(t)===e);return t?A(ee)(t)??e:e};function ie(){return w()?{x:m()===`left`?w().height/2:m()===`right`?w().width-w().height/2:void 0,center:[`left`,`right`].includes(m())?`y`:void 0,...b().group}:{}}function F(e,t){return{data:e.data,range:u(),innerRadius:n.innerRadius,outerRadius:n.outerRadius,cornerRadius:f(),padAngle:p(),...b().pie}}function ae(e,t,r,i){if(!w())return{};let a=`props`in r.data&&typeof r.data.props==`object`?r.data.props:{};return{startAngle:r.startAngle,endAngle:r.endAngle,outerRadius:(w()?.series.visibleSeries.length??0)>1?t*(n.outerRadius??0):n.outerRadius,innerRadius:n.innerRadius,cornerRadius:f(),padAngle:p(),fill:w().cScale?.(w().c(r.data)),data:r.data,tooltip:!0,onclick:t=>{_()(t,{data:r.data,series:e}),y()(t,{data:r.data})},opacity:w()?.series.isHighlighted(A(k)(r.data),!0)??!0?1:.5,...b().arc,...e.props,...a}}x()&&(console.time(`PieChart render`),ue(()=>{console.timeEnd(`PieChart render`)}));var oe=E(),I=q(oe);{let e=(e,i=o)=>{var a=E(),s=q(a),c=e=>{n.marks(e,i)},u=e=>{var a=E(),o=q(a);{let e=J(ie);H(o,()=>n.Group,(a,o)=>{o(a,G(()=>A(e),{children:(e,a)=>{var o=E(),s=q(o);B(s,19,()=>A(O),e=>e.key,(e,a,o)=>{var s=E(),c=q(s),u=e=>{var s=E(),c=q(s);{let e=J(()=>({...i(),label:A(ee),key:A(k),value:A(j),visibleData:A(P),getGroupProps:ie,props:F(A(a),A(o)),index:A(o)}));t(c,()=>n.pie,()=>A(e))}r(e,s)},d=e=>{var s=E(),c=q(s);{let e=(e,s)=>{let c=()=>(s?.()).arcs;var u=E(),d=q(u);B(d,19,c,(e,t)=>`${A(o)}-${t}`,(e,s,c)=>{let u=J(()=>ae(A(a),A(o),A(s),A(c)));var d=E(),f=q(d),p=e=>{var a=E(),s=q(a);{let e=J(()=>({...i(),label:A(ee),key:A(k),value:A(j),visibleData:A(P),getGroupProps:ie,props:A(u),index:A(c),seriesIndex:A(o)}));t(s,()=>n.arc,()=>A(e))}r(e,a)},m=e=>{var t=E(),i=q(t);{let e=(e,t)=>{let i=()=>(t?.()).centroid,a=()=>(t?.()).startAngle,o=()=>(t?.()).endAngle,c=()=>(t?.()).innerRadius,u=()=>(t?.()).outerRadius,d=()=>(t?.()).getArcTextProps,f=J(()=>{let{value:e,...t}=A(D);return{labelValue:e,labelRest:t}});var p=E(),m=q(p);{let e=J(()=>jt(A(f).labelValue??l())(A(s).data));H(m,()=>n.ArcLabel,(t,n)=>{n(t,G({get centroid(){return i()},get startAngle(){return a()},get endAngle(){return o()},get innerRadius(){return c()},get outerRadius(){return u()},get getArcTextProps(){return d()},get value(){return A(e)}},()=>A(f).labelRest))})}r(e,p)};H(i,()=>n.Arc,(t,n)=>{n(t,G(()=>A(u),{children:e,$$slots:{default:!0}}))})}r(e,t)},h=e=>{var t=E(),i=q(t);H(i,()=>n.Arc,(e,t)=>{t(e,G(()=>A(u)))}),r(e,t)};v(f,e=>{typeof n.arc==`function`?e(p):A(D)?e(m,1):e(h,-1)}),r(e,d)}),r(e,u)},s=J(()=>F(A(a),A(o)));H(c,()=>n.Pie,(t,n)=>{n(t,G(()=>A(s),{children:e,$$slots:{default:!0}}))})}r(e,s)};v(c,e=>{typeof n.pie==`function`?e(u):e(d,-1)}),r(e,s)}),r(e,o)},$$slots:{default:!0}}))})}r(e,a)};v(s,e=>{typeof n.marks==`function`?e(c):e(u,-1)}),r(e,a)},i=(e,i=o)=>{var a=E(),s=q(a),c=e=>{var a=E(),o=q(a);t(o,()=>n.tooltip,i),r(e,a)},l=e=>{var t=E(),n=q(t);{let e=(e,t)=>{let n=()=>(t?.()).data;var a=E(),o=q(a);H(o,()=>bn,(e,t)=>{t(e,G(()=>b().tooltip?.list,{children:(e,t)=>{var a=E(),o=q(a);{let e=J(()=>A(ee)(n())||A(k)(n())),t=J(()=>A(j)(n())),r=J(()=>i().context.cScale?.(i().context.c(n())));H(o,()=>xn,(a,o)=>{o(a,G({get label(){return A(e)},get value(){return A(t)},get color(){return A(r)},get format(){return Ie},onpointerenter:()=>{i().context&&(i().context.series.highlightKey=A(k)(n()))},onpointerleave:()=>{i().context&&(i().context.series.highlightKey=null)}},()=>b().tooltip?.item))})}r(e,a)},$$slots:{default:!0}}))}),r(e,a)};H(n,()=>Sn,(t,n)=>{n(t,G({get context(){return i().context}},()=>b().tooltip?.root,{children:e,$$slots:{default:!0}}))})}r(e,t)};v(s,e=>{typeof n.tooltip==`function`?e(c):S()&&e(l,1)}),r(e,a)},a=J(()=>A(te).map(A(k))),c=J(()=>A(ne).length>0?A(ne):d()===s()?[`var(--color-primary, ${Gs[0]})`,`var(--color-secondary, ${Gs[1]})`,`var(--color-info, ${Gs[2]})`,`var(--color-success, ${Gs[3]})`,`var(--color-warning, ${Gs[4]})`,`var(--color-danger, ${Gs[5]})`]:A(te).map(e=>A(N)(e))),u=J(()=>({bottom:g()===!0||Et(g())?.placement?.includes(`bottom`)?32:0})),f=J(()=>S()!==!1&&{onclick:y(),...b().tooltip?.context,...typeof S()==`object`?S():null}),p=J(()=>typeof g()==`function`?g():g()?{variant:`swatches`,placement:`bottom`,tickFormat:re,...typeof g()==`object`?g():null}:!1),m=J(()=>({...b(),svg:{center:h(),...b().svg},canvas:{center:h(),...b().canvas}}));H(I,()=>n.Chart,(t,n)=>{n(t,G({get data(){return A(P)},get x(){return l()},get c(){return s()},get cDomain(){return A(a)},get cRange(){return A(c)},get padding(){return A(u)},axis:!1},()=>T,{get tooltipContext(){return A(f)},get series(){return A(O)},get legend(){return A(p)},get props(){return A(m)},get context(){return w()},set context(e){w(e)},marks:e,tooltip:i,$$slots:{marks:!0,tooltip:!0}}))})}r(e,oe),i()}var Js=class{#e=()=>({});ctx=Je();#t;constructor(e){this.#e=e,this.#t=dn(0,()=>this.endAngle,e().motion)}#n=J(()=>this.#e().range??[0,360]);get range(){return A(this.#n)}set range(e){R(this.#n,e)}#r=J(()=>this.#e().endAngle??hn(this.ctx.config.xRange?wt(this.ctx.config.xRange):wt(this.range)));get endAngle(){return A(this.#r)}set endAngle(e){R(this.#r,e)}#i=J(()=>{let e=this.#e(),t=ca().startAngle(e.startAngle??hn(this.ctx.config.xRange?Tt(this.ctx.config.xRange):Tt(this.range))).endAngle(this.#t.current).padAngle(e.padAngle??0).value(this.ctx.x);return e.sort===null?t=t.sort(null):e.sort&&(t=t.sort(e.sort)),t});get pie(){return A(this.#i)}set pie(e){R(this.#i,e)}#a=J(()=>this.pie(this.#e().data??(Array.isArray(this.ctx.data)?this.ctx.data:[])));get arcs(){return A(this.#a)}set arcs(e){R(this.#a,e)}};function Ys(e,n){Y(n,!0);let a=z(n,`cornerRadius`,3,0),o=z(n,`padAngle`,3,0),s=z(n,`offset`,3,0),c=new Js(()=>({data:n.data,range:n.range,startAngle:n.startAngle,endAngle:n.endAngle,innerRadius:n.innerRadius,outerRadius:n.outerRadius,cornerRadius:a(),padAngle:o(),motion:n.motion,offset:s(),tooltip:n.tooltip,sort:n.sort}));var l=E(),u=q(l),d=e=>{var i=E(),a=q(i);t(a,()=>n.children,()=>({arcs:c.arcs})),r(e,i)},f=e=>{var t=E(),i=q(t);B(i,17,()=>c.arcs,m,(e,t)=>{var i=E(),o=q(i);{let e=J(()=>c.ctx.config.c?c.ctx.cScale?.(c.ctx.c(A(t).data)):null);H(o,()=>n.Arc,(r,i)=>{i(r,{class:`lc-pie-arc`,get startAngle(){return A(t).startAngle},get endAngle(){return A(t).endAngle},get padAngle(){return A(t).padAngle},get innerRadius(){return n.innerRadius},get outerRadius(){return n.outerRadius},get cornerRadius(){return a()},get offset(){return s()},get fill(){return A(e)},get data(){return A(t).data},get tooltip(){return n.tooltip}})})}r(e,i)}),r(e,t)};v(u,e=>{n.children?e(d):e(f,-1)}),r(e,l),i()}var Xs=new Set([`$$slots`,`$$events`,`$$legacy`]);function Zs(e,t){let n=M(t,Xs);Ys(e,G({get Arc(){return En}},()=>n))}function Qs(e){return typeof e==`function`}function $s(e){return typeof e==`object`&&!!e}var ec=[`string`,`number`,`bigint`,`boolean`];function tc(e){return e==null||ec.includes(typeof e)?!0:Array.isArray(e)?e.every(e=>tc(e)):typeof e==`object`&&Object.getPrototypeOf(e)===Object.prototype}var nc=Symbol(`box`),rc=Symbol(`is-writable`);function Z(e,t){let n=J(e);return t?{[nc]:!0,[rc]:!0,get current(){return A(n)},set current(e){t(e)}}:{[nc]:!0,get current(){return e()}}}function ic(e){return $s(e)&&nc in e}function ac(e){return ic(e)?e:Qs(e)?Z(e):oc(e)}function oc(e){let t=j(pe(e));return{[nc]:!0,[rc]:!0,get current(){return A(t)},set current(e){R(t,e,!0)}}}function sc(...e){return function(t){for(let n of e)if(n){if(t.defaultPrevented)return;typeof n==`function`?n.call(this,t):n.current?.call(this,t)}}}var cc=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,lc=/\n/g,uc=/^\s*/,dc=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,fc=/^:\s*/,pc=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,mc=/^[;\s]*/,hc=/^\s+|\s+$/g,gc=`
7
+ `,_c=`/`,vc=`*`,yc=``,bc=`comment`,xc=`declaration`;function Sc(e,t){if(typeof e!=`string`)throw TypeError(`First argument must be a string`);if(!e)return[];t||={};var n=1,r=1;function i(e){var t=e.match(lc);t&&(n+=t.length);var i=e.lastIndexOf(gc);r=~i?e.length-i:r+e.length}function a(){var e={line:n,column:r};return function(t){return t.position=new o(e),l(),t}}function o(e){this.start=e,this.end={line:n,column:r},this.source=t.source}o.prototype.content=e;function s(i){var a=Error(t.source+`:`+n+`:`+r+`: `+i);if(a.reason=i,a.filename=t.source,a.line=n,a.column=r,a.source=e,!t.silent)throw a}function c(t){var n=t.exec(e);if(n){var r=n[0];return i(r),e=e.slice(r.length),n}}function l(){c(uc)}function u(e){var t;for(e||=[];t=d();)t!==!1&&e.push(t);return e}function d(){var t=a();if(_c==e.charAt(0)&&vc==e.charAt(1)){for(var n=2;yc!=e.charAt(n)&&(vc!=e.charAt(n)||_c!=e.charAt(n+1));)++n;if(n+=2,yc===e.charAt(n-1))return s(`End of comment missing`);var o=e.slice(2,n-2);return r+=2,i(o),e=e.slice(n),r+=2,t({type:bc,comment:o})}}function f(){var e=a(),t=c(dc);if(t){if(d(),!c(fc))return s(`property missing ':'`);var n=c(pc),r=e({type:xc,property:Cc(t[0].replace(cc,yc)),value:n?Cc(n[0].replace(cc,yc)):yc});return c(mc),r}}function p(){var e=[];u(e);for(var t;t=f();)t!==!1&&(e.push(t),u(e));return e}return l(),p()}function Cc(e){return e?e.replace(hc,yc):yc}function wc(e,t){let n=null;if(!e||typeof e!=`string`)return n;let r=Sc(e),i=typeof t==`function`;return r.forEach(e=>{if(e.type!==`declaration`)return;let{property:r,value:a}=e;i?t(r,a,e):a&&(n||={},n[r]=a)}),n}var Tc=/\d/,Ec=[`-`,`_`,`/`,`.`];function Dc(e=``){if(!Tc.test(e))return e!==e.toLowerCase()}function Oc(e){let t=[],n=``,r,i;for(let a of e){let e=Ec.includes(a);if(e===!0){t.push(n),n=``,r=void 0;continue}let o=Dc(a);if(i===!1){if(r===!1&&o===!0){t.push(n),n=a,r=o;continue}if(r===!0&&o===!1&&n.length>1){let e=n.at(-1);t.push(n.slice(0,Math.max(0,n.length-1))),n=e+a,r=o;continue}}n+=a,r=o,i=e}return t.push(n),t}function kc(e){return e?Oc(e).map(e=>jc(e)).join(``):``}function Ac(e){return Mc(kc(e||``))}function jc(e){return e?e[0].toUpperCase()+e.slice(1):``}function Mc(e){return e?e[0].toLowerCase()+e.slice(1):``}function Nc(e){if(!e)return{};let t={};function n(e,n){if(e.startsWith(`-moz-`)||e.startsWith(`-webkit-`)||e.startsWith(`-ms-`)||e.startsWith(`-o-`)){t[kc(e)]=n;return}if(e.startsWith(`--`)){t[e]=n;return}t[Ac(e)]=n}return wc(e,n),t}function Pc(...e){return(...t)=>{for(let n of e)typeof n==`function`&&n(...t)}}function Fc(e,t){let n=RegExp(e,`g`);return e=>{if(typeof e!=`string`)throw TypeError(`expected an argument of type string, but got ${typeof e}`);return e.match(n)?e.replace(n,t):e}}var Ic=Fc(/[A-Z]/,e=>`-${e.toLowerCase()}`);function Lc(e){if(!e||typeof e!=`object`||Array.isArray(e))throw TypeError(`expected an argument of type object, but got ${typeof e}`);return Object.keys(e).map(t=>`${Ic(t)}: ${e[t]};`).join(`
8
+ `)}function Rc(e={}){return Lc(e).replace(`
9
+ `,` `)}var zc=new Set(`onabort.onanimationcancel.onanimationend.onanimationiteration.onanimationstart.onauxclick.onbeforeinput.onbeforetoggle.onblur.oncancel.oncanplay.oncanplaythrough.onchange.onclick.onclose.oncompositionend.oncompositionstart.oncompositionupdate.oncontextlost.oncontextmenu.oncontextrestored.oncopy.oncuechange.oncut.ondblclick.ondrag.ondragend.ondragenter.ondragleave.ondragover.ondragstart.ondrop.ondurationchange.onemptied.onended.onerror.onfocus.onfocusin.onfocusout.onformdata.ongotpointercapture.oninput.oninvalid.onkeydown.onkeypress.onkeyup.onload.onloadeddata.onloadedmetadata.onloadstart.onlostpointercapture.onmousedown.onmouseenter.onmouseleave.onmousemove.onmouseout.onmouseover.onmouseup.onpaste.onpause.onplay.onplaying.onpointercancel.onpointerdown.onpointerenter.onpointerleave.onpointermove.onpointerout.onpointerover.onpointerup.onprogress.onratechange.onreset.onresize.onscroll.onscrollend.onsecuritypolicyviolation.onseeked.onseeking.onselect.onselectionchange.onselectstart.onslotchange.onstalled.onsubmit.onsuspend.ontimeupdate.ontoggle.ontouchcancel.ontouchend.ontouchmove.ontouchstart.ontransitioncancel.ontransitionend.ontransitionrun.ontransitionstart.onvolumechange.onwaiting.onwebkitanimationend.onwebkitanimationiteration.onwebkitanimationstart.onwebkittransitionend.onwheel`.split(`.`));function Bc(e){return zc.has(e)}function Q(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];if(r){for(let e of Object.keys(r)){let n=t[e],i=r[e],a=typeof n==`function`,o=typeof i==`function`;if(a&&typeof o&&Bc(e))t[e]=sc(n,i);else if(a&&o)t[e]=Pc(n,i);else if(e===`class`){let r=tc(n),a=tc(i);r&&a?t[e]=x(n,i):r?t[e]=x(n):a&&(t[e]=x(i))}else if(e===`style`){let r=typeof n==`object`,a=typeof i==`object`,o=typeof n==`string`,s=typeof i==`string`;if(r&&a)t[e]={...n,...i};else if(r&&s){let r=Nc(i);t[e]={...n,...r}}else if(o&&a)t[e]={...Nc(n),...i};else if(o&&s){let r=Nc(n),a=Nc(i);t[e]={...r,...a}}else r?t[e]=n:a?t[e]=i:o?t[e]=n:s&&(t[e]=i)}else t[e]=i===void 0?n:i}for(let e of Object.getOwnPropertySymbols(r)){let n=t[e],i=r[e];t[e]=i===void 0?n:i}}}return typeof t.style==`object`&&(t.style=Rc(t.style).replaceAll(`
10
+ `,` `)),t.hidden===!1&&(t.hidden=void 0,delete t.hidden),t.disabled===!1&&(t.disabled=void 0,delete t.disabled),t}var Vc={position:`absolute`,width:`1px`,height:`1px`,padding:`0`,margin:`-1px`,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,borderWidth:`0`,transform:`translateX(-100%)`},Hc=Rc(Vc),Uc=typeof window<`u`?window:void 0;typeof window<`u`&&window.document,typeof window<`u`&&window.navigator,typeof window<`u`&&window.location;function Wc(e){let t=e.activeElement;for(;t?.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}new class{#e;#t;constructor(e={}){let{window:t=Uc,document:n=t?.document}=e;t!==void 0&&(this.#e=n,this.#t=we(e=>{let n=k(t,`focusin`,e),r=k(t,`focusout`,e);return()=>{n(),r()}}))}get current(){return this.#t?.(),this.#e?Wc(this.#e):null}};function Gc(e){return typeof e==`function`}var Kc=class{#e;#t;constructor(e){this.#e=e,this.#t=Symbol(e)}get key(){return this.#t}exists(){return S(this.#t)}get(){let e=Se(this.#t);if(e===void 0)throw Error(`Context "${this.#e}" not found`);return e}getOr(e){let t=Se(this.#t);return t===void 0?e:t}set(e){return w(this.#t,e)}};function qc(e,t){switch(e){case`post`:K(t);break;case`pre`:_e(t)}}function Jc(e,t,n,r={}){let{lazy:i=!1}=r,a=!i,o=Array.isArray(e)?[]:void 0;qc(t,()=>{let t=Array.isArray(e)?e.map(e=>e()):e();if(!a){a=!0,o=t;return}let r=ae(()=>n(t,o));return o=t,r})}function Yc(e,t,n){Jc(e,`post`,t,n)}function Xc(e,t,n){Jc(e,`pre`,t,n)}Yc.pre=Xc;function Zc(e){return Gc(e)?e():e}var Qc=class{#e={width:0,height:0};#t=!1;#n;#r;#i;#a=J(()=>(A(this.#s)?.(),this.getSize().width));#o=J(()=>(A(this.#s)?.(),this.getSize().height));#s=J(()=>{let e=Zc(this.#r);if(e)return we(t=>{if(!this.#i)return;let n=new this.#i.ResizeObserver(e=>{this.#t=!0;for(let t of e){let e=this.#n.box===`content-box`?t.contentBoxSize:t.borderBoxSize,n=Array.isArray(e)?e:[e];this.#e.width=n.reduce((e,t)=>Math.max(e,t.inlineSize),0),this.#e.height=n.reduce((e,t)=>Math.max(e,t.blockSize),0)}t()});return n.observe(e),()=>{this.#t=!1,n.disconnect()}})});constructor(e,t={box:`border-box`}){this.#i=t.window??Uc,this.#n=t,this.#r=e,this.#e={width:0,height:0}}calculateSize(){let e=Zc(this.#r);if(!e||!this.#i)return;let t=e.offsetWidth,n=e.offsetHeight;if(this.#n.box===`border-box`)return{width:t,height:n};let r=this.#i.getComputedStyle(e),i=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight),a=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom),o=parseFloat(r.borderLeftWidth)+parseFloat(r.borderRightWidth),s=parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth);return{width:t-i-o,height:n-a-s}}getSize(){return this.#t?this.#e:this.calculateSize()??this.#e}get current(){return A(this.#s)?.(),this.getSize()}get width(){return A(this.#a)}get height(){return A(this.#o)}};function $c(e){K(()=>()=>{e()})}function el(e,t){return setTimeout(t,e)}function tl(t){e().then(t)}var nl=1,rl=9,il=11;function al(e){return $s(e)&&e.nodeType===nl&&typeof e.nodeName==`string`}function ol(e){return $s(e)&&e.nodeType===rl}function sl(e){return $s(e)&&e.constructor?.name===`VisualViewport`}function cl(e){return $s(e)&&e.nodeType!==void 0}function ll(e){return cl(e)&&e.nodeType===il&&`host`in e}function ul(e,t){if(!e||!t||!al(e)||!al(t))return!1;let n=t.getRootNode?.();if(e===t||e.contains(t))return!0;if(n&&ll(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function dl(e){return ol(e)?e:sl(e)?e.document:e?.ownerDocument??document}function fl(e){return ll(e)?fl(e.host):ol(e)?e.defaultView??window:al(e)?e.ownerDocument?.defaultView??window:window}function pl(e){let t=e.activeElement;for(;t?.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}var ml=class{element;#e=J(()=>this.element.current?this.element.current.getRootNode()??document:document);get root(){return A(this.#e)}set root(e){R(this.#e,e)}constructor(e){this.element=typeof e==`function`?Z(e):e}getDocument=()=>dl(this.root);getWindow=()=>this.getDocument().defaultView??window;getActiveElement=()=>pl(this.root);isActiveElement=e=>e===this.getActiveElement();getElementById(e){return this.root.getElementById(e)}querySelector=e=>this.root?this.root.querySelector(e):null;querySelectorAll=e=>this.root?this.root.querySelectorAll(e):[];setTimeout=(e,t)=>this.getWindow().setTimeout(e,t);clearTimeout=e=>this.getWindow().clearTimeout(e)};function hl(e,t){return{[O()]:n=>ic(e)?(e.current=n,ae(()=>t?.(n)),()=>{`isConnected`in n&&n.isConnected||(e.current=null,t?.(null))}):(e(n),ae(()=>t?.(n)),()=>{`isConnected`in n&&n.isConnected||(e(null),t?.(null))})}}function gl(e){return e?`true`:`false`}function _l(e){return e?`true`:void 0}function $(e){return e?``:void 0}function vl(e){return e?`open`:`closed`}function yl(e){return e===`starting`?{"data-starting-style":``}:e===`ending`?{"data-ending-style":``}:{}}var bl=class{#e;#t;attrs;constructor(e){this.#e=e.getVariant?e.getVariant():null,this.#t=this.#e?`data-${this.#e}-`:`data-${e.component}-`,this.getAttr=this.getAttr.bind(this),this.selector=this.selector.bind(this),this.attrs=Object.fromEntries(e.parts.map(e=>[e,this.getAttr(e)]))}getAttr(e,t){return t?`data-${t}-${e}`:`${this.#t}${e}`}selector(e,t){return`[${this.getAttr(e,t)}]`}};function xl(e){let t=new bl(e);return{...t.attrs,selector:t.selector,getAttr:t.getAttr}}var Sl=`ArrowDown`,Cl=`ArrowLeft`,wl=`ArrowRight`,Tl=`ArrowUp`,El=`Backspace`,Dl=`Enter`,Ol=typeof document<`u`,kl=Al();function Al(){return Ol&&window?.navigator?.userAgent&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||window?.navigator?.maxTouchPoints>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function jl(e){return e instanceof HTMLElement}function Ml(e){return e instanceof Element}function Nl(e){return e instanceof Element||e instanceof SVGElement}function Pl(e){return!Number.isNaN(Number(e))&&!Number.isNaN(Number.parseFloat(e))}function Fl(e){return e===null}function Il(e){return e.pointerType===`touch`}function Ll(e){return e!==null}var Rl=class{#e;#t=null;#n=null;#r=0;constructor(e){this.#e=e,$c(()=>this.#i())}#i(){this.#t!==null&&(window.cancelAnimationFrame(this.#t),this.#t=null),this.#n?.disconnect(),this.#n=null,this.#r++}run(e){this.#i();let t=this.#e.ref.current;if(!t)return;if(typeof t.getAnimations!=`function`){this.#a(e);return}let n=this.#r,r=()=>{n===this.#r&&this.#a(e)},i=()=>{if(n!==this.#r)return;let e=t.getAnimations();if(e.length===0){r();return}Promise.all(e.map(e=>e.finished)).then(()=>{r()}).catch(()=>{if(n===this.#r){if(t.getAnimations().some(e=>e.pending||e.playState!==`finished`)){i();return}r()}})},a=()=>{this.#t=window.requestAnimationFrame(()=>{this.#t=null,i()})};if(!this.#e.afterTick.current){a();return}this.#t=window.requestAnimationFrame(()=>{this.#t=null;let e=`data-starting-style`;if(!t.hasAttribute(e)){a();return}this.#n=new MutationObserver(()=>{n===this.#r&&(t.hasAttribute(e)||(this.#n?.disconnect(),this.#n=null,a()))}),this.#n.observe(t,{attributes:!0,attributeFilter:[e]})})}#a(e){let t=()=>{e()};this.#e.afterTick?tl(t):t()}},zl=class{#e;#t;#n;#r=j(!1);#i=j(void 0);#a=!1;#o=null;constructor(e){this.#e=e,R(this.#r,e.open.current,!0),this.#t=e.enabled??!0,this.#n=new Rl({ref:this.#e.ref,afterTick:this.#e.open}),$c(()=>this.#s()),Yc(()=>this.#e.open.current,e=>{if(!this.#a){this.#a=!0;return}if(this.#s(),!e&&this.#e.shouldSkipExitAnimation?.()){R(this.#r,!1),R(this.#i,void 0),this.#e.onComplete?.();return}if(e&&R(this.#r,!0),R(this.#i,e?`starting`:`ending`,!0),e&&(this.#o=window.requestAnimationFrame(()=>{this.#o=null,this.#e.open.current&&R(this.#i,void 0)})),!this.#t){e||R(this.#r,!1),R(this.#i,void 0),this.#e.onComplete?.();return}this.#n.run(()=>{e===this.#e.open.current&&(this.#e.open.current||R(this.#r,!1),R(this.#i,void 0),this.#e.onComplete?.())})})}get shouldRender(){return A(this.#r)}get transitionStatus(){return A(this.#i)}#s(){this.#o!==null&&(window.cancelAnimationFrame(this.#o),this.#o=null)}};function Bl(){}function Vl(e,t){return t===void 0?`bits-${e}`:`bits-${e}-${t}`}var Hl=xl({component:`dialog`,parts:[`content`,`trigger`,`overlay`,`title`,`description`,`close`,`cancel`,`action`]}),Ul=new Kc(`Dialog.Root | AlertDialog.Root`),Wl=class e{static create(t){let n=Ul.getOr(null);return Ul.set(new e(t,n))}opts;#e=j(null);get triggerNode(){return A(this.#e)}set triggerNode(e){R(this.#e,e,!0)}#t=j(null);get contentNode(){return A(this.#t)}set contentNode(e){R(this.#t,e,!0)}#n=j(null);get overlayNode(){return A(this.#n)}set overlayNode(e){R(this.#n,e,!0)}#r=j(null);get descriptionNode(){return A(this.#r)}set descriptionNode(e){R(this.#r,e,!0)}#i=j(void 0);get contentId(){return A(this.#i)}set contentId(e){R(this.#i,e,!0)}#a=j(void 0);get titleId(){return A(this.#a)}set titleId(e){R(this.#a,e,!0)}#o=j(void 0);get triggerId(){return A(this.#o)}set triggerId(e){R(this.#o,e,!0)}#s=j(void 0);get descriptionId(){return A(this.#s)}set descriptionId(e){R(this.#s,e,!0)}#c=j(null);get cancelNode(){return A(this.#c)}set cancelNode(e){R(this.#c,e,!0)}#l=j(0);get nestedOpenCount(){return A(this.#l)}set nestedOpenCount(e){R(this.#l,e,!0)}depth;parent;contentPresence;overlayPresence;constructor(e,t){this.opts=e,this.parent=t,this.depth=t?t.depth+1:0,this.handleOpen=this.handleOpen.bind(this),this.handleClose=this.handleClose.bind(this),this.contentPresence=new zl({ref:Z(()=>this.contentNode),open:this.opts.open,enabled:!0,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new zl({ref:Z(()=>this.overlayNode),open:this.opts.open,enabled:!0}),Yc(()=>this.opts.open.current,e=>{this.parent&&(e?this.parent.incrementNested():this.parent.decrementNested())},{lazy:!0}),$c(()=>{this.opts.open.current&&this.parent?.decrementNested()})}handleOpen(){this.opts.open.current||(this.opts.open.current=!0)}handleClose(){this.opts.open.current&&(this.opts.open.current=!1)}getBitsAttr=e=>Hl.getAttr(e,this.opts.variant.current);incrementNested(){this.nestedOpenCount++,this.parent?.incrementNested()}decrementNested(){this.nestedOpenCount!==0&&(this.nestedOpenCount--,this.parent?.decrementNested())}#u=J(()=>({"data-state":vl(this.opts.open.current)}));get sharedProps(){return A(this.#u)}set sharedProps(e){R(this.#u,e)}},Gl=class e{static create(t){return new e(t,Ul.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=hl(this.opts.ref),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}onclick(e){this.opts.disabled.current||e.button>0||this.root.handleClose()}onkeydown(e){this.opts.disabled.current||(e.key===` `||e.key===`Enter`)&&(e.preventDefault(),this.root.handleClose())}#e=J(()=>({id:this.opts.id.current,[this.root.getBitsAttr(this.opts.variant.current)]:``,onclick:this.onclick,onkeydown:this.onkeydown,disabled:this.opts.disabled.current?!0:void 0,tabindex:0,...this.root.sharedProps,...this.attachment}));get props(){return A(this.#e)}set props(e){R(this.#e,e)}},Kl=class e{static create(t){return new e(t,Ul.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.root.titleId=this.opts.id.current,this.attachment=hl(this.opts.ref),Yc.pre(()=>this.opts.id.current,e=>{this.root.titleId=e})}#e=J(()=>({id:this.opts.id.current,role:`heading`,"aria-level":this.opts.level.current,[this.root.getBitsAttr(`title`)]:``,...this.root.sharedProps,...this.attachment}));get props(){return A(this.#e)}set props(e){R(this.#e,e)}},ql=class e{static create(t){return new e(t,Ul.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.root.descriptionId=this.opts.id.current,this.attachment=hl(this.opts.ref,e=>{this.root.descriptionNode=e}),Yc.pre(()=>this.opts.id.current,e=>{this.root.descriptionId=e})}#e=J(()=>({id:this.opts.id.current,[this.root.getBitsAttr(`description`)]:``,...this.root.sharedProps,...this.attachment}));get props(){return A(this.#e)}set props(e){R(this.#e,e)}},Jl=class e{static create(t){return new e(t,Ul.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=hl(this.opts.ref,e=>{this.root.contentNode=e,this.root.contentId=e?.id})}#e=J(()=>({open:this.root.opts.open.current}));get snippetProps(){return A(this.#e)}set snippetProps(e){R(this.#e,e)}#t=J(()=>({id:this.opts.id.current,role:this.root.opts.variant.current===`alert-dialog`?`alertdialog`:`dialog`,"aria-modal":`true`,"aria-describedby":this.root.descriptionId,"aria-labelledby":this.root.titleId,[this.root.getBitsAttr(`content`)]:``,style:{pointerEvents:`auto`,outline:this.root.opts.variant.current===`alert-dialog`?`none`:void 0,"--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount,contain:`layout style`},tabindex:this.root.opts.variant.current===`alert-dialog`?-1:void 0,"data-nested-open":$(this.root.nestedOpenCount>0),"data-nested":$(this.root.parent!==null),...yl(this.root.contentPresence.transitionStatus),...this.root.sharedProps,...this.attachment}));get props(){return A(this.#t)}set props(e){R(this.#t,e)}get shouldRender(){return this.root.contentPresence.shouldRender}},Yl=class e{static create(t){return new e(t,Ul.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=hl(this.opts.ref,e=>this.root.overlayNode=e)}#e=J(()=>({open:this.root.opts.open.current}));get snippetProps(){return A(this.#e)}set snippetProps(e){R(this.#e,e)}#t=J(()=>({id:this.opts.id.current,[this.root.getBitsAttr(`overlay`)]:``,style:{pointerEvents:`auto`,"--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount},"data-nested-open":$(this.root.nestedOpenCount>0),"data-nested":$(this.root.parent!==null),...yl(this.root.overlayPresence.transitionStatus),...this.root.sharedProps,...this.attachment}));get props(){return A(this.#t)}set props(e){R(this.#t,e)}get shouldRender(){return this.root.overlayPresence.shouldRender}},Xl=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`ref`,`child`,`children`,`level`]),Zl=c(`<div><!></div>`);function Ql(e,n){let a=D();Y(n,!0);let s=z(n,`id`,19,()=>Vl(a)),c=z(n,`ref`,15,null),l=z(n,`level`,3,2),u=M(n,Xl),d=Kl.create({id:Z(()=>s()),level:Z(()=>l()),ref:Z(()=>c(),e=>c(e))}),f=J(()=>Q(u,d.props));var p=E(),m=q(p),h=e=>{var i=E(),a=q(i);t(a,()=>n.child,()=>({props:A(f)})),r(e,i)},g=e=>{var i=Zl();W(i,()=>({...A(f)}));var a=U(i);t(a,()=>n.children??o),V(i),r(e,i)};v(m,e=>{n.child?e(h):e(g,-1)}),r(e,p),i()}function $l(e,n){var i=E(),a=q(i);h(a,()=>n.children,e=>{var i=E(),a=q(i);t(a,()=>n.children??o),r(e,i)}),r(e,i)}var eu=new Kc(`BitsConfig`);function tu(){let e=new nu(null,{});return eu.getOr(e).opts}var nu=class{opts;constructor(e,t){let n=ru(e,t);this.opts={defaultPortalTo:n(e=>e.defaultPortalTo),defaultLocale:n(e=>e.defaultLocale)}}};function ru(e,t){return n=>Z(()=>{let r=n(t)?.current;if(r!==void 0)return r;if(e!==null)return n(e.opts)?.current})}function iu(e,t){return n=>{let r=tu();return Z(()=>{let i=n();if(i!==void 0)return i;let a=e(r).current;return a===void 0?t:a})}}var au=iu(e=>e.defaultLocale,`en`),ou=iu(e=>e.defaultPortalTo,`body`);function su(e,n){Y(n,!0);let a=ou(()=>n.to),s=P(),c=J(u);function u(){if(!Ol||n.disabled)return null;let e=null;return e=typeof a.current==`string`?document.querySelector(a.current):a.current,e}let d;function f(){d&&=(b(d),null)}Yc([()=>A(c),()=>n.disabled],([e,t])=>{if(!e||t){f();return}return d=l($l,{target:e,props:{children:n.children},context:s}),()=>{f()}});var p=E(),m=q(p),h=e=>{var i=E(),a=q(i);t(a,()=>n.children??o),r(e,i)};v(m,e=>{n.disabled&&e(h)}),r(e,p),i()}var cu=class{eventName;options;constructor(e,t={bubbles:!0,cancelable:!0}){this.eventName=e,this.options=t}createEvent(e){return new CustomEvent(this.eventName,{...this.options,detail:e})}dispatch(e,t){let n=this.createEvent(t);return e.dispatchEvent(n),n}listen(e,t,n){return k(e,this.eventName,e=>{t(e)},n)}};function lu(e,t=500){let n=null,r=(...r)=>{n!==null&&clearTimeout(n),n=setTimeout(()=>{e(...r)},t)};return r.destroy=()=>{n!==null&&(clearTimeout(n),n=null)},r}function uu(e,t){return e===t||e.contains(t)}function du(e){return e?.ownerDocument??document}function fu(e,t){let{clientX:n,clientY:r}=e,i=t.getBoundingClientRect();return n<i.left||n>i.right||r<i.top||r>i.bottom}var pu=[`input:not([inert]):not([inert] *)`,`select:not([inert]):not([inert] *)`,`textarea:not([inert]):not([inert] *)`,`a[href]:not([inert]):not([inert] *)`,`area[href]:not([inert]):not([inert] *)`,`button:not([inert]):not([inert] *)`,`[tabindex]:not(slot):not([inert]):not([inert] *)`,`audio[controls]:not([inert]):not([inert] *)`,`video[controls]:not([inert]):not([inert] *)`,`[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)`,`details>summary:first-of-type:not([inert]):not([inert] *)`,`details:not([inert]):not([inert] *)`],mu=pu.join(`,`),hu=typeof Element>`u`,gu=hu?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,_u=!hu&&Element.prototype.getRootNode?function(e){return e?.getRootNode?.call(e)}:function(e){return e?.ownerDocument},vu=function(e,t){t===void 0&&(t=!0);var n=e?.getAttribute?.call(e,`inert`);return n===``||n===`true`||t&&e&&(typeof e.closest==`function`?e.closest(`[inert]`):vu(e.parentNode))},yu=function(e){var t=e?.getAttribute?.call(e,`contenteditable`);return t===``||t===`true`},bu=function(e,t,n){if(vu(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(mu));return t&&gu.call(e,mu)&&r.unshift(e),r=r.filter(n),r},xu=function(e,t,n){for(var r=[],i=Array.from(e);i.length;){var a=i.shift();if(!vu(a,!1)){if(a.tagName===`SLOT`){var o=a.assignedElements(),s=xu(o.length?o:a.children,!0,n);n.flatten?r.push.apply(r,s):r.push({scopeParent:a,candidates:s})}else{gu.call(a,mu)&&n.filter(a)&&(t||!e.includes(a))&&r.push(a);var c=a.shadowRoot||typeof n.getShadowRoot==`function`&&n.getShadowRoot(a),l=!vu(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(a));if(c&&l){var u=xu(c===!0?a.children:c.children,!0,n);n.flatten?r.push.apply(r,u):r.push({scopeParent:a,candidates:u})}else i.unshift.apply(i,a.children)}}}return r},Su=function(e){return!isNaN(parseInt(e.getAttribute(`tabindex`),10))},Cu=function(e){if(!e)throw Error(`No node provided`);return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||yu(e))&&!Su(e)?0:e.tabIndex},wu=function(e,t){var n=Cu(e);return n<0&&t&&!Su(e)?0:n},Tu=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Eu=function(e){return e.tagName===`INPUT`},Du=function(e){return Eu(e)&&e.type===`hidden`},Ou=function(e){return e.tagName===`DETAILS`&&Array.prototype.slice.apply(e.children).some(function(e){return e.tagName===`SUMMARY`})},ku=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},Au=function(e){if(!e.name)return!0;var t=e.form||_u(e),n=function(e){return t.querySelectorAll(`input[type="radio"][name="`+e+`"]`)},r;if(typeof window<`u`&&window.CSS!==void 0&&typeof window.CSS.escape==`function`)r=n(window.CSS.escape(e.name));else try{r=n(e.name)}catch(e){return console.error(`Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s`,e.message),!1}var i=ku(r,e.form);return!i||i===e},ju=function(e){return Eu(e)&&e.type===`radio`},Mu=function(e){return ju(e)&&!Au(e)},Nu=function(e){var t=e&&_u(e),n=t?.host,r=!1;if(t&&t!==e){var i,a,o;for(r=!!((i=n)!=null&&(a=i.ownerDocument)!=null&&a.contains(n)||e!=null&&(o=e.ownerDocument)!=null&&o.contains(e));!r&&n;){var s,c;t=_u(n),n=t?.host,r=!!((s=n)!=null&&(c=s.ownerDocument)!=null&&c.contains(n))}}return r},Pu=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return n===0&&r===0},Fu=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if(n===`full-native`&&`checkVisibility`in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});var i=getComputedStyle(e).visibility;if(i===`hidden`||i===`collapse`)return!0;var a=gu.call(e,`details>summary:first-of-type`)?e.parentElement:e;if(gu.call(a,`details:not([open]) *`))return!0;if(!n||n===`full`||n===`full-native`||n===`legacy-full`){if(typeof r==`function`){for(var o=e;e;){var s=e.parentElement,c=_u(e);if(s&&!s.shadowRoot&&r(s)===!0)return Pu(e);e=e.assignedSlot?e.assignedSlot:!s&&c!==e.ownerDocument?c.host:s}e=o}if(Nu(e))return!e.getClientRects().length;if(n!==`legacy-full`)return!0}else if(n===`non-zero-area`)return Pu(e);return!1},Iu=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName===`FIELDSET`&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if(r.tagName===`LEGEND`)return gu.call(t,`fieldset[disabled] *`)?!0:!r.contains(e)}return!0}t=t.parentElement}return!1},Lu=function(e,t){return!(t.disabled||Du(t)||Fu(t,e)||Ou(t)||Iu(t))},Ru=function(e,t){return!(Mu(t)||Cu(t)<0||!Lu(e,t))},zu=function(e){var t=parseInt(e.getAttribute(`tabindex`),10);return!!(isNaN(t)||t>=0)},Bu=function(e){var t=[],n=[];return e.forEach(function(e,r){var i=!!e.scopeParent,a=i?e.scopeParent:e,o=wu(a,i),s=i?Bu(e.candidates):a;o===0?i?t.push.apply(t,s):t.push(a):n.push({documentOrder:r,tabIndex:o,item:e,isScope:i,content:s})}),n.sort(Tu).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},Vu=function(e,t){return t||={},Bu(t.getShadowRoot?xu([e],t.includeContainer,{filter:Ru.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:zu}):bu(e,t.includeContainer,Ru.bind(null,t)))},Hu=function(e,t){return t||={},t.getShadowRoot?xu([e],t.includeContainer,{filter:Lu.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):bu(e,t.includeContainer,Lu.bind(null,t))},Uu=function(e,t){if(t||={},!e)throw Error(`No node provided`);return gu.call(e,mu)!==!1&&Ru(t,e)},Wu=pu.concat(`iframe:not([inert]):not([inert] *)`).join(`,`),Gu=function(e,t){if(t||={},!e)throw Error(`No node provided`);return gu.call(e,Wu)!==!1&&Lu(t,e)};function Ku(e,t){if(t<=0)return[];let n=[];for(let r=0;r<e.length;r+=t)n.push(e.slice(r,r+t));return n}function qu(e,t){return e>=0&&e<t.length}var Ju=`data-context-menu-trigger`,Yu=`data-context-menu-content`;new Kc(`Menu.Root`),new Kc(`Menu.Root | Menu.Sub`),new Kc(`Menu.Content`),new Kc(`Menu.Group | Menu.RadioGroup`),new Kc(`Menu.RadioGroup`),new Kc(`Menu.CheckboxGroup`),new cu(`bitsmenuopen`,{bubbles:!1,cancelable:!0}),xl({component:`menu`,parts:[`trigger`,`content`,`sub-trigger`,`item`,`group`,`group-heading`,`checkbox-group`,`checkbox-item`,`radio-group`,`radio-item`,`separator`,`sub-content`,`arrow`]}),globalThis.bitsDismissableLayers??=new Map;var Xu=class e{static create(t){return new e(t)}opts;#e;#t;#n={pointerdown:!1};#r=!1;#i=!1;#a=void 0;#o;#s=Bl;constructor(e){this.opts=e,this.#t=e.interactOutsideBehavior,this.#e=e.onInteractOutside,this.#o=e.onFocusOutside,K(()=>{this.#a=du(this.opts.ref.current)});let t=Bl,n=null,r=!1,i=()=>{n!=null&&(clearTimeout(n),n=null)},a=()=>{i(),this.#g(),globalThis.bitsDismissableLayers.delete(this),this.#d.destroy(),t()};Yc([()=>this.opts.enabled.current,()=>this.opts.ref.current],()=>{if(!(!this.opts.enabled.current||!this.opts.ref.current))return i(),n=el(1,()=>{n=null,!(r||!this.opts.ref.current)&&(globalThis.bitsDismissableLayers.set(this,this.#t),t(),t=this.#l())}),a}),$c(()=>{r=!0,i(),this.#g.destroy(),globalThis.bitsDismissableLayers.delete(this),this.#d.destroy(),this.#s(),t()})}#c=e=>{e.defaultPrevented||this.opts.ref.current&&tl(()=>{!this.opts.ref.current||this.#h(e.target)||e.target&&!this.#i&&this.#o.current?.(e)})};#l(){return Pc(k(this.#a,`pointerdown`,Pc(this.#f,this.#m),{capture:!0}),k(this.#a,`pointerdown`,Pc(this.#p,this.#d)),k(this.#a,`focusin`,this.#c))}#u=e=>{let t=e;t.defaultPrevented&&(t=ed(e)),this.#e.current(e)};#d=lu(e=>{if(!this.opts.ref.current){this.#s();return}let t=this.opts.isValidEvent.current(e,this.opts.ref.current)||$u(e,this.opts.ref.current);if(!this.#r||this.#_()||!t){this.#s();return}let n=e;if(n.defaultPrevented&&(n=ed(n)),this.#t.current!==`close`&&this.#t.current!==`defer-otherwise-close`){this.#s();return}e.pointerType===`touch`?(this.#s(),this.#s=k(this.#a,`click`,this.#u,{once:!0})):this.#e.current(n)},10);#f=e=>{this.#n[e.type]=!0};#p=e=>{this.#n[e.type]=!1};#m=()=>{this.opts.ref.current&&(this.#r=Qu(this.opts.ref.current))};#h=e=>this.opts.ref.current?uu(this.opts.ref.current,e):!1;#g=lu(()=>{for(let e in this.#n)this.#n[e]=!1;this.#r=!1},20);#_(){return Object.values(this.#n).some(Boolean)}#v=()=>{this.#i=!0};#y=()=>{this.#i=!1};props={onfocuscapture:this.#v,onblurcapture:this.#y}};function Zu(e=[...globalThis.bitsDismissableLayers]){return e.findLast(([e,{current:t}])=>t===`close`||t===`ignore`)}function Qu(e){let t=[...globalThis.bitsDismissableLayers],n=Zu(t);if(n)return n[0].opts.ref.current===e;let[r]=t[0];return r.opts.ref.current===e}function $u(e,t){let n=e.target;if(!Nl(n))return!1;let r=!!n.closest(`[${Ju}]`),i=!!t.closest(`[${Yu}]`);return`button`in e&&e.button>0&&!r?!1:`button`in e&&e.button===0&&r&&i?!0:r&&i?!1:du(n).documentElement.contains(n)&&!uu(t,n)&&fu(e,t)}function ed(e){let t=e.currentTarget,n=e.target,r;r=e instanceof PointerEvent?new PointerEvent(e.type,e):new PointerEvent(`pointerdown`,e);let i=!1;return new Proxy(r,{get:(r,a)=>a===`currentTarget`?t:a===`target`?n:a===`preventDefault`?()=>{i=!0,typeof r.preventDefault==`function`&&r.preventDefault()}:a===`defaultPrevented`?i:a in r?r[a]:e[a]})}function td(e,n){Y(n,!0);let a=z(n,`interactOutsideBehavior`,3,`close`),s=z(n,`onInteractOutside`,3,Bl),c=z(n,`onFocusOutside`,3,Bl),l=z(n,`isValidEvent`,3,()=>!1),u=Xu.create({id:Z(()=>n.id),interactOutsideBehavior:Z(()=>a()),onInteractOutside:Z(()=>s()),enabled:Z(()=>n.enabled),onFocusOutside:Z(()=>c()),isValidEvent:Z(()=>l()),ref:n.ref});var d=E(),f=q(d);t(f,()=>n.children??o,()=>({props:u.props})),r(e,d),i()}globalThis.bitsEscapeLayers??=new Map;var nd=class e{static create(t){return new e(t)}opts;domContext;constructor(e){this.opts=e,this.domContext=new ml(this.opts.ref);let t=Bl;Yc(()=>e.enabled.current,n=>(n&&(globalThis.bitsEscapeLayers.set(this,e.escapeKeydownBehavior),t=this.#e()),()=>{t(),globalThis.bitsEscapeLayers.delete(this)}))}#e=()=>k(this.domContext.getDocument(),`keydown`,this.#t,{passive:!1});#t=e=>{if(e.key!==`Escape`||!rd(this))return;let t=new KeyboardEvent(e.type,e);e.preventDefault();let n=this.opts.escapeKeydownBehavior.current;(n===`close`||n===`defer-otherwise-close`)&&this.opts.onEscapeKeydown.current(t)}};function rd(e){let t=[...globalThis.bitsEscapeLayers],n=t.findLast(([e,{current:t}])=>t===`close`||t===`ignore`);if(n)return n[0]===e;let[r]=t[0];return r===e}function id(e,n){Y(n,!0);let a=z(n,`escapeKeydownBehavior`,3,`close`),s=z(n,`onEscapeKeydown`,3,Bl);nd.create({escapeKeydownBehavior:Z(()=>a()),onEscapeKeydown:Z(()=>s()),enabled:Z(()=>n.enabled),ref:n.ref});var c=E(),l=q(c);t(l,()=>n.children??o),r(e,c),i()}var ad=class e{static instance;#e=oc([]);#t=new WeakMap;#n=new WeakMap;static getInstance(){return this.instance||=new e,this.instance}register(e){let t=this.getActive();t&&t!==e&&t.pause();let n=document.activeElement;n&&n!==document.body&&this.#n.set(e,n),this.#e.current=this.#e.current.filter(t=>t!==e),this.#e.current.unshift(e)}unregister(e){this.#e.current=this.#e.current.filter(t=>t!==e);let t=this.getActive();t&&t.resume()}getActive(){return this.#e.current[0]}setFocusMemory(e,t){this.#t.set(e,t)}getFocusMemory(e){return this.#t.get(e)}isActiveScope(e){return this.getActive()===e}setPreFocusMemory(e,t){this.#n.set(e,t)}getPreFocusMemory(e){return this.#n.get(e)}clearPreFocusMemory(e){this.#n.delete(e)}},od=class e{#e=!1;#t=null;#n=ad.getInstance();#r=[];#i;constructor(e){this.#i=e}get paused(){return this.#e}pause(){this.#e=!0}resume(){this.#e=!1}#a(){for(let e of this.#r)e();this.#r=[]}mount(e){this.#t&&this.unmount(),this.#t=e,this.#n.register(this),this.#c(),this.#o()}unmount(){this.#t&&=(this.#a(),this.#s(),this.#n.unregister(this),this.#n.clearPreFocusMemory(this),null)}#o(){if(!this.#t)return;let e=new CustomEvent(`focusScope.onOpenAutoFocus`,{bubbles:!1,cancelable:!0});this.#i.onOpenAutoFocus.current(e),e.defaultPrevented||requestAnimationFrame(()=>{if(!this.#t)return;let e=this.#u();e?(e.focus(),this.#n.setFocusMemory(this,e)):this.#t.focus()})}#s(){let e=new CustomEvent(`focusScope.onCloseAutoFocus`,{bubbles:!1,cancelable:!0});if(this.#i.onCloseAutoFocus.current?.(e),!e.defaultPrevented){let e=this.#n.getPreFocusMemory(this);if(e&&document.contains(e))try{e.focus()}catch{document.body.focus()}}}#c(){if(!this.#t||!this.#i.trap.current)return;let e=this.#t,t=e.ownerDocument;this.#r.push(k(t,`focusin`,t=>{if(this.#e||!this.#n.isActiveScope(this))return;let n=t.target;if(n){if(e.contains(n))this.#n.setFocusMemory(this,n);else{let n=this.#n.getFocusMemory(this);if(n&&e.contains(n)&&Gu(n))t.preventDefault(),n.focus();else{let t=this.#u(),n=this.#d()[0];(t||n||e).focus()}}}},{capture:!0}),k(e,`keydown`,e=>{if(!this.#i.loop||this.#e||e.key!==`Tab`||!this.#n.isActiveScope(this))return;let n=this.#l();if(n.length===0)return;let r=n[0],i=n[n.length-1];!e.shiftKey&&t.activeElement===i?(e.preventDefault(),r.focus()):e.shiftKey&&t.activeElement===r&&(e.preventDefault(),i.focus())}));let n=new MutationObserver(()=>{let t=this.#n.getFocusMemory(this);if(t&&!e.contains(t)){let t=this.#u(),n=this.#d()[0],r=t||n;r?(r.focus(),this.#n.setFocusMemory(this,r)):e.focus()}});n.observe(e,{childList:!0,subtree:!0}),this.#r.push(()=>n.disconnect())}#l(){return this.#t?Vu(this.#t,{includeContainer:!1,getShadowRoot:!0}):[]}#u(){return this.#l()[0]||null}#d(){return this.#t?Hu(this.#t,{includeContainer:!1,getShadowRoot:!0}):[]}static use(t){let n=null;return Yc([()=>t.ref.current,()=>t.enabled.current],([r,i])=>{r&&i?(n||=new e(t),n.mount(r)):n&&=(n.unmount(),null)}),$c(()=>{n?.unmount()}),{get props(){return{tabindex:-1}}}}};function sd(e,n){Y(n,!0);let a=z(n,`enabled`,3,!1),s=z(n,`trapFocus`,3,!1),c=z(n,`loop`,3,!1),l=z(n,`onCloseAutoFocus`,3,Bl),u=z(n,`onOpenAutoFocus`,3,Bl),d=od.use({enabled:Z(()=>a()),trap:Z(()=>s()),loop:c(),onCloseAutoFocus:Z(()=>l()),onOpenAutoFocus:Z(()=>u()),ref:n.ref});var f=E(),p=q(f);t(p,()=>n.focusScope??o,()=>({props:d.props})),r(e,f),i()}var cd=()=>{};globalThis.bitsTextSelectionLayers??=new Map;var ld=class e{static create(t){return new e(t)}opts;domContext;#e=Bl;#t=!1;#n=cd;#r=cd;constructor(e){this.opts=e,this.domContext=new ml(e.ref);let t=Bl;Yc(()=>[this.opts.enabled.current,this.opts.onPointerDown.current,this.opts.onPointerUp.current],([e,n,r])=>(this.#t=e,this.#n=n,this.#r=r,e&&(globalThis.bitsTextSelectionLayers.set(this,this.opts.enabled),t(),t=this.#i()),()=>{this.#t=!1,t(),this.#s(),globalThis.bitsTextSelectionLayers.delete(this)}))}#i(){return Pc(k(this.domContext.getDocument(),`pointerdown`,this.#o),k(this.domContext.getDocument(),`pointerup`,sc(this.#s,this.#a)))}#a=e=>{this.#r(e)};#o=e=>{if(!this.#t)return;let t=this.opts.ref.current,n=e.target;!jl(t)||!jl(n)||!pd(this)||!ul(t,n)||(this.#n(e),!e.defaultPrevented&&(this.#e=dd(t,this.domContext.getDocument().body)))};#s=()=>{this.#e(),this.#e=Bl}},ud=e=>e.style.userSelect||e.style.webkitUserSelect;function dd(e,t){let n=ud(t),r=ud(e);return fd(t,`none`),fd(e,`text`),()=>{fd(t,n),fd(e,r)}}function fd(e,t){e.style.userSelect=t,e.style.webkitUserSelect=t}function pd(e){let t=[...globalThis.bitsTextSelectionLayers];if(!t.length)return!1;let n=t.at(-1);return n?n[0]===e:!1}function md(e,n){Y(n,!0);let a=z(n,`preventOverflowTextSelection`,3,!0),s=z(n,`onPointerDown`,3,Bl),c=z(n,`onPointerUp`,3,Bl);ld.create({id:Z(()=>n.id),onPointerDown:Z(()=>s()),onPointerUp:Z(()=>c()),enabled:Z(()=>n.enabled&&a()),ref:n.ref});var l=E(),u=q(l);t(u,()=>n.children??o),r(e,l),i()}globalThis.bitsIdCounter??={current:0};function hd(e=`bits`){return globalThis.bitsIdCounter.current++,`${e}-${globalThis.bitsIdCounter.current}`}var gd=class{#e;#t=0;#n=j();#r;constructor(e){this.#e=e}#i(){--this.#t,this.#r&&this.#t<=0&&(this.#r(),R(this.#n,void 0),this.#r=void 0)}get(...e){return this.#t+=1,A(this.#n)===void 0&&(this.#r=he(()=>{R(this.#n,this.#e(...e),!0)})),K(()=>()=>{this.#i()}),A(this.#n)}},_d=new Fe,vd=j(null),yd=null,bd=null,xd=!1,Sd=Z(()=>{for(let e of _d.values())if(e)return!0;return!1}),Cd=null,wd=new gd(()=>{function e(){document.body.setAttribute(`style`,A(vd)??``),document.body.style.removeProperty(`--scrollbar-width`),kl&&yd?.(),R(vd,null)}function t(){bd!==null&&(window.clearTimeout(bd),bd=null)}function n(e,n){t(),xd=!0,Cd=Date.now();let r=Cd,i=()=>{bd=null,Cd===r&&(Ed(_d)?xd=!1:(xd=!1,n()))},a=e===null?24:e;bd=window.setTimeout(i,a)}function r(){A(vd)===null&&_d.size===0&&!xd&&R(vd,document.body.getAttribute(`style`),!0)}return Yc(()=>Sd.current,()=>{if(!Sd.current)return;r(),xd=!1;let e=getComputedStyle(document.documentElement),t=getComputedStyle(document.body),n=e.scrollbarGutter?.includes(`stable`)||t.scrollbarGutter?.includes(`stable`),i=window.innerWidth-document.documentElement.clientWidth,a={padding:Number.parseInt(t.paddingRight??`0`,10)+i,margin:Number.parseInt(t.marginRight??`0`,10)};i>0&&!n&&(document.body.style.paddingRight=`${a.padding}px`,document.body.style.marginRight=`${a.margin}px`,document.body.style.setProperty(`--scrollbar-width`,`${i}px`)),document.body.style.overflow=`hidden`,kl&&(yd=k(document,`touchmove`,e=>{e.target===document.documentElement&&(e.touches.length>1||e.preventDefault())},{passive:!1})),tl(()=>{document.body.style.pointerEvents=`none`,document.body.style.overflow=`hidden`})}),$c(()=>()=>{yd?.()}),{get lockMap(){return _d},resetBodyStyle:e,scheduleCleanupIfNoNewLocks:n,cancelPendingCleanup:t,ensureInitialStyleCaptured:r}}),Td=class{#e=hd();#t;#n=()=>null;#r;locked;constructor(e,t=()=>null){this.#t=e,this.#n=t,this.#r=wd.get(),this.#r&&(this.#r.cancelPendingCleanup(),this.#r.ensureInitialStyleCaptured(),this.#r.lockMap.set(this.#e,this.#t??!1),this.locked=Z(()=>this.#r.lockMap.get(this.#e)??!1,e=>this.#r.lockMap.set(this.#e,e)),$c(()=>{if(this.#r.lockMap.delete(this.#e),Ed(this.#r.lockMap))return;let e=this.#n();this.#r.scheduleCleanupIfNoNewLocks(e,()=>{this.#r.resetBodyStyle()})}))}};function Ed(e){for(let[t,n]of e)if(n)return!0;return!1}function Dd(e,t){Y(t,!0);let n=z(t,`preventScroll`,3,!0),r=z(t,`restoreScrollDelay`,3,null);n()&&new Td(n(),()=>r()),i()}var Od=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`forceMount`,`child`,`children`,`ref`]),kd=c(`<div><!></div>`);function Ad(e,n){let a=D();Y(n,!0);let s=z(n,`id`,19,()=>Vl(a)),c=z(n,`forceMount`,3,!1),l=z(n,`ref`,15,null),u=M(n,Od),d=Yl.create({id:Z(()=>s()),ref:Z(()=>l(),e=>l(e))}),f=J(()=>Q(u,d.props));var p=E(),m=q(p),h=e=>{var i=E(),a=q(i),s=e=>{var i=E(),a=q(i);{let e=J(()=>({props:Q(A(f)),...d.snippetProps}));t(a,()=>n.child,()=>A(e))}r(e,i)},c=e=>{var i=kd();W(i,e=>({...e}),[()=>Q(A(f))]);var a=U(i);t(a,()=>n.children??o,()=>d.snippetProps),V(i),r(e,i)};v(a,e=>{n.child?e(s):e(c,-1)}),r(e,i)};v(m,e=>{(d.shouldRender||c())&&e(h)}),r(e,p),i()}var jd=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`children`,`child`,`ref`]),Md=c(`<div><!></div>`);function Nd(e,n){let a=D();Y(n,!0);let s=z(n,`id`,19,()=>Vl(a)),c=z(n,`ref`,15,null),l=M(n,jd),u=ql.create({id:Z(()=>s()),ref:Z(()=>c(),e=>c(e))}),d=J(()=>Q(l,u.props));var f=E(),p=q(f),m=e=>{var i=E(),a=q(i);t(a,()=>n.child,()=>({props:A(d)})),r(e,i)},h=e=>{var i=Md();W(i,()=>({...A(d)}));var a=U(i);t(a,()=>n.children??o),V(i),r(e,i)};v(p,e=>{n.child?e(m):e(h,-1)}),r(e,f),i()}function Pd(e,t){return e-t*Math.floor(e/t)}var Fd=1721426;function Id(e,t,n,r){t=Rd(e,t);let i=t-1,a=-2;return n<=2?a=0:Ld(t)&&(a=-1),1721425+365*i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400)+Math.floor((367*n-362)/12+a+r)}function Ld(e){return e%4==0&&(e%100!=0||e%400==0)}function Rd(e,t){return e===`BC`?1-t:t}function zd(e){let t=`AD`;return e<=0&&(t=`BC`,e=1-e),[t,e]}var Bd={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]},Vd=class{fromJulianDay(e){let t=e,n=t-Fd,r=Math.floor(n/146097),i=Pd(n,146097),a=Math.floor(i/36524),o=Pd(i,36524),s=Math.floor(o/1461),c=Pd(o,1461),l=Math.floor(c/365),[u,d]=zd(r*400+a*100+s*4+l+ +(a!==4&&l!==4)),f=t-Id(u,d,1,1),p=2;t<Id(u,d,3,1)?p=0:Ld(d)&&(p=1);let m=Math.floor(((f+p)*12+373)/367);return new dp(u,d,m,t-Id(u,d,m,1)+1)}toJulianDay(e){return Id(e.era,e.year,e.month,e.day)}getDaysInMonth(e){return Bd[Ld(e.year)?`leapyear`:`standard`][e.month-1]}getMonthsInYear(e){return 12}getDaysInYear(e){return Ld(e.year)?366:365}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 31}getYearsInEra(e){return 9999}getEras(){return[`BC`,`AD`]}isInverseEra(e){return e.era===`BC`}balanceDate(e){e.year<=0&&(e.era=e.era===`BC`?`AD`:`BC`,e.year=1-e.year)}constructor(){this.identifier=`gregory`}},Hd={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function Ud(e,t){return t=Tf(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function Wd(e,t){return t=Tf(t,e.calendar),e=af(e),t=af(t),e.era===t.era&&e.year===t.year&&e.month===t.month}function Gd(e,t){return e.isEqual?.(t)??t.isEqual?.(e)??e.identifier===t.identifier}function Kd(e,t){return Ud(e,Xd(t))}var qd={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function Jd(e,t,n){let r=e.calendar.toJulianDay(e),i=n?qd[n]:uf(t),a=Math.ceil(r+1-i)%7;return a<0&&(a+=7),a}function Yd(e){return Sf(Date.now(),e)}function Xd(e){return Cf(Yd(e))}function Zd(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Qd(e,t){return $d(e)-$d(t)}function $d(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}var ef=null,tf=!1;function nf(){return ef??=new Intl.DateTimeFormat().resolvedOptions().timeZone,ef}function rf(){return tf}function af(e){return e.subtract({days:e.day-1})}function of(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}var sf=new Map,cf=new Map;function lf(e){if(Intl.Locale){let t=sf.get(e);return t||(t=new Intl.Locale(e).maximize().region,t&&sf.set(e,t)),t}let t=e.split(`-`)[1];return t===`u`?void 0:t}function uf(e){let t=cf.get(e);if(!t){if(Intl.Locale){let n=new Intl.Locale(e);if(`getWeekInfo`in n&&(t=n.getWeekInfo(),t))return cf.set(e,t),t.firstDay}let n=lf(e);if(e.includes(`-fw-`)){let n=e.split(`-fw-`)[1].split(`-`)[0];t=n===`mon`?{firstDay:1}:n===`tue`?{firstDay:2}:n===`wed`?{firstDay:3}:n===`thu`?{firstDay:4}:n===`fri`?{firstDay:5}:n===`sat`?{firstDay:6}:{firstDay:0}}else t=e.includes(`-ca-iso8601`)?{firstDay:1}:{firstDay:n&&Hd[n]||0};cf.set(e,t)}return t.firstDay}function df(e){return e=Tf(e,new Vd),ff(Rd(e.era,e.year),e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function ff(e,t,n,r,i,a,o){let s=new Date;return s.setUTCHours(r,i,a,o),s.setUTCFullYear(e,t-1,n),s.getTime()}function pf(e,t){if(t===`UTC`)return 0;if(e>0&&t===nf()&&!rf())return new Date(e).getTimezoneOffset()*-6e4;let{year:n,month:r,day:i,hour:a,minute:o,second:s}=hf(e,t);return ff(n,r,i,a,o,s,0)-Math.floor(e/1e3)*1e3}var mf=new Map;function hf(e,t){let n=mf.get(t);n||(n=new Intl.DateTimeFormat(`en-US`,{timeZone:t,hour12:!1,era:`short`,year:`numeric`,month:`numeric`,day:`numeric`,hour:`numeric`,minute:`numeric`,second:`numeric`}),mf.set(t,n));let r=n.formatToParts(new Date(e)),i={};for(let e of r)e.type!==`literal`&&(i[e.type]=e.value);return{year:i.era===`BC`||i.era===`B`?-i.year+1:+i.year,month:+i.month,day:+i.day,hour:i.hour===`24`?0:+i.hour,minute:+i.minute,second:+i.second}}var gf=864e5;function _f(e,t){let n=df(e);return vf(e,t,n-pf(n-gf,t),n-pf(n+gf,t))}function vf(e,t,n,r){return(n===r?[n]:[n,r]).filter(n=>yf(e,t,n))}function yf(e,t,n){let r=hf(n,t);return e.year===r.year&&e.month===r.month&&e.day===r.day&&e.hour===r.hour&&e.minute===r.minute&&e.second===r.second}function bf(e,t,n=`compatible`){let r=wf(e);if(t===`UTC`)return df(r);if(t===nf()&&n===`compatible`&&!rf()){r=Tf(r,new Vd);let e=new Date,t=Rd(r.era,r.year);return e.setFullYear(t,r.month-1,r.day),e.setHours(r.hour,r.minute,r.second,r.millisecond),e.getTime()}let i=df(r),a=pf(i-gf,t),o=pf(i+gf,t),s=vf(r,t,i-a,i-o);if(s.length===1)return s[0];if(s.length>1)switch(n){case`compatible`:case`earlier`:return s[0];case`later`:return s[s.length-1];case`reject`:throw RangeError(`Multiple possible absolute times found`)}switch(n){case`earlier`:return Math.min(i-a,i-o);case`compatible`:case`later`:return Math.max(i-a,i-o);case`reject`:throw RangeError(`No such absolute time found`)}}function xf(e,t,n=`compatible`){return new Date(bf(e,t,n))}function Sf(e,t){let n=pf(e,t),r=new Date(e+n),i=r.getUTCFullYear(),a=r.getUTCMonth()+1,o=r.getUTCDate(),s=r.getUTCHours(),c=r.getUTCMinutes(),l=r.getUTCSeconds(),u=r.getUTCMilliseconds();return new pp(i<1?`BC`:`AD`,i<1?-i+1:i,a,o,t,n,s,c,l,u)}function Cf(e){return new dp(e.calendar,e.era,e.year,e.month,e.day)}function wf(e,t){let n=0,r=0,i=0,a=0;if(`timeZone`in e)({hour:n,minute:r,second:i,millisecond:a}=e);else if(`hour`in e&&!t)return e;return t&&({hour:n,minute:r,second:i,millisecond:a}=t),new fp(e.calendar,e.era,e.year,e.month,e.day,n,r,i,a)}function Tf(e,t){if(Gd(e.calendar,t))return e;let n=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,Ff(r),r}function Ef(e,t,n){return e instanceof pp?e.timeZone===t?e:Of(e,t):Sf(bf(e,t,n),t)}function Df(e){let t=df(e)-e.offset;return new Date(t)}function Of(e,t){return Tf(Sf(df(e)-e.offset,t),e.calendar)}var kf=36e5;function Af(e,t){let n=e.copy(),r=`hour`in n?Uf(n,t):0;jf(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e),n.month+=t.months||0,Mf(n),Pf(n),n.day+=(t.weeks||0)*7,n.day+=t.days||0,n.day+=r,Nf(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let i=n.calendar.getYearsInEra(n);if(n.year>i){let e=n.calendar.isInverseEra?.(n);n.year=i,n.month=e?1:n.calendar.getMonthsInYear(n),n.day=e?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let a=n.calendar.getMonthsInYear(n);return n.month>a&&(n.month=a,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}function jf(e,t){e.calendar.isInverseEra?.(e)&&(t=-t),e.year+=t}function Mf(e){for(;e.month<1;)jf(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,jf(e,1)}function Nf(e){for(;e.day<1;)e.month--,Mf(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,Mf(e)}function Pf(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function Ff(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Pf(e)}function If(e){let t={};for(let n in e)typeof e[n]==`number`&&(t[n]=-e[n]);return t}function Lf(e,t){return Af(e,If(t))}function Rf(e,t){let n=e.copy();return t.era!=null&&(n.era=t.era),t.year!=null&&(n.year=t.year),t.month!=null&&(n.month=t.month),t.day!=null&&(n.day=t.day),Ff(n),n}function zf(e,t){let n=e.copy();return t.hour!=null&&(n.hour=t.hour),t.minute!=null&&(n.minute=t.minute),t.second!=null&&(n.second=t.second),t.millisecond!=null&&(n.millisecond=t.millisecond),Vf(n),n}function Bf(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=Hf(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=Hf(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=Hf(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=Hf(e.hour,24),t}function Vf(e){e.millisecond=Math.max(0,Math.min(e.millisecond,999)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function Hf(e,t){let n=e%t;return n<0&&(n+=t),n}function Uf(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,Bf(e)}function Wf(e,t,n,r){let i=e.copy();switch(t){case`era`:{let t=e.calendar.getEras(),a=t.indexOf(e.era);if(a<0)throw Error(`Invalid era: `+e.era);a=Kf(a,n,0,t.length-1,r?.round),i.era=t[a],Ff(i);break}case`year`:i.calendar.isInverseEra?.(i)&&(n=-n),i.year=Kf(e.year,n,-1/0,9999,r?.round),i.year===-1/0&&(i.year=1),i.calendar.balanceYearMonth&&i.calendar.balanceYearMonth(i,e);break;case`month`:i.month=Kf(e.month,n,1,e.calendar.getMonthsInYear(e),r?.round);break;case`day`:i.day=Kf(e.day,n,1,e.calendar.getDaysInMonth(e),r?.round);break;default:throw Error(`Unsupported field `+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(i),Ff(i),i}function Gf(e,t,n,r){let i=e.copy();switch(t){case`hour`:{let t=e.hour,a=0,o=23;if(r?.hourCycle===12){let e=t>=12;a=e?12:0,o=e?23:11}i.hour=Kf(t,n,a,o,r?.round);break}case`minute`:i.minute=Kf(e.minute,n,0,59,r?.round);break;case`second`:i.second=Kf(e.second,n,0,59,r?.round);break;case`millisecond`:i.millisecond=Kf(e.millisecond,n,0,999,r?.round);break;default:throw Error(`Unsupported field `+t)}return i}function Kf(e,t,n,r,i=!1){if(i){e+=Math.sign(t),e<n&&(e=r);let i=Math.abs(t);e=t>0?Math.ceil(e/i)*i:Math.floor(e/i)*i,e>r&&(e=n)}else e+=t,e<n?e=r-(n-e-1):e>r&&(e=n+(e-r-1));return e}function qf(e,t){let n;return n=t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0?bf(Af(wf(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days}),e.timeZone):df(e)-e.offset,n+=t.milliseconds||0,n+=(t.seconds||0)*1e3,n+=(t.minutes||0)*6e4,n+=(t.hours||0)*36e5,Tf(Sf(n,e.timeZone),e.calendar)}function Jf(e,t){return qf(e,If(t))}function Yf(e,t,n,r){switch(t){case`hour`:{let t=0,i=23;if(r?.hourCycle===12){let n=e.hour>=12;t=n?12:0,i=n?23:11}let a=wf(e),o=Tf(zf(a,{hour:t}),new Vd),s=[bf(o,e.timeZone,`earlier`),bf(o,e.timeZone,`later`)].filter(t=>Sf(t,e.timeZone).day===o.day)[0],c=Tf(zf(a,{hour:i}),new Vd),l=[bf(c,e.timeZone,`earlier`),bf(c,e.timeZone,`later`)].filter(t=>Sf(t,e.timeZone).day===c.day).pop(),u=df(e)-e.offset,d=Math.floor(u/kf),f=u%kf;return u=Kf(d,n,Math.floor(s/kf),Math.floor(l/kf),r?.round)*kf+f,Tf(Sf(u,e.timeZone),e.calendar)}case`minute`:case`second`:case`millisecond`:return Gf(e,t,n,r);case`era`:case`year`:case`month`:case`day`:return Tf(Sf(bf(Wf(wf(e),t,n,r),e.timeZone),e.timeZone),e.calendar);default:throw Error(`Unsupported field `+t)}}function Xf(e,t,n){let r=wf(e),i=zf(Rf(r,t),t);return i.compare(r)===0?e:Tf(Sf(bf(i,e.timeZone,n),e.timeZone),e.calendar)}var Zf=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})$/,Qf=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?$/,$f=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?(?:([+-]\d{2})(?::?(\d{2}))?(?::?(\d{2}))?)?\[(.*?)\]$/,ep=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?(?:(?:([+-]\d{2})(?::?(\d{2}))?)|Z)$/;function tp(e){let t=e.match(Zf);if(!t)throw ep.test(e)?Error(`Invalid ISO 8601 date string: ${e}. Use parseAbsolute() instead.`):Error(`Invalid ISO 8601 date string: `+e);let n=new dp(ip(t[1],0,9999),ip(t[2],1,12),1);return n.day=ip(t[3],1,n.calendar.getDaysInMonth(n)),n}function np(e){let t=e.match(Qf);if(!t)throw ep.test(e)?Error(`Invalid ISO 8601 date time string: ${e}. Use parseAbsolute() instead.`):Error(`Invalid ISO 8601 date time string: `+e);let n=ip(t[1],-9999,9999),r=new fp(n<1?`BC`:`AD`,n<1?-n+1:n,ip(t[2],1,12),1,t[4]?ip(t[4],0,23):0,t[5]?ip(t[5],0,59):0,t[6]?ip(t[6],0,59):0,t[7]?ip(t[7],0,1/0)*1e3:0);return r.day=ip(t[3],0,r.calendar.getDaysInMonth(r)),r}function rp(e,t){let n=e.match($f);if(!n)throw Error(`Invalid ISO 8601 date time string: `+e);let r=ip(n[1],-9999,9999),i=new pp(r<1?`BC`:`AD`,r<1?-r+1:r,ip(n[2],1,12),1,n[11],0,n[4]?ip(n[4],0,23):0,n[5]?ip(n[5],0,59):0,n[6]?ip(n[6],0,59):0,n[7]?ip(n[7],0,1/0)*1e3:0);i.day=ip(n[3],0,i.calendar.getDaysInMonth(i));let a=wf(i),o;if(n[8]){let e=ip(n[8],-23,23);if(i.offset=Math.sign(e)*(Math.abs(e)*36e5+ip(n[9]??`0`,0,59)*6e4+ip(n[10]??`0`,0,59)*1e3),o=df(i)-i.offset,!_f(a,i.timeZone).includes(o))throw Error(`Offset ${cp(i.offset)} is invalid for ${sp(i)} in ${i.timeZone}`)}else o=bf(wf(a),i.timeZone,t);return Sf(o,i.timeZone)}function ip(e,t,n){let r=Number(e);if(r<t||r>n)throw RangeError(`Value out of range: ${t} <= ${r} <= ${n}`);return r}function ap(e){return`${String(e.hour).padStart(2,`0`)}:${String(e.minute).padStart(2,`0`)}:${String(e.second).padStart(2,`0`)}${e.millisecond?String(e.millisecond/1e3).slice(1):``}`}function op(e){let t=Tf(e,new Vd),n;return n=t.era===`BC`?t.year===1?`0000`:`-`+String(Math.abs(1-t.year)).padStart(6,`00`):String(t.year).padStart(4,`0`),`${n}-${String(t.month).padStart(2,`0`)}-${String(t.day).padStart(2,`0`)}`}function sp(e){return`${op(e)}T${ap(e)}`}function cp(e){let t=Math.sign(e)<0?`-`:`+`;e=Math.abs(e);let n=Math.floor(e/36e5),r=Math.floor(e%36e5/6e4),i=Math.floor(e%36e5%6e4/1e3),a=`${t}${String(n).padStart(2,`0`)}:${String(r).padStart(2,`0`)}`;return i!==0&&(a+=`:${String(i).padStart(2,`0`)}`),a}function lp(e){return`${sp(e)}${cp(e.offset)}[${e.timeZone}]`}function up(e){let t=typeof e[0]==`object`?e.shift():new Vd,n;if(typeof e[0]==`string`)n=e.shift();else{let e=t.getEras();n=e[e.length-1]}let r=e.shift(),i=e.shift(),a=e.shift();return[t,n,r,i,a]}var dp=class e{constructor(...e){let[t,n,r,i,a]=up(e);this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,Ff(this)}copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day):new e(this.calendar,this.year,this.month,this.day)}add(e){return Af(this,e)}subtract(e){return Lf(this,e)}set(e){return Rf(this,e)}cycle(e,t,n){return Wf(this,e,t,n)}toDate(e){return xf(this,e)}toString(){return op(this)}compare(e){return Zd(this,e)}},fp=class e{constructor(...e){let[t,n,r,i,a]=up(e);this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,Ff(this)}copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new e(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return Af(this,e)}subtract(e){return Lf(this,e)}set(e){return Rf(zf(this,e),e)}cycle(e,t,n){switch(e){case`era`:case`year`:case`month`:case`day`:return Wf(this,e,t,n);default:return Gf(this,e,t,n)}}toDate(e,t){return xf(this,e,t)}toString(){return sp(this)}compare(e){let t=Zd(this,e);return t===0?Qd(this,wf(e)):t}},pp=class e{constructor(...e){let[t,n,r,i,a]=up(e),o=e.shift(),s=e.shift();this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,this.timeZone=o,this.offset=s,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,Ff(this)}copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new e(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return qf(this,e)}subtract(e){return Jf(this,e)}set(e,t){return Xf(this,e,t)}cycle(e,t,n){return Yf(this,e,t,n)}toDate(){return Df(this)}toString(){return lp(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-Ef(e,this.timeZone).toDate().getTime()}},mp=new Map,hp=class{constructor(e,t={}){this.formatter=_p(e,t),this.options=t}format(e){return this.formatter.format(e)}formatToParts(e){return this.formatter.formatToParts(e)}formatRange(e,t){if(typeof this.formatter.formatRange==`function`)return this.formatter.formatRange(e,t);if(t<e)throw RangeError(`End date must be >= start date`);return`${this.formatter.format(e)} \u{2013} ${this.formatter.format(t)}`}formatRangeToParts(e,t){if(typeof this.formatter.formatRangeToParts==`function`)return this.formatter.formatRangeToParts(e,t);if(t<e)throw RangeError(`End date must be >= start date`);let n=this.formatter.formatToParts(e),r=this.formatter.formatToParts(t);return[...n.map(e=>({...e,source:`startRange`})),{type:`literal`,value:` – `,source:`shared`},...r.map(e=>({...e,source:`endRange`}))]}resolvedOptions(){let e=this.formatter.resolvedOptions();return xp()&&(this.resolvedHourCycle||=Sp(e.locale,this.options),e.hourCycle=this.resolvedHourCycle,e.hour12=this.resolvedHourCycle===`h11`||this.resolvedHourCycle===`h12`),e.calendar===`ethiopic-amete-alem`&&(e.calendar=`ethioaa`),e}},gp={true:{ja:`h11`},false:{}};function _p(e,t={}){if(typeof t.hour12==`boolean`&&yp()){t={...t};let n=gp[String(t.hour12)][e.split(`-`)[0]],r=t.hour12?`h12`:`h23`;t.hourCycle=n??r,delete t.hour12}let n=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():``);if(mp.has(n))return mp.get(n);let r=new Intl.DateTimeFormat(e,t);return mp.set(n,r),r}var vp=null;function yp(){return vp??=new Intl.DateTimeFormat(`en-US`,{hour:`numeric`,hour12:!1}).format(new Date(2020,2,3,0))===`24`,vp}var bp=null;function xp(){return bp??=new Intl.DateTimeFormat(`fr`,{hour:`numeric`,hour12:!1}).resolvedOptions().hourCycle===`h12`,bp}function Sp(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,``),e+=(e.includes(`-u-`)?``:`-u`)+`-nu-latn`;let n=_p(e,{...t,timeZone:void 0}),r=parseInt(n.formatToParts(new Date(2020,2,3,0)).find(e=>e.type===`hour`).value,10),i=parseInt(n.formatToParts(new Date(2020,2,3,23)).find(e=>e.type===`hour`).value,10);if(r===0&&i===23)return`h23`;if(r===24&&i===23)return`h24`;if(r===0&&i===11)return`h11`;if(r===12&&i===11)return`h12`;throw Error(`Unexpected hour cycle result`)}function Cp(e){if(!Ol||!e)return null;let t=e.querySelector(`[data-bits-announcer]`),n=t=>{let n=e.createElement(`div`);return n.role=`log`,n.ariaLive=t,n.setAttribute(`aria-relevant`,`additions`),n};if(!jl(t)){let r=e.createElement(`div`);r.style.cssText=Hc,r.setAttribute(`data-bits-announcer`,``),r.appendChild(n(`assertive`)),r.appendChild(n(`polite`)),t=r,e.body.insertBefore(t,e.body.firstChild)}return{getLog:e=>{if(!jl(t))return null;let n=t.querySelector(`[aria-live="${e}"]`);return jl(n)?n:null}}}function wp(e){let t=Cp(e);function n(n,r=`assertive`,i=7500){if(!t||!Ol||!e)return;let a=t.getLog(r),o=e.createElement(`div`);return n=typeof n==`number`?n.toString():n===null?`Empty`:n.trim(),o.innerText=n,r===`assertive`?a?.replaceChildren(o):a?.appendChild(o),setTimeout(()=>{o.remove()},i)}return{announce:n}}var Tp={defaultValue:void 0,granularity:`day`};function Ep(e){let{defaultValue:t,granularity:n,minValue:r,maxValue:i}={...Tp,...e};if(Array.isArray(t)&&t.length)return t[t.length-1];if(t&&!Array.isArray(t))return t;{let e=new Date;r&&e<r.toDate(nf())?e=r.toDate(nf()):i&&e>i.toDate(nf())&&(e=i.toDate(nf()));let t=e.getFullYear(),a=e.getMonth()+1,o=e.getDate();return[`hour`,`minute`,`second`].includes(n??`day`)?new fp(t,a,o,0,0,0):new dp(t,a,o)}}function Dp(e,t){let n;return n=t instanceof pp?rp(e):t instanceof fp?np(e):tp(e),n.calendar===t.calendar?n:Tf(n,t.calendar)}function Op(e,t=nf()){return e instanceof pp?e.toDate():e.toDate(t)}function kp(e){if(e instanceof dp)return`date`;if(e instanceof fp)return`datetime`;if(e instanceof pp)return`zoneddatetime`;throw Error(`Unknown date type`)}function Ap(e,t){switch(t){case`date`:return tp(e);case`datetime`:return np(e);case`zoneddatetime`:return rp(e);default:throw Error(`Unknown date type: ${t}`)}}function jp(e){return e instanceof fp}function Mp(e){return e instanceof pp}function Np(e){return jp(e)||Mp(e)}function Pp(e){if(e instanceof Date){let t=e.getFullYear(),n=e.getMonth()+1;return new Date(t,n,0).getDate()}return e.set({day:100}).day}function Fp(e,t){return e.compare(t)<0}function Ip(e,t){return e.compare(t)>0}function Lp(e,t,n){let r=Jd(e,n);return t>r?e.subtract({days:r+7-t}):t===r?e:e.subtract({days:r-t})}function Rp(e,t,n){let r=Jd(e,n),i=t===0?6:t-1;return r===i?e:r>i?e.add({days:7-r+i}):e.add({days:i-r})}var zp=[`day`,`month`,`year`],Bp=[`hour`,`minute`,`second`,`dayPeriod`],Vp=[`literal`,`timeZoneName`],Hp=[...zp,...Bp],Up=[...Hp,...Vp],Wp=[...Bp,...Vp];Up.filter(e=>e!==`literal`),Wp.filter(e=>e!==`literal`);var Gp=`ach.af.am.an.ar.ast.az.be.bg.bn.br.bs.ca.cak.ckb.cs.cy.da.de.dsb.el.en.eo.es.et.eu.fa.ff.fi.fr.fy.ga.gd.gl.he.hr.hsb.hu.ia.id.it.ja.ka.kk.kn.ko.lb.lo.lt.lv.meh.ml.ms.nl.nn.no.oc.pl.pt.rm.ro.ru.sc.scn.sk.sl.sr.sv.szl.tg.th.tr.uk.zh-CN.zh-TW`.split(`.`),Kp=[`year`,`month`,`day`],qp={ach:{year:`mwaka`,month:`dwe`,day:`nino`},af:{year:`jjjj`,month:`mm`,day:`dd`},am:{year:`ዓዓዓዓ`,month:`ሚሜ`,day:`ቀቀ`},an:{year:`aaaa`,month:`mm`,day:`dd`},ar:{year:`سنة`,month:`شهر`,day:`يوم`},ast:{year:`aaaa`,month:`mm`,day:`dd`},az:{year:`iiii`,month:`aa`,day:`gg`},be:{year:`гггг`,month:`мм`,day:`дд`},bg:{year:`гггг`,month:`мм`,day:`дд`},bn:{year:`yyyy`,month:`মিমি`,day:`dd`},br:{year:`bbbb`,month:`mm`,day:`dd`},bs:{year:`gggg`,month:`mm`,day:`dd`},ca:{year:`aaaa`,month:`mm`,day:`dd`},cak:{year:`jjjj`,month:`ii`,day:`q'q'`},ckb:{year:`ساڵ`,month:`مانگ`,day:`ڕۆژ`},cs:{year:`rrrr`,month:`mm`,day:`dd`},cy:{year:`bbbb`,month:`mm`,day:`dd`},da:{year:`åååå`,month:`mm`,day:`dd`},de:{year:`jjjj`,month:`mm`,day:`tt`},dsb:{year:`llll`,month:`mm`,day:`źź`},el:{year:`εεεε`,month:`μμ`,day:`ηη`},en:{year:`yyyy`,month:`mm`,day:`dd`},eo:{year:`jjjj`,month:`mm`,day:`tt`},es:{year:`aaaa`,month:`mm`,day:`dd`},et:{year:`aaaa`,month:`kk`,day:`pp`},eu:{year:`uuuu`,month:`hh`,day:`ee`},fa:{year:`سال`,month:`ماه`,day:`روز`},ff:{year:`hhhh`,month:`ll`,day:`ññ`},fi:{year:`vvvv`,month:`kk`,day:`pp`},fr:{year:`aaaa`,month:`mm`,day:`jj`},fy:{year:`jjjj`,month:`mm`,day:`dd`},ga:{year:`bbbb`,month:`mm`,day:`ll`},gd:{year:`bbbb`,month:`mm`,day:`ll`},gl:{year:`aaaa`,month:`mm`,day:`dd`},he:{year:`שנה`,month:`חודש`,day:`יום`},hr:{year:`gggg`,month:`mm`,day:`dd`},hsb:{year:`llll`,month:`mm`,day:`dd`},hu:{year:`éééé`,month:`hh`,day:`nn`},ia:{year:`aaaa`,month:`mm`,day:`dd`},id:{year:`tttt`,month:`bb`,day:`hh`},it:{year:`aaaa`,month:`mm`,day:`gg`},ja:{year:` 年 `,month:`月`,day:`日`},ka:{year:`წწწწ`,month:`თთ`,day:`რრ`},kk:{year:`жжжж`,month:`аа`,day:`кк`},kn:{year:`ವವವವ`,month:`ಮಿಮೀ`,day:`ದಿದಿ`},ko:{year:`연도`,month:`월`,day:`일`},lb:{year:`jjjj`,month:`mm`,day:`dd`},lo:{year:`ປປປປ`,month:`ດດ`,day:`ວວ`},lt:{year:`mmmm`,month:`mm`,day:`dd`},lv:{year:`gggg`,month:`mm`,day:`dd`},meh:{year:`aaaa`,month:`mm`,day:`dd`},ml:{year:`വർഷം`,month:`മാസം`,day:`തീയതി`},ms:{year:`tttt`,month:`mm`,day:`hh`},nl:{year:`jjjj`,month:`mm`,day:`dd`},nn:{year:`åååå`,month:`mm`,day:`dd`},no:{year:`åååå`,month:`mm`,day:`dd`},oc:{year:`aaaa`,month:`mm`,day:`jj`},pl:{year:`rrrr`,month:`mm`,day:`dd`},pt:{year:`aaaa`,month:`mm`,day:`dd`},rm:{year:`oooo`,month:`mm`,day:`dd`},ro:{year:`aaaa`,month:`ll`,day:`zz`},ru:{year:`гггг`,month:`мм`,day:`дд`},sc:{year:`aaaa`,month:`mm`,day:`dd`},scn:{year:`aaaa`,month:`mm`,day:`jj`},sk:{year:`rrrr`,month:`mm`,day:`dd`},sl:{year:`llll`,month:`mm`,day:`dd`},sr:{year:`гггг`,month:`мм`,day:`дд`},sv:{year:`åååå`,month:`mm`,day:`dd`},szl:{year:`rrrr`,month:`mm`,day:`dd`},tg:{year:`сссс`,month:`мм`,day:`рр`},th:{year:`ปปปป`,month:`ดด`,day:`วว`},tr:{year:`yyyy`,month:`aa`,day:`gg`},uk:{year:`рррр`,month:`мм`,day:`дд`},"zh-CN":{year:`年`,month:`月`,day:`日`},"zh-TW":{year:`年`,month:`月`,day:`日`}};function Jp(e){if(Xp(e))return qp[e];{let t=em(e);return Xp(t)?qp[t]:qp.en}}function Yp(e,t,n){return Zp(e)?Jp(n)[e]:$p(e)?t:Qp(e)?`––`:``}function Xp(e){return Gp.includes(e)}function Zp(e){return Kp.includes(e)}function Qp(e){return e===`hour`||e===`minute`||e===`second`}function $p(e){return e===`era`||e===`dayPeriod`}function em(e){return Intl.Locale?new Intl.Locale(e).language:e.split(`-`)[0]}function tm(e){let t=[`hour`,`minute`,`second`],n=Hp.map(e=>e===`dayPeriod`?[e,`AM`]:[e,null]).filter(([n])=>n===`literal`||n===null?!1:e!==`day`||!t.includes(n));return Object.fromEntries(n)}function nm(e){let{segmentValues:t,formatter:n,locale:r,dateRef:i}=e,a=Object.keys(t).reduce((e,n)=>{if(!cm(n))return e;if(`hour`in t&&n===`dayPeriod`){let i=t[n];e[n]=Fl(i)?Yp(n,`AM`,r):i}else e[n]=o(n);return e},{});function o(a){if(`hour`in t){let o=t[a],s=typeof o==`string`&&o?.startsWith(`0`),c=o===null?null:Number.parseInt(o);if(o===`0`&&a!==`year`)return`0`;if(!Fl(o)&&!Fl(c)){let t=n.part(i.set({[a]:o}),a,{hourCycle:e.hourCycle===24?`h23`:void 0}),l=e.hourCycle===12||e.hourCycle===void 0&&ym(r)===12;if(a===`hour`&&l){if(c>12){let e=c-12;return e===0?`12`:e<10?`0${e}`:`${e}`}return c===0?`12`:c<10?`0${c}`:`${c}`}return a===`year`?`${o}`:s&&t.length===1?`0${t}`:t}return Yp(a,``,r)}if(sm(a)){let e=t[a],o=typeof e==`string`&&e?.startsWith(`0`);if(e===`0`)return`0`;if(Fl(e))return Yp(a,``,r);{let t=n.part(i.set({[a]:e}),a);return a===`year`?`${e}`:o&&t.length===1?`0${t}`:t}}return``}return a}function rm(e){let{granularity:t,dateRef:n,formatter:r,contentObj:i,hideTimeZone:a,hourCycle:o}=e;return r.toParts(n,am(t,o)).map(e=>[`literal`,`dayPeriod`,`timeZoneName`,null].includes(e.type)||!cm(e.type)?{part:e.type,value:e.value}:{part:e.type,value:i[e.type]}).filter(e=>!(Fl(e.part)||Fl(e.value)||e.part===`timeZoneName`&&(!Mp(n)||a)))}function im(e){let t=nm(e);return{obj:t,arr:rm({contentObj:t,...e})}}function am(e,t){let n={year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,timeZoneName:`short`,hourCycle:t===24?`h23`:void 0,hour12:t!==24&&void 0};return e===`day`&&(delete n.second,delete n.hour,delete n.minute,delete n.timeZoneName),e===`hour`&&delete n.minute,e===`minute`&&delete n.second,n}function om(){return Hp.reduce((e,t)=>(e[t]={lastKeyZero:!1,hasLeftFocus:!0,updating:null},e),{})}function sm(e){return zp.includes(e)}function cm(e){return Hp.includes(e)}function lm(e){return Up.includes(e)}function um(e){return!Ol||!e?[]:Dm(e).map(e=>e.dataset.segment).filter(e=>Hp.includes(e))}function dm(e){let{segmentObj:t,fieldNode:n,dateRef:r}=e,i=um(n),a=r;for(let e of i)if(`hour`in t){let n=t[e];if(Fl(n))continue;a=a.set({[e]:t[e]})}else if(sm(e)){let n=t[e];if(Fl(n))continue;a=a.set({[e]:t[e]})}return a}function fm(e,t){let n=um(t);for(let t of n)if(`hour`in e){if(e[t]===null)return!1}else if(sm(t)&&e[t]===null)return!1;return!0}function pm(e){return typeof e!=`object`||!e?!1:Object.entries(e).every(([e,t])=>(Bp.includes(e)||zp.includes(e))&&(e===`dayPeriod`?t===`AM`||t===`PM`||t===null:typeof t==`string`||typeof t==`number`||t===null))}function mm(e,t){return t||(Np(e)?`minute`:`day`)}function hm(e){return!!([`Enter`,`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`,`Backspace`,` `].includes(e)||Pl(e))}function gm(e,t){if(!Ol)return!1;let n=Dm(t);return n.length?n[0].id===e:!1}function _m(e){let{id:t,formatter:n,value:r,doc:i}=e;if(!Ol)return;let a=n.selectedDate(r),o=i.getElementById(t);if(o)o.innerText=`Selected Date: ${a}`;else{let e=i.createElement(`div`);e.style.cssText=Rc({display:`none`}),e.id=t,e.innerText=`Selected Date: ${a}`,i.body.appendChild(e)}}function vm(e,t){if(!Ol)return;let n=t.getElementById(e);n&&t.body.removeChild(n)}function ym(e){return new Intl.DateTimeFormat(e,{hour:`numeric`}).formatToParts(new Date(`2023-01-01T13:00:00`)).find(e=>e.type===`hour`)?.value===`1`?12:24}function bm(e,t){let n=e.currentTarget;if(!jl(n))return;let{prev:r,next:i}=Cm(n,t);if(e.key===`ArrowLeft`){if(!r)return;r.focus()}else if(e.key===`ArrowRight`){if(!i)return;i.focus()}}function xm(e,t){let n=t.indexOf(e);return n===t.length-1||n===-1?null:t[n+1]}function Sm(e,t){let n=t.indexOf(e);return n===0||n===-1?null:t[n-1]}function Cm(e,t){let n=Dm(t);return n.length?{next:xm(e,n),prev:Sm(e,n)}:{next:null,prev:null}}function wm(e,t){let n=e.currentTarget;if(!jl(n))return;let{next:r}=Cm(n,t);r&&r.focus()}function Tm(e,t){let n=e.currentTarget;if(!jl(n))return;let{prev:r}=Cm(n,t);r&&r.focus()}function Em(e){return e===`ArrowRight`||e===`ArrowLeft`}function Dm(e){return e?Array.from(e.querySelectorAll(`[data-segment]`)).filter(e=>{if(!jl(e))return!1;let t=e.dataset.segment;return t===`trigger`||!(!lm(t)||t===`literal`)}):[]}function Om(e){return Dm(e)[0]}var km={year:`numeric`,month:`numeric`,day:`numeric`,hour:`numeric`,minute:`numeric`,second:`numeric`};function Am(e){let t=e.initialLocale;function n(e){t=e}function r(){return t}function i(e,n){return new hp(t,n).format(e)}function a(e,t=!0){return Np(e)&&t?i(Op(e),{dateStyle:`long`,timeStyle:`long`}):i(Op(e),{dateStyle:`long`})}function o(n){return typeof e.monthFormat.current!=`function`&&typeof e.yearFormat.current!=`function`?new hp(t,{month:e.monthFormat.current,year:e.yearFormat.current}).format(n):`${typeof e.monthFormat.current==`function`?e.monthFormat.current(n.getMonth()+1):new hp(t,{month:e.monthFormat.current}).format(n)} ${typeof e.yearFormat.current==`function`?e.yearFormat.current(n.getFullYear()):new hp(t,{year:e.yearFormat.current}).format(n)}`}function s(e){return new hp(t,{month:`long`}).format(e)}function c(e){return new hp(t,{year:`numeric`}).format(e)}function l(e,n){return Mp(e)?new hp(t,{...n,timeZone:e.timeZone}).formatToParts(Op(e)):new hp(t,n).formatToParts(Op(e))}function u(e,n=`narrow`){return new hp(t,{weekday:n}).format(e)}function d(e,n=void 0){return new hp(t,{hour:`numeric`,minute:`numeric`,hourCycle:n===24?`h23`:void 0}).formatToParts(e).find(e=>e.type===`dayPeriod`)?.value===`PM`?`PM`:`AM`}function f(e,t,n={}){let r=l(e,{...km,...n}).find(e=>e.type===t);return r?r.value:``}return{setLocale:n,getLocale:r,fullMonth:s,fullYear:c,fullMonthAndYear:o,toParts:l,custom:i,part:f,dayPeriod:d,selectedDate:a,dayOfWeek:u}}function jm(e){return!(!jl(e)||!e.hasAttribute(`data-bits-day`))}function Mm(e,t){let n=[],r=e.add({days:1}),i=t;for(;r.compare(i)<0;)n.push(r),r=r.add({days:1});return n}function Nm(e){let{dateObj:t,weekStartsOn:n,fixedWeeks:r,locale:i}=e,a=Pp(t),o=Array.from({length:a},(e,n)=>t.set({day:n+1})),s=af(t),c=of(t),l=n===void 0?Lp(s,0,i):Lp(s,n,`en-US`),u=n===void 0?Rp(c,0,i):Rp(c,n,`en-US`),d=Mm(l.subtract({days:1}),s),f=Mm(c,u.add({days:1})),p=d.length+o.length+f.length;if(r&&p<42){let e=42-p,n=f[f.length-1];n||=t.add({months:1}).set({day:1});let r=e;f.length===0&&(r=e-1,f.push(n));let i=Array.from({length:r},(e,t)=>{let r=t+1;return n.add({days:r})});f.push(...i)}let m=d.concat(o,f);return{value:t,dates:m,weeks:Ku(m,7)}}function Pm(e){let{numberOfMonths:t,dateObj:n,...r}=e,i=[];if(!t||t===1)return i.push(Nm({...r,dateObj:n})),i;i.push(Nm({...r,dateObj:n}));for(let e=1;e<t;e++){let t=n.add({months:e});i.push(Nm({...r,dateObj:t}))}return i}function Fm(e){return e?Array.from(e.querySelectorAll(`[data-bits-day]:not([data-disabled]):not([data-outside-visible-months])`)).filter(e=>jl(e)):[]}function Im(e,t){let n=e.getAttribute(`data-value`);n&&(t.current=Dp(n,t.current))}function Lm({node:e,add:t,placeholder:n,calendarNode:r,isPrevButtonDisabled:i,isNextButtonDisabled:a,months:o,numberOfMonths:s}){let c=Fm(r);if(!c.length)return;let l=c.indexOf(e)+t;if(qu(l,c)){let e=c[l];return Im(e,n),e.focus()}if(l<0){if(i)return;let e=o[0]?.value;if(!e)return;n.current=e.subtract({months:s}),tl(()=>{let e=Fm(r);if(!e.length)return;let t=e.length-Math.abs(l);if(qu(t,e)){let r=e[t];return Im(r,n),r.focus()}})}if(l>=c.length){if(a)return;let e=o[0]?.value;if(!e)return;n.current=e.add({months:s}),tl(()=>{let e=Fm(r);if(!e.length)return;let t=l-c.length;if(qu(t,e))return e[t].focus()})}}var Rm=[Sl,Tl,Cl,wl],zm=[Dl,` `];function Bm({event:e,handleCellClick:t,shiftFocus:n,placeholderValue:r}){let i=e.target;if(!jm(i)||!Rm.includes(e.key)&&!zm.includes(e.key))return;e.preventDefault();let a={[Sl]:7,[Tl]:-7,[Cl]:-1,[wl]:1};if(Rm.includes(e.key)){let t=a[e.key];t!==void 0&&n(i,t)}if(zm.includes(e.key)){let n=i.getAttribute(`data-value`);if(!n)return;t(e,Dp(n,r))}}function Vm({months:e,setMonths:t,numberOfMonths:n,pagedNavigation:r,weekStartsOn:i,locale:a,fixedWeeks:o,setPlaceholder:s}){let c=e[0]?.value;if(c){if(r)s(c.add({months:n}));else{let e=c.add({months:1}),r=Pm({dateObj:e,weekStartsOn:i,locale:a,fixedWeeks:o,numberOfMonths:n});s(e),t(r)}}}function Hm({months:e,setMonths:t,numberOfMonths:n,pagedNavigation:r,weekStartsOn:i,locale:a,fixedWeeks:o,setPlaceholder:s}){let c=e[0]?.value;if(c){if(r)s(c.subtract({months:n}));else{let e=c.subtract({months:1}),r=Pm({dateObj:e,weekStartsOn:i,locale:a,fixedWeeks:o,numberOfMonths:n});s(e),t(r)}}}function Um({months:e,formatter:t,weekdayFormat:n}){if(!e.length)return[];let r=e[0].weeks[0];return r?r.map(e=>t.dayOfWeek(Op(e),n)):[]}function Wm(e){K(()=>{let t=e.weekStartsOn.current,n=e.locale.current,r=e.fixedWeeks.current,i=e.numberOfMonths.current;ae(()=>{let a=e.placeholder.current;if(!a)return;let o={weekStartsOn:t,locale:n,fixedWeeks:r,numberOfMonths:i};e.setMonths(Pm({...o,dateObj:a}))})})}function Gm({calendarNode:e,label:t,accessibleHeadingId:n}){let r=dl(e),i=r.createElement(`div`);i.style.cssText=Rc({border:`0px`,clip:`rect(0px, 0px, 0px, 0px)`,clipPath:`inset(50%)`,height:`1px`,margin:`-1px`,overflow:`hidden`,padding:`0px`,position:`absolute`,whiteSpace:`nowrap`,width:`1px`});let a=r.createElement(`div`);return a.textContent=t,a.id=n,a.role=`heading`,a.ariaLevel=`2`,e.insertBefore(i,e.firstChild),i.appendChild(a),()=>{let e=r.getElementById(n);e&&(i.parentElement?.removeChild(i),e.remove())}}function Km({placeholder:e,getVisibleMonths:t,weekStartsOn:n,locale:r,fixedWeeks:i,numberOfMonths:a,setMonths:o}){K(()=>{e.current,ae(()=>{t().some(t=>Wd(t,e.current))||o(Pm({weekStartsOn:n.current,locale:r.current,fixedWeeks:i.current,numberOfMonths:a.current,dateObj:e.current}))})})}function qm({maxValue:e,months:t,disabled:n}){if(!e||!t.length)return!1;if(n)return!0;let r=t[t.length-1]?.value;return r?Ip(r.add({months:1}).set({day:1}),e):!1}function Jm({minValue:e,months:t,disabled:n}){if(!e||!t.length)return!1;if(n)return!0;let r=t[0]?.value;return r?Fp(r.subtract({months:1}).set({day:35}),e):!1}function Ym({months:e,locale:t,formatter:n}){if(!e.length)return``;if(t!==n.getLocale()&&n.setLocale(t),e.length===1){let t=Op(e[0].value);return`${n.fullMonthAndYear(t)}`}let r=Op(e[0].value),i=Op(e[e.length-1].value),a=n.fullMonth(r),o=n.fullMonth(i),s=n.fullYear(r),c=n.fullYear(i);return s===c?`${a} - ${o} ${c}`:`${a} ${s} - ${o} ${c}`}function Xm({fullCalendarLabel:e,id:t,isInvalid:n,disabled:r,readonly:i}){return{id:t,role:`application`,"aria-label":e,"data-invalid":$(n),"data-disabled":$(r),"data-readonly":$(i)}}function Zm(e){let t=dl(e.target).querySelector(`[data-bits-day][data-focused]`);t&&(e.preventDefault(),t?.focus())}function Qm(e){if(!Ol)return;let t=Array.from(e.querySelectorAll(`[data-bits-day]:not([aria-disabled=true])`));if(t.length===0)return;let n=t[0],r=n?.getAttribute(`data-value`),i=n?.getAttribute(`data-type`);if(!(!r||!i))return Ap(r,i)}function $m({ref:e,placeholder:t,defaultPlaceholder:n,minValue:r,maxValue:i,isDateDisabled:a}){function o(e){return!!(a.current(e)||r.current&&Fp(e,r.current)||i.current&&Fp(i.current,e))}Yc(()=>e.current,()=>{e.current&&t.current&&Ud(t.current,n)&&o(n)&&(t.current=Qm(e.current)??n)})}function eh(e,t){return!e||!t?e:Np(e)&&Np(t)?e.set({hour:t.hour,minute:t.minute,millisecond:t.millisecond,second:t.second}):e}var th=xl({component:`calendar`,parts:[`root`,`grid`,`cell`,`next-button`,`prev-button`,`day`,`grid-body`,`grid-head`,`grid-row`,`head-cell`,`header`,`heading`,`month-select`,`year-select`]});function nh(e){let t=new Date().getFullYear(),n=Math.max(e.placeholderYear,t),r,i;if(e.minValue)r=e.minValue.year;else{let t=n-100;r=e.placeholderYear<t?e.placeholderYear-10:t}i=e.maxValue?e.maxValue.year:n+10,r>i&&(r=i);let a=i-r+1;return Array.from({length:a},(e,t)=>r+t)}var rh=new Kc(`Calendar.Root | RangeCalender.Root`),ih=class e{static create(t){return rh.set(new e(t))}opts;#e=J(()=>this.months.map(e=>e.value));get visibleMonths(){return A(this.#e)}set visibleMonths(e){R(this.#e,e)}formatter;accessibleHeadingId=hd();domContext;attachment;#t=j(pe([]));get months(){return A(this.#t)}set months(e){R(this.#t,e,!0)}announcer;constructor(e){this.opts=e,this.attachment=hl(this.opts.ref),this.domContext=new ml(e.ref),this.announcer=wp(null),this.formatter=Am({initialLocale:this.opts.locale.current,monthFormat:this.opts.monthFormat,yearFormat:this.opts.yearFormat}),this.setMonths=this.setMonths.bind(this),this.nextPage=this.nextPage.bind(this),this.prevPage=this.prevPage.bind(this),this.prevYear=this.prevYear.bind(this),this.nextYear=this.nextYear.bind(this),this.setYear=this.setYear.bind(this),this.setMonth=this.setMonth.bind(this),this.isOutsideVisibleMonths=this.isOutsideVisibleMonths.bind(this),this.isDateDisabled=this.isDateDisabled.bind(this),this.isDateSelected=this.isDateSelected.bind(this),this.shiftFocus=this.shiftFocus.bind(this),this.handleCellClick=this.handleCellClick.bind(this),this.handleMultipleUpdate=this.handleMultipleUpdate.bind(this),this.handleSingleUpdate=this.handleSingleUpdate.bind(this),this.onkeydown=this.onkeydown.bind(this),this.getBitsAttr=this.getBitsAttr.bind(this),ue(()=>{this.announcer=wp(this.domContext.getDocument())}),this.months=Pm({dateObj:this.opts.placeholder.current,weekStartsOn:this.opts.weekStartsOn.current,locale:this.opts.locale.current,fixedWeeks:this.opts.fixedWeeks.current,numberOfMonths:this.opts.numberOfMonths.current}),this.#a(),this.#o(),this.#s(),Km({placeholder:this.opts.placeholder,getVisibleMonths:()=>this.visibleMonths,weekStartsOn:this.opts.weekStartsOn,locale:this.opts.locale,fixedWeeks:this.opts.fixedWeeks,numberOfMonths:this.opts.numberOfMonths,setMonths:e=>this.months=e}),Wm({fixedWeeks:this.opts.fixedWeeks,locale:this.opts.locale,numberOfMonths:this.opts.numberOfMonths,placeholder:this.opts.placeholder,setMonths:this.setMonths,weekStartsOn:this.opts.weekStartsOn}),Yc(()=>this.fullCalendarLabel,e=>{let t=this.domContext.getElementById(this.accessibleHeadingId);t&&(t.textContent=e)}),Yc(()=>this.opts.value.current,()=>{let e=this.opts.value.current;if(Array.isArray(e)&&e.length){let t=e[e.length-1];t&&this.opts.placeholder.current!==t&&(this.opts.placeholder.current=t)}else!Array.isArray(e)&&e&&this.opts.placeholder.current!==e&&(this.opts.placeholder.current=e)}),$m({placeholder:e.placeholder,defaultPlaceholder:e.defaultPlaceholder,isDateDisabled:e.isDateDisabled,maxValue:e.maxValue,minValue:e.minValue,ref:e.ref})}setMonths(e){this.months=e}#n=J(()=>Um({months:this.months,formatter:this.formatter,weekdayFormat:this.opts.weekdayFormat.current}));get weekdays(){return A(this.#n)}set weekdays(e){R(this.#n,e)}#r=J(()=>ae(()=>this.opts.placeholder.current.year));get initialPlaceholderYear(){return A(this.#r)}set initialPlaceholderYear(e){R(this.#r,e)}#i=J(()=>nh({minValue:this.opts.minValue.current,maxValue:this.opts.maxValue.current,placeholderYear:this.initialPlaceholderYear}));get defaultYears(){return A(this.#i)}set defaultYears(e){R(this.#i,e)}#a(){K(()=>{if(ae(()=>this.opts.initialFocus.current)){let e=this.opts.ref.current?.querySelector(`[data-focused]`);e&&e.focus()}})}#o(){K(()=>{if(this.opts.ref.current)return Gm({calendarNode:this.opts.ref.current,label:this.fullCalendarLabel,accessibleHeadingId:this.accessibleHeadingId})})}#s(){_e(()=>{this.formatter.getLocale()!==this.opts.locale.current&&this.formatter.setLocale(this.opts.locale.current)})}nextPage(){Vm({fixedWeeks:this.opts.fixedWeeks.current,locale:this.opts.locale.current,numberOfMonths:this.opts.numberOfMonths.current,pagedNavigation:this.opts.pagedNavigation.current,setMonths:this.setMonths,setPlaceholder:e=>this.opts.placeholder.current=e,weekStartsOn:this.opts.weekStartsOn.current,months:this.months})}prevPage(){Hm({fixedWeeks:this.opts.fixedWeeks.current,locale:this.opts.locale.current,numberOfMonths:this.opts.numberOfMonths.current,pagedNavigation:this.opts.pagedNavigation.current,setMonths:this.setMonths,setPlaceholder:e=>this.opts.placeholder.current=e,weekStartsOn:this.opts.weekStartsOn.current,months:this.months})}nextYear(){this.opts.placeholder.current=this.opts.placeholder.current.add({years:1})}prevYear(){this.opts.placeholder.current=this.opts.placeholder.current.subtract({years:1})}setYear(e){this.opts.placeholder.current=this.opts.placeholder.current.set({year:e})}setMonth(e){this.opts.placeholder.current=this.opts.placeholder.current.set({month:e})}#c=J(()=>qm({maxValue:this.opts.maxValue.current,months:this.months,disabled:this.opts.disabled.current}));get isNextButtonDisabled(){return A(this.#c)}set isNextButtonDisabled(e){R(this.#c,e)}#l=J(()=>Jm({minValue:this.opts.minValue.current,months:this.months,disabled:this.opts.disabled.current}));get isPrevButtonDisabled(){return A(this.#l)}set isPrevButtonDisabled(e){R(this.#l,e)}#u=J(()=>{let e=this.opts.value.current,t=this.opts.isDateDisabled.current,n=this.opts.isDateUnavailable.current;if(Array.isArray(e)){if(!e.length)return!1;for(let r of e)if(t(r)||n(r))return!0}else{if(!e)return!1;if(t(e)||n(e))return!0}return!1});get isInvalid(){return A(this.#u)}set isInvalid(e){R(this.#u,e)}#d=J(()=>(this.opts.monthFormat.current,this.opts.yearFormat.current,Ym({months:this.months,formatter:this.formatter,locale:this.opts.locale.current})));get headingValue(){return A(this.#d)}set headingValue(e){R(this.#d,e)}#f=J(()=>`${this.opts.calendarLabel.current} ${this.headingValue}`);get fullCalendarLabel(){return A(this.#f)}set fullCalendarLabel(e){R(this.#f,e)}isOutsideVisibleMonths(e){return!this.visibleMonths.some(t=>Wd(e,t))}isDateDisabled(e){if(this.opts.isDateDisabled.current(e)||this.opts.disabled.current)return!0;let t=this.opts.minValue.current,n=this.opts.maxValue.current;return!!(t&&Fp(e,t)||n&&Fp(n,e))}isDateSelected(e){let t=this.opts.value.current;return Array.isArray(t)?t.some(t=>Ud(t,e)):t?Ud(t,e):!1}shiftFocus(e,t){return Lm({node:e,add:t,placeholder:this.opts.placeholder,calendarNode:this.opts.ref.current,isPrevButtonDisabled:this.isPrevButtonDisabled,isNextButtonDisabled:this.isNextButtonDisabled,months:this.months,numberOfMonths:this.opts.numberOfMonths.current})}#p(e){if(this.opts.type.current!==`multiple`||!this.opts.maxDays.current)return!0;let t=e.length;return!(this.opts.maxDays.current&&t>this.opts.maxDays.current)}handleCellClick(e,t){if(this.opts.readonly.current||this.opts.isDateDisabled.current?.(t)||this.opts.isDateUnavailable.current?.(t))return;let n=this.opts.value.current;if(this.opts.type.current===`multiple`)(Array.isArray(n)||n===void 0)&&(this.opts.value.current=this.handleMultipleUpdate(n,t));else if(!Array.isArray(n)){let e=this.handleSingleUpdate(n,t);e?this.announcer.announce(`Selected Date: ${this.formatter.selectedDate(e,!1)}`,`polite`):this.announcer.announce(`Selected date is now empty.`,`polite`,5e3),this.opts.value.current=eh(e,n),e!==void 0&&this.opts.onDateSelect?.current?.()}}handleMultipleUpdate(e,t){if(!e){let e=[t];return this.#p(e)?e:[t]}if(!Array.isArray(e))return;let n=e.findIndex(e=>Ud(e,t)),r=this.opts.preventDeselect.current;if(n===-1){let n=[...e,t];return this.#p(n)?n:[t]}if(r)return e;{let n=e.filter(e=>!Ud(e,t));if(!n.length){this.opts.placeholder.current=t;return}return n}}handleSingleUpdate(e,t){if(!e)return t;if(!this.opts.preventDeselect.current&&Ud(e,t)){this.opts.placeholder.current=t;return}return t}onkeydown(e){Bm({event:e,handleCellClick:this.handleCellClick,shiftFocus:this.shiftFocus,placeholderValue:this.opts.placeholder.current})}#m=J(()=>({months:this.months,weekdays:this.weekdays}));get snippetProps(){return A(this.#m)}set snippetProps(e){R(this.#m,e)}getBitsAttr=e=>th.getAttr(e);#h=J(()=>({...Xm({fullCalendarLabel:this.fullCalendarLabel,id:this.opts.id.current,isInvalid:this.isInvalid,disabled:this.opts.disabled.current,readonly:this.opts.readonly.current}),[this.getBitsAttr(`root`)]:``,onkeydown:this.onkeydown,...this.attachment}));get props(){return A(this.#h)}set props(e){R(this.#h,e)}},ah=class e{static create(t){return new e(t,rh.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=hl(this.opts.ref)}#e=J(()=>({id:this.opts.id.current,"aria-hidden":_l(!0),"data-disabled":$(this.root.opts.disabled.current),"data-readonly":$(this.root.opts.readonly.current),[this.root.getBitsAttr(`heading`)]:``,...this.attachment}));get props(){return A(this.#e)}set props(e){R(this.#e,e)}},oh=new Kc(`Calendar.Cell | RangeCalendar.Cell`),sh=class e{static create(t){return oh.set(new e(t,rh.get()))}opts;root;#e=J(()=>Op(this.opts.date.current));get cellDate(){return A(this.#e)}set cellDate(e){R(this.#e,e)}#t=J(()=>this.root.opts.isDateUnavailable.current(this.opts.date.current));get isUnavailable(){return A(this.#t)}set isUnavailable(e){R(this.#t,e)}#n=J(()=>Kd(this.opts.date.current,nf()));get isDateToday(){return A(this.#n)}set isDateToday(e){R(this.#n,e)}#r=J(()=>!Wd(this.opts.date.current,this.opts.month.current));get isOutsideMonth(){return A(this.#r)}set isOutsideMonth(e){R(this.#r,e)}#i=J(()=>this.root.isOutsideVisibleMonths(this.opts.date.current));get isOutsideVisibleMonths(){return A(this.#i)}set isOutsideVisibleMonths(e){R(this.#i,e)}#a=J(()=>this.root.isDateDisabled(this.opts.date.current)||this.isOutsideMonth&&this.root.opts.disableDaysOutsideMonth.current);get isDisabled(){return A(this.#a)}set isDisabled(e){R(this.#a,e)}#o=J(()=>Ud(this.opts.date.current,this.root.opts.placeholder.current));get isFocusedDate(){return A(this.#o)}set isFocusedDate(e){R(this.#o,e)}#s=J(()=>this.root.isDateSelected(this.opts.date.current));get isSelectedDate(){return A(this.#s)}set isSelectedDate(e){R(this.#s,e)}#c=J(()=>this.root.formatter.custom(this.cellDate,{weekday:`long`,month:`long`,day:`numeric`,year:`numeric`}));get labelText(){return A(this.#c)}set labelText(e){R(this.#c,e)}attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=hl(this.opts.ref)}#l=J(()=>({disabled:this.isDisabled,unavailable:this.isUnavailable,selected:this.isSelectedDate,day:`${this.opts.date.current.day}`}));get snippetProps(){return A(this.#l)}set snippetProps(e){R(this.#l,e)}#u=J(()=>this.isDisabled||this.isOutsideMonth&&this.root.opts.disableDaysOutsideMonth.current||this.isUnavailable);get ariaDisabled(){return A(this.#u)}set ariaDisabled(e){R(this.#u,e)}#d=J(()=>({"data-unavailable":$(this.isUnavailable),"data-today":this.isDateToday?``:void 0,"data-outside-month":this.isOutsideMonth?``:void 0,"data-outside-visible-months":this.isOutsideVisibleMonths?``:void 0,"data-focused":this.isFocusedDate?``:void 0,"data-selected":$(this.isSelectedDate),"data-value":this.opts.date.current.toString(),"data-type":kp(this.opts.date.current),"data-disabled":$(this.isDisabled||this.isOutsideMonth&&this.root.opts.disableDaysOutsideMonth.current)}));get sharedDataAttrs(){return A(this.#d)}set sharedDataAttrs(e){R(this.#d,e)}#f=J(()=>({id:this.opts.id.current,role:`gridcell`,"aria-selected":gl(this.isSelectedDate),"aria-disabled":gl(this.ariaDisabled),...this.sharedDataAttrs,[this.root.getBitsAttr(`cell`)]:``,...this.attachment}));get props(){return A(this.#f)}set props(e){R(this.#f,e)}},ch=class e{static create(t){return new e(t,oh.get())}opts;cell;attachment;constructor(e,t){this.opts=e,this.cell=t,this.onclick=this.onclick.bind(this),this.attachment=hl(this.opts.ref)}#e=J(()=>this.cell.isOutsideMonth&&this.cell.root.opts.disableDaysOutsideMonth.current||this.cell.isDisabled?void 0:this.cell.isFocusedDate?0:-1);onclick(e){this.cell.isDisabled||this.cell.root.handleCellClick(e,this.cell.opts.date.current)}#t=J(()=>({disabled:this.cell.isDisabled,unavailable:this.cell.isUnavailable,selected:this.cell.isSelectedDate,day:`${this.cell.opts.date.current.day}`}));get snippetProps(){return A(this.#t)}set snippetProps(e){R(this.#t,e)}#n=J(()=>({id:this.opts.id.current,role:`button`,"aria-label":this.cell.labelText,"aria-disabled":gl(this.cell.ariaDisabled),...this.cell.sharedDataAttrs,tabindex:A(this.#e),[this.cell.root.getBitsAttr(`day`)]:``,"data-bits-day":``,onclick:this.onclick,...this.attachment}));get props(){return A(this.#n)}set props(e){R(this.#n,e)}},lh=class e{static create(t){return new e(t,rh.get())}opts;root;#e=J(()=>this.root.isNextButtonDisabled);get isDisabled(){return A(this.#e)}set isDisabled(e){R(this.#e,e)}attachment;constructor(e,t){this.opts=e,this.root=t,this.onclick=this.onclick.bind(this),this.attachment=hl(this.opts.ref)}onclick(e){this.isDisabled||this.root.nextPage()}#t=J(()=>({id:this.opts.id.current,role:`button`,type:`button`,"aria-label":`Next`,"aria-disabled":gl(this.isDisabled),"data-disabled":$(this.isDisabled),disabled:this.isDisabled,[this.root.getBitsAttr(`next-button`)]:``,onclick:this.onclick,...this.attachment}));get props(){return A(this.#t)}set props(e){R(this.#t,e)}},uh=class e{static create(t){return new e(t,rh.get())}opts;root;#e=J(()=>this.root.isPrevButtonDisabled);get isDisabled(){return A(this.#e)}set isDisabled(e){R(this.#e,e)}attachment;constructor(e,t){this.opts=e,this.root=t,this.onclick=this.onclick.bind(this),this.attachment=hl(this.opts.ref)}onclick(e){this.isDisabled||this.root.prevPage()}#t=J(()=>({id:this.opts.id.current,role:`button`,type:`button`,"aria-label":`Previous`,"aria-disabled":gl(this.isDisabled),"data-disabled":$(this.isDisabled),disabled:this.isDisabled,[this.root.getBitsAttr(`prev-button`)]:``,onclick:this.onclick,...this.attachment}));get props(){return A(this.#t)}set props(e){R(this.#t,e)}},dh=class e{static create(t){return new e(t,rh.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=hl(this.opts.ref)}#e=J(()=>({id:this.opts.id.current,tabindex:-1,role:`grid`,"aria-readonly":gl(this.root.opts.readonly.current),"aria-disabled":gl(this.root.opts.disabled.current),"data-readonly":$(this.root.opts.readonly.current),"data-disabled":$(this.root.opts.disabled.current),[this.root.getBitsAttr(`grid`)]:``,...this.attachment}));get props(){return A(this.#e)}set props(e){R(this.#e,e)}},fh=class e{static create(t){return new e(t,rh.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=hl(this.opts.ref)}#e=J(()=>({id:this.opts.id.current,"data-disabled":$(this.root.opts.disabled.current),"data-readonly":$(this.root.opts.readonly.current),[this.root.getBitsAttr(`grid-body`)]:``,...this.attachment}));get props(){return A(this.#e)}set props(e){R(this.#e,e)}},ph=class e{static create(t){return new e(t,rh.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=hl(this.opts.ref)}#e=J(()=>({id:this.opts.id.current,"data-disabled":$(this.root.opts.disabled.current),"data-readonly":$(this.root.opts.readonly.current),[this.root.getBitsAttr(`grid-head`)]:``,...this.attachment}));get props(){return A(this.#e)}set props(e){R(this.#e,e)}},mh=class e{static create(t){return new e(t,rh.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=hl(this.opts.ref)}#e=J(()=>({id:this.opts.id.current,"data-disabled":$(this.root.opts.disabled.current),"data-readonly":$(this.root.opts.readonly.current),[this.root.getBitsAttr(`grid-row`)]:``,...this.attachment}));get props(){return A(this.#e)}set props(e){R(this.#e,e)}},hh=class e{static create(t){return new e(t,rh.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=hl(this.opts.ref)}#e=J(()=>({id:this.opts.id.current,"data-disabled":$(this.root.opts.disabled.current),"data-readonly":$(this.root.opts.readonly.current),[this.root.getBitsAttr(`head-cell`)]:``,...this.attachment}));get props(){return A(this.#e)}set props(e){R(this.#e,e)}},gh=class e{static create(t){return new e(t,rh.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=hl(this.opts.ref)}#e=J(()=>({id:this.opts.id.current,"data-disabled":$(this.root.opts.disabled.current),"data-readonly":$(this.root.opts.readonly.current),[this.root.getBitsAttr(`header`)]:``,...this.attachment}));get props(){return A(this.#e)}set props(e){R(this.#e,e)}},_h=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`ref`,`id`]),vh=c(`<div><!></div>`);function yh(e,n){let a=D();Y(n,!0);let c=z(n,`ref`,15,null),l=z(n,`id`,19,()=>Vl(a)),u=M(n,_h),d=ch.create({id:Z(()=>l()),ref:Z(()=>c(),e=>c(e))}),f=J(()=>Q(u,d.props));var m=E(),h=q(m),g=e=>{var i=E(),a=q(i);{let e=J(()=>({props:A(f),...d.snippetProps}));t(a,()=>n.child,()=>A(e))}r(e,i)},_=e=>{var i=vh();W(i,()=>({...A(f)}));var a=U(i),c=e=>{var i=E(),a=q(i);t(a,()=>n.children??o,()=>d.snippetProps),r(e,i)},l=e=>{var t=s();N(()=>p(t,d.cell.opts.date.current.day)),r(e,t)};v(a,e=>{n.children?e(c):e(l,-1)}),V(i),r(e,i)};v(h,e=>{n.child?e(g):e(_,-1)}),r(e,m),i()}var bh=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`ref`,`id`]),xh=c(`<table><!></table>`);function Sh(e,n){let a=D();Y(n,!0);let s=z(n,`ref`,15,null),c=z(n,`id`,19,()=>Vl(a)),l=M(n,bh),u=dh.create({id:Z(()=>c()),ref:Z(()=>s(),e=>s(e))}),d=J(()=>Q(l,u.props));var f=E(),p=q(f),m=e=>{var i=E(),a=q(i);t(a,()=>n.child,()=>({props:A(d)})),r(e,i)},h=e=>{var i=xh();W(i,()=>({...A(d)}));var a=U(i);t(a,()=>n.children??o),V(i),r(e,i)};v(p,e=>{n.child?e(m):e(h,-1)}),r(e,f),i()}var Ch=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`ref`,`id`]),wh=c(`<tbody><!></tbody>`);function Th(e,n){let a=D();Y(n,!0);let s=z(n,`ref`,15,null),c=z(n,`id`,19,()=>Vl(a)),l=M(n,Ch),u=fh.create({id:Z(()=>c()),ref:Z(()=>s(),e=>s(e))}),d=J(()=>Q(l,u.props));var f=E(),p=q(f),m=e=>{var i=E(),a=q(i);t(a,()=>n.child,()=>({props:A(d)})),r(e,i)},h=e=>{var i=wh();W(i,()=>({...A(d)}));var a=U(i);t(a,()=>n.children??o),V(i),r(e,i)};v(p,e=>{n.child?e(m):e(h,-1)}),r(e,f),i()}var Eh=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`ref`,`id`,`date`,`month`]),Dh=c(`<td><!></td>`);function Oh(e,n){let a=D();Y(n,!0);let s=z(n,`ref`,15,null),c=z(n,`id`,19,()=>Vl(a)),l=M(n,Eh),u=sh.create({id:Z(()=>c()),ref:Z(()=>s(),e=>s(e)),date:Z(()=>n.date),month:Z(()=>n.month)}),d=J(()=>Q(l,u.props));var f=E(),p=q(f),m=e=>{var i=E(),a=q(i);{let e=J(()=>({props:A(d),...u.snippetProps}));t(a,()=>n.child,()=>A(e))}r(e,i)},h=e=>{var i=Dh();W(i,()=>({...A(d)}));var a=U(i);t(a,()=>n.children??o,()=>u.snippetProps),V(i),r(e,i)};v(p,e=>{n.child?e(m):e(h,-1)}),r(e,f),i()}var kh=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`ref`,`id`]),Ah=c(`<thead><!></thead>`);function jh(e,n){let a=D();Y(n,!0);let s=z(n,`ref`,15,null),c=z(n,`id`,19,()=>Vl(a)),l=M(n,kh),u=ph.create({id:Z(()=>c()),ref:Z(()=>s(),e=>s(e))}),d=J(()=>Q(l,u.props));var f=E(),p=q(f),m=e=>{var i=E(),a=q(i);t(a,()=>n.child,()=>({props:A(d)})),r(e,i)},h=e=>{var i=Ah();W(i,()=>({...A(d)}));var a=U(i);t(a,()=>n.children??o),V(i),r(e,i)};v(p,e=>{n.child?e(m):e(h,-1)}),r(e,f),i()}var Mh=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`ref`,`id`]),Nh=c(`<th><!></th>`);function Ph(e,n){let a=D();Y(n,!0);let s=z(n,`ref`,15,null),c=z(n,`id`,19,()=>Vl(a)),l=M(n,Mh),u=hh.create({id:Z(()=>c()),ref:Z(()=>s(),e=>s(e))}),d=J(()=>Q(l,u.props));var f=E(),p=q(f),m=e=>{var i=E(),a=q(i);t(a,()=>n.child,()=>({props:A(d)})),r(e,i)},h=e=>{var i=Nh();W(i,()=>({...A(d)}));var a=U(i);t(a,()=>n.children??o),V(i),r(e,i)};v(p,e=>{n.child?e(m):e(h,-1)}),r(e,f),i()}var Fh=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`ref`,`id`]),Ih=c(`<tr><!></tr>`);function Lh(e,n){let a=D();Y(n,!0);let s=z(n,`ref`,15,null),c=z(n,`id`,19,()=>Vl(a)),l=M(n,Fh),u=mh.create({id:Z(()=>c()),ref:Z(()=>s(),e=>s(e))}),d=J(()=>Q(l,u.props));var f=E(),p=q(f),m=e=>{var i=E(),a=q(i);t(a,()=>n.child,()=>({props:A(d)})),r(e,i)},h=e=>{var i=Ih();W(i,()=>({...A(d)}));var a=U(i);t(a,()=>n.children??o),V(i),r(e,i)};v(p,e=>{n.child?e(m):e(h,-1)}),r(e,f),i()}var Rh=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`ref`,`id`]),zh=c(`<header><!></header>`);function Bh(e,n){let a=D();Y(n,!0);let s=z(n,`ref`,15,null),c=z(n,`id`,19,()=>Vl(a)),l=M(n,Rh),u=gh.create({id:Z(()=>c()),ref:Z(()=>s(),e=>s(e))}),d=J(()=>Q(l,u.props));var f=E(),p=q(f),m=e=>{var i=E(),a=q(i);t(a,()=>n.child,()=>({props:A(d)})),r(e,i)},h=e=>{var i=zh();W(i,()=>({...A(d)}));var a=U(i);t(a,()=>n.children??o),V(i),r(e,i)};v(p,e=>{n.child?e(m):e(h,-1)}),r(e,f),i()}var Vh=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`ref`,`id`]),Hh=c(`<div><!></div>`);function Uh(e,n){let a=D();Y(n,!0);let c=z(n,`ref`,15,null),l=z(n,`id`,19,()=>Vl(a)),u=M(n,Vh),d=ah.create({id:Z(()=>l()),ref:Z(()=>c(),e=>c(e))}),f=J(()=>Q(u,d.props));var m=E(),h=q(m),g=e=>{var i=E(),a=q(i);t(a,()=>n.child,()=>({props:A(f),headingValue:d.root.headingValue})),r(e,i)},_=e=>{var i=Hh();W(i,()=>({...A(f)}));var a=U(i),c=e=>{var i=E(),a=q(i);t(a,()=>n.children??o,()=>({headingValue:d.root.headingValue})),r(e,i)},l=e=>{var t=s();N(()=>p(t,d.root.headingValue)),r(e,t)};v(a,e=>{n.children?e(c):e(l,-1)}),V(i),r(e,i)};v(h,e=>{n.child?e(g):e(_,-1)}),r(e,m),i()}var Wh=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`id`,`ref`,`tabindex`]),Gh=c(`<button><!></button>`);function Kh(e,n){let a=D();Y(n,!0);let s=z(n,`id`,19,()=>Vl(a)),c=z(n,`ref`,15,null),l=z(n,`tabindex`,3,0),u=M(n,Wh),d=lh.create({id:Z(()=>s()),ref:Z(()=>c(),e=>c(e))}),f=J(()=>Q(u,d.props,{tabindex:l()}));var p=E(),m=q(p),h=e=>{var i=E(),a=q(i);t(a,()=>n.child,()=>({props:A(f)})),r(e,i)},g=e=>{var i=Gh();W(i,()=>({...A(f)}));var a=U(i);t(a,()=>n.children??o),V(i),r(e,i)};v(m,e=>{n.child?e(h):e(g,-1)}),r(e,p),i()}var qh=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`id`,`ref`,`tabindex`]),Jh=c(`<button><!></button>`);function Yh(e,n){let a=D();Y(n,!0);let s=z(n,`id`,19,()=>Vl(a)),c=z(n,`ref`,15,null),l=z(n,`tabindex`,3,0),u=M(n,qh),d=uh.create({id:Z(()=>s()),ref:Z(()=>c(),e=>c(e))}),f=J(()=>Q(u,d.props,{tabindex:l()}));var p=E(),m=q(p),h=e=>{var i=E(),a=q(i);t(a,()=>n.child,()=>({props:A(f)})),r(e,i)},g=e=>{var i=Jh();W(i,()=>({...A(f)}));var a=U(i);t(a,()=>n.children??o),V(i),r(e,i)};v(m,e=>{n.child?e(h):e(g,-1)}),r(e,p),i()}ce();var Xh=new Set([`$$slots`,`$$events`,`$$legacy`,`value`]),Zh=c(`<input/>`);function Qh(e,t){Y(t,!0);let n=z(t,`value`,15),a=M(t,Xh),o=J(()=>Q(a,{"aria-hidden":`true`,tabindex:-1,style:{...Vc,position:`absolute`,top:`0`,left:`0`}}));var s=E(),c=q(s),l=e=>{var t=Zh();W(t,()=>({...A(o),value:n()}),void 0,void 0,void 0,void 0,!0),r(e,t)},u=e=>{var t=Zh();W(t,()=>({...A(o)}),void 0,void 0,void 0,void 0,!0),ie(t,n),r(e,t)};v(c,e=>{A(o).type===`checkbox`?e(l):e(u,-1)}),r(e,s),i()}var $h=[`top`,`right`,`bottom`,`left`],eg=Math.min,tg=Math.max,ng=Math.round,rg=Math.floor,ig=e=>({x:e,y:e}),ag={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function og(e,t,n){return tg(e,eg(t,n))}function sg(e,t){return typeof e==`function`?e(t):e}function cg(e){return e.split(`-`)[0]}function lg(e){return e.split(`-`)[1]}function ug(e){return e===`x`?`y`:`x`}function dg(e){return e===`y`?`height`:`width`}function fg(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function pg(e){return ug(fg(e))}function mg(e,t,n){n===void 0&&(n=!1);let r=lg(e),i=pg(e),a=dg(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Cg(o)),[o,Cg(o)]}function hg(e){let t=Cg(e);return[gg(e),t,gg(t)]}function gg(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var _g=[`left`,`right`],vg=[`right`,`left`],yg=[`top`,`bottom`],bg=[`bottom`,`top`];function xg(e,t,n){switch(e){case`top`:case`bottom`:return n?t?vg:_g:t?_g:vg;case`left`:case`right`:return t?yg:bg;default:return[]}}function Sg(e,t,n,r){let i=lg(e),a=xg(cg(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(gg)))),a}function Cg(e){let t=cg(e);return ag[t]+e.slice(t.length)}function wg(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}function Tg(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:wg(e)}function Eg(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Dg(e,t,n){let{reference:r,floating:i}=e,a=fg(t),o=pg(t),s=dg(o),c=cg(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=lg(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function Og(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=sg(t,e),p=Tg(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Eg(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=Eg(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var kg=50,Ag=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Og},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Dg(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<kg&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=Dg(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},jg=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=sg(e,t)||{};if(l==null)return{};let d=Tg(u),f={x:n,y:r},p=pg(i),m=dg(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=eg(d[_],T),D=eg(d[v],T),O=C-h[m]-D,k=C/2-h[m]/2+w,A=og(E,k,O),ee=!c.arrow&&lg(i)!=null&&k!==A&&a.reference[m]/2-(k<E?E:D)-h[m]/2<0,j=ee?k<E?k-E:k-O:0;return{[p]:f[p]+j,data:{[p]:A,centerOffset:k-A-j,...ee&&{alignmentOffset:j}},reset:ee}}}),Mg=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=sg(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=cg(r),_=fg(o),v=cg(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[Cg(o)]:hg(o)),x=p!==`none`;!d&&x&&b.push(...Sg(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=mg(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(u!==`alignment`||_===fg(t)||T.every(e=>fg(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=fg(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o}if(r!==n)return{reset:{placement:n}}}return{}}}};function Ng(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Pg(e){return $h.some(t=>e[t]>=0)}var Fg=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=sg(e,t);switch(i){case`referenceHidden`:{let e=Ng(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Pg(e)}}}case`escaped`:{let e=Ng(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:Pg(e)}}}default:return{}}}}},Ig=new Set([`left`,`top`]);async function Lg(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=cg(n),s=lg(n),c=fg(n)===`y`,l=Ig.has(o)?-1:1,u=a&&c?-1:1,d=sg(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var Rg=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await Lg(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},zg=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=sg(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=fg(i),p=ug(f),m=u[p],h=u[f],g=(e,t)=>og(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}},Bg=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=sg(e,t),u={x:n,y:r},d=fg(i),f=ug(d),p=u[f],m=u[d],h=sg(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:h.mainAxis??0,crossAxis:h.crossAxis??0};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=Ig.has(cg(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},Vg=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){let{placement:n,rects:r,platform:i,elements:a}=t,{apply:o=()=>{},...s}=sg(e,t),c=await i.detectOverflow(t,s),l=cg(n),u=lg(n),d=fg(n)===`y`,{width:f,height:p}=r.floating,m,h;l===`top`||l===`bottom`?(m=l,h=u===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?`start`:`end`)?`left`:`right`):(h=l,m=u===`end`?`top`:`bottom`);let g=p-c.top-c.bottom,_=f-c.left-c.right,v=eg(p-c[m],g),y=eg(f-c[h],_),b=t.middlewareData.shift,x=!b,S=v,C=y;b!=null&&b.enabled.x&&(C=_),b!=null&&b.enabled.y&&(S=g),x&&!u&&(d?C=f-2*tg(c.left,c.right):S=p-2*tg(c.top,c.bottom)),await o({...t,availableWidth:C,availableHeight:S});let w=await i.getDimensions(a.floating);return f!==w.width||p!==w.height?{reset:{rects:!0}}:{}}}};function Hg(){return typeof window<`u`}function Ug(e){return Kg(e)?(e.nodeName||``).toLowerCase():`#document`}function Wg(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Gg(e){return((Kg(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function Kg(e){return Hg()?e instanceof Node||e instanceof Wg(e).Node:!1}function qg(e){return Hg()?e instanceof Element||e instanceof Wg(e).Element:!1}function Jg(e){return Hg()?e instanceof HTMLElement||e instanceof Wg(e).HTMLElement:!1}function Yg(e){return!Hg()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof Wg(e).ShadowRoot}function Xg(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=s_(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function Zg(e){return/^(table|td|th)$/.test(Ug(e))}function Qg(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var $g=/transform|translate|scale|rotate|perspective|filter/,e_=/paint|layout|strict|content/,t_=e=>!!e&&e!==`none`,n_;function r_(e){let t=qg(e)?s_(e):e;return t_(t.transform)||t_(t.translate)||t_(t.scale)||t_(t.rotate)||t_(t.perspective)||!a_()&&(t_(t.backdropFilter)||t_(t.filter))||$g.test(t.willChange||``)||e_.test(t.contain||``)}function i_(e){let t=l_(e);for(;Jg(t)&&!o_(t);){if(r_(t))return t;if(Qg(t))return null;t=l_(t)}return null}function a_(){return n_??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),n_}function o_(e){return/^(html|body|#document)$/.test(Ug(e))}function s_(e){return Wg(e).getComputedStyle(e)}function c_(e){return qg(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function l_(e){if(Ug(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||Yg(e)&&e.host||Gg(e);return Yg(t)?t.host:t}function u_(e){let t=l_(e);return o_(t)?(e.ownerDocument||e).body:Jg(t)&&Xg(t)?t:u_(t)}function d_(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=u_(e),i=r===e.ownerDocument?.body,a=Wg(r);if(i){let e=f_(a);return t.concat(a,a.visualViewport||[],Xg(r)?r:[],e&&n?d_(e):[])}return t.concat(r,d_(r,[],n))}function f_(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function p_(e){let t=s_(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=Jg(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=ng(n)!==a||ng(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function m_(e){return qg(e)?e:e.contextElement}function h_(e){let t=m_(e);if(!Jg(t))return ig(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=p_(t),o=(a?ng(n.width):n.width)/r,s=(a?ng(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var g_=ig(0);function __(e){let t=Wg(e);return!a_()||!t.visualViewport?g_:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function v_(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===Wg(e)}function y_(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=m_(e),o=ig(1);t&&(r?qg(r)&&(o=h_(r)):o=h_(e));let s=v_(a,n,r)?__(a):ig(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=Wg(a),t=qg(r)?Wg(r):r,n=e,i=f_(n);for(;i&&t!==n;){let e=h_(i),t=i.getBoundingClientRect(),r=s_(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=Wg(i),i=f_(n)}}return Eg({width:u,height:d,x:c,y:l})}function b_(e,t){let n=c_(e).scrollLeft;return t?t.left+n:y_(Gg(e)).left+n}function x_(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-b_(e,n),y:n.top+t.scrollTop}}function S_(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=Gg(r),s=t?Qg(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=ig(1),u=ig(0),d=Jg(r);if((d||!a)&&((Ug(r)!==`body`||Xg(o))&&(c=c_(r)),d)){let e=y_(r);l=h_(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?x_(o,c):ig(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function C_(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function w_(e){let t=c_(e),n=e.ownerDocument.body,r=tg(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=tg(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+b_(e),o=-t.scrollTop;return s_(n).direction===`rtl`&&(a+=tg(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}var T_=25;function E_(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=Wg(e),a=Gg(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!a_()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(b_(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=T_&&(s-=o)}return{width:s,height:c,x:l,y:u}}function D_(e,t){let n=y_(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=h_(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function O_(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=E_(e,n,t);else if(t===`document`)r=w_(Gg(e));else if(qg(t))r=D_(t,n);else{let n=__(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Eg(r)}function k_(e,t){let n=t.get(e);if(n)return n;let r=d_(e,[],!1).filter(e=>qg(e)&&Ug(e)!==`body`),i=null,a=s_(e).position===`fixed`,o=a?l_(e):e;for(;qg(o)&&!o_(o);){let e=s_(o),t=r_(o),n=i?i.position:a?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==o):i=e,o=l_(o)}return t.set(e,r),r}function A_(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?Qg(t)?[]:k_(t,this._c):[].concat(n),r],o=O_(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=O_(t,a[e],i);s=tg(n.top,s),c=eg(n.right,c),l=eg(n.bottom,l),u=tg(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function j_(e){let{width:t,height:n}=p_(e);return{width:t,height:n}}function M_(e,t,n){let r=Jg(t),i=Gg(t),a=n===`fixed`,o=y_(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=ig(0);if((r||!a)&&((Ug(t)!==`body`||Xg(i))&&(s=c_(t)),r)){let e=y_(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=b_(i));let l=i&&!r&&!a?x_(i,s):ig(0);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function N_(e){return s_(e).position===`static`}function P_(e,t){if(!Jg(e)||s_(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return Gg(e)===n&&(n=n.ownerDocument.body),n}function F_(e,t){let n=Wg(e);if(Qg(e))return n;if(!Jg(e)){let t=l_(e);for(;t&&!o_(t);){if(qg(t)&&!N_(t))return t;t=l_(t)}return n}let r=P_(e,t);for(;r&&Zg(r)&&N_(r);)r=P_(r,t);return r&&o_(r)&&N_(r)&&!r_(r)?n:r||i_(e)||n}var I_=async function(e){let t=this.getOffsetParent||F_,n=this.getDimensions,r=await n(e.floating);return{reference:M_(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function L_(e){return s_(e).direction===`rtl`}var R_={convertOffsetParentRelativeRectToViewportRelativeRect:S_,getDocumentElement:Gg,getClippingRect:A_,getOffsetParent:F_,getElementRects:I_,getClientRects:C_,getDimensions:j_,getScale:h_,isElement:qg,isRTL:L_};function z_(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function B_(e,t,n){let r=null,i,a=Gg(e);function o(){var e;clearTimeout(i),(e=r)==null||e.disconnect(),r=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let m=rg(d),h=rg(a.clientWidth-(u+f)),g=rg(a.clientHeight-(d+p)),_=rg(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:tg(0,eg(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(!z_(l,e.getBoundingClientRect()))return s();if(n!==c){if(!y)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{r=new IntersectionObserver(b,{...v,root:a.ownerDocument})}catch{r=new IntersectionObserver(b,v)}r.observe(e)}let c=Wg(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}function V_(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=m_(e),u=i||a?[...l?d_(l):[],...t?d_(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)});let d=l&&s?B_(l,n,a):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?y_(e):null;c&&g();function g(){let t=y_(e);h&&!z_(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var H_=Rg,U_=zg,W_=Mg,G_=Vg,K_=Fg,q_=jg,J_=Bg,Y_=(e,t,n)=>{let r=new Map,i=n??{},a={...R_,...i.platform,_c:r};return Ag(e,t,{...i,platform:a})};function X_(e){return typeof e==`function`?e():e}function Z_(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Q_(e,t){let n=Z_(e);return Math.round(t*n)/n}function $_(e){return{[`--bits-${e}-content-transform-origin`]:`var(--bits-floating-transform-origin)`,[`--bits-${e}-content-available-width`]:`var(--bits-floating-available-width)`,[`--bits-${e}-content-available-height`]:`var(--bits-floating-available-height)`,[`--bits-${e}-anchor-width`]:`var(--bits-floating-anchor-width)`,[`--bits-${e}-anchor-height`]:`var(--bits-floating-anchor-height)`}}function ev(e){let t=e.whileElementsMounted,n=J(()=>X_(e.open)??!0),r=J(()=>X_(e.middleware)),i=J(()=>X_(e.transform)??!0),a=J(()=>X_(e.placement)??`bottom`),o=J(()=>X_(e.strategy)??`absolute`),s=J(()=>X_(e.sideOffset)??0),c=J(()=>X_(e.alignOffset)??0),l=e.reference,u=j(0),d=j(0),f=oc(null),p=j(pe(A(o))),m=j(pe(A(a))),h=j(pe({})),g=j(!1),_=!1,v=0,y=J(()=>{let e=f.current?Q_(f.current,A(u)):A(u),t=f.current?Q_(f.current,A(d)):A(d);return A(i)?{position:A(p),left:`0`,top:`0`,transform:`translate(${e}px, ${t}px)`,...f.current&&Z_(f.current)>=1.5&&{willChange:`transform`}}:{position:A(p),left:`${e}px`,top:`${t}px`}}),b;function x(){if(l.current===null||f.current===null)return;let e=l.current,t=f.current,i=++v;Y_(e,t,{middleware:A(r),placement:A(a),strategy:A(o)}).then(r=>{if(i===v&&l.current===e&&f.current===t){if(tv(e)){R(h,{...A(h),hide:{...A(h).hide,referenceHidden:!0}},!0);return}if(!A(n)&&A(u)!==0&&A(d)!==0){let e=Math.max(Math.abs(A(s)),Math.abs(A(c)),15);if(r.x<=e&&r.y<=e)return}R(u,r.x,!0),R(d,r.y,!0),R(p,r.strategy,!0),R(m,r.placement,!0),R(h,r.middlewareData,!0),R(g,!0)}})}function S(){typeof b==`function`&&(b(),b=void 0),v++}function C(){if(S(),t===void 0){x();return}A(n)&&l.current!==null&&f.current!==null&&(b=t(l.current,f.current,x))}function w(){!A(n)&&f.current===null&&R(g,!1)}function T(){return[A(r),A(a),A(o),A(s),A(c),A(n)]}return K(()=>{t===void 0&&A(n)&&x()}),K(C),K(()=>{if(t!==void 0){if(T(),!A(n)){_=!1;return}if(!A(g)){_=!1;return}if(!_){_=!0;return}x()}}),K(w),K(()=>S),{floating:f,reference:l,get strategy(){return A(p)},get placement(){return A(m)},get middlewareData(){return A(h)},get isPositioned(){return A(g)},get floatingStyles(){return A(y)},get update(){return x}}}function tv(e){return e instanceof Element?!e.isConnected||e instanceof HTMLElement&&e.hidden?!0:e.getClientRects().length===0:!1}var nv={top:`bottom`,right:`left`,bottom:`top`,left:`right`},rv=new Kc(`Floating.Root`),iv=new Kc(`Floating.Content`),av=new Kc(`Floating.Root`),ov=class e{static create(t=!1){return t?av.set(new e):rv.set(new e)}anchorNode=oc(null);customAnchorNode=oc(null);triggerNode=oc(null);constructor(){K(()=>{this.customAnchorNode.current?typeof this.customAnchorNode.current==`string`?this.anchorNode.current=document.querySelector(this.customAnchorNode.current):this.anchorNode.current=this.customAnchorNode.current:this.anchorNode.current=this.triggerNode.current})}},sv=class e{static create(t,n=!1){return n?iv.set(new e(t,av.get())):iv.set(new e(t,rv.get()))}opts;root;contentRef=oc(null);wrapperRef=oc(null);arrowRef=oc(null);contentAttachment=hl(this.contentRef);wrapperAttachment=hl(this.wrapperRef);arrowAttachment=hl(this.arrowRef);arrowId=oc(hd());#e=J(()=>{if(typeof this.opts.style==`string`)return Nc(this.opts.style);if(!this.opts.style)return{}});#t=void 0;#n=new Qc(()=>this.arrowRef.current??void 0);#r=J(()=>this.#n?.width??0);#i=J(()=>this.#n?.height??0);#a=J(()=>this.opts.side?.current+(this.opts.align.current===`center`?``:`-${this.opts.align.current}`));#o=J(()=>Array.isArray(this.opts.collisionBoundary.current)?this.opts.collisionBoundary.current:[this.opts.collisionBoundary.current]);#s=J(()=>A(this.#o).length>0);get hasExplicitBoundaries(){return A(this.#s)}set hasExplicitBoundaries(e){R(this.#s,e)}#c=J(()=>({padding:this.opts.collisionPadding.current,boundary:A(this.#o).filter(Ll),altBoundary:this.hasExplicitBoundaries}));get detectOverflowOptions(){return A(this.#c)}set detectOverflowOptions(e){R(this.#c,e)}#l=j(void 0);#u=j(void 0);#d=j(void 0);#f=j(void 0);#p=J(()=>[H_({mainAxis:this.opts.sideOffset.current+A(this.#i),alignmentAxis:this.opts.alignOffset.current}),this.opts.avoidCollisions.current&&U_({mainAxis:!0,crossAxis:!1,limiter:this.opts.sticky.current===`partial`?J_():void 0,...this.detectOverflowOptions}),this.opts.avoidCollisions.current&&W_({...this.detectOverflowOptions}),G_({...this.detectOverflowOptions,apply:({rects:e,availableWidth:t,availableHeight:n})=>{let{width:r,height:i}=e.reference;R(this.#l,t,!0),R(this.#u,n,!0),R(this.#d,r,!0),R(this.#f,i,!0)}}),this.arrowRef.current&&q_({element:this.arrowRef.current,padding:this.opts.arrowPadding.current}),lv({arrowWidth:A(this.#r),arrowHeight:A(this.#i)}),this.opts.hideWhenDetached.current&&K_({strategy:`referenceHidden`,...this.detectOverflowOptions})].filter(Boolean));get middleware(){return A(this.#p)}set middleware(e){R(this.#p,e)}floating;#m=J(()=>dv(this.floating.placement));get placedSide(){return A(this.#m)}set placedSide(e){R(this.#m,e)}#h=J(()=>fv(this.floating.placement));get placedAlign(){return A(this.#h)}set placedAlign(e){R(this.#h,e)}#g=J(()=>this.floating.middlewareData.arrow?.x??0);get arrowX(){return A(this.#g)}set arrowX(e){R(this.#g,e)}#_=J(()=>this.floating.middlewareData.arrow?.y??0);get arrowY(){return A(this.#_)}set arrowY(e){R(this.#_,e)}#v=J(()=>this.floating.middlewareData.arrow?.centerOffset!==0);get cannotCenterArrow(){return A(this.#v)}set cannotCenterArrow(e){R(this.#v,e)}#y=j();get contentZIndex(){return A(this.#y)}set contentZIndex(e){R(this.#y,e,!0)}#b=J(()=>nv[this.placedSide]);get arrowBaseSide(){return A(this.#b)}set arrowBaseSide(e){R(this.#b,e)}#x=J(()=>({id:this.opts.wrapperId.current,"data-bits-floating-content-wrapper":``,style:{...this.floating.floatingStyles,transform:this.floating.isPositioned?this.floating.floatingStyles.transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:this.contentZIndex,"--bits-floating-transform-origin":`${this.floating.middlewareData.transformOrigin?.x} ${this.floating.middlewareData.transformOrigin?.y}`,"--bits-floating-available-width":`${A(this.#l)}px`,"--bits-floating-available-height":`${A(this.#u)}px`,"--bits-floating-anchor-width":`${A(this.#d)}px`,"--bits-floating-anchor-height":`${A(this.#f)}px`,...this.floating.middlewareData.hide?.referenceHidden&&{visibility:`hidden`,"pointer-events":`none`},...A(this.#e)},dir:this.opts.dir.current,...this.wrapperAttachment}));get wrapperProps(){return A(this.#x)}set wrapperProps(e){R(this.#x,e)}#S=J(()=>({"data-side":this.placedSide,"data-align":this.placedAlign,style:Rc({...A(this.#e)}),...this.contentAttachment}));get props(){return A(this.#S)}set props(e){R(this.#S,e)}#C=J(()=>({position:`absolute`,left:this.arrowX?`${this.arrowX}px`:void 0,top:this.arrowY?`${this.arrowY}px`:void 0,[this.arrowBaseSide]:0,"transform-origin":{top:``,right:`0 0`,bottom:`center 0`,left:`100% 0`}[this.placedSide],transform:{top:`translateY(100%)`,right:`translateY(50%) rotate(90deg) translateX(-50%)`,bottom:`rotate(180deg)`,left:`translateY(50%) rotate(-90deg) translateX(50%)`}[this.placedSide],visibility:this.cannotCenterArrow?`hidden`:void 0}));get arrowStyle(){return A(this.#C)}set arrowStyle(e){R(this.#C,e)}constructor(e,t){this.opts=e,this.root=t,this.#t=e.updatePositionStrategy,e.customAnchor&&(this.root.customAnchorNode.current=e.customAnchor.current),Yc(()=>e.customAnchor.current,e=>{this.root.customAnchorNode.current=e}),this.floating=ev({strategy:()=>this.opts.strategy.current,placement:()=>A(this.#a),middleware:()=>this.middleware,reference:this.root.anchorNode,whileElementsMounted:(...e)=>V_(...e,{animationFrame:this.#t?.current===`always`}),open:()=>this.opts.enabled.current,sideOffset:()=>this.opts.sideOffset.current,alignOffset:()=>this.opts.alignOffset.current}),K(()=>{this.floating.isPositioned&&this.opts.onPlaced?.current()}),Yc(()=>this.contentRef.current,e=>{if(!e||!this.opts.enabled.current)return;let t=fl(e),n=t.requestAnimationFrame(()=>{if(this.contentRef.current!==e||!this.opts.enabled.current)return;let n=t.getComputedStyle(e).zIndex;n!==this.contentZIndex&&(this.contentZIndex=n)});return()=>{t.cancelAnimationFrame(n)}}),K(()=>{this.floating.floating.current=this.wrapperRef.current})}},cv=class e{static create(t,n=!1){return n?new e(t,av.get()):new e(t,rv.get())}opts;root;constructor(e,t){this.opts=e,this.root=t,t.triggerNode=e.virtualEl&&e.virtualEl.current?ac(e.virtualEl.current):e.ref}};function lv(e){return{name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=uv(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;return c===`bottom`?(p=a?u:`${d}px`,m=`${-s}px`):c===`top`?(p=a?u:`${d}px`,m=`${r.floating.height+s}px`):c===`right`?(p=`${-s}px`,m=a?u:`${f}px`):c===`left`&&(p=`${r.floating.width+s}px`,m=a?u:`${f}px`),{data:{x:p,y:m}}}}}function uv(e){let[t,n=`center`]=e.split(`-`);return[t,n]}function dv(e){return uv(e)[0]}function fv(e){return uv(e)[1]}function pv(e,n){Y(n,!0);let a=z(n,`tooltip`,3,!1);ov.create(a());var s=E(),c=q(s);t(c,()=>n.children??o),r(e,s),i()}function mv(e,n){Y(n,!0);let a=z(n,`tooltip`,3,!1);cv.create({id:Z(()=>n.id),virtualEl:Z(()=>n.virtualEl),ref:n.ref},a());var s=E(),c=q(s);t(c,()=>n.children??o),r(e,s),i()}function hv(e,n){Y(n,!0);let a=z(n,`side`,3,`bottom`),s=z(n,`sideOffset`,3,0),c=z(n,`align`,3,`center`),l=z(n,`alignOffset`,3,0),u=z(n,`arrowPadding`,3,0),d=z(n,`avoidCollisions`,3,!0),f=z(n,`collisionBoundary`,19,()=>[]),p=z(n,`collisionPadding`,3,0),m=z(n,`hideWhenDetached`,3,!1),h=z(n,`onPlaced`,3,()=>{}),g=z(n,`sticky`,3,`partial`),_=z(n,`updatePositionStrategy`,3,`optimized`),v=z(n,`strategy`,3,`fixed`),y=z(n,`dir`,3,`ltr`),b=z(n,`style`,19,()=>({})),x=z(n,`wrapperId`,19,hd),S=z(n,`customAnchor`,3,null),C=z(n,`tooltip`,3,!1),w=sv.create({side:Z(()=>a()),sideOffset:Z(()=>s()),align:Z(()=>c()),alignOffset:Z(()=>l()),id:Z(()=>n.id),arrowPadding:Z(()=>u()),avoidCollisions:Z(()=>d()),collisionBoundary:Z(()=>f()),collisionPadding:Z(()=>p()),hideWhenDetached:Z(()=>m()),onPlaced:Z(()=>h()),sticky:Z(()=>g()),updatePositionStrategy:Z(()=>_()),strategy:Z(()=>v()),dir:Z(()=>y()),style:Z(()=>b()),enabled:Z(()=>n.enabled),wrapperId:Z(()=>x()),customAnchor:Z(()=>S())},C()),T=J(()=>Q(w.wrapperProps,{style:{pointerEvents:`auto`}}));var D=E(),O=q(D);t(O,()=>n.content??o,()=>({props:w.props,wrapperProps:A(T)})),r(e,D),i()}function gv(e,n){Y(n,!0),ue(()=>{n.onPlaced?.()});var a=E(),s=q(a);t(s,()=>n.content??o,()=>({props:{},wrapperProps:{}})),r(e,a),i()}var _v=new Set([`$$slots`,`$$events`,`$$legacy`,`content`,`isStatic`,`onPlaced`]);function vv(e,t){let n=z(t,`isStatic`,3,!1),i=M(t,_v);var a=E(),o=q(a),s=e=>{gv(e,{get content(){return t.content},get onPlaced(){return t.onPlaced}})},c=e=>{hv(e,G({get content(){return t.content},get onPlaced(){return t.onPlaced}},()=>i))};v(o,e=>{n()?e(s):e(c,-1)}),r(e,a)}var yv=new Set(`$$slots.$$events.$$legacy.popper.onEscapeKeydown.escapeKeydownBehavior.preventOverflowTextSelection.id.onPointerDown.onPointerUp.side.sideOffset.align.alignOffset.arrowPadding.avoidCollisions.collisionBoundary.collisionPadding.sticky.hideWhenDetached.updatePositionStrategy.strategy.dir.preventScroll.wrapperId.style.onPlaced.onInteractOutside.onCloseAutoFocus.onOpenAutoFocus.onFocusOutside.interactOutsideBehavior.loop.trapFocus.isValidEvent.customAnchor.isStatic.enabled.ref.tooltip.contentPointerEvents`.split(`.`)),bv=c(`<!> <!>`,1);function xv(e,n){Y(n,!0);let a=z(n,`interactOutsideBehavior`,3,`close`),s=z(n,`trapFocus`,3,!0),c=z(n,`isValidEvent`,3,()=>!1),l=z(n,`customAnchor`,3,null),u=z(n,`isStatic`,3,!1),d=z(n,`tooltip`,3,!1),f=z(n,`contentPointerEvents`,3,`auto`),p=M(n,yv),m=J(()=>n.preventScroll??!0),h=J(()=>n.strategy??(A(m)?`fixed`:`absolute`));vv(e,{get isStatic(){return u()},get id(){return n.id},get side(){return n.side},get sideOffset(){return n.sideOffset},get align(){return n.align},get alignOffset(){return n.alignOffset},get arrowPadding(){return n.arrowPadding},get avoidCollisions(){return n.avoidCollisions},get collisionBoundary(){return n.collisionBoundary},get collisionPadding(){return n.collisionPadding},get sticky(){return n.sticky},get hideWhenDetached(){return n.hideWhenDetached},get updatePositionStrategy(){return n.updatePositionStrategy},get strategy(){return A(h)},get dir(){return n.dir},get wrapperId(){return n.wrapperId},get style(){return n.style},get onPlaced(){return n.onPlaced},get customAnchor(){return l()},get enabled(){return n.enabled},get tooltip(){return d()},content:(e,i)=>{let l=()=>(i?.()).props,u=()=>(i?.()).wrapperProps;var d=bv(),h=q(d),g=e=>{Dd(e,{get preventScroll(){return A(m)}})},_=e=>{Dd(e,{get preventScroll(){return A(m)}})};v(h,e=>{n.forceMount&&n.enabled?e(g):n.forceMount||e(_,1)}),sd(I(h,2),{get onOpenAutoFocus(){return n.onOpenAutoFocus},get onCloseAutoFocus(){return n.onCloseAutoFocus},get loop(){return n.loop},get enabled(){return n.enabled},get trapFocus(){return s()},get forceMount(){return n.forceMount},get ref(){return n.ref},focusScope:(e,i)=>{let s=()=>(i?.()).props;id(e,{get onEscapeKeydown(){return n.onEscapeKeydown},get escapeKeydownBehavior(){return n.escapeKeydownBehavior},get enabled(){return n.enabled},get ref(){return n.ref},children:(e,i)=>{td(e,{get id(){return n.id},get onInteractOutside(){return n.onInteractOutside},get onFocusOutside(){return n.onFocusOutside},get interactOutsideBehavior(){return a()},get isValidEvent(){return c()},get enabled(){return n.enabled},get ref(){return n.ref},children:(e,i)=>{let a=()=>(i?.()).props;md(e,{get id(){return n.id},get preventOverflowTextSelection(){return n.preventOverflowTextSelection},get onPointerDown(){return n.onPointerDown},get onPointerUp(){return n.onPointerUp},get enabled(){return n.enabled},get ref(){return n.ref},children:(e,i)=>{var c=E(),d=q(c);{let e=J(()=>({props:Q(p,l(),a(),s(),{style:{pointerEvents:f()}}),wrapperProps:u()}));t(d,()=>n.popper??o,()=>A(e))}r(e,c)},$$slots:{default:!0}})},$$slots:{default:!0}})},$$slots:{default:!0}})},$$slots:{focusScope:!0}}),r(e,d)},$$slots:{content:!0}}),i()}var Sv=new Set(`$$slots.$$events.$$legacy.popper.open.onEscapeKeydown.escapeKeydownBehavior.preventOverflowTextSelection.id.onPointerDown.onPointerUp.side.sideOffset.align.alignOffset.arrowPadding.avoidCollisions.collisionBoundary.collisionPadding.sticky.hideWhenDetached.updatePositionStrategy.strategy.dir.preventScroll.wrapperId.style.onPlaced.onInteractOutside.onCloseAutoFocus.onOpenAutoFocus.onFocusOutside.interactOutsideBehavior.loop.trapFocus.isValidEvent.customAnchor.isStatic.ref.shouldRender`.split(`.`));function Cv(e,t){let n=z(t,`interactOutsideBehavior`,3,`close`),i=z(t,`trapFocus`,3,!0),a=z(t,`isValidEvent`,3,()=>!1),o=z(t,`customAnchor`,3,null),s=z(t,`isStatic`,3,!1),c=M(t,Sv);var l=E(),u=q(l),d=e=>{xv(e,G({get popper(){return t.popper},get onEscapeKeydown(){return t.onEscapeKeydown},get escapeKeydownBehavior(){return t.escapeKeydownBehavior},get preventOverflowTextSelection(){return t.preventOverflowTextSelection},get id(){return t.id},get onPointerDown(){return t.onPointerDown},get onPointerUp(){return t.onPointerUp},get side(){return t.side},get sideOffset(){return t.sideOffset},get align(){return t.align},get alignOffset(){return t.alignOffset},get arrowPadding(){return t.arrowPadding},get avoidCollisions(){return t.avoidCollisions},get collisionBoundary(){return t.collisionBoundary},get collisionPadding(){return t.collisionPadding},get sticky(){return t.sticky},get hideWhenDetached(){return t.hideWhenDetached},get updatePositionStrategy(){return t.updatePositionStrategy},get strategy(){return t.strategy},get dir(){return t.dir},get preventScroll(){return t.preventScroll},get wrapperId(){return t.wrapperId},get style(){return t.style},get onPlaced(){return t.onPlaced},get customAnchor(){return o()},get isStatic(){return s()},get enabled(){return t.open},get onInteractOutside(){return t.onInteractOutside},get onCloseAutoFocus(){return t.onCloseAutoFocus},get onOpenAutoFocus(){return t.onOpenAutoFocus},get interactOutsideBehavior(){return n()},get loop(){return t.loop},get trapFocus(){return i()},get isValidEvent(){return a()},get onFocusOutside(){return t.onFocusOutside},forceMount:!1,get ref(){return t.ref}},()=>c))};v(u,e=>{t.shouldRender&&e(d)}),r(e,l)}var wv=new Set(`$$slots.$$events.$$legacy.popper.onEscapeKeydown.escapeKeydownBehavior.preventOverflowTextSelection.id.onPointerDown.onPointerUp.side.sideOffset.align.alignOffset.arrowPadding.avoidCollisions.collisionBoundary.collisionPadding.sticky.hideWhenDetached.updatePositionStrategy.strategy.dir.preventScroll.wrapperId.style.onPlaced.onInteractOutside.onCloseAutoFocus.onOpenAutoFocus.onFocusOutside.interactOutsideBehavior.loop.trapFocus.isValidEvent.customAnchor.isStatic.enabled`.split(`.`));function Tv(e,t){let n=z(t,`interactOutsideBehavior`,3,`close`),r=z(t,`trapFocus`,3,!0),i=z(t,`isValidEvent`,3,()=>!1),a=z(t,`customAnchor`,3,null),o=z(t,`isStatic`,3,!1),s=M(t,wv);xv(e,G({get popper(){return t.popper},get onEscapeKeydown(){return t.onEscapeKeydown},get escapeKeydownBehavior(){return t.escapeKeydownBehavior},get preventOverflowTextSelection(){return t.preventOverflowTextSelection},get id(){return t.id},get onPointerDown(){return t.onPointerDown},get onPointerUp(){return t.onPointerUp},get side(){return t.side},get sideOffset(){return t.sideOffset},get align(){return t.align},get alignOffset(){return t.alignOffset},get arrowPadding(){return t.arrowPadding},get avoidCollisions(){return t.avoidCollisions},get collisionBoundary(){return t.collisionBoundary},get collisionPadding(){return t.collisionPadding},get sticky(){return t.sticky},get hideWhenDetached(){return t.hideWhenDetached},get updatePositionStrategy(){return t.updatePositionStrategy},get strategy(){return t.strategy},get dir(){return t.dir},get preventScroll(){return t.preventScroll},get wrapperId(){return t.wrapperId},get style(){return t.style},get onPlaced(){return t.onPlaced},get customAnchor(){return a()},get isStatic(){return o()},get enabled(){return t.enabled},get onInteractOutside(){return t.onInteractOutside},get onCloseAutoFocus(){return t.onCloseAutoFocus},get onOpenAutoFocus(){return t.onOpenAutoFocus},get interactOutsideBehavior(){return n()},get loop(){return t.loop},get trapFocus(){return r()},get isValidEvent(){return i()},get onFocusOutside(){return t.onFocusOutside}},()=>s,{forceMount:!0}))}var Ev=xl({component:`date-field`,parts:[`input`,`label`,`segment`]}),Dv={day:{min:1,max:e=>{let t=e.segmentValues.month,n=e.value.current??e.placeholder.current;return Pp(t?n.set({month:Number.parseInt(t)}):n)},cycle:1,padZero:!0},month:{min:1,max:12,cycle:1,padZero:!0,getAnnouncement:(e,t)=>t.placeholder.current?`${e} - ${t.formatter.fullMonth(Op(t.placeholder.current.set({month:e})))}`:``},year:{min:1,max:9999,cycle:1,padZero:!1},hour:{min:e=>+(e.hourCycle.current===12),max:e=>e.hourCycle.current===24?23:e.hourCycle.current===12||ym(e.locale.current)===12?12:23,cycle:1,canBeZero:!0,padZero:!0},minute:{min:0,max:59,cycle:1,canBeZero:!0,padZero:!0},second:{min:0,max:59,cycle:1,canBeZero:!0,padZero:!0}},Ov=new Kc(`DateField.Root`),kv=class e{static create(t,n){return Ov.set(new e(t,n))}value;placeholder;validate;minValue;maxValue;disabled;readonly;granularity;readonlySegments;hourCycle;locale;hideTimeZone;required;onInvalid;errorMessageId;isInvalidProp;descriptionId=hd();formatter;initialSegments;#e=j();get segmentValues(){return A(this.#e)}set segmentValues(e){R(this.#e,e,!0)}announcer;#t=J(()=>new Set(this.readonlySegments.current));get readonlySegmentsSet(){return A(this.#t)}set readonlySegmentsSet(e){R(this.#t,e)}segmentStates=om();#n=j(null);#r=j(null);#i=j(null);get descriptionNode(){return A(this.#i)}set descriptionNode(e){R(this.#i,e,!0)}#a=j(null);get validationNode(){return A(this.#a)}set validationNode(e){R(this.#a,e,!0)}states=om();#o=!1;#s=j(null);get dayPeriodNode(){return A(this.#s)}set dayPeriodNode(e){R(this.#s,e,!0)}rangeRoot=void 0;#c=j(``);get name(){return A(this.#c)}set name(e){R(this.#c,e,!0)}domContext=new ml(()=>null);constructor(e,t){this.rangeRoot=t,this.value=e.value,this.placeholder=t?t.opts.placeholder:e.placeholder,this.validate=t?oc(void 0):e.validate,this.minValue=t?t.opts.minValue:e.minValue,this.maxValue=t?t.opts.maxValue:e.maxValue,this.disabled=t?t.opts.disabled:e.disabled,this.readonly=t?t.opts.readonly:e.readonly,this.granularity=t?t.opts.granularity:e.granularity,this.readonlySegments=t?t.opts.readonlySegments:e.readonlySegments,this.hourCycle=t?t.opts.hourCycle:e.hourCycle,this.locale=t?t.opts.locale:e.locale,this.hideTimeZone=t?t.opts.hideTimeZone:e.hideTimeZone,this.required=t?t.opts.required:e.required,this.onInvalid=t?t.opts.onInvalid:e.onInvalid,this.errorMessageId=t?t.opts.errorMessageId:e.errorMessageId,this.isInvalidProp=e.isInvalidProp,this.formatter=Am({initialLocale:this.locale.current,monthFormat:Z(()=>`long`),yearFormat:Z(()=>`numeric`)}),this.initialSegments=tm(this.inferredGranularity),this.segmentValues=this.initialSegments,this.announcer=wp(null),this.getFieldNode=this.getFieldNode.bind(this),this.updateSegment=this.updateSegment.bind(this),this.handleSegmentClick=this.handleSegmentClick.bind(this),this.getBaseSegmentAttrs=this.getBaseSegmentAttrs.bind(this),K(()=>{ae(()=>{this.initialSegments=tm(this.inferredGranularity)})}),ue(()=>{this.announcer=wp(this.domContext.getDocument())}),$c(()=>{t||vm(this.descriptionId,this.domContext.getDocument())}),K(()=>{t||this.formatter.getLocale()!==this.locale.current&&this.formatter.setLocale(this.locale.current)}),K(()=>{if(t)return;this.value.current&&_m({id:ae(()=>this.descriptionId),formatter:this.formatter,value:this.value.current,doc:this.domContext.getDocument()});let e=ae(()=>this.placeholder.current);this.value.current&&e!==this.value.current&&ae(()=>{this.value.current&&(this.placeholder.current=this.value.current)})}),this.value.current&&this.syncSegmentValues(this.value.current),K(()=>{this.locale.current,this.value.current&&this.syncSegmentValues(this.value.current),this.#l()}),K(()=>{if(this.value.current===void 0){if(this.#o){this.#o=!1;return}this.segmentValues=tm(this.inferredGranularity)}}),Yc(()=>this.validationStatus,()=>{this.validationStatus!==!1&&this.onInvalid.current?.(this.validationStatus.reason,this.validationStatus.message)})}setName(e){this.name=e}setFieldNode(e){R(this.#n,e,!0)}getFieldNode(){return this.rangeRoot?this.rangeRoot.fieldNode:A(this.#n)}setLabelNode(e){R(this.#r,e,!0)}getLabelNode(){return this.rangeRoot?this.rangeRoot.labelNode:A(this.#r)}#l(){this.states.day.updating=null,this.states.month.updating=null,this.states.year.updating=null,this.states.hour.updating=null,this.states.minute.updating=null,this.states.dayPeriod.updating=null}setValue(e){this.value.current=e}syncSegmentValues(e){let t=zp.map(t=>{let n=e[t];if(t===`month`){if(this.states.month.updating)return[t,this.states.month.updating];if(n<10)return[t,`0${n}`]}if(t===`day`){if(this.states.day.updating)return[t,this.states.day.updating];if(n<10)return[t,`0${n}`]}if(t===`year`){if(this.states.year.updating)return[t,this.states.year.updating];let e=4-`${n}`.length;if(e>0)return[t,`${`0`.repeat(e)}${n}`]}return[t,`${n}`]});if(`hour`in e){let n=Bp.map(t=>{if(t===`dayPeriod`)return this.states.dayPeriod.updating?[t,this.states.dayPeriod.updating]:[t,this.formatter.dayPeriod(Op(e))];if(t===`hour`){if(this.states.hour.updating)return[t,this.states.hour.updating];if(e[t]!==void 0&&e[t]<10)return[t,`0${e[t]}`];if(e[t]===0&&this.dayPeriodNode)return[t,`12`]}else if(t===`minute`){if(this.states.minute.updating)return[t,this.states.minute.updating];if(e[t]!==void 0&&e[t]<10)return[t,`0${e[t]}`]}else if(t===`second`){if(this.states.second.updating)return[t,this.states.second.updating];if(e[t]!==void 0&&e[t]<10)return[t,`0${e[t]}`]}return[t,`${e[t]}`]}),r=[...t,...n];this.segmentValues=Object.fromEntries(r),this.#l();return}this.segmentValues=Object.fromEntries(t)}#u=J(()=>{let e=this.value.current;if(!e)return!1;let t=this.validate.current?.(e);if(t)return{reason:`custom`,message:t};let n=this.minValue.current;if(n&&Fp(e,n))return{reason:`min`};let r=this.maxValue.current;return r&&Fp(r,e)?{reason:`max`}:!1});get validationStatus(){return A(this.#u)}set validationStatus(e){R(this.#u,e)}#d=J(()=>this.validationStatus!==!1&&(this.isInvalidProp.current,!0));get isInvalid(){return A(this.#d)}set isInvalid(e){R(this.#d,e)}#f=J(()=>this.granularity.current||mm(this.placeholder.current,this.granularity.current));get inferredGranularity(){return A(this.#f)}set inferredGranularity(e){R(this.#f,e)}#p=J(()=>this.value.current===void 0?this.placeholder.current:this.value.current);get dateRef(){return A(this.#p)}set dateRef(e){R(this.#p,e)}#m=J(()=>im({segmentValues:this.segmentValues,formatter:this.formatter,locale:this.locale.current,granularity:this.inferredGranularity,dateRef:this.dateRef,hideTimeZone:this.hideTimeZone.current,hourCycle:this.hourCycle.current}));get allSegmentContent(){return A(this.#m)}set allSegmentContent(e){R(this.#m,e)}#h=J(()=>this.allSegmentContent.arr);get segmentContents(){return A(this.#h)}set segmentContents(e){R(this.#h,e)}sharedSegmentAttrs={role:`spinbutton`,contenteditable:`true`,tabindex:0,spellcheck:!1,inputmode:`numeric`,autocorrect:`off`,enterkeyhint:`next`,style:{caretColor:`transparent`},onbeforeinput:e=>{(!e.data||e.data.length<=1)&&e.preventDefault()}};#g(e){return`${e} ${this.getLabelNode()?.id??``}`}updateSegment(e,t){let n=this.disabled.current,r=this.readonly.current,i=this.readonlySegmentsSet;if(n||r||i.has(e))return;let a=this.segmentValues,o=a,s=this.placeholder.current;if(pm(a)){let n=a[e],r=t;if(e===`month`){let t=r(n);if(this.states.month.updating=t,t!==null&&a.day!==null){let e=Pp(Op(s.set({month:Number.parseInt(t)})));Number.parseInt(a.day)>e&&(a.day=`${e}`)}o={...a,[e]:t}}else if(e===`dayPeriod`){let t=r(n);this.states.dayPeriod.updating=t;let i=this.value.current;if(i&&`hour`in i){let e=i.hour;t===`AM`?e>=12&&(a.hour=`${e-12}`):t===`PM`&&e<12&&(a.hour=`${e+12}`)}o={...a,[e]:t}}else if(e===`hour`){let t=r(n);if(this.states.hour.updating=t,t!==null&&a.dayPeriod!==null){let e=this.formatter.dayPeriod(Op(s.set({hour:Number.parseInt(t)})),this.hourCycle.current);(e===`AM`||e===`PM`)&&(a.dayPeriod=e)}o={...a,[e]:t}}else if(e===`minute`){let t=r(n);this.states.minute.updating=t,o={...a,[e]:t}}else if(e===`second`){let t=r(n);this.states.second.updating=t,o={...a,[e]:t}}else if(e===`year`){let t=r(n);this.states.year.updating=t,o={...a,[e]:t}}else if(e===`day`){let t=r(n);this.states.day.updating=t,o={...a,[e]:t}}else{let t=r(n);o={...a,[e]:t}}}else if(sm(e)){let n=a[e],r=t,i=r(n);if(e===`month`&&i!==null&&a.day!==null){this.states.month.updating=i;let t=Pp(Op(s.set({month:Number.parseInt(i)})));Number.parseInt(a.day)>t&&(a.day=`${t}`),o={...a,[e]:i}}else if(e===`year`){let t=r(n);this.states.year.updating=t,o={...a,[e]:t}}else if(e===`day`){let t=r(n);this.states.day.updating=t,o={...a,[e]:t}}else o={...a,[e]:i}}this.segmentValues=o,fm(o,A(this.#n))?this.setValue(dm({segmentObj:o,fieldNode:A(this.#n),dateRef:this.placeholder.current})):(this.#o=!0,this.setValue(void 0),this.segmentValues=o)}handleSegmentClick(e){this.disabled.current&&e.preventDefault()}getBaseSegmentAttrs(e,t){let n=this.readonlySegmentsSet.has(e),r={"aria-invalid":_l(this.isInvalid),"aria-disabled":gl(this.disabled.current),"aria-readonly":gl(this.readonly.current||n),"data-invalid":$(this.isInvalid),"data-disabled":$(this.disabled.current),"data-readonly":$(this.readonly.current||n),"data-segment":`${e}`,[Ev.segment]:``};if(e===`literal`)return r;let i=this.descriptionNode?.id,a=gm(t,A(this.#n))&&i,o=this.errorMessageId?.current,s=a?`${i} ${this.isInvalid&&o?o:``}`:void 0,c=!(this.readonly.current||n||this.disabled.current);return{...r,"aria-labelledby":this.#g(t),contenteditable:c?`true`:void 0,"aria-describedby":s,tabindex:this.disabled.current?void 0:0}}},Av=class e{static create(t){return new e(t,Ov.get())}opts;root;domContext;attachment;constructor(e,t){this.opts=e,this.root=t,this.domContext=new ml(e.ref),this.root.domContext=this.domContext,this.attachment=hl(e.ref,e=>this.root.setFieldNode(e)),Yc(()=>this.opts.name.current,e=>{this.root.setName(e)})}#e=J(()=>{if(Ol&&this.domContext.getElementById(this.root.descriptionId))return this.root.descriptionId});#t=J(()=>({id:this.opts.id.current,role:`group`,"aria-labelledby":this.root.getLabelNode()?.id??void 0,"aria-describedby":A(this.#e),"aria-disabled":gl(this.root.disabled.current),"data-invalid":this.root.isInvalid?``:void 0,"data-disabled":$(this.root.disabled.current),[Ev.input]:``,...this.attachment}));get props(){return A(this.#t)}set props(e){R(this.#t,e)}},jv=class e{static create(){return new e(Ov.get())}root;#e=J(()=>this.root.name!==``);get shouldRender(){return A(this.#e)}set shouldRender(e){R(this.#e,e)}#t=J(()=>this.root.value.current?this.root.value.current.toString():``);get isoValue(){return A(this.#t)}set isoValue(e){R(this.#t,e)}constructor(e){this.root=e}#n=J(()=>({name:this.root.name,value:this.isoValue,required:this.root.required.current}));get props(){return A(this.#n)}set props(e){R(this.#n,e)}},Mv=class e{static create(t){return new e(t,Ov.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.onclick=this.onclick.bind(this),this.attachment=hl(e.ref,e=>this.root.setLabelNode(e))}onclick(e){if(this.root.disabled.current)return;let t=Om(this.root.getFieldNode());t&&t.focus()}#e=J(()=>({id:this.opts.id.current,"data-invalid":$(this.root.isInvalid),"data-disabled":$(this.root.disabled.current),[Ev.label]:``,onclick:this.onclick,...this.attachment}));get props(){return A(this.#e)}set props(e){R(this.#e,e)}},Nv=class{opts;root;announcer;part;config;attachment;constructor(e,t,n,r){this.opts=e,this.root=t,this.part=n,this.config=r,this.announcer=t.announcer,this.onkeydown=this.onkeydown.bind(this),this.onfocusout=this.onfocusout.bind(this),this.attachment=hl(e.ref)}#e(){return typeof this.config.max==`function`?this.config.max(this.root):this.config.max}#t(){return typeof this.config.min==`function`?this.config.min(this.root):this.config.min}#n(e){return this.config.getAnnouncement?this.config.getAnnouncement(e,this.root):e}#r(e,t=!0){let n=String(e);return t&&this.config.padZero&&n.length===1?`0${e}`:n}onkeydown(e){let t=this.root.value.current??this.root.placeholder.current;if(!(e.ctrlKey||e.metaKey||this.root.disabled.current)&&!((this.part===`hour`||this.part===`minute`||this.part===`second`)&&!(this.part in t))&&(e.key!==`Tab`&&e.preventDefault(),hm(e.key))){if(Gv(e.key)){this.#i(t);return}if(Kv(e.key)){this.#a(t);return}if(Pl(e.key)){this.#o(e);return}if(qv(e.key)){this.#s(e);return}Em(e.key)&&bm(e,this.root.getFieldNode())}}#i(e){let t=this.part;t in this.root.states&&(this.root.states[t].hasLeftFocus=!1),this.root.updateSegment(this.part,t=>{if(t===null){let t=e[this.part];return this.announcer.announce(this.#n(t)),this.#r(t)}let n=e.set({[this.part]:Number.parseInt(t)}).cycle(this.part,this.config.cycle)[this.part];return this.announcer.announce(this.#n(n)),this.#r(n)})}#a(e){let t=this.part;t in this.root.states&&(this.root.states[t].hasLeftFocus=!1),this.root.updateSegment(this.part,t=>{if(t===null){let t=e[this.part];return this.announcer.announce(this.#n(t)),this.#r(t)}let n=e.set({[this.part]:Number.parseInt(t)}).cycle(this.part,-this.config.cycle)[this.part];return this.announcer.announce(this.#n(n)),this.#r(n)})}#o(e){let t=Number.parseInt(e.key),n=!1,r=this.#e(),i=Math.floor(r/10),a=t===0,o=this.part;this.root.updateSegment(this.part,e=>{if(o in this.root.states&&this.root.states[o].hasLeftFocus&&(e=null,this.root.states[o].hasLeftFocus=!1),e===null)return a?(o in this.root.states&&(this.root.states[o].lastKeyZero=!0),this.announcer.announce(`0`),`0`):(o in this.root.states&&(this.root.states[o].lastKeyZero||t>i)&&(n=!0),o in this.root.states&&(this.root.states[o].lastKeyZero=!1),n&&String(t).length===1?(this.announcer.announce(t),`0${t}`):`${t}`);if(o in this.root.states&&this.root.states[o].lastKeyZero)return t===0?this.part===`hour`&&t===0&&this.root.hourCycle.current===24||(this.part===`minute`||this.part===`second`)&&t===0?(n=!0,this.root.states[o].lastKeyZero=!1,`00`):e:(n=!0,this.root.states[o].lastKeyZero=!1,`0${t}`);let s=Number.parseInt(e+t.toString());return s>r?(n=!0,`0${t}`):(n=!0,`${s}`)}),n&&wm(e,this.root.getFieldNode())}#s(e){let t=this.part;t in this.root.states&&(this.root.states[t].hasLeftFocus=!1);let n=!1;this.root.updateSegment(this.part,e=>{if(e===null)return n=!0,this.announcer.announce(null),null;if(e.length===2&&e.startsWith(`0`))return this.announcer.announce(null),null;let t=e.toString();if(t.length===1)return this.announcer.announce(null),null;let r=Number.parseInt(t.slice(0,-1));return this.announcer.announce(this.#n(r)),`${r}`}),n&&Tm(e,this.root.getFieldNode())}onfocusout(e){let t=this.part;t in this.root.states&&(this.root.states[t].hasLeftFocus=!0),this.config.padZero&&this.root.updateSegment(this.part,e=>e&&e.length===1?`0${e}`:e)}getSegmentProps(){let e=this.root.segmentValues,t=this.root.placeholder.current,n=e[this.part]===null,r=t;e[this.part]&&(r=t.set({[this.part]:Number.parseInt(e[this.part])}));let i=r[this.part],a=this.#t(),o=this.#e(),s=n?`Empty`:`${i}`;return this.part===`hour`&&`dayPeriod`in e&&e.dayPeriod&&(s=n?`Empty`:`${i} ${e.dayPeriod}`),{"aria-label":`${this.part}, `,"aria-valuemin":a,"aria-valuemax":o,"aria-valuenow":i,"aria-valuetext":s}}#c=J(()=>({...this.root.sharedSegmentAttrs,id:this.opts.id.current,...this.getSegmentProps(),onkeydown:this.onkeydown,onfocusout:this.onfocusout,onclick:this.root.handleSegmentClick,...this.root.getBaseSegmentAttrs(this.part,this.opts.id.current),...this.attachment}));get props(){return A(this.#c)}set props(e){R(this.#c,e)}},Pv=class extends Nv{#e=[];#t=0;constructor(e,t){super(e,t,`year`,Dv.year)}onkeydown(e){if(!(e.ctrlKey||e.metaKey||this.root.disabled.current)&&(e.key!==`Tab`&&e.preventDefault(),hm(e.key))){if(Gv(e.key)){this.#n(),super.onkeydown(e);return}if(Kv(e.key)){this.#n(),super.onkeydown(e);return}if(Pl(e.key)){this.#i(e);return}if(qv(e.key)){this.#a(e);return}Em(e.key)&&bm(e,this.root.getFieldNode())}}#n(){this.#t=0}#r(){this.#t++}#i(e){this.#e.push(e.key);let t=!1,n=Number.parseInt(e.key);this.root.updateSegment(`year`,e=>{if(this.root.states.year.hasLeftFocus&&(e=null,this.root.states.year.hasLeftFocus=!1),e===null)return this.announcer.announce(n),`${n}`;let r=e.toString()+n.toString(),i=Number.parseInt(r);if(String(i).length<4)return this.#t>0&&this.#e.length<=this.#t&&r.length<=4?(this.announcer.announce(i),r.length===4&&(t=!0),r):(this.announcer.announce(i),Jv(i));this.announcer.announce(i),t=!0;let a=`${i}`;return a.length>4?a.slice(0,4):a}),this.#e.length===4&&(t=!0),t&&wm(e,this.root.getFieldNode())}#a(e){this.#e=[],this.#r();let t=!1;this.root.updateSegment(`year`,e=>{if(this.root.states.year.hasLeftFocus=!1,e===null)return t=!0,this.announcer.announce(null),null;let n=e.toString();if(n.length===1)return this.announcer.announce(null),null;let r=n.slice(0,-1);return this.announcer.announce(Number.parseInt(r)),r}),t&&Tm(e,this.root.getFieldNode())}onfocusout(e){this.root.states.year.hasLeftFocus=!0,this.#e=[],this.#n(),this.root.updateSegment(`year`,e=>e&&e.length!==4?Jv(Number.parseInt(e)):e)}},Fv=class extends Nv{constructor(e,t){super(e,t,`day`,Dv.day)}},Iv=class extends Nv{constructor(e,t){super(e,t,`month`,Dv.month)}},Lv=class extends Nv{constructor(e,t){super(e,t,`hour`,Dv.hour)}onkeydown(e){if(Pl(e.key)){let e=this.root.updateSegment.bind(this.root);this.root.updateSegment=(t,n)=>{let r=e(t,n);return t===`hour`&&`hour`in this.root.segmentValues&&this.root.segmentValues.hour===`0`&&this.root.dayPeriodNode&&this.root.hourCycle.current!==24&&(this.root.segmentValues.hour=`12`),r}}super.onkeydown(e),this.root.updateSegment=this.root.updateSegment.bind(this.root)}},Rv=class extends Nv{constructor(e,t){super(e,t,`minute`,Dv.minute)}},zv=class extends Nv{constructor(e,t){super(e,t,`second`,Dv.second)}},Bv=class e{static create(t){return new e(t,Ov.get())}opts;root;attachment;#e;constructor(e,t){this.opts=e,this.root=t,this.#e=this.root.announcer,this.onkeydown=this.onkeydown.bind(this),this.attachment=hl(e.ref,e=>this.root.dayPeriodNode=e)}onkeydown(e){if(!(e.ctrlKey||e.metaKey||this.root.disabled.current)&&(e.key!==`Tab`&&e.preventDefault(),Wv(e.key))){if(Gv(e.key)||Kv(e.key)){this.root.updateSegment(`dayPeriod`,e=>e===`AM`?(this.#e.announce(`PM`),`PM`):(this.#e.announce(`AM`),`AM`));return}qv(e.key)&&(this.root.states.dayPeriod.hasLeftFocus=!1,this.root.updateSegment(`dayPeriod`,()=>(this.#e.announce(`AM`),`AM`))),e.key===`A`||e.key,this.root.updateSegment(`dayPeriod`,()=>{let t=e.key===`A`||e.key===`a`?`AM`:`PM`;return this.#e.announce(t),t}),Em(e.key)&&bm(e,this.root.getFieldNode())}}#t=J(()=>{let e=this.root.segmentValues;if(!(`dayPeriod`in e))return;let t=e.dayPeriod===`AM`?0:12,n=e.dayPeriod??`AM`;return{...this.root.sharedSegmentAttrs,id:this.opts.id.current,inputmode:`text`,"aria-label":`AM/PM`,"aria-valuemin":0,"aria-valuemax":12,"aria-valuenow":t,"aria-valuetext":n,onkeydown:this.onkeydown,onclick:this.root.handleSegmentClick,...this.root.getBaseSegmentAttrs(`dayPeriod`,this.opts.id.current),...this.attachment}});get props(){return A(this.#t)}set props(e){R(this.#t,e)}},Vv=class e{static create(t){return new e(t,Ov.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=hl(e.ref)}#e=J(()=>({id:this.opts.id.current,"aria-hidden":_l(!0),...this.root.getBaseSegmentAttrs(`literal`,this.opts.id.current),...this.attachment}));get props(){return A(this.#e)}set props(e){R(this.#e,e)}},Hv=class e{static create(t){return new e(t,Ov.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.onkeydown=this.onkeydown.bind(this),this.attachment=hl(e.ref)}onkeydown(e){e.key!==`Tab`&&e.preventDefault(),!this.root.disabled.current&&Em(e.key)&&bm(e,this.root.getFieldNode())}#e=J(()=>({role:`textbox`,id:this.opts.id.current,"aria-label":`timezone, `,style:{caretColor:`transparent`},onkeydown:this.onkeydown,...this.root.getBaseSegmentAttrs(`timeZoneName`,this.opts.id.current),"data-readonly":$(!0),...this.attachment}));get props(){return A(this.#e)}set props(e){R(this.#e,e)}},Uv=class{static create(e,t){let n=Ov.get();switch(e){case`day`:return new Fv(t,n);case`month`:return new Iv(t,n);case`year`:return new Pv(t,n);case`hour`:return new Lv(t,n);case`minute`:return new Rv(t,n);case`second`:return new zv(t,n);case`dayPeriod`:return new Bv(t,n);case`literal`:return new Vv(t,n);case`timeZoneName`:return new Hv(t,n)}}};function Wv(e){return hm(e)||e===`A`||e===`P`||e===`a`||e===`p`}function Gv(e){return e===Tl}function Kv(e){return e===Sl}function qv(e){return e===El}function Jv(e){let t=4-String(e).length;return`${`0`.repeat(t)}${e}`}function Yv(e,t){Y(t,!1);let n=jv.create();ge();var a=E(),o=q(a),s=e=>{Qh(e,G(()=>n.props))};v(o,e=>{n.shouldRender&&e(s)}),r(e,a),i()}var Xv=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`ref`,`name`,`children`,`child`]),Zv=c(`<div><!></div>`),Qv=c(`<!> <!>`,1);function $v(e,n){let a=D();Y(n,!0);let s=z(n,`id`,19,()=>Vl(a)),c=z(n,`ref`,15,null),l=z(n,`name`,3,``),u=M(n,Xv),d=Av.create({id:Z(()=>s()),ref:Z(()=>c(),e=>c(e)),name:Z(()=>l())}),f=J(()=>Q(u,d.props));var p=Qv(),m=q(p),h=e=>{var i=E(),a=q(i);t(a,()=>n.child,()=>({props:A(f),segments:d.root.segmentContents})),r(e,i)},g=e=>{var i=Zv();W(i,()=>({...A(f)}));var a=U(i);t(a,()=>n.children??o,()=>({segments:d.root.segmentContents})),V(i),r(e,i)};v(m,e=>{n.child?e(h):e(g,-1)}),Yv(I(m,2),{}),r(e,p),i()}var ey=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`ref`,`children`,`child`]),ty=c(`<div><!></div>`);function ny(e,n){let a=D();Y(n,!0);let s=z(n,`id`,19,()=>Vl(a)),c=z(n,`ref`,15,null),l=M(n,ey),u=Mv.create({id:Z(()=>s()),ref:Z(()=>c(),e=>c(e))}),d=J(()=>Q(l,u.props));var f=E(),p=q(f),m=e=>{var i=E(),a=q(i);t(a,()=>n.child,()=>({props:A(d)})),r(e,i)},h=e=>{var i=ty();W(i,()=>({...A(d)}));var a=U(i);t(a,()=>n.children??o),V(i),r(e,i)};v(p,e=>{n.child?e(m):e(h,-1)}),r(e,f),i()}var ry=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`ref`,`children`,`child`,`part`]),iy=c(`<span><!></span>`);function ay(e,n){let a=D();Y(n,!0);let s=z(n,`id`,19,()=>Vl(a)),c=z(n,`ref`,15,null),l=M(n,ry),u=Uv.create(n.part,{id:Z(()=>s()),ref:Z(()=>c(),e=>c(e))}),d=J(()=>Q(l,u.props));var f=E(),p=q(f),m=e=>{var i=E(),a=q(i);t(a,()=>n.child,()=>({props:A(d)})),r(e,i)},h=e=>{var i=iy();W(i,()=>({...A(d)}));var a=U(i);t(a,()=>n.children??o),V(i),r(e,i)};v(p,e=>{n.child?e(m):e(h,-1)}),r(e,f),i()}var oy=new Kc(`DatePicker.Root`),sy=class e{static create(t){return oy.set(new e(t))}opts;constructor(e){this.opts=e}};function cy(e,t){let[n,r]=e,i=!1,a=t.length;for(let e=0,o=a-1;e<a;o=e++){let[a,s]=t[e]??[0,0],[c,l]=t[o]??[0,0];s>=r!=l>=r&&n<=(c-a)*(r-s)/(l-s)+a&&(i=!i)}return i}function ly(e,t){return e[0]>=t.left&&e[0]<=t.right&&e[1]>=t.top&&e[1]<=t.bottom}function uy(e,t){let n=e.left+e.width/2,r=e.top+e.height/2,i=t.left+t.width/2,a=t.top+t.height/2,o=i-n,s=a-r;return Math.abs(o)>Math.abs(s)?o>0?`right`:`left`:s>0?`bottom`:`top`}var dy=class{#e;#t;#n;#r=null;#i=null;#a=[];#o=null;#s=null;#c=null;#l(){this.#s!==null&&(cancelAnimationFrame(this.#s),this.#s=null)}#u(){this.#l(),this.#s=requestAnimationFrame(()=>{this.#s=null,!(!this.#r||!this.#i)&&(this.#m(),this.#e.onPointerExit())})}#d(){this.#c!==null&&(clearTimeout(this.#c),this.#c=null)}#f(){this.#n!==null&&(this.#d(),this.#c=window.setTimeout(()=>{this.#c=null,!(!this.#r||!this.#i)&&(this.#m(),this.#e.onPointerExit())},this.#n))}constructor(e){this.#e=e,this.#t=e.buffer??1;let t=e.transitIntentTimeout;this.#n=typeof t==`number`&&t>0?t:null,Yc([e.triggerNode,e.contentNode,e.enabled],([e,t,n])=>{if(!e||!t||!n){this.#o=null,this.#m();return}this.#o&&this.#o!==e&&this.#m(),this.#o=e;let r=dl(e);return[k(r,`pointermove`,n=>{this.#p([n.clientX,n.clientY],e,t)}),k(e,`pointerleave`,e=>{let n=e.relatedTarget;if(Ml(n)&&t.contains(n))return;let r=this.#e.ignoredTargets?.()??[];Ml(n)&&r.some(e=>e===n||e.contains(n))||(this.#a=Ml(n)&&r.length>0?r.filter(e=>n.contains(e)):[],this.#r=[e.clientX,e.clientY],this.#i=`content`,this.#u())}),k(e,`pointerenter`,()=>{this.#m()}),k(t,`pointerenter`,()=>{this.#m()}),k(t,`pointerleave`,t=>{let n=t.relatedTarget;Ml(n)&&e.contains(n)||(this.#r=[t.clientX,t.clientY],this.#i=`trigger`,this.#u())})].reduce((e,t)=>()=>{e(),t()},()=>{})})}#p(e,t,n){if(!this.#r||!this.#i)return;this.#l(),this.#f();let r=t.getBoundingClientRect(),i=n.getBoundingClientRect();if(this.#i===`content`&&ly(e,i)){this.#m();return}if(this.#i===`trigger`&&ly(e,r)){this.#m();return}if(this.#i===`content`&&this.#a.length>0)for(let t of this.#a){let n=t.getBoundingClientRect();if(ly(e,n))return;let i=uy(r,n),a=this.#h(r,n,i);if(a&&cy(e,a))return}let a=uy(r,i),o=this.#h(r,i,a);if(o&&cy(e,o))return;let s=this.#i===`content`?i:r;cy(e,this.#g(this.#r,s,a,this.#i))||(this.#m(),this.#e.onPointerExit())}#m(){this.#r=null,this.#i=null,this.#a=[],this.#l(),this.#d()}#h(e,t,n){let r=this.#t;switch(n){case`top`:return[[Math.min(e.left,t.left)-r,e.top],[Math.min(e.left,t.left)-r,t.bottom],[Math.max(e.right,t.right)+r,t.bottom],[Math.max(e.right,t.right)+r,e.top]];case`bottom`:return[[Math.min(e.left,t.left)-r,e.bottom],[Math.min(e.left,t.left)-r,t.top],[Math.max(e.right,t.right)+r,t.top],[Math.max(e.right,t.right)+r,e.bottom]];case`left`:return[[e.left,Math.min(e.top,t.top)-r],[t.right,Math.min(e.top,t.top)-r],[t.right,Math.max(e.bottom,t.bottom)+r],[e.left,Math.max(e.bottom,t.bottom)+r]];case`right`:return[[e.right,Math.min(e.top,t.top)-r],[t.left,Math.min(e.top,t.top)-r],[t.left,Math.max(e.bottom,t.bottom)+r],[e.right,Math.max(e.bottom,t.bottom)+r]]}}#g(e,t,n,r){let i=this.#t*4,[a,o]=e;switch(r===`trigger`?this.#_(n):n){case`top`:return[[a-i,o+i],[a+i,o+i],[t.right+i,t.bottom],[t.right+i,t.top],[t.left-i,t.top],[t.left-i,t.bottom]];case`bottom`:return[[a-i,o-i],[a+i,o-i],[t.right+i,t.top],[t.right+i,t.bottom],[t.left-i,t.bottom],[t.left-i,t.top]];case`left`:return[[a+i,o-i],[a+i,o+i],[t.right,t.bottom+i],[t.left,t.bottom+i],[t.left,t.top-i],[t.right,t.top-i]];case`right`:return[[a-i,o-i],[a-i,o+i],[t.left,t.bottom+i],[t.right,t.bottom+i],[t.right,t.top-i],[t.left,t.top-i]]}}#_(e){switch(e){case`top`:return`bottom`;case`bottom`:return`top`;case`left`:return`right`;case`right`:return`left`}}},fy=xl({component:`popover`,parts:[`root`,`trigger`,`content`,`close`,`overlay`]}),py=new Kc(`Popover.Root`),my=class e{static create(t){return py.set(new e(t))}opts;#e=j(null);get contentNode(){return A(this.#e)}set contentNode(e){R(this.#e,e,!0)}contentPresence;#t=j(null);get triggerNode(){return A(this.#t)}set triggerNode(e){R(this.#t,e,!0)}#n=j(null);get overlayNode(){return A(this.#n)}set overlayNode(e){R(this.#n,e,!0)}overlayPresence;#r=j(!1);get openedViaHover(){return A(this.#r)}set openedViaHover(e){R(this.#r,e,!0)}#i=j(!1);get hasInteractedWithContent(){return A(this.#i)}set hasInteractedWithContent(e){R(this.#i,e,!0)}#a=j(!1);get hoverCooldown(){return A(this.#a)}set hoverCooldown(e){R(this.#a,e,!0)}#o=j(0);get closeDelay(){return A(this.#o)}set closeDelay(e){R(this.#o,e,!0)}#s=null;#c=null;constructor(e){this.opts=e,this.contentPresence=new zl({ref:Z(()=>this.contentNode),open:this.opts.open,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new zl({ref:Z(()=>this.overlayNode),open:this.opts.open}),Yc(()=>this.opts.open.current,e=>{e||(this.openedViaHover=!1,this.hasInteractedWithContent=!1,this.#l())})}setDomContext(e){this.#c=e}#l(){this.#s!==null&&this.#c&&(this.#c.clearTimeout(this.#s),this.#s=null)}toggleOpen(){this.#l(),this.opts.open.current=!this.opts.open.current}handleClose(){this.#l(),this.opts.open.current&&(this.opts.open.current=!1)}handleHoverOpen(){this.#l(),!this.opts.open.current&&(this.openedViaHover=!0,this.opts.open.current=!0)}handleHoverClose(){this.opts.open.current&&this.openedViaHover&&!this.hasInteractedWithContent&&(this.opts.open.current=!1)}handleDelayedHoverClose(){this.opts.open.current&&(!this.openedViaHover||this.hasInteractedWithContent||(this.#l(),this.closeDelay<=0?this.opts.open.current=!1:this.#c&&(this.#s=this.#c.setTimeout(()=>{this.openedViaHover&&!this.hasInteractedWithContent&&(this.opts.open.current=!1),this.#s=null},this.closeDelay))))}cancelDelayedClose(){this.#l()}markInteraction(){this.hasInteractedWithContent=!0,this.#l()}},hy=class e{static create(t){return new e(t,py.get())}opts;root;attachment;domContext;#e=null;#t=null;#n=j(!1);constructor(e,t){this.opts=e,this.root=t,this.attachment=hl(this.opts.ref,e=>this.root.triggerNode=e),this.domContext=new ml(e.ref),this.root.setDomContext(this.domContext),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this),this.onpointerenter=this.onpointerenter.bind(this),this.onpointerleave=this.onpointerleave.bind(this),Yc(()=>this.opts.closeDelay.current,e=>{this.root.closeDelay=e})}#r(){this.#e!==null&&(this.domContext.clearTimeout(this.#e),this.#e=null)}#i(){this.#t!==null&&(this.domContext.clearTimeout(this.#t),this.#t=null)}#a(){this.#r(),this.#i()}onpointerenter(e){if(this.opts.disabled.current||!this.opts.openOnHover.current||Il(e)||(R(this.#n,!0),this.#i(),this.root.cancelDelayedClose(),this.root.opts.open.current||this.root.hoverCooldown))return;let t=this.opts.openDelay.current;t<=0?this.root.handleHoverOpen():this.#e=this.domContext.setTimeout(()=>{this.root.handleHoverOpen(),this.#e=null},t)}onpointerleave(e){this.opts.disabled.current||this.opts.openOnHover.current&&(Il(e)||(R(this.#n,!1),this.#r(),this.root.hoverCooldown=!1))}onclick(e){if(!this.opts.disabled.current&&e.button===0){if(this.#a(),A(this.#n)&&this.root.opts.open.current&&this.root.openedViaHover){this.root.openedViaHover=!1,this.root.hasInteractedWithContent=!0;return}A(this.#n)&&this.opts.openOnHover.current&&this.root.opts.open.current&&(this.root.hoverCooldown=!0),this.root.hoverCooldown&&!this.root.opts.open.current&&(this.root.hoverCooldown=!1),this.root.toggleOpen()}}onkeydown(e){this.opts.disabled.current||(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),this.#a(),this.root.toggleOpen())}#o(){if(this.root.opts.open.current&&this.root.contentNode?.id)return this.root.contentNode?.id}#s=J(()=>({id:this.opts.id.current,"aria-haspopup":`dialog`,"aria-expanded":gl(this.root.opts.open.current),"data-state":vl(this.root.opts.open.current),"aria-controls":this.#o(),[fy.trigger]:``,disabled:this.opts.disabled.current,onkeydown:this.onkeydown,onclick:this.onclick,onpointerenter:this.onpointerenter,onpointerleave:this.onpointerleave,...this.attachment}));get props(){return A(this.#s)}set props(e){R(this.#s,e)}},gy=class e{static create(t){return new e(t,py.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=hl(this.opts.ref,e=>this.root.contentNode=e),this.onpointerdown=this.onpointerdown.bind(this),this.onfocusin=this.onfocusin.bind(this),this.onpointerenter=this.onpointerenter.bind(this),this.onpointerleave=this.onpointerleave.bind(this),new dy({triggerNode:()=>this.root.triggerNode,contentNode:()=>this.root.contentNode,enabled:()=>this.root.opts.open.current&&this.root.openedViaHover&&!this.root.hasInteractedWithContent,onPointerExit:()=>{this.root.handleDelayedHoverClose()}})}onpointerdown(e){this.root.markInteraction()}onfocusin(e){let t=e.target;Ml(t)&&Uu(t)&&this.root.markInteraction()}onpointerenter(e){Il(e)||this.root.cancelDelayedClose()}onpointerleave(e){Il(e)}onInteractOutside=e=>{if(this.opts.onInteractOutside.current(e),e.defaultPrevented||!Ml(e.target))return;let t=e.target.closest(fy.selector(`trigger`));if(!(t&&t===this.root.triggerNode)){if(this.opts.customAnchor.current){if(Ml(this.opts.customAnchor.current)){if(this.opts.customAnchor.current.contains(e.target))return}else if(typeof this.opts.customAnchor.current==`string`){let t=document.querySelector(this.opts.customAnchor.current);if(t&&t.contains(e.target))return}}this.root.handleClose()}};onEscapeKeydown=e=>{this.opts.onEscapeKeydown.current(e),!e.defaultPrevented&&this.root.handleClose()};get shouldRender(){return this.root.contentPresence.shouldRender}get shouldTrapFocus(){return!(this.root.openedViaHover&&!this.root.hasInteractedWithContent)}#e=J(()=>({open:this.root.opts.open.current}));get snippetProps(){return A(this.#e)}set snippetProps(e){R(this.#e,e)}#t=J(()=>({id:this.opts.id.current,tabindex:-1,"data-state":vl(this.root.opts.open.current),...yl(this.root.contentPresence.transitionStatus),[fy.content]:``,style:{pointerEvents:`auto`,contain:`layout style`},onpointerdown:this.onpointerdown,onfocusin:this.onfocusin,onpointerenter:this.onpointerenter,onpointerleave:this.onpointerleave,...this.attachment}));get props(){return A(this.#t)}set props(e){R(this.#t,e)}popperProps={onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown}};function _y(e,n){Y(n,!0);let a=z(n,`open`,15,!1),s=z(n,`onOpenChange`,3,Bl),c=z(n,`onOpenChangeComplete`,3,Bl),l=z(n,`value`,15),u=z(n,`onValueChange`,3,Bl),d=z(n,`placeholder`,15),f=z(n,`onPlaceholderChange`,3,Bl),p=z(n,`isDateUnavailable`,3,()=>!1),m=z(n,`validate`,3,Bl),h=z(n,`onInvalid`,3,Bl),g=z(n,`disabled`,3,!1),_=z(n,`readonly`,3,!1),v=z(n,`readonlySegments`,19,()=>[]),y=z(n,`hideTimeZone`,3,!1),b=z(n,`required`,3,!1),x=z(n,`calendarLabel`,3,`Event`),S=z(n,`disableDaysOutsideMonth`,3,!0),C=z(n,`preventDeselect`,3,!1),w=z(n,`pagedNavigation`,3,!1),T=z(n,`weekdayFormat`,3,`narrow`),D=z(n,`isDateDisabled`,3,()=>!1),O=z(n,`fixedWeeks`,3,!1),k=z(n,`numberOfMonths`,3,1),A=z(n,`closeOnDateSelect`,3,!0),ee=z(n,`initialFocus`,3,!1),j=z(n,`monthFormat`,3,`long`),M=z(n,`yearFormat`,3,`numeric`),N=Ep({granularity:n.granularity,defaultValue:l(),minValue:n.minValue,maxValue:n.maxValue});function te(){d()===void 0&&d(N)}te(),Yc.pre(()=>d(),()=>{te()});function P(){A()&&a(!1)}let ne=sy.create({open:Z(()=>a(),e=>{a(e),s()(e)}),value:Z(()=>l(),e=>{l(e),u()(e)}),placeholder:Z(()=>d(),e=>{d(e),f()(e)}),isDateUnavailable:Z(()=>p()),minValue:Z(()=>n.minValue),maxValue:Z(()=>n.maxValue),disabled:Z(()=>g()),readonly:Z(()=>_()),granularity:Z(()=>n.granularity),readonlySegments:Z(()=>v()),hourCycle:Z(()=>n.hourCycle),locale:au(()=>n.locale),hideTimeZone:Z(()=>y()),required:Z(()=>b()),calendarLabel:Z(()=>x()),disableDaysOutsideMonth:Z(()=>S()),preventDeselect:Z(()=>C()),pagedNavigation:Z(()=>w()),weekStartsOn:Z(()=>n.weekStartsOn),weekdayFormat:Z(()=>T()),isDateDisabled:Z(()=>D()),fixedWeeks:Z(()=>O()),numberOfMonths:Z(()=>k()),initialFocus:Z(()=>ee()),onDateSelect:Z(()=>P),defaultPlaceholder:N,monthFormat:Z(()=>j()),yearFormat:Z(()=>M())});my.create({open:ne.opts.open,onOpenChangeComplete:Z(()=>c())}),kv.create({value:ne.opts.value,disabled:ne.opts.disabled,readonly:ne.opts.readonly,readonlySegments:ne.opts.readonlySegments,validate:Z(()=>m()),onInvalid:Z(()=>h()),minValue:ne.opts.minValue,maxValue:ne.opts.maxValue,granularity:ne.opts.granularity,hideTimeZone:ne.opts.hideTimeZone,hourCycle:ne.opts.hourCycle,locale:ne.opts.locale,required:ne.opts.required,placeholder:ne.opts.placeholder,errorMessageId:Z(()=>n.errorMessageId),isInvalidProp:Z(()=>void 0)});var re=E(),ie=q(re);H(ie,()=>pv,(e,i)=>{i(e,{children:(e,i)=>{var a=E(),s=q(a);t(s,()=>n.children??o),r(e,a)},$$slots:{default:!0}})}),r(e,re),i()}var vy=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`id`,`ref`]),yy=c(`<div><!></div>`);function by(e,n){let a=D();Y(n,!0);let s=z(n,`id`,19,()=>Vl(a)),c=z(n,`ref`,15,null),l=M(n,vy),u=oy.get(),d=ih.create({id:Z(()=>s()),ref:Z(()=>c(),e=>c(e)),calendarLabel:u.opts.calendarLabel,fixedWeeks:u.opts.fixedWeeks,isDateDisabled:u.opts.isDateDisabled,isDateUnavailable:u.opts.isDateUnavailable,locale:u.opts.locale,numberOfMonths:u.opts.numberOfMonths,pagedNavigation:u.opts.pagedNavigation,preventDeselect:u.opts.preventDeselect,readonly:u.opts.readonly,type:Z(()=>`single`),weekStartsOn:u.opts.weekStartsOn,weekdayFormat:u.opts.weekdayFormat,disabled:u.opts.disabled,disableDaysOutsideMonth:u.opts.disableDaysOutsideMonth,maxValue:u.opts.maxValue,minValue:u.opts.minValue,placeholder:u.opts.placeholder,value:u.opts.value,onDateSelect:u.opts.onDateSelect,initialFocus:u.opts.initialFocus,defaultPlaceholder:u.opts.defaultPlaceholder,maxDays:Z(()=>void 0),monthFormat:u.opts.monthFormat,yearFormat:u.opts.yearFormat}),f=J(()=>Q(l,d.props));var p=E(),m=q(p),h=e=>{var i=E(),a=q(i);{let e=J(()=>({props:A(f),...d.snippetProps}));t(a,()=>n.child,()=>A(e))}r(e,i)},g=e=>{var i=yy();W(i,()=>({...A(f)}));var a=U(i);t(a,()=>n.children??o,()=>d.snippetProps),V(i),r(e,i)};v(m,e=>{n.child?e(h):e(g,-1)}),r(e,p),i()}var xy=new Set([`$$slots`,`$$events`,`$$legacy`,`child`,`children`,`ref`,`id`,`forceMount`,`onOpenAutoFocus`,`onCloseAutoFocus`,`onEscapeKeydown`,`onInteractOutside`,`trapFocus`,`preventScroll`,`customAnchor`,`style`]),Sy=c(`<div><div><!></div></div>`);function Cy(e,n){let a=D();Y(n,!0);let s=z(n,`ref`,15,null),c=z(n,`id`,19,()=>Vl(a)),l=z(n,`forceMount`,3,!1),u=z(n,`onOpenAutoFocus`,3,Bl),d=z(n,`onCloseAutoFocus`,3,Bl),f=z(n,`onEscapeKeydown`,3,Bl),p=z(n,`onInteractOutside`,3,Bl),m=z(n,`trapFocus`,3,!0),h=z(n,`preventScroll`,3,!1),g=z(n,`customAnchor`,3,null),_=M(n,xy),y=gy.create({id:Z(()=>c()),ref:Z(()=>s(),e=>s(e)),onInteractOutside:Z(()=>p()),onEscapeKeydown:Z(()=>f()),customAnchor:Z(()=>g())}),b=J(()=>Q(_,y.props)),x=J(()=>m()&&y.shouldTrapFocus);function S(e){y.shouldTrapFocus||e.preventDefault(),u()(e)}var C=E(),w=q(C),T=e=>{Tv(e,G(()=>A(b),()=>y.popperProps,{get ref(){return y.opts.ref},get enabled(){return y.root.opts.open.current},get id(){return c()},get trapFocus(){return A(x)},get preventScroll(){return h()},loop:!0,forceMount:!0,get customAnchor(){return g()},onOpenAutoFocus:S,get onCloseAutoFocus(){return d()},get shouldRender(){return y.shouldRender},popper:(e,i)=>{let a=()=>(i?.()).props,s=()=>(i?.()).wrapperProps,c=J(()=>Q(a(),{style:$_(`popover`)},{style:n.style}));var l=E(),u=q(l),d=e=>{var i=E(),a=q(i);{let e=J(()=>({props:A(c),wrapperProps:s(),...y.snippetProps}));t(a,()=>n.child,()=>A(e))}r(e,i)},f=e=>{var i=Sy();W(i,()=>({...s()}));var a=U(i);W(a,()=>({...A(c)}));var l=U(a);t(l,()=>n.children??o),V(a),V(i),r(e,i)};v(u,e=>{n.child?e(d):e(f,-1)}),r(e,l)},$$slots:{popper:!0}}))},O=e=>{Cv(e,G(()=>A(b),()=>y.popperProps,{get ref(){return y.opts.ref},get open(){return y.root.opts.open.current},get id(){return c()},get trapFocus(){return A(x)},get preventScroll(){return h()},loop:!0,forceMount:!1,get customAnchor(){return g()},onOpenAutoFocus:S,get onCloseAutoFocus(){return d()},get shouldRender(){return y.shouldRender},popper:(e,i)=>{let a=()=>(i?.()).props,s=()=>(i?.()).wrapperProps,c=J(()=>Q(a(),{style:$_(`popover`)},{style:n.style}));var l=E(),u=q(l),d=e=>{var i=E(),a=q(i);{let e=J(()=>({props:A(c),wrapperProps:s(),...y.snippetProps}));t(a,()=>n.child,()=>A(e))}r(e,i)},f=e=>{var i=Sy();W(i,()=>({...s()}));var a=U(i);W(a,()=>({...A(c)}));var l=U(a);t(l,()=>n.children??o),V(a),V(i),r(e,i)};v(u,e=>{n.child?e(d):e(f,-1)}),r(e,l)},$$slots:{popper:!0}}))};v(w,e=>{l()?e(T):l()||e(O,1)}),r(e,C),i()}var wy=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`onOpenAutoFocus`]);function Ty(e,t){Y(t,!0);let n=z(t,`ref`,15,null),r=M(t,wy),a=J(()=>Q({onOpenAutoFocus:t.onOpenAutoFocus},{onOpenAutoFocus:Zm}));Cy(e,G(()=>A(a),()=>r,{get ref(){return n()},set ref(e){n(e)}})),i()}var Ey=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`id`,`ref`,`type`,`disabled`,`openOnHover`,`openDelay`,`closeDelay`]),Dy=c(`<button><!></button>`);function Oy(e,n){let a=D();Y(n,!0);let s=z(n,`id`,19,()=>Vl(a)),c=z(n,`ref`,15,null),l=z(n,`type`,3,`button`),u=z(n,`disabled`,3,!1),d=z(n,`openOnHover`,3,!1),f=z(n,`openDelay`,3,700),p=z(n,`closeDelay`,3,300),m=M(n,Ey),h=hy.create({id:Z(()=>s()),ref:Z(()=>c(),e=>c(e)),disabled:Z(()=>!!u()),openOnHover:Z(()=>d()),openDelay:Z(()=>f()),closeDelay:Z(()=>p())}),g=J(()=>Q(m,h.props,{type:l()}));mv(e,{get id(){return s()},get ref(){return h.opts.ref},children:(e,i)=>{var a=E(),s=q(a),c=e=>{var i=E(),a=q(i);t(a,()=>n.child,()=>({props:A(g)})),r(e,i)},l=e=>{var i=Dy();W(i,()=>({...A(g)}));var a=U(i);t(a,()=>n.children??o),V(i),r(e,i)};v(s,e=>{n.child?e(c):e(l,-1)}),r(e,a)},$$slots:{default:!0}}),i()}var ky=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`onkeydown`]);function Ay(e,t){Y(t,!0);let n=z(t,`ref`,15,null),r=M(t,ky);function a(e){if(Em(e.key)){let t=e.currentTarget.closest(Ev.selector(`input`));if(!t)return;bm(e,t)}}let o=J(()=>Q({onkeydown:t.onkeydown},{onkeydown:a}));Oy(e,G(()=>r,{"data-segment":`trigger`},()=>A(o),{get ref(){return n()},set ref(e){n(e)}})),i()}function jy(e,n){Y(n,!0);let a=z(n,`open`,15,!1),s=z(n,`onOpenChange`,3,Bl),c=z(n,`onOpenChangeComplete`,3,Bl);Wl.create({variant:Z(()=>`dialog`),open:Z(()=>a(),e=>{a(e),s()(e)}),onOpenChangeComplete:Z(()=>c())});var l=E(),u=q(l);t(u,()=>n.children??o),r(e,l),i()}var My=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`id`,`ref`,`disabled`]),Ny=c(`<button><!></button>`);function Py(e,n){let a=D();Y(n,!0);let s=z(n,`id`,19,()=>Vl(a)),c=z(n,`ref`,15,null),l=z(n,`disabled`,3,!1),u=M(n,My),d=Gl.create({variant:Z(()=>`close`),id:Z(()=>s()),ref:Z(()=>c(),e=>c(e)),disabled:Z(()=>!!l())}),f=J(()=>Q(u,d.props));var p=E(),m=q(p),h=e=>{var i=E(),a=q(i);t(a,()=>n.child,()=>({props:A(f)})),r(e,i)},g=e=>{var i=Ny();W(i,()=>({...A(f)}));var a=U(i);t(a,()=>n.children??o),V(i),r(e,i)};v(m,e=>{n.child?e(h):e(g,-1)}),r(e,p),i()}var Fy=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`children`,`child`,`ref`,`forceMount`,`onCloseAutoFocus`,`onOpenAutoFocus`,`onEscapeKeydown`,`onInteractOutside`,`trapFocus`,`preventScroll`,`restoreScrollDelay`]),Iy=c(`<!> <!>`,1),Ly=c(`<!> <div><!></div>`,1);function Ry(e,n){let a=D();Y(n,!0);let s=z(n,`id`,19,()=>Vl(a)),c=z(n,`ref`,15,null),l=z(n,`forceMount`,3,!1),u=z(n,`onCloseAutoFocus`,3,Bl),d=z(n,`onOpenAutoFocus`,3,Bl),f=z(n,`onEscapeKeydown`,3,Bl),p=z(n,`onInteractOutside`,3,Bl),m=z(n,`trapFocus`,3,!0),h=z(n,`preventScroll`,3,!0),g=z(n,`restoreScrollDelay`,3,null),_=M(n,Fy),y=Jl.create({id:Z(()=>s()),ref:Z(()=>c(),e=>c(e))}),b=J(()=>Q(_,y.props));var x=E(),S=q(x),C=e=>{sd(e,{get ref(){return y.opts.ref},loop:!0,get trapFocus(){return m()},get enabled(){return y.root.opts.open.current},get onOpenAutoFocus(){return d()},get onCloseAutoFocus(){return u()},focusScope:(e,i)=>{let a=()=>(i?.()).props;id(e,G(()=>A(b),{get enabled(){return y.root.opts.open.current},get ref(){return y.opts.ref},onEscapeKeydown:e=>{f()(e),!e.defaultPrevented&&y.root.handleClose()},children:(e,i)=>{td(e,G(()=>A(b),{get ref(){return y.opts.ref},get enabled(){return y.root.opts.open.current},onInteractOutside:e=>{p()(e),!e.defaultPrevented&&y.root.handleClose()},children:(e,i)=>{md(e,G(()=>A(b),{get ref(){return y.opts.ref},get enabled(){return y.root.opts.open.current},children:(e,i)=>{var s=E(),c=q(s),l=e=>{var i=Iy(),o=q(i),s=e=>{Dd(e,{get preventScroll(){return h()},get restoreScrollDelay(){return g()}})};v(o,e=>{y.root.opts.open.current&&e(s)});var c=I(o,2);{let e=J(()=>({props:Q(A(b),a()),...y.snippetProps}));t(c,()=>n.child,()=>A(e))}r(e,i)},u=e=>{var i=Ly(),s=q(i);Dd(s,{get preventScroll(){return h()}});var c=I(s,2);W(c,e=>({...e}),[()=>Q(A(b),a())]);var l=U(c);t(l,()=>n.children??o),V(c),r(e,i)};v(c,e=>{n.child?e(l):e(u,-1)}),r(e,s)},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{focusScope:!0}})};v(S,e=>{(y.shouldRender||l())&&e(C)}),r(e,x),i()}var zy=`/api/queries/`,By={all:`true`,include:`true`,exclude:`false`};function Vy(e){let t=new URLSearchParams({from:`${e.range.from}Z`,to:`${e.range.to}Z`});e.country!==void 0&&t.set(`country`,e.country),e.path?.trim()&&t.set(`path`,e.path.trim()),e.bots===`all`&&t.set(`splitBots`,`true`),e.granularity!==void 0&&t.set(`granularity`,e.granularity);let n=By[e.bots];return n!==void 0&&t.set(`includeBots`,n),t}function Hy(e){return typeof e==`object`&&!!e}function Uy(e,t){return Hy(t)&&typeof t.error==`string`?t.error:`the dashboard server answered ${e}`}function Wy(e,t){if(!Hy(t)||typeof t.name!=`string`||typeof t.rowMeaning!=`string`||!Array.isArray(t.resultColumns)||!Array.isArray(t.rows))throw Error(`the answer to "${e}" was not shaped like a query result`);return{name:t.name,rowMeaning:t.rowMeaning,resultColumns:t.resultColumns,rows:t.rows}}async function Gy(e){let t=await e.text();try{return JSON.parse(t)}catch{return}}async function Ky(e,t){let n=await fetch(`${zy}${e}?${Vy(t)}`,{headers:{accept:`application/json`}}),r=await Gy(n);if(!n.ok)throw Error(Uy(n.status,r));return Wy(e,r)}var qy=new Intl.NumberFormat(void 0,{maximumFractionDigits:0}),Jy=new Intl.NumberFormat(void 0,{style:`percent`,minimumFractionDigits:1,maximumFractionDigits:1}),Yy=28,Xy=/^\d{4}-\d{2}-\d{2}$/,Zy=5,Qy=`-`;function $y(e){return qy.format(e)}function eb(e){return Jy.format(e)}function tb(e){let t=e.replaceAll(`_`,` `);return t.charAt(0).toUpperCase()+t.slice(1)}function nb(e){return e.length<=Yy?e:`${e.slice(0,14)}…${e.slice(e.length-13)}`}function rb(e){return Xy.test(e)?e.slice(Zy):e}function ib(e,t){let n=e[t];return typeof n==`number`?n:0}function ab(e,t){let n=e[t];return n===void 0?Qy:String(n)}var ob=[{key:`non_bot`,value:`non_bot`,label:`Non-bot`,color:`var(--color-primary)`},{key:`bot`,value:`bot`,label:`Bot`,color:`var(--color-bot)`}],sb=c(`<li class="svelte-1h8p6k7"><span aria-hidden="true" class="svelte-1h8p6k7"></span> </li>`),cb=c(`<ul class="traffic-legend svelte-1h8p6k7" aria-label="Traffic series"></ul>`);function lb(e){var t=cb();B(t,5,()=>ob,e=>e.key,(e,t)=>{var n=sb(),i=U(n);let a;var o=I(i,1,!0);V(n),N(()=>{a=Ce(i,``,a,{background:A(t).color}),p(o,A(t).label)}),r(e,n)}),V(t),r(e,t)}var ub=c(`<div class="panel-state">This map region has no country code in the analytics data.</div>`),db=c(`<div class="panel-state">No viewers for this country in the selected period and filters.</div>`),fb=c(`<tr><th scope="row"> </th><td> </td></tr>`),pb=c(`<!> <div class="country-detail-chart"><!></div> <p class="panel-note">Unique viewers per UTC day, within the selected period. Returning viewers can appear on multiple days.</p> <details class="panel-data"><summary>View daily counts</summary> <table><caption>Daily unique viewers</caption><thead><tr><th scope="col">Day (UTC)</th><th scope="col">Viewers</th></tr></thead><tbody></tbody></table></details>`,1),mb=c(`<div class="panel-state" role="alert"><p> </p> <button type="button" class="country-search-clear">Retry</button></div>`),hb=c(`<div class="panel-state" role="status">Loading country viewers…</div>`),gb=c(`<p class="country-detail-filters"> </p> <!>`,1);function _b(e,t){Y(t,!0);let n=j(0),o=J(()=>t.request.bots===`all`),s=J(()=>({refreshVersion:t.refreshVersion,retry:A(n),promise:/^[A-Z]{2}$/.test(t.code)?Ky(`unique-visitors`,{range:t.request.range,bots:t.request.bots,...t.request.path?{path:t.request.path}:{},country:t.code}):Promise.resolve(void 0)}));var c=gb(),l=q(c),u=F(l),d=I(l,2);a(d,()=>A(s).promise,e=>{var t=hb();r(e,t)},(e,t)=>{var n=E(),i=q(n),a=e=>{var t=ub();r(e,t)},s=e=>{var t=db();r(e,t)},c=J(()=>A(t).rows.length===0||A(t).rows.every(e=>ib(e,`daily_unique_visitors`)===0)),l=e=>{let n=J(()=>A(t).rows.map(e=>({day:new Date(`${ab(e,`day`)}T00:00:00Z`),viewers:ib(e,`daily_unique_visitors`),non_bot:ib(e,`non_bot`),bot:ib(e,`bot`)})));var i=pb(),a=q(i),s=e=>{lb(e,{})};v(a,e=>{A(o)&&e(s)});var c=I(a,2),l=U(c);{let e=J(si),t=J(()=>A(o)?`stack`:`overlap`),r=J(()=>A(n).length===1),i=J(()=>({xAxis:{format:e=>new Date(e).toISOString().slice(5,10),ticks:5},yAxis:{format:$y,ticks:4},tooltip:{header:{format:e=>e instanceof Date||typeof e==`number`?new Date(e).toISOString().slice(0,10)+` (UTC)`:``}},area:{...A(o)?{}:{fill:`var(--color-primary)`,stroke:`var(--color-primary)`},fillOpacity:A(o)?.55:.2,strokeWidth:2}}));Os(l,G({get data(){return A(n)},x:`day`,y:`viewers`,get xScale(){return A(e)},xNice:!1},()=>A(o)?{series:ob}:{},{get seriesLayout(){return A(t)},get points(){return A(r)},padding:{left:48,right:16,top:16,bottom:32},get props(){return A(i)}}))}V(c);var u=I(c,4),d=I(U(u),2),f=I(U(d),2);B(f,21,()=>A(n),e=>e.day.toISOString(),(e,t)=>{var n=fb(),i=U(n),a=F(i,!0),o=I(i),s=F(o,!0);V(n),N((e,t)=>{p(a,e),p(s,t)},[()=>A(t).day.toISOString().slice(0,10),()=>$y(A(t).viewers)]),r(e,n)}),V(f),V(d),V(u),r(e,i)};v(i,e=>{A(t)===void 0?e(a):A(c)?e(s,1):e(l,-1)}),r(e,n)},(e,t)=>{var i=mb(),a=U(i),o=F(a,!0),s=I(a,2);V(i),N(()=>p(o,A(t)instanceof Error?A(t).message:`Unable to load country viewers.`)),me(`click`,s,()=>R(n,A(n)+1)),r(e,i)}),N(()=>p(u,`${t.request.bots===`exclude`?`Bots excluded`:t.request.bots===`all`?`Bot and non-bot viewers`:`Bots included`}${t.request.path?` · Path: ${t.request.path} and subpaths`:``}`)),r(e,c),i()}f([`click`]);var vb=new Set([`$$slots`,`$$events`,`$$legacy`,`children`]);function yb(e,n){Y(n,!0);let a=M(n,vb),o=Je(),s=new ia(()=>a);K(()=>{s.chartWidth=o.width,s.chartHeight=o.height}),en(s);var c=E(),l=q(c);t(l,()=>n.children),r(e,c),i()}var bb=[{type:`Feature`,properties:{code:`FJ`,name:`Fiji`},geometry:{type:`MultiPolygon`,coordinates:[[[[180,-16.067133],[180,-16.555217],[179.364143,-16.801354],[178.725059,-17.012042],[178.596839,-16.63915],[179.096609,-16.433984],[179.413509,-16.379054],[180,-16.067133]]],[[[178.12557,-17.50481],[178.3736,-17.33992],[178.71806,-17.62846],[178.55271,-18.15059],[177.93266,-18.28799],[177.38146,-18.16432],[177.28504,-17.72465],[177.67087,-17.38114],[178.12557,-17.50481]]],[[[-179.79332,-16.020882],[-179.917369,-16.501783],[-180,-16.555217],[-180,-16.067133],[-179.79332,-16.020882]]]]}},{type:`Feature`,properties:{code:`TZ`,name:`Tanzania`},geometry:{type:`Polygon`,coordinates:[[[33.903711,-.95],[34.07262,-1.05982],[37.69869,-3.09699],[37.7669,-3.67712],[39.20222,-4.67677],[38.74054,-5.90895],[38.79977,-6.47566],[39.44,-6.84],[39.47,-7.1],[39.19469,-7.7039],[39.25203,-8.00781],[39.18652,-8.48551],[39.53574,-9.11237],[39.9496,-10.0984],[40.316586,-10.317098],[40.31659,-10.3171],[39.521,-10.89688],[38.427557,-11.285202],[37.82764,-11.26879],[37.47129,-11.56876],[36.775151,-11.594537],[36.514082,-11.720938],[35.312398,-11.439146],[34.559989,-11.52002],[34.28,-10.16],[33.940838,-9.693674],[33.73972,-9.41715],[32.759375,-9.230599],[32.191865,-8.930359],[31.556348,-8.762049],[31.157751,-8.594579],[30.74001,-8.340006],[30.740015,-8.340007],[30.199997,-7.079981],[29.620032,-6.520015],[29.419993,-5.939999],[29.519987,-5.419979],[29.339998,-4.499983],[29.753512,-4.452389],[30.11632,-4.09012],[30.50554,-3.56858],[30.75224,-3.35931],[30.74301,-3.03431],[30.52766,-2.80762],[30.469674,-2.413855],[30.46967,-2.41383],[30.758309,-2.28725],[30.816135,-1.698914],[30.419105,-1.134659],[30.76986,-1.01455],[31.86617,-1.02736],[33.903711,-.95]]]}},{type:`Feature`,properties:{code:`EH`,name:`Western Sahara`},geometry:{type:`Polygon`,coordinates:[[[-8.66559,27.656426],[-8.665124,27.589479],[-8.6844,27.395744],[-8.687294,25.881056],[-11.969419,25.933353],[-11.937224,23.374594],[-12.874222,23.284832],[-13.118754,22.77122],[-12.929102,21.327071],[-16.845194,21.333323],[-17.063423,20.999752],[-17.020428,21.42231],[-17.002962,21.420734],[-14.750955,21.5006],[-14.630833,21.86094],[-14.221168,22.310163],[-13.89111,23.691009],[-12.500963,24.770116],[-12.030759,26.030866],[-11.71822,26.104092],[-11.392555,26.883424],[-10.551263,26.990808],[-10.189424,26.860945],[-9.735343,26.860945],[-9.413037,27.088476],[-8.794884,27.120696],[-8.817828,27.656426],[-8.66559,27.656426]]]}},{type:`Feature`,properties:{code:`CA`,name:`Canada`},geometry:{type:`MultiPolygon`,coordinates:[[[[-122.84,49],[-122.97421,49.002538],[-124.91024,49.98456],[-125.62461,50.41656],[-127.43561,50.83061],[-127.99276,51.71583],[-127.85032,52.32961],[-129.12979,52.75538],[-129.30523,53.56159],[-130.51497,54.28757],[-130.536109,54.802754],[-130.53611,54.80278],[-129.98,55.285],[-130.00778,55.91583],[-131.70781,56.55212],[-132.73042,57.69289],[-133.35556,58.41028],[-134.27111,58.86111],[-134.945,59.27056],[-135.47583,59.78778],[-136.47972,59.46389],[-137.4525,58.905],[-138.34089,59.56211],[-139.039,60],[-140.013,60.27682],[-140.99778,60.30639],[-140.9925,66.00003],[-140.986,69.712],[-140.985988,69.711998],[-139.12052,69.47102],[-137.54636,68.99002],[-136.50358,68.89804],[-135.62576,69.31512],[-134.41464,69.62743],[-132.92925,69.50534],[-131.43136,69.94451],[-129.79471,70.19369],[-129.10773,69.77927],[-128.36156,70.01286],[-128.13817,70.48384],[-127.44712,70.37721],[-125.75632,69.48058],[-124.42483,70.1584],[-124.28968,69.39969],[-123.06108,69.56372],[-122.6835,69.85553],[-121.47226,69.79778],[-119.94288,69.37786],[-117.60268,69.01128],[-116.22643,68.84151],[-115.2469,68.90591],[-113.89794,68.3989],[-115.30489,67.90261],[-113.49727,67.68815],[-110.798,67.80612],[-109.94619,67.98104],[-108.8802,67.38144],[-107.79239,67.88736],[-108.81299,68.31164],[-108.16721,68.65392],[-106.95,68.7],[-106.15,68.8],[-105.34282,68.56122],[-104.33791,68.018],[-103.22115,68.09775],[-101.45433,67.64689],[-99.90195,67.80566],[-98.4432,67.78165],[-98.5586,68.40394],[-97.66948,68.57864],[-96.11991,68.23939],[-96.12588,67.29338],[-95.48943,68.0907],[-94.685,68.06383],[-94.23282,69.06903],[-95.30408,69.68571],[-96.47131,70.08976],[-96.39115,71.19482],[-95.2088,71.92053],[-93.88997,71.76015],[-92.87818,71.31869],[-91.51964,70.19129],[-92.40692,69.69997],[-90.5471,69.49766],[-90.55151,68.47499],[-89.21515,69.25873],[-88.01966,68.61508],[-88.31749,67.87338],[-87.35017,67.19872],[-86.30607,67.92146],[-85.57664,68.78456],[-85.52197,69.88211],[-84.10081,69.80539],[-82.62258,69.65826],[-81.28043,69.16202],[-81.2202,68.66567],[-81.96436,68.13253],[-81.25928,67.59716],[-81.38653,67.11078],[-83.34456,66.41154],[-84.73542,66.2573],[-85.76943,66.55833],[-86.0676,66.05625],[-87.03143,65.21297],[-87.32324,64.77563],[-88.48296,64.09897],[-89.91444,64.03273],[-90.70398,63.61017],[-90.77004,62.96021],[-91.93342,62.83508],[-93.15698,62.02469],[-94.24153,60.89865],[-94.62931,60.11021],[-94.6846,58.94882],[-93.21502,58.78212],[-92.76462,57.84571],[-92.29703,57.08709],[-90.89769,57.28468],[-89.03953,56.85172],[-88.03978,56.47162],[-87.32421,55.99914],[-86.07121,55.72383],[-85.01181,55.3026],[-83.36055,55.24489],[-82.27285,55.14832],[-82.4362,54.28227],[-82.12502,53.27703],[-81.40075,52.15788],[-79.91289,51.20842],[-79.14301,51.53393],[-78.60191,52.56208],[-79.12421,54.14145],[-79.82958,54.66772],[-78.22874,55.13645],[-77.0956,55.83741],[-76.54137,56.53423],[-76.62319,57.20263],[-77.30226,58.05209],[-78.51688,58.80458],[-77.33676,59.85261],[-77.77272,60.75788],[-78.10687,62.31964],[-77.41067,62.55053],[-75.69621,62.2784],[-74.6682,62.18111],[-73.83988,62.4438],[-72.90853,62.10507],[-71.67708,61.52535],[-71.37369,61.13717],[-69.59042,61.06141],[-69.62033,60.22125],[-69.2879,58.95736],[-68.37455,58.80106],[-67.64976,58.21206],[-66.20178,58.76731],[-65.24517,59.87071],[-64.58352,60.33558],[-63.80475,59.4426],[-62.50236,58.16708],[-61.39655,56.96745],[-61.79866,56.33945],[-60.46853,55.77548],[-59.56962,55.20407],[-57.97508,54.94549],[-57.3332,54.6265],[-56.93689,53.78032],[-56.15811,53.64749],[-55.75632,53.27036],[-55.68338,52.14664],[-56.40916,51.7707],[-57.12691,51.41972],[-58.77482,51.0643],[-60.03309,50.24277],[-61.72366,50.08046],[-63.86251,50.29099],[-65.36331,50.2982],[-66.39905,50.22897],[-67.23631,49.51156],[-68.51114,49.06836],[-69.95362,47.74488],[-71.10458,46.82171],[-70.25522,46.98606],[-68.65,48.3],[-66.55243,49.1331],[-65.05626,49.23278],[-64.17099,48.74248],[-65.11545,48.07085],[-64.79854,46.99297],[-64.47219,46.23849],[-63.17329,45.73902],[-61.52072,45.88377],[-60.51815,47.00793],[-60.4486,46.28264],[-59.80287,45.9204],[-61.03988,45.26525],[-63.25471,44.67014],[-64.24656,44.26553],[-65.36406,43.54523],[-66.1234,43.61867],[-66.16173,44.46512],[-64.42549,45.29204],[-66.02605,45.25931],[-67.13741,45.13753],[-67.79134,45.70281],[-67.79046,47.06636],[-68.23444,47.35486],[-68.905,47.185],[-69.237216,47.447781],[-69.99997,46.69307],[-70.305,45.915],[-70.66,45.46],[-71.08482,45.30524],[-71.405,45.255],[-71.50506,45.0082],[-73.34783,45.00738],[-74.867,45.00048],[-75.31821,44.81645],[-76.375,44.09631],[-76.5,44.018459],[-76.820034,43.628784],[-77.737885,43.629056],[-78.72028,43.625089],[-79.171674,43.466339],[-79.01,43.27],[-78.92,42.965],[-78.939362,42.863611],[-80.247448,42.3662],[-81.277747,42.209026],[-82.439278,41.675105],[-82.690089,41.675105],[-83.02981,41.832796],[-83.142,41.975681],[-83.12,42.08],[-82.9,42.43],[-82.43,42.98],[-82.137642,43.571088],[-82.337763,44.44],[-82.550925,45.347517],[-83.592851,45.816894],[-83.469551,45.994686],[-83.616131,46.116927],[-83.890765,46.116927],[-84.091851,46.275419],[-84.14212,46.512226],[-84.3367,46.40877],[-84.6049,46.4396],[-84.543749,46.538684],[-84.779238,46.637102],[-84.87608,46.900083],[-85.652363,47.220219],[-86.461991,47.553338],[-87.439793,47.94],[-88.378114,48.302918],[-89.272917,48.019808],[-89.6,48.01],[-90.83,48.27],[-91.64,48.14],[-92.61,48.45],[-93.63087,48.60926],[-94.32914,48.67074],[-94.64,48.84],[-94.81758,49.38905],[-95.15609,49.38425],[-95.15907,49],[-97.22872,49.0007],[-100.65,49],[-104.04826,48.99986],[-107.05,49],[-110.05,49],[-113,49],[-116.04818,49],[-117.03121,49],[-120,49],[-122.84,49]]],[[[-83.99367,62.4528],[-83.25048,62.91409],[-81.87699,62.90458],[-81.89825,62.7108],[-83.06857,62.15922],[-83.77462,62.18231],[-83.99367,62.4528]]],[[[-79.775833,72.802902],[-80.876099,73.333183],[-80.833885,73.693184],[-80.353058,73.75972],[-78.064438,73.651932],[-76.34,73.102685],[-76.251404,72.826385],[-77.314438,72.855545],[-78.39167,72.876656],[-79.486252,72.742203],[-79.775833,72.802902]]],[[[-80.315395,62.085565],[-79.92939,62.3856],[-79.52002,62.36371],[-79.26582,62.158675],[-79.65752,61.63308],[-80.09956,61.7181],[-80.36215,62.01649],[-80.315395,62.085565]]],[[[-93.612756,74.979997],[-94.156909,74.592347],[-95.608681,74.666864],[-96.820932,74.927623],[-96.288587,75.377828],[-94.85082,75.647218],[-93.977747,75.29649],[-93.612756,74.979997]]],[[[-93.840003,77.519997],[-94.295608,77.491343],[-96.169654,77.555111],[-96.436304,77.834629],[-94.422577,77.820005],[-93.720656,77.634331],[-93.840003,77.519997]]],[[[-96.754399,78.765813],[-95.559278,78.418315],[-95.830295,78.056941],[-97.309843,77.850597],[-98.124289,78.082857],[-98.552868,78.458105],[-98.631984,78.87193],[-97.337231,78.831984],[-96.754399,78.765813]]],[[[-88.15035,74.392307],[-89.764722,74.515555],[-92.422441,74.837758],[-92.768285,75.38682],[-92.889906,75.882655],[-93.893824,76.319244],[-95.962457,76.441381],[-97.121379,76.751078],[-96.745123,77.161389],[-94.684086,77.097878],[-93.573921,76.776296],[-91.605023,76.778518],[-90.741846,76.449597],[-90.969661,76.074013],[-89.822238,75.847774],[-89.187083,75.610166],[-87.838276,75.566189],[-86.379192,75.482421],[-84.789625,75.699204],[-82.753445,75.784315],[-81.128531,75.713983],[-80.057511,75.336849],[-79.833933,74.923127],[-80.457771,74.657304],[-81.948843,74.442459],[-83.228894,74.564028],[-86.097452,74.410032],[-88.15035,74.392307]]],[[[-111.264443,78.152956],[-109.854452,77.996325],[-110.186938,77.697015],[-112.051191,77.409229],[-113.534279,77.732207],[-112.724587,78.05105],[-111.264443,78.152956]]],[[[-110.963661,78.804441],[-109.663146,78.601973],[-110.881314,78.40692],[-112.542091,78.407902],[-112.525891,78.550555],[-111.50001,78.849994],[-110.963661,78.804441]]],[[[-55.600218,51.317075],[-56.134036,50.68701],[-56.795882,49.812309],[-56.143105,50.150117],[-55.471492,49.935815],[-55.822401,49.587129],[-54.935143,49.313011],[-54.473775,49.556691],[-53.476549,49.249139],[-53.786014,48.516781],[-53.086134,48.687804],[-52.958648,48.157164],[-52.648099,47.535548],[-53.069158,46.655499],[-53.521456,46.618292],[-54.178936,46.807066],[-53.961869,47.625207],[-54.240482,47.752279],[-55.400773,46.884994],[-55.997481,46.91972],[-55.291219,47.389562],[-56.250799,47.632545],[-57.325229,47.572807],[-59.266015,47.603348],[-59.419494,47.899454],[-58.796586,48.251525],[-59.231625,48.523188],[-58.391805,49.125581],[-57.35869,50.718274],[-56.73865,51.287438],[-55.870977,51.632094],[-55.406974,51.588273],[-55.600218,51.317075]]],[[[-83.882626,65.109618],[-82.787577,64.766693],[-81.642014,64.455136],[-81.55344,63.979609],[-80.817361,64.057486],[-80.103451,63.725981],[-80.99102,63.411246],[-82.547178,63.651722],[-83.108798,64.101876],[-84.100417,63.569712],[-85.523405,63.052379],[-85.866769,63.637253],[-87.221983,63.541238],[-86.35276,64.035833],[-86.224886,64.822917],[-85.883848,65.738778],[-85.161308,65.657285],[-84.975764,65.217518],[-84.464012,65.371772],[-83.882626,65.109618]]],[[[-78.770639,72.352173],[-77.824624,72.749617],[-75.605845,72.243678],[-74.228616,71.767144],[-74.099141,71.33084],[-72.242226,71.556925],[-71.200015,70.920013],[-68.786054,70.525024],[-67.91497,70.121948],[-66.969033,69.186087],[-68.805123,68.720198],[-66.449866,68.067163],[-64.862314,67.847539],[-63.424934,66.928473],[-61.851981,66.862121],[-62.163177,66.160251],[-63.918444,64.998669],[-65.14886,65.426033],[-66.721219,66.388041],[-68.015016,66.262726],[-68.141287,65.689789],[-67.089646,65.108455],[-65.73208,64.648406],[-65.320168,64.382737],[-64.669406,63.392927],[-65.013804,62.674185],[-66.275045,62.945099],[-68.783186,63.74567],[-67.369681,62.883966],[-66.328297,62.280075],[-66.165568,61.930897],[-68.877367,62.330149],[-71.023437,62.910708],[-72.235379,63.397836],[-71.886278,63.679989],[-73.378306,64.193963],[-74.834419,64.679076],[-74.818503,64.389093],[-77.70998,64.229542],[-78.555949,64.572906],[-77.897281,65.309192],[-76.018274,65.326969],[-73.959795,65.454765],[-74.293883,65.811771],[-73.944912,66.310578],[-72.651167,67.284576],[-72.92606,67.726926],[-73.311618,68.069437],[-74.843307,68.554627],[-76.869101,68.894736],[-76.228649,69.147769],[-77.28737,69.76954],[-78.168634,69.826488],[-78.957242,70.16688],[-79.492455,69.871808],[-81.305471,69.743185],[-84.944706,69.966634],[-87.060003,70.260001],[-88.681713,70.410741],[-89.51342,70.762038],[-88.467721,71.218186],[-89.888151,71.222552],[-90.20516,72.235074],[-89.436577,73.129464],[-88.408242,73.537889],[-85.826151,73.803816],[-86.562179,73.157447],[-85.774371,72.534126],[-84.850112,73.340278],[-82.31559,73.750951],[-80.600088,72.716544],[-80.748942,72.061907],[-78.770639,72.352173]]],[[[-94.503658,74.134907],[-92.420012,74.100025],[-90.509793,73.856732],[-92.003965,72.966244],[-93.196296,72.771992],[-94.269047,72.024596],[-95.409856,72.061881],[-96.033745,72.940277],[-96.018268,73.43743],[-95.495793,73.862417],[-94.503658,74.134907]]],[[[-122.854924,76.116543],[-122.854925,76.116543],[-121.157535,76.864508],[-119.103939,77.51222],[-117.570131,77.498319],[-116.198587,77.645287],[-116.335813,76.876962],[-117.106051,76.530032],[-118.040412,76.481172],[-119.899318,76.053213],[-121.499995,75.900019],[-122.854924,76.116543]]],[[[-132.710008,54.040009],[-131.74999,54.120004],[-132.04948,52.984621],[-131.179043,52.180433],[-131.57783,52.182371],[-132.180428,52.639707],[-132.549992,53.100015],[-133.054611,53.411469],[-133.239664,53.85108],[-133.180004,54.169975],[-132.710008,54.040009]]],[[[-105.492289,79.301594],[-103.529282,79.165349],[-100.825158,78.800462],[-100.060192,78.324754],[-99.670939,77.907545],[-101.30394,78.018985],[-102.949809,78.343229],[-105.176133,78.380332],[-104.210429,78.67742],[-105.41958,78.918336],[-105.492289,79.301594]]],[[[-123.510002,48.510011],[-124.012891,48.370846],[-125.655013,48.825005],[-125.954994,49.179996],[-126.850004,49.53],[-127.029993,49.814996],[-128.059336,49.994959],[-128.444584,50.539138],[-128.358414,50.770648],[-127.308581,50.552574],[-126.695001,50.400903],[-125.755007,50.295018],[-125.415002,49.950001],[-124.920768,49.475275],[-123.922509,49.062484],[-123.510002,48.510011]]],[[[-121.53788,74.44893],[-120.10978,74.24135],[-117.55564,74.18577],[-116.58442,73.89607],[-115.51081,73.47519],[-116.76794,73.22292],[-119.22,72.52],[-120.46,71.82],[-120.46,71.383602],[-123.09219,70.90164],[-123.62,71.34],[-125.928949,71.868688],[-125.5,72.292261],[-124.80729,73.02256],[-123.94,73.68],[-124.91775,74.29275],[-121.53788,74.44893]]],[[[-107.81943,75.84552],[-106.92893,76.01282],[-105.881,75.9694],[-105.70498,75.47951],[-106.31347,75.00527],[-109.7,74.85],[-112.22307,74.41696],[-113.74381,74.39427],[-113.87135,74.72029],[-111.79421,75.1625],[-116.31221,75.04343],[-117.7104,75.2222],[-116.34602,76.19903],[-115.40487,76.47887],[-112.59056,76.14134],[-110.81422,75.54919],[-109.0671,75.47321],[-110.49726,76.42982],[-109.5811,76.79417],[-108.54859,76.67832],[-108.21141,76.20168],[-107.81943,75.84552]]],[[[-106.52259,73.07601],[-105.40246,72.67259],[-104.77484,71.6984],[-104.46476,70.99297],[-102.78537,70.49776],[-100.98078,70.02432],[-101.08929,69.58447],[-102.73116,69.50402],[-102.09329,69.11962],[-102.43024,68.75282],[-104.24,68.91],[-105.96,69.18],[-107.12254,69.11922],[-109,68.78],[-111.534149,68.630059],[-113.3132,68.53554],[-113.85496,69.00744],[-115.22,69.28],[-116.10794,69.16821],[-117.34,69.96],[-116.67473,70.06655],[-115.13112,70.2373],[-113.72141,70.19237],[-112.4161,70.36638],[-114.35,70.6],[-116.48684,70.52045],[-117.9048,70.54056],[-118.43238,70.9092],[-116.11311,71.30918],[-117.65568,71.2952],[-119.40199,71.55859],[-118.56267,72.30785],[-117.86642,72.70594],[-115.18909,73.31459],[-114.16717,73.12145],[-114.66634,72.65277],[-112.44102,72.9554],[-111.05039,72.4504],[-109.92035,72.96113],[-109.00654,72.63335],[-108.18835,71.65089],[-107.68599,72.06548],[-108.39639,73.08953],[-107.51645,73.23598],[-106.52259,73.07601]]],[[[-100.43836,72.70588],[-101.54,73.36],[-100.35642,73.84389],[-99.16387,73.63339],[-97.38,73.76],[-97.12,73.47],[-98.05359,72.99052],[-96.54,72.56],[-96.72,71.66],[-98.35966,71.27285],[-99.32286,71.35639],[-100.01482,71.73827],[-102.5,72.51],[-102.48,72.83],[-100.43836,72.70588]]],[[[-106.6,73.6],[-105.26,73.64],[-104.5,73.42],[-105.38,72.76],[-106.94,73.46],[-106.6,73.6]]],[[[-98.5,76.72],[-97.735585,76.25656],[-97.704415,75.74344],[-98.16,75],[-99.80874,74.89744],[-100.88366,75.05736],[-100.86292,75.64075],[-102.50209,75.5638],[-102.56552,76.3366],[-101.48973,76.30537],[-99.98349,76.64634],[-98.57699,76.58859],[-98.5,76.72]]],[[[-96.01644,80.60233],[-95.32345,80.90729],[-94.29843,80.97727],[-94.73542,81.20646],[-92.40984,81.25739],[-91.13289,80.72345],[-89.45,80.509322],[-87.81,80.32],[-87.02,79.66],[-85.81435,79.3369],[-87.18756,79.0393],[-89.03535,78.28723],[-90.80436,78.21533],[-92.87669,78.34333],[-93.95116,78.75099],[-93.93574,79.11373],[-93.14524,79.3801],[-94.974,79.37248],[-96.07614,79.70502],[-96.70972,80.15777],[-96.01644,80.60233]]],[[[-91.58702,81.89429],[-90.1,82.085],[-88.93227,82.11751],[-86.97024,82.27961],[-85.5,82.652273],[-84.260005,82.6],[-83.18,82.32],[-82.42,82.86],[-81.1,83.02],[-79.30664,83.13056],[-76.25,83.172059],[-75.71878,83.06404],[-72.83153,83.23324],[-70.665765,83.169781],[-68.5,83.106322],[-65.82735,83.02801],[-63.68,82.9],[-61.85,82.6286],[-61.89388,82.36165],[-64.334,81.92775],[-66.75342,81.72527],[-67.65755,81.50141],[-65.48031,81.50657],[-67.84,80.9],[-69.4697,80.61683],[-71.18,79.8],[-73.2428,79.63415],[-73.88,79.430162],[-76.90773,79.32309],[-75.52924,79.19766],[-76.22046,79.01907],[-75.39345,78.52581],[-76.34354,78.18296],[-77.88851,77.89991],[-78.36269,77.50859],[-79.75951,77.20968],[-79.61965,76.98336],[-77.91089,77.022045],[-77.88911,76.777955],[-80.56125,76.17812],[-83.17439,76.45403],[-86.11184,76.29901],[-87.6,76.42],[-89.49068,76.47239],[-89.6161,76.95213],[-87.76739,77.17833],[-88.26,77.9],[-87.65,77.970222],[-84.97634,77.53873],[-86.34,78.18],[-87.96192,78.37181],[-87.15198,78.75867],[-85.37868,78.9969],[-85.09495,79.34543],[-86.50734,79.73624],[-86.93179,80.25145],[-84.19844,80.20836],[-83.408696,80.1],[-81.84823,80.46442],[-84.1,80.58],[-87.59895,80.51627],[-89.36663,80.85569],[-90.2,81.26],[-91.36786,81.5531],[-91.58702,81.89429]]],[[[-75.21597,67.44425],[-75.86588,67.14886],[-76.98687,67.09873],[-77.2364,67.58809],[-76.81166,68.14856],[-75.89521,68.28721],[-75.1145,68.01036],[-75.10333,67.58202],[-75.21597,67.44425]]],[[[-96.257401,69.49003],[-95.647681,69.10769],[-96.269521,68.75704],[-97.617401,69.06003],[-98.431801,68.9507],[-99.797401,69.40003],[-98.917401,69.71003],[-98.218261,70.14354],[-97.157401,69.86003],[-96.557401,69.68003],[-96.257401,69.49003]]],[[[-64.51912,49.87304],[-64.17322,49.95718],[-62.85829,49.70641],[-61.835585,49.28855],[-61.806305,49.10506],[-62.29318,49.08717],[-63.58926,49.40069],[-64.51912,49.87304]]],[[[-64.01486,47.03601],[-63.6645,46.55001],[-62.9393,46.41587],[-62.01208,46.44314],[-62.50391,46.03339],[-62.87433,45.96818],[-64.1428,46.39265],[-64.39261,46.72747],[-64.01486,47.03601]]]]}},{type:`Feature`,properties:{code:`US`,name:`United States of America`},geometry:{type:`MultiPolygon`,coordinates:[[[[-122.84,49],[-120,49],[-117.03121,49],[-116.04818,49],[-113,49],[-110.05,49],[-107.05,49],[-104.04826,48.99986],[-100.65,49],[-97.22872,49.0007],[-95.15907,49],[-95.15609,49.38425],[-94.81758,49.38905],[-94.64,48.84],[-94.32914,48.67074],[-93.63087,48.60926],[-92.61,48.45],[-91.64,48.14],[-90.83,48.27],[-89.6,48.01],[-89.272917,48.019808],[-88.378114,48.302918],[-87.439793,47.94],[-86.461991,47.553338],[-85.652363,47.220219],[-84.87608,46.900083],[-84.779238,46.637102],[-84.543749,46.538684],[-84.6049,46.4396],[-84.3367,46.40877],[-84.14212,46.512226],[-84.091851,46.275419],[-83.890765,46.116927],[-83.616131,46.116927],[-83.469551,45.994686],[-83.592851,45.816894],[-82.550925,45.347517],[-82.337763,44.44],[-82.137642,43.571088],[-82.43,42.98],[-82.9,42.43],[-83.12,42.08],[-83.142,41.975681],[-83.02981,41.832796],[-82.690089,41.675105],[-82.439278,41.675105],[-81.277747,42.209026],[-80.247448,42.3662],[-78.939362,42.863611],[-78.92,42.965],[-79.01,43.27],[-79.171674,43.466339],[-78.72028,43.625089],[-77.737885,43.629056],[-76.820034,43.628784],[-76.5,44.018459],[-76.375,44.09631],[-75.31821,44.81645],[-74.867,45.00048],[-73.34783,45.00738],[-71.50506,45.0082],[-71.405,45.255],[-71.08482,45.30524],[-70.66,45.46],[-70.305,45.915],[-69.99997,46.69307],[-69.237216,47.447781],[-68.905,47.185],[-68.23444,47.35486],[-67.79046,47.06636],[-67.79134,45.70281],[-67.13741,45.13753],[-66.96466,44.8097],[-68.03252,44.3252],[-69.06,43.98],[-70.11617,43.68405],[-70.645476,43.090238],[-70.81489,42.8653],[-70.825,42.335],[-70.495,41.805],[-70.08,41.78],[-70.185,42.145],[-69.88497,41.92283],[-69.96503,41.63717],[-70.64,41.475],[-71.12039,41.49445],[-71.86,41.32],[-72.295,41.27],[-72.87643,41.22065],[-73.71,40.931102],[-72.24126,41.11948],[-71.945,40.93],[-73.345,40.63],[-73.982,40.628],[-73.952325,40.75075],[-74.25671,40.47351],[-73.96244,40.42763],[-74.17838,39.70926],[-74.90604,38.93954],[-74.98041,39.1964],[-75.20002,39.24845],[-75.52805,39.4985],[-75.32,38.96],[-75.071835,38.782032],[-75.05673,38.40412],[-75.37747,38.01551],[-75.94023,37.21689],[-76.03127,37.2566],[-75.72205,37.93705],[-76.23287,38.319215],[-76.35,39.15],[-76.542725,38.717615],[-76.32933,38.08326],[-76.989998,38.239992],[-76.30162,37.917945],[-76.25874,36.9664],[-75.9718,36.89726],[-75.86804,36.55125],[-75.72749,35.55074],[-76.36318,34.80854],[-77.397635,34.51201],[-78.05496,33.92547],[-78.55435,33.86133],[-79.06067,33.49395],[-79.20357,33.15839],[-80.301325,32.509355],[-80.86498,32.0333],[-81.33629,31.44049],[-81.49042,30.72999],[-81.31371,30.03552],[-80.98,29.18],[-80.535585,28.47213],[-80.53,28.04],[-80.056539,26.88],[-80.088015,26.205765],[-80.13156,25.816775],[-80.38103,25.20616],[-80.68,25.08],[-81.17213,25.20126],[-81.33,25.64],[-81.71,25.87],[-82.24,26.73],[-82.70515,27.49504],[-82.85526,27.88624],[-82.65,28.55],[-82.93,29.1],[-83.70959,29.93656],[-84.1,30.09],[-85.10882,29.63615],[-85.28784,29.68612],[-85.7731,30.15261],[-86.4,30.4],[-87.53036,30.27433],[-88.41782,30.3849],[-89.18049,30.31598],[-89.593831,30.159994],[-89.413735,29.89419],[-89.43,29.48864],[-89.21767,29.29108],[-89.40823,29.15961],[-89.77928,29.30714],[-90.15463,29.11743],[-90.880225,29.148535],[-91.626785,29.677],[-92.49906,29.5523],[-93.22637,29.78375],[-93.84842,29.71363],[-94.69,29.48],[-95.60026,28.73863],[-96.59404,28.30748],[-97.14,27.83],[-97.37,27.38],[-97.38,26.69],[-97.33,26.21],[-97.14,25.87],[-97.53,25.84],[-98.24,26.06],[-99.02,26.37],[-99.3,26.84],[-99.52,27.54],[-100.11,28.11],[-100.45584,28.69612],[-100.9576,29.38071],[-101.6624,29.7793],[-102.48,29.76],[-103.11,28.97],[-103.94,29.27],[-104.45697,29.57196],[-104.70575,30.12173],[-105.03737,30.64402],[-105.63159,31.08383],[-106.1429,31.39995],[-106.50759,31.75452],[-108.24,31.754854],[-108.24194,31.34222],[-109.035,31.34194],[-111.02361,31.33472],[-113.30498,32.03914],[-114.815,32.52528],[-114.72139,32.72083],[-115.99135,32.61239],[-117.12776,32.53534],[-117.295938,33.046225],[-117.944,33.621236],[-118.410602,33.740909],[-118.519895,34.027782],[-119.081,34.078],[-119.438841,34.348477],[-120.36778,34.44711],[-120.62286,34.60855],[-120.74433,35.15686],[-121.71457,36.16153],[-122.54747,37.55176],[-122.51201,37.78339],[-122.95319,38.11371],[-123.7272,38.95166],[-123.86517,39.76699],[-124.39807,40.3132],[-124.17886,41.14202],[-124.2137,41.99964],[-124.53284,42.76599],[-124.14214,43.70838],[-124.020535,44.615895],[-123.89893,45.52341],[-124.079635,46.86475],[-124.39567,47.72017],[-124.68721,48.184433],[-124.566101,48.379715],[-123.12,48.04],[-122.58736,47.096],[-122.34,47.36],[-122.5,48.18],[-122.84,49]]],[[[-155.40214,20.07975],[-155.22452,19.99302],[-155.06226,19.8591],[-154.80741,19.50871],[-154.83147,19.45328],[-155.22217,19.23972],[-155.54211,19.08348],[-155.68817,18.91619],[-155.93665,19.05939],[-155.90806,19.33888],[-156.07347,19.70294],[-156.02368,19.81422],[-155.85008,19.97729],[-155.91907,20.17395],[-155.86108,20.26721],[-155.78505,20.2487],[-155.40214,20.07975]]],[[[-155.99566,20.76404],[-156.07926,20.64397],[-156.41445,20.57241],[-156.58673,20.783],[-156.70167,20.8643],[-156.71055,20.92676],[-156.61258,21.01249],[-156.25711,20.91745],[-155.99566,20.76404]]],[[[-156.75824,21.17684],[-156.78933,21.06873],[-157.32521,21.09777],[-157.25027,21.21958],[-156.75824,21.17684]]],[[[-158.0252,21.71696],[-157.94161,21.65272],[-157.65283,21.32217],[-157.70703,21.26442],[-157.7786,21.27729],[-158.12667,21.31244],[-158.2538,21.53919],[-158.29265,21.57912],[-158.0252,21.71696]]],[[[-159.36569,22.21494],[-159.34512,21.982],[-159.46372,21.88299],[-159.80051,22.06533],[-159.74877,22.1382],[-159.5962,22.23618],[-159.36569,22.21494]]],[[[-166.467792,60.38417],[-165.67443,60.293607],[-165.579164,59.909987],[-166.19277,59.754441],[-166.848337,59.941406],[-167.455277,60.213069],[-166.467792,60.38417]]],[[[-153.228729,57.968968],[-152.564791,57.901427],[-152.141147,57.591059],[-153.006314,57.115842],[-154.00509,56.734677],[-154.516403,56.992749],[-154.670993,57.461196],[-153.76278,57.816575],[-153.228729,57.968968]]],[[[-140.985988,69.711998],[-140.986,69.712],[-140.9925,66.00003],[-140.99778,60.30639],[-140.013,60.27682],[-139.039,60],[-138.34089,59.56211],[-137.4525,58.905],[-136.47972,59.46389],[-135.47583,59.78778],[-134.945,59.27056],[-134.27111,58.86111],[-133.35556,58.41028],[-132.73042,57.69289],[-131.70781,56.55212],[-130.00778,55.91583],[-129.98,55.285],[-130.53611,54.80278],[-130.536109,54.802754],[-130.53611,54.802753],[-131.085818,55.178906],[-131.967211,55.497776],[-132.250011,56.369996],[-133.539181,57.178887],[-134.078063,58.123068],[-135.038211,58.187715],[-136.628062,58.212209],[-137.800006,58.499995],[-139.867787,59.537762],[-140.825274,59.727517],[-142.574444,60.084447],[-143.958881,59.99918],[-145.925557,60.45861],[-147.114374,60.884656],[-148.224306,60.672989],[-148.018066,59.978329],[-148.570823,59.914173],[-149.727858,59.705658],[-150.608243,59.368211],[-151.716393,59.155821],[-151.859433,59.744984],[-151.409719,60.725803],[-150.346941,61.033588],[-150.621111,61.284425],[-151.895839,60.727198],[-152.57833,60.061657],[-154.019172,59.350279],[-153.287511,58.864728],[-154.232492,58.146374],[-155.307491,57.727795],[-156.308335,57.422774],[-156.556097,56.979985],[-158.117217,56.463608],[-158.433321,55.994154],[-159.603327,55.566686],[-160.28972,55.643581],[-161.223048,55.364735],[-162.237766,55.024187],[-163.069447,54.689737],[-164.785569,54.404173],[-164.942226,54.572225],[-163.84834,55.039431],[-162.870001,55.348043],[-161.804175,55.894986],[-160.563605,56.008055],[-160.07056,56.418055],[-158.684443,57.016675],[-158.461097,57.216921],[-157.72277,57.570001],[-157.550274,58.328326],[-157.041675,58.918885],[-158.194731,58.615802],[-158.517218,58.787781],[-159.058606,58.424186],[-159.711667,58.93139],[-159.981289,58.572549],[-160.355271,59.071123],[-161.355003,58.670838],[-161.968894,58.671665],[-162.054987,59.266925],[-161.874171,59.633621],[-162.518059,59.989724],[-163.818341,59.798056],[-164.662218,60.267484],[-165.346388,60.507496],[-165.350832,61.073895],[-166.121379,61.500019],[-165.734452,62.074997],[-164.919179,62.633076],[-164.562508,63.146378],[-163.753332,63.219449],[-163.067224,63.059459],[-162.260555,63.541936],[-161.53445,63.455817],[-160.772507,63.766108],[-160.958335,64.222799],[-161.518068,64.402788],[-160.777778,64.788604],[-161.391926,64.777235],[-162.45305,64.559445],[-162.757786,64.338605],[-163.546394,64.55916],[-164.96083,64.446945],[-166.425288,64.686672],[-166.845004,65.088896],[-168.11056,65.669997],[-166.705271,66.088318],[-164.47471,66.57666],[-163.652512,66.57666],[-163.788602,66.077207],[-161.677774,66.11612],[-162.489715,66.735565],[-163.719717,67.116395],[-164.430991,67.616338],[-165.390287,68.042772],[-166.764441,68.358877],[-166.204707,68.883031],[-164.430811,68.915535],[-163.168614,69.371115],[-162.930566,69.858062],[-161.908897,70.33333],[-160.934797,70.44769],[-159.039176,70.891642],[-158.119723,70.824721],[-156.580825,71.357764],[-155.06779,71.147776],[-154.344165,70.696409],[-153.900006,70.889989],[-152.210006,70.829992],[-152.270002,70.600006],[-150.739992,70.430017],[-149.720003,70.53001],[-147.613362,70.214035],[-145.68999,70.12001],[-144.920011,69.989992],[-143.589446,70.152514],[-142.07251,69.851938],[-140.985988,69.711998],[-140.985988,69.711998]]],[[[-171.731657,63.782515],[-171.114434,63.592191],[-170.491112,63.694975],[-169.682505,63.431116],[-168.689439,63.297506],[-168.771941,63.188598],[-169.52944,62.976931],[-170.290556,63.194438],[-170.671386,63.375822],[-171.553063,63.317789],[-171.791111,63.405846],[-171.731657,63.782515]]]]}},{type:`Feature`,properties:{code:`KZ`,name:`Kazakhstan`},geometry:{type:`Polygon`,coordinates:[[[87.35997,49.214981],[86.598776,48.549182],[85.768233,48.455751],[85.720484,47.452969],[85.16429,47.000956],[83.180484,47.330031],[82.458926,45.53965],[81.947071,45.317027],[79.966106,44.917517],[80.866206,43.180362],[80.18015,42.920068],[80.25999,42.349999],[79.643645,42.496683],[79.142177,42.856092],[77.658392,42.960686],[76.000354,42.988022],[75.636965,42.8779],[74.212866,43.298339],[73.645304,43.091272],[73.489758,42.500894],[71.844638,42.845395],[71.186281,42.704293],[70.962315,42.266154],[70.388965,42.081308],[69.070027,41.384244],[68.632483,40.668681],[68.259896,40.662325],[67.985856,41.135991],[66.714047,41.168444],[66.510649,41.987644],[66.023392,41.994646],[66.098012,42.99766],[64.900824,43.728081],[63.185787,43.650075],[62.0133,43.504477],[61.05832,44.405817],[60.239972,44.784037],[58.689989,45.500014],[58.503127,45.586804],[55.928917,44.995858],[55.968191,41.308642],[55.455251,41.259859],[54.755345,42.043971],[54.079418,42.324109],[52.944293,42.116034],[52.50246,41.783316],[52.446339,42.027151],[52.692112,42.443895],[52.501426,42.792298],[51.342427,43.132975],[50.891292,44.031034],[50.339129,44.284016],[50.305643,44.609836],[51.278503,44.514854],[51.316899,45.245998],[52.16739,45.408391],[53.040876,45.259047],[53.220866,46.234646],[53.042737,46.853006],[52.042023,46.804637],[51.191945,47.048705],[50.034083,46.60899],[49.10116,46.39933],[48.59325,46.56104],[48.694734,47.075628],[48.05725,47.74377],[47.31524,47.71585],[46.466446,48.394152],[47.043672,49.152039],[46.751596,49.356006],[47.54948,50.454698],[48.577841,49.87476],[48.702382,50.605128],[50.766648,51.692762],[52.328724,51.718652],[54.532878,51.02624],[55.71694,50.62171],[56.77798,51.04355],[58.36332,51.06364],[59.642282,50.545442],[59.932807,50.842194],[61.337424,50.79907],[61.588003,51.272659],[59.967534,51.96042],[60.927269,52.447548],[60.739993,52.719986],[61.699986,52.979996],[60.978066,53.664993],[61.4366,54.00625],[65.178534,54.354228],[65.66687,54.60125],[68.1691,54.970392],[69.068167,55.38525],[70.865267,55.169734],[71.180131,54.133285],[72.22415,54.376655],[73.508516,54.035617],[73.425679,53.48981],[74.38482,53.54685],[76.8911,54.490524],[76.525179,54.177003],[77.800916,53.404415],[80.03556,50.864751],[80.568447,51.388336],[81.945986,50.812196],[83.383004,51.069183],[83.935115,50.889246],[84.416377,50.3114],[85.11556,50.117303],[85.54127,49.692859],[86.829357,49.826675],[87.35997,49.214981]]]}},{type:`Feature`,properties:{code:`UZ`,name:`Uzbekistan`},geometry:{type:`Polygon`,coordinates:[[[55.968191,41.308642],[55.928917,44.995858],[58.503127,45.586804],[58.689989,45.500014],[60.239972,44.784037],[61.05832,44.405817],[62.0133,43.504477],[63.185787,43.650075],[64.900824,43.728081],[66.098012,42.99766],[66.023392,41.994646],[66.510649,41.987644],[66.714047,41.168444],[67.985856,41.135991],[68.259896,40.662325],[68.632483,40.668681],[69.070027,41.384244],[70.388965,42.081308],[70.962315,42.266154],[71.259248,42.167711],[70.420022,41.519998],[71.157859,41.143587],[71.870115,41.3929],[73.055417,40.866033],[71.774875,40.145844],[71.014198,40.244366],[70.601407,40.218527],[70.45816,40.496495],[70.666622,40.960213],[69.329495,40.727824],[69.011633,40.086158],[68.536416,39.533453],[67.701429,39.580478],[67.44222,39.140144],[68.176025,38.901553],[68.392033,38.157025],[67.83,37.144994],[67.075782,37.356144],[66.518607,37.362784],[66.54615,37.974685],[65.215999,38.402695],[64.170223,38.892407],[63.518015,39.363257],[62.37426,40.053886],[61.882714,41.084857],[61.547179,41.26637],[60.465953,41.220327],[60.083341,41.425146],[59.976422,42.223082],[58.629011,42.751551],[57.78653,42.170553],[56.932215,41.826026],[57.096391,41.32231],[55.968191,41.308642]]]}},{type:`Feature`,properties:{code:`PG`,name:`Papua New Guinea`},geometry:{type:`MultiPolygon`,coordinates:[[[[141.00021,-2.600151],[142.735247,-3.289153],[144.583971,-3.861418],[145.27318,-4.373738],[145.829786,-4.876498],[145.981922,-5.465609],[147.648073,-6.083659],[147.891108,-6.614015],[146.970905,-6.721657],[147.191874,-7.388024],[148.084636,-8.044108],[148.734105,-9.104664],[149.306835,-9.071436],[149.266631,-9.514406],[150.038728,-9.684318],[149.738798,-9.872937],[150.801628,-10.293687],[150.690575,-10.582713],[150.028393,-10.652476],[149.78231,-10.393267],[148.923138,-10.280923],[147.913018,-10.130441],[147.135443,-9.492444],[146.567881,-8.942555],[146.048481,-8.067414],[144.744168,-7.630128],[143.897088,-7.91533],[143.286376,-8.245491],[143.413913,-8.983069],[142.628431,-9.326821],[142.068259,-9.159596],[141.033852,-9.117893],[141.017057,-5.859022],[141.00021,-2.600151]]],[[[152.640017,-3.659983],[153.019994,-3.980015],[153.140038,-4.499983],[152.827292,-4.766427],[152.638673,-4.176127],[152.406026,-3.789743],[151.953237,-3.462062],[151.384279,-3.035422],[150.66205,-2.741486],[150.939965,-2.500002],[151.479984,-2.779985],[151.820015,-2.999972],[152.239989,-3.240009],[152.640017,-3.659983]]],[[[151.30139,-5.840728],[150.754447,-6.083763],[150.241197,-6.317754],[149.709963,-6.316513],[148.890065,-6.02604],[148.318937,-5.747142],[148.401826,-5.437756],[149.298412,-5.583742],[149.845562,-5.505503],[149.99625,-5.026101],[150.139756,-5.001348],[150.236908,-5.53222],[150.807467,-5.455842],[151.089672,-5.113693],[151.647881,-4.757074],[151.537862,-4.167807],[152.136792,-4.14879],[152.338743,-4.312966],[152.318693,-4.867661],[151.982796,-5.478063],[151.459107,-5.56028],[151.30139,-5.840728]]],[[[154.759991,-5.339984],[155.062918,-5.566792],[155.547746,-6.200655],[156.019965,-6.540014],[155.880026,-6.819997],[155.599991,-6.919991],[155.166994,-6.535931],[154.729192,-5.900828],[154.514114,-5.139118],[154.652504,-5.042431],[154.759991,-5.339984]]]]}},{type:`Feature`,properties:{code:`ID`,name:`Indonesia`},geometry:{type:`MultiPolygon`,coordinates:[[[[141.00021,-2.600151],[141.017057,-5.859022],[141.033852,-9.117893],[140.143415,-8.297168],[139.127767,-8.096043],[138.881477,-8.380935],[137.614474,-8.411683],[138.039099,-7.597882],[138.668621,-7.320225],[138.407914,-6.232849],[137.92784,-5.393366],[135.98925,-4.546544],[135.164598,-4.462931],[133.66288,-3.538853],[133.367705,-4.024819],[132.983956,-4.112979],[132.756941,-3.746283],[132.753789,-3.311787],[131.989804,-2.820551],[133.066845,-2.460418],[133.780031,-2.479848],[133.696212,-2.214542],[132.232373,-2.212526],[131.836222,-1.617162],[130.94284,-1.432522],[130.519558,-.93772],[131.867538,-.695461],[132.380116,-.369538],[133.985548,-.78021],[134.143368,-1.151867],[134.422627,-2.769185],[135.457603,-3.367753],[136.293314,-2.307042],[137.440738,-1.703513],[138.329727,-1.702686],[139.184921,-2.051296],[139.926684,-2.409052],[141.00021,-2.600151]]],[[[124.968682,-8.89279],[125.07002,-9.089987],[125.08852,-9.393173],[124.43595,-10.140001],[123.579982,-10.359987],[123.459989,-10.239995],[123.550009,-9.900016],[123.980009,-9.290027],[124.968682,-8.89279]]],[[[134.210134,-6.895238],[134.112776,-6.142467],[134.290336,-5.783058],[134.499625,-5.445042],[134.727002,-5.737582],[134.724624,-6.214401],[134.210134,-6.895238]]],[[[117.882035,4.137551],[117.313232,3.234428],[118.04833,2.28769],[117.875627,1.827641],[118.996747,.902219],[117.811858,.784242],[117.478339,.102475],[117.521644,-.803723],[116.560048,-1.487661],[116.533797,-2.483517],[116.148084,-4.012726],[116.000858,-3.657037],[114.864803,-4.106984],[114.468652,-3.495704],[113.755672,-3.43917],[113.256994,-3.118776],[112.068126,-3.478392],[111.703291,-2.994442],[111.04824,-3.049426],[110.223846,-2.934032],[110.070936,-1.592874],[109.571948,-1.314907],[109.091874,-.459507],[108.952658,.415375],[109.069136,1.341934],[109.66326,2.006467],[109.830227,1.338136],[110.514061,.773131],[111.159138,.976478],[111.797548,.904441],[112.380252,1.410121],[112.859809,1.49779],[113.80585,1.217549],[114.621355,1.430688],[115.134037,2.821482],[115.519078,3.169238],[115.865517,4.306559],[117.015214,4.306094],[117.882035,4.137551]]],[[[129.370998,-2.802154],[130.471344,-3.093764],[130.834836,-3.858472],[129.990547,-3.446301],[129.155249,-3.362637],[128.590684,-3.428679],[127.898891,-3.393436],[128.135879,-2.84365],[129.370998,-2.802154]]],[[[126.874923,-3.790983],[126.183802,-3.607376],[125.989034,-3.177273],[127.000651,-3.129318],[127.249215,-3.459065],[126.874923,-3.790983]]],[[[127.932378,2.174596],[128.004156,1.628531],[128.594559,1.540811],[128.688249,1.132386],[128.635952,.258486],[128.12017,.356413],[127.968034,-.252077],[128.379999,-.780004],[128.100016,-.899996],[127.696475,-.266598],[127.39949,1.011722],[127.600512,1.810691],[127.932378,2.174596]]],[[[122.927567,.875192],[124.077522,.917102],[125.065989,1.643259],[125.240501,1.419836],[124.437035,.427881],[123.685505,.235593],[122.723083,.431137],[121.056725,.381217],[120.183083,.237247],[120.04087,-.519658],[120.935905,-1.408906],[121.475821,-.955962],[123.340565,-.615673],[123.258399,-1.076213],[122.822715,-.930951],[122.38853,-1.516858],[121.508274,-1.904483],[122.454572,-3.186058],[122.271896,-3.5295],[123.170963,-4.683693],[123.162333,-5.340604],[122.628515,-5.634591],[122.236394,-5.282933],[122.719569,-4.464172],[121.738234,-4.851331],[121.489463,-4.574553],[121.619171,-4.188478],[120.898182,-3.602105],[120.972389,-2.627643],[120.305453,-2.931604],[120.390047,-4.097579],[120.430717,-5.528241],[119.796543,-5.6734],[119.366906,-5.379878],[119.653606,-4.459417],[119.498835,-3.494412],[119.078344,-3.487022],[118.767769,-2.801999],[119.180974,-2.147104],[119.323394,-1.353147],[119.825999,.154254],[120.035702,.566477],[120.885779,1.309223],[121.666817,1.013944],[122.927567,.875192]]],[[[120.295014,-10.25865],[118.967808,-9.557969],[119.90031,-9.36134],[120.425756,-9.665921],[120.775502,-9.969675],[120.715609,-10.239581],[120.295014,-10.25865]]],[[[121.341669,-8.53674],[122.007365,-8.46062],[122.903537,-8.094234],[122.756983,-8.649808],[121.254491,-8.933666],[119.924391,-8.810418],[119.920929,-8.444859],[120.715092,-8.236965],[121.341669,-8.53674]]],[[[118.260616,-8.362383],[118.87846,-8.280683],[119.126507,-8.705825],[117.970402,-8.906639],[117.277731,-9.040895],[116.740141,-9.032937],[117.083737,-8.457158],[117.632024,-8.449303],[117.900018,-8.095681],[118.260616,-8.362383]]],[[[108.486846,-6.421985],[108.623479,-6.777674],[110.539227,-6.877358],[110.759576,-6.465186],[112.614811,-6.946036],[112.978768,-7.594213],[114.478935,-7.776528],[115.705527,-8.370807],[114.564511,-8.751817],[113.464734,-8.348947],[112.559672,-8.376181],[111.522061,-8.302129],[110.58615,-8.122605],[109.427667,-7.740664],[108.693655,-7.6416],[108.277763,-7.766657],[106.454102,-7.3549],[106.280624,-6.9249],[105.365486,-6.851416],[106.051646,-5.895919],[107.265009,-5.954985],[108.072091,-6.345762],[108.486846,-6.421985]]],[[[104.369991,-1.084843],[104.53949,-1.782372],[104.887893,-2.340425],[105.622111,-2.428844],[106.108593,-3.061777],[105.857446,-4.305525],[105.817655,-5.852356],[104.710384,-5.873285],[103.868213,-5.037315],[102.584261,-4.220259],[102.156173,-3.614146],[101.399113,-2.799777],[100.902503,-2.050262],[100.141981,-.650348],[99.26374,.183142],[98.970011,1.042882],[98.601351,1.823507],[97.699598,2.453184],[97.176942,3.308791],[96.424017,3.86886],[95.380876,4.970782],[95.293026,5.479821],[95.936863,5.439513],[97.484882,5.246321],[98.369169,4.26837],[99.142559,3.59035],[99.693998,3.174329],[100.641434,2.099381],[101.658012,2.083697],[102.498271,1.3987],[103.07684,.561361],[103.838396,.104542],[103.437645,-.711946],[104.010789,-1.059212],[104.369991,-1.084843]]]]}},{type:`Feature`,properties:{code:`AR`,name:`Argentina`},geometry:{type:`MultiPolygon`,coordinates:[[[[-68.63401,-52.63637],[-68.25,-53.1],[-67.75,-53.85],[-66.45,-54.45],[-65.05,-54.7],[-65.5,-55.2],[-66.45,-55.25],[-66.95992,-54.89681],[-67.56244,-54.87001],[-68.63335,-54.8695],[-68.63401,-52.63637]]],[[[-57.625133,-30.216295],[-57.874937,-31.016556],[-58.14244,-32.044504],[-58.132648,-33.040567],[-58.349611,-33.263189],[-58.427074,-33.909454],[-58.495442,-34.43149],[-57.22583,-35.288027],[-57.362359,-35.97739],[-56.737487,-36.413126],[-56.788285,-36.901572],[-57.749157,-38.183871],[-59.231857,-38.72022],[-61.237445,-38.928425],[-62.335957,-38.827707],[-62.125763,-39.424105],[-62.330531,-40.172586],[-62.145994,-40.676897],[-62.745803,-41.028761],[-63.770495,-41.166789],[-64.73209,-40.802677],[-65.118035,-41.064315],[-64.978561,-42.058001],[-64.303408,-42.359016],[-63.755948,-42.043687],[-63.458059,-42.563138],[-64.378804,-42.873558],[-65.181804,-43.495381],[-65.328823,-44.501366],[-65.565269,-45.036786],[-66.509966,-45.039628],[-67.293794,-45.551896],[-67.580546,-46.301773],[-66.597066,-47.033925],[-65.641027,-47.236135],[-65.985088,-48.133289],[-67.166179,-48.697337],[-67.816088,-49.869669],[-68.728745,-50.264218],[-69.138539,-50.73251],[-68.815561,-51.771104],[-68.149995,-52.349983],[-68.571545,-52.299444],[-69.498362,-52.142761],[-71.914804,-52.009022],[-72.329404,-51.425956],[-72.309974,-50.67701],[-72.975747,-50.74145],[-73.328051,-50.378785],[-73.415436,-49.318436],[-72.648247,-48.878618],[-72.331161,-48.244238],[-72.447355,-47.738533],[-71.917258,-46.884838],[-71.552009,-45.560733],[-71.659316,-44.973689],[-71.222779,-44.784243],[-71.329801,-44.407522],[-71.793623,-44.207172],[-71.464056,-43.787611],[-71.915424,-43.408565],[-72.148898,-42.254888],[-71.746804,-42.051386],[-71.915734,-40.832339],[-71.680761,-39.808164],[-71.413517,-38.916022],[-70.814664,-38.552995],[-71.118625,-37.576827],[-71.121881,-36.658124],[-70.364769,-36.005089],[-70.388049,-35.169688],[-69.817309,-34.193571],[-69.814777,-33.273886],[-70.074399,-33.09121],[-70.535069,-31.36501],[-69.919008,-30.336339],[-70.01355,-29.367923],[-69.65613,-28.459141],[-69.001235,-27.521214],[-68.295542,-26.89934],[-68.5948,-26.506909],[-68.386001,-26.185016],[-68.417653,-24.518555],[-67.328443,-24.025303],[-66.985234,-22.986349],[-67.106674,-22.735925],[-66.273339,-21.83231],[-64.964892,-22.075862],[-64.377021,-22.798091],[-63.986838,-21.993644],[-62.846468,-22.034985],[-62.685057,-22.249029],[-60.846565,-23.880713],[-60.028966,-24.032796],[-58.807128,-24.771459],[-57.777217,-25.16234],[-57.63366,-25.603657],[-58.618174,-27.123719],[-57.60976,-27.395899],[-56.486702,-27.548499],[-55.695846,-27.387837],[-54.788795,-26.621786],[-54.625291,-25.739255],[-54.13005,-25.547639],[-53.628349,-26.124865],[-53.648735,-26.923473],[-54.490725,-27.474757],[-55.162286,-27.881915],[-56.2909,-28.852761],[-57.625133,-30.216295]]]]}},{type:`Feature`,properties:{code:`CL`,name:`Chile`},geometry:{type:`MultiPolygon`,coordinates:[[[[-68.63401,-52.63637],[-68.63335,-54.8695],[-67.56244,-54.87001],[-66.95992,-54.89681],[-67.29103,-55.30124],[-68.14863,-55.61183],[-68.639991,-55.580018],[-69.2321,-55.49906],[-69.95809,-55.19843],[-71.00568,-55.05383],[-72.2639,-54.49514],[-73.2852,-53.95752],[-74.66253,-52.83749],[-73.8381,-53.04743],[-72.43418,-53.7154],[-71.10773,-54.07433],[-70.59178,-53.61583],[-70.26748,-52.93123],[-69.34565,-52.5183],[-68.63401,-52.63637]]],[[[-69.590424,-17.580012],[-69.100247,-18.260125],[-68.966818,-18.981683],[-68.442225,-19.405068],[-68.757167,-20.372658],[-68.219913,-21.494347],[-67.82818,-22.872919],[-67.106674,-22.735925],[-66.985234,-22.986349],[-67.328443,-24.025303],[-68.417653,-24.518555],[-68.386001,-26.185016],[-68.5948,-26.506909],[-68.295542,-26.89934],[-69.001235,-27.521214],[-69.65613,-28.459141],[-70.01355,-29.367923],[-69.919008,-30.336339],[-70.535069,-31.36501],[-70.074399,-33.09121],[-69.814777,-33.273886],[-69.817309,-34.193571],[-70.388049,-35.169688],[-70.364769,-36.005089],[-71.121881,-36.658124],[-71.118625,-37.576827],[-70.814664,-38.552995],[-71.413517,-38.916022],[-71.680761,-39.808164],[-71.915734,-40.832339],[-71.746804,-42.051386],[-72.148898,-42.254888],[-71.915424,-43.408565],[-71.464056,-43.787611],[-71.793623,-44.207172],[-71.329801,-44.407522],[-71.222779,-44.784243],[-71.659316,-44.973689],[-71.552009,-45.560733],[-71.917258,-46.884838],[-72.447355,-47.738533],[-72.331161,-48.244238],[-72.648247,-48.878618],[-73.415436,-49.318436],[-73.328051,-50.378785],[-72.975747,-50.74145],[-72.309974,-50.67701],[-72.329404,-51.425956],[-71.914804,-52.009022],[-69.498362,-52.142761],[-68.571545,-52.299444],[-69.461284,-52.291951],[-69.94278,-52.537931],[-70.845102,-52.899201],[-71.006332,-53.833252],[-71.429795,-53.856455],[-72.557943,-53.53141],[-73.702757,-52.835069],[-73.702757,-52.83507],[-74.946763,-52.262754],[-75.260026,-51.629355],[-74.976632,-51.043396],[-75.479754,-50.378372],[-75.608015,-48.673773],[-75.18277,-47.711919],[-74.126581,-46.939253],[-75.644395,-46.647643],[-74.692154,-45.763976],[-74.351709,-44.103044],[-73.240356,-44.454961],[-72.717804,-42.383356],[-73.3889,-42.117532],[-73.701336,-43.365776],[-74.331943,-43.224958],[-74.017957,-41.794813],[-73.677099,-39.942213],[-73.217593,-39.258689],[-73.505559,-38.282883],[-73.588061,-37.156285],[-73.166717,-37.12378],[-72.553137,-35.50884],[-71.861732,-33.909093],[-71.43845,-32.418899],[-71.668721,-30.920645],[-71.370083,-30.095682],[-71.489894,-28.861442],[-70.905124,-27.64038],[-70.724954,-25.705924],[-70.403966,-23.628997],[-70.091246,-21.393319],[-70.16442,-19.756468],[-70.372572,-18.347975],[-69.858444,-18.092694],[-69.590424,-17.580012]]]]}},{type:`Feature`,properties:{code:`CD`,name:`Democratic Republic of the Congo`},geometry:{type:`Polygon`,coordinates:[[[29.339998,-4.499983],[29.519987,-5.419979],[29.419993,-5.939999],[29.620032,-6.520015],[30.199997,-7.079981],[30.740015,-8.340007],[30.74001,-8.340006],[30.346086,-8.238257],[29.002912,-8.407032],[28.734867,-8.526559],[28.449871,-9.164918],[28.673682,-9.605925],[28.49607,-10.789884],[28.372253,-11.793647],[28.642417,-11.971569],[29.341548,-12.360744],[29.616001,-12.178895],[29.699614,-13.257227],[28.934286,-13.248958],[28.523562,-12.698604],[28.155109,-12.272481],[27.388799,-12.132747],[27.16442,-11.608748],[26.553088,-11.92444],[25.75231,-11.784965],[25.418118,-11.330936],[24.78317,-11.238694],[24.314516,-11.262826],[24.257155,-10.951993],[23.912215,-10.926826],[23.456791,-10.867863],[22.837345,-11.017622],[22.402798,-10.993075],[22.155268,-11.084801],[22.208753,-9.894796],[21.875182,-9.523708],[21.801801,-8.908707],[21.949131,-8.305901],[21.746456,-7.920085],[21.728111,-7.290872],[20.514748,-7.299606],[20.601823,-6.939318],[20.091622,-6.94309],[20.037723,-7.116361],[19.417502,-7.155429],[19.166613,-7.738184],[19.016752,-7.988246],[18.464176,-7.847014],[18.134222,-7.987678],[17.47297,-8.068551],[17.089996,-7.545689],[16.860191,-7.222298],[16.57318,-6.622645],[16.326528,-5.87747],[13.375597,-5.864241],[13.024869,-5.984389],[12.735171,-5.965682],[12.322432,-6.100092],[12.182337,-5.789931],[12.436688,-5.684304],[12.468004,-5.248362],[12.631612,-4.991271],[12.995517,-4.781103],[13.25824,-4.882957],[13.600235,-4.500138],[14.144956,-4.510009],[14.209035,-4.793092],[14.582604,-4.970239],[15.170992,-4.343507],[15.75354,-3.855165],[16.00629,-3.535133],[15.972803,-2.712392],[16.407092,-1.740927],[16.865307,-1.225816],[17.523716,-.74383],[17.638645,-.424832],[17.663553,-.058084],[17.82654,.288923],[17.774192,.855659],[17.898835,1.741832],[18.094276,2.365722],[18.393792,2.900443],[18.453065,3.504386],[18.542982,4.201785],[18.932312,4.709506],[19.467784,5.031528],[20.290679,4.691678],[20.927591,4.322786],[21.659123,4.224342],[22.405124,4.02916],[22.704124,4.633051],[22.84148,4.710126],[23.297214,4.609693],[24.410531,5.108784],[24.805029,4.897247],[25.128833,4.927245],[25.278798,5.170408],[25.650455,5.256088],[26.402761,5.150875],[27.044065,5.127853],[27.374226,5.233944],[27.979977,4.408413],[28.428994,4.287155],[28.696678,4.455077],[29.159078,4.389267],[29.715995,4.600805],[29.9535,4.173699],[30.833852,3.509172],[30.83386,3.509166],[30.773347,2.339883],[31.174149,2.204465],[30.85267,1.849396],[30.468508,1.583805],[30.086154,1.062313],[29.875779,.59738],[29.819503,-.20531],[29.587838,-.587406],[29.579466,-1.341313],[29.291887,-1.620056],[29.254835,-2.21511],[29.117479,-2.292211],[29.024926,-2.839258],[29.276384,-3.293907],[29.339998,-4.499983]]]}},{type:`Feature`,properties:{code:`SO`,name:`Somalia`},geometry:{type:`Polygon`,coordinates:[[[41.58513,-1.68325],[40.993,-.85829],[40.98105,2.78452],[41.855083,3.918912],[42.12861,4.23413],[42.76967,4.25259],[43.66087,4.95755],[44.9636,5.00162],[47.78942,8.003],[48.486736,8.837626],[48.93813,9.451749],[48.938233,9.9735],[48.938491,10.982327],[48.942005,11.394266],[48.948205,11.410617],[48.948205,11.410617],[49.26776,11.43033],[49.72862,11.5789],[50.25878,11.67957],[50.73202,12.0219],[51.1112,12.02464],[51.13387,11.74815],[51.04153,11.16651],[51.04531,10.6409],[50.83418,10.27972],[50.55239,9.19874],[50.07092,8.08173],[49.4527,6.80466],[48.59455,5.33911],[47.74079,4.2194],[46.56476,2.85529],[45.56399,2.04576],[44.06815,1.05283],[43.13597,.2922],[42.04157,-.91916],[41.81095,-1.44647],[41.58513,-1.68325]]]}},{type:`Feature`,properties:{code:`KE`,name:`Kenya`},geometry:{type:`Polygon`,coordinates:[[[39.20222,-4.67677],[37.7669,-3.67712],[37.69869,-3.09699],[34.07262,-1.05982],[33.903711,-.95],[33.893569,.109814],[34.18,.515],[34.6721,1.17694],[35.03599,1.90584],[34.59607,3.05374],[34.47913,3.5556],[34.005,4.249885],[34.620196,4.847123],[35.298007,5.506],[35.817448,5.338232],[35.817448,4.776966],[36.159079,4.447864],[36.855093,4.447864],[38.120915,3.598605],[38.43697,3.58851],[38.67114,3.61607],[38.89251,3.50074],[39.559384,3.42206],[39.85494,3.83879],[40.76848,4.25702],[41.1718,3.91909],[41.855083,3.918912],[40.98105,2.78452],[40.993,-.85829],[41.58513,-1.68325],[40.88477,-2.08255],[40.63785,-2.49979],[40.26304,-2.57309],[40.12119,-3.27768],[39.80006,-3.68116],[39.60489,-4.34653],[39.20222,-4.67677]]]}},{type:`Feature`,properties:{code:`SD`,name:`Sudan`},geometry:{type:`Polygon`,coordinates:[[[24.567369,8.229188],[23.805813,8.666319],[23.459013,8.954286],[23.394779,9.265068],[23.55725,9.681218],[23.554304,10.089255],[22.977544,10.714463],[22.864165,11.142395],[22.87622,11.38461],[22.50869,11.67936],[22.49762,12.26024],[22.28801,12.64605],[21.93681,12.58818],[22.03759,12.95546],[22.29658,13.37232],[22.18329,13.78648],[22.51202,14.09318],[22.30351,14.32682],[22.56795,14.94429],[23.02459,15.68072],[23.88689,15.61084],[23.83766,19.58047],[23.85,20],[25,20.00304],[25,22],[29.02,22],[32.9,22],[36.86623,22],[37.18872,21.01885],[36.96941,20.83744],[37.1147,19.80796],[37.48179,18.61409],[37.86276,18.36786],[38.41009,17.998307],[37.904,17.42754],[37.16747,17.26314],[36.85253,16.95655],[36.75389,16.29186],[36.32322,14.82249],[36.42951,14.42211],[36.27022,13.56333],[35.86363,12.57828],[35.26049,12.08286],[34.83163,11.31896],[34.73115,10.91017],[34.25745,10.63009],[33.96162,9.58358],[33.97498,8.68456],[33.963393,9.464285],[33.824963,9.484061],[33.842131,9.981915],[33.721959,10.325262],[33.206938,10.720112],[33.086766,11.441141],[33.206938,12.179338],[32.743419,12.248008],[32.67475,12.024832],[32.073892,11.97333],[32.314235,11.681484],[32.400072,11.080626],[31.850716,10.531271],[31.352862,9.810241],[30.837841,9.707237],[29.996639,10.290927],[29.618957,10.084919],[29.515953,9.793074],[29.000932,9.604232],[28.966597,9.398224],[27.97089,9.398224],[27.833551,9.604232],[27.112521,9.638567],[26.752006,9.466893],[26.477328,9.55273],[25.962307,10.136421],[25.790633,10.411099],[25.069604,10.27376],[24.794926,9.810241],[24.537415,8.917538],[24.194068,8.728696],[23.88698,8.61973],[24.567369,8.229188]]]}},{type:`Feature`,properties:{code:`TD`,name:`Chad`},geometry:{type:`Polygon`,coordinates:[[[23.83766,19.58047],[23.88689,15.61084],[23.02459,15.68072],[22.56795,14.94429],[22.30351,14.32682],[22.51202,14.09318],[22.18329,13.78648],[22.29658,13.37232],[22.03759,12.95546],[21.93681,12.58818],[22.28801,12.64605],[22.49762,12.26024],[22.50869,11.67936],[22.87622,11.38461],[22.864165,11.142395],[22.231129,10.971889],[21.723822,10.567056],[21.000868,9.475985],[20.059685,9.012706],[19.094008,9.074847],[18.81201,8.982915],[18.911022,8.630895],[18.389555,8.281304],[17.96493,7.890914],[16.705988,7.508328],[16.456185,7.734774],[16.290562,7.754307],[16.106232,7.497088],[15.27946,7.421925],[15.436092,7.692812],[15.120866,8.38215],[14.979996,8.796104],[14.544467,8.965861],[13.954218,9.549495],[14.171466,10.021378],[14.627201,9.920919],[14.909354,9.992129],[15.467873,9.982337],[14.923565,10.891325],[14.960152,11.555574],[14.89336,12.21905],[14.495787,12.859396],[14.595781,13.330427],[13.954477,13.353449],[13.956699,13.996691],[13.540394,14.367134],[13.97217,15.68437],[15.247731,16.627306],[15.300441,17.92795],[15.685741,19.95718],[15.903247,20.387619],[15.487148,20.730415],[15.47106,21.04845],[15.096888,21.308519],[14.8513,22.86295],[15.86085,23.40972],[19.84926,21.49509],[23.83766,19.58047]]]}},{type:`Feature`,properties:{code:`HT`,name:`Haiti`},geometry:{type:`Polygon`,coordinates:[[[-71.712361,19.714456],[-71.624873,19.169838],[-71.701303,18.785417],[-71.945112,18.6169],[-71.687738,18.31666],[-71.708305,18.044997],[-72.372476,18.214961],[-72.844411,18.145611],[-73.454555,18.217906],[-73.922433,18.030993],[-74.458034,18.34255],[-74.369925,18.664908],[-73.449542,18.526053],[-72.694937,18.445799],[-72.334882,18.668422],[-72.79165,19.101625],[-72.784105,19.483591],[-73.415022,19.639551],[-73.189791,19.915684],[-72.579673,19.871501],[-71.712361,19.714456]]]}},{type:`Feature`,properties:{code:`DO`,name:`Dominican Republic`},geometry:{type:`Polygon`,coordinates:[[[-71.708305,18.044997],[-71.687738,18.31666],[-71.945112,18.6169],[-71.701303,18.785417],[-71.624873,19.169838],[-71.712361,19.714456],[-71.587304,19.884911],[-70.806706,19.880286],[-70.214365,19.622885],[-69.950815,19.648],[-69.76925,19.293267],[-69.222126,19.313214],[-69.254346,19.015196],[-68.809412,18.979074],[-68.317943,18.612198],[-68.689316,18.205142],[-69.164946,18.422648],[-69.623988,18.380713],[-69.952934,18.428307],[-70.133233,18.245915],[-70.517137,18.184291],[-70.669298,18.426886],[-70.99995,18.283329],[-71.40021,17.598564],[-71.657662,17.757573],[-71.708305,18.044997]]]}},{type:`Feature`,properties:{code:`RU`,name:`Russia`},geometry:{type:`MultiPolygon`,coordinates:[[[[178.7253,71.0988],[180,71.515714],[180,70.832199],[178.903425,70.78114],[178.7253,71.0988]]],[[[49.10116,46.39933],[48.64541,45.80629],[47.67591,45.64149],[46.68201,44.6092],[47.59094,43.66016],[47.49252,42.98658],[48.58437,41.80888],[48.584353,41.808869],[47.987283,41.405819],[47.815666,41.151416],[47.373315,41.219732],[46.686071,41.827137],[46.404951,41.860675],[45.7764,42.09244],[45.470279,42.502781],[44.537623,42.711993],[43.93121,42.55496],[43.75599,42.74083],[42.3944,43.2203],[40.92219,43.38215],[40.076965,43.553104],[39.955009,43.434998],[38.68,44.28],[37.53912,44.65721],[36.67546,45.24469],[37.40317,45.40451],[38.23295,46.24087],[37.67372,46.63657],[39.14767,47.04475],[39.1212,47.26336],[38.223538,47.10219],[38.255112,47.5464],[38.77057,47.82562],[39.738278,47.898937],[39.89562,48.23241],[39.67465,48.78382],[40.080789,49.30743],[40.06904,49.60105],[38.594988,49.926462],[38.010631,49.915662],[37.39346,50.383953],[36.626168,50.225591],[35.356116,50.577197],[35.37791,50.77394],[35.022183,51.207572],[34.224816,51.255993],[34.141978,51.566413],[34.391731,51.768882],[33.7527,52.335075],[32.715761,52.238465],[32.412058,52.288695],[32.15944,52.06125],[31.785992,52.101678],[31.78597,52.10168],[31.540018,52.742052],[31.305201,53.073996],[31.49764,53.16743],[32.304519,53.132726],[32.693643,53.351421],[32.405599,53.618045],[31.731273,53.794029],[31.791424,53.974639],[31.384472,54.157056],[30.757534,54.811771],[30.971836,55.081548],[30.873909,55.550976],[29.896294,55.789463],[29.371572,55.670091],[29.229513,55.918344],[28.176709,56.16913],[27.855282,56.759326],[27.770016,57.244258],[27.288185,57.474528],[27.716686,57.791899],[27.42015,58.72457],[28.131699,59.300825],[27.98112,59.47537],[27.981127,59.475373],[29.1177,60.02805],[28.070002,60.503519],[28.07,60.50352],[30.211107,61.780028],[31.139991,62.357693],[31.516092,62.867687],[30.035872,63.552814],[30.444685,64.204453],[29.54443,64.948672],[30.21765,65.80598],[29.054589,66.944286],[29.977426,67.698297],[28.445944,68.364613],[28.59193,69.064777],[29.39955,69.15692],[31.101042,69.558101],[31.10108,69.55811],[32.13272,69.90595],[33.77547,69.30142],[36.51396,69.06342],[40.29234,67.9324],[41.05987,67.45713],[41.12595,66.79158],[40.01583,66.26618],[38.38295,65.99953],[33.91871,66.75961],[33.18444,66.63253],[34.81477,65.90015],[34.878574,65.436213],[34.94391,64.41437],[36.23129,64.10945],[37.01273,63.84983],[37.14197,64.33471],[36.539579,64.76446],[37.17604,65.14322],[39.59345,64.52079],[40.4356,64.76446],[39.7626,65.49682],[42.09309,66.47623],[43.01604,66.41858],[43.94975,66.06908],[44.53226,66.75634],[43.69839,67.35245],[44.18795,67.95051],[43.45282,68.57079],[46.25,68.25],[46.82134,67.68997],[45.55517,67.56652],[45.56202,67.01005],[46.34915,66.66767],[47.89416,66.88455],[48.13876,67.52238],[50.22766,67.99867],[53.71743,68.85738],[54.47171,68.80815],[53.48582,68.20131],[54.72628,68.09702],[55.44268,68.43866],[57.31702,68.46628],[58.802,68.88082],[59.94142,68.27844],[61.07784,68.94069],[60.03,69.52],[60.55,69.85],[63.504,69.54739],[64.888115,69.234835],[68.51216,68.09233],[69.18068,68.61563],[68.16444,69.14436],[68.13522,69.35649],[66.93008,69.45461],[67.25976,69.92873],[66.72492,70.70889],[66.69466,71.02897],[68.54006,71.9345],[69.19636,72.84336],[69.94,73.04],[72.58754,72.77629],[72.79603,72.22006],[71.84811,71.40898],[72.47011,71.09019],[72.79188,70.39114],[72.5647,69.02085],[73.66787,68.4079],[73.2387,67.7404],[71.28,66.32],[72.42301,66.17267],[72.82077,66.53267],[73.92099,66.78946],[74.18651,67.28429],[75.052,67.76047],[74.46926,68.32899],[74.93584,68.98918],[73.84236,69.07146],[73.60187,69.62763],[74.3998,70.63175],[73.1011,71.44717],[74.89082,72.12119],[74.65926,72.83227],[75.15801,72.85497],[75.68351,72.30056],[75.28898,71.33556],[76.35911,71.15287],[75.90313,71.87401],[77.57665,72.26717],[79.65202,72.32011],[81.5,71.75],[80.61071,72.58285],[80.51109,73.6482],[82.25,73.85],[84.65526,73.80591],[86.8223,73.93688],[86.00956,74.45967],[87.16682,75.11643],[88.31571,75.14393],[90.26,75.64],[92.90058,75.77333],[93.23421,76.0472],[95.86,76.14],[96.67821,75.91548],[98.92254,76.44689],[100.75967,76.43028],[101.03532,76.86189],[101.99084,77.28754],[104.3516,77.69792],[106.06664,77.37389],[104.705,77.1274],[106.97013,76.97419],[107.24,76.48],[108.1538,76.72335],[111.07726,76.71],[113.33151,76.22224],[114.13417,75.84764],[113.88539,75.32779],[112.77918,75.03186],[110.15125,74.47673],[109.4,74.18],[110.64,74.04],[112.11919,73.78774],[113.01954,73.97693],[113.52958,73.33505],[113.96881,73.59488],[115.56782,73.75285],[118.77633,73.58772],[119.02,73.12],[123.20066,72.97122],[123.25777,73.73503],[125.38,73.56],[126.97644,73.56549],[128.59126,73.03871],[129.05157,72.39872],[128.46,71.98],[129.71599,71.19304],[131.28858,70.78699],[132.2535,71.8363],[133.85766,71.38642],[135.56193,71.65525],[137.49755,71.34763],[138.23409,71.62803],[139.86983,71.48783],[139.14791,72.41619],[140.46817,72.84941],[149.5,72.2],[150.35118,71.60643],[152.9689,70.84222],[157.00688,71.03141],[158.99779,70.86672],[159.83031,70.45324],[159.70866,69.72198],[160.94053,69.43728],[162.27907,69.64204],[164.05248,69.66823],[165.94037,69.47199],[167.83567,69.58269],[169.57763,68.6938],[170.81688,69.01363],[170.0082,69.65276],[170.45345,70.09703],[173.64391,69.81743],[175.72403,69.87725],[178.6,69.4],[180,68.963636],[180,64.979709],[179.99281,64.97433],[178.7072,64.53493],[177.41128,64.60821],[178.313,64.07593],[178.90825,63.25197],[179.37034,62.98262],[179.48636,62.56894],[179.22825,62.3041],[177.3643,62.5219],[174.56929,61.76915],[173.68013,61.65261],[172.15,60.95],[170.6985,60.33618],[170.33085,59.88177],[168.90046,60.57355],[166.29498,59.78855],[165.84,60.16],[164.87674,59.7316],[163.53929,59.86871],[163.21711,59.21101],[162.01733,58.24328],[162.05297,57.83912],[163.19191,57.61503],[163.05794,56.15924],[162.12958,56.12219],[161.70146,55.28568],[162.11749,54.85514],[160.36877,54.34433],[160.02173,53.20257],[158.53094,52.95868],[158.23118,51.94269],[156.78979,51.01105],[156.42,51.7],[155.99182,53.15895],[155.43366,55.38103],[155.91442,56.76792],[156.75815,57.3647],[156.81035,57.83204],[158.36433,58.05575],[160.15064,59.31477],[161.87204,60.343],[163.66969,61.1409],[164.47355,62.55061],[163.25842,62.46627],[162.65791,61.6425],[160.12148,60.54423],[159.30232,61.77396],[156.72068,61.43442],[154.21806,59.75818],[155.04375,59.14495],[152.81185,58.88385],[151.26573,58.78089],[151.33815,59.50396],[149.78371,59.65573],[148.54481,59.16448],[145.48722,59.33637],[142.19782,59.03998],[138.95848,57.08805],[135.12619,54.72959],[136.70171,54.60355],[137.19342,53.97732],[138.1647,53.75501],[138.80463,54.25455],[139.90151,54.18968],[141.34531,53.08957],[141.37923,52.23877],[140.59742,51.23967],[140.51308,50.04553],[140.06193,48.44671],[138.55472,46.99965],[138.21971,46.30795],[136.86232,45.1435],[135.51535,43.989],[134.86939,43.39821],[133.53687,42.81147],[132.90627,42.79849],[132.27807,43.28456],[130.93587,42.55274],[130.780005,42.22001],[130.780004,42.220008],[130.78,42.22],[130.779992,42.22001],[130.64,42.395],[130.64,42.395024],[130.633866,42.903015],[131.144688,42.92999],[131.288555,44.11152],[131.02519,44.96796],[131.883454,45.321162],[133.09712,45.14409],[133.769644,46.116927],[134.11235,47.21248],[134.50081,47.57845],[135.026311,48.47823],[133.373596,48.183442],[132.50669,47.78896],[130.98726,47.79013],[130.582293,48.729687],[129.397818,49.4406],[127.6574,49.76027],[127.287456,50.739797],[126.939157,51.353894],[126.564399,51.784255],[125.946349,52.792799],[125.068211,53.161045],[123.57147,53.4588],[122.245748,53.431726],[121.003085,53.251401],[120.177089,52.753886],[120.725789,52.516226],[120.7382,51.96411],[120.18208,51.64355],[119.27939,50.58292],[119.288461,50.142883],[117.879244,49.510983],[116.678801,49.888531],[115.485695,49.805177],[114.96211,50.140247],[114.362456,50.248303],[112.89774,49.543565],[111.581231,49.377968],[110.662011,49.130128],[109.402449,49.292961],[108.475167,49.282548],[107.868176,49.793705],[106.888804,50.274296],[105.886591,50.406019],[104.62158,50.27532],[103.676545,50.089966],[102.25589,50.51056],[102.06521,51.25991],[100.88948,51.516856],[99.981732,51.634006],[98.861491,52.047366],[97.82574,51.010995],[98.231762,50.422401],[97.25976,49.72605],[95.81402,49.97746],[94.815949,50.013433],[94.147566,50.480537],[93.10421,50.49529],[92.234712,50.802171],[90.713667,50.331812],[88.805567,49.470521],[87.751264,49.297198],[87.35997,49.214981],[86.829357,49.826675],[85.54127,49.692859],[85.11556,50.117303],[84.416377,50.3114],[83.935115,50.889246],[83.383004,51.069183],[81.945986,50.812196],[80.568447,51.388336],[80.03556,50.864751],[77.800916,53.404415],[76.525179,54.177003],[76.8911,54.490524],[74.38482,53.54685],[73.425679,53.48981],[73.508516,54.035617],[72.22415,54.376655],[71.180131,54.133285],[70.865267,55.169734],[69.068167,55.38525],[68.1691,54.970392],[65.66687,54.60125],[65.178534,54.354228],[61.4366,54.00625],[60.978066,53.664993],[61.699986,52.979996],[60.739993,52.719986],[60.927269,52.447548],[59.967534,51.96042],[61.588003,51.272659],[61.337424,50.79907],[59.932807,50.842194],[59.642282,50.545442],[58.36332,51.06364],[56.77798,51.04355],[55.71694,50.62171],[54.532878,51.02624],[52.328724,51.718652],[50.766648,51.692762],[48.702382,50.605128],[48.577841,49.87476],[47.54948,50.454698],[46.751596,49.356006],[47.043672,49.152039],[46.466446,48.394152],[47.31524,47.71585],[48.05725,47.74377],[48.694734,47.075628],[48.59325,46.56104],[49.10116,46.39933]]],[[[93.77766,81.0246],[95.940895,81.2504],[97.88385,80.746975],[100.186655,79.780135],[99.93976,78.88094],[97.75794,78.7562],[94.97259,79.044745],[93.31288,79.4265],[92.5454,80.14379],[91.18107,80.34146],[93.77766,81.0246]]],[[[102.837815,79.28129],[105.37243,78.71334],[105.07547,78.30689],[99.43814,77.921],[101.2649,79.23399],[102.08635,79.34641],[102.837815,79.28129]]],[[[138.831075,76.13676],[141.471615,76.09289],[145.086285,75.562625],[144.3,74.82],[140.61381,74.84768],[138.95544,74.61148],[136.97439,75.26167],[137.51176,75.94917],[138.831075,76.13676]]],[[[148.22223,75.345845],[150.73167,75.08406],[149.575925,74.68892],[147.977465,74.778355],[146.11919,75.17298],[146.358485,75.49682],[148.22223,75.345845]]],[[[139.86312,73.36983],[140.81171,73.76506],[142.06207,73.85758],[143.48283,73.47525],[143.60385,73.21244],[142.08763,73.20544],[140.038155,73.31692],[139.86312,73.36983]]],[[[44.846958,80.58981],[46.799139,80.771918],[48.318477,80.78401],[48.522806,80.514569],[49.09719,80.753986],[50.039768,80.918885],[51.522933,80.699726],[51.136187,80.54728],[49.793685,80.415428],[48.894411,80.339567],[48.754937,80.175468],[47.586119,80.010181],[46.502826,80.247247],[47.072455,80.559424],[44.846958,80.58981]]],[[[22.731099,54.327537],[20.892245,54.312525],[19.66064,54.426084],[19.888481,54.86616],[21.268449,55.190482],[22.315724,55.015299],[22.757764,54.856574],[22.651052,54.582741],[22.731099,54.327537]]],[[[53.50829,73.749814],[55.902459,74.627486],[55.631933,75.081412],[57.868644,75.60939],[61.170044,76.251883],[64.498368,76.439055],[66.210977,76.809782],[68.15706,76.939697],[68.852211,76.544811],[68.180573,76.233642],[64.637326,75.737755],[61.583508,75.260885],[58.477082,74.309056],[56.986786,73.333044],[55.419336,72.371268],[55.622838,71.540595],[57.535693,70.720464],[56.944979,70.632743],[53.677375,70.762658],[53.412017,71.206662],[51.601895,71.474759],[51.455754,72.014881],[52.478275,72.229442],[52.444169,72.774731],[54.427614,73.627548],[53.50829,73.749814]]],[[[142.914616,53.704578],[143.260848,52.74076],[143.235268,51.75666],[143.648007,50.7476],[144.654148,48.976391],[143.173928,49.306551],[142.558668,47.861575],[143.533492,46.836728],[143.505277,46.137908],[142.747701,46.740765],[142.09203,45.966755],[141.906925,46.805929],[142.018443,47.780133],[141.904445,48.859189],[142.1358,49.615163],[142.179983,50.952342],[141.594076,51.935435],[141.682546,53.301966],[142.606934,53.762145],[142.209749,54.225476],[142.654786,54.365881],[142.914616,53.704578]]],[[[-174.92825,67.20589],[-175.01425,66.58435],[-174.33983,66.33556],[-174.57182,67.06219],[-171.85731,66.91308],[-169.89958,65.97724],[-170.89107,65.54139],[-172.53025,65.43791],[-172.555,64.46079],[-172.95533,64.25269],[-173.89184,64.2826],[-174.65392,64.63125],[-175.98353,64.92288],[-176.20716,65.35667],[-177.22266,65.52024],[-178.35993,65.39052],[-178.90332,65.74044],[-178.68611,66.11211],[-179.88377,65.87456],[-179.43268,65.40411],[-180,64.979709],[-180,68.963636],[-177.55,68.2],[-174.92825,67.20589]]],[[[-178.69378,70.89302],[-180,70.832199],[-180,71.515714],[-179.871875,71.55762],[-179.02433,71.55553],[-177.577945,71.26948],[-177.663575,71.13277],[-178.69378,70.89302]]],[[[33.435988,45.971917],[33.699462,46.219573],[34.410402,46.005162],[34.732017,45.965666],[34.861792,45.768182],[35.012659,45.737725],[35.020788,45.651219],[35.510009,45.409993],[36.529998,45.46999],[36.334713,45.113216],[35.239999,44.939996],[33.882511,44.361479],[33.326421,44.564877],[33.546924,45.034771],[32.454174,45.327466],[32.630804,45.519186],[33.588162,45.851569],[33.435988,45.971917]]]]}},{type:`Feature`,properties:{code:`BS`,name:`The Bahamas`},geometry:{type:`MultiPolygon`,coordinates:[[[[-78.98,26.79],[-78.51,26.87],[-77.85,26.84],[-77.82,26.58],[-78.91,26.42],[-78.98,26.79]]],[[[-77.79,27.04],[-77,26.59],[-77.17255,25.87918],[-77.35641,26.00735],[-77.34,26.53],[-77.78802,26.92516],[-77.79,27.04]]],[[[-78.19087,25.2103],[-77.89,25.17],[-77.54,24.34],[-77.53466,23.75975],[-77.78,23.71],[-78.03405,24.28615],[-78.40848,24.57564],[-78.19087,25.2103]]]]}},{type:`Feature`,properties:{code:`FK`,name:`Falkland Islands`},geometry:{type:`Polygon`,coordinates:[[[-61.2,-51.85],[-60,-51.25],[-59.15,-51.5],[-58.55,-51.1],[-57.75,-51.55],[-58.05,-51.9],[-59.4,-52.2],[-59.85,-51.85],[-60.7,-52.3],[-61.2,-51.85]]]}},{type:`Feature`,properties:{code:`NO`,name:`Norway`},geometry:{type:`MultiPolygon`,coordinates:[[[[15.14282,79.67431],[15.52255,80.01608],[16.99085,80.05086],[18.25183,79.70175],[21.54383,78.95611],[19.02737,78.5626],[18.47172,77.82669],[17.59441,77.63796],[17.1182,76.80941],[15.91315,76.77045],[13.76259,77.38035],[14.66956,77.73565],[13.1706,78.02493],[11.22231,78.8693],[10.44453,79.65239],[13.17077,80.01046],[13.71852,79.66039],[15.14282,79.67431]]],[[[31.101042,69.558101],[29.39955,69.15692],[28.59193,69.064777],[29.015573,69.766491],[27.732292,70.164193],[26.179622,69.825299],[25.689213,69.092114],[24.735679,68.649557],[23.66205,68.891247],[22.356238,68.841741],[21.244936,69.370443],[20.645593,69.106247],[20.025269,69.065139],[19.87856,68.407194],[17.993868,68.567391],[17.729182,68.010552],[16.768879,68.013937],[16.108712,67.302456],[15.108411,66.193867],[13.55569,64.787028],[13.919905,64.445421],[13.571916,64.049114],[12.579935,64.066219],[11.930569,63.128318],[11.992064,61.800362],[12.631147,61.293572],[12.300366,60.117933],[11.468272,59.432393],[11.027369,58.856149],[10.356557,59.469807],[8.382,58.313288],[7.048748,58.078884],[5.665835,58.588155],[5.308234,59.663232],[4.992078,61.970998],[5.9129,62.614473],[8.553411,63.454008],[10.527709,64.486038],[12.358347,65.879726],[14.761146,67.810642],[16.435927,68.563205],[19.184028,69.817444],[21.378416,70.255169],[23.023742,70.202072],[24.546543,71.030497],[26.37005,70.986262],[28.165547,71.185474],[31.293418,70.453788],[30.005435,70.186259],[31.101042,69.558101]]],[[[27.407506,80.056406],[25.924651,79.517834],[23.024466,79.400012],[20.075188,79.566823],[19.897266,79.842362],[18.462264,79.85988],[17.368015,80.318896],[20.455992,80.598156],[21.907945,80.357679],[22.919253,80.657144],[25.447625,80.40734],[27.407506,80.056406]]],[[[24.72412,77.85385],[22.49032,77.44493],[20.72601,77.67704],[21.41611,77.93504],[20.8119,78.25463],[22.88426,78.45494],[23.28134,78.07954],[24.72412,77.85385]]]]}},{type:`Feature`,properties:{code:`GL`,name:`Greenland`},geometry:{type:`Polygon`,coordinates:[[[-46.76379,82.62796],[-43.40644,83.22516],[-39.89753,83.18018],[-38.62214,83.54905],[-35.08787,83.64513],[-27.10046,83.51966],[-20.84539,82.72669],[-22.69182,82.34165],[-26.51753,82.29765],[-31.9,82.2],[-31.39646,82.02154],[-27.85666,82.13178],[-24.84448,81.78697],[-22.90328,82.09317],[-22.07175,81.73449],[-23.16961,81.15271],[-20.62363,81.52462],[-15.76818,81.91245],[-12.77018,81.71885],[-12.20855,81.29154],[-16.28533,80.58004],[-16.85,80.35],[-20.04624,80.17708],[-17.73035,80.12912],[-18.9,79.4],[-19.70499,78.75128],[-19.67353,77.63859],[-18.47285,76.98565],[-20.03503,76.94434],[-21.67944,76.62795],[-19.83407,76.09808],[-19.59896,75.24838],[-20.66818,75.15585],[-19.37281,74.29561],[-21.59422,74.22382],[-20.43454,73.81713],[-20.76234,73.46436],[-22.17221,73.30955],[-23.56593,73.30663],[-22.31311,72.62928],[-22.29954,72.18409],[-24.27834,72.59788],[-24.79296,72.3302],[-23.44296,72.08016],[-22.13281,71.46898],[-21.75356,70.66369],[-23.53603,70.471],[-24.30702,70.85649],[-25.54341,71.43094],[-25.20135,70.75226],[-26.36276,70.22646],[-23.72742,70.18401],[-22.34902,70.12946],[-25.02927,69.2588],[-27.74737,68.47046],[-30.67371,68.12503],[-31.77665,68.12078],[-32.81105,67.73547],[-34.20196,66.67974],[-36.35284,65.9789],[-37.04378,65.93768],[-38.37505,65.69213],[-39.81222,65.45848],[-40.66899,64.83997],[-40.68281,64.13902],[-41.1887,63.48246],[-42.81938,62.68233],[-42.41666,61.90093],[-42.86619,61.07404],[-43.3784,60.09772],[-44.7875,60.03676],[-46.26364,60.85328],[-48.26294,60.85843],[-49.23308,61.40681],[-49.90039,62.38336],[-51.63325,63.62691],[-52.14014,64.27842],[-52.27659,65.1767],[-53.66166,66.09957],[-53.30161,66.8365],[-53.96911,67.18899],[-52.9804,68.35759],[-51.47536,68.72958],[-51.08041,69.14781],[-50.87122,69.9291],[-52.013585,69.574925],[-52.55792,69.42616],[-53.45629,69.283625],[-54.68336,69.61003],[-54.75001,70.28932],[-54.35884,70.821315],[-53.431315,70.835755],[-51.39014,70.56978],[-53.10937,71.20485],[-54.00422,71.54719],[-55,71.406537],[-55.83468,71.65444],[-54.71819,72.58625],[-55.32634,72.95861],[-56.12003,73.64977],[-57.32363,74.71026],[-58.59679,75.09861],[-58.58516,75.51727],[-61.26861,76.10238],[-63.39165,76.1752],[-66.06427,76.13486],[-68.50438,76.06141],[-69.66485,76.37975],[-71.40257,77.00857],[-68.77671,77.32312],[-66.76397,77.37595],[-71.04293,77.63595],[-73.297,78.04419],[-73.15938,78.43271],[-69.37345,78.91388],[-65.7107,79.39436],[-65.3239,79.75814],[-68.02298,80.11721],[-67.15129,80.51582],[-63.68925,81.21396],[-62.23444,81.3211],[-62.65116,81.77042],[-60.28249,82.03363],[-57.20744,82.19074],[-54.13442,82.19962],[-53.04328,81.88833],[-50.39061,82.43883],[-48.00386,82.06481],[-46.59984,81.985945],[-44.523,81.6607],[-46.9007,82.19979],[-46.76379,82.62796]]]}},{type:`Feature`,properties:{code:`TF`,name:`French Southern and Antarctic Lands`},geometry:{type:`Polygon`,coordinates:[[[68.935,-48.625],[69.58,-48.94],[70.525,-49.065],[70.56,-49.255],[70.28,-49.71],[68.745,-49.775],[68.72,-49.2425],[68.8675,-48.83],[68.935,-48.625]]]}},{type:`Feature`,properties:{code:`TL`,name:`East Timor`},geometry:{type:`Polygon`,coordinates:[[[124.968682,-8.89279],[125.086246,-8.656887],[125.947072,-8.432095],[126.644704,-8.398247],[126.957243,-8.273345],[127.335928,-8.397317],[126.967992,-8.668256],[125.925885,-9.106007],[125.08852,-9.393173],[125.07002,-9.089987],[124.968682,-8.89279]]]}},{type:`Feature`,properties:{code:`ZA`,name:`South Africa`},geometry:{type:`Polygon`,coordinates:[[[16.344977,-28.576705],[16.824017,-28.082162],[17.218929,-28.355943],[17.387497,-28.783514],[17.836152,-28.856378],[18.464899,-29.045462],[19.002127,-28.972443],[19.894734,-28.461105],[19.895768,-24.76779],[20.165726,-24.917962],[20.758609,-25.868136],[20.66647,-26.477453],[20.889609,-26.828543],[21.605896,-26.726534],[22.105969,-26.280256],[22.579532,-25.979448],[22.824271,-25.500459],[23.312097,-25.26869],[23.73357,-25.390129],[24.211267,-25.670216],[25.025171,-25.71967],[25.664666,-25.486816],[25.765849,-25.174845],[25.941652,-24.696373],[26.485753,-24.616327],[26.786407,-24.240691],[27.11941,-23.574323],[28.017236,-22.827754],[29.432188,-22.091313],[29.839037,-22.102216],[30.322883,-22.271612],[30.659865,-22.151567],[31.191409,-22.25151],[31.670398,-23.658969],[31.930589,-24.369417],[31.752408,-25.484284],[31.837778,-25.843332],[31.333158,-25.660191],[31.04408,-25.731452],[30.949667,-26.022649],[30.676609,-26.398078],[30.685962,-26.743845],[31.282773,-27.285879],[31.86806,-27.177927],[32.071665,-26.73382],[32.83012,-26.742192],[32.580265,-27.470158],[32.462133,-28.301011],[32.203389,-28.752405],[31.521001,-29.257387],[31.325561,-29.401978],[30.901763,-29.909957],[30.622813,-30.423776],[30.055716,-31.140269],[28.925553,-32.172041],[28.219756,-32.771953],[27.464608,-33.226964],[26.419452,-33.61495],[25.909664,-33.66704],[25.780628,-33.944646],[25.172862,-33.796851],[24.677853,-33.987176],[23.594043,-33.794474],[22.988189,-33.916431],[22.574157,-33.864083],[21.542799,-34.258839],[20.689053,-34.417175],[20.071261,-34.795137],[19.616405,-34.819166],[19.193278,-34.462599],[18.855315,-34.444306],[18.424643,-33.997873],[18.377411,-34.136521],[18.244499,-33.867752],[18.25008,-33.281431],[17.92519,-32.611291],[18.24791,-32.429131],[18.221762,-31.661633],[17.566918,-30.725721],[17.064416,-29.878641],[17.062918,-29.875954],[16.344977,-28.576705]],[[28.978263,-28.955597],[28.5417,-28.647502],[28.074338,-28.851469],[27.532511,-29.242711],[26.999262,-29.875954],[27.749397,-30.645106],[28.107205,-30.545732],[28.291069,-30.226217],[28.8484,-30.070051],[29.018415,-29.743766],[29.325166,-29.257387],[28.978263,-28.955597]]]}},{type:`Feature`,properties:{code:`LS`,name:`Lesotho`},geometry:{type:`Polygon`,coordinates:[[[28.978263,-28.955597],[29.325166,-29.257387],[29.018415,-29.743766],[28.8484,-30.070051],[28.291069,-30.226217],[28.107205,-30.545732],[27.749397,-30.645106],[26.999262,-29.875954],[27.532511,-29.242711],[28.074338,-28.851469],[28.5417,-28.647502],[28.978263,-28.955597]]]}},{type:`Feature`,properties:{code:`MX`,name:`Mexico`},geometry:{type:`Polygon`,coordinates:[[[-117.12776,32.53534],[-115.99135,32.61239],[-114.72139,32.72083],[-114.815,32.52528],[-113.30498,32.03914],[-111.02361,31.33472],[-109.035,31.34194],[-108.24194,31.34222],[-108.24,31.754854],[-106.50759,31.75452],[-106.1429,31.39995],[-105.63159,31.08383],[-105.03737,30.64402],[-104.70575,30.12173],[-104.45697,29.57196],[-103.94,29.27],[-103.11,28.97],[-102.48,29.76],[-101.6624,29.7793],[-100.9576,29.38071],[-100.45584,28.69612],[-100.11,28.11],[-99.52,27.54],[-99.3,26.84],[-99.02,26.37],[-98.24,26.06],[-97.53,25.84],[-97.140008,25.869997],[-97.528072,24.992144],[-97.702946,24.272343],[-97.776042,22.93258],[-97.872367,22.444212],[-97.699044,21.898689],[-97.38896,21.411019],[-97.189333,20.635433],[-96.525576,19.890931],[-96.292127,19.320371],[-95.900885,18.828024],[-94.839063,18.562717],[-94.42573,18.144371],[-93.548651,18.423837],[-92.786114,18.524839],[-92.037348,18.704569],[-91.407903,18.876083],[-90.77187,19.28412],[-90.53359,19.867418],[-90.451476,20.707522],[-90.278618,20.999855],[-89.601321,21.261726],[-88.543866,21.493675],[-87.658417,21.458846],[-87.05189,21.543543],[-86.811982,21.331515],[-86.845908,20.849865],[-87.383291,20.255405],[-87.621054,19.646553],[-87.43675,19.472403],[-87.58656,19.04013],[-87.837191,18.259816],[-88.090664,18.516648],[-88.300031,18.499982],[-88.490123,18.486831],[-88.848344,17.883198],[-89.029857,18.001511],[-89.150909,17.955468],[-89.14308,17.808319],[-90.067934,17.819326],[-91.00152,17.817595],[-91.002269,17.254658],[-91.453921,17.252177],[-91.08167,16.918477],[-90.711822,16.687483],[-90.600847,16.470778],[-90.438867,16.41011],[-90.464473,16.069562],[-91.74796,16.066565],[-92.229249,15.251447],[-92.087216,15.064585],[-92.20323,14.830103],[-92.22775,14.538829],[-93.359464,15.61543],[-93.875169,15.940164],[-94.691656,16.200975],[-95.250227,16.128318],[-96.053382,15.752088],[-96.557434,15.653515],[-97.263592,15.917065],[-98.01303,16.107312],[-98.947676,16.566043],[-99.697397,16.706164],[-100.829499,17.171071],[-101.666089,17.649026],[-101.918528,17.91609],[-102.478132,17.975751],[-103.50099,18.292295],[-103.917527,18.748572],[-104.99201,19.316134],[-105.493038,19.946767],[-105.731396,20.434102],[-105.397773,20.531719],[-105.500661,20.816895],[-105.270752,21.076285],[-105.265817,21.422104],[-105.603161,21.871146],[-105.693414,22.26908],[-106.028716,22.773752],[-106.90998,23.767774],[-107.915449,24.548915],[-108.401905,25.172314],[-109.260199,25.580609],[-109.444089,25.824884],[-109.291644,26.442934],[-109.801458,26.676176],[-110.391732,27.162115],[-110.641019,27.859876],[-111.178919,27.941241],[-111.759607,28.467953],[-112.228235,28.954409],[-112.271824,29.266844],[-112.809594,30.021114],[-113.163811,30.786881],[-113.148669,31.170966],[-113.871881,31.567608],[-114.205737,31.524045],[-114.776451,31.799532],[-114.9367,31.393485],[-114.771232,30.913617],[-114.673899,30.162681],[-114.330974,29.750432],[-113.588875,29.061611],[-113.424053,28.826174],[-113.271969,28.754783],[-113.140039,28.411289],[-112.962298,28.42519],[-112.761587,27.780217],[-112.457911,27.525814],[-112.244952,27.171727],[-111.616489,26.662817],[-111.284675,25.73259],[-110.987819,25.294606],[-110.710007,24.826004],[-110.655049,24.298595],[-110.172856,24.265548],[-109.771847,23.811183],[-109.409104,23.364672],[-109.433392,23.185588],[-109.854219,22.818272],[-110.031392,22.823078],[-110.295071,23.430973],[-110.949501,24.000964],[-111.670568,24.484423],[-112.182036,24.738413],[-112.148989,25.470125],[-112.300711,26.012004],[-112.777297,26.32196],[-113.464671,26.768186],[-113.59673,26.63946],[-113.848937,26.900064],[-114.465747,27.14209],[-115.055142,27.722727],[-114.982253,27.7982],[-114.570366,27.741485],[-114.199329,28.115003],[-114.162018,28.566112],[-114.931842,29.279479],[-115.518654,29.556362],[-115.887365,30.180794],[-116.25835,30.836464],[-116.721526,31.635744],[-117.12776,32.53534]]]}},{type:`Feature`,properties:{code:`UY`,name:`Uruguay`},geometry:{type:`Polygon`,coordinates:[[[-57.625133,-30.216295],[-56.976026,-30.109686],[-55.973245,-30.883076],[-55.60151,-30.853879],[-54.572452,-31.494511],[-53.787952,-32.047243],[-53.209589,-32.727666],[-53.650544,-33.202004],[-53.373662,-33.768378],[-53.806426,-34.396815],[-54.935866,-34.952647],[-55.67409,-34.752659],[-56.215297,-34.859836],[-57.139685,-34.430456],[-57.817861,-34.462547],[-58.427074,-33.909454],[-58.349611,-33.263189],[-58.132648,-33.040567],[-58.14244,-32.044504],[-57.874937,-31.016556],[-57.625133,-30.216295]]]}},{type:`Feature`,properties:{code:`BR`,name:`Brazil`},geometry:{type:`Polygon`,coordinates:[[[-53.373662,-33.768378],[-53.650544,-33.202004],[-53.209589,-32.727666],[-53.787952,-32.047243],[-54.572452,-31.494511],[-55.60151,-30.853879],[-55.973245,-30.883076],[-56.976026,-30.109686],[-57.625133,-30.216295],[-56.2909,-28.852761],[-55.162286,-27.881915],[-54.490725,-27.474757],[-53.648735,-26.923473],[-53.628349,-26.124865],[-54.13005,-25.547639],[-54.625291,-25.739255],[-54.428946,-25.162185],[-54.293476,-24.5708],[-54.29296,-24.021014],[-54.652834,-23.839578],[-55.027902,-24.001274],[-55.400747,-23.956935],[-55.517639,-23.571998],[-55.610683,-22.655619],[-55.797958,-22.35693],[-56.473317,-22.0863],[-56.88151,-22.282154],[-57.937156,-22.090176],[-57.870674,-20.732688],[-58.166392,-20.176701],[-57.853802,-19.969995],[-57.949997,-19.400004],[-57.676009,-18.96184],[-57.498371,-18.174188],[-57.734558,-17.552468],[-58.280804,-17.27171],[-58.388058,-16.877109],[-58.24122,-16.299573],[-60.15839,-16.258284],[-60.542966,-15.09391],[-60.251149,-15.077219],[-60.264326,-14.645979],[-60.459198,-14.354007],[-60.503304,-13.775955],[-61.084121,-13.479384],[-61.713204,-13.489202],[-62.127081,-13.198781],[-62.80306,-13.000653],[-63.196499,-12.627033],[-64.316353,-12.461978],[-65.402281,-11.56627],[-65.321899,-10.895872],[-65.444837,-10.511451],[-65.338435,-9.761988],[-66.646908,-9.931331],[-67.173801,-10.306812],[-68.048192,-10.712059],[-68.271254,-11.014521],[-68.786158,-11.03638],[-69.529678,-10.951734],[-70.093752,-11.123972],[-70.548686,-11.009147],[-70.481894,-9.490118],[-71.302412,-10.079436],[-72.184891,-10.053598],[-72.563033,-9.520194],[-73.226713,-9.462213],[-73.015383,-9.032833],[-73.571059,-8.424447],[-73.987235,-7.52383],[-73.723401,-7.340999],[-73.724487,-6.918595],[-73.120027,-6.629931],[-73.219711,-6.089189],[-72.964507,-5.741251],[-72.891928,-5.274561],[-71.748406,-4.593983],[-70.928843,-4.401591],[-70.794769,-4.251265],[-69.893635,-4.298187],[-69.444102,-1.556287],[-69.420486,-1.122619],[-69.577065,-.549992],[-70.020656,-.185156],[-70.015566,.541414],[-69.452396,.706159],[-69.252434,.602651],[-69.218638,.985677],[-69.804597,1.089081],[-69.816973,1.714805],[-67.868565,1.692455],[-67.53781,2.037163],[-67.259998,1.719999],[-67.065048,1.130112],[-66.876326,1.253361],[-66.325765,.724452],[-65.548267,.789254],[-65.354713,1.095282],[-64.611012,1.328731],[-64.199306,1.492855],[-64.083085,1.916369],[-63.368788,2.2009],[-63.422867,2.411068],[-64.269999,2.497006],[-64.408828,3.126786],[-64.368494,3.79721],[-64.816064,4.056445],[-64.628659,4.148481],[-63.888343,4.02053],[-63.093198,3.770571],[-62.804533,4.006965],[-62.08543,4.162124],[-60.966893,4.536468],[-60.601179,4.918098],[-60.733574,5.200277],[-60.213683,5.244486],[-59.980959,5.014061],[-60.111002,4.574967],[-59.767406,4.423503],[-59.53804,3.958803],[-59.815413,3.606499],[-59.974525,2.755233],[-59.718546,2.24963],[-59.646044,1.786894],[-59.030862,1.317698],[-58.540013,1.268088],[-58.429477,1.463942],[-58.11345,1.507195],[-57.660971,1.682585],[-57.335823,1.948538],[-56.782704,1.863711],[-56.539386,1.899523],[-55.995698,1.817667],[-55.9056,2.021996],[-56.073342,2.220795],[-55.973322,2.510364],[-55.569755,2.421506],[-55.097587,2.523748],[-54.524754,2.311849],[-54.088063,2.105557],[-53.778521,2.376703],[-53.554839,2.334897],[-53.418465,2.053389],[-52.939657,2.124858],[-52.556425,2.504705],[-52.249338,3.241094],[-51.657797,4.156232],[-51.317146,4.203491],[-51.069771,3.650398],[-50.508875,1.901564],[-49.974076,1.736483],[-49.947101,1.04619],[-50.699251,.222984],[-50.388211,-.078445],[-48.620567,-.235489],[-48.584497,-1.237805],[-47.824956,-.581618],[-46.566584,-.941028],[-44.905703,-1.55174],[-44.417619,-2.13775],[-44.581589,-2.691308],[-43.418791,-2.38311],[-41.472657,-2.912018],[-39.978665,-2.873054],[-38.500383,-3.700652],[-37.223252,-4.820946],[-36.452937,-5.109404],[-35.597796,-5.149504],[-35.235389,-5.464937],[-34.89603,-6.738193],[-34.729993,-7.343221],[-35.128212,-8.996401],[-35.636967,-9.649282],[-37.046519,-11.040721],[-37.683612,-12.171195],[-38.423877,-13.038119],[-38.673887,-13.057652],[-38.953276,-13.79337],[-38.882298,-15.667054],[-39.161092,-17.208407],[-39.267339,-17.867746],[-39.583521,-18.262296],[-39.760823,-19.599113],[-40.774741,-20.904512],[-40.944756,-21.937317],[-41.754164,-22.370676],[-41.988284,-22.97007],[-43.074704,-22.967693],[-44.647812,-23.351959],[-45.352136,-23.796842],[-46.472093,-24.088969],[-47.648972,-24.885199],[-48.495458,-25.877025],[-48.641005,-26.623698],[-48.474736,-27.175912],[-48.66152,-28.186135],[-48.888457,-28.674115],[-49.587329,-29.224469],[-50.696874,-30.984465],[-51.576226,-31.777698],[-52.256081,-32.24537],[-52.7121,-33.196578],[-53.373662,-33.768378]]]}},{type:`Feature`,properties:{code:`BO`,name:`Bolivia`},geometry:{type:`Polygon`,coordinates:[[[-69.529678,-10.951734],[-68.786158,-11.03638],[-68.271254,-11.014521],[-68.048192,-10.712059],[-67.173801,-10.306812],[-66.646908,-9.931331],[-65.338435,-9.761988],[-65.444837,-10.511451],[-65.321899,-10.895872],[-65.402281,-11.56627],[-64.316353,-12.461978],[-63.196499,-12.627033],[-62.80306,-13.000653],[-62.127081,-13.198781],[-61.713204,-13.489202],[-61.084121,-13.479384],[-60.503304,-13.775955],[-60.459198,-14.354007],[-60.264326,-14.645979],[-60.251149,-15.077219],[-60.542966,-15.09391],[-60.15839,-16.258284],[-58.24122,-16.299573],[-58.388058,-16.877109],[-58.280804,-17.27171],[-57.734558,-17.552468],[-57.498371,-18.174188],[-57.676009,-18.96184],[-57.949997,-19.400004],[-57.853802,-19.969995],[-58.166392,-20.176701],[-58.183471,-19.868399],[-59.115042,-19.356906],[-60.043565,-19.342747],[-61.786326,-19.633737],[-62.265961,-20.513735],[-62.291179,-21.051635],[-62.685057,-22.249029],[-62.846468,-22.034985],[-63.986838,-21.993644],[-64.377021,-22.798091],[-64.964892,-22.075862],[-66.273339,-21.83231],[-67.106674,-22.735925],[-67.82818,-22.872919],[-68.219913,-21.494347],[-68.757167,-20.372658],[-68.442225,-19.405068],[-68.966818,-18.981683],[-69.100247,-18.260125],[-69.590424,-17.580012],[-68.959635,-16.500698],[-69.389764,-15.660129],[-69.160347,-15.323974],[-69.339535,-14.953195],[-68.948887,-14.453639],[-68.929224,-13.602684],[-68.88008,-12.899729],[-68.66508,-12.5613],[-69.529678,-10.951734]]]}},{type:`Feature`,properties:{code:`PE`,name:`Peru`},geometry:{type:`Polygon`,coordinates:[[[-69.893635,-4.298187],[-70.794769,-4.251265],[-70.928843,-4.401591],[-71.748406,-4.593983],[-72.891928,-5.274561],[-72.964507,-5.741251],[-73.219711,-6.089189],[-73.120027,-6.629931],[-73.724487,-6.918595],[-73.723401,-7.340999],[-73.987235,-7.52383],[-73.571059,-8.424447],[-73.015383,-9.032833],[-73.226713,-9.462213],[-72.563033,-9.520194],[-72.184891,-10.053598],[-71.302412,-10.079436],[-70.481894,-9.490118],[-70.548686,-11.009147],[-70.093752,-11.123972],[-69.529678,-10.951734],[-68.66508,-12.5613],[-68.88008,-12.899729],[-68.929224,-13.602684],[-68.948887,-14.453639],[-69.339535,-14.953195],[-69.160347,-15.323974],[-69.389764,-15.660129],[-68.959635,-16.500698],[-69.590424,-17.580012],[-69.858444,-18.092694],[-70.372572,-18.347975],[-71.37525,-17.773799],[-71.462041,-17.363488],[-73.44453,-16.359363],[-75.237883,-15.265683],[-76.009205,-14.649286],[-76.423469,-13.823187],[-76.259242,-13.535039],[-77.106192,-12.222716],[-78.092153,-10.377712],[-79.036953,-8.386568],[-79.44592,-7.930833],[-79.760578,-7.194341],[-80.537482,-6.541668],[-81.249996,-6.136834],[-80.926347,-5.690557],[-81.410943,-4.736765],[-81.09967,-4.036394],[-80.302561,-3.404856],[-80.184015,-3.821162],[-80.469295,-4.059287],[-80.442242,-4.425724],[-80.028908,-4.346091],[-79.624979,-4.454198],[-79.205289,-4.959129],[-78.639897,-4.547784],[-78.450684,-3.873097],[-77.837905,-3.003021],[-76.635394,-2.608678],[-75.544996,-1.56161],[-75.233723,-.911417],[-75.373223,-.152032],[-75.106625,-.057205],[-74.441601,-.53082],[-74.122395,-1.002833],[-73.659504,-1.260491],[-73.070392,-2.308954],[-72.325787,-2.434218],[-71.774761,-2.16979],[-71.413646,-2.342802],[-70.813476,-2.256865],[-70.047709,-2.725156],[-70.692682,-3.742872],[-70.394044,-3.766591],[-69.893635,-4.298187]]]}},{type:`Feature`,properties:{code:`CO`,name:`Colombia`},geometry:{type:`Polygon`,coordinates:[[[-66.876326,1.253361],[-67.065048,1.130112],[-67.259998,1.719999],[-67.53781,2.037163],[-67.868565,1.692455],[-69.816973,1.714805],[-69.804597,1.089081],[-69.218638,.985677],[-69.252434,.602651],[-69.452396,.706159],[-70.015566,.541414],[-70.020656,-.185156],[-69.577065,-.549992],[-69.420486,-1.122619],[-69.444102,-1.556287],[-69.893635,-4.298187],[-70.394044,-3.766591],[-70.692682,-3.742872],[-70.047709,-2.725156],[-70.813476,-2.256865],[-71.413646,-2.342802],[-71.774761,-2.16979],[-72.325787,-2.434218],[-73.070392,-2.308954],[-73.659504,-1.260491],[-74.122395,-1.002833],[-74.441601,-.53082],[-75.106625,-.057205],[-75.373223,-.152032],[-75.801466,.084801],[-76.292314,.416047],[-76.57638,.256936],[-77.424984,.395687],[-77.668613,.825893],[-77.855061,.809925],[-78.855259,1.380924],[-78.990935,1.69137],[-78.617831,1.766404],[-78.662118,2.267355],[-78.42761,2.629556],[-77.931543,2.696606],[-77.510431,3.325017],[-77.12769,3.849636],[-77.496272,4.087606],[-77.307601,4.667984],[-77.533221,5.582812],[-77.318815,5.845354],[-77.476661,6.691116],[-77.881571,7.223771],[-77.753414,7.70984],[-77.431108,7.638061],[-77.242566,7.935278],[-77.474723,8.524286],[-77.353361,8.670505],[-76.836674,8.638749],[-76.086384,9.336821],[-75.6746,9.443248],[-75.664704,9.774003],[-75.480426,10.61899],[-74.906895,11.083045],[-74.276753,11.102036],[-74.197223,11.310473],[-73.414764,11.227015],[-72.627835,11.731972],[-72.238195,11.95555],[-71.75409,12.437303],[-71.399822,12.376041],[-71.137461,12.112982],[-71.331584,11.776284],[-71.973922,11.608672],[-72.227575,11.108702],[-72.614658,10.821975],[-72.905286,10.450344],[-73.027604,9.73677],[-73.304952,9.152],[-72.78873,9.085027],[-72.660495,8.625288],[-72.439862,8.405275],[-72.360901,8.002638],[-72.479679,7.632506],[-72.444487,7.423785],[-72.198352,7.340431],[-71.960176,6.991615],[-70.674234,7.087785],[-70.093313,6.960376],[-69.38948,6.099861],[-68.985319,6.206805],[-68.265052,6.153268],[-67.695087,6.267318],[-67.34144,6.095468],[-67.521532,5.55687],[-67.744697,5.221129],[-67.823012,4.503937],[-67.621836,3.839482],[-67.337564,3.542342],[-67.303173,3.318454],[-67.809938,2.820655],[-67.447092,2.600281],[-67.181294,2.250638],[-66.876326,1.253361]]]}},{type:`Feature`,properties:{code:`PA`,name:`Panama`},geometry:{type:`Polygon`,coordinates:[[[-77.353361,8.670505],[-77.474723,8.524286],[-77.242566,7.935278],[-77.431108,7.638061],[-77.753414,7.70984],[-77.881571,7.223771],[-78.214936,7.512255],[-78.429161,8.052041],[-78.182096,8.319182],[-78.435465,8.387705],[-78.622121,8.718124],[-79.120307,8.996092],[-79.557877,8.932375],[-79.760578,8.584515],[-80.164481,8.333316],[-80.382659,8.298409],[-80.480689,8.090308],[-80.00369,7.547524],[-80.276671,7.419754],[-80.421158,7.271572],[-80.886401,7.220541],[-81.059543,7.817921],[-81.189716,7.647906],[-81.519515,7.70661],[-81.721311,8.108963],[-82.131441,8.175393],[-82.390934,8.292362],[-82.820081,8.290864],[-82.850958,8.073823],[-82.965783,8.225028],[-82.913176,8.423517],[-82.829771,8.626295],[-82.868657,8.807266],[-82.719183,8.925709],[-82.927155,9.07433],[-82.932891,9.476812],[-82.546196,9.566135],[-82.187123,9.207449],[-82.207586,8.995575],[-81.808567,8.950617],[-81.714154,9.031955],[-81.439287,8.786234],[-80.947302,8.858504],[-80.521901,9.111072],[-79.9146,9.312765],[-79.573303,9.61161],[-79.021192,9.552931],[-79.05845,9.454565],[-78.500888,9.420459],[-78.055928,9.24773],[-77.729514,8.946844],[-77.353361,8.670505]]]}},{type:`Feature`,properties:{code:`CR`,name:`Costa Rica`},geometry:{type:`Polygon`,coordinates:[[[-82.546196,9.566135],[-82.932891,9.476812],[-82.927155,9.07433],[-82.719183,8.925709],[-82.868657,8.807266],[-82.829771,8.626295],[-82.913176,8.423517],[-82.965783,8.225028],[-83.508437,8.446927],[-83.711474,8.656836],[-83.596313,8.830443],[-83.632642,9.051386],[-83.909886,9.290803],[-84.303402,9.487354],[-84.647644,9.615537],[-84.713351,9.908052],[-84.97566,10.086723],[-84.911375,9.795992],[-85.110923,9.55704],[-85.339488,9.834542],[-85.660787,9.933347],[-85.797445,10.134886],[-85.791709,10.439337],[-85.659314,10.754331],[-85.941725,10.895278],[-85.71254,11.088445],[-85.561852,11.217119],[-84.903003,10.952303],[-84.673069,11.082657],[-84.355931,10.999226],[-84.190179,10.79345],[-83.895054,10.726839],[-83.655612,10.938764],[-83.40232,10.395438],[-83.015677,9.992982],[-82.546196,9.566135]]]}},{type:`Feature`,properties:{code:`NI`,name:`Nicaragua`},geometry:{type:`Polygon`,coordinates:[[[-83.655612,10.938764],[-83.895054,10.726839],[-84.190179,10.79345],[-84.355931,10.999226],[-84.673069,11.082657],[-84.903003,10.952303],[-85.561852,11.217119],[-85.71254,11.088445],[-86.058488,11.403439],[-86.52585,11.806877],[-86.745992,12.143962],[-87.167516,12.458258],[-87.668493,12.90991],[-87.557467,13.064552],[-87.392386,12.914018],[-87.316654,12.984686],[-87.005769,13.025794],[-86.880557,13.254204],[-86.733822,13.263093],[-86.755087,13.754845],[-86.520708,13.778487],[-86.312142,13.771356],[-86.096264,14.038187],[-85.801295,13.836055],[-85.698665,13.960078],[-85.514413,14.079012],[-85.165365,14.35437],[-85.148751,14.560197],[-85.052787,14.551541],[-84.924501,14.790493],[-84.820037,14.819587],[-84.649582,14.666805],[-84.449336,14.621614],[-84.228342,14.748764],[-83.975721,14.749436],[-83.628585,14.880074],[-83.489989,15.016267],[-83.147219,14.995829],[-83.233234,14.899866],[-83.284162,14.676624],[-83.182126,14.310703],[-83.4125,13.970078],[-83.519832,13.567699],[-83.552207,13.127054],[-83.498515,12.869292],[-83.473323,12.419087],[-83.626104,12.32085],[-83.719613,11.893124],[-83.650858,11.629032],[-83.85547,11.373311],[-83.808936,11.103044],[-83.655612,10.938764]]]}},{type:`Feature`,properties:{code:`HN`,name:`Honduras`},geometry:{type:`Polygon`,coordinates:[[[-83.147219,14.995829],[-83.489989,15.016267],[-83.628585,14.880074],[-83.975721,14.749436],[-84.228342,14.748764],[-84.449336,14.621614],[-84.649582,14.666805],[-84.820037,14.819587],[-84.924501,14.790493],[-85.052787,14.551541],[-85.148751,14.560197],[-85.165365,14.35437],[-85.514413,14.079012],[-85.698665,13.960078],[-85.801295,13.836055],[-86.096264,14.038187],[-86.312142,13.771356],[-86.520708,13.778487],[-86.755087,13.754845],[-86.733822,13.263093],[-86.880557,13.254204],[-87.005769,13.025794],[-87.316654,12.984686],[-87.489409,13.297535],[-87.793111,13.38448],[-87.723503,13.78505],[-87.859515,13.893312],[-88.065343,13.964626],[-88.503998,13.845486],[-88.541231,13.980155],[-88.843073,14.140507],[-89.058512,14.340029],[-89.353326,14.424133],[-89.145535,14.678019],[-89.22522,14.874286],[-89.154811,15.066419],[-88.68068,15.346247],[-88.225023,15.727722],[-88.121153,15.688655],[-87.901813,15.864458],[-87.61568,15.878799],[-87.522921,15.797279],[-87.367762,15.84694],[-86.903191,15.756713],[-86.440946,15.782835],[-86.119234,15.893449],[-86.001954,16.005406],[-85.683317,15.953652],[-85.444004,15.885749],[-85.182444,15.909158],[-84.983722,15.995923],[-84.52698,15.857224],[-84.368256,15.835158],[-84.063055,15.648244],[-83.773977,15.424072],[-83.410381,15.270903],[-83.147219,14.995829]]]}},{type:`Feature`,properties:{code:`SV`,name:`El Salvador`},geometry:{type:`Polygon`,coordinates:[[[-89.353326,14.424133],[-89.058512,14.340029],[-88.843073,14.140507],[-88.541231,13.980155],[-88.503998,13.845486],[-88.065343,13.964626],[-87.859515,13.893312],[-87.723503,13.78505],[-87.793111,13.38448],[-87.904112,13.149017],[-88.483302,13.163951],[-88.843228,13.259734],[-89.256743,13.458533],[-89.812394,13.520622],[-90.095555,13.735338],[-90.064678,13.88197],[-89.721934,14.134228],[-89.534219,14.244816],[-89.587343,14.362586],[-89.353326,14.424133]]]}},{type:`Feature`,properties:{code:`GT`,name:`Guatemala`},geometry:{type:`Polygon`,coordinates:[[[-92.22775,14.538829],[-92.20323,14.830103],[-92.087216,15.064585],[-92.229249,15.251447],[-91.74796,16.066565],[-90.464473,16.069562],[-90.438867,16.41011],[-90.600847,16.470778],[-90.711822,16.687483],[-91.08167,16.918477],[-91.453921,17.252177],[-91.002269,17.254658],[-91.00152,17.817595],[-90.067934,17.819326],[-89.14308,17.808319],[-89.150806,17.015577],[-89.229122,15.886938],[-88.930613,15.887273],[-88.604586,15.70638],[-88.518364,15.855389],[-88.225023,15.727722],[-88.68068,15.346247],[-89.154811,15.066419],[-89.22522,14.874286],[-89.145535,14.678019],[-89.353326,14.424133],[-89.587343,14.362586],[-89.534219,14.244816],[-89.721934,14.134228],[-90.064678,13.88197],[-90.095555,13.735338],[-90.608624,13.909771],[-91.23241,13.927832],[-91.689747,14.126218],[-92.22775,14.538829]]]}},{type:`Feature`,properties:{code:`BZ`,name:`Belize`},geometry:{type:`Polygon`,coordinates:[[[-89.14308,17.808319],[-89.150909,17.955468],[-89.029857,18.001511],[-88.848344,17.883198],[-88.490123,18.486831],[-88.300031,18.499982],[-88.296336,18.353273],[-88.106813,18.348674],[-88.123479,18.076675],[-88.285355,17.644143],[-88.197867,17.489475],[-88.302641,17.131694],[-88.239518,17.036066],[-88.355428,16.530774],[-88.551825,16.265467],[-88.732434,16.233635],[-88.930613,15.887273],[-89.229122,15.886938],[-89.150806,17.015577],[-89.14308,17.808319]]]}},{type:`Feature`,properties:{code:`VE`,name:`Venezuela`},geometry:{type:`Polygon`,coordinates:[[[-60.733574,5.200277],[-60.601179,4.918098],[-60.966893,4.536468],[-62.08543,4.162124],[-62.804533,4.006965],[-63.093198,3.770571],[-63.888343,4.02053],[-64.628659,4.148481],[-64.816064,4.056445],[-64.368494,3.79721],[-64.408828,3.126786],[-64.269999,2.497006],[-63.422867,2.411068],[-63.368788,2.2009],[-64.083085,1.916369],[-64.199306,1.492855],[-64.611012,1.328731],[-65.354713,1.095282],[-65.548267,.789254],[-66.325765,.724452],[-66.876326,1.253361],[-67.181294,2.250638],[-67.447092,2.600281],[-67.809938,2.820655],[-67.303173,3.318454],[-67.337564,3.542342],[-67.621836,3.839482],[-67.823012,4.503937],[-67.744697,5.221129],[-67.521532,5.55687],[-67.34144,6.095468],[-67.695087,6.267318],[-68.265052,6.153268],[-68.985319,6.206805],[-69.38948,6.099861],[-70.093313,6.960376],[-70.674234,7.087785],[-71.960176,6.991615],[-72.198352,7.340431],[-72.444487,7.423785],[-72.479679,7.632506],[-72.360901,8.002638],[-72.439862,8.405275],[-72.660495,8.625288],[-72.78873,9.085027],[-73.304952,9.152],[-73.027604,9.73677],[-72.905286,10.450344],[-72.614658,10.821975],[-72.227575,11.108702],[-71.973922,11.608672],[-71.331584,11.776284],[-71.360006,11.539994],[-71.94705,11.423282],[-71.620868,10.96946],[-71.633064,10.446494],[-72.074174,9.865651],[-71.695644,9.072263],[-71.264559,9.137195],[-71.039999,9.859993],[-71.350084,10.211935],[-71.400623,10.968969],[-70.155299,11.375482],[-70.293843,11.846822],[-69.943245,12.162307],[-69.5843,11.459611],[-68.882999,11.443385],[-68.233271,10.885744],[-68.194127,10.554653],[-67.296249,10.545868],[-66.227864,10.648627],[-65.655238,10.200799],[-64.890452,10.077215],[-64.329479,10.389599],[-64.318007,10.641418],[-63.079322,10.701724],[-61.880946,10.715625],[-62.730119,10.420269],[-62.388512,9.948204],[-61.588767,9.873067],[-60.830597,9.38134],[-60.671252,8.580174],[-60.150096,8.602757],[-59.758285,8.367035],[-60.550588,7.779603],[-60.637973,7.415],[-60.295668,7.043911],[-60.543999,6.856584],[-61.159336,6.696077],[-61.139415,6.234297],[-61.410303,5.959068],[-60.733574,5.200277]]]}},{type:`Feature`,properties:{code:`GY`,name:`Guyana`},geometry:{type:`Polygon`,coordinates:[[[-56.539386,1.899523],[-56.782704,1.863711],[-57.335823,1.948538],[-57.660971,1.682585],[-58.11345,1.507195],[-58.429477,1.463942],[-58.540013,1.268088],[-59.030862,1.317698],[-59.646044,1.786894],[-59.718546,2.24963],[-59.974525,2.755233],[-59.815413,3.606499],[-59.53804,3.958803],[-59.767406,4.423503],[-60.111002,4.574967],[-59.980959,5.014061],[-60.213683,5.244486],[-60.733574,5.200277],[-61.410303,5.959068],[-61.139415,6.234297],[-61.159336,6.696077],[-60.543999,6.856584],[-60.295668,7.043911],[-60.637973,7.415],[-60.550588,7.779603],[-59.758285,8.367035],[-59.101684,7.999202],[-58.482962,7.347691],[-58.454876,6.832787],[-58.078103,6.809094],[-57.542219,6.321268],[-57.147436,5.97315],[-57.307246,5.073567],[-57.914289,4.812626],[-57.86021,4.576801],[-58.044694,4.060864],[-57.601569,3.334655],[-57.281433,3.333492],[-57.150098,2.768927],[-56.539386,1.899523]]]}},{type:`Feature`,properties:{code:`SR`,name:`Suriname`},geometry:{type:`Polygon`,coordinates:[[[-54.524754,2.311849],[-55.097587,2.523748],[-55.569755,2.421506],[-55.973322,2.510364],[-56.073342,2.220795],[-55.9056,2.021996],[-55.995698,1.817667],[-56.539386,1.899523],[-57.150098,2.768927],[-57.281433,3.333492],[-57.601569,3.334655],[-58.044694,4.060864],[-57.86021,4.576801],[-57.914289,4.812626],[-57.307246,5.073567],[-57.147436,5.97315],[-55.949318,5.772878],[-55.84178,5.953125],[-55.03325,6.025291],[-53.958045,5.756548],[-54.478633,4.896756],[-54.399542,4.212611],[-54.006931,3.620038],[-54.181726,3.18978],[-54.269705,2.732392],[-54.524754,2.311849]]]}},{type:`Feature`,properties:{code:`FR`,name:`France`},geometry:{type:`MultiPolygon`,coordinates:[[[[-51.657797,4.156232],[-52.249338,3.241094],[-52.556425,2.504705],[-52.939657,2.124858],[-53.418465,2.053389],[-53.554839,2.334897],[-53.778521,2.376703],[-54.088063,2.105557],[-54.524754,2.311849],[-54.269705,2.732392],[-54.181726,3.18978],[-54.006931,3.620038],[-54.399542,4.212611],[-54.478633,4.896756],[-53.958045,5.756548],[-53.618453,5.646529],[-52.882141,5.409851],[-51.823343,4.565768],[-51.657797,4.156232]]],[[[6.18632,49.463803],[6.65823,49.201958],[8.099279,49.017784],[7.593676,48.333019],[7.466759,47.620582],[7.192202,47.449766],[6.736571,47.541801],[6.768714,47.287708],[6.037389,46.725779],[6.022609,46.27299],[6.5001,46.429673],[6.843593,45.991147],[6.802355,45.70858],[7.096652,45.333099],[6.749955,45.028518],[7.007562,44.254767],[7.549596,44.127901],[7.435185,43.693845],[6.529245,43.128892],[4.556963,43.399651],[3.100411,43.075201],[2.985999,42.473015],[1.826793,42.343385],[.701591,42.795734],[.338047,42.579546],[-1.502771,43.034014],[-1.901351,43.422802],[-1.384225,44.02261],[-1.193798,46.014918],[-2.225724,47.064363],[-2.963276,47.570327],[-4.491555,47.954954],[-4.59235,48.68416],[-3.295814,48.901692],[-1.616511,48.644421],[-1.933494,49.776342],[-.989469,49.347376],[1.338761,50.127173],[1.639001,50.946606],[2.513573,51.148506],[2.658422,50.796848],[3.123252,50.780363],[3.588184,50.378992],[4.286023,49.907497],[4.799222,49.985373],[5.674052,49.529484],[5.897759,49.442667],[6.18632,49.463803]]],[[[8.746009,42.628122],[9.390001,43.009985],[9.560016,42.152492],[9.229752,41.380007],[8.775723,41.583612],[8.544213,42.256517],[8.746009,42.628122]]]]}},{type:`Feature`,properties:{code:`EC`,name:`Ecuador`},geometry:{type:`Polygon`,coordinates:[[[-75.373223,-.152032],[-75.233723,-.911417],[-75.544996,-1.56161],[-76.635394,-2.608678],[-77.837905,-3.003021],[-78.450684,-3.873097],[-78.639897,-4.547784],[-79.205289,-4.959129],[-79.624979,-4.454198],[-80.028908,-4.346091],[-80.442242,-4.425724],[-80.469295,-4.059287],[-80.184015,-3.821162],[-80.302561,-3.404856],[-79.770293,-2.657512],[-79.986559,-2.220794],[-80.368784,-2.685159],[-80.967765,-2.246943],[-80.764806,-1.965048],[-80.933659,-1.057455],[-80.58337,-.906663],[-80.399325,-.283703],[-80.020898,.36034],[-80.09061,.768429],[-79.542762,.982938],[-78.855259,1.380924],[-77.855061,.809925],[-77.668613,.825893],[-77.424984,.395687],[-76.57638,.256936],[-76.292314,.416047],[-75.801466,.084801],[-75.373223,-.152032]]]}},{type:`Feature`,properties:{code:`PR`,name:`Puerto Rico`},geometry:{type:`Polygon`,coordinates:[[[-66.282434,18.514762],[-65.771303,18.426679],[-65.591004,18.228035],[-65.847164,17.975906],[-66.599934,17.981823],[-67.184162,17.946553],[-67.242428,18.37446],[-67.100679,18.520601],[-66.282434,18.514762]]]}},{type:`Feature`,properties:{code:`JM`,name:`Jamaica`},geometry:{type:`Polygon`,coordinates:[[[-77.569601,18.490525],[-76.896619,18.400867],[-76.365359,18.160701],[-76.199659,17.886867],[-76.902561,17.868238],[-77.206341,17.701116],[-77.766023,17.861597],[-78.337719,18.225968],[-78.217727,18.454533],[-77.797365,18.524218],[-77.569601,18.490525]]]}},{type:`Feature`,properties:{code:`CU`,name:`Cuba`},geometry:{type:`Polygon`,coordinates:[[[-82.268151,23.188611],[-81.404457,23.117271],[-80.618769,23.10598],[-79.679524,22.765303],[-79.281486,22.399202],[-78.347434,22.512166],[-77.993296,22.277194],[-77.146422,21.657851],[-76.523825,21.20682],[-76.19462,21.220565],[-75.598222,21.016624],[-75.67106,20.735091],[-74.933896,20.693905],[-74.178025,20.284628],[-74.296648,20.050379],[-74.961595,19.923435],[-75.63468,19.873774],[-76.323656,19.952891],[-77.755481,19.855481],[-77.085108,20.413354],[-77.492655,20.673105],[-78.137292,20.739949],[-78.482827,21.028613],[-78.719867,21.598114],[-79.285,21.559175],[-80.217475,21.827324],[-80.517535,22.037079],[-81.820943,22.192057],[-82.169992,22.387109],[-81.795002,22.636965],[-82.775898,22.68815],[-83.494459,22.168518],[-83.9088,22.154565],[-84.052151,21.910575],[-84.54703,21.801228],[-84.974911,21.896028],[-84.447062,22.20495],[-84.230357,22.565755],[-83.77824,22.788118],[-83.267548,22.983042],[-82.510436,23.078747],[-82.268151,23.188611]]]}},{type:`Feature`,properties:{code:`ZW`,name:`Zimbabwe`},geometry:{type:`Polygon`,coordinates:[[[31.191409,-22.25151],[30.659865,-22.151567],[30.322883,-22.271612],[29.839037,-22.102216],[29.432188,-22.091313],[28.794656,-21.639454],[28.02137,-21.485975],[27.727228,-20.851802],[27.724747,-20.499059],[27.296505,-20.39152],[26.164791,-19.293086],[25.850391,-18.714413],[25.649163,-18.536026],[25.264226,-17.73654],[26.381935,-17.846042],[26.706773,-17.961229],[27.044427,-17.938026],[27.598243,-17.290831],[28.467906,-16.4684],[28.825869,-16.389749],[28.947463,-16.043051],[29.516834,-15.644678],[30.274256,-15.507787],[30.338955,-15.880839],[31.173064,-15.860944],[31.636498,-16.07199],[31.852041,-16.319417],[32.328239,-16.392074],[32.847639,-16.713398],[32.849861,-17.979057],[32.654886,-18.67209],[32.611994,-19.419383],[32.772708,-19.715592],[32.659743,-20.30429],[32.508693,-20.395292],[32.244988,-21.116489],[31.191409,-22.25151]]]}},{type:`Feature`,properties:{code:`BW`,name:`Botswana`},geometry:{type:`Polygon`,coordinates:[[[29.432188,-22.091313],[28.017236,-22.827754],[27.11941,-23.574323],[26.786407,-24.240691],[26.485753,-24.616327],[25.941652,-24.696373],[25.765849,-25.174845],[25.664666,-25.486816],[25.025171,-25.71967],[24.211267,-25.670216],[23.73357,-25.390129],[23.312097,-25.26869],[22.824271,-25.500459],[22.579532,-25.979448],[22.105969,-26.280256],[21.605896,-26.726534],[20.889609,-26.828543],[20.66647,-26.477453],[20.758609,-25.868136],[20.165726,-24.917962],[19.895768,-24.76779],[19.895458,-21.849157],[20.881134,-21.814327],[20.910641,-18.252219],[21.65504,-18.219146],[23.196858,-17.869038],[23.579006,-18.281261],[24.217365,-17.889347],[24.520705,-17.887125],[25.084443,-17.661816],[25.264226,-17.73654],[25.649163,-18.536026],[25.850391,-18.714413],[26.164791,-19.293086],[27.296505,-20.39152],[27.724747,-20.499059],[27.727228,-20.851802],[28.02137,-21.485975],[28.794656,-21.639454],[29.432188,-22.091313]]]}},{type:`Feature`,properties:{code:`NA`,name:`Namibia`},geometry:{type:`Polygon`,coordinates:[[[19.895768,-24.76779],[19.894734,-28.461105],[19.002127,-28.972443],[18.464899,-29.045462],[17.836152,-28.856378],[17.387497,-28.783514],[17.218929,-28.355943],[16.824017,-28.082162],[16.344977,-28.576705],[15.601818,-27.821247],[15.210472,-27.090956],[14.989711,-26.117372],[14.743214,-25.39292],[14.408144,-23.853014],[14.385717,-22.656653],[14.257714,-22.111208],[13.868642,-21.699037],[13.352498,-20.872834],[12.826845,-19.673166],[12.608564,-19.045349],[11.794919,-18.069129],[11.734199,-17.301889],[12.215461,-17.111668],[12.814081,-16.941343],[13.462362,-16.971212],[14.058501,-17.423381],[14.209707,-17.353101],[18.263309,-17.309951],[18.956187,-17.789095],[21.377176,-17.930636],[23.215048,-17.523116],[24.033862,-17.295843],[24.682349,-17.353411],[25.07695,-17.578823],[25.084443,-17.661816],[24.520705,-17.887125],[24.217365,-17.889347],[23.579006,-18.281261],[23.196858,-17.869038],[21.65504,-18.219146],[20.910641,-18.252219],[20.881134,-21.814327],[19.895458,-21.849157],[19.895768,-24.76779]]]}},{type:`Feature`,properties:{code:`SN`,name:`Senegal`},geometry:{type:`Polygon`,coordinates:[[[-16.713729,13.594959],[-17.126107,14.373516],[-17.625043,14.729541],[-17.185173,14.919477],[-16.700706,15.621527],[-16.463098,16.135036],[-16.12069,16.455663],[-15.623666,16.369337],[-15.135737,16.587282],[-14.577348,16.598264],[-14.099521,16.304302],[-13.435738,16.039383],[-12.830658,15.303692],[-12.17075,14.616834],[-12.124887,13.994727],[-11.927716,13.422075],[-11.553398,13.141214],[-11.467899,12.754519],[-11.513943,12.442988],[-11.658301,12.386583],[-12.203565,12.465648],[-12.278599,12.35444],[-12.499051,12.33209],[-13.217818,12.575874],[-13.700476,12.586183],[-15.548477,12.62817],[-15.816574,12.515567],[-16.147717,12.547762],[-16.677452,12.384852],[-16.841525,13.151394],[-15.931296,13.130284],[-15.691001,13.270353],[-15.511813,13.27857],[-15.141163,13.509512],[-14.712197,13.298207],[-14.277702,13.280585],[-13.844963,13.505042],[-14.046992,13.794068],[-14.376714,13.62568],[-14.687031,13.630357],[-15.081735,13.876492],[-15.39877,13.860369],[-15.624596,13.623587],[-16.713729,13.594959]]]}},{type:`Feature`,properties:{code:`ML`,name:`Mali`},geometry:{type:`Polygon`,coordinates:[[[-11.513943,12.442988],[-11.467899,12.754519],[-11.553398,13.141214],[-11.927716,13.422075],[-12.124887,13.994727],[-12.17075,14.616834],[-11.834208,14.799097],[-11.666078,15.388208],[-11.349095,15.411256],[-10.650791,15.132746],[-10.086846,15.330486],[-9.700255,15.264107],[-9.550238,15.486497],[-5.537744,15.50169],[-5.315277,16.201854],[-5.488523,16.325102],[-5.971129,20.640833],[-6.453787,24.956591],[-4.923337,24.974574],[-1.550055,22.792666],[1.823228,20.610809],[2.060991,20.142233],[2.683588,19.85623],[3.146661,19.693579],[3.158133,19.057364],[4.267419,19.155265],[4.27021,16.852227],[3.723422,16.184284],[3.638259,15.56812],[2.749993,15.409525],[1.385528,15.323561],[1.015783,14.968182],[.374892,14.928908],[-.266257,14.924309],[-.515854,15.116158],[-1.066363,14.973815],[-2.001035,14.559008],[-2.191825,14.246418],[-2.967694,13.79815],[-3.103707,13.541267],[-3.522803,13.337662],[-4.006391,13.472485],[-4.280405,13.228444],[-4.427166,12.542646],[-5.220942,11.713859],[-5.197843,11.375146],[-5.470565,10.95127],[-5.404342,10.370737],[-5.816926,10.222555],[-6.050452,10.096361],[-6.205223,10.524061],[-6.493965,10.411303],[-6.666461,10.430811],[-6.850507,10.138994],[-7.622759,10.147236],[-7.89959,10.297382],[-8.029944,10.206535],[-8.335377,10.494812],[-8.282357,10.792597],[-8.407311,10.909257],[-8.620321,10.810891],[-8.581305,11.136246],[-8.376305,11.393646],[-8.786099,11.812561],[-8.905265,12.088358],[-9.127474,12.30806],[-9.327616,12.334286],[-9.567912,12.194243],[-9.890993,12.060479],[-10.165214,11.844084],[-10.593224,11.923975],[-10.87083,12.177887],[-11.036556,12.211245],[-11.297574,12.077971],[-11.456169,12.076834],[-11.513943,12.442988]]]}},{type:`Feature`,properties:{code:`MR`,name:`Mauritania`},geometry:{type:`Polygon`,coordinates:[[[-17.063423,20.999752],[-16.845194,21.333323],[-12.929102,21.327071],[-13.118754,22.77122],[-12.874222,23.284832],[-11.937224,23.374594],[-11.969419,25.933353],[-8.687294,25.881056],[-8.6844,27.395744],[-4.923337,24.974574],[-6.453787,24.956591],[-5.971129,20.640833],[-5.488523,16.325102],[-5.315277,16.201854],[-5.537744,15.50169],[-9.550238,15.486497],[-9.700255,15.264107],[-10.086846,15.330486],[-10.650791,15.132746],[-11.349095,15.411256],[-11.666078,15.388208],[-11.834208,14.799097],[-12.17075,14.616834],[-12.830658,15.303692],[-13.435738,16.039383],[-14.099521,16.304302],[-14.577348,16.598264],[-15.135737,16.587282],[-15.623666,16.369337],[-16.12069,16.455663],[-16.463098,16.135036],[-16.549708,16.673892],[-16.270552,17.166963],[-16.146347,18.108482],[-16.256883,19.096716],[-16.377651,19.593817],[-16.277838,20.092521],[-16.536324,20.567866],[-17.063423,20.999752]]]}},{type:`Feature`,properties:{code:`BJ`,name:`Benin`},geometry:{type:`Polygon`,coordinates:[[[2.691702,6.258817],[1.865241,6.142158],[1.618951,6.832038],[1.664478,9.12859],[1.463043,9.334624],[1.425061,9.825395],[1.077795,10.175607],[.772336,10.470808],[.899563,10.997339],[1.24347,11.110511],[1.447178,11.547719],[1.935986,11.64115],[2.154474,11.94015],[2.490164,12.233052],[2.848643,12.235636],[3.61118,11.660167],[3.572216,11.327939],[3.797112,10.734746],[3.60007,10.332186],[3.705438,10.06321],[3.220352,9.444153],[2.912308,9.137608],[2.723793,8.506845],[2.749063,7.870734],[2.691702,6.258817]]]}},{type:`Feature`,properties:{code:`NE`,name:`Niger`},geometry:{type:`Polygon`,coordinates:[[[14.8513,22.86295],[15.096888,21.308519],[15.47106,21.04845],[15.487148,20.730415],[15.903247,20.387619],[15.685741,19.95718],[15.300441,17.92795],[15.247731,16.627306],[13.97217,15.68437],[13.540394,14.367134],[13.956699,13.996691],[13.954477,13.353449],[14.595781,13.330427],[14.495787,12.859396],[14.213531,12.802035],[14.181336,12.483657],[13.995353,12.461565],[13.318702,13.556356],[13.083987,13.596147],[12.302071,13.037189],[11.527803,13.32898],[10.989593,13.387323],[10.701032,13.246918],[10.114814,13.277252],[9.524928,12.851102],[9.014933,12.826659],[7.804671,13.343527],[7.330747,13.098038],[6.820442,13.115091],[6.445426,13.492768],[5.443058,13.865924],[4.368344,13.747482],[4.107946,13.531216],[3.967283,12.956109],[3.680634,12.552903],[3.61118,11.660167],[2.848643,12.235636],[2.490164,12.233052],[2.154474,11.94015],[2.177108,12.625018],[1.024103,12.851826],[.993046,13.33575],[.429928,13.988733],[.295646,14.444235],[.374892,14.928908],[1.015783,14.968182],[1.385528,15.323561],[2.749993,15.409525],[3.638259,15.56812],[3.723422,16.184284],[4.27021,16.852227],[4.267419,19.155265],[5.677566,19.601207],[8.572893,21.565661],[11.999506,23.471668],[13.581425,23.040506],[14.143871,22.491289],[14.8513,22.86295]]]}},{type:`Feature`,properties:{code:`NG`,name:`Nigeria`},geometry:{type:`Polygon`,coordinates:[[[2.691702,6.258817],[2.749063,7.870734],[2.723793,8.506845],[2.912308,9.137608],[3.220352,9.444153],[3.705438,10.06321],[3.60007,10.332186],[3.797112,10.734746],[3.572216,11.327939],[3.61118,11.660167],[3.680634,12.552903],[3.967283,12.956109],[4.107946,13.531216],[4.368344,13.747482],[5.443058,13.865924],[6.445426,13.492768],[6.820442,13.115091],[7.330747,13.098038],[7.804671,13.343527],[9.014933,12.826659],[9.524928,12.851102],[10.114814,13.277252],[10.701032,13.246918],[10.989593,13.387323],[11.527803,13.32898],[12.302071,13.037189],[13.083987,13.596147],[13.318702,13.556356],[13.995353,12.461565],[14.181336,12.483657],[14.577178,12.085361],[14.468192,11.904752],[14.415379,11.572369],[13.57295,10.798566],[13.308676,10.160362],[13.1676,9.640626],[12.955468,9.417772],[12.753672,8.717763],[12.218872,8.305824],[12.063946,7.799808],[11.839309,7.397042],[11.745774,6.981383],[11.058788,6.644427],[10.497375,7.055358],[10.118277,7.03877],[9.522706,6.453482],[9.233163,6.444491],[8.757533,5.479666],[8.500288,4.771983],[7.462108,4.412108],[7.082596,4.464689],[6.698072,4.240594],[5.898173,4.262453],[5.362805,4.887971],[5.033574,5.611802],[4.325607,6.270651],[3.57418,6.2583],[2.691702,6.258817]]]}},{type:`Feature`,properties:{code:`CM`,name:`Cameroon`},geometry:{type:`Polygon`,coordinates:[[[14.495787,12.859396],[14.89336,12.21905],[14.960152,11.555574],[14.923565,10.891325],[15.467873,9.982337],[14.909354,9.992129],[14.627201,9.920919],[14.171466,10.021378],[13.954218,9.549495],[14.544467,8.965861],[14.979996,8.796104],[15.120866,8.38215],[15.436092,7.692812],[15.27946,7.421925],[14.776545,6.408498],[14.53656,6.226959],[14.459407,5.451761],[14.558936,5.030598],[14.478372,4.732605],[14.950953,4.210389],[15.03622,3.851367],[15.405396,3.335301],[15.862732,3.013537],[15.907381,2.557389],[16.012852,2.26764],[15.940919,1.727673],[15.146342,1.964015],[14.337813,2.227875],[13.075822,2.267097],[12.951334,2.321616],[12.35938,2.192812],[11.751665,2.326758],[11.276449,2.261051],[9.649158,2.283866],[9.795196,3.073404],[9.404367,3.734527],[8.948116,3.904129],[8.744924,4.352215],[8.488816,4.495617],[8.500288,4.771983],[8.757533,5.479666],[9.233163,6.444491],[9.522706,6.453482],[10.118277,7.03877],[10.497375,7.055358],[11.058788,6.644427],[11.745774,6.981383],[11.839309,7.397042],[12.063946,7.799808],[12.218872,8.305824],[12.753672,8.717763],[12.955468,9.417772],[13.1676,9.640626],[13.308676,10.160362],[13.57295,10.798566],[14.415379,11.572369],[14.468192,11.904752],[14.577178,12.085361],[14.181336,12.483657],[14.213531,12.802035],[14.495787,12.859396]]]}},{type:`Feature`,properties:{code:`TG`,name:`Togo`},geometry:{type:`Polygon`,coordinates:[[[.899563,10.997339],[.772336,10.470808],[1.077795,10.175607],[1.425061,9.825395],[1.463043,9.334624],[1.664478,9.12859],[1.618951,6.832038],[1.865241,6.142158],[1.060122,5.928837],[.836931,6.279979],[.570384,6.914359],[.490957,7.411744],[.712029,8.312465],[.461192,8.677223],[.365901,9.465004],[.36758,10.191213],[-.049785,10.706918],[.023803,11.018682],[.899563,10.997339]]]}},{type:`Feature`,properties:{code:`GH`,name:`Ghana`},geometry:{type:`Polygon`,coordinates:[[[.023803,11.018682],[-.049785,10.706918],[.36758,10.191213],[.365901,9.465004],[.461192,8.677223],[.712029,8.312465],[.490957,7.411744],[.570384,6.914359],[.836931,6.279979],[1.060122,5.928837],[-.507638,5.343473],[-1.063625,5.000548],[-1.964707,4.710462],[-2.856125,4.994476],[-2.810701,5.389051],[-3.24437,6.250472],[-2.983585,7.379705],[-2.56219,8.219628],[-2.827496,9.642461],[-2.963896,10.395335],[-2.940409,10.96269],[-1.203358,11.009819],[-.761576,10.93693],[-.438702,11.098341],[.023803,11.018682]]]}},{type:`Feature`,properties:{code:`CI`,name:`Ivory Coast`},geometry:{type:`Polygon`,coordinates:[[[-8.029944,10.206535],[-7.89959,10.297382],[-7.622759,10.147236],[-6.850507,10.138994],[-6.666461,10.430811],[-6.493965,10.411303],[-6.205223,10.524061],[-6.050452,10.096361],[-5.816926,10.222555],[-5.404342,10.370737],[-4.954653,10.152714],[-4.779884,9.821985],[-4.330247,9.610835],[-3.980449,9.862344],[-3.511899,9.900326],[-2.827496,9.642461],[-2.56219,8.219628],[-2.983585,7.379705],[-3.24437,6.250472],[-2.810701,5.389051],[-2.856125,4.994476],[-3.311084,4.984296],[-4.00882,5.179813],[-4.649917,5.168264],[-5.834496,4.993701],[-6.528769,4.705088],[-7.518941,4.338288],[-7.712159,4.364566],[-7.635368,5.188159],[-7.539715,5.313345],[-7.570153,5.707352],[-7.993693,6.12619],[-8.311348,6.193033],[-8.60288,6.467564],[-8.385452,6.911801],[-8.485446,7.395208],[-8.439298,7.686043],[-8.280703,7.68718],[-8.221792,8.123329],[-8.299049,8.316444],[-8.203499,8.455453],[-7.8321,8.575704],[-8.079114,9.376224],[-8.309616,9.789532],[-8.229337,10.12902],[-8.029944,10.206535]]]}},{type:`Feature`,properties:{code:`GN`,name:`Guinea`},geometry:{type:`Polygon`,coordinates:[[[-13.700476,12.586183],[-13.217818,12.575874],[-12.499051,12.33209],[-12.278599,12.35444],[-12.203565,12.465648],[-11.658301,12.386583],[-11.513943,12.442988],[-11.456169,12.076834],[-11.297574,12.077971],[-11.036556,12.211245],[-10.87083,12.177887],[-10.593224,11.923975],[-10.165214,11.844084],[-9.890993,12.060479],[-9.567912,12.194243],[-9.327616,12.334286],[-9.127474,12.30806],[-8.905265,12.088358],[-8.786099,11.812561],[-8.376305,11.393646],[-8.581305,11.136246],[-8.620321,10.810891],[-8.407311,10.909257],[-8.282357,10.792597],[-8.335377,10.494812],[-8.029944,10.206535],[-8.229337,10.12902],[-8.309616,9.789532],[-8.079114,9.376224],[-7.8321,8.575704],[-8.203499,8.455453],[-8.299049,8.316444],[-8.221792,8.123329],[-8.280703,7.68718],[-8.439298,7.686043],[-8.722124,7.711674],[-8.926065,7.309037],[-9.208786,7.313921],[-9.403348,7.526905],[-9.33728,7.928534],[-9.755342,8.541055],[-10.016567,8.428504],[-10.230094,8.406206],[-10.505477,8.348896],[-10.494315,8.715541],[-10.65477,8.977178],[-10.622395,9.26791],[-10.839152,9.688246],[-11.117481,10.045873],[-11.917277,10.046984],[-12.150338,9.858572],[-12.425929,9.835834],[-12.596719,9.620188],[-12.711958,9.342712],[-13.24655,8.903049],[-13.685154,9.494744],[-14.074045,9.886167],[-14.330076,10.01572],[-14.579699,10.214467],[-14.693232,10.656301],[-14.839554,10.876572],[-15.130311,11.040412],[-14.685687,11.527824],[-14.382192,11.509272],[-14.121406,11.677117],[-13.9008,11.678719],[-13.743161,11.811269],[-13.828272,12.142644],[-13.718744,12.247186],[-13.700476,12.586183]]]}},{type:`Feature`,properties:{code:`GW`,name:`Guinea-Bissau`},geometry:{type:`Polygon`,coordinates:[[[-16.677452,12.384852],[-16.147717,12.547762],[-15.816574,12.515567],[-15.548477,12.62817],[-13.700476,12.586183],[-13.718744,12.247186],[-13.828272,12.142644],[-13.743161,11.811269],[-13.9008,11.678719],[-14.121406,11.677117],[-14.382192,11.509272],[-14.685687,11.527824],[-15.130311,11.040412],[-15.66418,11.458474],[-16.085214,11.524594],[-16.314787,11.806515],[-16.308947,11.958702],[-16.613838,12.170911],[-16.677452,12.384852]]]}},{type:`Feature`,properties:{code:`LR`,name:`Liberia`},geometry:{type:`Polygon`,coordinates:[[[-8.439298,7.686043],[-8.485446,7.395208],[-8.385452,6.911801],[-8.60288,6.467564],[-8.311348,6.193033],[-7.993693,6.12619],[-7.570153,5.707352],[-7.539715,5.313345],[-7.635368,5.188159],[-7.712159,4.364566],[-7.974107,4.355755],[-9.004794,4.832419],[-9.91342,5.593561],[-10.765384,6.140711],[-11.438779,6.785917],[-11.199802,7.105846],[-11.146704,7.396706],[-10.695595,7.939464],[-10.230094,8.406206],[-10.016567,8.428504],[-9.755342,8.541055],[-9.33728,7.928534],[-9.403348,7.526905],[-9.208786,7.313921],[-8.926065,7.309037],[-8.722124,7.711674],[-8.439298,7.686043]]]}},{type:`Feature`,properties:{code:`SL`,name:`Sierra Leone`},geometry:{type:`Polygon`,coordinates:[[[-13.24655,8.903049],[-12.711958,9.342712],[-12.596719,9.620188],[-12.425929,9.835834],[-12.150338,9.858572],[-11.917277,10.046984],[-11.117481,10.045873],[-10.839152,9.688246],[-10.622395,9.26791],[-10.65477,8.977178],[-10.494315,8.715541],[-10.505477,8.348896],[-10.230094,8.406206],[-10.695595,7.939464],[-11.146704,7.396706],[-11.199802,7.105846],[-11.438779,6.785917],[-11.708195,6.860098],[-12.428099,7.262942],[-12.949049,7.798646],[-13.124025,8.163946],[-13.24655,8.903049]]]}},{type:`Feature`,properties:{code:`BF`,name:`Burkina Faso`},geometry:{type:`Polygon`,coordinates:[[[-5.404342,10.370737],[-5.470565,10.95127],[-5.197843,11.375146],[-5.220942,11.713859],[-4.427166,12.542646],[-4.280405,13.228444],[-4.006391,13.472485],[-3.522803,13.337662],[-3.103707,13.541267],[-2.967694,13.79815],[-2.191825,14.246418],[-2.001035,14.559008],[-1.066363,14.973815],[-.515854,15.116158],[-.266257,14.924309],[.374892,14.928908],[.295646,14.444235],[.429928,13.988733],[.993046,13.33575],[1.024103,12.851826],[2.177108,12.625018],[2.154474,11.94015],[1.935986,11.64115],[1.447178,11.547719],[1.24347,11.110511],[.899563,10.997339],[.023803,11.018682],[-.438702,11.098341],[-.761576,10.93693],[-1.203358,11.009819],[-2.940409,10.96269],[-2.963896,10.395335],[-2.827496,9.642461],[-3.511899,9.900326],[-3.980449,9.862344],[-4.330247,9.610835],[-4.779884,9.821985],[-4.954653,10.152714],[-5.404342,10.370737]]]}},{type:`Feature`,properties:{code:`CF`,name:`Central African Republic`},geometry:{type:`Polygon`,coordinates:[[[27.374226,5.233944],[27.044065,5.127853],[26.402761,5.150875],[25.650455,5.256088],[25.278798,5.170408],[25.128833,4.927245],[24.805029,4.897247],[24.410531,5.108784],[23.297214,4.609693],[22.84148,4.710126],[22.704124,4.633051],[22.405124,4.02916],[21.659123,4.224342],[20.927591,4.322786],[20.290679,4.691678],[19.467784,5.031528],[18.932312,4.709506],[18.542982,4.201785],[18.453065,3.504386],[17.8099,3.560196],[17.133042,3.728197],[16.537058,3.198255],[16.012852,2.26764],[15.907381,2.557389],[15.862732,3.013537],[15.405396,3.335301],[15.03622,3.851367],[14.950953,4.210389],[14.478372,4.732605],[14.558936,5.030598],[14.459407,5.451761],[14.53656,6.226959],[14.776545,6.408498],[15.27946,7.421925],[16.106232,7.497088],[16.290562,7.754307],[16.456185,7.734774],[16.705988,7.508328],[17.96493,7.890914],[18.389555,8.281304],[18.911022,8.630895],[18.81201,8.982915],[19.094008,9.074847],[20.059685,9.012706],[21.000868,9.475985],[21.723822,10.567056],[22.231129,10.971889],[22.864165,11.142395],[22.977544,10.714463],[23.554304,10.089255],[23.55725,9.681218],[23.394779,9.265068],[23.459013,8.954286],[23.805813,8.666319],[24.567369,8.229188],[25.114932,7.825104],[25.124131,7.500085],[25.796648,6.979316],[26.213418,6.546603],[26.465909,5.946717],[27.213409,5.550953],[27.374226,5.233944]]]}},{type:`Feature`,properties:{code:`CG`,name:`Republic of the Congo`},geometry:{type:`Polygon`,coordinates:[[[18.453065,3.504386],[18.393792,2.900443],[18.094276,2.365722],[17.898835,1.741832],[17.774192,.855659],[17.82654,.288923],[17.663553,-.058084],[17.638645,-.424832],[17.523716,-.74383],[16.865307,-1.225816],[16.407092,-1.740927],[15.972803,-2.712392],[16.00629,-3.535133],[15.75354,-3.855165],[15.170992,-4.343507],[14.582604,-4.970239],[14.209035,-4.793092],[14.144956,-4.510009],[13.600235,-4.500138],[13.25824,-4.882957],[12.995517,-4.781103],[12.62076,-4.438023],[12.318608,-4.60623],[11.914963,-5.037987],[11.093773,-3.978827],[11.855122,-3.426871],[11.478039,-2.765619],[11.820964,-2.514161],[12.495703,-2.391688],[12.575284,-1.948511],[13.109619,-2.42874],[13.992407,-2.470805],[14.29921,-1.998276],[14.425456,-1.333407],[14.316418,-.552627],[13.843321,.038758],[14.276266,1.19693],[14.026669,1.395677],[13.282631,1.314184],[13.003114,1.830896],[13.075822,2.267097],[14.337813,2.227875],[15.146342,1.964015],[15.940919,1.727673],[16.012852,2.26764],[16.537058,3.198255],[17.133042,3.728197],[17.8099,3.560196],[18.453065,3.504386]]]}},{type:`Feature`,properties:{code:`GA`,name:`Gabon`},geometry:{type:`Polygon`,coordinates:[[[11.276449,2.261051],[11.751665,2.326758],[12.35938,2.192812],[12.951334,2.321616],[13.075822,2.267097],[13.003114,1.830896],[13.282631,1.314184],[14.026669,1.395677],[14.276266,1.19693],[13.843321,.038758],[14.316418,-.552627],[14.425456,-1.333407],[14.29921,-1.998276],[13.992407,-2.470805],[13.109619,-2.42874],[12.575284,-1.948511],[12.495703,-2.391688],[11.820964,-2.514161],[11.478039,-2.765619],[11.855122,-3.426871],[11.093773,-3.978827],[10.066135,-2.969483],[9.405245,-2.144313],[8.797996,-1.111301],[8.830087,-.779074],[9.04842,-.459351],[9.291351,.268666],[9.492889,1.01012],[9.830284,1.067894],[11.285079,1.057662],[11.276449,2.261051]]]}},{type:`Feature`,properties:{code:`GQ`,name:`Equatorial Guinea`},geometry:{type:`Polygon`,coordinates:[[[9.649158,2.283866],[11.276449,2.261051],[11.285079,1.057662],[9.830284,1.067894],[9.492889,1.01012],[9.305613,1.160911],[9.649158,2.283866]]]}},{type:`Feature`,properties:{code:`ZM`,name:`Zambia`},geometry:{type:`Polygon`,coordinates:[[[30.74001,-8.340006],[31.157751,-8.594579],[31.556348,-8.762049],[32.191865,-8.930359],[32.759375,-9.230599],[33.231388,-9.676722],[33.485688,-10.525559],[33.31531,-10.79655],[33.114289,-11.607198],[33.306422,-12.435778],[32.991764,-12.783871],[32.688165,-13.712858],[33.214025,-13.97186],[30.179481,-14.796099],[30.274256,-15.507787],[29.516834,-15.644678],[28.947463,-16.043051],[28.825869,-16.389749],[28.467906,-16.4684],[27.598243,-17.290831],[27.044427,-17.938026],[26.706773,-17.961229],[26.381935,-17.846042],[25.264226,-17.73654],[25.084443,-17.661816],[25.07695,-17.578823],[24.682349,-17.353411],[24.033862,-17.295843],[23.215048,-17.523116],[22.562478,-16.898451],[21.887843,-16.08031],[21.933886,-12.898437],[24.016137,-12.911046],[23.930922,-12.565848],[24.079905,-12.191297],[23.904154,-11.722282],[24.017894,-11.237298],[23.912215,-10.926826],[24.257155,-10.951993],[24.314516,-11.262826],[24.78317,-11.238694],[25.418118,-11.330936],[25.75231,-11.784965],[26.553088,-11.92444],[27.16442,-11.608748],[27.388799,-12.132747],[28.155109,-12.272481],[28.523562,-12.698604],[28.934286,-13.248958],[29.699614,-13.257227],[29.616001,-12.178895],[29.341548,-12.360744],[28.642417,-11.971569],[28.372253,-11.793647],[28.49607,-10.789884],[28.673682,-9.605925],[28.449871,-9.164918],[28.734867,-8.526559],[29.002912,-8.407032],[30.346086,-8.238257],[30.74001,-8.340006]]]}},{type:`Feature`,properties:{code:`MW`,name:`Malawi`},geometry:{type:`Polygon`,coordinates:[[[32.759375,-9.230599],[33.73972,-9.41715],[33.940838,-9.693674],[34.28,-10.16],[34.559989,-11.52002],[34.280006,-12.280025],[34.559989,-13.579998],[34.907151,-13.565425],[35.267956,-13.887834],[35.686845,-14.611046],[35.771905,-15.896859],[35.339063,-16.10744],[35.03381,-16.8013],[34.381292,-16.18356],[34.307291,-15.478641],[34.517666,-15.013709],[34.459633,-14.61301],[34.064825,-14.35995],[33.7897,-14.451831],[33.214025,-13.97186],[32.688165,-13.712858],[32.991764,-12.783871],[33.306422,-12.435778],[33.114289,-11.607198],[33.31531,-10.79655],[33.485688,-10.525559],[33.231388,-9.676722],[32.759375,-9.230599]]]}},{type:`Feature`,properties:{code:`MZ`,name:`Mozambique`},geometry:{type:`Polygon`,coordinates:[[[34.559989,-11.52002],[35.312398,-11.439146],[36.514082,-11.720938],[36.775151,-11.594537],[37.47129,-11.56876],[37.82764,-11.26879],[38.427557,-11.285202],[39.521,-10.89688],[40.31659,-10.3171],[40.316586,-10.317098],[40.316589,-10.317096],[40.478387,-10.765441],[40.437253,-11.761711],[40.560811,-12.639177],[40.59962,-14.201975],[40.775475,-14.691764],[40.477251,-15.406294],[40.089264,-16.100774],[39.452559,-16.720891],[38.538351,-17.101023],[37.411133,-17.586368],[36.281279,-18.659688],[35.896497,-18.84226],[35.1984,-19.552811],[34.786383,-19.784012],[34.701893,-20.497043],[35.176127,-21.254361],[35.373428,-21.840837],[35.385848,-22.14],[35.562546,-22.09],[35.533935,-23.070788],[35.371774,-23.535359],[35.60747,-23.706563],[35.458746,-24.12261],[35.040735,-24.478351],[34.215824,-24.816314],[33.01321,-25.357573],[32.574632,-25.727318],[32.660363,-26.148584],[32.915955,-26.215867],[32.83012,-26.742192],[32.071665,-26.73382],[31.985779,-26.29178],[31.837778,-25.843332],[31.752408,-25.484284],[31.930589,-24.369417],[31.670398,-23.658969],[31.191409,-22.25151],[32.244988,-21.116489],[32.508693,-20.395292],[32.659743,-20.30429],[32.772708,-19.715592],[32.611994,-19.419383],[32.654886,-18.67209],[32.849861,-17.979057],[32.847639,-16.713398],[32.328239,-16.392074],[31.852041,-16.319417],[31.636498,-16.07199],[31.173064,-15.860944],[30.338955,-15.880839],[30.274256,-15.507787],[30.179481,-14.796099],[33.214025,-13.97186],[33.7897,-14.451831],[34.064825,-14.35995],[34.459633,-14.61301],[34.517666,-15.013709],[34.307291,-15.478641],[34.381292,-16.18356],[35.03381,-16.8013],[35.339063,-16.10744],[35.771905,-15.896859],[35.686845,-14.611046],[35.267956,-13.887834],[34.907151,-13.565425],[34.559989,-13.579998],[34.280006,-12.280025],[34.559989,-11.52002]]]}},{type:`Feature`,properties:{code:`SZ`,name:`Eswatini`},geometry:{type:`Polygon`,coordinates:[[[32.071665,-26.73382],[31.86806,-27.177927],[31.282773,-27.285879],[30.685962,-26.743845],[30.676609,-26.398078],[30.949667,-26.022649],[31.04408,-25.731452],[31.333158,-25.660191],[31.837778,-25.843332],[31.985779,-26.29178],[32.071665,-26.73382]]]}},{type:`Feature`,properties:{code:`AO`,name:`Angola`},geometry:{type:`MultiPolygon`,coordinates:[[[[12.995517,-4.781103],[12.631612,-4.991271],[12.468004,-5.248362],[12.436688,-5.684304],[12.182337,-5.789931],[11.914963,-5.037987],[12.318608,-4.60623],[12.62076,-4.438023],[12.995517,-4.781103]]],[[[12.322432,-6.100092],[12.735171,-5.965682],[13.024869,-5.984389],[13.375597,-5.864241],[16.326528,-5.87747],[16.57318,-6.622645],[16.860191,-7.222298],[17.089996,-7.545689],[17.47297,-8.068551],[18.134222,-7.987678],[18.464176,-7.847014],[19.016752,-7.988246],[19.166613,-7.738184],[19.417502,-7.155429],[20.037723,-7.116361],[20.091622,-6.94309],[20.601823,-6.939318],[20.514748,-7.299606],[21.728111,-7.290872],[21.746456,-7.920085],[21.949131,-8.305901],[21.801801,-8.908707],[21.875182,-9.523708],[22.208753,-9.894796],[22.155268,-11.084801],[22.402798,-10.993075],[22.837345,-11.017622],[23.456791,-10.867863],[23.912215,-10.926826],[24.017894,-11.237298],[23.904154,-11.722282],[24.079905,-12.191297],[23.930922,-12.565848],[24.016137,-12.911046],[21.933886,-12.898437],[21.887843,-16.08031],[22.562478,-16.898451],[23.215048,-17.523116],[21.377176,-17.930636],[18.956187,-17.789095],[18.263309,-17.309951],[14.209707,-17.353101],[14.058501,-17.423381],[13.462362,-16.971212],[12.814081,-16.941343],[12.215461,-17.111668],[11.734199,-17.301889],[11.640096,-16.673142],[11.778537,-15.793816],[12.123581,-14.878316],[12.175619,-14.449144],[12.500095,-13.5477],[12.738479,-13.137906],[13.312914,-12.48363],[13.633721,-12.038645],[13.738728,-11.297863],[13.686379,-10.731076],[13.387328,-10.373578],[13.120988,-9.766897],[12.87537,-9.166934],[12.929061,-8.959091],[13.236433,-8.562629],[12.93304,-7.596539],[12.728298,-6.927122],[12.227347,-6.294448],[12.322432,-6.100092]]]]}},{type:`Feature`,properties:{code:`BI`,name:`Burundi`},geometry:{type:`Polygon`,coordinates:[[[30.469674,-2.413855],[30.52766,-2.80762],[30.74301,-3.03431],[30.75224,-3.35931],[30.50554,-3.56858],[30.11632,-4.09012],[29.753512,-4.452389],[29.339998,-4.499983],[29.276384,-3.293907],[29.024926,-2.839258],[29.632176,-2.917858],[29.938359,-2.348487],[30.469674,-2.413855]]]}},{type:`Feature`,properties:{code:`IL`,name:`Israel`},geometry:{type:`Polygon`,coordinates:[[[35.719918,32.709192],[35.545665,32.393992],[35.18393,32.532511],[34.974641,31.866582],[35.225892,31.754341],[34.970507,31.616778],[34.927408,31.353435],[35.397561,31.489086],[35.420918,31.100066],[34.922603,29.501326],[34.823243,29.761081],[34.26544,31.21936],[34.265435,31.219357],[34.265433,31.219361],[34.556372,31.548824],[34.488107,31.605539],[34.752587,32.072926],[34.955417,32.827376],[35.098457,33.080539],[35.126053,33.0909],[35.460709,33.08904],[35.552797,33.264275],[35.821101,33.277426],[35.836397,32.868123],[35.700798,32.716014],[35.719918,32.709192]]]}},{type:`Feature`,properties:{code:`LB`,name:`Lebanon`},geometry:{type:`Polygon`,coordinates:[[[35.821101,33.277426],[35.552797,33.264275],[35.460709,33.08904],[35.126053,33.0909],[35.482207,33.90545],[35.979592,34.610058],[35.998403,34.644914],[36.448194,34.593935],[36.61175,34.201789],[36.06646,33.824912],[35.821101,33.277426]]]}},{type:`Feature`,properties:{code:`MG`,name:`Madagascar`},geometry:{type:`Polygon`,coordinates:[[[49.543519,-12.469833],[49.808981,-12.895285],[50.056511,-13.555761],[50.217431,-14.758789],[50.476537,-15.226512],[50.377111,-15.706069],[50.200275,-16.000263],[49.860606,-15.414253],[49.672607,-15.710204],[49.863344,-16.451037],[49.774564,-16.875042],[49.498612,-17.106036],[49.435619,-17.953064],[49.041792,-19.118781],[48.548541,-20.496888],[47.930749,-22.391501],[47.547723,-23.781959],[47.095761,-24.94163],[46.282478,-25.178463],[45.409508,-25.601434],[44.833574,-25.346101],[44.03972,-24.988345],[43.763768,-24.460677],[43.697778,-23.574116],[43.345654,-22.776904],[43.254187,-22.057413],[43.433298,-21.336475],[43.893683,-21.163307],[43.89637,-20.830459],[44.374325,-20.072366],[44.464397,-19.435454],[44.232422,-18.961995],[44.042976,-18.331387],[43.963084,-17.409945],[44.312469,-16.850496],[44.446517,-16.216219],[44.944937,-16.179374],[45.502732,-15.974373],[45.872994,-15.793454],[46.312243,-15.780018],[46.882183,-15.210182],[47.70513,-14.594303],[48.005215,-14.091233],[47.869047,-13.663869],[48.293828,-13.784068],[48.84506,-13.089175],[48.863509,-12.487868],[49.194651,-12.040557],[49.543519,-12.469833]]]}},{type:`Feature`,properties:{code:`PS`,name:`Palestine`},geometry:{type:`Polygon`,coordinates:[[[35.397561,31.489086],[34.927408,31.353435],[34.970507,31.616778],[35.225892,31.754341],[34.974641,31.866582],[35.18393,32.532511],[35.545665,32.393992],[35.545252,31.782505],[35.397561,31.489086]]]}},{type:`Feature`,properties:{code:`GM`,name:`The Gambia`},geometry:{type:`Polygon`,coordinates:[[[-16.713729,13.594959],[-15.624596,13.623587],[-15.39877,13.860369],[-15.081735,13.876492],[-14.687031,13.630357],[-14.376714,13.62568],[-14.046992,13.794068],[-13.844963,13.505042],[-14.277702,13.280585],[-14.712197,13.298207],[-15.141163,13.509512],[-15.511813,13.27857],[-15.691001,13.270353],[-15.931296,13.130284],[-16.841525,13.151394],[-16.713729,13.594959]]]}},{type:`Feature`,properties:{code:`TN`,name:`Tunisia`},geometry:{type:`Polygon`,coordinates:[[[9.48214,30.307556],[9.055603,32.102692],[8.439103,32.506285],[8.430473,32.748337],[7.612642,33.344115],[7.524482,34.097376],[8.140981,34.655146],[8.376368,35.479876],[8.217824,36.433177],[8.420964,36.946427],[9.509994,37.349994],[10.210002,37.230002],[10.18065,36.724038],[11.028867,37.092103],[11.100026,36.899996],[10.600005,36.41],[10.593287,35.947444],[10.939519,35.698984],[10.807847,34.833507],[10.149593,34.330773],[10.339659,33.785742],[10.856836,33.76874],[11.108501,33.293343],[11.488787,33.136996],[11.432253,32.368903],[10.94479,32.081815],[10.636901,31.761421],[9.950225,31.37607],[10.056575,30.961831],[9.970017,30.539325],[9.48214,30.307556]]]}},{type:`Feature`,properties:{code:`DZ`,name:`Algeria`},geometry:{type:`Polygon`,coordinates:[[[-8.6844,27.395744],[-8.665124,27.589479],[-8.66559,27.656426],[-8.674116,28.841289],[-7.059228,29.579228],[-6.060632,29.7317],[-5.242129,30.000443],[-4.859646,30.501188],[-3.690441,30.896952],[-3.647498,31.637294],[-3.06898,31.724498],[-2.616605,32.094346],[-1.307899,32.262889],[-1.124551,32.651522],[-1.388049,32.864015],[-1.733455,33.919713],[-1.792986,34.527919],[-2.169914,35.168396],[-1.208603,35.714849],[-.127454,35.888662],[.503877,36.301273],[1.466919,36.605647],[3.161699,36.783905],[4.815758,36.865037],[5.32012,36.716519],[6.26182,37.110655],[7.330385,37.118381],[7.737078,36.885708],[8.420964,36.946427],[8.217824,36.433177],[8.376368,35.479876],[8.140981,34.655146],[7.524482,34.097376],[7.612642,33.344115],[8.430473,32.748337],[8.439103,32.506285],[9.055603,32.102692],[9.48214,30.307556],[9.805634,29.424638],[9.859998,28.95999],[9.683885,28.144174],[9.756128,27.688259],[9.629056,27.140953],[9.716286,26.512206],[9.319411,26.094325],[9.910693,25.365455],[9.948261,24.936954],[10.303847,24.379313],[10.771364,24.562532],[11.560669,24.097909],[11.999506,23.471668],[8.572893,21.565661],[5.677566,19.601207],[4.267419,19.155265],[3.158133,19.057364],[3.146661,19.693579],[2.683588,19.85623],[2.060991,20.142233],[1.823228,20.610809],[-1.550055,22.792666],[-4.923337,24.974574],[-8.6844,27.395744]]]}},{type:`Feature`,properties:{code:`JO`,name:`Jordan`},geometry:{type:`Polygon`,coordinates:[[[35.545665,32.393992],[35.719918,32.709192],[36.834062,32.312938],[38.792341,33.378686],[39.195468,32.161009],[39.004886,32.010217],[37.002166,31.508413],[37.998849,30.5085],[37.66812,30.338665],[37.503582,30.003776],[36.740528,29.865283],[36.501214,29.505254],[36.068941,29.197495],[34.956037,29.356555],[34.922603,29.501326],[35.420918,31.100066],[35.397561,31.489086],[35.545252,31.782505],[35.545665,32.393992]]]}},{type:`Feature`,properties:{code:`AE`,name:`United Arab Emirates`},geometry:{type:`Polygon`,coordinates:[[[51.579519,24.245497],[51.757441,24.294073],[51.794389,24.019826],[52.577081,24.177439],[53.404007,24.151317],[54.008001,24.121758],[54.693024,24.797892],[55.439025,25.439145],[56.070821,26.055464],[56.261042,25.714606],[56.396847,24.924732],[55.886233,24.920831],[55.804119,24.269604],[55.981214,24.130543],[55.528632,23.933604],[55.525841,23.524869],[55.234489,23.110993],[55.208341,22.70833],[55.006803,22.496948],[52.000733,23.001154],[51.617708,24.014219],[51.579519,24.245497]]]}},{type:`Feature`,properties:{code:`QA`,name:`Qatar`},geometry:{type:`Polygon`,coordinates:[[[50.810108,24.754743],[50.743911,25.482424],[51.013352,26.006992],[51.286462,26.114582],[51.589079,25.801113],[51.6067,25.21567],[51.389608,24.627386],[51.112415,24.556331],[50.810108,24.754743]]]}},{type:`Feature`,properties:{code:`KW`,name:`Kuwait`},geometry:{type:`Polygon`,coordinates:[[[47.974519,29.975819],[48.183189,29.534477],[48.093943,29.306299],[48.416094,28.552004],[47.708851,28.526063],[47.459822,29.002519],[46.568713,29.099025],[47.302622,30.05907],[47.974519,29.975819]]]}},{type:`Feature`,properties:{code:`IQ`,name:`Iraq`},geometry:{type:`Polygon`,coordinates:[[[39.195468,32.161009],[38.792341,33.378686],[41.006159,34.419372],[41.383965,35.628317],[41.289707,36.358815],[41.837064,36.605854],[42.349591,37.229873],[42.779126,37.385264],[43.942259,37.256228],[44.293452,37.001514],[44.772677,37.170437],[45.420618,35.977546],[46.07634,35.677383],[46.151788,35.093259],[45.64846,34.748138],[45.416691,33.967798],[46.109362,33.017287],[47.334661,32.469155],[47.849204,31.709176],[47.685286,30.984853],[48.004698,30.985137],[48.014568,30.452457],[48.567971,29.926778],[47.974519,29.975819],[47.302622,30.05907],[46.568713,29.099025],[44.709499,29.178891],[41.889981,31.190009],[40.399994,31.889992],[39.195468,32.161009]]]}},{type:`Feature`,properties:{code:`OM`,name:`Oman`},geometry:{type:`MultiPolygon`,coordinates:[[[[55.208341,22.70833],[55.234489,23.110993],[55.525841,23.524869],[55.528632,23.933604],[55.981214,24.130543],[55.804119,24.269604],[55.886233,24.920831],[56.396847,24.924732],[56.84514,24.241673],[57.403453,23.878594],[58.136948,23.747931],[58.729211,23.565668],[59.180502,22.992395],[59.450098,22.660271],[59.80806,22.533612],[59.806148,22.310525],[59.442191,21.714541],[59.282408,21.433886],[58.861141,21.114035],[58.487986,20.428986],[58.034318,20.481437],[57.826373,20.243002],[57.665762,19.736005],[57.7887,19.06757],[57.694391,18.94471],[57.234264,18.947991],[56.609651,18.574267],[56.512189,18.087113],[56.283521,17.876067],[55.661492,17.884128],[55.269939,17.632309],[55.2749,17.228354],[54.791002,16.950697],[54.239253,17.044981],[53.570508,16.707663],[53.108573,16.651051],[52.782184,17.349742],[52.00001,19.000003],[54.999982,19.999994],[55.666659,22.000001],[55.208341,22.70833]]],[[[56.261042,25.714606],[56.070821,26.055464],[56.362017,26.395934],[56.485679,26.309118],[56.391421,25.895991],[56.261042,25.714606]]]]}},{type:`Feature`,properties:{code:`VU`,name:`Vanuatu`},geometry:{type:`MultiPolygon`,coordinates:[[[[167.216801,-15.891846],[167.844877,-16.466333],[167.515181,-16.59785],[167.180008,-16.159995],[167.216801,-15.891846]]],[[[166.793158,-15.668811],[166.649859,-15.392704],[166.629137,-14.626497],[167.107712,-14.93392],[167.270028,-15.740021],[167.001207,-15.614602],[166.793158,-15.668811]]]]}},{type:`Feature`,properties:{code:`KH`,name:`Cambodia`},geometry:{type:`Polygon`,coordinates:[[[102.584932,12.186595],[102.348099,13.394247],[102.988422,14.225721],[104.281418,14.416743],[105.218777,14.273212],[106.043946,13.881091],[106.496373,14.570584],[107.382727,14.202441],[107.614548,13.535531],[107.491403,12.337206],[105.810524,11.567615],[106.24967,10.961812],[105.199915,10.88931],[104.334335,10.486544],[103.49728,10.632555],[103.09069,11.153661],[102.584932,12.186595]]]}},{type:`Feature`,properties:{code:`TH`,name:`Thailand`},geometry:{type:`Polygon`,coordinates:[[[105.218777,14.273212],[104.281418,14.416743],[102.988422,14.225721],[102.348099,13.394247],[102.584932,12.186595],[101.687158,12.64574],[100.83181,12.627085],[100.978467,13.412722],[100.097797,13.406856],[100.018733,12.307001],[99.478921,10.846367],[99.153772,9.963061],[99.222399,9.239255],[99.873832,9.207862],[100.279647,8.295153],[100.459274,7.429573],[101.017328,6.856869],[101.623079,6.740622],[102.141187,6.221636],[101.814282,5.810808],[101.154219,5.691384],[101.075516,6.204867],[100.259596,6.642825],[100.085757,6.464489],[99.690691,6.848213],[99.519642,7.343454],[98.988253,7.907993],[98.503786,8.382305],[98.339662,7.794512],[98.150009,8.350007],[98.25915,8.973923],[98.553551,9.93296],[99.038121,10.960546],[99.587286,11.892763],[99.196354,12.804748],[99.212012,13.269294],[99.097755,13.827503],[98.430819,14.622028],[98.192074,15.123703],[98.537376,15.308497],[98.903348,16.177824],[98.493761,16.837836],[97.859123,17.567946],[97.375896,18.445438],[97.797783,18.62708],[98.253724,19.708203],[98.959676,19.752981],[99.543309,20.186598],[100.115988,20.41785],[100.548881,20.109238],[100.606294,19.508344],[101.282015,19.462585],[101.035931,18.408928],[101.059548,17.512497],[102.113592,18.109102],[102.413005,17.932782],[102.998706,17.961695],[103.200192,18.309632],[103.956477,18.240954],[104.716947,17.428859],[104.779321,16.441865],[105.589039,15.570316],[105.544338,14.723934],[105.218777,14.273212]]]}},{type:`Feature`,properties:{code:`LA`,name:`Laos`},geometry:{type:`Polygon`,coordinates:[[[107.382727,14.202441],[106.496373,14.570584],[106.043946,13.881091],[105.218777,14.273212],[105.544338,14.723934],[105.589039,15.570316],[104.779321,16.441865],[104.716947,17.428859],[103.956477,18.240954],[103.200192,18.309632],[102.998706,17.961695],[102.413005,17.932782],[102.113592,18.109102],[101.059548,17.512497],[101.035931,18.408928],[101.282015,19.462585],[100.606294,19.508344],[100.548881,20.109238],[100.115988,20.41785],[100.329101,20.786122],[101.180005,21.436573],[101.270026,21.201652],[101.80312,21.174367],[101.652018,22.318199],[102.170436,22.464753],[102.754896,21.675137],[103.203861,20.766562],[104.435,20.758733],[104.822574,19.886642],[104.183388,19.624668],[103.896532,19.265181],[105.094598,18.666975],[105.925762,17.485315],[106.556008,16.604284],[107.312706,15.908538],[107.564525,15.202173],[107.382727,14.202441]]]}},{type:`Feature`,properties:{code:`MM`,name:`Myanmar`},geometry:{type:`Polygon`,coordinates:[[[100.115988,20.41785],[99.543309,20.186598],[98.959676,19.752981],[98.253724,19.708203],[97.797783,18.62708],[97.375896,18.445438],[97.859123,17.567946],[98.493761,16.837836],[98.903348,16.177824],[98.537376,15.308497],[98.192074,15.123703],[98.430819,14.622028],[99.097755,13.827503],[99.212012,13.269294],[99.196354,12.804748],[99.587286,11.892763],[99.038121,10.960546],[98.553551,9.93296],[98.457174,10.675266],[98.764546,11.441292],[98.428339,12.032987],[98.509574,13.122378],[98.103604,13.64046],[97.777732,14.837286],[97.597072,16.100568],[97.16454,16.928734],[96.505769,16.427241],[95.369352,15.71439],[94.808405,15.803454],[94.188804,16.037936],[94.533486,17.27724],[94.324817,18.213514],[93.540988,19.366493],[93.663255,19.726962],[93.078278,19.855145],[92.368554,20.670883],[92.303234,21.475485],[92.652257,21.324048],[92.672721,22.041239],[93.166128,22.27846],[93.060294,22.703111],[93.286327,23.043658],[93.325188,24.078556],[94.106742,23.850741],[94.552658,24.675238],[94.603249,25.162495],[95.155153,26.001307],[95.124768,26.573572],[96.419366,27.264589],[97.133999,27.083774],[97.051989,27.699059],[97.402561,27.882536],[97.327114,28.261583],[97.911988,28.335945],[98.246231,27.747221],[98.68269,27.508812],[98.712094,26.743536],[98.671838,25.918703],[97.724609,25.083637],[97.60472,23.897405],[98.660262,24.063286],[98.898749,23.142722],[99.531992,22.949039],[99.240899,22.118314],[99.983489,21.742937],[100.416538,21.558839],[101.150033,21.849984],[101.180005,21.436573],[100.329101,20.786122],[100.115988,20.41785]]]}},{type:`Feature`,properties:{code:`VN`,name:`Vietnam`},geometry:{type:`Polygon`,coordinates:[[[104.334335,10.486544],[105.199915,10.88931],[106.24967,10.961812],[105.810524,11.567615],[107.491403,12.337206],[107.614548,13.535531],[107.382727,14.202441],[107.564525,15.202173],[107.312706,15.908538],[106.556008,16.604284],[105.925762,17.485315],[105.094598,18.666975],[103.896532,19.265181],[104.183388,19.624668],[104.822574,19.886642],[104.435,20.758733],[103.203861,20.766562],[102.754896,21.675137],[102.170436,22.464753],[102.706992,22.708795],[103.504515,22.703757],[104.476858,22.81915],[105.329209,23.352063],[105.811247,22.976892],[106.725403,22.794268],[106.567273,22.218205],[107.04342,21.811899],[108.05018,21.55238],[106.715068,20.696851],[105.881682,19.75205],[105.662006,19.058165],[106.426817,18.004121],[107.361954,16.697457],[108.269495,16.079742],[108.877107,15.276691],[109.33527,13.426028],[109.200136,11.666859],[108.36613,11.008321],[107.220929,10.364484],[106.405113,9.53084],[105.158264,8.59976],[104.795185,9.241038],[105.076202,9.918491],[104.334335,10.486544]]]}},{type:`Feature`,properties:{code:`KP`,name:`North Korea`},geometry:{type:`MultiPolygon`,coordinates:[[[[130.780004,42.220008],[130.780005,42.22001],[130.780007,42.220007],[130.780004,42.220008]]],[[[130.64,42.395024],[130.64,42.395],[130.779992,42.22001],[130.400031,42.280004],[129.965949,41.941368],[129.667362,41.601104],[129.705189,40.882828],[129.188115,40.661808],[129.0104,40.485436],[128.633368,40.189847],[127.967414,40.025413],[127.533436,39.75685],[127.50212,39.323931],[127.385434,39.213472],[127.783343,39.050898],[128.349716,38.612243],[128.205746,38.370397],[127.780035,38.304536],[127.073309,38.256115],[126.68372,37.804773],[126.237339,37.840378],[126.174759,37.749686],[125.689104,37.94001],[125.568439,37.752089],[125.27533,37.669071],[125.240087,37.857224],[124.981033,37.948821],[124.712161,38.108346],[124.985994,38.548474],[125.221949,38.665857],[125.132859,38.848559],[125.38659,39.387958],[125.321116,39.551385],[124.737482,39.660344],[124.265625,39.928493],[125.079942,40.569824],[126.182045,41.107336],[126.869083,41.816569],[127.343783,41.503152],[128.208433,41.466772],[128.052215,41.994285],[129.596669,42.424982],[129.994267,42.985387],[130.64,42.395024]]]]}},{type:`Feature`,properties:{code:`KR`,name:`South Korea`},geometry:{type:`Polygon`,coordinates:[[[126.174759,37.749686],[126.237339,37.840378],[126.68372,37.804773],[127.073309,38.256115],[127.780035,38.304536],[128.205746,38.370397],[128.349716,38.612243],[129.21292,37.432392],[129.46045,36.784189],[129.468304,35.632141],[129.091377,35.082484],[128.18585,34.890377],[127.386519,34.475674],[126.485748,34.390046],[126.37392,34.93456],[126.559231,35.684541],[126.117398,36.725485],[126.860143,36.893924],[126.174759,37.749686]]]}},{type:`Feature`,properties:{code:`MN`,name:`Mongolia`},geometry:{type:`Polygon`,coordinates:[[[87.751264,49.297198],[88.805567,49.470521],[90.713667,50.331812],[92.234712,50.802171],[93.10421,50.49529],[94.147566,50.480537],[94.815949,50.013433],[95.81402,49.97746],[97.25976,49.72605],[98.231762,50.422401],[97.82574,51.010995],[98.861491,52.047366],[99.981732,51.634006],[100.88948,51.516856],[102.06521,51.25991],[102.25589,50.51056],[103.676545,50.089966],[104.62158,50.27532],[105.886591,50.406019],[106.888804,50.274296],[107.868176,49.793705],[108.475167,49.282548],[109.402449,49.292961],[110.662011,49.130128],[111.581231,49.377968],[112.89774,49.543565],[114.362456,50.248303],[114.96211,50.140247],[115.485695,49.805177],[116.678801,49.888531],[116.191802,49.134598],[115.485282,48.135383],[115.742837,47.726545],[116.308953,47.85341],[117.295507,47.697709],[118.064143,48.06673],[118.866574,47.74706],[119.772824,47.048059],[119.66327,46.69268],[118.874326,46.805412],[117.421701,46.672733],[116.717868,46.388202],[115.985096,45.727235],[114.460332,45.339817],[113.463907,44.808893],[112.436062,45.011646],[111.873306,45.102079],[111.348377,44.457442],[111.667737,44.073176],[111.829588,43.743118],[111.129682,43.406834],[110.412103,42.871234],[109.243596,42.519446],[107.744773,42.481516],[106.129316,42.134328],[104.964994,41.59741],[104.522282,41.908347],[103.312278,41.907468],[101.83304,42.514873],[100.845866,42.663804],[99.515817,42.524691],[97.451757,42.74889],[96.349396,42.725635],[95.762455,43.319449],[95.306875,44.241331],[94.688929,44.352332],[93.480734,44.975472],[92.133891,45.115076],[90.94554,45.286073],[90.585768,45.719716],[90.970809,46.888146],[90.280826,47.693549],[88.854298,48.069082],[88.013832,48.599463],[87.751264,49.297198]]]}},{type:`Feature`,properties:{code:`IN`,name:`India`},geometry:{type:`Polygon`,coordinates:[[[97.327114,28.261583],[97.402561,27.882536],[97.051989,27.699059],[97.133999,27.083774],[96.419366,27.264589],[95.124768,26.573572],[95.155153,26.001307],[94.603249,25.162495],[94.552658,24.675238],[94.106742,23.850741],[93.325188,24.078556],[93.286327,23.043658],[93.060294,22.703111],[93.166128,22.27846],[92.672721,22.041239],[92.146035,23.627499],[91.869928,23.624346],[91.706475,22.985264],[91.158963,23.503527],[91.46773,24.072639],[91.915093,24.130414],[92.376202,24.976693],[91.799596,25.147432],[90.872211,25.132601],[89.920693,25.26975],[89.832481,25.965082],[89.355094,26.014407],[88.563049,26.446526],[88.209789,25.768066],[88.931554,25.238692],[88.306373,24.866079],[88.084422,24.501657],[88.69994,24.233715],[88.52977,23.631142],[88.876312,22.879146],[89.031961,22.055708],[88.888766,21.690588],[88.208497,21.703172],[86.975704,21.495562],[87.033169,20.743308],[86.499351,20.151638],[85.060266,19.478579],[83.941006,18.30201],[83.189217,17.671221],[82.192792,17.016636],[82.191242,16.556664],[81.692719,16.310219],[80.791999,15.951972],[80.324896,15.899185],[80.025069,15.136415],[80.233274,13.835771],[80.286294,13.006261],[79.862547,12.056215],[79.857999,10.357275],[79.340512,10.308854],[78.885345,9.546136],[79.18972,9.216544],[78.277941,8.933047],[77.941165,8.252959],[77.539898,7.965535],[76.592979,8.899276],[76.130061,10.29963],[75.746467,11.308251],[75.396101,11.781245],[74.864816,12.741936],[74.616717,13.992583],[74.443859,14.617222],[73.534199,15.990652],[73.119909,17.92857],[72.820909,19.208234],[72.824475,20.419503],[72.630533,21.356009],[71.175273,20.757441],[70.470459,20.877331],[69.16413,22.089298],[69.644928,22.450775],[69.349597,22.84318],[68.176645,23.691965],[68.842599,24.359134],[71.04324,24.356524],[70.844699,25.215102],[70.282873,25.722229],[70.168927,26.491872],[69.514393,26.940966],[70.616496,27.989196],[71.777666,27.91318],[72.823752,28.961592],[73.450638,29.976413],[74.42138,30.979815],[74.405929,31.692639],[75.258642,32.271105],[74.451559,32.7649],[74.104294,33.441473],[73.749948,34.317699],[74.240203,34.748887],[75.757061,34.504923],[76.871722,34.653544],[77.837451,35.49401],[78.912269,34.321936],[78.811086,33.506198],[79.208892,32.994395],[79.176129,32.48378],[78.458446,32.618164],[78.738894,31.515906],[79.721367,30.882715],[81.111256,30.183481],[80.476721,29.729865],[80.088425,28.79447],[81.057203,28.416095],[81.999987,27.925479],[83.304249,27.364506],[84.675018,27.234901],[85.251779,26.726198],[86.024393,26.630985],[87.227472,26.397898],[88.060238,26.414615],[88.174804,26.810405],[88.043133,27.445819],[88.120441,27.876542],[88.730326,28.086865],[88.814248,27.299316],[88.835643,27.098966],[89.744528,26.719403],[90.373275,26.875724],[91.217513,26.808648],[92.033484,26.83831],[92.103712,27.452614],[91.696657,27.771742],[92.503119,27.896876],[93.413348,28.640629],[94.56599,29.277438],[95.404802,29.031717],[96.117679,29.452802],[96.586591,28.83098],[96.248833,28.411031],[97.327114,28.261583]]]}},{type:`Feature`,properties:{code:`BD`,name:`Bangladesh`},geometry:{type:`Polygon`,coordinates:[[[92.672721,22.041239],[92.652257,21.324048],[92.303234,21.475485],[92.368554,20.670883],[92.082886,21.192195],[92.025215,21.70157],[91.834891,22.182936],[91.417087,22.765019],[90.496006,22.805017],[90.586957,22.392794],[90.272971,21.836368],[89.847467,22.039146],[89.70205,21.857116],[89.418863,21.966179],[89.031961,22.055708],[88.876312,22.879146],[88.52977,23.631142],[88.69994,24.233715],[88.084422,24.501657],[88.306373,24.866079],[88.931554,25.238692],[88.209789,25.768066],[88.563049,26.446526],[89.355094,26.014407],[89.832481,25.965082],[89.920693,25.26975],[90.872211,25.132601],[91.799596,25.147432],[92.376202,24.976693],[91.915093,24.130414],[91.46773,24.072639],[91.158963,23.503527],[91.706475,22.985264],[91.869928,23.624346],[92.146035,23.627499],[92.672721,22.041239]]]}},{type:`Feature`,properties:{code:`BT`,name:`Bhutan`},geometry:{type:`Polygon`,coordinates:[[[91.696657,27.771742],[92.103712,27.452614],[92.033484,26.83831],[91.217513,26.808648],[90.373275,26.875724],[89.744528,26.719403],[88.835643,27.098966],[88.814248,27.299316],[89.47581,28.042759],[90.015829,28.296439],[90.730514,28.064954],[91.258854,28.040614],[91.696657,27.771742]]]}},{type:`Feature`,properties:{code:`NP`,name:`Nepal`},geometry:{type:`Polygon`,coordinates:[[[88.120441,27.876542],[88.043133,27.445819],[88.174804,26.810405],[88.060238,26.414615],[87.227472,26.397898],[86.024393,26.630985],[85.251779,26.726198],[84.675018,27.234901],[83.304249,27.364506],[81.999987,27.925479],[81.057203,28.416095],[80.088425,28.79447],[80.476721,29.729865],[81.111256,30.183481],[81.525804,30.422717],[82.327513,30.115268],[83.337115,29.463732],[83.898993,29.320226],[84.23458,28.839894],[85.011638,28.642774],[85.82332,28.203576],[86.954517,27.974262],[88.120441,27.876542]]]}},{type:`Feature`,properties:{code:`PK`,name:`Pakistan`},geometry:{type:`Polygon`,coordinates:[[[77.837451,35.49401],[76.871722,34.653544],[75.757061,34.504923],[74.240203,34.748887],[73.749948,34.317699],[74.104294,33.441473],[74.451559,32.7649],[75.258642,32.271105],[74.405929,31.692639],[74.42138,30.979815],[73.450638,29.976413],[72.823752,28.961592],[71.777666,27.91318],[70.616496,27.989196],[69.514393,26.940966],[70.168927,26.491872],[70.282873,25.722229],[70.844699,25.215102],[71.04324,24.356524],[68.842599,24.359134],[68.176645,23.691965],[67.443667,23.944844],[67.145442,24.663611],[66.372828,25.425141],[64.530408,25.237039],[62.905701,25.218409],[61.497363,25.078237],[61.874187,26.239975],[63.316632,26.756532],[63.233898,27.217047],[62.755426,27.378923],[62.72783,28.259645],[61.771868,28.699334],[61.369309,29.303276],[60.874248,29.829239],[62.549857,29.318572],[63.550261,29.468331],[64.148002,29.340819],[64.350419,29.560031],[65.046862,29.472181],[66.346473,29.887943],[66.381458,30.738899],[66.938891,31.304911],[67.683394,31.303154],[67.792689,31.58293],[68.556932,31.71331],[68.926677,31.620189],[69.317764,31.901412],[69.262522,32.501944],[69.687147,33.105499],[70.323594,33.358533],[69.930543,34.02012],[70.881803,33.988856],[71.156773,34.348911],[71.115019,34.733126],[71.613076,35.153203],[71.498768,35.650563],[71.262348,36.074388],[71.846292,36.509942],[72.920025,36.720007],[74.067552,36.836176],[74.575893,37.020841],[75.158028,37.133031],[75.896897,36.666806],[76.192848,35.898403],[77.837451,35.49401]]]}},{type:`Feature`,properties:{code:`AF`,name:`Afghanistan`},geometry:{type:`Polygon`,coordinates:[[[66.518607,37.362784],[67.075782,37.356144],[67.83,37.144994],[68.135562,37.023115],[68.859446,37.344336],[69.196273,37.151144],[69.518785,37.608997],[70.116578,37.588223],[70.270574,37.735165],[70.376304,38.138396],[70.806821,38.486282],[71.348131,38.258905],[71.239404,37.953265],[71.541918,37.905774],[71.448693,37.065645],[71.844638,36.738171],[72.193041,36.948288],[72.63689,37.047558],[73.260056,37.495257],[73.948696,37.421566],[74.980002,37.41999],[75.158028,37.133031],[74.575893,37.020841],[74.067552,36.836176],[72.920025,36.720007],[71.846292,36.509942],[71.262348,36.074388],[71.498768,35.650563],[71.613076,35.153203],[71.115019,34.733126],[71.156773,34.348911],[70.881803,33.988856],[69.930543,34.02012],[70.323594,33.358533],[69.687147,33.105499],[69.262522,32.501944],[69.317764,31.901412],[68.926677,31.620189],[68.556932,31.71331],[67.792689,31.58293],[67.683394,31.303154],[66.938891,31.304911],[66.381458,30.738899],[66.346473,29.887943],[65.046862,29.472181],[64.350419,29.560031],[64.148002,29.340819],[63.550261,29.468331],[62.549857,29.318572],[60.874248,29.829239],[61.781222,30.73585],[61.699314,31.379506],[60.941945,31.548075],[60.863655,32.18292],[60.536078,32.981269],[60.9637,33.528832],[60.52843,33.676446],[60.803193,34.404102],[61.210817,35.650072],[62.230651,35.270664],[62.984662,35.404041],[63.193538,35.857166],[63.982896,36.007957],[64.546479,36.312073],[64.746105,37.111818],[65.588948,37.305217],[65.745631,37.661164],[66.217385,37.39379],[66.518607,37.362784]]]}},{type:`Feature`,properties:{code:`TJ`,name:`Tajikistan`},geometry:{type:`Polygon`,coordinates:[[[67.83,37.144994],[68.392033,38.157025],[68.176025,38.901553],[67.44222,39.140144],[67.701429,39.580478],[68.536416,39.533453],[69.011633,40.086158],[69.329495,40.727824],[70.666622,40.960213],[70.45816,40.496495],[70.601407,40.218527],[71.014198,40.244366],[70.648019,39.935754],[69.55961,40.103211],[69.464887,39.526683],[70.549162,39.604198],[71.784694,39.279463],[73.675379,39.431237],[73.928852,38.505815],[74.257514,38.606507],[74.864816,38.378846],[74.829986,37.990007],[74.980002,37.41999],[73.948696,37.421566],[73.260056,37.495257],[72.63689,37.047558],[72.193041,36.948288],[71.844638,36.738171],[71.448693,37.065645],[71.541918,37.905774],[71.239404,37.953265],[71.348131,38.258905],[70.806821,38.486282],[70.376304,38.138396],[70.270574,37.735165],[70.116578,37.588223],[69.518785,37.608997],[69.196273,37.151144],[68.859446,37.344336],[68.135562,37.023115],[67.83,37.144994]]]}},{type:`Feature`,properties:{code:`KG`,name:`Kyrgyzstan`},geometry:{type:`Polygon`,coordinates:[[[70.962315,42.266154],[71.186281,42.704293],[71.844638,42.845395],[73.489758,42.500894],[73.645304,43.091272],[74.212866,43.298339],[75.636965,42.8779],[76.000354,42.988022],[77.658392,42.960686],[79.142177,42.856092],[79.643645,42.496683],[80.25999,42.349999],[80.11943,42.123941],[78.543661,41.582243],[78.187197,41.185316],[76.904484,41.066486],[76.526368,40.427946],[75.467828,40.562072],[74.776862,40.366425],[73.822244,39.893973],[73.960013,39.660008],[73.675379,39.431237],[71.784694,39.279463],[70.549162,39.604198],[69.464887,39.526683],[69.55961,40.103211],[70.648019,39.935754],[71.014198,40.244366],[71.774875,40.145844],[73.055417,40.866033],[71.870115,41.3929],[71.157859,41.143587],[70.420022,41.519998],[71.259248,42.167711],[70.962315,42.266154]]]}},{type:`Feature`,properties:{code:`TM`,name:`Turkmenistan`},geometry:{type:`Polygon`,coordinates:[[[52.50246,41.783316],[52.944293,42.116034],[54.079418,42.324109],[54.755345,42.043971],[55.455251,41.259859],[55.968191,41.308642],[57.096391,41.32231],[56.932215,41.826026],[57.78653,42.170553],[58.629011,42.751551],[59.976422,42.223082],[60.083341,41.425146],[60.465953,41.220327],[61.547179,41.26637],[61.882714,41.084857],[62.37426,40.053886],[63.518015,39.363257],[64.170223,38.892407],[65.215999,38.402695],[66.54615,37.974685],[66.518607,37.362784],[66.217385,37.39379],[65.745631,37.661164],[65.588948,37.305217],[64.746105,37.111818],[64.546479,36.312073],[63.982896,36.007957],[63.193538,35.857166],[62.984662,35.404041],[62.230651,35.270664],[61.210817,35.650072],[61.123071,36.491597],[60.377638,36.527383],[59.234762,37.412988],[58.436154,37.522309],[57.330434,38.029229],[56.619366,38.121394],[56.180375,37.935127],[55.511578,37.964117],[54.800304,37.392421],[53.921598,37.198918],[53.735511,37.906136],[53.880929,38.952093],[53.101028,39.290574],[53.357808,39.975286],[52.693973,40.033629],[52.915251,40.876523],[53.858139,40.631034],[54.736845,40.951015],[54.008311,41.551211],[53.721713,42.123191],[52.91675,41.868117],[52.814689,41.135371],[52.50246,41.783316]]]}},{type:`Feature`,properties:{code:`IR`,name:`Iran`},geometry:{type:`Polygon`,coordinates:[[[48.567971,29.926778],[48.014568,30.452457],[48.004698,30.985137],[47.685286,30.984853],[47.849204,31.709176],[47.334661,32.469155],[46.109362,33.017287],[45.416691,33.967798],[45.64846,34.748138],[46.151788,35.093259],[46.07634,35.677383],[45.420618,35.977546],[44.772677,37.170437],[44.77267,37.17045],[44.225756,37.971584],[44.421403,38.281281],[44.109225,39.428136],[44.79399,39.713003],[44.952688,39.335765],[45.457722,38.874139],[46.143623,38.741201],[46.50572,38.770605],[47.685079,39.508364],[48.060095,39.582235],[48.355529,39.288765],[48.010744,38.794015],[48.634375,38.270378],[48.883249,38.320245],[49.199612,37.582874],[50.147771,37.374567],[50.842354,36.872814],[52.264025,36.700422],[53.82579,36.965031],[53.921598,37.198918],[54.800304,37.392421],[55.511578,37.964117],[56.180375,37.935127],[56.619366,38.121394],[57.330434,38.029229],[58.436154,37.522309],[59.234762,37.412988],[60.377638,36.527383],[61.123071,36.491597],[61.210817,35.650072],[60.803193,34.404102],[60.52843,33.676446],[60.9637,33.528832],[60.536078,32.981269],[60.863655,32.18292],[60.941945,31.548075],[61.699314,31.379506],[61.781222,30.73585],[60.874248,29.829239],[61.369309,29.303276],[61.771868,28.699334],[62.72783,28.259645],[62.755426,27.378923],[63.233898,27.217047],[63.316632,26.756532],[61.874187,26.239975],[61.497363,25.078237],[59.616134,25.380157],[58.525761,25.609962],[57.397251,25.739902],[56.970766,26.966106],[56.492139,27.143305],[55.72371,26.964633],[54.71509,26.480658],[53.493097,26.812369],[52.483598,27.580849],[51.520763,27.86569],[50.852948,28.814521],[50.115009,30.147773],[49.57685,29.985715],[48.941333,30.31709],[48.567971,29.926778]]]}},{type:`Feature`,properties:{code:`SY`,name:`Syria`},geometry:{type:`Polygon`,coordinates:[[[35.719918,32.709192],[35.700798,32.716014],[35.836397,32.868123],[35.821101,33.277426],[36.06646,33.824912],[36.61175,34.201789],[36.448194,34.593935],[35.998403,34.644914],[35.905023,35.410009],[36.149763,35.821535],[36.41755,36.040617],[36.685389,36.259699],[36.739494,36.81752],[37.066761,36.623036],[38.167727,36.90121],[38.699891,36.712927],[39.52258,36.716054],[40.673259,37.091276],[41.212089,37.074352],[42.349591,37.229873],[41.837064,36.605854],[41.289707,36.358815],[41.383965,35.628317],[41.006159,34.419372],[38.792341,33.378686],[36.834062,32.312938],[35.719918,32.709192]]]}},{type:`Feature`,properties:{code:`AM`,name:`Armenia`},geometry:{type:`Polygon`,coordinates:[[[46.50572,38.770605],[46.143623,38.741201],[45.735379,39.319719],[45.739978,39.473999],[45.298145,39.471751],[45.001987,39.740004],[44.79399,39.713003],[44.400009,40.005],[43.656436,40.253564],[43.752658,40.740201],[43.582746,41.092143],[44.97248,41.248129],[45.179496,40.985354],[45.560351,40.81229],[45.359175,40.561504],[45.891907,40.218476],[45.610012,39.899994],[46.034534,39.628021],[46.483499,39.464155],[46.50572,38.770605]]]}},{type:`Feature`,properties:{code:`SE`,name:`Sweden`},geometry:{type:`Polygon`,coordinates:[[[11.027369,58.856149],[11.468272,59.432393],[12.300366,60.117933],[12.631147,61.293572],[11.992064,61.800362],[11.930569,63.128318],[12.579935,64.066219],[13.571916,64.049114],[13.919905,64.445421],[13.55569,64.787028],[15.108411,66.193867],[16.108712,67.302456],[16.768879,68.013937],[17.729182,68.010552],[17.993868,68.567391],[19.87856,68.407194],[20.025269,69.065139],[20.645593,69.106247],[21.978535,68.616846],[23.539473,67.936009],[23.56588,66.396051],[23.903379,66.006927],[22.183173,65.723741],[21.213517,65.026005],[21.369631,64.413588],[19.778876,63.609554],[17.847779,62.7494],[17.119555,61.341166],[17.831346,60.636583],[18.787722,60.081914],[17.869225,58.953766],[16.829185,58.719827],[16.44771,57.041118],[15.879786,56.104302],[14.666681,56.200885],[14.100721,55.407781],[12.942911,55.361737],[12.625101,56.30708],[11.787942,57.441817],[11.027369,58.856149]]]}},{type:`Feature`,properties:{code:`BY`,name:`Belarus`},geometry:{type:`Polygon`,coordinates:[[[28.176709,56.16913],[29.229513,55.918344],[29.371572,55.670091],[29.896294,55.789463],[30.873909,55.550976],[30.971836,55.081548],[30.757534,54.811771],[31.384472,54.157056],[31.791424,53.974639],[31.731273,53.794029],[32.405599,53.618045],[32.693643,53.351421],[32.304519,53.132726],[31.49764,53.16743],[31.305201,53.073996],[31.540018,52.742052],[31.78597,52.10168],[31.785992,52.101678],[30.927549,52.042353],[30.619454,51.822806],[30.555117,51.319503],[30.157364,51.416138],[29.254938,51.368234],[28.992835,51.602044],[28.617613,51.427714],[28.241615,51.572227],[27.454066,51.592303],[26.337959,51.832289],[25.327788,51.910656],[24.553106,51.888461],[24.005078,51.617444],[23.527071,51.578454],[23.508002,52.023647],[23.199494,52.486977],[23.799199,52.691099],[23.804935,53.089731],[23.527536,53.470122],[23.484128,53.912498],[24.450684,53.905702],[25.536354,54.282423],[25.768433,54.846963],[26.588279,55.167176],[26.494331,55.615107],[27.10246,55.783314],[28.176709,56.16913]]]}},{type:`Feature`,properties:{code:`UA`,name:`Ukraine`},geometry:{type:`Polygon`,coordinates:[[[31.785992,52.101678],[32.15944,52.06125],[32.412058,52.288695],[32.715761,52.238465],[33.7527,52.335075],[34.391731,51.768882],[34.141978,51.566413],[34.224816,51.255993],[35.022183,51.207572],[35.37791,50.77394],[35.356116,50.577197],[36.626168,50.225591],[37.39346,50.383953],[38.010631,49.915662],[38.594988,49.926462],[40.06904,49.60105],[40.080789,49.30743],[39.67465,48.78382],[39.89562,48.23241],[39.738278,47.898937],[38.77057,47.82562],[38.255112,47.5464],[38.223538,47.10219],[37.425137,47.022221],[36.759855,46.6987],[35.823685,46.645964],[34.962342,46.273197],[35.012659,45.737725],[34.861792,45.768182],[34.732017,45.965666],[34.410402,46.005162],[33.699462,46.219573],[33.435988,45.971917],[33.298567,46.080598],[31.74414,46.333348],[31.675307,46.706245],[30.748749,46.5831],[30.377609,46.03241],[29.603289,45.293308],[29.149725,45.464925],[28.679779,45.304031],[28.233554,45.488283],[28.485269,45.596907],[28.659987,45.939987],[28.933717,46.25883],[28.862972,46.437889],[29.072107,46.517678],[29.170654,46.379262],[29.759972,46.349988],[30.024659,46.423937],[29.83821,46.525326],[29.908852,46.674361],[29.559674,46.928583],[29.415135,47.346645],[29.050868,47.510227],[29.122698,47.849095],[28.670891,48.118149],[28.259547,48.155562],[27.522537,48.467119],[26.857824,48.368211],[26.619337,48.220726],[26.19745,48.220881],[25.945941,47.987149],[25.207743,47.891056],[24.866317,47.737526],[24.402056,47.981878],[23.760958,47.985598],[23.142236,48.096341],[22.710531,47.882194],[22.64082,48.15024],[22.085608,48.422264],[22.280842,48.825392],[22.558138,49.085738],[22.776419,49.027395],[22.51845,49.476774],[23.426508,50.308506],[23.922757,50.424881],[24.029986,50.705407],[23.527071,51.578454],[24.005078,51.617444],[24.553106,51.888461],[25.327788,51.910656],[26.337959,51.832289],[27.454066,51.592303],[28.241615,51.572227],[28.617613,51.427714],[28.992835,51.602044],[29.254938,51.368234],[30.157364,51.416138],[30.555117,51.319503],[30.619454,51.822806],[30.927549,52.042353],[31.785992,52.101678]]]}},{type:`Feature`,properties:{code:`PL`,name:`Poland`},geometry:{type:`Polygon`,coordinates:[[[23.484128,53.912498],[23.527536,53.470122],[23.804935,53.089731],[23.799199,52.691099],[23.199494,52.486977],[23.508002,52.023647],[23.527071,51.578454],[24.029986,50.705407],[23.922757,50.424881],[23.426508,50.308506],[22.51845,49.476774],[22.776419,49.027395],[22.558138,49.085738],[21.607808,49.470107],[20.887955,49.328772],[20.415839,49.431453],[19.825023,49.217125],[19.320713,49.571574],[18.909575,49.435846],[18.853144,49.49623],[18.392914,49.988629],[17.649445,50.049038],[17.554567,50.362146],[16.868769,50.473974],[16.719476,50.215747],[16.176253,50.422607],[16.238627,50.697733],[15.490972,50.78473],[15.016996,51.106674],[14.607098,51.745188],[14.685026,52.089947],[14.4376,52.62485],[14.074521,52.981263],[14.353315,53.248171],[14.119686,53.757029],[14.8029,54.050706],[16.363477,54.513159],[17.622832,54.851536],[18.620859,54.682606],[18.696255,54.438719],[19.66064,54.426084],[20.892245,54.312525],[22.731099,54.327537],[23.243987,54.220567],[23.484128,53.912498]]]}},{type:`Feature`,properties:{code:`AT`,name:`Austria`},geometry:{type:`Polygon`,coordinates:[[[16.979667,48.123497],[16.903754,47.714866],[16.340584,47.712902],[16.534268,47.496171],[16.202298,46.852386],[16.011664,46.683611],[15.137092,46.658703],[14.632472,46.431817],[13.806475,46.509306],[12.376485,46.767559],[12.153088,47.115393],[11.164828,46.941579],[11.048556,46.751359],[10.442701,46.893546],[9.932448,46.920728],[9.47997,47.10281],[9.632932,47.347601],[9.594226,47.525058],[9.896068,47.580197],[10.402084,47.302488],[10.544504,47.566399],[11.426414,47.523766],[12.141357,47.703083],[12.62076,47.672388],[12.932627,47.467646],[13.025851,47.637584],[12.884103,48.289146],[13.243357,48.416115],[13.595946,48.877172],[14.338898,48.555305],[14.901447,48.964402],[15.253416,49.039074],[16.029647,48.733899],[16.499283,48.785808],[16.960288,48.596982],[16.879983,48.470013],[16.979667,48.123497]]]}},{type:`Feature`,properties:{code:`HU`,name:`Hungary`},geometry:{type:`Polygon`,coordinates:[[[22.085608,48.422264],[22.64082,48.15024],[22.710531,47.882194],[22.099768,47.672439],[21.626515,46.994238],[21.021952,46.316088],[20.220192,46.127469],[19.596045,46.17173],[18.829838,45.908878],[18.829825,45.908872],[18.456062,45.759481],[17.630066,45.951769],[16.882515,46.380632],[16.564808,46.503751],[16.370505,46.841327],[16.202298,46.852386],[16.534268,47.496171],[16.340584,47.712902],[16.903754,47.714866],[16.979667,48.123497],[17.488473,47.867466],[17.857133,47.758429],[18.696513,47.880954],[18.777025,48.081768],[19.174365,48.111379],[19.661364,48.266615],[19.769471,48.202691],[20.239054,48.327567],[20.473562,48.56285],[20.801294,48.623854],[21.872236,48.319971],[22.085608,48.422264]]]}},{type:`Feature`,properties:{code:`MD`,name:`Moldova`},geometry:{type:`Polygon`,coordinates:[[[26.619337,48.220726],[26.857824,48.368211],[27.522537,48.467119],[28.259547,48.155562],[28.670891,48.118149],[29.122698,47.849095],[29.050868,47.510227],[29.415135,47.346645],[29.559674,46.928583],[29.908852,46.674361],[29.83821,46.525326],[30.024659,46.423937],[29.759972,46.349988],[29.170654,46.379262],[29.072107,46.517678],[28.862972,46.437889],[28.933717,46.25883],[28.659987,45.939987],[28.485269,45.596907],[28.233554,45.488283],[28.054443,45.944586],[28.160018,46.371563],[28.12803,46.810476],[27.551166,47.405117],[27.233873,47.826771],[26.924176,48.123264],[26.619337,48.220726]]]}},{type:`Feature`,properties:{code:`RO`,name:`Romania`},geometry:{type:`Polygon`,coordinates:[[[28.233554,45.488283],[28.679779,45.304031],[29.149725,45.464925],[29.603289,45.293308],[29.626543,45.035391],[29.141612,44.82021],[28.837858,44.913874],[28.558081,43.707462],[27.970107,43.812468],[27.2424,44.175986],[26.065159,43.943494],[25.569272,43.688445],[24.100679,43.741051],[23.332302,43.897011],[22.944832,43.823785],[22.65715,44.234923],[22.474008,44.409228],[22.705726,44.578003],[22.459022,44.702517],[22.145088,44.478422],[21.562023,44.768947],[21.483526,45.18117],[20.874313,45.416375],[20.762175,45.734573],[20.220192,46.127469],[21.021952,46.316088],[21.626515,46.994238],[22.099768,47.672439],[22.710531,47.882194],[23.142236,48.096341],[23.760958,47.985598],[24.402056,47.981878],[24.866317,47.737526],[25.207743,47.891056],[25.945941,47.987149],[26.19745,48.220881],[26.619337,48.220726],[26.924176,48.123264],[27.233873,47.826771],[27.551166,47.405117],[28.12803,46.810476],[28.160018,46.371563],[28.054443,45.944586],[28.233554,45.488283]]]}},{type:`Feature`,properties:{code:`LT`,name:`Lithuania`},geometry:{type:`Polygon`,coordinates:[[[26.494331,55.615107],[26.588279,55.167176],[25.768433,54.846963],[25.536354,54.282423],[24.450684,53.905702],[23.484128,53.912498],[23.243987,54.220567],[22.731099,54.327537],[22.651052,54.582741],[22.757764,54.856574],[22.315724,55.015299],[21.268449,55.190482],[21.0558,56.031076],[22.201157,56.337802],[23.878264,56.273671],[24.860684,56.372528],[25.000934,56.164531],[25.533047,56.100297],[26.494331,55.615107]]]}},{type:`Feature`,properties:{code:`LV`,name:`Latvia`},geometry:{type:`Polygon`,coordinates:[[[27.288185,57.474528],[27.770016,57.244258],[27.855282,56.759326],[28.176709,56.16913],[27.10246,55.783314],[26.494331,55.615107],[25.533047,56.100297],[25.000934,56.164531],[24.860684,56.372528],[23.878264,56.273671],[22.201157,56.337802],[21.0558,56.031076],[21.090424,56.783873],[21.581866,57.411871],[22.524341,57.753374],[23.318453,57.006236],[24.12073,57.025693],[24.312863,57.793424],[25.164594,57.970157],[25.60281,57.847529],[26.463532,57.476389],[27.288185,57.474528]]]}},{type:`Feature`,properties:{code:`EE`,name:`Estonia`},geometry:{type:`Polygon`,coordinates:[[[27.981127,59.475373],[27.98112,59.47537],[28.131699,59.300825],[27.42015,58.72457],[27.716686,57.791899],[27.288185,57.474528],[26.463532,57.476389],[25.60281,57.847529],[25.164594,57.970157],[24.312863,57.793424],[24.428928,58.383413],[24.061198,58.257375],[23.42656,58.612753],[23.339795,59.18724],[24.604214,59.465854],[25.864189,59.61109],[26.949136,59.445803],[27.981114,59.475388],[27.981127,59.475373]]]}},{type:`Feature`,properties:{code:`DE`,name:`Germany`},geometry:{type:`Polygon`,coordinates:[[[14.119686,53.757029],[14.353315,53.248171],[14.074521,52.981263],[14.4376,52.62485],[14.685026,52.089947],[14.607098,51.745188],[15.016996,51.106674],[14.570718,51.002339],[14.307013,51.117268],[14.056228,50.926918],[13.338132,50.733234],[12.966837,50.484076],[12.240111,50.266338],[12.415191,49.969121],[12.521024,49.547415],[13.031329,49.307068],[13.595946,48.877172],[13.243357,48.416115],[12.884103,48.289146],[13.025851,47.637584],[12.932627,47.467646],[12.62076,47.672388],[12.141357,47.703083],[11.426414,47.523766],[10.544504,47.566399],[10.402084,47.302488],[9.896068,47.580197],[9.594226,47.525058],[8.522612,47.830828],[8.317301,47.61358],[7.466759,47.620582],[7.593676,48.333019],[8.099279,49.017784],[6.65823,49.201958],[6.18632,49.463803],[6.242751,49.902226],[6.043073,50.128052],[6.156658,50.803721],[5.988658,51.851616],[6.589397,51.852029],[6.84287,52.22844],[7.092053,53.144043],[6.90514,53.482162],[7.100425,53.693932],[7.936239,53.748296],[8.121706,53.527792],[8.800734,54.020786],[8.572118,54.395646],[8.526229,54.962744],[9.282049,54.830865],[9.921906,54.983104],[9.93958,54.596642],[10.950112,54.363607],[10.939467,54.008693],[11.956252,54.196486],[12.51844,54.470371],[13.647467,54.075511],[14.119686,53.757029]]]}},{type:`Feature`,properties:{code:`BG`,name:`Bulgaria`},geometry:{type:`Polygon`,coordinates:[[[22.65715,44.234923],[22.944832,43.823785],[23.332302,43.897011],[24.100679,43.741051],[25.569272,43.688445],[26.065159,43.943494],[27.2424,44.175986],[27.970107,43.812468],[28.558081,43.707462],[28.039095,43.293172],[27.673898,42.577892],[27.99672,42.007359],[27.135739,42.141485],[26.117042,41.826905],[26.106138,41.328899],[25.197201,41.234486],[24.492645,41.583896],[23.692074,41.309081],[22.952377,41.337994],[22.881374,41.999297],[22.380526,42.32026],[22.545012,42.461362],[22.436595,42.580321],[22.604801,42.898519],[22.986019,43.211161],[22.500157,43.642814],[22.410446,44.008063],[22.65715,44.234923]]]}},{type:`Feature`,properties:{code:`GR`,name:`Greece`},geometry:{type:`MultiPolygon`,coordinates:[[[[26.290003,35.29999],[26.164998,35.004995],[24.724982,34.919988],[24.735007,35.084991],[23.514978,35.279992],[23.69998,35.705004],[24.246665,35.368022],[25.025015,35.424996],[25.769208,35.354018],[25.745023,35.179998],[26.290003,35.29999]]],[[[22.952377,41.337994],[23.692074,41.309081],[24.492645,41.583896],[25.197201,41.234486],[26.106138,41.328899],[26.117042,41.826905],[26.604196,41.562115],[26.294602,40.936261],[26.056942,40.824123],[25.447677,40.852545],[24.925848,40.947062],[23.714811,40.687129],[24.407999,40.124993],[23.899968,39.962006],[23.342999,39.960998],[22.813988,40.476005],[22.626299,40.256561],[22.849748,39.659311],[23.350027,39.190011],[22.973099,38.970903],[23.530016,38.510001],[24.025025,38.219993],[24.040011,37.655015],[23.115003,37.920011],[23.409972,37.409991],[22.774972,37.30501],[23.154225,36.422506],[22.490028,36.41],[21.670026,36.844986],[21.295011,37.644989],[21.120034,38.310323],[20.730032,38.769985],[20.217712,39.340235],[20.150016,39.624998],[20.615,40.110007],[20.674997,40.435],[20.99999,40.580004],[21.02004,40.842727],[21.674161,40.931275],[22.055378,41.149866],[22.597308,41.130487],[22.76177,41.3048],[22.952377,41.337994]]]]}},{type:`Feature`,properties:{code:`TR`,name:`Turkey`},geometry:{type:`MultiPolygon`,coordinates:[[[[44.772677,37.170437],[44.293452,37.001514],[43.942259,37.256228],[42.779126,37.385264],[42.349591,37.229873],[41.212089,37.074352],[40.673259,37.091276],[39.52258,36.716054],[38.699891,36.712927],[38.167727,36.90121],[37.066761,36.623036],[36.739494,36.81752],[36.685389,36.259699],[36.41755,36.040617],[36.149763,35.821535],[35.782085,36.274995],[36.160822,36.650606],[35.550936,36.565443],[34.714553,36.795532],[34.026895,36.21996],[32.509158,36.107564],[31.699595,36.644275],[30.621625,36.677865],[30.391096,36.262981],[29.699976,36.144357],[28.732903,36.676831],[27.641187,36.658822],[27.048768,37.653361],[26.318218,38.208133],[26.8047,38.98576],[26.170785,39.463612],[27.28002,40.420014],[28.819978,40.460011],[29.240004,41.219991],[31.145934,41.087622],[32.347979,41.736264],[33.513283,42.01896],[35.167704,42.040225],[36.913127,41.335358],[38.347665,40.948586],[39.512607,41.102763],[40.373433,41.013673],[41.554084,41.535656],[42.619549,41.583173],[43.582746,41.092143],[43.752658,40.740201],[43.656436,40.253564],[44.400009,40.005],[44.79399,39.713003],[44.109225,39.428136],[44.421403,38.281281],[44.225756,37.971584],[44.77267,37.17045],[44.772677,37.170437]]],[[[26.117042,41.826905],[27.135739,42.141485],[27.99672,42.007359],[28.115525,41.622886],[28.988443,41.299934],[28.806438,41.054962],[27.619017,40.999823],[27.192377,40.690566],[26.358009,40.151994],[26.043351,40.617754],[26.056942,40.824123],[26.294602,40.936261],[26.604196,41.562115],[26.117042,41.826905]]]]}},{type:`Feature`,properties:{code:`AL`,name:`Albania`},geometry:{type:`Polygon`,coordinates:[[[21.02004,40.842727],[20.99999,40.580004],[20.674997,40.435],[20.615,40.110007],[20.150016,39.624998],[19.98,39.694993],[19.960002,39.915006],[19.406082,40.250773],[19.319059,40.72723],[19.40355,41.409566],[19.540027,41.719986],[19.371769,41.877548],[19.371768,41.877551],[19.304486,42.195745],[19.738051,42.688247],[19.801613,42.500093],[20.0707,42.58863],[20.283755,42.32026],[20.52295,42.21787],[20.590247,41.855409],[20.590247,41.855404],[20.463175,41.515089],[20.605182,41.086226],[21.02004,40.842727]]]}},{type:`Feature`,properties:{code:`HR`,name:`Croatia`},geometry:{type:`Polygon`,coordinates:[[[16.564808,46.503751],[16.882515,46.380632],[17.630066,45.951769],[18.456062,45.759481],[18.829825,45.908872],[19.072769,45.521511],[19.390476,45.236516],[19.005485,44.860234],[18.553214,45.08159],[17.861783,45.06774],[17.002146,45.233777],[16.534939,45.211608],[16.318157,45.004127],[15.959367,45.233777],[15.750026,44.818712],[16.23966,44.351143],[16.456443,44.04124],[16.916156,43.667722],[17.297373,43.446341],[17.674922,43.028563],[18.56,42.65],[18.450017,42.479992],[18.450016,42.479991],[17.50997,42.849995],[16.930006,43.209998],[16.015385,43.507215],[15.174454,44.243191],[15.37625,44.317915],[14.920309,44.738484],[14.901602,45.07606],[14.258748,45.233777],[13.952255,44.802124],[13.656976,45.136935],[13.679403,45.484149],[13.71506,45.500324],[14.411968,45.466166],[14.595109,45.634941],[14.935244,45.471695],[15.327675,45.452316],[15.323954,45.731783],[15.67153,45.834154],[15.768733,46.238108],[16.564808,46.503751]]]}},{type:`Feature`,properties:{code:`CH`,name:`Switzerland`},geometry:{type:`Polygon`,coordinates:[[[9.594226,47.525058],[9.632932,47.347601],[9.47997,47.10281],[9.932448,46.920728],[10.442701,46.893546],[10.363378,46.483571],[9.922837,46.314899],[9.182882,46.440215],[8.966306,46.036932],[8.489952,46.005151],[8.31663,46.163642],[7.755992,45.82449],[7.273851,45.776948],[6.843593,45.991147],[6.5001,46.429673],[6.022609,46.27299],[6.037389,46.725779],[6.768714,47.287708],[6.736571,47.541801],[7.192202,47.449766],[7.466759,47.620582],[8.317301,47.61358],[8.522612,47.830828],[9.594226,47.525058]]]}},{type:`Feature`,properties:{code:`LU`,name:`Luxembourg`},geometry:{type:`Polygon`,coordinates:[[[6.043073,50.128052],[6.242751,49.902226],[6.18632,49.463803],[5.897759,49.442667],[5.674052,49.529484],[5.782417,50.090328],[6.043073,50.128052]]]}},{type:`Feature`,properties:{code:`BE`,name:`Belgium`},geometry:{type:`Polygon`,coordinates:[[[6.156658,50.803721],[6.043073,50.128052],[5.782417,50.090328],[5.674052,49.529484],[4.799222,49.985373],[4.286023,49.907497],[3.588184,50.378992],[3.123252,50.780363],[2.658422,50.796848],[2.513573,51.148506],[3.314971,51.345781],[3.315011,51.345777],[3.314971,51.345755],[4.047071,51.267259],[4.973991,51.475024],[5.606976,51.037298],[6.156658,50.803721]]]}},{type:`Feature`,properties:{code:`NL`,name:`Netherlands`},geometry:{type:`Polygon`,coordinates:[[[6.90514,53.482162],[7.092053,53.144043],[6.84287,52.22844],[6.589397,51.852029],[5.988658,51.851616],[6.156658,50.803721],[5.606976,51.037298],[4.973991,51.475024],[4.047071,51.267259],[3.314971,51.345755],[3.315011,51.345777],[3.830289,51.620545],[4.705997,53.091798],[6.074183,53.510403],[6.90514,53.482162]]]}},{type:`Feature`,properties:{code:`PT`,name:`Portugal`},geometry:{type:`Polygon`,coordinates:[[[-9.034818,41.880571],[-8.671946,42.134689],[-8.263857,42.280469],[-8.013175,41.790886],[-7.422513,41.792075],[-7.251309,41.918346],[-6.668606,41.883387],[-6.389088,41.381815],[-6.851127,41.111083],[-6.86402,40.330872],[-7.026413,40.184524],[-7.066592,39.711892],[-7.498632,39.629571],[-7.098037,39.030073],[-7.374092,38.373059],[-7.029281,38.075764],[-7.166508,37.803894],[-7.537105,37.428904],[-7.453726,37.097788],[-7.855613,36.838269],[-8.382816,36.97888],[-8.898857,36.868809],[-8.746101,37.651346],[-8.839998,38.266243],[-9.287464,38.358486],[-9.526571,38.737429],[-9.446989,39.392066],[-9.048305,39.755093],[-8.977353,40.159306],[-8.768684,40.760639],[-8.790853,41.184334],[-8.990789,41.543459],[-9.034818,41.880571]]]}},{type:`Feature`,properties:{code:`ES`,name:`Spain`},geometry:{type:`Polygon`,coordinates:[[[-7.453726,37.097788],[-7.537105,37.428904],[-7.166508,37.803894],[-7.029281,38.075764],[-7.374092,38.373059],[-7.098037,39.030073],[-7.498632,39.629571],[-7.066592,39.711892],[-7.026413,40.184524],[-6.86402,40.330872],[-6.851127,41.111083],[-6.389088,41.381815],[-6.668606,41.883387],[-7.251309,41.918346],[-7.422513,41.792075],[-8.013175,41.790886],[-8.263857,42.280469],[-8.671946,42.134689],[-9.034818,41.880571],[-8.984433,42.592775],[-9.392884,43.026625],[-7.97819,43.748338],[-6.754492,43.567909],[-5.411886,43.57424],[-4.347843,43.403449],[-3.517532,43.455901],[-1.901351,43.422802],[-1.502771,43.034014],[.338047,42.579546],[.701591,42.795734],[1.826793,42.343385],[2.985999,42.473015],[3.039484,41.89212],[2.091842,41.226089],[.810525,41.014732],[.721331,40.678318],[.106692,40.123934],[-.278711,39.309978],[.111291,38.738514],[-.467124,38.292366],[-.683389,37.642354],[-1.438382,37.443064],[-2.146453,36.674144],[-3.415781,36.6589],[-4.368901,36.677839],[-4.995219,36.324708],[-5.37716,35.94685],[-5.866432,36.029817],[-6.236694,36.367677],[-6.520191,36.942913],[-7.453726,37.097788]]]}},{type:`Feature`,properties:{code:`IE`,name:`Ireland`},geometry:{type:`Polygon`,coordinates:[[[-6.197885,53.867565],[-6.032985,53.153164],[-6.788857,52.260118],[-8.561617,51.669301],[-9.977086,51.820455],[-9.166283,52.864629],[-9.688525,53.881363],[-8.327987,54.664519],[-7.572168,55.131622],[-7.366031,54.595841],[-7.572168,54.059956],[-6.95373,54.073702],[-6.197885,53.867565]]]}},{type:`Feature`,properties:{code:`NC`,name:`New Caledonia`},geometry:{type:`Polygon`,coordinates:[[[165.77999,-21.080005],[166.599991,-21.700019],[167.120011,-22.159991],[166.740035,-22.399976],[166.189732,-22.129708],[165.474375,-21.679607],[164.829815,-21.14982],[164.167995,-20.444747],[164.029606,-20.105646],[164.459967,-20.120012],[165.020036,-20.459991],[165.460009,-20.800022],[165.77999,-21.080005]]]}},{type:`Feature`,properties:{code:`SB`,name:`Solomon Islands`},geometry:{type:`MultiPolygon`,coordinates:[[[[162.119025,-10.482719],[162.398646,-10.826367],[161.700032,-10.820011],[161.319797,-10.204751],[161.917383,-10.446701],[162.119025,-10.482719]]],[[[161.679982,-9.599982],[161.529397,-9.784312],[160.788253,-8.917543],[160.579997,-8.320009],[160.920028,-8.320009],[161.280006,-9.120011],[161.679982,-9.599982]]],[[[160.852229,-9.872937],[160.462588,-9.89521],[159.849447,-9.794027],[159.640003,-9.63998],[159.702945,-9.24295],[160.362956,-9.400304],[160.688518,-9.610162],[160.852229,-9.872937]]],[[[159.640003,-8.020027],[159.875027,-8.33732],[159.917402,-8.53829],[159.133677,-8.114181],[158.586114,-7.754824],[158.21115,-7.421872],[158.359978,-7.320018],[158.820001,-7.560003],[159.640003,-8.020027]]],[[[157.14,-7.021638],[157.538426,-7.34782],[157.33942,-7.404767],[156.90203,-7.176874],[156.491358,-6.765943],[156.542828,-6.599338],[157.14,-7.021638]]]]}},{type:`Feature`,properties:{code:`NZ`,name:`New Zealand`},geometry:{type:`MultiPolygon`,coordinates:[[[[176.885824,-40.065978],[176.508017,-40.604808],[176.01244,-41.289624],[175.239567,-41.688308],[175.067898,-41.425895],[174.650973,-41.281821],[175.22763,-40.459236],[174.900157,-39.908933],[173.824047,-39.508854],[173.852262,-39.146602],[174.574802,-38.797683],[174.743474,-38.027808],[174.697017,-37.381129],[174.292028,-36.711092],[174.319004,-36.534824],[173.840997,-36.121981],[173.054171,-35.237125],[172.636005,-34.529107],[173.007042,-34.450662],[173.551298,-35.006183],[174.32939,-35.265496],[174.612009,-36.156397],[175.336616,-37.209098],[175.357596,-36.526194],[175.808887,-36.798942],[175.95849,-37.555382],[176.763195,-37.881253],[177.438813,-37.961248],[178.010354,-37.579825],[178.517094,-37.695373],[178.274731,-38.582813],[177.97046,-39.166343],[177.206993,-39.145776],[176.939981,-39.449736],[177.032946,-39.879943],[176.885824,-40.065978]]],[[[169.667815,-43.555326],[170.52492,-43.031688],[171.12509,-42.512754],[171.569714,-41.767424],[171.948709,-41.514417],[172.097227,-40.956104],[172.79858,-40.493962],[173.020375,-40.919052],[173.247234,-41.331999],[173.958405,-40.926701],[174.247587,-41.349155],[174.248517,-41.770008],[173.876447,-42.233184],[173.22274,-42.970038],[172.711246,-43.372288],[173.080113,-43.853344],[172.308584,-43.865694],[171.452925,-44.242519],[171.185138,-44.897104],[170.616697,-45.908929],[169.831422,-46.355775],[169.332331,-46.641235],[168.411354,-46.619945],[167.763745,-46.290197],[166.676886,-46.219917],[166.509144,-45.852705],[167.046424,-45.110941],[168.303763,-44.123973],[168.949409,-43.935819],[169.667815,-43.555326]]]]}},{type:`Feature`,properties:{code:`AU`,name:`Australia`},geometry:{type:`MultiPolygon`,coordinates:[[[[147.689259,-40.808258],[148.289068,-40.875438],[148.359865,-42.062445],[148.017301,-42.407024],[147.914052,-43.211522],[147.564564,-42.937689],[146.870343,-43.634597],[146.663327,-43.580854],[146.048378,-43.549745],[145.43193,-42.693776],[145.29509,-42.03361],[144.718071,-41.162552],[144.743755,-40.703975],[145.397978,-40.792549],[146.364121,-41.137695],[146.908584,-41.000546],[147.689259,-40.808258]]],[[[126.148714,-32.215966],[125.088623,-32.728751],[124.221648,-32.959487],[124.028947,-33.483847],[123.659667,-33.890179],[122.811036,-33.914467],[122.183064,-34.003402],[121.299191,-33.821036],[120.580268,-33.930177],[119.893695,-33.976065],[119.298899,-34.509366],[119.007341,-34.464149],[118.505718,-34.746819],[118.024972,-35.064733],[117.295507,-35.025459],[116.625109,-35.025097],[115.564347,-34.386428],[115.026809,-34.196517],[115.048616,-33.623425],[115.545123,-33.487258],[115.714674,-33.259572],[115.679379,-32.900369],[115.801645,-32.205062],[115.689611,-31.612437],[115.160909,-30.601594],[114.997043,-30.030725],[115.040038,-29.461095],[114.641974,-28.810231],[114.616498,-28.516399],[114.173579,-28.118077],[114.048884,-27.334765],[113.477498,-26.543134],[113.338953,-26.116545],[113.778358,-26.549025],[113.440962,-25.621278],[113.936901,-25.911235],[114.232852,-26.298446],[114.216161,-25.786281],[113.721255,-24.998939],[113.625344,-24.683971],[113.393523,-24.384764],[113.502044,-23.80635],[113.706993,-23.560215],[113.843418,-23.059987],[113.736552,-22.475475],[114.149756,-21.755881],[114.225307,-22.517488],[114.647762,-21.82952],[115.460167,-21.495173],[115.947373,-21.068688],[116.711615,-20.701682],[117.166316,-20.623599],[117.441545,-20.746899],[118.229559,-20.374208],[118.836085,-20.263311],[118.987807,-20.044203],[119.252494,-19.952942],[119.805225,-19.976506],[120.85622,-19.683708],[121.399856,-19.239756],[121.655138,-18.705318],[122.241665,-18.197649],[122.286624,-17.798603],[122.312772,-17.254967],[123.012574,-16.4052],[123.433789,-17.268558],[123.859345,-17.069035],[123.503242,-16.596506],[123.817073,-16.111316],[124.258287,-16.327944],[124.379726,-15.56706],[124.926153,-15.0751],[125.167275,-14.680396],[125.670087,-14.51007],[125.685796,-14.230656],[126.125149,-14.347341],[126.142823,-14.095987],[126.582589,-13.952791],[127.065867,-13.817968],[127.804633,-14.276906],[128.35969,-14.86917],[128.985543,-14.875991],[129.621473,-14.969784],[129.4096,-14.42067],[129.888641,-13.618703],[130.339466,-13.357376],[130.183506,-13.10752],[130.617795,-12.536392],[131.223495,-12.183649],[131.735091,-12.302453],[132.575298,-12.114041],[132.557212,-11.603012],[131.824698,-11.273782],[132.357224,-11.128519],[133.019561,-11.376411],[133.550846,-11.786515],[134.393068,-12.042365],[134.678632,-11.941183],[135.298491,-12.248606],[135.882693,-11.962267],[136.258381,-12.049342],[136.492475,-11.857209],[136.95162,-12.351959],[136.685125,-12.887223],[136.305407,-13.29123],[135.961758,-13.324509],[136.077617,-13.724278],[135.783836,-14.223989],[135.428664,-14.715432],[135.500184,-14.997741],[136.295175,-15.550265],[137.06536,-15.870762],[137.580471,-16.215082],[138.303217,-16.807604],[138.585164,-16.806622],[139.108543,-17.062679],[139.260575,-17.371601],[140.215245,-17.710805],[140.875463,-17.369069],[141.07111,-16.832047],[141.274095,-16.38887],[141.398222,-15.840532],[141.702183,-15.044921],[141.56338,-14.561333],[141.63552,-14.270395],[141.519869,-13.698078],[141.65092,-12.944688],[141.842691,-12.741548],[141.68699,-12.407614],[141.928629,-11.877466],[142.118488,-11.328042],[142.143706,-11.042737],[142.51526,-10.668186],[142.79731,-11.157355],[142.866763,-11.784707],[143.115947,-11.90563],[143.158632,-12.325656],[143.522124,-12.834358],[143.597158,-13.400422],[143.561811,-13.763656],[143.922099,-14.548311],[144.563714,-14.171176],[144.894908,-14.594458],[145.374724,-14.984976],[145.271991,-15.428205],[145.48526,-16.285672],[145.637033,-16.784918],[145.888904,-16.906926],[146.160309,-17.761655],[146.063674,-18.280073],[146.387478,-18.958274],[147.471082,-19.480723],[148.177602,-19.955939],[148.848414,-20.39121],[148.717465,-20.633469],[149.28942,-21.260511],[149.678337,-22.342512],[150.077382,-22.122784],[150.482939,-22.556142],[150.727265,-22.402405],[150.899554,-23.462237],[151.609175,-24.076256],[152.07354,-24.457887],[152.855197,-25.267501],[153.136162,-26.071173],[153.161949,-26.641319],[153.092909,-27.2603],[153.569469,-28.110067],[153.512108,-28.995077],[153.339095,-29.458202],[153.069241,-30.35024],[153.089602,-30.923642],[152.891578,-31.640446],[152.450002,-32.550003],[151.709117,-33.041342],[151.343972,-33.816023],[151.010555,-34.31036],[150.714139,-35.17346],[150.32822,-35.671879],[150.075212,-36.420206],[149.946124,-37.109052],[149.997284,-37.425261],[149.423882,-37.772681],[148.304622,-37.809061],[147.381733,-38.219217],[146.922123,-38.606532],[146.317922,-39.035757],[145.489652,-38.593768],[144.876976,-38.417448],[145.032212,-37.896188],[144.485682,-38.085324],[143.609974,-38.809465],[142.745427,-38.538268],[142.17833,-38.380034],[141.606582,-38.308514],[140.638579,-38.019333],[139.992158,-37.402936],[139.806588,-36.643603],[139.574148,-36.138362],[139.082808,-35.732754],[138.120748,-35.612296],[138.449462,-35.127261],[138.207564,-34.384723],[137.71917,-35.076825],[136.829406,-35.260535],[137.352371,-34.707339],[137.503886,-34.130268],[137.890116,-33.640479],[137.810328,-32.900007],[136.996837,-33.752771],[136.372069,-34.094766],[135.989043,-34.890118],[135.208213,-34.47867],[135.239218,-33.947953],[134.613417,-33.222778],[134.085904,-32.848072],[134.273903,-32.617234],[132.990777,-32.011224],[132.288081,-31.982647],[131.326331,-31.495803],[129.535794,-31.590423],[128.240938,-31.948489],[127.102867,-32.282267],[126.148714,-32.215966]]]]}},{type:`Feature`,properties:{code:`LK`,name:`Sri Lanka`},geometry:{type:`Polygon`,coordinates:[[[81.787959,7.523055],[81.637322,6.481775],[81.21802,6.197141],[80.348357,5.96837],[79.872469,6.763463],[79.695167,8.200843],[80.147801,9.824078],[80.838818,9.268427],[81.304319,8.564206],[81.787959,7.523055]]]}},{type:`Feature`,properties:{code:`CN`,name:`People's Republic of China`},geometry:{type:`MultiPolygon`,coordinates:[[[[109.47521,18.197701],[108.655208,18.507682],[108.626217,19.367888],[109.119056,19.821039],[110.211599,20.101254],[110.786551,20.077534],[111.010051,19.69593],[110.570647,19.255879],[110.339188,18.678395],[109.47521,18.197701]]],[[[80.25999,42.349999],[80.18015,42.920068],[80.866206,43.180362],[79.966106,44.917517],[81.947071,45.317027],[82.458926,45.53965],[83.180484,47.330031],[85.16429,47.000956],[85.720484,47.452969],[85.768233,48.455751],[86.598776,48.549182],[87.35997,49.214981],[87.751264,49.297198],[88.013832,48.599463],[88.854298,48.069082],[90.280826,47.693549],[90.970809,46.888146],[90.585768,45.719716],[90.94554,45.286073],[92.133891,45.115076],[93.480734,44.975472],[94.688929,44.352332],[95.306875,44.241331],[95.762455,43.319449],[96.349396,42.725635],[97.451757,42.74889],[99.515817,42.524691],[100.845866,42.663804],[101.83304,42.514873],[103.312278,41.907468],[104.522282,41.908347],[104.964994,41.59741],[106.129316,42.134328],[107.744773,42.481516],[109.243596,42.519446],[110.412103,42.871234],[111.129682,43.406834],[111.829588,43.743118],[111.667737,44.073176],[111.348377,44.457442],[111.873306,45.102079],[112.436062,45.011646],[113.463907,44.808893],[114.460332,45.339817],[115.985096,45.727235],[116.717868,46.388202],[117.421701,46.672733],[118.874326,46.805412],[119.66327,46.69268],[119.772824,47.048059],[118.866574,47.74706],[118.064143,48.06673],[117.295507,47.697709],[116.308953,47.85341],[115.742837,47.726545],[115.485282,48.135383],[116.191802,49.134598],[116.678801,49.888531],[117.879244,49.510983],[119.288461,50.142883],[119.27939,50.58292],[120.18208,51.64355],[120.7382,51.96411],[120.725789,52.516226],[120.177089,52.753886],[121.003085,53.251401],[122.245748,53.431726],[123.57147,53.4588],[125.068211,53.161045],[125.946349,52.792799],[126.564399,51.784255],[126.939157,51.353894],[127.287456,50.739797],[127.6574,49.76027],[129.397818,49.4406],[130.582293,48.729687],[130.98726,47.79013],[132.50669,47.78896],[133.373596,48.183442],[135.026311,48.47823],[134.50081,47.57845],[134.11235,47.21248],[133.769644,46.116927],[133.09712,45.14409],[131.883454,45.321162],[131.02519,44.96796],[131.288555,44.11152],[131.144688,42.92999],[130.633866,42.903015],[130.64,42.395024],[129.994267,42.985387],[129.596669,42.424982],[128.052215,41.994285],[128.208433,41.466772],[127.343783,41.503152],[126.869083,41.816569],[126.182045,41.107336],[125.079942,40.569824],[124.265625,39.928493],[122.86757,39.637788],[122.131388,39.170452],[121.054554,38.897471],[121.585995,39.360854],[121.376757,39.750261],[122.168595,40.422443],[121.640359,40.94639],[120.768629,40.593388],[119.639602,39.898056],[119.023464,39.252333],[118.042749,39.204274],[117.532702,38.737636],[118.059699,38.061476],[118.87815,37.897325],[118.911636,37.448464],[119.702802,37.156389],[120.823457,37.870428],[121.711259,37.481123],[122.357937,37.454484],[122.519995,36.930614],[121.104164,36.651329],[120.637009,36.11144],[119.664562,35.609791],[119.151208,34.909859],[120.227525,34.360332],[120.620369,33.376723],[121.229014,32.460319],[121.908146,31.692174],[121.891919,30.949352],[121.264257,30.676267],[121.503519,30.142915],[122.092114,29.83252],[121.938428,29.018022],[121.684439,28.225513],[121.125661,28.135673],[120.395473,27.053207],[119.585497,25.740781],[118.656871,24.547391],[117.281606,23.624501],[115.890735,22.782873],[114.763827,22.668074],[114.152547,22.22376],[113.80678,22.54834],[113.241078,22.051367],[111.843592,21.550494],[110.785466,21.397144],[110.444039,20.341033],[109.889861,20.282457],[109.627655,21.008227],[109.864488,21.395051],[108.522813,21.715212],[108.05018,21.55238],[107.04342,21.811899],[106.567273,22.218205],[106.725403,22.794268],[105.811247,22.976892],[105.329209,23.352063],[104.476858,22.81915],[103.504515,22.703757],[102.706992,22.708795],[102.170436,22.464753],[101.652018,22.318199],[101.80312,21.174367],[101.270026,21.201652],[101.180005,21.436573],[101.150033,21.849984],[100.416538,21.558839],[99.983489,21.742937],[99.240899,22.118314],[99.531992,22.949039],[98.898749,23.142722],[98.660262,24.063286],[97.60472,23.897405],[97.724609,25.083637],[98.671838,25.918703],[98.712094,26.743536],[98.68269,27.508812],[98.246231,27.747221],[97.911988,28.335945],[97.327114,28.261583],[96.248833,28.411031],[96.586591,28.83098],[96.117679,29.452802],[95.404802,29.031717],[94.56599,29.277438],[93.413348,28.640629],[92.503119,27.896876],[91.696657,27.771742],[91.258854,28.040614],[90.730514,28.064954],[90.015829,28.296439],[89.47581,28.042759],[88.814248,27.299316],[88.730326,28.086865],[88.120441,27.876542],[86.954517,27.974262],[85.82332,28.203576],[85.011638,28.642774],[84.23458,28.839894],[83.898993,29.320226],[83.337115,29.463732],[82.327513,30.115268],[81.525804,30.422717],[81.111256,30.183481],[79.721367,30.882715],[78.738894,31.515906],[78.458446,32.618164],[79.176129,32.48378],[79.208892,32.994395],[78.811086,33.506198],[78.912269,34.321936],[77.837451,35.49401],[76.192848,35.898403],[75.896897,36.666806],[75.158028,37.133031],[74.980002,37.41999],[74.829986,37.990007],[74.864816,38.378846],[74.257514,38.606507],[73.928852,38.505815],[73.675379,39.431237],[73.960013,39.660008],[73.822244,39.893973],[74.776862,40.366425],[75.467828,40.562072],[76.526368,40.427946],[76.904484,41.066486],[78.187197,41.185316],[78.543661,41.582243],[80.11943,42.123941],[80.25999,42.349999]]]]}},{type:`Feature`,properties:{code:`TW`,name:`Taiwan`},geometry:{type:`Polygon`,coordinates:[[[121.777818,24.394274],[121.175632,22.790857],[120.74708,21.970571],[120.220083,22.814861],[120.106189,23.556263],[120.69468,24.538451],[121.495044,25.295459],[121.951244,24.997596],[121.777818,24.394274]]]}},{type:`Feature`,properties:{code:`IT`,name:`Italy`},geometry:{type:`MultiPolygon`,coordinates:[[[[10.442701,46.893546],[11.048556,46.751359],[11.164828,46.941579],[12.153088,47.115393],[12.376485,46.767559],[13.806475,46.509306],[13.69811,46.016778],[13.93763,45.591016],[13.141606,45.736692],[12.328581,45.381778],[12.383875,44.885374],[12.261453,44.600482],[12.589237,44.091366],[13.526906,43.587727],[14.029821,42.761008],[15.14257,41.95514],[15.926191,41.961315],[16.169897,41.740295],[15.889346,41.541082],[16.785002,41.179606],[17.519169,40.877143],[18.376687,40.355625],[18.480247,40.168866],[18.293385,39.810774],[17.73838,40.277671],[16.869596,40.442235],[16.448743,39.795401],[17.17149,39.4247],[17.052841,38.902871],[16.635088,38.843572],[16.100961,37.985899],[15.684087,37.908849],[15.687963,38.214593],[15.891981,38.750942],[16.109332,38.964547],[15.718814,39.544072],[15.413613,40.048357],[14.998496,40.172949],[14.703268,40.60455],[14.060672,40.786348],[13.627985,41.188287],[12.888082,41.25309],[12.106683,41.704535],[11.191906,42.355425],[10.511948,42.931463],[10.200029,43.920007],[9.702488,44.036279],[8.888946,44.366336],[8.428561,44.231228],[7.850767,43.767148],[7.435185,43.693845],[7.549596,44.127901],[7.007562,44.254767],[6.749955,45.028518],[7.096652,45.333099],[6.802355,45.70858],[6.843593,45.991147],[7.273851,45.776948],[7.755992,45.82449],[8.31663,46.163642],[8.489952,46.005151],[8.966306,46.036932],[9.182882,46.440215],[9.922837,46.314899],[10.363378,46.483571],[10.442701,46.893546]]],[[[14.761249,38.143874],[15.520376,38.231155],[15.160243,37.444046],[15.309898,37.134219],[15.099988,36.619987],[14.335229,36.996631],[13.826733,37.104531],[12.431004,37.61295],[12.570944,38.126381],[13.741156,38.034966],[14.761249,38.143874]]],[[[8.709991,40.899984],[9.210012,41.209991],[9.809975,40.500009],[9.669519,39.177376],[9.214818,39.240473],[8.806936,38.906618],[8.428302,39.171847],[8.388253,40.378311],[8.159998,40.950007],[8.709991,40.899984]]]]}},{type:`Feature`,properties:{code:`DK`,name:`Denmark`},geometry:{type:`MultiPolygon`,coordinates:[[[[9.921906,54.983104],[9.282049,54.830865],[8.526229,54.962744],[8.120311,55.517723],[8.089977,56.540012],[8.256582,56.809969],[8.543438,57.110003],[9.424469,57.172066],[9.775559,57.447941],[10.580006,57.730017],[10.546106,57.215733],[10.25,56.890016],[10.369993,56.609982],[10.912182,56.458621],[10.667804,56.081383],[10.369993,56.190007],[9.649985,55.469999],[9.921906,54.983104]]],[[[12.370904,56.111407],[12.690006,55.609991],[12.089991,54.800015],[11.043543,55.364864],[10.903914,55.779955],[12.370904,56.111407]]]]}},{type:`Feature`,properties:{code:`GB`,name:`United Kingdom`},geometry:{type:`MultiPolygon`,coordinates:[[[[-6.197885,53.867565],[-6.95373,54.073702],[-7.572168,54.059956],[-7.366031,54.595841],[-7.572168,55.131622],[-6.733847,55.17286],[-5.661949,54.554603],[-6.197885,53.867565]]],[[[-3.093831,53.404547],[-3.09208,53.404441],[-2.945009,53.985],[-3.614701,54.600937],[-3.630005,54.615013],[-4.844169,54.790971],[-5.082527,55.061601],[-4.719112,55.508473],[-5.047981,55.783986],[-5.586398,55.311146],[-5.644999,56.275015],[-6.149981,56.78501],[-5.786825,57.818848],[-5.009999,58.630013],[-4.211495,58.550845],[-3.005005,58.635],[-4.073828,57.553025],[-3.055002,57.690019],[-1.959281,57.6848],[-2.219988,56.870017],[-3.119003,55.973793],[-2.085009,55.909998],[-2.005676,55.804903],[-1.114991,54.624986],[-.430485,54.464376],[.184981,53.325014],[.469977,52.929999],[1.681531,52.73952],[1.559988,52.099998],[1.050562,51.806761],[1.449865,51.289428],[.550334,50.765739],[-.787517,50.774989],[-2.489998,50.500019],[-2.956274,50.69688],[-3.617448,50.228356],[-4.542508,50.341837],[-5.245023,49.96],[-5.776567,50.159678],[-4.30999,51.210001],[-3.414851,51.426009],[-3.422719,51.426848],[-4.984367,51.593466],[-5.267296,51.9914],[-4.222347,52.301356],[-4.770013,52.840005],[-4.579999,53.495004],[-3.093831,53.404547]]]]}},{type:`Feature`,properties:{code:`IS`,name:`Iceland`},geometry:{type:`Polygon`,coordinates:[[[-14.508695,66.455892],[-14.739637,65.808748],[-13.609732,65.126671],[-14.909834,64.364082],[-17.794438,63.678749],[-18.656246,63.496383],[-19.972755,63.643635],[-22.762972,63.960179],[-21.778484,64.402116],[-23.955044,64.89113],[-22.184403,65.084968],[-22.227423,65.378594],[-24.326184,65.611189],[-23.650515,66.262519],[-22.134922,66.410469],[-20.576284,65.732112],[-19.056842,66.276601],[-17.798624,65.993853],[-16.167819,66.526792],[-14.508695,66.455892]]]}},{type:`Feature`,properties:{code:`AZ`,name:`Azerbaijan`},geometry:{type:`MultiPolygon`,coordinates:[[[[46.404951,41.860675],[46.686071,41.827137],[47.373315,41.219732],[47.815666,41.151416],[47.987283,41.405819],[48.584353,41.808869],[49.110264,41.282287],[49.618915,40.572924],[50.08483,40.526157],[50.392821,40.256561],[49.569202,40.176101],[49.395259,39.399482],[49.223228,39.049219],[48.856532,38.815486],[48.883249,38.320245],[48.634375,38.270378],[48.010744,38.794015],[48.355529,39.288765],[48.060095,39.582235],[47.685079,39.508364],[46.50572,38.770605],[46.483499,39.464155],[46.034534,39.628021],[45.610012,39.899994],[45.891907,40.218476],[45.359175,40.561504],[45.560351,40.81229],[45.179496,40.985354],[44.97248,41.248129],[45.217426,41.411452],[45.962601,41.123873],[46.501637,41.064445],[46.637908,41.181673],[46.145432,41.722802],[46.404951,41.860675]]],[[[46.143623,38.741201],[45.457722,38.874139],[44.952688,39.335765],[44.79399,39.713003],[45.001987,39.740004],[45.298145,39.471751],[45.739978,39.473999],[45.735379,39.319719],[46.143623,38.741201]]]]}},{type:`Feature`,properties:{code:`GE`,name:`Georgia`},geometry:{type:`Polygon`,coordinates:[[[39.955009,43.434998],[40.076965,43.553104],[40.92219,43.38215],[42.3944,43.2203],[43.75599,42.74083],[43.93121,42.55496],[44.537623,42.711993],[45.470279,42.502781],[45.7764,42.09244],[46.404951,41.860675],[46.145432,41.722802],[46.637908,41.181673],[46.501637,41.064445],[45.962601,41.123873],[45.217426,41.411452],[44.97248,41.248129],[43.582746,41.092143],[42.619549,41.583173],[41.554084,41.535656],[41.703171,41.962943],[41.45347,42.645123],[40.875469,43.013628],[40.321394,43.128634],[39.955009,43.434998]]]}},{type:`Feature`,properties:{code:`PH`,name:`Philippines`},geometry:{type:`MultiPolygon`,coordinates:[[[[120.833896,12.704496],[120.323436,13.466413],[121.180128,13.429697],[121.527394,13.06959],[121.26219,12.20556],[120.833896,12.704496]]],[[[122.586089,9.981045],[122.837081,10.261157],[122.947411,10.881868],[123.49885,10.940624],[123.337774,10.267384],[124.077936,11.232726],[123.982438,10.278779],[123.623183,9.950091],[123.309921,9.318269],[122.995883,9.022189],[122.380055,9.713361],[122.586089,9.981045]]],[[[126.376814,8.414706],[126.478513,7.750354],[126.537424,7.189381],[126.196773,6.274294],[125.831421,7.293715],[125.363852,6.786485],[125.683161,6.049657],[125.396512,5.581003],[124.219788,6.161355],[123.93872,6.885136],[124.243662,7.36061],[123.610212,7.833527],[123.296071,7.418876],[122.825506,7.457375],[122.085499,6.899424],[121.919928,7.192119],[122.312359,8.034962],[122.942398,8.316237],[123.487688,8.69301],[123.841154,8.240324],[124.60147,8.514158],[124.764612,8.960409],[125.471391,8.986997],[125.412118,9.760335],[126.222714,9.286074],[126.306637,8.782487],[126.376814,8.414706]]],[[[118.504581,9.316383],[117.174275,8.3675],[117.664477,9.066889],[118.386914,9.6845],[118.987342,10.376292],[119.511496,11.369668],[119.689677,10.554291],[119.029458,10.003653],[118.504581,9.316383]]],[[[122.336957,18.224883],[122.174279,17.810283],[122.515654,17.093505],[122.252311,16.262444],[121.662786,15.931018],[121.50507,15.124814],[121.728829,14.328376],[122.258925,14.218202],[122.701276,14.336541],[123.950295,13.782131],[123.855107,13.237771],[124.181289,12.997527],[124.077419,12.536677],[123.298035,13.027526],[122.928652,13.55292],[122.671355,13.185836],[122.03465,13.784482],[121.126385,13.636687],[120.628637,13.857656],[120.679384,14.271016],[120.991819,14.525393],[120.693336,14.756671],[120.564145,14.396279],[120.070429,14.970869],[119.920929,15.406347],[119.883773,16.363704],[120.286488,16.034629],[120.390047,17.599081],[120.715867,18.505227],[121.321308,18.504065],[121.937601,18.218552],[122.246006,18.47895],[122.336957,18.224883]]],[[[122.03837,11.415841],[121.883548,11.891755],[122.483821,11.582187],[123.120217,11.58366],[123.100838,11.165934],[122.637714,10.741308],[122.00261,10.441017],[121.967367,10.905691],[122.03837,11.415841]]],[[[125.502552,12.162695],[125.783465,11.046122],[125.011884,11.311455],[125.032761,10.975816],[125.277449,10.358722],[124.801819,10.134679],[124.760168,10.837995],[124.459101,10.88993],[124.302522,11.495371],[124.891013,11.415583],[124.87799,11.79419],[124.266762,12.557761],[125.227116,12.535721],[125.502552,12.162695]]]]}},{type:`Feature`,properties:{code:`MY`,name:`Malaysia`},geometry:{type:`MultiPolygon`,coordinates:[[[[100.085757,6.464489],[100.259596,6.642825],[101.075516,6.204867],[101.154219,5.691384],[101.814282,5.810808],[102.141187,6.221636],[102.371147,6.128205],[102.961705,5.524495],[103.381215,4.855001],[103.438575,4.181606],[103.332122,3.726698],[103.429429,3.382869],[103.502448,2.791019],[103.854674,2.515454],[104.247932,1.631141],[104.228811,1.293048],[103.519707,1.226334],[102.573615,1.967115],[101.390638,2.760814],[101.27354,3.270292],[100.695435,3.93914],[100.557408,4.76728],[100.196706,5.312493],[100.30626,6.040562],[100.085757,6.464489]]],[[[117.882035,4.137551],[117.015214,4.306094],[115.865517,4.306559],[115.519078,3.169238],[115.134037,2.821482],[114.621355,1.430688],[113.80585,1.217549],[112.859809,1.49779],[112.380252,1.410121],[111.797548,.904441],[111.159138,.976478],[110.514061,.773131],[109.830227,1.338136],[109.66326,2.006467],[110.396135,1.663775],[111.168853,1.850637],[111.370081,2.697303],[111.796928,2.885897],[112.995615,3.102395],[113.712935,3.893509],[114.204017,4.525874],[114.659596,4.007637],[114.869557,4.348314],[115.347461,4.316636],[115.4057,4.955228],[115.45071,5.44773],[116.220741,6.143191],[116.725103,6.924771],[117.129626,6.928053],[117.643393,6.422166],[117.689075,5.98749],[118.347691,5.708696],[119.181904,5.407836],[119.110694,5.016128],[118.439727,4.966519],[118.618321,4.478202],[117.882035,4.137551]]]]}},{type:`Feature`,properties:{code:`BN`,name:`Brunei`},geometry:{type:`Polygon`,coordinates:[[[115.45071,5.44773],[115.4057,4.955228],[115.347461,4.316636],[114.869557,4.348314],[114.659596,4.007637],[114.204017,4.525874],[114.599961,4.900011],[115.45071,5.44773]]]}},{type:`Feature`,properties:{code:`SI`,name:`Slovenia`},geometry:{type:`Polygon`,coordinates:[[[13.806475,46.509306],[14.632472,46.431817],[15.137092,46.658703],[16.011664,46.683611],[16.202298,46.852386],[16.370505,46.841327],[16.564808,46.503751],[15.768733,46.238108],[15.67153,45.834154],[15.323954,45.731783],[15.327675,45.452316],[14.935244,45.471695],[14.595109,45.634941],[14.411968,45.466166],[13.71506,45.500324],[13.93763,45.591016],[13.69811,46.016778],[13.806475,46.509306]]]}},{type:`Feature`,properties:{code:`FI`,name:`Finland`},geometry:{type:`Polygon`,coordinates:[[[28.59193,69.064777],[28.445944,68.364613],[29.977426,67.698297],[29.054589,66.944286],[30.21765,65.80598],[29.54443,64.948672],[30.444685,64.204453],[30.035872,63.552814],[31.516092,62.867687],[31.139991,62.357693],[30.211107,61.780028],[28.07,60.50352],[28.070002,60.503519],[28.069998,60.503517],[26.255173,60.423961],[24.496624,60.057316],[22.869695,59.846373],[22.290764,60.391921],[21.322244,60.72017],[21.544866,61.705329],[21.059211,62.607393],[21.536029,63.189735],[22.442744,63.81781],[24.730512,64.902344],[25.398068,65.111427],[25.294043,65.534346],[23.903379,66.006927],[23.56588,66.396051],[23.539473,67.936009],[21.978535,68.616846],[20.645593,69.106247],[21.244936,69.370443],[22.356238,68.841741],[23.66205,68.891247],[24.735679,68.649557],[25.689213,69.092114],[26.179622,69.825299],[27.732292,70.164193],[29.015573,69.766491],[28.59193,69.064777]]]}},{type:`Feature`,properties:{code:`SK`,name:`Slovakia`},geometry:{type:`Polygon`,coordinates:[[[22.558138,49.085738],[22.280842,48.825392],[22.085608,48.422264],[21.872236,48.319971],[20.801294,48.623854],[20.473562,48.56285],[20.239054,48.327567],[19.769471,48.202691],[19.661364,48.266615],[19.174365,48.111379],[18.777025,48.081768],[18.696513,47.880954],[17.857133,47.758429],[17.488473,47.867466],[16.979667,48.123497],[16.879983,48.470013],[16.960288,48.596982],[17.101985,48.816969],[17.545007,48.800019],[17.886485,48.903475],[17.913512,48.996493],[18.104973,49.043983],[18.170498,49.271515],[18.399994,49.315001],[18.554971,49.495015],[18.853144,49.49623],[18.909575,49.435846],[19.320713,49.571574],[19.825023,49.217125],[20.415839,49.431453],[20.887955,49.328772],[21.607808,49.470107],[22.558138,49.085738]]]}},{type:`Feature`,properties:{code:`CZ`,name:`Czech Republic`},geometry:{type:`Polygon`,coordinates:[[[15.016996,51.106674],[15.490972,50.78473],[16.238627,50.697733],[16.176253,50.422607],[16.719476,50.215747],[16.868769,50.473974],[17.554567,50.362146],[17.649445,50.049038],[18.392914,49.988629],[18.853144,49.49623],[18.554971,49.495015],[18.399994,49.315001],[18.170498,49.271515],[18.104973,49.043983],[17.913512,48.996493],[17.886485,48.903475],[17.545007,48.800019],[17.101985,48.816969],[16.960288,48.596982],[16.499283,48.785808],[16.029647,48.733899],[15.253416,49.039074],[14.901447,48.964402],[14.338898,48.555305],[13.595946,48.877172],[13.031329,49.307068],[12.521024,49.547415],[12.415191,49.969121],[12.240111,50.266338],[12.966837,50.484076],[13.338132,50.733234],[14.056228,50.926918],[14.307013,51.117268],[14.570718,51.002339],[15.016996,51.106674]]]}},{type:`Feature`,properties:{code:`ER`,name:`Eritrea`},geometry:{type:`Polygon`,coordinates:[[[36.42951,14.42211],[36.32322,14.82249],[36.75389,16.29186],[36.85253,16.95655],[37.16747,17.26314],[37.904,17.42754],[38.41009,17.998307],[38.990623,16.840626],[39.26611,15.922723],[39.814294,15.435647],[41.179275,14.49108],[41.734952,13.921037],[42.276831,13.343992],[42.589576,13.000421],[43.081226,12.699639],[42.779642,12.455416],[42.35156,12.54223],[42.00975,12.86582],[41.59856,13.45209],[41.1552,13.77333],[40.8966,14.11864],[40.02625,14.51959],[39.34061,14.53155],[39.0994,14.74064],[38.51295,14.50547],[37.90607,14.95943],[37.59377,14.2131],[36.42951,14.42211]]]}},{type:`Feature`,properties:{code:`JP`,name:`Japan`},geometry:{type:`MultiPolygon`,coordinates:[[[[141.884601,39.180865],[140.959489,38.174001],[140.976388,37.142074],[140.59977,36.343983],[140.774074,35.842877],[140.253279,35.138114],[138.975528,34.6676],[137.217599,34.606286],[135.792983,33.464805],[135.120983,33.849071],[135.079435,34.596545],[133.340316,34.375938],[132.156771,33.904933],[130.986145,33.885761],[132.000036,33.149992],[131.33279,31.450355],[130.686318,31.029579],[130.20242,31.418238],[130.447676,32.319475],[129.814692,32.61031],[129.408463,33.296056],[130.353935,33.604151],[130.878451,34.232743],[131.884229,34.749714],[132.617673,35.433393],[134.608301,35.731618],[135.677538,35.527134],[136.723831,37.304984],[137.390612,36.827391],[138.857602,37.827485],[139.426405,38.215962],[140.05479,39.438807],[139.883379,40.563312],[140.305783,41.195005],[141.368973,41.37856],[141.914263,39.991616],[141.884601,39.180865]]],[[[144.613427,43.960883],[145.320825,44.384733],[145.543137,43.262088],[144.059662,42.988358],[143.18385,41.995215],[141.611491,42.678791],[141.067286,41.584594],[139.955106,41.569556],[139.817544,42.563759],[140.312087,43.333273],[141.380549,43.388825],[141.671952,44.772125],[141.967645,45.551483],[143.14287,44.510358],[143.910162,44.1741],[144.613427,43.960883]]],[[[132.371176,33.463642],[132.924373,34.060299],[133.492968,33.944621],[133.904106,34.364931],[134.638428,34.149234],[134.766379,33.806335],[134.203416,33.201178],[133.79295,33.521985],[133.280268,33.28957],[133.014858,32.704567],[132.363115,32.989382],[132.371176,33.463642]]]]}},{type:`Feature`,properties:{code:`PY`,name:`Paraguay`},geometry:{type:`Polygon`,coordinates:[[[-58.166392,-20.176701],[-57.870674,-20.732688],[-57.937156,-22.090176],[-56.88151,-22.282154],[-56.473317,-22.0863],[-55.797958,-22.35693],[-55.610683,-22.655619],[-55.517639,-23.571998],[-55.400747,-23.956935],[-55.027902,-24.001274],[-54.652834,-23.839578],[-54.29296,-24.021014],[-54.293476,-24.5708],[-54.428946,-25.162185],[-54.625291,-25.739255],[-54.788795,-26.621786],[-55.695846,-27.387837],[-56.486702,-27.548499],[-57.60976,-27.395899],[-58.618174,-27.123719],[-57.63366,-25.603657],[-57.777217,-25.16234],[-58.807128,-24.771459],[-60.028966,-24.032796],[-60.846565,-23.880713],[-62.685057,-22.249029],[-62.291179,-21.051635],[-62.265961,-20.513735],[-61.786326,-19.633737],[-60.043565,-19.342747],[-59.115042,-19.356906],[-58.183471,-19.868399],[-58.166392,-20.176701]]]}},{type:`Feature`,properties:{code:`YE`,name:`Yemen`},geometry:{type:`Polygon`,coordinates:[[[52.00001,19.000003],[52.782184,17.349742],[53.108573,16.651051],[52.385206,16.382411],[52.191729,15.938433],[52.168165,15.59742],[51.172515,15.17525],[49.574576,14.708767],[48.679231,14.003202],[48.238947,13.94809],[47.938914,14.007233],[47.354454,13.59222],[46.717076,13.399699],[45.877593,13.347764],[45.62505,13.290946],[45.406459,13.026905],[45.144356,12.953938],[44.989533,12.699587],[44.494576,12.721653],[44.175113,12.58595],[43.482959,12.6368],[43.222871,13.22095],[43.251448,13.767584],[43.087944,14.06263],[42.892245,14.802249],[42.604873,15.213335],[42.805015,15.261963],[42.702438,15.718886],[42.823671,15.911742],[42.779332,16.347891],[43.218375,16.66689],[43.115798,17.08844],[43.380794,17.579987],[43.791519,17.319977],[44.062613,17.410359],[45.216651,17.433329],[45.399999,17.333335],[46.366659,17.233315],[46.749994,17.283338],[47.000005,16.949999],[47.466695,17.116682],[48.183344,18.166669],[49.116672,18.616668],[52.00001,19.000003]]]}},{type:`Feature`,properties:{code:`SA`,name:`Saudi Arabia`},geometry:{type:`Polygon`,coordinates:[[[34.956037,29.356555],[36.068941,29.197495],[36.501214,29.505254],[36.740528,29.865283],[37.503582,30.003776],[37.66812,30.338665],[37.998849,30.5085],[37.002166,31.508413],[39.004886,32.010217],[39.195468,32.161009],[40.399994,31.889992],[41.889981,31.190009],[44.709499,29.178891],[46.568713,29.099025],[47.459822,29.002519],[47.708851,28.526063],[48.416094,28.552004],[48.807595,27.689628],[49.299554,27.461218],[49.470914,27.109999],[50.152422,26.689663],[50.212935,26.277027],[50.113303,25.943972],[50.239859,25.60805],[50.527387,25.327808],[50.660557,24.999896],[50.810108,24.754743],[51.112415,24.556331],[51.389608,24.627386],[51.579519,24.245497],[51.617708,24.014219],[52.000733,23.001154],[55.006803,22.496948],[55.208341,22.70833],[55.666659,22.000001],[54.999982,19.999994],[52.00001,19.000003],[49.116672,18.616668],[48.183344,18.166669],[47.466695,17.116682],[47.000005,16.949999],[46.749994,17.283338],[46.366659,17.233315],[45.399999,17.333335],[45.216651,17.433329],[44.062613,17.410359],[43.791519,17.319977],[43.380794,17.579987],[43.115798,17.08844],[43.218375,16.66689],[42.779332,16.347891],[42.649573,16.774635],[42.347989,17.075806],[42.270888,17.474722],[41.754382,17.833046],[41.221391,18.6716],[40.939341,19.486485],[40.247652,20.174635],[39.801685,20.338862],[39.139399,21.291905],[39.023696,21.986875],[39.066329,22.579656],[38.492772,23.688451],[38.02386,24.078686],[37.483635,24.285495],[37.154818,24.858483],[37.209491,25.084542],[36.931627,25.602959],[36.639604,25.826228],[36.249137,26.570136],[35.640182,27.37652],[35.130187,28.063352],[34.632336,28.058546],[34.787779,28.607427],[34.83222,28.957483],[34.956037,29.356555]]]}},{type:`Feature`,properties:{code:`AQ`,name:`Antarctica`},geometry:{type:`MultiPolygon`,coordinates:[[[[-48.660616,-78.047019],[-48.151396,-78.04707],[-46.662857,-77.831476],[-45.154758,-78.04707],[-43.920828,-78.478103],[-43.48995,-79.08556],[-43.372438,-79.516645],[-43.333267,-80.026123],[-44.880537,-80.339644],[-46.506174,-80.594357],[-48.386421,-80.829485],[-50.482107,-81.025442],[-52.851988,-80.966685],[-54.164259,-80.633528],[-53.987991,-80.222028],[-51.853134,-79.94773],[-50.991326,-79.614623],[-50.364595,-79.183487],[-49.914131,-78.811209],[-49.306959,-78.458569],[-48.660616,-78.047018],[-48.660616,-78.047019]]],[[[-66.290031,-80.255773],[-64.037688,-80.294944],[-61.883246,-80.39287],[-61.138976,-79.981371],[-60.610119,-79.628679],[-59.572095,-80.040179],[-59.865849,-80.549657],[-60.159656,-81.000327],[-62.255393,-80.863178],[-64.488125,-80.921934],[-65.741666,-80.588827],[-65.741666,-80.549657],[-66.290031,-80.255773]]],[[[-73.915819,-71.269345],[-73.915819,-71.269344],[-73.230331,-71.15178],[-72.074717,-71.190951],[-71.780962,-70.681473],[-71.72218,-70.309196],[-71.741791,-69.505782],[-71.173815,-69.035475],[-70.253252,-68.87874],[-69.724447,-69.251017],[-69.489422,-69.623346],[-69.058518,-70.074016],[-68.725541,-70.505153],[-68.451346,-70.955823],[-68.333834,-71.406493],[-68.510128,-71.798407],[-68.784297,-72.170736],[-69.959471,-72.307885],[-71.075889,-72.503842],[-72.388134,-72.484257],[-71.8985,-72.092343],[-73.073622,-72.229492],[-74.19004,-72.366693],[-74.953895,-72.072757],[-75.012625,-71.661258],[-73.915819,-71.269345]]],[[[-102.330725,-71.894164],[-102.330725,-71.894164],[-101.703967,-71.717792],[-100.430919,-71.854993],[-98.98155,-71.933334],[-97.884743,-72.070535],[-96.787937,-71.952971],[-96.20035,-72.521205],[-96.983765,-72.442864],[-98.198083,-72.482035],[-99.432013,-72.442864],[-100.783455,-72.50162],[-101.801868,-72.305663],[-102.330725,-71.894164]]],[[[-122.621735,-73.657778],[-122.621735,-73.657777],[-122.406245,-73.324619],[-121.211511,-73.50099],[-119.918851,-73.657725],[-118.724143,-73.481353],[-119.292119,-73.834097],[-120.232217,-74.08881],[-121.62283,-74.010468],[-122.621735,-73.657778]]],[[[-127.28313,-73.461769],[-127.28313,-73.461768],[-126.558472,-73.246226],[-125.559566,-73.481353],[-124.031882,-73.873268],[-124.619469,-73.834097],[-125.912181,-73.736118],[-127.28313,-73.461769]]],[[[-163.712896,-78.595667],[-163.712896,-78.595667],[-163.105801,-78.223338],[-161.245113,-78.380176],[-160.246208,-78.693645],[-159.482405,-79.046338],[-159.208184,-79.497059],[-161.127601,-79.634209],[-162.439847,-79.281465],[-163.027408,-78.928774],[-163.066604,-78.869966],[-163.712896,-78.595667]]],[[[180,-84.71338],[180,-90],[-180,-90],[-180,-84.71338],[-179.942499,-84.721443],[-179.058677,-84.139412],[-177.256772,-84.452933],[-177.140807,-84.417941],[-176.084673,-84.099259],[-175.947235,-84.110449],[-175.829882,-84.117914],[-174.382503,-84.534323],[-173.116559,-84.117914],[-172.889106,-84.061019],[-169.951223,-83.884647],[-168.999989,-84.117914],[-168.530199,-84.23739],[-167.022099,-84.570497],[-164.182144,-84.82521],[-161.929775,-85.138731],[-158.07138,-85.37391],[-155.192253,-85.09956],[-150.942099,-85.295517],[-148.533073,-85.609038],[-145.888918,-85.315102],[-143.107718,-85.040752],[-142.892279,-84.570497],[-146.829068,-84.531274],[-150.060732,-84.296146],[-150.902928,-83.904232],[-153.586201,-83.68869],[-153.409907,-83.23802],[-153.037759,-82.82652],[-152.665637,-82.454192],[-152.861517,-82.042692],[-154.526299,-81.768394],[-155.29018,-81.41565],[-156.83745,-81.102129],[-154.408787,-81.160937],[-152.097662,-81.004151],[-150.648293,-81.337309],[-148.865998,-81.043373],[-147.22075,-80.671045],[-146.417749,-80.337938],[-146.770286,-79.926439],[-148.062947,-79.652089],[-149.531901,-79.358205],[-151.588416,-79.299397],[-153.390322,-79.162248],[-155.329376,-79.064269],[-155.975668,-78.69194],[-157.268302,-78.378419],[-158.051768,-78.025676],[-158.365134,-76.889207],[-157.875474,-76.987238],[-156.974573,-77.300759],[-155.329376,-77.202728],[-153.742832,-77.065579],[-152.920247,-77.496664],[-151.33378,-77.398737],[-150.00195,-77.183143],[-148.748486,-76.908845],[-147.612483,-76.575738],[-146.104409,-76.47776],[-146.143528,-76.105431],[-146.496091,-75.733154],[-146.20231,-75.380411],[-144.909624,-75.204039],[-144.322037,-75.537197],[-142.794353,-75.34124],[-141.638764,-75.086475],[-140.209007,-75.06689],[-138.85759,-74.968911],[-137.5062,-74.733783],[-136.428901,-74.518241],[-135.214583,-74.302699],[-134.431194,-74.361455],[-133.745654,-74.439848],[-132.257168,-74.302699],[-130.925311,-74.479019],[-129.554284,-74.459433],[-128.242038,-74.322284],[-126.890622,-74.420263],[-125.402082,-74.518241],[-124.011496,-74.479019],[-122.562152,-74.498604],[-121.073613,-74.518241],[-119.70256,-74.479019],[-118.684145,-74.185083],[-117.469801,-74.028348],[-116.216312,-74.243891],[-115.021552,-74.067519],[-113.944331,-73.714828],[-113.297988,-74.028348],[-112.945452,-74.38104],[-112.299083,-74.714198],[-111.261059,-74.420263],[-110.066325,-74.79254],[-108.714909,-74.910103],[-107.559346,-75.184454],[-106.149148,-75.125698],[-104.876074,-74.949326],[-103.367949,-74.988497],[-102.016507,-75.125698],[-100.645531,-75.302018],[-100.1167,-74.870933],[-100.763043,-74.537826],[-101.252703,-74.185083],[-102.545337,-74.106742],[-103.113313,-73.734413],[-103.328752,-73.362084],[-103.681289,-72.61753],[-102.917485,-72.754679],[-101.60524,-72.813436],[-100.312528,-72.754679],[-99.13738,-72.911414],[-98.118889,-73.20535],[-97.688037,-73.558041],[-96.336595,-73.616849],[-95.043961,-73.4797],[-93.672907,-73.283743],[-92.439003,-73.166179],[-91.420564,-73.401307],[-90.088733,-73.322914],[-89.226951,-72.558722],[-88.423951,-73.009393],[-87.268337,-73.185764],[-86.014822,-73.087786],[-85.192236,-73.4797],[-83.879991,-73.518871],[-82.665646,-73.636434],[-81.470913,-73.851977],[-80.687447,-73.4797],[-80.295791,-73.126956],[-79.296886,-73.518871],[-77.925858,-73.420892],[-76.907367,-73.636434],[-76.221879,-73.969541],[-74.890049,-73.871614],[-73.852024,-73.65602],[-72.833533,-73.401307],[-71.619215,-73.264157],[-70.209042,-73.146542],[-68.935916,-73.009393],[-67.956622,-72.79385],[-67.369061,-72.480329],[-67.134036,-72.049244],[-67.251548,-71.637745],[-67.56494,-71.245831],[-67.917477,-70.853917],[-68.230843,-70.462055],[-68.485452,-70.109311],[-68.544209,-69.717397],[-68.446282,-69.325535],[-67.976233,-68.953206],[-67.5845,-68.541707],[-67.427843,-68.149844],[-67.62367,-67.718759],[-67.741183,-67.326845],[-67.251548,-66.876175],[-66.703184,-66.58224],[-66.056815,-66.209963],[-65.371327,-65.89639],[-64.568276,-65.602506],[-64.176542,-65.171423],[-63.628152,-64.897073],[-63.001394,-64.642308],[-62.041686,-64.583552],[-61.414928,-64.270031],[-60.709855,-64.074074],[-59.887269,-63.95651],[-59.162585,-63.701745],[-58.594557,-63.388224],[-57.811143,-63.27066],[-57.223582,-63.525425],[-57.59573,-63.858532],[-58.614143,-64.152467],[-59.045073,-64.36801],[-59.789342,-64.211223],[-60.611928,-64.309202],[-61.297416,-64.54433],[-62.0221,-64.799094],[-62.51176,-65.09303],[-62.648858,-65.484942],[-62.590128,-65.857219],[-62.120079,-66.190326],[-62.805567,-66.425505],[-63.74569,-66.503847],[-64.294106,-66.837004],[-64.881693,-67.150474],[-65.508425,-67.58161],[-65.665082,-67.953887],[-65.312545,-68.365335],[-64.783715,-68.678908],[-63.961103,-68.913984],[-63.1973,-69.227556],[-62.785955,-69.619419],[-62.570516,-69.991747],[-62.276736,-70.383661],[-61.806661,-70.716768],[-61.512906,-71.089045],[-61.375809,-72.010074],[-61.081977,-72.382351],[-61.003661,-72.774265],[-60.690269,-73.166179],[-60.827367,-73.695242],[-61.375809,-74.106742],[-61.96337,-74.439848],[-63.295201,-74.576997],[-63.74569,-74.92974],[-64.352836,-75.262847],[-65.860987,-75.635124],[-67.192818,-75.79191],[-68.446282,-76.007452],[-69.797724,-76.222995],[-70.600724,-76.634494],[-72.206776,-76.673665],[-73.969536,-76.634494],[-75.555977,-76.712887],[-77.24037,-76.712887],[-76.926979,-77.104802],[-75.399294,-77.28107],[-74.282876,-77.55542],[-73.656119,-77.908112],[-74.772536,-78.221633],[-76.4961,-78.123654],[-77.925858,-78.378419],[-77.984666,-78.789918],[-78.023785,-79.181833],[-76.848637,-79.514939],[-76.633224,-79.887216],[-75.360097,-80.259545],[-73.244852,-80.416331],[-71.442946,-80.69063],[-70.013163,-81.004151],[-68.191646,-81.317672],[-65.704279,-81.474458],[-63.25603,-81.748757],[-61.552026,-82.042692],[-59.691416,-82.37585],[-58.712121,-82.846106],[-58.222487,-83.218434],[-57.008117,-82.865691],[-55.362894,-82.571755],[-53.619771,-82.258235],[-51.543644,-82.003521],[-49.76135,-81.729171],[-47.273931,-81.709586],[-44.825708,-81.846735],[-42.808363,-82.081915],[-42.16202,-81.65083],[-40.771433,-81.356894],[-38.244818,-81.337309],[-36.26667,-81.121715],[-34.386397,-80.906172],[-32.310296,-80.769023],[-30.097098,-80.592651],[-28.549802,-80.337938],[-29.254901,-79.985195],[-29.685805,-79.632503],[-29.685805,-79.260226],[-31.624808,-79.299397],[-33.681324,-79.456132],[-35.639912,-79.456132],[-35.914107,-79.083855],[-35.77701,-78.339248],[-35.326546,-78.123654],[-33.896763,-77.888526],[-32.212369,-77.65345],[-30.998051,-77.359515],[-29.783732,-77.065579],[-28.882779,-76.673665],[-27.511752,-76.497345],[-26.160336,-76.360144],[-25.474822,-76.281803],[-23.927552,-76.24258],[-22.458598,-76.105431],[-21.224694,-75.909474],[-20.010375,-75.674346],[-18.913543,-75.439218],[-17.522982,-75.125698],[-16.641589,-74.79254],[-15.701491,-74.498604],[-15.40771,-74.106742],[-16.46532,-73.871614],[-16.112784,-73.460114],[-15.446855,-73.146542],[-14.408805,-72.950585],[-13.311973,-72.715457],[-12.293508,-72.401936],[-11.510067,-72.010074],[-11.020433,-71.539767],[-10.295774,-71.265416],[-9.101015,-71.324224],[-8.611381,-71.65733],[-7.416622,-71.696501],[-7.377451,-71.324224],[-6.868232,-70.93231],[-5.790985,-71.030289],[-5.536375,-71.402617],[-4.341667,-71.461373],[-3.048981,-71.285053],[-1.795492,-71.167438],[-.659489,-71.226246],[-.228637,-71.637745],[.868195,-71.304639],[1.886686,-71.128267],[3.022638,-70.991118],[4.139055,-70.853917],[5.157546,-70.618789],[6.273912,-70.462055],[7.13572,-70.246512],[7.742866,-69.893769],[8.48711,-70.148534],[9.525135,-70.011333],[10.249845,-70.48164],[10.817821,-70.834332],[11.953824,-70.638375],[12.404287,-70.246512],[13.422778,-69.972162],[14.734998,-70.030918],[15.126757,-70.403247],[15.949342,-70.030918],[17.026589,-69.913354],[18.201711,-69.874183],[19.259373,-69.893769],[20.375739,-70.011333],[21.452985,-70.07014],[21.923034,-70.403247],[22.569403,-70.697182],[23.666184,-70.520811],[24.841357,-70.48164],[25.977309,-70.48164],[27.093726,-70.462055],[28.09258,-70.324854],[29.150242,-70.20729],[30.031583,-69.93294],[30.971733,-69.75662],[31.990172,-69.658641],[32.754053,-69.384291],[33.302443,-68.835642],[33.870419,-68.502588],[34.908495,-68.659271],[35.300202,-69.012014],[36.16201,-69.247142],[37.200035,-69.168748],[37.905108,-69.52144],[38.649404,-69.776205],[39.667894,-69.541077],[40.020431,-69.109941],[40.921358,-68.933621],[41.959434,-68.600514],[42.938702,-68.463313],[44.113876,-68.267408],[44.897291,-68.051866],[45.719928,-67.816738],[46.503343,-67.601196],[47.44344,-67.718759],[48.344419,-67.366068],[48.990736,-67.091718],[49.930885,-67.111303],[50.753471,-66.876175],[50.949325,-66.523484],[51.791547,-66.249133],[52.614133,-66.053176],[53.613038,-65.89639],[54.53355,-65.818049],[55.414943,-65.876805],[56.355041,-65.974783],[57.158093,-66.249133],[57.255968,-66.680218],[58.137361,-67.013324],[58.744508,-67.287675],[59.939318,-67.405239],[60.605221,-67.679589],[61.427806,-67.953887],[62.387489,-68.012695],[63.19049,-67.816738],[64.052349,-67.405239],[64.992447,-67.620729],[65.971715,-67.738345],[66.911864,-67.855909],[67.891133,-67.934302],[68.890038,-67.934302],[69.712624,-68.972791],[69.673453,-69.227556],[69.555941,-69.678226],[68.596258,-69.93294],[67.81274,-70.305268],[67.949889,-70.697182],[69.066307,-70.677545],[68.929157,-71.069459],[68.419989,-71.441788],[67.949889,-71.853287],[68.71377,-72.166808],[69.869307,-72.264787],[71.024895,-72.088415],[71.573285,-71.696501],[71.906288,-71.324224],[72.454627,-71.010703],[73.08141,-70.716768],[73.33602,-70.364024],[73.864877,-69.874183],[74.491557,-69.776205],[75.62756,-69.737034],[76.626465,-69.619419],[77.644904,-69.462684],[78.134539,-69.07077],[78.428371,-68.698441],[79.113859,-68.326216],[80.093127,-68.071503],[80.93535,-67.875546],[81.483792,-67.542388],[82.051767,-67.366068],[82.776426,-67.209282],[83.775331,-67.30726],[84.676206,-67.209282],[85.655527,-67.091718],[86.752359,-67.150474],[87.477017,-66.876175],[87.986289,-66.209911],[88.358411,-66.484261],[88.828408,-66.954568],[89.67063,-67.150474],[90.630365,-67.228867],[91.5901,-67.111303],[92.608539,-67.189696],[93.548637,-67.209282],[94.17542,-67.111303],[95.017591,-67.170111],[95.781472,-67.385653],[96.682399,-67.248504],[97.759646,-67.248504],[98.68021,-67.111303],[99.718182,-67.248504],[100.384188,-66.915346],[100.893356,-66.58224],[101.578896,-66.30789],[102.832411,-65.563284],[103.478676,-65.700485],[104.242557,-65.974783],[104.90846,-66.327527],[106.181561,-66.934931],[107.160881,-66.954568],[108.081393,-66.954568],[109.15864,-66.837004],[110.235835,-66.699804],[111.058472,-66.425505],[111.74396,-66.13157],[112.860378,-66.092347],[113.604673,-65.876805],[114.388088,-66.072762],[114.897308,-66.386283],[115.602381,-66.699804],[116.699161,-66.660633],[117.384701,-66.915346],[118.57946,-67.170111],[119.832924,-67.268089],[120.871,-67.189696],[121.654415,-66.876175],[122.320369,-66.562654],[123.221296,-66.484261],[124.122274,-66.621462],[125.160247,-66.719389],[126.100396,-66.562654],[127.001427,-66.562654],[127.882768,-66.660633],[128.80328,-66.758611],[129.704259,-66.58224],[130.781454,-66.425505],[131.799945,-66.386283],[132.935896,-66.386283],[133.85646,-66.288304],[134.757387,-66.209963],[135.031582,-65.72007],[135.070753,-65.308571],[135.697485,-65.582869],[135.873805,-66.033591],[136.206705,-66.44509],[136.618049,-66.778197],[137.460271,-66.954568],[138.596223,-66.895761],[139.908442,-66.876175],[140.809421,-66.817367],[142.121692,-66.817367],[143.061842,-66.797782],[144.374061,-66.837004],[145.490427,-66.915346],[146.195552,-67.228867],[145.999699,-67.601196],[146.646067,-67.895131],[147.723263,-68.130259],[148.839629,-68.385024],[150.132314,-68.561292],[151.483705,-68.71813],[152.502247,-68.874813],[153.638199,-68.894502],[154.284567,-68.561292],[155.165857,-68.835642],[155.92979,-69.149215],[156.811132,-69.384291],[158.025528,-69.482269],[159.181013,-69.599833],[159.670699,-69.991747],[160.80665,-70.226875],[161.570479,-70.579618],[162.686897,-70.736353],[163.842434,-70.716768],[164.919681,-70.775524],[166.11444,-70.755938],[167.309095,-70.834332],[168.425616,-70.971481],[169.463589,-71.20666],[170.501665,-71.402617],[171.20679,-71.696501],[171.089227,-72.088415],[170.560422,-72.441159],[170.109958,-72.891829],[169.75737,-73.24452],[169.287321,-73.65602],[167.975101,-73.812806],[167.387489,-74.165498],[166.094803,-74.38104],[165.644391,-74.772954],[164.958851,-75.145283],[164.234193,-75.458804],[163.822797,-75.870303],[163.568239,-76.24258],[163.47026,-76.693302],[163.489897,-77.065579],[164.057873,-77.457442],[164.273363,-77.82977],[164.743464,-78.182514],[166.604126,-78.319611],[166.995781,-78.750748],[165.193876,-78.907483],[163.666217,-79.123025],[161.766385,-79.162248],[160.924162,-79.730482],[160.747894,-80.200737],[160.316964,-80.573066],[159.788211,-80.945395],[161.120016,-81.278501],[161.629287,-81.690001],[162.490992,-82.062278],[163.705336,-82.395435],[165.095949,-82.708956],[166.604126,-83.022477],[168.895665,-83.335998],[169.404782,-83.825891],[172.283934,-84.041433],[172.477049,-84.117914],[173.224083,-84.41371],[175.985672,-84.158997],[178.277212,-84.472518],[180,-84.71338]]]]}},{type:`Feature`,properties:{code:`-99`,name:`Turkish Republic of Northern Cyprus`},geometry:{type:`Polygon`,coordinates:[[[32.73178,35.140026],[32.802474,35.145504],[32.946961,35.386703],[33.667227,35.373216],[34.576474,35.671596],[33.900804,35.245756],[33.973617,35.058506],[33.86644,35.093595],[33.675392,35.017863],[33.525685,35.038688],[33.475817,35.000345],[33.455922,35.101424],[33.383833,35.162712],[33.190977,35.173125],[32.919572,35.087833],[32.73178,35.140026]]]}},{type:`Feature`,properties:{code:`CY`,name:`Cyprus`},geometry:{type:`Polygon`,coordinates:[[[32.73178,35.140026],[32.919572,35.087833],[33.190977,35.173125],[33.383833,35.162712],[33.455922,35.101424],[33.475817,35.000345],[33.525685,35.038688],[33.675392,35.017863],[33.86644,35.093595],[33.973617,35.058506],[34.004881,34.978098],[32.979827,34.571869],[32.490296,34.701655],[32.256667,35.103232],[32.73178,35.140026]]]}},{type:`Feature`,properties:{code:`MA`,name:`Morocco`},geometry:{type:`Polygon`,coordinates:[[[-2.169914,35.168396],[-1.792986,34.527919],[-1.733455,33.919713],[-1.388049,32.864015],[-1.124551,32.651522],[-1.307899,32.262889],[-2.616605,32.094346],[-3.06898,31.724498],[-3.647498,31.637294],[-3.690441,30.896952],[-4.859646,30.501188],[-5.242129,30.000443],[-6.060632,29.7317],[-7.059228,29.579228],[-8.674116,28.841289],[-8.66559,27.656426],[-8.817828,27.656426],[-8.794884,27.120696],[-9.413037,27.088476],[-9.735343,26.860945],[-10.189424,26.860945],[-10.551263,26.990808],[-11.392555,26.883424],[-11.71822,26.104092],[-12.030759,26.030866],[-12.500963,24.770116],[-13.89111,23.691009],[-14.221168,22.310163],[-14.630833,21.86094],[-14.750955,21.5006],[-17.002962,21.420734],[-17.020428,21.42231],[-16.973248,21.885745],[-16.589137,22.158234],[-16.261922,22.67934],[-16.326414,23.017768],[-15.982611,23.723358],[-15.426004,24.359134],[-15.089332,24.520261],[-14.824645,25.103533],[-14.800926,25.636265],[-14.43994,26.254418],[-13.773805,26.618892],[-13.139942,27.640148],[-13.121613,27.654148],[-12.618837,28.038186],[-11.688919,28.148644],[-10.900957,28.832142],[-10.399592,29.098586],[-9.564811,29.933574],[-9.814718,31.177736],[-9.434793,32.038096],[-9.300693,32.564679],[-8.657476,33.240245],[-7.654178,33.697065],[-6.912544,34.110476],[-6.244342,35.145865],[-5.929994,35.759988],[-5.193863,35.755182],[-4.591006,35.330712],[-3.640057,35.399855],[-2.604306,35.179093],[-2.169914,35.168396]]]}},{type:`Feature`,properties:{code:`EG`,name:`Egypt`},geometry:{type:`Polygon`,coordinates:[[[36.86623,22],[32.9,22],[29.02,22],[25,22],[25,25.6825],[25,29.238655],[24.70007,30.04419],[24.95762,30.6616],[24.80287,31.08929],[25.16482,31.56915],[26.49533,31.58568],[27.45762,31.32126],[28.45048,31.02577],[28.91353,30.87005],[29.68342,31.18686],[30.09503,31.4734],[30.97693,31.55586],[31.68796,31.4296],[31.96041,30.9336],[32.19247,31.26034],[32.99392,31.02407],[33.7734,30.96746],[34.265435,31.219357],[34.26544,31.21936],[34.823243,29.761081],[34.9226,29.50133],[34.64174,29.09942],[34.42655,28.34399],[34.15451,27.8233],[33.92136,27.6487],[33.58811,27.97136],[33.13676,28.41765],[32.42323,29.85108],[32.32046,29.76043],[32.73482,28.70523],[33.34876,27.69989],[34.10455,26.14227],[34.47387,25.59856],[34.79507,25.03375],[35.69241,23.92671],[35.49372,23.75237],[35.52598,23.10244],[36.69069,22.20485],[36.86623,22]]]}},{type:`Feature`,properties:{code:`LY`,name:`Libya`},geometry:{type:`Polygon`,coordinates:[[[25,22],[25,20.00304],[23.85,20],[23.83766,19.58047],[19.84926,21.49509],[15.86085,23.40972],[14.8513,22.86295],[14.143871,22.491289],[13.581425,23.040506],[11.999506,23.471668],[11.560669,24.097909],[10.771364,24.562532],[10.303847,24.379313],[9.948261,24.936954],[9.910693,25.365455],[9.319411,26.094325],[9.716286,26.512206],[9.629056,27.140953],[9.756128,27.688259],[9.683885,28.144174],[9.859998,28.95999],[9.805634,29.424638],[9.48214,30.307556],[9.970017,30.539325],[10.056575,30.961831],[9.950225,31.37607],[10.636901,31.761421],[10.94479,32.081815],[11.432253,32.368903],[11.488787,33.136996],[12.66331,32.79278],[13.08326,32.87882],[13.91868,32.71196],[15.24563,32.26508],[15.71394,31.37626],[16.61162,31.18218],[18.02109,30.76357],[19.08641,30.26639],[19.57404,30.52582],[20.05335,30.98576],[19.82033,31.75179],[20.13397,32.2382],[20.85452,32.7068],[21.54298,32.8432],[22.89576,32.63858],[23.2368,32.19149],[23.60913,32.18726],[23.9275,32.01667],[24.92114,31.89936],[25.16482,31.56915],[24.80287,31.08929],[24.95762,30.6616],[24.70007,30.04419],[25,29.238655],[25,25.6825],[25,22]]]}},{type:`Feature`,properties:{code:`ET`,name:`Ethiopia`},geometry:{type:`Polygon`,coordinates:[[[47.78942,8.003],[44.9636,5.00162],[43.66087,4.95755],[42.76967,4.25259],[42.12861,4.23413],[41.855083,3.918912],[41.1718,3.91909],[40.76848,4.25702],[39.85494,3.83879],[39.559384,3.42206],[38.89251,3.50074],[38.67114,3.61607],[38.43697,3.58851],[38.120915,3.598605],[36.855093,4.447864],[36.159079,4.447864],[35.817448,4.776966],[35.817448,5.338232],[35.298007,5.506],[34.70702,6.59422],[34.25032,6.82607],[34.0751,7.22595],[33.56829,7.71334],[32.95418,7.78497],[33.2948,8.35458],[33.8255,8.37916],[33.97498,8.68456],[33.96162,9.58358],[34.25745,10.63009],[34.73115,10.91017],[34.83163,11.31896],[35.26049,12.08286],[35.86363,12.57828],[36.27022,13.56333],[36.42951,14.42211],[37.59377,14.2131],[37.90607,14.95943],[38.51295,14.50547],[39.0994,14.74064],[39.34061,14.53155],[40.02625,14.51959],[40.8966,14.11864],[41.1552,13.77333],[41.59856,13.45209],[42.00975,12.86582],[42.35156,12.54223],[42,12.1],[41.66176,11.6312],[41.73959,11.35511],[41.75557,11.05091],[42.31414,11.0342],[42.55493,11.10511],[42.776852,10.926879],[42.55876,10.57258],[42.92812,10.02194],[43.29699,9.54048],[43.67875,9.18358],[46.94834,7.99688],[47.78942,8.003]]]}},{type:`Feature`,properties:{code:`DJ`,name:`Djibouti`},geometry:{type:`Polygon`,coordinates:[[[42.35156,12.54223],[42.779642,12.455416],[43.081226,12.699639],[43.317852,12.390148],[43.286381,11.974928],[42.715874,11.735641],[43.145305,11.46204],[42.776852,10.926879],[42.55493,11.10511],[42.31414,11.0342],[41.75557,11.05091],[41.73959,11.35511],[41.66176,11.6312],[42,12.1],[42.35156,12.54223]]]}},{type:`Feature`,properties:{code:`-99`,name:`Somaliland`},geometry:{type:`Polygon`,coordinates:[[[48.948205,11.410617],[48.948205,11.410617],[48.942005,11.394266],[48.938491,10.982327],[48.938233,9.9735],[48.93813,9.451749],[48.486736,8.837626],[47.78942,8.003],[46.94834,7.99688],[43.67875,9.18358],[43.29699,9.54048],[42.92812,10.02194],[42.55876,10.57258],[42.776852,10.926879],[43.145305,11.46204],[43.47066,11.27771],[43.666668,10.864169],[44.117804,10.445538],[44.614259,10.442205],[45.556941,10.698029],[46.645401,10.816549],[47.525658,11.127228],[48.021596,11.193064],[48.378784,11.375482],[48.948206,11.410622],[48.948205,11.410617]]]}},{type:`Feature`,properties:{code:`UG`,name:`Uganda`},geometry:{type:`Polygon`,coordinates:[[[33.903711,-.95],[31.86617,-1.02736],[30.76986,-1.01455],[30.419105,-1.134659],[29.821519,-1.443322],[29.579466,-1.341313],[29.587838,-.587406],[29.819503,-.20531],[29.875779,.59738],[30.086154,1.062313],[30.468508,1.583805],[30.85267,1.849396],[31.174149,2.204465],[30.773347,2.339883],[30.83386,3.509166],[30.833852,3.509172],[31.24556,3.7819],[31.88145,3.55827],[32.68642,3.79232],[33.39,3.79],[34.005,4.249885],[34.47913,3.5556],[34.59607,3.05374],[35.03599,1.90584],[34.6721,1.17694],[34.18,.515],[33.893569,.109814],[33.903711,-.95]]]}},{type:`Feature`,properties:{code:`RW`,name:`Rwanda`},geometry:{type:`Polygon`,coordinates:[[[30.419105,-1.134659],[30.816135,-1.698914],[30.758309,-2.28725],[30.46967,-2.41383],[30.469674,-2.413855],[29.938359,-2.348487],[29.632176,-2.917858],[29.024926,-2.839258],[29.117479,-2.292211],[29.254835,-2.21511],[29.291887,-1.620056],[29.579466,-1.341313],[29.821519,-1.443322],[30.419105,-1.134659]]]}},{type:`Feature`,properties:{code:`BA`,name:`Bosnia and Herzegovina`},geometry:{type:`Polygon`,coordinates:[[[18.56,42.65],[17.674922,43.028563],[17.297373,43.446341],[16.916156,43.667722],[16.456443,44.04124],[16.23966,44.351143],[15.750026,44.818712],[15.959367,45.233777],[16.318157,45.004127],[16.534939,45.211608],[17.002146,45.233777],[17.861783,45.06774],[18.553214,45.08159],[19.005485,44.860234],[19.00548,44.86023],[19.36803,44.863],[19.11761,44.42307],[19.59976,44.03847],[19.454,43.5681],[19.21852,43.52384],[19.03165,43.43253],[18.70648,43.20011],[18.56,42.65]]]}},{type:`Feature`,properties:{code:`MK`,name:`North Macedonia`},geometry:{type:`Polygon`,coordinates:[[[22.380526,42.32026],[22.881374,41.999297],[22.952377,41.337994],[22.76177,41.3048],[22.597308,41.130487],[22.055378,41.149866],[21.674161,40.931275],[21.02004,40.842727],[20.605182,41.086226],[20.463175,41.515089],[20.590247,41.855404],[20.590247,41.855409],[20.71731,41.84711],[20.76216,42.05186],[21.3527,42.2068],[21.576636,42.245224],[21.91708,42.30364],[22.380526,42.32026]]]}},{type:`Feature`,properties:{code:`RS`,name:`Serbia`},geometry:{type:`Polygon`,coordinates:[[[18.829825,45.908872],[18.829838,45.908878],[19.596045,46.17173],[20.220192,46.127469],[20.762175,45.734573],[20.874313,45.416375],[21.483526,45.18117],[21.562023,44.768947],[22.145088,44.478422],[22.459022,44.702517],[22.705726,44.578003],[22.474008,44.409228],[22.65715,44.234923],[22.410446,44.008063],[22.500157,43.642814],[22.986019,43.211161],[22.604801,42.898519],[22.436595,42.580321],[22.545012,42.461362],[22.380526,42.32026],[21.91708,42.30364],[21.576636,42.245224],[21.54332,42.32025],[21.66292,42.43922],[21.77505,42.6827],[21.63302,42.67717],[21.43866,42.86255],[21.27421,42.90959],[21.143395,43.068685],[20.95651,43.13094],[20.81448,43.27205],[20.63508,43.21671],[20.49679,42.88469],[20.25758,42.81275],[20.3398,42.89852],[19.95857,43.10604],[19.63,43.21378],[19.48389,43.35229],[19.21852,43.52384],[19.454,43.5681],[19.59976,44.03847],[19.11761,44.42307],[19.36803,44.863],[19.00548,44.86023],[19.005485,44.860234],[19.390476,45.236516],[19.072769,45.521511],[18.829825,45.908872]]]}},{type:`Feature`,properties:{code:`ME`,name:`Montenegro`},geometry:{type:`Polygon`,coordinates:[[[20.0707,42.58863],[19.801613,42.500093],[19.738051,42.688247],[19.304486,42.195745],[19.371768,41.877551],[19.16246,41.95502],[18.88214,42.28151],[18.450017,42.479992],[18.56,42.65],[18.70648,43.20011],[19.03165,43.43253],[19.21852,43.52384],[19.48389,43.35229],[19.63,43.21378],[19.95857,43.10604],[20.3398,42.89852],[20.25758,42.81275],[20.0707,42.58863]]]}},{type:`Feature`,properties:{code:`XK`,name:`Kosovo`},geometry:{type:`Polygon`,coordinates:[[[20.590247,41.855409],[20.52295,42.21787],[20.283755,42.32026],[20.0707,42.58863],[20.25758,42.81275],[20.49679,42.88469],[20.63508,43.21671],[20.81448,43.27205],[20.95651,43.13094],[21.143395,43.068685],[21.27421,42.90959],[21.43866,42.86255],[21.63302,42.67717],[21.77505,42.6827],[21.66292,42.43922],[21.54332,42.32025],[21.576636,42.245224],[21.3527,42.2068],[20.76216,42.05186],[20.71731,41.84711],[20.590247,41.855409]]]}},{type:`Feature`,properties:{code:`TT`,name:`Trinidad and Tobago`},geometry:{type:`Polygon`,coordinates:[[[-61.68,10.76],[-61.105,10.89],[-60.895,10.855],[-60.935,10.11],[-61.77,10],[-61.95,10.09],[-61.66,10.365],[-61.68,10.76]]]}},{type:`Feature`,properties:{code:`SS`,name:`South Sudan`},geometry:{type:`Polygon`,coordinates:[[[30.833852,3.509172],[29.9535,4.173699],[29.715995,4.600805],[29.159078,4.389267],[28.696678,4.455077],[28.428994,4.287155],[27.979977,4.408413],[27.374226,5.233944],[27.213409,5.550953],[26.465909,5.946717],[26.213418,6.546603],[25.796648,6.979316],[25.124131,7.500085],[25.114932,7.825104],[24.567369,8.229188],[23.88698,8.61973],[24.194068,8.728696],[24.537415,8.917538],[24.794926,9.810241],[25.069604,10.27376],[25.790633,10.411099],[25.962307,10.136421],[26.477328,9.55273],[26.752006,9.466893],[27.112521,9.638567],[27.833551,9.604232],[27.97089,9.398224],[28.966597,9.398224],[29.000932,9.604232],[29.515953,9.793074],[29.618957,10.084919],[29.996639,10.290927],[30.837841,9.707237],[31.352862,9.810241],[31.850716,10.531271],[32.400072,11.080626],[32.314235,11.681484],[32.073892,11.97333],[32.67475,12.024832],[32.743419,12.248008],[33.206938,12.179338],[33.086766,11.441141],[33.206938,10.720112],[33.721959,10.325262],[33.842131,9.981915],[33.824963,9.484061],[33.963393,9.464285],[33.97498,8.68456],[33.8255,8.37916],[33.2948,8.35458],[32.95418,7.78497],[33.56829,7.71334],[34.0751,7.22595],[34.25032,6.82607],[34.70702,6.59422],[35.298007,5.506],[34.620196,4.847123],[34.005,4.249885],[33.39,3.79],[32.68642,3.79232],[31.88145,3.55827],[31.24556,3.7819],[30.833852,3.509172]]]}}],xb=5,Sb=80,Cb=new Intl.DisplayNames([`en`],{type:`region`}),wb=new Intl.Collator(`en`);function Tb(e){return e.normalize(`NFD`).replace(/\p{M}/gu,``).toLowerCase().replace(/[^a-z0-9]+/g,` `).trim()}var Eb=bb.map(e=>({country:e,names:[e.properties.name,.../^[A-Z]{2}$/.test(e.properties.code)?[Cb.of(e.properties.code)??``,e.properties.code]:[],...e.properties.code===`US`?[`USA`,`America`]:[],...e.properties.code===`GB`?[`UK`,`Britain`]:[]].map(Tb)}));function Db(e,t){let n=Array.from({length:t.length+1},(e,t)=>t);for(let r=1;r<=e.length;r+=1){let i=[r];for(let a=1;a<=t.length;a+=1)i.push(Math.min(i[a-1]+1,n[a]+1,n[a-1]+(e[r-1]===t[a-1]?0:1)));n=i}return n[t.length]}function Ob(e,t){if(e===t)return 0;if(e.startsWith(t))return 1;if(e.includes(t))return 2;if(t.length<3)return 1/0;let n=Math.min(...[e,...e.split(` `)].map(e=>Db(e,t)));return n<=(t.length<5?1:2)?3+n:1/0}function kb(e){let t=Tb(e.slice(0,Sb));return t===``?[]:Eb.map(({country:e,names:n})=>({country:e,score:Math.min(...n.map(e=>Ob(e,t)))})).filter(e=>Number.isFinite(e.score)).sort((e,t)=>e.score-t.score||wb.compare(e.country.properties.name,t.country.properties.name)).slice(0,xb).map(e=>e.country)}var Ab=c(`<button class="country-search-clear" type="button">Clear</button>`),jb=c(`<li><button type="button"> </button></li>`),Mb=c(`<ul class="country-search-results" aria-label="Matching countries"></ul>`),Nb=T(`<path role="button" tabindex="0"><title> </title></path>`),Pb=T(`<path class="country-search-highlight" role="button" tabindex="0"><title> </title></path>`),Fb=c(`<!> <!>`,1),Ib=c(`<span><i></i>1 request</span> <span><i></i> </span>`,1),Lb=c(`<p class="panel-note"> </p>`),Rb=c(`<div class="country-detail-heading"><div><!> <!></div> <!></div> <!>`,1),zb=c(`<div class="country-map"><div class="country-search"><label class="control"><span>Find country</span> <input type="search" placeholder="Search country name" autocomplete="off" spellcheck="false"/></label> <!></div> <!> <p class="country-search-status" role="status"><!></p> <div class="country-map-plot"><!></div> <div class="map-legend" aria-label="Map colour scale"><span><i></i>No data / zero</span> <!></div> <p class="panel-note">Colour intensity scales linearly with request count. Hover a country for its value, or open the data table for full details.</p> <!> <p class="panel-note">Map: Natural Earth, simplified country boundaries. Small territories may not be represented.</p></div> <!>`,1);function Bb(e,t){let a=D();Y(t,!0);let o=j(!1),c=j(0),l=j(void 0),u,f=j(``),h=j(``),g=J(()=>kb(A(f))),_=J(()=>A(g).find(e=>e.properties.name===A(h))??A(g)[0]),y=J(()=>new Map(t.rows.map(e=>[ab(e,`country`).toUpperCase(),ib(e,`views`)]))),b=J(()=>A(_)&&A(_).properties.code!==`-99`?A(y).get(A(_).properties.code):void 0),x=J(()=>Math.max(0,...A(y).values())),S=new Set(bb.map(e=>e.properties.code).filter(e=>e!==`-99`)),C=J(()=>t.rows.filter(e=>!S.has(ab(e,`country`).toUpperCase())));function w(e,t){R(f,e.properties.name,!0),R(h,e.properties.name,!0),R(l,e.properties,!0),u=t,R(o,!0)}function T(e){return e===void 0||e<=0?`var(--color-surface-200)`:`color-mix(in srgb, var(--color-primary) ${20+80*e/A(x)}%, var(--color-surface-200))`}var O=zb(),k=q(O),ee=U(k),M=U(ee),P=I(U(M),2);se(P),L(P,`maxlength`,80),V(M);var ne=I(M,2),re=e=>{var t=Ab();me(`click`,t,()=>{R(f,``),R(h,``)}),r(e,t)},ae=J(()=>A(f).trim()!==``);v(ne,e=>{A(ae)&&e(re)}),V(ee);var oe=I(ee,2),z=e=>{var t=Mb();B(t,21,()=>A(g),e=>e.properties.name,(e,t)=>{var n=jb(),i=U(n),a=F(i,!0);V(n),N(()=>{L(i,`aria-pressed`,A(_)===A(t)),p(a,A(t).properties.name)}),d(`focus`,i,()=>R(h,A(t).properties.name,!0)),me(`click`,i,e=>w(A(t),e.currentTarget)),r(e,n)}),V(t),r(e,t)};v(oe,e=>{A(g).length>0&&e(z)});var ce=I(oe,2),W=U(ce),ue=e=>{var t=s();N(e=>p(t,`Highlighted: ${A(_).properties.name??``} · ${e??``}`),[()=>A(b)===void 0?`No data in this range`:`${$y(A(b))} requests`]),r(e,t)},de=e=>{var t=s(`No matching country on this map.`);r(e,t)},G=J(()=>A(f).trim()!==``);v(W,e=>{A(_)?e(ue):A(G)&&e(de,1)}),V(ce);var K=I(ce,2);es(U(K),{padding:8,children:(e,t)=>{yb(e,{get projection(){return bs},fitGeojson:{type:`Sphere`},children:(e,t)=>{Pr(e,{role:`group`,"aria-label":`World map of requests by country. Select a country for daily viewers.`,children:(e,t)=>{var n=Fb(),i=q(n);B(i,17,()=>bb,m,(e,t)=>{let n=J(()=>A(t).properties.code===`-99`?void 0:A(y).get(A(t).properties.code));{let i=(e,i)=>{let a=()=>(i?.()).geoPath;var o=Nb();let s,c;var l=U(o),u=F(l);V(o),N((e,n,r)=>{L(o,`d`,e),L(o,`aria-label`,`View ${A(t).properties.name} details`),s=te(o,0,``,null,s,{"country-search-muted":A(_)!==void 0}),c=Ce(o,``,c,{fill:n}),p(u,`${A(t).properties.name??``}: ${r??``}`)},[()=>a()?.(A(t))??``,()=>T(A(n)),()=>A(n)===void 0?`No data`:`${$y(A(n))} requests`]),me(`click`,o,e=>w(A(t),e.currentTarget)),me(`keydown`,o,e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),w(A(t),e.currentTarget))}),r(e,o)},a=J(()=>T(A(n))),o=J(()=>`${A(t).properties.name}: ${A(n)===void 0?`No data`:`${$y(A(n))} requests`}`);mt(e,{get geojson(){return A(t)},get fill(){return A(a)},get"aria-label"(){return A(o)},children:i,$$slots:{default:!0}})}});var a=I(i,2),o=e=>{mt(e,{get geojson(){return A(_)},children:(e,t)=>{let n=()=>(t?.()).geoPath;var i=Pb(),a=U(i),o=F(a);V(i),N((e,t)=>{L(i,`d`,e),L(i,`aria-label`,`View ${A(_).properties.name} details`),p(o,`${A(_).properties.name??``}: ${t??``}`)},[()=>n()?.(A(_))??``,()=>A(b)===void 0?`No data`:`${$y(A(b))} requests`]),me(`click`,i,e=>w(A(_),e.currentTarget)),me(`keydown`,i,e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),w(A(_),e.currentTarget))}),r(e,i)},$$slots:{default:!0}})};v(a,e=>{A(_)&&e(o)}),r(e,n)},$$slots:{default:!0}})},$$slots:{default:!0}})},$$slots:{default:!0}}),V(K);var fe=I(K,2),pe=U(fe),he=U(pe);let ge;n(),V(pe);var _e=I(pe,2),ve=e=>{var t=Ib(),i=q(t),a=U(i);let o;n(),V(i);var s=I(i,2),c=U(s);let l;var u=I(c);V(s),N((e,t,n)=>{o=Ce(a,``,o,{background:e}),l=Ce(c,``,l,{background:t}),p(u,`${n??``} requests`)},[()=>T(1),()=>T(A(x)),()=>$y(A(x))]),r(e,t)};v(_e,e=>{A(x)>0&&e(ve)}),V(fe);var ye=I(fe,4),be=e=>{var t=Lb(),n=F(t);N(e=>p(n,`Not shown on this map: ${e??``}. These rows remain in the data table.`),[()=>A(C).map(e=>`${ab(e,`country`)} (${$y(ib(e,`views`))})`).join(`, `)]),r(e,t)};v(ye,e=>{A(C).length>0&&e(be)}),n(2),V(k);var xe=I(k,2);H(xe,()=>jy,(e,i)=>{i(e,{get open(){return A(o)},set open(e){R(o,e,!0)},children:(e,i)=>{var a=E(),d=q(a);H(d,()=>su,(e,i)=>{i(e,{children:(e,i)=>{var a=Fb(),d=q(a);H(d,()=>Ad,(e,t)=>{t(e,{class:`country-detail-overlay`})});var f=I(d,2);{let e=J(()=>`--country-detail-width: ${A(c)}px`);H(f,()=>Ry,(i,a)=>{a(i,{class:`country-detail-dialog`,get style(){return A(e)},onCloseAutoFocus:e=>{e.preventDefault(),u?.focus()},children:(e,i)=>{var a=Rb(),c=q(a),u=U(c),d=U(u);H(d,()=>Ql,(e,t)=>{t(e,{class:`country-detail-title`,children:(e,t)=>{n();var i=s();N(()=>p(i,`${A(l)?.name??``} · Viewers over time`)),r(e,i)},$$slots:{default:!0}})});var f=I(d,2);H(f,()=>Nd,(e,i)=>{i(e,{class:`country-detail-period`,children:(e,i)=>{n();var a=s();N((e,t)=>p(a,`${e??``} to ${t??``} UTC`),[()=>t.request.range.from.replace(`T`,` `),()=>t.request.range.to.replace(`T`,` `)]),r(e,a)},$$slots:{default:!0}})}),V(u);var m=I(u,2);H(m,()=>Py,(e,t)=>{t(e,{class:`country-detail-close`,"aria-label":`Close country details`,children:(e,t)=>{Tr(e,{size:20,"aria-hidden":`true`})},$$slots:{default:!0}})}),V(c);var h=I(c,2),g=e=>{_b(e,{get code(){return A(l).code},get request(){return t.request},get refreshVersion(){return t.refreshVersion}})};v(h,e=>{A(o)&&A(l)&&e(g)}),r(e,a)},$$slots:{default:!0}})})}r(e,a)},$$slots:{default:!0}})}),r(e,a)},$$slots:{default:!0}})}),N(e=>{L(M,`for`,a),L(P,`id`,a),L(P,`aria-describedby`,`${a}-status`),L(ce,`id`,`${a}-status`),ge=Ce(he,``,ge,{background:e})},[()=>T(void 0)]),me(`input`,P,()=>R(h,``)),me(`keydown`,P,e=>{e.key===`Escape`&&(R(f,``),R(h,``))}),ie(P,()=>A(f),e=>R(f,e)),le(k,`clientWidth`,e=>R(c,e)),r(e,O),i()}f([`input`,`keydown`,`click`]);var Vb=new Set([`$$slots`,`$$events`,`$$legacy`]);function Hb(e,t){let n=M(t,Vb);Na(e,G({get Layer(){return Pr},get Axis(){return mo},get Grid(){return Ao},get Rule(){return fo},get Highlight(){return Wo},get ChartClipPath(){return Vr}},()=>n))}var Ub=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`context`]);function Wb(e,t){Y(t,!0);let n=z(t,`ref`,15),r=z(t,`context`,15),a=M(t,Ub);Oa(e,G({get ChartChildren(){return Hb}},()=>a,{get ref(){return n()},set ref(e){n(e)},get context(){return r()},set context(e){r(e)}})),i()}var Gb=new Set([`$$slots`,`$$events`,`$$legacy`]);function Kb(e,t){let n=M(t,Gb);qs(e,G({get Chart(){return Wb},get Arc(){return En},get ArcLabel(){return os},get Group(){return on},get Pie(){return Zs}},()=>n))}var qb=T(`<g><!></g>`),Jb=c(`<li><button type="button"><i aria-hidden="true"></i> <span> </span> <strong> </strong> <span class="paths-pie-count"> </span></button></li>`),Yb=c(`<div class="paths-pie"><div class="paths-pie-chart"><!></div> <ul class="paths-pie-legend" aria-label="Path shares"></ul></div> <p class="panel-note">Share of requests across all returned paths. <!></p>`,1),Xb=c(`<div class="panel-state">No views in this range.</div>`);function Zb(e,t){Y(t,!0);let n=j(void 0),a=j(void 0),o=J(()=>A(n)??A(a)),c=J(()=>t.rows.reduce((e,t)=>e+ib(t,`views`),0)),l=J(()=>{let e=t.rows.slice(0,12).map((e,t)=>({id:`path-${t}`,label:ab(e,`uri`),value:ib(e,`views`),color:`hsl(${(215+t*137.5)%360} 55% 58%)`})),n=t.rows.slice(12).reduce((e,t)=>e+ib(t,`views`),0);return n>0&&e.push({id:`remainder`,label:`Other paths`,value:n,color:`var(--color-surface-muted)`}),e});var u=E(),f=q(u),m=e=>{var i=Yb(),u=q(i),f=U(u);Kb(U(f),{get data(){return A(l)},key:`id`,label:`label`,value:`value`,c:`color`,innerRadius:0,padding:24,arc:(e,t)=>{let n=()=>(t?.()).props,i=()=>(t?.()).index,a=J(()=>A(l)[i()]?.id);var s=qb();let c;var u=U(s);En(u,G(n)),V(s),N(()=>c=te(s,0,`paths-pie-slice`,null,c,{"is-active":A(o)!==void 0&&A(o)===A(a),"is-muted":A(o)!==void 0&&A(o)!==A(a)})),r(e,s)},$$slots:{arc:!0}}),V(f);var m=I(f,2);B(m,21,()=>A(l),e=>e.id,(e,t)=>{var i=Jb(),s=U(i);let l;var u=U(s);let f;var m=I(u,2),h=F(m,!0),g=I(m,2),_=F(g,!0),v=I(g,2),y=F(v);V(s),V(i),N((e,n)=>{l=te(s,1,`paths-pie-legend-item`,null,l,{"is-active":A(o)===A(t).id}),f=Ce(u,``,f,{background:A(t).color}),p(h,A(t).label),p(_,e),p(y,`${n??``} views`)},[()=>eb(A(t).value/A(c)),()=>$y(A(t).value)]),d(`pointerenter`,s,()=>R(n,A(t).id,!0)),d(`pointerleave`,s,()=>R(n,void 0)),d(`focus`,s,e=>R(a,e.currentTarget.matches(`:focus-visible`)?A(t).id:void 0,!0)),d(`blur`,s,()=>R(a,void 0)),r(e,i)}),V(m),V(u);var h=I(u,2),g=I(U(h)),_=e=>{var t=s();N(()=>p(t,`The top 12 paths are shown individually; remaining paths are grouped as Other paths.`)),r(e,t)};v(g,e=>{t.rows.length>12&&e(_)}),V(h),r(e,i)},h=e=>{var t=Xb();r(e,t)};v(f,e=>{A(c)>0?e(m):e(h,-1)}),r(e,u),i()}var Qb={"15m":{minutes:15,label:`15 minutes`},"1h":{minutes:60,label:`1 hour`},"6h":{minutes:360,label:`6 hours`},"12h":{minutes:720,label:`12 hours`},"24h":{minutes:1440,label:`24 hours`}},$b=c(`<div class="views-area-chart"><!></div>`),ex=c(`<div class="views-area-toolbar"><p class="panel-note">Drag across the chart to zoom into a time window (UTC).</p> <button type="button">Reset zoom</button></div> <!> <p class="panel-note" role="status"> </p>`,1);function tx(e,t){Y(t,!0);let n=z(t,`stacked`,3,!1),a=J(()=>t.rows.map(e=>({day:new Date(ab(e,`day`).length===10?`${ab(e,`day`)}T00:00:00Z`:ab(e,`day`)),views:ib(e,`views`),non_bot:ib(e,`non_bot`),bot:ib(e,`bot`)}))),o=j(0),s=j(``);function c(e){let n=new Date(e).toISOString();return t.granularity===`24h`?n.slice(5,10):`${n.slice(5,10)} ${n.slice(11,16)}`}function l(){R(o,A(o)+1),R(s,``)}var u=ex(),d=q(u),f=I(U(d),2);V(d);var m=I(d,2);h(m,()=>t.rows,e=>{var i=E(),l=q(i);h(l,()=>A(o),e=>{var i=$b(),o=U(i);{let e=J(()=>n()?`stack`:`overlap`),r=J(si),i=J(()=>A(a).length===1),l=J(()=>({axis:`x`,zoomOnBrush:!0,disabled:A(a).length<2,minExtent:{x:Qb[t.granularity].minutes*6e4},onBrushEnd:({brush:e})=>{let t=e.x[0],n=e.x[1];R(s,t instanceof Date&&n instanceof Date?`${new Date(t).toISOString().slice(0,16).replace(`T`,` `)} to ${new Date(n).toISOString().slice(0,16).replace(`T`,` `)} (UTC)`:``,!0)}})),u=J(()=>({tooltip:{header:{format:e=>e instanceof Date||typeof e==`number`?`${new Date(e).toISOString().slice(0,16).replace(`T`,` `)} (UTC)`:``}},xAxis:{format:c,ticks:t.granularity===`24h`?5:3},yAxis:{format:$y,ticks:4},area:{...n()?{}:{fill:`var(--color-primary)`,stroke:`var(--color-primary)`},fillOpacity:n()?.55:.2,strokeWidth:2}}));Os(o,G({get data(){return A(a)}},()=>n()?{series:ob}:{},{get seriesLayout(){return A(e)},x:`day`,get xScale(){return A(r)},y:`views`,xNice:!1,get points(){return A(i)},padding:{left:56,right:16,top:16,bottom:32},get brush(){return A(l)},get props(){return A(u)}}))}V(i),r(e,i)}),r(e,i)});var g=I(m,2),_=F(g,!0);N(()=>p(_,A(s)?`Chart window: ${A(s)}. The table retains the full reporting period.`:`Showing the full reporting period.`)),me(`click`,f,l),r(e,u),i()}f([`click`]);var nx=c(`<div class="granularity-control"><span>Granularity</span> <!></div>`),rx=c(`<fieldset class="country-view" aria-label="Countries view"><label><input type="radio"/>Map</label> <label><input type="radio"/>Bars</label></fieldset>`),ix=c(`<div class="panel-state" role="status">No rows in this range.</div>`),ax=c(`<div class="panel-chart"><!></div>`),ox=c(`<th scope="col">Non-bot</th><th scope="col">Bot</th>`,1),sx=c(`<td> </td><td> </td>`,1),cx=c(`<tr><th scope="row"> </th><td> </td><!></tr>`),lx=c(`<dl class="panel-total"><dt> </dt> <dd> </dd></dl>`),ux=c(`<p class="panel-note"> </p>`),dx=c(`<!> <!> <details class="panel-data"><summary>View chart data</summary> <table><caption> </caption><thead><tr><th scope="col"> </th><th scope="col"> </th><!></tr></thead><tbody></tbody></table></details> <!> <!>`,1),fx=c(`<p class="panel-meaning"> <!><!></p> <!>`,1),px=c(`<p class="panel-meaning">&nbsp;</p> <div class="panel-state panel-error" role="alert"> </div>`,1),mx=c(`<p class="panel-meaning">&nbsp;</p> <div class="panel-state" role="status">Loading report…</div>`,1),hx=c(`<section><div class="panel-heading"><h2> </h2> <!> <!></div> <!></section>`);function gx(e,t){Y(t,!0);let o=[],c=z(t,`refreshVersion`,3,0),l=j(`map`),u=Object.entries(Qb).map(([e,t])=>({value:e,label:e,accessibleLabel:t.label})),d=J(()=>t.request.bots===`all`),f=j(`24h`),g=J(()=>({version:c(),promise:Ky(t.panel.name,t.panel.name===`views-over-time`?{...t.request,granularity:A(f)}:t.request)}));function _(e){return t.panel.valueKind===`ratio`?eb(e):$y(e)}let y=J(()=>({format:_,ticks:3})),b=J(()=>t.panel.ranked?{format:nb}:{format:rb,ticks:4});function x(e){return(t.panel.ranked?e.rows.slice(0,12):e.rows).map(e=>({label:ab(e,t.panel.category),value:ib(e,t.panel.value),non_bot:ib(e,`non_bot`),bot:ib(e,`bot`)}))}function S(e){let n=t.panel.totalColumn,r=e.rows[0];if(n!==void 0&&r!==void 0)return{label:tb(n),value:$y(ib(r,n))}}var C=hx();let w;var T=U(C),D=U(T),O=F(D,!0),k=I(D,2),ee=e=>{var t=nx();kr(I(U(t),2),{label:`Granularity`,get options(){return u},get value(){return A(f)},set value(e){R(f,e,!0)}}),V(t),r(e,t)};v(k,e=>{t.panel.name===`views-over-time`&&e(ee)});var M=I(k,2),P=e=>{var t=rx(),i=U(t),a=U(i);se(a),a.value=a.__value=`map`,n(),V(i);var s=I(i,2),c=U(s);se(c),c.value=c.__value=`bars`,n(),V(s),V(t),ve(o,[],a,()=>A(l),e=>R(l,e)),ve(o,[],c,()=>A(l),e=>R(l,e)),r(e,t)};v(M,e=>{t.panel.name===`countries`&&e(P)}),V(T);var ne=I(T,2);a(ne,()=>A(g).promise,e=>{var t=mx();n(2),r(e,t)},(e,i)=>{var a=fx(),o=q(a),u=U(o,!0),g=I(u),C=e=>{var t=s(`— segments show each traffic group's contribution to the overall hit ratio.`);r(e,t)};v(g,e=>{A(d)&&t.panel.name===`cache-hit-ratio`&&e(C)});var w=I(g),T=e=>{var t=s(`— a visitor key seen in both groups counts once, as non-bot.`);r(e,t)};v(w,e=>{A(d)&&t.panel.name===`unique-visitors`&&e(T)}),V(o);var D=I(o,2),O=e=>{var t=ix();r(e,t)},k=e=>{let a=J(()=>x(A(i))),o=J(()=>S(A(i)));var s=dx(),u=q(s),g=e=>{lb(e,{})};v(u,e=>{A(d)&&t.panel.name!==`top-paths`&&(t.panel.name!==`countries`||A(l)===`bars`)&&e(g)});var C=I(u,2),w=e=>{var t=E(),n=q(t);h(n,()=>A(i),e=>{tx(e,{get rows(){return A(i).rows},get granularity(){return A(f)},get stacked(){return A(d)}})}),r(e,t)},T=e=>{Bb(e,{get rows(){return A(i).rows},get request(){return t.request},get refreshVersion(){return c()}})},D=e=>{Zb(e,{get rows(){return A(i).rows}})},O=e=>{var n=ax();let i;var o=U(n);{let e=J(()=>A(d)?`stack`:`overlap`),n=J(()=>t.panel.ranked?`value`:`label`),r=J(()=>t.panel.ranked?`label`:`value`),i=J(()=>t.panel.ranked?`horizontal`:`vertical`),s=J(()=>t.panel.ranked?{left:150,bottom:28,right:8,top:8}:{left:56,bottom:32,right:8,top:8}),c=J(()=>({bars:{stroke:`none`},xAxis:t.panel.ranked?A(y):A(b),yAxis:t.panel.ranked?A(b):A(y)}));Us(o,G({get data(){return A(a)}},()=>A(d)?{series:ob}:{},{get seriesLayout(){return A(e)},get x(){return A(n)},get y(){return A(r)},get orientation(){return A(i)},get padding(){return A(s)},get props(){return A(c)}}))}V(n),N(e=>i=Ce(n,``,i,{height:e}),[()=>t.panel.ranked?`${Math.max(220,A(a).length*28+40)}px`:void 0]),r(e,n)};v(C,e=>{t.panel.name===`views-over-time`?e(w):t.panel.name===`countries`&&A(l)===`map`?e(T,1):t.panel.name===`top-paths`?e(D,2):e(O,-1)});var k=I(C,2),ee=I(U(k),2),j=U(ee),M=F(j),te=I(j),P=U(te),ne=U(P),re=F(ne,!0),ie=I(ne),ae=F(ie,!0),oe=I(ie),L=e=>{var t=ox();n(),r(e,t)};v(oe,e=>{A(d)&&e(L)}),V(P),V(te);var se=I(te);B(se,21,()=>t.panel.name===`countries`||t.panel.name===`top-paths`?A(i).rows.map(e=>({label:ab(e,t.panel.category),value:ib(e,t.panel.value),non_bot:ib(e,`non_bot`),bot:ib(e,`bot`)})):A(a),m,(e,t)=>{var n=cx(),i=U(n),a=F(i,!0),o=I(i),s=F(o,!0),c=I(o),l=e=>{var n=sx(),i=q(n),a=F(i,!0),o=I(i),s=F(o,!0);N((e,t)=>{p(a,e),p(s,t)},[()=>_(A(t).non_bot),()=>_(A(t).bot)]),r(e,n)};v(c,e=>{A(d)&&e(l)}),V(n),N(e=>{p(a,A(t).label),p(s,e)},[()=>_(A(t).value)]),r(e,n)}),V(se),V(ee),V(k);var R=I(k,2),z=e=>{var t=lx(),n=U(t),i=F(n,!0),a=I(n,2),s=F(a,!0);V(t),N(()=>{p(i,A(o).label),p(s,A(o).value)}),r(e,t)};v(R,e=>{A(o)!==void 0&&e(z)});var H=I(R,2),ce=e=>{var t=ux(),n=F(t);N(e=>p(n,`Showing the top 12 of ${e??``}.`),[()=>$y(A(i).rows.length)]),r(e,t)};v(H,e=>{t.panel.ranked&&t.panel.name!==`top-paths`&&A(i).rows.length>12&&(t.panel.name!==`countries`||A(l)===`bars`)&&e(ce)}),N((e,n)=>{p(M,`${t.panel.title??``} — ${t.panel.name===`countries`||t.panel.name===`top-paths`?`all returned values`:`plotted values`}`),p(re,e),p(ae,n)},[()=>t.panel.name===`views-over-time`?`Bucket start (UTC)`:tb(t.panel.category),()=>tb(t.panel.value)]),r(e,s)};v(D,e=>{A(i).rows.length===0?e(O):e(k,-1)}),N(e=>p(u,e),[()=>A(i).rowMeaning.replace(/^one\s+/i,``)]),r(e,a)},(e,t)=>{var n=px(),i=I(q(n),2),a=F(i,!0);N(()=>p(a,A(t).message)),r(e,n)}),V(C),N(()=>{w=te(C,1,`panel`,null,w,{"panel-views":t.panel.name===`views-over-time`,"panel-ranked":t.panel.ranked,"panel-primary":t.panel.name===`views-over-time`||t.panel.name===`countries`||t.panel.name===`top-paths`}),p(O,t.panel.title)}),r(e,C),i()}function _x(e){return e===``?{}:{value:np(e)}}function vx(e){return e?.toString().slice(0,16)??``}var yx=c(`<!> <!>`,1),bx=c(`<!> <!> <!>`,1),xx=c(`<!> <p class="date-time-hint">UTC · Edit hours and minutes in the field.</p>`,1),Sx=c(`<div class="control date-time-control"><!> <!></div> <!>`,1);function Cx(e,t){Y(t,!0);let a=z(t,`value`,15);function o(e){a(vx(e)),t.onchange()}var c=E(),l=q(c);{let e=J(()=>_x(a())),i=J(()=>t.min?{minValue:np(t.min)}:{}),c=J(()=>t.max?{maxValue:np(t.max)}:{}),u=J(()=>`${t.label} date (UTC)`);H(l,()=>_y,(a,l)=>{l(a,G(()=>A(e),{onValueChange:o},()=>A(i),()=>A(c),{locale:`en-GB`,hourCycle:24,granularity:`minute`,weekdayFormat:`short`,fixedWeeks:!0,preventDeselect:!0,get calendarLabel(){return A(u)},children:(e,i)=>{var a=Sx(),o=q(a),c=U(o);H(c,()=>ny,(e,i)=>{i(e,{class:`date-time-label`,children:(e,i)=>{n();var a=s();N(()=>p(a,t.label)),r(e,a)},$$slots:{default:!0}})});var l=I(c,2);{let e=(e,i)=>{let a=()=>(i?.()).segments;var o=yx(),c=q(o);B(c,19,a,(e,t)=>e.part+t,(e,t)=>{var i=E(),a=q(i);H(a,()=>ay,(e,i)=>{i(e,{get part(){return A(t).part},class:`date-time-segment`,children:(e,i)=>{n();var a=s();N(()=>p(a,A(t).value)),r(e,a)},$$slots:{default:!0}})}),r(e,i)});var l=I(c,2);{let e=J(()=>`Choose ${t.label.toLowerCase()} date`);H(l,()=>Ay,(t,n)=>{n(t,{class:`date-time-trigger`,get"aria-label"(){return A(e)},children:(e,t)=>{lr(e,{size:16,"aria-hidden":`true`})},$$slots:{default:!0}})})}r(e,o)};H(l,()=>$v,(t,n)=>{n(t,{class:`date-time-input`,children:e,$$slots:{default:!0}})})}V(o);var u=I(o,2);H(u,()=>su,(e,t)=>{t(e,{children:(e,t)=>{var i=E(),a=q(i);H(a,()=>Ty,(e,t)=>{t(e,{class:`date-time-popover`,sideOffset:8,collisionPadding:12,children:(e,t)=>{var i=xx(),a=q(i);{let e=(e,t)=>{let i=()=>(t?.()).months,a=()=>(t?.()).weekdays;var o=yx(),c=q(o);H(c,()=>Bh,(e,t)=>{t(e,{class:`date-time-calendar-header`,children:(e,t)=>{var n=bx(),i=q(n);H(i,()=>Yh,(e,t)=>{t(e,{class:`date-time-nav`,"aria-label":`Previous month`,children:(e,t)=>{pr(e,{size:18,"aria-hidden":`true`})},$$slots:{default:!0}})});var a=I(i,2);H(a,()=>Uh,(e,t)=>{t(e,{})});var o=I(a,2);H(o,()=>Kh,(e,t)=>{t(e,{class:`date-time-nav`,"aria-label":`Next month`,children:(e,t)=>{hr(e,{size:18,"aria-hidden":`true`})},$$slots:{default:!0}})}),r(e,n)},$$slots:{default:!0}})});var l=I(c,2);B(l,17,i,e=>e.value.toString(),(e,t)=>{var i=E(),o=q(i);H(o,()=>Sh,(e,i)=>{i(e,{class:`date-time-grid`,children:(e,i)=>{var o=yx(),c=q(o);H(c,()=>jh,(e,t)=>{t(e,{children:(e,t)=>{var i=E(),o=q(i);H(o,()=>Lh,(e,t)=>{t(e,{children:(e,t)=>{var i=E(),o=q(i);B(o,16,a,e=>e,(e,t)=>{var i=E(),a=q(i);H(a,()=>Ph,(e,i)=>{i(e,{class:`date-time-weekday`,children:(e,i)=>{n();var a=s();N(e=>p(a,e),[()=>t.slice(0,2)]),r(e,a)},$$slots:{default:!0}})}),r(e,i)}),r(e,i)},$$slots:{default:!0}})}),r(e,i)},$$slots:{default:!0}})});var l=I(c,2);H(l,()=>Th,(e,i)=>{i(e,{children:(e,i)=>{var a=E(),o=q(a);B(o,16,()=>A(t).weeks,e=>e,(e,i)=>{var a=E(),o=q(a);H(o,()=>Lh,(e,a)=>{a(e,{children:(e,a)=>{var o=E(),c=q(o);B(c,17,()=>i,e=>e.toString(),(e,i)=>{var a=E(),o=q(a);H(o,()=>Oh,(e,a)=>{a(e,{get date(){return A(i)},get month(){return A(t).value},class:`date-time-cell`,children:(e,t)=>{var a=E(),o=q(a);H(o,()=>yh,(e,t)=>{t(e,{class:`date-time-day`,children:(e,t)=>{n();var a=s();N(()=>p(a,A(i).day)),r(e,a)},$$slots:{default:!0}})}),r(e,a)},$$slots:{default:!0}})}),r(e,a)}),r(e,o)},$$slots:{default:!0}})}),r(e,a)}),r(e,a)},$$slots:{default:!0}})}),r(e,o)},$$slots:{default:!0}})}),r(e,i)}),r(e,o)};H(a,()=>by,(t,n)=>{n(t,{children:e,$$slots:{default:!0}})})}n(2),r(e,i)},$$slots:{default:!0}})}),r(e,i)},$$slots:{default:!0}})}),r(e,a)},$$slots:{default:!0}}))})}r(e,c),i()}var wx=c(`<label class="theme-option"><input type="radio" name="theme"/> <span><!></span></label>`),Tx=c(`<p class="theme-storage" role="status"> </p>`),Ex=c(`<div class="theme-control"><fieldset class="theme-toggle" aria-label="Theme"><div class="theme-options"></div></fieldset> <!></div>`);function Dx(e,t){Y(t,!0);let n=`blogwright.analytics.theme`,a=[`system`,`dark`,`light`],o={system:{label:`System`,icon:_r},dark:{label:`Dark`,icon:yr},light:{label:`Light`,icon:Cr}},s=j(`system`),c=j(``);function l(e){R(s,e,!0),document.documentElement.dataset.theme=e}function u(e){l(e);try{localStorage.setItem(n,e),R(c,``)}catch{R(c,`Theme applies to this visit; browser storage is unavailable.`)}}ue(()=>{try{let e=localStorage.getItem(n);(e===`system`||e===`dark`||e===`light`)&&l(e)}catch{R(c,`Theme applies to this visit; browser storage is unavailable.`)}});var d=Ex(),f=U(d),m=U(f);B(m,20,()=>a,e=>e,(e,t)=>{let n=J(()=>o[t].icon);var i=wx(),a=U(i);se(a);var c=I(a,2),l=U(c);H(l,()=>A(n),(e,t)=>{t(e,{size:18,strokeWidth:1.75,"aria-hidden":`true`})}),V(c),V(i),N(()=>{L(i,`title`,o[t].label),L(a,`aria-label`,o[t].label),ye(a,t),ee(a,A(s)===t)}),me(`change`,a,()=>u(t)),r(e,i)}),V(m),V(f);var h=I(f,2),g=e=>{var t=Tx(),n=F(t,!0);N(()=>p(n,A(c))),r(e,t)};v(h,e=>{A(c)&&e(g)}),V(d),r(e,d),i()}f([`change`]);function Ox(e){if(e===void 0)return;if(typeof e!=`string`)throw Error(`Path must be a string.`);let t=e.trim();if(t===``)return;let n=Array.from(t).some(e=>{let t=e.charCodeAt(0);return t<32||t===127});if(!t.startsWith(`/`)||t.startsWith(`//`)||/[\s?#\\]/.test(t)||n)throw Error(`Enter a path starting with /, without a query string, fragment, or spaces.`);return t.replace(/\/+$/,``)||`/`}function kx(e){try{Ox(e);return}catch(e){if(e instanceof Error)return e.message;throw e}}var Ax=6e4,jx=864e5,Mx=[{value:`3h`,label:`3H`,hours:3},{value:`6h`,label:`6H`,hours:6},{value:`12h`,label:`12H`,hours:12},{value:`24h`,label:`24H`,hours:24},{value:`5d`,label:`5D`,hours:120},{value:`1w`,label:`1W`,hours:168},{value:`4w`,label:`4W`,hours:672},{value:`3mo`,label:`3M`,months:3},{value:`6mo`,label:`6M`,months:6},{value:`1y`,label:`1Y`,months:12}];function Nx(e,t){let n=new Date(e);n.setUTCDate(1),n.setUTCMonth(n.getUTCMonth()-t);let r=new Date(n);return r.setUTCMonth(r.getUTCMonth()+1),r.setUTCDate(0),n.setUTCDate(Math.min(e.getUTCDate(),r.getUTCDate())),n}function Px(e,t=new Date){let n=Mx.find(t=>t.value===e);if(n===void 0)throw Error(`Unknown reporting period: ${e}`);let r=new Date(Math.floor(t.getTime()/Ax)*Ax);return{from:(`hours`in n?new Date(r.getTime()-n.hours*60*Ax):Nx(r,n.months)).toISOString().slice(0,16),to:r.toISOString().slice(0,16)}}function Fx(e=new Date){let t=new Date(Math.floor(e.getTime()/Ax)*Ax);return{from:new Date(t.getTime()-30*jx).toISOString().slice(0,16),to:t.toISOString().slice(0,16)}}function Ix(e){for(let t of[e.from,e.to]){let e=Date.parse(`${t}:00Z`);if(!/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(t)||!Number.isFinite(e)||new Date(e).toISOString().slice(0,16)!==t)return`Choose a valid start and end date and time (UTC).`}if(e.from>=e.to)return`The start must be before the end date and time.`}var Lx=c(`<button type="button"> </button>`),Rx=c(`<p class="range-error" role="alert"> </p>`),zx=c(`<div class="panels"></div>`),Bx=c(`<main class="page"><header class="page-header"><div class="page-heading"><p class="eyebrow">Blogwright / Analytics</p> <h1>Analytics</h1></div> <div class="header-actions"><!> <button class="refresh-button" type="button" aria-label="Refresh data" title="Refresh data"><!></button></div></header> <div class="filter-bar"><div class="filter-heading"><button class="filter-toggle" type="button" aria-controls="reporting-filters"><strong>Reporting window</strong> <!></button> <span>Dates and times in UTC</span></div> <div class="filter-controls" id="reporting-filters"><div class="bot-control"><span>Traffic</span> <!></div> <div class="period-presets" role="group" aria-label="Reporting period"><!> <button type="button">Custom</button></div> <div class="controls"><!> <!></div> <div class="path-filter"><label class="control path-control"><span>Path</span> <input type="text" placeholder="/docs" aria-describedby="path-hint" spellcheck="false"/></label> <p id="path-hint">Includes subpaths. Leave blank for all paths.</p></div></div></div> <!></main>`);function Vx(e,t){Y(t,!0);let a=Fx(),o=[{value:`all`,label:`All`},{value:`include`,label:`Include bots`},{value:`exclude`,label:`Exclude bots`}],s=j(pe(a.from)),c=j(pe(a.to)),l=j(``),u=j(0),d=j(`all`),f=j(`custom`),m=j(!0);function h(e){let t=Px(e);R(s,t.from,!0),R(c,t.to,!0),R(f,e,!0)}let g=J(()=>Ix({from:A(s),to:A(c)})??kx(A(l))),_=J(()=>({range:{from:A(s),to:A(c)},bots:A(d),path:A(l)}));var y=Bx();be(`1uha8ag`,e=>{de(()=>{re.title=`Analytics · Blogwright`})});var b=U(y),x=I(U(b),2),S=U(x);Dx(S,{});var C=I(S,2);xr(U(C),{size:18,strokeWidth:1.75,"aria-hidden":`true`}),V(C),V(x),V(b);var w=I(b,2),T=U(w),E=U(T);dr(I(U(E),2),{size:16,"aria-hidden":`true`}),V(E),n(2),V(T);var D=I(T,2),O=U(D);kr(I(U(O),2),{label:`Traffic`,get options(){return o},get value(){return A(d)},set value(e){R(d,e,!0)}}),V(O);var k=I(O,2),ee=U(k);B(ee,17,()=>Mx,e=>e.value,(e,t)=>{var n=Lx(),i=F(n,!0);N(()=>{L(n,`aria-pressed`,A(f)===A(t).value),p(i,A(t).label)}),me(`click`,n,()=>h(A(t).value)),r(e,n)});var M=I(ee,2);V(k);var te=I(k,2),P=U(te);Cx(P,{label:`From`,get max(){return A(c)},onchange:()=>R(f,`custom`),get value(){return A(s)},set value(e){R(s,e,!0)}}),Cx(I(P,2),{label:`To`,get min(){return A(s)},onchange:()=>R(f,`custom`),get value(){return A(c)},set value(e){R(c,e,!0)}}),V(te);var ne=I(te,2),ae=U(ne),oe=I(U(ae),2);se(oe),V(ae),n(2),V(ne),V(D),V(w);var z=I(w,2),H=e=>{var t=Rx(),n=F(t,!0);N(()=>p(n,A(g))),r(e,t)},ce=e=>{var t=zx();B(t,21,()=>Er,e=>e.name,(e,t)=>{gx(e,{get panel(){return A(t)},get request(){return A(_)},get refreshVersion(){return A(u)}})}),V(t),r(e,t)};v(z,e=>{A(g)===void 0?e(ce,-1):e(H)}),V(y),N(()=>{L(E,`aria-expanded`,A(m)),L(D,`hidden`,!A(m)),L(M,`aria-pressed`,A(f)===`custom`)}),me(`click`,C,()=>R(u,A(u)+1)),me(`click`,E,()=>R(m,!A(m))),me(`click`,M,()=>R(f,`custom`)),ie(oe,()=>A(l),e=>R(l,e)),r(e,y),i()}f([`click`]);export{Vx as component};