@esri/calcite-components 1.0.0-beta.69 → 1.0.0-beta.72

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1096) hide show
  1. package/dist/calcite/assets/calcite-icon/centerAlign16.json +1 -0
  2. package/dist/calcite/assets/calcite-icon/centerAlign24.json +1 -0
  3. package/dist/calcite/assets/calcite-icon/centerAlign32.json +1 -0
  4. package/dist/calcite/assets/calcite-icon/checkExtent16.json +1 -0
  5. package/dist/calcite/assets/calcite-icon/checkExtent24.json +1 -0
  6. package/dist/calcite/assets/calcite-icon/checkExtent32.json +1 -0
  7. package/dist/calcite/assets/calcite-icon/cloudy16.json +1 -0
  8. package/dist/calcite/assets/calcite-icon/cloudy24.json +1 -0
  9. package/dist/calcite/assets/calcite-icon/cloudy32.json +1 -0
  10. package/dist/calcite/assets/calcite-icon/convert16.json +1 -0
  11. package/dist/calcite/assets/calcite-icon/convert24.json +1 -0
  12. package/dist/calcite/assets/calcite-icon/convert32.json +1 -0
  13. package/dist/calcite/assets/calcite-icon/displaySelectionLock16.json +1 -0
  14. package/dist/calcite/assets/calcite-icon/displaySelectionLock24.json +1 -0
  15. package/dist/calcite/assets/calcite-icon/displaySelectionLock32.json +1 -0
  16. package/dist/calcite/assets/calcite-icon/displaySelectionUnlock16.json +1 -0
  17. package/dist/calcite/assets/calcite-icon/displaySelectionUnlock24.json +1 -0
  18. package/dist/calcite/assets/calcite-icon/displaySelectionUnlock32.json +1 -0
  19. package/dist/calcite/assets/calcite-icon/driveTime16.json +1 -0
  20. package/dist/calcite/assets/calcite-icon/driveTime24.json +1 -0
  21. package/dist/calcite/assets/calcite-icon/driveTime32.json +1 -0
  22. package/dist/calcite/assets/calcite-icon/driveTimeLargest16.json +1 -0
  23. package/dist/calcite/assets/calcite-icon/driveTimeLargest24.json +1 -0
  24. package/dist/calcite/assets/calcite-icon/driveTimeLargest32.json +1 -0
  25. package/dist/calcite/assets/calcite-icon/driveTimeSmallest16.json +1 -0
  26. package/dist/calcite/assets/calcite-icon/driveTimeSmallest24.json +1 -0
  27. package/dist/calcite/assets/calcite-icon/driveTimeSmallest32.json +1 -0
  28. package/dist/calcite/assets/calcite-icon/driveTimeThreshold16.json +1 -0
  29. package/dist/calcite/assets/calcite-icon/driveTimeThreshold24.json +1 -0
  30. package/dist/calcite/assets/calcite-icon/driveTimeThreshold32.json +1 -0
  31. package/dist/calcite/assets/calcite-icon/driveTimeXBar16.json +1 -0
  32. package/dist/calcite/assets/calcite-icon/driveTimeXBar24.json +1 -0
  33. package/dist/calcite/assets/calcite-icon/driveTimeXBar32.json +1 -0
  34. package/dist/calcite/assets/calcite-icon/fog16.json +1 -0
  35. package/dist/calcite/assets/calcite-icon/fog24.json +1 -0
  36. package/dist/calcite/assets/calcite-icon/fog32.json +1 -0
  37. package/dist/calcite/assets/calcite-icon/formDropdown16.json +1 -0
  38. package/dist/calcite/assets/calcite-icon/formDropdown24.json +1 -0
  39. package/dist/calcite/assets/calcite-icon/formDropdown32.json +1 -0
  40. package/dist/calcite/assets/calcite-icon/groupItems16.json +1 -0
  41. package/dist/calcite/assets/calcite-icon/groupItems24.json +1 -0
  42. package/dist/calcite/assets/calcite-icon/groupItems32.json +1 -0
  43. package/dist/calcite/assets/calcite-icon/groupLayoutElements16.json +1 -0
  44. package/dist/calcite/assets/calcite-icon/groupLayoutElements24.json +1 -0
  45. package/dist/calcite/assets/calcite-icon/groupLayoutElements32.json +1 -0
  46. package/dist/calcite/assets/calcite-icon/heavyRain16.json +1 -0
  47. package/dist/calcite/assets/calcite-icon/heavyRain24.json +1 -0
  48. package/dist/calcite/assets/calcite-icon/heavyRain32.json +1 -0
  49. package/dist/calcite/assets/calcite-icon/heavySnow16.json +1 -0
  50. package/dist/calcite/assets/calcite-icon/heavySnow24.json +1 -0
  51. package/dist/calcite/assets/calcite-icon/heavySnow32.json +1 -0
  52. package/dist/calcite/assets/calcite-icon/language16.json +1 -0
  53. package/dist/calcite/assets/calcite-icon/language24.json +1 -0
  54. package/dist/calcite/assets/calcite-icon/language32.json +1 -0
  55. package/dist/calcite/assets/calcite-icon/languageTranslate16.json +1 -0
  56. package/dist/calcite/assets/calcite-icon/languageTranslate24.json +1 -0
  57. package/dist/calcite/assets/calcite-icon/languageTranslate32.json +1 -0
  58. package/dist/calcite/assets/calcite-icon/leftAlign16.json +1 -0
  59. package/dist/calcite/assets/calcite-icon/leftAlign24.json +1 -0
  60. package/dist/calcite/assets/calcite-icon/leftAlign32.json +1 -0
  61. package/dist/calcite/assets/calcite-icon/lightRain16.json +1 -0
  62. package/dist/calcite/assets/calcite-icon/lightRain24.json +1 -0
  63. package/dist/calcite/assets/calcite-icon/lightRain32.json +1 -0
  64. package/dist/calcite/assets/calcite-icon/lightSnow16.json +1 -0
  65. package/dist/calcite/assets/calcite-icon/lightSnow24.json +1 -0
  66. package/dist/calcite/assets/calcite-icon/lightSnow32.json +1 -0
  67. package/dist/calcite/assets/calcite-icon/partlyCloud16.json +1 -0
  68. package/dist/calcite/assets/calcite-icon/partlyCloud24.json +1 -0
  69. package/dist/calcite/assets/calcite-icon/partlyCloud32.json +1 -0
  70. package/dist/calcite/assets/calcite-icon/rain16.json +1 -0
  71. package/dist/calcite/assets/calcite-icon/rain24.json +1 -0
  72. package/dist/calcite/assets/calcite-icon/rain32.json +1 -0
  73. package/dist/calcite/assets/calcite-icon/rainSnow16.json +1 -0
  74. package/dist/calcite/assets/calcite-icon/rainSnow24.json +1 -0
  75. package/dist/calcite/assets/calcite-icon/rainSnow32.json +1 -0
  76. package/dist/calcite/assets/calcite-icon/rainThunder16.json +1 -0
  77. package/dist/calcite/assets/calcite-icon/rainThunder24.json +1 -0
  78. package/dist/calcite/assets/calcite-icon/rainThunder32.json +1 -0
  79. package/dist/calcite/assets/calcite-icon/ringsLargest16.json +1 -0
  80. package/dist/calcite/assets/calcite-icon/ringsLargest24.json +1 -0
  81. package/dist/calcite/assets/calcite-icon/ringsLargest32.json +1 -0
  82. package/dist/calcite/assets/calcite-icon/ringsSmallest16.json +1 -0
  83. package/dist/calcite/assets/calcite-icon/ringsSmallest24.json +1 -0
  84. package/dist/calcite/assets/calcite-icon/ringsSmallest32.json +1 -0
  85. package/dist/calcite/assets/calcite-icon/ringsThreshold16.json +1 -0
  86. package/dist/calcite/assets/calcite-icon/ringsThreshold24.json +1 -0
  87. package/dist/calcite/assets/calcite-icon/ringsThreshold32.json +1 -0
  88. package/dist/calcite/assets/calcite-icon/ringsXBar16.json +1 -0
  89. package/dist/calcite/assets/calcite-icon/ringsXBar24.json +1 -0
  90. package/dist/calcite/assets/calcite-icon/ringsXBar32.json +1 -0
  91. package/dist/calcite/assets/calcite-icon/selectVisible16.json +1 -0
  92. package/dist/calcite/assets/calcite-icon/selectVisible24.json +1 -0
  93. package/dist/calcite/assets/calcite-icon/selectVisible32.json +1 -0
  94. package/dist/calcite/assets/calcite-icon/snow16.json +1 -0
  95. package/dist/calcite/assets/calcite-icon/snow24.json +1 -0
  96. package/dist/calcite/assets/calcite-icon/snow32.json +1 -0
  97. package/dist/calcite/assets/calcite-icon/snowThunder16.json +1 -0
  98. package/dist/calcite/assets/calcite-icon/snowThunder24.json +1 -0
  99. package/dist/calcite/assets/calcite-icon/snowThunder32.json +1 -0
  100. package/dist/calcite/assets/calcite-icon/terminal16.json +1 -0
  101. package/dist/calcite/assets/calcite-icon/terminal24.json +1 -0
  102. package/dist/calcite/assets/calcite-icon/terminal32.json +1 -0
  103. package/dist/calcite/assets/calcite-icon/touch16.json +1 -0
  104. package/dist/calcite/assets/calcite-icon/touch24.json +1 -0
  105. package/dist/calcite/assets/calcite-icon/touch32.json +1 -0
  106. package/dist/calcite/assets/calcite-icon/ungroupItems16.json +1 -0
  107. package/dist/calcite/assets/calcite-icon/ungroupItems24.json +1 -0
  108. package/dist/calcite/assets/calcite-icon/ungroupItems32.json +1 -0
  109. package/dist/calcite/assets/calcite-icon/ungroupLayoutElements16.json +1 -0
  110. package/dist/calcite/assets/calcite-icon/ungroupLayoutElements24.json +1 -0
  111. package/dist/calcite/assets/calcite-icon/ungroupLayoutElements32.json +1 -0
  112. package/dist/calcite/calcite.css +1 -1
  113. package/dist/calcite/calcite.esm.js +1 -1
  114. package/dist/calcite/calcite.js +1 -1
  115. package/dist/calcite/p-0229a408.js +5 -0
  116. package/dist/calcite/p-04cc8259.entry.js +5 -0
  117. package/dist/calcite/p-057197f8.entry.js +5 -0
  118. package/dist/calcite/p-05c10c53.entry.js +5 -0
  119. package/dist/calcite/p-05edaadf.system.entry.js +5 -0
  120. package/dist/calcite/p-06ddf228.entry.js +5 -0
  121. package/dist/calcite/p-0b45733b.entry.js +5 -0
  122. package/dist/calcite/{p-d11ad046.system.js → p-0f2b51bf.system.js} +1 -1
  123. package/dist/calcite/p-112f20e6.system.entry.js +5 -0
  124. package/dist/calcite/p-11f01c0a.entry.js +5 -0
  125. package/dist/calcite/p-18d9a261.system.js +5 -0
  126. package/dist/calcite/p-1942876c.js +5 -0
  127. package/dist/calcite/{p-3f1d1bad.entry.js → p-2151c991.entry.js} +1 -1
  128. package/dist/calcite/{p-f281f1e9.entry.js → p-27d9be53.entry.js} +1 -1
  129. package/dist/calcite/p-288899b9.entry.js +5 -0
  130. package/dist/calcite/p-288bc438.system.js +5 -0
  131. package/dist/calcite/p-2b294f8e.system.entry.js +5 -0
  132. package/dist/calcite/{p-c60e3a71.entry.js → p-2be1e8ee.entry.js} +1 -1
  133. package/dist/calcite/p-2d09cc25.js +5 -0
  134. package/dist/calcite/p-2d939f9e.system.entry.js +5 -0
  135. package/dist/calcite/p-2e29554c.js +5 -0
  136. package/dist/calcite/p-2fbd50f3.system.entry.js +5 -0
  137. package/dist/calcite/p-30036f23.system.entry.js +5 -0
  138. package/dist/calcite/{p-25a31861.system.js → p-34e5baa7.system.js} +1 -1
  139. package/dist/calcite/p-35a5c74c.system.js +5 -0
  140. package/dist/calcite/p-3739338a.system.entry.js +5 -0
  141. package/dist/calcite/p-3c25cb72.system.entry.js +5 -0
  142. package/dist/calcite/p-3d8ee39d.system.entry.js +5 -0
  143. package/dist/calcite/p-3e9c6068.entry.js +5 -0
  144. package/dist/calcite/p-3f8527a3.entry.js +5 -0
  145. package/dist/calcite/p-40991717.entry.js +5 -0
  146. package/dist/calcite/p-40e16f41.entry.js +5 -0
  147. package/dist/calcite/p-4278fb57.entry.js +5 -0
  148. package/dist/calcite/p-444ecda9.entry.js +5 -0
  149. package/dist/calcite/p-44cce7a3.system.entry.js +5 -0
  150. package/dist/calcite/p-4d02c6c0.system.entry.js +5 -0
  151. package/dist/calcite/{p-4035444d.system.js → p-4e9d072a.system.js} +1 -1
  152. package/dist/calcite/p-4f1f716a.system.entry.js +5 -0
  153. package/dist/calcite/p-4f7ebefc.system.js +5 -0
  154. package/dist/calcite/p-523bc291.system.js +5 -0
  155. package/dist/calcite/p-55f68e28.entry.js +5 -0
  156. package/dist/calcite/p-57169a74.entry.js +5 -0
  157. package/dist/calcite/p-5c9d89ce.system.entry.js +5 -0
  158. package/dist/calcite/p-62f3d4df.system.js +5 -0
  159. package/dist/calcite/p-63b9f804.entry.js +5 -0
  160. package/dist/calcite/p-66fda99e.entry.js +5 -0
  161. package/dist/calcite/p-689790cb.system.entry.js +5 -0
  162. package/dist/calcite/p-69bd1f5f.system.entry.js +5 -0
  163. package/dist/calcite/p-6a87d7b2.entry.js +5 -0
  164. package/dist/calcite/p-6faaa8af.system.entry.js +5 -0
  165. package/dist/calcite/p-6fb63fc1.entry.js +5 -0
  166. package/dist/calcite/p-72a60528.system.entry.js +5 -0
  167. package/dist/calcite/p-763479d6.system.entry.js +5 -0
  168. package/dist/calcite/p-768018df.entry.js +5 -0
  169. package/dist/calcite/p-76eda40b.entry.js +5 -0
  170. package/dist/calcite/p-7ac9f860.entry.js +5 -0
  171. package/dist/calcite/p-7ff5e336.entry.js +5 -0
  172. package/dist/calcite/{p-45257edb.js → p-8340b572.js} +1 -1
  173. package/dist/calcite/p-83744979.system.js +5 -0
  174. package/dist/calcite/p-87327c2f.system.entry.js +5 -0
  175. package/dist/calcite/p-88296be9.system.entry.js +5 -0
  176. package/dist/calcite/p-88b31760.system.entry.js +5 -0
  177. package/dist/calcite/p-8a8982ab.system.entry.js +5 -0
  178. package/dist/calcite/p-8c4b6059.system.entry.js +5 -0
  179. package/dist/calcite/p-8ebc2d51.entry.js +5 -0
  180. package/dist/calcite/p-9180be05.system.entry.js +5 -0
  181. package/dist/calcite/p-93a189be.entry.js +5 -0
  182. package/dist/calcite/p-97117a5d.entry.js +5 -0
  183. package/dist/calcite/p-97efd284.system.entry.js +5 -0
  184. package/dist/calcite/p-998829cb.system.entry.js +5 -0
  185. package/dist/calcite/p-9a1ffbad.system.entry.js +5 -0
  186. package/dist/calcite/p-9a8f3883.entry.js +5 -0
  187. package/dist/calcite/p-9b979692.entry.js +5 -0
  188. package/dist/calcite/p-9fc14d49.entry.js +5 -0
  189. package/dist/calcite/p-9feb0f5a.system.entry.js +5 -0
  190. package/dist/calcite/p-a2a22cbc.entry.js +5 -0
  191. package/dist/calcite/p-a3c498de.entry.js +5 -0
  192. package/dist/calcite/p-a4784cf3.system.entry.js +5 -0
  193. package/dist/calcite/p-a4a12ffb.system.entry.js +5 -0
  194. package/dist/calcite/p-a6f99f79.entry.js +5 -0
  195. package/dist/calcite/p-a98344e2.system.entry.js +5 -0
  196. package/dist/calcite/p-a9f596be.system.entry.js +5 -0
  197. package/dist/calcite/p-adf4699d.system.entry.js +5 -0
  198. package/dist/calcite/p-b180d943.system.entry.js +5 -0
  199. package/dist/calcite/p-b2f0596f.entry.js +5 -0
  200. package/dist/calcite/p-b437a8eb.system.entry.js +5 -0
  201. package/dist/calcite/p-b43e699c.system.entry.js +5 -0
  202. package/dist/calcite/p-ba7c0f01.system.entry.js +5 -0
  203. package/dist/calcite/p-bca0b34f.entry.js +5 -0
  204. package/dist/calcite/p-bd091b49.system.entry.js +5 -0
  205. package/dist/calcite/p-bdca5372.entry.js +5 -0
  206. package/dist/calcite/p-bfa6bd72.entry.js +5 -0
  207. package/dist/calcite/p-c00b1d26.js +5 -0
  208. package/dist/calcite/p-c2bfd7f9.system.entry.js +5 -0
  209. package/dist/calcite/p-c2fcf603.system.entry.js +5 -0
  210. package/dist/calcite/p-c70bacc8.system.entry.js +5 -0
  211. package/dist/calcite/p-c8c6323c.entry.js +5 -0
  212. package/dist/calcite/p-cb660e54.entry.js +5 -0
  213. package/dist/calcite/p-cd5d5756.system.entry.js +5 -0
  214. package/dist/calcite/p-ce704ece.js +5 -0
  215. package/dist/calcite/p-cf499949.entry.js +5 -0
  216. package/dist/calcite/p-d17cfab3.entry.js +5 -0
  217. package/dist/calcite/{p-809ddb6a.js → p-d3bd900e.js} +1 -1
  218. package/dist/calcite/p-d3db2b58.system.entry.js +5 -0
  219. package/dist/calcite/p-d4d5665a.system.entry.js +5 -0
  220. package/dist/calcite/p-d8039e8a.system.entry.js +5 -0
  221. package/dist/calcite/p-d9414082.system.entry.js +5 -0
  222. package/dist/calcite/p-dc7124e9.entry.js +5 -0
  223. package/dist/calcite/p-dc777403.system.entry.js +5 -0
  224. package/dist/calcite/p-dda22c7e.system.entry.js +5 -0
  225. package/dist/calcite/p-de67ba93.system.entry.js +5 -0
  226. package/dist/calcite/{p-aad45edf.system.js → p-e095517f.system.js} +1 -1
  227. package/dist/calcite/p-e09bac0d.system.entry.js +5 -0
  228. package/dist/calcite/p-e0b1e90c.entry.js +5 -0
  229. package/dist/calcite/p-e35b29f5.system.entry.js +5 -0
  230. package/dist/calcite/p-e54784a8.system.entry.js +5 -0
  231. package/dist/calcite/p-e63c6a55.system.entry.js +5 -0
  232. package/dist/calcite/p-e697ab57.system.entry.js +5 -0
  233. package/dist/calcite/{p-5efd7297.entry.js → p-e7801f1d.entry.js} +1 -1
  234. package/dist/calcite/{p-f07d3627.js → p-e7f7b0f8.js} +1 -1
  235. package/dist/calcite/p-eebd2bb0.entry.js +5 -0
  236. package/dist/calcite/p-f1f65708.entry.js +5 -0
  237. package/dist/calcite/p-f2340d02.system.entry.js +5 -0
  238. package/dist/calcite/p-f25f139a.entry.js +5 -0
  239. package/dist/calcite/p-f28d8e9e.system.entry.js +5 -0
  240. package/dist/calcite/p-f2f2ad57.entry.js +5 -0
  241. package/dist/calcite/p-f39dc5fd.entry.js +5 -0
  242. package/dist/calcite/p-f4a7fa43.entry.js +5 -0
  243. package/dist/calcite/p-f595d924.js +5 -0
  244. package/dist/calcite/{p-e7819705.entry.js → p-f72c037c.entry.js} +1 -1
  245. package/dist/calcite/p-f9e7371d.entry.js +5 -0
  246. package/dist/calcite/p-fc265aaf.entry.js +5 -0
  247. package/dist/calcite/p-fc9025a2.entry.js +5 -0
  248. package/dist/calcite/p-fd255a24.entry.js +5 -0
  249. package/dist/calcite/p-fd94e88d.system.entry.js +5 -0
  250. package/dist/cjs/{CalciteExpandToggle-6a9f9858.js → CalciteExpandToggle-d654421a.js} +2 -2
  251. package/dist/cjs/{CalciteHeading-363b0525.js → CalciteHeading-112c19f9.js} +1 -1
  252. package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -7
  253. package/dist/cjs/calcite-action-bar.cjs.entry.js +27 -3
  254. package/dist/cjs/calcite-action-group.cjs.entry.js +2 -2
  255. package/dist/cjs/calcite-action-menu.cjs.entry.js +2 -2
  256. package/dist/cjs/calcite-action-pad.cjs.entry.js +4 -9
  257. package/dist/cjs/calcite-action.cjs.entry.js +2 -2
  258. package/dist/cjs/calcite-alert.cjs.entry.js +21 -11
  259. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -6
  260. package/dist/cjs/calcite-block_2.cjs.entry.js +12 -10
  261. package/dist/cjs/calcite-button.cjs.entry.js +11 -6
  262. package/dist/cjs/calcite-card.cjs.entry.js +4 -8
  263. package/dist/cjs/calcite-checkbox.cjs.entry.js +35 -84
  264. package/dist/cjs/calcite-chip.cjs.entry.js +4 -5
  265. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +62 -64
  266. package/dist/cjs/calcite-combobox_3.cjs.entry.js +89 -35
  267. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +70 -42
  268. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +15 -20
  269. package/dist/cjs/calcite-fab.cjs.entry.js +4 -5
  270. package/dist/cjs/calcite-filter.cjs.entry.js +4 -19
  271. package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
  272. package/dist/cjs/calcite-graph_2.cjs.entry.js +63 -35
  273. package/dist/cjs/calcite-handle.cjs.entry.js +2 -2
  274. package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
  275. package/dist/cjs/calcite-inline-editable.cjs.entry.js +50 -41
  276. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +87 -22
  277. package/dist/cjs/calcite-input-message.cjs.entry.js +3 -4
  278. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +384 -250
  279. package/dist/cjs/calcite-input.cjs.entry.js +109 -77
  280. package/dist/cjs/calcite-label.cjs.entry.js +3 -6
  281. package/dist/cjs/calcite-link.cjs.entry.js +3 -3
  282. package/dist/cjs/calcite-list_3.cjs.entry.js +5 -5
  283. package/dist/cjs/calcite-loader.cjs.entry.js +2 -2
  284. package/dist/cjs/calcite-modal.cjs.entry.js +5 -7
  285. package/dist/cjs/calcite-notice.cjs.entry.js +3 -4
  286. package/dist/cjs/calcite-option_3.cjs.entry.js +39 -11
  287. package/dist/cjs/calcite-pagination.cjs.entry.js +4 -7
  288. package/dist/cjs/calcite-panel.cjs.entry.js +12 -14
  289. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +7 -9
  290. package/dist/cjs/calcite-popover_2.cjs.entry.js +6 -8
  291. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  292. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
  293. package/dist/cjs/calcite-radio-button.cjs.entry.js +260 -0
  294. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +42 -56
  295. package/dist/cjs/calcite-rating.cjs.entry.js +14 -6
  296. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  297. package/dist/cjs/calcite-shell_3.cjs.entry.js +172 -12
  298. package/dist/cjs/calcite-sortable-list.cjs.entry.js +2 -2
  299. package/dist/cjs/calcite-split-button.cjs.entry.js +5 -6
  300. package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -8
  301. package/dist/cjs/calcite-switch.cjs.entry.js +24 -50
  302. package/dist/cjs/calcite-tab_4.cjs.entry.js +9 -12
  303. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -10
  304. package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
  305. package/dist/cjs/calcite-tip_3.cjs.entry.js +5 -5
  306. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -6
  307. package/dist/cjs/calcite-tree_2.cjs.entry.js +4 -5
  308. package/dist/cjs/calcite-value-list_2.cjs.entry.js +4 -4
  309. package/dist/cjs/calcite.cjs.js +3 -3
  310. package/dist/cjs/form-a5b44a1f.js +179 -0
  311. package/dist/cjs/{index-cee0daa9.js → index-6b5d2de5.js} +8 -365
  312. package/dist/cjs/loader.cjs.js +3 -3
  313. package/dist/cjs/{locale-69dc9583.js → locale-33c458dc.js} +1 -1
  314. package/dist/cjs/math-145c80e2.js +21 -0
  315. package/dist/cjs/{number-e6448e15.js → number-73f7b474.js} +17 -4
  316. package/dist/cjs/{popper-87bf13e6.js → popper-a7580aca.js} +90 -64
  317. package/dist/cjs/{resources-38563593.js → resources-16974e48.js} +4 -3
  318. package/dist/cjs/{resources-f9c141d2.js → resources-6c4b32ef.js} +5 -5
  319. package/dist/collection/collection-manifest.json +9 -11
  320. package/dist/collection/components/calcite-accordion/calcite-accordion.css +5 -1
  321. package/dist/collection/components/calcite-accordion/calcite-accordion.js +1 -2
  322. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.css +10 -23
  323. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +4 -2
  324. package/dist/collection/components/calcite-action/calcite-action.css +5 -1
  325. package/dist/collection/components/calcite-action-bar/calcite-action-bar.css +5 -1
  326. package/dist/collection/components/calcite-action-bar/calcite-action-bar.js +3 -0
  327. package/dist/collection/components/calcite-action-group/calcite-action-group.css +5 -1
  328. package/dist/collection/components/calcite-action-menu/calcite-action-menu.css +5 -1
  329. package/dist/collection/components/calcite-action-pad/calcite-action-pad.css +7 -8
  330. package/dist/collection/components/calcite-action-pad/calcite-action-pad.js +2 -8
  331. package/dist/collection/components/calcite-alert/calcite-alert.css +29 -40
  332. package/dist/collection/components/calcite-alert/calcite-alert.js +21 -10
  333. package/dist/collection/components/calcite-avatar/calcite-avatar.css +5 -1
  334. package/dist/collection/components/calcite-avatar/calcite-avatar.js +2 -4
  335. package/dist/collection/components/calcite-block/calcite-block.css +17 -35
  336. package/dist/collection/components/calcite-block/calcite-block.js +10 -9
  337. package/dist/collection/components/calcite-block-section/calcite-block-section.css +7 -13
  338. package/dist/collection/components/calcite-block-section/calcite-block-section.js +1 -2
  339. package/dist/collection/components/calcite-button/calcite-button.css +44 -72
  340. package/dist/collection/components/calcite-button/calcite-button.js +9 -6
  341. package/dist/collection/components/calcite-button/resources.js +3 -1
  342. package/dist/collection/components/calcite-card/calcite-card.css +6 -7
  343. package/dist/collection/components/calcite-card/calcite-card.js +2 -6
  344. package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +27 -12
  345. package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +63 -112
  346. package/dist/collection/components/calcite-chip/calcite-chip.css +18 -39
  347. package/dist/collection/components/calcite-chip/calcite-chip.js +3 -5
  348. package/dist/collection/components/calcite-color-picker/calcite-color-picker.css +7 -8
  349. package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +12 -18
  350. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.css +5 -1
  351. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +14 -20
  352. package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.css +5 -1
  353. package/dist/collection/components/calcite-combobox/calcite-combobox.css +24 -13
  354. package/dist/collection/components/calcite-combobox/calcite-combobox.js +145 -28
  355. package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.css +7 -14
  356. package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.js +2 -5
  357. package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.css +7 -19
  358. package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.js +3 -5
  359. package/dist/collection/components/calcite-date-picker/calcite-date-picker.css +5 -1
  360. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +91 -25
  361. package/dist/collection/components/calcite-date-picker/resources.js +2 -1
  362. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.css +27 -9
  363. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +1 -2
  364. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.css +5 -1
  365. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +6 -9
  366. package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.css +5 -1
  367. package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.js +25 -11
  368. package/dist/collection/components/calcite-dropdown/calcite-dropdown.css +5 -28
  369. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +6 -9
  370. package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.css +5 -1
  371. package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +2 -3
  372. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +41 -124
  373. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +4 -8
  374. package/dist/collection/components/calcite-fab/calcite-fab.css +5 -1
  375. package/dist/collection/components/calcite-fab/calcite-fab.js +3 -4
  376. package/dist/collection/components/calcite-filter/calcite-filter.css +8 -22
  377. package/dist/collection/components/calcite-filter/calcite-filter.js +7 -43
  378. package/dist/collection/components/calcite-flow/calcite-flow.css +5 -1
  379. package/dist/collection/components/calcite-flow/calcite-flow.js +1 -1
  380. package/dist/collection/components/calcite-graph/calcite-graph.css +5 -1
  381. package/dist/collection/components/calcite-graph/calcite-graph.js +2 -2
  382. package/dist/collection/components/calcite-handle/calcite-handle.css +5 -1
  383. package/dist/collection/components/calcite-icon/assets/calcite-icon/centerAlign16.json +1 -0
  384. package/dist/collection/components/calcite-icon/assets/calcite-icon/centerAlign24.json +1 -0
  385. package/dist/collection/components/calcite-icon/assets/calcite-icon/centerAlign32.json +1 -0
  386. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent16.json +1 -0
  387. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent24.json +1 -0
  388. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent32.json +1 -0
  389. package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy16.json +1 -0
  390. package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy24.json +1 -0
  391. package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy32.json +1 -0
  392. package/dist/collection/components/calcite-icon/assets/calcite-icon/convert16.json +1 -0
  393. package/dist/collection/components/calcite-icon/assets/calcite-icon/convert24.json +1 -0
  394. package/dist/collection/components/calcite-icon/assets/calcite-icon/convert32.json +1 -0
  395. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock16.json +1 -0
  396. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock24.json +1 -0
  397. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock32.json +1 -0
  398. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock16.json +1 -0
  399. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock24.json +1 -0
  400. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock32.json +1 -0
  401. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime16.json +1 -0
  402. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime24.json +1 -0
  403. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime32.json +1 -0
  404. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest16.json +1 -0
  405. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest24.json +1 -0
  406. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest32.json +1 -0
  407. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest16.json +1 -0
  408. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest24.json +1 -0
  409. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest32.json +1 -0
  410. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold16.json +1 -0
  411. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold24.json +1 -0
  412. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold32.json +1 -0
  413. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar16.json +1 -0
  414. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar24.json +1 -0
  415. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar32.json +1 -0
  416. package/dist/collection/components/calcite-icon/assets/calcite-icon/fog16.json +1 -0
  417. package/dist/collection/components/calcite-icon/assets/calcite-icon/fog24.json +1 -0
  418. package/dist/collection/components/calcite-icon/assets/calcite-icon/fog32.json +1 -0
  419. package/dist/collection/components/calcite-icon/assets/calcite-icon/formDropdown16.json +1 -0
  420. package/dist/collection/components/calcite-icon/assets/calcite-icon/formDropdown24.json +1 -0
  421. package/dist/collection/components/calcite-icon/assets/calcite-icon/formDropdown32.json +1 -0
  422. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems16.json +1 -0
  423. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems24.json +1 -0
  424. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems32.json +1 -0
  425. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements16.json +1 -0
  426. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements24.json +1 -0
  427. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements32.json +1 -0
  428. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain16.json +1 -0
  429. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain24.json +1 -0
  430. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain32.json +1 -0
  431. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow16.json +1 -0
  432. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow24.json +1 -0
  433. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow32.json +1 -0
  434. package/dist/collection/components/calcite-icon/assets/calcite-icon/language16.json +1 -0
  435. package/dist/collection/components/calcite-icon/assets/calcite-icon/language24.json +1 -0
  436. package/dist/collection/components/calcite-icon/assets/calcite-icon/language32.json +1 -0
  437. package/dist/collection/components/calcite-icon/assets/calcite-icon/languageTranslate16.json +1 -0
  438. package/dist/collection/components/calcite-icon/assets/calcite-icon/languageTranslate24.json +1 -0
  439. package/dist/collection/components/calcite-icon/assets/calcite-icon/languageTranslate32.json +1 -0
  440. package/dist/collection/components/calcite-icon/assets/calcite-icon/leftAlign16.json +1 -0
  441. package/dist/collection/components/calcite-icon/assets/calcite-icon/leftAlign24.json +1 -0
  442. package/dist/collection/components/calcite-icon/assets/calcite-icon/leftAlign32.json +1 -0
  443. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain16.json +1 -0
  444. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain24.json +1 -0
  445. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain32.json +1 -0
  446. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow16.json +1 -0
  447. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow24.json +1 -0
  448. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow32.json +1 -0
  449. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud16.json +1 -0
  450. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud24.json +1 -0
  451. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud32.json +1 -0
  452. package/dist/collection/components/calcite-icon/assets/calcite-icon/rain16.json +1 -0
  453. package/dist/collection/components/calcite-icon/assets/calcite-icon/rain24.json +1 -0
  454. package/dist/collection/components/calcite-icon/assets/calcite-icon/rain32.json +1 -0
  455. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow16.json +1 -0
  456. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow24.json +1 -0
  457. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow32.json +1 -0
  458. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder16.json +1 -0
  459. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder24.json +1 -0
  460. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder32.json +1 -0
  461. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest16.json +1 -0
  462. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest24.json +1 -0
  463. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest32.json +1 -0
  464. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest16.json +1 -0
  465. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest24.json +1 -0
  466. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest32.json +1 -0
  467. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold16.json +1 -0
  468. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold24.json +1 -0
  469. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold32.json +1 -0
  470. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar16.json +1 -0
  471. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar24.json +1 -0
  472. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar32.json +1 -0
  473. package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible16.json +1 -0
  474. package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible24.json +1 -0
  475. package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible32.json +1 -0
  476. package/dist/collection/components/calcite-icon/assets/calcite-icon/snow16.json +1 -0
  477. package/dist/collection/components/calcite-icon/assets/calcite-icon/snow24.json +1 -0
  478. package/dist/collection/components/calcite-icon/assets/calcite-icon/snow32.json +1 -0
  479. package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder16.json +1 -0
  480. package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder24.json +1 -0
  481. package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder32.json +1 -0
  482. package/dist/collection/components/calcite-icon/assets/calcite-icon/terminal16.json +1 -0
  483. package/dist/collection/components/calcite-icon/assets/calcite-icon/terminal24.json +1 -0
  484. package/dist/collection/components/calcite-icon/assets/calcite-icon/terminal32.json +1 -0
  485. package/dist/collection/components/calcite-icon/assets/calcite-icon/touch16.json +1 -0
  486. package/dist/collection/components/calcite-icon/assets/calcite-icon/touch24.json +1 -0
  487. package/dist/collection/components/calcite-icon/assets/calcite-icon/touch32.json +1 -0
  488. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems16.json +1 -0
  489. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems24.json +1 -0
  490. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems32.json +1 -0
  491. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements16.json +1 -0
  492. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements24.json +1 -0
  493. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements32.json +1 -0
  494. package/dist/collection/components/calcite-icon/calcite-icon.css +5 -1
  495. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.css +14 -56
  496. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +43 -32
  497. package/dist/collection/components/calcite-inline-editable/resources.js +7 -7
  498. package/dist/collection/components/calcite-input/calcite-input.css +119 -171
  499. package/dist/collection/components/calcite-input/calcite-input.js +143 -82
  500. package/dist/collection/components/calcite-input/resources.js +14 -12
  501. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.css +20 -1
  502. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +205 -46
  503. package/dist/collection/components/calcite-input-message/calcite-input-message.css +9 -10
  504. package/dist/collection/components/calcite-input-message/calcite-input-message.js +2 -4
  505. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.css +20 -1
  506. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +117 -82
  507. package/dist/collection/components/calcite-label/calcite-label.css +9 -8
  508. package/dist/collection/components/calcite-label/calcite-label.js +1 -4
  509. package/dist/collection/components/calcite-link/calcite-link.css +15 -18
  510. package/dist/collection/components/calcite-link/calcite-link.js +1 -1
  511. package/dist/collection/components/calcite-list/calcite-list.css +5 -1
  512. package/dist/collection/components/calcite-list-item/calcite-list-item.css +12 -1
  513. package/dist/collection/components/calcite-list-item-group/calcite-list-item-group.css +5 -1
  514. package/dist/collection/components/calcite-loader/calcite-loader.css +10 -11
  515. package/dist/collection/components/calcite-modal/calcite-modal.css +16 -26
  516. package/dist/collection/components/calcite-modal/calcite-modal.js +4 -7
  517. package/dist/collection/components/calcite-notice/calcite-notice.css +23 -33
  518. package/dist/collection/components/calcite-notice/calcite-notice.js +2 -4
  519. package/dist/collection/components/calcite-option/calcite-option.css +5 -1
  520. package/dist/collection/components/calcite-option/calcite-option.js +3 -1
  521. package/dist/collection/components/calcite-option-group/calcite-option-group.css +5 -1
  522. package/dist/collection/components/calcite-pagination/calcite-pagination.css +6 -2
  523. package/dist/collection/components/calcite-pagination/calcite-pagination.js +2 -4
  524. package/dist/collection/components/calcite-panel/calcite-panel.css +24 -36
  525. package/dist/collection/components/calcite-panel/calcite-panel.js +12 -15
  526. package/dist/collection/components/calcite-panel/resources.js +2 -0
  527. package/dist/collection/components/calcite-pick-list/calcite-pick-list.css +5 -1
  528. package/dist/collection/components/calcite-pick-list/calcite-pick-list.js +1 -1
  529. package/dist/collection/components/calcite-pick-list/shared-list-logic.js +2 -2
  530. package/dist/collection/components/calcite-pick-list/shared-list-render.js +2 -3
  531. package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.css +6 -7
  532. package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.js +2 -5
  533. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.css +6 -7
  534. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +1 -1
  535. package/dist/collection/components/calcite-popover/calcite-popover.css +7 -5
  536. package/dist/collection/components/calcite-popover/calcite-popover.js +2 -5
  537. package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.css +5 -1
  538. package/dist/collection/components/calcite-progress/calcite-progress.css +5 -1
  539. package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +92 -2
  540. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +83 -90
  541. package/dist/collection/components/calcite-radio-button/resources.js +1 -1
  542. package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.css +5 -1
  543. package/dist/collection/components/calcite-radio-group/calcite-radio-group.css +20 -1
  544. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +78 -43
  545. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.css +7 -3
  546. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +5 -15
  547. package/dist/collection/components/calcite-rating/calcite-rating.css +23 -19
  548. package/dist/collection/components/calcite-rating/calcite-rating.js +51 -6
  549. package/dist/collection/components/calcite-scrim/calcite-scrim.css +6 -2
  550. package/dist/collection/components/calcite-select/calcite-select.css +27 -25
  551. package/dist/collection/components/calcite-select/calcite-select.js +100 -13
  552. package/dist/collection/components/calcite-shell/calcite-shell.css +17 -13
  553. package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.css +8 -25
  554. package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.js +3 -5
  555. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +87 -22
  556. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +205 -7
  557. package/dist/collection/components/calcite-shell-panel/resources.js +6 -1
  558. package/dist/collection/components/calcite-slider/calcite-slider.css +164 -165
  559. package/dist/collection/components/calcite-slider/calcite-slider.js +134 -41
  560. package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.css +5 -1
  561. package/dist/collection/components/calcite-split-button/calcite-split-button.css +9 -2
  562. package/dist/collection/components/calcite-split-button/calcite-split-button.js +29 -6
  563. package/dist/collection/components/calcite-stepper/calcite-stepper.css +5 -1
  564. package/dist/collection/components/calcite-stepper/calcite-stepper.js +1 -2
  565. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.css +19 -73
  566. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +3 -6
  567. package/dist/collection/components/calcite-switch/calcite-switch.css +22 -21
  568. package/dist/collection/components/calcite-switch/calcite-switch.js +28 -67
  569. package/dist/collection/components/calcite-tab/calcite-tab.css +10 -2
  570. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.css +5 -3
  571. package/dist/collection/components/calcite-tab-title/calcite-tab-title.css +16 -23
  572. package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +5 -9
  573. package/dist/collection/components/calcite-tabs/calcite-tabs.css +5 -1
  574. package/dist/collection/components/calcite-tile/calcite-tile.css +5 -1
  575. package/dist/collection/components/calcite-tile-select/calcite-tile-select.css +7 -15
  576. package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +21 -15
  577. package/dist/collection/components/calcite-tile-select-group/calcite-tile-select-group.css +5 -1
  578. package/dist/collection/components/calcite-time-picker/calcite-time-picker.css +61 -92
  579. package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +261 -296
  580. package/dist/collection/components/calcite-time-picker/resources.js +15 -9
  581. package/dist/collection/components/calcite-tip/calcite-tip.css +5 -1
  582. package/dist/collection/components/calcite-tip-group/calcite-tip-group.css +5 -1
  583. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.css +8 -13
  584. package/dist/collection/components/calcite-tooltip/calcite-tooltip.css +5 -1
  585. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.css +5 -1
  586. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +1 -2
  587. package/dist/collection/components/calcite-tree/calcite-tree.css +5 -1
  588. package/dist/collection/components/calcite-tree-item/calcite-tree-item.css +55 -73
  589. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +1 -2
  590. package/dist/collection/components/calcite-value-list/calcite-value-list.css +5 -1
  591. package/dist/collection/components/calcite-value-list/calcite-value-list.js +1 -1
  592. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.css +5 -1
  593. package/dist/collection/components/functional/CalciteExpandToggle.js +1 -1
  594. package/dist/collection/utils/conditionalSlot.js +26 -0
  595. package/dist/collection/utils/form.js +167 -14
  596. package/dist/collection/utils/key.js +0 -23
  597. package/dist/collection/utils/math.js +11 -0
  598. package/dist/collection/utils/number.js +9 -1
  599. package/dist/collection/utils/time.js +144 -36
  600. package/dist/components/CalciteExpandToggle.js +1 -1
  601. package/dist/components/calcite-accordion-item.js +9 -4
  602. package/dist/components/calcite-accordion.js +6 -4
  603. package/dist/components/calcite-action-bar.js +29 -2
  604. package/dist/components/calcite-action-group2.js +5 -2
  605. package/dist/components/calcite-action-menu2.js +5 -2
  606. package/dist/components/calcite-action-pad.js +7 -9
  607. package/dist/components/calcite-action2.js +5 -2
  608. package/dist/components/calcite-alert.js +25 -12
  609. package/dist/components/calcite-avatar.js +8 -6
  610. package/dist/components/calcite-block-section.js +7 -4
  611. package/dist/components/calcite-block.js +13 -8
  612. package/dist/components/calcite-button2.js +16 -8
  613. package/dist/components/calcite-card.js +7 -7
  614. package/dist/components/calcite-checkbox2.js +41 -88
  615. package/dist/components/calcite-chip2.js +8 -6
  616. package/dist/components/calcite-color-picker-hex-input2.js +19 -22
  617. package/dist/components/calcite-color-picker-swatch2.js +26 -15
  618. package/dist/components/calcite-color-picker.js +17 -19
  619. package/dist/components/calcite-combobox-item-group.js +7 -5
  620. package/dist/components/calcite-combobox-item.js +6 -5
  621. package/dist/components/calcite-combobox.js +89 -27
  622. package/dist/components/calcite-date-picker-day2.js +6 -4
  623. package/dist/components/calcite-date-picker-month-header2.js +13 -12
  624. package/dist/components/calcite-date-picker-month2.js +11 -11
  625. package/dist/components/calcite-date-picker2.js +54 -20
  626. package/dist/components/calcite-dropdown-group.js +7 -5
  627. package/dist/components/calcite-dropdown-item.js +9 -9
  628. package/dist/components/calcite-dropdown2.js +10 -9
  629. package/dist/components/calcite-fab.js +8 -6
  630. package/dist/components/calcite-filter2.js +8 -21
  631. package/dist/components/calcite-flow.js +5 -2
  632. package/dist/components/calcite-graph2.js +7 -4
  633. package/dist/components/calcite-handle2.js +5 -2
  634. package/dist/components/calcite-icon2.js +5 -2
  635. package/dist/components/calcite-inline-editable.js +56 -43
  636. package/dist/components/calcite-input-date-picker.js +91 -20
  637. package/dist/components/calcite-input-message.js +7 -5
  638. package/dist/components/calcite-input-time-picker.js +68 -53
  639. package/dist/components/calcite-input2.js +116 -78
  640. package/dist/components/calcite-label2.js +6 -5
  641. package/dist/components/calcite-link2.js +6 -3
  642. package/dist/components/calcite-list-item-group.js +5 -2
  643. package/dist/components/calcite-list-item.js +5 -2
  644. package/dist/components/calcite-list.js +5 -2
  645. package/dist/components/calcite-loader2.js +5 -2
  646. package/dist/components/calcite-modal.js +9 -8
  647. package/dist/components/calcite-notice.js +7 -5
  648. package/dist/components/calcite-option-group.js +5 -2
  649. package/dist/components/calcite-option.js +8 -3
  650. package/dist/components/calcite-pagination.js +7 -6
  651. package/dist/components/calcite-panel.js +15 -14
  652. package/dist/components/calcite-pick-list-group.js +7 -6
  653. package/dist/components/calcite-pick-list-item2.js +5 -2
  654. package/dist/components/calcite-pick-list.js +5 -2
  655. package/dist/components/calcite-popover-manager.js +5 -2
  656. package/dist/components/calcite-popover2.js +7 -6
  657. package/dist/components/calcite-progress2.js +5 -2
  658. package/dist/components/calcite-radio-button-group.js +5 -2
  659. package/dist/components/calcite-radio-button.js +89 -90
  660. package/dist/components/calcite-radio-group-item.js +10 -15
  661. package/dist/components/calcite-radio-group.js +40 -42
  662. package/dist/components/calcite-rating.js +18 -6
  663. package/dist/components/calcite-scrim2.js +5 -2
  664. package/dist/components/calcite-select.js +42 -10
  665. package/dist/components/calcite-shell-center-row.js +8 -6
  666. package/dist/components/calcite-shell-panel.js +176 -9
  667. package/dist/components/calcite-shell.js +5 -2
  668. package/dist/components/calcite-slider.js +57 -23
  669. package/dist/components/calcite-sortable-list.js +5 -2
  670. package/dist/components/calcite-split-button.js +9 -5
  671. package/dist/components/calcite-stepper-item.js +8 -7
  672. package/dist/components/calcite-stepper.js +6 -4
  673. package/dist/components/calcite-switch2.js +29 -54
  674. package/dist/components/calcite-tab-nav2.js +5 -2
  675. package/dist/components/calcite-tab-title2.js +10 -10
  676. package/dist/components/calcite-tab2.js +5 -2
  677. package/dist/components/calcite-tabs2.js +5 -2
  678. package/dist/components/calcite-tile-select-group.js +5 -2
  679. package/dist/components/calcite-tile-select.js +10 -11
  680. package/dist/components/calcite-tile2.js +5 -2
  681. package/dist/components/calcite-time-picker2.js +330 -195
  682. package/dist/components/calcite-tip-group.js +5 -2
  683. package/dist/components/calcite-tip-manager.js +5 -2
  684. package/dist/components/calcite-tip.js +5 -2
  685. package/dist/components/calcite-tooltip-manager2.js +6 -4
  686. package/dist/components/calcite-tooltip.js +5 -2
  687. package/dist/components/calcite-tree-item.js +6 -4
  688. package/dist/components/calcite-tree.js +5 -2
  689. package/dist/components/calcite-value-list-item.js +5 -2
  690. package/dist/components/calcite-value-list.js +5 -2
  691. package/dist/components/form.js +169 -15
  692. package/dist/components/math.js +12 -1
  693. package/dist/components/number.js +14 -3
  694. package/dist/components/popper.js +90 -64
  695. package/dist/components/shared-list-render.js +5 -5
  696. package/dist/custom-elements/index.d.ts +0 -6
  697. package/dist/custom-elements/index.js +1904 -1316
  698. package/dist/esm/{CalciteExpandToggle-235a6bfd.js → CalciteExpandToggle-c33bd6fd.js} +2 -2
  699. package/dist/esm/{CalciteHeading-dea3bd05.js → CalciteHeading-1d6cd311.js} +1 -1
  700. package/dist/esm/calcite-accordion_2.entry.js +8 -6
  701. package/dist/esm/calcite-action-bar.entry.js +27 -3
  702. package/dist/esm/calcite-action-group.entry.js +2 -2
  703. package/dist/esm/calcite-action-menu.entry.js +2 -2
  704. package/dist/esm/calcite-action-pad.entry.js +5 -10
  705. package/dist/esm/calcite-action.entry.js +2 -2
  706. package/dist/esm/calcite-alert.entry.js +22 -12
  707. package/dist/esm/calcite-avatar.entry.js +5 -6
  708. package/dist/esm/calcite-block_2.entry.js +13 -11
  709. package/dist/esm/calcite-button.entry.js +12 -7
  710. package/dist/esm/calcite-card.entry.js +4 -8
  711. package/dist/esm/calcite-checkbox.entry.js +36 -85
  712. package/dist/esm/calcite-chip.entry.js +5 -6
  713. package/dist/esm/calcite-color-picker_3.entry.js +51 -53
  714. package/dist/esm/calcite-combobox_3.entry.js +88 -34
  715. package/dist/esm/calcite-date-picker_4.entry.js +67 -39
  716. package/dist/esm/calcite-dropdown_3.entry.js +14 -19
  717. package/dist/esm/calcite-fab.entry.js +5 -6
  718. package/dist/esm/calcite-filter.entry.js +5 -20
  719. package/dist/esm/calcite-flow.entry.js +2 -2
  720. package/dist/esm/calcite-graph_2.entry.js +54 -26
  721. package/dist/esm/calcite-handle.entry.js +2 -2
  722. package/dist/esm/calcite-icon.entry.js +2 -2
  723. package/dist/esm/calcite-inline-editable.entry.js +51 -42
  724. package/dist/esm/calcite-input-date-picker.entry.js +87 -22
  725. package/dist/esm/calcite-input-message.entry.js +4 -5
  726. package/dist/esm/calcite-input-time-picker_2.entry.js +369 -235
  727. package/dist/esm/calcite-input.entry.js +109 -77
  728. package/dist/esm/calcite-label.entry.js +3 -6
  729. package/dist/esm/calcite-link.entry.js +3 -3
  730. package/dist/esm/calcite-list_3.entry.js +5 -5
  731. package/dist/esm/calcite-loader.entry.js +2 -2
  732. package/dist/esm/calcite-modal.entry.js +6 -8
  733. package/dist/esm/calcite-notice.entry.js +4 -5
  734. package/dist/esm/calcite-option_3.entry.js +40 -12
  735. package/dist/esm/calcite-pagination.entry.js +4 -7
  736. package/dist/esm/calcite-panel.entry.js +13 -15
  737. package/dist/esm/calcite-pick-list_3.entry.js +8 -10
  738. package/dist/esm/calcite-popover_2.entry.js +7 -9
  739. package/dist/esm/calcite-progress.entry.js +2 -2
  740. package/dist/esm/calcite-radio-button-group.entry.js +2 -2
  741. package/dist/esm/calcite-radio-button.entry.js +256 -0
  742. package/dist/esm/calcite-radio-group_2.entry.js +38 -52
  743. package/dist/esm/calcite-rating.entry.js +14 -6
  744. package/dist/esm/calcite-scrim.entry.js +2 -2
  745. package/dist/esm/calcite-shell_3.entry.js +173 -13
  746. package/dist/esm/calcite-sortable-list.entry.js +2 -2
  747. package/dist/esm/calcite-split-button.entry.js +5 -6
  748. package/dist/esm/calcite-stepper_2.entry.js +7 -9
  749. package/dist/esm/calcite-switch.entry.js +25 -51
  750. package/dist/esm/calcite-tab_4.entry.js +10 -13
  751. package/dist/esm/calcite-tile-select_2.entry.js +6 -10
  752. package/dist/esm/calcite-tile.entry.js +2 -2
  753. package/dist/esm/calcite-tip_3.entry.js +5 -5
  754. package/dist/esm/calcite-tooltip_2.entry.js +5 -6
  755. package/dist/esm/calcite-tree_2.entry.js +4 -5
  756. package/dist/esm/calcite-value-list_2.entry.js +4 -4
  757. package/dist/esm/calcite.js +3 -3
  758. package/dist/esm/form-160b0fb5.js +174 -0
  759. package/dist/esm/{index-66803519.js → index-9de00868.js} +8 -365
  760. package/dist/esm/loader.js +3 -3
  761. package/dist/esm/{locale-6c1b85c7.js → locale-4c38cf6d.js} +1 -1
  762. package/dist/esm/math-456207f5.js +18 -0
  763. package/dist/esm/{number-e7393766.js → number-06e8500e.js} +14 -3
  764. package/dist/esm/{popper-dc4b45cf.js → popper-f5caedc4.js} +90 -64
  765. package/dist/esm/{resources-8dd80c84.js → resources-35c1823f.js} +6 -6
  766. package/dist/esm/{resources-c59a1a15.js → resources-b4eee1d4.js} +4 -3
  767. package/dist/esm-es5/CalciteExpandToggle-c33bd6fd.js +5 -0
  768. package/dist/esm-es5/{CalciteHeading-dea3bd05.js → CalciteHeading-1d6cd311.js} +1 -1
  769. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  770. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  771. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  772. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  773. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  774. package/dist/esm-es5/calcite-action.entry.js +2 -2
  775. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  776. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  777. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  778. package/dist/esm-es5/calcite-button.entry.js +1 -1
  779. package/dist/esm-es5/calcite-card.entry.js +1 -1
  780. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  781. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  782. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  783. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  784. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  785. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  786. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  787. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  788. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  789. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  790. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  791. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  792. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  793. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  794. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  795. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  796. package/dist/esm-es5/calcite-input.entry.js +2 -2
  797. package/dist/esm-es5/calcite-label.entry.js +1 -1
  798. package/dist/esm-es5/calcite-link.entry.js +2 -2
  799. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  800. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  801. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  802. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  803. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  804. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  805. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  806. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  807. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  808. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  809. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  810. package/dist/esm-es5/calcite-radio-button.entry.js +5 -0
  811. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  812. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  813. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  814. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  815. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  816. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  817. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  818. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  819. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  820. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  821. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  822. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  823. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  824. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  825. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  826. package/dist/esm-es5/calcite.js +1 -1
  827. package/dist/esm-es5/form-160b0fb5.js +5 -0
  828. package/dist/esm-es5/index-9de00868.js +5 -0
  829. package/dist/esm-es5/loader.js +1 -1
  830. package/dist/esm-es5/{locale-6c1b85c7.js → locale-4c38cf6d.js} +1 -1
  831. package/dist/esm-es5/math-456207f5.js +5 -0
  832. package/dist/esm-es5/number-06e8500e.js +5 -0
  833. package/dist/esm-es5/popper-f5caedc4.js +5 -0
  834. package/dist/esm-es5/resources-35c1823f.js +5 -0
  835. package/dist/esm-es5/{resources-c59a1a15.js → resources-b4eee1d4.js} +1 -1
  836. package/dist/extras/docs-json.json +503 -317
  837. package/dist/types/components/calcite-button/resources.d.ts +2 -0
  838. package/dist/types/components/calcite-date-picker/resources.d.ts +1 -0
  839. package/dist/types/components/calcite-input/resources.d.ts +2 -0
  840. package/dist/types/components/calcite-panel/resources.d.ts +2 -0
  841. package/dist/types/components/calcite-shell-panel/resources.d.ts +5 -0
  842. package/dist/types/components/calcite-time-picker/resources.d.ts +14 -8
  843. package/dist/types/components.d.ts +241 -127
  844. package/dist/types/preact.d.ts +0 -2
  845. package/dist/types/utils/conditionalSlot.d.ts +17 -0
  846. package/dist/types/utils/form.d.ts +112 -1
  847. package/dist/types/utils/key.d.ts +0 -4
  848. package/dist/types/utils/math.d.ts +1 -0
  849. package/dist/types/utils/number.d.ts +2 -0
  850. package/dist/types/utils/time.d.ts +18 -5
  851. package/hydrate/index.js +1877 -1268
  852. package/package.json +35 -34
  853. package/readme.md +2 -2
  854. package/CHANGELOG.md +0 -1509
  855. package/dist/calcite/p-0100aeb0.entry.js +0 -5
  856. package/dist/calcite/p-03706508.system.entry.js +0 -5
  857. package/dist/calcite/p-05d1dfc6.js +0 -5
  858. package/dist/calcite/p-06646eed.system.entry.js +0 -5
  859. package/dist/calcite/p-0797f73c.system.entry.js +0 -5
  860. package/dist/calcite/p-09e3fcfc.system.entry.js +0 -5
  861. package/dist/calcite/p-0ba6ede9.entry.js +0 -5
  862. package/dist/calcite/p-0ecd0204.system.entry.js +0 -5
  863. package/dist/calcite/p-0f3d73e3.system.entry.js +0 -5
  864. package/dist/calcite/p-10759c71.system.entry.js +0 -5
  865. package/dist/calcite/p-10de63d7.system.entry.js +0 -5
  866. package/dist/calcite/p-157d05ce.js +0 -5
  867. package/dist/calcite/p-15a45778.system.entry.js +0 -5
  868. package/dist/calcite/p-1e875199.entry.js +0 -5
  869. package/dist/calcite/p-1f7130a9.entry.js +0 -5
  870. package/dist/calcite/p-2418cceb.entry.js +0 -5
  871. package/dist/calcite/p-28261aae.entry.js +0 -5
  872. package/dist/calcite/p-3383d9b4.entry.js +0 -5
  873. package/dist/calcite/p-36e5db45.entry.js +0 -5
  874. package/dist/calcite/p-37859236.entry.js +0 -5
  875. package/dist/calcite/p-38ee7306.system.entry.js +0 -5
  876. package/dist/calcite/p-38f09842.entry.js +0 -5
  877. package/dist/calcite/p-3962cd38.entry.js +0 -5
  878. package/dist/calcite/p-3bb30b44.system.entry.js +0 -5
  879. package/dist/calcite/p-3cf93a58.system.entry.js +0 -5
  880. package/dist/calcite/p-3e438b5b.system.entry.js +0 -5
  881. package/dist/calcite/p-413b4857.system.entry.js +0 -5
  882. package/dist/calcite/p-4185db77.entry.js +0 -5
  883. package/dist/calcite/p-47313747.system.js +0 -5
  884. package/dist/calcite/p-49d5ee42.system.entry.js +0 -5
  885. package/dist/calcite/p-4c7e3915.system.entry.js +0 -5
  886. package/dist/calcite/p-502736d8.system.entry.js +0 -5
  887. package/dist/calcite/p-507b2cc4.entry.js +0 -5
  888. package/dist/calcite/p-51bc5466.entry.js +0 -5
  889. package/dist/calcite/p-527146c8.system.entry.js +0 -5
  890. package/dist/calcite/p-530b28e1.system.entry.js +0 -5
  891. package/dist/calcite/p-5322b333.system.entry.js +0 -5
  892. package/dist/calcite/p-56b352bf.system.js +0 -5
  893. package/dist/calcite/p-58e98b2d.system.entry.js +0 -5
  894. package/dist/calcite/p-58eca102.entry.js +0 -5
  895. package/dist/calcite/p-5ce47e9f.entry.js +0 -5
  896. package/dist/calcite/p-6621aee1.entry.js +0 -5
  897. package/dist/calcite/p-684ccd4e.system.entry.js +0 -5
  898. package/dist/calcite/p-6988c6b7.system.entry.js +0 -5
  899. package/dist/calcite/p-6c8a562f.system.entry.js +0 -5
  900. package/dist/calcite/p-70cd1387.system.entry.js +0 -5
  901. package/dist/calcite/p-71ea4a6f.system.entry.js +0 -5
  902. package/dist/calcite/p-72563742.js +0 -5
  903. package/dist/calcite/p-72fa390e.entry.js +0 -5
  904. package/dist/calcite/p-75f714c9.entry.js +0 -5
  905. package/dist/calcite/p-76ccd204.entry.js +0 -5
  906. package/dist/calcite/p-79cbbf2d.js +0 -5
  907. package/dist/calcite/p-7a6c6382.entry.js +0 -5
  908. package/dist/calcite/p-7ade2294.system.entry.js +0 -5
  909. package/dist/calcite/p-7b869bc5.entry.js +0 -5
  910. package/dist/calcite/p-7b89726e.system.entry.js +0 -5
  911. package/dist/calcite/p-7c161518.system.entry.js +0 -5
  912. package/dist/calcite/p-7c37ca39.entry.js +0 -5
  913. package/dist/calcite/p-7dd5c4e4.entry.js +0 -5
  914. package/dist/calcite/p-83302e1c.entry.js +0 -5
  915. package/dist/calcite/p-83ccefba.system.entry.js +0 -5
  916. package/dist/calcite/p-86af9de1.entry.js +0 -5
  917. package/dist/calcite/p-8953f712.entry.js +0 -5
  918. package/dist/calcite/p-89cdfa96.system.js +0 -5
  919. package/dist/calcite/p-8bc3e126.entry.js +0 -5
  920. package/dist/calcite/p-91645bf7.system.js +0 -5
  921. package/dist/calcite/p-91f046a2.entry.js +0 -5
  922. package/dist/calcite/p-98789055.system.entry.js +0 -5
  923. package/dist/calcite/p-98a632a4.system.entry.js +0 -5
  924. package/dist/calcite/p-9affee61.entry.js +0 -5
  925. package/dist/calcite/p-9f92ae58.system.entry.js +0 -5
  926. package/dist/calcite/p-9fa024e6.system.entry.js +0 -5
  927. package/dist/calcite/p-9fa5e356.entry.js +0 -5
  928. package/dist/calcite/p-9fa67508.entry.js +0 -5
  929. package/dist/calcite/p-9fc0dc2c.system.entry.js +0 -5
  930. package/dist/calcite/p-a09634e2.entry.js +0 -5
  931. package/dist/calcite/p-a5bfc29d.system.entry.js +0 -5
  932. package/dist/calcite/p-a677e52e.entry.js +0 -5
  933. package/dist/calcite/p-a7ba0292.system.js +0 -5
  934. package/dist/calcite/p-a8569c55.system.entry.js +0 -5
  935. package/dist/calcite/p-ac6b615b.entry.js +0 -5
  936. package/dist/calcite/p-b018fbbd.entry.js +0 -5
  937. package/dist/calcite/p-b1f88d45.system.js +0 -5
  938. package/dist/calcite/p-b244a00c.entry.js +0 -5
  939. package/dist/calcite/p-b2ab0485.js +0 -5
  940. package/dist/calcite/p-b3d6ab12.system.entry.js +0 -5
  941. package/dist/calcite/p-b41deed0.system.entry.js +0 -5
  942. package/dist/calcite/p-b42d730f.entry.js +0 -5
  943. package/dist/calcite/p-b4960d06.system.js +0 -5
  944. package/dist/calcite/p-b4e7b593.system.entry.js +0 -5
  945. package/dist/calcite/p-b8d040e5.system.entry.js +0 -5
  946. package/dist/calcite/p-ba1322e6.system.entry.js +0 -5
  947. package/dist/calcite/p-bf25e278.system.entry.js +0 -5
  948. package/dist/calcite/p-bf8b70a8.entry.js +0 -5
  949. package/dist/calcite/p-c399cfce.entry.js +0 -5
  950. package/dist/calcite/p-c4294f70.entry.js +0 -5
  951. package/dist/calcite/p-c48b4b7e.system.entry.js +0 -5
  952. package/dist/calcite/p-c8e4117c.system.entry.js +0 -5
  953. package/dist/calcite/p-c99d8f9e.system.entry.js +0 -5
  954. package/dist/calcite/p-c9ecea64.entry.js +0 -5
  955. package/dist/calcite/p-ca79fabf.system.entry.js +0 -5
  956. package/dist/calcite/p-cacca548.entry.js +0 -5
  957. package/dist/calcite/p-cc4aeb6f.entry.js +0 -5
  958. package/dist/calcite/p-cca94491.system.entry.js +0 -5
  959. package/dist/calcite/p-cd41629f.entry.js +0 -5
  960. package/dist/calcite/p-d35e423d.js +0 -5
  961. package/dist/calcite/p-d4059426.entry.js +0 -5
  962. package/dist/calcite/p-d53cc958.js +0 -5
  963. package/dist/calcite/p-d6048152.system.entry.js +0 -5
  964. package/dist/calcite/p-daa110fe.system.entry.js +0 -5
  965. package/dist/calcite/p-dc6aef8b.entry.js +0 -5
  966. package/dist/calcite/p-dcf30b00.system.entry.js +0 -5
  967. package/dist/calcite/p-de3a04c2.system.entry.js +0 -5
  968. package/dist/calcite/p-e35e7216.system.js +0 -5
  969. package/dist/calcite/p-e40dd6fe.system.entry.js +0 -5
  970. package/dist/calcite/p-e638ff0e.entry.js +0 -5
  971. package/dist/calcite/p-eccb140e.entry.js +0 -5
  972. package/dist/calcite/p-edf0f4f8.entry.js +0 -5
  973. package/dist/calcite/p-eed43a57.system.entry.js +0 -5
  974. package/dist/calcite/p-f0228763.entry.js +0 -5
  975. package/dist/calcite/p-f32e61bb.system.entry.js +0 -5
  976. package/dist/calcite/p-f5bb39bb.js +0 -5
  977. package/dist/calcite/p-f6f4648e.system.entry.js +0 -5
  978. package/dist/calcite/p-f93a7fce.entry.js +0 -5
  979. package/dist/calcite/p-fba65e4a.system.entry.js +0 -5
  980. package/dist/cjs/calcite-radio_2.cjs.entry.js +0 -300
  981. package/dist/cjs/form-00fb301c.js +0 -22
  982. package/dist/cjs/key-8bfb93ec.js +0 -37
  983. package/dist/cjs/math-9d44163f.js +0 -9
  984. package/dist/collection/components/calcite-radio/calcite-radio.css +0 -162
  985. package/dist/collection/components/calcite-radio/calcite-radio.js +0 -169
  986. package/dist/components/calcite-radio.d.ts +0 -11
  987. package/dist/components/calcite-radio.js +0 -10
  988. package/dist/components/calcite-radio2.js +0 -68
  989. package/dist/components/key.js +0 -33
  990. package/dist/esm/calcite-radio_2.entry.js +0 -295
  991. package/dist/esm/form-cee9f632.js +0 -20
  992. package/dist/esm/key-69001a68.js +0 -33
  993. package/dist/esm/math-250d4476.js +0 -7
  994. package/dist/esm-es5/CalciteExpandToggle-235a6bfd.js +0 -5
  995. package/dist/esm-es5/calcite-radio_2.entry.js +0 -5
  996. package/dist/esm-es5/form-cee9f632.js +0 -5
  997. package/dist/esm-es5/index-66803519.js +0 -5
  998. package/dist/esm-es5/key-69001a68.js +0 -5
  999. package/dist/esm-es5/math-250d4476.js +0 -5
  1000. package/dist/esm-es5/number-e7393766.js +0 -5
  1001. package/dist/esm-es5/popper-dc4b45cf.js +0 -5
  1002. package/dist/esm-es5/resources-8dd80c84.js +0 -5
  1003. package/dist/types/components/calcite-accordion/calcite-accordion.d.ts +0 -42
  1004. package/dist/types/components/calcite-accordion-item/calcite-accordion-item.d.ts +0 -53
  1005. package/dist/types/components/calcite-action/calcite-action.d.ts +0 -73
  1006. package/dist/types/components/calcite-action-bar/calcite-action-bar.d.ts +0 -68
  1007. package/dist/types/components/calcite-action-group/calcite-action-group.d.ts +0 -39
  1008. package/dist/types/components/calcite-action-menu/calcite-action-menu.d.ts +0 -82
  1009. package/dist/types/components/calcite-action-pad/calcite-action-pad.d.ts +0 -52
  1010. package/dist/types/components/calcite-alert/calcite-alert.d.ts +0 -79
  1011. package/dist/types/components/calcite-avatar/calcite-avatar.d.ts +0 -26
  1012. package/dist/types/components/calcite-block/calcite-block.d.ts +0 -72
  1013. package/dist/types/components/calcite-block-section/calcite-block-section.d.ts +0 -43
  1014. package/dist/types/components/calcite-button/calcite-button.d.ts +0 -81
  1015. package/dist/types/components/calcite-card/calcite-card.d.ts +0 -43
  1016. package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +0 -74
  1017. package/dist/types/components/calcite-chip/calcite-chip.d.ts +0 -37
  1018. package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +0 -225
  1019. package/dist/types/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.d.ts +0 -51
  1020. package/dist/types/components/calcite-color-picker-swatch/calcite-color-picker-swatch.d.ts +0 -23
  1021. package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +0 -159
  1022. package/dist/types/components/calcite-combobox/interfaces.d.ts +0 -6
  1023. package/dist/types/components/calcite-combobox/utils.d.ts +0 -6
  1024. package/dist/types/components/calcite-combobox-item/calcite-combobox-item.d.ts +0 -46
  1025. package/dist/types/components/calcite-combobox-item-group/calcite-combobox-item-group.d.ts +0 -17
  1026. package/dist/types/components/calcite-date-picker/calcite-date-picker.d.ts +0 -114
  1027. package/dist/types/components/calcite-date-picker-day/calcite-date-picker-day.d.ts +0 -45
  1028. package/dist/types/components/calcite-date-picker-month/calcite-date-picker-month.d.ts +0 -97
  1029. package/dist/types/components/calcite-date-picker-month-header/calcite-date-picker-month-header.d.ts +0 -55
  1030. package/dist/types/components/calcite-dropdown/calcite-dropdown.d.ts +0 -98
  1031. package/dist/types/components/calcite-dropdown-group/calcite-dropdown-group.d.ts +0 -32
  1032. package/dist/types/components/calcite-dropdown-item/calcite-dropdown-item.d.ts +0 -52
  1033. package/dist/types/components/calcite-fab/calcite-fab.d.ts +0 -47
  1034. package/dist/types/components/calcite-filter/calcite-filter.d.ts +0 -62
  1035. package/dist/types/components/calcite-flow/calcite-flow.d.ts +0 -22
  1036. package/dist/types/components/calcite-graph/calcite-graph.d.ts +0 -29
  1037. package/dist/types/components/calcite-handle/calcite-handle.d.ts +0 -22
  1038. package/dist/types/components/calcite-icon/calcite-icon.d.ts +0 -32
  1039. package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +0 -70
  1040. package/dist/types/components/calcite-input/calcite-input.d.ts +0 -161
  1041. package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +0 -135
  1042. package/dist/types/components/calcite-input-message/calcite-input-message.d.ts +0 -27
  1043. package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +0 -73
  1044. package/dist/types/components/calcite-label/calcite-label.d.ts +0 -30
  1045. package/dist/types/components/calcite-link/calcite-link.d.ts +0 -33
  1046. package/dist/types/components/calcite-list/calcite-list.d.ts +0 -16
  1047. package/dist/types/components/calcite-list-item/calcite-list-item.d.ts +0 -37
  1048. package/dist/types/components/calcite-list-item-group/calcite-list-item-group.d.ts +0 -18
  1049. package/dist/types/components/calcite-loader/calcite-loader.d.ts +0 -27
  1050. package/dist/types/components/calcite-modal/calcite-modal.d.ts +0 -88
  1051. package/dist/types/components/calcite-notice/calcite-notice.d.ts +0 -51
  1052. package/dist/types/components/calcite-pagination/calcite-pagination.d.ts +0 -51
  1053. package/dist/types/components/calcite-panel/calcite-panel.d.ts +0 -119
  1054. package/dist/types/components/calcite-pick-list/calcite-pick-list.d.ts +0 -74
  1055. package/dist/types/components/calcite-pick-list/shared-list-logic.d.ts +0 -30
  1056. package/dist/types/components/calcite-pick-list/shared-list-render.d.ts +0 -18
  1057. package/dist/types/components/calcite-pick-list-group/calcite-pick-list-group.d.ts +0 -18
  1058. package/dist/types/components/calcite-pick-list-item/calcite-pick-list-item.d.ts +0 -103
  1059. package/dist/types/components/calcite-popover/calcite-popover.d.ts +0 -107
  1060. package/dist/types/components/calcite-popover-manager/calcite-popover-manager.d.ts +0 -19
  1061. package/dist/types/components/calcite-progress/calcite-progress.d.ts +0 -15
  1062. package/dist/types/components/calcite-radio/calcite-radio.d.ts +0 -22
  1063. package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +0 -92
  1064. package/dist/types/components/calcite-radio-button-group/calcite-radio-button-group.d.ts +0 -32
  1065. package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +0 -48
  1066. package/dist/types/components/calcite-radio-group-item/calcite-radio-group-item.d.ts +0 -32
  1067. package/dist/types/components/calcite-rating/calcite-rating.d.ts +0 -49
  1068. package/dist/types/components/calcite-scrim/calcite-scrim.d.ts +0 -17
  1069. package/dist/types/components/calcite-select/calcite-select.d.ts +0 -58
  1070. package/dist/types/components/calcite-shell/calcite-shell.d.ts +0 -21
  1071. package/dist/types/components/calcite-shell-center-row/calcite-shell-center-row.d.ts +0 -22
  1072. package/dist/types/components/calcite-shell-panel/calcite-shell-panel.d.ts +0 -36
  1073. package/dist/types/components/calcite-slider/calcite-slider.d.ts +0 -173
  1074. package/dist/types/components/calcite-sortable-list/calcite-sortable-list.d.ts +0 -50
  1075. package/dist/types/components/calcite-split-button/calcite-split-button.d.ts +0 -49
  1076. package/dist/types/components/calcite-stepper/calcite-stepper.d.ts +0 -58
  1077. package/dist/types/components/calcite-stepper-item/calcite-stepper-item.d.ts +0 -65
  1078. package/dist/types/components/calcite-switch/calcite-switch.d.ts +0 -45
  1079. package/dist/types/components/calcite-tab/calcite-tab.d.ts +0 -42
  1080. package/dist/types/components/calcite-tab-nav/calcite-tab-nav.d.ts +0 -74
  1081. package/dist/types/components/calcite-tab-title/calcite-tab-title.d.ts +0 -92
  1082. package/dist/types/components/calcite-tabs/calcite-tabs.d.ts +0 -65
  1083. package/dist/types/components/calcite-tile/calcite-tile.d.ts +0 -33
  1084. package/dist/types/components/calcite-tile-select/calcite-tile-select.d.ts +0 -57
  1085. package/dist/types/components/calcite-time-picker/calcite-time-picker.d.ts +0 -123
  1086. package/dist/types/components/calcite-tip/calcite-tip.d.ts +0 -44
  1087. package/dist/types/components/calcite-tip-manager/calcite-tip-manager.d.ts +0 -65
  1088. package/dist/types/components/calcite-tooltip/calcite-tooltip.d.ts +0 -60
  1089. package/dist/types/components/calcite-tooltip-manager/calcite-tooltip-manager.d.ts +0 -41
  1090. package/dist/types/components/calcite-tree/calcite-tree.d.ts +0 -38
  1091. package/dist/types/components/calcite-tree/interfaces.d.ts +0 -10
  1092. package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +0 -56
  1093. package/dist/types/components/calcite-value-list/calcite-value-list.d.ts +0 -87
  1094. package/dist/types/components/calcite-value-list-item/calcite-value-list-item.d.ts +0 -76
  1095. package/dist/types/components/functional/CalciteExpandToggle.d.ts +0 -19
  1096. package/dist/types/utils/label.d.ts +0 -35
@@ -0,0 +1,5 @@
1
+ var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function l(e){try{o(r.next(e))}catch(e){i(e)}}function $(e){try{o(r["throw"](e))}catch(e){i(e)}}function o(e){e.done?n(e.value):a(e.value).then(l,$)}o((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,a,i,l;return l={next:$(0),throw:$(1),return:$(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function $(e){return function(t){return o([e,t])}}function o(l){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,a&&(i=l[0]&2?a["return"]:l[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;if(a=0,i)l=[l[0]&2,i.value];switch(l[0]){case 0:case 1:i=l;break;case 4:n.label++;return{value:l[1],done:false};case 5:n.label++;a=l[1];l=[0];continue;case 7:l=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){n.label=l[1];break}if(l[0]===6&&n.label<i[1]){n.label=i[1];i=l;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(l);break}if(i[2])n.ops.pop();n.trys.pop();continue}l=t.call(e,n)}catch(e){l=[6,e];a=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e};
2
+ /*!
3
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
+ */System.register([],(function(e,t){"use strict";return{execute:function(){var n=this;var r=e("N","calcite");var a;var i;var l=false;var $=false;var o=typeof window!=="undefined"?window:{};var s=e("d",o.document||{head:{}});var f={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)},ce:function(e,t){return new CustomEvent(e,t)}};var u=true;var c=e("p",(function(e){return Promise.resolve(e)}));var v=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var d=function(e,t,n,r){if(n){n.map((function(n){var r=n[0],a=n[1],i=n[2];var l=p(e,r);var $=h(t,i);var o=m(r);f.ael(l,a,$,o);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return f.rel(l,a,$,o)}))}))}};var h=function(e,t){return function(n){try{{if(e.$flags$&256){e.$lazyInstance$[t](n)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}}}catch(e){Ue(e)}}};var p=function(e,t){if(t&4)return s;if(t&8)return o;if(t&16)return s.body;return e};var m=function(e){return(e&2)!==0};var g="r";var y="o";var b="s";var w="t";var x="s-id";var R="sty-id";var N="c-id";var S="{visibility:hidden}[calcite-hydrated]{visibility:inherit}";var _="http://www.w3.org/1999/xlink";var k=function(e,t){if(t===void 0){t=""}{return function(){return}}};var L=function(e,t){{return function(){return}}};var C=new WeakMap;var A=function(e,t,n){var r=Be.get(e);if(v&&n){r=r||new CSSStyleSheet;r.replace(t)}else{r=t}Be.set(e,r)};var E=function(e,t,n,r){var a=j(t);var i=Be.get(a);e=e.nodeType===11?e:s;if(i){if(typeof i==="string"){e=e.head||e;var l=C.get(e);var $=void 0;if(!l){C.set(e,l=new Set)}if(!l.has(a)){if(e.host&&($=e.querySelector("["+R+'="'+a+'"]'))){$.innerHTML=i}else{{$=s.createElement("style");$.innerHTML=i}e.insertBefore($,e.querySelector("link"))}if(l){l.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets),[i])}}return a};var I=function(e){var t=e.$cmpMeta$;var n=e.$hostElement$;var r=t.$flags$;var a=k("attachStyles",t.$tagName$);var i=E(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10){n["s-sc"]=i;n.classList.add(i+"-h")}a()};var j=function(e,t){return"sc-"+e.$tagName$};var T=function(e){return e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var P={};var M="http://www.w3.org/2000/svg";var O="http://www.w3.org/1999/xhtml";var U=function(e){return e!=null};var z=function(e){e=typeof e;return e==="object"||e==="function"};var q=e("h",(function(e,t){var n=[];for(var r=2;r<arguments.length;r++){n[r-2]=arguments[r]}var a=null;var i=null;var l=false;var $=false;var o=[];var s=function(t){for(var n=0;n<t.length;n++){a=t[n];if(Array.isArray(a)){s(a)}else if(a!=null&&typeof a!=="boolean"){if(l=typeof e!=="function"&&!z(a)){a=String(a)}if(l&&$){o[o.length-1].$text$+=a}else{o.push(l?B(null,a):a)}$=l}}};s(n);if(t){if(t.key){i=t.key}{var f=t.className||t.class;if(f){t.class=typeof f!=="object"?f:Object.keys(f).filter((function(e){return f[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,o,W)}var u=B(e,null);u.$attrs$=t;if(o.length>0){u.$children$=o}{u.$key$=i}return u}));var B=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{n.$attrs$=null}{n.$key$=null}return n};var V=e("H",{});var H=function(e){return e&&e.$tag$===V};var W={forEach:function(e,t){return e.map(D).forEach(t)},map:function(e,t){return e.map(D).map(t).map(F)}};var D=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var F=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return q.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[]))}var n=B(e.vtag,e.vtext);n.$attrs$=e.vattrs;n.$children$=e.vchildren;n.$key$=e.vkey;n.$name$=e.vname;return n};var G=function(e,t,n,r,a,i){if(n!==r){var l=Oe(e,t);var $=t.toLowerCase();if(t==="class"){var s=e.classList;var u=K(n);var c=K(r);s.remove.apply(s,u.filter((function(e){return e&&!c.includes(e)})));s.add.apply(s,c.filter((function(e){return e&&!u.includes(e)})))}else if(t==="style"){{for(var v in n){if(!r||r[v]==null){if(v.includes("-")){e.style.removeProperty(v)}else{e.style[v]=""}}}}for(var v in r){if(!n||r[v]!==n[v]){if(v.includes("-")){e.style.setProperty(v,r[v])}else{e.style[v]=r[v]}}}}else if(t==="key");else if(t==="ref"){if(r){r(e)}}else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(Oe(o,$)){t=$.slice(2)}else{t=$[2]+t.slice(3)}if(n){f.rel(e,t,n,false)}if(r){f.ael(e,t,r,false)}}else{var d=z(r);if((l||d&&r!==null)&&!a){try{if(!e.tagName.includes("-")){var h=r==null?"":r;if(t==="list"){l=false}else if(n==null||e[t]!=h){e[t]=h}}else{e[t]=r}}catch(e){}}var p=false;{if($!==($=$.replace(/^xlink\:?/,""))){t=$;p=true}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){if(p){e.removeAttributeNS(_,t)}else{e.removeAttribute(t)}}}else if((!l||i&4||a)&&!d){r=r===true?"":r;if(p){e.setAttributeNS(_,t,r)}else{e.setAttribute(t,r)}}}}};var J=/\s/;var K=function(e){return!e?[]:e.split(J)};var Q=function(e,t,n,r){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||P;var l=t.$attrs$||P;{for(r in i){if(!(r in l)){G(a,r,i[r],undefined,n,t.$flags$)}}}for(r in l){G(a,r,i[r],l[r],n,t.$flags$)}};var X=function(e,t,n,r){var i=t.$children$[n];var $=0;var o;var f;if(i.$text$!==null){o=i.$elm$=s.createTextNode(i.$text$)}else{if(!l){l=i.$tag$==="svg"}o=i.$elm$=s.createElementNS(l?M:O,i.$tag$);if(l&&i.$tag$==="foreignObject"){l=false}{Q(null,i,l)}if(U(a)&&o["s-si"]!==a){o.classList.add(o["s-si"]=a)}if(i.$children$){for($=0;$<i.$children$.length;++$){f=X(e,i,$);if(f){o.appendChild(f)}}}{if(i.$tag$==="svg"){l=false}else if(o.tagName==="foreignObject"){l=true}}}return o};var Y=function(e,t,n,r,a,l){var $=e;var o;if($.shadowRoot&&$.tagName===i){$=$.shadowRoot}for(;a<=l;++a){if(r[a]){o=X(null,n,a);if(o){r[a].$elm$=o;$.insertBefore(o,t)}}}};var Z=function(e,t,n,r,a){for(;t<=n;++t){if(r=e[t]){a=r.$elm$;re(r);a.remove()}}};var ee=function(e,t,n,r){var a=0;var i=0;var l=0;var $=0;var o=t.length-1;var s=t[0];var f=t[o];var u=r.length-1;var c=r[0];var v=r[u];var d;var h;while(a<=o&&i<=u){if(s==null){s=t[++a]}else if(f==null){f=t[--o]}else if(c==null){c=r[++i]}else if(v==null){v=r[--u]}else if(te(s,c)){ne(s,c);s=t[++a];c=r[++i]}else if(te(f,v)){ne(f,v);f=t[--o];v=r[--u]}else if(te(s,v)){ne(s,v);e.insertBefore(s.$elm$,f.$elm$.nextSibling);s=t[++a];v=r[--u]}else if(te(f,c)){ne(f,c);e.insertBefore(f.$elm$,s.$elm$);f=t[--o];c=r[++i]}else{l=-1;{for($=a;$<=o;++$){if(t[$]&&t[$].$key$!==null&&t[$].$key$===c.$key$){l=$;break}}}if(l>=0){h=t[l];if(h.$tag$!==c.$tag$){d=X(t&&t[i],n,l)}else{ne(h,c);t[l]=undefined;d=h.$elm$}c=r[++i]}else{d=X(t&&t[i],n,i);c=r[++i]}if(d){{s.$elm$.parentNode.insertBefore(d,s.$elm$)}}}}if(a>o){Y(e,r[u+1]==null?null:r[u+1].$elm$,n,r,i,u)}else if(i>u){Z(t,a,o)}};var te=function(e,t){if(e.$tag$===t.$tag$){{return e.$key$===t.$key$}}return false};var ne=function(e,t){var n=t.$elm$=e.$elm$;var r=e.$children$;var a=t.$children$;var i=t.$tag$;var $=t.$text$;if($===null){{l=i==="svg"?true:i==="foreignObject"?false:l}{if(i==="slot");else{Q(e,t,l)}}if(r!==null&&a!==null){ee(n,r,t,a)}else if(a!==null){if(e.$text$!==null){n.textContent=""}Y(n,null,t,a,0,a.length-1)}else if(r!==null){Z(r,0,r.length-1)}if(l&&i==="svg"){l=false}}else if(e.$text$!==$){n.data=$}};var re=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(re)}};var ae=function(e,t){var n=e.$hostElement$;var r=e.$cmpMeta$;var l=e.$vnode$||B(null,null);var $=H(t)?t:q(null,null,t);i=n.tagName;if(r.$attrsToReflect$){$.$attrs$=$.$attrs$||{};r.$attrsToReflect$.map((function(e){var t=e[0],r=e[1];return $.$attrs$[r]=n[t]}))}$.$tag$=null;$.$flags$|=4;e.$vnode$=$;$.$elm$=l.$elm$=n.shadowRoot||n;{a=n["s-sc"]}ne(l,$)};var ie=e("g",(function(e){return Te(e).$hostElement$}));var le=e("c",(function(e,t,n){var r=ie(e);return{emit:function(e){return $e(r,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}}}));var $e=function(e,t,n){var r=f.ce(t,n);e.dispatchEvent(r);return r};var oe=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var se=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}oe(e,e.$ancestorComponent$);var n=function(){return fe(e,t)};return Je(n)};var fe=function(e,t){var n=k("scheduleUpdate",e.$cmpMeta$.$tagName$);var r=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],n=e[1];return pe(r,t,n)}));e.$queuedListeners$=null}}{a=pe(r,"componentWillLoad")}}{a=me(a,(function(){return pe(r,"componentWillRender")}))}n();return me(a,(function(){return ue(e,r,t)}))};var ue=function(e,t,r){return __awaiter(n,void 0,void 0,(function(){var n,a,i,l,$,o;return __generator(this,(function(s){n=e.$hostElement$;a=k("update",e.$cmpMeta$.$tagName$);i=n["s-rc"];if(r){I(e)}l=k("render",e.$cmpMeta$.$tagName$);{ce(e,t)}if(i){i.map((function(e){return e()}));n["s-rc"]=undefined}l();a();{$=n["s-p"];o=function(){return ve(e)};if($.length===0){o()}else{Promise.all($).then(o);e.$flags$|=4;$.length=0}}return[2]}))}))};var ce=function(e,t,n){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{ae(e,t)}}}}catch(t){Ue(t,e.$hostElement$)}return null};var ve=function(e){var t=e.$cmpMeta$.$tagName$;var n=e.$hostElement$;var r=k("postUpdate",t);var a=e.$lazyInstance$;var i=e.$ancestorComponent$;{pe(a,"componentDidRender")}if(!(e.$flags$&64)){e.$flags$|=64;{ge(n)}{pe(a,"componentDidLoad")}r();{e.$onReadyResolve$(n);if(!i){he()}}}else{{pe(a,"componentDidUpdate")}r()}{e.$onInstanceResolve$(n)}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){Ge((function(){return se(e,false)}))}e.$flags$&=~(4|512)}};var de=e("f",(function(e){{var t=Te(e);var n=t.$hostElement$.isConnected;if(n&&(t.$flags$&(2|16))===2){se(t,false)}return n}}));var he=function(e){{ge(s.documentElement)}Ge((function(){return $e(o,"appload",{detail:{namespace:r}})}))};var pe=function(e,t,n){if(e&&e[t]){try{return e[t](n)}catch(e){Ue(e)}}return undefined};var me=function(e,t){return e&&e.then?e.then(t):t()};var ge=function(e){return e.setAttribute("calcite-hydrated","")};var ye=function(e,t,n,r){var a=k("hydrateClient",t);var i=e.shadowRoot;var l=[];var $=[];var o=i?[]:null;var c=r.$vnode$=B(t,null);if(!f.$orgLocNodes$){we(s.body,f.$orgLocNodes$=new Map)}e[x]=n;e.removeAttribute(x);be(c,l,$,o,e,e,n);l.map((function(e){var n=e.$hostId$+"."+e.$nodeId$;var r=f.$orgLocNodes$.get(n);var a=e.$elm$;if(r&&u&&r["s-en"]===""){r.parentNode.insertBefore(a,r.nextSibling)}if(!i){a["s-hn"]=t;if(r){a["s-ol"]=r;a["s-ol"]["s-nr"]=a}}f.$orgLocNodes$.delete(n)}));if(i){o.map((function(e){if(e){i.appendChild(e)}}))}a()};var be=function(e,t,n,r,a,i,l){var $;var o;var f;var u;if(i.nodeType===1){$=i.getAttribute(N);if($){o=$.split(".");if(o[0]===l||o[0]==="0"){f={$flags$:0,$hostId$:o[0],$nodeId$:o[1],$depth$:o[2],$index$:o[3],$tag$:i.tagName.toLowerCase(),$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null};t.push(f);i.removeAttribute(N);if(!e.$children$){e.$children$=[]}e.$children$[f.$index$]=f;e=f;if(r&&f.$depth$==="0"){r[f.$index$]=f.$elm$}}}for(u=i.childNodes.length-1;u>=0;u--){be(e,t,n,r,a,i.childNodes[u],l)}if(i.shadowRoot){for(u=i.shadowRoot.childNodes.length-1;u>=0;u--){be(e,t,n,r,a,i.shadowRoot.childNodes[u],l)}}}else if(i.nodeType===8){o=i.nodeValue.split(".");if(o[1]===l||o[1]==="0"){$=o[0];f={$flags$:0,$hostId$:o[1],$nodeId$:o[2],$depth$:o[3],$index$:o[4],$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null};if($===w){f.$elm$=i.nextSibling;if(f.$elm$&&f.$elm$.nodeType===3){f.$text$=f.$elm$.textContent;t.push(f);i.remove();if(!e.$children$){e.$children$=[]}e.$children$[f.$index$]=f;if(r&&f.$depth$==="0"){r[f.$index$]=f.$elm$}}}else if(f.$hostId$===l){if($===b){f.$tag$="slot";if(o[5]){i["s-sn"]=f.$name$=o[5]}else{i["s-sn"]=""}i["s-sr"]=true;if(r){f.$elm$=s.createElement(f.$tag$);if(f.$name$){f.$elm$.setAttribute("name",f.$name$)}i.parentNode.insertBefore(f.$elm$,i);i.remove();if(f.$depth$==="0"){r[f.$index$]=f.$elm$}}n.push(f);if(!e.$children$){e.$children$=[]}e.$children$[f.$index$]=f}else if($===g){if(r){i.remove()}}}}}else if(e&&e.$tag$==="style"){var c=B(null,i.textContent);c.$elm$=i;c.$index$="0";e.$children$=[c]}};var we=function(e,t){if(e.nodeType===1){var n=0;for(;n<e.childNodes.length;n++){we(e.childNodes[n],t)}if(e.shadowRoot){for(n=0;n<e.shadowRoot.childNodes.length;n++){we(e.shadowRoot.childNodes[n],t)}}}else if(e.nodeType===8){var r=e.nodeValue.split(".");if(r[0]===y){t.set(r[1]+"."+r[2],e);e.nodeValue="";e["s-en"]=r[3]}}};var xe=function(e,t){if(e!=null&&!z(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var Re=function(e,t){return Te(e).$instanceValues$.get(t)};var Ne=function(e,t,n,r){var a=Te(e);var i=a.$hostElement$;var l=a.$instanceValues$.get(t);var $=a.$flags$;var o=a.$lazyInstance$;n=xe(n,r.$members$[t][0]);if((!($&8)||l===undefined)&&n!==l){a.$instanceValues$.set(t,n);if(o){if(r.$watchers$&&$&128){var s=r.$watchers$[t];if(s){s.map((function(e){try{o[e](n,l,t)}catch(e){Ue(e,i)}}))}}if(($&(2|16))===2){if(o.componentShouldUpdate){if(o.componentShouldUpdate(n,l,t)===false){return}}se(a,false)}}}};var Se=function(e,t,n){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var r=Object.entries(t.$members$);var a=e.prototype;r.map((function(e){var r=e[0],i=e[1][0];if(i&31||n&2&&i&32){Object.defineProperty(a,r,{get:function(){return Re(this,r)},set:function(e){Ne(this,r,e,t)},configurable:true,enumerable:true})}else if(n&1&&i&64){Object.defineProperty(a,r,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var n=Te(this);return n.$onInstancePromise$.then((function(){var t;return(t=n.$lazyInstance$)[r].apply(t,e)}))}})}}));if(n&1){var i=new Map;a.attributeChangedCallback=function(e,t,n){var r=this;f.jmp((function(){var t=i.get(e);if(r.hasOwnProperty(t)){n=r[t];delete r[t]}else if(a.hasOwnProperty(t)&&typeof r[t]==="number"&&r[t]==n){return}r[t]=n===null&&typeof r[t]==="boolean"?false:n}))};e.observedAttributes=r.filter((function(e){var t=e[0],n=e[1];return n[0]&15})).map((function(e){var n=e[0],r=e[1];var a=r[1]||n;i.set(a,n);if(r[0]&512){t.$attrsToReflect$.push([n,a])}return a}))}}return e};var _e=function(e,t,r,a,i){return __awaiter(n,void 0,void 0,(function(){var e,n,a,l,$,o,s;return __generator(this,(function(f){switch(f.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;i=qe(r);if(!i.then)return[3,2];e=L();return[4,i];case 1:i=f.sent();e();f.label=2;case 2:if(!i.isProxied){{r.$watchers$=i.watchers}Se(i,r,2);i.isProxied=true}n=k("createInstance",r.$tagName$);{t.$flags$|=8}try{new i(t)}catch(e){Ue(e)}{t.$flags$&=~8}{t.$flags$|=128}n();ke(t.$lazyInstance$);if(i.style){a=i.style;l=j(r);if(!Be.has(l)){$=k("registerStyles",r.$tagName$);A(l,a,!!(r.$flags$&1));$()}}f.label=3;case 3:o=t.$ancestorComponent$;s=function(){return se(t,true)};if(o&&o["s-rc"]){o["s-rc"].push(s)}else{s()}return[2]}}))}))};var ke=function(e){{pe(e,"connectedCallback")}};var Le=function(e){if((f.$flags$&1)===0){var t=Te(e);var n=t.$cmpMeta$;var r=k("connectedCallback",n.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;var a=void 0;{a=e.getAttribute(x);if(a){if(n.$flags$&1){var i=E(e.shadowRoot,n);e.classList.remove(i+"-h",i+"-s")}ye(e,n.$tagName$,a,t)}}{var l=e;while(l=l.parentNode||l.host){if(l.nodeType===1&&l.hasAttribute("s-id")&&l["s-p"]||l["s-p"]){oe(t,t.$ancestorComponent$=l);break}}}if(n.$members$){Object.entries(n.$members$).map((function(t){var n=t[0],r=t[1][0];if(r&31&&e.hasOwnProperty(n)){var a=e[n];delete e[n];e[n]=a}}))}{_e(e,t,n)}}else{d(e,t,n.$listeners$);ke(t.$lazyInstance$)}r()}};var Ce=function(e){if((f.$flags$&1)===0){var t=Te(e);var n=t.$lazyInstance$;{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}{pe(n,"disconnectedCallback")}}};var Ae=e("b",(function(e,t){if(t===void 0){t={}}var n=k();var r=[];var a=t.exclude||[];var i=o.customElements;var l=s.head;var $=l.querySelector("meta[charset]");var u=s.createElement("style");var c=[];var v=s.querySelectorAll("["+R+"]");var d;var h=true;var p=0;Object.assign(f,t);f.$resourcesUrl$=new URL(t.resourcesUrl||"./",s.baseURI).href;{f.$flags$|=2}{for(;p<v.length;p++){A(v[p].getAttribute(R),T(v[p].innerHTML),true)}}e.map((function(e){e[1].map((function(t){var n={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{n.$members$=t[2]}{n.$listeners$=t[3]}{n.$attrsToReflect$=[]}{n.$watchers$={}}var l=n.$tagName$;var $=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;Me(t,n);if(n.$flags$&1){{{t.attachShadow({mode:"open"})}}}return r}t.prototype.connectedCallback=function(){var e=this;if(d){clearTimeout(d);d=null}if(h){c.push(this)}else{f.jmp((function(){return Le(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;f.jmp((function(){return Ce(e)}))};t.prototype.componentOnReady=function(){return Te(this).$onReadyPromise$};return t}(HTMLElement);n.$lazyBundleId$=e[0];if(!a.includes(l)&&!i.get(l)){r.push(l);i.define(l,Se($,n,1))}}))}));{u.innerHTML=r+S;u.setAttribute("data-styles","");l.insertBefore(u,$?$.nextSibling:l.firstChild)}h=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{f.jmp((function(){return d=setTimeout(he,30)}))}}n()}));var Ee=e("a",(function(e){var t=new URL(e,f.$resourcesUrl$);return t.origin!==o.location.origin?t.href:t.pathname}));var Ie=e("F",(function(e,t){return t}));var je=new WeakMap;var Te=function(e){return je.get(e)};var Pe=e("r",(function(e,t){return je.set(t.$lazyInstance$=e,t)}));var Me=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{n.$onInstancePromise$=new Promise((function(e){return n.$onInstanceResolve$=e}))}{n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}d(e,n,t.$listeners$);return je.set(e,n)};var Oe=function(e,t){return t in e};var Ue=function(e,t){return(0,console.error)(e,t)};var ze=new Map;var qe=function(e,n,r){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var l=ze.get(i);if(l){return l[a]}return t.import("./"+i+".entry.js"+"").then((function(e){{ze.set(i,e)}return e[a]}),Ue)};var Be=new Map;var Ve=[];var He=[];var We=function(e,t){return function(n){e.push(n);if(!$){$=true;if(t&&f.$flags$&4){Ge(Fe)}else{f.raf(Fe)}}}};var De=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){Ue(e)}}e.length=0};var Fe=function(){De(Ve);{De(He);if($=Ve.length>0){f.raf(Fe)}}};var Ge=function(e){return c().then(e)};var Je=We(He,true)}}}));
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ */
5
+ System.register(["./p-288bc438.system.js","./p-6cc23c39.system.js","./p-34e5baa7.system.js","./p-e020662f.system.js"],(function(t){"use strict";var e,i,a,n,r,o,l,c;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.H;r=t.g},function(t){o=t.g;l=t.a},function(t){c=t.C},function(){}],execute:function(){var s={article:"article",content:"content",headerContainer:"header-container",icon:"icon",statusIcon:"status-icon",toggle:"toggle",toggleIcon:"toggle-icon",title:"title",heading:"heading",header:"header",button:"button",summary:"summary",controlContainer:"control-container",valid:"valid",invalid:"invalid",loading:"loading"};var m={collapse:"Collapse",expand:"Expand",loading:"Loading",options:"Options"};var d={icon:"icon",control:"control",headerMenuActions:"header-menu-actions"};var g={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle",refresh:"refresh"};var u=4;var f='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-direction:column;flex-direction:column;padding:0;-webkit-transition-property:margin;transition-property:margin;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);border-width:0;border-bottom-width:1px;border-color:var(--calcite-ui-border-3);border-style:solid;-ms-flex-preferred-size:auto;flex-basis:auto}.header{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between;color:var(--calcite-ui-text-2);}.heading{font-weight:var(--calcite-font-weight-medium);margin:0;padding:0}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.header{-ms-flex-pack:start;justify-content:flex-start;padding:0}.header,.toggle{grid-area:header}.header-container{display:grid;-ms-flex-align:stretch;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu";grid-column:header-start/menu-end;grid-row:1/2}.toggle{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;font-family:inherit;-ms-flex-align:center;align-items:center;margin:0;padding:0;border-style:none;cursor:pointer;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;text-align:initial;background-color:transparent}.toggle:hover{background-color:var(--calcite-ui-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0;padding:0.75rem}.header .title .heading{padding:0;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);font-weight:var(--calcite-font-weight-medium);word-wrap:break-word;word-break:break-word;line-height:1.25;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.summary{padding:0;font-size:var(--calcite-font-size--2);color:var(--calcite-ui-text-3);margin-top:0.125rem;word-wrap:break-word;word-break:break-word}.icon{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem;-webkit-margin-end:0px;margin-inline-end:0px;margin-block:0.75rem}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}.status-icon.loading{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.toggle-icon{-ms-flex-item-align:center;align-self:center;justify-self:end;color:var(--calcite-ui-text-3);-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-top:0.75rem;margin-bottom:0.75rem;-webkit-margin-end:1rem;margin-inline-end:1rem;-webkit-margin-start:auto;margin-inline-start:auto}.toggle:hover .toggle-icon{color:var(--calcite-ui-text-1)}.content{padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem;position:relative;-webkit-animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in var(--calcite-internal-animation-timing-slow) ease-in-out}.control-container{display:-ms-flexbox;display:flex;margin:0;grid-area:control}calcite-action-menu{grid-area:menu}:host([open]){margin-top:0.5rem;margin-bottom:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-ui-text-1)}:host([disabled]){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;user-select:none}:host([disabled]) .header-container{opacity:0.5}';var p=t("calcite_block",function(){function t(t){var a=this;e(this,t);this.calciteBlockToggle=i(this,"calciteBlockToggle",7);this.collapsible=false;this.disabled=false;this.dragHandle=false;this.intlLoading=m.loading;this.intlOptions=m.options;this.loading=false;this.open=false;this.onHeaderClick=function(){a.open=!a.open;a.calciteBlockToggle.emit()}}t.prototype.renderScrim=function(){var t=this,e=t.disabled,i=t.loading;var n=a("slot",null);return[i||e?a("calcite-scrim",{loading:i}):null,n]};t.prototype.renderIcon=function(){var t;var e=this,i=e.el,n=e.status;var r=this.loading&&!this.open;var l=r?g.refresh:g[n];var c=o(i,d.icon)||l;var m=!l?a("slot",{name:d.icon}):a("calcite-icon",{class:(t={},t[s.statusIcon]=true,t[s.valid]=n=="valid",t[s.invalid]=n=="invalid",t[s.loading]=r,t),icon:l,scale:"m"});return c?a("div",{class:s.icon},m):null};t.prototype.renderTitle=function(){var t=this,e=t.heading,i=t.headingLevel,n=t.summary;return e||n?a("div",{class:s.title},a(c,{class:s.heading,level:i||u},e),n?a("div",{class:s.summary},n):null):null};t.prototype.render=function(){var t;var e=this,i=e.collapsible,r=e.disabled,l=e.el,c=e.intlCollapse,u=e.intlExpand,f=e.loading,p=e.open,h=e.intlLoading;var b=p?c||m.collapse:u||m.expand;var w=a("header",{class:s.header},this.renderIcon(),this.renderTitle());var v=!!o(l,d.control);var k=!!o(l,d.headerMenuActions);var x=p?g.opened:g.closed;var y=a("div",{class:s.headerContainer},this.dragHandle?a("calcite-handle",null):null,i?a("button",{"aria-expanded":i?p.toString():null,"aria-label":b,class:s.toggle,onClick:this.onHeaderClick,title:b},w,!v&&!k?a("calcite-icon",{"aria-hidden":"true",class:s.toggleIcon,icon:x,scale:"s"}):null):w,f?a("calcite-loader",{inline:true,"is-active":true,label:h}):v?a("div",{class:s.controlContainer},a("slot",{name:d.control})):null,k?a("calcite-action-menu",{label:this.intlOptions||m.options},a("slot",{name:d.headerMenuActions})):null);return a(n,{tabIndex:r?-1:null},a("article",{"aria-busy":f.toString(),class:(t={},t[s.article]=true,t)},y,a("div",{class:s.content,hidden:!p},this.renderScrim())))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());p.style=f;var h={content:"content",invalid:"invalid",toggle:"toggle",toggleSwitch:"toggle--switch",toggleSwitchContent:"toggle--switch__content",toggleSwitchText:"toggle--switch__text",sectionHeader:"section-header",sectionHeaderText:"section-header__text",statusIcon:"status-icon",valid:"valid"};var b={collapse:"Collapse",expand:"Expand"};var w={menuOpen:"chevron-down",menuClosedLeft:"chevron-left",menuClosedRight:"chevron-right",valid:"check-circle",invalid:"exclamation-mark-triangle"};var v="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1);display:block}:host([open]){border-style:solid;border-width:0;border-bottom-color:var(--calcite-ui-border-3);border-bottom-width:1px}:host(:last-child){border-bottom-width:0}.toggle{background-color:transparent;border-width:0;color:var(--calcite-ui-text-2);font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);width:100%}.toggle--switch,.section-header{-ms-flex-align:center;align-items:center;cursor:pointer;display:-ms-flexbox;display:flex;margin-left:0;margin-right:0;margin-top:0.25rem;margin-bottom:0.25rem;padding-left:0;padding-right:0;padding-top:0.5rem;padding-bottom:0.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:var(--calcite-font-size--1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.toggle--switch:hover,.section-header:hover{color:var(--calcite-ui-text-1)}.section-header .status-icon{-ms-flex-item-align:end;align-self:flex-end}.section-header__text{-ms-flex:1 1 auto;flex:1 1 auto;margin-left:0.75rem;margin-right:0.75rem;margin-top:0;margin-bottom:0;text-align:initial;word-wrap:anywhere}.toggle--switch calcite-switch{pointer-events:none;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.toggle--switch .status-icon{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.toggle--switch__content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}";var k=t("calcite_block_section",function(){function t(t){var a=this;e(this,t);this.calciteBlockSectionToggle=i(this,"calciteBlockSectionToggle",7);this.open=false;this.toggleDisplay="button";this.handleHeaderKeyDown=function(t){if(t.key===" "||t.key==="Enter"){a.toggleSection();t.preventDefault();t.stopPropagation()}};this.toggleSection=function(){a.open=!a.open;a.calciteBlockSectionToggle.emit()}}t.prototype.renderStatusIcon=function(){var t;var e;var i=this.status;var n=(e=w[i])!==null&&e!==void 0?e:false;var r=(t={},t[h.statusIcon]=true,t[h.valid]=i=="valid",t[h.invalid]=i=="invalid",t);return!!n?a("calcite-icon",{class:r,icon:n,scale:"s"}):null};t.prototype.render=function(){var t,e;var i=this,n=i.el,r=i.intlCollapse,o=i.intlExpand,c=i.open,s=i.text,m=i.toggleDisplay;var d=l(n);var g=c?w.menuOpen:d==="rtl"?w.menuClosedLeft:w.menuClosedRight;var u=c?r||b.collapse:o||b.expand;var f=m==="switch"?a("div",{"aria-label":u,class:(t={},t[h.toggle]=true,t[h.toggleSwitch]=true,t),onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,tabIndex:0,title:u},a("div",{class:h.toggleSwitchContent},a("span",{class:h.toggleSwitchText},s)),a("calcite-switch",{checked:c,label:u,scale:"s",tabIndex:-1}),this.renderStatusIcon()):a("button",{"aria-label":u,class:(e={},e[h.sectionHeader]=true,e[h.toggle]=true,e),name:u,onClick:this.toggleSection},a("calcite-icon",{icon:g,scale:"s"}),a("span",{class:h.sectionHeaderText},s),this.renderStatusIcon());return a("section",{"aria-expanded":c.toString()},f,a("div",{class:h.content,hidden:!c},a("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());k.style=v}}}));
@@ -2,4 +2,4 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import{r as t,c as e,h as i,g as a}from"./p-05d1dfc6.js";import{a as n,C as o}from"./p-52cc870b.js";import{g as r}from"./p-72563742.js";import"./p-8a63221d.js";let s=class{constructor(i){t(this,i),this.calciteCardSelect=e(this,"calciteCardSelect",7),this.loading=!1,this.selected=!1,this.selectable=!1,this.intlLoading="Loading",this.intlSelect="Select",this.intlDeselect="Deselect",this.cardSelectClick=()=>{this.selectCard()},this.cardSelectKeyDown=t=>{switch(r(t.key)){case" ":case"Enter":this.selectCard(),t.preventDefault()}}}render(){const t=n(this.el);return i("div",{class:{"calcite-card-container":!0,[o.rtl]:"rtl"===t}},this.loading?i("div",{class:"calcite-card-loader-container"},i("calcite-loader",{active:!0,label:this.intlLoading})):null,i("section",{"aria-busy":this.loading.toString(),class:{container:!0}},this.selectable?this.renderCheckbox():null,this.renderThumbnail(),this.renderHeader(),i("div",{class:"card-content"},i("slot",null)),this.renderFooter()))}selectCard(){this.selected=!this.selected,this.calciteCardSelect.emit()}renderThumbnail(){return this.el.querySelector("[slot=thumbnail]")?i("div",{class:"thumbnail-wrapper"},i("slot",{name:"thumbnail"})):null}renderCheckbox(){return i("calcite-label",{class:"checkbox-wrapper",onClick:this.cardSelectClick,onKeyDown:this.cardSelectKeyDown},i("calcite-checkbox",{checked:this.selected,label:this.selected?this.intlDeselect:this.intlSelect}))}renderHeader(){const t=this.el.querySelector("[slot=title]"),e=this.el.querySelector("[slot=subtitle]");return t||e?i("header",{class:"header"},i("slot",{name:"title"}),i("slot",{name:"subtitle"})):null}renderFooter(){const t=this.el.querySelector("[slot=footer-leading]"),e=this.el.querySelector("[slot=footer-trailing]");return t||e?i("footer",{class:"footer"},i("slot",{name:"footer-leading"}),i("slot",{name:"footer-trailing"})):null}get el(){return a(this)}};s.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{max-width:100%;display:block}:host .calcite-card-container{display:-ms-flexbox;display:flex;height:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;background-color:var(--calcite-ui-foreground-1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);position:relative;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);color:var(--calcite-ui-text-3);-webkit-box-shadow:none;box-shadow:none}:host .calcite-card-container:hover{-webkit-box-shadow:0 4px 16px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.04);box-shadow:0 4px 16px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.04);z-index:1}:host .calcite-card-container:active{-webkit-box-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);box-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);-webkit-transition-duration:75ms;transition-duration:75ms;z-index:1}.container{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container){opacity:0;pointer-events:none}:host([loading]) .calcite-card-loader-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;position:absolute;top:0;right:0;bottom:0;left:0}.header,.footer{padding-top:0.75rem;padding-bottom:0.25rem;padding-left:0.75rem;padding-right:0.75rem;display:-ms-flexbox;display:flex}.header{-ms-flex-direction:column;flex-direction:column}.footer{padding-top:0.25rem;padding-bottom:0.75rem;padding-left:0.75rem;padding-right:0.75rem;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-pack:justify;justify-content:space-between;margin-top:auto}.card-content{padding:0.75rem;color:var(--calcite-ui-text-3);font-size:var(--calcite-font-size--2);line-height:1.375}:host([selectable]) .calcite-card-container:active{-webkit-box-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);box-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08)}:host([selected]) .calcite-card-container{border-color:var(--calcite-ui-brand)}slot[name=title]::slotted(*),*::slotted([slot=title]){font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);margin:0;font-size:var(--calcite-font-size--1);line-height:1.375}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);margin:0;margin-top:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){max-width:100%;min-width:100%}slot[name=footer-leading]::slotted(*),*::slotted([slot=footer-leading]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;-webkit-margin-end:auto;margin-inline-end:auto}slot[name=footer-trailing]::slotted(*),*::slotted([slot=footer-trailing]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.thumbnail-wrapper{font-size:var(--calcite-font-size-0);line-height:1.375}.checkbox-wrapper{position:absolute;margin:0;padding:0;top:0.5rem;right:0.5rem}.calcite--rtl .checkbox-wrapper{right:auto;left:0.5rem}";export{s as calcite_card}
5
+ import{r as t,c as i,h as e,g as a}from"./p-2e29554c.js";let n=class{constructor(e){t(this,e),this.calciteCardSelect=i(this,"calciteCardSelect",7),this.loading=!1,this.selected=!1,this.selectable=!1,this.intlLoading="Loading",this.intlSelect="Select",this.intlDeselect="Deselect",this.cardSelectClick=()=>{this.selectCard()},this.cardSelectKeyDown=t=>{switch(t.key){case" ":case"Enter":this.selectCard(),t.preventDefault()}}}render(){return e("div",{class:"calcite-card-container"},this.loading?e("div",{class:"calcite-card-loader-container"},e("calcite-loader",{active:!0,label:this.intlLoading})):null,e("section",{"aria-busy":this.loading.toString(),class:{container:!0}},this.selectable?this.renderCheckbox():null,this.renderThumbnail(),this.renderHeader(),e("div",{class:"card-content"},e("slot",null)),this.renderFooter()))}selectCard(){this.selected=!this.selected,this.calciteCardSelect.emit()}renderThumbnail(){return this.el.querySelector("[slot=thumbnail]")?e("div",{class:"thumbnail-wrapper"},e("slot",{name:"thumbnail"})):null}renderCheckbox(){return e("calcite-label",{class:"checkbox-wrapper",onClick:this.cardSelectClick,onKeyDown:this.cardSelectKeyDown},e("calcite-checkbox",{checked:this.selected,label:this.selected?this.intlDeselect:this.intlSelect}))}renderHeader(){const t=this.el.querySelector("[slot=title]"),i=this.el.querySelector("[slot=subtitle]");return t||i?e("header",{class:"header"},e("slot",{name:"title"}),e("slot",{name:"subtitle"})):null}renderFooter(){const t=this.el.querySelector("[slot=footer-leading]"),i=this.el.querySelector("[slot=footer-trailing]");return t||i?e("footer",{class:"footer"},e("slot",{name:"footer-leading"}),e("slot",{name:"footer-trailing"})):null}get el(){return a(this)}};n.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{max-width:100%;display:block}:host .calcite-card-container{display:-ms-flexbox;display:flex;height:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;background-color:var(--calcite-ui-foreground-1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);position:relative;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);color:var(--calcite-ui-text-3);-webkit-box-shadow:none;box-shadow:none}:host .calcite-card-container:hover{-webkit-box-shadow:0 4px 16px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.04);box-shadow:0 4px 16px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.04);z-index:1}:host .calcite-card-container:active{-webkit-box-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);box-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);-webkit-transition-duration:75ms;transition-duration:75ms;z-index:1}.container{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container){opacity:0;pointer-events:none}:host([loading]) .calcite-card-loader-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;position:absolute;top:0;right:0;bottom:0;left:0}.header,.footer{padding-top:0.75rem;padding-bottom:0.25rem;padding-left:0.75rem;padding-right:0.75rem;display:-ms-flexbox;display:flex}.header{-ms-flex-direction:column;flex-direction:column}.footer{padding-top:0.25rem;padding-bottom:0.75rem;padding-left:0.75rem;padding-right:0.75rem;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-pack:justify;justify-content:space-between;margin-top:auto}.card-content{padding:0.75rem;color:var(--calcite-ui-text-3);font-size:var(--calcite-font-size--2);line-height:1.375}:host([selectable]) .calcite-card-container:active{-webkit-box-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);box-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08)}:host([selected]) .calcite-card-container{border-color:var(--calcite-ui-brand)}slot[name=title]::slotted(*),*::slotted([slot=title]){font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);margin:0;font-size:var(--calcite-font-size--1);line-height:1.375}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);margin:0;margin-top:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){max-width:100%;min-width:100%}slot[name=footer-leading]::slotted(*),*::slotted([slot=footer-leading]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;-webkit-margin-end:auto;margin-inline-end:auto}slot[name=footer-trailing]::slotted(*),*::slotted([slot=footer-trailing]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.thumbnail-wrapper{font-size:var(--calcite-font-size-0);line-height:1.375}.checkbox-wrapper{position:absolute;margin:0;padding:0;top:0.5rem;inset-inline-end:0.5rem}";export{n as calcite_card}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ */
5
+ const t=(t,a,s)=>Math.max(a,Math.min(t,s)),a=t=>{const a=(""+t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return a?Math.max(0,(a[1]?a[1].length:0)-(a[2]?+a[2]:0)):0};export{t as c,a as d}
@@ -0,0 +1,5 @@
1
+ var __awaiter=this&&this.__awaiter||function(i,t,e,a){function n(i){return i instanceof e?i:new e((function(t){t(i)}))}return new(e||(e=Promise))((function(e,r){function o(i){try{l(a.next(i))}catch(i){r(i)}}function c(i){try{l(a["throw"](i))}catch(i){r(i)}}function l(i){i.done?e(i.value):n(i.value).then(o,c)}l((a=a.apply(i,t||[])).next())}))};var __generator=this&&this.__generator||function(i,t){var e={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,n,r,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(i){return function(t){return l([i,t])}}function l(o){if(a)throw new TypeError("Generator is already executing.");while(e)try{if(a=1,n&&(r=o[0]&2?n["return"]:o[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;if(n=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;n=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(r=e.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){e.label=o[1];break}if(o[0]===6&&e.label<r[1]){e.label=r[1];r=o;break}if(r&&e.label<r[2]){e.label=r[2];e.ops.push(o);break}if(r[2])e.ops.pop();e.trys.pop();continue}o=t.call(i,e)}catch(i){o=[6,i];n=0}finally{a=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
+ /*!
3
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
+ */System.register(["./p-288bc438.system.js","./p-6cc23c39.system.js","./p-e020662f.system.js"],(function(i){"use strict";var t,e,a,n,r,o;return{setters:[function(i){t=i.r;e=i.c;a=i.h;n=i.g},function(i){r=i.g},function(i){o=i.g}],execute:function(){var c={title:"title",close:"close",chipImageContainer:"chip-image-container",calciteChipIcon:"calcite-chip--icon"};var l={close:"Close"};var s={image:"image"};var p={close:"x"};var u="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]){height:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-unit-l:0.5rem;--calcite-chip-spacing-unit-s:0.25rem}:host([scale=s]) .chip-image-container{height:1.25rem;width:1.25rem}:host([scale=m]){height:2rem;font-size:var(--calcite-font-size--1);--calcite-chip-spacing-unit-l:0.75rem;--calcite-chip-spacing-unit-s:6px}:host([scale=m]) .chip-image-container{height:1.5rem;width:1.5rem;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host([scale=l]){height:2.75rem;font-size:var(--calcite-font-size-0);--calcite-chip-spacing-unit-l:1rem;--calcite-chip-spacing-unit-s:0.5rem}:host([scale=l]) .chip-image-container{height:2rem;width:2rem;padding-left:0.25rem}:host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1);color:var(--calcite-ui-text-1);font-weight:var(--calcite-font-weight-medium);cursor:default;border-radius:9999px;-webkit-box-sizing:border-box;box-sizing:border-box}.container{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;height:100%;max-width:100%}.title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host span{padding:0 var(--calcite-chip-spacing-unit-l)}:host([dismissible]) span{padding-inline:var(--calcite-chip-spacing-unit-l) var(--calcite-chip-spacing-unit-s)}:host([icon]:not([dismissible])) span{padding:0 var(--calcite-chip-spacing-unit-l)}:host button{margin:0;background-color:transparent;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;display:-ms-inline-flexbox;display:inline-flex;min-height:100%;max-height:100%;-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-align:center;align-items:center;border-style:none;cursor:pointer;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;color:var(--calcite-ui-text-1);-webkit-appearance:none;border-start-start-radius:0;border-start-end-radius:50px;border-end-end-radius:50px;border-end-start-radius:0;padding:0 var(--calcite-chip-spacing-unit-s);color:inherit;--calcite-chip-transparent-hover:var(--calcite-button-transparent-hover);--calcite-chip-transparent-press:var(--calcite-button-transparent-press)}:host button:hover{background-color:var(--calcite-chip-transparent-hover)}:host button:focus{background-color:var(--calcite-chip-transparent-hover);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host button:active{background-color:var(--calcite-chip-transparent-press)}.chip-image-container{border-radius:50%;overflow:hidden;display:-ms-inline-flexbox;display:inline-flex}:host slot[name=image]::slotted(*){display:-ms-flexbox;display:flex;height:100%;width:100%;border-radius:50%;overflow:hidden}.calcite-chip--icon{display:-ms-inline-flexbox;display:inline-flex;position:relative;margin-top:0;margin-bottom:0;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:0;margin-inline-end:0;-webkit-margin-start:var(--calcite-chip-spacing-unit-l);margin-inline-start:var(--calcite-chip-spacing-unit-l);border-start-start-radius:0;border-start-end-radius:50px;border-end-end-radius:50px;border-end-start-radius:0}:host([color=blue][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-info);color:var(--calcite-ui-text-inverse)}:host([color=red][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-danger);color:var(--calcite-ui-text-inverse)}:host([color=yellow][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-warning);color:#151515}:host([color=green][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-success);color:#151515}:host([color=grey][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host([color=grey][appearance=solid]) button,:host([color=grey][appearance=solid]) calcite-icon{color:var(--calcite-ui-text-3)}:host([color=blue][appearance=clear]){border-color:var(--calcite-ui-info)}:host([color=blue][appearance=clear]) .calcite-chip--icon{color:var(--calcite-ui-info)}:host([color=red][appearance=clear]){border-color:var(--calcite-ui-danger)}:host([color=red][appearance=clear]) .calcite-chip--icon{color:var(--calcite-ui-danger)}:host([color=yellow][appearance=clear]){border-color:var(--calcite-ui-warning)}:host([color=yellow][appearance=clear]) .calcite-chip--icon{color:var(--calcite-ui-warning)}:host([color=green][appearance=clear]){border-color:var(--calcite-ui-success)}:host([color=green][appearance=clear]) .calcite-chip--icon{color:var(--calcite-ui-success)}:host([color=grey][appearance=clear]){border-color:var(--calcite-ui-border-1)}:host([color=grey][appearance=clear]) .calcite-chip--icon{color:var(--calcite-ui-text-3)}";var d=i("calcite_chip",function(){function i(i){var a=this;t(this,i);this.calciteChipDismiss=e(this,"calciteChipDismiss",7);this.appearance="solid";this.color="grey";this.dismissible=false;this.dismissLabel=l.close;this.iconFlipRtl=false;this.scale="m";this.closeClickHandler=function(i){i.preventDefault();a.calciteChipDismiss.emit(a.el)};this.guid=o()}i.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(t){(i=this.closeButton)===null||i===void 0?void 0:i.focus();return[2]}))}))};i.prototype.renderChipImage=function(){var i=this.el;var t=r(i,s.image);return t?a("div",{class:c.chipImageContainer},a("slot",{name:s.image})):null};i.prototype.render=function(){var i=this;var t=a("calcite-icon",{class:c.calciteChipIcon,flipRtl:this.iconFlipRtl,icon:this.icon,scale:"s"});var e=a("button",{"aria-describedby":this.guid,"aria-label":this.dismissLabel,class:c.close,onClick:this.closeClickHandler,ref:function(t){return i.closeButton=t}},a("calcite-icon",{icon:p.close,scale:"s"}));return a("div",{class:"container"},this.renderChipImage(),this.icon?t:null,a("span",{class:c.title,id:this.guid},a("slot",null)),this.dismissible?e:null)};Object.defineProperty(i.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return i}());d.style=u}}}));
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ */
5
+ const e="calcite";let t,n,l=!1,s=!1;const o="undefined"!=typeof window?window:{},i=o.document||{head:{}},c={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},r=e=>Promise.resolve(e),a=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),f=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=$(e,n),i=u(t,s),r=d(n);c.ael(o,l,i,r),(t.o=t.o||[]).push((()=>c.rel(o,l,i,r)))}))},u=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(e){ue(e)}},$=(e,t)=>4&t?i:8&t?o:16&t?i.body:e,d=e=>0!=(2&e),h="http://www.w3.org/1999/xlink",p=new WeakMap,y=(e,t,n)=>{let l=he.get(e);a&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,he.set(e,l)},m=(e,t)=>{let n=w(t),l=he.get(n);if(e=11===e.nodeType?e:i,l)if("string"==typeof l){let t,s=p.get(e=e.head||e);s||p.set(e,s=new Set),s.has(n)||(e.host&&(t=e.querySelector(`[sty-id="${n}"]`))?t.innerHTML=l:(t=i.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link"))),s&&s.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n},w=e=>"sc-"+e.$,b=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),g={},v=e=>"object"==(e=typeof e)||"function"===e,k=(e,t,...n)=>{let l=null,s=null,o=!1,i=!1,c=[];const r=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?r(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof e&&!v(l))&&(l+=""),o&&i?c[c.length-1].h+=l:c.push(o?j(null,l):l),i=o)};if(r(n),t){t.key&&(s=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,x);const a=j(e,null);return a.p=t,c.length>0&&(a.m=c),a.g=s,a},j=(e,t)=>({t:0,v:e,h:t,k:null,m:null,p:null,g:null}),S={},x={forEach:(e,t)=>e.map(O).forEach(t),map:(e,t)=>e.map(O).map(t).map(M)},O=e=>({vattrs:e.p,vchildren:e.m,vkey:e.g,vname:e.j,vtag:e.v,vtext:e.h}),M=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),k(e.vtag,t,...e.vchildren||[])}const t=j(e.vtag,e.vtext);return t.p=e.vattrs,t.m=e.vchildren,t.g=e.vkey,t.j=e.vname,t},C=(e,t,n,l,s,i)=>{if(n!==l){let r=fe(e,t),a=t.toLowerCase();if("class"===t){const t=e.classList,s=P(n),o=P(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(r||"o"!==t[0]||"n"!==t[1]){const o=v(l);if((r||o&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{let s=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(e){}let c=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,c=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(c?e.removeAttributeNS(h,t):e.removeAttribute(t)):(!r||4&i||s)&&!o&&(l=!0===l?"":l,c?e.setAttributeNS(h,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):fe(o,a)?a.slice(2):a[2]+t.slice(3),n&&c.rel(e,t,n,!1),l&&c.ael(e,t,l,!1)}},L=/\s/,P=e=>e?e.split(L):[],R=(e,t,n,l)=>{const s=11===t.k.nodeType&&t.k.host?t.k.host:t.k,o=e&&e.p||g,i=t.p||g;for(l in o)l in i||C(s,l,o[l],void 0,n,t.t);for(l in i)C(s,l,o[l],i[l],n,t.t)},E=(e,n,s)=>{let o,c,r=n.m[s],a=0;if(null!==r.h)o=r.k=i.createTextNode(r.h);else{if(l||(l="svg"===r.v),o=r.k=i.createElementNS(l?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",r.v),l&&"foreignObject"===r.v&&(l=!1),R(null,r,l),null!=t&&o["s-si"]!==t&&o.classList.add(o["s-si"]=t),r.m)for(a=0;a<r.m.length;++a)c=E(e,r,a),c&&o.appendChild(c);"svg"===r.v?l=!1:"foreignObject"===o.tagName&&(l=!0)}return o},I=(e,t,l,s,o,i)=>{let c,r=e;for(r.shadowRoot&&r.tagName===n&&(r=r.shadowRoot);o<=i;++o)s[o]&&(c=E(null,l,o),c&&(s[o].k=c,r.insertBefore(c,t)))},U=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.k,F(l),s.remove())},W=(e,t)=>e.v===t.v&&e.g===t.g,D=(e,t)=>{const n=t.k=e.k,s=e.m,o=t.m,i=t.v,c=t.h;null===c?(l="svg"===i||"foreignObject"!==i&&l,"slot"===i||R(e,t,l),null!==s&&null!==o?((e,t,n,l)=>{let s,o,i=0,c=0,r=0,a=0,f=t.length-1,u=t[0],$=t[f],d=l.length-1,h=l[0],p=l[d];for(;i<=f&&c<=d;)if(null==u)u=t[++i];else if(null==$)$=t[--f];else if(null==h)h=l[++c];else if(null==p)p=l[--d];else if(W(u,h))D(u,h),u=t[++i],h=l[++c];else if(W($,p))D($,p),$=t[--f],p=l[--d];else if(W(u,p))D(u,p),e.insertBefore(u.k,$.k.nextSibling),u=t[++i],p=l[--d];else if(W($,h))D($,h),e.insertBefore($.k,u.k),$=t[--f],h=l[++c];else{for(r=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].g&&t[a].g===h.g){r=a;break}r>=0?(o=t[r],o.v!==h.v?s=E(t&&t[c],n,r):(D(o,h),t[r]=void 0,s=o.k),h=l[++c]):(s=E(t&&t[c],n,c),h=l[++c]),s&&u.k.parentNode.insertBefore(s,u.k)}i>f?I(e,null==l[d+1]?null:l[d+1].k,n,l,c,d):c>d&&U(t,i,f)})(n,s,t,o):null!==o?(null!==e.h&&(n.textContent=""),I(n,null,t,o,0,o.length-1)):null!==s&&U(s,0,s.length-1),l&&"svg"===i&&(l=!1)):e.h!==c&&(n.data=c)},F=e=>{e.p&&e.p.ref&&e.p.ref(null),e.m&&e.m.map(F)},T=e=>ce(e).S,A=(e,t,n)=>{const l=T(e);return{emit:e=>H(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},H=(e,t,n)=>{const l=c.ce(t,n);return e.dispatchEvent(l),l},N=(e,t)=>{t&&!e.O&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.O=t)))},q=(e,t)=>{if(e.t|=16,!(4&e.t))return N(e,e.M),ve((()=>V(e,t)));e.t|=512},V=(e,t)=>{const n=e.i;let l;return t&&(e.t|=256,e.u&&(e.u.map((([e,t])=>K(n,e,t))),e.u=null),l=K(n,"componentWillLoad")),l=Q(l,(()=>K(n,"componentWillRender"))),Q(l,(()=>_(e,n,t)))},_=async(e,t,n)=>{const l=e.S,s=l["s-rc"];n&&(e=>{const t=e.C,n=e.S,l=t.t,s=m(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);z(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>B(e);0===t.length?n():(Promise.all(t).then(n),e.t|=4,t.length=0)}},z=(e,l)=>{try{l=l.render(),e.t&=-17,e.t|=2,((e,l)=>{const s=e.S,o=e.C,i=e.L||j(null,null),c=(e=>e&&e.v===S)(l)?l:k(null,null,l);n=s.tagName,o.P&&(c.p=c.p||{},o.P.map((([e,t])=>c.p[t]=s[e]))),c.v=null,c.t|=4,e.L=c,c.k=i.k=s.shadowRoot||s,t=s["s-sc"],D(i,c)})(e,l)}catch(t){ue(t,e.S)}return null},B=e=>{const t=e.S,n=e.i,l=e.M;K(n,"componentDidRender"),64&e.t?K(n,"componentDidUpdate"):(e.t|=64,X(t),K(n,"componentDidLoad"),e.R(t),l||J()),e.I(t),e.O&&(e.O(),e.O=void 0),512&e.t&&ge((()=>q(e,!1))),e.t&=-517},G=e=>{{const t=ce(e),n=t.S.isConnected;return n&&2==(18&t.t)&&q(t,!1),n}},J=()=>{X(i.documentElement),ge((()=>H(o,"appload",{detail:{namespace:"calcite"}})))},K=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){ue(e)}},Q=(e,t)=>e&&e.then?e.then(t):t(),X=e=>e.setAttribute("calcite-hydrated",""),Y=(e,t,n,l,s,o,c)=>{let r,a,f,u;if(1===o.nodeType){for(r=o.getAttribute("c-id"),r&&(a=r.split("."),a[0]!==c&&"0"!==a[0]||(f={t:0,U:a[0],W:a[1],D:a[2],F:a[3],v:o.tagName.toLowerCase(),k:o,p:null,m:null,g:null,j:null,h:null},t.push(f),o.removeAttribute("c-id"),e.m||(e.m=[]),e.m[f.F]=f,e=f,l&&"0"===f.D&&(l[f.F]=f.k))),u=o.childNodes.length-1;u>=0;u--)Y(e,t,n,l,s,o.childNodes[u],c);if(o.shadowRoot)for(u=o.shadowRoot.childNodes.length-1;u>=0;u--)Y(e,t,n,l,s,o.shadowRoot.childNodes[u],c)}else if(8===o.nodeType)a=o.nodeValue.split("."),a[1]!==c&&"0"!==a[1]||(r=a[0],f={t:0,U:a[1],W:a[2],D:a[3],F:a[4],k:o,p:null,m:null,g:null,j:null,v:null,h:null},"t"===r?(f.k=o.nextSibling,f.k&&3===f.k.nodeType&&(f.h=f.k.textContent,t.push(f),o.remove(),e.m||(e.m=[]),e.m[f.F]=f,l&&"0"===f.D&&(l[f.F]=f.k))):f.U===c&&("s"===r?(f.v="slot",o["s-sn"]=a[5]?f.j=a[5]:"",o["s-sr"]=!0,l&&(f.k=i.createElement(f.v),f.j&&f.k.setAttribute("name",f.j),o.parentNode.insertBefore(f.k,o),o.remove(),"0"===f.D&&(l[f.F]=f.k)),n.push(f),e.m||(e.m=[]),e.m[f.F]=f):"r"===r&&l&&o.remove()));else if(e&&"style"===e.v){const t=j(null,o.textContent);t.k=o,t.F="0",e.m=[t]}},Z=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)Z(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)Z(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},ee=(e,t,n)=>{if(t.T){e.watchers&&(t.A=e.watchers);const l=Object.entries(t.T),s=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(s,e,{get(){return((e,t)=>ce(this).H.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=ce(e),o=s.S,i=s.H.get(t),c=s.t,r=s.i;if(n=((e,t)=>null==e||v(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.T[t][0]),!(8&c&&void 0!==i||n===i)&&(s.H.set(t,n),r)){if(l.A&&128&c){const e=l.A[t];e&&e.map((e=>{try{r[e](n,i,t)}catch(e){ue(e,o)}}))}if(2==(18&c)){if(r.componentShouldUpdate&&!1===r.componentShouldUpdate(n,i,t))return;q(s,!1)}}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(s,e,{value(...t){const n=ce(this);return n.N.then((()=>n.i[e](...t)))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){c.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.P.push([e,s]),s}))}}return e},te=e=>{K(e,"connectedCallback")},ne=e=>{if(0==(1&c.t)){const t=ce(e),n=t.C,l=()=>{};if(1&t.t)f(e,t,n.q),te(t.i);else{let l;if(t.t|=1,l=e.getAttribute("s-id"),l){if(1&n.t){const t=m(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const s=e.shadowRoot,o=[],r=s?[]:null,a=l.L=j(t,null);c.V||Z(i.body,c.V=new Map),e["s-id"]=n,e.removeAttribute("s-id"),Y(a,o,[],r,e,e,n),o.map((e=>{const n=e.U+"."+e.W,l=c.V.get(n),o=e.k;l&&""===l["s-en"]&&l.parentNode.insertBefore(o,l.nextSibling),s||(o["s-hn"]=t,l&&(o["s-ol"]=l,o["s-ol"]["s-nr"]=o)),c.V.delete(n)})),s&&r.map((e=>{e&&s.appendChild(e)}))})(e,n.$,l,t)}{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){N(t,t.M=n);break}}n.T&&Object.entries(n.T).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,s)=>{if(0==(32&t.t)){{if(t.t|=32,(s=de(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.A=s.watchers,ee(s,n,2),s.isProxied=!0);const e=()=>{};t.t|=8;try{new s(t)}catch(e){ue(e)}t.t&=-9,t.t|=128,e(),te(t.i)}if(s.style){let e=s.style;const t=w(n);if(!he.has(t)){const l=()=>{};y(t,e,!!(1&n.t)),l()}}}const o=t.M,i=()=>q(t,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(0,t,n)}l()}},le=(e,t={})=>{const n=[],l=t.exclude||[],s=o.customElements,r=i.head,a=r.querySelector("meta[charset]"),f=i.createElement("style"),u=[],$=i.querySelectorAll("[sty-id]");let d,h=!0,p=0;for(Object.assign(c,t),c.l=new URL(t.resourcesUrl||"./",i.baseURI).href,c.t|=2;p<$.length;p++)y($[p].getAttribute("sty-id"),b($[p].innerHTML),!0);e.map((e=>{e[1].map((t=>{const o={t:t[0],$:t[1],T:t[2],q:t[3]};o.T=t[2],o.q=t[3],o.P=[],o.A={};const i=o.$,r=class extends HTMLElement{constructor(e){super(e),ae(e=this,o),1&o.t&&e.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),h?u.push(this):c.jmp((()=>ne(this)))}disconnectedCallback(){c.jmp((()=>(()=>{if(0==(1&c.t)){const e=ce(this),t=e.i;e.o&&(e.o.map((e=>e())),e.o=void 0),K(t,"disconnectedCallback")}})()))}componentOnReady(){return ce(this)._}};o.B=e[0],l.includes(i)||s.get(i)||(n.push(i),s.define(i,ee(r,o,1)))}))})),f.innerHTML=n+"{visibility:hidden}[calcite-hydrated]{visibility:inherit}",f.setAttribute("data-styles",""),r.insertBefore(f,a?a.nextSibling:r.firstChild),h=!1,u.length?u.map((e=>e.connectedCallback())):c.jmp((()=>d=setTimeout(J,30)))},se=e=>{const t=new URL(e,c.l);return t.origin!==o.location.origin?t.href:t.pathname},oe=(e,t)=>t,ie=new WeakMap,ce=e=>ie.get(e),re=(e,t)=>ie.set(t.i=e,t),ae=(e,t)=>{const n={t:0,S:e,C:t,H:new Map};return n.N=new Promise((e=>n.I=e)),n._=new Promise((e=>n.R=e)),e["s-p"]=[],e["s-rc"]=[],f(e,n,t.q),ie.set(e,n)},fe=(e,t)=>t in e,ue=(e,t)=>(0,console.error)(e,t),$e=new Map,de=e=>{const t=e.$.replace(/-/g,"_"),n=e.B,l=$e.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>($e.set(n,e),e[t])),ue)},he=new Map,pe=[],ye=[],me=(e,t)=>n=>{e.push(n),s||(s=!0,t&&4&c.t?ge(be):c.raf(be))},we=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){ue(e)}e.length=0},be=()=>{we(pe),we(ye),(s=pe.length>0)&&c.raf(be)},ge=e=>r().then(e),ve=me(ye,!0);export{oe as F,S as H,e as N,se as a,le as b,A as c,i as d,G as f,T as g,k as h,r as p,re as r}
@@ -0,0 +1,5 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,a,n){function i(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,r){function o(e){try{c(n.next(e))}catch(e){r(e)}}function s(e){try{c(n["throw"](e))}catch(e){r(e)}}function c(e){e.done?a(e.value):i(e.value).then(o,s)}c((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,i,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,i&&(r=o[0]&2?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;if(i=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;i=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(r=a.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(o[0]===6&&a.label<r[1]){a.label=r[1];r=o;break}if(r&&a.label<r[2]){a.label=r[2];a.ops.push(o);break}if(r[2])a.ops.pop();a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e];i=0}finally{n=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
+ /*!
3
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
+ */System.register(["./p-288bc438.system.js","./p-35a5c74c.system.js","./p-e020662f.system.js","./p-6cc23c39.system.js","./p-34e5baa7.system.js"],(function(e){"use strict";var t,a,n,i,r,o,s,c,l,p,f,m,d,u;return{setters:[function(e){t=e.r;a=e.c;n=e.f;i=e.h;r=e.H;o=e.g},function(e){s=e.d;c=e.u;l=e.c;p=e.C},function(e){f=e.g},function(e){m=e.q;d=e.h},function(e){u=e.C}],execute:function(){var h={container:"container",arrow:"arrow",imageContainer:"image-container",closeButton:"close-button",content:"content",hasHeader:"has-header",header:"header",headerContent:"header-content",heading:"heading"};var b={close:"Close"};var v="data-calcite-popover-reference";var y="aria-controls";var w="aria-expanded";var g=2;var k='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0)}.calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}:host([data-popper-placement^=bottom]) .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host([data-popper-placement^=top]) .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host([data-popper-placement^=left]) .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host([data-popper-placement^=right]) .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host([data-popper-placement]) .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.arrow,.arrow::before{position:absolute;width:8px;height:8px;z-index:-1}.arrow::before{content:"";-webkit-box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}:host([data-popper-placement^=top]) .arrow{bottom:-4px}:host([data-popper-placement^=bottom]) .arrow{top:-4px}:host([data-popper-placement^=left]) .arrow{right:-4px}:host([data-popper-placement^=right]) .arrow{left:-4px}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-popper-anim{background-color:var(--calcite-ui-foreground-1);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);border-radius:0.25rem}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}.header{border-width:0;border-bottom-width:1px;border-bottom-color:var(--calcite-ui-border-3);border-style:solid;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-foreground-1);-ms-flex-pack:start;justify-content:flex-start}.heading{display:block;-ms-flex:1 1 auto;flex:1 1 auto;font-weight:var(--calcite-font-weight-medium);margin:0;padding-left:1rem;padding-right:1rem;padding-top:0.75rem;padding-bottom:0.75rem;-ms-flex-item-align:center;align-self:center;color:var(--calcite-ui-text-1);font-size:var(--calcite-font-size-0);line-height:1.375;white-space:normal;word-wrap:break-word;word-break:break-word}.container{background-color:var(--calcite-ui-foreground-1);position:relative;display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-direction:row;flex-direction:row;height:100%;color:var(--calcite-ui-text-1);border-radius:0.25rem}.container.has-header{-ms-flex-direction:column;flex-direction:column}.content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-item-align:center;align-self:center;overflow:hidden;height:100%;width:100%}::slotted(calcite-panel),::slotted(calcite-flow){height:100%}';var x=e("calcite_popover",function(){function e(e){var n=this;t(this,e);this.calcitePopoverClose=a(this,"calcitePopoverClose",7);this.calcitePopoverOpen=a(this,"calcitePopoverOpen",7);this.closeButton=false;this.dismissible=false;this.disableFlip=false;this.disablePointer=false;this.offsetDistance=s;this.offsetSkidding=0;this.open=false;this.overlayPositioning="absolute";this.placement="auto";this.intlClose=b.close;this.guid="calcite-popover-"+f();this.activeTransitionProp="opacity";this.setUpReferenceElement=function(){n.removeReferences();n.effectiveReferenceElement=n.getReferenceElement();var e=n,t=e.el,a=e.referenceElement,i=e.effectiveReferenceElement;if(a&&!i){console.warn(t.tagName+': reference-element id "'+a+'" was not found.',{el:t})}n.addReferences();n.createPopper()};this.getId=function(){return n.el.id||n.guid};this.setExpandedAttr=function(){var e=n,t=e.effectiveReferenceElement,a=e.open;if(!t){return}t.setAttribute(w,a.toString())};this.addReferences=function(){var e=n.effectiveReferenceElement;if(!e){return}var t=n.getId();e.setAttribute(v,t);e.setAttribute(y,t);n.setExpandedAttr()};this.removeReferences=function(){var e=n.effectiveReferenceElement;if(!e){return}e.removeAttribute(v);e.removeAttribute(y);e.removeAttribute(w)};this.hide=function(){n.open=false};this.transitionEnd=function(e){if(e.propertyName===n.activeTransitionProp){n.open?n.calcitePopoverOpen.emit():n.calcitePopoverClose.emit()}}}e.prototype.offsetDistanceOffsetHandler=function(){this.reposition()};e.prototype.offsetSkiddingHandler=function(){this.reposition()};e.prototype.openHandler=function(){this.reposition();this.setExpandedAttr()};e.prototype.placementHandler=function(){this.reposition()};e.prototype.referenceElementHandler=function(){this.setUpReferenceElement()};e.prototype.componentWillLoad=function(){this.setUpReferenceElement()};e.prototype.componentDidLoad=function(){this.reposition()};e.prototype.disconnectedCallback=function(){this.removeReferences();this.destroyPopper()};e.prototype.reposition=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,a,n,i,r;return __generator(this,(function(o){switch(o.label){case 0:e=this,t=e.popper,a=e.el,n=e.placement;i=this.getModifiers();if(!t)return[3,2];return[4,c({el:a,modifiers:i,placement:n,popper:t})];case 1:r=o.sent();return[3,3];case 2:r=this.createPopper();o.label=3;case 3:r;return[2]}}))}))};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t,a;return __generator(this,(function(i){a=this.closeButtonEl;if(e==="close-button"&&a){n(a);a.setFocus();return[2]}(t=this.el)===null||t===void 0?void 0:t.focus();return[2]}))}))};e.prototype.toggle=function(e){if(e===void 0){e=!this.open}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.open=e;return[2]}))}))};e.prototype.getReferenceElement=function(){var e=this,t=e.referenceElement,a=e.el;return(typeof t==="string"?m(a,"#"+t):t)||null};e.prototype.getModifiers=function(){var e=this,t=e.arrowEl,a=e.flipPlacements,n=e.disableFlip,i=e.disablePointer,r=e.offsetDistance,o=e.offsetSkidding;var s={name:"flip",enabled:!n};if(a){s.options={fallbackPlacements:a}}var c={name:"arrow",enabled:!i};if(t){c.options={element:t}}var l={name:"offset",enabled:true,options:{offset:[o,r]}};return[c,s,l]};e.prototype.createPopper=function(){this.destroyPopper();var e=this,t=e.el,a=e.placement,n=e.effectiveReferenceElement,i=e.overlayPositioning;var r=this.getModifiers();this.popper=l({el:t,modifiers:r,overlayPositioning:i,placement:a,referenceEl:n})};e.prototype.destroyPopper=function(){var e=this.popper;if(e){e.destroy()}this.popper=null};e.prototype.renderCloseButton=function(){var e=this;var t=this,a=t.dismissible,n=t.closeButton,r=t.intlClose;return a||n?i("calcite-action",{class:h.closeButton,onClick:this.hide,ref:function(t){return e.closeButtonEl=t},text:r},i("calcite-icon",{icon:"x",scale:"m"})):null};e.prototype.renderHeader=function(){var e=this,t=e.heading,a=e.headingLevel;var n=t?i(u,{class:h.heading,level:a||g},t):null;return n?i("div",{class:h.header},n,this.renderCloseButton()):null};e.prototype.render=function(){var e,t;var a=this;var n=this,o=n.effectiveReferenceElement,s=n.heading,c=n.label,l=n.open,f=n.disablePointer;var m=o&&l;var d=!m;var u=!f?i("div",{class:h.arrow,ref:function(e){return a.arrowEl=e}}):null;return i(r,{"aria-hidden":d.toString(),"aria-label":c,"calcite-hydrated-hidden":d,id:this.getId(),role:"dialog"},i("div",{class:(e={},e[p.animation]=true,e[p.animationActive]=m,e),onTransitionEnd:this.transitionEnd},u,i("div",{class:(t={},t[h.hasHeader]=!!s,t[h.container]=true,t)},this.renderHeader(),i("div",{class:h.content},i("slot",null)),!s?this.renderCloseButton():null)))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}},enumerable:false,configurable:true});return e}());x.style=k;var D="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:block}";var _=e("calcite_popover_manager",function(){function e(e){var a=this;t(this,e);this.selector="["+v+"]";this.autoClose=false;this.getRelatedPopover=function(e){var t;var n=a,i=n.selector,r=n.el;var o=(t=e.closest(i))===null||t===void 0?void 0:t.getAttribute(v);return m(r,"#"+o)}}e.prototype.render=function(){return i("slot",null)};e.prototype.closeOpenPopovers=function(e){var t=e.target;var a=this,n=a.autoClose,i=a.el;var r="calcite-popover";var o=t.closest(r);var s=this.getRelatedPopover(t);if(n&&!o){d(i,r).filter((function(e){return e.open&&e!==s})).forEach((function(e){return e.toggle(false)}))}if(!i.contains(t)||!s){return}s.toggle()};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());_.style=D}}}));
@@ -0,0 +1,5 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,r,t,a){function n(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,i){function o(e){try{s(a.next(e))}catch(e){i(e)}}function l(e){try{s(a["throw"](e))}catch(e){i(e)}}function s(e){e.done?t(e.value):n(e.value).then(o,l)}s((a=a.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,n,i,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(e){return function(r){return s([e,r])}}function s(o){if(a)throw new TypeError("Generator is already executing.");while(t)try{if(a=1,n&&(i=o[0]&2?n["return"]:o[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;if(n=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;n=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){t.label=o[1];break}if(o[0]===6&&t.label<i[1]){t.label=i[1];i=o;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(o);break}if(i[2])t.ops.pop();t.trys.pop();continue}o=r.call(e,t)}catch(e){o=[6,e];n=0}finally{a=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,r){for(var t=0,a=r.length,n=e.length;t<a;t++,n++)e[n]=r[t];return e};
2
+ /*!
3
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
+ */System.register(["./p-288bc438.system.js","./p-6cc23c39.system.js","./p-378ffa38.system.js","./p-e095517f.system.js","./p-1d6404b5.system.js","./p-e020662f.system.js"],(function(e){"use strict";var r,t,a,n,i,o,l,s,c,h,u,d,v,f,p,m,g,b;return{setters:[function(e){r=e.r;t=e.c;a=e.h;n=e.g},function(e){i=e.f;o=e.b},function(e){l=e.n;s=e.C;c=e.p;h=e.c;u=e.i;d=e.a;v=e.r;f=e.h;p=e.b},function(e){m=e.c},function(e){g=e.d;b=e.i},function(){}],execute:function(){var y="Expected a function";function w(e,r,t){var a=true,n=true;if(typeof e!="function"){throw new TypeError(y)}if(b(t)){a="leading"in t?!!t.leading:a;n="trailing"in t?!!t.trailing:n}return g(e,r,{leading:a,maxWait:r,trailing:n})}function C(e,r,t){return t={path:r,exports:{},require:function(e,r){return k()}},e(t,t.exports),t.exports}function k(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var x={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};var S=function e(r){if(!r||typeof r==="string"){return false}return r instanceof Array||Array.isArray(r)||r.length>=0&&(r.splice instanceof Function||Object.getOwnPropertyDescriptor(r,r.length-1)&&r.constructor.name!=="String")};var M=C((function(e){var r=Array.prototype.concat;var t=Array.prototype.slice;var a=e.exports=function e(a){var n=[];for(var i=0,o=a.length;i<o;i++){var l=a[i];if(S(l)){n=r.call(n,t.call(l))}else{n.push(l)}}return n};a.wrap=function(e){return function(){return e(a(arguments))}}}));var D=C((function(e){var r=Object.hasOwnProperty;var t={};for(var a in x){if(r.call(x,a)){t[x[a]]=a}}var n=e.exports={to:{},get:{}};n.get=function(e){var r=e.substring(0,3).toLowerCase();var t;var a;switch(r){case"hsl":t=n.get.hsl(e);a="hsl";break;case"hwb":t=n.get.hwb(e);a="hwb";break;default:t=n.get.rgb(e);a="rgb";break}if(!t){return null}return{model:a,value:t}};n.get.rgb=function(e){if(!e){return null}var t=/^#([a-f0-9]{3,4})$/i;var a=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i;var n=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;var o=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;var l=/^(\w+)$/;var s=[0,0,0,1];var c;var h;var u;if(c=e.match(a)){u=c[2];c=c[1];for(h=0;h<3;h++){var d=h*2;s[h]=parseInt(c.slice(d,d+2),16)}if(u){s[3]=parseInt(u,16)/255}}else if(c=e.match(t)){c=c[1];u=c[3];for(h=0;h<3;h++){s[h]=parseInt(c[h]+c[h],16)}if(u){s[3]=parseInt(u+u,16)/255}}else if(c=e.match(n)){for(h=0;h<3;h++){s[h]=parseInt(c[h+1],0)}if(c[4]){if(c[5]){s[3]=parseFloat(c[4])*.01}else{s[3]=parseFloat(c[4])}}}else if(c=e.match(o)){for(h=0;h<3;h++){s[h]=Math.round(parseFloat(c[h+1])*2.55)}if(c[4]){if(c[5]){s[3]=parseFloat(c[4])*.01}else{s[3]=parseFloat(c[4])}}}else if(c=e.match(l)){if(c[1]==="transparent"){return[0,0,0,0]}if(!r.call(x,c[1])){return null}s=x[c[1]];s[3]=1;return s}else{return null}for(h=0;h<3;h++){s[h]=i(s[h],0,255)}s[3]=i(s[3],0,1);return s};n.get.hsl=function(e){if(!e){return null}var r=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/;var t=e.match(r);if(t){var a=parseFloat(t[4]);var n=(parseFloat(t[1])%360+360)%360;var o=i(parseFloat(t[2]),0,100);var l=i(parseFloat(t[3]),0,100);var s=i(isNaN(a)?1:a,0,1);return[n,o,l,s]}return null};n.get.hwb=function(e){if(!e){return null}var r=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/;var t=e.match(r);if(t){var a=parseFloat(t[4]);var n=(parseFloat(t[1])%360+360)%360;var o=i(parseFloat(t[2]),0,100);var l=i(parseFloat(t[3]),0,100);var s=i(isNaN(a)?1:a,0,1);return[n,o,l,s]}return null};n.to.hex=function(){var e=M(arguments);return"#"+o(e[0])+o(e[1])+o(e[2])+(e[3]<1?o(Math.round(e[3]*255)):"")};n.to.rgb=function(){var e=M(arguments);return e.length<4||e[3]===1?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"};n.to.rgb.percent=function(){var e=M(arguments);var r=Math.round(e[0]/255*100);var t=Math.round(e[1]/255*100);var a=Math.round(e[2]/255*100);return e.length<4||e[3]===1?"rgb("+r+"%, "+t+"%, "+a+"%)":"rgba("+r+"%, "+t+"%, "+a+"%, "+e[3]+")"};n.to.hsl=function(){var e=M(arguments);return e.length<4||e[3]===1?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"};n.to.hwb=function(){var e=M(arguments);var r="";if(e.length>=4&&e[3]!==1){r=", "+e[3]}return"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+r+")"};n.to.keyword=function(e){return t[e.slice(0,3)]};function i(e,r,t){return Math.min(Math.max(r,e),t)}function o(e){var r=Math.round(e).toString(16).toUpperCase();return r.length<2?"0"+r:r}}));var F={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};var A={};for(var I=0,_=Object.keys(F);I<_.length;I++){var j=_[I];A[F[j]]=j}var T={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var H=T;for(var O=0,E=Object.keys(T);O<E.length;O++){var P=E[O];if(!("channels"in T[P])){throw new Error("missing channels property: "+P)}if(!("labels"in T[P])){throw new Error("missing channel labels property: "+P)}if(T[P].labels.length!==T[P].channels){throw new Error("channel and label counts mismatch: "+P)}var R=T[P],N=R.channels,z=R.labels;delete T[P].channels;delete T[P].labels;Object.defineProperty(T[P],"channels",{value:N});Object.defineProperty(T[P],"labels",{value:z})}T.rgb.hsl=function(e){var r=e[0]/255;var t=e[1]/255;var a=e[2]/255;var n=Math.min(r,t,a);var i=Math.max(r,t,a);var o=i-n;var l;var s;if(i===n){l=0}else if(r===i){l=(t-a)/o}else if(t===i){l=2+(a-r)/o}else if(a===i){l=4+(r-t)/o}l=Math.min(l*60,360);if(l<0){l+=360}var c=(n+i)/2;if(i===n){s=0}else if(c<=.5){s=o/(i+n)}else{s=o/(2-i-n)}return[l,s*100,c*100]};T.rgb.hsv=function(e){var r;var t;var a;var n;var i;var o=e[0]/255;var l=e[1]/255;var s=e[2]/255;var c=Math.max(o,l,s);var h=c-Math.min(o,l,s);var u=function(e){return(c-e)/6/h+1/2};if(h===0){n=0;i=0}else{i=h/c;r=u(o);t=u(l);a=u(s);if(o===c){n=a-t}else if(l===c){n=1/3+r-a}else if(s===c){n=2/3+t-r}if(n<0){n+=1}else if(n>1){n-=1}}return[n*360,i*100,c*100]};T.rgb.hwb=function(e){var r=e[0];var t=e[1];var a=e[2];var n=T.rgb.hsl(e)[0];var i=1/255*Math.min(r,Math.min(t,a));a=1-1/255*Math.max(r,Math.max(t,a));return[n,i*100,a*100]};T.rgb.cmyk=function(e){var r=e[0]/255;var t=e[1]/255;var a=e[2]/255;var n=Math.min(1-r,1-t,1-a);var i=(1-r-n)/(1-n)||0;var o=(1-t-n)/(1-n)||0;var l=(1-a-n)/(1-n)||0;return[i*100,o*100,l*100,n*100]};function L(e,r){return Math.pow(e[0]-r[0],2)+Math.pow(e[1]-r[1],2)+Math.pow(e[2]-r[2],2)}T.rgb.keyword=function(e){var r=A[e];if(r){return r}var t=Infinity;var a;for(var n=0,i=Object.keys(F);n<i.length;n++){var o=i[n];var l=F[o];var s=L(e,l);if(s<t){t=s;a=o}}return a};T.keyword.rgb=function(e){return F[e]};T.rgb.xyz=function(e){var r=e[0]/255;var t=e[1]/255;var a=e[2]/255;r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92;a=a>.04045?Math.pow((a+.055)/1.055,2.4):a/12.92;var n=r*.4124+t*.3576+a*.1805;var i=r*.2126+t*.7152+a*.0722;var o=r*.0193+t*.1192+a*.9505;return[n*100,i*100,o*100]};T.rgb.lab=function(e){var r=T.rgb.xyz(e);var t=r[0];var a=r[1];var n=r[2];t/=95.047;a/=100;n/=108.883;t=t>.008856?Math.pow(t,1/3):7.787*t+16/116;a=a>.008856?Math.pow(a,1/3):7.787*a+16/116;n=n>.008856?Math.pow(n,1/3):7.787*n+16/116;var i=116*a-16;var o=500*(t-a);var l=200*(a-n);return[i,o,l]};T.hsl.rgb=function(e){var r=e[0]/360;var t=e[1]/100;var a=e[2]/100;var n;var i;var o;if(t===0){o=a*255;return[o,o,o]}if(a<.5){n=a*(1+t)}else{n=a+t-a*t}var l=2*a-n;var s=[0,0,0];for(var c=0;c<3;c++){i=r+1/3*-(c-1);if(i<0){i++}if(i>1){i--}if(6*i<1){o=l+(n-l)*6*i}else if(2*i<1){o=n}else if(3*i<2){o=l+(n-l)*(2/3-i)*6}else{o=l}s[c]=o*255}return s};T.hsl.hsv=function(e){var r=e[0];var t=e[1]/100;var a=e[2]/100;var n=t;var i=Math.max(a,.01);a*=2;t*=a<=1?a:2-a;n*=i<=1?i:2-i;var o=(a+t)/2;var l=a===0?2*n/(i+n):2*t/(a+t);return[r,l*100,o*100]};T.hsv.rgb=function(e){var r=e[0]/60;var t=e[1]/100;var a=e[2]/100;var n=Math.floor(r)%6;var i=r-Math.floor(r);var o=255*a*(1-t);var l=255*a*(1-t*i);var s=255*a*(1-t*(1-i));a*=255;switch(n){case 0:return[a,s,o];case 1:return[l,a,o];case 2:return[o,a,s];case 3:return[o,l,a];case 4:return[s,o,a];case 5:return[a,o,l]}};T.hsv.hsl=function(e){var r=e[0];var t=e[1]/100;var a=e[2]/100;var n=Math.max(a,.01);var i;var o;o=(2-t)*a;var l=(2-t)*n;i=t*n;i/=l<=1?l:2-l;i=i||0;o/=2;return[r,i*100,o*100]};T.hwb.rgb=function(e){var r=e[0]/360;var t=e[1]/100;var a=e[2]/100;var n=t+a;var i;if(n>1){t/=n;a/=n}var o=Math.floor(6*r);var l=1-a;i=6*r-o;if((o&1)!==0){i=1-i}var s=t+i*(l-t);var c;var h;var u;switch(o){default:case 6:case 0:c=l;h=s;u=t;break;case 1:c=s;h=l;u=t;break;case 2:c=t;h=l;u=s;break;case 3:c=t;h=s;u=l;break;case 4:c=s;h=t;u=l;break;case 5:c=l;h=t;u=s;break}return[c*255,h*255,u*255]};T.cmyk.rgb=function(e){var r=e[0]/100;var t=e[1]/100;var a=e[2]/100;var n=e[3]/100;var i=1-Math.min(1,r*(1-n)+n);var o=1-Math.min(1,t*(1-n)+n);var l=1-Math.min(1,a*(1-n)+n);return[i*255,o*255,l*255]};T.xyz.rgb=function(e){var r=e[0]/100;var t=e[1]/100;var a=e[2]/100;var n;var i;var o;n=r*3.2406+t*-1.5372+a*-.4986;i=r*-.9689+t*1.8758+a*.0415;o=r*.0557+t*-.204+a*1.057;n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*12.92;i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*12.92;o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:o*12.92;n=Math.min(Math.max(0,n),1);i=Math.min(Math.max(0,i),1);o=Math.min(Math.max(0,o),1);return[n*255,i*255,o*255]};T.xyz.lab=function(e){var r=e[0];var t=e[1];var a=e[2];r/=95.047;t/=100;a/=108.883;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;t=t>.008856?Math.pow(t,1/3):7.787*t+16/116;a=a>.008856?Math.pow(a,1/3):7.787*a+16/116;var n=116*t-16;var i=500*(r-t);var o=200*(t-a);return[n,i,o]};T.lab.xyz=function(e){var r=e[0];var t=e[1];var a=e[2];var n;var i;var o;i=(r+16)/116;n=t/500+i;o=i-a/200;var l=Math.pow(i,3);var s=Math.pow(n,3);var c=Math.pow(o,3);i=l>.008856?l:(i-16/116)/7.787;n=s>.008856?s:(n-16/116)/7.787;o=c>.008856?c:(o-16/116)/7.787;n*=95.047;i*=100;o*=108.883;return[n,i,o]};T.lab.lch=function(e){var r=e[0];var t=e[1];var a=e[2];var n;var i=Math.atan2(a,t);n=i*360/2/Math.PI;if(n<0){n+=360}var o=Math.sqrt(t*t+a*a);return[r,o,n]};T.lch.lab=function(e){var r=e[0];var t=e[1];var a=e[2];var n=a/360*2*Math.PI;var i=t*Math.cos(n);var o=t*Math.sin(n);return[r,i,o]};T.rgb.ansi16=function(e,r){if(r===void 0){r=null}var t=e[0],a=e[1],n=e[2];var i=r===null?T.rgb.hsv(e)[2]:r;i=Math.round(i/50);if(i===0){return 30}var o=30+(Math.round(n/255)<<2|Math.round(a/255)<<1|Math.round(t/255));if(i===2){o+=60}return o};T.hsv.ansi16=function(e){return T.rgb.ansi16(T.hsv.rgb(e),e[2])};T.rgb.ansi256=function(e){var r=e[0];var t=e[1];var a=e[2];if(r===t&&t===a){if(r<8){return 16}if(r>248){return 231}return Math.round((r-8)/247*24)+232}var n=16+36*Math.round(r/255*5)+6*Math.round(t/255*5)+Math.round(a/255*5);return n};T.ansi16.rgb=function(e){var r=e%10;if(r===0||r===7){if(e>50){r+=3.5}r=r/10.5*255;return[r,r,r]}var t=(~~(e>50)+1)*.5;var a=(r&1)*t*255;var n=(r>>1&1)*t*255;var i=(r>>2&1)*t*255;return[a,n,i]};T.ansi256.rgb=function(e){if(e>=232){var r=(e-232)*10+8;return[r,r,r]}e-=16;var t;var a=Math.floor(e/36)/5*255;var n=Math.floor((t=e%36)/6)/5*255;var i=t%6/5*255;return[a,n,i]};T.rgb.hex=function(e){var r=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255);var t=r.toString(16).toUpperCase();return"000000".substring(t.length)+t};T.hex.rgb=function(e){var r=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!r){return[0,0,0]}var t=r[0];if(r[0].length===3){t=t.split("").map((function(e){return e+e})).join("")}var a=parseInt(t,16);var n=a>>16&255;var i=a>>8&255;var o=a&255;return[n,i,o]};T.rgb.hcg=function(e){var r=e[0]/255;var t=e[1]/255;var a=e[2]/255;var n=Math.max(Math.max(r,t),a);var i=Math.min(Math.min(r,t),a);var o=n-i;var l;var s;if(o<1){l=i/(1-o)}else{l=0}if(o<=0){s=0}else if(n===r){s=(t-a)/o%6}else if(n===t){s=2+(a-r)/o}else{s=4+(r-t)/o}s/=6;s%=1;return[s*360,o*100,l*100]};T.hsl.hcg=function(e){var r=e[1]/100;var t=e[2]/100;var a=t<.5?2*r*t:2*r*(1-t);var n=0;if(a<1){n=(t-.5*a)/(1-a)}return[e[0],a*100,n*100]};T.hsv.hcg=function(e){var r=e[1]/100;var t=e[2]/100;var a=r*t;var n=0;if(a<1){n=(t-a)/(1-a)}return[e[0],a*100,n*100]};T.hcg.rgb=function(e){var r=e[0]/360;var t=e[1]/100;var a=e[2]/100;if(t===0){return[a*255,a*255,a*255]}var n=[0,0,0];var i=r%1*6;var o=i%1;var l=1-o;var s=0;switch(Math.floor(i)){case 0:n[0]=1;n[1]=o;n[2]=0;break;case 1:n[0]=l;n[1]=1;n[2]=0;break;case 2:n[0]=0;n[1]=1;n[2]=o;break;case 3:n[0]=0;n[1]=l;n[2]=1;break;case 4:n[0]=o;n[1]=0;n[2]=1;break;default:n[0]=1;n[1]=0;n[2]=l}s=(1-t)*a;return[(t*n[0]+s)*255,(t*n[1]+s)*255,(t*n[2]+s)*255]};T.hcg.hsv=function(e){var r=e[1]/100;var t=e[2]/100;var a=r+t*(1-r);var n=0;if(a>0){n=r/a}return[e[0],n*100,a*100]};T.hcg.hsl=function(e){var r=e[1]/100;var t=e[2]/100;var a=t*(1-r)+.5*r;var n=0;if(a>0&&a<.5){n=r/(2*a)}else if(a>=.5&&a<1){n=r/(2*(1-a))}return[e[0],n*100,a*100]};T.hcg.hwb=function(e){var r=e[1]/100;var t=e[2]/100;var a=r+t*(1-r);return[e[0],(a-r)*100,(1-a)*100]};T.hwb.hcg=function(e){var r=e[1]/100;var t=e[2]/100;var a=1-t;var n=a-r;var i=0;if(n<1){i=(a-n)/(1-n)}return[e[0],n*100,i*100]};T.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};T.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};T.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};T.gray.hsl=function(e){return[0,0,e[0]]};T.gray.hsv=T.gray.hsl;T.gray.hwb=function(e){return[0,100,e[0]]};T.gray.cmyk=function(e){return[0,0,0,e[0]]};T.gray.lab=function(e){return[e[0],0,0]};T.gray.hex=function(e){var r=Math.round(e[0]/100*255)&255;var t=(r<<16)+(r<<8)+r;var a=t.toString(16).toUpperCase();return"000000".substring(a.length)+a};T.rgb.gray=function(e){var r=(e[0]+e[1]+e[2])/3;return[r/255*100]};function q(){var e={};var r=Object.keys(H);for(var t=r.length,a=0;a<t;a++){e[r[a]]={distance:-1,parent:null}}return e}function U(e){var r=q();var t=[e];r[e].distance=0;while(t.length){var a=t.pop();var n=Object.keys(H[a]);for(var i=n.length,o=0;o<i;o++){var l=n[o];var s=r[l];if(s.distance===-1){s.distance=r[a].distance+1;s.parent=a;t.unshift(l)}}}return r}function K(e,r){return function(t){return r(e(t))}}function V(e,r){var t=[r[e].parent,e];var a=H[r[e].parent][e];var n=r[e].parent;while(r[n].parent){t.unshift(r[n].parent);a=K(H[r[n].parent][n],a);n=r[n].parent}a.conversion=t;return a}var B=function(e){var r=U(e);var t={};var a=Object.keys(r);for(var n=a.length,i=0;i<n;i++){var o=a[i];var l=r[o];if(l.parent===null){continue}t[o]=V(o,r)}return t};var G={};var W=Object.keys(H);function $(e){var r=function(){var r=[];for(var t=0;t<arguments.length;t++){r[t]=arguments[t]}var a=r[0];if(a===undefined||a===null){return a}if(a.length>1){r=a}return e(r)};if("conversion"in e){r.conversion=e.conversion}return r}function J(e){var r=function(){var r=[];for(var t=0;t<arguments.length;t++){r[t]=arguments[t]}var a=r[0];if(a===undefined||a===null){return a}if(a.length>1){r=a}var n=e(r);if(typeof n==="object"){for(var i=n.length,o=0;o<i;o++){n[o]=Math.round(n[o])}}return n};if("conversion"in e){r.conversion=e.conversion}return r}W.forEach((function(e){G[e]={};Object.defineProperty(G[e],"channels",{value:H[e].channels});Object.defineProperty(G[e],"labels",{value:H[e].labels});var r=B(e);var t=Object.keys(r);t.forEach((function(t){var a=r[t];G[e][t]=J(a);G[e][t].raw=$(a)}))}));var X=G;var Y=[].slice;var Q=["keyword","gray","hex"];var Z={};for(var ee=0,re=Object.keys(X);ee<re.length;ee++){var P=re[ee];Z[Y.call(X[P].labels).sort().join("")]=P}var te={};function ae(e,r){if(!(this instanceof ae)){return new ae(e,r)}if(r&&r in Q){r=null}if(r&&!(r in X)){throw new Error("Unknown model: "+r)}var t;var a;if(e==null){this.model="rgb";this.color=[0,0,0];this.valpha=1}else if(e instanceof ae){this.model=e.model;this.color=e.color.slice();this.valpha=e.valpha}else if(typeof e==="string"){var n=D.get(e);if(n===null){throw new Error("Unable to parse color from string: "+e)}this.model=n.model;a=X[this.model].channels;this.color=n.value.slice(0,a);this.valpha=typeof n.value[a]==="number"?n.value[a]:1}else if(e.length>0){this.model=r||"rgb";a=X[this.model].channels;var i=Y.call(e,0,a);this.color=de(i,a);this.valpha=typeof e[a]==="number"?e[a]:1}else if(typeof e==="number"){this.model="rgb";this.color=[e>>16&255,e>>8&255,e&255];this.valpha=1}else{this.valpha=1;var o=Object.keys(e);if("alpha"in e){o.splice(o.indexOf("alpha"),1);this.valpha=typeof e.alpha==="number"?e.alpha:0}var l=o.sort().join("");if(!(l in Z)){throw new Error("Unable to parse color from object: "+JSON.stringify(e))}this.model=Z[l];var s=X[this.model].labels;var c=[];for(t=0;t<s.length;t++){c.push(e[s[t]])}this.color=de(c)}if(te[this.model]){a=X[this.model].channels;for(t=0;t<a;t++){var h=te[this.model][t];if(h){this.color[t]=h(this.color[t])}}}this.valpha=Math.max(0,Math.min(1,this.valpha));if(Object.freeze){Object.freeze(this)}}ae.prototype={toString:function(){return this.string()},toJSON:function(){return this[this.model]()},string:function(e){var r=this.model in D.to?this:this.rgb();r=r.round(typeof e==="number"?e:1);var t=r.valpha===1?r.color:r.color.concat(this.valpha);return D.to[r.model](t)},percentString:function(e){var r=this.rgb().round(typeof e==="number"?e:1);var t=r.valpha===1?r.color:r.color.concat(this.valpha);return D.to.rgb.percent(t)},array:function(){return this.valpha===1?this.color.slice():this.color.concat(this.valpha)},object:function(){var e={};var r=X[this.model].channels;var t=X[this.model].labels;for(var a=0;a<r;a++){e[t[a]]=this.color[a]}if(this.valpha!==1){e.alpha=this.valpha}return e},unitArray:function(){var e=this.rgb().color;e[0]/=255;e[1]/=255;e[2]/=255;if(this.valpha!==1){e.push(this.valpha)}return e},unitObject:function(){var e=this.rgb().object();e.r/=255;e.g/=255;e.b/=255;if(this.valpha!==1){e.alpha=this.valpha}return e},round:function(e){e=Math.max(e||0,0);return new ae(this.color.map(se(e)).concat(this.valpha),this.model)},alpha:function(e){if(arguments.length>0){return new ae(this.color.concat(Math.max(0,Math.min(1,e))),this.model)}return this.valpha},red:ce("rgb",0,he(255)),green:ce("rgb",1,he(255)),blue:ce("rgb",2,he(255)),hue:ce(["hsl","hsv","hsl","hwb","hcg"],0,(function(e){return(e%360+360)%360})),saturationl:ce("hsl",1,he(100)),lightness:ce("hsl",2,he(100)),saturationv:ce("hsv",1,he(100)),value:ce("hsv",2,he(100)),chroma:ce("hcg",1,he(100)),gray:ce("hcg",2,he(100)),white:ce("hwb",1,he(100)),wblack:ce("hwb",2,he(100)),cyan:ce("cmyk",0,he(100)),magenta:ce("cmyk",1,he(100)),yellow:ce("cmyk",2,he(100)),black:ce("cmyk",3,he(100)),x:ce("xyz",0,he(100)),y:ce("xyz",1,he(100)),z:ce("xyz",2,he(100)),l:ce("lab",0,he(100)),a:ce("lab",1),b:ce("lab",2),keyword:function(e){if(arguments.length>0){return new ae(e)}return X[this.model].keyword(this.color)},hex:function(e){if(arguments.length>0){return new ae(e)}return D.to.hex(this.rgb().round().color)},rgbNumber:function(){var e=this.rgb().color;return(e[0]&255)<<16|(e[1]&255)<<8|e[2]&255},luminosity:function(){var e=this.rgb().color;var r=[];for(var t=0,a=e.entries();t<a.length;t++){var n=a[t],i=n[0],o=n[1];var l=o/255;r[i]=l<=.03928?l/12.92:Math.pow((l+.055)/1.055,2.4)}return.2126*r[0]+.7152*r[1]+.0722*r[2]},contrast:function(e){var r=this.luminosity();var t=e.luminosity();if(r>t){return(r+.05)/(t+.05)}return(t+.05)/(r+.05)},level:function(e){var r=this.contrast(e);if(r>=7.1){return"AAA"}return r>=4.5?"AA":""},isDark:function(){var e=this.rgb().color;var r=(e[0]*299+e[1]*587+e[2]*114)/1e3;return r<128},isLight:function(){return!this.isDark()},negate:function(){var e=this.rgb();for(var r=0;r<3;r++){e.color[r]=255-e.color[r]}return e},lighten:function(e){var r=this.hsl();r.color[2]+=r.color[2]*e;return r},darken:function(e){var r=this.hsl();r.color[2]-=r.color[2]*e;return r},saturate:function(e){var r=this.hsl();r.color[1]+=r.color[1]*e;return r},desaturate:function(e){var r=this.hsl();r.color[1]-=r.color[1]*e;return r},whiten:function(e){var r=this.hwb();r.color[1]+=r.color[1]*e;return r},blacken:function(e){var r=this.hwb();r.color[2]+=r.color[2]*e;return r},grayscale:function(){var e=this.rgb().color;var r=e[0]*.3+e[1]*.59+e[2]*.11;return ae.rgb(r,r,r)},fade:function(e){return this.alpha(this.valpha-this.valpha*e)},opaquer:function(e){return this.alpha(this.valpha+this.valpha*e)},rotate:function(e){var r=this.hsl();var t=r.color[0];t=(t+e)%360;t=t<0?360+t:t;r.color[0]=t;return r},mix:function(e,r){if(!e||!e.rgb){throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e)}var t=e.rgb();var a=this.rgb();var n=r===undefined?.5:r;var i=2*n-1;var o=t.alpha()-a.alpha();var l=((i*o===-1?i:(i+o)/(1+i*o))+1)/2;var s=1-l;return ae.rgb(l*t.red()+s*a.red(),l*t.green()+s*a.green(),l*t.blue()+s*a.blue(),t.alpha()*n+a.alpha()*(1-n))}};var ne=function(e){if(Q.includes(e)){return"continue"}var r=X[e].channels;ae.prototype[e]=function(){if(this.model===e){return new ae(this)}if(arguments.length>0){return new ae(arguments,e)}var t=typeof arguments[r]==="number"?r:this.valpha;return new ae(ue(X[this.model][e].raw(this.color)).concat(t),e)};ae[e]=function(t){if(typeof t==="number"){t=de(Y.call(arguments),r)}return new ae(t,e)}};for(var ie=0,oe=Object.keys(X);ie<oe.length;ie++){var P=oe[ie];ne(P)}function le(e,r){return Number(e.toFixed(r))}function se(e){return function(r){return le(r,e)}}function ce(e,r,t){e=Array.isArray(e)?e:[e];for(var a=0,n=e;a<n.length;a++){var i=n[a];(te[i]||(te[i]=[]))[r]=t}e=e[0];return function(a){var n;if(arguments.length>0){if(t){a=t(a)}n=this[e]();n.color[r]=a;return n}n=this[e]().color[r];if(t){n=t(n)}return n}}function he(e){return function(r){return Math.max(0,Math.min(e,r))}}function ue(e){return Array.isArray(e)?e:[e]}function de(e,r){for(var t=0;t<r;t++){if(typeof e[t]!=="number"){e[t]=0}}return e}var ve=ae;var fe={container:"container",controlSection:"control-section",hexOptions:"color-hex-options",section:"section",header:"header",control:"control",splitSection:"section--split",colorModeContainer:"color-mode-container",colorMode:"color-mode",channels:"channels",channel:"channel",savedColors:"saved-colors",savedColorsSection:"saved-colors-section",saveColor:"save-color",deleteColor:"delete-color",savedColorsButtons:"saved-colors-buttons",headerHex:"header--hex",colorFieldAndSlider:"color-field-and-slider",colorFieldAndSliderInteractive:"color-field-and-slider--interactive",colorFieldAndSliderWrap:"color-field-and-slider-wrap",scope:"scope",hueScope:"scope--hue",colorFieldScope:"scope--color-field",savedColor:"saved-color"};var pe=ve("#007AC2");var me="calcite-color-";var ge={r:255,g:255,b:255};var be={h:360,s:100,v:100};var ye={b:"B",blue:"Blue",deleteColor:"Delete color",g:"G",green:"Green",h:"H",hsv:"HSV",hex:"Hex",hue:"Hue",noColor:"No color",r:"R",red:"Red",rgb:"RGB",s:"S",saturation:"Saturation",saveColor:"Save color",saved:"Saved",v:"V",value:"Value"};var we={s:{slider:{height:10,width:160},colorField:{height:80,width:160},thumb:{radius:8}},m:{slider:{height:14,width:272},colorField:{height:150,width:272},thumb:{radius:10}},l:{slider:{height:16,width:464},colorField:{height:200,width:464},thumb:{radius:12}}};var Ce="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=s]) .container{width:160px}:host([scale=s]) .saved-colors{grid-template-columns:repeat(auto-fill, minmax(20px, 1fr))}:host([scale=s]) .channels{-ms-flex-direction:column;flex-direction:column}:host([scale=s]) .channel{width:100%;margin-bottom:4px}:host([scale=s]) .channel:last-child{margin-bottom:0}:host([scale=m]) .container{width:272px}:host([scale=l]) .header{padding-bottom:0}:host([scale=l]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{width:464px}:host([scale=l]) .color-field-and-slider{margin-bottom:-20px}:host([scale=l]) .section{padding:0 16px 16px}:host([scale=l]) .section:first-of-type{padding-top:16px}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, minmax(28px, 1fr));grid-gap:12px;padding-top:16px}:host([scale=l]) .control-section{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:baseline;align-items:baseline}:host([scale=l]) .control-section>:nth-child(2){-webkit-margin-start:12px;margin-inline-start:12px}:host([scale=l]) .color-hex-options{-ms-flex-negative:1;flex-shrink:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:distribute;justify-content:space-around;min-height:98px;width:160px}:host([scale=l]) .color-mode-container{-ms-flex-negative:3;flex-shrink:3}:host([appearance=minimal]) .container{border:none}.container{background-color:var(--calcite-ui-foreground-1);display:inline-block;border:1px solid var(--calcite-ui-border-1)}.color-field-and-slider-wrap{position:relative}.scope{font-size:var(--calcite-font-size--1);padding:0;margin-bottom:0;margin-right:0;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;width:0.5rem;height:0.5rem;position:absolute;pointer-events:none;margin-top:-0.25rem;margin-left:-0.25rem;outline-offset:10px}.scope:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px;outline-offset:12px}.color-field-and-slider{margin-bottom:-16px}.color-field-and-slider--interactive{cursor:pointer}.control-section{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}.section{padding:0 12px 12px}.section:first-of-type{padding-top:12px}.color-hex-options,.section--split{-ms-flex-positive:1;flex-grow:1}.header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;color:var(--calcite-ui-text-1);padding-bottom:0.25rem}.header--hex,.color-mode-container{padding-top:12px}.channels{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.channel{width:31%}.saved-colors{padding-top:12px;display:grid;grid-template-columns:repeat(auto-fill, minmax(24px, 1fr));grid-gap:8px;width:100%}.saved-colors-buttons{display:-ms-flexbox;display:flex}.saved-color{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.saved-color:hover{-webkit-transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}";var ke=16;var xe=l(pe.hex());var Se="auto";var Me=e("calcite_color_picker",function(){function e(e){var n=this;r(this,e);this.calciteColorPickerChange=t(this,"calciteColorPickerChange",7);this.calciteColorPickerInput=t(this,"calciteColorPickerInput",7);this.allowEmpty=false;this.appearance="default";this.color=pe;this.format=Se;this.hideHex=false;this.hideChannels=false;this.hideSaved=false;this.intlB=ye.b;this.intlBlue=ye.blue;this.intlDeleteColor=ye.deleteColor;this.intlG=ye.g;this.intlGreen=ye.green;this.intlH=ye.h;this.intlHsv=ye.hsv;this.intlHex=ye.hex;this.intlHue=ye.hue;this.intlNoColor=ye.noColor;this.intlR=ye.r;this.intlRed=ye.red;this.intlRgb=ye.rgb;this.intlS=ye.s;this.intlSaturation=ye.saturation;this.intlSaveColor=ye.saveColor;this.intlSaved=ye.saved;this.intlV=ye.v;this.intlValue=ye.value;this.scale="m";this.value=xe;this.colorFieldAndSliderHovered=false;this.hueThumbState="idle";this.internalColorUpdateContext=null;this.mode=s.HEX;this.shiftKeyChannelAdjustment=0;this.sliderThumbState="idle";this.colorFieldAndSliderInteractive=false;this.channelMode="rgb";this.channels=this.toChannels(pe);this.dimensions=we.m;this.savedColors=[];this.handleTabActivate=function(e){n.channelMode=e.currentTarget.getAttribute("data-color-mode");n.updateChannelsFromColor(n.color)};this.handleColorFieldScopeKeyDown=function(e){var r=e.key;var t={ArrowUp:{x:0,y:-10},ArrowRight:{x:10,y:0},ArrowDown:{x:0,y:10},ArrowLeft:{x:-10,y:0}};if(t[r]){e.preventDefault();n.scopeOrientation=r==="ArrowDown"||r==="ArrowUp"?"vertical":"horizontal";n.captureColorFieldColor(n.colorFieldScopeLeft+t[r].x||0,n.colorFieldScopeTop+t[r].y||0,false)}};this.handleHueScopeKeyDown=function(e){var r=e.shiftKey?10:1;var t=e.key;var a={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(a[t]){e.preventDefault();var i=a[t]*r;var o=n.baseColorFieldColor.hue();var l=n.baseColorFieldColor.hue(o+i);n.internalColorSet(l,false)}};this.handleHexInputChange=function(e){e.stopPropagation();var r=n,t=r.allowEmpty,a=r.color;var i=e.target;var o=i.value;if(t&&!o){n.internalColorSet(null);return}var s=a&&l(a.hex());if(o!==s){n.internalColorSet(ve(o))}};this.handleSavedColorSelect=function(e){var r=e.currentTarget;n.internalColorSet(ve(r.color))};this.handleChannelInput=function(e){var r=e.currentTarget;var t=e.detail.nativeEvent.target;var a=Number(r.getAttribute("data-channel-index"));var i=n.channelMode==="rgb"?ge[Object.keys(ge)[a]]:be[Object.keys(be)[a]];var o;if(n.allowEmpty&&!r.value){o=""}else{var l=Number(r.value)+n.shiftKeyChannelAdjustment;var s=m(l,0,i);o=s.toString()}r.value=o;t.value=o};this.handleChannelChange=function(e){var r=e.currentTarget;var t=Number(r.getAttribute("data-channel-index"));var a=__spreadArray([],n.channels);var i=n.allowEmpty&&!r.value;if(i){n.channels=[null,null,null];n.internalColorSet(null);return}a[t]=Number(r.value);n.updateColorFromChannels(a)};this.handleSavedColorKeyDown=function(e){if(e.key===" "||e.key==="Enter"){e.preventDefault();e.stopPropagation();n.handleSavedColorSelect(e)}};this.handleColorFieldAndSliderMouseLeave=function(){n.colorFieldAndSliderInteractive=false;n.colorFieldAndSliderHovered=false;if(n.sliderThumbState!=="drag"&&n.hueThumbState!=="drag"){n.hueThumbState="idle";n.sliderThumbState="idle";n.drawColorFieldAndSlider()}};this.handleColorFieldAndSliderMouseDown=function(e){var r=e.offsetX,t=e.offsetY;var a=n.getCanvasRegion(t);if(a==="color-field"){n.hueThumbState="drag";n.captureColorFieldColor(r,t)}else if(a==="slider"){n.sliderThumbState="drag";n.captureHueSliderColor(r)}e.preventDefault();document.addEventListener("mousemove",n.globalMouseMoveHandler);document.addEventListener("mouseup",n.globalMouseUpHandler,{once:true});n.activeColorFieldAndSliderRect=n.fieldAndSliderRenderingContext.canvas.getBoundingClientRect()};this.globalMouseUpHandler=function(){var e=n.sliderThumbState==="drag"||n.hueThumbState==="drag";n.hueThumbState="idle";n.sliderThumbState="idle";n.activeColorFieldAndSliderRect=null;n.drawColorFieldAndSlider();if(e){n.calciteColorPickerChange.emit()}};this.globalMouseMoveHandler=function(e){var r=n,t=r.el,a=r.dimensions;var i=n.sliderThumbState==="drag";var o=n.hueThumbState==="drag";if(!t.isConnected||!i&&!o){return}var l;var s;var c=n.activeColorFieldAndSliderRect;var h=e.clientX,u=e.clientY;if(n.colorFieldAndSliderHovered){l=h-c.x;s=u-c.y}else{var d=a.colorField.width;var v=a.colorField.height;var f=a.slider.height;if(h<c.x+d&&h>c.x){l=h-c.x}else if(h<c.x){l=0}else{l=d}if(u<c.y+v+f&&u>c.y){s=u-c.y}else if(u<c.y){s=0}else{s=v+f}}if(o){n.captureColorFieldColor(l,s,false)}else{n.captureHueSliderColor(l)}};this.handleColorFieldAndSliderMouseEnterOrMove=function(e){var r=e.offsetX,t=e.offsetY;var a=n.dimensions,i=a.colorField,o=a.slider,l=a.thumb;n.colorFieldAndSliderInteractive=t<=i.height+o.height;n.colorFieldAndSliderHovered=true;var s=n.getCanvasRegion(t);if(s==="color-field"){var c=n.hueThumbState;var h=n.baseColorFieldColor.hsv();var u=Math.round(h.saturationv()/(be.s/i.width));var d=Math.round(i.height-h.value()/(be.v/i.height));var v=n.containsPoint(r,t,u,d,l.radius);var f=false;if(c==="idle"&&v){n.hueThumbState="hover";f=true}else if(c==="hover"&&!v){n.hueThumbState="idle";f=true}if(n.hueThumbState!=="drag"){if(f){n.drawColorFieldAndSlider()}}}else if(s==="slider"){var p=n.baseColorFieldColor.hsv().saturationv(100).value(100);var m=n.sliderThumbState;var g=Math.round(p.hue()/(360/o.width));var b=Math.round((o.height+n.getSliderCapSpacing())/2)+i.height;var y=n.containsPoint(r,t,g,b,l.radius);var w=false;if(m==="idle"&&y){n.sliderThumbState="hover";w=true}else if(m==="hover"&&!y){n.sliderThumbState="idle";w=true}if(n.sliderThumbState!=="drag"){if(w){n.drawColorFieldAndSlider()}}}};this.storeColorFieldScope=function(e){n.colorFieldScopeNode=e};this.renderChannelsTabTitle=function(e){var r=n,t=r.channelMode,i=r.intlRgb,o=r.intlHsv;var l=e===t;var s=e==="rgb"?i:o;return a("calcite-tab-title",{active:l,class:fe.colorMode,"data-color-mode":e,key:e,onCalciteTabsActivate:n.handleTabActivate},s)};this.renderChannelsTab=function(e){var r=n,t=r.channelMode,i=r.channels,o=r.intlB,l=r.intlBlue,s=r.intlG,c=r.intlGreen,h=r.intlH,u=r.intlHue,d=r.intlR,v=r.intlRed,f=r.intlS,p=r.intlSaturation,m=r.intlV,g=r.intlValue;var b=e===t;var y=e==="rgb";var w=y?[d,s,o]:[h,f,m];var C=y?[v,c,l]:[u,p,g];return a("calcite-tab",{active:b,class:fe.control,key:e},a("div",{class:fe.channels},i.map((function(e,r){return n.renderChannel(e,r,w[r],C[r])}))))};this.renderChannel=function(e,r,t,i){return a("calcite-input",{class:fe.channel,"data-channel-index":r,label:i,numberButtonType:"none",onCalciteInputChange:n.handleChannelChange,onCalciteInputInput:n.handleChannelInput,prefixText:t,scale:n.scale==="l"?"m":"s",type:"number",value:e===null||e===void 0?void 0:e.toString()})};this.deleteColor=function(){var e=n.color.hex();var r=n.savedColors.indexOf(e)>-1;if(!r){return}var t=n.savedColors.filter((function(r){return r!==e}));n.savedColors=t;var a=""+me+n.storageId;if(n.storageId){localStorage.setItem(a,JSON.stringify(t))}};this.saveColor=function(){var e=n.color.hex();var r=n.savedColors.indexOf(e)>-1;if(r){return}var t=__spreadArray(__spreadArray([],n.savedColors),[e]);n.savedColors=t;var a=""+me+n.storageId;if(n.storageId){localStorage.setItem(a,JSON.stringify(t))}};this.drawColorFieldAndSlider=w((function(){if(!n.fieldAndSliderRenderingContext){return}n.drawColorField();n.drawHueSlider()}),ke);this.captureColorFieldColor=function(e,r,t){if(t===void 0){t=true}var a=n.dimensions.colorField,i=a.height,o=a.width;var l=Math.round(be.s/o*e);var s=Math.round(be.v/i*(i-r));n.internalColorSet(n.baseColorFieldColor.hsv().saturationv(l).value(s),t)};this.initColorFieldAndSlider=function(e){n.fieldAndSliderRenderingContext=e.getContext("2d");n.setCanvasContextSize(e,{width:n.dimensions.colorField.width,height:n.dimensions.colorField.height+n.dimensions.slider.height+n.getSliderCapSpacing()*2});n.drawColorFieldAndSlider()}}e.prototype.handleColorChange=function(e,r){this.drawColorFieldAndSlider();this.updateChannelsFromColor(e);this.previousColor=r;if(this.internalColorUpdateContext){return}this.value=this.toValue(e)};e.prototype.handleFormatChange=function(e){this.setMode(e);this.value=this.toValue(this.color)};e.prototype.handleScaleChange=function(e){if(e===void 0){e="m"}this.updateDimensions(e)};e.prototype.handleValueChange=function(e,r){var t=this,a=t.allowEmpty,n=t.format;var i=!a||e;var o=false;if(i){var l=c(e);if(!l||n!=="auto"&&l!==n){this.showIncompatibleColorWarning(e,n);this.value=r;return}o=this.mode!==l;this.setMode(l)}var s=this.sliderThumbState==="drag"||this.hueThumbState==="drag";if(this.internalColorUpdateContext){if(this.internalColorUpdateContext==="initial"){return}this.calciteColorPickerInput.emit();if(!s){this.calciteColorPickerChange.emit()}return}var u=a&&!e?null:ve(e);var d=!h(u,this.color);if(o||d){this.color=u;this.calciteColorPickerInput.emit();if(!s){this.calciteColorPickerChange.emit()}}};Object.defineProperty(e.prototype,"baseColorFieldColor",{get:function(){return this.color||this.previousColor||pe},enumerable:false,configurable:true});e.prototype.handleChannelKeyUpOrDown=function(e){this.shiftKeyChannelAdjustment=0;var r=e.key;if(r!=="ArrowUp"&&r!=="ArrowDown"||!e.composedPath().some((function(e){var r;return(r=e.classList)===null||r===void 0?void 0:r.contains(fe.channel)}))){return}var t=e.shiftKey;e.preventDefault();if(!this.color){this.internalColorSet(this.previousColor);e.stopPropagation();return}var a=9;this.shiftKeyChannelAdjustment=r==="ArrowUp"&&t?a:r==="ArrowDown"&&t?-a:0};e.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,i(this.colorFieldScopeNode)]}))}))};e.prototype.componentWillLoad=function(){var e=this,r=e.allowEmpty,t=e.color,a=e.format,n=e.value;var i=r&&!n;var o=c(n);var l=i||a==="auto"&&o||a===o;var s=i?null:l?ve(n):t;if(!l){this.showIncompatibleColorWarning(n,a)}this.setMode(a);this.internalColorSet(s,false,"initial");this.updateDimensions(this.scale);var h=""+me+this.storageId;if(this.storageId&&localStorage.getItem(h)){this.savedColors=JSON.parse(localStorage.getItem(h))}};e.prototype.disconnectedCallback=function(){document.removeEventListener("mousemove",this.globalMouseMoveHandler);document.removeEventListener("mouseup",this.globalMouseUpHandler)};e.prototype.render=function(){var e,r,t,n,i,o,l;var s=this;var c=this,h=c.allowEmpty,u=c.color,d=c.intlDeleteColor,v=c.hideHex,f=c.hideChannels,p=c.hideSaved,m=c.intlHex,g=c.intlSaved,b=c.intlSaveColor,y=c.savedColors,w=c.scale;var C=u?u.hex():null;var k=w==="l"?"m":"s";var x=this,S=x.colorFieldAndSliderInteractive,M=x.colorFieldScopeTop,D=x.colorFieldScopeLeft,F=x.hueScopeLeft,A=x.hueScopeTop,I=x.scopeOrientation,_=x.dimensions,j=_.colorField,T=j.height,H=j.width,O=_.slider.height;var E=A!==null&&A!==void 0?A:O/2+T;var P=F!==null&&F!==void 0?F:H*pe.hue()/be.h;var R=u===null;var N=I==="vertical";return a("div",{class:fe.container},a("div",{class:fe.colorFieldAndSliderWrap},a("canvas",{class:(e={},e[fe.colorFieldAndSlider]=true,e[fe.colorFieldAndSliderInteractive]=S,e),onMouseDown:this.handleColorFieldAndSliderMouseDown,onMouseEnter:this.handleColorFieldAndSliderMouseEnterOrMove,onMouseLeave:this.handleColorFieldAndSliderMouseLeave,onMouseMove:this.handleColorFieldAndSliderMouseEnterOrMove,ref:this.initColorFieldAndSlider}),a("div",{"aria-label":N?this.intlValue:this.intlSaturation,"aria-valuemax":N?be.v:be.s,"aria-valuemin":"0","aria-valuenow":(N?u===null||u===void 0?void 0:u.saturationv():u===null||u===void 0?void 0:u.value())||"0",class:(r={},r[fe.scope]=true,r[fe.colorFieldScope]=true,r),onKeyDown:this.handleColorFieldScopeKeyDown,ref:this.storeColorFieldScope,role:"slider",style:{top:(M||0)+"px",left:(D||0)+"px"},tabindex:"0"}),a("div",{"aria-label":this.intlHue,"aria-valuemax":be.h,"aria-valuemin":"0","aria-valuenow":(u===null||u===void 0?void 0:u.round().hue())||pe.round().hue(),class:(t={},t[fe.scope]=true,t[fe.hueScope]=true,t),onKeyDown:this.handleHueScopeKeyDown,role:"slider",style:{top:E+"px",left:P+"px"},tabindex:"0"})),v&&f?null:a("div",{class:(n={},n[fe.controlSection]=true,n[fe.section]=true,n)},v?null:a("div",{class:fe.hexOptions},a("span",{class:(i={},i[fe.header]=true,i[fe.headerHex]=true,i)},m),a("calcite-color-picker-hex-input",{allowEmpty:h,class:fe.control,onCalciteColorPickerHexInputChange:this.handleHexInputChange,scale:k,value:C})),f?null:a("calcite-tabs",{class:(o={},o[fe.colorModeContainer]=true,o[fe.splitSection]=true,o),scale:k},a("calcite-tab-nav",{slot:"tab-nav"},this.renderChannelsTabTitle("rgb"),this.renderChannelsTabTitle("hsv")),this.renderChannelsTab("rgb"),this.renderChannelsTab("hsv"))),p?null:a("div",{class:(l={},l[fe.savedColorsSection]=true,l[fe.section]=true,l)},a("div",{class:fe.header},a("label",null,g),a("div",{class:fe.savedColorsButtons},a("calcite-button",{appearance:"transparent",class:fe.deleteColor,color:"neutral",disabled:R,iconStart:"minus",label:d,onClick:this.deleteColor,scale:k}),a("calcite-button",{appearance:"transparent",class:fe.saveColor,color:"neutral",disabled:R,iconStart:"plus",label:b,onClick:this.saveColor,scale:k}))),y.length>0?a("div",{class:fe.savedColors},__spreadArray([],y.map((function(e){return a("calcite-color-picker-swatch",{active:C===e,class:fe.savedColor,color:e,key:e,onClick:s.handleSavedColorSelect,onKeyDown:s.handleSavedColorKeyDown,scale:w,tabIndex:0})})))):null))};e.prototype.showIncompatibleColorWarning=function(e,r){console.warn("ignoring color value ("+e+") as it is not compatible with the current format ("+r+")")};e.prototype.setMode=function(e){this.mode=e==="auto"?this.mode:e};e.prototype.captureHueSliderColor=function(e){var r=this.dimensions.slider.width;var t=360/r*e;this.internalColorSet(this.baseColorFieldColor.hue(t),false)};e.prototype.getCanvasRegion=function(e){var r=this.dimensions,t=r.colorField.height,a=r.slider.height;if(e<=t){return"color-field"}if(e<=t+a){return"slider"}return"none"};e.prototype.internalColorSet=function(e,r,t){if(r===void 0){r=true}if(t===void 0){t="internal"}if(r&&h(e,this.color)){return}this.internalColorUpdateContext=t;this.color=e;this.value=this.toValue(e);this.internalColorUpdateContext=null};e.prototype.toValue=function(e,r){if(r===void 0){r=this.mode}if(!e){return null}var t="hex";if(r.includes(t)){return l(e.round()[t]())}if(r.includes("-css")){return e[r.replace("-css","").replace("a","")]().round().string()}var a=e[r]().round().object();if(r.endsWith("a")){a.a=a.alpha;delete a.alpha}return a};e.prototype.getSliderCapSpacing=function(){var e=this.dimensions,r=e.slider.height,t=e.thumb.radius;return t*2-r};e.prototype.updateDimensions=function(e){if(e===void 0){e="m"}this.dimensions=we[e]};e.prototype.drawColorField=function(){var e=this.fieldAndSliderRenderingContext;var r=this.dimensions.colorField,t=r.height,a=r.width;e.fillStyle=this.baseColorFieldColor.hsv().saturationv(100).value(100).string();e.fillRect(0,0,a,t);var n=e.createLinearGradient(0,0,a,0);n.addColorStop(0,"rgba(255,255,255,1)");n.addColorStop(1,"rgba(255,255,255,0)");e.fillStyle=n;e.fillRect(0,0,a,t);var i=e.createLinearGradient(0,0,0,t);i.addColorStop(0,"rgba(0,0,0,0)");i.addColorStop(1,"rgba(0,0,0,1)");e.fillStyle=i;e.fillRect(0,0,a,t);this.drawActiveColorFieldColor()};e.prototype.setCanvasContextSize=function(e,r){var t=r.height,a=r.width;var n=window.devicePixelRatio||1;e.width=a*n;e.height=t*n;e.style.height=t+"px";e.style.width=a+"px";var i=e.getContext("2d");i.scale(n,n)};e.prototype.containsPoint=function(e,r,t,a,n){return Math.pow(e-t,2)+Math.pow(r-a,2)<=Math.pow(n,2)};e.prototype.drawActiveColorFieldColor=function(){var e=this;var r=this.color;if(!r){return}var t=r.hsv();var a=this.dimensions,n=a.colorField,i=n.height,o=n.width,l=a.thumb.radius;var s=t.saturationv()/(be.s/o);var c=i-t.value()/(be.v/i);requestAnimationFrame((function(){e.colorFieldScopeLeft=s;e.colorFieldScopeTop=c}));this.drawThumb(this.fieldAndSliderRenderingContext,l,s,c,t,this.hueThumbState)};e.prototype.drawThumb=function(e,r,t,a,n,i){var o=0;var l=2*Math.PI;e.beginPath();e.arc(t,a,r,o,l);e.shadowBlur=i==="hover"?32:16;e.shadowColor="rgba(0, 0, 0, "+(i==="drag"?.32:.16)+")";e.fillStyle="#fff";e.fill();e.beginPath();e.arc(t,a,r-3,o,l);e.shadowBlur=0;e.shadowColor="transparent";e.fillStyle=n.rgb().string();e.fill()};e.prototype.drawActiveHueSliderColor=function(){var e=this;var r=this.color;if(!r){return}var t=r.hsv().saturationv(100).value(100);var a=this.dimensions,n=a.colorField.height,i=a.slider,o=i.height,l=i.width,s=a.thumb.radius;var c=t.hue()/(360/l);var h=o/2+n;requestAnimationFrame((function(){e.hueScopeLeft=c;e.hueScopeTop=h}));this.drawThumb(this.fieldAndSliderRenderingContext,s,c,h,t,this.sliderThumbState)};e.prototype.drawHueSlider=function(){var e=this.fieldAndSliderRenderingContext;var r=this.dimensions,t=r.colorField.height,a=r.slider,n=a.height,i=a.width;var o=e.createLinearGradient(0,0,i,0);var l=["red","yellow","lime","cyan","blue","magenta","red"];var s=1/(l.length-1);var c=0;l.forEach((function(e){o.addColorStop(c,ve(e).string());c+=s}));e.fillStyle=o;e.clearRect(0,t,i,n+this.getSliderCapSpacing()*2);e.fillRect(0,t,i,n);this.drawActiveHueSliderColor()};e.prototype.updateColorFromChannels=function(e){this.internalColorSet(ve(e,this.channelMode))};e.prototype.updateChannelsFromColor=function(e){this.channels=e?this.toChannels(e):[null,null,null]};e.prototype.toChannels=function(e){var r=this.channelMode;return e[r]().array().map((function(e){return Math.floor(e)}))};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{color:["handleColorChange"],format:["handleFormatChange"],scale:["handleScaleChange"],value:["handleValueChange"]}},enumerable:false,configurable:true});return e}());Me.style=Ce;var De={container:"container",preview:"preview",input:"input"};var Fe="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:block}.container{width:100%;display:inline-grid;-ms-flex-align:center;align-items:center;grid-template-columns:1fr auto}.preview{grid-column:2/3;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;pointer-events:none;margin-top:0;margin-bottom:0;margin-left:0.25rem;margin-right:0.25rem;z-index:1}.preview,.input{grid-row:1}.input{grid-column:1/3;text-transform:uppercase;width:100%}";var Ae=ve();var Ie=e("calcite_color_picker_hex_input",function(){function e(e){var a=this;r(this,e);this.calciteColorPickerHexInputChange=t(this,"calciteColorPickerHexInputChange",7);this.allowEmpty=false;this.intlHex=ye.hex;this.intlNoColor=ye.noColor;this.scale="m";this.value=l(Ae.hex());this.onCalciteInputBlur=function(){var e=a.inputNode;var r=e.value;var t="#"+r;var n=a.allowEmpty&&!r;if(n||u(t)&&d(t)){return}e.value=a.allowEmpty&&!a.internalColor?"":a.formatForInternalInput(v(a.internalColor.object()))};this.onInputChange=function(){var e=a.inputNode.value;var r;if(e){var t=e;var n=f("#"+t);if(!n){return}r=l(t)}else if(a.allowEmpty){r=null}a.value=r;a.calciteColorPickerHexInputChange.emit()};this.internalColor=Ae;this.previousNonNullValue=this.value;this.storeInputRef=function(e){a.inputNode=e}}e.prototype.connectedCallback=function(){var e=this,r=e.allowEmpty,t=e.value;if(t){var a=l(t);if(u(a)){this.internalColor=ve(a);this.value=a}return}if(r){this.internalColor=null;this.value=null}};e.prototype.handleValueChange=function(e,r){if(e){var t=l(e);if(u(t)){var a=this.internalColor;var n=!a||t!==l(a.hex());this.internalColor=ve(t);this.previousNonNullValue=t;this.value=t;if(n){this.calciteColorPickerHexInputChange.emit()}return}}else if(this.allowEmpty){this.internalColor=null;this.value=null;this.calciteColorPickerHexInputChange.emit();return}this.value=r};e.prototype.onInputKeyDown=function(e){var r=e.altKey,t=e.ctrlKey,a=e.metaKey,n=e.shiftKey;var i=this,o=i.internalColor,s=i.value;var c=e.key;if(c==="Tab"||c==="Enter"){this.onInputChange();return}var h=c==="ArrowDown"||c==="ArrowUp";if(h){if(!s){this.value=this.previousNonNullValue;e.preventDefault();return}var u=c==="ArrowUp"?1:-1;var d=n?10:1;this.value=l(this.nudgeRGBChannels(o,d*u).hex());e.preventDefault();return}var v=r||t||a;var f=c.length===1;var m=p.test(c);if(f&&!v&&!m){e.preventDefault()}};e.prototype.render=function(){var e=this,r=e.intlHex,t=e.value;var n=this.formatForInternalInput(t);return a("div",{class:De.container},a("calcite-input",{class:De.input,label:r,maxLength:6,onCalciteInputBlur:this.onCalciteInputBlur,onCalciteInputChange:this.onInputChange,prefixText:"#",ref:this.storeInputRef,scale:this.scale,value:n}),n?a("calcite-color-picker-swatch",{active:true,class:De.preview,color:"#"+n,scale:this.scale}):null)};e.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){i(this.inputNode);return[2]}))}))};e.prototype.formatForInternalInput=function(e){return e?e.replace("#",""):""};e.prototype.nudgeRGBChannels=function(e,r){return ve.rgb(e.array().map((function(e){return e+r})))};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["handleValueChange"]}},enumerable:false,configurable:true});return e}());Ie.style=Fe;var _e={swatch:"swatch",noColorIcon:"no-color-icon"};var je={borderLight:"rgba(0, 0, 0, 0.15)",borderDark:"rgba(255, 255, 255, 0.15)"};var Te="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;position:relative}:host([scale=s]){height:1.25rem;width:1.25rem}:host([scale=m]){height:1.5rem;width:1.5rem}:host([scale=l]){height:2rem;width:2rem}.swatch{overflow:visible;height:inherit;width:inherit}.swatch rect{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.no-color-icon{height:100%;width:100%;top:0;right:0;bottom:0;left:0;position:absolute}";var He=e("calcite_color_picker_swatch",function(){function e(e){r(this,e);this.active=false;this.scale="m"}e.prototype.handleColorChange=function(e){this.internalColor=ve(e)};e.prototype.componentWillLoad=function(){this.handleColorChange(this.color)};e.prototype.render=function(){var e=this,r=e.active,t=e.el,n=e.internalColor;var i=r?"100%":"0";var l=n.hex();var s=o(t);var c=s==="light"?je.borderLight:je.borderDark;return a("svg",{class:_e.swatch,xmlns:"http://www.w3.org/2000/svg"},a("title",null,l),a("rect",{fill:l,height:"100%",id:"swatch",rx:i,stroke:c,"stroke-width":"2",style:{"clip-path":"inset(0 round "+i+")"},width:"100%"}))};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{color:["handleColorChange"]}},enumerable:false,configurable:true});return e}());He.style=Te}}}));
@@ -2,4 +2,4 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- System.register(["./p-89cdfa96.system.js"],(function(e){"use strict";var t;return{setters:[function(e){t=e.h}],execute:function(){e("c",n);function n(e){return Math.min(Math.max(Math.ceil(e),1),6)}var r=e("C",(function(e,n){var r="h"+e.level;delete e.level;return t(r,Object.assign({},e),n)}))}}}));
5
+ System.register(["./p-288bc438.system.js"],(function(e){"use strict";var t;return{setters:[function(e){t=e.h}],execute:function(){e("c",n);function n(e){return Math.min(Math.max(Math.ceil(e),1),6)}var r=e("C",(function(e,n){var r="h"+e.level;delete e.level;return t(r,Object.assign({},e),n)}))}}}));
@@ -0,0 +1,5 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function o(e){try{s(n.next(e))}catch(e){i(e)}}function f(e){try{s(n["throw"](e))}catch(e){i(e)}}function s(e){e.done?r(e.value):a(e.value).then(o,f)}s((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,o;return o={next:f(0),throw:f(1),return:f(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function f(e){return function(t){return s([e,t])}}function s(o){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(i=o[0]&2?a["return"]:o[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,o[1])).done)return i;if(a=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;a=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){r.label=o[1];break}if(o[0]===6&&r.label<i[1]){r.label=i[1];i=o;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(o);break}if(i[2])r.ops.pop();r.trys.pop();continue}o=t.call(e,r)}catch(e){o=[6,e];a=0}finally{n=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
+ /*!
3
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
+ */System.register(["./p-6cc23c39.system.js"],(function(e){"use strict";var t;return{setters:[function(e){t=e.a}],execute:function(){e({c:st,u:ut});var r="top";var n="bottom";var a="right";var i="left";var o="auto";var f=[r,n,a,i];var s="start";var u="end";var c="clippingParents";var v="viewport";var l="popper";var p="reference";var d=f.reduce((function(e,t){return e.concat([t+"-"+s,t+"-"+u])}),[]);var h=[].concat(f,[o]).reduce((function(e,t){return e.concat([t,t+"-"+s,t+"-"+u])}),[]);var m="beforeRead";var g="read";var y="afterRead";var b="beforeMain";var w="main";var x="afterMain";var O="beforeWrite";var j="write";var E="afterWrite";var D=[m,g,y,b,w,x,O,j,E];function A(e){return e?(e.nodeName||"").toLowerCase():null}function k(e){if(e==null){return window}if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView||window:window}return e}function M(e){var t=k(e).Element;return e instanceof t||e instanceof Element}function L(e){var t=k(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function P(e){if(typeof ShadowRoot==="undefined"){return false}var t=k(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function W(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{};var n=t.attributes[e]||{};var a=t.elements[e];if(!L(a)||!A(a)){return}Object.assign(a.style,r);Object.keys(n).forEach((function(e){var t=n[e];if(t===false){a.removeAttribute(e)}else{a.setAttribute(e,t===true?"":t)}}))}))}function B(e){var t=e.state;var r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,r.popper);t.styles=r;if(t.elements.arrow){Object.assign(t.elements.arrow.style,r.arrow)}return function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e];var a=t.attributes[e]||{};var i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]);var o=i.reduce((function(e,t){e[t]="";return e}),{});if(!L(n)||!A(n)){return}Object.assign(n.style,o);Object.keys(a).forEach((function(e){n.removeAttribute(e)}))}))}}var H={name:"applyStyles",enabled:true,phase:"write",fn:W,effect:B,requires:["computeStyles"]};function R(e){return e.split("-")[0]}var S=Math.max;var T=Math.min;var _=Math.round;function C(e,t){if(t===void 0){t=false}var r=e.getBoundingClientRect();var n=1;var a=1;if(L(e)&&t){var i=e.offsetHeight;var o=e.offsetWidth;if(o>0){n=_(r.width)/o||1}if(i>0){a=_(r.height)/i||1}}return{width:r.width/n,height:r.height/a,top:r.top/a,right:r.right/n,bottom:r.bottom/a,left:r.left/n,x:r.left/n,y:r.top/a}}function q(e){var t=C(e);var r=e.offsetWidth;var n=e.offsetHeight;if(Math.abs(t.width-r)<=1){r=t.width}if(Math.abs(t.height-n)<=1){n=t.height}return{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function V(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t)){return true}else if(r&&P(r)){var n=t;do{if(n&&e.isSameNode(n)){return true}n=n.parentNode||n.host}while(n)}return false}function N(e){return k(e).getComputedStyle(e)}function I(e){return["table","td","th"].indexOf(A(e))>=0}function F(e){return((M(e)?e.ownerDocument:e.document)||window.document).documentElement}function U(e){if(A(e)==="html"){return e}return e.assignedSlot||e.parentNode||(P(e)?e.host:null)||F(e)}function z(e){if(!L(e)||N(e).position==="fixed"){return null}return e.offsetParent}function X(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1;var r=navigator.userAgent.indexOf("Trident")!==-1;if(r&&L(e)){var n=N(e);if(n.position==="fixed"){return null}}var a=U(e);while(L(a)&&["html","body"].indexOf(A(a))<0){var i=N(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none"){return a}else{a=a.parentNode}}return null}function Y(e){var t=k(e);var r=z(e);while(r&&I(r)&&N(r).position==="static"){r=z(r)}if(r&&(A(r)==="html"||A(r)==="body"&&N(r).position==="static")){return t}return r||X(e)||t}function G(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function J(e,t,r){return S(e,T(t,r))}function K(e,t,r){var n=J(e,t,r);return n>r?r:n}function Q(){return{top:0,right:0,bottom:0,left:0}}function Z(e){return Object.assign({},Q(),e)}function $(e,t){return t.reduce((function(t,r){t[r]=e;return t}),{})}var ee=function e(t,r){t=typeof t==="function"?t(Object.assign({},r.rects,{placement:r.placement})):t;return Z(typeof t!=="number"?t:$(t,f))};function te(e){var t;var o=e.state,f=e.name,s=e.options;var u=o.elements.arrow;var c=o.modifiersData.popperOffsets;var v=R(o.placement);var l=G(v);var p=[i,a].indexOf(v)>=0;var d=p?"height":"width";if(!u||!c){return}var h=ee(s.padding,o);var m=q(u);var g=l==="y"?r:i;var y=l==="y"?n:a;var b=o.rects.reference[d]+o.rects.reference[l]-c[l]-o.rects.popper[d];var w=c[l]-o.rects.reference[l];var x=Y(u);var O=x?l==="y"?x.clientHeight||0:x.clientWidth||0:0;var j=b/2-w/2;var E=h[g];var D=O-m[d]-h[y];var A=O/2-m[d]/2+j;var k=J(E,A,D);var M=l;o.modifiersData[f]=(t={},t[M]=k,t.centerOffset=k-A,t)}function re(e){var t=e.state,r=e.options;var n=r.element,a=n===void 0?"[data-popper-arrow]":n;if(a==null){return}if(typeof a==="string"){a=t.elements.popper.querySelector(a);if(!a){return}}if(!V(t.elements.popper,a)){return}t.elements.arrow=a}var ne={name:"arrow",enabled:true,phase:"main",fn:te,effect:re,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ae(e){return e.split("-")[1]}var ie={top:"auto",right:"auto",bottom:"auto",left:"auto"};function oe(e){var t=e.x,r=e.y;var n=window;var a=n.devicePixelRatio||1;return{x:_(t*a)/a||0,y:_(r*a)/a||0}}function fe(e){var t;var o=e.popper,f=e.popperRect,s=e.placement,c=e.variation,v=e.offsets,l=e.position,p=e.gpuAcceleration,d=e.adaptive,h=e.roundOffsets,m=e.isFixed;var g=h===true?oe(v):typeof h==="function"?h(v):v,y=g.x,b=y===void 0?0:y,w=g.y,x=w===void 0?0:w;var O=v.hasOwnProperty("x");var j=v.hasOwnProperty("y");var E=i;var D=r;var A=window;if(d){var M=Y(o);var L="clientHeight";var P="clientWidth";if(M===k(o)){M=F(o);if(N(M).position!=="static"&&l==="absolute"){L="scrollHeight";P="scrollWidth"}}M=M;if(s===r||(s===i||s===a)&&c===u){D=n;var W=m&&A.visualViewport?A.visualViewport.height:M[L];x-=W-f.height;x*=p?1:-1}if(s===i||(s===r||s===n)&&c===u){E=a;var B=m&&A.visualViewport?A.visualViewport.width:M[P];b-=B-f.width;b*=p?1:-1}}var H=Object.assign({position:l},d&&ie);if(p){var R;return Object.assign({},H,(R={},R[D]=j?"0":"",R[E]=O?"0":"",R.transform=(A.devicePixelRatio||1)<=1?"translate("+b+"px, "+x+"px)":"translate3d("+b+"px, "+x+"px, 0)",R))}return Object.assign({},H,(t={},t[D]=j?x+"px":"",t[E]=O?b+"px":"",t.transform="",t))}function se(e){var t=e.state,r=e.options;var n=r.gpuAcceleration,a=n===void 0?true:n,i=r.adaptive,o=i===void 0?true:i,f=r.roundOffsets,s=f===void 0?true:f;var u={placement:R(t.placement),variation:ae(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};if(t.modifiersData.popperOffsets!=null){t.styles.popper=Object.assign({},t.styles.popper,fe(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:s})))}if(t.modifiersData.arrow!=null){t.styles.arrow=Object.assign({},t.styles.arrow,fe(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:false,roundOffsets:s})))}t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var ue={name:"computeStyles",enabled:true,phase:"beforeWrite",fn:se,data:{}};var ce={passive:true};function ve(e){var t=e.state,r=e.instance,n=e.options;var a=n.scroll,i=a===void 0?true:a,o=n.resize,f=o===void 0?true:o;var s=k(t.elements.popper);var u=[].concat(t.scrollParents.reference,t.scrollParents.popper);if(i){u.forEach((function(e){e.addEventListener("scroll",r.update,ce)}))}if(f){s.addEventListener("resize",r.update,ce)}return function(){if(i){u.forEach((function(e){e.removeEventListener("scroll",r.update,ce)}))}if(f){s.removeEventListener("resize",r.update,ce)}}}var le={name:"eventListeners",enabled:true,phase:"write",fn:function e(){},effect:ve,data:{}};var pe={left:"right",right:"left",bottom:"top",top:"bottom"};function de(e){return e.replace(/left|right|bottom|top/g,(function(e){return pe[e]}))}var he={start:"end",end:"start"};function me(e){return e.replace(/start|end/g,(function(e){return he[e]}))}function ge(e){var t=k(e);var r=t.pageXOffset;var n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function ye(e){return C(F(e)).left+ge(e).scrollLeft}function be(e){var t=k(e);var r=F(e);var n=t.visualViewport;var a=r.clientWidth;var i=r.clientHeight;var o=0;var f=0;if(n){a=n.width;i=n.height;if(!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)){o=n.offsetLeft;f=n.offsetTop}}return{width:a,height:i,x:o+ye(e),y:f}}function we(e){var t;var r=F(e);var n=ge(e);var a=(t=e.ownerDocument)==null?void 0:t.body;var i=S(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0);var o=S(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0);var f=-n.scrollLeft+ye(e);var s=-n.scrollTop;if(N(a||r).direction==="rtl"){f+=S(r.clientWidth,a?a.clientWidth:0)-i}return{width:i,height:o,x:f,y:s}}function xe(e){var t=N(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function Oe(e){if(["html","body","#document"].indexOf(A(e))>=0){return e.ownerDocument.body}if(L(e)&&xe(e)){return e}return Oe(U(e))}function je(e,t){var r;if(t===void 0){t=[]}var n=Oe(e);var a=n===((r=e.ownerDocument)==null?void 0:r.body);var i=k(n);var o=a?[i].concat(i.visualViewport||[],xe(n)?n:[]):n;var f=t.concat(o);return a?f:f.concat(je(U(o)))}function Ee(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function De(e){var t=C(e);t.top=t.top+e.clientTop;t.left=t.left+e.clientLeft;t.bottom=t.top+e.clientHeight;t.right=t.left+e.clientWidth;t.width=e.clientWidth;t.height=e.clientHeight;t.x=t.left;t.y=t.top;return t}function Ae(e,t){return t===v?Ee(be(e)):M(t)?De(t):Ee(we(F(e)))}function ke(e){var t=je(U(e));var r=["absolute","fixed"].indexOf(N(e).position)>=0;var n=r&&L(e)?Y(e):e;if(!M(n)){return[]}return t.filter((function(e){return M(e)&&V(e,n)&&A(e)!=="body"&&(r?N(e).position!=="static":true)}))}function Me(e,t,r){var n=t==="clippingParents"?ke(e):[].concat(t);var a=[].concat(n,[r]);var i=a[0];var o=a.reduce((function(t,r){var n=Ae(e,r);t.top=S(n.top,t.top);t.right=T(n.right,t.right);t.bottom=T(n.bottom,t.bottom);t.left=S(n.left,t.left);return t}),Ae(e,i));o.width=o.right-o.left;o.height=o.bottom-o.top;o.x=o.left;o.y=o.top;return o}function Le(e){var t=e.reference,o=e.element,f=e.placement;var c=f?R(f):null;var v=f?ae(f):null;var l=t.x+t.width/2-o.width/2;var p=t.y+t.height/2-o.height/2;var d;switch(c){case r:d={x:l,y:t.y-o.height};break;case n:d={x:l,y:t.y+t.height};break;case a:d={x:t.x+t.width,y:p};break;case i:d={x:t.x-o.width,y:p};break;default:d={x:t.x,y:t.y}}var h=c?G(c):null;if(h!=null){var m=h==="y"?"height":"width";switch(v){case s:d[h]=d[h]-(t[m]/2-o[m]/2);break;case u:d[h]=d[h]+(t[m]/2-o[m]/2);break}}return d}function Pe(e,t){if(t===void 0){t={}}var i=t,o=i.placement,s=o===void 0?e.placement:o,u=i.boundary,d=u===void 0?c:u,h=i.rootBoundary,m=h===void 0?v:h,g=i.elementContext,y=g===void 0?l:g,b=i.altBoundary,w=b===void 0?false:b,x=i.padding,O=x===void 0?0:x;var j=Z(typeof O!=="number"?O:$(O,f));var E=y===l?p:l;var D=e.rects.popper;var A=e.elements[w?E:y];var k=Me(M(A)?A:A.contextElement||F(e.elements.popper),d,m);var L=C(e.elements.reference);var P=Le({reference:L,element:D,strategy:"absolute",placement:s});var W=Ee(Object.assign({},D,P));var B=y===l?W:L;var H={top:k.top-B.top+j.top,bottom:B.bottom-k.bottom+j.bottom,left:k.left-B.left+j.left,right:B.right-k.right+j.right};var R=e.modifiersData.offset;if(y===l&&R){var S=R[s];Object.keys(H).forEach((function(e){var t=[a,n].indexOf(e)>=0?1:-1;var i=[r,n].indexOf(e)>=0?"y":"x";H[e]+=S[i]*t}))}return H}function We(e,t){if(t===void 0){t={}}var r=t,n=r.placement,a=r.boundary,i=r.rootBoundary,o=r.padding,s=r.flipVariations,u=r.allowedAutoPlacements,c=u===void 0?h:u;var v=ae(n);var l=v?s?d:d.filter((function(e){return ae(e)===v})):f;var p=l.filter((function(e){return c.indexOf(e)>=0}));if(p.length===0){p=l}var m=p.reduce((function(t,r){t[r]=Pe(e,{placement:r,boundary:a,rootBoundary:i,padding:o})[R(r)];return t}),{});return Object.keys(m).sort((function(e,t){return m[e]-m[t]}))}function Be(e){if(R(e)===o){return[]}var t=de(e);return[me(e),t,me(t)]}function He(e){var t=e.state,f=e.options,u=e.name;if(t.modifiersData[u]._skip){return}var c=f.mainAxis,v=c===void 0?true:c,l=f.altAxis,p=l===void 0?true:l,d=f.fallbackPlacements,h=f.padding,m=f.boundary,g=f.rootBoundary,y=f.altBoundary,b=f.flipVariations,w=b===void 0?true:b,x=f.allowedAutoPlacements;var O=t.options.placement;var j=R(O);var E=j===O;var D=d||(E||!w?[de(O)]:Be(O));var A=[O].concat(D).reduce((function(e,r){return e.concat(R(r)===o?We(t,{placement:r,boundary:m,rootBoundary:g,padding:h,flipVariations:w,allowedAutoPlacements:x}):r)}),[]);var k=t.rects.reference;var M=t.rects.popper;var L=new Map;var P=true;var W=A[0];for(var B=0;B<A.length;B++){var H=A[B];var S=R(H);var T=ae(H)===s;var _=[r,n].indexOf(S)>=0;var C=_?"width":"height";var q=Pe(t,{placement:H,boundary:m,rootBoundary:g,altBoundary:y,padding:h});var V=_?T?a:i:T?n:r;if(k[C]>M[C]){V=de(V)}var N=de(V);var I=[];if(v){I.push(q[S]<=0)}if(p){I.push(q[V]<=0,q[N]<=0)}if(I.every((function(e){return e}))){W=H;P=false;break}L.set(H,I)}if(P){var F=w?3:1;var U=function e(t){var r=A.find((function(e){var r=L.get(e);if(r){return r.slice(0,t).every((function(e){return e}))}}));if(r){W=r;return"break"}};for(var z=F;z>0;z--){var X=U(z);if(X==="break")break}}if(t.placement!==W){t.modifiersData[u]._skip=true;t.placement=W;t.reset=true}}var Re={name:"flip",enabled:true,phase:"main",fn:He,requiresIfExists:["offset"],data:{_skip:false}};function Se(e,t,r){if(r===void 0){r={x:0,y:0}}return{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Te(e){return[r,a,n,i].some((function(t){return e[t]>=0}))}function _e(e){var t=e.state,r=e.name;var n=t.rects.reference;var a=t.rects.popper;var i=t.modifiersData.preventOverflow;var o=Pe(t,{elementContext:"reference"});var f=Pe(t,{altBoundary:true});var s=Se(o,n);var u=Se(f,a,i);var c=Te(s);var v=Te(u);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:v};t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":v})}var Ce={name:"hide",enabled:true,phase:"main",requiresIfExists:["preventOverflow"],fn:_e};function qe(e,t,n){var o=R(e);var f=[i,r].indexOf(o)>=0?-1:1;var s=typeof n==="function"?n(Object.assign({},t,{placement:e})):n,u=s[0],c=s[1];u=u||0;c=(c||0)*f;return[i,a].indexOf(o)>=0?{x:c,y:u}:{x:u,y:c}}function Ve(e){var t=e.state,r=e.options,n=e.name;var a=r.offset,i=a===void 0?[0,0]:a;var o=h.reduce((function(e,r){e[r]=qe(r,t.rects,i);return e}),{});var f=o[t.placement],s=f.x,u=f.y;if(t.modifiersData.popperOffsets!=null){t.modifiersData.popperOffsets.x+=s;t.modifiersData.popperOffsets.y+=u}t.modifiersData[n]=o}var Ne={name:"offset",enabled:true,phase:"main",requires:["popperOffsets"],fn:Ve};function Ie(e){var t=e.state,r=e.name;t.modifiersData[r]=Le({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Fe={name:"popperOffsets",enabled:true,phase:"read",fn:Ie,data:{}};function Ue(e){return e==="x"?"y":"x"}function ze(e){var t=e.state,o=e.options,f=e.name;var u=o.mainAxis,c=u===void 0?true:u,v=o.altAxis,l=v===void 0?false:v,p=o.boundary,d=o.rootBoundary,h=o.altBoundary,m=o.padding,g=o.tether,y=g===void 0?true:g,b=o.tetherOffset,w=b===void 0?0:b;var x=Pe(t,{boundary:p,rootBoundary:d,padding:m,altBoundary:h});var O=R(t.placement);var j=ae(t.placement);var E=!j;var D=G(O);var A=Ue(D);var k=t.modifiersData.popperOffsets;var M=t.rects.reference;var L=t.rects.popper;var P=typeof w==="function"?w(Object.assign({},t.rects,{placement:t.placement})):w;var W=typeof P==="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P);var B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null;var H={x:0,y:0};if(!k){return}if(c){var _;var C=D==="y"?r:i;var V=D==="y"?n:a;var N=D==="y"?"height":"width";var I=k[D];var F=I+x[C];var U=I-x[V];var z=y?-L[N]/2:0;var X=j===s?M[N]:L[N];var Z=j===s?-L[N]:-M[N];var $=t.elements.arrow;var ee=y&&$?q($):{width:0,height:0};var te=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Q();var re=te[C];var ne=te[V];var ie=J(0,M[N],ee[N]);var oe=E?M[N]/2-z-ie-re-W.mainAxis:X-ie-re-W.mainAxis;var fe=E?-M[N]/2+z+ie+ne+W.mainAxis:Z+ie+ne+W.mainAxis;var se=t.elements.arrow&&Y(t.elements.arrow);var ue=se?D==="y"?se.clientTop||0:se.clientLeft||0:0;var ce=(_=B==null?void 0:B[D])!=null?_:0;var ve=I+oe-ce-ue;var le=I+fe-ce;var pe=J(y?T(F,ve):F,I,y?S(U,le):U);k[D]=pe;H[D]=pe-I}if(l){var de;var he=D==="x"?r:i;var me=D==="x"?n:a;var ge=k[A];var ye=A==="y"?"height":"width";var be=ge+x[he];var we=ge-x[me];var xe=[r,i].indexOf(O)!==-1;var Oe=(de=B==null?void 0:B[A])!=null?de:0;var je=xe?be:ge-M[ye]-L[ye]-Oe+W.altAxis;var Ee=xe?ge+M[ye]+L[ye]-Oe-W.altAxis:we;var De=y&&xe?K(je,ge,Ee):J(y?je:be,ge,y?Ee:we);k[A]=De;H[A]=De-ge}t.modifiersData[f]=H}var Xe={name:"preventOverflow",enabled:true,phase:"main",fn:ze,requiresIfExists:["offset"]};function Ye(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Ge(e){if(e===k(e)||!L(e)){return ge(e)}else{return Ye(e)}}function Je(e){var t=e.getBoundingClientRect();var r=_(t.width)/e.offsetWidth||1;var n=_(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Ke(e,t,r){if(r===void 0){r=false}var n=L(t);var a=L(t)&&Je(t);var i=F(t);var o=C(e,a);var f={scrollLeft:0,scrollTop:0};var s={x:0,y:0};if(n||!n&&!r){if(A(t)!=="body"||xe(i)){f=Ge(t)}if(L(t)){s=C(t,true);s.x+=t.clientLeft;s.y+=t.clientTop}else if(i){s.x=ye(i)}}return{x:o.left+f.scrollLeft-s.x,y:o.top+f.scrollTop-s.y,width:o.width,height:o.height}}function Qe(e){var t=new Map;var r=new Set;var n=[];e.forEach((function(e){t.set(e.name,e)}));function a(e){r.add(e.name);var i=[].concat(e.requires||[],e.requiresIfExists||[]);i.forEach((function(e){if(!r.has(e)){var n=t.get(e);if(n){a(n)}}}));n.push(e)}e.forEach((function(e){if(!r.has(e.name)){a(e)}}));return n}function Ze(e){var t=Qe(e);return D.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}function $e(e){var t;return function(){if(!t){t=new Promise((function(r){Promise.resolve().then((function(){t=undefined;r(e())}))}))}return t}}function et(e){var t=e.reduce((function(e,t){var r=e[t.name];e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t;return e}),{});return Object.keys(t).map((function(e){return t[e]}))}var tt={placement:"bottom",modifiers:[],strategy:"absolute"};function rt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++){t[r]=arguments[r]}return!t.some((function(e){return!(e&&typeof e.getBoundingClientRect==="function")}))}function nt(e){if(e===void 0){e={}}var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,i=a===void 0?tt:a;return function e(t,r,a){if(a===void 0){a=i}var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},tt,i),modifiersData:{},elements:{reference:t,popper:r},attributes:{},styles:{}};var f=[];var s=false;var u={state:o,setOptions:function e(a){var f=typeof a==="function"?a(o.options):a;v();o.options=Object.assign({},i,o.options,f);o.scrollParents={reference:M(t)?je(t):t.contextElement?je(t.contextElement):[],popper:je(r)};var s=Ze(et([].concat(n,o.options.modifiers)));o.orderedModifiers=s.filter((function(e){return e.enabled}));c();return u.update()},forceUpdate:function e(){if(s){return}var t=o.elements,r=t.reference,n=t.popper;if(!rt(r,n)){return}o.rects={reference:Ke(r,Y(n),o.options.strategy==="fixed"),popper:q(n)};o.reset=false;o.placement=o.options.placement;o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var a=0;a<o.orderedModifiers.length;a++){if(o.reset===true){o.reset=false;a=-1;continue}var i=o.orderedModifiers[a],f=i.fn,c=i.options,v=c===void 0?{}:c,l=i.name;if(typeof f==="function"){o=f({state:o,options:v,name:l,instance:u})||o}}},update:$e((function(){return new Promise((function(e){u.forceUpdate();e(o)}))})),destroy:function e(){v();s=true}};if(!rt(t,r)){return u}u.setOptions(a).then((function(e){if(!s&&a.onFirstUpdate){a.onFirstUpdate(e)}}));function c(){o.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=r===void 0?{}:r,a=e.effect;if(typeof a==="function"){var i=a({state:o,name:t,instance:u,options:n});var s=function e(){};f.push(i||s)}}))}function v(){f.forEach((function(e){return e()}));f=[]}return u}}var at=[le,Fe,ue,H,Ne,Re,Xe,ne,Ce];var it=nt({defaultModifiers:at});var ot=e("C",{animation:"calcite-popper-anim",animationActive:"calcite-popper-anim--active"});function ft(e,r){var n=["left","right"];var a=["start","end"];if(t(e)==="rtl"){n.reverse();a.reverse()}return r.replace(/-leading/gi,"-"+a[0]).replace(/-trailing/gi,"-"+a[1]).replace(/leading/gi,n[0]).replace(/trailing/gi,n[1])}function st(e){var t=e.referenceEl,r=e.el,n=e.placement,a=e.overlayPositioning,i=a===void 0?"absolute":a,o=e.modifiers;if(!t){return null}return it(t,r,{strategy:i,placement:ft(r,n),modifiers:o})}function ut(e){var t=e.el,r=e.modifiers,n=e.placement,a=e.popper;return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){switch(i.label){case 0:e=ft(t,n);return[4,a.setOptions({modifiers:r,placement:e})];case 1:i.sent();return[2]}}))}))}function ct(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))}var vt=4;var lt=e("d",Math.ceil(ct(vt,vt)))}}}));
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ */
5
+ System.register(["./p-288bc438.system.js","./p-6cc23c39.system.js","./p-e095517f.system.js","./p-e020662f.system.js"],(function(t){"use strict";var e,a,i,n,o,r,l,c,s;return{setters:[function(t){e=t.r;a=t.h;i=t.F;n=t.g;o=t.c;r=t.f},function(t){l=t.g;c=t.a},function(t){s=t.c},function(){}],execute:function(){var d={main:"main",mainReversed:"main--reversed",content:"content",contentBehind:"content--behind",footer:"footer"};var m={centerRow:"center-row",primaryPanel:"primary-panel",contextualPanel:"contextual-panel",header:"header",footer:"footer"};var p="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{width:100%;height:100%;position:absolute;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden;top:0;right:0;bottom:0;left:0;--calcite-shell-tip-spacing:26vw}.main{height:100%;width:100%;-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;position:relative;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden}.main--reversed{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;height:100%;overflow:auto;width:100%}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){-ms-flex-item-align:stretch;align-self:stretch;-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}.content--behind{border-width:0;position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;display:initial}::slotted(calcite-shell-center-row){width:unset}::slotted(.header .heading){font-weight:var(--calcite-font-weight-normal);font-size:var(--calcite-font-size--2);line-height:1.375}::slotted(calcite-shell-panel),::slotted(calcite-shell-center-row){position:relative;z-index:1}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-color:var(--calcite-ui-border-3);border-style:solid;border-left-width:0;border-right-width:0}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])){border-left-width:1px;border-right-width:1px;border-color:var(--calcite-ui-border-3)}::slotted(calcite-tip-manager){border-radius:0.25rem;-webkit-box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);position:absolute;-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;-webkit-box-sizing:border-box;box-sizing:border-box;bottom:0.5rem;left:var(--calcite-shell-tip-spacing);right:var(--calcite-shell-tip-spacing);z-index:2}";var h=t("calcite_shell",function(){function t(t){e(this,t);this.contentBehind=false}t.prototype.renderHeader=function(){var t=!!l(this.el,m.header);return t?a("slot",{name:m.header}):null};t.prototype.renderContent=function(){var t;var e=!!this.contentBehind?[a("div",{class:(t={},t[d.content]=true,t[d.contentBehind]=!!this.contentBehind,t)},a("slot",null)),a("slot",{name:m.centerRow})]:[a("div",{class:d.content},a("slot",null),a("slot",{name:m.centerRow}))];return e};t.prototype.renderFooter=function(){var t=!!l(this.el,m.footer);return t?a("div",{class:d.footer},a("slot",{name:m.footer})):null};t.prototype.renderMain=function(){var t;var e=l(this.el,m.primaryPanel);var i=(t={},t[d.main]=true,t[d.mainReversed]=(e===null||e===void 0?void 0:e.position)==="end",t);return a("div",{class:i},a("slot",{name:m.primaryPanel}),this.renderContent(),a("slot",{name:m.contextualPanel}))};t.prototype.render=function(){return a(i,null,this.renderHeader(),this.renderMain(),this.renderFooter())};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());h.style=p;var f={actionBarContainer:"action-bar-container",content:"content"};var u={actionBar:"action-bar"};var b="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{display:-ms-flexbox;display:flex;height:100%;margin:0;overflow:hidden;width:100%;-ms-flex:1 0 0px;flex:1 0 0}.action-bar-container{display:-ms-flexbox;display:flex}:host([detached]){border-width:0;border-radius:0.25rem;-webkit-box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);margin-top:0.5rem;margin-bottom:1.5rem;margin-left:0.5rem;margin-right:0.5rem;-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out}:host([position=end]){-ms-flex-item-align:end;align-self:flex-end}:host([position=start]){-ms-flex-item-align:start;align-self:flex-start}:host([height-scale=s]){height:33.333333%}:host([height-scale=m]){height:70%}:host([height-scale=l]){height:100%}:host([height-scale=l][detached]){height:calc(100% - 2rem)}::slotted(calcite-panel){width:100%;height:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){-webkit-border-end:1px solid;border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}";var w=t("calcite_shell_center_row",function(){function t(t){e(this,t);this.detached=false;this.heightScale="s";this.position="end"}t.prototype.render=function(){var t=this.el;var e=a("div",{class:f.content},a("slot",null));var n=l(t,u.actionBar);var o=n?a("div",{class:f.actionBarContainer},a("slot",{name:u.actionBar})):null;var r=[o,e];if((n===null||n===void 0?void 0:n.position)==="end"){r.reverse()}return a(i,null,r)};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());w.style=b;var x={container:"container",content:"content",contentHeader:"content__header",contentBody:"content__body",contentDetached:"content--detached",separator:"separator"};var v={actionBar:"action-bar",header:"header"};var y={resize:"Resize"};var g="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-ms-flex:0 1 auto;flex:0 1 auto;pointer-events:none;--calcite-shell-panel-detached-max-height:unset}.container{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;-ms-flex:1 1 auto;flex:1 1 auto;pointer-events:none;color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{position:absolute;background-color:transparent;bottom:0;display:-ms-flexbox;display:flex;height:100%;opacity:0;pointer-events:auto;top:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;width:0.125rem;z-index:10;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([position=start]) .separator{inset-inline-end:-2px}:host([position=end]) .separator{inset-inline-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){-ms-flex:1 1 auto;flex:1 1 auto;height:100%;width:100%;max-height:unset;max-width:unset}::slotted(.calcite-match-height){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.content{-ms-flex-align:stretch;align-items:stretch;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-background);display:-ms-flexbox;display:flex;padding:0;pointer-events:auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:var(--calcite-shell-panel-width);max-width:var(--calcite-shell-panel-max-width);min-width:var(--calcite-shell-panel-min-width);-webkit-transition:max-height 150ms ease-in-out, max-width 150ms ease-in-out;transition:max-height 150ms ease-in-out, max-width 150ms ease-in-out}.content__header{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}.content__body{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host([width-scale=s]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}:host([detached-height-scale=s]) .content--detached{--calcite-shell-panel-detached-max-height:40vh}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height:60vh}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height:80vh}.content--detached{border-radius:0.25rem;-webkit-box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);height:auto;overflow:hidden;margin-top:0.5rem;margin-bottom:auto;margin-left:0.5rem;margin-right:0.5rem;max-height:var(--calcite-shell-panel-detached-max-height)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-height:unset}:host([position=start]) .content--detached ::slotted(calcite-panel),:host([position=start]) .content--detached ::slotted(calcite-flow),:host([position=end]) .content--detached ::slotted(calcite-panel),:host([position=end]) .content--detached ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel){border-width:1px;border-color:var(--calcite-ui-border-3);border-style:solid}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){-webkit-border-start:none;border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){-webkit-border-end:none;border-inline-end:none}";var k=t("calcite_shell_panel",function(){function t(t){var a=this;e(this,t);this.calciteShellPanelToggle=o(this,"calciteShellPanelToggle",7);this.collapsed=false;this.detached=false;this.detachedHeightScale="l";this.widthScale="m";this.intlResize=y.resize;this.resizable=false;this.contentWidth=null;this.initialContentWidth=null;this.initialClientX=null;this.contentWidthMax=null;this.contentWidthMin=null;this.step=1;this.stepMultiplier=10;this.storeContentEl=function(t){a.contentEl=t};this.getKeyAdjustedWidth=function(t){var e=t.key;var i=a,n=i.el,o=i.step,r=i.stepMultiplier,l=i.contentWidthMin,s=i.contentWidthMax,d=i.initialContentWidth,m=i.position;var p=o*r;var h=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"];if(h.indexOf(e)>-1){t.preventDefault()}var f=c(n);var u=["ArrowLeft","ArrowRight"];var b=f==="rtl"&&u.includes(e)?-1:1;var w=e==="ArrowUp"||(m==="end"?e===u[0]:e===u[1]);if(w){var x=t.shiftKey?p:o;return d+b*x}var v=e==="ArrowDown"||(m==="end"?e===u[1]:e===u[0]);if(v){var x=t.shiftKey?p:o;return d-b*x}if(typeof l==="number"&&e==="Home"){return l}if(typeof s==="number"&&e==="End"){return s}if(e==="PageDown"){return d-p}if(e==="PageUp"){return d+p}return null};this.separatorKeyDown=function(t){a.setInitialContentWidth();var e=a.getKeyAdjustedWidth(t);if(typeof e==="number"){a.setContentWidth(e)}};this.separatorPointerMove=function(t){t.preventDefault();var e=a,i=e.el,n=e.initialContentWidth,o=e.position,r=e.initialClientX;var l=t.clientX-r;var s=c(i);var d=s==="rtl"?-1:1;var m=o==="end"?-d*l:d*l;var p=n+m;a.setContentWidth(p)};this.separatorPointerUp=function(t){t.preventDefault();document.removeEventListener("pointerup",a.separatorPointerUp);document.removeEventListener("pointermove",a.separatorPointerMove)};this.setInitialContentWidth=function(){var t;a.initialContentWidth=(t=a.contentEl)===null||t===void 0?void 0:t.getBoundingClientRect().width};this.separatorPointerDown=function(t){t.preventDefault();var e=a.separatorEl;e&&document.activeElement!==e&&e.focus();a.setInitialContentWidth();a.initialClientX=t.clientX;document.addEventListener("pointerup",a.separatorPointerUp);document.addEventListener("pointermove",a.separatorPointerMove)};this.connectSeparator=function(t){a.disconnectSeparator();a.separatorEl=t;t.addEventListener("pointerdown",a.separatorPointerDown)};this.disconnectSeparator=function(){var t;(t=a.separatorEl)===null||t===void 0?void 0:t.removeEventListener("pointerdown",a.separatorPointerDown)}}t.prototype.watchHandler=function(){this.calciteShellPanelToggle.emit()};t.prototype.disconnectedCallback=function(){this.disconnectSeparator()};t.prototype.componentDidLoad=function(){this.updateAriaValues()};t.prototype.renderHeader=function(){var t=this.el;var e=l(t,v.header);return e?a("div",{class:x.contentHeader},a("slot",{name:v.header})):null};t.prototype.render=function(){var t,e;var i=this,n=i.collapsed,o=i.detached,r=i.position,l=i.initialContentWidth,c=i.contentWidth,s=i.contentWidthMax,d=i.contentWidthMin,m=i.intlResize,p=i.resizable;var h=!o&&p;var f=a("div",{class:(t={},t[x.content]=true,t[x.contentDetached]=o,t),hidden:n,ref:this.storeContentEl,style:h&&c?{width:c+"px"}:null},this.renderHeader(),a("div",{class:x.contentBody},a("slot",null)));var u=h?a("div",{"aria-label":m,"aria-orientation":"horizontal","aria-valuemax":s,"aria-valuemin":d,"aria-valuenow":c!==null&&c!==void 0?c:l,class:x.separator,onKeyDown:this.separatorKeyDown,ref:this.connectSeparator,role:"separator",tabIndex:0,"touch-action":"none"}):null;var b=a("slot",{name:v.actionBar});var w=[b,f,u];if(r==="end"){w.reverse()}return a("div",{class:(e={},e[x.container]=true,e)},w)};t.prototype.setContentWidth=function(t){var e=this,a=e.contentWidthMax,i=e.contentWidthMin;var n=Math.round(t);this.contentWidth=typeof a==="number"&&typeof i==="number"?s(n,i,a):n};t.prototype.updateAriaValues=function(){var t=this.contentEl;var e=t&&getComputedStyle(t);if(!e){return}var a=parseInt(e.getPropertyValue("max-width"),10);var i=parseInt(e.getPropertyValue("min-width"),10);var n=parseInt(e.getPropertyValue("width"),10);if(typeof n==="number"&&!isNaN(n)){this.initialContentWidth=n}if(typeof a==="number"&&!isNaN(a)){this.contentWidthMax=a}if(typeof i==="number"&&!isNaN(i)){this.contentWidthMin=i}r(this)};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{collapsed:["watchHandler"]}},enumerable:false,configurable:true});return t}());k.style=g}}}));