@esri/solutions-components 0.8.37 → 0.8.38

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1172) hide show
  1. package/dist/assets/t9n/layer-list/resources_ar.json +1 -1
  2. package/dist/assets/t9n/layer-list/resources_bg.json +1 -1
  3. package/dist/assets/t9n/layer-list/resources_bs.json +1 -1
  4. package/dist/assets/t9n/layer-list/resources_ca.json +1 -1
  5. package/dist/assets/t9n/layer-list/resources_cs.json +1 -1
  6. package/dist/assets/t9n/layer-list/resources_da.json +1 -1
  7. package/dist/assets/t9n/layer-list/resources_de.json +1 -1
  8. package/dist/assets/t9n/layer-list/resources_el.json +1 -1
  9. package/dist/assets/t9n/layer-list/resources_es.json +1 -1
  10. package/dist/assets/t9n/layer-list/resources_et.json +1 -1
  11. package/dist/assets/t9n/layer-list/resources_fi.json +1 -1
  12. package/dist/assets/t9n/layer-list/resources_fr.json +1 -1
  13. package/dist/assets/t9n/layer-list/resources_he.json +1 -1
  14. package/dist/assets/t9n/layer-list/resources_hr.json +1 -1
  15. package/dist/assets/t9n/layer-list/resources_hu.json +1 -1
  16. package/dist/assets/t9n/layer-list/resources_id.json +1 -1
  17. package/dist/assets/t9n/layer-list/resources_it.json +1 -1
  18. package/dist/assets/t9n/layer-list/resources_ja.json +1 -1
  19. package/dist/assets/t9n/layer-list/resources_ko.json +1 -1
  20. package/dist/assets/t9n/layer-list/resources_lt.json +1 -1
  21. package/dist/assets/t9n/layer-list/resources_lv.json +1 -1
  22. package/dist/assets/t9n/layer-list/resources_nb.json +1 -1
  23. package/dist/assets/t9n/layer-list/resources_nl.json +1 -1
  24. package/dist/assets/t9n/layer-list/resources_pl.json +1 -1
  25. package/dist/assets/t9n/layer-list/resources_pt-BR.json +1 -1
  26. package/dist/assets/t9n/layer-list/resources_pt-PT.json +1 -1
  27. package/dist/assets/t9n/layer-list/resources_ro.json +1 -1
  28. package/dist/assets/t9n/layer-list/resources_ru.json +1 -1
  29. package/dist/assets/t9n/layer-list/resources_sk.json +1 -1
  30. package/dist/assets/t9n/layer-list/resources_sl.json +1 -1
  31. package/dist/assets/t9n/layer-list/resources_sr.json +1 -1
  32. package/dist/assets/t9n/layer-list/resources_sv.json +1 -1
  33. package/dist/assets/t9n/layer-list/resources_th.json +1 -1
  34. package/dist/assets/t9n/layer-list/resources_tr.json +1 -1
  35. package/dist/assets/t9n/layer-list/resources_uk.json +1 -1
  36. package/dist/assets/t9n/layer-list/resources_vi.json +1 -1
  37. package/dist/assets/t9n/layer-list/resources_zh-CN.json +1 -1
  38. package/dist/assets/t9n/layer-list/resources_zh-HK.json +1 -1
  39. package/dist/assets/t9n/layer-list/resources_zh-TW.json +1 -1
  40. package/dist/cjs/ExpandToggle-1ff416a1.js +118 -0
  41. package/dist/cjs/FloatingArrow-ba8caba2.js +50 -0
  42. package/dist/cjs/Heading-f1f9e2dd.js +25 -0
  43. package/dist/cjs/Validation-425b2de4.js +20 -0
  44. package/dist/cjs/ar-a2f57db2.js +105 -0
  45. package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
  46. package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
  47. package/dist/cjs/bg-cb903045.js +83 -0
  48. package/dist/cjs/breakpoints-7d21666f.js +17 -0
  49. package/dist/cjs/browser-d12b6cd5.js +25 -0
  50. package/dist/cjs/bs-3690f22d.js +52 -0
  51. package/dist/cjs/buffer-tools_3.cjs.entry.js +4 -4
  52. package/dist/cjs/ca-fec18921.js +72 -0
  53. package/dist/cjs/calcite-accordion-item.cjs.entry.js +4 -4
  54. package/dist/cjs/calcite-accordion.cjs.entry.js +2 -2
  55. package/dist/cjs/calcite-action-bar.cjs.entry.js +7 -7
  56. package/dist/cjs/calcite-action-group.cjs.entry.js +6 -6
  57. package/dist/cjs/calcite-action-menu_3.cjs.entry.js +9 -9
  58. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +10 -10
  59. package/dist/cjs/calcite-action_2.cjs.entry.js +7 -7
  60. package/dist/cjs/calcite-alert_4.cjs.entry.js +12 -12
  61. package/dist/cjs/calcite-avatar_2.cjs.entry.js +2 -2
  62. package/dist/cjs/calcite-block-section.cjs.entry.js +5 -5
  63. package/dist/cjs/calcite-block_5.cjs.entry.js +54 -53
  64. package/dist/cjs/calcite-button.cjs.entry.js +9 -9
  65. package/dist/cjs/calcite-card-group.cjs.entry.js +4 -4
  66. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  67. package/dist/cjs/calcite-carousel-item.cjs.entry.js +1 -1
  68. package/dist/cjs/calcite-carousel.cjs.entry.js +7 -7
  69. package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -5
  70. package/dist/cjs/calcite-chip-group.cjs.entry.js +4 -4
  71. package/dist/cjs/calcite-chip_2.cjs.entry.js +10 -10
  72. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +2 -2
  73. package/dist/cjs/calcite-color-picker.cjs.entry.js +7 -7
  74. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +2 -2
  75. package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
  76. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +8 -8
  77. package/dist/cjs/calcite-dropdown-group_2.cjs.entry.js +6 -6
  78. package/dist/cjs/calcite-dropdown_2.cjs.entry.js +8 -8
  79. package/dist/cjs/calcite-fab.cjs.entry.js +4 -4
  80. package/dist/cjs/calcite-filter_5.cjs.entry.js +7 -7
  81. package/dist/cjs/calcite-flow_6.cjs.entry.js +19 -24
  82. package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
  83. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  84. package/dist/cjs/calcite-input-number.cjs.entry.js +9 -9
  85. package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
  86. package/dist/cjs/calcite-input-time-picker-686f45e7.js +1864 -0
  87. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +12 -12
  88. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +8 -8
  89. package/dist/cjs/calcite-input_2.cjs.entry.js +9 -9
  90. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  91. package/dist/cjs/calcite-link.cjs.entry.js +4 -4
  92. package/dist/cjs/calcite-list-item-group.cjs.entry.js +3 -3
  93. package/dist/cjs/calcite-menu-item.cjs.entry.js +5 -5
  94. package/dist/cjs/calcite-menu.cjs.entry.js +5 -5
  95. package/dist/cjs/calcite-meter.cjs.entry.js +5 -5
  96. package/dist/cjs/calcite-modal.cjs.entry.js +7 -7
  97. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
  98. package/dist/cjs/calcite-navigation.cjs.entry.js +2 -2
  99. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  100. package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
  101. package/dist/cjs/calcite-option_2.cjs.entry.js +7 -7
  102. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  103. package/dist/cjs/calcite-panel_2.cjs.entry.js +9 -9
  104. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +4 -4
  105. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +8 -8
  106. package/dist/cjs/calcite-pick-list.cjs.entry.js +6 -6
  107. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  108. package/dist/cjs/calcite-radio-button.cjs.entry.js +5 -5
  109. package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
  110. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +7 -7
  111. package/dist/cjs/calcite-sheet.cjs.entry.js +4 -4
  112. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +3 -3
  113. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +15 -15
  114. package/dist/cjs/calcite-sortable-list.cjs.entry.js +4 -4
  115. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  116. package/dist/cjs/calcite-stepper-item.cjs.entry.js +8 -8
  117. package/dist/cjs/calcite-stepper.cjs.entry.js +4 -4
  118. package/dist/cjs/calcite-switch.cjs.entry.js +5 -5
  119. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +7 -7
  120. package/dist/cjs/calcite-table-row.cjs.entry.js +3 -3
  121. package/dist/cjs/calcite-table.cjs.entry.js +6 -6
  122. package/dist/cjs/calcite-text-area.cjs.entry.js +9 -9
  123. package/dist/cjs/calcite-tile-group.cjs.entry.js +4 -4
  124. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +3 -3
  125. package/dist/cjs/calcite-tile-select.cjs.entry.js +4 -4
  126. package/dist/cjs/calcite-tile.cjs.entry.js +4 -4
  127. package/dist/cjs/calcite-time-picker.cjs.entry.js +6 -6
  128. package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
  129. package/dist/cjs/calcite-tip-manager.cjs.entry.js +5 -5
  130. package/dist/cjs/calcite-tip.cjs.entry.js +6 -6
  131. package/dist/cjs/calcite-tooltip.cjs.entry.js +4 -4
  132. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  133. package/dist/cjs/card-manager_3.cjs.entry.js +6 -6
  134. package/dist/cjs/common-03600219.js +38 -0
  135. package/dist/cjs/conditionalSlot-349d1b3a.js +54 -0
  136. package/dist/cjs/consent-manager.cjs.entry.js +10 -1031
  137. package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -3
  138. package/dist/cjs/crowdsource-reporter.cjs.entry.js +3 -3
  139. package/dist/cjs/cs-b061b441.js +148 -0
  140. package/dist/cjs/da-e3c379ae.js +67 -0
  141. package/dist/cjs/date-874bf94e.js +261 -0
  142. package/dist/cjs/de-65d2876f.js +92 -0
  143. package/dist/cjs/de-at-16b7b50e.js +91 -0
  144. package/dist/cjs/de-ch-11dcd113.js +91 -0
  145. package/dist/cjs/deduct-calculator.cjs.entry.js +2 -2
  146. package/dist/cjs/downloadUtils-839a1425.js +3165 -0
  147. package/dist/cjs/el-321d43b5.js +67 -0
  148. package/dist/cjs/en-au-c48e6b73.js +67 -0
  149. package/dist/cjs/en-ca-9cc0e8f7.js +66 -0
  150. package/dist/cjs/en-gb-8ced841b.js +70 -0
  151. package/dist/cjs/es-aca5e6b4.js +67 -0
  152. package/dist/cjs/es-mx-b69f0ebb.js +66 -0
  153. package/dist/cjs/et-7e29340d.js +93 -0
  154. package/dist/cjs/feature-comments.cjs.entry.js +1 -1
  155. package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
  156. package/dist/cjs/feature-list.cjs.entry.js +7 -7
  157. package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
  158. package/dist/cjs/fi-f215f4d1.js +116 -0
  159. package/dist/cjs/floating-ui-beb70d3c.js +2295 -0
  160. package/dist/cjs/form-71a108a7.js +381 -0
  161. package/dist/cjs/fr-0daba4be.js +69 -0
  162. package/dist/cjs/fr-ch-76f752e9.js +67 -0
  163. package/dist/cjs/he-32860a76.js +106 -0
  164. package/dist/cjs/helpers-7cee3150.js +940 -0
  165. package/dist/cjs/hi-c5639f76.js +66 -0
  166. package/dist/cjs/hr-eb700fd5.js +81 -0
  167. package/dist/cjs/hu-e30e3d3a.js +89 -0
  168. package/dist/cjs/id-a3e96e5b.js +67 -0
  169. package/dist/cjs/index-97020c9d.js +201 -0
  170. package/dist/cjs/index-ff18be0d.js +1739 -0
  171. package/dist/cjs/index.es-dd4d4842.js +11317 -0
  172. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +8 -8
  173. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +3 -3
  174. package/dist/cjs/instant-apps-create.cjs.entry.js +52 -50
  175. package/dist/cjs/instant-apps-export.cjs.entry.js +6 -6
  176. package/dist/cjs/instant-apps-header.cjs.entry.js +6 -6
  177. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +142 -141
  178. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +6 -6
  179. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +7 -7
  180. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +11 -11
  181. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +6 -6
  182. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +5 -5
  183. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +12 -12
  184. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +8 -8
  185. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +8 -8
  186. package/dist/cjs/instant-apps-measurement.cjs.entry.js +5 -5
  187. package/dist/cjs/instant-apps-popover.cjs.entry.js +5 -5
  188. package/dist/cjs/instant-apps-popovers.cjs.entry.js +2 -2
  189. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +6 -6
  190. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +7 -7
  191. package/dist/cjs/instant-apps-splash.cjs.entry.js +11 -11
  192. package/dist/cjs/interactive-7e5c7df4.js +154 -0
  193. package/dist/cjs/it-acd3cf54.js +67 -0
  194. package/dist/cjs/it-ch-c78435e7.js +67 -0
  195. package/dist/cjs/ja-ede2132a.js +73 -0
  196. package/dist/cjs/ko-fcd96551.js +73 -0
  197. package/dist/cjs/languageSwitcher-1154d55d.js +60 -0
  198. package/dist/cjs/languageUtil-d23251cd.js +69 -0
  199. package/dist/cjs/layout-manager.cjs.entry.js +2 -2
  200. package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
  201. package/dist/cjs/loadModules-4189814e.js +23 -0
  202. package/dist/cjs/loadable-5d538ba2.js +94 -0
  203. package/dist/cjs/loader.cjs.js +1 -1
  204. package/dist/cjs/locale-62f4cef2.js +91 -0
  205. package/dist/cjs/locale-6973733d.js +161 -0
  206. package/dist/cjs/locale-d2a1066a.js +584 -0
  207. package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
  208. package/dist/cjs/lt-a30330ef.js +98 -0
  209. package/dist/cjs/lv-ac3b6560.js +67 -0
  210. package/dist/cjs/map-select-tools_3.cjs.entry.js +8 -8
  211. package/dist/cjs/mapViewUtils-78b14528.js +510 -0
  212. package/dist/cjs/mk-a3053dea.js +67 -0
  213. package/dist/cjs/mode-3478ba36.js +19 -0
  214. package/dist/cjs/nb-7ab0bac1.js +68 -0
  215. package/dist/cjs/nl-7fa437ef.js +68 -0
  216. package/dist/cjs/observers-2a59d471.js +55 -0
  217. package/dist/cjs/openCloseComponent-e752f2a5.js +92 -0
  218. package/dist/cjs/pci-calculator.cjs.entry.js +2 -2
  219. package/dist/cjs/pciUtils-f1adcf64.js +847 -0
  220. package/dist/cjs/pl-ea95b104.js +115 -0
  221. package/dist/cjs/popupUtils-bae7f923.js +111 -0
  222. package/dist/cjs/pt-472083c2.js +68 -0
  223. package/dist/cjs/pt-br-5f18543e.js +66 -0
  224. package/dist/cjs/public-notification.cjs.entry.js +28 -16
  225. package/dist/cjs/publicNotificationStore-691f6f30.js +47 -0
  226. package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
  227. package/dist/cjs/restHelpersGet-afc74285.js +919 -0
  228. package/dist/cjs/ro-e8b3d65c.js +67 -0
  229. package/dist/cjs/ru-becefd01.js +127 -0
  230. package/dist/cjs/share-item.cjs.entry.js +1 -1
  231. package/dist/cjs/shared-list-render-6491aae1.js +365 -0
  232. package/dist/cjs/sk-2f5fd4e0.js +149 -0
  233. package/dist/cjs/sl-3ae17da6.js +169 -0
  234. package/dist/cjs/solution-configuration.cjs.entry.js +6 -6
  235. package/dist/cjs/solution-contents_3.cjs.entry.js +7 -7
  236. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  237. package/dist/cjs/solution-resource-ffe3c333.js +145 -0
  238. package/dist/cjs/solution-store-c8bada29.js +1344 -0
  239. package/dist/cjs/solutions-components.cjs.js +2 -2
  240. package/dist/cjs/spatial-ref.cjs.entry.js +4 -4
  241. package/dist/cjs/sr-7d6b8d1b.js +102 -0
  242. package/dist/cjs/store-manager.cjs.entry.js +1 -1
  243. package/dist/cjs/styles-ef2b1e04.js +13 -0
  244. package/dist/cjs/sv-9c51da5c.js +72 -0
  245. package/dist/cjs/t9n-ef615628.js +100 -0
  246. package/dist/cjs/th-fec0a074.js +66 -0
  247. package/dist/cjs/time-089ab043.js +289 -0
  248. package/dist/cjs/tr-8d7c18a1.js +67 -0
  249. package/dist/cjs/uk-46a61312.js +105 -0
  250. package/dist/cjs/utils-1de4eaa0.js +130 -0
  251. package/dist/cjs/utils-d237cb85.js +65 -0
  252. package/dist/cjs/vi-4114aa90.js +71 -0
  253. package/dist/cjs/zh-cn-30aca6fe.js +95 -0
  254. package/dist/cjs/zh-hk-5971eb67.js +72 -0
  255. package/dist/cjs/zh-tw-5fb5e7a9.js +93 -0
  256. package/dist/collection/collection-manifest.json +1 -1
  257. package/dist/collection/components/consent-manager/consent-manager.js +1 -0
  258. package/dist/collection/components/feature-details/feature-details.js +10 -15
  259. package/dist/collection/components/public-notification/public-notification.js +20 -8
  260. package/dist/collection/utils/mapViewUtils.js +2 -0
  261. package/dist/collection/utils/mapViewUtils.ts +2 -0
  262. package/dist/collection/utils/pciUtils.js +1 -1
  263. package/dist/collection/utils/pciUtils.ts +2 -2
  264. package/dist/components/breakpoints.js +5 -5
  265. package/dist/components/button.js +1 -1
  266. package/dist/components/calcite-accordion-item.js +1 -1
  267. package/dist/components/calcite-navigation-logo.js +1 -1
  268. package/dist/components/calcite-stepper-item.js +1 -1
  269. package/dist/components/combobox-item.js +1 -1
  270. package/dist/components/consent-manager.js +7 -1029
  271. package/dist/components/deduct-calculator2.js +1 -1
  272. package/dist/components/dropdown-item.js +1 -1
  273. package/dist/components/feature-details2.js +10 -15
  274. package/dist/components/helpers.js +723 -691
  275. package/dist/components/instant-apps-ckeditor-wrapper2.js +1 -1
  276. package/dist/components/instant-apps-control-panel.js +1 -1
  277. package/dist/components/instant-apps-create.js +47 -45
  278. package/dist/components/instant-apps-export.js +1 -1
  279. package/dist/components/instant-apps-filter-list2.js +24 -24
  280. package/dist/components/instant-apps-header2.js +2 -2
  281. package/dist/components/instant-apps-interactive-legend-classic2.js +139 -138
  282. package/dist/components/instant-apps-interactive-legend-count2.js +1 -1
  283. package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +3 -3
  284. package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +2 -2
  285. package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +2 -2
  286. package/dist/components/instant-apps-interactive-legend-layer-element2.js +2 -2
  287. package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +1 -1
  288. package/dist/components/instant-apps-interactive-legend-legend-element2.js +2 -2
  289. package/dist/components/instant-apps-interactive-legend-relationship2.js +2 -2
  290. package/dist/components/instant-apps-keyboard-shortcuts.js +1 -1
  291. package/dist/components/instant-apps-landing-page.js +10 -10
  292. package/dist/components/instant-apps-language-switcher.js +1 -1
  293. package/dist/components/instant-apps-language-translator-search2.js +1 -1
  294. package/dist/components/instant-apps-language-translator2.js +44 -44
  295. package/dist/components/instant-apps-measurement-tool2.js +2 -2
  296. package/dist/components/instant-apps-measurement.js +1 -1
  297. package/dist/components/instant-apps-popover.js +1 -1
  298. package/dist/components/instant-apps-popovers.js +1 -1
  299. package/dist/components/instant-apps-scoreboard.js +1 -1
  300. package/dist/components/instant-apps-sign-in2.js +3 -3
  301. package/dist/components/instant-apps-social-share2.js +12 -11
  302. package/dist/components/instant-apps-splash.js +7 -7
  303. package/dist/components/languageUtil.js +43 -43
  304. package/dist/components/loadModules2.js +3 -3
  305. package/dist/components/locale3.js +58 -58
  306. package/dist/components/mapViewUtils.js +2 -0
  307. package/dist/components/mode.js +6 -6
  308. package/dist/components/public-notification.js +20 -8
  309. package/dist/components/restHelpersGet.js +329 -382
  310. package/dist/components/solution-resource.js +107 -107
  311. package/dist/components/solution-store.js +482 -482
  312. package/dist/components/store.js +66 -66
  313. package/dist/components/styles.js +1 -1
  314. package/dist/components/tab-title.js +1 -1
  315. package/dist/components/tree-item.js +1 -1
  316. package/dist/components/utils4.js +80 -80
  317. package/dist/esm/ExpandToggle-12c73c9f.js +110 -0
  318. package/dist/esm/FloatingArrow-5585c8f7.js +48 -0
  319. package/dist/esm/Heading-63031c74.js +22 -0
  320. package/dist/esm/Validation-6712b322.js +18 -0
  321. package/dist/esm/ar-19d4f5c7.js +103 -0
  322. package/dist/esm/arcgis-login.entry.js +1 -1
  323. package/dist/esm/basemap-gallery_7.entry.js +3 -3
  324. package/dist/esm/bg-63235b1a.js +81 -0
  325. package/dist/esm/breakpoints-3afa0fd9.js +15 -0
  326. package/dist/esm/browser-e76c94f7.js +23 -0
  327. package/dist/esm/bs-a1b74ac8.js +50 -0
  328. package/dist/esm/buffer-tools_3.entry.js +5 -5
  329. package/dist/esm/ca-b29c38ed.js +70 -0
  330. package/dist/esm/calcite-accordion-item.entry.js +4 -4
  331. package/dist/esm/calcite-accordion.entry.js +2 -2
  332. package/dist/esm/calcite-action-bar.entry.js +7 -7
  333. package/dist/esm/calcite-action-group.entry.js +6 -6
  334. package/dist/esm/calcite-action-menu_3.entry.js +9 -9
  335. package/dist/esm/calcite-action-pad_2.entry.js +11 -11
  336. package/dist/esm/calcite-action_2.entry.js +7 -7
  337. package/dist/esm/calcite-alert_4.entry.js +13 -13
  338. package/dist/esm/calcite-avatar_2.entry.js +2 -2
  339. package/dist/esm/calcite-block-section.entry.js +5 -5
  340. package/dist/esm/calcite-block_5.entry.js +55 -54
  341. package/dist/esm/calcite-button.entry.js +9 -9
  342. package/dist/esm/calcite-card-group.entry.js +4 -4
  343. package/dist/esm/calcite-card.entry.js +7 -7
  344. package/dist/esm/calcite-carousel-item.entry.js +1 -1
  345. package/dist/esm/calcite-carousel.entry.js +7 -7
  346. package/dist/esm/calcite-checkbox.entry.js +5 -5
  347. package/dist/esm/calcite-chip-group.entry.js +4 -4
  348. package/dist/esm/calcite-chip_2.entry.js +10 -10
  349. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +2 -2
  350. package/dist/esm/calcite-color-picker.entry.js +7 -7
  351. package/dist/esm/calcite-combobox-item-group.entry.js +2 -2
  352. package/dist/esm/calcite-combobox_3.entry.js +12 -12
  353. package/dist/esm/calcite-date-picker-day_3.entry.js +8 -8
  354. package/dist/esm/calcite-dropdown-group_2.entry.js +7 -7
  355. package/dist/esm/calcite-dropdown_2.entry.js +8 -8
  356. package/dist/esm/calcite-fab.entry.js +4 -4
  357. package/dist/esm/calcite-filter_5.entry.js +7 -7
  358. package/dist/esm/calcite-flow_6.entry.js +20 -25
  359. package/dist/esm/calcite-icon.entry.js +2 -2
  360. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  361. package/dist/esm/calcite-input-number.entry.js +9 -9
  362. package/dist/esm/calcite-input-text.entry.js +9 -9
  363. package/dist/esm/calcite-input-time-picker-7d1c6e48.js +1861 -0
  364. package/dist/esm/calcite-input-time-picker.entry.js +12 -12
  365. package/dist/esm/calcite-input-time-zone.entry.js +8 -8
  366. package/dist/esm/calcite-input_2.entry.js +9 -9
  367. package/dist/esm/calcite-label.entry.js +1 -1
  368. package/dist/esm/calcite-link.entry.js +4 -4
  369. package/dist/esm/calcite-list-item-group.entry.js +3 -3
  370. package/dist/esm/calcite-menu-item.entry.js +5 -5
  371. package/dist/esm/calcite-menu.entry.js +5 -5
  372. package/dist/esm/calcite-meter.entry.js +5 -5
  373. package/dist/esm/calcite-modal.entry.js +7 -7
  374. package/dist/esm/calcite-navigation-logo.entry.js +4 -4
  375. package/dist/esm/calcite-navigation.entry.js +2 -2
  376. package/dist/esm/calcite-notice.entry.js +7 -7
  377. package/dist/esm/calcite-option-group.entry.js +1 -1
  378. package/dist/esm/calcite-option_2.entry.js +7 -7
  379. package/dist/esm/calcite-pagination.entry.js +5 -5
  380. package/dist/esm/calcite-panel_2.entry.js +9 -9
  381. package/dist/esm/calcite-pick-list-group.entry.js +4 -4
  382. package/dist/esm/calcite-pick-list-item.entry.js +8 -8
  383. package/dist/esm/calcite-pick-list.entry.js +6 -6
  384. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  385. package/dist/esm/calcite-radio-button.entry.js +5 -5
  386. package/dist/esm/calcite-rating.entry.js +8 -8
  387. package/dist/esm/calcite-segmented-control_2.entry.js +7 -7
  388. package/dist/esm/calcite-sheet.entry.js +4 -4
  389. package/dist/esm/calcite-shell-center-row.entry.js +3 -3
  390. package/dist/esm/calcite-shell-panel_14.entry.js +16 -16
  391. package/dist/esm/calcite-sortable-list.entry.js +4 -4
  392. package/dist/esm/calcite-split-button.entry.js +4 -4
  393. package/dist/esm/calcite-stepper-item.entry.js +8 -8
  394. package/dist/esm/calcite-stepper.entry.js +4 -4
  395. package/dist/esm/calcite-switch.entry.js +5 -5
  396. package/dist/esm/calcite-table-cell_2.entry.js +7 -7
  397. package/dist/esm/calcite-table-row.entry.js +3 -3
  398. package/dist/esm/calcite-table.entry.js +6 -6
  399. package/dist/esm/calcite-text-area.entry.js +9 -9
  400. package/dist/esm/calcite-tile-group.entry.js +4 -4
  401. package/dist/esm/calcite-tile-select-group.entry.js +3 -3
  402. package/dist/esm/calcite-tile-select.entry.js +4 -4
  403. package/dist/esm/calcite-tile.entry.js +4 -4
  404. package/dist/esm/calcite-time-picker.entry.js +6 -6
  405. package/dist/esm/calcite-tip-group.entry.js +1 -1
  406. package/dist/esm/calcite-tip-manager.entry.js +5 -5
  407. package/dist/esm/calcite-tip.entry.js +6 -6
  408. package/dist/esm/calcite-tooltip.entry.js +4 -4
  409. package/dist/esm/calcite-tree_2.entry.js +6 -6
  410. package/dist/esm/card-manager_3.entry.js +7 -7
  411. package/dist/esm/common-8697fccd.js +36 -0
  412. package/dist/esm/conditionalSlot-56bdb202.js +51 -0
  413. package/dist/esm/consent-manager.entry.js +10 -1031
  414. package/dist/esm/crowdsource-manager.entry.js +4 -4
  415. package/dist/esm/crowdsource-reporter.entry.js +4 -4
  416. package/dist/esm/cs-da7231d6.js +146 -0
  417. package/dist/esm/da-7e105037.js +65 -0
  418. package/dist/esm/date-93ae46b9.js +245 -0
  419. package/dist/esm/de-at-1d9434bb.js +89 -0
  420. package/dist/esm/de-b5646b5d.js +90 -0
  421. package/dist/esm/de-ch-7beada93.js +89 -0
  422. package/dist/esm/deduct-calculator.entry.js +2 -2
  423. package/dist/esm/downloadUtils-97acca92.js +3158 -0
  424. package/dist/esm/el-0f4bf89b.js +65 -0
  425. package/dist/esm/en-au-5c144cef.js +65 -0
  426. package/dist/esm/en-ca-1160089a.js +64 -0
  427. package/dist/esm/en-gb-ae98fc58.js +68 -0
  428. package/dist/esm/es-88e1743a.js +65 -0
  429. package/dist/esm/es-mx-020dfaaa.js +64 -0
  430. package/dist/esm/esri-loader-3080dcc0.js +311 -0
  431. package/dist/esm/et-84f63ef8.js +91 -0
  432. package/dist/esm/feature-comments.entry.js +1 -1
  433. package/dist/esm/feature-form-flow-item.entry.js +1 -1
  434. package/dist/esm/feature-list.entry.js +8 -8
  435. package/dist/esm/features-flow-item.entry.js +1 -1
  436. package/dist/esm/fi-1016ee6e.js +114 -0
  437. package/dist/esm/floating-ui-f086572c.js +2287 -0
  438. package/dist/esm/form-8fd73cbd.js +372 -0
  439. package/dist/esm/fr-0e7ffd73.js +67 -0
  440. package/dist/esm/fr-ch-e18bae2c.js +65 -0
  441. package/dist/esm/he-0cebe004.js +104 -0
  442. package/dist/esm/helpers-7c88b974.js +913 -0
  443. package/dist/esm/hi-cded031d.js +64 -0
  444. package/dist/esm/hr-5643b2ab.js +79 -0
  445. package/dist/esm/html2canvas-fd387d87.js +7845 -0
  446. package/dist/esm/hu-6d605858.js +87 -0
  447. package/dist/esm/id-7d804c46.js +65 -0
  448. package/dist/esm/index-83b693bc.js +1705 -0
  449. package/dist/esm/index-d97f4f15.js +199 -0
  450. package/dist/esm/index.es-ee5497bc.js +11230 -0
  451. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +9 -9
  452. package/dist/esm/instant-apps-control-panel.entry.js +4 -4
  453. package/dist/esm/instant-apps-create.entry.js +53 -51
  454. package/dist/esm/instant-apps-export.entry.js +7 -7
  455. package/dist/esm/instant-apps-header.entry.js +7 -7
  456. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +143 -142
  457. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +7 -7
  458. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +8 -8
  459. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +12 -12
  460. package/dist/esm/instant-apps-interactive-legend.entry.js +7 -7
  461. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +6 -6
  462. package/dist/esm/instant-apps-landing-page.entry.js +12 -12
  463. package/dist/esm/instant-apps-language-switcher.entry.js +9 -9
  464. package/dist/esm/instant-apps-language-translator.entry.js +9 -9
  465. package/dist/esm/instant-apps-measurement.entry.js +6 -6
  466. package/dist/esm/instant-apps-popover.entry.js +6 -6
  467. package/dist/esm/instant-apps-popovers.entry.js +2 -2
  468. package/dist/esm/instant-apps-scoreboard.entry.js +7 -7
  469. package/dist/esm/instant-apps-sign-in.entry.js +8 -8
  470. package/dist/esm/instant-apps-splash.entry.js +12 -12
  471. package/dist/esm/interactive-3b9600a6.js +149 -0
  472. package/dist/esm/it-849be361.js +65 -0
  473. package/dist/esm/it-ch-453fa26d.js +65 -0
  474. package/dist/esm/ja-edff1441.js +71 -0
  475. package/dist/esm/ko-dc103450.js +71 -0
  476. package/dist/esm/languageSwitcher-0f693a04.js +57 -0
  477. package/dist/esm/languageUtil-de206286.js +66 -0
  478. package/dist/esm/layout-manager.entry.js +3 -3
  479. package/dist/esm/list-flow-item.entry.js +1 -1
  480. package/dist/esm/loadModules-43119ac8.js +21 -0
  481. package/dist/esm/loadable-b765a6f6.js +89 -0
  482. package/dist/esm/loader.js +2 -2
  483. package/dist/esm/locale-42369411.js +156 -0
  484. package/dist/esm/locale-70630b7c.js +86 -0
  485. package/dist/esm/locale-a4cbae12.js +571 -0
  486. package/dist/esm/location-flow-item.entry.js +1 -1
  487. package/dist/esm/lt-270cc811.js +96 -0
  488. package/dist/esm/lv-c877043c.js +65 -0
  489. package/dist/esm/map-select-tools_3.entry.js +9 -9
  490. package/dist/esm/mapViewUtils-e3de60cc.js +492 -0
  491. package/dist/esm/mk-a816a702.js +65 -0
  492. package/dist/esm/mode-8c5f5dc9.js +17 -0
  493. package/dist/esm/nb-e9c09b70.js +66 -0
  494. package/dist/esm/nl-56e70f3b.js +66 -0
  495. package/dist/esm/observers-fcb1c07b.js +53 -0
  496. package/dist/esm/openCloseComponent-bbe76c58.js +90 -0
  497. package/dist/esm/pci-calculator.entry.js +2 -2
  498. package/dist/esm/pciUtils-986ddad9.js +844 -0
  499. package/dist/esm/pl-687b559a.js +113 -0
  500. package/dist/esm/popupUtils-98ad70f3.js +109 -0
  501. package/dist/esm/pt-8b05fed2.js +66 -0
  502. package/dist/esm/pt-br-85bdf812.js +64 -0
  503. package/dist/esm/public-notification.entry.js +29 -17
  504. package/dist/esm/publicNotificationStore-08faccff.js +45 -0
  505. package/dist/esm/purify-caded4cd.js +1714 -0
  506. package/dist/esm/refine-results-flow-item.entry.js +1 -1
  507. package/dist/esm/restHelpersGet-dab84057.js +906 -0
  508. package/dist/esm/ro-0975d6bb.js +65 -0
  509. package/dist/esm/ru-24b83704.js +125 -0
  510. package/dist/esm/share-item.entry.js +1 -1
  511. package/dist/esm/shared-list-render-07a20fc5.js +343 -0
  512. package/dist/esm/sk-8179af4d.js +147 -0
  513. package/dist/esm/sl-e6922692.js +167 -0
  514. package/dist/esm/solution-configuration.entry.js +7 -7
  515. package/dist/esm/solution-contents_3.entry.js +8 -8
  516. package/dist/esm/solution-item-icon.entry.js +1 -1
  517. package/dist/esm/solution-resource-a2fff3bf.js +142 -0
  518. package/dist/esm/solution-store-30a19a45.js +1342 -0
  519. package/dist/esm/solutions-components.js +3 -3
  520. package/dist/esm/spatial-ref.entry.js +5 -5
  521. package/dist/esm/sr-1d30e69e.js +100 -0
  522. package/dist/esm/store-manager.entry.js +1 -1
  523. package/dist/esm/styles-b3492d9f.js +11 -0
  524. package/dist/esm/sv-ea3c4b80.js +70 -0
  525. package/dist/esm/t9n-dd2a98fc.js +95 -0
  526. package/dist/esm/th-0f1b35bc.js +64 -0
  527. package/dist/esm/time-bc97792f.js +274 -0
  528. package/dist/esm/tr-eb4e860e.js +65 -0
  529. package/dist/esm/uk-f3ebd952.js +103 -0
  530. package/dist/esm/utils-9bb48951.js +121 -0
  531. package/dist/esm/utils-bf012a3f.js +54 -0
  532. package/dist/esm/vi-872e449d.js +69 -0
  533. package/dist/esm/zh-cn-8c5a3222.js +93 -0
  534. package/dist/esm/zh-hk-247683c2.js +70 -0
  535. package/dist/esm/zh-tw-76a429e9.js +91 -0
  536. package/dist/loader/cdn.js +1 -2
  537. package/dist/loader/index.cjs.js +1 -2
  538. package/dist/loader/index.es2017.js +1 -2
  539. package/dist/loader/index.js +1 -2
  540. package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +1 -2
  541. package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +2 -4
  542. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +2 -4
  543. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +4 -8
  544. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +1 -2
  545. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +1 -2
  546. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +1 -2
  547. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +1 -4
  548. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-header/instant-apps-header.css +5 -0
  549. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-sign-in/instant-apps-sign-in.css +1 -6
  550. package/dist/solutions-components/p-01ba6099.js +6 -0
  551. package/dist/solutions-components/p-03178c37.js +6 -0
  552. package/dist/solutions-components/p-046acd6b.entry.js +6 -0
  553. package/dist/solutions-components/p-0a053ed7.js +6 -0
  554. package/dist/solutions-components/p-0ab0b1ad.entry.js +11 -0
  555. package/dist/solutions-components/p-0e8ad7d1.entry.js +11 -0
  556. package/dist/solutions-components/p-11094d76.entry.js +29 -0
  557. package/dist/solutions-components/p-11b4cd1a.entry.js +6 -0
  558. package/dist/solutions-components/p-123fcb43.entry.js +6 -0
  559. package/dist/solutions-components/p-12b84e3b.entry.js +36 -0
  560. package/dist/solutions-components/p-132b1138.entry.js +21 -0
  561. package/dist/solutions-components/p-13b513ed.entry.js +11 -0
  562. package/dist/solutions-components/p-15e08453.js +6 -0
  563. package/dist/solutions-components/p-17feaae0.entry.js +17 -0
  564. package/dist/solutions-components/p-1983d6e8.js +6 -0
  565. package/dist/solutions-components/p-1a8f7075.entry.js +6 -0
  566. package/dist/solutions-components/p-1b4149b8.entry.js +11 -0
  567. package/dist/solutions-components/p-1cc7fcd0.entry.js +11 -0
  568. package/dist/solutions-components/p-1ceaab98.entry.js +11 -0
  569. package/dist/solutions-components/p-1d369231.js +21 -0
  570. package/dist/solutions-components/p-1fd9cd5f.entry.js +6 -0
  571. package/dist/solutions-components/p-20a567b0.entry.js +6 -0
  572. package/dist/solutions-components/p-21965dcd.entry.js +11 -0
  573. package/dist/solutions-components/p-2305749d.entry.js +17 -0
  574. package/dist/solutions-components/p-24634430.entry.js +11 -0
  575. package/dist/solutions-components/p-2599399f.entry.js +6 -0
  576. package/dist/solutions-components/p-27c68097.js +11 -0
  577. package/dist/solutions-components/p-27e4dc8a.entry.js +11 -0
  578. package/dist/solutions-components/p-28fd26ed.js +6 -0
  579. package/dist/solutions-components/p-293d376c.js +6 -0
  580. package/dist/solutions-components/p-29c60f3d.entry.js +11 -0
  581. package/dist/solutions-components/p-2a2e4578.entry.js +6 -0
  582. package/dist/solutions-components/p-2a7111ad.entry.js +6 -0
  583. package/dist/solutions-components/p-2a990146.entry.js +6 -0
  584. package/dist/solutions-components/p-2b4e50ed.js +6 -0
  585. package/dist/solutions-components/p-2d99bd61.js +6 -0
  586. package/dist/solutions-components/p-2e401f51.js +6 -0
  587. package/dist/solutions-components/p-2e64dc3b.entry.js +6 -0
  588. package/dist/solutions-components/p-3102119d.entry.js +11 -0
  589. package/dist/solutions-components/p-3137377f.entry.js +11 -0
  590. package/dist/solutions-components/p-34722455.entry.js +6 -0
  591. package/dist/solutions-components/p-36f5dee9.entry.js +6 -0
  592. package/dist/solutions-components/p-37e2754a.js +6 -0
  593. package/dist/solutions-components/p-398ff315.js +11 -0
  594. package/dist/solutions-components/p-3a50fe57.entry.js +17 -0
  595. package/dist/solutions-components/p-3ac77bd5.entry.js +11 -0
  596. package/dist/solutions-components/p-3acc8a71.entry.js +6 -0
  597. package/dist/solutions-components/p-3b1f45b4.entry.js +12 -0
  598. package/dist/solutions-components/p-3b931fc5.entry.js +6 -0
  599. package/dist/solutions-components/p-3eb49703.js +489 -0
  600. package/dist/solutions-components/p-42ea2581.js +6 -0
  601. package/dist/solutions-components/p-44043ef6.entry.js +11 -0
  602. package/dist/solutions-components/p-44bfa87d.js +11 -0
  603. package/dist/solutions-components/p-45db29e2.js +6 -0
  604. package/dist/solutions-components/p-465fbfc2.js +6 -0
  605. package/dist/solutions-components/p-4691b6ad.entry.js +11 -0
  606. package/dist/solutions-components/p-49250010.js +6 -0
  607. package/dist/solutions-components/p-4b80b699.entry.js +6 -0
  608. package/dist/solutions-components/p-4b85c3dc.js +6 -0
  609. package/dist/solutions-components/p-4e92c1ba.entry.js +17 -0
  610. package/dist/solutions-components/p-4fbd1a02.js +6 -0
  611. package/dist/solutions-components/p-50aa0e5a.js +6 -0
  612. package/dist/solutions-components/p-52bcd209.entry.js +6 -0
  613. package/dist/solutions-components/p-52bdaec9.entry.js +6 -0
  614. package/dist/solutions-components/p-5443995c.entry.js +11 -0
  615. package/dist/solutions-components/p-55730588.js +6 -0
  616. package/dist/solutions-components/p-57961ae0.entry.js +6 -0
  617. package/dist/solutions-components/p-57a03a95.js +17 -0
  618. package/dist/solutions-components/p-59f016a1.js +61 -0
  619. package/dist/solutions-components/p-5b2d9899.entry.js +6 -0
  620. package/dist/solutions-components/p-5bd6a732.entry.js +6 -0
  621. package/dist/solutions-components/p-5db64297.entry.js +11 -0
  622. package/dist/solutions-components/p-5eb6219c.js +11 -0
  623. package/dist/solutions-components/p-5ed5626f.entry.js +6 -0
  624. package/dist/solutions-components/p-5ed825c4.js +6 -0
  625. package/dist/solutions-components/p-5f1fdaf9.js +11 -0
  626. package/dist/solutions-components/p-5fb4ddc2.entry.js +6 -0
  627. package/dist/solutions-components/p-61dcdc62.js +6 -0
  628. package/dist/solutions-components/p-622f33ee.entry.js +6 -0
  629. package/dist/solutions-components/p-64ee17c6.entry.js +6 -0
  630. package/dist/solutions-components/p-652140aa.entry.js +6 -0
  631. package/dist/solutions-components/p-6809e050.entry.js +11 -0
  632. package/dist/solutions-components/p-69cfc738.entry.js +6 -0
  633. package/dist/solutions-components/p-69db1e2c.js +6 -0
  634. package/dist/solutions-components/p-6acf6c8f.js +7 -0
  635. package/dist/solutions-components/p-6bf91f6e.js +6 -0
  636. package/dist/solutions-components/p-6c7e34c1.entry.js +47 -0
  637. package/dist/solutions-components/p-6d0404a6.entry.js +6 -0
  638. package/dist/solutions-components/p-6d51c6bf.js +6 -0
  639. package/dist/solutions-components/p-6df9b158.entry.js +11 -0
  640. package/dist/solutions-components/p-716a0878.js +11 -0
  641. package/dist/solutions-components/p-71c212e6.entry.js +12 -0
  642. package/dist/solutions-components/p-71ed8170.entry.js +11 -0
  643. package/dist/solutions-components/p-727b8bf8.entry.js +11 -0
  644. package/dist/solutions-components/p-7388563d.js +6 -0
  645. package/dist/solutions-components/p-747d4b59.js +21 -0
  646. package/dist/solutions-components/p-74dbad36.js +6 -0
  647. package/dist/solutions-components/p-7638ce3d.js +6 -0
  648. package/dist/solutions-components/p-76f51550.entry.js +11 -0
  649. package/dist/solutions-components/p-7773d8ea.js +6 -0
  650. package/dist/solutions-components/p-7822e93b.js +16 -0
  651. package/dist/solutions-components/p-789eb1c2.entry.js +6 -0
  652. package/dist/solutions-components/p-7996f123.js +50 -0
  653. package/dist/solutions-components/p-79c7ff2b.entry.js +24 -0
  654. package/dist/solutions-components/p-7a2f1801.entry.js +6 -0
  655. package/dist/solutions-components/p-7a646a97.js +6 -0
  656. package/dist/solutions-components/p-7afca6b4.js +26 -0
  657. package/dist/solutions-components/p-7dcf6b16.entry.js +6 -0
  658. package/dist/solutions-components/p-7efcfb47.js +6 -0
  659. package/dist/solutions-components/p-7f4bc6d2.entry.js +6 -0
  660. package/dist/solutions-components/p-7fe77355.js +6 -0
  661. package/dist/solutions-components/p-7fea6d8a.js +6 -0
  662. package/dist/solutions-components/p-8008449b.entry.js +16 -0
  663. package/dist/solutions-components/p-813d004f.js +16 -0
  664. package/dist/solutions-components/p-8241b179.entry.js +17 -0
  665. package/dist/solutions-components/p-8413a2ae.entry.js +6 -0
  666. package/dist/solutions-components/p-853d952d.entry.js +6 -0
  667. package/dist/solutions-components/p-89f6ff72.js +6 -0
  668. package/dist/solutions-components/p-8a4f9e8d.entry.js +11 -0
  669. package/dist/solutions-components/p-8babc507.entry.js +6 -0
  670. package/dist/solutions-components/p-8c6d9b5a.js +6 -0
  671. package/dist/solutions-components/p-8dcc5305.entry.js +12 -0
  672. package/dist/solutions-components/p-8ed6ce4d.js +11 -0
  673. package/dist/solutions-components/p-9088fa3a.js +6 -0
  674. package/dist/solutions-components/p-90e3ce7f.js +6 -0
  675. package/dist/solutions-components/p-9271710d.js +6 -0
  676. package/dist/solutions-components/p-9377260c.js +6 -0
  677. package/dist/solutions-components/p-941e55f0.entry.js +6 -0
  678. package/dist/solutions-components/p-946ee345.js +145 -0
  679. package/dist/solutions-components/p-97421bb9.js +6 -0
  680. package/dist/solutions-components/p-9808250d.entry.js +6 -0
  681. package/dist/solutions-components/p-9a7e00b8.js +6 -0
  682. package/dist/solutions-components/p-9b38e6a0.entry.js +6 -0
  683. package/dist/solutions-components/p-9c1fbf73.entry.js +6 -0
  684. package/dist/solutions-components/p-9c6c056a.js +12 -0
  685. package/dist/solutions-components/p-9d82f0e3.entry.js +6 -0
  686. package/dist/solutions-components/p-9dd1049f.entry.js +11 -0
  687. package/dist/solutions-components/p-9e77f5c7.js +11 -0
  688. package/dist/solutions-components/p-9fa1855f.entry.js +6 -0
  689. package/dist/solutions-components/p-a146dcbe.entry.js +6 -0
  690. package/dist/solutions-components/p-a204dcff.entry.js +11 -0
  691. package/dist/solutions-components/p-a2390bee.entry.js +6 -0
  692. package/dist/solutions-components/p-a805c11f.entry.js +6 -0
  693. package/dist/solutions-components/p-a89e61f4.js +11 -0
  694. package/dist/solutions-components/p-aa967a48.entry.js +6 -0
  695. package/dist/solutions-components/p-ab8039f5.js +6 -0
  696. package/dist/solutions-components/p-acef743f.entry.js +11 -0
  697. package/dist/solutions-components/p-ada34f83.js +6 -0
  698. package/dist/solutions-components/p-af1c9389.entry.js +6 -0
  699. package/dist/solutions-components/p-afd2b67b.entry.js +23 -0
  700. package/dist/solutions-components/p-b1a4c444.entry.js +6 -0
  701. package/dist/solutions-components/p-b1abf15c.entry.js +29 -0
  702. package/dist/solutions-components/p-b25e8339.js +6 -0
  703. package/dist/solutions-components/p-b2ba3c28.entry.js +11 -0
  704. package/dist/solutions-components/p-b2f11718.entry.js +11 -0
  705. package/dist/solutions-components/p-b4230022.entry.js +11 -0
  706. package/dist/solutions-components/p-b442aa02.entry.js +17 -0
  707. package/dist/solutions-components/p-b592fbc6.entry.js +11 -0
  708. package/dist/solutions-components/p-b5c88983.js +6 -0
  709. package/dist/solutions-components/p-b64cc55e.js +11 -0
  710. package/dist/solutions-components/p-b77b6c26.js +6 -0
  711. package/dist/solutions-components/p-b7d060b0.entry.js +6 -0
  712. package/dist/solutions-components/p-b8d4452e.entry.js +11 -0
  713. package/dist/solutions-components/p-ba569f8b.js +11 -0
  714. package/dist/solutions-components/p-bac8a4cd.js +6 -0
  715. package/dist/solutions-components/p-bd459df3.entry.js +11 -0
  716. package/dist/solutions-components/p-bf27cd5f.js +6 -0
  717. package/dist/solutions-components/p-c27bb7cf.entry.js +11 -0
  718. package/dist/solutions-components/p-c32d79e2.entry.js +22 -0
  719. package/dist/solutions-components/p-c4160bf7.js +6 -0
  720. package/dist/solutions-components/p-c4ddb206.js +21 -0
  721. package/dist/solutions-components/p-c554abce.entry.js +11 -0
  722. package/dist/solutions-components/p-c63a8225.entry.js +6 -0
  723. package/dist/solutions-components/p-c8935707.entry.js +11 -0
  724. package/dist/solutions-components/p-c96bde1d.js +6 -0
  725. package/dist/solutions-components/p-c9b22653.js +36 -0
  726. package/dist/solutions-components/p-cb6165e9.entry.js +16 -0
  727. package/dist/solutions-components/p-cc07069d.entry.js +11 -0
  728. package/dist/solutions-components/p-cc388a08.js +11 -0
  729. package/dist/solutions-components/p-cc9fdd5f.entry.js +6 -0
  730. package/dist/solutions-components/p-cf0eeb0a.entry.js +6 -0
  731. package/dist/solutions-components/p-d029b513.js +6 -0
  732. package/dist/solutions-components/p-d11d941c.js +6 -0
  733. package/dist/solutions-components/p-d27ab863.js +37 -0
  734. package/dist/solutions-components/p-d31a139f.entry.js +11 -0
  735. package/dist/solutions-components/p-d36fb1b5.entry.js +6 -0
  736. package/dist/solutions-components/p-d6f3fc2c.entry.js +11 -0
  737. package/dist/solutions-components/p-d9e190a4.entry.js +6 -0
  738. package/dist/solutions-components/p-da75df88.entry.js +6 -0
  739. package/dist/solutions-components/p-de279d51.entry.js +6 -0
  740. package/dist/solutions-components/p-de4cf79a.entry.js +11 -0
  741. package/dist/solutions-components/p-df0a1d4b.js +11 -0
  742. package/dist/solutions-components/p-dff78ae3.entry.js +11 -0
  743. package/dist/solutions-components/p-e0277e0b.entry.js +6 -0
  744. package/dist/solutions-components/p-e11a4728.entry.js +6 -0
  745. package/dist/solutions-components/p-e528c321.js +6 -0
  746. package/dist/solutions-components/p-e6c9e6af.js +11 -0
  747. package/dist/solutions-components/p-e6e4071e.entry.js +17 -0
  748. package/dist/solutions-components/p-e7ed87eb.entry.js +11 -0
  749. package/dist/solutions-components/p-e89c05d6.entry.js +6 -0
  750. package/dist/solutions-components/p-ec0c2611.entry.js +11 -0
  751. package/dist/solutions-components/p-ee309d0b.js +6 -0
  752. package/dist/solutions-components/p-ee7f7c24.js +6 -0
  753. package/dist/solutions-components/p-ef54f211.js +6 -0
  754. package/dist/solutions-components/p-ef930f76.entry.js +11 -0
  755. package/dist/solutions-components/p-f163a137.js +6 -0
  756. package/dist/solutions-components/p-f1ae51dc.js +21 -0
  757. package/dist/solutions-components/p-f480b275.js +6 -0
  758. package/dist/solutions-components/p-f539a342.entry.js +11 -0
  759. package/dist/solutions-components/p-f8c45269.entry.js +6 -0
  760. package/dist/solutions-components/p-fa1ceaf9.js +7 -0
  761. package/dist/solutions-components/p-fb7b9bd3.entry.js +6 -0
  762. package/dist/solutions-components/p-fc9a49db.js +6 -0
  763. package/dist/solutions-components/solutions-components.esm.js +1 -1
  764. package/dist/solutions-components/utils/mapViewUtils.ts +2 -0
  765. package/dist/solutions-components/utils/pciUtils.ts +2 -2
  766. package/dist/types/stencil-public-runtime.d.ts +3 -8
  767. package/package.json +41 -40
  768. package/dist/cjs/ExpandToggle-249fdc45.js +0 -118
  769. package/dist/cjs/FloatingArrow-28abf7c7.js +0 -50
  770. package/dist/cjs/Heading-1f831135.js +0 -25
  771. package/dist/cjs/Validation-eb9afded.js +0 -20
  772. package/dist/cjs/ar-1013e0a6.js +0 -105
  773. package/dist/cjs/bg-7013971e.js +0 -83
  774. package/dist/cjs/breakpoints-fcd0f2a0.js +0 -17
  775. package/dist/cjs/browser-a96d0614.js +0 -25
  776. package/dist/cjs/bs-97bd61eb.js +0 -52
  777. package/dist/cjs/ca-2a76034c.js +0 -72
  778. package/dist/cjs/calcite-input-time-picker-ebdc5205.js +0 -1864
  779. package/dist/cjs/common-6d2c14c6.js +0 -38
  780. package/dist/cjs/conditionalSlot-93779916.js +0 -54
  781. package/dist/cjs/cs-b189af7b.js +0 -148
  782. package/dist/cjs/da-ebb3b688.js +0 -67
  783. package/dist/cjs/date-456675b2.js +0 -261
  784. package/dist/cjs/de-01ac3f09.js +0 -92
  785. package/dist/cjs/de-at-1437180c.js +0 -91
  786. package/dist/cjs/de-ch-b9a068a3.js +0 -91
  787. package/dist/cjs/downloadUtils-83bf79ba.js +0 -3165
  788. package/dist/cjs/el-7ce5c99d.js +0 -67
  789. package/dist/cjs/en-au-c3ca3a9f.js +0 -67
  790. package/dist/cjs/en-ca-34007cde.js +0 -66
  791. package/dist/cjs/en-gb-2db136a2.js +0 -70
  792. package/dist/cjs/es-f00ce3f0.js +0 -67
  793. package/dist/cjs/es-mx-503b9e1a.js +0 -66
  794. package/dist/cjs/et-556f49fd.js +0 -93
  795. package/dist/cjs/fi-47ef7686.js +0 -116
  796. package/dist/cjs/floating-ui-06d961ad.js +0 -2295
  797. package/dist/cjs/form-a27f759c.js +0 -381
  798. package/dist/cjs/fr-5ba5763a.js +0 -69
  799. package/dist/cjs/fr-ch-9b02cb30.js +0 -67
  800. package/dist/cjs/he-07cce409.js +0 -106
  801. package/dist/cjs/helpers-618a3f7d.js +0 -907
  802. package/dist/cjs/hi-7b691fb6.js +0 -66
  803. package/dist/cjs/hr-ebd3ae66.js +0 -81
  804. package/dist/cjs/hu-b177f75e.js +0 -89
  805. package/dist/cjs/id-ffab63fb.js +0 -67
  806. package/dist/cjs/index-79b35510.js +0 -1682
  807. package/dist/cjs/index-c078ea5f.js +0 -201
  808. package/dist/cjs/index.es-4e523f8b.js +0 -11317
  809. package/dist/cjs/interactive-f08f0369.js +0 -154
  810. package/dist/cjs/it-8646ff2a.js +0 -67
  811. package/dist/cjs/it-ch-6c949267.js +0 -67
  812. package/dist/cjs/ja-cf48eff1.js +0 -73
  813. package/dist/cjs/ko-294e5fae.js +0 -73
  814. package/dist/cjs/languageSwitcher-b9a1485c.js +0 -60
  815. package/dist/cjs/languageUtil-da436671.js +0 -69
  816. package/dist/cjs/loadModules-b28900c2.js +0 -23
  817. package/dist/cjs/loadable-b374ef4b.js +0 -94
  818. package/dist/cjs/locale-3fd260e3.js +0 -91
  819. package/dist/cjs/locale-48d76c59.js +0 -161
  820. package/dist/cjs/locale-5efdf085.js +0 -584
  821. package/dist/cjs/lt-a592829c.js +0 -98
  822. package/dist/cjs/lv-39a6d278.js +0 -67
  823. package/dist/cjs/mapViewUtils-911698e5.js +0 -508
  824. package/dist/cjs/mk-afea13c6.js +0 -67
  825. package/dist/cjs/mode-d6c12b38.js +0 -19
  826. package/dist/cjs/nb-b7cf648c.js +0 -68
  827. package/dist/cjs/nl-72021978.js +0 -68
  828. package/dist/cjs/observers-4fa351d9.js +0 -55
  829. package/dist/cjs/openCloseComponent-6a283ac3.js +0 -92
  830. package/dist/cjs/pciUtils-a238f3a1.js +0 -847
  831. package/dist/cjs/pl-82312f6a.js +0 -115
  832. package/dist/cjs/popupUtils-9ca69f8c.js +0 -111
  833. package/dist/cjs/pt-42d95816.js +0 -68
  834. package/dist/cjs/pt-br-b0b546fc.js +0 -66
  835. package/dist/cjs/publicNotificationStore-3bfbbed3.js +0 -47
  836. package/dist/cjs/restHelpersGet-dbaa28df.js +0 -972
  837. package/dist/cjs/ro-e7948270.js +0 -67
  838. package/dist/cjs/ru-3526e86f.js +0 -127
  839. package/dist/cjs/shared-list-render-b6b23d9e.js +0 -365
  840. package/dist/cjs/sk-0f35900e.js +0 -149
  841. package/dist/cjs/sl-abc6455f.js +0 -169
  842. package/dist/cjs/solution-resource-a577e84f.js +0 -145
  843. package/dist/cjs/solution-store-8ba2ab4b.js +0 -1344
  844. package/dist/cjs/sr-fe2d4b5b.js +0 -102
  845. package/dist/cjs/styles-c9e1375a.js +0 -13
  846. package/dist/cjs/sv-6503d7e1.js +0 -72
  847. package/dist/cjs/t9n-9d199056.js +0 -100
  848. package/dist/cjs/th-9600cb11.js +0 -66
  849. package/dist/cjs/time-d250cbf5.js +0 -289
  850. package/dist/cjs/tr-faae7cc6.js +0 -67
  851. package/dist/cjs/uk-5e626d2b.js +0 -105
  852. package/dist/cjs/utils-e3996e43.js +0 -65
  853. package/dist/cjs/utils-f3710824.js +0 -130
  854. package/dist/cjs/vi-74653398.js +0 -71
  855. package/dist/cjs/zh-cn-b53af030.js +0 -95
  856. package/dist/cjs/zh-hk-96b751d5.js +0 -72
  857. package/dist/cjs/zh-tw-50d1a248.js +0 -93
  858. package/dist/esm/ExpandToggle-73432b0a.js +0 -110
  859. package/dist/esm/FloatingArrow-c3a62ec9.js +0 -48
  860. package/dist/esm/Heading-03b41bf8.js +0 -22
  861. package/dist/esm/Validation-59757032.js +0 -18
  862. package/dist/esm/ar-a0f8473e.js +0 -103
  863. package/dist/esm/bg-4a8059f0.js +0 -81
  864. package/dist/esm/breakpoints-f0f1417d.js +0 -15
  865. package/dist/esm/browser-9897260d.js +0 -23
  866. package/dist/esm/bs-3d9fa4b7.js +0 -50
  867. package/dist/esm/ca-a74ba459.js +0 -70
  868. package/dist/esm/calcite-input-time-picker-2cdb1664.js +0 -1861
  869. package/dist/esm/common-7f72122b.js +0 -36
  870. package/dist/esm/conditionalSlot-16953b0d.js +0 -51
  871. package/dist/esm/cs-cd3323d4.js +0 -146
  872. package/dist/esm/da-eccb7ace.js +0 -65
  873. package/dist/esm/date-562b6fba.js +0 -245
  874. package/dist/esm/de-269c8d62.js +0 -90
  875. package/dist/esm/de-at-742cc453.js +0 -89
  876. package/dist/esm/de-ch-b4ff8ebb.js +0 -89
  877. package/dist/esm/downloadUtils-571a502d.js +0 -3158
  878. package/dist/esm/el-e7e0181b.js +0 -65
  879. package/dist/esm/en-au-0f12d4ae.js +0 -65
  880. package/dist/esm/en-ca-d692f9a4.js +0 -64
  881. package/dist/esm/en-gb-e91744e9.js +0 -68
  882. package/dist/esm/es-867bace7.js +0 -65
  883. package/dist/esm/es-mx-cde6ed6f.js +0 -64
  884. package/dist/esm/esri-loader-2bf735ed.js +0 -311
  885. package/dist/esm/et-a2613f53.js +0 -91
  886. package/dist/esm/fi-07875b7a.js +0 -114
  887. package/dist/esm/floating-ui-9ee6fe17.js +0 -2287
  888. package/dist/esm/form-6d38f4ee.js +0 -372
  889. package/dist/esm/fr-669ba3b9.js +0 -67
  890. package/dist/esm/fr-ch-da569be6.js +0 -65
  891. package/dist/esm/he-6cbfe53b.js +0 -104
  892. package/dist/esm/helpers-61b05164.js +0 -881
  893. package/dist/esm/hi-913d1595.js +0 -64
  894. package/dist/esm/hr-8f581dc9.js +0 -79
  895. package/dist/esm/html2canvas-28c7de60.js +0 -7845
  896. package/dist/esm/hu-02bb4a04.js +0 -87
  897. package/dist/esm/id-306dcc93.js +0 -65
  898. package/dist/esm/index-ba5da2b0.js +0 -1648
  899. package/dist/esm/index-c06194fa.js +0 -199
  900. package/dist/esm/index.es-2f9f04c5.js +0 -11230
  901. package/dist/esm/interactive-52276a00.js +0 -149
  902. package/dist/esm/it-3f0c20a1.js +0 -65
  903. package/dist/esm/it-ch-fe18a6c5.js +0 -65
  904. package/dist/esm/ja-41455a15.js +0 -71
  905. package/dist/esm/ko-88a4fc75.js +0 -71
  906. package/dist/esm/languageSwitcher-d60f03b2.js +0 -57
  907. package/dist/esm/languageUtil-36f8f4ef.js +0 -66
  908. package/dist/esm/loadModules-496086ee.js +0 -21
  909. package/dist/esm/loadable-cca582a3.js +0 -89
  910. package/dist/esm/locale-353c1c36.js +0 -571
  911. package/dist/esm/locale-69333b8e.js +0 -86
  912. package/dist/esm/locale-a490c4f6.js +0 -156
  913. package/dist/esm/lt-5c1c3aa4.js +0 -96
  914. package/dist/esm/lv-acb76551.js +0 -65
  915. package/dist/esm/mapViewUtils-b8deb4ae.js +0 -490
  916. package/dist/esm/mk-b12a886b.js +0 -65
  917. package/dist/esm/mode-66911cb5.js +0 -17
  918. package/dist/esm/nb-50bbf4fa.js +0 -66
  919. package/dist/esm/nl-6dd1488e.js +0 -66
  920. package/dist/esm/observers-19e5cb73.js +0 -53
  921. package/dist/esm/openCloseComponent-04234cea.js +0 -90
  922. package/dist/esm/pciUtils-73d4b6b4.js +0 -844
  923. package/dist/esm/pl-f0ccb3a4.js +0 -113
  924. package/dist/esm/polyfills/core-js.js +0 -11
  925. package/dist/esm/polyfills/dom.js +0 -79
  926. package/dist/esm/polyfills/es5-html-element.js +0 -1
  927. package/dist/esm/polyfills/index.js +0 -34
  928. package/dist/esm/polyfills/system.js +0 -6
  929. package/dist/esm/popupUtils-8efd3cde.js +0 -109
  930. package/dist/esm/pt-3adf4f5e.js +0 -66
  931. package/dist/esm/pt-br-5ad78776.js +0 -64
  932. package/dist/esm/publicNotificationStore-74c7e9f4.js +0 -45
  933. package/dist/esm/purify-dbd0968e.js +0 -1714
  934. package/dist/esm/restHelpersGet-1bd54274.js +0 -959
  935. package/dist/esm/ro-ba24a126.js +0 -65
  936. package/dist/esm/ru-2feffc99.js +0 -125
  937. package/dist/esm/shared-list-render-aaa69039.js +0 -343
  938. package/dist/esm/sk-097e96ba.js +0 -147
  939. package/dist/esm/sl-27721fe2.js +0 -167
  940. package/dist/esm/solution-resource-0d0eb597.js +0 -142
  941. package/dist/esm/solution-store-997e0cb8.js +0 -1342
  942. package/dist/esm/sr-b421770e.js +0 -100
  943. package/dist/esm/styles-367380b5.js +0 -11
  944. package/dist/esm/sv-3bad8e53.js +0 -70
  945. package/dist/esm/t9n-165900a5.js +0 -95
  946. package/dist/esm/th-7cc88e5d.js +0 -64
  947. package/dist/esm/time-d605c462.js +0 -274
  948. package/dist/esm/tr-0a2743e1.js +0 -65
  949. package/dist/esm/uk-6d2572d0.js +0 -103
  950. package/dist/esm/utils-26baa5d3.js +0 -54
  951. package/dist/esm/utils-bd72a603.js +0 -121
  952. package/dist/esm/vi-e8feb97f.js +0 -69
  953. package/dist/esm/zh-cn-fdec5be5.js +0 -93
  954. package/dist/esm/zh-hk-07c60ac2.js +0 -70
  955. package/dist/esm/zh-tw-b1e4174b.js +0 -91
  956. package/dist/solutions-components/p-011892f2.entry.js +0 -11
  957. package/dist/solutions-components/p-022edd7a.entry.js +0 -11
  958. package/dist/solutions-components/p-02651dd3.entry.js +0 -11
  959. package/dist/solutions-components/p-04af53a2.js +0 -6
  960. package/dist/solutions-components/p-053be79f.entry.js +0 -12
  961. package/dist/solutions-components/p-0669c156.entry.js +0 -17
  962. package/dist/solutions-components/p-06748b7a.entry.js +0 -6
  963. package/dist/solutions-components/p-070b98cd.entry.js +0 -17
  964. package/dist/solutions-components/p-0894d584.js +0 -6
  965. package/dist/solutions-components/p-0971d8ac.entry.js +0 -23
  966. package/dist/solutions-components/p-0a00df9e.entry.js +0 -6
  967. package/dist/solutions-components/p-0bb3b378.entry.js +0 -11
  968. package/dist/solutions-components/p-0c523112.js +0 -6
  969. package/dist/solutions-components/p-0ce36a4a.entry.js +0 -17
  970. package/dist/solutions-components/p-0d17246a.entry.js +0 -6
  971. package/dist/solutions-components/p-0fba267c.entry.js +0 -12
  972. package/dist/solutions-components/p-0fdcc10a.entry.js +0 -6
  973. package/dist/solutions-components/p-105d8256.js +0 -6
  974. package/dist/solutions-components/p-11881a54.js +0 -6
  975. package/dist/solutions-components/p-11e873c7.entry.js +0 -6
  976. package/dist/solutions-components/p-12c80030.js +0 -11
  977. package/dist/solutions-components/p-1506751c.entry.js +0 -11
  978. package/dist/solutions-components/p-17674f66.js +0 -6
  979. package/dist/solutions-components/p-177a139d.entry.js +0 -11
  980. package/dist/solutions-components/p-18b27561.entry.js +0 -11
  981. package/dist/solutions-components/p-19dbfe71.js +0 -6
  982. package/dist/solutions-components/p-1a3f82c5.entry.js +0 -11
  983. package/dist/solutions-components/p-1aa91fbf.entry.js +0 -6
  984. package/dist/solutions-components/p-1ae3b886.entry.js +0 -17
  985. package/dist/solutions-components/p-1e915546.entry.js +0 -47
  986. package/dist/solutions-components/p-229ec6a3.js +0 -11
  987. package/dist/solutions-components/p-238d8710.entry.js +0 -11
  988. package/dist/solutions-components/p-23d35d76.js +0 -6
  989. package/dist/solutions-components/p-2445cf51.js +0 -7
  990. package/dist/solutions-components/p-2455bcb0.js +0 -21
  991. package/dist/solutions-components/p-246b1648.entry.js +0 -12
  992. package/dist/solutions-components/p-261880f7.entry.js +0 -11
  993. package/dist/solutions-components/p-2665663a.entry.js +0 -6
  994. package/dist/solutions-components/p-26eb1225.entry.js +0 -6
  995. package/dist/solutions-components/p-2775f82b.js +0 -6
  996. package/dist/solutions-components/p-27e9ea86.entry.js +0 -6
  997. package/dist/solutions-components/p-287d2d49.entry.js +0 -11
  998. package/dist/solutions-components/p-28d2ab1a.js +0 -6
  999. package/dist/solutions-components/p-28e582b0.entry.js +0 -11
  1000. package/dist/solutions-components/p-2d90ec69.entry.js +0 -11
  1001. package/dist/solutions-components/p-2e625f11.js +0 -11
  1002. package/dist/solutions-components/p-302fccc1.entry.js +0 -6
  1003. package/dist/solutions-components/p-314dc933.entry.js +0 -6
  1004. package/dist/solutions-components/p-31ce0b61.entry.js +0 -11
  1005. package/dist/solutions-components/p-328fbf6d.js +0 -11
  1006. package/dist/solutions-components/p-334e6394.js +0 -37
  1007. package/dist/solutions-components/p-3365a6de.entry.js +0 -11
  1008. package/dist/solutions-components/p-34c5a71c.entry.js +0 -11
  1009. package/dist/solutions-components/p-370283a4.js +0 -6
  1010. package/dist/solutions-components/p-392be4a7.js +0 -6
  1011. package/dist/solutions-components/p-3b7e0d5a.js +0 -26
  1012. package/dist/solutions-components/p-3c24cda7.entry.js +0 -11
  1013. package/dist/solutions-components/p-3ce690d9.js +0 -6
  1014. package/dist/solutions-components/p-3da83eee.entry.js +0 -22
  1015. package/dist/solutions-components/p-3e33078e.entry.js +0 -11
  1016. package/dist/solutions-components/p-400a584e.js +0 -6
  1017. package/dist/solutions-components/p-415d519f.entry.js +0 -6
  1018. package/dist/solutions-components/p-420b8eb1.entry.js +0 -11
  1019. package/dist/solutions-components/p-4370de50.js +0 -6
  1020. package/dist/solutions-components/p-43d1b0bd.js +0 -11
  1021. package/dist/solutions-components/p-4870be89.entry.js +0 -6
  1022. package/dist/solutions-components/p-489be360.entry.js +0 -11
  1023. package/dist/solutions-components/p-490e4875.entry.js +0 -11
  1024. package/dist/solutions-components/p-4ac019d3.js +0 -6
  1025. package/dist/solutions-components/p-4ba6f8f0.js +0 -6
  1026. package/dist/solutions-components/p-4ca83bea.js +0 -6
  1027. package/dist/solutions-components/p-4e07c030.entry.js +0 -11
  1028. package/dist/solutions-components/p-502172da.entry.js +0 -17
  1029. package/dist/solutions-components/p-50741707.entry.js +0 -6
  1030. package/dist/solutions-components/p-51b5ac05.entry.js +0 -6
  1031. package/dist/solutions-components/p-51d5532f.entry.js +0 -6
  1032. package/dist/solutions-components/p-52dba022.js +0 -489
  1033. package/dist/solutions-components/p-530b73ce.js +0 -66
  1034. package/dist/solutions-components/p-533a9cca.entry.js +0 -11
  1035. package/dist/solutions-components/p-570a3777.js +0 -6
  1036. package/dist/solutions-components/p-57eeed77.js +0 -61
  1037. package/dist/solutions-components/p-5862de8d.entry.js +0 -6
  1038. package/dist/solutions-components/p-591175a6.js +0 -6
  1039. package/dist/solutions-components/p-5974ba05.js +0 -16
  1040. package/dist/solutions-components/p-5b654493.entry.js +0 -6
  1041. package/dist/solutions-components/p-5c5e3745.entry.js +0 -6
  1042. package/dist/solutions-components/p-5f873153.js +0 -6
  1043. package/dist/solutions-components/p-6085ab9c.js +0 -11
  1044. package/dist/solutions-components/p-614ebce7.js +0 -6
  1045. package/dist/solutions-components/p-616c3c0c.entry.js +0 -6
  1046. package/dist/solutions-components/p-628874a6.entry.js +0 -6
  1047. package/dist/solutions-components/p-62c34f96.entry.js +0 -11
  1048. package/dist/solutions-components/p-636c0ebf.entry.js +0 -29
  1049. package/dist/solutions-components/p-63e6cab2.entry.js +0 -11
  1050. package/dist/solutions-components/p-680a43bb.entry.js +0 -6
  1051. package/dist/solutions-components/p-6bdafe3f.js +0 -6
  1052. package/dist/solutions-components/p-6d753a3d.js +0 -7
  1053. package/dist/solutions-components/p-70ec2b39.entry.js +0 -6
  1054. package/dist/solutions-components/p-7348c869.entry.js +0 -6
  1055. package/dist/solutions-components/p-74a283fb.entry.js +0 -11
  1056. package/dist/solutions-components/p-76d70d3e.js +0 -6
  1057. package/dist/solutions-components/p-77cd573b.entry.js +0 -6
  1058. package/dist/solutions-components/p-7883b885.entry.js +0 -17
  1059. package/dist/solutions-components/p-790ab21b.js +0 -6
  1060. package/dist/solutions-components/p-798d20c2.entry.js +0 -11
  1061. package/dist/solutions-components/p-79e2e203.entry.js +0 -6
  1062. package/dist/solutions-components/p-7b13fafe.entry.js +0 -6
  1063. package/dist/solutions-components/p-7b17e929.entry.js +0 -6
  1064. package/dist/solutions-components/p-7fb072e0.entry.js +0 -11
  1065. package/dist/solutions-components/p-80b3eb6b.entry.js +0 -6
  1066. package/dist/solutions-components/p-80e8dac5.entry.js +0 -6
  1067. package/dist/solutions-components/p-814ad17b.js +0 -6
  1068. package/dist/solutions-components/p-820d8935.js +0 -11
  1069. package/dist/solutions-components/p-8294d644.js +0 -21
  1070. package/dist/solutions-components/p-82e085d0.js +0 -6
  1071. package/dist/solutions-components/p-84913712.js +0 -6
  1072. package/dist/solutions-components/p-865a9a2b.js +0 -6
  1073. package/dist/solutions-components/p-8674e740.js +0 -11
  1074. package/dist/solutions-components/p-86a8cf0e.js +0 -11
  1075. package/dist/solutions-components/p-8959c8fb.entry.js +0 -6
  1076. package/dist/solutions-components/p-896c9644.js +0 -36
  1077. package/dist/solutions-components/p-89a0889f.js +0 -21
  1078. package/dist/solutions-components/p-8f760a96.js +0 -11
  1079. package/dist/solutions-components/p-8fd36ce2.js +0 -6
  1080. package/dist/solutions-components/p-92eadd14.entry.js +0 -6
  1081. package/dist/solutions-components/p-937f5a14.js +0 -6
  1082. package/dist/solutions-components/p-96c901b4.entry.js +0 -6
  1083. package/dist/solutions-components/p-96e9c88b.js +0 -6
  1084. package/dist/solutions-components/p-972fd6e2.js +0 -11
  1085. package/dist/solutions-components/p-996a9b86.js +0 -6
  1086. package/dist/solutions-components/p-997ed04c.js +0 -6
  1087. package/dist/solutions-components/p-9c05337d.entry.js +0 -6
  1088. package/dist/solutions-components/p-9cfc59dd.entry.js +0 -6
  1089. package/dist/solutions-components/p-9d495d2d.entry.js +0 -6
  1090. package/dist/solutions-components/p-9db9645e.js +0 -12
  1091. package/dist/solutions-components/p-9f11bcc0.js +0 -6
  1092. package/dist/solutions-components/p-9f27fdfb.js +0 -6
  1093. package/dist/solutions-components/p-9f635891.js +0 -17
  1094. package/dist/solutions-components/p-9fdd8168.entry.js +0 -11
  1095. package/dist/solutions-components/p-a008937e.entry.js +0 -6
  1096. package/dist/solutions-components/p-a24e5541.js +0 -6
  1097. package/dist/solutions-components/p-a25bbcc1.js +0 -11
  1098. package/dist/solutions-components/p-a520fedd.js +0 -6
  1099. package/dist/solutions-components/p-a5f1bbe9.js +0 -6
  1100. package/dist/solutions-components/p-a87405cb.entry.js +0 -11
  1101. package/dist/solutions-components/p-ab2c8a60.entry.js +0 -6
  1102. package/dist/solutions-components/p-abd5ccf9.entry.js +0 -11
  1103. package/dist/solutions-components/p-ac77e72f.js +0 -6
  1104. package/dist/solutions-components/p-ad5e5e4d.entry.js +0 -11
  1105. package/dist/solutions-components/p-b0a4644b.js +0 -6
  1106. package/dist/solutions-components/p-b5bfe190.js +0 -16
  1107. package/dist/solutions-components/p-b5e4046b.entry.js +0 -6
  1108. package/dist/solutions-components/p-b965c059.entry.js +0 -16
  1109. package/dist/solutions-components/p-bb2e669d.entry.js +0 -6
  1110. package/dist/solutions-components/p-bb53e532.js +0 -6
  1111. package/dist/solutions-components/p-bc82830a.js +0 -6
  1112. package/dist/solutions-components/p-bdcf99c0.js +0 -6
  1113. package/dist/solutions-components/p-bfd3d428.js +0 -11
  1114. package/dist/solutions-components/p-c02351ae.entry.js +0 -11
  1115. package/dist/solutions-components/p-c0c5c7a9.js +0 -6
  1116. package/dist/solutions-components/p-c1222f6b.entry.js +0 -6
  1117. package/dist/solutions-components/p-c151a297.entry.js +0 -6
  1118. package/dist/solutions-components/p-c4a44f66.js +0 -6
  1119. package/dist/solutions-components/p-c512fcfb.entry.js +0 -6
  1120. package/dist/solutions-components/p-c5becad1.entry.js +0 -6
  1121. package/dist/solutions-components/p-c6be0487.entry.js +0 -6
  1122. package/dist/solutions-components/p-c757c37b.js +0 -6
  1123. package/dist/solutions-components/p-c791e836.entry.js +0 -6
  1124. package/dist/solutions-components/p-c7f0e7a8.entry.js +0 -6
  1125. package/dist/solutions-components/p-c8233fcd.entry.js +0 -6
  1126. package/dist/solutions-components/p-c8260cf0.js +0 -145
  1127. package/dist/solutions-components/p-c9653aec.js +0 -6
  1128. package/dist/solutions-components/p-ca37a0ef.entry.js +0 -16
  1129. package/dist/solutions-components/p-cb20ba34.entry.js +0 -21
  1130. package/dist/solutions-components/p-cce71e60.entry.js +0 -11
  1131. package/dist/solutions-components/p-cd190ff9.js +0 -6
  1132. package/dist/solutions-components/p-cd91c3e7.entry.js +0 -29
  1133. package/dist/solutions-components/p-ceba37d3.entry.js +0 -11
  1134. package/dist/solutions-components/p-cf5d4ed0.entry.js +0 -11
  1135. package/dist/solutions-components/p-d0e73f95.entry.js +0 -11
  1136. package/dist/solutions-components/p-d0ebefa0.entry.js +0 -11
  1137. package/dist/solutions-components/p-d893cddf.entry.js +0 -11
  1138. package/dist/solutions-components/p-d8a15e32.entry.js +0 -6
  1139. package/dist/solutions-components/p-d8da6406.entry.js +0 -6
  1140. package/dist/solutions-components/p-da6b3c8a.entry.js +0 -6
  1141. package/dist/solutions-components/p-dcc5f283.entry.js +0 -6
  1142. package/dist/solutions-components/p-dd3e8920.entry.js +0 -6
  1143. package/dist/solutions-components/p-deb3adb8.js +0 -6
  1144. package/dist/solutions-components/p-e2400b0d.entry.js +0 -6
  1145. package/dist/solutions-components/p-e2c898f9.entry.js +0 -24
  1146. package/dist/solutions-components/p-e2efd3ac.entry.js +0 -11
  1147. package/dist/solutions-components/p-e64a3cc4.entry.js +0 -11
  1148. package/dist/solutions-components/p-e96d0b39.js +0 -6
  1149. package/dist/solutions-components/p-ead4a5f5.entry.js +0 -6
  1150. package/dist/solutions-components/p-ec843a3e.js +0 -6
  1151. package/dist/solutions-components/p-eda6994e.entry.js +0 -6
  1152. package/dist/solutions-components/p-edb1e0b4.entry.js +0 -17
  1153. package/dist/solutions-components/p-edcc1f23.entry.js +0 -36
  1154. package/dist/solutions-components/p-ee81a7c3.js +0 -6
  1155. package/dist/solutions-components/p-eeaed243.js +0 -11
  1156. package/dist/solutions-components/p-f1822d63.js +0 -6
  1157. package/dist/solutions-components/p-f22a4439.js +0 -21
  1158. package/dist/solutions-components/p-f2e68b62.entry.js +0 -6
  1159. package/dist/solutions-components/p-f4456214.js +0 -6
  1160. package/dist/solutions-components/p-f7b791a8.entry.js +0 -6
  1161. package/dist/solutions-components/p-f9475704.js +0 -6
  1162. package/dist/solutions-components/p-fac36b42.entry.js +0 -6
  1163. package/dist/solutions-components/p-fc6313ba.entry.js +0 -11
  1164. package/dist/solutions-components/p-fc79eaaf.js +0 -6
  1165. package/dist/solutions-components/p-fcb11407.entry.js +0 -11
  1166. package/dist/solutions-components/p-fd28754c.entry.js +0 -6
  1167. package/dist/solutions-components/p-fd6f2ba3.js +0 -6
  1168. package/dist/solutions-components/p-ff8f475a.entry.js +0 -11
  1169. /package/dist/solutions-components/{p-abea8ef5.js → p-04674a1e.js} +0 -0
  1170. /package/dist/solutions-components/{p-5aaa05ef.js → p-996c1ac5.js} +0 -0
  1171. /package/dist/solutions-components/{p-eeee7c7a.js → p-a42ff7fe.js} +0 -0
  1172. /package/dist/solutions-components/{p-c96eb2db.js → p-a9a72626.js} +0 -0
@@ -0,0 +1,844 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ /** @license
7
+ * Copyright 2022 Esri
8
+ *
9
+ * Licensed under the Apache License, Version 2.0 (the "License");
10
+ * you may not use this file except in compliance with the License.
11
+ * You may obtain a copy of the License at
12
+ *
13
+ * http://www.apache.org/licenses/LICENSE-2.0
14
+ *
15
+ * Unless required by applicable law or agreed to in writing, software
16
+ * distributed under the License is distributed on an "AS IS" BASIS,
17
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
+ * See the License for the specific language governing permissions and
19
+ * limitations under the License.
20
+ */
21
+ /**
22
+ * Effect of the distresses on ride quality.
23
+ *
24
+ * L - Low. Individual bumps or settlements, or both, cause the vehicle to bounce slightly,
25
+ * but create little discomfort.
26
+ *
27
+ * M - Medium. Individual bumps or settlements, or both, cause the vehicle to bounce significantly,
28
+ * creating some discomfort.
29
+ *
30
+ * H - High. Individual bumps or settlements, or both, cause the vehicle to bounce excessively,
31
+ * creating substantial discomfort, safety hazard, or high potential vehicle damage.
32
+ *
33
+ * @returns Promise resolving when function is done
34
+ *
35
+ */
36
+ var ESeverity;
37
+ (function (ESeverity) {
38
+ ESeverity["H"] = "H";
39
+ ESeverity["M"] = "M";
40
+ ESeverity["L"] = "L";
41
+ })(ESeverity || (ESeverity = {}));
42
+ /**
43
+ * Type of distress as defined by ASTM standard
44
+ *
45
+ */
46
+ var EDistressType;
47
+ (function (EDistressType) {
48
+ EDistressType[EDistressType["ALLIGATOR_CRACKING"] = 1] = "ALLIGATOR_CRACKING";
49
+ EDistressType[EDistressType["BLEEDING"] = 2] = "BLEEDING";
50
+ EDistressType[EDistressType["BLOCK_CRACKING"] = 3] = "BLOCK_CRACKING";
51
+ EDistressType[EDistressType["BUMPS_SAGS"] = 4] = "BUMPS_SAGS";
52
+ EDistressType[EDistressType["CORRUGATION"] = 5] = "CORRUGATION";
53
+ EDistressType[EDistressType["DEPRESSION"] = 6] = "DEPRESSION";
54
+ EDistressType[EDistressType["EDGE_CRACKING"] = 7] = "EDGE_CRACKING";
55
+ EDistressType[EDistressType["REFLECTION_CRACKING"] = 8] = "REFLECTION_CRACKING";
56
+ EDistressType[EDistressType["LANE_SHOULDER_DROP_OFF"] = 9] = "LANE_SHOULDER_DROP_OFF";
57
+ EDistressType[EDistressType["LONG_TRANS_CRACKING"] = 10] = "LONG_TRANS_CRACKING";
58
+ EDistressType[EDistressType["PATCHING_UTIL_CUT_PATCHING"] = 11] = "PATCHING_UTIL_CUT_PATCHING";
59
+ EDistressType[EDistressType["POLISHED_AGGREGATE"] = 12] = "POLISHED_AGGREGATE";
60
+ EDistressType[EDistressType["POTHOLES"] = 13] = "POTHOLES";
61
+ EDistressType[EDistressType["RAILROAD_CROSSING"] = 14] = "RAILROAD_CROSSING";
62
+ EDistressType[EDistressType["RUTTING"] = 15] = "RUTTING";
63
+ EDistressType[EDistressType["SHOVING"] = 16] = "SHOVING";
64
+ EDistressType[EDistressType["SLIPPAGE_CRACKING"] = 17] = "SLIPPAGE_CRACKING";
65
+ EDistressType[EDistressType["SWELL"] = 18] = "SWELL";
66
+ EDistressType[EDistressType["RAVELING"] = 19] = "RAVELING";
67
+ EDistressType[EDistressType["WEATHERING"] = 20] = "WEATHERING";
68
+ })(EDistressType || (EDistressType = {}));
69
+ /**
70
+ * Calculate the deduct value for the given distress.
71
+ *
72
+ * @param type expects 1-19 as a string
73
+ * @param severity expects "H" | "M" | "L"
74
+ * @param density the calculated percent density ralative to the total sample area
75
+ * @param showDebugging used to control debugging messages to show the various
76
+ * calculations a required steps along the way.
77
+ * The main reason this is optional is that it provides no value when used within
78
+ * Survey123 as we have nowhere to see the messages and I wasn't sure if writing to a
79
+ * console in that context could have any negative side effects.
80
+ *
81
+ * @returns pipe delimited string: type|severity|roundedDeductValue|density
82
+ */
83
+ function calculateDeductValue(type, severity, density, showDebugging = false) {
84
+ // When called from survey123 we will get the args as strings
85
+ // not sure if they could be numbers so a little extra conversion to make sure with the density
86
+ const _type = parseInt(type);
87
+ const _severity = ESeverity[severity];
88
+ const _density = parseFloat(density.toString());
89
+ // When called from survey123 all distress types and severities will be passed in
90
+ // We only need to calculate the deduct value if we have a valid density
91
+ if (Number.isNaN(_density) || _density === 0) {
92
+ return "";
93
+ }
94
+ const _showDebugging = showDebugging === true || showDebugging.toString().toLowerCase() === "true";
95
+ let calc;
96
+ switch (_type) {
97
+ case EDistressType.ALLIGATOR_CRACKING:
98
+ calc = _calcAlligator;
99
+ break;
100
+ case EDistressType.BLEEDING:
101
+ calc = _calcBleeding;
102
+ break;
103
+ case EDistressType.BLOCK_CRACKING:
104
+ calc = _calcBlockCracking;
105
+ break;
106
+ case EDistressType.BUMPS_SAGS:
107
+ calc = _calcBumpsSags;
108
+ break;
109
+ case EDistressType.CORRUGATION:
110
+ calc = _calcCorrugation;
111
+ break;
112
+ case EDistressType.DEPRESSION:
113
+ calc = _calcDepression;
114
+ break;
115
+ case EDistressType.EDGE_CRACKING:
116
+ calc = _calcEdgeCracking;
117
+ break;
118
+ case EDistressType.REFLECTION_CRACKING:
119
+ calc = _calcReflectionCracking;
120
+ break;
121
+ case EDistressType.LANE_SHOULDER_DROP_OFF:
122
+ calc = _calcLaneShoulderDropOff;
123
+ break;
124
+ case EDistressType.LONG_TRANS_CRACKING:
125
+ calc = _calcLongTransCracking;
126
+ break;
127
+ case EDistressType.PATCHING_UTIL_CUT_PATCHING:
128
+ calc = _calcPatchingUtilCutPatching;
129
+ break;
130
+ case EDistressType.POLISHED_AGGREGATE:
131
+ calc = _calcPolishedAggregate;
132
+ break;
133
+ case EDistressType.POTHOLES:
134
+ calc = _calcPotholes;
135
+ break;
136
+ case EDistressType.RAILROAD_CROSSING:
137
+ calc = _calcRailroadCrossing;
138
+ break;
139
+ case EDistressType.RUTTING:
140
+ calc = _calcRutting;
141
+ break;
142
+ case EDistressType.SHOVING:
143
+ calc = _calcShoving;
144
+ break;
145
+ case EDistressType.SLIPPAGE_CRACKING:
146
+ calc = _calcSlippageCracking;
147
+ break;
148
+ case EDistressType.SWELL:
149
+ calc = _calcSwell;
150
+ break;
151
+ case EDistressType.RAVELING:
152
+ calc = _calcRaveling;
153
+ break;
154
+ case EDistressType.WEATHERING:
155
+ calc = _calcWeathering;
156
+ break;
157
+ }
158
+ const dv = calc(_severity, Math.log10(_density));
159
+ const roundedDV = _round(dv);
160
+ const formattedDV = `${type}|${severity}|${roundedDV}|${_density}`;
161
+ if (_showDebugging) {
162
+ console.log(`Deduct value: ${dv}`);
163
+ console.log(`Rounded deduct value: ${roundedDV}`);
164
+ console.log(`Formatted devduct value (type|severity|roundedDV|density): ${formattedDV}`);
165
+ }
166
+ return formattedDV;
167
+ }
168
+ /**
169
+ * Calculate the pavement condition index (PCI)
170
+ *
171
+ * @param deductValues string of comma delimited values
172
+ * @param showDebugging used to control debugging messages to show the various
173
+ * calculations a required steps along the way.
174
+ * The main reason this is optional is that it provides no value when used within
175
+ * Survey123 as we have nowhere to see the messages and I wasn't sure if writing to a
176
+ * console in that context could have any negative side effects.
177
+ *
178
+ * @returns the calculated PCI
179
+ */
180
+ function calculatePCI(deductValues, showDebugging = false) {
181
+ // When called from survey123 we will get the args as strings
182
+ // When comparing multi-severities calculatePCI will be called multiple times
183
+ // When called from _evaluateMultiSeverity we will just recieve a comma delimited string
184
+ // When its just comma delimited we don't need to re-evaluate the multiple severities
185
+ let _deductValues = deductValues.indexOf("|") > -1 ?
186
+ _evaluateMultiSeverity(deductValues, showDebugging) :
187
+ deductValues.split(",").map(dv => parseFloat(dv));
188
+ const _showDebugging = showDebugging === true || showDebugging.toString().toLowerCase() === "true";
189
+ let pci = 0;
190
+ // filter out non-numbers
191
+ _deductValues = _deductValues.filter(dv => Math.abs(dv) > 0);
192
+ if (_deductValues.length > 0) {
193
+ const maxCDV = _getMaxCDV(_deductValues, _showDebugging);
194
+ pci = 100 - _round(maxCDV);
195
+ }
196
+ return pci;
197
+ }
198
+ /**
199
+ * Determine if corrections are required when we have multiple severities of a single distress type.
200
+ *
201
+ * @param deductValues string of comma delimited values e.g. "1|L|10|0.52,1|H|7|0.58"
202
+ * @param showDebugging used to control debugging messages to show the various
203
+ * calculations a required steps along the way.
204
+ *
205
+ * @returns an object that will contain any corrections for the current distress type
206
+ */
207
+ function _evaluateMultiSeverity(deductValues, showDebugging) {
208
+ const updates = {};
209
+ const _dvObject = _parseDeductValues(deductValues);
210
+ const multiSeverityKeys = Object.keys(_dvObject).filter(k => Object.keys(_dvObject[k]).length > 1);
211
+ if (multiSeverityKeys.length > 0) {
212
+ multiSeverityKeys.forEach(k => {
213
+ let hDeductValue;
214
+ let mDeductValue;
215
+ let lDeductValue;
216
+ let hDensity;
217
+ let mDensity;
218
+ let lDensity;
219
+ // need to know if 2 or 3 severity case
220
+ Object.keys(_dvObject[k]).forEach(_k => {
221
+ if (_k === "H") {
222
+ hDeductValue = _dvObject[k][_k].deductValue;
223
+ hDensity = _dvObject[k][_k].density;
224
+ }
225
+ else if (_k === "M") {
226
+ mDeductValue = _dvObject[k][_k].deductValue;
227
+ mDensity = _dvObject[k][_k].density;
228
+ }
229
+ else {
230
+ lDeductValue = _dvObject[k][_k].deductValue;
231
+ lDensity = _dvObject[k][_k].density;
232
+ }
233
+ });
234
+ const func = (hDensity && mDensity && lDensity) ?
235
+ _getThreeSeverityCaseUpdates : _getTwoSeverityCaseUpdates;
236
+ const update = func(k, hDeductValue, mDeductValue, lDeductValue, hDensity, mDensity, lDensity, showDebugging);
237
+ if (update) {
238
+ updates[k] = update;
239
+ if (showDebugging) {
240
+ console.log("updates");
241
+ console.log(updates);
242
+ }
243
+ }
244
+ });
245
+ }
246
+ return _getFinalDeductValues(deductValues, updates);
247
+ }
248
+ /**
249
+ * Determine if corrections are required when we have 3 severities of a single distress type.
250
+ *
251
+ * @param type the distress type 1-19 as a string
252
+ * @param hDeductValue high severity deduct value
253
+ * @param mDeductValue med severity deduct value
254
+ * @param lDeductValue low severity deduct value
255
+ * @param hDensity high severity density
256
+ * @param mDensity med severity density
257
+ * @param lDensity low severity density
258
+ * @param showDebugging used to control debugging messages to show the various
259
+ * calculations a required steps along the way.
260
+ *
261
+ * @returns undefined or an object that will contain any corrections for the current distress type
262
+ */
263
+ function _getThreeSeverityCaseUpdates(type, hDeductValue, mDeductValue, lDeductValue, hDensity, mDensity, lDensity, showDebugging) {
264
+ const pci1 = calculatePCI(`${hDeductValue},${mDeductValue},${lDeductValue}`, true);
265
+ if (showDebugging) {
266
+ console.log("pci1");
267
+ console.log(pci1);
268
+ }
269
+ const lm = lDensity + mDensity;
270
+ const lmPCI2 = _getPCI2(type, "M", lm.toString(), hDeductValue, showDebugging);
271
+ const mh = mDensity + hDensity;
272
+ const mhPCI2 = _getPCI2(type, "H", mh.toString(), lDeductValue, showDebugging);
273
+ const lh = lDensity + hDensity;
274
+ const lhPCI2 = _getPCI2(type, "H", lh.toString(), mDeductValue, showDebugging);
275
+ const lmh = lDensity + mDensity + hDensity;
276
+ const lmhPCI2 = _getPCI2(type, "H", lmh.toString(), 0, showDebugging);
277
+ if (showDebugging) {
278
+ console.log("low med pci2");
279
+ console.log(lmPCI2.pci);
280
+ console.log("med high pci2");
281
+ console.log(mhPCI2.pci);
282
+ console.log("low high pci2");
283
+ console.log(lhPCI2.pci);
284
+ console.log("low med high pci2");
285
+ console.log(lmhPCI2.pci);
286
+ }
287
+ const pcis = [lmPCI2, mhPCI2, lhPCI2, lmhPCI2];
288
+ const highest = pcis.reduce((prev, cur) => {
289
+ return cur.pci > pci1 && (!prev || cur.pci > prev.pci) ? cur : prev;
290
+ }, undefined);
291
+ return highest ? highest.dv : undefined;
292
+ }
293
+ /**
294
+ * Determine if corrections are required when we have 2 severities of a single distress type.
295
+ *
296
+ * @param type the distress type 1-19 as a string
297
+ * @param hDeductValue high severity deduct value
298
+ * @param mDeductValue med severity deduct value
299
+ * @param lDeductValue low severity deduct value
300
+ * @param hDensity high severity density
301
+ * @param mDensity med severity density
302
+ * @param lDensity low severity density
303
+ * @param showDebugging used to control debugging messages to show the various
304
+ * calculations a required steps along the way.
305
+ *
306
+ * @returns undefined or an object that will contain any corrections for the current distress type
307
+ */
308
+ function _getTwoSeverityCaseUpdates(type, hDeductValue, mDeductValue, lDeductValue, hDensity, mDensity, lDensity, showDebugging) {
309
+ const hDV = hDeductValue || mDeductValue;
310
+ const lDV = lDeductValue || mDeductValue;
311
+ const pci1 = calculatePCI(`${hDV},${lDV}`, true);
312
+ if (showDebugging) {
313
+ console.log("pci1");
314
+ console.log(pci1);
315
+ }
316
+ const hDen = hDensity || mDensity;
317
+ const lDen = lDensity || mDensity;
318
+ const sumDen = hDen + lDen;
319
+ const highestSeverity = hDen === hDensity ? "H" : "M";
320
+ const pci2 = _getPCI2(type, highestSeverity, sumDen.toString(), 0, showDebugging);
321
+ if (showDebugging) {
322
+ console.log("pci2");
323
+ console.log(pci2.pci);
324
+ }
325
+ return pci2.pci > pci1 ? pci2.dv : undefined;
326
+ }
327
+ /**
328
+ * Used to test for highest PCI when we have multiple severity cases for a single distress type.
329
+ *
330
+ * @param type the distress type 1-19 as a string
331
+ * @param severity expects "H" | "M" | "L"
332
+ * @param density the calculated percent density ralative to the total sample area
333
+ * @param secondDeductValue optional deduct value will be 0 for all 2 severity cases and will be a non 0 number for 3 severity cases
334
+ * @param showDebugging used to control debugging messages to show the various
335
+ * calculations a required steps along the way.
336
+ *
337
+ * @returns ICorrection that contains the new PCI as well as the deduct values that should be used for corrections
338
+ */
339
+ function _getPCI2(type, severity, density, secondDeductValue, showDebugging) {
340
+ const deductValue = calculateDeductValue(type, severity, density);
341
+ const splitVal = deductValue.split("|");
342
+ const newDV = parseFloat(splitVal[2]);
343
+ return {
344
+ pci: calculatePCI(`${splitVal[2]},${secondDeductValue}`, showDebugging),
345
+ dv: secondDeductValue ? [newDV, secondDeductValue] : [newDV]
346
+ };
347
+ }
348
+ /**
349
+ * Parse the deduct value string into individual values for type, severity, deduct value, and density
350
+ *
351
+ * @param deductValues string of comma delimited values for type, severity, deduct value, and density
352
+ *
353
+ * @returns an object with the parsed values
354
+ */
355
+ function _parseDeductValues(deductValues) {
356
+ return deductValues.split(",").reduce((prev, cur) => {
357
+ const splitVal = cur.split("|");
358
+ const type = splitVal[0];
359
+ const severity = splitVal[1];
360
+ const deductValue = parseFloat(splitVal[2]);
361
+ const density = parseFloat(splitVal[3]);
362
+ if (!prev[type]) {
363
+ prev[type] = {};
364
+ }
365
+ prev[type][severity] = {
366
+ deductValue,
367
+ density
368
+ };
369
+ return prev;
370
+ }, {});
371
+ }
372
+ /**
373
+ * Replace any deduct values for the given distress types when it is determined that corrections
374
+ * are required for a multi-severity case
375
+ *
376
+ * @param deductValues string of comma delimited values for type, severity, deduct value, and density
377
+ * @param updates will contain the new corrected deduct value(s) that should be substituted for the original deduct value
378
+ *
379
+ * @returns an object with the parsed and updated deduct values to use for final PCI calculation
380
+ */
381
+ function _getFinalDeductValues(deductValues, updates) {
382
+ const skipAdditionalTypes = [];
383
+ return deductValues.split(",").reduce((prev, cur) => {
384
+ //0: type, 1: severity, 2: deductValue, 3: density
385
+ const splitVal = cur.split("|");
386
+ const type = splitVal[0];
387
+ const deductValue = parseFloat(splitVal[2]);
388
+ if (Object.keys(updates).length > 0 && updates[type]) {
389
+ skipAdditionalTypes.push(type);
390
+ prev.push(...updates[type]);
391
+ delete (updates[type]);
392
+ }
393
+ else if (skipAdditionalTypes.indexOf(type) < 0) {
394
+ prev.push(deductValue);
395
+ }
396
+ return prev;
397
+ }, []);
398
+ }
399
+ /**
400
+ * Executes the polynomial equation using the provided values and density.
401
+ * In the ASTM standard this is the step represented by finding the values
402
+ * on the plotted graphs.
403
+ *
404
+ * @returns the calculated deduct value
405
+ */
406
+ function _calc(density, vals) {
407
+ return vals.reduce((prev, cur, i) => {
408
+ return prev += i === 0 ? cur :
409
+ i === 1 ? (cur * density) :
410
+ (cur * Math.pow(density, i));
411
+ }, 0);
412
+ }
413
+ /**
414
+ * Round to the nerest decimal in the 10ths place
415
+ */
416
+ function _round(v) {
417
+ return Math.round(v * 10) / 10;
418
+ }
419
+ /**
420
+ * Execute the deduct value calculation for the distress type
421
+ *
422
+ * @param severity The severity of the distress type
423
+ * @param density percent density of the distress type
424
+ *
425
+ * @returns the calculated deduct value
426
+ */
427
+ function _calcAlligator(severity, density) {
428
+ const vals = severity === ESeverity.H ? [30.71, 29.22, 9.407, -6.981, -2.158, 3.047, -0.6578] :
429
+ severity === ESeverity.M ? [21.62, 21.32, 5.194, -1.343, 0.2341] :
430
+ [11.31, 16.05, 7.572, -1.471];
431
+ return _calc(density, vals);
432
+ }
433
+ /**
434
+ * Execute the deduct value calculation for the distress type
435
+ *
436
+ * @param severity The severity of the distress type
437
+ * @param density percent density of the distress type
438
+ *
439
+ * @returns the calculated deduct value
440
+ */
441
+ function _calcBleeding(severity, density) {
442
+ const vals = severity === ESeverity.H ? [5.343, 6.927, 7.926, 4.265, -0.7582] :
443
+ severity === ESeverity.M ? [2.38, 5.483, 4.128, 0.8366, 0.03659, 0.1052] :
444
+ [0.01391, 0.5079, 1.576, 1.191, 0.1329, 0.03823];
445
+ return _calc(density, vals);
446
+ }
447
+ /**
448
+ * Execute the deduct value calculation for the distress type
449
+ *
450
+ * @param severity The severity of the distress type
451
+ * @param density percent density of the distress type
452
+ *
453
+ * @returns the calculated deduct value
454
+ */
455
+ function _calcBlockCracking(severity, density) {
456
+ const vals = severity === ESeverity.H ? [7.926, 11.93, 8.826, 3.432, -1.382] :
457
+ severity === ESeverity.M ? [2.587, 9.142, 6.647, -0.455, -0.2439, 0.1107] :
458
+ [0.646, 4.002, 4.2, 0.4987, -0.06269];
459
+ return _calc(density, vals);
460
+ }
461
+ /**
462
+ * Execute the deduct value calculation for the distress type
463
+ *
464
+ * @param severity The severity of the distress type
465
+ * @param density percent density of the distress type
466
+ *
467
+ * @returns the calculated deduct value
468
+ */
469
+ function _calcBumpsSags(severity, density) {
470
+ const vals = severity === ESeverity.H ? [52.77, 38.07, 8.964, -0.4148, -1.589, 2.478] :
471
+ severity === ESeverity.M ? [24.66, 27.86, 15.73, 3.295, -5.27, 5.921, 7.959] :
472
+ [8.768, 13.79, 7.064, 7.455, 6.041, -1.739, -1.371];
473
+ return _calc(density, vals);
474
+ }
475
+ /**
476
+ * Execute the deduct value calculation for the distress type
477
+ *
478
+ * @param severity The severity of the distress type
479
+ * @param density percent density of the distress type
480
+ *
481
+ * @returns the calculated deduct value
482
+ */
483
+ function _calcCorrugation(severity, density) {
484
+ const vals = severity === ESeverity.H ? [34.21, 21.59, 1.863, 6.1410, -0.687, -1.885, 0.4916] :
485
+ severity === ESeverity.M ? [15.78, 19.69, 6.276, -2.124, 0.5868, 0.06045] :
486
+ [2.173, 5.609, 5.976, -0.7348, -0.2172, 1.494, -0.5659];
487
+ return _calc(density, vals);
488
+ }
489
+ /**
490
+ * Execute the deduct value calculation for the distress type
491
+ *
492
+ * @param severity The severity of the distress type
493
+ * @param density percent density of the distress type
494
+ *
495
+ * @returns the calculated deduct value
496
+ */
497
+ function _calcDepression(severity, density) {
498
+ const vals = severity === ESeverity.H ? [17.84, 5.904, 9.406, 18.28, -2.753, -7.798, 2.402] :
499
+ severity === ESeverity.M ? [8.471, 3.171, 10.25, 12.2, -0.9687, -4.601, 1.079] :
500
+ [4.836, -0.7572, 4.786, 12.39, 1.233, -4.871, 0.9749];
501
+ return _calc(density, vals);
502
+ }
503
+ /**
504
+ * Execute the deduct value calculation for the distress type
505
+ *
506
+ * @param severity The severity of the distress type
507
+ * @param density percent density of the distress type
508
+ *
509
+ * @returns the calculated deduct value
510
+ */
511
+ function _calcEdgeCracking(severity, density) {
512
+ const vals = severity === ESeverity.H ? [14.99, 13.5, 10.62, 5.15, -1.792, -2.826] :
513
+ severity === ESeverity.M ? [9.177, 10.26, 5.704, -0.6812, -0.8588, 0.2123] :
514
+ [3.049, 4.802, 4.058, -0.3556, -1.55, 1.02];
515
+ return _calc(density, vals);
516
+ }
517
+ /**
518
+ * Execute the deduct value calculation for the distress type
519
+ *
520
+ * @param severity The severity of the distress type
521
+ * @param density percent density of the distress type
522
+ *
523
+ * @returns the calculated deduct value
524
+ */
525
+ function _calcReflectionCracking(severity, density) {
526
+ const vals = severity === ESeverity.H ? [14.99, 17.21, 27.63, 31.13, -20.94, -18.82, 9.985] :
527
+ severity === ESeverity.M ? [9.9193, 10.88, 8.073, 14.8, -3.792, -9.583, 3.651] :
528
+ [2.356, 6.664, 3.717, -1.393, 1.94, 1.785, -0.9707];
529
+ return _calc(density, vals);
530
+ }
531
+ /**
532
+ * Execute the deduct value calculation for the distress type
533
+ *
534
+ * @param severity The severity of the distress type
535
+ * @param density percent density of the distress type
536
+ *
537
+ * @returns the calculated deduct value
538
+ */
539
+ function _calcLaneShoulderDropOff(severity, density) {
540
+ const vals = severity === ESeverity.H ? [7.549, 6.907, 7.284, 9.304, 2.064] :
541
+ severity === ESeverity.M ? [4.02, 1.744, 14.36, 15.92, -40.22, 23.6] :
542
+ [2.004, 1.065, 9.706, 11.75, -27.52, 15.04];
543
+ return _calc(density, vals);
544
+ }
545
+ /**
546
+ * Execute the deduct value calculation for the distress type
547
+ *
548
+ * @param severity The severity of the distress type
549
+ * @param density percent density of the distress type
550
+ *
551
+ * @returns the calculated deduct value
552
+ */
553
+ function _calcLongTransCracking(severity, density) {
554
+ const vals = severity === ESeverity.H ? [19.56, 24.06, 12.12, 9.336, 1.532, -4.396] :
555
+ severity === ESeverity.M ? [9.751, 15.53, 4.719, 1.369, 1.206, -1.164] :
556
+ [2.347, 9.074, 8.424, -1.338, -1.873, 1.144];
557
+ return _calc(density, vals);
558
+ }
559
+ /**
560
+ * Execute the deduct value calculation for the distress type
561
+ *
562
+ * @param severity The severity of the distress type
563
+ * @param density percent density of the distress type
564
+ *
565
+ * @returns the calculated deduct value
566
+ */
567
+ function _calcPatchingUtilCutPatching(severity, density) {
568
+ const vals = severity === ESeverity.H ? [20.15, 16.55, 5.415, 10.77, 3.257, -4.502] :
569
+ severity === ESeverity.M ? [10.28, 12.71, 6.174, 1.928, 0.6923, -0.4673] :
570
+ [2.523, 6.892, 5.702, 2.407, 0.2185, -0.8722];
571
+ return _calc(density, vals);
572
+ }
573
+ /**
574
+ * Execute the deduct value calculation for the distress type
575
+ *
576
+ * @param severity The severity of the distress type
577
+ * @param density percent density of the distress type
578
+ *
579
+ * @returns the calculated deduct value
580
+ */
581
+ function _calcPolishedAggregate(severity, density) {
582
+ const vals = severity === ESeverity.H || severity === ESeverity.M || severity === ESeverity.L ?
583
+ [3.417, -26.82, 71.15, -76.22, 38.52, -6.904] : [];
584
+ return _calc(density, vals);
585
+ }
586
+ /**
587
+ * Execute the deduct value calculation for the distress type
588
+ *
589
+ * @param severity The severity of the distress type
590
+ * @param density percent density of the distress type
591
+ *
592
+ * @returns the calculated deduct value
593
+ */
594
+ function _calcPotholes(severity, density) {
595
+ const vals = severity === ESeverity.H ? [110.7, 60.66, 2.378, -2.664] :
596
+ severity === ESeverity.M ? [90.47, 60.41, -0.1123, -4.746] :
597
+ [58.19, 40.53, 2.884, -1.443, 0.1195];
598
+ return _calc(density, vals);
599
+ }
600
+ /**
601
+ * Execute the deduct value calculation for the distress type
602
+ *
603
+ * @param severity The severity of the distress type
604
+ * @param density percent density of the distress type
605
+ *
606
+ * @returns the calculated deduct value
607
+ */
608
+ function _calcRailroadCrossing(severity, density) {
609
+ const vals = severity === ESeverity.H ? [20, 38.64, -62.82, 193.6, -162.7, 41.22] :
610
+ severity === ESeverity.M ? [6.994, 23.47, -52.3, 167.3, -143.6, 37.64] :
611
+ [1.998, -0.7488, 13.8, -0.7917, -1.981];
612
+ return _calc(density, vals);
613
+ }
614
+ /**
615
+ * Execute the deduct value calculation for the distress type
616
+ *
617
+ * @param severity The severity of the distress type
618
+ * @param density percent density of the distress type
619
+ *
620
+ * @returns the calculated deduct value
621
+ */
622
+ function _calcRutting(severity, density) {
623
+ const vals = severity === ESeverity.H ? [27.61, 25.19, 8.557, 1.65, -2.2030] :
624
+ severity === ESeverity.M ? [18.47, 20.77, 6.617, -1.13, -2.286] :
625
+ [8.833, 14.84, 3.129, 0.1451, 2.438, -1.279];
626
+ return _calc(density, vals);
627
+ }
628
+ /**
629
+ * Execute the deduct value calculation for the distress type
630
+ *
631
+ * @param severity The severity of the distress type
632
+ * @param density percent density of the distress type
633
+ *
634
+ * @returns the calculated deduct value
635
+ */
636
+ function _calcShoving(severity, density) {
637
+ const vals = severity === ESeverity.H ? [18.7, 20.17, 10.3, 4.694, 1.331, -2.61] :
638
+ severity === ESeverity.M ? [10.39, 14.78, 5.488, 4.001, 3.23, -2.387] :
639
+ [4.002, 10.66, 6.332, -0.5226, -0.1923];
640
+ return _calc(density, vals);
641
+ }
642
+ /**
643
+ * Execute the deduct value calculation for the distress type
644
+ *
645
+ * @param severity The severity of the distress type
646
+ * @param density percent density of the distress type
647
+ *
648
+ * @returns the calculated deduct value
649
+ */
650
+ function _calcSlippageCracking(severity, density) {
651
+ const vals = severity === ESeverity.H ? [19.73, 32.21, 25.87, -2.871, -10.55, 1.496, 0.7393] :
652
+ severity === ESeverity.M ? [11.38, 18.55, 18.38, 1.628, -7.596, 0.5841, 0.5946] :
653
+ [5.144, 12.95, 11.95, -0.833, -2.995, 1.325, -0.2113];
654
+ return _calc(density, vals);
655
+ }
656
+ /**
657
+ * Execute the deduct value calculation for the distress type
658
+ *
659
+ * @param severity The severity of the distress type
660
+ * @param density percent density of the distress type
661
+ *
662
+ * @returns the calculated deduct value
663
+ */
664
+ function _calcSwell(severity, density) {
665
+ const vals = severity === ESeverity.H ? [34, 16.84, -23.09, 41.17, -14.84] :
666
+ severity === ESeverity.M ? [12, 15.67, 20.59, -28.33, 21, -5.508] :
667
+ [1.995, 11.9, -12.83, 16.74, -5.361];
668
+ return _calc(density, vals);
669
+ }
670
+ /**
671
+ * Execute the deduct value calculation for the distress type
672
+ *
673
+ * @param severity The severity of the distress type
674
+ * @param density percent density of the distress type
675
+ *
676
+ * @returns the calculated deduct value
677
+ */
678
+ function _calcRaveling(severity, density) {
679
+ const vals = severity === ESeverity.H ? [16.77, 10.67, 5.758, 12.9, -0.0633, -5.659, 1.48] :
680
+ severity === ESeverity.M ? [8.512, 5.106, 1.63, 3.469, 1.028, -1.211, 0.1938] :
681
+ [];
682
+ return _calc(density, vals);
683
+ }
684
+ /**
685
+ * Execute the deduct value calculation for the distress type
686
+ *
687
+ * @param severity The severity of the distress type
688
+ * @param density percent density of the distress type
689
+ *
690
+ * @returns the calculated deduct value
691
+ */
692
+ function _calcWeathering(severity, density) {
693
+ const vals = severity === ESeverity.H ? [3.673, 3.349, 2.598, -1.233, 2.754, 2.434, -1.485] :
694
+ severity === ESeverity.M ? [1.12, 0.9769, 0.93, -0.5955, 1.041, 1.111, -0.614] :
695
+ [-0.0386, -0.0736, 0.834, 1.63, -0.0287, -0.639, 0.1515];
696
+ return _calc(density, vals);
697
+ }
698
+ /**
699
+ * Determine maximum Corrected Deduct Value (CDV) iteratively
700
+ *
701
+ * @param deductValues The calculated deduct values that will be used to determine max CDV
702
+ * @param showDebugging used to optionally show debugging messages
703
+ *
704
+ * @returns the max CDV value
705
+ */
706
+ function _getMaxCDV(deductValues, showDebugging) {
707
+ let maxCDV;
708
+ // If none or only one individual deduct value is greater
709
+ // than two, the total value is used in place of the maximum CD
710
+ const valuesGreaterThan2 = deductValues.filter(deductValue => deductValue > 2);
711
+ if (valuesGreaterThan2.length <= 1) {
712
+ maxCDV = valuesGreaterThan2.reduce((prev, cur) => {
713
+ prev += cur;
714
+ return prev;
715
+ }, 0);
716
+ if (showDebugging) {
717
+ console.log("If none or only one individual deduct value is greater");
718
+ console.log("than two, the total value is used in place of the maximum CD");
719
+ console.log(`Max CDV: ${maxCDV}`);
720
+ }
721
+ }
722
+ else {
723
+ // sort in descending order (section 9.5.2 in ASTM doc)
724
+ const sortedDVs = deductValues.sort((a, b) => b - a);
725
+ // Determine the allowable number of deducts, m (section 9.5.3 in ASTM doc)
726
+ const highestDV = sortedDVs[0];
727
+ // m = allowable number of deducts including fractions (must be less than or equal to ten)
728
+ const m = 1 + (9 / 98) * (100 - highestDV);
729
+ if (showDebugging) {
730
+ console.log(`Deduct values sorted in descending order: ${sortedDVs}`);
731
+ console.log(`Highest deduct value: ${highestDV}`);
732
+ console.log(`Allowable number of deducts including fractions: ${m}`);
733
+ }
734
+ // TODO they mention (must be less than or equal to ten) but don't say what happens if its over
735
+ if (m <= 10) {
736
+ const vals = _reduceDeductValues(sortedDVs, m);
737
+ if (showDebugging) {
738
+ console.log(`Reduce deduct values to the m largest including the fractional part: ${vals}`);
739
+ }
740
+ // iteratively determined cdv values
741
+ const cdvs = _getCDVs(vals, showDebugging);
742
+ maxCDV = Math.max(...cdvs);
743
+ if (showDebugging) {
744
+ console.log(`Max CDV: ${maxCDV}`);
745
+ }
746
+ }
747
+ else {
748
+ if (showDebugging) {
749
+ console.log("Allowable number of deducts including fractions (must be less than or equal to ten)");
750
+ }
751
+ }
752
+ }
753
+ return maxCDV;
754
+ }
755
+ /**
756
+ * Reduce deduct values to the m largest including the fractional part
757
+ *
758
+ * @param sortedDVs individual deduct values in descending order
759
+ * @param m allowable number of deducts (9.5.3 in ASTM standard)
760
+ *
761
+ * @returns updated deduct values
762
+ */
763
+ function _reduceDeductValues(sortedDVs, m) {
764
+ const fractionalPart = m - Math.floor(m);
765
+ // If less than m deduct values are available, all of the deduct values are used
766
+ return sortedDVs.length < m ? sortedDVs :
767
+ sortedDVs.reduce((prev, cur, i) => {
768
+ if (i + 1 < m) {
769
+ prev.push(cur);
770
+ }
771
+ else if (fractionalPart > 0) {
772
+ prev.push(_round(cur * fractionalPart));
773
+ }
774
+ return prev;
775
+ }, []);
776
+ }
777
+ /**
778
+ * Reduce the smallest individual deduct value greater to 2.0 and repeat
779
+ *
780
+ * @param vals the list of deduct values
781
+ * @param showDebugging optionally show debugging messages
782
+ *
783
+ * @returns array of CDV values
784
+ */
785
+ function _getCDVs(vals, showDebugging) {
786
+ let len = vals.length;
787
+ const cdvs = [];
788
+ while (len >= 1) {
789
+ if (showDebugging) {
790
+ console.log(`vals: ${vals}`);
791
+ }
792
+ cdvs.push(_getCDV(vals, showDebugging));
793
+ len -= 1;
794
+ vals.splice(len, 1, 2);
795
+ }
796
+ return cdvs;
797
+ }
798
+ /**
799
+ * Determine the total and max number deducts higher than two and calculate the CDV
800
+ *
801
+ * @param vals the list of deduct values
802
+ * @param showDebugging optionally show debugging messages
803
+ *
804
+ * @returns the calculated CDV
805
+ */
806
+ function _getCDV(vals, showDebugging) {
807
+ // section 9.5.5.1 in ASTM doc
808
+ const totalDV = vals.reduce((prev, cur) => prev += cur, 0);
809
+ // section 9.5.5.2 in ASTM doc
810
+ // the number of deducts with a value greater than 2.0
811
+ const q = vals.reduce((prev, cur) => cur > 2 ? prev + 1 : prev, 0);
812
+ // section 9.5.5.3 in ASTM doc
813
+ return _calcCDV(totalDV, q, showDebugging);
814
+ }
815
+ /**
816
+ * Determine the total and max number deducts higher than two and calculate the CDV
817
+ *
818
+ * @param total the sum of all deduct values
819
+ * @param q the number of deducts with a value greater than 2.0
820
+ * @param showDebugging optionally show debugging messages
821
+ *
822
+ * @returns the calculated CDV
823
+ */
824
+ function _calcCDV(total, q, showDebugging) {
825
+ // Determine the CDV from total deduct value and q
826
+ const vals2 = {
827
+ 7: [-9.482, 0.6045, 0.0003563, -5.448e-06],
828
+ 6: [-8.165, 0.5724, 0.0004266, -4.254e-06],
829
+ 5: [-7.932, 0.6091, 0.0003464, -4.265e-06],
830
+ 4: [-6.78, 0.6301, 0.0007376, -6.357e-06],
831
+ 3: [-5.015, 0.7546, -0.00043, -3.075e-06],
832
+ 2: [-1.668, 0.7992, -0.0003013, -5.214e-06],
833
+ 1: [1.651e-15, 1, -4.249e-18, 1.149e-19]
834
+ };
835
+ const cdv = _calc(total, vals2[q >= 7 ? 7 : q]);
836
+ if (showDebugging) {
837
+ console.log(`totalDV: ${total}`);
838
+ console.log(`q: ${q}`);
839
+ console.log(`CDV: ${cdv}`);
840
+ }
841
+ return cdv;
842
+ }
843
+
844
+ export { EDistressType as E, ESeverity as a, calculateDeductValue as b, calculatePCI as c };