@arcgis/portal-components 6.0.0-next.4 → 6.0.0-next.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (409) hide show
  1. package/dist/cdn/2574FNAZ.js +2 -0
  2. package/dist/cdn/3DOZPC3W.js +2 -0
  3. package/dist/cdn/3HZI6MKD.js +2 -0
  4. package/dist/cdn/3KGSWW6B.js +2 -0
  5. package/dist/cdn/3OL7A2UC.js +2 -0
  6. package/dist/cdn/3Q7UJKKN.js +2 -0
  7. package/dist/cdn/43A74S72.js +2 -0
  8. package/dist/cdn/46HNNQAD.js +2 -0
  9. package/dist/cdn/46MYBPSS.js +2 -0
  10. package/dist/cdn/{2TDHJSMP.js → 47DKAGRV.js} +1 -1
  11. package/dist/cdn/4CBRO7JP.js +2 -0
  12. package/dist/cdn/4QYVBXZT.js +2 -0
  13. package/dist/cdn/{K75JTQPW.js → 4VLEUN7I.js} +1 -1
  14. package/dist/cdn/5M25PCH2.js +2 -0
  15. package/dist/cdn/5MLBK66O.js +2 -0
  16. package/dist/cdn/5RBH3LGK.js +2 -0
  17. package/dist/cdn/5ZHNRQOW.js +2 -0
  18. package/dist/cdn/62TL6V4N.js +2 -0
  19. package/dist/cdn/66VV7NHO.js +2 -0
  20. package/dist/cdn/6AHPTR2E.js +2 -0
  21. package/dist/cdn/6APPSZ7E.js +2 -0
  22. package/dist/cdn/{BKD7JSV2.js → 6CUXEL27.js} +1 -1
  23. package/dist/cdn/6QI7DAS2.js +2 -0
  24. package/dist/cdn/6ZJNZZPC.js +2 -0
  25. package/dist/cdn/75CT6IMW.js +2 -0
  26. package/dist/cdn/7J22VLBO.js +2 -0
  27. package/dist/cdn/7VPB6Q55.js +63 -0
  28. package/dist/cdn/7ZU43BL6.js +2 -0
  29. package/dist/cdn/A5QLPZ57.js +2 -0
  30. package/dist/cdn/AZTAWZI5.js +2 -0
  31. package/dist/cdn/{OR6T5SB3.js → BNWJUQDF.js} +1 -1
  32. package/dist/cdn/BUYOYUA2.js +2 -0
  33. package/dist/cdn/BX7Q3V2Y.js +43 -0
  34. package/dist/cdn/BXPNB7VJ.js +2 -0
  35. package/dist/cdn/BZEKNJUA.js +2 -0
  36. package/dist/cdn/C6RUWLEJ.js +2 -0
  37. package/dist/cdn/C7SNE6YG.js +2 -0
  38. package/dist/cdn/DENQY4OE.js +2 -0
  39. package/dist/cdn/DT4HGMLS.js +2 -0
  40. package/dist/cdn/{2YZWRFCI.js → DTGPLVZF.js} +1 -1
  41. package/dist/cdn/DU2R3VC4.js +2 -0
  42. package/dist/cdn/E5HCHRAI.js +2 -0
  43. package/dist/cdn/EBL7YSRM.js +2 -0
  44. package/dist/cdn/EDGE3T36.js +2 -0
  45. package/dist/cdn/{YZTBAUIO.js → EFMYI4L2.js} +1 -1
  46. package/dist/cdn/FFL2L4X5.js +2 -0
  47. package/dist/cdn/{ZKZDKJ6D.js → FIAEPK5L.js} +1 -1
  48. package/dist/cdn/FN2QMDEW.js +2 -0
  49. package/dist/cdn/FTKSVLDI.js +2 -0
  50. package/dist/cdn/G272JPUS.js +2 -0
  51. package/dist/cdn/GFUKRB6D.js +2 -0
  52. package/dist/cdn/{SGDDFWCJ.js → GG6U75ZA.js} +1 -1
  53. package/dist/cdn/{FRE56NBG.js → GZ4ONSFV.js} +1 -1
  54. package/dist/cdn/HOIZXTOD.js +2 -0
  55. package/dist/cdn/{VDXESPJK.js → I4TKQB4A.js} +1 -1
  56. package/dist/cdn/{TWCJJCPC.js → IAMPUXPT.js} +1 -1
  57. package/dist/cdn/IAWL475A.js +2 -0
  58. package/dist/cdn/IGLODZPX.js +2 -0
  59. package/dist/cdn/IOF72CDU.js +2 -0
  60. package/dist/cdn/ITRJGXFV.js +93 -0
  61. package/dist/cdn/ITWLFQI4.js +2 -0
  62. package/dist/cdn/{7ZWYUHGK.js → IYICIRGI.js} +1 -1
  63. package/dist/cdn/JFGXTJY4.js +2 -0
  64. package/dist/cdn/JIU6MBGB.js +2 -0
  65. package/dist/cdn/JLT5GCLY.js +2 -0
  66. package/dist/cdn/JTA223NH.js +2 -0
  67. package/dist/cdn/KA2MXQTR.js +2 -0
  68. package/dist/cdn/KAK6CNI7.js +2 -0
  69. package/dist/cdn/KPZGBBDG.js +2 -0
  70. package/dist/cdn/{CFRJU6VA.js → KRO5XRZ7.js} +1 -1
  71. package/dist/cdn/KRORL7QC.js +2 -0
  72. package/dist/cdn/KWL2D56D.js +3 -0
  73. package/dist/cdn/{QTAYXO5T.js → KXVXQYIB.js} +1 -1
  74. package/dist/cdn/L3YOPSRB.js +135 -0
  75. package/dist/cdn/LEESUFWE.js +2 -0
  76. package/dist/cdn/{IN4JPZTY.js → LGKI24ZT.js} +1 -1
  77. package/dist/cdn/LTD5KLLE.js +2 -0
  78. package/dist/cdn/{GAF4YT5N.js → LUJGCYQY.js} +1 -1
  79. package/dist/cdn/{Z6R3C4AK.js → MB32XRI5.js} +1 -1
  80. package/dist/cdn/MSL36HAR.js +2 -0
  81. package/dist/cdn/MSSJRDR7.js +2 -0
  82. package/dist/cdn/N3WRMPM6.js +2 -0
  83. package/dist/cdn/N47MW5HI.js +9 -0
  84. package/dist/cdn/N7XYFVOI.js +2 -0
  85. package/dist/cdn/NHVPNSNH.js +2 -0
  86. package/dist/cdn/{5HZNBMW6.js → NU4K2AV3.js} +1 -1
  87. package/dist/cdn/O2GPTWGF.js +3 -0
  88. package/dist/cdn/{TRMFL7PT.js → ONRTCGLU.js} +1 -1
  89. package/dist/cdn/OPI4P6VO.js +2 -0
  90. package/dist/cdn/{RHCRPJWS.js → OPMM7QH5.js} +1 -1
  91. package/dist/cdn/OQ2JULON.js +2 -0
  92. package/dist/cdn/OXF2WDSW.js +2 -0
  93. package/dist/cdn/P3FFM322.js +2 -0
  94. package/dist/cdn/QAXFE5DD.js +2 -0
  95. package/dist/cdn/{JPUUMGX5.js → QKRLO5CJ.js} +1 -1
  96. package/dist/cdn/R26RBXQW.js +2 -0
  97. package/dist/cdn/R6KJVAX3.js +99 -0
  98. package/dist/cdn/RA2NMLMP.js +2 -0
  99. package/dist/cdn/RJXIU4GH.js +2 -0
  100. package/dist/cdn/RKHNP3KL.js +2 -0
  101. package/dist/cdn/RR56BOTV.js +2 -0
  102. package/dist/cdn/RT26JZP5.js +2 -0
  103. package/dist/cdn/RTZ2TKM5.js +2 -0
  104. package/dist/cdn/RX64JXHI.js +170 -0
  105. package/dist/cdn/RXMM6CFK.js +2 -0
  106. package/dist/cdn/S4N5QMSN.js +2 -0
  107. package/dist/cdn/SCLYGIHM.js +2 -0
  108. package/dist/cdn/{JIJO4CAS.js → SLK7PV62.js} +1 -1
  109. package/dist/cdn/SRWFOV5W.js +2 -0
  110. package/dist/cdn/SUN4MBT3.js +2 -0
  111. package/dist/cdn/SYXCSFIA.js +2 -0
  112. package/dist/cdn/{3NSHGKZA.js → TBSNDRRE.js} +1 -1
  113. package/dist/cdn/{ROX3GKKA.js → TIPQ2ZWK.js} +1 -1
  114. package/dist/cdn/TP7V25GT.js +2 -0
  115. package/dist/cdn/{TXC7YBGL.js → UBMZBXT7.js} +1 -1
  116. package/dist/cdn/UIK6LPA7.js +2 -0
  117. package/dist/cdn/ULGME5RT.js +2 -0
  118. package/dist/cdn/{URQML7KV.js → VQRMXBPQ.js} +1 -1
  119. package/dist/cdn/VWOBCSD6.js +4 -0
  120. package/dist/cdn/{JE2376SE.js → W3JJBZYX.js} +1 -1
  121. package/dist/cdn/W6WVMRGQ.js +2 -0
  122. package/dist/cdn/{MKSFNVXL.js → WNXDXB3M.js} +1 -1
  123. package/dist/cdn/{JN23JH3T.js → WOSWA2VI.js} +1 -1
  124. package/dist/cdn/WTKLB3R6.js +2 -0
  125. package/dist/cdn/X7W4VJO7.js +2 -0
  126. package/dist/cdn/XCOP6QHA.js +2 -0
  127. package/dist/cdn/XE3DCC5D.js +2 -0
  128. package/dist/cdn/XVV75AX3.js +2 -0
  129. package/dist/cdn/XYHIVGUK.js +2 -0
  130. package/dist/cdn/{M5PPX4ZX.js → Y4JOEFBJ.js} +1 -1
  131. package/dist/cdn/Y7ZCEONL.js +73 -0
  132. package/dist/cdn/YELHAJB3.js +2 -0
  133. package/dist/cdn/YH2OFXPU.js +2 -0
  134. package/dist/cdn/YYVLFAFT.js +2 -0
  135. package/dist/cdn/{74T6IXSN.js → ZDH4KVAV.js} +1 -1
  136. package/dist/cdn/{I6IRHXWR.js → ZECUXVTO.js} +1 -1
  137. package/dist/cdn/ZG7OW456.js +2 -0
  138. package/dist/cdn/{NWVLGU2C.js → ZLNBCJE4.js} +1 -1
  139. package/dist/cdn/{K2XSYDAP.js → ZNNEU5QW.js} +1 -1
  140. package/dist/cdn/assets/portal-ai-assistant/t9n/messages.en.json +1 -1
  141. package/dist/cdn/assets/portal-entity-picker/t9n/messages.en.json +1 -1
  142. package/dist/cdn/assets/portal-item-card-sublayer-select/t9n/messages.en.json +1 -0
  143. package/dist/cdn/assets/portal-item-preview/t9n/messages.en.json +1 -0
  144. package/dist/cdn/assets/portal-item-share-summary/t9n/messages.en.json +1 -0
  145. package/dist/cdn/assets/portal-item-status-card/t9n/messages.en.json +1 -0
  146. package/dist/cdn/assets/portal-item-type/t9n/messages.en.json +1 -1
  147. package/dist/cdn/assets/portal-navigation/t9n/messages.en.json +1 -1
  148. package/dist/cdn/assets/portal-review-layer-sharing/t9n/messages.en.json +1 -0
  149. package/dist/cdn/index.js +1 -1
  150. package/dist/cdn/main.css +1 -1
  151. package/dist/chunks/FieldIcons.js +24 -0
  152. package/dist/chunks/constants.js +7 -0
  153. package/dist/chunks/contextUsage.js +208 -0
  154. package/dist/chunks/createPortalTool.js +18 -0
  155. package/dist/chunks/fieldAddDelete.js +6 -6
  156. package/dist/chunks/functionalities.js +14 -9
  157. package/dist/chunks/groups.js +8 -61
  158. package/dist/chunks/groups2.js +23 -8
  159. package/dist/chunks/help.js +22 -0
  160. package/dist/chunks/info.js +2 -2
  161. package/dist/chunks/item.js +135 -33
  162. package/dist/chunks/item2.js +96 -122
  163. package/dist/chunks/itemThumbnail.js +21 -21
  164. package/dist/chunks/items.js +11 -11
  165. package/dist/chunks/layers.js +196 -0
  166. package/dist/chunks/loadClassificationData.js +26 -27
  167. package/dist/chunks/portal-browser.js +49 -46
  168. package/dist/chunks/portal-delete-items-review.js +1 -1
  169. package/dist/chunks/portal-item-badge.js +1 -1
  170. package/dist/chunks/portal-item-preview-sublayer.js +214 -0
  171. package/dist/chunks/portal-item-status-card.js +81 -0
  172. package/dist/chunks/portal-related-items-list-item.js +1 -1
  173. package/dist/chunks/portal.js +5 -5
  174. package/dist/chunks/portal2.js +22 -22
  175. package/dist/chunks/portalEntitySelection.js +61 -0
  176. package/dist/chunks/previewSessionController.js +33 -0
  177. package/dist/chunks/query.js +13 -13
  178. package/dist/chunks/request.js +49 -41
  179. package/dist/chunks/requests.js +7 -7
  180. package/dist/chunks/selectedMentions.js +25 -0
  181. package/dist/chunks/services.js +5 -5
  182. package/dist/chunks/string.js +19 -11
  183. package/dist/chunks/ui.js +1 -0
  184. package/dist/chunks/url.js +2 -2
  185. package/dist/chunks/user.js +67 -53
  186. package/dist/chunks/user2.js +10 -10
  187. package/dist/chunks/utils.js +35 -22
  188. package/dist/chunks/utils3.js +88 -657
  189. package/dist/chunks/utils4.js +663 -0
  190. package/dist/components/arcgis-portal-account-switcher/customElement.js +57 -54
  191. package/dist/components/arcgis-portal-add-gps-metadata/customElement.d.ts +27 -0
  192. package/dist/components/arcgis-portal-add-gps-metadata/customElement.js +185 -137
  193. package/dist/components/arcgis-portal-ai-assistant/customElement.d.ts +38 -15
  194. package/dist/components/arcgis-portal-ai-assistant/customElement.js +816 -2642
  195. package/dist/components/arcgis-portal-ai-assistant/index.js +5 -0
  196. package/dist/components/arcgis-portal-ai-assistant/tools/getItemTool.d.ts +11 -0
  197. package/dist/components/arcgis-portal-ai-assistant/tools/groups.d.ts +28 -0
  198. package/dist/components/arcgis-portal-ai-assistant/tools/users.d.ts +28 -0
  199. package/dist/components/arcgis-portal-ai-assistant/types/assistantTools.d.ts +41 -3
  200. package/dist/components/arcgis-portal-ai-assistant/types/portalEntityTools.d.ts +19 -0
  201. package/dist/components/arcgis-portal-ai-assistant-diagnostics/contextUsage.d.ts +46 -0
  202. package/dist/components/arcgis-portal-ai-assistant-diagnostics/customElement.d.ts +26 -0
  203. package/dist/components/arcgis-portal-ai-assistant-diagnostics/customElement.js +46 -0
  204. package/dist/components/arcgis-portal-ai-assistant-diagnostics/index.d.ts +1 -0
  205. package/dist/components/arcgis-portal-ai-assistant-diagnostics/index.js +10 -0
  206. package/dist/components/arcgis-portal-ai-assistant-interrupt/customElement.d.ts +42 -1
  207. package/dist/components/arcgis-portal-ai-assistant-interrupt/customElement.js +49 -37
  208. package/dist/components/arcgis-portal-ai-assistant-interrupt/index.js +3 -4
  209. package/dist/components/arcgis-portal-browser/customElement.d.ts +3 -0
  210. package/dist/components/arcgis-portal-browser/customElement.js +3 -2
  211. package/dist/components/arcgis-portal-browser/index.js +1 -0
  212. package/dist/components/arcgis-portal-classification-banner/customElement.js +2 -2
  213. package/dist/components/arcgis-portal-classification-config/customElement.js +2 -2
  214. package/dist/components/arcgis-portal-classification-favorite/customElement.js +2 -2
  215. package/dist/components/arcgis-portal-classification-form-element/customElement.js +1 -1
  216. package/dist/components/arcgis-portal-delete-items/customElement.d.ts +69 -3
  217. package/dist/components/arcgis-portal-delete-items/customElement.js +437 -333
  218. package/dist/components/arcgis-portal-delete-items/index.js +1 -2
  219. package/dist/components/arcgis-portal-delete-items/types.d.ts +1 -0
  220. package/dist/components/arcgis-portal-entity-picker/customElement.d.ts +51 -5
  221. package/dist/components/arcgis-portal-entity-picker/customElement.js +204 -119
  222. package/dist/components/arcgis-portal-entity-picker/index.js +2 -0
  223. package/dist/components/arcgis-portal-field-delete/customElement.js +87 -101
  224. package/dist/components/arcgis-portal-field-delete/index.js +1 -1
  225. package/dist/components/arcgis-portal-group-badges/customElement.js +5 -5
  226. package/dist/components/arcgis-portal-group-browser/customElement.js +68 -100
  227. package/dist/components/arcgis-portal-group-browser/types.d.ts +3 -7
  228. package/dist/components/arcgis-portal-group-browser-preview/customElement.js +49 -40
  229. package/dist/components/arcgis-portal-group-browser-preview/index.js +1 -0
  230. package/dist/components/arcgis-portal-group-browser-preview-card/customElement.js +1 -4
  231. package/dist/components/arcgis-portal-group-card/customElement.js +16 -16
  232. package/dist/components/arcgis-portal-group-thumbnail/customElement.js +1 -1
  233. package/dist/components/arcgis-portal-item-badges/customElement.js +4 -4
  234. package/dist/components/arcgis-portal-item-card/customElement.d.ts +26 -10
  235. package/dist/components/arcgis-portal-item-card/customElement.js +90 -80
  236. package/dist/components/arcgis-portal-item-card/index.js +2 -1
  237. package/dist/components/arcgis-portal-item-card-sublayer-select/customElement.d.ts +102 -0
  238. package/dist/components/arcgis-portal-item-card-sublayer-select/customElement.js +181 -0
  239. package/dist/components/arcgis-portal-item-card-sublayer-select/index.d.ts +1 -0
  240. package/dist/components/arcgis-portal-item-card-sublayer-select/index.js +8 -0
  241. package/dist/components/arcgis-portal-item-card-sublayer-select/types.d.ts +22 -0
  242. package/dist/components/arcgis-portal-item-favorite/customElement.js +42 -29
  243. package/dist/components/arcgis-portal-item-preview/customElement.d.ts +263 -0
  244. package/dist/components/arcgis-portal-item-preview/customElement.js +137 -0
  245. package/dist/components/arcgis-portal-item-preview/index.d.ts +1 -0
  246. package/dist/components/arcgis-portal-item-preview/index.js +20 -0
  247. package/dist/components/arcgis-portal-item-preview/types.d.ts +14 -0
  248. package/dist/components/arcgis-portal-item-preview-copy/customElement.d.ts +215 -0
  249. package/dist/components/arcgis-portal-item-preview-copy/customElement.js +46 -0
  250. package/dist/components/arcgis-portal-item-preview-copy/index.d.ts +1 -0
  251. package/dist/components/arcgis-portal-item-preview-copy/index.js +5 -0
  252. package/dist/components/arcgis-portal-item-preview-field/customElement.d.ts +216 -0
  253. package/dist/components/arcgis-portal-item-preview-field/customElement.js +34 -0
  254. package/dist/components/arcgis-portal-item-preview-field/index.d.ts +1 -0
  255. package/dist/components/arcgis-portal-item-preview-field/index.js +6 -0
  256. package/dist/components/arcgis-portal-item-preview-sublayer/customElement.d.ts +216 -0
  257. package/dist/components/arcgis-portal-item-preview-sublayer/customElement.js +15 -0
  258. package/dist/components/arcgis-portal-item-preview-sublayer/index.d.ts +1 -0
  259. package/dist/components/arcgis-portal-item-preview-sublayer/index.js +11 -0
  260. package/dist/components/arcgis-portal-item-share-summary/customElement.d.ts +113 -0
  261. package/dist/components/arcgis-portal-item-share-summary/customElement.js +172 -0
  262. package/dist/components/arcgis-portal-item-share-summary/index.d.ts +1 -0
  263. package/dist/components/arcgis-portal-item-share-summary/index.js +5 -0
  264. package/dist/components/arcgis-portal-item-share-summary-editable/customElement.d.ts +33 -0
  265. package/dist/components/arcgis-portal-item-share-summary-editable/customElement.js +19 -0
  266. package/dist/components/arcgis-portal-item-share-summary-editable/index.d.ts +1 -0
  267. package/dist/components/arcgis-portal-item-share-summary-editable/index.js +2 -0
  268. package/dist/components/arcgis-portal-item-status-card/customElement.d.ts +82 -0
  269. package/dist/components/arcgis-portal-item-status-card/customElement.js +12 -0
  270. package/dist/components/arcgis-portal-item-status-card/index.d.ts +1 -0
  271. package/dist/components/arcgis-portal-item-status-card/index.js +4 -0
  272. package/dist/components/arcgis-portal-item-thumbnail/customElement.d.ts +1 -0
  273. package/dist/components/arcgis-portal-item-thumbnail/customElement.js +14 -14
  274. package/dist/components/arcgis-portal-item-type/customElement.d.ts +16 -14
  275. package/dist/components/arcgis-portal-item-type/customElement.js +25 -28
  276. package/dist/components/arcgis-portal-mentionable-text-area/customElement.js +61 -57
  277. package/dist/components/arcgis-portal-navigation/customElement.d.ts +6 -4
  278. package/dist/components/arcgis-portal-navigation/customElement.js +371 -374
  279. package/dist/components/arcgis-portal-navigation/index.js +1 -2
  280. package/dist/components/arcgis-portal-preview-panel/customElement.d.ts +40 -0
  281. package/dist/components/arcgis-portal-preview-panel/customElement.js +40 -0
  282. package/dist/components/arcgis-portal-preview-panel/index.d.ts +1 -0
  283. package/dist/components/arcgis-portal-preview-panel/index.js +1 -0
  284. package/dist/components/arcgis-portal-replacement-item-redirect/customElement.js +8 -8
  285. package/dist/components/arcgis-portal-review-layer-sharing/customElement.d.ts +139 -0
  286. package/dist/components/arcgis-portal-review-layer-sharing/customElement.js +593 -0
  287. package/dist/components/arcgis-portal-review-layer-sharing/index.d.ts +1 -0
  288. package/dist/components/arcgis-portal-review-layer-sharing/index.js +10 -0
  289. package/dist/components/arcgis-portal-review-layer-sharing/types.d.ts +27 -0
  290. package/dist/components/arcgis-portal-review-related-items/customElement.d.ts +333 -0
  291. package/dist/components/arcgis-portal-review-related-items/customElement.js +46 -18
  292. package/dist/components/arcgis-portal-review-related-items/index.js +2 -0
  293. package/dist/components/arcgis-portal-sublayer-type/customElement.js +13 -103
  294. package/dist/components/arcgis-portal-user-avatar/customElement.d.ts +2 -3
  295. package/dist/components/arcgis-portal-user-avatar/customElement.js +15 -16
  296. package/dist/components/arcgis-portal-user-popup/customElement.d.ts +4 -7
  297. package/dist/components/arcgis-portal-user-popup/customElement.js +128 -111
  298. package/dist/components/portal-group-browser-filters/customElement.js +15 -15
  299. package/dist/components/portal-related-items-list-item/customElement.js +16 -14
  300. package/dist/components/portal-related-items-list-item/index.js +1 -1
  301. package/dist/docs/api.json +1 -1
  302. package/dist/docs/docs.json +1 -1
  303. package/dist/docs/vscode.css-custom-data.json +1 -1
  304. package/dist/docs/vscode.html-custom-data.json +1 -1
  305. package/dist/docs/web-types.json +1 -1
  306. package/dist/index.d.ts +87 -0
  307. package/dist/index.js +305 -6
  308. package/dist/loader.js +22 -11
  309. package/dist/services/group.d.ts +17 -0
  310. package/dist/services/groups.d.ts +9 -0
  311. package/dist/services/item.d.ts +9 -0
  312. package/dist/types/item.d.ts +19 -11
  313. package/dist/types/layer.d.ts +27 -0
  314. package/dist/types/lumina.d.ts +82 -12
  315. package/dist/types/portalAssistantCurrentContext.d.ts +9 -0
  316. package/dist/types/portalEntityPicker.d.ts +3 -0
  317. package/dist/types/preact.d.ts +93 -12
  318. package/dist/types/react.d.ts +104 -12
  319. package/dist/types/services.d.ts +28 -1
  320. package/dist/types/stencil.d.ts +82 -12
  321. package/dist/types/user.d.ts +14 -10
  322. package/dist/utils/generateEmbeddings.d.ts +7 -0
  323. package/dist/utils/semanticSearch.d.ts +60 -0
  324. package/dist/utils/types.d.ts +10 -0
  325. package/package.json +14 -13
  326. package/dist/cdn/23NXHNPU.js +0 -2
  327. package/dist/cdn/24QSQLRY.js +0 -2
  328. package/dist/cdn/2CN754CY.js +0 -2
  329. package/dist/cdn/2FQKDFEE.js +0 -2
  330. package/dist/cdn/2MPQ5IWJ.js +0 -2
  331. package/dist/cdn/3CQKCUM5.js +0 -2
  332. package/dist/cdn/3EYB5GQX.js +0 -2
  333. package/dist/cdn/3FSPL34I.js +0 -170
  334. package/dist/cdn/3LEQ37YT.js +0 -68
  335. package/dist/cdn/4KTRAA2J.js +0 -2
  336. package/dist/cdn/4MUB6TL6.js +0 -2
  337. package/dist/cdn/4PRXQFCV.js +0 -2
  338. package/dist/cdn/4QFTKB6T.js +0 -2
  339. package/dist/cdn/4TSXFX3M.js +0 -2
  340. package/dist/cdn/5C5GHX4D.js +0 -2
  341. package/dist/cdn/7LMZHJZG.js +0 -2
  342. package/dist/cdn/A2SQ4EMZ.js +0 -2
  343. package/dist/cdn/AICPYLWE.js +0 -4
  344. package/dist/cdn/AXOBMX3S.js +0 -2
  345. package/dist/cdn/AZOJHVAO.js +0 -2
  346. package/dist/cdn/BYHX3UWV.js +0 -2
  347. package/dist/cdn/CD5UWSCP.js +0 -2
  348. package/dist/cdn/D2YQWKME.js +0 -135
  349. package/dist/cdn/DDBXEXOV.js +0 -2
  350. package/dist/cdn/DHMNNIXZ.js +0 -2
  351. package/dist/cdn/DLI4XKJ3.js +0 -2
  352. package/dist/cdn/DYO5P3F2.js +0 -2
  353. package/dist/cdn/E66BDC6N.js +0 -2
  354. package/dist/cdn/EEAVX4PP.js +0 -2
  355. package/dist/cdn/EMJQI4MA.js +0 -2
  356. package/dist/cdn/EY5S6ICQ.js +0 -2
  357. package/dist/cdn/FIBQAMJ3.js +0 -2
  358. package/dist/cdn/FIQZPIIK.js +0 -2
  359. package/dist/cdn/FNLBJ4ZQ.js +0 -2
  360. package/dist/cdn/GGDOGNH4.js +0 -150
  361. package/dist/cdn/GSOBDGLK.js +0 -2
  362. package/dist/cdn/GXM3XY3J.js +0 -2
  363. package/dist/cdn/HCNTXLUT.js +0 -2
  364. package/dist/cdn/I273CANO.js +0 -2
  365. package/dist/cdn/I6NVKNZJ.js +0 -2
  366. package/dist/cdn/J5FKIZAM.js +0 -2
  367. package/dist/cdn/J5NPDIZM.js +0 -2
  368. package/dist/cdn/JOUR2FB2.js +0 -3
  369. package/dist/cdn/JWBUJT43.js +0 -2
  370. package/dist/cdn/LISDTBEX.js +0 -2
  371. package/dist/cdn/LYLQCBVX.js +0 -2
  372. package/dist/cdn/MQK63FV7.js +0 -2
  373. package/dist/cdn/N4VOTJ25.js +0 -2
  374. package/dist/cdn/N5QLV56W.js +0 -2
  375. package/dist/cdn/OD5WXP7J.js +0 -2
  376. package/dist/cdn/OXPXXIWL.js +0 -2
  377. package/dist/cdn/PKA745KL.js +0 -2
  378. package/dist/cdn/PMRFXB4F.js +0 -2
  379. package/dist/cdn/PNIFJ5DQ.js +0 -2
  380. package/dist/cdn/PZDI5ZDC.js +0 -2
  381. package/dist/cdn/QROXYP6V.js +0 -2
  382. package/dist/cdn/QUOLQGKP.js +0 -2
  383. package/dist/cdn/QWHGLE3O.js +0 -2
  384. package/dist/cdn/R3PK7XOP.js +0 -2
  385. package/dist/cdn/REM3KCX6.js +0 -2
  386. package/dist/cdn/RNWICLRH.js +0 -2
  387. package/dist/cdn/RQYNPDN3.js +0 -2
  388. package/dist/cdn/S6F7U36E.js +0 -400
  389. package/dist/cdn/SMX2LEJB.js +0 -2
  390. package/dist/cdn/SVROAT3Z.js +0 -2
  391. package/dist/cdn/TBZXKKGP.js +0 -2
  392. package/dist/cdn/TNUCSWBN.js +0 -2
  393. package/dist/cdn/TOICLGFK.js +0 -2
  394. package/dist/cdn/TOTWYGB3.js +0 -2
  395. package/dist/cdn/TUUUK3VX.js +0 -2
  396. package/dist/cdn/U3KMGSVH.js +0 -2
  397. package/dist/cdn/UEP2NYJK.js +0 -2
  398. package/dist/cdn/UZP4YMTE.js +0 -2
  399. package/dist/cdn/VNU4QX7M.js +0 -41
  400. package/dist/cdn/XYMBRPC7.js +0 -2
  401. package/dist/cdn/YB3DR4VO.js +0 -2
  402. package/dist/cdn/YYTEJVBL.js +0 -2
  403. package/dist/cdn/Z3HGPBOR.js +0 -2
  404. package/dist/cdn/ZDDN7UKS.js +0 -2
  405. package/dist/cdn/ZXNF77OB.js +0 -2
  406. package/dist/chunks/functional.js +0 -9
  407. package/dist/components/arcgis-portal-ai-assistant/data/capability-registries/types.d.ts +0 -45
  408. /package/dist/cdn/{OUMTV5H5.js → KHKREBVZ.js} +0 -0
  409. /package/dist/cdn/{DAAON2UO.js → UOXUUCE7.js} +0 -0
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{$ as Xt,$a as Hn,$b as Ke,$c as Ze,A as wt,Aa as vn,Ab as zr,Ac as T,Ad as yi,B as It,Ba as On,Bb as Nr,Bc as O,Bd as xi,C as Pt,Ca as wn,Cb as Tr,Cc as Yr,Cd as gi,D as zt,Da as In,Db as Cr,Dc as Xr,Dd as _i,E as Nt,Ea as Pn,Eb as Er,Ec as Hr,Ed as ki,F as Tt,Fa as zn,Fb as Me,Fc as Qr,Fd as Zi,G as Ct,Ga as Nn,Gb as Dr,Gc as L,Gd as Si,H as Et,Ha as Tn,Hb as Ar,Hc as U,Hd as $i,I as Dt,Ia as Cn,Ib as jr,Ic as P,Id as bi,J as At,Ja as En,Jb as Jr,Jc as W,Jd as vi,K as jt,Ka as Dn,Kb as Rr,Kc as G,Kd as Oi,L as Jt,La as An,Lb as Lr,Lc as C,Ld as oo,M as Rt,Ma as jn,Mb as Ur,Mc as Y,Md as wi,N as se,Na as Jn,Nb as Mr,Nc as ue,Nd as Ii,O as Lt,Oa as Rn,Ob as Fr,Oc as ae,Od as Pi,P as wr,Pa as Ln,Pb as kc,Pc as pe,Pd as zi,Q as Ut,Qa as Un,Qb as Br,Qc as de,Qd as Ni,R as Ir,Ra as Mn,Rb as Kr,Rc as le,Rd as Ti,S as Mt,Sa as Fn,Sb as Vr,Sc as me,Sd as Ci,T as Ft,Ta as Bn,Tb as qr,Tc as eo,Td as Ei,U as Bt,Ua as Kn,Ub as Wr,Uc as fe,Ud as Di,V as Kt,Va as Vn,Vb as Zc,Vc as he,Vd as Ai,W as Vt,Wa as qn,Wb as Sc,Wc as ye,Wd as ji,X as qt,Xa as Wn,Xb as Gr,Xc as xe,Xd as to,Y as Wt,Ya as Gn,Yb as $c,Yc as ge,Yd as Ji,Z as Gt,Za as Yn,Zb as Fe,Zc as _e,Zd as Ri,_ as Yt,_a as Xn,_b as Be,_c as ke,_d as E,a as ft,aa as Ht,ab as Qn,ac as Ve,ad as qc,b as br,ba as Qt,bb as ec,bc,bd as Wc,c as vr,ca as en,cb as rc,cc as vc,cd as Gc,d as ht,da as rn,db as oc,dc as Oc,dd as Yc,e as yt,ea as on,eb as tc,ec as wc,ed as Xc,f as x,fa as tn,fb as nc,fc as Ic,fd as Hc,g as p,ga as nn,gb as cc,gc as Pc,gd as Qc,h as xt,ha as cn,hb as ic,hc as zc,hd as ei,i as u,ia as sn,ib as Le,ic as Nc,id as X,j as gt,ja as un,jb as sc,jc as Tc,jd as ri,k as _t,ka as an,kb as Ue,kc as Cc,kd as ro,l as Or,la as pn,lb as uc,lc as Ec,ld as $,m as z,ma as dn,mb as ac,mc as Dc,md as oi,n as kt,na as ln,nb as pc,nc as Ac,nd as ti,o as Ae,oa as mn,ob as dc,oc as jc,od as ni,p as je,pa as fn,pc as Jc,pd as ci,q as Zt,qa as hn,qb as lc,qc as Rc,qd as ii,r as St,ra as yn,rb as I,rc as Lc,rd as si,s as $t,sa as xn,sb as mc,sc as Uc,sd as ui,ta as gn,tb as fc,tc as Mc,td as ai,u as bt,ua as _n,ub as hc,uc as Fc,ud as pi,va as kn,vb as yc,vc as Bc,vd as di,w as vt,wa as Zn,wb as xc,wc as Kc,wd as li,x as Ot,xa as Sn,xb as gc,xc as Vc,xd as mi,y as Je,ya as $n,yb as _c,yc as N,yd as fi,z as Re,za as bn,zb as Pr,zc as v,zd as hi}from"./7VPB6Q55.js";import{b as ie}from"./5PV2GUZW.js";var Fu={};ie(Fu,{$brand:()=>gt,$input:()=>dc,$output:()=>pc,INVALID:()=>mc,NEVER:()=>xt,TimePrecision:()=>$c,ZodAny:()=>Oo,ZodArray:()=>zo,ZodBase64:()=>dr,ZodBase64URL:()=>lr,ZodBigInt:()=>te,ZodBigIntFormat:()=>hr,ZodBoolean:()=>oe,ZodCIDRv4:()=>ar,ZodCIDRv6:()=>pr,ZodCUID:()=>or,ZodCUID2:()=>tr,ZodCatch:()=>Xo,ZodCodec:()=>Ne,ZodCompileAsyncError:()=>fc,ZodCompileUnsupportedError:()=>hc,ZodCreditCard:()=>go,ZodCustom:()=>Te,ZodCustomStringFormat:()=>K,ZodDate:()=>ve,ZodDefault:()=>Ko,ZodDiscriminatedUnion:()=>To,ZodE164:()=>mr,ZodEmail:()=>He,ZodEmoji:()=>er,ZodEnum:()=>Q,ZodError:()=>xu,ZodExactOptional:()=>_r,ZodFile:()=>Uo,ZodFirstPartyTypeKind:()=>dt,ZodFunction:()=>st,ZodGUID:()=>Qe,ZodIBAN:()=>_o,ZodIPv4:()=>sr,ZodIPv6:()=>ur,ZodISODate:()=>A,ZodISODateTime:()=>D,ZodISODuration:()=>J,ZodISOTime:()=>j,ZodInstanceOf:()=>pt,ZodIntersection:()=>Co,ZodIssueCode:()=>ku,ZodJWT:()=>fr,ZodKSUID:()=>ir,ZodLazy:()=>nt,ZodLiteral:()=>Lo,ZodMAC:()=>xo,ZodMap:()=>Jo,ZodNaN:()=>Qo,ZodNanoID:()=>rr,ZodNever:()=>Io,ZodNonOptional:()=>kr,ZodNull:()=>bo,ZodNullable:()=>Bo,ZodNumber:()=>re,ZodNumberFormat:()=>V,ZodObject:()=>we,ZodOptional:()=>Pe,ZodPipe:()=>ze,ZodPrefault:()=>qo,ZodPreprocess:()=>et,ZodPromise:()=>it,ZodReadonly:()=>rt,ZodRealError:()=>S,ZodRecord:()=>H,ZodSet:()=>Ro,ZodString:()=>ee,ZodStringFormat:()=>f,ZodSuccess:()=>Yo,ZodSymbol:()=>So,ZodTemplateLiteral:()=>tt,ZodTransform:()=>Mo,ZodTuple:()=>Do,ZodType:()=>l,ZodULID:()=>nr,ZodURL:()=>be,ZodUUID:()=>w,ZodUndefined:()=>$o,ZodUnion:()=>Ie,ZodUnknown:()=>wo,ZodVoid:()=>Po,ZodXID:()=>cr,ZodXor:()=>No,_ZodString:()=>Xe,_default:()=>Vo,_function:()=>Xs,any:()=>Is,array:()=>Oe,base64:()=>us,base64url:()=>as,bigint:()=>$s,boolean:()=>Zo,catch:()=>Ho,check:()=>Hs,cidrv4:()=>is,cidrv6:()=>ss,clone:()=>x,codec:()=>qs,coerce:()=>mt,compile:()=>yc,config:()=>z,core:()=>E,creditCard:()=>ds,cuid:()=>Hi,cuid2:()=>Qi,currencyCode:()=>xs,custom:()=>Qs,date:()=>zs,decode:()=>ao,decodeAsync:()=>lo,deepPartial:()=>lu,describe:()=>eu,discriminatedUnion:()=>As,e164:()=>ps,email:()=>Mi,emoji:()=>Yi,encode:()=>uo,encodeAsync:()=>po,endsWith:()=>me,enum:()=>xr,exactOptional:()=>Fo,file:()=>Fs,flattenError:()=>Ae,float32:()=>_s,float64:()=>ks,formatError:()=>je,fromJSONSchema:()=>pu,function:()=>Xs,getDiscriminatedOption:()=>En,getErrorMap:()=>Su,globalRegistry:()=>I,gt:()=>T,gte:()=>O,guid:()=>Fi,hash:()=>gs,hex:()=>ys,hostname:()=>hs,httpUrl:()=>Gi,iban:()=>ls,includes:()=>de,input:()=>fu,instanceof:()=>ou,int:()=>Ge,int32:()=>Zs,int64:()=>bs,intersection:()=>Eo,invertCodec:()=>Ws,ipv4:()=>ts,ipv6:()=>cs,iso:()=>Ce,json:()=>nu,jwt:()=>ms,keyof:()=>Ns,ksuid:()=>os,lazy:()=>ct,length:()=>Y,literal:()=>Ms,locales:()=>ac,looseObject:()=>Es,looseRecord:()=>Js,lowercase:()=>ae,lt:()=>N,lte:()=>v,mac:()=>ns,map:()=>Rs,maxLength:()=>G,maxSize:()=>U,memoizer:()=>Ue,meta:()=>ru,mime:()=>he,minLength:()=>C,minSize:()=>P,multipleOf:()=>L,nan:()=>Vs,nanoid:()=>Xi,nativeEnum:()=>Us,negative:()=>Xr,never:()=>yr,nonnegative:()=>Qr,nonoptional:()=>Go,nonpositive:()=>Hr,normalize:()=>xe,null:()=>vo,nullable:()=>$e,nullish:()=>Bs,number:()=>ko,object:()=>Ts,optional:()=>F,output:()=>hu,overwrite:()=>ye,parse:()=>no,parseAsync:()=>co,partialRecord:()=>js,pipe:()=>Ye,positive:()=>Yr,prefault:()=>Wo,preprocess:()=>cu,prettifyError:()=>St,promise:()=>Ys,properties:()=>fe,property:()=>eo,readonly:()=>ot,record:()=>jo,refine:()=>ut,regex:()=>ue,regexes:()=>se,registry:()=>lc,safeDecode:()=>fo,safeDecodeAsync:()=>yo,safeEncode:()=>mo,safeEncodeAsync:()=>ho,safeParse:()=>io,safeParseAsync:()=>so,set:()=>Ls,setErrorMap:()=>Zu,size:()=>W,slugify:()=>Ze,startsWith:()=>le,strictObject:()=>Cs,string:()=>Se,stringFormat:()=>fs,stringbool:()=>tu,success:()=>Ks,superRefine:()=>at,symbol:()=>Os,templateLiteral:()=>Gs,toJSONSchema:()=>Ri,toLowerCase:()=>_e,toUpperCase:()=>ke,toZod:()=>ft,transform:()=>gr,treeifyError:()=>Zt,trim:()=>ge,tuple:()=>Ao,uint32:()=>Ss,uint64:()=>vs,ulid:()=>es,undefined:()=>ws,union:()=>ne,unknown:()=>M,uppercase:()=>pe,url:()=>Wi,util:()=>p,uuid:()=>Bi,uuidv4:()=>Ki,uuidv6:()=>Vi,uuidv7:()=>qi,validate:()=>Je,validateAsync:()=>Re,void:()=>Ps,withParser:()=>xc,xid:()=>rs,xor:()=>Ds});var ce={};ie(ce,{ZodAny:()=>Oo,ZodArray:()=>zo,ZodBase64:()=>dr,ZodBase64URL:()=>lr,ZodBigInt:()=>te,ZodBigIntFormat:()=>hr,ZodBoolean:()=>oe,ZodCIDRv4:()=>ar,ZodCIDRv6:()=>pr,ZodCUID:()=>or,ZodCUID2:()=>tr,ZodCatch:()=>Xo,ZodCodec:()=>Ne,ZodCreditCard:()=>go,ZodCustom:()=>Te,ZodCustomStringFormat:()=>K,ZodDate:()=>ve,ZodDefault:()=>Ko,ZodDiscriminatedUnion:()=>To,ZodE164:()=>mr,ZodEmail:()=>He,ZodEmoji:()=>er,ZodEnum:()=>Q,ZodExactOptional:()=>_r,ZodFile:()=>Uo,ZodFunction:()=>st,ZodGUID:()=>Qe,ZodIBAN:()=>_o,ZodIPv4:()=>sr,ZodIPv6:()=>ur,ZodISODate:()=>A,ZodISODateTime:()=>D,ZodISODuration:()=>J,ZodISOTime:()=>j,ZodInstanceOf:()=>pt,ZodIntersection:()=>Co,ZodJWT:()=>fr,ZodKSUID:()=>ir,ZodLazy:()=>nt,ZodLiteral:()=>Lo,ZodMAC:()=>xo,ZodMap:()=>Jo,ZodNaN:()=>Qo,ZodNanoID:()=>rr,ZodNever:()=>Io,ZodNonOptional:()=>kr,ZodNull:()=>bo,ZodNullable:()=>Bo,ZodNumber:()=>re,ZodNumberFormat:()=>V,ZodObject:()=>we,ZodOptional:()=>Pe,ZodPipe:()=>ze,ZodPrefault:()=>qo,ZodPreprocess:()=>et,ZodPromise:()=>it,ZodReadonly:()=>rt,ZodRecord:()=>H,ZodSet:()=>Ro,ZodString:()=>ee,ZodStringFormat:()=>f,ZodSuccess:()=>Yo,ZodSymbol:()=>So,ZodTemplateLiteral:()=>tt,ZodTransform:()=>Mo,ZodTuple:()=>Do,ZodType:()=>l,ZodULID:()=>nr,ZodURL:()=>be,ZodUUID:()=>w,ZodUndefined:()=>$o,ZodUnion:()=>Ie,ZodUnknown:()=>wo,ZodVoid:()=>Po,ZodXID:()=>cr,ZodXor:()=>No,_ZodString:()=>Xe,_default:()=>Vo,_function:()=>Xs,any:()=>Is,array:()=>Oe,base64:()=>us,base64url:()=>as,bigint:()=>$s,boolean:()=>Zo,catch:()=>Ho,check:()=>Hs,cidrv4:()=>is,cidrv6:()=>ss,codec:()=>qs,creditCard:()=>ds,cuid:()=>Hi,cuid2:()=>Qi,currencyCode:()=>xs,custom:()=>Qs,date:()=>zs,describe:()=>eu,discriminatedUnion:()=>As,e164:()=>ps,email:()=>Mi,emoji:()=>Yi,enum:()=>xr,exactOptional:()=>Fo,file:()=>Fs,float32:()=>_s,float64:()=>ks,function:()=>Xs,guid:()=>Fi,hash:()=>gs,hex:()=>ys,hostname:()=>hs,httpUrl:()=>Gi,iban:()=>ls,instanceof:()=>ou,int:()=>Ge,int32:()=>Zs,int64:()=>bs,intersection:()=>Eo,invertCodec:()=>Ws,ipv4:()=>ts,ipv6:()=>cs,json:()=>nu,jwt:()=>ms,keyof:()=>Ns,ksuid:()=>os,lazy:()=>ct,literal:()=>Ms,looseObject:()=>Es,looseRecord:()=>Js,mac:()=>ns,map:()=>Rs,meta:()=>ru,nan:()=>Vs,nanoid:()=>Xi,nativeEnum:()=>Us,never:()=>yr,nonoptional:()=>Go,null:()=>vo,nullable:()=>$e,nullish:()=>Bs,number:()=>ko,object:()=>Ts,optional:()=>F,partialRecord:()=>js,pipe:()=>Ye,prefault:()=>Wo,preprocess:()=>cu,promise:()=>Ys,readonly:()=>ot,record:()=>jo,refine:()=>ut,set:()=>Ls,strictObject:()=>Cs,string:()=>Se,stringFormat:()=>fs,stringbool:()=>tu,success:()=>Ks,superRefine:()=>at,symbol:()=>Os,templateLiteral:()=>Gs,transform:()=>gr,tuple:()=>Ao,uint32:()=>Ss,uint64:()=>vs,ulid:()=>es,undefined:()=>ws,union:()=>ne,unknown:()=>M,url:()=>Wi,uuid:()=>Bi,uuidv4:()=>Ki,uuidv6:()=>Vi,uuidv7:()=>qi,void:()=>Ps,xid:()=>rs,xor:()=>Ds});var qe={};ie(qe,{endsWith:()=>me,gt:()=>T,gte:()=>O,includes:()=>de,length:()=>Y,lowercase:()=>ae,lt:()=>N,lte:()=>v,maxLength:()=>G,maxSize:()=>U,mime:()=>he,minLength:()=>C,minSize:()=>P,multipleOf:()=>L,negative:()=>Xr,nonnegative:()=>Qr,nonpositive:()=>Hr,normalize:()=>xe,overwrite:()=>ye,positive:()=>Yr,properties:()=>fe,property:()=>eo,regex:()=>ue,size:()=>W,slugify:()=>Ze,startsWith:()=>le,toLowerCase:()=>_e,toUpperCase:()=>ke,trim:()=>ge,uppercase:()=>pe});var Li=new WeakSet([Object.prototype,Error.prototype]);function We(e,r,t){Object.defineProperty(e,r,{configurable:!0,enumerable:!1,get(){let n=t(this);return Object.defineProperty(this,r,{value:n,configurable:!0,writable:!0}),n},set(n){Object.defineProperty(this,r,{value:n,configurable:!0,writable:!0})}})}var Ui=(e,r)=>{kt.init(e,r),e.name="ZodError";let t=Object.getPrototypeOf(e);Li.has(t)||(Li.add(t),We(t,"format",n=>o=>je(n,o)),We(t,"flatten",n=>o=>Ae(n,o)),We(t,"addIssue",n=>o=>{n.issues.push(o),n.message=JSON.stringify(n.issues,br,2)}),We(t,"addIssues",n=>o=>{n.issues.push(...o),n.message=JSON.stringify(n.issues,br,2)}),Object.defineProperty(t,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},xu=u("ZodError",Ui),S=u("ZodError",Ui,void 0,{Parent:Error});var no=$t(S),co=bt(S),io=vt(S),so=Ot(S),uo=wt(S),ao=It(S),po=Pt(S),lo=zt(S),mo=Nt(S),fo=Tt(S),ho=Ct(S),yo=Et(S);function _u(){Or.localeError||z(uc())}function B(){Or.memoizer||z({memoizer:Ue()})}var l=u("ZodType",(e,r)=>(_u(),wr.init(e,r),e.def=r,e.type=r.type,e),{check(...e){let r=this.def;return this.clone(p.mergeDefs(r,{checks:[...r.checks??[],...e.map(t=>typeof t=="function"?{_zod:{check:t,def:{check:"custom"},onattach:[]}}:t)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,r){return x(this,e,r)},brand(){return this},register(e,r){return e.add(this,r),this},refine(e,r){return this.check(ut(e,r))},superRefine(e,r){return this.check(at(e,r))},overwrite(e){return this.check(ye(e))},optional(){return F(this)},exactOptional(){return Fo(this)},nullable(){return $e(this)},nullish(){return F($e(this))},nonoptional(e){return Go(this,e)},array(){return Oe(this)},or(e){return ne([this,e])},and(e){return Eo(this,e)},transform(e){return Ye(this,gr(e))},default(e){return Vo(this,e)},prefault(e){return Wo(this,e)},catch(e){return Ho(this,e)},pipe(e){return Ye(this,e)},readonly(){return ot(this)},describe(e){let r=this.clone();return I.add(r,{description:e}),r},meta(...e){if(e.length===0)return I.get(this);let r=this.clone();return I.add(r,e[0]),r},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...r){return r.length===0?e(this):e(this,...r)},get"~standard"(){return p.hide(this,"~standard",{...Ut(this),jsonSchema:{input:ro(this,"input"),output:ro(this,"output")}})},set"~standard"(e){p.own(this,"~standard",e)},parse:function e(r,t){return no(this,r,t,{callee:e})},parseAsync:async function e(r,t){return await co(this,r,t,{callee:e})},safeParse(e,r){return io(this,e,r)},async safeParseAsync(e,r){return so(this,e,r)},get spa(){return this?.safeParseAsync},set spa(e){p.own(this,"spa",e)},validate(e,r){return Je(this,e,r)},validateAsync(e,r){return Re(this,e,r)},encode:function e(r,t){return uo(this,r,t,{callee:e})},decode:function e(r,t){return ao(this,r,t,{callee:e})},encodeAsync:async function e(r,t){return await po(this,r,t,{callee:e})},decodeAsync:async function e(r,t){return await lo(this,r,t,{callee:e})},safeEncode(e,r){return mo(this,e,r)},safeDecode(e,r){return fo(this,e,r)},async safeEncodeAsync(e,r){return ho(this,e,r)},async safeDecodeAsync(e,r){return yo(this,e,r)},toJSONSchema(e){return ri(this,{})(e)},get description(){return I.get(this)?.description},get _def(){return this._zod.def}}),Xe=u("_ZodString",(e,r)=>{Ir.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>oi(e,t,n,o)},p.derived({format:e=>$(e).format??null,minLength:e=>$(e).minimum??null,maxLength:e=>$(e).maximum??null},{regex(...e){return this.check(ue(...e))},includes(...e){return this.check(de(...e))},startsWith(...e){return this.check(le(...e))},endsWith(...e){return this.check(me(...e))},min(...e){return this.check(C(...e))},max(...e){return this.check(G(...e))},length(...e){return this.check(Y(...e))},nonempty(...e){return this.check(C(1,...e))},lowercase(e){return this.check(ae(e))},uppercase(e){return this.check(pe(e))},trim(){return this.check(ge())},normalize(...e){return this.check(xe(...e))},toLowerCase(){return this.check(_e())},toUpperCase(){return this.check(ke())},slugify(){return this.check(Ze())}})),ee=u("ZodString",(e,r)=>{Ir.init(e,r),Xe.init(e,r)},{email(e){return this.check(Pr(He,e))},url(e){return this.check(Me(be,e))},jwt(e){return this.check(Gr(fr,e))},emoji(e){return this.check(Dr(er,e))},guid(e){return this.check(zr(Qe,e))},uuid(e){return this.check(Nr(w,e))},uuidv4(e){return this.check(Tr(w,e))},uuidv6(e){return this.check(Cr(w,e))},uuidv7(e){return this.check(Er(w,e))},nanoid(e){return this.check(Ar(rr,e))},cuid(e){return this.check(jr(or,e))},cuid2(e){return this.check(Jr(tr,e))},ulid(e){return this.check(Rr(nr,e))},base64(e){return this.check(Vr(dr,e))},base64url(e){return this.check(qr(lr,e))},xid(e){return this.check(Lr(cr,e))},ksuid(e){return this.check(Ur(ir,e))},ipv4(e){return this.check(Mr(sr,e))},ipv6(e){return this.check(Fr(ur,e))},cidrv4(e){return this.check(Br(ar,e))},cidrv6(e){return this.check(Kr(pr,e))},e164(e){return this.check(Wr(mr,e))},datetime(e){return this.check(Fe(D,e))},date(e){return this.check(Be(A,e))},time(e){return this.check(Ke(j,e))},duration(e){return this.check(Ve(J,e))}});function Se(e){return gc(ee,e)}var f=u("ZodStringFormat",(e,r)=>{Mt.init(e,r),Xe.init(e,r)}),D=u("ZodISODateTime",(e,r)=>{en.init(e,r),f.init(e,r)}),A=u("ZodISODate",(e,r)=>{rn.init(e,r),f.init(e,r)}),j=u("ZodISOTime",(e,r)=>{on.init(e,r),f.init(e,r)}),J=u("ZodISODuration",(e,r)=>{tn.init(e,r),f.init(e,r)}),He=u("ZodEmail",(e,r)=>{Kt.init(e,r),f.init(e,r)});function Mi(e){return Pr(He,e)}var Qe=u("ZodGUID",(e,r)=>{Ft.init(e,r),f.init(e,r)});function Fi(e){return zr(Qe,e)}var w=u("ZodUUID",(e,r)=>{Bt.init(e,r),f.init(e,r)});function Bi(e){return Nr(w,e)}function Ki(e){return Tr(w,e)}function Vi(e){return Cr(w,e)}function qi(e){return Er(w,e)}var be=u("ZodURL",(e,r)=>{Vt.init(e,r),f.init(e,r)});function Wi(e){return Me(be,e)}function Gi(e){return Me(be,{protocol:jt,hostname:At,...p.normalizeParams(e)})}var er=u("ZodEmoji",(e,r)=>{qt.init(e,r),f.init(e,r)});function Yi(e){return Dr(er,e)}var rr=u("ZodNanoID",(e,r)=>{Wt.init(e,r),f.init(e,r)});function Xi(e){return Ar(rr,e)}var or=u("ZodCUID",(e,r)=>{Gt.init(e,r),f.init(e,r)});function Hi(e){return jr(or,e)}var tr=u("ZodCUID2",(e,r)=>{Yt.init(e,r),f.init(e,r)});function Qi(e){return Jr(tr,e)}var nr=u("ZodULID",(e,r)=>{Xt.init(e,r),f.init(e,r)});function es(e){return Rr(nr,e)}var cr=u("ZodXID",(e,r)=>{Ht.init(e,r),f.init(e,r)});function rs(e){return Lr(cr,e)}var ir=u("ZodKSUID",(e,r)=>{Qt.init(e,r),f.init(e,r)});function os(e){return Ur(ir,e)}var sr=u("ZodIPv4",(e,r)=>{nn.init(e,r),f.init(e,r)});function ts(e){return Mr(sr,e)}var xo=u("ZodMAC",(e,r)=>{sn.init(e,r),f.init(e,r)});function ns(e){return kc(xo,e)}var ur=u("ZodIPv6",(e,r)=>{cn.init(e,r),f.init(e,r)});function cs(e){return Fr(ur,e)}var ar=u("ZodCIDRv4",(e,r)=>{un.init(e,r),f.init(e,r)});function is(e){return Br(ar,e)}var pr=u("ZodCIDRv6",(e,r)=>{an.init(e,r),f.init(e,r)});function ss(e){return Kr(pr,e)}var dr=u("ZodBase64",(e,r)=>{pn.init(e,r),f.init(e,r)});function us(e){return Vr(dr,e)}var lr=u("ZodBase64URL",(e,r)=>{dn.init(e,r),f.init(e,r)});function as(e){return qr(lr,e)}var mr=u("ZodE164",(e,r)=>{ln.init(e,r),f.init(e,r)});function ps(e){return Wr(mr,e)}var go=u("ZodCreditCard",(e,r)=>{mn.init(e,r),f.init(e,r)});function ds(e){return Zc(go,e)}var _o=u("ZodIBAN",(e,r)=>{fn.init(e,r),f.init(e,r)});function ls(e){return Sc(_o,e)}var fr=u("ZodJWT",(e,r)=>{hn.init(e,r),f.init(e,r)});function ms(e){return Gr(fr,e)}var K=u("ZodCustomStringFormat",(e,r)=>{yn.init(e,r),f.init(e,r)});function fs(e,r,t={}){return X(K,e,r,t)}function hs(e){return X(K,"hostname",Dt,e)}function ys(e){return X(K,"hex",Rt,e)}function xs(e){return X(K,"currency_code",Jt,e)}function gs(e,r){let t=r?.enc??"hex",n=`${e}_${t}`,o=se[n];if(!o)throw new Error(`Unrecognized hash format: ${n}`);return X(K,n,o,r)}var re=u("ZodNumber",(e,r)=>{xn.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>ti(e,t,n,o),e.isFinite=!0},p.derived({minValue:e=>{let{minimum:r,exclusiveMinimum:t}=$(e);return Math.max(r??Number.NEGATIVE_INFINITY,t??Number.NEGATIVE_INFINITY)},maxValue:e=>{let{maximum:r,exclusiveMaximum:t}=$(e);return Math.min(r??Number.POSITIVE_INFINITY,t??Number.POSITIVE_INFINITY)},isInt:e=>{let{isInt:r,multipleOf:t}=$(e);return!!r||!!t?.some(Number.isSafeInteger)},format:e=>$(e).format??null},{gt(e,r){return this.check(T(e,r))},gte(e,r){return this.check(O(e,r))},min(e,r){return this.check(O(e,r))},lt(e,r){return this.check(N(e,r))},lte(e,r){return this.check(v(e,r))},max(e,r){return this.check(v(e,r))},int(e){return this.check(Ge(e))},safe(e){return this.check(Ge(e))},positive(e){return this.check(T(0,e))},nonnegative(e){return this.check(O(0,e))},negative(e){return this.check(N(0,e))},nonpositive(e){return this.check(v(0,e))},multipleOf(e,r){return this.check(L(e,r))},step(e,r){return this.check(L(e,r))},finite(){return this}}));function ko(e){return bc(re,e)}var V=u("ZodNumberFormat",(e,r)=>{gn.init(e,r),re.init(e,r)});function Ge(e){return Oc(V,e)}function _s(e){return wc(V,e)}function ks(e){return Ic(V,e)}function Zs(e){return Pc(V,e)}function Ss(e){return zc(V,e)}var oe=u("ZodBoolean",(e,r)=>{_n.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>ni(e,t,n,o)});function Zo(e){return Nc(oe,e)}var te=u("ZodBigInt",(e,r)=>{kn.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>ci(e,t,n,o)},p.derived({minValue:e=>$(e).minimum??null,maxValue:e=>$(e).maximum??null,format:e=>$(e).format??null},{gte(e,r){return this.check(O(e,r))},min(e,r){return this.check(O(e,r))},gt(e,r){return this.check(T(e,r))},lt(e,r){return this.check(N(e,r))},lte(e,r){return this.check(v(e,r))},max(e,r){return this.check(v(e,r))},positive(e){return this.check(T(BigInt(0),e))},negative(e){return this.check(N(BigInt(0),e))},nonpositive(e){return this.check(v(BigInt(0),e))},nonnegative(e){return this.check(O(BigInt(0),e))},multipleOf(e,r){return this.check(L(e,r))}}));function $s(e){return Cc(te,e)}var hr=u("ZodBigIntFormat",(e,r)=>{Zn.init(e,r),te.init(e,r)});function bs(e){return Dc(hr,e)}function vs(e){return Ac(hr,e)}var So=u("ZodSymbol",(e,r)=>{Sn.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>ii(e,t,n,o)});function Os(e){return jc(So,e)}var $o=u("ZodUndefined",(e,r)=>{$n.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>ui(e,t,n,o)});function ws(e){return Jc($o,e)}var bo=u("ZodNull",(e,r)=>{bn.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>si(e,t,n,o)});function vo(e){return Rc(bo,e)}var Oo=u("ZodAny",(e,r)=>{vn.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>di(e,t,n,o)});function Is(){return Lc(Oo)}var wo=u("ZodUnknown",(e,r)=>{On.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>li(e,t,n,o)});function M(){return Uc(wo)}var Io=u("ZodNever",(e,r)=>{wn.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>pi(e,t,n,o)});function yr(e){return Mc(Io,e)}var Po=u("ZodVoid",(e,r)=>{In.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>ai(e,t,n,o)});function Ps(e){return Fc(Po,e)}var ve=u("ZodDate",(e,r)=>{Pn.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>mi(e,t,n,o),e.min=(t,n)=>e.check(O(t,n)),e.max=(t,n)=>e.check(v(t,n))},p.derived({minDate:e=>{let{minimum:r}=$(e);return r?new Date(r):null},maxDate:e=>{let{maximum:r}=$(e);return r?new Date(r):null}},{}));function zs(e){return Bc(ve,e)}var zo=u("ZodArray",(e,r)=>{B(),zn.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>vi(e,t,n,o),e.element=r.element},{min(e,r){return this.check(C(e,r))},nonempty(e){return this.check(C(1,e))},max(e,r){return this.check(G(e,r))},length(e,r){return this.check(Y(e,r))},unwrap(){return this.element}});function Oe(e,r){return qc(zo,e,r)}function Ns(e){let r=e._zod.def.shape;return xr(Object.keys(r))}var we=u("ZodObject",(e,r)=>{B(),Nn.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>Oi(e,t,n,o),p.installLazyProp(e,"shape",t=>t._zod.def.shape,!1)},{keyof(){return xr(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(p.mergeDefs(this._zod.def,{catchall:e}))},passthrough(){return this.clone(p.mergeDefs(this._zod.def,{catchall:M()}))},loose(){return this.clone(p.mergeDefs(this._zod.def,{catchall:M()}))},strict(){return this.clone(p.mergeDefs(this._zod.def,{catchall:yr()}))},strip(){return this.clone(p.mergeDefs(this._zod.def,{catchall:void 0}))},extend(e){return p.extend(this,e)},safeExtend(e){return p.safeExtend(this,e)},merge(e){return p.merge(this,e)},pick(e){return p.pick(this,e)},omit(e){return p.omit(this,e)},partial(...e){return p.partial(Pe,this,e[0])},exactPartial(...e){return p.partial(_r,this,e[0],"exactPartial")},required(...e){return p.required(kr,this,e[0])}});function Ts(e,r){let t={type:"object",shape:e??{},...p.normalizeParams(r)};return new we(t)}function Cs(e,r){return new we({type:"object",shape:e,catchall:yr(),...p.normalizeParams(r)})}function Es(e,r){return new we({type:"object",shape:e,catchall:M(),...p.normalizeParams(r)})}var Ie=u("ZodUnion",(e,r)=>{Tn.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>oo(e,t,n,o),e.options=r.options});function ne(e,r){return new Ie({type:"union",options:e,...p.normalizeParams(r)})}var No=u("ZodXor",(e,r)=>{Ie.init(e,r),Cn.init(e,r),e._zod.processJSONSchema=(t,n,o)=>oo(e,t,n,o),e.options=r.options});function Ds(e,r){return new No({type:"union",options:e,inclusive:!1,...p.normalizeParams(r)})}var To=u("ZodDiscriminatedUnion",(e,r)=>{Ie.init(e,r),Dn.init(e,r)});function As(e,r,t){return new To({type:"union",options:r,discriminator:e,...p.normalizeParams(t)})}var Co=u("ZodIntersection",(e,r)=>{An.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>wi(e,t,n,o)});function Eo(e,r){return new Co({type:"intersection",left:e,right:r})}var Do=u("ZodTuple",(e,r)=>{B(),jn.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>Ii(e,t,n,o)},{rest(e){return this.clone({...this._zod.def,rest:e})},partial(){let e=this._zod.def;if(e.checks?.length)throw new Error(".partial() cannot be used on tuple schemas containing refinements");return this.clone({...e,items:e.items.map(r=>new Pe({type:"optional",innerType:r}))})}});function Ao(e,r,t){let n=r instanceof wr,o=n?t:r,s=n?r:null;return new Do({type:"tuple",items:e,rest:s,...p.normalizeParams(o)})}var H=u("ZodRecord",(e,r)=>{B(),Jn.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>Pi(e,t,n,o),e.keyType=r.keyType,e.valueType=r.valueType});function jo(e,r,t){return!r||!r._zod?new H({type:"record",keyType:Se(),valueType:e,...p.normalizeParams(r)}):new H({type:"record",keyType:e,valueType:r,...p.normalizeParams(t)})}function js(e,r,t){return new H({type:"record",keyType:e,valueType:r,...p.normalizeParams(t),partial:!0})}function Js(e,r,t){return new H({type:"record",keyType:e,valueType:r,mode:"loose",...p.normalizeParams(t)})}var Jo=u("ZodMap",(e,r)=>{B(),Rn.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>$i(e,t,n,o),e.keyType=r.keyType,e.valueType=r.valueType,e.min=(...t)=>e.check(P(...t)),e.nonempty=t=>e.check(P(1,t)),e.max=(...t)=>e.check(U(...t)),e.size=(...t)=>e.check(W(...t))});function Rs(e,r,t){return new Jo({type:"map",keyType:e,valueType:r,...p.normalizeParams(t)})}var Ro=u("ZodSet",(e,r)=>{B(),Ln.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>bi(e,t,n,o),e.min=(...t)=>e.check(P(...t)),e.nonempty=t=>e.check(P(1,t)),e.max=(...t)=>e.check(U(...t)),e.size=(...t)=>e.check(W(...t))});function Ls(e,r){return new Ro({type:"set",valueType:e,...p.normalizeParams(r)})}var Q=u("ZodEnum",(e,r)=>{Un.init(e,r),l.init(e,r),e._zod.processJSONSchema=(n,o,s)=>fi(e,n,o,s),e.enum=r.entries,e.options=[...e._zod.values];let t=new Set(Object.keys(r.entries));e.extract=(n,o)=>{let s={};for(let i of n)if(t.has(i))s[i]=r.entries[i];else throw new Error(`Key ${i} not found in enum`);return new Q({...r,checks:[],...p.normalizeParams(o),entries:s})},e.exclude=(n,o)=>{let s={...r.entries};for(let i of n)if(t.has(i))delete s[i];else throw new Error(`Key ${i} not found in enum`);return new Q({...r,checks:[],...p.normalizeParams(o),entries:s})}});function xr(e,r){let t=Array.isArray(e)?Object.fromEntries(e.map(n=>[n,n])):e;return new Q({type:"enum",entries:t,...p.normalizeParams(r)})}function Us(e,r){return new Q({type:"enum",entries:e,...p.normalizeParams(r)})}var Lo=u("ZodLiteral",(e,r)=>{Mn.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>hi(e,t,n,o),e.values=new Set(r.values),Object.defineProperty(e,"value",{get(){if(r.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return r.values[0]}})});function Ms(e,r){return new Lo({type:"literal",values:Array.isArray(e)?e:[e],...p.normalizeParams(r)})}var Uo=u("ZodFile",(e,r)=>{Fn.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>gi(e,t,n,o),e.min=(t,n)=>e.check(P(t,n)),e.max=(t,n)=>e.check(U(t,n)),e.mime=(t,n)=>e.check(he(Array.isArray(t)?t:[t],n))});function Fs(e){return Wc(Uo,e)}var Mo=u("ZodTransform",(e,r)=>{B(),Bn.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>Si(e,t,n,o),e._zod.parse=(t,n)=>{if(n.direction==="backward")throw new _t(e.constructor.name);t.addIssue=s=>{if(typeof s=="string")t.issues.push(p.issue(s,t.value,r));else{let i=s;i.fatal&&(i.continue=!1),i.code??(i.code="custom"),"input"in i||(i.input=t.value),i.inst??(i.inst=e),t.issues.push(p.issue(i))}};let o=r.transform(t.value,t);return o instanceof Promise?o.then(s=>(t.value=s,t)):(t.value=o,t)}});function gr(e){return new Mo({type:"transform",transform:e})}var Pe=u("ZodOptional",(e,r)=>{Kn.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>to(e,t,n,o),e.unwrap=()=>e._zod.def.innerType});function F(e){return new Pe({type:"optional",innerType:e})}var _r=u("ZodExactOptional",(e,r)=>{Vn.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>to(e,t,n,o),e.unwrap=()=>e._zod.def.innerType});function Fo(e){return new _r({type:"optional",innerType:e})}var Bo=u("ZodNullable",(e,r)=>{qn.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>zi(e,t,n,o),e.unwrap=()=>e._zod.def.innerType});function $e(e){return new Bo({type:"nullable",innerType:e})}function Bs(e){return F($e(e))}var Ko=u("ZodDefault",(e,r)=>{Wn.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>Ti(e,t,n,o),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Vo(e,r){return new Ko({type:"default",innerType:e,get defaultValue(){return typeof r=="function"?r():p.shallowClone(r)}})}var qo=u("ZodPrefault",(e,r)=>{Gn.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>Ci(e,t,n,o),e.unwrap=()=>e._zod.def.innerType});function Wo(e,r){return new qo({type:"prefault",innerType:e,get defaultValue(){return typeof r=="function"?r():p.shallowClone(r)}})}var kr=u("ZodNonOptional",(e,r)=>{Yn.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>Ni(e,t,n,o),e.unwrap=()=>e._zod.def.innerType});function Go(e,r){return new kr({type:"nonoptional",innerType:e,...p.normalizeParams(r)})}var Yo=u("ZodSuccess",(e,r)=>{Xn.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>_i(e,t,n,o),e.unwrap=()=>e._zod.def.innerType});function Ks(e){return new Yo({type:"success",innerType:e})}var Xo=u("ZodCatch",(e,r)=>{Hn.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>Ei(e,t,n,o),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Ho(e,r){return new Xo({type:"catch",innerType:e,catchValue:typeof r=="function"?r:p.constantCatch(r)})}var Qo=u("ZodNaN",(e,r)=>{Qn.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>yi(e,t,n,o)});function Vs(e){return Vc(Qo,e)}var ze=u("ZodPipe",(e,r)=>{ec.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>Di(e,t,n,o),e.in=r.in,e.out=r.out});function Ye(e,r){return new ze({type:"pipe",in:e,out:r})}var Ne=u("ZodCodec",(e,r)=>{ze.init(e,r),rc.init(e,r)});function qs(e,r,t){return new Ne({type:"pipe",in:e,out:r,transform:t.decode,reverseTransform:t.encode})}function Ws(e){let r=e._zod.def;return new Ne({type:"pipe",in:r.out,out:r.in,transform:r.reverseTransform,reverseTransform:r.transform})}var et=u("ZodPreprocess",(e,r)=>{ze.init(e,r),oc.init(e,r)}),rt=u("ZodReadonly",(e,r)=>{tc.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>Ai(e,t,n,o),e.unwrap=()=>e._zod.def.innerType});function ot(e){return new rt({type:"readonly",innerType:e})}var tt=u("ZodTemplateLiteral",(e,r)=>{nc.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>xi(e,t,n,o)});function Gs(e,r){return new tt({type:"template_literal",parts:e,...p.normalizeParams(r)})}var nt=u("ZodLazy",(e,r)=>{Le.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>Ji(e,t,n,o),e.unwrap=()=>e._zod.def.getter()});function ct(e){return new nt({type:"lazy",getter:e})}var it=u("ZodPromise",(e,r)=>{ic.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>ji(e,t,n,o),e.unwrap=()=>e._zod.def.innerType});function Ys(e){return new it({type:"promise",innerType:e})}var st=u("ZodFunction",(e,r)=>{cc.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>Zi(e,t,n,o)});function Xs(e){return new st({type:"function",input:Array.isArray(e?.input)?Ao(e?.input):e?.input??Oe(M()),output:e?.output??M()})}var Te=u("ZodCustom",(e,r)=>{sc.init(e,r),l.init(e,r),e._zod.processJSONSchema=(t,n,o)=>ki(e,t,n,o)});function Hs(e){let r=new Lt({check:"custom"});return r._zod.check=e,r}function Qs(e,r){return Gc(Te,e??(()=>!0),r)}function ut(e,r={}){return Yc(Te,e,r)}function at(e,r){return Xc(e,r)}var eu=Hc,ru=Qc,pt=u("ZodInstanceOf",(e,r)=>{Te.init(e,r)},{properties(e,r){return this.check(fe(e,r))}});function ou(e,r={}){let t=new pt({type:"custom",check:"custom",fn:n=>n instanceof e,abort:!0,...p.normalizeParams(r)});return t._zod.bag.Class=e,t._zod.check=n=>{n.value instanceof e||n.issues.push({code:"invalid_type",expected:e.name,input:n.value,inst:t,path:[...t._zod.def.path??[]]})},t}var tu=(...e)=>ei({Codec:Ne,Boolean:oe,String:ee},...e);function nu(e){let r=ct(()=>ne([Se(e),ko(),Zo(),vo(),Oe(r),jo(Se(),r)]));return r}function cu(e,r){return new et({type:"pipe",in:gr(e),out:r})}var ku={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function Zu(e){z({customError:e})}function Su(){return z().customError}var dt;dt||(dt={});var Ce={};ie(Ce,{ZodISODate:()=>A,ZodISODateTime:()=>D,ZodISODuration:()=>J,ZodISOTime:()=>j,date:()=>bu,datetime:()=>$u,duration:()=>Ou,time:()=>vu});function $u(e){return Fe(D,e)}function bu(e){return Be(A,e)}function vu(e){return Ke(j,e)}function Ou(e){return Ve(J,e)}var a={...ce,...qe,iso:Ce},wu=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);function Iu(e,r){let t=e.$schema;return t==="https://json-schema.org/draft/2020-12/schema"?"draft-2020-12":t==="http://json-schema.org/draft-07/schema#"?"draft-7":t==="http://json-schema.org/draft-04/schema#"?"draft-4":r??"draft-2020-12"}function iu(e,r){return e.map((t,n)=>n<r?t:t.optional())}function Pu(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function zu(e,r){if(!e.startsWith("#"))throw new Error("External $ref is not supported, only local refs (#/...) are allowed");let t=e.slice(1).split("/").filter(Boolean);if(t.length===0)return r.rootSchema;let n=r.version==="draft-2020-12"?"$defs":"definitions";if(t[0]===n){let o=t[1]===void 0?void 0:Pu(t[1]);if(!o||!r.defs[o])throw new Error(`Reference not found: ${e}`);return r.defs[o]}throw new Error(`Reference not found: ${e}`)}function Nu(e,r){return a.transform(n=>n).check(n=>{let o=n.value;if(typeof o!="object"||o===null||Array.isArray(o))return;let s=Object.getOwnPropertyNames(o);if(r.minProperties!==void 0&&s.length<r.minProperties&&n.issues.push({origin:"object",code:"too_small",minimum:r.minProperties,inclusive:!0,message:`Too small: expected object to have >=${r.minProperties} properties`,input:o,inst:e,continue:!0}),r.maxProperties!==void 0&&s.length>r.maxProperties&&n.issues.push({origin:"object",code:"too_big",maximum:r.maxProperties,inclusive:!0,message:`Too big: expected object to have <=${r.maxProperties} properties`,input:o,inst:e,continue:!0}),r.keySchema)for(let i of s){let c=r.keySchema.safeParse(i);c.success||n.issues.push({code:"invalid_key",origin:"record",issues:c.error.issues,input:i,path:[i],continue:!0})}}).pipe(e)}function lt(e,r){if(e===null)return"z";let t=typeof e;if(t!=="object"){if(t==="number"&&Number.isNaN(e))return null;let n=String(e);return`${t[0]}${n.length}:${n}`}if(r.has(e))return null;r.add(e);try{if(Array.isArray(e)){let s=[];for(let i of e){let c=lt(i,r);if(c===null)return null;s.push(c)}return`a${s.length}:[${s.join(",")}]`}let n=Object.keys(e).sort(),o=[];for(let s of n){let i=lt(e[s],r);if(i===null)return null;o.push(`${s.length}:${s}=${i}`)}return`o${o.length}:{${o.join(",")}}`}finally{r.delete(e)}}var Tu=new Set(["items","prefixItems","additionalItems","additionalProperties","contains","propertyNames","not","if","then","else","allOf","anyOf","oneOf","unevaluatedItems","unevaluatedProperties","contentSchema"]),Cu=new Set(["properties","patternProperties","dependentSchemas","dependencies","$defs","definitions"]);function Ee(e){return typeof e!="object"||e===null?!1:Array.isArray(e)?e.some(Ee):typeof e.$ref=="string"?!0:Object.entries(e).some(([r,t])=>Tu.has(r)?Ee(t):!Cu.has(r)||typeof t!="object"||t===null?!1:Object.values(t).some(Ee))}function su(e){return e===1?"element":"elements"}function Eu(e,r){return a.transform(n=>n).check(n=>{let o=n.value;if(Array.isArray(o)){if(r.uniqueItems===!0){let s=new Map;for(let i=0;i<o.length;i++){let c=lt(o[i],new Set);if(c===null)continue;let h=s.get(c);if(h===void 0){s.set(c,i);continue}n.issues.push({code:"custom",message:`Array items must be unique: element at index ${i} duplicates the one at index ${h}`,input:o,path:[i],continue:!0})}}if(r.containsSchema){let s=r.minContains??1,i=r.maxContains!==void 0?r.maxContains+1:Number.POSITIVE_INFINITY,c=0;for(let h of o)if(r.containsSchema.safeParse(h).success&&++c>=i)break;c<s&&n.issues.push({code:"custom",message:`Array must contain at least ${s} matching ${su(s)}; found ${c}`,input:o,continue:!0}),r.maxContains!==void 0&&c>r.maxContains&&n.issues.push({code:"custom",message:`Array must contain at most ${r.maxContains} matching ${su(r.maxContains)}`,input:o,continue:!0})}}}).pipe(e)}function uu(e,r){if(e!==!1)return e===void 0||e===!0?a.any():Z(e,r)}var Du=/^(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$/;function au(e,r){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return a.never();throw new Error("not is not supported in Zod (except { not: {} } for never)")}if(e.unevaluatedItems!==void 0)throw new Error("unevaluatedItems is not supported");if(e.unevaluatedProperties!==void 0)throw new Error("unevaluatedProperties is not supported");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error("Conditional schemas (if/then/else) are not supported");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error("dependentSchemas and dependentRequired are not supported");if(e.$ref){let o=e.$ref;if(r.refs.has(o))return r.refs.get(o);if(r.processing.has(o))return a.lazy(()=>{if(!r.refs.has(o))throw new Error(`Circular reference not resolved: ${o}`);return r.refs.get(o)});r.processing.add(o);let s=zu(o,r),i=Z(s,r);return r.refs.set(o,i),r.processing.delete(o),i}if(e.enum!==void 0){let o=e.enum;if(r.version==="openapi-3.0"&&e.nullable===!0&&o.length===1&&o[0]===null)return a.null();if(o.length===0)return a.never();if(o.length===1)return a.literal(o[0]);if(o.every(i=>typeof i=="string"))return a.enum(o);let s=o.map(i=>a.literal(i));return s.length<2?s[0]:a.union([s[0],s[1],...s.slice(2)])}if(e.const!==void 0)return a.literal(e.const);let t=e.type;if(Array.isArray(t)){let o=t.map(s=>{let i={...e,type:s};return au(i,r)});return o.length===0?a.never():o.length===1?o[0]:a.union(o)}if(!t)return a.any();let n;switch(t){case"string":{let o=a.string();if(e.format){let s=e.format;s==="email"?o=o.check(a.email()):s==="uri"||s==="uri-reference"?o=o.check(a.url()):s==="uuid"||s==="guid"?o=o.check(a.uuid()):s==="date-time"?o=o.check(a.iso.datetime({offset:!0})):s==="date"?o=o.check(a.iso.date()):s==="time"?o=o.check(a.regex(Du)):s==="duration"?o=o.check(a.iso.duration()):s==="hostname"?o=o.check(a.hostname()):s==="ipv4"?o=o.check(a.ipv4()):s==="ipv6"?o=o.check(a.ipv6()):s==="mac"?o=o.check(a.mac()):s==="cidr"?o=o.check(a.cidrv4()):s==="cidr-v6"?o=o.check(a.cidrv6()):s==="base64"?o=o.check(a.base64()):s==="base64url"?o=o.check(a.base64url()):s==="e164"?o=o.check(a.e164()):s==="credit_card"?o=o.check(a.creditCard()):s==="iban"?o=o.check(a.iban()):s==="jwt"?o=o.check(a.jwt()):s==="emoji"?o=o.check(a.emoji()):s==="nanoid"?o=o.check(a.nanoid()):s==="cuid"?o=o.check(a.cuid()):s==="cuid2"?o=o.check(a.cuid2()):s==="ulid"?o=o.check(a.ulid()):s==="xid"?o=o.check(a.xid()):s==="ksuid"&&(o=o.check(a.ksuid()))}typeof e.minLength=="number"&&(o=o.min(e.minLength)),typeof e.maxLength=="number"&&(o=o.max(e.maxLength)),e.pattern&&(o=o.regex(new RegExp(e.pattern))),n=o;break}case"number":case"integer":{let o=t==="integer"?a.number().int():a.number();typeof e.minimum=="number"&&e.exclusiveMinimum!==!0&&(o=o.min(e.minimum)),typeof e.maximum=="number"&&e.exclusiveMaximum!==!0&&(o=o.max(e.maximum)),typeof e.exclusiveMinimum=="number"?o=o.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum=="number"&&(o=o.gt(e.minimum)),typeof e.exclusiveMaximum=="number"?o=o.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum=="number"&&(o=o.lt(e.maximum)),typeof e.multipleOf=="number"&&(o=o.multipleOf(e.multipleOf)),n=o;break}case"boolean":{n=a.boolean();break}case"null":{n=a.null();break}case"object":{let o={},s=e.properties||{},i=new Set(e.required||[]),c=typeof e.additionalProperties=="object"?Z(e.additionalProperties,r):void 0;for(let[y,g]of Object.entries(s)){let k=Z(g,r);vr(o,y,i.has(y)?k:k.optional())}if(e.patternProperties){let y=e.patternProperties,g=Object.keys(y),k=[];for(let b of g){let R=Z(y[b],r),Zr=a.string().regex(new RegExp(b));k.push(a.looseRecord(Zr,R))}let _=[];if(Object.keys(o).length>0&&_.push(a.object(o).passthrough()),_.push(...k),_.length===0)n=a.object({}).passthrough();else if(_.length===1)n=_[0];else{let b=a.intersection(_[0],_[1]);for(let R=2;R<_.length;R++)b=a.intersection(b,_[R]);n=b}if(e.additionalProperties===!1){let b=Object.keys(o),R=g.map(q=>new RegExp(q)),Zr=n;n=n.check(q=>{if(!yt(q.value))return;let Sr=[];for(let $r of Object.keys(q.value))b.includes($r)||R.some(yu=>yu.test($r))||Sr.push($r);Sr.length&&q.issues.push({code:"unrecognized_keys",keys:Sr,input:q.value,inst:Zr})})}}else{let y=a.object(o);e.additionalProperties===!1?n=y.strict():c?n=y.catchall(c):n=y.passthrough()}let h=e.propertyNames!==void 0&&e.propertyNames!==!0,d=typeof e.minProperties=="number"?e.minProperties:void 0,m=typeof e.maxProperties=="number"?e.maxProperties:void 0;if(h||d!==void 0||m!==void 0){let y;if(h){let g=typeof e.propertyNames=="object"&&e.propertyNames.type===void 0?{type:"string",...e.propertyNames}:e.propertyNames;y=Z(g,r)}n=Nu(n,{keySchema:y,minProperties:d,maxProperties:m})}break}case"array":{let o=e.prefixItems,s=e.items;if(o&&Array.isArray(o)){let i=typeof e.minItems=="number"?e.minItems:0,c=o.map(y=>Z(y,r)),h=iu(c,i),d=Array.isArray(s)?void 0:uu(s,r),m=a.tuple(h);n=d?m.rest(d):m,typeof e.minItems=="number"&&(n=n.check(a.minLength(e.minItems))),typeof e.maxItems=="number"&&(n=n.check(a.maxLength(e.maxItems)))}else if(Array.isArray(s)){let i=typeof e.minItems=="number"?e.minItems:0,c=s.map(y=>Z(y,r)),h=iu(c,i),d=uu(e.additionalItems,r),m=a.tuple(h);n=d?m.rest(d):m,typeof e.minItems=="number"&&(n=n.check(a.minLength(e.minItems))),typeof e.maxItems=="number"&&(n=n.check(a.maxLength(e.maxItems)))}else if(s!==void 0){let i=Z(s,r),c=a.array(i);typeof e.minItems=="number"&&(c=c.min(e.minItems)),typeof e.maxItems=="number"&&(c=c.max(e.maxItems)),n=c}else n=a.array(a.any());(e.uniqueItems===!0||e.contains!==void 0)&&(n=Eu(n,{uniqueItems:e.uniqueItems===!0,containsSchema:e.contains!==void 0?Z(e.contains,r):void 0,minContains:typeof e.minContains=="number"?e.minContains:void 0,maxContains:typeof e.maxContains=="number"?e.maxContains:void 0}));break}default:throw new Error(`Unsupported type: ${t}`)}return n}function Z(e,r){if(typeof e=="boolean")return e?a.any():a.never();let t=au(e,r),n=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let c=e.anyOf.map(d=>Z(d,r)),h=a.union(c);t=n?a.intersection(t,h):h}if(e.oneOf&&Array.isArray(e.oneOf)){let c=e.oneOf.map(d=>Z(d,r)),h=a.xor(c);t=n?a.intersection(t,h):h}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)t=n?t:a.any();else{let c=n?t:Z(e.allOf[0],r),h=n?0:1;for(let d=h;d<e.allOf.length;d++)c=a.intersection(c,Z(e.allOf[d],r));t=c}e.nullable===!0&&r.version==="openapi-3.0"&&(t=a.nullable(t)),e.readOnly===!0&&(t=a.readonly(t)),e.default!==void 0&&(t=t.default(e.default));let o={},s=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let c of s)c in e&&(o[c]=e[c]);let i=["contentEncoding","contentMediaType","contentSchema"];for(let c of i)c in e&&(o[c]=e[c]);if(e.type==="object"&&e.$ref===void 0){e.propertyNames!==void 0&&!Ee(e.propertyNames)&&(o.propertyNames=e.propertyNames);for(let c of["minProperties","maxProperties"])e[c]!==void 0&&(o[c]=e[c])}if(e.type==="array"&&e.$ref===void 0){e.contains!==void 0&&!Ee(e.contains)&&(o.contains=e.contains);for(let c of["uniqueItems","minContains","maxContains"])e[c]!==void 0&&(o[c]=e[c])}for(let c of Object.keys(e))wu.has(c)||vr(o,c,e[c]);return Object.keys(o).length>0&&r.registry.add(t,o),e.description&&(t=t.describe(e.description)),t}function pu(e,r){if(typeof e=="boolean")return e?a.any():a.never();let t;try{t=JSON.parse(JSON.stringify(e))}catch{throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let n=Iu(t,r?.defaultTarget),o=t.$defs||t.definitions||{},s={version:n,defs:o,refs:new Map,processing:new Set,rootSchema:t,registry:r?.registry??I};return Z(t,s)}var du=Symbol("z.visit/resolving");function De(e,r){let t=typeof r=="function"?r:(i,c)=>{let h=r[i._zod.def.type];return h?h(i,c):i},n=new Map;function o(i){let c=n.get(i);if(c===du)return new Le({type:"lazy",getter:()=>n.get(i)});if(c!==void 0)return c;n.set(i,du);let h=s(i),d=t(h,h!==i);return n.set(i,d),d}function s(i){let c=i._zod.def,h=c.type;switch(h){case"object":{let d=c.shape,m=Object.keys(d),y=!1,g={};for(let _ of m){let b=o(d[_]);b!==d[_]&&(y=!0),g[_]=b}let k=c.catchall;return c.catchall&&(k=o(c.catchall),k!==c.catchall&&(y=!0)),y?x(i,{...c,shape:g,catchall:k}):i}case"array":{let d=o(c.element);return d===c.element?i:x(i,{...c,element:d})}case"tuple":{let d=c.items,m=!1,y=[];for(let k of d){let _=o(k);_!==k&&(m=!0),y.push(_)}let g=c.rest;return c.rest&&(g=o(c.rest),g!==c.rest&&(m=!0)),m?x(i,{...c,items:y,rest:g}):i}case"record":case"map":{let d=o(c.keyType),m=o(c.valueType);return d===c.keyType&&m===c.valueType?i:x(i,{...c,keyType:d,valueType:m})}case"set":{let d=o(c.valueType);return d===c.valueType?i:x(i,{...c,valueType:d})}case"union":{let d=c.options,m=!1,y=[];for(let g of d){let k=o(g);k!==g&&(m=!0),y.push(k)}return m?x(i,{...c,options:y}):i}case"intersection":{let d=o(c.left),m=o(c.right);return d===c.left&&m===c.right?i:x(i,{...c,left:d,right:m})}case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":{let d=o(c.innerType);return d===c.innerType?i:x(i,{...c,innerType:d})}case"pipe":{let d=o(c.in),m=o(c.out);return d===c.in&&m===c.out?i:x(i,{...c,in:d,out:m})}case"function":{let d=o(c.input),m=o(c.output);return d===c.input&&m===c.output?i:x(i,{...c,input:d,output:m})}case"lazy":{let d=c.getter,{_cachedInner:m,...y}=c;return x(i,{...y,getter:()=>o(d())})}case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":return i;default:return i}}return o(e)}function lu(e){return De(e,{object:r=>r.partial(),union:r=>{let t=r._zod.def;return t.discriminator===void 0?r:ne(t.options)}})}function Au(e,r){if(!r?.length)return e;let t=e._zod.def;return x(e,ht(t,{checks:[...t.checks??[],...r]}),{parent:!0})}function mu(e){return Au(e.out,e.checks)}function ju(e){return e.in._zod.traits.has("$ZodTransform")?mu(e):e.in}function fu(e){return De(e,{pipe:r=>ju(r._zod.def),default:(r,t)=>t?F(r._zod.def.innerType):r,catch:(r,t)=>t?r._zod.def.innerType:r})}function hu(e){return De(e,{pipe:r=>mu(r._zod.def),prefault:(r,t)=>t?r._zod.def.innerType:r})}var mt={};ie(mt,{bigint:()=>Uu,boolean:()=>Lu,date:()=>Mu,number:()=>Ru,string:()=>Ju});function Ju(e){return _c(ee,e)}function Ru(e){return vc(re,e)}function Lu(e){return Tc(oe,e)}function Uu(e){return Ec(te,e)}function Mu(e){return Kc(ve,e)}export{no as a,Se as b,ko as c,Oe as d,Ts as e,Cs as f,Es as g,ne as h,As as i,jo as j,Ms as k,Qs as l,nu as m,Fu as n};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{c as m}from"./A2SQ4EMZ.js";import"./K2XSYDAP.js";import{J as d,K as p,L as u,M as s,O as o,R as h,h as n,j as a,w as c}from"./AICPYLWE.js";import"./OUMTV5H5.js";import"./5PV2GUZW.js";var v=n`.coord-field{margin-bottom:var(--calcite-spacing-sm)}.coord-label{display:block;margin-bottom:var(--calcite-spacing-sm);font-size:14px}.coordinate-input{width:100%;block-size:var(--calcite-spacing-xxxl);box-sizing:border-box;padding-inline:var(--calcite-spacing-md);font-size:14px;color:var(--calcite-color-text-3);outline-color:var(--calcite-color-brand)}.coordinate-input--error{border:1px solid var(--calcite-color-status-danger)}.coord-error-message{position:relative;max-width:100%;margin:var(--calcite-spacing-sm) 0;display:flex;font-size:14px;padding:6px 7px;background-color:var(--calcite-color-foreground-1);border:1px solid var(--calcite-color-status-danger);box-shadow:0 1px 2px #00000054}.coord-error-message:before{pointer-events:none;content:"";position:absolute;left:11px;top:-16px;width:0;height:0;border:8px solid transparent;border-bottom-color:var(--calcite-color-status-danger)}.coord-error-message:after{position:absolute;pointer-events:none;content:"";left:11px;top:-15px;width:0;height:0;border:8px solid transparent;border-bottom-color:var(--calcite-color-foreground-1)}.is-rtl .coord-error-message:before,.is-rtl .coord-error-message:after{left:initial;right:11px}.coord-error-message calcite-icon{color:var(--calcite-color-status-danger)}.coord-error-message__text{margin-left:var(--calcite-spacing-sm);margin-right:var(--calcite-spacing-sm);line-height:var(--calcite-spacing-xl)}`,l=class extends u{constructor(){super(...arguments),this._direction=m(),this.inputEl=d(),this.isInvalid=!1,this.currentError="",this.inputValue="",this.label="",this.value="",this.errorMessage="",this.min=-180,this.max=180,this.validateRelated=()=>!0,this.relatedErrorMessage="",this.inputId="",this.arcgisCoordChange=c()}static{this.properties={isInvalid:16,currentError:16,inputValue:16,label:1,value:1,errorMessage:1,min:9,max:9,validateRelated:0,relatedErrorMessage:1,inputId:1}}static{this.styles=v}checkRelatedField(){return!this.inputValue||!this.isInvalid||!this.validate(this.inputValue)?"":this.inputValue}isValid(){return!this.isInvalid}setFocus(){this.inputEl.value?.focus()}willUpdate(t){t.has("value")&&this.validate(this.value)}isValidCoord(t,e,i){if(!t?.match(/^-?[0-9]*(\.|,)?[0-9]+$/u))return!1;let r=this.parseNumber(t);return r>=e&&r<=i}validate(t){if(this.isInvalid=!this.isValidCoord(t,this.min,this.max),this.isInvalid)return this.currentError=this.errorMessage,!1;let e=this.parseNumber(t);return this.isInvalid=!this.validateRelated(e),this.isInvalid?(this.currentError=this.relatedErrorMessage,!1):!0}parseNumber(t){let e=`-${Array.from({length:10},(r,g)=>g.toString()).join("")}`,i=t.replace(",",".");return i=Array.from(i).filter(r=>e.includes(r)||r===".").join(""),parseFloat(i)}render(){return a`<div class=${s({"coord-field":!0,"is-rtl":this._direction==="rtl"})}><label class="coord-label" for=${this.inputId??o}>${this.label}</label><calcite-input-number number-button-type=none id=${this.inputId??o} class=${s({"coordinate-input":!0})} .value=${`${this.parseNumber(this.value)}`} @calciteInputNumberChange=${t=>{this.inputValue=t.target.value,this.validate(this.inputValue)&&this.arcgisCoordChange.emit(this.inputValue)}} .status=${this.isInvalid?"invalid":"valid"} ${p(this.inputEl)}></calcite-input-number>${this.isInvalid&&a`<div class="coord-error-message"><calcite-icon icon=exclamation-mark-triangle scale=s></calcite-icon><div class="coord-error-message__text">${this.currentError}</div></div>`||""}</div>`}};h("arcgis-portal-extent-picker-coord-field",l);export{l as ArcgisPortalExtentPickerCoordField};
2
+ import{d as m}from"./N7XYFVOI.js";import"./ZNNEU5QW.js";import{L as d,M as p,N as u,O as s,Q as o,T as h,h as n,j as a,v as c}from"./VWOBCSD6.js";import"./KHKREBVZ.js";import"./5PV2GUZW.js";var v=n`.coord-field{margin-bottom:var(--calcite-spacing-sm)}.coord-label{display:block;margin-bottom:var(--calcite-spacing-sm);font-size:14px}.coordinate-input{width:100%;block-size:var(--calcite-spacing-xxxl);box-sizing:border-box;padding-inline:var(--calcite-spacing-md);font-size:14px;color:var(--calcite-color-text-3);outline-color:var(--calcite-color-brand)}.coordinate-input--error{border:1px solid var(--calcite-color-status-danger)}.coord-error-message{position:relative;max-width:100%;margin:var(--calcite-spacing-sm) 0;display:flex;font-size:14px;padding:6px 7px;background-color:var(--calcite-color-foreground-1);border:1px solid var(--calcite-color-status-danger);box-shadow:0 1px 2px #00000054}.coord-error-message:before{pointer-events:none;content:"";position:absolute;left:11px;top:-16px;width:0;height:0;border:8px solid transparent;border-bottom-color:var(--calcite-color-status-danger)}.coord-error-message:after{position:absolute;pointer-events:none;content:"";left:11px;top:-15px;width:0;height:0;border:8px solid transparent;border-bottom-color:var(--calcite-color-foreground-1)}.is-rtl .coord-error-message:before,.is-rtl .coord-error-message:after{left:initial;right:11px}.coord-error-message calcite-icon{color:var(--calcite-color-status-danger)}.coord-error-message__text{margin-left:var(--calcite-spacing-sm);margin-right:var(--calcite-spacing-sm);line-height:var(--calcite-spacing-xl)}`,l=class extends u{constructor(){super(...arguments),this._direction=m(),this.inputEl=d(),this.isInvalid=!1,this.currentError="",this.inputValue="",this.label="",this.value="",this.errorMessage="",this.min=-180,this.max=180,this.validateRelated=()=>!0,this.relatedErrorMessage="",this.inputId="",this.arcgisCoordChange=c()}static{this.properties={isInvalid:16,currentError:16,inputValue:16,label:1,value:1,errorMessage:1,min:9,max:9,validateRelated:0,relatedErrorMessage:1,inputId:1}}static{this.styles=v}checkRelatedField(){return!this.inputValue||!this.isInvalid||!this.validate(this.inputValue)?"":this.inputValue}isValid(){return!this.isInvalid}setFocus(){this.inputEl.value?.focus()}willUpdate(t){t.has("value")&&this.validate(this.value)}isValidCoord(t,e,i){if(!t?.match(/^-?[0-9]*(\.|,)?[0-9]+$/u))return!1;let r=this.parseNumber(t);return r>=e&&r<=i}validate(t){if(this.isInvalid=!this.isValidCoord(t,this.min,this.max),this.isInvalid)return this.currentError=this.errorMessage,!1;let e=this.parseNumber(t);return this.isInvalid=!this.validateRelated(e),this.isInvalid?(this.currentError=this.relatedErrorMessage,!1):!0}parseNumber(t){let e=`-${Array.from({length:10},(r,g)=>g.toString()).join("")}`,i=t.replace(",",".");return i=Array.from(i).filter(r=>e.includes(r)||r===".").join(""),parseFloat(i)}render(){return a`<div class=${s({"coord-field":!0,"is-rtl":this._direction==="rtl"})}><label class="coord-label" for=${this.inputId??o}>${this.label}</label><calcite-input-number number-button-type=none id=${this.inputId??o} class=${s({"coordinate-input":!0})} .value=${`${this.parseNumber(this.value)}`} @calciteInputNumberChange=${t=>{this.inputValue=t.target.value,this.validate(this.inputValue)&&this.arcgisCoordChange.emit(this.inputValue)}} .status=${this.isInvalid?"invalid":"valid"} ${p(this.inputEl)}></calcite-input-number>${this.isInvalid&&a`<div class="coord-error-message"><calcite-icon icon=exclamation-mark-triangle scale=s></calcite-icon><div class="coord-error-message__text">${this.currentError}</div></div>`||""}</div>`}};h("arcgis-portal-extent-picker-coord-field",l);export{l as ArcgisPortalExtentPickerCoordField};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{a as m}from"./NHVPNSNH.js";import{a as h}from"./IYICIRGI.js";import"./N7XYFVOI.js";import"./ZNNEU5QW.js";import{N as l,O as o,T as c,h as a,j as e}from"./VWOBCSD6.js";import"./KHKREBVZ.js";import"./5PV2GUZW.js";var p=a`:host{display:inline-flex;align-items:center;line-height:1.35;--sublayer-type-font-size: var(--calcite-font-size--1)}.sublayer-type{display:inline-flex;align-items:center;max-width:100%;min-width:0}.text{flex:1 1 0%;margin-inline-start:.5rem;color:inherit}.name{font-weight:500;font-size:var(--sublayer-type-font-size);overflow-wrap:anywhere;white-space:normal}.name--underline{text-decoration:underline}.type{font-weight:400;color:var(--calcite-color-text-2);font-size:var(--sublayer-type-font-size)}`,r=class extends l{constructor(){super(...arguments),this.messages=h({blocking:!0}),this.hideName=!1,this.hideIcon=!1,this.hideType=!1,this.underline=!1}static{this.properties={geometry:1,type:1,scale:3,name:1,hideName:5,hideIcon:5,hideType:5,underline:5,renderer:0}}static{this.styles=p}render(){if(!this.messages._lang)return null;let t=m({type:this.type,geometry:this.geometry});if(this.renderer)return this.renderer({...t,name:this.name??""});let{hideIcon:n,hideName:i,hideType:s,underline:d}=this;return i&&n&&s?null:e`<div class="sublayer-type">${!n&&e`<calcite-icon .icon=${t.icon} .scale=${this.scale}></calcite-icon>`||""}${(!i||!s)&&e`<div class="text">${!i&&e`<div class=${o({name:!0,"name--underline":d})}>${this.name??""}</div>`||""}${!s&&e`<div class="type">${this.messages[t.type]}</div>`||""}</div>`||""}</div>`}};c("arcgis-portal-sublayer-type",r);export{r as ArcgisPortalSublayerType};