@arcgis/charts-components 4.34.0-next.8 → 4.34.0-next.9

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 (554) hide show
  1. package/dist/cdn/{32AOYLA6.js → 25EUO43B.js} +2 -2
  2. package/dist/cdn/{DA6ZTW5D.js → 25WF5QSW.js} +2 -2
  3. package/dist/cdn/{RSD7MLTU.js → 262MHUOF.js} +2 -2
  4. package/dist/cdn/{SJXODUVX.js → 26FQ4UPE.js} +1 -1
  5. package/dist/cdn/{YLOMEP5Z.js → 2BYXDNZQ.js} +2 -2
  6. package/dist/cdn/{WJ6FA6TL.js → 2C3CHQFN.js} +2 -2
  7. package/dist/cdn/{2YM64WOQ.js → 2C6PW52F.js} +2 -2
  8. package/dist/cdn/{WXHHTIWS.js → 2D2YVGCS.js} +2 -2
  9. package/dist/cdn/{KONOVGHE.js → 2FNI25RD.js} +2 -2
  10. package/dist/cdn/{LT2CE6IQ.js → 2KVQUY7T.js} +2 -2
  11. package/dist/cdn/{3EAOF4ZM.js → 2SSZKFP2.js} +2 -2
  12. package/dist/cdn/{HOXOENK3.js → 2TXAKOXF.js} +2 -2
  13. package/dist/cdn/{3H2NJNVC.js → 2VBX5OJK.js} +2 -2
  14. package/dist/cdn/{QDSEZVGZ.js → 2Z6MGW54.js} +2 -2
  15. package/dist/cdn/{M3VMEZB6.js → 32LFN4UW.js} +2 -2
  16. package/dist/cdn/{OBW23UMF.js → 34ZID2NY.js} +2 -2
  17. package/dist/cdn/{JCQ4I7UU.js → 376IYUZA.js} +2 -2
  18. package/dist/cdn/{OIUWLPKE.js → 3E2B3RZY.js} +2 -2
  19. package/dist/cdn/{3OHQH4U2.js → 3H43EPXQ.js} +2 -2
  20. package/dist/cdn/{EGXUU5WZ.js → 3MPATJGC.js} +2 -2
  21. package/dist/cdn/{5LO6YPWC.js → 42DVL56A.js} +2 -2
  22. package/dist/cdn/{S2Y7FKNH.js → 43W5ZY7E.js} +2 -2
  23. package/dist/cdn/{5WWIUDLT.js → 46GQPT2T.js} +2 -2
  24. package/dist/cdn/{SSSKGGMI.js → 4ALKOXTU.js} +2 -2
  25. package/dist/cdn/{C4BDGNYH.js → 4C75PFHF.js} +2 -2
  26. package/dist/cdn/{C3ZBHX5V.js → 4CVUJU7L.js} +2 -2
  27. package/dist/cdn/{IAK5HWMW.js → 4IMXCTVG.js} +2 -2
  28. package/dist/cdn/{6JEDR3NF.js → 4QSPM53P.js} +2 -2
  29. package/dist/cdn/{KBUK46VD.js → 4SWVI22V.js} +2 -2
  30. package/dist/cdn/{RVGGH2MF.js → 4TDN4YE6.js} +2 -2
  31. package/dist/cdn/{LHLVQNYC.js → 4UJSH4RL.js} +2 -2
  32. package/dist/cdn/{FJW76ZUG.js → 4W3USV6E.js} +2 -2
  33. package/dist/cdn/{MWTMS3H3.js → 54UFCTF3.js} +2 -2
  34. package/dist/cdn/{NRY26R2X.js → 5B4KANL7.js} +2 -2
  35. package/dist/cdn/{7XF35P7Q.js → 5DTPMXXV.js} +2 -2
  36. package/dist/cdn/{SQBHQIBF.js → 5KDIRIC4.js} +2 -2
  37. package/dist/cdn/{TMZ2Z2UG.js → 5KXLVBWI.js} +2 -2
  38. package/dist/cdn/{WGLTW4YN.js → 5QKXYLPK.js} +2 -2
  39. package/dist/cdn/{TIFPN32W.js → 5RDIX46H.js} +2 -2
  40. package/dist/cdn/{JSLHKTPD.js → 5TCLQYP3.js} +2 -2
  41. package/dist/cdn/{WK4AZPUA.js → 64YYDQHZ.js} +2 -2
  42. package/dist/cdn/{UT4Y5F6C.js → 66KTUH2M.js} +2 -2
  43. package/dist/cdn/{OEUXYYEG.js → 677IX26E.js} +2 -2
  44. package/dist/cdn/{5OOGETZI.js → 6J2NR5RR.js} +2 -2
  45. package/dist/cdn/{HT5JMQAL.js → 6NJAEIDX.js} +2 -2
  46. package/dist/cdn/{TO4APRW6.js → 6NJCAOFE.js} +2 -2
  47. package/dist/cdn/{B5NHS6Q7.js → 6PS77IM3.js} +2 -2
  48. package/dist/cdn/{MN23A6D7.js → 6TY6VTKL.js} +2 -2
  49. package/dist/cdn/{4TCR5UU6.js → 6WEAHTM6.js} +2 -2
  50. package/dist/cdn/{SPLAIJ4I.js → 6ZJU2NVE.js} +2 -2
  51. package/dist/cdn/{V676EY6H.js → 77B5DTMH.js} +2 -2
  52. package/dist/cdn/{TT73ADH2.js → 7CEG6BTO.js} +2 -2
  53. package/dist/cdn/{WCKDSG5T.js → 7CKCCLCY.js} +2 -2
  54. package/dist/cdn/{5STAKFRS.js → 7HOWT237.js} +2 -2
  55. package/dist/cdn/{X556WYIJ.js → 7HYOIWYG.js} +2 -2
  56. package/dist/cdn/{FROP2KYV.js → 7WCFJPHN.js} +2 -2
  57. package/dist/cdn/{KKTPNWFG.js → A435JHFF.js} +2 -2
  58. package/dist/cdn/{FAI3BYUG.js → A4IJIMEI.js} +2 -2
  59. package/dist/cdn/{OWHCZHML.js → ADK3XJVJ.js} +2 -2
  60. package/dist/cdn/{YTOH4WNJ.js → AHKOQBHZ.js} +2 -2
  61. package/dist/cdn/{FPJFEWHO.js → AO2RCOAY.js} +2 -2
  62. package/dist/cdn/{UYNV2OU5.js → AVHVUURO.js} +2 -2
  63. package/dist/cdn/{U4OP5VZN.js → AVIVI6ZG.js} +1 -1
  64. package/dist/cdn/{KOWZ3YE4.js → AWHGNL6F.js} +2 -2
  65. package/dist/cdn/{C544RIWY.js → B4GBJ43D.js} +2 -2
  66. package/dist/cdn/{3Y6Y2MA6.js → BAMI5NQL.js} +1 -1
  67. package/dist/cdn/{4PEBWP5V.js → BBK4ENNI.js} +2 -2
  68. package/dist/cdn/{TKWPWNUE.js → BEGPB5PX.js} +2 -2
  69. package/dist/cdn/{2MZ4RCAA.js → BOIRDAC3.js} +2 -2
  70. package/dist/cdn/{2PSEWVQJ.js → BVDIUDKW.js} +2 -2
  71. package/dist/cdn/{44JPF62M.js → BVIJLYJX.js} +2 -2
  72. package/dist/cdn/{5XXNH6JP.js → BWT3KKPW.js} +2 -2
  73. package/dist/cdn/{KQRUDVU4.js → BZIES76L.js} +2 -2
  74. package/dist/cdn/{U7YTP5A7.js → CBGGO4QK.js} +2 -2
  75. package/dist/cdn/{MZKSVEWK.js → CEJWIDL3.js} +2 -2
  76. package/dist/cdn/{BYRMS6D4.js → CESM6J6R.js} +2 -2
  77. package/dist/cdn/{FJ6WHN42.js → CG3JKZJW.js} +2 -2
  78. package/dist/cdn/{KDXRS2KE.js → CHXH6EU4.js} +2 -2
  79. package/dist/cdn/{EGA5SXXL.js → CRLMV26W.js} +2 -2
  80. package/dist/cdn/{T2WFWA2Y.js → CRTSKKJY.js} +2 -2
  81. package/dist/cdn/{SVC6QXAS.js → CWLZUZIA.js} +2 -2
  82. package/dist/cdn/{3D6E7EVI.js → CYXBIFUB.js} +2 -2
  83. package/dist/cdn/{TWXMF7A7.js → CZTIHWBP.js} +2 -2
  84. package/dist/cdn/{5MVQ2NT4.js → D6SKVARY.js} +2 -2
  85. package/dist/cdn/{JQCLDNYS.js → DBGSQIWO.js} +2 -2
  86. package/dist/cdn/{QGNTLBTD.js → DDKGEPLU.js} +2 -2
  87. package/dist/cdn/{XA4NUD3X.js → DKIEIXCK.js} +2 -2
  88. package/dist/cdn/{5MD46O5X.js → DKSDM57V.js} +4 -4
  89. package/dist/cdn/{FJ6CT6UE.js → DL3VL6QB.js} +2 -2
  90. package/dist/cdn/{N5ILQNE6.js → DMPAQAOD.js} +2 -2
  91. package/dist/cdn/{ODLZBNJ3.js → DN4QGUEQ.js} +2 -2
  92. package/dist/cdn/{ORGTVJA7.js → DUUEG46L.js} +2 -2
  93. package/dist/cdn/{7F6Q2O57.js → DXATO4QP.js} +2 -2
  94. package/dist/cdn/{GUXYD4J5.js → DZXV44GU.js} +2 -2
  95. package/dist/cdn/{NCJC73FK.js → E2C6PA4Q.js} +2 -2
  96. package/dist/cdn/{D6YSTKD3.js → E622W4HI.js} +2 -2
  97. package/dist/cdn/{TKIIUZG7.js → E6QYDHYU.js} +2 -2
  98. package/dist/cdn/{MCE72W2Y.js → EBSXIFOK.js} +2 -2
  99. package/dist/cdn/{JIHIVVEW.js → EE7Q66TQ.js} +2 -2
  100. package/dist/cdn/{OR66MUQL.js → EEAWY3OL.js} +2 -2
  101. package/dist/cdn/{MQWILHGO.js → EKUHNQCL.js} +2 -2
  102. package/dist/cdn/{324VFW56.js → ENAZR4PD.js} +2 -2
  103. package/dist/cdn/{CHWFU5CD.js → ESFXMV5N.js} +2 -2
  104. package/dist/cdn/{YMHWBRMA.js → EUBWOGC6.js} +2 -2
  105. package/dist/cdn/{QEUUA6Q7.js → F273V7HE.js} +2 -2
  106. package/dist/cdn/{QGARL46Z.js → F5VFGYTG.js} +2 -2
  107. package/dist/cdn/{RYDCXSVU.js → FFG2ANLI.js} +2 -2
  108. package/dist/cdn/{KPHXEXCA.js → FK2QSKTF.js} +2 -2
  109. package/dist/cdn/{7V5KDHTS.js → FN4XZEDP.js} +2 -2
  110. package/dist/cdn/{NKZWQ3I4.js → FRXZSEFC.js} +2 -2
  111. package/dist/cdn/{KW24AWW4.js → FTGA2C75.js} +2 -2
  112. package/dist/cdn/{PODTDRWU.js → FY6HRD7D.js} +2 -2
  113. package/dist/cdn/{YFVJJF2C.js → G3FDGILA.js} +2 -2
  114. package/dist/cdn/{YBOOXJ3I.js → G7ICLSVF.js} +2 -2
  115. package/dist/cdn/{CAFS6YQK.js → G7VPKPU5.js} +2 -2
  116. package/dist/cdn/{AB66RCBH.js → GFTSRCA3.js} +2 -2
  117. package/dist/cdn/{WMA6NBYK.js → GLCF6D5Q.js} +2 -2
  118. package/dist/cdn/{G7CN6CAP.js → GMKRIWRC.js} +2 -2
  119. package/dist/cdn/{UOATDQ47.js → GQEQIAWK.js} +2 -2
  120. package/dist/cdn/{65S376SW.js → H2J7JGOL.js} +2 -2
  121. package/dist/cdn/{PNGKFZZA.js → H3HGBFUI.js} +2 -2
  122. package/dist/cdn/{L35CCIKA.js → H4B5PAHB.js} +2 -2
  123. package/dist/cdn/{X2A5IJBC.js → HBD3TKQN.js} +2 -2
  124. package/dist/cdn/{UD77PPER.js → HFTXVWLB.js} +2 -2
  125. package/dist/cdn/{DFJTHOII.js → HH5UOYQD.js} +2 -2
  126. package/dist/cdn/{CYXNF6I2.js → HJPONJAP.js} +2 -2
  127. package/dist/cdn/{3IO6LA3Q.js → HMES3F2M.js} +2 -2
  128. package/dist/cdn/{JO6P7QTW.js → HN4LMUF6.js} +2 -2
  129. package/dist/cdn/{WI3EAPQ3.js → HRZJYNIH.js} +2 -2
  130. package/dist/cdn/{NEZDNJOI.js → HTRYQUCJ.js} +1 -1
  131. package/dist/cdn/{X7YMJHD3.js → HV4ZN4UZ.js} +2 -2
  132. package/dist/cdn/{JWZXANSP.js → I4GES6IJ.js} +2 -2
  133. package/dist/cdn/{P6ZCAOU7.js → I5KZLFN5.js} +2 -2
  134. package/dist/cdn/{LJZ553RX.js → I5RZDAXB.js} +2 -2
  135. package/dist/cdn/{36IN24JT.js → I6MJTHSQ.js} +2 -2
  136. package/dist/cdn/{QSZKH6I5.js → IEWKI3KD.js} +1 -1
  137. package/dist/cdn/{IJ4FRZRN.js → IFOEAP26.js} +2 -2
  138. package/dist/cdn/{VA26A6J6.js → IG5QSICY.js} +2 -2
  139. package/dist/cdn/{ZV7RDHLA.js → IQEDUQX2.js} +2 -2
  140. package/dist/cdn/{56WW2ZFS.js → IS4MMYCP.js} +2 -2
  141. package/dist/cdn/{4C3ODFUA.js → IU7IB5MR.js} +2 -2
  142. package/dist/cdn/{724Z4QL5.js → IV2DIV4T.js} +2 -2
  143. package/dist/cdn/{P5SR2RK4.js → JCHGW3UP.js} +2 -2
  144. package/dist/cdn/{PE5JOJ6A.js → JDITVAZY.js} +2 -2
  145. package/dist/cdn/{5RJFASYN.js → JHJKK4QH.js} +2 -2
  146. package/dist/cdn/{L2ZVSGYC.js → JJCMGYXB.js} +2 -2
  147. package/dist/cdn/{EUUVP6UO.js → JJIW4VXO.js} +2 -2
  148. package/dist/cdn/{HLOKKLIS.js → JJXTPPOV.js} +2 -2
  149. package/dist/cdn/{WOWMK3NB.js → JNR65YSM.js} +2 -2
  150. package/dist/cdn/{DFEKKCUV.js → JRWO2PFS.js} +2 -2
  151. package/dist/cdn/{5MY5554T.js → JUWPDDFM.js} +2 -2
  152. package/dist/cdn/{GLQAC3CX.js → JVZ7V3V3.js} +2 -2
  153. package/dist/cdn/{AH7DEHQK.js → JXJGME26.js} +2 -2
  154. package/dist/cdn/{3T2MY3S7.js → K566VFRB.js} +2 -2
  155. package/dist/cdn/{HXEB5MST.js → KE2YD5JZ.js} +2 -2
  156. package/dist/cdn/{VVG6UTPR.js → KIUV2A2V.js} +2 -2
  157. package/dist/cdn/{T6OA3RT2.js → KKA7ZSLE.js} +2 -2
  158. package/dist/cdn/{QPGGOFIV.js → KLWPVLT2.js} +2 -2
  159. package/dist/cdn/{XQHI7IZP.js → KP4SKVQC.js} +2 -2
  160. package/dist/cdn/{EBG7T44W.js → KQNK3HNO.js} +2 -2
  161. package/dist/cdn/{N22SZSBD.js → KUH3GORE.js} +2 -2
  162. package/dist/cdn/{GD4AUN2C.js → L44DLI3Q.js} +2 -2
  163. package/dist/cdn/{GWI3BJSM.js → LAWYLFB3.js} +2 -2
  164. package/dist/cdn/{JD75SOC3.js → LCFF3ZTZ.js} +2 -2
  165. package/dist/cdn/{4CHVJBGB.js → LPRCHJ3S.js} +2 -2
  166. package/dist/cdn/{36V4DWVV.js → LSY33N3X.js} +2 -2
  167. package/dist/cdn/{WND5NR7F.js → LUDKXGEN.js} +2 -2
  168. package/dist/cdn/{QPUI7QTT.js → M3NNLV5Y.js} +2 -2
  169. package/dist/cdn/{NDARZ723.js → MBL44HAJ.js} +2 -2
  170. package/dist/cdn/{G77MTRSP.js → MDD573HJ.js} +2 -2
  171. package/dist/cdn/{B7GM3LVG.js → MEUYTIKR.js} +1 -1
  172. package/dist/cdn/{5TOFXIOO.js → MGH22OTP.js} +2 -2
  173. package/dist/cdn/{DJPQPQFO.js → MKR4SFOP.js} +2 -2
  174. package/dist/cdn/{Z3X6CDRM.js → MLXZF5JB.js} +2 -2
  175. package/dist/cdn/{6L2KZEPG.js → MPQCNNYM.js} +1 -1
  176. package/dist/cdn/{2KHL44VD.js → MQR7M5S4.js} +2 -2
  177. package/dist/cdn/{CWNIY7XI.js → MUGXAV7R.js} +2 -2
  178. package/dist/cdn/{46GVYW2B.js → MVVFJXDQ.js} +2 -2
  179. package/dist/cdn/{XOQBCE3S.js → N37VXV2G.js} +2 -2
  180. package/dist/cdn/{IMCAD5XR.js → N3KLVAQ4.js} +2 -2
  181. package/dist/cdn/{U6APU4RJ.js → N6LUDJF5.js} +2 -2
  182. package/dist/cdn/{XSAZBF3F.js → NADZTUSP.js} +2 -2
  183. package/dist/cdn/{BBNUUFL6.js → NDAHQP2S.js} +2 -2
  184. package/dist/cdn/{QTROT5AO.js → NPOQ5UB2.js} +2 -2
  185. package/dist/cdn/{GPTPWW5S.js → NVWOHEVH.js} +2 -2
  186. package/dist/cdn/{HNMROC6V.js → NW2ZPR7Z.js} +2 -2
  187. package/dist/cdn/{6EQVWNRU.js → O2WC6AEC.js} +2 -2
  188. package/dist/cdn/{272CSOOU.js → ODR7SCZO.js} +2 -2
  189. package/dist/cdn/{K6JWZ5O5.js → OFORP4TY.js} +2 -2
  190. package/dist/cdn/{4MLFXGJM.js → OMMQ36CM.js} +2 -2
  191. package/dist/cdn/{WTZJ6VLR.js → OZUTMFJ2.js} +2 -2
  192. package/dist/cdn/{KJLXOFTC.js → P6J7OVH6.js} +2 -2
  193. package/dist/cdn/{Y3LRIIS7.js → P75AA7R3.js} +2 -2
  194. package/dist/cdn/{KCY6G4YZ.js → PA6SWVQM.js} +2 -2
  195. package/dist/cdn/{F6UV7TV4.js → PAA66P6D.js} +2 -2
  196. package/dist/cdn/{LVFRJFSP.js → PRGN37DZ.js} +2 -2
  197. package/dist/cdn/{IXXUOHX3.js → PRMCQALR.js} +2 -2
  198. package/dist/cdn/{WFGIMJCQ.js → PXKW6IQN.js} +2 -2
  199. package/dist/cdn/{BA6FKZWY.js → Q3E3QAB3.js} +2 -2
  200. package/dist/cdn/{PHD6OEOC.js → Q4QKD5VW.js} +2 -2
  201. package/dist/cdn/{GGTPNO5S.js → Q6UYL2GN.js} +2 -2
  202. package/dist/cdn/{HBN36EQF.js → QA3MDCZE.js} +2 -2
  203. package/dist/cdn/{7XRCIBKU.js → QHVFOMKV.js} +2 -2
  204. package/dist/cdn/{BUUCLMSA.js → QIWFLAQ5.js} +2 -2
  205. package/dist/cdn/{65BK4R3X.js → QJDRVZNH.js} +2 -2
  206. package/dist/cdn/{R7YZB56M.js → QNZGZITC.js} +2 -2
  207. package/dist/cdn/{UB5FY266.js → QQXZFRBG.js} +2 -2
  208. package/dist/cdn/{YUYTRTT2.js → QRHP4QAO.js} +2 -2
  209. package/dist/cdn/{IYZ65DGH.js → QV3MFIEM.js} +2 -2
  210. package/dist/cdn/{GDRIUJBC.js → QZ3GGFIY.js} +2 -2
  211. package/dist/cdn/{62B3R7J6.js → R3JLC3JX.js} +2 -2
  212. package/dist/cdn/{S7VCDE2E.js → RIB7OJKV.js} +2 -2
  213. package/dist/cdn/{X6Z5TKWR.js → RLT3UTJI.js} +2 -2
  214. package/dist/cdn/{BXC57WC6.js → RORNH2SW.js} +2 -2
  215. package/dist/cdn/{LS5WXFXQ.js → ROSDXA7Y.js} +2 -2
  216. package/dist/cdn/{3Y6I6LZW.js → RT2G7YQG.js} +2 -2
  217. package/dist/cdn/{6JVDZJG3.js → RVEHCSZC.js} +2 -2
  218. package/dist/cdn/{33JSRBU6.js → SB6CRPZB.js} +2 -2
  219. package/dist/cdn/{AJPBISCB.js → SKDHC2KB.js} +2 -2
  220. package/dist/cdn/{D4F2WR7V.js → SMESPTFU.js} +2 -2
  221. package/dist/cdn/{TF42VNW2.js → SPA4C5LI.js} +2 -2
  222. package/dist/cdn/{WURKAUI4.js → SQ5D5JKR.js} +2 -2
  223. package/dist/cdn/{BPHTWBZL.js → SRQEB3XG.js} +2 -2
  224. package/dist/cdn/{VUZD3JOJ.js → SSIUBW2Y.js} +2 -2
  225. package/dist/cdn/{2JAVB335.js → SW2BF2BR.js} +2 -2
  226. package/dist/cdn/{U6DOFG3Q.js → T24OA5DD.js} +2 -2
  227. package/dist/cdn/{UUOG7A6X.js → T4XPUY72.js} +2 -2
  228. package/dist/cdn/{BI4B3LMC.js → T6GDPO4F.js} +2 -2
  229. package/dist/cdn/{Z2FOFTUA.js → TARYRD25.js} +2 -2
  230. package/dist/cdn/{MDWL6QIO.js → TBGCZ45U.js} +2 -2
  231. package/dist/cdn/{FPYSGWAK.js → TBTV2I2P.js} +2 -2
  232. package/dist/cdn/{FBMNILEZ.js → TDGDMYGB.js} +2 -2
  233. package/dist/cdn/{LNCTWACN.js → TDWF2QDX.js} +2 -2
  234. package/dist/cdn/{RGALFY2I.js → TE2SET36.js} +2 -2
  235. package/dist/cdn/{BXWBUMEV.js → TFKJTMW3.js} +2 -2
  236. package/dist/cdn/{JDIYJ7CK.js → TGW6UH3T.js} +2 -2
  237. package/dist/cdn/{YTLQPL23.js → TQOULHSJ.js} +2 -2
  238. package/dist/cdn/{S4IFYRSW.js → TUBY3URQ.js} +2 -2
  239. package/dist/cdn/{2KFXD76X.js → TXCQLDUX.js} +2 -2
  240. package/dist/cdn/{U6I57IZY.js → TXTNRJGO.js} +2 -2
  241. package/dist/cdn/{BM5PEO4E.js → TYASKGJU.js} +2 -2
  242. package/dist/cdn/{BA5ZGWD7.js → TZRXA4A5.js} +2 -2
  243. package/dist/cdn/{2JXTFJRD.js → U2XOGZ3H.js} +2 -2
  244. package/dist/cdn/{C5WFSDTK.js → U7U26WXT.js} +2 -2
  245. package/dist/cdn/{DPUOYAJO.js → UGU2EI2S.js} +2 -2
  246. package/dist/cdn/{LFIPTLT3.js → UJCOGCU4.js} +2 -2
  247. package/dist/cdn/{HSFGVVGG.js → UJITHRBO.js} +2 -2
  248. package/dist/cdn/{LPBHWTVG.js → UJKM57O2.js} +2 -2
  249. package/dist/cdn/{QWWLHIDQ.js → UNBWUP2U.js} +2 -2
  250. package/dist/cdn/{NQ7XW5OV.js → UOSZLGWA.js} +2 -2
  251. package/dist/cdn/{K6D4C2QG.js → UPCWVLLI.js} +2 -2
  252. package/dist/cdn/{5AYW5OY4.js → UQ7WJXVN.js} +2 -2
  253. package/dist/cdn/{WAY4O4E5.js → UQEI6GX7.js} +2 -2
  254. package/dist/cdn/{6VLJTEKP.js → UQT6OYH7.js} +2 -2
  255. package/dist/cdn/{RDIAQKSR.js → URJ7APXR.js} +2 -2
  256. package/dist/cdn/{A3DQHTI2.js → UYC7PM42.js} +2 -2
  257. package/dist/cdn/{D7YUMOXQ.js → V7JOMOTX.js} +2 -2
  258. package/dist/cdn/{JEUWE6RQ.js → VBCIM2J2.js} +2 -2
  259. package/dist/cdn/{LX6FRSIO.js → VKUQRVOH.js} +2 -2
  260. package/dist/cdn/{5NW5RD2J.js → VNJXTNW4.js} +2 -2
  261. package/dist/cdn/{MUQVUS72.js → VTZCC27K.js} +2 -2
  262. package/dist/cdn/{VEOBU6RI.js → VUFV3XHU.js} +2 -2
  263. package/dist/cdn/{D37P5RRM.js → VUGEA7LJ.js} +2 -2
  264. package/dist/cdn/{M3LKVKFX.js → W5FMQ5TQ.js} +2 -2
  265. package/dist/cdn/{MGQCALKQ.js → W5NQN4C2.js} +2 -2
  266. package/dist/cdn/{DS2BJZBK.js → W5UBQ26Q.js} +2 -2
  267. package/dist/cdn/{JQQRV4FO.js → W7NBABPW.js} +2 -2
  268. package/dist/cdn/{SMYGBIFG.js → WESIM7LZ.js} +2 -2
  269. package/dist/cdn/{EKSKOYGB.js → WPU6UR4V.js} +2 -2
  270. package/dist/cdn/{GXMEYQCI.js → WXSXIWNA.js} +2 -2
  271. package/dist/cdn/{GOYRD4FK.js → WY2QLGEO.js} +2 -2
  272. package/dist/cdn/{GTKOIVJI.js → X2546PJO.js} +2 -2
  273. package/dist/cdn/{YSMJEDVB.js → X6X7VTSM.js} +2 -2
  274. package/dist/cdn/{IYE2AVGX.js → XEZZ6RNO.js} +2 -2
  275. package/dist/cdn/{LRKR4RQM.js → XG6G3WFK.js} +2 -2
  276. package/dist/cdn/{YUI5OE6M.js → XGF5I3X6.js} +2 -2
  277. package/dist/cdn/{5MHO36OL.js → XTGFL6JP.js} +2 -2
  278. package/dist/cdn/{BU5JSAWV.js → XUIYU3IQ.js} +2 -2
  279. package/dist/cdn/{7XIDGBIZ.js → XV2VKOFB.js} +2 -2
  280. package/dist/cdn/{OCW6K2PG.js → XZKY3TQT.js} +2 -2
  281. package/dist/cdn/{H64FPIQT.js → Y337AEDP.js} +7 -7
  282. package/dist/cdn/{N4QOCGBJ.js → YESHOMFX.js} +2 -2
  283. package/dist/cdn/{HZHO2IMR.js → YITYBIQ6.js} +2 -2
  284. package/dist/cdn/{WGUZYGXQ.js → YJCF255D.js} +2 -2
  285. package/dist/cdn/{QKBUEDOZ.js → YVH6HZSX.js} +2 -2
  286. package/dist/cdn/{MXXPBMOT.js → YWUCQ6C4.js} +2 -2
  287. package/dist/cdn/{3RERPS37.js → YXTSFCYT.js} +2 -2
  288. package/dist/cdn/{QF25YFTO.js → YZ3HCO4O.js} +2 -2
  289. package/dist/cdn/{U5NGJZCS.js → Z22XUI3C.js} +2 -2
  290. package/dist/cdn/{PVO5VDRZ.js → Z6Q7XFE5.js} +2 -2
  291. package/dist/cdn/{BVLBBFAD.js → ZD47TTSD.js} +2 -2
  292. package/dist/cdn/{EOYM54NB.js → ZJKX6UHO.js} +2 -2
  293. package/dist/cdn/{PJOWFHBS.js → ZNDTJMM2.js} +2 -2
  294. package/dist/cdn/{JB7NZXID.js → ZTATS24W.js} +2 -2
  295. package/dist/cdn/{6ZFGGRBV.js → ZWMXDERM.js} +2 -2
  296. package/dist/cdn/index.js +2 -2
  297. package/dist/cdn/model.js +2 -2
  298. package/dist/chunks/action-bar-utils.js +1 -1
  299. package/dist/chunks/axis-model-wrapper.js +1 -1
  300. package/dist/chunks/bar-chart-model.js +1 -1
  301. package/dist/chunks/bar-chart-series.js +1 -1
  302. package/dist/chunks/baseline-stacking.js +1 -1
  303. package/dist/chunks/bg_BG.js +1 -1
  304. package/dist/chunks/bg_BG2.js +1 -1
  305. package/dist/chunks/box-plot-model.js +1 -1
  306. package/dist/chunks/chart-ui-utils.js +1 -1
  307. package/dist/chunks/chart-ui-utils2.js +1 -1
  308. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  309. package/dist/chunks/common.js +1 -1
  310. package/dist/chunks/default.js +1 -1
  311. package/dist/chunks/gauge-model.js +1 -1
  312. package/dist/chunks/histogram-model.js +1 -1
  313. package/dist/chunks/index.js +1 -1
  314. package/dist/chunks/index2.js +1 -1
  315. package/dist/chunks/index3.js +1 -1
  316. package/dist/chunks/index4.js +1 -1
  317. package/dist/chunks/interfaces.js +1 -1
  318. package/dist/chunks/interfaces2.js +1 -1
  319. package/dist/chunks/line-chart-model.js +1 -1
  320. package/dist/chunks/messages.ar.js +1 -1
  321. package/dist/chunks/messages.ar2.js +1 -1
  322. package/dist/chunks/messages.ar3.js +1 -1
  323. package/dist/chunks/messages.ar4.js +1 -1
  324. package/dist/chunks/messages.bg.js +1 -1
  325. package/dist/chunks/messages.bg2.js +1 -1
  326. package/dist/chunks/messages.bg3.js +1 -1
  327. package/dist/chunks/messages.bg4.js +1 -1
  328. package/dist/chunks/messages.bs.js +1 -1
  329. package/dist/chunks/messages.bs2.js +1 -1
  330. package/dist/chunks/messages.bs3.js +1 -1
  331. package/dist/chunks/messages.bs4.js +1 -1
  332. package/dist/chunks/messages.ca.js +1 -1
  333. package/dist/chunks/messages.ca2.js +1 -1
  334. package/dist/chunks/messages.ca3.js +1 -1
  335. package/dist/chunks/messages.ca4.js +1 -1
  336. package/dist/chunks/messages.cs.js +1 -1
  337. package/dist/chunks/messages.cs2.js +1 -1
  338. package/dist/chunks/messages.cs3.js +1 -1
  339. package/dist/chunks/messages.cs4.js +1 -1
  340. package/dist/chunks/messages.da.js +1 -1
  341. package/dist/chunks/messages.da2.js +1 -1
  342. package/dist/chunks/messages.da3.js +1 -1
  343. package/dist/chunks/messages.de.js +1 -1
  344. package/dist/chunks/messages.de2.js +1 -1
  345. package/dist/chunks/messages.de3.js +1 -1
  346. package/dist/chunks/messages.de4.js +1 -1
  347. package/dist/chunks/messages.el.js +1 -1
  348. package/dist/chunks/messages.el2.js +1 -1
  349. package/dist/chunks/messages.el3.js +1 -1
  350. package/dist/chunks/messages.el4.js +1 -1
  351. package/dist/chunks/messages.en-US.js +1 -1
  352. package/dist/chunks/messages.en-US2.js +1 -1
  353. package/dist/chunks/messages.en-US3.js +1 -1
  354. package/dist/chunks/messages.en-US4.js +1 -1
  355. package/dist/chunks/messages.en.js +1 -1
  356. package/dist/chunks/messages.en2.js +1 -1
  357. package/dist/chunks/messages.en3.js +1 -1
  358. package/dist/chunks/messages.es.js +1 -1
  359. package/dist/chunks/messages.es2.js +1 -1
  360. package/dist/chunks/messages.es3.js +1 -1
  361. package/dist/chunks/messages.es4.js +1 -1
  362. package/dist/chunks/messages.et.js +1 -1
  363. package/dist/chunks/messages.et2.js +1 -1
  364. package/dist/chunks/messages.et3.js +1 -1
  365. package/dist/chunks/messages.et4.js +1 -1
  366. package/dist/chunks/messages.fi.js +1 -1
  367. package/dist/chunks/messages.fi2.js +1 -1
  368. package/dist/chunks/messages.fi3.js +1 -1
  369. package/dist/chunks/messages.fi4.js +1 -1
  370. package/dist/chunks/messages.fr.js +1 -1
  371. package/dist/chunks/messages.fr2.js +1 -1
  372. package/dist/chunks/messages.fr3.js +1 -1
  373. package/dist/chunks/messages.fr4.js +1 -1
  374. package/dist/chunks/messages.he.js +1 -1
  375. package/dist/chunks/messages.he2.js +1 -1
  376. package/dist/chunks/messages.he3.js +1 -1
  377. package/dist/chunks/messages.he4.js +1 -1
  378. package/dist/chunks/messages.hr.js +1 -1
  379. package/dist/chunks/messages.hr2.js +1 -1
  380. package/dist/chunks/messages.hr3.js +1 -1
  381. package/dist/chunks/messages.hr4.js +1 -1
  382. package/dist/chunks/messages.hu.js +1 -1
  383. package/dist/chunks/messages.hu2.js +1 -1
  384. package/dist/chunks/messages.hu3.js +1 -1
  385. package/dist/chunks/messages.hu4.js +1 -1
  386. package/dist/chunks/messages.id.js +1 -1
  387. package/dist/chunks/messages.id2.js +1 -1
  388. package/dist/chunks/messages.id3.js +1 -1
  389. package/dist/chunks/messages.id4.js +1 -1
  390. package/dist/chunks/messages.it.js +1 -1
  391. package/dist/chunks/messages.it2.js +1 -1
  392. package/dist/chunks/messages.it3.js +1 -1
  393. package/dist/chunks/messages.it4.js +1 -1
  394. package/dist/chunks/messages.ja.js +1 -1
  395. package/dist/chunks/messages.ja2.js +1 -1
  396. package/dist/chunks/messages.ja3.js +1 -1
  397. package/dist/chunks/messages.ja4.js +1 -1
  398. package/dist/chunks/messages.ko.js +1 -1
  399. package/dist/chunks/messages.ko2.js +1 -1
  400. package/dist/chunks/messages.ko3.js +1 -1
  401. package/dist/chunks/messages.ko4.js +1 -1
  402. package/dist/chunks/messages.lt.js +1 -1
  403. package/dist/chunks/messages.lt2.js +1 -1
  404. package/dist/chunks/messages.lt3.js +1 -1
  405. package/dist/chunks/messages.lt4.js +1 -1
  406. package/dist/chunks/messages.lv.js +1 -1
  407. package/dist/chunks/messages.lv2.js +1 -1
  408. package/dist/chunks/messages.lv3.js +1 -1
  409. package/dist/chunks/messages.lv4.js +1 -1
  410. package/dist/chunks/messages.nl.js +1 -1
  411. package/dist/chunks/messages.nl2.js +1 -1
  412. package/dist/chunks/messages.nl3.js +1 -1
  413. package/dist/chunks/messages.nl4.js +1 -1
  414. package/dist/chunks/messages.no.js +1 -1
  415. package/dist/chunks/messages.no2.js +1 -1
  416. package/dist/chunks/messages.no3.js +1 -1
  417. package/dist/chunks/messages.pl.js +1 -1
  418. package/dist/chunks/messages.pl2.js +1 -1
  419. package/dist/chunks/messages.pl3.js +1 -1
  420. package/dist/chunks/messages.pl4.js +1 -1
  421. package/dist/chunks/messages.pt-BR.js +1 -1
  422. package/dist/chunks/messages.pt-BR2.js +1 -1
  423. package/dist/chunks/messages.pt-BR3.js +1 -1
  424. package/dist/chunks/messages.pt-BR4.js +1 -1
  425. package/dist/chunks/messages.pt-PT.js +1 -1
  426. package/dist/chunks/messages.pt-PT2.js +1 -1
  427. package/dist/chunks/messages.pt-PT3.js +1 -1
  428. package/dist/chunks/messages.pt-PT4.js +1 -1
  429. package/dist/chunks/messages.ro.js +1 -1
  430. package/dist/chunks/messages.ro2.js +1 -1
  431. package/dist/chunks/messages.ro3.js +1 -1
  432. package/dist/chunks/messages.ro4.js +1 -1
  433. package/dist/chunks/messages.ru.js +1 -1
  434. package/dist/chunks/messages.ru2.js +1 -1
  435. package/dist/chunks/messages.ru3.js +1 -1
  436. package/dist/chunks/messages.ru4.js +1 -1
  437. package/dist/chunks/messages.sk.js +1 -1
  438. package/dist/chunks/messages.sk2.js +1 -1
  439. package/dist/chunks/messages.sk3.js +1 -1
  440. package/dist/chunks/messages.sk4.js +1 -1
  441. package/dist/chunks/messages.sl.js +1 -1
  442. package/dist/chunks/messages.sl2.js +1 -1
  443. package/dist/chunks/messages.sl3.js +1 -1
  444. package/dist/chunks/messages.sl4.js +1 -1
  445. package/dist/chunks/messages.sr.js +1 -1
  446. package/dist/chunks/messages.sr2.js +1 -1
  447. package/dist/chunks/messages.sr3.js +1 -1
  448. package/dist/chunks/messages.sr4.js +1 -1
  449. package/dist/chunks/messages.sv.js +1 -1
  450. package/dist/chunks/messages.sv2.js +1 -1
  451. package/dist/chunks/messages.sv3.js +1 -1
  452. package/dist/chunks/messages.sv4.js +1 -1
  453. package/dist/chunks/messages.th.js +1 -1
  454. package/dist/chunks/messages.th2.js +1 -1
  455. package/dist/chunks/messages.th3.js +1 -1
  456. package/dist/chunks/messages.th4.js +1 -1
  457. package/dist/chunks/messages.tr.js +1 -1
  458. package/dist/chunks/messages.tr2.js +1 -1
  459. package/dist/chunks/messages.tr3.js +1 -1
  460. package/dist/chunks/messages.uk.js +1 -1
  461. package/dist/chunks/messages.uk2.js +1 -1
  462. package/dist/chunks/messages.uk3.js +1 -1
  463. package/dist/chunks/messages.uk4.js +1 -1
  464. package/dist/chunks/messages.vi.js +1 -1
  465. package/dist/chunks/messages.vi2.js +1 -1
  466. package/dist/chunks/messages.vi3.js +1 -1
  467. package/dist/chunks/messages.vi4.js +1 -1
  468. package/dist/chunks/messages.zh-CN.js +1 -1
  469. package/dist/chunks/messages.zh-CN2.js +1 -1
  470. package/dist/chunks/messages.zh-CN3.js +1 -1
  471. package/dist/chunks/messages.zh-CN4.js +1 -1
  472. package/dist/chunks/messages.zh-HK.js +1 -1
  473. package/dist/chunks/messages.zh-HK2.js +1 -1
  474. package/dist/chunks/messages.zh-HK3.js +1 -1
  475. package/dist/chunks/messages.zh-HK4.js +1 -1
  476. package/dist/chunks/messages.zh-TW.js +1 -1
  477. package/dist/chunks/messages.zh-TW2.js +1 -1
  478. package/dist/chunks/messages.zh-TW3.js +1 -1
  479. package/dist/chunks/messages.zh-TW4.js +1 -1
  480. package/dist/chunks/model-with-baseline-stacking.js +1 -1
  481. package/dist/chunks/model-with-data-labels.js +1 -1
  482. package/dist/chunks/model-with-rotation.js +1 -1
  483. package/dist/chunks/pie-chart-model.js +1 -1
  484. package/dist/chunks/popover-ui-utils.js +1 -1
  485. package/dist/chunks/radar-chart-model.js +1 -1
  486. package/dist/chunks/resource.js +1 -1
  487. package/dist/chunks/runtime.js +1 -1
  488. package/dist/chunks/scatter-plot-model.js +1 -1
  489. package/dist/chunks/serial-chart-data.js +1 -1
  490. package/dist/chunks/serial-chart-model.js +1 -1
  491. package/dist/chunks/series-types.js +1 -1
  492. package/dist/chunks/series.js +1 -1
  493. package/dist/chunks/setup-utils.js +1 -1
  494. package/dist/chunks/sk_SK.js +1 -1
  495. package/dist/chunks/sk_SK2.js +1 -1
  496. package/dist/chunks/store.js +1 -1
  497. package/dist/chunks/type-guards.js +1 -1
  498. package/dist/chunks/useT9n.js +1 -1
  499. package/dist/chunks/web-component-utils.js +1 -1
  500. package/dist/components/arcgis-chart/customElement.js +1 -1
  501. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  502. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  503. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  504. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  505. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  506. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  507. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  508. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  509. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  510. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  511. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  512. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  513. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  514. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  515. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  516. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  517. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  518. package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
  519. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  520. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  521. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  522. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  523. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  524. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
  525. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  526. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  527. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  528. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
  529. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  530. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  531. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  532. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  533. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  534. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
  535. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  536. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  537. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  538. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  539. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  540. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  541. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  542. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  543. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  544. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  545. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  546. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  547. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  548. package/dist/docs/api.json +2 -2
  549. package/dist/docs/docs.json +2 -2
  550. package/dist/docs/web-types.json +1 -1
  551. package/dist/index.js +1 -1
  552. package/dist/loader.js +1 -1
  553. package/dist/model.js +1 -1
  554. package/package.json +4 -4
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.8 */
4
- import{a as D,b as Ie,c as ea,e as mo,f as Rr,h as vt,i as yo,k as ta,l as _e,o as go,p as ar,r as Tt,t as bo,u as vo,w as or,x as Me}from"./6L2KZEPG.js";import{b as ac,d as oc}from"./U4OP5VZN.js";export default $arcgis.t(([Wa,pd,dd,gv,Ba,bv,vv,Sv,wv,xv,Iv,ud,za])=>{var Ll=ac((i$,Sa)=>{function dv(e,r){var i=r&&r.cache?r.cache:yv,t=r&&r.serializer?r.serializer:mv,a=r&&r.strategy?r.strategy:uv;return a(e,{cache:i,serializer:t})}function cv(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Ol(e,r,i,t){var a=cv(t)?t:i(t),o=r.get(a);return typeof o>"u"&&(o=e.call(this,t),r.set(a,o)),o}function El(e,r,i){var t=Array.prototype.slice.call(arguments,3),a=i(t),o=r.get(a);return typeof o>"u"&&(o=e.apply(this,t),r.set(a,o)),o}function va(e,r,i,t,a){return i.bind(r,e,t,a)}function uv(e,r){var i=e.length===1?Ol:El;return va(e,this,i,r.cache.create(),r.serializer)}function fv(e,r){var i=El;return va(e,this,i,r.cache.create(),r.serializer)}function hv(e,r){var i=Ol;return va(e,this,i,r.cache.create(),r.serializer)}function mv(){return JSON.stringify(arguments)}function _i(){this.cache=Object.create(null)}_i.prototype.has=function(e){return e in this.cache};_i.prototype.get=function(e){return this.cache[e]};_i.prototype.set=function(e,r){this.cache[e]=r};var yv={create:function(){return new _i}};Sa.exports=dv;Sa.exports.strategies={variadic:fv,monadic:hv}});var Be={Blob:"esriFieldTypeBlob",Date:"esriFieldTypeDate",DateOnly:"esriFieldTypeDateOnly",TimestampOffset:"esriFieldTypeTimestampOffset",Double:"esriFieldTypeDouble",Geometry:"esriFieldTypeGeometry",GlobalID:"esriFieldTypeGlobalID",GUID:"esriFieldTypeGUID",Integer:"esriFieldTypeInteger",SmallInteger:"esriFieldTypeSmallInteger",BigInteger:"esriFieldTypeBigInteger",OID:"esriFieldTypeOID",Raster:"esriFieldTypeRaster",Single:"esriFieldTypeSingle",String:"esriFieldTypeString",XML:"esriFieldTypeXML"},nr={Dash:"esriSLSDash",DashDot:"esriSLSDashDot",DashDotDot:"esriSLSDashDotDot",Dot:"esriSLSDot",Null:"esriSLSNull",Solid:"esriSLSSolid"},ra={Circle:"esriSMSCircle",Cross:"esriSMSCross",Diamond:"esriSMSDiamond",Square:"esriSMSSquare",X:"esriSMSX",Triangle:"esriSMSTriangle"},sr={BackwardDiagonal:"esriSFSBackwardDiagonal",Cross:"esriSFSCross",DiagonalCross:"esriSFSDiagonalCross",ForwardDiagonal:"esriSFSForwardDiagonal",Horizontal:"esriSFSHorizontal",Null:"esriSFSNull",Solid:"esriSFSSolid",Vertical:"esriSFSVertical"},Xr={Left:"left",Right:"right",Center:"center",Justify:"justify"},ia={Baseline:"baseline",Top:"top",Middle:"middle",Bottom:"bottom"},ke={SLS:"esriSLS",SMS:"esriSMS",SFS:"esriSFS",PMS:"esriPMS",PFS:"esriPFS",TS:"esriTS"},Ux={Italic:"italic",Normal:"normal",Oblique:"oblique"},Gx={Bold:"bold",Bolder:"bolder",Lighter:"lighter",Normal:"normal"},Hx={LineThrough:"line-through",Underline:"underline",None:"none"},Yr={UniqueValue:"unique-value",Simple:"simple",ClassBreaks:"class-breaks",Heatmap:"heatmap",DotDensity:"dot-density",Dictionary:"dictionary",PieChart:"pie-chart"},Ut={Feet:"feet",Miles:"miles",NauticalMiles:"nautical-miles",USNauticalMiles:"us-nautical-miles",Meters:"meters",Kilometers:"kilometers"};var ei="arcgis_charts_pie_from_fields_name",aa="arcgis_charts_pie_from_fields_value",So="arcgis_charts_bar_line_from_fields_name",wo="arcgis_charts_bar_line_from_fields_value";var lt={Mean:"Mean",Median:"Median",StdDev:"Standard Deviation",Normal:"Normal Distribution",Trendline:"Trendline"};var nc=Array.isArray,se=nc;function sc(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}var we=sc;var lc=/\s/;function pc(e){for(var r=e.length;r--&&lc.test(e.charAt(r)););return r}var xo=pc;var dc=/^\s+/;function cc(e){return e&&e.slice(0,xo(e)+1).replace(dc,"")}var Io=cc;var uc=typeof global=="object"&&global&&global.Object===Object&&global,ti=uc;var fc=typeof self=="object"&&self&&self.Object===Object&&self,hc=ti||fc||Function("return this")(),Ae=hc;var mc=Ae.Symbol,De=mc;var Co=Object.prototype,yc=Co.hasOwnProperty,gc=Co.toString,_r=De?De.toStringTag:void 0;function bc(e){var r=yc.call(e,_r),i=e[_r];try{e[_r]=void 0;var t=!0}catch{}var a=gc.call(e);return t&&(r?e[_r]=i:delete e[_r]),a}var To=bc;var vc=Object.prototype,Sc=vc.toString;function wc(e){return Sc.call(e)}var Ao=wc;var xc="[object Null]",Ic="[object Undefined]",Po=De?De.toStringTag:void 0;function Cc(e){return e==null?e===void 0?Ic:xc:Po&&Po in Object(e)?To(e):Ao(e)}var je=Cc;function Tc(e){return e!=null&&typeof e=="object"}var Ce=Tc;var Ac="[object Symbol]";function Pc(e){return typeof e=="symbol"||Ce(e)&&je(e)==Ac}var Ye=Pc;var Fo=NaN,Fc=/^[-+]0x[0-9a-f]+$/i,Oc=/^0b[01]+$/i,Ec=/^0o[0-7]+$/i,Lc=parseInt;function Dc(e){if(typeof e=="number")return e;if(Ye(e))return Fo;if(we(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=we(r)?r+"":r}if(typeof e!="string")return e===0?e:+e;e=Io(e);var i=Oc.test(e);return i||Ec.test(e)?Lc(e.slice(2),i?2:8):Fc.test(e)?Fo:+e}var ri=Dc;var $c="[object AsyncFunction]",jc="[object Function]",Rc="[object GeneratorFunction]",_c="[object Proxy]";function kc(e){if(!we(e))return!1;var r=je(e);return r==jc||r==Rc||r==$c||r==_c}var lr=kc;var Bc=Ae["__core-js_shared__"],ii=Bc;var Oo=function(){var e=/[^.]+$/.exec(ii&&ii.keys&&ii.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function qc(e){return!!Oo&&Oo in e}var Eo=qc;var Mc=Function.prototype,Nc=Mc.toString;function Wc(e){if(e!=null){try{return Nc.call(e)}catch{}try{return e+""}catch{}}return""}var St=Wc;var zc=/[\\^$.*+?()[\]{}|]/g,Vc=/^\[object .+?Constructor\]$/,Uc=Function.prototype,Gc=Object.prototype,Hc=Uc.toString,Qc=Gc.hasOwnProperty,Kc=RegExp("^"+Hc.call(Qc).replace(zc,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Jc(e){if(!we(e)||Eo(e))return!1;var r=lr(e)?Kc:Vc;return r.test(St(e))}var Lo=Jc;function Zc(e,r){return e?.[r]}var Do=Zc;function Xc(e,r){var i=Do(e,r);return Lo(i)?i:void 0}var Ne=Xc;var Yc=Ne(Object,"create"),wt=Yc;function eu(){this.__data__=wt?wt(null):{},this.size=0}var $o=eu;function tu(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}var jo=tu;var ru="__lodash_hash_undefined__",iu=Object.prototype,au=iu.hasOwnProperty;function ou(e){var r=this.__data__;if(wt){var i=r[e];return i===ru?void 0:i}return au.call(r,e)?r[e]:void 0}var Ro=ou;var nu=Object.prototype,su=nu.hasOwnProperty;function lu(e){var r=this.__data__;return wt?r[e]!==void 0:su.call(r,e)}var _o=lu;var pu="__lodash_hash_undefined__";function du(e,r){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=wt&&r===void 0?pu:r,this}var ko=du;function pr(e){var r=-1,i=e==null?0:e.length;for(this.clear();++r<i;){var t=e[r];this.set(t[0],t[1])}}pr.prototype.clear=$o;pr.prototype.delete=jo;pr.prototype.get=Ro;pr.prototype.has=_o;pr.prototype.set=ko;var oa=pr;function cu(){this.__data__=[],this.size=0}var Bo=cu;function uu(e,r){return e===r||e!==e&&r!==r}var He=uu;function fu(e,r){for(var i=e.length;i--;)if(He(e[i][0],r))return i;return-1}var At=fu;var hu=Array.prototype,mu=hu.splice;function yu(e){var r=this.__data__,i=At(r,e);if(i<0)return!1;var t=r.length-1;return i==t?r.pop():mu.call(r,i,1),--this.size,!0}var qo=yu;function gu(e){var r=this.__data__,i=At(r,e);return i<0?void 0:r[i][1]}var Mo=gu;function bu(e){return At(this.__data__,e)>-1}var No=bu;function vu(e,r){var i=this.__data__,t=At(i,e);return t<0?(++this.size,i.push([e,r])):i[t][1]=r,this}var Wo=vu;function dr(e){var r=-1,i=e==null?0:e.length;for(this.clear();++r<i;){var t=e[r];this.set(t[0],t[1])}}dr.prototype.clear=Bo;dr.prototype.delete=qo;dr.prototype.get=Mo;dr.prototype.has=No;dr.prototype.set=Wo;var Pt=dr;var Su=Ne(Ae,"Map"),Ft=Su;function wu(){this.size=0,this.__data__={hash:new oa,map:new(Ft||Pt),string:new oa}}var zo=wu;function xu(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}var Vo=xu;function Iu(e,r){var i=e.__data__;return Vo(r)?i[typeof r=="string"?"string":"hash"]:i.map}var Ot=Iu;function Cu(e){var r=Ot(this,e).delete(e);return this.size-=r?1:0,r}var Uo=Cu;function Tu(e){return Ot(this,e).get(e)}var Go=Tu;function Au(e){return Ot(this,e).has(e)}var Ho=Au;function Pu(e,r){var i=Ot(this,e),t=i.size;return i.set(e,r),this.size+=i.size==t?0:1,this}var Qo=Pu;function cr(e){var r=-1,i=e==null?0:e.length;for(this.clear();++r<i;){var t=e[r];this.set(t[0],t[1])}}cr.prototype.clear=zo;cr.prototype.delete=Uo;cr.prototype.get=Go;cr.prototype.has=Ho;cr.prototype.set=Qo;var Gt=cr;var Fu="Expected a function";function na(e,r){if(typeof e!="function"||r!=null&&typeof r!="function")throw new TypeError(Fu);var i=function(){var t=arguments,a=r?r.apply(this,t):t[0],o=i.cache;if(o.has(a))return o.get(a);var n=e.apply(this,t);return i.cache=o.set(a,n)||o,n};return i.cache=new(na.Cache||Gt),i}na.Cache=Gt;var sa=na;function Ou(){this.__data__=new Pt,this.size=0}var Ko=Ou;function Eu(e){var r=this.__data__,i=r.delete(e);return this.size=r.size,i}var Jo=Eu;function Lu(e){return this.__data__.get(e)}var Zo=Lu;function Du(e){return this.__data__.has(e)}var Xo=Du;var $u=200;function ju(e,r){var i=this.__data__;if(i instanceof Pt){var t=i.__data__;if(!Ft||t.length<$u-1)return t.push([e,r]),this.size=++i.size,this;i=this.__data__=new Gt(t)}return i.set(e,r),this.size=i.size,this}var Yo=ju;function ur(e){var r=this.__data__=new Pt(e);this.size=r.size}ur.prototype.clear=Ko;ur.prototype.delete=Jo;ur.prototype.get=Zo;ur.prototype.has=Xo;ur.prototype.set=Yo;var pt=ur;function Ru(e,r){for(var i=-1,t=e==null?0:e.length;++i<t&&r(e[i],i,e)!==!1;);return e}var en=Ru;var _u=function(){try{var e=Ne(Object,"defineProperty");return e({},"",{}),e}catch{}}(),fr=_u;function ku(e,r,i){r=="__proto__"&&fr?fr(e,r,{configurable:!0,enumerable:!0,value:i,writable:!0}):e[r]=i}var hr=ku;var Bu=Object.prototype,qu=Bu.hasOwnProperty;function Mu(e,r,i){var t=e[r];(!(qu.call(e,r)&&He(t,i))||i===void 0&&!(r in e))&&hr(e,r,i)}var ai=Mu;function Nu(e,r,i,t){var a=!i;i||(i={});for(var o=-1,n=r.length;++o<n;){var s=r[o],l=t?t(i[s],e[s],s,i,e):void 0;l===void 0&&(l=e[s]),a?hr(i,s,l):ai(i,s,l)}return i}var Qe=Nu;function Wu(e,r){for(var i=-1,t=Array(e);++i<e;)t[i]=r(i);return t}var tn=Wu;var zu="[object Arguments]";function Vu(e){return Ce(e)&&je(e)==zu}var la=Vu;var rn=Object.prototype,Uu=rn.hasOwnProperty,Gu=rn.propertyIsEnumerable,Hu=la(function(){return arguments}())?la:function(e){return Ce(e)&&Uu.call(e,"callee")&&!Gu.call(e,"callee")},et=Hu;function Qu(){return!1}var an=Qu;var sn=typeof exports=="object"&&exports&&!exports.nodeType&&exports,on=sn&&typeof module=="object"&&module&&!module.nodeType&&module,Ku=on&&on.exports===sn,nn=Ku?Ae.Buffer:void 0,Ju=nn?nn.isBuffer:void 0,Zu=Ju||an,tt=Zu;var Xu=9007199254740991,Yu=/^(?:0|[1-9]\d*)$/;function ef(e,r){var i=typeof e;return r=r??Xu,!!r&&(i=="number"||i!="symbol"&&Yu.test(e))&&e>-1&&e%1==0&&e<r}var mr=ef;var tf=9007199254740991;function rf(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=tf}var yr=rf;var af="[object Arguments]",of="[object Array]",nf="[object Boolean]",sf="[object Date]",lf="[object Error]",pf="[object Function]",df="[object Map]",cf="[object Number]",uf="[object Object]",ff="[object RegExp]",hf="[object Set]",mf="[object String]",yf="[object WeakMap]",gf="[object ArrayBuffer]",bf="[object DataView]",vf="[object Float32Array]",Sf="[object Float64Array]",wf="[object Int8Array]",xf="[object Int16Array]",If="[object Int32Array]",Cf="[object Uint8Array]",Tf="[object Uint8ClampedArray]",Af="[object Uint16Array]",Pf="[object Uint32Array]",me={};me[vf]=me[Sf]=me[wf]=me[xf]=me[If]=me[Cf]=me[Tf]=me[Af]=me[Pf]=!0;me[af]=me[of]=me[gf]=me[nf]=me[bf]=me[sf]=me[lf]=me[pf]=me[df]=me[cf]=me[uf]=me[ff]=me[hf]=me[mf]=me[yf]=!1;function Ff(e){return Ce(e)&&yr(e.length)&&!!me[je(e)]}var ln=Ff;function Of(e){return function(r){return e(r)}}var Et=Of;var pn=typeof exports=="object"&&exports&&!exports.nodeType&&exports,kr=pn&&typeof module=="object"&&module&&!module.nodeType&&module,Ef=kr&&kr.exports===pn,pa=Ef&&ti.process,Lf=function(){try{var e=kr&&kr.require&&kr.require("util").types;return e||pa&&pa.binding&&pa.binding("util")}catch{}}(),xt=Lf;var dn=xt&&xt.isTypedArray,Df=dn?Et(dn):ln,Lt=Df;var $f=Object.prototype,jf=$f.hasOwnProperty;function Rf(e,r){var i=se(e),t=!i&&et(e),a=!i&&!t&&tt(e),o=!i&&!t&&!a&&Lt(e),n=i||t||a||o,s=n?tn(e.length,String):[],l=s.length;for(var u in e)(r||jf.call(e,u))&&!(n&&(u=="length"||a&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||mr(u,l)))&&s.push(u);return s}var oi=Rf;var _f=Object.prototype;function kf(e){var r=e&&e.constructor,i=typeof r=="function"&&r.prototype||_f;return e===i}var Dt=kf;function Bf(e,r){return function(i){return e(r(i))}}var ni=Bf;var qf=ni(Object.keys,Object),cn=qf;var Mf=Object.prototype,Nf=Mf.hasOwnProperty;function Wf(e){if(!Dt(e))return cn(e);var r=[];for(var i in Object(e))Nf.call(e,i)&&i!="constructor"&&r.push(i);return r}var si=Wf;function zf(e){return e!=null&&yr(e.length)&&!lr(e)}var We=zf;function Vf(e){return We(e)?oi(e):si(e)}var Ke=Vf;function Uf(e,r){return e&&Qe(r,Ke(r),e)}var un=Uf;function Gf(e){var r=[];if(e!=null)for(var i in Object(e))r.push(i);return r}var fn=Gf;var Hf=Object.prototype,Qf=Hf.hasOwnProperty;function Kf(e){if(!we(e))return fn(e);var r=Dt(e),i=[];for(var t in e)t=="constructor"&&(r||!Qf.call(e,t))||i.push(t);return i}var hn=Kf;function Jf(e){return We(e)?oi(e,!0):hn(e)}var Je=Jf;function Zf(e,r){return e&&Qe(r,Je(r),e)}var mn=Zf;var vn=typeof exports=="object"&&exports&&!exports.nodeType&&exports,yn=vn&&typeof module=="object"&&module&&!module.nodeType&&module,Xf=yn&&yn.exports===vn,gn=Xf?Ae.Buffer:void 0,bn=gn?gn.allocUnsafe:void 0;function Yf(e,r){if(r)return e.slice();var i=e.length,t=bn?bn(i):new e.constructor(i);return e.copy(t),t}var li=Yf;function eh(e,r){var i=-1,t=e.length;for(r||(r=Array(t));++i<t;)r[i]=e[i];return r}var pi=eh;function th(e,r){for(var i=-1,t=e==null?0:e.length,a=0,o=[];++i<t;){var n=e[i];r(n,i,e)&&(o[a++]=n)}return o}var Sn=th;function rh(){return[]}var di=rh;var ih=Object.prototype,ah=ih.propertyIsEnumerable,wn=Object.getOwnPropertySymbols,oh=wn?function(e){return e==null?[]:(e=Object(e),Sn(wn(e),function(r){return ah.call(e,r)}))}:di,gr=oh;function nh(e,r){return Qe(e,gr(e),r)}var xn=nh;function sh(e,r){for(var i=-1,t=r.length,a=e.length;++i<t;)e[a+i]=r[i];return e}var br=sh;var lh=ni(Object.getPrototypeOf,Object),vr=lh;var ph=Object.getOwnPropertySymbols,dh=ph?function(e){for(var r=[];e;)br(r,gr(e)),e=vr(e);return r}:di,ci=dh;function ch(e,r){return Qe(e,ci(e),r)}var In=ch;function uh(e,r,i){var t=r(e);return se(e)?t:br(t,i(e))}var ui=uh;function fh(e){return ui(e,Ke,gr)}var Br=fh;function hh(e){return ui(e,Je,ci)}var Cn=hh;var mh=Ne(Ae,"DataView"),fi=mh;var yh=Ne(Ae,"Promise"),hi=yh;var gh=Ne(Ae,"Set"),mi=gh;var bh=Ne(Ae,"WeakMap"),yi=bh;var Tn="[object Map]",vh="[object Object]",An="[object Promise]",Pn="[object Set]",Fn="[object WeakMap]",On="[object DataView]",Sh=St(fi),wh=St(Ft),xh=St(hi),Ih=St(mi),Ch=St(yi),Ht=je;(fi&&Ht(new fi(new ArrayBuffer(1)))!=On||Ft&&Ht(new Ft)!=Tn||hi&&Ht(hi.resolve())!=An||mi&&Ht(new mi)!=Pn||yi&&Ht(new yi)!=Fn)&&(Ht=function(e){var r=je(e),i=r==vh?e.constructor:void 0,t=i?St(i):"";if(t)switch(t){case Sh:return On;case wh:return Tn;case xh:return An;case Ih:return Pn;case Ch:return Fn}return r});var rt=Ht;var Th=Object.prototype,Ah=Th.hasOwnProperty;function Ph(e){var r=e.length,i=new e.constructor(r);return r&&typeof e[0]=="string"&&Ah.call(e,"index")&&(i.index=e.index,i.input=e.input),i}var En=Ph;var Fh=Ae.Uint8Array,Sr=Fh;function Oh(e){var r=new e.constructor(e.byteLength);return new Sr(r).set(new Sr(e)),r}var wr=Oh;function Eh(e,r){var i=r?wr(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.byteLength)}var Ln=Eh;var Lh=/\w*$/;function Dh(e){var r=new e.constructor(e.source,Lh.exec(e));return r.lastIndex=e.lastIndex,r}var Dn=Dh;var $n=De?De.prototype:void 0,jn=$n?$n.valueOf:void 0;function $h(e){return jn?Object(jn.call(e)):{}}var Rn=$h;function jh(e,r){var i=r?wr(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.length)}var gi=jh;var Rh="[object Boolean]",_h="[object Date]",kh="[object Map]",Bh="[object Number]",qh="[object RegExp]",Mh="[object Set]",Nh="[object String]",Wh="[object Symbol]",zh="[object ArrayBuffer]",Vh="[object DataView]",Uh="[object Float32Array]",Gh="[object Float64Array]",Hh="[object Int8Array]",Qh="[object Int16Array]",Kh="[object Int32Array]",Jh="[object Uint8Array]",Zh="[object Uint8ClampedArray]",Xh="[object Uint16Array]",Yh="[object Uint32Array]";function em(e,r,i){var t=e.constructor;switch(r){case zh:return wr(e);case Rh:case _h:return new t(+e);case Vh:return Ln(e,i);case Uh:case Gh:case Hh:case Qh:case Kh:case Jh:case Zh:case Xh:case Yh:return gi(e,i);case kh:return new t;case Bh:case Nh:return new t(e);case qh:return Dn(e);case Mh:return new t;case Wh:return Rn(e)}}var _n=em;var kn=Object.create,tm=function(){function e(){}return function(r){if(!we(r))return{};if(kn)return kn(r);e.prototype=r;var i=new e;return e.prototype=void 0,i}}(),Bn=tm;function rm(e){return typeof e.constructor=="function"&&!Dt(e)?Bn(vr(e)):{}}var bi=rm;var im="[object Map]";function am(e){return Ce(e)&&rt(e)==im}var qn=am;var Mn=xt&&xt.isMap,om=Mn?Et(Mn):qn,Nn=om;var nm="[object Set]";function sm(e){return Ce(e)&&rt(e)==nm}var Wn=sm;var zn=xt&&xt.isSet,lm=zn?Et(zn):Wn,Vn=lm;var pm=1,dm=2,cm=4,Un="[object Arguments]",um="[object Array]",fm="[object Boolean]",hm="[object Date]",mm="[object Error]",Gn="[object Function]",ym="[object GeneratorFunction]",gm="[object Map]",bm="[object Number]",Hn="[object Object]",vm="[object RegExp]",Sm="[object Set]",wm="[object String]",xm="[object Symbol]",Im="[object WeakMap]",Cm="[object ArrayBuffer]",Tm="[object DataView]",Am="[object Float32Array]",Pm="[object Float64Array]",Fm="[object Int8Array]",Om="[object Int16Array]",Em="[object Int32Array]",Lm="[object Uint8Array]",Dm="[object Uint8ClampedArray]",$m="[object Uint16Array]",jm="[object Uint32Array]",ue={};ue[Un]=ue[um]=ue[Cm]=ue[Tm]=ue[fm]=ue[hm]=ue[Am]=ue[Pm]=ue[Fm]=ue[Om]=ue[Em]=ue[gm]=ue[bm]=ue[Hn]=ue[vm]=ue[Sm]=ue[wm]=ue[xm]=ue[Lm]=ue[Dm]=ue[$m]=ue[jm]=!0;ue[mm]=ue[Gn]=ue[Im]=!1;function vi(e,r,i,t,a,o){var n,s=r&pm,l=r&dm,u=r&cm;if(i&&(n=a?i(e,t,a,o):i(e)),n!==void 0)return n;if(!we(e))return e;var d=se(e);if(d){if(n=En(e),!s)return pi(e,n)}else{var c=rt(e),p=c==Gn||c==ym;if(tt(e))return li(e,s);if(c==Hn||c==Un||p&&!a){if(n=l||p?{}:bi(e),!s)return l?In(e,mn(n,e)):xn(e,un(n,e))}else{if(!ue[c])return a?e:{};n=_n(e,c,s)}}o||(o=new pt);var f=o.get(e);if(f)return f;o.set(e,n),Vn(e)?e.forEach(function(b){n.add(vi(b,r,i,b,e,o))}):Nn(e)&&e.forEach(function(b,I){n.set(I,vi(b,r,i,I,e,o))});var m=u?l?Cn:Br:l?Je:Ke,y=d?void 0:m(e);return en(y||e,function(b,I){y&&(I=b,b=e[I]),ai(n,I,vi(b,r,i,I,e,o))}),n}var Qn=vi;var Rm=1,_m=4;function km(e){return Qn(e,Rm|_m)}var Bm=km;var qm=function(){return Ae.Date.now()},Si=qm;var Mm="Expected a function",Nm=Math.max,Wm=Math.min;function zm(e,r,i){var t,a,o,n,s,l,u=0,d=!1,c=!1,p=!0;if(typeof e!="function")throw new TypeError(Mm);r=ri(r)||0,we(i)&&(d=!!i.leading,c="maxWait"in i,o=c?Nm(ri(i.maxWait)||0,r):o,p="trailing"in i?!!i.trailing:p);function f(E){var P=t,O=a;return t=a=void 0,u=E,n=e.apply(O,P),n}function m(E){return u=E,s=setTimeout(I,r),d?f(E):n}function y(E){var P=E-l,O=E-u,j=r-P;return c?Wm(j,o-O):j}function b(E){var P=E-l,O=E-u;return l===void 0||P>=r||P<0||c&&O>=o}function I(){var E=Si();if(b(E))return S(E);s=setTimeout(I,y(E))}function S(E){return s=void 0,p&&t?f(E):(t=a=void 0,n)}function F(){s!==void 0&&clearTimeout(s),u=0,t=l=a=s=void 0}function w(){return s===void 0?n:S(Si())}function T(){var E=Si(),P=b(E);if(t=arguments,a=this,l=E,P){if(s===void 0)return m(l);if(c)return clearTimeout(s),s=setTimeout(I,r),f(l)}return s===void 0&&(s=setTimeout(I,r)),n}return T.cancel=F,T.flush=w,T}var Vm=zm;function Um(e,r,i){(i!==void 0&&!He(e[r],i)||i===void 0&&!(r in e))&&hr(e,r,i)}var qr=Um;function Gm(e){return function(r,i,t){for(var a=-1,o=Object(r),n=t(r),s=n.length;s--;){var l=n[e?s:++a];if(i(o[l],l,o)===!1)break}return r}}var Kn=Gm;var Hm=Kn(),wi=Hm;function Qm(e){return Ce(e)&&We(e)}var Jn=Qm;var Km="[object Object]",Jm=Function.prototype,Zm=Object.prototype,Zn=Jm.toString,Xm=Zm.hasOwnProperty,Ym=Zn.call(Object);function ey(e){if(!Ce(e)||je(e)!=Km)return!1;var r=vr(e);if(r===null)return!0;var i=Xm.call(r,"constructor")&&r.constructor;return typeof i=="function"&&i instanceof i&&Zn.call(i)==Ym}var xi=ey;function ty(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}var Mr=ty;function ry(e){return Qe(e,Je(e))}var Xn=ry;function iy(e,r,i,t,a,o,n){var s=Mr(e,i),l=Mr(r,i),u=n.get(l);if(u){qr(e,i,u);return}var d=o?o(s,l,i+"",e,r,n):void 0,c=d===void 0;if(c){var p=se(l),f=!p&&tt(l),m=!p&&!f&&Lt(l);d=l,p||f||m?se(s)?d=s:Jn(s)?d=pi(s):f?(c=!1,d=li(l,!0)):m?(c=!1,d=gi(l,!0)):d=[]:xi(l)||et(l)?(d=s,et(s)?d=Xn(s):(!we(s)||lr(s))&&(d=bi(l))):c=!1}c&&(n.set(l,d),a(d,l,t,o,n),n.delete(l)),qr(e,i,d)}var Yn=iy;function es(e,r,i,t,a){e!==r&&wi(r,function(o,n){if(a||(a=new pt),we(o))Yn(e,r,n,i,es,t,a);else{var s=t?t(Mr(e,n),o,n+"",e,r,a):void 0;s===void 0&&(s=o),qr(e,n,s)}},Je)}var Ii=es;function ay(e){return e}var $t=ay;function oy(e,r,i){switch(i.length){case 0:return e.call(r);case 1:return e.call(r,i[0]);case 2:return e.call(r,i[0],i[1]);case 3:return e.call(r,i[0],i[1],i[2])}return e.apply(r,i)}var Ci=oy;var ts=Math.max;function ny(e,r,i){return r=ts(r===void 0?e.length-1:r,0),function(){for(var t=arguments,a=-1,o=ts(t.length-r,0),n=Array(o);++a<o;)n[a]=t[r+a];a=-1;for(var s=Array(r+1);++a<r;)s[a]=t[a];return s[r]=i(n),Ci(e,this,s)}}var rs=ny;function sy(e){return function(){return e}}var is=sy;var ly=fr?function(e,r){return fr(e,"toString",{configurable:!0,enumerable:!1,value:is(r),writable:!0})}:$t,as=ly;var py=800,dy=16,cy=Date.now;function uy(e){var r=0,i=0;return function(){var t=cy(),a=dy-(t-i);if(i=t,a>0){if(++r>=py)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}var os=uy;var fy=os(as),ns=fy;function hy(e,r){return ns(rs(e,r,$t),e+"")}var xr=hy;function my(e,r,i){if(!we(i))return!1;var t=typeof r;return(t=="number"?We(i)&&mr(r,i.length):t=="string"&&r in i)?He(i[r],e):!1}var Qt=my;function yy(e){return xr(function(r,i){var t=-1,a=i.length,o=a>1?i[a-1]:void 0,n=a>2?i[2]:void 0;for(o=e.length>3&&typeof o=="function"?(a--,o):void 0,n&&Qt(i[0],i[1],n)&&(o=a<3?void 0:o,a=1),r=Object(r);++t<a;){var s=i[t];s&&e(r,s,t,o)}return r})}var Ir=yy;var gy=Ir(function(e,r,i,t){Ii(e,r,i,t)}),by=gy;var vy="[object Map]",Sy="[object Set]",wy=Object.prototype,xy=wy.hasOwnProperty;function Iy(e){if(e==null)return!0;if(We(e)&&(se(e)||typeof e=="string"||typeof e.splice=="function"||tt(e)||Lt(e)||et(e)))return!e.length;var r=rt(e);if(r==vy||r==Sy)return!e.size;if(Dt(e))return!si(e).length;for(var i in e)if(xy.call(e,i))return!1;return!0}var Cy=Iy;var Ty="__lodash_hash_undefined__";function Ay(e){return this.__data__.set(e,Ty),this}var ss=Ay;function Py(e){return this.__data__.has(e)}var ls=Py;function Ti(e){var r=-1,i=e==null?0:e.length;for(this.__data__=new Gt;++r<i;)this.add(e[r])}Ti.prototype.add=Ti.prototype.push=ss;Ti.prototype.has=ls;var ps=Ti;function Fy(e,r){for(var i=-1,t=e==null?0:e.length;++i<t;)if(r(e[i],i,e))return!0;return!1}var ds=Fy;function Oy(e,r){return e.has(r)}var cs=Oy;var Ey=1,Ly=2;function Dy(e,r,i,t,a,o){var n=i&Ey,s=e.length,l=r.length;if(s!=l&&!(n&&l>s))return!1;var u=o.get(e),d=o.get(r);if(u&&d)return u==r&&d==e;var c=-1,p=!0,f=i&Ly?new ps:void 0;for(o.set(e,r),o.set(r,e);++c<s;){var m=e[c],y=r[c];if(t)var b=n?t(y,m,c,r,e,o):t(m,y,c,e,r,o);if(b!==void 0){if(b)continue;p=!1;break}if(f){if(!ds(r,function(I,S){if(!cs(f,S)&&(m===I||a(m,I,i,t,o)))return f.push(S)})){p=!1;break}}else if(!(m===y||a(m,y,i,t,o))){p=!1;break}}return o.delete(e),o.delete(r),p}var Ai=Dy;function $y(e){var r=-1,i=Array(e.size);return e.forEach(function(t,a){i[++r]=[a,t]}),i}var us=$y;function jy(e){var r=-1,i=Array(e.size);return e.forEach(function(t){i[++r]=t}),i}var fs=jy;var Ry=1,_y=2,ky="[object Boolean]",By="[object Date]",qy="[object Error]",My="[object Map]",Ny="[object Number]",Wy="[object RegExp]",zy="[object Set]",Vy="[object String]",Uy="[object Symbol]",Gy="[object ArrayBuffer]",Hy="[object DataView]",hs=De?De.prototype:void 0,da=hs?hs.valueOf:void 0;function Qy(e,r,i,t,a,o,n){switch(i){case Hy:if(e.byteLength!=r.byteLength||e.byteOffset!=r.byteOffset)return!1;e=e.buffer,r=r.buffer;case Gy:return!(e.byteLength!=r.byteLength||!o(new Sr(e),new Sr(r)));case ky:case By:case Ny:return He(+e,+r);case qy:return e.name==r.name&&e.message==r.message;case Wy:case Vy:return e==r+"";case My:var s=us;case zy:var l=t&Ry;if(s||(s=fs),e.size!=r.size&&!l)return!1;var u=n.get(e);if(u)return u==r;t|=_y,n.set(e,r);var d=Ai(s(e),s(r),t,a,o,n);return n.delete(e),d;case Uy:if(da)return da.call(e)==da.call(r)}return!1}var ms=Qy;var Ky=1,Jy=Object.prototype,Zy=Jy.hasOwnProperty;function Xy(e,r,i,t,a,o){var n=i&Ky,s=Br(e),l=s.length,u=Br(r),d=u.length;if(l!=d&&!n)return!1;for(var c=l;c--;){var p=s[c];if(!(n?p in r:Zy.call(r,p)))return!1}var f=o.get(e),m=o.get(r);if(f&&m)return f==r&&m==e;var y=!0;o.set(e,r),o.set(r,e);for(var b=n;++c<l;){p=s[c];var I=e[p],S=r[p];if(t)var F=n?t(S,I,p,r,e,o):t(I,S,p,e,r,o);if(!(F===void 0?I===S||a(I,S,i,t,o):F)){y=!1;break}b||(b=p=="constructor")}if(y&&!b){var w=e.constructor,T=r.constructor;w!=T&&"constructor"in e&&"constructor"in r&&!(typeof w=="function"&&w instanceof w&&typeof T=="function"&&T instanceof T)&&(y=!1)}return o.delete(e),o.delete(r),y}var ys=Xy;var Yy=1,gs="[object Arguments]",bs="[object Array]",Pi="[object Object]",eg=Object.prototype,vs=eg.hasOwnProperty;function tg(e,r,i,t,a,o){var n=se(e),s=se(r),l=n?bs:rt(e),u=s?bs:rt(r);l=l==gs?Pi:l,u=u==gs?Pi:u;var d=l==Pi,c=u==Pi,p=l==u;if(p&&tt(e)){if(!tt(r))return!1;n=!0,d=!1}if(p&&!d)return o||(o=new pt),n||Lt(e)?Ai(e,r,i,t,a,o):ms(e,r,l,i,t,a,o);if(!(i&Yy)){var f=d&&vs.call(e,"__wrapped__"),m=c&&vs.call(r,"__wrapped__");if(f||m){var y=f?e.value():e,b=m?r.value():r;return o||(o=new pt),a(y,b,i,t,o)}}return p?(o||(o=new pt),ys(e,r,i,t,a,o)):!1}var Ss=tg;function ws(e,r,i,t,a){return e===r?!0:e==null||r==null||!Ce(e)&&!Ce(r)?e!==e&&r!==r:Ss(e,r,i,t,ws,a)}var Cr=ws;function rg(e,r){return Cr(e,r)}var xs=rg;function ig(e){return e==null}var ca=ig;function ag(e){return e===null}var og=ag;var ng=Ir(function(e,r,i){Ii(e,r,i)}),sg=ng;var Is=De?De.isConcatSpreadable:void 0;function lg(e){return se(e)||et(e)||!!(Is&&e&&e[Is])}var Cs=lg;function Ts(e,r,i,t,a){var o=-1,n=e.length;for(i||(i=Cs),a||(a=[]);++o<n;){var s=e[o];r>0&&i(s)?r>1?Ts(s,r-1,i,t,a):br(a,s):t||(a[a.length]=s)}return a}var As=Ts;function pg(e,r){for(var i=-1,t=e==null?0:e.length,a=Array(t);++i<t;)a[i]=r(e[i],i,e);return a}var jt=pg;var dg=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,cg=/^\w*$/;function ug(e,r){if(se(e))return!1;var i=typeof e;return i=="number"||i=="symbol"||i=="boolean"||e==null||Ye(e)?!0:cg.test(e)||!dg.test(e)||r!=null&&e in Object(r)}var Tr=ug;var fg=500;function hg(e){var r=sa(e,function(t){return i.size===fg&&i.clear(),t}),i=r.cache;return r}var Ps=hg;var mg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,yg=/\\(\\)?/g,gg=Ps(function(e){var r=[];return e.charCodeAt(0)===46&&r.push(""),e.replace(mg,function(i,t,a,o){r.push(a?o.replace(yg,"$1"):t||i)}),r}),Fs=gg;var bg=1/0,Os=De?De.prototype:void 0,Es=Os?Os.toString:void 0;function Ls(e){if(typeof e=="string")return e;if(se(e))return jt(e,Ls)+"";if(Ye(e))return Es?Es.call(e):"";var r=e+"";return r=="0"&&1/e==-bg?"-0":r}var Ds=Ls;function vg(e){return e==null?"":Ds(e)}var dt=vg;function Sg(e,r){return se(e)?e:Tr(e,r)?[e]:Fs(dt(e))}var Fi=Sg;var wg=1/0;function xg(e){if(typeof e=="string"||Ye(e))return e;var r=e+"";return r=="0"&&1/e==-wg?"-0":r}var Rt=xg;function Ig(e,r){r=Fi(r,e);for(var i=0,t=r.length;e!=null&&i<t;)e=e[Rt(r[i++])];return i&&i==t?e:void 0}var Ar=Ig;var Cg=1,Tg=2;function Ag(e,r,i,t){var a=i.length,o=a,n=!t;if(e==null)return!o;for(e=Object(e);a--;){var s=i[a];if(n&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++a<o;){s=i[a];var l=s[0],u=e[l],d=s[1];if(n&&s[2]){if(u===void 0&&!(l in e))return!1}else{var c=new pt;if(t)var p=t(u,d,l,e,r,c);if(!(p===void 0?Cr(d,u,Cg|Tg,t,c):p))return!1}}return!0}var $s=Ag;function Pg(e){return e===e&&!we(e)}var Oi=Pg;function Fg(e){for(var r=Ke(e),i=r.length;i--;){var t=r[i],a=e[t];r[i]=[t,a,Oi(a)]}return r}var js=Fg;function Og(e,r){return function(i){return i==null?!1:i[e]===r&&(r!==void 0||e in Object(i))}}var Ei=Og;function Eg(e){var r=js(e);return r.length==1&&r[0][2]?Ei(r[0][0],r[0][1]):function(i){return i===e||$s(i,e,r)}}var Rs=Eg;function Lg(e,r,i){var t=e==null?void 0:Ar(e,r);return t===void 0?i:t}var _s=Lg;function Dg(e,r){return e!=null&&r in Object(e)}var ks=Dg;function $g(e,r,i){r=Fi(r,e);for(var t=-1,a=r.length,o=!1;++t<a;){var n=Rt(r[t]);if(!(o=e!=null&&i(e,n)))break;e=e[n]}return o||++t!=a?o:(a=e==null?0:e.length,!!a&&yr(a)&&mr(n,a)&&(se(e)||et(e)))}var Bs=$g;function jg(e,r){return e!=null&&Bs(e,r,ks)}var qs=jg;var Rg=1,_g=2;function kg(e,r){return Tr(e)&&Oi(r)?Ei(Rt(e),r):function(i){var t=_s(i,e);return t===void 0&&t===r?qs(i,e):Cr(r,t,Rg|_g)}}var Ms=kg;function Bg(e){return function(r){return r?.[e]}}var Ns=Bg;function qg(e){return function(r){return Ar(r,e)}}var Ws=qg;function Mg(e){return Tr(e)?Ns(Rt(e)):Ws(e)}var zs=Mg;function Ng(e){return typeof e=="function"?e:e==null?$t:typeof e=="object"?se(e)?Ms(e[0],e[1]):Rs(e):zs(e)}var Vs=Ng;function Wg(e,r){return e&&wi(e,r,Ke)}var Us=Wg;function zg(e,r){return function(i,t){if(i==null)return i;if(!We(i))return e(i,t);for(var a=i.length,o=r?a:-1,n=Object(i);(r?o--:++o<a)&&t(n[o],o,n)!==!1;);return i}}var Gs=zg;var Vg=Gs(Us),Hs=Vg;function Ug(e,r){var i=-1,t=We(e)?Array(e.length):[];return Hs(e,function(a,o,n){t[++i]=r(a,o,n)}),t}var Qs=Ug;function Gg(e,r){var i=e.length;for(e.sort(r);i--;)e[i]=e[i].value;return e}var Ks=Gg;function Hg(e,r){if(e!==r){var i=e!==void 0,t=e===null,a=e===e,o=Ye(e),n=r!==void 0,s=r===null,l=r===r,u=Ye(r);if(!s&&!u&&!o&&e>r||o&&n&&l&&!s&&!u||t&&n&&l||!i&&l||!a)return 1;if(!t&&!o&&!u&&e<r||u&&i&&a&&!t&&!o||s&&i&&a||!n&&a||!l)return-1}return 0}var Js=Hg;function Qg(e,r,i){for(var t=-1,a=e.criteria,o=r.criteria,n=a.length,s=i.length;++t<n;){var l=Js(a[t],o[t]);if(l){if(t>=s)return l;var u=i[t];return l*(u=="desc"?-1:1)}}return e.index-r.index}var Zs=Qg;function Kg(e,r,i){r.length?r=jt(r,function(o){return se(o)?function(n){return Ar(n,o.length===1?o[0]:o)}:o}):r=[$t];var t=-1;r=jt(r,Et(Vs));var a=Qs(e,function(o,n,s){var l=jt(r,function(u){return u(o)});return{criteria:l,index:++t,value:o}});return Ks(a,function(o,n){return Zs(o,n,i)})}var Xs=Kg;var Jg=xr(function(e,r){if(e==null)return[];var i=r.length;return i>1&&Qt(e,r[0],r[1])?r=[]:i>2&&Qt(r[0],r[1],r[2])&&(r=[r[0]]),Xs(e,As(r,1),[])}),Zg=Jg;var Xg=Ir(function(e,r,i,t){Qe(r,Je(r),e,t)}),ua=Xg;var Yg="[object DOMException]",eb="[object Error]";function tb(e){if(!Ce(e))return!1;var r=je(e);return r==eb||r==Yg||typeof e.message=="string"&&typeof e.name=="string"&&!xi(e)}var Li=tb;var rb=xr(function(e,r){try{return Ci(e,void 0,r)}catch(i){return Li(i)?i:new Error(i)}}),Ys=rb;function ib(e,r,i){var t=-1,a=e.length;r<0&&(r=-r>a?0:a+r),i=i>a?a:i,i<0&&(i+=a),a=r>i?0:i-r>>>0,r>>>=0;for(var o=Array(a);++t<a;)o[t]=e[t+r];return o}var el=ib;function ab(e,r,i){var t=e.length;return i=i===void 0?t:i,!r&&i>=t?e:el(e,r,i)}var tl=ab;var ob="\\ud800-\\udfff",nb="\\u0300-\\u036f",sb="\\ufe20-\\ufe2f",lb="\\u20d0-\\u20ff",pb=nb+sb+lb,db="\\ufe0e\\ufe0f",cb="\\u200d",ub=RegExp("["+cb+ob+pb+db+"]");function fb(e){return ub.test(e)}var Di=fb;function hb(e){return e.split("")}var rl=hb;var il="\\ud800-\\udfff",mb="\\u0300-\\u036f",yb="\\ufe20-\\ufe2f",gb="\\u20d0-\\u20ff",bb=mb+yb+gb,vb="\\ufe0e\\ufe0f",Sb="["+il+"]",fa="["+bb+"]",ha="\\ud83c[\\udffb-\\udfff]",wb="(?:"+fa+"|"+ha+")",al="[^"+il+"]",ol="(?:\\ud83c[\\udde6-\\uddff]){2}",nl="[\\ud800-\\udbff][\\udc00-\\udfff]",xb="\\u200d",sl=wb+"?",ll="["+vb+"]?",Ib="(?:"+xb+"(?:"+[al,ol,nl].join("|")+")"+ll+sl+")*",Cb=ll+sl+Ib,Tb="(?:"+[al+fa+"?",fa,ol,nl,Sb].join("|")+")",Ab=RegExp(ha+"(?="+ha+")|"+Tb+Cb,"g");function Pb(e){return e.match(Ab)||[]}var pl=Pb;function Fb(e){return Di(e)?pl(e):rl(e)}var dl=Fb;function Ob(e){return function(r){r=dt(r);var i=Di(r)?dl(r):void 0,t=i?i[0]:r.charAt(0),a=i?tl(i,1).join(""):r.slice(1);return t[e]()+a}}var cl=Ob;var Eb=cl("toUpperCase"),ul=Eb;function Lb(e){return ul(dt(e).toLowerCase())}var Db=Lb;function $b(e){return function(r){return e?.[r]}}var fl=$b;var jb={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Rb=fl(jb),hl=Rb;var ml=/[&<>"']/g,_b=RegExp(ml.source);function kb(e){return e=dt(e),e&&_b.test(e)?e.replace(ml,hl):e}var yl=kb;function Bb(e,r){return jt(r,function(i){return e[i]})}var gl=Bb;var qb="[object Number]";function Mb(e){return typeof e=="number"||Ce(e)&&je(e)==qb}var Nb=Mb;var bl=Object.prototype,Wb=bl.hasOwnProperty;function zb(e,r,i,t){return e===void 0||He(e,bl[i])&&!Wb.call(t,i)?r:e}var ma=zb;var Vb={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function Ub(e){return"\\"+Vb[e]}var vl=Ub;var Gb=/<%=([\s\S]+?)%>/g,$i=Gb;var Hb=/<%-([\s\S]+?)%>/g,Sl=Hb;var Qb=/<%([\s\S]+?)%>/g,wl=Qb;var Kb={escape:Sl,evaluate:wl,interpolate:$i,variable:"",imports:{_:{escape:yl}}},ya=Kb;var Jb="Invalid `variable` option passed into `_.template`",Zb=/\b__p \+= '';/g,Xb=/\b(__p \+=) '' \+/g,Yb=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ev=/[()=,{}\[\]\/\s]/,tv=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ji=/($^)/,rv=/['\n\r\u2028\u2029\\]/g,iv=Object.prototype,xl=iv.hasOwnProperty;function av(e,r,i){var t=ya.imports._.templateSettings||ya;i&&Qt(e,r,i)&&(r=void 0),e=dt(e),r=ua({},r,t,ma);var a=ua({},r.imports,t.imports,ma),o=Ke(a),n=gl(a,o),s,l,u=0,d=r.interpolate||ji,c="__p += '",p=RegExp((r.escape||ji).source+"|"+d.source+"|"+(d===$i?tv:ji).source+"|"+(r.evaluate||ji).source+"|$","g"),f=xl.call(r,"sourceURL")?"//# sourceURL="+(r.sourceURL+"").replace(/\s/g," ")+`
3
+ v4.34.0-next.9 */
4
+ import{a as D,b as Ie,c as ea,e as mo,f as Rr,h as vt,i as yo,k as ta,l as _e,o as go,p as ar,r as Tt,t as bo,u as vo,w as or,x as Me}from"./MPQCNNYM.js";import{b as ac,d as oc}from"./AVIVI6ZG.js";export default $arcgis.t(([Wa,pd,dd,gv,Ba,bv,vv,Sv,wv,xv,Iv,ud,za])=>{var Ll=ac((i$,Sa)=>{function dv(e,r){var i=r&&r.cache?r.cache:yv,t=r&&r.serializer?r.serializer:mv,a=r&&r.strategy?r.strategy:uv;return a(e,{cache:i,serializer:t})}function cv(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Ol(e,r,i,t){var a=cv(t)?t:i(t),o=r.get(a);return typeof o>"u"&&(o=e.call(this,t),r.set(a,o)),o}function El(e,r,i){var t=Array.prototype.slice.call(arguments,3),a=i(t),o=r.get(a);return typeof o>"u"&&(o=e.apply(this,t),r.set(a,o)),o}function va(e,r,i,t,a){return i.bind(r,e,t,a)}function uv(e,r){var i=e.length===1?Ol:El;return va(e,this,i,r.cache.create(),r.serializer)}function fv(e,r){var i=El;return va(e,this,i,r.cache.create(),r.serializer)}function hv(e,r){var i=Ol;return va(e,this,i,r.cache.create(),r.serializer)}function mv(){return JSON.stringify(arguments)}function _i(){this.cache=Object.create(null)}_i.prototype.has=function(e){return e in this.cache};_i.prototype.get=function(e){return this.cache[e]};_i.prototype.set=function(e,r){this.cache[e]=r};var yv={create:function(){return new _i}};Sa.exports=dv;Sa.exports.strategies={variadic:fv,monadic:hv}});var Be={Blob:"esriFieldTypeBlob",Date:"esriFieldTypeDate",DateOnly:"esriFieldTypeDateOnly",TimestampOffset:"esriFieldTypeTimestampOffset",Double:"esriFieldTypeDouble",Geometry:"esriFieldTypeGeometry",GlobalID:"esriFieldTypeGlobalID",GUID:"esriFieldTypeGUID",Integer:"esriFieldTypeInteger",SmallInteger:"esriFieldTypeSmallInteger",BigInteger:"esriFieldTypeBigInteger",OID:"esriFieldTypeOID",Raster:"esriFieldTypeRaster",Single:"esriFieldTypeSingle",String:"esriFieldTypeString",XML:"esriFieldTypeXML"},nr={Dash:"esriSLSDash",DashDot:"esriSLSDashDot",DashDotDot:"esriSLSDashDotDot",Dot:"esriSLSDot",Null:"esriSLSNull",Solid:"esriSLSSolid"},ra={Circle:"esriSMSCircle",Cross:"esriSMSCross",Diamond:"esriSMSDiamond",Square:"esriSMSSquare",X:"esriSMSX",Triangle:"esriSMSTriangle"},sr={BackwardDiagonal:"esriSFSBackwardDiagonal",Cross:"esriSFSCross",DiagonalCross:"esriSFSDiagonalCross",ForwardDiagonal:"esriSFSForwardDiagonal",Horizontal:"esriSFSHorizontal",Null:"esriSFSNull",Solid:"esriSFSSolid",Vertical:"esriSFSVertical"},Xr={Left:"left",Right:"right",Center:"center",Justify:"justify"},ia={Baseline:"baseline",Top:"top",Middle:"middle",Bottom:"bottom"},ke={SLS:"esriSLS",SMS:"esriSMS",SFS:"esriSFS",PMS:"esriPMS",PFS:"esriPFS",TS:"esriTS"},Ux={Italic:"italic",Normal:"normal",Oblique:"oblique"},Gx={Bold:"bold",Bolder:"bolder",Lighter:"lighter",Normal:"normal"},Hx={LineThrough:"line-through",Underline:"underline",None:"none"},Yr={UniqueValue:"unique-value",Simple:"simple",ClassBreaks:"class-breaks",Heatmap:"heatmap",DotDensity:"dot-density",Dictionary:"dictionary",PieChart:"pie-chart"},Ut={Feet:"feet",Miles:"miles",NauticalMiles:"nautical-miles",USNauticalMiles:"us-nautical-miles",Meters:"meters",Kilometers:"kilometers"};var ei="arcgis_charts_pie_from_fields_name",aa="arcgis_charts_pie_from_fields_value",So="arcgis_charts_bar_line_from_fields_name",wo="arcgis_charts_bar_line_from_fields_value";var lt={Mean:"Mean",Median:"Median",StdDev:"Standard Deviation",Normal:"Normal Distribution",Trendline:"Trendline"};var nc=Array.isArray,se=nc;function sc(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}var we=sc;var lc=/\s/;function pc(e){for(var r=e.length;r--&&lc.test(e.charAt(r)););return r}var xo=pc;var dc=/^\s+/;function cc(e){return e&&e.slice(0,xo(e)+1).replace(dc,"")}var Io=cc;var uc=typeof global=="object"&&global&&global.Object===Object&&global,ti=uc;var fc=typeof self=="object"&&self&&self.Object===Object&&self,hc=ti||fc||Function("return this")(),Ae=hc;var mc=Ae.Symbol,De=mc;var Co=Object.prototype,yc=Co.hasOwnProperty,gc=Co.toString,_r=De?De.toStringTag:void 0;function bc(e){var r=yc.call(e,_r),i=e[_r];try{e[_r]=void 0;var t=!0}catch{}var a=gc.call(e);return t&&(r?e[_r]=i:delete e[_r]),a}var To=bc;var vc=Object.prototype,Sc=vc.toString;function wc(e){return Sc.call(e)}var Ao=wc;var xc="[object Null]",Ic="[object Undefined]",Po=De?De.toStringTag:void 0;function Cc(e){return e==null?e===void 0?Ic:xc:Po&&Po in Object(e)?To(e):Ao(e)}var je=Cc;function Tc(e){return e!=null&&typeof e=="object"}var Ce=Tc;var Ac="[object Symbol]";function Pc(e){return typeof e=="symbol"||Ce(e)&&je(e)==Ac}var Ye=Pc;var Fo=NaN,Fc=/^[-+]0x[0-9a-f]+$/i,Oc=/^0b[01]+$/i,Ec=/^0o[0-7]+$/i,Lc=parseInt;function Dc(e){if(typeof e=="number")return e;if(Ye(e))return Fo;if(we(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=we(r)?r+"":r}if(typeof e!="string")return e===0?e:+e;e=Io(e);var i=Oc.test(e);return i||Ec.test(e)?Lc(e.slice(2),i?2:8):Fc.test(e)?Fo:+e}var ri=Dc;var $c="[object AsyncFunction]",jc="[object Function]",Rc="[object GeneratorFunction]",_c="[object Proxy]";function kc(e){if(!we(e))return!1;var r=je(e);return r==jc||r==Rc||r==$c||r==_c}var lr=kc;var Bc=Ae["__core-js_shared__"],ii=Bc;var Oo=function(){var e=/[^.]+$/.exec(ii&&ii.keys&&ii.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function qc(e){return!!Oo&&Oo in e}var Eo=qc;var Mc=Function.prototype,Nc=Mc.toString;function Wc(e){if(e!=null){try{return Nc.call(e)}catch{}try{return e+""}catch{}}return""}var St=Wc;var zc=/[\\^$.*+?()[\]{}|]/g,Vc=/^\[object .+?Constructor\]$/,Uc=Function.prototype,Gc=Object.prototype,Hc=Uc.toString,Qc=Gc.hasOwnProperty,Kc=RegExp("^"+Hc.call(Qc).replace(zc,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Jc(e){if(!we(e)||Eo(e))return!1;var r=lr(e)?Kc:Vc;return r.test(St(e))}var Lo=Jc;function Zc(e,r){return e?.[r]}var Do=Zc;function Xc(e,r){var i=Do(e,r);return Lo(i)?i:void 0}var Ne=Xc;var Yc=Ne(Object,"create"),wt=Yc;function eu(){this.__data__=wt?wt(null):{},this.size=0}var $o=eu;function tu(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}var jo=tu;var ru="__lodash_hash_undefined__",iu=Object.prototype,au=iu.hasOwnProperty;function ou(e){var r=this.__data__;if(wt){var i=r[e];return i===ru?void 0:i}return au.call(r,e)?r[e]:void 0}var Ro=ou;var nu=Object.prototype,su=nu.hasOwnProperty;function lu(e){var r=this.__data__;return wt?r[e]!==void 0:su.call(r,e)}var _o=lu;var pu="__lodash_hash_undefined__";function du(e,r){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=wt&&r===void 0?pu:r,this}var ko=du;function pr(e){var r=-1,i=e==null?0:e.length;for(this.clear();++r<i;){var t=e[r];this.set(t[0],t[1])}}pr.prototype.clear=$o;pr.prototype.delete=jo;pr.prototype.get=Ro;pr.prototype.has=_o;pr.prototype.set=ko;var oa=pr;function cu(){this.__data__=[],this.size=0}var Bo=cu;function uu(e,r){return e===r||e!==e&&r!==r}var He=uu;function fu(e,r){for(var i=e.length;i--;)if(He(e[i][0],r))return i;return-1}var At=fu;var hu=Array.prototype,mu=hu.splice;function yu(e){var r=this.__data__,i=At(r,e);if(i<0)return!1;var t=r.length-1;return i==t?r.pop():mu.call(r,i,1),--this.size,!0}var qo=yu;function gu(e){var r=this.__data__,i=At(r,e);return i<0?void 0:r[i][1]}var Mo=gu;function bu(e){return At(this.__data__,e)>-1}var No=bu;function vu(e,r){var i=this.__data__,t=At(i,e);return t<0?(++this.size,i.push([e,r])):i[t][1]=r,this}var Wo=vu;function dr(e){var r=-1,i=e==null?0:e.length;for(this.clear();++r<i;){var t=e[r];this.set(t[0],t[1])}}dr.prototype.clear=Bo;dr.prototype.delete=qo;dr.prototype.get=Mo;dr.prototype.has=No;dr.prototype.set=Wo;var Pt=dr;var Su=Ne(Ae,"Map"),Ft=Su;function wu(){this.size=0,this.__data__={hash:new oa,map:new(Ft||Pt),string:new oa}}var zo=wu;function xu(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}var Vo=xu;function Iu(e,r){var i=e.__data__;return Vo(r)?i[typeof r=="string"?"string":"hash"]:i.map}var Ot=Iu;function Cu(e){var r=Ot(this,e).delete(e);return this.size-=r?1:0,r}var Uo=Cu;function Tu(e){return Ot(this,e).get(e)}var Go=Tu;function Au(e){return Ot(this,e).has(e)}var Ho=Au;function Pu(e,r){var i=Ot(this,e),t=i.size;return i.set(e,r),this.size+=i.size==t?0:1,this}var Qo=Pu;function cr(e){var r=-1,i=e==null?0:e.length;for(this.clear();++r<i;){var t=e[r];this.set(t[0],t[1])}}cr.prototype.clear=zo;cr.prototype.delete=Uo;cr.prototype.get=Go;cr.prototype.has=Ho;cr.prototype.set=Qo;var Gt=cr;var Fu="Expected a function";function na(e,r){if(typeof e!="function"||r!=null&&typeof r!="function")throw new TypeError(Fu);var i=function(){var t=arguments,a=r?r.apply(this,t):t[0],o=i.cache;if(o.has(a))return o.get(a);var n=e.apply(this,t);return i.cache=o.set(a,n)||o,n};return i.cache=new(na.Cache||Gt),i}na.Cache=Gt;var sa=na;function Ou(){this.__data__=new Pt,this.size=0}var Ko=Ou;function Eu(e){var r=this.__data__,i=r.delete(e);return this.size=r.size,i}var Jo=Eu;function Lu(e){return this.__data__.get(e)}var Zo=Lu;function Du(e){return this.__data__.has(e)}var Xo=Du;var $u=200;function ju(e,r){var i=this.__data__;if(i instanceof Pt){var t=i.__data__;if(!Ft||t.length<$u-1)return t.push([e,r]),this.size=++i.size,this;i=this.__data__=new Gt(t)}return i.set(e,r),this.size=i.size,this}var Yo=ju;function ur(e){var r=this.__data__=new Pt(e);this.size=r.size}ur.prototype.clear=Ko;ur.prototype.delete=Jo;ur.prototype.get=Zo;ur.prototype.has=Xo;ur.prototype.set=Yo;var pt=ur;function Ru(e,r){for(var i=-1,t=e==null?0:e.length;++i<t&&r(e[i],i,e)!==!1;);return e}var en=Ru;var _u=function(){try{var e=Ne(Object,"defineProperty");return e({},"",{}),e}catch{}}(),fr=_u;function ku(e,r,i){r=="__proto__"&&fr?fr(e,r,{configurable:!0,enumerable:!0,value:i,writable:!0}):e[r]=i}var hr=ku;var Bu=Object.prototype,qu=Bu.hasOwnProperty;function Mu(e,r,i){var t=e[r];(!(qu.call(e,r)&&He(t,i))||i===void 0&&!(r in e))&&hr(e,r,i)}var ai=Mu;function Nu(e,r,i,t){var a=!i;i||(i={});for(var o=-1,n=r.length;++o<n;){var s=r[o],l=t?t(i[s],e[s],s,i,e):void 0;l===void 0&&(l=e[s]),a?hr(i,s,l):ai(i,s,l)}return i}var Qe=Nu;function Wu(e,r){for(var i=-1,t=Array(e);++i<e;)t[i]=r(i);return t}var tn=Wu;var zu="[object Arguments]";function Vu(e){return Ce(e)&&je(e)==zu}var la=Vu;var rn=Object.prototype,Uu=rn.hasOwnProperty,Gu=rn.propertyIsEnumerable,Hu=la(function(){return arguments}())?la:function(e){return Ce(e)&&Uu.call(e,"callee")&&!Gu.call(e,"callee")},et=Hu;function Qu(){return!1}var an=Qu;var sn=typeof exports=="object"&&exports&&!exports.nodeType&&exports,on=sn&&typeof module=="object"&&module&&!module.nodeType&&module,Ku=on&&on.exports===sn,nn=Ku?Ae.Buffer:void 0,Ju=nn?nn.isBuffer:void 0,Zu=Ju||an,tt=Zu;var Xu=9007199254740991,Yu=/^(?:0|[1-9]\d*)$/;function ef(e,r){var i=typeof e;return r=r??Xu,!!r&&(i=="number"||i!="symbol"&&Yu.test(e))&&e>-1&&e%1==0&&e<r}var mr=ef;var tf=9007199254740991;function rf(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=tf}var yr=rf;var af="[object Arguments]",of="[object Array]",nf="[object Boolean]",sf="[object Date]",lf="[object Error]",pf="[object Function]",df="[object Map]",cf="[object Number]",uf="[object Object]",ff="[object RegExp]",hf="[object Set]",mf="[object String]",yf="[object WeakMap]",gf="[object ArrayBuffer]",bf="[object DataView]",vf="[object Float32Array]",Sf="[object Float64Array]",wf="[object Int8Array]",xf="[object Int16Array]",If="[object Int32Array]",Cf="[object Uint8Array]",Tf="[object Uint8ClampedArray]",Af="[object Uint16Array]",Pf="[object Uint32Array]",me={};me[vf]=me[Sf]=me[wf]=me[xf]=me[If]=me[Cf]=me[Tf]=me[Af]=me[Pf]=!0;me[af]=me[of]=me[gf]=me[nf]=me[bf]=me[sf]=me[lf]=me[pf]=me[df]=me[cf]=me[uf]=me[ff]=me[hf]=me[mf]=me[yf]=!1;function Ff(e){return Ce(e)&&yr(e.length)&&!!me[je(e)]}var ln=Ff;function Of(e){return function(r){return e(r)}}var Et=Of;var pn=typeof exports=="object"&&exports&&!exports.nodeType&&exports,kr=pn&&typeof module=="object"&&module&&!module.nodeType&&module,Ef=kr&&kr.exports===pn,pa=Ef&&ti.process,Lf=function(){try{var e=kr&&kr.require&&kr.require("util").types;return e||pa&&pa.binding&&pa.binding("util")}catch{}}(),xt=Lf;var dn=xt&&xt.isTypedArray,Df=dn?Et(dn):ln,Lt=Df;var $f=Object.prototype,jf=$f.hasOwnProperty;function Rf(e,r){var i=se(e),t=!i&&et(e),a=!i&&!t&&tt(e),o=!i&&!t&&!a&&Lt(e),n=i||t||a||o,s=n?tn(e.length,String):[],l=s.length;for(var u in e)(r||jf.call(e,u))&&!(n&&(u=="length"||a&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||mr(u,l)))&&s.push(u);return s}var oi=Rf;var _f=Object.prototype;function kf(e){var r=e&&e.constructor,i=typeof r=="function"&&r.prototype||_f;return e===i}var Dt=kf;function Bf(e,r){return function(i){return e(r(i))}}var ni=Bf;var qf=ni(Object.keys,Object),cn=qf;var Mf=Object.prototype,Nf=Mf.hasOwnProperty;function Wf(e){if(!Dt(e))return cn(e);var r=[];for(var i in Object(e))Nf.call(e,i)&&i!="constructor"&&r.push(i);return r}var si=Wf;function zf(e){return e!=null&&yr(e.length)&&!lr(e)}var We=zf;function Vf(e){return We(e)?oi(e):si(e)}var Ke=Vf;function Uf(e,r){return e&&Qe(r,Ke(r),e)}var un=Uf;function Gf(e){var r=[];if(e!=null)for(var i in Object(e))r.push(i);return r}var fn=Gf;var Hf=Object.prototype,Qf=Hf.hasOwnProperty;function Kf(e){if(!we(e))return fn(e);var r=Dt(e),i=[];for(var t in e)t=="constructor"&&(r||!Qf.call(e,t))||i.push(t);return i}var hn=Kf;function Jf(e){return We(e)?oi(e,!0):hn(e)}var Je=Jf;function Zf(e,r){return e&&Qe(r,Je(r),e)}var mn=Zf;var vn=typeof exports=="object"&&exports&&!exports.nodeType&&exports,yn=vn&&typeof module=="object"&&module&&!module.nodeType&&module,Xf=yn&&yn.exports===vn,gn=Xf?Ae.Buffer:void 0,bn=gn?gn.allocUnsafe:void 0;function Yf(e,r){if(r)return e.slice();var i=e.length,t=bn?bn(i):new e.constructor(i);return e.copy(t),t}var li=Yf;function eh(e,r){var i=-1,t=e.length;for(r||(r=Array(t));++i<t;)r[i]=e[i];return r}var pi=eh;function th(e,r){for(var i=-1,t=e==null?0:e.length,a=0,o=[];++i<t;){var n=e[i];r(n,i,e)&&(o[a++]=n)}return o}var Sn=th;function rh(){return[]}var di=rh;var ih=Object.prototype,ah=ih.propertyIsEnumerable,wn=Object.getOwnPropertySymbols,oh=wn?function(e){return e==null?[]:(e=Object(e),Sn(wn(e),function(r){return ah.call(e,r)}))}:di,gr=oh;function nh(e,r){return Qe(e,gr(e),r)}var xn=nh;function sh(e,r){for(var i=-1,t=r.length,a=e.length;++i<t;)e[a+i]=r[i];return e}var br=sh;var lh=ni(Object.getPrototypeOf,Object),vr=lh;var ph=Object.getOwnPropertySymbols,dh=ph?function(e){for(var r=[];e;)br(r,gr(e)),e=vr(e);return r}:di,ci=dh;function ch(e,r){return Qe(e,ci(e),r)}var In=ch;function uh(e,r,i){var t=r(e);return se(e)?t:br(t,i(e))}var ui=uh;function fh(e){return ui(e,Ke,gr)}var Br=fh;function hh(e){return ui(e,Je,ci)}var Cn=hh;var mh=Ne(Ae,"DataView"),fi=mh;var yh=Ne(Ae,"Promise"),hi=yh;var gh=Ne(Ae,"Set"),mi=gh;var bh=Ne(Ae,"WeakMap"),yi=bh;var Tn="[object Map]",vh="[object Object]",An="[object Promise]",Pn="[object Set]",Fn="[object WeakMap]",On="[object DataView]",Sh=St(fi),wh=St(Ft),xh=St(hi),Ih=St(mi),Ch=St(yi),Ht=je;(fi&&Ht(new fi(new ArrayBuffer(1)))!=On||Ft&&Ht(new Ft)!=Tn||hi&&Ht(hi.resolve())!=An||mi&&Ht(new mi)!=Pn||yi&&Ht(new yi)!=Fn)&&(Ht=function(e){var r=je(e),i=r==vh?e.constructor:void 0,t=i?St(i):"";if(t)switch(t){case Sh:return On;case wh:return Tn;case xh:return An;case Ih:return Pn;case Ch:return Fn}return r});var rt=Ht;var Th=Object.prototype,Ah=Th.hasOwnProperty;function Ph(e){var r=e.length,i=new e.constructor(r);return r&&typeof e[0]=="string"&&Ah.call(e,"index")&&(i.index=e.index,i.input=e.input),i}var En=Ph;var Fh=Ae.Uint8Array,Sr=Fh;function Oh(e){var r=new e.constructor(e.byteLength);return new Sr(r).set(new Sr(e)),r}var wr=Oh;function Eh(e,r){var i=r?wr(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.byteLength)}var Ln=Eh;var Lh=/\w*$/;function Dh(e){var r=new e.constructor(e.source,Lh.exec(e));return r.lastIndex=e.lastIndex,r}var Dn=Dh;var $n=De?De.prototype:void 0,jn=$n?$n.valueOf:void 0;function $h(e){return jn?Object(jn.call(e)):{}}var Rn=$h;function jh(e,r){var i=r?wr(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.length)}var gi=jh;var Rh="[object Boolean]",_h="[object Date]",kh="[object Map]",Bh="[object Number]",qh="[object RegExp]",Mh="[object Set]",Nh="[object String]",Wh="[object Symbol]",zh="[object ArrayBuffer]",Vh="[object DataView]",Uh="[object Float32Array]",Gh="[object Float64Array]",Hh="[object Int8Array]",Qh="[object Int16Array]",Kh="[object Int32Array]",Jh="[object Uint8Array]",Zh="[object Uint8ClampedArray]",Xh="[object Uint16Array]",Yh="[object Uint32Array]";function em(e,r,i){var t=e.constructor;switch(r){case zh:return wr(e);case Rh:case _h:return new t(+e);case Vh:return Ln(e,i);case Uh:case Gh:case Hh:case Qh:case Kh:case Jh:case Zh:case Xh:case Yh:return gi(e,i);case kh:return new t;case Bh:case Nh:return new t(e);case qh:return Dn(e);case Mh:return new t;case Wh:return Rn(e)}}var _n=em;var kn=Object.create,tm=function(){function e(){}return function(r){if(!we(r))return{};if(kn)return kn(r);e.prototype=r;var i=new e;return e.prototype=void 0,i}}(),Bn=tm;function rm(e){return typeof e.constructor=="function"&&!Dt(e)?Bn(vr(e)):{}}var bi=rm;var im="[object Map]";function am(e){return Ce(e)&&rt(e)==im}var qn=am;var Mn=xt&&xt.isMap,om=Mn?Et(Mn):qn,Nn=om;var nm="[object Set]";function sm(e){return Ce(e)&&rt(e)==nm}var Wn=sm;var zn=xt&&xt.isSet,lm=zn?Et(zn):Wn,Vn=lm;var pm=1,dm=2,cm=4,Un="[object Arguments]",um="[object Array]",fm="[object Boolean]",hm="[object Date]",mm="[object Error]",Gn="[object Function]",ym="[object GeneratorFunction]",gm="[object Map]",bm="[object Number]",Hn="[object Object]",vm="[object RegExp]",Sm="[object Set]",wm="[object String]",xm="[object Symbol]",Im="[object WeakMap]",Cm="[object ArrayBuffer]",Tm="[object DataView]",Am="[object Float32Array]",Pm="[object Float64Array]",Fm="[object Int8Array]",Om="[object Int16Array]",Em="[object Int32Array]",Lm="[object Uint8Array]",Dm="[object Uint8ClampedArray]",$m="[object Uint16Array]",jm="[object Uint32Array]",ue={};ue[Un]=ue[um]=ue[Cm]=ue[Tm]=ue[fm]=ue[hm]=ue[Am]=ue[Pm]=ue[Fm]=ue[Om]=ue[Em]=ue[gm]=ue[bm]=ue[Hn]=ue[vm]=ue[Sm]=ue[wm]=ue[xm]=ue[Lm]=ue[Dm]=ue[$m]=ue[jm]=!0;ue[mm]=ue[Gn]=ue[Im]=!1;function vi(e,r,i,t,a,o){var n,s=r&pm,l=r&dm,u=r&cm;if(i&&(n=a?i(e,t,a,o):i(e)),n!==void 0)return n;if(!we(e))return e;var d=se(e);if(d){if(n=En(e),!s)return pi(e,n)}else{var c=rt(e),p=c==Gn||c==ym;if(tt(e))return li(e,s);if(c==Hn||c==Un||p&&!a){if(n=l||p?{}:bi(e),!s)return l?In(e,mn(n,e)):xn(e,un(n,e))}else{if(!ue[c])return a?e:{};n=_n(e,c,s)}}o||(o=new pt);var f=o.get(e);if(f)return f;o.set(e,n),Vn(e)?e.forEach(function(b){n.add(vi(b,r,i,b,e,o))}):Nn(e)&&e.forEach(function(b,I){n.set(I,vi(b,r,i,I,e,o))});var m=u?l?Cn:Br:l?Je:Ke,y=d?void 0:m(e);return en(y||e,function(b,I){y&&(I=b,b=e[I]),ai(n,I,vi(b,r,i,I,e,o))}),n}var Qn=vi;var Rm=1,_m=4;function km(e){return Qn(e,Rm|_m)}var Bm=km;var qm=function(){return Ae.Date.now()},Si=qm;var Mm="Expected a function",Nm=Math.max,Wm=Math.min;function zm(e,r,i){var t,a,o,n,s,l,u=0,d=!1,c=!1,p=!0;if(typeof e!="function")throw new TypeError(Mm);r=ri(r)||0,we(i)&&(d=!!i.leading,c="maxWait"in i,o=c?Nm(ri(i.maxWait)||0,r):o,p="trailing"in i?!!i.trailing:p);function f(E){var P=t,O=a;return t=a=void 0,u=E,n=e.apply(O,P),n}function m(E){return u=E,s=setTimeout(I,r),d?f(E):n}function y(E){var P=E-l,O=E-u,j=r-P;return c?Wm(j,o-O):j}function b(E){var P=E-l,O=E-u;return l===void 0||P>=r||P<0||c&&O>=o}function I(){var E=Si();if(b(E))return S(E);s=setTimeout(I,y(E))}function S(E){return s=void 0,p&&t?f(E):(t=a=void 0,n)}function F(){s!==void 0&&clearTimeout(s),u=0,t=l=a=s=void 0}function w(){return s===void 0?n:S(Si())}function T(){var E=Si(),P=b(E);if(t=arguments,a=this,l=E,P){if(s===void 0)return m(l);if(c)return clearTimeout(s),s=setTimeout(I,r),f(l)}return s===void 0&&(s=setTimeout(I,r)),n}return T.cancel=F,T.flush=w,T}var Vm=zm;function Um(e,r,i){(i!==void 0&&!He(e[r],i)||i===void 0&&!(r in e))&&hr(e,r,i)}var qr=Um;function Gm(e){return function(r,i,t){for(var a=-1,o=Object(r),n=t(r),s=n.length;s--;){var l=n[e?s:++a];if(i(o[l],l,o)===!1)break}return r}}var Kn=Gm;var Hm=Kn(),wi=Hm;function Qm(e){return Ce(e)&&We(e)}var Jn=Qm;var Km="[object Object]",Jm=Function.prototype,Zm=Object.prototype,Zn=Jm.toString,Xm=Zm.hasOwnProperty,Ym=Zn.call(Object);function ey(e){if(!Ce(e)||je(e)!=Km)return!1;var r=vr(e);if(r===null)return!0;var i=Xm.call(r,"constructor")&&r.constructor;return typeof i=="function"&&i instanceof i&&Zn.call(i)==Ym}var xi=ey;function ty(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}var Mr=ty;function ry(e){return Qe(e,Je(e))}var Xn=ry;function iy(e,r,i,t,a,o,n){var s=Mr(e,i),l=Mr(r,i),u=n.get(l);if(u){qr(e,i,u);return}var d=o?o(s,l,i+"",e,r,n):void 0,c=d===void 0;if(c){var p=se(l),f=!p&&tt(l),m=!p&&!f&&Lt(l);d=l,p||f||m?se(s)?d=s:Jn(s)?d=pi(s):f?(c=!1,d=li(l,!0)):m?(c=!1,d=gi(l,!0)):d=[]:xi(l)||et(l)?(d=s,et(s)?d=Xn(s):(!we(s)||lr(s))&&(d=bi(l))):c=!1}c&&(n.set(l,d),a(d,l,t,o,n),n.delete(l)),qr(e,i,d)}var Yn=iy;function es(e,r,i,t,a){e!==r&&wi(r,function(o,n){if(a||(a=new pt),we(o))Yn(e,r,n,i,es,t,a);else{var s=t?t(Mr(e,n),o,n+"",e,r,a):void 0;s===void 0&&(s=o),qr(e,n,s)}},Je)}var Ii=es;function ay(e){return e}var $t=ay;function oy(e,r,i){switch(i.length){case 0:return e.call(r);case 1:return e.call(r,i[0]);case 2:return e.call(r,i[0],i[1]);case 3:return e.call(r,i[0],i[1],i[2])}return e.apply(r,i)}var Ci=oy;var ts=Math.max;function ny(e,r,i){return r=ts(r===void 0?e.length-1:r,0),function(){for(var t=arguments,a=-1,o=ts(t.length-r,0),n=Array(o);++a<o;)n[a]=t[r+a];a=-1;for(var s=Array(r+1);++a<r;)s[a]=t[a];return s[r]=i(n),Ci(e,this,s)}}var rs=ny;function sy(e){return function(){return e}}var is=sy;var ly=fr?function(e,r){return fr(e,"toString",{configurable:!0,enumerable:!1,value:is(r),writable:!0})}:$t,as=ly;var py=800,dy=16,cy=Date.now;function uy(e){var r=0,i=0;return function(){var t=cy(),a=dy-(t-i);if(i=t,a>0){if(++r>=py)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}var os=uy;var fy=os(as),ns=fy;function hy(e,r){return ns(rs(e,r,$t),e+"")}var xr=hy;function my(e,r,i){if(!we(i))return!1;var t=typeof r;return(t=="number"?We(i)&&mr(r,i.length):t=="string"&&r in i)?He(i[r],e):!1}var Qt=my;function yy(e){return xr(function(r,i){var t=-1,a=i.length,o=a>1?i[a-1]:void 0,n=a>2?i[2]:void 0;for(o=e.length>3&&typeof o=="function"?(a--,o):void 0,n&&Qt(i[0],i[1],n)&&(o=a<3?void 0:o,a=1),r=Object(r);++t<a;){var s=i[t];s&&e(r,s,t,o)}return r})}var Ir=yy;var gy=Ir(function(e,r,i,t){Ii(e,r,i,t)}),by=gy;var vy="[object Map]",Sy="[object Set]",wy=Object.prototype,xy=wy.hasOwnProperty;function Iy(e){if(e==null)return!0;if(We(e)&&(se(e)||typeof e=="string"||typeof e.splice=="function"||tt(e)||Lt(e)||et(e)))return!e.length;var r=rt(e);if(r==vy||r==Sy)return!e.size;if(Dt(e))return!si(e).length;for(var i in e)if(xy.call(e,i))return!1;return!0}var Cy=Iy;var Ty="__lodash_hash_undefined__";function Ay(e){return this.__data__.set(e,Ty),this}var ss=Ay;function Py(e){return this.__data__.has(e)}var ls=Py;function Ti(e){var r=-1,i=e==null?0:e.length;for(this.__data__=new Gt;++r<i;)this.add(e[r])}Ti.prototype.add=Ti.prototype.push=ss;Ti.prototype.has=ls;var ps=Ti;function Fy(e,r){for(var i=-1,t=e==null?0:e.length;++i<t;)if(r(e[i],i,e))return!0;return!1}var ds=Fy;function Oy(e,r){return e.has(r)}var cs=Oy;var Ey=1,Ly=2;function Dy(e,r,i,t,a,o){var n=i&Ey,s=e.length,l=r.length;if(s!=l&&!(n&&l>s))return!1;var u=o.get(e),d=o.get(r);if(u&&d)return u==r&&d==e;var c=-1,p=!0,f=i&Ly?new ps:void 0;for(o.set(e,r),o.set(r,e);++c<s;){var m=e[c],y=r[c];if(t)var b=n?t(y,m,c,r,e,o):t(m,y,c,e,r,o);if(b!==void 0){if(b)continue;p=!1;break}if(f){if(!ds(r,function(I,S){if(!cs(f,S)&&(m===I||a(m,I,i,t,o)))return f.push(S)})){p=!1;break}}else if(!(m===y||a(m,y,i,t,o))){p=!1;break}}return o.delete(e),o.delete(r),p}var Ai=Dy;function $y(e){var r=-1,i=Array(e.size);return e.forEach(function(t,a){i[++r]=[a,t]}),i}var us=$y;function jy(e){var r=-1,i=Array(e.size);return e.forEach(function(t){i[++r]=t}),i}var fs=jy;var Ry=1,_y=2,ky="[object Boolean]",By="[object Date]",qy="[object Error]",My="[object Map]",Ny="[object Number]",Wy="[object RegExp]",zy="[object Set]",Vy="[object String]",Uy="[object Symbol]",Gy="[object ArrayBuffer]",Hy="[object DataView]",hs=De?De.prototype:void 0,da=hs?hs.valueOf:void 0;function Qy(e,r,i,t,a,o,n){switch(i){case Hy:if(e.byteLength!=r.byteLength||e.byteOffset!=r.byteOffset)return!1;e=e.buffer,r=r.buffer;case Gy:return!(e.byteLength!=r.byteLength||!o(new Sr(e),new Sr(r)));case ky:case By:case Ny:return He(+e,+r);case qy:return e.name==r.name&&e.message==r.message;case Wy:case Vy:return e==r+"";case My:var s=us;case zy:var l=t&Ry;if(s||(s=fs),e.size!=r.size&&!l)return!1;var u=n.get(e);if(u)return u==r;t|=_y,n.set(e,r);var d=Ai(s(e),s(r),t,a,o,n);return n.delete(e),d;case Uy:if(da)return da.call(e)==da.call(r)}return!1}var ms=Qy;var Ky=1,Jy=Object.prototype,Zy=Jy.hasOwnProperty;function Xy(e,r,i,t,a,o){var n=i&Ky,s=Br(e),l=s.length,u=Br(r),d=u.length;if(l!=d&&!n)return!1;for(var c=l;c--;){var p=s[c];if(!(n?p in r:Zy.call(r,p)))return!1}var f=o.get(e),m=o.get(r);if(f&&m)return f==r&&m==e;var y=!0;o.set(e,r),o.set(r,e);for(var b=n;++c<l;){p=s[c];var I=e[p],S=r[p];if(t)var F=n?t(S,I,p,r,e,o):t(I,S,p,e,r,o);if(!(F===void 0?I===S||a(I,S,i,t,o):F)){y=!1;break}b||(b=p=="constructor")}if(y&&!b){var w=e.constructor,T=r.constructor;w!=T&&"constructor"in e&&"constructor"in r&&!(typeof w=="function"&&w instanceof w&&typeof T=="function"&&T instanceof T)&&(y=!1)}return o.delete(e),o.delete(r),y}var ys=Xy;var Yy=1,gs="[object Arguments]",bs="[object Array]",Pi="[object Object]",eg=Object.prototype,vs=eg.hasOwnProperty;function tg(e,r,i,t,a,o){var n=se(e),s=se(r),l=n?bs:rt(e),u=s?bs:rt(r);l=l==gs?Pi:l,u=u==gs?Pi:u;var d=l==Pi,c=u==Pi,p=l==u;if(p&&tt(e)){if(!tt(r))return!1;n=!0,d=!1}if(p&&!d)return o||(o=new pt),n||Lt(e)?Ai(e,r,i,t,a,o):ms(e,r,l,i,t,a,o);if(!(i&Yy)){var f=d&&vs.call(e,"__wrapped__"),m=c&&vs.call(r,"__wrapped__");if(f||m){var y=f?e.value():e,b=m?r.value():r;return o||(o=new pt),a(y,b,i,t,o)}}return p?(o||(o=new pt),ys(e,r,i,t,a,o)):!1}var Ss=tg;function ws(e,r,i,t,a){return e===r?!0:e==null||r==null||!Ce(e)&&!Ce(r)?e!==e&&r!==r:Ss(e,r,i,t,ws,a)}var Cr=ws;function rg(e,r){return Cr(e,r)}var xs=rg;function ig(e){return e==null}var ca=ig;function ag(e){return e===null}var og=ag;var ng=Ir(function(e,r,i){Ii(e,r,i)}),sg=ng;var Is=De?De.isConcatSpreadable:void 0;function lg(e){return se(e)||et(e)||!!(Is&&e&&e[Is])}var Cs=lg;function Ts(e,r,i,t,a){var o=-1,n=e.length;for(i||(i=Cs),a||(a=[]);++o<n;){var s=e[o];r>0&&i(s)?r>1?Ts(s,r-1,i,t,a):br(a,s):t||(a[a.length]=s)}return a}var As=Ts;function pg(e,r){for(var i=-1,t=e==null?0:e.length,a=Array(t);++i<t;)a[i]=r(e[i],i,e);return a}var jt=pg;var dg=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,cg=/^\w*$/;function ug(e,r){if(se(e))return!1;var i=typeof e;return i=="number"||i=="symbol"||i=="boolean"||e==null||Ye(e)?!0:cg.test(e)||!dg.test(e)||r!=null&&e in Object(r)}var Tr=ug;var fg=500;function hg(e){var r=sa(e,function(t){return i.size===fg&&i.clear(),t}),i=r.cache;return r}var Ps=hg;var mg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,yg=/\\(\\)?/g,gg=Ps(function(e){var r=[];return e.charCodeAt(0)===46&&r.push(""),e.replace(mg,function(i,t,a,o){r.push(a?o.replace(yg,"$1"):t||i)}),r}),Fs=gg;var bg=1/0,Os=De?De.prototype:void 0,Es=Os?Os.toString:void 0;function Ls(e){if(typeof e=="string")return e;if(se(e))return jt(e,Ls)+"";if(Ye(e))return Es?Es.call(e):"";var r=e+"";return r=="0"&&1/e==-bg?"-0":r}var Ds=Ls;function vg(e){return e==null?"":Ds(e)}var dt=vg;function Sg(e,r){return se(e)?e:Tr(e,r)?[e]:Fs(dt(e))}var Fi=Sg;var wg=1/0;function xg(e){if(typeof e=="string"||Ye(e))return e;var r=e+"";return r=="0"&&1/e==-wg?"-0":r}var Rt=xg;function Ig(e,r){r=Fi(r,e);for(var i=0,t=r.length;e!=null&&i<t;)e=e[Rt(r[i++])];return i&&i==t?e:void 0}var Ar=Ig;var Cg=1,Tg=2;function Ag(e,r,i,t){var a=i.length,o=a,n=!t;if(e==null)return!o;for(e=Object(e);a--;){var s=i[a];if(n&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++a<o;){s=i[a];var l=s[0],u=e[l],d=s[1];if(n&&s[2]){if(u===void 0&&!(l in e))return!1}else{var c=new pt;if(t)var p=t(u,d,l,e,r,c);if(!(p===void 0?Cr(d,u,Cg|Tg,t,c):p))return!1}}return!0}var $s=Ag;function Pg(e){return e===e&&!we(e)}var Oi=Pg;function Fg(e){for(var r=Ke(e),i=r.length;i--;){var t=r[i],a=e[t];r[i]=[t,a,Oi(a)]}return r}var js=Fg;function Og(e,r){return function(i){return i==null?!1:i[e]===r&&(r!==void 0||e in Object(i))}}var Ei=Og;function Eg(e){var r=js(e);return r.length==1&&r[0][2]?Ei(r[0][0],r[0][1]):function(i){return i===e||$s(i,e,r)}}var Rs=Eg;function Lg(e,r,i){var t=e==null?void 0:Ar(e,r);return t===void 0?i:t}var _s=Lg;function Dg(e,r){return e!=null&&r in Object(e)}var ks=Dg;function $g(e,r,i){r=Fi(r,e);for(var t=-1,a=r.length,o=!1;++t<a;){var n=Rt(r[t]);if(!(o=e!=null&&i(e,n)))break;e=e[n]}return o||++t!=a?o:(a=e==null?0:e.length,!!a&&yr(a)&&mr(n,a)&&(se(e)||et(e)))}var Bs=$g;function jg(e,r){return e!=null&&Bs(e,r,ks)}var qs=jg;var Rg=1,_g=2;function kg(e,r){return Tr(e)&&Oi(r)?Ei(Rt(e),r):function(i){var t=_s(i,e);return t===void 0&&t===r?qs(i,e):Cr(r,t,Rg|_g)}}var Ms=kg;function Bg(e){return function(r){return r?.[e]}}var Ns=Bg;function qg(e){return function(r){return Ar(r,e)}}var Ws=qg;function Mg(e){return Tr(e)?Ns(Rt(e)):Ws(e)}var zs=Mg;function Ng(e){return typeof e=="function"?e:e==null?$t:typeof e=="object"?se(e)?Ms(e[0],e[1]):Rs(e):zs(e)}var Vs=Ng;function Wg(e,r){return e&&wi(e,r,Ke)}var Us=Wg;function zg(e,r){return function(i,t){if(i==null)return i;if(!We(i))return e(i,t);for(var a=i.length,o=r?a:-1,n=Object(i);(r?o--:++o<a)&&t(n[o],o,n)!==!1;);return i}}var Gs=zg;var Vg=Gs(Us),Hs=Vg;function Ug(e,r){var i=-1,t=We(e)?Array(e.length):[];return Hs(e,function(a,o,n){t[++i]=r(a,o,n)}),t}var Qs=Ug;function Gg(e,r){var i=e.length;for(e.sort(r);i--;)e[i]=e[i].value;return e}var Ks=Gg;function Hg(e,r){if(e!==r){var i=e!==void 0,t=e===null,a=e===e,o=Ye(e),n=r!==void 0,s=r===null,l=r===r,u=Ye(r);if(!s&&!u&&!o&&e>r||o&&n&&l&&!s&&!u||t&&n&&l||!i&&l||!a)return 1;if(!t&&!o&&!u&&e<r||u&&i&&a&&!t&&!o||s&&i&&a||!n&&a||!l)return-1}return 0}var Js=Hg;function Qg(e,r,i){for(var t=-1,a=e.criteria,o=r.criteria,n=a.length,s=i.length;++t<n;){var l=Js(a[t],o[t]);if(l){if(t>=s)return l;var u=i[t];return l*(u=="desc"?-1:1)}}return e.index-r.index}var Zs=Qg;function Kg(e,r,i){r.length?r=jt(r,function(o){return se(o)?function(n){return Ar(n,o.length===1?o[0]:o)}:o}):r=[$t];var t=-1;r=jt(r,Et(Vs));var a=Qs(e,function(o,n,s){var l=jt(r,function(u){return u(o)});return{criteria:l,index:++t,value:o}});return Ks(a,function(o,n){return Zs(o,n,i)})}var Xs=Kg;var Jg=xr(function(e,r){if(e==null)return[];var i=r.length;return i>1&&Qt(e,r[0],r[1])?r=[]:i>2&&Qt(r[0],r[1],r[2])&&(r=[r[0]]),Xs(e,As(r,1),[])}),Zg=Jg;var Xg=Ir(function(e,r,i,t){Qe(r,Je(r),e,t)}),ua=Xg;var Yg="[object DOMException]",eb="[object Error]";function tb(e){if(!Ce(e))return!1;var r=je(e);return r==eb||r==Yg||typeof e.message=="string"&&typeof e.name=="string"&&!xi(e)}var Li=tb;var rb=xr(function(e,r){try{return Ci(e,void 0,r)}catch(i){return Li(i)?i:new Error(i)}}),Ys=rb;function ib(e,r,i){var t=-1,a=e.length;r<0&&(r=-r>a?0:a+r),i=i>a?a:i,i<0&&(i+=a),a=r>i?0:i-r>>>0,r>>>=0;for(var o=Array(a);++t<a;)o[t]=e[t+r];return o}var el=ib;function ab(e,r,i){var t=e.length;return i=i===void 0?t:i,!r&&i>=t?e:el(e,r,i)}var tl=ab;var ob="\\ud800-\\udfff",nb="\\u0300-\\u036f",sb="\\ufe20-\\ufe2f",lb="\\u20d0-\\u20ff",pb=nb+sb+lb,db="\\ufe0e\\ufe0f",cb="\\u200d",ub=RegExp("["+cb+ob+pb+db+"]");function fb(e){return ub.test(e)}var Di=fb;function hb(e){return e.split("")}var rl=hb;var il="\\ud800-\\udfff",mb="\\u0300-\\u036f",yb="\\ufe20-\\ufe2f",gb="\\u20d0-\\u20ff",bb=mb+yb+gb,vb="\\ufe0e\\ufe0f",Sb="["+il+"]",fa="["+bb+"]",ha="\\ud83c[\\udffb-\\udfff]",wb="(?:"+fa+"|"+ha+")",al="[^"+il+"]",ol="(?:\\ud83c[\\udde6-\\uddff]){2}",nl="[\\ud800-\\udbff][\\udc00-\\udfff]",xb="\\u200d",sl=wb+"?",ll="["+vb+"]?",Ib="(?:"+xb+"(?:"+[al,ol,nl].join("|")+")"+ll+sl+")*",Cb=ll+sl+Ib,Tb="(?:"+[al+fa+"?",fa,ol,nl,Sb].join("|")+")",Ab=RegExp(ha+"(?="+ha+")|"+Tb+Cb,"g");function Pb(e){return e.match(Ab)||[]}var pl=Pb;function Fb(e){return Di(e)?pl(e):rl(e)}var dl=Fb;function Ob(e){return function(r){r=dt(r);var i=Di(r)?dl(r):void 0,t=i?i[0]:r.charAt(0),a=i?tl(i,1).join(""):r.slice(1);return t[e]()+a}}var cl=Ob;var Eb=cl("toUpperCase"),ul=Eb;function Lb(e){return ul(dt(e).toLowerCase())}var Db=Lb;function $b(e){return function(r){return e?.[r]}}var fl=$b;var jb={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Rb=fl(jb),hl=Rb;var ml=/[&<>"']/g,_b=RegExp(ml.source);function kb(e){return e=dt(e),e&&_b.test(e)?e.replace(ml,hl):e}var yl=kb;function Bb(e,r){return jt(r,function(i){return e[i]})}var gl=Bb;var qb="[object Number]";function Mb(e){return typeof e=="number"||Ce(e)&&je(e)==qb}var Nb=Mb;var bl=Object.prototype,Wb=bl.hasOwnProperty;function zb(e,r,i,t){return e===void 0||He(e,bl[i])&&!Wb.call(t,i)?r:e}var ma=zb;var Vb={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function Ub(e){return"\\"+Vb[e]}var vl=Ub;var Gb=/<%=([\s\S]+?)%>/g,$i=Gb;var Hb=/<%-([\s\S]+?)%>/g,Sl=Hb;var Qb=/<%([\s\S]+?)%>/g,wl=Qb;var Kb={escape:Sl,evaluate:wl,interpolate:$i,variable:"",imports:{_:{escape:yl}}},ya=Kb;var Jb="Invalid `variable` option passed into `_.template`",Zb=/\b__p \+= '';/g,Xb=/\b(__p \+=) '' \+/g,Yb=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ev=/[()=,{}\[\]\/\s]/,tv=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ji=/($^)/,rv=/['\n\r\u2028\u2029\\]/g,iv=Object.prototype,xl=iv.hasOwnProperty;function av(e,r,i){var t=ya.imports._.templateSettings||ya;i&&Qt(e,r,i)&&(r=void 0),e=dt(e),r=ua({},r,t,ma);var a=ua({},r.imports,t.imports,ma),o=Ke(a),n=gl(a,o),s,l,u=0,d=r.interpolate||ji,c="__p += '",p=RegExp((r.escape||ji).source+"|"+d.source+"|"+(d===$i?tv:ji).source+"|"+(r.evaluate||ji).source+"|$","g"),f=xl.call(r,"sourceURL")?"//# sourceURL="+(r.sourceURL+"").replace(/\s/g," ")+`
5
5
  `:"";e.replace(p,function(b,I,S,F,w,T){return S||(S=F),c+=e.slice(u,T).replace(rv,vl),I&&(s=!0,c+=`' +
6
6
  __e(`+I+`) +
7
7
  '`),w&&(l=!0,c+=`';
@@ -53,5 +53,5 @@ Currently this property is only used for bar and line series.`,default:"sideBySi
53
53
 
54
54
  {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PublishingInfo.html#status Read more...}`},updating:{type:"boolean",description:"Indicates if the layer's status is still being updated.",default:`false
55
55
 
56
- {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PublishingInfo.html#updating Read more...}`}},required:["declaredClass","destroyed","initialized","status","updating"],title:"__esri.PublishingInfo"},"__esri.ScaleRangeLayer":{type:"object",properties:{maxScale:{type:"number"},minScale:{type:"number"}},required:["maxScale","minScale"],title:"__esri.ScaleRangeLayer"},"__esri.TemporalLayer":{type:"object",properties:{useViewTime:{type:"boolean"}},required:["useViewTime"],title:"__esri.TemporalLayer"},"__esri.TrackableLayer":{type:"object",title:"__esri.TrackableLayer"},"__esri.SubtypeSublayer":{type:"object",properties:{uid:{type:"string"},loadError:{anyOf:[{$ref:"#/definitions/__esri.Error"},{$ref:"#/definitions/nullish"}]},loadStatus:{type:"string",enum:["not-loaded","loading","failed","loaded"]},loadWarnings:{type:"array",items:{}},destroyed:{type:"boolean"},initialized:{type:"boolean"},declaredClass:{type:"string"}},required:["declaredClass","destroyed","initialized","loadError","loadStatus","loadWarnings","uid"],title:"__esri.SubtypeSublayer"},RGBObject:{type:"object",properties:{r:{type:"number"},g:{type:"number"},b:{type:"number"},a:{type:"number",default:1}},required:["r","g","b"],description:"JSON representation of the color object",title:"RGBObject"},IRendererSymbol:{type:"object",properties:{style:{type:"string"},color:{$ref:"#/definitions/Color"},outline:{$ref:"#/definitions/ISimpleLineSymbol"},label:{type:"string"},uniqueValue:{type:"string"},type:{$ref:"#/definitions/SymbolType"}},required:["color","type"],title:"IRendererSymbol"},WebChartDataItemColor:{anyOf:[{$ref:"#/definitions/Color"},{$ref:"#/definitions/RGBArray"},{$ref:"#/definitions/RGBObject"},{type:"string"}],title:"WebChartDataItemColor"},RGBArray:{type:"array",items:{type:"number"},minItems:3,maxItems:3,title:"RGBArray"},WebChartDataItemValue:{anyOf:[{type:"string",format:"date-time"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IRendererSymbol"},{type:"array",items:{type:"number"}},{type:"array",items:{type:"string"}},{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},{$ref:"#/definitions/WebChartDataItemColor"},{type:"boolean"},{type:"number"},{type:"string"},{type:"null"},{not:{}}],title:"WebChartDataItemValue"},WebChartDataItem:{$ref:"#/definitions/Record%3Cstring%2CWebChartDataItemValue%3E",description:"JSON representation of a typical data item",title:"WebChartDataItem"},"Record<string,WebChartDataItemValue>":{type:"object",additionalProperties:{$ref:"#/definitions/WebChartDataItemValue"},title:"Record<string,WebChartDataItemValue>"},WebChartBoxPlotDataItem:{type:"object",properties:{dataItems:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},outliers:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},meanLines:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}}},required:["dataItems"],description:"JSON representation of the processed data for a Box Plot",title:"WebChartBoxPlotDataItem"},ScatterplotTrendLineData:{type:"object",properties:{r2:{type:"number"},trendLinePoints:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"},minItems:2,maxItems:2}},description:"JSON representation of the processed data for a Scatter plot trend line",title:"ScatterplotTrendLineData"},WebChartScatterplotDataItem:{type:"object",properties:{r2:{type:"number"},trendLinePoints:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"},minItems:2,maxItems:2},dataItems:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}}},required:["dataItems"],description:"JSON representation of the processed data for a Scatter plot",title:"WebChartScatterplotDataItem"},WebChartGenericDataItem:{type:"object",properties:{dataItems:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},timeIntervalInfo:{$ref:"#/definitions/TimeIntervalInfo",description:"Time interval information, only for line charts"}},required:["dataItems"],description:"JSON representation of the generic data structure for bar, line bar-line, gauge and pie chart",title:"WebChartGenericDataItem"},WebChartBin:{type:"object",properties:{count:{type:"number"},minValue:{type:"number",description:"Min value in the bin"},maxValue:{type:"number",description:"Max value in the bin"},symbol:{$ref:"#/definitions/WebChartDataItem"}},required:["count","minValue","maxValue"],description:"JSON representation of a Histogram bin",title:"WebChartBin"},WebChartHistogramDataItem:{type:"object",properties:{mean:{type:"number"},median:{type:"number"},stddev:{type:"number"},max:{type:"number"},min:{type:"number"},sum:{type:"number",description:"Sum of the values of all the points"},count:{type:"number",description:"Number of all the points/features in un-binned data (including only non-null entries)"},nulls:{type:"number",description:"Number of null entries in the pool of points"},bins:{type:"array",items:{$ref:"#/definitions/WebChartBin"}}},required:["mean","median","stddev","max","min","bins"],description:"JSON representation of the processed data for a Histogram",title:"WebChartHistogramDataItem"},WebChartDataTypes:{anyOf:[{$ref:"#/definitions/WebChartBoxPlotDataItem"},{$ref:"#/definitions/WebChartGenericDataItem"},{$ref:"#/definitions/WebChartHistogramDataItem"},{$ref:"#/definitions/WebChartScatterplotDataItem"}],title:"WebChartDataTypes"},WebChartTypes:{type:"string",enum:["chart","chartText","chartOverlay","chartOverlays","chartLegend","cursorCrosshair","chartAxis","gaugeAxisTick","gaugeNeedle","category","number","date","chartGuide","scatterSeries","pieSeries","pieTick","gaugeSeries","lineSeries","barSeries","histogramSeries","boxPlotSeries","radarSeries","comboLineAndBarSeries","buffer","sizeScale"],title:"WebChartTypes"},WebChartStatisticType:{type:"string",enum:["count","sum","min","max","avg","stddev","var","percentile-continuous","percentile-discrete","envelope-aggregate","centroid-aggregate","convex-hull-aggregate","no_aggregation"],title:"WebChartStatisticType"},WebChartColoringPatterns:{type:"string",enum:["singleColor","colorMatch"],title:"WebChartColoringPatterns"},WebChartBoxPlotMultipleSeriesKinds:{type:"string",enum:["sideBySide","meanLines"],title:"WebChartBoxPlotMultipleSeriesKinds"},WebChartLineSmoothedKinds:{type:"string",enum:["bezier","monotoneX","monotoneY"],description:"Represents the different types of smoothing that can be applied to a line chart when the `lineSmoothed` property is set to `true`.",title:"WebChartLineSmoothedKinds"},WebChartTemporalBinningTypes:{type:"string",enum:["fixedDateBased","calendarBased"],description:"Represents the different types of temporal binning that can be applied to a chart.",title:"WebChartTemporalBinningTypes"},WebChartVersionStatus:{type:"string",enum:["same","newer","older","unrecognized"],title:"WebChartVersionStatus"},WebChartAxisTypes:{type:"string",enum:["value","date","category"],description:"Represents the different types of axes that can be used in a chart.",title:"WebChartAxisTypes"},RESTFieldType:{type:"string",enum:["esriFieldTypeBlob","esriFieldTypeDate","esriFieldTypeDateOnly","esriFieldTypeTimestampOffset","esriFieldTypeDouble","esriFieldTypeGeometry","esriFieldTypeGlobalID","esriFieldTypeGUID","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeBigInteger","esriFieldTypeOID","esriFieldTypeRaster","esriFieldTypeSingle","esriFieldTypeString","esriFieldTypeXML"],title:"RESTFieldType"},RESTSimpleLineSymbolStyle:{type:"string",enum:["esriSLSDash","esriSLSDashDot","esriSLSDashDotDot","esriSLSDot","esriSLSNull","esriSLSSolid"],title:"RESTSimpleLineSymbolStyle"},RESTSimpleMarkerSymbolStyle:{type:"string",enum:["esriSMSCircle","esriSMSCross","esriSMSDiamond","esriSMSSquare","esriSMSX","esriSMSTriangle"],title:"RESTSimpleMarkerSymbolStyle"},RESTSimpleFillSymbolStyle:{type:"string",enum:["esriSFSBackwardDiagonal","esriSFSCross","esriSFSDiagonalCross","esriSFSForwardDiagonal","esriSFSHorizontal","esriSFSNull","esriSFSSolid","esriSFSVertical"],title:"RESTSimpleFillSymbolStyle"},RESTHorizontalAlignment:{type:"string",enum:["left","right","center","justify"],title:"RESTHorizontalAlignment"},RESTVerticalAlignment:{type:"string",enum:["baseline","top","middle","bottom"],title:"RESTVerticalAlignment"},RESTSymbolType:{type:"string",enum:["esriSLS","esriSMS","esriSFS","esriPMS","esriPFS","esriTS"],title:"RESTSymbolType"},RESTFontStyle:{type:"string",enum:["italic","normal","oblique"],title:"RESTFontStyle"},RESTFontWeight:{type:"string",enum:["bold","bolder","lighter","normal"],title:"RESTFontWeight"},RESTFontDecoration:{type:"string",enum:["line-through","underline","none"],title:"RESTFontDecoration"},RESTRendererType:{type:"string",enum:["unique-value","simple","class-breaks","heatmap","dot-density","dictionary","pie-chart"],title:"RESTRendererType"},OverlayTerms:{type:"string",enum:["Mean","Median","Standard Deviation","Normal Distribution","Trendline"],title:"OverlayTerms"},CalculatedMinMaxBoundsPayload:{type:"object",properties:{isXAxis:{type:"boolean"},isSecondValueAxis:{type:"boolean"},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."}},required:["isXAxis"],description:"+ Represents a subset of the event payload carrying the chart's axes bounds. See event `arcgisChartsAxesMinMaxChange`.",title:"CalculatedMinMaxBoundsPayload"},ChartDeletePayload:{type:"object",properties:{chartId:{type:"string"}},required:["chartId"],description:"Represents the payload of the event sent when a chart is removed from the chart list (component arcgis-charts-config-view-charts).",title:"ChartDeletePayload"},LegendItemVisibility:{type:"object",properties:{visible:{type:"boolean"},seriesId:{type:"string"},overlayType:{$ref:"#/definitions/OverlayTerms"},sliceId:{type:"string"},sliceData:{$ref:"#/definitions/WebChartDataItem"}},required:["visible"],description:"Represents the payload of the event sent when an item is toggled in the chart's legend (slice or series).",title:"LegendItemVisibility"},IFeatureSet:{type:"object",properties:{hasZ:{type:"boolean"},hasM:{type:"boolean"},objectIdFieldName:{type:"string"},globalIdFieldName:{type:"string"},displayFieldName:{type:"string"},geometryType:{$ref:"#/definitions/GeometryType"},spatialReference:{$ref:"#/definitions/ISpatialReference"},fields:{type:"array",items:{$ref:"#/definitions/IField"}},features:{type:"array",items:{$ref:"#/definitions/IFeature"}},fieldAliases:{$ref:"#/definitions/Record%3Cstring%2Cstring%3E"}},required:["features"],description:'`IFeatureSet` can also be imported from the following packages:\n\n```js import { IFeatureSet } from "@esri/arcgis-rest-feature-layer"; ```',title:"IFeatureSet"},"Record<string,string>":{type:"object",additionalProperties:{type:"string"},title:"Record<string,string>"},ILocation:{type:"object",properties:{latitude:{type:"number"},longitude:{type:"number"},lat:{type:"number"},long:{type:"number"},z:{type:"number"}},description:'`ILocation` can also be imported from the following packages:\n\n```js import { ILocation } from "@esri/arcgis-rest-routing"; import { ILocation } from "@esri/arcgis-rest-geocoding"; ```',title:"ILocation"},IPolylineWithCurves:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},curvePaths:{type:"array",items:{type:"array",items:{anyOf:[{$ref:"#/definitions/JsonCurve"},{$ref:"#/definitions/Position"}]}}}},required:["curvePaths"],title:"IPolylineWithCurves"},ElipticArc:{$ref:"#/definitions/IArc",title:"ElipticArc"},SpatialRelationship:{type:"string",enum:["esriSpatialRelContains","esriSpatialRelCrosses","esriSpatialRelEnvelopeIntersects","esriSpatialRelIndexIntersects","esriSpatialRelIntersects","esriSpatialRelOverlaps","esriSpatialRelTouches","esriSpatialRelWithin"],description:'The spatial relationship used to compare input geometries\n\n`SpatialRelationship` can also be imported from the following packages:\n\n```js import { SpatialRelationship } from "@esri/arcgis-rest-feature-layer"; ```',title:"SpatialRelationship"},IMultipoint:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},points:{type:"array",items:{$ref:"#/definitions/Position"}}},required:["points"],description:"A multipoint contains an array of points.",title:"IMultipoint"},Units:{type:"string",enum:["esriSRUnit_Foot","esriSRUnit_Kilometer","esriSRUnit_Meter","esriSRUnit_NauticalMile","esriSRUnit_StatuteMile","esriSRUnit_USNauticalMile"],description:'`Units` can also be imported from the following packages:\n\n```js import { Units } from "@esri/arcgis-rest-feature-layer"; ```',title:"Units"},GroupMembership:{type:"string",enum:["admin","member","none","owner"],description:'`GroupMembership` can also be imported from the following packages:\n\n```js import { GroupMembership } from "@esri/arcgis-rest-portal"; ```',title:"GroupMembership"},IGroupAdd:{type:"object",properties:{title:{type:"string"},access:{type:"string",enum:["org","private","public"]},owner:{type:"string"},tags:{type:"array",items:{type:"string"}},description:{type:"string"},phone:{type:"string"},sortField:{type:"string",enum:["avgrating","created","modified","numviews","owner","title"]},sortOrder:{type:"string",enum:["asc","desc"]},isViewOnly:{type:"boolean"},isInvitationOnly:{type:"boolean"},thumbnail:{type:"string"},autoJoin:{type:"boolean"},snippet:{type:"string"}},required:["title","access"],description:'A [Group](https://developers.arcgis.com/rest/users-groups-and-items/common-parameters.htm) that has not been created yet.\n\n`IGroupAdd` can also be imported from the following packages:\n\n```js import { IGroupAdd } from "@esri/arcgis-rest-portal"; ```',title:"IGroupAdd"},IGroup:{type:"object",properties:{title:{type:"string"},access:{type:"string",enum:["org","private","public"]},owner:{type:"string"},tags:{type:"array",items:{type:"string"}},description:{type:"string"},phone:{type:"string"},sortField:{type:"string",enum:["avgrating","created","modified","numviews","owner","title"]},sortOrder:{type:"string",enum:["asc","desc"]},isViewOnly:{type:"boolean"},isInvitationOnly:{type:"boolean"},thumbnail:{type:"string"},autoJoin:{type:"boolean"},snippet:{type:"string"},id:{type:"string"},created:{type:"number"},modified:{type:"number"},protected:{type:"boolean"},isOpenData:{type:"boolean"},isFav:{type:"boolean"},userMembership:{type:"object",properties:{username:{type:"string"},memberType:{$ref:"#/definitions/GroupMembership"},applications:{type:"number"}}},hasCategorySchema:{type:"boolean"}},required:["access","autoJoin","created","id","isFav","isInvitationOnly","isViewOnly","modified","owner","protected","tags","title"],description:'Existing Portal [Group](https://developers.arcgis.com/rest/users-groups-and-items/group.htm).\n\n`IGroup` can also be imported from the following packages:\n\n```js import { IGroup } from "@esri/arcgis-rest-portal"; ```',title:"IGroup"},IItemAdd:{type:"object",properties:{title:{type:"string"},type:{type:"string"},owner:{type:"string"},typeKeywords:{type:"array",items:{type:"string"}},description:{type:"string"},snippet:{type:"string"},documentation:{type:"string"},extent:{type:"array",items:{type:"array",items:{type:"number"}}},categories:{type:"array",items:{type:"string"}},spatialReference:{$ref:"#/definitions/ISpatialReference"},culture:{type:"string"},properties:{},url:{type:"string"},tags:{type:"array",items:{type:"string"}}},required:["title","type"],description:'A Portal [Item](https://developers.arcgis.com/rest/users-groups-and-items/common-parameters.htm) that has not been created yet.\n\n`IItemAdd` can also be imported from the following packages:\n\n```js import { IItemAdd } from "@esri/arcgis-rest-portal"; ```',title:"IItemAdd"},IItemUpdate:{type:"object",properties:{id:{type:"string"}},required:["id"],description:'A Portal [Item](https://developers.arcgis.com/rest/users-groups-and-items/common-parameters.htm) to be updated.\n\n`IItemUpdate` can also be imported from the following packages:\n\n```js import { IItemUpdate } from "@esri/arcgis-rest-portal"; ```',title:"IItemUpdate"},IItem:{type:"object",properties:{title:{type:"string"},type:{type:"string"},owner:{type:"string"},typeKeywords:{type:"array",items:{type:"string"}},description:{type:"string"},snippet:{type:"string"},documentation:{type:"string"},extent:{type:"array",items:{type:"array",items:{type:"number"}}},categories:{type:"array",items:{type:"string"}},spatialReference:{$ref:"#/definitions/ISpatialReference"},culture:{type:"string"},properties:{},url:{type:"string"},tags:{type:"array",items:{type:"string"}},id:{type:"string"},created:{type:"number"},modified:{type:"number"},numViews:{type:"number"},size:{type:"number"},protected:{type:"boolean"}},required:["created","id","modified","numViews","owner","size","tags","title","type"],description:'Existing Portal [Item](https://developers.arcgis.com/rest/users-groups-and-items/item.htm).\n\n`IItem` can also be imported from the following packages:\n\n```js import { IItem } from "@esri/arcgis-rest-portal"; ```',title:"IItem"},IFolder:{type:"object",properties:{username:{type:"string"},id:{type:"string"},title:{type:"string"},created:{type:"number"}},required:["username","id","title"],description:'Used for organizing content. See [Create Folder](https://developers.arcgis.com/rest/users-groups-and-items/create-folder.htm) for more details.\n\n`IFolder` can also be imported from the following packages:\n\n```js import { IFolder } from "@esri/arcgis-rest-portal"; ```',title:"IFolder"},IFeatureServiceDefinition:{type:"object",properties:{currentVersion:{type:"number"},serviceDescription:{type:"string"},hasVersionedData:{type:"boolean"},supportsDisconnectedEditing:{type:"boolean"},supportsReturnDeleteResults:{type:"boolean"},hasStaticData:{type:"boolean",description:"Boolean value indicating whether data changes. True if it does not."},maxRecordCount:{type:"number",description:"Numeric value indicating tbe maximum number of records that will be returned at once for a query."},supportedQueryFormats:{type:"string",description:"String value indicating the output formats that are supported in a query."},supportsRelationshipsResource:{type:"boolean"},capabilities:{type:"string",description:"A comma separated list of supported capabilities, e.g. Query,Editing."},description:{type:"string",description:"String value of the layer as defined in the map service."},copyrightText:{type:"string",description:"String value for the copyright text information for the layer."},advancedEditingCapabilities:{$ref:"#/definitions/Record%3Cstring%2Cboolean%3E"},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"An object containing the WKID or WKT identifying the spatial reference of the layer's geometry."},initialExtent:{$ref:"#/definitions/IExtent"},fullExtent:{$ref:"#/definitions/IExtent"},allowGeometryUpdates:{type:"boolean",description:"Boolean value indicating whether the geometry of the features in the layer can be edited."},units:{type:"string"},syncEnabled:{type:"boolean"},returnServiceEditsHaveSR:{type:"boolean"},validationSystemLayers:{type:"object",properties:{validationPointErrorlayerId:{type:"number"},validationLineErrorlayerId:{type:"number"},validationPolygonErrorlayerId:{type:"number"},validationObjectErrortableId:{type:"number"}},required:["validationPointErrorlayerId","validationLineErrorlayerId","validationPolygonErrorlayerId","validationObjectErrortableId"]},extractChangesCapabilities:{type:"object",properties:{supportsReturnIdsOnly:{type:"boolean"},supportsReturnExtentOnly:{type:"boolean"},supportsReturnAttachments:{type:"boolean"},supportsLayerQueries:{type:"boolean"},supportsSpatialFilter:{type:"boolean"},supportsReturnFeature:{type:"boolean"}},required:["supportsReturnIdsOnly","supportsReturnExtentOnly","supportsReturnAttachments","supportsLayerQueries","supportsSpatialFilter","supportsReturnFeature"]},syncCapabilities:{type:"object",properties:{supportsASync:{type:"boolean"},supportsRegisteringExistingData:{type:"boolean"},supportsSyncDirectionControl:{type:"boolean"},supportsPerLayerSync:{type:"boolean"},supportsPerReplicaSync:{type:"boolean"},supportsRollbackOnFailure:{type:"boolean"},supportedSyncDataOptions:{type:"number"}},required:["supportsASync","supportsRegisteringExistingData","supportsSyncDirectionControl","supportsPerLayerSync","supportsPerReplicaSync","supportsRollbackOnFailure","supportedSyncDataOptions"]},editorTrackingInfo:{type:"object",properties:{enableEditorTracking:{type:"boolean"},enableOwnershipAccessControl:{type:"boolean"},allowOthersToUpdate:{type:"boolean"},allowOthersToDelete:{type:"boolean"}},required:["enableEditorTracking","enableOwnershipAccessControl","allowOthersToUpdate","allowOthersToDelete"]},documentInfo:{$ref:"#/definitions/Record%3Cstring%2Cstring%3E"},layers:{type:"array",items:{$ref:"#/definitions/ILayerDefinition"}},tables:{type:"array",items:{$ref:"#/definitions/ITable"}},relationships:{type:"array",items:{type:"object",properties:{id:{type:"number"},name:{type:"string"},backwardPathLabel:{type:"string"},originLayerId:{type:"number"},originPrimaryKey:{type:"string"},forwardPathLabel:{type:"string"},destinationLayerId:{type:"number"},originForeignKey:{type:"string"},relationshipTableId:{type:"number"},destinationPrimaryKey:{type:"string"},destinationForeignKey:{type:"string"},rules:{type:"array",items:{type:"object",properties:{ruleID:{type:"number"},originSubtypeCode:{type:"number"},originMinimumCardinality:{type:"number"},originMaximumCardinality:{type:"number"},destinationSubtypeCode:{type:"number"},destinationMinimumCardinality:{type:"number"},destinationMaximumCardinality:{type:"number"}},required:["ruleID","originSubtypeCode","originMinimumCardinality","originMaximumCardinality","destinationSubtypeCode","destinationMinimumCardinality","destinationMaximumCardinality"]},minItems:1,maxItems:1},cardinality:{type:"string",enum:["esriRelCardinalityManyToMany","esriRelCardinalityOneToMany","esriRelCardinalityOneToOne"]},attributed:{type:"boolean"},composite:{type:"boolean"}},required:["id","name","backwardPathLabel","originLayerId","originPrimaryKey","forwardPathLabel","destinationLayerId","originForeignKey","relationshipTableId","destinationPrimaryKey","destinationForeignKey","rules","cardinality","attributed","composite"]},minItems:1,maxItems:1},enableZDefaults:{type:"boolean"},isLocationTrackingService:{type:"boolean"},isLocationTrackingView:{type:"boolean"},zDefault:{type:"number"}},required:["serviceDescription","hasVersionedData","supportsDisconnectedEditing","supportsReturnDeleteResults","maxRecordCount","supportedQueryFormats","supportsRelationshipsResource","capabilities","description","copyrightText","advancedEditingCapabilities","spatialReference","initialExtent","fullExtent","allowGeometryUpdates","units","syncEnabled","validationSystemLayers","extractChangesCapabilities","syncCapabilities","editorTrackingInfo","layers","tables","relationships","isLocationTrackingService","isLocationTrackingView"],description:'`IFeatureServiceDefinition` can also be imported from the following packages:\n\n```js import { IFeatureServiceDefinition } from "@esri/arcgis-rest-service-admin"; import { IFeatureServiceDefinition } from "@esri/arcgis-rest-feature-layer"; ```',title:"IFeatureServiceDefinition"},"Record<string,boolean>":{type:"object",additionalProperties:{type:"boolean"},title:"Record<string,boolean>"},ITable:{type:"object",properties:{name:{type:"string",description:"Table name"},capabilities:{type:"string",description:"A comma-separated string listing which editing operations are allowed on an editable feature service. Available operations include: 'Create', 'Delete', 'Query', 'Update', and 'Editing'."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"Object indicating the definitionEditor used as a layer's interactive filter."},id:{type:"number",description:"Unique identifier for the table."},itemId:{type:"string",description:"Unique string value indicating an item registered in ArcGIS Online or your organization's portal."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining a definition expression for the table."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"An object defining the content of popup windows when you query a record and the sort option for child related records."},title:{type:"string",description:"String value for the title of the table."},url:{type:"string",description:"String value indicating the URL reference of the hosted table."}},description:'Root element in the web map specifying an array of table objects.\n\n`ITable` can also be imported from the following packages:\n\n```js import { ITable } from "@esri-arcgis-rest-service-admin" ```',title:"ITable"},IServiceInfo:{type:"object",properties:{adminServiceInfo:{type:"object",properties:{name:{type:"string"},type:{type:"string"},status:{type:"string"},database:{type:"object",properties:{datasource:{type:"object",properties:{name:{type:"string"}},required:["name"]}},required:["datasource"]}},required:["name","type","status","database"]},layers:{type:"array",items:{$ref:"#/definitions/Record%3Cstring%2Cunknown%3E"}}},required:["adminServiceInfo","layers"],description:"Very generic structure representing the return value from the /arcgis/rest/admin/services/<service-name>/FeatureServer?f=json response",title:"IServiceInfo"},"Record<string,unknown>":{type:"object",additionalProperties:{},title:"Record<string,unknown>"},IViewServiceSource:{type:"object",properties:{name:{type:"string"},type:{type:"string"},url:{type:"string"},serviceItemId:{type:"string"}},required:["name","type","url","serviceItemId"],description:"Individual View Source entry",title:"IViewServiceSource"},IViewServiceSources:{type:"object",properties:{currentVersion:{type:"number"},services:{type:"array",items:{$ref:"#/definitions/IViewServiceSource"}}},required:["currentVersion","services"],description:"Response from the /sources end-point of a view service",title:"IViewServiceSources"},IServiceNameAvailable:{type:"object",properties:{available:{type:"boolean"}},required:["available"],description:"Response from the portals/Self/isServiceNameAvailable request",title:"IServiceNameAvailable"},IPictureSourced:{type:"object",properties:{url:{type:"string"},imageData:{type:"string"},contentType:{type:"string"},width:{type:"number"},height:{type:"number"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"}},title:"IPictureSourced"},IPictureFillSymbol:{type:"object",properties:{url:{type:"string"},imageData:{type:"string"},contentType:{type:"string"},width:{type:"number"},height:{type:"number"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},type:{type:"string",const:"esriPFS"},style:{type:"string"},outline:{$ref:"#/definitions/ISimpleLineSymbol"},xscale:{type:"number"},yscale:{type:"number"}},required:["type"],title:"IPictureFillSymbol"},IPictureMarkerSymbol:{type:"object",properties:{url:{type:"string"},imageData:{type:"string"},contentType:{type:"string"},width:{type:"number"},height:{type:"number"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},type:{type:"string",const:"esriPMS"},style:{type:"string"}},required:["type"],title:"IPictureMarkerSymbol"},ITextSymbol:{type:"object",properties:{type:{type:"string",const:"esriTS"},style:{type:"string"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string"}},required:["type"],title:"ITextSymbol"},IUser:{type:"object",properties:{username:{type:"string"},fullName:{type:"string"},availableCredits:{type:"number"},assignedCredits:{type:"number"},firstName:{type:"string"},lastName:{type:"string"},preferredView:{},description:{type:"string"},email:{type:"string"},idpUsername:{type:"string"},favGroupId:{type:"string"},lastLogin:{type:"number"},mfaEnabled:{type:"boolean"},access:{type:"string"},storageUsage:{type:"number"},storageQuota:{type:"number"},orgId:{type:"string"},cOrgId:{type:"string"},role:{type:"string",enum:["org_admin","org_publisher","org_user"]},privileges:{type:"array",items:{type:"string"}},roleId:{type:"string"},level:{type:"string"},disabled:{type:"boolean"},units:{type:"string"},tags:{type:"array",items:{type:"string"}},culture:{type:"string"},region:{type:"string"},thumbnail:{type:"string"},created:{type:"number"},modified:{type:"number"},groups:{type:"array",items:{$ref:"#/definitions/IGroup"}},provider:{type:"string",enum:["arcgis","enterprise","facebook","google"]}},description:'An ArcGIS Online or Enterprise user\n\n`IUser` can also be imported from the following packages:\n\n```js import { IUser } from "@esri/arcgis-rest-auth"; import { IUser } from "@esri/arcgis-rest-portal"; ```',title:"IUser"},IPagingParams:{type:"object",properties:{start:{type:"number"},num:{type:"number"}},description:'Params for paging operations\n\n`IPagingParams` can also be imported from the following packages:\n\n```js import { IPagingParams } from "@esri/arcgis-rest-portal"; ```',title:"IPagingParams"},IPagedResponse:{type:"object",properties:{start:{type:"number"},num:{type:"number"},total:{type:"number",description:"total number of object across all pages"},nextStart:{type:"number",description:"next entry index or -1 for the last page"}},required:["total","nextStart"],description:'Paging properties for paged responses.\n\n`IPagedResponse` can also be imported from the following packages:\n\n```js import { IPagedResponse } from "@esri/arcgis-rest-portal"; ```',title:"IPagedResponse"},IWebMapBackground:{type:"object",properties:{color:{$ref:"#/definitions/Color",description:"To define the color of the background of the map (which is shown when no data is shown)."}},required:["color"],description:"Defines the appearance for the background of the map.",examples:[{background:{color:[255,255,255,255]}}],title:"IWebMapBackground"},IBookmark:{type:"object",properties:{extent:{$ref:"#/definitions/IExtent",description:"An extent object containing a spatial reference, a lower left coordinate, and an upper right coordinate defining the rectangular area of the bookmark. The spatial reference must be the same as the map spatial reference. Documentation for the envelope is in the Geometry Objects topic of the ArcGIS REST API help."},name:{type:"string",description:"A string name for the bookmark."}},required:["extent","name"],description:"Predefined bookmarks for use by the application. A bookmark is a saved map extent that allows end users to quickly navigate to a particular area of interest.",title:"IBookmark"},IMapRangeInfo:{type:"object",properties:{activeRangeName:{type:"string",description:"Active range ID that slider/picker acts upon."},currentRangeExtent:{type:"array",items:{type:"number"},description:"Current range for the active range."},fullRangeExtent:{type:"array",items:{type:"number"},description:"Full range extent for the active range to be presented in the UI."}},description:"Map range information",examples:[{mapRangeInfo:{activeRangeName:"floors",currentRangeExtent:[-2,10],fullRangeExtent:[-2,100]}}],title:"IMapRangeInfo"},IMapLocation:{type:"object",properties:{centerPoint:{$ref:"#/definitions/IPoint",description:"The center of the map specified using X/Y coordinates."},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"Well-known ID (WKID) or well-known text (WKT)."}},required:["centerPoint","spatialReference"],description:"Contains location information within a presentation slide.",title:"IMapLocation"},IVisibleLayer:{type:"object",properties:{featureVisibility:{type:"array",items:{type:"array",items:{}},description:"An array of arrays."},id:{type:"number",description:"The id of the layer as listed on the operational layer."},subLayerIds:{type:"array",items:{type:"number"},description:"An array of integers."}},description:"An array of numbers indicating layer visibility.",examples:[{visibleLayer:{featureVisibility:[[1],[],[],[0]],id:"73128eb3-05ee-46a7-8c22-0c385a0b1827"}}],title:"IVisibleLayer"},IVisiblePopup:{type:"object",properties:{anchorPoint:{$ref:"#/definitions/IPoint",description:"Object with spatialReference, x, and y."},featureId:{type:"number",description:"An integer specifying the feature's id."},layerId:{type:"string",description:"A string specifying the layer id."},subLayerId:{type:"number",description:"An integer specifying the sublayer id."}},description:"A presentation slide's visiblePopup which contains anchorPoint, featureId, layerId, and subLayerId.",title:"IVisiblePopup"},ISlide:{type:"object",properties:{baseMap:{$ref:"#/definitions/IBaseMap",description:"Basemaps give the web map a geographic context."},extent:{$ref:"#/definitions/IExtent",description:"The standard Esri extent object with spatialReference, xmax, xmin, ymax and ymin."},hidden:{type:"boolean",description:"Indicates whether the slide should be hidden within the presentation."},mapLocation:{$ref:"#/definitions/IMapLocation",description:"An object with a centerPoint object and sometimes a resolution."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"An array of two numbers. The first one indicates start time and the second one indicates end time."},title:{type:"string",description:"Title including text and formatting for each slide."},visibleLayers:{$ref:"#/definitions/IVisibleLayer",description:"An array of objects used to indicate layer visibility."},visiblePopup:{$ref:"#/definitions/IVisiblePopup",description:"A presentation slide's visiblePopup which contains anchorPoint, featureId, layerId, and subLayerId."}},title:"ISlide"},IBaseMap:{type:"object",properties:{baseMapLayers:{type:"array",items:{$ref:"#/definitions/ILayer"},description:"An array of baseMapLayer objects defining the basemaps used in the web map."},title:{type:"string",description:"Required string title for the basemap that can be used in a table of contents. It takes the title of the first baseMapLayer in the array."}},required:["baseMapLayers","title"],description:"A basemap layer is a layer that provides geographic context to the map. A web map always contains a basemap. The basemap has a title and is the combination of each baseMapLayer. It is required that a baseMap be saved within the web map.",title:"IBaseMap"},IPresentation:{type:"object",properties:{displayTimeSlider:{type:"boolean",description:"Indicates whether to display the time slider (if accessible)."},showLegend:{type:"boolean",description:"Indicates whether to display a legend on all slides."},slideAdvancementInterval:{type:"number",description:"Number of seconds to show slide before proceeding to the next slide."},slides:{type:"array",items:{$ref:"#/definitions/ISlide"},description:"Array of slide objects."},useTimeExtentOfSlide:{type:"boolean",description:"Indicates whether to use the time extent (if applicable) of a slide."}},title:"IPresentation"},IWebmap:{type:"object",properties:{applicationProperties:{$ref:"#/definitions/IApplicationProperties",description:"Viewing and editing properties of the webmap"},authoringApp:{type:"string",description:"String value indicating the application which authored the webmap"},authoringAppVersion:{type:"string",description:"String value indicating the authoring App's version number"},background:{$ref:"#/definitions/IWebMapBackground",description:"Defines the appearance for the background of the map."},baseMap:{$ref:"#/definitions/IBaseMap",description:"[Required] Basemaps give the web map a geographic context"},bookmarks:{type:"array",items:{$ref:"#/definitions/IBookmark"},description:"A bookmark is a saved geographic extent that allows end users to quickly navigate to a particular area of interest"},mapRangeInfo:{$ref:"#/definitions/IMapRangeInfo",description:"Map Range Information"},operationalLayers:{type:"array",items:{$ref:"#/definitions/ILayer"},description:"Operational layers contain business data which are used to make thematic maps"},presentation:{description:"A presentation consists of multiple slides. Each slide has a different title, extent, basemap, layers etc"},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"[Required] An object used to specify the spatial reference of the given geometry."},tables:{type:"array",items:{$ref:"#/definitions/ITable"},description:"Root element in the web map specifying an array of table objects. (optional)"},version:{type:"string",description:"[Required] Root element in the web map specifying a string value indicating the web map version."},widgets:{description:"The widgets object contains widgets that should be exposed to the user"}},required:["baseMap","spatialReference","version"],description:"The web map data lists the basemap, operational layers, and bookmarks to be used in the web map. It also contains information about popup windows and layer styling overrides to be used in the web map. A version property allows you to supply the version of the web map JSON format being used.",title:"IWebmap"},IApplicationProperties:{type:"object",properties:{editing:{anyOf:[{$ref:"#/definitions/IEditingProperties"},{type:"null"}],description:"If locationTracking is set and enabled, the Collector application will update the feature service at the defined interval with the current location of the user logged into the Collector app."},offline:{anyOf:[{$ref:"#/definitions/IOfflineInfo"},{type:"null"}],description:"Use if working with offline maps."},viewing:{anyOf:[{$ref:"#/definitions/IViewingInfo"},{type:"null"}],description:"An object containing all the viewing properties of the web map. If this is null or not defined, the client should assume a logical default."}},description:"The applicationProperties object is one of the objects at the top level of the JSON web map JSON schema. This is responsible for containing the viewing and editing properties of the web map. There are specific objects within this object that are applicable only to Collector and are explained within the property descriptions.",title:"IApplicationProperties"},IEditingProperties:{type:"object",properties:{locationTracking:{$ref:"#/definitions/ILocationTracking",description:"If locationTracking is set and enabled, the collector app will update the feature service at the defined interval with the current location of the user logged into the collector application."}},required:["locationTracking"],description:"An object containing all the editing properties within the web map.",title:"IEditingProperties"},ILocationTracking:{type:"object",properties:{enabled:{type:"boolean",description:"A boolean value indicating whether or not location tracking is enabled on the webmap."},info:{$ref:"#/definitions/ILocationTrackingInfo",description:"An object of additional information specifying layer and update interval time."}},required:["enabled","info"],description:"If locationTracking is set and enabled, the collector app will update the feature service at the defined interval with the current location of the user logged into the collector application.",title:"ILocationTracking"},ILocationTrackingInfo:{type:"object",properties:{layerId:{description:"A string value indicating the given layer id specified in the web map."},updateInterval:{description:"A numeric value indicating the time interval used to update the feature service. Default value is 300 seconds."}},required:["layerId"],description:"An object containing additional information specifying layer and update interval time used in the locationTracking object.",title:"ILocationTrackingInfo"},IOfflineInfo:{type:"object",properties:{editableLayers:{$ref:"#/definitions/IEditableLayers",description:"Object detailing the available offline editing options."},readonlyLayers:{$ref:"#/definitions/IReadOnlyLayers",description:"Object indicating what to do with attachments in read-only layers."}},required:["editableLayers","readonlyLayers"],description:"Use if working with offline maps.",title:"IOfflineInfo"},IEditableLayers:{type:"object",properties:{download:{type:"string",enum:["featuers","featuresAndAttachments","none"],description:"When editing layers, the edits are always sent to the server. This string value indicates which data is retrieved. For example, none indicates that only the schema is written since neither the features nor attachments are retrieved. For a full sync without downloading attachments, indicate features. Lastly, the default behavior is to have a full sync using featuresAndAttachments where both features and attachments are retrieved."},sync:{type:"string",enum:["syncFeaturesAndAttachments","syncFeaturesUploadAttachments","uploadFeaturesAndAttachments"],description:"This string value indicates how the data is synced."}},required:["download","sync"],description:"Object detailing the available offline editing options.",title:"IEditableLayers"},IReadOnlyLayers:{type:"object",properties:{downloadAttachments:{type:"boolean",description:"Indicates whether to include attachments with the read-only data."}},required:["downloadAttachments"],description:"Read-only layers as the features are always retrieved from the server.",title:"IReadOnlyLayers"},IViewingInfo:{type:"object",properties:{basemapGallery:{$ref:"#/definitions/IEnableable",description:"The basemap tool which will use the basemap group defined in the Portal."},measure:{$ref:"#/definitions/IEnableable",description:"Measure tool."},routing:{$ref:"#/definitions/IEnableable",description:"The route tool which will leverage the Portals defined route service."},search:{$ref:"#/definitions/ISearch",description:"An object specifying search parameters within the webmap."}},description:"An object containing all the viewing properties of the web map. If this is null or not defined, the client should assume a logical default.",title:"IViewingInfo"},IEnableable:{type:"object",properties:{enabled:{type:"boolean"}},required:["enabled"],title:"IEnableable"},ISearch:{type:"object",properties:{enabled:{type:"boolean"},disablePlaceFinder:{description:"A boolean value indicating whether or not to disable the place finder."},hintText:{description:"A string value used to indicate the hint provided with the search dialog."},layers:{description:"An array of layer objects defining the styling, geometry, and attribute information for the features."}},required:["enabled"],description:"An object specifying the search parameters set within the web map.",title:"ISearch"},IRange:{type:"object",properties:{interactionMode:{type:"string",enum:["picker","slider"],description:"Indicates the mode in which the active range should be presented to the user. Must be one of the following values: slider, picker"},numberOfStops:{description:"This is used to generate the activeRangeValues if activeRangeValues are not specified."},stopInterval:{type:"number",description:"Interval in which stops should be generated."}},description:"Range object.",title:"IRange"},IWidget:{type:"object",properties:{range:{$ref:"#/definitions/IRange",description:"Active range."},timeSlider:{$ref:"#/definitions/ITimeSliderProperties",description:"Time animation is controlled by a configurable time slider. The time slider widget will act upon all the time aware layers in the map."}},description:"The widgets object contains widgets that should be exposed to the user.",title:"IWidget"},ITimeSliderProperties:{type:"object",properties:{currentTimeExtent:{type:"array",items:{type:"number"},description:"An optional array of numbers indicating the slider's start to end time extent."},endTime:{type:"number",description:"The optional end of the time slider. If not specified, the slider defaults to the full time extent of all time-enabled layers."},numberOfStops:{type:"number",description:"Number of stops within the timeSlider widget."},startTime:{type:"number",description:"The optional start of the time slider. If not specified, the slider defaults to the full time extent of all time-enabled layers."},thumbCount:{type:"number",description:"The default value for the thumbCount is 1."},thumbMovingRate:{type:"number",description:"Rate at which the time animation plays. Units are in milliseconds. Default is 1000."},timeStopInterval:{type:"number",description:"The interval which has been defined for the time slider."}},description:"Configurable properties used within the TimeSlider widget.",title:"ITimeSliderProperties"},ITimeSlider:{type:"object",properties:{properties:{$ref:"#/definitions/ITimeSliderProperties",description:"Configurable properties used within the TimeSlider widget."}},required:["properties"],description:"Time animation is controlled by a configurable time slider. Those configurations are saved to the web map as a timeSlider widget.",title:"ITimeSlider"},IBingLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",enum:["BingMapsAerial","BingMapsHybrid","BingMapsRoad"],description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},bingKey:{type:"string",description:"String value that unlocks the use of Bing layers in a web map."},canShareBingPublic:{type:"boolean",description:"Boolean value indicating whether the Bing key can be shared to the public."},portalUrl:{type:"string",description:"A string value representing the URL to the Portal/organization Self resource. Calls should be made to this property to retrieve the Bing key. If the key is not made accessible to the public or if canShareBingPublic is false, any web maps using Bing layers will not work."}},required:["id","layerType"],title:"IBingLayer"},IImageServiceLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISImageServiceLayer",description:"String indicating the layer type. Value of this property must be ArcGISImageServiceLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},bandIds:{type:"array",items:{type:"number"},description:"An array of bandIds that are visible, can specify bands to export or rearrange band order(from image service)."},compressionQuality:{description:"Controls how much loss the image will be subjected to by the compression algorithm (from image service)."},definitionEditor:{description:"Stores interactive filters."},disablePopup:{type:"boolean",description:"Boolean property indicating whether to ignore popups defined by the service item."},format:{type:"string",enum:["bmp","gif","jpg","jpgpng","png","png8","png24","png32","tiff"],description:"String value representing image format."},interpolation:{type:"string",enum:["RSP_BilinearInterpolation","RSP_CubicConvolution","RSP_Majority","RSP_NearestNeighbor"],description:"The algorithm used for interpolation."},isReference:{type:"boolean",description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layerDefinition:{description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},mosaicRule:{description:"Specifies the mosaic rule when defining how individual images should be mosaicked."},noData:{description:"The pixel value that represents no information."},noDataInterpretation:{type:"string",enum:["esriNoDataMatchAll","esriNoDataMatchAny"],description:"A string value of interpretation of noData setting. Default is 'esriNoDataMatchAny' when noData is a number, and 'esriNoDataMatchAll' when noData is an array."},pixelType:{type:"string",enum:["C64","C128","F32","F64","S8","S16","S32","U1","U2","U4","U8","U16","U32","UNKNOWN"],description:"Pertains to the type of values stored in the raster, such as signed integer, unsigned integer, or floating point."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},renderingRule:{description:"Specifies the rendering rule for how the requested image should be rendered."}},required:["id","layerType"],title:"IImageServiceLayer"},IImageVectorLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISImageServiceVectorLayer",description:"String indicating the layer type. Value of this property must be ArcGISImageServiceVectorLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},definitionEditor:{description:"Stores interactive filters."},disablePopup:{description:"Boolean property indicating whether to ignore popups defined by the service item."},isReference:{type:"boolean",description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layerDefinition:{description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},mosaicRule:{description:"Specifies the mosaic rule when defining how individual images should be mosaicked."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},symbolTileSize:{description:"Number describing the size of the tile."}},required:["id","layerType"],title:"IImageVectorLayer"},IChildLayer:{type:"object",properties:{defaultVisibility:{description:"Default visibility of the layers in the map service."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"An object that provides interactive filters."},featureSet:{$ref:"#/definitions/IFeatureSet",description:"A featureSet object containing the geometry and attributes of the features in the layer. Used with feature collections only."},field:{type:"array",items:{$ref:"#/definitions/IField"},description:"Information about each field in a layer. Used with feature collections."},id:{type:"string",description:"A string indicating the index position of the layer in the map service or feature collection."},layerDefinition:{description:"The layerDefinition object defines the attribute schema and drawing information for the layer."},layerUrl:{description:"A string URL to a service that should be used for all queries against the layer. Used with hosted tiled map services on ArcGIS Online when there is an associated feature service that allows for queries."},maxScale:{description:"Represents the maximum scale at which the layer definition will be applied."},minScale:{description:"Represents the minimum scale at which the layer definition will be applied."},nextObjectId:{description:"Iterates within a featureset. Number objectId value is incremented +1 based on last Object ID defined for the feature in a featureset. Used with feature collections."},parentLayerId:{description:"If working with nested layers, this is the numeric value indicating the layer id of the next layer (parent) directly above the current referenced layer."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the popup window content for the layer."},showLegend:{description:"Indicates whether to allow map authors the ability to control what layers should be shown in a client's legend."},subLayer:{description:"Array of numeric values indicating the layer index for layers nested directly under the parent layer."},subLayerIds:{description:"If the layer is a parent layer, it will have one or more sub layers included in an array."},title:{description:"A user-friendly string title for the layer that can be used in a table of contents."}},description:"A layer object may allow overrides on popup content and drawing behavior for individual layers of a web service. This object also contains geographic features and their attributes when used in a feature collection.",title:"IChildLayer"},IMapServiceLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISMapServiceLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},isReference:{description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layers:{type:"array",items:{$ref:"#/definitions/IChildLayer"},description:"An array of layer objects defining the styling, geometry, and attribute information for the features."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},thematicGroup:{$ref:"#/definitions/IThematicGroup",description:"(Optional) A thematicGroup object used in ArcGISMapServiceLayer layers."},visibleLayers:{type:"array",items:{type:"number"},description:"An array of sublayer ids that should appear visible. Used with map service layers that are not tiled."}},required:["id","layerType"],title:"IMapServiceLayer"},IThematicGroup:{type:"object",properties:{fieldNames:{type:"array",items:{type:"string"},description:"An array of string values indicating all the fields used within the webmap. All other fields can be disregarded and should not display in any field selection list."},layerIds:{type:"array",items:{type:"number"},description:"A zero-based array of integers indicating the layers to be used in the webmap. NOTE: All other layers should not be added to the TOC and may or may not be visible on the map as reference layers."},name:{type:"string",description:"String property indicating the name for the thematic grouping of layers."}},title:"IThematicGroup"},IDrawingInfo:{type:"object",properties:{fixedSymbols:{description:"Only used for feature collections with a renderer. The feature's symbol is defined by the layer's renderer."},labelingInfo:{description:"An object defining the properties used for labeling the layer."},renderer:{description:"An object defined which provides the symbology for the layer."},scaleSymbols:{description:"Boolean property indicating whether symbols should stay the same size in screen units as you zoom in. A value of true means the symbols stay the same size in screen units regardless of the map scale."},showLabels:{type:"boolean",description:"Defines whether labels should be shown or not. This is only valid for sublayers."},transparency:{type:"number",description:"Number value ranging between 0 (no transparency) to 100 (completely transparent)."}},title:"IDrawingInfo"},ITypeInfoDomain:{type:"object",properties:{type:{type:"string"}},required:["type"],title:"ITypeInfoDomain"},ITypeInfo:{type:"object",properties:{domains:{$ref:"#/definitions/Record%3Cstring%2CITypeInfoDomain%3E",description:"A comma-delimited series of domain objects for each domain in the type."},id:{type:["number","string"],description:"A unique string or numerical ID for the type."},name:{type:"string",description:"A user-friendly name for the type."},templates:{type:"array",items:{$ref:"#/definitions/ITemplate"},description:"Defined as a property of the layer definition when there are no types defined; otherwise, templates are defined as properties of the types."}},title:"ITypeInfo"},"Record<string,ITypeInfoDomain>":{type:"object",additionalProperties:{$ref:"#/definitions/ITypeInfoDomain"},title:"Record<string,ITypeInfoDomain>"},IOpenStreetMapLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"OpenStreetMap",description:"String indicating the layer type. Value of this property must be OpenStreetMap"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"OpenStreetMap",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."}},required:["id","layerType"],description:"Allows use of OpenStreetMap data for use in basemaps only.",title:"IOpenStreetMapLayer"},ITiledImageServiceLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISTiledImageServiceLayer",description:"String indicating the layer type. Value of this property must be ArcGISTiledImageServiceLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},isReference:{type:"boolean",description:"Applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],title:"ITiledImageServiceLayer"},IExclusionArea:{type:"object",properties:{geometry:{$ref:"#/definitions/IGeometry",description:"The geometry defining the area where no data will be fetched. Only extent is supported."},maxScale:{type:"number",description:"The zoom level where the exclusion ends."},maxZoom:{type:"number",description:"The zoom level where the exclusion ends."},minScale:{type:"number",description:"The zoom level where the exclusion starts."},minZoom:{type:"number",description:"The zoom level where the exclusion starts."}},description:"Exclusion areas define extent areas where no data will be fetched for a layer.",title:"IExclusionArea"},ITiledMapServiceLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISTiledMapServiceLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},displayLevels:{anyOf:[{type:"array",items:{type:"number"}},{type:"number"}],description:"NOTE: Applicable if used as a baseMapLayer. Integer value(s) indicating the display levels of the basemap layer. Only applicable for TiledMapService layers. All tiled map service layers should share the same tiling scheme. This property cannot be set via the Map Viewer UI."},exclusionAreas:{type:"array",items:{$ref:"#/definitions/IExclusionArea"},description:"NOTE: Applicable if used as a baseMapLayer. An array of exclusionArea objects defining the layer exclusions."},isReference:{description:"This property is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layers:{type:"array",items:{$ref:"#/definitions/IChildLayer"},description:"An array of layer objects defining a URL for queries and the popup window content."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],description:"An ArcGIS Tiled Map Service layer displays map content from an ArcGIS Server Map service that has been cached (tiled).",title:"ITiledMapServiceLayer"},IVectorTileLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"VectorTileLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"VectorTileLayer",description:"Deprecated. User layerType instead."},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},styleUrl:{type:"string",description:"A url to a JSON file containing the stylesheet information used to render the layer. You may also pass an object containing the stylesheet information identical to the JSON file."}},required:["id","layerType"],description:"A vector tile layer references a set of web-accessible vector tiles and the corresponding style for how those tiles should be drawn.",title:"IVectorTileLayer"},ILod:{type:"object",properties:{level:{type:"number",description:"ID for each level."},levelValue:{type:"string",description:"String to be used when constructing URL to access a tile from this LOD."},resolution:{type:"number",description:"Resolution in map units of each pixel in a tile for each level."},scale:{type:"number",description:"Scale for each level."}},title:"ILod"},ITileInfo:{type:"object",properties:{cols:{description:"Requested tile's column."},compressionQuality:{description:"Compression quality of the tile."},dpi:{description:"The dpi of the tiling scheme."},format:{type:"string",enum:["bmp","emf","gif","jpg","lerc","mixed","pdf","png","png8","png24","png32","ps","svg","svgz"],description:"Image format of the cached tiles."},lods:{type:"array",items:{$ref:"#/definitions/ILod"},description:"An array of levels of detail that define the tiling scheme."},origin:{$ref:"#/definitions/IPoint",description:"The tiling scheme origin."},rows:{description:"Requested tile's row."},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"The spatial reference of the tiling schema."}},description:"Tile information, returned from the WMTS OGC Web Service. The tileInfo will contain the spatial reference of the layer. tileInfo is the same json representation as the ArcGIS Map/Image service tileInfo except that it may contain a levelValue on the lod objects that should be used instead of the level in the templateUrl.",title:"ITileInfo"},IWebMapTileServiceInfo:{type:"object",properties:{customLayerParameters:{description:"A sequence of parameters used to append different custom parameters to a WMTS tile request. These parameters are applied to GetTile. The customLayerParameters property takes precedence if customParameters is also present."},customParameters:{description:"A sequence of parameters used to append custom parameters to all WMTS requests. These parameters are applied to GetCapabilities and GetTile. If used with the customLayerParameters property, customParameters will not take precedence."},layerIdentifier:{type:"string",description:"Identifier for the specific layer used in the WMTS service. Required input by the user."},tileMatrixSet:{description:"Tiling schema, set by the WMTS service."},url:{type:"string",description:"URL to the WMTS web service. Required input by the user."}},required:["layerIdentifier","url"],description:"Object defines and provides information about layers in a WMTSLayer service.",title:"IWebMapTileServiceInfo"},IWebTiledLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"WebTiledLayer",description:"String indicating the layer type. Value of this property must be WebTiledLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"WebTiledLayer",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},copyright:{description:"Attribution to the Web Tiled Layer provider. It is displayed in the attribution on the web map. Input required by the user when the layer is added to the web map."},fullExtent:{$ref:"#/definitions/IExtent",description:"An extent object representing the full extent envelope for the layer."},isReference:{description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},refreshInterval:{description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},subDomains:{description:"If subdomains are detected, they must be specified. The map viewer detects if the Web Tiled Layer has subdomains by parsing the templateURL value for {subDomain}."},templateUrl:{description:"URL to the Web Tiled Layer. Input required by the user when the layer is added to the web map. The template URL contains a parameterized URL. The URL can contain the following templated parameters: 'level', 'col', 'row', and 'subDomain'."},tileInfo:{$ref:"#/definitions/ITileInfo",description:"Contains the spatial reference and the tiling scheme of the layer. Typically retrieved from a WMTS OGC Web Service. If missing the layer must be in the WGS 1984 Web Mercator (Auxiliary Sphere) tiling scheme."},wmtsInfo:{$ref:"#/definitions/IWebMapTileServiceInfo",description:"Object containing information about the chosen WMTS service layer and tiling schema."}},required:["id","layerType"],title:"IWebTiledLayer"},ICsvLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"CSV",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"CSV",description:"Deprecated, use layerType instead."},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},columnDelimiter:{type:"string",enum:[" ",",",";"," ","|"],description:"A string defining the character used to separate columns in a CSV file."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},locationInfo:{description:"A locationInfo object defining how location information will be retrieved from a CSV file."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],description:"The CSV layer type references a CSV or TXT file from a publically-accessible web server. It then dynamically loads into the map at run time. The CSV layer will maintain a reference to the CSV resource.",title:"ICsvLayer"},IGeoRssLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"GeoRSS",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"GeoRSS",description:"Deprecated, please use layerType.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Defined by the GeoRSS to JSON request service. If the GeoRSS feed does not have lines, this property is not added to the layer JSON."},pointSymbol:{$ref:"#/definitions/IPictureMarkerSymbol",description:"Defined by the GeoRSS to JSON request service. If the GeoRSS feed does not have points, this property is not added to the layer JSON."},polygonSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Defined by the GeoRSS to JSON request service. If the GeoRSS feed does not have polygons, this property is not added to the layer JSON."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],title:"IGeoRssLayer"},IKmlLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"KML",description:"String indicating the layer type."},maxScale:{description:"A number representing the maximum scale at which the layer will be visible. The number is the scale's denominator."},minScale:{description:"A number representing the minimum scale at which the layer will be visible. The number is the scale's denominator."},opacity:{description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{description:"Indicates whether to allow map authors the ability to control what layers should be shown in a client's legend."},title:{description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"KML",description:"Deprecated, use layerType instead.",deprecated:"Use layerType instead."},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},refreshInterval:{description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},visibleFolders:{type:"array",items:{type:"number"},description:"Array of numeric IDs of folders that will be made visible."}},required:["id","layerType"],title:"IKmlLayer"},IArcGisStreamLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISStreamLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"Stores interactive filters."},disablePopup:{type:"boolean",description:"Indicates whether to ignore popups defined by the service item."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of pop-up windows when you click or query a feature."}},required:["id","layerType"],title:"IArcGisStreamLayer"}},$ref:"#/definitions/WebChart"};var cd=oc(Ll(),1);var q={Arabic:"ar",ArabicLatin:"ar-u-nu-latn",Bosnian:"bs",Bulgarian:"bg",Catalan:"ca",Czech:"cs",Danish:"da",German:"de",Greek:"el",English:"en",EnglishUSA:"en-US",Spanish:"es",Estonian:"et",Finnish:"fi",French:"fr",Hebrew:"he",Croatian:"hr",Hungarian:"hu",Indonesian:"id",Italian:"it",Japanese:"ja",Korean:"ko",Lithuanian:"lt",Latvian:"lv",NorwegianBokml:"no",Dutch:"nl",Polish:"pl",PortugueseBrazil:"pt-BR",PortuguesePortugal:"pt-PT",Romanian:"ro",Russian:"ru",Serbian:"sr",Slovenian:"sl",Slovak:"sk",Swedish:"sv",Thai:"th",Turkish:"tr",Ukrainian:"uk",Vietnamese:"vi",ChineseChina:"zh-CN",ChineseHongKong:"zh-HK",ChineseTaiwan:"zh-TW"},Cv=[...Object.values(q),"en-AU","en-GB","es-ES","es-MX","de-CH","de-DE","de-AT","it-CH","it-IT"];function Ze(e,r){return ga(e)(r)}function Tv(e){let r=/^([a-z]{2})-([A-Z]{2})$/u,i=e?.match(r),t=q.English;return i!=null&&i?.length>1?t=i[1]:e?.length===2&&e.toLowerCase()===e&&(t=e),t}function Av(e){let r=e;if(e!==void 0&&e.includes("-")){let[i,t]=e.split("-");r=`${i}-${t.toUpperCase()}`}return r}function Dl(e,r){let i=q.English,t=Av(e);if(t!==void 0)if(r.includes(t))i=t;else{let a=Tv(t);r.includes(a)?i=a:a==="nb"&&(i="no")}return i}function $l(e,r){function i(t){let a;return t===void 0||t===document||t===window?a=null:a=t.closest(e)||i(t.getRootNode().host),a}return i(r)}function fd(e=document.documentElement){let r=$l("[lang]",e)?.lang??window.navigator.language,i=Object.values(q),t=Object.values(Cv),a=Dl(r,i),o=Dl(r,t);return o=o==="ar"?"ar-u-nu-latn":o,{locale:a,rtl:$l("[dir]",e)?.getAttribute("dir")==="rtl",formatLocale:o}}function b$(e){let r;return e==="unknown"?r="UTC":e!==void 0&&e!=="system"&&(r=e),r}function v$(e,r){let i={year:"numeric",month:"2-digit",day:"2-digit",timeZone:r};return new Intl.DateTimeFormat("en-CA",i).format(e)}function S$(e,r){let i={hour:"2-digit",minute:"2-digit",hour12:!1,timeZone:r};return new Intl.DateTimeFormat("en-US",i).format(e)}function w$(e,r){let[,i,,,,t]=1111.1.toLocaleString(r),a=e.replace(i,"").replace(t,".");return Number.parseFloat(a)}async function ht(e=fd().locale){let r=await import("./A3DQHTI2.js");switch(e){case q.Arabic:r=await import("./LX6FRSIO.js");break;case q.Bosnian:r=await import("./MUQVUS72.js");break;case q.Bulgarian:r=await import("./5WWIUDLT.js");break;case q.Catalan:r=await import("./Z2FOFTUA.js");break;case q.Czech:r=await import("./ORGTVJA7.js");break;case q.Danish:r=await import("./BU5JSAWV.js");break;case q.German:r=await import("./KPHXEXCA.js");break;case q.Greek:r=await import("./U6I57IZY.js");break;case q.EnglishUSA:r=await import("./FAI3BYUG.js");break;case q.Spanish:r=await import("./LT2CE6IQ.js");break;case q.Estonian:r=await import("./SPLAIJ4I.js");break;case q.Finnish:r=await import("./6VLJTEKP.js");break;case q.French:r=await import("./NQ7XW5OV.js");break;case q.Hebrew:r=await import("./YFVJJF2C.js");break;case q.Croatian:r=await import("./KOWZ3YE4.js");break;case q.Hungarian:r=await import("./56WW2ZFS.js");break;case q.Indonesian:r=await import("./MCE72W2Y.js");break;case q.Italian:r=await import("./EKSKOYGB.js");break;case q.Japanese:r=await import("./UD77PPER.js");break;case q.Korean:r=await import("./S4IFYRSW.js");break;case q.Lithuanian:r=await import("./PE5JOJ6A.js");break;case q.Latvian:r=await import("./QTROT5AO.js");break;case q.NorwegianBokml:r=await import("./D7YUMOXQ.js");break;case q.Dutch:r=await import("./MN23A6D7.js");break;case q.Polish:r=await import("./TKWPWNUE.js");break;case q.PortugueseBrazil:r=await import("./YUI5OE6M.js");break;case q.PortuguesePortugal:r=await import("./7XRCIBKU.js");break;case q.Romanian:r=await import("./NKZWQ3I4.js");break;case q.Russian:r=await import("./4TCR5UU6.js");break;case q.Serbian:r=await import("./5OOGETZI.js");break;case q.Slovak:r=await import("./SSSKGGMI.js");break;case q.Slovenian:r=await import("./KW24AWW4.js");break;case q.Swedish:r=await import("./WOWMK3NB.js");break;case q.Thai:r=await import("./GLQAC3CX.js");break;case q.Turkish:r=await import("./QPUI7QTT.js");break;case q.Ukrainian:r=await import("./FJ6WHN42.js");break;case q.Vietnamese:r=await import("./U6DOFG3Q.js");break;case q.ChineseChina:r=await import("./BUUCLMSA.js");break;case q.ChineseHongKong:r=await import("./GUXYD4J5.js");break;case q.ChineseTaiwan:r=await import("./2KHL44VD.js");break;case q.English:}return r}var hd={Reject:"reject",RenderUpToTheLimit:"renderUpToTheLimit"},te={AxisLabels:"axisLabels",GuideLabel:"guideLabel",AxisTitle:"axisTitle",ChartTitle:"chartTitle",ChartSubtitle:"chartSubtitle",DataLabels:"dataLabels",LegendTitle:"legendTitle",LegendText:"legendText",DescriptionText:"descriptionText"},x$=32,I$="arcgis_charts_features_extent",Xt={maxRecordCountFactor:5,maxParallelRequests:4,maxRecords:2e3,orderByJSAPIDelimiter:" ",outStatistics:{statisticType:yo.statisticType,onStatisticField:"OBJECTID",outStatisticFieldName:"arcgis_charts_outStatisticFieldName_default_key"},uniqueIdsName:"arcgisChartsUniqueIds"},Pv=["EXPR_1","Expr1","expr1","EXPR1"],C$=1,at=.7,Fv=25,md=[156,156,156,255],Ov=[156,156,156,255],T$=nr.Solid,A$=2,P$={defaultGroupOfSlicesId:"arcgis_charts_group_of_slices",sliceIdPrefix:"arcgis-charts-slice-id",undefinedSliceId:"arcgis-charts-slice-id-undefined",nullSliceId:"arcgis-charts-slice-id-null",emptySliceId:"arcgis-charts-slice-id-empty"},Va="arcgis_charts_box_plot_category",Ev=[[31,120,180,255],[166,206,227,255],[51,160,44,255],[178,223,138,255],[227,26,28,255],[251,154,153,255],[255,127,0,255],[253,191,111,255],[106,61,154,255],[202,178,214,255]],Lv=[[104,104,104,255],[51,124,235,255],[132,0,168,255],[156,156,156,255]];function ct(e){let{colorIndex:r,opacity:i,histogramOverlays:t}=e,a=Math.max(0,r??0),o=[...t===!0?Lv:Ev],[n,s,l,u]=o[a%o.length],d=i!==void 0?i*255:u;return[n,s,l,d]}function yd(e){return[0,0,0,(e??at)*255]}function F$(){return{type:D.CursorCrosshair,verticalLineVisible:!1,horizontalLineVisible:!1,style:{type:ke.SLS,style:nr.Dot,color:[211,211,211,255],width:1}}}function Ki(e=1){return[Math.floor(Math.random()*256),Math.floor(Math.random()*256),Math.floor(Math.random()*256),e*255]}function pe(e){let r={family:"Arial, Helvetica, sans-serif",size:10};switch(e){case te.ChartTitle:r.size=18;break;case te.AxisTitle:r.size=14;break;case te.LegendText:r.size=12;break;case te.LegendTitle:r.size=13;break;case te.DescriptionText:r.size=11;break}return r}function gd(e="",r=pe(),i){let t=Xr.Center;return(i===te.DataLabels||i===te.GuideLabel)&&(t=void 0),{type:ke.TS,color:yd(),text:e,font:r,horizontalAlignment:t}}function ie(e){let{text:r,visible:i,font:t,type:a}=e??{text:"",visible:!0,font:pe()};return{type:D.Text,visible:i,content:gd(r,t,a)}}function Gr(e){let r=e?.useRandomColor??!1,i=e?.useRampColor,t=e?.width??1,a=e?.isHistogramOverlay,o=e?.color??yd(1);return r?o=Ki():i!==void 0&&(a===!0?o=ct({colorIndex:i.colorIndex,histogramOverlays:a}):o=ct({colorIndex:i.colorIndex})),e?.opacity!==void 0&&(o[3]=e.opacity),{type:ke.SLS,style:nr.Solid,color:o,width:t}}function Dv(){return{type:D.CategoryAxisFormat,characterLimit:11}}function O$(){return{type:D.DateAxisFormat,intlOptions:{}}}function qa(){return{type:D.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:3,useGrouping:!0}}}function E$(){return{type:D.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:2}}}function L$(){return{type:D.NumberAxisFormat,intlOptions:{style:"percent",minimumFractionDigits:0,maximumFractionDigits:0}}}function jl(e="Category Axis"){let r=ie({text:e,visible:!0,font:pe(te.AxisTitle)});r.content.horizontalAlignment=Xr.Center,r.content.verticalAlignment=ia.Middle;let i=ie({text:e,visible:!0,font:pe(te.AxisLabels)});return{type:D.Axis,visible:!0,title:r,labels:i,valueFormat:Dv(),lineSymbol:Gr({color:md})}}function Wi(e="Value Axis"){let r=ie({text:e,visible:!0,font:pe(te.AxisTitle)}),i=ie({text:e,visible:!0,font:pe(te.AxisLabels)});return r.content.verticalAlignment=ia.Middle,r.content.horizontalAlignment=Xr.Center,{type:D.Axis,visible:!0,title:r,labels:i,valueFormat:qa(),lineSymbol:Gr({color:md})}}function Yt(){return{type:D.Legend,visible:!0,title:ie({text:"",visible:!0,font:pe(te.LegendTitle)}),body:gd("",pe(te.LegendText)),position:mo.Right,maxHeight:Number.NaN}}function ki(e){return{type:D.Overlay,visible:!0,created:!1,symbol:Gr({useRampColor:{colorIndex:e},isHistogramOverlay:!0})}}function er(){return[255,255,255,255]}async function Mt(){return(await ht()).defaultTitle}function Nt(){return`Chart ${Date.now()}`}function D$(e,r=!1){return{type:ke.SFS,style:sr.Solid,color:r?Ki(at):ct({colorIndex:e??0,opacity:at})}}function $v(e=0){return{type:ke.SMS,style:ra.Circle,color:ct({colorIndex:e,opacity:at}),size:4}}function jv(e){return{type:ke.SLS,style:nr.Solid,color:ct({colorIndex:e,opacity:at}),width:2}}function Rv(e=!1){return{type:ke.SMS,style:ra.Circle,color:e?Ki(at):ct({colorIndex:0,opacity:at}),size:7}}function $$(){return{type:D.SizePolicy,field:"",scaleType:vo.Linear,minSize:5,maxSize:30}}function _v(e=!1){return{type:D.Overlays,trendLine:{type:D.Overlay,created:!1,visible:!0,symbol:{type:ke.SLS,style:nr.Solid,color:e?Ki():ct({colorIndex:1}),width:2}}}}function kv(){return{type:D.ScatterSeries,id:D.ScatterSeries,name:D.ScatterSeries,x:"",y:"",markerSymbol:Rv(),overlays:_v(),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels)})}}async function Or(e){let r=await ht(),i=[],t=r.xAxis,a=r.statistics.count,o,n=Wi(a),s=Gr({opacity:Fv});switch(n.grid=s,e){case D.BarSeries:{o=jl(t);break}case D.ScatterSeries:{o=Wi(t),o.grid=s;break}case D.RadarSeries:case D.LineSeries:case D.HistogramSeries:{o=Wi(t);break}case D.BoxPlotSeries:{o=jl("");break}}return o!==void 0&&i.push(o,n),i}function Bv(){return{type:D.GaugeNeedle,symbol:{type:ke.SFS,color:[0,0,0,200]}}}async function qv(){let e=await ht(),r=[],i=e.xAxis,t=Wi(i);return t.needle=Bv(),r.push(t),r}async function Mv(e){let r=e.objectIDField??"ObjectID",i=`${Ie.Count}_${r}_0`.toUpperCase(),t=(await ht()).countSeries;return{type:D.LineSeries,id:t,name:t,query:{outStatistics:[{statisticType:Ie.Count,onStatisticField:r,outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,lineSymbol:jv(e.seriesIndex),markerSymbol:$v(e.seriesIndex),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels)}),temporalBinning:{type:ta.FixedDateBased,unit:_e.Day,size:0,timeAggregationType:ar.Start,trimIncompleteTimeInterval:!0,nullPolicy:go.Interpolate}}}async function j$(e){return{...await Mv(e),type:D.RadarSeries}}function Nv(e){return{type:ke.SFS,style:sr.Solid,color:ct({colorIndex:e,opacity:at})}}async function R$(e){let r=e.objectIDField??"ObjectID",i=`${Ie.Count}_${r}_0`.toUpperCase(),t=(await ht()).countSeries;return{type:D.BarSeries,id:t,name:t,query:{outStatistics:[{statisticType:Ie.Count,onStatisticField:r,outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,fillSymbol:Nv(e.seriesIndex),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels),type:te.DataLabels})}}async function _$(e){let r=(await ht()).countSeries;return{name:r,type:D.BoxPlotSeries,id:r,fillSymbol:{type:ke.SFS,style:sr.Solid,color:ct({colorIndex:e,opacity:at})},query:{},x:Va,y:""}}function Wv(){return{type:D.PieTick,visible:!0,lineSymbol:Gr({width:1,color:Ov})}}function zv(){return{type:ke.SFS,style:sr.Solid}}async function k$(e){let r=`${Ie.Count}_${e}_0`.toUpperCase(),i=(await ht()).countSeries;return{type:D.PieSeries,id:i,name:i,query:{outStatistics:[{statisticType:Ie.Count,onStatisticField:e??"ObjectID",outStatisticFieldName:r}],groupByFieldsForStatistics:[]},x:"",y:r,fillSymbol:zv(),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels),type:te.DataLabels}),startAngle:-90,endAngle:270,dataLabelsCharacterLimit:11,displayCategoryOnDataLabel:!0,displayNumericValueOnDataLabel:!1,displayPercentageOnDataLabel:!0,numericValueFormat:{...qa(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},percentValueFormat:{...qa(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},ticks:Wv()}}function B$(e){let r=e.objectIDField??"ObjectID",i=`${Ie.Count}_${r}_0`.toUpperCase(),t="Series0";return{type:D.GaugeSeries,id:t,name:t,query:{outStatistics:[{statisticType:Ie.Count,onStatisticField:r,outStatisticFieldName:i}]},x:""}}function zr(){return!1}async function q$(e=Nt()){return{version:It,type:D.Chart,id:e,colorMatch:!0,rotated:zr(),orderOptions:{data:{orderType:or.Category,orderBy:vt.Ascending}},title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),axes:await Or(D.BarSeries),series:[],legend:Yt()}}async function M$(e=Nt()){return{version:It,type:D.Chart,id:e,rotated:zr(),colorMatch:!0,orderOptions:{data:{orderType:or.Category,orderBy:vt.Ascending}},title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),series:[],legend:Yt(),axes:await Or(D.BoxPlotSeries),standardizeValues:!0,showOutliers:!1}}async function N$(e=Nt()){return{version:It,type:D.Chart,id:e,colorMatch:!0,rotated:zr(),orderOptions:{data:{orderType:or.Category,orderBy:vt.Ascending}},title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),axes:await Or(D.LineSeries),series:[],legend:Yt()}}async function W$(e=Nt()){return{version:It,type:D.Chart,id:e,colorMatch:!0,orderOptions:{data:{orderType:or.Category,orderBy:vt.Ascending}},title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),axes:await Or(D.RadarSeries),series:[],legend:Yt()}}async function z$(e=Nt()){return{version:It,type:D.Chart,id:e,colorMatch:!0,orderOptions:{data:{orderType:or.YValue,orderBy:vt.Descending}},title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),series:[],legend:{...Yt(),displayNumericValue:!1,displayPercentage:!0}}}async function V$(e=Nt()){return{version:It,type:D.Chart,id:e,colorMatch:!0,title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),series:[],axes:await qv()}}async function U$(e=Nt()){return{version:It,type:D.Chart,id:e,colorMatch:!0,title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),axes:await Or(D.ScatterSeries),series:[kv()],legend:Yt()}}function Vv(){return{type:D.Overlays,mean:ki(1),median:ki(2),standardDeviation:ki(3),comparisonDistribution:ki(4)}}function Uv(){return{type:ke.SFS,style:sr.Solid,color:ct({colorIndex:0,opacity:at})}}function Gv(){return{type:D.HistogramSeries,id:D.HistogramSeries,name:D.HistogramSeries,visible:!0,dataTooltipVisible:!0,dataTooltipReverseColor:!1,assignToSecondValueAxis:!1,x:"",binCount:32,overlays:Vv(),dataTransformationType:ea.None,fillSymbol:Uv(),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels)})}}async function G$(e=Nt()){return{version:It,type:D.Chart,id:e,colorMatch:!0,title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),axes:await Or(D.HistogramSeries),series:[Gv()],legend:Yt()}}var wa={behaviorAfterLimit:hd.Reject,maxCategoryCount:Number.NaN,maxBarChartSeriesCount:100,maxBarUniqueSeriesCountTotal:1e4,maxBarTwoSeriesCountPerSeries:1e3,maxBarTwoSeriesCountTotal:2e3,maxBarThreePlusSeriesCountPerSeries:100,maxBarThreePlusSeriesCountTotal:2e3,maxScatterPointsBeforeAggregation:1e4,maxScatterPointsAfterAggregation:1e4,maxLineChartSeriesCount:100,maxLineUniqueSeriesCountTotal:1e4,maxLineTwoSeriesCountPerSeries:5e3,maxLineTwoSeriesCountTotal:1e4,maxLineThreePlusSeriesCountPerSeries:1e3,maxLineThreePlusSeriesCountTotal:1e4,maxPieChartSliceCountTotal:300,maxGaugeByFeaturesLimit:50,maxBoxPlotSeriesCount:100,maxBoxUniqueSeriesCountTotal:1e4,maxBoxTwoSeriesCountPerSeries:1e3,maxBoxTwoSeriesCountTotal:2e3,maxBoxThreePlusSeriesCountPerSeries:100,maxBoxThreePlusSeriesCountTotal:2e3,maxBoxPlotOutlierLimit:1e4};function Hv(e){let r={...wa};return e!==void 0&&Object.keys(wa).forEach(i=>{let t=i;r[t]=e[t]??wa[t]}),r}function H$(){return{maxScatterCellsPerQuery:500,maxScatterCellsPerQueryForStandard:175,maxElementsPerSelectionQuery:25,maxOIDsPerSelectionQuery:2e3,maxOperandsPerWhereClause:200}}async function Q$(e){let r=await ht(),i;switch(e){case Ie.Average:{i=r.statistics.mean;break}case Ie.ContinuousPercentile:{i=r.statistics.median;break}case Ie.Sum:{i=r.statistics.sum;break}case Ie.Minimum:{i=r.statistics.minimum;break}case Ie.Maximum:{i=r.statistics.maximum;break}case Ie.Variance:{i=r.statistics.variance;break}case Ie.DiscretePercentile:{i=r.statistics.discretePercentile;break}case Ie.NoAggregation:{i=r.statistics.noAggregation;break}case Ie.Count:default:{i=r.statistics.count;break}}return i}async function K$(e){let r=await ht(),i;switch(e){case ar.End:{i=r.timeAggregationTypes.end;break}case ar.Start:{i=r.timeAggregationTypes.start;break}default:i="";break}return i}function Qv(){return Rr.Side}async function J$(){return(await ht()).notAvailable}var Z$=0,Kv="_arcgis_charts_outliers",Jv="_arcgis_charts_z_score",X$=[210,210,210,255*at],Y$=" percentage ";var Ui=function(){return Ui=Object.assign||function(e){for(var r,i=1,t=arguments.length;i<t;i++){r=arguments[i];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Ui.apply(this,arguments)},Ma={exports:{}},Te={},Na={exports:{}},tr={};function bd(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function Zv(e,r,i){}function Xv(e,r,i){}var Yv=/javascript\s*\:/img;function eS(e,r){return Yv.test(r)?"":r}tr.whiteList=bd();tr.getDefaultWhiteList=bd;tr.onAttr=Zv;tr.onIgnoreAttr=Xv;tr.safeAttrValue=eS;var tS={indexOf:function(e,r){var i,t;if(Array.prototype.indexOf)return e.indexOf(r);for(i=0,t=e.length;i<t;i++)if(e[i]===r)return i;return-1},forEach:function(e,r,i){var t,a;if(Array.prototype.forEach)return e.forEach(r,i);for(t=0,a=e.length;t<a;t++)r.call(i,e[t],t,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}},Wr=tS;function rS(e,r){e=Wr.trimRight(e),e[e.length-1]!==";"&&(e+=";");var i=e.length,t=!1,a=0,o=0,n="";function s(){if(!t){var d=Wr.trim(e.slice(a,o)),c=d.indexOf(":");if(c!==-1){var p=Wr.trim(d.slice(0,c)),f=Wr.trim(d.slice(c+1));if(p){var m=r(a,n.length,p,f,d);m&&(n+=m+"; ")}}}a=o+1}for(;o<i;o++){var l=e[o];if(l==="/"&&e[o+1]==="*"){var u=e.indexOf("*/",o+2);if(u===-1)break;o=u+1,a=o+1,t=!1}else l==="("?t=!0:l===")"?t=!1:l===";"?t||s():l===`
57
- `&&s()}return Wr.trim(n)}var iS=rS,Bi=tr,aS=iS;function Rl(e){return e==null}function oS(e){var r={};for(var i in e)r[i]=e[i];return r}function vd(e){e=oS(e||{}),e.whiteList=e.whiteList||Bi.whiteList,e.onAttr=e.onAttr||Bi.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||Bi.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||Bi.safeAttrValue,this.options=e}vd.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,i=r.options,t=i.whiteList,a=i.onAttr,o=i.onIgnoreAttr,n=i.safeAttrValue,s=aS(e,function(l,u,d,c,p){var f=t[d],m=!1;if(f===!0?m=f:typeof f=="function"?m=f(c):f instanceof RegExp&&(m=f.test(c)),m!==!0&&(m=!1),c=n(d,c),!!c){var y={position:u,sourcePosition:l,source:p,isWhite:m};if(m){var b=a(d,c,y);return Rl(b)?d+":"+c:b}else{var b=o(d,c,y);if(!Rl(b))return b}}});return s};var nS=vd;(function(e,r){var i=tr,t=nS;function a(n,s){var l=new t(s);return l.process(n)}r=e.exports=a,r.FilterCSS=t;for(var o in i)r[o]=i[o]})(Na,Na.exports);var Ua=Na.exports,Ga={indexOf:function(e,r){var i,t;if(Array.prototype.indexOf)return e.indexOf(r);for(i=0,t=e.length;i<t;i++)if(e[i]===r)return i;return-1},forEach:function(e,r,i){var t,a;if(Array.prototype.forEach)return e.forEach(r,i);for(t=0,a=e.length;t<a;t++)r.call(i,e[t],t,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var r=/\s|\n|\t/,i=r.exec(e);return i?i.index:-1}},sS=Ua.FilterCSS,lS=Ua.getDefaultWhiteList,Gi=Ga;function Sd(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var wd=new sS;function pS(e,r,i){}function dS(e,r,i){}function cS(e,r,i){}function uS(e,r,i){}function xd(e){return e.replace(hS,"&lt;").replace(mS,"&gt;")}function fS(e,r,i,t){if(i=Fd(i),r==="href"||r==="src"){if(i=Gi.trim(i),i==="#")return"#";if(!(i.substr(0,7)==="http://"||i.substr(0,8)==="https://"||i.substr(0,7)==="mailto:"||i.substr(0,4)==="tel:"||i.substr(0,11)==="data:image/"||i.substr(0,6)==="ftp://"||i.substr(0,2)==="./"||i.substr(0,3)==="../"||i[0]==="#"||i[0]==="/"))return""}else if(r==="background"){if(qi.lastIndex=0,qi.test(i))return""}else if(r==="style"){if(_l.lastIndex=0,_l.test(i)||(kl.lastIndex=0,kl.test(i)&&(qi.lastIndex=0,qi.test(i))))return"";t!==!1&&(t=t||wd,i=t.process(i))}return i=Od(i),i}var hS=/</g,mS=/>/g,yS=/"/g,gS=/&quot;/g,bS=/&#([a-zA-Z0-9]*);?/gim,vS=/&colon;?/gim,SS=/&newline;?/gim,qi=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,_l=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,kl=/u\s*r\s*l\s*\(.*/gi;function Id(e){return e.replace(yS,"&quot;")}function Cd(e){return e.replace(gS,'"')}function Td(e){return e.replace(bS,function(r,i){return i[0]==="x"||i[0]==="X"?String.fromCharCode(parseInt(i.substr(1),16)):String.fromCharCode(parseInt(i,10))})}function Ad(e){return e.replace(vS,":").replace(SS," ")}function Pd(e){for(var r="",i=0,t=e.length;i<t;i++)r+=e.charCodeAt(i)<32?" ":e.charAt(i);return Gi.trim(r)}function Fd(e){return e=Cd(e),e=Td(e),e=Ad(e),e=Pd(e),e}function Od(e){return e=Id(e),e=xd(e),e}function wS(){return""}function xS(e,r){typeof r!="function"&&(r=function(){});var i=!Array.isArray(e);function t(n){return i?!0:Gi.indexOf(e,n)!==-1}var a=[],o=!1;return{onIgnoreTag:function(n,s,l){if(t(n))if(l.isClosing){var u="[/removed]",d=l.position+u.length;return a.push([o!==!1?o:l.position,d]),o=!1,u}else return o||(o=l.position),"[removed]";else return r(n,s,l)},remove:function(n){var s="",l=0;return Gi.forEach(a,function(u){s+=n.slice(l,u[0]),l=u[1]}),s+=n.slice(l),s}}}function IS(e){for(var r="",i=0;i<e.length;){var t=e.indexOf("<!--",i);if(t===-1){r+=e.slice(i);break}r+=e.slice(i,t);var a=e.indexOf("-->",t);if(a===-1)break;i=a+3}return r}function CS(e){var r=e.split("");return r=r.filter(function(i){var t=i.charCodeAt(0);return t===127?!1:t<=31?t===10||t===13:!0}),r.join("")}Te.whiteList=Sd();Te.getDefaultWhiteList=Sd;Te.onTag=pS;Te.onIgnoreTag=dS;Te.onTagAttr=cS;Te.onIgnoreTagAttr=uS;Te.safeAttrValue=fS;Te.escapeHtml=xd;Te.escapeQuote=Id;Te.unescapeQuote=Cd;Te.escapeHtmlEntities=Td;Te.escapeDangerHtml5Entities=Ad;Te.clearNonPrintableCharacter=Pd;Te.friendlyAttrValue=Fd;Te.escapeAttrValue=Od;Te.onIgnoreTagStripAll=wS;Te.StripTagBody=xS;Te.stripCommentTag=IS;Te.stripBlankChar=CS;Te.cssFilter=wd;Te.getDefaultCSSWhiteList=lS;var Ji={},kt=Ga;function TS(e){var r=kt.spaceIndex(e),i;return r===-1?i=e.slice(1,-1):i=e.slice(1,r+1),i=kt.trim(i).toLowerCase(),i.slice(0,1)==="/"&&(i=i.slice(1)),i.slice(-1)==="/"&&(i=i.slice(0,-1)),i}function AS(e){return e.slice(0,2)==="</"}function PS(e,r,i){var t="",a=0,o=!1,n=!1,s=0,l=e.length,u="",d="";e:for(s=0;s<l;s++){var c=e.charAt(s);if(o===!1){if(c==="<"){o=s;continue}}else if(n===!1){if(c==="<"){t+=i(e.slice(a,s)),o=s,a=s;continue}if(c===">"){t+=i(e.slice(a,o)),d=e.slice(o,s+1),u=TS(d),t+=r(o,t.length,u,d,AS(d)),a=s+1,o=!1;continue}if(c==='"'||c==="'")for(var p=1,f=e.charAt(s-p);f.trim()===""||f==="=";){if(f==="="){n=c;continue e}f=e.charAt(s-++p)}}else if(c===n){n=!1;continue}}return a<e.length&&(t+=i(e.substr(a))),t}var FS=/[^a-zA-Z0-9\\_:.-]/gim;function OS(e,r){var i=0,t=0,a=[],o=!1,n=e.length;function s(p,f){if(p=kt.trim(p),p=p.replace(FS,"").toLowerCase(),!(p.length<1)){var m=r(p,f||"");m&&a.push(m)}}for(var l=0;l<n;l++){var u=e.charAt(l),d,c;if(o===!1&&u==="="){o=e.slice(i,l),i=l+1,t=e.charAt(i)==='"'||e.charAt(i)==="'"?i:LS(e,l+1);continue}if(o!==!1&&l===t){if(c=e.indexOf(u,l+1),c===-1)break;d=kt.trim(e.slice(t+1,c)),s(o,d),o=!1,l=c,i=l+1;continue}if(/\s|\n|\t/.test(u))if(e=e.replace(/\s|\n|\t/g," "),o===!1)if(c=ES(e,l),c===-1){d=kt.trim(e.slice(i,l)),s(d),o=!1,i=l+1;continue}else{l=c-1;continue}else if(c=DS(e,l-1),c===-1){d=kt.trim(e.slice(i,l)),d=Bl(d),s(o,d),o=!1,i=l+1;continue}else continue}return i<e.length&&(o===!1?s(e.slice(i)):s(o,Bl(kt.trim(e.slice(i))))),kt.trim(a.join(" "))}function ES(e,r){for(;r<e.length;r++){var i=e[r];if(i!==" ")return i==="="?r:-1}}function LS(e,r){for(;r<e.length;r++){var i=e[r];if(i!==" ")return i==="'"||i==='"'?r:-1}}function DS(e,r){for(;r>0;r--){var i=e[r];if(i!==" ")return i==="="?r:-1}}function $S(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function Bl(e){return $S(e)?e.substr(1,e.length-2):e}Ji.parseTag=PS;Ji.parseAttr=OS;var jS=Ua.FilterCSS,it=Te,Ed=Ji,RS=Ed.parseTag,_S=Ed.parseAttr,zi=Ga;function Mi(e){return e==null}function kS(e){var r=zi.spaceIndex(e);if(r===-1)return{html:"",closing:e[e.length-2]==="/"};e=zi.trim(e.slice(r+1,-1));var i=e[e.length-1]==="/";return i&&(e=zi.trim(e.slice(0,-1))),{html:e,closing:i}}function BS(e){var r={};for(var i in e)r[i]=e[i];return r}function qS(e){var r={};for(var i in e)Array.isArray(e[i])?r[i.toLowerCase()]=e[i].map(function(t){return t.toLowerCase()}):r[i.toLowerCase()]=e[i];return r}function Ld(e){e=BS(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=it.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=qS(e.whiteList||e.allowList):e.whiteList=it.whiteList,e.onTag=e.onTag||it.onTag,e.onTagAttr=e.onTagAttr||it.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||it.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||it.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||it.safeAttrValue,e.escapeHtml=e.escapeHtml||it.escapeHtml,this.options=e,e.css===!1?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new jS(e.css))}Ld.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,i=r.options,t=i.whiteList,a=i.onTag,o=i.onIgnoreTag,n=i.onTagAttr,s=i.onIgnoreTagAttr,l=i.safeAttrValue,u=i.escapeHtml,d=r.cssFilter;i.stripBlankChar&&(e=it.stripBlankChar(e)),i.allowCommentTag||(e=it.stripCommentTag(e));var c=!1;i.stripIgnoreTagBody&&(c=it.StripTagBody(i.stripIgnoreTagBody,o),o=c.onIgnoreTag);var p=RS(e,function(f,m,y,b,I){var S={sourcePosition:f,position:m,isClosing:I,isWhite:Object.prototype.hasOwnProperty.call(t,y)},F=a(y,b,S);if(!Mi(F))return F;if(S.isWhite){if(S.isClosing)return"</"+y+">";var w=kS(b),T=t[y],E=_S(w.html,function(P,O){var j=zi.indexOf(T,P)!==-1,x=n(y,P,O,j);return Mi(x)?j?(O=l(y,P,O,d),O?P+'="'+O+'"':P):(x=s(y,P,O,j),Mi(x)?void 0:x):x});return b="<"+y,E&&(b+=" "+E),w.closing&&(b+=" /"),b+=">",b}else return F=o(y,b,S),Mi(F)?u(b):F},u);return c&&(p=c.remove(p)),p};var MS=Ld;(function(e,r){var i=Te,t=Ji,a=MS;function o(s,l){var u=new a(l);return u.process(s)}r=e.exports=o,r.filterXSS=o,r.FilterXSS=a,function(){for(var s in i)r[s]=i[s];for(var l in t)r[l]=t[l]}();function n(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}n()&&(self.filterXSS=e.exports)})(Ma,Ma.exports);var Pr=Ma.exports,NS=function(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;var r=Object.getPrototypeOf(e);if(r===null)return!0;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r},WS=function(){function e(r,i){var t=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],code:["style"],dd:["style"],del:["style"],details:["open","style"],div:["align","aria-hidden","aria-label","style"],dl:["style"],dt:["style"],em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],img:["alt","border","height","src","style","width"],li:[],main:["style"],mark:["style"],nav:["style"],ol:[],p:["style"],pre:["style"],section:["style"],source:["media","src","type"],span:["aria-hidden","aria-label","style"],strong:[],sub:["style"],summary:["style"],sup:["style"],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],time:["style"],u:[],ul:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=Ui(Ui({},Pr.getDefaultCSSWhiteList()),{"align-items":!0,"align-self":!0,flex:!0,"flex-basis":!0,"flex-direction":!0,"flex-flow":!0,"flex-grow":!0,"flex-shrink":!0,"flex-wrap":!0,float:!0,gap:!0,grid:!0,"grid-area":!0,"grid-auto-columns":!0,"grid-auto-flow":!0,"grid-auto-rows":!0,"grid-column":!0,"grid-column-end":!0,"grid-column-start":!0,"grid-row":!0,"grid-row-end":!0,"grid-row-start":!0,"grid-template":!0,"grid-template-areas":!0,"grid-template-columns":!0,"grid-template-rows":!0,"justify-content":!0,"justify-items":!0,"justify-self":!0,"line-height":!0,overflow:!0}),this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope"],this.arcgisFilterOptions={allowCommentTag:!0,safeAttrValue:function(o,n,s,l){return o==="a"&&n==="href"||(o==="img"||o==="source")&&n==="src"?t.sanitizeUrl(s):Pr.safeAttrValue(o,n,s,l)}},this._entityMap={"&":"&#x38;","<":"&#x3C;",">":"&#x3E;",'"':"&#x22;","'":"&#x27;","/":"&#x2F;"};var a;r&&!i?a=r:r&&i?(a=Object.create(this.arcgisFilterOptions),a.css={whiteList:this.arcgisCSSWhiteList},Object.keys(r).forEach(function(o){if(o==="whiteList")a.whiteList=t._extendObjectOfArrays([t.arcgisWhiteList,r.whiteList||{}]);else if(o==="css"){var n=r.css.whiteList;n!=null&&r.css instanceof Object&&Object.keys(n).forEach(function(s){return a.css.whiteList[s]=n[s]})}else a[o]=r[o]})):(a=Object.create(this.arcgisFilterOptions),a.whiteList=this.arcgisWhiteList,a.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=a,this._xssFilter=new Pr.FilterXSS(a)}return e.prototype.sanitize=function(r,i){switch(i===void 0&&(i={}),typeof r){case"number":return isNaN(r)||!isFinite(r)?null:r;case"boolean":return r;case"string":return this._xssFilter.process(r);case"object":return this._iterateOverObject(r,i);default:return i.allowUndefined&&typeof r>"u"?void 0:null}},e.prototype.sanitizeUrl=function(r,i){var t=(i??{}).isProtocolRequired,a=t===void 0?!0:t,o=this._trim(r.substring(0,r.indexOf(":"))),n=r==="/",s=/^#/.test(r),l=o&&this.allowedProtocols.indexOf(o.toLowerCase())>-1;return n||s||l?Pr.escapeAttrValue(r):!o&&!a?Pr.escapeAttrValue("https://".concat(r)):""},e.prototype.sanitizeHTMLAttribute=function(r,i,t,a){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(r,i,t,a):Pr.safeAttrValue(r,i,t,a)},e.prototype.validate=function(r,i){i===void 0&&(i={});var t=this.sanitize(r,i);return{isValid:r===t,sanitized:t}},e.prototype.encodeHTML=function(r){var i=this;return String(r).replace(/[&<>"'\/]/g,function(t){return i._entityMap[t]})},e.prototype.encodeAttrValue=function(r){var i=/^[a-zA-Z0-9]$/;return String(r).replace(/[\x00-\xFF]/g,function(t,a){return i.test(t)?t:"&#x".concat(Number(r.charCodeAt(a)).toString(16),";")})},e.prototype._extendObjectOfArrays=function(r){var i={};return r.forEach(function(t){Object.keys(t).forEach(function(a){Array.isArray(t[a])&&Array.isArray(i[a])?i[a]=i[a].concat(t[a]):i[a]=t[a]})}),i},e.prototype._iterateOverObject=function(r,i){var t=this;i===void 0&&(i={});try{var a=!1,o=void 0;if(Array.isArray(r))o=r.reduce(function(s,l){var u=t.validate(l,i);return u.isValid?s.concat([l]):(a=!0,s.concat([u.sanitized]))},[]);else if(NS(r)){var n=Object.keys(r);o=n.reduce(function(s,l){var u=r[l],d=t.validate(u,i);return d.isValid?s[l]=u:(a=!0,s[l]=d.sanitized),s},{})}else return i.allowUndefined&&typeof r>"u"?void 0:null;return a?o:r}catch{return null}},e.prototype._trim=function(r){return String.prototype.trim?r.trim():r.replace(/(^\s*)|(\s*$)/g,"")},e}(),V={NonSpecific:"nonSpecific",BarAndLineNoAggregation:"barAndLineNoAggregation",BarAndLineMonoField:"barAndLineMonoField",BarAndLineMultiFields:"barAndLineMultiFields",BarAndLineFromFields:"barAndLineFromFields",BarAndLineSplitBy:"barAndLineSplitBy",BarAndLineSplitByNoAggregation:"barAndLineSplitByNoAggregation",PieNoAggregation:"pieNoAggregation",PieFromCategory:"pieFromCategory",PieFromFields:"pieFromFields",BoxPlotMonoField:"boxPlotMonoField",BoxPlotMultiFields:"boxPlotMultiFields",BoxPlotMonoFieldAndCategory:"boxPlotMonoFieldAndCategory",BoxPlotMultiFieldsAndCategory:"boxPlotMultiFieldsAndCategory",BoxPlotMonoFieldAndSplitBy:"boxPlotMonoFieldAndSplitBy",BoxPlotMultiFieldsAndSplitBy:"boxPlotMultiFieldsAndSplitBy",BoxPlotMonoFieldAndCategoryAndSplitBy:"boxPlotMonoFieldAndCategoryAndSplitBy"},ej={SelectionByClick:"SelectionByClick",SelectionByRange:"SelectionByRange",ProgrammaticSelection:"ProgrammaticSelection",ClearSelection:"ClearSelection"};function tj(e){return e?.colorMatch??!1}function rj(e){let r=zr();if(e!==void 0){let i=Me(e.series);(i===D.BarSeries||i===D.LineSeries||i===D.ComboLineAndBarSeries||i===D.BoxPlotSeries)&&(r=e.rotated??zr())}return r}function ij(e){return e?.map(r=>r.type)??[]}function zS(e){let r=e?.stackedType;if(r===void 0&&e!==void 0){let i=Me(e.series);(i===D.BarSeries||i===D.LineSeries||i===D.ComboLineAndBarSeries||i===D.RadarSeries)&&(r=Qv())}return r}function VS(e){let r=e;return r=r.replace(/'/gu,"''"),r=r.replace(/[/\\"|[\]\\]/gu,"\\$&"),r}function US(e){let r=!1;if(typeof e!="number"){let i=new Intl.Segmenter;r=Array.from(i.segment(e),t=>t.segment).some(t=>t.charCodeAt(0)>255)}return r}function GS(e){let r=e,i="";e.startsWith("'")&&e.endsWith("'")&&(r=e.slice(1,-1),i="'"),r=r.replace(/'/gu,"''");let t="";return US(r)&&(t="N"),`${t}${i}${r}${i}`}function Dd(e){let{value:r,keepSurroundingQuotes:i,escape:t}=e,a=r?.trim();if(!ut(a)){let o="";a.startsWith("'")&&a.endsWith("'")&&(a=a.slice(1,-1),i&&(o="'")),t!==!1&&(a=VS(a)),a=`${o}${a}${o}`}return a}function aj(e){let{count:r,seriesCount:i,chartType:t,chartLimits:a}=e,{behaviorAfterLimit:o}=a??{},n=!0;if(o!==hd.RenderUpToTheLimit){let{maxBarChartSeriesCount:s,maxBarUniqueSeriesCountTotal:l,maxBarTwoSeriesCountPerSeries:u,maxBarTwoSeriesCountTotal:d,maxBarThreePlusSeriesCountPerSeries:c,maxBarThreePlusSeriesCountTotal:p,maxLineChartSeriesCount:f,maxLineUniqueSeriesCountTotal:m,maxLineTwoSeriesCountPerSeries:y,maxLineTwoSeriesCountTotal:b,maxLineThreePlusSeriesCountPerSeries:I,maxLineThreePlusSeriesCountTotal:S,maxPieChartSliceCountTotal:F,maxGaugeByFeaturesLimit:w,maxBoxPlotSeriesCount:T,maxBoxUniqueSeriesCountTotal:E,maxBoxTwoSeriesCountTotal:P,maxBoxTwoSeriesCountPerSeries:O,maxBoxThreePlusSeriesCountTotal:j,maxBoxThreePlusSeriesCountPerSeries:x}=Hv(a);switch(t){case D.BarSeries:case D.ComboLineAndBarSeries:{let C=r/i;i<=s?i===0?n=!0:i===1?n=r<=l:i===2?n=r<=d&&C<=u:i>2&&(n=r<=p&&C<=c):n=!1}break;case D.LineSeries:case D.RadarSeries:{let C=r/i;i<=f?i===0?n=!0:i===1?n=r<=m:i===2?n=r<=b&&C<=y:i>2&&(n=r<=S&&C<=I):n=!1}break;case D.PieSeries:n=r<=F;break;case D.BoxPlotSeries:{let C=r/i;i<=T?i===0?n=!0:i===1?n=r<=E:i===2?n=r<=P&&C<=O:i>2&&(n=r<=j&&C<=x):n=!1}break;case D.GaugeSeries:n=r<=w;break}}return n}function oj(e=[],r){let i=e.find(t=>t.name===r)?.alias;return i!==""?i??r:r}function nj(e=[],r){let i=e.find(t=>t.alias===r)?.name;return i!==""?i??r:r}function sj(e){let r=!1;switch(Me(e)){case D.PieSeries:r=!0;break;case D.BarSeries:case D.LineSeries:case D.RadarSeries:case D.ComboLineAndBarSeries:case D.BoxPlotSeries:r=e.length>1;break;case D.HistogramSeries:case D.ScatterSeries:{let i=e[0];r=i.overlays!==void 0&&Object.values(i.overlays).some(t=>t.created===!0);break}}return r}function HS(e){let r=!0;return Me(e.series)===D.ScatterSeries&&(r=e.series.length===1),r}function QS(e){let r=!0;return Me(e.series)===D.HistogramSeries&&(r=e.series.length<=1&&e.series[0].type===D.HistogramSeries&&(!("dataTransformationType"in e.series[0])||e.series[0].dataTransformationType!==void 0&&Object.values(ea).includes(e.series[0].dataTransformationType))),r}function KS(e){let r=!0;return Me(e.series)===D.PieSeries&&(r=e.series.length<=1),r}function lj(e,r){let i=Me(r?.series),t=e.includes(i);if(t&&r!==void 0)switch(i){case D.HistogramSeries:t=QS(r);break;case D.ScatterSeries:t=HS(r);break;case D.PieSeries:t=KS(r);break}return t}function ut(e){return e==null||typeof e=="string"&&e.trim()===""}function JS(e,r){let i=r.find(t=>t in e);return{isInItem:i!==void 0,expr:i}}function pj(e){return JS(e,Pv)}function dj(e,r){let i;switch(e){case _e.Second:i=r.seconds??"";break;case _e.Minute:i=r.minutes??"";break;case _e.Hour:i=r.hours??"";break;case _e.Day:i=r.days??"";break;case _e.Week:i=r.weeks??"";break;case _e.Month:i=r.months??"";break;case _e.Year:i=r.years??"";break;default:i="";break}return i}function cj(e){let r;switch(e){case lt.Mean:r=1;break;case lt.Median:r=2;break;case lt.StdDev:r=3;break;case lt.Normal:default:r=0;break}return r}function uj(e,r){if(r!==void 0){let{seriesId:i,overlayType:t,visible:a}=e.detail,o;switch(t){case lt.Mean:r.series[0].type===D.HistogramSeries&&(o=r.series[0].overlays?.mean);break;case lt.Median:r.series[0].type===D.HistogramSeries&&(o=r.series[0].overlays?.median);break;case lt.StdDev:r.series[0].type===D.HistogramSeries&&(o=r.series[0].overlays?.standardDeviation);break;case lt.Normal:r.series[0].type===D.HistogramSeries&&(o=r.series[0].overlays?.comparisonDistribution);break;case lt.Trendline:r.series[0].type===D.ScatterSeries&&(o=r.series[0].overlays?.trendLine);break;default:o=r.series.find(n=>n.id===i);break}o!==void 0&&(o.visible=a)}}function fj(e){return new WS().sanitize(e)}function hj(e){return e!=null&&!Number.isNaN(e)&&Number.isFinite(e)}function mj(e,r){let i;return r!==void 0&&(i={...r,rotated:e}),i}function yj(e,r){let i={fieldToSort:""};if(!ut(e)){let t=e.trim(),a=t.split(" ").at(-1)?.toUpperCase();a===vt.Ascending||a===vt.Descending?i={fieldToSort:t.substring(0,t.lastIndexOf(" ")),orderBy:a}:(i={fieldToSort:t},r!==!1&&(i.orderBy=vt.Ascending))}return i}function gj(e){return e===V.BarAndLineSplitBy||e===V.BarAndLineSplitByNoAggregation||e===V.BoxPlotMonoFieldAndSplitBy||e===V.BoxPlotMultiFieldsAndSplitBy||e===V.BoxPlotMonoFieldAndCategoryAndSplitBy}function bj(e){return e?.selectionOIDs===void 0||e.selectionOIDs.length===0}function vj(e={arrayA:[],arrayB:[],getKey:r=>r}){let{arrayA:r,arrayB:i,getKey:t}=e;if(i.length===0||r.length===0)return r;let a=new Map;i.forEach((l,u)=>{let d=t(l);a.set(d,u)});let o=[],n=[];r.forEach((l,u)=>{let d=t(l);a.has(d)&&(o.push(u),n.push(l))}),n.sort((l,u)=>{let d=t(l),c=t(u);return a.get(d)-a.get(c)});let s=[...r];return o.forEach((l,u)=>{s[l]=n[u]}),s}var Jt=["1.0.0","1.0.1","2.0.0","3.0.0","3.1.0","3.2.0","3.3.0","3.4.0","3.5.0","3.6.0","3.7.0","3.8.0","3.9.0","3.9.1","3.9.2","3.10.0","3.11.0","4.0.0","4.0.1","5.0.0","6.0.0","6.1.0","6.2.0","6.2.1","6.3.0","6.4.0","7.0.0","7.1.0","7.1.1","7.2.0","7.2.1","7.3.1","7.4.0","7.4.1","7.5.0","7.5.1","7.6.0","8.0.0","8.0.1","9.0.0","9.1.0","9.2.0","9.3.0","9.4.0","9.5.0","9.6.0","9.6.1","9.7.0","10.0.0","11.0.0","12.0.0","13.0.0","14.0.0","14.0.1","15.0.0","16.0.0","16.1.0","16.1.1","17.0.0","17.1.0","17.2.0","17.2.1","18.0.0","18.1.0","18.1.1","18.1.2","18.1.3","19.0.0","20.0.0","20.1.0","20.2.0","21.0.0","21.1.0","22.0.0","23.0.0","23.1.0","23.2.0"],ZS="1.0.0",XS="unrecognized.version",YS=[D.LineSeries,D.BarSeries,D.ComboLineAndBarSeries,D.RadarSeries];function xa(e,r){let i=0;if(e!==r){let t=e.split("."),a=r.split(".");for(let o=0;o<t.length;o+=1){let n=Number.parseInt(t[o],10),s=Number.parseInt(a[o],10);if(n>s||Number.isNaN(s)){i=1;break}if(n<s){i=-1;break}}}return i}function ew(e){return e!==void 0?/^([1-9]\d*|0)(\.(([1-9]\d*)|0)){2}$/u.test(e):!1}function tw(e){let r=Tt.Same,i=[];if(ew(e)&&e!==void 0){Jt.sort(xa);let t=xa(e,Jt[Jt.length-1]);if(t===1?r=Tt.Newer:t===-1&&(r=Tt.Older),r===Tt.Newer||r===Tt.Same)i.push(e);else{for(let a=Jt.length-2;a>=0;a-=1)if(xa(e,Jt[a])>=0){i=Jt.slice(a,Jt.length);break}i.length===0&&i.push(ZS)}}else r=Tt.Unrecognized,i.push(XS);return{versionStatus:r,versions:i}}function rw(e){let{series:r}=e,i=("showMean"in e?e.showMean:!1)===!0?r.find(t=>t.type===D.LineSeries):r[0];return i??=r[0],i}function Sj(e,r){let i=e!==null?e.toString():null,t=r!=null?r.toString():null;return t!==null&&t!==i?ke.SFS:ke.SLS}function Ha(e,r){let i="";return e!==void 0&&e.includes("=")&&(i=r!==!1?Dd({value:e.split("=")[0]}):e.split("=")[0].trim()),i}function Hr(e){let{where:r,normalize:i,keepSurroundingQuotes:t,escape:a}=e,o="";return r!==void 0&&r.includes("=")&&(o=r.split("=").slice(1).join("=").trim(),o==="null"?o=null:o.trim()!==""&&!Number.isNaN(Number(o))?o=Number(o):i===!1?a===!0&&(o=GS(o)):o=Dd({value:o,keepSurroundingQuotes:t,escape:a})),o}function Fr(e){let r=!1;if(e===void 0||e==="")r=!0;else if(e.includes("=")){let i=Ha(e,!1),t=Hr({where:e,normalize:!1});r=i===`${t}`}return r}function wj(e){let{where:r,normalize:i,escape:t}=e,a=i===void 0?!0:i,o=Ha(r),n=Hr({where:r,normalize:a,keepSurroundingQuotes:!0,escape:t}),s=r;return o!==""&&n!==""&&(s=`${o}=${n}`),s}function iw(e){let r=V.PieFromCategory;return e[0].query?.outStatistics===void 0?r=V.PieNoAggregation:e[0].query?.groupByFieldsForStatistics===void 0&&(r=V.PieFromFields),r}function aw(e){let r=V.BarAndLineMonoField,i=e[0].query?.where;return e[0].query?.groupByFieldsForStatistics===void 0&&(e[0].query?.outStatistics??[]).length>0?r=V.BarAndLineFromFields:i===void 0&&e[0].query?.outStatistics===void 0?r=V.BarAndLineNoAggregation:Fr(i)?e.length>1&&(r=V.BarAndLineMultiFields):r=e[0].query?.outStatistics===void 0?V.BarAndLineSplitByNoAggregation:V.BarAndLineSplitBy,r}function ow(e){let r=V.BoxPlotMonoField,i=e.length===1,t=e.find(s=>s.type===D.LineSeries)??e[0],{x:a}=t,o="y"in t?t.y:"",n=t.query?.where;switch(a){case Va:typeof o=="object"&&o.length>1?Fr(n)?i&&(r=V.BoxPlotMultiFields):r=V.BoxPlotMultiFieldsAndSplitBy:i?r=V.BoxPlotMonoField:Fr(n)||(r=V.BoxPlotMonoFieldAndSplitBy);break;default:i?r=V.BoxPlotMonoFieldAndCategory:Fr(n)?r=V.BoxPlotMultiFieldsAndCategory:r=V.BoxPlotMonoFieldAndCategoryAndSplitBy;break}return r}function Ct(e){let r=V.NonSpecific;if(e?.[0]!==void 0)switch(Me(e)){case D.PieSeries:r=iw(e);break;case D.RadarSeries:case D.BarSeries:case D.LineSeries:case D.ComboLineAndBarSeries:r=aw(e);break;case D.BoxPlotSeries:r=ow(e);break}return r}function xj(e){let{seriesConfig:r,xAxisValueFormatType:i,setTimeBinningInfoWhenNotProvided:t}=e,a=!1;if(nw(r)&&r.binTemporalData!==!1&&i===D.DateAxisFormat){let o=Ct([r]);if(r.temporalBinning&&o!==V.BarAndLineNoAggregation&&o!==V.BarAndLineSplitByNoAggregation){let{unit:n,size:s}=r.temporalBinning;a=t===!0||s!==void 0&&s>0&&n!==void 0}}return a}function nw(e){return YS.includes(e.type)}var ye={Min:"min",FirstQuartile:"first_quartile",Median:"median",ThirdQuartile:"third_quartile",Max:"max",IQR:"iqr",Average:"avg",StandardDeviation:"stddev",Outlier:"outlier"};function sw(e){let r=e===void 0||e==="";return{[ye.Average]:`${r?"":`${e}_`}${ye.Average}`,[ye.Min]:`${r?"":`${e}_`}${ye.Min}`,[ye.Max]:`${r?"":`${e}_`}${ye.Max}`,[ye.FirstQuartile]:`${r?"":`${e}_`}${ye.FirstQuartile}`,[ye.Median]:`${r?"":`${e}_`}${ye.Median}`,[ye.ThirdQuartile]:`${r?"":`${e}_`}${ye.ThirdQuartile}`,[ye.IQR]:`${r?"":`${e}_`}${ye.IQR}`,[ye.Outlier]:`${r?"":`${e}_`}${ye.Outlier}`,[ye.StandardDeviation]:`${r?"":`${e}_`}${ye.StandardDeviation}`}}function lw(e){return e.subType===bo.FeatureGauge}function Ij(e){let r;return e!==void 0&&("bins"in e?r=e.bins:"dataItems"in e&&(r=e.dataItems)),r}function pw(e){return e===V.BoxPlotMultiFields||e===V.BoxPlotMultiFieldsAndCategory||e===V.BoxPlotMultiFieldsAndSplitBy}function Hi(e){let{key:r,y:i,chartSubType:t,splitBy:a,splitByValue:o,showOutliers:n,standardizeValues:s}=e,l=o,u=sw(i)[r];return n===!0&&(r===ye.Min||r===ye.Max)&&(u=`${u}${Kv}`),s===!0&&(pw(t)||r===ye.Outlier)&&(u=`${u}${Jv}`),(o===void 0||`${o}`.trim()==="")&&(l=Hr({where:a,normalize:!0,escape:!1})),l!==void 0&&`${l}`.trim()!==""&&(u=`${l}${u!==""?`_${u}`:""}`),u}function Ia(e){let{dataItem:r,y:i,splitBy:t,showOutliers:a}=e,o=Hi({key:ye.FirstQuartile,y:i,splitBy:t,showOutliers:a}),n=Hi({key:ye.ThirdQuartile,y:i,splitBy:t,showOutliers:a});return Number.isFinite(r[o])||Number.isFinite(r[n])}function dw(e){let{configSeries:r,boxPlotDataItem:i,yList:t,showOutliers:a}=e,o=Ct(r),n=!1;switch(o){case V.BoxPlotMonoField:case V.BoxPlotMultiFields:case V.BoxPlotMonoFieldAndCategory:n=Ia({dataItem:i,showOutliers:a});break;case V.BoxPlotMultiFieldsAndCategory:n=t.some(s=>Ia({dataItem:i,y:s,showOutliers:a}));break;case V.BoxPlotMonoFieldAndSplitBy:case V.BoxPlotMultiFieldsAndSplitBy:case V.BoxPlotMonoFieldAndCategoryAndSplitBy:n=r.some(s=>Ia({dataItem:i,splitBy:s.query?.where,showOutliers:a}));break;default:n=!1;break}return n}function $d(e){return e.map(r=>r.id).filter(r=>r!=="undefined")}function Qi(e,r){let i=[],t=r??$d(e),a=Ct(e);return i=e.filter(o=>t.includes(o.id)).map(o=>{let n="y"in o?o.y:void 0;return n!==void 0&&a===V.BarAndLineSplitByNoAggregation&&(n=`${n.toString()}_${Hr({where:o.query?.where})}`),n}).filter(o=>o!==void 0),Array.from(new Set(i.flat()))}function cw(e){let{seriesConfig:r,filteredSeriesIds:i,showMean:t}=e,a=[];if(t===!0){let o=r.find(n=>n.type===D.BoxPlotSeries);o!==void 0&&"y"in o&&(a=[o.y].flat())}else a=Qi(r,i);return a}function Zt(e,r){return e===null&&r===!0||Number.isFinite(e)}function uw(e){let{dataItem:r,x:i,y:t,nullAsValid:a=!1}=e;return r[i]!==void 0&&(typeof r[i]!="number"||Number.isFinite(r[i]))&&Zt(r[t],a)}function Cj(e){let{chartConfig:r,nullAsValid:i=!1,dataSet:t}=e,a=!0;if(r!==void 0){let o=Me(r.series);if(t===void 0||t.length===0)a=!0;else{let n=Qi(r.series);a=!t.some(s=>{let l=!1;switch(o){case D.HistogramSeries:{let u=s;l=Zt(u.minValue,i)&&Zt(u.maxValue,i)}break;case D.ScatterSeries:{let u=s,{x:d,y:c}=r.series[0];l=Zt(u[d],i)&&Zt(u[c],i)}break;case D.ComboLineAndBarSeries:case D.RadarSeries:case D.LineSeries:case D.BarSeries:{let u=s,{x:d}=r.series[0];l=n.some(c=>uw({dataItem:u,x:d,y:c,nullAsValid:i}));break}case D.BoxPlotSeries:{let u=r.series,{showOutliers:d}=r;l=dw({configSeries:u,boxPlotDataItem:s,yList:n,showOutliers:d});break}case D.PieSeries:{let u=s,{x:d,y:c}=r.series[0];Ct(r.series)===V.PieFromFields&&(d=ei,c=aa);let p=u[c];l=u[d]!==void 0&&u[d]!==null&&!ca(p)&&Zt(Number(p),i)}break;case D.GaugeSeries:{let{x:u}=r.series[0];l=Zt(s[u],i)}break}return l})}}return a}function fw(e,r){let i=new Map,t=r??$d(e);return e.forEach(a=>{if(t.includes(a.id)&&"y"in a){let o=i.get(a.type)??[];o.push(a.y),i.set(a.type,o)}}),i}function hw(e){let{seriesConfig:r,filteredSeriesIds:i,filteredData:t}=e,a=fw(r,i),o=r.find(l=>l.type===D.LineSeries||l.type===D.RadarSeries)?.stackNegativeValuesToBaseline??!0,n=Number.MIN_SAFE_INTEGER,s=Number.MAX_SAFE_INTEGER;return t.forEach((l,u)=>{a.forEach(d=>{if(o){let c=[],p=[];for(let f=0;f<d.length;f+=1){let m=l[d[f]];m<0?p[u]=(p[u]??0)+m:c[u]=(c[u]??0)+m}c=c.filter(f=>Number.isFinite(f)).sort((f,m)=>f-m),p=p.filter(f=>Number.isFinite(f)).sort((f,m)=>f-m),n=Math.max(n,c.length>0?c[c.length-1]:p[p.length-1]),s=Math.min(s,p.length>0?p[0]:c[0])}else{let c=0;for(let p=0;p<d.length;p+=1){let f=l[d[p]];c+=f,n=Math.max(n,c),s=Math.min(s,c)}}})}),{stackedMinY:s,stackedMaxY:n}}function mw(e){let{dataItem:r,...i}=e,t=Hi({key:ye.Min,...i}),a=Hi({key:ye.Max,...i}),o=r[t],n=r[a];return{min:o,max:n}}function Tj(e){let r=Number.NaN,i=Number.NaN,t,a,{chartConfig:o,chartData:n,filteredSeriesIds:s}=e,{series:l}=o;if(l?.length>0){let{x:u}=l[0],d=n.filter(c=>c[u]!==null);if([t,a]=Nr(d,c=>c[u]),o.axes?.[1]?.valueFormat.type===D.DateAxisFormat&&t!==void 0&&a!==void 0&&([t,a]=[new Date(t).valueOf(),new Date(a).valueOf()]),Me(o.series)===D.BoxPlotSeries){r=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let c=Qi(l,s),p=Ct(l),f="standardizeValues"in o?o.standardizeValues===!0:void 0,m=o.series.map(y=>y.visible!==!1?Hr({where:y.query?.where}):"");m.length===0&&m.push(" ");for(let y=0;y<d.length;y+=1)for(let b=0;b<c.length;b+=1){let I=p===V.BoxPlotMultiFieldsAndCategory?c[b]:void 0;for(let S=0;S<m.length;S+=1){let{min:F,max:w}=mw({y:I,splitByValue:m[S],chartSubType:p,showOutliers:!1,standardizeValues:f,dataItem:d[y]});F!=null&&F<r&&(r=F),w!=null&&w>i&&(i=w)}}}else switch(zS(o)){case Rr.Stacked100:{r=Number.NaN,i=Number.NaN;break}case Rr.Stacked:{let{stackedMinY:c,stackedMaxY:p}=hw({seriesConfig:l,filteredData:d,filteredSeriesIds:s});r=c,i=p;break}case Rr.Side:default:{r=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let c=Qi(l,s);for(let p=0;p<c.length;p+=1){let f=c[p],[m,y]=Nr(d,b=>b[f]);m!==void 0&&m<r&&(r=m),y!==void 0&&y>i&&(i=y)}break}}}return{minY:r,maxY:i,minX:t,maxX:a}}async function ft(e=fd().locale){let r=await import("./KJLXOFTC.js");switch(e){case q.Arabic:r=await import("./RSD7MLTU.js");break;case q.Bosnian:r=await import("./TIFPN32W.js");break;case q.Bulgarian:r=await import("./2KFXD76X.js");break;case q.Catalan:r=await import("./K6JWZ5O5.js");break;case q.Czech:r=await import("./EBG7T44W.js");break;case q.Danish:r=await import("./3RERPS37.js");break;case q.German:r=await import("./YLOMEP5Z.js");break;case q.Greek:r=await import("./EUUVP6UO.js");break;case q.EnglishUSA:r=await import("./65S376SW.js");break;case q.Spanish:r=await import("./2YM64WOQ.js");break;case q.Estonian:r=await import("./QEUUA6Q7.js");break;case q.Finnish:r=await import("./XSAZBF3F.js");break;case q.French:r=await import("./AB66RCBH.js");break;case q.Hebrew:r=await import("./3H2NJNVC.js");break;case q.Croatian:r=await import("./V676EY6H.js");break;case q.Hungarian:r=await import("./62B3R7J6.js");break;case q.Indonesian:r=await import("./6JEDR3NF.js");break;case q.Italian:r=await import("./BXC57WC6.js");break;case q.Japanese:r=await import("./D4F2WR7V.js");break;case q.Korean:r=await import("./MGQCALKQ.js");break;case q.Lithuanian:r=await import("./7F6Q2O57.js");break;case q.Latvian:r=await import("./33JSRBU6.js");break;case q.NorwegianBokml:r=await import("./BPHTWBZL.js");break;case q.Dutch:r=await import("./OBW23UMF.js");break;case q.Polish:r=await import("./JEUWE6RQ.js");break;case q.PortugueseBrazil:r=await import("./JB7NZXID.js");break;case q.PortuguesePortugal:r=await import("./UB5FY266.js");break;case q.Romanian:r=await import("./SQBHQIBF.js");break;case q.Russian:r=await import("./JSLHKTPD.js");break;case q.Serbian:r=await import("./X7YMJHD3.js");break;case q.Slovak:r=await import("./BYRMS6D4.js");break;case q.Slovenian:r=await import("./BXWBUMEV.js");break;case q.Swedish:r=await import("./4MLFXGJM.js");break;case q.Thai:r=await import("./HXEB5MST.js");break;case q.Turkish:r=await import("./IYZ65DGH.js");break;case q.Ukrainian:r=await import("./MXXPBMOT.js");break;case q.Vietnamese:r=await import("./YMHWBRMA.js");break;case q.ChineseChina:r=await import("./7XF35P7Q.js");break;case q.ChineseHongKong:r=await import("./OCW6K2PG.js");break;case q.ChineseTaiwan:r=await import("./S2Y7FKNH.js");break;case q.English:}return r}var Bt=class extends Error{constructor(r,i,t){super(i),this.name=r,this.details=t}},qt={Default:"defaultError",LayerLoadFailure:"layerLoadFailure",QueryFeaturesError:"queryFeaturesError",ChartDisposed:"ChartDisposeError",LayerFieldsNotFound:"layerFieldsNotFound"};function Aj(e){return e!==void 0&&(!("url"in e)||!e.url)}function Qa(e){return e!==void 0&&"layer"in e}function yw(e){return e!==void 0&&"type"in e&&e.type==="feature"}function gw(e){return e!==void 0&&"type"in e&&e.type==="subtype-group"}function Ka(e){return e!==void 0&&"type"in e&&e.type==="subtype-sublayer"}function Pj(e){return yw(e)||Ka(e)}function Re(e){return Ka(e)?e.parent:e}function jd(e){return e.capabilities?.query?.supportsDistance||Re(e).sourceJSON?.advancedQueryCapabilities?.supportsQueryWithDistance===!0}function bw(e,r){return e.capabilities?.queryAttributeBins?.supportsDate===!0&&(ut(r)||e.capabilities?.queryAttributeBins?.supportsStackBy)}function Fj(e){let r=!1,i=Re(qe(e)).sourceJSON;if(i){let t=i.queryBinsCapabilities?.supportsFixedIntervalBin,a=i.queryBinsCapabilities?.supportedStatisticTypes,o=[Ie.Maximum,Ie.Count].every(n=>a?.includes(n.toUpperCase())||a?.includes(n.toLowerCase()));r=t&&o}return r}function Oj(e){let r;return Qa(e)?r=e.layer:r=e,r}function qe(e){let r;return Qa(e)?r=e.layer:r=e,r}function vw(e){let r=!1,i=Re(e).sourceJSON?.advancedQueryCapabilities?.supportedSpatialAggregationStatistics??[],t=e.capabilities?.query.supportedSpatialAggregationStatistics??{};return r=i.includes("EnvelopeAggregate")||"envelope"in t&&t.envelope===!0,r}function Ej(e){let{chartConfig:r,queryObject:i}=e,t,a=qe(i);return a&&(t={id:a.id,layerType:"ArcGISFeatureLayer"},a.url&&(t.url=a.url)),{...r,iLayer:t}}var Vr=new Map;function Sw(e){let r;switch(e){case Ut.Feet:r="esriSRUnit_Foot";break;case Ut.Miles:r="esriSRUnit_StatuteMile";break;case Ut.NauticalMiles:r="esriSRUnit_NauticalMile";break;case Ut.USNauticalMiles:r="esriSRUnit_USNauticalMile";break;case Ut.Meters:r="esriSRUnit_Meter";break;case Ut.Kilometers:r="esriSRUnit_Kilometer";break}return r}async function Lj(e){let{queryObject:r,queryConfig:i,outputFormat:t,dataFormat:a,outAnalytics:o}=e,{where:n,geometry:s,distance:l,units:u,timeExtent:d}=i,c,p=qe(r),f=Re(p),m={query:{where:Ur([n,f.definitionExpression])}},y=Ja(s)?.extent?.toJSON();if(y!==void 0){let I=Sw(u),{xmin:S,ymin:F,xmax:w,ymax:T}=y;m.query={...m.query,geometryType:"esriGeometryEnvelope",geometry:`${S},${F},${w},${T}`,distance:l,units:I,inSR:s?.spatialReference?.wkid}}d&&(m.query.time=`${d[0]},${d[1]}`);let b=`${f.url}/${f.layerId}/queryAnalytic?f=${t}&dataFormat=${a}&outAnalytics=${o}`;try{c=(await Ba(b,m)).data?.features?.[0]?.attributes}catch(I){let S=await ft();throw new Bt(qt.QueryFeaturesError,S.queryError,I)}return c}function ww(e,r){return{lowerBoundaryAlias:`charts_lower_boundary_${e}`,upperBoundaryAlias:`charts_upper_boundary_${e}`,stackAlias:`charts_stack_alias_${r}`}}async function Dj(e){let{queryObject:r,queryConfig:i,xStep:t,xMin:a,xMax:o,x:n,y:s,yStep:l,errorStrings:u}=e,d;if(r&&"queryAttributeBins"in r&&Number.isFinite(t)&&Number.isFinite(l)&&Number.isFinite(a)&&Number.isFinite(o)&&t>0&&l>0){let c=Lw({queryObject:r,queryConfig:i,xStep:t,xMin:a,xMax:o,x:n,y:s,yStep:l});try{d=await r.queryAttributeBins(c)}catch(p){throw new Bt(qt.QueryFeaturesError,u.errors.queryError,p)}}return d}async function $j(e){let{queryConfig:r,x:i,queryObject:t,chartSubType:a,isGaugeByFeature:o}=e,n=qe(t),s;if(t!==void 0){let l=n.objectIdField,{where:u,gdbVersion:d,timeExtent:c,geometry:p,distance:f,units:m}=r,y=Pw(c),b=Ja(p),I=Re(n),S=Ur([u,I.definitionExpression]),F={returnDistinctValues:!0,outFields:o===!0||a===V.PieNoAggregation||a===V.BarAndLineNoAggregation||a===V.BarAndLineSplitByNoAggregation?[l]:[i],where:S,gdbVersion:d??I.gdbVersion,timeExtent:y??I.timeExtent,geometry:b};_d(F)&&(F.cacheHint=!0),F.geometry!==void 0&&jd(n)&&(f!==void 0&&(F.distance=f),m!==void 0&&(F.units=m));try{s=await t.queryFeatureCount(F)}catch{s=Number.NaN}}return s}async function jj(e){let{queryObject:r,queryConfig:i,abortKey:t}=e,{outStatistics:a}=i,o=new Map;if(r!==void 0&&a!==void 0&&a.length>0){let n=a.map(d=>{let{statisticType:c,onStatisticField:p,outStatisticFieldName:f}=d;return{statisticType:c,onStatisticField:p,outStatisticFieldName:f?.toUpperCase()}});i.outStatistics=n,delete i.num,delete i.orderByFields;let s=Bd({queryObject:r,queryConfig:i}),l;try{l=await r.queryFeatures(s,{signal:t!==void 0?Vr.get(t)?.signal:void 0})}catch(d){if(!za.isAbortError(d)){let c=await ft();throw new Bt(qt.QueryFeaturesError,c.queryError,d)}}let u=l?.features?.[0]?.attributes;u!==void 0&&a.forEach(d=>{let{outStatisticFieldName:c}=d;if(c!==void 0){let p=u[c.toLowerCase()]??u[c.toUpperCase()]??u[c];p!==void 0&&o.set(c,p)}})}return o}async function Rd(e){let{queryObject:r,queryConfig:i,returnUniqueIdsOnly:t,abortKey:a}=e,o=[],n=qe(r);if(r!==void 0){let s=Dw(n),l=Bd({queryObject:r,queryConfig:i,maxRecordCountFactor:s});try{t===!0?"queryObjectIds"in r?o=await r.queryObjectIds(l):(l.outFields=[n.objectIdField],o=(await r.queryFeatures(l,{signal:a!==void 0?Vr.get(a)?.signal:void 0})).features.map(u=>u.attributes[n.objectIdField])):o=(await r.queryFeatures(l,{signal:a!==void 0?Vr.get(a)?.signal:void 0})).features}catch(u){if(!za.isAbortError(u)){let d=await ft();throw new Bt(qt.QueryFeaturesError,d.queryError,u)}}}return o}async function xw(e){let r=[],{featureCount:i,maxRecords:t,queryConfig:a}=e,o=[],n=0,s=a?.start??0;for(;n<Xt.maxParallelRequests&&s<i;){let l={...e};l.queryConfig={...a,start:s,num:Math.min(t,i-s)},r.push(Rd(l)),s+=t,n+=1}return o=(await Promise.all(r)).flat(),o}async function Iw(e){let{queryObject:r,queryConfig:i,returnUniqueIdsOnly:t,featureCount:a,noBatch:o,abortKey:n}=e,s=[],l=qe(r);if(r!==void 0){let u=a??1,d=kd(l);if(o!==!0&&u>d&&l.capabilities?.query.supportsPagination){let c=0,p=0,f=Math.ceil(u/d),m=Math.ceil(f/Xt.maxParallelRequests),y=[];for(;p<m;){c=p*Xt.maxParallelRequests*d;let b=xw({queryConfig:{...i,start:c},queryObject:r,maxRecords:d,featureCount:u,returnUniqueIdsOnly:t,abortKey:n});y.push(b),p+=1}s=(await Promise.all(y)).flat()}else(Number.isNaN(u)||u>=0)&&(s=await Rd({queryObject:r,queryConfig:i,returnUniqueIdsOnly:t,abortKey:n}))}return s}async function Rj(e){let{queryObject:r,queryConfig:i,uniqueFeature:t,abortKey:a}=e,o={...i,returnDistinctValues:!0};return await Iw({queryObject:r,abortKey:a,queryConfig:o,returnUniqueIdsOnly:!0,featureCount:t===!0?1:void 0})}function _j(e){if(e!==void 0){let r=Vr.get(e);r!==void 0&&r.abort(),Vr.set(e,new AbortController)}}function Cw(e){return{lowerBoundaryAlias:`charts_lower_boundary_${e}`,upperBoundaryAlias:`charts_upper_boundary_${e}`}}async function kj(e){let{queryObject:r,dateField:i,splitByField:t,queryConfig:a,temporalBinning:o}=e,n=[],s;if(o){let{unit:l}=o;try{if(l){let u=Re(qe(r));if(s=bw(u,t),s&&r&&"queryAttributeBins"in r){let d=Ew({queryObject:r,queryConfig:a,temporalBinning:o,dateField:i,splitByField:t});n=(await r.queryAttributeBins(d)).features}}}catch(u){let d=await ft();throw new Bt(qt.QueryFeaturesError,d.queryError,u)}}if(s===!1){let l=await ft();throw new Bt(qt.QueryFeaturesError,l.queryBinsNotSupported,l.queryBinsNotSupported)}return n}function _d(e){let r=!e.geometry||e.geometry.type==="extent",i=(e.where??"").toUpperCase(),t=!i.includes("CURRENT_TIMESTAMP")&&!i.includes("CURRENT_DATE")&&!i.includes("CURRENT_TIME");return r&&t}function kd(e){let r=Re(e)?.sourceJSON,i=r?.maxRecordCount??Xt.maxRecords;return r?.advancedQueryCapabilities?.supportsMaxRecordCountFactor&&r?.maxRecordCount!==void 0&&(i=r.maxRecordCount*Xt.maxRecordCountFactor),i}function Ur(e,r){let i,t=Array.from(new Set(e)).filter(a=>a!=null&&a!==""&&!Fr(a));return t.sort((a,o)=>o.length-a.length),t.length===1?[i]=t:t?.forEach(a=>{a!==void 0&&(ut(i)?i=`(${a})`:i?.includes(`(${a})`)||(i=`${i} ${r??"AND"} (${a})`))}),i??"1=1"}function Tw(e,r){let i=r;if(e!==void 0){let t=qe(e),a=Re(t).timeExtent;a?.start!=null&&a?.end!=null&&(i=[a.start.valueOf(),a.end.valueOf()])}return i}function Aw(e){let{queryObject:r,defaultGeometry:i,ignoreViewExtent:t}=e,a=i;if(!t&&Qa(r)){let o=r.view.extent,{xmin:n,xmax:s,ymin:l,ymax:u,zmin:d,zmax:c,spatialReference:p}=o;a={xmin:n,ymin:l,zmin:d,xmax:s,ymax:u,zmax:c,spatialReference:p}}return a}function Pw(e){let r;return e!==void 0&&(r=new ud({start:new Date(e[0]),end:new Date(e[1])})),r}function Ja(e){let r;return e!==void 0&&(r=Wa.fromJSON(e)),r}function Fw(e){return e===void 0?["*"]:Array.from(new Set(e))}function Za(e){let{queryObject:r,queryConfig:i,queryType:t}=e,{where:a,outStatistics:o,geometry:n,distance:s,units:l,timeExtent:u,returnDistinctValues:d}=i??{},c=t==="Query"?new xv({}):new wv({}),p=qe(r),f=Re(p),m=[a,f.definitionExpression];if(c.where=Ur(m),c.returnDistinctValues=d??!1,o!==void 0){let I=vw(p);c.outStatistics=o.filter(S=>S.statisticType!==Ie.EnvelopeAggregate||I).map(S=>Iv.fromJSON(S))}let y=Ja(n);y!==void 0&&(c.geometry=y,i?.spatialRelationship&&(c.spatialRelationship=i.spatialRelationship),jd(p)&&(s!==void 0&&(c.distance=s),l!==void 0&&(c.units=l)));let b;return u&&(b=new ud({start:u?.[0],end:u?.[1]})),b!==void 0?c.timeExtent=b:f.timeExtent!==void 0&&(c.timeExtent=f.timeExtent),_d(c)&&(c.cacheHint=!0),c}function Ow(e){let r;switch(e){case ar.Start:r="first";break;case ar.End:r="last";break}return r}function Ew(e){let{queryObject:r,queryConfig:i,temporalBinning:t,dateField:a,splitByField:o}=e,n=qe(r),s=Za({queryObject:r,queryConfig:i,queryType:"AttributeBinsQuery"}),{type:l,unit:u,size:d,trimIncompleteTimeInterval:c,timeAggregationType:p}=t,{start:f,end:m,offset:y,outTimeZone:b}=l===ta.CalendarBased?t:{},I=Cw(a);if(s.lowerBoundaryAlias=I.lowerBoundaryAlias,s.upperBoundaryAlias=I.upperBoundaryAlias,s.outTimeZone=b??Intl.DateTimeFormat().resolvedOptions().timeZone,s.binParameters={type:"date",field:a,interval:{unit:u,value:d},start:f,end:m,offset:y?{unit:y.unit,value:y.size}:null},s.binParameters.type==="date"&&(n.capabilities?.queryAttributeBins?.supportsSnapToData&&(s.binParameters.snapToData=Ow(p)),n.capabilities?.queryAttributeBins?.supportsReturnFullIntervalBin&&(s.binParameters.returnFullIntervalBin=c===!1)),!ut(o)){let S=Re(n).fields.find(F=>F.name===o)?.type;(!S||S==="string"||S==="integer"||S==="small-integer"||S==="big-integer"||S==="double")&&(s.binParameters.stackBy={type:"field",value:o,valueType:S==="string"?"string":"integer"})}return s}function Lw(e){let{queryObject:r,queryConfig:i,xStep:t,xMin:a,xMax:o,x:n,y:s,yStep:l}=e,u=Za({queryObject:r,queryConfig:i,queryType:"AttributeBinsQuery"}),d=ww(n,s);return u.lowerBoundaryAlias=d.lowerBoundaryAlias,u.upperBoundaryAlias=d.upperBoundaryAlias,u.binParameters={type:"fixed-interval",field:n,interval:t,start:a,end:o,stackBy:{value:`FLOOR(${s} / ${l})`,type:"expression",alias:d.stackAlias,valueType:"integer"}},u}function Bd(e){let{queryObject:r,queryConfig:i,maxRecordCountFactor:t}=e,{groupByFieldsForStatistics:a,orderByFields:o,gdbVersion:n,start:s,num:l,outFields:u}=i??{},d=Za({queryObject:r,queryConfig:i,queryType:"Query"});d.returnGeometry=!1;let c=qe(r),p=Re(c);return d.outFields=Fw(u),d.groupByFieldsForStatistics=a??d.groupByFieldsForStatistics,d.orderByFields=o??[],d.objectIds=i?.objectIds,t!==void 0&&(d.maxRecordCountFactor=t),n!==void 0&&n!==""?d.gdbVersion=n:p.gdbVersion!==void 0&&p.gdbVersion!==""&&(d.gdbVersion=p.gdbVersion),l!==void 0&&(d.num=l),s!==void 0&&(d.start=s,d.num=d.num??kd(c)),d}function Dw(e){return Re(e)?.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor===!0?Xt.maxRecordCountFactor:void 0}function Bj(e){let r,i,t;return e!==void 0&&(r=e.type,(r===Yr.UniqueValue||r===Yr.ClassBreaks)&&(i=e.field??void 0,r===Yr.ClassBreaks&&(t=e.normalizationField??void 0))),{rendererType:r,rendererField:i,rendererNormalizationField:t}}var $w=(0,cd.default)(async e=>{let r=e.featureCollection,i,t;if(r?.layers?.[0]!==void 0){let n=r.layers[0];i=n.featureSet,t=n.layerDefinition}else t=e.layerDefinition;let a={};if(i!==void 0){if(a.source=bv.fromJSON(i).features,t?.fields!==void 0&&(a.fields=t.fields.map(n=>gv.fromJSON(n))),t?.objectIdField!==void 0&&(a.objectIdField=t.objectIdField),t?.geometryType!==void 0){let n=Wa.fromJSON({geometryType:t.geometryType});n?.type!==void 0&&n?.type!=="extent"&&(a.geometryType=n.type)}t?.spatialReference!==void 0&&(a.spatialReference=t.spatialReference)}else a.id=e.id,t?.id!==void 0&&(a.layerId=t.id),e.url!==void 0&&(a.url=e.url),e.itemId!==void 0&&t?.id!==void 0&&(a.portalItem={id:e.itemId});if(t!==void 0){let n=t.drawingInfo;n?.renderer!==void 0&&(a.renderer=dd.fromJSON(n.renderer))}let o=new vv(a);return await o.load(),o});async function qj(e){let{layer:r,view:i,chartConfig:t}=e,a;if(r!==void 0){let o=qe(r),n=Re(o);if(i!==void 0&&!n.isTable){n.outFields=["*"];let s=u=>"highlight"in u,l=await i.whenLayerView(n);s(l)&&(a=l)}else a=r}else"iLayer"in t&&t.iLayer&&(a=await $w(t.iLayer));return a}async function Xa(e,r){let i=qe(e),t=[];if(i!==void 0){await i.load();let a=r===!0&&i?.popupTemplate?.fieldInfos!==void 0;t=i.fields.map(o=>{let n=o.toJSON();if(a){let s=i.popupTemplate?.fieldInfos?.find(l=>l.fieldName?.toLowerCase()===o.name.toLowerCase())?.label;s!==void 0&&s!==o.name&&(n.alias=s)}return n})}return t}function Ya(e,r=[]){return r.find(i=>i.name===e)}function Mj(e){return e.find(r=>r.type===Be.OID)?.name??""}function qd(e){return[Be.Single,Be.Double,Be.SmallInteger,Be.Integer,Be.BigInteger].includes(e.type)}function Nj(e){return e.type===Be.Date}function Wj(e){return[Be.SmallInteger,Be.Integer,Be.BigInteger].includes(e.type)}function zj(e){return e.filter(r=>r.type===Be.Date||r.type===Be.DateOnly||r.type===Be.TimestampOffset).map(r=>r.name)}function Vj(e){return e.filter(r=>qd(r)).map(r=>r.name)}function jw(e){let{subtypeInfo:r,fieldName:i,fieldValueToMatch:t}=e,a,o=n=>`${n.id}`==`${t}`;return r?.subtypeField===i&&r.subtypes?a=r.subtypes.find(o)?.name:r?.typeIdField===i&&r.types&&(a=r.types.find(o)?.name),a}function ql(e,r){let i=[],t=gw(e)?e.subtypes:e[r];return t?.[0]!==void 0&&t.forEach(a=>{let{name:o,domains:n}=a,s="id"in a?a.id:void 0;!s&&"code"in a&&(s=a.code);let l=Object.entries(n??{}),u=[],d=l?.filter(([c,p])=>p?.type==="coded-value")?.map(([c,p])=>{let f={fieldName:c,name:o,codedValues:u};if(p&&"codedValues"in p){let m=p.codedValues.map(({code:y,name:b})=>({name:b,code:y}));f={fieldName:c,name:p.name,codedValues:m}}return f});i.push({id:s??"",name:o,domains:d})}),i.length===0?void 0:i}function Uj(e){let r;if(e!==void 0){let i=qe(e);if(!Ka(i)&&!ut(i?.typeIdField)){let t=ql(i,"types");t!==void 0&&(r={typeIdField:i.typeIdField??void 0,types:t})}if(!ut(i?.subtypeField)){let t=Re(i),a=ql(t,"subtypes");a!==void 0&&(r={...r,subtypeField:t.subtypeField??void 0,subtypes:a})}}return r}function Gj(e){let{fieldName:r,fieldValueToMatch:i,subtypeInfo:t,fieldList:a}=e,o;if((typeof i!="string"||!ut(i))&&!ut(r)&&(o=jw({subtypeInfo:t,fieldName:r,fieldValueToMatch:i}),o===void 0)){let n=Ya(r,a);if(t?.types!==void 0){let s=t?.types;for(let l of s){let u=l.domains?.filter(d=>d.fieldName===n?.name)??[];for(let d of u)if(o=d?.codedValues?.find(c=>`${c.code}`===i)?.name,o!==void 0)break;if(o!==void 0)break}}o===void 0&&n?.domain!==void 0&&n.domain.type==="codedValue"&&(o=n.domain.codedValues?.find(s=>`${s.code}`==`${i}`)?.name)}return o}async function Hj(e){let r=[];return!Re(e).isTable&&e.fieldsIndex&&(r=await pd.getRendererFields(e.renderer,e.fieldsIndex)),r}function Rw(e){let r="/rest/services",i=e.toLowerCase(),t=i.indexOf(r);return i=t>-1?e.substring(0,t):e,`${i}/rest/info`}async function Qj(e){let r=!0,i=".arcgis.com/",t=e.url,a=t?.includes(i);if(t&&a&&Re(e).sourceJSON.serviceItemId!==void 0){let o=Rw(t);try{let n=(await Ba(o,{query:{f:"json"}})).data;if(n.owningTenant!==void 0&&n.owningSystemUrl!==void 0){let s=`${n.owningSystemUrl}/sharing/rest/portals/${n.owningTenant}`,l=(await Ba(s,{authMode:"auto",query:{f:"json"}})).data,u=new Sv({sourceJSON:l});await u.load(),r=u?.sourceJSON?.subscriptionInfo?.dataStoreLevel===void 0}}catch{}}return r}async function _w(e){let{queryObject:r,fieldToMatch:i,returnUndefinedIfNotFound:t}=e,a=await Xa(r),o=a.find(s=>i===s.name);o||(o=a.find(s=>i.toUpperCase()===s.name.toUpperCase()));let n=t?"":i;return o?.name??n}async function Kj(e){let{fieldsList:r,queryObject:i,returnUndefinedIfNotFound:t}=e,a=r;return a!==void 0&&(a=await Promise.all(a.map(async o=>await _w({queryObject:i,fieldToMatch:o,returnUndefinedIfNotFound:t})))),a}function Jj(e){let{queryObject:r,chartConfig:i,runtimeDataFilters:t,ignoreViewExtent:a}=e,{series:o,dataFilters:n}=i,{where:s,gdbVersion:l,timeExtent:u,geometry:d,distance:c,units:p,objectIds:f,spatialRelationship:m}=n??{},{where:y,gdbVersion:b,timeExtent:I,geometry:S,distance:F,units:w,objectIds:T,spatialRelationship:E}=t??{},P=o[0],{query:O}=P,{where:j}=O??{},x=Ct(o),C={...O};return C.where=Ur([s,y]),x!==V.BarAndLineSplitBy&&x!==V.BoxPlotMonoFieldAndSplitBy&&x!==V.BoxPlotMonoFieldAndCategoryAndSplitBy&&x!==V.BoxPlotMultiFieldsAndSplitBy&&x!==V.BarAndLineSplitByNoAggregation&&(C.where=Ur([C.where,j])),i.orderOptions?.orderByFields!==void 0&&(C.orderByFields=i.orderOptions.orderByFields),C.gdbVersion=b??l,C.timeExtent=Tw(r,I??u),C.geometry=Aw({queryObject:r,defaultGeometry:S??d,ignoreViewExtent:a}),C.distance=F??c,C.units=w??p,C.objectIds=T??f,C.spatialRelationship=E??m,O?.outStatistics?.[0]?.statisticType===Ie.Count&&(C.returnDistinctValues=O?.returnDistinctValues??!1),C}var Zj=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function kw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Vi={exports:{}};var Bw=Vi.exports,Ml;function qw(){return Ml||(Ml=1,function(e,r){(function(i,t){t(r)})(Bw,function(i){function t(){for(var h=arguments.length,g=Array(h),v=0;v<h;v++)g[v]=arguments[v];if(g.length>1){g[0]=g[0].slice(0,-1);for(var L=g.length-1,$=1;$<L;++$)g[$]=g[$].slice(1,-1);return g[L]=g[L].slice(1),g.join("")}else return g[0]}function a(h){return"(?:"+h+")"}function o(h){return h===void 0?"undefined":h===null?"null":Object.prototype.toString.call(h).split(" ").pop().split("]").shift().toLowerCase()}function n(h){return h.toUpperCase()}function s(h){return h!=null?h instanceof Array?h:typeof h.length!="number"||h.split||h.setInterval||h.call?[h]:Array.prototype.slice.call(h):[]}function l(h,g){var v=h;if(g)for(var L in g)v[L]=g[L];return v}function u(h){var g="[A-Za-z]",v="[0-9]",L=t(v,"[A-Fa-f]"),$=a(a("%[EFef]"+L+"%"+L+L+"%"+L+L)+"|"+a("%[89A-Fa-f]"+L+"%"+L+L)+"|"+a("%"+L+L)),G="[\\:\\/\\?\\#\\[\\]\\@]",U="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",oe=t(G,U),Fe=h?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",de=h?"[\\uE000-\\uF8FF]":"[]",re=t(g,v,"[\\-\\.\\_\\~]",Fe);a(g+t(g,v,"[\\+\\-\\.]")+"*"),a(a($+"|"+t(re,U,"[\\:]"))+"*");var he=a(a("25[0-5]")+"|"+a("2[0-4]"+v)+"|"+a("1"+v+v)+"|"+a("0?[1-9]"+v)+"|0?0?"+v),Pe=a(he+"\\."+he+"\\."+he+"\\."+he),ee=a(L+"{1,4}"),Oe=a(a(ee+"\\:"+ee)+"|"+Pe),ce=a(a(ee+"\\:")+"{6}"+Oe),Ue=a("\\:\\:"+a(ee+"\\:")+"{5}"+Oe),ir=a(a(ee)+"?\\:\\:"+a(ee+"\\:")+"{4}"+Oe),Xe=a(a(a(ee+"\\:")+"{0,1}"+ee)+"?\\:\\:"+a(ee+"\\:")+"{3}"+Oe),gt=a(a(a(ee+"\\:")+"{0,2}"+ee)+"?\\:\\:"+a(ee+"\\:")+"{2}"+Oe),Wt=a(a(a(ee+"\\:")+"{0,3}"+ee)+"?\\:\\:"+ee+"\\:"+Oe),zt=a(a(a(ee+"\\:")+"{0,4}"+ee)+"?\\:\\:"+Oe),Ge=a(a(a(ee+"\\:")+"{0,5}"+ee)+"?\\:\\:"+ee),bt=a(a(a(ee+"\\:")+"{0,6}"+ee)+"?\\:\\:"),Vt=a([ce,Ue,ir,Xe,gt,Wt,zt,Ge,bt].join("|")),st=a(a(re+"|"+$)+"+");a("[vV]"+L+"+\\."+t(re,U,"[\\:]")+"+"),a(a($+"|"+t(re,U))+"*");var Qr=a($+"|"+t(re,U,"[\\:\\@]"));return a(a($+"|"+t(re,U,"[\\@]"))+"+"),a(a(Qr+"|"+t("[\\/\\?]",de))+"*"),{NOT_SCHEME:new RegExp(t("[^]",g,v,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",re,U),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",re,U),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",re,U),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",re,U),"g"),NOT_QUERY:new RegExp(t("[^\\%]",re,U,"[\\:\\@\\/\\?]",de),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",re,U,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",re,U),"g"),UNRESERVED:new RegExp(re,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",re,oe),"g"),PCT_ENCODED:new RegExp($,"g"),IPV4ADDRESS:new RegExp("^("+Pe+")$"),IPV6ADDRESS:new RegExp("^\\[?("+Vt+")"+a(a("\\%25|\\%(?!"+L+"{2})")+"("+st+")")+"?\\]?$")}}var d=u(!1),c=u(!0),p=function(){function h(g,v){var L=[],$=!0,G=!1,U=void 0;try{for(var oe=g[Symbol.iterator](),Fe;!($=(Fe=oe.next()).done)&&(L.push(Fe.value),!(v&&L.length===v));$=!0);}catch(de){G=!0,U=de}finally{try{!$&&oe.return&&oe.return()}finally{if(G)throw U}}return L}return function(g,v){if(Array.isArray(g))return g;if(Symbol.iterator in Object(g))return h(g,v);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=function(h){if(Array.isArray(h)){for(var g=0,v=Array(h.length);g<h.length;g++)v[g]=h[g];return v}else return Array.from(h)},m=2147483647,y=36,b=1,I=26,S=38,F=700,w=72,T=128,E="-",P=/^xn--/,O=/[^\0-\x7E]/,j=/[\x2E\u3002\uFF0E\uFF61]/g,x={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},C=y-b,k=Math.floor,B=String.fromCharCode;function M(h){throw new RangeError(x[h])}function J(h,g){for(var v=[],L=h.length;L--;)v[L]=g(h[L]);return v}function Z(h,g){var v=h.split("@"),L="";v.length>1&&(L=v[0]+"@",h=v[1]),h=h.replace(j,".");var $=h.split("."),G=J($,g).join(".");return L+G}function K(h){for(var g=[],v=0,L=h.length;v<L;){var $=h.charCodeAt(v++);if($>=55296&&$<=56319&&v<L){var G=h.charCodeAt(v++);(G&64512)==56320?g.push((($&1023)<<10)+(G&1023)+65536):(g.push($),v--)}else g.push($)}return g}var X=function(h){return String.fromCodePoint.apply(String,f(h))},Q=function(h){return h-48<10?h-22:h-65<26?h-65:h-97<26?h-97:y},fe=function(h,g){return h+22+75*(h<26)-((g!=0)<<5)},$e=function(h,g,v){var L=0;for(h=v?k(h/F):h>>1,h+=k(h/g);h>C*I>>1;L+=y)h=k(h/C);return k(L+(C+1)*h/(h+S))},Ee=function(h){var g=[],v=h.length,L=0,$=T,G=w,U=h.lastIndexOf(E);U<0&&(U=0);for(var oe=0;oe<U;++oe)h.charCodeAt(oe)>=128&&M("not-basic"),g.push(h.charCodeAt(oe));for(var Fe=U>0?U+1:0;Fe<v;){for(var de=L,re=1,he=y;;he+=y){Fe>=v&&M("invalid-input");var Pe=Q(h.charCodeAt(Fe++));(Pe>=y||Pe>k((m-L)/re))&&M("overflow"),L+=Pe*re;var ee=he<=G?b:he>=G+I?I:he-G;if(Pe<ee)break;var Oe=y-ee;re>k(m/Oe)&&M("overflow"),re*=Oe}var ce=g.length+1;G=$e(L-de,ce,de==0),k(L/ce)>m-$&&M("overflow"),$+=k(L/ce),L%=ce,g.splice(L++,0,$)}return String.fromCodePoint.apply(String,g)},xe=function(h){var g=[];h=K(h);var v=h.length,L=T,$=0,G=w,U=!0,oe=!1,Fe=void 0;try{for(var de=h[Symbol.iterator](),re;!(U=(re=de.next()).done);U=!0){var he=re.value;he<128&&g.push(B(he))}}catch(jr){oe=!0,Fe=jr}finally{try{!U&&de.return&&de.return()}finally{if(oe)throw Fe}}var Pe=g.length,ee=Pe;for(Pe&&g.push(E);ee<v;){var Oe=m,ce=!0,Ue=!1,ir=void 0;try{for(var Xe=h[Symbol.iterator](),gt;!(ce=(gt=Xe.next()).done);ce=!0){var Wt=gt.value;Wt>=L&&Wt<Oe&&(Oe=Wt)}}catch(jr){Ue=!0,ir=jr}finally{try{!ce&&Xe.return&&Xe.return()}finally{if(Ue)throw ir}}var zt=ee+1;Oe-L>k((m-$)/zt)&&M("overflow"),$+=(Oe-L)*zt,L=Oe;var Ge=!0,bt=!1,Vt=void 0;try{for(var st=h[Symbol.iterator](),Qr;!(Ge=(Qr=st.next()).done);Ge=!0){var uo=Qr.value;if(uo<L&&++$>m&&M("overflow"),uo==L){for(var Kr=$,Jr=y;;Jr+=y){var Zr=Jr<=G?b:Jr>=G+I?I:Jr-G;if(Kr<Zr)break;var fo=Kr-Zr,ho=y-Zr;g.push(B(fe(Zr+fo%ho,0))),Kr=k(fo/ho)}g.push(B(fe(Kr,0))),G=$e($,zt,ee==Pe),$=0,++ee}}}catch(jr){bt=!0,Vt=jr}finally{try{!Ge&&st.return&&st.return()}finally{if(bt)throw Vt}}++$,++L}return g.join("")},ot=function(h){return Z(h,function(g){return P.test(g)?Ee(g.slice(4).toLowerCase()):g})},ze=function(h){return Z(h,function(g){return O.test(g)?"xn--"+xe(g):g})},A={version:"2.1.0",ucs2:{decode:K,encode:X},decode:Ee,encode:xe,toASCII:ze,toUnicode:ot},R={};function N(h){var g=h.charCodeAt(0),v=void 0;return g<16?v="%0"+g.toString(16).toUpperCase():g<128?v="%"+g.toString(16).toUpperCase():g<2048?v="%"+(g>>6|192).toString(16).toUpperCase()+"%"+(g&63|128).toString(16).toUpperCase():v="%"+(g>>12|224).toString(16).toUpperCase()+"%"+(g>>6&63|128).toString(16).toUpperCase()+"%"+(g&63|128).toString(16).toUpperCase(),v}function z(h){for(var g="",v=0,L=h.length;v<L;){var $=parseInt(h.substr(v+1,2),16);if($<128)g+=String.fromCharCode($),v+=3;else if($>=194&&$<224){if(L-v>=6){var G=parseInt(h.substr(v+4,2),16);g+=String.fromCharCode(($&31)<<6|G&63)}else g+=h.substr(v,6);v+=6}else if($>=224){if(L-v>=9){var U=parseInt(h.substr(v+4,2),16),oe=parseInt(h.substr(v+7,2),16);g+=String.fromCharCode(($&15)<<12|(U&63)<<6|oe&63)}else g+=h.substr(v,9);v+=9}else g+=h.substr(v,3),v+=3}return g}function _(h,g){function v(L){var $=z(L);return $.match(g.UNRESERVED)?$:L}return h.scheme&&(h.scheme=String(h.scheme).replace(g.PCT_ENCODED,v).toLowerCase().replace(g.NOT_SCHEME,"")),h.userinfo!==void 0&&(h.userinfo=String(h.userinfo).replace(g.PCT_ENCODED,v).replace(g.NOT_USERINFO,N).replace(g.PCT_ENCODED,n)),h.host!==void 0&&(h.host=String(h.host).replace(g.PCT_ENCODED,v).toLowerCase().replace(g.NOT_HOST,N).replace(g.PCT_ENCODED,n)),h.path!==void 0&&(h.path=String(h.path).replace(g.PCT_ENCODED,v).replace(h.scheme?g.NOT_PATH:g.NOT_PATH_NOSCHEME,N).replace(g.PCT_ENCODED,n)),h.query!==void 0&&(h.query=String(h.query).replace(g.PCT_ENCODED,v).replace(g.NOT_QUERY,N).replace(g.PCT_ENCODED,n)),h.fragment!==void 0&&(h.fragment=String(h.fragment).replace(g.PCT_ENCODED,v).replace(g.NOT_FRAGMENT,N).replace(g.PCT_ENCODED,n)),h}function W(h){return h.replace(/^0*(.*)/,"$1")||"0"}function H(h,g){var v=h.match(g.IPV4ADDRESS)||[],L=p(v,2),$=L[1];return $?$.split(".").map(W).join("."):h}function Y(h,g){var v=h.match(g.IPV6ADDRESS)||[],L=p(v,3),$=L[1],G=L[2];if($){for(var U=$.toLowerCase().split("::").reverse(),oe=p(U,2),Fe=oe[0],de=oe[1],re=de?de.split(":").map(W):[],he=Fe.split(":").map(W),Pe=g.IPV4ADDRESS.test(he[he.length-1]),ee=Pe?7:8,Oe=he.length-ee,ce=Array(ee),Ue=0;Ue<ee;++Ue)ce[Ue]=re[Ue]||he[Oe+Ue]||"";Pe&&(ce[ee-1]=H(ce[ee-1],g));var ir=ce.reduce(function(Ge,bt,Vt){if(!bt||bt==="0"){var st=Ge[Ge.length-1];st&&st.index+st.length===Vt?st.length++:Ge.push({index:Vt,length:1})}return Ge},[]),Xe=ir.sort(function(Ge,bt){return bt.length-Ge.length})[0],gt=void 0;if(Xe&&Xe.length>1){var Wt=ce.slice(0,Xe.index),zt=ce.slice(Xe.index+Xe.length);gt=Wt.join(":")+"::"+zt.join(":")}else gt=ce.join(":");return G&&(gt+="%"+G),gt}else return h}var ge=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,be="".match(/(){0}/)[1]===void 0;function ne(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v={},L=g.iri!==!1?c:d;g.reference==="suffix"&&(h=(g.scheme?g.scheme+":":"")+"//"+h);var $=h.match(ge);if($){be?(v.scheme=$[1],v.userinfo=$[3],v.host=$[4],v.port=parseInt($[5],10),v.path=$[6]||"",v.query=$[7],v.fragment=$[8],isNaN(v.port)&&(v.port=$[5])):(v.scheme=$[1]||void 0,v.userinfo=h.indexOf("@")!==-1?$[3]:void 0,v.host=h.indexOf("//")!==-1?$[4]:void 0,v.port=parseInt($[5],10),v.path=$[6]||"",v.query=h.indexOf("?")!==-1?$[7]:void 0,v.fragment=h.indexOf("#")!==-1?$[8]:void 0,isNaN(v.port)&&(v.port=h.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?$[4]:void 0)),v.host&&(v.host=Y(H(v.host,L),L)),v.scheme===void 0&&v.userinfo===void 0&&v.host===void 0&&v.port===void 0&&!v.path&&v.query===void 0?v.reference="same-document":v.scheme===void 0?v.reference="relative":v.fragment===void 0?v.reference="absolute":v.reference="uri",g.reference&&g.reference!=="suffix"&&g.reference!==v.reference&&(v.error=v.error||"URI is not a "+g.reference+" reference.");var G=R[(g.scheme||v.scheme||"").toLowerCase()];if(!g.unicodeSupport&&(!G||!G.unicodeSupport)){if(v.host&&(g.domainHost||G&&G.domainHost))try{v.host=A.toASCII(v.host.replace(L.PCT_ENCODED,z).toLowerCase())}catch(U){v.error=v.error||"Host's domain name can not be converted to ASCII via punycode: "+U}_(v,d)}else _(v,L);G&&G.parse&&G.parse(v,g)}else v.error=v.error||"URI can not be parsed.";return v}function ae(h,g){var v=g.iri!==!1?c:d,L=[];return h.userinfo!==void 0&&(L.push(h.userinfo),L.push("@")),h.host!==void 0&&L.push(Y(H(String(h.host),v),v).replace(v.IPV6ADDRESS,function($,G,U){return"["+G+(U?"%25"+U:"")+"]"})),(typeof h.port=="number"||typeof h.port=="string")&&(L.push(":"),L.push(String(h.port))),L.length?L.join(""):void 0}var le=/^\.\.?\//,Ve=/^\/\.(\/|$)/,mt=/^\/\.\.(\/|$)/,ve=/^\/?(?:.|\n)*?(?=\/|$)/;function Le(h){for(var g=[];h.length;)if(h.match(le))h=h.replace(le,"");else if(h.match(Ve))h=h.replace(Ve,"/");else if(h.match(mt))h=h.replace(mt,"/"),g.pop();else if(h==="."||h==="..")h="";else{var v=h.match(ve);if(v){var L=v[0];h=h.slice(L.length),g.push(L)}else throw new Error("Unexpected dot segment condition")}return g.join("")}function Se(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=g.iri?c:d,L=[],$=R[(g.scheme||h.scheme||"").toLowerCase()];if($&&$.serialize&&$.serialize(h,g),h.host&&!v.IPV6ADDRESS.test(h.host)&&(g.domainHost||$&&$.domainHost))try{h.host=g.iri?A.toUnicode(h.host):A.toASCII(h.host.replace(v.PCT_ENCODED,z).toLowerCase())}catch(oe){h.error=h.error||"Host's domain name can not be converted to "+(g.iri?"Unicode":"ASCII")+" via punycode: "+oe}_(h,v),g.reference!=="suffix"&&h.scheme&&(L.push(h.scheme),L.push(":"));var G=ae(h,g);if(G!==void 0&&(g.reference!=="suffix"&&L.push("//"),L.push(G),h.path&&h.path.charAt(0)!=="/"&&L.push("/")),h.path!==void 0){var U=h.path;!g.absolutePath&&(!$||!$.absolutePath)&&(U=Le(U)),G===void 0&&(U=U.replace(/^\/\//,"/%2F")),L.push(U)}return h.query!==void 0&&(L.push("?"),L.push(h.query)),h.fragment!==void 0&&(L.push("#"),L.push(h.fragment)),L.join("")}function Lr(h,g){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},L=arguments[3],$={};return L||(h=ne(Se(h,v),v),g=ne(Se(g,v),v)),v=v||{},!v.tolerant&&g.scheme?($.scheme=g.scheme,$.userinfo=g.userinfo,$.host=g.host,$.port=g.port,$.path=Le(g.path||""),$.query=g.query):(g.userinfo!==void 0||g.host!==void 0||g.port!==void 0?($.userinfo=g.userinfo,$.host=g.host,$.port=g.port,$.path=Le(g.path||""),$.query=g.query):(g.path?(g.path.charAt(0)==="/"?$.path=Le(g.path):((h.userinfo!==void 0||h.host!==void 0||h.port!==void 0)&&!h.path?$.path="/"+g.path:h.path?$.path=h.path.slice(0,h.path.lastIndexOf("/")+1)+g.path:$.path=g.path,$.path=Le($.path)),$.query=g.query):($.path=h.path,g.query!==void 0?$.query=g.query:$.query=h.query),$.userinfo=h.userinfo,$.host=h.host,$.port=h.port),$.scheme=h.scheme),$.fragment=g.fragment,$}function Zi(h,g,v){var L=l({scheme:"null"},v);return Se(Lr(ne(h,L),ne(g,L),L,!0),L)}function Xi(h,g){return typeof h=="string"?h=Se(ne(h,g),g):o(h)==="object"&&(h=ne(Se(h,g),g)),h}function Ud(h,g,v){return typeof h=="string"?h=Se(ne(h,v),v):o(h)==="object"&&(h=Se(h,v)),typeof g=="string"?g=Se(ne(g,v),v):o(g)==="object"&&(g=Se(g,v)),h===g}function Gd(h,g){return h&&h.toString().replace(!g||!g.iri?d.ESCAPE:c.ESCAPE,N)}function yt(h,g){return h&&h.toString().replace(!g||!g.iri?d.PCT_ENCODED:c.PCT_ENCODED,z)}var Dr={scheme:"http",domainHost:!0,parse:function(h,g){return h.host||(h.error=h.error||"HTTP URIs must have a host."),h},serialize:function(h,g){var v=String(h.scheme).toLowerCase()==="https";return(h.port===(v?443:80)||h.port==="")&&(h.port=void 0),h.path||(h.path="/"),h}},io={scheme:"https",domainHost:Dr.domainHost,parse:Dr.parse,serialize:Dr.serialize};function ao(h){return typeof h.secure=="boolean"?h.secure:String(h.scheme).toLowerCase()==="wss"}var $r={scheme:"ws",domainHost:!0,parse:function(h,g){var v=h;return v.secure=ao(v),v.resourceName=(v.path||"/")+(v.query?"?"+v.query:""),v.path=void 0,v.query=void 0,v},serialize:function(h,g){if((h.port===(ao(h)?443:80)||h.port==="")&&(h.port=void 0),typeof h.secure=="boolean"&&(h.scheme=h.secure?"wss":"ws",h.secure=void 0),h.resourceName){var v=h.resourceName.split("?"),L=p(v,2),$=L[0],G=L[1];h.path=$&&$!=="/"?$:void 0,h.query=G,h.resourceName=void 0}return h.fragment=void 0,h}},oo={scheme:"wss",domainHost:$r.domainHost,parse:$r.parse,serialize:$r.serialize},Hd={},no="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",nt="[0-9A-Fa-f]",Qd=a(a("%[EFef]"+nt+"%"+nt+nt+"%"+nt+nt)+"|"+a("%[89A-Fa-f]"+nt+"%"+nt+nt)+"|"+a("%"+nt+nt)),Kd="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",Jd="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",Zd=t(Jd,'[\\"\\\\]'),Xd="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Yd=new RegExp(no,"g"),rr=new RegExp(Qd,"g"),ec=new RegExp(t("[^]",Kd,"[\\.]",'[\\"]',Zd),"g"),so=new RegExp(t("[^]",no,Xd),"g"),tc=so;function Yi(h){var g=z(h);return g.match(Yd)?g:h}var lo={scheme:"mailto",parse:function(h,g){var v=h,L=v.to=v.path?v.path.split(","):[];if(v.path=void 0,v.query){for(var $=!1,G={},U=v.query.split("&"),oe=0,Fe=U.length;oe<Fe;++oe){var de=U[oe].split("=");switch(de[0]){case"to":for(var re=de[1].split(","),he=0,Pe=re.length;he<Pe;++he)L.push(re[he]);break;case"subject":v.subject=yt(de[1],g);break;case"body":v.body=yt(de[1],g);break;default:$=!0,G[yt(de[0],g)]=yt(de[1],g);break}}$&&(v.headers=G)}v.query=void 0;for(var ee=0,Oe=L.length;ee<Oe;++ee){var ce=L[ee].split("@");if(ce[0]=yt(ce[0]),g.unicodeSupport)ce[1]=yt(ce[1],g).toLowerCase();else try{ce[1]=A.toASCII(yt(ce[1],g).toLowerCase())}catch(Ue){v.error=v.error||"Email address's domain name can not be converted to ASCII via punycode: "+Ue}L[ee]=ce.join("@")}return v},serialize:function(h,g){var v=h,L=s(h.to);if(L){for(var $=0,G=L.length;$<G;++$){var U=String(L[$]),oe=U.lastIndexOf("@"),Fe=U.slice(0,oe).replace(rr,Yi).replace(rr,n).replace(ec,N),de=U.slice(oe+1);try{de=g.iri?A.toUnicode(de):A.toASCII(yt(de,g).toLowerCase())}catch(ee){v.error=v.error||"Email address's domain name can not be converted to "+(g.iri?"Unicode":"ASCII")+" via punycode: "+ee}L[$]=Fe+"@"+de}v.path=L.join(",")}var re=h.headers=h.headers||{};h.subject&&(re.subject=h.subject),h.body&&(re.body=h.body);var he=[];for(var Pe in re)re[Pe]!==Hd[Pe]&&he.push(Pe.replace(rr,Yi).replace(rr,n).replace(so,N)+"="+re[Pe].replace(rr,Yi).replace(rr,n).replace(tc,N));return he.length&&(v.query=he.join("&")),v}},rc=/^([^\:]+)\:(.*)/,po={scheme:"urn",parse:function(h,g){var v=h.path&&h.path.match(rc),L=h;if(v){var $=g.scheme||L.scheme||"urn",G=v[1].toLowerCase(),U=v[2],oe=$+":"+(g.nid||G),Fe=R[oe];L.nid=G,L.nss=U,L.path=void 0,Fe&&(L=Fe.parse(L,g))}else L.error=L.error||"URN can not be parsed.";return L},serialize:function(h,g){var v=g.scheme||h.scheme||"urn",L=h.nid,$=v+":"+(g.nid||L),G=R[$];G&&(h=G.serialize(h,g));var U=h,oe=h.nss;return U.path=(L||g.nid)+":"+oe,U}},ic=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,co={scheme:"urn:uuid",parse:function(h,g){var v=h;return v.uuid=v.nss,v.nss=void 0,!g.tolerant&&(!v.uuid||!v.uuid.match(ic))&&(v.error=v.error||"UUID is not valid."),v},serialize:function(h,g){var v=h;return v.nss=(h.uuid||"").toLowerCase(),v}};R[Dr.scheme]=Dr,R[io.scheme]=io,R[$r.scheme]=$r,R[oo.scheme]=oo,R[lo.scheme]=lo,R[po.scheme]=po,R[co.scheme]=co,i.SCHEMES=R,i.pctEncChar=N,i.pctDecChars=z,i.parse=ne,i.removeDotSegments=Le,i.serialize=Se,i.resolveComponents=Lr,i.resolve=Zi,i.normalize=Xi,i.equal=Ud,i.escapeComponent=Gd,i.unescapeComponent=yt,Object.defineProperty(i,"__esModule",{value:!0})})}(Vi,Vi.exports)),Vi.exports}var Nl,Wl;function eo(){return Wl||(Wl=1,Nl=function e(r,i){if(r===i)return!0;if(r&&i&&typeof r=="object"&&typeof i=="object"){if(r.constructor!==i.constructor)return!1;var t,a,o;if(Array.isArray(r)){if(t=r.length,t!=i.length)return!1;for(a=t;a--!==0;)if(!e(r[a],i[a]))return!1;return!0}if(r.constructor===RegExp)return r.source===i.source&&r.flags===i.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===i.valueOf();if(r.toString!==Object.prototype.toString)return r.toString()===i.toString();if(o=Object.keys(r),t=o.length,t!==Object.keys(i).length)return!1;for(a=t;a--!==0;)if(!Object.prototype.hasOwnProperty.call(i,o[a]))return!1;for(a=t;a--!==0;){var n=o[a];if(!e(r[n],i[n]))return!1}return!0}return r!==r&&i!==i}),Nl}var zl,Vl;function Mw(){return Vl||(Vl=1,zl=function(e){for(var r=0,i=e.length,t=0,a;t<i;)r++,a=e.charCodeAt(t++),a>=55296&&a<=56319&&t<i&&(a=e.charCodeAt(t),(a&64512)==56320&&t++);return r}),zl}var Ca,Ul;function Er(){if(Ul)return Ca;Ul=1,Ca={copy:e,checkDataType:r,checkDataTypes:i,coerceToTypes:a,toHash:o,getProperty:l,escapeQuotes:u,equal:eo(),ucs2length:Mw(),varOccurences:d,varReplace:c,schemaHasRules:p,schemaHasRulesExcept:f,schemaUnknownRules:m,toQuotedString:y,getPathExpr:b,getPath:I,getData:w,unescapeFragment:E,unescapeJsonPointer:j,escapeFragment:P,escapeJsonPointer:O};function e(x,C){C=C||{};for(var k in x)C[k]=x[k];return C}function r(x,C,k,B){var M=B?" !== ":" === ",J=B?" || ":" && ",Z=B?"!":"",K=B?"":"!";switch(x){case"null":return C+M+"null";case"array":return Z+"Array.isArray("+C+")";case"object":return"("+Z+C+J+"typeof "+C+M+'"object"'+J+K+"Array.isArray("+C+"))";case"integer":return"(typeof "+C+M+'"number"'+J+K+"("+C+" % 1)"+J+C+M+C+(k?J+Z+"isFinite("+C+")":"")+")";case"number":return"(typeof "+C+M+'"'+x+'"'+(k?J+Z+"isFinite("+C+")":"")+")";default:return"typeof "+C+M+'"'+x+'"'}}function i(x,C,k){switch(x.length){case 1:return r(x[0],C,k,!0);default:var B="",M=o(x);M.array&&M.object&&(B=M.null?"(":"(!"+C+" || ",B+="typeof "+C+' !== "object")',delete M.null,delete M.array,delete M.object),M.number&&delete M.integer;for(var J in M)B+=(B?" && ":"")+r(J,C,k,!0);return B}}var t=o(["string","number","integer","boolean","null"]);function a(x,C){if(Array.isArray(C)){for(var k=[],B=0;B<C.length;B++){var M=C[B];(t[M]||x==="array"&&M==="array")&&(k[k.length]=M)}if(k.length)return k}else{if(t[C])return[C];if(x==="array"&&C==="array")return["array"]}}function o(x){for(var C={},k=0;k<x.length;k++)C[x[k]]=!0;return C}var n=/^[a-z$_][a-z$_0-9]*$/i,s=/'|\\/g;function l(x){return typeof x=="number"?"["+x+"]":n.test(x)?"."+x:"['"+u(x)+"']"}function u(x){return x.replace(s,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function d(x,C){C+="[^0-9]";var k=x.match(new RegExp(C,"g"));return k?k.length:0}function c(x,C,k){return C+="([^0-9])",k=k.replace(/\$/g,"$$$$"),x.replace(new RegExp(C,"g"),k+"$1")}function p(x,C){if(typeof x=="boolean")return!x;for(var k in x)if(C[k])return!0}function f(x,C,k){if(typeof x=="boolean")return!x&&k!="not";for(var B in x)if(B!=k&&C[B])return!0}function m(x,C){if(typeof x!="boolean"){for(var k in x)if(!C[k])return k}}function y(x){return"'"+u(x)+"'"}function b(x,C,k,B){var M=k?"'/' + "+C+(B?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):B?"'[' + "+C+" + ']'":"'[\\'' + "+C+" + '\\']'";return T(x,M)}function I(x,C,k){var B=y(k?"/"+O(C):l(C));return T(x,B)}var S=/^\/(?:[^~]|~0|~1)*$/,F=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function w(x,C,k){var B,M,J,Z;if(x==="")return"rootData";if(x[0]=="/"){if(!S.test(x))throw new Error("Invalid JSON-pointer: "+x);M=x,J="rootData"}else{if(Z=x.match(F),!Z)throw new Error("Invalid JSON-pointer: "+x);if(B=+Z[1],M=Z[2],M=="#"){if(B>=C)throw new Error("Cannot access property/index "+B+" levels up, current level is "+C);return k[C-B]}if(B>C)throw new Error("Cannot access data "+B+" levels up, current level is "+C);if(J="data"+(C-B||""),!M)return J}for(var K=J,X=M.split("/"),Q=0;Q<X.length;Q++){var fe=X[Q];fe&&(J+=l(j(fe)),K+=" && "+J)}return K}function T(x,C){return x=='""'?C:(x+" + "+C).replace(/([^\\])' \+ '/g,"$1")}function E(x){return j(decodeURIComponent(x))}function P(x){return encodeURIComponent(O(x))}function O(x){return x.replace(/~/g,"~0").replace(/\//g,"~1")}function j(x){return x.replace(/~1/g,"/").replace(/~0/g,"~")}return Ca}var Ta,Gl;function Md(){if(Gl)return Ta;Gl=1;var e=Er();Ta=r;function r(i){e.copy(i,this)}return Ta}var Aa={exports:{}},Hl;function Nw(){if(Hl)return Aa.exports;Hl=1;var e=Aa.exports=function(t,a,o){typeof a=="function"&&(o=a,a={}),o=a.cb||o;var n=typeof o=="function"?o:o.pre||function(){},s=o.post||function(){};r(a,n,s,t,"",t)};e.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0},e.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},e.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},e.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function r(t,a,o,n,s,l,u,d,c,p){if(n&&typeof n=="object"&&!Array.isArray(n)){a(n,s,l,u,d,c,p);for(var f in n){var m=n[f];if(Array.isArray(m)){if(f in e.arrayKeywords)for(var y=0;y<m.length;y++)r(t,a,o,m[y],s+"/"+f+"/"+y,l,s,f,n,y)}else if(f in e.propsKeywords){if(m&&typeof m=="object")for(var b in m)r(t,a,o,m[b],s+"/"+f+"/"+i(b),l,s,f,n,b)}else(f in e.keywords||t.allKeys&&!(f in e.skipKeywords))&&r(t,a,o,m,s+"/"+f,l,s,f,n)}o(n,s,l,u,d,c,p)}}function i(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}return Aa.exports}var Pa,Ql;function to(){if(Ql)return Pa;Ql=1;var e=qw(),r=eo(),i=Er(),t=Md(),a=Nw();Pa=o,o.normalizeId=I,o.fullPath=m,o.url=S,o.ids=F,o.inlineRef=c,o.schema=n;function o(w,T,E){var P=this._refs[E];if(typeof P=="string")if(this._refs[P])P=this._refs[P];else return o.call(this,w,T,P);if(P=P||this._schemas[E],P instanceof t)return c(P.schema,this._opts.inlineRefs)?P.schema:P.validate||this._compile(P);var O=n.call(this,T,E),j,x,C;return O&&(j=O.schema,T=O.root,C=O.baseId),j instanceof t?x=j.validate||w.call(this,j.schema,T,void 0,C):j!==void 0&&(x=c(j,this._opts.inlineRefs)?j:w.call(this,j,T,void 0,C)),x}function n(w,T){var E=e.parse(T),P=y(E),O=m(this._getId(w.schema));if(Object.keys(w.schema).length===0||P!==O){var j=I(P),x=this._refs[j];if(typeof x=="string")return s.call(this,w,x,E);if(x instanceof t)x.validate||this._compile(x),w=x;else if(x=this._schemas[j],x instanceof t){if(x.validate||this._compile(x),j==I(T))return{schema:x,root:w,baseId:O};w=x}else return;if(!w.schema)return;O=m(this._getId(w.schema))}return u.call(this,E,O,w.schema,w)}function s(w,T,E){var P=n.call(this,w,T);if(P){var O=P.schema,j=P.baseId;w=P.root;var x=this._getId(O);return x&&(j=S(j,x)),u.call(this,E,j,O,w)}}var l=i.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function u(w,T,E,P){if(w.fragment=w.fragment||"",w.fragment.slice(0,1)=="/"){for(var O=w.fragment.split("/"),j=1;j<O.length;j++){var x=O[j];if(x){if(x=i.unescapeFragment(x),E=E[x],E===void 0)break;var C;if(!l[x]&&(C=this._getId(E),C&&(T=S(T,C)),E.$ref)){var k=S(T,E.$ref),B=n.call(this,P,k);B&&(E=B.schema,P=B.root,T=B.baseId)}}}if(E!==void 0&&E!==P.schema)return{schema:E,root:P,baseId:T}}}var d=i.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function c(w,T){if(T===!1)return!1;if(T===void 0||T===!0)return p(w);if(T)return f(w)<=T}function p(w){var T;if(Array.isArray(w)){for(var E=0;E<w.length;E++)if(T=w[E],typeof T=="object"&&!p(T))return!1}else for(var P in w)if(P=="$ref"||(T=w[P],typeof T=="object"&&!p(T)))return!1;return!0}function f(w){var T=0,E;if(Array.isArray(w)){for(var P=0;P<w.length;P++)if(E=w[P],typeof E=="object"&&(T+=f(E)),T==1/0)return 1/0}else for(var O in w){if(O=="$ref")return 1/0;if(d[O])T++;else if(E=w[O],typeof E=="object"&&(T+=f(E)+1),T==1/0)return 1/0}return T}function m(w,T){T!==!1&&(w=I(w));var E=e.parse(w);return y(E)}function y(w){return e.serialize(w).split("#")[0]+"#"}var b=/#\/?$/;function I(w){return w?w.replace(b,""):""}function S(w,T){return T=I(T),e.resolve(w,T)}function F(w){var T=I(this._getId(w)),E={"":T},P={"":m(T,!1)},O={},j=this;return a(w,{allKeys:!0},function(x,C,k,B,M,J,Z){if(C!==""){var K=j._getId(x),X=E[B],Q=P[B]+"/"+M;if(Z!==void 0&&(Q+="/"+(typeof Z=="number"?Z:i.escapeFragment(Z))),typeof K=="string"){K=X=I(X?e.resolve(X,K):K);var fe=j._refs[K];if(typeof fe=="string"&&(fe=j._refs[fe]),fe&&fe.schema){if(!r(x,fe.schema))throw new Error('id "'+K+'" resolves to more than one schema')}else if(K!=I(Q))if(K[0]=="#"){if(O[K]&&!r(x,O[K]))throw new Error('id "'+K+'" resolves to more than one schema');O[K]=x}else j._refs[K]=Q}E[C]=X,P[C]=Q}}),O}return Pa}var Fa,Kl;function ro(){if(Kl)return Fa;Kl=1;var e=to();Fa={Validation:t(r),MissingRef:t(i)};function r(a){this.message="validation failed",this.errors=a,this.ajv=this.validation=!0}i.message=function(a,o){return"can't resolve reference "+o+" from id "+a};function i(a,o,n){this.message=n||i.message(a,o),this.missingRef=e.url(a,o),this.missingSchema=e.normalizeId(e.fullPath(this.missingRef))}function t(a){return a.prototype=Object.create(Error.prototype),a.prototype.constructor=a,a}return Fa}var Jl,Zl;function Nd(){return Zl||(Zl=1,Jl=function(e,r){r||(r={}),typeof r=="function"&&(r={cmp:r});var i=typeof r.cycles=="boolean"?r.cycles:!1,t=r.cmp&&function(o){return function(n){return function(s,l){var u={key:s,value:n[s]},d={key:l,value:n[l]};return o(u,d)}}}(r.cmp),a=[];return function o(n){if(n&&n.toJSON&&typeof n.toJSON=="function"&&(n=n.toJSON()),n!==void 0){if(typeof n=="number")return isFinite(n)?""+n:"null";if(typeof n!="object")return JSON.stringify(n);var s,l;if(Array.isArray(n)){for(l="[",s=0;s<n.length;s++)s&&(l+=","),l+=o(n[s])||"null";return l+"]"}if(n===null)return"null";if(a.indexOf(n)!==-1){if(i)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var u=a.push(n)-1,d=Object.keys(n).sort(t&&t(n));for(l="",s=0;s<d.length;s++){var c=d[s],p=o(n[c]);p&&(l&&(l+=","),l+=JSON.stringify(c)+":"+p)}return a.splice(u,1),"{"+l+"}"}}(e)}),Jl}var Xl,Yl;function Wd(){return Yl||(Yl=1,Xl=function(e,r,i){var t="",a=e.schema.$async===!0,o=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),n=e.self._getId(e.schema);if(e.opts.strictKeywords){var s=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(s){var l="unknown keyword: "+s;if(e.opts.strictKeywords==="log")e.logger.warn(l);else throw new Error(l)}}if(e.isTop&&(t+=" var validate = ",a&&(e.async=!0,t+="async "),t+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",n&&(e.opts.sourceCode||e.opts.processCode)&&(t+=" "+("/*# sourceURL="+n+" */")+" ")),typeof e.schema=="boolean"||!(o||e.schema.$ref)){var r="false schema",u=e.level,d=e.dataLevel,c=e.schema[r],p=e.schemaPath+e.util.getProperty(r),f=e.errSchemaPath+"/"+r,w=!e.opts.allErrors,P,m="data"+(d||""),F="valid"+u;if(e.schema===!1){e.isTop?w=!0:t+=" var "+F+" = false; ";var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(P||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'boolean schema is false' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&w?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?a?t+=" return data; ":t+=" validate.errors = null; return true; ":t+=" var "+F+" = true; ";return e.isTop&&(t+=" }; return validate; "),t}if(e.isTop){var I=e.isTop,u=e.level=0,d=e.dataLevel=0,m="data";if(e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[""],e.schema.default!==void 0&&e.opts.useDefaults&&e.opts.strictDefaults){var S="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(S);else throw new Error(S)}t+=" var vErrors = null; ",t+=" var errors = 0; ",t+=" if (rootData === undefined) rootData = data; "}else{var u=e.level,d=e.dataLevel,m="data"+(d||"");if(n&&(e.baseId=e.resolve.url(e.baseId,n)),a&&!e.async)throw new Error("async schema in sync schema");t+=" var errs_"+u+" = errors;"}var F="valid"+u,w=!e.opts.allErrors,T="",E="",P,O=e.schema.type,j=Array.isArray(O);if(O&&e.opts.nullable&&e.schema.nullable===!0&&(j?O.indexOf("null")==-1&&(O=O.concat("null")):O!="null"&&(O=[O,"null"],j=!0)),j&&O.length==1&&(O=O[0],j=!1),e.schema.$ref&&o){if(e.opts.extendRefs=="fail")throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)');e.opts.extendRefs!==!0&&(o=!1,e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"'))}if(e.schema.$comment&&e.opts.$comment&&(t+=" "+e.RULES.all.$comment.code(e,"$comment")),O){if(e.opts.coerceTypes)var x=e.util.coerceToTypes(e.opts.coerceTypes,O);var C=e.RULES.types[O];if(x||j||C===!0||C&&!le(C)){var p=e.schemaPath+".type",f=e.errSchemaPath+"/type",p=e.schemaPath+".type",f=e.errSchemaPath+"/type",k=j?"checkDataTypes":"checkDataType";if(t+=" if ("+e.util[k](O,m,e.opts.strictNumbers,!0)+") { ",x){var B="dataType"+u,M="coerced"+u;t+=" var "+B+" = typeof "+m+"; var "+M+" = undefined; ",e.opts.coerceTypes=="array"&&(t+=" if ("+B+" == 'object' && Array.isArray("+m+") && "+m+".length == 1) { "+m+" = "+m+"[0]; "+B+" = typeof "+m+"; if ("+e.util.checkDataType(e.schema.type,m,e.opts.strictNumbers)+") "+M+" = "+m+"; } "),t+=" if ("+M+" !== undefined) ; ";var J=x;if(J)for(var Z,K=-1,X=J.length-1;K<X;)Z=J[K+=1],Z=="string"?t+=" else if ("+B+" == 'number' || "+B+" == 'boolean') "+M+" = '' + "+m+"; else if ("+m+" === null) "+M+" = ''; ":Z=="number"||Z=="integer"?(t+=" else if ("+B+" == 'boolean' || "+m+" === null || ("+B+" == 'string' && "+m+" && "+m+" == +"+m+" ",Z=="integer"&&(t+=" && !("+m+" % 1)"),t+=")) "+M+" = +"+m+"; "):Z=="boolean"?t+=" else if ("+m+" === 'false' || "+m+" === 0 || "+m+" === null) "+M+" = false; else if ("+m+" === 'true' || "+m+" === 1) "+M+" = true; ":Z=="null"?t+=" else if ("+m+" === '' || "+m+" === 0 || "+m+" === false) "+M+" = null; ":e.opts.coerceTypes=="array"&&Z=="array"&&(t+=" else if ("+B+" == 'string' || "+B+" == 'number' || "+B+" == 'boolean' || "+m+" == null) "+M+" = ["+m+"]; ");t+=" else { ";var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(P||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '",j?t+=""+O.join(","):t+=""+O,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",j?t+=""+O.join(","):t+=""+O,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&w?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } if ("+M+" !== undefined) { ";var Q=d?"data"+(d-1||""):"parentData",fe=d?e.dataPathArr[d]:"parentDataProperty";t+=" "+m+" = "+M+"; ",d||(t+="if ("+Q+" !== undefined)"),t+=" "+Q+"["+fe+"] = "+M+"; } "}else{var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(P||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '",j?t+=""+O.join(","):t+=""+O,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",j?t+=""+O.join(","):t+=""+O,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&w?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}t+=" } "}}if(e.schema.$ref&&!o)t+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",w&&(t+=" } if (errors === ",I?t+="0":t+="errs_"+u,t+=") { ",E+="}");else{var $e=e.RULES;if($e){for(var C,Ee=-1,xe=$e.length-1;Ee<xe;)if(C=$e[Ee+=1],le(C)){if(C.type&&(t+=" if ("+e.util.checkDataType(C.type,m,e.opts.strictNumbers)+") { "),e.opts.useDefaults){if(C.type=="object"&&e.schema.properties){var c=e.schema.properties,ot=Object.keys(c),ze=ot;if(ze)for(var A,R=-1,N=ze.length-1;R<N;){A=ze[R+=1];var z=c[A];if(z.default!==void 0){var _=m+e.util.getProperty(A);if(e.compositeRule){if(e.opts.strictDefaults){var S="default is ignored for: "+_;if(e.opts.strictDefaults==="log")e.logger.warn(S);else throw new Error(S)}}else t+=" if ("+_+" === undefined ",e.opts.useDefaults=="empty"&&(t+=" || "+_+" === null || "+_+" === '' "),t+=" ) "+_+" = ",e.opts.useDefaults=="shared"?t+=" "+e.useDefault(z.default)+" ":t+=" "+JSON.stringify(z.default)+" ",t+="; "}}}else if(C.type=="array"&&Array.isArray(e.schema.items)){var W=e.schema.items;if(W){for(var z,K=-1,H=W.length-1;K<H;)if(z=W[K+=1],z.default!==void 0){var _=m+"["+K+"]";if(e.compositeRule){if(e.opts.strictDefaults){var S="default is ignored for: "+_;if(e.opts.strictDefaults==="log")e.logger.warn(S);else throw new Error(S)}}else t+=" if ("+_+" === undefined ",e.opts.useDefaults=="empty"&&(t+=" || "+_+" === null || "+_+" === '' "),t+=" ) "+_+" = ",e.opts.useDefaults=="shared"?t+=" "+e.useDefault(z.default)+" ":t+=" "+JSON.stringify(z.default)+" ",t+="; "}}}}var Y=C.rules;if(Y){for(var ge,be=-1,ne=Y.length-1;be<ne;)if(ge=Y[be+=1],Ve(ge)){var ae=ge.code(e,ge.keyword,C.type);ae&&(t+=" "+ae+" ",w&&(T+="}"))}}if(w&&(t+=" "+T+" ",T=""),C.type&&(t+=" } ",O&&O===C.type&&!x)){t+=" else { ";var p=e.schemaPath+".type",f=e.errSchemaPath+"/type",y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(P||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '",j?t+=""+O.join(","):t+=""+O,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",j?t+=""+O.join(","):t+=""+O,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&w?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } "}w&&(t+=" if (errors === ",I?t+="0":t+="errs_"+u,t+=") { ",E+="}")}}}w&&(t+=" "+E+" "),I?(a?(t+=" if (errors === 0) return data; ",t+=" else throw new ValidationError(vErrors); "):(t+=" validate.errors = vErrors; ",t+=" return errors === 0; "),t+=" }; return validate;"):t+=" var "+F+" = errors === errs_"+u+";";function le(ve){for(var Le=ve.rules,Se=0;Se<Le.length;Se++)if(Ve(Le[Se]))return!0}function Ve(ve){return e.schema[ve.keyword]!==void 0||ve.implements&&mt(ve)}function mt(ve){for(var Le=ve.implements,Se=0;Se<Le.length;Se++)if(e.schema[Le[Se]]!==void 0)return!0}return t}),Xl}var Oa,ep;function Ww(){if(ep)return Oa;ep=1;var e=to(),r=Er(),i=ro(),t=Nd(),a=Wd(),o=r.ucs2length,n=eo(),s=i.Validation;Oa=l;function l(I,S,F,w){var T=this,E=this._opts,P=[void 0],O={},j=[],x={},C=[],k={},B=[];S=S||{schema:I,refVal:P,refs:O};var M=u.call(this,I,S,w),J=this._compilations[M.index];if(M.compiling)return J.callValidate=fe;var Z=this._formats,K=this.RULES;try{var X=$e(I,S,F,w);J.validate=X;var Q=J.callValidate;return Q&&(Q.schema=X.schema,Q.errors=null,Q.refs=X.refs,Q.refVal=X.refVal,Q.root=X.root,Q.$async=X.$async,E.sourceCode&&(Q.source=X.source)),X}finally{d.call(this,I,S,w)}function fe(){var _=J.validate,W=_.apply(this,arguments);return fe.errors=_.errors,W}function $e(_,W,H,Y){var ge=!W||W&&W.schema==_;if(W.schema!=S.schema)return l.call(T,_,W,H,Y);var be=_.$async===!0,ne=a({isTop:!0,schema:_,isRoot:ge,baseId:Y,root:W,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:i.MissingRef,RULES:K,validate:a,util:r,resolve:e,resolveRef:Ee,usePattern:R,useDefault:N,useCustomRule:z,opts:E,formats:Z,logger:T.logger,self:T});ne=b(P,m)+b(j,p)+b(C,f)+b(B,y)+ne,E.processCode&&(ne=E.processCode(ne,_));var ae;try{var le=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",ne);ae=le(T,K,Z,S,P,C,B,n,o,s),P[0]=ae}catch(Ve){throw T.logger.error("Error compiling schema, function code:",ne),Ve}return ae.schema=_,ae.errors=null,ae.refs=O,ae.refVal=P,ae.root=ge?ae:W,be&&(ae.$async=!0),E.sourceCode===!0&&(ae.source={code:ne,patterns:j,defaults:C}),ae}function Ee(_,W,H){W=e.url(_,W);var Y=O[W],ge,be;if(Y!==void 0)return ge=P[Y],be="refVal["+Y+"]",A(ge,be);if(!H&&S.refs){var ne=S.refs[W];if(ne!==void 0)return ge=S.refVal[ne],be=xe(W,ge),A(ge,be)}be=xe(W);var ae=e.call(T,$e,S,W);if(ae===void 0){var le=F&&F[W];le&&(ae=e.inlineRef(le,E.inlineRefs)?le:l.call(T,le,S,F,_))}if(ae===void 0)ot(W);else return ze(W,ae),A(ae,be)}function xe(_,W){var H=P.length;return P[H]=W,O[_]=H,"refVal"+H}function ot(_){delete O[_]}function ze(_,W){var H=O[_];P[H]=W}function A(_,W){return typeof _=="object"||typeof _=="boolean"?{code:W,schema:_,inline:!0}:{code:W,$async:_&&!!_.$async}}function R(_){var W=x[_];return W===void 0&&(W=x[_]=j.length,j[W]=_),"pattern"+W}function N(_){switch(typeof _){case"boolean":case"number":return""+_;case"string":return r.toQuotedString(_);case"object":if(_===null)return"null";var W=t(_),H=k[W];return H===void 0&&(H=k[W]=C.length,C[H]=_),"default"+H}}function z(_,W,H,Y){if(T._opts.validateSchema!==!1){var ge=_.definition.dependencies;if(ge&&!ge.every(function(Se){return Object.prototype.hasOwnProperty.call(H,Se)}))throw new Error("parent schema must have all required keywords: "+ge.join(","));var be=_.definition.validateSchema;if(be){var ne=be(W);if(!ne){var ae="keyword schema is invalid: "+T.errorsText(be.errors);if(T._opts.validateSchema=="log")T.logger.error(ae);else throw new Error(ae)}}}var le=_.definition.compile,Ve=_.definition.inline,mt=_.definition.macro,ve;if(le)ve=le.call(T,W,H,Y);else if(mt)ve=mt.call(T,W,H,Y),E.validateSchema!==!1&&T.validateSchema(ve,!0);else if(Ve)ve=Ve.call(T,Y,_.keyword,W,H);else if(ve=_.definition.validate,!ve)return;if(ve===void 0)throw new Error('custom keyword "'+_.keyword+'"failed to compile');var Le=B.length;return B[Le]=ve,{code:"customRule"+Le,validate:ve}}}function u(I,S,F){var w=c.call(this,I,S,F);return w>=0?{index:w,compiling:!0}:(w=this._compilations.length,this._compilations[w]={schema:I,root:S,baseId:F},{index:w,compiling:!1})}function d(I,S,F){var w=c.call(this,I,S,F);w>=0&&this._compilations.splice(w,1)}function c(I,S,F){for(var w=0;w<this._compilations.length;w++){var T=this._compilations[w];if(T.schema==I&&T.root==S&&T.baseId==F)return w}return-1}function p(I,S){return"var pattern"+I+" = new RegExp("+r.toQuotedString(S[I])+");"}function f(I){return"var default"+I+" = defaults["+I+"];"}function m(I,S){return S[I]===void 0?"":"var refVal"+I+" = refVal["+I+"];"}function y(I){return"var customRule"+I+" = customRules["+I+"];"}function b(I,S){if(!I.length)return"";for(var F="",w=0;w<I.length;w++)F+=S(w,I);return F}return Oa}var Ea={exports:{}},tp;function zw(){if(tp)return Ea.exports;tp=1;var e=Ea.exports=function(){this._cache={}};return e.prototype.put=function(r,i){this._cache[r]=i},e.prototype.get=function(r){return this._cache[r]},e.prototype.del=function(r){delete this._cache[r]},e.prototype.clear=function(){this._cache={}},Ea.exports}var La,rp;function Vw(){if(rp)return La;rp=1;var e=Er(),r=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,i=[0,31,28,31,30,31,30,31,31,30,31,30,31],t=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,a=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,o=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,n=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,s=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,l=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,u=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,d=/^(?:\/(?:[^~/]|~0|~1)*)*$/,c=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,p=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;La=f;function f(P){return P=P=="full"?"full":"fast",e.copy(f[P])}f.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":s,url:l,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:a,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:E,uuid:u,"json-pointer":d,"json-pointer-uri-fragment":c,"relative-json-pointer":p},f.full={date:y,time:b,"date-time":S,uri:w,"uri-reference":n,"uri-template":s,url:l,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:a,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:E,uuid:u,"json-pointer":d,"json-pointer-uri-fragment":c,"relative-json-pointer":p};function m(P){return P%4===0&&(P%100!==0||P%400===0)}function y(P){var O=P.match(r);if(!O)return!1;var j=+O[1],x=+O[2],C=+O[3];return x>=1&&x<=12&&C>=1&&C<=(x==2&&m(j)?29:i[x])}function b(P,O){var j=P.match(t);if(!j)return!1;var x=j[1],C=j[2],k=j[3],B=j[5];return(x<=23&&C<=59&&k<=59||x==23&&C==59&&k==60)&&(!O||B)}var I=/t|\s/i;function S(P){var O=P.split(I);return O.length==2&&y(O[0])&&b(O[1],!0)}var F=/\/|:/;function w(P){return F.test(P)&&o.test(P)}var T=/[^\\]\\Z/;function E(P){if(T.test(P))return!1;try{return new RegExp(P),!0}catch{return!1}}return La}var ip,ap;function Uw(){return ap||(ap=1,ip=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.errSchemaPath+"/"+r,l=!e.opts.allErrors,u="data"+(o||""),d="valid"+a,c,p;if(n=="#"||n=="#/")e.isRoot?(c=e.async,p="validate"):(c=e.root.schema.$async===!0,p="root.refVal[0]");else{var f=e.resolveRef(e.baseId,n,e.isRoot);if(f===void 0){var m=e.MissingRefError.message(e.baseId,n);if(e.opts.missingRefs=="fail"){e.logger.error(m);var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(s)+" , params: { ref: '"+e.util.escapeQuotes(n)+"' } ",e.opts.messages!==!1&&(t+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(n)+"' "),e.opts.verbose&&(t+=" , schema: "+e.util.toQuotedString(n)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&l?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l&&(t+=" if (false) { ")}else if(e.opts.missingRefs=="ignore")e.logger.warn(m),l&&(t+=" if (true) { ");else throw new e.MissingRefError(e.baseId,n,m)}else if(f.inline){var I=e.util.copy(e);I.level++;var S="valid"+I.level;I.schema=f.schema,I.schemaPath="",I.errSchemaPath=n;var F=e.validate(I).replace(/validate\.schema/g,f.code);t+=" "+F+" ",l&&(t+=" if ("+S+") { ")}else c=f.$async===!0||e.async&&f.$async!==!1,p=f.code}if(p){var y=y||[];y.push(t),t="",e.opts.passContext?t+=" "+p+".call(this, ":t+=" "+p+"( ",t+=" "+u+", (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var w=o?"data"+(o-1||""):"parentData",T=o?e.dataPathArr[o]:"parentDataProperty";t+=" , "+w+" , "+T+", rootData) ";var E=t;if(t=y.pop(),c){if(!e.async)throw new Error("async schema referenced by sync schema");l&&(t+=" var "+d+"; "),t+=" try { await "+E+"; ",l&&(t+=" "+d+" = true; "),t+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",l&&(t+=" "+d+" = false; "),t+=" } ",l&&(t+=" if ("+d+") { ")}else t+=" if (!"+E+") { if (vErrors === null) vErrors = "+p+".errors; else vErrors = vErrors.concat("+p+".errors); errors = vErrors.length; } ",l&&(t+=" else { ")}return t}),ip}var op,np;function Gw(){return np||(np=1,op=function(e,r,i){var t=" ",a=e.schema[r],o=e.schemaPath+e.util.getProperty(r),n=e.errSchemaPath+"/"+r,s=!e.opts.allErrors,l=e.util.copy(e),u="";l.level++;var d="valid"+l.level,c=l.baseId,p=!0,f=a;if(f)for(var m,y=-1,b=f.length-1;y<b;)m=f[y+=1],(e.opts.strictKeywords?typeof m=="object"&&Object.keys(m).length>0||m===!1:e.util.schemaHasRules(m,e.RULES.all))&&(p=!1,l.schema=m,l.schemaPath=o+"["+y+"]",l.errSchemaPath=n+"/"+y,t+=" "+e.validate(l)+" ",l.baseId=c,s&&(t+=" if ("+d+") { ",u+="}"));return s&&(p?t+=" if (true) { ":t+=" "+u.slice(0,-1)+" "),t}),op}var sp,lp;function Hw(){return lp||(lp=1,sp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="valid"+a,p="errs__"+a,f=e.util.copy(e),m="";f.level++;var y="valid"+f.level,b=n.every(function(P){return e.opts.strictKeywords?typeof P=="object"&&Object.keys(P).length>0||P===!1:e.util.schemaHasRules(P,e.RULES.all)});if(b){var I=f.baseId;t+=" var "+p+" = errors; var "+c+" = false; ";var S=e.compositeRule;e.compositeRule=f.compositeRule=!0;var F=n;if(F)for(var w,T=-1,E=F.length-1;T<E;)w=F[T+=1],f.schema=w,f.schemaPath=s+"["+T+"]",f.errSchemaPath=l+"/"+T,t+=" "+e.validate(f)+" ",f.baseId=I,t+=" "+c+" = "+c+" || "+y+"; if (!"+c+") { ",m+="}";e.compositeRule=f.compositeRule=S,t+=" "+m+" if (!"+c+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+=" } else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ",e.opts.allErrors&&(t+=" } ")}else u&&(t+=" if (true) { ");return t}),sp}var pp,dp;function Qw(){return dp||(dp=1,pp=function(e,r,i){var t=" ",a=e.schema[r],o=e.errSchemaPath+"/"+r;e.opts.allErrors;var n=e.util.toQuotedString(a);return e.opts.$comment===!0?t+=" console.log("+n+");":typeof e.opts.$comment=="function"&&(t+=" self._opts.$comment("+n+", "+e.util.toQuotedString(o)+", validate.root.schema);"),t}),pp}var cp,up;function Kw(){return up||(up=1,cp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="valid"+a,p=e.opts.$data&&n&&n.$data;p&&(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; "),p||(t+=" var schema"+a+" = validate.schema"+s+";"),t+="var "+c+" = equal("+d+", schema"+a+"); if (!"+c+") { ";var f=f||[];f.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { allowedValue: schema"+a+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be equal to constant' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var m=t;return t=f.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+m+"]); ":t+=" validate.errors = ["+m+"]; return false; ":t+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" }",u&&(t+=" else { "),t}),cp}var fp,hp;function Jw(){return hp||(hp=1,fp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="valid"+a,p="errs__"+a,f=e.util.copy(e),m="";f.level++;var y="valid"+f.level,b="i"+a,I=f.dataLevel=e.dataLevel+1,S="data"+I,F=e.baseId,w=e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all);if(t+="var "+p+" = errors;var "+c+";",w){var T=e.compositeRule;e.compositeRule=f.compositeRule=!0,f.schema=n,f.schemaPath=s,f.errSchemaPath=l,t+=" var "+y+" = false; for (var "+b+" = 0; "+b+" < "+d+".length; "+b+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,!0);var E=d+"["+b+"]";f.dataPathArr[I]=b;var P=e.validate(f);f.baseId=F,e.util.varOccurences(P,S)<2?t+=" "+e.util.varReplace(P,S,E)+" ":t+=" var "+S+" = "+E+"; "+P+" ",t+=" if ("+y+") break; } ",e.compositeRule=f.compositeRule=T,t+=" "+m+" if (!"+y+") {"}else t+=" if ("+d+".length == 0) {";var O=O||[];O.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should contain a valid item' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var j=t;return t=O.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+j+"]); ":t+=" validate.errors = ["+j+"]; return false; ":t+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { ",w&&(t+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } "),e.opts.allErrors&&(t+=" } "),t}),fp}var mp,yp;function Zw(){return yp||(yp=1,mp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="errs__"+a,p=e.util.copy(e),f="";p.level++;var m="valid"+p.level,y={},b={},I=e.opts.ownProperties;for(T in n)if(T!="__proto__"){var S=n[T],F=Array.isArray(S)?b:y;F[T]=S}t+="var "+c+" = errors;";var w=e.errorPath;t+="var missing"+a+";";for(var T in b)if(F=b[T],F.length){if(t+=" if ( "+d+e.util.getProperty(T)+" !== undefined ",I&&(t+=" && Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(T)+"') "),u){t+=" && ( ";var E=F;if(E)for(var P,O=-1,j=E.length-1;O<j;){P=E[O+=1],O&&(t+=" || ");var x=e.util.getProperty(P),C=d+x;t+=" ( ( "+C+" === undefined ",I&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(P)+"') "),t+=") && (missing"+a+" = "+e.util.toQuotedString(e.opts.jsonPointers?P:x)+") ) "}t+=")) { ";var k="missing"+a,B="' + "+k+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(w,k,!0):w+" + "+k);var M=M||[];M.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { property: '"+e.util.escapeQuotes(T)+"', missingProperty: '"+B+"', depsCount: "+F.length+", deps: '"+e.util.escapeQuotes(F.length==1?F[0]:F.join(", "))+"' } ",e.opts.messages!==!1&&(t+=" , message: 'should have ",F.length==1?t+="property "+e.util.escapeQuotes(F[0]):t+="properties "+e.util.escapeQuotes(F.join(", ")),t+=" when property "+e.util.escapeQuotes(T)+" is present' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var J=t;t=M.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+J+"]); ":t+=" validate.errors = ["+J+"]; return false; ":t+=" var err = "+J+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{t+=" ) { ";var Z=F;if(Z)for(var P,K=-1,X=Z.length-1;K<X;){P=Z[K+=1];var x=e.util.getProperty(P),B=e.util.escapeQuotes(P),C=d+x;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(w,P,e.opts.jsonPointers)),t+=" if ( "+C+" === undefined ",I&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(P)+"') "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { property: '"+e.util.escapeQuotes(T)+"', missingProperty: '"+B+"', depsCount: "+F.length+", deps: '"+e.util.escapeQuotes(F.length==1?F[0]:F.join(", "))+"' } ",e.opts.messages!==!1&&(t+=" , message: 'should have ",F.length==1?t+="property "+e.util.escapeQuotes(F[0]):t+="properties "+e.util.escapeQuotes(F.join(", ")),t+=" when property "+e.util.escapeQuotes(T)+" is present' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}t+=" } ",u&&(f+="}",t+=" else { ")}e.errorPath=w;var Q=p.baseId;for(var T in y){var S=y[T];(e.opts.strictKeywords?typeof S=="object"&&Object.keys(S).length>0||S===!1:e.util.schemaHasRules(S,e.RULES.all))&&(t+=" "+m+" = true; if ( "+d+e.util.getProperty(T)+" !== undefined ",I&&(t+=" && Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(T)+"') "),t+=") { ",p.schema=S,p.schemaPath=s+e.util.getProperty(T),p.errSchemaPath=l+"/"+e.util.escapeFragment(T),t+=" "+e.validate(p)+" ",p.baseId=Q,t+=" } ",u&&(t+=" if ("+m+") { ",f+="}"))}return u&&(t+=" "+f+" if ("+c+" == errors) {"),t}),mp}var gp,bp;function Xw(){return bp||(bp=1,gp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="valid"+a,p=e.opts.$data&&n&&n.$data;p&&(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ");var f="i"+a,m="schema"+a;p||(t+=" var "+m+" = validate.schema"+s+";"),t+="var "+c+";",p&&(t+=" if (schema"+a+" === undefined) "+c+" = true; else if (!Array.isArray(schema"+a+")) "+c+" = false; else {"),t+=""+c+" = false;for (var "+f+"=0; "+f+"<"+m+".length; "+f+"++) if (equal("+d+", "+m+"["+f+"])) { "+c+" = true; break; }",p&&(t+=" } "),t+=" if (!"+c+") { ";var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { allowedValues: schema"+a+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" }",u&&(t+=" else { "),t}),gp}var vp,Sp;function Yw(){return Sp||(Sp=1,vp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||"");if(e.opts.format===!1)return u&&(t+=" if (true) { "),t;var c=e.opts.$data&&n&&n.$data,p;c?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n;var f=e.opts.unknownFormats,m=Array.isArray(f);if(c){var y="format"+a,b="isObject"+a,I="formatType"+a;t+=" var "+y+" = formats["+p+"]; var "+b+" = typeof "+y+" == 'object' && !("+y+" instanceof RegExp) && "+y+".validate; var "+I+" = "+b+" && "+y+".type || 'string'; if ("+b+") { ",e.async&&(t+=" var async"+a+" = "+y+".async; "),t+=" "+y+" = "+y+".validate; } if ( ",c&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'string') || "),t+=" (",f!="ignore"&&(t+=" ("+p+" && !"+y+" ",m&&(t+=" && self._opts.unknownFormats.indexOf("+p+") == -1 "),t+=") || "),t+=" ("+y+" && "+I+" == '"+i+"' && !(typeof "+y+" == 'function' ? ",e.async?t+=" (async"+a+" ? await "+y+"("+d+") : "+y+"("+d+")) ":t+=" "+y+"("+d+") ",t+=" : "+y+".test("+d+"))))) {"}else{var y=e.formats[n];if(!y){if(f=="ignore")return e.logger.warn('unknown format "'+n+'" ignored in schema at path "'+e.errSchemaPath+'"'),u&&(t+=" if (true) { "),t;if(m&&f.indexOf(n)>=0)return u&&(t+=" if (true) { "),t;throw new Error('unknown format "'+n+'" is used in schema at path "'+e.errSchemaPath+'"')}var b=typeof y=="object"&&!(y instanceof RegExp)&&y.validate,I=b&&y.type||"string";if(b){var S=y.async===!0;y=y.validate}if(I!=i)return u&&(t+=" if (true) { "),t;if(S){if(!e.async)throw new Error("async format in sync schema");var F="formats"+e.util.getProperty(n)+".validate";t+=" if (!(await "+F+"("+d+"))) { "}else{t+=" if (! ";var F="formats"+e.util.getProperty(n);b&&(F+=".validate"),typeof y=="function"?t+=" "+F+"("+d+") ":t+=" "+F+".test("+d+") ",t+=") { "}}var w=w||[];w.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { format: ",c?t+=""+p:t+=""+e.util.toQuotedString(n),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match format "`,c?t+="' + "+p+" + '":t+=""+e.util.escapeQuotes(n),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",c?t+="validate.schema"+s:t+=""+e.util.toQuotedString(n),t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var T=t;return t=w.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+T+"]); ":t+=" validate.errors = ["+T+"]; return false; ":t+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",u&&(t+=" else { "),t}),vp}var wp,xp;function ex(){return xp||(xp=1,wp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="valid"+a,p="errs__"+a,f=e.util.copy(e);f.level++;var m="valid"+f.level,y=e.schema.then,b=e.schema.else,I=y!==void 0&&(e.opts.strictKeywords?typeof y=="object"&&Object.keys(y).length>0||y===!1:e.util.schemaHasRules(y,e.RULES.all)),S=b!==void 0&&(e.opts.strictKeywords?typeof b=="object"&&Object.keys(b).length>0||b===!1:e.util.schemaHasRules(b,e.RULES.all)),F=f.baseId;if(I||S){var w;f.createErrors=!1,f.schema=n,f.schemaPath=s,f.errSchemaPath=l,t+=" var "+p+" = errors; var "+c+" = true; ";var T=e.compositeRule;e.compositeRule=f.compositeRule=!0,t+=" "+e.validate(f)+" ",f.baseId=F,f.createErrors=!0,t+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ",e.compositeRule=f.compositeRule=T,I?(t+=" if ("+m+") { ",f.schema=e.schema.then,f.schemaPath=e.schemaPath+".then",f.errSchemaPath=e.errSchemaPath+"/then",t+=" "+e.validate(f)+" ",f.baseId=F,t+=" "+c+" = "+m+"; ",I&&S?(w="ifClause"+a,t+=" var "+w+" = 'then'; "):w="'then'",t+=" } ",S&&(t+=" else { ")):t+=" if (!"+m+") { ",S&&(f.schema=e.schema.else,f.schemaPath=e.schemaPath+".else",f.errSchemaPath=e.errSchemaPath+"/else",t+=" "+e.validate(f)+" ",f.baseId=F,t+=" "+c+" = "+m+"; ",I&&S?(w="ifClause"+a,t+=" var "+w+" = 'else'; "):w="'else'",t+=" } "),t+=" if (!"+c+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { failingKeyword: "+w+" } ",e.opts.messages!==!1&&(t+=` , message: 'should match "' + `+w+` + '" schema' `),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+=" } ",u&&(t+=" else { ")}else u&&(t+=" if (true) { ");return t}),wp}var Ip,Cp;function tx(){return Cp||(Cp=1,Ip=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="valid"+a,p="errs__"+a,f=e.util.copy(e),m="";f.level++;var y="valid"+f.level,b="i"+a,I=f.dataLevel=e.dataLevel+1,S="data"+I,F=e.baseId;if(t+="var "+p+" = errors;var "+c+";",Array.isArray(n)){var w=e.schema.additionalItems;if(w===!1){t+=" "+c+" = "+d+".length <= "+n.length+"; ";var T=l;l=e.errSchemaPath+"/additionalItems",t+=" if (!"+c+") { ";var E=E||[];E.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+n.length+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have more than "+n.length+" items' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var P=t;t=E.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+P+"]); ":t+=" validate.errors = ["+P+"]; return false; ":t+=" var err = "+P+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",l=T,u&&(m+="}",t+=" else { ")}var O=n;if(O){for(var j,x=-1,C=O.length-1;x<C;)if(j=O[x+=1],e.opts.strictKeywords?typeof j=="object"&&Object.keys(j).length>0||j===!1:e.util.schemaHasRules(j,e.RULES.all)){t+=" "+y+" = true; if ("+d+".length > "+x+") { ";var k=d+"["+x+"]";f.schema=j,f.schemaPath=s+"["+x+"]",f.errSchemaPath=l+"/"+x,f.errorPath=e.util.getPathExpr(e.errorPath,x,e.opts.jsonPointers,!0),f.dataPathArr[I]=x;var B=e.validate(f);f.baseId=F,e.util.varOccurences(B,S)<2?t+=" "+e.util.varReplace(B,S,k)+" ":t+=" var "+S+" = "+k+"; "+B+" ",t+=" } ",u&&(t+=" if ("+y+") { ",m+="}")}}if(typeof w=="object"&&(e.opts.strictKeywords?typeof w=="object"&&Object.keys(w).length>0||w===!1:e.util.schemaHasRules(w,e.RULES.all))){f.schema=w,f.schemaPath=e.schemaPath+".additionalItems",f.errSchemaPath=e.errSchemaPath+"/additionalItems",t+=" "+y+" = true; if ("+d+".length > "+n.length+") { for (var "+b+" = "+n.length+"; "+b+" < "+d+".length; "+b+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,!0);var k=d+"["+b+"]";f.dataPathArr[I]=b;var B=e.validate(f);f.baseId=F,e.util.varOccurences(B,S)<2?t+=" "+e.util.varReplace(B,S,k)+" ":t+=" var "+S+" = "+k+"; "+B+" ",u&&(t+=" if (!"+y+") break; "),t+=" } } ",u&&(t+=" if ("+y+") { ",m+="}")}}else if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){f.schema=n,f.schemaPath=s,f.errSchemaPath=l,t+=" for (var "+b+" = 0; "+b+" < "+d+".length; "+b+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,!0);var k=d+"["+b+"]";f.dataPathArr[I]=b;var B=e.validate(f);f.baseId=F,e.util.varOccurences(B,S)<2?t+=" "+e.util.varReplace(B,S,k)+" ":t+=" var "+S+" = "+k+"; "+B+" ",u&&(t+=" if (!"+y+") break; "),t+=" }"}return u&&(t+=" "+m+" if ("+p+" == errors) {"),t}),Ip}var Tp,Ap;function Pp(){return Ap||(Ap=1,Tp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,F,d="data"+(o||""),c=e.opts.$data&&n&&n.$data,p;c?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n;var f=r=="maximum",m=f?"exclusiveMaximum":"exclusiveMinimum",y=e.schema[m],b=e.opts.$data&&y&&y.$data,I=f?"<":">",S=f?">":"<",F=void 0;if(!(c||typeof n=="number"||n===void 0))throw new Error(r+" must be number");if(!(b||y===void 0||typeof y=="number"||typeof y=="boolean"))throw new Error(m+" must be number or boolean");if(b){var w=e.util.getData(y.$data,o,e.dataPathArr),T="exclusive"+a,E="exclType"+a,P="exclIsNumber"+a,O="op"+a,j="' + "+O+" + '";t+=" var schemaExcl"+a+" = "+w+"; ",w="schemaExcl"+a,t+=" var "+T+"; var "+E+" = typeof "+w+"; if ("+E+" != 'boolean' && "+E+" != 'undefined' && "+E+" != 'number') { ";var F=m,x=x||[];x.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(F||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: '"+m+" should be boolean' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var C=t;t=x.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+C+"]); ":t+=" validate.errors = ["+C+"]; return false; ":t+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else if ( ",c&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" "+E+" == 'number' ? ( ("+T+" = "+p+" === undefined || "+w+" "+I+"= "+p+") ? "+d+" "+S+"= "+w+" : "+d+" "+S+" "+p+" ) : ( ("+T+" = "+w+" === true) ? "+d+" "+S+"= "+p+" : "+d+" "+S+" "+p+" ) || "+d+" !== "+d+") { var op"+a+" = "+T+" ? '"+I+"' : '"+I+"='; ",n===void 0&&(F=m,l=e.errSchemaPath+"/"+m,p=w,c=b)}else{var P=typeof y=="number",j=I;if(P&&c){var O="'"+j+"'";t+=" if ( ",c&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" ( "+p+" === undefined || "+y+" "+I+"= "+p+" ? "+d+" "+S+"= "+y+" : "+d+" "+S+" "+p+" ) || "+d+" !== "+d+") { "}else{P&&n===void 0?(T=!0,F=m,l=e.errSchemaPath+"/"+m,p=y,S+="="):(P&&(p=Math[f?"min":"max"](y,n)),y===(P?p:!0)?(T=!0,F=m,l=e.errSchemaPath+"/"+m,S+="="):(T=!1,j+="="));var O="'"+j+"'";t+=" if ( ",c&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" "+d+" "+S+" "+p+" || "+d+" !== "+d+") { "}}F=F||r;var x=x||[];x.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(F||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { comparison: "+O+", limit: "+p+", exclusive: "+T+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be "+j+" ",c?t+="' + "+p:t+=""+p+"'"),e.opts.verbose&&(t+=" , schema: ",c?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var C=t;return t=x.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+C+"]); ":t+=" validate.errors = ["+C+"]; return false; ":t+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",u&&(t+=" else { "),t}),Tp}var Fp,Op;function Ep(){return Op||(Op=1,Fp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,m,d="data"+(o||""),c=e.opts.$data&&n&&n.$data,p;if(c?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(c||typeof n=="number"))throw new Error(r+" must be number");var f=r=="maxItems"?">":"<";t+="if ( ",c&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" "+d+".length "+f+" "+p+") { ";var m=r,y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(m||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+p+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have ",r=="maxItems"?t+="more":t+="fewer",t+=" than ",c?t+="' + "+p+" + '":t+=""+n,t+=" items' "),e.opts.verbose&&(t+=" , schema: ",c?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",u&&(t+=" else { "),t}),Fp}var Lp,Dp;function $p(){return Dp||(Dp=1,Lp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,m,d="data"+(o||""),c=e.opts.$data&&n&&n.$data,p;if(c?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(c||typeof n=="number"))throw new Error(r+" must be number");var f=r=="maxLength"?">":"<";t+="if ( ",c&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),e.opts.unicode===!1?t+=" "+d+".length ":t+=" ucs2length("+d+") ",t+=" "+f+" "+p+") { ";var m=r,y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(m||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+p+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be ",r=="maxLength"?t+="longer":t+="shorter",t+=" than ",c?t+="' + "+p+" + '":t+=""+n,t+=" characters' "),e.opts.verbose&&(t+=" , schema: ",c?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",u&&(t+=" else { "),t}),Lp}var jp,Rp;function _p(){return Rp||(Rp=1,jp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,m,d="data"+(o||""),c=e.opts.$data&&n&&n.$data,p;if(c?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(c||typeof n=="number"))throw new Error(r+" must be number");var f=r=="maxProperties"?">":"<";t+="if ( ",c&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" Object.keys("+d+").length "+f+" "+p+") { ";var m=r,y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(m||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+p+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have ",r=="maxProperties"?t+="more":t+="fewer",t+=" than ",c?t+="' + "+p+" + '":t+=""+n,t+=" properties' "),e.opts.verbose&&(t+=" , schema: ",c?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",u&&(t+=" else { "),t}),jp}var kp,Bp;function rx(){return Bp||(Bp=1,kp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c=e.opts.$data&&n&&n.$data,p;if(c?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(c||typeof n=="number"))throw new Error(r+" must be number");t+="var division"+a+";if (",c&&(t+=" "+p+" !== undefined && ( typeof "+p+" != 'number' || "),t+=" (division"+a+" = "+d+" / "+p+", ",e.opts.multipleOfPrecision?t+=" Math.abs(Math.round(division"+a+") - division"+a+") > 1e-"+e.opts.multipleOfPrecision+" ":t+=" division"+a+" !== parseInt(division"+a+") ",t+=" ) ",c&&(t+=" ) "),t+=" ) { ";var f=f||[];f.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { multipleOf: "+p+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be multiple of ",c?t+="' + "+p:t+=""+p+"'"),e.opts.verbose&&(t+=" , schema: ",c?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var m=t;return t=f.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+m+"]); ":t+=" validate.errors = ["+m+"]; return false; ":t+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",u&&(t+=" else { "),t}),kp}var qp,Mp;function ix(){return Mp||(Mp=1,qp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="errs__"+a,p=e.util.copy(e);p.level++;var f="valid"+p.level;if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){p.schema=n,p.schemaPath=s,p.errSchemaPath=l,t+=" var "+c+" = errors; ";var m=e.compositeRule;e.compositeRule=p.compositeRule=!0,p.createErrors=!1;var y;p.opts.allErrors&&(y=p.opts.allErrors,p.opts.allErrors=!1),t+=" "+e.validate(p)+" ",p.createErrors=!0,y&&(p.opts.allErrors=y),e.compositeRule=p.compositeRule=m,t+=" if ("+f+") { ";var b=b||[];b.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be valid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var I=t;t=b.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+I+"]); ":t+=" validate.errors = ["+I+"]; return false; ":t+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { errors = "+c+"; if (vErrors !== null) { if ("+c+") vErrors.length = "+c+"; else vErrors = null; } ",e.opts.allErrors&&(t+=" } ")}else t+=" var err = ",e.createErrors!==!1?(t+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be valid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u&&(t+=" if (false) { ");return t}),qp}var Np,Wp;function ax(){return Wp||(Wp=1,Np=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="valid"+a,p="errs__"+a,f=e.util.copy(e),m="";f.level++;var y="valid"+f.level,b=f.baseId,I="prevValid"+a,S="passingSchemas"+a;t+="var "+p+" = errors , "+I+" = false , "+c+" = false , "+S+" = null; ";var F=e.compositeRule;e.compositeRule=f.compositeRule=!0;var w=n;if(w)for(var T,E=-1,P=w.length-1;E<P;)T=w[E+=1],(e.opts.strictKeywords?typeof T=="object"&&Object.keys(T).length>0||T===!1:e.util.schemaHasRules(T,e.RULES.all))?(f.schema=T,f.schemaPath=s+"["+E+"]",f.errSchemaPath=l+"/"+E,t+=" "+e.validate(f)+" ",f.baseId=b):t+=" var "+y+" = true; ",E&&(t+=" if ("+y+" && "+I+") { "+c+" = false; "+S+" = ["+S+", "+E+"]; } else { ",m+="}"),t+=" if ("+y+") { "+c+" = "+I+" = true; "+S+" = "+E+"; }";return e.compositeRule=f.compositeRule=F,t+=""+m+"if (!"+c+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { passingSchemas: "+S+" } ",e.opts.messages!==!1&&(t+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+="} else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; }",e.opts.allErrors&&(t+=" } "),t}),Np}var zp,Vp;function ox(){return Vp||(Vp=1,zp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c=e.opts.$data&&n&&n.$data,p;c?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n;var f=c?"(new RegExp("+p+"))":e.usePattern(n);t+="if ( ",c&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'string') || "),t+=" !"+f+".test("+d+") ) { ";var m=m||[];m.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { pattern: ",c?t+=""+p:t+=""+e.util.toQuotedString(n),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match pattern "`,c?t+="' + "+p+" + '":t+=""+e.util.escapeQuotes(n),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",c?t+="validate.schema"+s:t+=""+e.util.toQuotedString(n),t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var y=t;return t=m.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+y+"]); ":t+=" validate.errors = ["+y+"]; return false; ":t+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",u&&(t+=" else { "),t}),zp}var Up,Gp;function nx(){return Gp||(Gp=1,Up=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="errs__"+a,p=e.util.copy(e),f="";p.level++;var m="valid"+p.level,y="key"+a,b="idx"+a,I=p.dataLevel=e.dataLevel+1,S="data"+I,F="dataProperties"+a,w=Object.keys(n||{}).filter(K),T=e.schema.patternProperties||{},E=Object.keys(T).filter(K),P=e.schema.additionalProperties,O=w.length||E.length,j=P===!1,x=typeof P=="object"&&Object.keys(P).length,C=e.opts.removeAdditional,k=j||x||C,B=e.opts.ownProperties,M=e.baseId,J=e.schema.required;if(J&&!(e.opts.$data&&J.$data)&&J.length<e.opts.loopRequired)var Z=e.util.toHash(J);function K(Xi){return Xi!=="__proto__"}if(t+="var "+c+" = errors;var "+m+" = true;",B&&(t+=" var "+F+" = undefined;"),k){if(B?t+=" "+F+" = "+F+" || Object.keys("+d+"); for (var "+b+"=0; "+b+"<"+F+".length; "+b+"++) { var "+y+" = "+F+"["+b+"]; ":t+=" for (var "+y+" in "+d+") { ",O){if(t+=" var isAdditional"+a+" = !(false ",w.length)if(w.length>8)t+=" || validate.schema"+s+".hasOwnProperty("+y+") ";else{var X=w;if(X)for(var Q,fe=-1,$e=X.length-1;fe<$e;)Q=X[fe+=1],t+=" || "+y+" == "+e.util.toQuotedString(Q)+" "}if(E.length){var Ee=E;if(Ee)for(var xe,ot=-1,ze=Ee.length-1;ot<ze;)xe=Ee[ot+=1],t+=" || "+e.usePattern(xe)+".test("+y+") "}t+=" ); if (isAdditional"+a+") { "}if(C=="all")t+=" delete "+d+"["+y+"]; ";else{var A=e.errorPath,R="' + "+y+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers)),j)if(C)t+=" delete "+d+"["+y+"]; ";else{t+=" "+m+" = false; ";var N=l;l=e.errSchemaPath+"/additionalProperties";var z=z||[];z.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { additionalProperty: '"+R+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is an invalid additional property":t+="should NOT have additional properties",t+="' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var _=t;t=z.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+_+"]); ":t+=" validate.errors = ["+_+"]; return false; ":t+=" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l=N,u&&(t+=" break; ")}else if(x)if(C=="failing"){t+=" var "+c+" = errors; ";var W=e.compositeRule;e.compositeRule=p.compositeRule=!0,p.schema=P,p.schemaPath=e.schemaPath+".additionalProperties",p.errSchemaPath=e.errSchemaPath+"/additionalProperties",p.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers);var H=d+"["+y+"]";p.dataPathArr[I]=y;var Y=e.validate(p);p.baseId=M,e.util.varOccurences(Y,S)<2?t+=" "+e.util.varReplace(Y,S,H)+" ":t+=" var "+S+" = "+H+"; "+Y+" ",t+=" if (!"+m+") { errors = "+c+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+d+"["+y+"]; } ",e.compositeRule=p.compositeRule=W}else{p.schema=P,p.schemaPath=e.schemaPath+".additionalProperties",p.errSchemaPath=e.errSchemaPath+"/additionalProperties",p.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers);var H=d+"["+y+"]";p.dataPathArr[I]=y;var Y=e.validate(p);p.baseId=M,e.util.varOccurences(Y,S)<2?t+=" "+e.util.varReplace(Y,S,H)+" ":t+=" var "+S+" = "+H+"; "+Y+" ",u&&(t+=" if (!"+m+") break; ")}e.errorPath=A}O&&(t+=" } "),t+=" } ",u&&(t+=" if ("+m+") { ",f+="}")}var ge=e.opts.useDefaults&&!e.compositeRule;if(w.length){var be=w;if(be)for(var Q,ne=-1,ae=be.length-1;ne<ae;){Q=be[ne+=1];var le=n[Q];if(e.opts.strictKeywords?typeof le=="object"&&Object.keys(le).length>0||le===!1:e.util.schemaHasRules(le,e.RULES.all)){var Ve=e.util.getProperty(Q),H=d+Ve,mt=ge&&le.default!==void 0;p.schema=le,p.schemaPath=s+Ve,p.errSchemaPath=l+"/"+e.util.escapeFragment(Q),p.errorPath=e.util.getPath(e.errorPath,Q,e.opts.jsonPointers),p.dataPathArr[I]=e.util.toQuotedString(Q);var Y=e.validate(p);if(p.baseId=M,e.util.varOccurences(Y,S)<2){Y=e.util.varReplace(Y,S,H);var ve=H}else{var ve=S;t+=" var "+S+" = "+H+"; "}if(mt)t+=" "+Y+" ";else{if(Z&&Z[Q]){t+=" if ( "+ve+" === undefined ",B&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(Q)+"') "),t+=") { "+m+" = false; ";var A=e.errorPath,N=l,Le=e.util.escapeQuotes(Q);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(A,Q,e.opts.jsonPointers)),l=e.errSchemaPath+"/required";var z=z||[];z.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+Le+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+Le+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var _=t;t=z.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+_+"]); ":t+=" validate.errors = ["+_+"]; return false; ":t+=" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l=N,e.errorPath=A,t+=" } else { "}else u?(t+=" if ( "+ve+" === undefined ",B&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(Q)+"') "),t+=") { "+m+" = true; } else { "):(t+=" if ("+ve+" !== undefined ",B&&(t+=" && Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(Q)+"') "),t+=" ) { ");t+=" "+Y+" } "}}u&&(t+=" if ("+m+") { ",f+="}")}}if(E.length){var Se=E;if(Se)for(var xe,Lr=-1,Zi=Se.length-1;Lr<Zi;){xe=Se[Lr+=1];var le=T[xe];if(e.opts.strictKeywords?typeof le=="object"&&Object.keys(le).length>0||le===!1:e.util.schemaHasRules(le,e.RULES.all)){p.schema=le,p.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(xe),p.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(xe),B?t+=" "+F+" = "+F+" || Object.keys("+d+"); for (var "+b+"=0; "+b+"<"+F+".length; "+b+"++) { var "+y+" = "+F+"["+b+"]; ":t+=" for (var "+y+" in "+d+") { ",t+=" if ("+e.usePattern(xe)+".test("+y+")) { ",p.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers);var H=d+"["+y+"]";p.dataPathArr[I]=y;var Y=e.validate(p);p.baseId=M,e.util.varOccurences(Y,S)<2?t+=" "+e.util.varReplace(Y,S,H)+" ":t+=" var "+S+" = "+H+"; "+Y+" ",u&&(t+=" if (!"+m+") break; "),t+=" } ",u&&(t+=" else "+m+" = true; "),t+=" } ",u&&(t+=" if ("+m+") { ",f+="}")}}}return u&&(t+=" "+f+" if ("+c+" == errors) {"),t}),Up}var Hp,Qp;function sx(){return Qp||(Qp=1,Hp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="errs__"+a,p=e.util.copy(e),f="";p.level++;var m="valid"+p.level;if(t+="var "+c+" = errors;",e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){p.schema=n,p.schemaPath=s,p.errSchemaPath=l;var y="key"+a,b="idx"+a,I="i"+a,S="' + "+y+" + '",F=p.dataLevel=e.dataLevel+1,w="data"+F,T="dataProperties"+a,E=e.opts.ownProperties,P=e.baseId;E&&(t+=" var "+T+" = undefined; "),E?t+=" "+T+" = "+T+" || Object.keys("+d+"); for (var "+b+"=0; "+b+"<"+T+".length; "+b+"++) { var "+y+" = "+T+"["+b+"]; ":t+=" for (var "+y+" in "+d+") { ",t+=" var startErrs"+a+" = errors; ";var O=y,j=e.compositeRule;e.compositeRule=p.compositeRule=!0;var x=e.validate(p);p.baseId=P,e.util.varOccurences(x,w)<2?t+=" "+e.util.varReplace(x,w,O)+" ":t+=" var "+w+" = "+O+"; "+x+" ",e.compositeRule=p.compositeRule=j,t+=" if (!"+m+") { for (var "+I+"=startErrs"+a+"; "+I+"<errors; "+I+"++) { vErrors["+I+"].propertyName = "+y+"; } var err = ",e.createErrors!==!1?(t+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { propertyName: '"+S+"' } ",e.opts.messages!==!1&&(t+=" , message: 'property name \\'"+S+"\\' is invalid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),u&&(t+=" break; "),t+=" } }"}return u&&(t+=" "+f+" if ("+c+" == errors) {"),t}),Hp}var Kp,Jp;function lx(){return Jp||(Jp=1,Kp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="valid"+a,p=e.opts.$data&&n&&n.$data;p&&(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ");var f="schema"+a;if(!p)if(n.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var F=[],m=n;if(m)for(var y,b=-1,I=m.length-1;b<I;){y=m[b+=1];var S=e.schema.properties[y];S&&(e.opts.strictKeywords?typeof S=="object"&&Object.keys(S).length>0||S===!1:e.util.schemaHasRules(S,e.RULES.all))||(F[F.length]=y)}}else var F=n;if(p||F.length){var w=e.errorPath,T=p||F.length>=e.opts.loopRequired,E=e.opts.ownProperties;if(u)if(t+=" var missing"+a+"; ",T){p||(t+=" var "+f+" = validate.schema"+s+"; ");var P="i"+a,O="schema"+a+"["+P+"]",j="' + "+O+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(w,O,e.opts.jsonPointers)),t+=" var "+c+" = true; ",p&&(t+=" if (schema"+a+" === undefined) "+c+" = true; else if (!Array.isArray(schema"+a+")) "+c+" = false; else {"),t+=" for (var "+P+" = 0; "+P+" < "+f+".length; "+P+"++) { "+c+" = "+d+"["+f+"["+P+"]] !== undefined ",E&&(t+=" && Object.prototype.hasOwnProperty.call("+d+", "+f+"["+P+"]) "),t+="; if (!"+c+") break; } ",p&&(t+=" } "),t+=" if (!"+c+") { ";var x=x||[];x.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+j+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+j+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var C=t;t=x.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+C+"]); ":t+=" validate.errors = ["+C+"]; return false; ":t+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { "}else{t+=" if ( ";var k=F;if(k)for(var B,P=-1,M=k.length-1;P<M;){B=k[P+=1],P&&(t+=" || ");var J=e.util.getProperty(B),Z=d+J;t+=" ( ( "+Z+" === undefined ",E&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(B)+"') "),t+=") && (missing"+a+" = "+e.util.toQuotedString(e.opts.jsonPointers?B:J)+") ) "}t+=") { ";var O="missing"+a,j="' + "+O+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(w,O,!0):w+" + "+O);var x=x||[];x.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+j+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+j+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var C=t;t=x.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+C+"]); ":t+=" validate.errors = ["+C+"]; return false; ":t+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { "}else if(T){p||(t+=" var "+f+" = validate.schema"+s+"; ");var P="i"+a,O="schema"+a+"["+P+"]",j="' + "+O+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(w,O,e.opts.jsonPointers)),p&&(t+=" if ("+f+" && !Array.isArray("+f+")) { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+j+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+j+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+f+" !== undefined) { "),t+=" for (var "+P+" = 0; "+P+" < "+f+".length; "+P+"++) { if ("+d+"["+f+"["+P+"]] === undefined ",E&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", "+f+"["+P+"]) "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+j+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+j+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",p&&(t+=" } ")}else{var K=F;if(K)for(var B,X=-1,Q=K.length-1;X<Q;){B=K[X+=1];var J=e.util.getProperty(B),j=e.util.escapeQuotes(B),Z=d+J;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(w,B,e.opts.jsonPointers)),t+=" if ( "+Z+" === undefined ",E&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(B)+"') "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+j+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+j+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=w}else u&&(t+=" if (true) {");return t}),Kp}var Zp,Xp;function px(){return Xp||(Xp=1,Zp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="valid"+a,p=e.opts.$data&&n&&n.$data,f;if(p?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",f="schema"+a):f=n,(n||p)&&e.opts.uniqueItems!==!1){p&&(t+=" var "+c+"; if ("+f+" === false || "+f+" === undefined) "+c+" = true; else if (typeof "+f+" != 'boolean') "+c+" = false; else { "),t+=" var i = "+d+".length , "+c+" = true , j; if (i > 1) { ";var m=e.schema.items&&e.schema.items.type,y=Array.isArray(m);if(!m||m=="object"||m=="array"||y&&(m.indexOf("object")>=0||m.indexOf("array")>=0))t+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+d+"[i], "+d+"[j])) { "+c+" = false; break outer; } } } ";else{t+=" var itemIndices = {}, item; for (;i--;) { var item = "+d+"[i]; ";var b="checkDataType"+(y?"s":"");t+=" if ("+e.util[b](m,"item",e.opts.strictNumbers,!0)+") continue; ",y&&(t+=` if (typeof item == 'string') item = '"' + item; `),t+=" if (typeof itemIndices[item] == 'number') { "+c+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}t+=" } ",p&&(t+=" } "),t+=" if (!"+c+") { ";var I=I||[];I.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { i: i, j: j } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(t+=" , schema: ",p?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var S=t;t=I.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+S+"]); ":t+=" validate.errors = ["+S+"]; return false; ":t+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",u&&(t+=" else { ")}else u&&(t+=" if (true) { ");return t}),Zp}var Yp,ed;function dx(){return ed||(ed=1,Yp={$ref:Uw(),allOf:Gw(),anyOf:Hw(),$comment:Qw(),const:Kw(),contains:Jw(),dependencies:Zw(),enum:Xw(),format:Yw(),if:ex(),items:tx(),maximum:Pp(),minimum:Pp(),maxItems:Ep(),minItems:Ep(),maxLength:$p(),minLength:$p(),maxProperties:_p(),minProperties:_p(),multipleOf:rx(),not:ix(),oneOf:ax(),pattern:ox(),properties:nx(),propertyNames:sx(),required:lx(),uniqueItems:px(),validate:Wd()}),Yp}var Da,td;function cx(){if(td)return Da;td=1;var e=dx(),r=Er().toHash;return Da=function(){var i=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}],t=["type","$comment"],a=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"],o=["number","integer","string","array","object","boolean","null"];return i.all=r(t),i.types=r(o),i.forEach(function(n){n.rules=n.rules.map(function(s){var l;if(typeof s=="object"){var u=Object.keys(s)[0];l=s[u],s=u,l.forEach(function(c){t.push(c),i.all[c]=!0})}t.push(s);var d=i.all[s]={keyword:s,code:e[s],implements:l};return d}),i.all.$comment={keyword:"$comment",code:e.$comment},n.type&&(i.types[n.type]=n)}),i.keywords=r(t.concat(a)),i.custom={},i},Da}var $a,rd;function ux(){if(rd)return $a;rd=1;var e=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];return $a=function(r,i){for(var t=0;t<i.length;t++){r=JSON.parse(JSON.stringify(r));var a=i[t].split("/"),o=r,n;for(n=1;n<a.length;n++)o=o[a[n]];for(n=0;n<e.length;n++){var s=e[n],l=o[s];l&&(o[s]={anyOf:[l,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return r},$a}var ja,id;function fx(){if(id)return ja;id=1;var e=ro().MissingRef;ja=r;function r(i,t,a){var o=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");typeof t=="function"&&(a=t,t=void 0);var n=s(i).then(function(){var u=o._addSchema(i,void 0,t);return u.validate||l(u)});return a&&n.then(function(u){a(null,u)},a),n;function s(u){var d=u.$schema;return d&&!o.getSchema(d)?r.call(o,{$ref:d},!0):Promise.resolve()}function l(u){try{return o._compile(u)}catch(c){if(c instanceof e)return d(c);throw c}function d(c){var p=c.missingSchema;if(y(p))throw new Error("Schema "+p+" is loaded but "+c.missingRef+" cannot be resolved");var f=o._loadingSchemas[p];return f||(f=o._loadingSchemas[p]=o._opts.loadSchema(p),f.then(m,m)),f.then(function(b){if(!y(p))return s(b).then(function(){y(p)||o.addSchema(b,p,void 0,t)})}).then(function(){return l(u)});function m(){delete o._loadingSchemas[p]}function y(b){return o._refs[b]||o._schemas[b]}}}}return ja}var ad,od;function hx(){return od||(od=1,ad=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d,c="data"+(o||""),p="valid"+a,f="errs__"+a,m=e.opts.$data&&n&&n.$data,y;m?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",y="schema"+a):y=n;var b=this,I="definition"+a,S=b.definition,F="",w,T,E,P,O;if(m&&S.$data){O="keywordValidate"+a;var j=S.validateSchema;t+=" var "+I+" = RULES.custom['"+r+"'].definition; var "+O+" = "+I+".validate;"}else{if(P=e.useCustomRule(b,n,e.schema,e),!P)return;y="validate.schema"+s,O=P.code,w=S.compile,T=S.inline,E=S.macro}var x=O+".errors",C="i"+a,k="ruleErr"+a,B=S.async;if(B&&!e.async)throw new Error("async keyword in sync schema");if(T||E||(t+=""+x+" = null;"),t+="var "+f+" = errors;var "+p+";",m&&S.$data&&(F+="}",t+=" if ("+y+" === undefined) { "+p+" = true; } else { ",j&&(F+="}",t+=" "+p+" = "+I+".validateSchema("+y+"); if ("+p+") { ")),T)S.statements?t+=" "+P.validate+" ":t+=" "+p+" = "+P.validate+"; ";else if(E){var M=e.util.copy(e),F="";M.level++;var J="valid"+M.level;M.schema=P.validate,M.schemaPath="";var Z=e.compositeRule;e.compositeRule=M.compositeRule=!0;var K=e.validate(M).replace(/validate\.schema/g,O);e.compositeRule=M.compositeRule=Z,t+=" "+K}else{var X=X||[];X.push(t),t="",t+=" "+O+".call( ",e.opts.passContext?t+="this":t+="self",w||S.schema===!1?t+=" , "+c+" ":t+=" , "+y+" , "+c+" , validate.schema"+e.schemaPath+" ",t+=" , (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var Q=o?"data"+(o-1||""):"parentData",fe=o?e.dataPathArr[o]:"parentDataProperty";t+=" , "+Q+" , "+fe+" , rootData ) ";var $e=t;t=X.pop(),S.errors===!1?(t+=" "+p+" = ",B&&(t+="await "),t+=""+$e+"; "):B?(x="customErrors"+a,t+=" var "+x+" = null; try { "+p+" = await "+$e+"; } catch (e) { "+p+" = false; if (e instanceof ValidationError) "+x+" = e.errors; else throw e; } "):t+=" "+x+" = null; "+p+" = "+$e+"; "}if(S.modifying&&(t+=" if ("+Q+") "+c+" = "+Q+"["+fe+"];"),t+=""+F,S.valid)u&&(t+=" if (true) { ");else{t+=" if ( ",S.valid===void 0?(t+=" !",E?t+=""+J:t+=""+p):t+=" "+!S.valid+" ",t+=") { ",d=b.keyword;var X=X||[];X.push(t),t="";var X=X||[];X.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(d||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { keyword: '"+b.keyword+"' } ",e.opts.messages!==!1&&(t+=` , message: 'should pass "`+b.keyword+`" keyword validation' `),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var Ee=t;t=X.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+Ee+"]); ":t+=" validate.errors = ["+Ee+"]; return false; ":t+=" var err = "+Ee+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var xe=t;t=X.pop(),T?S.errors?S.errors!="full"&&(t+=" for (var "+C+"="+f+"; "+C+"<errors; "+C+"++) { var "+k+" = vErrors["+C+"]; if ("+k+".dataPath === undefined) "+k+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+k+".schemaPath === undefined) { "+k+'.schemaPath = "'+l+'"; } ',e.opts.verbose&&(t+=" "+k+".schema = "+y+"; "+k+".data = "+c+"; "),t+=" } "):S.errors===!1?t+=" "+xe+" ":(t+=" if ("+f+" == errors) { "+xe+" } else { for (var "+C+"="+f+"; "+C+"<errors; "+C+"++) { var "+k+" = vErrors["+C+"]; if ("+k+".dataPath === undefined) "+k+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+k+".schemaPath === undefined) { "+k+'.schemaPath = "'+l+'"; } ',e.opts.verbose&&(t+=" "+k+".schema = "+y+"; "+k+".data = "+c+"; "),t+=" } } "):E?(t+=" var err = ",e.createErrors!==!1?(t+=" { keyword: '"+(d||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { keyword: '"+b.keyword+"' } ",e.opts.messages!==!1&&(t+=` , message: 'should pass "`+b.keyword+`" keyword validation' `),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; ")):S.errors===!1?t+=" "+xe+" ":(t+=" if (Array.isArray("+x+")) { if (vErrors === null) vErrors = "+x+"; else vErrors = vErrors.concat("+x+"); errors = vErrors.length; for (var "+C+"="+f+"; "+C+"<errors; "+C+"++) { var "+k+" = vErrors["+C+"]; if ("+k+".dataPath === undefined) "+k+".dataPath = (dataPath || '') + "+e.errorPath+"; "+k+'.schemaPath = "'+l+'"; ',e.opts.verbose&&(t+=" "+k+".schema = "+y+"; "+k+".data = "+c+"; "),t+=" } } else { "+xe+" } "),t+=" } ",u&&(t+=" else { ")}return t}),ad}var mx="http://json-schema.org/draft-07/schema#",yx="http://json-schema.org/draft-07/schema#",gx="Core schema meta-schema",bx={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},vx=["object","boolean"],Sx={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},zd={$schema:mx,$id:yx,title:gx,definitions:bx,type:vx,properties:Sx,default:!0},Ra,nd;function wx(){if(nd)return Ra;nd=1;var e=zd;return Ra={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:e.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:e.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}},Ra}var _a,sd;function xx(){if(sd)return _a;sd=1;var e=/^[a-z_$][a-z0-9_$-]*$/i,r=hx(),i=wx();_a={add:t,get:a,remove:o,validate:n};function t(s,l){var u=this.RULES;if(u.keywords[s])throw new Error("Keyword "+s+" is already defined");if(!e.test(s))throw new Error("Keyword "+s+" is not a valid identifier");if(l){this.validateKeyword(l,!0);var d=l.type;if(Array.isArray(d))for(var c=0;c<d.length;c++)f(s,d[c],l);else f(s,d,l);var p=l.metaSchema;p&&(l.$data&&this._opts.$data&&(p={anyOf:[p,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),l.validateSchema=this.compile(p,!0))}u.keywords[s]=u.all[s]=!0;function f(m,y,b){for(var I,S=0;S<u.length;S++){var F=u[S];if(F.type==y){I=F;break}}I||(I={type:y,rules:[]},u.push(I));var w={keyword:m,definition:b,custom:!0,code:r,implements:b.implements};I.rules.push(w),u.custom[m]=w}return this}function a(s){var l=this.RULES.custom[s];return l?l.definition:this.RULES.keywords[s]||!1}function o(s){var l=this.RULES;delete l.keywords[s],delete l.all[s],delete l.custom[s];for(var u=0;u<l.length;u++)for(var d=l[u].rules,c=0;c<d.length;c++)if(d[c].keyword==s){d.splice(c,1);break}return this}function n(s,l){n.errors=null;var u=this._validateKeyword=this._validateKeyword||this.compile(i,!0);if(u(s))return!0;if(n.errors=u.errors,l)throw new Error("custom keyword definition is invalid: "+this.errorsText(u.errors));return!1}return _a}var Ix="http://json-schema.org/draft-07/schema#",Cx="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",Tx="Meta-schema for $data reference (JSON Schema extension proposal)",Ax="object",Px=["$data"],Fx={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},Ox=!1,Ex={$schema:Ix,$id:Cx,description:Tx,type:Ax,required:Px,properties:Fx,additionalProperties:Ox},ka,ld;function Lx(){if(ld)return ka;ld=1;var e=Ww(),r=to(),i=zw(),t=Md(),a=Nd(),o=Vw(),n=cx(),s=ux(),l=Er();ka=m,m.prototype.validate=y,m.prototype.compile=b,m.prototype.addSchema=I,m.prototype.addMetaSchema=S,m.prototype.validateSchema=F,m.prototype.getSchema=T,m.prototype.removeSchema=O,m.prototype.addFormat=K,m.prototype.errorsText=Z,m.prototype._addSchema=x,m.prototype._compile=C,m.prototype.compileAsync=fx();var u=xx();m.prototype.addKeyword=u.add,m.prototype.getKeyword=u.get,m.prototype.removeKeyword=u.remove,m.prototype.validateKeyword=u.validate;var d=ro();m.ValidationError=d.Validation,m.MissingRefError=d.MissingRef,m.$dataMetaSchema=s;var c="http://json-schema.org/draft-07/schema",p=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],f=["/properties"];function m(A){if(!(this instanceof m))return new m(A);A=this._opts=l.copy(A)||{},ot(this),this._schemas={},this._refs={},this._fragments={},this._formats=o(A.format),this._cache=A.cache||new i,this._loadingSchemas={},this._compilations=[],this.RULES=n(),this._getId=k(A),A.loopRequired=A.loopRequired||1/0,A.errorDataPath=="property"&&(A._errorDataPathProperty=!0),A.serialize===void 0&&(A.serialize=a),this._metaOpts=xe(this),A.formats&&fe(this),A.keywords&&$e(this),X(this),typeof A.meta=="object"&&this.addMetaSchema(A.meta),A.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),Q(this)}function y(A,R){var N;if(typeof A=="string"){if(N=this.getSchema(A),!N)throw new Error('no schema with key or ref "'+A+'"')}else{var z=this._addSchema(A);N=z.validate||this._compile(z)}var _=N(R);return N.$async!==!0&&(this.errors=N.errors),_}function b(A,R){var N=this._addSchema(A,void 0,R);return N.validate||this._compile(N)}function I(A,R,N,z){if(Array.isArray(A)){for(var _=0;_<A.length;_++)this.addSchema(A[_],void 0,N,z);return this}var W=this._getId(A);if(W!==void 0&&typeof W!="string")throw new Error("schema id must be string");return R=r.normalizeId(R||W),Ee(this,R),this._schemas[R]=this._addSchema(A,N,z,!0),this}function S(A,R,N){return this.addSchema(A,R,N,!0),this}function F(A,R){var N=A.$schema;if(N!==void 0&&typeof N!="string")throw new Error("$schema must be a string");if(N=N||this._opts.defaultMeta||w(this),!N)return this.logger.warn("meta-schema not available"),this.errors=null,!0;var z=this.validate(N,A);if(!z&&R){var _="schema is invalid: "+this.errorsText();if(this._opts.validateSchema=="log")this.logger.error(_);else throw new Error(_)}return z}function w(A){var R=A._opts.meta;return A._opts.defaultMeta=typeof R=="object"?A._getId(R)||R:A.getSchema(c)?c:void 0,A._opts.defaultMeta}function T(A){var R=P(this,A);switch(typeof R){case"object":return R.validate||this._compile(R);case"string":return this.getSchema(R);case"undefined":return E(this,A)}}function E(A,R){var N=r.schema.call(A,{schema:{}},R);if(N){var z=N.schema,_=N.root,W=N.baseId,H=e.call(A,z,_,void 0,W);return A._fragments[R]=new t({ref:R,fragment:!0,schema:z,root:_,baseId:W,validate:H}),H}}function P(A,R){return R=r.normalizeId(R),A._schemas[R]||A._refs[R]||A._fragments[R]}function O(A){if(A instanceof RegExp)return j(this,this._schemas,A),j(this,this._refs,A),this;switch(typeof A){case"undefined":return j(this,this._schemas),j(this,this._refs),this._cache.clear(),this;case"string":var R=P(this,A);return R&&this._cache.del(R.cacheKey),delete this._schemas[A],delete this._refs[A],this;case"object":var N=this._opts.serialize,z=N?N(A):A;this._cache.del(z);var _=this._getId(A);_&&(_=r.normalizeId(_),delete this._schemas[_],delete this._refs[_])}return this}function j(A,R,N){for(var z in R){var _=R[z];!_.meta&&(!N||N.test(z))&&(A._cache.del(_.cacheKey),delete R[z])}}function x(A,R,N,z){if(typeof A!="object"&&typeof A!="boolean")throw new Error("schema should be object or boolean");var _=this._opts.serialize,W=_?_(A):A,H=this._cache.get(W);if(H)return H;z=z||this._opts.addUsedSchema!==!1;var Y=r.normalizeId(this._getId(A));Y&&z&&Ee(this,Y);var ge=this._opts.validateSchema!==!1&&!R,be;ge&&!(be=Y&&Y==r.normalizeId(A.$schema))&&this.validateSchema(A,!0);var ne=r.ids.call(this,A),ae=new t({id:Y,schema:A,localRefs:ne,cacheKey:W,meta:N});return Y[0]!="#"&&z&&(this._refs[Y]=ae),this._cache.put(W,ae),ge&&be&&this.validateSchema(A,!0),ae}function C(A,R){if(A.compiling)return A.validate=_,_.schema=A.schema,_.errors=null,_.root=R||_,A.schema.$async===!0&&(_.$async=!0),_;A.compiling=!0;var N;A.meta&&(N=this._opts,this._opts=this._metaOpts);var z;try{z=e.call(this,A.schema,R,A.localRefs)}catch(W){throw delete A.validate,W}finally{A.compiling=!1,A.meta&&(this._opts=N)}return A.validate=z,A.refs=z.refs,A.refVal=z.refVal,A.root=z.root,z;function _(){var W=A.validate,H=W.apply(this,arguments);return _.errors=W.errors,H}}function k(A){switch(A.schemaId){case"auto":return J;case"id":return B;default:return M}}function B(A){return A.$id&&this.logger.warn("schema $id ignored",A.$id),A.id}function M(A){return A.id&&this.logger.warn("schema id ignored",A.id),A.$id}function J(A){if(A.$id&&A.id&&A.$id!=A.id)throw new Error("schema $id is different from id");return A.$id||A.id}function Z(A,R){if(A=A||this.errors,!A)return"No errors";R=R||{};for(var N=R.separator===void 0?", ":R.separator,z=R.dataVar===void 0?"data":R.dataVar,_="",W=0;W<A.length;W++){var H=A[W];H&&(_+=z+H.dataPath+" "+H.message+N)}return _.slice(0,-N.length)}function K(A,R){return typeof R=="string"&&(R=new RegExp(R)),this._formats[A]=R,this}function X(A){var R;if(A._opts.$data&&(R=Ex,A.addMetaSchema(R,R.$id,!0)),A._opts.meta!==!1){var N=zd;A._opts.$data&&(N=s(N,f)),A.addMetaSchema(N,c,!0),A._refs["http://json-schema.org/schema"]=c}}function Q(A){var R=A._opts.schemas;if(R)if(Array.isArray(R))A.addSchema(R);else for(var N in R)A.addSchema(R[N],N)}function fe(A){for(var R in A._opts.formats){var N=A._opts.formats[R];A.addFormat(R,N)}}function $e(A){for(var R in A._opts.keywords){var N=A._opts.keywords[R];A.addKeyword(R,N)}}function Ee(A,R){if(A._schemas[R]||A._refs[R])throw new Error('schema with key or id "'+R+'" already exists')}function xe(A){for(var R=l.copy(A._opts),N=0;N<p.length;N++)delete R[p[N]];return R}function ot(A){var R=A._opts.logger;if(R===!1)A.logger={log:ze,warn:ze,error:ze};else{if(R===void 0&&(R=console),!(typeof R=="object"&&R.log&&R.warn&&R.error))throw new Error("logger must implement log, warn and error methods");A.logger=R}}function ze(){}return ka}var Dx=Lx(),$x=kw(Dx),Vd={NonNumericAggregation:"nonNumericAggregation",DuplicateSeriesID:"duplicateSeriesId"},_t={Required:"required",MinLength:"minLength",MinItems:"minItems",MaxItems:"maxItems",Pattern:"pattern",AdditionalProperties:"additionalProperties",Enum:"enum",AnyOf:"anyOf"},Xj={BadData:"badData",EmptyDataSet:"emptyDataSet",HistogramEmptyField:"histogramEmptyField",BarElementExceedsLimit:"barElementExceedsLimit",LineChartExceedsLimit:"lineChartExceedsLimit",BoxPlotExceedsLimit:"boxPlotExceedsLimit",BoxPlotOutliersExceedsLimit:"boxPlotOutliersExceedsLimit",PieChartExceedsLimit:"pieChartExceedsLimit",GaugeExceedsLimit:"gaugeExceedsLimit",PieChartMixOfNegativePositiveSlices:"PieChartMixOfNegativePositiveSlices",NegativeValueInSqrtCalculation:"negativeValueInSqrtCalculation",NegativeValueInLogCalculation:"negativeValueInLogCalculation",NegativeValueInXAxisLogScale:"negativeValueInXAxisLogScale",NegativeValueInYAxisLogScale:"negativeValueInYAxisLogScale"};function jx(e){let r=e.lastIndexOf("/");return r!==-1?e.slice(r+1):e}async function Rx(e){let r=await ft();return e.map(i=>{let t=i,a=i.dataPath.startsWith(".")?i.dataPath.substring(1):i.dataPath;switch(i.keyword){case _t.Required:t={...i,message:Ze(r.requiredProperty,{dataPath:a,missingProperty:i.params.missingProperty})};break;case _t.MinLength:t={...i,message:Ze(r.minLength,{dataPath:a,limit:i.params.limit.toString()})};break;case _t.MinItems:t={...i,message:Ze(r.minItems,{dataPath:a,limit:i.params.limit.toString()})};break;case _t.MaxItems:t={...i,message:Ze(r.maxItems,{dataPath:a,limit:i.params.limit.toString()})};break;case _t.Pattern:i.params.pattern==="\\w+"&&(t={...i,message:Ze(r.whiteSpacePattern,{dataPath:a}),params:{}});break;case _t.AdditionalProperties:t={...i,message:Ze(r.additionalProperty,{dataPath:a,additionalProperty:i.params.additionalProperty})};break;case _t.Enum:t={...i,message:Ze(r.enumValues,{dataPath:a,allowedValues:i.params.allowedValues.join(", ")})};break;case _t.AnyOf:{let o=[];i.schemaPath==="#/properties/legend/anyOf"&&(o=Kt.definitions.WebChart.properties.legend.anyOf.map(n=>jx(n.$ref))),t={...i,params:o,message:Ze(r.anyOfValues,{dataPath:a,schemaOptions:o.join(", ")})};break}}return t})}function Ni(e,r){return{...e,$ref:`#/definitions/${r}`}}async function _x(e){let r,i=await ft(),t=qe(e);try{await t.load()}catch{let a=t?.url??"",o=Re(t)?.portalItem?.id??"";r={keyword:qt.LayerLoadFailure,message:Ze(i.layerLoadFailure,{url:a,portalItemId:o}),params:{url:a,portalItemId:o}}}return r}function kx(){let e=new $x({allErrors:!0});return async r=>{let i=[],t=Me(r?.series),a=Kt;switch(t){case D.GaugeSeries:a=Ni(Kt,"WebGaugeChart");break;case D.BoxPlotSeries:a=Ni(Kt,"WebBoxPlot");break;case D.RadarSeries:a=Ni(Kt,"WebRadarChart");break;default:a=Ni(Kt,"WebChart");break}let o=e.compile(a);return o(r),o.errors!==null&&o.errors!==void 0&&(i=await Rx(o.errors)),i}}var Bx=kx();async function qx(e){let{seriesConfigs:r,queryObject:i,allowUsingObjectIdStat:t}=e,a=[],o=await Xa(i),n=await ft();for(let s=0;s<r.length;s+=1){let l=r[s].query?.outStatistics;if(l!==void 0)for(let u=0;u<l.length;u+=1){let d=l[u],c=Ya(d.onStatisticField,o);if(c&&!(c.type===Be.OID&&t||qd(c))&&d.statisticType!==Ie.Count){let p=`series[${s}].query.outStatistics[${u}]`;a.push({keyword:Vd.NonNumericAggregation,message:Ze(n.nonNumericAggregation,{dataPath:p}),dataPath:p,params:{fieldName:d.onStatisticField,fieldType:c.type,aggregationRequested:d.statisticType}})}}}return a}async function Mx(e){let r=[],i=await ft();if(e!==void 0&&e.series.length>1){let t=new Set,a=0;e.series.forEach((o,n)=>{if(t.add(o.id),t.size===a){let s=`series[${n}].id`;r.push({keyword:Vd.DuplicateSeriesID,message:Ze(i.duplicateSeriesID,{dataPath:s,seriesID:o.id,seriesName:o.name}),dataPath:s,params:{seriesId:o.id,seriesName:o.name}})}else a+=1})}return r}function Nx(e){let r=new Set,i=rw(e);if(i){let t=Me(e.series),a=Ct(e.series);t===D.GaugeSeries&&!lw(e)||a===V.PieFromFields||a===V.BarAndLineFromFields||a===V.BoxPlotMonoField||a===V.BoxPlotMultiFields||a===V.BoxPlotMonoFieldAndSplitBy||a===V.BoxPlotMultiFieldsAndSplitBy||r.add(i.x);let o=t===D.ScatterSeries||t===D.BoxPlotSeries||a===V.BarAndLineNoAggregation||a===V.BarAndLineSplitByNoAggregation||a===V.PieNoAggregation,n=[Va,ei,So,aa,wo,Xt.outStatistics.outStatisticFieldName??""],s=[];if(t===D.BoxPlotSeries?s=cw({showMean:e.showMean,seriesConfig:e.series}):s=e.series.map(l=>"y"in l?l.y:void 0).filter(l=>l!==void 0).flat(),o?s.forEach(l=>r.add(l)):n.push(...s),e.series.forEach(l=>{let{query:u}=l;u&&(Fr(u.where)||r.add(Ha(u.where)),u.groupByFieldsForStatistics&&u.groupByFieldsForStatistics.forEach(d=>r.add(d)),u.outStatistics&&u.outStatistics.forEach(d=>r.add(d.onStatisticField)))}),t===D.GaugeSeries&&e.axes?.[0]!==void 0){let l=e.axes?.[0];l&&"minimumFromField"in l&&typeof l.minimumFromField=="string"&&r.add(l.minimumFromField),l&&"maximumFromField"in l&&typeof l.maximumFromField=="string"&&r.add(l.maximumFromField)}n.forEach(l=>{r.delete(l)})}return Array.from(r.values()).filter(t=>!ut(t))}async function Wx(e,r){let i,t=await ft(),a=await Xa(r),o=Nx(e).filter(n=>!Ya(n,a));if(o.length>0){let n=o.join(", ");i={keyword:qt.LayerFieldsNotFound,message:Ze(t.layerFieldsNotFound,{fieldNames:n}),params:n}}return i}async function zx(e){let{input:r,queryObject:i,allowUsingObjectIdStat:t}=e,a=[];if(i!==void 0){let o=await qx({seriesConfigs:r.series,queryObject:i,allowUsingObjectIdStat:t});a=a.concat(o)}return a=a.concat(await Mx(r)),a}async function Vx(e,r){let i=[];if(e!==void 0){let t=await _x(e);if(t!==void 0)i=i.concat(t);else if(r!==void 0){let a=await Wx(r,e);a!==void 0&&(i=i.concat(a))}}return i}async function Yj(e){let{input:r,queryObject:i,allowUsingObjectIdStat:t}=e,a;if(tw(r?.version).versionStatus===Tt.Newer)a={valid:!0,schemaErrors:[],customErrors:[],warnings:[]};else{let o=await Bx(r),n=[],s=[];r!==void 0&&o.length===0&&(s=await Vx(i,r),s.length===0&&(n=await zx({input:r,queryObject:i,allowUsingObjectIdStat:t}))),a={valid:o.length===0&&n.length===0&&s.length===0,schemaErrors:o,customErrors:s,warnings:n}}return a}function eR(e){let r=Me(e?.series),i=!1;switch(r){case D.HistogramSeries:{i=(e?.series?.[0]?.x?.trim()?.length??0)===0;break}case D.ScatterSeries:{let t=e?.series;i=(t?.[0]?.x?.length??0)===0||(t?.[0]?.y?.length??0)===0;break}case D.PieSeries:{let t=e?.series;Ct(t)===V.PieFromFields?i=(t?.[0]?.query?.outStatistics?.length??0)===0:i=(t?.[0]?.x?.length??0)===0||t?.[0]?.x===ei;break}case D.BoxPlotSeries:{let t=e?.series;i=[t?.[0]?.y].flat().length===0||t?.[0]?.y==="";break}case D.ComboLineAndBarSeries:case D.RadarSeries:case D.BarSeries:case D.LineSeries:{let t=e?.series;Ct(t)===V.BarAndLineFromFields?i=(t?.[0]?.query?.outStatistics?.length??0)===0:i=(t?.[0]?.x?.trim()?.length??0)===0;break}}return i}var tR=[{unit:_e.Second,threshold:6e4,unitMs:1e3,preferredIntervalSize:[1,2,3,5,6,10,12,15,20,30,60]},{unit:_e.Minute,threshold:36e5,unitMs:1e3*60,preferredIntervalSize:[1,2,3,5,6,10,12,15,20,30,60]},{unit:_e.Hour,threshold:864e5,unitMs:1e3*60*60,preferredIntervalSize:[1,2,3,4,6,8,12,24]},{unit:_e.Day,threshold:6048e5,unitMs:1e3*60*60*24,preferredIntervalSize:[1,2,3,4,5,6,7]},{unit:_e.Week,threshold:24192e5,unitMs:1e3*60*60*24*7,preferredIntervalSize:[1,2,3,4]},{unit:_e.Month,threshold:290304e5,unitMs:1e3*60*60*24*7*4,preferredIntervalSize:[1,2,3,4,6,12]},{unit:_e.Year,threshold:Number.MAX_SAFE_INTEGER,unitMs:1e3*60*60*24*7*4*12,preferredIntervalSize:[1,2,4,5,10,25,50,100]}],rR="${ groupByFieldsForStatistics } WHEN ${ dateField }>='${ startDate }' AND ${ dateField }${ endDateOperand }'${ endDate }' THEN '${ y }|${ binIndex}'";return{a:It,b:Be,c:nr,d:ra,e:sr,f:Xr,g:ia,h:ke,i:Ux,j:Gx,k:Hx,l:Yr,m:ei,n:aa,o:So,p:wo,q:lt,r:se,s:we,t:ri,u:sa,v:Db,w:Bm,x:Vm,y:by,z:Cy,A:xs,B:Nb,C:ca,D:og,E:sg,F:Zg,G:Nr,H:lv,I:Cl,J:Tl,K:Al,L:Pl,M:Fl,N:q,O:Ze,P:fd,Q:b$,R:v$,S:S$,T:w$,U:ht,V:hd,W:te,X:x$,Y:I$,Z:Xt,_:Pv,$:C$,aa:at,ba:Ov,ca:T$,da:A$,ea:P$,fa:Va,ga:ct,ha:yd,ia:F$,ja:Ki,ka:pe,la:gd,ma:ie,na:Gr,oa:Dv,pa:O$,qa:qa,ra:E$,sa:L$,ta:Yt,ua:ki,va:D$,wa:$v,xa:jv,ya:Rv,za:$$,Aa:_v,Ba:Or,Ca:Bv,Da:Mv,Ea:j$,Fa:Nv,Ga:R$,Ha:_$,Ia:Wv,Ja:zv,Ka:k$,La:B$,Ma:zr,Na:q$,Oa:M$,Pa:N$,Qa:W$,Ra:z$,Sa:V$,Ta:U$,Ua:Vv,Va:Uv,Wa:Gv,Xa:G$,Ya:Hv,Za:H$,_a:Q$,$a:K$,ab:Qv,bb:J$,cb:Z$,db:Kv,eb:Jv,fb:X$,gb:Y$,hb:V,ib:ej,jb:tj,kb:rj,lb:ij,mb:zS,nb:GS,ob:Dd,pb:aj,qb:oj,rb:nj,sb:sj,tb:lj,ub:ut,vb:JS,wb:pj,xb:dj,yb:cj,zb:uj,Ab:fj,Bb:hj,Cb:mj,Db:yj,Eb:gj,Fb:bj,Gb:vj,Hb:ZS,Ib:XS,Jb:tw,Kb:rw,Lb:Sj,Mb:Ha,Nb:Hr,Ob:Fr,Pb:wj,Qb:Ct,Rb:xj,Sb:nw,Tb:ye,Ub:sw,Vb:lw,Wb:Ij,Xb:pw,Yb:Hi,Zb:Ia,_b:Qi,$b:cw,ac:uw,bc:Cj,cc:hw,dc:Tj,ec:Bt,fc:qt,gc:Aj,hc:Qa,ic:Pj,jc:Re,kc:jd,lc:Fj,mc:Oj,nc:qe,oc:Ej,pc:Vr,qc:Lj,rc:ww,sc:Dj,tc:$j,uc:jj,vc:Iw,wc:Rj,xc:_j,yc:Cw,zc:kj,Ac:Ur,Bc:Ja,Cc:Bj,Dc:$w,Ec:qj,Fc:Xa,Gc:Mj,Hc:qd,Ic:Nj,Jc:Wj,Kc:zj,Lc:Vj,Mc:Uj,Nc:Gj,Oc:Hj,Pc:Qj,Qc:_w,Rc:Kj,Sc:Jj,Tc:Zj,Uc:Vd,Vc:Xj,Wc:Yj,Xc:eR,Yc:tR,Zc:rR}},"geometry/support/jsonUtils","layers/support/fieldUtils","renderers/support/jsonUtils","layers/support/Field","request","rest/support/FeatureSet","layers/FeatureLayer","portal/Portal","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils")
56
+ {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PublishingInfo.html#updating Read more...}`}},required:["declaredClass","destroyed","initialized","status","updating"],title:"__esri.PublishingInfo"},"__esri.ScaleRangeLayer":{type:"object",properties:{maxScale:{type:"number"},minScale:{type:"number"}},required:["maxScale","minScale"],title:"__esri.ScaleRangeLayer"},"__esri.TemporalLayer":{type:"object",properties:{useViewTime:{type:"boolean"}},required:["useViewTime"],title:"__esri.TemporalLayer"},"__esri.TrackableLayer":{type:"object",title:"__esri.TrackableLayer"},"__esri.SubtypeSublayer":{type:"object",properties:{uid:{type:"string"},loadError:{anyOf:[{$ref:"#/definitions/__esri.Error"},{$ref:"#/definitions/nullish"}]},loadStatus:{type:"string",enum:["not-loaded","loading","failed","loaded"]},loadWarnings:{type:"array",items:{}},destroyed:{type:"boolean"},initialized:{type:"boolean"},declaredClass:{type:"string"}},required:["declaredClass","destroyed","initialized","loadError","loadStatus","loadWarnings","uid"],title:"__esri.SubtypeSublayer"},RGBObject:{type:"object",properties:{r:{type:"number"},g:{type:"number"},b:{type:"number"},a:{type:"number",default:1}},required:["r","g","b"],description:"JSON representation of the color object",title:"RGBObject"},IRendererSymbol:{type:"object",properties:{style:{type:"string"},color:{$ref:"#/definitions/Color"},outline:{$ref:"#/definitions/ISimpleLineSymbol"},label:{type:"string"},uniqueValue:{type:"string"},type:{$ref:"#/definitions/SymbolType"}},required:["color","type"],title:"IRendererSymbol"},WebChartDataItemColor:{anyOf:[{$ref:"#/definitions/Color"},{$ref:"#/definitions/RGBArray"},{$ref:"#/definitions/RGBObject"},{type:"string"}],title:"WebChartDataItemColor"},RGBArray:{type:"array",items:{type:"number"},minItems:3,maxItems:3,title:"RGBArray"},WebChartDataItemValue:{anyOf:[{type:"string",format:"date-time"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IRendererSymbol"},{type:"array",items:{type:"number"}},{type:"array",items:{type:"string"}},{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},{$ref:"#/definitions/WebChartDataItemColor"},{type:"boolean"},{type:"number"},{type:"string"},{type:"null"},{not:{}}],title:"WebChartDataItemValue"},WebChartDataItem:{$ref:"#/definitions/Record%3Cstring%2CWebChartDataItemValue%3E",description:"JSON representation of a typical data item",title:"WebChartDataItem"},"Record<string,WebChartDataItemValue>":{type:"object",additionalProperties:{$ref:"#/definitions/WebChartDataItemValue"},title:"Record<string,WebChartDataItemValue>"},WebChartBoxPlotDataItem:{type:"object",properties:{dataItems:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},outliers:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},meanLines:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}}},required:["dataItems"],description:"JSON representation of the processed data for a Box Plot",title:"WebChartBoxPlotDataItem"},ScatterplotTrendLineData:{type:"object",properties:{r2:{type:"number"},trendLinePoints:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"},minItems:2,maxItems:2}},description:"JSON representation of the processed data for a Scatter plot trend line",title:"ScatterplotTrendLineData"},WebChartScatterplotDataItem:{type:"object",properties:{r2:{type:"number"},trendLinePoints:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"},minItems:2,maxItems:2},dataItems:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}}},required:["dataItems"],description:"JSON representation of the processed data for a Scatter plot",title:"WebChartScatterplotDataItem"},WebChartGenericDataItem:{type:"object",properties:{dataItems:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},timeIntervalInfo:{$ref:"#/definitions/TimeIntervalInfo",description:"Time interval information, only for line charts"}},required:["dataItems"],description:"JSON representation of the generic data structure for bar, line bar-line, gauge and pie chart",title:"WebChartGenericDataItem"},WebChartBin:{type:"object",properties:{count:{type:"number"},minValue:{type:"number",description:"Min value in the bin"},maxValue:{type:"number",description:"Max value in the bin"},symbol:{$ref:"#/definitions/WebChartDataItem"}},required:["count","minValue","maxValue"],description:"JSON representation of a Histogram bin",title:"WebChartBin"},WebChartHistogramDataItem:{type:"object",properties:{mean:{type:"number"},median:{type:"number"},stddev:{type:"number"},max:{type:"number"},min:{type:"number"},sum:{type:"number",description:"Sum of the values of all the points"},count:{type:"number",description:"Number of all the points/features in un-binned data (including only non-null entries)"},nulls:{type:"number",description:"Number of null entries in the pool of points"},bins:{type:"array",items:{$ref:"#/definitions/WebChartBin"}}},required:["mean","median","stddev","max","min","bins"],description:"JSON representation of the processed data for a Histogram",title:"WebChartHistogramDataItem"},WebChartDataTypes:{anyOf:[{$ref:"#/definitions/WebChartBoxPlotDataItem"},{$ref:"#/definitions/WebChartGenericDataItem"},{$ref:"#/definitions/WebChartHistogramDataItem"},{$ref:"#/definitions/WebChartScatterplotDataItem"}],title:"WebChartDataTypes"},WebChartTypes:{type:"string",enum:["chart","chartText","chartOverlay","chartOverlays","chartLegend","cursorCrosshair","chartAxis","gaugeAxisTick","gaugeNeedle","category","number","date","chartGuide","scatterSeries","pieSeries","pieTick","gaugeSeries","lineSeries","barSeries","histogramSeries","boxPlotSeries","radarSeries","comboLineAndBarSeries","buffer","sizeScale"],title:"WebChartTypes"},WebChartStatisticType:{type:"string",enum:["count","sum","min","max","avg","stddev","var","percentile-continuous","percentile-discrete","envelope-aggregate","centroid-aggregate","convex-hull-aggregate","no_aggregation"],title:"WebChartStatisticType"},WebChartColoringPatterns:{type:"string",enum:["singleColor","colorMatch"],title:"WebChartColoringPatterns"},WebChartBoxPlotMultipleSeriesKinds:{type:"string",enum:["sideBySide","meanLines"],title:"WebChartBoxPlotMultipleSeriesKinds"},WebChartLineSmoothedKinds:{type:"string",enum:["bezier","monotoneX","monotoneY"],description:"Represents the different types of smoothing that can be applied to a line chart when the `lineSmoothed` property is set to `true`.",title:"WebChartLineSmoothedKinds"},WebChartTemporalBinningTypes:{type:"string",enum:["fixedDateBased","calendarBased"],description:"Represents the different types of temporal binning that can be applied to a chart.",title:"WebChartTemporalBinningTypes"},WebChartVersionStatus:{type:"string",enum:["same","newer","older","unrecognized"],title:"WebChartVersionStatus"},WebChartAxisTypes:{type:"string",enum:["value","date","category"],description:"Represents the different types of axes that can be used in a chart.",title:"WebChartAxisTypes"},RESTFieldType:{type:"string",enum:["esriFieldTypeBlob","esriFieldTypeDate","esriFieldTypeDateOnly","esriFieldTypeTimestampOffset","esriFieldTypeDouble","esriFieldTypeGeometry","esriFieldTypeGlobalID","esriFieldTypeGUID","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeBigInteger","esriFieldTypeOID","esriFieldTypeRaster","esriFieldTypeSingle","esriFieldTypeString","esriFieldTypeXML"],title:"RESTFieldType"},RESTSimpleLineSymbolStyle:{type:"string",enum:["esriSLSDash","esriSLSDashDot","esriSLSDashDotDot","esriSLSDot","esriSLSNull","esriSLSSolid"],title:"RESTSimpleLineSymbolStyle"},RESTSimpleMarkerSymbolStyle:{type:"string",enum:["esriSMSCircle","esriSMSCross","esriSMSDiamond","esriSMSSquare","esriSMSX","esriSMSTriangle"],title:"RESTSimpleMarkerSymbolStyle"},RESTSimpleFillSymbolStyle:{type:"string",enum:["esriSFSBackwardDiagonal","esriSFSCross","esriSFSDiagonalCross","esriSFSForwardDiagonal","esriSFSHorizontal","esriSFSNull","esriSFSSolid","esriSFSVertical"],title:"RESTSimpleFillSymbolStyle"},RESTHorizontalAlignment:{type:"string",enum:["left","right","center","justify"],title:"RESTHorizontalAlignment"},RESTVerticalAlignment:{type:"string",enum:["baseline","top","middle","bottom"],title:"RESTVerticalAlignment"},RESTSymbolType:{type:"string",enum:["esriSLS","esriSMS","esriSFS","esriPMS","esriPFS","esriTS"],title:"RESTSymbolType"},RESTFontStyle:{type:"string",enum:["italic","normal","oblique"],title:"RESTFontStyle"},RESTFontWeight:{type:"string",enum:["bold","bolder","lighter","normal"],title:"RESTFontWeight"},RESTFontDecoration:{type:"string",enum:["line-through","underline","none"],title:"RESTFontDecoration"},RESTRendererType:{type:"string",enum:["unique-value","simple","class-breaks","heatmap","dot-density","dictionary","pie-chart"],title:"RESTRendererType"},OverlayTerms:{type:"string",enum:["Mean","Median","Standard Deviation","Normal Distribution","Trendline"],title:"OverlayTerms"},CalculatedMinMaxBoundsPayload:{type:"object",properties:{isXAxis:{type:"boolean"},isSecondValueAxis:{type:"boolean"},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."}},required:["isXAxis"],description:"+ Represents a subset of the event payload carrying the chart's axes bounds. See event `arcgisChartsAxesMinMaxChange`.",title:"CalculatedMinMaxBoundsPayload"},ChartDeletePayload:{type:"object",properties:{chartId:{type:"string"}},required:["chartId"],description:"Represents the payload of the event sent when a chart is removed from the chart list (component arcgis-charts-config-view-charts).",title:"ChartDeletePayload"},LegendItemVisibility:{type:"object",properties:{visible:{type:"boolean"},seriesId:{type:"string"},overlayType:{$ref:"#/definitions/OverlayTerms"},sliceId:{type:"string"},sliceData:{$ref:"#/definitions/WebChartDataItem"}},required:["visible"],description:"Represents the payload of the event sent when an item is toggled in the chart's legend (slice or series).",title:"LegendItemVisibility"},IFeatureSet:{type:"object",properties:{hasZ:{type:"boolean"},hasM:{type:"boolean"},objectIdFieldName:{type:"string"},globalIdFieldName:{type:"string"},displayFieldName:{type:"string"},geometryType:{$ref:"#/definitions/GeometryType"},spatialReference:{$ref:"#/definitions/ISpatialReference"},fields:{type:"array",items:{$ref:"#/definitions/IField"}},features:{type:"array",items:{$ref:"#/definitions/IFeature"}},fieldAliases:{$ref:"#/definitions/Record%3Cstring%2Cstring%3E"}},required:["features"],description:'`IFeatureSet` can also be imported from the following packages:\n\n```js import { IFeatureSet } from "@esri/arcgis-rest-feature-layer"; ```',title:"IFeatureSet"},"Record<string,string>":{type:"object",additionalProperties:{type:"string"},title:"Record<string,string>"},ILocation:{type:"object",properties:{latitude:{type:"number"},longitude:{type:"number"},lat:{type:"number"},long:{type:"number"},z:{type:"number"}},description:'`ILocation` can also be imported from the following packages:\n\n```js import { ILocation } from "@esri/arcgis-rest-routing"; import { ILocation } from "@esri/arcgis-rest-geocoding"; ```',title:"ILocation"},IPolylineWithCurves:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},curvePaths:{type:"array",items:{type:"array",items:{anyOf:[{$ref:"#/definitions/JsonCurve"},{$ref:"#/definitions/Position"}]}}}},required:["curvePaths"],title:"IPolylineWithCurves"},ElipticArc:{$ref:"#/definitions/IArc",title:"ElipticArc"},SpatialRelationship:{type:"string",enum:["esriSpatialRelContains","esriSpatialRelCrosses","esriSpatialRelEnvelopeIntersects","esriSpatialRelIndexIntersects","esriSpatialRelIntersects","esriSpatialRelOverlaps","esriSpatialRelTouches","esriSpatialRelWithin"],description:'The spatial relationship used to compare input geometries\n\n`SpatialRelationship` can also be imported from the following packages:\n\n```js import { SpatialRelationship } from "@esri/arcgis-rest-feature-layer"; ```',title:"SpatialRelationship"},IMultipoint:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},points:{type:"array",items:{$ref:"#/definitions/Position"}}},required:["points"],description:"A multipoint contains an array of points.",title:"IMultipoint"},Units:{type:"string",enum:["esriSRUnit_Foot","esriSRUnit_Kilometer","esriSRUnit_Meter","esriSRUnit_NauticalMile","esriSRUnit_StatuteMile","esriSRUnit_USNauticalMile"],description:'`Units` can also be imported from the following packages:\n\n```js import { Units } from "@esri/arcgis-rest-feature-layer"; ```',title:"Units"},GroupMembership:{type:"string",enum:["admin","member","none","owner"],description:'`GroupMembership` can also be imported from the following packages:\n\n```js import { GroupMembership } from "@esri/arcgis-rest-portal"; ```',title:"GroupMembership"},IGroupAdd:{type:"object",properties:{title:{type:"string"},access:{type:"string",enum:["org","private","public"]},owner:{type:"string"},tags:{type:"array",items:{type:"string"}},description:{type:"string"},phone:{type:"string"},sortField:{type:"string",enum:["avgrating","created","modified","numviews","owner","title"]},sortOrder:{type:"string",enum:["asc","desc"]},isViewOnly:{type:"boolean"},isInvitationOnly:{type:"boolean"},thumbnail:{type:"string"},autoJoin:{type:"boolean"},snippet:{type:"string"}},required:["title","access"],description:'A [Group](https://developers.arcgis.com/rest/users-groups-and-items/common-parameters.htm) that has not been created yet.\n\n`IGroupAdd` can also be imported from the following packages:\n\n```js import { IGroupAdd } from "@esri/arcgis-rest-portal"; ```',title:"IGroupAdd"},IGroup:{type:"object",properties:{title:{type:"string"},access:{type:"string",enum:["org","private","public"]},owner:{type:"string"},tags:{type:"array",items:{type:"string"}},description:{type:"string"},phone:{type:"string"},sortField:{type:"string",enum:["avgrating","created","modified","numviews","owner","title"]},sortOrder:{type:"string",enum:["asc","desc"]},isViewOnly:{type:"boolean"},isInvitationOnly:{type:"boolean"},thumbnail:{type:"string"},autoJoin:{type:"boolean"},snippet:{type:"string"},id:{type:"string"},created:{type:"number"},modified:{type:"number"},protected:{type:"boolean"},isOpenData:{type:"boolean"},isFav:{type:"boolean"},userMembership:{type:"object",properties:{username:{type:"string"},memberType:{$ref:"#/definitions/GroupMembership"},applications:{type:"number"}}},hasCategorySchema:{type:"boolean"}},required:["access","autoJoin","created","id","isFav","isInvitationOnly","isViewOnly","modified","owner","protected","tags","title"],description:'Existing Portal [Group](https://developers.arcgis.com/rest/users-groups-and-items/group.htm).\n\n`IGroup` can also be imported from the following packages:\n\n```js import { IGroup } from "@esri/arcgis-rest-portal"; ```',title:"IGroup"},IItemAdd:{type:"object",properties:{title:{type:"string"},type:{type:"string"},owner:{type:"string"},typeKeywords:{type:"array",items:{type:"string"}},description:{type:"string"},snippet:{type:"string"},documentation:{type:"string"},extent:{type:"array",items:{type:"array",items:{type:"number"}}},categories:{type:"array",items:{type:"string"}},spatialReference:{$ref:"#/definitions/ISpatialReference"},culture:{type:"string"},properties:{},url:{type:"string"},tags:{type:"array",items:{type:"string"}}},required:["title","type"],description:'A Portal [Item](https://developers.arcgis.com/rest/users-groups-and-items/common-parameters.htm) that has not been created yet.\n\n`IItemAdd` can also be imported from the following packages:\n\n```js import { IItemAdd } from "@esri/arcgis-rest-portal"; ```',title:"IItemAdd"},IItemUpdate:{type:"object",properties:{id:{type:"string"}},required:["id"],description:'A Portal [Item](https://developers.arcgis.com/rest/users-groups-and-items/common-parameters.htm) to be updated.\n\n`IItemUpdate` can also be imported from the following packages:\n\n```js import { IItemUpdate } from "@esri/arcgis-rest-portal"; ```',title:"IItemUpdate"},IItem:{type:"object",properties:{title:{type:"string"},type:{type:"string"},owner:{type:"string"},typeKeywords:{type:"array",items:{type:"string"}},description:{type:"string"},snippet:{type:"string"},documentation:{type:"string"},extent:{type:"array",items:{type:"array",items:{type:"number"}}},categories:{type:"array",items:{type:"string"}},spatialReference:{$ref:"#/definitions/ISpatialReference"},culture:{type:"string"},properties:{},url:{type:"string"},tags:{type:"array",items:{type:"string"}},id:{type:"string"},created:{type:"number"},modified:{type:"number"},numViews:{type:"number"},size:{type:"number"},protected:{type:"boolean"}},required:["created","id","modified","numViews","owner","size","tags","title","type"],description:'Existing Portal [Item](https://developers.arcgis.com/rest/users-groups-and-items/item.htm).\n\n`IItem` can also be imported from the following packages:\n\n```js import { IItem } from "@esri/arcgis-rest-portal"; ```',title:"IItem"},IFolder:{type:"object",properties:{username:{type:"string"},id:{type:"string"},title:{type:"string"},created:{type:"number"}},required:["username","id","title"],description:'Used for organizing content. See [Create Folder](https://developers.arcgis.com/rest/users-groups-and-items/create-folder.htm) for more details.\n\n`IFolder` can also be imported from the following packages:\n\n```js import { IFolder } from "@esri/arcgis-rest-portal"; ```',title:"IFolder"},IFeatureServiceDefinition:{type:"object",properties:{currentVersion:{type:"number"},serviceDescription:{type:"string"},hasVersionedData:{type:"boolean"},supportsDisconnectedEditing:{type:"boolean"},supportsReturnDeleteResults:{type:"boolean"},hasStaticData:{type:"boolean",description:"Boolean value indicating whether data changes. True if it does not."},maxRecordCount:{type:"number",description:"Numeric value indicating tbe maximum number of records that will be returned at once for a query."},supportedQueryFormats:{type:"string",description:"String value indicating the output formats that are supported in a query."},supportsRelationshipsResource:{type:"boolean"},capabilities:{type:"string",description:"A comma separated list of supported capabilities, e.g. Query,Editing."},description:{type:"string",description:"String value of the layer as defined in the map service."},copyrightText:{type:"string",description:"String value for the copyright text information for the layer."},advancedEditingCapabilities:{$ref:"#/definitions/Record%3Cstring%2Cboolean%3E"},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"An object containing the WKID or WKT identifying the spatial reference of the layer's geometry."},initialExtent:{$ref:"#/definitions/IExtent"},fullExtent:{$ref:"#/definitions/IExtent"},allowGeometryUpdates:{type:"boolean",description:"Boolean value indicating whether the geometry of the features in the layer can be edited."},units:{type:"string"},syncEnabled:{type:"boolean"},returnServiceEditsHaveSR:{type:"boolean"},validationSystemLayers:{type:"object",properties:{validationPointErrorlayerId:{type:"number"},validationLineErrorlayerId:{type:"number"},validationPolygonErrorlayerId:{type:"number"},validationObjectErrortableId:{type:"number"}},required:["validationPointErrorlayerId","validationLineErrorlayerId","validationPolygonErrorlayerId","validationObjectErrortableId"]},extractChangesCapabilities:{type:"object",properties:{supportsReturnIdsOnly:{type:"boolean"},supportsReturnExtentOnly:{type:"boolean"},supportsReturnAttachments:{type:"boolean"},supportsLayerQueries:{type:"boolean"},supportsSpatialFilter:{type:"boolean"},supportsReturnFeature:{type:"boolean"}},required:["supportsReturnIdsOnly","supportsReturnExtentOnly","supportsReturnAttachments","supportsLayerQueries","supportsSpatialFilter","supportsReturnFeature"]},syncCapabilities:{type:"object",properties:{supportsASync:{type:"boolean"},supportsRegisteringExistingData:{type:"boolean"},supportsSyncDirectionControl:{type:"boolean"},supportsPerLayerSync:{type:"boolean"},supportsPerReplicaSync:{type:"boolean"},supportsRollbackOnFailure:{type:"boolean"},supportedSyncDataOptions:{type:"number"}},required:["supportsASync","supportsRegisteringExistingData","supportsSyncDirectionControl","supportsPerLayerSync","supportsPerReplicaSync","supportsRollbackOnFailure","supportedSyncDataOptions"]},editorTrackingInfo:{type:"object",properties:{enableEditorTracking:{type:"boolean"},enableOwnershipAccessControl:{type:"boolean"},allowOthersToUpdate:{type:"boolean"},allowOthersToDelete:{type:"boolean"}},required:["enableEditorTracking","enableOwnershipAccessControl","allowOthersToUpdate","allowOthersToDelete"]},documentInfo:{$ref:"#/definitions/Record%3Cstring%2Cstring%3E"},layers:{type:"array",items:{$ref:"#/definitions/ILayerDefinition"}},tables:{type:"array",items:{$ref:"#/definitions/ITable"}},relationships:{type:"array",items:{type:"object",properties:{id:{type:"number"},name:{type:"string"},backwardPathLabel:{type:"string"},originLayerId:{type:"number"},originPrimaryKey:{type:"string"},forwardPathLabel:{type:"string"},destinationLayerId:{type:"number"},originForeignKey:{type:"string"},relationshipTableId:{type:"number"},destinationPrimaryKey:{type:"string"},destinationForeignKey:{type:"string"},rules:{type:"array",items:{type:"object",properties:{ruleID:{type:"number"},originSubtypeCode:{type:"number"},originMinimumCardinality:{type:"number"},originMaximumCardinality:{type:"number"},destinationSubtypeCode:{type:"number"},destinationMinimumCardinality:{type:"number"},destinationMaximumCardinality:{type:"number"}},required:["ruleID","originSubtypeCode","originMinimumCardinality","originMaximumCardinality","destinationSubtypeCode","destinationMinimumCardinality","destinationMaximumCardinality"]},minItems:1,maxItems:1},cardinality:{type:"string",enum:["esriRelCardinalityManyToMany","esriRelCardinalityOneToMany","esriRelCardinalityOneToOne"]},attributed:{type:"boolean"},composite:{type:"boolean"}},required:["id","name","backwardPathLabel","originLayerId","originPrimaryKey","forwardPathLabel","destinationLayerId","originForeignKey","relationshipTableId","destinationPrimaryKey","destinationForeignKey","rules","cardinality","attributed","composite"]},minItems:1,maxItems:1},enableZDefaults:{type:"boolean"},isLocationTrackingService:{type:"boolean"},isLocationTrackingView:{type:"boolean"},zDefault:{type:"number"}},required:["serviceDescription","hasVersionedData","supportsDisconnectedEditing","supportsReturnDeleteResults","maxRecordCount","supportedQueryFormats","supportsRelationshipsResource","capabilities","description","copyrightText","advancedEditingCapabilities","spatialReference","initialExtent","fullExtent","allowGeometryUpdates","units","syncEnabled","validationSystemLayers","extractChangesCapabilities","syncCapabilities","editorTrackingInfo","layers","tables","relationships","isLocationTrackingService","isLocationTrackingView"],description:'`IFeatureServiceDefinition` can also be imported from the following packages:\n\n```js import { IFeatureServiceDefinition } from "@esri/arcgis-rest-service-admin"; import { IFeatureServiceDefinition } from "@esri/arcgis-rest-feature-layer"; ```',title:"IFeatureServiceDefinition"},"Record<string,boolean>":{type:"object",additionalProperties:{type:"boolean"},title:"Record<string,boolean>"},ITable:{type:"object",properties:{name:{type:"string",description:"Table name"},capabilities:{type:"string",description:"A comma-separated string listing which editing operations are allowed on an editable feature service. Available operations include: 'Create', 'Delete', 'Query', 'Update', and 'Editing'."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"Object indicating the definitionEditor used as a layer's interactive filter."},id:{type:"number",description:"Unique identifier for the table."},itemId:{type:"string",description:"Unique string value indicating an item registered in ArcGIS Online or your organization's portal."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining a definition expression for the table."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"An object defining the content of popup windows when you query a record and the sort option for child related records."},title:{type:"string",description:"String value for the title of the table."},url:{type:"string",description:"String value indicating the URL reference of the hosted table."}},description:'Root element in the web map specifying an array of table objects.\n\n`ITable` can also be imported from the following packages:\n\n```js import { ITable } from "@esri-arcgis-rest-service-admin" ```',title:"ITable"},IServiceInfo:{type:"object",properties:{adminServiceInfo:{type:"object",properties:{name:{type:"string"},type:{type:"string"},status:{type:"string"},database:{type:"object",properties:{datasource:{type:"object",properties:{name:{type:"string"}},required:["name"]}},required:["datasource"]}},required:["name","type","status","database"]},layers:{type:"array",items:{$ref:"#/definitions/Record%3Cstring%2Cunknown%3E"}}},required:["adminServiceInfo","layers"],description:"Very generic structure representing the return value from the /arcgis/rest/admin/services/<service-name>/FeatureServer?f=json response",title:"IServiceInfo"},"Record<string,unknown>":{type:"object",additionalProperties:{},title:"Record<string,unknown>"},IViewServiceSource:{type:"object",properties:{name:{type:"string"},type:{type:"string"},url:{type:"string"},serviceItemId:{type:"string"}},required:["name","type","url","serviceItemId"],description:"Individual View Source entry",title:"IViewServiceSource"},IViewServiceSources:{type:"object",properties:{currentVersion:{type:"number"},services:{type:"array",items:{$ref:"#/definitions/IViewServiceSource"}}},required:["currentVersion","services"],description:"Response from the /sources end-point of a view service",title:"IViewServiceSources"},IServiceNameAvailable:{type:"object",properties:{available:{type:"boolean"}},required:["available"],description:"Response from the portals/Self/isServiceNameAvailable request",title:"IServiceNameAvailable"},IPictureSourced:{type:"object",properties:{url:{type:"string"},imageData:{type:"string"},contentType:{type:"string"},width:{type:"number"},height:{type:"number"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"}},title:"IPictureSourced"},IPictureFillSymbol:{type:"object",properties:{url:{type:"string"},imageData:{type:"string"},contentType:{type:"string"},width:{type:"number"},height:{type:"number"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},type:{type:"string",const:"esriPFS"},style:{type:"string"},outline:{$ref:"#/definitions/ISimpleLineSymbol"},xscale:{type:"number"},yscale:{type:"number"}},required:["type"],title:"IPictureFillSymbol"},IPictureMarkerSymbol:{type:"object",properties:{url:{type:"string"},imageData:{type:"string"},contentType:{type:"string"},width:{type:"number"},height:{type:"number"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},type:{type:"string",const:"esriPMS"},style:{type:"string"}},required:["type"],title:"IPictureMarkerSymbol"},ITextSymbol:{type:"object",properties:{type:{type:"string",const:"esriTS"},style:{type:"string"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string"}},required:["type"],title:"ITextSymbol"},IUser:{type:"object",properties:{username:{type:"string"},fullName:{type:"string"},availableCredits:{type:"number"},assignedCredits:{type:"number"},firstName:{type:"string"},lastName:{type:"string"},preferredView:{},description:{type:"string"},email:{type:"string"},idpUsername:{type:"string"},favGroupId:{type:"string"},lastLogin:{type:"number"},mfaEnabled:{type:"boolean"},access:{type:"string"},storageUsage:{type:"number"},storageQuota:{type:"number"},orgId:{type:"string"},cOrgId:{type:"string"},role:{type:"string",enum:["org_admin","org_publisher","org_user"]},privileges:{type:"array",items:{type:"string"}},roleId:{type:"string"},level:{type:"string"},disabled:{type:"boolean"},units:{type:"string"},tags:{type:"array",items:{type:"string"}},culture:{type:"string"},region:{type:"string"},thumbnail:{type:"string"},created:{type:"number"},modified:{type:"number"},groups:{type:"array",items:{$ref:"#/definitions/IGroup"}},provider:{type:"string",enum:["arcgis","enterprise","facebook","google"]}},description:'An ArcGIS Online or Enterprise user\n\n`IUser` can also be imported from the following packages:\n\n```js import { IUser } from "@esri/arcgis-rest-auth"; import { IUser } from "@esri/arcgis-rest-portal"; ```',title:"IUser"},IPagingParams:{type:"object",properties:{start:{type:"number"},num:{type:"number"}},description:'Params for paging operations\n\n`IPagingParams` can also be imported from the following packages:\n\n```js import { IPagingParams } from "@esri/arcgis-rest-portal"; ```',title:"IPagingParams"},IPagedResponse:{type:"object",properties:{start:{type:"number"},num:{type:"number"},total:{type:"number",description:"total number of object across all pages"},nextStart:{type:"number",description:"next entry index or -1 for the last page"}},required:["total","nextStart"],description:'Paging properties for paged responses.\n\n`IPagedResponse` can also be imported from the following packages:\n\n```js import { IPagedResponse } from "@esri/arcgis-rest-portal"; ```',title:"IPagedResponse"},IWebMapBackground:{type:"object",properties:{color:{$ref:"#/definitions/Color",description:"To define the color of the background of the map (which is shown when no data is shown)."}},required:["color"],description:"Defines the appearance for the background of the map.",examples:[{background:{color:[255,255,255,255]}}],title:"IWebMapBackground"},IBookmark:{type:"object",properties:{extent:{$ref:"#/definitions/IExtent",description:"An extent object containing a spatial reference, a lower left coordinate, and an upper right coordinate defining the rectangular area of the bookmark. The spatial reference must be the same as the map spatial reference. Documentation for the envelope is in the Geometry Objects topic of the ArcGIS REST API help."},name:{type:"string",description:"A string name for the bookmark."}},required:["extent","name"],description:"Predefined bookmarks for use by the application. A bookmark is a saved map extent that allows end users to quickly navigate to a particular area of interest.",title:"IBookmark"},IMapRangeInfo:{type:"object",properties:{activeRangeName:{type:"string",description:"Active range ID that slider/picker acts upon."},currentRangeExtent:{type:"array",items:{type:"number"},description:"Current range for the active range."},fullRangeExtent:{type:"array",items:{type:"number"},description:"Full range extent for the active range to be presented in the UI."}},description:"Map range information",examples:[{mapRangeInfo:{activeRangeName:"floors",currentRangeExtent:[-2,10],fullRangeExtent:[-2,100]}}],title:"IMapRangeInfo"},IMapLocation:{type:"object",properties:{centerPoint:{$ref:"#/definitions/IPoint",description:"The center of the map specified using X/Y coordinates."},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"Well-known ID (WKID) or well-known text (WKT)."}},required:["centerPoint","spatialReference"],description:"Contains location information within a presentation slide.",title:"IMapLocation"},IVisibleLayer:{type:"object",properties:{featureVisibility:{type:"array",items:{type:"array",items:{}},description:"An array of arrays."},id:{type:"number",description:"The id of the layer as listed on the operational layer."},subLayerIds:{type:"array",items:{type:"number"},description:"An array of integers."}},description:"An array of numbers indicating layer visibility.",examples:[{visibleLayer:{featureVisibility:[[1],[],[],[0]],id:"73128eb3-05ee-46a7-8c22-0c385a0b1827"}}],title:"IVisibleLayer"},IVisiblePopup:{type:"object",properties:{anchorPoint:{$ref:"#/definitions/IPoint",description:"Object with spatialReference, x, and y."},featureId:{type:"number",description:"An integer specifying the feature's id."},layerId:{type:"string",description:"A string specifying the layer id."},subLayerId:{type:"number",description:"An integer specifying the sublayer id."}},description:"A presentation slide's visiblePopup which contains anchorPoint, featureId, layerId, and subLayerId.",title:"IVisiblePopup"},ISlide:{type:"object",properties:{baseMap:{$ref:"#/definitions/IBaseMap",description:"Basemaps give the web map a geographic context."},extent:{$ref:"#/definitions/IExtent",description:"The standard Esri extent object with spatialReference, xmax, xmin, ymax and ymin."},hidden:{type:"boolean",description:"Indicates whether the slide should be hidden within the presentation."},mapLocation:{$ref:"#/definitions/IMapLocation",description:"An object with a centerPoint object and sometimes a resolution."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"An array of two numbers. The first one indicates start time and the second one indicates end time."},title:{type:"string",description:"Title including text and formatting for each slide."},visibleLayers:{$ref:"#/definitions/IVisibleLayer",description:"An array of objects used to indicate layer visibility."},visiblePopup:{$ref:"#/definitions/IVisiblePopup",description:"A presentation slide's visiblePopup which contains anchorPoint, featureId, layerId, and subLayerId."}},title:"ISlide"},IBaseMap:{type:"object",properties:{baseMapLayers:{type:"array",items:{$ref:"#/definitions/ILayer"},description:"An array of baseMapLayer objects defining the basemaps used in the web map."},title:{type:"string",description:"Required string title for the basemap that can be used in a table of contents. It takes the title of the first baseMapLayer in the array."}},required:["baseMapLayers","title"],description:"A basemap layer is a layer that provides geographic context to the map. A web map always contains a basemap. The basemap has a title and is the combination of each baseMapLayer. It is required that a baseMap be saved within the web map.",title:"IBaseMap"},IPresentation:{type:"object",properties:{displayTimeSlider:{type:"boolean",description:"Indicates whether to display the time slider (if accessible)."},showLegend:{type:"boolean",description:"Indicates whether to display a legend on all slides."},slideAdvancementInterval:{type:"number",description:"Number of seconds to show slide before proceeding to the next slide."},slides:{type:"array",items:{$ref:"#/definitions/ISlide"},description:"Array of slide objects."},useTimeExtentOfSlide:{type:"boolean",description:"Indicates whether to use the time extent (if applicable) of a slide."}},title:"IPresentation"},IWebmap:{type:"object",properties:{applicationProperties:{$ref:"#/definitions/IApplicationProperties",description:"Viewing and editing properties of the webmap"},authoringApp:{type:"string",description:"String value indicating the application which authored the webmap"},authoringAppVersion:{type:"string",description:"String value indicating the authoring App's version number"},background:{$ref:"#/definitions/IWebMapBackground",description:"Defines the appearance for the background of the map."},baseMap:{$ref:"#/definitions/IBaseMap",description:"[Required] Basemaps give the web map a geographic context"},bookmarks:{type:"array",items:{$ref:"#/definitions/IBookmark"},description:"A bookmark is a saved geographic extent that allows end users to quickly navigate to a particular area of interest"},mapRangeInfo:{$ref:"#/definitions/IMapRangeInfo",description:"Map Range Information"},operationalLayers:{type:"array",items:{$ref:"#/definitions/ILayer"},description:"Operational layers contain business data which are used to make thematic maps"},presentation:{description:"A presentation consists of multiple slides. Each slide has a different title, extent, basemap, layers etc"},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"[Required] An object used to specify the spatial reference of the given geometry."},tables:{type:"array",items:{$ref:"#/definitions/ITable"},description:"Root element in the web map specifying an array of table objects. (optional)"},version:{type:"string",description:"[Required] Root element in the web map specifying a string value indicating the web map version."},widgets:{description:"The widgets object contains widgets that should be exposed to the user"}},required:["baseMap","spatialReference","version"],description:"The web map data lists the basemap, operational layers, and bookmarks to be used in the web map. It also contains information about popup windows and layer styling overrides to be used in the web map. A version property allows you to supply the version of the web map JSON format being used.",title:"IWebmap"},IApplicationProperties:{type:"object",properties:{editing:{anyOf:[{$ref:"#/definitions/IEditingProperties"},{type:"null"}],description:"If locationTracking is set and enabled, the Collector application will update the feature service at the defined interval with the current location of the user logged into the Collector app."},offline:{anyOf:[{$ref:"#/definitions/IOfflineInfo"},{type:"null"}],description:"Use if working with offline maps."},viewing:{anyOf:[{$ref:"#/definitions/IViewingInfo"},{type:"null"}],description:"An object containing all the viewing properties of the web map. If this is null or not defined, the client should assume a logical default."}},description:"The applicationProperties object is one of the objects at the top level of the JSON web map JSON schema. This is responsible for containing the viewing and editing properties of the web map. There are specific objects within this object that are applicable only to Collector and are explained within the property descriptions.",title:"IApplicationProperties"},IEditingProperties:{type:"object",properties:{locationTracking:{$ref:"#/definitions/ILocationTracking",description:"If locationTracking is set and enabled, the collector app will update the feature service at the defined interval with the current location of the user logged into the collector application."}},required:["locationTracking"],description:"An object containing all the editing properties within the web map.",title:"IEditingProperties"},ILocationTracking:{type:"object",properties:{enabled:{type:"boolean",description:"A boolean value indicating whether or not location tracking is enabled on the webmap."},info:{$ref:"#/definitions/ILocationTrackingInfo",description:"An object of additional information specifying layer and update interval time."}},required:["enabled","info"],description:"If locationTracking is set and enabled, the collector app will update the feature service at the defined interval with the current location of the user logged into the collector application.",title:"ILocationTracking"},ILocationTrackingInfo:{type:"object",properties:{layerId:{description:"A string value indicating the given layer id specified in the web map."},updateInterval:{description:"A numeric value indicating the time interval used to update the feature service. Default value is 300 seconds."}},required:["layerId"],description:"An object containing additional information specifying layer and update interval time used in the locationTracking object.",title:"ILocationTrackingInfo"},IOfflineInfo:{type:"object",properties:{editableLayers:{$ref:"#/definitions/IEditableLayers",description:"Object detailing the available offline editing options."},readonlyLayers:{$ref:"#/definitions/IReadOnlyLayers",description:"Object indicating what to do with attachments in read-only layers."}},required:["editableLayers","readonlyLayers"],description:"Use if working with offline maps.",title:"IOfflineInfo"},IEditableLayers:{type:"object",properties:{download:{type:"string",enum:["featuers","featuresAndAttachments","none"],description:"When editing layers, the edits are always sent to the server. This string value indicates which data is retrieved. For example, none indicates that only the schema is written since neither the features nor attachments are retrieved. For a full sync without downloading attachments, indicate features. Lastly, the default behavior is to have a full sync using featuresAndAttachments where both features and attachments are retrieved."},sync:{type:"string",enum:["syncFeaturesAndAttachments","syncFeaturesUploadAttachments","uploadFeaturesAndAttachments"],description:"This string value indicates how the data is synced."}},required:["download","sync"],description:"Object detailing the available offline editing options.",title:"IEditableLayers"},IReadOnlyLayers:{type:"object",properties:{downloadAttachments:{type:"boolean",description:"Indicates whether to include attachments with the read-only data."}},required:["downloadAttachments"],description:"Read-only layers as the features are always retrieved from the server.",title:"IReadOnlyLayers"},IViewingInfo:{type:"object",properties:{basemapGallery:{$ref:"#/definitions/IEnableable",description:"The basemap tool which will use the basemap group defined in the Portal."},measure:{$ref:"#/definitions/IEnableable",description:"Measure tool."},routing:{$ref:"#/definitions/IEnableable",description:"The route tool which will leverage the Portals defined route service."},search:{$ref:"#/definitions/ISearch",description:"An object specifying search parameters within the webmap."}},description:"An object containing all the viewing properties of the web map. If this is null or not defined, the client should assume a logical default.",title:"IViewingInfo"},IEnableable:{type:"object",properties:{enabled:{type:"boolean"}},required:["enabled"],title:"IEnableable"},ISearch:{type:"object",properties:{enabled:{type:"boolean"},disablePlaceFinder:{description:"A boolean value indicating whether or not to disable the place finder."},hintText:{description:"A string value used to indicate the hint provided with the search dialog."},layers:{description:"An array of layer objects defining the styling, geometry, and attribute information for the features."}},required:["enabled"],description:"An object specifying the search parameters set within the web map.",title:"ISearch"},IRange:{type:"object",properties:{interactionMode:{type:"string",enum:["picker","slider"],description:"Indicates the mode in which the active range should be presented to the user. Must be one of the following values: slider, picker"},numberOfStops:{description:"This is used to generate the activeRangeValues if activeRangeValues are not specified."},stopInterval:{type:"number",description:"Interval in which stops should be generated."}},description:"Range object.",title:"IRange"},IWidget:{type:"object",properties:{range:{$ref:"#/definitions/IRange",description:"Active range."},timeSlider:{$ref:"#/definitions/ITimeSliderProperties",description:"Time animation is controlled by a configurable time slider. The time slider widget will act upon all the time aware layers in the map."}},description:"The widgets object contains widgets that should be exposed to the user.",title:"IWidget"},ITimeSliderProperties:{type:"object",properties:{currentTimeExtent:{type:"array",items:{type:"number"},description:"An optional array of numbers indicating the slider's start to end time extent."},endTime:{type:"number",description:"The optional end of the time slider. If not specified, the slider defaults to the full time extent of all time-enabled layers."},numberOfStops:{type:"number",description:"Number of stops within the timeSlider widget."},startTime:{type:"number",description:"The optional start of the time slider. If not specified, the slider defaults to the full time extent of all time-enabled layers."},thumbCount:{type:"number",description:"The default value for the thumbCount is 1."},thumbMovingRate:{type:"number",description:"Rate at which the time animation plays. Units are in milliseconds. Default is 1000."},timeStopInterval:{type:"number",description:"The interval which has been defined for the time slider."}},description:"Configurable properties used within the TimeSlider widget.",title:"ITimeSliderProperties"},ITimeSlider:{type:"object",properties:{properties:{$ref:"#/definitions/ITimeSliderProperties",description:"Configurable properties used within the TimeSlider widget."}},required:["properties"],description:"Time animation is controlled by a configurable time slider. Those configurations are saved to the web map as a timeSlider widget.",title:"ITimeSlider"},IBingLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",enum:["BingMapsAerial","BingMapsHybrid","BingMapsRoad"],description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},bingKey:{type:"string",description:"String value that unlocks the use of Bing layers in a web map."},canShareBingPublic:{type:"boolean",description:"Boolean value indicating whether the Bing key can be shared to the public."},portalUrl:{type:"string",description:"A string value representing the URL to the Portal/organization Self resource. Calls should be made to this property to retrieve the Bing key. If the key is not made accessible to the public or if canShareBingPublic is false, any web maps using Bing layers will not work."}},required:["id","layerType"],title:"IBingLayer"},IImageServiceLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISImageServiceLayer",description:"String indicating the layer type. Value of this property must be ArcGISImageServiceLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},bandIds:{type:"array",items:{type:"number"},description:"An array of bandIds that are visible, can specify bands to export or rearrange band order(from image service)."},compressionQuality:{description:"Controls how much loss the image will be subjected to by the compression algorithm (from image service)."},definitionEditor:{description:"Stores interactive filters."},disablePopup:{type:"boolean",description:"Boolean property indicating whether to ignore popups defined by the service item."},format:{type:"string",enum:["bmp","gif","jpg","jpgpng","png","png8","png24","png32","tiff"],description:"String value representing image format."},interpolation:{type:"string",enum:["RSP_BilinearInterpolation","RSP_CubicConvolution","RSP_Majority","RSP_NearestNeighbor"],description:"The algorithm used for interpolation."},isReference:{type:"boolean",description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layerDefinition:{description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},mosaicRule:{description:"Specifies the mosaic rule when defining how individual images should be mosaicked."},noData:{description:"The pixel value that represents no information."},noDataInterpretation:{type:"string",enum:["esriNoDataMatchAll","esriNoDataMatchAny"],description:"A string value of interpretation of noData setting. Default is 'esriNoDataMatchAny' when noData is a number, and 'esriNoDataMatchAll' when noData is an array."},pixelType:{type:"string",enum:["C64","C128","F32","F64","S8","S16","S32","U1","U2","U4","U8","U16","U32","UNKNOWN"],description:"Pertains to the type of values stored in the raster, such as signed integer, unsigned integer, or floating point."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},renderingRule:{description:"Specifies the rendering rule for how the requested image should be rendered."}},required:["id","layerType"],title:"IImageServiceLayer"},IImageVectorLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISImageServiceVectorLayer",description:"String indicating the layer type. Value of this property must be ArcGISImageServiceVectorLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},definitionEditor:{description:"Stores interactive filters."},disablePopup:{description:"Boolean property indicating whether to ignore popups defined by the service item."},isReference:{type:"boolean",description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layerDefinition:{description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},mosaicRule:{description:"Specifies the mosaic rule when defining how individual images should be mosaicked."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},symbolTileSize:{description:"Number describing the size of the tile."}},required:["id","layerType"],title:"IImageVectorLayer"},IChildLayer:{type:"object",properties:{defaultVisibility:{description:"Default visibility of the layers in the map service."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"An object that provides interactive filters."},featureSet:{$ref:"#/definitions/IFeatureSet",description:"A featureSet object containing the geometry and attributes of the features in the layer. Used with feature collections only."},field:{type:"array",items:{$ref:"#/definitions/IField"},description:"Information about each field in a layer. Used with feature collections."},id:{type:"string",description:"A string indicating the index position of the layer in the map service or feature collection."},layerDefinition:{description:"The layerDefinition object defines the attribute schema and drawing information for the layer."},layerUrl:{description:"A string URL to a service that should be used for all queries against the layer. Used with hosted tiled map services on ArcGIS Online when there is an associated feature service that allows for queries."},maxScale:{description:"Represents the maximum scale at which the layer definition will be applied."},minScale:{description:"Represents the minimum scale at which the layer definition will be applied."},nextObjectId:{description:"Iterates within a featureset. Number objectId value is incremented +1 based on last Object ID defined for the feature in a featureset. Used with feature collections."},parentLayerId:{description:"If working with nested layers, this is the numeric value indicating the layer id of the next layer (parent) directly above the current referenced layer."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the popup window content for the layer."},showLegend:{description:"Indicates whether to allow map authors the ability to control what layers should be shown in a client's legend."},subLayer:{description:"Array of numeric values indicating the layer index for layers nested directly under the parent layer."},subLayerIds:{description:"If the layer is a parent layer, it will have one or more sub layers included in an array."},title:{description:"A user-friendly string title for the layer that can be used in a table of contents."}},description:"A layer object may allow overrides on popup content and drawing behavior for individual layers of a web service. This object also contains geographic features and their attributes when used in a feature collection.",title:"IChildLayer"},IMapServiceLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISMapServiceLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},isReference:{description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layers:{type:"array",items:{$ref:"#/definitions/IChildLayer"},description:"An array of layer objects defining the styling, geometry, and attribute information for the features."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},thematicGroup:{$ref:"#/definitions/IThematicGroup",description:"(Optional) A thematicGroup object used in ArcGISMapServiceLayer layers."},visibleLayers:{type:"array",items:{type:"number"},description:"An array of sublayer ids that should appear visible. Used with map service layers that are not tiled."}},required:["id","layerType"],title:"IMapServiceLayer"},IThematicGroup:{type:"object",properties:{fieldNames:{type:"array",items:{type:"string"},description:"An array of string values indicating all the fields used within the webmap. All other fields can be disregarded and should not display in any field selection list."},layerIds:{type:"array",items:{type:"number"},description:"A zero-based array of integers indicating the layers to be used in the webmap. NOTE: All other layers should not be added to the TOC and may or may not be visible on the map as reference layers."},name:{type:"string",description:"String property indicating the name for the thematic grouping of layers."}},title:"IThematicGroup"},IDrawingInfo:{type:"object",properties:{fixedSymbols:{description:"Only used for feature collections with a renderer. The feature's symbol is defined by the layer's renderer."},labelingInfo:{description:"An object defining the properties used for labeling the layer."},renderer:{description:"An object defined which provides the symbology for the layer."},scaleSymbols:{description:"Boolean property indicating whether symbols should stay the same size in screen units as you zoom in. A value of true means the symbols stay the same size in screen units regardless of the map scale."},showLabels:{type:"boolean",description:"Defines whether labels should be shown or not. This is only valid for sublayers."},transparency:{type:"number",description:"Number value ranging between 0 (no transparency) to 100 (completely transparent)."}},title:"IDrawingInfo"},ITypeInfoDomain:{type:"object",properties:{type:{type:"string"}},required:["type"],title:"ITypeInfoDomain"},ITypeInfo:{type:"object",properties:{domains:{$ref:"#/definitions/Record%3Cstring%2CITypeInfoDomain%3E",description:"A comma-delimited series of domain objects for each domain in the type."},id:{type:["number","string"],description:"A unique string or numerical ID for the type."},name:{type:"string",description:"A user-friendly name for the type."},templates:{type:"array",items:{$ref:"#/definitions/ITemplate"},description:"Defined as a property of the layer definition when there are no types defined; otherwise, templates are defined as properties of the types."}},title:"ITypeInfo"},"Record<string,ITypeInfoDomain>":{type:"object",additionalProperties:{$ref:"#/definitions/ITypeInfoDomain"},title:"Record<string,ITypeInfoDomain>"},IOpenStreetMapLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"OpenStreetMap",description:"String indicating the layer type. Value of this property must be OpenStreetMap"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"OpenStreetMap",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."}},required:["id","layerType"],description:"Allows use of OpenStreetMap data for use in basemaps only.",title:"IOpenStreetMapLayer"},ITiledImageServiceLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISTiledImageServiceLayer",description:"String indicating the layer type. Value of this property must be ArcGISTiledImageServiceLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},isReference:{type:"boolean",description:"Applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],title:"ITiledImageServiceLayer"},IExclusionArea:{type:"object",properties:{geometry:{$ref:"#/definitions/IGeometry",description:"The geometry defining the area where no data will be fetched. Only extent is supported."},maxScale:{type:"number",description:"The zoom level where the exclusion ends."},maxZoom:{type:"number",description:"The zoom level where the exclusion ends."},minScale:{type:"number",description:"The zoom level where the exclusion starts."},minZoom:{type:"number",description:"The zoom level where the exclusion starts."}},description:"Exclusion areas define extent areas where no data will be fetched for a layer.",title:"IExclusionArea"},ITiledMapServiceLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISTiledMapServiceLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},displayLevels:{anyOf:[{type:"array",items:{type:"number"}},{type:"number"}],description:"NOTE: Applicable if used as a baseMapLayer. Integer value(s) indicating the display levels of the basemap layer. Only applicable for TiledMapService layers. All tiled map service layers should share the same tiling scheme. This property cannot be set via the Map Viewer UI."},exclusionAreas:{type:"array",items:{$ref:"#/definitions/IExclusionArea"},description:"NOTE: Applicable if used as a baseMapLayer. An array of exclusionArea objects defining the layer exclusions."},isReference:{description:"This property is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layers:{type:"array",items:{$ref:"#/definitions/IChildLayer"},description:"An array of layer objects defining a URL for queries and the popup window content."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],description:"An ArcGIS Tiled Map Service layer displays map content from an ArcGIS Server Map service that has been cached (tiled).",title:"ITiledMapServiceLayer"},IVectorTileLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"VectorTileLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"VectorTileLayer",description:"Deprecated. User layerType instead."},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},styleUrl:{type:"string",description:"A url to a JSON file containing the stylesheet information used to render the layer. You may also pass an object containing the stylesheet information identical to the JSON file."}},required:["id","layerType"],description:"A vector tile layer references a set of web-accessible vector tiles and the corresponding style for how those tiles should be drawn.",title:"IVectorTileLayer"},ILod:{type:"object",properties:{level:{type:"number",description:"ID for each level."},levelValue:{type:"string",description:"String to be used when constructing URL to access a tile from this LOD."},resolution:{type:"number",description:"Resolution in map units of each pixel in a tile for each level."},scale:{type:"number",description:"Scale for each level."}},title:"ILod"},ITileInfo:{type:"object",properties:{cols:{description:"Requested tile's column."},compressionQuality:{description:"Compression quality of the tile."},dpi:{description:"The dpi of the tiling scheme."},format:{type:"string",enum:["bmp","emf","gif","jpg","lerc","mixed","pdf","png","png8","png24","png32","ps","svg","svgz"],description:"Image format of the cached tiles."},lods:{type:"array",items:{$ref:"#/definitions/ILod"},description:"An array of levels of detail that define the tiling scheme."},origin:{$ref:"#/definitions/IPoint",description:"The tiling scheme origin."},rows:{description:"Requested tile's row."},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"The spatial reference of the tiling schema."}},description:"Tile information, returned from the WMTS OGC Web Service. The tileInfo will contain the spatial reference of the layer. tileInfo is the same json representation as the ArcGIS Map/Image service tileInfo except that it may contain a levelValue on the lod objects that should be used instead of the level in the templateUrl.",title:"ITileInfo"},IWebMapTileServiceInfo:{type:"object",properties:{customLayerParameters:{description:"A sequence of parameters used to append different custom parameters to a WMTS tile request. These parameters are applied to GetTile. The customLayerParameters property takes precedence if customParameters is also present."},customParameters:{description:"A sequence of parameters used to append custom parameters to all WMTS requests. These parameters are applied to GetCapabilities and GetTile. If used with the customLayerParameters property, customParameters will not take precedence."},layerIdentifier:{type:"string",description:"Identifier for the specific layer used in the WMTS service. Required input by the user."},tileMatrixSet:{description:"Tiling schema, set by the WMTS service."},url:{type:"string",description:"URL to the WMTS web service. Required input by the user."}},required:["layerIdentifier","url"],description:"Object defines and provides information about layers in a WMTSLayer service.",title:"IWebMapTileServiceInfo"},IWebTiledLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"WebTiledLayer",description:"String indicating the layer type. Value of this property must be WebTiledLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"WebTiledLayer",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},copyright:{description:"Attribution to the Web Tiled Layer provider. It is displayed in the attribution on the web map. Input required by the user when the layer is added to the web map."},fullExtent:{$ref:"#/definitions/IExtent",description:"An extent object representing the full extent envelope for the layer."},isReference:{description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},refreshInterval:{description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},subDomains:{description:"If subdomains are detected, they must be specified. The map viewer detects if the Web Tiled Layer has subdomains by parsing the templateURL value for {subDomain}."},templateUrl:{description:"URL to the Web Tiled Layer. Input required by the user when the layer is added to the web map. The template URL contains a parameterized URL. The URL can contain the following templated parameters: 'level', 'col', 'row', and 'subDomain'."},tileInfo:{$ref:"#/definitions/ITileInfo",description:"Contains the spatial reference and the tiling scheme of the layer. Typically retrieved from a WMTS OGC Web Service. If missing the layer must be in the WGS 1984 Web Mercator (Auxiliary Sphere) tiling scheme."},wmtsInfo:{$ref:"#/definitions/IWebMapTileServiceInfo",description:"Object containing information about the chosen WMTS service layer and tiling schema."}},required:["id","layerType"],title:"IWebTiledLayer"},ICsvLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"CSV",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"CSV",description:"Deprecated, use layerType instead."},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},columnDelimiter:{type:"string",enum:[" ",",",";"," ","|"],description:"A string defining the character used to separate columns in a CSV file."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},locationInfo:{description:"A locationInfo object defining how location information will be retrieved from a CSV file."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],description:"The CSV layer type references a CSV or TXT file from a publically-accessible web server. It then dynamically loads into the map at run time. The CSV layer will maintain a reference to the CSV resource.",title:"ICsvLayer"},IGeoRssLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"GeoRSS",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"GeoRSS",description:"Deprecated, please use layerType.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Defined by the GeoRSS to JSON request service. If the GeoRSS feed does not have lines, this property is not added to the layer JSON."},pointSymbol:{$ref:"#/definitions/IPictureMarkerSymbol",description:"Defined by the GeoRSS to JSON request service. If the GeoRSS feed does not have points, this property is not added to the layer JSON."},polygonSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Defined by the GeoRSS to JSON request service. If the GeoRSS feed does not have polygons, this property is not added to the layer JSON."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],title:"IGeoRssLayer"},IKmlLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"KML",description:"String indicating the layer type."},maxScale:{description:"A number representing the maximum scale at which the layer will be visible. The number is the scale's denominator."},minScale:{description:"A number representing the minimum scale at which the layer will be visible. The number is the scale's denominator."},opacity:{description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{description:"Indicates whether to allow map authors the ability to control what layers should be shown in a client's legend."},title:{description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"KML",description:"Deprecated, use layerType instead.",deprecated:"Use layerType instead."},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},refreshInterval:{description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},visibleFolders:{type:"array",items:{type:"number"},description:"Array of numeric IDs of folders that will be made visible."}},required:["id","layerType"],title:"IKmlLayer"},IArcGisStreamLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISStreamLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"Stores interactive filters."},disablePopup:{type:"boolean",description:"Indicates whether to ignore popups defined by the service item."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of pop-up windows when you click or query a feature."}},required:["id","layerType"],title:"IArcGisStreamLayer"}},$ref:"#/definitions/WebChart"};var cd=oc(Ll(),1);var q={Arabic:"ar",ArabicLatin:"ar-u-nu-latn",Bosnian:"bs",Bulgarian:"bg",Catalan:"ca",Czech:"cs",Danish:"da",German:"de",Greek:"el",English:"en",EnglishUSA:"en-US",Spanish:"es",Estonian:"et",Finnish:"fi",French:"fr",Hebrew:"he",Croatian:"hr",Hungarian:"hu",Indonesian:"id",Italian:"it",Japanese:"ja",Korean:"ko",Lithuanian:"lt",Latvian:"lv",NorwegianBokml:"no",Dutch:"nl",Polish:"pl",PortugueseBrazil:"pt-BR",PortuguesePortugal:"pt-PT",Romanian:"ro",Russian:"ru",Serbian:"sr",Slovenian:"sl",Slovak:"sk",Swedish:"sv",Thai:"th",Turkish:"tr",Ukrainian:"uk",Vietnamese:"vi",ChineseChina:"zh-CN",ChineseHongKong:"zh-HK",ChineseTaiwan:"zh-TW"},Cv=[...Object.values(q),"en-AU","en-GB","es-ES","es-MX","de-CH","de-DE","de-AT","it-CH","it-IT"];function Ze(e,r){return ga(e)(r)}function Tv(e){let r=/^([a-z]{2})-([A-Z]{2})$/u,i=e?.match(r),t=q.English;return i!=null&&i?.length>1?t=i[1]:e?.length===2&&e.toLowerCase()===e&&(t=e),t}function Av(e){let r=e;if(e!==void 0&&e.includes("-")){let[i,t]=e.split("-");r=`${i}-${t.toUpperCase()}`}return r}function Dl(e,r){let i=q.English,t=Av(e);if(t!==void 0)if(r.includes(t))i=t;else{let a=Tv(t);r.includes(a)?i=a:a==="nb"&&(i="no")}return i}function $l(e,r){function i(t){let a;return t===void 0||t===document||t===window?a=null:a=t.closest(e)||i(t.getRootNode().host),a}return i(r)}function fd(e=document.documentElement){let r=$l("[lang]",e)?.lang??window.navigator.language,i=Object.values(q),t=Object.values(Cv),a=Dl(r,i),o=Dl(r,t);return o=o==="ar"?"ar-u-nu-latn":o,{locale:a,rtl:$l("[dir]",e)?.getAttribute("dir")==="rtl",formatLocale:o}}function b$(e){let r;return e==="unknown"?r="UTC":e!==void 0&&e!=="system"&&(r=e),r}function v$(e,r){let i={year:"numeric",month:"2-digit",day:"2-digit",timeZone:r};return new Intl.DateTimeFormat("en-CA",i).format(e)}function S$(e,r){let i={hour:"2-digit",minute:"2-digit",hour12:!1,timeZone:r};return new Intl.DateTimeFormat("en-US",i).format(e)}function w$(e,r){let[,i,,,,t]=1111.1.toLocaleString(r),a=e.replace(i,"").replace(t,".");return Number.parseFloat(a)}async function ht(e=fd().locale){let r=await import("./A4IJIMEI.js");switch(e){case q.Arabic:r=await import("./VKUQRVOH.js");break;case q.Bosnian:r=await import("./AWHGNL6F.js");break;case q.Bulgarian:r=await import("./46GQPT2T.js");break;case q.Catalan:r=await import("./TARYRD25.js");break;case q.Czech:r=await import("./DUUEG46L.js");break;case q.Danish:r=await import("./XUIYU3IQ.js");break;case q.German:r=await import("./FK2QSKTF.js");break;case q.Greek:r=await import("./TXTNRJGO.js");break;case q.EnglishUSA:r=await import("./UYC7PM42.js");break;case q.Spanish:r=await import("./2KVQUY7T.js");break;case q.Estonian:r=await import("./6ZJU2NVE.js");break;case q.Finnish:r=await import("./UQT6OYH7.js");break;case q.French:r=await import("./UOSZLGWA.js");break;case q.Hebrew:r=await import("./G3FDGILA.js");break;case q.Croatian:r=await import("./VTZCC27K.js");break;case q.Hungarian:r=await import("./IS4MMYCP.js");break;case q.Indonesian:r=await import("./EBSXIFOK.js");break;case q.Italian:r=await import("./WPU6UR4V.js");break;case q.Japanese:r=await import("./HFTXVWLB.js");break;case q.Korean:r=await import("./TUBY3URQ.js");break;case q.Lithuanian:r=await import("./JDITVAZY.js");break;case q.Latvian:r=await import("./NPOQ5UB2.js");break;case q.NorwegianBokml:r=await import("./V7JOMOTX.js");break;case q.Dutch:r=await import("./6TY6VTKL.js");break;case q.Polish:r=await import("./BEGPB5PX.js");break;case q.PortugueseBrazil:r=await import("./XGF5I3X6.js");break;case q.PortuguesePortugal:r=await import("./QHVFOMKV.js");break;case q.Romanian:r=await import("./FRXZSEFC.js");break;case q.Russian:r=await import("./6WEAHTM6.js");break;case q.Serbian:r=await import("./6J2NR5RR.js");break;case q.Slovak:r=await import("./4ALKOXTU.js");break;case q.Slovenian:r=await import("./FTGA2C75.js");break;case q.Swedish:r=await import("./JNR65YSM.js");break;case q.Thai:r=await import("./JVZ7V3V3.js");break;case q.Turkish:r=await import("./M3NNLV5Y.js");break;case q.Ukrainian:r=await import("./CG3JKZJW.js");break;case q.Vietnamese:r=await import("./T24OA5DD.js");break;case q.ChineseChina:r=await import("./QIWFLAQ5.js");break;case q.ChineseHongKong:r=await import("./DZXV44GU.js");break;case q.ChineseTaiwan:r=await import("./MQR7M5S4.js");break;case q.English:}return r}var hd={Reject:"reject",RenderUpToTheLimit:"renderUpToTheLimit"},te={AxisLabels:"axisLabels",GuideLabel:"guideLabel",AxisTitle:"axisTitle",ChartTitle:"chartTitle",ChartSubtitle:"chartSubtitle",DataLabels:"dataLabels",LegendTitle:"legendTitle",LegendText:"legendText",DescriptionText:"descriptionText"},x$=32,I$="arcgis_charts_features_extent",Xt={maxRecordCountFactor:5,maxParallelRequests:4,maxRecords:2e3,orderByJSAPIDelimiter:" ",outStatistics:{statisticType:yo.statisticType,onStatisticField:"OBJECTID",outStatisticFieldName:"arcgis_charts_outStatisticFieldName_default_key"},uniqueIdsName:"arcgisChartsUniqueIds"},Pv=["EXPR_1","Expr1","expr1","EXPR1"],C$=1,at=.7,Fv=25,md=[156,156,156,255],Ov=[156,156,156,255],T$=nr.Solid,A$=2,P$={defaultGroupOfSlicesId:"arcgis_charts_group_of_slices",sliceIdPrefix:"arcgis-charts-slice-id",undefinedSliceId:"arcgis-charts-slice-id-undefined",nullSliceId:"arcgis-charts-slice-id-null",emptySliceId:"arcgis-charts-slice-id-empty"},Va="arcgis_charts_box_plot_category",Ev=[[31,120,180,255],[166,206,227,255],[51,160,44,255],[178,223,138,255],[227,26,28,255],[251,154,153,255],[255,127,0,255],[253,191,111,255],[106,61,154,255],[202,178,214,255]],Lv=[[104,104,104,255],[51,124,235,255],[132,0,168,255],[156,156,156,255]];function ct(e){let{colorIndex:r,opacity:i,histogramOverlays:t}=e,a=Math.max(0,r??0),o=[...t===!0?Lv:Ev],[n,s,l,u]=o[a%o.length],d=i!==void 0?i*255:u;return[n,s,l,d]}function yd(e){return[0,0,0,(e??at)*255]}function F$(){return{type:D.CursorCrosshair,verticalLineVisible:!1,horizontalLineVisible:!1,style:{type:ke.SLS,style:nr.Dot,color:[211,211,211,255],width:1}}}function Ki(e=1){return[Math.floor(Math.random()*256),Math.floor(Math.random()*256),Math.floor(Math.random()*256),e*255]}function pe(e){let r={family:"Arial, Helvetica, sans-serif",size:10};switch(e){case te.ChartTitle:r.size=18;break;case te.AxisTitle:r.size=14;break;case te.LegendText:r.size=12;break;case te.LegendTitle:r.size=13;break;case te.DescriptionText:r.size=11;break}return r}function gd(e="",r=pe(),i){let t=Xr.Center;return(i===te.DataLabels||i===te.GuideLabel)&&(t=void 0),{type:ke.TS,color:yd(),text:e,font:r,horizontalAlignment:t}}function ie(e){let{text:r,visible:i,font:t,type:a}=e??{text:"",visible:!0,font:pe()};return{type:D.Text,visible:i,content:gd(r,t,a)}}function Gr(e){let r=e?.useRandomColor??!1,i=e?.useRampColor,t=e?.width??1,a=e?.isHistogramOverlay,o=e?.color??yd(1);return r?o=Ki():i!==void 0&&(a===!0?o=ct({colorIndex:i.colorIndex,histogramOverlays:a}):o=ct({colorIndex:i.colorIndex})),e?.opacity!==void 0&&(o[3]=e.opacity),{type:ke.SLS,style:nr.Solid,color:o,width:t}}function Dv(){return{type:D.CategoryAxisFormat,characterLimit:11}}function O$(){return{type:D.DateAxisFormat,intlOptions:{}}}function qa(){return{type:D.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:3,useGrouping:!0}}}function E$(){return{type:D.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:2}}}function L$(){return{type:D.NumberAxisFormat,intlOptions:{style:"percent",minimumFractionDigits:0,maximumFractionDigits:0}}}function jl(e="Category Axis"){let r=ie({text:e,visible:!0,font:pe(te.AxisTitle)});r.content.horizontalAlignment=Xr.Center,r.content.verticalAlignment=ia.Middle;let i=ie({text:e,visible:!0,font:pe(te.AxisLabels)});return{type:D.Axis,visible:!0,title:r,labels:i,valueFormat:Dv(),lineSymbol:Gr({color:md})}}function Wi(e="Value Axis"){let r=ie({text:e,visible:!0,font:pe(te.AxisTitle)}),i=ie({text:e,visible:!0,font:pe(te.AxisLabels)});return r.content.verticalAlignment=ia.Middle,r.content.horizontalAlignment=Xr.Center,{type:D.Axis,visible:!0,title:r,labels:i,valueFormat:qa(),lineSymbol:Gr({color:md})}}function Yt(){return{type:D.Legend,visible:!0,title:ie({text:"",visible:!0,font:pe(te.LegendTitle)}),body:gd("",pe(te.LegendText)),position:mo.Right,maxHeight:Number.NaN}}function ki(e){return{type:D.Overlay,visible:!0,created:!1,symbol:Gr({useRampColor:{colorIndex:e},isHistogramOverlay:!0})}}function er(){return[255,255,255,255]}async function Mt(){return(await ht()).defaultTitle}function Nt(){return`Chart ${Date.now()}`}function D$(e,r=!1){return{type:ke.SFS,style:sr.Solid,color:r?Ki(at):ct({colorIndex:e??0,opacity:at})}}function $v(e=0){return{type:ke.SMS,style:ra.Circle,color:ct({colorIndex:e,opacity:at}),size:4}}function jv(e){return{type:ke.SLS,style:nr.Solid,color:ct({colorIndex:e,opacity:at}),width:2}}function Rv(e=!1){return{type:ke.SMS,style:ra.Circle,color:e?Ki(at):ct({colorIndex:0,opacity:at}),size:7}}function $$(){return{type:D.SizePolicy,field:"",scaleType:vo.Linear,minSize:5,maxSize:30}}function _v(e=!1){return{type:D.Overlays,trendLine:{type:D.Overlay,created:!1,visible:!0,symbol:{type:ke.SLS,style:nr.Solid,color:e?Ki():ct({colorIndex:1}),width:2}}}}function kv(){return{type:D.ScatterSeries,id:D.ScatterSeries,name:D.ScatterSeries,x:"",y:"",markerSymbol:Rv(),overlays:_v(),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels)})}}async function Or(e){let r=await ht(),i=[],t=r.xAxis,a=r.statistics.count,o,n=Wi(a),s=Gr({opacity:Fv});switch(n.grid=s,e){case D.BarSeries:{o=jl(t);break}case D.ScatterSeries:{o=Wi(t),o.grid=s;break}case D.RadarSeries:case D.LineSeries:case D.HistogramSeries:{o=Wi(t);break}case D.BoxPlotSeries:{o=jl("");break}}return o!==void 0&&i.push(o,n),i}function Bv(){return{type:D.GaugeNeedle,symbol:{type:ke.SFS,color:[0,0,0,200]}}}async function qv(){let e=await ht(),r=[],i=e.xAxis,t=Wi(i);return t.needle=Bv(),r.push(t),r}async function Mv(e){let r=e.objectIDField??"ObjectID",i=`${Ie.Count}_${r}_0`.toUpperCase(),t=(await ht()).countSeries;return{type:D.LineSeries,id:t,name:t,query:{outStatistics:[{statisticType:Ie.Count,onStatisticField:r,outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,lineSymbol:jv(e.seriesIndex),markerSymbol:$v(e.seriesIndex),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels)}),temporalBinning:{type:ta.FixedDateBased,unit:_e.Day,size:0,timeAggregationType:ar.Start,trimIncompleteTimeInterval:!0,nullPolicy:go.Interpolate}}}async function j$(e){return{...await Mv(e),type:D.RadarSeries}}function Nv(e){return{type:ke.SFS,style:sr.Solid,color:ct({colorIndex:e,opacity:at})}}async function R$(e){let r=e.objectIDField??"ObjectID",i=`${Ie.Count}_${r}_0`.toUpperCase(),t=(await ht()).countSeries;return{type:D.BarSeries,id:t,name:t,query:{outStatistics:[{statisticType:Ie.Count,onStatisticField:r,outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,fillSymbol:Nv(e.seriesIndex),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels),type:te.DataLabels})}}async function _$(e){let r=(await ht()).countSeries;return{name:r,type:D.BoxPlotSeries,id:r,fillSymbol:{type:ke.SFS,style:sr.Solid,color:ct({colorIndex:e,opacity:at})},query:{},x:Va,y:""}}function Wv(){return{type:D.PieTick,visible:!0,lineSymbol:Gr({width:1,color:Ov})}}function zv(){return{type:ke.SFS,style:sr.Solid}}async function k$(e){let r=`${Ie.Count}_${e}_0`.toUpperCase(),i=(await ht()).countSeries;return{type:D.PieSeries,id:i,name:i,query:{outStatistics:[{statisticType:Ie.Count,onStatisticField:e??"ObjectID",outStatisticFieldName:r}],groupByFieldsForStatistics:[]},x:"",y:r,fillSymbol:zv(),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels),type:te.DataLabels}),startAngle:-90,endAngle:270,dataLabelsCharacterLimit:11,displayCategoryOnDataLabel:!0,displayNumericValueOnDataLabel:!1,displayPercentageOnDataLabel:!0,numericValueFormat:{...qa(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},percentValueFormat:{...qa(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},ticks:Wv()}}function B$(e){let r=e.objectIDField??"ObjectID",i=`${Ie.Count}_${r}_0`.toUpperCase(),t="Series0";return{type:D.GaugeSeries,id:t,name:t,query:{outStatistics:[{statisticType:Ie.Count,onStatisticField:r,outStatisticFieldName:i}]},x:""}}function zr(){return!1}async function q$(e=Nt()){return{version:It,type:D.Chart,id:e,colorMatch:!0,rotated:zr(),orderOptions:{data:{orderType:or.Category,orderBy:vt.Ascending}},title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),axes:await Or(D.BarSeries),series:[],legend:Yt()}}async function M$(e=Nt()){return{version:It,type:D.Chart,id:e,rotated:zr(),colorMatch:!0,orderOptions:{data:{orderType:or.Category,orderBy:vt.Ascending}},title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),series:[],legend:Yt(),axes:await Or(D.BoxPlotSeries),standardizeValues:!0,showOutliers:!1}}async function N$(e=Nt()){return{version:It,type:D.Chart,id:e,colorMatch:!0,rotated:zr(),orderOptions:{data:{orderType:or.Category,orderBy:vt.Ascending}},title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),axes:await Or(D.LineSeries),series:[],legend:Yt()}}async function W$(e=Nt()){return{version:It,type:D.Chart,id:e,colorMatch:!0,orderOptions:{data:{orderType:or.Category,orderBy:vt.Ascending}},title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),axes:await Or(D.RadarSeries),series:[],legend:Yt()}}async function z$(e=Nt()){return{version:It,type:D.Chart,id:e,colorMatch:!0,orderOptions:{data:{orderType:or.YValue,orderBy:vt.Descending}},title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),series:[],legend:{...Yt(),displayNumericValue:!1,displayPercentage:!0}}}async function V$(e=Nt()){return{version:It,type:D.Chart,id:e,colorMatch:!0,title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),series:[],axes:await qv()}}async function U$(e=Nt()){return{version:It,type:D.Chart,id:e,colorMatch:!0,title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),axes:await Or(D.ScatterSeries),series:[kv()],legend:Yt()}}function Vv(){return{type:D.Overlays,mean:ki(1),median:ki(2),standardDeviation:ki(3),comparisonDistribution:ki(4)}}function Uv(){return{type:ke.SFS,style:sr.Solid,color:ct({colorIndex:0,opacity:at})}}function Gv(){return{type:D.HistogramSeries,id:D.HistogramSeries,name:D.HistogramSeries,visible:!0,dataTooltipVisible:!0,dataTooltipReverseColor:!1,assignToSecondValueAxis:!1,x:"",binCount:32,overlays:Vv(),dataTransformationType:ea.None,fillSymbol:Uv(),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels)})}}async function G$(e=Nt()){return{version:It,type:D.Chart,id:e,colorMatch:!0,title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),axes:await Or(D.HistogramSeries),series:[Gv()],legend:Yt()}}var wa={behaviorAfterLimit:hd.Reject,maxCategoryCount:Number.NaN,maxBarChartSeriesCount:100,maxBarUniqueSeriesCountTotal:1e4,maxBarTwoSeriesCountPerSeries:1e3,maxBarTwoSeriesCountTotal:2e3,maxBarThreePlusSeriesCountPerSeries:100,maxBarThreePlusSeriesCountTotal:2e3,maxScatterPointsBeforeAggregation:1e4,maxScatterPointsAfterAggregation:1e4,maxLineChartSeriesCount:100,maxLineUniqueSeriesCountTotal:1e4,maxLineTwoSeriesCountPerSeries:5e3,maxLineTwoSeriesCountTotal:1e4,maxLineThreePlusSeriesCountPerSeries:1e3,maxLineThreePlusSeriesCountTotal:1e4,maxPieChartSliceCountTotal:300,maxGaugeByFeaturesLimit:50,maxBoxPlotSeriesCount:100,maxBoxUniqueSeriesCountTotal:1e4,maxBoxTwoSeriesCountPerSeries:1e3,maxBoxTwoSeriesCountTotal:2e3,maxBoxThreePlusSeriesCountPerSeries:100,maxBoxThreePlusSeriesCountTotal:2e3,maxBoxPlotOutlierLimit:1e4};function Hv(e){let r={...wa};return e!==void 0&&Object.keys(wa).forEach(i=>{let t=i;r[t]=e[t]??wa[t]}),r}function H$(){return{maxScatterCellsPerQuery:500,maxScatterCellsPerQueryForStandard:175,maxElementsPerSelectionQuery:25,maxOIDsPerSelectionQuery:2e3,maxOperandsPerWhereClause:200}}async function Q$(e){let r=await ht(),i;switch(e){case Ie.Average:{i=r.statistics.mean;break}case Ie.ContinuousPercentile:{i=r.statistics.median;break}case Ie.Sum:{i=r.statistics.sum;break}case Ie.Minimum:{i=r.statistics.minimum;break}case Ie.Maximum:{i=r.statistics.maximum;break}case Ie.Variance:{i=r.statistics.variance;break}case Ie.DiscretePercentile:{i=r.statistics.discretePercentile;break}case Ie.NoAggregation:{i=r.statistics.noAggregation;break}case Ie.Count:default:{i=r.statistics.count;break}}return i}async function K$(e){let r=await ht(),i;switch(e){case ar.End:{i=r.timeAggregationTypes.end;break}case ar.Start:{i=r.timeAggregationTypes.start;break}default:i="";break}return i}function Qv(){return Rr.Side}async function J$(){return(await ht()).notAvailable}var Z$=0,Kv="_arcgis_charts_outliers",Jv="_arcgis_charts_z_score",X$=[210,210,210,255*at],Y$=" percentage ";var Ui=function(){return Ui=Object.assign||function(e){for(var r,i=1,t=arguments.length;i<t;i++){r=arguments[i];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Ui.apply(this,arguments)},Ma={exports:{}},Te={},Na={exports:{}},tr={};function bd(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function Zv(e,r,i){}function Xv(e,r,i){}var Yv=/javascript\s*\:/img;function eS(e,r){return Yv.test(r)?"":r}tr.whiteList=bd();tr.getDefaultWhiteList=bd;tr.onAttr=Zv;tr.onIgnoreAttr=Xv;tr.safeAttrValue=eS;var tS={indexOf:function(e,r){var i,t;if(Array.prototype.indexOf)return e.indexOf(r);for(i=0,t=e.length;i<t;i++)if(e[i]===r)return i;return-1},forEach:function(e,r,i){var t,a;if(Array.prototype.forEach)return e.forEach(r,i);for(t=0,a=e.length;t<a;t++)r.call(i,e[t],t,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}},Wr=tS;function rS(e,r){e=Wr.trimRight(e),e[e.length-1]!==";"&&(e+=";");var i=e.length,t=!1,a=0,o=0,n="";function s(){if(!t){var d=Wr.trim(e.slice(a,o)),c=d.indexOf(":");if(c!==-1){var p=Wr.trim(d.slice(0,c)),f=Wr.trim(d.slice(c+1));if(p){var m=r(a,n.length,p,f,d);m&&(n+=m+"; ")}}}a=o+1}for(;o<i;o++){var l=e[o];if(l==="/"&&e[o+1]==="*"){var u=e.indexOf("*/",o+2);if(u===-1)break;o=u+1,a=o+1,t=!1}else l==="("?t=!0:l===")"?t=!1:l===";"?t||s():l===`
57
+ `&&s()}return Wr.trim(n)}var iS=rS,Bi=tr,aS=iS;function Rl(e){return e==null}function oS(e){var r={};for(var i in e)r[i]=e[i];return r}function vd(e){e=oS(e||{}),e.whiteList=e.whiteList||Bi.whiteList,e.onAttr=e.onAttr||Bi.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||Bi.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||Bi.safeAttrValue,this.options=e}vd.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,i=r.options,t=i.whiteList,a=i.onAttr,o=i.onIgnoreAttr,n=i.safeAttrValue,s=aS(e,function(l,u,d,c,p){var f=t[d],m=!1;if(f===!0?m=f:typeof f=="function"?m=f(c):f instanceof RegExp&&(m=f.test(c)),m!==!0&&(m=!1),c=n(d,c),!!c){var y={position:u,sourcePosition:l,source:p,isWhite:m};if(m){var b=a(d,c,y);return Rl(b)?d+":"+c:b}else{var b=o(d,c,y);if(!Rl(b))return b}}});return s};var nS=vd;(function(e,r){var i=tr,t=nS;function a(n,s){var l=new t(s);return l.process(n)}r=e.exports=a,r.FilterCSS=t;for(var o in i)r[o]=i[o]})(Na,Na.exports);var Ua=Na.exports,Ga={indexOf:function(e,r){var i,t;if(Array.prototype.indexOf)return e.indexOf(r);for(i=0,t=e.length;i<t;i++)if(e[i]===r)return i;return-1},forEach:function(e,r,i){var t,a;if(Array.prototype.forEach)return e.forEach(r,i);for(t=0,a=e.length;t<a;t++)r.call(i,e[t],t,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var r=/\s|\n|\t/,i=r.exec(e);return i?i.index:-1}},sS=Ua.FilterCSS,lS=Ua.getDefaultWhiteList,Gi=Ga;function Sd(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var wd=new sS;function pS(e,r,i){}function dS(e,r,i){}function cS(e,r,i){}function uS(e,r,i){}function xd(e){return e.replace(hS,"&lt;").replace(mS,"&gt;")}function fS(e,r,i,t){if(i=Fd(i),r==="href"||r==="src"){if(i=Gi.trim(i),i==="#")return"#";if(!(i.substr(0,7)==="http://"||i.substr(0,8)==="https://"||i.substr(0,7)==="mailto:"||i.substr(0,4)==="tel:"||i.substr(0,11)==="data:image/"||i.substr(0,6)==="ftp://"||i.substr(0,2)==="./"||i.substr(0,3)==="../"||i[0]==="#"||i[0]==="/"))return""}else if(r==="background"){if(qi.lastIndex=0,qi.test(i))return""}else if(r==="style"){if(_l.lastIndex=0,_l.test(i)||(kl.lastIndex=0,kl.test(i)&&(qi.lastIndex=0,qi.test(i))))return"";t!==!1&&(t=t||wd,i=t.process(i))}return i=Od(i),i}var hS=/</g,mS=/>/g,yS=/"/g,gS=/&quot;/g,bS=/&#([a-zA-Z0-9]*);?/gim,vS=/&colon;?/gim,SS=/&newline;?/gim,qi=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,_l=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,kl=/u\s*r\s*l\s*\(.*/gi;function Id(e){return e.replace(yS,"&quot;")}function Cd(e){return e.replace(gS,'"')}function Td(e){return e.replace(bS,function(r,i){return i[0]==="x"||i[0]==="X"?String.fromCharCode(parseInt(i.substr(1),16)):String.fromCharCode(parseInt(i,10))})}function Ad(e){return e.replace(vS,":").replace(SS," ")}function Pd(e){for(var r="",i=0,t=e.length;i<t;i++)r+=e.charCodeAt(i)<32?" ":e.charAt(i);return Gi.trim(r)}function Fd(e){return e=Cd(e),e=Td(e),e=Ad(e),e=Pd(e),e}function Od(e){return e=Id(e),e=xd(e),e}function wS(){return""}function xS(e,r){typeof r!="function"&&(r=function(){});var i=!Array.isArray(e);function t(n){return i?!0:Gi.indexOf(e,n)!==-1}var a=[],o=!1;return{onIgnoreTag:function(n,s,l){if(t(n))if(l.isClosing){var u="[/removed]",d=l.position+u.length;return a.push([o!==!1?o:l.position,d]),o=!1,u}else return o||(o=l.position),"[removed]";else return r(n,s,l)},remove:function(n){var s="",l=0;return Gi.forEach(a,function(u){s+=n.slice(l,u[0]),l=u[1]}),s+=n.slice(l),s}}}function IS(e){for(var r="",i=0;i<e.length;){var t=e.indexOf("<!--",i);if(t===-1){r+=e.slice(i);break}r+=e.slice(i,t);var a=e.indexOf("-->",t);if(a===-1)break;i=a+3}return r}function CS(e){var r=e.split("");return r=r.filter(function(i){var t=i.charCodeAt(0);return t===127?!1:t<=31?t===10||t===13:!0}),r.join("")}Te.whiteList=Sd();Te.getDefaultWhiteList=Sd;Te.onTag=pS;Te.onIgnoreTag=dS;Te.onTagAttr=cS;Te.onIgnoreTagAttr=uS;Te.safeAttrValue=fS;Te.escapeHtml=xd;Te.escapeQuote=Id;Te.unescapeQuote=Cd;Te.escapeHtmlEntities=Td;Te.escapeDangerHtml5Entities=Ad;Te.clearNonPrintableCharacter=Pd;Te.friendlyAttrValue=Fd;Te.escapeAttrValue=Od;Te.onIgnoreTagStripAll=wS;Te.StripTagBody=xS;Te.stripCommentTag=IS;Te.stripBlankChar=CS;Te.cssFilter=wd;Te.getDefaultCSSWhiteList=lS;var Ji={},kt=Ga;function TS(e){var r=kt.spaceIndex(e),i;return r===-1?i=e.slice(1,-1):i=e.slice(1,r+1),i=kt.trim(i).toLowerCase(),i.slice(0,1)==="/"&&(i=i.slice(1)),i.slice(-1)==="/"&&(i=i.slice(0,-1)),i}function AS(e){return e.slice(0,2)==="</"}function PS(e,r,i){var t="",a=0,o=!1,n=!1,s=0,l=e.length,u="",d="";e:for(s=0;s<l;s++){var c=e.charAt(s);if(o===!1){if(c==="<"){o=s;continue}}else if(n===!1){if(c==="<"){t+=i(e.slice(a,s)),o=s,a=s;continue}if(c===">"){t+=i(e.slice(a,o)),d=e.slice(o,s+1),u=TS(d),t+=r(o,t.length,u,d,AS(d)),a=s+1,o=!1;continue}if(c==='"'||c==="'")for(var p=1,f=e.charAt(s-p);f.trim()===""||f==="=";){if(f==="="){n=c;continue e}f=e.charAt(s-++p)}}else if(c===n){n=!1;continue}}return a<e.length&&(t+=i(e.substr(a))),t}var FS=/[^a-zA-Z0-9\\_:.-]/gim;function OS(e,r){var i=0,t=0,a=[],o=!1,n=e.length;function s(p,f){if(p=kt.trim(p),p=p.replace(FS,"").toLowerCase(),!(p.length<1)){var m=r(p,f||"");m&&a.push(m)}}for(var l=0;l<n;l++){var u=e.charAt(l),d,c;if(o===!1&&u==="="){o=e.slice(i,l),i=l+1,t=e.charAt(i)==='"'||e.charAt(i)==="'"?i:LS(e,l+1);continue}if(o!==!1&&l===t){if(c=e.indexOf(u,l+1),c===-1)break;d=kt.trim(e.slice(t+1,c)),s(o,d),o=!1,l=c,i=l+1;continue}if(/\s|\n|\t/.test(u))if(e=e.replace(/\s|\n|\t/g," "),o===!1)if(c=ES(e,l),c===-1){d=kt.trim(e.slice(i,l)),s(d),o=!1,i=l+1;continue}else{l=c-1;continue}else if(c=DS(e,l-1),c===-1){d=kt.trim(e.slice(i,l)),d=Bl(d),s(o,d),o=!1,i=l+1;continue}else continue}return i<e.length&&(o===!1?s(e.slice(i)):s(o,Bl(kt.trim(e.slice(i))))),kt.trim(a.join(" "))}function ES(e,r){for(;r<e.length;r++){var i=e[r];if(i!==" ")return i==="="?r:-1}}function LS(e,r){for(;r<e.length;r++){var i=e[r];if(i!==" ")return i==="'"||i==='"'?r:-1}}function DS(e,r){for(;r>0;r--){var i=e[r];if(i!==" ")return i==="="?r:-1}}function $S(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function Bl(e){return $S(e)?e.substr(1,e.length-2):e}Ji.parseTag=PS;Ji.parseAttr=OS;var jS=Ua.FilterCSS,it=Te,Ed=Ji,RS=Ed.parseTag,_S=Ed.parseAttr,zi=Ga;function Mi(e){return e==null}function kS(e){var r=zi.spaceIndex(e);if(r===-1)return{html:"",closing:e[e.length-2]==="/"};e=zi.trim(e.slice(r+1,-1));var i=e[e.length-1]==="/";return i&&(e=zi.trim(e.slice(0,-1))),{html:e,closing:i}}function BS(e){var r={};for(var i in e)r[i]=e[i];return r}function qS(e){var r={};for(var i in e)Array.isArray(e[i])?r[i.toLowerCase()]=e[i].map(function(t){return t.toLowerCase()}):r[i.toLowerCase()]=e[i];return r}function Ld(e){e=BS(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=it.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=qS(e.whiteList||e.allowList):e.whiteList=it.whiteList,e.onTag=e.onTag||it.onTag,e.onTagAttr=e.onTagAttr||it.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||it.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||it.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||it.safeAttrValue,e.escapeHtml=e.escapeHtml||it.escapeHtml,this.options=e,e.css===!1?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new jS(e.css))}Ld.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,i=r.options,t=i.whiteList,a=i.onTag,o=i.onIgnoreTag,n=i.onTagAttr,s=i.onIgnoreTagAttr,l=i.safeAttrValue,u=i.escapeHtml,d=r.cssFilter;i.stripBlankChar&&(e=it.stripBlankChar(e)),i.allowCommentTag||(e=it.stripCommentTag(e));var c=!1;i.stripIgnoreTagBody&&(c=it.StripTagBody(i.stripIgnoreTagBody,o),o=c.onIgnoreTag);var p=RS(e,function(f,m,y,b,I){var S={sourcePosition:f,position:m,isClosing:I,isWhite:Object.prototype.hasOwnProperty.call(t,y)},F=a(y,b,S);if(!Mi(F))return F;if(S.isWhite){if(S.isClosing)return"</"+y+">";var w=kS(b),T=t[y],E=_S(w.html,function(P,O){var j=zi.indexOf(T,P)!==-1,x=n(y,P,O,j);return Mi(x)?j?(O=l(y,P,O,d),O?P+'="'+O+'"':P):(x=s(y,P,O,j),Mi(x)?void 0:x):x});return b="<"+y,E&&(b+=" "+E),w.closing&&(b+=" /"),b+=">",b}else return F=o(y,b,S),Mi(F)?u(b):F},u);return c&&(p=c.remove(p)),p};var MS=Ld;(function(e,r){var i=Te,t=Ji,a=MS;function o(s,l){var u=new a(l);return u.process(s)}r=e.exports=o,r.filterXSS=o,r.FilterXSS=a,function(){for(var s in i)r[s]=i[s];for(var l in t)r[l]=t[l]}();function n(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}n()&&(self.filterXSS=e.exports)})(Ma,Ma.exports);var Pr=Ma.exports,NS=function(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;var r=Object.getPrototypeOf(e);if(r===null)return!0;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r},WS=function(){function e(r,i){var t=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],code:["style"],dd:["style"],del:["style"],details:["open","style"],div:["align","aria-hidden","aria-label","style"],dl:["style"],dt:["style"],em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],img:["alt","border","height","src","style","width"],li:[],main:["style"],mark:["style"],nav:["style"],ol:[],p:["style"],pre:["style"],section:["style"],source:["media","src","type"],span:["aria-hidden","aria-label","style"],strong:[],sub:["style"],summary:["style"],sup:["style"],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],time:["style"],u:[],ul:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=Ui(Ui({},Pr.getDefaultCSSWhiteList()),{"align-items":!0,"align-self":!0,flex:!0,"flex-basis":!0,"flex-direction":!0,"flex-flow":!0,"flex-grow":!0,"flex-shrink":!0,"flex-wrap":!0,float:!0,gap:!0,grid:!0,"grid-area":!0,"grid-auto-columns":!0,"grid-auto-flow":!0,"grid-auto-rows":!0,"grid-column":!0,"grid-column-end":!0,"grid-column-start":!0,"grid-row":!0,"grid-row-end":!0,"grid-row-start":!0,"grid-template":!0,"grid-template-areas":!0,"grid-template-columns":!0,"grid-template-rows":!0,"justify-content":!0,"justify-items":!0,"justify-self":!0,"line-height":!0,overflow:!0}),this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope"],this.arcgisFilterOptions={allowCommentTag:!0,safeAttrValue:function(o,n,s,l){return o==="a"&&n==="href"||(o==="img"||o==="source")&&n==="src"?t.sanitizeUrl(s):Pr.safeAttrValue(o,n,s,l)}},this._entityMap={"&":"&#x38;","<":"&#x3C;",">":"&#x3E;",'"':"&#x22;","'":"&#x27;","/":"&#x2F;"};var a;r&&!i?a=r:r&&i?(a=Object.create(this.arcgisFilterOptions),a.css={whiteList:this.arcgisCSSWhiteList},Object.keys(r).forEach(function(o){if(o==="whiteList")a.whiteList=t._extendObjectOfArrays([t.arcgisWhiteList,r.whiteList||{}]);else if(o==="css"){var n=r.css.whiteList;n!=null&&r.css instanceof Object&&Object.keys(n).forEach(function(s){return a.css.whiteList[s]=n[s]})}else a[o]=r[o]})):(a=Object.create(this.arcgisFilterOptions),a.whiteList=this.arcgisWhiteList,a.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=a,this._xssFilter=new Pr.FilterXSS(a)}return e.prototype.sanitize=function(r,i){switch(i===void 0&&(i={}),typeof r){case"number":return isNaN(r)||!isFinite(r)?null:r;case"boolean":return r;case"string":return this._xssFilter.process(r);case"object":return this._iterateOverObject(r,i);default:return i.allowUndefined&&typeof r>"u"?void 0:null}},e.prototype.sanitizeUrl=function(r,i){var t=(i??{}).isProtocolRequired,a=t===void 0?!0:t,o=this._trim(r.substring(0,r.indexOf(":"))),n=r==="/",s=/^#/.test(r),l=o&&this.allowedProtocols.indexOf(o.toLowerCase())>-1;return n||s||l?Pr.escapeAttrValue(r):!o&&!a?Pr.escapeAttrValue("https://".concat(r)):""},e.prototype.sanitizeHTMLAttribute=function(r,i,t,a){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(r,i,t,a):Pr.safeAttrValue(r,i,t,a)},e.prototype.validate=function(r,i){i===void 0&&(i={});var t=this.sanitize(r,i);return{isValid:r===t,sanitized:t}},e.prototype.encodeHTML=function(r){var i=this;return String(r).replace(/[&<>"'\/]/g,function(t){return i._entityMap[t]})},e.prototype.encodeAttrValue=function(r){var i=/^[a-zA-Z0-9]$/;return String(r).replace(/[\x00-\xFF]/g,function(t,a){return i.test(t)?t:"&#x".concat(Number(r.charCodeAt(a)).toString(16),";")})},e.prototype._extendObjectOfArrays=function(r){var i={};return r.forEach(function(t){Object.keys(t).forEach(function(a){Array.isArray(t[a])&&Array.isArray(i[a])?i[a]=i[a].concat(t[a]):i[a]=t[a]})}),i},e.prototype._iterateOverObject=function(r,i){var t=this;i===void 0&&(i={});try{var a=!1,o=void 0;if(Array.isArray(r))o=r.reduce(function(s,l){var u=t.validate(l,i);return u.isValid?s.concat([l]):(a=!0,s.concat([u.sanitized]))},[]);else if(NS(r)){var n=Object.keys(r);o=n.reduce(function(s,l){var u=r[l],d=t.validate(u,i);return d.isValid?s[l]=u:(a=!0,s[l]=d.sanitized),s},{})}else return i.allowUndefined&&typeof r>"u"?void 0:null;return a?o:r}catch{return null}},e.prototype._trim=function(r){return String.prototype.trim?r.trim():r.replace(/(^\s*)|(\s*$)/g,"")},e}(),V={NonSpecific:"nonSpecific",BarAndLineNoAggregation:"barAndLineNoAggregation",BarAndLineMonoField:"barAndLineMonoField",BarAndLineMultiFields:"barAndLineMultiFields",BarAndLineFromFields:"barAndLineFromFields",BarAndLineSplitBy:"barAndLineSplitBy",BarAndLineSplitByNoAggregation:"barAndLineSplitByNoAggregation",PieNoAggregation:"pieNoAggregation",PieFromCategory:"pieFromCategory",PieFromFields:"pieFromFields",BoxPlotMonoField:"boxPlotMonoField",BoxPlotMultiFields:"boxPlotMultiFields",BoxPlotMonoFieldAndCategory:"boxPlotMonoFieldAndCategory",BoxPlotMultiFieldsAndCategory:"boxPlotMultiFieldsAndCategory",BoxPlotMonoFieldAndSplitBy:"boxPlotMonoFieldAndSplitBy",BoxPlotMultiFieldsAndSplitBy:"boxPlotMultiFieldsAndSplitBy",BoxPlotMonoFieldAndCategoryAndSplitBy:"boxPlotMonoFieldAndCategoryAndSplitBy"},ej={SelectionByClick:"SelectionByClick",SelectionByRange:"SelectionByRange",ProgrammaticSelection:"ProgrammaticSelection",ClearSelection:"ClearSelection"};function tj(e){return e?.colorMatch??!1}function rj(e){let r=zr();if(e!==void 0){let i=Me(e.series);(i===D.BarSeries||i===D.LineSeries||i===D.ComboLineAndBarSeries||i===D.BoxPlotSeries)&&(r=e.rotated??zr())}return r}function ij(e){return e?.map(r=>r.type)??[]}function zS(e){let r=e?.stackedType;if(r===void 0&&e!==void 0){let i=Me(e.series);(i===D.BarSeries||i===D.LineSeries||i===D.ComboLineAndBarSeries||i===D.RadarSeries)&&(r=Qv())}return r}function VS(e){let r=e;return r=r.replace(/'/gu,"''"),r=r.replace(/[/\\"|[\]\\]/gu,"\\$&"),r}function US(e){let r=!1;if(typeof e!="number"){let i=new Intl.Segmenter;r=Array.from(i.segment(e),t=>t.segment).some(t=>t.charCodeAt(0)>255)}return r}function GS(e){let r=e,i="";e.startsWith("'")&&e.endsWith("'")&&(r=e.slice(1,-1),i="'"),r=r.replace(/'/gu,"''");let t="";return US(r)&&(t="N"),`${t}${i}${r}${i}`}function Dd(e){let{value:r,keepSurroundingQuotes:i,escape:t}=e,a=r?.trim();if(!ut(a)){let o="";a.startsWith("'")&&a.endsWith("'")&&(a=a.slice(1,-1),i&&(o="'")),t!==!1&&(a=VS(a)),a=`${o}${a}${o}`}return a}function aj(e){let{count:r,seriesCount:i,chartType:t,chartLimits:a}=e,{behaviorAfterLimit:o}=a??{},n=!0;if(o!==hd.RenderUpToTheLimit){let{maxBarChartSeriesCount:s,maxBarUniqueSeriesCountTotal:l,maxBarTwoSeriesCountPerSeries:u,maxBarTwoSeriesCountTotal:d,maxBarThreePlusSeriesCountPerSeries:c,maxBarThreePlusSeriesCountTotal:p,maxLineChartSeriesCount:f,maxLineUniqueSeriesCountTotal:m,maxLineTwoSeriesCountPerSeries:y,maxLineTwoSeriesCountTotal:b,maxLineThreePlusSeriesCountPerSeries:I,maxLineThreePlusSeriesCountTotal:S,maxPieChartSliceCountTotal:F,maxGaugeByFeaturesLimit:w,maxBoxPlotSeriesCount:T,maxBoxUniqueSeriesCountTotal:E,maxBoxTwoSeriesCountTotal:P,maxBoxTwoSeriesCountPerSeries:O,maxBoxThreePlusSeriesCountTotal:j,maxBoxThreePlusSeriesCountPerSeries:x}=Hv(a);switch(t){case D.BarSeries:case D.ComboLineAndBarSeries:{let C=r/i;i<=s?i===0?n=!0:i===1?n=r<=l:i===2?n=r<=d&&C<=u:i>2&&(n=r<=p&&C<=c):n=!1}break;case D.LineSeries:case D.RadarSeries:{let C=r/i;i<=f?i===0?n=!0:i===1?n=r<=m:i===2?n=r<=b&&C<=y:i>2&&(n=r<=S&&C<=I):n=!1}break;case D.PieSeries:n=r<=F;break;case D.BoxPlotSeries:{let C=r/i;i<=T?i===0?n=!0:i===1?n=r<=E:i===2?n=r<=P&&C<=O:i>2&&(n=r<=j&&C<=x):n=!1}break;case D.GaugeSeries:n=r<=w;break}}return n}function oj(e=[],r){let i=e.find(t=>t.name===r)?.alias;return i!==""?i??r:r}function nj(e=[],r){let i=e.find(t=>t.alias===r)?.name;return i!==""?i??r:r}function sj(e){let r=!1;switch(Me(e)){case D.PieSeries:r=!0;break;case D.BarSeries:case D.LineSeries:case D.RadarSeries:case D.ComboLineAndBarSeries:case D.BoxPlotSeries:r=e.length>1;break;case D.HistogramSeries:case D.ScatterSeries:{let i=e[0];r=i.overlays!==void 0&&Object.values(i.overlays).some(t=>t.created===!0);break}}return r}function HS(e){let r=!0;return Me(e.series)===D.ScatterSeries&&(r=e.series.length===1),r}function QS(e){let r=!0;return Me(e.series)===D.HistogramSeries&&(r=e.series.length<=1&&e.series[0].type===D.HistogramSeries&&(!("dataTransformationType"in e.series[0])||e.series[0].dataTransformationType!==void 0&&Object.values(ea).includes(e.series[0].dataTransformationType))),r}function KS(e){let r=!0;return Me(e.series)===D.PieSeries&&(r=e.series.length<=1),r}function lj(e,r){let i=Me(r?.series),t=e.includes(i);if(t&&r!==void 0)switch(i){case D.HistogramSeries:t=QS(r);break;case D.ScatterSeries:t=HS(r);break;case D.PieSeries:t=KS(r);break}return t}function ut(e){return e==null||typeof e=="string"&&e.trim()===""}function JS(e,r){let i=r.find(t=>t in e);return{isInItem:i!==void 0,expr:i}}function pj(e){return JS(e,Pv)}function dj(e,r){let i;switch(e){case _e.Second:i=r.seconds??"";break;case _e.Minute:i=r.minutes??"";break;case _e.Hour:i=r.hours??"";break;case _e.Day:i=r.days??"";break;case _e.Week:i=r.weeks??"";break;case _e.Month:i=r.months??"";break;case _e.Year:i=r.years??"";break;default:i="";break}return i}function cj(e){let r;switch(e){case lt.Mean:r=1;break;case lt.Median:r=2;break;case lt.StdDev:r=3;break;case lt.Normal:default:r=0;break}return r}function uj(e,r){if(r!==void 0){let{seriesId:i,overlayType:t,visible:a}=e.detail,o;switch(t){case lt.Mean:r.series[0].type===D.HistogramSeries&&(o=r.series[0].overlays?.mean);break;case lt.Median:r.series[0].type===D.HistogramSeries&&(o=r.series[0].overlays?.median);break;case lt.StdDev:r.series[0].type===D.HistogramSeries&&(o=r.series[0].overlays?.standardDeviation);break;case lt.Normal:r.series[0].type===D.HistogramSeries&&(o=r.series[0].overlays?.comparisonDistribution);break;case lt.Trendline:r.series[0].type===D.ScatterSeries&&(o=r.series[0].overlays?.trendLine);break;default:o=r.series.find(n=>n.id===i);break}o!==void 0&&(o.visible=a)}}function fj(e){return new WS().sanitize(e)}function hj(e){return e!=null&&!Number.isNaN(e)&&Number.isFinite(e)}function mj(e,r){let i;return r!==void 0&&(i={...r,rotated:e}),i}function yj(e,r){let i={fieldToSort:""};if(!ut(e)){let t=e.trim(),a=t.split(" ").at(-1)?.toUpperCase();a===vt.Ascending||a===vt.Descending?i={fieldToSort:t.substring(0,t.lastIndexOf(" ")),orderBy:a}:(i={fieldToSort:t},r!==!1&&(i.orderBy=vt.Ascending))}return i}function gj(e){return e===V.BarAndLineSplitBy||e===V.BarAndLineSplitByNoAggregation||e===V.BoxPlotMonoFieldAndSplitBy||e===V.BoxPlotMultiFieldsAndSplitBy||e===V.BoxPlotMonoFieldAndCategoryAndSplitBy}function bj(e){return e?.selectionOIDs===void 0||e.selectionOIDs.length===0}function vj(e={arrayA:[],arrayB:[],getKey:r=>r}){let{arrayA:r,arrayB:i,getKey:t}=e;if(i.length===0||r.length===0)return r;let a=new Map;i.forEach((l,u)=>{let d=t(l);a.set(d,u)});let o=[],n=[];r.forEach((l,u)=>{let d=t(l);a.has(d)&&(o.push(u),n.push(l))}),n.sort((l,u)=>{let d=t(l),c=t(u);return a.get(d)-a.get(c)});let s=[...r];return o.forEach((l,u)=>{s[l]=n[u]}),s}var Jt=["1.0.0","1.0.1","2.0.0","3.0.0","3.1.0","3.2.0","3.3.0","3.4.0","3.5.0","3.6.0","3.7.0","3.8.0","3.9.0","3.9.1","3.9.2","3.10.0","3.11.0","4.0.0","4.0.1","5.0.0","6.0.0","6.1.0","6.2.0","6.2.1","6.3.0","6.4.0","7.0.0","7.1.0","7.1.1","7.2.0","7.2.1","7.3.1","7.4.0","7.4.1","7.5.0","7.5.1","7.6.0","8.0.0","8.0.1","9.0.0","9.1.0","9.2.0","9.3.0","9.4.0","9.5.0","9.6.0","9.6.1","9.7.0","10.0.0","11.0.0","12.0.0","13.0.0","14.0.0","14.0.1","15.0.0","16.0.0","16.1.0","16.1.1","17.0.0","17.1.0","17.2.0","17.2.1","18.0.0","18.1.0","18.1.1","18.1.2","18.1.3","19.0.0","20.0.0","20.1.0","20.2.0","21.0.0","21.1.0","22.0.0","23.0.0","23.1.0","23.2.0"],ZS="1.0.0",XS="unrecognized.version",YS=[D.LineSeries,D.BarSeries,D.ComboLineAndBarSeries,D.RadarSeries];function xa(e,r){let i=0;if(e!==r){let t=e.split("."),a=r.split(".");for(let o=0;o<t.length;o+=1){let n=Number.parseInt(t[o],10),s=Number.parseInt(a[o],10);if(n>s||Number.isNaN(s)){i=1;break}if(n<s){i=-1;break}}}return i}function ew(e){return e!==void 0?/^([1-9]\d*|0)(\.(([1-9]\d*)|0)){2}$/u.test(e):!1}function tw(e){let r=Tt.Same,i=[];if(ew(e)&&e!==void 0){Jt.sort(xa);let t=xa(e,Jt[Jt.length-1]);if(t===1?r=Tt.Newer:t===-1&&(r=Tt.Older),r===Tt.Newer||r===Tt.Same)i.push(e);else{for(let a=Jt.length-2;a>=0;a-=1)if(xa(e,Jt[a])>=0){i=Jt.slice(a,Jt.length);break}i.length===0&&i.push(ZS)}}else r=Tt.Unrecognized,i.push(XS);return{versionStatus:r,versions:i}}function rw(e){let{series:r}=e,i=("showMean"in e?e.showMean:!1)===!0?r.find(t=>t.type===D.LineSeries):r[0];return i??=r[0],i}function Sj(e,r){let i=e!==null?e.toString():null,t=r!=null?r.toString():null;return t!==null&&t!==i?ke.SFS:ke.SLS}function Ha(e,r){let i="";return e!==void 0&&e.includes("=")&&(i=r!==!1?Dd({value:e.split("=")[0]}):e.split("=")[0].trim()),i}function Hr(e){let{where:r,normalize:i,keepSurroundingQuotes:t,escape:a}=e,o="";return r!==void 0&&r.includes("=")&&(o=r.split("=").slice(1).join("=").trim(),o==="null"?o=null:o.trim()!==""&&!Number.isNaN(Number(o))?o=Number(o):i===!1?a===!0&&(o=GS(o)):o=Dd({value:o,keepSurroundingQuotes:t,escape:a})),o}function Fr(e){let r=!1;if(e===void 0||e==="")r=!0;else if(e.includes("=")){let i=Ha(e,!1),t=Hr({where:e,normalize:!1});r=i===`${t}`}return r}function wj(e){let{where:r,normalize:i,escape:t}=e,a=i===void 0?!0:i,o=Ha(r),n=Hr({where:r,normalize:a,keepSurroundingQuotes:!0,escape:t}),s=r;return o!==""&&n!==""&&(s=`${o}=${n}`),s}function iw(e){let r=V.PieFromCategory;return e[0].query?.outStatistics===void 0?r=V.PieNoAggregation:e[0].query?.groupByFieldsForStatistics===void 0&&(r=V.PieFromFields),r}function aw(e){let r=V.BarAndLineMonoField,i=e[0].query?.where;return e[0].query?.groupByFieldsForStatistics===void 0&&(e[0].query?.outStatistics??[]).length>0?r=V.BarAndLineFromFields:i===void 0&&e[0].query?.outStatistics===void 0?r=V.BarAndLineNoAggregation:Fr(i)?e.length>1&&(r=V.BarAndLineMultiFields):r=e[0].query?.outStatistics===void 0?V.BarAndLineSplitByNoAggregation:V.BarAndLineSplitBy,r}function ow(e){let r=V.BoxPlotMonoField,i=e.length===1,t=e.find(s=>s.type===D.LineSeries)??e[0],{x:a}=t,o="y"in t?t.y:"",n=t.query?.where;switch(a){case Va:typeof o=="object"&&o.length>1?Fr(n)?i&&(r=V.BoxPlotMultiFields):r=V.BoxPlotMultiFieldsAndSplitBy:i?r=V.BoxPlotMonoField:Fr(n)||(r=V.BoxPlotMonoFieldAndSplitBy);break;default:i?r=V.BoxPlotMonoFieldAndCategory:Fr(n)?r=V.BoxPlotMultiFieldsAndCategory:r=V.BoxPlotMonoFieldAndCategoryAndSplitBy;break}return r}function Ct(e){let r=V.NonSpecific;if(e?.[0]!==void 0)switch(Me(e)){case D.PieSeries:r=iw(e);break;case D.RadarSeries:case D.BarSeries:case D.LineSeries:case D.ComboLineAndBarSeries:r=aw(e);break;case D.BoxPlotSeries:r=ow(e);break}return r}function xj(e){let{seriesConfig:r,xAxisValueFormatType:i,setTimeBinningInfoWhenNotProvided:t}=e,a=!1;if(nw(r)&&r.binTemporalData!==!1&&i===D.DateAxisFormat){let o=Ct([r]);if(r.temporalBinning&&o!==V.BarAndLineNoAggregation&&o!==V.BarAndLineSplitByNoAggregation){let{unit:n,size:s}=r.temporalBinning;a=t===!0||s!==void 0&&s>0&&n!==void 0}}return a}function nw(e){return YS.includes(e.type)}var ye={Min:"min",FirstQuartile:"first_quartile",Median:"median",ThirdQuartile:"third_quartile",Max:"max",IQR:"iqr",Average:"avg",StandardDeviation:"stddev",Outlier:"outlier"};function sw(e){let r=e===void 0||e==="";return{[ye.Average]:`${r?"":`${e}_`}${ye.Average}`,[ye.Min]:`${r?"":`${e}_`}${ye.Min}`,[ye.Max]:`${r?"":`${e}_`}${ye.Max}`,[ye.FirstQuartile]:`${r?"":`${e}_`}${ye.FirstQuartile}`,[ye.Median]:`${r?"":`${e}_`}${ye.Median}`,[ye.ThirdQuartile]:`${r?"":`${e}_`}${ye.ThirdQuartile}`,[ye.IQR]:`${r?"":`${e}_`}${ye.IQR}`,[ye.Outlier]:`${r?"":`${e}_`}${ye.Outlier}`,[ye.StandardDeviation]:`${r?"":`${e}_`}${ye.StandardDeviation}`}}function lw(e){return e.subType===bo.FeatureGauge}function Ij(e){let r;return e!==void 0&&("bins"in e?r=e.bins:"dataItems"in e&&(r=e.dataItems)),r}function pw(e){return e===V.BoxPlotMultiFields||e===V.BoxPlotMultiFieldsAndCategory||e===V.BoxPlotMultiFieldsAndSplitBy}function Hi(e){let{key:r,y:i,chartSubType:t,splitBy:a,splitByValue:o,showOutliers:n,standardizeValues:s}=e,l=o,u=sw(i)[r];return n===!0&&(r===ye.Min||r===ye.Max)&&(u=`${u}${Kv}`),s===!0&&(pw(t)||r===ye.Outlier)&&(u=`${u}${Jv}`),(o===void 0||`${o}`.trim()==="")&&(l=Hr({where:a,normalize:!0,escape:!1})),l!==void 0&&`${l}`.trim()!==""&&(u=`${l}${u!==""?`_${u}`:""}`),u}function Ia(e){let{dataItem:r,y:i,splitBy:t,showOutliers:a}=e,o=Hi({key:ye.FirstQuartile,y:i,splitBy:t,showOutliers:a}),n=Hi({key:ye.ThirdQuartile,y:i,splitBy:t,showOutliers:a});return Number.isFinite(r[o])||Number.isFinite(r[n])}function dw(e){let{configSeries:r,boxPlotDataItem:i,yList:t,showOutliers:a}=e,o=Ct(r),n=!1;switch(o){case V.BoxPlotMonoField:case V.BoxPlotMultiFields:case V.BoxPlotMonoFieldAndCategory:n=Ia({dataItem:i,showOutliers:a});break;case V.BoxPlotMultiFieldsAndCategory:n=t.some(s=>Ia({dataItem:i,y:s,showOutliers:a}));break;case V.BoxPlotMonoFieldAndSplitBy:case V.BoxPlotMultiFieldsAndSplitBy:case V.BoxPlotMonoFieldAndCategoryAndSplitBy:n=r.some(s=>Ia({dataItem:i,splitBy:s.query?.where,showOutliers:a}));break;default:n=!1;break}return n}function $d(e){return e.map(r=>r.id).filter(r=>r!=="undefined")}function Qi(e,r){let i=[],t=r??$d(e),a=Ct(e);return i=e.filter(o=>t.includes(o.id)).map(o=>{let n="y"in o?o.y:void 0;return n!==void 0&&a===V.BarAndLineSplitByNoAggregation&&(n=`${n.toString()}_${Hr({where:o.query?.where})}`),n}).filter(o=>o!==void 0),Array.from(new Set(i.flat()))}function cw(e){let{seriesConfig:r,filteredSeriesIds:i,showMean:t}=e,a=[];if(t===!0){let o=r.find(n=>n.type===D.BoxPlotSeries);o!==void 0&&"y"in o&&(a=[o.y].flat())}else a=Qi(r,i);return a}function Zt(e,r){return e===null&&r===!0||Number.isFinite(e)}function uw(e){let{dataItem:r,x:i,y:t,nullAsValid:a=!1}=e;return r[i]!==void 0&&(typeof r[i]!="number"||Number.isFinite(r[i]))&&Zt(r[t],a)}function Cj(e){let{chartConfig:r,nullAsValid:i=!1,dataSet:t}=e,a=!0;if(r!==void 0){let o=Me(r.series);if(t===void 0||t.length===0)a=!0;else{let n=Qi(r.series);a=!t.some(s=>{let l=!1;switch(o){case D.HistogramSeries:{let u=s;l=Zt(u.minValue,i)&&Zt(u.maxValue,i)}break;case D.ScatterSeries:{let u=s,{x:d,y:c}=r.series[0];l=Zt(u[d],i)&&Zt(u[c],i)}break;case D.ComboLineAndBarSeries:case D.RadarSeries:case D.LineSeries:case D.BarSeries:{let u=s,{x:d}=r.series[0];l=n.some(c=>uw({dataItem:u,x:d,y:c,nullAsValid:i}));break}case D.BoxPlotSeries:{let u=r.series,{showOutliers:d}=r;l=dw({configSeries:u,boxPlotDataItem:s,yList:n,showOutliers:d});break}case D.PieSeries:{let u=s,{x:d,y:c}=r.series[0];Ct(r.series)===V.PieFromFields&&(d=ei,c=aa);let p=u[c];l=u[d]!==void 0&&u[d]!==null&&!ca(p)&&Zt(Number(p),i)}break;case D.GaugeSeries:{let{x:u}=r.series[0];l=Zt(s[u],i)}break}return l})}}return a}function fw(e,r){let i=new Map,t=r??$d(e);return e.forEach(a=>{if(t.includes(a.id)&&"y"in a){let o=i.get(a.type)??[];o.push(a.y),i.set(a.type,o)}}),i}function hw(e){let{seriesConfig:r,filteredSeriesIds:i,filteredData:t}=e,a=fw(r,i),o=r.find(l=>l.type===D.LineSeries||l.type===D.RadarSeries)?.stackNegativeValuesToBaseline??!0,n=Number.MIN_SAFE_INTEGER,s=Number.MAX_SAFE_INTEGER;return t.forEach((l,u)=>{a.forEach(d=>{if(o){let c=[],p=[];for(let f=0;f<d.length;f+=1){let m=l[d[f]];m<0?p[u]=(p[u]??0)+m:c[u]=(c[u]??0)+m}c=c.filter(f=>Number.isFinite(f)).sort((f,m)=>f-m),p=p.filter(f=>Number.isFinite(f)).sort((f,m)=>f-m),n=Math.max(n,c.length>0?c[c.length-1]:p[p.length-1]),s=Math.min(s,p.length>0?p[0]:c[0])}else{let c=0;for(let p=0;p<d.length;p+=1){let f=l[d[p]];c+=f,n=Math.max(n,c),s=Math.min(s,c)}}})}),{stackedMinY:s,stackedMaxY:n}}function mw(e){let{dataItem:r,...i}=e,t=Hi({key:ye.Min,...i}),a=Hi({key:ye.Max,...i}),o=r[t],n=r[a];return{min:o,max:n}}function Tj(e){let r=Number.NaN,i=Number.NaN,t,a,{chartConfig:o,chartData:n,filteredSeriesIds:s}=e,{series:l}=o;if(l?.length>0){let{x:u}=l[0],d=n.filter(c=>c[u]!==null);if([t,a]=Nr(d,c=>c[u]),o.axes?.[1]?.valueFormat.type===D.DateAxisFormat&&t!==void 0&&a!==void 0&&([t,a]=[new Date(t).valueOf(),new Date(a).valueOf()]),Me(o.series)===D.BoxPlotSeries){r=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let c=Qi(l,s),p=Ct(l),f="standardizeValues"in o?o.standardizeValues===!0:void 0,m=o.series.map(y=>y.visible!==!1?Hr({where:y.query?.where}):"");m.length===0&&m.push(" ");for(let y=0;y<d.length;y+=1)for(let b=0;b<c.length;b+=1){let I=p===V.BoxPlotMultiFieldsAndCategory?c[b]:void 0;for(let S=0;S<m.length;S+=1){let{min:F,max:w}=mw({y:I,splitByValue:m[S],chartSubType:p,showOutliers:!1,standardizeValues:f,dataItem:d[y]});F!=null&&F<r&&(r=F),w!=null&&w>i&&(i=w)}}}else switch(zS(o)){case Rr.Stacked100:{r=Number.NaN,i=Number.NaN;break}case Rr.Stacked:{let{stackedMinY:c,stackedMaxY:p}=hw({seriesConfig:l,filteredData:d,filteredSeriesIds:s});r=c,i=p;break}case Rr.Side:default:{r=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let c=Qi(l,s);for(let p=0;p<c.length;p+=1){let f=c[p],[m,y]=Nr(d,b=>b[f]);m!==void 0&&m<r&&(r=m),y!==void 0&&y>i&&(i=y)}break}}}return{minY:r,maxY:i,minX:t,maxX:a}}async function ft(e=fd().locale){let r=await import("./P6J7OVH6.js");switch(e){case q.Arabic:r=await import("./262MHUOF.js");break;case q.Bosnian:r=await import("./5RDIX46H.js");break;case q.Bulgarian:r=await import("./TXCQLDUX.js");break;case q.Catalan:r=await import("./OFORP4TY.js");break;case q.Czech:r=await import("./KQNK3HNO.js");break;case q.Danish:r=await import("./YXTSFCYT.js");break;case q.German:r=await import("./2BYXDNZQ.js");break;case q.Greek:r=await import("./JJIW4VXO.js");break;case q.EnglishUSA:r=await import("./H2J7JGOL.js");break;case q.Spanish:r=await import("./2C6PW52F.js");break;case q.Estonian:r=await import("./F273V7HE.js");break;case q.Finnish:r=await import("./NADZTUSP.js");break;case q.French:r=await import("./GFTSRCA3.js");break;case q.Hebrew:r=await import("./2VBX5OJK.js");break;case q.Croatian:r=await import("./77B5DTMH.js");break;case q.Hungarian:r=await import("./R3JLC3JX.js");break;case q.Indonesian:r=await import("./4QSPM53P.js");break;case q.Italian:r=await import("./RORNH2SW.js");break;case q.Japanese:r=await import("./SMESPTFU.js");break;case q.Korean:r=await import("./W5NQN4C2.js");break;case q.Lithuanian:r=await import("./DXATO4QP.js");break;case q.Latvian:r=await import("./SB6CRPZB.js");break;case q.NorwegianBokml:r=await import("./SRQEB3XG.js");break;case q.Dutch:r=await import("./34ZID2NY.js");break;case q.Polish:r=await import("./VBCIM2J2.js");break;case q.PortugueseBrazil:r=await import("./ZTATS24W.js");break;case q.PortuguesePortugal:r=await import("./QQXZFRBG.js");break;case q.Romanian:r=await import("./5KDIRIC4.js");break;case q.Russian:r=await import("./5TCLQYP3.js");break;case q.Serbian:r=await import("./HV4ZN4UZ.js");break;case q.Slovak:r=await import("./CESM6J6R.js");break;case q.Slovenian:r=await import("./TFKJTMW3.js");break;case q.Swedish:r=await import("./OMMQ36CM.js");break;case q.Thai:r=await import("./KE2YD5JZ.js");break;case q.Turkish:r=await import("./QV3MFIEM.js");break;case q.Ukrainian:r=await import("./YWUCQ6C4.js");break;case q.Vietnamese:r=await import("./EUBWOGC6.js");break;case q.ChineseChina:r=await import("./5DTPMXXV.js");break;case q.ChineseHongKong:r=await import("./43W5ZY7E.js");break;case q.ChineseTaiwan:r=await import("./XZKY3TQT.js");break;case q.English:}return r}var Bt=class extends Error{constructor(r,i,t){super(i),this.name=r,this.details=t}},qt={Default:"defaultError",LayerLoadFailure:"layerLoadFailure",QueryFeaturesError:"queryFeaturesError",ChartDisposed:"ChartDisposeError",LayerFieldsNotFound:"layerFieldsNotFound"};function Aj(e){return e!==void 0&&(!("url"in e)||!e.url)}function Qa(e){return e!==void 0&&"layer"in e}function yw(e){return e!==void 0&&"type"in e&&e.type==="feature"}function gw(e){return e!==void 0&&"type"in e&&e.type==="subtype-group"}function Ka(e){return e!==void 0&&"type"in e&&e.type==="subtype-sublayer"}function Pj(e){return yw(e)||Ka(e)}function Re(e){return Ka(e)?e.parent:e}function jd(e){return e.capabilities?.query?.supportsDistance||Re(e).sourceJSON?.advancedQueryCapabilities?.supportsQueryWithDistance===!0}function bw(e,r){return e.capabilities?.queryAttributeBins?.supportsDate===!0&&(ut(r)||e.capabilities?.queryAttributeBins?.supportsStackBy)}function Fj(e){let r=!1,i=Re(qe(e)).sourceJSON;if(i){let t=i.queryBinsCapabilities?.supportsFixedIntervalBin,a=i.queryBinsCapabilities?.supportedStatisticTypes,o=[Ie.Maximum,Ie.Count].every(n=>a?.includes(n.toUpperCase())||a?.includes(n.toLowerCase()));r=t&&o}return r}function Oj(e){let r;return Qa(e)?r=e.layer:r=e,r}function qe(e){let r;return Qa(e)?r=e.layer:r=e,r}function vw(e){let r=!1,i=Re(e).sourceJSON?.advancedQueryCapabilities?.supportedSpatialAggregationStatistics??[],t=e.capabilities?.query.supportedSpatialAggregationStatistics??{};return r=i.includes("EnvelopeAggregate")||"envelope"in t&&t.envelope===!0,r}function Ej(e){let{chartConfig:r,queryObject:i}=e,t,a=qe(i);return a&&(t={id:a.id,layerType:"ArcGISFeatureLayer"},a.url&&(t.url=a.url)),{...r,iLayer:t}}var Vr=new Map;function Sw(e){let r;switch(e){case Ut.Feet:r="esriSRUnit_Foot";break;case Ut.Miles:r="esriSRUnit_StatuteMile";break;case Ut.NauticalMiles:r="esriSRUnit_NauticalMile";break;case Ut.USNauticalMiles:r="esriSRUnit_USNauticalMile";break;case Ut.Meters:r="esriSRUnit_Meter";break;case Ut.Kilometers:r="esriSRUnit_Kilometer";break}return r}async function Lj(e){let{queryObject:r,queryConfig:i,outputFormat:t,dataFormat:a,outAnalytics:o}=e,{where:n,geometry:s,distance:l,units:u,timeExtent:d}=i,c,p=qe(r),f=Re(p),m={query:{where:Ur([n,f.definitionExpression])}},y=Ja(s)?.extent?.toJSON();if(y!==void 0){let I=Sw(u),{xmin:S,ymin:F,xmax:w,ymax:T}=y;m.query={...m.query,geometryType:"esriGeometryEnvelope",geometry:`${S},${F},${w},${T}`,distance:l,units:I,inSR:s?.spatialReference?.wkid}}d&&(m.query.time=`${d[0]},${d[1]}`);let b=`${f.url}/${f.layerId}/queryAnalytic?f=${t}&dataFormat=${a}&outAnalytics=${o}`;try{c=(await Ba(b,m)).data?.features?.[0]?.attributes}catch(I){let S=await ft();throw new Bt(qt.QueryFeaturesError,S.queryError,I)}return c}function ww(e,r){return{lowerBoundaryAlias:`charts_lower_boundary_${e}`,upperBoundaryAlias:`charts_upper_boundary_${e}`,stackAlias:`charts_stack_alias_${r}`}}async function Dj(e){let{queryObject:r,queryConfig:i,xStep:t,xMin:a,xMax:o,x:n,y:s,yStep:l,errorStrings:u}=e,d;if(r&&"queryAttributeBins"in r&&Number.isFinite(t)&&Number.isFinite(l)&&Number.isFinite(a)&&Number.isFinite(o)&&t>0&&l>0){let c=Lw({queryObject:r,queryConfig:i,xStep:t,xMin:a,xMax:o,x:n,y:s,yStep:l});try{d=await r.queryAttributeBins(c)}catch(p){throw new Bt(qt.QueryFeaturesError,u.errors.queryError,p)}}return d}async function $j(e){let{queryConfig:r,x:i,queryObject:t,chartSubType:a,isGaugeByFeature:o}=e,n=qe(t),s;if(t!==void 0){let l=n.objectIdField,{where:u,gdbVersion:d,timeExtent:c,geometry:p,distance:f,units:m}=r,y=Pw(c),b=Ja(p),I=Re(n),S=Ur([u,I.definitionExpression]),F={returnDistinctValues:!0,outFields:o===!0||a===V.PieNoAggregation||a===V.BarAndLineNoAggregation||a===V.BarAndLineSplitByNoAggregation?[l]:[i],where:S,gdbVersion:d??I.gdbVersion,timeExtent:y??I.timeExtent,geometry:b};_d(F)&&(F.cacheHint=!0),F.geometry!==void 0&&jd(n)&&(f!==void 0&&(F.distance=f),m!==void 0&&(F.units=m));try{s=await t.queryFeatureCount(F)}catch{s=Number.NaN}}return s}async function jj(e){let{queryObject:r,queryConfig:i,abortKey:t}=e,{outStatistics:a}=i,o=new Map;if(r!==void 0&&a!==void 0&&a.length>0){let n=a.map(d=>{let{statisticType:c,onStatisticField:p,outStatisticFieldName:f}=d;return{statisticType:c,onStatisticField:p,outStatisticFieldName:f?.toUpperCase()}});i.outStatistics=n,delete i.num,delete i.orderByFields;let s=Bd({queryObject:r,queryConfig:i}),l;try{l=await r.queryFeatures(s,{signal:t!==void 0?Vr.get(t)?.signal:void 0})}catch(d){if(!za.isAbortError(d)){let c=await ft();throw new Bt(qt.QueryFeaturesError,c.queryError,d)}}let u=l?.features?.[0]?.attributes;u!==void 0&&a.forEach(d=>{let{outStatisticFieldName:c}=d;if(c!==void 0){let p=u[c.toLowerCase()]??u[c.toUpperCase()]??u[c];p!==void 0&&o.set(c,p)}})}return o}async function Rd(e){let{queryObject:r,queryConfig:i,returnUniqueIdsOnly:t,abortKey:a}=e,o=[],n=qe(r);if(r!==void 0){let s=Dw(n),l=Bd({queryObject:r,queryConfig:i,maxRecordCountFactor:s});try{t===!0?"queryObjectIds"in r?o=await r.queryObjectIds(l):(l.outFields=[n.objectIdField],o=(await r.queryFeatures(l,{signal:a!==void 0?Vr.get(a)?.signal:void 0})).features.map(u=>u.attributes[n.objectIdField])):o=(await r.queryFeatures(l,{signal:a!==void 0?Vr.get(a)?.signal:void 0})).features}catch(u){if(!za.isAbortError(u)){let d=await ft();throw new Bt(qt.QueryFeaturesError,d.queryError,u)}}}return o}async function xw(e){let r=[],{featureCount:i,maxRecords:t,queryConfig:a}=e,o=[],n=0,s=a?.start??0;for(;n<Xt.maxParallelRequests&&s<i;){let l={...e};l.queryConfig={...a,start:s,num:Math.min(t,i-s)},r.push(Rd(l)),s+=t,n+=1}return o=(await Promise.all(r)).flat(),o}async function Iw(e){let{queryObject:r,queryConfig:i,returnUniqueIdsOnly:t,featureCount:a,noBatch:o,abortKey:n}=e,s=[],l=qe(r);if(r!==void 0){let u=a??1,d=kd(l);if(o!==!0&&u>d&&l.capabilities?.query.supportsPagination){let c=0,p=0,f=Math.ceil(u/d),m=Math.ceil(f/Xt.maxParallelRequests),y=[];for(;p<m;){c=p*Xt.maxParallelRequests*d;let b=xw({queryConfig:{...i,start:c},queryObject:r,maxRecords:d,featureCount:u,returnUniqueIdsOnly:t,abortKey:n});y.push(b),p+=1}s=(await Promise.all(y)).flat()}else(Number.isNaN(u)||u>=0)&&(s=await Rd({queryObject:r,queryConfig:i,returnUniqueIdsOnly:t,abortKey:n}))}return s}async function Rj(e){let{queryObject:r,queryConfig:i,uniqueFeature:t,abortKey:a}=e,o={...i,returnDistinctValues:!0};return await Iw({queryObject:r,abortKey:a,queryConfig:o,returnUniqueIdsOnly:!0,featureCount:t===!0?1:void 0})}function _j(e){if(e!==void 0){let r=Vr.get(e);r!==void 0&&r.abort(),Vr.set(e,new AbortController)}}function Cw(e){return{lowerBoundaryAlias:`charts_lower_boundary_${e}`,upperBoundaryAlias:`charts_upper_boundary_${e}`}}async function kj(e){let{queryObject:r,dateField:i,splitByField:t,queryConfig:a,temporalBinning:o}=e,n=[],s;if(o){let{unit:l}=o;try{if(l){let u=Re(qe(r));if(s=bw(u,t),s&&r&&"queryAttributeBins"in r){let d=Ew({queryObject:r,queryConfig:a,temporalBinning:o,dateField:i,splitByField:t});n=(await r.queryAttributeBins(d)).features}}}catch(u){let d=await ft();throw new Bt(qt.QueryFeaturesError,d.queryError,u)}}if(s===!1){let l=await ft();throw new Bt(qt.QueryFeaturesError,l.queryBinsNotSupported,l.queryBinsNotSupported)}return n}function _d(e){let r=!e.geometry||e.geometry.type==="extent",i=(e.where??"").toUpperCase(),t=!i.includes("CURRENT_TIMESTAMP")&&!i.includes("CURRENT_DATE")&&!i.includes("CURRENT_TIME");return r&&t}function kd(e){let r=Re(e)?.sourceJSON,i=r?.maxRecordCount??Xt.maxRecords;return r?.advancedQueryCapabilities?.supportsMaxRecordCountFactor&&r?.maxRecordCount!==void 0&&(i=r.maxRecordCount*Xt.maxRecordCountFactor),i}function Ur(e,r){let i,t=Array.from(new Set(e)).filter(a=>a!=null&&a!==""&&!Fr(a));return t.sort((a,o)=>o.length-a.length),t.length===1?[i]=t:t?.forEach(a=>{a!==void 0&&(ut(i)?i=`(${a})`:i?.includes(`(${a})`)||(i=`${i} ${r??"AND"} (${a})`))}),i??"1=1"}function Tw(e,r){let i=r;if(e!==void 0){let t=qe(e),a=Re(t).timeExtent;a?.start!=null&&a?.end!=null&&(i=[a.start.valueOf(),a.end.valueOf()])}return i}function Aw(e){let{queryObject:r,defaultGeometry:i,ignoreViewExtent:t}=e,a=i;if(!t&&Qa(r)){let o=r.view.extent,{xmin:n,xmax:s,ymin:l,ymax:u,zmin:d,zmax:c,spatialReference:p}=o;a={xmin:n,ymin:l,zmin:d,xmax:s,ymax:u,zmax:c,spatialReference:p}}return a}function Pw(e){let r;return e!==void 0&&(r=new ud({start:new Date(e[0]),end:new Date(e[1])})),r}function Ja(e){let r;return e!==void 0&&(r=Wa.fromJSON(e)),r}function Fw(e){return e===void 0?["*"]:Array.from(new Set(e))}function Za(e){let{queryObject:r,queryConfig:i,queryType:t}=e,{where:a,outStatistics:o,geometry:n,distance:s,units:l,timeExtent:u,returnDistinctValues:d}=i??{},c=t==="Query"?new xv({}):new wv({}),p=qe(r),f=Re(p),m=[a,f.definitionExpression];if(c.where=Ur(m),c.returnDistinctValues=d??!1,o!==void 0){let I=vw(p);c.outStatistics=o.filter(S=>S.statisticType!==Ie.EnvelopeAggregate||I).map(S=>Iv.fromJSON(S))}let y=Ja(n);y!==void 0&&(c.geometry=y,i?.spatialRelationship&&(c.spatialRelationship=i.spatialRelationship),jd(p)&&(s!==void 0&&(c.distance=s),l!==void 0&&(c.units=l)));let b;return u&&(b=new ud({start:u?.[0],end:u?.[1]})),b!==void 0?c.timeExtent=b:f.timeExtent!==void 0&&(c.timeExtent=f.timeExtent),_d(c)&&(c.cacheHint=!0),c}function Ow(e){let r;switch(e){case ar.Start:r="first";break;case ar.End:r="last";break}return r}function Ew(e){let{queryObject:r,queryConfig:i,temporalBinning:t,dateField:a,splitByField:o}=e,n=qe(r),s=Za({queryObject:r,queryConfig:i,queryType:"AttributeBinsQuery"}),{type:l,unit:u,size:d,trimIncompleteTimeInterval:c,timeAggregationType:p}=t,{start:f,end:m,offset:y,outTimeZone:b}=l===ta.CalendarBased?t:{},I=Cw(a);if(s.lowerBoundaryAlias=I.lowerBoundaryAlias,s.upperBoundaryAlias=I.upperBoundaryAlias,s.outTimeZone=b??Intl.DateTimeFormat().resolvedOptions().timeZone,s.binParameters={type:"date",field:a,interval:{unit:u,value:d},start:f,end:m,offset:y?{unit:y.unit,value:y.size}:null},s.binParameters.type==="date"&&(n.capabilities?.queryAttributeBins?.supportsSnapToData&&(s.binParameters.snapToData=Ow(p)),n.capabilities?.queryAttributeBins?.supportsReturnFullIntervalBin&&(s.binParameters.returnFullIntervalBin=c===!1)),!ut(o)){let S=Re(n).fields.find(F=>F.name===o)?.type;(!S||S==="string"||S==="integer"||S==="small-integer"||S==="big-integer"||S==="double")&&(s.binParameters.stackBy={type:"field",value:o,valueType:S==="string"?"string":"integer"})}return s}function Lw(e){let{queryObject:r,queryConfig:i,xStep:t,xMin:a,xMax:o,x:n,y:s,yStep:l}=e,u=Za({queryObject:r,queryConfig:i,queryType:"AttributeBinsQuery"}),d=ww(n,s);return u.lowerBoundaryAlias=d.lowerBoundaryAlias,u.upperBoundaryAlias=d.upperBoundaryAlias,u.binParameters={type:"fixed-interval",field:n,interval:t,start:a,end:o,stackBy:{value:`FLOOR(${s} / ${l})`,type:"expression",alias:d.stackAlias,valueType:"integer"}},u}function Bd(e){let{queryObject:r,queryConfig:i,maxRecordCountFactor:t}=e,{groupByFieldsForStatistics:a,orderByFields:o,gdbVersion:n,start:s,num:l,outFields:u}=i??{},d=Za({queryObject:r,queryConfig:i,queryType:"Query"});d.returnGeometry=!1;let c=qe(r),p=Re(c);return d.outFields=Fw(u),d.groupByFieldsForStatistics=a??d.groupByFieldsForStatistics,d.orderByFields=o??[],d.objectIds=i?.objectIds,t!==void 0&&(d.maxRecordCountFactor=t),n!==void 0&&n!==""?d.gdbVersion=n:p.gdbVersion!==void 0&&p.gdbVersion!==""&&(d.gdbVersion=p.gdbVersion),l!==void 0&&(d.num=l),s!==void 0&&(d.start=s,d.num=d.num??kd(c)),d}function Dw(e){return Re(e)?.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor===!0?Xt.maxRecordCountFactor:void 0}function Bj(e){let r,i,t;return e!==void 0&&(r=e.type,(r===Yr.UniqueValue||r===Yr.ClassBreaks)&&(i=e.field??void 0,r===Yr.ClassBreaks&&(t=e.normalizationField??void 0))),{rendererType:r,rendererField:i,rendererNormalizationField:t}}var $w=(0,cd.default)(async e=>{let r=e.featureCollection,i,t;if(r?.layers?.[0]!==void 0){let n=r.layers[0];i=n.featureSet,t=n.layerDefinition}else t=e.layerDefinition;let a={};if(i!==void 0){if(a.source=bv.fromJSON(i).features,t?.fields!==void 0&&(a.fields=t.fields.map(n=>gv.fromJSON(n))),t?.objectIdField!==void 0&&(a.objectIdField=t.objectIdField),t?.geometryType!==void 0){let n=Wa.fromJSON({geometryType:t.geometryType});n?.type!==void 0&&n?.type!=="extent"&&(a.geometryType=n.type)}t?.spatialReference!==void 0&&(a.spatialReference=t.spatialReference)}else a.id=e.id,t?.id!==void 0&&(a.layerId=t.id),e.url!==void 0&&(a.url=e.url),e.itemId!==void 0&&t?.id!==void 0&&(a.portalItem={id:e.itemId});if(t!==void 0){let n=t.drawingInfo;n?.renderer!==void 0&&(a.renderer=dd.fromJSON(n.renderer))}let o=new vv(a);return await o.load(),o});async function qj(e){let{layer:r,view:i,chartConfig:t}=e,a;if(r!==void 0){let o=qe(r),n=Re(o);if(i!==void 0&&!n.isTable){n.outFields=["*"];let s=u=>"highlight"in u,l=await i.whenLayerView(n);s(l)&&(a=l)}else a=r}else"iLayer"in t&&t.iLayer&&(a=await $w(t.iLayer));return a}async function Xa(e,r){let i=qe(e),t=[];if(i!==void 0){await i.load();let a=r===!0&&i?.popupTemplate?.fieldInfos!==void 0;t=i.fields.map(o=>{let n=o.toJSON();if(a){let s=i.popupTemplate?.fieldInfos?.find(l=>l.fieldName?.toLowerCase()===o.name.toLowerCase())?.label;s!==void 0&&s!==o.name&&(n.alias=s)}return n})}return t}function Ya(e,r=[]){return r.find(i=>i.name===e)}function Mj(e){return e.find(r=>r.type===Be.OID)?.name??""}function qd(e){return[Be.Single,Be.Double,Be.SmallInteger,Be.Integer,Be.BigInteger].includes(e.type)}function Nj(e){return e.type===Be.Date}function Wj(e){return[Be.SmallInteger,Be.Integer,Be.BigInteger].includes(e.type)}function zj(e){return e.filter(r=>r.type===Be.Date||r.type===Be.DateOnly||r.type===Be.TimestampOffset).map(r=>r.name)}function Vj(e){return e.filter(r=>qd(r)).map(r=>r.name)}function jw(e){let{subtypeInfo:r,fieldName:i,fieldValueToMatch:t}=e,a,o=n=>`${n.id}`==`${t}`;return r?.subtypeField===i&&r.subtypes?a=r.subtypes.find(o)?.name:r?.typeIdField===i&&r.types&&(a=r.types.find(o)?.name),a}function ql(e,r){let i=[],t=gw(e)?e.subtypes:e[r];return t?.[0]!==void 0&&t.forEach(a=>{let{name:o,domains:n}=a,s="id"in a?a.id:void 0;!s&&"code"in a&&(s=a.code);let l=Object.entries(n??{}),u=[],d=l?.filter(([c,p])=>p?.type==="coded-value")?.map(([c,p])=>{let f={fieldName:c,name:o,codedValues:u};if(p&&"codedValues"in p){let m=p.codedValues.map(({code:y,name:b})=>({name:b,code:y}));f={fieldName:c,name:p.name,codedValues:m}}return f});i.push({id:s??"",name:o,domains:d})}),i.length===0?void 0:i}function Uj(e){let r;if(e!==void 0){let i=qe(e);if(!Ka(i)&&!ut(i?.typeIdField)){let t=ql(i,"types");t!==void 0&&(r={typeIdField:i.typeIdField??void 0,types:t})}if(!ut(i?.subtypeField)){let t=Re(i),a=ql(t,"subtypes");a!==void 0&&(r={...r,subtypeField:t.subtypeField??void 0,subtypes:a})}}return r}function Gj(e){let{fieldName:r,fieldValueToMatch:i,subtypeInfo:t,fieldList:a}=e,o;if((typeof i!="string"||!ut(i))&&!ut(r)&&(o=jw({subtypeInfo:t,fieldName:r,fieldValueToMatch:i}),o===void 0)){let n=Ya(r,a);if(t?.types!==void 0){let s=t?.types;for(let l of s){let u=l.domains?.filter(d=>d.fieldName===n?.name)??[];for(let d of u)if(o=d?.codedValues?.find(c=>`${c.code}`===i)?.name,o!==void 0)break;if(o!==void 0)break}}o===void 0&&n?.domain!==void 0&&n.domain.type==="codedValue"&&(o=n.domain.codedValues?.find(s=>`${s.code}`==`${i}`)?.name)}return o}async function Hj(e){let r=[];return!Re(e).isTable&&e.fieldsIndex&&(r=await pd.getRendererFields(e.renderer,e.fieldsIndex)),r}function Rw(e){let r="/rest/services",i=e.toLowerCase(),t=i.indexOf(r);return i=t>-1?e.substring(0,t):e,`${i}/rest/info`}async function Qj(e){let r=!0,i=".arcgis.com/",t=e.url,a=t?.includes(i);if(t&&a&&Re(e).sourceJSON.serviceItemId!==void 0){let o=Rw(t);try{let n=(await Ba(o,{query:{f:"json"}})).data;if(n.owningTenant!==void 0&&n.owningSystemUrl!==void 0){let s=`${n.owningSystemUrl}/sharing/rest/portals/${n.owningTenant}`,l=(await Ba(s,{authMode:"auto",query:{f:"json"}})).data,u=new Sv({sourceJSON:l});await u.load(),r=u?.sourceJSON?.subscriptionInfo?.dataStoreLevel===void 0}}catch{}}return r}async function _w(e){let{queryObject:r,fieldToMatch:i,returnUndefinedIfNotFound:t}=e,a=await Xa(r),o=a.find(s=>i===s.name);o||(o=a.find(s=>i.toUpperCase()===s.name.toUpperCase()));let n=t?"":i;return o?.name??n}async function Kj(e){let{fieldsList:r,queryObject:i,returnUndefinedIfNotFound:t}=e,a=r;return a!==void 0&&(a=await Promise.all(a.map(async o=>await _w({queryObject:i,fieldToMatch:o,returnUndefinedIfNotFound:t})))),a}function Jj(e){let{queryObject:r,chartConfig:i,runtimeDataFilters:t,ignoreViewExtent:a}=e,{series:o,dataFilters:n}=i,{where:s,gdbVersion:l,timeExtent:u,geometry:d,distance:c,units:p,objectIds:f,spatialRelationship:m}=n??{},{where:y,gdbVersion:b,timeExtent:I,geometry:S,distance:F,units:w,objectIds:T,spatialRelationship:E}=t??{},P=o[0],{query:O}=P,{where:j}=O??{},x=Ct(o),C={...O};return C.where=Ur([s,y]),x!==V.BarAndLineSplitBy&&x!==V.BoxPlotMonoFieldAndSplitBy&&x!==V.BoxPlotMonoFieldAndCategoryAndSplitBy&&x!==V.BoxPlotMultiFieldsAndSplitBy&&x!==V.BarAndLineSplitByNoAggregation&&(C.where=Ur([C.where,j])),i.orderOptions?.orderByFields!==void 0&&(C.orderByFields=i.orderOptions.orderByFields),C.gdbVersion=b??l,C.timeExtent=Tw(r,I??u),C.geometry=Aw({queryObject:r,defaultGeometry:S??d,ignoreViewExtent:a}),C.distance=F??c,C.units=w??p,C.objectIds=T??f,C.spatialRelationship=E??m,O?.outStatistics?.[0]?.statisticType===Ie.Count&&(C.returnDistinctValues=O?.returnDistinctValues??!1),C}var Zj=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function kw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Vi={exports:{}};var Bw=Vi.exports,Ml;function qw(){return Ml||(Ml=1,function(e,r){(function(i,t){t(r)})(Bw,function(i){function t(){for(var h=arguments.length,g=Array(h),v=0;v<h;v++)g[v]=arguments[v];if(g.length>1){g[0]=g[0].slice(0,-1);for(var L=g.length-1,$=1;$<L;++$)g[$]=g[$].slice(1,-1);return g[L]=g[L].slice(1),g.join("")}else return g[0]}function a(h){return"(?:"+h+")"}function o(h){return h===void 0?"undefined":h===null?"null":Object.prototype.toString.call(h).split(" ").pop().split("]").shift().toLowerCase()}function n(h){return h.toUpperCase()}function s(h){return h!=null?h instanceof Array?h:typeof h.length!="number"||h.split||h.setInterval||h.call?[h]:Array.prototype.slice.call(h):[]}function l(h,g){var v=h;if(g)for(var L in g)v[L]=g[L];return v}function u(h){var g="[A-Za-z]",v="[0-9]",L=t(v,"[A-Fa-f]"),$=a(a("%[EFef]"+L+"%"+L+L+"%"+L+L)+"|"+a("%[89A-Fa-f]"+L+"%"+L+L)+"|"+a("%"+L+L)),G="[\\:\\/\\?\\#\\[\\]\\@]",U="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",oe=t(G,U),Fe=h?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",de=h?"[\\uE000-\\uF8FF]":"[]",re=t(g,v,"[\\-\\.\\_\\~]",Fe);a(g+t(g,v,"[\\+\\-\\.]")+"*"),a(a($+"|"+t(re,U,"[\\:]"))+"*");var he=a(a("25[0-5]")+"|"+a("2[0-4]"+v)+"|"+a("1"+v+v)+"|"+a("0?[1-9]"+v)+"|0?0?"+v),Pe=a(he+"\\."+he+"\\."+he+"\\."+he),ee=a(L+"{1,4}"),Oe=a(a(ee+"\\:"+ee)+"|"+Pe),ce=a(a(ee+"\\:")+"{6}"+Oe),Ue=a("\\:\\:"+a(ee+"\\:")+"{5}"+Oe),ir=a(a(ee)+"?\\:\\:"+a(ee+"\\:")+"{4}"+Oe),Xe=a(a(a(ee+"\\:")+"{0,1}"+ee)+"?\\:\\:"+a(ee+"\\:")+"{3}"+Oe),gt=a(a(a(ee+"\\:")+"{0,2}"+ee)+"?\\:\\:"+a(ee+"\\:")+"{2}"+Oe),Wt=a(a(a(ee+"\\:")+"{0,3}"+ee)+"?\\:\\:"+ee+"\\:"+Oe),zt=a(a(a(ee+"\\:")+"{0,4}"+ee)+"?\\:\\:"+Oe),Ge=a(a(a(ee+"\\:")+"{0,5}"+ee)+"?\\:\\:"+ee),bt=a(a(a(ee+"\\:")+"{0,6}"+ee)+"?\\:\\:"),Vt=a([ce,Ue,ir,Xe,gt,Wt,zt,Ge,bt].join("|")),st=a(a(re+"|"+$)+"+");a("[vV]"+L+"+\\."+t(re,U,"[\\:]")+"+"),a(a($+"|"+t(re,U))+"*");var Qr=a($+"|"+t(re,U,"[\\:\\@]"));return a(a($+"|"+t(re,U,"[\\@]"))+"+"),a(a(Qr+"|"+t("[\\/\\?]",de))+"*"),{NOT_SCHEME:new RegExp(t("[^]",g,v,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",re,U),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",re,U),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",re,U),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",re,U),"g"),NOT_QUERY:new RegExp(t("[^\\%]",re,U,"[\\:\\@\\/\\?]",de),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",re,U,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",re,U),"g"),UNRESERVED:new RegExp(re,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",re,oe),"g"),PCT_ENCODED:new RegExp($,"g"),IPV4ADDRESS:new RegExp("^("+Pe+")$"),IPV6ADDRESS:new RegExp("^\\[?("+Vt+")"+a(a("\\%25|\\%(?!"+L+"{2})")+"("+st+")")+"?\\]?$")}}var d=u(!1),c=u(!0),p=function(){function h(g,v){var L=[],$=!0,G=!1,U=void 0;try{for(var oe=g[Symbol.iterator](),Fe;!($=(Fe=oe.next()).done)&&(L.push(Fe.value),!(v&&L.length===v));$=!0);}catch(de){G=!0,U=de}finally{try{!$&&oe.return&&oe.return()}finally{if(G)throw U}}return L}return function(g,v){if(Array.isArray(g))return g;if(Symbol.iterator in Object(g))return h(g,v);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=function(h){if(Array.isArray(h)){for(var g=0,v=Array(h.length);g<h.length;g++)v[g]=h[g];return v}else return Array.from(h)},m=2147483647,y=36,b=1,I=26,S=38,F=700,w=72,T=128,E="-",P=/^xn--/,O=/[^\0-\x7E]/,j=/[\x2E\u3002\uFF0E\uFF61]/g,x={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},C=y-b,k=Math.floor,B=String.fromCharCode;function M(h){throw new RangeError(x[h])}function J(h,g){for(var v=[],L=h.length;L--;)v[L]=g(h[L]);return v}function Z(h,g){var v=h.split("@"),L="";v.length>1&&(L=v[0]+"@",h=v[1]),h=h.replace(j,".");var $=h.split("."),G=J($,g).join(".");return L+G}function K(h){for(var g=[],v=0,L=h.length;v<L;){var $=h.charCodeAt(v++);if($>=55296&&$<=56319&&v<L){var G=h.charCodeAt(v++);(G&64512)==56320?g.push((($&1023)<<10)+(G&1023)+65536):(g.push($),v--)}else g.push($)}return g}var X=function(h){return String.fromCodePoint.apply(String,f(h))},Q=function(h){return h-48<10?h-22:h-65<26?h-65:h-97<26?h-97:y},fe=function(h,g){return h+22+75*(h<26)-((g!=0)<<5)},$e=function(h,g,v){var L=0;for(h=v?k(h/F):h>>1,h+=k(h/g);h>C*I>>1;L+=y)h=k(h/C);return k(L+(C+1)*h/(h+S))},Ee=function(h){var g=[],v=h.length,L=0,$=T,G=w,U=h.lastIndexOf(E);U<0&&(U=0);for(var oe=0;oe<U;++oe)h.charCodeAt(oe)>=128&&M("not-basic"),g.push(h.charCodeAt(oe));for(var Fe=U>0?U+1:0;Fe<v;){for(var de=L,re=1,he=y;;he+=y){Fe>=v&&M("invalid-input");var Pe=Q(h.charCodeAt(Fe++));(Pe>=y||Pe>k((m-L)/re))&&M("overflow"),L+=Pe*re;var ee=he<=G?b:he>=G+I?I:he-G;if(Pe<ee)break;var Oe=y-ee;re>k(m/Oe)&&M("overflow"),re*=Oe}var ce=g.length+1;G=$e(L-de,ce,de==0),k(L/ce)>m-$&&M("overflow"),$+=k(L/ce),L%=ce,g.splice(L++,0,$)}return String.fromCodePoint.apply(String,g)},xe=function(h){var g=[];h=K(h);var v=h.length,L=T,$=0,G=w,U=!0,oe=!1,Fe=void 0;try{for(var de=h[Symbol.iterator](),re;!(U=(re=de.next()).done);U=!0){var he=re.value;he<128&&g.push(B(he))}}catch(jr){oe=!0,Fe=jr}finally{try{!U&&de.return&&de.return()}finally{if(oe)throw Fe}}var Pe=g.length,ee=Pe;for(Pe&&g.push(E);ee<v;){var Oe=m,ce=!0,Ue=!1,ir=void 0;try{for(var Xe=h[Symbol.iterator](),gt;!(ce=(gt=Xe.next()).done);ce=!0){var Wt=gt.value;Wt>=L&&Wt<Oe&&(Oe=Wt)}}catch(jr){Ue=!0,ir=jr}finally{try{!ce&&Xe.return&&Xe.return()}finally{if(Ue)throw ir}}var zt=ee+1;Oe-L>k((m-$)/zt)&&M("overflow"),$+=(Oe-L)*zt,L=Oe;var Ge=!0,bt=!1,Vt=void 0;try{for(var st=h[Symbol.iterator](),Qr;!(Ge=(Qr=st.next()).done);Ge=!0){var uo=Qr.value;if(uo<L&&++$>m&&M("overflow"),uo==L){for(var Kr=$,Jr=y;;Jr+=y){var Zr=Jr<=G?b:Jr>=G+I?I:Jr-G;if(Kr<Zr)break;var fo=Kr-Zr,ho=y-Zr;g.push(B(fe(Zr+fo%ho,0))),Kr=k(fo/ho)}g.push(B(fe(Kr,0))),G=$e($,zt,ee==Pe),$=0,++ee}}}catch(jr){bt=!0,Vt=jr}finally{try{!Ge&&st.return&&st.return()}finally{if(bt)throw Vt}}++$,++L}return g.join("")},ot=function(h){return Z(h,function(g){return P.test(g)?Ee(g.slice(4).toLowerCase()):g})},ze=function(h){return Z(h,function(g){return O.test(g)?"xn--"+xe(g):g})},A={version:"2.1.0",ucs2:{decode:K,encode:X},decode:Ee,encode:xe,toASCII:ze,toUnicode:ot},R={};function N(h){var g=h.charCodeAt(0),v=void 0;return g<16?v="%0"+g.toString(16).toUpperCase():g<128?v="%"+g.toString(16).toUpperCase():g<2048?v="%"+(g>>6|192).toString(16).toUpperCase()+"%"+(g&63|128).toString(16).toUpperCase():v="%"+(g>>12|224).toString(16).toUpperCase()+"%"+(g>>6&63|128).toString(16).toUpperCase()+"%"+(g&63|128).toString(16).toUpperCase(),v}function z(h){for(var g="",v=0,L=h.length;v<L;){var $=parseInt(h.substr(v+1,2),16);if($<128)g+=String.fromCharCode($),v+=3;else if($>=194&&$<224){if(L-v>=6){var G=parseInt(h.substr(v+4,2),16);g+=String.fromCharCode(($&31)<<6|G&63)}else g+=h.substr(v,6);v+=6}else if($>=224){if(L-v>=9){var U=parseInt(h.substr(v+4,2),16),oe=parseInt(h.substr(v+7,2),16);g+=String.fromCharCode(($&15)<<12|(U&63)<<6|oe&63)}else g+=h.substr(v,9);v+=9}else g+=h.substr(v,3),v+=3}return g}function _(h,g){function v(L){var $=z(L);return $.match(g.UNRESERVED)?$:L}return h.scheme&&(h.scheme=String(h.scheme).replace(g.PCT_ENCODED,v).toLowerCase().replace(g.NOT_SCHEME,"")),h.userinfo!==void 0&&(h.userinfo=String(h.userinfo).replace(g.PCT_ENCODED,v).replace(g.NOT_USERINFO,N).replace(g.PCT_ENCODED,n)),h.host!==void 0&&(h.host=String(h.host).replace(g.PCT_ENCODED,v).toLowerCase().replace(g.NOT_HOST,N).replace(g.PCT_ENCODED,n)),h.path!==void 0&&(h.path=String(h.path).replace(g.PCT_ENCODED,v).replace(h.scheme?g.NOT_PATH:g.NOT_PATH_NOSCHEME,N).replace(g.PCT_ENCODED,n)),h.query!==void 0&&(h.query=String(h.query).replace(g.PCT_ENCODED,v).replace(g.NOT_QUERY,N).replace(g.PCT_ENCODED,n)),h.fragment!==void 0&&(h.fragment=String(h.fragment).replace(g.PCT_ENCODED,v).replace(g.NOT_FRAGMENT,N).replace(g.PCT_ENCODED,n)),h}function W(h){return h.replace(/^0*(.*)/,"$1")||"0"}function H(h,g){var v=h.match(g.IPV4ADDRESS)||[],L=p(v,2),$=L[1];return $?$.split(".").map(W).join("."):h}function Y(h,g){var v=h.match(g.IPV6ADDRESS)||[],L=p(v,3),$=L[1],G=L[2];if($){for(var U=$.toLowerCase().split("::").reverse(),oe=p(U,2),Fe=oe[0],de=oe[1],re=de?de.split(":").map(W):[],he=Fe.split(":").map(W),Pe=g.IPV4ADDRESS.test(he[he.length-1]),ee=Pe?7:8,Oe=he.length-ee,ce=Array(ee),Ue=0;Ue<ee;++Ue)ce[Ue]=re[Ue]||he[Oe+Ue]||"";Pe&&(ce[ee-1]=H(ce[ee-1],g));var ir=ce.reduce(function(Ge,bt,Vt){if(!bt||bt==="0"){var st=Ge[Ge.length-1];st&&st.index+st.length===Vt?st.length++:Ge.push({index:Vt,length:1})}return Ge},[]),Xe=ir.sort(function(Ge,bt){return bt.length-Ge.length})[0],gt=void 0;if(Xe&&Xe.length>1){var Wt=ce.slice(0,Xe.index),zt=ce.slice(Xe.index+Xe.length);gt=Wt.join(":")+"::"+zt.join(":")}else gt=ce.join(":");return G&&(gt+="%"+G),gt}else return h}var ge=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,be="".match(/(){0}/)[1]===void 0;function ne(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v={},L=g.iri!==!1?c:d;g.reference==="suffix"&&(h=(g.scheme?g.scheme+":":"")+"//"+h);var $=h.match(ge);if($){be?(v.scheme=$[1],v.userinfo=$[3],v.host=$[4],v.port=parseInt($[5],10),v.path=$[6]||"",v.query=$[7],v.fragment=$[8],isNaN(v.port)&&(v.port=$[5])):(v.scheme=$[1]||void 0,v.userinfo=h.indexOf("@")!==-1?$[3]:void 0,v.host=h.indexOf("//")!==-1?$[4]:void 0,v.port=parseInt($[5],10),v.path=$[6]||"",v.query=h.indexOf("?")!==-1?$[7]:void 0,v.fragment=h.indexOf("#")!==-1?$[8]:void 0,isNaN(v.port)&&(v.port=h.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?$[4]:void 0)),v.host&&(v.host=Y(H(v.host,L),L)),v.scheme===void 0&&v.userinfo===void 0&&v.host===void 0&&v.port===void 0&&!v.path&&v.query===void 0?v.reference="same-document":v.scheme===void 0?v.reference="relative":v.fragment===void 0?v.reference="absolute":v.reference="uri",g.reference&&g.reference!=="suffix"&&g.reference!==v.reference&&(v.error=v.error||"URI is not a "+g.reference+" reference.");var G=R[(g.scheme||v.scheme||"").toLowerCase()];if(!g.unicodeSupport&&(!G||!G.unicodeSupport)){if(v.host&&(g.domainHost||G&&G.domainHost))try{v.host=A.toASCII(v.host.replace(L.PCT_ENCODED,z).toLowerCase())}catch(U){v.error=v.error||"Host's domain name can not be converted to ASCII via punycode: "+U}_(v,d)}else _(v,L);G&&G.parse&&G.parse(v,g)}else v.error=v.error||"URI can not be parsed.";return v}function ae(h,g){var v=g.iri!==!1?c:d,L=[];return h.userinfo!==void 0&&(L.push(h.userinfo),L.push("@")),h.host!==void 0&&L.push(Y(H(String(h.host),v),v).replace(v.IPV6ADDRESS,function($,G,U){return"["+G+(U?"%25"+U:"")+"]"})),(typeof h.port=="number"||typeof h.port=="string")&&(L.push(":"),L.push(String(h.port))),L.length?L.join(""):void 0}var le=/^\.\.?\//,Ve=/^\/\.(\/|$)/,mt=/^\/\.\.(\/|$)/,ve=/^\/?(?:.|\n)*?(?=\/|$)/;function Le(h){for(var g=[];h.length;)if(h.match(le))h=h.replace(le,"");else if(h.match(Ve))h=h.replace(Ve,"/");else if(h.match(mt))h=h.replace(mt,"/"),g.pop();else if(h==="."||h==="..")h="";else{var v=h.match(ve);if(v){var L=v[0];h=h.slice(L.length),g.push(L)}else throw new Error("Unexpected dot segment condition")}return g.join("")}function Se(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=g.iri?c:d,L=[],$=R[(g.scheme||h.scheme||"").toLowerCase()];if($&&$.serialize&&$.serialize(h,g),h.host&&!v.IPV6ADDRESS.test(h.host)&&(g.domainHost||$&&$.domainHost))try{h.host=g.iri?A.toUnicode(h.host):A.toASCII(h.host.replace(v.PCT_ENCODED,z).toLowerCase())}catch(oe){h.error=h.error||"Host's domain name can not be converted to "+(g.iri?"Unicode":"ASCII")+" via punycode: "+oe}_(h,v),g.reference!=="suffix"&&h.scheme&&(L.push(h.scheme),L.push(":"));var G=ae(h,g);if(G!==void 0&&(g.reference!=="suffix"&&L.push("//"),L.push(G),h.path&&h.path.charAt(0)!=="/"&&L.push("/")),h.path!==void 0){var U=h.path;!g.absolutePath&&(!$||!$.absolutePath)&&(U=Le(U)),G===void 0&&(U=U.replace(/^\/\//,"/%2F")),L.push(U)}return h.query!==void 0&&(L.push("?"),L.push(h.query)),h.fragment!==void 0&&(L.push("#"),L.push(h.fragment)),L.join("")}function Lr(h,g){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},L=arguments[3],$={};return L||(h=ne(Se(h,v),v),g=ne(Se(g,v),v)),v=v||{},!v.tolerant&&g.scheme?($.scheme=g.scheme,$.userinfo=g.userinfo,$.host=g.host,$.port=g.port,$.path=Le(g.path||""),$.query=g.query):(g.userinfo!==void 0||g.host!==void 0||g.port!==void 0?($.userinfo=g.userinfo,$.host=g.host,$.port=g.port,$.path=Le(g.path||""),$.query=g.query):(g.path?(g.path.charAt(0)==="/"?$.path=Le(g.path):((h.userinfo!==void 0||h.host!==void 0||h.port!==void 0)&&!h.path?$.path="/"+g.path:h.path?$.path=h.path.slice(0,h.path.lastIndexOf("/")+1)+g.path:$.path=g.path,$.path=Le($.path)),$.query=g.query):($.path=h.path,g.query!==void 0?$.query=g.query:$.query=h.query),$.userinfo=h.userinfo,$.host=h.host,$.port=h.port),$.scheme=h.scheme),$.fragment=g.fragment,$}function Zi(h,g,v){var L=l({scheme:"null"},v);return Se(Lr(ne(h,L),ne(g,L),L,!0),L)}function Xi(h,g){return typeof h=="string"?h=Se(ne(h,g),g):o(h)==="object"&&(h=ne(Se(h,g),g)),h}function Ud(h,g,v){return typeof h=="string"?h=Se(ne(h,v),v):o(h)==="object"&&(h=Se(h,v)),typeof g=="string"?g=Se(ne(g,v),v):o(g)==="object"&&(g=Se(g,v)),h===g}function Gd(h,g){return h&&h.toString().replace(!g||!g.iri?d.ESCAPE:c.ESCAPE,N)}function yt(h,g){return h&&h.toString().replace(!g||!g.iri?d.PCT_ENCODED:c.PCT_ENCODED,z)}var Dr={scheme:"http",domainHost:!0,parse:function(h,g){return h.host||(h.error=h.error||"HTTP URIs must have a host."),h},serialize:function(h,g){var v=String(h.scheme).toLowerCase()==="https";return(h.port===(v?443:80)||h.port==="")&&(h.port=void 0),h.path||(h.path="/"),h}},io={scheme:"https",domainHost:Dr.domainHost,parse:Dr.parse,serialize:Dr.serialize};function ao(h){return typeof h.secure=="boolean"?h.secure:String(h.scheme).toLowerCase()==="wss"}var $r={scheme:"ws",domainHost:!0,parse:function(h,g){var v=h;return v.secure=ao(v),v.resourceName=(v.path||"/")+(v.query?"?"+v.query:""),v.path=void 0,v.query=void 0,v},serialize:function(h,g){if((h.port===(ao(h)?443:80)||h.port==="")&&(h.port=void 0),typeof h.secure=="boolean"&&(h.scheme=h.secure?"wss":"ws",h.secure=void 0),h.resourceName){var v=h.resourceName.split("?"),L=p(v,2),$=L[0],G=L[1];h.path=$&&$!=="/"?$:void 0,h.query=G,h.resourceName=void 0}return h.fragment=void 0,h}},oo={scheme:"wss",domainHost:$r.domainHost,parse:$r.parse,serialize:$r.serialize},Hd={},no="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",nt="[0-9A-Fa-f]",Qd=a(a("%[EFef]"+nt+"%"+nt+nt+"%"+nt+nt)+"|"+a("%[89A-Fa-f]"+nt+"%"+nt+nt)+"|"+a("%"+nt+nt)),Kd="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",Jd="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",Zd=t(Jd,'[\\"\\\\]'),Xd="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Yd=new RegExp(no,"g"),rr=new RegExp(Qd,"g"),ec=new RegExp(t("[^]",Kd,"[\\.]",'[\\"]',Zd),"g"),so=new RegExp(t("[^]",no,Xd),"g"),tc=so;function Yi(h){var g=z(h);return g.match(Yd)?g:h}var lo={scheme:"mailto",parse:function(h,g){var v=h,L=v.to=v.path?v.path.split(","):[];if(v.path=void 0,v.query){for(var $=!1,G={},U=v.query.split("&"),oe=0,Fe=U.length;oe<Fe;++oe){var de=U[oe].split("=");switch(de[0]){case"to":for(var re=de[1].split(","),he=0,Pe=re.length;he<Pe;++he)L.push(re[he]);break;case"subject":v.subject=yt(de[1],g);break;case"body":v.body=yt(de[1],g);break;default:$=!0,G[yt(de[0],g)]=yt(de[1],g);break}}$&&(v.headers=G)}v.query=void 0;for(var ee=0,Oe=L.length;ee<Oe;++ee){var ce=L[ee].split("@");if(ce[0]=yt(ce[0]),g.unicodeSupport)ce[1]=yt(ce[1],g).toLowerCase();else try{ce[1]=A.toASCII(yt(ce[1],g).toLowerCase())}catch(Ue){v.error=v.error||"Email address's domain name can not be converted to ASCII via punycode: "+Ue}L[ee]=ce.join("@")}return v},serialize:function(h,g){var v=h,L=s(h.to);if(L){for(var $=0,G=L.length;$<G;++$){var U=String(L[$]),oe=U.lastIndexOf("@"),Fe=U.slice(0,oe).replace(rr,Yi).replace(rr,n).replace(ec,N),de=U.slice(oe+1);try{de=g.iri?A.toUnicode(de):A.toASCII(yt(de,g).toLowerCase())}catch(ee){v.error=v.error||"Email address's domain name can not be converted to "+(g.iri?"Unicode":"ASCII")+" via punycode: "+ee}L[$]=Fe+"@"+de}v.path=L.join(",")}var re=h.headers=h.headers||{};h.subject&&(re.subject=h.subject),h.body&&(re.body=h.body);var he=[];for(var Pe in re)re[Pe]!==Hd[Pe]&&he.push(Pe.replace(rr,Yi).replace(rr,n).replace(so,N)+"="+re[Pe].replace(rr,Yi).replace(rr,n).replace(tc,N));return he.length&&(v.query=he.join("&")),v}},rc=/^([^\:]+)\:(.*)/,po={scheme:"urn",parse:function(h,g){var v=h.path&&h.path.match(rc),L=h;if(v){var $=g.scheme||L.scheme||"urn",G=v[1].toLowerCase(),U=v[2],oe=$+":"+(g.nid||G),Fe=R[oe];L.nid=G,L.nss=U,L.path=void 0,Fe&&(L=Fe.parse(L,g))}else L.error=L.error||"URN can not be parsed.";return L},serialize:function(h,g){var v=g.scheme||h.scheme||"urn",L=h.nid,$=v+":"+(g.nid||L),G=R[$];G&&(h=G.serialize(h,g));var U=h,oe=h.nss;return U.path=(L||g.nid)+":"+oe,U}},ic=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,co={scheme:"urn:uuid",parse:function(h,g){var v=h;return v.uuid=v.nss,v.nss=void 0,!g.tolerant&&(!v.uuid||!v.uuid.match(ic))&&(v.error=v.error||"UUID is not valid."),v},serialize:function(h,g){var v=h;return v.nss=(h.uuid||"").toLowerCase(),v}};R[Dr.scheme]=Dr,R[io.scheme]=io,R[$r.scheme]=$r,R[oo.scheme]=oo,R[lo.scheme]=lo,R[po.scheme]=po,R[co.scheme]=co,i.SCHEMES=R,i.pctEncChar=N,i.pctDecChars=z,i.parse=ne,i.removeDotSegments=Le,i.serialize=Se,i.resolveComponents=Lr,i.resolve=Zi,i.normalize=Xi,i.equal=Ud,i.escapeComponent=Gd,i.unescapeComponent=yt,Object.defineProperty(i,"__esModule",{value:!0})})}(Vi,Vi.exports)),Vi.exports}var Nl,Wl;function eo(){return Wl||(Wl=1,Nl=function e(r,i){if(r===i)return!0;if(r&&i&&typeof r=="object"&&typeof i=="object"){if(r.constructor!==i.constructor)return!1;var t,a,o;if(Array.isArray(r)){if(t=r.length,t!=i.length)return!1;for(a=t;a--!==0;)if(!e(r[a],i[a]))return!1;return!0}if(r.constructor===RegExp)return r.source===i.source&&r.flags===i.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===i.valueOf();if(r.toString!==Object.prototype.toString)return r.toString()===i.toString();if(o=Object.keys(r),t=o.length,t!==Object.keys(i).length)return!1;for(a=t;a--!==0;)if(!Object.prototype.hasOwnProperty.call(i,o[a]))return!1;for(a=t;a--!==0;){var n=o[a];if(!e(r[n],i[n]))return!1}return!0}return r!==r&&i!==i}),Nl}var zl,Vl;function Mw(){return Vl||(Vl=1,zl=function(e){for(var r=0,i=e.length,t=0,a;t<i;)r++,a=e.charCodeAt(t++),a>=55296&&a<=56319&&t<i&&(a=e.charCodeAt(t),(a&64512)==56320&&t++);return r}),zl}var Ca,Ul;function Er(){if(Ul)return Ca;Ul=1,Ca={copy:e,checkDataType:r,checkDataTypes:i,coerceToTypes:a,toHash:o,getProperty:l,escapeQuotes:u,equal:eo(),ucs2length:Mw(),varOccurences:d,varReplace:c,schemaHasRules:p,schemaHasRulesExcept:f,schemaUnknownRules:m,toQuotedString:y,getPathExpr:b,getPath:I,getData:w,unescapeFragment:E,unescapeJsonPointer:j,escapeFragment:P,escapeJsonPointer:O};function e(x,C){C=C||{};for(var k in x)C[k]=x[k];return C}function r(x,C,k,B){var M=B?" !== ":" === ",J=B?" || ":" && ",Z=B?"!":"",K=B?"":"!";switch(x){case"null":return C+M+"null";case"array":return Z+"Array.isArray("+C+")";case"object":return"("+Z+C+J+"typeof "+C+M+'"object"'+J+K+"Array.isArray("+C+"))";case"integer":return"(typeof "+C+M+'"number"'+J+K+"("+C+" % 1)"+J+C+M+C+(k?J+Z+"isFinite("+C+")":"")+")";case"number":return"(typeof "+C+M+'"'+x+'"'+(k?J+Z+"isFinite("+C+")":"")+")";default:return"typeof "+C+M+'"'+x+'"'}}function i(x,C,k){switch(x.length){case 1:return r(x[0],C,k,!0);default:var B="",M=o(x);M.array&&M.object&&(B=M.null?"(":"(!"+C+" || ",B+="typeof "+C+' !== "object")',delete M.null,delete M.array,delete M.object),M.number&&delete M.integer;for(var J in M)B+=(B?" && ":"")+r(J,C,k,!0);return B}}var t=o(["string","number","integer","boolean","null"]);function a(x,C){if(Array.isArray(C)){for(var k=[],B=0;B<C.length;B++){var M=C[B];(t[M]||x==="array"&&M==="array")&&(k[k.length]=M)}if(k.length)return k}else{if(t[C])return[C];if(x==="array"&&C==="array")return["array"]}}function o(x){for(var C={},k=0;k<x.length;k++)C[x[k]]=!0;return C}var n=/^[a-z$_][a-z$_0-9]*$/i,s=/'|\\/g;function l(x){return typeof x=="number"?"["+x+"]":n.test(x)?"."+x:"['"+u(x)+"']"}function u(x){return x.replace(s,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function d(x,C){C+="[^0-9]";var k=x.match(new RegExp(C,"g"));return k?k.length:0}function c(x,C,k){return C+="([^0-9])",k=k.replace(/\$/g,"$$$$"),x.replace(new RegExp(C,"g"),k+"$1")}function p(x,C){if(typeof x=="boolean")return!x;for(var k in x)if(C[k])return!0}function f(x,C,k){if(typeof x=="boolean")return!x&&k!="not";for(var B in x)if(B!=k&&C[B])return!0}function m(x,C){if(typeof x!="boolean"){for(var k in x)if(!C[k])return k}}function y(x){return"'"+u(x)+"'"}function b(x,C,k,B){var M=k?"'/' + "+C+(B?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):B?"'[' + "+C+" + ']'":"'[\\'' + "+C+" + '\\']'";return T(x,M)}function I(x,C,k){var B=y(k?"/"+O(C):l(C));return T(x,B)}var S=/^\/(?:[^~]|~0|~1)*$/,F=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function w(x,C,k){var B,M,J,Z;if(x==="")return"rootData";if(x[0]=="/"){if(!S.test(x))throw new Error("Invalid JSON-pointer: "+x);M=x,J="rootData"}else{if(Z=x.match(F),!Z)throw new Error("Invalid JSON-pointer: "+x);if(B=+Z[1],M=Z[2],M=="#"){if(B>=C)throw new Error("Cannot access property/index "+B+" levels up, current level is "+C);return k[C-B]}if(B>C)throw new Error("Cannot access data "+B+" levels up, current level is "+C);if(J="data"+(C-B||""),!M)return J}for(var K=J,X=M.split("/"),Q=0;Q<X.length;Q++){var fe=X[Q];fe&&(J+=l(j(fe)),K+=" && "+J)}return K}function T(x,C){return x=='""'?C:(x+" + "+C).replace(/([^\\])' \+ '/g,"$1")}function E(x){return j(decodeURIComponent(x))}function P(x){return encodeURIComponent(O(x))}function O(x){return x.replace(/~/g,"~0").replace(/\//g,"~1")}function j(x){return x.replace(/~1/g,"/").replace(/~0/g,"~")}return Ca}var Ta,Gl;function Md(){if(Gl)return Ta;Gl=1;var e=Er();Ta=r;function r(i){e.copy(i,this)}return Ta}var Aa={exports:{}},Hl;function Nw(){if(Hl)return Aa.exports;Hl=1;var e=Aa.exports=function(t,a,o){typeof a=="function"&&(o=a,a={}),o=a.cb||o;var n=typeof o=="function"?o:o.pre||function(){},s=o.post||function(){};r(a,n,s,t,"",t)};e.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0},e.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},e.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},e.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function r(t,a,o,n,s,l,u,d,c,p){if(n&&typeof n=="object"&&!Array.isArray(n)){a(n,s,l,u,d,c,p);for(var f in n){var m=n[f];if(Array.isArray(m)){if(f in e.arrayKeywords)for(var y=0;y<m.length;y++)r(t,a,o,m[y],s+"/"+f+"/"+y,l,s,f,n,y)}else if(f in e.propsKeywords){if(m&&typeof m=="object")for(var b in m)r(t,a,o,m[b],s+"/"+f+"/"+i(b),l,s,f,n,b)}else(f in e.keywords||t.allKeys&&!(f in e.skipKeywords))&&r(t,a,o,m,s+"/"+f,l,s,f,n)}o(n,s,l,u,d,c,p)}}function i(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}return Aa.exports}var Pa,Ql;function to(){if(Ql)return Pa;Ql=1;var e=qw(),r=eo(),i=Er(),t=Md(),a=Nw();Pa=o,o.normalizeId=I,o.fullPath=m,o.url=S,o.ids=F,o.inlineRef=c,o.schema=n;function o(w,T,E){var P=this._refs[E];if(typeof P=="string")if(this._refs[P])P=this._refs[P];else return o.call(this,w,T,P);if(P=P||this._schemas[E],P instanceof t)return c(P.schema,this._opts.inlineRefs)?P.schema:P.validate||this._compile(P);var O=n.call(this,T,E),j,x,C;return O&&(j=O.schema,T=O.root,C=O.baseId),j instanceof t?x=j.validate||w.call(this,j.schema,T,void 0,C):j!==void 0&&(x=c(j,this._opts.inlineRefs)?j:w.call(this,j,T,void 0,C)),x}function n(w,T){var E=e.parse(T),P=y(E),O=m(this._getId(w.schema));if(Object.keys(w.schema).length===0||P!==O){var j=I(P),x=this._refs[j];if(typeof x=="string")return s.call(this,w,x,E);if(x instanceof t)x.validate||this._compile(x),w=x;else if(x=this._schemas[j],x instanceof t){if(x.validate||this._compile(x),j==I(T))return{schema:x,root:w,baseId:O};w=x}else return;if(!w.schema)return;O=m(this._getId(w.schema))}return u.call(this,E,O,w.schema,w)}function s(w,T,E){var P=n.call(this,w,T);if(P){var O=P.schema,j=P.baseId;w=P.root;var x=this._getId(O);return x&&(j=S(j,x)),u.call(this,E,j,O,w)}}var l=i.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function u(w,T,E,P){if(w.fragment=w.fragment||"",w.fragment.slice(0,1)=="/"){for(var O=w.fragment.split("/"),j=1;j<O.length;j++){var x=O[j];if(x){if(x=i.unescapeFragment(x),E=E[x],E===void 0)break;var C;if(!l[x]&&(C=this._getId(E),C&&(T=S(T,C)),E.$ref)){var k=S(T,E.$ref),B=n.call(this,P,k);B&&(E=B.schema,P=B.root,T=B.baseId)}}}if(E!==void 0&&E!==P.schema)return{schema:E,root:P,baseId:T}}}var d=i.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function c(w,T){if(T===!1)return!1;if(T===void 0||T===!0)return p(w);if(T)return f(w)<=T}function p(w){var T;if(Array.isArray(w)){for(var E=0;E<w.length;E++)if(T=w[E],typeof T=="object"&&!p(T))return!1}else for(var P in w)if(P=="$ref"||(T=w[P],typeof T=="object"&&!p(T)))return!1;return!0}function f(w){var T=0,E;if(Array.isArray(w)){for(var P=0;P<w.length;P++)if(E=w[P],typeof E=="object"&&(T+=f(E)),T==1/0)return 1/0}else for(var O in w){if(O=="$ref")return 1/0;if(d[O])T++;else if(E=w[O],typeof E=="object"&&(T+=f(E)+1),T==1/0)return 1/0}return T}function m(w,T){T!==!1&&(w=I(w));var E=e.parse(w);return y(E)}function y(w){return e.serialize(w).split("#")[0]+"#"}var b=/#\/?$/;function I(w){return w?w.replace(b,""):""}function S(w,T){return T=I(T),e.resolve(w,T)}function F(w){var T=I(this._getId(w)),E={"":T},P={"":m(T,!1)},O={},j=this;return a(w,{allKeys:!0},function(x,C,k,B,M,J,Z){if(C!==""){var K=j._getId(x),X=E[B],Q=P[B]+"/"+M;if(Z!==void 0&&(Q+="/"+(typeof Z=="number"?Z:i.escapeFragment(Z))),typeof K=="string"){K=X=I(X?e.resolve(X,K):K);var fe=j._refs[K];if(typeof fe=="string"&&(fe=j._refs[fe]),fe&&fe.schema){if(!r(x,fe.schema))throw new Error('id "'+K+'" resolves to more than one schema')}else if(K!=I(Q))if(K[0]=="#"){if(O[K]&&!r(x,O[K]))throw new Error('id "'+K+'" resolves to more than one schema');O[K]=x}else j._refs[K]=Q}E[C]=X,P[C]=Q}}),O}return Pa}var Fa,Kl;function ro(){if(Kl)return Fa;Kl=1;var e=to();Fa={Validation:t(r),MissingRef:t(i)};function r(a){this.message="validation failed",this.errors=a,this.ajv=this.validation=!0}i.message=function(a,o){return"can't resolve reference "+o+" from id "+a};function i(a,o,n){this.message=n||i.message(a,o),this.missingRef=e.url(a,o),this.missingSchema=e.normalizeId(e.fullPath(this.missingRef))}function t(a){return a.prototype=Object.create(Error.prototype),a.prototype.constructor=a,a}return Fa}var Jl,Zl;function Nd(){return Zl||(Zl=1,Jl=function(e,r){r||(r={}),typeof r=="function"&&(r={cmp:r});var i=typeof r.cycles=="boolean"?r.cycles:!1,t=r.cmp&&function(o){return function(n){return function(s,l){var u={key:s,value:n[s]},d={key:l,value:n[l]};return o(u,d)}}}(r.cmp),a=[];return function o(n){if(n&&n.toJSON&&typeof n.toJSON=="function"&&(n=n.toJSON()),n!==void 0){if(typeof n=="number")return isFinite(n)?""+n:"null";if(typeof n!="object")return JSON.stringify(n);var s,l;if(Array.isArray(n)){for(l="[",s=0;s<n.length;s++)s&&(l+=","),l+=o(n[s])||"null";return l+"]"}if(n===null)return"null";if(a.indexOf(n)!==-1){if(i)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var u=a.push(n)-1,d=Object.keys(n).sort(t&&t(n));for(l="",s=0;s<d.length;s++){var c=d[s],p=o(n[c]);p&&(l&&(l+=","),l+=JSON.stringify(c)+":"+p)}return a.splice(u,1),"{"+l+"}"}}(e)}),Jl}var Xl,Yl;function Wd(){return Yl||(Yl=1,Xl=function(e,r,i){var t="",a=e.schema.$async===!0,o=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),n=e.self._getId(e.schema);if(e.opts.strictKeywords){var s=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(s){var l="unknown keyword: "+s;if(e.opts.strictKeywords==="log")e.logger.warn(l);else throw new Error(l)}}if(e.isTop&&(t+=" var validate = ",a&&(e.async=!0,t+="async "),t+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",n&&(e.opts.sourceCode||e.opts.processCode)&&(t+=" "+("/*# sourceURL="+n+" */")+" ")),typeof e.schema=="boolean"||!(o||e.schema.$ref)){var r="false schema",u=e.level,d=e.dataLevel,c=e.schema[r],p=e.schemaPath+e.util.getProperty(r),f=e.errSchemaPath+"/"+r,w=!e.opts.allErrors,P,m="data"+(d||""),F="valid"+u;if(e.schema===!1){e.isTop?w=!0:t+=" var "+F+" = false; ";var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(P||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'boolean schema is false' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&w?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?a?t+=" return data; ":t+=" validate.errors = null; return true; ":t+=" var "+F+" = true; ";return e.isTop&&(t+=" }; return validate; "),t}if(e.isTop){var I=e.isTop,u=e.level=0,d=e.dataLevel=0,m="data";if(e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[""],e.schema.default!==void 0&&e.opts.useDefaults&&e.opts.strictDefaults){var S="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(S);else throw new Error(S)}t+=" var vErrors = null; ",t+=" var errors = 0; ",t+=" if (rootData === undefined) rootData = data; "}else{var u=e.level,d=e.dataLevel,m="data"+(d||"");if(n&&(e.baseId=e.resolve.url(e.baseId,n)),a&&!e.async)throw new Error("async schema in sync schema");t+=" var errs_"+u+" = errors;"}var F="valid"+u,w=!e.opts.allErrors,T="",E="",P,O=e.schema.type,j=Array.isArray(O);if(O&&e.opts.nullable&&e.schema.nullable===!0&&(j?O.indexOf("null")==-1&&(O=O.concat("null")):O!="null"&&(O=[O,"null"],j=!0)),j&&O.length==1&&(O=O[0],j=!1),e.schema.$ref&&o){if(e.opts.extendRefs=="fail")throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)');e.opts.extendRefs!==!0&&(o=!1,e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"'))}if(e.schema.$comment&&e.opts.$comment&&(t+=" "+e.RULES.all.$comment.code(e,"$comment")),O){if(e.opts.coerceTypes)var x=e.util.coerceToTypes(e.opts.coerceTypes,O);var C=e.RULES.types[O];if(x||j||C===!0||C&&!le(C)){var p=e.schemaPath+".type",f=e.errSchemaPath+"/type",p=e.schemaPath+".type",f=e.errSchemaPath+"/type",k=j?"checkDataTypes":"checkDataType";if(t+=" if ("+e.util[k](O,m,e.opts.strictNumbers,!0)+") { ",x){var B="dataType"+u,M="coerced"+u;t+=" var "+B+" = typeof "+m+"; var "+M+" = undefined; ",e.opts.coerceTypes=="array"&&(t+=" if ("+B+" == 'object' && Array.isArray("+m+") && "+m+".length == 1) { "+m+" = "+m+"[0]; "+B+" = typeof "+m+"; if ("+e.util.checkDataType(e.schema.type,m,e.opts.strictNumbers)+") "+M+" = "+m+"; } "),t+=" if ("+M+" !== undefined) ; ";var J=x;if(J)for(var Z,K=-1,X=J.length-1;K<X;)Z=J[K+=1],Z=="string"?t+=" else if ("+B+" == 'number' || "+B+" == 'boolean') "+M+" = '' + "+m+"; else if ("+m+" === null) "+M+" = ''; ":Z=="number"||Z=="integer"?(t+=" else if ("+B+" == 'boolean' || "+m+" === null || ("+B+" == 'string' && "+m+" && "+m+" == +"+m+" ",Z=="integer"&&(t+=" && !("+m+" % 1)"),t+=")) "+M+" = +"+m+"; "):Z=="boolean"?t+=" else if ("+m+" === 'false' || "+m+" === 0 || "+m+" === null) "+M+" = false; else if ("+m+" === 'true' || "+m+" === 1) "+M+" = true; ":Z=="null"?t+=" else if ("+m+" === '' || "+m+" === 0 || "+m+" === false) "+M+" = null; ":e.opts.coerceTypes=="array"&&Z=="array"&&(t+=" else if ("+B+" == 'string' || "+B+" == 'number' || "+B+" == 'boolean' || "+m+" == null) "+M+" = ["+m+"]; ");t+=" else { ";var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(P||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '",j?t+=""+O.join(","):t+=""+O,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",j?t+=""+O.join(","):t+=""+O,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&w?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } if ("+M+" !== undefined) { ";var Q=d?"data"+(d-1||""):"parentData",fe=d?e.dataPathArr[d]:"parentDataProperty";t+=" "+m+" = "+M+"; ",d||(t+="if ("+Q+" !== undefined)"),t+=" "+Q+"["+fe+"] = "+M+"; } "}else{var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(P||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '",j?t+=""+O.join(","):t+=""+O,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",j?t+=""+O.join(","):t+=""+O,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&w?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}t+=" } "}}if(e.schema.$ref&&!o)t+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",w&&(t+=" } if (errors === ",I?t+="0":t+="errs_"+u,t+=") { ",E+="}");else{var $e=e.RULES;if($e){for(var C,Ee=-1,xe=$e.length-1;Ee<xe;)if(C=$e[Ee+=1],le(C)){if(C.type&&(t+=" if ("+e.util.checkDataType(C.type,m,e.opts.strictNumbers)+") { "),e.opts.useDefaults){if(C.type=="object"&&e.schema.properties){var c=e.schema.properties,ot=Object.keys(c),ze=ot;if(ze)for(var A,R=-1,N=ze.length-1;R<N;){A=ze[R+=1];var z=c[A];if(z.default!==void 0){var _=m+e.util.getProperty(A);if(e.compositeRule){if(e.opts.strictDefaults){var S="default is ignored for: "+_;if(e.opts.strictDefaults==="log")e.logger.warn(S);else throw new Error(S)}}else t+=" if ("+_+" === undefined ",e.opts.useDefaults=="empty"&&(t+=" || "+_+" === null || "+_+" === '' "),t+=" ) "+_+" = ",e.opts.useDefaults=="shared"?t+=" "+e.useDefault(z.default)+" ":t+=" "+JSON.stringify(z.default)+" ",t+="; "}}}else if(C.type=="array"&&Array.isArray(e.schema.items)){var W=e.schema.items;if(W){for(var z,K=-1,H=W.length-1;K<H;)if(z=W[K+=1],z.default!==void 0){var _=m+"["+K+"]";if(e.compositeRule){if(e.opts.strictDefaults){var S="default is ignored for: "+_;if(e.opts.strictDefaults==="log")e.logger.warn(S);else throw new Error(S)}}else t+=" if ("+_+" === undefined ",e.opts.useDefaults=="empty"&&(t+=" || "+_+" === null || "+_+" === '' "),t+=" ) "+_+" = ",e.opts.useDefaults=="shared"?t+=" "+e.useDefault(z.default)+" ":t+=" "+JSON.stringify(z.default)+" ",t+="; "}}}}var Y=C.rules;if(Y){for(var ge,be=-1,ne=Y.length-1;be<ne;)if(ge=Y[be+=1],Ve(ge)){var ae=ge.code(e,ge.keyword,C.type);ae&&(t+=" "+ae+" ",w&&(T+="}"))}}if(w&&(t+=" "+T+" ",T=""),C.type&&(t+=" } ",O&&O===C.type&&!x)){t+=" else { ";var p=e.schemaPath+".type",f=e.errSchemaPath+"/type",y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(P||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '",j?t+=""+O.join(","):t+=""+O,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",j?t+=""+O.join(","):t+=""+O,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&w?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } "}w&&(t+=" if (errors === ",I?t+="0":t+="errs_"+u,t+=") { ",E+="}")}}}w&&(t+=" "+E+" "),I?(a?(t+=" if (errors === 0) return data; ",t+=" else throw new ValidationError(vErrors); "):(t+=" validate.errors = vErrors; ",t+=" return errors === 0; "),t+=" }; return validate;"):t+=" var "+F+" = errors === errs_"+u+";";function le(ve){for(var Le=ve.rules,Se=0;Se<Le.length;Se++)if(Ve(Le[Se]))return!0}function Ve(ve){return e.schema[ve.keyword]!==void 0||ve.implements&&mt(ve)}function mt(ve){for(var Le=ve.implements,Se=0;Se<Le.length;Se++)if(e.schema[Le[Se]]!==void 0)return!0}return t}),Xl}var Oa,ep;function Ww(){if(ep)return Oa;ep=1;var e=to(),r=Er(),i=ro(),t=Nd(),a=Wd(),o=r.ucs2length,n=eo(),s=i.Validation;Oa=l;function l(I,S,F,w){var T=this,E=this._opts,P=[void 0],O={},j=[],x={},C=[],k={},B=[];S=S||{schema:I,refVal:P,refs:O};var M=u.call(this,I,S,w),J=this._compilations[M.index];if(M.compiling)return J.callValidate=fe;var Z=this._formats,K=this.RULES;try{var X=$e(I,S,F,w);J.validate=X;var Q=J.callValidate;return Q&&(Q.schema=X.schema,Q.errors=null,Q.refs=X.refs,Q.refVal=X.refVal,Q.root=X.root,Q.$async=X.$async,E.sourceCode&&(Q.source=X.source)),X}finally{d.call(this,I,S,w)}function fe(){var _=J.validate,W=_.apply(this,arguments);return fe.errors=_.errors,W}function $e(_,W,H,Y){var ge=!W||W&&W.schema==_;if(W.schema!=S.schema)return l.call(T,_,W,H,Y);var be=_.$async===!0,ne=a({isTop:!0,schema:_,isRoot:ge,baseId:Y,root:W,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:i.MissingRef,RULES:K,validate:a,util:r,resolve:e,resolveRef:Ee,usePattern:R,useDefault:N,useCustomRule:z,opts:E,formats:Z,logger:T.logger,self:T});ne=b(P,m)+b(j,p)+b(C,f)+b(B,y)+ne,E.processCode&&(ne=E.processCode(ne,_));var ae;try{var le=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",ne);ae=le(T,K,Z,S,P,C,B,n,o,s),P[0]=ae}catch(Ve){throw T.logger.error("Error compiling schema, function code:",ne),Ve}return ae.schema=_,ae.errors=null,ae.refs=O,ae.refVal=P,ae.root=ge?ae:W,be&&(ae.$async=!0),E.sourceCode===!0&&(ae.source={code:ne,patterns:j,defaults:C}),ae}function Ee(_,W,H){W=e.url(_,W);var Y=O[W],ge,be;if(Y!==void 0)return ge=P[Y],be="refVal["+Y+"]",A(ge,be);if(!H&&S.refs){var ne=S.refs[W];if(ne!==void 0)return ge=S.refVal[ne],be=xe(W,ge),A(ge,be)}be=xe(W);var ae=e.call(T,$e,S,W);if(ae===void 0){var le=F&&F[W];le&&(ae=e.inlineRef(le,E.inlineRefs)?le:l.call(T,le,S,F,_))}if(ae===void 0)ot(W);else return ze(W,ae),A(ae,be)}function xe(_,W){var H=P.length;return P[H]=W,O[_]=H,"refVal"+H}function ot(_){delete O[_]}function ze(_,W){var H=O[_];P[H]=W}function A(_,W){return typeof _=="object"||typeof _=="boolean"?{code:W,schema:_,inline:!0}:{code:W,$async:_&&!!_.$async}}function R(_){var W=x[_];return W===void 0&&(W=x[_]=j.length,j[W]=_),"pattern"+W}function N(_){switch(typeof _){case"boolean":case"number":return""+_;case"string":return r.toQuotedString(_);case"object":if(_===null)return"null";var W=t(_),H=k[W];return H===void 0&&(H=k[W]=C.length,C[H]=_),"default"+H}}function z(_,W,H,Y){if(T._opts.validateSchema!==!1){var ge=_.definition.dependencies;if(ge&&!ge.every(function(Se){return Object.prototype.hasOwnProperty.call(H,Se)}))throw new Error("parent schema must have all required keywords: "+ge.join(","));var be=_.definition.validateSchema;if(be){var ne=be(W);if(!ne){var ae="keyword schema is invalid: "+T.errorsText(be.errors);if(T._opts.validateSchema=="log")T.logger.error(ae);else throw new Error(ae)}}}var le=_.definition.compile,Ve=_.definition.inline,mt=_.definition.macro,ve;if(le)ve=le.call(T,W,H,Y);else if(mt)ve=mt.call(T,W,H,Y),E.validateSchema!==!1&&T.validateSchema(ve,!0);else if(Ve)ve=Ve.call(T,Y,_.keyword,W,H);else if(ve=_.definition.validate,!ve)return;if(ve===void 0)throw new Error('custom keyword "'+_.keyword+'"failed to compile');var Le=B.length;return B[Le]=ve,{code:"customRule"+Le,validate:ve}}}function u(I,S,F){var w=c.call(this,I,S,F);return w>=0?{index:w,compiling:!0}:(w=this._compilations.length,this._compilations[w]={schema:I,root:S,baseId:F},{index:w,compiling:!1})}function d(I,S,F){var w=c.call(this,I,S,F);w>=0&&this._compilations.splice(w,1)}function c(I,S,F){for(var w=0;w<this._compilations.length;w++){var T=this._compilations[w];if(T.schema==I&&T.root==S&&T.baseId==F)return w}return-1}function p(I,S){return"var pattern"+I+" = new RegExp("+r.toQuotedString(S[I])+");"}function f(I){return"var default"+I+" = defaults["+I+"];"}function m(I,S){return S[I]===void 0?"":"var refVal"+I+" = refVal["+I+"];"}function y(I){return"var customRule"+I+" = customRules["+I+"];"}function b(I,S){if(!I.length)return"";for(var F="",w=0;w<I.length;w++)F+=S(w,I);return F}return Oa}var Ea={exports:{}},tp;function zw(){if(tp)return Ea.exports;tp=1;var e=Ea.exports=function(){this._cache={}};return e.prototype.put=function(r,i){this._cache[r]=i},e.prototype.get=function(r){return this._cache[r]},e.prototype.del=function(r){delete this._cache[r]},e.prototype.clear=function(){this._cache={}},Ea.exports}var La,rp;function Vw(){if(rp)return La;rp=1;var e=Er(),r=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,i=[0,31,28,31,30,31,30,31,31,30,31,30,31],t=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,a=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,o=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,n=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,s=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,l=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,u=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,d=/^(?:\/(?:[^~/]|~0|~1)*)*$/,c=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,p=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;La=f;function f(P){return P=P=="full"?"full":"fast",e.copy(f[P])}f.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":s,url:l,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:a,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:E,uuid:u,"json-pointer":d,"json-pointer-uri-fragment":c,"relative-json-pointer":p},f.full={date:y,time:b,"date-time":S,uri:w,"uri-reference":n,"uri-template":s,url:l,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:a,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:E,uuid:u,"json-pointer":d,"json-pointer-uri-fragment":c,"relative-json-pointer":p};function m(P){return P%4===0&&(P%100!==0||P%400===0)}function y(P){var O=P.match(r);if(!O)return!1;var j=+O[1],x=+O[2],C=+O[3];return x>=1&&x<=12&&C>=1&&C<=(x==2&&m(j)?29:i[x])}function b(P,O){var j=P.match(t);if(!j)return!1;var x=j[1],C=j[2],k=j[3],B=j[5];return(x<=23&&C<=59&&k<=59||x==23&&C==59&&k==60)&&(!O||B)}var I=/t|\s/i;function S(P){var O=P.split(I);return O.length==2&&y(O[0])&&b(O[1],!0)}var F=/\/|:/;function w(P){return F.test(P)&&o.test(P)}var T=/[^\\]\\Z/;function E(P){if(T.test(P))return!1;try{return new RegExp(P),!0}catch{return!1}}return La}var ip,ap;function Uw(){return ap||(ap=1,ip=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.errSchemaPath+"/"+r,l=!e.opts.allErrors,u="data"+(o||""),d="valid"+a,c,p;if(n=="#"||n=="#/")e.isRoot?(c=e.async,p="validate"):(c=e.root.schema.$async===!0,p="root.refVal[0]");else{var f=e.resolveRef(e.baseId,n,e.isRoot);if(f===void 0){var m=e.MissingRefError.message(e.baseId,n);if(e.opts.missingRefs=="fail"){e.logger.error(m);var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(s)+" , params: { ref: '"+e.util.escapeQuotes(n)+"' } ",e.opts.messages!==!1&&(t+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(n)+"' "),e.opts.verbose&&(t+=" , schema: "+e.util.toQuotedString(n)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&l?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l&&(t+=" if (false) { ")}else if(e.opts.missingRefs=="ignore")e.logger.warn(m),l&&(t+=" if (true) { ");else throw new e.MissingRefError(e.baseId,n,m)}else if(f.inline){var I=e.util.copy(e);I.level++;var S="valid"+I.level;I.schema=f.schema,I.schemaPath="",I.errSchemaPath=n;var F=e.validate(I).replace(/validate\.schema/g,f.code);t+=" "+F+" ",l&&(t+=" if ("+S+") { ")}else c=f.$async===!0||e.async&&f.$async!==!1,p=f.code}if(p){var y=y||[];y.push(t),t="",e.opts.passContext?t+=" "+p+".call(this, ":t+=" "+p+"( ",t+=" "+u+", (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var w=o?"data"+(o-1||""):"parentData",T=o?e.dataPathArr[o]:"parentDataProperty";t+=" , "+w+" , "+T+", rootData) ";var E=t;if(t=y.pop(),c){if(!e.async)throw new Error("async schema referenced by sync schema");l&&(t+=" var "+d+"; "),t+=" try { await "+E+"; ",l&&(t+=" "+d+" = true; "),t+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",l&&(t+=" "+d+" = false; "),t+=" } ",l&&(t+=" if ("+d+") { ")}else t+=" if (!"+E+") { if (vErrors === null) vErrors = "+p+".errors; else vErrors = vErrors.concat("+p+".errors); errors = vErrors.length; } ",l&&(t+=" else { ")}return t}),ip}var op,np;function Gw(){return np||(np=1,op=function(e,r,i){var t=" ",a=e.schema[r],o=e.schemaPath+e.util.getProperty(r),n=e.errSchemaPath+"/"+r,s=!e.opts.allErrors,l=e.util.copy(e),u="";l.level++;var d="valid"+l.level,c=l.baseId,p=!0,f=a;if(f)for(var m,y=-1,b=f.length-1;y<b;)m=f[y+=1],(e.opts.strictKeywords?typeof m=="object"&&Object.keys(m).length>0||m===!1:e.util.schemaHasRules(m,e.RULES.all))&&(p=!1,l.schema=m,l.schemaPath=o+"["+y+"]",l.errSchemaPath=n+"/"+y,t+=" "+e.validate(l)+" ",l.baseId=c,s&&(t+=" if ("+d+") { ",u+="}"));return s&&(p?t+=" if (true) { ":t+=" "+u.slice(0,-1)+" "),t}),op}var sp,lp;function Hw(){return lp||(lp=1,sp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="valid"+a,p="errs__"+a,f=e.util.copy(e),m="";f.level++;var y="valid"+f.level,b=n.every(function(P){return e.opts.strictKeywords?typeof P=="object"&&Object.keys(P).length>0||P===!1:e.util.schemaHasRules(P,e.RULES.all)});if(b){var I=f.baseId;t+=" var "+p+" = errors; var "+c+" = false; ";var S=e.compositeRule;e.compositeRule=f.compositeRule=!0;var F=n;if(F)for(var w,T=-1,E=F.length-1;T<E;)w=F[T+=1],f.schema=w,f.schemaPath=s+"["+T+"]",f.errSchemaPath=l+"/"+T,t+=" "+e.validate(f)+" ",f.baseId=I,t+=" "+c+" = "+c+" || "+y+"; if (!"+c+") { ",m+="}";e.compositeRule=f.compositeRule=S,t+=" "+m+" if (!"+c+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+=" } else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ",e.opts.allErrors&&(t+=" } ")}else u&&(t+=" if (true) { ");return t}),sp}var pp,dp;function Qw(){return dp||(dp=1,pp=function(e,r,i){var t=" ",a=e.schema[r],o=e.errSchemaPath+"/"+r;e.opts.allErrors;var n=e.util.toQuotedString(a);return e.opts.$comment===!0?t+=" console.log("+n+");":typeof e.opts.$comment=="function"&&(t+=" self._opts.$comment("+n+", "+e.util.toQuotedString(o)+", validate.root.schema);"),t}),pp}var cp,up;function Kw(){return up||(up=1,cp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="valid"+a,p=e.opts.$data&&n&&n.$data;p&&(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; "),p||(t+=" var schema"+a+" = validate.schema"+s+";"),t+="var "+c+" = equal("+d+", schema"+a+"); if (!"+c+") { ";var f=f||[];f.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { allowedValue: schema"+a+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be equal to constant' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var m=t;return t=f.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+m+"]); ":t+=" validate.errors = ["+m+"]; return false; ":t+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" }",u&&(t+=" else { "),t}),cp}var fp,hp;function Jw(){return hp||(hp=1,fp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="valid"+a,p="errs__"+a,f=e.util.copy(e),m="";f.level++;var y="valid"+f.level,b="i"+a,I=f.dataLevel=e.dataLevel+1,S="data"+I,F=e.baseId,w=e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all);if(t+="var "+p+" = errors;var "+c+";",w){var T=e.compositeRule;e.compositeRule=f.compositeRule=!0,f.schema=n,f.schemaPath=s,f.errSchemaPath=l,t+=" var "+y+" = false; for (var "+b+" = 0; "+b+" < "+d+".length; "+b+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,!0);var E=d+"["+b+"]";f.dataPathArr[I]=b;var P=e.validate(f);f.baseId=F,e.util.varOccurences(P,S)<2?t+=" "+e.util.varReplace(P,S,E)+" ":t+=" var "+S+" = "+E+"; "+P+" ",t+=" if ("+y+") break; } ",e.compositeRule=f.compositeRule=T,t+=" "+m+" if (!"+y+") {"}else t+=" if ("+d+".length == 0) {";var O=O||[];O.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should contain a valid item' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var j=t;return t=O.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+j+"]); ":t+=" validate.errors = ["+j+"]; return false; ":t+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { ",w&&(t+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } "),e.opts.allErrors&&(t+=" } "),t}),fp}var mp,yp;function Zw(){return yp||(yp=1,mp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="errs__"+a,p=e.util.copy(e),f="";p.level++;var m="valid"+p.level,y={},b={},I=e.opts.ownProperties;for(T in n)if(T!="__proto__"){var S=n[T],F=Array.isArray(S)?b:y;F[T]=S}t+="var "+c+" = errors;";var w=e.errorPath;t+="var missing"+a+";";for(var T in b)if(F=b[T],F.length){if(t+=" if ( "+d+e.util.getProperty(T)+" !== undefined ",I&&(t+=" && Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(T)+"') "),u){t+=" && ( ";var E=F;if(E)for(var P,O=-1,j=E.length-1;O<j;){P=E[O+=1],O&&(t+=" || ");var x=e.util.getProperty(P),C=d+x;t+=" ( ( "+C+" === undefined ",I&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(P)+"') "),t+=") && (missing"+a+" = "+e.util.toQuotedString(e.opts.jsonPointers?P:x)+") ) "}t+=")) { ";var k="missing"+a,B="' + "+k+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(w,k,!0):w+" + "+k);var M=M||[];M.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { property: '"+e.util.escapeQuotes(T)+"', missingProperty: '"+B+"', depsCount: "+F.length+", deps: '"+e.util.escapeQuotes(F.length==1?F[0]:F.join(", "))+"' } ",e.opts.messages!==!1&&(t+=" , message: 'should have ",F.length==1?t+="property "+e.util.escapeQuotes(F[0]):t+="properties "+e.util.escapeQuotes(F.join(", ")),t+=" when property "+e.util.escapeQuotes(T)+" is present' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var J=t;t=M.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+J+"]); ":t+=" validate.errors = ["+J+"]; return false; ":t+=" var err = "+J+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{t+=" ) { ";var Z=F;if(Z)for(var P,K=-1,X=Z.length-1;K<X;){P=Z[K+=1];var x=e.util.getProperty(P),B=e.util.escapeQuotes(P),C=d+x;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(w,P,e.opts.jsonPointers)),t+=" if ( "+C+" === undefined ",I&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(P)+"') "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { property: '"+e.util.escapeQuotes(T)+"', missingProperty: '"+B+"', depsCount: "+F.length+", deps: '"+e.util.escapeQuotes(F.length==1?F[0]:F.join(", "))+"' } ",e.opts.messages!==!1&&(t+=" , message: 'should have ",F.length==1?t+="property "+e.util.escapeQuotes(F[0]):t+="properties "+e.util.escapeQuotes(F.join(", ")),t+=" when property "+e.util.escapeQuotes(T)+" is present' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}t+=" } ",u&&(f+="}",t+=" else { ")}e.errorPath=w;var Q=p.baseId;for(var T in y){var S=y[T];(e.opts.strictKeywords?typeof S=="object"&&Object.keys(S).length>0||S===!1:e.util.schemaHasRules(S,e.RULES.all))&&(t+=" "+m+" = true; if ( "+d+e.util.getProperty(T)+" !== undefined ",I&&(t+=" && Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(T)+"') "),t+=") { ",p.schema=S,p.schemaPath=s+e.util.getProperty(T),p.errSchemaPath=l+"/"+e.util.escapeFragment(T),t+=" "+e.validate(p)+" ",p.baseId=Q,t+=" } ",u&&(t+=" if ("+m+") { ",f+="}"))}return u&&(t+=" "+f+" if ("+c+" == errors) {"),t}),mp}var gp,bp;function Xw(){return bp||(bp=1,gp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="valid"+a,p=e.opts.$data&&n&&n.$data;p&&(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ");var f="i"+a,m="schema"+a;p||(t+=" var "+m+" = validate.schema"+s+";"),t+="var "+c+";",p&&(t+=" if (schema"+a+" === undefined) "+c+" = true; else if (!Array.isArray(schema"+a+")) "+c+" = false; else {"),t+=""+c+" = false;for (var "+f+"=0; "+f+"<"+m+".length; "+f+"++) if (equal("+d+", "+m+"["+f+"])) { "+c+" = true; break; }",p&&(t+=" } "),t+=" if (!"+c+") { ";var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { allowedValues: schema"+a+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" }",u&&(t+=" else { "),t}),gp}var vp,Sp;function Yw(){return Sp||(Sp=1,vp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||"");if(e.opts.format===!1)return u&&(t+=" if (true) { "),t;var c=e.opts.$data&&n&&n.$data,p;c?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n;var f=e.opts.unknownFormats,m=Array.isArray(f);if(c){var y="format"+a,b="isObject"+a,I="formatType"+a;t+=" var "+y+" = formats["+p+"]; var "+b+" = typeof "+y+" == 'object' && !("+y+" instanceof RegExp) && "+y+".validate; var "+I+" = "+b+" && "+y+".type || 'string'; if ("+b+") { ",e.async&&(t+=" var async"+a+" = "+y+".async; "),t+=" "+y+" = "+y+".validate; } if ( ",c&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'string') || "),t+=" (",f!="ignore"&&(t+=" ("+p+" && !"+y+" ",m&&(t+=" && self._opts.unknownFormats.indexOf("+p+") == -1 "),t+=") || "),t+=" ("+y+" && "+I+" == '"+i+"' && !(typeof "+y+" == 'function' ? ",e.async?t+=" (async"+a+" ? await "+y+"("+d+") : "+y+"("+d+")) ":t+=" "+y+"("+d+") ",t+=" : "+y+".test("+d+"))))) {"}else{var y=e.formats[n];if(!y){if(f=="ignore")return e.logger.warn('unknown format "'+n+'" ignored in schema at path "'+e.errSchemaPath+'"'),u&&(t+=" if (true) { "),t;if(m&&f.indexOf(n)>=0)return u&&(t+=" if (true) { "),t;throw new Error('unknown format "'+n+'" is used in schema at path "'+e.errSchemaPath+'"')}var b=typeof y=="object"&&!(y instanceof RegExp)&&y.validate,I=b&&y.type||"string";if(b){var S=y.async===!0;y=y.validate}if(I!=i)return u&&(t+=" if (true) { "),t;if(S){if(!e.async)throw new Error("async format in sync schema");var F="formats"+e.util.getProperty(n)+".validate";t+=" if (!(await "+F+"("+d+"))) { "}else{t+=" if (! ";var F="formats"+e.util.getProperty(n);b&&(F+=".validate"),typeof y=="function"?t+=" "+F+"("+d+") ":t+=" "+F+".test("+d+") ",t+=") { "}}var w=w||[];w.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { format: ",c?t+=""+p:t+=""+e.util.toQuotedString(n),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match format "`,c?t+="' + "+p+" + '":t+=""+e.util.escapeQuotes(n),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",c?t+="validate.schema"+s:t+=""+e.util.toQuotedString(n),t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var T=t;return t=w.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+T+"]); ":t+=" validate.errors = ["+T+"]; return false; ":t+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",u&&(t+=" else { "),t}),vp}var wp,xp;function ex(){return xp||(xp=1,wp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="valid"+a,p="errs__"+a,f=e.util.copy(e);f.level++;var m="valid"+f.level,y=e.schema.then,b=e.schema.else,I=y!==void 0&&(e.opts.strictKeywords?typeof y=="object"&&Object.keys(y).length>0||y===!1:e.util.schemaHasRules(y,e.RULES.all)),S=b!==void 0&&(e.opts.strictKeywords?typeof b=="object"&&Object.keys(b).length>0||b===!1:e.util.schemaHasRules(b,e.RULES.all)),F=f.baseId;if(I||S){var w;f.createErrors=!1,f.schema=n,f.schemaPath=s,f.errSchemaPath=l,t+=" var "+p+" = errors; var "+c+" = true; ";var T=e.compositeRule;e.compositeRule=f.compositeRule=!0,t+=" "+e.validate(f)+" ",f.baseId=F,f.createErrors=!0,t+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ",e.compositeRule=f.compositeRule=T,I?(t+=" if ("+m+") { ",f.schema=e.schema.then,f.schemaPath=e.schemaPath+".then",f.errSchemaPath=e.errSchemaPath+"/then",t+=" "+e.validate(f)+" ",f.baseId=F,t+=" "+c+" = "+m+"; ",I&&S?(w="ifClause"+a,t+=" var "+w+" = 'then'; "):w="'then'",t+=" } ",S&&(t+=" else { ")):t+=" if (!"+m+") { ",S&&(f.schema=e.schema.else,f.schemaPath=e.schemaPath+".else",f.errSchemaPath=e.errSchemaPath+"/else",t+=" "+e.validate(f)+" ",f.baseId=F,t+=" "+c+" = "+m+"; ",I&&S?(w="ifClause"+a,t+=" var "+w+" = 'else'; "):w="'else'",t+=" } "),t+=" if (!"+c+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { failingKeyword: "+w+" } ",e.opts.messages!==!1&&(t+=` , message: 'should match "' + `+w+` + '" schema' `),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+=" } ",u&&(t+=" else { ")}else u&&(t+=" if (true) { ");return t}),wp}var Ip,Cp;function tx(){return Cp||(Cp=1,Ip=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="valid"+a,p="errs__"+a,f=e.util.copy(e),m="";f.level++;var y="valid"+f.level,b="i"+a,I=f.dataLevel=e.dataLevel+1,S="data"+I,F=e.baseId;if(t+="var "+p+" = errors;var "+c+";",Array.isArray(n)){var w=e.schema.additionalItems;if(w===!1){t+=" "+c+" = "+d+".length <= "+n.length+"; ";var T=l;l=e.errSchemaPath+"/additionalItems",t+=" if (!"+c+") { ";var E=E||[];E.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+n.length+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have more than "+n.length+" items' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var P=t;t=E.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+P+"]); ":t+=" validate.errors = ["+P+"]; return false; ":t+=" var err = "+P+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",l=T,u&&(m+="}",t+=" else { ")}var O=n;if(O){for(var j,x=-1,C=O.length-1;x<C;)if(j=O[x+=1],e.opts.strictKeywords?typeof j=="object"&&Object.keys(j).length>0||j===!1:e.util.schemaHasRules(j,e.RULES.all)){t+=" "+y+" = true; if ("+d+".length > "+x+") { ";var k=d+"["+x+"]";f.schema=j,f.schemaPath=s+"["+x+"]",f.errSchemaPath=l+"/"+x,f.errorPath=e.util.getPathExpr(e.errorPath,x,e.opts.jsonPointers,!0),f.dataPathArr[I]=x;var B=e.validate(f);f.baseId=F,e.util.varOccurences(B,S)<2?t+=" "+e.util.varReplace(B,S,k)+" ":t+=" var "+S+" = "+k+"; "+B+" ",t+=" } ",u&&(t+=" if ("+y+") { ",m+="}")}}if(typeof w=="object"&&(e.opts.strictKeywords?typeof w=="object"&&Object.keys(w).length>0||w===!1:e.util.schemaHasRules(w,e.RULES.all))){f.schema=w,f.schemaPath=e.schemaPath+".additionalItems",f.errSchemaPath=e.errSchemaPath+"/additionalItems",t+=" "+y+" = true; if ("+d+".length > "+n.length+") { for (var "+b+" = "+n.length+"; "+b+" < "+d+".length; "+b+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,!0);var k=d+"["+b+"]";f.dataPathArr[I]=b;var B=e.validate(f);f.baseId=F,e.util.varOccurences(B,S)<2?t+=" "+e.util.varReplace(B,S,k)+" ":t+=" var "+S+" = "+k+"; "+B+" ",u&&(t+=" if (!"+y+") break; "),t+=" } } ",u&&(t+=" if ("+y+") { ",m+="}")}}else if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){f.schema=n,f.schemaPath=s,f.errSchemaPath=l,t+=" for (var "+b+" = 0; "+b+" < "+d+".length; "+b+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,!0);var k=d+"["+b+"]";f.dataPathArr[I]=b;var B=e.validate(f);f.baseId=F,e.util.varOccurences(B,S)<2?t+=" "+e.util.varReplace(B,S,k)+" ":t+=" var "+S+" = "+k+"; "+B+" ",u&&(t+=" if (!"+y+") break; "),t+=" }"}return u&&(t+=" "+m+" if ("+p+" == errors) {"),t}),Ip}var Tp,Ap;function Pp(){return Ap||(Ap=1,Tp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,F,d="data"+(o||""),c=e.opts.$data&&n&&n.$data,p;c?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n;var f=r=="maximum",m=f?"exclusiveMaximum":"exclusiveMinimum",y=e.schema[m],b=e.opts.$data&&y&&y.$data,I=f?"<":">",S=f?">":"<",F=void 0;if(!(c||typeof n=="number"||n===void 0))throw new Error(r+" must be number");if(!(b||y===void 0||typeof y=="number"||typeof y=="boolean"))throw new Error(m+" must be number or boolean");if(b){var w=e.util.getData(y.$data,o,e.dataPathArr),T="exclusive"+a,E="exclType"+a,P="exclIsNumber"+a,O="op"+a,j="' + "+O+" + '";t+=" var schemaExcl"+a+" = "+w+"; ",w="schemaExcl"+a,t+=" var "+T+"; var "+E+" = typeof "+w+"; if ("+E+" != 'boolean' && "+E+" != 'undefined' && "+E+" != 'number') { ";var F=m,x=x||[];x.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(F||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: '"+m+" should be boolean' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var C=t;t=x.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+C+"]); ":t+=" validate.errors = ["+C+"]; return false; ":t+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else if ( ",c&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" "+E+" == 'number' ? ( ("+T+" = "+p+" === undefined || "+w+" "+I+"= "+p+") ? "+d+" "+S+"= "+w+" : "+d+" "+S+" "+p+" ) : ( ("+T+" = "+w+" === true) ? "+d+" "+S+"= "+p+" : "+d+" "+S+" "+p+" ) || "+d+" !== "+d+") { var op"+a+" = "+T+" ? '"+I+"' : '"+I+"='; ",n===void 0&&(F=m,l=e.errSchemaPath+"/"+m,p=w,c=b)}else{var P=typeof y=="number",j=I;if(P&&c){var O="'"+j+"'";t+=" if ( ",c&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" ( "+p+" === undefined || "+y+" "+I+"= "+p+" ? "+d+" "+S+"= "+y+" : "+d+" "+S+" "+p+" ) || "+d+" !== "+d+") { "}else{P&&n===void 0?(T=!0,F=m,l=e.errSchemaPath+"/"+m,p=y,S+="="):(P&&(p=Math[f?"min":"max"](y,n)),y===(P?p:!0)?(T=!0,F=m,l=e.errSchemaPath+"/"+m,S+="="):(T=!1,j+="="));var O="'"+j+"'";t+=" if ( ",c&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" "+d+" "+S+" "+p+" || "+d+" !== "+d+") { "}}F=F||r;var x=x||[];x.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(F||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { comparison: "+O+", limit: "+p+", exclusive: "+T+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be "+j+" ",c?t+="' + "+p:t+=""+p+"'"),e.opts.verbose&&(t+=" , schema: ",c?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var C=t;return t=x.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+C+"]); ":t+=" validate.errors = ["+C+"]; return false; ":t+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",u&&(t+=" else { "),t}),Tp}var Fp,Op;function Ep(){return Op||(Op=1,Fp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,m,d="data"+(o||""),c=e.opts.$data&&n&&n.$data,p;if(c?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(c||typeof n=="number"))throw new Error(r+" must be number");var f=r=="maxItems"?">":"<";t+="if ( ",c&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" "+d+".length "+f+" "+p+") { ";var m=r,y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(m||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+p+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have ",r=="maxItems"?t+="more":t+="fewer",t+=" than ",c?t+="' + "+p+" + '":t+=""+n,t+=" items' "),e.opts.verbose&&(t+=" , schema: ",c?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",u&&(t+=" else { "),t}),Fp}var Lp,Dp;function $p(){return Dp||(Dp=1,Lp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,m,d="data"+(o||""),c=e.opts.$data&&n&&n.$data,p;if(c?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(c||typeof n=="number"))throw new Error(r+" must be number");var f=r=="maxLength"?">":"<";t+="if ( ",c&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),e.opts.unicode===!1?t+=" "+d+".length ":t+=" ucs2length("+d+") ",t+=" "+f+" "+p+") { ";var m=r,y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(m||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+p+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be ",r=="maxLength"?t+="longer":t+="shorter",t+=" than ",c?t+="' + "+p+" + '":t+=""+n,t+=" characters' "),e.opts.verbose&&(t+=" , schema: ",c?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",u&&(t+=" else { "),t}),Lp}var jp,Rp;function _p(){return Rp||(Rp=1,jp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,m,d="data"+(o||""),c=e.opts.$data&&n&&n.$data,p;if(c?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(c||typeof n=="number"))throw new Error(r+" must be number");var f=r=="maxProperties"?">":"<";t+="if ( ",c&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" Object.keys("+d+").length "+f+" "+p+") { ";var m=r,y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(m||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+p+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have ",r=="maxProperties"?t+="more":t+="fewer",t+=" than ",c?t+="' + "+p+" + '":t+=""+n,t+=" properties' "),e.opts.verbose&&(t+=" , schema: ",c?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",u&&(t+=" else { "),t}),jp}var kp,Bp;function rx(){return Bp||(Bp=1,kp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c=e.opts.$data&&n&&n.$data,p;if(c?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(c||typeof n=="number"))throw new Error(r+" must be number");t+="var division"+a+";if (",c&&(t+=" "+p+" !== undefined && ( typeof "+p+" != 'number' || "),t+=" (division"+a+" = "+d+" / "+p+", ",e.opts.multipleOfPrecision?t+=" Math.abs(Math.round(division"+a+") - division"+a+") > 1e-"+e.opts.multipleOfPrecision+" ":t+=" division"+a+" !== parseInt(division"+a+") ",t+=" ) ",c&&(t+=" ) "),t+=" ) { ";var f=f||[];f.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { multipleOf: "+p+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be multiple of ",c?t+="' + "+p:t+=""+p+"'"),e.opts.verbose&&(t+=" , schema: ",c?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var m=t;return t=f.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+m+"]); ":t+=" validate.errors = ["+m+"]; return false; ":t+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",u&&(t+=" else { "),t}),kp}var qp,Mp;function ix(){return Mp||(Mp=1,qp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="errs__"+a,p=e.util.copy(e);p.level++;var f="valid"+p.level;if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){p.schema=n,p.schemaPath=s,p.errSchemaPath=l,t+=" var "+c+" = errors; ";var m=e.compositeRule;e.compositeRule=p.compositeRule=!0,p.createErrors=!1;var y;p.opts.allErrors&&(y=p.opts.allErrors,p.opts.allErrors=!1),t+=" "+e.validate(p)+" ",p.createErrors=!0,y&&(p.opts.allErrors=y),e.compositeRule=p.compositeRule=m,t+=" if ("+f+") { ";var b=b||[];b.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be valid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var I=t;t=b.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+I+"]); ":t+=" validate.errors = ["+I+"]; return false; ":t+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { errors = "+c+"; if (vErrors !== null) { if ("+c+") vErrors.length = "+c+"; else vErrors = null; } ",e.opts.allErrors&&(t+=" } ")}else t+=" var err = ",e.createErrors!==!1?(t+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be valid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u&&(t+=" if (false) { ");return t}),qp}var Np,Wp;function ax(){return Wp||(Wp=1,Np=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="valid"+a,p="errs__"+a,f=e.util.copy(e),m="";f.level++;var y="valid"+f.level,b=f.baseId,I="prevValid"+a,S="passingSchemas"+a;t+="var "+p+" = errors , "+I+" = false , "+c+" = false , "+S+" = null; ";var F=e.compositeRule;e.compositeRule=f.compositeRule=!0;var w=n;if(w)for(var T,E=-1,P=w.length-1;E<P;)T=w[E+=1],(e.opts.strictKeywords?typeof T=="object"&&Object.keys(T).length>0||T===!1:e.util.schemaHasRules(T,e.RULES.all))?(f.schema=T,f.schemaPath=s+"["+E+"]",f.errSchemaPath=l+"/"+E,t+=" "+e.validate(f)+" ",f.baseId=b):t+=" var "+y+" = true; ",E&&(t+=" if ("+y+" && "+I+") { "+c+" = false; "+S+" = ["+S+", "+E+"]; } else { ",m+="}"),t+=" if ("+y+") { "+c+" = "+I+" = true; "+S+" = "+E+"; }";return e.compositeRule=f.compositeRule=F,t+=""+m+"if (!"+c+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { passingSchemas: "+S+" } ",e.opts.messages!==!1&&(t+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+="} else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; }",e.opts.allErrors&&(t+=" } "),t}),Np}var zp,Vp;function ox(){return Vp||(Vp=1,zp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c=e.opts.$data&&n&&n.$data,p;c?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n;var f=c?"(new RegExp("+p+"))":e.usePattern(n);t+="if ( ",c&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'string') || "),t+=" !"+f+".test("+d+") ) { ";var m=m||[];m.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { pattern: ",c?t+=""+p:t+=""+e.util.toQuotedString(n),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match pattern "`,c?t+="' + "+p+" + '":t+=""+e.util.escapeQuotes(n),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",c?t+="validate.schema"+s:t+=""+e.util.toQuotedString(n),t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var y=t;return t=m.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+y+"]); ":t+=" validate.errors = ["+y+"]; return false; ":t+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",u&&(t+=" else { "),t}),zp}var Up,Gp;function nx(){return Gp||(Gp=1,Up=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="errs__"+a,p=e.util.copy(e),f="";p.level++;var m="valid"+p.level,y="key"+a,b="idx"+a,I=p.dataLevel=e.dataLevel+1,S="data"+I,F="dataProperties"+a,w=Object.keys(n||{}).filter(K),T=e.schema.patternProperties||{},E=Object.keys(T).filter(K),P=e.schema.additionalProperties,O=w.length||E.length,j=P===!1,x=typeof P=="object"&&Object.keys(P).length,C=e.opts.removeAdditional,k=j||x||C,B=e.opts.ownProperties,M=e.baseId,J=e.schema.required;if(J&&!(e.opts.$data&&J.$data)&&J.length<e.opts.loopRequired)var Z=e.util.toHash(J);function K(Xi){return Xi!=="__proto__"}if(t+="var "+c+" = errors;var "+m+" = true;",B&&(t+=" var "+F+" = undefined;"),k){if(B?t+=" "+F+" = "+F+" || Object.keys("+d+"); for (var "+b+"=0; "+b+"<"+F+".length; "+b+"++) { var "+y+" = "+F+"["+b+"]; ":t+=" for (var "+y+" in "+d+") { ",O){if(t+=" var isAdditional"+a+" = !(false ",w.length)if(w.length>8)t+=" || validate.schema"+s+".hasOwnProperty("+y+") ";else{var X=w;if(X)for(var Q,fe=-1,$e=X.length-1;fe<$e;)Q=X[fe+=1],t+=" || "+y+" == "+e.util.toQuotedString(Q)+" "}if(E.length){var Ee=E;if(Ee)for(var xe,ot=-1,ze=Ee.length-1;ot<ze;)xe=Ee[ot+=1],t+=" || "+e.usePattern(xe)+".test("+y+") "}t+=" ); if (isAdditional"+a+") { "}if(C=="all")t+=" delete "+d+"["+y+"]; ";else{var A=e.errorPath,R="' + "+y+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers)),j)if(C)t+=" delete "+d+"["+y+"]; ";else{t+=" "+m+" = false; ";var N=l;l=e.errSchemaPath+"/additionalProperties";var z=z||[];z.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { additionalProperty: '"+R+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is an invalid additional property":t+="should NOT have additional properties",t+="' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var _=t;t=z.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+_+"]); ":t+=" validate.errors = ["+_+"]; return false; ":t+=" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l=N,u&&(t+=" break; ")}else if(x)if(C=="failing"){t+=" var "+c+" = errors; ";var W=e.compositeRule;e.compositeRule=p.compositeRule=!0,p.schema=P,p.schemaPath=e.schemaPath+".additionalProperties",p.errSchemaPath=e.errSchemaPath+"/additionalProperties",p.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers);var H=d+"["+y+"]";p.dataPathArr[I]=y;var Y=e.validate(p);p.baseId=M,e.util.varOccurences(Y,S)<2?t+=" "+e.util.varReplace(Y,S,H)+" ":t+=" var "+S+" = "+H+"; "+Y+" ",t+=" if (!"+m+") { errors = "+c+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+d+"["+y+"]; } ",e.compositeRule=p.compositeRule=W}else{p.schema=P,p.schemaPath=e.schemaPath+".additionalProperties",p.errSchemaPath=e.errSchemaPath+"/additionalProperties",p.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers);var H=d+"["+y+"]";p.dataPathArr[I]=y;var Y=e.validate(p);p.baseId=M,e.util.varOccurences(Y,S)<2?t+=" "+e.util.varReplace(Y,S,H)+" ":t+=" var "+S+" = "+H+"; "+Y+" ",u&&(t+=" if (!"+m+") break; ")}e.errorPath=A}O&&(t+=" } "),t+=" } ",u&&(t+=" if ("+m+") { ",f+="}")}var ge=e.opts.useDefaults&&!e.compositeRule;if(w.length){var be=w;if(be)for(var Q,ne=-1,ae=be.length-1;ne<ae;){Q=be[ne+=1];var le=n[Q];if(e.opts.strictKeywords?typeof le=="object"&&Object.keys(le).length>0||le===!1:e.util.schemaHasRules(le,e.RULES.all)){var Ve=e.util.getProperty(Q),H=d+Ve,mt=ge&&le.default!==void 0;p.schema=le,p.schemaPath=s+Ve,p.errSchemaPath=l+"/"+e.util.escapeFragment(Q),p.errorPath=e.util.getPath(e.errorPath,Q,e.opts.jsonPointers),p.dataPathArr[I]=e.util.toQuotedString(Q);var Y=e.validate(p);if(p.baseId=M,e.util.varOccurences(Y,S)<2){Y=e.util.varReplace(Y,S,H);var ve=H}else{var ve=S;t+=" var "+S+" = "+H+"; "}if(mt)t+=" "+Y+" ";else{if(Z&&Z[Q]){t+=" if ( "+ve+" === undefined ",B&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(Q)+"') "),t+=") { "+m+" = false; ";var A=e.errorPath,N=l,Le=e.util.escapeQuotes(Q);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(A,Q,e.opts.jsonPointers)),l=e.errSchemaPath+"/required";var z=z||[];z.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+Le+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+Le+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var _=t;t=z.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+_+"]); ":t+=" validate.errors = ["+_+"]; return false; ":t+=" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l=N,e.errorPath=A,t+=" } else { "}else u?(t+=" if ( "+ve+" === undefined ",B&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(Q)+"') "),t+=") { "+m+" = true; } else { "):(t+=" if ("+ve+" !== undefined ",B&&(t+=" && Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(Q)+"') "),t+=" ) { ");t+=" "+Y+" } "}}u&&(t+=" if ("+m+") { ",f+="}")}}if(E.length){var Se=E;if(Se)for(var xe,Lr=-1,Zi=Se.length-1;Lr<Zi;){xe=Se[Lr+=1];var le=T[xe];if(e.opts.strictKeywords?typeof le=="object"&&Object.keys(le).length>0||le===!1:e.util.schemaHasRules(le,e.RULES.all)){p.schema=le,p.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(xe),p.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(xe),B?t+=" "+F+" = "+F+" || Object.keys("+d+"); for (var "+b+"=0; "+b+"<"+F+".length; "+b+"++) { var "+y+" = "+F+"["+b+"]; ":t+=" for (var "+y+" in "+d+") { ",t+=" if ("+e.usePattern(xe)+".test("+y+")) { ",p.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers);var H=d+"["+y+"]";p.dataPathArr[I]=y;var Y=e.validate(p);p.baseId=M,e.util.varOccurences(Y,S)<2?t+=" "+e.util.varReplace(Y,S,H)+" ":t+=" var "+S+" = "+H+"; "+Y+" ",u&&(t+=" if (!"+m+") break; "),t+=" } ",u&&(t+=" else "+m+" = true; "),t+=" } ",u&&(t+=" if ("+m+") { ",f+="}")}}}return u&&(t+=" "+f+" if ("+c+" == errors) {"),t}),Up}var Hp,Qp;function sx(){return Qp||(Qp=1,Hp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="errs__"+a,p=e.util.copy(e),f="";p.level++;var m="valid"+p.level;if(t+="var "+c+" = errors;",e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){p.schema=n,p.schemaPath=s,p.errSchemaPath=l;var y="key"+a,b="idx"+a,I="i"+a,S="' + "+y+" + '",F=p.dataLevel=e.dataLevel+1,w="data"+F,T="dataProperties"+a,E=e.opts.ownProperties,P=e.baseId;E&&(t+=" var "+T+" = undefined; "),E?t+=" "+T+" = "+T+" || Object.keys("+d+"); for (var "+b+"=0; "+b+"<"+T+".length; "+b+"++) { var "+y+" = "+T+"["+b+"]; ":t+=" for (var "+y+" in "+d+") { ",t+=" var startErrs"+a+" = errors; ";var O=y,j=e.compositeRule;e.compositeRule=p.compositeRule=!0;var x=e.validate(p);p.baseId=P,e.util.varOccurences(x,w)<2?t+=" "+e.util.varReplace(x,w,O)+" ":t+=" var "+w+" = "+O+"; "+x+" ",e.compositeRule=p.compositeRule=j,t+=" if (!"+m+") { for (var "+I+"=startErrs"+a+"; "+I+"<errors; "+I+"++) { vErrors["+I+"].propertyName = "+y+"; } var err = ",e.createErrors!==!1?(t+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { propertyName: '"+S+"' } ",e.opts.messages!==!1&&(t+=" , message: 'property name \\'"+S+"\\' is invalid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),u&&(t+=" break; "),t+=" } }"}return u&&(t+=" "+f+" if ("+c+" == errors) {"),t}),Hp}var Kp,Jp;function lx(){return Jp||(Jp=1,Kp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="valid"+a,p=e.opts.$data&&n&&n.$data;p&&(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ");var f="schema"+a;if(!p)if(n.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var F=[],m=n;if(m)for(var y,b=-1,I=m.length-1;b<I;){y=m[b+=1];var S=e.schema.properties[y];S&&(e.opts.strictKeywords?typeof S=="object"&&Object.keys(S).length>0||S===!1:e.util.schemaHasRules(S,e.RULES.all))||(F[F.length]=y)}}else var F=n;if(p||F.length){var w=e.errorPath,T=p||F.length>=e.opts.loopRequired,E=e.opts.ownProperties;if(u)if(t+=" var missing"+a+"; ",T){p||(t+=" var "+f+" = validate.schema"+s+"; ");var P="i"+a,O="schema"+a+"["+P+"]",j="' + "+O+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(w,O,e.opts.jsonPointers)),t+=" var "+c+" = true; ",p&&(t+=" if (schema"+a+" === undefined) "+c+" = true; else if (!Array.isArray(schema"+a+")) "+c+" = false; else {"),t+=" for (var "+P+" = 0; "+P+" < "+f+".length; "+P+"++) { "+c+" = "+d+"["+f+"["+P+"]] !== undefined ",E&&(t+=" && Object.prototype.hasOwnProperty.call("+d+", "+f+"["+P+"]) "),t+="; if (!"+c+") break; } ",p&&(t+=" } "),t+=" if (!"+c+") { ";var x=x||[];x.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+j+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+j+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var C=t;t=x.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+C+"]); ":t+=" validate.errors = ["+C+"]; return false; ":t+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { "}else{t+=" if ( ";var k=F;if(k)for(var B,P=-1,M=k.length-1;P<M;){B=k[P+=1],P&&(t+=" || ");var J=e.util.getProperty(B),Z=d+J;t+=" ( ( "+Z+" === undefined ",E&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(B)+"') "),t+=") && (missing"+a+" = "+e.util.toQuotedString(e.opts.jsonPointers?B:J)+") ) "}t+=") { ";var O="missing"+a,j="' + "+O+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(w,O,!0):w+" + "+O);var x=x||[];x.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+j+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+j+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var C=t;t=x.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+C+"]); ":t+=" validate.errors = ["+C+"]; return false; ":t+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { "}else if(T){p||(t+=" var "+f+" = validate.schema"+s+"; ");var P="i"+a,O="schema"+a+"["+P+"]",j="' + "+O+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(w,O,e.opts.jsonPointers)),p&&(t+=" if ("+f+" && !Array.isArray("+f+")) { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+j+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+j+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+f+" !== undefined) { "),t+=" for (var "+P+" = 0; "+P+" < "+f+".length; "+P+"++) { if ("+d+"["+f+"["+P+"]] === undefined ",E&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", "+f+"["+P+"]) "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+j+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+j+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",p&&(t+=" } ")}else{var K=F;if(K)for(var B,X=-1,Q=K.length-1;X<Q;){B=K[X+=1];var J=e.util.getProperty(B),j=e.util.escapeQuotes(B),Z=d+J;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(w,B,e.opts.jsonPointers)),t+=" if ( "+Z+" === undefined ",E&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(B)+"') "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+j+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+j+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=w}else u&&(t+=" if (true) {");return t}),Kp}var Zp,Xp;function px(){return Xp||(Xp=1,Zp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d="data"+(o||""),c="valid"+a,p=e.opts.$data&&n&&n.$data,f;if(p?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",f="schema"+a):f=n,(n||p)&&e.opts.uniqueItems!==!1){p&&(t+=" var "+c+"; if ("+f+" === false || "+f+" === undefined) "+c+" = true; else if (typeof "+f+" != 'boolean') "+c+" = false; else { "),t+=" var i = "+d+".length , "+c+" = true , j; if (i > 1) { ";var m=e.schema.items&&e.schema.items.type,y=Array.isArray(m);if(!m||m=="object"||m=="array"||y&&(m.indexOf("object")>=0||m.indexOf("array")>=0))t+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+d+"[i], "+d+"[j])) { "+c+" = false; break outer; } } } ";else{t+=" var itemIndices = {}, item; for (;i--;) { var item = "+d+"[i]; ";var b="checkDataType"+(y?"s":"");t+=" if ("+e.util[b](m,"item",e.opts.strictNumbers,!0)+") continue; ",y&&(t+=` if (typeof item == 'string') item = '"' + item; `),t+=" if (typeof itemIndices[item] == 'number') { "+c+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}t+=" } ",p&&(t+=" } "),t+=" if (!"+c+") { ";var I=I||[];I.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { i: i, j: j } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(t+=" , schema: ",p?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var S=t;t=I.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+S+"]); ":t+=" validate.errors = ["+S+"]; return false; ":t+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",u&&(t+=" else { ")}else u&&(t+=" if (true) { ");return t}),Zp}var Yp,ed;function dx(){return ed||(ed=1,Yp={$ref:Uw(),allOf:Gw(),anyOf:Hw(),$comment:Qw(),const:Kw(),contains:Jw(),dependencies:Zw(),enum:Xw(),format:Yw(),if:ex(),items:tx(),maximum:Pp(),minimum:Pp(),maxItems:Ep(),minItems:Ep(),maxLength:$p(),minLength:$p(),maxProperties:_p(),minProperties:_p(),multipleOf:rx(),not:ix(),oneOf:ax(),pattern:ox(),properties:nx(),propertyNames:sx(),required:lx(),uniqueItems:px(),validate:Wd()}),Yp}var Da,td;function cx(){if(td)return Da;td=1;var e=dx(),r=Er().toHash;return Da=function(){var i=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}],t=["type","$comment"],a=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"],o=["number","integer","string","array","object","boolean","null"];return i.all=r(t),i.types=r(o),i.forEach(function(n){n.rules=n.rules.map(function(s){var l;if(typeof s=="object"){var u=Object.keys(s)[0];l=s[u],s=u,l.forEach(function(c){t.push(c),i.all[c]=!0})}t.push(s);var d=i.all[s]={keyword:s,code:e[s],implements:l};return d}),i.all.$comment={keyword:"$comment",code:e.$comment},n.type&&(i.types[n.type]=n)}),i.keywords=r(t.concat(a)),i.custom={},i},Da}var $a,rd;function ux(){if(rd)return $a;rd=1;var e=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];return $a=function(r,i){for(var t=0;t<i.length;t++){r=JSON.parse(JSON.stringify(r));var a=i[t].split("/"),o=r,n;for(n=1;n<a.length;n++)o=o[a[n]];for(n=0;n<e.length;n++){var s=e[n],l=o[s];l&&(o[s]={anyOf:[l,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return r},$a}var ja,id;function fx(){if(id)return ja;id=1;var e=ro().MissingRef;ja=r;function r(i,t,a){var o=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");typeof t=="function"&&(a=t,t=void 0);var n=s(i).then(function(){var u=o._addSchema(i,void 0,t);return u.validate||l(u)});return a&&n.then(function(u){a(null,u)},a),n;function s(u){var d=u.$schema;return d&&!o.getSchema(d)?r.call(o,{$ref:d},!0):Promise.resolve()}function l(u){try{return o._compile(u)}catch(c){if(c instanceof e)return d(c);throw c}function d(c){var p=c.missingSchema;if(y(p))throw new Error("Schema "+p+" is loaded but "+c.missingRef+" cannot be resolved");var f=o._loadingSchemas[p];return f||(f=o._loadingSchemas[p]=o._opts.loadSchema(p),f.then(m,m)),f.then(function(b){if(!y(p))return s(b).then(function(){y(p)||o.addSchema(b,p,void 0,t)})}).then(function(){return l(u)});function m(){delete o._loadingSchemas[p]}function y(b){return o._refs[b]||o._schemas[b]}}}}return ja}var ad,od;function hx(){return od||(od=1,ad=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,d,c="data"+(o||""),p="valid"+a,f="errs__"+a,m=e.opts.$data&&n&&n.$data,y;m?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",y="schema"+a):y=n;var b=this,I="definition"+a,S=b.definition,F="",w,T,E,P,O;if(m&&S.$data){O="keywordValidate"+a;var j=S.validateSchema;t+=" var "+I+" = RULES.custom['"+r+"'].definition; var "+O+" = "+I+".validate;"}else{if(P=e.useCustomRule(b,n,e.schema,e),!P)return;y="validate.schema"+s,O=P.code,w=S.compile,T=S.inline,E=S.macro}var x=O+".errors",C="i"+a,k="ruleErr"+a,B=S.async;if(B&&!e.async)throw new Error("async keyword in sync schema");if(T||E||(t+=""+x+" = null;"),t+="var "+f+" = errors;var "+p+";",m&&S.$data&&(F+="}",t+=" if ("+y+" === undefined) { "+p+" = true; } else { ",j&&(F+="}",t+=" "+p+" = "+I+".validateSchema("+y+"); if ("+p+") { ")),T)S.statements?t+=" "+P.validate+" ":t+=" "+p+" = "+P.validate+"; ";else if(E){var M=e.util.copy(e),F="";M.level++;var J="valid"+M.level;M.schema=P.validate,M.schemaPath="";var Z=e.compositeRule;e.compositeRule=M.compositeRule=!0;var K=e.validate(M).replace(/validate\.schema/g,O);e.compositeRule=M.compositeRule=Z,t+=" "+K}else{var X=X||[];X.push(t),t="",t+=" "+O+".call( ",e.opts.passContext?t+="this":t+="self",w||S.schema===!1?t+=" , "+c+" ":t+=" , "+y+" , "+c+" , validate.schema"+e.schemaPath+" ",t+=" , (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var Q=o?"data"+(o-1||""):"parentData",fe=o?e.dataPathArr[o]:"parentDataProperty";t+=" , "+Q+" , "+fe+" , rootData ) ";var $e=t;t=X.pop(),S.errors===!1?(t+=" "+p+" = ",B&&(t+="await "),t+=""+$e+"; "):B?(x="customErrors"+a,t+=" var "+x+" = null; try { "+p+" = await "+$e+"; } catch (e) { "+p+" = false; if (e instanceof ValidationError) "+x+" = e.errors; else throw e; } "):t+=" "+x+" = null; "+p+" = "+$e+"; "}if(S.modifying&&(t+=" if ("+Q+") "+c+" = "+Q+"["+fe+"];"),t+=""+F,S.valid)u&&(t+=" if (true) { ");else{t+=" if ( ",S.valid===void 0?(t+=" !",E?t+=""+J:t+=""+p):t+=" "+!S.valid+" ",t+=") { ",d=b.keyword;var X=X||[];X.push(t),t="";var X=X||[];X.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(d||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { keyword: '"+b.keyword+"' } ",e.opts.messages!==!1&&(t+=` , message: 'should pass "`+b.keyword+`" keyword validation' `),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var Ee=t;t=X.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+Ee+"]); ":t+=" validate.errors = ["+Ee+"]; return false; ":t+=" var err = "+Ee+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var xe=t;t=X.pop(),T?S.errors?S.errors!="full"&&(t+=" for (var "+C+"="+f+"; "+C+"<errors; "+C+"++) { var "+k+" = vErrors["+C+"]; if ("+k+".dataPath === undefined) "+k+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+k+".schemaPath === undefined) { "+k+'.schemaPath = "'+l+'"; } ',e.opts.verbose&&(t+=" "+k+".schema = "+y+"; "+k+".data = "+c+"; "),t+=" } "):S.errors===!1?t+=" "+xe+" ":(t+=" if ("+f+" == errors) { "+xe+" } else { for (var "+C+"="+f+"; "+C+"<errors; "+C+"++) { var "+k+" = vErrors["+C+"]; if ("+k+".dataPath === undefined) "+k+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+k+".schemaPath === undefined) { "+k+'.schemaPath = "'+l+'"; } ',e.opts.verbose&&(t+=" "+k+".schema = "+y+"; "+k+".data = "+c+"; "),t+=" } } "):E?(t+=" var err = ",e.createErrors!==!1?(t+=" { keyword: '"+(d||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { keyword: '"+b.keyword+"' } ",e.opts.messages!==!1&&(t+=` , message: 'should pass "`+b.keyword+`" keyword validation' `),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; ")):S.errors===!1?t+=" "+xe+" ":(t+=" if (Array.isArray("+x+")) { if (vErrors === null) vErrors = "+x+"; else vErrors = vErrors.concat("+x+"); errors = vErrors.length; for (var "+C+"="+f+"; "+C+"<errors; "+C+"++) { var "+k+" = vErrors["+C+"]; if ("+k+".dataPath === undefined) "+k+".dataPath = (dataPath || '') + "+e.errorPath+"; "+k+'.schemaPath = "'+l+'"; ',e.opts.verbose&&(t+=" "+k+".schema = "+y+"; "+k+".data = "+c+"; "),t+=" } } else { "+xe+" } "),t+=" } ",u&&(t+=" else { ")}return t}),ad}var mx="http://json-schema.org/draft-07/schema#",yx="http://json-schema.org/draft-07/schema#",gx="Core schema meta-schema",bx={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},vx=["object","boolean"],Sx={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},zd={$schema:mx,$id:yx,title:gx,definitions:bx,type:vx,properties:Sx,default:!0},Ra,nd;function wx(){if(nd)return Ra;nd=1;var e=zd;return Ra={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:e.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:e.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}},Ra}var _a,sd;function xx(){if(sd)return _a;sd=1;var e=/^[a-z_$][a-z0-9_$-]*$/i,r=hx(),i=wx();_a={add:t,get:a,remove:o,validate:n};function t(s,l){var u=this.RULES;if(u.keywords[s])throw new Error("Keyword "+s+" is already defined");if(!e.test(s))throw new Error("Keyword "+s+" is not a valid identifier");if(l){this.validateKeyword(l,!0);var d=l.type;if(Array.isArray(d))for(var c=0;c<d.length;c++)f(s,d[c],l);else f(s,d,l);var p=l.metaSchema;p&&(l.$data&&this._opts.$data&&(p={anyOf:[p,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),l.validateSchema=this.compile(p,!0))}u.keywords[s]=u.all[s]=!0;function f(m,y,b){for(var I,S=0;S<u.length;S++){var F=u[S];if(F.type==y){I=F;break}}I||(I={type:y,rules:[]},u.push(I));var w={keyword:m,definition:b,custom:!0,code:r,implements:b.implements};I.rules.push(w),u.custom[m]=w}return this}function a(s){var l=this.RULES.custom[s];return l?l.definition:this.RULES.keywords[s]||!1}function o(s){var l=this.RULES;delete l.keywords[s],delete l.all[s],delete l.custom[s];for(var u=0;u<l.length;u++)for(var d=l[u].rules,c=0;c<d.length;c++)if(d[c].keyword==s){d.splice(c,1);break}return this}function n(s,l){n.errors=null;var u=this._validateKeyword=this._validateKeyword||this.compile(i,!0);if(u(s))return!0;if(n.errors=u.errors,l)throw new Error("custom keyword definition is invalid: "+this.errorsText(u.errors));return!1}return _a}var Ix="http://json-schema.org/draft-07/schema#",Cx="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",Tx="Meta-schema for $data reference (JSON Schema extension proposal)",Ax="object",Px=["$data"],Fx={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},Ox=!1,Ex={$schema:Ix,$id:Cx,description:Tx,type:Ax,required:Px,properties:Fx,additionalProperties:Ox},ka,ld;function Lx(){if(ld)return ka;ld=1;var e=Ww(),r=to(),i=zw(),t=Md(),a=Nd(),o=Vw(),n=cx(),s=ux(),l=Er();ka=m,m.prototype.validate=y,m.prototype.compile=b,m.prototype.addSchema=I,m.prototype.addMetaSchema=S,m.prototype.validateSchema=F,m.prototype.getSchema=T,m.prototype.removeSchema=O,m.prototype.addFormat=K,m.prototype.errorsText=Z,m.prototype._addSchema=x,m.prototype._compile=C,m.prototype.compileAsync=fx();var u=xx();m.prototype.addKeyword=u.add,m.prototype.getKeyword=u.get,m.prototype.removeKeyword=u.remove,m.prototype.validateKeyword=u.validate;var d=ro();m.ValidationError=d.Validation,m.MissingRefError=d.MissingRef,m.$dataMetaSchema=s;var c="http://json-schema.org/draft-07/schema",p=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],f=["/properties"];function m(A){if(!(this instanceof m))return new m(A);A=this._opts=l.copy(A)||{},ot(this),this._schemas={},this._refs={},this._fragments={},this._formats=o(A.format),this._cache=A.cache||new i,this._loadingSchemas={},this._compilations=[],this.RULES=n(),this._getId=k(A),A.loopRequired=A.loopRequired||1/0,A.errorDataPath=="property"&&(A._errorDataPathProperty=!0),A.serialize===void 0&&(A.serialize=a),this._metaOpts=xe(this),A.formats&&fe(this),A.keywords&&$e(this),X(this),typeof A.meta=="object"&&this.addMetaSchema(A.meta),A.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),Q(this)}function y(A,R){var N;if(typeof A=="string"){if(N=this.getSchema(A),!N)throw new Error('no schema with key or ref "'+A+'"')}else{var z=this._addSchema(A);N=z.validate||this._compile(z)}var _=N(R);return N.$async!==!0&&(this.errors=N.errors),_}function b(A,R){var N=this._addSchema(A,void 0,R);return N.validate||this._compile(N)}function I(A,R,N,z){if(Array.isArray(A)){for(var _=0;_<A.length;_++)this.addSchema(A[_],void 0,N,z);return this}var W=this._getId(A);if(W!==void 0&&typeof W!="string")throw new Error("schema id must be string");return R=r.normalizeId(R||W),Ee(this,R),this._schemas[R]=this._addSchema(A,N,z,!0),this}function S(A,R,N){return this.addSchema(A,R,N,!0),this}function F(A,R){var N=A.$schema;if(N!==void 0&&typeof N!="string")throw new Error("$schema must be a string");if(N=N||this._opts.defaultMeta||w(this),!N)return this.logger.warn("meta-schema not available"),this.errors=null,!0;var z=this.validate(N,A);if(!z&&R){var _="schema is invalid: "+this.errorsText();if(this._opts.validateSchema=="log")this.logger.error(_);else throw new Error(_)}return z}function w(A){var R=A._opts.meta;return A._opts.defaultMeta=typeof R=="object"?A._getId(R)||R:A.getSchema(c)?c:void 0,A._opts.defaultMeta}function T(A){var R=P(this,A);switch(typeof R){case"object":return R.validate||this._compile(R);case"string":return this.getSchema(R);case"undefined":return E(this,A)}}function E(A,R){var N=r.schema.call(A,{schema:{}},R);if(N){var z=N.schema,_=N.root,W=N.baseId,H=e.call(A,z,_,void 0,W);return A._fragments[R]=new t({ref:R,fragment:!0,schema:z,root:_,baseId:W,validate:H}),H}}function P(A,R){return R=r.normalizeId(R),A._schemas[R]||A._refs[R]||A._fragments[R]}function O(A){if(A instanceof RegExp)return j(this,this._schemas,A),j(this,this._refs,A),this;switch(typeof A){case"undefined":return j(this,this._schemas),j(this,this._refs),this._cache.clear(),this;case"string":var R=P(this,A);return R&&this._cache.del(R.cacheKey),delete this._schemas[A],delete this._refs[A],this;case"object":var N=this._opts.serialize,z=N?N(A):A;this._cache.del(z);var _=this._getId(A);_&&(_=r.normalizeId(_),delete this._schemas[_],delete this._refs[_])}return this}function j(A,R,N){for(var z in R){var _=R[z];!_.meta&&(!N||N.test(z))&&(A._cache.del(_.cacheKey),delete R[z])}}function x(A,R,N,z){if(typeof A!="object"&&typeof A!="boolean")throw new Error("schema should be object or boolean");var _=this._opts.serialize,W=_?_(A):A,H=this._cache.get(W);if(H)return H;z=z||this._opts.addUsedSchema!==!1;var Y=r.normalizeId(this._getId(A));Y&&z&&Ee(this,Y);var ge=this._opts.validateSchema!==!1&&!R,be;ge&&!(be=Y&&Y==r.normalizeId(A.$schema))&&this.validateSchema(A,!0);var ne=r.ids.call(this,A),ae=new t({id:Y,schema:A,localRefs:ne,cacheKey:W,meta:N});return Y[0]!="#"&&z&&(this._refs[Y]=ae),this._cache.put(W,ae),ge&&be&&this.validateSchema(A,!0),ae}function C(A,R){if(A.compiling)return A.validate=_,_.schema=A.schema,_.errors=null,_.root=R||_,A.schema.$async===!0&&(_.$async=!0),_;A.compiling=!0;var N;A.meta&&(N=this._opts,this._opts=this._metaOpts);var z;try{z=e.call(this,A.schema,R,A.localRefs)}catch(W){throw delete A.validate,W}finally{A.compiling=!1,A.meta&&(this._opts=N)}return A.validate=z,A.refs=z.refs,A.refVal=z.refVal,A.root=z.root,z;function _(){var W=A.validate,H=W.apply(this,arguments);return _.errors=W.errors,H}}function k(A){switch(A.schemaId){case"auto":return J;case"id":return B;default:return M}}function B(A){return A.$id&&this.logger.warn("schema $id ignored",A.$id),A.id}function M(A){return A.id&&this.logger.warn("schema id ignored",A.id),A.$id}function J(A){if(A.$id&&A.id&&A.$id!=A.id)throw new Error("schema $id is different from id");return A.$id||A.id}function Z(A,R){if(A=A||this.errors,!A)return"No errors";R=R||{};for(var N=R.separator===void 0?", ":R.separator,z=R.dataVar===void 0?"data":R.dataVar,_="",W=0;W<A.length;W++){var H=A[W];H&&(_+=z+H.dataPath+" "+H.message+N)}return _.slice(0,-N.length)}function K(A,R){return typeof R=="string"&&(R=new RegExp(R)),this._formats[A]=R,this}function X(A){var R;if(A._opts.$data&&(R=Ex,A.addMetaSchema(R,R.$id,!0)),A._opts.meta!==!1){var N=zd;A._opts.$data&&(N=s(N,f)),A.addMetaSchema(N,c,!0),A._refs["http://json-schema.org/schema"]=c}}function Q(A){var R=A._opts.schemas;if(R)if(Array.isArray(R))A.addSchema(R);else for(var N in R)A.addSchema(R[N],N)}function fe(A){for(var R in A._opts.formats){var N=A._opts.formats[R];A.addFormat(R,N)}}function $e(A){for(var R in A._opts.keywords){var N=A._opts.keywords[R];A.addKeyword(R,N)}}function Ee(A,R){if(A._schemas[R]||A._refs[R])throw new Error('schema with key or id "'+R+'" already exists')}function xe(A){for(var R=l.copy(A._opts),N=0;N<p.length;N++)delete R[p[N]];return R}function ot(A){var R=A._opts.logger;if(R===!1)A.logger={log:ze,warn:ze,error:ze};else{if(R===void 0&&(R=console),!(typeof R=="object"&&R.log&&R.warn&&R.error))throw new Error("logger must implement log, warn and error methods");A.logger=R}}function ze(){}return ka}var Dx=Lx(),$x=kw(Dx),Vd={NonNumericAggregation:"nonNumericAggregation",DuplicateSeriesID:"duplicateSeriesId"},_t={Required:"required",MinLength:"minLength",MinItems:"minItems",MaxItems:"maxItems",Pattern:"pattern",AdditionalProperties:"additionalProperties",Enum:"enum",AnyOf:"anyOf"},Xj={BadData:"badData",EmptyDataSet:"emptyDataSet",HistogramEmptyField:"histogramEmptyField",BarElementExceedsLimit:"barElementExceedsLimit",LineChartExceedsLimit:"lineChartExceedsLimit",BoxPlotExceedsLimit:"boxPlotExceedsLimit",BoxPlotOutliersExceedsLimit:"boxPlotOutliersExceedsLimit",PieChartExceedsLimit:"pieChartExceedsLimit",GaugeExceedsLimit:"gaugeExceedsLimit",PieChartMixOfNegativePositiveSlices:"PieChartMixOfNegativePositiveSlices",NegativeValueInSqrtCalculation:"negativeValueInSqrtCalculation",NegativeValueInLogCalculation:"negativeValueInLogCalculation",NegativeValueInXAxisLogScale:"negativeValueInXAxisLogScale",NegativeValueInYAxisLogScale:"negativeValueInYAxisLogScale"};function jx(e){let r=e.lastIndexOf("/");return r!==-1?e.slice(r+1):e}async function Rx(e){let r=await ft();return e.map(i=>{let t=i,a=i.dataPath.startsWith(".")?i.dataPath.substring(1):i.dataPath;switch(i.keyword){case _t.Required:t={...i,message:Ze(r.requiredProperty,{dataPath:a,missingProperty:i.params.missingProperty})};break;case _t.MinLength:t={...i,message:Ze(r.minLength,{dataPath:a,limit:i.params.limit.toString()})};break;case _t.MinItems:t={...i,message:Ze(r.minItems,{dataPath:a,limit:i.params.limit.toString()})};break;case _t.MaxItems:t={...i,message:Ze(r.maxItems,{dataPath:a,limit:i.params.limit.toString()})};break;case _t.Pattern:i.params.pattern==="\\w+"&&(t={...i,message:Ze(r.whiteSpacePattern,{dataPath:a}),params:{}});break;case _t.AdditionalProperties:t={...i,message:Ze(r.additionalProperty,{dataPath:a,additionalProperty:i.params.additionalProperty})};break;case _t.Enum:t={...i,message:Ze(r.enumValues,{dataPath:a,allowedValues:i.params.allowedValues.join(", ")})};break;case _t.AnyOf:{let o=[];i.schemaPath==="#/properties/legend/anyOf"&&(o=Kt.definitions.WebChart.properties.legend.anyOf.map(n=>jx(n.$ref))),t={...i,params:o,message:Ze(r.anyOfValues,{dataPath:a,schemaOptions:o.join(", ")})};break}}return t})}function Ni(e,r){return{...e,$ref:`#/definitions/${r}`}}async function _x(e){let r,i=await ft(),t=qe(e);try{await t.load()}catch{let a=t?.url??"",o=Re(t)?.portalItem?.id??"";r={keyword:qt.LayerLoadFailure,message:Ze(i.layerLoadFailure,{url:a,portalItemId:o}),params:{url:a,portalItemId:o}}}return r}function kx(){let e=new $x({allErrors:!0});return async r=>{let i=[],t=Me(r?.series),a=Kt;switch(t){case D.GaugeSeries:a=Ni(Kt,"WebGaugeChart");break;case D.BoxPlotSeries:a=Ni(Kt,"WebBoxPlot");break;case D.RadarSeries:a=Ni(Kt,"WebRadarChart");break;default:a=Ni(Kt,"WebChart");break}let o=e.compile(a);return o(r),o.errors!==null&&o.errors!==void 0&&(i=await Rx(o.errors)),i}}var Bx=kx();async function qx(e){let{seriesConfigs:r,queryObject:i,allowUsingObjectIdStat:t}=e,a=[],o=await Xa(i),n=await ft();for(let s=0;s<r.length;s+=1){let l=r[s].query?.outStatistics;if(l!==void 0)for(let u=0;u<l.length;u+=1){let d=l[u],c=Ya(d.onStatisticField,o);if(c&&!(c.type===Be.OID&&t||qd(c))&&d.statisticType!==Ie.Count){let p=`series[${s}].query.outStatistics[${u}]`;a.push({keyword:Vd.NonNumericAggregation,message:Ze(n.nonNumericAggregation,{dataPath:p}),dataPath:p,params:{fieldName:d.onStatisticField,fieldType:c.type,aggregationRequested:d.statisticType}})}}}return a}async function Mx(e){let r=[],i=await ft();if(e!==void 0&&e.series.length>1){let t=new Set,a=0;e.series.forEach((o,n)=>{if(t.add(o.id),t.size===a){let s=`series[${n}].id`;r.push({keyword:Vd.DuplicateSeriesID,message:Ze(i.duplicateSeriesID,{dataPath:s,seriesID:o.id,seriesName:o.name}),dataPath:s,params:{seriesId:o.id,seriesName:o.name}})}else a+=1})}return r}function Nx(e){let r=new Set,i=rw(e);if(i){let t=Me(e.series),a=Ct(e.series);t===D.GaugeSeries&&!lw(e)||a===V.PieFromFields||a===V.BarAndLineFromFields||a===V.BoxPlotMonoField||a===V.BoxPlotMultiFields||a===V.BoxPlotMonoFieldAndSplitBy||a===V.BoxPlotMultiFieldsAndSplitBy||r.add(i.x);let o=t===D.ScatterSeries||t===D.BoxPlotSeries||a===V.BarAndLineNoAggregation||a===V.BarAndLineSplitByNoAggregation||a===V.PieNoAggregation,n=[Va,ei,So,aa,wo,Xt.outStatistics.outStatisticFieldName??""],s=[];if(t===D.BoxPlotSeries?s=cw({showMean:e.showMean,seriesConfig:e.series}):s=e.series.map(l=>"y"in l?l.y:void 0).filter(l=>l!==void 0).flat(),o?s.forEach(l=>r.add(l)):n.push(...s),e.series.forEach(l=>{let{query:u}=l;u&&(Fr(u.where)||r.add(Ha(u.where)),u.groupByFieldsForStatistics&&u.groupByFieldsForStatistics.forEach(d=>r.add(d)),u.outStatistics&&u.outStatistics.forEach(d=>r.add(d.onStatisticField)))}),t===D.GaugeSeries&&e.axes?.[0]!==void 0){let l=e.axes?.[0];l&&"minimumFromField"in l&&typeof l.minimumFromField=="string"&&r.add(l.minimumFromField),l&&"maximumFromField"in l&&typeof l.maximumFromField=="string"&&r.add(l.maximumFromField)}n.forEach(l=>{r.delete(l)})}return Array.from(r.values()).filter(t=>!ut(t))}async function Wx(e,r){let i,t=await ft(),a=await Xa(r),o=Nx(e).filter(n=>!Ya(n,a));if(o.length>0){let n=o.join(", ");i={keyword:qt.LayerFieldsNotFound,message:Ze(t.layerFieldsNotFound,{fieldNames:n}),params:n}}return i}async function zx(e){let{input:r,queryObject:i,allowUsingObjectIdStat:t}=e,a=[];if(i!==void 0){let o=await qx({seriesConfigs:r.series,queryObject:i,allowUsingObjectIdStat:t});a=a.concat(o)}return a=a.concat(await Mx(r)),a}async function Vx(e,r){let i=[];if(e!==void 0){let t=await _x(e);if(t!==void 0)i=i.concat(t);else if(r!==void 0){let a=await Wx(r,e);a!==void 0&&(i=i.concat(a))}}return i}async function Yj(e){let{input:r,queryObject:i,allowUsingObjectIdStat:t}=e,a;if(tw(r?.version).versionStatus===Tt.Newer)a={valid:!0,schemaErrors:[],customErrors:[],warnings:[]};else{let o=await Bx(r),n=[],s=[];r!==void 0&&o.length===0&&(s=await Vx(i,r),s.length===0&&(n=await zx({input:r,queryObject:i,allowUsingObjectIdStat:t}))),a={valid:o.length===0&&n.length===0&&s.length===0,schemaErrors:o,customErrors:s,warnings:n}}return a}function eR(e){let r=Me(e?.series),i=!1;switch(r){case D.HistogramSeries:{i=(e?.series?.[0]?.x?.trim()?.length??0)===0;break}case D.ScatterSeries:{let t=e?.series;i=(t?.[0]?.x?.length??0)===0||(t?.[0]?.y?.length??0)===0;break}case D.PieSeries:{let t=e?.series;Ct(t)===V.PieFromFields?i=(t?.[0]?.query?.outStatistics?.length??0)===0:i=(t?.[0]?.x?.length??0)===0||t?.[0]?.x===ei;break}case D.BoxPlotSeries:{let t=e?.series;i=[t?.[0]?.y].flat().length===0||t?.[0]?.y==="";break}case D.ComboLineAndBarSeries:case D.RadarSeries:case D.BarSeries:case D.LineSeries:{let t=e?.series;Ct(t)===V.BarAndLineFromFields?i=(t?.[0]?.query?.outStatistics?.length??0)===0:i=(t?.[0]?.x?.trim()?.length??0)===0;break}}return i}var tR=[{unit:_e.Second,threshold:6e4,unitMs:1e3,preferredIntervalSize:[1,2,3,5,6,10,12,15,20,30,60]},{unit:_e.Minute,threshold:36e5,unitMs:1e3*60,preferredIntervalSize:[1,2,3,5,6,10,12,15,20,30,60]},{unit:_e.Hour,threshold:864e5,unitMs:1e3*60*60,preferredIntervalSize:[1,2,3,4,6,8,12,24]},{unit:_e.Day,threshold:6048e5,unitMs:1e3*60*60*24,preferredIntervalSize:[1,2,3,4,5,6,7]},{unit:_e.Week,threshold:24192e5,unitMs:1e3*60*60*24*7,preferredIntervalSize:[1,2,3,4]},{unit:_e.Month,threshold:290304e5,unitMs:1e3*60*60*24*7*4,preferredIntervalSize:[1,2,3,4,6,12]},{unit:_e.Year,threshold:Number.MAX_SAFE_INTEGER,unitMs:1e3*60*60*24*7*4*12,preferredIntervalSize:[1,2,4,5,10,25,50,100]}],rR="${ groupByFieldsForStatistics } WHEN ${ dateField }>='${ startDate }' AND ${ dateField }${ endDateOperand }'${ endDate }' THEN '${ y }|${ binIndex}'";return{a:It,b:Be,c:nr,d:ra,e:sr,f:Xr,g:ia,h:ke,i:Ux,j:Gx,k:Hx,l:Yr,m:ei,n:aa,o:So,p:wo,q:lt,r:se,s:we,t:ri,u:sa,v:Db,w:Bm,x:Vm,y:by,z:Cy,A:xs,B:Nb,C:ca,D:og,E:sg,F:Zg,G:Nr,H:lv,I:Cl,J:Tl,K:Al,L:Pl,M:Fl,N:q,O:Ze,P:fd,Q:b$,R:v$,S:S$,T:w$,U:ht,V:hd,W:te,X:x$,Y:I$,Z:Xt,_:Pv,$:C$,aa:at,ba:Ov,ca:T$,da:A$,ea:P$,fa:Va,ga:ct,ha:yd,ia:F$,ja:Ki,ka:pe,la:gd,ma:ie,na:Gr,oa:Dv,pa:O$,qa:qa,ra:E$,sa:L$,ta:Yt,ua:ki,va:D$,wa:$v,xa:jv,ya:Rv,za:$$,Aa:_v,Ba:Or,Ca:Bv,Da:Mv,Ea:j$,Fa:Nv,Ga:R$,Ha:_$,Ia:Wv,Ja:zv,Ka:k$,La:B$,Ma:zr,Na:q$,Oa:M$,Pa:N$,Qa:W$,Ra:z$,Sa:V$,Ta:U$,Ua:Vv,Va:Uv,Wa:Gv,Xa:G$,Ya:Hv,Za:H$,_a:Q$,$a:K$,ab:Qv,bb:J$,cb:Z$,db:Kv,eb:Jv,fb:X$,gb:Y$,hb:V,ib:ej,jb:tj,kb:rj,lb:ij,mb:zS,nb:GS,ob:Dd,pb:aj,qb:oj,rb:nj,sb:sj,tb:lj,ub:ut,vb:JS,wb:pj,xb:dj,yb:cj,zb:uj,Ab:fj,Bb:hj,Cb:mj,Db:yj,Eb:gj,Fb:bj,Gb:vj,Hb:ZS,Ib:XS,Jb:tw,Kb:rw,Lb:Sj,Mb:Ha,Nb:Hr,Ob:Fr,Pb:wj,Qb:Ct,Rb:xj,Sb:nw,Tb:ye,Ub:sw,Vb:lw,Wb:Ij,Xb:pw,Yb:Hi,Zb:Ia,_b:Qi,$b:cw,ac:uw,bc:Cj,cc:hw,dc:Tj,ec:Bt,fc:qt,gc:Aj,hc:Qa,ic:Pj,jc:Re,kc:jd,lc:Fj,mc:Oj,nc:qe,oc:Ej,pc:Vr,qc:Lj,rc:ww,sc:Dj,tc:$j,uc:jj,vc:Iw,wc:Rj,xc:_j,yc:Cw,zc:kj,Ac:Ur,Bc:Ja,Cc:Bj,Dc:$w,Ec:qj,Fc:Xa,Gc:Mj,Hc:qd,Ic:Nj,Jc:Wj,Kc:zj,Lc:Vj,Mc:Uj,Nc:Gj,Oc:Hj,Pc:Qj,Qc:_w,Rc:Kj,Sc:Jj,Tc:Zj,Uc:Vd,Vc:Xj,Wc:Yj,Xc:eR,Yc:tR,Zc:rR}},"geometry/support/jsonUtils","layers/support/fieldUtils","renderers/support/jsonUtils","layers/support/Field","request","rest/support/FeatureSet","layers/FeatureLayer","portal/Portal","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils")