@esri/solutions-components 0.0.2 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (892) hide show
  1. package/README.md +6 -5
  2. package/dist/cjs/CalciteExpandToggle-3e4e3b6c.js +0 -2
  3. package/dist/cjs/CalciteHeading-d765addc.js +0 -2
  4. package/dist/cjs/_commonjsHelpers-84e109b5.js +26 -0
  5. package/dist/cjs/array-cd6c0c32.js +0 -2
  6. package/dist/cjs/calcite-accordion-item.cjs.entry.js +0 -2
  7. package/dist/cjs/calcite-accordion.cjs.entry.js +0 -2
  8. package/dist/cjs/calcite-action-bar.cjs.entry.js +0 -2
  9. package/dist/cjs/calcite-action-group.cjs.entry.js +0 -2
  10. package/dist/cjs/calcite-action-menu_3.cjs.entry.js +0 -2
  11. package/dist/cjs/calcite-action-pad.cjs.entry.js +0 -2
  12. package/dist/cjs/calcite-action.cjs.entry.js +0 -2
  13. package/dist/cjs/calcite-alert.cjs.entry.js +0 -2
  14. package/dist/cjs/calcite-avatar.cjs.entry.js +0 -2
  15. package/dist/cjs/calcite-block-section.cjs.entry.js +0 -2
  16. package/dist/cjs/calcite-block.cjs.entry.js +0 -2
  17. package/dist/cjs/calcite-button.cjs.entry.js +0 -2
  18. package/dist/cjs/calcite-card.cjs.entry.js +0 -2
  19. package/dist/cjs/calcite-checkbox_4.cjs.entry.js +0 -2
  20. package/dist/cjs/calcite-chip.cjs.entry.js +0 -2
  21. package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js +3 -4
  22. package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js +2 -3
  23. package/dist/cjs/calcite-color-picker.cjs.entry.js +3 -4
  24. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +0 -2
  25. package/dist/cjs/calcite-combobox-item.cjs.entry.js +0 -2
  26. package/dist/cjs/calcite-combobox.cjs.entry.js +0 -2
  27. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +0 -2
  28. package/dist/cjs/calcite-date-picker.cjs.entry.js +0 -2
  29. package/dist/cjs/calcite-dropdown-group.cjs.entry.js +0 -2
  30. package/dist/cjs/calcite-dropdown-item.cjs.entry.js +0 -2
  31. package/dist/cjs/calcite-dropdown.cjs.entry.js +0 -2
  32. package/dist/cjs/calcite-fab.cjs.entry.js +0 -2
  33. package/dist/cjs/calcite-filter.cjs.entry.js +0 -2
  34. package/dist/cjs/calcite-flow.cjs.entry.js +0 -2
  35. package/dist/cjs/calcite-graph.cjs.entry.js +0 -2
  36. package/dist/cjs/calcite-handle.cjs.entry.js +0 -2
  37. package/dist/cjs/calcite-icon.cjs.entry.js +0 -2
  38. package/dist/cjs/calcite-inline-editable.cjs.entry.js +0 -2
  39. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +0 -2
  40. package/dist/cjs/calcite-input-message.cjs.entry.js +0 -2
  41. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +0 -2
  42. package/dist/cjs/calcite-input_2.cjs.entry.js +0 -2
  43. package/dist/cjs/calcite-label.cjs.entry.js +0 -2
  44. package/dist/cjs/calcite-link.cjs.entry.js +0 -2
  45. package/dist/cjs/calcite-list-item-group.cjs.entry.js +0 -2
  46. package/dist/cjs/calcite-list-item.cjs.entry.js +0 -2
  47. package/dist/cjs/calcite-list.cjs.entry.js +0 -2
  48. package/dist/cjs/calcite-loader.cjs.entry.js +0 -2
  49. package/dist/cjs/calcite-modal.cjs.entry.js +0 -2
  50. package/dist/cjs/calcite-notice.cjs.entry.js +0 -2
  51. package/dist/cjs/calcite-option-group.cjs.entry.js +0 -2
  52. package/dist/cjs/calcite-option.cjs.entry.js +0 -2
  53. package/dist/cjs/calcite-pagination.cjs.entry.js +0 -2
  54. package/dist/cjs/calcite-panel_14.cjs.entry.js +41 -8
  55. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +0 -2
  56. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +0 -2
  57. package/dist/cjs/calcite-pick-list.cjs.entry.js +0 -2
  58. package/dist/cjs/calcite-popover-manager.cjs.entry.js +0 -2
  59. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +0 -2
  60. package/dist/cjs/calcite-radio-button.cjs.entry.js +0 -2
  61. package/dist/cjs/calcite-radio-group-item.cjs.entry.js +0 -2
  62. package/dist/cjs/calcite-radio-group.cjs.entry.js +0 -2
  63. package/dist/cjs/calcite-radio.cjs.entry.js +0 -2
  64. package/dist/cjs/calcite-rating.cjs.entry.js +0 -2
  65. package/dist/cjs/calcite-scrim.cjs.entry.js +0 -2
  66. package/dist/cjs/calcite-select.cjs.entry.js +0 -2
  67. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +0 -2
  68. package/dist/cjs/calcite-slider.cjs.entry.js +0 -2
  69. package/dist/cjs/calcite-sortable-list.cjs.entry.js +0 -2
  70. package/dist/cjs/calcite-split-button.cjs.entry.js +0 -2
  71. package/dist/cjs/calcite-stepper-item.cjs.entry.js +0 -2
  72. package/dist/cjs/calcite-stepper.cjs.entry.js +0 -2
  73. package/dist/cjs/calcite-switch.cjs.entry.js +0 -2
  74. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +0 -2
  75. package/dist/cjs/calcite-tile-select.cjs.entry.js +0 -2
  76. package/dist/cjs/calcite-tile.cjs.entry.js +0 -2
  77. package/dist/cjs/calcite-time-picker.cjs.entry.js +0 -2
  78. package/dist/cjs/calcite-tip-group.cjs.entry.js +0 -2
  79. package/dist/cjs/calcite-tip-manager.cjs.entry.js +0 -2
  80. package/dist/cjs/calcite-tip.cjs.entry.js +0 -2
  81. package/dist/cjs/calcite-tooltip.cjs.entry.js +0 -2
  82. package/dist/cjs/calcite-value-list-item.cjs.entry.js +0 -2
  83. package/dist/cjs/calcite-value-list.cjs.entry.js +0 -2
  84. package/dist/cjs/common-a4edb52d.js +216 -0
  85. package/dist/cjs/date-0554c4d1.js +0 -2
  86. package/dist/cjs/debounce-df22462b.js +0 -2
  87. package/dist/cjs/dom-62511f59.js +0 -2
  88. package/dist/cjs/editStore-36fc36e6.js +2024 -0
  89. package/dist/cjs/forIn-6a1c2f6d.js +0 -2
  90. package/dist/cjs/form-0b5b2d4e.js +0 -2
  91. package/dist/cjs/generalHelpers-cee7d0da.js +168 -0
  92. package/dist/cjs/guid-c6be9504.js +0 -2
  93. package/dist/cjs/{index-706750dc.js → index-69e74dd7.js} +5 -19
  94. package/dist/cjs/index-81c17948.js +0 -2
  95. package/dist/cjs/index.cjs.js +0 -2
  96. package/dist/cjs/interfaces-5ba2c1a7.js +0 -2
  97. package/dist/cjs/key-2a6290c8.js +0 -2
  98. package/dist/cjs/label-46482470.js +0 -2
  99. package/dist/cjs/loader.cjs.js +1 -3
  100. package/dist/cjs/locale-0db34680.js +0 -2
  101. package/dist/cjs/math-71f8de66.js +0 -2
  102. package/dist/cjs/number-697ce34c.js +0 -2
  103. package/dist/cjs/observers-88bbd6ef.js +0 -2
  104. package/dist/cjs/popper-8c8dc960.js +0 -2
  105. package/dist/cjs/request-6905140c.js +550 -0
  106. package/dist/cjs/resources-20f88094.js +0 -2
  107. package/dist/cjs/resources-27c22d8a.js +0 -2
  108. package/dist/cjs/{resources-369e7421.js → resources-2a401414.js} +1 -3
  109. package/dist/cjs/resources-46af0638.js +0 -2
  110. package/dist/cjs/resources-509951f9.js +0 -2
  111. package/dist/cjs/resources-5b7958e4.js +0 -2
  112. package/dist/cjs/resources-a265534b.js +0 -2
  113. package/dist/cjs/resources-e231446d.js +0 -2
  114. package/dist/cjs/resources-ef6c71a1.js +0 -2
  115. package/dist/cjs/shared-list-render-63d3ea89.js +0 -2
  116. package/dist/cjs/solution-configuration.cjs.entry.js +172 -14
  117. package/dist/cjs/solution-contents_3.cjs.entry.js +42 -68
  118. package/dist/cjs/solutions.cjs.js +1 -3
  119. package/dist/cjs/sortable.esm-14548a17.js +0 -2
  120. package/dist/cjs/store-manager.cjs.entry.js +17 -8
  121. package/dist/cjs/templates-a0242ced.js +422 -0
  122. package/dist/cjs/time-c87dc79e.js +0 -2
  123. package/dist/cjs/utils-c19d354a.js +0 -2
  124. package/dist/cjs/utils-cb7373e6.js +0 -2
  125. package/dist/collection/assets/nls/fr/strings.js +2 -0
  126. package/dist/collection/assets/nls/strings.js +2 -0
  127. package/dist/collection/collection-manifest.json +9 -9
  128. package/dist/collection/components/json-editor/json-editor.js +40 -2
  129. package/dist/collection/components/solution-configuration/solution-configuration.js +251 -24
  130. package/dist/collection/components/solution-contents/solution-contents.js +12 -3
  131. package/dist/collection/components/solution-item/solution-item.css +1 -0
  132. package/dist/collection/components/solution-item/solution-item.js +2 -2
  133. package/dist/collection/components/solution-item-details/solution-item-details.js +4 -3
  134. package/dist/collection/components/solution-item-icon/solution-item-icon.js +0 -1
  135. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +2 -2
  136. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +2 -2
  137. package/dist/collection/components/solution-resource-item/solution-resource-item.js +2 -2
  138. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +68 -68
  139. package/dist/collection/components/solution-spatial-ref/spatialreferences.js +0 -2
  140. package/dist/collection/components/solution-template-data/solution-template-data.js +4 -4
  141. package/dist/collection/components/solution-variables/solution-variables.js +2 -2
  142. package/dist/collection/components/store-manager/store-manager.js +49 -5
  143. package/dist/collection/demos/browse-solutions.html +136 -54
  144. package/dist/collection/demos/solution-configuration.html +139 -12
  145. package/dist/collection/demos/solution-spatial-ref.html +1 -1
  146. package/dist/collection/index.js +0 -1
  147. package/dist/collection/utils/common.js +25 -77
  148. package/dist/collection/utils/common.ts +42 -73
  149. package/dist/collection/utils/editStore.js +0 -1
  150. package/dist/{solutions/p-ecbfddde.js → collection/utils/interfaces.js} +16 -17
  151. package/dist/collection/utils/interfaces.ts +126 -0
  152. package/dist/collection/utils/templates.js +8 -6
  153. package/dist/collection/utils/templates.ts +19 -33
  154. package/dist/custom-elements/index.js +3161 -152
  155. package/dist/esm/CalciteExpandToggle-5df46988.js +0 -2
  156. package/dist/esm/CalciteHeading-79b4b347.js +0 -2
  157. package/dist/esm/_commonjsHelpers-84c626bc.js +22 -0
  158. package/dist/esm/array-71e0c501.js +0 -2
  159. package/dist/esm/calcite-accordion-item.entry.js +0 -2
  160. package/dist/esm/calcite-accordion.entry.js +0 -2
  161. package/dist/esm/calcite-action-bar.entry.js +0 -2
  162. package/dist/esm/calcite-action-group.entry.js +0 -2
  163. package/dist/esm/calcite-action-menu_3.entry.js +0 -2
  164. package/dist/esm/calcite-action-pad.entry.js +0 -2
  165. package/dist/esm/calcite-action.entry.js +0 -2
  166. package/dist/esm/calcite-alert.entry.js +0 -2
  167. package/dist/esm/calcite-avatar.entry.js +0 -2
  168. package/dist/esm/calcite-block-section.entry.js +0 -2
  169. package/dist/esm/calcite-block.entry.js +0 -2
  170. package/dist/esm/calcite-button.entry.js +0 -2
  171. package/dist/esm/calcite-card.entry.js +0 -2
  172. package/dist/esm/calcite-checkbox_4.entry.js +0 -2
  173. package/dist/esm/calcite-chip.entry.js +0 -2
  174. package/dist/esm/calcite-color-picker-hex-input.entry.js +3 -4
  175. package/dist/esm/calcite-color-picker-swatch.entry.js +2 -3
  176. package/dist/esm/calcite-color-picker.entry.js +3 -4
  177. package/dist/esm/calcite-combobox-item-group.entry.js +0 -2
  178. package/dist/esm/calcite-combobox-item.entry.js +0 -2
  179. package/dist/esm/calcite-combobox.entry.js +0 -2
  180. package/dist/esm/calcite-date-picker-day_3.entry.js +0 -2
  181. package/dist/esm/calcite-date-picker.entry.js +0 -2
  182. package/dist/esm/calcite-dropdown-group.entry.js +0 -2
  183. package/dist/esm/calcite-dropdown-item.entry.js +0 -2
  184. package/dist/esm/calcite-dropdown.entry.js +0 -2
  185. package/dist/esm/calcite-fab.entry.js +0 -2
  186. package/dist/esm/calcite-filter.entry.js +0 -2
  187. package/dist/esm/calcite-flow.entry.js +0 -2
  188. package/dist/esm/calcite-graph.entry.js +0 -2
  189. package/dist/esm/calcite-handle.entry.js +0 -2
  190. package/dist/esm/calcite-icon.entry.js +0 -2
  191. package/dist/esm/calcite-inline-editable.entry.js +0 -2
  192. package/dist/esm/calcite-input-date-picker.entry.js +0 -2
  193. package/dist/esm/calcite-input-message.entry.js +0 -2
  194. package/dist/esm/calcite-input-time-picker.entry.js +0 -2
  195. package/dist/esm/calcite-input_2.entry.js +0 -2
  196. package/dist/esm/calcite-label.entry.js +0 -2
  197. package/dist/esm/calcite-link.entry.js +0 -2
  198. package/dist/esm/calcite-list-item-group.entry.js +0 -2
  199. package/dist/esm/calcite-list-item.entry.js +0 -2
  200. package/dist/esm/calcite-list.entry.js +0 -2
  201. package/dist/esm/calcite-loader.entry.js +0 -2
  202. package/dist/esm/calcite-modal.entry.js +0 -2
  203. package/dist/esm/calcite-notice.entry.js +0 -2
  204. package/dist/esm/calcite-option-group.entry.js +0 -2
  205. package/dist/esm/calcite-option.entry.js +0 -2
  206. package/dist/esm/calcite-pagination.entry.js +0 -2
  207. package/dist/esm/calcite-panel_14.entry.js +37 -4
  208. package/dist/esm/calcite-pick-list-group.entry.js +0 -2
  209. package/dist/esm/calcite-pick-list-item.entry.js +0 -2
  210. package/dist/esm/calcite-pick-list.entry.js +0 -2
  211. package/dist/esm/calcite-popover-manager.entry.js +0 -2
  212. package/dist/esm/calcite-radio-button-group.entry.js +0 -2
  213. package/dist/esm/calcite-radio-button.entry.js +0 -2
  214. package/dist/esm/calcite-radio-group-item.entry.js +0 -2
  215. package/dist/esm/calcite-radio-group.entry.js +0 -2
  216. package/dist/esm/calcite-radio.entry.js +0 -2
  217. package/dist/esm/calcite-rating.entry.js +0 -2
  218. package/dist/esm/calcite-scrim.entry.js +0 -2
  219. package/dist/esm/calcite-select.entry.js +0 -2
  220. package/dist/esm/calcite-shell-center-row.entry.js +0 -2
  221. package/dist/esm/calcite-slider.entry.js +0 -2
  222. package/dist/esm/calcite-sortable-list.entry.js +0 -2
  223. package/dist/esm/calcite-split-button.entry.js +0 -2
  224. package/dist/esm/calcite-stepper-item.entry.js +0 -2
  225. package/dist/esm/calcite-stepper.entry.js +0 -2
  226. package/dist/esm/calcite-switch.entry.js +0 -2
  227. package/dist/esm/calcite-tile-select-group.entry.js +0 -2
  228. package/dist/esm/calcite-tile-select.entry.js +0 -2
  229. package/dist/esm/calcite-tile.entry.js +0 -2
  230. package/dist/esm/calcite-time-picker.entry.js +0 -2
  231. package/dist/esm/calcite-tip-group.entry.js +0 -2
  232. package/dist/esm/calcite-tip-manager.entry.js +0 -2
  233. package/dist/esm/calcite-tip.entry.js +0 -2
  234. package/dist/esm/calcite-tooltip.entry.js +0 -2
  235. package/dist/esm/calcite-value-list-item.entry.js +0 -2
  236. package/dist/esm/calcite-value-list.entry.js +0 -2
  237. package/dist/esm/common-70333fb9.js +213 -0
  238. package/dist/esm/date-5d75460a.js +0 -2
  239. package/dist/esm/debounce-23ad5849.js +0 -2
  240. package/dist/esm/dom-1cc617ae.js +0 -2
  241. package/dist/esm/editStore-197be454.js +2022 -0
  242. package/dist/esm/forIn-c922d47c.js +0 -2
  243. package/dist/esm/form-636dfed1.js +0 -2
  244. package/dist/esm/generalHelpers-91e92dc0.js +161 -0
  245. package/dist/esm/guid-740f1f1a.js +0 -2
  246. package/dist/esm/index-a3c3e3db.js +0 -2
  247. package/dist/esm/{index-934f242e.js → index-c1264d13.js} +3 -17
  248. package/dist/esm/index.js +0 -2
  249. package/dist/esm/interfaces-4f07beec.js +0 -2
  250. package/dist/esm/key-1748eb79.js +0 -2
  251. package/dist/esm/label-851f8926.js +0 -2
  252. package/dist/esm/loader.js +1 -3
  253. package/dist/esm/locale-31c8d43b.js +0 -2
  254. package/dist/esm/math-d8795f31.js +0 -2
  255. package/dist/esm/number-47ecb380.js +0 -2
  256. package/dist/esm/observers-b13ff24b.js +0 -2
  257. package/dist/esm/popper-25874f2f.js +0 -2
  258. package/dist/esm/request-9c2c9a49.js +548 -0
  259. package/dist/esm/resources-12c3b829.js +0 -2
  260. package/dist/esm/resources-32d7dd89.js +0 -2
  261. package/dist/esm/resources-466ccf86.js +0 -2
  262. package/dist/esm/resources-4cc0ef44.js +0 -2
  263. package/dist/esm/resources-861d0240.js +0 -2
  264. package/dist/esm/resources-b023c30a.js +0 -2
  265. package/dist/esm/{resources-c537bacb.js → resources-d7e09977.js} +1 -3
  266. package/dist/esm/resources-e56b6e53.js +0 -2
  267. package/dist/esm/resources-ec79cfd7.js +0 -2
  268. package/dist/esm/shared-list-render-b5dacd2e.js +0 -2
  269. package/dist/esm/solution-configuration.entry.js +172 -14
  270. package/dist/esm/solution-contents_3.entry.js +42 -68
  271. package/dist/esm/solutions.js +1 -3
  272. package/dist/esm/sortable.esm-7856912e.js +0 -2
  273. package/dist/esm/store-manager.entry.js +17 -8
  274. package/dist/esm/templates-c15e0de2.js +414 -0
  275. package/dist/esm/time-a3b29c35.js +0 -2
  276. package/dist/esm/utils-021cb956.js +0 -2
  277. package/dist/esm/utils-5fdd203c.js +0 -2
  278. package/dist/solutions/assets/nls/fr/strings.js +2 -0
  279. package/dist/solutions/assets/nls/strings.js +2 -0
  280. package/dist/solutions/demos/browse-solutions.html +136 -54
  281. package/dist/solutions/demos/solution-configuration.html +139 -12
  282. package/dist/solutions/demos/solution-spatial-ref.html +1 -1
  283. package/dist/solutions/index.esm.js +0 -2
  284. package/dist/solutions/p-03c9247d.entry.js +10 -0
  285. package/dist/solutions/p-03da5f23.entry.js +6 -0
  286. package/dist/solutions/p-054256c8.entry.js +10 -0
  287. package/dist/solutions/p-05c73b7d.js +1 -2
  288. package/dist/solutions/p-06c2b347.entry.js +6 -0
  289. package/dist/solutions/p-09a06209.entry.js +6 -0
  290. package/dist/solutions/p-09e5283f.entry.js +6 -0
  291. package/dist/solutions/p-0a0ca7d3.entry.js +6 -0
  292. package/dist/solutions/p-0b8525e2.js +1 -2
  293. package/dist/solutions/p-0bddf168.entry.js +10 -0
  294. package/dist/solutions/p-0dd00bd7.entry.js +6 -0
  295. package/dist/solutions/p-0f8fd0f8.entry.js +10 -0
  296. package/dist/solutions/p-1345c0c8.js +6 -0
  297. package/dist/solutions/p-1387e8ef.entry.js +10 -0
  298. package/dist/solutions/p-17195493.entry.js +6 -0
  299. package/dist/solutions/p-172b8454.js +38 -0
  300. package/dist/solutions/p-173c3a97.entry.js +10 -0
  301. package/dist/solutions/p-175fe700.entry.js +6 -0
  302. package/dist/solutions/p-17f21116.entry.js +6 -0
  303. package/dist/solutions/p-18657c74.entry.js +10 -0
  304. package/dist/solutions/p-20c8a31e.entry.js +14 -0
  305. package/dist/solutions/p-228131f3.js +3 -3
  306. package/dist/solutions/p-2480c2c3.entry.js +10 -0
  307. package/dist/solutions/p-291cbb4f.js +1 -2
  308. package/dist/solutions/p-29d230fb.entry.js +6 -0
  309. package/dist/solutions/p-2de43402.entry.js +10 -0
  310. package/dist/solutions/p-2e1cd889.js +1 -2
  311. package/dist/solutions/p-386bc1f5.entry.js +10 -0
  312. package/dist/solutions/p-3956acc6.entry.js +6 -0
  313. package/dist/solutions/p-3ce922dd.js +20 -0
  314. package/dist/solutions/p-3e67ed97.js +1 -2
  315. package/dist/solutions/p-3eac2c21.entry.js +10 -0
  316. package/dist/solutions/p-3fd65329.entry.js +6 -0
  317. package/dist/solutions/p-41c2e1cc.js +1 -2
  318. package/dist/solutions/p-42f5b6d1.entry.js +10 -0
  319. package/dist/solutions/p-44e661a2.js +1 -2
  320. package/dist/solutions/p-4847f326.entry.js +10 -0
  321. package/dist/solutions/p-4a5b86a0.entry.js +10 -0
  322. package/dist/solutions/p-4f8cae93.entry.js +10 -0
  323. package/dist/solutions/p-51c9f2db.entry.js +10 -0
  324. package/dist/solutions/p-52d835be.entry.js +10 -0
  325. package/dist/solutions/p-55dddf06.entry.js +10 -0
  326. package/dist/solutions/p-56a376ea.entry.js +6 -0
  327. package/dist/solutions/p-57e5029a.entry.js +6 -0
  328. package/dist/solutions/p-58b7f4aa.entry.js +10 -0
  329. package/dist/solutions/p-5cd9ccc3.entry.js +22 -0
  330. package/dist/solutions/p-5dd4cf97.entry.js +6 -0
  331. package/dist/solutions/p-5edf418e.entry.js +10 -0
  332. package/dist/solutions/p-64711824.entry.js +10 -0
  333. package/dist/solutions/p-68bf7243.entry.js +11 -0
  334. package/dist/solutions/p-7096464e.js +3 -4
  335. package/dist/solutions/p-720922e5.entry.js +10 -0
  336. package/dist/solutions/p-73e2d13f.js +1 -2
  337. package/dist/solutions/p-73e8d41c.entry.js +10 -0
  338. package/dist/solutions/p-7804ce97.js +1 -2
  339. package/dist/solutions/p-79064f42.entry.js +6 -0
  340. package/dist/solutions/p-7976d171.entry.js +6 -0
  341. package/dist/solutions/p-7a98627f.entry.js +10 -0
  342. package/dist/solutions/p-7aaed3f1.entry.js +10 -0
  343. package/dist/solutions/p-7cc9c6af.js +2 -7
  344. package/dist/solutions/p-7df393df.js +1 -2
  345. package/dist/solutions/p-7f93b2dd.entry.js +6 -0
  346. package/dist/solutions/p-82ab483b.entry.js +10 -0
  347. package/dist/solutions/p-8565f0c1.entry.js +10 -0
  348. package/dist/solutions/p-85cf288c.js +1 -2
  349. package/dist/solutions/p-8701d184.entry.js +10 -0
  350. package/dist/solutions/p-946521e1.js +2 -3
  351. package/dist/solutions/p-974d27a4.entry.js +10 -0
  352. package/dist/solutions/p-9c08ce38.entry.js +6 -0
  353. package/dist/solutions/p-9deb6df3.js +36 -0
  354. package/dist/solutions/p-9df9ac35.js +1 -2
  355. package/dist/solutions/p-9ed0c781.entry.js +6 -0
  356. package/dist/solutions/p-9f3fa133.entry.js +10 -0
  357. package/dist/solutions/p-a10dc180.js +1 -2
  358. package/dist/solutions/p-a201c2ea.entry.js +6 -0
  359. package/dist/solutions/p-a598cbb6.entry.js +10 -0
  360. package/dist/solutions/p-a59dfe85.entry.js +6 -0
  361. package/dist/solutions/p-a5fbf459.entry.js +11 -0
  362. package/dist/solutions/p-a6faf819.entry.js +10 -0
  363. package/dist/solutions/p-a8b4d400.entry.js +10 -0
  364. package/dist/solutions/p-a93a4772.entry.js +10 -0
  365. package/dist/solutions/{p-07099311.entry.js → p-a9dd9571.entry.js} +1 -2
  366. package/dist/solutions/p-a9df64c4.js +1 -2
  367. package/dist/solutions/p-aa11e35b.entry.js +10 -0
  368. package/dist/solutions/p-ae4a329c.entry.js +6 -0
  369. package/dist/solutions/p-af9be2ca.js +1 -2
  370. package/dist/solutions/p-b16a91ae.entry.js +6 -0
  371. package/dist/solutions/p-b5693287.entry.js +6 -0
  372. package/dist/solutions/p-b5bbe558.entry.js +10 -0
  373. package/dist/solutions/p-b81ebd54.entry.js +10 -0
  374. package/dist/solutions/p-b85c1b6a.entry.js +6 -0
  375. package/dist/solutions/p-bb3adfc7.entry.js +10 -0
  376. package/dist/solutions/p-c11b966c.entry.js +10 -0
  377. package/dist/solutions/p-c1e7f656.entry.js +6 -0
  378. package/dist/solutions/p-c27b17b8.entry.js +10 -0
  379. package/dist/solutions/p-c34e0641.js +1 -2
  380. package/dist/solutions/p-c5216bba.entry.js +10 -0
  381. package/dist/solutions/p-c8a69756.entry.js +10 -0
  382. package/dist/solutions/p-cb35cbb3.entry.js +6 -0
  383. package/dist/solutions/p-cb5cb9a8.js +1 -2
  384. package/dist/solutions/p-cef98db7.js +6 -0
  385. package/dist/solutions/p-d69bc5fd.entry.js +10 -0
  386. package/dist/solutions/p-de45b192.entry.js +6 -0
  387. package/dist/solutions/p-e4edca3b.js +1 -2
  388. package/dist/solutions/p-e581f631.js +1 -2
  389. package/dist/solutions/p-e762b2d1.js +3 -3
  390. package/dist/solutions/p-eb2efc0f.js +1 -2
  391. package/dist/solutions/p-ec178ea9.js +1 -2
  392. package/dist/solutions/p-ed17446f.entry.js +6 -0
  393. package/dist/solutions/p-edd6d948.entry.js +10 -0
  394. package/dist/solutions/p-ee6eca93.js +18 -0
  395. package/dist/solutions/{p-4573d7c2.js → p-f1867a12.js} +2 -3
  396. package/dist/solutions/p-f187755e.js +1 -2
  397. package/dist/solutions/p-f49bc4a8.js +1 -2
  398. package/dist/solutions/p-f75876eb.js +21 -0
  399. package/dist/solutions/p-f780039d.js +1 -2
  400. package/dist/solutions/p-fa58627d.entry.js +10 -0
  401. package/dist/solutions/p-fbdf3e06.js +2 -3
  402. package/dist/solutions/p-fc1c8168.js +3 -3
  403. package/dist/solutions/p-fd2712a3.entry.js +10 -0
  404. package/dist/solutions/solutions.esm.js +1 -2
  405. package/dist/solutions/utils/common.ts +42 -73
  406. package/dist/solutions/utils/interfaces.ts +126 -0
  407. package/dist/solutions/utils/templates.ts +19 -33
  408. package/dist/types/components/json-editor/json-editor.d.ts +11 -0
  409. package/dist/types/components/solution-configuration/solution-configuration.d.ts +73 -9
  410. package/dist/types/components/solution-contents/solution-contents.d.ts +2 -9
  411. package/dist/types/components/solution-item/solution-item.d.ts +1 -11
  412. package/dist/types/components/solution-item-details/solution-item-details.d.ts +1 -10
  413. package/dist/types/components/solution-item-sharing/solution-item-sharing.d.ts +1 -8
  414. package/dist/types/components/solution-organization-variables/solution-organization-variables.d.ts +1 -5
  415. package/dist/types/components/solution-resource-item/solution-resource-item.d.ts +1 -4
  416. package/dist/types/components/solution-spatial-ref/solution-spatial-ref.d.ts +14 -26
  417. package/dist/types/components/solution-spatial-ref/spatialreferences.d.ts +1 -4
  418. package/dist/types/components/solution-template-data/solution-template-data.d.ts +1 -7
  419. package/dist/types/components/solution-variables/solution-variables.d.ts +1 -7
  420. package/dist/types/components/store-manager/store-manager.d.ts +9 -0
  421. package/dist/types/components.d.ts +49 -17
  422. package/dist/types/utils/common.d.ts +13 -38
  423. package/dist/types/utils/interfaces.d.ts +111 -0
  424. package/dist/types/utils/templates.d.ts +2 -25
  425. package/package.json +4 -3
  426. package/dist/cjs/CalciteExpandToggle-3e4e3b6c.js.map +0 -1
  427. package/dist/cjs/CalciteHeading-d765addc.js.map +0 -1
  428. package/dist/cjs/array-cd6c0c32.js.map +0 -1
  429. package/dist/cjs/calcite-accordion-item.cjs.entry.js.map +0 -1
  430. package/dist/cjs/calcite-accordion.cjs.entry.js.map +0 -1
  431. package/dist/cjs/calcite-action-bar.cjs.entry.js.map +0 -1
  432. package/dist/cjs/calcite-action-group.cjs.entry.js.map +0 -1
  433. package/dist/cjs/calcite-action-menu_3.cjs.entry.js.map +0 -1
  434. package/dist/cjs/calcite-action-pad.cjs.entry.js.map +0 -1
  435. package/dist/cjs/calcite-action.cjs.entry.js.map +0 -1
  436. package/dist/cjs/calcite-alert.cjs.entry.js.map +0 -1
  437. package/dist/cjs/calcite-avatar.cjs.entry.js.map +0 -1
  438. package/dist/cjs/calcite-block-section.cjs.entry.js.map +0 -1
  439. package/dist/cjs/calcite-block.cjs.entry.js.map +0 -1
  440. package/dist/cjs/calcite-button.cjs.entry.js.map +0 -1
  441. package/dist/cjs/calcite-card.cjs.entry.js.map +0 -1
  442. package/dist/cjs/calcite-checkbox_4.cjs.entry.js.map +0 -1
  443. package/dist/cjs/calcite-chip.cjs.entry.js.map +0 -1
  444. package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js.map +0 -1
  445. package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js.map +0 -1
  446. package/dist/cjs/calcite-color-picker.cjs.entry.js.map +0 -1
  447. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js.map +0 -1
  448. package/dist/cjs/calcite-combobox-item.cjs.entry.js.map +0 -1
  449. package/dist/cjs/calcite-combobox.cjs.entry.js.map +0 -1
  450. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js.map +0 -1
  451. package/dist/cjs/calcite-date-picker.cjs.entry.js.map +0 -1
  452. package/dist/cjs/calcite-dropdown-group.cjs.entry.js.map +0 -1
  453. package/dist/cjs/calcite-dropdown-item.cjs.entry.js.map +0 -1
  454. package/dist/cjs/calcite-dropdown.cjs.entry.js.map +0 -1
  455. package/dist/cjs/calcite-fab.cjs.entry.js.map +0 -1
  456. package/dist/cjs/calcite-filter.cjs.entry.js.map +0 -1
  457. package/dist/cjs/calcite-flow.cjs.entry.js.map +0 -1
  458. package/dist/cjs/calcite-graph.cjs.entry.js.map +0 -1
  459. package/dist/cjs/calcite-handle.cjs.entry.js.map +0 -1
  460. package/dist/cjs/calcite-icon.cjs.entry.js.map +0 -1
  461. package/dist/cjs/calcite-inline-editable.cjs.entry.js.map +0 -1
  462. package/dist/cjs/calcite-input-date-picker.cjs.entry.js.map +0 -1
  463. package/dist/cjs/calcite-input-message.cjs.entry.js.map +0 -1
  464. package/dist/cjs/calcite-input-time-picker.cjs.entry.js.map +0 -1
  465. package/dist/cjs/calcite-input_2.cjs.entry.js.map +0 -1
  466. package/dist/cjs/calcite-label.cjs.entry.js.map +0 -1
  467. package/dist/cjs/calcite-link.cjs.entry.js.map +0 -1
  468. package/dist/cjs/calcite-list-item-group.cjs.entry.js.map +0 -1
  469. package/dist/cjs/calcite-list-item.cjs.entry.js.map +0 -1
  470. package/dist/cjs/calcite-list.cjs.entry.js.map +0 -1
  471. package/dist/cjs/calcite-loader.cjs.entry.js.map +0 -1
  472. package/dist/cjs/calcite-modal.cjs.entry.js.map +0 -1
  473. package/dist/cjs/calcite-notice.cjs.entry.js.map +0 -1
  474. package/dist/cjs/calcite-option-group.cjs.entry.js.map +0 -1
  475. package/dist/cjs/calcite-option.cjs.entry.js.map +0 -1
  476. package/dist/cjs/calcite-pagination.cjs.entry.js.map +0 -1
  477. package/dist/cjs/calcite-panel_14.cjs.entry.js.map +0 -1
  478. package/dist/cjs/calcite-pick-list-group.cjs.entry.js.map +0 -1
  479. package/dist/cjs/calcite-pick-list-item.cjs.entry.js.map +0 -1
  480. package/dist/cjs/calcite-pick-list.cjs.entry.js.map +0 -1
  481. package/dist/cjs/calcite-popover-manager.cjs.entry.js.map +0 -1
  482. package/dist/cjs/calcite-radio-button-group.cjs.entry.js.map +0 -1
  483. package/dist/cjs/calcite-radio-button.cjs.entry.js.map +0 -1
  484. package/dist/cjs/calcite-radio-group-item.cjs.entry.js.map +0 -1
  485. package/dist/cjs/calcite-radio-group.cjs.entry.js.map +0 -1
  486. package/dist/cjs/calcite-radio.cjs.entry.js.map +0 -1
  487. package/dist/cjs/calcite-rating.cjs.entry.js.map +0 -1
  488. package/dist/cjs/calcite-scrim.cjs.entry.js.map +0 -1
  489. package/dist/cjs/calcite-select.cjs.entry.js.map +0 -1
  490. package/dist/cjs/calcite-shell-center-row.cjs.entry.js.map +0 -1
  491. package/dist/cjs/calcite-slider.cjs.entry.js.map +0 -1
  492. package/dist/cjs/calcite-sortable-list.cjs.entry.js.map +0 -1
  493. package/dist/cjs/calcite-split-button.cjs.entry.js.map +0 -1
  494. package/dist/cjs/calcite-stepper-item.cjs.entry.js.map +0 -1
  495. package/dist/cjs/calcite-stepper.cjs.entry.js.map +0 -1
  496. package/dist/cjs/calcite-switch.cjs.entry.js.map +0 -1
  497. package/dist/cjs/calcite-tile-select-group.cjs.entry.js.map +0 -1
  498. package/dist/cjs/calcite-tile-select.cjs.entry.js.map +0 -1
  499. package/dist/cjs/calcite-tile.cjs.entry.js.map +0 -1
  500. package/dist/cjs/calcite-time-picker.cjs.entry.js.map +0 -1
  501. package/dist/cjs/calcite-tip-group.cjs.entry.js.map +0 -1
  502. package/dist/cjs/calcite-tip-manager.cjs.entry.js.map +0 -1
  503. package/dist/cjs/calcite-tip.cjs.entry.js.map +0 -1
  504. package/dist/cjs/calcite-tooltip.cjs.entry.js.map +0 -1
  505. package/dist/cjs/calcite-value-list-item.cjs.entry.js.map +0 -1
  506. package/dist/cjs/calcite-value-list.cjs.entry.js.map +0 -1
  507. package/dist/cjs/common-df66d950.js +0 -53
  508. package/dist/cjs/common-df66d950.js.map +0 -1
  509. package/dist/cjs/date-0554c4d1.js.map +0 -1
  510. package/dist/cjs/debounce-df22462b.js.map +0 -1
  511. package/dist/cjs/dom-62511f59.js.map +0 -1
  512. package/dist/cjs/editStore-7a250b85.js +0 -227
  513. package/dist/cjs/editStore-7a250b85.js.map +0 -1
  514. package/dist/cjs/forIn-6a1c2f6d.js.map +0 -1
  515. package/dist/cjs/form-0b5b2d4e.js.map +0 -1
  516. package/dist/cjs/guid-c6be9504.js.map +0 -1
  517. package/dist/cjs/index-706750dc.js.map +0 -1
  518. package/dist/cjs/index-81c17948.js.map +0 -1
  519. package/dist/cjs/index.cjs.js.map +0 -1
  520. package/dist/cjs/interfaces-5ba2c1a7.js.map +0 -1
  521. package/dist/cjs/key-2a6290c8.js.map +0 -1
  522. package/dist/cjs/label-46482470.js.map +0 -1
  523. package/dist/cjs/loader.cjs.js.map +0 -1
  524. package/dist/cjs/locale-0db34680.js.map +0 -1
  525. package/dist/cjs/math-71f8de66.js.map +0 -1
  526. package/dist/cjs/number-697ce34c.js.map +0 -1
  527. package/dist/cjs/observers-88bbd6ef.js.map +0 -1
  528. package/dist/cjs/popper-8c8dc960.js.map +0 -1
  529. package/dist/cjs/resources-20f88094.js.map +0 -1
  530. package/dist/cjs/resources-27c22d8a.js.map +0 -1
  531. package/dist/cjs/resources-369e7421.js.map +0 -1
  532. package/dist/cjs/resources-46af0638.js.map +0 -1
  533. package/dist/cjs/resources-509951f9.js.map +0 -1
  534. package/dist/cjs/resources-5b7958e4.js.map +0 -1
  535. package/dist/cjs/resources-a265534b.js.map +0 -1
  536. package/dist/cjs/resources-e231446d.js.map +0 -1
  537. package/dist/cjs/resources-ef6c71a1.js.map +0 -1
  538. package/dist/cjs/shared-list-render-63d3ea89.js.map +0 -1
  539. package/dist/cjs/solution-configuration.cjs.entry.js.map +0 -1
  540. package/dist/cjs/solution-contents_3.cjs.entry.js.map +0 -1
  541. package/dist/cjs/solutions.cjs.js.map +0 -1
  542. package/dist/cjs/sortable.esm-14548a17.js.map +0 -1
  543. package/dist/cjs/store-manager.cjs.entry.js.map +0 -1
  544. package/dist/cjs/templates-fe6dd431.js +0 -237
  545. package/dist/cjs/templates-fe6dd431.js.map +0 -1
  546. package/dist/cjs/time-c87dc79e.js.map +0 -1
  547. package/dist/cjs/utils-c19d354a.js.map +0 -1
  548. package/dist/cjs/utils-cb7373e6.js.map +0 -1
  549. package/dist/collection/components/json-editor/json-editor.js.map +0 -1
  550. package/dist/collection/components/solution-configuration/solution-configuration.js.map +0 -1
  551. package/dist/collection/components/solution-contents/solution-contents.js.map +0 -1
  552. package/dist/collection/components/solution-item/solution-item.js.map +0 -1
  553. package/dist/collection/components/solution-item-details/solution-item-details.js.map +0 -1
  554. package/dist/collection/components/solution-item-icon/solution-item-icon.js.map +0 -1
  555. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js.map +0 -1
  556. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js.map +0 -1
  557. package/dist/collection/components/solution-resource-item/solution-resource-item.js.map +0 -1
  558. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js.map +0 -1
  559. package/dist/collection/components/solution-spatial-ref/spatialreferences.js.map +0 -1
  560. package/dist/collection/components/solution-template-data/solution-template-data.js.map +0 -1
  561. package/dist/collection/components/solution-variables/solution-variables.js.map +0 -1
  562. package/dist/collection/components/store-manager/store-manager.js.map +0 -1
  563. package/dist/collection/index.js.map +0 -1
  564. package/dist/collection/utils/common.js.map +0 -1
  565. package/dist/collection/utils/editStore.js.map +0 -1
  566. package/dist/collection/utils/templates.js.map +0 -1
  567. package/dist/custom-elements/index.js.map +0 -1
  568. package/dist/esm/CalciteExpandToggle-5df46988.js.map +0 -1
  569. package/dist/esm/CalciteHeading-79b4b347.js.map +0 -1
  570. package/dist/esm/array-71e0c501.js.map +0 -1
  571. package/dist/esm/calcite-accordion-item.entry.js.map +0 -1
  572. package/dist/esm/calcite-accordion.entry.js.map +0 -1
  573. package/dist/esm/calcite-action-bar.entry.js.map +0 -1
  574. package/dist/esm/calcite-action-group.entry.js.map +0 -1
  575. package/dist/esm/calcite-action-menu_3.entry.js.map +0 -1
  576. package/dist/esm/calcite-action-pad.entry.js.map +0 -1
  577. package/dist/esm/calcite-action.entry.js.map +0 -1
  578. package/dist/esm/calcite-alert.entry.js.map +0 -1
  579. package/dist/esm/calcite-avatar.entry.js.map +0 -1
  580. package/dist/esm/calcite-block-section.entry.js.map +0 -1
  581. package/dist/esm/calcite-block.entry.js.map +0 -1
  582. package/dist/esm/calcite-button.entry.js.map +0 -1
  583. package/dist/esm/calcite-card.entry.js.map +0 -1
  584. package/dist/esm/calcite-checkbox_4.entry.js.map +0 -1
  585. package/dist/esm/calcite-chip.entry.js.map +0 -1
  586. package/dist/esm/calcite-color-picker-hex-input.entry.js.map +0 -1
  587. package/dist/esm/calcite-color-picker-swatch.entry.js.map +0 -1
  588. package/dist/esm/calcite-color-picker.entry.js.map +0 -1
  589. package/dist/esm/calcite-combobox-item-group.entry.js.map +0 -1
  590. package/dist/esm/calcite-combobox-item.entry.js.map +0 -1
  591. package/dist/esm/calcite-combobox.entry.js.map +0 -1
  592. package/dist/esm/calcite-date-picker-day_3.entry.js.map +0 -1
  593. package/dist/esm/calcite-date-picker.entry.js.map +0 -1
  594. package/dist/esm/calcite-dropdown-group.entry.js.map +0 -1
  595. package/dist/esm/calcite-dropdown-item.entry.js.map +0 -1
  596. package/dist/esm/calcite-dropdown.entry.js.map +0 -1
  597. package/dist/esm/calcite-fab.entry.js.map +0 -1
  598. package/dist/esm/calcite-filter.entry.js.map +0 -1
  599. package/dist/esm/calcite-flow.entry.js.map +0 -1
  600. package/dist/esm/calcite-graph.entry.js.map +0 -1
  601. package/dist/esm/calcite-handle.entry.js.map +0 -1
  602. package/dist/esm/calcite-icon.entry.js.map +0 -1
  603. package/dist/esm/calcite-inline-editable.entry.js.map +0 -1
  604. package/dist/esm/calcite-input-date-picker.entry.js.map +0 -1
  605. package/dist/esm/calcite-input-message.entry.js.map +0 -1
  606. package/dist/esm/calcite-input-time-picker.entry.js.map +0 -1
  607. package/dist/esm/calcite-input_2.entry.js.map +0 -1
  608. package/dist/esm/calcite-label.entry.js.map +0 -1
  609. package/dist/esm/calcite-link.entry.js.map +0 -1
  610. package/dist/esm/calcite-list-item-group.entry.js.map +0 -1
  611. package/dist/esm/calcite-list-item.entry.js.map +0 -1
  612. package/dist/esm/calcite-list.entry.js.map +0 -1
  613. package/dist/esm/calcite-loader.entry.js.map +0 -1
  614. package/dist/esm/calcite-modal.entry.js.map +0 -1
  615. package/dist/esm/calcite-notice.entry.js.map +0 -1
  616. package/dist/esm/calcite-option-group.entry.js.map +0 -1
  617. package/dist/esm/calcite-option.entry.js.map +0 -1
  618. package/dist/esm/calcite-pagination.entry.js.map +0 -1
  619. package/dist/esm/calcite-panel_14.entry.js.map +0 -1
  620. package/dist/esm/calcite-pick-list-group.entry.js.map +0 -1
  621. package/dist/esm/calcite-pick-list-item.entry.js.map +0 -1
  622. package/dist/esm/calcite-pick-list.entry.js.map +0 -1
  623. package/dist/esm/calcite-popover-manager.entry.js.map +0 -1
  624. package/dist/esm/calcite-radio-button-group.entry.js.map +0 -1
  625. package/dist/esm/calcite-radio-button.entry.js.map +0 -1
  626. package/dist/esm/calcite-radio-group-item.entry.js.map +0 -1
  627. package/dist/esm/calcite-radio-group.entry.js.map +0 -1
  628. package/dist/esm/calcite-radio.entry.js.map +0 -1
  629. package/dist/esm/calcite-rating.entry.js.map +0 -1
  630. package/dist/esm/calcite-scrim.entry.js.map +0 -1
  631. package/dist/esm/calcite-select.entry.js.map +0 -1
  632. package/dist/esm/calcite-shell-center-row.entry.js.map +0 -1
  633. package/dist/esm/calcite-slider.entry.js.map +0 -1
  634. package/dist/esm/calcite-sortable-list.entry.js.map +0 -1
  635. package/dist/esm/calcite-split-button.entry.js.map +0 -1
  636. package/dist/esm/calcite-stepper-item.entry.js.map +0 -1
  637. package/dist/esm/calcite-stepper.entry.js.map +0 -1
  638. package/dist/esm/calcite-switch.entry.js.map +0 -1
  639. package/dist/esm/calcite-tile-select-group.entry.js.map +0 -1
  640. package/dist/esm/calcite-tile-select.entry.js.map +0 -1
  641. package/dist/esm/calcite-tile.entry.js.map +0 -1
  642. package/dist/esm/calcite-time-picker.entry.js.map +0 -1
  643. package/dist/esm/calcite-tip-group.entry.js.map +0 -1
  644. package/dist/esm/calcite-tip-manager.entry.js.map +0 -1
  645. package/dist/esm/calcite-tip.entry.js.map +0 -1
  646. package/dist/esm/calcite-tooltip.entry.js.map +0 -1
  647. package/dist/esm/calcite-value-list-item.entry.js.map +0 -1
  648. package/dist/esm/calcite-value-list.entry.js.map +0 -1
  649. package/dist/esm/common-ccccf04d.js +0 -50
  650. package/dist/esm/common-ccccf04d.js.map +0 -1
  651. package/dist/esm/date-5d75460a.js.map +0 -1
  652. package/dist/esm/debounce-23ad5849.js.map +0 -1
  653. package/dist/esm/dom-1cc617ae.js.map +0 -1
  654. package/dist/esm/editStore-30a293f5.js +0 -225
  655. package/dist/esm/editStore-30a293f5.js.map +0 -1
  656. package/dist/esm/forIn-c922d47c.js.map +0 -1
  657. package/dist/esm/form-636dfed1.js.map +0 -1
  658. package/dist/esm/guid-740f1f1a.js.map +0 -1
  659. package/dist/esm/index-934f242e.js.map +0 -1
  660. package/dist/esm/index-a3c3e3db.js.map +0 -1
  661. package/dist/esm/index.js.map +0 -1
  662. package/dist/esm/interfaces-4f07beec.js.map +0 -1
  663. package/dist/esm/key-1748eb79.js.map +0 -1
  664. package/dist/esm/label-851f8926.js.map +0 -1
  665. package/dist/esm/loader.js.map +0 -1
  666. package/dist/esm/locale-31c8d43b.js.map +0 -1
  667. package/dist/esm/math-d8795f31.js.map +0 -1
  668. package/dist/esm/number-47ecb380.js.map +0 -1
  669. package/dist/esm/observers-b13ff24b.js.map +0 -1
  670. package/dist/esm/popper-25874f2f.js.map +0 -1
  671. package/dist/esm/resources-12c3b829.js.map +0 -1
  672. package/dist/esm/resources-32d7dd89.js.map +0 -1
  673. package/dist/esm/resources-466ccf86.js.map +0 -1
  674. package/dist/esm/resources-4cc0ef44.js.map +0 -1
  675. package/dist/esm/resources-861d0240.js.map +0 -1
  676. package/dist/esm/resources-b023c30a.js.map +0 -1
  677. package/dist/esm/resources-c537bacb.js.map +0 -1
  678. package/dist/esm/resources-e56b6e53.js.map +0 -1
  679. package/dist/esm/resources-ec79cfd7.js.map +0 -1
  680. package/dist/esm/shared-list-render-b5dacd2e.js.map +0 -1
  681. package/dist/esm/solution-configuration.entry.js.map +0 -1
  682. package/dist/esm/solution-contents_3.entry.js.map +0 -1
  683. package/dist/esm/solutions.js.map +0 -1
  684. package/dist/esm/sortable.esm-7856912e.js.map +0 -1
  685. package/dist/esm/store-manager.entry.js.map +0 -1
  686. package/dist/esm/templates-3480c08e.js +0 -230
  687. package/dist/esm/templates-3480c08e.js.map +0 -1
  688. package/dist/esm/time-a3b29c35.js.map +0 -1
  689. package/dist/esm/utils-021cb956.js.map +0 -1
  690. package/dist/esm/utils-5fdd203c.js.map +0 -1
  691. package/dist/solutions/index.esm.js.map +0 -1
  692. package/dist/solutions/p-019fe34e.entry.js +0 -11
  693. package/dist/solutions/p-019fe34e.entry.js.map +0 -1
  694. package/dist/solutions/p-01d537aa.entry.js +0 -11
  695. package/dist/solutions/p-01d537aa.entry.js.map +0 -1
  696. package/dist/solutions/p-05c73b7d.js.map +0 -1
  697. package/dist/solutions/p-05da6de1.entry.js +0 -11
  698. package/dist/solutions/p-05da6de1.entry.js.map +0 -1
  699. package/dist/solutions/p-05eb87fc.entry.js +0 -11
  700. package/dist/solutions/p-05eb87fc.entry.js.map +0 -1
  701. package/dist/solutions/p-07099311.entry.js.map +0 -1
  702. package/dist/solutions/p-07f15398.entry.js +0 -7
  703. package/dist/solutions/p-07f15398.entry.js.map +0 -1
  704. package/dist/solutions/p-093edbdc.entry.js +0 -11
  705. package/dist/solutions/p-093edbdc.entry.js.map +0 -1
  706. package/dist/solutions/p-0b8525e2.js.map +0 -1
  707. package/dist/solutions/p-0c91e100.js +0 -7
  708. package/dist/solutions/p-0c91e100.js.map +0 -1
  709. package/dist/solutions/p-0fcee724.entry.js +0 -7
  710. package/dist/solutions/p-0fcee724.entry.js.map +0 -1
  711. package/dist/solutions/p-17a2150d.entry.js +0 -11
  712. package/dist/solutions/p-17a2150d.entry.js.map +0 -1
  713. package/dist/solutions/p-1aaa9800.entry.js +0 -7
  714. package/dist/solutions/p-1aaa9800.entry.js.map +0 -1
  715. package/dist/solutions/p-228131f3.js.map +0 -1
  716. package/dist/solutions/p-22d67647.entry.js +0 -11
  717. package/dist/solutions/p-22d67647.entry.js.map +0 -1
  718. package/dist/solutions/p-291cbb4f.js.map +0 -1
  719. package/dist/solutions/p-2a5c409a.entry.js +0 -7
  720. package/dist/solutions/p-2a5c409a.entry.js.map +0 -1
  721. package/dist/solutions/p-2aca233c.entry.js +0 -11
  722. package/dist/solutions/p-2aca233c.entry.js.map +0 -1
  723. package/dist/solutions/p-2b6ef800.entry.js +0 -7
  724. package/dist/solutions/p-2b6ef800.entry.js.map +0 -1
  725. package/dist/solutions/p-2bae730e.entry.js +0 -11
  726. package/dist/solutions/p-2bae730e.entry.js.map +0 -1
  727. package/dist/solutions/p-2d59c6d7.entry.js +0 -11
  728. package/dist/solutions/p-2d59c6d7.entry.js.map +0 -1
  729. package/dist/solutions/p-2e1cd889.js.map +0 -1
  730. package/dist/solutions/p-35eafdfb.entry.js +0 -11
  731. package/dist/solutions/p-35eafdfb.entry.js.map +0 -1
  732. package/dist/solutions/p-372da016.entry.js +0 -7
  733. package/dist/solutions/p-372da016.entry.js.map +0 -1
  734. package/dist/solutions/p-37407f95.entry.js +0 -7
  735. package/dist/solutions/p-37407f95.entry.js.map +0 -1
  736. package/dist/solutions/p-3ae90cbb.entry.js +0 -7
  737. package/dist/solutions/p-3ae90cbb.entry.js.map +0 -1
  738. package/dist/solutions/p-3c3ccd03.entry.js +0 -11
  739. package/dist/solutions/p-3c3ccd03.entry.js.map +0 -1
  740. package/dist/solutions/p-3e168893.entry.js +0 -11
  741. package/dist/solutions/p-3e168893.entry.js.map +0 -1
  742. package/dist/solutions/p-3e67ed97.js.map +0 -1
  743. package/dist/solutions/p-3ed5096e.entry.js +0 -11
  744. package/dist/solutions/p-3ed5096e.entry.js.map +0 -1
  745. package/dist/solutions/p-41c2e1cc.js.map +0 -1
  746. package/dist/solutions/p-44e661a2.js.map +0 -1
  747. package/dist/solutions/p-4573d7c2.js.map +0 -1
  748. package/dist/solutions/p-4635ae4a.entry.js +0 -11
  749. package/dist/solutions/p-4635ae4a.entry.js.map +0 -1
  750. package/dist/solutions/p-46bcadbd.entry.js +0 -11
  751. package/dist/solutions/p-46bcadbd.entry.js.map +0 -1
  752. package/dist/solutions/p-4b0b2534.entry.js +0 -11
  753. package/dist/solutions/p-4b0b2534.entry.js.map +0 -1
  754. package/dist/solutions/p-51e4c002.entry.js +0 -7
  755. package/dist/solutions/p-51e4c002.entry.js.map +0 -1
  756. package/dist/solutions/p-520d8443.entry.js +0 -11
  757. package/dist/solutions/p-520d8443.entry.js.map +0 -1
  758. package/dist/solutions/p-591d5666.entry.js +0 -11
  759. package/dist/solutions/p-591d5666.entry.js.map +0 -1
  760. package/dist/solutions/p-5aff6fc3.entry.js +0 -11
  761. package/dist/solutions/p-5aff6fc3.entry.js.map +0 -1
  762. package/dist/solutions/p-5c95f5ee.entry.js +0 -11
  763. package/dist/solutions/p-5c95f5ee.entry.js.map +0 -1
  764. package/dist/solutions/p-606933f1.entry.js +0 -11
  765. package/dist/solutions/p-606933f1.entry.js.map +0 -1
  766. package/dist/solutions/p-62464fb3.entry.js +0 -11
  767. package/dist/solutions/p-62464fb3.entry.js.map +0 -1
  768. package/dist/solutions/p-6e970d4c.entry.js +0 -7
  769. package/dist/solutions/p-6e970d4c.entry.js.map +0 -1
  770. package/dist/solutions/p-6f861da6.entry.js +0 -11
  771. package/dist/solutions/p-6f861da6.entry.js.map +0 -1
  772. package/dist/solutions/p-7096464e.js.map +0 -1
  773. package/dist/solutions/p-73e2d13f.js.map +0 -1
  774. package/dist/solutions/p-745f85bf.entry.js +0 -11
  775. package/dist/solutions/p-745f85bf.entry.js.map +0 -1
  776. package/dist/solutions/p-7480bdae.entry.js +0 -7
  777. package/dist/solutions/p-7480bdae.entry.js.map +0 -1
  778. package/dist/solutions/p-7611d9ad.entry.js +0 -11
  779. package/dist/solutions/p-7611d9ad.entry.js.map +0 -1
  780. package/dist/solutions/p-77b056db.entry.js +0 -7
  781. package/dist/solutions/p-77b056db.entry.js.map +0 -1
  782. package/dist/solutions/p-7804ce97.js.map +0 -1
  783. package/dist/solutions/p-7cc15662.entry.js +0 -15
  784. package/dist/solutions/p-7cc15662.entry.js.map +0 -1
  785. package/dist/solutions/p-7cc9c6af.js.map +0 -1
  786. package/dist/solutions/p-7d84c932.entry.js +0 -11
  787. package/dist/solutions/p-7d84c932.entry.js.map +0 -1
  788. package/dist/solutions/p-7df393df.js.map +0 -1
  789. package/dist/solutions/p-7f49ef40.entry.js +0 -11
  790. package/dist/solutions/p-7f49ef40.entry.js.map +0 -1
  791. package/dist/solutions/p-7f5c2987.entry.js +0 -7
  792. package/dist/solutions/p-7f5c2987.entry.js.map +0 -1
  793. package/dist/solutions/p-7fd90af2.entry.js +0 -11
  794. package/dist/solutions/p-7fd90af2.entry.js.map +0 -1
  795. package/dist/solutions/p-815449b1.entry.js +0 -11
  796. package/dist/solutions/p-815449b1.entry.js.map +0 -1
  797. package/dist/solutions/p-819aff56.entry.js +0 -11
  798. package/dist/solutions/p-819aff56.entry.js.map +0 -1
  799. package/dist/solutions/p-85cf288c.js.map +0 -1
  800. package/dist/solutions/p-87d812ce.entry.js +0 -7
  801. package/dist/solutions/p-87d812ce.entry.js.map +0 -1
  802. package/dist/solutions/p-8b616d33.entry.js +0 -7
  803. package/dist/solutions/p-8b616d33.entry.js.map +0 -1
  804. package/dist/solutions/p-8efca26d.entry.js +0 -7
  805. package/dist/solutions/p-8efca26d.entry.js.map +0 -1
  806. package/dist/solutions/p-946521e1.js.map +0 -1
  807. package/dist/solutions/p-970f1072.js +0 -22
  808. package/dist/solutions/p-970f1072.js.map +0 -1
  809. package/dist/solutions/p-9a953609.entry.js +0 -11
  810. package/dist/solutions/p-9a953609.entry.js.map +0 -1
  811. package/dist/solutions/p-9b381784.entry.js +0 -11
  812. package/dist/solutions/p-9b381784.entry.js.map +0 -1
  813. package/dist/solutions/p-9dad5583.entry.js +0 -11
  814. package/dist/solutions/p-9dad5583.entry.js.map +0 -1
  815. package/dist/solutions/p-9df9ac35.js.map +0 -1
  816. package/dist/solutions/p-9ee74ad4.entry.js +0 -7
  817. package/dist/solutions/p-9ee74ad4.entry.js.map +0 -1
  818. package/dist/solutions/p-9fab6046.entry.js +0 -22
  819. package/dist/solutions/p-9fab6046.entry.js.map +0 -1
  820. package/dist/solutions/p-9fc06fc3.entry.js +0 -15
  821. package/dist/solutions/p-9fc06fc3.entry.js.map +0 -1
  822. package/dist/solutions/p-a10dc180.js.map +0 -1
  823. package/dist/solutions/p-a1c40865.entry.js +0 -11
  824. package/dist/solutions/p-a1c40865.entry.js.map +0 -1
  825. package/dist/solutions/p-a3b16f15.entry.js +0 -7
  826. package/dist/solutions/p-a3b16f15.entry.js.map +0 -1
  827. package/dist/solutions/p-a7906d52.entry.js +0 -11
  828. package/dist/solutions/p-a7906d52.entry.js.map +0 -1
  829. package/dist/solutions/p-a8a106f7.entry.js +0 -7
  830. package/dist/solutions/p-a8a106f7.entry.js.map +0 -1
  831. package/dist/solutions/p-a8d2d1a3.entry.js +0 -7
  832. package/dist/solutions/p-a8d2d1a3.entry.js.map +0 -1
  833. package/dist/solutions/p-a98c5d29.entry.js +0 -11
  834. package/dist/solutions/p-a98c5d29.entry.js.map +0 -1
  835. package/dist/solutions/p-a9df64c4.js.map +0 -1
  836. package/dist/solutions/p-ad54d2e2.entry.js +0 -11
  837. package/dist/solutions/p-ad54d2e2.entry.js.map +0 -1
  838. package/dist/solutions/p-adf3704d.entry.js +0 -11
  839. package/dist/solutions/p-adf3704d.entry.js.map +0 -1
  840. package/dist/solutions/p-af46b00f.entry.js +0 -11
  841. package/dist/solutions/p-af46b00f.entry.js.map +0 -1
  842. package/dist/solutions/p-af9be2ca.js.map +0 -1
  843. package/dist/solutions/p-b797d79b.entry.js +0 -23
  844. package/dist/solutions/p-b797d79b.entry.js.map +0 -1
  845. package/dist/solutions/p-c09fc04d.entry.js +0 -11
  846. package/dist/solutions/p-c09fc04d.entry.js.map +0 -1
  847. package/dist/solutions/p-c11f84d9.entry.js +0 -11
  848. package/dist/solutions/p-c11f84d9.entry.js.map +0 -1
  849. package/dist/solutions/p-c195dbb7.entry.js +0 -7
  850. package/dist/solutions/p-c195dbb7.entry.js.map +0 -1
  851. package/dist/solutions/p-c34e0641.js.map +0 -1
  852. package/dist/solutions/p-c5428bbc.entry.js +0 -11
  853. package/dist/solutions/p-c5428bbc.entry.js.map +0 -1
  854. package/dist/solutions/p-cb5cb9a8.js.map +0 -1
  855. package/dist/solutions/p-ce3e9060.entry.js +0 -11
  856. package/dist/solutions/p-ce3e9060.entry.js.map +0 -1
  857. package/dist/solutions/p-d132d8ad.entry.js +0 -7
  858. package/dist/solutions/p-d132d8ad.entry.js.map +0 -1
  859. package/dist/solutions/p-d320e3a2.entry.js +0 -7
  860. package/dist/solutions/p-d320e3a2.entry.js.map +0 -1
  861. package/dist/solutions/p-d70ef015.entry.js +0 -11
  862. package/dist/solutions/p-d70ef015.entry.js.map +0 -1
  863. package/dist/solutions/p-e4edca3b.js.map +0 -1
  864. package/dist/solutions/p-e581f631.js.map +0 -1
  865. package/dist/solutions/p-e65a8700.entry.js +0 -11
  866. package/dist/solutions/p-e65a8700.entry.js.map +0 -1
  867. package/dist/solutions/p-e762b2d1.js.map +0 -1
  868. package/dist/solutions/p-eb2efc0f.js.map +0 -1
  869. package/dist/solutions/p-ec178ea9.js.map +0 -1
  870. package/dist/solutions/p-ecbfddde.js.map +0 -1
  871. package/dist/solutions/p-eceb11d1.js +0 -22
  872. package/dist/solutions/p-eceb11d1.js.map +0 -1
  873. package/dist/solutions/p-ede2beab.entry.js +0 -7
  874. package/dist/solutions/p-ede2beab.entry.js.map +0 -1
  875. package/dist/solutions/p-f0a6135d.entry.js +0 -11
  876. package/dist/solutions/p-f0a6135d.entry.js.map +0 -1
  877. package/dist/solutions/p-f187755e.js.map +0 -1
  878. package/dist/solutions/p-f3c6b68d.entry.js +0 -7
  879. package/dist/solutions/p-f3c6b68d.entry.js.map +0 -1
  880. package/dist/solutions/p-f49bc4a8.js.map +0 -1
  881. package/dist/solutions/p-f6e8ee98.entry.js +0 -7
  882. package/dist/solutions/p-f6e8ee98.entry.js.map +0 -1
  883. package/dist/solutions/p-f780039d.js.map +0 -1
  884. package/dist/solutions/p-fa40e7e7.entry.js +0 -7
  885. package/dist/solutions/p-fa40e7e7.entry.js.map +0 -1
  886. package/dist/solutions/p-fb25fc4a.entry.js +0 -7
  887. package/dist/solutions/p-fb25fc4a.entry.js.map +0 -1
  888. package/dist/solutions/p-fbdf3e06.js.map +0 -1
  889. package/dist/solutions/p-fc1c8168.js.map +0 -1
  890. package/dist/solutions/p-ff3697a9.entry.js +0 -7
  891. package/dist/solutions/p-ff3697a9.entry.js.map +0 -1
  892. package/dist/solutions/solutions.esm.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"sources":["node_modules/@popperjs/core/lib/enums.js","node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","node_modules/@popperjs/core/lib/dom-utils/getWindow.js","node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","node_modules/@popperjs/core/lib/modifiers/applyStyles.js","node_modules/@popperjs/core/lib/utils/getBasePlacement.js","node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js","node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js","node_modules/@popperjs/core/lib/dom-utils/contains.js","node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js","node_modules/@popperjs/core/lib/dom-utils/isTableElement.js","node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js","node_modules/@popperjs/core/lib/dom-utils/getParentNode.js","node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js","node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js","node_modules/@popperjs/core/lib/utils/math.js","node_modules/@popperjs/core/lib/utils/within.js","node_modules/@popperjs/core/lib/utils/getFreshSideObject.js","node_modules/@popperjs/core/lib/utils/mergePaddingObject.js","node_modules/@popperjs/core/lib/utils/expandToHashMap.js","node_modules/@popperjs/core/lib/modifiers/arrow.js","node_modules/@popperjs/core/lib/utils/getVariation.js","node_modules/@popperjs/core/lib/modifiers/computeStyles.js","node_modules/@popperjs/core/lib/modifiers/eventListeners.js","node_modules/@popperjs/core/lib/utils/getOppositePlacement.js","node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js","node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js","node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js","node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js","node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js","node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js","node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js","node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js","node_modules/@popperjs/core/lib/utils/rectToClientRect.js","node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js","node_modules/@popperjs/core/lib/utils/computeOffsets.js","node_modules/@popperjs/core/lib/utils/detectOverflow.js","node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js","node_modules/@popperjs/core/lib/modifiers/flip.js","node_modules/@popperjs/core/lib/modifiers/hide.js","node_modules/@popperjs/core/lib/modifiers/offset.js","node_modules/@popperjs/core/lib/modifiers/popperOffsets.js","node_modules/@popperjs/core/lib/utils/getAltAxis.js","node_modules/@popperjs/core/lib/modifiers/preventOverflow.js","node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js","node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js","node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js","node_modules/@popperjs/core/lib/utils/orderModifiers.js","node_modules/@popperjs/core/lib/utils/debounce.js","node_modules/@popperjs/core/lib/utils/mergeByName.js","node_modules/@popperjs/core/lib/createPopper.js","node_modules/@popperjs/core/lib/popper.js","node_modules/@esri/calcite-components/dist/collection/utils/popper.js"],"names":["top","bottom","right","left","auto","basePlacements","start","end","clippingParents","viewport","popper","reference","variationPlacements","reduce","acc","placement","concat","placements","beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite","modifierPhases","getNodeName","element","nodeName","toLowerCase","getWindow","node","window","toString","ownerDocument","defaultView","isElement","OwnElement","Element","isHTMLElement","HTMLElement","isShadowRoot","ShadowRoot","applyStyles","_ref","state","Object","keys","elements","forEach","name","style","styles","attributes","assign","value","removeAttribute","setAttribute","effect","_ref2","initialStyles","position","options","strategy","margin","arrow","styleProperties","hasOwnProperty","property","attribute","applyStyles$1","enabled","phase","fn","requires","getBasePlacement","split","getBoundingClientRect","includeScale","rect","scaleX","scaleY","width","height","x","y","getLayoutRect","clientRect","offsetWidth","offsetHeight","Math","abs","offsetLeft","offsetTop","contains","parent","child","rootNode","getRootNode","next","isSameNode","parentNode","host","getComputedStyle","isTableElement","indexOf","getDocumentElement","document","documentElement","getParentNode","assignedSlot","getTrueOffsetParent","offsetParent","getContainingBlock","isFirefox","navigator","userAgent","isIE","elementCss","currentNode","css","transform","perspective","contain","willChange","filter","getOffsetParent","getMainAxisFromPlacement","max","min","round","within","mathMax","mathMin","getFreshSideObject","mergePaddingObject","paddingObject","expandToHashMap","hashMap","key","toPaddingObject","padding","rects","_state$modifiersData$","arrowElement","popperOffsets","modifiersData","basePlacement","axis","isVertical","len","arrowRect","minProp","maxProp","endDiff","startDiff","arrowOffsetParent","clientSize","clientHeight","clientWidth","centerToReference","center","offset","axisProp","centerOffset","_options$element","querySelector","arrow$1","requiresIfExists","getVariation","unsetSides","roundOffsetsByDPR","win","dpr","devicePixelRatio","mapToStyles","_Object$assign2","popperRect","variation","offsets","gpuAcceleration","adaptive","roundOffsets","_ref3","_ref3$x","_ref3$y","hasX","hasY","sideX","sideY","heightProp","widthProp","commonStyles","_Object$assign","computeStyles","_ref4","_options$gpuAccelerat","_options$adaptive","_options$roundOffsets","data-popper-placement","computeStyles$1","data","passive","instance","_options$scroll","scroll","_options$resize","resize","scrollParents","scrollParent","addEventListener","update","removeEventListener","eventListeners","hash","getOppositePlacement","replace","matched","getOppositeVariationPlacement","getWindowScroll","scrollLeft","pageXOffset","scrollTop","pageYOffset","getWindowScrollBarX","getViewportRect","html","visualViewport","test","getDocumentRect","_element$ownerDocumen","winScroll","body","scrollWidth","scrollHeight","direction","isScrollParent","_getComputedStyle","overflow","overflowX","overflowY","getScrollParent","listScrollParents","list","isBody","target","updatedList","rectToClientRect","getInnerBoundingClientRect","clientTop","clientLeft","getClientRectFromMixedType","clippingParent","getClippingParents","canEscapeClipping","clipperElement","getClippingRect","boundary","rootBoundary","mainClippingParents","firstClippingParent","clippingRect","accRect","computeOffsets","commonX","commonY","mainAxis","detectOverflow","_options","_options$placement","_options$boundary","_options$rootBoundary","_options$elementConte","elementContext","_options$altBoundary","altBoundary","_options$padding","altContext","clippingClientRect","contextElement","referenceClientRect","popperClientRect","elementClientRect","overflowOffsets","offsetData","multiply","computeAutoPlacement","flipVariations","_options$allowedAutoP","allowedAutoPlacements","allPlacements","allowedPlacements","length","overflows","sort","a","b","getExpandedFallbackPlacements","oppositePlacement","flip","_skip","_options$mainAxis","checkMainAxis","_options$altAxis","altAxis","checkAltAxis","specifiedFallbackPlacements","fallbackPlacements","_options$flipVariatio","preferredPlacement","isBasePlacement","referenceRect","checksMap","Map","makeFallbackChecks","firstFittingPlacement","i","_basePlacement","isStartVariation","mainVariationSide","altVariationSide","checks","push","every","check","set","numberOfChecks","_loop","_i","fittingPlacement","find","get","slice","_ret","reset","flip$1","getSideOffsets","preventedOffsets","isAnySideFullyClipped","some","side","hide","preventOverflow","referenceOverflow","popperAltOverflow","referenceClippingOffsets","popperEscapeOffsets","isReferenceHidden","hasPopperEscaped","data-popper-reference-hidden","data-popper-escaped","hide$1","distanceAndSkiddingToXY","invertDistance","skidding","distance","_options$offset","_data$state$placement","offset$1","popperOffsets$1","getAltAxis","_options$tether","tether","_options$tetherOffset","tetherOffset","tetherOffsetValue","mainSide","altSide","additive","minLen","maxLen","arrowPaddingObject","arrowPaddingMin","arrowPaddingMax","arrowLen","minOffset","maxOffset","clientOffset","offsetModifierValue","tetherMin","tetherMax","preventedOffset","_mainSide","_altSide","_offset","_min","_max","_preventedOffset","preventOverflow$1","getHTMLElementScroll","getNodeScroll","isElementScaled","getCompositeRect","elementOrVirtualElement","isFixed","isOffsetParentAnElement","order","modifiers","map","visited","Set","result","modifier","add","dep","has","depModifier","orderModifiers","orderedModifiers","debounce","pending","Promise","resolve","then","undefined","mergeByName","merged","current","existing","DEFAULT_OPTIONS","areValidElements","_len","arguments","args","Array","_key","popperGenerator","generatorOptions","_generatorOptions","_generatorOptions$def","defaultModifiers","_generatorOptions$def2","defaultOptions","createPopper","effectCleanupFns","isDestroyed","setOptions","setOptionsAction","cleanupModifierEffects","m","runModifierEffects","forceUpdate","_state$elements","index","_state$orderedModifie","_state$orderedModifie2","destroy","onFirstUpdate","_ref3$options","cleanupFn","noopFn","CSS","animation","animationActive","getPlacement","el","variations","getElementDir","reverse","referenceEl","overlayPositioning","setupPopper","async","updatePopper","PopperPlacement","hypotenuse","sideA","sideB","sqrt","pow","visiblePointerSize","defaultOffsetDistance","ceil"],"mappings":";;;;;oCAAO,IAAIA,EAAM,MACV,IAAIC,EAAS,SACb,IAAIC,EAAQ,QACZ,IAAIC,EAAO,OACX,IAAIC,EAAO,OACX,IAAIC,EAAiB,CAACL,EAAKC,EAAQC,EAAOC,GAC1C,IAAIG,EAAQ,QACZ,IAAIC,EAAM,MACV,IAAIC,EAAkB,kBACtB,IAAIC,EAAW,WACf,IAAIC,EAAS,SACb,IAAIC,EAAY,YAChB,IAAIC,EAAmCP,EAAeQ,QAAO,SAAUC,EAAKC,GACjF,OAAOD,EAAIE,OAAO,CAACD,EAAY,IAAMT,EAAOS,EAAY,IAAMR,MAC7D,IACI,IAAIU,EAA0B,GAAGD,OAAOX,EAAgB,CAACD,IAAOS,QAAO,SAAUC,EAAKC,GAC3F,OAAOD,EAAIE,OAAO,CAACD,EAAWA,EAAY,IAAMT,EAAOS,EAAY,IAAMR,MACxE,IAEI,IAAIW,EAAa,aACjB,IAAIC,EAAO,OACX,IAAIC,EAAY,YAEhB,IAAIC,EAAa,aACjB,IAAIC,EAAO,OACX,IAAIC,EAAY,YAEhB,IAAIC,EAAc,cAClB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,MAACC,GAAwB7X,KAAK8X,KAAKP,GAAWK,GAAoBA","sourcesContent":["export var top = 'top';\nexport var bottom = 'bottom';\nexport var right = 'right';\nexport var left = 'left';\nexport var auto = 'auto';\nexport var basePlacements = [top, bottom, right, left];\nexport var start = 'start';\nexport var end = 'end';\nexport var clippingParents = 'clippingParents';\nexport var viewport = 'viewport';\nexport var popper = 'popper';\nexport var reference = 'reference';\nexport var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {\n return acc.concat([placement + \"-\" + start, placement + \"-\" + end]);\n}, []);\nexport var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {\n return acc.concat([placement, placement + \"-\" + start, placement + \"-\" + end]);\n}, []); // modifiers that need to read the DOM\n\nexport var beforeRead = 'beforeRead';\nexport var read = 'read';\nexport var afterRead = 'afterRead'; // pure-logic modifiers\n\nexport var beforeMain = 'beforeMain';\nexport var main = 'main';\nexport var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)\n\nexport var beforeWrite = 'beforeWrite';\nexport var write = 'write';\nexport var afterWrite = 'afterWrite';\nexport var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];","export default function getNodeName(element) {\n return element ? (element.nodeName || '').toLowerCase() : null;\n}","export default function getWindow(node) {\n if (node == null) {\n return window;\n }\n\n if (node.toString() !== '[object Window]') {\n var ownerDocument = node.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView || window : window;\n }\n\n return node;\n}","import getWindow from \"./getWindow.js\";\n\nfunction isElement(node) {\n var OwnElement = getWindow(node).Element;\n return node instanceof OwnElement || node instanceof Element;\n}\n\nfunction isHTMLElement(node) {\n var OwnElement = getWindow(node).HTMLElement;\n return node instanceof OwnElement || node instanceof HTMLElement;\n}\n\nfunction isShadowRoot(node) {\n // IE 11 has no ShadowRoot\n if (typeof ShadowRoot === 'undefined') {\n return false;\n }\n\n var OwnElement = getWindow(node).ShadowRoot;\n return node instanceof OwnElement || node instanceof ShadowRoot;\n}\n\nexport { isElement, isHTMLElement, isShadowRoot };","import getNodeName from \"../dom-utils/getNodeName.js\";\nimport { isHTMLElement } from \"../dom-utils/instanceOf.js\"; // This modifier takes the styles prepared by the `computeStyles` modifier\n// and applies them to the HTMLElements such as popper and arrow\n\nfunction applyStyles(_ref) {\n var state = _ref.state;\n Object.keys(state.elements).forEach(function (name) {\n var style = state.styles[name] || {};\n var attributes = state.attributes[name] || {};\n var element = state.elements[name]; // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n } // Flow doesn't support to extend this property, but it's the most\n // effective way to apply styles to an HTMLElement\n // $FlowFixMe[cannot-write]\n\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (name) {\n var value = attributes[name];\n\n if (value === false) {\n element.removeAttribute(name);\n } else {\n element.setAttribute(name, value === true ? '' : value);\n }\n });\n });\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state;\n var initialStyles = {\n popper: {\n position: state.options.strategy,\n left: '0',\n top: '0',\n margin: '0'\n },\n arrow: {\n position: 'absolute'\n },\n reference: {}\n };\n Object.assign(state.elements.popper.style, initialStyles.popper);\n state.styles = initialStyles;\n\n if (state.elements.arrow) {\n Object.assign(state.elements.arrow.style, initialStyles.arrow);\n }\n\n return function () {\n Object.keys(state.elements).forEach(function (name) {\n var element = state.elements[name];\n var attributes = state.attributes[name] || {};\n var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them\n\n var style = styleProperties.reduce(function (style, property) {\n style[property] = '';\n return style;\n }, {}); // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n }\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (attribute) {\n element.removeAttribute(attribute);\n });\n });\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'applyStyles',\n enabled: true,\n phase: 'write',\n fn: applyStyles,\n effect: effect,\n requires: ['computeStyles']\n};","import { auto } from \"../enums.js\";\nexport default function getBasePlacement(placement) {\n return placement.split('-')[0];\n}","// import { isHTMLElement } from './instanceOf';\nexport default function getBoundingClientRect(element, // eslint-disable-next-line unused-imports/no-unused-vars\nincludeScale) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n\n var rect = element.getBoundingClientRect();\n var scaleX = 1;\n var scaleY = 1; // FIXME:\n // `offsetWidth` returns an integer while `getBoundingClientRect`\n // returns a float. This results in `scaleX` or `scaleY` being\n // non-1 when it should be for elements that aren't a full pixel in\n // width or height.\n // if (isHTMLElement(element) && includeScale) {\n // const offsetHeight = element.offsetHeight;\n // const offsetWidth = element.offsetWidth;\n // // Do not attempt to divide by 0, otherwise we get `Infinity` as scale\n // // Fallback to 1 in case both values are `0`\n // if (offsetWidth > 0) {\n // scaleX = rect.width / offsetWidth || 1;\n // }\n // if (offsetHeight > 0) {\n // scaleY = rect.height / offsetHeight || 1;\n // }\n // }\n\n return {\n width: rect.width / scaleX,\n height: rect.height / scaleY,\n top: rect.top / scaleY,\n right: rect.right / scaleX,\n bottom: rect.bottom / scaleY,\n left: rect.left / scaleX,\n x: rect.left / scaleX,\n y: rect.top / scaleY\n };\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\"; // Returns the layout rect of an element relative to its offsetParent. Layout\n// means it doesn't take into account transforms.\n\nexport default function getLayoutRect(element) {\n var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.\n // Fixes https://github.com/popperjs/popper-core/issues/1223\n\n var width = element.offsetWidth;\n var height = element.offsetHeight;\n\n if (Math.abs(clientRect.width - width) <= 1) {\n width = clientRect.width;\n }\n\n if (Math.abs(clientRect.height - height) <= 1) {\n height = clientRect.height;\n }\n\n return {\n x: element.offsetLeft,\n y: element.offsetTop,\n width: width,\n height: height\n };\n}","import { isShadowRoot } from \"./instanceOf.js\";\nexport default function contains(parent, child) {\n var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method\n\n if (parent.contains(child)) {\n return true;\n } // then fallback to custom implementation with Shadow DOM support\n else if (rootNode && isShadowRoot(rootNode)) {\n var next = child;\n\n do {\n if (next && parent.isSameNode(next)) {\n return true;\n } // $FlowFixMe[prop-missing]: need a better way to handle this...\n\n\n next = next.parentNode || next.host;\n } while (next);\n } // Give up, the result is false\n\n\n return false;\n}","import getWindow from \"./getWindow.js\";\nexport default function getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}","import getNodeName from \"./getNodeName.js\";\nexport default function isTableElement(element) {\n return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0;\n}","import { isElement } from \"./instanceOf.js\";\nexport default function getDocumentElement(element) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing]\n element.document) || window.document).documentElement;\n}","import getNodeName from \"./getNodeName.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport { isShadowRoot } from \"./instanceOf.js\";\nexport default function getParentNode(element) {\n if (getNodeName(element) === 'html') {\n return element;\n }\n\n return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle\n // $FlowFixMe[incompatible-return]\n // $FlowFixMe[prop-missing]\n element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\n element.parentNode || ( // DOM Element detected\n isShadowRoot(element) ? element.host : null) || // ShadowRoot detected\n // $FlowFixMe[incompatible-call]: HTMLElement is a Node\n getDocumentElement(element) // fallback\n\n );\n}","import getWindow from \"./getWindow.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport isTableElement from \"./isTableElement.js\";\nimport getParentNode from \"./getParentNode.js\";\n\nfunction getTrueOffsetParent(element) {\n if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837\n getComputedStyle(element).position === 'fixed') {\n return null;\n }\n\n return element.offsetParent;\n} // `.offsetParent` reports `null` for fixed elements, while absolute elements\n// return the containing block\n\n\nfunction getContainingBlock(element) {\n var isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') !== -1;\n var isIE = navigator.userAgent.indexOf('Trident') !== -1;\n\n if (isIE && isHTMLElement(element)) {\n // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport\n var elementCss = getComputedStyle(element);\n\n if (elementCss.position === 'fixed') {\n return null;\n }\n }\n\n var currentNode = getParentNode(element);\n\n while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {\n var css = getComputedStyle(currentNode); // This is non-exhaustive but covers the most common CSS properties that\n // create a containing block.\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n\n if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') {\n return currentNode;\n } else {\n currentNode = currentNode.parentNode;\n }\n }\n\n return null;\n} // Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\n\n\nexport default function getOffsetParent(element) {\n var window = getWindow(element);\n var offsetParent = getTrueOffsetParent(element);\n\n while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {\n offsetParent = getTrueOffsetParent(offsetParent);\n }\n\n if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static')) {\n return window;\n }\n\n return offsetParent || getContainingBlock(element) || window;\n}","export default function getMainAxisFromPlacement(placement) {\n return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';\n}","export var max = Math.max;\nexport var min = Math.min;\nexport var round = Math.round;","import { max as mathMax, min as mathMin } from \"./math.js\";\nexport default function within(min, value, max) {\n return mathMax(min, mathMin(value, max));\n}","export default function getFreshSideObject() {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n };\n}","import getFreshSideObject from \"./getFreshSideObject.js\";\nexport default function mergePaddingObject(paddingObject) {\n return Object.assign({}, getFreshSideObject(), paddingObject);\n}","export default function expandToHashMap(value, keys) {\n return keys.reduce(function (hashMap, key) {\n hashMap[key] = value;\n return hashMap;\n }, {});\n}","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport contains from \"../dom-utils/contains.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport within from \"../utils/within.js\";\nimport mergePaddingObject from \"../utils/mergePaddingObject.js\";\nimport expandToHashMap from \"../utils/expandToHashMap.js\";\nimport { left, right, basePlacements, top, bottom } from \"../enums.js\";\nimport { isHTMLElement } from \"../dom-utils/instanceOf.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar toPaddingObject = function toPaddingObject(padding, state) {\n padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {\n placement: state.placement\n })) : padding;\n return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n};\n\nfunction arrow(_ref) {\n var _state$modifiersData$;\n\n var state = _ref.state,\n name = _ref.name,\n options = _ref.options;\n var arrowElement = state.elements.arrow;\n var popperOffsets = state.modifiersData.popperOffsets;\n var basePlacement = getBasePlacement(state.placement);\n var axis = getMainAxisFromPlacement(basePlacement);\n var isVertical = [left, right].indexOf(basePlacement) >= 0;\n var len = isVertical ? 'height' : 'width';\n\n if (!arrowElement || !popperOffsets) {\n return;\n }\n\n var paddingObject = toPaddingObject(options.padding, state);\n var arrowRect = getLayoutRect(arrowElement);\n var minProp = axis === 'y' ? top : left;\n var maxProp = axis === 'y' ? bottom : right;\n var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];\n var startDiff = popperOffsets[axis] - state.rects.reference[axis];\n var arrowOffsetParent = getOffsetParent(arrowElement);\n var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;\n var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is\n // outside of the popper bounds\n\n var min = paddingObject[minProp];\n var max = clientSize - arrowRect[len] - paddingObject[maxProp];\n var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;\n var offset = within(min, center, max); // Prevents breaking syntax highlighting...\n\n var axisProp = axis;\n state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state,\n options = _ref2.options;\n var _options$element = options.element,\n arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;\n\n if (arrowElement == null) {\n return;\n } // CSS selector\n\n\n if (typeof arrowElement === 'string') {\n arrowElement = state.elements.popper.querySelector(arrowElement);\n\n if (!arrowElement) {\n return;\n }\n }\n\n if (process.env.NODE_ENV !== \"production\") {\n if (!isHTMLElement(arrowElement)) {\n console.error(['Popper: \"arrow\" element must be an HTMLElement (not an SVGElement).', 'To use an SVG arrow, wrap it in an HTMLElement that will be used as', 'the arrow.'].join(' '));\n }\n }\n\n if (!contains(state.elements.popper, arrowElement)) {\n if (process.env.NODE_ENV !== \"production\") {\n console.error(['Popper: \"arrow\" modifier\\'s `element` must be a child of the popper', 'element.'].join(' '));\n }\n\n return;\n }\n\n state.elements.arrow = arrowElement;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'arrow',\n enabled: true,\n phase: 'main',\n fn: arrow,\n effect: effect,\n requires: ['popperOffsets'],\n requiresIfExists: ['preventOverflow']\n};","export default function getVariation(placement) {\n return placement.split('-')[1];\n}","import { top, left, right, bottom, end } from \"../enums.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getWindow from \"../dom-utils/getWindow.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport getComputedStyle from \"../dom-utils/getComputedStyle.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getVariation from \"../utils/getVariation.js\";\nimport { round } from \"../utils/math.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar unsetSides = {\n top: 'auto',\n right: 'auto',\n bottom: 'auto',\n left: 'auto'\n}; // Round the offsets to the nearest suitable subpixel based on the DPR.\n// Zooming can change the DPR, but it seems to report a value that will\n// cleanly divide the values into the appropriate subpixels.\n\nfunction roundOffsetsByDPR(_ref) {\n var x = _ref.x,\n y = _ref.y;\n var win = window;\n var dpr = win.devicePixelRatio || 1;\n return {\n x: round(round(x * dpr) / dpr) || 0,\n y: round(round(y * dpr) / dpr) || 0\n };\n}\n\nexport function mapToStyles(_ref2) {\n var _Object$assign2;\n\n var popper = _ref2.popper,\n popperRect = _ref2.popperRect,\n placement = _ref2.placement,\n variation = _ref2.variation,\n offsets = _ref2.offsets,\n position = _ref2.position,\n gpuAcceleration = _ref2.gpuAcceleration,\n adaptive = _ref2.adaptive,\n roundOffsets = _ref2.roundOffsets;\n\n var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === 'function' ? roundOffsets(offsets) : offsets,\n _ref3$x = _ref3.x,\n x = _ref3$x === void 0 ? 0 : _ref3$x,\n _ref3$y = _ref3.y,\n y = _ref3$y === void 0 ? 0 : _ref3$y;\n\n var hasX = offsets.hasOwnProperty('x');\n var hasY = offsets.hasOwnProperty('y');\n var sideX = left;\n var sideY = top;\n var win = window;\n\n if (adaptive) {\n var offsetParent = getOffsetParent(popper);\n var heightProp = 'clientHeight';\n var widthProp = 'clientWidth';\n\n if (offsetParent === getWindow(popper)) {\n offsetParent = getDocumentElement(popper);\n\n if (getComputedStyle(offsetParent).position !== 'static' && position === 'absolute') {\n heightProp = 'scrollHeight';\n widthProp = 'scrollWidth';\n }\n } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it\n\n\n offsetParent = offsetParent;\n\n if (placement === top || (placement === left || placement === right) && variation === end) {\n sideY = bottom; // $FlowFixMe[prop-missing]\n\n y -= offsetParent[heightProp] - popperRect.height;\n y *= gpuAcceleration ? 1 : -1;\n }\n\n if (placement === left || (placement === top || placement === bottom) && variation === end) {\n sideX = right; // $FlowFixMe[prop-missing]\n\n x -= offsetParent[widthProp] - popperRect.width;\n x *= gpuAcceleration ? 1 : -1;\n }\n }\n\n var commonStyles = Object.assign({\n position: position\n }, adaptive && unsetSides);\n\n if (gpuAcceleration) {\n var _Object$assign;\n\n return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? \"translate(\" + x + \"px, \" + y + \"px)\" : \"translate3d(\" + x + \"px, \" + y + \"px, 0)\", _Object$assign));\n }\n\n return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + \"px\" : '', _Object$assign2[sideX] = hasX ? x + \"px\" : '', _Object$assign2.transform = '', _Object$assign2));\n}\n\nfunction computeStyles(_ref4) {\n var state = _ref4.state,\n options = _ref4.options;\n var _options$gpuAccelerat = options.gpuAcceleration,\n gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,\n _options$adaptive = options.adaptive,\n adaptive = _options$adaptive === void 0 ? true : _options$adaptive,\n _options$roundOffsets = options.roundOffsets,\n roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;\n\n if (process.env.NODE_ENV !== \"production\") {\n var transitionProperty = getComputedStyle(state.elements.popper).transitionProperty || '';\n\n if (adaptive && ['transform', 'top', 'right', 'bottom', 'left'].some(function (property) {\n return transitionProperty.indexOf(property) >= 0;\n })) {\n console.warn(['Popper: Detected CSS transitions on at least one of the following', 'CSS properties: \"transform\", \"top\", \"right\", \"bottom\", \"left\".', '\\n\\n', 'Disable the \"computeStyles\" modifier\\'s `adaptive` option to allow', 'for smooth transitions, or remove these properties from the CSS', 'transition declaration on the popper element if only transitioning', 'opacity or background-color for example.', '\\n\\n', 'We recommend using the popper element as a wrapper around an inner', 'element that can have any CSS property transitioned for animations.'].join(' '));\n }\n }\n\n var commonStyles = {\n placement: getBasePlacement(state.placement),\n variation: getVariation(state.placement),\n popper: state.elements.popper,\n popperRect: state.rects.popper,\n gpuAcceleration: gpuAcceleration\n };\n\n if (state.modifiersData.popperOffsets != null) {\n state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.popperOffsets,\n position: state.options.strategy,\n adaptive: adaptive,\n roundOffsets: roundOffsets\n })));\n }\n\n if (state.modifiersData.arrow != null) {\n state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.arrow,\n position: 'absolute',\n adaptive: false,\n roundOffsets: roundOffsets\n })));\n }\n\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-placement': state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'computeStyles',\n enabled: true,\n phase: 'beforeWrite',\n fn: computeStyles,\n data: {}\n};","import getWindow from \"../dom-utils/getWindow.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar passive = {\n passive: true\n};\n\nfunction effect(_ref) {\n var state = _ref.state,\n instance = _ref.instance,\n options = _ref.options;\n var _options$scroll = options.scroll,\n scroll = _options$scroll === void 0 ? true : _options$scroll,\n _options$resize = options.resize,\n resize = _options$resize === void 0 ? true : _options$resize;\n var window = getWindow(state.elements.popper);\n var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);\n\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.addEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.addEventListener('resize', instance.update, passive);\n }\n\n return function () {\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.removeEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.removeEventListener('resize', instance.update, passive);\n }\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'eventListeners',\n enabled: true,\n phase: 'write',\n fn: function fn() {},\n effect: effect,\n data: {}\n};","var hash = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nexport default function getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, function (matched) {\n return hash[matched];\n });\n}","var hash = {\n start: 'end',\n end: 'start'\n};\nexport default function getOppositeVariationPlacement(placement) {\n return placement.replace(/start|end/g, function (matched) {\n return hash[matched];\n });\n}","import getWindow from \"./getWindow.js\";\nexport default function getWindowScroll(node) {\n var win = getWindow(node);\n var scrollLeft = win.pageXOffset;\n var scrollTop = win.pageYOffset;\n return {\n scrollLeft: scrollLeft,\n scrollTop: scrollTop\n };\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getWindowScroll from \"./getWindowScroll.js\";\nexport default function getWindowScrollBarX(element) {\n // If <html> has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n // Popper 1 is broken in this case and never had a bug report so let's assume\n // it's not an issue. I don't think anyone ever specifies width on <html>\n // anyway.\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\n // this (e.g. Edge 2019, IE11, Safari)\n return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;\n}","import getWindow from \"./getWindow.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nexport default function getViewportRect(element) {\n var win = getWindow(element);\n var html = getDocumentElement(element);\n var visualViewport = win.visualViewport;\n var width = html.clientWidth;\n var height = html.clientHeight;\n var x = 0;\n var y = 0; // NB: This isn't supported on iOS <= 12. If the keyboard is open, the popper\n // can be obscured underneath it.\n // Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even\n // if it isn't open, so if this isn't available, the popper will be detected\n // to overflow the bottom of the screen too early.\n\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height; // Uses Layout Viewport (like Chrome; Safari does not currently)\n // In Chrome, it returns a value very close to 0 (+/-) but contains rounding\n // errors due to floating point numbers, so we need to check precision.\n // Safari returns a number <= 0, usually < -1 when pinch-zoomed\n // Feature detection fails in mobile emulation mode in Chrome.\n // Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) <\n // 0.001\n // Fallback here: \"Not Safari\" userAgent\n\n if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n\n return {\n width: width,\n height: height,\n x: x + getWindowScrollBarX(element),\n y: y\n };\n}","import getDocumentElement from \"./getDocumentElement.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport getWindowScroll from \"./getWindowScroll.js\";\nimport { max } from \"../utils/math.js\"; // Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable\n\nexport default function getDocumentRect(element) {\n var _element$ownerDocumen;\n\n var html = getDocumentElement(element);\n var winScroll = getWindowScroll(element);\n var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;\n var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);\n var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);\n var x = -winScroll.scrollLeft + getWindowScrollBarX(element);\n var y = -winScroll.scrollTop;\n\n if (getComputedStyle(body || html).direction === 'rtl') {\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\n }\n\n return {\n width: width,\n height: height,\n x: x,\n y: y\n };\n}","import getComputedStyle from \"./getComputedStyle.js\";\nexport default function isScrollParent(element) {\n // Firefox wants us to check `-x` and `-y` variations as well\n var _getComputedStyle = getComputedStyle(element),\n overflow = _getComputedStyle.overflow,\n overflowX = _getComputedStyle.overflowX,\n overflowY = _getComputedStyle.overflowY;\n\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\n}","import getParentNode from \"./getParentNode.js\";\nimport isScrollParent from \"./isScrollParent.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nexport default function getScrollParent(node) {\n if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return node.ownerDocument.body;\n }\n\n if (isHTMLElement(node) && isScrollParent(node)) {\n return node;\n }\n\n return getScrollParent(getParentNode(node));\n}","import getScrollParent from \"./getScrollParent.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport getWindow from \"./getWindow.js\";\nimport isScrollParent from \"./isScrollParent.js\";\n/*\ngiven a DOM element, return the list of all scroll parents, up the list of ancesors\nuntil we get to the top window object. This list is what we attach scroll listeners\nto, because if any of these parent elements scroll, we'll need to re-calculate the\nreference element's position.\n*/\n\nexport default function listScrollParents(element, list) {\n var _element$ownerDocumen;\n\n if (list === void 0) {\n list = [];\n }\n\n var scrollParent = getScrollParent(element);\n var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);\n var win = getWindow(scrollParent);\n var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;\n var updatedList = list.concat(target);\n return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here\n updatedList.concat(listScrollParents(getParentNode(target)));\n}","export default function rectToClientRect(rect) {\n return Object.assign({}, rect, {\n left: rect.x,\n top: rect.y,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height\n });\n}","import { viewport } from \"../enums.js\";\nimport getViewportRect from \"./getViewportRect.js\";\nimport getDocumentRect from \"./getDocumentRect.js\";\nimport listScrollParents from \"./listScrollParents.js\";\nimport getOffsetParent from \"./getOffsetParent.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport { isElement, isHTMLElement } from \"./instanceOf.js\";\nimport getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport contains from \"./contains.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport rectToClientRect from \"../utils/rectToClientRect.js\";\nimport { max, min } from \"../utils/math.js\";\n\nfunction getInnerBoundingClientRect(element) {\n var rect = getBoundingClientRect(element);\n rect.top = rect.top + element.clientTop;\n rect.left = rect.left + element.clientLeft;\n rect.bottom = rect.top + element.clientHeight;\n rect.right = rect.left + element.clientWidth;\n rect.width = element.clientWidth;\n rect.height = element.clientHeight;\n rect.x = rect.left;\n rect.y = rect.top;\n return rect;\n}\n\nfunction getClientRectFromMixedType(element, clippingParent) {\n return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isHTMLElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));\n} // A \"clipping parent\" is an overflowable container with the characteristic of\n// clipping (or hiding) overflowing elements with a position different from\n// `initial`\n\n\nfunction getClippingParents(element) {\n var clippingParents = listScrollParents(getParentNode(element));\n var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) >= 0;\n var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;\n\n if (!isElement(clipperElement)) {\n return [];\n } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414\n\n\n return clippingParents.filter(function (clippingParent) {\n return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';\n });\n} // Gets the maximum area that the element is visible in due to any number of\n// clipping parents\n\n\nexport default function getClippingRect(element, boundary, rootBoundary) {\n var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);\n var clippingParents = [].concat(mainClippingParents, [rootBoundary]);\n var firstClippingParent = clippingParents[0];\n var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {\n var rect = getClientRectFromMixedType(element, clippingParent);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromMixedType(element, firstClippingParent));\n clippingRect.width = clippingRect.right - clippingRect.left;\n clippingRect.height = clippingRect.bottom - clippingRect.top;\n clippingRect.x = clippingRect.left;\n clippingRect.y = clippingRect.top;\n return clippingRect;\n}","import getBasePlacement from \"./getBasePlacement.js\";\nimport getVariation from \"./getVariation.js\";\nimport getMainAxisFromPlacement from \"./getMainAxisFromPlacement.js\";\nimport { top, right, bottom, left, start, end } from \"../enums.js\";\nexport default function computeOffsets(_ref) {\n var reference = _ref.reference,\n element = _ref.element,\n placement = _ref.placement;\n var basePlacement = placement ? getBasePlacement(placement) : null;\n var variation = placement ? getVariation(placement) : null;\n var commonX = reference.x + reference.width / 2 - element.width / 2;\n var commonY = reference.y + reference.height / 2 - element.height / 2;\n var offsets;\n\n switch (basePlacement) {\n case top:\n offsets = {\n x: commonX,\n y: reference.y - element.height\n };\n break;\n\n case bottom:\n offsets = {\n x: commonX,\n y: reference.y + reference.height\n };\n break;\n\n case right:\n offsets = {\n x: reference.x + reference.width,\n y: commonY\n };\n break;\n\n case left:\n offsets = {\n x: reference.x - element.width,\n y: commonY\n };\n break;\n\n default:\n offsets = {\n x: reference.x,\n y: reference.y\n };\n }\n\n var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null;\n\n if (mainAxis != null) {\n var len = mainAxis === 'y' ? 'height' : 'width';\n\n switch (variation) {\n case start:\n offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);\n break;\n\n case end:\n offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);\n break;\n\n default:\n }\n }\n\n return offsets;\n}","import getClippingRect from \"../dom-utils/getClippingRect.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport getBoundingClientRect from \"../dom-utils/getBoundingClientRect.js\";\nimport computeOffsets from \"./computeOffsets.js\";\nimport rectToClientRect from \"./rectToClientRect.js\";\nimport { clippingParents, reference, popper, bottom, top, right, basePlacements, viewport } from \"../enums.js\";\nimport { isElement } from \"../dom-utils/instanceOf.js\";\nimport mergePaddingObject from \"./mergePaddingObject.js\";\nimport expandToHashMap from \"./expandToHashMap.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport default function detectOverflow(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n _options$placement = _options.placement,\n placement = _options$placement === void 0 ? state.placement : _options$placement,\n _options$boundary = _options.boundary,\n boundary = _options$boundary === void 0 ? clippingParents : _options$boundary,\n _options$rootBoundary = _options.rootBoundary,\n rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary,\n _options$elementConte = _options.elementContext,\n elementContext = _options$elementConte === void 0 ? popper : _options$elementConte,\n _options$altBoundary = _options.altBoundary,\n altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,\n _options$padding = _options.padding,\n padding = _options$padding === void 0 ? 0 : _options$padding;\n var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n var altContext = elementContext === popper ? reference : popper;\n var popperRect = state.rects.popper;\n var element = state.elements[altBoundary ? altContext : elementContext];\n var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);\n var referenceClientRect = getBoundingClientRect(state.elements.reference);\n var popperOffsets = computeOffsets({\n reference: referenceClientRect,\n element: popperRect,\n strategy: 'absolute',\n placement: placement\n });\n var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));\n var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect\n // 0 or negative = within the clipping rect\n\n var overflowOffsets = {\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n right: elementClientRect.right - clippingClientRect.right + paddingObject.right\n };\n var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element\n\n if (elementContext === popper && offsetData) {\n var offset = offsetData[placement];\n Object.keys(overflowOffsets).forEach(function (key) {\n var multiply = [right, bottom].indexOf(key) >= 0 ? 1 : -1;\n var axis = [top, bottom].indexOf(key) >= 0 ? 'y' : 'x';\n overflowOffsets[key] += offset[axis] * multiply;\n });\n }\n\n return overflowOffsets;\n}","import getVariation from \"./getVariation.js\";\nimport { variationPlacements, basePlacements, placements as allPlacements } from \"../enums.js\";\nimport detectOverflow from \"./detectOverflow.js\";\nimport getBasePlacement from \"./getBasePlacement.js\";\nexport default function computeAutoPlacement(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n placement = _options.placement,\n boundary = _options.boundary,\n rootBoundary = _options.rootBoundary,\n padding = _options.padding,\n flipVariations = _options.flipVariations,\n _options$allowedAutoP = _options.allowedAutoPlacements,\n allowedAutoPlacements = _options$allowedAutoP === void 0 ? allPlacements : _options$allowedAutoP;\n var variation = getVariation(placement);\n var placements = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {\n return getVariation(placement) === variation;\n }) : basePlacements;\n var allowedPlacements = placements.filter(function (placement) {\n return allowedAutoPlacements.indexOf(placement) >= 0;\n });\n\n if (allowedPlacements.length === 0) {\n allowedPlacements = placements;\n\n if (process.env.NODE_ENV !== \"production\") {\n console.error(['Popper: The `allowedAutoPlacements` option did not allow any', 'placements. Ensure the `placement` option matches the variation', 'of the allowed placements.', 'For example, \"auto\" cannot be used to allow \"bottom-start\".', 'Use \"auto-start\" instead.'].join(' '));\n }\n } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...\n\n\n var overflows = allowedPlacements.reduce(function (acc, placement) {\n acc[placement] = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding\n })[getBasePlacement(placement)];\n return acc;\n }, {});\n return Object.keys(overflows).sort(function (a, b) {\n return overflows[a] - overflows[b];\n });\n}","import getOppositePlacement from \"../utils/getOppositePlacement.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getOppositeVariationPlacement from \"../utils/getOppositeVariationPlacement.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport computeAutoPlacement from \"../utils/computeAutoPlacement.js\";\nimport { bottom, top, start, right, left, auto } from \"../enums.js\";\nimport getVariation from \"../utils/getVariation.js\"; // eslint-disable-next-line import/no-unused-modules\n\nfunction getExpandedFallbackPlacements(placement) {\n if (getBasePlacement(placement) === auto) {\n return [];\n }\n\n var oppositePlacement = getOppositePlacement(placement);\n return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];\n}\n\nfunction flip(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n\n if (state.modifiersData[name]._skip) {\n return;\n }\n\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,\n specifiedFallbackPlacements = options.fallbackPlacements,\n padding = options.padding,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n _options$flipVariatio = options.flipVariations,\n flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,\n allowedAutoPlacements = options.allowedAutoPlacements;\n var preferredPlacement = state.options.placement;\n var basePlacement = getBasePlacement(preferredPlacement);\n var isBasePlacement = basePlacement === preferredPlacement;\n var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));\n var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {\n return acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n flipVariations: flipVariations,\n allowedAutoPlacements: allowedAutoPlacements\n }) : placement);\n }, []);\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var checksMap = new Map();\n var makeFallbackChecks = true;\n var firstFittingPlacement = placements[0];\n\n for (var i = 0; i < placements.length; i++) {\n var placement = placements[i];\n\n var _basePlacement = getBasePlacement(placement);\n\n var isStartVariation = getVariation(placement) === start;\n var isVertical = [top, bottom].indexOf(_basePlacement) >= 0;\n var len = isVertical ? 'width' : 'height';\n var overflow = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n altBoundary: altBoundary,\n padding: padding\n });\n var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top;\n\n if (referenceRect[len] > popperRect[len]) {\n mainVariationSide = getOppositePlacement(mainVariationSide);\n }\n\n var altVariationSide = getOppositePlacement(mainVariationSide);\n var checks = [];\n\n if (checkMainAxis) {\n checks.push(overflow[_basePlacement] <= 0);\n }\n\n if (checkAltAxis) {\n checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);\n }\n\n if (checks.every(function (check) {\n return check;\n })) {\n firstFittingPlacement = placement;\n makeFallbackChecks = false;\n break;\n }\n\n checksMap.set(placement, checks);\n }\n\n if (makeFallbackChecks) {\n // `2` may be desired in some cases – research later\n var numberOfChecks = flipVariations ? 3 : 1;\n\n var _loop = function _loop(_i) {\n var fittingPlacement = placements.find(function (placement) {\n var checks = checksMap.get(placement);\n\n if (checks) {\n return checks.slice(0, _i).every(function (check) {\n return check;\n });\n }\n });\n\n if (fittingPlacement) {\n firstFittingPlacement = fittingPlacement;\n return \"break\";\n }\n };\n\n for (var _i = numberOfChecks; _i > 0; _i--) {\n var _ret = _loop(_i);\n\n if (_ret === \"break\") break;\n }\n }\n\n if (state.placement !== firstFittingPlacement) {\n state.modifiersData[name]._skip = true;\n state.placement = firstFittingPlacement;\n state.reset = true;\n }\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'flip',\n enabled: true,\n phase: 'main',\n fn: flip,\n requiresIfExists: ['offset'],\n data: {\n _skip: false\n }\n};","import { top, bottom, left, right } from \"../enums.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\n\nfunction getSideOffsets(overflow, rect, preventedOffsets) {\n if (preventedOffsets === void 0) {\n preventedOffsets = {\n x: 0,\n y: 0\n };\n }\n\n return {\n top: overflow.top - rect.height - preventedOffsets.y,\n right: overflow.right - rect.width + preventedOffsets.x,\n bottom: overflow.bottom - rect.height + preventedOffsets.y,\n left: overflow.left - rect.width - preventedOffsets.x\n };\n}\n\nfunction isAnySideFullyClipped(overflow) {\n return [top, right, bottom, left].some(function (side) {\n return overflow[side] >= 0;\n });\n}\n\nfunction hide(_ref) {\n var state = _ref.state,\n name = _ref.name;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var preventedOffsets = state.modifiersData.preventOverflow;\n var referenceOverflow = detectOverflow(state, {\n elementContext: 'reference'\n });\n var popperAltOverflow = detectOverflow(state, {\n altBoundary: true\n });\n var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);\n var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);\n var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);\n var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);\n state.modifiersData[name] = {\n referenceClippingOffsets: referenceClippingOffsets,\n popperEscapeOffsets: popperEscapeOffsets,\n isReferenceHidden: isReferenceHidden,\n hasPopperEscaped: hasPopperEscaped\n };\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-reference-hidden': isReferenceHidden,\n 'data-popper-escaped': hasPopperEscaped\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'hide',\n enabled: true,\n phase: 'main',\n requiresIfExists: ['preventOverflow'],\n fn: hide\n};","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport { top, left, right, placements } from \"../enums.js\";\nexport function distanceAndSkiddingToXY(placement, rects, offset) {\n var basePlacement = getBasePlacement(placement);\n var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;\n\n var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {\n placement: placement\n })) : offset,\n skidding = _ref[0],\n distance = _ref[1];\n\n skidding = skidding || 0;\n distance = (distance || 0) * invertDistance;\n return [left, right].indexOf(basePlacement) >= 0 ? {\n x: distance,\n y: skidding\n } : {\n x: skidding,\n y: distance\n };\n}\n\nfunction offset(_ref2) {\n var state = _ref2.state,\n options = _ref2.options,\n name = _ref2.name;\n var _options$offset = options.offset,\n offset = _options$offset === void 0 ? [0, 0] : _options$offset;\n var data = placements.reduce(function (acc, placement) {\n acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);\n return acc;\n }, {});\n var _data$state$placement = data[state.placement],\n x = _data$state$placement.x,\n y = _data$state$placement.y;\n\n if (state.modifiersData.popperOffsets != null) {\n state.modifiersData.popperOffsets.x += x;\n state.modifiersData.popperOffsets.y += y;\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'offset',\n enabled: true,\n phase: 'main',\n requires: ['popperOffsets'],\n fn: offset\n};","import computeOffsets from \"../utils/computeOffsets.js\";\n\nfunction popperOffsets(_ref) {\n var state = _ref.state,\n name = _ref.name;\n // Offsets are the actual position the popper needs to have to be\n // properly positioned near its reference element\n // This is the most basic placement, and will be adjusted by\n // the modifiers in the next step\n state.modifiersData[name] = computeOffsets({\n reference: state.rects.reference,\n element: state.rects.popper,\n strategy: 'absolute',\n placement: state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'popperOffsets',\n enabled: true,\n phase: 'read',\n fn: popperOffsets,\n data: {}\n};","export default function getAltAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}","import { top, left, right, bottom, start } from \"../enums.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport getAltAxis from \"../utils/getAltAxis.js\";\nimport within from \"../utils/within.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport getVariation from \"../utils/getVariation.js\";\nimport getFreshSideObject from \"../utils/getFreshSideObject.js\";\nimport { max as mathMax, min as mathMin } from \"../utils/math.js\";\n\nfunction preventOverflow(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n padding = options.padding,\n _options$tether = options.tether,\n tether = _options$tether === void 0 ? true : _options$tether,\n _options$tetherOffset = options.tetherOffset,\n tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;\n var overflow = detectOverflow(state, {\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n altBoundary: altBoundary\n });\n var basePlacement = getBasePlacement(state.placement);\n var variation = getVariation(state.placement);\n var isBasePlacement = !variation;\n var mainAxis = getMainAxisFromPlacement(basePlacement);\n var altAxis = getAltAxis(mainAxis);\n var popperOffsets = state.modifiersData.popperOffsets;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {\n placement: state.placement\n })) : tetherOffset;\n var data = {\n x: 0,\n y: 0\n };\n\n if (!popperOffsets) {\n return;\n }\n\n if (checkMainAxis || checkAltAxis) {\n var mainSide = mainAxis === 'y' ? top : left;\n var altSide = mainAxis === 'y' ? bottom : right;\n var len = mainAxis === 'y' ? 'height' : 'width';\n var offset = popperOffsets[mainAxis];\n var min = popperOffsets[mainAxis] + overflow[mainSide];\n var max = popperOffsets[mainAxis] - overflow[altSide];\n var additive = tether ? -popperRect[len] / 2 : 0;\n var minLen = variation === start ? referenceRect[len] : popperRect[len];\n var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go\n // outside the reference bounds\n\n var arrowElement = state.elements.arrow;\n var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : {\n width: 0,\n height: 0\n };\n var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : getFreshSideObject();\n var arrowPaddingMin = arrowPaddingObject[mainSide];\n var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want\n // to include its full size in the calculation. If the reference is small\n // and near the edge of a boundary, the popper can overflow even if the\n // reference is not overflowing as well (e.g. virtual elements with no\n // width or height)\n\n var arrowLen = within(0, referenceRect[len], arrowRect[len]);\n var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - tetherOffsetValue : minLen - arrowLen - arrowPaddingMin - tetherOffsetValue;\n var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + tetherOffsetValue : maxLen + arrowLen + arrowPaddingMax + tetherOffsetValue;\n var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);\n var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;\n var offsetModifierValue = state.modifiersData.offset ? state.modifiersData.offset[state.placement][mainAxis] : 0;\n var tetherMin = popperOffsets[mainAxis] + minOffset - offsetModifierValue - clientOffset;\n var tetherMax = popperOffsets[mainAxis] + maxOffset - offsetModifierValue;\n\n if (checkMainAxis) {\n var preventedOffset = within(tether ? mathMin(min, tetherMin) : min, offset, tether ? mathMax(max, tetherMax) : max);\n popperOffsets[mainAxis] = preventedOffset;\n data[mainAxis] = preventedOffset - offset;\n }\n\n if (checkAltAxis) {\n var _mainSide = mainAxis === 'x' ? top : left;\n\n var _altSide = mainAxis === 'x' ? bottom : right;\n\n var _offset = popperOffsets[altAxis];\n\n var _min = _offset + overflow[_mainSide];\n\n var _max = _offset - overflow[_altSide];\n\n var _preventedOffset = within(tether ? mathMin(_min, tetherMin) : _min, _offset, tether ? mathMax(_max, tetherMax) : _max);\n\n popperOffsets[altAxis] = _preventedOffset;\n data[altAxis] = _preventedOffset - _offset;\n }\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'preventOverflow',\n enabled: true,\n phase: 'main',\n fn: preventOverflow,\n requiresIfExists: ['offset']\n};","export default function getHTMLElementScroll(element) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n}","import getWindowScroll from \"./getWindowScroll.js\";\nimport getWindow from \"./getWindow.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport getHTMLElementScroll from \"./getHTMLElementScroll.js\";\nexport default function getNodeScroll(node) {\n if (node === getWindow(node) || !isHTMLElement(node)) {\n return getWindowScroll(node);\n } else {\n return getHTMLElementScroll(node);\n }\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getNodeScroll from \"./getNodeScroll.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport isScrollParent from \"./isScrollParent.js\";\n\nfunction isElementScaled(element) {\n var rect = element.getBoundingClientRect();\n var scaleX = rect.width / element.offsetWidth || 1;\n var scaleY = rect.height / element.offsetHeight || 1;\n return scaleX !== 1 || scaleY !== 1;\n} // Returns the composite rect of an element relative to its offsetParent.\n// Composite means it takes into account transforms as well as layout.\n\n\nexport default function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n\n var isOffsetParentAnElement = isHTMLElement(offsetParent);\n var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);\n var documentElement = getDocumentElement(offsetParent);\n var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);\n var scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n var offsets = {\n x: 0,\n y: 0\n };\n\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078\n isScrollParent(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n\n if (isHTMLElement(offsetParent)) {\n offsets = getBoundingClientRect(offsetParent, true);\n offsets.x += offsetParent.clientLeft;\n offsets.y += offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n\n return {\n x: rect.left + scroll.scrollLeft - offsets.x,\n y: rect.top + scroll.scrollTop - offsets.y,\n width: rect.width,\n height: rect.height\n };\n}","import { modifierPhases } from \"../enums.js\"; // source: https://stackoverflow.com/questions/49875255\n\nfunction order(modifiers) {\n var map = new Map();\n var visited = new Set();\n var result = [];\n modifiers.forEach(function (modifier) {\n map.set(modifier.name, modifier);\n }); // On visiting object, check for its dependencies and visit them recursively\n\n function sort(modifier) {\n visited.add(modifier.name);\n var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);\n requires.forEach(function (dep) {\n if (!visited.has(dep)) {\n var depModifier = map.get(dep);\n\n if (depModifier) {\n sort(depModifier);\n }\n }\n });\n result.push(modifier);\n }\n\n modifiers.forEach(function (modifier) {\n if (!visited.has(modifier.name)) {\n // check for visited object\n sort(modifier);\n }\n });\n return result;\n}\n\nexport default function orderModifiers(modifiers) {\n // order based on dependencies\n var orderedModifiers = order(modifiers); // order based on phase\n\n return modifierPhases.reduce(function (acc, phase) {\n return acc.concat(orderedModifiers.filter(function (modifier) {\n return modifier.phase === phase;\n }));\n }, []);\n}","export default function debounce(fn) {\n var pending;\n return function () {\n if (!pending) {\n pending = new Promise(function (resolve) {\n Promise.resolve().then(function () {\n pending = undefined;\n resolve(fn());\n });\n });\n }\n\n return pending;\n };\n}","export default function mergeByName(modifiers) {\n var merged = modifiers.reduce(function (merged, current) {\n var existing = merged[current.name];\n merged[current.name] = existing ? Object.assign({}, existing, current, {\n options: Object.assign({}, existing.options, current.options),\n data: Object.assign({}, existing.data, current.data)\n }) : current;\n return merged;\n }, {}); // IE11 does not support Object.values\n\n return Object.keys(merged).map(function (key) {\n return merged[key];\n });\n}","import getCompositeRect from \"./dom-utils/getCompositeRect.js\";\nimport getLayoutRect from \"./dom-utils/getLayoutRect.js\";\nimport listScrollParents from \"./dom-utils/listScrollParents.js\";\nimport getOffsetParent from \"./dom-utils/getOffsetParent.js\";\nimport getComputedStyle from \"./dom-utils/getComputedStyle.js\";\nimport orderModifiers from \"./utils/orderModifiers.js\";\nimport debounce from \"./utils/debounce.js\";\nimport validateModifiers from \"./utils/validateModifiers.js\";\nimport uniqueBy from \"./utils/uniqueBy.js\";\nimport getBasePlacement from \"./utils/getBasePlacement.js\";\nimport mergeByName from \"./utils/mergeByName.js\";\nimport detectOverflow from \"./utils/detectOverflow.js\";\nimport { isElement } from \"./dom-utils/instanceOf.js\";\nimport { auto } from \"./enums.js\";\nvar INVALID_ELEMENT_ERROR = 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';\nvar INFINITE_LOOP_ERROR = 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';\nvar DEFAULT_OPTIONS = {\n placement: 'bottom',\n modifiers: [],\n strategy: 'absolute'\n};\n\nfunction areValidElements() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return !args.some(function (element) {\n return !(element && typeof element.getBoundingClientRect === 'function');\n });\n}\n\nexport function popperGenerator(generatorOptions) {\n if (generatorOptions === void 0) {\n generatorOptions = {};\n }\n\n var _generatorOptions = generatorOptions,\n _generatorOptions$def = _generatorOptions.defaultModifiers,\n defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,\n _generatorOptions$def2 = _generatorOptions.defaultOptions,\n defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;\n return function createPopper(reference, popper, options) {\n if (options === void 0) {\n options = defaultOptions;\n }\n\n var state = {\n placement: 'bottom',\n orderedModifiers: [],\n options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),\n modifiersData: {},\n elements: {\n reference: reference,\n popper: popper\n },\n attributes: {},\n styles: {}\n };\n var effectCleanupFns = [];\n var isDestroyed = false;\n var instance = {\n state: state,\n setOptions: function setOptions(setOptionsAction) {\n var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;\n cleanupModifierEffects();\n state.options = Object.assign({}, defaultOptions, state.options, options);\n state.scrollParents = {\n reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],\n popper: listScrollParents(popper)\n }; // Orders the modifiers based on their dependencies and `phase`\n // properties\n\n var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers\n\n state.orderedModifiers = orderedModifiers.filter(function (m) {\n return m.enabled;\n }); // Validate the provided modifiers so that the consumer will get warned\n // if one of the modifiers is invalid for any reason\n\n if (process.env.NODE_ENV !== \"production\") {\n var modifiers = uniqueBy([].concat(orderedModifiers, state.options.modifiers), function (_ref) {\n var name = _ref.name;\n return name;\n });\n validateModifiers(modifiers);\n\n if (getBasePlacement(state.options.placement) === auto) {\n var flipModifier = state.orderedModifiers.find(function (_ref2) {\n var name = _ref2.name;\n return name === 'flip';\n });\n\n if (!flipModifier) {\n console.error(['Popper: \"auto\" placements require the \"flip\" modifier be', 'present and enabled to work.'].join(' '));\n }\n }\n\n var _getComputedStyle = getComputedStyle(popper),\n marginTop = _getComputedStyle.marginTop,\n marginRight = _getComputedStyle.marginRight,\n marginBottom = _getComputedStyle.marginBottom,\n marginLeft = _getComputedStyle.marginLeft; // We no longer take into account `margins` on the popper, and it can\n // cause bugs with positioning, so we'll warn the consumer\n\n\n if ([marginTop, marginRight, marginBottom, marginLeft].some(function (margin) {\n return parseFloat(margin);\n })) {\n console.warn(['Popper: CSS \"margin\" styles cannot be used to apply padding', 'between the popper and its reference element or boundary.', 'To replicate margin, use the `offset` modifier, as well as', 'the `padding` option in the `preventOverflow` and `flip`', 'modifiers.'].join(' '));\n }\n }\n\n runModifierEffects();\n return instance.update();\n },\n // Sync update – it will always be executed, even if not necessary. This\n // is useful for low frequency updates where sync behavior simplifies the\n // logic.\n // For high frequency updates (e.g. `resize` and `scroll` events), always\n // prefer the async Popper#update method\n forceUpdate: function forceUpdate() {\n if (isDestroyed) {\n return;\n }\n\n var _state$elements = state.elements,\n reference = _state$elements.reference,\n popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements\n // anymore\n\n if (!areValidElements(reference, popper)) {\n if (process.env.NODE_ENV !== \"production\") {\n console.error(INVALID_ELEMENT_ERROR);\n }\n\n return;\n } // Store the reference and popper rects to be read by modifiers\n\n\n state.rects = {\n reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === 'fixed'),\n popper: getLayoutRect(popper)\n }; // Modifiers have the ability to reset the current update cycle. The\n // most common use case for this is the `flip` modifier changing the\n // placement, which then needs to re-run all the modifiers, because the\n // logic was previously ran for the previous placement and is therefore\n // stale/incorrect\n\n state.reset = false;\n state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier\n // is filled with the initial data specified by the modifier. This means\n // it doesn't persist and is fresh on each update.\n // To ensure persistent data, use `${name}#persistent`\n\n state.orderedModifiers.forEach(function (modifier) {\n return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);\n });\n var __debug_loops__ = 0;\n\n for (var index = 0; index < state.orderedModifiers.length; index++) {\n if (process.env.NODE_ENV !== \"production\") {\n __debug_loops__ += 1;\n\n if (__debug_loops__ > 100) {\n console.error(INFINITE_LOOP_ERROR);\n break;\n }\n }\n\n if (state.reset === true) {\n state.reset = false;\n index = -1;\n continue;\n }\n\n var _state$orderedModifie = state.orderedModifiers[index],\n fn = _state$orderedModifie.fn,\n _state$orderedModifie2 = _state$orderedModifie.options,\n _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,\n name = _state$orderedModifie.name;\n\n if (typeof fn === 'function') {\n state = fn({\n state: state,\n options: _options,\n name: name,\n instance: instance\n }) || state;\n }\n }\n },\n // Async and optimistically optimized update – it will not be executed if\n // not necessary (debounced to run at most once-per-tick)\n update: debounce(function () {\n return new Promise(function (resolve) {\n instance.forceUpdate();\n resolve(state);\n });\n }),\n destroy: function destroy() {\n cleanupModifierEffects();\n isDestroyed = true;\n }\n };\n\n if (!areValidElements(reference, popper)) {\n if (process.env.NODE_ENV !== \"production\") {\n console.error(INVALID_ELEMENT_ERROR);\n }\n\n return instance;\n }\n\n instance.setOptions(options).then(function (state) {\n if (!isDestroyed && options.onFirstUpdate) {\n options.onFirstUpdate(state);\n }\n }); // Modifiers have the ability to execute arbitrary code before the first\n // update cycle runs. They will be executed in the same order as the update\n // cycle. This is useful when a modifier adds some persistent data that\n // other modifiers need to use, but the modifier is run after the dependent\n // one.\n\n function runModifierEffects() {\n state.orderedModifiers.forEach(function (_ref3) {\n var name = _ref3.name,\n _ref3$options = _ref3.options,\n options = _ref3$options === void 0 ? {} : _ref3$options,\n effect = _ref3.effect;\n\n if (typeof effect === 'function') {\n var cleanupFn = effect({\n state: state,\n name: name,\n instance: instance,\n options: options\n });\n\n var noopFn = function noopFn() {};\n\n effectCleanupFns.push(cleanupFn || noopFn);\n }\n });\n }\n\n function cleanupModifierEffects() {\n effectCleanupFns.forEach(function (fn) {\n return fn();\n });\n effectCleanupFns = [];\n }\n\n return instance;\n };\n}\nexport var createPopper = /*#__PURE__*/popperGenerator(); // eslint-disable-next-line import/no-unused-modules\n\nexport { detectOverflow };","import { popperGenerator, detectOverflow } from \"./createPopper.js\";\nimport eventListeners from \"./modifiers/eventListeners.js\";\nimport popperOffsets from \"./modifiers/popperOffsets.js\";\nimport computeStyles from \"./modifiers/computeStyles.js\";\nimport applyStyles from \"./modifiers/applyStyles.js\";\nimport offset from \"./modifiers/offset.js\";\nimport flip from \"./modifiers/flip.js\";\nimport preventOverflow from \"./modifiers/preventOverflow.js\";\nimport arrow from \"./modifiers/arrow.js\";\nimport hide from \"./modifiers/hide.js\";\nvar defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles, offset, flip, preventOverflow, arrow, hide];\nvar createPopper = /*#__PURE__*/popperGenerator({\n defaultModifiers: defaultModifiers\n}); // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow }; // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper as createPopperLite } from \"./popper-lite.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport * from \"./modifiers/index.js\";","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n */\nimport { createPopper as setupPopper } from \"@popperjs/core\";\nimport { getElementDir } from \"./dom\";\nexport const CSS = {\n animation: \"calcite-popper-anim\",\n animationActive: \"calcite-popper-anim--active\"\n};\nexport function getPlacement(el, placement) {\n const placements = [\"left\", \"right\"];\n const variations = [\"start\", \"end\"];\n if (getElementDir(el) === \"rtl\") {\n placements.reverse();\n variations.reverse();\n }\n return placement\n .replace(/-leading/gi, `-${variations[0]}`)\n .replace(/-trailing/gi, `-${variations[1]}`)\n .replace(/leading/gi, placements[0])\n .replace(/trailing/gi, placements[1]);\n}\nexport function createPopper({ referenceEl, el, placement, overlayPositioning = \"absolute\", modifiers }) {\n if (!referenceEl) {\n return null;\n }\n return setupPopper(referenceEl, el, {\n strategy: overlayPositioning,\n placement: getPlacement(el, placement),\n modifiers\n });\n}\nexport async function updatePopper({ el, modifiers, placement: PopperPlacement, popper }) {\n const placement = getPlacement(el, PopperPlacement);\n await popper.setOptions({\n modifiers,\n placement\n });\n}\nexport function hypotenuse(sideA, sideB) {\n return Math.sqrt(Math.pow(sideA, 2) + Math.pow(sideB, 2));\n}\nconst visiblePointerSize = 4;\nexport const defaultOffsetDistance = Math.ceil(hypotenuse(visiblePointerSize, visiblePointerSize));\n"]}
@@ -1,7 +0,0 @@
1
- /*!
2
- * Copyright 2021 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as i,c as t,h as c,H as o,g as e}from"./p-2e1cd889.js";import{g as a,a as n,C as r}from"./p-e762b2d1.js";import{g as s}from"./p-7df393df.js";import"./p-ec178ea9.js";const l="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:-90deg;--calcite-accordion-item-active-icon-rotation:0;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0;--calcite-accordion-item-active-icon-rotation-rtl:-180deg}:host{--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}:host-context([appearance=minimal]){--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0}:host-context([appearance=transparent]){--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}:host{display:flex;flex-direction:column;text-decoration:none;outline:2px solid transparent;outline-offset:2px;position:relative;color:var(--calcite-ui-text-3);background-color:var(--calcite-accordion-item-background);--calcite-accordion-item-border:var(--calcite-ui-border-2)}:host .accordion-item-header{outline-offset:0;outline-color:transparent;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus) .accordion-item-header{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([active]){color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-content{display:block;color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-header{border-bottom-color:transparent}:host .accordion-item-header{display:flex;align-items:center;cursor:pointer;flex-direction:var(--calcite-accordion-item-flex-direction)}:host .accordion-item-icon{display:inline-flex;position:relative;margin:0;color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-right:var(--calcite-accordion-item-icon-spacing-start);margin-left:var(--calcite-accordion-item-icon-spacing-end)}.calcite--rtl .accordion-item-icon{margin-left:var(--calcite-accordion-item-icon-spacing-start);margin-right:var(--calcite-accordion-item-icon-spacing-end)}:host .accordion-item-content,:host .accordion-item-header{padding:var(--calcite-accordion-item-padding);border-bottom:1px solid var(--calcite-accordion-item-border)}:host .accordion-item-header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .accordion-item-content{display:none;color:var(--calcite-ui-text-3);padding-top:0;text-align:initial}:host .accordion-item-expand-icon{color:var(--calcite-ui-text-3);margin-left:var(--calcite-accordion-item-icon-spacing-start);margin-right:var(--calcite-accordion-item-icon-spacing-end);transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .accordion-item-expand-icon{margin-left:var(--calcite-accordion-item-icon-spacing-end);margin-right:var(--calcite-accordion-item-icon-spacing-start);transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([active]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1);transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([active]) .calcite--rtl .accordion-item-expand-icon{transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .accordion-item-header-text{flex-direction:column;flex-grow:1;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;margin-right:auto;text-align:initial}.calcite--rtl .accordion-item-header-text{margin-right:0;margin-left:auto}:host .accordion-item-title,:host .accordion-item-subtitle{display:flex;width:100%}:host .accordion-item-title{color:var(--calcite-ui-text-2);font-weight:var(--calcite-font-weight-medium)}:host .accordion-item-subtitle{color:var(--calcite-ui-text-3);margin-top:0.25rem}.calcite--rtl .accordion-item-title{margin-right:0;margin-left:auto}:host(:focus) .accordion-item-title,:host(:hover) .accordion-item-title{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:hover) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:hover) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-subtitle,:host(:hover) .accordion-item-subtitle{color:var(--calcite-ui-text-2)}:host(:focus) .accordion-item-title,:host(:active) .accordion-item-title,:host([active]) .accordion-item-title{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:active) .accordion-item-icon,:host([active]) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:active) .accordion-item-expand-icon,:host([active]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-subtitle,:host(:active) .accordion-item-subtitle,:host([active]) .accordion-item-subtitle{color:var(--calcite-ui-text-2)}";let d=class{constructor(c){i(this,c);this.calciteAccordionItemKeyEvent=t(this,"calciteAccordionItemKeyEvent",7);this.calciteAccordionItemSelect=t(this,"calciteAccordionItemSelect",7);this.calciteAccordionItemClose=t(this,"calciteAccordionItemClose",7);this.calciteAccordionItemRegister=t(this,"calciteAccordionItemRegister",7);this.active=false;this.iconPosition="end";this.itemHeaderClickHandler=()=>this.emitRequestedItem()}connectedCallback(){this.parent=this.el.parentElement;this.selectionMode=a(this.el,"selection-mode","multi");this.iconType=a(this.el,"icon-type","chevron");this.iconPosition=a(this.el,"icon-position",this.iconPosition)}componentDidLoad(){this.itemPosition=this.getItemPosition();this.calciteAccordionItemRegister.emit({parent:this.parent,position:this.itemPosition})}render(){const i=n(this.el);const t=c("calcite-icon",{class:"accordion-item-icon",icon:this.icon,scale:"s"});return c(o,{"aria-expanded":this.active.toString(),tabindex:"0"},c("div",{class:{[`icon-position--${this.iconPosition}`]:true,[`icon-type--${this.iconType}`]:true}},c("div",{class:{"accordion-item-header":true,[r.rtl]:i==="rtl"},onClick:this.itemHeaderClickHandler},this.icon?t:null,c("div",{class:"accordion-item-header-text"},c("span",{class:"accordion-item-title"},this.itemTitle),this.itemSubtitle?c("span",{class:"accordion-item-subtitle"},this.itemSubtitle):null),c("calcite-icon",{class:"accordion-item-expand-icon",icon:this.iconType==="chevron"?"chevronDown":this.iconType==="caret"?"caretDown":this.active?"minus":"plus",scale:"s"})),c("div",{class:"accordion-item-content"},c("slot",null))))}keyDownHandler(i){if(i.target===this.el){switch(s(i.key)){case" ":case"Enter":this.emitRequestedItem();i.preventDefault();break;case"ArrowUp":case"ArrowDown":case"Home":case"End":this.calciteAccordionItemKeyEvent.emit({parent:this.parent,item:i});i.preventDefault();break}}}updateActiveItemOnChange(i){this.requestedAccordionItem=i.detail.requestedAccordionItem;if(this.el.parentNode!==this.requestedAccordionItem.parentNode){return}this.determineActiveItem()}determineActiveItem(){switch(this.selectionMode){case"multi":if(this.el===this.requestedAccordionItem){this.active=!this.active}break;case"single":this.active=this.el===this.requestedAccordionItem?!this.active:false;break;case"single-persist":this.active=this.el===this.requestedAccordionItem;break}}emitRequestedItem(){this.calciteAccordionItemSelect.emit({requestedAccordionItem:this.el})}getItemPosition(){return Array.prototype.indexOf.call(this.parent.querySelectorAll("calcite-accordion-item"),this.el)}get el(){return e(this)}};d.style=l;export{d as calcite_accordion_item};
7
- //# sourceMappingURL=p-ff3697a9.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["node_modules/@esri/calcite-components/dist/collection/components/calcite-accordion-item/calcite-accordion-item.css?tag=calcite-accordion-item&encapsulation=shadow","node_modules/@esri/calcite-components/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js"],"names":["calciteAccordionItemCss","CalciteAccordionItem","[object Object]","hostRef","this","active","iconPosition","itemHeaderClickHandler","emitRequestedItem","parent","el","parentElement","selectionMode","getElementProp","iconType","itemPosition","getItemPosition","calciteAccordionItemRegister","emit","position","dir","getElementDir","iconEl","h","class","icon","scale","Host","aria-expanded","toString","tabindex","accordion-item-header","CSS_UTILITY","rtl","onClick","itemTitle","itemSubtitle","e","target","getKey","key","preventDefault","calciteAccordionItemKeyEvent","item","event","requestedAccordionItem","detail","parentNode","determineActiveItem","calciteAccordionItemSelect","Array","prototype","indexOf","call","querySelectorAll"],"mappings":";;;;;8KAAA,MAAMA,EAA0B,+7LCWnBC,EAAoB,MAC/BC,YAAAC,+SAOEC,KAAKC,OAAS,MAEdD,KAAKE,aAAe,MAEpBF,KAAKG,uBAAyB,IAAMH,KAAKI,oBAO3CN,oBACEE,KAAKK,OAASL,KAAKM,GAAGC,cACtBP,KAAKQ,cAAgBC,EAAeT,KAAKM,GAAI,i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KAAKsC,6BAA6BxB,KAAK,CACrCT,OAAQL,KAAKK,OACbkC,KAAMN,IAERA,EAAEI,iBACF,QAIRvC,yBAAyB0C,GACvBxC,KAAKyC,uBAAyBD,EAAME,OACjCD,uBACH,GAAIzC,KAAKM,GAAGqC,aAAe3C,KAAKyC,uBAAuBE,WAAY,CACjE,OAEF3C,KAAK4C,sBAOP9C,sBACE,OAAQE,KAAKQ,eACX,IAAK,QACH,GAAIR,KAAKM,KAAON,KAAKyC,uBAAwB,CAC3CzC,KAAKC,QAAUD,KAAKC,OAEtB,MACF,IAAK,SACHD,KAAKC,OAASD,KAAKM,KAAON,KAAKyC,wBAA0BzC,KAAKC,OAAS,MACvE,MACF,IAAK,iBACHD,KAAKC,OAASD,KAAKM,KAAON,KAAKyC,uBAC/B,OAGN3C,oBACEE,KAAK6C,2BAA2B/B,KAAK,CACnC2B,uBAAwBzC,KAAKM,KAGjCR,kBACE,OAAOgD,MAAMC,UAAUC,QAAQC,KAAKjD,KAAKK,OAAO6C,iBAAiB,0BAA2BlD,KAAKM","sourcesContent":["/* mixins & extensions */\n\n@keyframes in {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n\n:root {\n --calcite-animation-timing: 300ms;\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n/**\n* Currently only used in Checkbox.\n*/\n\n:root {\n --calcite-popper-transition: 150ms ease-in-out;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n.icon-position--end, .icon-position--start {\n /* icon rotation variables */\n --calcite-accordion-item-icon-rotation: -90deg;\n --calcite-accordion-item-active-icon-rotation: 0;\n --calcite-accordion-item-icon-rotation-rtl: 90deg;\n --calcite-accordion-item-active-icon-rotation-rtl: 0;\n}\n\n.icon-position--start {\n --calcite-accordion-item-flex-direction: row-reverse;\n --calcite-accordion-item-icon-spacing-start: 0;\n --calcite-accordion-item-icon-spacing-end: var(--calcite-accordion-icon-margin);\n}\n\n.icon-position--end {\n --calcite-accordion-item-flex-direction: row;\n --calcite-accordion-item-icon-spacing-start: var(--calcite-accordion-icon-margin);\n --calcite-accordion-item-icon-spacing-end: 0;\n}\n\n.icon-position--end:not(.icon-type--plus-minus) {\n --calcite-accordion-item-icon-rotation: 0;\n --calcite-accordion-item-active-icon-rotation: 180deg;\n --calcite-accordion-item-icon-rotation-rtl: 0;\n --calcite-accordion-item-active-icon-rotation-rtl: -180deg;\n}\n\n:host {\n --calcite-accordion-item-background: var(--calcite-ui-foreground-1);\n}\n\n:host-context([appearance=minimal]) {\n --calcite-accordion-item-padding: var(--calcite-accordion-item-spacing-unit) 0;\n}\n\n:host-context([appearance=transparent]) {\n --calcite-accordion-item-border: transparent;\n --calcite-accordion-item-background: transparent;\n}\n\n:host {\n display: flex;\n flex-direction: column;\n text-decoration: none;\n outline: 2px solid transparent;\n outline-offset: 2px;\n position: relative;\n color: var(--calcite-ui-text-3);\n background-color: var(--calcite-accordion-item-background);\n --calcite-accordion-item-border: var(--calcite-ui-border-2);\n}\n\n:host .accordion-item-header {\n outline-offset: 0;\n outline-color: transparent;\n transition: outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;\n}\n\n:host(:focus) .accordion-item-header {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: -2px;\n}\n\n:host([active]) {\n color: var(--calcite-ui-text-1);\n}\n\n:host([active]) .accordion-item-content {\n display: block;\n color: var(--calcite-ui-text-1);\n}\n\n:host([active]) .accordion-item-header {\n border-bottom-color: transparent;\n}\n\n:host .accordion-item-header {\n display: flex;\n align-items: center;\n cursor: pointer;\n flex-direction: var(--calcite-accordion-item-flex-direction);\n}\n\n:host .accordion-item-icon {\n display: inline-flex;\n position: relative;\n margin: 0;\n color: var(--calcite-ui-text-3);\n transition-duration: 150ms;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n margin-right: var(--calcite-accordion-item-icon-spacing-start);\n margin-left: var(--calcite-accordion-item-icon-spacing-end);\n}\n\n.calcite--rtl .accordion-item-icon {\n margin-left: var(--calcite-accordion-item-icon-spacing-start);\n margin-right: var(--calcite-accordion-item-icon-spacing-end);\n}\n\n:host .accordion-item-content,\n:host .accordion-item-header {\n padding: var(--calcite-accordion-item-padding);\n border-bottom: 1px solid var(--calcite-accordion-item-border);\n}\n\n:host .accordion-item-header * {\n display: inline-flex;\n align-items: center;\n transition-duration: 150ms;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n:host .accordion-item-content {\n display: none;\n color: var(--calcite-ui-text-3);\n padding-top: 0;\n text-align: initial;\n}\n\n:host .accordion-item-expand-icon {\n color: var(--calcite-ui-text-3);\n margin-left: var(--calcite-accordion-item-icon-spacing-start);\n margin-right: var(--calcite-accordion-item-icon-spacing-end);\n transform: rotate(var(--calcite-accordion-item-icon-rotation));\n}\n\n.calcite--rtl .accordion-item-expand-icon {\n margin-left: var(--calcite-accordion-item-icon-spacing-end);\n margin-right: var(--calcite-accordion-item-icon-spacing-start);\n transform: rotate(var(--calcite-accordion-item-icon-rotation-rtl));\n}\n\n:host([active]) .accordion-item-expand-icon {\n color: var(--calcite-ui-text-1);\n transform: rotate(var(--calcite-accordion-item-active-icon-rotation));\n}\n\n:host([active]) .calcite--rtl .accordion-item-expand-icon {\n transform: rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));\n}\n\n:host .accordion-item-header-text {\n flex-direction: column;\n flex-grow: 1;\n margin-top: 0;\n margin-bottom: 0;\n padding-top: 0;\n padding-bottom: 0;\n margin-right: auto;\n text-align: initial;\n}\n\n.calcite--rtl .accordion-item-header-text {\n margin-right: 0;\n margin-left: auto;\n}\n\n:host .accordion-item-title,\n:host .accordion-item-subtitle {\n display: flex;\n width: 100%;\n}\n\n:host .accordion-item-title {\n color: var(--calcite-ui-text-2);\n font-weight: var(--calcite-font-weight-medium);\n}\n\n:host .accordion-item-subtitle {\n color: var(--calcite-ui-text-3);\n margin-top: 0.25rem;\n}\n\n.calcite--rtl .accordion-item-title {\n margin-right: 0;\n margin-left: auto;\n}\n\n:host(:focus) .accordion-item-title,\n:host(:hover) .accordion-item-title {\n color: var(--calcite-ui-text-1);\n}\n\n:host(:focus) .accordion-item-icon,\n:host(:hover) .accordion-item-icon {\n color: var(--calcite-ui-text-1);\n}\n\n:host(:focus) .accordion-item-expand-icon,\n:host(:hover) .accordion-item-expand-icon {\n color: var(--calcite-ui-text-1);\n}\n\n:host(:focus) .accordion-item-subtitle,\n:host(:hover) .accordion-item-subtitle {\n color: var(--calcite-ui-text-2);\n}\n\n:host(:focus) .accordion-item-title,\n:host(:active) .accordion-item-title,\n:host([active]) .accordion-item-title {\n color: var(--calcite-ui-text-1);\n}\n\n:host(:focus) .accordion-item-icon,\n:host(:active) .accordion-item-icon,\n:host([active]) .accordion-item-icon {\n color: var(--calcite-ui-text-1);\n}\n\n:host(:focus) .accordion-item-expand-icon,\n:host(:active) .accordion-item-expand-icon,\n:host([active]) .accordion-item-expand-icon {\n color: var(--calcite-ui-text-1);\n}\n\n:host(:focus) .accordion-item-subtitle,\n:host(:active) .accordion-item-subtitle,\n:host([active]) .accordion-item-subtitle {\n color: var(--calcite-ui-text-2);\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n */\nimport { Component, Element, Event, h, Host, Listen, Prop } from \"@stencil/core\";\nimport { getElementDir, getElementProp } from \"../../utils/dom\";\nimport { getKey } from \"../../utils/key\";\nimport { CSS_UTILITY } from \"../../utils/resources\";\n/**\n * @slot - A slot for adding custom content.\n */\nexport class CalciteAccordionItem {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n /** Indicates whether the item is active. */\n this.active = false;\n /** what icon position does the parent accordion specify */\n this.iconPosition = \"end\";\n /** handle clicks on item header */\n this.itemHeaderClickHandler = () => this.emitRequestedItem();\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n connectedCallback() {\n this.parent = this.el.parentElement;\n this.selectionMode = getElementProp(this.el, \"selection-mode\", \"multi\");\n this.iconType = getElementProp(this.el, \"icon-type\", \"chevron\");\n this.iconPosition = getElementProp(this.el, \"icon-position\", this.iconPosition);\n }\n componentDidLoad() {\n this.itemPosition = this.getItemPosition();\n this.calciteAccordionItemRegister.emit({\n parent: this.parent,\n position: this.itemPosition\n });\n }\n render() {\n const dir = getElementDir(this.el);\n const iconEl = h(\"calcite-icon\", { class: \"accordion-item-icon\", icon: this.icon, scale: \"s\" });\n return (h(Host, { \"aria-expanded\": this.active.toString(), tabindex: \"0\" },\n h(\"div\", { class: {\n [`icon-position--${this.iconPosition}`]: true,\n [`icon-type--${this.iconType}`]: true\n } },\n h(\"div\", { class: { \"accordion-item-header\": true, [CSS_UTILITY.rtl]: dir === \"rtl\" }, onClick: this.itemHeaderClickHandler },\n this.icon ? iconEl : null,\n h(\"div\", { class: \"accordion-item-header-text\" },\n h(\"span\", { class: \"accordion-item-title\" }, this.itemTitle),\n this.itemSubtitle ? (h(\"span\", { class: \"accordion-item-subtitle\" }, this.itemSubtitle)) : null),\n h(\"calcite-icon\", { class: \"accordion-item-expand-icon\", icon: this.iconType === \"chevron\"\n ? \"chevronDown\"\n : this.iconType === \"caret\"\n ? \"caretDown\"\n : this.active\n ? \"minus\"\n : \"plus\", scale: \"s\" })),\n h(\"div\", { class: \"accordion-item-content\" },\n h(\"slot\", null)))));\n }\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n keyDownHandler(e) {\n if (e.target === this.el) {\n switch (getKey(e.key)) {\n case \" \":\n case \"Enter\":\n this.emitRequestedItem();\n e.preventDefault();\n break;\n case \"ArrowUp\":\n case \"ArrowDown\":\n case \"Home\":\n case \"End\":\n this.calciteAccordionItemKeyEvent.emit({\n parent: this.parent,\n item: e\n });\n e.preventDefault();\n break;\n }\n }\n }\n updateActiveItemOnChange(event) {\n this.requestedAccordionItem = event.detail\n .requestedAccordionItem;\n if (this.el.parentNode !== this.requestedAccordionItem.parentNode) {\n return;\n }\n this.determineActiveItem();\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n determineActiveItem() {\n switch (this.selectionMode) {\n case \"multi\":\n if (this.el === this.requestedAccordionItem) {\n this.active = !this.active;\n }\n break;\n case \"single\":\n this.active = this.el === this.requestedAccordionItem ? !this.active : false;\n break;\n case \"single-persist\":\n this.active = this.el === this.requestedAccordionItem;\n break;\n }\n }\n emitRequestedItem() {\n this.calciteAccordionItemSelect.emit({\n requestedAccordionItem: this.el\n });\n }\n getItemPosition() {\n return Array.prototype.indexOf.call(this.parent.querySelectorAll(\"calcite-accordion-item\"), this.el);\n }\n static get is() { return \"calcite-accordion-item\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-accordion-item.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-accordion-item.css\"]\n }; }\n static get properties() { return {\n \"active\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Indicates whether the item is active.\"\n },\n \"attribute\": \"active\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"itemTitle\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"pass a title for the accordion item\"\n },\n \"attribute\": \"item-title\",\n \"reflect\": false\n },\n \"itemSubtitle\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"pass a title for the accordion item\"\n },\n \"attribute\": \"item-subtitle\",\n \"reflect\": false\n },\n \"icon\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"optionally pass an icon to display - accepts Calcite UI icon names\"\n },\n \"attribute\": \"icon\",\n \"reflect\": true\n }\n }; }\n static get events() { return [{\n \"method\": \"calciteAccordionItemKeyEvent\",\n \"name\": \"calciteAccordionItemKeyEvent\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteAccordionItemSelect\",\n \"name\": \"calciteAccordionItemSelect\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteAccordionItemClose\",\n \"name\": \"calciteAccordionItemClose\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteAccordionItemRegister\",\n \"name\": \"calciteAccordionItemRegister\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }]; }\n static get elementRef() { return \"el\"; }\n static get listeners() { return [{\n \"name\": \"keydown\",\n \"method\": \"keyDownHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"calciteAccordionChange\",\n \"method\": \"updateActiveItemOnChange\",\n \"target\": \"body\",\n \"capture\": false,\n \"passive\": false\n }]; }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"names":["patchBrowser","importMeta","import","meta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","bootstrapLazy","JSON","parse"],"mappings":";;;;;2CAMA,MAAMA,EAAe,KAyBjB,MAAMC,EAAaC,OAAOC,KAAKC,IAC/B,MAAMC,EAA6D,GAenE,GAAuBJ,IAAe,GAAI,CACtCI,EAAKC,aAAe,IAAIC,IAAI,IAAKN,GAAYO,KAajD,OAAOC,EAAeJ,IC1D1BL,IAAeU,MAAKC,GAEXC,EAAcC,KAAAC,MAAA,w+5BAAuCH","sourcesContent":["/*\n Stencil Client Patch Browser v2.11.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, plt, win, doc, promiseResolve, H } from '@stencil/core';\nconst getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\\s|-/g, '_')}`;\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cssVarShim) {\n // shim css vars\n plt.$cssShim$ = win.__cssshim;\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? scriptElm['data-opts'] || {} : {};\n if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {\n // Safari < v11 support: This IF is true if it's Safari below v11.\n // This fn cannot use async/await since Safari didn't support it until v11,\n // however, Safari 10 did support modules. Safari 10 also didn't support \"nomodule\",\n // so both the ESM file and nomodule file would get downloaded. Only Safari\n // has 'onbeforeload' in the script, and \"history.scrollRestoration\" was added\n // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.\n // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.\n return {\n then() {\n /* promise noop */\n },\n };\n }\n if (!BUILD.safari10 && importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n else if (BUILD.dynamicImportShim || BUILD.safari10) {\n opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;\n if (BUILD.dynamicImportShim) {\n patchDynamicImport(opts.resourcesUrl, scriptElm);\n }\n if (BUILD.dynamicImportShim && !win.customElements) {\n // module support, but no custom elements support (Old Edge)\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-dom\" */ './dom.js').then(() => opts);\n }\n }\n return promiseResolve(opts);\n};\nconst patchDynamicImport = (base, orgScriptElm) => {\n const importFunctionName = getDynamicImportFunction(NAMESPACE);\n try {\n // test if this browser supports dynamic imports\n // There is a caching issue in V8, that breaks using import() in Function\n // By generating a random string, we can workaround it\n // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info\n win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);\n }\n catch (e) {\n // this shim is specifically for browsers that do support \"esm\" imports\n // however, they do NOT support \"dynamic\" imports\n // basically this code is for old Edge, v18 and below\n const moduleMap = new Map();\n win[importFunctionName] = (src) => {\n const url = new URL(src, base).href;\n let mod = moduleMap.get(url);\n if (!mod) {\n const script = doc.createElement('script');\n script.type = 'module';\n script.crossOrigin = orgScriptElm.crossOrigin;\n script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {\n type: 'application/javascript',\n }));\n mod = new Promise((resolve) => {\n script.onload = () => {\n resolve(win[importFunctionName].m);\n script.remove();\n };\n });\n moduleMap.set(url, mod);\n doc.head.appendChild(script);\n }\n return mod;\n };\n }\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","import { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"]}