h2o-wave 1.5.5__py3-none-win_amd64.whl → 1.6.1__py3-none-win_amd64.whl

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.

Potentially problematic release.


This version of h2o-wave might be problematic. Click here for more details.

Files changed (862) hide show
  1. h2o_wave/version.py +1 -1
  2. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/waved.exe +0 -0
  3. h2o_wave-1.6.1.data/data/www/index.html +34 -0
  4. h2o_wave-1.6.1.data/data/www/wave-static/LocalizationProvider-b740fb5d.js +1 -0
  5. h2o_wave-1.6.1.data/data/www/wave-static/Paper-86bee4d0.js +5 -0
  6. h2o_wave-1.6.1.data/data/www/wave-static/ada-29abd822.js +1 -0
  7. h2o_wave-1.5.5.data/data/www/wave-static/ada.js-2a423f67.js → h2o_wave-1.6.1.data/data/www/wave-static/ada.js-596147e5.js +1 -1
  8. h2o_wave-1.6.1.data/data/www/wave-static/bash-cc88d916.js +1 -0
  9. h2o_wave-1.5.5.data/data/www/wave-static/bash.js-d41fa82b.js → h2o_wave-1.6.1.data/data/www/wave-static/bash.js-aeac230f.js +1 -1
  10. h2o_wave-1.5.5.data/data/www/wave-static/d-ae018a40.js → h2o_wave-1.6.1.data/data/www/wave-static/d-5d21e788.js +1 -1
  11. h2o_wave-1.5.5.data/data/www/wave-static/d.js-c92f99bf.js → h2o_wave-1.6.1.data/data/www/wave-static/d.js-04aa8683.js +1 -1
  12. h2o_wave-1.6.1.data/data/www/wave-static/dart-12586384.js +1 -0
  13. h2o_wave-1.5.5.data/data/www/wave-static/dart.js-0d9dff0b.js → h2o_wave-1.6.1.data/data/www/wave-static/dart.js-c61fbb04.js +1 -1
  14. h2o_wave-1.6.1.data/data/www/wave-static/elixir-a3c89d2d.js +1 -0
  15. h2o_wave-1.5.5.data/data/www/wave-static/elixir.js-e25c44a9.js → h2o_wave-1.6.1.data/data/www/wave-static/elixir.js-679b8865.js +1 -1
  16. h2o_wave-1.5.5.data/data/www/wave-static/erlang-96bbbbf9.js → h2o_wave-1.6.1.data/data/www/wave-static/erlang-92e0ed4f.js +1 -1
  17. h2o_wave-1.5.5.data/data/www/wave-static/erlang.js-c5dafe1f.js → h2o_wave-1.6.1.data/data/www/wave-static/erlang.js-22ea5237.js +1 -1
  18. h2o_wave-1.6.1.data/data/www/wave-static/haskell-63691c0e.js +1 -0
  19. h2o_wave-1.5.5.data/data/www/wave-static/haskell.js-0d288bf5.js → h2o_wave-1.6.1.data/data/www/wave-static/haskell.js-f0611637.js +1 -1
  20. h2o_wave-1.6.1.data/data/www/wave-static/index-0585b855.js +29 -0
  21. h2o_wave-1.6.1.data/data/www/wave-static/index-6d5ddf8f.js +121 -0
  22. h2o_wave-1.6.1.data/data/www/wave-static/index-8eb8cd52.js +53 -0
  23. h2o_wave-1.5.5.data/data/www/wave-static/index-607adbf4.js → h2o_wave-1.6.1.data/data/www/wave-static/index-c67a7a73.js +1 -1
  24. h2o_wave-1.6.1.data/data/www/wave-static/index-dba5d017.js +74 -0
  25. h2o_wave-1.6.1.data/data/www/wave-static/index-fc5121a3.js +1 -0
  26. h2o_wave-1.6.1.data/data/www/wave-static/java-95ec2edb.js +1 -0
  27. h2o_wave-1.5.5.data/data/www/wave-static/java.js-74de220a.js → h2o_wave-1.6.1.data/data/www/wave-static/java.js-83f5f276.js +1 -1
  28. h2o_wave-1.6.1.data/data/www/wave-static/javascript-e0819b20.js +1 -0
  29. h2o_wave-1.5.5.data/data/www/wave-static/javascript.js-c8c34c95.js → h2o_wave-1.6.1.data/data/www/wave-static/javascript.js-71712620.js +1 -1
  30. h2o_wave-1.6.1.data/data/www/wave-static/kotlin-2060981f.js +2 -0
  31. h2o_wave-1.5.5.data/data/www/wave-static/kotlin.js-7ef8b390.js → h2o_wave-1.6.1.data/data/www/wave-static/kotlin.js-a422cee0.js +1 -1
  32. h2o_wave-1.5.5.data/data/www/wave-static/less-e8ba4a3d.js → h2o_wave-1.6.1.data/data/www/wave-static/less-15af99b5.js +1 -1
  33. h2o_wave-1.5.5.data/data/www/wave-static/less.js-1767326e.js → h2o_wave-1.6.1.data/data/www/wave-static/less.js-c864d14d.js +1 -1
  34. h2o_wave-1.6.1.data/data/www/wave-static/php-baf23133.js +2 -0
  35. h2o_wave-1.5.5.data/data/www/wave-static/php.js-63f7b62c.js → h2o_wave-1.6.1.data/data/www/wave-static/php.js-f9c986ec.js +1 -1
  36. h2o_wave-1.6.1.data/data/www/wave-static/python-d59bf68c.js +1 -0
  37. h2o_wave-1.5.5.data/data/www/wave-static/python.js-057f6b41.js → h2o_wave-1.6.1.data/data/www/wave-static/python.js-17816629.js +1 -1
  38. h2o_wave-1.6.1.data/data/www/wave-static/ruby-e373545c.js +1 -0
  39. h2o_wave-1.5.5.data/data/www/wave-static/ruby.js-4746d674.js → h2o_wave-1.6.1.data/data/www/wave-static/ruby.js-117b6d69.js +1 -1
  40. h2o_wave-1.6.1.data/data/www/wave-static/scilab-6742e34e.js +1 -0
  41. h2o_wave-1.5.5.data/data/www/wave-static/scilab.js-7f71a2b8.js → h2o_wave-1.6.1.data/data/www/wave-static/scilab.js-8c19ac41.js +1 -1
  42. h2o_wave-1.5.5.data/data/www/wave-static/smali-21dcdb1a.js → h2o_wave-1.6.1.data/data/www/wave-static/smali-b3932e39.js +2 -1
  43. h2o_wave-1.5.5.data/data/www/wave-static/smali.js-20618455.js → h2o_wave-1.6.1.data/data/www/wave-static/smali.js-6e70e629.js +1 -1
  44. h2o_wave-1.5.5.data/data/www/wave-static/sql-c9fb4b28.js → h2o_wave-1.6.1.data/data/www/wave-static/sql-6b946051.js +1 -1
  45. h2o_wave-1.5.5.data/data/www/wave-static/sql.js-e6273c7e.js → h2o_wave-1.6.1.data/data/www/wave-static/sql.js-a38b17e7.js +1 -1
  46. h2o_wave-1.5.5.data/data/www/wave-static/stata-eb259ab5.js → h2o_wave-1.6.1.data/data/www/wave-static/stata-6862641d.js +3 -1
  47. h2o_wave-1.5.5.data/data/www/wave-static/stata.js-d55c8c45.js → h2o_wave-1.6.1.data/data/www/wave-static/stata.js-a8c64684.js +1 -1
  48. h2o_wave-1.6.1.data/data/www/wave-static/subunit-f5d1c72e.js +3 -0
  49. h2o_wave-1.5.5.data/data/www/wave-static/subunit.js-34d918d2.js → h2o_wave-1.6.1.data/data/www/wave-static/subunit.js-6b90d5d9.js +1 -1
  50. h2o_wave-1.5.5.data/data/www/wave-static/swift-368cc8e5.js → h2o_wave-1.6.1.data/data/www/wave-static/swift-37aa337f.js +1 -1
  51. h2o_wave-1.5.5.data/data/www/wave-static/swift.js-7f6aa6c5.js → h2o_wave-1.6.1.data/data/www/wave-static/swift.js-35cc9631.js +1 -1
  52. h2o_wave-1.5.5.data/data/www/wave-static/twig-f99d1c77.js → h2o_wave-1.6.1.data/data/www/wave-static/twig-f96e75c9.js +1 -1
  53. h2o_wave-1.5.5.data/data/www/wave-static/twig.js-0dd7fbc5.js → h2o_wave-1.6.1.data/data/www/wave-static/twig.js-cf8e8520.js +1 -1
  54. h2o_wave-1.6.1.data/data/www/wave-static/typescript-def66f35.js +1 -0
  55. h2o_wave-1.5.5.data/data/www/wave-static/typescript.js-e5ef291f.js → h2o_wave-1.6.1.data/data/www/wave-static/typescript.js-32ae264b.js +1 -1
  56. h2o_wave-1.6.1.data/data/www/wave-static/useThemeProps-d5970ea4.js +1 -0
  57. h2o_wave-1.6.1.data/data/www/wave-static/vega-embed.module-fd422424.js +189 -0
  58. h2o_wave-1.6.1.data/data/www/wave-static/vega.module-93f4078e.js +13 -0
  59. h2o_wave-1.5.5.data/data/www/wave-static/xml-f27a8dc3.js → h2o_wave-1.6.1.data/data/www/wave-static/xml-7b0fd495.js +1 -1
  60. h2o_wave-1.5.5.data/data/www/wave-static/xml.js-4c99a2a1.js → h2o_wave-1.6.1.data/data/www/wave-static/xml.js-200b702e.js +1 -1
  61. {h2o_wave-1.5.5.dist-info → h2o_wave-1.6.1.dist-info}/METADATA +1 -1
  62. h2o_wave-1.6.1.dist-info/RECORD +453 -0
  63. h2o_wave-1.5.5.data/data/www/index.html +0 -39
  64. h2o_wave-1.5.5.data/data/www/wave-static/1c-legacy-1f340165.js +0 -1
  65. h2o_wave-1.5.5.data/data/www/wave-static/1c.js-legacy-98368d09.js +0 -1
  66. h2o_wave-1.5.5.data/data/www/wave-static/LocalizationProvider-4dceadb2.js +0 -1
  67. h2o_wave-1.5.5.data/data/www/wave-static/LocalizationProvider-legacy-6fe31a5b.js +0 -1
  68. h2o_wave-1.5.5.data/data/www/wave-static/Paper-1ca89ee7.js +0 -5
  69. h2o_wave-1.5.5.data/data/www/wave-static/Paper-legacy-56d980b2.js +0 -6
  70. h2o_wave-1.5.5.data/data/www/wave-static/abnf-legacy-3ba57d97.js +0 -1
  71. h2o_wave-1.5.5.data/data/www/wave-static/abnf.js-legacy-772000e0.js +0 -1
  72. h2o_wave-1.5.5.data/data/www/wave-static/accesslog-legacy-9037b412.js +0 -1
  73. h2o_wave-1.5.5.data/data/www/wave-static/accesslog.js-legacy-4d603280.js +0 -1
  74. h2o_wave-1.5.5.data/data/www/wave-static/actionscript-legacy-65c2d547.js +0 -1
  75. h2o_wave-1.5.5.data/data/www/wave-static/actionscript.js-legacy-e26afc60.js +0 -1
  76. h2o_wave-1.5.5.data/data/www/wave-static/ada-c0236269.js +0 -1
  77. h2o_wave-1.5.5.data/data/www/wave-static/ada-legacy-760027de.js +0 -1
  78. h2o_wave-1.5.5.data/data/www/wave-static/ada.js-legacy-1b70d373.js +0 -1
  79. h2o_wave-1.5.5.data/data/www/wave-static/angelscript-legacy-030a1f63.js +0 -1
  80. h2o_wave-1.5.5.data/data/www/wave-static/angelscript.js-legacy-3c29e80f.js +0 -1
  81. h2o_wave-1.5.5.data/data/www/wave-static/apache-legacy-5c598c77.js +0 -1
  82. h2o_wave-1.5.5.data/data/www/wave-static/apache.js-legacy-26e714da.js +0 -1
  83. h2o_wave-1.5.5.data/data/www/wave-static/applescript-legacy-d3b114ae.js +0 -1
  84. h2o_wave-1.5.5.data/data/www/wave-static/applescript.js-legacy-ee917070.js +0 -1
  85. h2o_wave-1.5.5.data/data/www/wave-static/arcade-legacy-298c0d91.js +0 -1
  86. h2o_wave-1.5.5.data/data/www/wave-static/arcade.js-legacy-fb5fb17f.js +0 -1
  87. h2o_wave-1.5.5.data/data/www/wave-static/arduino-legacy-ce33056c.js +0 -1
  88. h2o_wave-1.5.5.data/data/www/wave-static/arduino.js-legacy-89bc14e9.js +0 -1
  89. h2o_wave-1.5.5.data/data/www/wave-static/armasm-legacy-6aaaf123.js +0 -1
  90. h2o_wave-1.5.5.data/data/www/wave-static/armasm.js-legacy-71dd9e63.js +0 -1
  91. h2o_wave-1.5.5.data/data/www/wave-static/asciidoc-legacy-9ba3cb85.js +0 -1
  92. h2o_wave-1.5.5.data/data/www/wave-static/asciidoc.js-legacy-4e49ba3d.js +0 -1
  93. h2o_wave-1.5.5.data/data/www/wave-static/aspectj-legacy-ad6f5aac.js +0 -1
  94. h2o_wave-1.5.5.data/data/www/wave-static/aspectj.js-legacy-b19328d9.js +0 -1
  95. h2o_wave-1.5.5.data/data/www/wave-static/autohotkey-legacy-b10158b5.js +0 -1
  96. h2o_wave-1.5.5.data/data/www/wave-static/autohotkey.js-legacy-bdec76c7.js +0 -1
  97. h2o_wave-1.5.5.data/data/www/wave-static/autoit-legacy-040507d0.js +0 -1
  98. h2o_wave-1.5.5.data/data/www/wave-static/autoit.js-legacy-69d1218a.js +0 -1
  99. h2o_wave-1.5.5.data/data/www/wave-static/avrasm-legacy-6b9df0d6.js +0 -1
  100. h2o_wave-1.5.5.data/data/www/wave-static/avrasm.js-legacy-b9d99374.js +0 -1
  101. h2o_wave-1.5.5.data/data/www/wave-static/awk-legacy-8e369975.js +0 -1
  102. h2o_wave-1.5.5.data/data/www/wave-static/awk.js-legacy-3bc1cf54.js +0 -1
  103. h2o_wave-1.5.5.data/data/www/wave-static/axapta-legacy-f376f3b3.js +0 -1
  104. h2o_wave-1.5.5.data/data/www/wave-static/axapta.js-legacy-8e4fd23d.js +0 -1
  105. h2o_wave-1.5.5.data/data/www/wave-static/bash-91557547.js +0 -1
  106. h2o_wave-1.5.5.data/data/www/wave-static/bash-legacy-0257aa19.js +0 -1
  107. h2o_wave-1.5.5.data/data/www/wave-static/bash.js-legacy-c31ebba3.js +0 -1
  108. h2o_wave-1.5.5.data/data/www/wave-static/basic-legacy-98313fa6.js +0 -1
  109. h2o_wave-1.5.5.data/data/www/wave-static/basic.js-legacy-95b6bc23.js +0 -1
  110. h2o_wave-1.5.5.data/data/www/wave-static/bnf-legacy-69774d99.js +0 -1
  111. h2o_wave-1.5.5.data/data/www/wave-static/bnf.js-legacy-2e4145ce.js +0 -1
  112. h2o_wave-1.5.5.data/data/www/wave-static/brainfuck-legacy-9be6d42a.js +0 -1
  113. h2o_wave-1.5.5.data/data/www/wave-static/brainfuck.js-legacy-986452f8.js +0 -1
  114. h2o_wave-1.5.5.data/data/www/wave-static/c-legacy-f117548e.js +0 -1
  115. h2o_wave-1.5.5.data/data/www/wave-static/c.js-legacy-3fc211c8.js +0 -1
  116. h2o_wave-1.5.5.data/data/www/wave-static/cal-legacy-8007c68c.js +0 -1
  117. h2o_wave-1.5.5.data/data/www/wave-static/cal.js-legacy-adf3caa7.js +0 -1
  118. h2o_wave-1.5.5.data/data/www/wave-static/capnproto-legacy-fd95903f.js +0 -1
  119. h2o_wave-1.5.5.data/data/www/wave-static/capnproto.js-legacy-16249eb6.js +0 -1
  120. h2o_wave-1.5.5.data/data/www/wave-static/ceylon-legacy-33a2b933.js +0 -1
  121. h2o_wave-1.5.5.data/data/www/wave-static/ceylon.js-legacy-88609133.js +0 -1
  122. h2o_wave-1.5.5.data/data/www/wave-static/clean-legacy-7d08533d.js +0 -1
  123. h2o_wave-1.5.5.data/data/www/wave-static/clean.js-legacy-ee527382.js +0 -1
  124. h2o_wave-1.5.5.data/data/www/wave-static/clojure-legacy-cf74b7ad.js +0 -1
  125. h2o_wave-1.5.5.data/data/www/wave-static/clojure-repl-legacy-a7dfd6ba.js +0 -1
  126. h2o_wave-1.5.5.data/data/www/wave-static/clojure-repl.js-legacy-d8c09b04.js +0 -1
  127. h2o_wave-1.5.5.data/data/www/wave-static/clojure.js-legacy-2b1b0d1a.js +0 -1
  128. h2o_wave-1.5.5.data/data/www/wave-static/cmake-legacy-058e10cc.js +0 -1
  129. h2o_wave-1.5.5.data/data/www/wave-static/cmake.js-legacy-a151aaf9.js +0 -1
  130. h2o_wave-1.5.5.data/data/www/wave-static/coffeescript-legacy-931e3a0e.js +0 -1
  131. h2o_wave-1.5.5.data/data/www/wave-static/coffeescript.js-legacy-cc0283c3.js +0 -1
  132. h2o_wave-1.5.5.data/data/www/wave-static/coq-legacy-7070cb24.js +0 -1
  133. h2o_wave-1.5.5.data/data/www/wave-static/coq.js-legacy-3710e9a4.js +0 -1
  134. h2o_wave-1.5.5.data/data/www/wave-static/cos-legacy-5d28f9c2.js +0 -1
  135. h2o_wave-1.5.5.data/data/www/wave-static/cos.js-legacy-629ddc42.js +0 -1
  136. h2o_wave-1.5.5.data/data/www/wave-static/cpp-legacy-461889cf.js +0 -1
  137. h2o_wave-1.5.5.data/data/www/wave-static/cpp.js-legacy-c6376d15.js +0 -1
  138. h2o_wave-1.5.5.data/data/www/wave-static/crmsh-legacy-5afa09d6.js +0 -1
  139. h2o_wave-1.5.5.data/data/www/wave-static/crmsh.js-legacy-d978e965.js +0 -1
  140. h2o_wave-1.5.5.data/data/www/wave-static/crystal-legacy-83f70abe.js +0 -1
  141. h2o_wave-1.5.5.data/data/www/wave-static/crystal.js-legacy-fbe617f5.js +0 -1
  142. h2o_wave-1.5.5.data/data/www/wave-static/csharp-legacy-538e1ba5.js +0 -1
  143. h2o_wave-1.5.5.data/data/www/wave-static/csharp.js-legacy-eca63ddd.js +0 -1
  144. h2o_wave-1.5.5.data/data/www/wave-static/csp-legacy-10c43cd6.js +0 -1
  145. h2o_wave-1.5.5.data/data/www/wave-static/csp.js-legacy-865165f8.js +0 -1
  146. h2o_wave-1.5.5.data/data/www/wave-static/css-legacy-06be5a7b.js +0 -1
  147. h2o_wave-1.5.5.data/data/www/wave-static/css.js-legacy-e18f3b2c.js +0 -1
  148. h2o_wave-1.5.5.data/data/www/wave-static/d-legacy-57358680.js +0 -1
  149. h2o_wave-1.5.5.data/data/www/wave-static/d.js-legacy-0265534f.js +0 -1
  150. h2o_wave-1.5.5.data/data/www/wave-static/dart-06281ff3.js +0 -1
  151. h2o_wave-1.5.5.data/data/www/wave-static/dart-legacy-f1fe067f.js +0 -1
  152. h2o_wave-1.5.5.data/data/www/wave-static/dart.js-legacy-99ef1ed5.js +0 -1
  153. h2o_wave-1.5.5.data/data/www/wave-static/delphi-legacy-40fb6e27.js +0 -1
  154. h2o_wave-1.5.5.data/data/www/wave-static/delphi.js-legacy-8533c56f.js +0 -1
  155. h2o_wave-1.5.5.data/data/www/wave-static/diff-legacy-4be4e2b2.js +0 -1
  156. h2o_wave-1.5.5.data/data/www/wave-static/diff.js-legacy-c55adccd.js +0 -1
  157. h2o_wave-1.5.5.data/data/www/wave-static/django-legacy-078ddbc0.js +0 -1
  158. h2o_wave-1.5.5.data/data/www/wave-static/django.js-legacy-61d970ec.js +0 -1
  159. h2o_wave-1.5.5.data/data/www/wave-static/dns-legacy-826e0616.js +0 -1
  160. h2o_wave-1.5.5.data/data/www/wave-static/dns.js-legacy-f07fff2d.js +0 -1
  161. h2o_wave-1.5.5.data/data/www/wave-static/dockerfile-legacy-3b4c85d5.js +0 -1
  162. h2o_wave-1.5.5.data/data/www/wave-static/dockerfile.js-legacy-8bb4b414.js +0 -1
  163. h2o_wave-1.5.5.data/data/www/wave-static/dos-legacy-46ebadf0.js +0 -1
  164. h2o_wave-1.5.5.data/data/www/wave-static/dos.js-legacy-a8aa3c9d.js +0 -1
  165. h2o_wave-1.5.5.data/data/www/wave-static/dsconfig-legacy-b8536f28.js +0 -1
  166. h2o_wave-1.5.5.data/data/www/wave-static/dsconfig.js-legacy-1889466e.js +0 -1
  167. h2o_wave-1.5.5.data/data/www/wave-static/dts-legacy-e9b77179.js +0 -1
  168. h2o_wave-1.5.5.data/data/www/wave-static/dts.js-legacy-eb002d43.js +0 -1
  169. h2o_wave-1.5.5.data/data/www/wave-static/dust-legacy-f38ddfe3.js +0 -1
  170. h2o_wave-1.5.5.data/data/www/wave-static/dust.js-legacy-912e5888.js +0 -1
  171. h2o_wave-1.5.5.data/data/www/wave-static/ebnf-legacy-12ae95ee.js +0 -1
  172. h2o_wave-1.5.5.data/data/www/wave-static/ebnf.js-legacy-25af7831.js +0 -1
  173. h2o_wave-1.5.5.data/data/www/wave-static/elixir-06f5031d.js +0 -1
  174. h2o_wave-1.5.5.data/data/www/wave-static/elixir-legacy-2b778392.js +0 -1
  175. h2o_wave-1.5.5.data/data/www/wave-static/elixir.js-legacy-4db9f6b3.js +0 -1
  176. h2o_wave-1.5.5.data/data/www/wave-static/elm-legacy-8710109e.js +0 -1
  177. h2o_wave-1.5.5.data/data/www/wave-static/elm.js-legacy-b1d3ab7d.js +0 -1
  178. h2o_wave-1.5.5.data/data/www/wave-static/erb-legacy-eaa3d968.js +0 -1
  179. h2o_wave-1.5.5.data/data/www/wave-static/erb.js-legacy-56a4fddf.js +0 -1
  180. h2o_wave-1.5.5.data/data/www/wave-static/erlang-legacy-b567ab4d.js +0 -1
  181. h2o_wave-1.5.5.data/data/www/wave-static/erlang-repl-legacy-bf64e9f3.js +0 -1
  182. h2o_wave-1.5.5.data/data/www/wave-static/erlang-repl.js-legacy-e8ee86eb.js +0 -1
  183. h2o_wave-1.5.5.data/data/www/wave-static/erlang.js-legacy-4fa5f7fe.js +0 -1
  184. h2o_wave-1.5.5.data/data/www/wave-static/excel-legacy-9c71e053.js +0 -1
  185. h2o_wave-1.5.5.data/data/www/wave-static/excel.js-legacy-fd71b895.js +0 -1
  186. h2o_wave-1.5.5.data/data/www/wave-static/fix-legacy-d2d58587.js +0 -1
  187. h2o_wave-1.5.5.data/data/www/wave-static/fix.js-legacy-011be80e.js +0 -1
  188. h2o_wave-1.5.5.data/data/www/wave-static/flix-legacy-69070261.js +0 -1
  189. h2o_wave-1.5.5.data/data/www/wave-static/flix.js-legacy-f8159a52.js +0 -1
  190. h2o_wave-1.5.5.data/data/www/wave-static/fortran-legacy-5e118021.js +0 -1
  191. h2o_wave-1.5.5.data/data/www/wave-static/fortran.js-legacy-1a358a42.js +0 -1
  192. h2o_wave-1.5.5.data/data/www/wave-static/fsharp-legacy-bd7f6e32.js +0 -1
  193. h2o_wave-1.5.5.data/data/www/wave-static/fsharp.js-legacy-52311080.js +0 -1
  194. h2o_wave-1.5.5.data/data/www/wave-static/gams-legacy-5462b492.js +0 -1
  195. h2o_wave-1.5.5.data/data/www/wave-static/gams.js-legacy-19ef2d30.js +0 -1
  196. h2o_wave-1.5.5.data/data/www/wave-static/gauss-legacy-c7e1c9b5.js +0 -1
  197. h2o_wave-1.5.5.data/data/www/wave-static/gauss.js-legacy-ee455f07.js +0 -1
  198. h2o_wave-1.5.5.data/data/www/wave-static/gcode-legacy-b7acb28b.js +0 -1
  199. h2o_wave-1.5.5.data/data/www/wave-static/gcode.js-legacy-2e9e86ac.js +0 -1
  200. h2o_wave-1.5.5.data/data/www/wave-static/gherkin-legacy-b0604c88.js +0 -1
  201. h2o_wave-1.5.5.data/data/www/wave-static/gherkin.js-legacy-92abc3f1.js +0 -1
  202. h2o_wave-1.5.5.data/data/www/wave-static/glsl-legacy-424a034d.js +0 -1
  203. h2o_wave-1.5.5.data/data/www/wave-static/glsl.js-legacy-862aa373.js +0 -1
  204. h2o_wave-1.5.5.data/data/www/wave-static/gml-legacy-a7effad4.js +0 -1
  205. h2o_wave-1.5.5.data/data/www/wave-static/gml.js-legacy-3522ddf5.js +0 -1
  206. h2o_wave-1.5.5.data/data/www/wave-static/go-legacy-596bb66d.js +0 -1
  207. h2o_wave-1.5.5.data/data/www/wave-static/go.js-legacy-b89ab4e3.js +0 -1
  208. h2o_wave-1.5.5.data/data/www/wave-static/golo-legacy-f1af3756.js +0 -1
  209. h2o_wave-1.5.5.data/data/www/wave-static/golo.js-legacy-cbea5e6c.js +0 -1
  210. h2o_wave-1.5.5.data/data/www/wave-static/gradle-legacy-fd50de9d.js +0 -1
  211. h2o_wave-1.5.5.data/data/www/wave-static/gradle.js-legacy-12f8da46.js +0 -1
  212. h2o_wave-1.5.5.data/data/www/wave-static/graphql-legacy-bd4f3e68.js +0 -1
  213. h2o_wave-1.5.5.data/data/www/wave-static/graphql.js-legacy-dd8ef285.js +0 -1
  214. h2o_wave-1.5.5.data/data/www/wave-static/groovy-legacy-fa32d1bf.js +0 -1
  215. h2o_wave-1.5.5.data/data/www/wave-static/groovy.js-legacy-b40cf44b.js +0 -1
  216. h2o_wave-1.5.5.data/data/www/wave-static/haml-legacy-31e1d1f0.js +0 -1
  217. h2o_wave-1.5.5.data/data/www/wave-static/haml.js-legacy-407349b5.js +0 -1
  218. h2o_wave-1.5.5.data/data/www/wave-static/handlebars-legacy-b82c2117.js +0 -1
  219. h2o_wave-1.5.5.data/data/www/wave-static/handlebars.js-legacy-32154186.js +0 -1
  220. h2o_wave-1.5.5.data/data/www/wave-static/haskell-684abd54.js +0 -1
  221. h2o_wave-1.5.5.data/data/www/wave-static/haskell-legacy-1f9ea37e.js +0 -1
  222. h2o_wave-1.5.5.data/data/www/wave-static/haskell.js-legacy-c083992a.js +0 -1
  223. h2o_wave-1.5.5.data/data/www/wave-static/haxe-legacy-385cdb6e.js +0 -1
  224. h2o_wave-1.5.5.data/data/www/wave-static/haxe.js-legacy-22b0ce92.js +0 -1
  225. h2o_wave-1.5.5.data/data/www/wave-static/hsp-legacy-761cba7c.js +0 -1
  226. h2o_wave-1.5.5.data/data/www/wave-static/hsp.js-legacy-f560601f.js +0 -1
  227. h2o_wave-1.5.5.data/data/www/wave-static/http-legacy-c5692273.js +0 -1
  228. h2o_wave-1.5.5.data/data/www/wave-static/http.js-legacy-46e83a90.js +0 -1
  229. h2o_wave-1.5.5.data/data/www/wave-static/hy-legacy-fe783a59.js +0 -1
  230. h2o_wave-1.5.5.data/data/www/wave-static/hy.js-legacy-a5f2ea46.js +0 -1
  231. h2o_wave-1.5.5.data/data/www/wave-static/index-310adf54.js +0 -1
  232. h2o_wave-1.5.5.data/data/www/wave-static/index-5d40e5e8.js +0 -1
  233. h2o_wave-1.5.5.data/data/www/wave-static/index-8d58024e.js +0 -1
  234. h2o_wave-1.5.5.data/data/www/wave-static/index-d142d151.js +0 -40
  235. h2o_wave-1.5.5.data/data/www/wave-static/index-d907c76b.js +0 -27
  236. h2o_wave-1.5.5.data/data/www/wave-static/index-legacy-074c945a.js +0 -27
  237. h2o_wave-1.5.5.data/data/www/wave-static/index-legacy-39d17cd0.js +0 -1
  238. h2o_wave-1.5.5.data/data/www/wave-static/index-legacy-7034fa46.js +0 -1
  239. h2o_wave-1.5.5.data/data/www/wave-static/index-legacy-b525a717.js +0 -1
  240. h2o_wave-1.5.5.data/data/www/wave-static/index-legacy-b5d3e984.js +0 -1
  241. h2o_wave-1.5.5.data/data/www/wave-static/index-legacy-d32e8de0.js +0 -1
  242. h2o_wave-1.5.5.data/data/www/wave-static/index-legacy-e245dc5b.js +0 -1
  243. h2o_wave-1.5.5.data/data/www/wave-static/inform7-legacy-f30b46a9.js +0 -1
  244. h2o_wave-1.5.5.data/data/www/wave-static/inform7.js-legacy-5bcf9ac4.js +0 -1
  245. h2o_wave-1.5.5.data/data/www/wave-static/ini-legacy-bfd2e00a.js +0 -1
  246. h2o_wave-1.5.5.data/data/www/wave-static/ini.js-legacy-bed1832c.js +0 -1
  247. h2o_wave-1.5.5.data/data/www/wave-static/irpf90-legacy-cba8050e.js +0 -1
  248. h2o_wave-1.5.5.data/data/www/wave-static/irpf90.js-legacy-6a2f3647.js +0 -1
  249. h2o_wave-1.5.5.data/data/www/wave-static/isbl-legacy-80fad5e6.js +0 -1
  250. h2o_wave-1.5.5.data/data/www/wave-static/isbl.js-legacy-620b16da.js +0 -1
  251. h2o_wave-1.5.5.data/data/www/wave-static/java-09cf3d63.js +0 -1
  252. h2o_wave-1.5.5.data/data/www/wave-static/java-legacy-9efe1586.js +0 -1
  253. h2o_wave-1.5.5.data/data/www/wave-static/java.js-legacy-e3daca00.js +0 -1
  254. h2o_wave-1.5.5.data/data/www/wave-static/javascript-64c45876.js +0 -1
  255. h2o_wave-1.5.5.data/data/www/wave-static/javascript-legacy-61645320.js +0 -1
  256. h2o_wave-1.5.5.data/data/www/wave-static/javascript.js-legacy-fb7dcd00.js +0 -1
  257. h2o_wave-1.5.5.data/data/www/wave-static/jboss-cli-legacy-c54acb77.js +0 -1
  258. h2o_wave-1.5.5.data/data/www/wave-static/jboss-cli.js-legacy-8acb35a3.js +0 -1
  259. h2o_wave-1.5.5.data/data/www/wave-static/json-legacy-949e0abc.js +0 -1
  260. h2o_wave-1.5.5.data/data/www/wave-static/json.js-legacy-34030651.js +0 -1
  261. h2o_wave-1.5.5.data/data/www/wave-static/julia-legacy-cb66b1d6.js +0 -1
  262. h2o_wave-1.5.5.data/data/www/wave-static/julia-repl-legacy-e8f571f8.js +0 -1
  263. h2o_wave-1.5.5.data/data/www/wave-static/julia-repl.js-legacy-2b038172.js +0 -1
  264. h2o_wave-1.5.5.data/data/www/wave-static/julia.js-legacy-528e9758.js +0 -1
  265. h2o_wave-1.5.5.data/data/www/wave-static/kotlin-ecc2b053.js +0 -1
  266. h2o_wave-1.5.5.data/data/www/wave-static/kotlin-legacy-b7d88556.js +0 -1
  267. h2o_wave-1.5.5.data/data/www/wave-static/kotlin.js-legacy-585f113e.js +0 -1
  268. h2o_wave-1.5.5.data/data/www/wave-static/lasso-legacy-23b2cac7.js +0 -1
  269. h2o_wave-1.5.5.data/data/www/wave-static/lasso.js-legacy-35e2ce52.js +0 -1
  270. h2o_wave-1.5.5.data/data/www/wave-static/latex-legacy-ea0bca01.js +0 -1
  271. h2o_wave-1.5.5.data/data/www/wave-static/latex.js-legacy-4c4eb187.js +0 -1
  272. h2o_wave-1.5.5.data/data/www/wave-static/ldif-legacy-740583f6.js +0 -1
  273. h2o_wave-1.5.5.data/data/www/wave-static/ldif.js-legacy-9d607a65.js +0 -1
  274. h2o_wave-1.5.5.data/data/www/wave-static/leaf-legacy-6ebff67e.js +0 -1
  275. h2o_wave-1.5.5.data/data/www/wave-static/leaf.js-legacy-af34a95d.js +0 -1
  276. h2o_wave-1.5.5.data/data/www/wave-static/less-legacy-3b0f9247.js +0 -1
  277. h2o_wave-1.5.5.data/data/www/wave-static/less.js-legacy-4181774f.js +0 -1
  278. h2o_wave-1.5.5.data/data/www/wave-static/lisp-legacy-9d646e30.js +0 -1
  279. h2o_wave-1.5.5.data/data/www/wave-static/lisp.js-legacy-4aea7ef1.js +0 -1
  280. h2o_wave-1.5.5.data/data/www/wave-static/livecodeserver-legacy-baca528c.js +0 -1
  281. h2o_wave-1.5.5.data/data/www/wave-static/livecodeserver.js-legacy-28dc36a8.js +0 -1
  282. h2o_wave-1.5.5.data/data/www/wave-static/livescript-legacy-3b86813d.js +0 -1
  283. h2o_wave-1.5.5.data/data/www/wave-static/livescript.js-legacy-b6170434.js +0 -1
  284. h2o_wave-1.5.5.data/data/www/wave-static/llvm-legacy-c03466b7.js +0 -1
  285. h2o_wave-1.5.5.data/data/www/wave-static/llvm.js-legacy-4e7ca67f.js +0 -1
  286. h2o_wave-1.5.5.data/data/www/wave-static/lsl-legacy-c50ab34e.js +0 -1
  287. h2o_wave-1.5.5.data/data/www/wave-static/lsl.js-legacy-09ecfc97.js +0 -1
  288. h2o_wave-1.5.5.data/data/www/wave-static/lua-legacy-f378dadf.js +0 -1
  289. h2o_wave-1.5.5.data/data/www/wave-static/lua.js-legacy-1d4fb04f.js +0 -1
  290. h2o_wave-1.5.5.data/data/www/wave-static/makefile-legacy-e89bc6a8.js +0 -1
  291. h2o_wave-1.5.5.data/data/www/wave-static/makefile.js-legacy-13039a48.js +0 -1
  292. h2o_wave-1.5.5.data/data/www/wave-static/markdown-legacy-37726c23.js +0 -1
  293. h2o_wave-1.5.5.data/data/www/wave-static/markdown.js-legacy-c7bd0271.js +0 -1
  294. h2o_wave-1.5.5.data/data/www/wave-static/markdownCodeSyntaxHighlighting-legacy-5eb502c8.js +0 -1
  295. h2o_wave-1.5.5.data/data/www/wave-static/mathematica-legacy-82f07096.js +0 -1
  296. h2o_wave-1.5.5.data/data/www/wave-static/mathematica.js-legacy-b06a64a8.js +0 -1
  297. h2o_wave-1.5.5.data/data/www/wave-static/matlab-legacy-00a713c5.js +0 -1
  298. h2o_wave-1.5.5.data/data/www/wave-static/matlab.js-legacy-a72af2d2.js +0 -1
  299. h2o_wave-1.5.5.data/data/www/wave-static/maxima-legacy-13f3e9a4.js +0 -1
  300. h2o_wave-1.5.5.data/data/www/wave-static/maxima.js-legacy-9fef8b73.js +0 -1
  301. h2o_wave-1.5.5.data/data/www/wave-static/mel-legacy-195785c7.js +0 -1
  302. h2o_wave-1.5.5.data/data/www/wave-static/mel.js-legacy-1933afd0.js +0 -1
  303. h2o_wave-1.5.5.data/data/www/wave-static/mercury-legacy-3675b888.js +0 -1
  304. h2o_wave-1.5.5.data/data/www/wave-static/mercury.js-legacy-dac0af55.js +0 -1
  305. h2o_wave-1.5.5.data/data/www/wave-static/mipsasm-legacy-0545684f.js +0 -1
  306. h2o_wave-1.5.5.data/data/www/wave-static/mipsasm.js-legacy-a4a0f717.js +0 -1
  307. h2o_wave-1.5.5.data/data/www/wave-static/mizar-legacy-6ec03e5a.js +0 -1
  308. h2o_wave-1.5.5.data/data/www/wave-static/mizar.js-legacy-2c621b1b.js +0 -1
  309. h2o_wave-1.5.5.data/data/www/wave-static/mojolicious-legacy-c44a8d5c.js +0 -1
  310. h2o_wave-1.5.5.data/data/www/wave-static/mojolicious.js-legacy-bb29890b.js +0 -1
  311. h2o_wave-1.5.5.data/data/www/wave-static/monkey-legacy-85108211.js +0 -1
  312. h2o_wave-1.5.5.data/data/www/wave-static/monkey.js-legacy-d652be10.js +0 -1
  313. h2o_wave-1.5.5.data/data/www/wave-static/moonscript-legacy-163fba1c.js +0 -1
  314. h2o_wave-1.5.5.data/data/www/wave-static/moonscript.js-legacy-8974fdaa.js +0 -1
  315. h2o_wave-1.5.5.data/data/www/wave-static/n1ql-legacy-4d976c83.js +0 -1
  316. h2o_wave-1.5.5.data/data/www/wave-static/n1ql.js-legacy-a9200fbe.js +0 -1
  317. h2o_wave-1.5.5.data/data/www/wave-static/nestedtext-legacy-a50f533d.js +0 -1
  318. h2o_wave-1.5.5.data/data/www/wave-static/nestedtext.js-legacy-ea2d840f.js +0 -1
  319. h2o_wave-1.5.5.data/data/www/wave-static/nginx-legacy-7b147fb4.js +0 -1
  320. h2o_wave-1.5.5.data/data/www/wave-static/nginx.js-legacy-7affba9c.js +0 -1
  321. h2o_wave-1.5.5.data/data/www/wave-static/nim-legacy-810f7f20.js +0 -1
  322. h2o_wave-1.5.5.data/data/www/wave-static/nim.js-legacy-c483e07d.js +0 -1
  323. h2o_wave-1.5.5.data/data/www/wave-static/nix-legacy-0ac67831.js +0 -1
  324. h2o_wave-1.5.5.data/data/www/wave-static/nix.js-legacy-20a97128.js +0 -1
  325. h2o_wave-1.5.5.data/data/www/wave-static/node-repl-legacy-3cc0a4ed.js +0 -1
  326. h2o_wave-1.5.5.data/data/www/wave-static/node-repl.js-legacy-71217a03.js +0 -1
  327. h2o_wave-1.5.5.data/data/www/wave-static/nsis-legacy-0996463b.js +0 -1
  328. h2o_wave-1.5.5.data/data/www/wave-static/nsis.js-legacy-b3d407d9.js +0 -1
  329. h2o_wave-1.5.5.data/data/www/wave-static/objectivec-legacy-b8c0f3f6.js +0 -1
  330. h2o_wave-1.5.5.data/data/www/wave-static/objectivec.js-legacy-cf10ec30.js +0 -1
  331. h2o_wave-1.5.5.data/data/www/wave-static/ocaml-legacy-de8a6e50.js +0 -1
  332. h2o_wave-1.5.5.data/data/www/wave-static/ocaml.js-legacy-3557e455.js +0 -1
  333. h2o_wave-1.5.5.data/data/www/wave-static/openscad-legacy-2f475eb4.js +0 -1
  334. h2o_wave-1.5.5.data/data/www/wave-static/openscad.js-legacy-f21eadc1.js +0 -1
  335. h2o_wave-1.5.5.data/data/www/wave-static/oxygene-legacy-ed2449bf.js +0 -1
  336. h2o_wave-1.5.5.data/data/www/wave-static/oxygene.js-legacy-9e0c41e8.js +0 -1
  337. h2o_wave-1.5.5.data/data/www/wave-static/parser3-legacy-35dc0290.js +0 -1
  338. h2o_wave-1.5.5.data/data/www/wave-static/parser3.js-legacy-28f35bcd.js +0 -1
  339. h2o_wave-1.5.5.data/data/www/wave-static/perl-legacy-df61e3fe.js +0 -1
  340. h2o_wave-1.5.5.data/data/www/wave-static/perl.js-legacy-b46e6579.js +0 -1
  341. h2o_wave-1.5.5.data/data/www/wave-static/pf-legacy-fb960280.js +0 -1
  342. h2o_wave-1.5.5.data/data/www/wave-static/pf.js-legacy-5ad82425.js +0 -1
  343. h2o_wave-1.5.5.data/data/www/wave-static/pgsql-legacy-f8081b81.js +0 -1
  344. h2o_wave-1.5.5.data/data/www/wave-static/pgsql.js-legacy-2857274b.js +0 -1
  345. h2o_wave-1.5.5.data/data/www/wave-static/php-99ab1efa.js +0 -1
  346. h2o_wave-1.5.5.data/data/www/wave-static/php-legacy-a0de235a.js +0 -1
  347. h2o_wave-1.5.5.data/data/www/wave-static/php-template-legacy-b106744b.js +0 -1
  348. h2o_wave-1.5.5.data/data/www/wave-static/php-template.js-legacy-6b69c542.js +0 -1
  349. h2o_wave-1.5.5.data/data/www/wave-static/php.js-legacy-bab4b322.js +0 -1
  350. h2o_wave-1.5.5.data/data/www/wave-static/plaintext-legacy-26afd1de.js +0 -1
  351. h2o_wave-1.5.5.data/data/www/wave-static/plaintext.js-legacy-ca5ac114.js +0 -1
  352. h2o_wave-1.5.5.data/data/www/wave-static/polyfills-legacy-41d83f3d.js +0 -1
  353. h2o_wave-1.5.5.data/data/www/wave-static/pony-legacy-e791b68d.js +0 -1
  354. h2o_wave-1.5.5.data/data/www/wave-static/pony.js-legacy-86642fef.js +0 -1
  355. h2o_wave-1.5.5.data/data/www/wave-static/powershell-legacy-2845386f.js +0 -1
  356. h2o_wave-1.5.5.data/data/www/wave-static/powershell.js-legacy-2f1b4c33.js +0 -1
  357. h2o_wave-1.5.5.data/data/www/wave-static/processing-legacy-634d78a6.js +0 -1
  358. h2o_wave-1.5.5.data/data/www/wave-static/processing.js-legacy-ad96f7d3.js +0 -1
  359. h2o_wave-1.5.5.data/data/www/wave-static/profile-legacy-f197c854.js +0 -1
  360. h2o_wave-1.5.5.data/data/www/wave-static/profile.js-legacy-963cee70.js +0 -1
  361. h2o_wave-1.5.5.data/data/www/wave-static/prolog-legacy-57bb9d2e.js +0 -1
  362. h2o_wave-1.5.5.data/data/www/wave-static/prolog.js-legacy-2d42efd9.js +0 -1
  363. h2o_wave-1.5.5.data/data/www/wave-static/properties-legacy-bd152a41.js +0 -1
  364. h2o_wave-1.5.5.data/data/www/wave-static/properties.js-legacy-82597745.js +0 -1
  365. h2o_wave-1.5.5.data/data/www/wave-static/protobuf-legacy-7cea966d.js +0 -1
  366. h2o_wave-1.5.5.data/data/www/wave-static/protobuf.js-legacy-9ba71dfc.js +0 -1
  367. h2o_wave-1.5.5.data/data/www/wave-static/puppet-legacy-8d3fd18d.js +0 -1
  368. h2o_wave-1.5.5.data/data/www/wave-static/puppet.js-legacy-207e72ad.js +0 -1
  369. h2o_wave-1.5.5.data/data/www/wave-static/purebasic-legacy-7df934eb.js +0 -1
  370. h2o_wave-1.5.5.data/data/www/wave-static/purebasic.js-legacy-b9c1a0b7.js +0 -1
  371. h2o_wave-1.5.5.data/data/www/wave-static/python-ed0affe4.js +0 -1
  372. h2o_wave-1.5.5.data/data/www/wave-static/python-legacy-a5e15ff7.js +0 -1
  373. h2o_wave-1.5.5.data/data/www/wave-static/python-repl-legacy-ebfe8102.js +0 -1
  374. h2o_wave-1.5.5.data/data/www/wave-static/python-repl.js-legacy-3d643d30.js +0 -1
  375. h2o_wave-1.5.5.data/data/www/wave-static/python.js-legacy-ca8aa2f6.js +0 -1
  376. h2o_wave-1.5.5.data/data/www/wave-static/q-legacy-a70f3c5e.js +0 -1
  377. h2o_wave-1.5.5.data/data/www/wave-static/q.js-legacy-acd6d9ff.js +0 -1
  378. h2o_wave-1.5.5.data/data/www/wave-static/qml-legacy-3d8d2a20.js +0 -1
  379. h2o_wave-1.5.5.data/data/www/wave-static/qml.js-legacy-294ccad7.js +0 -1
  380. h2o_wave-1.5.5.data/data/www/wave-static/r-legacy-038ccc64.js +0 -1
  381. h2o_wave-1.5.5.data/data/www/wave-static/r.js-legacy-592f4f3e.js +0 -1
  382. h2o_wave-1.5.5.data/data/www/wave-static/reasonml-legacy-49e0c6d7.js +0 -1
  383. h2o_wave-1.5.5.data/data/www/wave-static/reasonml.js-legacy-774323d4.js +0 -1
  384. h2o_wave-1.5.5.data/data/www/wave-static/rib-legacy-4d9f4e24.js +0 -1
  385. h2o_wave-1.5.5.data/data/www/wave-static/rib.js-legacy-cc2a55d3.js +0 -1
  386. h2o_wave-1.5.5.data/data/www/wave-static/roboconf-legacy-4d335fe3.js +0 -1
  387. h2o_wave-1.5.5.data/data/www/wave-static/roboconf.js-legacy-cbc539b3.js +0 -1
  388. h2o_wave-1.5.5.data/data/www/wave-static/routeros-legacy-1b7f3b07.js +0 -1
  389. h2o_wave-1.5.5.data/data/www/wave-static/routeros.js-legacy-f3ebc0ee.js +0 -1
  390. h2o_wave-1.5.5.data/data/www/wave-static/rsl-legacy-d2a3816f.js +0 -1
  391. h2o_wave-1.5.5.data/data/www/wave-static/rsl.js-legacy-4ac3a752.js +0 -1
  392. h2o_wave-1.5.5.data/data/www/wave-static/ruby-f28e1672.js +0 -1
  393. h2o_wave-1.5.5.data/data/www/wave-static/ruby-legacy-87033cc6.js +0 -1
  394. h2o_wave-1.5.5.data/data/www/wave-static/ruby.js-legacy-c377b0a2.js +0 -1
  395. h2o_wave-1.5.5.data/data/www/wave-static/ruleslanguage-legacy-563acc79.js +0 -1
  396. h2o_wave-1.5.5.data/data/www/wave-static/ruleslanguage.js-legacy-7788c137.js +0 -1
  397. h2o_wave-1.5.5.data/data/www/wave-static/rust-legacy-cfa79907.js +0 -1
  398. h2o_wave-1.5.5.data/data/www/wave-static/rust.js-legacy-8551e6c6.js +0 -1
  399. h2o_wave-1.5.5.data/data/www/wave-static/sas-legacy-b7f61485.js +0 -1
  400. h2o_wave-1.5.5.data/data/www/wave-static/sas.js-legacy-3ecb030f.js +0 -1
  401. h2o_wave-1.5.5.data/data/www/wave-static/scala-legacy-bc4d7d83.js +0 -1
  402. h2o_wave-1.5.5.data/data/www/wave-static/scala.js-legacy-f0766754.js +0 -1
  403. h2o_wave-1.5.5.data/data/www/wave-static/scheme-legacy-ae9eb833.js +0 -1
  404. h2o_wave-1.5.5.data/data/www/wave-static/scheme.js-legacy-bb5f91cf.js +0 -1
  405. h2o_wave-1.5.5.data/data/www/wave-static/scilab-515e5499.js +0 -1
  406. h2o_wave-1.5.5.data/data/www/wave-static/scilab-legacy-bf4e0e20.js +0 -1
  407. h2o_wave-1.5.5.data/data/www/wave-static/scilab.js-legacy-c8e86aa4.js +0 -1
  408. h2o_wave-1.5.5.data/data/www/wave-static/scss-legacy-06a0caa8.js +0 -1
  409. h2o_wave-1.5.5.data/data/www/wave-static/scss.js-legacy-0d92485a.js +0 -1
  410. h2o_wave-1.5.5.data/data/www/wave-static/shell-legacy-27061ecc.js +0 -1
  411. h2o_wave-1.5.5.data/data/www/wave-static/shell.js-legacy-ba1e4f51.js +0 -1
  412. h2o_wave-1.5.5.data/data/www/wave-static/smali-legacy-82101398.js +0 -1
  413. h2o_wave-1.5.5.data/data/www/wave-static/smali.js-legacy-48ee6fea.js +0 -1
  414. h2o_wave-1.5.5.data/data/www/wave-static/smalltalk-legacy-0b09a010.js +0 -1
  415. h2o_wave-1.5.5.data/data/www/wave-static/smalltalk.js-legacy-191fce3b.js +0 -1
  416. h2o_wave-1.5.5.data/data/www/wave-static/sml-legacy-a93386df.js +0 -1
  417. h2o_wave-1.5.5.data/data/www/wave-static/sml.js-legacy-81ada55d.js +0 -1
  418. h2o_wave-1.5.5.data/data/www/wave-static/sqf-legacy-65fc5dbe.js +0 -1
  419. h2o_wave-1.5.5.data/data/www/wave-static/sqf.js-legacy-832cbd50.js +0 -1
  420. h2o_wave-1.5.5.data/data/www/wave-static/sql-legacy-40280984.js +0 -1
  421. h2o_wave-1.5.5.data/data/www/wave-static/sql.js-legacy-ddeb0313.js +0 -1
  422. h2o_wave-1.5.5.data/data/www/wave-static/stan-legacy-d393acc4.js +0 -1
  423. h2o_wave-1.5.5.data/data/www/wave-static/stan.js-legacy-22c64211.js +0 -1
  424. h2o_wave-1.5.5.data/data/www/wave-static/stata-legacy-3a11277c.js +0 -1
  425. h2o_wave-1.5.5.data/data/www/wave-static/stata.js-legacy-3609a6e2.js +0 -1
  426. h2o_wave-1.5.5.data/data/www/wave-static/step21-legacy-c015564c.js +0 -1
  427. h2o_wave-1.5.5.data/data/www/wave-static/step21.js-legacy-a366849b.js +0 -1
  428. h2o_wave-1.5.5.data/data/www/wave-static/stylus-legacy-484c6475.js +0 -1
  429. h2o_wave-1.5.5.data/data/www/wave-static/stylus.js-legacy-a9a443c8.js +0 -1
  430. h2o_wave-1.5.5.data/data/www/wave-static/subunit-d0913233.js +0 -1
  431. h2o_wave-1.5.5.data/data/www/wave-static/subunit-legacy-04174477.js +0 -1
  432. h2o_wave-1.5.5.data/data/www/wave-static/subunit.js-legacy-b0febb39.js +0 -1
  433. h2o_wave-1.5.5.data/data/www/wave-static/swift-legacy-9a2f6ea6.js +0 -1
  434. h2o_wave-1.5.5.data/data/www/wave-static/swift.js-legacy-be8b1add.js +0 -1
  435. h2o_wave-1.5.5.data/data/www/wave-static/taggerscript-legacy-7a8c4f55.js +0 -1
  436. h2o_wave-1.5.5.data/data/www/wave-static/taggerscript.js-legacy-1564e5fc.js +0 -1
  437. h2o_wave-1.5.5.data/data/www/wave-static/tap-legacy-740e2754.js +0 -1
  438. h2o_wave-1.5.5.data/data/www/wave-static/tap.js-legacy-e2533b5e.js +0 -1
  439. h2o_wave-1.5.5.data/data/www/wave-static/tcl-legacy-d44bff04.js +0 -1
  440. h2o_wave-1.5.5.data/data/www/wave-static/tcl.js-legacy-3a775553.js +0 -1
  441. h2o_wave-1.5.5.data/data/www/wave-static/thrift-legacy-a894b9c5.js +0 -1
  442. h2o_wave-1.5.5.data/data/www/wave-static/thrift.js-legacy-04379052.js +0 -1
  443. h2o_wave-1.5.5.data/data/www/wave-static/timer-legacy-42b42209.js +0 -1
  444. h2o_wave-1.5.5.data/data/www/wave-static/tp-legacy-7b1c6428.js +0 -1
  445. h2o_wave-1.5.5.data/data/www/wave-static/tp.js-legacy-ce6ac4d7.js +0 -1
  446. h2o_wave-1.5.5.data/data/www/wave-static/twig-legacy-b26311d2.js +0 -1
  447. h2o_wave-1.5.5.data/data/www/wave-static/twig.js-legacy-c4c7f67e.js +0 -1
  448. h2o_wave-1.5.5.data/data/www/wave-static/typescript-2bf0a83d.js +0 -1
  449. h2o_wave-1.5.5.data/data/www/wave-static/typescript-legacy-f2bd4ca8.js +0 -1
  450. h2o_wave-1.5.5.data/data/www/wave-static/typescript.js-legacy-50a3116c.js +0 -1
  451. h2o_wave-1.5.5.data/data/www/wave-static/useThemeProps-d88399c8.js +0 -1
  452. h2o_wave-1.5.5.data/data/www/wave-static/useThemeProps-legacy-49c49885.js +0 -1
  453. h2o_wave-1.5.5.data/data/www/wave-static/vala-legacy-67c71a44.js +0 -1
  454. h2o_wave-1.5.5.data/data/www/wave-static/vala.js-legacy-9027c5a2.js +0 -1
  455. h2o_wave-1.5.5.data/data/www/wave-static/vbnet-legacy-5c739611.js +0 -1
  456. h2o_wave-1.5.5.data/data/www/wave-static/vbnet.js-legacy-2757b7a5.js +0 -1
  457. h2o_wave-1.5.5.data/data/www/wave-static/vbscript-html-legacy-ac338707.js +0 -1
  458. h2o_wave-1.5.5.data/data/www/wave-static/vbscript-html.js-legacy-e00f0680.js +0 -1
  459. h2o_wave-1.5.5.data/data/www/wave-static/vbscript-legacy-87e05029.js +0 -1
  460. h2o_wave-1.5.5.data/data/www/wave-static/vbscript.js-legacy-99f3021b.js +0 -1
  461. h2o_wave-1.5.5.data/data/www/wave-static/vega-embed.module-a95e8444.js +0 -9
  462. h2o_wave-1.5.5.data/data/www/wave-static/vega-embed.module-legacy-3f604751.js +0 -12
  463. h2o_wave-1.5.5.data/data/www/wave-static/vega.module-08ee6a8e.js +0 -1
  464. h2o_wave-1.5.5.data/data/www/wave-static/vega.module-legacy-49dfb982.js +0 -1
  465. h2o_wave-1.5.5.data/data/www/wave-static/verilog-legacy-2ffb1cf4.js +0 -1
  466. h2o_wave-1.5.5.data/data/www/wave-static/verilog.js-legacy-f7f3d414.js +0 -1
  467. h2o_wave-1.5.5.data/data/www/wave-static/vhdl-legacy-56ad3d59.js +0 -1
  468. h2o_wave-1.5.5.data/data/www/wave-static/vhdl.js-legacy-ebe12a2b.js +0 -1
  469. h2o_wave-1.5.5.data/data/www/wave-static/vim-legacy-a5d4f7e8.js +0 -1
  470. h2o_wave-1.5.5.data/data/www/wave-static/vim.js-legacy-68b8fde0.js +0 -1
  471. h2o_wave-1.5.5.data/data/www/wave-static/wasm-legacy-a322e0a9.js +0 -1
  472. h2o_wave-1.5.5.data/data/www/wave-static/wasm.js-legacy-4ee0fe5c.js +0 -1
  473. h2o_wave-1.5.5.data/data/www/wave-static/wren-legacy-c8da3971.js +0 -1
  474. h2o_wave-1.5.5.data/data/www/wave-static/wren.js-legacy-111d56cd.js +0 -1
  475. h2o_wave-1.5.5.data/data/www/wave-static/x86asm-legacy-83e00fa4.js +0 -1
  476. h2o_wave-1.5.5.data/data/www/wave-static/x86asm.js-legacy-ac9e945d.js +0 -1
  477. h2o_wave-1.5.5.data/data/www/wave-static/xl-legacy-42877465.js +0 -1
  478. h2o_wave-1.5.5.data/data/www/wave-static/xl.js-legacy-2f688509.js +0 -1
  479. h2o_wave-1.5.5.data/data/www/wave-static/xml-legacy-eea72490.js +0 -1
  480. h2o_wave-1.5.5.data/data/www/wave-static/xml.js-legacy-15f629e4.js +0 -1
  481. h2o_wave-1.5.5.data/data/www/wave-static/xquery-legacy-554d6921.js +0 -1
  482. h2o_wave-1.5.5.data/data/www/wave-static/xquery.js-legacy-1136eb37.js +0 -1
  483. h2o_wave-1.5.5.data/data/www/wave-static/yaml-legacy-5fac3622.js +0 -1
  484. h2o_wave-1.5.5.data/data/www/wave-static/yaml.js-legacy-fd5075f2.js +0 -1
  485. h2o_wave-1.5.5.data/data/www/wave-static/zephir-legacy-56a6ea33.js +0 -1
  486. h2o_wave-1.5.5.data/data/www/wave-static/zephir.js-legacy-cf8f00c6.js +0 -1
  487. h2o_wave-1.5.5.dist-info/RECORD +0 -852
  488. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/project_templates/README.md +0 -0
  489. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/project_templates/chat.py +0 -0
  490. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/project_templates/header.py +0 -0
  491. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/project_templates/header_nav.py +0 -0
  492. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/project_templates/header_sidebar_nav.py +0 -0
  493. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/project_templates/hello_world.py +0 -0
  494. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/project_templates/sidebar_nav.py +0 -0
  495. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/favicon.ico +0 -0
  496. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/logo192.png +0 -0
  497. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/logo512.png +0 -0
  498. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/manifest.json +0 -0
  499. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/robots.txt +0 -0
  500. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/1c-3f7bb63f.js +0 -0
  501. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/1c.js-880a5fb5.js +0 -0
  502. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/Inter-Black-8b21d5be.woff +0 -0
  503. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/Inter-Black-fc10113c.woff2 +0 -0
  504. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/Inter-Bold-3e242080.woff +0 -0
  505. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/Inter-Bold-c63158ba.woff2 +0 -0
  506. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/Inter-ExtraBold-307d9809.woff2 +0 -0
  507. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/Inter-ExtraBold-f053602c.woff +0 -0
  508. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/Inter-ExtraLight-015dad27.woff +0 -0
  509. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/Inter-ExtraLight-b6cd094a.woff2 +0 -0
  510. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/Inter-Light-36b86832.woff2 +0 -0
  511. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/Inter-Light-4871aed0.woff +0 -0
  512. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/Inter-Medium-1b498b95.woff2 +0 -0
  513. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/Inter-Medium-53deda46.woff +0 -0
  514. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/Inter-Regular-d612f121.woff2 +0 -0
  515. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/Inter-Regular-ef1f23c0.woff +0 -0
  516. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/Inter-SemiBold-15226129.woff2 +0 -0
  517. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/Inter-SemiBold-653fed7a.woff +0 -0
  518. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/Inter-Thin-77d96c1c.woff2 +0 -0
  519. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/Inter-Thin-e6bced8e.woff +0 -0
  520. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/abnf-13e3d3e9.js +0 -0
  521. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/abnf.js-4710a9b6.js +0 -0
  522. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/accesslog-0333fe45.js +0 -0
  523. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/accesslog.js-c69c4014.js +0 -0
  524. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/actionscript-970abe00.js +0 -0
  525. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/actionscript.js-a23662e0.js +0 -0
  526. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/angelscript-c4bcdcf1.js +0 -0
  527. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/angelscript.js-b9004b30.js +0 -0
  528. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/apache-69229b81.js +0 -0
  529. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/apache.js-53f92aaa.js +0 -0
  530. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/applescript-18053a85.js +0 -0
  531. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/applescript.js-167660b4.js +0 -0
  532. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/arcade-6075ac5c.js +0 -0
  533. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/arcade.js-d02d2998.js +0 -0
  534. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/arduino-d57cf405.js +0 -0
  535. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/arduino.js-37a85c8f.js +0 -0
  536. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/armasm-1f1daec6.js +0 -0
  537. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/armasm.js-7de2e829.js +0 -0
  538. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/asciidoc-c2ce0198.js +0 -0
  539. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/asciidoc.js-955e0d47.js +0 -0
  540. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/aspectj-65addc65.js +0 -0
  541. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/aspectj.js-de303d21.js +0 -0
  542. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/autohotkey-083cf3c0.js +0 -0
  543. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/autohotkey.js-902453c5.js +0 -0
  544. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/autoit-01458b60.js +0 -0
  545. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/autoit.js-e3487153.js +0 -0
  546. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/avrasm-9c20c591.js +0 -0
  547. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/avrasm.js-9296929c.js +0 -0
  548. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/awk-3a9cdcff.js +0 -0
  549. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/awk.js-d895eb86.js +0 -0
  550. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/axapta-1e6dd9a4.js +0 -0
  551. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/axapta.js-7a94aded.js +0 -0
  552. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/basic-ae19ba84.js +0 -0
  553. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/basic.js-5285fc1c.js +0 -0
  554. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/bnf-6d48c389.js +0 -0
  555. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/bnf.js-49945ebf.js +0 -0
  556. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/brainfuck-450234e6.js +0 -0
  557. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/brainfuck.js-3ce3a6cd.js +0 -0
  558. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/c-f46565f0.js +0 -0
  559. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/c.js-e57dbb84.js +0 -0
  560. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/cal-68febb00.js +0 -0
  561. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/cal.js-0c9d24c1.js +0 -0
  562. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/capnproto-42c0b6ff.js +0 -0
  563. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/capnproto.js-f123775c.js +0 -0
  564. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/ceylon-7044c346.js +0 -0
  565. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/ceylon.js-feb867e3.js +0 -0
  566. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/clean-21378384.js +0 -0
  567. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/clean.js-56633a25.js +0 -0
  568. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/clojure-202ef751.js +0 -0
  569. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/clojure-repl-d5a2be34.js +0 -0
  570. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/clojure-repl.js-0679d9f5.js +0 -0
  571. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/clojure.js-242a2f04.js +0 -0
  572. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/cmake-b4ce297d.js +0 -0
  573. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/cmake.js-7cccedf6.js +0 -0
  574. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/coffeescript-9a445365.js +0 -0
  575. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/coffeescript.js-db28b498.js +0 -0
  576. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/coq-67e06e00.js +0 -0
  577. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/coq.js-bc1dedb0.js +0 -0
  578. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/cos-52897118.js +0 -0
  579. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/cos.js-9f2c4957.js +0 -0
  580. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/cpp-aa04b0db.js +0 -0
  581. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/cpp.js-e637b2f4.js +0 -0
  582. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/crmsh-f2834950.js +0 -0
  583. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/crmsh.js-f8602207.js +0 -0
  584. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/crystal-164453c2.js +0 -0
  585. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/crystal.js-74828bd0.js +0 -0
  586. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/csharp-dda82316.js +0 -0
  587. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/csharp.js-56c58434.js +0 -0
  588. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/csp-b9668226.js +0 -0
  589. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/csp.js-eb7d3a88.js +0 -0
  590. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/css-5d2c9b40.js +0 -0
  591. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/css.js-62b267ee.js +0 -0
  592. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/delphi-20c87528.js +0 -0
  593. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/delphi.js-e5cd150c.js +0 -0
  594. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/diff-e6456a67.js +0 -0
  595. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/diff.js-5568e9f4.js +0 -0
  596. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/django-49d52be8.js +0 -0
  597. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/django.js-e38658c2.js +0 -0
  598. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/dns-5a205646.js +0 -0
  599. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/dns.js-63bf7d1f.js +0 -0
  600. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/dockerfile-33bf66d7.js +0 -0
  601. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/dockerfile.js-cccb49a0.js +0 -0
  602. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/dos-6d5191f9.js +0 -0
  603. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/dos.js-15b97873.js +0 -0
  604. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/dsconfig-e810963a.js +0 -0
  605. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/dsconfig.js-7c0a57b6.js +0 -0
  606. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/dts-8c60a07f.js +0 -0
  607. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/dts.js-80c29b59.js +0 -0
  608. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/dust-82a2434b.js +0 -0
  609. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/dust.js-c265de6d.js +0 -0
  610. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/ebnf-c82500bd.js +0 -0
  611. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/ebnf.js-7696d4d1.js +0 -0
  612. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/elm-b0baa83b.js +0 -0
  613. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/elm.js-065d04eb.js +0 -0
  614. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/erb-5b2c18cb.js +0 -0
  615. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/erb.js-5bf017f1.js +0 -0
  616. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/erlang-repl-4327c962.js +0 -0
  617. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/erlang-repl.js-1e32a7a4.js +0 -0
  618. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/excel-b748334a.js +0 -0
  619. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/excel.js-eacd8da9.js +0 -0
  620. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/fix-2076861f.js +0 -0
  621. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/fix.js-ea8e2c05.js +0 -0
  622. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/flix-d6821016.js +0 -0
  623. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/flix.js-039dc4da.js +0 -0
  624. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/fortran-93288908.js +0 -0
  625. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/fortran.js-e77c10a9.js +0 -0
  626. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/fsharp-004140a7.js +0 -0
  627. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/fsharp.js-5eebd197.js +0 -0
  628. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/gams-2364286e.js +0 -0
  629. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/gams.js-74a57ad8.js +0 -0
  630. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/gauss-526e2980.js +0 -0
  631. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/gauss.js-8fef6743.js +0 -0
  632. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/gcode-fcf823ff.js +0 -0
  633. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/gcode.js-cbfb4164.js +0 -0
  634. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/gherkin-7933969a.js +0 -0
  635. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/gherkin.js-794fab5c.js +0 -0
  636. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/glsl-1880d3bf.js +0 -0
  637. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/glsl.js-a2ed8800.js +0 -0
  638. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/gml-375bdc8f.js +0 -0
  639. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/gml.js-cda64410.js +0 -0
  640. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/go-6477af85.js +0 -0
  641. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/go.js-bc860eea.js +0 -0
  642. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/golo-a8b30a3b.js +0 -0
  643. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/golo.js-2e22bcec.js +0 -0
  644. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/gradle-d007f0f8.js +0 -0
  645. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/gradle.js-c114b7cd.js +0 -0
  646. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/graphql-0429227f.js +0 -0
  647. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/graphql.js-efb48106.js +0 -0
  648. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/groovy-83606e93.js +0 -0
  649. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/groovy.js-f30f8566.js +0 -0
  650. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/haml-81c61df4.js +0 -0
  651. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/haml.js-3c12d6c6.js +0 -0
  652. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/handlebars-dffd1fe9.js +0 -0
  653. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/handlebars.js-b804f107.js +0 -0
  654. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/haxe-f014280d.js +0 -0
  655. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/haxe.js-efbaab17.js +0 -0
  656. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/hsp-052b1a9a.js +0 -0
  657. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/hsp.js-1904ee6c.js +0 -0
  658. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/http-7fc81321.js +0 -0
  659. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/http.js-3552549b.js +0 -0
  660. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/hy-3c07056d.js +0 -0
  661. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/hy.js-2a8401d6.js +0 -0
  662. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/index-17424b44.js +0 -0
  663. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/index-be05b8a6.css +0 -0
  664. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/inform7-45a494ad.js +0 -0
  665. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/inform7.js-1bb293dc.js +0 -0
  666. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/ini-565c1ab6.js +0 -0
  667. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/ini.js-4c40a00d.js +0 -0
  668. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/irpf90-eea6e6cc.js +0 -0
  669. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/irpf90.js-dcf62e5f.js +0 -0
  670. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/isbl-7e0cec9a.js +0 -0
  671. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/isbl.js-b30a56d1.js +0 -0
  672. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/jboss-cli-a89c5614.js +0 -0
  673. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/jboss-cli.js-fc4be0ce.js +0 -0
  674. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/json-c6c94b43.js +0 -0
  675. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/json.js-32d1540a.js +0 -0
  676. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/julia-8a3768e7.js +0 -0
  677. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/julia-repl-1542a535.js +0 -0
  678. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/julia-repl.js-07ea0c88.js +0 -0
  679. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/julia.js-7321b26f.js +0 -0
  680. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/lasso-f278ccbb.js +0 -0
  681. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/lasso.js-a81c4a10.js +0 -0
  682. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/latex-480bc614.js +0 -0
  683. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/latex.js-7781fa8e.js +0 -0
  684. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/ldif-39e7018a.js +0 -0
  685. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/ldif.js-ff0be511.js +0 -0
  686. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/leaf-1983c9fd.js +0 -0
  687. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/leaf.js-6051fa44.js +0 -0
  688. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/lisp-47e106f3.js +0 -0
  689. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/lisp.js-5729457c.js +0 -0
  690. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/livecodeserver-a9710535.js +0 -0
  691. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/livecodeserver.js-621c3b9a.js +0 -0
  692. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/livescript-5888934c.js +0 -0
  693. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/livescript.js-911f9c89.js +0 -0
  694. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/llvm-a51ea25c.js +0 -0
  695. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/llvm.js-aec4e151.js +0 -0
  696. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/lsl-babb313c.js +0 -0
  697. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/lsl.js-372a9d2e.js +0 -0
  698. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/lua-33e3bed2.js +0 -0
  699. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/lua.js-a549c4fb.js +0 -0
  700. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/makefile-036c85bd.js +0 -0
  701. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/makefile.js-d981f866.js +0 -0
  702. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/markdown-83c491be.js +0 -0
  703. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/markdown.js-7e400889.js +0 -0
  704. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/markdownCodeSyntaxHighlighting-3b867111.js +0 -0
  705. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/mathematica-212cedeb.js +0 -0
  706. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/mathematica.js-a9cc13e1.js +0 -0
  707. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/matlab-91514d42.js +0 -0
  708. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/matlab.js-272d0a4b.js +0 -0
  709. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/maxima-ec780f01.js +0 -0
  710. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/maxima.js-8f83fc9b.js +0 -0
  711. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/mel-443f3074.js +0 -0
  712. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/mel.js-35aaad36.js +0 -0
  713. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/mercury-6fa710c7.js +0 -0
  714. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/mercury.js-e4a4d463.js +0 -0
  715. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/mipsasm-1d35360e.js +0 -0
  716. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/mipsasm.js-2b25ec79.js +0 -0
  717. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/mizar-bf5d69f1.js +0 -0
  718. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/mizar.js-a056f354.js +0 -0
  719. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/mojolicious-c56b1162.js +0 -0
  720. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/mojolicious.js-265d3ad9.js +0 -0
  721. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/monkey-bf0d5fb4.js +0 -0
  722. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/monkey.js-0189f1d4.js +0 -0
  723. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/moonscript-b6fa3ab7.js +0 -0
  724. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/moonscript.js-6d6e7d92.js +0 -0
  725. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/n1ql-c980c0d8.js +0 -0
  726. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/n1ql.js-a6e1cdbd.js +0 -0
  727. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/nestedtext-a75f487f.js +0 -0
  728. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/nestedtext.js-58eeb2fd.js +0 -0
  729. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/nginx-500d7783.js +0 -0
  730. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/nginx.js-6e1ff365.js +0 -0
  731. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/nim-8c52ae95.js +0 -0
  732. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/nim.js-8c2ba4ce.js +0 -0
  733. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/nix-8e17d7df.js +0 -0
  734. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/nix.js-1c9e5f0f.js +0 -0
  735. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/node-repl-c351033a.js +0 -0
  736. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/node-repl.js-0c21023a.js +0 -0
  737. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/nsis-9566a130.js +0 -0
  738. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/nsis.js-5bef79d6.js +0 -0
  739. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/objectivec-70d1e37c.js +0 -0
  740. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/objectivec.js-ea458201.js +0 -0
  741. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/ocaml-05a8032e.js +0 -0
  742. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/ocaml.js-34933407.js +0 -0
  743. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/openscad-724bb5e2.js +0 -0
  744. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/openscad.js-bc588586.js +0 -0
  745. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/oxygene-d0768591.js +0 -0
  746. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/oxygene.js-bddfaf72.js +0 -0
  747. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/parser3-3b7df84a.js +0 -0
  748. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/parser3.js-03917f62.js +0 -0
  749. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/perl-274a0c8e.js +0 -0
  750. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/perl.js-798899d1.js +0 -0
  751. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/pf-647ee253.js +0 -0
  752. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/pf.js-c7f35663.js +0 -0
  753. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/pgsql-67be9c80.js +0 -0
  754. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/pgsql.js-1e15a30d.js +0 -0
  755. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/php-template-059af3df.js +0 -0
  756. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/php-template.js-25c82e05.js +0 -0
  757. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/plaintext-7945c0c0.js +0 -0
  758. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/plaintext.js-89fd8faa.js +0 -0
  759. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/pony-37a85088.js +0 -0
  760. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/pony.js-af4b8cc4.js +0 -0
  761. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/powershell-99ec96b1.js +0 -0
  762. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/powershell.js-3aa375d4.js +0 -0
  763. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/processing-6b513c0b.js +0 -0
  764. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/processing.js-8f9c7b7e.js +0 -0
  765. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/profile-a11e18ed.js +0 -0
  766. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/profile.js-c43affa1.js +0 -0
  767. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/prolog-35f6eaf0.js +0 -0
  768. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/prolog.js-ea1f9010.js +0 -0
  769. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/properties-c15cbd34.js +0 -0
  770. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/properties.js-aab8f4b2.js +0 -0
  771. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/protobuf-96c705d8.js +0 -0
  772. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/protobuf.js-256fb21d.js +0 -0
  773. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/puppet-eaa21a84.js +0 -0
  774. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/puppet.js-526f0f6c.js +0 -0
  775. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/purebasic-b2255610.js +0 -0
  776. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/purebasic.js-88a0aeb0.js +0 -0
  777. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/python-repl-a098ea60.js +0 -0
  778. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/python-repl.js-da97070f.js +0 -0
  779. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/q-edbaf565.js +0 -0
  780. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/q.js-64716461.js +0 -0
  781. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/qml-e4a66052.js +0 -0
  782. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/qml.js-256c40c8.js +0 -0
  783. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/r-a77be0e5.js +0 -0
  784. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/r.js-df8e6a0d.js +0 -0
  785. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/reasonml-98659b0a.js +0 -0
  786. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/reasonml.js-d61d5332.js +0 -0
  787. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/rib-e50e8c11.js +0 -0
  788. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/rib.js-771507ef.js +0 -0
  789. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/roboconf-b646a8cd.js +0 -0
  790. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/roboconf.js-e47e2f37.js +0 -0
  791. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/routeros-daea5f39.js +0 -0
  792. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/routeros.js-7028f69c.js +0 -0
  793. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/rsl-02a6a6f6.js +0 -0
  794. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/rsl.js-3b3c4666.js +0 -0
  795. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/ruleslanguage-932a539f.js +0 -0
  796. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/ruleslanguage.js-52f1d5da.js +0 -0
  797. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/rust-e4f5d8be.js +0 -0
  798. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/rust.js-6937e5f3.js +0 -0
  799. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/sas-d4be0f22.js +0 -0
  800. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/sas.js-e9f7f74a.js +0 -0
  801. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/scala-ed6253c7.js +0 -0
  802. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/scala.js-0622a5e6.js +0 -0
  803. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/scheme-090728b4.js +0 -0
  804. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/scheme.js-df719b01.js +0 -0
  805. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/scss-17621482.js +0 -0
  806. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/scss.js-effc59ae.js +0 -0
  807. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/shell-c79fdff2.js +0 -0
  808. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/shell.js-31f5a65f.js +0 -0
  809. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/smalltalk-a5aaf1af.js +0 -0
  810. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/smalltalk.js-16b69abf.js +0 -0
  811. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/sml-3d2ff45b.js +0 -0
  812. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/sml.js-dca0f19d.js +0 -0
  813. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/sqf-895a1a12.js +0 -0
  814. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/sqf.js-7d395293.js +0 -0
  815. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/stan-44ba0bd8.js +0 -0
  816. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/stan.js-5923d3a1.js +0 -0
  817. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/step21-d469eb04.js +0 -0
  818. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/step21.js-91507b84.js +0 -0
  819. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/stylus-7fe3d2aa.js +0 -0
  820. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/stylus.js-5c46b7d2.js +0 -0
  821. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/taggerscript-9644bd70.js +0 -0
  822. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/taggerscript.js-3b33b52a.js +0 -0
  823. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/tap-9aff5b1c.js +0 -0
  824. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/tap.js-6c086fe2.js +0 -0
  825. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/tcl-e06ad942.js +0 -0
  826. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/tcl.js-8b627a42.js +0 -0
  827. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/thrift-172e9c7e.js +0 -0
  828. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/thrift.js-d6341b21.js +0 -0
  829. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/timer-4c6100d9.js +0 -0
  830. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/tp-57841279.js +0 -0
  831. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/tp.js-cedf36a8.js +0 -0
  832. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/vala-1a982c40.js +0 -0
  833. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/vala.js-db590567.js +0 -0
  834. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/vbnet-58370a58.js +0 -0
  835. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/vbnet.js-cdd968f7.js +0 -0
  836. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/vbscript-cf59c0ae.js +0 -0
  837. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/vbscript-html-6fb1969c.js +0 -0
  838. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/vbscript-html.js-ee15979a.js +0 -0
  839. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/vbscript.js-14980cef.js +0 -0
  840. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/verilog-708e7faf.js +0 -0
  841. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/verilog.js-c895778f.js +0 -0
  842. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/vhdl-6fc4a449.js +0 -0
  843. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/vhdl.js-04291f57.js +0 -0
  844. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/vim-3059209f.js +0 -0
  845. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/vim.js-a486e2f4.js +0 -0
  846. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/wasm-d475c0e5.js +0 -0
  847. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/wasm.js-e4c1cfdb.js +0 -0
  848. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/wren-f93687dd.js +0 -0
  849. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/wren.js-2485cae5.js +0 -0
  850. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/x86asm-774652e0.js +0 -0
  851. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/x86asm.js-b939195a.js +0 -0
  852. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/xl-c097ac75.js +0 -0
  853. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/xl.js-7efd80af.js +0 -0
  854. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/xquery-322b0611.js +0 -0
  855. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/xquery.js-83bd2c62.js +0 -0
  856. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/yaml-6a874c12.js +0 -0
  857. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/yaml.js-3a05ad15.js +0 -0
  858. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/zephir-cf2a8bcb.js +0 -0
  859. {h2o_wave-1.5.5.data → h2o_wave-1.6.1.data}/data/www/wave-static/zephir.js-fa8df6f1.js +0 -0
  860. {h2o_wave-1.5.5.dist-info → h2o_wave-1.6.1.dist-info}/WHEEL +0 -0
  861. {h2o_wave-1.5.5.dist-info → h2o_wave-1.6.1.dist-info}/entry_points.txt +0 -0
  862. {h2o_wave-1.5.5.dist-info → h2o_wave-1.6.1.dist-info}/licenses/LICENSE +0 -0
@@ -1,12 +0,0 @@
1
- !function(){var e=["order","detail","tooltip"],n=["row","column","facet"],t=["x","y","x2","y2","xOffset","yOffset","latitude","longitude","latitude2","longitude2","theta","theta2","radius","radius2"],r=["text","tooltip","href","url","description","detail","key","order"],i=["geoshape"],a=["anchor","frame","offset","orient","angle","limit","color","subtitleColor","subtitleFont","subtitleFontSize","subtitleFontStyle","subtitleFontWeight","subtitleLineHeight","subtitlePadding"],o=["expr"],c=["expr"],l=["expr"],u=["utc"],s=["type","domain","range","rangeMax","rangeMin","scheme"],f=["format","formatType"],d=["format","formatType"],v=["orient"],p=["field","aggregate","bin","timeUnit"],h=["tooltip"],m=["aggregate"],g=["mark","encoding","params","projection"],y=["color","size"],b=["tooltip"],x=["mark","encoding","params","projection"],k=["expr","bind"],w=["color","font","fontSize","selection"],S=["concat"],E=["point","line"],O=["params","projection","mark","name","encoding"],D=["condition"],F=["repeat","spec"],N=["repeat","spec","data"],_=["row","column","facet"],A=["mark","width","projection","height","view","params","encoding"],T=["align","center","spacing","columns"],C=["align","center","spacing","columns"],P=["parentEncoding","parentProjection"],j=["encoding","projection"],z=["selection"],L=["init","bind","empty"],R=["transform"],I=["selection"],M=["selection"],U=["selection","param","test"],W=["selection","param","test"],q=["selection"],B=["signals","hasLegend","index"],G=["unit","utc"],H=["timeUnit"],V=["fill","fillOpacity","cursor"],X=["disable","orient","scale","labelExpr","title","zindex"],Y=["condition"],$=["test"],J=["test"],Q=["disable","labelExpr","selections"],K=["extent"],Z=["sort"],ee=["name","type","selectionExtent","domains","range","reverse"],ne=["style"],te=["spacing"],re=["encoding"],ie=["density"],ae=["loess","on"],oe=["quantile"],ce=["regression","on"],le=["params"];function ue(e,n,t,r,i,a,o){try{var c=e[a](o),l=c.value}catch(u){return void t(u)}c.done?n(l):Promise.resolve(l).then(r,i)}function se(e){return function(){var n=this,t=arguments;return new Promise((function(r,i){var a=e.apply(n,t);function o(e){ue(a,r,i,o,c,"next",e)}function c(e){ue(a,r,i,o,c,"throw",e)}o(void 0)}))}}function fe(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */fe=function(){return e};var e={},n=Object.prototype,t=n.hasOwnProperty,r=Object.defineProperty||function(e,n,t){e[n]=t.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(e,n,t){return Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}),e[n]}try{l({},"")}catch(N){l=function(e,n,t){return e[n]=t}}function u(e,n,t,i){var a=n&&n.prototype instanceof d?n:d,o=Object.create(a.prototype),c=new O(i||[]);return r(o,"_invoke",{value:k(e,t,c)}),o}function s(e,n,t){try{return{type:"normal",arg:e.call(n,t)}}catch(N){return{type:"throw",arg:N}}}e.wrap=u;var f={};function d(){}function v(){}function p(){}var h={};l(h,a,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(D([])));g&&g!==n&&t.call(g,a)&&(h=g);var y=p.prototype=d.prototype=Object.create(h);function b(e){["next","throw","return"].forEach((function(n){l(e,n,(function(e){return this._invoke(n,e)}))}))}function x(e,n){function i(r,a,o,c){var l=s(e[r],e,a);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==Ie(f)&&t.call(f,"__await")?n.resolve(f.__await).then((function(e){i("next",e,o,c)}),(function(e){i("throw",e,o,c)})):n.resolve(f).then((function(e){u.value=e,o(u)}),(function(e){return i("throw",e,o,c)}))}c(l.arg)}var a;r(this,"_invoke",{value:function(e,t){function r(){return new n((function(n,r){i(e,t,n,r)}))}return a=a?a.then(r,r):r()}})}function k(e,n,t){var r="suspendedStart";return function(i,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw a;return F()}for(t.method=i,t.arg=a;;){var o=t.delegate;if(o){var c=w(o,t);if(c){if(c===f)continue;return c}}if("next"===t.method)t.sent=t._sent=t.arg;else if("throw"===t.method){if("suspendedStart"===r)throw r="completed",t.arg;t.dispatchException(t.arg)}else"return"===t.method&&t.abrupt("return",t.arg);r="executing";var l=s(e,n,t);if("normal"===l.type){if(r=t.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:t.done}}"throw"===l.type&&(r="completed",t.method="throw",t.arg=l.arg)}}}function w(e,n){var t=n.method,r=e.iterator[t];if(void 0===r)return n.delegate=null,"throw"===t&&e.iterator.return&&(n.method="return",n.arg=void 0,w(e,n),"throw"===n.method)||"return"!==t&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+t+"' method")),f;var i=s(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,f;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,f):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,f)}function S(e){var n={tryLoc:e[0]};1 in e&&(n.catchLoc=e[1]),2 in e&&(n.finallyLoc=e[2],n.afterLoc=e[3]),this.tryEntries.push(n)}function E(e){var n=e.completion||{};n.type="normal",delete n.arg,e.completion=n}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function D(e){if(e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function n(){for(;++r<e.length;)if(t.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=void 0,n.done=!0,n};return i.next=i}}return{next:F}}function F(){return{value:void 0,done:!0}}return v.prototype=p,r(y,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:v,configurable:!0}),v.displayName=l(p,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var n="function"==typeof e&&e.constructor;return!!n&&(n===v||"GeneratorFunction"===(n.displayName||n.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,l(e,c,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},b(x.prototype),l(x.prototype,o,(function(){return this})),e.AsyncIterator=x,e.async=function(n,t,r,i,a){void 0===a&&(a=Promise);var o=new x(u(n,t,r,i),a);return e.isGeneratorFunction(t)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},b(y),l(y,c,"Generator"),l(y,a,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var n=Object(e),t=[];for(var r in n)t.push(r);return t.reverse(),function e(){for(;t.length;){var r=t.pop();if(r in n)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=D,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var n in this)"t"===n.charAt(0)&&t.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(t,r){return o.type="throw",o.arg=e,n.next=t,r&&(n.method="next",n.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=t.call(a,"catchLoc"),l=t.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,n){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&t.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=n&&n<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=n,a?(this.method="next",this.next=a.finallyLoc,f):this.complete(o)},complete:function(e,n){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&n&&(this.next=n),f},finish:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),E(t),f}},catch:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.tryLoc===e){var r=t.completion;if("throw"===r.type){var i=r.arg;E(t)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,t){return this.delegate={iterator:D(e),resultName:n,nextLoc:t},"next"===this.method&&(this.arg=void 0),f}},e}function de(){return de="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,n,t){var r=ve(e,n);if(r){var i=Object.getOwnPropertyDescriptor(r,n);return i.get?i.get.call(arguments.length<3?e:t):i.value}},de.apply(this,arguments)}function ve(e,n){for(;!Object.prototype.hasOwnProperty.call(e,n)&&null!==(e=ye(e)););return e}function pe(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Ee(e,n)}function he(e){var n=Se();return function(){var t,r=ye(e);if(n){var i=ye(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return me(this,t)}}function me(e,n){if(n&&("object"===Ie(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return ge(e)}function ge(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ye(e){return ye=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ye(e)}function be(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function xe(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,je(r.key),r)}}function ke(e,n,t){return n&&xe(e.prototype,n),t&&xe(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function we(e,n,t){return we=Se()?Reflect.construct.bind():function(e,n,t){var r=[null];r.push.apply(r,n);var i=new(Function.bind.apply(e,r));return t&&Ee(i,t.prototype),i},we.apply(null,arguments)}function Se(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function Ee(e,n){return Ee=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},Ee(e,n)}function Oe(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function De(e,n){return Ne(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,i,a,o,c=[],l=!0,u=!1;try{if(a=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;l=!1}else for(;!(l=(r=a.call(t)).done)&&(c.push(r.value),c.length!==n);l=!0);}catch(s){u=!0,i=s}finally{try{if(!l&&null!=t.return&&(o=t.return(),Object(o)!==o))return}finally{if(u)throw i}}return c}}(e,n)||Le(e,n)||Fe()}function Fe(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ne(e){if(Array.isArray(e))return e}function _e(e){return function(e){if(Array.isArray(e))return Re(e)}(e)||Ae(e)||Le(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ae(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Te(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Ce(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Te(Object(t),!0).forEach((function(n){Pe(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Te(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function Pe(e,n,t){return(n=je(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function je(e){var n=function(e,n){if("object"!==Ie(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!==Ie(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"===Ie(n)?n:String(n)}function ze(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=Le(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==t.return||t.return()}finally{if(c)throw a}}}}function Le(e,n){if(e){if("string"==typeof e)return Re(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Re(e,n):void 0}}function Re(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function Ie(e){return Ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ie(e)}System.register(["./index-legacy-074c945a.js","./vega.module-legacy-49dfb982.js","./timer-legacy-42b42209.js"],(function(ue,ve){"use strict";var me,xe,Se,Ee,Te,Re,Me,Ue,We,qe,Be,Ge,He,Ve,Xe,Ye,$e,Je,Qe;return{setters:[function(e){me=e.g},function(e){xe=e.h,Se=e.i,Ee=e.a,Te=e.w,Re=e.s,Me=e.$,Ue=e.b,We=e.c,qe=e.d,Be=e.e,Ge=e.l,He=e.W,Ve=e.f,Xe=e.m,Ye=e.g,$e=e.j,Je=e.p,Qe=e.v},null],execute:function(){var ve;ue({default:function(e,n){return vx.apply(this,arguments)},guessMode:sx});
2
- /*!
3
- * https://github.com/Starcounter-Jack/JSON-Patch
4
- * (c) 2017-2022 Joachim Wester
5
- * MIT licensed
6
- */
7
- var Ke,Ze=globalThis&&globalThis.__extends||(Ke=function(e,n){return Ke=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])},Ke(e,n)},function(e,n){function t(){this.constructor=e}Ke(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),en=Object.prototype.hasOwnProperty;function nn(e,n){return en.call(e,n)}function tn(e){if(Array.isArray(e)){for(var n=new Array(e.length),t=0;t<n.length;t++)n[t]=""+t;return n}if(Object.keys)return Object.keys(e);var r=[];for(var i in e)nn(e,i)&&r.push(i);return r}function rn(e){switch(Ie(e)){case"object":return JSON.parse(JSON.stringify(e));case"undefined":return null;default:return e}}function an(e){for(var n,t=0,r=e.length;t<r;){if(!((n=e.charCodeAt(t))>=48&&n<=57))return!1;t++}return!0}function on(e){return-1===e.indexOf("/")&&-1===e.indexOf("~")?e:e.replace(/~/g,"~0").replace(/\//g,"~1")}function cn(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function ln(e){if(void 0===e)return!0;if(e)if(Array.isArray(e)){for(var n=0,t=e.length;n<t;n++)if(ln(e[n]))return!0}else if("object"===Ie(e))for(var r=tn(e),i=r.length,a=0;a<i;a++)if(ln(e[r[a]]))return!0;return!1}function un(e,n){var t=[e];for(var r in n){var i="object"===Ie(n[r])?JSON.stringify(n[r],null,2):n[r];void 0!==i&&t.push(r+": "+i)}return t.join("\n")}var sn=function(e){function n(n,t,r,i,a){var o=this.constructor,c=e.call(this,un(n,{name:t,index:r,operation:i,tree:a}))||this;return c.name=t,c.index=r,c.operation=i,c.tree=a,Object.setPrototypeOf(c,o.prototype),c.message=un(n,{name:t,index:r,operation:i,tree:a}),c}return Ze(n,e),n}(Error),fn=sn,dn=rn,vn={add:function(e,n,t){return e[n]=this.value,{newDocument:t}},remove:function(e,n,t){var r=e[n];return delete e[n],{newDocument:t,removed:r}},replace:function(e,n,t){var r=e[n];return e[n]=this.value,{newDocument:t,removed:r}},move:function(e,n,t){var r=hn(t,this.path);r&&(r=rn(r));var i=mn(t,{op:"remove",path:this.from}).removed;return mn(t,{op:"add",path:this.path,value:i}),{newDocument:t,removed:r}},copy:function(e,n,t){var r=hn(t,this.from);return mn(t,{op:"add",path:this.path,value:rn(r)}),{newDocument:t}},test:function(e,n,t){return{newDocument:t,test:xn(e[n],this.value)}},_get:function(e,n,t){return this.value=e[n],{newDocument:t}}},pn={add:function(e,n,t){return an(n)?e.splice(n,0,this.value):e[n]=this.value,{newDocument:t,index:n}},remove:function(e,n,t){return{newDocument:t,removed:e.splice(n,1)[0]}},replace:function(e,n,t){var r=e[n];return e[n]=this.value,{newDocument:t,removed:r}},move:vn.move,copy:vn.copy,test:vn.test,_get:vn._get};function hn(e,n){if(""==n)return e;var t={op:"_get",path:n};return mn(e,t),t.value}function mn(e,n,t,r,i,a){if(void 0===t&&(t=!1),void 0===r&&(r=!0),void 0===i&&(i=!0),void 0===a&&(a=0),t&&("function"==typeof t?t(n,0,e,n.path):yn(n,0)),""===n.path){var o={newDocument:e};if("add"===n.op)return o.newDocument=n.value,o;if("replace"===n.op)return o.newDocument=n.value,o.removed=e,o;if("move"===n.op||"copy"===n.op)return o.newDocument=hn(e,n.from),"move"===n.op&&(o.removed=e),o;if("test"===n.op){if(o.test=xn(e,n.value),!1===o.test)throw new fn("Test operation failed","TEST_OPERATION_FAILED",a,n,e);return o.newDocument=e,o}if("remove"===n.op)return o.removed=e,o.newDocument=null,o;if("_get"===n.op)return n.value=e,o;if(t)throw new fn("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",a,n,e);return o}r||(e=rn(e));var c=(n.path||"").split("/"),l=e,u=1,s=c.length,f=void 0,d=void 0,v=void 0;for(v="function"==typeof t?t:yn;;){if((d=c[u])&&-1!=d.indexOf("~")&&(d=cn(d)),i&&("__proto__"==d||"prototype"==d&&u>0&&"constructor"==c[u-1]))throw new TypeError("JSON-Patch: modifying `__proto__` or `constructor/prototype` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README");if(t&&void 0===f&&(void 0===l[d]?f=c.slice(0,u).join("/"):u==s-1&&(f=n.path),void 0!==f&&v(n,0,e,f)),u++,Array.isArray(l)){if("-"===d)d=l.length;else{if(t&&!an(d))throw new fn("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",a,n,e);an(d)&&(d=~~d)}if(u>=s){if(t&&"add"===n.op&&d>l.length)throw new fn("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",a,n,e);if(!1===(o=pn[n.op].call(n,l,d,e)).test)throw new fn("Test operation failed","TEST_OPERATION_FAILED",a,n,e);return o}}else if(u>=s){if(!1===(o=vn[n.op].call(n,l,d,e)).test)throw new fn("Test operation failed","TEST_OPERATION_FAILED",a,n,e);return o}if(l=l[d],t&&u<s&&(!l||"object"!==Ie(l)))throw new fn("Cannot perform operation at the desired path","OPERATION_PATH_UNRESOLVABLE",a,n,e)}}function gn(e,n,t,r,i){if(void 0===r&&(r=!0),void 0===i&&(i=!0),t&&!Array.isArray(n))throw new fn("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");r||(e=rn(e));for(var a=new Array(n.length),o=0,c=n.length;o<c;o++)a[o]=mn(e,n[o],t,!0,i,o),e=a[o].newDocument;return a.newDocument=e,a}function yn(e,n,t,r){if("object"!==Ie(e)||null===e||Array.isArray(e))throw new fn("Operation is not an object","OPERATION_NOT_AN_OBJECT",n,e,t);if(!vn[e.op])throw new fn("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",n,e,t);if("string"!=typeof e.path)throw new fn("Operation `path` property is not a string","OPERATION_PATH_INVALID",n,e,t);if(0!==e.path.indexOf("/")&&e.path.length>0)throw new fn('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",n,e,t);if(("move"===e.op||"copy"===e.op)&&"string"!=typeof e.from)throw new fn("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",n,e,t);if(("add"===e.op||"replace"===e.op||"test"===e.op)&&void 0===e.value)throw new fn("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",n,e,t);if(("add"===e.op||"replace"===e.op||"test"===e.op)&&ln(e.value))throw new fn("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",n,e,t);if(t)if("add"==e.op){var i=e.path.split("/").length,a=r.split("/").length;if(i!==a+1&&i!==a)throw new fn("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",n,e,t)}else if("replace"===e.op||"remove"===e.op||"_get"===e.op){if(e.path!==r)throw new fn("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",n,e,t)}else if("move"===e.op||"copy"===e.op){var o=bn([{op:"_get",path:e.from,value:void 0}],t);if(o&&"OPERATION_PATH_UNRESOLVABLE"===o.name)throw new fn("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",n,e,t)}}function bn(e,n,t){try{if(!Array.isArray(e))throw new fn("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(n)gn(rn(n),rn(e),t||!0);else{t=t||yn;for(var r=0;r<e.length;r++)t(e[r],r,n,void 0)}}catch(sg){if(sg instanceof fn)return sg;throw sg}}function xn(e,n){if(e===n)return!0;if(e&&n&&"object"==Ie(e)&&"object"==Ie(n)){var t,r,i,a=Array.isArray(e),o=Array.isArray(n);if(a&&o){if((r=e.length)!=n.length)return!1;for(t=r;0!=t--;)if(!xn(e[t],n[t]))return!1;return!0}if(a!=o)return!1;var c=Object.keys(e);if((r=c.length)!==Object.keys(n).length)return!1;for(t=r;0!=t--;)if(!n.hasOwnProperty(c[t]))return!1;for(t=r;0!=t--;)if(!xn(e[i=c[t]],n[i]))return!1;return!0}return e!=e&&n!=n}var kn=Object.freeze(Object.defineProperty({__proto__:null,JsonPatchError:fn,_areEquals:xn,applyOperation:mn,applyPatch:gn,applyReducer:function(e,n,t){var r=mn(e,n);if(!1===r.test)throw new fn("Test operation failed","TEST_OPERATION_FAILED",t,n,e);return r.newDocument},deepClone:dn,getValueByPointer:hn,validate:bn,validator:yn},Symbol.toStringTag,{value:"Module"})),wn=new WeakMap,Sn=function(e){this.observers=new Map,this.obj=e},En=function(e,n){this.callback=e,this.observer=n};
8
- /*!
9
- * https://github.com/Starcounter-Jack/JSON-Patch
10
- * (c) 2017-2021 Joachim Wester
11
- * MIT license
12
- */function On(e,n){void 0===n&&(n=!1);var t=wn.get(e.object);Dn(t.value,e.object,e.patches,"",n),e.patches.length&&gn(t.value,e.patches);var r=e.patches;return r.length>0&&(e.patches=[],e.callback&&e.callback(r)),r}function Dn(e,n,t,r,i){if(n!==e){"function"==typeof n.toJSON&&(n=n.toJSON());for(var a=tn(n),o=tn(e),c=!1,l=o.length-1;l>=0;l--){var u=e[f=o[l]];if(!nn(n,f)||void 0===n[f]&&void 0!==u&&!1===Array.isArray(n))Array.isArray(e)===Array.isArray(n)?(i&&t.push({op:"test",path:r+"/"+on(f),value:rn(u)}),t.push({op:"remove",path:r+"/"+on(f)}),c=!0):(i&&t.push({op:"test",path:r,value:e}),t.push({op:"replace",path:r,value:n}));else{var s=n[f];"object"==Ie(u)&&null!=u&&"object"==Ie(s)&&null!=s&&Array.isArray(u)===Array.isArray(s)?Dn(u,s,t,r+"/"+on(f),i):u!==s&&(i&&t.push({op:"test",path:r+"/"+on(f),value:rn(u)}),t.push({op:"replace",path:r+"/"+on(f),value:rn(s)}))}}if(c||a.length!=o.length)for(l=0;l<a.length;l++){var f;nn(e,f=a[l])||void 0===n[f]||t.push({op:"add",path:r+"/"+on(f),value:rn(n[f])})}}}var Fn=Object.freeze(Object.defineProperty({__proto__:null,compare:function(e,n,t){void 0===t&&(t=!1);var r=[];return Dn(e,n,r,"",t),r},generate:On,observe:function(e,n){var t,r=function(e){return wn.get(e)}(e);if(r){var i=function(e,n){return e.observers.get(n)}(r,n);t=i&&i.observer}else r=new Sn(e),wn.set(e,r);if(t)return t;if(t={},r.value=rn(e),n){t.callback=n,t.next=null;var a=function(){On(t)},o=function(){clearTimeout(t.next),t.next=setTimeout(a)};"undefined"!=typeof window&&(window.addEventListener("mouseup",o),window.addEventListener("keyup",o),window.addEventListener("mousedown",o),window.addEventListener("keydown",o),window.addEventListener("change",o))}return t.patches=[],t.object=e,t.unobserve=function(){On(t),clearTimeout(t.next),function(e,n){e.observers.delete(n.callback)}(r,t),"undefined"!=typeof window&&(window.removeEventListener("mouseup",o),window.removeEventListener("keyup",o),window.removeEventListener("mousedown",o),window.removeEventListener("keydown",o),window.removeEventListener("change",o))},r.observers.set(n,new En(n,t)),t},unobserve:function(e,n){n.unobserve()}},Symbol.toStringTag,{value:"Module"}));Object.assign({},kn,Fn,{JsonPatchError:sn,deepClone:rn,escapePathComponent:on,unescapePathComponent:cn});var Nn=/("(?:[^\\"]|\\.)*")|[:,]/g,_n=function(e,n){var t,r,i;return n=n||{},t=JSON.stringify([1],void 0,void 0===n.indent?2:n.indent).slice(2,-3),r=""===t?1/0:void 0===n.maxLength?80:n.maxLength,i=n.replacer,function e(n,a,o){var c,l,u,s,f,d,v,p,h,m,g,y;if(n&&"function"==typeof n.toJSON&&(n=n.toJSON()),void 0===(g=JSON.stringify(n,i)))return g;if(v=r-a.length-o,g.length<=v&&(h=g.replace(Nn,(function(e,n){return n||e+" "}))).length<=v)return h;if(null!=i&&(n=JSON.parse(g),i=void 0),"object"===Ie(n)&&null!==n){if(p=a+t,u=[],l=0,Array.isArray(n))for(m="[",c="]",v=n.length;l<v;l++)u.push(e(n[l],p,l===v-1?0:1)||"null");else for(m="{",c="}",v=(d=Object.keys(n)).length;l<v;l++)s=d[l],f=JSON.stringify(s)+": ",void 0!==(y=e(n[s],p,f.length+(l===v-1?0:1)))&&u.push(f+y);if(u.length>0)return[m,t+u.join(",\n"+p),c].join("\n"+a)}return g}(e,"",0)},An=me(_n);var Tn={NaN:NaN,E:Math.E,LN2:Math.LN2,LN10:Math.LN10,LOG2E:Math.LOG2E,LOG10E:Math.LOG10E,PI:Math.PI,SQRT1_2:Math.SQRT1_2,SQRT2:Math.SQRT2,MIN_VALUE:Number.MIN_VALUE,MAX_VALUE:Number.MAX_VALUE},Cn={"*":function(e,n){return e*n},"+":function(e,n){return e+n},"-":function(e,n){return e-n},"/":function(e,n){return e/n},"%":function(e,n){return e%n},">":function(e,n){return e>n},"<":function(e,n){return e<n},"<=":function(e,n){return e<=n},">=":function(e,n){return e>=n},"==":function(e,n){return e==n},"!=":function(e,n){return e!=n},"===":function(e,n){return e===n},"!==":function(e,n){return e!==n},"&":function(e,n){return e&n},"|":function(e,n){return e|n},"^":function(e,n){return e^n},"<<":function(e,n){return e<<n},">>":function(e,n){return e>>n},">>>":function(e,n){return e>>>n}},Pn={"+":function(e){return+e},"-":function(e){return-e},"~":function(e){return~e},"!":function(e){return!e}},jn=Array.prototype.slice,zn=function(e,n,t){var r=t?t(n[0]):n[0];return r[e].apply(r,jn.call(n,1))},Ln={isNaN:Number.isNaN,isFinite:Number.isFinite,abs:Math.abs,acos:Math.acos,asin:Math.asin,atan:Math.atan,atan2:Math.atan2,ceil:Math.ceil,cos:Math.cos,exp:Math.exp,floor:Math.floor,log:Math.log,max:Math.max,min:Math.min,pow:Math.pow,random:Math.random,round:Math.round,sin:Math.sin,sqrt:Math.sqrt,tan:Math.tan,clamp:function(e,n,t){return Math.max(n,Math.min(t,e))},now:Date.now,utc:Date.UTC,datetime:function(e,n,t,r,i,a,o){return new Date(e,n||0,null!=t?t:1,r||0,i||0,a||0,o||0)},date:function(e){return new Date(e).getDate()},day:function(e){return new Date(e).getDay()},year:function(e){return new Date(e).getFullYear()},month:function(e){return new Date(e).getMonth()},hours:function(e){return new Date(e).getHours()},minutes:function(e){return new Date(e).getMinutes()},seconds:function(e){return new Date(e).getSeconds()},milliseconds:function(e){return new Date(e).getMilliseconds()},time:function(e){return new Date(e).getTime()},timezoneoffset:function(e){return new Date(e).getTimezoneOffset()},utcdate:function(e){return new Date(e).getUTCDate()},utcday:function(e){return new Date(e).getUTCDay()},utcyear:function(e){return new Date(e).getUTCFullYear()},utcmonth:function(e){return new Date(e).getUTCMonth()},utchours:function(e){return new Date(e).getUTCHours()},utcminutes:function(e){return new Date(e).getUTCMinutes()},utcseconds:function(e){return new Date(e).getUTCSeconds()},utcmilliseconds:function(e){return new Date(e).getUTCMilliseconds()},length:function(e){return e.length},join:function(){return zn("join",arguments)},indexof:function(){return zn("indexOf",arguments)},lastindexof:function(){return zn("lastIndexOf",arguments)},slice:function(){return zn("slice",arguments)},reverse:function(e){return e.slice().reverse()},parseFloat:parseFloat,parseInt:parseInt,upper:function(e){return String(e).toUpperCase()},lower:function(e){return String(e).toLowerCase()},substring:function(){return zn("substring",arguments,String)},split:function(){return zn("split",arguments,String)},replace:function(){return zn("replace",arguments,String)},trim:function(e){return String(e).trim()},regexp:RegExp,test:function(e,n){return RegExp(e).test(n)}},Rn=["view","item","group","xy","x","y"],In=new Set([Function,eval,setTimeout,setInterval]);"function"==typeof setImmediate&&In.add(setImmediate);var Mn={Literal:function(e,n){return n.value},Identifier:function(e,n){var t=n.name;return e.memberDepth>0?t:"datum"===t?e.datum:"event"===t?e.event:"item"===t?e.item:Tn[t]||e.params["$"+t]},MemberExpression:function(e,n){var t=!n.computed,r=e(n.object);t&&(e.memberDepth+=1);var i=e(n.property);if(t&&(e.memberDepth-=1),!In.has(r[i]))return r[i];console.error('Prevented interpretation of member "'.concat(i,'" which could lead to insecure code execution'))},CallExpression:function(e,n){var t=n.arguments,r=n.callee.name;return r.startsWith("_")&&(r=r.slice(1)),"if"===r?e(t[0])?e(t[1]):e(t[2]):(e.fn[r]||Ln[r]).apply(e.fn,t.map(e))},ArrayExpression:function(e,n){return n.elements.map(e)},BinaryExpression:function(e,n){return Cn[n.operator](e(n.left),e(n.right))},UnaryExpression:function(e,n){return Pn[n.operator](e(n.argument))},ConditionalExpression:function(e,n){return e(n.test)?e(n.consequent):e(n.alternate)},LogicalExpression:function(e,n){return"&&"===n.operator?e(n.left)&&e(n.right):e(n.left)||e(n.right)},ObjectExpression:function(e,n){return n.properties.reduce((function(n,t){e.memberDepth+=1;var r=e(t.key);return e.memberDepth-=1,In.has(e(t.value))?console.error('Prevented interpretation of property "'.concat(r,'" which could lead to insecure code execution')):n[r]=e(t.value),n}),{})}};function Un(e,n,t,r,i,a){var o=function e(n){return Mn[n.type](e,n)};return o.memberDepth=0,o.fn=Object.create(n),o.params=t,o.datum=r,o.event=i,o.item=a,Rn.forEach((function(e){return o.fn[e]=function(){var n;return(n=i.vega)[e].apply(n,arguments)}})),o(e)}var Wn={operator:function(e,n){var t=n.ast,r=e.functions;return function(e){return Un(t,r,e)}},parameter:function(e,n){var t=n.ast,r=e.functions;return function(e,n){return Un(t,r,n,e)}},event:function(e,n){var t=n.ast,r=e.functions;return function(e){return Un(t,r,void 0,void 0,e)}},handler:function(e,n){var t=n.ast,r=e.functions;return function(e,n){var i=n.item&&n.item.datum;return Un(t,r,e,i,n)}},encode:function(e,n){var t=n.marktype,r=n.channels,i=e.functions,a="group"===t||"image"===t||"rect"===t;return function(e,n){var o,c=e.datum,l=0;for(var u in r)o=Un(r[u].ast,i,n,c,void 0,e),e[u]!==o&&(e[u]=o,l=1);return"rule"!==t&&function(e,n,t){var r;n.x2&&(n.x?(t&&e.x>e.x2&&(r=e.x,e.x=e.x2,e.x2=r),e.width=e.x2-e.x):e.x=e.x2-(e.width||0)),n.xc&&(e.x=e.xc-(e.width||0)/2),n.y2&&(n.y?(t&&e.y>e.y2&&(r=e.y,e.y=e.y2,e.y2=r),e.height=e.y2-e.y):e.y=e.y2-(e.height||0)),n.yc&&(e.y=e.yc-(e.height||0)/2)}(e,r,a),l}}},qn="5.14.1",Bn={exports:{}};!function(e){var n=function(){function e(e,n){return null!=n&&e instanceof n}var n,t,r;try{n=Map}catch(c){n=function(){}}try{t=Set}catch(c){t=function(){}}try{r=Promise}catch(c){r=function(){}}function i(a,c,l,u,s){"object"===Ie(c)&&(l=c.depth,u=c.prototype,s=c.includeNonEnumerable,c=c.circular);var f=[],d=[],v="undefined"!=typeof Buffer;return void 0===c&&(c=!0),void 0===l&&(l=1/0),function a(l,p){if(null===l)return null;if(0===p)return l;var h,m;if("object"!=Ie(l))return l;if(e(l,n))h=new n;else if(e(l,t))h=new t;else if(e(l,r))h=new r((function(e,n){l.then((function(n){e(a(n,p-1))}),(function(e){n(a(e,p-1))}))}));else if(i.__isArray(l))h=[];else if(i.__isRegExp(l))h=new RegExp(l.source,o(l)),l.lastIndex&&(h.lastIndex=l.lastIndex);else if(i.__isDate(l))h=new Date(l.getTime());else{if(v&&Buffer.isBuffer(l))return h=Buffer.allocUnsafe?Buffer.allocUnsafe(l.length):new Buffer(l.length),l.copy(h),h;e(l,Error)?h=Object.create(l):void 0===u?(m=Object.getPrototypeOf(l),h=Object.create(m)):(h=Object.create(u),m=u)}if(c){var g=f.indexOf(l);if(-1!=g)return d[g];f.push(l),d.push(h)}for(var y in e(l,n)&&l.forEach((function(e,n){var t=a(n,p-1),r=a(e,p-1);h.set(t,r)})),e(l,t)&&l.forEach((function(e){var n=a(e,p-1);h.add(n)})),l){var b;m&&(b=Object.getOwnPropertyDescriptor(m,y)),b&&null==b.set||(h[y]=a(l[y],p-1))}if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(l);for(y=0;y<x.length;y++){var k=x[y];(!(S=Object.getOwnPropertyDescriptor(l,k))||S.enumerable||s)&&(h[k]=a(l[k],p-1),S.enumerable||Object.defineProperty(h,k,{enumerable:!1}))}}if(s){var w=Object.getOwnPropertyNames(l);for(y=0;y<w.length;y++){var S,E=w[y];(S=Object.getOwnPropertyDescriptor(l,E))&&S.enumerable||(h[E]=a(l[E],p-1),Object.defineProperty(h,E,{enumerable:!1}))}}return h}(a,l)}function a(e){return Object.prototype.toString.call(e)}function o(e){var n="";return e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),n}return i.clonePrototype=function(e){if(null===e)return null;var n=function(){};return n.prototype=e,new n},i.__objToStr=a,i.__isDate=function(e){return"object"===Ie(e)&&"[object Date]"===a(e)},i.__isArray=function(e){return"object"===Ie(e)&&"[object Array]"===a(e)},i.__isRegExp=function(e){return"object"===Ie(e)&&"[object RegExp]"===a(e)},i.__getRegExpFlags=o,i}();e.exports&&(e.exports=n)}(Bn);var Gn=me(Bn.exports),Hn=function e(n,t){if(n===t)return!0;if(n&&t&&"object"==Ie(n)&&"object"==Ie(t)){if(n.constructor!==t.constructor)return!1;var r,i,a;if(Array.isArray(n)){if((r=n.length)!=t.length)return!1;for(i=r;0!=i--;)if(!e(n[i],t[i]))return!1;return!0}if(n.constructor===RegExp)return n.source===t.source&&n.flags===t.flags;if(n.valueOf!==Object.prototype.valueOf)return n.valueOf()===t.valueOf();if(n.toString!==Object.prototype.toString)return n.toString()===t.toString();if((r=(a=Object.keys(n)).length)!==Object.keys(t).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(t,a[i]))return!1;for(i=r;0!=i--;){var o=a[i];if(!e(n[o],t[o]))return!1}return!0}return n!=n&&t!=t},Vn=me(Hn),Xn=function(e,n){n||(n={}),"function"==typeof n&&(n={cmp:n});var t,r="boolean"==typeof n.cycles&&n.cycles,i=n.cmp&&(t=n.cmp,function(e){return function(n,r){var i={key:n,value:e[n]},a={key:r,value:e[r]};return t(i,a)}}),a=[];return function e(n){if(n&&n.toJSON&&"function"==typeof n.toJSON&&(n=n.toJSON()),void 0!==n){if("number"==typeof n)return isFinite(n)?""+n:"null";if("object"!==Ie(n))return JSON.stringify(n);var t,o;if(Array.isArray(n)){for(o="[",t=0;t<n.length;t++)t&&(o+=","),o+=e(n[t])||"null";return o+"]"}if(null===n)return"null";if(-1!==a.indexOf(n)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var c=a.push(n)-1,l=Object.keys(n).sort(i&&i(n));for(o="",t=0;t<l.length;t++){var u=l[t],s=e(n[u]);s&&(o&&(o+=","),o+=JSON.stringify(u)+":"+s)}return a.splice(c,1),"{"+o+"}"}}(e)},Yn=me(Xn);function $n(e){return!!e.or}function Jn(e){return!!e.and}function Qn(e){return!!e.not}function Kn(e,n){if(Qn(e))Kn(e.not,n);else if(Jn(e)){var t,r=ze(e.and);try{for(r.s();!(t=r.n()).done;){Kn(t.value,n)}}catch(o){r.e(o)}finally{r.f()}}else if($n(e)){var i,a=ze(e.or);try{for(a.s();!(i=a.n()).done;){Kn(i.value,n)}}catch(o){a.e(o)}finally{a.f()}}else n(e)}function Zn(e,n){return Qn(e)?{not:Zn(e.not,n)}:Jn(e)?{and:e.and.map((function(e){return Zn(e,n)}))}:$n(e)?{or:e.or.map((function(e){return Zn(e,n)}))}:n(e)}var et=Vn,nt=Gn;function tt(e){throw new Error(e)}function rt(e,n){var t,r={},i=ze(n);try{for(i.s();!(t=i.n()).done;){var a=t.value;xe(e,a)&&(r[a]=e[a])}}catch(o){i.e(o)}finally{i.f()}return r}function it(e,n){var t,r=Ce({},e),i=ze(n);try{for(i.s();!(t=i.n()).done;){delete r[t.value]}}catch(a){i.e(a)}finally{i.f()}return r}Set.prototype.toJSON=function(){return"Set(".concat(_e(this).map((function(e){return Yn(e)})).join(","),")")};var at=Yn;function ot(e){if(Se(e))return e;var n=Ee(e)?e:Yn(e);if(n.length<250)return n;for(var t=0,r=0;r<n.length;r++){t=(t<<5)-t+n.charCodeAt(r),t&=t}return t}function ct(e){return!1===e||null===e}function lt(e,n){return e.includes(n)}function ut(e,n){var t,r=0,i=ze(e.entries());try{for(i.s();!(t=i.n()).done;){var a=De(t.value,2),o=a[0];if(n(a[1],o,r++))return!0}}catch(c){i.e(c)}finally{i.f()}return!1}function st(e,n){var t,r=0,i=ze(e.entries());try{for(i.s();!(t=i.n()).done;){var a=De(t.value,2),o=a[0];if(!n(a[1],o,r++))return!1}}catch(c){i.e(c)}finally{i.f()}return!0}function ft(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];for(var i=0,a=t;i<a.length;i++){var o=a[i];dt(e,null!=o?o:{})}return e}function dt(e,n){var t,r=ze(bt(n));try{for(r.s();!(t=r.n()).done;){var i=t.value;Te(e,i,n[i],!0)}}catch(a){r.e(a)}finally{r.f()}}function vt(e,n){var t,r,i=[],a={},o=ze(e);try{for(o.s();!(r=o.n()).done;){var c=r.value;(t=n(c))in a||(a[t]=1,i.push(c))}}catch(l){o.e(l)}finally{o.f()}return i}function pt(e,n){if(e.size!==n.size)return!1;var t,r=ze(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;if(!n.has(i))return!1}}catch(a){r.e(a)}finally{r.f()}return!0}function ht(e,n){var t,r=ze(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;if(n.has(i))return!0}}catch(a){r.e(a)}finally{r.f()}return!1}function mt(e){var n,t=new Set,r=ze(e);try{var i=function(){var e,r=n.value,i=Re(r).map((function(e,n){return 0===n?e:"[".concat(e,"]")})),a=ze(i.map((function(e,n){return i.slice(0,n+1).join("")})));try{for(a.s();!(e=a.n()).done;){var o=e.value;t.add(o)}}catch(c){a.e(c)}finally{a.f()}};for(r.s();!(n=r.n()).done;)i()}catch(a){r.e(a)}finally{r.f()}return t}function gt(e,n){return void 0===e||void 0===n||ht(mt(e),mt(n))}function yt(e){return 0===bt(e).length}var bt=Object.keys,xt=Object.values,kt=Object.entries;function wt(e){return!0===e||!1===e}function St(e){var n=e.replace(/\W/g,"_");return(e.match(/^\d+/)?"_":"")+n}function Et(e,n){return Qn(e)?"!(".concat(Et(e.not,n),")"):Jn(e)?"(".concat(e.and.map((function(e){return Et(e,n)})).join(") && ("),")"):$n(e)?"(".concat(e.or.map((function(e){return Et(e,n)})).join(") || ("),")"):n(e)}function Ot(e,n){if(0===n.length)return!0;var t=n.shift();return t in e&&Ot(e[t],n)&&delete e[t],yt(e)}function Dt(e){return e.charAt(0).toUpperCase()+e.substr(1)}function Ft(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"datum",t=Re(e),r=[],i=1;i<=t.length;i++){var a="[".concat(t.slice(0,i).map(Me).join("]["),"]");r.push("".concat(n).concat(a))}return r.join(" && ")}function Nt(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"datum";return"".concat(n,"[").concat(Me(Re(e).join(".")),"]")}function _t(e){return e.replace(/(\[|\]|\.|'|")/g,"\\$1")}function At(e){return"".concat(Re(e).map(_t).join("\\."))}function Tt(e,n,t){return e.replace(new RegExp(n.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"g"),t)}function Ct(e){return"".concat(Re(e).join("."))}function Pt(e){return e?Re(e).length:0}function jt(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];for(var r=0,i=n;r<i.length;r++){var a=i[r];if(void 0!==a)return a}}var zt=42;function Lt(e){var n=++zt;return e?String(e)+n:n}function Rt(e){return It(e)?e:"__".concat(e)}function It(e){return e.startsWith("__")}function Mt(e){if(void 0!==e)return(e%360+360)%360}function Ut(e){return!!Se(e)||!isNaN(e)&&!isNaN(parseFloat(e))}var Wt="row",qt="column",Bt="facet",Gt="x",Ht="y",Vt="x2",Xt="y2",Yt="xOffset",$t="yOffset",Jt="radius",Qt="radius2",Kt="theta",Zt="theta2",er="latitude",nr="longitude",tr="latitude2",rr="longitude2",ir="color",ar="fill",or="stroke",cr="shape",lr="size",ur="angle",sr="opacity",fr="fillOpacity",dr="strokeOpacity",vr="strokeWidth",pr="strokeDash",hr="text",mr="order",gr="detail",yr="key",br="tooltip",xr="href",kr="url",wr="description",Sr={theta:1,theta2:1,radius:1,radius2:1};function Er(e){return e in Sr}var Or={longitude:1,longitude2:1,latitude:1,latitude2:1};function Dr(e){switch(e){case er:return"y";case tr:return"y2";case nr:return"x";case rr:return"x2"}}function Fr(e){return e in Or}var Nr=bt(Or),_r=Ce(Ce(Ce(Ce({},{x:1,y:1,x2:1,y2:1}),Sr),Or),{},{xOffset:1,yOffset:1,color:1,fill:1,stroke:1,opacity:1,fillOpacity:1,strokeOpacity:1,strokeWidth:1,strokeDash:1,size:1,angle:1,shape:1,order:1,text:1,detail:1,key:1,tooltip:1,href:1,url:1,description:1});function Ar(e){return e===ir||e===ar||e===or}var Tr={row:1,column:1,facet:1},Cr=bt(Tr),Pr=Ce(Ce({},_r),Tr),jr=bt(Pr),zr=(Pr.order,Pr.detail,Pr.tooltip,Oe(Pr,e)),Lr=(zr.row,zr.column,zr.facet,Oe(zr,n));function Rr(e){return!!Pr[e]}var Ir=[Vt,Xt,tr,rr,Zt,Qt];function Mr(e){return Ur(e)!==e}function Ur(e){switch(e){case Vt:return Gt;case Xt:return Ht;case tr:return er;case rr:return nr;case Zt:return Kt;case Qt:return Jt}return e}function Wr(e){if(Er(e))switch(e){case Kt:return"startAngle";case Zt:return"endAngle";case Jt:return"outerRadius";case Qt:return"innerRadius"}return e}function qr(e){switch(e){case Gt:return Vt;case Ht:return Xt;case er:return tr;case nr:return rr;case Kt:return Zt;case Jt:return Qt}}function Br(e){switch(e){case Gt:case Vt:return"width";case Ht:case Xt:return"height"}}function Gr(e){switch(e){case Gt:return"xOffset";case Ht:return"yOffset";case Vt:return"x2Offset";case Xt:return"y2Offset";case Kt:return"thetaOffset";case Jt:return"radiusOffset";case Zt:return"theta2Offset";case Qt:return"radius2Offset"}}function Hr(e){switch(e){case Gt:return"xOffset";case Ht:return"yOffset"}}function Vr(e){switch(e){case"xOffset":return"x";case"yOffset":return"y"}}var Xr=bt(_r),Yr=(_r.x,_r.y,_r.x2,_r.y2,_r.xOffset,_r.yOffset,_r.latitude,_r.longitude,_r.latitude2,_r.longitude2,_r.theta,_r.theta2,_r.radius,_r.radius2,Oe(_r,t)),$r=bt(Yr),Jr={x:1,y:1},Qr=bt(Jr);function Kr(e){return e in Jr}var Zr={theta:1,radius:1},ei=bt(Zr);function ni(e){return"width"===e?Gt:Ht}var ti={xOffset:1,yOffset:1};function ri(e){return e in ti}Yr.text,Yr.tooltip,Yr.href,Yr.url,Yr.description,Yr.detail,Yr.key,Yr.order;var ii=Oe(Yr,r),ai=bt(ii);var oi=Ce(Ce(Ce(Ce({},Jr),Zr),ti),ii),ci=bt(oi);function li(e){return!!oi[e]}function ui(e,n){return function(e){switch(e){case ir:case ar:case or:case wr:case gr:case yr:case br:case xr:case mr:case sr:case fr:case dr:case vr:case Bt:case Wt:case qt:return si;case Gt:case Ht:case Yt:case $t:case er:case nr:return fi;case Vt:case Xt:case tr:case rr:return{area:"always",bar:"always",image:"always",rect:"always",rule:"always",circle:"binned",point:"binned",square:"binned",tick:"binned",line:"binned",trail:"binned"};case lr:return{point:"always",tick:"always",rule:"always",circle:"always",square:"always",bar:"always",text:"always",line:"always",trail:"always"};case pr:return{line:"always",point:"always",tick:"always",rule:"always",circle:"always",square:"always",bar:"always",geoshape:"always"};case cr:return{point:"always",geoshape:"always"};case hr:return{text:"always"};case ur:return{point:"always",square:"always",text:"always"};case kr:return{image:"always"};case Kt:case Jt:return{text:"always",arc:"always"};case Zt:case Qt:return{arc:"always"}}}(e)[n]}var si={arc:"always",area:"always",bar:"always",circle:"always",geoshape:"always",image:"always",line:"always",rule:"always",point:"always",rect:"always",square:"always",trail:"always",text:"always",tick:"always"},fi=Oe(si,i);function di(e){switch(e){case Gt:case Ht:case Kt:case Jt:case Yt:case $t:case lr:case ur:case vr:case sr:case fr:case dr:case Vt:case Xt:case Zt:case Qt:return;case Bt:case Wt:case qt:case cr:case pr:case hr:case br:case xr:case kr:case wr:return"discrete";case ir:case ar:case or:return"flexible";case er:case nr:case tr:case rr:case gr:case yr:case mr:return}}var vi={argmax:1,argmin:1,average:1,count:1,distinct:1,product:1,max:1,mean:1,median:1,min:1,missing:1,q1:1,q3:1,ci0:1,ci1:1,stderr:1,stdev:1,stdevp:1,sum:1,valid:1,values:1,variance:1,variancep:1},pi={count:1,min:1,max:1};function hi(e){return!!e&&!!e.argmin}function mi(e){return!!e&&!!e.argmax}function gi(e){return Ee(e)&&!!vi[e]}var yi=new Set(["count","valid","missing","distinct"]);function bi(e){return Ee(e)&&yi.has(e)}var xi=new Set(["count","sum","distinct","valid","missing"]),ki=new Set(["mean","average","median","q1","q3","min","max"]);function wi(e){return We(e)&&(e=$l(e,void 0)),"bin"+bt(e).map((function(n){return Di(e[n])?St("_".concat(n,"_").concat(kt(e[n]))):St("_".concat(n,"_").concat(e[n]))})).join("")}function Si(e){return!0===e||Oi(e)&&!e.binned}function Ei(e){return"binned"===e||Oi(e)&&!0===e.binned}function Oi(e){return Ue(e)}function Di(e){return null==e?void 0:e.param}function Fi(e){switch(e){case Wt:case qt:case lr:case ir:case ar:case or:case vr:case sr:case fr:case dr:case cr:return 6;case pr:return 4;default:return 10}}function Ni(e){return!(null==e||!e.expr)}function _i(e){var n,t={},r=ze(bt(e||{}));try{for(r.s();!(n=r.n()).done;){var i=n.value;t[i]=Mi(e[i])}}catch(a){r.e(a)}finally{r.f()}return t}function Ai(e){var n=e.anchor,t=e.frame,r=e.offset,i=e.orient,o=e.angle,c=e.limit,l=e.color,u=e.subtitleColor,s=e.subtitleFont,f=e.subtitleFontSize,d=e.subtitleFontStyle,v=e.subtitleFontWeight,p=e.subtitleLineHeight,h=e.subtitlePadding,m=Ce(Ce({},Oe(e,a)),l?{fill:l}:{}),g=Ce(Ce(Ce(Ce(Ce(Ce({},n?{anchor:n}:{}),t?{frame:t}:{}),r?{offset:r}:{}),i?{orient:i}:{}),void 0!==o?{angle:o}:{}),void 0!==c?{limit:c}:{}),y=Ce(Ce(Ce(Ce(Ce(Ce(Ce({},u?{subtitleColor:u}:{}),s?{subtitleFont:s}:{}),f?{subtitleFontSize:f}:{}),d?{subtitleFontStyle:d}:{}),v?{subtitleFontWeight:v}:{}),p?{subtitleLineHeight:p}:{}),h?{subtitlePadding:h}:{});return{titleMarkConfig:m,subtitleMarkConfig:rt(e,["align","baseline","dx","dy","limit"]),nonMarkTitleProperties:g,subtitle:y}}function Ti(e){return Ee(e)||qe(e)&&Ee(e[0])}function Ci(e){return!(null==e||!e.signal)}function Pi(e){return!!e.step}function ji(e){return!qe(e)&&("field"in e&&"data"in e)}var zi=bt({aria:1,description:1,ariaRole:1,ariaRoleDescription:1,blend:1,opacity:1,fill:1,fillOpacity:1,stroke:1,strokeCap:1,strokeWidth:1,strokeOpacity:1,strokeDash:1,strokeDashOffset:1,strokeJoin:1,strokeOffset:1,strokeMiterLimit:1,startAngle:1,endAngle:1,padAngle:1,innerRadius:1,outerRadius:1,size:1,shape:1,interpolate:1,tension:1,orient:1,align:1,baseline:1,text:1,dir:1,dx:1,dy:1,ellipsis:1,limit:1,radius:1,theta:1,angle:1,font:1,fontSize:1,fontWeight:1,fontStyle:1,lineBreak:1,lineHeight:1,cursor:1,href:1,tooltip:1,cornerRadius:1,cornerRadiusTopLeft:1,cornerRadiusTopRight:1,cornerRadiusBottomLeft:1,cornerRadiusBottomRight:1,aspect:1,width:1,height:1,url:1,smooth:1}),Li={arc:1,area:1,group:1,image:1,line:1,path:1,rect:1,rule:1,shape:1,symbol:1,text:1,trail:1},Ri=["cornerRadius","cornerRadiusTopLeft","cornerRadiusTopRight","cornerRadiusBottomLeft","cornerRadiusBottomRight"];function Ii(e){var n=qe(e.condition)?e.condition.map(Ui):Ui(e.condition);return Ce(Ce({},Mi(e)),{},{condition:n})}function Mi(e){return Ni(e)?Ce({signal:e.expr},Oe(e,o)):e}function Ui(e){return Ni(e)?Ce({signal:e.expr},Oe(e,c)):e}function Wi(e){return Ni(e)?Ce({signal:e.expr},Oe(e,l)):Ci(e)?e:void 0!==e?{value:e}:void 0}function qi(e){return Ci(e)?e.signal:Me(e.value)}function Bi(e){return Ci(e)?e.signal:null==e?null:Me(e)}function Gi(e){var n;return[].concat(e.type,null!==(n=e.style)&&void 0!==n?n:[])}function Hi(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.vgChannel,a=r.ignoreVgConfig;return i&&void 0!==n[i]?n[i]:void 0!==n[e]?n[e]:!a||i&&i!==e?Vi(e,n,t,r):void 0}function Vi(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.vgChannel;return jt(i?Xi(e,n,t.style):void 0,Xi(e,n,t.style),i?t[n.type][i]:void 0,t[n.type][e],i?t.mark[i]:t.mark[e])}function Xi(e,n,t){return Yi(e,Gi(n),t)}function Yi(e,n,t){var r,i,a=ze(n=Be(n));try{for(a.s();!(i=a.n()).done;){var o=t[i.value];o&&void 0!==o[e]&&(r=o[e])}}catch(c){a.e(c)}finally{a.f()}return r}function $i(e,n){return Be(e).reduce((function(e,t){var r;return e.field.push(Cl(t,n)),e.order.push(null!==(r=t.sort)&&void 0!==r?r:"ascending"),e}),{field:[],order:[]})}function Ji(e,n){var t=_e(e);return n.forEach((function(e){var n,r=ze(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(et(i,e))return}}catch(a){r.e(a)}finally{r.f()}t.push(e)})),t}function Qi(e,n){return et(e,n)||!n?e:e?[].concat(_e(Be(e)),_e(Be(n))).join(", "):n}function Ki(e,n){var t=e.value,r=n.value;if(null==t||null===r)return{explicit:e.explicit,value:null};if((Ti(t)||Ci(t))&&(Ti(r)||Ci(r)))return{explicit:e.explicit,value:Qi(t,r)};if(Ti(t)||Ci(t))return{explicit:e.explicit,value:t};if(Ti(r)||Ci(r))return{explicit:e.explicit,value:r};if(!(Ti(t)||Ci(t)||Ti(r)||Ci(r)))return{explicit:e.explicit,value:Ji(t,r)};throw new Error("It should never reach here")}function Zi(e){return"Invalid specification ".concat(at(e),'. Make sure the specification includes at least one of the following properties: "mark", "layer", "facet", "hconcat", "vconcat", "concat", or "repeat".')}var ea='Autosize "fit" only works for single views and layered views.';function na(e){return"".concat("width"==e?"Width":"Height",' "container" only works for single views and layered views.')}function ta(e){var n="width"==e?"x":"y";return"".concat("width"==e?"Width":"Height",' "container" only works well with autosize "fit" or "fit-').concat(n,'".')}function ra(e){return e?'Dropping "fit-'.concat(e,'" because spec has discrete ').concat(Br(e),"."):'Dropping "fit" because spec has discrete size.'}function ia(e){return"Unknown field for ".concat(e,". Cannot calculate view size.")}function aa(e){return'Cannot project a selection on encoding channel "'.concat(e,'", which has no field.')}function oa(e,n){return'Cannot project a selection on encoding channel "'.concat(e,'" as it uses an aggregate function ("').concat(n,'").')}function ca(e){return"Selection not supported for ".concat(e," yet.")}var la="The same selection must be used to override scale domains in a layered view.";function ua(e){return'The "columns" property cannot be used when "'.concat(e,'" has nested row/column.')}function sa(e,n,t){return'An ancestor parsed field "'.concat(e,'" as ').concat(t," but a child wants to parse the field as ").concat(n,".")}function fa(e){return"Config.customFormatTypes is not true, thus custom format type and format for channel ".concat(e," are dropped.")}function da(e,n,t){return"Channel ".concat(e," is a ").concat(n,". Converted to {value: ").concat(at(t),"}.")}function va(e){return'Invalid field type "'.concat(e,'".')}function pa(e,n){return'Invalid field type "'.concat(e,'" for aggregate: "').concat(n,'", using "quantitative" instead.')}function ha(e){return'Invalid aggregation operator "'.concat(e,'".')}function ma(e,n){var t=n.fill,r=n.stroke;return"Dropping color ".concat(e," as the plot also has ").concat(t&&r?"fill and stroke":t?"fill":"stroke",".")}function ga(e,n){return"Dropping ".concat(at(e),' from channel "').concat(n,'" since it does not contain any data field, datum, value, or signal.')}function ya(e,n,t){return"".concat(e,' dropped as it is incompatible with "').concat(n,'"').concat(t?" when ".concat(t):"",".")}function ba(e){return"".concat(e," encoding has no scale, so specified scale is ignored.")}function xa(e){return"".concat(e," encoding should be discrete (ordinal / nominal / binned).")}function ka(e){return"".concat(e," encoding should be discrete (ordinal / nominal / binned) or use a discretizing scale (e.g. threshold).")}function wa(e,n){return'Using discrete channel "'.concat(e,'" to encode "').concat(n,'" field can be misleading as it does not encode ').concat("ordinal"===n?"order":"magnitude",".")}function Sa(e){return"The ".concat(e," for range marks cannot be an expression")}function Ea(e){return"Using unaggregated domain with raw field has no effect (".concat(at(e),").")}function Oa(e){return'Unaggregated domain not applicable for "'.concat(e,'" since it produces values outside the origin domain of the source data.')}function Da(e){return"Unaggregated domain is currently unsupported for log scale (".concat(at(e),").")}function Fa(e,n,t){return'Channel "'.concat(e,'" does not work with "').concat(n,'" scale. We are using "').concat(t,'" scale instead.')}function Na(e,n){return'FieldDef does not work with "'.concat(e,'" scale. We are using "').concat(n,'" scale instead.')}function _a(e,n,t){return"".concat(t,"-scale's \"").concat(n,'" is dropped as it does not work with ').concat(e," scale.")}function Aa(e){return'The step for "'.concat(e,'" is dropped because the ').concat("width"===e?"x":"y"," is continuous.")}var Ta="Domains that should be unioned has conflicting sort properties. Sort will be set to true.";function Ca(e,n){return"Invalid ".concat(e,": ").concat(at(n),".")}function Pa(e){return"1D error band does not support ".concat(e,".")}function ja(e){return"Channel ".concat(e,' is required for "binned" bin.')}function za(e){return"Channel ".concat(e,' should not be used with "binned" bin.')}globalThis&&globalThis.__classPrivateFieldSet,globalThis&&globalThis.__classPrivateFieldGet;var La=Ge(He),Ra=La;function Ia(e){return Ra=e}function Ma(){return Ra=La}function Ua(){var e;(e=Ra).warn.apply(e,arguments)}function Wa(e){if(e&&Ue(e)){var n,t=ze(Qa);try{for(t.s();!(n=t.n()).done;){if(n.value in e)return!0}}catch(r){t.e(r)}finally{t.f()}}return!1}var qa=["january","february","march","april","may","june","july","august","september","october","november","december"],Ba=qa.map((function(e){return e.substr(0,3)})),Ga=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],Ha=Ga.map((function(e){return e.substr(0,3)}));function Va(e,n){var t=[];if(n&&void 0!==e.day&&bt(e).length>1&&(Ua(function(e){return"Dropping day from datetime ".concat(at(e)," as day cannot be combined with other units.")}(e)),delete(e=nt(e)).day),void 0!==e.year?t.push(e.year):t.push(2012),void 0!==e.month){var r=n?function(e){if(Ut(e)&&(e=+e),Se(e))return e-1;var n=e.toLowerCase(),t=qa.indexOf(n);if(-1!==t)return t;var r=n.substr(0,3),i=Ba.indexOf(r);if(-1!==i)return i;throw new Error(Ca("month",e))}(e.month):e.month;t.push(r)}else if(void 0!==e.quarter){var i=n?function(e){if(Ut(e)&&(e=+e),Se(e))return e>4&&Ua(Ca("quarter",e)),e-1;throw new Error(Ca("quarter",e))}(e.quarter):e.quarter;t.push(Se(i)?3*i:"".concat(i,"*3"))}else t.push(0);if(void 0!==e.date)t.push(e.date);else if(void 0!==e.day){var a=n?function(e){if(Ut(e)&&(e=+e),Se(e))return e%7;var n=e.toLowerCase(),t=Ga.indexOf(n);if(-1!==t)return t;var r=n.substr(0,3),i=Ha.indexOf(r);if(-1!==i)return i;throw new Error(Ca("day",e))}(e.day):e.day;t.push(Se(a)?a+1:"".concat(a,"+1"))}else t.push(1);for(var o=0,c=["hours","minutes","seconds","milliseconds"];o<c.length;o++){var l=e[c[o]];t.push(void 0===l?0:l)}return t}function Xa(e){var n=Va(e,!0).join(", ");return e.utc?"utc(".concat(n,")"):"datetime(".concat(n,")")}function Ya(e){var n=Va(e,!1).join(", ");return e.utc?"utc(".concat(n,")"):"datetime(".concat(n,")")}function $a(e){var n=Va(e,!0);return e.utc?+new Date(Date.UTC.apply(Date,_e(n))):+we(Date,_e(n))}var Ja={year:1,quarter:1,month:1,week:1,day:1,dayofyear:1,date:1,hours:1,minutes:1,seconds:1,milliseconds:1},Qa=bt(Ja);function Ka(e){return Ue(e)?e.binned:Za(e)}function Za(e){return e&&e.startsWith("binned")}function eo(e){return e.startsWith("utc")}var no={"year-month":"%b %Y ","year-month-date":"%b %d, %Y "};function to(e){return Qa.filter((function(n){return io(e,n)}))}function ro(e){var n=to(e);return n[n.length-1]}function io(e,n){var t=e.indexOf(n);return!(t<0)&&(!(t>0&&"seconds"===n&&"i"===e.charAt(t-1))&&(!(e.length>t+3&&"day"===n&&"o"===e.charAt(t+3))&&!(t>0&&"year"===n&&"f"===e.charAt(t-1))))}function ao(e,n){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{end:!1},i=r.end,a=Ft(n),o=eo(e)?"utc":"";function c(e){return"quarter"===e?"(".concat(o,"quarter(").concat(a,")-1)"):"".concat(o).concat(e,"(").concat(a,")")}var l,u={},s=ze(Qa);try{for(s.s();!(l=s.n()).done;){var f=l.value;io(e,f)&&(u[f]=c(f),t=f)}}catch(d){s.e(d)}finally{s.f()}return i&&(u[t]+="+1"),Ya(u)}function oo(e){if(e){var n=to(e);return"timeUnitSpecifier(".concat(at(n),", ").concat(at(no),")")}}function co(e){var n;if(e)return Ee(e)?n=Za(e)?{unit:e.substring(6),binned:!0}:{unit:e}:Ue(e)&&(n=Ce(Ce({},e),e.unit?{unit:e.unit}:{})),eo(n.unit)&&(n.utc=!0,n.unit=function(e){return e.substring(3)}(n.unit)),n}function lo(e){var n=co(e),t=n.utc,r=Oe(n,u);return r.unit?(t?"utc":"")+bt(r).map((function(e){return St("".concat("unit"===e?"":"_".concat(e,"_")).concat(r[e]))})).join(""):(t?"utc":"")+"timeunit"+bt(r).map((function(e){return St("_".concat(e,"_").concat(r[e]))})).join("")}function uo(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e},t=co(e),r=ro(t.unit);if(r&&"day"!==r){var i={year:2001,month:1,date:1,hours:0,minutes:0,seconds:0,milliseconds:0},a=vo(r,t.step),o=a.step,c=a.part,l=Ce(Ce({},i),{},Pe({},c,+i[c]+o));return"".concat(n(Xa(l))," - ").concat(n(Xa(i)))}}var so={year:1,month:1,date:1,hours:1,minutes:1,seconds:1,milliseconds:1};function fo(e){return!!so[e]}function vo(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(fo(e))return{part:e,step:n};switch(e){case"day":case"dayofyear":return{part:"date",step:n};case"quarter":return{part:"month",step:3*n};case"week":return{part:"date",step:7*n}}}function po(e){return!(null==e||!e.field)&&void 0!==e.equal}function ho(e){return!(null==e||!e.field)&&void 0!==e.lt}function mo(e){return!(null==e||!e.field)&&void 0!==e.lte}function go(e){return!(null==e||!e.field)&&void 0!==e.gt}function yo(e){return!(null==e||!e.field)&&void 0!==e.gte}function bo(e){if(null!=e&&e.field){if(qe(e.range)&&2===e.range.length)return!0;if(Ci(e.range))return!0}return!1}function xo(e){return!(null==e||!e.field)&&(qe(e.oneOf)||qe(e.in))}function ko(e){return!(null==e||!e.field)&&void 0!==e.valid}function wo(e){return xo(e)||po(e)||bo(e)||ho(e)||go(e)||mo(e)||yo(e)}function So(e,n){return Zl(e,{timeUnit:n,wrapTime:!0})}function Eo(e,n){return e.map((function(e){return So(e,n)}))}function Oo(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=e.field,r=co(e.timeUnit),i=r||{},a=i.unit,o=i.binned,c=Cl(e,{expr:"datum"}),l=a?"time(".concat(o?c:ao(a,t),")"):c;if(po(e))return"".concat(l,"===").concat(So(e.equal,a));if(ho(e)){var u=e.lt;return"".concat(l,"<").concat(So(u,a))}if(go(e)){var s=e.gt;return"".concat(l,">").concat(So(s,a))}if(mo(e)){var f=e.lte;return"".concat(l,"<=").concat(So(f,a))}if(yo(e)){var d=e.gte;return"".concat(l,">=").concat(So(d,a))}if(xo(e))return"indexof([".concat(Eo(e.oneOf,a).join(","),"], ").concat(l,") !== -1");if(ko(e))return Do(l,e.valid);if(bo(e)){var v=e.range,p=Ci(v)?{signal:"".concat(v.signal,"[0]")}:v[0],h=Ci(v)?{signal:"".concat(v.signal,"[1]")}:v[1];if(null!==p&&null!==h&&n)return"inrange("+l+", ["+So(p,a)+", "+So(h,a)+"])";var m=[];return null!==p&&m.push("".concat(l," >= ").concat(So(p,a))),null!==h&&m.push("".concat(l," <= ").concat(So(h,a))),m.length>0?m.join(" && "):"true"}throw new Error("Invalid field predicate: ".concat(at(e)))}function Do(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return n?"isValid(".concat(e,") && isFinite(+").concat(e,")"):"!isValid(".concat(e,") || !isFinite(+").concat(e,")")}function Fo(e){return wo(e)&&e.timeUnit?Ce(Ce({},e),{},{timeUnit:co(e.timeUnit)}):e}function No(e){return"ordinal"===e||"nominal"===e}var _o="quantitative",Ao="ordinal",To="temporal",Co="nominal",Po="geojson";function jo(e){if(e)switch(e=e.toLowerCase()){case"q":case _o:return"quantitative";case"t":case To:return"temporal";case"o":case Ao:return"ordinal";case"n":case Co:return"nominal";case Po:return"geojson"}}var zo="linear",Lo="log",Ro="time",Io="utc",Mo="point",Uo="band",Wo={linear:"numeric",log:"numeric",pow:"numeric",sqrt:"numeric",symlog:"numeric",identity:"numeric",sequential:"numeric",time:"time",utc:"time",ordinal:"ordinal","bin-ordinal":"bin-ordinal",point:"ordinal-position",band:"ordinal-position",quantile:"discretizing",quantize:"discretizing",threshold:"discretizing"};function qo(e,n){var t=Wo[e],r=Wo[n];return t===r||"ordinal-position"===t&&"time"===r||"ordinal-position"===r&&"time"===t}var Bo={linear:0,log:1,pow:1,sqrt:1,symlog:1,identity:1,sequential:1,time:0,utc:0,point:10,band:11,ordinal:0,"bin-ordinal":0,quantile:0,quantize:0,threshold:0};function Go(e){return Bo[e]}var Ho=new Set(["linear","log","pow","sqrt","symlog"]),Vo=new Set([].concat(_e(Ho),["time","utc"]));function Xo(e){return Ho.has(e)}var Yo=new Set(["quantile","quantize","threshold"]),$o=new Set([].concat(_e(Vo),_e(Yo),["sequential","identity"])),Jo=new Set(["ordinal","bin-ordinal","point","band"]);function Qo(e){return Jo.has(e)}function Ko(e){return $o.has(e)}function Zo(e){return Vo.has(e)}function ec(e){return Yo.has(e)}function nc(e){return null==e?void 0:e.param}var tc={type:1,domain:1,domainMax:1,domainMin:1,domainMid:1,domainRaw:1,align:1,range:1,rangeMax:1,rangeMin:1,scheme:1,bins:1,reverse:1,round:1,clamp:1,nice:1,base:1,exponent:1,constant:1,interpolate:1,zero:1,padding:1,paddingInner:1,paddingOuter:1},rc=Oe(tc,s),ic=bt(rc);function ac(e,n){switch(n){case"type":case"domain":case"reverse":case"range":return!0;case"scheme":case"interpolate":return!["point","band","identity"].includes(e);case"bins":return!["point","band","identity","ordinal"].includes(e);case"round":return Zo(e)||"band"===e||"point"===e;case"padding":case"rangeMin":case"rangeMax":return Zo(e)||["point","band"].includes(e);case"paddingOuter":case"align":return["point","band"].includes(e);case"paddingInner":return"band"===e;case"domainMax":case"domainMid":case"domainMin":case"domainRaw":case"clamp":return Zo(e);case"nice":return Zo(e)||"quantize"===e||"threshold"===e;case"exponent":return"pow"===e;case"base":return"log"===e;case"constant":return"symlog"===e;case"zero":return Ko(e)&&!lt(["log","time","utc","threshold","quantile"],e)}}function oc(e,n){switch(n){case"interpolate":case"scheme":case"domainMid":return Ar(e)?void 0:'Cannot use the scale property "'.concat(n,'" with non-color channel.');case"align":case"type":case"bins":case"domain":case"domainMax":case"domainMin":case"domainRaw":case"range":case"base":case"exponent":case"constant":case"nice":case"padding":case"paddingInner":case"paddingOuter":case"rangeMax":case"rangeMin":case"reverse":case"round":case"clamp":case"zero":return}}function cc(e,n){return lt([Ao,Co],n)?void 0===e||Qo(e):n===To?lt([Ro,Io,void 0],e):n!==_o||(Xo(e)||ec(e)||void 0===e)}function lc(e,n){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!li(e))return!1;switch(e){case Gt:case Ht:case Yt:case $t:case Kt:case Jt:return!!Zo(n)||("band"===n||"point"===n&&!t);case lr:case vr:case sr:case fr:case dr:case ur:return Zo(n)||ec(n)||lt(["band","point","ordinal"],n);case ir:case ar:case or:return"band"!==n;case pr:case cr:return"ordinal"===n||ec(n)}}var uc={arc:"arc",area:"area",bar:"bar",image:"image",line:"line",point:"point",rect:"rect",rule:"rule",text:"text",tick:"tick",trail:"trail",circle:"circle",square:"square",geoshape:"geoshape"},sc=uc.arc,fc=uc.area,dc=uc.bar,vc=uc.image,pc=uc.line,hc=uc.point,mc=uc.rect,gc=uc.rule,yc=uc.text,bc=uc.tick,xc=uc.trail,kc=uc.circle,wc=uc.square,Sc=uc.geoshape;function Ec(e){return["line","area","trail"].includes(e)}function Oc(e){return["rect","bar","image","arc"].includes(e)}var Dc=new Set(bt(uc));function Fc(e){return e.type}var Nc=[].concat(["stroke","strokeWidth","strokeDash","strokeDashOffset","strokeOpacity","strokeJoin","strokeMiterLimit"],["fill","fillOpacity"]),_c=bt({color:1,filled:1,invalid:1,order:1,radius2:1,theta2:1,timeUnitBandSize:1,timeUnitBandPosition:1}),Ac=bt({mark:1,arc:1,area:1,bar:1,circle:1,image:1,line:1,point:1,rect:1,rule:1,square:1,text:1,tick:1,trail:1,geoshape:1});function Tc(e){return e&&null!=e.band}var Cc={horizontal:["cornerRadiusTopRight","cornerRadiusBottomRight"],vertical:["cornerRadiusTopLeft","cornerRadiusTopRight"]},Pc={binSpacing:1,continuousBandSize:5,minBandSize:.25,timeUnitBandPosition:.5},jc={binSpacing:0,continuousBandSize:5,minBandSize:.25,timeUnitBandPosition:.5};function zc(e){var n=e.channel,t=e.channelDef,r=e.markDef,i=e.scale,a=e.config,o=Uc(e);return gl(t)&&!bi(t.aggregate)&&i&&Zo(i.get("type"))?function(e){var n=e.fieldDef,t=e.channel,r=e.markDef,i=e.ref,a=e.config;if(Ec(r.type))return i;var o=Hi("invalid",r,a);if(null===o)return[Lc(n,t),i];return i}({fieldDef:t,channel:n,markDef:r,ref:o,config:a}):o}function Lc(e,n){return Ce({test:Rc(e,!0)},"y"===Ur(n)?{field:{group:"height"}}:{value:0})}function Rc(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Do(Ee(e)?e:Cl(e,{expr:"datum"}),!n)}function Ic(e,n,t,r){var i={};if(n&&(i.scale=n),bl(e)){var a=e.datum;Wa(a)?i.signal=Xa(a):Ci(a)?i.signal=a.signal:Ni(a)?i.signal=a.expr:i.value=a}else i.field=Cl(e,t);if(r){var o=r.offset,c=r.band;o&&(i.offset=o),c&&(i.band=c)}return i}function Mc(e){var n=e.scaleName,t=e.fieldOrDatumDef,r=e.fieldOrDatumDef2,i=e.offset,a=e.startSuffix,o=e.bandPosition,c=void 0===o?.5:o,l=0<c&&c<1?"datum":void 0,u=Cl(t,{expr:l,suffix:a}),s=void 0!==r?Cl(r,{expr:l}):Cl(t,{suffix:"end",expr:l}),f={};if(0===c||1===c){f.scale=n;var d=0===c?u:s;f.field=d}else{var v=Ci(c)?"".concat(c.signal," * ").concat(u," + (1-").concat(c.signal,") * ").concat(s):"".concat(c," * ").concat(u," + ").concat(1-c," * ").concat(s);f.signal='scale("'.concat(n,'", ').concat(v,")")}return i&&(f.offset=i),f}function Uc(e){var n=e.channel,t=e.channelDef,r=e.channel2Def,i=e.markDef,a=e.config,o=e.scaleName,c=e.scale,l=e.stack,u=e.offset,s=e.defaultRef,f=e.bandPosition;if(t){if(Sl(t)){var d,v,p=null==c?void 0:c.get("type");if(El(t)){var h;null!==(h=f)&&void 0!==h||(f=sl({fieldDef:t,fieldDef2:r,markDef:i,config:a}));var m=t.bin,g=t.timeUnit,y=t.type;if(Si(m)||f&&g&&y===To)return null!=l&&l.impute?Ic(t,o,{binSuffix:"mid"},{offset:u}):f&&!Qo(p)?Mc({scaleName:o,fieldOrDatumDef:t,bandPosition:f,offset:u}):Ic(t,o,nu(t,n)?{binSuffix:"range"}:{},{offset:u});if(Ei(m)){if(gl(r))return Mc({scaleName:o,fieldOrDatumDef:t,fieldOrDatumDef2:r,bandPosition:f,offset:u});Ua(ja(n===Gt?Vt:Xt))}}return Ic(t,o,Qo(p)?{binSuffix:"range"}:{},{offset:u,band:"band"===p?null!==(d=null!==(v=f)&&void 0!==v?v:t.bandPosition)&&void 0!==d?d:.5:void 0})}if(Ol(t)){var b=u?{offset:u}:{};return Ce(Ce({},Wc(n,t.value)),b)}}return Ve(s)&&(s=s()),s?Ce(Ce({},s),u?{offset:u}:{}):s}function Wc(e,n){return lt(["x","x2"],e)&&"width"===n?{field:{group:"width"}}:lt(["y","y2"],e)&&"height"===n?{field:{group:"height"}}:Wi(n)}function qc(e){return e&&"number"!==e&&"time"!==e}function Bc(e,n,t){return"".concat(e,"(").concat(n).concat(t?", ".concat(at(t)):"",")")}function Gc(e){var n=e.fieldOrDatumDef,t=e.format,r=e.formatType,i=e.expr,a=e.normalizeStack,o=e.config;if(qc(r))return Vc({fieldOrDatumDef:n,format:t,formatType:r,expr:i,config:o});var c=Hc(n,i,a),l=yl(n);if(void 0===t&&void 0===r&&o.customFormatTypes){if("quantitative"===l){if(a&&o.normalizedNumberFormatType)return Vc({fieldOrDatumDef:n,format:o.normalizedNumberFormat,formatType:o.normalizedNumberFormatType,expr:i,config:o});if(o.numberFormatType)return Vc({fieldOrDatumDef:n,format:o.numberFormat,formatType:o.numberFormatType,expr:i,config:o})}if("temporal"===l&&o.timeFormatType&&gl(n)&&void 0===n.timeUnit)return Vc({fieldOrDatumDef:n,format:o.timeFormat,formatType:o.timeFormatType,expr:i,config:o})}if(Kl(n)){var u,s,f=function(e){var n=e.field,t=e.timeUnit,r=e.format,i=e.formatType,a=e.rawTimeFormat,o=e.isUTCScale;return!t||r?!t&&i?"".concat(i,"(").concat(n,", '").concat(r,"')"):(r=Ee(r)?r:a,"".concat(o?"utc":"time","Format(").concat(n,", '").concat(r,"')")):function(e,n,t){if(e){var r=oo(e),i=t||eo(e);return"".concat(i?"utc":"time","Format(").concat(n,", ").concat(r,")")}}(t,n,o)}({field:c,timeUnit:gl(n)?null===(u=co(n.timeUnit))||void 0===u?void 0:u.unit:void 0,format:t,formatType:o.timeFormatType,rawTimeFormat:o.timeFormat,isUTCScale:Dl(n)&&(null===(s=n.scale)||void 0===s?void 0:s.type)===Io});return f?{signal:f}:void 0}return t=$c({type:l,specifiedFormat:t,config:o,normalizeStack:a}),gl(n)&&Si(n.bin)?{signal:Kc(c,Cl(n,{expr:i,binSuffix:"end"}),t,r,o)}:t||"quantitative"===yl(n)?{signal:"".concat(Jc(c,t))}:{signal:"isValid(".concat(c,") ? ").concat(c,' : ""+').concat(c)}}function Hc(e,n,t){return gl(e)?t?"".concat(Cl(e,{expr:n,suffix:"end"}),"-").concat(Cl(e,{expr:n,suffix:"start"})):Cl(e,{expr:n}):Wa(r=e.datum)?Xa(r):"".concat(at(r));var r}function Vc(e){var n,t=e.fieldOrDatumDef,r=e.format,i=e.formatType,a=e.expr,o=e.normalizeStack,c=e.config,l=e.field;return null!==(n=l)&&void 0!==n||(l=Hc(t,a,o)),"datum.value"!==l&&gl(t)&&Si(t.bin)?{signal:Kc(l,Cl(t,{expr:a,binSuffix:"end"}),r,i,c)}:{signal:Bc(i,l,r)}}function Xc(e,n,t,r,i,a){if(!Ee(r)||!qc(r)){if(void 0===t&&void 0===r&&i.customFormatTypes&&"quantitative"===yl(e)){if(i.normalizedNumberFormatType&&Fl(e)&&"normalize"===e.stack)return;if(i.numberFormatType)return}if(Fl(e)&&"normalize"===e.stack&&i.normalizedNumberFormat)return $c({type:"quantitative",config:i,normalizeStack:!0});if(Kl(e)){var o,c=gl(e)?null===(o=co(e.timeUnit))||void 0===o?void 0:o.unit:void 0;if(void 0===c&&i.customFormatTypes&&i.timeFormatType)return;return function(e){var n=e.specifiedFormat,t=e.timeUnit,r=e.config,i=e.omitTimeFormatConfig;if(n)return n;if(t)return{signal:oo(t)};return i?void 0:r.timeFormat}({specifiedFormat:t,timeUnit:c,config:i,omitTimeFormatConfig:a})}return $c({type:n,specifiedFormat:t,config:i})}}function Yc(e,n,t){return e&&(Ci(e)||"number"===e||"time"===e)?e:Kl(n)&&"time"!==t&&"utc"!==t?gl(n)&&null!==(r=co(null==n?void 0:n.timeUnit))&&void 0!==r&&r.utc?"utc":"time":void 0;var r}function $c(e){var n=e.type,t=e.specifiedFormat,r=e.config,i=e.normalizeStack;return Ee(t)?t:n===_o?i?r.normalizedNumberFormat:r.numberFormat:void 0}function Jc(e,n){return"format(".concat(e,', "').concat(n||"",'")')}function Qc(e,n,t,r){var i;return qc(t)?Bc(t,e,n):Jc(e,null!==(i=Ee(n)?n:void 0)&&void 0!==i?i:r.numberFormat)}function Kc(e,n,t,r,i){if(void 0===t&&void 0===r&&i.customFormatTypes&&i.numberFormatType)return Kc(e,n,i.numberFormat,i.numberFormatType,i);var a=Qc(e,t,r,i),o=Qc(n,t,r,i);return"".concat(Do(e,!1),' ? "null" : ').concat(a,' + "').concat(" – ",'" + ').concat(o)}var Zc="min",el={x:1,y:1,color:1,fill:1,stroke:1,strokeWidth:1,size:1,shape:1,fillOpacity:1,strokeOpacity:1,opacity:1,text:1};function nl(e){return e in el}function tl(e){return!(null==e||!e.encoding)}function rl(e){return e&&("count"===e.op||!!e.field)}function il(e){return e&&qe(e)}function al(e){return"row"in e||"column"in e}function ol(e){return!!e&&"header"in e}function cl(e){return"facet"in e}function ll(e){var n=e.field,t=e.timeUnit,r=e.bin,i=e.aggregate;return Ce(Ce(Ce(Ce({},t?{timeUnit:t}:{}),r?{bin:r}:{}),i?{aggregate:i}:{}),{},{field:n})}function ul(e){return"sort"in e}function sl(e){var n=e.fieldDef,t=e.fieldDef2,r=e.markDef,i=e.config;if(Sl(n)&&void 0!==n.bandPosition)return n.bandPosition;if(gl(n)){var a=n.timeUnit,o=n.bin;if(a&&!t)return Oc(r.type)?0:Vi("timeUnitBandPosition",r,i);if(Si(o))return.5}}function fl(e){var n,t,r,i=e.channel,a=e.fieldDef,o=e.fieldDef2,c=e.markDef,l=e.config,u=e.scaleType,s=e.useVlSizeChannel,f=Br(i),d=Hi(s?"size":f,c,l,{vgChannel:f});if(void 0!==d)return d;if(gl(a)){var v=a.timeUnit,p=a.bin;if(v&&!o)return{band:Vi("timeUnitBandSize",c,l)};if(Si(p)&&!Qo(u))return{band:1}}return Oc(c.type)?u?Qo(u)?(null===(t=l[c.type])||void 0===t?void 0:t.discreteBandSize)||{band:1}:null===(r=l[c.type])||void 0===r?void 0:r.continuousBandSize:null===(n=l[c.type])||void 0===n?void 0:n.discreteBandSize:void 0}function dl(e,n,t,r){return!!(Si(e.bin)||e.timeUnit&&El(e)&&"temporal"===e.type)&&void 0!==sl({fieldDef:e,fieldDef2:n,markDef:t,config:r})}function vl(e){return e&&!!e.sort&&!e.field}function pl(e){return e&&"condition"in e}function hl(e){var n=null==e?void 0:e.condition;return!!n&&!qe(n)&&gl(n)}function ml(e){var n=null==e?void 0:e.condition;return!!n&&!qe(n)&&Sl(n)}function gl(e){return e&&(!!e.field||"count"===e.aggregate)}function yl(e){return null==e?void 0:e.type}function bl(e){return e&&"datum"in e}function xl(e){return El(e)&&!Pl(e)||wl(e)}function kl(e){return El(e)&&"quantitative"===e.type&&!e.bin||wl(e)}function wl(e){return bl(e)&&Se(e.datum)}function Sl(e){return gl(e)||bl(e)}function El(e){return e&&("field"in e||"count"===e.aggregate)&&"type"in e}function Ol(e){return e&&"value"in e&&"value"in e}function Dl(e){return e&&("scale"in e||"sort"in e)}function Fl(e){return e&&("axis"in e||"stack"in e||"impute"in e)}function Nl(e){return e&&"legend"in e}function _l(e){return e&&("format"in e||"formatType"in e)}function Al(e){return it(e,["legend","axis","header","scale"])}function Tl(e){return"op"in e}function Cl(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e.field,r=n.prefix,i=n.suffix,a="";if(jl(e))t=Rt("count");else{var o;if(!n.nofn)if(Tl(e))o=e.op;else{var c,l,u=e.bin,s=e.aggregate,f=e.timeUnit;if(Si(u))o=wi(u),i=(null!==(c=n.binSuffix)&&void 0!==c?c:"")+(null!==(l=n.suffix)&&void 0!==l?l:"");else if(s)mi(s)?(a='["'.concat(t,'"]'),t="argmax_".concat(s.argmax)):hi(s)?(a='["'.concat(t,'"]'),t="argmin_".concat(s.argmin)):o=String(s);else if(f&&!Ka(f)){var d;o=lo(f),i=(!["range","mid"].includes(n.binSuffix)&&n.binSuffix||"")+(null!==(d=n.suffix)&&void 0!==d?d:"")}}o&&(t=t?"".concat(o,"_").concat(t):o)}return i&&(t="".concat(t,"_").concat(i)),r&&(t="".concat(r,"_").concat(t)),n.forAs?Ct(t):n.expr?Nt(t,n.expr)+a:At(t)+a}function Pl(e){switch(e.type){case"nominal":case"ordinal":case"geojson":return!0;case"quantitative":return gl(e)&&!!e.bin;case"temporal":return!1}throw new Error(va(e.type))}function jl(e){return"count"===e.aggregate}var zl=function(e,n){switch(n.fieldTitle){case"plain":return e.field;case"functional":return function(e){var n=e.aggregate,t=e.bin,r=e.timeUnit,i=e.field;if(mi(n))return"".concat(i," for argmax(").concat(n.argmax,")");if(hi(n))return"".concat(i," for argmin(").concat(n.argmin,")");var a=r&&!Ka(r)?co(r):void 0,o=n||(null==a?void 0:a.unit)||(null==a?void 0:a.maxbins)&&"timeunit"||Si(t)&&"bin";return o?"".concat(o.toUpperCase(),"(").concat(i,")"):i}(e);default:return function(e,n){var t=e.field,r=e.bin,i=e.timeUnit,a=e.aggregate;if("count"===a)return n.countTitle;if(Si(r))return"".concat(t," (binned)");if(i&&!Ka(i)){var o,c=null===(o=co(i))||void 0===o?void 0:o.unit;if(c)return"".concat(t," (").concat(to(c).join("-"),")")}else if(a)return mi(a)?"".concat(t," for max ").concat(a.argmax):hi(a)?"".concat(t," for min ").concat(a.argmin):"".concat(Dt(a)," of ").concat(t);return t}(e,n)}},Ll=zl;function Rl(e){Ll=e}function Il(){Rl(zl)}function Ml(e,n,t){var r,i=t.allowDisabling,a=t.includeDefault,o=void 0===a||a,c=null===(r=Ul(e))||void 0===r?void 0:r.title;if(!gl(e))return null!=c?c:e.title;var l,u=e,s=o?Wl(u,n):void 0;return i?jt(c,u.title,s):null!==(l=null!=c?c:u.title)&&void 0!==l?l:s}function Ul(e){return Fl(e)&&e.axis?e.axis:Nl(e)&&e.legend?e.legend:ol(e)&&e.header?e.header:void 0}function Wl(e,n){return Ll(e,n)}function ql(e){if(_l(e))return{format:e.format,formatType:e.formatType};var n,t=null!==(n=Ul(e))&&void 0!==n?n:{};return{format:t.format,formatType:t.formatType}}function Bl(e,n){var t;switch(n){case"latitude":case"longitude":return"quantitative";case"row":case"column":case"facet":case"shape":case"strokeDash":return"nominal";case"order":return"ordinal"}if(ul(e)&&qe(e.sort))return"ordinal";var r=e.aggregate,i=e.bin;if(e.timeUnit)return"temporal";if(i||r&&!mi(r)&&!hi(r))return"quantitative";if(Dl(e)&&null!==(t=e.scale)&&void 0!==t&&t.type)switch(Wo[e.scale.type]){case"numeric":case"discretizing":return"quantitative";case"time":return"temporal"}return"nominal"}function Gl(e){return gl(e)?e:hl(e)?e.condition:void 0}function Hl(e){return Sl(e)?e:ml(e)?e.condition:void 0}function Vl(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(Ee(e)||Se(e)||We(e)){var i=Ee(e)?"string":Se(e)?"number":"boolean";return Ua(da(n,i,e)),{value:e}}return Sl(e)?Xl(e,n,t,r):ml(e)?Ce(Ce({},e),{},{condition:Xl(e.condition,n,t,r)}):e}function Xl(e,n,t,r){if(_l(e)){e.format;var i=e.formatType,a=Oe(e,f);if(qc(i)&&!t.customFormatTypes)return Ua(fa(n)),Xl(a,n,t,r)}else{var o=Fl(e)?"axis":Nl(e)?"legend":ol(e)?"header":null;if(o&&e[o]){var c=e[o],l=(c.format,c.formatType),u=Oe(c,d);if(qc(l)&&!t.customFormatTypes)return Ua(fa(n)),Xl(Ce(Ce({},e),{},Pe({},o,u)),n,t,r)}}return gl(e)?Yl(e,n,r):function(e){var n=e.type;if(n)return e;var t=e.datum;return n=Se(t)?"quantitative":Ee(t)?"nominal":Wa(t)?"temporal":void 0,Ce(Ce({},e),{},{type:n})}(e)}function Yl(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.compositeMark,i=void 0!==r&&r,a=e.aggregate,o=e.timeUnit,c=e.bin,l=e.field,u=Ce({},e);if(i||!a||gi(a)||mi(a)||hi(a)||(Ua(ha(a)),delete u.aggregate),o&&(u.timeUnit=co(o)),l&&(u.field="".concat(l)),Si(c)&&(u.bin=$l(c,n)),Ei(c)&&!Kr(n)&&Ua(za(n)),El(u)){var s=u.type,f=jo(s);s!==f&&(u.type=f),"quantitative"!==s&&bi(a)&&(Ua(pa(s,a)),u.type="quantitative")}else if(!Mr(n)){var d=Bl(u,n);u.type=d}if(El(u)){var p=Ql(u,n)||{},h=p.compatible,m=p.warning;!1===h&&Ua(m)}if(ul(u)&&Ee(u.sort)){var g=u.sort;if(nl(g))return Ce(Ce({},u),{},{sort:{encoding:g}});var y=g.substr(1);if("-"===g.charAt(0)&&nl(y))return Ce(Ce({},u),{},{sort:{encoding:y,order:"descending"}})}if(ol(u)){var b=u.header;if(b){var x=b.orient,k=Oe(b,v);if(x)return Ce(Ce({},u),{},{header:Ce(Ce({},k),{},{labelOrient:b.labelOrient||x,titleOrient:b.titleOrient||x})})}}return u}function $l(e,n){return We(e)?{maxbins:Fi(n)}:"binned"===e?{binned:!0}:e.maxbins||e.step?e:Ce(Ce({},e),{},{maxbins:Fi(n)})}var Jl={compatible:!0};function Ql(e,n){var t,r,i=e.type;if("geojson"===i&&"shape"!==n)return{compatible:!1,warning:"Channel ".concat(n," should not be used with a geojson data.")};switch(n){case Wt:case qt:case Bt:return Pl(e)?Jl:{compatible:!1,warning:xa(n)};case Gt:case Ht:case Yt:case $t:case ir:case ar:case or:case hr:case gr:case yr:case br:case xr:case kr:case ur:case Kt:case Jt:case wr:return Jl;case nr:case rr:case er:case tr:return i!==_o?{compatible:!1,warning:"Channel ".concat(n," should be used with a quantitative field only, not ").concat(e.type," field.")}:Jl;case sr:case fr:case dr:case vr:case lr:case Zt:case Qt:case Vt:case Xt:return"nominal"!==i||e.sort?Jl:{compatible:!1,warning:"Channel ".concat(n," should not be used with an unsorted discrete field.")};case cr:case pr:return Pl(e)||Dl(t=e)&&ec(null===(r=t.scale)||void 0===r?void 0:r.type)?Jl:{compatible:!1,warning:ka(n)};case mr:return"nominal"!==e.type||"sort"in e?Jl:{compatible:!1,warning:"Channel order is inappropriate for nominal field, which has no inherent order."}}}function Kl(e){var n,t=ql(e).formatType;return"time"===t||!t&&((n=e)&&("temporal"===n.type||gl(n)&&!!n.timeUnit))}function Zl(e,n){var t,r,i=n.timeUnit,a=n.type,o=n.wrapTime,c=n.undefinedIfExprNotRequired,l=i&&(null===(t=co(i))||void 0===t?void 0:t.unit),u=l||"temporal"===a;return Ni(e)?r=e.expr:Ci(e)?r=e.signal:Wa(e)?(u=!0,r=Xa(e)):(Ee(e)||Se(e))&&u&&(r="datetime(".concat(at(e),")"),function(e){return!!Ja[e]}(l)&&(Se(e)&&e<1e4||Ee(e)&&isNaN(Date.parse(e)))&&(r=Xa(Pe({},l,e)))),r?o&&u?"time(".concat(r,")"):r:c?void 0:at(e)}function eu(e,n){var t=e.type;return n.map((function(n){var r=Zl(n,{timeUnit:gl(e)&&!Ka(e.timeUnit)?e.timeUnit:void 0,type:t,undefinedIfExprNotRequired:!0});return void 0!==r?{signal:r}:n}))}function nu(e,n){return Si(e.bin)?li(n)&&["ordinal","nominal"].includes(e.type):(console.warn("Only call this method for binned field defs."),!1)}var tu={labelAlign:{part:"labels",vgProp:"align"},labelBaseline:{part:"labels",vgProp:"baseline"},labelColor:{part:"labels",vgProp:"fill"},labelFont:{part:"labels",vgProp:"font"},labelFontSize:{part:"labels",vgProp:"fontSize"},labelFontStyle:{part:"labels",vgProp:"fontStyle"},labelFontWeight:{part:"labels",vgProp:"fontWeight"},labelOpacity:{part:"labels",vgProp:"opacity"},labelOffset:null,labelPadding:null,gridColor:{part:"grid",vgProp:"stroke"},gridDash:{part:"grid",vgProp:"strokeDash"},gridDashOffset:{part:"grid",vgProp:"strokeDashOffset"},gridOpacity:{part:"grid",vgProp:"opacity"},gridWidth:{part:"grid",vgProp:"strokeWidth"},tickColor:{part:"ticks",vgProp:"stroke"},tickDash:{part:"ticks",vgProp:"strokeDash"},tickDashOffset:{part:"ticks",vgProp:"strokeDashOffset"},tickOpacity:{part:"ticks",vgProp:"opacity"},tickSize:null,tickWidth:{part:"ticks",vgProp:"strokeWidth"}};function ru(e){return null==e?void 0:e.condition}var iu=["domain","grid","labels","ticks","title"],au={grid:"grid",gridCap:"grid",gridColor:"grid",gridDash:"grid",gridDashOffset:"grid",gridOpacity:"grid",gridScale:"grid",gridWidth:"grid",orient:"main",bandPosition:"both",aria:"main",description:"main",domain:"main",domainCap:"main",domainColor:"main",domainDash:"main",domainDashOffset:"main",domainOpacity:"main",domainWidth:"main",format:"main",formatType:"main",labelAlign:"main",labelAngle:"main",labelBaseline:"main",labelBound:"main",labelColor:"main",labelFlush:"main",labelFlushOffset:"main",labelFont:"main",labelFontSize:"main",labelFontStyle:"main",labelFontWeight:"main",labelLimit:"main",labelLineHeight:"main",labelOffset:"main",labelOpacity:"main",labelOverlap:"main",labelPadding:"main",labels:"main",labelSeparation:"main",maxExtent:"main",minExtent:"main",offset:"both",position:"main",tickCap:"main",tickColor:"main",tickDash:"main",tickDashOffset:"main",tickMinStep:"both",tickOffset:"both",tickOpacity:"main",tickRound:"both",ticks:"main",tickSize:"main",tickWidth:"both",title:"main",titleAlign:"main",titleAnchor:"main",titleAngle:"main",titleBaseline:"main",titleColor:"main",titleFont:"main",titleFontSize:"main",titleFontStyle:"main",titleFontWeight:"main",titleLimit:"main",titleLineHeight:"main",titleOpacity:"main",titlePadding:"main",titleX:"main",titleY:"main",encode:"both",scale:"both",tickBand:"both",tickCount:"both",tickExtra:"both",translate:"both",values:"both",zindex:"both"},ou={orient:1,aria:1,bandPosition:1,description:1,domain:1,domainCap:1,domainColor:1,domainDash:1,domainDashOffset:1,domainOpacity:1,domainWidth:1,format:1,formatType:1,grid:1,gridCap:1,gridColor:1,gridDash:1,gridDashOffset:1,gridOpacity:1,gridWidth:1,labelAlign:1,labelAngle:1,labelBaseline:1,labelBound:1,labelColor:1,labelFlush:1,labelFlushOffset:1,labelFont:1,labelFontSize:1,labelFontStyle:1,labelFontWeight:1,labelLimit:1,labelLineHeight:1,labelOffset:1,labelOpacity:1,labelOverlap:1,labelPadding:1,labels:1,labelSeparation:1,maxExtent:1,minExtent:1,offset:1,position:1,tickBand:1,tickCap:1,tickColor:1,tickCount:1,tickDash:1,tickDashOffset:1,tickExtra:1,tickMinStep:1,tickOffset:1,tickOpacity:1,tickRound:1,ticks:1,tickSize:1,tickWidth:1,title:1,titleAlign:1,titleAnchor:1,titleAngle:1,titleBaseline:1,titleColor:1,titleFont:1,titleFontSize:1,titleFontStyle:1,titleFontWeight:1,titleLimit:1,titleLineHeight:1,titleOpacity:1,titlePadding:1,titleX:1,titleY:1,translate:1,values:1,zindex:1},cu=Ce(Ce({},ou),{},{style:1,labelExpr:1,encoding:1});function lu(e){return!!cu[e]}var uu=bt({axis:1,axisBand:1,axisBottom:1,axisDiscrete:1,axisLeft:1,axisPoint:1,axisQuantitative:1,axisRight:1,axisTemporal:1,axisTop:1,axisX:1,axisXBand:1,axisXDiscrete:1,axisXPoint:1,axisXQuantitative:1,axisXTemporal:1,axisY:1,axisYBand:1,axisYDiscrete:1,axisYPoint:1,axisYQuantitative:1,axisYTemporal:1});function su(e){return"mark"in e}var fu=function(){function e(n,t){be(this,e),this.name=n,this.run=t}return ke(e,[{key:"hasMatchingType",value:function(e){return!!su(e)&&(Fc(n=e.mark)?n.type:n)===this.name;var n}}]),e}();function du(e,n){var t=e&&e[n];return!!t&&(qe(t)?ut(t,(function(e){return!!e.field})):gl(t)||hl(t))}function vu(e,n){var t=e&&e[n];return!!t&&(qe(t)?ut(t,(function(e){return!!e.field})):gl(t)||bl(t)||ml(t))}function pu(e,n){if(Kr(n)){var t=e[n];if((gl(t)||bl(t))&&(No(t.type)||gl(t)&&t.timeUnit))return vu(e,Hr(n))}return!1}function hu(e){return ut(jr,(function(n){if(du(e,n)){var t=e[n];if(qe(t))return ut(t,(function(e){return!!e.aggregate}));var r=Gl(t);return r&&!!r.aggregate}return!1}))}function mu(e,n){var t=[],r=[],i=[],a=[],o={};return xu(e,(function(c,l){if(gl(c)){var u=c.field,s=c.aggregate,f=c.bin,d=c.timeUnit,v=Oe(c,p);if(s||d||f){var h,m=Ul(c),g=null==m?void 0:m.title,y=Cl(c,{forAs:!0}),b=Ce(Ce(Ce({},g?[]:{title:Ml(c,n,{allowDisabling:!0})}),v),{},{field:y});if(s){if(mi(s)?(h="argmax",y=Cl({op:"argmax",field:s.argmax},{forAs:!0}),b.field="".concat(y,".").concat(u)):hi(s)?(h="argmin",y=Cl({op:"argmin",field:s.argmin},{forAs:!0}),b.field="".concat(y,".").concat(u)):"boxplot"!==s&&"errorbar"!==s&&"errorband"!==s&&(h=s),h){var x={op:h,as:y};u&&(x.field=u),a.push(x)}}else if(t.push(y),El(c)&&Si(f)){if(r.push({bin:f,field:u,as:y}),t.push(Cl(c,{binSuffix:"end"})),nu(c,l)&&t.push(Cl(c,{binSuffix:"range"})),Kr(l)){var k={field:"".concat(y,"_end")};o["".concat(l,"2")]=k}b.bin="binned",Mr(l)||(b.type=_o)}else if(d&&!Ka(d)){i.push({timeUnit:d,field:u,as:y});var w=El(c)&&c.type!==To&&"time";w&&(l===hr||l===br?b.formatType=w:!function(e){return!!Yr[e]}(l)?Kr(l)&&(b.axis=Ce({formatType:w},b.axis)):b.legend=Ce({formatType:w},b.legend))}o[l]=b}else t.push(u),o[l]=e[l]}else o[l]=e[l]})),{bins:r,timeUnits:i,aggregate:a,groupby:t,encoding:o}}function gu(e,n,t,r){var i,a,o={},c=ze(bt(e));try{for(c.s();!(i=c.n()).done;){var l=i.value;Rr(l)||Ua("".concat(a=l,"-encoding is dropped as ").concat(a," is not a valid encoding channel."))}}catch(d){c.e(d)}finally{c.f()}var u,s=ze(Xr);try{var f=function(){var i=u.value;if(!e[i])return"continue";var a=e[i];if(ri(i)){var c=Vr(i),l=o[c];if(gl(l)){if(function(e){return"quantitative"===e||"temporal"===e}(l.type)&&gl(a)&&!l.timeUnit)return Ua(function(e){return"".concat(e,"Offset dropped because ").concat(e," is continuous")}(c)),"continue"}else i=c,Ua(function(e){return"There is no ".concat(e," encoding. Replacing ").concat(e,"Offset encoding as ").concat(e,".")}(c))}if("angle"!==i||"arc"!==n||e.theta||(Ua("Arc marks uses theta channel rather than angle, replacing angle with theta."),i=Kt),!function(e,n,t){var r=ui(n,t);if(!r)return!1;if("binned"===r){var i=e[n===Vt?Gt:Ht];return!!(gl(i)&&gl(e[n])&&Ei(i.bin))}return!0}(e,i,n))return Ua(ya(i,n)),"continue";if(i===lr&&"line"===n){var s=Gl(e[i]);if(null!=s&&s.aggregate)return Ua("Line marks cannot encode size with a non-groupby field. You may want to use trail marks instead."),"continue"}if(i===ir&&(t?"fill"in e:"stroke"in e))return Ua(ma("encoding",{fill:"fill"in e,stroke:"stroke"in e})),"continue";if(i===gr||i===mr&&!qe(a)&&!Ol(a)||i===br&&qe(a)){if(a){if(i===mr){var f=e[i];if(vl(f))return o[i]=f,"continue"}o[i]=Be(a).reduce((function(e,n){return gl(n)?e.push(Yl(n,i)):Ua(ga(n,i)),e}),[])}}else{if(i===br&&null===a)o[i]=null;else if(!(gl(a)||bl(a)||Ol(a)||pl(a)||Ci(a)))return Ua(ga(a,i)),"continue";o[i]=Vl(a,i,r)}};for(s.s();!(u=s.n()).done;)f()}catch(d){s.e(d)}finally{s.f()}return o}function yu(e,n){var t,r={},i=ze(bt(e));try{for(i.s();!(t=i.n()).done;){var a=t.value,o=Vl(e[a],a,n,{compositeMark:!0});r[a]=o}}catch(c){i.e(c)}finally{i.f()}return r}function bu(e){var n,t=[],r=ze(bt(e));try{for(r.s();!(n=r.n()).done;){var i=n.value;if(du(e,i)){var a,o=e[i],c=ze(Be(o));try{for(c.s();!(a=c.n()).done;){var l=a.value;gl(l)?t.push(l):hl(l)&&t.push(l.condition)}}catch(u){c.e(u)}finally{c.f()}}}}catch(u){r.e(u)}finally{r.f()}return t}function xu(e,n,t){if(e){var r,i=ze(bt(e));try{for(i.s();!(r=i.n()).done;){var a=r.value,o=e[a];if(qe(o)){var c,l=ze(o);try{for(l.s();!(c=l.n()).done;){var u=c.value;n.call(t,u,a)}}catch(s){l.e(s)}finally{l.f()}}else n.call(t,o,a)}}catch(s){i.e(s)}finally{i.f()}}}function ku(e,n){return bt(n).reduce((function(t,r){switch(r){case Gt:case Ht:case xr:case wr:case kr:case Vt:case Xt:case Yt:case $t:case Kt:case Zt:case Jt:case Qt:case er:case nr:case tr:case rr:case hr:case cr:case ur:case br:return t;case mr:if("line"===e||"trail"===e)return t;case gr:case yr:var i=n[r];if(qe(i)||gl(i)){var a,o=ze(Be(i));try{for(o.s();!(a=o.n()).done;){var c=a.value;c.aggregate||t.push(Cl(c,{}))}}catch(u){o.e(u)}finally{o.f()}}return t;case lr:if("trail"===e)return t;case ir:case ar:case or:case sr:case fr:case dr:case pr:case vr:var l=Gl(n[r]);return l&&!l.aggregate&&t.push(Cl(l,{})),t}}),[])}function wu(e,n,t){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if("tooltip"in t)return{tooltip:t.tooltip};var i=e.map((function(e){var t=e.fieldPrefix,i=e.titlePrefix,a=r?" of ".concat(Su(n)):"";return{field:t+n.field,type:n.type,title:Ci(i)?{signal:"".concat(i,'"').concat(escape(a),'"')}:i+a}})),a=bu(t).map(Al);return{tooltip:[].concat(_e(i),_e(vt(a,ot)))}}function Su(e){return jt(e.title,e.field)}function Eu(e,n,t,r,i){var a=t.scale,o=t.axis;return function(c){var l=c.partName,u=c.mark,s=c.positionPrefix,f=c.endPositionPrefix,d=void 0===f?void 0:f,v=c.extraEncoding,p=void 0===v?{}:v,h=Su(t);return Ou(e,l,i,{mark:u,encoding:Ce(Ce(Ce(Pe({},n,Ce(Ce(Ce({field:"".concat(s,"_").concat(t.field),type:t.type},void 0!==h?{title:h}:{}),void 0!==a?{scale:a}:{}),void 0!==o?{axis:o}:{})),Ee(d)?Pe({},"".concat(n,"2"),{field:"".concat(d,"_").concat(t.field)}):{}),r),p)})}}function Ou(e,n,t,r){var i=e.clip,a=e.color,o=e.opacity,c=e.type;return e[n]||void 0===e[n]&&t[n]?[Ce(Ce({},r),{},{mark:Ce(Ce(Ce(Ce(Ce(Ce({},t[n]),i?{clip:i}:{}),a?{color:a}:{}),o?{opacity:o}:{}),Fc(r.mark)?r.mark:{type:r.mark}),{},{style:"".concat(c,"-").concat(String(n))},We(e[n])?{}:e[n])})]:[]}function Du(e,n,t){var r=e.encoding,i="vertical"===n?"y":"x",a=r[i],o=r["".concat(i,"2")],c=r["".concat(i,"Error")],l=r["".concat(i,"Error2")];return{continuousAxisChannelDef:Fu(a,t),continuousAxisChannelDef2:Fu(o,t),continuousAxisChannelDefError:Fu(c,t),continuousAxisChannelDefError2:Fu(l,t),continuousAxis:i}}function Fu(e,n){if(null!=e&&e.aggregate){var t=e.aggregate,r=Oe(e,m);return t!==n&&Ua(function(e,n){return"Continuous axis should not have customized aggregation function ".concat(e,"; ").concat(n," already agregates the axis.")}(t,n)),r}return e}function Nu(e,n){var t=e.mark,r=e.encoding,i=r.x,a=r.y;if(Fc(t)&&t.orient)return t.orient;if(xl(i)){if(xl(a)){var o=gl(i)&&i.aggregate,c=gl(a)&&a.aggregate;if(o||c!==n){if(c||o!==n){if(o===n&&c===n)throw new Error("Both x and y cannot have aggregate");return Kl(a)&&!Kl(i)?"horizontal":"vertical"}return"horizontal"}return"vertical"}return"horizontal"}if(xl(a))return"vertical";throw new Error("Need a valid continuous axis for ".concat(n,"s"))}var _u="boxplot",Au=new fu(_u,Cu);function Tu(e){return Se(e)?"tukey":e}function Cu(e,n){var t,r=n.config,i=e=Ce(Ce({},e),{},{encoding:yu(e.encoding,r)}),a=i.mark,o=(i.encoding,i.params),c=(i.projection,Oe(i,g)),l=Fc(a)?a:{type:a};o&&Ua(ca("boxplot"));var u,s=null!==(t=l.extent)&&void 0!==t?t:r.boxplot.extent,f=Hi("size",l,r),d=l.invalid,v=Tu(s),p=function(e,n,t){var r=Nu(e,_u),i=Du(e,r,_u),a=i.continuousAxisChannelDef,o=i.continuousAxis,c=a.field,l=Tu(n),u=[].concat(_e(Pu(c)),[{op:"median",field:c,as:"mid_box_".concat(c)},{op:"min",field:c,as:("min-max"===l?"lower_whisker_":"min_")+c},{op:"max",field:c,as:("min-max"===l?"upper_whisker_":"max_")+c}]),s="min-max"===l||"tukey"===l?[]:[{calculate:'datum["upper_box_'.concat(c,'"] - datum["lower_box_').concat(c,'"]'),as:"iqr_".concat(c)},{calculate:'min(datum["upper_box_'.concat(c,'"] + datum["iqr_').concat(c,'"] * ').concat(n,', datum["max_').concat(c,'"])'),as:"upper_whisker_".concat(c)},{calculate:'max(datum["lower_box_'.concat(c,'"] - datum["iqr_').concat(c,'"] * ').concat(n,', datum["min_').concat(c,'"])'),as:"lower_whisker_".concat(c)}],f=e.encoding,d=(f[o],Oe(f,[o].map(je))),v=function(e){var n,t,r=e.tooltip,i=Oe(e,h);if(!r)return{filteredEncoding:i};if(qe(r)){var a,o=ze(r);try{for(o.s();!(a=o.n()).done;){var c=a.value;c.aggregate?(n||(n=[]),n.push(c)):(t||(t=[]),t.push(c))}}catch(l){o.e(l)}finally{o.f()}n&&(i.tooltip=n)}else r.aggregate?i.tooltip=r:t=r;return qe(t)&&1===t.length&&(t=t[0]),{customTooltipWithoutAggregatedField:t,filteredEncoding:i}}(d),p=v.customTooltipWithoutAggregatedField,m=mu(v.filteredEncoding,t),g=m.bins,y=m.timeUnits,b=m.aggregate,x=m.groupby,k=m.encoding,w="vertical"===r?"horizontal":"vertical",S=r,E=[].concat(_e(g),_e(y),[{aggregate:[].concat(_e(b),_e(u)),groupby:x}],s);return{bins:g,timeUnits:y,transform:E,groupby:x,aggregate:b,continuousAxisChannelDef:a,continuousAxis:o,encodingWithoutContinuousAxis:k,ticksOrient:w,boxOrient:S,customTooltipWithoutAggregatedField:p}}(e,s,r),m=p.bins,x=p.timeUnits,k=p.transform,w=p.continuousAxisChannelDef,S=p.continuousAxis,E=p.groupby,O=p.aggregate,D=p.encodingWithoutContinuousAxis,F=p.ticksOrient,N=p.boxOrient,_=p.customTooltipWithoutAggregatedField,A=D.color,T=D.size,C=Oe(D,y),P=function(e){return Eu(l,S,w,e,r.boxplot)},j=P(C),z=P(D),L=P(Ce(Ce({},C),T?{size:T}:{})),R=wu([{fieldPrefix:"min-max"===v?"upper_whisker_":"max_",titlePrefix:"Max"},{fieldPrefix:"upper_box_",titlePrefix:"Q3"},{fieldPrefix:"mid_box_",titlePrefix:"Median"},{fieldPrefix:"lower_box_",titlePrefix:"Q1"},{fieldPrefix:"min-max"===v?"lower_whisker_":"min_",titlePrefix:"Min"}],w,D),I={type:"tick",color:"black",opacity:1,orient:F,invalid:d,aria:!1},M="min-max"===v?R:wu([{fieldPrefix:"upper_whisker_",titlePrefix:"Upper Whisker"},{fieldPrefix:"lower_whisker_",titlePrefix:"Lower Whisker"}],w,D),U=[].concat(_e(j({partName:"rule",mark:{type:"rule",invalid:d,aria:!1},positionPrefix:"lower_whisker",endPositionPrefix:"lower_box",extraEncoding:M})),_e(j({partName:"rule",mark:{type:"rule",invalid:d,aria:!1},positionPrefix:"upper_box",endPositionPrefix:"upper_whisker",extraEncoding:M})),_e(j({partName:"ticks",mark:I,positionPrefix:"lower_whisker",extraEncoding:M})),_e(j({partName:"ticks",mark:I,positionPrefix:"upper_whisker",extraEncoding:M}))),W=[].concat(_e("tukey"!==v?U:[]),_e(z({partName:"box",mark:Ce(Ce({type:"bar"},f?{size:f}:{}),{},{orient:N,invalid:d,ariaRoleDescription:"box"}),positionPrefix:"lower_box",endPositionPrefix:"upper_box",extraEncoding:R})),_e(L({partName:"median",mark:Ce(Ce(Ce({type:"tick",invalid:d},Ue(r.boxplot.median)&&r.boxplot.median.color?{color:r.boxplot.median.color}:{}),f?{size:f}:{}),{},{orient:F,aria:!1}),positionPrefix:"mid_box",extraEncoding:R})));if("min-max"===v)return Ce(Ce({},c),{},{transform:(null!==(u=c.transform)&&void 0!==u?u:[]).concat(k),layer:W});var q,B,G='datum["lower_box_'.concat(w.field,'"]'),H='datum["upper_box_'.concat(w.field,'"]'),V="(".concat(H," - ").concat(G,")"),X="".concat(G," - ").concat(s," * ").concat(V),Y="".concat(H," + ").concat(s," * ").concat(V),$='datum["'.concat(w.field,'"]'),J={joinaggregate:Pu(w.field),groupby:E},Q={transform:[{filter:"(".concat(X," <= ").concat($,") && (").concat($," <= ").concat(Y,")")},{aggregate:[{op:"min",field:w.field,as:"lower_whisker_".concat(w.field)},{op:"max",field:w.field,as:"upper_whisker_".concat(w.field)},{op:"min",field:"lower_box_".concat(w.field),as:"lower_box_".concat(w.field)},{op:"max",field:"upper_box_".concat(w.field),as:"upper_box_".concat(w.field)}].concat(_e(O)),groupby:E}],layer:U},K=(C.tooltip,Oe(C,b)),Z=w.scale,ee=w.axis,ne=Su(w),te=it(ee,["title"]),re=Ou(l,"outliers",r.boxplot,{transform:[{filter:"(".concat($," < ").concat(X,") || (").concat($," > ").concat(Y,")")}],mark:"point",encoding:Ce(Ce(Ce(Pe({},S,Ce(Ce(Ce({field:w.field,type:w.type},void 0!==ne?{title:ne}:{}),void 0!==Z?{scale:Z}:{}),yt(te)?{}:{axis:te})),K),A?{color:A}:{}),_?{tooltip:_}:{})})[0],ie=[].concat(_e(m),_e(x),[J]);re?q={transform:ie,layer:[re,Q]}:(B=(q=Q).transform).unshift.apply(B,_e(ie));return Ce(Ce({},c),{},{layer:[q,{transform:k,layer:W}]})}function Pu(e){return[{op:"q1",field:e,as:"lower_box_".concat(e)},{op:"q3",field:e,as:"upper_box_".concat(e)}]}var ju="errorbar",zu=new fu(ju,Lu);function Lu(e,n){var t=n.config,r=Iu(e=Ce(Ce({},e),{},{encoding:yu(e.encoding,t)}),ju,t),i=r.transform,a=r.continuousAxisChannelDef,o=r.continuousAxis,c=r.encodingWithoutContinuousAxis,l=r.ticksOrient,u=r.markDef,s=r.outerSpec,f=r.tooltipEncoding;delete c.size;var d=Eu(u,o,a,c,t.errorbar),v=u.thickness,p=u.size,h=Ce(Ce({type:"tick",orient:l,aria:!1},void 0!==v?{thickness:v}:{}),void 0!==p?{size:p}:{}),m=[].concat(_e(d({partName:"ticks",mark:h,positionPrefix:"lower",extraEncoding:f})),_e(d({partName:"ticks",mark:h,positionPrefix:"upper",extraEncoding:f})),_e(d({partName:"rule",mark:Ce({type:"rule",ariaRoleDescription:"errorbar"},void 0!==v?{size:v}:{}),positionPrefix:"lower",endPositionPrefix:"upper",extraEncoding:f})));return Ce(Ce({},s),{},{transform:i},m.length>1?{layer:m}:Ce({},m[0]))}function Ru(e,n){var t=e.encoding;if(function(e){return(Sl(e.x)||Sl(e.y))&&!Sl(e.x2)&&!Sl(e.y2)&&!Sl(e.xError)&&!Sl(e.xError2)&&!Sl(e.yError)&&!Sl(e.yError2)}(t))return{orient:Nu(e,n),inputType:"raw"};var r=function(e){return Sl(e.x2)||Sl(e.y2)}(t),i=function(e){return Sl(e.xError)||Sl(e.xError2)||Sl(e.yError)||Sl(e.yError2)}(t),a=t.x,o=t.y;if(r){if(i)throw new Error("".concat(n," cannot be both type aggregated-upper-lower and aggregated-error"));var c=t.x2,l=t.y2;if(Sl(c)&&Sl(l))throw new Error("".concat(n," cannot have both x2 and y2"));if(Sl(c)){if(xl(a))return{orient:"horizontal",inputType:"aggregated-upper-lower"};throw new Error("Both x and x2 have to be quantitative in ".concat(n))}if(Sl(l)){if(xl(o))return{orient:"vertical",inputType:"aggregated-upper-lower"};throw new Error("Both y and y2 have to be quantitative in ".concat(n))}throw new Error("No ranged axis")}var u=t.xError,s=t.xError2,f=t.yError,d=t.yError2;if(Sl(s)&&!Sl(u))throw new Error("".concat(n," cannot have xError2 without xError"));if(Sl(d)&&!Sl(f))throw new Error("".concat(n," cannot have yError2 without yError"));if(Sl(u)&&Sl(f))throw new Error("".concat(n," cannot have both xError and yError with both are quantiative"));if(Sl(u)){if(xl(a))return{orient:"horizontal",inputType:"aggregated-error"};throw new Error("All x, xError, and xError2 (if exist) have to be quantitative")}if(Sl(f)){if(xl(o))return{orient:"vertical",inputType:"aggregated-error"};throw new Error("All y, yError, and yError2 (if exist) have to be quantitative")}throw new Error("No ranged axis")}function Iu(e,n,t){var r,i=e.mark,a=e.encoding,o=e.params,c=(e.projection,Oe(e,x)),l=Fc(i)?i:{type:i};o&&Ua(ca(n));var u=Ru(e,n),s=u.orient,f=u.inputType,d=Du(e,s,n),v=d.continuousAxisChannelDef,p=d.continuousAxisChannelDef2,h=d.continuousAxisChannelDefError,m=d.continuousAxisChannelDefError2,g=d.continuousAxis,y=function(e,n,t,r,i,a,o,c){var l,u=[],s=[],f=n.field,d=!1;if("raw"===a){var v,p,h,m=e.center?e.center:e.extent?"iqr"===e.extent?"median":"mean":c.errorbar.center,g=e.extent?e.extent:"mean"===m?"stderr":"iqr";if("median"===m!=("iqr"===g)&&Ua(function(e,n,t){return"".concat(e," is not usually used with ").concat(n," for ").concat(t,".")}(m,g,o)),"stderr"===g||"stdev"===g)u=[{op:g,field:f,as:"extent_".concat(f)},{op:m,field:f,as:"center_".concat(f)}],s=[{calculate:'datum["center_'.concat(f,'"] + datum["extent_').concat(f,'"]'),as:"upper_".concat(f)},{calculate:'datum["center_'.concat(f,'"] - datum["extent_').concat(f,'"]'),as:"lower_".concat(f)}],l=[{fieldPrefix:"center_",titlePrefix:Dt(m)},{fieldPrefix:"upper_",titlePrefix:Mu(m,g,"+")},{fieldPrefix:"lower_",titlePrefix:Mu(m,g,"-")}],d=!0;else"ci"===g?(v="mean",p="ci0",h="ci1"):(v="median",p="q1",h="q3"),u=[{op:p,field:f,as:"lower_".concat(f)},{op:h,field:f,as:"upper_".concat(f)},{op:v,field:f,as:"center_".concat(f)}],l=[{fieldPrefix:"upper_",titlePrefix:Ml({field:f,aggregate:h,type:"quantitative"},c,{allowDisabling:!1})},{fieldPrefix:"lower_",titlePrefix:Ml({field:f,aggregate:p,type:"quantitative"},c,{allowDisabling:!1})},{fieldPrefix:"center_",titlePrefix:Ml({field:f,aggregate:v,type:"quantitative"},c,{allowDisabling:!1})}]}else{(e.center||e.extent)&&Ua(function(e,n){return"".concat(n?"extent ":"").concat(n&&e?"and ":"").concat(e?"center ":"").concat(n&&e?"are ":"is ","not needed when data are aggregated.")}(e.center,e.extent)),"aggregated-upper-lower"===a?(l=[],s=[{calculate:'datum["'.concat(t.field,'"]'),as:"upper_".concat(f)},{calculate:'datum["'.concat(f,'"]'),as:"lower_".concat(f)}]):"aggregated-error"===a&&(l=[{fieldPrefix:"",titlePrefix:f}],s=[{calculate:'datum["'.concat(f,'"] + datum["').concat(r.field,'"]'),as:"upper_".concat(f)}],i?s.push({calculate:'datum["'.concat(f,'"] + datum["').concat(i.field,'"]'),as:"lower_".concat(f)}):s.push({calculate:'datum["'.concat(f,'"] - datum["').concat(r.field,'"]'),as:"lower_".concat(f)}));var y,b=ze(s);try{for(b.s();!(y=b.n()).done;){var x=y.value;l.push({fieldPrefix:x.as.substring(0,6),titlePrefix:Tt(Tt(x.calculate,'datum["',""),'"]',"")})}}catch(k){b.e(k)}finally{b.f()}}return{postAggregateCalculates:s,errorBarSpecificAggregate:u,tooltipSummary:l,tooltipTitleWithFieldName:d}}(l,v,p,h,m,f,n,t),b=y.errorBarSpecificAggregate,k=y.postAggregateCalculates,w=y.tooltipSummary,S=y.tooltipTitleWithFieldName,E="x"===g?"x2":"y2",O="x"===g?"xError":"yError",D="x"===g?"xError2":"yError2",F=(a[g],a[E],a[O],a[D],mu(Oe(a,[g,E,O,D].map(je)),t)),N=F.bins,_=F.timeUnits,A=F.aggregate,T=F.groupby,C=F.encoding,P=[].concat(_e(A),_e(b)),j="raw"!==f?[]:T,z=wu(w,v,C,S);return{transform:[].concat(_e(null!==(r=c.transform)&&void 0!==r?r:[]),_e(N),_e(_),_e(0===P.length?[]:[{aggregate:P,groupby:j}]),_e(k)),groupby:j,continuousAxisChannelDef:v,continuousAxis:g,encodingWithoutContinuousAxis:C,ticksOrient:"vertical"===s?"horizontal":"vertical",markDef:l,outerSpec:c,tooltipEncoding:z}}function Mu(e,n,t){return"".concat(Dt(e)," ").concat(t," ").concat(n)}var Uu="errorband",Wu=new fu(Uu,qu);function qu(e,n){var t=n.config,r=Iu(e=Ce(Ce({},e),{},{encoding:yu(e.encoding,t)}),Uu,t),i=r.transform,a=r.continuousAxisChannelDef,o=r.continuousAxis,c=r.encodingWithoutContinuousAxis,l=r.markDef,u=r.outerSpec,s=r.tooltipEncoding,f=l,d=Eu(f,o,a,c,t.errorband),v=void 0!==e.encoding.x&&void 0!==e.encoding.y,p={type:v?"area":"rect"},h={type:v?"line":"rule"},m=Ce(Ce({},f.interpolate?{interpolate:f.interpolate}:{}),f.tension&&f.interpolate?{tension:f.tension}:{});return v?(p=Ce(Ce(Ce({},p),m),{},{ariaRoleDescription:"errorband"}),h=Ce(Ce(Ce({},h),m),{},{aria:!1})):f.interpolate?Ua(Pa("interpolate")):f.tension&&Ua(Pa("tension")),Ce(Ce({},u),{},{transform:i,layer:[].concat(_e(d({partName:"band",mark:p,positionPrefix:"lower",endPositionPrefix:"upper",extraEncoding:s})),_e(d({partName:"borders",mark:h,positionPrefix:"lower",extraEncoding:s})),_e(d({partName:"borders",mark:h,positionPrefix:"upper",extraEncoding:s})))})}var Bu={};function Gu(e,n,t){var r=new fu(e,n);Bu[e]={normalizer:r,parts:t}}Gu(_u,Cu,["box","median","outliers","rule","ticks"]),Gu(ju,Lu,["ticks","rule"]),Gu(Uu,qu,["band","borders"]);var Hu=["gradientHorizontalMaxLength","gradientHorizontalMinLength","gradientVerticalMaxLength","gradientVerticalMinLength","unselectedOpacity"],Vu={titleAlign:"align",titleAnchor:"anchor",titleAngle:"angle",titleBaseline:"baseline",titleColor:"color",titleFont:"font",titleFontSize:"fontSize",titleFontStyle:"fontStyle",titleFontWeight:"fontWeight",titleLimit:"limit",titleLineHeight:"lineHeight",titleOrient:"orient",titlePadding:"offset"},Xu={labelAlign:"align",labelAnchor:"anchor",labelAngle:"angle",labelBaseline:"baseline",labelColor:"color",labelFont:"font",labelFontSize:"fontSize",labelFontStyle:"fontStyle",labelFontWeight:"fontWeight",labelLimit:"limit",labelLineHeight:"lineHeight",labelOrient:"orient",labelPadding:"offset"},Yu=bt(Vu),$u=bt(Xu),Ju=bt({header:1,headerRow:1,headerColumn:1,headerFacet:1}),Qu=["size","shape","fill","stroke","strokeDash","strokeWidth","opacity"],Ku="_vgsid_",Zu={point:{on:"click",fields:[Ku],toggle:"event.shiftKey",resolve:"global",clear:"dblclick"},interval:{on:"[mousedown, window:mouseup] > window:mousemove!",encodings:["x","y"],translate:"[mousedown, window:mouseup] > window:mousemove!",zoom:"wheel!",mark:{fill:"#333",fillOpacity:.125,stroke:"white"},resolve:"global",clear:"dblclick"}};function es(e){return"legend"===e||!(null==e||!e.legend)}function ns(e){return es(e)&&Ue(e)}function ts(e){return!(null==e||!e.select)}function rs(e){var n,t=[],r=ze(e||[]);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(!ts(i)){var a=i.expr,o=i.bind,c=Oe(i,k);if(o&&a){var l=Ce(Ce({},c),{},{bind:o,init:a});t.push(l)}else{var u=Ce(Ce(Ce({},c),a?{update:a}:{}),o?{bind:o}:{});t.push(u)}}}}catch(s){r.e(s)}finally{r.f()}return t}function is(e){return"concat"in e}function as(e){return"vconcat"in e}function os(e){return"hconcat"in e}function cs(e){var n,t=e.step;return e.offsetIsDiscrete?null!==(n=t.for)&&void 0!==n?n:"offset":"position"}function ls(e){return Ue(e)&&void 0!==e.step}function us(e){return e.view||e.width||e.height}var ss=bt({align:1,bounds:1,center:1,columns:1,spacing:1});function fs(e,n){var t;return null!==(t=e[n])&&void 0!==t?t:e["width"===n?"continuousWidth":"continuousHeight"]}function ds(e,n){var t=vs(e,n);return ls(t)?t.step:ps}function vs(e,n){var t;return jt(null!==(t=e[n])&&void 0!==t?t:e["width"===n?"discreteWidth":"discreteHeight"],{step:e.step})}var ps=20,hs={background:"white",padding:5,timeFormat:"%b %d, %Y",countTitle:"Count of Records",view:{continuousWidth:200,continuousHeight:200,step:ps},mark:{color:"#4c78a8",invalid:"filter",timeUnitBandSize:1},arc:{},area:{},bar:Pc,circle:{},geoshape:{},image:{},line:{},point:{},rect:jc,rule:{color:"black"},square:{},text:{color:"black"},tick:{thickness:1},trail:{},boxplot:{size:14,extent:1.5,box:{},median:{color:"white"},outliers:{},rule:{},ticks:null},errorbar:{center:"mean",rule:!0,ticks:!1},errorband:{band:{opacity:.3},borders:!1},scale:{pointPadding:.5,barBandPaddingInner:.1,rectBandPaddingInner:0,bandWithNestedOffsetPaddingInner:.2,bandWithNestedOffsetPaddingOuter:.2,minBandSize:2,minFontSize:8,maxFontSize:40,minOpacity:.3,maxOpacity:.8,minSize:9,minStrokeWidth:1,maxStrokeWidth:4,quantileCount:4,quantizeCount:4,zero:!0},projection:{},legend:{gradientHorizontalMaxLength:200,gradientHorizontalMinLength:100,gradientVerticalMaxLength:200,gradientVerticalMinLength:64,unselectedOpacity:.35},header:{titlePadding:10,labelPadding:10},headerColumn:{},headerRow:{},headerFacet:{},selection:Zu,style:{},title:{},facet:{spacing:20},concat:{spacing:20},normalizedNumberFormat:".0%"},ms=["#4c78a8","#f58518","#e45756","#72b7b2","#54a24b","#eeca3b","#b279a2","#ff9da6","#9d755d","#bab0ac"],gs={text:11,guideLabel:10,guideTitle:11,groupTitle:13,groupSubtitle:12},ys={blue:ms[0],orange:ms[1],red:ms[2],teal:ms[3],green:ms[4],yellow:ms[5],purple:ms[6],pink:ms[7],brown:ms[8],gray0:"#000",gray1:"#111",gray2:"#222",gray3:"#333",gray4:"#444",gray5:"#555",gray6:"#666",gray7:"#777",gray8:"#888",gray9:"#999",gray10:"#aaa",gray11:"#bbb",gray12:"#ccc",gray13:"#ddd",gray14:"#eee",gray15:"#fff"};function bs(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{signals:[{name:"color",value:Ue(e)?Ce(Ce({},ys),e):ys}],mark:{color:{signal:"color.blue"}},rule:{color:{signal:"color.gray0"}},text:{color:{signal:"color.gray0"}},style:{"guide-label":{fill:{signal:"color.gray0"}},"guide-title":{fill:{signal:"color.gray0"}},"group-title":{fill:{signal:"color.gray0"}},"group-subtitle":{fill:{signal:"color.gray0"}},cell:{stroke:{signal:"color.gray8"}}},axis:{domainColor:{signal:"color.gray13"},gridColor:{signal:"color.gray8"},tickColor:{signal:"color.gray13"}},range:{category:[{signal:"color.blue"},{signal:"color.orange"},{signal:"color.red"},{signal:"color.teal"},{signal:"color.green"},{signal:"color.yellow"},{signal:"color.purple"},{signal:"color.pink"},{signal:"color.brown"},{signal:"color.grey8"}]}}}function xs(e){return{signals:[{name:"fontSize",value:Ue(e)?Ce(Ce({},gs),e):gs}],text:{fontSize:{signal:"fontSize.text"}},style:{"guide-label":{fontSize:{signal:"fontSize.guideLabel"}},"guide-title":{fontSize:{signal:"fontSize.guideTitle"}},"group-title":{fontSize:{signal:"fontSize.groupTitle"}},"group-subtitle":{fontSize:{signal:"fontSize.groupSubtitle"}}}}}function ks(e){return{text:{font:e},style:{"guide-label":{font:e},"guide-title":{font:e},"group-title":{font:e},"group-subtitle":{font:e}}}}function ws(e){var n,t={},r=ze(bt(e||{}));try{for(r.s();!(n=r.n()).done;){var i=n.value,a=e[i];t[i]=ru(a)?Ii(a):Mi(a)}}catch(o){r.e(o)}finally{r.f()}return t}function Ss(e){var n,t={},r=ze(bt(e));try{for(r.s();!(n=r.n()).done;){var i=n.value;t[i]=ws(e[i])}}catch(a){r.e(a)}finally{r.f()}return t}var Es=[].concat(_e(Ac),_e(uu),_e(Ju),["background","padding","legend","lineBreak","scale","style","title","view"]);function Os(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.color,t=e.font,r=e.fontSize,i=e.selection,a=Oe(e,w),o=Xe({},nt(hs),t?ks(t):{},n?bs(n):{},r?xs(r):{},a||{});i&&Te(o,"selection",i,!0);for(var c=it(o,Es),l=0,u=["background","lineBreak","padding"];l<u.length;l++){var s=u[l];o[s]&&(c[s]=Mi(o[s]))}var f,d=ze(Ac);try{for(d.s();!(f=d.n()).done;){var v=f.value;o[v]&&(c[v]=_i(o[v]))}}catch(x){d.e(x)}finally{d.f()}var p,h=ze(uu);try{for(h.s();!(p=h.n()).done;){var m=p.value;o[m]&&(c[m]=ws(o[m]))}}catch(x){h.e(x)}finally{h.f()}var g,y=ze(Ju);try{for(y.s();!(g=y.n()).done;){var b=g.value;o[b]&&(c[b]=_i(o[b]))}}catch(x){y.e(x)}finally{y.f()}return o.legend&&(c.legend=_i(o.legend)),o.scale&&(c.scale=_i(o.scale)),o.style&&(c.style=Ss(o.style)),o.title&&(c.title=_i(o.title)),o.view&&(c.view=_i(o.view)),c}var Ds=new Set(["view"].concat(_e(Dc))),Fs=["color","fontSize","background","padding","facet","concat","numberFormat","numberFormatType","normalizedNumberFormat","normalizedNumberFormatType","timeFormat","countTitle","header","axisQuantitative","axisTemporal","axisDiscrete","axisPoint","axisXBand","axisXPoint","axisXDiscrete","axisXQuantitative","axisXTemporal","axisYBand","axisYPoint","axisYDiscrete","axisYQuantitative","axisYTemporal","scale","selection","overlay"],Ns=Ce({view:["continuousWidth","continuousHeight","discreteWidth","discreteHeight","step"]},{area:["line","point"],bar:["binSpacing","continuousBandSize","discreteBandSize","minBandSize"],rect:["binSpacing","continuousBandSize","discreteBandSize","minBandSize"],line:["point"],tick:["bandSize","thickness"]});function _s(e){e=nt(e);var n,t=ze(Fs);try{for(t.s();!(n=t.n()).done;){delete e[n.value]}}catch(S){t.e(S)}finally{t.f()}if(e.axis)for(var r in e.axis)ru(e.axis[r])&&delete e.axis[r];if(e.legend){var i,a=ze(Hu);try{for(a.s();!(i=a.n()).done;){var o=i.value;delete e.legend[o]}}catch(S){a.e(S)}finally{a.f()}}if(e.mark){var c,l=ze(_c);try{for(l.s();!(c=l.n()).done;){var u=c.value;delete e.mark[u]}}catch(S){l.e(S)}finally{l.f()}e.mark.tooltip&&Ue(e.mark.tooltip)&&delete e.mark.tooltip}e.params&&(e.signals=(e.signals||[]).concat(rs(e.params)),delete e.params);var s,f=ze(Ds);try{for(f.s();!(s=f.n()).done;){var d,v=s.value,p=ze(_c);try{for(p.s();!(d=p.n()).done;){var h=d.value;delete e[v][h]}}catch(S){p.e(S)}finally{p.f()}var m=Ns[v];if(m){var g,y=ze(m);try{for(y.s();!(g=y.n()).done;){var b=g.value;delete e[v][b]}}catch(S){y.e(S)}finally{y.f()}}As(e,v)}}catch(S){f.e(S)}finally{f.f()}var x,k=ze(bt(Bu));try{for(k.s();!(x=k.n()).done;){delete e[x.value]}}catch(S){k.e(S)}finally{k.f()}for(var w in function(e){var n=Ai(e.title),t=n.titleMarkConfig,r=n.subtitleMarkConfig,i=n.subtitle;yt(t)||(e.style["group-title"]=Ce(Ce({},e.style["group-title"]),t));yt(r)||(e.style["group-subtitle"]=Ce(Ce({},e.style["group-subtitle"]),r));yt(i)?delete e.title:e.title=i}(e),e)Ue(e[w])&&yt(e[w])&&delete e[w];return yt(e)?void 0:e}function As(e,n,t,r){var i;"view"===n&&(t="cell");var a,o=Ce(Ce({},r?e[n][r]:e[n]),e.style[null!==(i=t)&&void 0!==i?i:n]);yt(o)||(e.style[null!==(a=t)&&void 0!==a?a:n]=o);r||delete e[n]}function Ts(e){return"layer"in e}var Cs=function(){function e(){be(this,e)}return ke(e,[{key:"map",value:function(e,n){return cl(e)?this.mapFacet(e,n):function(e){return"repeat"in e}(e)?this.mapRepeat(e,n):os(e)?this.mapHConcat(e,n):as(e)?this.mapVConcat(e,n):is(e)?this.mapConcat(e,n):this.mapLayerOrUnit(e,n)}},{key:"mapLayerOrUnit",value:function(e,n){if(Ts(e))return this.mapLayer(e,n);if(su(e))return this.mapUnit(e,n);throw new Error(Zi(e))}},{key:"mapLayer",value:function(e,n){var t=this;return Ce(Ce({},e),{},{layer:e.layer.map((function(e){return t.mapLayerOrUnit(e,n)}))})}},{key:"mapHConcat",value:function(e,n){var t=this;return Ce(Ce({},e),{},{hconcat:e.hconcat.map((function(e){return t.map(e,n)}))})}},{key:"mapVConcat",value:function(e,n){var t=this;return Ce(Ce({},e),{},{vconcat:e.vconcat.map((function(e){return t.map(e,n)}))})}},{key:"mapConcat",value:function(e,n){var t=this,r=e.concat;return Ce(Ce({},Oe(e,S)),{},{concat:r.map((function(e){return t.map(e,n)}))})}},{key:"mapFacet",value:function(e,n){return Ce(Ce({},e),{},{spec:this.map(e.spec,n)})}},{key:"mapRepeat",value:function(e,n){return Ce(Ce({},e),{},{spec:this.map(e.spec,n)})}}]),e}(),Ps={zero:1,center:1,normalize:1};var js=new Set([sc,dc,fc,gc,hc,kc,wc,pc,yc,bc]),zs=new Set([dc,fc,sc]);function Ls(e){return gl(e)&&"quantitative"===yl(e)&&!e.bin}function Rs(e,n,t){var r=t.orient,i=t.type,a="x"===n?"y":"radius",o="x"===n,c=e[n],l=e[a];if(gl(c)&&gl(l))if(Ls(c)&&Ls(l)){if(c.stack)return n;if(l.stack)return a;var u=gl(c)&&!!c.aggregate;if(u!==(gl(l)&&!!l.aggregate))return u?n:a;if(o&&["bar","area"].includes(i)){if("vertical"===r)return a;if("horizontal"===r)return n}}else{if(Ls(c))return n;if(Ls(l))return a}else{if(Ls(c))return n;if(Ls(l))return a}}function Is(e,n){var t,r,i=Fc(e)?e:{type:e},a=i.type;if(!js.has(a))return null;var o=Rs(n,"x",i)||Rs(n,"theta",i);if(!o)return null;var c=n[o],l=gl(c)?Cl(c,{}):void 0,u=function(e){switch(e){case"x":return"y";case"y":return"x";case"theta":return"radius";case"radius":return"theta"}}(o),s=[],f=new Set;if(n[u]){var d=n[u],v=gl(d)?Cl(d,{}):void 0;v&&v!==l&&(s.push(u),f.add(v));var p="x"===u?"xOffset":"yOffset",h=n[p],m=gl(h)?Cl(h,{}):void 0;m&&m!==l&&(s.push(p),f.add(m))}var g,y,b,x=$r.reduce((function(e,t){if("tooltip"!==t&&du(n,t)){var r,i=n[t],a=ze(Be(i));try{for(a.s();!(r=a.n()).done;){var o=Gl(r.value);if(!o.aggregate){var c=Cl(o,{});c&&f.has(c)||e.push({channel:t,fieldDef:o})}}}catch(l){a.e(l)}finally{a.f()}}return e}),[]);return void 0!==c.stack?g=We(c.stack)?c.stack?"zero":null:c.stack:zs.has(a)&&(g="zero"),g&&g in Ps?hu(n)&&0===x.length?null:null!=c&&null!==(t=c.scale)&&void 0!==t&&t.type&&(null==c||null===(r=c.scale)||void 0===r?void 0:r.type)!==zo?(null!=c&&c.stack&&Ua(function(e){return"Cannot stack non-linear scale (".concat(e,").")}(c.scale.type)),null):Sl(n[qr(o)])?(void 0!==c.stack&&Ua('Cannot stack "'.concat(y=o,'" if there is already "').concat(y,'2".')),null):(gl(c)&&c.aggregate&&!xi.has(c.aggregate)&&Ua((b=c.aggregate,'Stacking is applied even though the aggregate function is non-summative ("'.concat(b,'").'))),{groupbyChannels:s,groupbyFields:f,fieldChannel:o,impute:null!==c.impute&&Ec(a),stackBy:x,offset:g}):null}function Ms(e,n,t){var r,i,a=_i(e),o=Hi("orient",a,t);if(a.orient=function(e,n,t){switch(e){case hc:case kc:case wc:case yc:case mc:case vc:return}var r=n.x,i=n.y,a=n.x2,o=n.y2;switch(e){case dc:if(gl(r)&&(Ei(r.bin)||gl(i)&&i.aggregate&&!r.aggregate))return"vertical";if(gl(i)&&(Ei(i.bin)||gl(r)&&r.aggregate&&!i.aggregate))return"horizontal";if(o||a){if(t)return t;if(!a)return(gl(r)&&r.type===_o&&!Si(r.bin)||wl(r))&&gl(i)&&Ei(i.bin)?"horizontal":"vertical";if(!o)return(gl(i)&&i.type===_o&&!Si(i.bin)||wl(i))&&gl(r)&&Ei(r.bin)?"vertical":"horizontal"}case gc:if(a&&(!gl(r)||!Ei(r.bin))&&o&&(!gl(i)||!Ei(i.bin)))return;case fc:if(o)return gl(i)&&Ei(i.bin)?"horizontal":"vertical";if(a)return gl(r)&&Ei(r.bin)?"vertical":"horizontal";if(e===gc){if(r&&!i)return"vertical";if(i&&!r)return"horizontal"}case pc:case bc:var c=kl(r),l=kl(i);if(t)return t;if(c&&!l)return"tick"!==e?"horizontal":"vertical";if(!c&&l)return"tick"!==e?"vertical":"horizontal";if(c&&l)return"vertical";var u=El(r)&&r.type===To,s=El(i)&&i.type===To;return u&&!s?"vertical":!u&&s?"horizontal":void 0}return"vertical"}(a.type,n,o),void 0!==o&&o!==a.orient&&Ua((r=a.orient,i=o,'Specified orient "'.concat(r,'" overridden with "').concat(i,'".'))),"bar"===a.type&&a.orient){var c=Hi("cornerRadiusEnd",a,t);if(void 0!==c){var l,u=ze("horizontal"===a.orient&&n.x2||"vertical"===a.orient&&n.y2?["cornerRadius"]:Cc[a.orient]);try{for(u.s();!(l=u.n()).done;){a[l.value]=c}}catch(s){u.e(s)}finally{u.f()}void 0!==a.cornerRadiusEnd&&delete a.cornerRadiusEnd}}return void 0===Hi("opacity",a,t)&&(a.opacity=function(e,n){if(lt([hc,bc,kc,wc],e)&&!hu(n))return.7;return}(a.type,n)),void 0===Hi("cursor",a,t)&&(a.cursor=function(e,n,t){if(n.href||e.href||Hi("href",e,t))return"pointer";return e.cursor}(a,n,t)),a}function Us(e,n,t){if(t.graticule)return!1;var r=Vi("filled",e,n),i=e.type;return jt(r,i!==hc&&i!==pc&&i!==gc)}function Ws(e){e.point,e.line;var n=Oe(e,E);return bt(n).length>1?n:n.type}function qs(e){for(var n=0,t=["line","area","rule","trail"];n<t.length;n++){var r=t[n];e[r]&&(e=Ce(Ce({},e),{},Pe({},r,it(e[r],["point","line"]))))}return e}function Bs(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;return"transparent"===e.point?{opacity:0}:e.point?Ue(e.point)?e.point:{}:void 0!==e.point?null:n.point||t.shape?Ue(n.point)?n.point:{}:void 0}function Gs(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.line?!0===e.line?{}:e.line:void 0!==e.line?null:n.line?!0===n.line?{}:n.line:void 0}var Hs=function(){function e(){be(this,e),this.name="path-overlay"}return ke(e,[{key:"hasMatchingType",value:function(e,n){if(su(e)){var t=e.mark,r=e.encoding,i=Fc(t)?t:{type:t};switch(i.type){case"line":case"rule":case"trail":return!!Bs(i,n[i.type],r);case"area":return!!Bs(i,n[i.type],r)||!!Gs(i,n[i.type])}}return!1}},{key:"run",value:function(e,n,t){var r=n.config,i=e.params,a=e.projection,o=e.mark,c=e.name,l=e.encoding,u=Oe(e,O),s=yu(l,r),f=Fc(o)?o:{type:o},d=Bs(f,r[f.type],s),v="area"===f.type&&Gs(f,r[f.type]),p=[Ce(Ce({name:c},i?{params:i}:{}),{},{mark:Ws(Ce(Ce({},"area"===f.type&&void 0===f.opacity&&void 0===f.fillOpacity?{opacity:.7}:{}),f)),encoding:it(s,["shape"])})],h=Is(Ms(f,s,r),s),m=s;if(h){var g=h.fieldChannel,y=h.offset;m=Ce(Ce({},s),{},Pe({},g,Ce(Ce({},s[g]),y?{stack:y}:{})))}return m=it(m,["y2","x2"]),v&&p.push(Ce(Ce({},a?{projection:a}:{}),{},{mark:Ce(Ce({type:"line"},rt(f,["clip","interpolate","tension","tooltip"])),v),encoding:m})),d&&p.push(Ce(Ce({},a?{projection:a}:{}),{},{mark:Ce(Ce({type:"point",opacity:1,filled:!0},rt(f,["clip","tooltip"])),d),encoding:m})),t(Ce(Ce({},u),{},{layer:p}),Ce(Ce({},n),{},{config:qs(r)}))}}]),e}();function Vs(e,n){return n?al(e)?Ks(e,n):$s(e,n):e}function Xs(e,n){return n?Ks(e,n):e}function Ys(e,n,t){var r,i=n[e];return(r=i)&&!Ee(r)&&"repeat"in r?i.repeat in t?Ce(Ce({},n),{},Pe({},e,t[i.repeat])):void Ua(function(e){return'Unknown repeated value "'.concat(e,'".')}(i.repeat)):n}function $s(e,n){if(void 0!==(e=Ys("field",e,n))){if(null===e)return null;if(ul(e)&&rl(e.sort)){var t=Ys("field",e.sort,n);e=Ce(Ce({},e),t?{sort:t}:{})}return e}}function Js(e,n){if(gl(e))return $s(e,n);var t=Ys("datum",e,n);return t===e||t.type||(t.type="nominal"),t}function Qs(e,n){if(!Sl(e)){if(ml(e)){var t=Js(e.condition,n);if(t)return Ce(Ce({},e),{},{condition:t});e.condition;return Oe(e,D)}return e}var r=Js(e,n);return r||(pl(e)?{condition:e.condition}:void 0)}function Ks(e,n){var t={};for(var r in e)if(xe(e,r)){var i=e[r];if(qe(i))t[r]=i.map((function(e){return Qs(e,n)})).filter((function(e){return e}));else{var a=Qs(i,n);void 0!==a&&(t[r]=a)}}return t}var Zs=function(){function e(){be(this,e),this.name="RuleForRangedLine"}return ke(e,[{key:"hasMatchingType",value:function(e){if(su(e)){var n=e.encoding,t=e.mark;if("line"===t||Fc(t)&&"line"===t.type)for(var r=0,i=Ir;r<i.length;r++){var a=i[r],o=n[Ur(a)];if(n[a]&&(gl(o)&&!Ei(o.bin)||bl(o)))return!0}}return!1}},{key:"run",value:function(e,n,t){var r,i,a=e.encoding,o=e.mark;return Ua((r=!!a.x2,i=!!a.y2,"Line mark is for continuous lines and thus cannot be used with ".concat(r&&i?"x2 and y2":r?"x2":"y2",". We will use the rule mark (line segments) instead."))),t(Ce(Ce({},e),{},{mark:Ue(o)?Ce(Ce({},o),{},{type:"rule"}):"rule"}),n)}}]),e}(),ef=function(e){pe(t,e);var n=he(t);function t(){var e;return be(this,t),(e=n.apply(this,arguments)).nonFacetUnitNormalizers=[Au,zu,Wu,new Hs,new Zs],e}return ke(t,[{key:"map",value:function(e,n){if(su(e)){var r=du(e.encoding,Wt),i=du(e.encoding,qt),a=du(e.encoding,Bt);if(r||i||a)return this.mapFacetedUnit(e,n)}return de(ye(t.prototype),"map",this).call(this,e,n)}},{key:"mapUnit",value:function(e,n){var t=n.parentEncoding,r=n.parentProjection,i=Xs(e.encoding,n.repeater),a=Ce(Ce(Ce({},e),e.name?{name:[n.repeaterPrefix,e.name].filter((function(e){return e})).join("_")}:{}),i?{encoding:i}:{});if(t||r)return this.mapUnitWithParentEncodingOrProjection(a,n);var o,c=this.mapLayerOrUnit.bind(this),l=ze(this.nonFacetUnitNormalizers);try{for(l.s();!(o=l.n()).done;){var u=o.value;if(u.hasMatchingType(a,n.config))return u.run(a,n,c)}}catch(s){l.e(s)}finally{l.f()}return a}},{key:"mapRepeat",value:function(e,n){return function(e){return!qe(e.repeat)&&e.repeat.layer}(e)?this.mapLayerRepeat(e,n):this.mapNonLayerRepeat(e,n)}},{key:"mapLayerRepeat",value:function(e,n){var t=this,r=e.repeat,i=e.spec,a=Oe(e,F),o=r.row,c=r.column,l=r.layer,u=n.repeater,s=void 0===u?{}:u,f=n.repeaterPrefix,d=void 0===f?"":f;return o||c?this.mapRepeat(Ce(Ce({},e),{},{repeat:Ce(Ce({},o?{row:o}:{}),c?{column:c}:{}),spec:{repeat:{layer:l},spec:i}}),n):Ce(Ce({},a),{},{layer:l.map((function(e){var r=Ce(Ce({},s),{},{layer:e}),a="".concat((i.name?"".concat(i.name,"_"):"")+d,"child__layer_").concat(St(e)),o=t.mapLayerOrUnit(i,Ce(Ce({},n),{},{repeater:r,repeaterPrefix:a}));return o.name=a,o}))})}},{key:"mapNonLayerRepeat",value:function(e,n){var t,r=e,i=r.repeat,a=r.spec,o=r.data,c=Oe(r,N);!qe(i)&&e.columns&&(e=it(e,["columns"]),Ua(ua("repeat")));var l,u=[],s=n.repeater,f=void 0===s?{}:s,d=n.repeaterPrefix,v=void 0===d?"":d,p=!qe(i)&&i.row||[f?f.row:null],h=!qe(i)&&i.column||[f?f.column:null],m=ze(qe(i)&&i||[f?f.repeat:null]);try{for(m.s();!(l=m.n()).done;){var g,y=l.value,b=ze(p);try{for(b.s();!(g=b.n()).done;){var x,k=g.value,w=ze(h);try{for(w.s();!(x=w.n()).done;){var S=x.value,E={repeat:y,row:k,column:S,layer:f.layer},O=(a.name?"".concat(a.name,"_"):"")+v+"child__"+(qe(i)?"".concat(St(y)):(i.row?"row_".concat(St(k)):"")+(i.column?"column_".concat(St(S)):"")),D=this.map(a,Ce(Ce({},n),{},{repeater:E,repeaterPrefix:O}));D.name=O,u.push(it(D,["data"]))}}catch(_){w.e(_)}finally{w.f()}}}catch(_){b.e(_)}finally{b.f()}}}catch(_){m.e(_)}finally{m.f()}var F=qe(i)?e.columns:i.column?i.column.length:1;return Ce(Ce({data:null!==(t=a.data)&&void 0!==t?t:o,align:"all"},c),{},{columns:F,concat:u})}},{key:"mapFacet",value:function(e,n){return al(e.facet)&&e.columns&&(e=it(e,["columns"]),Ua(ua("facet"))),de(ye(t.prototype),"mapFacet",this).call(this,e,n)}},{key:"mapUnitWithParentEncodingOrProjection",value:function(e,n){var t=e.encoding,r=e.projection,i=n.parentEncoding,a=n.parentProjection,o=n.config,c=tf({parentProjection:a,projection:r}),l=nf({parentEncoding:i,encoding:Xs(t,n.repeater)});return this.mapUnit(Ce(Ce(Ce({},e),c?{projection:c}:{}),l?{encoding:l}:{}),{config:o})}},{key:"mapFacetedUnit",value:function(e,n){var t=e.encoding,r=t.row,i=t.column,a=t.facet,o=Oe(t,_),c=e.mark,l=e.width,u=e.projection,s=e.height,f=e.view,d=e.params,v=(e.encoding,Oe(e,A)),p=this.getFacetMappingAndLayout({row:r,column:i,facet:a},n),h=p.facetMapping,m=p.layout,g=Xs(o,n.repeater);return this.mapFacet(Ce(Ce(Ce({},v),m),{},{facet:h,spec:Ce(Ce(Ce(Ce(Ce({},l?{width:l}:{}),s?{height:s}:{}),f?{view:f}:{}),u?{projection:u}:{}),{},{mark:c,encoding:g},d?{params:d}:{})}),n)}},{key:"getFacetMappingAndLayout",value:function(e,n){var t=e.row,r=e.column,i=e.facet;if(t||r){i&&Ua((m=[].concat(_e(t?[Wt]:[]),_e(r?[qt]:[])),"Facet encoding dropped as ".concat(m.join(" and ")," ").concat(m.length>1?"are":"is"," also specified.")));for(var a={},o={},c=0,l=[Wt,qt];c<l.length;c++){var u=l[c],s=e[u];if(s){s.align,s.center,s.spacing,s.columns;var f=Oe(s,T);a[u]=f;for(var d=0,v=["align","center","spacing"];d<v.length;d++){var p,h=v[d];if(void 0!==s[h])null!==(p=o[h])&&void 0!==p||(o[h]={}),o[h][u]=s[h]}}}return{facetMapping:a,layout:o}}var m,g=i.align,y=i.center,b=i.spacing,x=i.columns;return{facetMapping:Vs(Oe(i,C),n.repeater),layout:Ce(Ce(Ce(Ce({},g?{align:g}:{}),y?{center:y}:{}),b?{spacing:b}:{}),x?{columns:x}:{})}}},{key:"mapLayer",value:function(e,n){var r=n.parentEncoding,i=n.parentProjection,a=Oe(n,P),o=e.encoding,c=e.projection,l=Oe(e,j),u=Ce(Ce({},a),{},{parentEncoding:nf({parentEncoding:r,encoding:o,layer:!0}),parentProjection:tf({parentProjection:i,projection:c})});return de(ye(t.prototype),"mapLayer",this).call(this,Ce(Ce({},l),e.name?{name:[u.repeaterPrefix,e.name].filter((function(e){return e})).join("_")}:{}),u)}}]),t}(Cs);function nf(e){var n=e.parentEncoding,t=e.encoding,r=void 0===t?{}:t,i=e.layer,a={};if(n){var o,c=ze(new Set([].concat(_e(bt(n)),_e(bt(r)))));try{for(c.s();!(o=c.n()).done;){var l=o.value,u=r[l],s=n[l];if(Sl(u)){var f=Ce(Ce({},s),u);a[l]=f}else ml(u)?a[l]=Ce(Ce({},u),{},{condition:Ce(Ce({},s),u.condition)}):u||null===u?a[l]=u:(i||Ol(s)||Ci(s)||Sl(s)||qe(s))&&(a[l]=s)}}catch(d){c.e(d)}finally{c.f()}}else a=r;return!a||yt(a)?void 0:a}function tf(e){var n=e.parentProjection,t=e.projection;return n&&t&&Ua(function(e){var n=e.parentProjection,t=e.projection;return"Layer's shared projection ".concat(at(n)," is overridden by a child projection ").concat(at(t),".")}({parentProjection:n,projection:t})),null!=t?t:n}function rf(e){return"filter"in e}function af(e){return void 0!==(null==e?void 0:e.stop)}function of(e){return"lookup"in e}function cf(e){return"pivot"in e}function lf(e){return"density"in e}function uf(e){return"quantile"in e}function sf(e){return"regression"in e}function ff(e){return"loess"in e}function df(e){return"sample"in e}function vf(e){return"window"in e}function pf(e){return"joinaggregate"in e}function hf(e){return"flatten"in e}function mf(e){return"calculate"in e}function gf(e){return"bin"in e}function yf(e){return"impute"in e}function bf(e){return"timeUnit"in e}function xf(e){return"aggregate"in e}function kf(e){return"stack"in e}function wf(e){return"fold"in e}function Sf(e){return"extent"in e&&!("density"in e)}var Ef=function(e){pe(t,e);var n=he(t);function t(){return be(this,t),n.apply(this,arguments)}return ke(t,[{key:"map",value:function(e,n){var r,i;return null!==(r=n.emptySelections)&&void 0!==r||(n.emptySelections={}),null!==(i=n.selectionPredicates)&&void 0!==i||(n.selectionPredicates={}),e=Of(e,n),de(ye(t.prototype),"map",this).call(this,e,n)}},{key:"mapLayerOrUnit",value:function(e,n){if((e=Of(e,n)).encoding){var r,i={},a=ze(kt(e.encoding));try{for(a.s();!(r=a.n()).done;){var o=De(r.value,2),c=o[0],l=o[1];i[c]=Df(l,n)}}catch(u){a.e(u)}finally{a.f()}e=Ce(Ce({},e),{},{encoding:i})}return de(ye(t.prototype),"mapLayerOrUnit",this).call(this,e,n)}},{key:"mapUnit",value:function(e,n){var t=e.selection,r=Oe(e,z);return t?Ce(Ce({},r),{},{params:kt(t).map((function(e){var t,r=De(e,2),i=r[0],a=r[1],o=a.init,c=a.bind,l=a.empty,u=Oe(a,L);"single"===u.type?(u.type="point",u.toggle=!1):"multi"===u.type&&(u.type="point"),n.emptySelections[i]="none"!==l;var s,f=ze(xt(null!==(t=n.selectionPredicates[i])&&void 0!==t?t:{}));try{for(f.s();!(s=f.n()).done;){s.value.empty="none"!==l}}catch(d){f.e(d)}finally{f.f()}return{name:i,value:o,select:u,bind:c}}))}):e}}]),t}(Cs);function Of(e,n){var t=e.transform,r=Oe(e,R);if(t){var i=t.map((function(e){if(rf(e))return{filter:Nf(e,n)};if(gf(e)&&Oi(e.bin))return Ce(Ce({},e),{},{bin:Ff(e.bin)});if(of(e)){var t=e.from,r=t.selection,i=Oe(t,I);return r?Ce(Ce({},e),{},{from:Ce({param:r},i)}):e}return e}));return Ce(Ce({},r),{},{transform:i})}return e}function Df(e,n){var t,r,i=nt(e);if(gl(i)&&Oi(i.bin)&&(i.bin=Ff(i.bin)),Dl(i)&&null!==(t=i.scale)&&void 0!==t&&null!==(r=t.domain)&&void 0!==r&&r.selection){var a=i.scale.domain,o=a.selection,c=Oe(a,M);i.scale.domain=Ce(Ce({},c),o?{param:o}:{})}if(pl(i))if(qe(i.condition))i.condition=i.condition.map((function(e){e.selection;var t=e.param,r=(e.test,Oe(e,U));return t?e:Ce(Ce({},r),{},{test:Nf(e,n)})}));else{var l=Df(i.condition,n),u=(l.selection,l.param),s=(l.test,Oe(l,W));i.condition=u?i.condition:Ce(Ce({},s),{},{test:Nf(i.condition,n)})}return i}function Ff(e){var n=e.extent;if(null!=n&&n.selection){var t=n.selection,r=Oe(n,q);return Ce(Ce({},e),{},{extent:Ce(Ce({},r),{},{param:t})})}return e}function Nf(e,n){var t=function(e){return Zn(e,(function(e){var t,r,i,a={param:e,empty:null===(t=n.emptySelections[e])||void 0===t||t};return null!==(r=(i=n.selectionPredicates)[e])&&void 0!==r||(i[e]=[]),n.selectionPredicates[e].push(a),a}))};return e.selection?t(e.selection):Zn(e.test||e.filter,(function(e){return e.selection?t(e.selection):e}))}for(var _f=function(e){pe(t,e);var n=he(t);function t(){return be(this,t),n.apply(this,arguments)}return ke(t,[{key:"map",value:function(e,n){var r,i=null!==(r=n.selections)&&void 0!==r?r:[];if(e.params&&!su(e)){var a,o=[],c=ze(e.params);try{for(c.s();!(a=c.n()).done;){var l=a.value;ts(l)?i.push(l):o.push(l)}}catch(u){c.e(u)}finally{c.f()}e.params=o}return n.selections=i,de(ye(t.prototype),"map",this).call(this,e,n)}},{key:"mapUnit",value:function(e,n){var t,r=n.selections;if(!r||!r.length)return e;var i,a=(null!==(t=n.path)&&void 0!==t?t:[]).concat(e.name),o=[],c=ze(r);try{for(c.s();!(i=c.n()).done;){var l=i.value;if(l.views&&l.views.length){var u,s=ze(l.views);try{for(s.s();!(u=s.n()).done;){var f=u.value;(Ee(f)&&(f===e.name||a.includes(f))||qe(f)&&f.map((function(e){return a.indexOf(e)})).every((function(e,n,t){return-1!==e&&(0===n||e>t[n-1])})))&&o.push(l)}}catch(d){s.e(d)}finally{s.f()}}else o.push(l)}}catch(d){c.e(d)}finally{c.f()}return o.length&&(e.params=o),e}}]),t}(Cs),Af=function(){var e=Cf[Tf],n=_f.prototype[e];_f.prototype[e]=function(e,t){return n.call(this,e,function(e,n){var t;return e.name?Ce(Ce({},n),{},{path:(null!==(t=n.path)&&void 0!==t?t:[]).concat(e.name)}):n}(e,t))}},Tf=0,Cf=["mapFacet","mapRepeat","mapHConcat","mapVConcat","mapLayer"];Tf<Cf.length;Tf++)Af();function Pf(e,n){void 0===n&&(n=Os(e.config));var t=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t={config:n};return Lf.map(jf.map(zf.map(e,t),t),t)}(e,n),r=function(e,n,t){var r=n.width,i=n.height,a=su(e)||Ts(e),o={};a?"container"==r&&"container"==i?(o.type="fit",o.contains="padding"):"container"==r?(o.type="fit-x",o.contains="padding"):"container"==i&&(o.type="fit-y",o.contains="padding"):("container"==r&&(Ua(na("width")),r=void 0),"container"==i&&(Ua(na("height")),i=void 0));var c=Ce(Ce(Ce({type:"pad"},o),t?Rf(t.autosize):{}),Rf(e.autosize));"fit"!==c.type||a||(Ua(ea),c.type="pad");"container"==r&&"fit"!=c.type&&"fit-x"!=c.type&&Ua(ta("width"));"container"==i&&"fit"!=c.type&&"fit-y"!=c.type&&Ua(ta("height"));if(et(c,{type:"pad"}))return;return c}(t,{width:e.width,height:e.height,autosize:e.autosize},n);return Ce(Ce({},t),r?{autosize:r}:{})}var jf=new ef,zf=new Ef,Lf=new _f;function Rf(e){return Ee(e)?{type:e}:null!=e?e:{}}var If=["background","padding"];function Mf(e,n){var t,r={},i=ze(If);try{for(i.s();!(t=i.n()).done;){var a=t.value;e&&void 0!==e[a]&&(r[a]=Mi(e[a]))}}catch(o){i.e(o)}finally{i.f()}return n&&(r.params=e.params),r}var Uf=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};be(this,e),this.explicit=n,this.implicit=t}return ke(e,[{key:"clone",value:function(){return new e(nt(this.explicit),nt(this.implicit))}},{key:"combine",value:function(){return Ce(Ce({},this.explicit),this.implicit)}},{key:"get",value:function(e){return jt(this.explicit[e],this.implicit[e])}},{key:"getWithExplicit",value:function(e){return void 0!==this.explicit[e]?{explicit:!0,value:this.explicit[e]}:void 0!==this.implicit[e]?{explicit:!1,value:this.implicit[e]}:{explicit:!1,value:void 0}}},{key:"setWithExplicit",value:function(e,n){var t=n.value,r=n.explicit;void 0!==t&&this.set(e,t,r)}},{key:"set",value:function(e,n,t){return delete this[t?"implicit":"explicit"][e],this[t?"explicit":"implicit"][e]=n,this}},{key:"copyKeyFromSplit",value:function(e,n){var t=n.explicit,r=n.implicit;void 0!==t[e]?this.set(e,t[e],!0):void 0!==r[e]&&this.set(e,r[e],!1)}},{key:"copyKeyFromObject",value:function(e,n){void 0!==n[e]&&this.set(e,n[e],!0)}},{key:"copyAll",value:function(e){var n,t=ze(bt(e.combine()));try{for(t.s();!(n=t.n()).done;){var r=n.value,i=e.getWithExplicit(r);this.setWithExplicit(r,i)}}catch(a){t.e(a)}finally{t.f()}}}]),e}();function Wf(e){return{explicit:!0,value:e}}function qf(e){return{explicit:!1,value:e}}function Bf(e){return function(n,t,r,i){var a=e(n.value,t.value);return a>0?n:a<0?t:Gf(n,t,r,i)}}function Gf(e,n,t,r){return e.explicit&&n.explicit&&Ua(function(e,n,t,r){return"Conflicting ".concat(n.toString(),' property "').concat(e.toString(),'" (').concat(at(t)," and ").concat(at(r),"). Using ").concat(at(t),".")}(t,r,e.value,n.value)),e}function Hf(e,n,t,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Gf;return void 0===e||void 0===e.value?n:e.explicit&&!n.explicit?e:n.explicit&&!e.explicit?n:et(e.value,n.value)?e:i(e,n,t,r)}var Vf,Xf=function(e){pe(t,e);var n=he(t);function t(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return be(this,t),(e=n.call(this,r,i)).explicit=r,e.implicit=i,e.parseNothing=a,e}return ke(t,[{key:"clone",value:function(){var e=de(ye(t.prototype),"clone",this).call(this);return e.parseNothing=this.parseNothing,e}}]),t}(Uf);function Yf(e){return"url"in e}function $f(e){return"values"in e}function Jf(e){return"name"in e&&!Yf(e)&&!$f(e)&&!Qf(e)}function Qf(e){return e&&(Kf(e)||Zf(e)||ed(e))}function Kf(e){return"sequence"in e}function Zf(e){return"sphere"in e}function ed(e){return"graticule"in e}function nd(e){e.signals,e.hasLegend,e.index;var n=Oe(e,B);return n.field=At(n.field),n}function td(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:$e;if(qe(e)){var r=e.map((function(e){return td(e,n,t)}));return n?"[".concat(r.join(", "),"]"):r}return Wa(e)?t(n?Xa(e):$a(e)):n?t(at(e)):e}function rd(e,n){var t,r,i=ze(xt(null!==(t=e.component.selection)&&void 0!==t?t:{}));try{for(i.s();!(r=i.n()).done;)for(var a=r.value,o=0,c=vv;o<c.length;o++){var l=c[o];l.defined(a)&&l.marks&&(n=l.marks(e,a,n))}}catch(u){i.e(u)}finally{i.f()}return n}function id(e){return e.map((function(e){return e.on&&!e.on.length&&delete e.on,e}))}!function(e){e[e.Raw=0]="Raw",e[e.Main=1]="Main",e[e.Row=2]="Row",e[e.Column=3]="Column",e[e.Lookup=4]="Lookup"}(Vf||(Vf={}));var ad=function(){function e(n,t){be(this,e),this.debugName=t,this._children=[],this._parent=null,n&&(this.parent=n)}return ke(e,[{key:"clone",value:function(){throw new Error("Cannot clone node")}},{key:"parent",get:function(){return this._parent},set:function(e){this._parent=e,e&&e.addChild(this)}},{key:"children",get:function(){return this._children}},{key:"numChildren",value:function(){return this._children.length}},{key:"addChild",value:function(e,n){this._children.includes(e)?Ua("Attempt to add the same child twice."):void 0!==n?this._children.splice(n,0,e):this._children.push(e)}},{key:"removeChild",value:function(e){var n=this._children.indexOf(e);return this._children.splice(n,1),n}},{key:"remove",value:function(){var e,n=this._parent.removeChild(this),t=ze(this._children);try{for(t.s();!(e=t.n()).done;){var r=e.value;r._parent=this._parent,this._parent.addChild(r,n++)}}catch(i){t.e(i)}finally{t.f()}}},{key:"insertAsParentOf",value:function(e){var n=e.parent;n.removeChild(this),this.parent=n,e.parent=this}},{key:"swapWithParent",value:function(){var e,n=this._parent,t=n.parent,r=ze(this._children);try{for(r.s();!(e=r.n()).done;){e.value.parent=n}}catch(a){r.e(a)}finally{r.f()}this._children=[],n.removeChild(this);var i=n.parent.removeChild(n);this._parent=t,t.addChild(this,i),n.parent=this}}]),e}(),od=function(e){pe(t,e);var n=he(t);function t(e,r,i,a){var o;return be(this,t),(o=n.call(this,e,r)).type=i,o.refCounts=a,o._source=o._name=r,o.refCounts&&!(o._name in o.refCounts)&&(o.refCounts[o._name]=0),o}return ke(t,[{key:"clone",value:function(){var e=new this.constructor;return e.debugName="clone_".concat(this.debugName),e._source=this._source,e._name="clone_".concat(this._name),e.type=this.type,e.refCounts=this.refCounts,e.refCounts[e._name]=0,e}},{key:"dependentFields",value:function(){return new Set}},{key:"producedFields",value:function(){return new Set}},{key:"hash",value:function(){return void 0===this._hash&&(this._hash="Output ".concat(Lt())),this._hash}},{key:"getSource",value:function(){return this.refCounts[this._name]++,this._source}},{key:"isRequired",value:function(){return!!this.refCounts[this._name]}},{key:"setSource",value:function(e){this._source=e}}]),t}(ad);function cd(e){return void 0!==e.as}function ld(e){return"".concat(e,"_end")}var ud=function(e){pe(t,e);var n=he(t);function t(e,r){var i;return be(this,t),(i=n.call(this,e)).formula=r,i}return ke(t,[{key:"clone",value:function(){return new t(null,nt(this.formula))}},{key:"merge",value:function(e){for(var n in this.formula=Ce({},this.formula),e.formula)this.formula[n]||(this.formula[n]=e.formula[n]);var t,r=ze(e.children);try{for(r.s();!(t=r.n()).done;){var i=t.value;e.removeChild(i),i.parent=this}}catch(a){r.e(a)}finally{r.f()}e.remove()}},{key:"removeFormulas",value:function(e){var n,t={},r=ze(kt(this.formula));try{for(r.s();!(n=r.n()).done;){var i=De(n.value,2),a=i[0],o=i[1],c=cd(o)?o.as:"".concat(o.field,"_end");e.has(c)||(t[a]=o)}}catch(l){r.e(l)}finally{r.f()}this.formula=t}},{key:"producedFields",value:function(){return new Set(xt(this.formula).map((function(e){return cd(e)?e.as:ld(e.field)})))}},{key:"dependentFields",value:function(){return new Set(xt(this.formula).map((function(e){return e.field})))}},{key:"hash",value:function(){return"TimeUnit ".concat(ot(this.formula))}},{key:"assemble",value:function(){var e,n=[],t=ze(xt(this.formula));try{for(t.s();!(e=t.n()).done;){var r=e.value;if(cd(r)){var i=r.field,a=r.as,o=co(r.timeUnit),c=o.unit,l=o.utc,u=Oe(o,G);n.push(Ce(Ce(Ce(Ce({field:At(i),type:"timeunit"},c?{units:to(c)}:{}),l?{timezone:"utc"}:{}),u),{},{as:[a,"".concat(a,"_end")]}))}else if(r){var s=r.field,f=r.timeUnit,d=vo(ro(null==f?void 0:f.unit),f.step),v=d.part,p=d.step;n.push({type:"formula",expr:"timeOffset('".concat(v,"', datum['").concat(s,"'], ").concat(p,")"),as:ld(s)})}}}catch(h){t.e(h)}finally{t.f()}return n}}],[{key:"makeFromEncoding",value:function(e,n){var r=n.reduceFieldDef((function(e,t){var r=t.field,i=t.timeUnit;if(i){var a;if(Ka(i)){if(em(n))(Oc(n.mark)||t.bandPosition)&&(a={timeUnit:co(i),field:r})}else a={as:Cl(t,{forAs:!0}),field:r,timeUnit:i};a&&(e[ot(a)]=a)}return e}),{});return yt(r)?null:new t(e,r)}},{key:"makeFromTransform",value:function(e,n){var r=Ce({},n),i=r.timeUnit,a=Oe(r,H),o=co(i),c=Ce(Ce({},a),{},{timeUnit:o});return new t(e,Pe({},ot(c),c))}}]),t}(ad),sd="_tuple_fields",fd=ke((function e(){be(this,e);for(var n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];this.items=t,this.hasChannel={},this.hasField={},this.hasSelectionId=!1})),dd={defined:function(){return!0},parse:function(e,n,t){var r,i,a,o=n.name,c=null!==(r=n.project)&&void 0!==r?r:n.project=new fd,l={},u={},s=new Set,f=function(e,n){for(var t="visual"===n?e.channel:e.field,r=St("".concat(o,"_").concat(t)),i=1;s.has(r);i++)r=St("".concat(o,"_").concat(t,"_").concat(i));return s.add(r),Pe({},n,r)},d=n.type,v=e.config.selection[d],p=void 0!==t.value?Be(t.value):null,h=Ue(t.select)?t.select:{},m=h.fields,g=h.encodings;if(!m&&!g&&p){var y,b=ze(p);try{for(b.s();!(y=b.n()).done;){var x=y.value;if(Ue(x)){var k,w=ze(bt(x));try{for(w.s();!(k=w.n()).done;){var S,E=k.value;if(Lr[E])(g||(g=[])).push(E);else if("interval"===d)Ua('Interval selections should be initialized using "x", "y", "longitude", or "latitude" keys.'),g=v.encodings;else(null!==(S=m)&&void 0!==S?S:m=[]).push(E)}}catch(L){w.e(L)}finally{w.f()}}}}catch(L){b.e(L)}finally{b.f()}}m||g||(g=v.encodings,"fields"in v&&(m=v.fields));var O,D=ze(null!==(i=g)&&void 0!==i?i:[]);try{for(D.s();!(O=D.n()).done;){var F=O.value,N=e.fieldDef(F);if(N){var _=N.field;if(N.aggregate){Ua(oa(F,N.aggregate));continue}if(!_){Ua(aa(F));continue}if(N.timeUnit&&!Ka(N.timeUnit)){_=e.vgField(F);var A={timeUnit:N.timeUnit,as:_,field:N.field};u[ot(A)]=A}if(!l[_]){var T={field:_,channel:F,type:"interval"===d&&li(F)&&Ko(e.getScaleComponent(F).get("type"))?"R":N.bin?"R-RE":"E",index:c.items.length};T.signals=Ce(Ce({},f(T,"data")),f(T,"visual")),c.items.push(l[_]=T),c.hasField[_]=l[_],c.hasSelectionId=c.hasSelectionId||_===Ku,Fr(F)?(T.geoChannel=F,T.channel=Dr(F),c.hasChannel[T.channel]=l[_]):c.hasChannel[F]=l[_]}}else Ua(aa(F))}}catch(L){D.e(L)}finally{D.f()}var C,P=ze(null!==(a=m)&&void 0!==a?a:[]);try{for(P.s();!(C=P.n()).done;){var j=C.value;if(!c.hasField[j]){var z={type:"E",field:j,index:c.items.length};z.signals=Ce({},f(z,"data")),c.items.push(z),c.hasField[j]=z,c.hasSelectionId=c.hasSelectionId||j===Ku}}}catch(L){P.e(L)}finally{P.f()}p&&(n.init=p.map((function(e){return c.items.map((function(n){return Ue(e)?void 0!==e[n.geoChannel||n.channel]?e[n.geoChannel||n.channel]:e[n.field]:e}))}))),yt(u)||(c.timeUnit=new ud(null,u))},signals:function(e,n,t){var r=n.name+sd;return t.filter((function(e){return e.name===r})).length>0||n.project.hasSelectionId?t:t.concat({name:r,value:n.project.items.map(nd)})}},vd={defined:function(e){return"interval"===e.type&&"global"===e.resolve&&e.bind&&"scales"===e.bind},parse:function(e,n){var t,r=n.scales=[],i=ze(n.project.items);try{for(i.s();!(t=i.n()).done;){var a=t.value,o=a.channel;if(li(o)){var c=e.getScaleComponent(o),l=c?c.get("type"):void 0;c&&Ko(l)?(c.set("selectionExtent",{param:n.name,field:a.field},!0),r.push(a)):Ua("Scale bindings are currently only supported for scales with unbinned, continuous domains.")}}}catch(u){i.e(u)}finally{i.f()}},topLevelSignals:function(e,n,t){var r=n.scales.filter((function(e){return 0===t.filter((function(n){return n.name===e.signals.data})).length}));if(!e.parent||hd(e)||0===r.length)return t;var i=t.filter((function(e){return e.name===n.name}))[0],a=i.update;if(a.indexOf(dv)>=0)i.update="{".concat(r.map((function(e){return"".concat(Me(At(e.field)),": ").concat(e.signals.data)})).join(", "),"}");else{var o,c=ze(r);try{for(c.s();!(o=c.n()).done;){var l=o.value,u="".concat(Me(At(l.field)),": ").concat(l.signals.data);a.includes(u)||(a="".concat(a.substring(0,a.length-1),", ").concat(u,"}"))}}catch(s){c.e(s)}finally{c.f()}i.update=a}return t.concat(r.map((function(e){return{name:e.signals.data}})))},signals:function(e,n,t){if(e.parent&&!hd(e)){var r,i=ze(n.scales);try{var a=function(){var e=r.value,n=t.filter((function(n){return n.name===e.signals.data}))[0];n.push="outer",delete n.value,delete n.update};for(i.s();!(r=i.n()).done;)a()}catch(o){i.e(o)}finally{i.f()}}return t}};function pd(e,n){var t=Me(e.scaleName(n));return"domain(".concat(t,")")}function hd(e){var n;return e.parent&&rm(e.parent)&&(null!==(n=!e.parent.parent)&&void 0!==n?n:hd(e.parent.parent))}var md="_brush",gd="_scale_trigger",yd="geo_interval_init_tick",bd="_init",xd={defined:function(e){return"interval"===e.type},parse:function(e,n,t){var r;if(e.hasProjection){var i=Ce({},Ue(t.select)?t.select:{});i.fields=[Ku],i.encodings||(i.encodings=t.value?bt(t.value):[nr,er]),t.select=Ce({type:"interval"},i)}if(n.translate&&!vd.defined(n)){var a,o="!event.item || event.item.mark.name !== ".concat(Me(n.name+md)),c=ze(n.events);try{for(c.s();!(a=c.n()).done;){var l,u=a.value;if(u.between){var s=Be(null!==(l=(r=u.between[0]).filter)&&void 0!==l?l:r.filter=[]);s.indexOf(o)<0&&s.push(o)}else Ua("".concat(u," is not an ordered event stream for interval selections."))}}catch(f){c.e(f)}finally{c.f()}}},signals:function(e,n,t){var r=n.name,i=r+sv,a=xt(n.project.hasChannel).filter((function(e){return e.channel===Gt||e.channel===Ht})),o=n.init?n.init[0]:null;if(t.push.apply(t,_e(a.reduce((function(t,r){return t.concat(function(e,n,t,r){var i=!e.hasProjection,a=t.channel,o=t.signals.visual,c=Me(i?e.scaleName(a):e.projectionName()),l=function(e){return"scale(".concat(c,", ").concat(e,")")},u=e.getSizeSignalRef(a===Gt?"width":"height").signal,s="".concat(a,"(unit)"),f=n.events.reduce((function(e,n){return[].concat(_e(e),[{events:n.between[0],update:"[".concat(s,", ").concat(s,"]")},{events:n,update:"[".concat(o,"[0], clamp(").concat(s,", 0, ").concat(u,")]")}])}),[]);if(i){var d=t.signals.data,v=vd.defined(n),p=e.getScaleComponent(a),h=p?p.get("type"):void 0,m=r?{init:td(r,!0,l)}:{value:[]};return f.push({events:{signal:n.name+gd},update:Ko(h)?"[".concat(l("".concat(d,"[0]")),", ").concat(l("".concat(d,"[1]")),"]"):"[0, 0]"}),v?[{name:d,on:[]}]:[Ce(Ce({name:o},m),{},{on:f}),Ce(Ce({name:d},r?{init:td(r)}:{}),{},{on:[{events:{signal:o},update:"".concat(o,"[0] === ").concat(o,"[1] ? null : invert(").concat(c,", ").concat(o,")")}]})]}var g=a===Gt?0:1,y=n.name+bd,b=r?{init:"[".concat(y,"[0][").concat(g,"], ").concat(y,"[1][").concat(g,"]]")}:{value:[]};return[Ce(Ce({name:o},b),{},{on:f})]}(e,n,r,o&&o[r.index]))}),[]))),e.hasProjection){var c=Me(e.projectionName()),l=e.projectionName()+"_center",u=n.project.hasChannel,s=u.x,f=u.y,d=s&&s.signals.visual,v=f&&f.signals.visual,p=s?o&&o[s.index]:"".concat(l,"[0]"),h=f?o&&o[f.index]:"".concat(l,"[1]"),m=function(n){return e.getSizeSignalRef(n).signal},g="["+"[".concat(d?d+"[0]":"0",", ").concat(v?v+"[0]":"0","],")+"[".concat(d?d+"[1]":m("width"),", ")+"".concat(v?v+"[1]":m("height"),"]")+"]";if(o)if(t.unshift({name:r+bd,init:"[scale(".concat(c,", [").concat(s?p[0]:p,", ").concat(f?h[0]:h,"]), ")+"scale(".concat(c,", [").concat(s?p[1]:p,", ").concat(f?h[1]:h,"])]")}),!s||!f)t.find((function(e){return e.name===l}))||t.unshift({name:l,update:"invert(".concat(c,", [").concat(m("width"),"/2, ").concat(m("height"),"/2])")});var y="intersect(".concat(g,", {markname: ").concat(Me(e.getName("marks")),"}, unit.mark)"),b="{unit: ".concat(hv(e),"}"),x="vlSelectionTuples(".concat(y,", ").concat(b,")"),k=a.map((function(e){return e.signals.visual}));return t.concat({name:i,on:[{events:[].concat(_e(k.length?[{signal:k.join(" || ")}]:[]),_e(o?[{signal:yd}]:[])),update:x}]})}if(!vd.defined(n)){var w=r+gd,S=a.map((function(n){var t=n.channel,r=n.signals,i=r.data,a=r.visual,o=Me(e.scaleName(t)),c=Ko(e.getScaleComponent(t).get("type"))?"+":"";return"(!isArray(".concat(i,") || ")+"(".concat(c,"invert(").concat(o,", ").concat(a,")[0] === ").concat(c).concat(i,"[0] && ")+"".concat(c,"invert(").concat(o,", ").concat(a,")[1] === ").concat(c).concat(i,"[1]))")}));S.length&&t.push({name:w,value:{},on:[{events:a.map((function(n){return{scale:e.scaleName(n.channel)}})),update:S.join(" && ")+" ? ".concat(w," : {}")}]})}var E=a.map((function(e){return e.signals.data})),O="unit: ".concat(hv(e),", fields: ").concat(r+sd,", values");return t.concat(Ce(Ce({name:i},o?{init:"{".concat(O,": ").concat(td(o),"}")}:{}),E.length?{on:[{events:[{signal:E.join(" || ")}],update:"".concat(E.join(" && ")," ? {").concat(O,": [").concat(E,"]} : null")}]}:{}))},topLevelSignals:function(e,n,t){em(e)&&e.hasProjection&&n.init&&(t.filter((function(e){return e.name===yd})).length||t.unshift({name:yd,value:null,on:[{events:"timer{1}",update:"".concat(yd," === null ? {} : ").concat(yd)}]}));return t},marks:function(e,n,t){var r=n.name,i=n.project.hasChannel,a=i.x,o=i.y,c=null==a?void 0:a.signals.visual,l=null==o?void 0:o.signals.visual,u="data(".concat(Me(n.name+uv),")");if(vd.defined(n)||!a&&!o)return t;var s={x:void 0!==a?{signal:"".concat(c,"[0]")}:{value:0},y:void 0!==o?{signal:"".concat(l,"[0]")}:{value:0},x2:void 0!==a?{signal:"".concat(c,"[1]")}:{field:{group:"width"}},y2:void 0!==o?{signal:"".concat(l,"[1]")}:{field:{group:"height"}}};if("global"===n.resolve){var f,d=ze(bt(s));try{for(d.s();!(f=d.n()).done;){var v=f.value;s[v]=[Ce({test:"".concat(u,".length && ").concat(u,"[0].unit === ").concat(hv(e))},s[v]),{value:0}]}}catch(x){d.e(x)}finally{d.f()}}var p=n.mark,h=p.fill,m=p.fillOpacity,g=p.cursor,y=Oe(p,V),b=bt(y).reduce((function(e,n){return e[n]=[{test:[void 0!==a&&"".concat(c,"[0] !== ").concat(c,"[1]"),void 0!==o&&"".concat(l,"[0] !== ").concat(l,"[1]")].filter((function(e){return e})).join(" && "),value:y[n]},{value:null}],e}),{});return[{name:"".concat(r+md,"_bg"),type:"rect",clip:!0,encode:{enter:{fill:{value:h},fillOpacity:{value:m}},update:s}}].concat(_e(t),[{name:r+md,type:"rect",clip:!0,encode:{enter:Ce(Ce({},g?{cursor:{value:g}}:{}),{},{fill:{value:"transparent"}}),update:Ce(Ce({},s),b)}}])}};var kd={defined:function(e){return"point"===e.type},signals:function(e,n,t){var r,i=n.name,a=i+sd,o=n.project,c="(item().isVoronoi ? datum.datum : datum)",l=xt(null!==(r=e.component.selection)&&void 0!==r?r:{}).reduce((function(e,n){return"interval"===n.type?e.concat(n.name+md):e}),[]).map((function(e){return"indexof(item().mark.name, '".concat(e,"') < 0")})).join(" && "),u="datum && item().mark.marktype !== 'group' && indexof(item().mark.role, 'legend') < 0".concat(l?" && ".concat(l):""),s="unit: ".concat(hv(e),", ");if(n.project.hasSelectionId)s+="".concat(Ku,": ").concat(c,"[").concat(Me(Ku),"]");else{var f=o.items.map((function(n){var t=e.fieldDef(n.channel);return null!=t&&t.bin?"[".concat(c,"[").concat(Me(e.vgField(n.channel,{})),"], ")+"".concat(c,"[").concat(Me(e.vgField(n.channel,{binSuffix:"end"})),"]]"):"".concat(c,"[").concat(Me(n.field),"]")})).join(", ");s+="fields: ".concat(a,", values: [").concat(f,"]")}var d=n.events;return t.concat([{name:i+sv,on:d?[{events:d,update:"".concat(u," ? {").concat(s,"} : null"),force:!0}]:[]}])}};function wd(e,n,t,r){var i=pl(n)&&n.condition,a=r(n);if(i){var o=Be(i).map((function(n){var t=r(n);if(function(e){return e.param}(n)){var i=n.param,a=n.empty;return Ce({test:wv(e,{param:i,empty:a})},t)}return Ce({test:Ev(e,n.test)},t)}));return Pe({},t,[].concat(_e(o),_e(void 0!==a?[a]:[])))}return void 0!==a?Pe({},t,a):{}}function Sd(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text",t=e.encoding[n];return wd(e,t,n,(function(n){return Ed(n,e.config)}))}function Ed(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"datum";if(e){if(Ol(e))return Wi(e.value);if(Sl(e)){var r=ql(e),i=r.format,a=r.formatType;return Gc({fieldOrDatumDef:e,format:i,formatType:a,expr:t,config:n})}}}function Od(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e.encoding,r=e.markDef,i=e.config,a=e.stack,o=t.tooltip;if(qe(o))return{tooltip:Fd({tooltip:o},a,i,n)};var c=n.reactiveGeom?"datum.datum":"datum";return wd(e,o,"tooltip",(function(e){var o=Ed(e,i,c);if(o)return o;if(null!==e){var l=Hi("tooltip",r,i);return!0===l&&(l={content:"encoding"}),Ee(l)?{value:l}:Ue(l)?Ci(l)?l:"encoding"===l.content?Fd(t,a,i,n):{signal:c}:void 0}}))}function Dd(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.reactiveGeom,a=Ce(Ce({},t),t.tooltipFormat),o={},c=i?"datum.datum":"datum",l=[];function u(t,r){var i,u,s=Ur(r),f=El(t)?t:Ce(Ce({},t),{},{type:e[s].type}),d=f.title||Wl(f,a),v=Be(d).join(", ").replaceAll(/"/g,'\\"');if(Kr(r)){var p="x"===r?"x2":"y2",h=Gl(e[p]);if(Ei(f.bin)&&h){var m=Cl(f,{expr:c}),g=Cl(h,{expr:c}),y=ql(f);u=Kc(m,g,y.format,y.formatType,a),o[p]=!0}}if((Kr(r)||r===Kt||r===Jt)&&n&&n.fieldChannel===r&&"normalize"===n.offset){var b=ql(f);u=Gc({fieldOrDatumDef:f,format:b.format,formatType:b.formatType,expr:c,config:a,normalizeStack:!0}).signal}null!==(i=u)&&void 0!==i||(u=Ed(f,a,c).signal),l.push({channel:r,key:v,value:u})}xu(e,(function(e,n){gl(e)?u(e,n):hl(e)&&u(e.condition,n)}));for(var s={},f=0,d=l;f<d.length;f++){var v=d[f],p=v.channel,h=v.key,m=v.value;o[p]||s[h]||(s[h]=m)}return s}function Fd(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.reactiveGeom,a=Dd(e,n,t,{reactiveGeom:i}),o=kt(a).map((function(e){var n=De(e,2),t=n[0],r=n[1];return'"'.concat(t,'": ').concat(r)}));return o.length>0?{signal:"{".concat(o.join(", "),"}")}:void 0}function Nd(e){var n=Hi("aria",e.markDef,e.config);return!1===n?{}:Ce(Ce(Ce({},n?{aria:n}:{}),function(e){var n=e.mark,t=e.markDef,r=e.config;if(!1===r.aria)return{};var i=Hi("ariaRoleDescription",t,r);if(null!=i)return{ariaRoleDescription:{value:i}};return n in Li?{}:{ariaRoleDescription:{value:n}}}(e)),function(e){var n=e.encoding,t=e.markDef,r=e.config,i=e.stack,a=n.description;if(a)return wd(e,a,"description",(function(n){return Ed(n,e.config)}));var o=Hi("description",t,r);if(null!=o)return{description:Wi(o)};if(!1===r.aria)return{};var c=Dd(n,i,r);if(yt(c))return;return{description:{signal:kt(c).map((function(e,n){var t=De(e,2),r=t[0],i=t[1];return'"'.concat(n>0?"; ":"").concat(r,': " + (').concat(i,")")})).join(" + ")}}}(e))}function _d(e,n){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.markDef,a=n.encoding,o=n.config,c=r.vgChannel,l=r.defaultRef,u=r.defaultValue;void 0===l&&(null!==(t=u)&&void 0!==t||(u=Hi(e,i,o,{vgChannel:c,ignoreVgConfig:!0})),void 0!==u&&(l=Wi(u)));var s=a[e];return wd(n,s,null!=c?c:e,(function(t){return Uc({channel:e,channelDef:t,markDef:i,config:o,scaleName:n.scaleName(e),scale:n.getScaleComponent(e),stack:null,defaultRef:l})}))}function Ad(e){var n,t,r,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{filled:void 0},o=e.markDef,c=e.encoding,l=e.config,u=o.type,s=null!==(n=a.filled)&&void 0!==n?n:Hi("filled",o,l),f=lt(["bar","point","circle","square","geoshape"],u)?"transparent":void 0,d=null!==(t=null!==(r=Hi(!0===s?"color":void 0,o,l,{vgChannel:"fill"}))&&void 0!==r?r:l.mark[!0===s&&"color"])&&void 0!==t?t:f,v=null!==(i=Hi(!1===s?"color":void 0,o,l,{vgChannel:"stroke"}))&&void 0!==i?i:l.mark[!1===s&&"color"],p=s?"fill":"stroke",h=Ce(Ce({},d?{fill:Wi(d)}:{}),v?{stroke:Wi(v)}:{});return o.color&&(s?o.fill:o.stroke)&&Ua(ma("property",{fill:"fill"in o,stroke:"stroke"in o})),Ce(Ce(Ce(Ce({},h),_d("color",e,{vgChannel:p,defaultValue:s?d:v})),_d("fill",e,{defaultValue:c.fill?d:void 0})),_d("stroke",e,{defaultValue:c.stroke?v:void 0}))}function Td(e){var n=e.channel,t=e.markDef,r=e.encoding,i=void 0===r?{}:r,a=e.model,o=e.bandPosition,c="".concat(n,"Offset"),l=t[c],u=i[c];if(("xOffset"===c||"yOffset"===c)&&u)return{offsetType:"encoding",offset:Uc({channel:c,channelDef:u,markDef:t,config:null==a?void 0:a.config,scaleName:a.scaleName(c),scale:a.getScaleComponent(c),stack:null,defaultRef:Wi(l),bandPosition:o})};var s=t[c];return s?{offsetType:"visual",offset:s}:{}}function Cd(e,n,t){var r=t.defaultPos,i=t.vgChannel,a=n.encoding,o=n.markDef,c=n.config,l=n.stack,u=a[e],s=a[qr(e)],f=n.scaleName(e),d=n.getScaleComponent(e),v=Td({channel:e,markDef:o,encoding:a,model:n,bandPosition:.5}),p=v.offset,h=v.offsetType,m=Pd({model:n,defaultPos:r,channel:e,scaleName:f,scale:d}),g=!u&&Kr(e)&&(a.latitude||a.longitude)?{field:n.getName(e)}:function(e){var n=e.channel,t=e.channelDef,r=e.scaleName,i=e.stack,a=e.offset,o=e.markDef;if(Sl(t)&&i&&n===i.fieldChannel){if(gl(t)){var c=t.bandPosition;if(void 0!==c||"text"!==o.type||"radius"!==n&&"theta"!==n||(c=.5),void 0!==c)return Mc({scaleName:r,fieldOrDatumDef:t,startSuffix:"start",bandPosition:c,offset:a})}return Ic(t,r,{suffix:"end"},{offset:a})}return zc(e)}({channel:e,channelDef:u,channel2Def:s,markDef:o,config:c,scaleName:f,scale:d,stack:l,offset:p,defaultRef:m,bandPosition:"encoding"===h?0:void 0});return g?Pe({},i||e,g):void 0}function Pd(e){var n=e.model,t=e.defaultPos,r=e.channel,i=e.scaleName,a=e.scale,o=n.markDef,c=n.config;return function(){var e=Ur(r),l=Wr(r),u=Hi(r,o,c,{vgChannel:l});if(void 0!==u)return Wc(r,u);switch(t){case"zeroOrMin":case"zeroOrMax":if(i){var s=a.get("type");if(lt([Lo,Ro,Io],s));else if(a.domainDefinitelyIncludesZero())return{scale:i,value:0}}if("zeroOrMin"===t)return"y"===e?{field:{group:"height"}}:{value:0};switch(e){case"radius":return{signal:"min(".concat(n.width.signal,",").concat(n.height.signal,")/2")};case"theta":return{signal:"2*PI"};case"x":return{field:{group:"width"}};case"y":return{value:0}}break;case"mid":return Ce(Ce({},n[Br(r)]),{},{mult:.5})}}}var jd={left:"x",center:"xc",right:"x2"},zd={top:"y",middle:"yc",bottom:"y2"};function Ld(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"middle";if("radius"===e||"theta"===e)return Wr(e);var i,a="x"===e?"align":"baseline",o=Hi(a,n,t);return Ci(o)?(Ua(Sa(a)),i=void 0):i=o,"x"===e?jd[i||("top"===r?"left":"center")]:zd[i||r]}function Rd(e,n,t){var r=t.defaultPos,i=t.defaultPos2;return t.range?Id(e,n,{defaultPos:r,defaultPos2:i}):Cd(e,n,{defaultPos:r})}function Id(e,n,t){var r=t.defaultPos,i=t.defaultPos2,a=n.markDef,o=n.config,c=qr(e),l=Br(e),u=function(e,n,t){var r,i=e.encoding,a=e.mark,o=e.markDef,c=e.stack,l=e.config,u=Ur(t),s=Br(t),f=Wr(t),d=i[u],v=e.scaleName(u),p=e.getScaleComponent(u),h=Td(t in i||t in o?{channel:t,markDef:o,encoding:i,model:e}:{channel:u,markDef:o,encoding:i,model:e}),m=h.offset;if(!d&&("x2"===t||"y2"===t)&&(i.latitude||i.longitude)){var g=Br(t),y=e.markDef[g];return null!=y?Pe({},g,{value:y}):Pe({},f,{field:e.getName(t)})}var b=function(e){var n=e.channel,t=e.channelDef,r=e.channel2Def,i=e.markDef,a=e.config,o=e.scaleName,c=e.scale,l=e.stack,u=e.offset,s=e.defaultRef;if(Sl(t)&&l&&n.charAt(0)===l.fieldChannel.charAt(0))return Ic(t,o,{suffix:"start"},{offset:u});return zc({channel:n,channelDef:r,scaleName:o,scale:c,stack:l,markDef:i,config:a,offset:u,defaultRef:s})}({channel:t,channelDef:d,channel2Def:i[t],markDef:o,config:l,scaleName:v,scale:p,stack:c,offset:m,defaultRef:void 0});if(void 0!==b)return Pe({},f,b);return Md(t,o)||Md(t,(Pe(r={},t,Xi(t,o,l.style)),Pe(r,s,Xi(s,o,l.style)),r))||Md(t,l[a])||Md(t,l.mark)||Pe({},f,Pd({model:e,defaultPos:n,channel:t,scaleName:v,scale:p})())}(n,i,c);return Ce(Ce({},Cd(e,n,{defaultPos:r,vgChannel:u[l]?Ld(e,a,o):Wr(e)})),u)}function Md(e,n){var t=Br(e),r=Wr(e);if(void 0!==n[r])return Pe({},r,Wc(e,n[r]));if(void 0!==n[e])return Pe({},r,Wc(e,n[e]));if(n[t]){var i=n[t];if(!Tc(i))return Pe({},t,Wc(e,i));Ua(function(e){return"Position range does not support relative band size for ".concat(e,".")}(t))}}function Ud(e,n){var t,r,i=e.config,a=e.encoding,o=e.markDef,c=o.type,l=qr(n),u=Br(n),s=a[n],f=a[l],d=e.getScaleComponent(n),v=d?d.get("type"):void 0,p=o.orient,h=null!==(t=null!==(r=a[u])&&void 0!==r?r:a.size)&&void 0!==t?t:Hi("size",o,i,{vgChannel:u}),m=Gr(n),g="bar"===c&&("x"===n?"vertical"===p:"horizontal"===p);return!gl(s)||!(Si(s.bin)||Ei(s.bin)||s.timeUnit&&!f)||h&&!Tc(h)||a[m]||Qo(v)?(Sl(s)&&Qo(v)||g)&&!f?function(e,n,t){var r,i=t.markDef,a=t.encoding,o=t.config,c=t.stack,l=i.orient,u=t.scaleName(n),s=t.getScaleComponent(n),f=Br(n),d=qr(n),v=Gr(n),p=t.scaleName(v),h=t.getScaleComponent(Hr(n)),m="horizontal"===l&&"y"===n||"vertical"===l&&"x"===n;(a.size||i.size)&&(m?r=_d("size",t,{vgChannel:f,defaultRef:Wi(i.size)}):Ua(function(e){return'Cannot apply size to non-oriented mark "'.concat(e,'".')}(i.type)));var g=!!r,y=fl({channel:n,fieldDef:e,markDef:i,config:o,scaleType:null==s?void 0:s.get("type"),useVlSizeChannel:m});r=r||Pe({},f,function(e,n,t,r,i,a,o){if(Tc(i)){if(!t)return{mult:i.band,field:{group:e}};var c=t.get("type");if("band"===c){var l="bandwidth('".concat(n,"')");1!==i.band&&(l="".concat(i.band," * ").concat(l));var u=Vi("minBandSize",{type:o},r);return{signal:u?"max(".concat(Bi(u),", ").concat(l,")"):l}}1!==i.band&&(Ua(function(e){return"Cannot use the relative band size with ".concat(e," scale.")}(c)),i=void 0)}else{if(Ci(i))return i;if(i)return{value:i}}if(t){var s=t.get("range");if(Pi(s)&&Se(s.step))return{value:s.step-2}}if(!a){var f=r.scale,d=f.bandPaddingInner,v=f.barBandPaddingInner,p=f.rectBandPaddingInner,h=jt(d,"bar"===o?v:p);if(Ci(h))return{signal:"(1 - (".concat(h.signal,")) * ").concat(e)};if(Se(h))return{signal:"".concat(1-h," * ").concat(e)}}var m=ds(r.view,e);return{value:m-2}}(f,p||u,h||s,o,y,!!e,i.type));var b="band"===(null==s?void 0:s.get("type"))&&Tc(y)&&!g?"top":"middle",x=Ld(n,i,o,b),k="xc"===x||"yc"===x,w=Td({channel:n,markDef:i,encoding:a,model:t,bandPosition:k?.5:0}),S=w.offset,E=w.offsetType,O=zc({channel:n,channelDef:e,markDef:i,config:o,scaleName:u,scale:s,stack:c,offset:S,defaultRef:Pd({model:t,defaultPos:"mid",channel:n,scaleName:u,scale:s}),bandPosition:k?"encoding"===E?0:.5:Ci(y)?{signal:"(1-".concat(y,")/2")}:Tc(y)?(1-y.band)/2:0});if(f)return Ce(Pe({},x,O),r);var D,F=Wr(d),N=r[f],_=S?Ce(Ce({},N),{},{offset:S}):N;return Pe(D={},x,O),Pe(D,F,qe(O)?[O[0],Ce(Ce({},O[1]),{},{offset:_})]:Ce(Ce({},O),{},{offset:_})),D}(s,n,e):Id(n,e,{defaultPos:"zeroOrMax",defaultPos2:"zeroOrMin"}):function(e){var n,t,r,i,a=e.fieldDef,o=e.fieldDef2,c=e.channel,l=e.model,u=l.config,s=l.markDef,f=l.encoding,d=l.getScaleComponent(c),v=l.scaleName(c),p=d?d.get("type"):void 0,h=d.get("reverse"),m=fl({channel:c,fieldDef:a,markDef:s,config:u,scaleType:p}),g=null===(n=l.component.axes[c])||void 0===n?void 0:n[0],y=null!==(t=null==g?void 0:g.get("translate"))&&void 0!==t?t:.5,b=Kr(c)&&null!==(r=Hi("binSpacing",s,u))&&void 0!==r?r:0,x=qr(c),k=Wr(c),w=Wr(x),S=Vi("minBandSize",s,u),E=Td({channel:c,markDef:s,encoding:f,model:l,bandPosition:0}),O=E.offset,D=Td({channel:x,markDef:s,encoding:f,model:l,bandPosition:0}),F=D.offset,N=function(e){var n=e.scaleName,t=e.fieldDef,r=Cl(t,{expr:"datum"}),i=Cl(t,{expr:"datum",suffix:"end"});return'abs(scale("'.concat(n,'", ').concat(i,') - scale("').concat(n,'", ').concat(r,"))")}({fieldDef:a,scaleName:v}),_=Wd(c,b,h,y,O,S,N),A=Wd(x,b,h,y,null!=F?F:O,S,N),T=Ci(m)?{signal:"(1-".concat(m.signal,")/2")}:Tc(m)?(1-m.band)/2:.5;if(Si(a.bin)||a.timeUnit)return Pe(i={},w,qd({fieldDef:a,scaleName:v,bandPosition:T,offset:A})),Pe(i,k,qd({fieldDef:a,scaleName:v,bandPosition:Ci(T)?{signal:"1-".concat(T.signal)}:1-T,offset:_})),i;if(Ei(a.bin)){var C,P,j=Ic(a,v,{},{offset:A});if(gl(o))return Pe(C={},w,j),Pe(C,k,Ic(o,v,{},{offset:_})),C;if(Oi(a.bin)&&a.bin.step)return Pe(P={},w,j),Pe(P,k,{signal:'scale("'.concat(v,'", ').concat(Cl(a,{expr:"datum"})," + ").concat(a.bin.step,")"),offset:_}),P}return void Ua(ja(x))}({fieldDef:s,fieldDef2:f,channel:n,model:e})}function Wd(e,n,t,r,i,a,o){if(Er(e))return 0;var c="x"===e||"y2"===e,l=c?-n/2:n/2;if(Ci(t)||Ci(i)||Ci(r)||a){var u=Bi(t),s=Bi(i),f=Bi(r),d=Bi(a),v=c?"":"-",p=a?"(".concat(o," < ").concat(d," ? ").concat(v,"0.5 * (").concat(d," - (").concat(o,")) : ").concat(l,")"):l;return{signal:(f?"".concat(f," + "):"")+(u?"(".concat(u," ? -1 : 1) * "):"")+(s?"(".concat(s," + ").concat(p,")"):p)}}return i=i||0,r+(t?-i-l:+i+l)}function qd(e){var n=e.fieldDef;return Mc({scaleName:e.scaleName,fieldOrDatumDef:n,bandPosition:e.bandPosition,offset:e.offset})}var Bd=new Set(["aria","width","height"]);function Gd(e,n){var t="include"===n.color?Ad(e):{},r=t.fill,i=void 0===r?void 0:r,a=t.stroke,o=void 0===a?void 0:a;return Ce(Ce(Ce(Ce(Ce(Ce(Ce(Ce(Ce(Ce(Ce(Ce({},function(e,n){return zi.reduce((function(t,r){return Bd.has(r)||void 0===e[r]||"ignore"===n[r]||(t[r]=Wi(e[r])),t}),{})}(e.markDef,n)),Hd(e,"fill",i)),Hd(e,"stroke",o)),_d("opacity",e)),_d("fillOpacity",e)),_d("strokeOpacity",e)),_d("strokeWidth",e)),_d("strokeDash",e)),function(e){var n=e.encoding,t=e.mark,r=n.order;return!Ec(t)&&Ol(r)?wd(e,r,"zindex",(function(e){return Wi(e.value)})):{}}(e)),Od(e)),Sd(e,"href")),Nd(e))}function Hd(e,n,t){var r=e.config,i=e.mark;if("hide"===Hi("invalid",e.markDef,r)&&t&&!Ec(i)){var a=function(e,n){var t=n.invalid,r=void 0!==t&&t,i=n.channels.reduce((function(n,t){var r=e.getScaleComponent(t);if(r){var i=r.get("type"),a=e.vgField(t,{expr:"datum"});a&&Ko(i)&&(n[a]=!0)}return n}),{}),a=bt(i);if(a.length>0){var o=r?"||":"&&";return a.map((function(e){return Rc(e,r)})).join(" ".concat(o," "))}return}(e,{invalid:!0,channels:ci});if(a)return Pe({},n,[{test:a,value:null}].concat(_e(Be(t))))}return t?Pe({},n,t):{}}function Vd(e){var n=e.config;if(Hi("invalid",e.markDef,n)){var t=function(e,n){var t=n.invalid,r=void 0!==t&&t,i=n.channels.reduce((function(n,t){var r=e.getScaleComponent(t);if(r){var i,a=r.get("type"),o=e.vgField(t,{expr:"datum",binSuffix:null!==(i=e.stack)&&void 0!==i&&i.impute?"mid":void 0});o&&Ko(a)&&(n[o]=!0)}return n}),{}),a=bt(i);if(a.length>0){var o=r?"||":"&&";return a.map((function(e){return Rc(e,r)})).join(" ".concat(o," "))}return}(e,{channels:Qr});if(t)return{defined:{signal:t}}}return{}}function Xd(e,n){if(void 0!==n)return Pe({},e,Wi(n))}var Yd="voronoi",$d={defined:function(e){return"point"===e.type&&e.nearest},parse:function(e,n){if(n.events){var t,r=ze(n.events);try{for(r.s();!(t=r.n()).done;){t.value.markname=e.getName(Yd)}}catch(i){r.e(i)}finally{r.f()}}},marks:function(e,n,t){var r=n.project.hasChannel,i=r.x,a=r.y,o=e.mark;if(Ec(o))return Ua('The "nearest" transform is not supported for '.concat(o," marks.")),t;var c={name:e.getName(Yd),type:"path",interactive:!0,from:{data:e.getName("marks")},encode:{update:Ce({fill:{value:"transparent"},strokeWidth:{value:.35},stroke:{value:"transparent"},isVoronoi:{value:!0}},Od(e,{reactiveGeom:!0}))},transform:[{type:"voronoi",x:{expr:i||!a?"datum.datum.x || 0":"0"},y:{expr:a||!i?"datum.datum.y || 0":"0"},size:[e.getSizeSignalRef("width"),e.getSizeSignalRef("height")]}]},l=0,u=!1;return t.forEach((function(n,t){var r,i=null!==(r=n.name)&&void 0!==r?r:"";i===e.component.mark[0].name?l=t:i.indexOf(Yd)>=0&&(u=!0)})),u||t.splice(l+1,0,c),t}},Jd={defined:function(e){return"point"===e.type&&"global"===e.resolve&&e.bind&&"scales"!==e.bind&&!es(e.bind)},parse:function(e,n,t){return gv(n,t)},topLevelSignals:function(e,n,t){var r=n.name,i=n.project,a=n.bind,o=n.init&&n.init[0],c=$d.defined(n)?"(item().isVoronoi ? datum.datum : datum)":"datum";return i.items.forEach((function(e,i){var l,u,s=St("".concat(r,"_").concat(e.field));t.filter((function(e){return e.name===s})).length||t.unshift(Ce(Ce({name:s},o?{init:td(o[i])}:{value:null}),{},{on:n.events?[{events:n.events,update:"datum && item().mark.marktype !== 'group' ? ".concat(c,"[").concat(Me(e.field),"] : null")}]:[],bind:null!==(l=null!==(u=a[e.field])&&void 0!==u?u:a[e.channel])&&void 0!==l?l:a}))})),t},signals:function(e,n,t){var r=n.name,i=n.project,a=t.filter((function(e){return e.name===r+sv}))[0],o=r+sd,c=i.items.map((function(e){return St("".concat(r,"_").concat(e.field))})),l=c.map((function(e){return"".concat(e," !== null")})).join(" && ");return c.length&&(a.update="".concat(l," ? {fields: ").concat(o,", values: [").concat(c.join(", "),"]} : null")),delete a.value,delete a.on,t}},Qd="_toggle",Kd={defined:function(e){return"point"===e.type&&!!e.toggle},signals:function(e,n,t){return t.concat({name:n.name+Qd,value:!1,on:[{events:n.events,update:n.toggle}]})},modifyExpr:function(e,n){var t=n.name+sv,r=n.name+Qd;return"".concat(r," ? null : ").concat(t,", ")+("global"===n.resolve?"".concat(r," ? null : true, "):"".concat(r," ? null : {unit: ").concat(hv(e),"}, "))+"".concat(r," ? ").concat(t," : null")}},Zd={defined:function(e){return void 0!==e.clear&&!1!==e.clear},parse:function(e,n){n.clear&&(n.clear=Ee(n.clear)?Ye(n.clear,"view"):n.clear)},topLevelSignals:function(e,n,t){if(Jd.defined(n)){var r,i=ze(n.project.items);try{var a=function(){var e=r.value,i=t.findIndex((function(t){return t.name===St("".concat(n.name,"_").concat(e.field))}));-1!==i&&t[i].on.push({events:n.clear,update:"null"})};for(i.s();!(r=i.n()).done;)a()}catch(o){i.e(o)}finally{i.f()}}return t},signals:function(e,n,t){function r(e,r){-1!==e&&t[e].on&&t[e].on.push({events:n.clear,update:r})}if("interval"===n.type){var i,a=ze(n.project.items);try{var o=function(){var e=i.value,n=t.findIndex((function(n){return n.name===e.signals.visual}));(r(n,"[0, 0]"),-1===n)&&r(t.findIndex((function(n){return n.name===e.signals.data})),"null")};for(a.s();!(i=a.n()).done;)o()}catch(l){a.e(l)}finally{a.f()}}else{var c=t.findIndex((function(e){return e.name===n.name+sv}));r(c,"null"),Kd.defined(n)&&r(c=t.findIndex((function(e){return e.name===n.name+Qd})),"false")}return t}},ev={defined:function(e){var n="global"===e.resolve&&e.bind&&es(e.bind),t=1===e.project.items.length&&e.project.items[0].field!==Ku;return n&&!t&&Ua("Legend bindings are only supported for selections over an individual field or encoding channel."),n&&t},parse:function(e,n,t){var r=nt(t);if(r.select=Ee(r.select)?{type:r.select,toggle:n.toggle}:Ce(Ce({},r.select),{},{toggle:n.toggle}),gv(n,r),Ue(t.select)&&(t.select.on||t.select.clear)){var i,a='event.item && indexof(event.item.mark.role, "legend") < 0',o=ze(n.events);try{for(o.s();!(i=o.n()).done;){var c,l=i.value;l.filter=Be(null!==(c=l.filter)&&void 0!==c?c:[]),l.filter.includes(a)||l.filter.push(a)}}catch(f){o.e(f)}finally{o.f()}}var u=ns(n.bind)?n.bind.legend:"click",s=Ee(u)?Ye(u,"view"):Be(u);n.bind={legend:{merge:s}}},topLevelSignals:function(e,n,t){var r,i=n.name,a=ns(n.bind)&&n.bind.legend,o=function(e){return function(n){var t=nt(n);return t.markname=e,t}},c=ze(n.project.items);try{var l=function(){var e=r.value;if(!e.hasLegend)return"continue";var c="".concat(St(e.field),"_legend"),l="".concat(i,"_").concat(c);if(0===t.filter((function(e){return e.name===l})).length){var u=a.merge.map(o("".concat(c,"_symbols"))).concat(a.merge.map(o("".concat(c,"_labels")))).concat(a.merge.map(o("".concat(c,"_entries"))));t.unshift(Ce(Ce({name:l},n.init?{}:{value:null}),{},{on:[{events:u,update:"isDefined(datum.value) ? datum.value : item().items[0].items[0].datum.value",force:!0},{events:a.merge,update:"!event.item || !datum ? null : ".concat(l),force:!0}]}))}};for(c.s();!(r=c.n()).done;)l()}catch(u){c.e(u)}finally{c.f()}return t},signals:function(e,n,t){var r=n.name,i=n.project,a=t.find((function(e){return e.name===r+sv})),o=r+sd,c=i.items.filter((function(e){return e.hasLegend})).map((function(e){return St("".concat(r,"_").concat(St(e.field),"_legend"))})),l=c.map((function(e){return"".concat(e," !== null")})).join(" && "),u="".concat(l," ? {fields: ").concat(o,", values: [").concat(c.join(", "),"]} : null");n.events&&c.length>0?a.on.push({events:c.map((function(e){return{signal:e}})),update:u}):c.length>0&&(a.update=u,delete a.value,delete a.on);var s=t.find((function(e){return e.name===r+Qd})),f=ns(n.bind)&&n.bind.legend;return s&&(n.events?s.on.push(Ce(Ce({},s.on[0]),{},{events:f})):s.on[0].events=f),t}};var nv="_translate_anchor",tv="_translate_delta",rv={defined:function(e){return"interval"===e.type&&e.translate},signals:function(e,n,t){var r=n.name,i=vd.defined(n),a=r+nv,o=n.project.hasChannel,c=o.x,l=o.y,u=Ye(n.translate,"scope");return i||(u=u.map((function(e){return e.between[0].markname=r+md,e}))),t.push({name:a,value:{},on:[{events:u.map((function(e){return e.between[0]})),update:"{x: x(unit), y: y(unit)"+(void 0!==c?", extent_x: ".concat(i?pd(e,Gt):"slice(".concat(c.signals.visual,")")):"")+(void 0!==l?", extent_y: ".concat(i?pd(e,Ht):"slice(".concat(l.signals.visual,")")):"")+"}"}]},{name:r+tv,value:{},on:[{events:u,update:"{x: ".concat(a,".x - x(unit), y: ").concat(a,".y - y(unit)}")}]}),void 0!==c&&iv(e,n,c,"width",t),void 0!==l&&iv(e,n,l,"height",t),t}};function iv(e,n,t,r,i){var a,o,c=n.name,l=c+nv,u=c+tv,s=t.channel,f=vd.defined(n),d=i.filter((function(e){return e.name===t.signals[f?"data":"visual"]}))[0],v=e.getSizeSignalRef(r).signal,p=e.getScaleComponent(s),h=p&&p.get("type"),m=p&&p.get("reverse"),g=f?s===Gt?m?"":"-":m?"-":"":"",y="".concat(l,".extent_").concat(s),b="".concat(g).concat(u,".").concat(s," / ").concat(f?"".concat(v):"span(".concat(y,")")),x=f&&p?"log"===h?"panLog":"symlog"===h?"panSymlog":"pow"===h?"panPow":"panLinear":"panLinear",k=f?"pow"===h?", ".concat(null!==(a=p.get("exponent"))&&void 0!==a?a:1):"symlog"===h?", ".concat(null!==(o=p.get("constant"))&&void 0!==o?o:1):"":"",w="".concat(x,"(").concat(y,", ").concat(b).concat(k,")");d.on.push({events:{signal:u},update:f?w:"clampRange(".concat(w,", 0, ").concat(v,")")})}var av="_zoom_anchor",ov="_zoom_delta",cv={defined:function(e){return"interval"===e.type&&e.zoom},signals:function(e,n,t){var r=n.name,i=vd.defined(n),a=r+ov,o=n.project.hasChannel,c=o.x,l=o.y,u=Me(e.scaleName(Gt)),s=Me(e.scaleName(Ht)),f=Ye(n.zoom,"scope");return i||(f=f.map((function(e){return e.markname=r+md,e}))),t.push({name:r+av,on:[{events:f,update:i?"{"+[u?"x: invert(".concat(u,", x(unit))"):"",s?"y: invert(".concat(s,", y(unit))"):""].filter((function(e){return e})).join(", ")+"}":"{x: x(unit), y: y(unit)}"}]},{name:a,on:[{events:f,force:!0,update:"pow(1.001, event.deltaY * pow(16, event.deltaMode))"}]}),void 0!==c&&lv(e,n,c,"width",t),void 0!==l&&lv(e,n,l,"height",t),t}};function lv(e,n,t,r,i){var a,o,c=n.name,l=t.channel,u=vd.defined(n),s=i.filter((function(e){return e.name===t.signals[u?"data":"visual"]}))[0],f=e.getSizeSignalRef(r).signal,d=e.getScaleComponent(l),v=d&&d.get("type"),p=u?pd(e,l):s.name,h=c+ov,m="".concat(c).concat(av,".").concat(l),g=u&&d?"log"===v?"zoomLog":"symlog"===v?"zoomSymlog":"pow"===v?"zoomPow":"zoomLinear":"zoomLinear",y=u?"pow"===v?", ".concat(null!==(a=d.get("exponent"))&&void 0!==a?a:1):"symlog"===v?", ".concat(null!==(o=d.get("constant"))&&void 0!==o?o:1):"":"",b="".concat(g,"(").concat(p,", ").concat(m,", ").concat(h).concat(y,")");s.on.push({events:{signal:h},update:u?b:"clampRange(".concat(b,", 0, ").concat(f,")")})}var uv="_store",sv="_tuple",fv="_modify",dv="vlSelectionResolve",vv=[kd,xd,dd,Kd,Jd,vd,ev,Zd,rv,cv,$d];function pv(e){for(var n=e.parent;n&&!nm(n);)n=n.parent;return n}function hv(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{escape:!0},t=n.escape,r=t?Me(e.name):e.name,i=pv(e);if(i){var a,o=i.facet,c=ze(Cr);try{for(c.s();!(a=c.n()).done;){var l=a.value;o[l]&&(r+=" + '__facet_".concat(l,"_' + (facet[").concat(Me(i.vgField(l)),"])"))}}catch(u){c.e(u)}finally{c.f()}}return r}function mv(e){var n;return xt(null!==(n=e.component.selection)&&void 0!==n?n:{}).reduce((function(e,n){return e||n.project.hasSelectionId}),!1)}function gv(e,n){!Ee(n.select)&&n.select.on||delete e.events,!Ee(n.select)&&n.select.clear||delete e.clear,!Ee(n.select)&&n.select.toggle||delete e.toggle}function yv(e){var n=[];return"Identifier"===e.type?[e.name]:"Literal"===e.type?[e.value]:("MemberExpression"===e.type&&(n.push.apply(n,_e(yv(e.object))),n.push.apply(n,_e(yv(e.property)))),n)}function bv(e){return"MemberExpression"===e.object.type?bv(e.object):"datum"===e.object.name}function xv(e){var n=Je(e),t=new Set;return n.visit((function(e){"MemberExpression"===e.type&&bv(e)&&t.add(yv(e).slice(1).join("."))})),t}var kv=function(e){pe(t,e);var n=he(t);function t(e,r,i){var a;return be(this,t),(a=n.call(this,e)).model=r,a.filter=i,a.expr=Ev(a.model,a.filter,ge(a)),a._dependentFields=xv(a.expr),a}return ke(t,[{key:"clone",value:function(){return new t(null,this.model,nt(this.filter))}},{key:"dependentFields",value:function(){return this._dependentFields}},{key:"producedFields",value:function(){return new Set}},{key:"assemble",value:function(){return{type:"filter",expr:this.expr}}},{key:"hash",value:function(){return"Filter ".concat(this.expr)}}]),t}(ad);function wv(e,n,t){var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"datum",a=Ee(n)?n:n.param,o=St(a),c=Me(o+uv);try{r=e.getSelectionComponent(o,a)}catch(sg){return"!!".concat(o)}if(r.project.timeUnit){var l=null!=t?t:e.component.data.raw,u=r.project.timeUnit.clone();l.parent?u.insertAsParentOf(l):l.parent=u}var s=r.project.hasSelectionId?"vlSelectionIdTest(":"vlSelectionTest(",f="global"===r.resolve?")":", ".concat(Me(r.resolve),")"),d="".concat(s).concat(c,", ").concat(i).concat(f),v="length(data(".concat(c,"))");return!1===n.empty?"".concat(v," && ").concat(d):"!".concat(v," || ").concat(d)}function Sv(e,n,t){var r,i=St(n),a=t.encoding,o=t.field;try{r=e.getSelectionComponent(i,n)}catch(sg){return i}if(a||o){if(a&&!o){var c=r.project.items.filter((function(e){return e.channel===a}));!c.length||c.length>1?(o=r.project.items[0].field,Ua((c.length?"Multiple ":"No ")+"matching ".concat(Me(a)," encoding found for selection ").concat(Me(t.param),". ")+'Using "field": '.concat(Me(o),"."))):o=c[0].field}}else o=r.project.items[0].field,r.project.items.length>1&&Ua('A "field" or "encoding" must be specified when using a selection as a scale domain. '+'Using "field": '.concat(Me(o),"."));return"".concat(r.name,"[").concat(Me(At(o)),"]")}function Ev(e,n,t){return Et(n,(function(n){return Ee(n)?n:function(e){return null==e?void 0:e.param}(n)?wv(e,n,t):Oo(n)}))}function Ov(e,n){if(e)return qe(e)&&!Ti(e)?e.map((function(e){return Wl(e,n)})).join(", "):e}function Dv(e,n,t,r){var i,a,o,c,l;null!==(i=e.encode)&&void 0!==i||(e.encode={}),null!==(a=(c=e.encode)[n])&&void 0!==a||(c[n]={}),null!==(o=(l=e.encode[n]).update)&&void 0!==o||(l.update={}),e.encode[n].update[t]=r}function Fv(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{header:!1},i=e.combine(),a=i.disable,o=i.orient,c=i.scale,l=i.labelExpr,u=i.title,s=i.zindex,f=Oe(i,X);if(!a){for(var d in f){var v=au[d],p=f[d];if(v&&v!==n&&"both"!==v)delete f[d];else if(ru(p)){var h=p.condition,m=Oe(p,Y),g=Be(h),y=tu[d];if(y){var b=y.vgProp,x=y.part,k=[].concat(_e(g.map((function(e){var n=e.test,t=Oe(e,$);return Ce({test:Ev(null,n)},t)}))),[m]);Dv(f,x,b,k),delete f[d]}else if(null===y){var w={signal:g.map((function(e){var n=e.test,t=Oe(e,J);return"".concat(Ev(null,n)," ? ").concat(qi(t)," : ")})).join("")+qi(m)};f[d]=w}}else if(Ci(p)){var S=tu[d];if(S){var E=S.vgProp,O=S.part;Dv(f,O,E,p),delete f[d]}}lt(["labelAlign","labelBaseline"],d)&&null===f[d]&&delete f[d]}if("grid"===n){if(!f.grid)return;if(f.encode){var D=f.encode.grid;f.encode=Ce({},D?{grid:D}:{}),yt(f.encode)&&delete f.encode}return Ce(Ce({scale:c,orient:o},f),{},{domain:!1,labels:!1,aria:!1,maxExtent:0,minExtent:0,ticks:!1,zindex:jt(s,0)})}if(r.header||!e.mainExtracted){if(void 0!==l){var F,N,_=l;null!==(F=f.encode)&&void 0!==F&&null!==(N=F.labels)&&void 0!==N&&N.update&&Ci(f.encode.labels.update.text)&&(_=Tt(l,"datum.label",f.encode.labels.update.text.signal)),Dv(f,"labels","text",{signal:_})}if(null===f.labelAlign&&delete f.labelAlign,f.encode){for(var A=0,T=iu;A<T.length;A++){var C=T[A];e.hasAxisPart(C)||delete f.encode[C]}yt(f.encode)&&delete f.encode}var P=Ov(u,t);return Ce(Ce(Ce(Ce({scale:c,orient:o,grid:!1},P?{title:P}:{}),f),!1===t.aria?{aria:!1}:{}),{},{zindex:jt(s,0)})}}}function Nv(e){var n,t=e.component.axes,r=[],i=ze(Qr);try{for(i.s();!(n=i.n()).done;){var a=n.value;if(t[a]){var o,c=ze(t[a]);try{for(c.s();!(o=c.n()).done;){var l=o.value;if(!l.get("disable")&&!l.get("gridScale")){var u="x"===a?"height":"width",s=e.getSizeSignalRef(u).signal;u!==s&&r.push({name:u,update:s})}}}catch(f){c.e(f)}finally{c.f()}}}}catch(f){i.e(f)}finally{i.f()}return r}function _v(e,n,t,r){return Object.assign.apply(null,[{}].concat(_e(e.map((function(e){if("axisOrient"===e){var i,a="x"===t?"bottom":"left",o=n["x"===t?"axisBottom":"axisLeft"]||{},c=n["x"===t?"axisTop":"axisRight"]||{},l={},u=ze(new Set([].concat(_e(bt(o)),_e(bt(c)))).values());try{for(u.s();!(i=u.n()).done;){var s=i.value;l[s]={signal:"".concat(r.signal,' === "').concat(a,'" ? ').concat(Bi(o[s])," : ").concat(Bi(c[s]))}}}catch(f){u.e(f)}finally{u.f()}return l}return n[e]})))))}function Av(e,n){var t,r=[{}],i=ze(e);try{for(i.s();!(t=i.n()).done;){var a,o=null===(a=n[t.value])||void 0===a?void 0:a.style;if(o){var c,l=ze(o=Be(o));try{for(l.s();!(c=l.n()).done;){var u=c.value;r.push(n.style[u])}}catch(s){l.e(s)}finally{l.f()}}}}catch(s){i.e(s)}finally{i.f()}return Object.assign.apply(null,r)}function Tv(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=Yi(e,t,n);if(void 0!==i)return{configFrom:"style",configValue:i};for(var a=0,o=["vlOnlyAxisConfig","vgAxisConfig","axisConfigStyle"];a<o.length;a++){var c,l=o[a];if(void 0!==(null===(c=r[l])||void 0===c?void 0:c[e]))return{configFrom:l,configValue:r[l][e]}}return{}}var Cv={scale:function(e){var n=e.model,t=e.channel;return n.scaleName(t)},format:function(e){return e.format},formatType:function(e){return e.formatType},grid:function(e){var n,t=e.fieldOrDatumDef,r=e.axis,i=e.scaleType;return null!==(n=r.grid)&&void 0!==n?n:function(e,n){return!Qo(e)&&gl(n)&&!Si(null==n?void 0:n.bin)&&!Ei(null==n?void 0:n.bin)}(i,t)},gridScale:function(e){return function(e,n){var t="x"===n?"y":"x";if(e.getScaleComponent(t))return e.scaleName(t);return}(e.model,e.channel)},labelAlign:function(e){var n=e.axis,t=e.labelAngle,r=e.orient,i=e.channel;return n.labelAlign||zv(t,r,i)},labelAngle:function(e){return e.labelAngle},labelBaseline:function(e){var n=e.axis,t=e.labelAngle,r=e.orient,i=e.channel;return n.labelBaseline||jv(t,r,i)},labelFlush:function(e){var n,t=e.axis,r=e.fieldOrDatumDef,i=e.channel;return null!==(n=t.labelFlush)&&void 0!==n?n:function(e,n){if("x"===n&&lt(["quantitative","temporal"],e))return!0;return}(r.type,i)},labelOverlap:function(e){var n,t=e.axis,r=e.fieldOrDatumDef,i=e.scaleType;return null!==(n=t.labelOverlap)&&void 0!==n?n:function(e,n,t,r){if(t&&!Ue(r)||"nominal"!==e&&"ordinal"!==e)return"log"!==n&&"symlog"!==n||"greedy";return}(r.type,i,gl(r)&&!!r.timeUnit,gl(r)?r.sort:void 0)},orient:function(e){return e.orient},tickCount:function(e){var n,t=e.channel,r=e.model,i=e.axis,a=e.fieldOrDatumDef,o=e.scaleType,c="x"===t?"width":"y"===t?"height":void 0,l=c?r.getSizeSignalRef(c):void 0;return null!==(n=i.tickCount)&&void 0!==n?n:function(e){var n=e.fieldOrDatumDef,t=e.scaleType,r=e.size,i=e.values;if(!i&&!Qo(t)&&"log"!==t){if(gl(n)){var a;if(Si(n.bin))return{signal:"ceil(".concat(r.signal,"/10)")};if(n.timeUnit&&lt(["month","hours","day","quarter"],null===(a=co(n.timeUnit))||void 0===a?void 0:a.unit))return}return{signal:"ceil(".concat(r.signal,"/40)")}}return}({fieldOrDatumDef:a,scaleType:o,size:l,values:i.values})},tickMinStep:function(e){var n=e.format,t=e.fieldOrDatumDef;if("d"===n)return 1;if(gl(t)){var r=t.timeUnit;if(r){var i=uo(r);if(i)return{signal:i}}}return},title:function(e){var n=e.axis,t=e.model,r=e.channel;if(void 0!==n.title)return n.title;var i=Lv(t,r);if(void 0!==i)return i;var a=t.typedFieldDef(r),o="x"===r?"x2":"y2",c=t.fieldDef(o);return Ji(a?[ll(a)]:[],gl(c)?[ll(c)]:[])},values:function(e){return function(e,n){var t=e.values;if(qe(t))return eu(n,t);if(Ci(t))return t;return}(e.axis,e.fieldOrDatumDef)},zindex:function(e){var n,t=e.axis,r=e.fieldOrDatumDef,i=e.mark;return null!==(n=t.zindex)&&void 0!==n?n:function(e,n){if("rect"===e&&Pl(n))return 1;return 0}(i,r)}};function Pv(e){return"(((".concat(e.signal," % 360) + 360) % 360)")}function jv(e,n,t,r){if(void 0!==e){if("x"===t){if(Ci(e)){var i=Pv(e),a=Ci(n)?"(".concat(n.signal,' === "top")'):"top"===n;return{signal:"(45 < ".concat(i," && ").concat(i," < 135) || (225 < ").concat(i," && ").concat(i,' < 315) ? "middle" :')+"(".concat(i," <= 45 || 315 <= ").concat(i,") === ").concat(a,' ? "bottom" : "top"')}}if(45<e&&e<135||225<e&&e<315)return"middle";if(Ci(n)){var o=e<=45||315<=e?"===":"!==";return{signal:"".concat(n.signal," ").concat(o,' "top" ? "bottom" : "top"')}}return(e<=45||315<=e)==("top"===n)?"bottom":"top"}if(Ci(e)){var c=Pv(e),l=Ci(n)?"(".concat(n.signal,' === "left")'):"left"===n,u=r?'"middle"':"null";return{signal:"".concat(c," <= 45 || 315 <= ").concat(c," || (135 <= ").concat(c," && ").concat(c," <= 225) ? ").concat(u," : (45 <= ").concat(c," && ").concat(c," <= 135) === ").concat(l,' ? "top" : "bottom"')}}if(e<=45||315<=e||135<=e&&e<=225)return r?"middle":null;if(Ci(n)){var s=45<=e&&e<=135?"===":"!==";return{signal:"".concat(n.signal," ").concat(s,' "left" ? "top" : "bottom"')}}return(45<=e&&e<=135)==("left"===n)?"top":"bottom"}}function zv(e,n,t){if(void 0!==e){var r="x"===t,i=r?0:90,a=r?"bottom":"left";if(Ci(e)){var o=Pv(e),c=Ci(n)?"(".concat(n.signal,' === "').concat(a,'")'):n===a;return{signal:"(".concat(i?"(".concat(o," + 90)"):o," % 180 === 0) ? ").concat(r?null:'"center"'," :")+"(".concat(i," < ").concat(o," && ").concat(o," < ").concat(180+i,") === ").concat(c,' ? "left" : "right"')}}if((e+i)%180==0)return r?null:"center";if(Ci(n)){var l=i<e&&e<180+i?"===":"!==",u="".concat(n.signal," ").concat(l,' "').concat(a,'"');return{signal:"".concat(u,' ? "left" : "right"')}}return(i<e&&e<180+i)==(n===a)?"left":"right"}}function Lv(e,n){var t="x"===n?"x2":"y2",r=e.fieldDef(n),i=e.fieldDef(t),a=r?r.title:void 0,o=i?i.title:void 0;return a&&o?Qi(a,o):a||(o||(void 0!==a?a:void 0!==o?o:void 0))}var Rv=function(e){pe(t,e);var n=he(t);function t(e,r){var i;return be(this,t),(i=n.call(this,e)).transform=r,i._dependentFields=xv(i.transform.calculate),i}return ke(t,[{key:"clone",value:function(){return new t(null,nt(this.transform))}},{key:"producedFields",value:function(){return new Set([this.transform.as])}},{key:"dependentFields",value:function(){return this._dependentFields}},{key:"assemble",value:function(){return{type:"formula",expr:this.transform.calculate,as:this.transform.as}}},{key:"hash",value:function(){return"Calculate ".concat(ot(this.transform))}}],[{key:"parseAllForSortIndex",value:function(e,n){return n.forEachFieldDef((function(n,r){if(Dl(n)&&il(n.sort)){var i=n.field,a=n.timeUnit,o=n.sort,c=o.map((function(e,n){return"".concat(Oo({field:i,timeUnit:a,equal:e})," ? ").concat(n," : ")})).join("")+o.length;e=new t(e,{calculate:c,as:Iv(n,r,{forAs:!0})})}})),e}}]),t}(ad);function Iv(e,n,t){return Cl(e,Ce({prefix:n,suffix:"sort_index"},null!=t?t:{}))}function Mv(e,n){return lt(["top","bottom"],n)?"column":lt(["left","right"],n)||"row"===e?"row":"column"}function Uv(e,n,t,r){var i="row"===r?t.headerRow:"column"===r?t.headerColumn:t.headerFacet;return jt((n||{})[e],i[e],t.header[e])}function Wv(e,n,t,r){var i,a={},o=ze(e);try{for(o.s();!(i=o.n()).done;){var c=i.value,l=Uv(c,n||{},t,r);void 0!==l&&(a[c]=l)}}catch(u){o.e(u)}finally{o.f()}return a}var qv=["row","column"],Bv=["header","footer"];function Gv(e,n){var t=e.component.layoutHeaders[n].title,r=e.config?e.config:void 0,i=e.component.layoutHeaders[n].facetFieldDef?e.component.layoutHeaders[n].facetFieldDef:void 0,a=Wv(["titleAnchor","titleAngle","titleOrient"],i.header,r,n),o=a.titleAnchor,c=a.titleAngle,l=Mv(n,a.titleOrient),u=Mt(c);return{name:"".concat(n,"-title"),type:"group",role:"".concat(l,"-title"),title:Ce(Ce(Ce(Ce({text:t},"row"===n?{orient:"left"}:{}),{},{style:"guide-title"},Vv(u,l)),Hv(l,u,o)),Zv(r,i,n,Yu,Vu))}}function Hv(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"middle";switch(t){case"start":return{align:"left"};case"end":return{align:"right"}}var r=zv(n,"row"===e?"left":"top","row"===e?"y":"x");return r?{align:r}:{}}function Vv(e,n){var t=jv(e,"row"===n?"left":"top","row"===n?"y":"x",!0);return t?{baseline:t}:{}}function Xv(e,n){for(var t=e.component.layoutHeaders[n],r=[],i=0,a=Bv;i<a.length;i++){var o=a[i];if(t[o]){var c,l=ze(t[o]);try{for(l.s();!(c=l.n()).done;){var u=Jv(e,n,o,t,c.value);null!=u&&r.push(u)}}catch(s){l.e(s)}finally{l.f()}}}return r}function Yv(e,n){var t,r=e.sort;return rl(r)?{field:Cl(r,{expr:"datum"}),order:null!==(t=r.order)&&void 0!==t?t:"ascending"}:qe(r)?{field:Iv(e,n,{expr:"datum"}),order:"ascending"}:{field:Cl(e,{expr:"datum"}),order:null!=r?r:"ascending"}}function $v(e,n,t){var r=Wv(["format","formatType","labelAngle","labelAnchor","labelOrient","labelExpr"],e.header,t,n),i=r.format,a=r.formatType,o=r.labelAngle,c=r.labelAnchor,l=r.labelOrient,u=r.labelExpr,s=Gc({fieldOrDatumDef:e,format:i,formatType:a,expr:"parent",config:t}).signal,f=Mv(n,l);return Ce(Ce(Ce(Ce({text:{signal:u?Tt(Tt(u,"datum.label",s),"datum.value",Cl(e,{expr:"parent"})):s}},"row"===n?{orient:"left"}:{}),{},{style:"guide-label",frame:"group"},Vv(o,f)),Hv(f,o,c)),Zv(t,e,n,$u,Xu))}function Jv(e,n,t,r,i){if(i){var a=null,o=r.facetFieldDef,c=e.config?e.config:void 0;if(o&&i.labels){var l=Wv(["labelOrient"],o.header,c,n).labelOrient;("row"===n&&!lt(["top","bottom"],l)||"column"===n&&!lt(["left","right"],l))&&(a=$v(o,n,c))}var u=nm(e)&&!al(e.facet),s=i.axes,f=(null==s?void 0:s.length)>0;if(a||f){var d="row"===n?"height":"width";return Ce(Ce(Ce(Ce(Ce({name:e.getName("".concat(n,"_").concat(t)),type:"group",role:"".concat(n,"-").concat(t)},r.facetFieldDef?{from:{data:e.getName("".concat(n,"_domain"))},sort:Yv(o,n)}:{}),f&&u?{from:{data:e.getName("facet_domain_".concat(n))}}:{}),a?{title:a}:{}),i.sizeSignal?{encode:{update:Pe({},d,i.sizeSignal)}}:{}),f?{axes:s}:{})}}return null}var Qv={column:{start:0,end:1},row:{start:1,end:0}};function Kv(e,n){return Qv[n][e]}function Zv(e,n,t,r,i){var a,o={},c=ze(r);try{for(c.s();!(a=c.n()).done;){var l=a.value;if(i[l]){var u=Uv(l,null==n?void 0:n.header,e,t);void 0!==u&&(o[i[l]]=u)}}}catch(s){c.e(s)}finally{c.f()}return o}function ep(e){return[].concat(_e(np(e,"width")),_e(np(e,"height")),_e(np(e,"childWidth")),_e(np(e,"childHeight")))}function np(e,n){var t="width"===n?"x":"y",r=e.component.layoutSize.get(n);if(!r||"merged"===r)return[];var i=e.getSizeSignalRef(n).signal;if("step"===r){var a=e.getScaleComponent(t);if(a){var o=a.get("type"),c=a.get("range");if(Qo(o)&&Pi(c)){var l=e.scaleName(t);if(nm(e.parent))if("independent"===e.parent.component.resolve.scale[t])return[tp(l,c)];return[tp(l,c),{name:i,update:rp(l,a,"domain('".concat(l,"').length"))}]}}throw new Error("layout size is step although width/height is not step.")}if("container"==r){var u=i.endsWith("width"),s=u?"containerSize()[0]":"containerSize()[1]",f=fs(e.config.view,u?"width":"height"),d="isFinite(".concat(s,") ? ").concat(s," : ").concat(f);return[{name:i,init:d,on:[{update:d,events:"window:resize"}]}]}return[{name:i,value:r}]}function tp(e,n){var t="".concat(e,"_step");return Ci(n.step)?{name:t,update:n.step.signal}:{name:t,value:n.step}}function rp(e,n,t){var r=n.get("type"),i=n.get("padding"),a=jt(n.get("paddingOuter"),i),o=n.get("paddingInner");return o="band"===r?void 0!==o?o:i:1,"bandspace(".concat(t,", ").concat(Bi(o),", ").concat(Bi(a),") * ").concat(e,"_step")}function ip(e){return"childWidth"===e?"width":"childHeight"===e?"height":e}function ap(e,n){return bt(e).reduce((function(t,r){var i=e[r];return Ce(Ce({},t),wd(n,i,r,(function(e){return Wi(e.value)})))}),{})}function op(e,n){if(nm(n))return"theta"===e?"independent":"shared";if(rm(n))return"shared";if(tm(n))return Kr(e)||"theta"===e||"radius"===e?"independent":"shared";throw new Error("invalid model type for resolve")}function cp(e,n){var t=e.scale[n],r=Kr(n)?"axis":"legend";return"independent"===t?("shared"===e[r][n]&&Ua(function(e){return'Setting the scale to be independent for "'.concat(e,'" means we also have to set the guide (axis or legend) to be independent.')}(n)),"independent"):e[r][n]||"shared"}var lp=Ce(Ce({},{aria:1,clipHeight:1,columnPadding:1,columns:1,cornerRadius:1,description:1,direction:1,fillColor:1,format:1,formatType:1,gradientLength:1,gradientOpacity:1,gradientStrokeColor:1,gradientStrokeWidth:1,gradientThickness:1,gridAlign:1,labelAlign:1,labelBaseline:1,labelColor:1,labelFont:1,labelFontSize:1,labelFontStyle:1,labelFontWeight:1,labelLimit:1,labelOffset:1,labelOpacity:1,labelOverlap:1,labelPadding:1,labelSeparation:1,legendX:1,legendY:1,offset:1,orient:1,padding:1,rowPadding:1,strokeColor:1,symbolDash:1,symbolDashOffset:1,symbolFillColor:1,symbolLimit:1,symbolOffset:1,symbolOpacity:1,symbolSize:1,symbolStrokeColor:1,symbolStrokeWidth:1,symbolType:1,tickCount:1,tickMinStep:1,title:1,titleAlign:1,titleAnchor:1,titleBaseline:1,titleColor:1,titleFont:1,titleFontSize:1,titleFontStyle:1,titleFontWeight:1,titleLimit:1,titleLineHeight:1,titleOpacity:1,titleOrient:1,titlePadding:1,type:1,values:1,zindex:1}),{},{disable:1,labelExpr:1,selections:1,opacity:1,shape:1,stroke:1,fill:1,size:1,strokeWidth:1,strokeDash:1,encode:1}),up=bt(lp),sp=function(e){pe(t,e);var n=he(t);function t(){return be(this,t),n.apply(this,arguments)}return ke(t)}(Uf),fp={symbols:function(e,n){var t,r,i,a,o=n.fieldOrDatumDef,c=n.model,l=n.channel,u=n.legendCmpt;if("symbol"!==n.legendType)return;var s=c.markDef,f=c.encoding,d=c.config,v=c.mark,p=s.filled&&"trail"!==v,h=Ce(Ce({},function(e,n,t){var r,i=ze(t);try{for(i.s();!(r=i.n()).done;){var a=r.value,o=Vi(a,n.markDef,n.config);void 0!==o&&(e[a]=Wi(o))}}catch(c){i.e(c)}finally{i.f()}return e}({},c,Nc)),Ad(c,{filled:p})),m=null!==(t=u.get("symbolOpacity"))&&void 0!==t?t:d.legend.symbolOpacity,g=null!==(r=u.get("symbolFillColor"))&&void 0!==r?r:d.legend.symbolFillColor,y=null!==(i=u.get("symbolStrokeColor"))&&void 0!==i?i:d.legend.symbolStrokeColor,b=void 0===m?null!==(a=dp(f.opacity))&&void 0!==a?a:s.opacity:void 0;if(h.fill){var x;if("fill"===l||p&&l===ir)delete h.fill;else if(h.fill.field)if(g)delete h.fill;else h.fill=Wi(null!==(x=d.legend.symbolBaseFillColor)&&void 0!==x?x:"black"),h.fillOpacity=Wi(null!=b?b:1);else if(qe(h.fill)){var k,w,S,E=null!==(k=null!==(w=vp(null!==(S=f.fill)&&void 0!==S?S:f.color))&&void 0!==w?w:s.fill)&&void 0!==k?k:p&&s.color;E&&(h.fill=Wi(E))}}if(h.stroke)if("stroke"===l||!p&&l===ir)delete h.stroke;else if(h.stroke.field||y)delete h.stroke;else if(qe(h.stroke)){var O=jt(vp(f.stroke||f.color),s.stroke,p?s.color:void 0);O&&(h.stroke={value:O})}if(l!==sr){var D=gl(o)&&hp(c,u,o);D?h.opacity=[Ce({test:D},Wi(null!=b?b:1)),Wi(d.legend.unselectedOpacity)]:b&&(h.opacity=Wi(b))}return yt(h=Ce(Ce({},h),e))?void 0:h},gradient:function(e,n){var t,r=n.model,i=n.legendType,a=n.legendCmpt;if("gradient"!==i)return;var o=r.config,c=r.markDef,l=r.encoding,u={},s=void 0===(null!==(t=a.get("gradientOpacity"))&&void 0!==t?t:o.legend.gradientOpacity)?dp(l.opacity)||c.opacity:void 0;s&&(u.opacity=Wi(s));return yt(u=Ce(Ce({},u),e))?void 0:u},labels:function(e,n){var t=n.fieldOrDatumDef,r=n.model,i=n.channel,a=n.legendCmpt,o=r.legend(i)||{},c=r.config,l=gl(t)?hp(r,a,t):void 0,u=l?[{test:l,value:1},{value:c.legend.unselectedOpacity}]:void 0,s=o.format,f=o.formatType,d=void 0;qc(f)?d=Vc({fieldOrDatumDef:t,field:"datum.value",format:s,formatType:f,config:c}):void 0===s&&void 0===f&&c.customFormatTypes&&("quantitative"===t.type&&c.numberFormatType?d=Vc({fieldOrDatumDef:t,field:"datum.value",format:c.numberFormat,formatType:c.numberFormatType,config:c}):"temporal"===t.type&&c.timeFormatType&&gl(t)&&void 0===t.timeUnit&&(d=Vc({fieldOrDatumDef:t,field:"datum.value",format:c.timeFormat,formatType:c.timeFormatType,config:c})));var v=Ce(Ce(Ce({},u?{opacity:u}:{}),d?{text:d}:{}),e);return yt(v)?void 0:v},entries:function(e,n){var t=n.legendCmpt.get("selections");return null!=t&&t.length?Ce(Ce({},e),{},{fill:{value:"transparent"}}):e}};function dp(e){return pp(e,(function(e,n){return Math.max(e,n.value)}))}function vp(e){return pp(e,(function(e,n){return jt(e,n.value)}))}function pp(e,n){return function(e){var n=null==e?void 0:e.condition;return!!n&&(qe(n)||Ol(n))}(e)?Be(e.condition).reduce(n,e.value):Ol(e)?e.value:void 0}function hp(e,n,t){var r=n.get("selections");if(null!=r&&r.length){var i=Me(t.field);return r.map((function(e){var n=Me(St(e)+uv);return"(!length(data(".concat(n,")) || (").concat(e,"[").concat(i,"] && indexof(").concat(e,"[").concat(i,"], datum.value) >= 0))")})).join(" || ")}}var mp={direction:function(e){return e.direction},format:function(e){var n=e.fieldOrDatumDef,t=e.legend,r=e.config,i=t.format,a=t.formatType;return Xc(n,n.type,i,a,r,!1)},formatType:function(e){var n=e.legend,t=e.fieldOrDatumDef,r=e.scaleType,i=n.formatType;return Yc(i,t,r)},gradientLength:function(e){var n,t,r=e.legend,i=e.legendConfig;return null!==(n=null!==(t=r.gradientLength)&&void 0!==t?t:i.gradientLength)&&void 0!==n?n:function(e){var n=e.legendConfig,t=e.model,r=e.direction,i=e.orient,a=e.scaleType,o=n.gradientHorizontalMaxLength,c=n.gradientHorizontalMinLength,l=n.gradientVerticalMaxLength,u=n.gradientVerticalMinLength;if(Zo(a))return"horizontal"===r?"top"===i||"bottom"===i?bp(t,"width",c,o):c:bp(t,"height",u,l);return}(e)},labelOverlap:function(e){var n,t,r=e.legend,i=e.legendConfig,a=e.scaleType;return null!==(n=null!==(t=r.labelOverlap)&&void 0!==t?t:i.labelOverlap)&&void 0!==n?n:function(e){if(lt(["quantile","threshold","log","symlog"],e))return"greedy";return}(a)},symbolType:function(e){var n,t=e.legend,r=e.markDef,i=e.channel,a=e.encoding;return null!==(n=t.symbolType)&&void 0!==n?n:function(e,n,t,r){if("shape"!==n){var i,a=null!==(i=vp(t))&&void 0!==i?i:r;if(a)return a}switch(e){case"bar":case"rect":case"image":case"square":return"square";case"line":case"trail":case"rule":return"stroke";case"arc":case"point":case"circle":case"tick":case"geoshape":case"area":case"text":return"circle"}}(r.type,i,a.shape,r.shape)},title:function(e){return Ml(e.fieldOrDatumDef,e.config,{allowDisabling:!0})},type:function(e){var n=e.legendType,t=e.scaleType;if(Ar(e.channel)&&Zo(t)){if("gradient"===n)return}else if("symbol"===n)return;return n},values:function(e){var n=e.fieldOrDatumDef;return function(e,n){var t=e.values;if(qe(t))return eu(n,t);if(Ci(t))return t;return}(e.legend,n)}};function gp(e){return jt(e.legend.type,function(e){var n=e.channel,t=e.timeUnit,r=e.scaleType;if(Ar(n)){if(lt(["quarter","month","day"],t))return"symbol";if(Zo(r))return"gradient"}return"symbol"}(e))}function yp(e){var n,t,r=e.legendConfig,i=e.legendType,a=e.orient;return null!==(n=null!==(t=e.legend.direction)&&void 0!==t?t:r[i?"gradientDirection":"symbolDirection"])&&void 0!==n?n:function(e,n){switch(e){case"top":case"bottom":return"horizontal";case"left":case"right":case"none":case void 0:return;default:return"gradient"===n?"horizontal":void 0}}(a,i)}function bp(e,n,t,r){var i=e.getSizeSignalRef(n).signal;return{signal:"clamp(".concat(i,", ").concat(t,", ").concat(r,")")}}function xp(e){var n=em(e)?function(e){for(var n=e.encoding,t={},r=0,i=[ir].concat(Qu);r<i.length;r++){var a=i[r],o=Hl(n[a]);o&&e.getScaleComponent(a)&&(a===cr&&gl(o)&&o.type===Po||(t[a]=wp(e,a)))}return t}(e):function(e){var n,t=e.component,r=t.legends,i=t.resolve,a=ze(e.children);try{for(a.s();!(n=a.n()).done;){var o=n.value;xp(o);var c,l=ze(bt(o.component.legends));try{for(l.s();!(c=l.n()).done;){var u=c.value;i.legend[u]=cp(e.component.resolve,u),"shared"===i.legend[u]&&(r[u]=Sp(r[u],o.component.legends[u]),r[u]||(i.legend[u]="independent",delete r[u]))}}catch(m){l.e(m)}finally{l.f()}}}catch(m){a.e(m)}finally{a.f()}var s,f=ze(bt(r));try{for(f.s();!(s=f.n()).done;){var d,v=s.value,p=ze(e.children);try{for(p.s();!(d=p.n()).done;){var h=d.value;h.component.legends[v]&&("shared"===i.legend[v]&&delete h.component.legends[v])}}catch(m){p.e(m)}finally{p.f()}}}catch(m){f.e(m)}finally{f.f()}return r}(e);return e.component.legends=n,n}function kp(e,n,t,r){switch(n){case"disable":return void 0!==t;case"values":return!(null==t||!t.values);case"title":if("title"===n&&e===(null==r?void 0:r.title))return!0}return e===(t||{})[n]}function wp(e,n){var t,r,i,a=e.legend(n),o=e.markDef,c=e.encoding,l=e.config,u=l.legend,s=new sp({},function(e,n){var t=e.scaleName(n);if("trail"===e.mark){if("color"===n)return{stroke:t};if("size"===n)return{strokeWidth:t}}return"color"===n?e.markDef.filled?{fill:t}:{stroke:t}:Pe({},n,t)}(e,n));!function(e,n,t){var r,i,a,o=null===(r=e.fieldDef(n))||void 0===r?void 0:r.field,c=ze(xt(null!==(i=e.component.selection)&&void 0!==i?i:{}));try{for(c.s();!(a=c.n()).done;){var l,u=a.value,s=null!==(l=u.project.hasField[o])&&void 0!==l?l:u.project.hasChannel[n];if(s&&ev.defined(u)){var f,d=null!==(f=t.get("selections"))&&void 0!==f?f:[];d.push(u.name),t.set("selections",d,!1),s.hasLegend=!0}}}catch(v){c.e(v)}finally{c.f()}}(e,n,s);var f=void 0!==a?!a:u.disable;if(s.set("disable",f,void 0!==a),f)return s;a=a||{};var d,v=e.getScaleComponent(n).get("type"),p=Hl(c[n]),h=gl(p)?null===(t=co(p.timeUnit))||void 0===t?void 0:t.unit:void 0,m=a.orient||l.legend.orient||"right",g=gp({legend:a,channel:n,timeUnit:h,scaleType:v}),y={legend:a,channel:n,model:e,markDef:o,encoding:c,fieldOrDatumDef:p,legendConfig:u,config:l,scaleType:v,orient:m,legendType:g,direction:yp({legend:a,legendType:g,orient:m,legendConfig:u})},b=ze(up);try{for(b.s();!(d=b.n()).done;){var x=d.value;if(!("gradient"===g&&x.startsWith("symbol")||"symbol"===g&&x.startsWith("gradient"))){var k=x in mp?mp[x](y):a[x];if(void 0!==k){var w=kp(k,x,a,e.fieldDef(n));(w||void 0===l.legend[x])&&s.set(x,k,w)}}}}catch(j){b.e(j)}finally{b.f()}for(var S,E=null!==(r=null===(i=a)||void 0===i?void 0:i.encoding)&&void 0!==r?r:{},O=s.get("selections"),D={},F={fieldOrDatumDef:p,model:e,channel:n,legendCmpt:s,legendType:g},N=0,_=["labels","legend","title","symbols","gradient","entries"];N<_.length;N++){var A,T=_[N],C=ap(null!==(A=E[T])&&void 0!==A?A:{},e),P=T in fp?fp[T](C,F):C;void 0===P||yt(P)||(D[T]=Ce(Ce(Ce({},null!=O&&O.length&&gl(p)?{name:"".concat(St(p.field),"_legend_").concat(T)}:{}),null!=O&&O.length?{interactive:!!O}:{}),{},{update:P}))}yt(D)||s.set("encode",D,!(null===(S=a)||void 0===S||!S.encoding));return s}function Sp(e,n){if(!e)return n.clone();var t=e.getWithExplicit("orient"),r=n.getWithExplicit("orient");if(!t.explicit||!r.explicit||t.value===r.value){var i,a,o,c,l,u=!1,s=ze(up);try{var f=function(){var t=i.value,r=Hf(e.getWithExplicit(t),n.getWithExplicit(t),t,"legend",(function(e,n){switch(t){case"symbolType":return function(e,n){if("circle"===n.value)return n;return e}(e,n);case"title":return Ki(e,n);case"type":return u=!0,qf("symbol")}return Gf(e,n,t,"legend")}));e.setWithExplicit(t,r)};for(s.s();!(i=s.n()).done;)f()}catch(d){s.e(d)}finally{s.f()}if(u)null!==(a=e.implicit)&&void 0!==a&&null!==(o=a.encode)&&void 0!==o&&o.gradient&&Ot(e.implicit,["encode","gradient"]),null!==(c=e.explicit)&&void 0!==c&&null!==(l=c.encode)&&void 0!==l&&l.gradient&&Ot(e.explicit,["encode","gradient"]);return e}}function Ep(e){var n,t=e.component.legends,r={},i=ze(bt(t));try{for(i.s();!(n=i.n()).done;){var a=n.value,o=e.getScaleComponent(a),c=at(o.get("domains"));if(r[c]){var l,u=ze(r[c]);try{for(u.s();!(l=u.n()).done;){Sp(l.value,t[a])||r[c].push(t[a])}}catch(s){u.e(s)}finally{u.f()}}else r[c]=[t[a].clone()]}}catch(s){i.e(s)}finally{i.f()}return xt(r).flat().map((function(n){return function(e,n){var t,r=e.combine(),i=r.disable,a=r.labelExpr,o=(r.selections,Oe(r,Q));if(i)return;!1===n.aria&&null==o.aria&&(o.aria=!1);if(null!==(t=o.encode)&&void 0!==t&&t.symbols){var c=o.encode.symbols.update;!c.fill||"transparent"===c.fill.value||c.stroke||o.stroke||(c.stroke={value:"transparent"});for(var l=0,u=Qu;l<u.length;l++){var s=u[l];o[s]&&delete c[s]}}o.title||delete o.title;if(void 0!==a){var f,d,v=a;null!==(f=o.encode)&&void 0!==f&&null!==(d=f.labels)&&void 0!==d&&d.update&&Ci(o.encode.labels.update.text)&&(v=Tt(a,"datum.label",o.encode.labels.update.text.signal)),function(e,n,t,r){var i,a,o,c,l;null!==(i=e.encode)&&void 0!==i||(e.encode={}),null!==(a=(c=e.encode)[n])&&void 0!==a||(c[n]={}),null!==(o=(l=e.encode[n]).update)&&void 0!==o||(l.update={}),e.encode[n].update[t]=r}(o,"labels","text",{signal:v})}return o}(n,e.config)})).filter((function(e){return void 0!==e}))}function Op(e){return rm(e)||tm(e)?function(e){return e.children.reduce((function(e,n){return e.concat(n.assembleProjections())}),Dp(e))}(e):Dp(e)}function Dp(e){var n=e.component.projection;if(!n||n.merged)return[];var t=n.combine(),r=t.name;if(n.data){var i={signal:"[".concat(n.size.map((function(e){return e.signal})).join(", "),"]")},a=n.data.reduce((function(n,t){var r=Ci(t)?t.signal:"data('".concat(e.lookupDataSource(t),"')");return lt(n,r)||n.push(r),n}),[]);if(a.length<=0)throw new Error("Projection's fit didn't find any data sources");return[Ce({name:r,size:i,fit:{signal:a.length>1?"[".concat(a.join(", "),"]"):a[0]}},t)]}return[Ce(Ce({name:r},{translate:{signal:"[width / 2, height / 2]"}}),t)]}var Fp=["type","clipAngle","clipExtent","center","rotate","precision","reflectX","reflectY","coefficient","distance","fraction","lobes","parallel","radius","ratio","spacing","tilt"],Np=function(e){pe(t,e);var n=he(t);function t(e,r,i,a){var o;return be(this,t),(o=n.call(this,Ce({},r),{name:e})).specifiedProjection=r,o.size=i,o.data=a,o.merged=!1,o}return ke(t,[{key:"isFit",get:function(){return!!this.data}}]),t}(Uf);function _p(e){e.component.projection=em(e)?function(e){if(e.hasProjection){var n,t=_i(e.specifiedProjection),r=!(t&&(null!=t.scale||null!=t.translate)),i=r?[e.getSizeSignalRef("width"),e.getSizeSignalRef("height")]:void 0,a=r?function(e){for(var n=[],t=e.encoding,r=0,i=[[nr,er],[rr,tr]];r<i.length;r++){var a=i[r];(Hl(t[a[0]])||Hl(t[a[1]]))&&n.push({signal:e.getName("geojson_".concat(n.length))})}e.channelHasField(cr)&&e.typedFieldDef(cr).type===Po&&n.push({signal:e.getName("geojson_".concat(n.length))});0===n.length&&n.push(e.requestDataName(Vf.Main));return n}(e):void 0,o=new Np(e.projectionName(!0),Ce(Ce({},null!==(n=_i(e.config.projection))&&void 0!==n?n:{}),null!=t?t:{}),i,a);return o.get("type")||o.set("type","equalEarth",!1),o}return}(e):function(e){if(0===e.children.length)return;var n,t,r=ze(e.children);try{for(r.s();!(t=r.n()).done;){_p(t.value)}}catch(d){r.e(d)}finally{r.f()}var i=st(e.children,(function(e){var t=e.component.projection;if(t){if(n){var r=function(e,n){var t=st(Fp,(function(t){return!xe(e.explicit,t)&&!xe(n.explicit,t)||!!(xe(e.explicit,t)&&xe(n.explicit,t)&&et(e.get(t),n.get(t)))}));if(et(e.size,n.size)){if(t)return e;if(et(e.explicit,{}))return n;if(et(n.explicit,{}))return e}return null}(n,t);return r&&(n=r),!!r}return n=t,!0}return!0}));if(n&&i){var a,o=e.projectionName(!0),c=new Np(o,n.specifiedProjection,n.size,nt(n.data)),l=ze(e.children);try{for(l.s();!(a=l.n()).done;){var u=a.value,s=u.component.projection;if(s){var f;if(s.isFit)(f=c.data).push.apply(f,_e(u.component.projection.data));u.renameProjection(s.get("name"),o),s.merged=!0}}}catch(d){l.e(d)}finally{l.f()}return c}return}(e)}function Ap(e,n){return"".concat(wi(e),"_").concat(n)}function Tp(e,n,t){var r,i=Ap(null!==(r=$l(t,void 0))&&void 0!==r?r:{},n);return e.getName("".concat(i,"_bins"))}function Cp(e,n,t){var r,i;r=function(e){return"as"in e}(e)?Ee(e.as)?[e.as,"".concat(e.as,"_end")]:[e.as[0],e.as[1]]:[Cl(e,{forAs:!0}),Cl(e,{binSuffix:"end",forAs:!0})];var a=Ce({},$l(n,void 0)),o=Ap(a,e.field),c=function(e,n){return{signal:e.getName("".concat(n,"_bins")),extentSignal:e.getName("".concat(n,"_extent"))}}(t,o),l=c.signal,u=c.extentSignal;if(Di(a.extent)){var s=a.extent;i=Sv(t,s.param,s),delete a.extent}return{key:o,binComponent:Ce(Ce(Ce({bin:a,field:e.field,as:[r]},l?{signal:l}:{}),u?{extentSignal:u}:{}),i?{span:i}:{})}}var Pp=function(e){pe(t,e);var n=he(t);function t(e,r){var i;return be(this,t),(i=n.call(this,e)).bins=r,i}return ke(t,[{key:"clone",value:function(){return new t(null,nt(this.bins))}},{key:"merge",value:function(e,n){var t,r=ze(bt(e.bins));try{for(r.s();!(t=r.n()).done;){var i=t.value;i in this.bins?(n(e.bins[i].signal,this.bins[i].signal),this.bins[i].as=vt([].concat(_e(this.bins[i].as),_e(e.bins[i].as)),ot)):this.bins[i]=e.bins[i]}}catch(l){r.e(l)}finally{r.f()}var a,o=ze(e.children);try{for(o.s();!(a=o.n()).done;){var c=a.value;e.removeChild(c),c.parent=this}}catch(l){o.e(l)}finally{o.f()}e.remove()}},{key:"producedFields",value:function(){return new Set(xt(this.bins).map((function(e){return e.as})).flat(2))}},{key:"dependentFields",value:function(){return new Set(xt(this.bins).map((function(e){return e.field})))}},{key:"hash",value:function(){return"Bin ".concat(ot(this.bins))}},{key:"assemble",value:function(){return xt(this.bins).flatMap((function(e){var n,t=[],r=Ne(n=e.as)||Ae(n)||Le(n)||Fe(),i=r[0],a=r.slice(1),o=e.bin,c=o.extent,l=Oe(o,K),u=Ce(Ce(Ce({type:"bin",field:At(e.field),as:i,signal:e.signal},Di(c)?{extent:null}:{extent:c}),e.span?{span:{signal:"span(".concat(e.span,")")}}:{}),l);!c&&e.extentSignal&&(t.push({type:"extent",field:At(e.field),signal:e.extentSignal}),u.extent={signal:e.extentSignal}),t.push(u);var s,f=ze(a);try{for(f.s();!(s=f.n()).done;)for(var d=s.value,v=0;v<2;v++)t.push({type:"formula",expr:Cl({field:i[v]},{expr:"datum"}),as:d[v]})}catch(p){f.e(p)}finally{f.f()}return e.formula&&t.push({type:"formula",expr:e.formula,as:e.formulaAs}),t}))}}],[{key:"makeFromEncoding",value:function(e,n){var r=n.reduceFieldDef((function(e,t,r){if(El(t)&&Si(t.bin)){var i=Cp(t,t.bin,n),a=i.key,o=i.binComponent;e[a]=Ce(Ce(Ce({},o),e[a]),function(e,n,t,r){if(nu(n,t)){var i,a,o=em(e)&&null!==(i=null!==(a=e.axis(t))&&void 0!==a?a:e.legend(t))&&void 0!==i?i:{},c=Cl(n,{expr:"datum"}),l=Cl(n,{expr:"datum",binSuffix:"end"});return{formulaAs:Cl(n,{binSuffix:"range",forAs:!0}),formula:Kc(c,l,o.format,o.formatType,r)}}return{}}(n,t,r,n.config))}return e}),{});return yt(r)?null:new t(e,r)}},{key:"makeFromTransform",value:function(e,n,r){var i=Cp(n,n.bin,r);return new t(e,Pe({},i.key,i.binComponent))}}]),t}(ad);function jp(e,n,t,r){var i,a=em(r)?r.encoding[qr(n)]:void 0;if(El(t)&&em(r)&&dl(t,a,r.markDef,r.config))e.add(Cl(t,{})),e.add(Cl(t,{suffix:"end"})),t.bin&&nu(t,n)&&e.add(Cl(t,{binSuffix:"range"}));else if(Fr(n)){var o=Dr(n);e.add(r.getName(o))}else e.add(Cl(t));return Dl(t)&&function(e){return Ue(e)&&"field"in e}(null===(i=t.scale)||void 0===i?void 0:i.range)&&e.add(t.scale.range.field),e}var zp=function(e){pe(t,e);var n=he(t);function t(e,r,i){var a;return be(this,t),(a=n.call(this,e)).dimensions=r,a.measures=i,a}return ke(t,[{key:"clone",value:function(){return new t(null,new Set(this.dimensions),nt(this.measures))}},{key:"groupBy",get:function(){return this.dimensions}},{key:"merge",value:function(e){return pt(this.dimensions,e.dimensions)?(function(e,n){var t,r=ze(bt(n));try{for(r.s();!(t=r.n()).done;){var i,a=t.value,o=n[a],c=ze(bt(o));try{for(c.s();!(i=c.n()).done;){var l,u=i.value;a in e?e[a][u]=new Set([].concat(_e(null!==(l=e[a][u])&&void 0!==l?l:[]),_e(o[u]))):e[a]=Pe({},u,o[u])}}catch(s){c.e(s)}finally{c.f()}}}catch(s){r.e(s)}finally{r.f()}}(this.measures,e.measures),!0):(function(){var e;(e=Ra).debug.apply(e,arguments)}("different dimensions, cannot merge"),!1)}},{key:"addDimensions",value:function(e){e.forEach(this.dimensions.add,this.dimensions)}},{key:"dependentFields",value:function(){return new Set([].concat(_e(this.dimensions),_e(bt(this.measures))))}},{key:"producedFields",value:function(){var e,n=new Set,t=ze(bt(this.measures));try{for(t.s();!(e=t.n()).done;){var r,i=e.value,a=ze(bt(this.measures[i]));try{for(a.s();!(r=a.n()).done;){var o=r.value,c=this.measures[i][o];0===c.size?n.add("".concat(o,"_").concat(i)):c.forEach(n.add,n)}}catch(l){a.e(l)}finally{a.f()}}}catch(l){t.e(l)}finally{t.f()}return n}},{key:"hash",value:function(){return"Aggregate ".concat(ot({dimensions:this.dimensions,measures:this.measures}))}},{key:"assemble",value:function(){var e,n=[],t=[],r=[],i=ze(bt(this.measures));try{for(i.s();!(e=i.n()).done;){var a,o=e.value,c=ze(bt(this.measures[o]));try{for(c.s();!(a=c.n()).done;){var l,u=a.value,s=ze(this.measures[o][u]);try{for(s.s();!(l=s.n()).done;){var f=l.value;r.push(f),n.push(u),t.push("*"===o?null:At(o))}}catch(d){s.e(d)}finally{s.f()}}}catch(d){c.e(d)}finally{c.f()}}}catch(d){i.e(d)}finally{i.f()}return{type:"aggregate",groupby:_e(this.dimensions).map(At),ops:n,fields:t,as:r}}}],[{key:"makeFromEncoding",value:function(e,n){var r=!1;n.forEachFieldDef((function(e){e.aggregate&&(r=!0)}));var i={},a=new Set;return r?(n.forEachFieldDef((function(e,t){var r=e.aggregate,o=e.field;if(r)if("count"===r){var c;null!==(c=i["*"])&&void 0!==c||(i["*"]={}),i["*"].count=new Set([Cl(e,{forAs:!0})])}else{if(hi(r)||mi(r)){var l,u=hi(r)?"argmin":"argmax",s=r[u];null!==(l=i[s])&&void 0!==l||(i[s]={}),i[s][u]=new Set([Cl({op:u,field:s},{forAs:!0})])}else{var f;null!==(f=i[o])&&void 0!==f||(i[o]={}),i[o][r]=new Set([Cl(e,{forAs:!0})])}var d;if(li(t)&&"unaggregated"===n.scaleDomain(t))null!==(d=i[o])&&void 0!==d||(i[o]={}),i[o].min=new Set([Cl({field:o,aggregate:"min"},{forAs:!0})]),i[o].max=new Set([Cl({field:o,aggregate:"max"},{forAs:!0})])}else jp(a,t,e,n)})),a.size+bt(i).length===0?null:new t(e,a,i)):null}},{key:"makeFromTransform",value:function(e,n){var r,i,a=new Set,o={},c=ze(n.aggregate);try{for(c.s();!(i=c.n()).done;){var l,u,s=i.value,f=s.op,d=s.field,v=s.as;if(f)if("count"===f)null!==(l=o["*"])&&void 0!==l||(o["*"]={}),o["*"].count=new Set([v||Cl(s,{forAs:!0})]);else null!==(u=o[d])&&void 0!==u||(o[d]={}),o[d][f]=new Set([v||Cl(s,{forAs:!0})])}}catch(g){c.e(g)}finally{c.f()}var p,h=ze(null!==(r=n.groupby)&&void 0!==r?r:[]);try{for(h.s();!(p=h.n()).done;){var m=p.value;a.add(m)}}catch(g){h.e(g)}finally{h.f()}return a.size+bt(o).length===0?null:new t(e,a,o)}}]),t}(ad),Lp=function(e){pe(t,e);var n=he(t);function t(e,r,i,a){var o;be(this,t),(o=n.call(this,e)).model=r,o.name=i,o.data=a;var c,l=ze(Cr);try{for(l.s();!(c=l.n()).done;){var u=c.value,s=r.facet[u];if(s){var f=s.bin,d=s.sort;o[u]=Ce({name:r.getName("".concat(u,"_domain")),fields:[Cl(s)].concat(_e(Si(f)?[Cl(s,{binSuffix:"end"})]:[]))},rl(d)?{sortField:d}:qe(d)?{sortIndexField:Iv(s,u)}:{})}}}catch(v){l.e(v)}finally{l.f()}return o.childModel=r.child,o}return ke(t,[{key:"hash",value:function(){var e,n="Facet",t=ze(Cr);try{for(t.s();!(e=t.n()).done;){var r=e.value;this[r]&&(n+=" ".concat(r.charAt(0),":").concat(ot(this[r])))}}catch(i){t.e(i)}finally{t.f()}return n}},{key:"fields",get:function(){var e,n=[],t=ze(Cr);try{for(t.s();!(e=t.n()).done;){var r,i=e.value;null!==(r=this[i])&&void 0!==r&&r.fields&&n.push.apply(n,_e(this[i].fields))}}catch(a){t.e(a)}finally{t.f()}return n}},{key:"dependentFields",value:function(){var e,n=new Set(this.fields),t=ze(Cr);try{for(t.s();!(e=t.n()).done;){var r=e.value;this[r]&&(this[r].sortField&&n.add(this[r].sortField.field),this[r].sortIndexField&&n.add(this[r].sortIndexField))}}catch(i){t.e(i)}finally{t.f()}return n}},{key:"producedFields",value:function(){return new Set}},{key:"getSource",value:function(){return this.name}},{key:"getChildIndependentFieldsWithStep",value:function(){var e,n={},t=ze(Qr);try{for(t.s();!(e=t.n()).done;){var r=e.value,i=this.childModel.component.scales[r];if(i&&!i.merged){var a=i.get("type"),o=i.get("range");if(Qo(a)&&Pi(o)){var c=Ah(Th(this.childModel,r));c?n[r]=c:Ua(ia(r))}}}}catch(l){t.e(l)}finally{t.f()}return n}},{key:"assembleRowColumnHeaderData",value:function(e,n,t){var r={row:"y",column:"x",facet:void 0}[e],i=[],a=[],o=[];r&&t&&t[r]&&(n?(i.push("distinct_".concat(t[r])),a.push("max")):(i.push(t[r]),a.push("distinct")),o.push("distinct_".concat(t[r])));var c=this[e],l=c.sortField,u=c.sortIndexField;if(l){var s=l.op,f=void 0===s?Zc:s,d=l.field;i.push(d),a.push(f),o.push(Cl(l,{forAs:!0}))}else u&&(i.push(u),a.push("max"),o.push(u));return{name:this[e].name,source:null!=n?n:this.data,transform:[Ce({type:"aggregate",groupby:this[e].fields},i.length?{fields:i,ops:a,as:o}:{})]}}},{key:"assembleFacetHeaderData",value:function(e){for(var n=this.model.layout.columns,t=this.model.component.layoutHeaders,r=[],i={},a=0,o=qv;a<o.length;a++){for(var c=o[a],l=0,u=Bv;l<u.length;l++){var s,f,d=u[l],v=ze(null!==(s=t[c]&&t[c][d])&&void 0!==s?s:[]);try{for(v.s();!(f=v.n()).done;){var p;if((null===(p=f.value.axes)||void 0===p?void 0:p.length)>0){i[c]=!0;break}}}catch(b){v.e(b)}finally{v.f()}}if(i[c]){var h='length(data("'.concat(this.facet.name,'"))'),m="row"===c?n?{signal:"ceil(".concat(h," / ").concat(n,")")}:1:n?{signal:"min(".concat(h,", ").concat(n,")")}:{signal:h};r.push({name:"".concat(this.facet.name,"_").concat(c),transform:[{type:"sequence",start:0,stop:m}]})}}var g=i.row,y=i.column;return(g||y)&&r.unshift(this.assembleRowColumnHeaderData("facet",null,e)),r}},{key:"assemble",value:function(){var e=[],n=null,t=this.getChildIndependentFieldsWithStep(),r=this.column,i=this.row,a=this.facet;if(r&&i&&(t.x||t.y)){var o,c;n="cross_".concat(this.column.name,"_").concat(this.row.name);var l=[].concat(null!==(o=t.x)&&void 0!==o?o:[],null!==(c=t.y)&&void 0!==c?c:[]),u=l.map((function(){return"distinct"}));e.push({name:n,source:this.data,transform:[{type:"aggregate",groupby:this.fields,fields:l,ops:u}]})}for(var s=0,f=[qt,Wt];s<f.length;s++){var d=f[s];this[d]&&e.push(this.assembleRowColumnHeaderData(d,n,t))}if(a){var v=this.assembleFacetHeaderData(t);v&&e.push.apply(e,_e(v))}return e}}]),t}(ad);function Rp(e){return e.startsWith("'")&&e.endsWith("'")||e.startsWith('"')&&e.endsWith('"')?e.slice(1,-1):e}function Ip(e,n){var t=Ft(e);if("number"===n)return"toNumber(".concat(t,")");if("boolean"===n)return"toBoolean(".concat(t,")");if("string"===n)return"toString(".concat(t,")");if("date"===n)return"toDate(".concat(t,")");if("flatten"===n)return t;if(n.startsWith("date:")){var r=Rp(n.slice(5,n.length));return"timeParse(".concat(t,",'").concat(r,"')")}if(n.startsWith("utc:")){var i=Rp(n.slice(4,n.length));return"utcParse(".concat(t,",'").concat(i,"')")}return Ua('Unrecognized parse "'.concat(n,'".')),null}function Mp(e){var n={};return Kn(e.filter,(function(e){if(wo(e)){var t=null;if(po(e))t=Mi(e.equal);else if(mo(e))t=Mi(e.lte);else if(ho(e))t=Mi(e.lt);else if(go(e))t=Mi(e.gt);else if(yo(e))t=Mi(e.gte);else if(bo(e))t=e.range[0];else if(xo(e)){var r;t=(null!==(r=e.oneOf)&&void 0!==r?r:e.in)[0]}t&&(Wa(t)?n[e.field]="date":Se(t)?n[e.field]="number":Ee(t)&&(n[e.field]="string")),e.timeUnit&&(n[e.field]="date")}})),n}function Up(e){var n={};function t(e){var t;Kl(e)?n[e.field]="date":"quantitative"===e.type&&(t=e.aggregate,Ee(t)&&lt(["min","max"],t))?n[e.field]="number":Pt(e.field)>1?e.field in n||(n[e.field]="flatten"):Dl(e)&&rl(e.sort)&&Pt(e.sort.field)>1&&(e.sort.field in n||(n[e.sort.field]="flatten"))}if((em(e)||nm(e))&&e.forEachFieldDef((function(n,r){if(El(n))t(n);else{var i=Ur(r),a=e.fieldDef(i);t(Ce(Ce({},n),{},{type:a.type}))}})),em(e)){var r=e.mark,i=e.markDef,a=e.encoding;if(Ec(r)&&!e.encoding.order){var o=a["horizontal"===i.orient?"y":"x"];gl(o)&&"quantitative"===o.type&&!(o.field in n)&&(n[o.field]="number")}}return n}var Wp,qp=function(e){pe(t,e);var n=he(t);function t(e,r){var i;return be(this,t),(i=n.call(this,e))._parse=r,i}return ke(t,[{key:"clone",value:function(){return new t(null,nt(this._parse))}},{key:"hash",value:function(){return"Parse ".concat(ot(this._parse))}},{key:"parse",get:function(){return this._parse}},{key:"merge",value:function(e){this._parse=Ce(Ce({},this._parse),e.parse),e.remove()}},{key:"assembleFormatParse",value:function(){var e,n={},t=ze(bt(this._parse));try{for(t.s();!(e=t.n()).done;){var r=e.value,i=this._parse[r];1===Pt(r)&&(n[r]=i)}}catch(a){t.e(a)}finally{t.f()}return n}},{key:"producedFields",value:function(){return new Set(bt(this._parse))}},{key:"dependentFields",value:function(){return new Set(bt(this._parse))}},{key:"assembleTransforms",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return bt(this._parse).filter((function(e){return!n||Pt(e)>1})).map((function(n){var t=Ip(n,e._parse[n]);return t?{type:"formula",expr:t,as:Ct(n)}:null})).filter((function(e){return null!==e}))}}],[{key:"makeExplicit",value:function(e,n,t){var r,i={},a=n.data;return!Qf(a)&&null!=a&&null!==(r=a.format)&&void 0!==r&&r.parse&&(i=a.format.parse),this.makeWithAncestors(e,i,{},t)}},{key:"makeWithAncestors",value:function(e,n,r,i){var a,o=ze(bt(r));try{for(o.s();!(a=o.n()).done;){var c=a.value,l=i.getWithExplicit(c);void 0!==l.value&&(l.explicit||l.value===r[c]||"derived"===l.value||"flatten"===r[c]?delete r[c]:Ua(sa(c,r[c],l.value)))}}catch(b){o.e(b)}finally{o.f()}var u,s=ze(bt(n));try{for(s.s();!(u=s.n()).done;){var f=u.value,d=i.get(f);void 0!==d&&(d===n[f]?delete n[f]:Ua(sa(f,n[f],d)))}}catch(b){s.e(b)}finally{s.f()}var v=new Uf(n,r);i.copyAll(v);var p,h={},m=ze(bt(v.combine()));try{for(m.s();!(p=m.n()).done;){var g=p.value,y=v.get(g);null!==y&&(h[g]=y)}}catch(b){m.e(b)}finally{m.f()}return 0===bt(h).length||i.parseNothing?null:new t(e,h)}}]),t}(ad),Bp=function(e){pe(t,e);var n=he(t);function t(e){return be(this,t),n.call(this,e)}return ke(t,[{key:"clone",value:function(){return new t(null)}},{key:"dependentFields",value:function(){return new Set}},{key:"producedFields",value:function(){return new Set([Ku])}},{key:"hash",value:function(){return"Identifier"}},{key:"assemble",value:function(){return{type:"identifier",as:Ku}}}]),t}(ad),Gp=function(e){pe(t,e);var n=he(t);function t(e,r){var i;return be(this,t),(i=n.call(this,e)).params=r,i}return ke(t,[{key:"clone",value:function(){return new t(null,this.params)}},{key:"dependentFields",value:function(){return new Set}},{key:"producedFields",value:function(){}},{key:"hash",value:function(){return"Graticule ".concat(ot(this.params))}},{key:"assemble",value:function(){return Ce({type:"graticule"},!0===this.params?{}:this.params)}}]),t}(ad),Hp=function(e){pe(t,e);var n=he(t);function t(e,r){var i;return be(this,t),(i=n.call(this,e)).params=r,i}return ke(t,[{key:"clone",value:function(){return new t(null,this.params)}},{key:"dependentFields",value:function(){return new Set}},{key:"producedFields",value:function(){var e;return new Set([null!==(e=this.params.as)&&void 0!==e?e:"data"])}},{key:"hash",value:function(){return"Hash ".concat(ot(this.params))}},{key:"assemble",value:function(){return Ce({type:"sequence"},this.params)}}]),t}(ad),Vp=function(e){pe(t,e);var n=he(t);function t(e){var r,i,a;if(be(this,t),i=n.call(this,null),null!==(r=e)&&void 0!==r||(e={name:"source"}),Qf(e)||(a=e.format?Ce({},it(e.format,["parse"])):{}),$f(e))i._data={values:e.values};else if(Yf(e)){if(i._data={url:e.url},!a.type){var o=/(?:\.([^.]+))?$/.exec(e.url)[1];lt(["json","csv","tsv","dsv","topojson"],o)||(o="json"),a.type=o}}else Zf(e)?i._data={values:[{type:"Sphere"}]}:(Jf(e)||Qf(e))&&(i._data={});return i._generator=Qf(e),e.name&&(i._name=e.name),a&&!yt(a)&&(i._data.format=a),i}return ke(t,[{key:"dependentFields",value:function(){return new Set}},{key:"producedFields",value:function(){}},{key:"data",get:function(){return this._data}},{key:"hasName",value:function(){return!!this._name}},{key:"isGenerator",get:function(){return this._generator}},{key:"dataName",get:function(){return this._name},set:function(e){this._name=e}},{key:"parent",set:function(e){throw new Error("Source nodes have to be roots.")}},{key:"remove",value:function(){throw new Error("Source nodes are roots and cannot be removed.")}},{key:"hash",value:function(){throw new Error("Cannot hash sources")}},{key:"assemble",value:function(){return Ce(Ce({name:this._name},this._data),{},{transform:[]})}}]),t}(ad),Xp=globalThis&&globalThis.__classPrivateFieldSet||function(e,n,t,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof n?e!==n||!i:!n.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,t):i?i.value=t:n.set(e,t),t},Yp=globalThis&&globalThis.__classPrivateFieldGet||function(e,n,t,r){if("a"===t&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof n?e!==n||!r:!n.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===t?r:"a"===t?r.call(e):r?r.value:n.get(e)};function $p(e){return e instanceof Vp||e instanceof Gp||e instanceof Hp}var Jp=function(){function e(){be(this,e),Wp.set(this,void 0),Xp(this,Wp,!1,"f")}return ke(e,[{key:"setModified",value:function(){Xp(this,Wp,!0,"f")}},{key:"modifiedFlag",get:function(){return Yp(this,Wp,"f")}}]),e}();Wp=new WeakMap;var Qp=function(e){pe(t,e);var n=he(t);function t(){return be(this,t),n.apply(this,arguments)}return ke(t,[{key:"getNodeDepths",value:function(e,n,t){t.set(e,n);var r,i=ze(e.children);try{for(i.s();!(r=i.n()).done;){var a=r.value;this.getNodeDepths(a,n+1,t)}}catch(o){i.e(o)}finally{i.f()}return t}},{key:"optimize",value:function(e){var n,t=ze(_e(this.getNodeDepths(e,0,new Map).entries()).sort((function(e,n){return n[1]-e[1]})));try{for(t.s();!(n=t.n()).done;){var r=n.value;this.run(r[0])}}catch(i){t.e(i)}finally{t.f()}return this.modifiedFlag}}]),t}(Jp),Kp=function(e){pe(t,e);var n=he(t);function t(){return be(this,t),n.apply(this,arguments)}return ke(t,[{key:"optimize",value:function(e){this.run(e);var n,t=ze(e.children);try{for(t.s();!(n=t.n()).done;){var r=n.value;this.optimize(r)}}catch(i){t.e(i)}finally{t.f()}return this.modifiedFlag}}]),t}(Jp),Zp=function(e){pe(t,e);var n=he(t);function t(){return be(this,t),n.apply(this,arguments)}return ke(t,[{key:"mergeNodes",value:function(e,n){var t,r=n.shift(),i=ze(n);try{for(i.s();!(t=i.n()).done;){var a=t.value;e.removeChild(a),a.parent=r,a.remove()}}catch(o){i.e(o)}finally{i.f()}}},{key:"run",value:function(e){for(var n=e.children.map((function(e){return e.hash()})),t={},r=0;r<n.length;r++)void 0===t[n[r]]?t[n[r]]=[e.children[r]]:t[n[r]].push(e.children[r]);var i,a=ze(bt(t));try{for(a.s();!(i=a.n()).done;){var o=i.value;t[o].length>1&&(this.setModified(),this.mergeNodes(e,t[o]))}}catch(c){a.e(c)}finally{a.f()}}}]),t}(Kp),eh=function(e){pe(t,e);var n=he(t);function t(e){var r;return be(this,t),(r=n.call(this)).requiresSelectionId=e&&mv(e),r}return ke(t,[{key:"run",value:function(e){e instanceof Bp&&(this.requiresSelectionId&&($p(e.parent)||e.parent instanceof zp||e.parent instanceof qp)||(this.setModified(),e.remove()))}}]),t}(Kp),nh=function(e){pe(t,e);var n=he(t);function t(){return be(this,t),n.apply(this,arguments)}return ke(t,[{key:"optimize",value:function(e){return this.run(e,new Set),this.modifiedFlag}},{key:"run",value:function(e,n){var t=new Set;e instanceof ud&&ht(t=e.producedFields(),n)&&(this.setModified(),e.removeFormulas(n),0===e.producedFields.length&&e.remove());var r,i=ze(e.children);try{for(i.s();!(r=i.n()).done;){var a=r.value;this.run(a,new Set([].concat(_e(n),_e(t))))}}catch(o){i.e(o)}finally{i.f()}}}]),t}(Jp),th=function(e){pe(t,e);var n=he(t);function t(){return be(this,t),n.call(this)}return ke(t,[{key:"run",value:function(e){e instanceof od&&!e.isRequired()&&(this.setModified(),e.remove())}}]),t}(Kp),rh=function(e){pe(t,e);var n=he(t);function t(){return be(this,t),n.apply(this,arguments)}return ke(t,[{key:"run",value:function(e){if(!($p(e)||e.numChildren()>1)){var n,t=ze(e.children);try{for(t.s();!(n=t.n()).done;){var r=n.value;if(r instanceof qp)if(e instanceof qp)this.setModified(),e.merge(r);else{if(gt(e.producedFields(),r.dependentFields()))continue;this.setModified(),r.swapWithParent()}}}catch(i){t.e(i)}finally{t.f()}}}}]),t}(Qp),ih=function(e){pe(t,e);var n=he(t);function t(){return be(this,t),n.apply(this,arguments)}return ke(t,[{key:"run",value:function(e){var n=_e(e.children),t=e.children.filter((function(e){return e instanceof qp}));if(e.numChildren()>1&&t.length>=1){var r,i={},a=new Set,o=ze(t);try{for(o.s();!(r=o.n()).done;){var c,l=r.value.parse,u=ze(bt(l));try{for(u.s();!(c=u.n()).done;){var s=c.value;s in i?i[s]!==l[s]&&a.add(s):i[s]=l[s]}}catch(x){u.e(x)}finally{u.f()}}}catch(x){o.e(x)}finally{o.f()}var f,d=ze(a);try{for(d.s();!(f=d.n()).done;){delete i[f.value]}}catch(x){d.e(x)}finally{d.f()}if(!yt(i)){this.setModified();var v,p=new qp(e,i),h=ze(n);try{for(h.s();!(v=h.n()).done;){var m=v.value;if(m instanceof qp){var g,y=ze(bt(i));try{for(y.s();!(g=y.n()).done;){var b=g.value;delete m.parse[b]}}catch(x){y.e(x)}finally{y.f()}}e.removeChild(m),m.parent=p,m instanceof qp&&0===bt(m.parse).length&&m.remove()}}catch(x){h.e(x)}finally{h.f()}}}}}]),t}(Qp),ah=function(e){pe(t,e);var n=he(t);function t(){return be(this,t),n.apply(this,arguments)}return ke(t,[{key:"run",value:function(e){e instanceof od||e.numChildren()>0||e instanceof Lp||e instanceof Vp||(this.setModified(),e.remove())}}]),t}(Qp),oh=function(e){pe(t,e);var n=he(t);function t(){return be(this,t),n.apply(this,arguments)}return ke(t,[{key:"run",value:function(e){var n,t=e.children.filter((function(e){return e instanceof ud})),r=t.pop(),i=ze(t);try{for(i.s();!(n=i.n()).done;){var a=n.value;this.setModified(),r.merge(a)}}catch(o){i.e(o)}finally{i.f()}}}]),t}(Qp),ch=function(e){pe(t,e);var n=he(t);function t(){return be(this,t),n.apply(this,arguments)}return ke(t,[{key:"run",value:function(e){var n,t={},r=ze(e.children.filter((function(e){return e instanceof zp})));try{for(r.s();!(n=r.n()).done;){var i=n.value,a=ot(i.groupBy);a in t||(t[a]=[]),t[a].push(i)}}catch(v){r.e(v)}finally{r.f()}var o,c=ze(bt(t));try{for(c.s();!(o=c.n()).done;){var l=t[o.value];if(l.length>1){var u,s=l.pop(),f=ze(l);try{for(f.s();!(u=f.n()).done;){var d=u.value;s.merge(d)&&(e.removeChild(d),d.parent=s,d.remove(),this.setModified())}}catch(v){f.e(v)}finally{f.f()}}}}catch(v){c.e(v)}finally{c.f()}}}]),t}(Qp),lh=function(e){pe(t,e);var n=he(t);function t(e){var r;return be(this,t),(r=n.call(this)).model=e,r}return ke(t,[{key:"run",value:function(e){var n,t=!($p(e)||e instanceof kv||e instanceof qp||e instanceof Bp),r=[],i=[],a=ze(e.children);try{for(a.s();!(n=a.n()).done;){var o=n.value;o instanceof Pp&&(t&&!gt(e.producedFields(),o.dependentFields())?r.push(o):i.push(o))}}catch(h){a.e(h)}finally{a.f()}if(r.length>0){var c,l=r.pop(),u=ze(r);try{for(u.s();!(c=u.n()).done;){var s=c.value;l.merge(s,this.model.renameSignal.bind(this.model))}}catch(h){u.e(h)}finally{u.f()}this.setModified(),e instanceof Pp?e.merge(l,this.model.renameSignal.bind(this.model)):l.swapWithParent()}if(i.length>1){var f,d=i.pop(),v=ze(i);try{for(v.s();!(f=v.n()).done;){var p=f.value;d.merge(p,this.model.renameSignal.bind(this.model))}}catch(h){v.e(h)}finally{v.f()}this.setModified()}}}]),t}(Qp),uh=function(e){pe(t,e);var n=he(t);function t(){return be(this,t),n.apply(this,arguments)}return ke(t,[{key:"run",value:function(e){var n=_e(e.children),t=ut(n,(function(e){return e instanceof od}));if(t&&!(e.numChildren()<=1)){var r,i,a=[],o=ze(n);try{for(o.s();!(i=o.n()).done;){var c=i.value;if(c instanceof od){for(var l=c;1===l.numChildren();){var u=De(l.children,1)[0];if(!(u instanceof od))break;l=u}a.push.apply(a,_e(l.children)),r?(e.removeChild(c),c.parent=r.parent,r.parent.removeChild(r),r.parent=l,this.setModified()):r=l}else a.push(c)}}catch(v){o.e(v)}finally{o.f()}if(a.length){this.setModified();var s,f=ze(a);try{for(f.s();!(s=f.n()).done;){var d=s.value;d.parent.removeChild(d),d.parent=r}}catch(v){f.e(v)}finally{f.f()}}}}}]),t}(Qp),sh=function(e){pe(t,e);var n=he(t);function t(e,r){var i;return be(this,t),(i=n.call(this,e)).transform=r,i}return ke(t,[{key:"clone",value:function(){return new t(null,nt(this.transform))}},{key:"addDimensions",value:function(e){this.transform.groupby=vt(this.transform.groupby.concat(e),(function(e){return e}))}},{key:"dependentFields",value:function(){var e=new Set;return this.transform.groupby&&this.transform.groupby.forEach(e.add,e),this.transform.joinaggregate.map((function(e){return e.field})).filter((function(e){return void 0!==e})).forEach(e.add,e),e}},{key:"producedFields",value:function(){return new Set(this.transform.joinaggregate.map(this.getDefaultName))}},{key:"getDefaultName",value:function(e){var n;return null!==(n=e.as)&&void 0!==n?n:Cl(e)}},{key:"hash",value:function(){return"JoinAggregateTransform ".concat(ot(this.transform))}},{key:"assemble",value:function(){var e,n=[],t=[],r=[],i=ze(this.transform.joinaggregate);try{for(i.s();!(e=i.n()).done;){var a=e.value;t.push(a.op),r.push(this.getDefaultName(a)),n.push(void 0===a.field?null:a.field)}}catch(c){i.e(c)}finally{i.f()}var o=this.transform.groupby;return Ce({type:"joinaggregate",as:r,ops:t,fields:n},void 0!==o?{groupby:o}:{})}}]),t}(ad);var fh=function(e){pe(t,e);var n=he(t);function t(e,r){var i;return be(this,t),(i=n.call(this,e))._stack=r,i}return ke(t,[{key:"clone",value:function(){return new t(null,nt(this._stack))}},{key:"stack",get:function(){return this._stack}},{key:"addDimensions",value:function(e){var n;(n=this._stack.facetby).push.apply(n,_e(e))}},{key:"dependentFields",value:function(){var e=new Set;return e.add(this._stack.stackField),this.getGroupbyFields().forEach(e.add,e),this._stack.facetby.forEach(e.add,e),this._stack.sort.field.forEach(e.add,e),e}},{key:"producedFields",value:function(){return new Set(this._stack.as)}},{key:"hash",value:function(){return"Stack ".concat(ot(this._stack))}},{key:"getGroupbyFields",value:function(){var e=this._stack,n=e.dimensionFieldDefs,t=e.impute,r=e.groupby;return n.length>0?n.map((function(e){return e.bin?t?[Cl(e,{binSuffix:"mid"})]:[Cl(e,{}),Cl(e,{binSuffix:"end"})]:[Cl(e)]})).flat():null!=r?r:[]}},{key:"assemble",value:function(){var e=[],n=this._stack,t=n.facetby,r=n.dimensionFieldDefs,i=n.stackField,a=n.stackby,o=n.sort,c=n.offset,l=n.impute,u=n.as;if(l){var s,f=ze(r);try{for(f.s();!(s=f.n()).done;){var d=s.value,v=d.bandPosition,p=void 0===v?.5:v;if(d.bin){var h=Cl(d,{expr:"datum"}),m=Cl(d,{expr:"datum",binSuffix:"end"});e.push({type:"formula",expr:"".concat(p,"*").concat(h,"+").concat(1-p,"*").concat(m),as:Cl(d,{binSuffix:"mid",forAs:!0})})}e.push({type:"impute",field:i,groupby:[].concat(_e(a),_e(t)),key:Cl(d,{binSuffix:"mid"}),method:"value",value:0})}}catch(g){f.e(g)}finally{f.f()}}return e.push({type:"stack",groupby:[].concat(_e(this.getGroupbyFields()),_e(t)),field:i,sort:o,as:u,offset:c}),e}}],[{key:"makeFromTransform",value:function(e,n){var r=n.stack,i=n.groupby,a=n.as,o=n.offset,c=void 0===o?"zero":o,l=[],u=[];if(void 0!==n.sort){var s,f=ze(n.sort);try{for(f.s();!(s=f.n()).done;){var d=s.value;l.push(d.field),u.push(jt(d.order,"ascending"))}}catch(h){f.e(h)}finally{f.f()}}var v,p={field:l,order:u};return v=function(e){return qe(e)&&e.every((function(e){return Ee(e)}))&&e.length>1}(a)?a:Ee(a)?[a,"".concat(a,"_end")]:["".concat(n.stack,"_start"),"".concat(n.stack,"_end")],new t(e,{dimensionFieldDefs:[],stackField:r,groupby:i,offset:c,sort:p,facetby:[],as:v})}},{key:"makeFromEncoding",value:function(e,n){var r=n.stack,i=n.encoding;if(!r)return null;var a,o=r.groupbyChannels,c=r.fieldChannel,l=r.offset,u=r.impute,s=o.map((function(e){return Gl(i[e])})).filter((function(e){return!!e})),f=function(e){return e.stack.stackBy.reduce((function(e,n){var t=Cl(n.fieldDef);return t&&e.push(t),e}),[])}(n),d=n.encoding.order;if(qe(d)||gl(d))a=$i(d);else{var v=vl(d)?d.sort:"y"===c?"descending":"ascending";a=f.reduce((function(e,n){return e.field.push(n),e.order.push(v),e}),{field:[],order:[]})}return new t(e,{dimensionFieldDefs:s,stackField:n.vgField(c),facetby:[],stackby:f,sort:a,offset:l,impute:u,as:[n.vgField(c,{suffix:"start",forAs:!0}),n.vgField(c,{suffix:"end",forAs:!0})]})}}]),t}(ad),dh=function(e){pe(t,e);var n=he(t);function t(e,r){var i;return be(this,t),(i=n.call(this,e)).transform=r,i}return ke(t,[{key:"clone",value:function(){return new t(null,nt(this.transform))}},{key:"addDimensions",value:function(e){this.transform.groupby=vt(this.transform.groupby.concat(e),(function(e){return e}))}},{key:"dependentFields",value:function(){var e,n,t=new Set;return(null!==(e=this.transform.groupby)&&void 0!==e?e:[]).forEach(t.add,t),(null!==(n=this.transform.sort)&&void 0!==n?n:[]).forEach((function(e){return t.add(e.field)})),this.transform.window.map((function(e){return e.field})).filter((function(e){return void 0!==e})).forEach(t.add,t),t}},{key:"producedFields",value:function(){return new Set(this.transform.window.map(this.getDefaultName))}},{key:"getDefaultName",value:function(e){var n;return null!==(n=e.as)&&void 0!==n?n:Cl(e)}},{key:"hash",value:function(){return"WindowTransform ".concat(ot(this.transform))}},{key:"assemble",value:function(){var e,n=[],t=[],r=[],i=[],a=ze(this.transform.window);try{for(a.s();!(e=a.n()).done;){var o=e.value;t.push(o.op),r.push(this.getDefaultName(o)),i.push(void 0===o.param?null:o.param),n.push(void 0===o.field?null:o.field)}}catch(g){a.e(g)}finally{a.f()}var c=this.transform.frame,l=this.transform.groupby;if(c&&null===c[0]&&null===c[1]&&t.every((function(e){return gi(e)})))return Ce({type:"joinaggregate",as:r,ops:t,fields:n},void 0!==l?{groupby:l}:{});var u=[],s=[];if(void 0!==this.transform.sort){var f,d=ze(this.transform.sort);try{for(d.s();!(f=d.n()).done;){var v,p=f.value;u.push(p.field),s.push(null!==(v=p.order)&&void 0!==v?v:"ascending")}}catch(g){d.e(g)}finally{d.f()}}var h={field:u,order:s},m=this.transform.ignorePeers;return Ce(Ce(Ce({type:"window",params:i,as:r,ops:t,fields:n,sort:h},void 0!==m?{ignorePeers:m}:{}),void 0!==l?{groupby:l}:{}),void 0!==c?{frame:c}:{})}}]),t}(ad);function vh(e){if(e instanceof Lp)if(1!==e.numChildren()||e.children[0]instanceof od){var n=e.model.component.data.main;ph(n);var t,r=(o=e,function e(n){if(!(n instanceof Lp)){var t=n.clone();if(t instanceof od){var r=hh+t.getSource();t.setSource(r),o.model.component.data.outputNodes[r]=t}else(t instanceof zp||t instanceof fh||t instanceof dh||t instanceof sh)&&t.addDimensions(o.fields);var i,a=ze(n.children.flatMap(e));try{for(a.s();!(i=a.n()).done;)i.value.parent=t}catch(c){a.e(c)}finally{a.f()}return[t]}return n.children.flatMap(e)}),i=ze(e.children.map(r).flat());try{for(i.s();!(t=i.n()).done;){t.value.parent=n}}catch(c){i.e(c)}finally{i.f()}}else{var a=e.children[0];(a instanceof zp||a instanceof fh||a instanceof dh||a instanceof sh)&&a.addDimensions(e.fields),a.swapWithParent(),vh(e)}else e.children.map(vh);var o}function ph(e){if(e instanceof od&&e.type===Vf.Main&&1===e.numChildren()){var n=e.children[0];n instanceof Lp||(n.swapWithParent(),ph(e))}}var hh="scale_";function mh(e){var n,t=ze(e);try{for(t.s();!(n=t.n()).done;){var r,i=n.value,a=ze(i.children);try{for(a.s();!(r=a.n()).done;){if(r.value.parent!==i)return!1}}catch(o){a.e(o)}finally{a.f()}if(!mh(i.children))return!1}}catch(o){t.e(o)}finally{t.f()}return!0}function gh(e,n){var t,r=!1,i=ze(n);try{for(i.s();!(t=i.n()).done;){var a=t.value;r=e.optimize(a)||r}}catch(o){i.e(o)}finally{i.f()}return r}function yh(e,n,t){var r=e.sources,i=!1;return i=gh(new th,r)||i,i=gh(new eh(n),r)||i,r=r.filter((function(e){return e.numChildren()>0})),i=gh(new ah,r)||i,r=r.filter((function(e){return e.numChildren()>0})),t||(i=gh(new rh,r)||i,i=gh(new lh(n),r)||i,i=gh(new nh,r)||i,i=gh(new ih,r)||i,i=gh(new ch,r)||i,i=gh(new oh,r)||i,i=gh(new Zp,r)||i,i=gh(new uh,r)||i),e.sources=r,i}function bh(e,n){mh(e.sources);for(var t=0,r=0,i=0;i<5&&yh(e,n,!0);i++)t++;e.sources.map(vh);for(var a=0;a<5&&yh(e,n,!1);a++)r++;mh(e.sources),5===Math.max(t,r)&&Ua("Maximum optimization runs(".concat(5,") reached."))}var xh=function(){function e(n){be(this,e),Object.defineProperty(this,"signal",{enumerable:!0,get:n})}return ke(e,null,[{key:"fromName",value:function(n,t){return new e((function(){return n(t)}))}}]),e}();function kh(e){em(e)?function(e){var n,t=e.component.scales,r=ze(bt(t));try{for(r.s();!(n=r.n()).done;){var i=n.value,a=wh(e,i);if(t[i].setWithExplicit("domains",a),Dh(e,i),e.component.data.isFaceted){for(var o=e;!nm(o)&&o.parent;)o=o.parent;if("shared"===o.component.resolve.scale[i]){var c,l=ze(a.value);try{for(l.s();!(c=l.n()).done;){var u=c.value;ji(u)&&(u.data=hh+u.data.replace(hh,""))}}catch(s){l.e(s)}finally{l.f()}}}}}catch(s){r.e(s)}finally{r.f()}}(e):function(e){var n,t=ze(e.children);try{for(t.s();!(n=t.n()).done;){kh(n.value)}}catch(v){t.e(v)}finally{t.f()}var r,i=e.component.scales,a=ze(bt(i));try{for(a.s();!(r=a.n()).done;){var o,c=r.value,l=void 0,u=null,s=ze(e.children);try{for(s.s();!(o=s.n()).done;){var f=o.value.component.scales[c];if(f){l=void 0===l?f.getWithExplicit("domains"):Hf(l,f.getWithExplicit("domains"),"domains","scale",Nh);var d=f.get("selectionExtent");u&&d&&u.param!==d.param&&Ua(la),u=d}}}catch(v){s.e(v)}finally{s.f()}i[c].setWithExplicit("domains",l),u&&i[c].set("selectionExtent",u,!0)}}catch(v){a.e(v)}finally{a.f()}}(e)}function wh(e,n){var t=e.getScaleComponent(n).get("type"),r=e.encoding,i=function(e,n,t,r){if("unaggregated"===e){var i=Fh(n,t),a=i.valid,o=i.reason;if(!a)return void Ua(o)}else if(void 0===e&&r.useUnaggregatedDomain&&Fh(n,t).valid)return"unaggregated";return e}(e.scaleDomain(n),e.typedFieldDef(n),t,e.config.scale);return i!==e.scaleDomain(n)&&(e.specifiedScales[n]=Ce(Ce({},e.specifiedScales[n]),{},{domain:i})),"x"===n&&Hl(r.x2)?Hl(r.x)?Hf(Eh(t,i,e,"x"),Eh(t,i,e,"x2"),"domain","scale",Nh):Eh(t,i,e,"x2"):"y"===n&&Hl(r.y2)?Hl(r.y)?Hf(Eh(t,i,e,"y"),Eh(t,i,e,"y2"),"domain","scale",Nh):Eh(t,i,e,"y2"):Eh(t,i,e,n)}function Sh(e,n,t){var r,i=null===(r=co(t))||void 0===r?void 0:r.unit;return"temporal"===n||i?function(e,n,t){return e.map((function(e){var r=Zl(e,{timeUnit:t,type:n});return{signal:"{data: ".concat(r,"}")}}))}(e,n,i):[e]}function Eh(e,n,t,r){var i=Hl(t.encoding[r]),a=i.type,o=i.timeUnit;if(function(e){return null==e?void 0:e.unionWith}(n)){var c=Eh(e,void 0,t,r),l=Sh(n.unionWith,a,o);return Wf([].concat(_e(l),_e(c.value)))}if(Ci(n))return Wf([n]);if(n&&"unaggregated"!==n&&!nc(n))return Wf(Sh(n,a,o));var u=t.stack;if(u&&r===u.fieldChannel){if("normalize"===u.offset)return qf([[0,1]]);var s=t.requestDataName(Vf.Main);return qf([{data:s,field:t.vgField(r,{suffix:"start"})},{data:s,field:t.vgField(r,{suffix:"end"})}])}var f=li(r)&&gl(i)?function(e,n,t){if(!Qo(t))return;var r=e.fieldDef(n),i=r.sort;if(il(i))return{op:"min",field:Iv(r,n),order:"ascending"};var a=e.stack,o=a?new Set([].concat(_e(a.groupbyFields),_e(a.stackBy.map((function(e){return e.fieldDef.field}))))):void 0;if(rl(i))return Oh(i,a&&!o.has(i.field));if(tl(i)){var c=i.encoding,l=i.order,u=e.fieldDef(c),s=u.aggregate,f=u.field,d=a&&!o.has(f);if(hi(s)||mi(s))return Oh({field:Cl(u),order:l},d);if(gi(s)||!s)return Oh({op:s,field:f,order:l},d)}else{if("descending"===i)return{op:"min",field:e.vgField(n),order:"descending"};if(lt(["ascending",void 0],i))return!0}return}(t,r,e):void 0;if(bl(i))return qf(Sh([i.datum],a,o));var d=i;if("unaggregated"===n){var v=t.requestDataName(Vf.Main),p=i.field;return qf([{data:v,field:Cl({field:p,aggregate:"min"})},{data:v,field:Cl({field:p,aggregate:"max"})}])}if(Si(d.bin)){if(Qo(e))return qf("bin-ordinal"===e?[]:[{data:wt(f)?t.requestDataName(Vf.Main):t.requestDataName(Vf.Raw),field:t.vgField(r,nu(d,r)?{binSuffix:"range"}:{}),sort:!0!==f&&Ue(f)?f:{field:t.vgField(r,{}),op:"min"}}]);var h=d.bin;if(Si(h)){var m=Tp(t,d.field,h);return qf([new xh((function(){var e=t.getSignalName(m);return"[".concat(e,".start, ").concat(e,".stop]")}))])}return qf([{data:t.requestDataName(Vf.Main),field:t.vgField(r,{})}])}if(d.timeUnit&&lt(["time","utc"],e)&&dl(d,em(t)?t.encoding[qr(r)]:void 0,t.markDef,t.config)){var g=t.requestDataName(Vf.Main);return qf([{data:g,field:t.vgField(r)},{data:g,field:t.vgField(r,{suffix:"end"})}])}return qf(f?[{data:wt(f)?t.requestDataName(Vf.Main):t.requestDataName(Vf.Raw),field:t.vgField(r),sort:f}]:[{data:t.requestDataName(Vf.Main),field:t.vgField(r)}])}function Oh(e,n){var t=e.op,r=e.field,i=e.order;return Ce(Ce({op:null!=t?t:n?"sum":Zc},r?{field:At(r)}:{}),i?{order:i}:{})}function Dh(e,n){var t,r=e.component.scales[n],i=e.specifiedScales[n].domain,a=null===(t=e.fieldDef(n))||void 0===t?void 0:t.bin,o=nc(i)&&i,c=Oi(a)&&Di(a.extent)&&a.extent;(o||c)&&r.set("selectionExtent",null!=o?o:c,!0)}function Fh(e,n){var t=e.aggregate,r=e.type;return t?Ee(t)&&!ki.has(t)?{valid:!1,reason:Oa(t)}:"quantitative"===r&&"log"===n?{valid:!1,reason:Da(e)}:{valid:!0}:{valid:!1,reason:Ea(e)}}function Nh(e,n,t,r){return e.explicit&&n.explicit&&Ua(function(e,n,t,r){return"Conflicting ".concat(n.toString(),' property "').concat(e.toString(),'" (').concat(at(t)," and ").concat(at(r),"). Using the union of the two domains.")}(t,r,e.value,n.value)),{explicit:e.explicit,value:[].concat(_e(e.value),_e(n.value))}}function _h(e){var n=vt(e.map((function(e){if(ji(e)){e.sort;return Oe(e,Z)}return e})),ot),t=vt(e.map((function(e){if(ji(e)){var n=e.sort;return void 0===n||wt(n)||("op"in n&&"count"===n.op&&delete n.field,"ascending"===n.order&&delete n.order),n}})).filter((function(e){return void 0!==e})),ot);if(0!==n.length){if(1===n.length){var r=e[0];if(ji(r)&&t.length>0){var i=t[0];if(t.length>1){Ua(Ta);var a=t.filter((function(e){return Ue(e)&&"op"in e&&"min"!==e.op}));i=!t.every((function(e){return Ue(e)&&"op"in e}))||1!==a.length||a[0]}else if(Ue(i)&&"field"in i){var o=i.field;r.field===o&&(i=!i.order||{order:i.order})}return Ce(Ce({},r),{},{sort:i})}return r}var c,l=vt(t.map((function(e){return wt(e)||!("op"in e)||Ee(e.op)&&e.op in pi?e:(Ua(function(e){return"Dropping sort property ".concat(at(e),' as unioned domains only support boolean or op "count", "min", and "max".')}(e)),!0)})),ot);1===l.length?c=l[0]:l.length>1&&(Ua(Ta),c=!0);var u=vt(e.map((function(e){return ji(e)?e.data:null})),(function(e){return e}));return 1===u.length&&null!==u[0]?Ce({data:u[0],fields:n.map((function(e){return e.field}))},c?{sort:c}:{}):Ce({fields:n},c?{sort:c}:{})}}function Ah(e){if(ji(e)&&Ee(e.field))return e.field;if(function(e){return!qe(e)&&"fields"in e&&!("data"in e)}(e)){var n,t,r=ze(e.fields);try{for(r.s();!(t=r.n()).done;){var i=t.value;if(ji(i)&&Ee(i.field))if(n){if(n!==i.field)return Ua("Detected faceted independent scales that union domain of multiple fields from different data sources. We will use the first field. The result view size may be incorrect."),n}else n=i.field}}catch(o){r.e(o)}finally{r.f()}return Ua("Detected faceted independent scales that union domain of the same fields from different source. We will assume that this is the same field from a different fork of the same data source. However, if this is not the case, the result view size may be incorrect."),n}if(function(e){return!qe(e)&&"fields"in e&&"data"in e}(e)){Ua("Detected faceted independent scales that union domain of multiple fields from the same data source. We will use the first field. The result view size may be incorrect.");var a=e.fields[0];return Ee(a)?a:void 0}}function Th(e,n){var t=e.component.scales[n].get("domains").map((function(n){return ji(n)&&(n.data=e.lookupDataSource(n.data)),n}));return _h(t)}function Ch(e){return rm(e)||tm(e)?e.children.reduce((function(e,n){return e.concat(Ch(n))}),Ph(e)):Ph(e)}function Ph(e){return bt(e.component.scales).reduce((function(n,t){var r=e.component.scales[t];if(r.merged)return n;var i=r.combine(),a=i.name,o=i.type,c=i.selectionExtent,l=(i.domains,i.range,i.reverse),u=Oe(i,ee),s=function(e,n,t,r){if(Kr(t)){if(Pi(e))return{step:{signal:"".concat(n,"_step")}}}else if(Ue(e)&&ji(e))return Ce(Ce({},e),{},{data:r.lookupDataSource(e.data)});return e}(i.range,a,t,e),f=Th(e,t),d=c?function(e,n,t,r){var i=Sv(e,n.param,n);return{signal:Ko(t.get("type"))&&qe(r)&&r[0]>r[1]?"isValid(".concat(i,") && reverse(").concat(i,")"):i}}(e,c,r,f):null;return n.push(Ce(Ce(Ce(Ce({name:a,type:o},f?{domain:f}:{}),d?{domainRaw:d}:{}),{},{range:s},void 0!==l?{reverse:l}:{}),u)),n}),[])}var jh=function(e){pe(t,e);var n=he(t);function t(e,r){var i;return be(this,t),(i=n.call(this,{},{name:e})).merged=!1,i.setWithExplicit("type",r),i}return ke(t,[{key:"domainDefinitelyIncludesZero",value:function(){return!1!==this.get("zero")||ut(this.get("domains"),(function(e){return qe(e)&&2===e.length&&e[0]<=0&&e[1]>=0}))}}]),t}(Uf),zh=["range","scheme"];function Lh(e,n){var t=e.fieldDef(n);if(null!=t&&t.bin){var r=t.bin,i=t.field,a=Br(n),o=e.getName(a);if(Ue(r)&&r.binned&&void 0!==r.step)return new xh((function(){var t=e.scaleName(n),i='(domain("'.concat(t,'")[1] - domain("').concat(t,'")[0]) / ').concat(r.step);return"".concat(e.getSignalName(o)," / (").concat(i,")")}));if(Si(r)){var c=Tp(e,i,r);return new xh((function(){var n=e.getSignalName(c),t="(".concat(n,".stop - ").concat(n,".start) / ").concat(n,".step");return"".concat(e.getSignalName(o)," / (").concat(t,")")}))}}}function Rh(e,n){var t,r=n.specifiedScales[e],i=n.size,a=n.getScaleComponent(e).get("type"),o=ze(zh);try{for(o.s();!(t=o.n()).done;){var c=t.value;if(void 0!==r[c]){var l=ac(a,c),u=oc(e,c);if(l)if(u)Ua(u);else switch(c){case"range":var s=r.range;if(qe(s)){if(Kr(e))return Wf(s.map((function(e){if("width"===e||"height"===e){var t=n.getName(e),r=n.getSignalName.bind(n);return xh.fromName(r,t)}return e})))}else if(Ue(s))return Wf({data:n.requestDataName(Vf.Main),field:s.field,sort:{op:"min",field:n.vgField(e)}});return Wf(s);case"scheme":return Wf(Ih(r[c]))}else Ua(_a(a,c,e))}}}catch(b){o.e(b)}finally{o.f()}var f=e===Gt||"xOffset"===e?"width":"height",d=i[f];if(ls(d))if(Kr(e))if(Qo(a)){var v=Mh(d,n,e);if(v)return Wf({step:v})}else Ua(Aa(f));else if(ri(e)){var p=e===Yt?"x":"y";if("band"===n.getScaleComponent(p).get("type")){var h=Uh(d,a);if(h)return Wf(h)}}var m=r.rangeMin,g=r.rangeMax,y=function(e,n){var t=n.size,r=n.config,i=n.mark,a=n.encoding,o=n.getSignalName.bind(n),c=Hl(a[e]),l=c.type,u=n.getScaleComponent(e),s=u.get("type"),f=n.specifiedScales[e],d=f.domain,v=f.domainMid;switch(e){case Gt:case Ht:if(lt(["point","band"],s)){var p=Wh(e,t,r.view);if(ls(p))return{step:Mh(p,n,e)}}var h=Br(e),m=n.getName(h);return e===Ht&&Ko(s)?[xh.fromName(o,m),0]:[0,xh.fromName(o,m)];case Yt:case $t:return function(e,n,t){var r=e===Yt?"x":"y",i=n.getScaleComponent(r),a=i.get("type"),o=n.scaleName(r);if("band"===a){var c=Wh(r,n.size,n.config.view);if(ls(c)){var l=Uh(c,t);if(l)return l}return[0,{signal:"bandwidth('".concat(o,"')")}]}var u=n.encoding[r];if(gl(u)&&u.timeUnit){var s=uo(u.timeUnit,(function(e){return"scale('".concat(o,"', ").concat(e,")")})),f=n.config.scale.bandWithNestedOffsetPaddingInner;if(f){var d=Ci(f)?"".concat(f.signal,"/2"):"".concat(f/2),v=Ci(f)?"(1 - ".concat(f.signal,"/2)"):"".concat(1-f/2);return[{signal:"".concat(d," * (").concat(s,")")},{signal:"".concat(v," * (").concat(s,")")}]}return[0,{signal:s}]}return tt("Cannot use ".concat(e," scale if ").concat(r," scale is not discrete."))}(e,n,s);case lr:var g=qh(i,n.component.scales[e].get("zero"),r),y=function(e,n,t,r){var i={x:Lh(t,"x"),y:Lh(t,"y")};switch(e){case"bar":case"tick":if(void 0!==r.scale.maxBandSize)return r.scale.maxBandSize;var a=Gh(n,i,r.view);return Se(a)?a-1:new xh((function(){return"".concat(a.signal," - 1")}));case"line":case"trail":case"rule":return r.scale.maxStrokeWidth;case"text":return r.scale.maxFontSize;case"point":case"square":case"circle":if(r.scale.maxSize)return r.scale.maxSize;var o=Gh(n,i,r.view);return Se(o)?Math.pow(Bh*o,2):new xh((function(){return"pow(".concat(Bh," * ").concat(o.signal,", 2)")}))}throw new Error(ya("size",e))}(i,t,n,r);return ec(s)?function(e,n,t){var r=function(){var r=Bi(n),i=Bi(e),a="(".concat(r," - ").concat(i,") / (").concat(t," - 1)");return"sequence(".concat(i,", ").concat(r," + ").concat(a,", ").concat(a,")")};return Ci(n)?new xh(r):{signal:r()}}(g,y,function(e,n,t,r){switch(e){case"quantile":return n.scale.quantileCount;case"quantize":return n.scale.quantizeCount;case"threshold":return void 0!==t&&qe(t)?t.length+1:(Ua(function(e){return"Domain for ".concat(e," is required for threshold scale.")}(r)),3)}}(s,r,d,e)):[g,y];case Kt:return[0,2*Math.PI];case ur:return[0,360];case Jt:return[0,new xh((function(){var e=n.getSignalName("width"),t=n.getSignalName("height");return"min(".concat(e,",").concat(t,")/2")}))];case vr:return[r.scale.minStrokeWidth,r.scale.maxStrokeWidth];case pr:return[[1,0],[4,2],[2,1],[1,1],[1,2,4,2]];case cr:return"symbol";case ir:case ar:case or:return"ordinal"===s?"nominal"===l?"category":"ordinal":void 0!==v?"diverging":"rect"===i||"geoshape"===i?"heatmap":"ramp";case sr:case fr:case dr:return[r.scale.minOpacity,r.scale.maxOpacity]}}(e,n);return(void 0!==m||void 0!==g)&&ac(a,"rangeMin")&&qe(y)&&2===y.length?Wf([null!=m?m:y[0],null!=g?g:y[1]]):qf(y)}function Ih(e){return function(e){return!Ee(e)&&!!e.name}(e)?Ce({scheme:e.name},it(e,["name"])):{scheme:e}}function Mh(e,n,t){var r,i=n.encoding,a=n.getScaleComponent(t),o=Hr(t),c=i[o];if("offset"===cs({step:e,offsetIsDiscrete:Sl(c)&&No(c.type)})&&vu(i,o)){var l,u=n.getScaleComponent(o),s=n.scaleName(o),f="domain('".concat(s,"').length");if("band"===u.get("type")){var d,v,p,h,m=null!==(d=null!==(v=u.get("paddingInner"))&&void 0!==v?v:u.get("padding"))&&void 0!==d?d:0,g=null!==(p=null!==(h=u.get("paddingOuter"))&&void 0!==h?h:u.get("padding"))&&void 0!==p?p:0;f="bandspace(".concat(f,", ").concat(m,", ").concat(g,")")}var y=null!==(l=a.get("paddingInner"))&&void 0!==l?l:a.get("padding");return{signal:"".concat(e.step," * ").concat(f," / (1-").concat((r=y,Ci(r)?r.signal:Me(r)),")")}}return e.step}function Uh(e,n){if("offset"===cs({step:e,offsetIsDiscrete:Qo(n)}))return{step:e.step}}function Wh(e,n,t){var r=e===Gt?"width":"height",i=n[r];return i||vs(t,r)}function qh(e,n,t){if(n)return Ci(n)?{signal:"".concat(n.signal," ? 0 : ").concat(qh(e,!1,t))}:0;switch(e){case"bar":case"tick":return t.scale.minBandSize;case"line":case"trail":case"rule":return t.scale.minStrokeWidth;case"text":return t.scale.minFontSize;case"point":case"square":case"circle":return t.scale.minSize}throw new Error(ya("size",e))}var Bh=.95;function Gh(e,n,t){var r=ls(e.width)?e.width.step:ds(t,"width"),i=ls(e.height)?e.height.step:ds(t,"height");return n.x||n.y?new xh((function(){var e=[n.x?n.x.signal:r,n.y?n.y.signal:i];return"min(".concat(e.join(", "),")")})):Math.min(r,i)}function Hh(e,n){em(e)?function(e,n){var t,r=e.component.scales,i=e.config,a=e.encoding,o=e.markDef,c=e.specifiedScales,l=ze(bt(r));try{for(l.s();!(t=l.n()).done;){var u=t.value,s=c[u],f=r[u],d=e.getScaleComponent(u),v=Hl(a[u]),p=s[n],h=d.get("type"),m=d.get("padding"),g=d.get("paddingInner"),y=ac(h,n),b=oc(u,n);if(void 0!==p&&(y?b&&Ua(b):Ua(_a(h,n,u))),y&&void 0===b)if(void 0!==p){var x=v.timeUnit,k=v.type;switch(n){case"domainMax":case"domainMin":Wa(s[n])||"temporal"===k||x?f.set(n,{signal:Zl(s[n],{type:k,timeUnit:x})},!0):f.set(n,s[n],!0);break;default:f.copyKeyFromObject(n,s)}}else{var w=n in Vh?Vh[n]({model:e,channel:u,fieldOrDatumDef:v,scaleType:h,scalePadding:m,scalePaddingInner:g,domain:s.domain,domainMin:s.domainMin,domainMax:s.domainMax,markDef:o,config:i,hasNestedOffsetScale:pu(a,u),hasSecondaryRangeChannel:!!a[qr(u)]}):i.scale[n];void 0!==w&&f.set(n,w,!1)}}}catch(S){l.e(S)}finally{l.f()}}(e,n):Yh(e,n)}var Vh={bins:function(e){var n=e.model,t=e.fieldOrDatumDef;return gl(t)?function(e,n){var t=n.bin;if(Si(t)){var r=Tp(e,n.field,t);return new xh((function(){return e.getSignalName(r)}))}if(Ei(t)&&Oi(t)&&void 0!==t.step)return{step:t.step};return}(n,t):void 0},interpolate:function(e){return function(e,n){if(lt([ir,ar,or],e)&&"nominal"!==n)return"hcl";return}(e.channel,e.fieldOrDatumDef.type)},nice:function(e){return function(e,n,t,r,i,a){var o;if(null!==(o=Gl(a))&&void 0!==o&&o.bin||qe(t)||null!=i||null!=r||lt([Ro,Io],e))return;return!!Kr(n)||void 0}(e.scaleType,e.channel,e.domain,e.domainMin,e.domainMax,e.fieldOrDatumDef)},padding:function(e){var n=e.channel,t=e.scaleType,r=e.fieldOrDatumDef,i=e.markDef,a=e.config;return function(e,n,t,r,i,a){if(Kr(e)){if(Zo(n)){if(void 0!==t.continuousPadding)return t.continuousPadding;var o=i.type,c=i.orient;if("bar"===o&&(!gl(r)||!r.bin&&!r.timeUnit)&&("vertical"===c&&"x"===e||"horizontal"===c&&"y"===e))return a.continuousBandSize}if(n===Mo)return t.pointPadding}return}(n,t,a.scale,r,i,a.bar)},paddingInner:function(e){var n=e.scalePadding,t=e.channel,r=e.markDef,i=e.scaleType,a=e.config,o=e.hasNestedOffsetScale;return function(e,n,t,r,i){var a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(void 0!==e)return;if(Kr(n)){var o=i.bandPaddingInner,c=i.barBandPaddingInner,l=i.rectBandPaddingInner,u=i.bandWithNestedOffsetPaddingInner;return a?u:jt(o,"bar"===t?c:l)}if(ri(n)&&r===Uo)return i.offsetBandPaddingInner;return}(n,t,r.type,i,a.scale,o)},paddingOuter:function(e){var n=e.scalePadding,t=e.channel,r=e.scaleType,i=e.scalePaddingInner,a=e.config,o=e.hasNestedOffsetScale;return function(e,n,t,r,i){var a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(void 0!==e)return;if(Kr(n)){var o=i.bandPaddingOuter,c=i.bandWithNestedOffsetPaddingOuter;if(a)return c;if(t===Uo)return jt(o,Ci(r)?{signal:"".concat(r.signal,"/2")}:r/2)}else if(ri(n)){if(t===Mo)return.5;if(t===Uo)return i.offsetBandPaddingOuter}return}(n,t,r,i,a.scale,o)},reverse:function(e){var n=e.fieldOrDatumDef,t=e.scaleType,r=e.channel,i=e.config;return function(e,n,t,r){if("x"===t&&void 0!==r.xReverse)return Ko(e)&&"descending"===n?Ci(r.xReverse)?{signal:"!".concat(r.xReverse.signal)}:!r.xReverse:r.xReverse;if(Ko(e)&&"descending"===n)return!0;return}(t,gl(n)?n.sort:void 0,r,i.scale)},zero:function(e){var n=e.channel,t=e.fieldOrDatumDef,r=e.domain,i=e.markDef,a=e.scaleType,o=e.config,c=e.hasSecondaryRangeChannel;return function(e,n,t,r,i,a,o){if(t&&"unaggregated"!==t&&Ko(i)){if(qe(t)){var c=t[0],l=t[t.length-1];if(c<=0&&l>=0)return!0}return!1}if("size"===e&&"quantitative"===n.type&&!ec(i))return!0;if((!gl(n)||!n.bin)&&lt([].concat(_e(Qr),_e(ei)),e)){var u=r.orient,s=r.type;return(!lt(["bar","area","line","trail"],s)||!("horizontal"===u&&"y"===e||"vertical"===u&&"x"===e))&&(!(!lt(["bar","area"],s)||o)||(null==a?void 0:a.zero))}return!1}(n,t,r,i,a,o.scale,c)}};function Xh(e){em(e)?function(e){var n,t=e.component.scales,r=ze(ci);try{for(r.s();!(n=r.n()).done;){var i=n.value,a=t[i];if(a){var o=Rh(i,e);a.setWithExplicit("range",o)}}}catch(c){r.e(c)}finally{r.f()}}(e):Yh(e,"range")}function Yh(e,n){var t,r=e.component.scales,i=ze(e.children);try{for(i.s();!(t=i.n()).done;){var a=t.value;"range"===n?Xh(a):Hh(a,n)}}catch(v){i.e(v)}finally{i.f()}var o,c=ze(bt(r));try{for(c.s();!(o=c.n()).done;){var l,u=o.value,s=void 0,f=ze(e.children);try{for(f.s();!(l=f.n()).done;){var d=l.value.component.scales[u];if(d)s=Hf(s,d.getWithExplicit(n),n,"scale",Bf((function(e,t){return"range"===n&&e.step&&t.step?e.step-t.step:0})))}}catch(v){f.e(v)}finally{f.f()}r[u].setWithExplicit(n,s)}}catch(v){c.e(v)}finally{c.f()}}function $h(e,n,t,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=Jh(n,t,r,i),o=e.type;return li(n)?void 0!==o?lc(n,o)?gl(t)&&!cc(o,t.type)?(Ua(Na(o,a)),a):o:(Ua(Fa(n,o,a)),a):a:null}function Jh(e,n,t,r){switch(n.type){case"nominal":case"ordinal":var i;if(Ar(e)||"discrete"===di(e))return"shape"===e&&"ordinal"===n.type&&Ua(wa(e,"ordinal")),"ordinal";if(Kr(e)||ri(e)){if(lt(["rect","bar","image","rule"],t.type))return"band";if(r)return"band"}else if("arc"===t.type&&e in Zr)return"band";return Tc(t[Br(e)])||Fl(n)&&null!==(i=n.axis)&&void 0!==i&&i.tickBand?"band":"point";case"temporal":return Ar(e)?"time":"discrete"===di(e)?(Ua(wa(e,"temporal")),"ordinal"):gl(n)&&n.timeUnit&&co(n.timeUnit).utc?"utc":"time";case"quantitative":return Ar(e)?gl(n)&&Si(n.bin)?"bin-ordinal":"linear":"discrete"===di(e)?(Ua(wa(e,"quantitative")),"ordinal"):"linear";case"geojson":return}throw new Error(va(n.type))}function Qh(e){em(e)?e.component.scales=function(e){var n,t=e.encoding,r=e.mark,i=e.markDef,a={},o=ze(ci);try{for(o.s();!(n=o.n()).done;){var c=n.value,l=Hl(t[c]);if(!l||r!==Sc||c!==cr||l.type!==Po){var u=l&&l.scale;if(ri(c))if(!pu(t,Vr(c))){u&&Ua(ba(c));continue}if(l&&null!==u&&!1!==u){var s;null!==(s=u)&&void 0!==s||(u={});var f=$h(u,c,l,i,pu(t,c));a[c]=new jh(e.scaleName("".concat(c),!0),{value:f,explicit:u.type===f})}}}}catch(d){o.e(d)}finally{o.f()}return a}(e):e.component.scales=function(e){var n,t,r=e.component.scales={},i={},a=e.component.resolve,o=ze(e.children);try{for(o.s();!(t=o.n()).done;){var c=t.value;Qh(c);var l,u=ze(bt(c.component.scales));try{for(u.s();!(l=u.n()).done;){var s,f=l.value;if(null!==(s=(n=a.scale)[f])&&void 0!==s||(n[f]=op(f,e)),"shared"===a.scale[f]){var d=i[f],v=c.component.scales[f].getWithExplicit("type");d?qo(d.value,v.value)?i[f]=Hf(d,v,"type","scale",Kh):(a.scale[f]="independent",delete i[f]):i[f]=v}}}catch(S){u.e(S)}finally{u.f()}}}catch(S){o.e(S)}finally{o.f()}var p,h=ze(bt(i));try{for(h.s();!(p=h.n()).done;){var m=p.value,g=e.scaleName(m,!0),y=i[m];r[m]=new jh(g,y);var b,x=ze(e.children);try{for(x.s();!(b=x.n()).done;){var k=b.value,w=k.component.scales[m];w&&(k.renameScale(w.get("name"),g),w.merged=!0)}}catch(S){x.e(S)}finally{x.f()}}}catch(S){h.e(S)}finally{h.f()}return r}(e)}var Kh=Bf((function(e,n){return Go(e)-Go(n)}));var Zh=function(){function e(){be(this,e),this.nameMap={}}return ke(e,[{key:"rename",value:function(e,n){this.nameMap[e]=n}},{key:"has",value:function(e){return void 0!==this.nameMap[e]}},{key:"get",value:function(e){for(;this.nameMap[e]&&e!==this.nameMap[e];)e=this.nameMap[e];return e}}]),e}();function em(e){return"unit"===(null==e?void 0:e.type)}function nm(e){return"facet"===(null==e?void 0:e.type)}function tm(e){return"concat"===(null==e?void 0:e.type)}function rm(e){return"layer"===(null==e?void 0:e.type)}var im=function(){function e(n,t,r,i,a,o,c){var l,u,s=this;be(this,e),this.type=t,this.parent=r,this.config=a,this.correctDataNames=function(e){var n,t,r;return null!==(n=e.from)&&void 0!==n&&n.data&&(e.from.data=s.lookupDataSource(e.from.data)),null!==(t=e.from)&&void 0!==t&&null!==(r=t.facet)&&void 0!==r&&r.data&&(e.from.facet.data=s.lookupDataSource(e.from.facet.data)),e},this.parent=r,this.config=a,this.view=_i(c),this.name=null!==(l=n.name)&&void 0!==l?l:i,this.title=Ti(n.title)?{text:n.title}:n.title?_i(n.title):void 0,this.scaleNameMap=r?r.scaleNameMap:new Zh,this.projectionNameMap=r?r.projectionNameMap:new Zh,this.signalNameMap=r?r.signalNameMap:new Zh,this.data=n.data,this.description=n.description,this.transforms=(null!==(u=n.transform)&&void 0!==u?u:[]).map((function(e){return rf(e)?{filter:Zn(e.filter,Fo)}:e})),this.layout="layer"===t||"unit"===t?{}:function(e,n,t){var r=t[n],i={},a=r.spacing,o=r.columns;void 0!==a&&(i.spacing=a),void 0!==o&&(cl(e)&&!al(e.facet)||is(e))&&(i.columns=o),as(e)&&(i.columns=1);var c,l=ze(ss);try{for(l.s();!(c=l.n()).done;){var u=c.value;if(void 0!==e[u])if("spacing"===u){var s,f,d=e[u];i[u]=Se(d)?d:{row:null!==(s=d.row)&&void 0!==s?s:a,column:null!==(f=d.column)&&void 0!==f?f:a}}else i[u]=e[u]}}catch(v){l.e(v)}finally{l.f()}return i}(n,t,a),this.component={data:{sources:r?r.component.data.sources:[],outputNodes:r?r.component.data.outputNodes:{},outputNodeRefCounts:r?r.component.data.outputNodeRefCounts:{},isFaceted:cl(n)||(null==r?void 0:r.component.data.isFaceted)&&void 0===n.data},layoutSize:new Uf,layoutHeaders:{row:{},column:{},facet:{}},mark:null,resolve:Ce({scale:{},axis:{},legend:{}},o?nt(o):{}),selection:null,scales:null,projection:null,axes:{},legends:{}}}return ke(e,[{key:"width",get:function(){return this.getSizeSignalRef("width")}},{key:"height",get:function(){return this.getSizeSignalRef("height")}},{key:"parse",value:function(){this.parseScale(),this.parseLayoutSize(),this.renameTopLevelLayoutSizeSignal(),this.parseSelections(),this.parseProjection(),this.parseData(),this.parseAxesAndHeaders(),this.parseLegends(),this.parseMarkGroup()}},{key:"parseScale",value:function(){!function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.ignoreRange;Qh(e),kh(e);var r,i=ze(ic);try{for(i.s();!(r=i.n()).done;){Hh(e,r.value)}}catch(a){i.e(a)}finally{i.f()}t||Xh(e)}(this)}},{key:"parseProjection",value:function(){_p(this)}},{key:"renameTopLevelLayoutSizeSignal",value:function(){"width"!==this.getName("width")&&this.renameSignal(this.getName("width"),"width"),"height"!==this.getName("height")&&this.renameSignal(this.getName("height"),"height")}},{key:"parseLegends",value:function(){xp(this)}},{key:"assembleEncodeFromView",value:function(e){e.style;var n,t=Oe(e,ne),r={},i=ze(bt(t));try{for(i.s();!(n=i.n()).done;){var a=n.value,o=t[a];void 0!==o&&(r[a]=Wi(o))}}catch(c){i.e(c)}finally{i.f()}return r}},{key:"assembleGroupEncodeEntry",value:function(e){var n,t={};if((this.view&&(t=this.assembleEncodeFromView(this.view)),!e)&&(this.description&&(t.description=Wi(this.description)),"unit"===this.type||"layer"===this.type))return Ce({width:this.getSizeSignalRef("width"),height:this.getSizeSignalRef("height")},null!==(n=t)&&void 0!==n?n:{});return yt(t)?void 0:t}},{key:"assembleLayout",value:function(){if(this.layout){var e=this.layout,n=e.spacing,t=Oe(e,te),r=this.component,i=this.config,a=function(e,n){var t,r={},i=ze(Cr);try{for(i.s();!(t=i.n()).done;){var a=t.value,o=e[a];if(null!=o&&o.facetFieldDef){var c=Wv(["titleAnchor","titleOrient"],o.facetFieldDef.header,n,a),l=c.titleAnchor,u=Mv(a,c.titleOrient),s=Kv(l,u);void 0!==s&&(r[u]=s)}}}catch(f){i.e(f)}finally{i.f()}return yt(r)?void 0:r}(r.layoutHeaders,i);return Ce(Ce(Ce({padding:n},this.assembleDefaultLayout()),t),a?{titleBand:a}:{})}}},{key:"assembleDefaultLayout",value:function(){return{}}},{key:"assembleHeaderMarks",value:function(){var e,n=this.component.layoutHeaders,t=[],r=ze(Cr);try{for(r.s();!(e=r.n()).done;){var i=e.value;n[i].title&&t.push(Gv(this,i))}}catch(l){r.e(l)}finally{r.f()}for(var a=0,o=qv;a<o.length;a++){var c=o[a];t=t.concat(Xv(this,c))}return t}},{key:"assembleAxes",value:function(){return e=this.component.axes,n=this.config,t=e.x,r=void 0===t?[]:t,i=e.y,a=void 0===i?[]:i,[].concat(_e(r.map((function(e){return Fv(e,"grid",n)}))),_e(a.map((function(e){return Fv(e,"grid",n)}))),_e(r.map((function(e){return Fv(e,"main",n)}))),_e(a.map((function(e){return Fv(e,"main",n)})))).filter((function(e){return e}));var e,n,t,r,i,a}},{key:"assembleLegends",value:function(){return Ep(this)}},{key:"assembleProjections",value:function(){return Op(this)}},{key:"assembleTitle",value:function(){var e,n=null!==(e=this.title)&&void 0!==e?e:{},t=n.encoding,r=Oe(n,re),i=Ce(Ce(Ce({},Ai(this.config.title).nonMarkTitleProperties),r),t?{encode:{update:t}}:{});if(i.text){var a,o;if(lt(["unit","layer"],this.type)){if(lt(["middle",void 0],i.anchor))null!==(a=i.frame)&&void 0!==a||(i.frame="group")}else null!==(o=i.anchor)&&void 0!==o||(i.anchor="start");return yt(i)?void 0:i}}},{key:"assembleGroup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n={};(e=e.concat(this.assembleSignals())).length>0&&(n.signals=e);var t=this.assembleLayout();t&&(n.layout=t),n.marks=[].concat(this.assembleHeaderMarks(),this.assembleMarks());var r=!this.parent||nm(this.parent)?Ch(this):[];r.length>0&&(n.scales=r);var i=this.assembleAxes();i.length>0&&(n.axes=i);var a=this.assembleLegends();return a.length>0&&(n.legends=a),n}},{key:"getName",value:function(e){return St((this.name?"".concat(this.name,"_"):"")+e)}},{key:"getDataName",value:function(e){return this.getName(Vf[e].toLowerCase())}},{key:"requestDataName",value:function(e){var n=this.getDataName(e),t=this.component.data.outputNodeRefCounts;return t[n]=(t[n]||0)+1,n}},{key:"getSizeSignalRef",value:function(e){if(nm(this.parent)){var n=ni(ip(e)),t=this.component.scales[n];if(t&&!t.merged){var r=t.get("type"),i=t.get("range");if(Qo(r)&&Pi(i)){var a=t.get("name"),o=Ah(Th(this,n));return o?{signal:rp(a,t,Cl({aggregate:"distinct",field:o},{expr:"datum"}))}:(Ua(ia(n)),null)}}}return{signal:this.signalNameMap.get(this.getName(e))}}},{key:"lookupDataSource",value:function(e){var n=this.component.data.outputNodes[e];return n?n.getSource():e}},{key:"getSignalName",value:function(e){return this.signalNameMap.get(e)}},{key:"renameSignal",value:function(e,n){this.signalNameMap.rename(e,n)}},{key:"renameScale",value:function(e,n){this.scaleNameMap.rename(e,n)}},{key:"renameProjection",value:function(e,n){this.projectionNameMap.rename(e,n)}},{key:"scaleName",value:function(e,n){return n?this.getName(e):Rr(e)&&li(e)&&this.component.scales[e]||this.scaleNameMap.has(this.getName(e))?this.scaleNameMap.get(this.getName(e)):void 0}},{key:"projectionName",value:function(e){return e?this.getName("projection"):this.component.projection&&!this.component.projection.merged||this.projectionNameMap.has(this.getName("projection"))?this.projectionNameMap.get(this.getName("projection")):void 0}},{key:"getScaleComponent",value:function(e){if(!this.component.scales)throw new Error("getScaleComponent cannot be called before parseScale(). Make sure you have called parseScale or use parseUnitModelWithScale().");var n=this.component.scales[e];return n&&!n.merged?n:this.parent?this.parent.getScaleComponent(e):void 0}},{key:"getSelectionComponent",value:function(e,n){var t=this.component.selection[e];if(!t&&this.parent&&(t=this.parent.getSelectionComponent(e,n)),!t)throw new Error(function(e){return'Cannot find a selection named "'.concat(e,'".')}(n));return t}},{key:"hasAxisOrientSignalRef",value:function(){var e,n;return(null===(e=this.component.axes.x)||void 0===e?void 0:e.some((function(e){return e.hasOrientSignalRef()})))||(null===(n=this.component.axes.y)||void 0===n?void 0:n.some((function(e){return e.hasOrientSignalRef()})))}}]),e}(),am=function(e){pe(t,e);var n=he(t);function t(){return be(this,t),n.apply(this,arguments)}return ke(t,[{key:"vgField",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=this.fieldDef(e);if(t)return Cl(t,n)}},{key:"reduceFieldDef",value:function(e,n){return function(e,n,t,r){return e?bt(e).reduce((function(t,i){var a=e[i];return qe(a)?a.reduce((function(e,t){return n.call(r,e,t,i)}),t):n.call(r,t,a,i)}),t):t}(this.getMapping(),(function(n,t,r){var i=Gl(t);return i?e(n,i,r):n}),n)}},{key:"forEachFieldDef",value:function(e,n){xu(this.getMapping(),(function(n,t){var r=Gl(n);r&&e(r,t)}),n)}}]),t}(im),om=function(e){pe(t,e);var n=he(t);function t(e,r){var i,a,o,c;be(this,t),(c=n.call(this,e)).transform=r,c.transform=nt(r);var l=null!==(i=c.transform.as)&&void 0!==i?i:[void 0,void 0];return c.transform.as=[null!==(a=l[0])&&void 0!==a?a:"value",null!==(o=l[1])&&void 0!==o?o:"density"],r.groupby&&null==r.minsteps&&null==r.maxsteps&&null==r.steps&&(c.transform.steps=200),c}return ke(t,[{key:"clone",value:function(){return new t(null,nt(this.transform))}},{key:"dependentFields",value:function(){var e;return new Set([this.transform.density].concat(_e(null!==(e=this.transform.groupby)&&void 0!==e?e:[])))}},{key:"producedFields",value:function(){return new Set(this.transform.as)}},{key:"hash",value:function(){return"DensityTransform ".concat(ot(this.transform))}},{key:"assemble",value:function(){var e=this.transform;return Ce({type:"kde",field:e.density},Oe(e,ie))}}]),t}(ad),cm=function(e){pe(t,e);var n=he(t);function t(e,r){var i;return be(this,t),(i=n.call(this,e)).transform=r,i.transform=nt(r),i}return ke(t,[{key:"clone",value:function(){return new t(null,nt(this.transform))}},{key:"dependentFields",value:function(){return new Set([this.transform.extent])}},{key:"producedFields",value:function(){return new Set([])}},{key:"hash",value:function(){return"ExtentTransform ".concat(ot(this.transform))}},{key:"assemble",value:function(){var e=this.transform;return{type:"extent",field:e.extent,signal:e.param}}}]),t}(ad),lm=function(e){pe(t,e);var n=he(t);function t(e,r){var i;return be(this,t),(i=n.call(this,e)).filter=r,i}return ke(t,[{key:"clone",value:function(){return new t(null,Ce({},this.filter))}},{key:"dependentFields",value:function(){return new Set(bt(this.filter))}},{key:"producedFields",value:function(){return new Set}},{key:"hash",value:function(){return"FilterInvalid ".concat(ot(this.filter))}},{key:"assemble",value:function(){var e=this,n=bt(this.filter).reduce((function(n,t){var r=e.filter[t],i=Cl(r,{expr:"datum"});return null!==r&&("temporal"===r.type?n.push("(isDate(".concat(i,") || (isValid(").concat(i,") && isFinite(+").concat(i,")))")):"quantitative"===r.type&&(n.push("isValid(".concat(i,")")),n.push("isFinite(+".concat(i,")")))),n}),[]);return n.length>0?{type:"filter",expr:n.join(" && ")}:null}}],[{key:"make",value:function(e,n){var r=n.config,i=n.mark;if("filter"!==Hi("invalid",n.markDef,r))return null;var a=n.reduceFieldDef((function(e,t,r){var a=li(r)&&n.getScaleComponent(r);a&&(Ko(a.get("type"))&&"count"!==t.aggregate&&!Ec(i)&&(e[t.field]=t));return e}),{});return bt(a).length?new t(e,a):null}}]),t}(ad),um=function(e){pe(t,e);var n=he(t);function t(e,r){var i;be(this,t),(i=n.call(this,e)).transform=r,i.transform=nt(r);var a=i.transform,o=a.flatten,c=a.as,l=void 0===c?[]:c;return i.transform.as=o.map((function(e,n){var t;return null!==(t=l[n])&&void 0!==t?t:e})),i}return ke(t,[{key:"clone",value:function(){return new t(this.parent,nt(this.transform))}},{key:"dependentFields",value:function(){return new Set(this.transform.flatten)}},{key:"producedFields",value:function(){return new Set(this.transform.as)}},{key:"hash",value:function(){return"FlattenTransform ".concat(ot(this.transform))}},{key:"assemble",value:function(){var e=this.transform;return{type:"flatten",fields:e.flatten,as:e.as}}}]),t}(ad),sm=function(e){pe(t,e);var n=he(t);function t(e,r){var i,a,o,c;be(this,t),(c=n.call(this,e)).transform=r,c.transform=nt(r);var l=null!==(i=c.transform.as)&&void 0!==i?i:[void 0,void 0];return c.transform.as=[null!==(a=l[0])&&void 0!==a?a:"key",null!==(o=l[1])&&void 0!==o?o:"value"],c}return ke(t,[{key:"clone",value:function(){return new t(null,nt(this.transform))}},{key:"dependentFields",value:function(){return new Set(this.transform.fold)}},{key:"producedFields",value:function(){return new Set(this.transform.as)}},{key:"hash",value:function(){return"FoldTransform ".concat(ot(this.transform))}},{key:"assemble",value:function(){var e=this.transform;return{type:"fold",fields:e.fold,as:e.as}}}]),t}(ad),fm=function(e){pe(t,e);var n=he(t);function t(e,r,i,a){var o;return be(this,t),(o=n.call(this,e)).fields=r,o.geojson=i,o.signal=a,o}return ke(t,[{key:"clone",value:function(){return new t(null,nt(this.fields),this.geojson,this.signal)}},{key:"dependentFields",value:function(){var e,n=(null!==(e=this.fields)&&void 0!==e?e:[]).filter(Ee);return new Set([].concat(_e(this.geojson?[this.geojson]:[]),_e(n)))}},{key:"producedFields",value:function(){return new Set}},{key:"hash",value:function(){return"GeoJSON ".concat(this.geojson," ").concat(this.signal," ").concat(ot(this.fields))}},{key:"assemble",value:function(){return[].concat(_e(this.geojson?[{type:"filter",expr:'isValid(datum["'.concat(this.geojson,'"])')}]:[]),[Ce(Ce(Ce({type:"geojson"},this.fields?{fields:this.fields}:{}),this.geojson?{geojson:this.geojson}:{}),{},{signal:this.signal})])}}],[{key:"parseAll",value:function(e,n){if(n.component.projection&&!n.component.projection.isFit)return e;for(var r=0,i=0,a=[[nr,er],[rr,tr]];i<a.length;i++){var o=a[i].map((function(e){var t=Hl(n.encoding[e]);return gl(t)?t.field:bl(t)?{expr:"".concat(t.datum)}:Ol(t)?{expr:"".concat(t.value)}:void 0}));(o[0]||o[1])&&(e=new t(e,o,null,n.getName("geojson_".concat(r++))))}if(n.channelHasField(cr)){var c=n.typedFieldDef(cr);c.type===Po&&(e=new t(e,null,c.field,n.getName("geojson_".concat(r++))))}return e}}]),t}(ad),dm=function(e){pe(t,e);var n=he(t);function t(e,r,i,a){var o;return be(this,t),(o=n.call(this,e)).projection=r,o.fields=i,o.as=a,o}return ke(t,[{key:"clone",value:function(){return new t(null,this.projection,nt(this.fields),nt(this.as))}},{key:"dependentFields",value:function(){return new Set(this.fields.filter(Ee))}},{key:"producedFields",value:function(){return new Set(this.as)}},{key:"hash",value:function(){return"Geopoint ".concat(this.projection," ").concat(ot(this.fields)," ").concat(ot(this.as))}},{key:"assemble",value:function(){return{type:"geopoint",projection:this.projection,fields:this.fields,as:this.as}}}],[{key:"parseAll",value:function(e,n){if(!n.projectionName())return e;for(var r=0,i=[[nr,er],[rr,tr]];r<i.length;r++){var a=i[r],o=a.map((function(e){var t=Hl(n.encoding[e]);return gl(t)?t.field:bl(t)?{expr:"".concat(t.datum)}:Ol(t)?{expr:"".concat(t.value)}:void 0})),c=a[0]===rr?"2":"";(o[0]||o[1])&&(e=new t(e,n.projectionName(),o,[n.getName("x".concat(c)),n.getName("y".concat(c))]))}return e}}]),t}(ad),vm=function(e){pe(t,e);var n=he(t);function t(e,r){var i;return be(this,t),(i=n.call(this,e)).transform=r,i}return ke(t,[{key:"clone",value:function(){return new t(null,nt(this.transform))}},{key:"dependentFields",value:function(){var e;return new Set([this.transform.impute,this.transform.key].concat(_e(null!==(e=this.transform.groupby)&&void 0!==e?e:[])))}},{key:"producedFields",value:function(){return new Set([this.transform.impute])}},{key:"processSequence",value:function(e){var n=e.start,t=void 0===n?0:n,r=e.stop,i=e.step,a=[t,r].concat(_e(i?[i]:[])).join(",");return{signal:"sequence(".concat(a,")")}}},{key:"hash",value:function(){return"Impute ".concat(ot(this.transform))}},{key:"assemble",value:function(){var e=this.transform,n=e.impute,t=e.key,r=e.keyvals,i=e.method,a=e.groupby,o=e.value,c=e.frame,l=void 0===c?[null,null]:c,u=Ce(Ce(Ce({type:"impute",field:n,key:t},r?{keyvals:af(r)?this.processSequence(r):r}:{}),{},{method:"value"},a?{groupby:a}:{}),{},{value:i&&"value"!==i?null:o});return i&&"value"!==i?[u,Ce({type:"window",as:["imputed_".concat(n,"_value")],ops:[i],fields:[n],frame:l,ignorePeers:!1},a?{groupby:a}:{}),{type:"formula",expr:"datum.".concat(n," === null ? datum.imputed_").concat(n,"_value : datum.").concat(n),as:n}]:[u]}}],[{key:"makeFromTransform",value:function(e,n){return new t(e,n)}},{key:"makeFromEncoding",value:function(e,n){var r=n.encoding,i=r.x,a=r.y;if(gl(i)&&gl(a)){var o=i.impute?i:a.impute?a:void 0;if(void 0===o)return;var c=i.impute?a:a.impute?i:void 0,l=o.impute,u=l.method,s=l.value,f=l.frame,d=l.keyvals,v=ku(n.mark,r);return new t(e,Ce(Ce(Ce(Ce(Ce({impute:o.field,key:c.field},u?{method:u}:{}),void 0!==s?{value:s}:{}),f?{frame:f}:{}),void 0!==d?{keyvals:d}:{}),v.length?{groupby:v}:{}))}return null}}]),t}(ad),pm=function(e){pe(t,e);var n=he(t);function t(e,r){var i,a,o,c;be(this,t),(c=n.call(this,e)).transform=r,c.transform=nt(r);var l=null!==(i=c.transform.as)&&void 0!==i?i:[void 0,void 0];return c.transform.as=[null!==(a=l[0])&&void 0!==a?a:r.on,null!==(o=l[1])&&void 0!==o?o:r.loess],c}return ke(t,[{key:"clone",value:function(){return new t(null,nt(this.transform))}},{key:"dependentFields",value:function(){var e;return new Set([this.transform.loess,this.transform.on].concat(_e(null!==(e=this.transform.groupby)&&void 0!==e?e:[])))}},{key:"producedFields",value:function(){return new Set(this.transform.as)}},{key:"hash",value:function(){return"LoessTransform ".concat(ot(this.transform))}},{key:"assemble",value:function(){var e=this.transform,n=e.loess;return Ce({type:"loess",x:e.on,y:n},Oe(e,ae))}}]),t}(ad),hm=function(e){pe(t,e);var n=he(t);function t(e,r,i){var a;return be(this,t),(a=n.call(this,e)).transform=r,a.secondary=i,a}return ke(t,[{key:"clone",value:function(){return new t(null,nt(this.transform),this.secondary)}},{key:"dependentFields",value:function(){return new Set([this.transform.lookup])}},{key:"producedFields",value:function(){return new Set(this.transform.as?Be(this.transform.as):this.transform.from.fields)}},{key:"hash",value:function(){return"Lookup ".concat(ot({transform:this.transform,secondary:this.secondary}))}},{key:"assemble",value:function(){var e;if(this.transform.from.fields)e=Ce({values:this.transform.from.fields},this.transform.as?{as:Be(this.transform.as)}:{});else{var n=this.transform.as;Ee(n)||(Ua('If "from.fields" is not specified, "as" has to be a string that specifies the key to be used for the data from the secondary source.'),n="_lookup"),e={as:[n]}}return Ce(Ce({type:"lookup",from:this.secondary,key:this.transform.from.key,fields:[this.transform.lookup]},e),this.transform.default?{default:this.transform.default}:{})}}],[{key:"make",value:function(e,n,r,i){var a=n.component.data.sources,o=r.from,c=null;if(function(e){return"data"in e}(o)){var l=Tm(o.data,a);l||(l=new Vp(o.data),a.push(l));var u=n.getName("lookup_".concat(i));c=new od(l,u,Vf.Lookup,n.component.data.outputNodeRefCounts),n.component.data.outputNodes[u]=c}else if(function(e){return"param"in e}(o)){var s,f=o.param;r=Ce({as:f},r);try{s=n.getSelectionComponent(St(f),f)}catch(sg){throw new Error(function(e){return'Lookups can only be performed on selection parameters. "'.concat(e,'" is a variable parameter.')}(f))}if(!(c=s.materialized))throw new Error(function(e){return'Cannot define and lookup the "'.concat(e,'" selection in the same view. ')+"Try moving the lookup into a second, layered view?"}(f))}return new t(e,r,c.getSource())}}]),t}(ad),mm=function(e){pe(t,e);var n=he(t);function t(e,r){var i,a,o,c;be(this,t),(c=n.call(this,e)).transform=r,c.transform=nt(r);var l=null!==(i=c.transform.as)&&void 0!==i?i:[void 0,void 0];return c.transform.as=[null!==(a=l[0])&&void 0!==a?a:"prob",null!==(o=l[1])&&void 0!==o?o:"value"],c}return ke(t,[{key:"clone",value:function(){return new t(null,nt(this.transform))}},{key:"dependentFields",value:function(){var e;return new Set([this.transform.quantile].concat(_e(null!==(e=this.transform.groupby)&&void 0!==e?e:[])))}},{key:"producedFields",value:function(){return new Set(this.transform.as)}},{key:"hash",value:function(){return"QuantileTransform ".concat(ot(this.transform))}},{key:"assemble",value:function(){var e=this.transform;return Ce({type:"quantile",field:e.quantile},Oe(e,oe))}}]),t}(ad),gm=function(e){pe(t,e);var n=he(t);function t(e,r){var i,a,o,c;be(this,t),(c=n.call(this,e)).transform=r,c.transform=nt(r);var l=null!==(i=c.transform.as)&&void 0!==i?i:[void 0,void 0];return c.transform.as=[null!==(a=l[0])&&void 0!==a?a:r.on,null!==(o=l[1])&&void 0!==o?o:r.regression],c}return ke(t,[{key:"clone",value:function(){return new t(null,nt(this.transform))}},{key:"dependentFields",value:function(){var e;return new Set([this.transform.regression,this.transform.on].concat(_e(null!==(e=this.transform.groupby)&&void 0!==e?e:[])))}},{key:"producedFields",value:function(){return new Set(this.transform.as)}},{key:"hash",value:function(){return"RegressionTransform ".concat(ot(this.transform))}},{key:"assemble",value:function(){var e=this.transform,n=e.regression;return Ce({type:"regression",x:e.on,y:n},Oe(e,ce))}}]),t}(ad),ym=function(e){pe(t,e);var n=he(t);function t(e,r){var i;return be(this,t),(i=n.call(this,e)).transform=r,i}return ke(t,[{key:"clone",value:function(){return new t(null,nt(this.transform))}},{key:"addDimensions",value:function(e){var n;this.transform.groupby=vt((null!==(n=this.transform.groupby)&&void 0!==n?n:[]).concat(e),(function(e){return e}))}},{key:"producedFields",value:function(){}},{key:"dependentFields",value:function(){var e;return new Set([this.transform.pivot,this.transform.value].concat(_e(null!==(e=this.transform.groupby)&&void 0!==e?e:[])))}},{key:"hash",value:function(){return"PivotTransform ".concat(ot(this.transform))}},{key:"assemble",value:function(){var e=this.transform,n=e.pivot,t=e.value,r=e.groupby,i=e.limit,a=e.op;return Ce(Ce(Ce({type:"pivot",field:n,value:t},void 0!==i?{limit:i}:{}),void 0!==a?{op:a}:{}),void 0!==r?{groupby:r}:{})}}]),t}(ad),bm=function(e){pe(t,e);var n=he(t);function t(e,r){var i;return be(this,t),(i=n.call(this,e)).transform=r,i}return ke(t,[{key:"clone",value:function(){return new t(null,nt(this.transform))}},{key:"dependentFields",value:function(){return new Set}},{key:"producedFields",value:function(){return new Set}},{key:"hash",value:function(){return"SampleTransform ".concat(ot(this.transform))}},{key:"assemble",value:function(){return{type:"sample",size:this.transform.sample}}}]),t}(ad);function xm(e){var n=0;return function t(r,i){var a,o,c,l;if(r instanceof Vp&&(r.isGenerator||Yf(r.data)||(e.push(i),i={name:null,source:i.name,transform:[]})),r instanceof qp&&(r.parent instanceof Vp&&!i.source?(i.format=Ce(Ce({},null!==(a=i.format)&&void 0!==a?a:{}),{},{parse:r.assembleFormatParse()}),(o=i.transform).push.apply(o,_e(r.assembleTransforms(!0)))):(c=i.transform).push.apply(c,_e(r.assembleTransforms()))),r instanceof Lp)return i.name||(i.name="data_".concat(n++)),!i.source||i.transform.length>0?(e.push(i),r.data=i.name):r.data=i.source,void e.push.apply(e,_e(r.assemble()));if((r instanceof Gp||r instanceof Hp||r instanceof lm||r instanceof kv||r instanceof Rv||r instanceof dm||r instanceof zp||r instanceof hm||r instanceof dh||r instanceof sh||r instanceof sm||r instanceof um||r instanceof om||r instanceof pm||r instanceof mm||r instanceof gm||r instanceof Bp||r instanceof bm||r instanceof ym||r instanceof cm)&&i.transform.push(r.assemble()),(r instanceof Pp||r instanceof ud||r instanceof vm||r instanceof fh||r instanceof fm)&&(l=i.transform).push.apply(l,_e(r.assemble())),r instanceof od)if(i.source&&0===i.transform.length)r.setSource(i.source);else if(r.parent instanceof od)r.setSource(i.name);else{if(i.name||(i.name="data_".concat(n++)),r.setSource(i.name),1===r.numChildren())e.push(i),i={name:null,source:i.name,transform:[]}}switch(r.numChildren()){case 0:r instanceof od&&(!i.source||i.transform.length>0)&&e.push(i);break;case 1:t(r.children[0],i);break;default:i.name||(i.name="data_".concat(n++));var u=i.name;!i.source||i.transform.length>0?e.push(i):u=i.source;var s,f=ze(r.children);try{for(f.s();!(s=f.n()).done;){t(s.value,{name:null,source:u,transform:[]})}}catch(d){f.e(d)}finally{f.f()}}}}function km(e,n){var t,r=[],i=xm(r),a=0,o=ze(e.sources);try{for(o.s();!(t=o.n()).done;){var c=t.value;c.hasName()||(c.dataName="source_".concat(a++));var l=c.assemble();i(c,l)}}catch(N){o.e(N)}finally{o.f()}for(var u=0,s=r;u<s.length;u++){var f=s[u];0===f.transform.length&&delete f.transform}var d,v=0,p=ze(r.entries());try{for(p.s();!(d=p.n()).done;){var h,m=De(d.value,2),g=m[0],y=m[1];0!==(null!==(h=y.transform)&&void 0!==h?h:[]).length||y.source||r.splice(v++,0,r.splice(g,1)[0])}}catch(N){p.e(N)}finally{p.f()}for(var b=0,x=r;b<x.length;b++){var k,w,S=ze(null!==(k=x[b].transform)&&void 0!==k?k:[]);try{for(S.s();!(w=S.n()).done;){var E=w.value;"lookup"===E.type&&(E.from=e.outputNodes[E.from].getSource())}}catch(N){S.e(N)}finally{S.f()}}for(var O=0,D=r;O<D.length;O++){var F=D[O];F.name in n&&(F.values=n[F.name])}return r}function wm(e){return"top"===e||"left"===e||Ci(e)?"header":"footer"}function Sm(e,n){var t=e.facet,r=e.config,i=e.child,a=e.component;if(e.channelHasField(n)){var o,c=t[n],l=Uv("title",null,r,n),u=Ml(c,r,{allowDisabling:!0,includeDefault:void 0===l||!!l});i.component.layoutHeaders[n].title&&(u=qe(u)?u.join(", "):u,u+=" / ".concat(i.component.layoutHeaders[n].title),i.component.layoutHeaders[n].title=null);var s=Uv("labelOrient",c.header,r,n),f=null!==c.header&&jt(null===(o=c.header)||void 0===o?void 0:o.labels,r.header.labels,!0),d=lt(["bottom","right"],s)?"footer":"header";a.layoutHeaders[n]=Pe({title:null!==c.header?u:null,facetFieldDef:c},d,"facet"===n?[]:[Em(e,n,f)])}}function Em(e,n,t){var r="row"===n?"height":"width";return{labels:t,sizeSignal:e.child.component.layoutSize.get(r)?e.child.getSizeSignalRef(r):void 0,axes:[]}}function Om(e,n){var t=e.child;if(t.component.axes[n]){var r=e.component,i=r.layoutHeaders,a=r.resolve;if(a.axis[n]=cp(a,n),"shared"===a.axis[n]){var o,c="x"===n?"column":"row",l=i[c],u=ze(t.component.axes[n]);try{for(u.s();!(o=u.n()).done;){var s,f=o.value,d=wm(f.get("orient"));null!==(s=l[d])&&void 0!==s||(l[d]=[Em(e,c,!1)]);var v=Fv(f,"main",e.config,{header:!0});v&&l[d][0].axes.push(v),f.mainExtracted=!0}}catch(p){u.e(p)}finally{u.f()}}}}function Dm(e){var n,t=ze(e.children);try{for(t.s();!(n=t.n()).done;){n.value.parseLayoutSize()}}catch(r){t.e(r)}finally{t.f()}}function Fm(e,n){var t,r,i=ip(n),a=ni(i),o=e.component.resolve,c=e.component.layoutSize,l=ze(e.children);try{for(l.s();!(r=l.n()).done;){var u,s=r.value.component.layoutSize.getWithExplicit(i),f=null!==(u=o.scale[a])&&void 0!==u?u:op(a,e);if("independent"===f&&"step"===s.value){t=void 0;break}if(t){if("independent"===f&&t.value!==s.value){t=void 0;break}t=Hf(t,s,i,"")}else t=s}}catch(h){l.e(h)}finally{l.f()}if(t){var d,v=ze(e.children);try{for(v.s();!(d=v.n()).done;){var p=d.value;e.renameSignal(p.getName(i),e.getName(n)),p.component.layoutSize.set(i,"merged",!1)}}catch(h){v.e(h)}finally{v.f()}c.setWithExplicit(n,t)}else c.setWithExplicit(n,{explicit:!1,value:void 0})}function Nm(e,n){var t="width"===n?"x":"y",r=e.config,i=e.getScaleComponent(t);if(i){var a=i.get("type"),o=i.get("range");if(Qo(a)){var c=vs(r.view,n);return Pi(o)||ls(c)?"step":c}return fs(r.view,n)}if(e.hasProjection||"arc"===e.mark)return fs(r.view,n);var l=vs(r.view,n);return ls(l)?l.step:l}function _m(e,n,t){return Cl(n,Ce({suffix:"by_".concat(Cl(e))},null!=t?t:{}))}var Am=function(e){pe(t,e);var n=he(t);function t(e,r,i,a){var o;return be(this,t),(o=n.call(this,e,"facet",r,i,a,e.resolve)).child=ag(e.spec,ge(o),o.getName("child"),void 0,a),o.children=[o.child],o.facet=o.initFacet(e.facet),o}return ke(t,[{key:"initFacet",value:function(e){if(!al(e))return{facet:this.initFacetFieldDef(e,"facet")};var n,t={},r=ze(bt(e));try{for(r.s();!(n=r.n()).done;){var i=n.value;if(![Wt,qt].includes(i)){Ua(ya(i,"facet"));break}var a=e[i];if(void 0===a.field){Ua(ga(a,i));break}t[i]=this.initFacetFieldDef(a,i)}}catch(o){r.e(o)}finally{r.f()}return t}},{key:"initFacetFieldDef",value:function(e,n){var t=Yl(e,n);return t.header?t.header=_i(t.header):null===t.header&&(t.header=null),t}},{key:"channelHasField",value:function(e){return!!this.facet[e]}},{key:"fieldDef",value:function(e){return this.facet[e]}},{key:"parseData",value:function(){this.component.data=Cm(this),this.child.parseData()}},{key:"parseLayoutSize",value:function(){Dm(this)}},{key:"parseSelections",value:function(){this.child.parseSelections(),this.component.selection=this.child.component.selection}},{key:"parseMarkGroup",value:function(){this.child.parseMarkGroup()}},{key:"parseAxesAndHeaders",value:function(){this.child.parseAxesAndHeaders(),function(e){var n,t=ze(Cr);try{for(t.s();!(n=t.n()).done;)Sm(e,n.value)}catch(r){t.e(r)}finally{t.f()}Om(e,"x"),Om(e,"y")}(this)}},{key:"assembleSelectionTopLevelSignals",value:function(e){return this.child.assembleSelectionTopLevelSignals(e)}},{key:"assembleSignals",value:function(){return this.child.assembleSignals(),[]}},{key:"assembleSelectionData",value:function(e){return this.child.assembleSelectionData(e)}},{key:"getHeaderLayoutMixins",value:function(){var e,n={},t=ze(Cr);try{for(t.s();!(e=t.n()).done;)for(var r=e.value,i=0,a=Bv;i<a.length;i++){var o=a[i],c=this.component.layoutHeaders[r],l=c[o],u=c.facetFieldDef;if(u){var s=Uv("titleOrient",u.header,this.config,r);if(["right","bottom"].includes(s)){var f,d=Mv(r,s);null!==(f=n.titleAnchor)&&void 0!==f||(n.titleAnchor={}),n.titleAnchor[d]="end"}}if(null!=l&&l[0]){var v,p,h="row"===r?"height":"width",m="header"===o?"headerBand":"footerBand";if("facet"!==r&&!this.child.component.layoutSize.get(h))null!==(v=n[m])&&void 0!==v||(n[m]={}),n[m][r]=.5;if(c.title)null!==(p=n.offset)&&void 0!==p||(n.offset={}),n.offset["row"===r?"rowTitle":"columnTitle"]=10}}}catch(g){t.e(g)}finally{t.f()}return n}},{key:"assembleDefaultLayout",value:function(){var e=this.facet,n=e.column,t=e.row,r=n?this.columnDistinctSignal():t?1:void 0,i="all";return(t||"independent"!==this.component.resolve.scale.x)&&(n||"independent"!==this.component.resolve.scale.y)||(i="none"),Ce(Ce(Ce({},this.getHeaderLayoutMixins()),r?{columns:r}:{}),{},{bounds:"full",align:i})}},{key:"assembleLayoutSignals",value:function(){return this.child.assembleLayoutSignals()}},{key:"columnDistinctSignal",value:function(){if(!(this.parent&&this.parent instanceof t)){var e=this.getName("column_domain");return{signal:"length(data('".concat(e,"'))")}}}},{key:"assembleGroupStyle",value:function(){}},{key:"assembleGroup",value:function(e){return this.parent&&this.parent instanceof t?Ce(Ce({},this.channelHasField("column")?{encode:{update:{columns:{field:Cl(this.facet.column,{prefix:"distinct"})}}}}:{}),de(ye(t.prototype),"assembleGroup",this).call(this,e)):de(ye(t.prototype),"assembleGroup",this).call(this,e)}},{key:"getCardinalityAggregateForChild",value:function(){var e=[],n=[],r=[];if(this.child instanceof t){if(this.child.channelHasField("column")){var i=Cl(this.child.facet.column);e.push(i),n.push("distinct"),r.push("distinct_".concat(i))}}else{var a,o=ze(Qr);try{for(o.s();!(a=o.n()).done;){var c=a.value,l=this.child.component.scales[c];if(l&&!l.merged){var u=l.get("type"),s=l.get("range");if(Qo(u)&&Pi(s)){var f=Ah(Th(this.child,c));f?(e.push(f),n.push("distinct"),r.push("distinct_".concat(f))):Ua(ia(c))}}}}catch(d){o.e(d)}finally{o.f()}}return{fields:e,ops:n,as:r}}},{key:"assembleFacet",value:function(){var e,n=this.component.data.facetRoot,t=n.name,r=n.data,i=this.facet,a=i.row,o=i.column,c=this.getCardinalityAggregateForChild(),l=c.fields,u=c.ops,s=c.as,f=[],d=ze(Cr);try{for(d.s();!(e=d.n()).done;){var v=e.value,p=this.facet[v];if(p){f.push(Cl(p));var h=p.bin,m=p.sort;if(Si(h)&&f.push(Cl(p,{binSuffix:"end"})),rl(m)){var g=m.field,y=m.op,b=void 0===y?Zc:y,x=_m(p,m);a&&o?(l.push(x),u.push("max"),s.push(x)):(l.push(g),u.push(b),s.push(x))}else if(qe(m)){var k=Iv(p,v);l.push(k),u.push("max"),s.push(k)}}}}catch(S){d.e(S)}finally{d.f()}var w=!!a&&!!o;return Ce({name:t,data:r,groupby:f},w||l.length>0?{aggregate:Ce(Ce({},w?{cross:w}:{}),l.length?{fields:l,ops:u,as:s}:{})}:{})}},{key:"facetSortFields",value:function(e){var n=this.facet[e];return n?rl(n.sort)?[_m(n,n.sort,{expr:"datum"})]:qe(n.sort)?[Iv(n,e,{expr:"datum"})]:[Cl(n,{expr:"datum"})]:[]}},{key:"facetSortOrder",value:function(e){var n=this.facet[e];if(n){var t=n.sort;return[(rl(t)?t.order:!qe(t)&&t)||"ascending"]}return[]}},{key:"assembleLabelTitle",value:function(){var e=this.facet,n=this.config;if(e.facet)return $v(e.facet,"facet",n);for(var t={row:["top","bottom"],column:["left","right"]},r=0,i=qv;r<i.length;r++){var a=i[r];if(e[a]){var o,c=Uv("labelOrient",null===(o=e[a])||void 0===o?void 0:o.header,n,a);if(t[a].includes(c))return $v(e[a],a,n)}}}},{key:"assembleMarks",value:function(){var e=this,n=this.child,t=function(e){var n,t=[],r=xm(t),i=ze(e.children);try{for(i.s();!(n=i.n()).done;)r(n.value,{source:e.name,name:null,transform:[]})}catch(a){i.e(a)}finally{i.f()}return t}(this.component.data.facetRoot),r=n.assembleGroupEncodeEntry(!1),i=this.assembleLabelTitle()||n.assembleTitle(),a=n.assembleGroupStyle();return[Ce(Ce(Ce(Ce(Ce({name:this.getName("cell"),type:"group"},i?{title:i}:{}),a?{style:a}:{}),{},{from:{facet:this.assembleFacet()},sort:{field:Cr.map((function(n){return e.facetSortFields(n)})).flat(),order:Cr.map((function(n){return e.facetSortOrder(n)})).flat()}},t.length>0?{data:t}:{}),r?{encode:{update:r}}:{}),n.assembleGroup(function(e,n){if(e.component.selection&&bt(e.component.selection).length){var t=Me(e.getName("cell"));n.unshift({name:"facet",value:{},on:[{events:Ye("mousemove","scope"),update:"isTuple(facet) ? facet : group(".concat(t,").datum")}]})}return id(n)}(this,[])))]}},{key:"getMapping",value:function(){return this.facet}}]),t}(am);function Tm(e,n){var t,r=ze(n);try{for(r.s();!(t=r.n()).done;){var i,a,o,c,l=t.value,u=l.data;if(!e.name||!l.hasName()||e.name===l.dataName){var s=null===(i=e.format)||void 0===i?void 0:i.mesh,f=null===(a=u.format)||void 0===a?void 0:a.feature;if(!s||!f){var d=null===(o=e.format)||void 0===o?void 0:o.feature;if(!d&&!f||d===f){var v=null===(c=u.format)||void 0===c?void 0:c.mesh;if(!s&&!v||s===v)if($f(e)&&$f(u)){if(et(e.values,u.values))return l}else if(Yf(e)&&Yf(u)){if(e.url===u.url)return l}else if(Jf(e)&&e.name===l.dataName)return l}}}}}catch(p){r.e(p)}finally{r.f()}return null}function Cm(e){var n,t,r,i=function(e,n){if(e.data||!e.parent){if(null===e.data){var t=new Vp({values:[]});return n.push(t),t}var r=Tm(e.data,n);if(r)return Qf(e.data)||(r.data.format=ft({},e.data.format,r.data.format)),!r.hasName()&&e.data.name&&(r.dataName=e.data.name),r;var i=new Vp(e.data);return n.push(i),i}return e.parent.component.data.facetRoot?e.parent.component.data.facetRoot:e.parent.component.data.main}(e,e.component.data.sources),a=e.component.data,o=a.outputNodes,c=a.outputNodeRefCounts,l=e.data,u=!(l&&(Qf(l)||Yf(l)||$f(l)))&&e.parent?e.parent.component.data.ancestorParse.clone():new Xf;Qf(l)?(Kf(l)?i=new Hp(i,l.sequence):ed(l)&&(i=new Gp(i,l.graticule)),u.parseNothing=!0):null===(null==l||null===(n=l.format)||void 0===n?void 0:n.parse)&&(u.parseNothing=!0),i=null!==(t=qp.makeExplicit(i,e,u))&&void 0!==t?t:i,i=new Bp(i);var s,f=e.parent&&rm(e.parent);(em(e)||nm(e))&&(f&&(i=null!==(s=Pp.makeFromEncoding(i,e))&&void 0!==s?s:i));e.transforms.length>0&&(i=function(e,n,t){var r,i=0,a=ze(n.transforms);try{for(a.s();!(r=a.n()).done;){var o=r.value,c=void 0,l=void 0;if(mf(o))l=e=new Rv(e,o),c="derived";else if(rf(o)){var u,s=Mp(o);l=e=null!==(u=qp.makeWithAncestors(e,{},s,t))&&void 0!==u?u:e,e=new kv(e,n,o.filter)}else if(gf(o))l=e=Pp.makeFromTransform(e,o,n),c="number";else if(bf(o))c="date",void 0===t.getWithExplicit(o.field).value&&(e=new qp(e,Pe({},o.field,c)),t.set(o.field,c,!1)),l=e=ud.makeFromTransform(e,o);else if(xf(o))l=e=zp.makeFromTransform(e,o),c="number",mv(n)&&(e=new Bp(e));else if(of(o))l=e=hm.make(e,n,o,i++),c="derived";else if(vf(o))l=e=new dh(e,o),c="number";else if(pf(o))l=e=new sh(e,o),c="number";else if(kf(o))l=e=fh.makeFromTransform(e,o),c="derived";else if(wf(o))l=e=new sm(e,o),c="derived";else if(Sf(o))l=e=new cm(e,o),c="derived";else if(hf(o))l=e=new um(e,o),c="derived";else if(cf(o))l=e=new ym(e,o),c="derived";else if(df(o))e=new bm(e,o);else if(yf(o))l=e=vm.makeFromTransform(e,o),c="derived";else if(lf(o))l=e=new om(e,o),c="derived";else if(uf(o))l=e=new mm(e,o),c="derived";else if(sf(o))l=e=new gm(e,o),c="derived";else{if(!ff(o)){Ua("Ignoring an invalid transform: ".concat(at(o),"."));continue}l=e=new pm(e,o),c="derived"}if(l&&void 0!==c){var f,d,v=ze(null!==(f=l.producedFields())&&void 0!==f?f:[]);try{for(v.s();!(d=v.n()).done;){var p=d.value;t.set(p,c,!1)}}catch(h){v.e(h)}finally{v.f()}}}}catch(h){a.e(h)}finally{a.f()}return e}(i,e,u));var d=function(e){var n={};if(em(e)&&e.component.selection){var t,r=ze(bt(e.component.selection));try{for(r.s();!(t=r.n()).done;){var i,a=t.value,o=ze(e.component.selection[a].project.items);try{for(o.s();!(i=o.n()).done;){var c=i.value;!c.channel&&Pt(c.field)>1&&(n[c.field]="flatten")}}catch(l){o.e(l)}finally{o.f()}}}catch(l){r.e(l)}finally{r.f()}}return n}(e),v=Up(e);if(i=null!==(r=qp.makeWithAncestors(i,{},Ce(Ce({},d),v),u))&&void 0!==r?r:i,em(e)&&(i=fm.parseAll(i,e),i=dm.parseAll(i,e)),em(e)||nm(e)){var p,h;if(!f)i=null!==(h=Pp.makeFromEncoding(i,e))&&void 0!==h?h:i;i=null!==(p=ud.makeFromEncoding(i,e))&&void 0!==p?p:i,i=Rv.parseAllForSortIndex(i,e)}var m,g=e.getDataName(Vf.Raw),y=new od(i,g,Vf.Raw,c);if(o[g]=y,i=y,em(e)){var b,x,k=zp.makeFromEncoding(i,e);k&&(i=k,mv(e)&&(i=new Bp(i))),i=null!==(b=vm.makeFromEncoding(i,e))&&void 0!==b?b:i,i=null!==(x=fh.makeFromEncoding(i,e))&&void 0!==x?x:i}em(e)&&(i=null!==(m=lm.make(i,e))&&void 0!==m?m:i);var w=e.getDataName(Vf.Main),S=new od(i,w,Vf.Main,c);o[w]=S,i=S,em(e)&&function(e,n){var t,r,i=ze(kt(null!==(t=e.component.selection)&&void 0!==t?t:{}));try{for(i.s();!(r=i.n()).done;){var a=De(r.value,2),o=a[0],c=a[1],l=e.getName("lookup_".concat(o));e.component.data.outputNodes[l]=c.materialized=new od(new kv(n,e,{param:o}),l,Vf.Lookup,e.component.data.outputNodeRefCounts)}}catch(u){i.e(u)}finally{i.f()}}(e,S);var E=null;if(nm(e)){var O,D=e.getName("facet");i=null!==(O=function(e,n){var t=n.row,r=n.column;if(t&&r){for(var i=null,a=0,o=[t,r];a<o.length;a++){var c=o[a];if(rl(c.sort)){var l=c.sort,u=l.field,s=l.op;e=i=new sh(e,{joinaggregate:[{op:void 0===s?Zc:s,field:u,as:_m(c,c.sort,{forAs:!0})}],groupby:[Cl(c)]})}}return i}return null}(i,e.facet))&&void 0!==O?O:i,E=new Lp(i,e,D,S.getSource()),o[D]=E}return Ce(Ce({},e.component.data),{},{outputNodes:o,outputNodeRefCounts:c,raw:y,main:S,facetRoot:E,ancestorParse:u})}var Pm=function(e){pe(t,e);var n=he(t);function t(e,r,i,a){var o,c,l,u,s;return be(this,t),s=n.call(this,e,"concat",r,i,a,e.resolve),"shared"!==(null===(o=e.resolve)||void 0===o||null===(c=o.axis)||void 0===c?void 0:c.x)&&"shared"!==(null===(l=e.resolve)||void 0===l||null===(u=l.axis)||void 0===u?void 0:u.y)||Ua("Axes cannot be shared in concatenated or repeated views yet (https://github.com/vega/vega-lite/issues/2415)."),s.children=s.getChildren(e).map((function(e,n){return ag(e,ge(s),s.getName("concat_".concat(n)),void 0,a)})),s}return ke(t,[{key:"parseData",value:function(){this.component.data=Cm(this);var e,n=ze(this.children);try{for(n.s();!(e=n.n()).done;){e.value.parseData()}}catch(t){n.e(t)}finally{n.f()}}},{key:"parseSelections",value:function(){this.component.selection={};var e,n=ze(this.children);try{for(n.s();!(e=n.n()).done;){var t=e.value;t.parseSelections();var r,i=ze(bt(t.component.selection));try{for(i.s();!(r=i.n()).done;){var a=r.value;this.component.selection[a]=t.component.selection[a]}}catch(o){i.e(o)}finally{i.f()}}}catch(o){n.e(o)}finally{n.f()}}},{key:"parseMarkGroup",value:function(){var e,n=ze(this.children);try{for(n.s();!(e=n.n()).done;){e.value.parseMarkGroup()}}catch(t){n.e(t)}finally{n.f()}}},{key:"parseAxesAndHeaders",value:function(){var e,n=ze(this.children);try{for(n.s();!(e=n.n()).done;){e.value.parseAxesAndHeaders()}}catch(t){n.e(t)}finally{n.f()}}},{key:"getChildren",value:function(e){return as(e)?e.vconcat:os(e)?e.hconcat:e.concat}},{key:"parseLayoutSize",value:function(){!function(e){Dm(e);var n=1===e.layout.columns?"width":"childWidth",t=void 0===e.layout.columns?"height":"childHeight";Fm(e,n),Fm(e,t)}(this)}},{key:"parseAxisGroup",value:function(){return null}},{key:"assembleSelectionTopLevelSignals",value:function(e){return this.children.reduce((function(e,n){return n.assembleSelectionTopLevelSignals(e)}),e)}},{key:"assembleSignals",value:function(){return this.children.forEach((function(e){return e.assembleSignals()})),[]}},{key:"assembleLayoutSignals",value:function(){var e,n=ep(this),t=ze(this.children);try{for(t.s();!(e=t.n()).done;){var r=e.value;n.push.apply(n,_e(r.assembleLayoutSignals()))}}catch(i){t.e(i)}finally{t.f()}return n}},{key:"assembleSelectionData",value:function(e){return this.children.reduce((function(e,n){return n.assembleSelectionData(e)}),e)}},{key:"assembleMarks",value:function(){return this.children.map((function(e){var n=e.assembleTitle(),t=e.assembleGroupStyle(),r=e.assembleGroupEncodeEntry(!1);return Ce(Ce(Ce(Ce({type:"group",name:e.getName("group")},n?{title:n}:{}),t?{style:t}:{}),r?{encode:{update:r}}:{}),e.assembleGroup())}))}},{key:"assembleGroupStyle",value:function(){}},{key:"assembleDefaultLayout",value:function(){var e=this.layout.columns;return Ce(Ce({},null!=e?{columns:e}:{}),{},{bounds:"full",align:"each"})}}]),t}(im);var jm=Ce(Ce({disable:1,gridScale:1,scale:1},ou),{},{labelExpr:1,encode:1}),zm=bt(jm),Lm=function(e){pe(t,e);var n=he(t);function t(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return be(this,t),(e=n.call(this)).explicit=r,e.implicit=i,e.mainExtracted=a,e}return ke(t,[{key:"clone",value:function(){return new t(nt(this.explicit),nt(this.implicit),this.mainExtracted)}},{key:"hasAxisPart",value:function(e){return"axis"===e||("grid"===e||"title"===e?!!this.get(e):!(!1===(n=this.get(e))||null===n));var n}},{key:"hasOrientSignalRef",value:function(){return Ci(this.explicit.orient)}}]),t}(Uf);var Rm={bottom:"top",top:"bottom",left:"right",right:"left"};function Im(e,n){if(!e)return n.map((function(e){return e.clone()}));if(e.length===n.length){for(var t=e.length,r=0;r<t;r++){var i=e[r],a=n[r];if(!!i!=!!a)return;if(i&&a){var o=i.getWithExplicit("orient"),c=a.getWithExplicit("orient");if(o.explicit&&c.explicit&&o.value!==c.value)return;e[r]=Mm(i,a)}}return e}}function Mm(e,n){var t,r=ze(zm);try{var i=function(){var r=t.value,i=Hf(e.getWithExplicit(r),n.getWithExplicit(r),r,"axis",(function(e,n){switch(r){case"title":return Ki(e,n);case"gridScale":return{explicit:e.explicit,value:jt(e.value,n.value)}}return Gf(e,n,r,"axis")}));e.setWithExplicit(r,i)};for(r.s();!(t=r.n()).done;)i()}catch(a){r.e(a)}finally{r.f()}return e}function Um(e,n,t,r,i){if("disable"===n)return void 0!==t;switch(t=t||{},n){case"titleAngle":case"labelAngle":return e===(Ci(t.labelAngle)?t.labelAngle:Mt(t.labelAngle));case"values":return!!t.values;case"encode":return!!t.encoding||!!t.labelAngle;case"title":if(e===Lv(r,i))return!0}return e===t[n]}var Wm=new Set(["grid","translate","format","formatType","orient","labelExpr","tickCount","position","tickMinStep"]);function qm(e,n){var t,r,i,a,o,c=n.axis(e),l=new Lm,u=Hl(n.encoding[e]),s=n.mark,f=n.config,d=(null===(t=c)||void 0===t?void 0:t.orient)||(null===(r=f["x"===e?"axisX":"axisY"])||void 0===r?void 0:r.orient)||(null===(i=f.axis)||void 0===i?void 0:i.orient)||function(e){return"x"===e?"bottom":"left"}(e),v=n.getScaleComponent(e).get("type"),p=function(e,n,t,r){var i="band"===n?["axisDiscrete","axisBand"]:"point"===n?["axisDiscrete","axisPoint"]:Xo(n)?["axisQuantitative"]:"time"===n||"utc"===n?["axisTemporal"]:[],a="x"===e?"axisX":"axisY",o=Ci(t)?"axisOrient":"axis".concat(Dt(t)),c=[].concat(i,_e(i.map((function(e){return a+e.substr(4)})))),l=["axis",o,a];return{vlOnlyAxisConfig:_v(c,r,e,t),vgAxisConfig:_v(l,r,e,t),axisConfigStyle:Av([].concat(l,_e(c)),r)}}(e,v,d,n.config),h=void 0!==c?!c:Tv("disable",f.style,null===(a=c)||void 0===a?void 0:a.style,p).configValue;if(l.set("disable",h,void 0!==c),h)return l;var m,g=function(e,n,t,r,i){var a=null==n?void 0:n.labelAngle;if(void 0!==a)return Ci(a)?a:Mt(a);var o=Tv("labelAngle",r,null==n?void 0:n.style,i).configValue;return void 0!==o?Mt(o):t!==Gt||!lt([Co,Ao],e.type)||gl(e)&&e.timeUnit?void 0:270}(u,c=c||{},e,f.style,p),y=Yc(c.formatType,u,v),b=Xc(u,u.type,c.format,c.formatType,f,!0),x={fieldOrDatumDef:u,axis:c,channel:e,model:n,scaleType:v,orient:d,labelAngle:g,format:b,formatType:y,mark:s,config:f},k=ze(zm);try{for(k.s();!(m=k.n()).done;){var w=m.value,S=w in Cv?Cv[w](x):lu(w)?c[w]:void 0,E=void 0!==S,O=Um(S,w,c,n,e);if(E&&O)l.set(w,S,O);else{var D=lu(w)&&"values"!==w?Tv(w,f.style,c.style,p):{},F=D.configValue,N=void 0===F?void 0:F,_=D.configFrom,A=void 0===_?void 0:_,T=void 0!==N;E&&!T?l.set(w,S,O):("vgAxisConfig"!==A||Wm.has(w)&&T||ru(N)||Ci(N))&&l.set(w,N,!1)}}}catch(j){k.e(j)}finally{k.f()}var C=null!==(o=c.encoding)&&void 0!==o?o:{},P=iu.reduce((function(t,r){var i;if(!l.hasAxisPart(r))return t;var a=ap(null!==(i=C[r])&&void 0!==i?i:{},n),o="labels"===r?function(e,n,t){var r,i=e.encoding,a=e.config,o=null!==(r=Hl(i[n]))&&void 0!==r?r:Hl(i[qr(n)]),c=e.axis(n)||{},l=c.format,u=c.formatType;if(qc(u))return Ce({text:Vc({fieldOrDatumDef:o,field:"datum.value",format:l,formatType:u,config:a})},t);if(void 0===l&&void 0===u&&a.customFormatTypes){if("quantitative"===yl(o)){if(Fl(o)&&"normalize"===o.stack&&a.normalizedNumberFormatType)return Ce({text:Vc({fieldOrDatumDef:o,field:"datum.value",format:a.normalizedNumberFormat,formatType:a.normalizedNumberFormatType,config:a})},t);if(a.numberFormatType)return Ce({text:Vc({fieldOrDatumDef:o,field:"datum.value",format:a.numberFormat,formatType:a.numberFormatType,config:a})},t)}if("temporal"===yl(o)&&a.timeFormatType&&gl(o)&&!o.timeUnit)return Ce({text:Vc({fieldOrDatumDef:o,field:"datum.value",format:a.timeFormat,formatType:a.timeFormatType,config:a})},t)}return t}(n,e,a):a;return void 0===o||yt(o)||(t[r]={update:o}),t}),{});return yt(P)||l.set("encode",P,!!c.encoding||void 0!==c.labelAngle),l}function Bm(e){var n,t=e.encoding,r=e.size,i=ze(Qr);try{for(i.s();!(n=i.n()).done;){var a=n.value,o=Br(a);ls(r[o])&&xl(t[a])&&(delete r[o],Ua(Aa(o)))}}catch(c){i.e(c)}finally{i.f()}return r}function Gm(e,n){e.config;return Ce(Ce(Ce(Ce(Ce(Ce({},Gd(e,{align:"ignore",baseline:"ignore",color:"include",size:"include",orient:"ignore",theta:"ignore"})),Cd("x",e,{defaultPos:"mid"})),Cd("y",e,{defaultPos:"mid"})),_d("size",e)),_d("angle",e)),function(e,n,t){if(t)return{shape:{value:t}};return _d("shape",e)}(e,0,n))}var Hm={vgMark:"rule",encodeEntry:function(e){var n=e.markDef.orient;return e.encoding.x||e.encoding.y||e.encoding.latitude||e.encoding.longitude?Ce(Ce(Ce(Ce({},Gd(e,{align:"ignore",baseline:"ignore",color:"include",orient:"ignore",size:"ignore",theta:"ignore"})),Rd("x",e,{defaultPos:"horizontal"===n?"zeroOrMax":"mid",defaultPos2:"zeroOrMin",range:"vertical"!==n})),Rd("y",e,{defaultPos:"vertical"===n?"zeroOrMax":"mid",defaultPos2:"zeroOrMin",range:"horizontal"!==n})),_d("size",e,{vgChannel:"strokeWidth"})):{}}};var Vm={vgMark:"rect",encodeEntry:function(e){var n=e.config,t=e.markDef,r=t.orient,i="horizontal"===r?"width":"height",a="horizontal"===r?"height":"width";return Ce(Ce(Ce(Ce(Ce({},Gd(e,{align:"ignore",baseline:"ignore",color:"include",orient:"ignore",size:"ignore",theta:"ignore"})),Cd("x",e,{defaultPos:"mid",vgChannel:"xc"})),Cd("y",e,{defaultPos:"mid",vgChannel:"yc"})),_d("size",e,{defaultValue:Xm(e),vgChannel:i})),{},Pe({},a,Wi(Hi("thickness",t,n))))}};function Xm(e){var n,t=e.config,r=e.markDef,i=r.orient,a="horizontal"===i?"width":"height",o=e.getScaleComponent("horizontal"===i?"x":"y"),c=null!==(n=Hi("size",r,t,{vgChannel:a}))&&void 0!==n?n:t.tick.bandSize;if(void 0!==c)return c;var l=o?o.get("range"):void 0;return l&&Pi(l)&&Se(l.step)?3*l.step/4:3*ds(t.view,a)/4}var Ym={arc:{vgMark:"arc",encodeEntry:function(e){return Ce(Ce(Ce(Ce(Ce({},Gd(e,{align:"ignore",baseline:"ignore",color:"include",size:"ignore",orient:"ignore",theta:"ignore"})),Cd("x",e,{defaultPos:"mid"})),Cd("y",e,{defaultPos:"mid"})),Ud(e,"radius")),Ud(e,"theta"))}},area:{vgMark:"area",encodeEntry:function(e){return Ce(Ce(Ce(Ce({},Gd(e,{align:"ignore",baseline:"ignore",color:"include",orient:"include",size:"ignore",theta:"ignore"})),Rd("x",e,{defaultPos:"zeroOrMin",defaultPos2:"zeroOrMin",range:"horizontal"===e.markDef.orient})),Rd("y",e,{defaultPos:"zeroOrMin",defaultPos2:"zeroOrMin",range:"vertical"===e.markDef.orient})),Vd(e))}},bar:{vgMark:"rect",encodeEntry:function(e){return Ce(Ce(Ce({},Gd(e,{align:"ignore",baseline:"ignore",color:"include",orient:"ignore",size:"ignore",theta:"ignore"})),Ud(e,"x")),Ud(e,"y"))}},circle:{vgMark:"symbol",encodeEntry:function(e){return Gm(e,"circle")}},geoshape:{vgMark:"shape",encodeEntry:function(e){return Ce({},Gd(e,{align:"ignore",baseline:"ignore",color:"include",size:"ignore",orient:"ignore",theta:"ignore"}))},postEncodingTransform:function(e){var n=e.encoding.shape;return[Ce({type:"geoshape",projection:e.projectionName()},n&&gl(n)&&n.type===Po?{field:Cl(n,{expr:"datum"})}:{})]}},image:{vgMark:"image",encodeEntry:function(e){return Ce(Ce(Ce(Ce({},Gd(e,{align:"ignore",baseline:"ignore",color:"ignore",orient:"ignore",size:"ignore",theta:"ignore"})),Ud(e,"x")),Ud(e,"y")),Sd(e,"url"))}},line:{vgMark:"line",encodeEntry:function(e){return Ce(Ce(Ce(Ce(Ce({},Gd(e,{align:"ignore",baseline:"ignore",color:"include",size:"ignore",orient:"ignore",theta:"ignore"})),Cd("x",e,{defaultPos:"mid"})),Cd("y",e,{defaultPos:"mid"})),_d("size",e,{vgChannel:"strokeWidth"})),Vd(e))}},point:{vgMark:"symbol",encodeEntry:function(e){return Gm(e)}},rect:{vgMark:"rect",encodeEntry:function(e){return Ce(Ce(Ce({},Gd(e,{align:"ignore",baseline:"ignore",color:"include",orient:"ignore",size:"ignore",theta:"ignore"})),Ud(e,"x")),Ud(e,"y"))}},rule:Hm,square:{vgMark:"symbol",encodeEntry:function(e){return Gm(e,"square")}},text:{vgMark:"text",encodeEntry:function(e){var n=e.config;e.encoding;return Ce(Ce(Ce(Ce(Ce(Ce(Ce(Ce(Ce(Ce({},Gd(e,{align:"include",baseline:"include",color:"include",size:"ignore",orient:"ignore",theta:"include"})),Cd("x",e,{defaultPos:"mid"})),Cd("y",e,{defaultPos:"mid"})),Sd(e)),_d("size",e,{vgChannel:"fontSize"})),_d("angle",e)),Xd("align",function(e,n,t){var r=Hi("align",e,t);if(void 0===r)return"center";return}(e.markDef,0,n))),Xd("baseline",function(e,n,t){var r=Hi("baseline",e,t);if(void 0===r)return"middle";return}(e.markDef,0,n))),Cd("radius",e,{defaultPos:null})),Cd("theta",e,{defaultPos:null}))}},tick:Vm,trail:{vgMark:"trail",encodeEntry:function(e){return Ce(Ce(Ce(Ce(Ce({},Gd(e,{align:"ignore",baseline:"ignore",color:"include",size:"include",orient:"ignore",theta:"ignore"})),Cd("x",e,{defaultPos:"mid"})),Cd("y",e,{defaultPos:"mid"})),_d("size",e)),Vd(e))}}};function $m(e){if(lt([pc,fc,xc],e.mark)){var n=ku(e.mark,e.encoding);if(n.length>0)return function(e,n){return[{name:e.getName("pathgroup"),type:"group",from:{facet:{name:Jm+e.requestDataName(Vf.Main),data:e.requestDataName(Vf.Main),groupby:n}},encode:{update:{width:{field:{group:"width"}},height:{field:{group:"height"}}}},marks:Zm(e,{fromPrefix:Jm})}]}(e,n)}else if(e.mark===dc){var t=Ri.some((function(n){return Hi(n,e.markDef,e.config)}));if(e.stack&&!e.fieldDef("size")&&t)return function(e){var n,t,r,i=Zm(e,{fromPrefix:Qm}),a=De(i,1)[0],o=e.scaleName(e.stack.fieldChannel),c=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.vgField(e.stack.fieldChannel,n)},l=function(e,n){var t=[c({prefix:"min",suffix:"start",expr:n}),c({prefix:"max",suffix:"start",expr:n}),c({prefix:"min",suffix:"end",expr:n}),c({prefix:"max",suffix:"end",expr:n})];return"".concat(e,"(").concat(t.map((function(e){return"scale('".concat(o,"',").concat(e,")")})).join(","),")")};"x"===e.stack.fieldChannel?(t=Ce(Ce({},rt(a.encode.update,["y","yc","y2","height"].concat(Ri))),{},{x:{signal:l("min","datum")},x2:{signal:l("max","datum")},clip:{value:!0}}),r={x:{field:{group:"x"},mult:-1},height:{field:{group:"height"}}},a.encode.update=Ce(Ce({},it(a.encode.update,["y","yc","y2"])),{},{height:{field:{group:"height"}}})):(t=Ce(Ce({},rt(a.encode.update,["x","xc","x2","width"])),{},{y:{signal:l("min","datum")},y2:{signal:l("max","datum")},clip:{value:!0}}),r={y:{field:{group:"y"},mult:-1},width:{field:{group:"width"}}},a.encode.update=Ce(Ce({},it(a.encode.update,["x","xc","x2"])),{},{width:{field:{group:"width"}}}));for(var u=0,s=Ri;u<s.length;u++){var f=s[u],d=Vi(f,e.markDef,e.config);a.encode.update[f]?(t[f]=a.encode.update[f],delete a.encode.update[f]):d&&(t[f]=Wi(d)),d&&(a.encode.update[f]={value:0})}var v=[];if((null===(n=e.stack.groupbyChannels)||void 0===n?void 0:n.length)>0){var p,h=ze(e.stack.groupbyChannels);try{for(h.s();!(p=h.n()).done;){var m=p.value,g=e.fieldDef(m),y=Cl(g);y&&v.push(y),(null!=g&&g.bin||null!=g&&g.timeUnit)&&v.push(Cl(g,{binSuffix:"end"}))}}catch(b){h.e(b)}finally{h.f()}}t=["stroke","strokeWidth","strokeJoin","strokeCap","strokeDash","strokeDashOffset","strokeMiterLimit","strokeOpacity"].reduce((function(n,t){if(a.encode.update[t])return Ce(Ce({},n),{},Pe({},t,a.encode.update[t]));var r=Vi(t,e.markDef,e.config);return void 0!==r?Ce(Ce({},n),{},Pe({},t,Wi(r))):n}),t),t.stroke&&(t.strokeForeground={value:!0},t.strokeOffset={value:0});return[{type:"group",from:{facet:{data:e.requestDataName(Vf.Main),name:Qm+e.requestDataName(Vf.Main),groupby:v,aggregate:{fields:[c({suffix:"start"}),c({suffix:"start"}),c({suffix:"end"}),c({suffix:"end"})],ops:["min","max","min","max"]}}},encode:{update:t},marks:[{type:"group",encode:{update:r},marks:[a]}]}]}(e)}return Zm(e)}var Jm="faceted_path_";var Qm="stack_group_";function Km(e){var n=e.encoding,t=e.stack,r=e.mark,i=e.markDef,a=e.config,o=n.order;if(!(!qe(o)&&Ol(o)&&ct(o.value)||!o&&ct(Hi("order",i,a)))){if((qe(o)||gl(o))&&!t)return $i(o,{expr:"datum"});if(Ec(r)){var c="horizontal"===i.orient?"y":"x",l=n[c];if(gl(l)){var u,s=l.sort;if(qe(s))return{field:Cl(l,{prefix:c,suffix:"sort_index",expr:"datum"})};if(rl(s))return{field:Cl({aggregate:hu(e.encoding)?s.op:void 0,field:s.field},{expr:"datum"})};if(tl(s))return{field:Cl(e.fieldDef(s.encoding),{expr:"datum"}),order:s.order};if(null===s)return;return{field:Cl(l,{binSuffix:null!==(u=e.stack)&&void 0!==u&&u.impute?"mid":void 0,expr:"datum"})}}}else;}}function Zm(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{fromPrefix:""},t=e.mark,r=e.markDef,i=e.encoding,a=e.config,o=jt(r.clip,eg(e),ng(e)),c=Gi(r),l=i.key,u=Km(e),s=tg(e),f=Hi("aria",r,a),d=Ym[t].postEncodingTransform?Ym[t].postEncodingTransform(e):null;return[Ce(Ce(Ce(Ce(Ce(Ce(Ce({name:e.getName("marks"),type:Ym[t].vgMark},o?{clip:!0}:{}),c?{style:c}:{}),l?{key:l.field}:{}),u?{sort:u}:{}),s||{}),!1===f?{aria:f}:{}),{},{from:{data:n.fromPrefix+e.requestDataName(Vf.Main)},encode:{update:Ym[t].encodeEntry(e)}},d?{transform:d}:{})]}function eg(e){var n=e.getScaleComponent("x"),t=e.getScaleComponent("y");return!!(null!=n&&n.get("selectionExtent")||null!=t&&t.get("selectionExtent"))||void 0}function ng(e){var n=e.component.projection;return!(!n||n.isFit)||void 0}function tg(e){if(!e.component.selection)return null;for(var n=bt(e.component.selection).length,t=n,r=e.parent;r&&0===t;)t=bt(r.component.selection).length,r=r.parent;return t?{interactive:n>0||"geoshape"===e.mark||!!e.encoding.tooltip}:null}var rg=function(e){pe(t,e);var n=he(t);function t(e,r,i){var a,o,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=arguments.length>4?arguments[4]:void 0;be(this,t),(o=n.call(this,e,"unit",r,i,l,void 0,us(e)?e.view:void 0)).specifiedScales={},o.specifiedAxes={},o.specifiedLegends={},o.specifiedProjection={},o.selection=[],o.children=[];var u=Fc(e.mark)?Ce({},e.mark):{type:e.mark},s=u.type;void 0===u.filled&&(u.filled=Us(u,l,{graticule:e.data&&ed(e.data)}));var f=o.encoding=gu(e.encoding||{},s,u.filled,l);return o.markDef=Ms(u,f,l),o.size=Bm({encoding:f,size:us(e)?Ce(Ce(Ce({},c),e.width?{width:e.width}:{}),e.height?{height:e.height}:{}):c}),o.stack=Is(o.markDef,f),o.specifiedScales=o.initScales(s,f),o.specifiedAxes=o.initAxes(f),o.specifiedLegends=o.initLegends(f),o.specifiedProjection=e.projection,o.selection=(null!==(a=e.params)&&void 0!==a?a:[]).filter((function(e){return ts(e)})),o}return ke(t,[{key:"hasProjection",get:function(){var e=this.encoding,n=this.mark===Sc,t=e&&Nr.some((function(n){return Sl(e[n])}));return n||t}},{key:"scaleDomain",value:function(e){var n=this.specifiedScales[e];return n?n.domain:void 0}},{key:"axis",value:function(e){return this.specifiedAxes[e]}},{key:"legend",value:function(e){return this.specifiedLegends[e]}},{key:"initScales",value:function(e,n){var t=this;return ci.reduce((function(e,r){var i,a=Hl(n[r]);a&&(e[r]=t.initScale(null!==(i=a.scale)&&void 0!==i?i:{}));return e}),{})}},{key:"initScale",value:function(e){var n=e.domain,t=e.range,r=_i(e);return qe(n)&&(r.domain=n.map(Mi)),qe(t)&&(r.range=t.map(Mi)),r}},{key:"initAxes",value:function(e){var n=this;return Qr.reduce((function(t,r){var i=e[r];if(Sl(i)||r===Gt&&Sl(e.x2)||r===Ht&&Sl(e.y2)){var a=Sl(i)?i.axis:void 0;t[r]=a?n.initAxis(Ce({},a)):a}return t}),{})}},{key:"initAxis",value:function(e){var n,t={},r=ze(bt(e));try{for(r.s();!(n=r.n()).done;){var i=n.value,a=e[i];t[i]=ru(a)?Ii(a):Mi(a)}}catch(o){r.e(o)}finally{r.f()}return t}},{key:"initLegends",value:function(e){return ai.reduce((function(n,t){var r=Hl(e[t]);if(r&&function(e){switch(e){case ir:case ar:case or:case lr:case cr:case sr:case vr:case pr:return!0;case fr:case dr:case ur:return!1}}(t)){var i=r.legend;n[t]=i?_i(i):i}return n}),{})}},{key:"parseData",value:function(){this.component.data=Cm(this)}},{key:"parseLayoutSize",value:function(){!function(e){var n,t=e.size,r=e.component,i=ze(Qr);try{for(i.s();!(n=i.n()).done;){var a=Br(n.value);if(t[a]){var o=t[a];r.layoutSize.set(a,ls(o)?"step":o,!0)}else{var c=Nm(e,a);r.layoutSize.set(a,c,!1)}}}catch(l){i.e(l)}finally{i.f()}}(this)}},{key:"parseSelections",value:function(){this.component.selection=function(e,n){var t={},r=e.config.selection;if(!n||!n.length)return t;var i,a=ze(n);try{for(a.s();!(i=a.n()).done;){var o=i.value,c=St(o.name),l=o.select,u=Ee(l)?l:l.type,s=Ue(l)?nt(l):{type:u},f=r[u];for(var d in f){var v;"fields"!==d&&"encodings"!==d&&("mark"===d&&(s[d]=Ce(Ce({},f[d]),s[d])),(void 0===s[d]||!0===s[d])&&(s[d]=nt(null!==(v=f[d])&&void 0!==v?v:s[d])))}for(var p=t[c]=Ce(Ce({},s),{},{name:c,type:u,init:o.value,bind:o.bind,events:Ee(s.on)?Ye(s.on,"scope"):Be(nt(s.on))}),h=nt(o),m=0,g=vv;m<g.length;m++){var y=g[m];y.defined(p)&&y.parse&&y.parse(e,p,h)}}}catch(b){a.e(b)}finally{a.f()}return t}(this,this.selection)}},{key:"parseMarkGroup",value:function(){this.component.mark=$m(this)}},{key:"parseAxesAndHeaders",value:function(){var e;this.component.axes=(e=this,Qr.reduce((function(n,t){return e.component.scales[t]&&(n[t]=[qm(t,e)]),n}),{}))}},{key:"assembleSelectionTopLevelSignals",value:function(e){return function(e,n){var t,r,i=!1,a=ze(xt(null!==(t=e.component.selection)&&void 0!==t?t:{}));try{var o=function(){var t=r.value,a=t.name,o=Me(a+uv);if(0===n.filter((function(e){return e.name===a})).length){var c="global"===t.resolve?"union":t.resolve,l="point"===t.type?", true, true)":")";n.push({name:t.name,update:"".concat(dv,"(").concat(o,", ").concat(Me(c)).concat(l)})}i=!0;for(var u=0,s=vv;u<s.length;u++){var f=s[u];f.defined(t)&&f.topLevelSignals&&(n=f.topLevelSignals(e,t,n))}};for(a.s();!(r=a.n()).done;)o()}catch(c){a.e(c)}finally{a.f()}return i&&0===n.filter((function(e){return"unit"===e.name})).length&&n.unshift({name:"unit",value:{},on:[{events:"mousemove",update:"isTuple(group()) ? group() : unit"}]}),id(n)}(this,e)}},{key:"assembleSignals",value:function(){return[].concat(_e(Nv(this)),_e(function(e,n){var t,r,i=ze(xt(null!==(t=e.component.selection)&&void 0!==t?t:{}));try{for(i.s();!(r=i.n()).done;){for(var a=r.value,o=a.name,c="".concat(o).concat(sv,", ").concat("global"===a.resolve?"true":"{unit: ".concat(hv(e),"}")),l=0,u=vv;l<u.length;l++){var s=u[l];s.defined(a)&&(s.signals&&(n=s.signals(e,a,n)),s.modifyExpr&&(c=s.modifyExpr(e,a,c)))}n.push({name:o+fv,on:[{events:{signal:a.name+sv},update:"modify(".concat(Me(a.name+uv),", ").concat(c,")")}]})}}catch(f){i.e(f)}finally{i.f()}return id(n)}(this,[])))}},{key:"assembleSelectionData",value:function(e){return function(e,n){var t,r,i=_e(n),a=hv(e,{escape:!1}),o=ze(xt(null!==(t=e.component.selection)&&void 0!==t?t:{}));try{var c=function(){var e=r.value,n={name:e.name+uv};if(e.project.hasSelectionId&&(n.transform=[{type:"collect",sort:{field:Ku}}]),e.init){var t=e.project.items.map(nd);n.values=e.project.hasSelectionId?e.init.map((function(e){return Pe({unit:a},Ku,td(e,!1)[0])})):e.init.map((function(e){return{unit:a,fields:t,values:td(e,!1)}}))}i.filter((function(n){return n.name===e.name+uv})).length||i.push(n)};for(o.s();!(r=o.n()).done;)c()}catch(l){o.e(l)}finally{o.f()}return i}(this,e)}},{key:"assembleLayout",value:function(){return null}},{key:"assembleLayoutSignals",value:function(){return ep(this)}},{key:"assembleMarks",value:function(){var e,n=null!==(e=this.component.mark)&&void 0!==e?e:[];return this.parent&&rm(this.parent)||(n=rd(this,n)),n.map(this.correctDataNames)}},{key:"assembleGroupStyle",value:function(){var e=(this.view||{}).style;return void 0!==e?e:this.encoding.x||this.encoding.y?"cell":"view"}},{key:"getMapping",value:function(){return this.encoding}},{key:"mark",get:function(){return this.markDef.type}},{key:"channelHasField",value:function(e){return du(this.encoding,e)}},{key:"fieldDef",value:function(e){return Gl(this.encoding[e])}},{key:"typedFieldDef",value:function(e){var n=this.fieldDef(e);return El(n)?n:null}}]),t}(am),ig=function(e){pe(t,e);var n=he(t);function t(e,r,i,a,o){var c;be(this,t),c=n.call(this,e,"layer",r,i,o,e.resolve,e.view);var l=Ce(Ce(Ce({},a),e.width?{width:e.width}:{}),e.height?{height:e.height}:{});return c.children=e.layer.map((function(e,n){if(Ts(e))return new t(e,ge(c),c.getName("layer_".concat(n)),l,o);if(su(e))return new rg(e,ge(c),c.getName("layer_".concat(n)),l,o);throw new Error(Zi(e))})),c}return ke(t,[{key:"parseData",value:function(){this.component.data=Cm(this);var e,n=ze(this.children);try{for(n.s();!(e=n.n()).done;){e.value.parseData()}}catch(t){n.e(t)}finally{n.f()}}},{key:"parseLayoutSize",value:function(){var e;Dm(e=this),Fm(e,"width"),Fm(e,"height")}},{key:"parseSelections",value:function(){this.component.selection={};var e,n=ze(this.children);try{for(n.s();!(e=n.n()).done;){var t=e.value;t.parseSelections();var r,i=ze(bt(t.component.selection));try{for(i.s();!(r=i.n()).done;){var a=r.value;this.component.selection[a]=t.component.selection[a]}}catch(o){i.e(o)}finally{i.f()}}}catch(o){n.e(o)}finally{n.f()}}},{key:"parseMarkGroup",value:function(){var e,n=ze(this.children);try{for(n.s();!(e=n.n()).done;){e.value.parseMarkGroup()}}catch(t){n.e(t)}finally{n.f()}}},{key:"parseAxesAndHeaders",value:function(){!function(e){var n,t=e.component,r=t.axes,i=t.resolve,a={top:0,bottom:0,right:0,left:0},o=ze(e.children);try{for(o.s();!(n=o.n()).done;){var c=n.value;c.parseAxesAndHeaders();var l,u=ze(bt(c.component.axes));try{for(u.s();!(l=u.n()).done;){var s=l.value;i.axis[s]=cp(e.component.resolve,s),"shared"===i.axis[s]&&(r[s]=Im(r[s],c.component.axes[s]),r[s]||(i.axis[s]="independent",delete r[s]))}}catch(A){u.e(A)}finally{u.f()}}}catch(A){o.e(A)}finally{o.f()}var f,d=ze(Qr);try{for(d.s();!(f=d.n()).done;){var v,p=f.value,h=ze(e.children);try{for(h.s();!(v=h.n()).done;){var m=v.value;if(m.component.axes[p]){if("independent"===i.axis[p]){var g;r[p]=(null!==(g=r[p])&&void 0!==g?g:[]).concat(m.component.axes[p]);var y,b=ze(m.component.axes[p]);try{for(b.s();!(y=b.n()).done;){var x=y.value,k=x.getWithExplicit("orient"),w=k.value,S=k.explicit;if(!Ci(w)){if(a[w]>0&&!S){var E=Rm[w];a[w]>a[E]&&x.set("orient",E,!1)}a[w]++}}}catch(A){b.e(A)}finally{b.f()}}delete m.component.axes[p]}}}catch(A){h.e(A)}finally{h.f()}if("independent"===i.axis[p]&&r[p]&&r[p].length>1){var O,D=ze((r[p]||[]).entries());try{for(D.s();!(O=D.n()).done;){var F=De(O.value,2),N=F[0],_=F[1];N>0&&_.get("grid")&&!_.explicit.grid&&(_.implicit.grid=!1)}}catch(A){D.e(A)}finally{D.f()}}}}catch(A){d.e(A)}finally{d.f()}}(this)}},{key:"assembleSelectionTopLevelSignals",value:function(e){return this.children.reduce((function(e,n){return n.assembleSelectionTopLevelSignals(e)}),e)}},{key:"assembleSignals",value:function(){return this.children.reduce((function(e,n){return e.concat(n.assembleSignals())}),Nv(this))}},{key:"assembleLayoutSignals",value:function(){return this.children.reduce((function(e,n){return e.concat(n.assembleLayoutSignals())}),ep(this))}},{key:"assembleSelectionData",value:function(e){return this.children.reduce((function(e,n){return n.assembleSelectionData(e)}),e)}},{key:"assembleGroupStyle",value:function(){var e,n=new Set,t=ze(this.children);try{for(t.s();!(e=t.n()).done;){var r,i=e.value,a=ze(Be(i.assembleGroupStyle()));try{for(a.s();!(r=a.n()).done;){var o=r.value;n.add(o)}}catch(l){a.e(l)}finally{a.f()}}}catch(l){t.e(l)}finally{t.f()}var c=Array.from(n);return c.length>1?c:1===c.length?c[0]:void 0}},{key:"assembleTitle",value:function(){var e=de(ye(t.prototype),"assembleTitle",this).call(this);if(e)return e;var n,r=ze(this.children);try{for(r.s();!(n=r.n()).done;){if(e=n.value.assembleTitle())return e}}catch(i){r.e(i)}finally{r.f()}}},{key:"assembleLayout",value:function(){return null}},{key:"assembleMarks",value:function(){return function(e,n){var t,r=ze(e.children);try{for(r.s();!(t=r.n()).done;){var i=t.value;em(i)&&(n=rd(i,n))}}catch(a){r.e(a)}finally{r.f()}return n}(this,this.children.flatMap((function(e){return e.assembleMarks()})))}},{key:"assembleLegends",value:function(){return this.children.reduce((function(e,n){return e.concat(n.assembleLegends())}),Ep(this))}}]),t}(im);function ag(e,n,t,r,i){if(cl(e))return new Am(e,n,t,i);if(Ts(e))return new ig(e,n,t,r,i);if(su(e))return new rg(e,n,t,r,i);if(function(e){return as(e)||os(e)||is(e)}(e))return new Pm(e,n,t,i);throw new Error(Zi(e))}function og(e,n,t,r){var i,a=r.component.layoutSize.get("width"),o=r.component.layoutSize.get("height");if(void 0===n?(n={type:"pad"},r.hasAxisOrientSignalRef()&&(n.resize=!0)):Ee(n)&&(n={type:n}),a&&o&&("fit"===(i=n.type)||"fit-x"===i||"fit-y"===i))if("step"===a&&"step"===o)Ua(ra()),n.type="pad";else if("step"===a||"step"===o){var c="step"===a?"width":"height";Ua(ra(ni(c)));var l="width"===c?"height":"width";n.type=function(e){return e?"fit-".concat(ni(e)):"fit"}(l)}return Ce(Ce(Ce({},1===bt(n).length&&n.type?"pad"===n.type?{}:{autosize:n.type}:{autosize:n}),Mf(t,!1)),Mf(e,!0))}function cg(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0,i=e.config?_s(e.config):void 0,a=[].concat(e.assembleSelectionData([]),km(e.component.data,t)),o=e.assembleProjections(),c=e.assembleTitle(),l=e.assembleGroupStyle(),u=e.assembleGroupEncodeEntry(!0),s=e.assembleLayoutSignals();s=s.filter((function(e){return"width"!==e.name&&"height"!==e.name||void 0===e.value||(n[e.name]=+e.value,!1)}));var f=n.params,d=Oe(n,le);return Ce(Ce(Ce(Ce(Ce(Ce(Ce(Ce(Ce({$schema:"https://vega.github.io/schema/vega/v5.json"},e.description?{description:e.description}:{}),d),c?{title:c}:{}),l?{style:l}:{}),u?{encode:{update:u}}:{}),{},{data:a},o.length>0?{projections:o}:{}),e.assembleGroup([].concat(_e(s),_e(e.assembleSelectionTopLevelSignals([])),_e(rs(f))))),i?{config:i}:{}),r?{usermeta:r}:{})}var lg=qn,ug=Object.freeze(Object.defineProperty({__proto__:null,accessPathDepth:Pt,accessPathWithDatum:Ft,compile:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n.logger&&Ia(n.logger),n.fieldTitle&&Rl(n.fieldTitle);try{var t=Os(Xe(n.config,e.config)),r=Pf(e,t),i=ag(r,null,"",void 0,t);i.parse(),bh(i.component.data,i);var a=cg(i,og(e,r.autosize,t,i),e.datasets,e.usermeta);return{spec:a,normalized:r}}finally{n.logger&&Ma(),n.fieldTitle&&Il()}},contains:lt,deepEqual:et,deleteNestedProperty:Ot,duplicate:nt,entries:kt,every:st,fieldIntersection:gt,flatAccessWithDatum:Nt,getFirstDefined:jt,hasIntersection:ht,hash:ot,internalField:Rt,isBoolean:wt,isEmpty:yt,isEqual:function(e,n){var t=bt(e),r=bt(n);if(t.length!==r.length)return!1;var i,a=ze(t);try{for(a.s();!(i=a.n()).done;){var o=i.value;if(e[o]!==n[o])return!1}}catch(c){a.e(c)}finally{a.f()}return!0},isInternalField:It,isNullOrFalse:ct,isNumeric:Ut,keys:bt,logicalExpr:Et,mergeDeep:ft,never:tt,normalize:Pf,normalizeAngle:Mt,omit:it,pick:rt,prefixGenerator:mt,removePathFromField:Ct,replaceAll:Tt,replacePathInField:At,resetIdCounter:function(){zt=42},setEqual:pt,some:ut,stringify:at,titleCase:Dt,unique:vt,uniqueId:Lt,vals:xt,varName:St,version:lg},Symbol.toStringTag,{value:"Module"}));function sg(e){var n=De(/schema\/([\w-]+)\/([\w\.\-]+)\.json$/g.exec(e).slice(1,3),2);return{library:n[0],version:n[1]}}var fg="2.14.0",dg="#fff",vg="#888",pg={background:"#333",view:{stroke:vg},title:{color:dg,subtitleColor:dg},style:{"guide-label":{fill:dg},"guide-title":{fill:dg}},axis:{domainColor:dg,gridColor:vg,tickColor:dg}},hg="#4572a7",mg={background:"#fff",arc:{fill:hg},area:{fill:hg},line:{stroke:hg,strokeWidth:2},path:{stroke:hg},rect:{fill:hg},shape:{stroke:hg},symbol:{fill:hg,strokeWidth:1.5,size:50},axis:{bandPosition:.5,grid:!0,gridColor:"#000000",gridOpacity:1,gridWidth:.5,labelPadding:10,tickSize:5,tickWidth:.5},axisBand:{grid:!1,tickExtra:!0},legend:{labelBaseline:"middle",labelFontSize:11,symbolSize:50,symbolType:"square"},range:{category:["#4572a7","#aa4643","#8aa453","#71598e","#4598ae","#d98445","#94aace","#d09393","#b9cc98","#a99cbc"]}},gg="#30a2da",yg="#cbcbcb",bg="#f0f0f0",xg="#333",kg={arc:{fill:gg},area:{fill:gg},axis:{domainColor:yg,grid:!0,gridColor:yg,gridWidth:1,labelColor:"#999",labelFontSize:10,titleColor:"#333",tickColor:yg,tickSize:10,titleFontSize:14,titlePadding:10,labelPadding:4},axisBand:{grid:!1},background:bg,group:{fill:bg},legend:{labelColor:xg,labelFontSize:11,padding:1,symbolSize:30,symbolType:"square",titleColor:xg,titleFontSize:14,titlePadding:10},line:{stroke:gg,strokeWidth:2},path:{stroke:gg,strokeWidth:.5},rect:{fill:gg},range:{category:["#30a2da","#fc4f30","#e5ae38","#6d904f","#8b8b8b","#b96db8","#ff9e27","#56cc60","#52d2ca","#52689e","#545454","#9fe4f8"],diverging:["#cc0020","#e77866","#f6e7e1","#d6e8ed","#91bfd9","#1d78b5"],heatmap:["#d6e8ed","#cee0e5","#91bfd9","#549cc6","#1d78b5"]},point:{filled:!0,shape:"circle"},shape:{stroke:gg},bar:{binSpacing:2,fill:gg,stroke:null},title:{anchor:"start",fontSize:24,fontWeight:600,offset:20}},wg="#000",Sg={group:{fill:"#e5e5e5"},arc:{fill:wg},area:{fill:wg},line:{stroke:wg},path:{stroke:wg},rect:{fill:wg},shape:{stroke:wg},symbol:{fill:wg,size:40},axis:{domain:!1,grid:!0,gridColor:"#FFFFFF",gridOpacity:1,labelColor:"#7F7F7F",labelPadding:4,tickColor:"#7F7F7F",tickSize:5.67,titleFontSize:16,titleFontWeight:"normal"},legend:{labelBaseline:"middle",labelFontSize:11,symbolSize:40},range:{category:["#000000","#7F7F7F","#1A1A1A","#999999","#333333","#B0B0B0","#4D4D4D","#C9C9C9","#666666","#DCDCDC"]}},Eg="Benton Gothic, sans-serif",Og="#82c6df",Dg="Benton Gothic Bold, sans-serif",Fg="normal",Ng={"category-6":["#ec8431","#829eb1","#c89d29","#3580b1","#adc839","#ab7fb4"],"fire-7":["#fbf2c7","#f9e39c","#f8d36e","#f4bb6a","#e68a4f","#d15a40","#ab4232"],"fireandice-6":["#e68a4f","#f4bb6a","#f9e39c","#dadfe2","#a6b7c6","#849eae"],"ice-7":["#edefee","#dadfe2","#c4ccd2","#a6b7c6","#849eae","#607785","#47525d"]},_g={background:"#ffffff",title:{anchor:"start",color:"#000000",font:Dg,fontSize:22,fontWeight:"normal"},arc:{fill:Og},area:{fill:Og},line:{stroke:Og,strokeWidth:2},path:{stroke:Og},rect:{fill:Og},shape:{stroke:Og},symbol:{fill:Og,size:30},axis:{labelFont:Eg,labelFontSize:11.5,labelFontWeight:"normal",titleFont:Dg,titleFontSize:13,titleFontWeight:Fg},axisX:{labelAngle:0,labelPadding:4,tickSize:3},axisY:{labelBaseline:"middle",maxExtent:45,minExtent:45,tickSize:2,titleAlign:"left",titleAngle:0,titleX:-45,titleY:-11},legend:{labelFont:Eg,labelFontSize:11.5,symbolType:"square",titleFont:Dg,titleFontSize:13,titleFontWeight:Fg},range:{category:Ng["category-6"],diverging:Ng["fireandice-6"],heatmap:Ng["fire-7"],ordinal:Ng["fire-7"],ramp:Ng["fire-7"]}},Ag="#ab5787",Tg="#979797",Cg={background:"#f9f9f9",arc:{fill:Ag},area:{fill:Ag},line:{stroke:Ag},path:{stroke:Ag},rect:{fill:Ag},shape:{stroke:Ag},symbol:{fill:Ag,size:30},axis:{domainColor:Tg,domainWidth:.5,gridWidth:.2,labelColor:Tg,tickColor:Tg,tickWidth:.2,titleColor:Tg},axisBand:{grid:!1},axisX:{grid:!0,tickSize:10},axisY:{domain:!1,grid:!0,tickSize:0},legend:{labelFontSize:11,padding:1,symbolSize:30,symbolType:"square"},range:{category:["#ab5787","#51b2e5","#703c5c","#168dd9","#d190b6","#00609f","#d365ba","#154866","#666666","#c4c4c4"]}},Pg="#3e5c69",jg={background:"#fff",arc:{fill:Pg},area:{fill:Pg},line:{stroke:Pg},path:{stroke:Pg},rect:{fill:Pg},shape:{stroke:Pg},symbol:{fill:Pg},axis:{domainWidth:.5,grid:!0,labelPadding:2,tickSize:5,tickWidth:.5,titleFontWeight:"normal"},axisBand:{grid:!1},axisX:{gridWidth:.2},axisY:{gridDash:[3],gridWidth:.4},legend:{labelFontSize:11,padding:1,symbolType:"square"},range:{category:["#3e5c69","#6793a6","#182429","#0570b0","#3690c0","#74a9cf","#a6bddb","#e2ddf2"]}},zg="#1696d2",Lg="#000000",Rg="Lato",Ig="Lato",Mg={"main-colors":["#1696d2","#d2d2d2","#000000","#fdbf11","#ec008b","#55b748","#5c5859","#db2b27"],"shades-blue":["#CFE8F3","#A2D4EC","#73BFE2","#46ABDB","#1696D2","#12719E","#0A4C6A","#062635"],"shades-gray":["#F5F5F5","#ECECEC","#E3E3E3","#DCDBDB","#D2D2D2","#9D9D9D","#696969","#353535"],"shades-yellow":["#FFF2CF","#FCE39E","#FDD870","#FCCB41","#FDBF11","#E88E2D","#CA5800","#843215"],"shades-magenta":["#F5CBDF","#EB99C2","#E46AA7","#E54096","#EC008B","#AF1F6B","#761548","#351123"],"shades-green":["#DCEDD9","#BCDEB4","#98CF90","#78C26D","#55B748","#408941","#2C5C2D","#1A2E19"],"shades-black":["#D5D5D4","#ADABAC","#848081","#5C5859","#332D2F","#262223","#1A1717","#0E0C0D"],"shades-red":["#F8D5D4","#F1AAA9","#E9807D","#E25552","#DB2B27","#A4201D","#6E1614","#370B0A"],"one-group":["#1696d2","#000000"],"two-groups-cat-1":["#1696d2","#000000"],"two-groups-cat-2":["#1696d2","#fdbf11"],"two-groups-cat-3":["#1696d2","#db2b27"],"two-groups-seq":["#a2d4ec","#1696d2"],"three-groups-cat":["#1696d2","#fdbf11","#000000"],"three-groups-seq":["#a2d4ec","#1696d2","#0a4c6a"],"four-groups-cat-1":["#000000","#d2d2d2","#fdbf11","#1696d2"],"four-groups-cat-2":["#1696d2","#ec0008b","#fdbf11","#5c5859"],"four-groups-seq":["#cfe8f3","#73bf42","#1696d2","#0a4c6a"],"five-groups-cat-1":["#1696d2","#fdbf11","#d2d2d2","#ec008b","#000000"],"five-groups-cat-2":["#1696d2","#0a4c6a","#d2d2d2","#fdbf11","#332d2f"],"five-groups-seq":["#cfe8f3","#73bf42","#1696d2","#0a4c6a","#000000"],"six-groups-cat-1":["#1696d2","#ec008b","#fdbf11","#000000","#d2d2d2","#55b748"],"six-groups-cat-2":["#1696d2","#d2d2d2","#ec008b","#fdbf11","#332d2f","#0a4c6a"],"six-groups-seq":["#cfe8f3","#a2d4ec","#73bfe2","#46abdb","#1696d2","#12719e"],"diverging-colors":["#ca5800","#fdbf11","#fdd870","#fff2cf","#cfe8f3","#73bfe2","#1696d2","#0a4c6a"]},Ug={background:"#FFFFFF",title:{anchor:"start",fontSize:18,font:Rg},axisX:{domain:!0,domainColor:Lg,domainWidth:1,grid:!1,labelFontSize:12,labelFont:Ig,labelAngle:0,tickColor:Lg,tickSize:5,titleFontSize:12,titlePadding:10,titleFont:Rg},axisY:{domain:!1,domainWidth:1,grid:!0,gridColor:"#DEDDDD",gridWidth:1,labelFontSize:12,labelFont:Ig,labelPadding:8,ticks:!1,titleFontSize:12,titlePadding:10,titleFont:Rg,titleAngle:0,titleY:-10,titleX:18},legend:{labelFontSize:12,labelFont:Ig,symbolSize:100,titleFontSize:12,titlePadding:10,titleFont:Rg,orient:"right",offset:10},view:{stroke:"transparent"},range:{category:Mg["six-groups-cat-1"],diverging:Mg["diverging-colors"],heatmap:Mg["diverging-colors"],ordinal:Mg["six-groups-seq"],ramp:Mg["shades-blue"]},area:{fill:zg},rect:{fill:zg},line:{color:zg,stroke:zg,strokeWidth:5},trail:{color:zg,stroke:zg,strokeWidth:0,size:1},path:{stroke:zg,strokeWidth:.5},point:{filled:!0},text:{font:"Lato",color:zg,fontSize:11,align:"center",fontWeight:400,size:11},style:{bar:{fill:zg,stroke:null}},arc:{fill:zg},shape:{stroke:zg},symbol:{fill:zg,size:30}},Wg="#3366CC",qg="#ccc",Bg="Arial, sans-serif",Gg={arc:{fill:Wg},area:{fill:Wg},path:{stroke:Wg},rect:{fill:Wg},shape:{stroke:Wg},symbol:{stroke:Wg},circle:{fill:Wg},background:"#fff",padding:{top:10,right:10,bottom:10,left:10},style:{"guide-label":{font:Bg,fontSize:12},"guide-title":{font:Bg,fontSize:12},"group-title":{font:Bg,fontSize:12}},title:{font:Bg,fontSize:14,fontWeight:"bold",dy:-3,anchor:"start"},axis:{gridColor:qg,tickColor:qg,domain:!1,grid:!0},range:{category:["#4285F4","#DB4437","#F4B400","#0F9D58","#AB47BC","#00ACC1","#FF7043","#9E9D24","#5C6BC0","#F06292","#00796B","#C2185B"],heatmap:["#c6dafc","#5e97f6","#2a56c6"]}},Hg=function(e){return e*(1/3+1)},Vg=Hg(9),Xg=Hg(10),Yg=Hg(12),$g="Segoe UI",Jg="wf_standard-font, helvetica, arial, sans-serif",Qg="#252423",Kg="#605E5C",Zg="transparent",ey="#118DFF",ny="#DEEFFF",ty=[ny,ey],ry={view:{stroke:Zg},background:Zg,font:$g,header:{titleFont:Jg,titleFontSize:Yg,titleColor:Qg,labelFont:$g,labelFontSize:Xg,labelColor:Kg},axis:{ticks:!1,grid:!1,domain:!1,labelColor:Kg,labelFontSize:Vg,titleFont:Jg,titleColor:Qg,titleFontSize:Yg,titleFontWeight:"normal"},axisQuantitative:{tickCount:3,grid:!0,gridColor:"#C8C6C4",gridDash:[1,5],labelFlush:!1},axisBand:{tickExtra:!0},axisX:{labelPadding:5},axisY:{labelPadding:10},bar:{fill:ey},line:{stroke:ey,strokeWidth:3,strokeCap:"round",strokeJoin:"round"},text:{font:$g,fontSize:Vg,fill:Kg},arc:{fill:ey},area:{fill:ey,line:!0,opacity:.6},path:{stroke:ey},rect:{fill:ey},point:{fill:ey,filled:!0,size:75},shape:{stroke:ey},symbol:{fill:ey,strokeWidth:1.5,size:50},legend:{titleFont:$g,titleFontWeight:"bold",titleColor:Kg,labelFont:$g,labelFontSize:Xg,labelColor:Kg,symbolType:"circle",symbolSize:75},range:{category:[ey,"#12239E","#E66C37","#6B007B","#E044A7","#744EC2","#D9B300","#D64550"],diverging:ty,heatmap:ty,ordinal:[ny,"#c7e4ff","#b0d9ff","#9aceff","#83c3ff","#6cb9ff","#55aeff","#3fa3ff","#2898ff",ey]}},iy='IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,".sfnstext-regular",sans-serif',ay=["#8a3ffc","#33b1ff","#007d79","#ff7eb6","#fa4d56","#fff1f1","#6fdc8c","#4589ff","#d12771","#d2a106","#08bdba","#bae6ff","#ba4e00","#d4bbff"],oy=["#6929c4","#1192e8","#005d5d","#9f1853","#fa4d56","#570408","#198038","#002d9c","#ee538b","#b28600","#009d9a","#012749","#8a3800","#a56eff"];function cy(e){var n=e.type,t="dark"===n?"#161616":"#ffffff",r="dark"===n?"#f4f4f4":"#161616",i="dark"===n?"#d4bbff":"#6929c4";return{background:e.background,arc:{fill:i},area:{fill:i},path:{stroke:i},rect:{fill:i},shape:{stroke:i},symbol:{stroke:i},circle:{fill:i},view:{fill:t,stroke:t},group:{fill:t},title:{color:r,anchor:"start",dy:-15,fontSize:16,font:iy,fontWeight:600},axis:{labelColor:r,labelFontSize:12,grid:!0,gridColor:"#525252",titleColor:r,labelAngle:0},style:{"guide-label":{font:iy,fill:r,fontWeight:400},"guide-title":{font:iy,fill:r,fontWeight:400}},range:{category:"dark"===n?ay:oy,diverging:["#750e13","#a2191f","#da1e28","#fa4d56","#ff8389","#ffb3b8","#ffd7d9","#fff1f1","#e5f6ff","#bae6ff","#82cfff","#33b1ff","#1192e8","#0072c3","#00539a","#003a6d"],heatmap:["#f6f2ff","#e8daff","#d4bbff","#be95ff","#a56eff","#8a3ffc","#6929c4","#491d8b","#31135e","#1c0f30"]}}}var ly=cy({type:"light",background:"#ffffff"}),uy=cy({type:"light",background:"#f4f4f4"}),sy=cy({type:"dark",background:"#262626"}),fy=cy({type:"dark",background:"#161616"}),dy=fg,vy=Object.freeze(Object.defineProperty({__proto__:null,carbong10:uy,carbong100:fy,carbong90:sy,carbonwhite:ly,dark:pg,excel:mg,fivethirtyeight:kg,ggplot2:Sg,googlecharts:Gg,latimes:_g,powerbi:ry,quartz:Cg,urbaninstitute:Ug,version:dy,vox:jg},Symbol.toStringTag,{value:"Module"}));function py(e){return py="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},py(e)}function hy(e){var n=function(e,n){if("object"!==py(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!==py(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"===py(n)?n:String(n)}function my(e,n,t){return(n=hy(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function gy(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var yy=["title","image"];function by(e,n){return JSON.stringify(e,function(e){var n=[];return function(t,r){if("object"!==Ie(r)||null===r)return r;var i=n.indexOf(this)+1;return n.length=i,n.length>e?"[Object]":n.indexOf(r)>=0?"[Circular]":(n.push(r),r)}}(n))}var xy="vg-tooltip-element",ky={offsetX:10,offsetY:10,id:xy,styleId:"vega-tooltip-style",theme:"light",disableDefaultStyle:!1,sanitize:function(e){return String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;")},maxDepth:2,formatTooltip:function(e,n,t){if(qe(e))return"[".concat(e.map((function(e){return n(Ee(e)?e:by(e,t))})).join(", "),"]");if(Ue(e)){var r="",i=e,a=i.title,o=i.image,c=gy(i,yy);a&&(r+="<h2>".concat(n(a),"</h2>")),o&&(r+='<img src="'.concat(n(o),'">'));var l=Object.keys(c);if(l.length>0){r+="<table>";var u,s=ze(l);try{for(s.s();!(u=s.n()).done;){var f=u.value,d=c[f];void 0!==d&&(Ue(d)&&(d=by(d,t)),r+='<tr><td class="key">'.concat(n(f),':</td><td class="value">').concat(n(d),"</td></tr>"))}}catch(v){s.e(v)}finally{s.f()}r+="</table>"}return r||"{}"}return n(e)}};function wy(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Sy(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?wy(Object(t),!0).forEach((function(n){my(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):wy(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Ey,Oy,Dy=function(){function e(n){be(this,e),this.options=Sy(Sy({},ky),n);var t=this.options.id;if(this.el=null,this.call=this.tooltipHandler.bind(this),!this.options.disableDefaultStyle&&!document.getElementById(this.options.styleId)){var r=document.createElement("style");r.setAttribute("id",this.options.styleId),r.innerHTML=function(e){if(!/^[A-Za-z]+[-:.\w]*$/.test(e))throw new Error("Invalid HTML ID");return"#vg-tooltip-element {\n visibility: hidden;\n padding: 8px;\n position: fixed;\n z-index: 1000;\n font-family: sans-serif;\n font-size: 11px;\n border-radius: 3px;\n box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);\n /* The default theme is the light theme. */\n background-color: rgba(255, 255, 255, 0.95);\n border: 1px solid #d9d9d9;\n color: black;\n}\n#vg-tooltip-element.visible {\n visibility: visible;\n}\n#vg-tooltip-element h2 {\n margin-top: 0;\n margin-bottom: 10px;\n font-size: 13px;\n}\n#vg-tooltip-element table {\n border-spacing: 0;\n}\n#vg-tooltip-element table tr {\n border: none;\n}\n#vg-tooltip-element table tr td {\n overflow: hidden;\n text-overflow: ellipsis;\n padding-top: 2px;\n padding-bottom: 2px;\n}\n#vg-tooltip-element table tr td.key {\n color: #808080;\n max-width: 150px;\n text-align: right;\n padding-right: 4px;\n}\n#vg-tooltip-element table tr td.value {\n display: block;\n max-width: 300px;\n max-height: 7em;\n text-align: left;\n}\n#vg-tooltip-element.dark-theme {\n background-color: rgba(32, 32, 32, 0.9);\n border: 1px solid #f5f5f5;\n color: white;\n}\n#vg-tooltip-element.dark-theme td.key {\n color: #bfbfbf;\n}\n".toString().replace(xy,e)}(t);var i=document.head;i.childNodes.length>0?i.insertBefore(r,i.childNodes[0]):i.appendChild(r)}}return ke(e,[{key:"tooltipHandler",value:function(e,n,t,r){var i;(this.el=document.getElementById(this.options.id),this.el)||(this.el=document.createElement("div"),this.el.setAttribute("id",this.options.id),this.el.classList.add("vg-tooltip"),(null!==(i=document.fullscreenElement)&&void 0!==i?i:document.body).appendChild(this.el));if(null!=r&&""!==r){this.el.innerHTML=this.options.formatTooltip(r,this.options.sanitize,this.options.maxDepth),this.el.classList.add("visible","".concat(this.options.theme,"-theme"));var a=function(e,n,t,r){var i=e.clientX+t;i+n.width>window.innerWidth&&(i=+e.clientX-t-n.width);var a=e.clientY+r;return a+n.height>window.innerHeight&&(a=+e.clientY-r-n.height),{x:i,y:a}}(n,this.el.getBoundingClientRect(),this.options.offsetX,this.options.offsetY),o=a.x,c=a.y;this.el.style.top="".concat(c,"px"),this.el.style.left="".concat(o,"px")}else this.el.classList.remove("visible","".concat(this.options.theme,"-theme"))}}]),e}();function Fy(e){return Fy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fy(e)}function Ny(e){var n=function(e,n){if("object"!==Fy(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!==Fy(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"===Fy(n)?n:String(n)}function _y(e,n,t){return(n=Ny(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Ay(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ty=Cy;function Cy(e){var n=this;if(n instanceof Cy||(n=new Cy),n.tail=null,n.head=null,n.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){n.push(e)}));else if(arguments.length>0)for(var t=0,r=arguments.length;t<r;t++)n.push(arguments[t]);return n}function Py(e,n,t){var r=n===e.head?new Ly(t,null,n,e):new Ly(t,n,n.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function jy(e,n){e.tail=new Ly(n,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function zy(e,n){e.head=new Ly(n,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function Ly(e,n,t,r){if(!(this instanceof Ly))return new Ly(e,n,t,r);this.list=r,this.value=e,n?(n.next=this,this.prev=n):this.prev=null,t?(t.prev=this,this.next=t):this.next=null}Cy.Node=Ly,Cy.create=Cy,Cy.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var n=e.next,t=e.prev;return n&&(n.prev=t),t&&(t.next=n),e===this.head&&(this.head=n),e===this.tail&&(this.tail=t),e.list.length--,e.next=null,e.prev=null,e.list=null,n},Cy.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var n=this.head;e.list=this,e.next=n,n&&(n.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},Cy.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var n=this.tail;e.list=this,e.prev=n,n&&(n.next=e),this.tail=e,this.head||(this.head=e),this.length++}},Cy.prototype.push=function(){for(var e=0,n=arguments.length;e<n;e++)jy(this,arguments[e]);return this.length},Cy.prototype.unshift=function(){for(var e=0,n=arguments.length;e<n;e++)zy(this,arguments[e]);return this.length},Cy.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},Cy.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},Cy.prototype.forEach=function(e,n){n=n||this;for(var t=this.head,r=0;null!==t;r++)e.call(n,t.value,r,this),t=t.next},Cy.prototype.forEachReverse=function(e,n){n=n||this;for(var t=this.tail,r=this.length-1;null!==t;r--)e.call(n,t.value,r,this),t=t.prev},Cy.prototype.get=function(e){for(var n=0,t=this.head;null!==t&&n<e;n++)t=t.next;if(n===e&&null!==t)return t.value},Cy.prototype.getReverse=function(e){for(var n=0,t=this.tail;null!==t&&n<e;n++)t=t.prev;if(n===e&&null!==t)return t.value},Cy.prototype.map=function(e,n){n=n||this;for(var t=new Cy,r=this.head;null!==r;)t.push(e.call(n,r.value,this)),r=r.next;return t},Cy.prototype.mapReverse=function(e,n){n=n||this;for(var t=new Cy,r=this.tail;null!==r;)t.push(e.call(n,r.value,this)),r=r.prev;return t},Cy.prototype.reduce=function(e,n){var t,r=this.head;if(arguments.length>1)t=n;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,t=this.head.value}for(var i=0;null!==r;i++)t=e(t,r.value,i),r=r.next;return t},Cy.prototype.reduceReverse=function(e,n){var t,r=this.tail;if(arguments.length>1)t=n;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,t=this.tail.value}for(var i=this.length-1;null!==r;i--)t=e(t,r.value,i),r=r.prev;return t},Cy.prototype.toArray=function(){for(var e=new Array(this.length),n=0,t=this.head;null!==t;n++)e[n]=t.value,t=t.next;return e},Cy.prototype.toArrayReverse=function(){for(var e=new Array(this.length),n=0,t=this.tail;null!==t;n++)e[n]=t.value,t=t.prev;return e},Cy.prototype.slice=function(e,n){(n=n||this.length)<0&&(n+=this.length),(e=e||0)<0&&(e+=this.length);var t=new Cy;if(n<e||n<0)return t;e<0&&(e=0),n>this.length&&(n=this.length);for(var r=0,i=this.head;null!==i&&r<e;r++)i=i.next;for(;null!==i&&r<n;r++,i=i.next)t.push(i.value);return t},Cy.prototype.sliceReverse=function(e,n){(n=n||this.length)<0&&(n+=this.length),(e=e||0)<0&&(e+=this.length);var t=new Cy;if(n<e||n<0)return t;e<0&&(e=0),n>this.length&&(n=this.length);for(var r=this.length,i=this.tail;null!==i&&r>n;r--)i=i.prev;for(;null!==i&&r>e;r--,i=i.prev)t.push(i.value);return t},Cy.prototype.splice=function(e,n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var t=0,r=this.head;null!==r&&t<e;t++)r=r.next;var i=[];for(t=0;r&&t<n;t++)i.push(r.value),r=this.removeNode(r);null===r&&(r=this.tail),r!==this.head&&r!==this.tail&&(r=r.prev);for(t=0;t<(arguments.length<=2?0:arguments.length-2);t++)r=Py(this,r,t+2<2||arguments.length<=t+2?void 0:arguments[t+2]);return i},Cy.prototype.reverse=function(){for(var e=this.head,n=this.tail,t=e;null!==t;t=t.prev){var r=t.prev;t.prev=t.next,t.next=r}return this.head=n,this.tail=e,this};try{(Oy||(Oy=1,Ey=function(e){e.prototype[Symbol.iterator]=fe().mark((function e(){var n;return fe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=this.head;case 1:if(!n){e.next=7;break}return e.next=4,n.value;case 4:n=n.next,e.next=1;break;case 7:case"end":return e.stop()}}),e,this)}))}),Ey)(Cy)}catch(bx){}var Ry=Ty,Iy=Symbol("max"),My=Symbol("length"),Uy=Symbol("lengthCalculator"),Wy=Symbol("allowStale"),qy=Symbol("maxAge"),By=Symbol("dispose"),Gy=Symbol("noDisposeOnSet"),Hy=Symbol("lruList"),Vy=Symbol("cache"),Xy=Symbol("updateAgeOnGet"),Yy=function(){return 1},$y=function(){function e(n){if(be(this,e),"number"==typeof n&&(n={max:n}),n||(n={}),n.max&&("number"!=typeof n.max||n.max<0))throw new TypeError("max must be a non-negative number");this[Iy]=n.max||1/0;var t=n.length||Yy;if(this[Uy]="function"!=typeof t?Yy:t,this[Wy]=n.stale||!1,n.maxAge&&"number"!=typeof n.maxAge)throw new TypeError("maxAge must be a number");this[qy]=n.maxAge||0,this[By]=n.dispose,this[Gy]=n.noDisposeOnSet||!1,this[Xy]=n.updateAgeOnGet||!1,this.reset()}return ke(e,[{key:"max",get:function(){return this[Iy]},set:function(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[Iy]=e||1/0,Ky(this)}},{key:"allowStale",get:function(){return this[Wy]},set:function(e){this[Wy]=!!e}},{key:"maxAge",get:function(){return this[qy]},set:function(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[qy]=e,Ky(this)}},{key:"lengthCalculator",get:function(){return this[Uy]},set:function(e){var n=this;"function"!=typeof e&&(e=Yy),e!==this[Uy]&&(this[Uy]=e,this[My]=0,this[Hy].forEach((function(e){e.length=n[Uy](e.value,e.key),n[My]+=e.length}))),Ky(this)}},{key:"length",get:function(){return this[My]}},{key:"itemCount",get:function(){return this[Hy].length}},{key:"rforEach",value:function(e,n){n=n||this;for(var t=this[Hy].tail;null!==t;){var r=t.prev;nb(this,e,t,n),t=r}}},{key:"forEach",value:function(e,n){n=n||this;for(var t=this[Hy].head;null!==t;){var r=t.next;nb(this,e,t,n),t=r}}},{key:"keys",value:function(){return this[Hy].toArray().map((function(e){return e.key}))}},{key:"values",value:function(){return this[Hy].toArray().map((function(e){return e.value}))}},{key:"reset",value:function(){var e=this;this[By]&&this[Hy]&&this[Hy].length&&this[Hy].forEach((function(n){return e[By](n.key,n.value)})),this[Vy]=new Map,this[Hy]=new Ry,this[My]=0}},{key:"dump",value:function(){var e=this;return this[Hy].map((function(n){return!Qy(e,n)&&{k:n.key,v:n.value,e:n.now+(n.maxAge||0)}})).toArray().filter((function(e){return e}))}},{key:"dumpLru",value:function(){return this[Hy]}},{key:"set",value:function(e,n,t){if((t=t||this[qy])&&"number"!=typeof t)throw new TypeError("maxAge must be a number");var r=t?Date.now():0,i=this[Uy](n,e);if(this[Vy].has(e)){if(i>this[Iy])return Zy(this,this[Vy].get(e)),!1;var a=this[Vy].get(e).value;return this[By]&&(this[Gy]||this[By](e,a.value)),a.now=r,a.maxAge=t,a.value=n,this[My]+=i-a.length,a.length=i,this.get(e),Ky(this),!0}var o=new eb(e,n,i,r,t);return o.length>this[Iy]?(this[By]&&this[By](e,n),!1):(this[My]+=o.length,this[Hy].unshift(o),this[Vy].set(e,this[Hy].head),Ky(this),!0)}},{key:"has",value:function(e){if(!this[Vy].has(e))return!1;var n=this[Vy].get(e).value;return!Qy(this,n)}},{key:"get",value:function(e){return Jy(this,e,!0)}},{key:"peek",value:function(e){return Jy(this,e,!1)}},{key:"pop",value:function(){var e=this[Hy].tail;return e?(Zy(this,e),e.value):null}},{key:"del",value:function(e){Zy(this,this[Vy].get(e))}},{key:"load",value:function(e){this.reset();for(var n=Date.now(),t=e.length-1;t>=0;t--){var r=e[t],i=r.e||0;if(0===i)this.set(r.k,r.v);else{var a=i-n;a>0&&this.set(r.k,r.v,a)}}}},{key:"prune",value:function(){var e=this;this[Vy].forEach((function(n,t){return Jy(e,t,!1)}))}}]),e}(),Jy=function(e,n,t){var r=e[Vy].get(n);if(r){var i=r.value;if(Qy(e,i)){if(Zy(e,r),!e[Wy])return}else t&&(e[Xy]&&(r.value.now=Date.now()),e[Hy].unshiftNode(r));return i.value}},Qy=function(e,n){if(!n||!n.maxAge&&!e[qy])return!1;var t=Date.now()-n.now;return n.maxAge?t>n.maxAge:e[qy]&&t>e[qy]},Ky=function(e){if(e[My]>e[Iy])for(var n=e[Hy].tail;e[My]>e[Iy]&&null!==n;){var t=n.prev;Zy(e,n),n=t}},Zy=function(e,n){if(n){var t=n.value;e[By]&&e[By](t.key,t.value),e[My]-=t.length,e[Vy].delete(t.key),e[Hy].removeNode(n)}},eb=ke((function e(n,t,r,i,a){be(this,e),this.key=n,this.value=t,this.length=r,this.now=i,this.maxAge=a||0})),nb=function(e,n,t,r){var i=t.value;Qy(e,i)&&(Zy(e,t),e[Wy]||(i=void 0)),i&&n.call(r,i.value,i.key,e)},tb=$y,rb=Object.freeze({loose:!0}),ib=Object.freeze({}),ab=function(e){return e?"object"!==Ie(e)?rb:e:ib},ob={exports:{}},cb={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},lb="object"===("undefined"==typeof process?"undefined":Ie(process))&&process.env&&{}.NODE_DEBUG&&/\bsemver\b/i.test({}.NODE_DEBUG)?function(){for(var e,n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];return(e=console).error.apply(e,["SEMVER"].concat(t))}:function(){},ub=lb;!function(e,n){var t=cb.MAX_SAFE_COMPONENT_LENGTH,r=cb.MAX_SAFE_BUILD_LENGTH,i=cb.MAX_LENGTH,a=ub,o=(n=e.exports={}).re=[],c=n.safeRe=[],l=n.src=[],u=n.t={},s=0,f="[a-zA-Z0-9-]",d=[["\\s",1],["\\d",i],[f,r]],v=function(e,n,t){var r=function(e){for(var n=0,t=d;n<t.length;n++){var r=De(t[n],2),i=r[0],a=r[1];e=e.split("".concat(i,"*")).join("".concat(i,"{0,").concat(a,"}")).split("".concat(i,"+")).join("".concat(i,"{1,").concat(a,"}"))}return e}(n),i=s++;a(e,i,n),u[e]=i,l[i]=n,o[i]=new RegExp(n,t?"g":void 0),c[i]=new RegExp(r,t?"g":void 0)};v("NUMERICIDENTIFIER","0|[1-9]\\d*"),v("NUMERICIDENTIFIERLOOSE","\\d+"),v("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-]".concat(f,"*")),v("MAINVERSION","(".concat(l[u.NUMERICIDENTIFIER],")\\.")+"(".concat(l[u.NUMERICIDENTIFIER],")\\.")+"(".concat(l[u.NUMERICIDENTIFIER],")")),v("MAINVERSIONLOOSE","(".concat(l[u.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(l[u.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(l[u.NUMERICIDENTIFIERLOOSE],")")),v("PRERELEASEIDENTIFIER","(?:".concat(l[u.NUMERICIDENTIFIER],"|").concat(l[u.NONNUMERICIDENTIFIER],")")),v("PRERELEASEIDENTIFIERLOOSE","(?:".concat(l[u.NUMERICIDENTIFIERLOOSE],"|").concat(l[u.NONNUMERICIDENTIFIER],")")),v("PRERELEASE","(?:-(".concat(l[u.PRERELEASEIDENTIFIER],"(?:\\.").concat(l[u.PRERELEASEIDENTIFIER],")*))")),v("PRERELEASELOOSE","(?:-?(".concat(l[u.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(l[u.PRERELEASEIDENTIFIERLOOSE],")*))")),v("BUILDIDENTIFIER","".concat(f,"+")),v("BUILD","(?:\\+(".concat(l[u.BUILDIDENTIFIER],"(?:\\.").concat(l[u.BUILDIDENTIFIER],")*))")),v("FULLPLAIN","v?".concat(l[u.MAINVERSION]).concat(l[u.PRERELEASE],"?").concat(l[u.BUILD],"?")),v("FULL","^".concat(l[u.FULLPLAIN],"$")),v("LOOSEPLAIN","[v=\\s]*".concat(l[u.MAINVERSIONLOOSE]).concat(l[u.PRERELEASELOOSE],"?").concat(l[u.BUILD],"?")),v("LOOSE","^".concat(l[u.LOOSEPLAIN],"$")),v("GTLT","((?:<|>)?=?)"),v("XRANGEIDENTIFIERLOOSE","".concat(l[u.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),v("XRANGEIDENTIFIER","".concat(l[u.NUMERICIDENTIFIER],"|x|X|\\*")),v("XRANGEPLAIN","[v=\\s]*(".concat(l[u.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(l[u.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(l[u.XRANGEIDENTIFIER],")")+"(?:".concat(l[u.PRERELEASE],")?").concat(l[u.BUILD],"?")+")?)?"),v("XRANGEPLAINLOOSE","[v=\\s]*(".concat(l[u.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(l[u.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(l[u.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(l[u.PRERELEASELOOSE],")?").concat(l[u.BUILD],"?")+")?)?"),v("XRANGE","^".concat(l[u.GTLT],"\\s*").concat(l[u.XRANGEPLAIN],"$")),v("XRANGELOOSE","^".concat(l[u.GTLT],"\\s*").concat(l[u.XRANGEPLAINLOOSE],"$")),v("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(t,"})")+"(?:\\.(\\d{1,".concat(t,"}))?")+"(?:\\.(\\d{1,".concat(t,"}))?")+"(?:$|[^\\d])"),v("COERCERTL",l[u.COERCE],!0),v("LONETILDE","(?:~>?)"),v("TILDETRIM","(\\s*)".concat(l[u.LONETILDE],"\\s+"),!0),n.tildeTrimReplace="$1~",v("TILDE","^".concat(l[u.LONETILDE]).concat(l[u.XRANGEPLAIN],"$")),v("TILDELOOSE","^".concat(l[u.LONETILDE]).concat(l[u.XRANGEPLAINLOOSE],"$")),v("LONECARET","(?:\\^)"),v("CARETTRIM","(\\s*)".concat(l[u.LONECARET],"\\s+"),!0),n.caretTrimReplace="$1^",v("CARET","^".concat(l[u.LONECARET]).concat(l[u.XRANGEPLAIN],"$")),v("CARETLOOSE","^".concat(l[u.LONECARET]).concat(l[u.XRANGEPLAINLOOSE],"$")),v("COMPARATORLOOSE","^".concat(l[u.GTLT],"\\s*(").concat(l[u.LOOSEPLAIN],")$|^$")),v("COMPARATOR","^".concat(l[u.GTLT],"\\s*(").concat(l[u.FULLPLAIN],")$|^$")),v("COMPARATORTRIM","(\\s*)".concat(l[u.GTLT],"\\s*(").concat(l[u.LOOSEPLAIN],"|").concat(l[u.XRANGEPLAIN],")"),!0),n.comparatorTrimReplace="$1$2$3",v("HYPHENRANGE","^\\s*(".concat(l[u.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(l[u.XRANGEPLAIN],")")+"\\s*$"),v("HYPHENRANGELOOSE","^\\s*(".concat(l[u.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(l[u.XRANGEPLAINLOOSE],")")+"\\s*$"),v("STAR","(<|>)?=?\\s*\\*"),v("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),v("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}(ob,ob.exports);var sb,fb,db,vb,pb=ob.exports,hb=/^[0-9]+$/,mb=function(e,n){var t=hb.test(e),r=hb.test(n);return t&&r&&(e=+e,n=+n),e===n?0:t&&!r?-1:r&&!t?1:e<n?-1:1},gb=mb,yb=ub,bb=cb.MAX_LENGTH,xb=cb.MAX_SAFE_INTEGER,kb=pb.safeRe,wb=pb.t,Sb=ab,Eb=gb,Ob=function(){function e(n,t){if(be(this,e),t=Sb(t),n instanceof e){if(n.loose===!!t.loose&&n.includePrerelease===!!t.includePrerelease)return n;n=n.version}else if("string"!=typeof n)throw new TypeError('Invalid version. Must be a string. Got type "'.concat(Ie(n),'".'));if(n.length>bb)throw new TypeError("version is longer than ".concat(bb," characters"));yb("SemVer",n,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;var r=n.trim().match(t.loose?kb[wb.LOOSE]:kb[wb.FULL]);if(!r)throw new TypeError("Invalid Version: ".concat(n));if(this.raw=n,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>xb||this.major<0)throw new TypeError("Invalid major version");if(this.minor>xb||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>xb||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var n=+e;if(n>=0&&n<xb)return n}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}return ke(e,[{key:"format",value:function(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}},{key:"toString",value:function(){return this.version}},{key:"compare",value:function(n){if(yb("SemVer.compare",this.version,this.options,n),!(n instanceof e)){if("string"==typeof n&&n===this.version)return 0;n=new e(n,this.options)}return n.version===this.version?0:this.compareMain(n)||this.comparePre(n)}},{key:"compareMain",value:function(n){return n instanceof e||(n=new e(n,this.options)),Eb(this.major,n.major)||Eb(this.minor,n.minor)||Eb(this.patch,n.patch)}},{key:"comparePre",value:function(n){if(n instanceof e||(n=new e(n,this.options)),this.prerelease.length&&!n.prerelease.length)return-1;if(!this.prerelease.length&&n.prerelease.length)return 1;if(!this.prerelease.length&&!n.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],i=n.prerelease[t];if(yb("prerelease compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return Eb(r,i)}while(++t)}},{key:"compareBuild",value:function(n){n instanceof e||(n=new e(n,this.options));var t=0;do{var r=this.build[t],i=n.build[t];if(yb("prerelease compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return Eb(r,i)}while(++t)}},{key:"inc",value:function(e,n,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,t),this.inc("pre",n,t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",n,t),this.inc("pre",n,t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":var r=Number(t)?1:0;if(!n&&!1===t)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[r];else{for(var i=this.prerelease.length;--i>=0;)"number"==typeof this.prerelease[i]&&(this.prerelease[i]++,i=-2);if(-1===i){if(n===this.prerelease.join(".")&&!1===t)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(r)}}if(n){var a=[n,r];!1===t&&(a=[n]),0===Eb(this.prerelease[0],n)?isNaN(this.prerelease[1])&&(this.prerelease=a):this.prerelease=a}break;default:throw new Error("invalid increment argument: ".concat(e))}return this.raw=this.format(),this.build.length&&(this.raw+="+".concat(this.build.join("."))),this}}]),e}(),Db=Ob,Fb=Db,Nb=function(e,n,t){return new Fb(e,t).compare(new Fb(n,t))},_b=Nb,Ab=Nb,Tb=Nb,Cb=Nb,Pb=Nb,jb=Nb,zb=function(e,n,t){return 0===_b(e,n,t)},Lb=function(e,n,t){return 0!==Ab(e,n,t)},Rb=function(e,n,t){return Tb(e,n,t)>0},Ib=function(e,n,t){return Cb(e,n,t)>=0},Mb=function(e,n,t){return Pb(e,n,t)<0},Ub=function(e,n,t){return jb(e,n,t)<=0},Wb=function(e,n,t,r){switch(n){case"===":return"object"===Ie(e)&&(e=e.version),"object"===Ie(t)&&(t=t.version),e===t;case"!==":return"object"===Ie(e)&&(e=e.version),"object"===Ie(t)&&(t=t.version),e!==t;case"":case"=":case"==":return zb(e,t,r);case"!=":return Lb(e,t,r);case">":return Rb(e,t,r);case">=":return Ib(e,t,r);case"<":return Mb(e,t,r);case"<=":return Ub(e,t,r);default:throw new TypeError("Invalid operator: ".concat(n))}};function qb(){if(vb)return db;vb=1;var e=function(){function e(n,i){var a=this;if(be(this,e),i=t(i),n instanceof e)return n.loose===!!i.loose&&n.includePrerelease===!!i.includePrerelease?n:new e(n.raw,i);if(n instanceof r)return this.raw=n.value,this.set=[[n]],this.format(),this;if(this.options=i,this.loose=!!i.loose,this.includePrerelease=!!i.includePrerelease,this.raw=n.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((function(e){return a.parseRange(e.trim())})).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: ".concat(this.raw));if(this.set.length>1){var o=this.set[0];if(this.set=this.set.filter((function(e){return!v(e[0])})),0===this.set.length)this.set=[o];else if(this.set.length>1){var c,l=ze(this.set);try{for(l.s();!(c=l.n()).done;){var u=c.value;if(1===u.length&&p(u[0])){this.set=[u];break}}}catch(s){l.e(s)}finally{l.f()}}}this.format()}return ke(e,[{key:"format",value:function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range}},{key:"toString",value:function(){return this.range}},{key:"parseRange",value:function(e){var t=this,a=((this.options.includePrerelease&&f)|(this.options.loose&&d))+":"+e,p=n.get(a);if(p)return p;var h=this.options.loose,g=h?o[c.HYPHENRANGELOOSE]:o[c.HYPHENRANGE];e=e.replace(g,D(this.options.includePrerelease)),i("hyphen replace",e),e=e.replace(o[c.COMPARATORTRIM],l),i("comparator trim",e),e=e.replace(o[c.TILDETRIM],u),i("tilde trim",e),e=e.replace(o[c.CARETTRIM],s),i("caret trim",e);var y=e.split(" ").map((function(e){return m(e,t.options)})).join(" ").split(/\s+/).map((function(e){return O(e,t.options)}));h&&(y=y.filter((function(e){return i("loose invalid filter",e,t.options),!!e.match(o[c.COMPARATORLOOSE])}))),i("range list",y);var b,x=new Map,k=y.map((function(e){return new r(e,t.options)})),w=ze(k);try{for(w.s();!(b=w.n()).done;){var S=b.value;if(v(S))return[S];x.set(S.value,S)}}catch(F){w.e(F)}finally{w.f()}x.size>1&&x.has("")&&x.delete("");var E=_e(x.values());return n.set(a,E),E}},{key:"intersects",value:function(n,t){if(!(n instanceof e))throw new TypeError("a Range is required");return this.set.some((function(e){return h(e,t)&&n.set.some((function(n){return h(n,t)&&e.every((function(e){return n.every((function(n){return e.intersects(n,t)}))}))}))}))}},{key:"test",value:function(e){if(!e)return!1;if("string"==typeof e)try{e=new a(e,this.options)}catch(bx){return!1}for(var n=0;n<this.set.length;n++)if(F(this.set[n],e,this.options))return!0;return!1}}]),e}();db=e;var n=new tb({max:1e3}),t=ab,r=function(){if(fb)return sb;fb=1;var e=Symbol("SemVer ANY"),n=function(){function n(r,i){if(be(this,n),i=t(i),r instanceof n){if(r.loose===!!i.loose)return r;r=r.value}r=r.trim().split(/\s+/).join(" "),o("comparator",r,i),this.options=i,this.loose=!!i.loose,this.parse(r),this.semver===e?this.value="":this.value=this.operator+this.semver.version,o("comp",this)}return ke(n,[{key:"parse",value:function(n){var t=this.options.loose?r[i.COMPARATORLOOSE]:r[i.COMPARATOR],a=n.match(t);if(!a)throw new TypeError("Invalid comparator: ".concat(n));this.operator=void 0!==a[1]?a[1]:"","="===this.operator&&(this.operator=""),a[2]?this.semver=new c(a[2],this.options.loose):this.semver=e}},{key:"toString",value:function(){return this.value}},{key:"test",value:function(n){if(o("Comparator.test",n,this.options.loose),this.semver===e||n===e)return!0;if("string"==typeof n)try{n=new c(n,this.options)}catch(bx){return!1}return a(n,this.operator,this.semver,this.options)}},{key:"intersects",value:function(e,r){if(!(e instanceof n))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new l(e.value,r).test(this.value):""===e.operator?""===e.value||new l(this.value,r).test(e.semver):!((r=t(r)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!e.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!e.operator.startsWith("<"))&&(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))&&!(a(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))&&!(a(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}],[{key:"ANY",get:function(){return e}}]),n}();sb=n;var t=ab,r=pb.safeRe,i=pb.t,a=Wb,o=ub,c=Db,l=qb();return sb}(),i=ub,a=Db,o=pb.safeRe,c=pb.t,l=pb.comparatorTrimReplace,u=pb.tildeTrimReplace,s=pb.caretTrimReplace,f=cb.FLAG_INCLUDE_PRERELEASE,d=cb.FLAG_LOOSE,v=function(e){return"<0.0.0-0"===e.value},p=function(e){return""===e.value},h=function(e,n){for(var t=!0,r=e.slice(),i=r.pop();t&&r.length;)t=r.every((function(e){return i.intersects(e,n)})),i=r.pop();return t},m=function(e,n){return i("comp",e,n),e=x(e,n),i("caret",e),e=y(e,n),i("tildes",e),e=w(e,n),i("xrange",e),e=E(e,n),i("stars",e),e},g=function(e){return!e||"x"===e.toLowerCase()||"*"===e},y=function(e,n){return e.trim().split(/\s+/).map((function(e){return b(e,n)})).join(" ")},b=function(e,n){var t=n.loose?o[c.TILDELOOSE]:o[c.TILDE];return e.replace(t,(function(n,t,r,a,o){var c;return i("tilde",e,n,t,r,a,o),g(t)?c="":g(r)?c=">=".concat(t,".0.0 <").concat(+t+1,".0.0-0"):g(a)?c=">=".concat(t,".").concat(r,".0 <").concat(t,".").concat(+r+1,".0-0"):o?(i("replaceTilde pr",o),c=">=".concat(t,".").concat(r,".").concat(a,"-").concat(o," <").concat(t,".").concat(+r+1,".0-0")):c=">=".concat(t,".").concat(r,".").concat(a," <").concat(t,".").concat(+r+1,".0-0"),i("tilde return",c),c}))},x=function(e,n){return e.trim().split(/\s+/).map((function(e){return k(e,n)})).join(" ")},k=function(e,n){i("caret",e,n);var t=n.loose?o[c.CARETLOOSE]:o[c.CARET],r=n.includePrerelease?"-0":"";return e.replace(t,(function(n,t,a,o,c){var l;return i("caret",e,n,t,a,o,c),g(t)?l="":g(a)?l=">=".concat(t,".0.0").concat(r," <").concat(+t+1,".0.0-0"):g(o)?l="0"===t?">=".concat(t,".").concat(a,".0").concat(r," <").concat(t,".").concat(+a+1,".0-0"):">=".concat(t,".").concat(a,".0").concat(r," <").concat(+t+1,".0.0-0"):c?(i("replaceCaret pr",c),l="0"===t?"0"===a?">=".concat(t,".").concat(a,".").concat(o,"-").concat(c," <").concat(t,".").concat(a,".").concat(+o+1,"-0"):">=".concat(t,".").concat(a,".").concat(o,"-").concat(c," <").concat(t,".").concat(+a+1,".0-0"):">=".concat(t,".").concat(a,".").concat(o,"-").concat(c," <").concat(+t+1,".0.0-0")):(i("no pr"),l="0"===t?"0"===a?">=".concat(t,".").concat(a,".").concat(o).concat(r," <").concat(t,".").concat(a,".").concat(+o+1,"-0"):">=".concat(t,".").concat(a,".").concat(o).concat(r," <").concat(t,".").concat(+a+1,".0-0"):">=".concat(t,".").concat(a,".").concat(o," <").concat(+t+1,".0.0-0")),i("caret return",l),l}))},w=function(e,n){return i("replaceXRanges",e,n),e.split(/\s+/).map((function(e){return S(e,n)})).join(" ")},S=function(e,n){e=e.trim();var t=n.loose?o[c.XRANGELOOSE]:o[c.XRANGE];return e.replace(t,(function(t,r,a,o,c,l){i("xRange",e,t,r,a,o,c,l);var u=g(a),s=u||g(o),f=s||g(c),d=f;return"="===r&&d&&(r=""),l=n.includePrerelease?"-0":"",u?t=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(s&&(o=0),c=0,">"===r?(r=">=",s?(a=+a+1,o=0,c=0):(o=+o+1,c=0)):"<="===r&&(r="<",s?a=+a+1:o=+o+1),"<"===r&&(l="-0"),t="".concat(r+a,".").concat(o,".").concat(c).concat(l)):s?t=">=".concat(a,".0.0").concat(l," <").concat(+a+1,".0.0-0"):f&&(t=">=".concat(a,".").concat(o,".0").concat(l," <").concat(a,".").concat(+o+1,".0-0")),i("xRange return",t),t}))},E=function(e,n){return i("replaceStars",e,n),e.trim().replace(o[c.STAR],"")},O=function(e,n){return i("replaceGTE0",e,n),e.trim().replace(o[n.includePrerelease?c.GTE0PRE:c.GTE0],"")},D=function(e){return function(n,t,r,i,a,o,c,l,u,s,f,d,v){return t=g(r)?"":g(i)?">=".concat(r,".0.0").concat(e?"-0":""):g(a)?">=".concat(r,".").concat(i,".0").concat(e?"-0":""):o?">=".concat(t):">=".concat(t).concat(e?"-0":""),l=g(u)?"":g(s)?"<".concat(+u+1,".0.0-0"):g(f)?"<".concat(u,".").concat(+s+1,".0-0"):d?"<=".concat(u,".").concat(s,".").concat(f,"-").concat(d):e?"<".concat(u,".").concat(s,".").concat(+f+1,"-0"):"<=".concat(l),"".concat(t," ").concat(l).trim()}},F=function(e,n,t){for(var a=0;a<e.length;a++)if(!e[a].test(n))return!1;if(n.prerelease.length&&!t.includePrerelease){for(var o=0;o<e.length;o++)if(i(e[o].semver),e[o].semver!==r.ANY&&e[o].semver.prerelease.length>0){var c=e[o].semver;if(c.major===n.major&&c.minor===n.minor&&c.patch===n.patch)return!0}return!1}return!0};return db}var Bb=qb(),Gb=function(e,n,t){try{n=new Bb(n,t)}catch(bx){return!1}return n.test(e)},Hb=Ay(Gb);function Vb(e,n,t){var r=e.open(n),i=new URL(n).origin,a=40;e.addEventListener("message",(function n(t){t.source===r&&(a=0,e.removeEventListener("message",n,!1))}),!1),setTimeout((function e(){a<=0||(r.postMessage(t,i),setTimeout(e,250),a-=1)}),250)}var Xb='.vega-embed {\n position: relative;\n display: inline-block;\n box-sizing: border-box;\n}\n.vega-embed.has-actions {\n padding-right: 38px;\n}\n.vega-embed details:not([open]) > :not(summary) {\n display: none !important;\n}\n.vega-embed summary {\n list-style: none;\n position: absolute;\n top: 0;\n right: 0;\n padding: 6px;\n z-index: 1000;\n background: white;\n box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);\n color: #1b1e23;\n border: 1px solid #aaa;\n border-radius: 999px;\n opacity: 0.2;\n transition: opacity 0.4s ease-in;\n cursor: pointer;\n line-height: 0px;\n}\n.vega-embed summary::-webkit-details-marker {\n display: none;\n}\n.vega-embed summary:active {\n box-shadow: #aaa 0px 0px 0px 1px inset;\n}\n.vega-embed summary svg {\n width: 14px;\n height: 14px;\n}\n.vega-embed details[open] summary {\n opacity: 0.7;\n}\n.vega-embed:hover summary, .vega-embed:focus-within summary {\n opacity: 1 !important;\n transition: opacity 0.2s ease;\n}\n.vega-embed .vega-actions {\n position: absolute;\n z-index: 1001;\n top: 35px;\n right: -9px;\n display: flex;\n flex-direction: column;\n padding-bottom: 8px;\n padding-top: 8px;\n border-radius: 4px;\n box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2);\n border: 1px solid #d9d9d9;\n background: white;\n animation-duration: 0.15s;\n animation-name: scale-in;\n animation-timing-function: cubic-bezier(0.2, 0, 0.13, 1.5);\n text-align: left;\n}\n.vega-embed .vega-actions a {\n padding: 8px 16px;\n font-family: sans-serif;\n font-size: 14px;\n font-weight: 600;\n white-space: nowrap;\n color: #434a56;\n text-decoration: none;\n}\n.vega-embed .vega-actions a:hover, .vega-embed .vega-actions a:focus {\n background-color: #f7f7f9;\n color: black;\n}\n.vega-embed .vega-actions::before, .vega-embed .vega-actions::after {\n content: "";\n display: inline-block;\n position: absolute;\n}\n.vega-embed .vega-actions::before {\n left: auto;\n right: 14px;\n top: -16px;\n border: 8px solid rgba(0, 0, 0, 0);\n border-bottom-color: #d9d9d9;\n}\n.vega-embed .vega-actions::after {\n left: auto;\n right: 15px;\n top: -14px;\n border: 7px solid rgba(0, 0, 0, 0);\n border-bottom-color: #fff;\n}\n.vega-embed .chart-wrapper.fit-x {\n width: 100%;\n}\n.vega-embed .chart-wrapper.fit-y {\n height: 100%;\n}\n\n.vega-embed-wrapper {\n max-width: 100%;\n overflow: auto;\n padding-right: 14px;\n}\n\n@keyframes scale-in {\n from {\n opacity: 0;\n transform: scale(0.6);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n}\n';function Yb(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];for(var i=0,a=t;i<a.length;i++){var o=a[i];$b(e,o)}return e}function $b(e,n){for(var t=0,r=Object.keys(n);t<r.length;t++){var i=r[t];Te(e,i,n[i],!0)}}function Jb(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Qb(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Jb(Object(t),!0).forEach((function(n){_y(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Jb(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}ue("version","6.22.2");var Kb=ue("vega",Qe),Zb=ue("vegaLite",ug),ex="undefined"!=typeof window?window:void 0;void 0===Zb&&null!=ex&&null!==(ve=ex.vl)&&void 0!==ve&&ve.compile&&ue("vegaLite",Zb=ex.vl);var nx=ue("DEFAULT_ACTIONS",{export:{svg:!0,png:!0},source:!0,compiled:!0,editor:!0}),tx={CLICK_TO_VIEW_ACTIONS:"Click to view actions",COMPILED_ACTION:"View Compiled Vega",EDITOR_ACTION:"Open in Vega Editor",PNG_ACTION:"Save as PNG",SOURCE_ACTION:"View Source",SVG_ACTION:"Save as SVG"},rx={vega:"Vega","vega-lite":"Vega-Lite"},ix={vega:Kb.version,"vega-lite":Zb?Zb.version:"not available"},ax={vega:function(e){return e},"vega-lite":function(e,n){return Zb.compile(e,{config:n}).spec}},ox='\n<svg viewBox="0 0 16 16" fill="currentColor" stroke="none" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">\n <circle r="2" cy="8" cx="2"></circle>\n <circle r="2" cy="8" cx="8"></circle>\n <circle r="2" cy="8" cx="14"></circle>\n</svg>',cx="chart-wrapper";function lx(e){return"function"==typeof e}function ux(e,n,t,r){var i="<html><head>".concat(n,'</head><body><pre><code class="json">'),a="</code></pre>".concat(t,"</body></html>"),o=window.open("");o.document.write(i+e+a),o.document.title="".concat(rx[r]," JSON Source")}function sx(e,n){if(e.$schema){var t,r=sg(e.$schema);if(n&&n!==r.library)console.warn("The given visualization spec is written in ".concat(rx[r.library],", but mode argument sets ").concat(null!==(t=rx[n])&&void 0!==t?t:n,"."));var i=r.library;return Hb(ix[i],"^".concat(r.version.slice(1)))||console.warn("The input spec uses ".concat(rx[i]," ").concat(r.version,", but the current version of ").concat(rx[i]," is v").concat(ix[i],".")),i}return"mark"in e||"encoding"in e||"layer"in e||"hconcat"in e||"vconcat"in e||"facet"in e||"repeat"in e?"vega-lite":"marks"in e||"signals"in e||"scales"in e||"axes"in e?"vega":null!=n?n:"vega"}function fx(e){return(n=e)&&"load"in n?e:Kb.loader(e);var n}function dx(e){var n,t,r=null!==(n=null===(t=e.usermeta)||void 0===t?void 0:t.embedOptions)&&void 0!==n?n:{};return Ee(r.defaultStyle)&&(r.defaultStyle=!1),r}function vx(){return vx=se(fe().mark((function e(n,t){var r,i,a,o,c,l,u,s,f,d,v,p=arguments;return fe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=p.length>2&&void 0!==p[2]?p[2]:{},!Ee(t)){e.next=10;break}return c=fx(a.loader),e.t0=JSON,e.next=6,c.load(t);case 6:e.t1=e.sent,o=e.t0.parse.call(e.t0,e.t1),e.next=11;break;case 10:o=t;case 11:return l=dx(o),u=l.loader,c&&!u||(c=fx(null!==(s=a.loader)&&void 0!==s?s:u)),e.next=16,px(l,c);case 16:return f=e.sent,e.next=19,px(a,c);case 19:return d=e.sent,v=Qb(Qb({},Yb(d,f)),{},{config:Xe(null!==(r=d.config)&&void 0!==r?r:{},null!==(i=f.config)&&void 0!==i?i:{})}),e.next=23,gx(n,o,v,c);case 23:return e.abrupt("return",e.sent);case 24:case"end":return e.stop()}}),e)}))),vx.apply(this,arguments)}function px(e,n){return hx.apply(this,arguments)}function hx(){return(hx=se(fe().mark((function e(n,t){var r,i,a;return fe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Ee(n.config)){e.next=8;break}return e.t1=JSON,e.next=4,t.load(n.config);case 4:e.t2=e.sent,e.t0=e.t1.parse.call(e.t1,e.t2),e.next=9;break;case 8:e.t0=null!==(r=n.config)&&void 0!==r?r:{};case 9:if(i=e.t0,!Ee(n.patch)){e.next=18;break}return e.t4=JSON,e.next=14,t.load(n.patch);case 14:e.t5=e.sent,e.t3=e.t4.parse.call(e.t4,e.t5),e.next=19;break;case 18:e.t3=n.patch;case 19:return a=e.t3,e.abrupt("return",Qb(Qb(Qb({},n),a?{patch:a}:{}),i?{config:i}:{}));case 21:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function mx(e){var n,t=e.getRootNode?e.getRootNode():document;return t instanceof ShadowRoot?{root:t,rootContainer:t}:{root:document,rootContainer:null!==(n=document.head)&&void 0!==n?n:document.body}}function gx(e,n){return yx.apply(this,arguments)}function yx(){return yx=se(fe().mark((function e(n,t){var r,i,a,o,c,l,u,s,f,d,v,p,h,m,g,y,b,x,k,w,S,E,O,D,F,N,_,A,T,C,P,j,z,L,R,I,M,U,W,q,B,G,H,V,X,Y,$,J,Q,K,Z,ee=arguments;return fe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Z=function(){U&&document.removeEventListener("click",U),j.finalize()},s=ee.length>2&&void 0!==ee[2]?ee[2]:{},f=ee.length>3?ee[3]:void 0,d=s.theme?Xe(vy[s.theme],null!==(r=s.config)&&void 0!==r?r:{}):s.config,v=We(s.actions)?s.actions:Yb({},nx,null!==(i=s.actions)&&void 0!==i?i:{}),p=Qb(Qb({},tx),s.i18n),h=null!==(a=s.renderer)&&void 0!==a?a:"canvas",m=null!==(o=s.logLevel)&&void 0!==o?o:Kb.Warn,g=null!==(c=s.downloadFileName)&&void 0!==c?c:"visualization",y="string"==typeof n?document.querySelector(n):n){e.next=12;break}throw new Error("".concat(n," does not exist"));case 12:if(!1!==s.defaultStyle&&(b="vega-embed-style",x=mx(y),k=x.root,w=x.rootContainer,k.getElementById(b)||((S=document.createElement("style")).id=b,S.innerHTML=void 0===s.defaultStyle||!0===s.defaultStyle?Xb.toString():s.defaultStyle,w.appendChild(S))),E=sx(t,s.mode),O=ax[E](t,d),"vega-lite"===E&&O.$schema&&(D=sg(O.$schema),Hb(ix.vega,"^".concat(D.version.slice(1)))||console.warn("The compiled spec uses Vega ".concat(D.version,", but current version is v").concat(ix.vega,"."))),y.classList.add("vega-embed"),v&&y.classList.add("has-actions"),y.innerHTML="",F=y,v&&((N=document.createElement("div")).classList.add(cx),y.appendChild(N),F=N),(_=s.patch)&&(O=_ instanceof Function?_(O):gn(O,_,!0,!1).newDocument),s.formatLocale&&Kb.formatLocale(s.formatLocale),s.timeFormatLocale&&Kb.timeFormatLocale(s.timeFormatLocale),s.expressionFunctions)for(A in s.expressionFunctions)"fn"in(T=s.expressionFunctions[A])?Kb.expressionFunction(A,T.fn,T.visitor):T instanceof Function&&Kb.expressionFunction(A,T);return C=s.ast,P=Kb.parse(O,"vega-lite"===E?{}:d,{ast:C}),(j=new(s.viewClass||Kb.View)(P,Qb({loader:f,logLevel:m,renderer:h},C?{expr:null!==(l=null!==(u=Kb.expressionInterpreter)&&void 0!==u?u:s.expr)&&void 0!==l?l:Wn}:{}))).addSignalListener("autosize",(function(e,n){var t=n.type;"fit-x"==t?(F.classList.add("fit-x"),F.classList.remove("fit-y")):"fit-y"==t?(F.classList.remove("fit-x"),F.classList.add("fit-y")):"fit"==t?F.classList.add("fit-x","fit-y"):F.classList.remove("fit-x","fit-y")})),!1!==s.tooltip&&(z=lx(s.tooltip)?s.tooltip:new Dy(!0===s.tooltip?{}:s.tooltip).call,j.tooltip(z)),void 0===(L=s.hover)&&(L="vega"===E),L&&(I=(R="boolean"==typeof L?{}:L).hoverSet,M=R.updateSet,j.hover(I,M)),s&&(null!=s.width&&j.width(s.width),null!=s.height&&j.height(s.height),null!=s.padding&&j.padding(s.padding)),e.next=37,j.initialize(F,s.bind).runAsync();case 37:if(!1===v){e.next=54;break}if(W=y,!1!==s.defaultStyle&&((q=document.createElement("details")).title=p.CLICK_TO_VIEW_ACTIONS,y.append(q),W=q,(B=document.createElement("summary")).innerHTML=ox,q.append(B),U=function(e){q.contains(e.target)||q.removeAttribute("open")},document.addEventListener("click",U)),G=document.createElement("div"),W.append(G),G.classList.add("vega-actions"),!0!==v&&!1===v.export){e.next=51;break}H=fe().mark((function e(){var n,t,r,i;return fe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=X[V],(!0===v||!0===v.export||v.export[n])&&(t=p["".concat(n.toUpperCase(),"_ACTION")],r=document.createElement("a"),i=Ue(s.scaleFactor)?s.scaleFactor[n]:s.scaleFactor,r.text=t,r.href="#",r.target="_blank",r.download="".concat(g,".").concat(n),r.addEventListener("mousedown",function(){var e=se(fe().mark((function e(t){var r;return fe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),e.next=3,j.toImageURL(n,i);case 3:r=e.sent,this.href=r;case 5:case"end":return e.stop()}}),e,this)})));return function(n){return e.apply(this,arguments)}}()),G.append(r));case 2:case"end":return e.stop()}}),e)})),V=0,X=["svg","png"];case 46:if(!(V<X.length)){e.next=51;break}return e.delegateYield(H(),"t0",48);case 48:V++,e.next=46;break;case 51:!0!==v&&!1===v.source||((Y=document.createElement("a")).text=p.SOURCE_ACTION,Y.href="#",Y.addEventListener("click",(function(e){var n,r;ux(An(t),null!==(n=s.sourceHeader)&&void 0!==n?n:"",null!==(r=s.sourceFooter)&&void 0!==r?r:"",E),e.preventDefault()})),G.append(Y)),"vega-lite"!==E||!0!==v&&!1===v.compiled||(($=document.createElement("a")).text=p.COMPILED_ACTION,$.href="#",$.addEventListener("click",(function(e){var n,t;ux(An(O),null!==(n=s.sourceHeader)&&void 0!==n?n:"",null!==(t=s.sourceFooter)&&void 0!==t?t:"","vega"),e.preventDefault()})),G.append($)),!0!==v&&!1===v.editor||(Q=null!==(J=s.editorUrl)&&void 0!==J?J:"https://vega.github.io/editor/",(K=document.createElement("a")).text=p.EDITOR_ACTION,K.href="#",K.addEventListener("click",(function(e){Vb(window,Q,{config:d,mode:E,renderer:h,spec:An(t)}),e.preventDefault()})),G.append(K));case 54:return e.abrupt("return",{view:j,spec:t,vgSpec:O,finalize:Z,embedOptions:s});case 55:case"end":return e.stop()}}),e)}))),yx.apply(this,arguments)}}}}))}();