django-handyhelpers 0.3.19__py3-none-any.whl → 0.3.35__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (572) hide show
  1. {django_handyhelpers-0.3.19.dist-info → django_handyhelpers-0.3.35.dist-info}/METADATA +16 -6
  2. {django_handyhelpers-0.3.19.dist-info → django_handyhelpers-0.3.35.dist-info}/RECORD +563 -76
  3. {django_handyhelpers-0.3.19.dist-info → django_handyhelpers-0.3.35.dist-info}/WHEEL +1 -1
  4. handyhelpers/__init__.py +6 -6
  5. handyhelpers/forms.py +9 -1
  6. handyhelpers/mixins/form_mixins.py +61 -0
  7. handyhelpers/mixins/model_mixins.py +21 -0
  8. handyhelpers/mixins/serializer_mixins.py +35 -0
  9. handyhelpers/mixins/view_mixins.py +5 -2
  10. handyhelpers/serializers.py +23 -3
  11. handyhelpers/static/handyhelpers/css/table_sortable.css +17 -0
  12. handyhelpers/static/handyhelpers/js/sidebar.js +8 -4
  13. handyhelpers/static/handyhelpers/js/table_sortable.js +119 -0
  14. handyhelpers/static/node_modules/.bin/acorn +4 -0
  15. handyhelpers/static/node_modules/.bin/css-b64-images +13 -0
  16. handyhelpers/static/node_modules/.bin/esbuild +0 -0
  17. handyhelpers/static/node_modules/.bin/html-minifier-terser +308 -0
  18. handyhelpers/static/node_modules/.bin/minify +98 -0
  19. handyhelpers/static/node_modules/.bin/terser +21 -0
  20. handyhelpers/static/node_modules/.bin/uglifyjs +624 -0
  21. handyhelpers/static/node_modules/.package-lock.json +750 -0
  22. handyhelpers/static/node_modules/@esbuild/linux-x64/README.md +3 -0
  23. handyhelpers/static/node_modules/@esbuild/linux-x64/bin/esbuild +0 -0
  24. handyhelpers/static/node_modules/@esbuild/linux-x64/package.json +20 -0
  25. handyhelpers/static/node_modules/@jridgewell/gen-mapping/LICENSE +19 -0
  26. handyhelpers/static/node_modules/@jridgewell/gen-mapping/README.md +227 -0
  27. handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs +230 -0
  28. handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs.map +1 -0
  29. handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js +246 -0
  30. handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js.map +1 -0
  31. handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts +88 -0
  32. handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts +12 -0
  33. handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts +36 -0
  34. handyhelpers/static/node_modules/@jridgewell/gen-mapping/package.json +76 -0
  35. handyhelpers/static/node_modules/@jridgewell/resolve-uri/LICENSE +19 -0
  36. handyhelpers/static/node_modules/@jridgewell/resolve-uri/README.md +40 -0
  37. handyhelpers/static/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs +232 -0
  38. handyhelpers/static/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs.map +1 -0
  39. handyhelpers/static/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js +240 -0
  40. handyhelpers/static/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js.map +1 -0
  41. handyhelpers/static/node_modules/@jridgewell/resolve-uri/dist/types/resolve-uri.d.ts +4 -0
  42. handyhelpers/static/node_modules/@jridgewell/resolve-uri/package.json +69 -0
  43. handyhelpers/static/node_modules/@jridgewell/set-array/LICENSE +19 -0
  44. handyhelpers/static/node_modules/@jridgewell/set-array/README.md +37 -0
  45. handyhelpers/static/node_modules/@jridgewell/set-array/dist/set-array.mjs +69 -0
  46. handyhelpers/static/node_modules/@jridgewell/set-array/dist/set-array.mjs.map +1 -0
  47. handyhelpers/static/node_modules/@jridgewell/set-array/dist/set-array.umd.js +83 -0
  48. handyhelpers/static/node_modules/@jridgewell/set-array/dist/set-array.umd.js.map +1 -0
  49. handyhelpers/static/node_modules/@jridgewell/set-array/dist/types/set-array.d.ts +32 -0
  50. handyhelpers/static/node_modules/@jridgewell/set-array/package.json +65 -0
  51. handyhelpers/static/node_modules/@jridgewell/source-map/LICENSE +19 -0
  52. handyhelpers/static/node_modules/@jridgewell/source-map/README.md +184 -0
  53. handyhelpers/static/node_modules/@jridgewell/source-map/dist/source-map.cjs +95 -0
  54. handyhelpers/static/node_modules/@jridgewell/source-map/dist/source-map.cjs.map +1 -0
  55. handyhelpers/static/node_modules/@jridgewell/source-map/dist/source-map.mjs +90 -0
  56. handyhelpers/static/node_modules/@jridgewell/source-map/dist/source-map.mjs.map +1 -0
  57. handyhelpers/static/node_modules/@jridgewell/source-map/dist/source-map.umd.js +1242 -0
  58. handyhelpers/static/node_modules/@jridgewell/source-map/dist/source-map.umd.js.map +1 -0
  59. handyhelpers/static/node_modules/@jridgewell/source-map/dist/types/source-map.d.ts +35 -0
  60. handyhelpers/static/node_modules/@jridgewell/source-map/package.json +71 -0
  61. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/LICENSE +21 -0
  62. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/README.md +264 -0
  63. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +424 -0
  64. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +1 -0
  65. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +439 -0
  66. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +1 -0
  67. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/types/scopes.d.ts +49 -0
  68. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/types/sourcemap-codec.d.ts +8 -0
  69. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/types/strings.d.ts +15 -0
  70. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/types/vlq.d.ts +6 -0
  71. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/package.json +75 -0
  72. handyhelpers/static/node_modules/@jridgewell/trace-mapping/LICENSE +19 -0
  73. handyhelpers/static/node_modules/@jridgewell/trace-mapping/README.md +257 -0
  74. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs +580 -0
  75. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +1 -0
  76. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js +600 -0
  77. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +1 -0
  78. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/any-map.d.ts +8 -0
  79. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/binary-search.d.ts +32 -0
  80. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/by-source.d.ts +7 -0
  81. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/resolve.d.ts +1 -0
  82. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/sort.d.ts +2 -0
  83. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts +16 -0
  84. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/strip-filename.d.ts +4 -0
  85. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts +79 -0
  86. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/types.d.ts +99 -0
  87. handyhelpers/static/node_modules/@jridgewell/trace-mapping/package.json +77 -0
  88. handyhelpers/static/node_modules/@popperjs/core/dist/cjs/enums.js +1 -1
  89. handyhelpers/static/node_modules/@popperjs/core/dist/cjs/popper-base.js +12 -170
  90. handyhelpers/static/node_modules/@popperjs/core/dist/cjs/popper-base.js.map +1 -1
  91. handyhelpers/static/node_modules/@popperjs/core/dist/cjs/popper-lite.js +14 -184
  92. handyhelpers/static/node_modules/@popperjs/core/dist/cjs/popper-lite.js.map +1 -1
  93. handyhelpers/static/node_modules/@popperjs/core/dist/cjs/popper.js +14 -197
  94. handyhelpers/static/node_modules/@popperjs/core/dist/cjs/popper.js.map +1 -1
  95. handyhelpers/static/node_modules/@popperjs/core/dist/esm/createPopper.js +6 -66
  96. handyhelpers/static/node_modules/@popperjs/core/dist/esm/modifiers/arrow.js +1 -12
  97. handyhelpers/static/node_modules/@popperjs/core/dist/esm/modifiers/computeStyles.js +2 -14
  98. handyhelpers/static/node_modules/@popperjs/core/dist/esm/utils/computeAutoPlacement.js +0 -4
  99. handyhelpers/static/node_modules/@popperjs/core/dist/esm/utils/userAgent.js +1 -1
  100. handyhelpers/static/node_modules/@popperjs/core/dist/umd/enums.js +1 -1
  101. handyhelpers/static/node_modules/@popperjs/core/dist/umd/enums.min.js +1 -1
  102. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-base.js +12 -170
  103. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-base.js.map +1 -1
  104. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-base.min.js +2 -2
  105. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-base.min.js.map +1 -1
  106. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-lite.js +14 -184
  107. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-lite.js.map +1 -1
  108. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-lite.min.js +2 -2
  109. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-lite.min.js.map +1 -1
  110. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper.js +14 -197
  111. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper.js.map +1 -1
  112. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper.min.js +2 -2
  113. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper.min.js.map +1 -1
  114. handyhelpers/static/node_modules/@popperjs/core/lib/createPopper.js +6 -66
  115. handyhelpers/static/node_modules/@popperjs/core/lib/createPopper.js.flow +2 -80
  116. handyhelpers/static/node_modules/@popperjs/core/lib/modifiers/arrow.js +1 -12
  117. handyhelpers/static/node_modules/@popperjs/core/lib/modifiers/arrow.js.flow +0 -22
  118. handyhelpers/static/node_modules/@popperjs/core/lib/modifiers/computeStyles.js +2 -14
  119. handyhelpers/static/node_modules/@popperjs/core/lib/modifiers/computeStyles.js.flow +3 -33
  120. handyhelpers/static/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js +0 -4
  121. handyhelpers/static/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js.flow +0 -12
  122. handyhelpers/static/node_modules/@popperjs/core/lib/utils/userAgent.js +1 -1
  123. handyhelpers/static/node_modules/@popperjs/core/lib/utils/userAgent.js.flow +1 -1
  124. handyhelpers/static/node_modules/@popperjs/core/package.json +1 -1
  125. handyhelpers/static/node_modules/@putout/minify/LICENSE +21 -0
  126. handyhelpers/static/node_modules/@putout/minify/README.md +110 -0
  127. handyhelpers/static/node_modules/@putout/minify/bundle/minify.min.js +52 -0
  128. handyhelpers/static/node_modules/@putout/minify/package.json +112 -0
  129. handyhelpers/static/node_modules/@swc/core/Visitor.d.ts +218 -0
  130. handyhelpers/static/node_modules/@swc/core/Visitor.js +1407 -0
  131. handyhelpers/static/node_modules/@swc/core/binding.d.ts +56 -0
  132. handyhelpers/static/node_modules/@swc/core/binding.js +351 -0
  133. handyhelpers/static/node_modules/@swc/core/index.d.ts +118 -0
  134. handyhelpers/static/node_modules/@swc/core/index.js +439 -0
  135. handyhelpers/static/node_modules/@swc/core/package.json +114 -0
  136. handyhelpers/static/node_modules/@swc/core/postinstall.js +148 -0
  137. handyhelpers/static/node_modules/@swc/core/spack.d.ts +51 -0
  138. handyhelpers/static/node_modules/@swc/core/spack.js +87 -0
  139. handyhelpers/static/node_modules/@swc/core/util.d.ts +1 -0
  140. handyhelpers/static/node_modules/@swc/core/util.js +104 -0
  141. handyhelpers/static/node_modules/@swc/core-linux-x64-gnu/README.md +3 -0
  142. handyhelpers/static/node_modules/@swc/core-linux-x64-gnu/package.json +45 -0
  143. handyhelpers/static/node_modules/@swc/core-linux-x64-gnu/swc.linux-x64-gnu.node +0 -0
  144. handyhelpers/static/node_modules/@swc/counter/CHANGELOG.md +7 -0
  145. handyhelpers/static/node_modules/@swc/counter/README.md +7 -0
  146. handyhelpers/static/node_modules/@swc/counter/index.js +1 -0
  147. handyhelpers/static/node_modules/@swc/counter/package.json +27 -0
  148. handyhelpers/static/node_modules/@swc/types/LICENSE +201 -0
  149. handyhelpers/static/node_modules/@swc/types/README.md +4 -0
  150. handyhelpers/static/node_modules/@swc/types/assumptions.d.ts +92 -0
  151. handyhelpers/static/node_modules/@swc/types/assumptions.js +2 -0
  152. handyhelpers/static/node_modules/@swc/types/index.d.ts +1977 -0
  153. handyhelpers/static/node_modules/@swc/types/index.js +2 -0
  154. handyhelpers/static/node_modules/@swc/types/package.json +39 -0
  155. handyhelpers/static/node_modules/acorn/CHANGELOG.md +928 -0
  156. handyhelpers/static/node_modules/acorn/LICENSE +21 -0
  157. handyhelpers/static/node_modules/acorn/README.md +282 -0
  158. handyhelpers/static/node_modules/acorn/bin/acorn +4 -0
  159. handyhelpers/static/node_modules/acorn/dist/acorn.d.mts +866 -0
  160. handyhelpers/static/node_modules/acorn/dist/acorn.d.ts +866 -0
  161. handyhelpers/static/node_modules/acorn/dist/acorn.js +6174 -0
  162. handyhelpers/static/node_modules/acorn/dist/acorn.mjs +6145 -0
  163. handyhelpers/static/node_modules/acorn/dist/bin.js +90 -0
  164. handyhelpers/static/node_modules/acorn/package.json +50 -0
  165. handyhelpers/static/node_modules/buffer-from/LICENSE +21 -0
  166. handyhelpers/static/node_modules/buffer-from/index.js +72 -0
  167. handyhelpers/static/node_modules/buffer-from/package.json +19 -0
  168. handyhelpers/static/node_modules/buffer-from/readme.md +69 -0
  169. handyhelpers/static/node_modules/camel-case/LICENSE +21 -0
  170. handyhelpers/static/node_modules/camel-case/README.md +47 -0
  171. handyhelpers/static/node_modules/camel-case/dist/index.d.ts +5 -0
  172. handyhelpers/static/node_modules/camel-case/dist/index.js +23 -0
  173. handyhelpers/static/node_modules/camel-case/dist/index.js.map +1 -0
  174. handyhelpers/static/node_modules/camel-case/dist/index.spec.d.ts +1 -0
  175. handyhelpers/static/node_modules/camel-case/dist/index.spec.js +26 -0
  176. handyhelpers/static/node_modules/camel-case/dist/index.spec.js.map +1 -0
  177. handyhelpers/static/node_modules/camel-case/dist.es2015/index.d.ts +5 -0
  178. handyhelpers/static/node_modules/camel-case/dist.es2015/index.js +17 -0
  179. handyhelpers/static/node_modules/camel-case/dist.es2015/index.js.map +1 -0
  180. handyhelpers/static/node_modules/camel-case/dist.es2015/index.spec.d.ts +1 -0
  181. handyhelpers/static/node_modules/camel-case/dist.es2015/index.spec.js +24 -0
  182. handyhelpers/static/node_modules/camel-case/dist.es2015/index.spec.js.map +1 -0
  183. handyhelpers/static/node_modules/camel-case/package.json +89 -0
  184. handyhelpers/static/node_modules/clean-css/History.md +1504 -0
  185. handyhelpers/static/node_modules/clean-css/LICENSE +19 -0
  186. handyhelpers/static/node_modules/clean-css/README.md +987 -0
  187. handyhelpers/static/node_modules/clean-css/index.js +1 -0
  188. handyhelpers/static/node_modules/clean-css/package.json +48 -0
  189. handyhelpers/static/node_modules/commander/LICENSE +22 -0
  190. handyhelpers/static/node_modules/commander/Readme.md +1134 -0
  191. handyhelpers/static/node_modules/commander/esm.mjs +16 -0
  192. handyhelpers/static/node_modules/commander/index.js +27 -0
  193. handyhelpers/static/node_modules/commander/package-support.json +16 -0
  194. handyhelpers/static/node_modules/commander/package.json +80 -0
  195. handyhelpers/static/node_modules/commander/typings/index.d.ts +889 -0
  196. handyhelpers/static/node_modules/css-b64-images/.npmignore +15 -0
  197. handyhelpers/static/node_modules/css-b64-images/.travis.yml +5 -0
  198. handyhelpers/static/node_modules/css-b64-images/README.md +78 -0
  199. handyhelpers/static/node_modules/css-b64-images/bin/css-b64-images +13 -0
  200. handyhelpers/static/node_modules/css-b64-images/draft.png +0 -0
  201. handyhelpers/static/node_modules/css-b64-images/draft.xcf +0 -0
  202. handyhelpers/static/node_modules/css-b64-images/package.json +30 -0
  203. handyhelpers/static/node_modules/css-b64-images/test/css-b64-images-test.js +38 -0
  204. handyhelpers/static/node_modules/css-b64-images/test/fixture/css/style.css +52 -0
  205. handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/callunasansregular-webfont.eot +0 -0
  206. handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/callunasansregular-webfont.svg +248 -0
  207. handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/callunasansregular-webfont.ttf +0 -0
  208. handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/callunasansregular-webfont.woff +0 -0
  209. handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/maven_pro_medium-webfont.eot +0 -0
  210. handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/maven_pro_medium-webfont.svg +245 -0
  211. handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/maven_pro_medium-webfont.ttf +0 -0
  212. handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/maven_pro_medium-webfont.woff +0 -0
  213. handyhelpers/static/node_modules/css-b64-images/test/fixture/img/background-pattern.gif +0 -0
  214. handyhelpers/static/node_modules/css-b64-images/test/fixture/img/dots.svg +6 -0
  215. handyhelpers/static/node_modules/css-b64-images/test/fixture/img/mixit-banner.png +0 -0
  216. handyhelpers/static/node_modules/debug/LICENSE +20 -0
  217. handyhelpers/static/node_modules/debug/README.md +481 -0
  218. handyhelpers/static/node_modules/debug/package.json +65 -0
  219. handyhelpers/static/node_modules/debug/src/browser.js +272 -0
  220. handyhelpers/static/node_modules/debug/src/common.js +292 -0
  221. handyhelpers/static/node_modules/debug/src/index.js +10 -0
  222. handyhelpers/static/node_modules/debug/src/node.js +263 -0
  223. handyhelpers/static/node_modules/dot-case/LICENSE +21 -0
  224. handyhelpers/static/node_modules/dot-case/README.md +37 -0
  225. handyhelpers/static/node_modules/dot-case/dist/index.d.ts +3 -0
  226. handyhelpers/static/node_modules/dot-case/dist/index.js +11 -0
  227. handyhelpers/static/node_modules/dot-case/dist/index.js.map +1 -0
  228. handyhelpers/static/node_modules/dot-case/dist/index.spec.d.ts +1 -0
  229. handyhelpers/static/node_modules/dot-case/dist/index.spec.js +26 -0
  230. handyhelpers/static/node_modules/dot-case/dist/index.spec.js.map +1 -0
  231. handyhelpers/static/node_modules/dot-case/dist.es2015/index.d.ts +3 -0
  232. handyhelpers/static/node_modules/dot-case/dist.es2015/index.js +7 -0
  233. handyhelpers/static/node_modules/dot-case/dist.es2015/index.js.map +1 -0
  234. handyhelpers/static/node_modules/dot-case/dist.es2015/index.spec.d.ts +1 -0
  235. handyhelpers/static/node_modules/dot-case/dist.es2015/index.spec.js +24 -0
  236. handyhelpers/static/node_modules/dot-case/dist.es2015/index.spec.js.map +1 -0
  237. handyhelpers/static/node_modules/dot-case/package.json +89 -0
  238. handyhelpers/static/node_modules/entities/LICENSE +11 -0
  239. handyhelpers/static/node_modules/entities/package.json +90 -0
  240. handyhelpers/static/node_modules/entities/readme.md +122 -0
  241. handyhelpers/static/node_modules/esbuild/LICENSE.md +21 -0
  242. handyhelpers/static/node_modules/esbuild/README.md +3 -0
  243. handyhelpers/static/node_modules/esbuild/bin/esbuild +0 -0
  244. handyhelpers/static/node_modules/esbuild/install.js +286 -0
  245. handyhelpers/static/node_modules/esbuild/package.json +47 -0
  246. handyhelpers/static/node_modules/find-up/index.d.ts +247 -0
  247. handyhelpers/static/node_modules/find-up/index.js +107 -0
  248. handyhelpers/static/node_modules/find-up/license +9 -0
  249. handyhelpers/static/node_modules/find-up/package.json +61 -0
  250. handyhelpers/static/node_modules/find-up/readme.md +160 -0
  251. handyhelpers/static/node_modules/fun-effects/LICENSE +674 -0
  252. handyhelpers/static/node_modules/fun-effects/README.md +10 -0
  253. handyhelpers/static/node_modules/fun-effects/dist/css/background_icons.min.css +1 -0
  254. handyhelpers/static/node_modules/fun-effects/dist/css/blur_group.min.css +1 -0
  255. handyhelpers/static/node_modules/fun-effects/dist/css/fades.min.css +1 -0
  256. handyhelpers/static/node_modules/fun-effects/dist/css/marquee.min.css +1 -0
  257. handyhelpers/static/node_modules/fun-effects/dist/css/scroller.min.css +1 -0
  258. handyhelpers/static/node_modules/fun-effects/dist/index.js +15 -0
  259. handyhelpers/static/node_modules/fun-effects/dist/js/background_icons.min.js +1 -0
  260. handyhelpers/static/node_modules/fun-effects/dist/js/marquee.min.js +1 -0
  261. handyhelpers/static/node_modules/fun-effects/dist/js/scroller.min.js +1 -0
  262. handyhelpers/static/node_modules/fun-effects/package.json +39 -0
  263. handyhelpers/static/node_modules/fun-effects/src/css/background_icons.css +39 -0
  264. handyhelpers/static/node_modules/fun-effects/src/css/blur_group.css +22 -0
  265. handyhelpers/static/node_modules/fun-effects/src/css/fades.css +94 -0
  266. handyhelpers/static/node_modules/fun-effects/src/css/marquee.css +45 -0
  267. handyhelpers/static/node_modules/fun-effects/src/css/scroller.css +144 -0
  268. handyhelpers/static/node_modules/fun-effects/src/index.js +15 -0
  269. handyhelpers/static/node_modules/fun-effects/src/js/background_icons.js +101 -0
  270. handyhelpers/static/node_modules/fun-effects/src/js/marquee.js +81 -0
  271. handyhelpers/static/node_modules/fun-effects/src/js/scroller.js +37 -0
  272. handyhelpers/static/node_modules/html-minifier-terser/LICENSE +22 -0
  273. handyhelpers/static/node_modules/html-minifier-terser/README.md +168 -0
  274. handyhelpers/static/node_modules/html-minifier-terser/cli.js +308 -0
  275. handyhelpers/static/node_modules/html-minifier-terser/dist/htmlminifier.cjs +1857 -0
  276. handyhelpers/static/node_modules/html-minifier-terser/dist/htmlminifier.esm.bundle.js +57509 -0
  277. handyhelpers/static/node_modules/html-minifier-terser/dist/htmlminifier.umd.bundle.js +57520 -0
  278. handyhelpers/static/node_modules/html-minifier-terser/dist/htmlminifier.umd.bundle.min.js +9 -0
  279. handyhelpers/static/node_modules/html-minifier-terser/package.json +105 -0
  280. handyhelpers/static/node_modules/html-minifier-terser/src/htmlminifier.js +1366 -0
  281. handyhelpers/static/node_modules/html-minifier-terser/src/htmlparser.js +565 -0
  282. handyhelpers/static/node_modules/html-minifier-terser/src/tokenchain.js +68 -0
  283. handyhelpers/static/node_modules/html-minifier-terser/src/utils.js +11 -0
  284. handyhelpers/static/node_modules/jju/LICENSE +21 -0
  285. handyhelpers/static/node_modules/jju/Makefile +20 -0
  286. handyhelpers/static/node_modules/jju/README.md +249 -0
  287. handyhelpers/static/node_modules/jju/index.js +32 -0
  288. handyhelpers/static/node_modules/jju/package.json +34 -0
  289. handyhelpers/static/node_modules/jju/package.yaml +36 -0
  290. handyhelpers/static/node_modules/locate-path/index.d.ts +92 -0
  291. handyhelpers/static/node_modules/locate-path/index.js +77 -0
  292. handyhelpers/static/node_modules/locate-path/license +9 -0
  293. handyhelpers/static/node_modules/locate-path/package.json +48 -0
  294. handyhelpers/static/node_modules/locate-path/readme.md +123 -0
  295. handyhelpers/static/node_modules/lower-case/LICENSE +21 -0
  296. handyhelpers/static/node_modules/lower-case/README.md +35 -0
  297. handyhelpers/static/node_modules/lower-case/dist/index.d.ts +8 -0
  298. handyhelpers/static/node_modules/lower-case/dist/index.js +53 -0
  299. handyhelpers/static/node_modules/lower-case/dist/index.js.map +1 -0
  300. handyhelpers/static/node_modules/lower-case/dist/index.spec.d.ts +1 -0
  301. handyhelpers/static/node_modules/lower-case/dist/index.spec.js +36 -0
  302. handyhelpers/static/node_modules/lower-case/dist/index.spec.js.map +1 -0
  303. handyhelpers/static/node_modules/lower-case/dist.es2015/index.d.ts +8 -0
  304. handyhelpers/static/node_modules/lower-case/dist.es2015/index.js +48 -0
  305. handyhelpers/static/node_modules/lower-case/dist.es2015/index.js.map +1 -0
  306. handyhelpers/static/node_modules/lower-case/dist.es2015/index.spec.d.ts +1 -0
  307. handyhelpers/static/node_modules/lower-case/dist.es2015/index.spec.js +34 -0
  308. handyhelpers/static/node_modules/lower-case/dist.es2015/index.spec.js.map +1 -0
  309. handyhelpers/static/node_modules/lower-case/package.json +87 -0
  310. handyhelpers/static/node_modules/minify/ChangeLog +1307 -0
  311. handyhelpers/static/node_modules/minify/LICENSE +22 -0
  312. handyhelpers/static/node_modules/minify/README.md +177 -0
  313. handyhelpers/static/node_modules/minify/bin/minify.js +98 -0
  314. handyhelpers/static/node_modules/minify/deno.json +5 -0
  315. handyhelpers/static/node_modules/minify/help.json +8 -0
  316. handyhelpers/static/node_modules/minify/package.json +65 -0
  317. handyhelpers/static/node_modules/ms/index.js +162 -0
  318. handyhelpers/static/node_modules/ms/license.md +21 -0
  319. handyhelpers/static/node_modules/ms/package.json +38 -0
  320. handyhelpers/static/node_modules/ms/readme.md +59 -0
  321. handyhelpers/static/node_modules/no-case/LICENSE +21 -0
  322. handyhelpers/static/node_modules/no-case/README.md +37 -0
  323. handyhelpers/static/node_modules/no-case/dist/index.d.ts +10 -0
  324. handyhelpers/static/node_modules/no-case/dist/index.js +35 -0
  325. handyhelpers/static/node_modules/no-case/dist/index.js.map +1 -0
  326. handyhelpers/static/node_modules/no-case/dist/index.spec.d.ts +1 -0
  327. handyhelpers/static/node_modules/no-case/dist/index.spec.js +59 -0
  328. handyhelpers/static/node_modules/no-case/dist/index.spec.js.map +1 -0
  329. handyhelpers/static/node_modules/no-case/dist.es2015/index.d.ts +10 -0
  330. handyhelpers/static/node_modules/no-case/dist.es2015/index.js +31 -0
  331. handyhelpers/static/node_modules/no-case/dist.es2015/index.js.map +1 -0
  332. handyhelpers/static/node_modules/no-case/dist.es2015/index.spec.d.ts +1 -0
  333. handyhelpers/static/node_modules/no-case/dist.es2015/index.spec.js +57 -0
  334. handyhelpers/static/node_modules/no-case/dist.es2015/index.spec.js.map +1 -0
  335. handyhelpers/static/node_modules/no-case/package.json +85 -0
  336. handyhelpers/static/node_modules/p-limit/index.d.ts +40 -0
  337. handyhelpers/static/node_modules/p-limit/index.js +68 -0
  338. handyhelpers/static/node_modules/p-limit/license +9 -0
  339. handyhelpers/static/node_modules/p-limit/package.json +54 -0
  340. handyhelpers/static/node_modules/p-limit/readme.md +99 -0
  341. handyhelpers/static/node_modules/p-locate/index.d.ts +49 -0
  342. handyhelpers/static/node_modules/p-locate/index.js +48 -0
  343. handyhelpers/static/node_modules/p-locate/license +9 -0
  344. handyhelpers/static/node_modules/p-locate/package.json +56 -0
  345. handyhelpers/static/node_modules/p-locate/readme.md +91 -0
  346. handyhelpers/static/node_modules/param-case/LICENSE +21 -0
  347. handyhelpers/static/node_modules/param-case/README.md +37 -0
  348. handyhelpers/static/node_modules/param-case/dist/index.d.ts +3 -0
  349. handyhelpers/static/node_modules/param-case/dist/index.js +11 -0
  350. handyhelpers/static/node_modules/param-case/dist/index.js.map +1 -0
  351. handyhelpers/static/node_modules/param-case/dist/index.spec.d.ts +1 -0
  352. handyhelpers/static/node_modules/param-case/dist/index.spec.js +24 -0
  353. handyhelpers/static/node_modules/param-case/dist/index.spec.js.map +1 -0
  354. handyhelpers/static/node_modules/param-case/dist.es2015/index.d.ts +3 -0
  355. handyhelpers/static/node_modules/param-case/dist.es2015/index.js +7 -0
  356. handyhelpers/static/node_modules/param-case/dist.es2015/index.js.map +1 -0
  357. handyhelpers/static/node_modules/param-case/dist.es2015/index.spec.d.ts +1 -0
  358. handyhelpers/static/node_modules/param-case/dist.es2015/index.spec.js +22 -0
  359. handyhelpers/static/node_modules/param-case/dist.es2015/index.spec.js.map +1 -0
  360. handyhelpers/static/node_modules/param-case/package.json +91 -0
  361. handyhelpers/static/node_modules/pascal-case/LICENSE +21 -0
  362. handyhelpers/static/node_modules/pascal-case/README.md +47 -0
  363. handyhelpers/static/node_modules/pascal-case/dist/index.d.ts +5 -0
  364. handyhelpers/static/node_modules/pascal-case/dist/index.js +24 -0
  365. handyhelpers/static/node_modules/pascal-case/dist/index.js.map +1 -0
  366. handyhelpers/static/node_modules/pascal-case/dist/index.spec.d.ts +1 -0
  367. handyhelpers/static/node_modules/pascal-case/dist/index.spec.js +25 -0
  368. handyhelpers/static/node_modules/pascal-case/dist/index.spec.js.map +1 -0
  369. handyhelpers/static/node_modules/pascal-case/dist.es2015/index.d.ts +5 -0
  370. handyhelpers/static/node_modules/pascal-case/dist.es2015/index.js +18 -0
  371. handyhelpers/static/node_modules/pascal-case/dist.es2015/index.js.map +1 -0
  372. handyhelpers/static/node_modules/pascal-case/dist.es2015/index.spec.d.ts +1 -0
  373. handyhelpers/static/node_modules/pascal-case/dist.es2015/index.spec.js +23 -0
  374. handyhelpers/static/node_modules/pascal-case/dist.es2015/index.spec.js.map +1 -0
  375. handyhelpers/static/node_modules/pascal-case/package.json +90 -0
  376. handyhelpers/static/node_modules/path-exists/index.d.ts +31 -0
  377. handyhelpers/static/node_modules/path-exists/index.js +19 -0
  378. handyhelpers/static/node_modules/path-exists/license +9 -0
  379. handyhelpers/static/node_modules/path-exists/package.json +41 -0
  380. handyhelpers/static/node_modules/path-exists/readme.md +52 -0
  381. handyhelpers/static/node_modules/readjson/ChangeLog +110 -0
  382. handyhelpers/static/node_modules/readjson/LICENSE +21 -0
  383. handyhelpers/static/node_modules/readjson/README.md +36 -0
  384. handyhelpers/static/node_modules/readjson/package.json +46 -0
  385. handyhelpers/static/node_modules/relateurl/README.md +159 -0
  386. handyhelpers/static/node_modules/relateurl/license +21 -0
  387. handyhelpers/static/node_modules/relateurl/package.json +46 -0
  388. handyhelpers/static/node_modules/simport/ChangeLog +77 -0
  389. handyhelpers/static/node_modules/simport/LICENSE +21 -0
  390. handyhelpers/static/node_modules/simport/README.md +81 -0
  391. handyhelpers/static/node_modules/simport/fixture/context.js +3 -0
  392. handyhelpers/static/node_modules/simport/fixture/default-frozen-function.mjs +2 -0
  393. handyhelpers/static/node_modules/simport/fixture/default-frozen-object.mjs +2 -0
  394. handyhelpers/static/node_modules/simport/package.json +65 -0
  395. handyhelpers/static/node_modules/simport/simport.js +84 -0
  396. handyhelpers/static/node_modules/simport/simport.mjs +22 -0
  397. handyhelpers/static/node_modules/source-map/CHANGELOG.md +301 -0
  398. handyhelpers/static/node_modules/source-map/LICENSE +28 -0
  399. handyhelpers/static/node_modules/source-map/README.md +742 -0
  400. handyhelpers/static/node_modules/source-map/dist/source-map.debug.js +3234 -0
  401. handyhelpers/static/node_modules/source-map/dist/source-map.js +3233 -0
  402. handyhelpers/static/node_modules/source-map/dist/source-map.min.js +2 -0
  403. handyhelpers/static/node_modules/source-map/dist/source-map.min.js.map +1 -0
  404. handyhelpers/static/node_modules/source-map/package.json +73 -0
  405. handyhelpers/static/node_modules/source-map/source-map.d.ts +98 -0
  406. handyhelpers/static/node_modules/source-map/source-map.js +8 -0
  407. handyhelpers/static/node_modules/source-map-support/LICENSE.md +21 -0
  408. handyhelpers/static/node_modules/source-map-support/README.md +284 -0
  409. handyhelpers/static/node_modules/source-map-support/browser-source-map-support.js +114 -0
  410. handyhelpers/static/node_modules/source-map-support/package.json +31 -0
  411. handyhelpers/static/node_modules/source-map-support/register-hook-require.js +1 -0
  412. handyhelpers/static/node_modules/source-map-support/register.js +1 -0
  413. handyhelpers/static/node_modules/source-map-support/source-map-support.js +625 -0
  414. handyhelpers/static/node_modules/terser/CHANGELOG.md +783 -0
  415. handyhelpers/static/node_modules/terser/LICENSE +27 -0
  416. handyhelpers/static/node_modules/terser/PATRONS.md +15 -0
  417. handyhelpers/static/node_modules/terser/README.md +1421 -0
  418. handyhelpers/static/node_modules/terser/bin/package.json +10 -0
  419. handyhelpers/static/node_modules/terser/bin/terser +21 -0
  420. handyhelpers/static/node_modules/terser/bin/uglifyjs +10 -0
  421. handyhelpers/static/node_modules/terser/dist/.gitkeep +0 -0
  422. handyhelpers/static/node_modules/terser/dist/bundle.min.js +32962 -0
  423. handyhelpers/static/node_modules/terser/dist/package.json +10 -0
  424. handyhelpers/static/node_modules/terser/main.js +27 -0
  425. handyhelpers/static/node_modules/terser/node_modules/commander/CHANGELOG.md +419 -0
  426. handyhelpers/static/node_modules/terser/node_modules/commander/LICENSE +22 -0
  427. handyhelpers/static/node_modules/terser/node_modules/commander/Readme.md +428 -0
  428. handyhelpers/static/node_modules/terser/node_modules/commander/index.js +1224 -0
  429. handyhelpers/static/node_modules/terser/node_modules/commander/package.json +38 -0
  430. handyhelpers/static/node_modules/terser/node_modules/commander/typings/index.d.ts +310 -0
  431. handyhelpers/static/node_modules/terser/package.json +153 -0
  432. handyhelpers/static/node_modules/terser/tools/domprops.js +9026 -0
  433. handyhelpers/static/node_modules/terser/tools/exit.cjs +7 -0
  434. handyhelpers/static/node_modules/terser/tools/props.html +68 -0
  435. handyhelpers/static/node_modules/terser/tools/terser.d.ts +216 -0
  436. handyhelpers/static/node_modules/tippy.js/LICENSE +21 -0
  437. handyhelpers/static/node_modules/tippy.js/README.md +63 -0
  438. handyhelpers/static/node_modules/tippy.js/animations/perspective-extreme.css +1 -0
  439. handyhelpers/static/node_modules/tippy.js/animations/perspective-subtle.css +1 -0
  440. handyhelpers/static/node_modules/tippy.js/animations/perspective.css +1 -0
  441. handyhelpers/static/node_modules/tippy.js/animations/scale-extreme.css +1 -0
  442. handyhelpers/static/node_modules/tippy.js/animations/scale-subtle.css +1 -0
  443. handyhelpers/static/node_modules/tippy.js/animations/scale.css +1 -0
  444. handyhelpers/static/node_modules/tippy.js/animations/shift-away-extreme.css +1 -0
  445. handyhelpers/static/node_modules/tippy.js/animations/shift-away-subtle.css +1 -0
  446. handyhelpers/static/node_modules/tippy.js/animations/shift-away.css +1 -0
  447. handyhelpers/static/node_modules/tippy.js/animations/shift-toward-extreme.css +1 -0
  448. handyhelpers/static/node_modules/tippy.js/animations/shift-toward-subtle.css +1 -0
  449. handyhelpers/static/node_modules/tippy.js/animations/shift-toward.css +1 -0
  450. handyhelpers/static/node_modules/tippy.js/dist/backdrop.css +1 -0
  451. handyhelpers/static/node_modules/tippy.js/dist/border.css +1 -0
  452. handyhelpers/static/node_modules/tippy.js/dist/svg-arrow.css +1 -0
  453. handyhelpers/static/node_modules/tippy.js/dist/tippy-bundle.umd.js +2516 -0
  454. handyhelpers/static/node_modules/tippy.js/dist/tippy-bundle.umd.js.map +1 -0
  455. handyhelpers/static/node_modules/tippy.js/dist/tippy-bundle.umd.min.js +2 -0
  456. handyhelpers/static/node_modules/tippy.js/dist/tippy-bundle.umd.min.js.map +1 -0
  457. handyhelpers/static/node_modules/tippy.js/dist/tippy.cjs.js +2497 -0
  458. handyhelpers/static/node_modules/tippy.js/dist/tippy.cjs.js.map +1 -0
  459. handyhelpers/static/node_modules/tippy.js/dist/tippy.css +1 -0
  460. handyhelpers/static/node_modules/tippy.js/dist/tippy.esm.js +2486 -0
  461. handyhelpers/static/node_modules/tippy.js/dist/tippy.esm.js.map +1 -0
  462. handyhelpers/static/node_modules/tippy.js/dist/tippy.umd.js +2496 -0
  463. handyhelpers/static/node_modules/tippy.js/dist/tippy.umd.js.map +1 -0
  464. handyhelpers/static/node_modules/tippy.js/dist/tippy.umd.min.js +2 -0
  465. handyhelpers/static/node_modules/tippy.js/dist/tippy.umd.min.js.map +1 -0
  466. handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.cjs.js +2388 -0
  467. handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.cjs.js.map +1 -0
  468. handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.esm.js +2377 -0
  469. handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.esm.js.map +1 -0
  470. handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.umd.js +2382 -0
  471. handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.umd.js.map +1 -0
  472. handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.umd.min.js +2 -0
  473. handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.umd.min.js.map +1 -0
  474. handyhelpers/static/node_modules/tippy.js/headless/package.json +16 -0
  475. handyhelpers/static/node_modules/tippy.js/index.d.ts +260 -0
  476. handyhelpers/static/node_modules/tippy.js/package.json +157 -0
  477. handyhelpers/static/node_modules/tippy.js/themes/light-border.css +1 -0
  478. handyhelpers/static/node_modules/tippy.js/themes/light.css +1 -0
  479. handyhelpers/static/node_modules/tippy.js/themes/material.css +1 -0
  480. handyhelpers/static/node_modules/tippy.js/themes/translucent.css +1 -0
  481. handyhelpers/static/node_modules/try-catch/ChangeLog +55 -0
  482. handyhelpers/static/node_modules/try-catch/LICENSE +21 -0
  483. handyhelpers/static/node_modules/try-catch/README.md +38 -0
  484. handyhelpers/static/node_modules/try-catch/package.json +34 -0
  485. handyhelpers/static/node_modules/try-to-catch/ChangeLog +64 -0
  486. handyhelpers/static/node_modules/try-to-catch/LICENSE +21 -0
  487. handyhelpers/static/node_modules/try-to-catch/README.md +74 -0
  488. handyhelpers/static/node_modules/try-to-catch/package.json +47 -0
  489. handyhelpers/static/node_modules/tslib/CopyrightNotice.txt +15 -0
  490. handyhelpers/static/node_modules/tslib/LICENSE.txt +12 -0
  491. handyhelpers/static/node_modules/tslib/README.md +164 -0
  492. handyhelpers/static/node_modules/tslib/SECURITY.md +41 -0
  493. handyhelpers/static/node_modules/tslib/modules/index.d.ts +38 -0
  494. handyhelpers/static/node_modules/tslib/modules/index.js +70 -0
  495. handyhelpers/static/node_modules/tslib/modules/package.json +3 -0
  496. handyhelpers/static/node_modules/tslib/package.json +47 -0
  497. handyhelpers/static/node_modules/tslib/tslib.d.ts +460 -0
  498. handyhelpers/static/node_modules/tslib/tslib.es6.html +1 -0
  499. handyhelpers/static/node_modules/tslib/tslib.es6.js +402 -0
  500. handyhelpers/static/node_modules/tslib/tslib.es6.mjs +401 -0
  501. handyhelpers/static/node_modules/tslib/tslib.html +1 -0
  502. handyhelpers/static/node_modules/tslib/tslib.js +484 -0
  503. handyhelpers/static/node_modules/uglify-js/LICENSE +29 -0
  504. handyhelpers/static/node_modules/uglify-js/README.md +1479 -0
  505. handyhelpers/static/node_modules/uglify-js/bin/uglifyjs +624 -0
  506. handyhelpers/static/node_modules/uglify-js/package.json +56 -0
  507. handyhelpers/static/node_modules/uglify-js/tools/domprops.html +456 -0
  508. handyhelpers/static/node_modules/uglify-js/tools/domprops.json +8327 -0
  509. handyhelpers/static/node_modules/uglify-js/tools/exports.js +8 -0
  510. handyhelpers/static/node_modules/uglify-js/tools/node.js +115 -0
  511. handyhelpers/static/node_modules/uglify-js/tools/tty.js +22 -0
  512. handyhelpers/static/node_modules/unicorn-magic/default.js +14 -0
  513. handyhelpers/static/node_modules/unicorn-magic/index.d.ts +29 -0
  514. handyhelpers/static/node_modules/unicorn-magic/license +9 -0
  515. handyhelpers/static/node_modules/unicorn-magic/node.js +7 -0
  516. handyhelpers/static/node_modules/unicorn-magic/package.json +49 -0
  517. handyhelpers/static/node_modules/unicorn-magic/readme.md +25 -0
  518. handyhelpers/static/node_modules/yocto-queue/index.d.ts +61 -0
  519. handyhelpers/static/node_modules/yocto-queue/index.js +78 -0
  520. handyhelpers/static/node_modules/yocto-queue/license +9 -0
  521. handyhelpers/static/node_modules/yocto-queue/package.json +48 -0
  522. handyhelpers/static/node_modules/yocto-queue/readme.md +70 -0
  523. handyhelpers/static/package.json +3 -1
  524. handyhelpers/static/yarn.lock +393 -20
  525. handyhelpers/templates/handyhelpers/generic/bs5/generic_index.html +5 -8
  526. handyhelpers/templates/handyhelpers/handyhelpers_base_bs5.htm +5 -1
  527. handyhelpers/templates/handyhelpers/handyhelpers_with_sidebar.htm +50 -3
  528. handyhelpers/templates/handyhelpers/htmx/bs5/filter_form/generic_modal_swap.htm +48 -0
  529. handyhelpers/templates/handyhelpers/htmx/bs5/form/form_wrapper.htm +48 -0
  530. handyhelpers/templates/handyhelpers/htmx/bs5/form/inline_form.htm +166 -0
  531. handyhelpers/templates/handyhelpers/htmx/bs5/form/inline_form_disabled.htm +125 -0
  532. handyhelpers/templates/handyhelpers/htmx/bs5/generic_modal_swap.htm +2 -3
  533. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/content_title.htm +38 -0
  534. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/controls.htm +21 -0
  535. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/examples/card.htm +17 -0
  536. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/examples/list.htm +11 -0
  537. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/examples/table.htm +21 -0
  538. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/filter_form_modal_swap.htm +48 -0
  539. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/full.html +6 -0
  540. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/wrapper_card.htm +7 -0
  541. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/wrapper_list.htm +7 -0
  542. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/wrapper_minimal.htm +7 -0
  543. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/wrapper_table.htm +18 -0
  544. handyhelpers/templates/handyhelpers/htmx/bs5/index.htm +34 -0
  545. handyhelpers/templates/handyhelpers/partials/calendar.htm +1 -1
  546. handyhelpers/templates/handyhelpers/report/annual_stats.html +6 -0
  547. handyhelpers/templates/handyhelpers/report/annual_stats_content.htm +43 -0
  548. handyhelpers/templates/handyhelpers/report/chartjs/annual_progress_chart.htm +1 -1
  549. handyhelpers/templates/handyhelpers/report/chartjs/annual_progress_content.htm +40 -39
  550. handyhelpers/templates/handyhelpers/report/chartjs/annual_stats.html +25 -36
  551. handyhelpers/templates/handyhelpers/report/chartjs/annual_trends_content.htm +35 -34
  552. handyhelpers/templates/handyhelpers/report/chartjs/day_count_chart.htm +1 -1
  553. handyhelpers/templates/handyhelpers/report/chartjs/month_count_chart.htm +1 -1
  554. handyhelpers/templates/handyhelpers/report/chartjs/week_count_chart.htm +1 -1
  555. handyhelpers/templates/handyhelpers/report/chartjs/year_count_chart.htm +1 -1
  556. handyhelpers/templatetags/form_tags.py +47 -0
  557. handyhelpers/templatetags/htmx_tags.py +21 -0
  558. handyhelpers/views/action.py +3 -1
  559. handyhelpers/views/calendar.py +34 -14
  560. handyhelpers/views/htmx.py +396 -4
  561. handyhelpers/views/report.py +12 -5
  562. handyhelpers/management/commands/generate_admin.py +0 -110
  563. handyhelpers/static/node_modules/@popperjs/core/dist/esm/utils/format.js +0 -9
  564. handyhelpers/static/node_modules/@popperjs/core/dist/esm/utils/validateModifiers.js +0 -81
  565. handyhelpers/static/node_modules/@popperjs/core/lib/utils/format.d.ts +0 -1
  566. handyhelpers/static/node_modules/@popperjs/core/lib/utils/format.js +0 -9
  567. handyhelpers/static/node_modules/@popperjs/core/lib/utils/format.js.flow +0 -5
  568. handyhelpers/static/node_modules/@popperjs/core/lib/utils/validateModifiers.d.ts +0 -1
  569. handyhelpers/static/node_modules/@popperjs/core/lib/utils/validateModifiers.js +0 -81
  570. handyhelpers/static/node_modules/@popperjs/core/lib/utils/validateModifiers.js.flow +0 -151
  571. {django_handyhelpers-0.3.19.dist-info → django_handyhelpers-0.3.35.dist-info}/LICENSE +0 -0
  572. {django_handyhelpers-0.3.19.dist-info → django_handyhelpers-0.3.35.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,580 @@
1
+ import { encode, decode } from '@jridgewell/sourcemap-codec';
2
+ import resolveUri from '@jridgewell/resolve-uri';
3
+
4
+ function resolve(input, base) {
5
+ // The base is always treated as a directory, if it's not empty.
6
+ // https://github.com/mozilla/source-map/blob/8cb3ee57/lib/util.js#L327
7
+ // https://github.com/chromium/chromium/blob/da4adbb3/third_party/blink/renderer/devtools/front_end/sdk/SourceMap.js#L400-L401
8
+ if (base && !base.endsWith('/'))
9
+ base += '/';
10
+ return resolveUri(input, base);
11
+ }
12
+
13
+ /**
14
+ * Removes everything after the last "/", but leaves the slash.
15
+ */
16
+ function stripFilename(path) {
17
+ if (!path)
18
+ return '';
19
+ const index = path.lastIndexOf('/');
20
+ return path.slice(0, index + 1);
21
+ }
22
+
23
+ const COLUMN = 0;
24
+ const SOURCES_INDEX = 1;
25
+ const SOURCE_LINE = 2;
26
+ const SOURCE_COLUMN = 3;
27
+ const NAMES_INDEX = 4;
28
+ const REV_GENERATED_LINE = 1;
29
+ const REV_GENERATED_COLUMN = 2;
30
+
31
+ function maybeSort(mappings, owned) {
32
+ const unsortedIndex = nextUnsortedSegmentLine(mappings, 0);
33
+ if (unsortedIndex === mappings.length)
34
+ return mappings;
35
+ // If we own the array (meaning we parsed it from JSON), then we're free to directly mutate it. If
36
+ // not, we do not want to modify the consumer's input array.
37
+ if (!owned)
38
+ mappings = mappings.slice();
39
+ for (let i = unsortedIndex; i < mappings.length; i = nextUnsortedSegmentLine(mappings, i + 1)) {
40
+ mappings[i] = sortSegments(mappings[i], owned);
41
+ }
42
+ return mappings;
43
+ }
44
+ function nextUnsortedSegmentLine(mappings, start) {
45
+ for (let i = start; i < mappings.length; i++) {
46
+ if (!isSorted(mappings[i]))
47
+ return i;
48
+ }
49
+ return mappings.length;
50
+ }
51
+ function isSorted(line) {
52
+ for (let j = 1; j < line.length; j++) {
53
+ if (line[j][COLUMN] < line[j - 1][COLUMN]) {
54
+ return false;
55
+ }
56
+ }
57
+ return true;
58
+ }
59
+ function sortSegments(line, owned) {
60
+ if (!owned)
61
+ line = line.slice();
62
+ return line.sort(sortComparator);
63
+ }
64
+ function sortComparator(a, b) {
65
+ return a[COLUMN] - b[COLUMN];
66
+ }
67
+
68
+ let found = false;
69
+ /**
70
+ * A binary search implementation that returns the index if a match is found.
71
+ * If no match is found, then the left-index (the index associated with the item that comes just
72
+ * before the desired index) is returned. To maintain proper sort order, a splice would happen at
73
+ * the next index:
74
+ *
75
+ * ```js
76
+ * const array = [1, 3];
77
+ * const needle = 2;
78
+ * const index = binarySearch(array, needle, (item, needle) => item - needle);
79
+ *
80
+ * assert.equal(index, 0);
81
+ * array.splice(index + 1, 0, needle);
82
+ * assert.deepEqual(array, [1, 2, 3]);
83
+ * ```
84
+ */
85
+ function binarySearch(haystack, needle, low, high) {
86
+ while (low <= high) {
87
+ const mid = low + ((high - low) >> 1);
88
+ const cmp = haystack[mid][COLUMN] - needle;
89
+ if (cmp === 0) {
90
+ found = true;
91
+ return mid;
92
+ }
93
+ if (cmp < 0) {
94
+ low = mid + 1;
95
+ }
96
+ else {
97
+ high = mid - 1;
98
+ }
99
+ }
100
+ found = false;
101
+ return low - 1;
102
+ }
103
+ function upperBound(haystack, needle, index) {
104
+ for (let i = index + 1; i < haystack.length; index = i++) {
105
+ if (haystack[i][COLUMN] !== needle)
106
+ break;
107
+ }
108
+ return index;
109
+ }
110
+ function lowerBound(haystack, needle, index) {
111
+ for (let i = index - 1; i >= 0; index = i--) {
112
+ if (haystack[i][COLUMN] !== needle)
113
+ break;
114
+ }
115
+ return index;
116
+ }
117
+ function memoizedState() {
118
+ return {
119
+ lastKey: -1,
120
+ lastNeedle: -1,
121
+ lastIndex: -1,
122
+ };
123
+ }
124
+ /**
125
+ * This overly complicated beast is just to record the last tested line/column and the resulting
126
+ * index, allowing us to skip a few tests if mappings are monotonically increasing.
127
+ */
128
+ function memoizedBinarySearch(haystack, needle, state, key) {
129
+ const { lastKey, lastNeedle, lastIndex } = state;
130
+ let low = 0;
131
+ let high = haystack.length - 1;
132
+ if (key === lastKey) {
133
+ if (needle === lastNeedle) {
134
+ found = lastIndex !== -1 && haystack[lastIndex][COLUMN] === needle;
135
+ return lastIndex;
136
+ }
137
+ if (needle >= lastNeedle) {
138
+ // lastIndex may be -1 if the previous needle was not found.
139
+ low = lastIndex === -1 ? 0 : lastIndex;
140
+ }
141
+ else {
142
+ high = lastIndex;
143
+ }
144
+ }
145
+ state.lastKey = key;
146
+ state.lastNeedle = needle;
147
+ return (state.lastIndex = binarySearch(haystack, needle, low, high));
148
+ }
149
+
150
+ // Rebuilds the original source files, with mappings that are ordered by source line/column instead
151
+ // of generated line/column.
152
+ function buildBySources(decoded, memos) {
153
+ const sources = memos.map(buildNullArray);
154
+ for (let i = 0; i < decoded.length; i++) {
155
+ const line = decoded[i];
156
+ for (let j = 0; j < line.length; j++) {
157
+ const seg = line[j];
158
+ if (seg.length === 1)
159
+ continue;
160
+ const sourceIndex = seg[SOURCES_INDEX];
161
+ const sourceLine = seg[SOURCE_LINE];
162
+ const sourceColumn = seg[SOURCE_COLUMN];
163
+ const originalSource = sources[sourceIndex];
164
+ const originalLine = (originalSource[sourceLine] || (originalSource[sourceLine] = []));
165
+ const memo = memos[sourceIndex];
166
+ // The binary search either found a match, or it found the left-index just before where the
167
+ // segment should go. Either way, we want to insert after that. And there may be multiple
168
+ // generated segments associated with an original location, so there may need to move several
169
+ // indexes before we find where we need to insert.
170
+ let index = upperBound(originalLine, sourceColumn, memoizedBinarySearch(originalLine, sourceColumn, memo, sourceLine));
171
+ memo.lastIndex = ++index;
172
+ insert(originalLine, index, [sourceColumn, i, seg[COLUMN]]);
173
+ }
174
+ }
175
+ return sources;
176
+ }
177
+ function insert(array, index, value) {
178
+ for (let i = array.length; i > index; i--) {
179
+ array[i] = array[i - 1];
180
+ }
181
+ array[index] = value;
182
+ }
183
+ // Null arrays allow us to use ordered index keys without actually allocating contiguous memory like
184
+ // a real array. We use a null-prototype object to avoid prototype pollution and deoptimizations.
185
+ // Numeric properties on objects are magically sorted in ascending order by the engine regardless of
186
+ // the insertion order. So, by setting any numeric keys, even out of order, we'll get ascending
187
+ // order when iterating with for-in.
188
+ function buildNullArray() {
189
+ return { __proto__: null };
190
+ }
191
+
192
+ const AnyMap = function (map, mapUrl) {
193
+ const parsed = parse(map);
194
+ if (!('sections' in parsed)) {
195
+ return new TraceMap(parsed, mapUrl);
196
+ }
197
+ const mappings = [];
198
+ const sources = [];
199
+ const sourcesContent = [];
200
+ const names = [];
201
+ const ignoreList = [];
202
+ recurse(parsed, mapUrl, mappings, sources, sourcesContent, names, ignoreList, 0, 0, Infinity, Infinity);
203
+ const joined = {
204
+ version: 3,
205
+ file: parsed.file,
206
+ names,
207
+ sources,
208
+ sourcesContent,
209
+ mappings,
210
+ ignoreList,
211
+ };
212
+ return presortedDecodedMap(joined);
213
+ };
214
+ function parse(map) {
215
+ return typeof map === 'string' ? JSON.parse(map) : map;
216
+ }
217
+ function recurse(input, mapUrl, mappings, sources, sourcesContent, names, ignoreList, lineOffset, columnOffset, stopLine, stopColumn) {
218
+ const { sections } = input;
219
+ for (let i = 0; i < sections.length; i++) {
220
+ const { map, offset } = sections[i];
221
+ let sl = stopLine;
222
+ let sc = stopColumn;
223
+ if (i + 1 < sections.length) {
224
+ const nextOffset = sections[i + 1].offset;
225
+ sl = Math.min(stopLine, lineOffset + nextOffset.line);
226
+ if (sl === stopLine) {
227
+ sc = Math.min(stopColumn, columnOffset + nextOffset.column);
228
+ }
229
+ else if (sl < stopLine) {
230
+ sc = columnOffset + nextOffset.column;
231
+ }
232
+ }
233
+ addSection(map, mapUrl, mappings, sources, sourcesContent, names, ignoreList, lineOffset + offset.line, columnOffset + offset.column, sl, sc);
234
+ }
235
+ }
236
+ function addSection(input, mapUrl, mappings, sources, sourcesContent, names, ignoreList, lineOffset, columnOffset, stopLine, stopColumn) {
237
+ const parsed = parse(input);
238
+ if ('sections' in parsed)
239
+ return recurse(...arguments);
240
+ const map = new TraceMap(parsed, mapUrl);
241
+ const sourcesOffset = sources.length;
242
+ const namesOffset = names.length;
243
+ const decoded = decodedMappings(map);
244
+ const { resolvedSources, sourcesContent: contents, ignoreList: ignores } = map;
245
+ append(sources, resolvedSources);
246
+ append(names, map.names);
247
+ if (contents)
248
+ append(sourcesContent, contents);
249
+ else
250
+ for (let i = 0; i < resolvedSources.length; i++)
251
+ sourcesContent.push(null);
252
+ if (ignores)
253
+ for (let i = 0; i < ignores.length; i++)
254
+ ignoreList.push(ignores[i] + sourcesOffset);
255
+ for (let i = 0; i < decoded.length; i++) {
256
+ const lineI = lineOffset + i;
257
+ // We can only add so many lines before we step into the range that the next section's map
258
+ // controls. When we get to the last line, then we'll start checking the segments to see if
259
+ // they've crossed into the column range. But it may not have any columns that overstep, so we
260
+ // still need to check that we don't overstep lines, too.
261
+ if (lineI > stopLine)
262
+ return;
263
+ // The out line may already exist in mappings (if we're continuing the line started by a
264
+ // previous section). Or, we may have jumped ahead several lines to start this section.
265
+ const out = getLine(mappings, lineI);
266
+ // On the 0th loop, the section's column offset shifts us forward. On all other lines (since the
267
+ // map can be multiple lines), it doesn't.
268
+ const cOffset = i === 0 ? columnOffset : 0;
269
+ const line = decoded[i];
270
+ for (let j = 0; j < line.length; j++) {
271
+ const seg = line[j];
272
+ const column = cOffset + seg[COLUMN];
273
+ // If this segment steps into the column range that the next section's map controls, we need
274
+ // to stop early.
275
+ if (lineI === stopLine && column >= stopColumn)
276
+ return;
277
+ if (seg.length === 1) {
278
+ out.push([column]);
279
+ continue;
280
+ }
281
+ const sourcesIndex = sourcesOffset + seg[SOURCES_INDEX];
282
+ const sourceLine = seg[SOURCE_LINE];
283
+ const sourceColumn = seg[SOURCE_COLUMN];
284
+ out.push(seg.length === 4
285
+ ? [column, sourcesIndex, sourceLine, sourceColumn]
286
+ : [column, sourcesIndex, sourceLine, sourceColumn, namesOffset + seg[NAMES_INDEX]]);
287
+ }
288
+ }
289
+ }
290
+ function append(arr, other) {
291
+ for (let i = 0; i < other.length; i++)
292
+ arr.push(other[i]);
293
+ }
294
+ function getLine(arr, index) {
295
+ for (let i = arr.length; i <= index; i++)
296
+ arr[i] = [];
297
+ return arr[index];
298
+ }
299
+
300
+ const LINE_GTR_ZERO = '`line` must be greater than 0 (lines start at line 1)';
301
+ const COL_GTR_EQ_ZERO = '`column` must be greater than or equal to 0 (columns start at column 0)';
302
+ const LEAST_UPPER_BOUND = -1;
303
+ const GREATEST_LOWER_BOUND = 1;
304
+ class TraceMap {
305
+ constructor(map, mapUrl) {
306
+ const isString = typeof map === 'string';
307
+ if (!isString && map._decodedMemo)
308
+ return map;
309
+ const parsed = (isString ? JSON.parse(map) : map);
310
+ const { version, file, names, sourceRoot, sources, sourcesContent } = parsed;
311
+ this.version = version;
312
+ this.file = file;
313
+ this.names = names || [];
314
+ this.sourceRoot = sourceRoot;
315
+ this.sources = sources;
316
+ this.sourcesContent = sourcesContent;
317
+ this.ignoreList = parsed.ignoreList || parsed.x_google_ignoreList || undefined;
318
+ const from = resolve(sourceRoot || '', stripFilename(mapUrl));
319
+ this.resolvedSources = sources.map((s) => resolve(s || '', from));
320
+ const { mappings } = parsed;
321
+ if (typeof mappings === 'string') {
322
+ this._encoded = mappings;
323
+ this._decoded = undefined;
324
+ }
325
+ else {
326
+ this._encoded = undefined;
327
+ this._decoded = maybeSort(mappings, isString);
328
+ }
329
+ this._decodedMemo = memoizedState();
330
+ this._bySources = undefined;
331
+ this._bySourceMemos = undefined;
332
+ }
333
+ }
334
+ /**
335
+ * Typescript doesn't allow friend access to private fields, so this just casts the map into a type
336
+ * with public access modifiers.
337
+ */
338
+ function cast(map) {
339
+ return map;
340
+ }
341
+ /**
342
+ * Returns the encoded (VLQ string) form of the SourceMap's mappings field.
343
+ */
344
+ function encodedMappings(map) {
345
+ var _a;
346
+ var _b;
347
+ return ((_a = (_b = cast(map))._encoded) !== null && _a !== void 0 ? _a : (_b._encoded = encode(cast(map)._decoded)));
348
+ }
349
+ /**
350
+ * Returns the decoded (array of lines of segments) form of the SourceMap's mappings field.
351
+ */
352
+ function decodedMappings(map) {
353
+ var _a;
354
+ return ((_a = cast(map))._decoded || (_a._decoded = decode(cast(map)._encoded)));
355
+ }
356
+ /**
357
+ * A low-level API to find the segment associated with a generated line/column (think, from a
358
+ * stack trace). Line and column here are 0-based, unlike `originalPositionFor`.
359
+ */
360
+ function traceSegment(map, line, column) {
361
+ const decoded = decodedMappings(map);
362
+ // It's common for parent source maps to have pointers to lines that have no
363
+ // mapping (like a "//# sourceMappingURL=") at the end of the child file.
364
+ if (line >= decoded.length)
365
+ return null;
366
+ const segments = decoded[line];
367
+ const index = traceSegmentInternal(segments, cast(map)._decodedMemo, line, column, GREATEST_LOWER_BOUND);
368
+ return index === -1 ? null : segments[index];
369
+ }
370
+ /**
371
+ * A higher-level API to find the source/line/column associated with a generated line/column
372
+ * (think, from a stack trace). Line is 1-based, but column is 0-based, due to legacy behavior in
373
+ * `source-map` library.
374
+ */
375
+ function originalPositionFor(map, needle) {
376
+ let { line, column, bias } = needle;
377
+ line--;
378
+ if (line < 0)
379
+ throw new Error(LINE_GTR_ZERO);
380
+ if (column < 0)
381
+ throw new Error(COL_GTR_EQ_ZERO);
382
+ const decoded = decodedMappings(map);
383
+ // It's common for parent source maps to have pointers to lines that have no
384
+ // mapping (like a "//# sourceMappingURL=") at the end of the child file.
385
+ if (line >= decoded.length)
386
+ return OMapping(null, null, null, null);
387
+ const segments = decoded[line];
388
+ const index = traceSegmentInternal(segments, cast(map)._decodedMemo, line, column, bias || GREATEST_LOWER_BOUND);
389
+ if (index === -1)
390
+ return OMapping(null, null, null, null);
391
+ const segment = segments[index];
392
+ if (segment.length === 1)
393
+ return OMapping(null, null, null, null);
394
+ const { names, resolvedSources } = map;
395
+ return OMapping(resolvedSources[segment[SOURCES_INDEX]], segment[SOURCE_LINE] + 1, segment[SOURCE_COLUMN], segment.length === 5 ? names[segment[NAMES_INDEX]] : null);
396
+ }
397
+ /**
398
+ * Finds the generated line/column position of the provided source/line/column source position.
399
+ */
400
+ function generatedPositionFor(map, needle) {
401
+ const { source, line, column, bias } = needle;
402
+ return generatedPosition(map, source, line, column, bias || GREATEST_LOWER_BOUND, false);
403
+ }
404
+ /**
405
+ * Finds all generated line/column positions of the provided source/line/column source position.
406
+ */
407
+ function allGeneratedPositionsFor(map, needle) {
408
+ const { source, line, column, bias } = needle;
409
+ // SourceMapConsumer uses LEAST_UPPER_BOUND for some reason, so we follow suit.
410
+ return generatedPosition(map, source, line, column, bias || LEAST_UPPER_BOUND, true);
411
+ }
412
+ /**
413
+ * Iterates each mapping in generated position order.
414
+ */
415
+ function eachMapping(map, cb) {
416
+ const decoded = decodedMappings(map);
417
+ const { names, resolvedSources } = map;
418
+ for (let i = 0; i < decoded.length; i++) {
419
+ const line = decoded[i];
420
+ for (let j = 0; j < line.length; j++) {
421
+ const seg = line[j];
422
+ const generatedLine = i + 1;
423
+ const generatedColumn = seg[0];
424
+ let source = null;
425
+ let originalLine = null;
426
+ let originalColumn = null;
427
+ let name = null;
428
+ if (seg.length !== 1) {
429
+ source = resolvedSources[seg[1]];
430
+ originalLine = seg[2] + 1;
431
+ originalColumn = seg[3];
432
+ }
433
+ if (seg.length === 5)
434
+ name = names[seg[4]];
435
+ cb({
436
+ generatedLine,
437
+ generatedColumn,
438
+ source,
439
+ originalLine,
440
+ originalColumn,
441
+ name,
442
+ });
443
+ }
444
+ }
445
+ }
446
+ function sourceIndex(map, source) {
447
+ const { sources, resolvedSources } = map;
448
+ let index = sources.indexOf(source);
449
+ if (index === -1)
450
+ index = resolvedSources.indexOf(source);
451
+ return index;
452
+ }
453
+ /**
454
+ * Retrieves the source content for a particular source, if its found. Returns null if not.
455
+ */
456
+ function sourceContentFor(map, source) {
457
+ const { sourcesContent } = map;
458
+ if (sourcesContent == null)
459
+ return null;
460
+ const index = sourceIndex(map, source);
461
+ return index === -1 ? null : sourcesContent[index];
462
+ }
463
+ /**
464
+ * Determines if the source is marked to ignore by the source map.
465
+ */
466
+ function isIgnored(map, source) {
467
+ const { ignoreList } = map;
468
+ if (ignoreList == null)
469
+ return false;
470
+ const index = sourceIndex(map, source);
471
+ return index === -1 ? false : ignoreList.includes(index);
472
+ }
473
+ /**
474
+ * A helper that skips sorting of the input map's mappings array, which can be expensive for larger
475
+ * maps.
476
+ */
477
+ function presortedDecodedMap(map, mapUrl) {
478
+ const tracer = new TraceMap(clone(map, []), mapUrl);
479
+ cast(tracer)._decoded = map.mappings;
480
+ return tracer;
481
+ }
482
+ /**
483
+ * Returns a sourcemap object (with decoded mappings) suitable for passing to a library that expects
484
+ * a sourcemap, or to JSON.stringify.
485
+ */
486
+ function decodedMap(map) {
487
+ return clone(map, decodedMappings(map));
488
+ }
489
+ /**
490
+ * Returns a sourcemap object (with encoded mappings) suitable for passing to a library that expects
491
+ * a sourcemap, or to JSON.stringify.
492
+ */
493
+ function encodedMap(map) {
494
+ return clone(map, encodedMappings(map));
495
+ }
496
+ function clone(map, mappings) {
497
+ return {
498
+ version: map.version,
499
+ file: map.file,
500
+ names: map.names,
501
+ sourceRoot: map.sourceRoot,
502
+ sources: map.sources,
503
+ sourcesContent: map.sourcesContent,
504
+ mappings,
505
+ ignoreList: map.ignoreList || map.x_google_ignoreList,
506
+ };
507
+ }
508
+ function OMapping(source, line, column, name) {
509
+ return { source, line, column, name };
510
+ }
511
+ function GMapping(line, column) {
512
+ return { line, column };
513
+ }
514
+ function traceSegmentInternal(segments, memo, line, column, bias) {
515
+ let index = memoizedBinarySearch(segments, column, memo, line);
516
+ if (found) {
517
+ index = (bias === LEAST_UPPER_BOUND ? upperBound : lowerBound)(segments, column, index);
518
+ }
519
+ else if (bias === LEAST_UPPER_BOUND)
520
+ index++;
521
+ if (index === -1 || index === segments.length)
522
+ return -1;
523
+ return index;
524
+ }
525
+ function sliceGeneratedPositions(segments, memo, line, column, bias) {
526
+ let min = traceSegmentInternal(segments, memo, line, column, GREATEST_LOWER_BOUND);
527
+ // We ignored the bias when tracing the segment so that we're guarnateed to find the first (in
528
+ // insertion order) segment that matched. Even if we did respect the bias when tracing, we would
529
+ // still need to call `lowerBound()` to find the first segment, which is slower than just looking
530
+ // for the GREATEST_LOWER_BOUND to begin with. The only difference that matters for us is when the
531
+ // binary search didn't match, in which case GREATEST_LOWER_BOUND just needs to increment to
532
+ // match LEAST_UPPER_BOUND.
533
+ if (!found && bias === LEAST_UPPER_BOUND)
534
+ min++;
535
+ if (min === -1 || min === segments.length)
536
+ return [];
537
+ // We may have found the segment that started at an earlier column. If this is the case, then we
538
+ // need to slice all generated segments that match _that_ column, because all such segments span
539
+ // to our desired column.
540
+ const matchedColumn = found ? column : segments[min][COLUMN];
541
+ // The binary search is not guaranteed to find the lower bound when a match wasn't found.
542
+ if (!found)
543
+ min = lowerBound(segments, matchedColumn, min);
544
+ const max = upperBound(segments, matchedColumn, min);
545
+ const result = [];
546
+ for (; min <= max; min++) {
547
+ const segment = segments[min];
548
+ result.push(GMapping(segment[REV_GENERATED_LINE] + 1, segment[REV_GENERATED_COLUMN]));
549
+ }
550
+ return result;
551
+ }
552
+ function generatedPosition(map, source, line, column, bias, all) {
553
+ var _a;
554
+ line--;
555
+ if (line < 0)
556
+ throw new Error(LINE_GTR_ZERO);
557
+ if (column < 0)
558
+ throw new Error(COL_GTR_EQ_ZERO);
559
+ const { sources, resolvedSources } = map;
560
+ let sourceIndex = sources.indexOf(source);
561
+ if (sourceIndex === -1)
562
+ sourceIndex = resolvedSources.indexOf(source);
563
+ if (sourceIndex === -1)
564
+ return all ? [] : GMapping(null, null);
565
+ const generated = ((_a = cast(map))._bySources || (_a._bySources = buildBySources(decodedMappings(map), (cast(map)._bySourceMemos = sources.map(memoizedState)))));
566
+ const segments = generated[sourceIndex][line];
567
+ if (segments == null)
568
+ return all ? [] : GMapping(null, null);
569
+ const memo = cast(map)._bySourceMemos[sourceIndex];
570
+ if (all)
571
+ return sliceGeneratedPositions(segments, memo, line, column, bias);
572
+ const index = traceSegmentInternal(segments, memo, line, column, bias);
573
+ if (index === -1)
574
+ return GMapping(null, null);
575
+ const segment = segments[index];
576
+ return GMapping(segment[REV_GENERATED_LINE] + 1, segment[REV_GENERATED_COLUMN]);
577
+ }
578
+
579
+ export { AnyMap, GREATEST_LOWER_BOUND, LEAST_UPPER_BOUND, TraceMap, allGeneratedPositionsFor, decodedMap, decodedMappings, eachMapping, encodedMap, encodedMappings, generatedPositionFor, isIgnored, originalPositionFor, presortedDecodedMap, sourceContentFor, traceSegment };
580
+ //# sourceMappingURL=trace-mapping.mjs.map