@explorable-viz/fluid 0.12.3 → 0.12.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (793) hide show
  1. package/output-es/Affjax/foreign.js +52 -0
  2. package/output-es/Affjax/index.js +387 -0
  3. package/output-es/Affjax.RequestBody/index.js +22 -0
  4. package/output-es/Affjax.RequestHeader/index.js +58 -0
  5. package/output-es/Affjax.ResponseFormat/index.js +47 -0
  6. package/output-es/Affjax.ResponseHeader/index.js +19 -0
  7. package/output-es/Affjax.StatusCode/index.js +8 -0
  8. package/output-es/Affjax.Web/foreign.js +8 -0
  9. package/output-es/Affjax.Web/index.js +14 -0
  10. package/output-es/App.CodeMirror/foreign.js +69 -0
  11. package/output-es/App.CodeMirror/index.js +3 -0
  12. package/output-es/App.Fig/index.js +713 -0
  13. package/output-es/App.LoadFigure/index.js +131 -0
  14. package/output-es/App.Util/index.js +773 -0
  15. package/output-es/App.Util.Selector/index.js +273 -0
  16. package/output-es/App.View/index.js +310 -0
  17. package/output-es/App.View.BarChart/index.js +153 -0
  18. package/output-es/App.View.DocView/index.js +40 -0
  19. package/output-es/App.View.LineChart/index.js +437 -0
  20. package/output-es/App.View.MatrixView/foreign.js +182 -0
  21. package/output-es/App.View.MatrixView/index.js +232 -0
  22. package/output-es/App.View.MultiView/index.js +30 -0
  23. package/output-es/App.View.Paragraph/index.js +44 -0
  24. package/output-es/App.View.ScatterPlot/foreign.js +110 -0
  25. package/output-es/App.View.ScatterPlot/index.js +122 -0
  26. package/output-es/App.View.Segment/index.js +92 -0
  27. package/output-es/App.View.StackedBar/index.js +54 -0
  28. package/output-es/App.View.TableView/index.js +397 -0
  29. package/output-es/App.View.Text/index.js +157 -0
  30. package/output-es/App.View.Util/index.js +222 -0
  31. package/output-es/App.View.Util.Axes/index.js +79 -0
  32. package/output-es/App.View.Util.D3/foreign.js +263 -0
  33. package/output-es/App.View.Util.D3/index.js +678 -0
  34. package/output-es/App.View.Util.Point/index.js +3 -0
  35. package/output-es/Benchmark/index.js +63 -0
  36. package/output-es/Bind/index.js +24 -0
  37. package/output-es/Control.Alt/index.js +5 -0
  38. package/output-es/Control.Alternative/index.js +11 -0
  39. package/output-es/Control.Applicative/index.js +18 -0
  40. package/output-es/Control.Apply/foreign.js +15 -0
  41. package/output-es/Control.Apply/index.js +17 -0
  42. package/output-es/Control.Biapplicative/index.js +5 -0
  43. package/output-es/Control.Biapply/index.js +11 -0
  44. package/output-es/Control.Bind/foreign.js +9 -0
  45. package/output-es/Control.Bind/index.js +21 -0
  46. package/output-es/Control.Category/index.js +4 -0
  47. package/output-es/Control.Comonad/index.js +2 -0
  48. package/output-es/Control.Comonad.Cofree/index.js +255 -0
  49. package/output-es/Control.Comonad.Cofree.Class/index.js +43 -0
  50. package/output-es/Control.Comonad.Env/index.js +8 -0
  51. package/output-es/Control.Comonad.Env.Class/index.js +17 -0
  52. package/output-es/Control.Comonad.Env.Trans/index.js +113 -0
  53. package/output-es/Control.Comonad.Store/index.js +5 -0
  54. package/output-es/Control.Comonad.Store.Class/index.js +56 -0
  55. package/output-es/Control.Comonad.Store.Trans/index.js +27 -0
  56. package/output-es/Control.Comonad.Traced/index.js +4 -0
  57. package/output-es/Control.Comonad.Traced.Class/index.js +16 -0
  58. package/output-es/Control.Comonad.Traced.Trans/index.js +28 -0
  59. package/output-es/Control.Comonad.Trans.Class/index.js +3 -0
  60. package/output-es/Control.Extend/foreign.js +7 -0
  61. package/output-es/Control.Extend/index.js +12 -0
  62. package/output-es/Control.Lazy/index.js +10 -0
  63. package/output-es/Control.Monad/index.js +27 -0
  64. package/output-es/Control.Monad.Cont/index.js +6 -0
  65. package/output-es/Control.Monad.Cont.Class/index.js +3 -0
  66. package/output-es/Control.Monad.Cont.Trans/index.js +122 -0
  67. package/output-es/Control.Monad.Error.Class/index.js +83 -0
  68. package/output-es/Control.Monad.Except/index.js +10 -0
  69. package/output-es/Control.Monad.Except.Trans/index.js +241 -0
  70. package/output-es/Control.Monad.Free/index.js +423 -0
  71. package/output-es/Control.Monad.Free.Class/index.js +45 -0
  72. package/output-es/Control.Monad.Gen/index.js +132 -0
  73. package/output-es/Control.Monad.Gen.Class/index.js +6 -0
  74. package/output-es/Control.Monad.Gen.Common/index.js +44 -0
  75. package/output-es/Control.Monad.Identity.Trans/index.js +88 -0
  76. package/output-es/Control.Monad.List.Trans/index.js +536 -0
  77. package/output-es/Control.Monad.Maybe.Trans/index.js +217 -0
  78. package/output-es/Control.Monad.RWS/index.js +16 -0
  79. package/output-es/Control.Monad.RWS.Trans/index.js +260 -0
  80. package/output-es/Control.Monad.Reader/index.js +6 -0
  81. package/output-es/Control.Monad.Reader.Class/index.js +11 -0
  82. package/output-es/Control.Monad.Reader.Trans/index.js +320 -0
  83. package/output-es/Control.Monad.Rec.Class/index.js +265 -0
  84. package/output-es/Control.Monad.ST/index.js +1 -0
  85. package/output-es/Control.Monad.ST.Class/index.js +7 -0
  86. package/output-es/Control.Monad.ST.Global/index.js +3 -0
  87. package/output-es/Control.Monad.ST.Internal/foreign.js +90 -0
  88. package/output-es/Control.Monad.ST.Internal/index.js +75 -0
  89. package/output-es/Control.Monad.ST.Ref/index.js +1 -0
  90. package/output-es/Control.Monad.ST.Uncurried/foreign.js +229 -0
  91. package/output-es/Control.Monad.ST.Uncurried/index.js +39 -0
  92. package/output-es/Control.Monad.State/index.js +8 -0
  93. package/output-es/Control.Monad.State.Class/index.js +12 -0
  94. package/output-es/Control.Monad.State.Trans/index.js +209 -0
  95. package/output-es/Control.Monad.Trampoline/index.js +9 -0
  96. package/output-es/Control.Monad.Trans.Class/index.js +3 -0
  97. package/output-es/Control.Monad.Writer/index.js +6 -0
  98. package/output-es/Control.Monad.Writer.Class/index.js +14 -0
  99. package/output-es/Control.Monad.Writer.Trans/index.js +256 -0
  100. package/output-es/Control.MonadPlus/index.js +4 -0
  101. package/output-es/Control.Parallel/index.js +49 -0
  102. package/output-es/Control.Parallel.Class/index.js +191 -0
  103. package/output-es/Control.Plus/index.js +4 -0
  104. package/output-es/Control.Promise/foreign.js +24 -0
  105. package/output-es/Control.Promise/index.js +40 -0
  106. package/output-es/Control.Semigroupoid/index.js +4 -0
  107. package/output-es/Data.Argonaut.Core/foreign.js +102 -0
  108. package/output-es/Data.Argonaut.Core/index.js +72 -0
  109. package/output-es/Data.Argonaut.Decode/index.js +10 -0
  110. package/output-es/Data.Argonaut.Decode.Class/index.js +173 -0
  111. package/output-es/Data.Argonaut.Decode.Combinators/index.js +21 -0
  112. package/output-es/Data.Argonaut.Decode.Decoders/index.js +463 -0
  113. package/output-es/Data.Argonaut.Decode.Error/index.js +151 -0
  114. package/output-es/Data.Argonaut.Decode.Parser/index.js +11 -0
  115. package/output-es/Data.Argonaut.Encode/index.js +3 -0
  116. package/output-es/Data.Argonaut.Encode.Class/index.js +114 -0
  117. package/output-es/Data.Argonaut.Encode.Combinators/index.js +15 -0
  118. package/output-es/Data.Argonaut.Encode.Encoders/index.js +222 -0
  119. package/output-es/Data.Argonaut.Gen/index.js +68 -0
  120. package/output-es/Data.Argonaut.Parser/foreign.js +8 -0
  121. package/output-es/Data.Argonaut.Parser/index.js +5 -0
  122. package/output-es/Data.Array/foreign.js +298 -0
  123. package/output-es/Data.Array/index.js +555 -0
  124. package/output-es/Data.Array.NonEmpty/index.js +317 -0
  125. package/output-es/Data.Array.NonEmpty.Internal/foreign.js +77 -0
  126. package/output-es/Data.Array.NonEmpty.Internal/index.js +90 -0
  127. package/output-es/Data.Array.Partial/index.js +7 -0
  128. package/output-es/Data.Array.ST/foreign.js +107 -0
  129. package/output-es/Data.Array.ST/index.js +82 -0
  130. package/output-es/Data.Array.ST.Iterator/index.js +83 -0
  131. package/output-es/Data.Array.ST.Partial/foreign.js +7 -0
  132. package/output-es/Data.Array.ST.Partial/index.js +9 -0
  133. package/output-es/Data.ArrayBuffer.Types/index.js +1 -0
  134. package/output-es/Data.Bifoldable/index.js +149 -0
  135. package/output-es/Data.Bifunctor/index.js +17 -0
  136. package/output-es/Data.Bifunctor.Join/index.js +21 -0
  137. package/output-es/Data.Bitraversable/index.js +195 -0
  138. package/output-es/Data.Boolean/index.js +2 -0
  139. package/output-es/Data.BooleanAlgebra/index.js +42 -0
  140. package/output-es/Data.Bounded/foreign.js +8 -0
  141. package/output-es/Data.Bounded/index.js +76 -0
  142. package/output-es/Data.Bounded.Generic/index.js +37 -0
  143. package/output-es/Data.CatList/index.js +326 -0
  144. package/output-es/Data.CatQueue/index.js +364 -0
  145. package/output-es/Data.Char/index.js +5 -0
  146. package/output-es/Data.Char.Gen/index.js +21 -0
  147. package/output-es/Data.CodePoint.Unicode/index.js +382 -0
  148. package/output-es/Data.CodePoint.Unicode.Internal/index.js +5476 -0
  149. package/output-es/Data.CodePoint.Unicode.Internal.Casing/index.js +1636 -0
  150. package/output-es/Data.CommutativeRing/index.js +49 -0
  151. package/output-es/Data.Compactable/index.js +228 -0
  152. package/output-es/Data.Comparison/index.js +22 -0
  153. package/output-es/Data.Const/index.js +56 -0
  154. package/output-es/Data.Coyoneda/index.js +212 -0
  155. package/output-es/Data.Date/foreign.js +22 -0
  156. package/output-es/Data.Date/index.js +370 -0
  157. package/output-es/Data.Date.Component/index.js +451 -0
  158. package/output-es/Data.Date.Component.Gen/index.js +11 -0
  159. package/output-es/Data.Date.Gen/index.js +25 -0
  160. package/output-es/Data.DateTime/foreign.js +33 -0
  161. package/output-es/Data.DateTime/index.js +131 -0
  162. package/output-es/Data.DateTime.Gen/index.js +8 -0
  163. package/output-es/Data.DateTime.Instant/foreign.js +18 -0
  164. package/output-es/Data.DateTime.Instant/index.js +86 -0
  165. package/output-es/Data.Decidable/index.js +70 -0
  166. package/output-es/Data.Decide/index.js +64 -0
  167. package/output-es/Data.Distributive/index.js +55 -0
  168. package/output-es/Data.Divide/index.js +47 -0
  169. package/output-es/Data.Divisible/index.js +17 -0
  170. package/output-es/Data.DivisionRing/index.js +6 -0
  171. package/output-es/Data.Either/index.js +242 -0
  172. package/output-es/Data.Either.Inject/index.js +25 -0
  173. package/output-es/Data.Either.Nested/index.js +450 -0
  174. package/output-es/Data.Enum/foreign.js +7 -0
  175. package/output-es/Data.Enum/index.js +441 -0
  176. package/output-es/Data.Enum.Gen/index.js +19 -0
  177. package/output-es/Data.Enum.Generic/index.js +211 -0
  178. package/output-es/Data.Eq/foreign.js +23 -0
  179. package/output-es/Data.Eq/index.js +33 -0
  180. package/output-es/Data.Eq.Generic/index.js +16 -0
  181. package/output-es/Data.Equivalence/index.js +8 -0
  182. package/output-es/Data.EuclideanRing/foreign.js +26 -0
  183. package/output-es/Data.EuclideanRing/index.js +25 -0
  184. package/output-es/Data.Exists/index.js +4 -0
  185. package/output-es/Data.Field/index.js +2 -0
  186. package/output-es/Data.Filterable/index.js +317 -0
  187. package/output-es/Data.Foldable/foreign.js +25 -0
  188. package/output-es/Data.Foldable/index.js +394 -0
  189. package/output-es/Data.FoldableWithIndex/index.js +431 -0
  190. package/output-es/Data.FormURLEncoded/index.js +110 -0
  191. package/output-es/Data.Function/index.js +23 -0
  192. package/output-es/Data.Function.Memoize/index.js +242 -0
  193. package/output-es/Data.Function.Uncurried/foreign.js +218 -0
  194. package/output-es/Data.Function.Uncurried/index.js +5 -0
  195. package/output-es/Data.Functor/foreign.js +10 -0
  196. package/output-es/Data.Functor/index.js +14 -0
  197. package/output-es/Data.Functor.App/index.js +87 -0
  198. package/output-es/Data.Functor.Clown/index.js +24 -0
  199. package/output-es/Data.Functor.Compose/index.js +131 -0
  200. package/output-es/Data.Functor.Contravariant/index.js +7 -0
  201. package/output-es/Data.Functor.Coproduct/index.js +171 -0
  202. package/output-es/Data.Functor.Coproduct.Inject/index.js +25 -0
  203. package/output-es/Data.Functor.Coproduct.Nested/index.js +433 -0
  204. package/output-es/Data.Functor.Costar/index.js +82 -0
  205. package/output-es/Data.Functor.Flip/index.js +31 -0
  206. package/output-es/Data.Functor.Invariant/index.js +14 -0
  207. package/output-es/Data.Functor.Joker/index.js +88 -0
  208. package/output-es/Data.Functor.Product/index.js +127 -0
  209. package/output-es/Data.Functor.Product.Nested/index.js +46 -0
  210. package/output-es/Data.Functor.Product2/index.js +46 -0
  211. package/output-es/Data.FunctorWithIndex/foreign.js +10 -0
  212. package/output-es/Data.FunctorWithIndex/index.js +147 -0
  213. package/output-es/Data.Generic.Rep/index.js +31 -0
  214. package/output-es/Data.Graph/index.js +370 -0
  215. package/output-es/Data.HTTP.Method/index.js +223 -0
  216. package/output-es/Data.HeytingAlgebra/foreign.js +15 -0
  217. package/output-es/Data.HeytingAlgebra/index.js +104 -0
  218. package/output-es/Data.HeytingAlgebra.Generic/index.js +76 -0
  219. package/output-es/Data.Identity/index.js +54 -0
  220. package/output-es/Data.Int/foreign.js +65 -0
  221. package/output-es/Data.Int/index.js +122 -0
  222. package/output-es/Data.Int.Bits/foreign.js +48 -0
  223. package/output-es/Data.Int.Bits/index.js +4 -0
  224. package/output-es/Data.Interval/index.js +331 -0
  225. package/output-es/Data.Interval.Duration/index.js +124 -0
  226. package/output-es/Data.Interval.Duration.Iso/index.js +423 -0
  227. package/output-es/Data.JSDate/foreign.js +83 -0
  228. package/output-es/Data.JSDate/index.js +123 -0
  229. package/output-es/Data.Lazy/foreign.js +14 -0
  230. package/output-es/Data.Lazy/index.js +143 -0
  231. package/output-es/Data.List/index.js +1505 -0
  232. package/output-es/Data.List.Internal/index.js +155 -0
  233. package/output-es/Data.List.Lazy/index.js +658 -0
  234. package/output-es/Data.List.Lazy.NonEmpty/index.js +77 -0
  235. package/output-es/Data.List.Lazy.Types/index.js +511 -0
  236. package/output-es/Data.List.NonEmpty/index.js +540 -0
  237. package/output-es/Data.List.Partial/index.js +37 -0
  238. package/output-es/Data.List.Types/index.js +841 -0
  239. package/output-es/Data.List.ZipList/index.js +43 -0
  240. package/output-es/Data.Map/index.js +80 -0
  241. package/output-es/Data.Map.Gen/index.js +15 -0
  242. package/output-es/Data.Map.Internal/index.js +1216 -0
  243. package/output-es/Data.Maybe/index.js +253 -0
  244. package/output-es/Data.Maybe.First/index.js +85 -0
  245. package/output-es/Data.Maybe.Last/index.js +86 -0
  246. package/output-es/Data.MediaType/index.js +8 -0
  247. package/output-es/Data.MediaType.Common/index.js +30 -0
  248. package/output-es/Data.Monoid/index.js +66 -0
  249. package/output-es/Data.Monoid.Additive/index.js +33 -0
  250. package/output-es/Data.Monoid.Alternate/index.js +46 -0
  251. package/output-es/Data.Monoid.Conj/index.js +21 -0
  252. package/output-es/Data.Monoid.Disj/index.js +21 -0
  253. package/output-es/Data.Monoid.Dual/index.js +19 -0
  254. package/output-es/Data.Monoid.Endo/index.js +12 -0
  255. package/output-es/Data.Monoid.Generic/index.js +11 -0
  256. package/output-es/Data.Monoid.Multiplicative/index.js +33 -0
  257. package/output-es/Data.NaturalTransformation/index.js +1 -0
  258. package/output-es/Data.Newtype/index.js +51 -0
  259. package/output-es/Data.NonEmpty/index.js +217 -0
  260. package/output-es/Data.Nullable/foreign.js +12 -0
  261. package/output-es/Data.Nullable/index.js +53 -0
  262. package/output-es/Data.Number/foreign.js +80 -0
  263. package/output-es/Data.Number/index.js +15 -0
  264. package/output-es/Data.Number.Approximate/index.js +13 -0
  265. package/output-es/Data.Number.Format/foreign.js +12 -0
  266. package/output-es/Data.Number.Format/index.js +53 -0
  267. package/output-es/Data.Op/index.js +13 -0
  268. package/output-es/Data.Ord/foreign.js +43 -0
  269. package/output-es/Data.Ord/index.js +161 -0
  270. package/output-es/Data.Ord.Down/index.js +35 -0
  271. package/output-es/Data.Ord.Generic/index.js +34 -0
  272. package/output-es/Data.Ord.Max/index.js +34 -0
  273. package/output-es/Data.Ord.Min/index.js +34 -0
  274. package/output-es/Data.Ordering/index.js +35 -0
  275. package/output-es/Data.Posix/index.js +19 -0
  276. package/output-es/Data.Posix.Signal/index.js +405 -0
  277. package/output-es/Data.Predicate/index.js +14 -0
  278. package/output-es/Data.Profunctor/index.js +13 -0
  279. package/output-es/Data.Profunctor.Choice/index.js +32 -0
  280. package/output-es/Data.Profunctor.Closed/index.js +5 -0
  281. package/output-es/Data.Profunctor.Cochoice/index.js +3 -0
  282. package/output-es/Data.Profunctor.Costrong/index.js +3 -0
  283. package/output-es/Data.Profunctor.Join/index.js +13 -0
  284. package/output-es/Data.Profunctor.Split/index.js +11 -0
  285. package/output-es/Data.Profunctor.Star/index.js +250 -0
  286. package/output-es/Data.Profunctor.Strong/index.js +19 -0
  287. package/output-es/Data.Reflectable/foreign.js +5 -0
  288. package/output-es/Data.Reflectable/index.js +10 -0
  289. package/output-es/Data.Ring/foreign.js +12 -0
  290. package/output-es/Data.Ring/index.js +50 -0
  291. package/output-es/Data.Ring.Generic/index.js +10 -0
  292. package/output-es/Data.Semigroup/foreign.js +13 -0
  293. package/output-es/Data.Semigroup/index.js +25 -0
  294. package/output-es/Data.Semigroup.First/index.js +14 -0
  295. package/output-es/Data.Semigroup.Foldable/index.js +143 -0
  296. package/output-es/Data.Semigroup.Generic/index.js +11 -0
  297. package/output-es/Data.Semigroup.Last/index.js +14 -0
  298. package/output-es/Data.Semigroup.Traversable/index.js +39 -0
  299. package/output-es/Data.Semiring/foreign.js +25 -0
  300. package/output-es/Data.Semiring/index.js +66 -0
  301. package/output-es/Data.Semiring.Generic/index.js +52 -0
  302. package/output-es/Data.Set/index.js +310 -0
  303. package/output-es/Data.Set.NonEmpty/index.js +198 -0
  304. package/output-es/Data.Show/foreign.js +59 -0
  305. package/output-es/Data.Show/index.js +56 -0
  306. package/output-es/Data.Show.Generic/foreign.js +5 -0
  307. package/output-es/Data.Show.Generic/index.js +43 -0
  308. package/output-es/Data.String/index.js +1 -0
  309. package/output-es/Data.String.CaseInsensitive/index.js +12 -0
  310. package/output-es/Data.String.CodePoints/foreign.js +107 -0
  311. package/output-es/Data.String.CodePoints/index.js +201 -0
  312. package/output-es/Data.String.CodeUnits/foreign.js +116 -0
  313. package/output-es/Data.String.CodeUnits/index.js +55 -0
  314. package/output-es/Data.String.Common/foreign.js +52 -0
  315. package/output-es/Data.String.Common/index.js +6 -0
  316. package/output-es/Data.String.Gen/index.js +26 -0
  317. package/output-es/Data.String.NonEmpty/index.js +1 -0
  318. package/output-es/Data.String.NonEmpty.CaseInsensitive/index.js +12 -0
  319. package/output-es/Data.String.NonEmpty.CodePoints/index.js +89 -0
  320. package/output-es/Data.String.NonEmpty.CodeUnits/index.js +98 -0
  321. package/output-es/Data.String.NonEmpty.Internal/index.js +119 -0
  322. package/output-es/Data.String.Pattern/index.js +13 -0
  323. package/output-es/Data.String.Regex/foreign.js +103 -0
  324. package/output-es/Data.String.Regex/index.js +28 -0
  325. package/output-es/Data.String.Regex.Flags/index.js +44 -0
  326. package/output-es/Data.String.Regex.Unsafe/index.js +10 -0
  327. package/output-es/Data.String.Unicode/index.js +18 -0
  328. package/output-es/Data.String.Unsafe/foreign.js +11 -0
  329. package/output-es/Data.String.Unsafe/index.js +4 -0
  330. package/output-es/Data.Symbol/foreign.js +6 -0
  331. package/output-es/Data.Symbol/index.js +6 -0
  332. package/output-es/Data.Time/index.js +119 -0
  333. package/output-es/Data.Time.Component/index.js +138 -0
  334. package/output-es/Data.Time.Component.Gen/index.js +7 -0
  335. package/output-es/Data.Time.Duration/index.js +95 -0
  336. package/output-es/Data.Time.Duration.Gen/index.js +7 -0
  337. package/output-es/Data.Time.Gen/index.js +8 -0
  338. package/output-es/Data.Traversable/foreign.js +52 -0
  339. package/output-es/Data.Traversable/index.js +303 -0
  340. package/output-es/Data.Traversable.Accum/index.js +1 -0
  341. package/output-es/Data.Traversable.Accum.Internal/index.js +35 -0
  342. package/output-es/Data.TraversableWithIndex/index.js +280 -0
  343. package/output-es/Data.Tuple/index.js +194 -0
  344. package/output-es/Data.Tuple.Nested/index.js +290 -0
  345. package/output-es/Data.Unfoldable/foreign.js +21 -0
  346. package/output-es/Data.Unfoldable/index.js +45 -0
  347. package/output-es/Data.Unfoldable1/foreign.js +21 -0
  348. package/output-es/Data.Unfoldable1/index.js +39 -0
  349. package/output-es/Data.Unit/foreign.js +1 -0
  350. package/output-es/Data.Unit/index.js +3 -0
  351. package/output-es/Data.Void/index.js +12 -0
  352. package/output-es/Data.Witherable/index.js +371 -0
  353. package/output-es/Data.Yoneda/index.js +85 -0
  354. package/output-es/DataType/index.js +276 -0
  355. package/output-es/Debug/foreign.js +57 -0
  356. package/output-es/Debug/index.js +13 -0
  357. package/output-es/Desug/index.js +17 -0
  358. package/output-es/Desugarable/index.js +3 -0
  359. package/output-es/Dict/index.js +118 -0
  360. package/output-es/Effect/foreign.js +51 -0
  361. package/output-es/Effect/index.js +49 -0
  362. package/output-es/Effect.Aff/foreign.js +1154 -0
  363. package/output-es/Effect.Aff/index.js +268 -0
  364. package/output-es/Effect.Aff.Class/index.js +114 -0
  365. package/output-es/Effect.Aff.Compat/index.js +14 -0
  366. package/output-es/Effect.Class/index.js +4 -0
  367. package/output-es/Effect.Class.Console/index.js +25 -0
  368. package/output-es/Effect.Console/foreign.js +67 -0
  369. package/output-es/Effect.Console/index.js +17 -0
  370. package/output-es/Effect.Exception/foreign.js +45 -0
  371. package/output-es/Effect.Exception/index.js +14 -0
  372. package/output-es/Effect.Exception.Unsafe/index.js +4 -0
  373. package/output-es/Effect.Now/foreign.js +8 -0
  374. package/output-es/Effect.Now/index.js +16 -0
  375. package/output-es/Effect.Random/foreign.js +1 -0
  376. package/output-es/Effect.Random/index.js +17 -0
  377. package/output-es/Effect.Ref/foreign.js +37 -0
  378. package/output-es/Effect.Ref/index.js +34 -0
  379. package/output-es/Effect.Uncurried/foreign.js +229 -0
  380. package/output-es/Effect.Uncurried/index.js +386 -0
  381. package/output-es/Effect.Unsafe/foreign.js +3 -0
  382. package/output-es/Effect.Unsafe/index.js +3 -0
  383. package/output-es/Eval/index.js +951 -0
  384. package/output-es/ExitCodes/index.js +461 -0
  385. package/output-es/Expr/index.js +1732 -0
  386. package/output-es/File/index.js +125 -0
  387. package/output-es/Fluid/index.js +229 -0
  388. package/output-es/Foreign/foreign.js +19 -0
  389. package/output-es/Foreign/index.js +171 -0
  390. package/output-es/Foreign.Index/foreign.js +11 -0
  391. package/output-es/Foreign.Index/index.js +80 -0
  392. package/output-es/Foreign.Keys/foreign.js +9 -0
  393. package/output-es/Foreign.Keys/index.js +28 -0
  394. package/output-es/Foreign.Object/foreign.js +116 -0
  395. package/output-es/Foreign.Object/index.js +304 -0
  396. package/output-es/Foreign.Object.Gen/index.js +13 -0
  397. package/output-es/Foreign.Object.ST/foreign.js +37 -0
  398. package/output-es/Foreign.Object.ST/index.js +9 -0
  399. package/output-es/Foreign.Object.ST.Unsafe/foreign.js +5 -0
  400. package/output-es/Foreign.Object.ST.Unsafe/index.js +3 -0
  401. package/output-es/Foreign.Object.Unsafe/foreign.js +5 -0
  402. package/output-es/Foreign.Object.Unsafe/index.js +3 -0
  403. package/output-es/GaloisConnection/index.js +72 -0
  404. package/output-es/Graph/index.js +279 -0
  405. package/output-es/Graph.GraphImpl/index.js +296 -0
  406. package/output-es/Graph.Slice/index.js +125 -0
  407. package/output-es/Graph.WithGraph/index.js +190 -0
  408. package/output-es/JSURI/foreign.js +61 -0
  409. package/output-es/JSURI/index.js +10 -0
  410. package/output-es/Lattice/index.js +397 -0
  411. package/output-es/Link/index.js +84 -0
  412. package/output-es/Module/index.js +317 -0
  413. package/output-es/Module.Node/index.js +95 -0
  414. package/output-es/Module.Web/index.js +79 -0
  415. package/output-es/ModuleGraph/index.js +1 -0
  416. package/output-es/Node.Buffer/foreign.js +33 -0
  417. package/output-es/Node.Buffer/index.js +191 -0
  418. package/output-es/Node.Buffer.Class/index.js +48 -0
  419. package/output-es/Node.Buffer.Constants/foreign.js +5 -0
  420. package/output-es/Node.Buffer.Constants/index.js +3 -0
  421. package/output-es/Node.Buffer.Immutable/foreign.js +45 -0
  422. package/output-es/Node.Buffer.Immutable/index.js +121 -0
  423. package/output-es/Node.Buffer.ST/index.js +98 -0
  424. package/output-es/Node.Buffer.Types/index.js +36 -0
  425. package/output-es/Node.Encoding/foreign.js +3 -0
  426. package/output-es/Node.Encoding/index.js +55 -0
  427. package/output-es/Node.EventEmitter/foreign.js +24 -0
  428. package/output-es/Node.EventEmitter/index.js +142 -0
  429. package/output-es/Node.EventEmitter.UtilTypes/index.js +1 -0
  430. package/output-es/Node.FS/index.js +27 -0
  431. package/output-es/Node.FS.Aff/index.js +132 -0
  432. package/output-es/Node.FS.Async/foreign.js +28 -0
  433. package/output-es/Node.FS.Async/index.js +241 -0
  434. package/output-es/Node.FS.Constants/foreign.js +17 -0
  435. package/output-es/Node.FS.Constants/index.js +103 -0
  436. package/output-es/Node.FS.Perms/index.js +125 -0
  437. package/output-es/Node.FS.Stats/foreign.js +27 -0
  438. package/output-es/Node.FS.Stats/index.js +102 -0
  439. package/output-es/Node.FS.Stream/foreign.js +11 -0
  440. package/output-es/Node.FS.Stream/index.js +20 -0
  441. package/output-es/Node.FS.Sync/foreign.js +30 -0
  442. package/output-es/Node.FS.Sync/index.js +258 -0
  443. package/output-es/Node.Path/foreign.js +30 -0
  444. package/output-es/Node.Path/index.js +3 -0
  445. package/output-es/Node.Platform/index.js +104 -0
  446. package/output-es/Node.Process/foreign.js +65 -0
  447. package/output-es/Node.Process/index.js +180 -0
  448. package/output-es/Node.Stream/foreign.js +97 -0
  449. package/output-es/Node.Stream/index.js +310 -0
  450. package/output-es/Node.Stream.Aff/index.js +445 -0
  451. package/output-es/Node.Symbol/foreign.js +3 -0
  452. package/output-es/Node.Symbol/index.js +12 -0
  453. package/output-es/Options.Applicative/index.js +1 -0
  454. package/output-es/Options.Applicative.BashCompletion/index.js +417 -0
  455. package/output-es/Options.Applicative.Builder/index.js +505 -0
  456. package/output-es/Options.Applicative.Builder.Completer/foreign.js +8 -0
  457. package/output-es/Options.Applicative.Builder.Completer/index.js +133 -0
  458. package/output-es/Options.Applicative.Builder.Internal/index.js +122 -0
  459. package/output-es/Options.Applicative.Common/index.js +497 -0
  460. package/output-es/Options.Applicative.Extra/index.js +273 -0
  461. package/output-es/Options.Applicative.Help/index.js +3 -0
  462. package/output-es/Options.Applicative.Help.Chunk/index.js +229 -0
  463. package/output-es/Options.Applicative.Help.Core/index.js +450 -0
  464. package/output-es/Options.Applicative.Help.Levenshtein/index.js +22 -0
  465. package/output-es/Options.Applicative.Help.Pretty/index.js +1 -0
  466. package/output-es/Options.Applicative.Help.Types/index.js +112 -0
  467. package/output-es/Options.Applicative.Internal/index.js +447 -0
  468. package/output-es/Options.Applicative.Internal.Utils/index.js +36 -0
  469. package/output-es/Options.Applicative.Types/index.js +979 -0
  470. package/output-es/PSCI.Support/index.js +15 -0
  471. package/output-es/Parse/index.js +2003 -0
  472. package/output-es/Parse.Number/index.js +390 -0
  473. package/output-es/Parse.Parser/index.js +428 -0
  474. package/output-es/Parsing/index.js +342 -0
  475. package/output-es/Parsing.Combinators/index.js +901 -0
  476. package/output-es/Parsing.Combinators.Array/index.js +131 -0
  477. package/output-es/Parsing.Expr/index.js +317 -0
  478. package/output-es/Parsing.Indent/index.js +492 -0
  479. package/output-es/Parsing.Language/index.js +224 -0
  480. package/output-es/Parsing.String/index.js +378 -0
  481. package/output-es/Parsing.String.Basic/index.js +236 -0
  482. package/output-es/Parsing.String.Replace/index.js +342 -0
  483. package/output-es/Parsing.Token/index.js +1980 -0
  484. package/output-es/Partial/foreign.js +5 -0
  485. package/output-es/Partial/index.js +6 -0
  486. package/output-es/Partial.Unsafe/foreign.js +5 -0
  487. package/output-es/Partial.Unsafe/index.js +8 -0
  488. package/output-es/Prelude/index.js +13 -0
  489. package/output-es/Pretty/index.js +1334 -0
  490. package/output-es/Pretty.Doc/index.js +139 -0
  491. package/output-es/Pretty.Util/index.js +90 -0
  492. package/output-es/Primitive/index.js +304 -0
  493. package/output-es/Primitive.Defs/index.js +872 -0
  494. package/output-es/Primitive.Parse/index.js +93 -0
  495. package/output-es/Random.LCG/index.js +35 -0
  496. package/output-es/Record/index.js +23 -0
  497. package/output-es/Record.Builder/foreign.js +44 -0
  498. package/output-es/Record.Builder/index.js +20 -0
  499. package/output-es/Record.Unsafe/foreign.js +38 -0
  500. package/output-es/Record.Unsafe/index.js +9 -0
  501. package/output-es/Record.Unsafe.Union/foreign.js +14 -0
  502. package/output-es/Record.Unsafe.Union/index.js +4 -0
  503. package/output-es/SExpr/index.js +3972 -0
  504. package/output-es/Safe.Coerce/index.js +3 -0
  505. package/output-es/Test.Assert/foreign.js +21 -0
  506. package/output-es/Test.Assert/index.js +37 -0
  507. package/output-es/Test.Benchmark.Util/foreign.js +3 -0
  508. package/output-es/Test.Benchmark.Util/index.js +273 -0
  509. package/output-es/Test.QuickCheck/index.js +297 -0
  510. package/output-es/Test.QuickCheck.Arbitrary/index.js +482 -0
  511. package/output-es/Test.QuickCheck.Gen/foreign.js +10 -0
  512. package/output-es/Test.QuickCheck.Gen/index.js +270 -0
  513. package/output-es/Test.Specs.Bwd/index.js +220 -0
  514. package/output-es/Test.Specs.Comments/index.js +25 -0
  515. package/output-es/Test.Specs.Desugar/index.js +17 -0
  516. package/output-es/Test.Specs.Graphics/index.js +7 -0
  517. package/output-es/Test.Specs.LinkedInputs/index.js +52 -0
  518. package/output-es/Test.Specs.LinkedOutputs/index.js +61 -0
  519. package/output-es/Test.Specs.Misc/index.js +35 -0
  520. package/output-es/Test.Specs.Paragraph/index.js +5 -0
  521. package/output-es/Test.Test/index.js +106 -0
  522. package/output-es/Test.Util/index.js +239 -0
  523. package/output-es/Test.Util.Debug/index.js +6 -0
  524. package/output-es/Test.Util.Debug.Defaults/index.js +16 -0
  525. package/output-es/Test.Util.Mocha/foreign.js +55 -0
  526. package/output-es/Test.Util.Mocha/index.js +21 -0
  527. package/output-es/Test.Util.Puppeteer/index.js +83 -0
  528. package/output-es/Test.Util.Suite/index.js +197 -0
  529. package/output-es/Text.PrettyPrint.Leijen/index.js +700 -0
  530. package/output-es/Toppokki/foreign.js +170 -0
  531. package/output-es/Toppokki/index.js +122 -0
  532. package/output-es/Type.Data.Boolean/index.js +21 -0
  533. package/output-es/Type.Data.Ordering/index.js +56 -0
  534. package/output-es/Type.Data.Symbol/index.js +7 -0
  535. package/output-es/Type.Equality/index.js +5 -0
  536. package/output-es/Type.Function/index.js +1 -0
  537. package/output-es/Type.Prelude/index.js +1 -0
  538. package/output-es/Type.Proxy/index.js +51 -0
  539. package/output-es/Type.Row/index.js +1 -0
  540. package/output-es/Type.Row.Homogeneous/index.js +4 -0
  541. package/output-es/Type.RowList/index.js +10 -0
  542. package/output-es/Unsafe.Coerce/foreign.js +5 -0
  543. package/output-es/Unsafe.Coerce/index.js +3 -0
  544. package/output-es/Util/index.js +340 -0
  545. package/output-es/Util.Map/foreign.js +13 -0
  546. package/output-es/Util.Map/index.js +129 -0
  547. package/output-es/Util.Pair/index.js +90 -0
  548. package/output-es/Util.Set/index.js +75 -0
  549. package/output-es/Val/index.js +1771 -0
  550. package/output-es/Web.DOM/index.js +1 -0
  551. package/output-es/Web.DOM.CharacterData/foreign.js +61 -0
  552. package/output-es/Web.DOM.CharacterData/index.js +13 -0
  553. package/output-es/Web.DOM.ChildNode/foreign.js +5 -0
  554. package/output-es/Web.DOM.ChildNode/index.js +3 -0
  555. package/output-es/Web.DOM.Comment/index.js +13 -0
  556. package/output-es/Web.DOM.DOMTokenList/foreign.js +49 -0
  557. package/output-es/Web.DOM.DOMTokenList/index.js +15 -0
  558. package/output-es/Web.DOM.Document/foreign.js +112 -0
  559. package/output-es/Web.DOM.Document/index.js +75 -0
  560. package/output-es/Web.DOM.DocumentFragment/index.js +13 -0
  561. package/output-es/Web.DOM.DocumentType/foreign.js +9 -0
  562. package/output-es/Web.DOM.DocumentType/index.js +11 -0
  563. package/output-es/Web.DOM.Element/foreign.js +210 -0
  564. package/output-es/Web.DOM.Element/index.js +101 -0
  565. package/output-es/Web.DOM.HTMLCollection/foreign.js +27 -0
  566. package/output-es/Web.DOM.HTMLCollection/index.js +25 -0
  567. package/output-es/Web.DOM.Internal.Types/index.js +1 -0
  568. package/output-es/Web.DOM.MutationObserver/foreign.js +29 -0
  569. package/output-es/Web.DOM.MutationObserver/index.js +4 -0
  570. package/output-es/Web.DOM.MutationRecord/foreign.js +53 -0
  571. package/output-es/Web.DOM.MutationRecord/index.js +66 -0
  572. package/output-es/Web.DOM.Node/foreign.js +153 -0
  573. package/output-es/Web.DOM.Node/index.js +147 -0
  574. package/output-es/Web.DOM.NodeList/foreign.js +19 -0
  575. package/output-es/Web.DOM.NodeList/index.js +15 -0
  576. package/output-es/Web.DOM.NodeType/index.js +199 -0
  577. package/output-es/Web.DOM.NonDocumentTypeChildNode/foreign.js +11 -0
  578. package/output-es/Web.DOM.NonDocumentTypeChildNode/index.js +19 -0
  579. package/output-es/Web.DOM.NonElementParentNode/foreign.js +7 -0
  580. package/output-es/Web.DOM.NonElementParentNode/index.js +15 -0
  581. package/output-es/Web.DOM.ParentNode/foreign.js +28 -0
  582. package/output-es/Web.DOM.ParentNode/index.js +35 -0
  583. package/output-es/Web.DOM.ProcessingInstruction/foreign.js +5 -0
  584. package/output-es/Web.DOM.ProcessingInstruction/index.js +15 -0
  585. package/output-es/Web.DOM.ShadowRoot/foreign.js +9 -0
  586. package/output-es/Web.DOM.ShadowRoot/index.js +23 -0
  587. package/output-es/Web.DOM.Text/foreign.js +13 -0
  588. package/output-es/Web.DOM.Text/index.js +15 -0
  589. package/output-es/Web.Event.CustomEvent/foreign.js +18 -0
  590. package/output-es/Web.Event.CustomEvent/index.js +20 -0
  591. package/output-es/Web.Event.Event/foreign.js +51 -0
  592. package/output-es/Web.Event.Event/index.js +23 -0
  593. package/output-es/Web.Event.EventPhase/index.js +99 -0
  594. package/output-es/Web.Event.EventTarget/foreign.js +51 -0
  595. package/output-es/Web.Event.EventTarget/index.js +3 -0
  596. package/output-es/Web.Event.Internal.Types/index.js +1 -0
  597. package/output-es/Web.File.Blob/foreign.js +19 -0
  598. package/output-es/Web.File.Blob/index.js +18 -0
  599. package/output-es/Web.File.File/foreign.js +2 -0
  600. package/output-es/Web.File.File/index.js +13 -0
  601. package/output-es/Web.File.FileList/foreign.js +7 -0
  602. package/output-es/Web.File.FileList/index.js +16 -0
  603. package/output-es/Web.File.FileReader/foreign.js +51 -0
  604. package/output-es/Web.File.FileReader/index.js +19 -0
  605. package/output-es/Web.File.FileReader.ReadyState/index.js +94 -0
  606. package/output-es/Web.File.Url/foreign.js +11 -0
  607. package/output-es/Web.File.Url/index.js +3 -0
  608. package/output-es/Web.HTML/foreign.js +4 -0
  609. package/output-es/Web.HTML/index.js +3 -0
  610. package/output-es/Web.HTML.Common/index.js +15 -0
  611. package/output-es/Web.HTML.Event.BeforeUnloadEvent/foreign.js +13 -0
  612. package/output-es/Web.HTML.Event.BeforeUnloadEvent/index.js +7 -0
  613. package/output-es/Web.HTML.Event.BeforeUnloadEvent.EventTypes/index.js +2 -0
  614. package/output-es/Web.HTML.Event.DataTransfer/foreign.js +55 -0
  615. package/output-es/Web.HTML.Event.DataTransfer/index.js +63 -0
  616. package/output-es/Web.HTML.Event.DataTransfer.DataTransferItem/foreign.js +23 -0
  617. package/output-es/Web.HTML.Event.DataTransfer.DataTransferItem/index.js +41 -0
  618. package/output-es/Web.HTML.Event.DragEvent/foreign.js +3 -0
  619. package/output-es/Web.HTML.Event.DragEvent/index.js +7 -0
  620. package/output-es/Web.HTML.Event.DragEvent.EventTypes/index.js +9 -0
  621. package/output-es/Web.HTML.Event.ErrorEvent/foreign.js +15 -0
  622. package/output-es/Web.HTML.Event.ErrorEvent/index.js +7 -0
  623. package/output-es/Web.HTML.Event.EventTypes/index.js +68 -0
  624. package/output-es/Web.HTML.Event.HashChangeEvent/foreign.js +7 -0
  625. package/output-es/Web.HTML.Event.HashChangeEvent/index.js +7 -0
  626. package/output-es/Web.HTML.Event.HashChangeEvent.EventTypes/index.js +2 -0
  627. package/output-es/Web.HTML.Event.PageTransitionEvent/foreign.js +3 -0
  628. package/output-es/Web.HTML.Event.PageTransitionEvent/index.js +7 -0
  629. package/output-es/Web.HTML.Event.PageTransitionEvent.EventTypes/index.js +3 -0
  630. package/output-es/Web.HTML.Event.PopStateEvent/foreign.js +3 -0
  631. package/output-es/Web.HTML.Event.PopStateEvent/index.js +7 -0
  632. package/output-es/Web.HTML.Event.PopStateEvent.EventTypes/index.js +2 -0
  633. package/output-es/Web.HTML.Event.TrackEvent/index.js +5 -0
  634. package/output-es/Web.HTML.Event.TrackEvent.EventTypes/index.js +3 -0
  635. package/output-es/Web.HTML.HTMLAnchorElement/foreign.js +117 -0
  636. package/output-es/Web.HTML.HTMLAnchorElement/index.js +36 -0
  637. package/output-es/Web.HTML.HTMLAreaElement/foreign.js +133 -0
  638. package/output-es/Web.HTML.HTMLAreaElement/index.js +34 -0
  639. package/output-es/Web.HTML.HTMLAudioElement/foreign.js +9 -0
  640. package/output-es/Web.HTML.HTMLAudioElement/index.js +40 -0
  641. package/output-es/Web.HTML.HTMLBRElement/index.js +32 -0
  642. package/output-es/Web.HTML.HTMLBaseElement/foreign.js +29 -0
  643. package/output-es/Web.HTML.HTMLBaseElement/index.js +34 -0
  644. package/output-es/Web.HTML.HTMLBodyElement/index.js +32 -0
  645. package/output-es/Web.HTML.HTMLButtonElement/foreign.js +223 -0
  646. package/output-es/Web.HTML.HTMLButtonElement/index.js +73 -0
  647. package/output-es/Web.HTML.HTMLCanvasElement/foreign.js +29 -0
  648. package/output-es/Web.HTML.HTMLCanvasElement/index.js +34 -0
  649. package/output-es/Web.HTML.HTMLDListElement/index.js +32 -0
  650. package/output-es/Web.HTML.HTMLDataElement/foreign.js +13 -0
  651. package/output-es/Web.HTML.HTMLDataElement/index.js +34 -0
  652. package/output-es/Web.HTML.HTMLDataListElement/foreign.js +5 -0
  653. package/output-es/Web.HTML.HTMLDataListElement/index.js +34 -0
  654. package/output-es/Web.HTML.HTMLDivElement/index.js +32 -0
  655. package/output-es/Web.HTML.HTMLDocument/foreign.js +39 -0
  656. package/output-es/Web.HTML.HTMLDocument/index.js +76 -0
  657. package/output-es/Web.HTML.HTMLDocument.ReadyState/index.js +52 -0
  658. package/output-es/Web.HTML.HTMLDocument.VisibilityState/index.js +42 -0
  659. package/output-es/Web.HTML.HTMLElement/foreign.js +194 -0
  660. package/output-es/Web.HTML.HTMLElement/index.js +66 -0
  661. package/output-es/Web.HTML.HTMLEmbedElement/foreign.js +61 -0
  662. package/output-es/Web.HTML.HTMLEmbedElement/index.js +34 -0
  663. package/output-es/Web.HTML.HTMLFieldSetElement/foreign.js +103 -0
  664. package/output-es/Web.HTML.HTMLFieldSetElement/index.js +44 -0
  665. package/output-es/Web.HTML.HTMLFormElement/foreign.js +181 -0
  666. package/output-es/Web.HTML.HTMLFormElement/index.js +58 -0
  667. package/output-es/Web.HTML.HTMLHRElement/index.js +32 -0
  668. package/output-es/Web.HTML.HTMLHeadElement/index.js +32 -0
  669. package/output-es/Web.HTML.HTMLHeadingElement/index.js +32 -0
  670. package/output-es/Web.HTML.HTMLHtmlElement/index.js +32 -0
  671. package/output-es/Web.HTML.HTMLHyperlinkElementUtils/foreign.js +165 -0
  672. package/output-es/Web.HTML.HTMLHyperlinkElementUtils/index.js +26 -0
  673. package/output-es/Web.HTML.HTMLIFrameElement/foreign.js +91 -0
  674. package/output-es/Web.HTML.HTMLIFrameElement/index.js +52 -0
  675. package/output-es/Web.HTML.HTMLImageElement/foreign.js +215 -0
  676. package/output-es/Web.HTML.HTMLImageElement/index.js +140 -0
  677. package/output-es/Web.HTML.HTMLImageElement.CORSMode/index.js +43 -0
  678. package/output-es/Web.HTML.HTMLImageElement.DecodingHint/index.js +53 -0
  679. package/output-es/Web.HTML.HTMLImageElement.Laziness/index.js +43 -0
  680. package/output-es/Web.HTML.HTMLInputElement/foreign.js +727 -0
  681. package/output-es/Web.HTML.HTMLInputElement/index.js +171 -0
  682. package/output-es/Web.HTML.HTMLKeygenElement/foreign.js +151 -0
  683. package/output-es/Web.HTML.HTMLKeygenElement/index.js +64 -0
  684. package/output-es/Web.HTML.HTMLLIElement/foreign.js +13 -0
  685. package/output-es/Web.HTML.HTMLLIElement/index.js +34 -0
  686. package/output-es/Web.HTML.HTMLLabelElement/foreign.js +29 -0
  687. package/output-es/Web.HTML.HTMLLabelElement/index.js +52 -0
  688. package/output-es/Web.HTML.HTMLLegendElement/foreign.js +5 -0
  689. package/output-es/Web.HTML.HTMLLegendElement/index.js +44 -0
  690. package/output-es/Web.HTML.HTMLLinkElement/foreign.js +133 -0
  691. package/output-es/Web.HTML.HTMLLinkElement/index.js +34 -0
  692. package/output-es/Web.HTML.HTMLMapElement/foreign.js +29 -0
  693. package/output-es/Web.HTML.HTMLMapElement/index.js +34 -0
  694. package/output-es/Web.HTML.HTMLMediaElement/foreign.js +295 -0
  695. package/output-es/Web.HTML.HTMLMediaElement/index.js +103 -0
  696. package/output-es/Web.HTML.HTMLMediaElement.CanPlayType/index.js +52 -0
  697. package/output-es/Web.HTML.HTMLMediaElement.NetworkState/index.js +109 -0
  698. package/output-es/Web.HTML.HTMLMediaElement.ReadyState/index.js +124 -0
  699. package/output-es/Web.HTML.HTMLMetaElement/foreign.js +45 -0
  700. package/output-es/Web.HTML.HTMLMetaElement/index.js +34 -0
  701. package/output-es/Web.HTML.HTMLMeterElement/foreign.js +101 -0
  702. package/output-es/Web.HTML.HTMLMeterElement/index.js +34 -0
  703. package/output-es/Web.HTML.HTMLModElement/foreign.js +29 -0
  704. package/output-es/Web.HTML.HTMLModElement/index.js +34 -0
  705. package/output-es/Web.HTML.HTMLOListElement/foreign.js +45 -0
  706. package/output-es/Web.HTML.HTMLOListElement/index.js +34 -0
  707. package/output-es/Web.HTML.HTMLObjectElement/foreign.js +167 -0
  708. package/output-es/Web.HTML.HTMLObjectElement/index.js +74 -0
  709. package/output-es/Web.HTML.HTMLOptGroupElement/foreign.js +29 -0
  710. package/output-es/Web.HTML.HTMLOptGroupElement/index.js +34 -0
  711. package/output-es/Web.HTML.HTMLOptionElement/foreign.js +109 -0
  712. package/output-es/Web.HTML.HTMLOptionElement/index.js +44 -0
  713. package/output-es/Web.HTML.HTMLOutputElement/foreign.js +119 -0
  714. package/output-es/Web.HTML.HTMLOutputElement/index.js +60 -0
  715. package/output-es/Web.HTML.HTMLParagraphElement/index.js +32 -0
  716. package/output-es/Web.HTML.HTMLParamElement/foreign.js +29 -0
  717. package/output-es/Web.HTML.HTMLParamElement/index.js +34 -0
  718. package/output-es/Web.HTML.HTMLPreElement/index.js +32 -0
  719. package/output-es/Web.HTML.HTMLProgressElement/foreign.js +45 -0
  720. package/output-es/Web.HTML.HTMLProgressElement/index.js +34 -0
  721. package/output-es/Web.HTML.HTMLQuoteElement/foreign.js +13 -0
  722. package/output-es/Web.HTML.HTMLQuoteElement/index.js +34 -0
  723. package/output-es/Web.HTML.HTMLScriptElement/foreign.js +109 -0
  724. package/output-es/Web.HTML.HTMLScriptElement/index.js +34 -0
  725. package/output-es/Web.HTML.HTMLSelectElement/foreign.js +223 -0
  726. package/output-es/Web.HTML.HTMLSelectElement/index.js +73 -0
  727. package/output-es/Web.HTML.HTMLSourceElement/foreign.js +45 -0
  728. package/output-es/Web.HTML.HTMLSourceElement/index.js +34 -0
  729. package/output-es/Web.HTML.HTMLSpanElement/index.js +32 -0
  730. package/output-es/Web.HTML.HTMLStyleElement/foreign.js +29 -0
  731. package/output-es/Web.HTML.HTMLStyleElement/index.js +34 -0
  732. package/output-es/Web.HTML.HTMLTableCaptionElement/index.js +32 -0
  733. package/output-es/Web.HTML.HTMLTableCellElement/foreign.js +37 -0
  734. package/output-es/Web.HTML.HTMLTableCellElement/index.js +34 -0
  735. package/output-es/Web.HTML.HTMLTableColElement/foreign.js +13 -0
  736. package/output-es/Web.HTML.HTMLTableColElement/index.js +34 -0
  737. package/output-es/Web.HTML.HTMLTableDataCellElement/index.js +36 -0
  738. package/output-es/Web.HTML.HTMLTableElement/foreign.js +153 -0
  739. package/output-es/Web.HTML.HTMLTableElement/index.js +103 -0
  740. package/output-es/Web.HTML.HTMLTableHeaderCellElement/foreign.js +29 -0
  741. package/output-es/Web.HTML.HTMLTableHeaderCellElement/index.js +38 -0
  742. package/output-es/Web.HTML.HTMLTableRowElement/foreign.js +41 -0
  743. package/output-es/Web.HTML.HTMLTableRowElement/index.js +38 -0
  744. package/output-es/Web.HTML.HTMLTableSectionElement/foreign.js +25 -0
  745. package/output-es/Web.HTML.HTMLTableSectionElement/index.js +38 -0
  746. package/output-es/Web.HTML.HTMLTemplateElement/foreign.js +5 -0
  747. package/output-es/Web.HTML.HTMLTemplateElement/index.js +34 -0
  748. package/output-es/Web.HTML.HTMLTextAreaElement/foreign.js +403 -0
  749. package/output-es/Web.HTML.HTMLTextAreaElement/index.js +107 -0
  750. package/output-es/Web.HTML.HTMLTimeElement/foreign.js +13 -0
  751. package/output-es/Web.HTML.HTMLTimeElement/index.js +34 -0
  752. package/output-es/Web.HTML.HTMLTitleElement/foreign.js +13 -0
  753. package/output-es/Web.HTML.HTMLTitleElement/index.js +34 -0
  754. package/output-es/Web.HTML.HTMLTrackElement/foreign.js +84 -0
  755. package/output-es/Web.HTML.HTMLTrackElement/index.js +44 -0
  756. package/output-es/Web.HTML.HTMLTrackElement.ReadyState/index.js +109 -0
  757. package/output-es/Web.HTML.HTMLUListElement/index.js +32 -0
  758. package/output-es/Web.HTML.HTMLVideoElement/foreign.js +63 -0
  759. package/output-es/Web.HTML.HTMLVideoElement/index.js +38 -0
  760. package/output-es/Web.HTML.History/foreign.js +49 -0
  761. package/output-es/Web.HTML.History/index.js +16 -0
  762. package/output-es/Web.HTML.Location/foreign.js +169 -0
  763. package/output-es/Web.HTML.Location/index.js +25 -0
  764. package/output-es/Web.HTML.Navigator/foreign.js +29 -0
  765. package/output-es/Web.HTML.Navigator/index.js +3 -0
  766. package/output-es/Web.HTML.SelectionMode/index.js +62 -0
  767. package/output-es/Web.HTML.ValidityState/foreign.js +3 -0
  768. package/output-es/Web.HTML.ValidityState/index.js +15 -0
  769. package/output-es/Web.HTML.Window/foreign.js +239 -0
  770. package/output-es/Web.HTML.Window/index.js +86 -0
  771. package/output-es/Web.Internal.FFI/foreign.js +20 -0
  772. package/output-es/Web.Internal.FFI/index.js +5 -0
  773. package/output-es/Web.Storage.Event.StorageEvent/foreign.js +19 -0
  774. package/output-es/Web.Storage.Event.StorageEvent/index.js +13 -0
  775. package/output-es/Web.Storage.Storage/foreign.js +45 -0
  776. package/output-es/Web.Storage.Storage/index.js +52 -0
  777. package/output-es/Web.XHR.EventTypes/index.js +8 -0
  778. package/output-es/Web.XHR.FormData/foreign.js +32 -0
  779. package/output-es/Web.XHR.FormData/index.js +52 -0
  780. package/output-es/Web.XHR.ProgressEvent/foreign.js +11 -0
  781. package/output-es/Web.XHR.ProgressEvent/index.js +7 -0
  782. package/output-es/Web.XHR.ReadyState/index.js +99 -0
  783. package/output-es/Web.XHR.ResponseType/index.js +5 -0
  784. package/output-es/Web.XHR.XMLHttpRequest/foreign.js +41 -0
  785. package/output-es/Web.XHR.XMLHttpRequest/index.js +95 -0
  786. package/output-es/Web.XHR.XMLHttpRequestUpload/index.js +3 -0
  787. package/output-es/Website.Test.Article.EnergyScatter/index.js +12 -0
  788. package/output-es/Website.Test.Article.RenewablesLinked/index.js +14 -0
  789. package/output-es/package.json +1 -0
  790. package/output-es/runtime.js +33 -0
  791. package/package.json +5 -3
  792. package/script/install-website.sh +14 -1
  793. package/script/webtest-lib.mjs +101 -0
@@ -0,0 +1,1216 @@
1
+ // | This module defines a type of maps as height-balanced (AVL) binary trees.
2
+ // | Efficient set operations are implemented in terms of
3
+ // | <https://www.cs.cmu.edu/~guyb/papers/BFS16.pdf>
4
+ import * as $runtime from "../runtime.js";
5
+ import * as Data$dFunction from "../Data.Function/index.js";
6
+ import * as Data$dList$dTypes from "../Data.List.Types/index.js";
7
+ import * as Data$dMaybe from "../Data.Maybe/index.js";
8
+ import * as Data$dOrdering from "../Data.Ordering/index.js";
9
+ import * as Data$dShow from "../Data.Show/index.js";
10
+ import * as Data$dTuple from "../Data.Tuple/index.js";
11
+ import * as Data$dUnfoldable from "../Data.Unfoldable/index.js";
12
+ const $$$Map = (tag, _1, _2, _3, _4, _5, _6) => ({tag, _1, _2, _3, _4, _5, _6});
13
+ const $MapIter = (tag, _1, _2, _3) => ({tag, _1, _2, _3});
14
+ const $MapIterStep = (tag, _1, _2, _3) => ({tag, _1, _2, _3});
15
+ const $Split = (_1, _2, _3) => ({tag: "Split", _1, _2, _3});
16
+ const $SplitLast = (_1, _2, _3) => ({tag: "SplitLast", _1, _2, _3});
17
+ const identity = x => x;
18
+ const Leaf = /* #__PURE__ */ $$$Map("Leaf");
19
+ const Node = value0 => value1 => value2 => value3 => value4 => value5 => $$$Map("Node", value0, value1, value2, value3, value4, value5);
20
+ const IterLeaf = /* #__PURE__ */ $MapIter("IterLeaf");
21
+ const IterEmit = value0 => value1 => value2 => $MapIter("IterEmit", value0, value1, value2);
22
+ const IterNode = value0 => value1 => $MapIter("IterNode", value0, value1);
23
+ const IterDone = /* #__PURE__ */ $MapIterStep("IterDone");
24
+ const IterNext = value0 => value1 => value2 => $MapIterStep("IterNext", value0, value1, value2);
25
+ const Split = value0 => value1 => value2 => $Split(value0, value1, value2);
26
+ const SplitLast = value0 => value1 => value2 => $SplitLast(value0, value1, value2);
27
+ const unsafeNode = (k, v, l, r) => {
28
+ if (l.tag === "Leaf") {
29
+ if (r.tag === "Leaf") { return $$$Map("Node", 1, 1, k, v, l, r); }
30
+ if (r.tag === "Node") { return $$$Map("Node", 1 + r._1 | 0, 1 + r._2 | 0, k, v, l, r); }
31
+ $runtime.fail();
32
+ }
33
+ if (l.tag === "Node") {
34
+ if (r.tag === "Leaf") { return $$$Map("Node", 1 + l._1 | 0, 1 + l._2 | 0, k, v, l, r); }
35
+ if (r.tag === "Node") { return $$$Map("Node", l._1 > r._1 ? 1 + l._1 | 0 : 1 + r._1 | 0, (1 + l._2 | 0) + r._2 | 0, k, v, l, r); }
36
+ }
37
+ $runtime.fail();
38
+ };
39
+ const toMapIter = a => $MapIter("IterNode", a, IterLeaf);
40
+ const size = v => {
41
+ if (v.tag === "Leaf") { return 0; }
42
+ if (v.tag === "Node") { return v._2; }
43
+ $runtime.fail();
44
+ };
45
+ const singleton = k => v => $$$Map("Node", 1, 1, k, v, Leaf, Leaf);
46
+ const unsafeBalancedNode = (k, v, l, r) => {
47
+ if (l.tag === "Leaf") {
48
+ if (r.tag === "Leaf") { return $$$Map("Node", 1, 1, k, v, Leaf, Leaf); }
49
+ if (r.tag === "Node" && r._1 > 1) {
50
+ if (
51
+ r._5.tag === "Node" && (() => {
52
+ if (r._6.tag === "Leaf") { return r._5._1 > 0; }
53
+ if (r._6.tag === "Node") { return r._5._1 > r._6._1; }
54
+ $runtime.fail();
55
+ })()
56
+ ) {
57
+ return unsafeNode(r._5._3, r._5._4, unsafeNode(k, v, l, r._5._5), unsafeNode(r._3, r._4, r._5._6, r._6));
58
+ }
59
+ return unsafeNode(r._3, r._4, unsafeNode(k, v, l, r._5), r._6);
60
+ }
61
+ return unsafeNode(k, v, l, r);
62
+ }
63
+ if (l.tag === "Node") {
64
+ if (r.tag === "Node") {
65
+ if (r._1 > (l._1 + 1 | 0)) {
66
+ if (
67
+ r._5.tag === "Node" && (() => {
68
+ if (r._6.tag === "Leaf") { return r._5._1 > 0; }
69
+ if (r._6.tag === "Node") { return r._5._1 > r._6._1; }
70
+ $runtime.fail();
71
+ })()
72
+ ) {
73
+ return unsafeNode(r._5._3, r._5._4, unsafeNode(k, v, l, r._5._5), unsafeNode(r._3, r._4, r._5._6, r._6));
74
+ }
75
+ return unsafeNode(r._3, r._4, unsafeNode(k, v, l, r._5), r._6);
76
+ }
77
+ if (l._1 > (r._1 + 1 | 0)) {
78
+ if (
79
+ l._6.tag === "Node" && (() => {
80
+ if (l._5.tag === "Leaf") { return 0 <= l._6._1; }
81
+ if (l._5.tag === "Node") { return l._5._1 <= l._6._1; }
82
+ $runtime.fail();
83
+ })()
84
+ ) {
85
+ return unsafeNode(l._6._3, l._6._4, unsafeNode(l._3, l._4, l._5, l._6._5), unsafeNode(k, v, l._6._6, r));
86
+ }
87
+ return unsafeNode(l._3, l._4, l._5, unsafeNode(k, v, l._6, r));
88
+ }
89
+ return unsafeNode(k, v, l, r);
90
+ }
91
+ if (r.tag === "Leaf" && l._1 > 1) {
92
+ if (
93
+ l._6.tag === "Node" && (() => {
94
+ if (l._5.tag === "Leaf") { return 0 <= l._6._1; }
95
+ if (l._5.tag === "Node") { return l._5._1 <= l._6._1; }
96
+ $runtime.fail();
97
+ })()
98
+ ) {
99
+ return unsafeNode(l._6._3, l._6._4, unsafeNode(l._3, l._4, l._5, l._6._5), unsafeNode(k, v, l._6._6, r));
100
+ }
101
+ return unsafeNode(l._3, l._4, l._5, unsafeNode(k, v, l._6, r));
102
+ }
103
+ return unsafeNode(k, v, l, r);
104
+ }
105
+ $runtime.fail();
106
+ };
107
+ const unsafeSplit = (comp, k, m) => {
108
+ if (m.tag === "Leaf") { return $Split(Data$dMaybe.Nothing, Leaf, Leaf); }
109
+ if (m.tag === "Node") {
110
+ const v = comp(k)(m._3);
111
+ if (v === "LT") {
112
+ const v1 = unsafeSplit(comp, k, m._5);
113
+ return $Split(v1._1, v1._2, unsafeBalancedNode(m._3, m._4, v1._3, m._6));
114
+ }
115
+ if (v === "GT") {
116
+ const v1 = unsafeSplit(comp, k, m._6);
117
+ return $Split(v1._1, unsafeBalancedNode(m._3, m._4, m._5, v1._2), v1._3);
118
+ }
119
+ if (v === "EQ") { return $Split(Data$dMaybe.$Maybe("Just", m._4), m._5, m._6); }
120
+ }
121
+ $runtime.fail();
122
+ };
123
+ const unsafeSplitLast = (k, v, l, r) => {
124
+ if (r.tag === "Leaf") { return $SplitLast(k, v, l); }
125
+ if (r.tag === "Node") {
126
+ const v1 = unsafeSplitLast(r._3, r._4, r._5, r._6);
127
+ return $SplitLast(v1._1, v1._2, unsafeBalancedNode(k, v, l, v1._3));
128
+ }
129
+ $runtime.fail();
130
+ };
131
+ const unsafeJoinNodes = (v, v1) => {
132
+ if (v.tag === "Leaf") { return v1; }
133
+ if (v.tag === "Node") {
134
+ const v2 = unsafeSplitLast(v._3, v._4, v._5, v._6);
135
+ return unsafeBalancedNode(v2._1, v2._2, v2._3, v1);
136
+ }
137
+ $runtime.fail();
138
+ };
139
+ const unsafeDifference = (comp, l, r) => {
140
+ if (l.tag === "Leaf") { return Leaf; }
141
+ if (r.tag === "Leaf") { return l; }
142
+ if (r.tag === "Node") {
143
+ const v = unsafeSplit(comp, r._3, l);
144
+ return unsafeJoinNodes(unsafeDifference(comp, v._2, r._5), unsafeDifference(comp, v._3, r._6));
145
+ }
146
+ $runtime.fail();
147
+ };
148
+ const unsafeIntersectionWith = (comp, app, l, r) => {
149
+ if (l.tag === "Leaf") { return Leaf; }
150
+ if (r.tag === "Leaf") { return Leaf; }
151
+ if (r.tag === "Node") {
152
+ const v = unsafeSplit(comp, r._3, l);
153
+ const l$p = unsafeIntersectionWith(comp, app, v._2, r._5);
154
+ const r$p = unsafeIntersectionWith(comp, app, v._3, r._6);
155
+ if (v._1.tag === "Just") { return unsafeBalancedNode(r._3, app(v._1._1)(r._4), l$p, r$p); }
156
+ if (v._1.tag === "Nothing") { return unsafeJoinNodes(l$p, r$p); }
157
+ }
158
+ $runtime.fail();
159
+ };
160
+ const unsafeUnionWith = (comp, app, l, r) => {
161
+ if (l.tag === "Leaf") { return r; }
162
+ if (r.tag === "Leaf") { return l; }
163
+ if (r.tag === "Node") {
164
+ const v = unsafeSplit(comp, r._3, l);
165
+ const l$p = unsafeUnionWith(comp, app, v._2, r._5);
166
+ const r$p = unsafeUnionWith(comp, app, v._3, r._6);
167
+ if (v._1.tag === "Just") { return unsafeBalancedNode(r._3, app(v._1._1)(r._4), l$p, r$p); }
168
+ if (v._1.tag === "Nothing") { return unsafeBalancedNode(r._3, r._4, l$p, r$p); }
169
+ }
170
+ $runtime.fail();
171
+ };
172
+ const unionWith = dictOrd => {
173
+ const compare = dictOrd.compare;
174
+ return app => m1 => m2 => unsafeUnionWith(compare, app, m1, m2);
175
+ };
176
+ const union = dictOrd => {
177
+ const compare = dictOrd.compare;
178
+ return m1 => m2 => unsafeUnionWith(compare, Data$dFunction.const, m1, m2);
179
+ };
180
+ const update = dictOrd => f => k => {
181
+ const go = v => {
182
+ if (v.tag === "Leaf") { return Leaf; }
183
+ if (v.tag === "Node") {
184
+ const v1 = dictOrd.compare(k)(v._3);
185
+ if (v1 === "LT") { return unsafeBalancedNode(v._3, v._4, go(v._5), v._6); }
186
+ if (v1 === "GT") { return unsafeBalancedNode(v._3, v._4, v._5, go(v._6)); }
187
+ if (v1 === "EQ") {
188
+ const v2 = f(v._4);
189
+ if (v2.tag === "Nothing") { return unsafeJoinNodes(v._5, v._6); }
190
+ if (v2.tag === "Just") { return $$$Map("Node", v._1, v._2, v._3, v2._1, v._5, v._6); }
191
+ }
192
+ }
193
+ $runtime.fail();
194
+ };
195
+ return go;
196
+ };
197
+ const showTree = dictShow => dictShow1 => {
198
+ const go = ind => v => {
199
+ if (v.tag === "Leaf") { return ind + "Leaf"; }
200
+ if (v.tag === "Node") {
201
+ return ind + "[" + Data$dShow.showIntImpl(v._1) + "] " + dictShow.show(v._3) + " => " + dictShow1.show(v._4) + "\n" + go(ind + " ")(v._5) + "\n" + go(ind + " ")(v._6);
202
+ }
203
+ $runtime.fail();
204
+ };
205
+ return go("");
206
+ };
207
+ const semigroupMap = () => dictOrd => {
208
+ const compare = dictOrd.compare;
209
+ return dictSemigroup => (
210
+ {
211
+ append: (() => {
212
+ const $0 = dictSemigroup.append;
213
+ return m1 => m2 => unsafeUnionWith(compare, $0, m1, m2);
214
+ })()
215
+ }
216
+ );
217
+ };
218
+ const pop = dictOrd => {
219
+ const compare = dictOrd.compare;
220
+ return k => m => {
221
+ const v = unsafeSplit(compare, k, m);
222
+ if (v._1.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(v._1._1, unsafeJoinNodes(v._2, v._3))); }
223
+ return Data$dMaybe.Nothing;
224
+ };
225
+ };
226
+ const member = dictOrd => k => {
227
+ const go = go$a0$copy => {
228
+ let go$a0 = go$a0$copy, go$c = true, go$r;
229
+ while (go$c) {
230
+ const v = go$a0;
231
+ if (v.tag === "Leaf") {
232
+ go$c = false;
233
+ go$r = false;
234
+ continue;
235
+ }
236
+ if (v.tag === "Node") {
237
+ const v1 = dictOrd.compare(k)(v._3);
238
+ if (v1 === "LT") {
239
+ go$a0 = v._5;
240
+ continue;
241
+ }
242
+ if (v1 === "GT") {
243
+ go$a0 = v._6;
244
+ continue;
245
+ }
246
+ if (v1 === "EQ") {
247
+ go$c = false;
248
+ go$r = true;
249
+ continue;
250
+ }
251
+ }
252
+ $runtime.fail();
253
+ }
254
+ return go$r;
255
+ };
256
+ return go;
257
+ };
258
+ const mapMaybeWithKey = dictOrd => f => {
259
+ const go = v => {
260
+ if (v.tag === "Leaf") { return Leaf; }
261
+ if (v.tag === "Node") {
262
+ const v2 = f(v._3)(v._4);
263
+ if (v2.tag === "Just") { return unsafeBalancedNode(v._3, v2._1, go(v._5), go(v._6)); }
264
+ if (v2.tag === "Nothing") { return unsafeJoinNodes(go(v._5), go(v._6)); }
265
+ }
266
+ $runtime.fail();
267
+ };
268
+ return go;
269
+ };
270
+ const mapMaybe = dictOrd => x => mapMaybeWithKey(dictOrd)(v => x);
271
+ const lookupLE = dictOrd => k => {
272
+ const go = v => {
273
+ if (v.tag === "Leaf") { return Data$dMaybe.Nothing; }
274
+ if (v.tag === "Node") {
275
+ const v1 = dictOrd.compare(k)(v._3);
276
+ if (v1 === "LT") { return go(v._5); }
277
+ if (v1 === "GT") {
278
+ const v2 = go(v._6);
279
+ if (v2.tag === "Nothing") { return Data$dMaybe.$Maybe("Just", {key: v._3, value: v._4}); }
280
+ return v2;
281
+ }
282
+ if (v1 === "EQ") { return Data$dMaybe.$Maybe("Just", {key: v._3, value: v._4}); }
283
+ }
284
+ $runtime.fail();
285
+ };
286
+ return go;
287
+ };
288
+ const lookupGE = dictOrd => k => {
289
+ const go = v => {
290
+ if (v.tag === "Leaf") { return Data$dMaybe.Nothing; }
291
+ if (v.tag === "Node") {
292
+ const v1 = dictOrd.compare(k)(v._3);
293
+ if (v1 === "LT") {
294
+ const v2 = go(v._5);
295
+ if (v2.tag === "Nothing") { return Data$dMaybe.$Maybe("Just", {key: v._3, value: v._4}); }
296
+ return v2;
297
+ }
298
+ if (v1 === "GT") { return go(v._6); }
299
+ if (v1 === "EQ") { return Data$dMaybe.$Maybe("Just", {key: v._3, value: v._4}); }
300
+ }
301
+ $runtime.fail();
302
+ };
303
+ return go;
304
+ };
305
+ const lookup = dictOrd => k => {
306
+ const go = go$a0$copy => {
307
+ let go$a0 = go$a0$copy, go$c = true, go$r;
308
+ while (go$c) {
309
+ const v = go$a0;
310
+ if (v.tag === "Leaf") {
311
+ go$c = false;
312
+ go$r = Data$dMaybe.Nothing;
313
+ continue;
314
+ }
315
+ if (v.tag === "Node") {
316
+ const v1 = dictOrd.compare(k)(v._3);
317
+ if (v1 === "LT") {
318
+ go$a0 = v._5;
319
+ continue;
320
+ }
321
+ if (v1 === "GT") {
322
+ go$a0 = v._6;
323
+ continue;
324
+ }
325
+ if (v1 === "EQ") {
326
+ go$c = false;
327
+ go$r = Data$dMaybe.$Maybe("Just", v._4);
328
+ continue;
329
+ }
330
+ }
331
+ $runtime.fail();
332
+ }
333
+ return go$r;
334
+ };
335
+ return go;
336
+ };
337
+ const stepUnorderedCps = next => done => {
338
+ const go = go$a0$copy => {
339
+ let go$a0 = go$a0$copy, go$c = true, go$r;
340
+ while (go$c) {
341
+ const v = go$a0;
342
+ if (v.tag === "IterLeaf") {
343
+ go$c = false;
344
+ go$r = done();
345
+ continue;
346
+ }
347
+ if (v.tag === "IterEmit") {
348
+ go$c = false;
349
+ go$r = next(v._1, v._2, v._3);
350
+ continue;
351
+ }
352
+ if (v.tag === "IterNode") {
353
+ go$a0 = (() => {
354
+ if (v._1.tag === "Leaf") { return v._2; }
355
+ if (v._1.tag === "Node") {
356
+ if (v._1._5.tag === "Leaf") {
357
+ if (v._1._6.tag === "Leaf") { return $MapIter("IterEmit", v._1._3, v._1._4, v._2); }
358
+ return $MapIter("IterEmit", v._1._3, v._1._4, $MapIter("IterNode", v._1._6, v._2));
359
+ }
360
+ if (v._1._6.tag === "Leaf") { return $MapIter("IterEmit", v._1._3, v._1._4, $MapIter("IterNode", v._1._5, v._2)); }
361
+ return $MapIter("IterEmit", v._1._3, v._1._4, $MapIter("IterNode", v._1._5, $MapIter("IterNode", v._1._6, v._2)));
362
+ }
363
+ $runtime.fail();
364
+ })();
365
+ continue;
366
+ }
367
+ $runtime.fail();
368
+ }
369
+ return go$r;
370
+ };
371
+ return go;
372
+ };
373
+ const stepUnfoldrUnordered = /* #__PURE__ */ stepUnorderedCps((k, v, next) => Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(Data$dTuple.$Tuple(k, v), next)))(v => Data$dMaybe.Nothing);
374
+ const toUnfoldableUnordered = dictUnfoldable => {
375
+ const $0 = dictUnfoldable.unfoldr(stepUnfoldrUnordered);
376
+ return x => $0($MapIter("IterNode", x, IterLeaf));
377
+ };
378
+ const stepUnordered = /* #__PURE__ */ stepUnorderedCps((k, v, next) => $MapIterStep("IterNext", k, v, next))(v => IterDone);
379
+ const stepDescCps = next => done => {
380
+ const go = go$a0$copy => {
381
+ let go$a0 = go$a0$copy, go$c = true, go$r;
382
+ while (go$c) {
383
+ const v = go$a0;
384
+ if (v.tag === "IterLeaf") {
385
+ go$c = false;
386
+ go$r = done();
387
+ continue;
388
+ }
389
+ if (v.tag === "IterEmit") {
390
+ go$c = false;
391
+ go$r = next(v._1, v._2, v._3);
392
+ continue;
393
+ }
394
+ if (v.tag === "IterNode") {
395
+ go$a0 = (() => {
396
+ const go$1 = go$1$a0$copy => go$1$a1$copy => {
397
+ let go$1$a0 = go$1$a0$copy, go$1$a1 = go$1$a1$copy, go$1$c = true, go$1$r;
398
+ while (go$1$c) {
399
+ const iter = go$1$a0, v$1 = go$1$a1;
400
+ if (v$1.tag === "Leaf") {
401
+ go$1$c = false;
402
+ go$1$r = iter;
403
+ continue;
404
+ }
405
+ if (v$1.tag === "Node") {
406
+ if (v$1._6.tag === "Leaf") {
407
+ go$1$a0 = $MapIter("IterEmit", v$1._3, v$1._4, iter);
408
+ go$1$a1 = v$1._5;
409
+ continue;
410
+ }
411
+ go$1$a0 = $MapIter("IterEmit", v$1._3, v$1._4, $MapIter("IterNode", v$1._5, iter));
412
+ go$1$a1 = v$1._6;
413
+ continue;
414
+ }
415
+ $runtime.fail();
416
+ }
417
+ return go$1$r;
418
+ };
419
+ return go$1(v._2)(v._1);
420
+ })();
421
+ continue;
422
+ }
423
+ $runtime.fail();
424
+ }
425
+ return go$r;
426
+ };
427
+ return go;
428
+ };
429
+ const stepDesc = /* #__PURE__ */ stepDescCps((k, v, next) => $MapIterStep("IterNext", k, v, next))(v => IterDone);
430
+ const stepAscCps = next => done => {
431
+ const go = go$a0$copy => {
432
+ let go$a0 = go$a0$copy, go$c = true, go$r;
433
+ while (go$c) {
434
+ const v = go$a0;
435
+ if (v.tag === "IterLeaf") {
436
+ go$c = false;
437
+ go$r = done();
438
+ continue;
439
+ }
440
+ if (v.tag === "IterEmit") {
441
+ go$c = false;
442
+ go$r = next(v._1, v._2, v._3);
443
+ continue;
444
+ }
445
+ if (v.tag === "IterNode") {
446
+ go$a0 = (() => {
447
+ const go$1 = go$1$a0$copy => go$1$a1$copy => {
448
+ let go$1$a0 = go$1$a0$copy, go$1$a1 = go$1$a1$copy, go$1$c = true, go$1$r;
449
+ while (go$1$c) {
450
+ const iter = go$1$a0, v$1 = go$1$a1;
451
+ if (v$1.tag === "Leaf") {
452
+ go$1$c = false;
453
+ go$1$r = iter;
454
+ continue;
455
+ }
456
+ if (v$1.tag === "Node") {
457
+ if (v$1._6.tag === "Leaf") {
458
+ go$1$a0 = $MapIter("IterEmit", v$1._3, v$1._4, iter);
459
+ go$1$a1 = v$1._5;
460
+ continue;
461
+ }
462
+ go$1$a0 = $MapIter("IterEmit", v$1._3, v$1._4, $MapIter("IterNode", v$1._6, iter));
463
+ go$1$a1 = v$1._5;
464
+ continue;
465
+ }
466
+ $runtime.fail();
467
+ }
468
+ return go$1$r;
469
+ };
470
+ return go$1(v._2)(v._1);
471
+ })();
472
+ continue;
473
+ }
474
+ $runtime.fail();
475
+ }
476
+ return go$r;
477
+ };
478
+ return go;
479
+ };
480
+ const stepAsc = /* #__PURE__ */ stepAscCps((k, v, next) => $MapIterStep("IterNext", k, v, next))(v => IterDone);
481
+ const eqMapIter = dictEq => dictEq1 => (
482
+ {
483
+ eq: (() => {
484
+ const go = a => b => {
485
+ const v = stepAsc(a);
486
+ if (v.tag === "IterNext") {
487
+ const v2 = stepAsc(b);
488
+ return v2.tag === "IterNext" && dictEq.eq(v._1)(v2._1) && dictEq1.eq(v._2)(v2._2) && go(v._3)(v2._3);
489
+ }
490
+ if (v.tag === "IterDone") { return true; }
491
+ $runtime.fail();
492
+ };
493
+ return go;
494
+ })()
495
+ }
496
+ );
497
+ const ordMapIter = dictOrd => {
498
+ const eqMapIter1 = eqMapIter(dictOrd.Eq0());
499
+ return dictOrd1 => {
500
+ const eqMapIter2 = eqMapIter1(dictOrd1.Eq0());
501
+ return {
502
+ compare: (() => {
503
+ const go = go$a0$copy => go$a1$copy => {
504
+ let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r;
505
+ while (go$c) {
506
+ const a = go$a0, b = go$a1;
507
+ const v = stepAsc(b);
508
+ const v1 = stepAsc(a);
509
+ if (v1.tag === "IterNext") {
510
+ if (v.tag === "IterNext") {
511
+ const v3 = dictOrd.compare(v1._1)(v._1);
512
+ if (v3 === "EQ") {
513
+ const v4 = dictOrd1.compare(v1._2)(v._2);
514
+ if (v4 === "EQ") {
515
+ go$a0 = v1._3;
516
+ go$a1 = v._3;
517
+ continue;
518
+ }
519
+ go$c = false;
520
+ go$r = v4;
521
+ continue;
522
+ }
523
+ go$c = false;
524
+ go$r = v3;
525
+ continue;
526
+ }
527
+ if (v.tag === "IterDone") {
528
+ go$c = false;
529
+ go$r = Data$dOrdering.GT;
530
+ continue;
531
+ }
532
+ $runtime.fail();
533
+ }
534
+ if (v1.tag === "IterDone") {
535
+ if (v.tag === "IterDone") {
536
+ go$c = false;
537
+ go$r = Data$dOrdering.EQ;
538
+ continue;
539
+ }
540
+ go$c = false;
541
+ go$r = Data$dOrdering.LT;
542
+ continue;
543
+ }
544
+ if (v.tag === "IterDone") {
545
+ go$c = false;
546
+ go$r = Data$dOrdering.GT;
547
+ continue;
548
+ }
549
+ $runtime.fail();
550
+ }
551
+ return go$r;
552
+ };
553
+ return go;
554
+ })(),
555
+ Eq0: () => eqMapIter2
556
+ };
557
+ };
558
+ };
559
+ const stepUnfoldr = /* #__PURE__ */ stepAscCps((k, v, next) => Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(Data$dTuple.$Tuple(k, v), next)))(v => Data$dMaybe.Nothing);
560
+ const toUnfoldable = dictUnfoldable => {
561
+ const $0 = dictUnfoldable.unfoldr(stepUnfoldr);
562
+ return x => $0($MapIter("IterNode", x, IterLeaf));
563
+ };
564
+ const toUnfoldable1 = /* #__PURE__ */ (() => {
565
+ const $0 = Data$dUnfoldable.unfoldableArray.unfoldr(stepUnfoldr);
566
+ return x => $0($MapIter("IterNode", x, IterLeaf));
567
+ })();
568
+ const showMap = dictShow => dictShow1 => {
569
+ const show1 = Data$dShow.showArrayImpl(v => "(Tuple " + dictShow.show(v._1) + " " + dictShow1.show(v._2) + ")");
570
+ return {show: as => "(fromFoldable " + show1(toUnfoldable1(as)) + ")"};
571
+ };
572
+ const isSubmap = dictOrd => dictEq => {
573
+ const go = m1 => m2 => {
574
+ if (m1.tag === "Leaf") { return true; }
575
+ if (m1.tag === "Node") {
576
+ const $0 = m1._3;
577
+ const go$1 = go$1$a0$copy => {
578
+ let go$1$a0 = go$1$a0$copy, go$1$c = true, go$1$r;
579
+ while (go$1$c) {
580
+ const v = go$1$a0;
581
+ if (v.tag === "Leaf") {
582
+ go$1$c = false;
583
+ go$1$r = Data$dMaybe.Nothing;
584
+ continue;
585
+ }
586
+ if (v.tag === "Node") {
587
+ const v1 = dictOrd.compare($0)(v._3);
588
+ if (v1 === "LT") {
589
+ go$1$a0 = v._5;
590
+ continue;
591
+ }
592
+ if (v1 === "GT") {
593
+ go$1$a0 = v._6;
594
+ continue;
595
+ }
596
+ if (v1 === "EQ") {
597
+ go$1$c = false;
598
+ go$1$r = Data$dMaybe.$Maybe("Just", v._4);
599
+ continue;
600
+ }
601
+ }
602
+ $runtime.fail();
603
+ }
604
+ return go$1$r;
605
+ };
606
+ const v1 = go$1(m2);
607
+ if (v1.tag === "Nothing") { return false; }
608
+ if (v1.tag === "Just") { return dictEq.eq(m1._4)(v1._1) && go(m1._5)(m2) && go(m1._6)(m2); }
609
+ }
610
+ $runtime.fail();
611
+ };
612
+ return go;
613
+ };
614
+ const isEmpty = v => v.tag === "Leaf";
615
+ const intersectionWith = dictOrd => {
616
+ const compare = dictOrd.compare;
617
+ return app => m1 => m2 => unsafeIntersectionWith(compare, app, m1, m2);
618
+ };
619
+ const intersection = dictOrd => {
620
+ const compare = dictOrd.compare;
621
+ return m1 => m2 => unsafeIntersectionWith(compare, Data$dFunction.const, m1, m2);
622
+ };
623
+ const insertWith = dictOrd => app => k => v => {
624
+ const go = v1 => {
625
+ if (v1.tag === "Leaf") { return $$$Map("Node", 1, 1, k, v, Leaf, Leaf); }
626
+ if (v1.tag === "Node") {
627
+ const v2 = dictOrd.compare(k)(v1._3);
628
+ if (v2 === "LT") { return unsafeBalancedNode(v1._3, v1._4, go(v1._5), v1._6); }
629
+ if (v2 === "GT") { return unsafeBalancedNode(v1._3, v1._4, v1._5, go(v1._6)); }
630
+ if (v2 === "EQ") { return $$$Map("Node", v1._1, v1._2, k, app(v1._4)(v), v1._5, v1._6); }
631
+ }
632
+ $runtime.fail();
633
+ };
634
+ return go;
635
+ };
636
+ const insert = dictOrd => k => v => {
637
+ const go = v1 => {
638
+ if (v1.tag === "Leaf") { return $$$Map("Node", 1, 1, k, v, Leaf, Leaf); }
639
+ if (v1.tag === "Node") {
640
+ const v2 = dictOrd.compare(k)(v1._3);
641
+ if (v2 === "LT") { return unsafeBalancedNode(v1._3, v1._4, go(v1._5), v1._6); }
642
+ if (v2 === "GT") { return unsafeBalancedNode(v1._3, v1._4, v1._5, go(v1._6)); }
643
+ if (v2 === "EQ") { return $$$Map("Node", v1._1, v1._2, k, v, v1._5, v1._6); }
644
+ }
645
+ $runtime.fail();
646
+ };
647
+ return go;
648
+ };
649
+ const functorMap = {
650
+ map: f => {
651
+ const go = v => {
652
+ if (v.tag === "Leaf") { return Leaf; }
653
+ if (v.tag === "Node") { return $$$Map("Node", v._1, v._2, v._3, f(v._4), go(v._5), go(v._6)); }
654
+ $runtime.fail();
655
+ };
656
+ return go;
657
+ }
658
+ };
659
+ const functorWithIndexMap = {
660
+ mapWithIndex: f => {
661
+ const go = v => {
662
+ if (v.tag === "Leaf") { return Leaf; }
663
+ if (v.tag === "Node") { return $$$Map("Node", v._1, v._2, v._3, f(v._3)(v._4), go(v._5), go(v._6)); }
664
+ $runtime.fail();
665
+ };
666
+ return go;
667
+ },
668
+ Functor0: () => functorMap
669
+ };
670
+ const foldableMap = {
671
+ foldr: f => z => {
672
+ const go = (m$p, z$p) => {
673
+ if (m$p.tag === "Leaf") { return z$p; }
674
+ if (m$p.tag === "Node") { return go(m$p._5, f(m$p._4)(go(m$p._6, z$p))); }
675
+ $runtime.fail();
676
+ };
677
+ return m => go(m, z);
678
+ },
679
+ foldl: f => z => {
680
+ const go = (z$p, m$p) => {
681
+ if (m$p.tag === "Leaf") { return z$p; }
682
+ if (m$p.tag === "Node") { return go(f(go(z$p, m$p._5))(m$p._4), m$p._6); }
683
+ $runtime.fail();
684
+ };
685
+ return m => go(z, m);
686
+ },
687
+ foldMap: dictMonoid => {
688
+ const mempty = dictMonoid.mempty;
689
+ const $0 = dictMonoid.Semigroup0();
690
+ return f => {
691
+ const go = v => {
692
+ if (v.tag === "Leaf") { return mempty; }
693
+ if (v.tag === "Node") { return $0.append(go(v._5))($0.append(f(v._4))(go(v._6))); }
694
+ $runtime.fail();
695
+ };
696
+ return go;
697
+ };
698
+ }
699
+ };
700
+ const foldableWithIndexMap = {
701
+ foldrWithIndex: f => z => {
702
+ const go = (m$p, z$p) => {
703
+ if (m$p.tag === "Leaf") { return z$p; }
704
+ if (m$p.tag === "Node") { return go(m$p._5, f(m$p._3)(m$p._4)(go(m$p._6, z$p))); }
705
+ $runtime.fail();
706
+ };
707
+ return m => go(m, z);
708
+ },
709
+ foldlWithIndex: f => z => {
710
+ const go = (z$p, m$p) => {
711
+ if (m$p.tag === "Leaf") { return z$p; }
712
+ if (m$p.tag === "Node") { return go(f(m$p._3)(go(z$p, m$p._5))(m$p._4), m$p._6); }
713
+ $runtime.fail();
714
+ };
715
+ return m => go(z, m);
716
+ },
717
+ foldMapWithIndex: dictMonoid => {
718
+ const mempty = dictMonoid.mempty;
719
+ const $0 = dictMonoid.Semigroup0();
720
+ return f => {
721
+ const go = v => {
722
+ if (v.tag === "Leaf") { return mempty; }
723
+ if (v.tag === "Node") { return $0.append(go(v._5))($0.append(f(v._3)(v._4))(go(v._6))); }
724
+ $runtime.fail();
725
+ };
726
+ return go;
727
+ };
728
+ },
729
+ Foldable0: () => foldableMap
730
+ };
731
+ const keys = /* #__PURE__ */ (() => {
732
+ const go = (m$p, z$p) => {
733
+ if (m$p.tag === "Leaf") { return z$p; }
734
+ if (m$p.tag === "Node") { return go(m$p._5, Data$dList$dTypes.$List("Cons", m$p._3, go(m$p._6, z$p))); }
735
+ $runtime.fail();
736
+ };
737
+ return m => go(m, Data$dList$dTypes.Nil);
738
+ })();
739
+ const traversableMap = {
740
+ traverse: dictApplicative => {
741
+ const Apply0 = dictApplicative.Apply0();
742
+ return f => {
743
+ const go = v => {
744
+ if (v.tag === "Leaf") { return dictApplicative.pure(Leaf); }
745
+ if (v.tag === "Node") {
746
+ const $0 = v._1;
747
+ const $1 = v._3;
748
+ const $2 = v._2;
749
+ return Apply0.apply(Apply0.apply(Apply0.Functor0().map(l$p => v$p => r$p => $$$Map("Node", $0, $2, $1, v$p, l$p, r$p))(go(v._5)))(f(v._4)))(go(v._6));
750
+ }
751
+ $runtime.fail();
752
+ };
753
+ return go;
754
+ };
755
+ },
756
+ sequence: dictApplicative => traversableMap.traverse(dictApplicative)(identity),
757
+ Functor0: () => functorMap,
758
+ Foldable1: () => foldableMap
759
+ };
760
+ const traversableWithIndexMap = {
761
+ traverseWithIndex: dictApplicative => {
762
+ const Apply0 = dictApplicative.Apply0();
763
+ return f => {
764
+ const go = v => {
765
+ if (v.tag === "Leaf") { return dictApplicative.pure(Leaf); }
766
+ if (v.tag === "Node") {
767
+ const $0 = v._1;
768
+ const $1 = v._3;
769
+ const $2 = v._2;
770
+ return Apply0.apply(Apply0.apply(Apply0.Functor0().map(l$p => v$p => r$p => $$$Map("Node", $0, $2, $1, v$p, l$p, r$p))(go(v._5)))(f($1)(v._4)))(go(v._6));
771
+ }
772
+ $runtime.fail();
773
+ };
774
+ return go;
775
+ };
776
+ },
777
+ FunctorWithIndex0: () => functorWithIndexMap,
778
+ FoldableWithIndex1: () => foldableWithIndexMap,
779
+ Traversable2: () => traversableMap
780
+ };
781
+ const values = /* #__PURE__ */ (() => {
782
+ const go = (m$p, z$p) => {
783
+ if (m$p.tag === "Leaf") { return z$p; }
784
+ if (m$p.tag === "Node") { return go(m$p._5, Data$dList$dTypes.$List("Cons", m$p._4, go(m$p._6, z$p))); }
785
+ $runtime.fail();
786
+ };
787
+ return m => go(m, Data$dList$dTypes.Nil);
788
+ })();
789
+ const foldSubmapBy = dictOrd => appendFn => memptyValue => kmin => kmax => f => {
790
+ const tooSmall = (() => {
791
+ if (kmin.tag === "Just") {
792
+ const $0 = kmin._1;
793
+ return k => dictOrd.compare(k)($0) === "LT";
794
+ }
795
+ if (kmin.tag === "Nothing") { return v => false; }
796
+ $runtime.fail();
797
+ })();
798
+ const tooLarge = (() => {
799
+ if (kmax.tag === "Just") {
800
+ const $0 = kmax._1;
801
+ return k => dictOrd.compare(k)($0) === "GT";
802
+ }
803
+ if (kmax.tag === "Nothing") { return v => false; }
804
+ $runtime.fail();
805
+ })();
806
+ const inBounds = (() => {
807
+ if (kmin.tag === "Just") {
808
+ if (kmax.tag === "Just") {
809
+ const $0 = kmax._1;
810
+ const $1 = kmin._1;
811
+ return k => dictOrd.compare($1)(k) !== "GT" && dictOrd.compare(k)($0) !== "GT";
812
+ }
813
+ if (kmax.tag === "Nothing") {
814
+ const $0 = kmin._1;
815
+ return k => dictOrd.compare($0)(k) !== "GT";
816
+ }
817
+ $runtime.fail();
818
+ }
819
+ if (kmin.tag === "Nothing") {
820
+ if (kmax.tag === "Just") {
821
+ const $0 = kmax._1;
822
+ return k => dictOrd.compare(k)($0) !== "GT";
823
+ }
824
+ if (kmax.tag === "Nothing") { return v => true; }
825
+ }
826
+ $runtime.fail();
827
+ })();
828
+ const go = v => {
829
+ if (v.tag === "Leaf") { return memptyValue; }
830
+ if (v.tag === "Node") {
831
+ return appendFn(appendFn(tooSmall(v._3) ? memptyValue : go(v._5))(inBounds(v._3) ? f(v._3)(v._4) : memptyValue))(tooLarge(v._3) ? memptyValue : go(v._6));
832
+ }
833
+ $runtime.fail();
834
+ };
835
+ return go;
836
+ };
837
+ const foldSubmap = dictOrd => dictMonoid => foldSubmapBy(dictOrd)(dictMonoid.Semigroup0().append)(dictMonoid.mempty);
838
+ const findMin = findMin$a0$copy => {
839
+ let findMin$a0 = findMin$a0$copy, findMin$c = true, findMin$r;
840
+ while (findMin$c) {
841
+ const v = findMin$a0;
842
+ if (v.tag === "Leaf") {
843
+ findMin$c = false;
844
+ findMin$r = Data$dMaybe.Nothing;
845
+ continue;
846
+ }
847
+ if (v.tag === "Node") {
848
+ if (v._5.tag === "Leaf") {
849
+ findMin$c = false;
850
+ findMin$r = Data$dMaybe.$Maybe("Just", {key: v._3, value: v._4});
851
+ continue;
852
+ }
853
+ findMin$a0 = v._5;
854
+ continue;
855
+ }
856
+ $runtime.fail();
857
+ }
858
+ return findMin$r;
859
+ };
860
+ const lookupGT = dictOrd => k => {
861
+ const go = v => {
862
+ if (v.tag === "Leaf") { return Data$dMaybe.Nothing; }
863
+ if (v.tag === "Node") {
864
+ const v1 = dictOrd.compare(k)(v._3);
865
+ if (v1 === "LT") {
866
+ const v2 = go(v._5);
867
+ if (v2.tag === "Nothing") { return Data$dMaybe.$Maybe("Just", {key: v._3, value: v._4}); }
868
+ return v2;
869
+ }
870
+ if (v1 === "GT") { return go(v._6); }
871
+ if (v1 === "EQ") { return findMin(v._6); }
872
+ }
873
+ $runtime.fail();
874
+ };
875
+ return go;
876
+ };
877
+ const findMax = findMax$a0$copy => {
878
+ let findMax$a0 = findMax$a0$copy, findMax$c = true, findMax$r;
879
+ while (findMax$c) {
880
+ const v = findMax$a0;
881
+ if (v.tag === "Leaf") {
882
+ findMax$c = false;
883
+ findMax$r = Data$dMaybe.Nothing;
884
+ continue;
885
+ }
886
+ if (v.tag === "Node") {
887
+ if (v._6.tag === "Leaf") {
888
+ findMax$c = false;
889
+ findMax$r = Data$dMaybe.$Maybe("Just", {key: v._3, value: v._4});
890
+ continue;
891
+ }
892
+ findMax$a0 = v._6;
893
+ continue;
894
+ }
895
+ $runtime.fail();
896
+ }
897
+ return findMax$r;
898
+ };
899
+ const lookupLT = dictOrd => k => {
900
+ const go = v => {
901
+ if (v.tag === "Leaf") { return Data$dMaybe.Nothing; }
902
+ if (v.tag === "Node") {
903
+ const v1 = dictOrd.compare(k)(v._3);
904
+ if (v1 === "LT") { return go(v._5); }
905
+ if (v1 === "GT") {
906
+ const v2 = go(v._6);
907
+ if (v2.tag === "Nothing") { return Data$dMaybe.$Maybe("Just", {key: v._3, value: v._4}); }
908
+ return v2;
909
+ }
910
+ if (v1 === "EQ") { return findMax(v._5); }
911
+ }
912
+ $runtime.fail();
913
+ };
914
+ return go;
915
+ };
916
+ const filterWithKey = dictOrd => f => {
917
+ const go = v => {
918
+ if (v.tag === "Leaf") { return Leaf; }
919
+ if (v.tag === "Node") {
920
+ if (f(v._3)(v._4)) { return unsafeBalancedNode(v._3, v._4, go(v._5), go(v._6)); }
921
+ return unsafeJoinNodes(go(v._5), go(v._6));
922
+ }
923
+ $runtime.fail();
924
+ };
925
+ return go;
926
+ };
927
+ const filterKeys = dictOrd => f => {
928
+ const go = v => {
929
+ if (v.tag === "Leaf") { return Leaf; }
930
+ if (v.tag === "Node") {
931
+ if (f(v._3)) { return unsafeBalancedNode(v._3, v._4, go(v._5), go(v._6)); }
932
+ return unsafeJoinNodes(go(v._5), go(v._6));
933
+ }
934
+ $runtime.fail();
935
+ };
936
+ return go;
937
+ };
938
+ const filter = dictOrd => x => filterWithKey(dictOrd)(v => x);
939
+ const eqMap = dictEq => dictEq1 => (
940
+ {
941
+ eq: xs => ys => {
942
+ if (xs.tag === "Leaf") { return ys.tag === "Leaf"; }
943
+ if (xs.tag === "Node") {
944
+ return ys.tag === "Node" && xs._2 === ys._2 && eqMapIter(dictEq)(dictEq1).eq($MapIter("IterNode", xs, IterLeaf))($MapIter("IterNode", ys, IterLeaf));
945
+ }
946
+ $runtime.fail();
947
+ }
948
+ }
949
+ );
950
+ const ordMap = dictOrd => {
951
+ const ordMapIter1 = ordMapIter(dictOrd);
952
+ const eqMap1 = eqMap(dictOrd.Eq0());
953
+ return dictOrd1 => {
954
+ const eqMap2 = eqMap1(dictOrd1.Eq0());
955
+ return {
956
+ compare: xs => ys => {
957
+ if (xs.tag === "Leaf") {
958
+ if (ys.tag === "Leaf") { return Data$dOrdering.EQ; }
959
+ return Data$dOrdering.LT;
960
+ }
961
+ if (ys.tag === "Leaf") { return Data$dOrdering.GT; }
962
+ return ordMapIter1(dictOrd1).compare($MapIter("IterNode", xs, IterLeaf))($MapIter("IterNode", ys, IterLeaf));
963
+ },
964
+ Eq0: () => eqMap2
965
+ };
966
+ };
967
+ };
968
+ const eq1Map = dictEq => ({eq1: dictEq1 => eqMap(dictEq)(dictEq1).eq});
969
+ const ord1Map = dictOrd => {
970
+ const ordMap1 = ordMap(dictOrd);
971
+ const $0 = dictOrd.Eq0();
972
+ const eq1Map1 = {eq1: dictEq1 => eqMap($0)(dictEq1).eq};
973
+ return {compare1: dictOrd1 => ordMap1(dictOrd1).compare, Eq10: () => eq1Map1};
974
+ };
975
+ const empty = Leaf;
976
+ const fromFoldable = dictOrd => dictFoldable => dictFoldable.foldl(m => v => insert(dictOrd)(v._1)(v._2)(m))(Leaf);
977
+ const fromFoldableWith = dictOrd => dictFoldable => f => {
978
+ const f$p = insertWith(dictOrd)(b => a => f(a)(b));
979
+ return dictFoldable.foldl(m => v => f$p(v._1)(v._2)(m))(Leaf);
980
+ };
981
+ const fromFoldableWithIndex = dictOrd => dictFoldableWithIndex => dictFoldableWithIndex.foldlWithIndex(k => m => v => insert(dictOrd)(k)(v)(m))(Leaf);
982
+ const monoidSemigroupMap = () => dictOrd => {
983
+ const semigroupMap2 = semigroupMap()(dictOrd);
984
+ return dictSemigroup => {
985
+ const semigroupMap3 = semigroupMap2(dictSemigroup);
986
+ return {mempty: Leaf, Semigroup0: () => semigroupMap3};
987
+ };
988
+ };
989
+ const submap = dictOrd => {
990
+ const compare = dictOrd.compare;
991
+ return kmin => kmax => foldSubmapBy(dictOrd)(m1 => m2 => unsafeUnionWith(compare, Data$dFunction.const, m1, m2))(Leaf)(kmin)(kmax)(singleton);
992
+ };
993
+ const unions = dictOrd => {
994
+ const compare = dictOrd.compare;
995
+ return dictFoldable => dictFoldable.foldl(m1 => m2 => unsafeUnionWith(compare, Data$dFunction.const, m1, m2))(Leaf);
996
+ };
997
+ const difference = dictOrd => {
998
+ const compare = dictOrd.compare;
999
+ return m1 => m2 => unsafeDifference(compare, m1, m2);
1000
+ };
1001
+ const $$delete = dictOrd => k => {
1002
+ const go = v => {
1003
+ if (v.tag === "Leaf") { return Leaf; }
1004
+ if (v.tag === "Node") {
1005
+ const v1 = dictOrd.compare(k)(v._3);
1006
+ if (v1 === "LT") { return unsafeBalancedNode(v._3, v._4, go(v._5), v._6); }
1007
+ if (v1 === "GT") { return unsafeBalancedNode(v._3, v._4, v._5, go(v._6)); }
1008
+ if (v1 === "EQ") { return unsafeJoinNodes(v._5, v._6); }
1009
+ }
1010
+ $runtime.fail();
1011
+ };
1012
+ return go;
1013
+ };
1014
+ const checkValid = dictOrd => {
1015
+ const go = v => {
1016
+ if (v.tag === "Leaf") { return true; }
1017
+ if (v.tag === "Node") {
1018
+ if (v._5.tag === "Leaf") {
1019
+ if (v._6.tag === "Leaf") { return true; }
1020
+ if (v._6.tag === "Node") { return v._1 === 2 && v._6._1 === 1 && v._2 > v._6._2 && dictOrd.compare(v._6._3)(v._3) === "GT" && go(v._6); }
1021
+ $runtime.fail();
1022
+ }
1023
+ if (v._5.tag === "Node") {
1024
+ if (v._6.tag === "Leaf") { return v._1 === 2 && v._5._1 === 1 && v._2 > v._5._2 && dictOrd.compare(v._5._3)(v._3) === "LT" && go(v._5); }
1025
+ if (v._6.tag === "Node") {
1026
+ return v._1 > v._6._1 && dictOrd.compare(v._6._3)(v._3) === "GT" && v._1 > v._5._1 && (() => {
1027
+ const $0 = v._6._1 - v._5._1 | 0;
1028
+ return dictOrd.compare(v._5._3)(v._3) === "LT" && ($0 >= 0 ? $0 < 2 : -$0 < 2) && ((v._6._2 + v._5._2 | 0) + 1 | 0) === v._2 && go(v._5) && go(v._6);
1029
+ })();
1030
+ }
1031
+ }
1032
+ }
1033
+ $runtime.fail();
1034
+ };
1035
+ return go;
1036
+ };
1037
+ const catMaybes = dictOrd => mapMaybeWithKey(dictOrd)(v => identity);
1038
+ const applyMap = dictOrd => (
1039
+ {
1040
+ apply: (() => {
1041
+ const compare = dictOrd.compare;
1042
+ return m1 => m2 => unsafeIntersectionWith(compare, identity, m1, m2);
1043
+ })(),
1044
+ Functor0: () => functorMap
1045
+ }
1046
+ );
1047
+ const bindMap = dictOrd => {
1048
+ const applyMap1 = {
1049
+ apply: (() => {
1050
+ const compare = dictOrd.compare;
1051
+ return m1 => m2 => unsafeIntersectionWith(compare, identity, m1, m2);
1052
+ })(),
1053
+ Functor0: () => functorMap
1054
+ };
1055
+ return {
1056
+ bind: m => f => mapMaybeWithKey(dictOrd)(k => {
1057
+ const go = go$a0$copy => {
1058
+ let go$a0 = go$a0$copy, go$c = true, go$r;
1059
+ while (go$c) {
1060
+ const v = go$a0;
1061
+ if (v.tag === "Leaf") {
1062
+ go$c = false;
1063
+ go$r = Data$dMaybe.Nothing;
1064
+ continue;
1065
+ }
1066
+ if (v.tag === "Node") {
1067
+ const v1 = dictOrd.compare(k)(v._3);
1068
+ if (v1 === "LT") {
1069
+ go$a0 = v._5;
1070
+ continue;
1071
+ }
1072
+ if (v1 === "GT") {
1073
+ go$a0 = v._6;
1074
+ continue;
1075
+ }
1076
+ if (v1 === "EQ") {
1077
+ go$c = false;
1078
+ go$r = Data$dMaybe.$Maybe("Just", v._4);
1079
+ continue;
1080
+ }
1081
+ }
1082
+ $runtime.fail();
1083
+ }
1084
+ return go$r;
1085
+ };
1086
+ return x => go(f(x));
1087
+ })(m),
1088
+ Apply0: () => applyMap1
1089
+ };
1090
+ };
1091
+ const alter = dictOrd => {
1092
+ const compare = dictOrd.compare;
1093
+ return f => k => m => {
1094
+ const v = unsafeSplit(compare, k, m);
1095
+ const v2 = f(v._1);
1096
+ if (v2.tag === "Nothing") { return unsafeJoinNodes(v._2, v._3); }
1097
+ if (v2.tag === "Just") { return unsafeBalancedNode(k, v2._1, v._2, v._3); }
1098
+ $runtime.fail();
1099
+ };
1100
+ };
1101
+ const altMap = dictOrd => (
1102
+ {
1103
+ alt: (() => {
1104
+ const compare = dictOrd.compare;
1105
+ return m1 => m2 => unsafeUnionWith(compare, Data$dFunction.const, m1, m2);
1106
+ })(),
1107
+ Functor0: () => functorMap
1108
+ }
1109
+ );
1110
+ const plusMap = dictOrd => {
1111
+ const altMap1 = {
1112
+ alt: (() => {
1113
+ const compare = dictOrd.compare;
1114
+ return m1 => m2 => unsafeUnionWith(compare, Data$dFunction.const, m1, m2);
1115
+ })(),
1116
+ Functor0: () => functorMap
1117
+ };
1118
+ return {empty: Leaf, Alt0: () => altMap1};
1119
+ };
1120
+ export {
1121
+ $$$Map,
1122
+ $MapIter,
1123
+ $MapIterStep,
1124
+ $Split,
1125
+ $SplitLast,
1126
+ IterDone,
1127
+ IterEmit,
1128
+ IterLeaf,
1129
+ IterNext,
1130
+ IterNode,
1131
+ Leaf,
1132
+ Node,
1133
+ Split,
1134
+ SplitLast,
1135
+ altMap,
1136
+ alter,
1137
+ applyMap,
1138
+ bindMap,
1139
+ catMaybes,
1140
+ checkValid,
1141
+ $$delete as delete,
1142
+ difference,
1143
+ empty,
1144
+ eq1Map,
1145
+ eqMap,
1146
+ eqMapIter,
1147
+ filter,
1148
+ filterKeys,
1149
+ filterWithKey,
1150
+ findMax,
1151
+ findMin,
1152
+ foldSubmap,
1153
+ foldSubmapBy,
1154
+ foldableMap,
1155
+ foldableWithIndexMap,
1156
+ fromFoldable,
1157
+ fromFoldableWith,
1158
+ fromFoldableWithIndex,
1159
+ functorMap,
1160
+ functorWithIndexMap,
1161
+ identity,
1162
+ insert,
1163
+ insertWith,
1164
+ intersection,
1165
+ intersectionWith,
1166
+ isEmpty,
1167
+ isSubmap,
1168
+ keys,
1169
+ lookup,
1170
+ lookupGE,
1171
+ lookupGT,
1172
+ lookupLE,
1173
+ lookupLT,
1174
+ mapMaybe,
1175
+ mapMaybeWithKey,
1176
+ member,
1177
+ monoidSemigroupMap,
1178
+ ord1Map,
1179
+ ordMap,
1180
+ ordMapIter,
1181
+ plusMap,
1182
+ pop,
1183
+ semigroupMap,
1184
+ showMap,
1185
+ showTree,
1186
+ singleton,
1187
+ size,
1188
+ stepAsc,
1189
+ stepAscCps,
1190
+ stepDesc,
1191
+ stepDescCps,
1192
+ stepUnfoldr,
1193
+ stepUnfoldrUnordered,
1194
+ stepUnordered,
1195
+ stepUnorderedCps,
1196
+ submap,
1197
+ toMapIter,
1198
+ toUnfoldable,
1199
+ toUnfoldable1,
1200
+ toUnfoldableUnordered,
1201
+ traversableMap,
1202
+ traversableWithIndexMap,
1203
+ union,
1204
+ unionWith,
1205
+ unions,
1206
+ unsafeBalancedNode,
1207
+ unsafeDifference,
1208
+ unsafeIntersectionWith,
1209
+ unsafeJoinNodes,
1210
+ unsafeNode,
1211
+ unsafeSplit,
1212
+ unsafeSplitLast,
1213
+ unsafeUnionWith,
1214
+ update,
1215
+ values
1216
+ };