@arcgis/charts-components 4.34.0-next.129 → 4.34.0-next.130
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.
- package/dist/cdn/{UQ3ODAPM.js → 23JC3WQ6.js} +2 -2
- package/dist/cdn/{HH2WYSA4.js → 2DKV2AFT.js} +2 -2
- package/dist/cdn/2FV3WDIE.js +4 -0
- package/dist/cdn/{SRL3LYD3.js → 2LCRAFLG.js} +2 -2
- package/dist/cdn/2LNPVZL4.js +4 -0
- package/dist/cdn/2MWFKHTU.js +4 -0
- package/dist/cdn/2T4AEOP2.js +4 -0
- package/dist/cdn/{RPLVHTTM.js → 2TCLFVH3.js} +2 -2
- package/dist/cdn/32AQAL77.js +4 -0
- package/dist/cdn/{LUODOYYL.js → 33OSTIE5.js} +2 -2
- package/dist/cdn/36TV7GEI.js +4 -0
- package/dist/cdn/{GYMBDYMB.js → 3A42SWNX.js} +2 -2
- package/dist/cdn/3QQ55A7Y.js +4 -0
- package/dist/cdn/{A6VLSR7D.js → 3RWMCK5J.js} +2 -2
- package/dist/cdn/{RC2YFSCT.js → 3XRSA5YD.js} +2 -2
- package/dist/cdn/{TO5V6LSW.js → 3Y7BWQMX.js} +2 -2
- package/dist/cdn/{IW226DTF.js → 4F344C2E.js} +2 -2
- package/dist/cdn/{2Y64LQ7L.js → 4GG7HY42.js} +1 -1
- package/dist/cdn/4RDBHI46.js +4 -0
- package/dist/cdn/{3XZ23PUS.js → 5LIE23HE.js} +2 -2
- package/dist/cdn/{HO52QC5K.js → 5QCULYRW.js} +2 -2
- package/dist/cdn/{VCI64OU2.js → 5QZGOKAR.js} +2 -2
- package/dist/cdn/{34CBB7FK.js → 5RX544GK.js} +2 -2
- package/dist/cdn/{5LF5FO4X.js → 5VWM7TUG.js} +2 -2
- package/dist/cdn/63UDOSGZ.js +6 -0
- package/dist/cdn/{LBOJWTTY.js → 64E6TZ4H.js} +1 -1
- package/dist/cdn/{5EKTCA24.js → 6BAAFQRY.js} +2 -2
- package/dist/cdn/{K6XX2IB3.js → 6BD3VE63.js} +1 -1
- package/dist/cdn/{754H6MW3.js → 6GD32OIG.js} +2 -2
- package/dist/cdn/{4R2YI2RH.js → 6MASRJHP.js} +2 -2
- package/dist/cdn/6N6ZU7LZ.js +4 -0
- package/dist/cdn/6O445QJC.js +4 -0
- package/dist/cdn/{5AP54BXT.js → 6R6AO5BG.js} +2 -2
- package/dist/cdn/{2PEUOS3G.js → 6RBHQAZ2.js} +2 -2
- package/dist/cdn/{ATMWQZY6.js → 6YGAJBKM.js} +2 -2
- package/dist/cdn/727Q35RW.js +4 -0
- package/dist/cdn/{476ABD5W.js → 7HLMOI5K.js} +2 -2
- package/dist/cdn/{5RTJ5CJ7.js → 7RQONHQL.js} +2 -2
- package/dist/cdn/{YCPKSJ2M.js → 7SGVTX5G.js} +2 -2
- package/dist/cdn/{ZX4YNHGH.js → 7UH64KBH.js} +36 -34
- package/dist/cdn/{5BOGUHFT.js → A6QHRY74.js} +2 -2
- package/dist/cdn/ADINIVTM.js +4 -0
- package/dist/cdn/AGR5GKDS.js +4 -0
- package/dist/cdn/{CXEQ5WVR.js → AIFVAFW4.js} +8 -8
- package/dist/cdn/{7LUAPIOQ.js → AL5IVVUW.js} +1 -1
- package/dist/cdn/{5UXKP3ST.js → AQJYWJ2U.js} +2 -2
- package/dist/cdn/AVZYGIQB.js +4 -0
- package/dist/cdn/AW77SE45.js +4 -0
- package/dist/cdn/{DTUW7CNU.js → BA2NFDOM.js} +2 -2
- package/dist/cdn/{XTWW2FE5.js → BMM4LN5Z.js} +2 -2
- package/dist/cdn/BXS5JPTO.js +4 -0
- package/dist/cdn/BYJXW7MQ.js +4 -0
- package/dist/cdn/{ZIVTEOQ7.js → BZPCIJQZ.js} +2 -2
- package/dist/cdn/{U27EK4WE.js → CNSYCLUX.js} +2 -2
- package/dist/cdn/{T5JLAIFB.js → CPXWP3Y7.js} +2 -2
- package/dist/cdn/{VRDO74YH.js → CUD3T3EI.js} +2 -2
- package/dist/cdn/{WAUT4NIY.js → D3R4KZ7F.js} +2 -2
- package/dist/cdn/DBGEM2RL.js +4 -0
- package/dist/cdn/{JQMAAG5K.js → DDDYNYGX.js} +2 -2
- package/dist/cdn/{LJPDJCAN.js → DDISQL2M.js} +2 -2
- package/dist/cdn/{NRS5JADQ.js → DIIVRJV6.js} +2 -2
- package/dist/cdn/{34JK6CN4.js → DJSOSUKA.js} +2 -2
- package/dist/cdn/{CZ66X5S2.js → DP5PGUKA.js} +1 -1
- package/dist/cdn/DTSMZWGV.js +4 -0
- package/dist/cdn/{CANBG2OH.js → DWLTRSLO.js} +2 -2
- package/dist/cdn/DZLAMDIU.js +4 -0
- package/dist/cdn/{HXZVCF6V.js → E2POYI3N.js} +1 -1
- package/dist/cdn/{Q7GXJGGH.js → E65IZPIX.js} +2 -2
- package/dist/cdn/EE5OHP6C.js +4 -0
- package/dist/cdn/{KW64CRJU.js → EEDJANIU.js} +2 -2
- package/dist/cdn/{W7MK4YGD.js → EEN6NSSZ.js} +2 -2
- package/dist/cdn/{STRV43WR.js → EOYZBN2I.js} +2 -2
- package/dist/cdn/{HZLBOYAX.js → EP2SHWAZ.js} +2 -2
- package/dist/cdn/{XZ34YNHQ.js → ERYF7BJA.js} +2 -2
- package/dist/cdn/{RFWSB5YR.js → EWF2V54B.js} +2 -2
- package/dist/cdn/{AGPV7Y66.js → F2JW4DFD.js} +2 -2
- package/dist/cdn/{75MCQPC5.js → FDK7CEY2.js} +2 -2
- package/dist/cdn/FXOQR4OJ.js +4 -0
- package/dist/cdn/{VKNYPCB4.js → GACOO2UU.js} +2 -2
- package/dist/cdn/{RDTEG7OK.js → GPJQHCVX.js} +2 -2
- package/dist/cdn/{HQVQUBI5.js → GRZN5CP2.js} +2 -2
- package/dist/cdn/{56LVPOMF.js → GXF3ODUY.js} +2 -2
- package/dist/cdn/{K6VCA3X4.js → HEFGB6IN.js} +2 -2
- package/dist/cdn/{G6U34WHJ.js → HIM6ZYQQ.js} +2 -2
- package/dist/cdn/{NDPP4PBM.js → HJIHYBCE.js} +2 -2
- package/dist/cdn/HTALMHXI.js +4 -0
- package/dist/cdn/{XAJZ4ASH.js → HYKR6DGC.js} +2 -2
- package/dist/cdn/HZYNH6IO.js +4 -0
- package/dist/cdn/{YSUSP72I.js → IF32UBUA.js} +2 -2
- package/dist/cdn/IMSFBRDF.js +4 -0
- package/dist/cdn/INNVIFOU.js +4 -0
- package/dist/cdn/{7ZAGXYN6.js → IPFEHG66.js} +2 -2
- package/dist/cdn/IVB623RS.js +4 -0
- package/dist/cdn/{Y2ZAZAQQ.js → IWLTNEQE.js} +2 -2
- package/dist/cdn/JMBS6P4C.js +4 -0
- package/dist/cdn/K26SGYKI.js +4 -0
- package/dist/cdn/{5E2DGKNU.js → K3T23LZJ.js} +2 -2
- package/dist/cdn/KA735A26.js +4 -0
- package/dist/cdn/{CD55VREN.js → KZF2MB3O.js} +2 -2
- package/dist/cdn/L6WA2CZR.js +4 -0
- package/dist/cdn/{T6IPCCFQ.js → LAFDSGIM.js} +2 -2
- package/dist/cdn/{RNB75A4X.js → LIK3VBOO.js} +2 -2
- package/dist/cdn/{76BRRXC7.js → LKRTZOQZ.js} +2 -2
- package/dist/cdn/{H45LI4OT.js → LWBFWBPI.js} +2 -2
- package/dist/cdn/LY4WTCG5.js +4 -0
- package/dist/cdn/{IAXGXQRA.js → LZCJEO6L.js} +2 -2
- package/dist/cdn/{Z7GFUA72.js → LZPTT2FR.js} +2 -2
- package/dist/cdn/M6QY7BO5.js +4 -0
- package/dist/cdn/{CZKUOMKU.js → M6TKGVKJ.js} +2 -2
- package/dist/cdn/{XERQTDPN.js → MB25QMFB.js} +2 -2
- package/dist/cdn/{IPB7TIP7.js → MG54ONS6.js} +2 -2
- package/dist/cdn/MIOC7A6R.js +4 -0
- package/dist/cdn/{6RPEYD24.js → MMDUWFKY.js} +2 -2
- package/dist/cdn/{MB7YK6LU.js → MRIP4WI5.js} +1 -1
- package/dist/cdn/{TQYC2BLP.js → N477OKCV.js} +2 -2
- package/dist/cdn/{GQTBWKRI.js → NMVEJO4U.js} +2 -2
- package/dist/cdn/NMXOQGIG.js +4 -0
- package/dist/cdn/{ZFM5HZN2.js → NXJ3XJET.js} +2 -2
- package/dist/cdn/{PXHKUT2G.js → O5ONMH6L.js} +2 -2
- package/dist/cdn/{KPOXGP5E.js → O77OZQ2Q.js} +2 -2
- package/dist/cdn/{YODGRWEA.js → OGNJX6CY.js} +2 -2
- package/dist/cdn/{WHHKR6G4.js → OLLMCESI.js} +2 -2
- package/dist/cdn/OUJFWVKE.js +4 -0
- package/dist/cdn/{FCXBXZFU.js → Q2JJXIDR.js} +2 -2
- package/dist/cdn/{FDYQIH4C.js → Q6PET2ER.js} +2 -2
- package/dist/cdn/{OY6FOLI4.js → QG5MBXMN.js} +2 -2
- package/dist/cdn/{WW2GE4KS.js → QI6ZDZHX.js} +2 -2
- package/dist/cdn/{BTIZQOTR.js → QK43TUOY.js} +2 -2
- package/dist/cdn/QYDULV77.js +4 -0
- package/dist/cdn/{T67ZIS4W.js → R7KOC2VA.js} +2 -2
- package/dist/cdn/{CRNYTXOE.js → RBGC3ID5.js} +2 -2
- package/dist/cdn/REJCQ5CX.js +4 -0
- package/dist/cdn/{HUK74NML.js → RYUTABQN.js} +2 -2
- package/dist/cdn/SG76MNP7.js +4 -0
- package/dist/cdn/{URXQQEUG.js → SGKR37IW.js} +2 -2
- package/dist/cdn/{UKJMTRPC.js → SJOE4LOZ.js} +2 -2
- package/dist/cdn/SOP5SGXO.js +4 -0
- package/dist/cdn/{4N5BTQ4S.js → SRFXRMZC.js} +2 -2
- package/dist/cdn/{ALUBDDZQ.js → T3NWPODA.js} +2 -2
- package/dist/cdn/TCQRZ7PS.js +4 -0
- package/dist/cdn/{RE4BA5M4.js → TCSKC3W7.js} +2 -2
- package/dist/cdn/{55LM7XAS.js → TEDJBRDE.js} +2 -2
- package/dist/cdn/{WKOY7UJS.js → TGAQ4TUJ.js} +2 -2
- package/dist/cdn/{FYO5575I.js → TGFWERLE.js} +2 -2
- package/dist/cdn/{KWTDU2UP.js → TLGLSNIO.js} +2 -2
- package/dist/cdn/TXVOAQI6.js +4 -0
- package/dist/cdn/{RTQEHGD3.js → U2AWO6VG.js} +2 -2
- package/dist/cdn/{QYJMT2TA.js → U5XNU7TU.js} +2 -2
- package/dist/cdn/UFGQD62K.js +4 -0
- package/dist/cdn/{XBRLEZ2E.js → UG6VNL26.js} +2 -2
- package/dist/cdn/UUKJ4KOO.js +4 -0
- package/dist/cdn/{VLMSDIG4.js → VEFG2QGL.js} +2 -2
- package/dist/cdn/VELBZU7B.js +4 -0
- package/dist/cdn/{7RTDTW5F.js → VK2QJPEP.js} +2 -2
- package/dist/cdn/{SO6HB5M3.js → VSE5NTZZ.js} +2 -2
- package/dist/cdn/{XFS7IVPD.js → WF5MN4MK.js} +2 -2
- package/dist/cdn/{CPDG7XGK.js → WFYIILYG.js} +2 -2
- package/dist/cdn/WHQNFL7D.js +4 -0
- package/dist/cdn/WJS226XD.js +4 -0
- package/dist/cdn/{K5JEBF77.js → WR323X22.js} +2 -2
- package/dist/cdn/{FXB5P5WO.js → WTNSPDJ6.js} +1 -1
- package/dist/cdn/{Y4TIYI6F.js → WZWTTGT5.js} +2 -2
- package/dist/cdn/{GGPAGFX6.js → X34BCUEU.js} +2 -2
- package/dist/cdn/{RIUEYCJX.js → X3LRK444.js} +2 -2
- package/dist/cdn/{T73QJJUX.js → XAAPWY3V.js} +2 -2
- package/dist/cdn/{WRFP6MGG.js → XCNMK7PQ.js} +2 -2
- package/dist/cdn/{AYYW4NPU.js → XHAXF7DM.js} +2 -2
- package/dist/cdn/{C3TTPXTK.js → XHJXY44O.js} +2 -2
- package/dist/cdn/{4WSFPEYQ.js → YEYWKXVP.js} +2 -2
- package/dist/cdn/YFCZKGMS.js +4 -0
- package/dist/cdn/{3ODR4TGD.js → YFKYUA2D.js} +2 -2
- package/dist/cdn/{NZUOBSVC.js → YH5ZXWMK.js} +2 -2
- package/dist/cdn/{Y4Z37QDB.js → YHSAQMO2.js} +2 -2
- package/dist/cdn/{ZDKYV2J3.js → YSJQYNRU.js} +2 -2
- package/dist/cdn/{U2BHDW46.js → YXZLQWXF.js} +2 -2
- package/dist/cdn/{IOEHGEMI.js → ZG2EZFEA.js} +2 -2
- package/dist/cdn/{323S2P5E.js → ZPSKTOHO.js} +2 -2
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/data/index.d.ts +5 -1
- package/dist/chart-rendering/common/data/utils/misc/index.d.ts +1 -2
- package/dist/chart-rendering/common/interfaces.d.ts +1 -1
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +1 -1
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/baseline-stacking.js +1 -1
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +2 -2
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/interfaces.js +20 -8
- package/dist/chunks/interfaces2.js +2 -1
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +1 -1
- package/dist/chunks/model-with-multi-axes.js +1 -1
- package/dist/chunks/model-with-rotation.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +1 -1
- package/dist/chunks/popover-ui-utils.js +12 -12
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +62 -39
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/setup-utils.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +4389 -4348
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +71 -59
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.d.ts +1 -0
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +24 -24
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +6 -6
- package/dist/docs/docs.json +10 -10
- package/dist/docs/web-types.json +3 -3
- package/dist/index.js +1 -1
- package/dist/interfaces.d.ts +1 -0
- package/dist/json-schema/index.d.ts +11 -0
- package/dist/loader.js +1 -1
- package/dist/model/scatterplot-model/scatterplot-model.d.ts +15 -0
- package/dist/model/scatterplot-model/utils/scatterplot-data.d.ts +12 -0
- package/dist/spec/web-chart.d.ts +9 -4
- package/dist/utils/chart-config/converter/index.d.ts +2 -2
- package/package.json +3 -3
- package/dist/cdn/25KSZ7UA.js +0 -4
- package/dist/cdn/3HWAYJAG.js +0 -4
- package/dist/cdn/3R4YKPJV.js +0 -4
- package/dist/cdn/5253Z4EL.js +0 -4
- package/dist/cdn/5YH3CUIK.js +0 -4
- package/dist/cdn/7HEA2W5Z.js +0 -4
- package/dist/cdn/7OLMOHTM.js +0 -4
- package/dist/cdn/ADW2ZIBL.js +0 -4
- package/dist/cdn/BERW6G76.js +0 -4
- package/dist/cdn/EBOZTDY7.js +0 -4
- package/dist/cdn/EHS5TOBC.js +0 -4
- package/dist/cdn/F37S2VWX.js +0 -4
- package/dist/cdn/FDXQHY6W.js +0 -4
- package/dist/cdn/GGE7TRPN.js +0 -4
- package/dist/cdn/H6OQRHQH.js +0 -4
- package/dist/cdn/HEBRUWNF.js +0 -4
- package/dist/cdn/HRWKPYWZ.js +0 -4
- package/dist/cdn/IQ745W7Q.js +0 -4
- package/dist/cdn/J3CFHA2O.js +0 -4
- package/dist/cdn/KYWVKHYD.js +0 -4
- package/dist/cdn/LCL2G5WS.js +0 -4
- package/dist/cdn/LG4O3AWP.js +0 -4
- package/dist/cdn/LJKEFWQN.js +0 -4
- package/dist/cdn/LPXAR4IZ.js +0 -4
- package/dist/cdn/LWGLU4RF.js +0 -4
- package/dist/cdn/ML5FL4EP.js +0 -4
- package/dist/cdn/N6QWK3P5.js +0 -4
- package/dist/cdn/O24EXAH7.js +0 -4
- package/dist/cdn/OCIQLCCX.js +0 -4
- package/dist/cdn/OIUO75TW.js +0 -4
- package/dist/cdn/OJ6TL37X.js +0 -4
- package/dist/cdn/OUGXQA2W.js +0 -4
- package/dist/cdn/PGWIWILD.js +0 -4
- package/dist/cdn/Q36QLETF.js +0 -4
- package/dist/cdn/QDFD3HVL.js +0 -4
- package/dist/cdn/R7QXDVEC.js +0 -4
- package/dist/cdn/RINH6U6N.js +0 -4
- package/dist/cdn/RU6ENJMH.js +0 -4
- package/dist/cdn/SUWRIFSH.js +0 -4
- package/dist/cdn/TNHC43UG.js +0 -4
- package/dist/cdn/UAJD2AIY.js +0 -4
- package/dist/cdn/WJ3U5YQX.js +0 -4
- package/dist/cdn/XKLKMO33.js +0 -6
- package/dist/cdn/Y3YAHT7I.js +0 -4
- package/dist/cdn/YRIPBAVG.js +0 -4
- package/dist/cdn/YTC64K7N.js +0 -4
- package/dist/cdn/YWKF5IBQ.js +0 -4
|
@@ -1,23 +1,23 @@
|
|
|
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.
|
|
4
|
-
import{A as hr,B as ri,C as Fe,G as yr,H as Ct,I as Le,V as ua,a as C,b as ae,c as ei,e as oa,f as er,h as rt,i as la,k as Pe,l as it,n as da,o as kt,q as lt,s as pa,t as ca,v as Nt,w as ue,x as Wt,y as ti,z as Mt}from"./2Y64LQ7L.js";import{b as fa,c as ye,d as me}from"./7LUAPIOQ.js";import{G as he}from"./LBOJWTTY.js";import{b as W,d as na}from"./MB7YK6LU.js";export default $arcgis.t(([{substitute:Ne},qi,Rn,jn,xd,Li,Cd,Td,Pd,Fd,Ad,Ed,qn,Bi])=>{var wa=W((gr,Sa)=>{(function(t,e){typeof gr=="object"&&typeof Sa<"u"?e(gr):typeof define=="function"&&define.amd?define(["exports"],e):e(t.URI=t.URI||{})})(gr,function(t){"use strict";function e(){for(var g=arguments.length,h=Array(g),v=0;v<g;v++)h[v]=arguments[v];if(h.length>1){h[0]=h[0].slice(0,-1);for(var w=h.length-1,x=1;x<w;++x)h[x]=h[x].slice(1,-1);return h[w]=h[w].slice(1),h.join("")}else return h[0]}function i(g){return"(?:"+g+")"}function a(g){return g===void 0?"undefined":g===null?"null":Object.prototype.toString.call(g).split(" ").pop().split("]").shift().toLowerCase()}function r(g){return g.toUpperCase()}function s(g){return g!=null?g instanceof Array?g:typeof g.length!="number"||g.split||g.setInterval||g.call?[g]:Array.prototype.slice.call(g):[]}function o(g,h){var v=g;if(h)for(var w in h)v[w]=h[w];return v}function n(g){var h="[A-Za-z]",v="[\\x0D]",w="[0-9]",x="[\\x22]",j=e(w,"[A-Fa-f]"),M="[\\x0A]",Q="[\\x20]",X=i(i("%[EFef]"+j+"%"+j+j+"%"+j+j)+"|"+i("%[89A-Fa-f]"+j+"%"+j+j)+"|"+i("%"+j+j)),ve="[\\:\\/\\?\\#\\[\\]\\@]",H="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",oe=e(ve,H),Se=g?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",ne=g?"[\\uE000-\\uF8FF]":"[]",K=e(h,w,"[\\-\\.\\_\\~]",Se),le=i(h+e(h,w,"[\\+\\-\\.]")+"*"),te=i(i(X+"|"+e(K,H,"[\\:]"))+"*"),wt=i(i("25[0-5]")+"|"+i("2[0-4]"+w)+"|"+i("1"+w+w)+"|"+i("[1-9]"+w)+"|"+w),je=i(i("25[0-5]")+"|"+i("2[0-4]"+w)+"|"+i("1"+w+w)+"|"+i("0?[1-9]"+w)+"|0?0?"+w),Be=i(je+"\\."+je+"\\."+je+"\\."+je),ie=i(j+"{1,4}"),_e=i(i(ie+"\\:"+ie)+"|"+Be),ke=i(i(ie+"\\:")+"{6}"+_e),Qe=i("\\:\\:"+i(ie+"\\:")+"{5}"+_e),It=i(i(ie)+"?\\:\\:"+i(ie+"\\:")+"{4}"+_e),Xe=i(i(i(ie+"\\:")+"{0,1}"+ie)+"?\\:\\:"+i(ie+"\\:")+"{3}"+_e),Jt=i(i(i(ie+"\\:")+"{0,2}"+ie)+"?\\:\\:"+i(ie+"\\:")+"{2}"+_e),cr=i(i(i(ie+"\\:")+"{0,3}"+ie)+"?\\:\\:"+ie+"\\:"+_e),ur=i(i(i(ie+"\\:")+"{0,4}"+ie)+"?\\:\\:"+_e),Lt=i(i(i(ie+"\\:")+"{0,5}"+ie)+"?\\:\\:"+ie),Rt=i(i(i(ie+"\\:")+"{0,6}"+ie)+"?\\:\\:"),et=i([ke,Qe,It,Xe,Jt,cr,ur,Lt,Rt].join("|")),jt=i(i(K+"|"+X)+"+"),Yr=i(et+"\\%25"+jt),xt=i(et+i("\\%25|\\%(?!"+j+"{2})")+jt),Po=i("[vV]"+j+"+\\."+e(K,H,"[\\:]")+"+"),Fo=i("\\["+i(xt+"|"+et+"|"+Po)+"\\]"),ra=i(i(X+"|"+e(K,H))+"*"),Kt=i(Fo+"|"+Be+"(?!"+ra+")|"+ra),Zt=i(w+"*"),ia=i(i(te+"@")+"?"+Kt+i("\\:"+Zt)+"?"),Yt=i(X+"|"+e(K,H,"[\\:\\@]")),Ao=i(Yt+"*"),aa=i(Yt+"+"),Eo=i(i(X+"|"+e(K,H,"[\\@]"))+"+"),tt=i(i("\\/"+Ao)+"*"),_t=i("\\/"+i(aa+tt)+"?"),Xr=i(Eo+tt),fr=i(aa+tt),qt="(?!"+Yt+")",ru=i(tt+"|"+_t+"|"+Xr+"|"+fr+"|"+qt),Bt=i(i(Yt+"|"+e("[\\/\\?]",ne))+"*"),Xt=i(i(Yt+"|[\\/\\?]")+"*"),sa=i(i("\\/\\/"+ia+tt)+"|"+_t+"|"+fr+"|"+qt),$o=i(le+"\\:"+sa+i("\\?"+Bt)+"?"+i("\\#"+Xt)+"?"),Oo=i(i("\\/\\/"+ia+tt)+"|"+_t+"|"+Xr+"|"+qt),Do=i(Oo+i("\\?"+Bt)+"?"+i("\\#"+Xt)+"?"),iu=i($o+"|"+Do),au=i(le+"\\:"+sa+i("\\?"+Bt)+"?"),su="^("+le+")\\:"+i(i("\\/\\/("+i("("+te+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?)")+"?("+tt+"|"+_t+"|"+fr+"|"+qt+")")+i("\\?("+Bt+")")+"?"+i("\\#("+Xt+")")+"?$",nu="^(){0}"+i(i("\\/\\/("+i("("+te+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?)")+"?("+tt+"|"+_t+"|"+Xr+"|"+qt+")")+i("\\?("+Bt+")")+"?"+i("\\#("+Xt+")")+"?$",ou="^("+le+")\\:"+i(i("\\/\\/("+i("("+te+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?)")+"?("+tt+"|"+_t+"|"+fr+"|"+qt+")")+i("\\?("+Bt+")")+"?$",lu="^"+i("\\#("+Xt+")")+"?$",du="^"+i("("+te+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?$";return{NOT_SCHEME:new RegExp(e("[^]",h,w,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(e("[^\\%\\:]",K,H),"g"),NOT_HOST:new RegExp(e("[^\\%\\[\\]\\:]",K,H),"g"),NOT_PATH:new RegExp(e("[^\\%\\/\\:\\@]",K,H),"g"),NOT_PATH_NOSCHEME:new RegExp(e("[^\\%\\/\\@]",K,H),"g"),NOT_QUERY:new RegExp(e("[^\\%]",K,H,"[\\:\\@\\/\\?]",ne),"g"),NOT_FRAGMENT:new RegExp(e("[^\\%]",K,H,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(e("[^]",K,H),"g"),UNRESERVED:new RegExp(K,"g"),OTHER_CHARS:new RegExp(e("[^\\%]",K,oe),"g"),PCT_ENCODED:new RegExp(X,"g"),IPV4ADDRESS:new RegExp("^("+Be+")$"),IPV6ADDRESS:new RegExp("^\\[?("+et+")"+i(i("\\%25|\\%(?!"+j+"{2})")+"("+jt+")")+"?\\]?$")}}var d=n(!1),u=n(!0),p=function(){function g(h,v){var w=[],x=!0,j=!1,M=void 0;try{for(var Q=h[Symbol.iterator](),X;!(x=(X=Q.next()).done)&&(w.push(X.value),!(v&&w.length===v));x=!0);}catch(ve){j=!0,M=ve}finally{try{!x&&Q.return&&Q.return()}finally{if(j)throw M}}return w}return function(h,v){if(Array.isArray(h))return h;if(Symbol.iterator in Object(h))return g(h,v);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),c=function(g){if(Array.isArray(g)){for(var h=0,v=Array(g.length);h<g.length;h++)v[h]=g[h];return v}else return Array.from(g)},f=2147483647,l=36,y=1,b=26,m=38,S=700,T=72,I=128,P="-",F=/^xn--/,$=/[^\0-\x7E]/,_=/[\x2E\u3002\uFF0E\uFF61]/g,L={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},A=l-y,R=Math.floor,O=String.fromCharCode;function q(g){throw new RangeError(L[g])}function E(g,h){for(var v=[],w=g.length;w--;)v[w]=h(g[w]);return v}function D(g,h){var v=g.split("@"),w="";v.length>1&&(w=v[0]+"@",g=v[1]),g=g.replace(_,".");var x=g.split("."),j=E(x,h).join(".");return w+j}function B(g){for(var h=[],v=0,w=g.length;v<w;){var x=g.charCodeAt(v++);if(x>=55296&&x<=56319&&v<w){var j=g.charCodeAt(v++);(j&64512)==56320?h.push(((x&1023)<<10)+(j&1023)+65536):(h.push(x),v--)}else h.push(x)}return h}var ee=function(h){return String.fromCodePoint.apply(String,c(h))},V=function(h){return h-48<10?h-22:h-65<26?h-65:h-97<26?h-97:l},G=function(h,v){return h+22+75*(h<26)-((v!=0)<<5)},z=function(h,v,w){var x=0;for(h=w?R(h/S):h>>1,h+=R(h/v);h>A*b>>1;x+=l)h=R(h/A);return R(x+(A+1)*h/(h+m))},N=function(h){var v=[],w=h.length,x=0,j=I,M=T,Q=h.lastIndexOf(P);Q<0&&(Q=0);for(var X=0;X<Q;++X)h.charCodeAt(X)>=128&&q("not-basic"),v.push(h.charCodeAt(X));for(var ve=Q>0?Q+1:0;ve<w;){for(var H=x,oe=1,Se=l;;Se+=l){ve>=w&&q("invalid-input");var ne=V(h.charCodeAt(ve++));(ne>=l||ne>R((f-x)/oe))&&q("overflow"),x+=ne*oe;var K=Se<=M?y:Se>=M+b?b:Se-M;if(ne<K)break;var le=l-K;oe>R(f/le)&&q("overflow"),oe*=le}var te=v.length+1;M=z(x-H,te,H==0),R(x/te)>f-j&&q("overflow"),j+=R(x/te),x%=te,v.splice(x++,0,j)}return String.fromCodePoint.apply(String,v)},pe=function(h){var v=[];h=B(h);var w=h.length,x=I,j=0,M=T,Q=!0,X=!1,ve=void 0;try{for(var H=h[Symbol.iterator](),oe;!(Q=(oe=H.next()).done);Q=!0){var Se=oe.value;Se<128&&v.push(O(Se))}}catch(xt){X=!0,ve=xt}finally{try{!Q&&H.return&&H.return()}finally{if(X)throw ve}}var ne=v.length,K=ne;for(ne&&v.push(P);K<w;){var le=f,te=!0,wt=!1,je=void 0;try{for(var Be=h[Symbol.iterator](),ie;!(te=(ie=Be.next()).done);te=!0){var _e=ie.value;_e>=x&&_e<le&&(le=_e)}}catch(xt){wt=!0,je=xt}finally{try{!te&&Be.return&&Be.return()}finally{if(wt)throw je}}var ke=K+1;le-x>R((f-j)/ke)&&q("overflow"),j+=(le-x)*ke,x=le;var Qe=!0,It=!1,Xe=void 0;try{for(var Jt=h[Symbol.iterator](),cr;!(Qe=(cr=Jt.next()).done);Qe=!0){var ur=cr.value;if(ur<x&&++j>f&&q("overflow"),ur==x){for(var Lt=j,Rt=l;;Rt+=l){var et=Rt<=M?y:Rt>=M+b?b:Rt-M;if(Lt<et)break;var jt=Lt-et,Yr=l-et;v.push(O(G(et+jt%Yr,0))),Lt=R(jt/Yr)}v.push(O(G(Lt,0))),M=z(j,ke,K==ne),j=0,++K}}}catch(xt){It=!0,Xe=xt}finally{try{!Qe&&Jt.return&&Jt.return()}finally{if(It)throw Xe}}++j,++x}return v.join("")},Ce=function(h){return D(h,function(v){return F.test(v)?N(v.slice(4).toLowerCase()):v})},Ee=function(h){return D(h,function(v){return $.test(v)?"xn--"+pe(v):v})},J={version:"2.1.0",ucs2:{decode:B,encode:ee},decode:N,encode:pe,toASCII:Ee,toUnicode:Ce},ge={};function we(g){var h=g.charCodeAt(0),v=void 0;return h<16?v="%0"+h.toString(16).toUpperCase():h<128?v="%"+h.toString(16).toUpperCase():h<2048?v="%"+(h>>6|192).toString(16).toUpperCase()+"%"+(h&63|128).toString(16).toUpperCase():v="%"+(h>>12|224).toString(16).toUpperCase()+"%"+(h>>6&63|128).toString(16).toUpperCase()+"%"+(h&63|128).toString(16).toUpperCase(),v}function $e(g){for(var h="",v=0,w=g.length;v<w;){var x=parseInt(g.substr(v+1,2),16);if(x<128)h+=String.fromCharCode(x),v+=3;else if(x>=194&&x<224){if(w-v>=6){var j=parseInt(g.substr(v+4,2),16);h+=String.fromCharCode((x&31)<<6|j&63)}else h+=g.substr(v,6);v+=6}else if(x>=224){if(w-v>=9){var M=parseInt(g.substr(v+4,2),16),Q=parseInt(g.substr(v+7,2),16);h+=String.fromCharCode((x&15)<<12|(M&63)<<6|Q&63)}else h+=g.substr(v,9);v+=9}else h+=g.substr(v,3),v+=3}return h}function nt(g,h){function v(w){var x=$e(w);return x.match(h.UNRESERVED)?x:w}return g.scheme&&(g.scheme=String(g.scheme).replace(h.PCT_ENCODED,v).toLowerCase().replace(h.NOT_SCHEME,"")),g.userinfo!==void 0&&(g.userinfo=String(g.userinfo).replace(h.PCT_ENCODED,v).replace(h.NOT_USERINFO,we).replace(h.PCT_ENCODED,r)),g.host!==void 0&&(g.host=String(g.host).replace(h.PCT_ENCODED,v).toLowerCase().replace(h.NOT_HOST,we).replace(h.PCT_ENCODED,r)),g.path!==void 0&&(g.path=String(g.path).replace(h.PCT_ENCODED,v).replace(g.scheme?h.NOT_PATH:h.NOT_PATH_NOSCHEME,we).replace(h.PCT_ENCODED,r)),g.query!==void 0&&(g.query=String(g.query).replace(h.PCT_ENCODED,v).replace(h.NOT_QUERY,we).replace(h.PCT_ENCODED,r)),g.fragment!==void 0&&(g.fragment=String(g.fragment).replace(h.PCT_ENCODED,v).replace(h.NOT_FRAGMENT,we).replace(h.PCT_ENCODED,r)),g}function Ze(g){return g.replace(/^0*(.*)/,"$1")||"0"}function be(g,h){var v=g.match(h.IPV4ADDRESS)||[],w=p(v,2),x=w[1];return x?x.split(".").map(Ze).join("."):g}function ce(g,h){var v=g.match(h.IPV6ADDRESS)||[],w=p(v,3),x=w[1],j=w[2];if(x){for(var M=x.toLowerCase().split("::").reverse(),Q=p(M,2),X=Q[0],ve=Q[1],H=ve?ve.split(":").map(Ze):[],oe=X.split(":").map(Ze),Se=h.IPV4ADDRESS.test(oe[oe.length-1]),ne=Se?7:8,K=oe.length-ne,le=Array(ne),te=0;te<ne;++te)le[te]=H[te]||oe[K+te]||"";Se&&(le[ne-1]=be(le[ne-1],h));var wt=le.reduce(function(ke,Qe,It){if(!Qe||Qe==="0"){var Xe=ke[ke.length-1];Xe&&Xe.index+Xe.length===It?Xe.length++:ke.push({index:It,length:1})}return ke},[]),je=wt.sort(function(ke,Qe){return Qe.length-ke.length})[0],Be=void 0;if(je&&je.length>1){var ie=le.slice(0,je.index),_e=le.slice(je.index+je.length);Be=ie.join(":")+"::"+_e.join(":")}else Be=le.join(":");return j&&(Be+="%"+j),Be}else return g}var bt=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Te="".match(/(){0}/)[1]===void 0;function Y(g){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v={},w=h.iri!==!1?u:d;h.reference==="suffix"&&(g=(h.scheme?h.scheme+":":"")+"//"+g);var x=g.match(bt);if(x){Te?(v.scheme=x[1],v.userinfo=x[3],v.host=x[4],v.port=parseInt(x[5],10),v.path=x[6]||"",v.query=x[7],v.fragment=x[8],isNaN(v.port)&&(v.port=x[5])):(v.scheme=x[1]||void 0,v.userinfo=g.indexOf("@")!==-1?x[3]:void 0,v.host=g.indexOf("//")!==-1?x[4]:void 0,v.port=parseInt(x[5],10),v.path=x[6]||"",v.query=g.indexOf("?")!==-1?x[7]:void 0,v.fragment=g.indexOf("#")!==-1?x[8]:void 0,isNaN(v.port)&&(v.port=g.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?x[4]:void 0)),v.host&&(v.host=ce(be(v.host,w),w)),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",h.reference&&h.reference!=="suffix"&&h.reference!==v.reference&&(v.error=v.error||"URI is not a "+h.reference+" reference.");var j=ge[(h.scheme||v.scheme||"").toLowerCase()];if(!h.unicodeSupport&&(!j||!j.unicodeSupport)){if(v.host&&(h.domainHost||j&&j.domainHost))try{v.host=J.toASCII(v.host.replace(w.PCT_ENCODED,$e).toLowerCase())}catch(M){v.error=v.error||"Host's domain name can not be converted to ASCII via punycode: "+M}nt(v,d)}else nt(v,w);j&&j.parse&&j.parse(v,h)}else v.error=v.error||"URI can not be parsed.";return v}function ot(g,h){var v=h.iri!==!1?u:d,w=[];return g.userinfo!==void 0&&(w.push(g.userinfo),w.push("@")),g.host!==void 0&&w.push(ce(be(String(g.host),v),v).replace(v.IPV6ADDRESS,function(x,j,M){return"["+j+(M?"%25"+M:"")+"]"})),(typeof g.port=="number"||typeof g.port=="string")&&(w.push(":"),w.push(String(g.port))),w.length?w.join(""):void 0}var Ye=/^\.\.?\//,vt=/^\/\.(\/|$)/,St=/^\/\.\.(\/|$)/,Ie=/^\/?(?:.|\n)*?(?=\/|$)/;function qe(g){for(var h=[];g.length;)if(g.match(Ye))g=g.replace(Ye,"");else if(g.match(vt))g=g.replace(vt,"/");else if(g.match(St))g=g.replace(St,"/"),h.pop();else if(g==="."||g==="..")g="";else{var v=g.match(Ie);if(v){var w=v[0];g=g.slice(w.length),h.push(w)}else throw new Error("Unexpected dot segment condition")}return h.join("")}function De(g){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=h.iri?u:d,w=[],x=ge[(h.scheme||g.scheme||"").toLowerCase()];if(x&&x.serialize&&x.serialize(g,h),g.host&&!v.IPV6ADDRESS.test(g.host)){if(h.domainHost||x&&x.domainHost)try{g.host=h.iri?J.toUnicode(g.host):J.toASCII(g.host.replace(v.PCT_ENCODED,$e).toLowerCase())}catch(Q){g.error=g.error||"Host's domain name can not be converted to "+(h.iri?"Unicode":"ASCII")+" via punycode: "+Q}}nt(g,v),h.reference!=="suffix"&&g.scheme&&(w.push(g.scheme),w.push(":"));var j=ot(g,h);if(j!==void 0&&(h.reference!=="suffix"&&w.push("//"),w.push(j),g.path&&g.path.charAt(0)!=="/"&&w.push("/")),g.path!==void 0){var M=g.path;!h.absolutePath&&(!x||!x.absolutePath)&&(M=qe(M)),j===void 0&&(M=M.replace(/^\/\//,"/%2F")),w.push(M)}return g.query!==void 0&&(w.push("?"),w.push(g.query)),g.fragment!==void 0&&(w.push("#"),w.push(g.fragment)),w.join("")}function Oe(g,h){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},w=arguments[3],x={};return w||(g=Y(De(g,v),v),h=Y(De(h,v),v)),v=v||{},!v.tolerant&&h.scheme?(x.scheme=h.scheme,x.userinfo=h.userinfo,x.host=h.host,x.port=h.port,x.path=qe(h.path||""),x.query=h.query):(h.userinfo!==void 0||h.host!==void 0||h.port!==void 0?(x.userinfo=h.userinfo,x.host=h.host,x.port=h.port,x.path=qe(h.path||""),x.query=h.query):(h.path?(h.path.charAt(0)==="/"?x.path=qe(h.path):((g.userinfo!==void 0||g.host!==void 0||g.port!==void 0)&&!g.path?x.path="/"+h.path:g.path?x.path=g.path.slice(0,g.path.lastIndexOf("/")+1)+h.path:x.path=h.path,x.path=qe(x.path)),x.query=h.query):(x.path=g.path,h.query!==void 0?x.query=h.query:x.query=g.query),x.userinfo=g.userinfo,x.host=g.host,x.port=g.port),x.scheme=g.scheme),x.fragment=h.fragment,x}function Ge(g,h,v){var w=o({scheme:"null"},v);return De(Oe(Y(g,w),Y(h,w),w,!0),w)}function Re(g,h){return typeof g=="string"?g=De(Y(g,h),h):a(g)==="object"&&(g=Y(De(g,h),h)),g}function pr(g,h,v){return typeof g=="string"?g=De(Y(g,v),v):a(g)==="object"&&(g=De(g,v)),typeof h=="string"?h=De(Y(h,v),v):a(h)==="object"&&(h=De(h,v)),g===h}function Kr(g,h){return g&&g.toString().replace(!h||!h.iri?d.ESCAPE:u.ESCAPE,we)}function We(g,h){return g&&g.toString().replace(!h||!h.iri?d.PCT_ENCODED:u.PCT_ENCODED,$e)}var Ht={scheme:"http",domainHost:!0,parse:function(h,v){return h.host||(h.error=h.error||"HTTP URIs must have a host."),h},serialize:function(h,v){var w=String(h.scheme).toLowerCase()==="https";return(h.port===(w?443:80)||h.port==="")&&(h.port=void 0),h.path||(h.path="/"),h}},Qi={scheme:"https",domainHost:Ht.domainHost,parse:Ht.parse,serialize:Ht.serialize};function Ji(g){return typeof g.secure=="boolean"?g.secure:String(g.scheme).toLowerCase()==="wss"}var Qt={scheme:"ws",domainHost:!0,parse:function(h,v){var w=h;return w.secure=Ji(w),w.resourceName=(w.path||"/")+(w.query?"?"+w.query:""),w.path=void 0,w.query=void 0,w},serialize:function(h,v){if((h.port===(Ji(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 w=h.resourceName.split("?"),x=p(w,2),j=x[0],M=x[1];h.path=j&&j!=="/"?j:void 0,h.query=M,h.resourceName=void 0}return h.fragment=void 0,h}},Ki={scheme:"wss",domainHost:Qt.domainHost,parse:Qt.parse,serialize:Qt.serialize},ho={},yo=!0,Zi="[A-Za-z0-9\\-\\.\\_\\~"+(yo?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",He="[0-9A-Fa-f]",mo=i(i("%[EFef]"+He+"%"+He+He+"%"+He+He)+"|"+i("%[89A-Fa-f]"+He+"%"+He+He)+"|"+i("%"+He+He)),go="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",bo="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",vo=e(bo,'[\\"\\\\]'),So="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",wo=new RegExp(Zi,"g"),Dt=new RegExp(mo,"g"),Io=new RegExp(e("[^]",go,"[\\.]",'[\\"]',vo),"g"),Yi=new RegExp(e("[^]",Zi,So),"g"),xo=Yi;function Zr(g){var h=$e(g);return h.match(wo)?h:g}var Xi={scheme:"mailto",parse:function(h,v){var w=h,x=w.to=w.path?w.path.split(","):[];if(w.path=void 0,w.query){for(var j=!1,M={},Q=w.query.split("&"),X=0,ve=Q.length;X<ve;++X){var H=Q[X].split("=");switch(H[0]){case"to":for(var oe=H[1].split(","),Se=0,ne=oe.length;Se<ne;++Se)x.push(oe[Se]);break;case"subject":w.subject=We(H[1],v);break;case"body":w.body=We(H[1],v);break;default:j=!0,M[We(H[0],v)]=We(H[1],v);break}}j&&(w.headers=M)}w.query=void 0;for(var K=0,le=x.length;K<le;++K){var te=x[K].split("@");if(te[0]=We(te[0]),v.unicodeSupport)te[1]=We(te[1],v).toLowerCase();else try{te[1]=J.toASCII(We(te[1],v).toLowerCase())}catch(wt){w.error=w.error||"Email address's domain name can not be converted to ASCII via punycode: "+wt}x[K]=te.join("@")}return w},serialize:function(h,v){var w=h,x=s(h.to);if(x){for(var j=0,M=x.length;j<M;++j){var Q=String(x[j]),X=Q.lastIndexOf("@"),ve=Q.slice(0,X).replace(Dt,Zr).replace(Dt,r).replace(Io,we),H=Q.slice(X+1);try{H=v.iri?J.toUnicode(H):J.toASCII(We(H,v).toLowerCase())}catch(K){w.error=w.error||"Email address's domain name can not be converted to "+(v.iri?"Unicode":"ASCII")+" via punycode: "+K}x[j]=ve+"@"+H}w.path=x.join(",")}var oe=h.headers=h.headers||{};h.subject&&(oe.subject=h.subject),h.body&&(oe.body=h.body);var Se=[];for(var ne in oe)oe[ne]!==ho[ne]&&Se.push(ne.replace(Dt,Zr).replace(Dt,r).replace(Yi,we)+"="+oe[ne].replace(Dt,Zr).replace(Dt,r).replace(xo,we));return Se.length&&(w.query=Se.join("&")),w}},Co=/^([^\:]+)\:(.*)/,ea={scheme:"urn",parse:function(h,v){var w=h.path&&h.path.match(Co),x=h;if(w){var j=v.scheme||x.scheme||"urn",M=w[1].toLowerCase(),Q=w[2],X=j+":"+(v.nid||M),ve=ge[X];x.nid=M,x.nss=Q,x.path=void 0,ve&&(x=ve.parse(x,v))}else x.error=x.error||"URN can not be parsed.";return x},serialize:function(h,v){var w=v.scheme||h.scheme||"urn",x=h.nid,j=w+":"+(v.nid||x),M=ge[j];M&&(h=M.serialize(h,v));var Q=h,X=h.nss;return Q.path=(x||v.nid)+":"+X,Q}},To=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,ta={scheme:"urn:uuid",parse:function(h,v){var w=h;return w.uuid=w.nss,w.nss=void 0,!v.tolerant&&(!w.uuid||!w.uuid.match(To))&&(w.error=w.error||"UUID is not valid."),w},serialize:function(h,v){var w=h;return w.nss=(h.uuid||"").toLowerCase(),w}};ge[Ht.scheme]=Ht,ge[Qi.scheme]=Qi,ge[Qt.scheme]=Qt,ge[Ki.scheme]=Ki,ge[Xi.scheme]=Xi,ge[ea.scheme]=ea,ge[ta.scheme]=ta,t.SCHEMES=ge,t.pctEncChar=we,t.pctDecChars=$e,t.parse=Y,t.removeDotSegments=qe,t.serialize=De,t.resolveComponents=Oe,t.resolve=Ge,t.normalize=Re,t.equal=pr,t.escapeComponent=Kr,t.unescapeComponent=We,Object.defineProperty(t,"__esModule",{value:!0})})});var br=W((_u,Ia)=>{"use strict";Ia.exports=function t(e,i){if(e===i)return!0;if(e&&i&&typeof e=="object"&&typeof i=="object"){if(e.constructor!==i.constructor)return!1;var a,r,s;if(Array.isArray(e)){if(a=e.length,a!=i.length)return!1;for(r=a;r--!==0;)if(!t(e[r],i[r]))return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===i.toString();if(s=Object.keys(e),a=s.length,a!==Object.keys(i).length)return!1;for(r=a;r--!==0;)if(!Object.prototype.hasOwnProperty.call(i,s[r]))return!1;for(r=a;r--!==0;){var o=s[r];if(!t(e[o],i[o]))return!1}return!0}return e!==e&&i!==i}});var Ca=W((qu,xa)=>{"use strict";xa.exports=function(e){for(var i=0,a=e.length,r=0,s;r<a;)i++,s=e.charCodeAt(r++),s>=55296&&s<=56319&&r<a&&(s=e.charCodeAt(r),(s&64512)==56320&&r++);return i}});var Tt=W((Bu,Fa)=>{"use strict";Fa.exports={copy:Bo,checkDataType:ai,checkDataTypes:ko,coerceToTypes:No,toHash:ni,getProperty:oi,escapeQuotes:li,equal:br(),ucs2length:Ca(),varOccurences:zo,varReplace:Vo,schemaHasRules:Uo,schemaHasRulesExcept:Go,schemaUnknownRules:Ho,toQuotedString:si,getPathExpr:Qo,getPath:Jo,getData:Yo,unescapeFragment:Xo,unescapeJsonPointer:pi,escapeFragment:el,escapeJsonPointer:di};function Bo(t,e){e=e||{};for(var i in t)e[i]=t[i];return e}function ai(t,e,i,a){var r=a?" !== ":" === ",s=a?" || ":" && ",o=a?"!":"",n=a?"":"!";switch(t){case"null":return e+r+"null";case"array":return o+"Array.isArray("+e+")";case"object":return"("+o+e+s+"typeof "+e+r+'"object"'+s+n+"Array.isArray("+e+"))";case"integer":return"(typeof "+e+r+'"number"'+s+n+"("+e+" % 1)"+s+e+r+e+(i?s+o+"isFinite("+e+")":"")+")";case"number":return"(typeof "+e+r+'"'+t+'"'+(i?s+o+"isFinite("+e+")":"")+")";default:return"typeof "+e+r+'"'+t+'"'}}function ko(t,e,i){switch(t.length){case 1:return ai(t[0],e,i,!0);default:var a="",r=ni(t);r.array&&r.object&&(a=r.null?"(":"(!"+e+" || ",a+="typeof "+e+' !== "object")',delete r.null,delete r.array,delete r.object),r.number&&delete r.integer;for(var s in r)a+=(a?" && ":"")+ai(s,e,i,!0);return a}}var Ta=ni(["string","number","integer","boolean","null"]);function No(t,e){if(Array.isArray(e)){for(var i=[],a=0;a<e.length;a++){var r=e[a];(Ta[r]||t==="array"&&r==="array")&&(i[i.length]=r)}if(i.length)return i}else{if(Ta[e])return[e];if(t==="array"&&e==="array")return["array"]}}function ni(t){for(var e={},i=0;i<t.length;i++)e[t[i]]=!0;return e}var Wo=/^[a-z$_][a-z$_0-9]*$/i,Mo=/'|\\/g;function oi(t){return typeof t=="number"?"["+t+"]":Wo.test(t)?"."+t:"['"+li(t)+"']"}function li(t){return t.replace(Mo,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function zo(t,e){e+="[^0-9]";var i=t.match(new RegExp(e,"g"));return i?i.length:0}function Vo(t,e,i){return e+="([^0-9])",i=i.replace(/\$/g,"$$$$"),t.replace(new RegExp(e,"g"),i+"$1")}function Uo(t,e){if(typeof t=="boolean")return!t;for(var i in t)if(e[i])return!0}function Go(t,e,i){if(typeof t=="boolean")return!t&&i!="not";for(var a in t)if(a!=i&&e[a])return!0}function Ho(t,e){if(typeof t!="boolean"){for(var i in t)if(!e[i])return i}}function si(t){return"'"+li(t)+"'"}function Qo(t,e,i,a){var r=i?"'/' + "+e+(a?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):a?"'[' + "+e+" + ']'":"'[\\'' + "+e+" + '\\']'";return Pa(t,r)}function Jo(t,e,i){var a=si(i?"/"+di(e):oi(e));return Pa(t,a)}var Ko=/^\/(?:[^~]|~0|~1)*$/,Zo=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Yo(t,e,i){var a,r,s,o;if(t==="")return"rootData";if(t[0]=="/"){if(!Ko.test(t))throw new Error("Invalid JSON-pointer: "+t);r=t,s="rootData"}else{if(o=t.match(Zo),!o)throw new Error("Invalid JSON-pointer: "+t);if(a=+o[1],r=o[2],r=="#"){if(a>=e)throw new Error("Cannot access property/index "+a+" levels up, current level is "+e);return i[e-a]}if(a>e)throw new Error("Cannot access data "+a+" levels up, current level is "+e);if(s="data"+(e-a||""),!r)return s}for(var n=s,d=r.split("/"),u=0;u<d.length;u++){var p=d[u];p&&(s+=oi(pi(p)),n+=" && "+s)}return n}function Pa(t,e){return t=='""'?e:(t+" + "+e).replace(/([^\\])' \+ '/g,"$1")}function Xo(t){return pi(decodeURIComponent(t))}function el(t){return encodeURIComponent(di(t))}function di(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}function pi(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}});var ci=W((ku,Aa)=>{"use strict";var tl=Tt();Aa.exports=rl;function rl(t){tl.copy(t,this)}});var $a=W((Nu,Ea)=>{"use strict";var dt=Ea.exports=function(t,e,i){typeof e=="function"&&(i=e,e={}),i=e.cb||i;var a=typeof i=="function"?i:i.pre||function(){},r=i.post||function(){};vr(e,a,r,t,"",t)};dt.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0};dt.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};dt.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};dt.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 vr(t,e,i,a,r,s,o,n,d,u){if(a&&typeof a=="object"&&!Array.isArray(a)){e(a,r,s,o,n,d,u);for(var p in a){var c=a[p];if(Array.isArray(c)){if(p in dt.arrayKeywords)for(var f=0;f<c.length;f++)vr(t,e,i,c[f],r+"/"+p+"/"+f,s,r,p,a,f)}else if(p in dt.propsKeywords){if(c&&typeof c=="object")for(var l in c)vr(t,e,i,c[l],r+"/"+p+"/"+il(l),s,r,p,a,l)}else(p in dt.keywords||t.allKeys&&!(p in dt.skipKeywords))&&vr(t,e,i,c,r+"/"+p,s,r,p,a)}i(a,r,s,o,n,d,u)}}function il(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var Tr=W((Wu,Ra)=>{"use strict";var rr=wa(),Oa=br(),xr=Tt(),Sr=ci(),al=$a();Ra.exports=ct;ct.normalizeId=pt;ct.fullPath=wr;ct.url=Ir;ct.ids=dl;ct.inlineRef=ui;ct.schema=Cr;function ct(t,e,i){var a=this._refs[i];if(typeof a=="string")if(this._refs[a])a=this._refs[a];else return ct.call(this,t,e,a);if(a=a||this._schemas[i],a instanceof Sr)return ui(a.schema,this._opts.inlineRefs)?a.schema:a.validate||this._compile(a);var r=Cr.call(this,e,i),s,o,n;return r&&(s=r.schema,e=r.root,n=r.baseId),s instanceof Sr?o=s.validate||t.call(this,s.schema,e,void 0,n):s!==void 0&&(o=ui(s,this._opts.inlineRefs)?s:t.call(this,s,e,void 0,n)),o}function Cr(t,e){var i=rr.parse(e),a=La(i),r=wr(this._getId(t.schema));if(Object.keys(t.schema).length===0||a!==r){var s=pt(a),o=this._refs[s];if(typeof o=="string")return sl.call(this,t,o,i);if(o instanceof Sr)o.validate||this._compile(o),t=o;else if(o=this._schemas[s],o instanceof Sr){if(o.validate||this._compile(o),s==pt(e))return{schema:o,root:t,baseId:r};t=o}else return;if(!t.schema)return;r=wr(this._getId(t.schema))}return Da.call(this,i,r,t.schema,t)}function sl(t,e,i){var a=Cr.call(this,t,e);if(a){var r=a.schema,s=a.baseId;t=a.root;var o=this._getId(r);return o&&(s=Ir(s,o)),Da.call(this,i,s,r,t)}}var nl=xr.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function Da(t,e,i,a){if(t.fragment=t.fragment||"",t.fragment.slice(0,1)=="/"){for(var r=t.fragment.split("/"),s=1;s<r.length;s++){var o=r[s];if(o){if(o=xr.unescapeFragment(o),i=i[o],i===void 0)break;var n;if(!nl[o]&&(n=this._getId(i),n&&(e=Ir(e,n)),i.$ref)){var d=Ir(e,i.$ref),u=Cr.call(this,a,d);u&&(i=u.schema,a=u.root,e=u.baseId)}}}if(i!==void 0&&i!==a.schema)return{schema:i,root:a,baseId:e}}}var ol=xr.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function ui(t,e){if(e===!1)return!1;if(e===void 0||e===!0)return fi(t);if(e)return hi(t)<=e}function fi(t){var e;if(Array.isArray(t)){for(var i=0;i<t.length;i++)if(e=t[i],typeof e=="object"&&!fi(e))return!1}else for(var a in t)if(a=="$ref"||(e=t[a],typeof e=="object"&&!fi(e)))return!1;return!0}function hi(t){var e=0,i;if(Array.isArray(t)){for(var a=0;a<t.length;a++)if(i=t[a],typeof i=="object"&&(e+=hi(i)),e==1/0)return 1/0}else for(var r in t){if(r=="$ref")return 1/0;if(ol[r])e++;else if(i=t[r],typeof i=="object"&&(e+=hi(i)+1),e==1/0)return 1/0}return e}function wr(t,e){e!==!1&&(t=pt(t));var i=rr.parse(t);return La(i)}function La(t){return rr.serialize(t).split("#")[0]+"#"}var ll=/#\/?$/;function pt(t){return t?t.replace(ll,""):""}function Ir(t,e){return e=pt(e),rr.resolve(t,e)}function dl(t){var e=pt(this._getId(t)),i={"":e},a={"":wr(e,!1)},r={},s=this;return al(t,{allKeys:!0},function(o,n,d,u,p,c,f){if(n!==""){var l=s._getId(o),y=i[u],b=a[u]+"/"+p;if(f!==void 0&&(b+="/"+(typeof f=="number"?f:xr.escapeFragment(f))),typeof l=="string"){l=y=pt(y?rr.resolve(y,l):l);var m=s._refs[l];if(typeof m=="string"&&(m=s._refs[m]),m&&m.schema){if(!Oa(o,m.schema))throw new Error('id "'+l+'" resolves to more than one schema')}else if(l!=pt(b))if(l[0]=="#"){if(r[l]&&!Oa(o,r[l]))throw new Error('id "'+l+'" resolves to more than one schema');r[l]=o}else s._refs[l]=b}i[n]=y,a[n]=b}}),r}});var Pr=W((Mu,_a)=>{"use strict";var yi=Tr();_a.exports={Validation:ja(pl),MissingRef:ja(mi)};function pl(t){this.message="validation failed",this.errors=t,this.ajv=this.validation=!0}mi.message=function(t,e){return"can't resolve reference "+e+" from id "+t};function mi(t,e,i){this.message=i||mi.message(t,e),this.missingRef=yi.url(t,e),this.missingSchema=yi.normalizeId(yi.fullPath(this.missingRef))}function ja(t){return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}});var gi=W((zu,qa)=>{"use strict";qa.exports=function(t,e){e||(e={}),typeof e=="function"&&(e={cmp:e});var i=typeof e.cycles=="boolean"?e.cycles:!1,a=e.cmp&&function(s){return function(o){return function(n,d){var u={key:n,value:o[n]},p={key:d,value:o[d]};return s(u,p)}}}(e.cmp),r=[];return function s(o){if(o&&o.toJSON&&typeof o.toJSON=="function"&&(o=o.toJSON()),o!==void 0){if(typeof o=="number")return isFinite(o)?""+o:"null";if(typeof o!="object")return JSON.stringify(o);var n,d;if(Array.isArray(o)){for(d="[",n=0;n<o.length;n++)n&&(d+=","),d+=s(o[n])||"null";return d+"]"}if(o===null)return"null";if(r.indexOf(o)!==-1){if(i)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var u=r.push(o)-1,p=Object.keys(o).sort(a&&a(o));for(d="",n=0;n<p.length;n++){var c=p[n],f=s(o[c]);f&&(d&&(d+=","),d+=JSON.stringify(c)+":"+f)}return r.splice(u,1),"{"+d+"}"}}(t)}});var bi=W((Vu,Ba)=>{"use strict";Ba.exports=function(e,i,a){var r="",s=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 d=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(d){var u="unknown keyword: "+d;if(e.opts.strictKeywords==="log")e.logger.warn(u);else throw new Error(u)}}if(e.isTop&&(r+=" var validate = ",s&&(e.async=!0,r+="async "),r+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",n&&(e.opts.sourceCode||e.opts.processCode)&&(r+=" "+("/*# sourceURL="+n+" */")+" ")),typeof e.schema=="boolean"||!(o||e.schema.$ref)){var i="false schema",p=e.level,c=e.dataLevel,f=e.schema[i],l=e.schemaPath+e.util.getProperty(i),y=e.errSchemaPath+"/"+i,F=!e.opts.allErrors,L,b="data"+(c||""),P="valid"+p;if(e.schema===!1){e.isTop?F=!0:r+=" var "+P+" = false; ";var m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(y)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'boolean schema is false' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "),r+=" } "):r+=" {} ";var S=r;r=m.pop(),!e.compositeRule&&F?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?s?r+=" return data; ":r+=" validate.errors = null; return true; ":r+=" var "+P+" = true; ";return e.isTop&&(r+=" }; return validate; "),r}if(e.isTop){var T=e.isTop,p=e.level=0,c=e.dataLevel=0,b="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 I="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(I);else throw new Error(I)}r+=" var vErrors = null; ",r+=" var errors = 0; ",r+=" if (rootData === undefined) rootData = data; "}else{var p=e.level,c=e.dataLevel,b="data"+(c||"");if(n&&(e.baseId=e.resolve.url(e.baseId,n)),s&&!e.async)throw new Error("async schema in sync schema");r+=" var errs_"+p+" = errors;"}var P="valid"+p,F=!e.opts.allErrors,$="",_="",L,A=e.schema.type,R=Array.isArray(A);if(A&&e.opts.nullable&&e.schema.nullable===!0&&(R?A.indexOf("null")==-1&&(A=A.concat("null")):A!="null"&&(A=[A,"null"],R=!0)),R&&A.length==1&&(A=A[0],R=!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&&(r+=" "+e.RULES.all.$comment.code(e,"$comment")),A){if(e.opts.coerceTypes)var O=e.util.coerceToTypes(e.opts.coerceTypes,A);var q=e.RULES.types[A];if(O||R||q===!0||q&&!Ie(q)){var l=e.schemaPath+".type",y=e.errSchemaPath+"/type",l=e.schemaPath+".type",y=e.errSchemaPath+"/type",E=R?"checkDataTypes":"checkDataType";if(r+=" if ("+e.util[E](A,b,e.opts.strictNumbers,!0)+") { ",O){var D="dataType"+p,B="coerced"+p;r+=" var "+D+" = typeof "+b+"; var "+B+" = undefined; ",e.opts.coerceTypes=="array"&&(r+=" if ("+D+" == 'object' && Array.isArray("+b+") && "+b+".length == 1) { "+b+" = "+b+"[0]; "+D+" = typeof "+b+"; if ("+e.util.checkDataType(e.schema.type,b,e.opts.strictNumbers)+") "+B+" = "+b+"; } "),r+=" if ("+B+" !== undefined) ; ";var ee=O;if(ee)for(var V,G=-1,z=ee.length-1;G<z;)V=ee[G+=1],V=="string"?r+=" else if ("+D+" == 'number' || "+D+" == 'boolean') "+B+" = '' + "+b+"; else if ("+b+" === null) "+B+" = ''; ":V=="number"||V=="integer"?(r+=" else if ("+D+" == 'boolean' || "+b+" === null || ("+D+" == 'string' && "+b+" && "+b+" == +"+b+" ",V=="integer"&&(r+=" && !("+b+" % 1)"),r+=")) "+B+" = +"+b+"; "):V=="boolean"?r+=" else if ("+b+" === 'false' || "+b+" === 0 || "+b+" === null) "+B+" = false; else if ("+b+" === 'true' || "+b+" === 1) "+B+" = true; ":V=="null"?r+=" else if ("+b+" === '' || "+b+" === 0 || "+b+" === false) "+B+" = null; ":e.opts.coerceTypes=="array"&&V=="array"&&(r+=" else if ("+D+" == 'string' || "+D+" == 'number' || "+D+" == 'boolean' || "+b+" == null) "+B+" = ["+b+"]; ");r+=" else { ";var m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(y)+" , params: { type: '",R?r+=""+A.join(","):r+=""+A,r+="' } ",e.opts.messages!==!1&&(r+=" , message: 'should be ",R?r+=""+A.join(","):r+=""+A,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "),r+=" } "):r+=" {} ";var S=r;r=m.pop(),!e.compositeRule&&F?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } if ("+B+" !== undefined) { ";var N=c?"data"+(c-1||""):"parentData",pe=c?e.dataPathArr[c]:"parentDataProperty";r+=" "+b+" = "+B+"; ",c||(r+="if ("+N+" !== undefined)"),r+=" "+N+"["+pe+"] = "+B+"; } "}else{var m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(y)+" , params: { type: '",R?r+=""+A.join(","):r+=""+A,r+="' } ",e.opts.messages!==!1&&(r+=" , message: 'should be ",R?r+=""+A.join(","):r+=""+A,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "),r+=" } "):r+=" {} ";var S=r;r=m.pop(),!e.compositeRule&&F?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" } "}}if(e.schema.$ref&&!o)r+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",F&&(r+=" } if (errors === ",T?r+="0":r+="errs_"+p,r+=") { ",_+="}");else{var Ce=e.RULES;if(Ce){for(var q,Ee=-1,J=Ce.length-1;Ee<J;)if(q=Ce[Ee+=1],Ie(q)){if(q.type&&(r+=" if ("+e.util.checkDataType(q.type,b,e.opts.strictNumbers)+") { "),e.opts.useDefaults){if(q.type=="object"&&e.schema.properties){var f=e.schema.properties,ge=Object.keys(f),we=ge;if(we)for(var $e,nt=-1,Ze=we.length-1;nt<Ze;){$e=we[nt+=1];var be=f[$e];if(be.default!==void 0){var ce=b+e.util.getProperty($e);if(e.compositeRule){if(e.opts.strictDefaults){var I="default is ignored for: "+ce;if(e.opts.strictDefaults==="log")e.logger.warn(I);else throw new Error(I)}}else r+=" if ("+ce+" === undefined ",e.opts.useDefaults=="empty"&&(r+=" || "+ce+" === null || "+ce+" === '' "),r+=" ) "+ce+" = ",e.opts.useDefaults=="shared"?r+=" "+e.useDefault(be.default)+" ":r+=" "+JSON.stringify(be.default)+" ",r+="; "}}}else if(q.type=="array"&&Array.isArray(e.schema.items)){var bt=e.schema.items;if(bt){for(var be,G=-1,Te=bt.length-1;G<Te;)if(be=bt[G+=1],be.default!==void 0){var ce=b+"["+G+"]";if(e.compositeRule){if(e.opts.strictDefaults){var I="default is ignored for: "+ce;if(e.opts.strictDefaults==="log")e.logger.warn(I);else throw new Error(I)}}else r+=" if ("+ce+" === undefined ",e.opts.useDefaults=="empty"&&(r+=" || "+ce+" === null || "+ce+" === '' "),r+=" ) "+ce+" = ",e.opts.useDefaults=="shared"?r+=" "+e.useDefault(be.default)+" ":r+=" "+JSON.stringify(be.default)+" ",r+="; "}}}}var Y=q.rules;if(Y){for(var ot,Ye=-1,vt=Y.length-1;Ye<vt;)if(ot=Y[Ye+=1],qe(ot)){var St=ot.code(e,ot.keyword,q.type);St&&(r+=" "+St+" ",F&&($+="}"))}}if(F&&(r+=" "+$+" ",$=""),q.type&&(r+=" } ",A&&A===q.type&&!O)){r+=" else { ";var l=e.schemaPath+".type",y=e.errSchemaPath+"/type",m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(y)+" , params: { type: '",R?r+=""+A.join(","):r+=""+A,r+="' } ",e.opts.messages!==!1&&(r+=" , message: 'should be ",R?r+=""+A.join(","):r+=""+A,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "),r+=" } "):r+=" {} ";var S=r;r=m.pop(),!e.compositeRule&&F?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } "}F&&(r+=" if (errors === ",T?r+="0":r+="errs_"+p,r+=") { ",_+="}")}}}F&&(r+=" "+_+" "),T?(s?(r+=" if (errors === 0) return data; ",r+=" else throw new ValidationError(vErrors); "):(r+=" validate.errors = vErrors; ",r+=" return errors === 0; "),r+=" }; return validate;"):r+=" var "+P+" = errors === errs_"+p+";";function Ie(Oe){for(var Ge=Oe.rules,Re=0;Re<Ge.length;Re++)if(qe(Ge[Re]))return!0}function qe(Oe){return e.schema[Oe.keyword]!==void 0||Oe.implements&&De(Oe)}function De(Oe){for(var Ge=Oe.implements,Re=0;Re<Ge.length;Re++)if(e.schema[Ge[Re]]!==void 0)return!0}return r}});var za=W((Uu,Ma)=>{"use strict";var Fr=Tr(),Er=Tt(),Na=Pr(),cl=gi(),ka=bi(),ul=Er.ucs2length,fl=br(),hl=Na.Validation;Ma.exports=vi;function vi(t,e,i,a){var r=this,s=this._opts,o=[void 0],n={},d=[],u={},p=[],c={},f=[];e=e||{schema:t,refVal:o,refs:n};var l=yl.call(this,t,e,a),y=this._compilations[l.index];if(l.compiling)return y.callValidate=I;var b=this._formats,m=this.RULES;try{var S=P(t,e,i,a);y.validate=S;var T=y.callValidate;return T&&(T.schema=S.schema,T.errors=null,T.refs=S.refs,T.refVal=S.refVal,T.root=S.root,T.$async=S.$async,s.sourceCode&&(T.source=S.source)),S}finally{ml.call(this,t,e,a)}function I(){var E=y.validate,D=E.apply(this,arguments);return I.errors=E.errors,D}function P(E,D,B,ee){var V=!D||D&&D.schema==E;if(D.schema!=e.schema)return vi.call(r,E,D,B,ee);var G=E.$async===!0,z=ka({isTop:!0,schema:E,isRoot:V,baseId:ee,root:D,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:Na.MissingRef,RULES:m,validate:ka,util:Er,resolve:Fr,resolveRef:F,usePattern:R,useDefault:O,useCustomRule:q,opts:s,formats:b,logger:r.logger,self:r});z=Ar(o,vl)+Ar(d,gl)+Ar(p,bl)+Ar(f,Sl)+z,s.processCode&&(z=s.processCode(z,E));var N;try{var pe=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",z);N=pe(r,m,b,e,o,p,f,fl,ul,hl),o[0]=N}catch(Ce){throw r.logger.error("Error compiling schema, function code:",z),Ce}return N.schema=E,N.errors=null,N.refs=n,N.refVal=o,N.root=V?N:D,G&&(N.$async=!0),s.sourceCode===!0&&(N.source={code:z,patterns:d,defaults:p}),N}function F(E,D,B){D=Fr.url(E,D);var ee=n[D],V,G;if(ee!==void 0)return V=o[ee],G="refVal["+ee+"]",A(V,G);if(!B&&e.refs){var z=e.refs[D];if(z!==void 0)return V=e.refVal[z],G=$(D,V),A(V,G)}G=$(D);var N=Fr.call(r,P,e,D);if(N===void 0){var pe=i&&i[D];pe&&(N=Fr.inlineRef(pe,s.inlineRefs)?pe:vi.call(r,pe,e,i,E))}if(N===void 0)_(D);else return L(D,N),A(N,G)}function $(E,D){var B=o.length;return o[B]=D,n[E]=B,"refVal"+B}function _(E){delete n[E]}function L(E,D){var B=n[E];o[B]=D}function A(E,D){return typeof E=="object"||typeof E=="boolean"?{code:D,schema:E,inline:!0}:{code:D,$async:E&&!!E.$async}}function R(E){var D=u[E];return D===void 0&&(D=u[E]=d.length,d[D]=E),"pattern"+D}function O(E){switch(typeof E){case"boolean":case"number":return""+E;case"string":return Er.toQuotedString(E);case"object":if(E===null)return"null";var D=cl(E),B=c[D];return B===void 0&&(B=c[D]=p.length,p[B]=E),"default"+B}}function q(E,D,B,ee){if(r._opts.validateSchema!==!1){var V=E.definition.dependencies;if(V&&!V.every(function(we){return Object.prototype.hasOwnProperty.call(B,we)}))throw new Error("parent schema must have all required keywords: "+V.join(","));var G=E.definition.validateSchema;if(G){var z=G(D);if(!z){var N="keyword schema is invalid: "+r.errorsText(G.errors);if(r._opts.validateSchema=="log")r.logger.error(N);else throw new Error(N)}}}var pe=E.definition.compile,Ce=E.definition.inline,Ee=E.definition.macro,J;if(pe)J=pe.call(r,D,B,ee);else if(Ee)J=Ee.call(r,D,B,ee),s.validateSchema!==!1&&r.validateSchema(J,!0);else if(Ce)J=Ce.call(r,ee,E.keyword,D,B);else if(J=E.definition.validate,!J)return;if(J===void 0)throw new Error('custom keyword "'+E.keyword+'"failed to compile');var ge=f.length;return f[ge]=J,{code:"customRule"+ge,validate:J}}}function yl(t,e,i){var a=Wa.call(this,t,e,i);return a>=0?{index:a,compiling:!0}:(a=this._compilations.length,this._compilations[a]={schema:t,root:e,baseId:i},{index:a,compiling:!1})}function ml(t,e,i){var a=Wa.call(this,t,e,i);a>=0&&this._compilations.splice(a,1)}function Wa(t,e,i){for(var a=0;a<this._compilations.length;a++){var r=this._compilations[a];if(r.schema==t&&r.root==e&&r.baseId==i)return a}return-1}function gl(t,e){return"var pattern"+t+" = new RegExp("+Er.toQuotedString(e[t])+");"}function bl(t){return"var default"+t+" = defaults["+t+"];"}function vl(t,e){return e[t]===void 0?"":"var refVal"+t+" = refVal["+t+"];"}function Sl(t){return"var customRule"+t+" = customRules["+t+"];"}function Ar(t,e){if(!t.length)return"";for(var i="",a=0;a<t.length;a++)i+=e(a,t);return i}});var Ua=W((Gu,Va)=>{"use strict";var $r=Va.exports=function(){this._cache={}};$r.prototype.put=function(e,i){this._cache[e]=i};$r.prototype.get=function(e){return this._cache[e]};$r.prototype.del=function(e){delete this._cache[e]};$r.prototype.clear=function(){this._cache={}}});var is=W((Hu,rs)=>{"use strict";var wl=Tt(),Il=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,xl=[0,31,28,31,30,31,30,31,31,30,31,30,31],Cl=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,Ga=/^(?=.{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,Tl=/^(?:[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,Pl=/^(?:[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,Ha=/^(?:(?:[^\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,Qa=/^(?:(?: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,Ja=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,Ka=/^(?:\/(?:[^~/]|~0|~1)*)*$/,Za=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,Ya=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;rs.exports=Or;function Or(t){return t=t=="full"?"full":"fast",wl.copy(Or[t])}Or.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":Ha,url:Qa,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:Ga,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:ts,uuid:Ja,"json-pointer":Ka,"json-pointer-uri-fragment":Za,"relative-json-pointer":Ya};Or.full={date:Xa,time:es,"date-time":El,uri:Ol,"uri-reference":Pl,"uri-template":Ha,url:Qa,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:Ga,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:ts,uuid:Ja,"json-pointer":Ka,"json-pointer-uri-fragment":Za,"relative-json-pointer":Ya};function Fl(t){return t%4===0&&(t%100!==0||t%400===0)}function Xa(t){var e=t.match(Il);if(!e)return!1;var i=+e[1],a=+e[2],r=+e[3];return a>=1&&a<=12&&r>=1&&r<=(a==2&&Fl(i)?29:xl[a])}function es(t,e){var i=t.match(Cl);if(!i)return!1;var a=i[1],r=i[2],s=i[3],o=i[5];return(a<=23&&r<=59&&s<=59||a==23&&r==59&&s==60)&&(!e||o)}var Al=/t|\s/i;function El(t){var e=t.split(Al);return e.length==2&&Xa(e[0])&&es(e[1],!0)}var $l=/\/|:/;function Ol(t){return $l.test(t)&&Tl.test(t)}var Dl=/[^\\]\\Z/;function ts(t){if(Dl.test(t))return!1;try{return new RegExp(t),!0}catch{return!1}}});var ss=W((Qu,as)=>{"use strict";as.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.errSchemaPath+"/"+i,u=!e.opts.allErrors,p="data"+(o||""),c="valid"+s,f,l;if(n=="#"||n=="#/")e.isRoot?(f=e.async,l="validate"):(f=e.root.schema.$async===!0,l="root.refVal[0]");else{var y=e.resolveRef(e.baseId,n,e.isRoot);if(y===void 0){var b=e.MissingRefError.message(e.baseId,n);if(e.opts.missingRefs=="fail"){e.logger.error(b);var m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { ref: '"+e.util.escapeQuotes(n)+"' } ",e.opts.messages!==!1&&(r+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(n)+"' "),e.opts.verbose&&(r+=" , schema: "+e.util.toQuotedString(n)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";var S=r;r=m.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u&&(r+=" if (false) { ")}else if(e.opts.missingRefs=="ignore")e.logger.warn(b),u&&(r+=" if (true) { ");else throw new e.MissingRefError(e.baseId,n,b)}else if(y.inline){var T=e.util.copy(e);T.level++;var I="valid"+T.level;T.schema=y.schema,T.schemaPath="",T.errSchemaPath=n;var P=e.validate(T).replace(/validate\.schema/g,y.code);r+=" "+P+" ",u&&(r+=" if ("+I+") { ")}else f=y.$async===!0||e.async&&y.$async!==!1,l=y.code}if(l){var m=m||[];m.push(r),r="",e.opts.passContext?r+=" "+l+".call(this, ":r+=" "+l+"( ",r+=" "+p+", (dataPath || '')",e.errorPath!='""'&&(r+=" + "+e.errorPath);var F=o?"data"+(o-1||""):"parentData",$=o?e.dataPathArr[o]:"parentDataProperty";r+=" , "+F+" , "+$+", rootData) ";var _=r;if(r=m.pop(),f){if(!e.async)throw new Error("async schema referenced by sync schema");u&&(r+=" var "+c+"; "),r+=" try { await "+_+"; ",u&&(r+=" "+c+" = true; "),r+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",u&&(r+=" "+c+" = false; "),r+=" } ",u&&(r+=" if ("+c+") { ")}else r+=" if (!"+_+") { if (vErrors === null) vErrors = "+l+".errors; else vErrors = vErrors.concat("+l+".errors); errors = vErrors.length; } ",u&&(r+=" else { ")}return r}});var os=W((Ju,ns)=>{"use strict";ns.exports=function(e,i,a){var r=" ",s=e.schema[i],o=e.schemaPath+e.util.getProperty(i),n=e.errSchemaPath+"/"+i,d=!e.opts.allErrors,u=e.util.copy(e),p="";u.level++;var c="valid"+u.level,f=u.baseId,l=!0,y=s;if(y)for(var b,m=-1,S=y.length-1;m<S;)b=y[m+=1],(e.opts.strictKeywords?typeof b=="object"&&Object.keys(b).length>0||b===!1:e.util.schemaHasRules(b,e.RULES.all))&&(l=!1,u.schema=b,u.schemaPath=o+"["+m+"]",u.errSchemaPath=n+"/"+m,r+=" "+e.validate(u)+" ",u.baseId=f,d&&(r+=" if ("+c+") { ",p+="}"));return d&&(l?r+=" if (true) { ":r+=" "+p.slice(0,-1)+" "),r}});var ds=W((Ku,ls)=>{"use strict";ls.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l="errs__"+s,y=e.util.copy(e),b="";y.level++;var m="valid"+y.level,S=n.every(function(L){return e.opts.strictKeywords?typeof L=="object"&&Object.keys(L).length>0||L===!1:e.util.schemaHasRules(L,e.RULES.all)});if(S){var T=y.baseId;r+=" var "+l+" = errors; var "+f+" = false; ";var I=e.compositeRule;e.compositeRule=y.compositeRule=!0;var P=n;if(P)for(var F,$=-1,_=P.length-1;$<_;)F=P[$+=1],y.schema=F,y.schemaPath=d+"["+$+"]",y.errSchemaPath=u+"/"+$,r+=" "+e.validate(y)+" ",y.baseId=T,r+=" "+f+" = "+f+" || "+m+"; if (!"+f+") { ",b+="}";e.compositeRule=y.compositeRule=I,r+=" "+b+" if (!"+f+") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&p&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),r+=" } else { errors = "+l+"; if (vErrors !== null) { if ("+l+") vErrors.length = "+l+"; else vErrors = null; } ",e.opts.allErrors&&(r+=" } ")}else p&&(r+=" if (true) { ");return r}});var cs=W((Zu,ps)=>{"use strict";ps.exports=function(e,i,a){var r=" ",s=e.schema[i],o=e.errSchemaPath+"/"+i,n=!e.opts.allErrors,d=e.util.toQuotedString(s);return e.opts.$comment===!0?r+=" console.log("+d+");":typeof e.opts.$comment=="function"&&(r+=" self._opts.$comment("+d+", "+e.util.toQuotedString(o)+", validate.root.schema);"),r}});var fs=W((Yu,us)=>{"use strict";us.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l=e.opts.$data&&n&&n.$data,y;l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",y="schema"+s):y=n,l||(r+=" var schema"+s+" = validate.schema"+d+";"),r+="var "+f+" = equal("+c+", schema"+s+"); if (!"+f+") { ";var b=b||[];b.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { allowedValue: schema"+s+" } ",e.opts.messages!==!1&&(r+=" , message: 'should be equal to constant' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var m=r;return r=b.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+m+"]); ":r+=" validate.errors = ["+m+"]; return false; ":r+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" }",p&&(r+=" else { "),r}});var ys=W((Xu,hs)=>{"use strict";hs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l="errs__"+s,y=e.util.copy(e),b="";y.level++;var m="valid"+y.level,S="i"+s,T=y.dataLevel=e.dataLevel+1,I="data"+T,P=e.baseId,F=e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all);if(r+="var "+l+" = errors;var "+f+";",F){var $=e.compositeRule;e.compositeRule=y.compositeRule=!0,y.schema=n,y.schemaPath=d,y.errSchemaPath=u,r+=" var "+m+" = false; for (var "+S+" = 0; "+S+" < "+c+".length; "+S+"++) { ",y.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var _=c+"["+S+"]";y.dataPathArr[T]=S;var L=e.validate(y);y.baseId=P,e.util.varOccurences(L,I)<2?r+=" "+e.util.varReplace(L,I,_)+" ":r+=" var "+I+" = "+_+"; "+L+" ",r+=" if ("+m+") break; } ",e.compositeRule=y.compositeRule=$,r+=" "+b+" if (!"+m+") {"}else r+=" if ("+c+".length == 0) {";var A=A||[];A.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'should contain a valid item' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var R=r;return r=A.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+R+"]); ":r+=" validate.errors = ["+R+"]; return false; ":r+=" var err = "+R+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { ",F&&(r+=" errors = "+l+"; if (vErrors !== null) { if ("+l+") vErrors.length = "+l+"; else vErrors = null; } "),e.opts.allErrors&&(r+=" } "),r}});var gs=W((ef,ms)=>{"use strict";ms.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="errs__"+s,l=e.util.copy(e),y="";l.level++;var b="valid"+l.level,m={},S={},T=e.opts.ownProperties;for($ in n)if($!="__proto__"){var I=n[$],P=Array.isArray(I)?S:m;P[$]=I}r+="var "+f+" = errors;";var F=e.errorPath;r+="var missing"+s+";";for(var $ in S)if(P=S[$],P.length){if(r+=" if ( "+c+e.util.getProperty($)+" !== undefined ",T&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes($)+"') "),p){r+=" && ( ";var _=P;if(_)for(var L,A=-1,R=_.length-1;A<R;){L=_[A+=1],A&&(r+=" || ");var O=e.util.getProperty(L),q=c+O;r+=" ( ( "+q+" === undefined ",T&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(L)+"') "),r+=") && (missing"+s+" = "+e.util.toQuotedString(e.opts.jsonPointers?L:O)+") ) "}r+=")) { ";var E="missing"+s,D="' + "+E+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(F,E,!0):F+" + "+E);var B=B||[];B.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { property: '"+e.util.escapeQuotes($)+"', missingProperty: '"+D+"', depsCount: "+P.length+", deps: '"+e.util.escapeQuotes(P.length==1?P[0]:P.join(", "))+"' } ",e.opts.messages!==!1&&(r+=" , message: 'should have ",P.length==1?r+="property "+e.util.escapeQuotes(P[0]):r+="properties "+e.util.escapeQuotes(P.join(", ")),r+=" when property "+e.util.escapeQuotes($)+" is present' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var ee=r;r=B.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+ee+"]); ":r+=" validate.errors = ["+ee+"]; return false; ":r+=" var err = "+ee+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{r+=" ) { ";var V=P;if(V)for(var L,G=-1,z=V.length-1;G<z;){L=V[G+=1];var O=e.util.getProperty(L),D=e.util.escapeQuotes(L),q=c+O;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(F,L,e.opts.jsonPointers)),r+=" if ( "+q+" === undefined ",T&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(L)+"') "),r+=") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { property: '"+e.util.escapeQuotes($)+"', missingProperty: '"+D+"', depsCount: "+P.length+", deps: '"+e.util.escapeQuotes(P.length==1?P[0]:P.join(", "))+"' } ",e.opts.messages!==!1&&(r+=" , message: 'should have ",P.length==1?r+="property "+e.util.escapeQuotes(P[0]):r+="properties "+e.util.escapeQuotes(P.join(", ")),r+=" when property "+e.util.escapeQuotes($)+" is present' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}r+=" } ",p&&(y+="}",r+=" else { ")}e.errorPath=F;var N=l.baseId;for(var $ in m){var I=m[$];(e.opts.strictKeywords?typeof I=="object"&&Object.keys(I).length>0||I===!1:e.util.schemaHasRules(I,e.RULES.all))&&(r+=" "+b+" = true; if ( "+c+e.util.getProperty($)+" !== undefined ",T&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes($)+"') "),r+=") { ",l.schema=I,l.schemaPath=d+e.util.getProperty($),l.errSchemaPath=u+"/"+e.util.escapeFragment($),r+=" "+e.validate(l)+" ",l.baseId=N,r+=" } ",p&&(r+=" if ("+b+") { ",y+="}"))}return p&&(r+=" "+y+" if ("+f+" == errors) {"),r}});var vs=W((tf,bs)=>{"use strict";bs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l=e.opts.$data&&n&&n.$data,y;l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",y="schema"+s):y=n;var b="i"+s,m="schema"+s;l||(r+=" var "+m+" = validate.schema"+d+";"),r+="var "+f+";",l&&(r+=" if (schema"+s+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+s+")) "+f+" = false; else {"),r+=""+f+" = false;for (var "+b+"=0; "+b+"<"+m+".length; "+b+"++) if (equal("+c+", "+m+"["+b+"])) { "+f+" = true; break; }",l&&(r+=" } "),r+=" if (!"+f+") { ";var S=S||[];S.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { allowedValues: schema"+s+" } ",e.opts.messages!==!1&&(r+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var T=r;return r=S.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+T+"]); ":r+=" validate.errors = ["+T+"]; return false; ":r+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" }",p&&(r+=" else { "),r}});var ws=W((rf,Ss)=>{"use strict";Ss.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||"");if(e.opts.format===!1)return p&&(r+=" if (true) { "),r;var f=e.opts.$data&&n&&n.$data,l;f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n;var y=e.opts.unknownFormats,b=Array.isArray(y);if(f){var m="format"+s,S="isObject"+s,T="formatType"+s;r+=" var "+m+" = formats["+l+"]; var "+S+" = typeof "+m+" == 'object' && !("+m+" instanceof RegExp) && "+m+".validate; var "+T+" = "+S+" && "+m+".type || 'string'; if ("+S+") { ",e.async&&(r+=" var async"+s+" = "+m+".async; "),r+=" "+m+" = "+m+".validate; } if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'string') || "),r+=" (",y!="ignore"&&(r+=" ("+l+" && !"+m+" ",b&&(r+=" && self._opts.unknownFormats.indexOf("+l+") == -1 "),r+=") || "),r+=" ("+m+" && "+T+" == '"+a+"' && !(typeof "+m+" == 'function' ? ",e.async?r+=" (async"+s+" ? await "+m+"("+c+") : "+m+"("+c+")) ":r+=" "+m+"("+c+") ",r+=" : "+m+".test("+c+"))))) {"}else{var m=e.formats[n];if(!m){if(y=="ignore")return e.logger.warn('unknown format "'+n+'" ignored in schema at path "'+e.errSchemaPath+'"'),p&&(r+=" if (true) { "),r;if(b&&y.indexOf(n)>=0)return p&&(r+=" if (true) { "),r;throw new Error('unknown format "'+n+'" is used in schema at path "'+e.errSchemaPath+'"')}var S=typeof m=="object"&&!(m instanceof RegExp)&&m.validate,T=S&&m.type||"string";if(S){var I=m.async===!0;m=m.validate}if(T!=a)return p&&(r+=" if (true) { "),r;if(I){if(!e.async)throw new Error("async format in sync schema");var P="formats"+e.util.getProperty(n)+".validate";r+=" if (!(await "+P+"("+c+"))) { "}else{r+=" if (! ";var P="formats"+e.util.getProperty(n);S&&(P+=".validate"),typeof m=="function"?r+=" "+P+"("+c+") ":r+=" "+P+".test("+c+") ",r+=") { "}}var F=F||[];F.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { format: ",f?r+=""+l:r+=""+e.util.toQuotedString(n),r+=" } ",e.opts.messages!==!1&&(r+=` , message: 'should match format "`,f?r+="' + "+l+" + '":r+=""+e.util.escapeQuotes(n),r+=`"' `),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+e.util.toQuotedString(n),r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var $=r;return r=F.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+$+"]); ":r+=" validate.errors = ["+$+"]; return false; ":r+=" var err = "+$+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",p&&(r+=" else { "),r}});var xs=W((af,Is)=>{"use strict";Is.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l="errs__"+s,y=e.util.copy(e);y.level++;var b="valid"+y.level,m=e.schema.then,S=e.schema.else,T=m!==void 0&&(e.opts.strictKeywords?typeof m=="object"&&Object.keys(m).length>0||m===!1:e.util.schemaHasRules(m,e.RULES.all)),I=S!==void 0&&(e.opts.strictKeywords?typeof S=="object"&&Object.keys(S).length>0||S===!1:e.util.schemaHasRules(S,e.RULES.all)),P=y.baseId;if(T||I){var F;y.createErrors=!1,y.schema=n,y.schemaPath=d,y.errSchemaPath=u,r+=" var "+l+" = errors; var "+f+" = true; ";var $=e.compositeRule;e.compositeRule=y.compositeRule=!0,r+=" "+e.validate(y)+" ",y.baseId=P,y.createErrors=!0,r+=" errors = "+l+"; if (vErrors !== null) { if ("+l+") vErrors.length = "+l+"; else vErrors = null; } ",e.compositeRule=y.compositeRule=$,T?(r+=" if ("+b+") { ",y.schema=e.schema.then,y.schemaPath=e.schemaPath+".then",y.errSchemaPath=e.errSchemaPath+"/then",r+=" "+e.validate(y)+" ",y.baseId=P,r+=" "+f+" = "+b+"; ",T&&I?(F="ifClause"+s,r+=" var "+F+" = 'then'; "):F="'then'",r+=" } ",I&&(r+=" else { ")):r+=" if (!"+b+") { ",I&&(y.schema=e.schema.else,y.schemaPath=e.schemaPath+".else",y.errSchemaPath=e.errSchemaPath+"/else",r+=" "+e.validate(y)+" ",y.baseId=P,r+=" "+f+" = "+b+"; ",T&&I?(F="ifClause"+s,r+=" var "+F+" = 'else'; "):F="'else'",r+=" } "),r+=" if (!"+f+") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { failingKeyword: "+F+" } ",e.opts.messages!==!1&&(r+=` , message: 'should match "' + `+F+` + '" schema' `),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&p&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),r+=" } ",p&&(r+=" else { ")}else p&&(r+=" if (true) { ");return r}});var Ts=W((sf,Cs)=>{"use strict";Cs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l="errs__"+s,y=e.util.copy(e),b="";y.level++;var m="valid"+y.level,S="i"+s,T=y.dataLevel=e.dataLevel+1,I="data"+T,P=e.baseId;if(r+="var "+l+" = errors;var "+f+";",Array.isArray(n)){var F=e.schema.additionalItems;if(F===!1){r+=" "+f+" = "+c+".length <= "+n.length+"; ";var $=u;u=e.errSchemaPath+"/additionalItems",r+=" if (!"+f+") { ";var _=_||[];_.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+n.length+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT have more than "+n.length+" items' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var L=r;r=_.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+L+"]); ":r+=" validate.errors = ["+L+"]; return false; ":r+=" var err = "+L+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",u=$,p&&(b+="}",r+=" else { ")}var A=n;if(A){for(var R,O=-1,q=A.length-1;O<q;)if(R=A[O+=1],e.opts.strictKeywords?typeof R=="object"&&Object.keys(R).length>0||R===!1:e.util.schemaHasRules(R,e.RULES.all)){r+=" "+m+" = true; if ("+c+".length > "+O+") { ";var E=c+"["+O+"]";y.schema=R,y.schemaPath=d+"["+O+"]",y.errSchemaPath=u+"/"+O,y.errorPath=e.util.getPathExpr(e.errorPath,O,e.opts.jsonPointers,!0),y.dataPathArr[T]=O;var D=e.validate(y);y.baseId=P,e.util.varOccurences(D,I)<2?r+=" "+e.util.varReplace(D,I,E)+" ":r+=" var "+I+" = "+E+"; "+D+" ",r+=" } ",p&&(r+=" if ("+m+") { ",b+="}")}}if(typeof F=="object"&&(e.opts.strictKeywords?typeof F=="object"&&Object.keys(F).length>0||F===!1:e.util.schemaHasRules(F,e.RULES.all))){y.schema=F,y.schemaPath=e.schemaPath+".additionalItems",y.errSchemaPath=e.errSchemaPath+"/additionalItems",r+=" "+m+" = true; if ("+c+".length > "+n.length+") { for (var "+S+" = "+n.length+"; "+S+" < "+c+".length; "+S+"++) { ",y.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var E=c+"["+S+"]";y.dataPathArr[T]=S;var D=e.validate(y);y.baseId=P,e.util.varOccurences(D,I)<2?r+=" "+e.util.varReplace(D,I,E)+" ":r+=" var "+I+" = "+E+"; "+D+" ",p&&(r+=" if (!"+m+") break; "),r+=" } } ",p&&(r+=" if ("+m+") { ",b+="}")}}else if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){y.schema=n,y.schemaPath=d,y.errSchemaPath=u,r+=" for (var "+S+" = 0; "+S+" < "+c+".length; "+S+"++) { ",y.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var E=c+"["+S+"]";y.dataPathArr[T]=S;var D=e.validate(y);y.baseId=P,e.util.varOccurences(D,I)<2?r+=" "+e.util.varReplace(D,I,E)+" ":r+=" var "+I+" = "+E+"; "+D+" ",p&&(r+=" if (!"+m+") break; "),r+=" }"}return p&&(r+=" "+b+" if ("+l+" == errors) {"),r}});var Si=W((nf,Ps)=>{"use strict";Ps.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,P,c="data"+(o||""),f=e.opts.$data&&n&&n.$data,l;f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n;var y=i=="maximum",b=y?"exclusiveMaximum":"exclusiveMinimum",m=e.schema[b],S=e.opts.$data&&m&&m.$data,T=y?"<":">",I=y?">":"<",P=void 0;if(!(f||typeof n=="number"||n===void 0))throw new Error(i+" must be number");if(!(S||m===void 0||typeof m=="number"||typeof m=="boolean"))throw new Error(b+" must be number or boolean");if(S){var F=e.util.getData(m.$data,o,e.dataPathArr),$="exclusive"+s,_="exclType"+s,L="exclIsNumber"+s,A="op"+s,R="' + "+A+" + '";r+=" var schemaExcl"+s+" = "+F+"; ",F="schemaExcl"+s,r+=" var "+$+"; var "+_+" = typeof "+F+"; if ("+_+" != 'boolean' && "+_+" != 'undefined' && "+_+" != 'number') { ";var P=b,O=O||[];O.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(P||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: '"+b+" should be boolean' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var q=r;r=O.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+q+"]); ":r+=" validate.errors = ["+q+"]; return false; ":r+=" var err = "+q+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" "+_+" == 'number' ? ( ("+$+" = "+l+" === undefined || "+F+" "+T+"= "+l+") ? "+c+" "+I+"= "+F+" : "+c+" "+I+" "+l+" ) : ( ("+$+" = "+F+" === true) ? "+c+" "+I+"= "+l+" : "+c+" "+I+" "+l+" ) || "+c+" !== "+c+") { var op"+s+" = "+$+" ? '"+T+"' : '"+T+"='; ",n===void 0&&(P=b,u=e.errSchemaPath+"/"+b,l=F,f=S)}else{var L=typeof m=="number",R=T;if(L&&f){var A="'"+R+"'";r+=" if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" ( "+l+" === undefined || "+m+" "+T+"= "+l+" ? "+c+" "+I+"= "+m+" : "+c+" "+I+" "+l+" ) || "+c+" !== "+c+") { "}else{L&&n===void 0?($=!0,P=b,u=e.errSchemaPath+"/"+b,l=m,I+="="):(L&&(l=Math[y?"min":"max"](m,n)),m===(L?l:!0)?($=!0,P=b,u=e.errSchemaPath+"/"+b,I+="="):($=!1,R+="="));var A="'"+R+"'";r+=" if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" "+c+" "+I+" "+l+" || "+c+" !== "+c+") { "}}P=P||i;var O=O||[];O.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(P||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { comparison: "+A+", limit: "+l+", exclusive: "+$+" } ",e.opts.messages!==!1&&(r+=" , message: 'should be "+R+" ",f?r+="' + "+l:r+=""+l+"'"),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var q=r;return r=O.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+q+"]); ":r+=" validate.errors = ["+q+"]; return false; ":r+=" var err = "+q+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",p&&(r+=" else { "),r}});var wi=W((of,Fs)=>{"use strict";Fs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,b,c="data"+(o||""),f=e.opts.$data&&n&&n.$data,l;if(f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(f||typeof n=="number"))throw new Error(i+" must be number");var y=i=="maxItems"?">":"<";r+="if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" "+c+".length "+y+" "+l+") { ";var b=i,m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(b||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+l+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT have ",i=="maxItems"?r+="more":r+="fewer",r+=" than ",f?r+="' + "+l+" + '":r+=""+n,r+=" items' "),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var S=r;return r=m.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",p&&(r+=" else { "),r}});var Ii=W((lf,As)=>{"use strict";As.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,b,c="data"+(o||""),f=e.opts.$data&&n&&n.$data,l;if(f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(f||typeof n=="number"))throw new Error(i+" must be number");var y=i=="maxLength"?">":"<";r+="if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),e.opts.unicode===!1?r+=" "+c+".length ":r+=" ucs2length("+c+") ",r+=" "+y+" "+l+") { ";var b=i,m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(b||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+l+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT be ",i=="maxLength"?r+="longer":r+="shorter",r+=" than ",f?r+="' + "+l+" + '":r+=""+n,r+=" characters' "),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var S=r;return r=m.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",p&&(r+=" else { "),r}});var xi=W((df,Es)=>{"use strict";Es.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,b,c="data"+(o||""),f=e.opts.$data&&n&&n.$data,l;if(f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(f||typeof n=="number"))throw new Error(i+" must be number");var y=i=="maxProperties"?">":"<";r+="if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" Object.keys("+c+").length "+y+" "+l+") { ";var b=i,m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(b||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+l+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT have ",i=="maxProperties"?r+="more":r+="fewer",r+=" than ",f?r+="' + "+l+" + '":r+=""+n,r+=" properties' "),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var S=r;return r=m.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",p&&(r+=" else { "),r}});var Os=W((pf,$s)=>{"use strict";$s.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f=e.opts.$data&&n&&n.$data,l;if(f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(f||typeof n=="number"))throw new Error(i+" must be number");r+="var division"+s+";if (",f&&(r+=" "+l+" !== undefined && ( typeof "+l+" != 'number' || "),r+=" (division"+s+" = "+c+" / "+l+", ",e.opts.multipleOfPrecision?r+=" Math.abs(Math.round(division"+s+") - division"+s+") > 1e-"+e.opts.multipleOfPrecision+" ":r+=" division"+s+" !== parseInt(division"+s+") ",r+=" ) ",f&&(r+=" ) "),r+=" ) { ";var y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { multipleOf: "+l+" } ",e.opts.messages!==!1&&(r+=" , message: 'should be multiple of ",f?r+="' + "+l:r+=""+l+"'"),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var b=r;return r=y.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+b+"]); ":r+=" validate.errors = ["+b+"]; return false; ":r+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",p&&(r+=" else { "),r}});var Ls=W((cf,Ds)=>{"use strict";Ds.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="errs__"+s,l=e.util.copy(e);l.level++;var y="valid"+l.level;if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){l.schema=n,l.schemaPath=d,l.errSchemaPath=u,r+=" var "+f+" = errors; ";var b=e.compositeRule;e.compositeRule=l.compositeRule=!0,l.createErrors=!1;var m;l.opts.allErrors&&(m=l.opts.allErrors,l.opts.allErrors=!1),r+=" "+e.validate(l)+" ",l.createErrors=!0,m&&(l.opts.allErrors=m),e.compositeRule=l.compositeRule=b,r+=" if ("+y+") { ";var S=S||[];S.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'should NOT be valid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var T=r;r=S.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+T+"]); ":r+=" validate.errors = ["+T+"]; return false; ":r+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { errors = "+f+"; if (vErrors !== null) { if ("+f+") vErrors.length = "+f+"; else vErrors = null; } ",e.opts.allErrors&&(r+=" } ")}else r+=" var err = ",e.createErrors!==!1?(r+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'should NOT be valid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",p&&(r+=" if (false) { ");return r}});var js=W((uf,Rs)=>{"use strict";Rs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l="errs__"+s,y=e.util.copy(e),b="";y.level++;var m="valid"+y.level,S=y.baseId,T="prevValid"+s,I="passingSchemas"+s;r+="var "+l+" = errors , "+T+" = false , "+f+" = false , "+I+" = null; ";var P=e.compositeRule;e.compositeRule=y.compositeRule=!0;var F=n;if(F)for(var $,_=-1,L=F.length-1;_<L;)$=F[_+=1],(e.opts.strictKeywords?typeof $=="object"&&Object.keys($).length>0||$===!1:e.util.schemaHasRules($,e.RULES.all))?(y.schema=$,y.schemaPath=d+"["+_+"]",y.errSchemaPath=u+"/"+_,r+=" "+e.validate(y)+" ",y.baseId=S):r+=" var "+m+" = true; ",_&&(r+=" if ("+m+" && "+T+") { "+f+" = false; "+I+" = ["+I+", "+_+"]; } else { ",b+="}"),r+=" if ("+m+") { "+f+" = "+T+" = true; "+I+" = "+_+"; }";return e.compositeRule=y.compositeRule=P,r+=""+b+"if (!"+f+") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { passingSchemas: "+I+" } ",e.opts.messages!==!1&&(r+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&p&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),r+="} else { errors = "+l+"; if (vErrors !== null) { if ("+l+") vErrors.length = "+l+"; else vErrors = null; }",e.opts.allErrors&&(r+=" } "),r}});var qs=W((ff,_s)=>{"use strict";_s.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f=e.opts.$data&&n&&n.$data,l;f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n;var y=f?"(new RegExp("+l+"))":e.usePattern(n);r+="if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'string') || "),r+=" !"+y+".test("+c+") ) { ";var b=b||[];b.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { pattern: ",f?r+=""+l:r+=""+e.util.toQuotedString(n),r+=" } ",e.opts.messages!==!1&&(r+=` , message: 'should match pattern "`,f?r+="' + "+l+" + '":r+=""+e.util.escapeQuotes(n),r+=`"' `),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+e.util.toQuotedString(n),r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var m=r;return r=b.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+m+"]); ":r+=" validate.errors = ["+m+"]; return false; ":r+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",p&&(r+=" else { "),r}});var ks=W((hf,Bs)=>{"use strict";Bs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="errs__"+s,l=e.util.copy(e),y="";l.level++;var b="valid"+l.level,m="key"+s,S="idx"+s,T=l.dataLevel=e.dataLevel+1,I="data"+T,P="dataProperties"+s,F=Object.keys(n||{}).filter(G),$=e.schema.patternProperties||{},_=Object.keys($).filter(G),L=e.schema.additionalProperties,A=F.length||_.length,R=L===!1,O=typeof L=="object"&&Object.keys(L).length,q=e.opts.removeAdditional,E=R||O||q,D=e.opts.ownProperties,B=e.baseId,ee=e.schema.required;if(ee&&!(e.opts.$data&&ee.$data)&&ee.length<e.opts.loopRequired)var V=e.util.toHash(ee);function G(We){return We!=="__proto__"}if(r+="var "+f+" = errors;var "+b+" = true;",D&&(r+=" var "+P+" = undefined;"),E){if(D?r+=" "+P+" = "+P+" || Object.keys("+c+"); for (var "+S+"=0; "+S+"<"+P+".length; "+S+"++) { var "+m+" = "+P+"["+S+"]; ":r+=" for (var "+m+" in "+c+") { ",A){if(r+=" var isAdditional"+s+" = !(false ",F.length)if(F.length>8)r+=" || validate.schema"+d+".hasOwnProperty("+m+") ";else{var z=F;if(z)for(var N,pe=-1,Ce=z.length-1;pe<Ce;)N=z[pe+=1],r+=" || "+m+" == "+e.util.toQuotedString(N)+" "}if(_.length){var Ee=_;if(Ee)for(var J,ge=-1,we=Ee.length-1;ge<we;)J=Ee[ge+=1],r+=" || "+e.usePattern(J)+".test("+m+") "}r+=" ); if (isAdditional"+s+") { "}if(q=="all")r+=" delete "+c+"["+m+"]; ";else{var $e=e.errorPath,nt="' + "+m+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers)),R)if(q)r+=" delete "+c+"["+m+"]; ";else{r+=" "+b+" = false; ";var Ze=u;u=e.errSchemaPath+"/additionalProperties";var be=be||[];be.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { additionalProperty: '"+nt+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is an invalid additional property":r+="should NOT have additional properties",r+="' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var ce=r;r=be.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+ce+"]); ":r+=" validate.errors = ["+ce+"]; return false; ":r+=" var err = "+ce+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u=Ze,p&&(r+=" break; ")}else if(O)if(q=="failing"){r+=" var "+f+" = errors; ";var bt=e.compositeRule;e.compositeRule=l.compositeRule=!0,l.schema=L,l.schemaPath=e.schemaPath+".additionalProperties",l.errSchemaPath=e.errSchemaPath+"/additionalProperties",l.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var Te=c+"["+m+"]";l.dataPathArr[T]=m;var Y=e.validate(l);l.baseId=B,e.util.varOccurences(Y,I)<2?r+=" "+e.util.varReplace(Y,I,Te)+" ":r+=" var "+I+" = "+Te+"; "+Y+" ",r+=" if (!"+b+") { errors = "+f+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+c+"["+m+"]; } ",e.compositeRule=l.compositeRule=bt}else{l.schema=L,l.schemaPath=e.schemaPath+".additionalProperties",l.errSchemaPath=e.errSchemaPath+"/additionalProperties",l.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var Te=c+"["+m+"]";l.dataPathArr[T]=m;var Y=e.validate(l);l.baseId=B,e.util.varOccurences(Y,I)<2?r+=" "+e.util.varReplace(Y,I,Te)+" ":r+=" var "+I+" = "+Te+"; "+Y+" ",p&&(r+=" if (!"+b+") break; ")}e.errorPath=$e}A&&(r+=" } "),r+=" } ",p&&(r+=" if ("+b+") { ",y+="}")}var ot=e.opts.useDefaults&&!e.compositeRule;if(F.length){var Ye=F;if(Ye)for(var N,vt=-1,St=Ye.length-1;vt<St;){N=Ye[vt+=1];var Ie=n[N];if(e.opts.strictKeywords?typeof Ie=="object"&&Object.keys(Ie).length>0||Ie===!1:e.util.schemaHasRules(Ie,e.RULES.all)){var qe=e.util.getProperty(N),Te=c+qe,De=ot&&Ie.default!==void 0;l.schema=Ie,l.schemaPath=d+qe,l.errSchemaPath=u+"/"+e.util.escapeFragment(N),l.errorPath=e.util.getPath(e.errorPath,N,e.opts.jsonPointers),l.dataPathArr[T]=e.util.toQuotedString(N);var Y=e.validate(l);if(l.baseId=B,e.util.varOccurences(Y,I)<2){Y=e.util.varReplace(Y,I,Te);var Oe=Te}else{var Oe=I;r+=" var "+I+" = "+Te+"; "}if(De)r+=" "+Y+" ";else{if(V&&V[N]){r+=" if ( "+Oe+" === undefined ",D&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(N)+"') "),r+=") { "+b+" = false; ";var $e=e.errorPath,Ze=u,Ge=e.util.escapeQuotes(N);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath($e,N,e.opts.jsonPointers)),u=e.errSchemaPath+"/required";var be=be||[];be.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+Ge+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+Ge+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var ce=r;r=be.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+ce+"]); ":r+=" validate.errors = ["+ce+"]; return false; ":r+=" var err = "+ce+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u=Ze,e.errorPath=$e,r+=" } else { "}else p?(r+=" if ( "+Oe+" === undefined ",D&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(N)+"') "),r+=") { "+b+" = true; } else { "):(r+=" if ("+Oe+" !== undefined ",D&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(N)+"') "),r+=" ) { ");r+=" "+Y+" } "}}p&&(r+=" if ("+b+") { ",y+="}")}}if(_.length){var Re=_;if(Re)for(var J,pr=-1,Kr=Re.length-1;pr<Kr;){J=Re[pr+=1];var Ie=$[J];if(e.opts.strictKeywords?typeof Ie=="object"&&Object.keys(Ie).length>0||Ie===!1:e.util.schemaHasRules(Ie,e.RULES.all)){l.schema=Ie,l.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(J),l.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(J),D?r+=" "+P+" = "+P+" || Object.keys("+c+"); for (var "+S+"=0; "+S+"<"+P+".length; "+S+"++) { var "+m+" = "+P+"["+S+"]; ":r+=" for (var "+m+" in "+c+") { ",r+=" if ("+e.usePattern(J)+".test("+m+")) { ",l.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var Te=c+"["+m+"]";l.dataPathArr[T]=m;var Y=e.validate(l);l.baseId=B,e.util.varOccurences(Y,I)<2?r+=" "+e.util.varReplace(Y,I,Te)+" ":r+=" var "+I+" = "+Te+"; "+Y+" ",p&&(r+=" if (!"+b+") break; "),r+=" } ",p&&(r+=" else "+b+" = true; "),r+=" } ",p&&(r+=" if ("+b+") { ",y+="}")}}}return p&&(r+=" "+y+" if ("+f+" == errors) {"),r}});var Ws=W((yf,Ns)=>{"use strict";Ns.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="errs__"+s,l=e.util.copy(e),y="";l.level++;var b="valid"+l.level;if(r+="var "+f+" = errors;",e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){l.schema=n,l.schemaPath=d,l.errSchemaPath=u;var m="key"+s,S="idx"+s,T="i"+s,I="' + "+m+" + '",P=l.dataLevel=e.dataLevel+1,F="data"+P,$="dataProperties"+s,_=e.opts.ownProperties,L=e.baseId;_&&(r+=" var "+$+" = undefined; "),_?r+=" "+$+" = "+$+" || Object.keys("+c+"); for (var "+S+"=0; "+S+"<"+$+".length; "+S+"++) { var "+m+" = "+$+"["+S+"]; ":r+=" for (var "+m+" in "+c+") { ",r+=" var startErrs"+s+" = errors; ";var A=m,R=e.compositeRule;e.compositeRule=l.compositeRule=!0;var O=e.validate(l);l.baseId=L,e.util.varOccurences(O,F)<2?r+=" "+e.util.varReplace(O,F,A)+" ":r+=" var "+F+" = "+A+"; "+O+" ",e.compositeRule=l.compositeRule=R,r+=" if (!"+b+") { for (var "+T+"=startErrs"+s+"; "+T+"<errors; "+T+"++) { vErrors["+T+"].propertyName = "+m+"; } var err = ",e.createErrors!==!1?(r+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { propertyName: '"+I+"' } ",e.opts.messages!==!1&&(r+=" , message: 'property name \\'"+I+"\\' is invalid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&p&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),p&&(r+=" break; "),r+=" } }"}return p&&(r+=" "+y+" if ("+f+" == errors) {"),r}});var zs=W((mf,Ms)=>{"use strict";Ms.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l=e.opts.$data&&n&&n.$data,y;l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",y="schema"+s):y=n;var b="schema"+s;if(!l)if(n.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var m=[],S=n;if(S)for(var T,I=-1,P=S.length-1;I<P;){T=S[I+=1];var F=e.schema.properties[T];F&&(e.opts.strictKeywords?typeof F=="object"&&Object.keys(F).length>0||F===!1:e.util.schemaHasRules(F,e.RULES.all))||(m[m.length]=T)}}else var m=n;if(l||m.length){var $=e.errorPath,_=l||m.length>=e.opts.loopRequired,L=e.opts.ownProperties;if(p)if(r+=" var missing"+s+"; ",_){l||(r+=" var "+b+" = validate.schema"+d+"; ");var A="i"+s,R="schema"+s+"["+A+"]",O="' + "+R+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr($,R,e.opts.jsonPointers)),r+=" var "+f+" = true; ",l&&(r+=" if (schema"+s+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+s+")) "+f+" = false; else {"),r+=" for (var "+A+" = 0; "+A+" < "+b+".length; "+A+"++) { "+f+" = "+c+"["+b+"["+A+"]] !== undefined ",L&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", "+b+"["+A+"]) "),r+="; if (!"+f+") break; } ",l&&(r+=" } "),r+=" if (!"+f+") { ";var q=q||[];q.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+O+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+O+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var E=r;r=q.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+E+"]); ":r+=" validate.errors = ["+E+"]; return false; ":r+=" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { "}else{r+=" if ( ";var D=m;if(D)for(var B,A=-1,ee=D.length-1;A<ee;){B=D[A+=1],A&&(r+=" || ");var V=e.util.getProperty(B),G=c+V;r+=" ( ( "+G+" === undefined ",L&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(B)+"') "),r+=") && (missing"+s+" = "+e.util.toQuotedString(e.opts.jsonPointers?B:V)+") ) "}r+=") { ";var R="missing"+s,O="' + "+R+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr($,R,!0):$+" + "+R);var q=q||[];q.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+O+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+O+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var E=r;r=q.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+E+"]); ":r+=" validate.errors = ["+E+"]; return false; ":r+=" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { "}else if(_){l||(r+=" var "+b+" = validate.schema"+d+"; ");var A="i"+s,R="schema"+s+"["+A+"]",O="' + "+R+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr($,R,e.opts.jsonPointers)),l&&(r+=" if ("+b+" && !Array.isArray("+b+")) { var err = ",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+O+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+O+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+b+" !== undefined) { "),r+=" for (var "+A+" = 0; "+A+" < "+b+".length; "+A+"++) { if ("+c+"["+b+"["+A+"]] === undefined ",L&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", "+b+"["+A+"]) "),r+=") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+O+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+O+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",l&&(r+=" } ")}else{var z=m;if(z)for(var B,N=-1,pe=z.length-1;N<pe;){B=z[N+=1];var V=e.util.getProperty(B),O=e.util.escapeQuotes(B),G=c+V;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath($,B,e.opts.jsonPointers)),r+=" if ( "+G+" === undefined ",L&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(B)+"') "),r+=") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+O+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+O+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=$}else p&&(r+=" if (true) {");return r}});var Us=W((gf,Vs)=>{"use strict";Vs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l=e.opts.$data&&n&&n.$data,y;if(l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",y="schema"+s):y=n,(n||l)&&e.opts.uniqueItems!==!1){l&&(r+=" var "+f+"; if ("+y+" === false || "+y+" === undefined) "+f+" = true; else if (typeof "+y+" != 'boolean') "+f+" = false; else { "),r+=" var i = "+c+".length , "+f+" = true , j; if (i > 1) { ";var b=e.schema.items&&e.schema.items.type,m=Array.isArray(b);if(!b||b=="object"||b=="array"||m&&(b.indexOf("object")>=0||b.indexOf("array")>=0))r+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+c+"[i], "+c+"[j])) { "+f+" = false; break outer; } } } ";else{r+=" var itemIndices = {}, item; for (;i--;) { var item = "+c+"[i]; ";var S="checkDataType"+(m?"s":"");r+=" if ("+e.util[S](b,"item",e.opts.strictNumbers,!0)+") continue; ",m&&(r+=` if (typeof item == 'string') item = '"' + item; `),r+=" if (typeof itemIndices[item] == 'number') { "+f+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}r+=" } ",l&&(r+=" } "),r+=" if (!"+f+") { ";var T=T||[];T.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { i: i, j: j } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(r+=" , schema: ",l?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var I=r;r=T.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+I+"]); ":r+=" validate.errors = ["+I+"]; return false; ":r+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",p&&(r+=" else { ")}else p&&(r+=" if (true) { ");return r}});var Hs=W((bf,Gs)=>{"use strict";Gs.exports={$ref:ss(),allOf:os(),anyOf:ds(),$comment:cs(),const:fs(),contains:ys(),dependencies:gs(),enum:vs(),format:ws(),if:xs(),items:Ts(),maximum:Si(),minimum:Si(),maxItems:wi(),minItems:wi(),maxLength:Ii(),minLength:Ii(),maxProperties:xi(),minProperties:xi(),multipleOf:Os(),not:Ls(),oneOf:js(),pattern:qs(),properties:ks(),propertyNames:Ws(),required:zs(),uniqueItems:Us(),validate:bi()}});var Ks=W((vf,Js)=>{"use strict";var Qs=Hs(),Ci=Tt().toHash;Js.exports=function(){var e=[{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"]}],i=["type","$comment"],a=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"],r=["number","integer","string","array","object","boolean","null"];return e.all=Ci(i),e.types=Ci(r),e.forEach(function(s){s.rules=s.rules.map(function(o){var n;if(typeof o=="object"){var d=Object.keys(o)[0];n=o[d],o=d,n.forEach(function(p){i.push(p),e.all[p]=!0})}i.push(o);var u=e.all[o]={keyword:o,code:Qs[o],implements:n};return u}),e.all.$comment={keyword:"$comment",code:Qs.$comment},s.type&&(e.types[s.type]=s)}),e.keywords=Ci(i.concat(a)),e.custom={},e}});var Xs=W((Sf,Ys)=>{"use strict";var Zs=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];Ys.exports=function(t,e){for(var i=0;i<e.length;i++){t=JSON.parse(JSON.stringify(t));var a=e[i].split("/"),r=t,s;for(s=1;s<a.length;s++)r=r[a[s]];for(s=0;s<Zs.length;s++){var o=Zs[s],n=r[o];n&&(r[o]={anyOf:[n,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return t}});var rn=W((wf,tn)=>{"use strict";var Ll=Pr().MissingRef;tn.exports=en;function en(t,e,i){var a=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");typeof e=="function"&&(i=e,e=void 0);var r=s(t).then(function(){var n=a._addSchema(t,void 0,e);return n.validate||o(n)});return i&&r.then(function(n){i(null,n)},i),r;function s(n){var d=n.$schema;return d&&!a.getSchema(d)?en.call(a,{$ref:d},!0):Promise.resolve()}function o(n){try{return a._compile(n)}catch(u){if(u instanceof Ll)return d(u);throw u}function d(u){var p=u.missingSchema;if(l(p))throw new Error("Schema "+p+" is loaded but "+u.missingRef+" cannot be resolved");var c=a._loadingSchemas[p];return c||(c=a._loadingSchemas[p]=a._opts.loadSchema(p),c.then(f,f)),c.then(function(y){if(!l(p))return s(y).then(function(){l(p)||a.addSchema(y,p,void 0,e)})}).then(function(){return o(n)});function f(){delete a._loadingSchemas[p]}function l(y){return a._refs[y]||a._schemas[y]}}}}});var sn=W((If,an)=>{"use strict";an.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c,f="data"+(o||""),l="valid"+s,y="errs__"+s,b=e.opts.$data&&n&&n.$data,m;b?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",m="schema"+s):m=n;var S=this,T="definition"+s,I=S.definition,P="",F,$,_,L,A;if(b&&I.$data){A="keywordValidate"+s;var R=I.validateSchema;r+=" var "+T+" = RULES.custom['"+i+"'].definition; var "+A+" = "+T+".validate;"}else{if(L=e.useCustomRule(S,n,e.schema,e),!L)return;m="validate.schema"+d,A=L.code,F=I.compile,$=I.inline,_=I.macro}var O=A+".errors",q="i"+s,E="ruleErr"+s,D=I.async;if(D&&!e.async)throw new Error("async keyword in sync schema");if($||_||(r+=""+O+" = null;"),r+="var "+y+" = errors;var "+l+";",b&&I.$data&&(P+="}",r+=" if ("+m+" === undefined) { "+l+" = true; } else { ",R&&(P+="}",r+=" "+l+" = "+T+".validateSchema("+m+"); if ("+l+") { ")),$)I.statements?r+=" "+L.validate+" ":r+=" "+l+" = "+L.validate+"; ";else if(_){var B=e.util.copy(e),P="";B.level++;var ee="valid"+B.level;B.schema=L.validate,B.schemaPath="";var V=e.compositeRule;e.compositeRule=B.compositeRule=!0;var G=e.validate(B).replace(/validate\.schema/g,A);e.compositeRule=B.compositeRule=V,r+=" "+G}else{var z=z||[];z.push(r),r="",r+=" "+A+".call( ",e.opts.passContext?r+="this":r+="self",F||I.schema===!1?r+=" , "+f+" ":r+=" , "+m+" , "+f+" , validate.schema"+e.schemaPath+" ",r+=" , (dataPath || '')",e.errorPath!='""'&&(r+=" + "+e.errorPath);var N=o?"data"+(o-1||""):"parentData",pe=o?e.dataPathArr[o]:"parentDataProperty";r+=" , "+N+" , "+pe+" , rootData ) ";var Ce=r;r=z.pop(),I.errors===!1?(r+=" "+l+" = ",D&&(r+="await "),r+=""+Ce+"; "):D?(O="customErrors"+s,r+=" var "+O+" = null; try { "+l+" = await "+Ce+"; } catch (e) { "+l+" = false; if (e instanceof ValidationError) "+O+" = e.errors; else throw e; } "):r+=" "+O+" = null; "+l+" = "+Ce+"; "}if(I.modifying&&(r+=" if ("+N+") "+f+" = "+N+"["+pe+"];"),r+=""+P,I.valid)p&&(r+=" if (true) { ");else{r+=" if ( ",I.valid===void 0?(r+=" !",_?r+=""+ee:r+=""+l):r+=" "+!I.valid+" ",r+=") { ",c=S.keyword;var z=z||[];z.push(r),r="";var z=z||[];z.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(c||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+S.keyword+"' } ",e.opts.messages!==!1&&(r+=` , message: 'should pass "`+S.keyword+`" keyword validation' `),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),r+=" } "):r+=" {} ";var Ee=r;r=z.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+Ee+"]); ":r+=" validate.errors = ["+Ee+"]; return false; ":r+=" var err = "+Ee+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var J=r;r=z.pop(),$?I.errors?I.errors!="full"&&(r+=" for (var "+q+"="+y+"; "+q+"<errors; "+q+"++) { var "+E+" = vErrors["+q+"]; if ("+E+".dataPath === undefined) "+E+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+E+".schemaPath === undefined) { "+E+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(r+=" "+E+".schema = "+m+"; "+E+".data = "+f+"; "),r+=" } "):I.errors===!1?r+=" "+J+" ":(r+=" if ("+y+" == errors) { "+J+" } else { for (var "+q+"="+y+"; "+q+"<errors; "+q+"++) { var "+E+" = vErrors["+q+"]; if ("+E+".dataPath === undefined) "+E+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+E+".schemaPath === undefined) { "+E+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(r+=" "+E+".schema = "+m+"; "+E+".data = "+f+"; "),r+=" } } "):_?(r+=" var err = ",e.createErrors!==!1?(r+=" { keyword: '"+(c||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+S.keyword+"' } ",e.opts.messages!==!1&&(r+=` , message: 'should pass "`+S.keyword+`" keyword validation' `),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&p&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; ")):I.errors===!1?r+=" "+J+" ":(r+=" if (Array.isArray("+O+")) { if (vErrors === null) vErrors = "+O+"; else vErrors = vErrors.concat("+O+"); errors = vErrors.length; for (var "+q+"="+y+"; "+q+"<errors; "+q+"++) { var "+E+" = vErrors["+q+"]; if ("+E+".dataPath === undefined) "+E+".dataPath = (dataPath || '') + "+e.errorPath+"; "+E+'.schemaPath = "'+u+'"; ',e.opts.verbose&&(r+=" "+E+".schema = "+m+"; "+E+".data = "+f+"; "),r+=" } } else { "+J+" } "),r+=" } ",p&&(r+=" else { ")}return r}});var Ti=W((xf,Rl)=>{Rl.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{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:[]}},type:["object","boolean"],properties:{$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:"#"}},default:!0}});var ln=W((Cf,on)=>{"use strict";var nn=Ti();on.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:nn.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:nn.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"}]}}}});var pn=W((Tf,dn)=>{"use strict";var jl=/^[a-z_$][a-z0-9_$-]*$/i,_l=sn(),ql=ln();dn.exports={add:Bl,get:kl,remove:Nl,validate:Pi};function Bl(t,e){var i=this.RULES;if(i.keywords[t])throw new Error("Keyword "+t+" is already defined");if(!jl.test(t))throw new Error("Keyword "+t+" is not a valid identifier");if(e){this.validateKeyword(e,!0);var a=e.type;if(Array.isArray(a))for(var r=0;r<a.length;r++)o(t,a[r],e);else o(t,a,e);var s=e.metaSchema;s&&(e.$data&&this._opts.$data&&(s={anyOf:[s,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),e.validateSchema=this.compile(s,!0))}i.keywords[t]=i.all[t]=!0;function o(n,d,u){for(var p,c=0;c<i.length;c++){var f=i[c];if(f.type==d){p=f;break}}p||(p={type:d,rules:[]},i.push(p));var l={keyword:n,definition:u,custom:!0,code:_l,implements:u.implements};p.rules.push(l),i.custom[n]=l}return this}function kl(t){var e=this.RULES.custom[t];return e?e.definition:this.RULES.keywords[t]||!1}function Nl(t){var e=this.RULES;delete e.keywords[t],delete e.all[t],delete e.custom[t];for(var i=0;i<e.length;i++)for(var a=e[i].rules,r=0;r<a.length;r++)if(a[r].keyword==t){a.splice(r,1);break}return this}function Pi(t,e){Pi.errors=null;var i=this._validateKeyword=this._validateKeyword||this.compile(ql,!0);if(i(t))return!0;if(Pi.errors=i.errors,e)throw new Error("custom keyword definition is invalid: "+this.errorsText(i.errors));return!1}});var cn=W((Pf,Wl)=>{Wl.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON Schema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}});var wn=W((Ff,Sn)=>{"use strict";var fn=za(),Pt=Tr(),Ml=Ua(),hn=ci(),zl=gi(),Vl=is(),Ul=Ks(),yn=Xs(),mn=Tt();Sn.exports=fe;fe.prototype.validate=Hl;fe.prototype.compile=Ql;fe.prototype.addSchema=Jl;fe.prototype.addMetaSchema=Kl;fe.prototype.validateSchema=Zl;fe.prototype.getSchema=Xl;fe.prototype.removeSchema=td;fe.prototype.addFormat=dd;fe.prototype.errorsText=ld;fe.prototype._addSchema=rd;fe.prototype._compile=id;fe.prototype.compileAsync=rn();var Rr=pn();fe.prototype.addKeyword=Rr.add;fe.prototype.getKeyword=Rr.get;fe.prototype.removeKeyword=Rr.remove;fe.prototype.validateKeyword=Rr.validate;var gn=Pr();fe.ValidationError=gn.Validation;fe.MissingRefError=gn.MissingRef;fe.$dataMetaSchema=yn;var Lr="http://json-schema.org/draft-07/schema",un=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],Gl=["/properties"];function fe(t){if(!(this instanceof fe))return new fe(t);t=this._opts=mn.copy(t)||{},yd(this),this._schemas={},this._refs={},this._fragments={},this._formats=Vl(t.format),this._cache=t.cache||new Ml,this._loadingSchemas={},this._compilations=[],this.RULES=Ul(),this._getId=ad(t),t.loopRequired=t.loopRequired||1/0,t.errorDataPath=="property"&&(t._errorDataPathProperty=!0),t.serialize===void 0&&(t.serialize=zl),this._metaOpts=hd(this),t.formats&&ud(this),t.keywords&&fd(this),pd(this),typeof t.meta=="object"&&this.addMetaSchema(t.meta),t.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),cd(this)}function Hl(t,e){var i;if(typeof t=="string"){if(i=this.getSchema(t),!i)throw new Error('no schema with key or ref "'+t+'"')}else{var a=this._addSchema(t);i=a.validate||this._compile(a)}var r=i(e);return i.$async!==!0&&(this.errors=i.errors),r}function Ql(t,e){var i=this._addSchema(t,void 0,e);return i.validate||this._compile(i)}function Jl(t,e,i,a){if(Array.isArray(t)){for(var r=0;r<t.length;r++)this.addSchema(t[r],void 0,i,a);return this}var s=this._getId(t);if(s!==void 0&&typeof s!="string")throw new Error("schema id must be string");return e=Pt.normalizeId(e||s),vn(this,e),this._schemas[e]=this._addSchema(t,i,a,!0),this}function Kl(t,e,i){return this.addSchema(t,e,i,!0),this}function Zl(t,e){var i=t.$schema;if(i!==void 0&&typeof i!="string")throw new Error("$schema must be a string");if(i=i||this._opts.defaultMeta||Yl(this),!i)return this.logger.warn("meta-schema not available"),this.errors=null,!0;var a=this.validate(i,t);if(!a&&e){var r="schema is invalid: "+this.errorsText();if(this._opts.validateSchema=="log")this.logger.error(r);else throw new Error(r)}return a}function Yl(t){var e=t._opts.meta;return t._opts.defaultMeta=typeof e=="object"?t._getId(e)||e:t.getSchema(Lr)?Lr:void 0,t._opts.defaultMeta}function Xl(t){var e=bn(this,t);switch(typeof e){case"object":return e.validate||this._compile(e);case"string":return this.getSchema(e);case"undefined":return ed(this,t)}}function ed(t,e){var i=Pt.schema.call(t,{schema:{}},e);if(i){var a=i.schema,r=i.root,s=i.baseId,o=fn.call(t,a,r,void 0,s);return t._fragments[e]=new hn({ref:e,fragment:!0,schema:a,root:r,baseId:s,validate:o}),o}}function bn(t,e){return e=Pt.normalizeId(e),t._schemas[e]||t._refs[e]||t._fragments[e]}function td(t){if(t instanceof RegExp)return Dr(this,this._schemas,t),Dr(this,this._refs,t),this;switch(typeof t){case"undefined":return Dr(this,this._schemas),Dr(this,this._refs),this._cache.clear(),this;case"string":var e=bn(this,t);return e&&this._cache.del(e.cacheKey),delete this._schemas[t],delete this._refs[t],this;case"object":var i=this._opts.serialize,a=i?i(t):t;this._cache.del(a);var r=this._getId(t);r&&(r=Pt.normalizeId(r),delete this._schemas[r],delete this._refs[r])}return this}function Dr(t,e,i){for(var a in e){var r=e[a];!r.meta&&(!i||i.test(a))&&(t._cache.del(r.cacheKey),delete e[a])}}function rd(t,e,i,a){if(typeof t!="object"&&typeof t!="boolean")throw new Error("schema should be object or boolean");var r=this._opts.serialize,s=r?r(t):t,o=this._cache.get(s);if(o)return o;a=a||this._opts.addUsedSchema!==!1;var n=Pt.normalizeId(this._getId(t));n&&a&&vn(this,n);var d=this._opts.validateSchema!==!1&&!e,u;d&&!(u=n&&n==Pt.normalizeId(t.$schema))&&this.validateSchema(t,!0);var p=Pt.ids.call(this,t),c=new hn({id:n,schema:t,localRefs:p,cacheKey:s,meta:i});return n[0]!="#"&&a&&(this._refs[n]=c),this._cache.put(s,c),d&&u&&this.validateSchema(t,!0),c}function id(t,e){if(t.compiling)return t.validate=r,r.schema=t.schema,r.errors=null,r.root=e||r,t.schema.$async===!0&&(r.$async=!0),r;t.compiling=!0;var i;t.meta&&(i=this._opts,this._opts=this._metaOpts);var a;try{a=fn.call(this,t.schema,e,t.localRefs)}catch(s){throw delete t.validate,s}finally{t.compiling=!1,t.meta&&(this._opts=i)}return t.validate=a,t.refs=a.refs,t.refVal=a.refVal,t.root=a.root,a;function r(){var s=t.validate,o=s.apply(this,arguments);return r.errors=s.errors,o}}function ad(t){switch(t.schemaId){case"auto":return od;case"id":return sd;default:return nd}}function sd(t){return t.$id&&this.logger.warn("schema $id ignored",t.$id),t.id}function nd(t){return t.id&&this.logger.warn("schema id ignored",t.id),t.$id}function od(t){if(t.$id&&t.id&&t.$id!=t.id)throw new Error("schema $id is different from id");return t.$id||t.id}function ld(t,e){if(t=t||this.errors,!t)return"No errors";e=e||{};for(var i=e.separator===void 0?", ":e.separator,a=e.dataVar===void 0?"data":e.dataVar,r="",s=0;s<t.length;s++){var o=t[s];o&&(r+=a+o.dataPath+" "+o.message+i)}return r.slice(0,-i.length)}function dd(t,e){return typeof e=="string"&&(e=new RegExp(e)),this._formats[t]=e,this}function pd(t){var e;if(t._opts.$data&&(e=cn(),t.addMetaSchema(e,e.$id,!0)),t._opts.meta!==!1){var i=Ti();t._opts.$data&&(i=yn(i,Gl)),t.addMetaSchema(i,Lr,!0),t._refs["http://json-schema.org/schema"]=Lr}}function cd(t){var e=t._opts.schemas;if(e)if(Array.isArray(e))t.addSchema(e);else for(var i in e)t.addSchema(e[i],i)}function ud(t){for(var e in t._opts.formats){var i=t._opts.formats[e];t.addFormat(e,i)}}function fd(t){for(var e in t._opts.keywords){var i=t._opts.keywords[e];t.addKeyword(e,i)}}function vn(t,e){if(t._schemas[e]||t._refs[e])throw new Error('schema with key or id "'+e+'" already exists')}function hd(t){for(var e=mn.copy(t._opts),i=0;i<un.length;i++)delete e[un[i]];return e}function yd(t){var e=t._opts.logger;if(e===!1)t.logger={log:Fi,warn:Fi,error:Fi};else{if(e===void 0&&(e=console),!(typeof e=="object"&&e.log&&e.warn&&e.error))throw new Error("logger must implement log, warn and error methods");t.logger=e}}function Fi(){}});var Cn=W((Af,Ei)=>{function md(t,e){var i=e&&e.cache?e.cache:Id,a=e&&e.serializer?e.serializer:wd,r=e&&e.strategy?e.strategy:bd;return r(t,{cache:i,serializer:a})}function gd(t){return t==null||typeof t=="number"||typeof t=="boolean"}function In(t,e,i,a){var r=gd(a)?a:i(a),s=e.get(r);return typeof s>"u"&&(s=t.call(this,a),e.set(r,s)),s}function xn(t,e,i){var a=Array.prototype.slice.call(arguments,3),r=i(a),s=e.get(r);return typeof s>"u"&&(s=t.apply(this,a),e.set(r,s)),s}function Ai(t,e,i,a,r){return i.bind(e,t,a,r)}function bd(t,e){var i=t.length===1?In:xn;return Ai(t,this,i,e.cache.create(),e.serializer)}function vd(t,e){var i=xn;return Ai(t,this,i,e.cache.create(),e.serializer)}function Sd(t,e){var i=In;return Ai(t,this,i,e.cache.create(),e.serializer)}function wd(){return JSON.stringify(arguments)}function jr(){this.cache=Object.create(null)}jr.prototype.has=function(t){return t in this.cache};jr.prototype.get=function(t){return this.cache[t]};jr.prototype.set=function(t,e){this.cache[t]=e};var Id={create:function(){return new jr}};Ei.exports=md;Ei.exports.strategies={variadic:vd,monadic:Sd}});function tr(t,e){let i,a;if(e===void 0)for(let r of t)r!=null&&(i===void 0?r>=r&&(i=a=r):(i>r&&(i=r),a<r&&(a=r)));else{let r=-1;for(let s of t)(s=e(s,++r,t))!=null&&(i===void 0?s>=s&&(i=a=s):(i>s&&(i=s),a<s&&(a=s)))}return[i,a]}var mr=class extends Map{constructor(e,i=jo){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:i}}),e!=null)for(let[a,r]of e)this.set(a,r)}get(e){return super.get(ha(this,e))}has(e){return super.has(ha(this,e))}set(e,i){return super.set(Lo(this,e),i)}delete(e){return super.delete(Ro(this,e))}};function ha({_intern:t,_key:e},i){let a=e(i);return t.has(a)?t.get(a):i}function Lo({_intern:t,_key:e},i){let a=e(i);return t.has(a)?t.get(a):(t.set(a,i),i)}function Ro({_intern:t,_key:e},i){let a=e(i);return t.has(a)&&(i=t.get(a),t.delete(a)),i}function jo(t){return t!==null&&typeof t=="object"?t.valueOf():t}function ii(t){return t}function _o(t,e,...i){return qo(t,ii,e,i)}function qo(t,e,i,a){return function r(s,o){if(o>=a.length)return i(s);let n=new mr,d=a[o++],u=-1;for(let p of s){let c=d(p,++u,s),f=n.get(c);f?f.push(p):n.set(c,[p])}for(let[p,c]of n)n.set(p,r(c,o));return e(n)}(t,0)}function ya(t,e){let i;if(e===void 0)for(let a of t)a!=null&&(i<a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let r of t)(r=e(r,++a,t))!=null&&(i<r||i===void 0&&r>=r)&&(i=r)}return i}function ma(t,e){let i;if(e===void 0)for(let a of t)a!=null&&(i>a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let r of t)(r=e(r,++a,t))!=null&&(i>r||i===void 0&&r>=r)&&(i=r)}return i}function ga(t,e){let i=0,a=0;if(e===void 0)for(let r of t)r!=null&&(r=+r)>=r&&(++i,a+=r);else{let r=-1;for(let s of t)(s=e(s,++r,t))!=null&&(s=+s)>=s&&(++i,a+=s)}if(i)return a/i}function ba(t,e,i){t=+t,e=+e,i=(r=arguments.length)<2?(e=t,t=0,1):r<3?1:+i;for(var a=-1,r=Math.max(0,Math.ceil((e-t)/i))|0,s=new Array(r);++a<r;)s[a]=t+a*i;return s}function va(t,e){let i=0;if(e===void 0)for(let a of t)(a=+a)&&(i+=a);else{let a=-1;for(let r of t)(r=+e(r,++a,t))&&(i+=r)}return i}var Ln=na(wn(),1);var _n=na(Cn(),1);var yt="24.1.0",ki="arcgis_charts_pie_from_fields_name",Bn="arcgis_charts_pie_from_fields_value",$d="arcgis_charts_bar_line_from_fields_name",Od="arcgis_charts_bar_line_from_fields_value",at={Mean:"Mean",Median:"Median",StdDev:"Standard Deviation",Normal:"Normal Distribution",Trendline:"Trendline"},Tn={Count:"count",Start:"minValue",End:"maxValue"},kn={Reject:"reject",RenderUpToTheLimit:"renderUpToTheLimit"},U={AxisLabels:"axisLabels",GuideLabel:"guideLabel",AxisTitle:"axisTitle",ChartTitle:"chartTitle",ChartSubtitle:"chartSubtitle",DataLabels:"dataLabels",LegendTitle:"legendTitle",LegendText:"legendText",DescriptionText:"descriptionText"},Uf=32,Gf="arcgis_charts_features_extent",At={maxRecordCountFactor:5,maxParallelRequests:4,maxRecords:2e3,orderByJSAPIDelimiter:" ",outStatistics:{statisticType:la.statisticType,onStatisticField:"OBJECTID",outStatisticFieldName:"arcgis_charts_outStatisticFieldName_default_key"},uniqueIdsName:"arcgisChartsUniqueIds"},Dd=["EXPR_1","Expr1","expr1","EXPR1"],Hf=1,ze=.7,Ld=25,Nn=[156,156,156,255],Rd=[156,156,156,255],Qf=Wt.Solid,Jf=2,Kf={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"},Ni="arcgis_charts_box_plot_category",jd={valueField:"arcgis_charts_heat_chart_value",xField:"arcgis_charts_heat_chart_x",yField:"arcgis_charts_heat_chart_y"},_d=[[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]],qd=[[104,104,104,255],[51,124,235,255],[132,0,168,255],[156,156,156,255]];function Je(t){let{colorIndex:e,opacity:i,histogramOverlays:a}=t,r=Math.max(0,e??0),s=[...a===!0?qd:_d],[o,n,d,u]=s[r%s.length],p=i!==void 0?i*255:u;return[o,n,d,p]}function Wn(t){return[0,0,0,(t??ze)*255]}function Zf(){return{type:C.CursorCrosshair,verticalLineVisible:!1,horizontalLineVisible:!1,style:{type:Fe.SLS,style:Wt.Dot,color:[211,211,211,255],width:1}}}function Hr(t=1){return[Math.floor(Math.random()*256),Math.floor(Math.random()*256),Math.floor(Math.random()*256),t*255]}function re(t){let e={family:"Arial, Helvetica, sans-serif",size:10};switch(t){case U.ChartTitle:e.size=18;break;case U.AxisTitle:e.size=14;break;case U.LegendText:e.size=12;break;case U.LegendTitle:e.size=13;break;case U.DescriptionText:e.size=11;break}return e}function Mn(t="",e=re(),i){let a=hr.Center;return(i===U.DataLabels||i===U.GuideLabel)&&(a=void 0),{type:Fe.TS,color:Wn(),text:t,font:e,horizontalAlignment:a}}function Z(t){let{text:e,visible:i,font:a,type:r}=t??{text:"",visible:!0,font:re()};return{type:C.Text,visible:i,content:Mn(e,a,r)}}function or(t){let e=t?.useRandomColor??!1,i=t?.useRampColor,a=t?.width??1,r=t?.isHistogramOverlay,s=t?.color??Wn(1);return e?s=Hr():i!==void 0&&(r===!0?s=Je({colorIndex:i.colorIndex,histogramOverlays:r}):s=Je({colorIndex:i.colorIndex})),t?.opacity!==void 0&&(s[3]=t.opacity),{type:Fe.SLS,style:Wt.Solid,color:s,width:a}}function Bd(){return{type:C.CategoryAxisFormat,characterLimit:11}}function Yf(){return{type:C.DateAxisFormat,intlOptions:{}}}function Ri(){return{type:C.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:3,useGrouping:!0}}}function Xf(){return{type:C.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:2}}}function eh(){return{type:C.NumberAxisFormat,intlOptions:{style:"percent",minimumFractionDigits:0,maximumFractionDigits:0}}}function Pn(t="Category Axis"){let e=Z({text:t,visible:!0,font:re(U.AxisTitle)});e.content.horizontalAlignment=hr.Center,e.content.verticalAlignment=ri.Middle;let i=Z({text:t,visible:!0,font:re(U.AxisLabels)});return{type:C.Axis,visible:!0,title:e,labels:i,valueFormat:Bd(),lineSymbol:or({color:Nn})}}function Wr(t="Value Axis"){let e=Z({text:t,visible:!0,font:re(U.AxisTitle)}),i=Z({text:t,visible:!0,font:re(U.AxisLabels)});return e.content.verticalAlignment=ri.Middle,e.content.horizontalAlignment=hr.Center,{type:C.Axis,visible:!0,title:e,labels:i,valueFormat:Ri(),lineSymbol:or({color:Nn})}}function Et(){return{type:C.Legend,visible:!0,title:Z({text:"",visible:!0,font:re(U.LegendTitle)}),body:Mn("",re(U.LegendText)),position:oa.Right,maxHeight:Number.NaN}}function _r(t){return{type:C.Overlay,visible:!0,created:!1,symbol:or({useRampColor:{colorIndex:t},isHistogramOverlay:!0})}}function $t(){return[255,255,255,255]}async function mt(){return(await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages.")).utilsStrings.chartType.chart}function gt(){return`Chart ${Date.now()}`}function th(t,e=!1){return{type:Fe.SFS,style:Mt.Solid,color:e?Hr(ze):Je({colorIndex:t??0,opacity:ze})}}function kd(t=0){return{type:Fe.SMS,style:ti.Circle,color:Je({colorIndex:t,opacity:ze}),size:4}}function Nd(t){return{type:Fe.SLS,style:Wt.Solid,color:Je({colorIndex:t,opacity:ze}),width:2}}function Wd(t=!1){return{type:Fe.SMS,style:ti.Circle,color:t?Hr(ze):Je({colorIndex:0,opacity:ze}),size:7}}function rh(){return{type:C.SizePolicy,field:"",scaleType:ca.Linear,minSize:5,maxSize:30}}function Md(t=!1){return{type:C.Overlays,trendLine:{type:C.Overlay,created:!1,visible:!0,symbol:{type:Fe.SLS,style:Wt.Solid,color:t?Hr():Je({colorIndex:1}),width:2}}}}function zd(){return{type:C.ScatterSeries,id:C.ScatterSeries,name:C.ScatterSeries,x:"",y:"",markerSymbol:Wd(),overlays:Md(),dataLabels:Z({text:"",visible:!1,font:re(U.DataLabels)})}}async function Gt(t){let e=await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages."),i=[],a=e.xAxis,r=e.utilsStrings.statistics.count,s,o=Wr(r),n=or({opacity:Ld});switch(o.grid=n,t){case C.BarSeries:{s=Pn(a);break}case C.ScatterSeries:{s=Wr(a),s.grid=n;break}case C.RadarSeries:case C.LineSeries:case C.HistogramSeries:{s=Wr(a);break}case C.BoxPlotSeries:{s=Pn("");break}}return s!==void 0&&i.push(s,o),i}function Vd(){return{type:C.GaugeNeedle,symbol:{type:Fe.SFS,color:[0,0,0,200]}}}async function Ud(){let t=await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages."),e=[],i=t.xAxis,a=Wr(i);return a.needle=Vd(),e.push(a),e}async function Gd(t){let e=t.objectIDField??"ObjectID",i=`${ae.Count}_${e}_0`.toUpperCase(),a=(await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages.")).countSeries;return{type:C.LineSeries,id:a,name:a,query:{outStatistics:[{statisticType:ae.Count,onStatisticField:e,outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,lineSymbol:Nd(t.seriesIndex),markerSymbol:kd(t.seriesIndex),dataLabels:Z({text:"",visible:!1,font:re(U.DataLabels)}),temporalBinning:{unit:Pe.Day,size:0,timeAggregationType:kt.Start,trimIncompleteTimeInterval:!0,nullPolicy:da.Interpolate}}}async function ih(t){return{...await Gd(t),type:C.RadarSeries}}function Hd(t){return{type:Fe.SFS,style:Mt.Solid,color:Je({colorIndex:t,opacity:ze})}}async function ah(t){let e=t.objectIDField??"ObjectID",i=`${ae.Count}_${e}_0`.toUpperCase(),a=(await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages.")).countSeries;return{type:C.BarSeries,id:a,name:a,query:{outStatistics:[{statisticType:ae.Count,onStatisticField:e,outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,fillSymbol:Hd(t.seriesIndex),dataLabels:Z({text:"",visible:!1,font:re(U.DataLabels),type:U.DataLabels})}}async function sh(t){let e=(await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages.")).countSeries;return{name:e,type:C.BoxPlotSeries,id:e,fillSymbol:{type:Fe.SFS,style:Mt.Solid,color:Je({colorIndex:t,opacity:ze})},query:{},x:Ni,y:""}}function Qd(){return{type:C.PieTick,visible:!0,lineSymbol:or({width:1,color:Rd})}}function Jd(){return{type:Fe.SFS,style:Mt.Solid}}async function nh(t){let e=`${ae.Count}_${t}_0`.toUpperCase(),i=(await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages.")).countSeries;return{type:C.PieSeries,id:i,name:i,query:{outStatistics:[{statisticType:ae.Count,onStatisticField:t??"ObjectID",outStatisticFieldName:e}],groupByFieldsForStatistics:[]},x:"",y:e,fillSymbol:Jd(),dataLabels:Z({text:"",visible:!1,font:re(U.DataLabels),type:U.DataLabels}),startAngle:-90,endAngle:270,dataLabelsCharacterLimit:11,displayCategoryOnDataLabel:!0,displayNumericValueOnDataLabel:!1,displayPercentageOnDataLabel:!0,numericValueFormat:{...Ri(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},percentValueFormat:{...Ri(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},ticks:Qd()}}function oh(t){let e=t.objectIDField??"ObjectID",i=`${ae.Count}_${e}_0`.toUpperCase(),a="Series0";return{type:C.GaugeSeries,id:a,name:a,query:{outStatistics:[{statisticType:ae.Count,onStatisticField:e,outStatisticFieldName:i}]},x:""}}function ar(){return!1}async function lh(t=gt()){return{version:yt,type:C.Chart,id:t,colorMatch:!0,rotated:ar(),orderOptions:{data:{orderType:Nt.Category,orderBy:rt.Ascending}},title:Z({text:await mt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:$t(),axes:await Gt(C.BarSeries),series:[],legend:Et()}}async function dh(t=gt()){return{version:yt,type:C.Chart,id:t,rotated:ar(),colorMatch:!0,orderOptions:{data:{orderType:Nt.Category,orderBy:rt.Ascending}},title:Z({text:await mt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:$t(),series:[],legend:Et(),axes:await Gt(C.BoxPlotSeries),standardizeValues:!0,showOutliers:!1}}async function ph(t=gt()){return{version:yt,type:C.Chart,id:t,colorMatch:!0,rotated:ar(),orderOptions:{data:{orderType:Nt.Category,orderBy:rt.Ascending}},title:Z({text:await mt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:$t(),axes:await Gt(C.LineSeries),series:[],legend:Et()}}async function ch(t=gt()){return{version:yt,type:C.Chart,id:t,colorMatch:!0,orderOptions:{data:{orderType:Nt.Category,orderBy:rt.Ascending}},title:Z({text:await mt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:$t(),axes:await Gt(C.RadarSeries),series:[],legend:Et()}}async function uh(t=gt()){return{version:yt,type:C.Chart,id:t,colorMatch:!0,orderOptions:{data:{orderType:Nt.YValue,orderBy:rt.Descending}},title:Z({text:await mt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:$t(),series:[],legend:{...Et(),displayNumericValue:!1,displayPercentage:!0}}}async function fh(t=gt()){return{version:yt,type:C.Chart,id:t,colorMatch:!0,title:Z({text:await mt(),visible:!0,font:re(U.ChartTitle)}),series:[],axes:await Ud()}}async function hh(t=gt()){return{version:yt,type:C.Chart,id:t,colorMatch:!0,title:Z({text:await mt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:$t(),axes:await Gt(C.ScatterSeries),series:[zd()],legend:Et()}}function Kd(){return{type:C.Overlays,mean:_r(1),median:_r(2),standardDeviation:_r(3),comparisonDistribution:_r(4)}}function Zd(){return{type:Fe.SFS,style:Mt.Solid,color:Je({colorIndex:0,opacity:ze})}}function Yd(){return{type:C.HistogramSeries,id:C.HistogramSeries,name:C.HistogramSeries,visible:!0,dataTooltipVisible:!0,dataTooltipReverseColor:!1,assignToSecondValueAxis:!1,x:"",binCount:32,overlays:Kd(),dataTransformationType:ei.None,fillSymbol:Zd(),dataLabels:Z({text:"",visible:!1,font:re(U.DataLabels)})}}async function yh(t=gt()){return{version:yt,type:C.Chart,id:t,colorMatch:!0,title:Z({text:await mt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:$t(),axes:await Gt(C.HistogramSeries),series:[Yd()],legend:Et()}}var $i={behaviorAfterLimit:kn.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 Xd(t){let e={...$i};return t!==void 0&&Object.keys($i).forEach(i=>{let a=i;e[a]=t[a]??$i[a]}),e}function mh(){return{maxScatterCellsPerQuery:500,maxScatterCellsPerQueryForStandard:175,maxElementsPerSelectionQuery:25,maxOIDsPerSelectionQuery:2e3,maxOperandsPerWhereClause:200}}async function gh(t){let e=await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages."),i;switch(t){case ae.Average:{i=e.utilsStrings.statistics.mean;break}case ae.ContinuousPercentile:{i=e.utilsStrings.statistics.median;break}case ae.Sum:{i=e.utilsStrings.statistics.sum;break}case ae.Minimum:{i=e.utilsStrings.statistics.minimum;break}case ae.Maximum:{i=e.utilsStrings.statistics.maximum;break}case ae.Variance:{i=e.utilsStrings.statistics.variance;break}case ae.DiscretePercentile:{i=e.utilsStrings.statistics.discretePercentile;break}case ae.NoAggregation:{i=e.utilsStrings.statistics.noAggregation;break}case ae.Count:default:{i=e.utilsStrings.statistics.count;break}}return i}async function bh(t){let e=await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages."),i;switch(t){case kt.End:{i=e.timeAggregationTypes.end;break}case kt.Start:{i=e.timeAggregationTypes.start;break}default:i="";break}return i}function ep(){return er.Side}async function vh(){return(await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages.")).utilsStrings.notAvailable}var Sh=0,tp="_arcgis_charts_outliers",rp="_arcgis_charts_z_score",wh=[210,210,210,255*ze],Ih=" percentage ";var zr=function(){return zr=Object.assign||function(t){for(var e,i=1,a=arguments.length;i<a;i++){e=arguments[i];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},zr.apply(this,arguments)},ji={exports:{}},de={},_i={exports:{}},Ot={};function zn(){var t={};return t["align-content"]=!1,t["align-items"]=!1,t["align-self"]=!1,t["alignment-adjust"]=!1,t["alignment-baseline"]=!1,t.all=!1,t["anchor-point"]=!1,t.animation=!1,t["animation-delay"]=!1,t["animation-direction"]=!1,t["animation-duration"]=!1,t["animation-fill-mode"]=!1,t["animation-iteration-count"]=!1,t["animation-name"]=!1,t["animation-play-state"]=!1,t["animation-timing-function"]=!1,t.azimuth=!1,t["backface-visibility"]=!1,t.background=!0,t["background-attachment"]=!0,t["background-clip"]=!0,t["background-color"]=!0,t["background-image"]=!0,t["background-origin"]=!0,t["background-position"]=!0,t["background-repeat"]=!0,t["background-size"]=!0,t["baseline-shift"]=!1,t.binding=!1,t.bleed=!1,t["bookmark-label"]=!1,t["bookmark-level"]=!1,t["bookmark-state"]=!1,t.border=!0,t["border-bottom"]=!0,t["border-bottom-color"]=!0,t["border-bottom-left-radius"]=!0,t["border-bottom-right-radius"]=!0,t["border-bottom-style"]=!0,t["border-bottom-width"]=!0,t["border-collapse"]=!0,t["border-color"]=!0,t["border-image"]=!0,t["border-image-outset"]=!0,t["border-image-repeat"]=!0,t["border-image-slice"]=!0,t["border-image-source"]=!0,t["border-image-width"]=!0,t["border-left"]=!0,t["border-left-color"]=!0,t["border-left-style"]=!0,t["border-left-width"]=!0,t["border-radius"]=!0,t["border-right"]=!0,t["border-right-color"]=!0,t["border-right-style"]=!0,t["border-right-width"]=!0,t["border-spacing"]=!0,t["border-style"]=!0,t["border-top"]=!0,t["border-top-color"]=!0,t["border-top-left-radius"]=!0,t["border-top-right-radius"]=!0,t["border-top-style"]=!0,t["border-top-width"]=!0,t["border-width"]=!0,t.bottom=!1,t["box-decoration-break"]=!0,t["box-shadow"]=!0,t["box-sizing"]=!0,t["box-snap"]=!0,t["box-suppress"]=!0,t["break-after"]=!0,t["break-before"]=!0,t["break-inside"]=!0,t["caption-side"]=!1,t.chains=!1,t.clear=!0,t.clip=!1,t["clip-path"]=!1,t["clip-rule"]=!1,t.color=!0,t["color-interpolation-filters"]=!0,t["column-count"]=!1,t["column-fill"]=!1,t["column-gap"]=!1,t["column-rule"]=!1,t["column-rule-color"]=!1,t["column-rule-style"]=!1,t["column-rule-width"]=!1,t["column-span"]=!1,t["column-width"]=!1,t.columns=!1,t.contain=!1,t.content=!1,t["counter-increment"]=!1,t["counter-reset"]=!1,t["counter-set"]=!1,t.crop=!1,t.cue=!1,t["cue-after"]=!1,t["cue-before"]=!1,t.cursor=!1,t.direction=!1,t.display=!0,t["display-inside"]=!0,t["display-list"]=!0,t["display-outside"]=!0,t["dominant-baseline"]=!1,t.elevation=!1,t["empty-cells"]=!1,t.filter=!1,t.flex=!1,t["flex-basis"]=!1,t["flex-direction"]=!1,t["flex-flow"]=!1,t["flex-grow"]=!1,t["flex-shrink"]=!1,t["flex-wrap"]=!1,t.float=!1,t["float-offset"]=!1,t["flood-color"]=!1,t["flood-opacity"]=!1,t["flow-from"]=!1,t["flow-into"]=!1,t.font=!0,t["font-family"]=!0,t["font-feature-settings"]=!0,t["font-kerning"]=!0,t["font-language-override"]=!0,t["font-size"]=!0,t["font-size-adjust"]=!0,t["font-stretch"]=!0,t["font-style"]=!0,t["font-synthesis"]=!0,t["font-variant"]=!0,t["font-variant-alternates"]=!0,t["font-variant-caps"]=!0,t["font-variant-east-asian"]=!0,t["font-variant-ligatures"]=!0,t["font-variant-numeric"]=!0,t["font-variant-position"]=!0,t["font-weight"]=!0,t.grid=!1,t["grid-area"]=!1,t["grid-auto-columns"]=!1,t["grid-auto-flow"]=!1,t["grid-auto-rows"]=!1,t["grid-column"]=!1,t["grid-column-end"]=!1,t["grid-column-start"]=!1,t["grid-row"]=!1,t["grid-row-end"]=!1,t["grid-row-start"]=!1,t["grid-template"]=!1,t["grid-template-areas"]=!1,t["grid-template-columns"]=!1,t["grid-template-rows"]=!1,t["hanging-punctuation"]=!1,t.height=!0,t.hyphens=!1,t.icon=!1,t["image-orientation"]=!1,t["image-resolution"]=!1,t["ime-mode"]=!1,t["initial-letters"]=!1,t["inline-box-align"]=!1,t["justify-content"]=!1,t["justify-items"]=!1,t["justify-self"]=!1,t.left=!1,t["letter-spacing"]=!0,t["lighting-color"]=!0,t["line-box-contain"]=!1,t["line-break"]=!1,t["line-grid"]=!1,t["line-height"]=!1,t["line-snap"]=!1,t["line-stacking"]=!1,t["line-stacking-ruby"]=!1,t["line-stacking-shift"]=!1,t["line-stacking-strategy"]=!1,t["list-style"]=!0,t["list-style-image"]=!0,t["list-style-position"]=!0,t["list-style-type"]=!0,t.margin=!0,t["margin-bottom"]=!0,t["margin-left"]=!0,t["margin-right"]=!0,t["margin-top"]=!0,t["marker-offset"]=!1,t["marker-side"]=!1,t.marks=!1,t.mask=!1,t["mask-box"]=!1,t["mask-box-outset"]=!1,t["mask-box-repeat"]=!1,t["mask-box-slice"]=!1,t["mask-box-source"]=!1,t["mask-box-width"]=!1,t["mask-clip"]=!1,t["mask-image"]=!1,t["mask-origin"]=!1,t["mask-position"]=!1,t["mask-repeat"]=!1,t["mask-size"]=!1,t["mask-source-type"]=!1,t["mask-type"]=!1,t["max-height"]=!0,t["max-lines"]=!1,t["max-width"]=!0,t["min-height"]=!0,t["min-width"]=!0,t["move-to"]=!1,t["nav-down"]=!1,t["nav-index"]=!1,t["nav-left"]=!1,t["nav-right"]=!1,t["nav-up"]=!1,t["object-fit"]=!1,t["object-position"]=!1,t.opacity=!1,t.order=!1,t.orphans=!1,t.outline=!1,t["outline-color"]=!1,t["outline-offset"]=!1,t["outline-style"]=!1,t["outline-width"]=!1,t.overflow=!1,t["overflow-wrap"]=!1,t["overflow-x"]=!1,t["overflow-y"]=!1,t.padding=!0,t["padding-bottom"]=!0,t["padding-left"]=!0,t["padding-right"]=!0,t["padding-top"]=!0,t.page=!1,t["page-break-after"]=!1,t["page-break-before"]=!1,t["page-break-inside"]=!1,t["page-policy"]=!1,t.pause=!1,t["pause-after"]=!1,t["pause-before"]=!1,t.perspective=!1,t["perspective-origin"]=!1,t.pitch=!1,t["pitch-range"]=!1,t["play-during"]=!1,t.position=!1,t["presentation-level"]=!1,t.quotes=!1,t["region-fragment"]=!1,t.resize=!1,t.rest=!1,t["rest-after"]=!1,t["rest-before"]=!1,t.richness=!1,t.right=!1,t.rotation=!1,t["rotation-point"]=!1,t["ruby-align"]=!1,t["ruby-merge"]=!1,t["ruby-position"]=!1,t["shape-image-threshold"]=!1,t["shape-outside"]=!1,t["shape-margin"]=!1,t.size=!1,t.speak=!1,t["speak-as"]=!1,t["speak-header"]=!1,t["speak-numeral"]=!1,t["speak-punctuation"]=!1,t["speech-rate"]=!1,t.stress=!1,t["string-set"]=!1,t["tab-size"]=!1,t["table-layout"]=!1,t["text-align"]=!0,t["text-align-last"]=!0,t["text-combine-upright"]=!0,t["text-decoration"]=!0,t["text-decoration-color"]=!0,t["text-decoration-line"]=!0,t["text-decoration-skip"]=!0,t["text-decoration-style"]=!0,t["text-emphasis"]=!0,t["text-emphasis-color"]=!0,t["text-emphasis-position"]=!0,t["text-emphasis-style"]=!0,t["text-height"]=!0,t["text-indent"]=!0,t["text-justify"]=!0,t["text-orientation"]=!0,t["text-overflow"]=!0,t["text-shadow"]=!0,t["text-space-collapse"]=!0,t["text-transform"]=!0,t["text-underline-position"]=!0,t["text-wrap"]=!0,t.top=!1,t.transform=!1,t["transform-origin"]=!1,t["transform-style"]=!1,t.transition=!1,t["transition-delay"]=!1,t["transition-duration"]=!1,t["transition-property"]=!1,t["transition-timing-function"]=!1,t["unicode-bidi"]=!1,t["vertical-align"]=!1,t.visibility=!1,t["voice-balance"]=!1,t["voice-duration"]=!1,t["voice-family"]=!1,t["voice-pitch"]=!1,t["voice-range"]=!1,t["voice-rate"]=!1,t["voice-stress"]=!1,t["voice-volume"]=!1,t.volume=!1,t["white-space"]=!1,t.widows=!1,t.width=!0,t["will-change"]=!1,t["word-break"]=!0,t["word-spacing"]=!0,t["word-wrap"]=!0,t["wrap-flow"]=!1,t["wrap-through"]=!1,t["writing-mode"]=!1,t["z-index"]=!1,t}function ip(t,e,i){}function ap(t,e,i){}var sp=/javascript\s*\:/img;function np(t,e){return sp.test(e)?"":e}Ot.whiteList=zn();Ot.getDefaultWhiteList=zn;Ot.onAttr=ip;Ot.onIgnoreAttr=ap;Ot.safeAttrValue=np;var op={indexOf:function(t,e){var i,a;if(Array.prototype.indexOf)return t.indexOf(e);for(i=0,a=t.length;i<a;i++)if(t[i]===e)return i;return-1},forEach:function(t,e,i){var a,r;if(Array.prototype.forEach)return t.forEach(e,i);for(a=0,r=t.length;a<r;a++)e.call(i,t[a],a,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(t){return String.prototype.trimRight?t.trimRight():t.replace(/(\s*$)/g,"")}},ir=op;function lp(t,e){t=ir.trimRight(t),t[t.length-1]!==";"&&(t+=";");var i=t.length,a=!1,r=0,s=0,o="";function n(){if(!a){var p=ir.trim(t.slice(r,s)),c=p.indexOf(":");if(c!==-1){var f=ir.trim(p.slice(0,c)),l=ir.trim(p.slice(c+1));if(f){var y=e(r,o.length,f,l,p);y&&(o+=y+"; ")}}}r=s+1}for(;s<i;s++){var d=t[s];if(d==="/"&&t[s+1]==="*"){var u=t.indexOf("*/",s+2);if(u===-1)break;s=u+1,r=s+1,a=!1}else d==="("?a=!0:d===")"?a=!1:d===";"?a||n():d===`
|
|
5
|
-
`&&n()}return ir.trim(o)}var dp=lp,qr=Ot,pp=dp;function Fn(t){return t==null}function cp(t){var e={};for(var i in t)e[i]=t[i];return e}function Vn(t){t=cp(t||{}),t.whiteList=t.whiteList||qr.whiteList,t.onAttr=t.onAttr||qr.onAttr,t.onIgnoreAttr=t.onIgnoreAttr||qr.onIgnoreAttr,t.safeAttrValue=t.safeAttrValue||qr.safeAttrValue,this.options=t}Vn.prototype.process=function(t){if(t=t||"",t=t.toString(),!t)return"";var e=this,i=e.options,a=i.whiteList,r=i.onAttr,s=i.onIgnoreAttr,o=i.safeAttrValue,n=pp(t,function(d,u,p,c,f){var l=a[p],y=!1;if(l===!0?y=l:typeof l=="function"?y=l(c):l instanceof RegExp&&(y=l.test(c)),y!==!0&&(y=!1),c=o(p,c),!!c){var b={position:u,sourcePosition:d,source:f,isWhite:y};if(y){var m=r(p,c,b);return Fn(m)?p+":"+c:m}else{var m=s(p,c,b);if(!Fn(m))return m}}});return n};var up=Vn;(function(t,e){var i=Ot,a=up;function r(o,n){var d=new a(n);return d.process(o)}e=t.exports=r,e.FilterCSS=a;for(var s in i)e[s]=i[s]})(_i,_i.exports);var Wi=_i.exports,Mi={indexOf:function(t,e){var i,a;if(Array.prototype.indexOf)return t.indexOf(e);for(i=0,a=t.length;i<a;i++)if(t[i]===e)return i;return-1},forEach:function(t,e,i){var a,r;if(Array.prototype.forEach)return t.forEach(e,i);for(a=0,r=t.length;a<r;a++)e.call(i,t[a],a,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(t){var e=/\s|\n|\t/,i=e.exec(t);return i?i.index:-1}},fp=Wi.FilterCSS,hp=Wi.getDefaultWhiteList,Vr=Mi;function Un(){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 Gn=new fp;function yp(t,e,i){}function mp(t,e,i){}function gp(t,e,i){}function bp(t,e,i){}function Hn(t){return t.replace(Sp,"<").replace(wp,">")}function vp(t,e,i,a){if(i=Xn(i),e==="href"||e==="src"){if(i=Vr.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(e==="background"){if(Br.lastIndex=0,Br.test(i))return""}else if(e==="style"){if(An.lastIndex=0,An.test(i)||(En.lastIndex=0,En.test(i)&&(Br.lastIndex=0,Br.test(i))))return"";a!==!1&&(a=a||Gn,i=a.process(i))}return i=eo(i),i}var Sp=/</g,wp=/>/g,Ip=/"/g,xp=/"/g,Cp=/&#([a-zA-Z0-9]*);?/gim,Tp=/:?/gim,Pp=/&newline;?/gim,Br=/((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,An=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,En=/u\s*r\s*l\s*\(.*/gi;function Qn(t){return t.replace(Ip,""")}function Jn(t){return t.replace(xp,'"')}function Kn(t){return t.replace(Cp,function(e,i){return i[0]==="x"||i[0]==="X"?String.fromCharCode(parseInt(i.substr(1),16)):String.fromCharCode(parseInt(i,10))})}function Zn(t){return t.replace(Tp,":").replace(Pp," ")}function Yn(t){for(var e="",i=0,a=t.length;i<a;i++)e+=t.charCodeAt(i)<32?" ":t.charAt(i);return Vr.trim(e)}function Xn(t){return t=Jn(t),t=Kn(t),t=Zn(t),t=Yn(t),t}function eo(t){return t=Qn(t),t=Hn(t),t}function Fp(){return""}function Ap(t,e){typeof e!="function"&&(e=function(){});var i=!Array.isArray(t);function a(o){return i?!0:Vr.indexOf(t,o)!==-1}var r=[],s=!1;return{onIgnoreTag:function(o,n,d){if(a(o))if(d.isClosing){var u="[/removed]",p=d.position+u.length;return r.push([s!==!1?s:d.position,p]),s=!1,u}else return s||(s=d.position),"[removed]";else return e(o,n,d)},remove:function(o){var n="",d=0;return Vr.forEach(r,function(u){n+=o.slice(d,u[0]),d=u[1]}),n+=o.slice(d),n}}}function Ep(t){for(var e="",i=0;i<t.length;){var a=t.indexOf("<!--",i);if(a===-1){e+=t.slice(i);break}e+=t.slice(i,a);var r=t.indexOf("-->",a);if(r===-1)break;i=r+3}return e}function $p(t){var e=t.split("");return e=e.filter(function(i){var a=i.charCodeAt(0);return a===127?!1:a<=31?a===10||a===13:!0}),e.join("")}de.whiteList=Un();de.getDefaultWhiteList=Un;de.onTag=yp;de.onIgnoreTag=mp;de.onTagAttr=gp;de.onIgnoreTagAttr=bp;de.safeAttrValue=vp;de.escapeHtml=Hn;de.escapeQuote=Qn;de.unescapeQuote=Jn;de.escapeHtmlEntities=Kn;de.escapeDangerHtml5Entities=Zn;de.clearNonPrintableCharacter=Yn;de.friendlyAttrValue=Xn;de.escapeAttrValue=eo;de.onIgnoreTagStripAll=Fp;de.StripTagBody=Ap;de.stripCommentTag=Ep;de.stripBlankChar=$p;de.cssFilter=Gn;de.getDefaultCSSWhiteList=hp;var Qr={},ht=Mi;function Op(t){var e=ht.spaceIndex(t),i;return e===-1?i=t.slice(1,-1):i=t.slice(1,e+1),i=ht.trim(i).toLowerCase(),i.slice(0,1)==="/"&&(i=i.slice(1)),i.slice(-1)==="/"&&(i=i.slice(0,-1)),i}function Dp(t){return t.slice(0,2)==="</"}function Lp(t,e,i){var a="",r=0,s=!1,o=!1,n=0,d=t.length,u="",p="";e:for(n=0;n<d;n++){var c=t.charAt(n);if(s===!1){if(c==="<"){s=n;continue}}else if(o===!1){if(c==="<"){a+=i(t.slice(r,n)),s=n,r=n;continue}if(c===">"){a+=i(t.slice(r,s)),p=t.slice(s,n+1),u=Op(p),a+=e(s,a.length,u,p,Dp(p)),r=n+1,s=!1;continue}if(c==='"'||c==="'")for(var f=1,l=t.charAt(n-f);l.trim()===""||l==="=";){if(l==="="){o=c;continue e}l=t.charAt(n-++f)}}else if(c===o){o=!1;continue}}return r<t.length&&(a+=i(t.substr(r))),a}var Rp=/[^a-zA-Z0-9\\_:.-]/gim;function jp(t,e){var i=0,a=0,r=[],s=!1,o=t.length;function n(f,l){if(f=ht.trim(f),f=f.replace(Rp,"").toLowerCase(),!(f.length<1)){var y=e(f,l||"");y&&r.push(y)}}for(var d=0;d<o;d++){var u=t.charAt(d),p,c;if(s===!1&&u==="="){s=t.slice(i,d),i=d+1,a=t.charAt(i)==='"'||t.charAt(i)==="'"?i:qp(t,d+1);continue}if(s!==!1&&d===a){if(c=t.indexOf(u,d+1),c===-1)break;p=ht.trim(t.slice(a+1,c)),n(s,p),s=!1,d=c,i=d+1;continue}if(/\s|\n|\t/.test(u))if(t=t.replace(/\s|\n|\t/g," "),s===!1)if(c=_p(t,d),c===-1){p=ht.trim(t.slice(i,d)),n(p),s=!1,i=d+1;continue}else{d=c-1;continue}else if(c=Bp(t,d-1),c===-1){p=ht.trim(t.slice(i,d)),p=$n(p),n(s,p),s=!1,i=d+1;continue}else continue}return i<t.length&&(s===!1?n(t.slice(i)):n(s,$n(ht.trim(t.slice(i))))),ht.trim(r.join(" "))}function _p(t,e){for(;e<t.length;e++){var i=t[e];if(i!==" ")return i==="="?e:-1}}function qp(t,e){for(;e<t.length;e++){var i=t[e];if(i!==" ")return i==="'"||i==='"'?e:-1}}function Bp(t,e){for(;e>0;e--){var i=t[e];if(i!==" ")return i==="="?e:-1}}function kp(t){return t[0]==='"'&&t[t.length-1]==='"'||t[0]==="'"&&t[t.length-1]==="'"}function $n(t){return kp(t)?t.substr(1,t.length-2):t}Qr.parseTag=Lp;Qr.parseAttr=jp;var Np=Wi.FilterCSS,Me=de,to=Qr,Wp=to.parseTag,Mp=to.parseAttr,Mr=Mi;function kr(t){return t==null}function zp(t){var e=Mr.spaceIndex(t);if(e===-1)return{html:"",closing:t[t.length-2]==="/"};t=Mr.trim(t.slice(e+1,-1));var i=t[t.length-1]==="/";return i&&(t=Mr.trim(t.slice(0,-1))),{html:t,closing:i}}function Vp(t){var e={};for(var i in t)e[i]=t[i];return e}function Up(t){var e={};for(var i in t)Array.isArray(t[i])?e[i.toLowerCase()]=t[i].map(function(a){return a.toLowerCase()}):e[i.toLowerCase()]=t[i];return e}function ro(t){t=Vp(t||{}),t.stripIgnoreTag&&(t.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),t.onIgnoreTag=Me.onIgnoreTagStripAll),t.whiteList||t.allowList?t.whiteList=Up(t.whiteList||t.allowList):t.whiteList=Me.whiteList,t.onTag=t.onTag||Me.onTag,t.onTagAttr=t.onTagAttr||Me.onTagAttr,t.onIgnoreTag=t.onIgnoreTag||Me.onIgnoreTag,t.onIgnoreTagAttr=t.onIgnoreTagAttr||Me.onIgnoreTagAttr,t.safeAttrValue=t.safeAttrValue||Me.safeAttrValue,t.escapeHtml=t.escapeHtml||Me.escapeHtml,this.options=t,t.css===!1?this.cssFilter=!1:(t.css=t.css||{},this.cssFilter=new Np(t.css))}ro.prototype.process=function(t){if(t=t||"",t=t.toString(),!t)return"";var e=this,i=e.options,a=i.whiteList,r=i.onTag,s=i.onIgnoreTag,o=i.onTagAttr,n=i.onIgnoreTagAttr,d=i.safeAttrValue,u=i.escapeHtml,p=e.cssFilter;i.stripBlankChar&&(t=Me.stripBlankChar(t)),i.allowCommentTag||(t=Me.stripCommentTag(t));var c=!1;i.stripIgnoreTagBody&&(c=Me.StripTagBody(i.stripIgnoreTagBody,s),s=c.onIgnoreTag);var f=Wp(t,function(l,y,b,m,S){var T={sourcePosition:l,position:y,isClosing:S,isWhite:Object.prototype.hasOwnProperty.call(a,b)},I=r(b,m,T);if(!kr(I))return I;if(T.isWhite){if(T.isClosing)return"</"+b+">";var P=zp(m),F=a[b],$=Mp(P.html,function(_,L){var A=Mr.indexOf(F,_)!==-1,R=o(b,_,L,A);return kr(R)?A?(L=d(b,_,L,p),L?_+'="'+L+'"':_):(R=n(b,_,L,A),kr(R)?void 0:R):R});return m="<"+b,$&&(m+=" "+$),P.closing&&(m+=" /"),m+=">",m}else return I=s(b,m,T),kr(I)?u(m):I},u);return c&&(f=c.remove(f)),f};var Gp=ro;(function(t,e){var i=de,a=Qr,r=Gp;function s(n,d){var u=new r(d);return u.process(n)}e=t.exports=s,e.filterXSS=s,e.FilterXSS=r,function(){for(var n in i)e[n]=i[n];for(var d in a)e[d]=a[d]}();function o(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}o()&&(self.filterXSS=t.exports)})(ji,ji.exports);var zt=ji.exports,Hp=function(t){if(typeof t!="object"||t===null||Object.prototype.toString.call(t)!=="[object Object]")return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e},Qp=function(){function t(e,i){var a=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=zr(zr({},zt.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(s,o,n,d){return s==="a"&&o==="href"||(s==="img"||s==="source")&&o==="src"?a.sanitizeUrl(n):zt.safeAttrValue(s,o,n,d)}},this._entityMap={"&":"8","<":"<",">":">",'"':""","'":"'","/":"/"};var r;e&&!i?r=e:e&&i?(r=Object.create(this.arcgisFilterOptions),r.css={whiteList:this.arcgisCSSWhiteList},Object.keys(e).forEach(function(s){if(s==="whiteList")r.whiteList=a._extendObjectOfArrays([a.arcgisWhiteList,e.whiteList||{}]);else if(s==="css"){var o=e.css.whiteList;o!=null&&e.css instanceof Object&&Object.keys(o).forEach(function(n){return r.css.whiteList[n]=o[n]})}else r[s]=e[s]})):(r=Object.create(this.arcgisFilterOptions),r.whiteList=this.arcgisWhiteList,r.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=r,this._xssFilter=new zt.FilterXSS(r)}return t.prototype.sanitize=function(e,i){switch(i===void 0&&(i={}),typeof e){case"number":return isNaN(e)||!isFinite(e)?null:e;case"boolean":return e;case"string":return this._xssFilter.process(e);case"object":return this._iterateOverObject(e,i);default:return i.allowUndefined&&typeof e>"u"?void 0:null}},t.prototype.sanitizeUrl=function(e,i){var a=(i??{}).isProtocolRequired,r=a===void 0?!0:a,s=this._trim(e.substring(0,e.indexOf(":"))),o=e==="/",n=/^#/.test(e),d=s&&this.allowedProtocols.indexOf(s.toLowerCase())>-1;return o||n||d?zt.escapeAttrValue(e):!s&&!r?zt.escapeAttrValue("https://".concat(e)):""},t.prototype.sanitizeHTMLAttribute=function(e,i,a,r){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(e,i,a,r):zt.safeAttrValue(e,i,a,r)},t.prototype.validate=function(e,i){i===void 0&&(i={});var a=this.sanitize(e,i);return{isValid:e===a,sanitized:a}},t.prototype.encodeHTML=function(e){var i=this;return String(e).replace(/[&<>"'\/]/g,function(a){return i._entityMap[a]})},t.prototype.encodeAttrValue=function(e){var i=/^[a-zA-Z0-9]$/;return String(e).replace(/[\x00-\xFF]/g,function(a,r){return i.test(a)?a:"&#x".concat(Number(e.charCodeAt(r)).toString(16),";")})},t.prototype._extendObjectOfArrays=function(e){var i={};return e.forEach(function(a){Object.keys(a).forEach(function(r){Array.isArray(a[r])&&Array.isArray(i[r])?i[r]=i[r].concat(a[r]):i[r]=a[r]})}),i},t.prototype._iterateOverObject=function(e,i){var a=this;i===void 0&&(i={});try{var r=!1,s=void 0;if(Array.isArray(e))s=e.reduce(function(n,d){var u=a.validate(d,i);return u.isValid?n.concat([d]):(r=!0,n.concat([u.sanitized]))},[]);else if(Hp(e)){var o=Object.keys(e);s=o.reduce(function(n,d){var u=e[d],p=a.validate(u,i);return p.isValid?n[d]=u:(r=!0,n[d]=p.sanitized),n},{})}else return i.allowUndefined&&typeof e>"u"?void 0:null;return r?s:e}catch{return null}},t.prototype._trim=function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},t}(),k={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"},xh={SelectionByClick:"SelectionByClick",SelectionByRange:"SelectionByRange",ProgrammaticSelection:"ProgrammaticSelection",ClearSelection:"ClearSelection"};function Ch(t){return t?.colorMatch??!1}function Th(t){let e=ar();if(t!==void 0){let i=Le(t.series);(i===C.BarSeries||i===C.LineSeries||i===C.ComboLineAndBarSeries||i===C.BoxPlotSeries)&&(e=t.rotated??ar())}return e}function Ph(t){return t?.map(e=>e.type)??[]}function Jp(t){let e=t?.stackedType;if(e===void 0&&t!==void 0){let i=Le(t.series);(i===C.BarSeries||i===C.LineSeries||i===C.ComboLineAndBarSeries||i===C.RadarSeries)&&(e=ep())}return e}function Kp(t){let e=t;return e=e.replace(/'/gu,"''"),e=e.replace(/[/\\"|[\]\\]/gu,"\\$&"),e}function Zp(t){let e=!1;if(typeof t!="number"){let i=new Intl.Segmenter;e=Array.from(i.segment(t),a=>a.segment).some(a=>a.charCodeAt(0)>255)}return e}function Yp(t){let e=t,i="";t.startsWith("'")&&t.endsWith("'")&&(e=t.slice(1,-1),i="'"),e=e.replace(/'/gu,"''");let a="";return Zp(e)&&(a="N"),`${a}${i}${e}${i}`}function io(t){let{value:e,keepSurroundingQuotes:i,escape:a}=t,r=e?.trim();if(!Ke(r)){let s="";r.startsWith("'")&&r.endsWith("'")&&(r=r.slice(1,-1),i&&(s="'")),a!==!1&&(r=Kp(r)),r=`${s}${r}${s}`}return r}function Fh(t){let{count:e,seriesCount:i,chartType:a,chartLimits:r}=t,{behaviorAfterLimit:s}=r??{},o=!0;if(s!==kn.RenderUpToTheLimit){let{maxBarChartSeriesCount:n,maxBarUniqueSeriesCountTotal:d,maxBarTwoSeriesCountPerSeries:u,maxBarTwoSeriesCountTotal:p,maxBarThreePlusSeriesCountPerSeries:c,maxBarThreePlusSeriesCountTotal:f,maxLineChartSeriesCount:l,maxLineUniqueSeriesCountTotal:y,maxLineTwoSeriesCountPerSeries:b,maxLineTwoSeriesCountTotal:m,maxLineThreePlusSeriesCountPerSeries:S,maxLineThreePlusSeriesCountTotal:T,maxPieChartSliceCountTotal:I,maxGaugeByFeaturesLimit:P,maxBoxPlotSeriesCount:F,maxBoxUniqueSeriesCountTotal:$,maxBoxTwoSeriesCountTotal:_,maxBoxTwoSeriesCountPerSeries:L,maxBoxThreePlusSeriesCountTotal:A,maxBoxThreePlusSeriesCountPerSeries:R}=Xd(r);switch(a){case C.BarSeries:case C.ComboLineAndBarSeries:{let O=e/i;i<=n?i===0?o=!0:i===1?o=e<=d:i===2?o=e<=p&&O<=u:i>2&&(o=e<=f&&O<=c):o=!1}break;case C.LineSeries:case C.RadarSeries:{let O=e/i;i<=l?i===0?o=!0:i===1?o=e<=y:i===2?o=e<=m&&O<=b:i>2&&(o=e<=T&&O<=S):o=!1}break;case C.PieSeries:o=e<=I;break;case C.BoxPlotSeries:{let O=e/i;i<=F?i===0?o=!0:i===1?o=e<=$:i===2?o=e<=_&&O<=L:i>2&&(o=e<=A&&O<=R):o=!1}break;case C.GaugeSeries:o=e<=P;break}}return o}function Ah(t=[],e){let i=t.find(a=>a.name===e)?.alias;return i!==""?i??e:e}function Eh(t=[],e){let i=t.find(a=>a.alias===e)?.name;return i!==""?i??e:e}function $h(t){let e=!1;switch(Le(t)){case C.PieSeries:e=!0;break;case C.BarSeries:case C.LineSeries:case C.RadarSeries:case C.ComboLineAndBarSeries:case C.BoxPlotSeries:e=t.length>1;break;case C.HistogramSeries:case C.ScatterSeries:{let i=t[0];e=i.overlays!==void 0&&Object.values(i.overlays).some(a=>a.created===!0);break}}return e}function Xp(t){let e=!0;return Le(t.series)===C.ScatterSeries&&(e=t.series.length===1),e}function ec(t){let e=!0;return Le(t.series)===C.HistogramSeries&&(e=t.series.length<=1&&t.series[0].type===C.HistogramSeries&&(!("dataTransformationType"in t.series[0])||t.series[0].dataTransformationType!==void 0&&Object.values(ei).includes(t.series[0].dataTransformationType))),e}function tc(t){let e=!0;return Le(t.series)===C.PieSeries&&(e=t.series.length<=1),e}function Oh(t,e){let i=Le(e?.series),a=i!==void 0&&t.includes(i);if(a&&e!==void 0)switch(i){case C.HistogramSeries:a=ec(e);break;case C.ScatterSeries:a=Xp(e);break;case C.PieSeries:a=tc(e);break}return a}function Ke(t){return t==null||typeof t=="string"&&t.trim()===""}function rc(t,e){let i=e.find(a=>a in t);return{isInItem:i!==void 0,expr:i}}function Dh(t){return rc(t,Dd)}function Lh(t,e){let i;switch(t){case Pe.Second:i=e.seconds??"";break;case Pe.Minute:i=e.minutes??"";break;case Pe.Hour:i=e.hours??"";break;case Pe.Day:i=e.days??"";break;case Pe.Week:i=e.weeks??"";break;case Pe.Month:i=e.months??"";break;case Pe.Year:i=e.years??"";break;default:i="";break}return i}function Rh(t){let e;switch(t){case at.Mean:e=1;break;case at.Median:e=2;break;case at.StdDev:e=3;break;case at.Normal:default:e=0;break}return e}function jh(t,e){if(e!==void 0){let{seriesId:i,overlayType:a,visible:r}=t.detail,s;switch(a){case at.Mean:e.series[0].type===C.HistogramSeries&&(s=e.series[0].overlays?.mean);break;case at.Median:e.series[0].type===C.HistogramSeries&&(s=e.series[0].overlays?.median);break;case at.StdDev:e.series[0].type===C.HistogramSeries&&(s=e.series[0].overlays?.standardDeviation);break;case at.Normal:e.series[0].type===C.HistogramSeries&&(s=e.series[0].overlays?.comparisonDistribution);break;case at.Trendline:e.series[0].type===C.ScatterSeries&&(s=e.series[0].overlays?.trendLine);break;default:s=e.series.find(o=>o.id===i);break}s!==void 0&&(s.visible=r)}}function _h(t){return new Qp().sanitize(t)}function qh(t){return t!=null&&!Number.isNaN(t)&&Number.isFinite(t)}function Bh(t,e){let i;return e!==void 0&&(i={...e,rotated:t}),i}function kh(t,e){let i={fieldToSort:""};if(!Ke(t)){let a=t.trim(),r=a.split(" ").at(-1)?.toUpperCase();r===rt.Ascending||r===rt.Descending?i={fieldToSort:a.substring(0,a.lastIndexOf(" ")),orderBy:r}:(i={fieldToSort:a},e!==!1&&(i.orderBy=rt.Ascending))}return i}function Nh(t){return t===k.BarAndLineSplitBy||t===k.BarAndLineSplitByNoAggregation||t===k.BoxPlotMonoFieldAndSplitBy||t===k.BoxPlotMultiFieldsAndSplitBy||t===k.BoxPlotMonoFieldAndCategoryAndSplitBy}function Wh(t){return t?.selectionOIDs===void 0||t.selectionOIDs.length===0}function Mh(t={arrayA:[],arrayB:[],getKey:e=>e}){let{arrayA:e,arrayB:i,getKey:a}=t;if(i.length===0||e.length===0)return e;let r=new Map;i.forEach((d,u)=>{let p=a(d);r.set(p,u)});let s=[],o=[];e.forEach((d,u)=>{let p=a(d);r.has(p)&&(s.push(u),o.push(d))}),o.sort((d,u)=>{let p=a(d),c=a(u);return r.get(p)-r.get(c)});let n=[...e];return s.forEach((d,u)=>{n[d]=o[u]}),n}var Ft=["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","23.3.0","24.0.0","24.1.0"],ic="1.0.0",ac="unrecognized.version",sc=[C.LineSeries,C.BarSeries,C.ComboLineAndBarSeries,C.RadarSeries];function Oi(t,e){let i=0;if(t!==e){let a=t.split("."),r=e.split(".");for(let s=0;s<a.length;s+=1){let o=Number.parseInt(a[s],10),n=Number.parseInt(r[s],10);if(o>n||Number.isNaN(n)){i=1;break}if(o<n){i=-1;break}}}return i}function nc(t){return t!==void 0?/^([1-9]\d*|0)(\.(([1-9]\d*)|0)){2}$/u.test(t):!1}function oc(t){let e=lt.Same,i=[];if(nc(t)&&t!==void 0){Ft.sort(Oi);let a=Oi(t,Ft[Ft.length-1]);if(a===1?e=lt.Newer:a===-1&&(e=lt.Older),e===lt.Newer||e===lt.Same)i.push(t);else{for(let r=Ft.length-2;r>=0;r-=1)if(Oi(t,Ft[r])>=0){i=Ft.slice(r,Ft.length);break}i.length===0&&i.push(ic)}}else e=lt.Unrecognized,i.push(ac);return{versionStatus:e,versions:i}}function lc(t){let{series:e}=t,i=("showMean"in t?t.showMean:!1)===!0?e.find(a=>a.type===C.LineSeries):e[0];return i??=e[0],i}function zh(t,e){let i=t!==null?t.toString():null,a=e!=null?e.toString():null;return a!==null&&a!==i?Fe.SFS:Fe.SLS}function zi(t,e){let i="";return t!==void 0&&t.includes("=")&&(i=e!==!1?io({value:t.split("=")[0]}):t.split("=")[0].trim()),i}function lr(t){let{where:e,normalize:i,keepSurroundingQuotes:a,escape:r}=t,s="";return e!==void 0&&e.includes("=")&&(s=e.split("=").slice(1).join("=").trim(),s==="null"?s=null:s.trim()!==""&&!Number.isNaN(Number(s))?s=Number(s):i===!1?r===!0&&(s=Yp(s)):s=io({value:s,keepSurroundingQuotes:a,escape:r})),s}function Ut(t){let e=!1;if(t===void 0||t==="")e=!0;else if(t.includes("=")){let i=zi(t,!1),a=lr({where:t,normalize:!1});e=i===`${a}`}return e}function Vh(t){let{where:e,normalize:i,escape:a}=t,r=i===void 0?!0:i,s=zi(e),o=lr({where:e,normalize:r,keepSurroundingQuotes:!0,escape:a}),n=e;return s!==""&&o!==""&&(n=`${s}=${o}`),n}function dc(t){let e=k.PieFromCategory;return t[0].query?.outStatistics===void 0?e=k.PieNoAggregation:t[0].query?.groupByFieldsForStatistics===void 0&&(e=k.PieFromFields),e}function pc(t){let e=k.BarAndLineMonoField,i=t[0].query?.where;return t[0].query?.groupByFieldsForStatistics===void 0&&(t[0].query?.outStatistics??[]).length>0?e=k.BarAndLineFromFields:i===void 0&&t[0].query?.outStatistics===void 0?e=k.BarAndLineNoAggregation:Ut(i)?t.length>1&&(e=k.BarAndLineMultiFields):e=t[0].query?.outStatistics===void 0?k.BarAndLineSplitByNoAggregation:k.BarAndLineSplitBy,e}function cc(t){let e=k.BoxPlotMonoField,i=t.length===1,a=t.find(n=>n.type===C.LineSeries)??t[0],{x:r}=a,s="y"in a?a.y:"",o=a.query?.where;switch(r){case Ni:typeof s=="object"&&s.length>1?Ut(o)?i&&(e=k.BoxPlotMultiFields):e=k.BoxPlotMultiFieldsAndSplitBy:i?e=k.BoxPlotMonoField:Ut(o)||(e=k.BoxPlotMonoFieldAndSplitBy);break;default:i?e=k.BoxPlotMonoFieldAndCategory:Ut(o)?e=k.BoxPlotMultiFieldsAndCategory:e=k.BoxPlotMonoFieldAndCategoryAndSplitBy;break}return e}function st(t){let e=k.NonSpecific;if(t?.[0]!==void 0)switch(Le(t)){case C.PieSeries:e=dc(t);break;case C.RadarSeries:case C.BarSeries:case C.LineSeries:case C.ComboLineAndBarSeries:e=pc(t);break;case C.BoxPlotSeries:e=cc(t);break}return e}function Uh(t){let{seriesConfig:e,xAxisValueFormatType:i,setTimeBinningInfoWhenNotProvided:a}=t,r=!1;if(uc(e)&&e.binTemporalData!==!1&&i===C.DateAxisFormat){let s=st([e]);if(e.temporalBinning&&s!==k.BarAndLineNoAggregation&&s!==k.BarAndLineSplitByNoAggregation){let{unit:o,size:n}=e.temporalBinning;r=a===!0||n!==void 0&&n>0&&o!==void 0}}return r}function uc(t){return sc.includes(t.type)}var se={Min:"min",FirstQuartile:"first_quartile",Median:"median",ThirdQuartile:"third_quartile",Max:"max",IQR:"iqr",Average:"avg",StandardDeviation:"stddev",Outlier:"outlier"};function fc(t){let e=t===void 0||t==="";return{[se.Average]:`${e?"":`${t}_`}${se.Average}`,[se.Min]:`${e?"":`${t}_`}${se.Min}`,[se.Max]:`${e?"":`${t}_`}${se.Max}`,[se.FirstQuartile]:`${e?"":`${t}_`}${se.FirstQuartile}`,[se.Median]:`${e?"":`${t}_`}${se.Median}`,[se.ThirdQuartile]:`${e?"":`${t}_`}${se.ThirdQuartile}`,[se.IQR]:`${e?"":`${t}_`}${se.IQR}`,[se.Outlier]:`${e?"":`${t}_`}${se.Outlier}`,[se.StandardDeviation]:`${e?"":`${t}_`}${se.StandardDeviation}`}}function hc(t){return t.subType===pa.FeatureGauge}function Gh(t){let e;return t!==void 0&&("bins"in t?e=t.bins:"dataItems"in t&&(e=t.dataItems)),e}function yc(t){return t===k.BoxPlotMultiFields||t===k.BoxPlotMultiFieldsAndCategory||t===k.BoxPlotMultiFieldsAndSplitBy}function Ur(t){let{key:e,y:i,chartSubType:a,splitBy:r,splitByValue:s,showOutliers:o,standardizeValues:n}=t,d=s,u=fc(i)[e];return o===!0&&(e===se.Min||e===se.Max)&&(u=`${u}${tp}`),n===!0&&(yc(a)||e===se.Outlier)&&(u=`${u}${rp}`),(s===void 0||`${s}`.trim()==="")&&(d=lr({where:r,normalize:!0,escape:!1})),d!==void 0&&`${d}`.trim()!==""&&(u=`${d}${u!==""?`_${u}`:""}`),u}function Di(t){let{dataItem:e,y:i,splitBy:a,showOutliers:r}=t,s=Ur({key:se.FirstQuartile,y:i,splitBy:a,showOutliers:r}),o=Ur({key:se.ThirdQuartile,y:i,splitBy:a,showOutliers:r});return Number.isFinite(e[s])||Number.isFinite(e[o])}function mc(t){let{configSeries:e,boxPlotDataItem:i,yList:a,showOutliers:r}=t,s=st(e),o=!1;switch(s){case k.BoxPlotMonoField:case k.BoxPlotMultiFields:case k.BoxPlotMonoFieldAndCategory:o=Di({dataItem:i,showOutliers:r});break;case k.BoxPlotMultiFieldsAndCategory:o=a.some(n=>Di({dataItem:i,y:n,showOutliers:r}));break;case k.BoxPlotMonoFieldAndSplitBy:case k.BoxPlotMultiFieldsAndSplitBy:case k.BoxPlotMonoFieldAndCategoryAndSplitBy:o=e.some(n=>Di({dataItem:i,splitBy:n.query?.where,showOutliers:r}));break;default:o=!1;break}return o}function ao(t){return t.map(e=>e.id).filter(e=>e!==void 0)}function Gr(t,e){let i=[],a=e??ao(t),r=st(t);return i=t.filter(s=>a.includes(s.id)).map(s=>{let o="y"in s?s.y:void 0;return o!==void 0&&r===k.BarAndLineSplitByNoAggregation&&(o=`${o.toString()}_${lr({where:s.query?.where})}`),o}).filter(s=>s!==void 0),Array.from(new Set(i.flat()))}function gc(t){let{seriesConfig:e,filteredSeriesIds:i,showMean:a}=t,r=[];if(a===!0){let s=e.find(o=>o.type===C.BoxPlotSeries);s!==void 0&&"y"in s&&(r=[s.y].flat())}else r=Gr(e,i);return r}function ft(t,e){return t===null&&e===!0||Number.isFinite(t)}function bc(t){let{dataItem:e,x:i,y:a,nullAsValid:r=!1}=t;return e[i]!==void 0&&(typeof e[i]!="number"||Number.isFinite(e[i]))&&ft(e[a],r)}function Hh(t){let{chartConfig:e,nullAsValid:i=!1,dataSet:a}=t,r=!0;if(e!==void 0){let s=Le(e.series);if(a===void 0||a.length===0)r=!0;else{let o=Gr(e.series);r=!a.some(n=>{let d=!1;switch(s){case C.HistogramSeries:{let u=n;d=ft(u.minValue,i)&&ft(u.maxValue,i)}break;case C.ScatterSeries:{let u=n,{x:p,y:c}=e.series[0];d=ft(u[p],i)&&ft(u[c],i)}break;case C.ComboLineAndBarSeries:case C.RadarSeries:case C.LineSeries:case C.BarSeries:{let u=n,{x:p}=e.series[0];d=o.some(c=>bc({dataItem:u,x:p,y:c,nullAsValid:i}));break}case C.BoxPlotSeries:{let u=e.series,{showOutliers:p}=e;d=mc({configSeries:u,boxPlotDataItem:n,yList:o,showOutliers:p});break}case C.PieSeries:{let u=n,{x:p,y:c}=e.series[0];st(e.series)===k.PieFromFields&&(p=ki,c=Bn);let f=u[c];d=u[p]!==void 0&&u[p]!==null&&!ua(f)&&ft(Number(f),i)}break;case C.GaugeSeries:{let{x:u}=e.series[0];d=ft(n[u],i)}break;case C.HeatSeries:d=a.some(u=>ft(u[jd.valueField],i));break}return d})}}return r}function vc(t,e){let i=new Map,a=e??ao(t);return t.forEach(r=>{if(a.includes(r.id)&&"y"in r){let s=i.get(r.type)??[];s.push(r.y),i.set(r.type,s)}}),i}function Sc(t){let{seriesConfig:e,filteredSeriesIds:i,filteredData:a}=t,r=vc(e,i),s=e.find(d=>d.type===C.LineSeries||d.type===C.RadarSeries)?.stackNegativeValuesToBaseline??!0,o=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER;return a.forEach((d,u)=>{r.forEach(p=>{if(s){let c=[],f=[];for(let l=0;l<p.length;l+=1){let y=d[p[l]];Number.isFinite(y)&&(y<0?f[u]=(f[u]??0)+y:c[u]=(c[u]??0)+y)}c=c.filter(l=>Number.isFinite(l)).sort((l,y)=>l-y),f=f.filter(l=>Number.isFinite(l)).sort((l,y)=>l-y),o=Math.max(o,c.length>0?c[c.length-1]:f[f.length-1]),n=Math.min(n,f.length>0?f[0]:c[0])}else{let c=0;for(let f=0;f<p.length;f+=1){let l=d[p[f]];c+=l,o=Math.max(o,c),n=Math.min(n,c)}}})}),{stackedMinY:n,stackedMaxY:o}}function wc(t){let{dataItem:e,...i}=t,a=Ur({key:se.Min,...i}),r=Ur({key:se.Max,...i}),s=e[a],o=e[r];return{min:s,max:o}}function Qh(t){let e=Number.NaN,i=Number.NaN,a,r,{chartConfig:s,chartData:o,filteredSeriesIds:n}=t,{series:d}=s;if(d?.length>0){let{x:u}=d[0],p=o.filter(f=>f[u]!==null);[a,r]=tr(p,f=>f[u]),s.axes?.[1]?.valueFormat.type===C.DateAxisFormat&&a!==void 0&&r!==void 0&&([a,r]=[new Date(a).valueOf(),new Date(r).valueOf()]);let c=Le(s.series);if(c===C.HistogramSeries&&o.length>0){let f=o[0]?.[Tn.Start],l=o[o.length-1]?.[Tn.End];a=typeof f=="number"?f:a,r=typeof l=="number"?l:r}else if(c===C.BoxPlotSeries){e=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let f=Gr(d,n),l=st(d),y="standardizeValues"in s?s.standardizeValues===!0:void 0,b=s.series.map(m=>m.visible!==!1?lr({where:m.query?.where}):"");b.length===0&&b.push(" ");for(let m=0;m<p.length;m+=1)for(let S=0;S<f.length;S+=1){let T=l===k.BoxPlotMultiFieldsAndCategory?f[S]:void 0;for(let I=0;I<b.length;I+=1){let{min:P,max:F}=wc({y:T,splitByValue:b[I],chartSubType:l,showOutliers:!1,standardizeValues:y,dataItem:p[m]});P!=null&&P<e&&(e=P),F!=null&&F>i&&(i=F)}}}else switch(Jp(s)){case er.Stacked100:{e=Number.NaN,i=Number.NaN;break}case er.Stacked:{let{stackedMinY:f,stackedMaxY:l}=Sc({seriesConfig:d,filteredData:p,filteredSeriesIds:n});e=f,i=l;break}case er.Side:default:{e=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let f=Gr(d,n);for(let l=0;l<f.length;l+=1){let y=f[l],[b,m]=tr(p,S=>S[y]);b!==void 0&&b<e&&(e=b),m!==void 0&&m>i&&(i=m)}break}}}return{minY:e,maxY:i,minX:a,maxX:r}}var Ve=class extends Error{constructor(e,i,a){super(i),this.name=e,this.details=a}},Ue={Default:"defaultError",LayerLoadFailure:"layerLoadFailure",QueryFeaturesError:"queryFeaturesError",ChartDisposed:"ChartDisposeError",LayerFieldsNotFound:"layerFieldsNotFound"};function Jh(t){return t!==void 0&&(!("url"in t)||!t.url)}function Vi(t){return t!==void 0&&"layer"in t}function Ic(t){return t!==void 0&&"type"in t&&t.type==="feature"}function xc(t){return t!==void 0&&"type"in t&&t.type==="subtype-group"}function Ui(t){return t!==void 0&&"type"in t&&t.type==="subtype-sublayer"}function Kh(t){return Ic(t)||Ui(t)}function xe(t){return Ui(t)?t.parent:t}function so(t){return t.capabilities?.query?.supportsDistance||xe(t).sourceJSON?.advancedQueryCapabilities?.supportsQueryWithDistance===!0}function Cc(t){return t.capabilities?.queryAttributeBins?.supportsFixedInterval===!0&&t.capabilities?.queryAttributeBins?.supportsStackBy}function Tc(t,e){return t!==void 0&&"capabilities"in t&&t.capabilities?.queryAttributeBins?.supportsDate===!0&&(Ke(e)||t.capabilities?.queryAttributeBins?.supportsStackBy)}function Zh(t){let e=!1,i=xe(Ae(t)).sourceJSON;if(i){let a=i.queryBinsCapabilities?.supportsFixedIntervalBin,r=i.queryBinsCapabilities?.supportedStatisticTypes,s=[ae.Maximum,ae.Count].every(o=>r?.includes(o.toUpperCase())||r?.includes(o.toLowerCase()));e=a&&s}return e}function Yh(t){let e;return Vi(t)?e=t.layer:e=t,e}function Ae(t){let e;return Vi(t)?e=t.layer:e=t,e}function Pc(t){let e=!1,i=xe(t).sourceJSON?.advancedQueryCapabilities?.supportedSpatialAggregationStatistics??[],a=t.capabilities?.query.supportedSpatialAggregationStatistics??{};return e=i.includes("EnvelopeAggregate")||"envelope"in a&&a.envelope===!0,e}function Xh(t){let{chartConfig:e,queryObject:i}=t,a,r=Ae(i);return r&&(a={id:r.id,layerType:"ArcGISFeatureLayer"},r.url&&(a.url=r.url)),{...e,iLayer:a}}var sr=new Map;function Fc(t){let e;switch(t){case Ct.Feet:e="esriSRUnit_Foot";break;case Ct.Miles:e="esriSRUnit_StatuteMile";break;case Ct.NauticalMiles:e="esriSRUnit_NauticalMile";break;case Ct.USNauticalMiles:e="esriSRUnit_USNauticalMile";break;case Ct.Meters:e="esriSRUnit_Meter";break;case Ct.Kilometers:e="esriSRUnit_Kilometer";break}return e}async function ey(t){let{queryObject:e,queryConfig:i,outputFormat:a,dataFormat:r,outAnalytics:s}=t,{where:o,geometry:n,distance:d,units:u,timeExtent:p}=i,c,f=Ae(e),l=xe(f),y={query:{where:nr([o,l.definitionExpression])}},b=Gi(n)?.extent?.toJSON();if(b!==void 0){let S=Fc(u),{xmin:T,ymin:I,xmax:P,ymax:F}=b;y.query={...y.query,geometryType:"esriGeometryEnvelope",geometry:`${T},${I},${P},${F}`,distance:d,units:S,inSR:n?.spatialReference?.wkid}}p&&(y.query.time=`${p[0]},${p[1]}`);let m=`${l.url}/${l.layerId}/queryAnalytic?f=${a}&dataFormat=${r}&outAnalytics=${s}`;try{c=(await Li(m,y)).data?.features?.[0]?.attributes}catch(S){let T=(await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages.")).errorStrings;throw new Ve(Ue.QueryFeaturesError,T.errors.queryError,S)}return c}function Ac(t,e){return{lowerBoundaryAlias:`charts_lower_boundary_${t}`,upperBoundaryAlias:`charts_upper_boundary_${t}`,stackAlias:`charts_stack_alias_${e}`}}async function ty(t){let{chartConfig:e,queryObject:i,queryConfig:a,errorStrings:r}=t,s,o=Ae(i),n=Cc(o);if(n&&i&&"queryAttributeBins"in i&&e.series[0].type===C.HeatSeries){let{x:d,y:u,xTemporalBinning:p,yTemporalBinning:c}=e.series[0],{outTimeZone:f,firstDayOfWeek:l}=e,y=await Bc({queryObject:i,queryConfig:a,x:d,y:u,xTemporalBinning:p,yTemporalBinning:c,outTimeZone:f,firstDayOfWeek:l});try{s=await i.queryAttributeBins(y)}catch(b){throw new Ve(Ue.QueryFeaturesError,r.errors.queryError,b)}}if(!n)throw new Ve(Ue.QueryFeaturesError,r.errors.queryBinsNotSupported,r.errors.queryBinsNotSupported);return s}async function ry(t){let{chartConfig:e,queryObject:i,queryConfig:a,returnFeaturesExtent:r,errorStrings:s,abortKey:o}=t,n=e.series[0],d;if(n.type===C.HeatSeries){let{x:u,y:p}=n;a.groupByFieldsForStatistics=[u],u!==p&&a.groupByFieldsForStatistics.push(p),a&&r===!0&&!a.outStatistics?.some(c=>c.statisticType===ae.EnvelopeAggregate)&&a.outStatistics?.push({statisticType:ae.EnvelopeAggregate,onStatisticField:"1"});try{d=await oo({queryObject:i,queryConfig:a,abortKey:o})}catch(c){throw new Ve(Ue.QueryFeaturesError,s.errors.queryError,c)}}return d}async function iy(t){let{queryObject:e,queryConfig:i,xStep:a,xMin:r,xMax:s,x:o,y:n,yStep:d,errorStrings:u}=t,p;if(e&&"queryAttributeBins"in e&&Number.isFinite(a)&&Number.isFinite(d)&&Number.isFinite(r)&&Number.isFinite(s)&&a>0&&d>0){let c=kc({queryObject:e,queryConfig:i,xStep:a,xMin:r,xMax:s,x:o,y:n,yStep:d});try{p=await e.queryAttributeBins(c)}catch(f){throw new Ve(Ue.QueryFeaturesError,u.errors.queryError,f)}}return p}async function ay(t){let{queryConfig:e,x:i,queryObject:a,chartSubType:r,isGaugeByFeature:s}=t,o=Ae(a),n;if(a!==void 0){let d=o.objectIdField,{where:u,gdbVersion:p,timeExtent:c,geometry:f,distance:l,units:y}=e,b=Lc(c),m=Gi(f),S=xe(o),T=nr([u,S.definitionExpression]),I={returnDistinctValues:!0,outFields:s===!0||r===k.PieNoAggregation||r===k.BarAndLineNoAggregation||r===k.BarAndLineSplitByNoAggregation?[d]:[i],where:T,gdbVersion:p??S.gdbVersion,timeExtent:b??S.timeExtent,geometry:m};lo(I)&&(I.cacheHint=!0),I.geometry!==void 0&&so(o)&&(l!==void 0&&(I.distance=l),y!==void 0&&(I.units=y));try{n=await a.queryFeatureCount(I)}catch{n=Number.NaN}}return n}async function sy(t){let{queryObject:e,queryConfig:i,abortKey:a}=t,{outStatistics:r}=i,s=new Map;if(e!==void 0&&r!==void 0&&r.length>0){let o=r.map(p=>{let{statisticType:c,onStatisticField:f,outStatisticFieldName:l}=p;return{statisticType:c,onStatisticField:f,outStatisticFieldName:l?.toUpperCase()}});i.outStatistics=o,delete i.num,delete i.orderByFields;let n=co({queryObject:e,queryConfig:i}),d;try{d=await e.queryFeatures(n,{signal:a!==void 0?sr.get(a)?.signal:void 0})}catch(p){if(!Bi.isAbortError(p)){let c=(await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages.")).errorStrings;throw new Ve(Ue.QueryFeaturesError,c.errors.queryError,p)}}let u=d?.features?.[0]?.attributes;u!==void 0&&r.forEach(p=>{let{outStatisticFieldName:c}=p;if(c!==void 0){let f=u[c.toLowerCase()]??u[c.toUpperCase()]??u[c];f!==void 0&&s.set(c,f)}})}return s}async function no(t){let{queryObject:e,queryConfig:i,returnUniqueIdsOnly:a,abortKey:r}=t,s=[],o=Ae(e);if(e!==void 0){let n=Nc(o),d=co({queryObject:e,queryConfig:i,maxRecordCountFactor:n});try{a===!0?"queryObjectIds"in e?s=await e.queryObjectIds(d):(d.outFields=[o.objectIdField],s=(await e.queryFeatures(d,{signal:r!==void 0?sr.get(r)?.signal:void 0})).features.map(u=>u.attributes[o.objectIdField])):s=(await e.queryFeatures(d,{signal:r!==void 0?sr.get(r)?.signal:void 0})).features}catch(u){if(!Bi.isAbortError(u)){let p=(await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages.")).errorStrings;throw new Ve(Ue.QueryFeaturesError,p.errors.queryError,u)}}}return s}async function Ec(t){let e=[],{featureCount:i,maxRecords:a,queryConfig:r}=t,s=[],o=0,n=r?.start??0;for(;o<At.maxParallelRequests&&n<i;){let d={...t};d.queryConfig={...r,start:n,num:Math.min(a,i-n)},e.push(no(d)),n+=a,o+=1}return s=(await Promise.all(e)).flat(),s}async function oo(t){let{queryObject:e,queryConfig:i,returnUniqueIdsOnly:a,featureCount:r,noBatch:s,abortKey:o}=t,n=[],d=Ae(e);if(e!==void 0){let u=r??1,p=po(d);if(s!==!0&&u>p&&d.capabilities?.query.supportsPagination){let c=0,f=0,l=Math.ceil(u/p),y=Math.ceil(l/At.maxParallelRequests),b=[];for(;f<y;){c=f*At.maxParallelRequests*p;let m=Ec({queryConfig:{...i,start:c},queryObject:e,maxRecords:p,featureCount:u,returnUniqueIdsOnly:a,abortKey:o});b.push(m),f+=1}n=(await Promise.all(b)).flat()}else(Number.isNaN(u)||u>=0)&&(n=await no({queryObject:e,queryConfig:i,returnUniqueIdsOnly:a,abortKey:o}))}return n}async function ny(t){let{queryObject:e,queryConfig:i,uniqueFeature:a,abortKey:r}=t,s={...i,returnDistinctValues:!0};return await oo({queryObject:e,abortKey:r,queryConfig:s,returnUniqueIdsOnly:!0,featureCount:a===!0?1:void 0})}function oy(t){if(t!==void 0){let e=sr.get(t);e!==void 0&&e.abort(),sr.set(t,new AbortController)}}function $c(t){return{lowerBoundaryAlias:`charts_lower_boundary_${t}`,upperBoundaryAlias:`charts_upper_boundary_${t}`}}async function ly(t){let{queryObject:e,dateField:i,splitByField:a,queryConfig:r,temporalBinning:s}=t,o=[],n;if(s){let{unit:d}=s;try{if(d){let u=xe(Ae(e));if(n=Tc(u,a),n&&e&&"queryAttributeBins"in e){let p=await _c({queryObject:e,queryConfig:r,temporalBinning:s,dateField:i,splitByField:a});o=(await e.queryAttributeBins(p)).features}}}catch(u){let p=(await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages.")).errorStrings;throw new Ve(Ue.QueryFeaturesError,p.errors.queryError,u)}}if(n===!1){let d=(await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages.")).errorStrings;throw new Ve(Ue.QueryFeaturesError,d.errors.queryBinsNotSupported,d.errors.queryBinsNotSupported)}return o}function lo(t){let e=!t.geometry||t.geometry.type==="extent",i=(t.where??"").toUpperCase(),a=!i.includes("CURRENT_TIMESTAMP")&&!i.includes("CURRENT_DATE")&&!i.includes("CURRENT_TIME");return e&&a}function po(t){let e=xe(t)?.sourceJSON,i=e?.maxRecordCount??At.maxRecords;return e?.advancedQueryCapabilities?.supportsMaxRecordCountFactor&&e?.maxRecordCount!==void 0&&(i=e.maxRecordCount*At.maxRecordCountFactor),i}function nr(t,e){let i,a=Array.from(new Set(t)).filter(r=>r!=null&&r!==""&&!Ut(r));return a.sort((r,s)=>s.length-r.length),a.length===1?[i]=a:a?.forEach(r=>{r!==void 0&&(Ke(i)?i=`(${r})`:i?.includes(`(${r})`)||(i=`${i} ${e??"AND"} (${r})`))}),i??"1=1"}function Oc(t,e){let i=e;if(t!==void 0){let a=Ae(t),r=xe(a).timeExtent;r?.start!=null&&r?.end!=null&&(i=[r.start.valueOf(),r.end.valueOf()])}return i}function Dc(t){let{queryObject:e,defaultGeometry:i,ignoreViewExtent:a}=t,r=i;if(!a&&Vi(e)){let s=e.view.extent,{xmin:o,xmax:n,ymin:d,ymax:u,zmin:p,zmax:c,spatialReference:f}=s;r={xmin:o,ymin:d,zmin:p,xmax:n,ymax:u,zmax:c,spatialReference:f}}return r}function Lc(t){let e;return t!==void 0&&(e=new qn({start:new Date(t[0]),end:new Date(t[1])})),e}function Gi(t){let e;return t!==void 0&&(e=qi.fromJSON(t)),e}function Rc(t){return t===void 0?["*"]:Array.from(new Set(t))}function Jr(t){let{queryObject:e,queryConfig:i,queryType:a}=t,{where:r,outStatistics:s,geometry:o,distance:n,units:d,timeExtent:u,returnDistinctValues:p}=i??{},c=a==="Query"?new Ad({}):new Fd({}),f=Ae(e),l=xe(f),y;a==="AttributeBinsQuery"&&i?.objectIds?.[0]!==void 0&&(y=`${f.objectIdField} IN (${i.objectIds.join(",")})`);let b=[r,l.definitionExpression,y];if(c.where=nr(b),c.returnDistinctValues=p??!1,s!==void 0){let T=Pc(f);c.outStatistics=s.filter(I=>I.statisticType!==ae.EnvelopeAggregate||T).map(I=>Ed.fromJSON(I))}let m=Gi(o);m!==void 0&&(c.geometry=m,i?.spatialRelationship&&(c.spatialRelationship=i.spatialRelationship),so(f)&&(n!==void 0&&(c.distance=n),d!==void 0&&(c.units=d)));let S;return u&&(S=new qn({start:u?.[0],end:u?.[1]})),S!==void 0?c.timeExtent=S:l.timeExtent!==void 0&&(c.timeExtent=l.timeExtent),lo(c)&&(c.cacheHint=!0),c}function jc(t){let e;switch(t){case kt.Start:e="first";break;case kt.End:e="last";break}return e}async function _c(t){let{queryObject:e,queryConfig:i,temporalBinning:a,dateField:r,splitByField:s}=t,o=Ae(e),n=(await dr(e)).find(S=>S.name===r)?.type,d=Jr({queryObject:e,queryConfig:i,queryType:"AttributeBinsQuery"}),{unit:u,size:p,timeAggregationType:c,start:f,end:l,offset:y,outTimeZone:b}=a,m=$c(r);if(d.lowerBoundaryAlias=m.lowerBoundaryAlias,d.upperBoundaryAlias=m.upperBoundaryAlias,n!==ue.DateOnly&&(d.outTimeZone=b??Intl.DateTimeFormat().resolvedOptions().timeZone),d.binParameters={type:"date",field:r,interval:{unit:u,value:p},start:f,end:l,offset:y?{unit:y.unit,value:y.size}:null},d.binParameters.type==="date"&&(o.capabilities?.queryAttributeBins?.supportsSnapToData&&(d.binParameters.snapToData=jc(c)),o.capabilities?.queryAttributeBins?.supportsReturnFullIntervalBin&&(d.binParameters.returnFullIntervalBin=!0)),!Ke(s)){let S=xe(o).fields.find(T=>T.name===s)?.type;(!S||S==="string"||S==="integer"||S==="small-integer"||S==="big-integer"||S==="double")&&(d.binParameters.stackBy={type:"field",value:s,valueType:S==="string"?"string":"integer"})}return d}function qc(t){let{field:e,fieldType:i,unit:a}=t,r,s,o=1,n=1;switch(a){case it.MinuteOfDay:i!==ue.DateOnly&&(s="MINUTE",n=59);break;case it.HourOfDay:i!==ue.DateOnly&&(s="HOUR",n=24);break;case it.DayOfWeek:s="DOW",n=7;break;case it.DayOfMonth:s="DAY",n=31;break;case it.DayOfYear:s="DOY",n=366;break;case it.WeekOfYear:s="WEEK",n=53;break;case it.MonthOfYear:s="MONTH",n=12;break;case it.QuarterOfYear:s="QUARTER",n=4;break}return s&&(r=`EXTRACT (${s} FROM ${e})`),{expression:r,start:o,end:n}}function On(t){let{temporalBinning:e,xOrY:i,xOrYFieldType:a}=t,{unit:r}=e??{},s,o,n,d;return a===ue.Date||a===ue.DateOnly||a===ue.TimestampOffset?{expression:o,start:n,end:d}=qc({field:i,fieldType:a,unit:r}):s=i,{field:s,expression:o,start:n,end:d}}async function Bc(t){let{queryObject:e,queryConfig:i,x:a,y:r,xTemporalBinning:s,yTemporalBinning:o,firstDayOfWeek:n,outTimeZone:d}=t,u=await dr(e),p=u.find(I=>I.name===a)?.type,c=u.find(I=>I.name===r)?.type,f=Jr({queryObject:e,queryConfig:i,queryType:"AttributeBinsQuery"});f.binParameters={type:"fixed-interval",interval:1},p!==ue.DateOnly&&(f.outTimeZone=d??Intl.DateTimeFormat().resolvedOptions().timeZone),n!==void 0&&(f.binParameters.firstDayOfWeek=n);let l=On({temporalBinning:s,xOrY:a,xOrYFieldType:p}),{field:y,expression:b,start:m,end:S}=l;y?f.binParameters.field=y:b&&(f.binParameters.expression=b,f.binParameters.expressionValueType="integer",f.binParameters.type==="fixed-interval"&&(m!==void 0&&(f.binParameters.start=m),S!==void 0&&(f.binParameters.end=S)));let T=On({temporalBinning:o,xOrY:r,xOrYFieldType:c});return T.field?f.binParameters.stackBy={type:"field",value:T.field}:T.expression&&(f.binParameters.stackBy={type:"expression",value:T.expression,valueType:"integer",alias:r}),f}function kc(t){let{queryObject:e,queryConfig:i,xStep:a,xMin:r,xMax:s,x:o,y:n,yStep:d}=t,u=Jr({queryObject:e,queryConfig:i,queryType:"AttributeBinsQuery"}),p=Ac(o,n);return u.lowerBoundaryAlias=p.lowerBoundaryAlias,u.upperBoundaryAlias=p.upperBoundaryAlias,u.binParameters={type:"fixed-interval",field:o,interval:a,start:r,end:s,stackBy:{value:`FLOOR(${n} / ${d})`,type:"expression",alias:p.stackAlias,valueType:"integer"}},u}function co(t){let{queryObject:e,queryConfig:i,maxRecordCountFactor:a}=t,{groupByFieldsForStatistics:r,orderByFields:s,gdbVersion:o,start:n,num:d,outFields:u}=i??{},p=Jr({queryObject:e,queryConfig:i,queryType:"Query"});p.returnGeometry=!1;let c=Ae(e),f=xe(c);return p.outFields=Rc(u),p.groupByFieldsForStatistics=r??p.groupByFieldsForStatistics,p.orderByFields=s??[],p.objectIds=i?.objectIds,a!==void 0&&(p.maxRecordCountFactor=a),o!==void 0&&o!==""?p.gdbVersion=o:f.gdbVersion!==void 0&&f.gdbVersion!==""&&(p.gdbVersion=f.gdbVersion),d!==void 0&&(p.num=d),n!==void 0&&(p.start=n,p.num=p.num??po(c)),p}function Nc(t){return xe(t)?.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor===!0?At.maxRecordCountFactor:void 0}function dy(t){let e,i,a;return t!==void 0&&(e=t.type,(e===yr.UniqueValue||e===yr.ClassBreaks)&&(i=t.field??void 0,e===yr.ClassBreaks&&(a=t.normalizationField??void 0))),{rendererType:e,rendererField:i,rendererNormalizationField:a}}var Wc=(0,_n.default)(async t=>{let e=t.featureCollection,i,a;if(e?.layers?.[0]!==void 0){let o=e.layers[0];i=o.featureSet,a=o.layerDefinition}else a=t.layerDefinition;let r={};if(i!==void 0){if(r.source=Cd.fromJSON(i).features,a?.fields!==void 0&&(r.fields=a.fields.map(o=>xd.fromJSON(o))),a?.objectIdField!==void 0&&(r.objectIdField=a.objectIdField),a?.geometryType!==void 0){let o=qi.fromJSON({geometryType:a.geometryType});o?.type!==void 0&&o?.type!=="extent"&&(r.geometryType=o.type)}a?.spatialReference!==void 0&&(r.spatialReference=a.spatialReference)}else r.id=t.id,a?.id!==void 0&&(r.layerId=a.id),t.url!==void 0&&(r.url=t.url),t.itemId!==void 0&&a?.id!==void 0&&(r.portalItem={id:t.itemId});if(a!==void 0){let o=a.drawingInfo;o?.renderer!==void 0&&(r.renderer=jn.fromJSON(o.renderer))}let s=new Td(r);return await s.load(),s});async function py(t){let{layer:e,view:i,chartConfig:a}=t,r;if(e!==void 0){let s=Ae(e),o=xe(s);if(i!==void 0&&!o.isTable){o.outFields=["*"];let n=u=>"highlight"in u,d=await i.whenLayerView(o);n(d)&&(r=d)}else r=e}else"iLayer"in a&&a.iLayer&&(r=await Wc(a.iLayer));return r}async function dr(t,e){let i=Ae(t),a=[];if(i!==void 0){await i.load();let r=e===!0&&i?.popupTemplate?.fieldInfos!==void 0;a=i.fields.map(s=>{let o=s.toJSON();if(r){let n=i.popupTemplate?.fieldInfos?.find(d=>d.fieldName?.toLowerCase()===s.name.toLowerCase())?.label;n!==void 0&&n!==s.name&&(o.alias=n)}return o})}return a}function Hi(t,e=[]){return e.find(i=>i.name===t)}function cy(t){return t.find(e=>e.type===ue.OID)?.name??""}function uo(t){return[ue.Single,ue.Double,ue.SmallInteger,ue.Integer,ue.BigInteger].includes(t.type)}function uy(t){return t.type===ue.Date}function fy(t){return[ue.SmallInteger,ue.Integer,ue.BigInteger].includes(t.type)}function hy(t){return t.filter(e=>e.type===ue.Date||e.type===ue.DateOnly||e.type===ue.TimestampOffset).map(e=>e.name)}function yy(t){return t.filter(e=>uo(e)).map(e=>e.name)}function Mc(t){let{subtypeInfo:e,fieldName:i,fieldValueToMatch:a}=t,r,s=o=>`${o.id}`==`${a}`;return e?.subtypeField===i&&e.subtypes?r=e.subtypes.find(s)?.name:e?.typeIdField===i&&e.types&&(r=e.types.find(s)?.name),r}function Dn(t,e){let i=[],a=xc(t)?t.subtypes:t[e];return a?.[0]!==void 0&&a.forEach(r=>{let{name:s,domains:o}=r,n="id"in r?r.id:void 0;!n&&"code"in r&&(n=r.code);let d=Object.entries(o??{}),u=[],p=d?.filter(([c,f])=>f?.type==="coded-value")?.map(([c,f])=>{let l={fieldName:c,name:s,codedValues:u};if(f&&"codedValues"in f){let y=f.codedValues.map(({code:b,name:m})=>({name:m,code:b}));l={fieldName:c,name:f.name,codedValues:y}}return l});i.push({id:n??"",name:s,domains:p})}),i.length===0?void 0:i}function my(t){let e;if(t!==void 0){let i=Ae(t);if(!Ui(i)&&!Ke(i?.typeIdField)){let a=Dn(i,"types");a!==void 0&&(e={typeIdField:i.typeIdField??void 0,types:a})}if(!Ke(i?.subtypeField)){let a=xe(i),r=Dn(a,"subtypes");r!==void 0&&(e={...e,subtypeField:a.subtypeField??void 0,subtypes:r})}}return e}function gy(t){let{fieldName:e,fieldValueToMatch:i,subtypeInfo:a,fieldList:r}=t,s;if((typeof i!="string"||!Ke(i))&&!Ke(e)&&(s=Mc({subtypeInfo:a,fieldName:e,fieldValueToMatch:i}),s===void 0)){let o=Hi(e,r);if(a?.types!==void 0){let n=a?.types;for(let d of n){let u=d.domains?.filter(p=>p.fieldName===o?.name)??[];for(let p of u)if(s=p?.codedValues?.find(c=>`${c.code}`===i)?.name,s!==void 0)break;if(s!==void 0)break}}s===void 0&&o?.domain!==void 0&&o.domain.type==="codedValue"&&(s=o.domain.codedValues?.find(n=>`${n.code}`==`${i}`)?.name)}return s}async function by(t){let e=[];return!xe(t).isTable&&t.fieldsIndex&&(e=await Rn.getRendererFields(t.renderer,t.fieldsIndex)),e}function zc(t){let e="/rest/services",i=t.toLowerCase(),a=i.indexOf(e);return i=a>-1?t.substring(0,a):t,`${i}/rest/info`}async function vy(t){let e=!0,i=".arcgis.com/",a=t.url,r=a?.includes(i);if(a&&r&&xe(t).sourceJSON.serviceItemId!==void 0){let s=zc(a);try{let o=(await Li(s,{query:{f:"json"}})).data;if(o.owningTenant!==void 0&&o.owningSystemUrl!==void 0){let n=`${o.owningSystemUrl}/sharing/rest/portals/${o.owningTenant}`,d=(await Li(n,{authMode:"auto",query:{f:"json"}})).data,u=new Pd({sourceJSON:d});await u.load(),e=u?.sourceJSON?.subscriptionInfo?.dataStoreLevel===void 0}}catch{}}return e}async function Vc(t){let{queryObject:e,fieldToMatch:i,returnUndefinedIfNotFound:a}=t,r=await dr(e),s=r.find(n=>i===n.name);s||(s=r.find(n=>i.toUpperCase()===n.name.toUpperCase()));let o=a?"":i;return s?.name??o}async function Sy(t){let{fieldsList:e,queryObject:i,returnUndefinedIfNotFound:a}=t,r=e;return r!==void 0&&(r=await Promise.all(r.map(async s=>await Vc({queryObject:i,fieldToMatch:s,returnUndefinedIfNotFound:a})))),r}function wy(t){let{queryObject:e,chartConfig:i,runtimeDataFilters:a,ignoreViewExtent:r}=t,{series:s,dataFilters:o}=i,{where:n,gdbVersion:d,timeExtent:u,geometry:p,distance:c,units:f,objectIds:l,spatialRelationship:y}=o??{},{where:b,gdbVersion:m,timeExtent:S,geometry:T,distance:I,units:P,objectIds:F,spatialRelationship:$}=a??{},_=s[0],{query:L}=_,{where:A}=L??{},R=st(s),O={...L};return O.where=nr([n,b]),R!==k.BarAndLineSplitBy&&R!==k.BoxPlotMonoFieldAndSplitBy&&R!==k.BoxPlotMonoFieldAndCategoryAndSplitBy&&R!==k.BoxPlotMultiFieldsAndSplitBy&&R!==k.BarAndLineSplitByNoAggregation&&(O.where=nr([O.where,A])),i.orderOptions?.orderByFields!==void 0&&(O.orderByFields=i.orderOptions.orderByFields),O.gdbVersion=m??d,O.timeExtent=Oc(e,S??u),O.geometry=Dc({queryObject:e,defaultGeometry:T??p,ignoreViewExtent:r}),O.distance=I??c,O.units=P??f,O.objectIds=F??l,O.spatialRelationship=$??y,L?.outStatistics?.[0]?.statisticType===ae.Count&&(O.returnDistinctValues=L?.returnDistinctValues??!1),O}var Vt={$schema:"http://json-schema.org/draft-07/schema#",definitions:{ValueConversion:{type:"object",properties:{factor:{type:"number",description:"A numeric value multiplying the value to convert"},offset:{type:"number",description:"A numeric offset to apply to the value to convert"}},description:"Stores information regarding a numeric conversion",title:"ValueConversion"},WebChartAxisScrollBar:{type:"object",properties:{visible:{type:"boolean",description:"Scrollbar visibility",default:!1},width:{type:"number",description:"Scrollbar width in pixels"},color:{$ref:"#/definitions/Color",description:"Scrollbar color"},gripSize:{type:"number",description:"Grip size in pixels"},margin:{type:"number",description:"Margin between the scrollbar and the series container in pixels"}},description:"Describes the properties of an axis scrollbar",title:"WebChartAxisScrollBar"},Color:{type:"array",items:{type:"number"},minItems:4,maxItems:4,title:"Color"},WebChartTextSymbol:{type:"object",properties:{xoffset:{type:["number","string"],description:`Horizontal offset. Can be a number for a fixed value in pixels, or a string as "25%" for a value relative to the label's container width.`},yoffset:{type:["number","string"],description:`Horizontal offset. Can be a number for a fixed value in pixels, or a string as "25%" for a value relative to the label's container height.`},angle:{type:"number",description:"Rotation of the label"},style:{type:"string",description:"Label style"},type:{type:"string",const:"esriTS"},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"],description:"Represents a text symbol.",title:"WebChartTextSymbol"},'Omit<ITextSymbol,("angle"|"style"|"xoffset"|"yoffset")>':{$ref:"#/definitions/Pick%3CITextSymbol%2CExclude%3C(%22type%22%7C%22color%22%7C%22backgroundColor%22%7C%22borderLineSize%22%7C%22borderLineColor%22%7C%22haloSize%22%7C%22haloColor%22%7C%22verticalAlignment%22%7C%22horizontalAlignment%22%7C%22rightToLeft%22%7C%22kerning%22%7C%22font%22%7C%22text%22%7C%22angle%22%7C%22xoffset%22%7C%22yoffset%22%7C%22style%22%7Cstring)%2C(%22angle%22%7C%22style%22%7C%22xoffset%22%7C%22yoffset%22)%3E%3E",title:'Omit<ITextSymbol,("angle"|"style"|"xoffset"|"yoffset")>'},'Pick<ITextSymbol,Exclude<("type"|"color"|"backgroundColor"|"borderLineSize"|"borderLineColor"|"haloSize"|"haloColor"|"verticalAlignment"|"horizontalAlignment"|"rightToLeft"|"kerning"|"font"|"text"|"angle"|"xoffset"|"yoffset"|"style"|string),("angle"|"style"|"xoffset"|"yoffset")>>':{type:"object",properties:{type:{type:"string",const:"esriTS"},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:'Pick<ITextSymbol,Exclude<("type"|"color"|"backgroundColor"|"borderLineSize"|"borderLineColor"|"haloSize"|"haloColor"|"verticalAlignment"|"horizontalAlignment"|"rightToLeft"|"kerning"|"font"|"text"|"angle"|"xoffset"|"yoffset"|"style"|string),("angle"|"style"|"xoffset"|"yoffset")>>'},IFont:{type:"object",properties:{family:{type:"string"},size:{type:"number"},style:{type:"string",enum:["italic","normal","oblique"]},weight:{type:"string",enum:["bold","bolder","lighter","normal"]},decoration:{type:"string",enum:["line-through","none","underline"]}},title:"IFont"},WebChartText:{type:"object",properties:{type:{type:"string",const:"chartText",description:'Represents a unique string identifier for the ChartText object. For ChartText object, it is "chartText".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},content:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains the styling info and text content. Details on **esriTS** are [here](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm)."}},required:["type","content"],description:"Stores info on how some text is rendered on the chart and whether it is visible or not.",title:"WebChartText"},WebChartCursorCrosshair:{type:"object",properties:{type:{type:"string",const:"cursorCrosshair",description:"Represents a unique string identifier for the chart cursor's crosshair."},style:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the chart cursor's crosshair should be rendered."},verticalLineVisible:{type:"boolean",description:"Indicates whether the vertical crosshair line should be displayed",default:!1},horizontalLineVisible:{type:"boolean",description:"Indicates whether the horizontal crosshair line should be displayed",default:!1}},required:["type"],description:"JSON representation of the cursor's crosshair for a chart.",title:"WebChartCursorCrosshair"},ISimpleLineSymbol:{type:"object",properties:{type:{type:"string",const:"esriSLS"},style:{$ref:"#/definitions/SimpleLineSymbolStyle"},color:{$ref:"#/definitions/Color"},width:{type:"number"}},required:["type"],title:"ISimpleLineSymbol"},ISymbol:{type:"object",properties:{type:{$ref:"#/definitions/SymbolType"},style:{type:"string"}},required:["type"],title:"ISymbol"},SymbolType:{type:"string",enum:["esriPFS","esriPMS","esriSFS","esriSLS","esriSMS","esriTS"],title:"SymbolType"},SimpleLineSymbolStyle:{type:"string",enum:["esriSLSDash","esriSLSDashDot","esriSLSDashDotDot","esriSLSDot","esriSLSNull","esriSLSSolid"],title:"SimpleLineSymbolStyle"},WebChartLegend:{type:"object",properties:{type:{type:"string",const:"chartLegend",description:'Represents a unique string identifier for the ChartLegend object. For ChartLegend object, it is "chartLegend".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the legend box should be rendered"},body:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains styling info on how legend body (excluding the **title**) should be rendered. Will use default styling if not provided."},position:{$ref:"#/definitions/WebChartLegendPositions",description:'Positions the legends at `"right"`, `"left"`, `"top"`, or `"bottom"` of the chart.',default:"WebChartLegendPositions.Right"},maxHeight:{type:["number","null"],description:"Legend's maximum height. If not set the legend will occupy the same height as the series container or pie chart.",default:null},roundMarkers:{type:"boolean",description:"Allows the legend markers to be displayed as circles. If the property is to:\n- `false` or `undefined` they will be rounded rectangles\n- `true` they will be circles",default:!1}},required:["type"],description:"JSON representation of the Chart's legend box",title:"WebChartLegend"},WebChartLegendPositions:{type:"string",enum:["left","right","top","bottom"],title:"WebChartLegendPositions"},WebChartPieChartLegend:{type:"object",properties:{type:{type:"string",const:"chartLegend",description:'Represents a unique string identifier for the ChartLegend object. For ChartLegend object, it is "chartLegend".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the legend box should be rendered"},body:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains styling info on how legend body (excluding the **title**) should be rendered. Will use default styling if not provided."},position:{$ref:"#/definitions/WebChartLegendPositions",description:'Positions the legends at `"right"`, `"left"`, `"top"`, or `"bottom"` of the chart.',default:"WebChartLegendPositions.Right"},maxHeight:{type:["number","null"],description:"Legend's maximum height. If not set the legend will occupy the same height as the series container or pie chart.",default:null},roundMarkers:{type:"boolean",description:"Allows the legend markers to be displayed as circles. If the property is to:\n- `false` or `undefined` they will be rounded rectangles\n- `true` they will be circles",default:!1},displayCategory:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed in the legend.",default:!0},displayNumericValue:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed in the legend. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`",default:!1},displayPercentage:{type:"boolean",description:"Indicates whether the percentage to a slice is to be displayed in the legend. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`",default:!1},labelMaxWidth:{type:"number",description:"Maximum width in pixels of the label displaying the slice name. If the label is larger than the maximum width, it will automatically wrap.",default:200},valueLabelMaxWidth:{type:"number",description:"Maximum width in pixels of the label displaying the slice name. If the label is larger than the maximum width, it will automatically wrap.",default:200}},required:["type"],description:"Specific legend for the Pie chart",title:"WebChartPieChartLegend"},WebChartOverlay:{type:"object",properties:{type:{type:"string",const:"chartOverlay",description:'Represents a unique string identifier for the ChartOverlay object. For ChartOverlay object, it is "chartOverlay".'},created:{type:"boolean",description:"Determines whether the overlay is created under the hood. It may or may not be visible.",default:!1},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},symbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the overlay should be rendered If not provided a default style is applied."}},required:["type"],description:"JSON representation of the chart's overlays like trendline scatter plot, and median in histogram",title:"WebChartOverlay"},NumberFormatOptions:{type:"object",properties:{type:{type:"string",const:"number",description:'Represents a unique string identifier for the NumberFormatOptions object. For NumberFormatOptions object, it is "number". It can help us to differentiate numerical (value) axis from other types of axes viz., date-time axis and category axis.'},intlOptions:{$ref:"#/definitions/Intl.NumberFormatOptions",description:"Represents the JS native [Intl.NumberFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat), which is based on [CLDR](http://cldr.unicode.org/translation/numbers-currency/number-patterns) specifications."}},required:["type","intlOptions"],description:"Defines how the numerical(value) axis data should be formatted.",title:"NumberFormatOptions"},"Intl.NumberFormatOptions":{type:"object",properties:{localeMatcher:{type:"string",enum:["lookup","best fit"]},style:{$ref:"#/definitions/Intl.NumberFormatOptionsStyle"},currency:{type:"string"},currencyDisplay:{$ref:"#/definitions/Intl.NumberFormatOptionsCurrencyDisplay"},useGrouping:{$ref:"#/definitions/Intl.NumberFormatOptionsUseGrouping"},minimumIntegerDigits:{type:"number"},minimumFractionDigits:{type:"number"},maximumFractionDigits:{type:"number"},minimumSignificantDigits:{type:"number"},maximumSignificantDigits:{type:"number"}},title:"Intl.NumberFormatOptions"},"Intl.NumberFormatOptionsStyle":{title:"Intl.NumberFormatOptionsStyle"},"Intl.NumberFormatOptionsCurrencyDisplay":{title:"Intl.NumberFormatOptionsCurrencyDisplay"},"Intl.NumberFormatOptionsUseGrouping":{type:"boolean",title:"Intl.NumberFormatOptionsUseGrouping"},WebChartDateTimeUnitFormatOptions:{type:"object",properties:{year:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},month:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},day:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},hour:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},minute:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},second:{$ref:"#/definitions/Intl.DateTimeFormatOptions"}},description:'Interface used by the axis `valueFormat` property to describe how to format specific date and time units when displayed on the axis. For instance: "year": { year: "numeric" } "month": { month: "numeric" } "day": { day: "2-digit" } "hour": { day: "numeric" } "minute": { minute: "numeric" } "second": { second: "numeric" } Reference: https://tc39.es/ecma402/#sec-datetimeformat-abstracts',title:"WebChartDateTimeUnitFormatOptions"},"Intl.DateTimeFormatOptions":{type:"object",properties:{localeMatcher:{type:"string",enum:["best fit","lookup"]},weekday:{type:"string",enum:["long","short","narrow"]},era:{type:"string",enum:["long","short","narrow"]},year:{type:"string",enum:["numeric","2-digit"]},month:{type:"string",enum:["numeric","2-digit","long","short","narrow"]},day:{type:"string",enum:["numeric","2-digit"]},hour:{type:"string",enum:["numeric","2-digit"]},minute:{type:"string",enum:["numeric","2-digit"]},second:{type:"string",enum:["numeric","2-digit"]},timeZoneName:{type:"string",enum:["short","long","shortOffset","longOffset","shortGeneric","longGeneric"]},formatMatcher:{type:"string",enum:["best fit","basic"]},hour12:{type:"boolean"},timeZone:{type:"string"}},title:"Intl.DateTimeFormatOptions"},DateTimeFormatOptions:{type:"object",properties:{type:{type:"string",const:"date",description:'Represents a unique string identifier for the NumberFormatOptions object. For NumberFormatOptions object, it is "date". It can help us to differentiate date-time axis from other types of axes viz., numeric (value) axis and category axis.'},intlOptions:{$ref:"#/definitions/Intl.DateTimeFormatOptions",description:"Represent the JS native [Intl.DateTimeFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormatt), which is based on [CLDR](http://cldr.unicode.org/translation/date-time-1/date-time-patterns) specifications."},formatPerDateTimeUnit:{$ref:"#/definitions/WebChartDateTimeUnitFormatOptions",description:"Represents how to format specific date and time units when displayed on the axis, independently from the `intlOptions`."}},required:["type","intlOptions"],description:"Defines how the DateTime axis data should be formatted.",title:"DateTimeFormatOptions"},CategoryFormatOptions:{type:"object",properties:{type:{type:"string",const:"category",description:'Represents a unique string identifier for the CategoryFormatOptions object. For CategoryFormatOptions object, it is "category". It can help us to differentiate category axis from other types of axes, viz., date-time axis and numeric (value) axis.'},characterLimit:{type:["number","null"],description:"Represents a positive integer which represents the limit on the number of characters to be displayed for all the category strings. The truncated string are appended with `...`. If property is not present or `null`, no truncation is done.",minimum:1,multipleOf:1}},required:["type"],description:"Defines how the category axis data (Categories) should be formatted.",title:"CategoryFormatOptions"},WebChartGuide:{type:"object",properties:{type:{type:"string",const:"chartGuide",description:'Represents a unique string identifier for the Guide object. For Guide class, it is "chartGuide".'},start:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"Determines the value where the guide should begin."},end:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"Determines the value where the guide should end. If it is not specified, we get a line guide, otherwise we get a fill/rectangular guide."},style:{anyOf:[{$ref:"#/definitions/ISimpleFillSymbol"},{$ref:"#/definitions/ISimpleLineSymbol"}],description:"Determines how the guide should be rendered. Line guide requires [esriSLS](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm) format, and fill guide requires [esriSFS](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm) format."},name:{type:"string",description:"A unique string identifier which is used to refer to a particular guide. It is displayed in the Chart Authoring UI to differentiate between different guides."},label:{$ref:"#/definitions/WebChartTextSymbol",description:"Defines a text label for the given guide. It is displayed on the chart next to the concerned guide and is styled using **esriTS** format."},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},above:{type:"boolean",description:"Determines whether the guide should be rendered on top of (overlapping) the series or under the series.",default:!1},tooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the guide's tooltip background (false) or its outline (true).",default:!1}},required:["type","start","style","name"],description:"JSON representation of the chart's guide object. Can be used to represent both line and fill guides.",title:"WebChartGuide"},ISimpleFillSymbol:{type:"object",properties:{type:{type:"string",const:"esriSFS"},style:{$ref:"#/definitions/SimpleFillSymbolStyle"},color:{$ref:"#/definitions/Color"},outline:{$ref:"#/definitions/ISimpleLineSymbol"}},required:["type"],title:"ISimpleFillSymbol"},SimpleFillSymbolStyle:{type:"string",enum:["esriSFSBackwardDiagonal","esriSFSCross","esriSFSDiagonalCross","esriSFSForwardDiagonal","esriSFSHorizontal","esriSFSNull","esriSFSSolid","esriSFSVertical"],title:"SimpleFillSymbolStyle"},WebChartAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},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."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."}},required:["type","valueFormat","labels"],description:"JSON representation of the chart's axis object",title:"WebChartAxis"},TimeIntervalInfo:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartTemporalBinningUnits"},size:{type:"number"}},title:"TimeIntervalInfo"},WebChartTemporalBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","quarters","years"],description:"The temporal binning units",title:"WebChartTemporalBinningUnits"},WebChartGaugeAxisTick:{type:"object",properties:{type:{type:"string",const:"gaugeAxisTick",description:'Represents a unique string identifier for the GaugeAxisTick object. For WebChartGaugeAxisTick object, it is "gaugeAxisTick".'},visible:{type:"boolean",description:"Determines the visibility of the axis ticks.",default:!0}},required:["type"],description:"JSON representation of the gauge axis ticks. Currently only used by WebChartGaugeAxis.",title:"WebChartGaugeAxisTick"},WebChartNeedle:{type:"object",properties:{type:{type:"string",const:"gaugeNeedle",description:'Represents a unique string identifier for the ChartNeedle object. For WebChartNeedle object, it is "gaugeNeedle".'},visible:{type:"boolean",description:"Hides or shows the needle.",default:!0},symbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the needle should be rendered"},startWidth:{type:["number","null"],description:"Represents the needle's thickness at the bottom (chart's center), in px",minimum:1,default:10},endWidth:{type:["number","null"],description:"Represents the needle's thickness at the top, in px",minimum:1,default:1},innerRadius:{type:["number","null"],description:"Represents the size of the hole in the middle of the chart. Can be visualized when guides are displayed.",minimum:0,maximum:100,default:25},displayPin:{type:"boolean",description:"Hides or shows the needle's pin (centroid circle)",default:!1}},required:["type"],description:"JSON representation of a gauge needle.",title:"WebChartNeedle"},WebChartGaugeAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},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."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."},innerLabel:{$ref:"#/definitions/WebChartText",description:"Specifies how the axis' inner label needs to be displayed"},needle:{$ref:"#/definitions/WebChartNeedle",description:"Specifies how the axis' needle needs to be displayed"},ticks:{$ref:"#/definitions/WebChartGaugeAxisTick",description:"Specifies how the axis' ticks need to be displayed"},labelsIncrement:{type:"number",description:"If a label has a value being a multiple of that property, it will be displayed. Otherwise it will be hidden.\n\nIf the property is `undefined` or 0, the chart will be displayed with 6 axis labels distributed evenly along the axis min and max.\n\nIf the property has a value that results in more than a set limit of axis labels (25 as defined in `ChartDefaults.gauge.maximumNumberOfLabelIntervals`) this property value will be ignored and the chart will be displayed with only axis min/max with 4 ticks in between.",default:"undefined"},onlyShowFirstAndLastLabels:{type:"boolean",description:"Specifies if only the first and last labels need to be displayed. If set to `true` all the other labels will be hidden. Their visibility still depends on the axis labels visibility (WebChartAxis.labels.visible).",default:!1},minimumValueConversion:{$ref:"#/definitions/ValueConversion",description:"Defines how to convert the axis minimum"},maximumValueConversion:{$ref:"#/definitions/ValueConversion",description:"Defines how to convert the axis maximum"},minimumFromField:{anyOf:[{$ref:"#/definitions/IStatisticDefinition"},{type:"string"}],description:"If used with a gauge by feature:\n- `minimumFromField` is expected to be a field name. The value from that field for the given feature is mapped to the axis minimum value If used with a statistic gauge:\n- If `minimumFromField` is set to a field name (string), the minimum from that field is mapped to the axis minimum value\n- If it is set to an `IStatisticDefinition` the statistic (min, max, avg...) from the given field is mapped to the axis minimum value When `minimumFromField` is not provided or when it leads to an invalid value, the `minimum` value from the axis config, if provided, or the default value of 0, in that order, will be used."},maximumFromField:{anyOf:[{$ref:"#/definitions/IStatisticDefinition"},{type:"string"}],description:"If used with a gauge by feature:\n- `maximumFromField` is expected to be a field name. The value from that field for the given feature is mapped to the axis maximum value If used with a statistic gauge:\n- If `maximumFromField` is set to a field name (string), the maximum from that field is mapped to the axis maximum value\n- If it is set to an `IStatisticDefinition` the statistic (min, max, avg...) from the given field is mapped to the axis maximum value When `maximumFromField` is not provided or when it leads to an invalid value, the `maximum` value from the axis config, if provided, or the default value of 0, in that order, will be used."}},required:["labels","type","valueFormat"],description:"JSON representation of the gauge chart's axis object. Inherits from the WebChartAxis properties.",title:"WebChartGaugeAxis"},IStatisticDefinition:{type:"object",properties:{statisticType:{type:"string",enum:["avg","centroid-aggregate","convex-hull-aggregate","count","envelope-aggregate","max","min","percentile-continuous","percentile-discrete","stddev","sum","var"],description:"Statistical operation to perform (count, sum, min, max, avg, stddev, var, percentile_cont, percentile_disc, EnvelopeAggregate, CentroidAggregate, ConvexHullAggregate)."},statisticParameters:{type:"object",properties:{value:{type:"number"},orderBy:{type:"string",enum:["asc","desc"]}},required:["value"],description:"Parameters to be used along with statisticType. Currently, only applicable for percentile-continuous (continuous percentile) and percentile-discrete (discrete percentile)."},onStatisticField:{type:"string",description:"Field on which to perform the statistical operation."},outStatisticFieldName:{type:"string",description:"Field name for the returned statistic field. If outStatisticFieldName is empty or missing, the server will assign one. A valid field name can only contain alphanumeric characters and an underscore. If the outStatisticFieldName is a reserved keyword of the underlying DBMS, the operation can fail. Try specifying an alternative outStatisticFieldName."}},required:["statisticType","onStatisticField"],title:"IStatisticDefinition"},WebChartRadarChartAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},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."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."},labelsOrientation:{$ref:"#/definitions/WebChartRadarChartAxisLabelsOrientation",description:"Defines the labels orientation",default:"WebChartRadarChartAxisLabelsOrientation.Circular"}},required:["labels","type","valueFormat"],description:"JSON representation of the radar chart's axis object.",title:"WebChartRadarChartAxis"},WebChartRadarChartAxisLabelsOrientation:{type:"string",enum:["radial","circular","horizontal"],description:"Labels orientation for radar chart axes.",title:"WebChartRadarChartAxisLabelsOrientation"},WebChartQuery:{type:"object",properties:{outFields:{type:"array",items:{type:"string"},description:"Attribute fields to include in the FeatureSet. Will have an effect on chart with no aggregation."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."},groupByFieldsForStatistics:{type:"array",items:{type:"string"},description:"An array of fields which determine how the base data is grouped. Only one **groupBy** Field is supported, but ArcGIS JSAPI [supports multiple groupBy fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#groupByFieldsForStatistics). While splitting by multiple group-by fields is possible, it is not being done because of the number of series it will give rise to (equal to the length of the Cartesian product set) possibly making the visualization hard to interpret.",maxItems:1},outStatistics:{type:"array",items:{$ref:"#/definitions/IStatisticDefinition"},description:"Represents an array of statistics definitions which dictate how a particular field should be aggregated. Refer to [JSAPI Statistics Definition class](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-StatisticDefinition.html) for more info."},orderByFields:{type:"array",items:{type:"string"},description:"Represents the sorting order of the output result. More info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending."},gdbVersion:{type:"string",description:"Specifies the geodatabase version to display for feature service queries."},geometry:{anyOf:[{$ref:"#/definitions/IEnvelope"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IPoint"},{$ref:"#/definitions/IPolygon"},{$ref:"#/definitions/IPolygonWithCurves"},{$ref:"#/definitions/IPolyline"}],description:"The geometry to apply to the spatial filter. A buffer can be applied to it by setting the properties `distance` and `units`."},spatialRelationship:{description:"For spatial filters, this parameter defines the spatial relationship to filter features in the layer view against the filter geometry."},distance:{type:"number",description:"Specifies a search distance for the `geometry`. To be associated with the `units` property. For compatible layers only."},units:{$ref:"#/definitions/RESTUnits",description:"The unit for calculating the buffer distance when `distance` and `geometry` are provided. If not specified, the unit is derived from the geometry spatial reference."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"A time extent ([timestamp, timestamp]) for a temporal query against time-aware layers."},start:{type:"number",description:"The zero-based index indicating where to begin retrieving features."},num:{type:"number",description:"The number of features to retrieve."},returnDistinctValues:{type:"boolean",description:"If true then the query returns distinct values based on the field(s) specified in outFields. Available for count-based aggregations only.",default:!1},fetchNullValues:{type:"boolean",description:"Indicates whether to fetch null values for them to be counted or displayed as categories on the chart.",default:!1},objectIds:{type:"array",items:{type:"number"},description:"An array of objectIds of the features to be filtered."}},description:"Chart query object inspired by [JSAPI Query](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html) class.",title:"WebChartQuery"},IEnvelope:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},xmin:{type:"number"},xmax:{type:"number"},ymin:{type:"number"},ymax:{type:"number"},zmin:{type:"number"},zmax:{type:"number"},mmin:{type:"number"},mmax:{type:"number"}},required:["xmin","xmax","ymin","ymax"],description:"An envelope is a rectangle defined by a range of values for each coordinate and attribute.",title:"IEnvelope"},IGeometry:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"}},description:'a building block for discrete geometries\n\n`IGeometry` can also be imported from the following packages:\n\n```js import { IGeometry } from "@esri/arcgis-rest-feature-layer"; ```',title:"IGeometry"},ISpatialReference:{type:"object",properties:{wkid:{type:["number","null"]},latestWkid:{type:"number"},vcsWkid:{type:"number"},latestVcsWkid:{type:"number"},wkt:{type:["string","null"]},latestWkt:{type:"string"}},description:'Spatial reference systems define mathematical transformations and coordinate systems for displaying spatial information in 2D and 3D.\n\n`ISpatialReference` can also be imported from the following packages:\n\n```js import { ISpatialReference } from "@esri/arcgis-rest-geocoding"; import { ISpatialReference } from "@esri/arcgis-rest-routing"; import { ISpatialReference } from "@esri/arcgis-rest-service-admin"; import { ISpatialReference } from "@esri/arcgis-rest-feature-layer"; ```',title:"ISpatialReference"},IExtent:{type:"object",properties:{xmin:{type:"number"},ymin:{type:"number"},zmin:{type:"number"},xmax:{type:"number"},ymax:{type:"number"},zmax:{type:"number"},spatialReference:{$ref:"#/definitions/ISpatialReference"}},required:["xmin","ymin","xmax","ymax"],description:'Extents are used to define rectangles and bounding boxes.\n\n`IExtent` can also be imported from the following packages:\n\n```js import { IExtent } from "@esri/arcgis-rest-geocoding"; import { IExtent } from "@esri/arcgis-rest-service-admin"; import { IExtent } from "@esri/arcgis-rest-feature-layer"; ```',title:"IExtent"},IPoint:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},x:{type:"number"},y:{type:"number"},z:{type:"number"}},required:["x","y"],description:'A simple point geometry, with spatial reference defined.\n\n`IPoint` can also be imported from the following packages:\n\n```js import { IPoint } from "@esri/arcgis-rest-routing"; import { IPoint } from "@esri/arcgis-rest-geocoding"; ```',title:"IPoint"},IHasZM:{type:"object",properties:{hasZ:{type:"boolean"},hasM:{type:"boolean"}},description:'`IHasZM` can also be imported from the following packages:\n\n```js import { IHasZM } from "@esri/arcgis-rest-feature-layer"; ```',title:"IHasZM"},IPolygon:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},rings:{type:"array",items:{type:"array",items:{$ref:"#/definitions/Position"}}}},required:["rings"],title:"IPolygon"},Position:{anyOf:[{$ref:"#/definitions/Position2D"},{type:"array",items:{type:"number"},minItems:4,maxItems:4},{type:"array",items:{type:"number"},minItems:3,maxItems:3}],title:"Position"},Position2D:{type:"array",items:{type:"number"},minItems:2,maxItems:2,title:"Position2D"},IPolygonWithCurves:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},curveRings:{type:"array",items:{type:"array",items:{anyOf:[{$ref:"#/definitions/JsonCurve"},{$ref:"#/definitions/Position"}]}}}},required:["curveRings"],title:"IPolygonWithCurves"},JsonCurve:{anyOf:[{$ref:"#/definitions/IArc"},{$ref:"#/definitions/IBezierCurve"},{$ref:"#/definitions/ICircularArc"},{$ref:"#/definitions/IOldCircularArc"}],title:"JsonCurve"},IArc:{type:"object",properties:{a:{type:"array",minItems:7,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{type:"number"},{type:"number"},{type:"number"},{type:"number"},{type:"number"}],maxItems:7}},required:["a"],description:"an arc can be represented as a JSON curve object",title:"IArc"},IBezierCurve:{type:"object",properties:{b:{type:"array",minItems:3,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{$ref:"#/definitions/Position2D"}],maxItems:3}},required:["b"],description:"a bezier curve can be represented as a JSON curve object",title:"IBezierCurve"},ICircularArc:{type:"object",properties:{c:{type:"array",minItems:2,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"}],maxItems:2}},required:["c"],description:"a circular arc can be represented as a JSON curve object",title:"ICircularArc"},IOldCircularArc:{type:"object",properties:{a:{type:"array",minItems:4,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{type:"number"},{type:"number"}],maxItems:4}},required:["a"],title:"IOldCircularArc"},IPolyline:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},paths:{type:"array",items:{type:"array",items:{$ref:"#/definitions/Position"}}}},required:["paths"],title:"IPolyline"},RESTUnits:{type:"string",enum:["feet","miles","nautical-miles","us-nautical-miles","meters","kilometers"],title:"RESTUnits"},WebChartSeriesQuery:{$ref:"#/definitions/Omit%3CWebChartQuery%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22num%22%7C%22objectIds%22%7C%22orderByFields%22%7C%22spatialRelationship%22%7C%22start%22%7C%22timeExtent%22%7C%22units%22)%3E",description:"Subset of the WebChartQuery, used at the series level",title:"WebChartSeriesQuery"},'Omit<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>':{$ref:"#/definitions/Pick%3CWebChartQuery%2CExclude%3C(%22outFields%22%7C%22where%22%7C%22groupByFieldsForStatistics%22%7C%22outStatistics%22%7C%22orderByFields%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22spatialRelationship%22%7C%22distance%22%7C%22units%22%7C%22timeExtent%22%7C%22start%22%7C%22num%22%7C%22returnDistinctValues%22%7C%22fetchNullValues%22%7C%22objectIds%22%7Cstring)%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22num%22%7C%22objectIds%22%7C%22orderByFields%22%7C%22spatialRelationship%22%7C%22start%22%7C%22timeExtent%22%7C%22units%22)%3E%3E",title:'Omit<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>'},'Pick<WebChartQuery,Exclude<("outFields"|"where"|"groupByFieldsForStatistics"|"outStatistics"|"orderByFields"|"gdbVersion"|"geometry"|"spatialRelationship"|"distance"|"units"|"timeExtent"|"start"|"num"|"returnDistinctValues"|"fetchNullValues"|"objectIds"|string),("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>>':{type:"object",properties:{outFields:{type:"array",items:{type:"string"},description:"Attribute fields to include in the FeatureSet. Will have an effect on chart with no aggregation."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."},groupByFieldsForStatistics:{type:"array",items:{type:"string"},description:"An array of fields which determine how the base data is grouped. Only one **groupBy** Field is supported, but ArcGIS JSAPI [supports multiple groupBy fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#groupByFieldsForStatistics). While splitting by multiple group-by fields is possible, it is not being done because of the number of series it will give rise to (equal to the length of the Cartesian product set) possibly making the visualization hard to interpret.",maxItems:1},outStatistics:{type:"array",items:{$ref:"#/definitions/IStatisticDefinition"},description:"Represents an array of statistics definitions which dictate how a particular field should be aggregated. Refer to [JSAPI Statistics Definition class](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-StatisticDefinition.html) for more info."},returnDistinctValues:{type:"boolean",description:"If true then the query returns distinct values based on the field(s) specified in outFields. Available for count-based aggregations only.",default:!1},fetchNullValues:{type:"boolean",description:"Indicates whether to fetch null values for them to be counted or displayed as categories on the chart.",default:!1}},title:'Pick<WebChartQuery,Exclude<("outFields"|"where"|"groupByFieldsForStatistics"|"outStatistics"|"orderByFields"|"gdbVersion"|"geometry"|"spatialRelationship"|"distance"|"units"|"timeExtent"|"start"|"num"|"returnDistinctValues"|"fetchNullValues"|"objectIds"|string),("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>>'},WebChartDataFilters:{$ref:"#/definitions/Pick%3CWebChartQuery%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22objectIds%22%7C%22spatialRelationship%22%7C%22timeExtent%22%7C%22units%22%7C%22where%22)%3E",description:"JSON representation of filters applied to the data",title:"WebChartDataFilters"},'Pick<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"objectIds"|"spatialRelationship"|"timeExtent"|"units"|"where")>':{type:"object",properties:{distance:{type:"number",description:"Specifies a search distance for the `geometry`. To be associated with the `units` property. For compatible layers only."},gdbVersion:{type:"string",description:"Specifies the geodatabase version to display for feature service queries."},geometry:{anyOf:[{$ref:"#/definitions/IEnvelope"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IPoint"},{$ref:"#/definitions/IPolygon"},{$ref:"#/definitions/IPolygonWithCurves"},{$ref:"#/definitions/IPolyline"}],description:"The geometry to apply to the spatial filter. A buffer can be applied to it by setting the properties `distance` and `units`."},objectIds:{type:"array",items:{type:"number"},description:"An array of objectIds of the features to be filtered."},spatialRelationship:{description:"For spatial filters, this parameter defines the spatial relationship to filter features in the layer view against the filter geometry."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"A time extent ([timestamp, timestamp]) for a temporal query against time-aware layers."},units:{$ref:"#/definitions/RESTUnits",description:"The unit for calculating the buffer distance when `distance` and `geometry` are provided. If not specified, the unit is derived from the geometry spatial reference."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."}},title:'Pick<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"objectIds"|"spatialRelationship"|"timeExtent"|"units"|"where")>'},WebChartSeries:{type:"object",properties:{type:{type:"string"},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1}},required:["type","id","name","x"],description:"JSON representation of the chart's series object. All other series extends this interface.",title:"WebChartSeries"},WebChartCalendarDatePartsBinning:{type:"object",properties:{trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},start:{type:"number",description:"The binning start date. Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},end:{type:"number",description:"The binning end date Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},offset:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartTemporalBinningUnits"},size:{type:"number"}},required:["unit","size"],description:"Offset to apply to the results Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},unit:{$ref:"#/definitions/WebChartCalendarDatePartsUnits",description:"Represents the unit to use to bin the data."}},required:["unit"],title:"WebChartCalendarDatePartsBinning"},WebChartTemporalBinningBase:{type:"object",properties:{trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},start:{type:"number",description:"The binning start date. Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},end:{type:"number",description:"The binning end date Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},offset:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartTemporalBinningUnits"},size:{type:"number"}},required:["unit","size"],description:"Offset to apply to the results Current limitation: this is applied only when the provided layer supports the `queryBins` operation."}},description:"Describes the basic properties available for a temporal binning",title:"WebChartTemporalBinningBase"},WebChartCalendarDatePartsUnits:{type:"string",enum:["dayOfMonth","dayOfWeek","dayOfYear","hourOfDay","monthOfYear","minuteOfDay","weekOfYear","quarterOfYear"],description:"Represents the units that can be used for calendar-based date parts binning.",title:"WebChartCalendarDatePartsUnits"},WebChartTemporalBinning:{type:"object",properties:{outTimeZone:{type:"string",description:"Defines the [IANA time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) used for temporal bin calculations Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},firstDayOfWeek:{type:"number",description:"The first day of the week. This property is used to determine the start of the week for date-based bins. The default value depends on the user locale (e.g. 7 as Sunday for a USA user, 1 as Monday for a French one). Current limitation: this is applied only when the provided layer supports the `queryBins` operation.",minimum:1,maximum:7,multipleOf:1},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"},trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},start:{type:"number",description:"The binning start date. Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},end:{type:"number",description:"The binning end date Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},offset:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartTemporalBinningUnits"},size:{type:"number"}},required:["unit","size"],description:"Offset to apply to the results Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},unit:{$ref:"#/definitions/WebChartTemporalBinningUnits",description:'The unit of time to use to bin the temporal data. Current limitation: the "quarters" unit is only supported if the provided layer supports the `queryBins` operation.'},size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`. When specific the binning will start at the first or last date of the dataset.",default:"equalIntervalsFromStartTime"}},description:"Describes the properties available for a temporal binning for a bar or line",title:"WebChartTemporalBinning"},WebChartTemporalBinningExtras:{type:"object",properties:{outTimeZone:{type:"string",description:"Defines the [IANA time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) used for temporal bin calculations Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},firstDayOfWeek:{type:"number",description:"The first day of the week. This property is used to determine the start of the week for date-based bins. The default value depends on the user locale (e.g. 7 as Sunday for a USA user, 1 as Monday for a French one). Current limitation: this is applied only when the provided layer supports the `queryBins` operation.",minimum:1,maximum:7,multipleOf:1},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"}},description:"Describes the extra properties available for a temporal series and for the heat chart",title:"WebChartTemporalBinningExtras"},WebChartNullPolicyTypes:{type:"string",enum:["null","zero","interpolate"],description:"Represents the different types of null policy that can be applied to a chart using the time binning feature.",title:"WebChartNullPolicyTypes"},WebChartTimeAggregationTypes:{type:"string",enum:["equalIntervalsFromStartTime","equalIntervalsFromEndTime"],description:"Represents the different types of time aggregation that can be applied to a chart using the time binning feature.",title:"WebChartTimeAggregationTypes"},WebChartTemporalSeries:{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{$ref:"#/definitions/WebChartTemporalBinning",description:"Describes how to bin the temporal data."}},description:"Describes the properties related to a temporal series",title:"WebChartTemporalSeries"},WebChartBarChartSeries:{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{$ref:"#/definitions/WebChartTemporalBinning",description:"Describes how to bin the temporal data."},type:{type:"string",const:"barSeries",description:'Represents a unique string identifier for the BarChartSeries object. For BarSeries object, it is "barSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the columns/bars should be rendered"},hideOversizedStackedLabels:{type:"boolean",description:"When true or undefined (default), the labels displayed within a small stacked column are hidden to avoid cluttering. When false, all the data labels are displayed.",default:!0},hideOversizedSideBySideLabels:{type:"boolean",description:"When true, the labels displayed within a small column for sideBySide bar series are hidden to avoid cluttering. When false or undefined (default), all the data labels are displayed.",default:!1}},required:["id","name","type","x","y"],description:"[Bar chart](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/bar-chart.htm) shows the categorical distribution of String/DateTime data.",title:"WebChartBarChartSeries"},HistogramOverlays:{type:"object",properties:{type:{type:"string",const:"chartOverlays",description:'Represents a unique string identifier for the HistogramOverlays object. For HistogramOverlays object, it is "chartOverlays".'},mean:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the mean overlay for histogram. If not provided, the mean overlay is not displayed."},median:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the median overlay for histogram. If not provided, the median overlay is not displayed."},standardDeviation:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the standard deviation overlay for histogram. If not provided, the standard deviation overlay is not displayed."},comparisonDistribution:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the comparison distribution overlay for histogram. If not provided, the comparison distribution overlay is not displayed."}},required:["type"],description:"Object containing Histogram overlays",title:"HistogramOverlays"},WebChartHistogramSeries:{type:"object",properties:{type:{type:"string",const:"histogramSeries",description:'Represents a unique string identifier for the HistogramSeries object. For BarSeries object, it is "histogramSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},binCount:{type:["number","null"],description:"Bin count must be a positive integer.",minimum:1,multipleOf:1,default:32},overlays:{$ref:"#/definitions/HistogramOverlays",description:"Specifies the chart overlays. Histogram supports 4 overlays: **mean**, **median**, **standardDeviation** and **comparisonDistribution**. The overlays won't show if the property is not defined."},dataTransformationType:{$ref:"#/definitions/WebChartDataTransformations",description:"Specifies how the data should be transformed (e.g. square root, log, etc.) before binning."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the columns/bars should be rendered"}},required:["id","name","type","x"],description:"[Histogram](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/histogram.htm) shows the numerical(frequency) distribution of a numerical field.",title:"WebChartHistogramSeries"},WebChartDataTransformations:{type:"string",enum:["none","logarithmic","squareRoot"],title:"WebChartDataTransformations"},ScatterplotOverlays:{type:"object",properties:{type:{type:"string",const:"chartOverlays",description:'Represents a unique string identifier for the ScatterplotOverlays object. For ScatterplotOverlays object, it is "chartOverlays".'},trendLine:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the trendline overlay for scatter plot. The trendline won't show if the property is not defined."}},required:["type"],description:"Object containing Scatter Plot overlays",title:"ScatterplotOverlays"},SizePolicy:{type:"object",properties:{type:{type:"string",const:"sizeScale",description:'Represents a unique string identifier for the sizePolicy object. For sizePolicy object, it is "sizeScale".'},scaleType:{$ref:"#/definitions/SizePolicyScaleTypes",description:"The type of scale to apply to the markers (linear or logarithmic)",default:"SizePolicyScaleTypes.Linear"},field:{type:"string",description:"The field which determines the markers size"},minSize:{type:"number",description:"The minimum marker size",default:5,multipleOf:1},maxSize:{type:"number",description:"The maximum marker size",default:30,multipleOf:1}},required:["type","field"],title:"SizePolicy"},SizePolicyScaleTypes:{type:"string",enum:["linear","logarithmic"],description:"Represents the types of scales that can be applied to the size policy. Use by bubble charts (scatterplot).",title:"SizePolicyScaleTypes"},WebChartScatterplotSeries:{type:"object",properties:{type:{type:"string",const:"scatterSeries",description:'Represents a unique string identifier for the ScatterSeries object. For ScatterSeries object, it is "scatterSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},markerSymbol:{$ref:"#/definitions/ISimpleMarkerSymbol",description:'Specifies how each data point in the scatter plot should be rendered. The type is `"esriSMS"` and it is adopted from the [REST API Types](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm#GUID-C8D40B32-5F4B-45EB-8048-6D5A8763E13B).'},overlays:{$ref:"#/definitions/ScatterplotOverlays",description:"Specifies all the chart overlays. The scatter plot implements only 1 overlay, **trendLine**. The overlays won't show if the property is not defined."},sizePolicy:{$ref:"#/definitions/SizePolicy",description:"Specifies rules to use the scatter plot as bubble plot, by changing dynamically the markers size according to a specific field value"}},required:["id","name","type","x","y"],description:"[Scatter plot](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/scatter-plot.htm) shows the relationship between two numerical fields.",title:"WebChartScatterplotSeries"},ISimpleMarkerSymbol:{type:"object",properties:{type:{type:"string",const:"esriSMS"},style:{$ref:"#/definitions/SimpleMarkerSymbolStyle"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},color:{$ref:"#/definitions/Color"},size:{type:"number"},outline:{$ref:"#/definitions/ISimpleLineSymbol"}},required:["type"],title:"ISimpleMarkerSymbol"},IMarkerSymbol:{type:"object",properties:{type:{$ref:"#/definitions/SymbolType"},style:{type:"string"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"}},required:["type"],title:"IMarkerSymbol"},SimpleMarkerSymbolStyle:{type:"string",enum:["esriSMSCircle","esriSMSCross","esriSMSDiamond","esriSMSSquare","esriSMSTriangle","esriSMSX"],title:"SimpleMarkerSymbolStyle"},WebChartPieChartTick:{type:"object",properties:{type:{type:"string",const:"pieTick",description:'Represents a unique string identifier for the WebChartPieChartTick object. For PieTick object, it is "pieTick".'},visible:{type:"boolean",description:"Determines the visibility of the tick. Assigning the `true` value will only be considered when the data labels are visible (`series.dataLabels.visible`) and when the data label associated to the tick is outside of the chart (`series.dataLabelsOffset` > 0)."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the pie chart ticks should be rendered"}},required:["type"],description:"JSON representation of the pie ticks.",title:"WebChartPieChartTick"},WebChartPieChartSlice:{type:"object",properties:{sliceId:{type:"string",description:"A unique string used identify the slice of a pie chart."},originalLabel:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"The slice's original label."},label:{type:"string",description:"Custom label for the slice. For grouped slice, the default value is `Other`. For regular slice, it will be either the category or field name."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slice should be rendered. If not provided, the slice will be styled with default values."}},required:["sliceId"],description:"JSON representation of the pie slices",title:"WebChartPieChartSlice"},WebChartPieChartGroupSlice:{type:"object",properties:{sliceId:{type:"string",description:"A unique string used identify the slice of a pie chart."},originalLabel:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"The slice's original label."},label:{type:"string",description:"Custom label for the slice. For grouped slice, the default value is `Other`. For regular slice, it will be either the category or field name."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slice should be rendered. If not provided, the slice will be styled with default values."},percentageThreshold:{type:"number",description:"Slices that have a percent value equal or lesser to this threshold are grouped into a unique slice"},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the grouped slice data labels should be rendered. If the property is not set the `series.dataLabels` will be used instead."}},required:["percentageThreshold","sliceId"],description:"JSON representation of the pie grouped slice",title:"WebChartPieChartGroupSlice"},WebChartPieChartSeries:{type:"object",properties:{type:{type:"string",const:"pieSeries",description:'Represents a unique string identifier for the PieSeries object. For PieSeries object, it is "pieSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},innerRadius:{type:["number","null"],description:"Represents the size of the hole in middle of the chart. The number is used as a percentage rather than a fixed value.",minimum:0,maximum:100,default:50},startAngle:{type:["number","null"],default:-90},endAngle:{type:["number","null"],default:270},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slices should be rendered"},displayCategoryOnDataLabel:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed on its data label. This property will be ignored if the chart options `dataLabelFormatter` is provided.",default:!0},displayNumericValueOnDataLabel:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed on its data label. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`. This property will be ignored if the chart options `dataLabelFormatter` is provided.",default:!0},displayPercentageOnDataLabel:{type:"boolean",description:"Indicates whether the percentage associated to a slice is to be displayed on its data label. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `dataLabelFormatter` is provided.",default:!1},displayCategoryOnTooltip:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed on its tooltip. This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},displayNumericValueOnTooltip:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed on its tooltip. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},displayPercentageOnTooltip:{type:"boolean",description:"Indicates whether the percentage associated to a slice is to be displayed on its tooltip. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},numericValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Specifies how the numerical values should be formatted (applied to label, tooltip and legend). Can be overridden for the tooltips by series.dataTooltipValueFormat."},percentValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Specifies how the percent values should be formatted (applied to label, tooltip and legend) Can be overridden for the tooltips by series.dataTooltipPercentFormat."},valuePrefix:{type:"string",description:"Adds a prefix to all the values displayed on the pie chart: data labels, tooltips and legend"},valueSuffix:{type:"string",description:"Adds a suffix to all the values displayed on the pie chart: data labels, tooltips and legend"},percentagePrefix:{type:"string",description:"Adds a prefix to all the percentages displayed on the pie chart: data labels, tooltips and legend"},percentageSuffix:{type:"string",description:"Adds a suffix to all the percentages displayed on the pie chart: data labels, tooltips and legend"},dataLabelsCharacterLimit:{type:["number","null"],description:'If set, the category on the data label is truncated to display only `characterLimit` characters, and an ellipsis ("...") is added to the end of the label. This does not affect the value and percentage part of the labels. Does not apply to tooltips and legend labels.',default:"undefined",minimum:1,multipleOf:1},ticks:{$ref:"#/definitions/WebChartPieChartTick",description:"Specifies how to render the ticks shown on each slide. Ticks will be displayed with default values if not provided."},dataLabelsInside:{type:"boolean",description:`Whether to place the data labels inside the pie slices. When set to \`true\` the following properties will be ignored:
|
|
3
|
+
v4.34.0-next.130 */
|
|
4
|
+
import{A as hr,B as ri,C as Fe,G as yr,H as Ct,I as Le,V as ua,a as C,b as ae,c as ei,e as oa,f as er,h as rt,i as la,k as Pe,l as it,n as da,o as kt,q as lt,s as pa,t as ca,v as Nt,w as ue,x as Wt,y as ti,z as Mt}from"./4GG7HY42.js";import{b as fa,c as ye,d as me}from"./AL5IVVUW.js";import{G as he}from"./64E6TZ4H.js";import{b as W,d as na}from"./MRIP4WI5.js";export default $arcgis.t(([{substitute:Ne},qi,Rn,jn,xd,Li,Cd,Td,Pd,Fd,Ad,Ed,qn,Bi])=>{var wa=W((gr,Sa)=>{(function(t,e){typeof gr=="object"&&typeof Sa<"u"?e(gr):typeof define=="function"&&define.amd?define(["exports"],e):e(t.URI=t.URI||{})})(gr,function(t){"use strict";function e(){for(var g=arguments.length,h=Array(g),v=0;v<g;v++)h[v]=arguments[v];if(h.length>1){h[0]=h[0].slice(0,-1);for(var w=h.length-1,x=1;x<w;++x)h[x]=h[x].slice(1,-1);return h[w]=h[w].slice(1),h.join("")}else return h[0]}function i(g){return"(?:"+g+")"}function a(g){return g===void 0?"undefined":g===null?"null":Object.prototype.toString.call(g).split(" ").pop().split("]").shift().toLowerCase()}function r(g){return g.toUpperCase()}function s(g){return g!=null?g instanceof Array?g:typeof g.length!="number"||g.split||g.setInterval||g.call?[g]:Array.prototype.slice.call(g):[]}function o(g,h){var v=g;if(h)for(var w in h)v[w]=h[w];return v}function n(g){var h="[A-Za-z]",v="[\\x0D]",w="[0-9]",x="[\\x22]",j=e(w,"[A-Fa-f]"),M="[\\x0A]",Q="[\\x20]",X=i(i("%[EFef]"+j+"%"+j+j+"%"+j+j)+"|"+i("%[89A-Fa-f]"+j+"%"+j+j)+"|"+i("%"+j+j)),ve="[\\:\\/\\?\\#\\[\\]\\@]",H="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",oe=e(ve,H),Se=g?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",ne=g?"[\\uE000-\\uF8FF]":"[]",K=e(h,w,"[\\-\\.\\_\\~]",Se),le=i(h+e(h,w,"[\\+\\-\\.]")+"*"),te=i(i(X+"|"+e(K,H,"[\\:]"))+"*"),wt=i(i("25[0-5]")+"|"+i("2[0-4]"+w)+"|"+i("1"+w+w)+"|"+i("[1-9]"+w)+"|"+w),je=i(i("25[0-5]")+"|"+i("2[0-4]"+w)+"|"+i("1"+w+w)+"|"+i("0?[1-9]"+w)+"|0?0?"+w),Be=i(je+"\\."+je+"\\."+je+"\\."+je),ie=i(j+"{1,4}"),_e=i(i(ie+"\\:"+ie)+"|"+Be),ke=i(i(ie+"\\:")+"{6}"+_e),Qe=i("\\:\\:"+i(ie+"\\:")+"{5}"+_e),It=i(i(ie)+"?\\:\\:"+i(ie+"\\:")+"{4}"+_e),Xe=i(i(i(ie+"\\:")+"{0,1}"+ie)+"?\\:\\:"+i(ie+"\\:")+"{3}"+_e),Jt=i(i(i(ie+"\\:")+"{0,2}"+ie)+"?\\:\\:"+i(ie+"\\:")+"{2}"+_e),cr=i(i(i(ie+"\\:")+"{0,3}"+ie)+"?\\:\\:"+ie+"\\:"+_e),ur=i(i(i(ie+"\\:")+"{0,4}"+ie)+"?\\:\\:"+_e),Lt=i(i(i(ie+"\\:")+"{0,5}"+ie)+"?\\:\\:"+ie),Rt=i(i(i(ie+"\\:")+"{0,6}"+ie)+"?\\:\\:"),et=i([ke,Qe,It,Xe,Jt,cr,ur,Lt,Rt].join("|")),jt=i(i(K+"|"+X)+"+"),Yr=i(et+"\\%25"+jt),xt=i(et+i("\\%25|\\%(?!"+j+"{2})")+jt),Po=i("[vV]"+j+"+\\."+e(K,H,"[\\:]")+"+"),Fo=i("\\["+i(xt+"|"+et+"|"+Po)+"\\]"),ra=i(i(X+"|"+e(K,H))+"*"),Kt=i(Fo+"|"+Be+"(?!"+ra+")|"+ra),Zt=i(w+"*"),ia=i(i(te+"@")+"?"+Kt+i("\\:"+Zt)+"?"),Yt=i(X+"|"+e(K,H,"[\\:\\@]")),Ao=i(Yt+"*"),aa=i(Yt+"+"),Eo=i(i(X+"|"+e(K,H,"[\\@]"))+"+"),tt=i(i("\\/"+Ao)+"*"),_t=i("\\/"+i(aa+tt)+"?"),Xr=i(Eo+tt),fr=i(aa+tt),qt="(?!"+Yt+")",ru=i(tt+"|"+_t+"|"+Xr+"|"+fr+"|"+qt),Bt=i(i(Yt+"|"+e("[\\/\\?]",ne))+"*"),Xt=i(i(Yt+"|[\\/\\?]")+"*"),sa=i(i("\\/\\/"+ia+tt)+"|"+_t+"|"+fr+"|"+qt),$o=i(le+"\\:"+sa+i("\\?"+Bt)+"?"+i("\\#"+Xt)+"?"),Oo=i(i("\\/\\/"+ia+tt)+"|"+_t+"|"+Xr+"|"+qt),Do=i(Oo+i("\\?"+Bt)+"?"+i("\\#"+Xt)+"?"),iu=i($o+"|"+Do),au=i(le+"\\:"+sa+i("\\?"+Bt)+"?"),su="^("+le+")\\:"+i(i("\\/\\/("+i("("+te+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?)")+"?("+tt+"|"+_t+"|"+fr+"|"+qt+")")+i("\\?("+Bt+")")+"?"+i("\\#("+Xt+")")+"?$",nu="^(){0}"+i(i("\\/\\/("+i("("+te+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?)")+"?("+tt+"|"+_t+"|"+Xr+"|"+qt+")")+i("\\?("+Bt+")")+"?"+i("\\#("+Xt+")")+"?$",ou="^("+le+")\\:"+i(i("\\/\\/("+i("("+te+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?)")+"?("+tt+"|"+_t+"|"+fr+"|"+qt+")")+i("\\?("+Bt+")")+"?$",lu="^"+i("\\#("+Xt+")")+"?$",du="^"+i("("+te+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?$";return{NOT_SCHEME:new RegExp(e("[^]",h,w,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(e("[^\\%\\:]",K,H),"g"),NOT_HOST:new RegExp(e("[^\\%\\[\\]\\:]",K,H),"g"),NOT_PATH:new RegExp(e("[^\\%\\/\\:\\@]",K,H),"g"),NOT_PATH_NOSCHEME:new RegExp(e("[^\\%\\/\\@]",K,H),"g"),NOT_QUERY:new RegExp(e("[^\\%]",K,H,"[\\:\\@\\/\\?]",ne),"g"),NOT_FRAGMENT:new RegExp(e("[^\\%]",K,H,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(e("[^]",K,H),"g"),UNRESERVED:new RegExp(K,"g"),OTHER_CHARS:new RegExp(e("[^\\%]",K,oe),"g"),PCT_ENCODED:new RegExp(X,"g"),IPV4ADDRESS:new RegExp("^("+Be+")$"),IPV6ADDRESS:new RegExp("^\\[?("+et+")"+i(i("\\%25|\\%(?!"+j+"{2})")+"("+jt+")")+"?\\]?$")}}var d=n(!1),u=n(!0),p=function(){function g(h,v){var w=[],x=!0,j=!1,M=void 0;try{for(var Q=h[Symbol.iterator](),X;!(x=(X=Q.next()).done)&&(w.push(X.value),!(v&&w.length===v));x=!0);}catch(ve){j=!0,M=ve}finally{try{!x&&Q.return&&Q.return()}finally{if(j)throw M}}return w}return function(h,v){if(Array.isArray(h))return h;if(Symbol.iterator in Object(h))return g(h,v);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),c=function(g){if(Array.isArray(g)){for(var h=0,v=Array(g.length);h<g.length;h++)v[h]=g[h];return v}else return Array.from(g)},f=2147483647,l=36,y=1,b=26,m=38,S=700,T=72,I=128,P="-",F=/^xn--/,$=/[^\0-\x7E]/,_=/[\x2E\u3002\uFF0E\uFF61]/g,L={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},A=l-y,R=Math.floor,O=String.fromCharCode;function q(g){throw new RangeError(L[g])}function E(g,h){for(var v=[],w=g.length;w--;)v[w]=h(g[w]);return v}function D(g,h){var v=g.split("@"),w="";v.length>1&&(w=v[0]+"@",g=v[1]),g=g.replace(_,".");var x=g.split("."),j=E(x,h).join(".");return w+j}function B(g){for(var h=[],v=0,w=g.length;v<w;){var x=g.charCodeAt(v++);if(x>=55296&&x<=56319&&v<w){var j=g.charCodeAt(v++);(j&64512)==56320?h.push(((x&1023)<<10)+(j&1023)+65536):(h.push(x),v--)}else h.push(x)}return h}var ee=function(h){return String.fromCodePoint.apply(String,c(h))},V=function(h){return h-48<10?h-22:h-65<26?h-65:h-97<26?h-97:l},G=function(h,v){return h+22+75*(h<26)-((v!=0)<<5)},z=function(h,v,w){var x=0;for(h=w?R(h/S):h>>1,h+=R(h/v);h>A*b>>1;x+=l)h=R(h/A);return R(x+(A+1)*h/(h+m))},N=function(h){var v=[],w=h.length,x=0,j=I,M=T,Q=h.lastIndexOf(P);Q<0&&(Q=0);for(var X=0;X<Q;++X)h.charCodeAt(X)>=128&&q("not-basic"),v.push(h.charCodeAt(X));for(var ve=Q>0?Q+1:0;ve<w;){for(var H=x,oe=1,Se=l;;Se+=l){ve>=w&&q("invalid-input");var ne=V(h.charCodeAt(ve++));(ne>=l||ne>R((f-x)/oe))&&q("overflow"),x+=ne*oe;var K=Se<=M?y:Se>=M+b?b:Se-M;if(ne<K)break;var le=l-K;oe>R(f/le)&&q("overflow"),oe*=le}var te=v.length+1;M=z(x-H,te,H==0),R(x/te)>f-j&&q("overflow"),j+=R(x/te),x%=te,v.splice(x++,0,j)}return String.fromCodePoint.apply(String,v)},pe=function(h){var v=[];h=B(h);var w=h.length,x=I,j=0,M=T,Q=!0,X=!1,ve=void 0;try{for(var H=h[Symbol.iterator](),oe;!(Q=(oe=H.next()).done);Q=!0){var Se=oe.value;Se<128&&v.push(O(Se))}}catch(xt){X=!0,ve=xt}finally{try{!Q&&H.return&&H.return()}finally{if(X)throw ve}}var ne=v.length,K=ne;for(ne&&v.push(P);K<w;){var le=f,te=!0,wt=!1,je=void 0;try{for(var Be=h[Symbol.iterator](),ie;!(te=(ie=Be.next()).done);te=!0){var _e=ie.value;_e>=x&&_e<le&&(le=_e)}}catch(xt){wt=!0,je=xt}finally{try{!te&&Be.return&&Be.return()}finally{if(wt)throw je}}var ke=K+1;le-x>R((f-j)/ke)&&q("overflow"),j+=(le-x)*ke,x=le;var Qe=!0,It=!1,Xe=void 0;try{for(var Jt=h[Symbol.iterator](),cr;!(Qe=(cr=Jt.next()).done);Qe=!0){var ur=cr.value;if(ur<x&&++j>f&&q("overflow"),ur==x){for(var Lt=j,Rt=l;;Rt+=l){var et=Rt<=M?y:Rt>=M+b?b:Rt-M;if(Lt<et)break;var jt=Lt-et,Yr=l-et;v.push(O(G(et+jt%Yr,0))),Lt=R(jt/Yr)}v.push(O(G(Lt,0))),M=z(j,ke,K==ne),j=0,++K}}}catch(xt){It=!0,Xe=xt}finally{try{!Qe&&Jt.return&&Jt.return()}finally{if(It)throw Xe}}++j,++x}return v.join("")},Ce=function(h){return D(h,function(v){return F.test(v)?N(v.slice(4).toLowerCase()):v})},Ee=function(h){return D(h,function(v){return $.test(v)?"xn--"+pe(v):v})},J={version:"2.1.0",ucs2:{decode:B,encode:ee},decode:N,encode:pe,toASCII:Ee,toUnicode:Ce},ge={};function we(g){var h=g.charCodeAt(0),v=void 0;return h<16?v="%0"+h.toString(16).toUpperCase():h<128?v="%"+h.toString(16).toUpperCase():h<2048?v="%"+(h>>6|192).toString(16).toUpperCase()+"%"+(h&63|128).toString(16).toUpperCase():v="%"+(h>>12|224).toString(16).toUpperCase()+"%"+(h>>6&63|128).toString(16).toUpperCase()+"%"+(h&63|128).toString(16).toUpperCase(),v}function $e(g){for(var h="",v=0,w=g.length;v<w;){var x=parseInt(g.substr(v+1,2),16);if(x<128)h+=String.fromCharCode(x),v+=3;else if(x>=194&&x<224){if(w-v>=6){var j=parseInt(g.substr(v+4,2),16);h+=String.fromCharCode((x&31)<<6|j&63)}else h+=g.substr(v,6);v+=6}else if(x>=224){if(w-v>=9){var M=parseInt(g.substr(v+4,2),16),Q=parseInt(g.substr(v+7,2),16);h+=String.fromCharCode((x&15)<<12|(M&63)<<6|Q&63)}else h+=g.substr(v,9);v+=9}else h+=g.substr(v,3),v+=3}return h}function nt(g,h){function v(w){var x=$e(w);return x.match(h.UNRESERVED)?x:w}return g.scheme&&(g.scheme=String(g.scheme).replace(h.PCT_ENCODED,v).toLowerCase().replace(h.NOT_SCHEME,"")),g.userinfo!==void 0&&(g.userinfo=String(g.userinfo).replace(h.PCT_ENCODED,v).replace(h.NOT_USERINFO,we).replace(h.PCT_ENCODED,r)),g.host!==void 0&&(g.host=String(g.host).replace(h.PCT_ENCODED,v).toLowerCase().replace(h.NOT_HOST,we).replace(h.PCT_ENCODED,r)),g.path!==void 0&&(g.path=String(g.path).replace(h.PCT_ENCODED,v).replace(g.scheme?h.NOT_PATH:h.NOT_PATH_NOSCHEME,we).replace(h.PCT_ENCODED,r)),g.query!==void 0&&(g.query=String(g.query).replace(h.PCT_ENCODED,v).replace(h.NOT_QUERY,we).replace(h.PCT_ENCODED,r)),g.fragment!==void 0&&(g.fragment=String(g.fragment).replace(h.PCT_ENCODED,v).replace(h.NOT_FRAGMENT,we).replace(h.PCT_ENCODED,r)),g}function Ze(g){return g.replace(/^0*(.*)/,"$1")||"0"}function be(g,h){var v=g.match(h.IPV4ADDRESS)||[],w=p(v,2),x=w[1];return x?x.split(".").map(Ze).join("."):g}function ce(g,h){var v=g.match(h.IPV6ADDRESS)||[],w=p(v,3),x=w[1],j=w[2];if(x){for(var M=x.toLowerCase().split("::").reverse(),Q=p(M,2),X=Q[0],ve=Q[1],H=ve?ve.split(":").map(Ze):[],oe=X.split(":").map(Ze),Se=h.IPV4ADDRESS.test(oe[oe.length-1]),ne=Se?7:8,K=oe.length-ne,le=Array(ne),te=0;te<ne;++te)le[te]=H[te]||oe[K+te]||"";Se&&(le[ne-1]=be(le[ne-1],h));var wt=le.reduce(function(ke,Qe,It){if(!Qe||Qe==="0"){var Xe=ke[ke.length-1];Xe&&Xe.index+Xe.length===It?Xe.length++:ke.push({index:It,length:1})}return ke},[]),je=wt.sort(function(ke,Qe){return Qe.length-ke.length})[0],Be=void 0;if(je&&je.length>1){var ie=le.slice(0,je.index),_e=le.slice(je.index+je.length);Be=ie.join(":")+"::"+_e.join(":")}else Be=le.join(":");return j&&(Be+="%"+j),Be}else return g}var bt=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Te="".match(/(){0}/)[1]===void 0;function Y(g){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v={},w=h.iri!==!1?u:d;h.reference==="suffix"&&(g=(h.scheme?h.scheme+":":"")+"//"+g);var x=g.match(bt);if(x){Te?(v.scheme=x[1],v.userinfo=x[3],v.host=x[4],v.port=parseInt(x[5],10),v.path=x[6]||"",v.query=x[7],v.fragment=x[8],isNaN(v.port)&&(v.port=x[5])):(v.scheme=x[1]||void 0,v.userinfo=g.indexOf("@")!==-1?x[3]:void 0,v.host=g.indexOf("//")!==-1?x[4]:void 0,v.port=parseInt(x[5],10),v.path=x[6]||"",v.query=g.indexOf("?")!==-1?x[7]:void 0,v.fragment=g.indexOf("#")!==-1?x[8]:void 0,isNaN(v.port)&&(v.port=g.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?x[4]:void 0)),v.host&&(v.host=ce(be(v.host,w),w)),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",h.reference&&h.reference!=="suffix"&&h.reference!==v.reference&&(v.error=v.error||"URI is not a "+h.reference+" reference.");var j=ge[(h.scheme||v.scheme||"").toLowerCase()];if(!h.unicodeSupport&&(!j||!j.unicodeSupport)){if(v.host&&(h.domainHost||j&&j.domainHost))try{v.host=J.toASCII(v.host.replace(w.PCT_ENCODED,$e).toLowerCase())}catch(M){v.error=v.error||"Host's domain name can not be converted to ASCII via punycode: "+M}nt(v,d)}else nt(v,w);j&&j.parse&&j.parse(v,h)}else v.error=v.error||"URI can not be parsed.";return v}function ot(g,h){var v=h.iri!==!1?u:d,w=[];return g.userinfo!==void 0&&(w.push(g.userinfo),w.push("@")),g.host!==void 0&&w.push(ce(be(String(g.host),v),v).replace(v.IPV6ADDRESS,function(x,j,M){return"["+j+(M?"%25"+M:"")+"]"})),(typeof g.port=="number"||typeof g.port=="string")&&(w.push(":"),w.push(String(g.port))),w.length?w.join(""):void 0}var Ye=/^\.\.?\//,vt=/^\/\.(\/|$)/,St=/^\/\.\.(\/|$)/,Ie=/^\/?(?:.|\n)*?(?=\/|$)/;function qe(g){for(var h=[];g.length;)if(g.match(Ye))g=g.replace(Ye,"");else if(g.match(vt))g=g.replace(vt,"/");else if(g.match(St))g=g.replace(St,"/"),h.pop();else if(g==="."||g==="..")g="";else{var v=g.match(Ie);if(v){var w=v[0];g=g.slice(w.length),h.push(w)}else throw new Error("Unexpected dot segment condition")}return h.join("")}function De(g){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=h.iri?u:d,w=[],x=ge[(h.scheme||g.scheme||"").toLowerCase()];if(x&&x.serialize&&x.serialize(g,h),g.host&&!v.IPV6ADDRESS.test(g.host)){if(h.domainHost||x&&x.domainHost)try{g.host=h.iri?J.toUnicode(g.host):J.toASCII(g.host.replace(v.PCT_ENCODED,$e).toLowerCase())}catch(Q){g.error=g.error||"Host's domain name can not be converted to "+(h.iri?"Unicode":"ASCII")+" via punycode: "+Q}}nt(g,v),h.reference!=="suffix"&&g.scheme&&(w.push(g.scheme),w.push(":"));var j=ot(g,h);if(j!==void 0&&(h.reference!=="suffix"&&w.push("//"),w.push(j),g.path&&g.path.charAt(0)!=="/"&&w.push("/")),g.path!==void 0){var M=g.path;!h.absolutePath&&(!x||!x.absolutePath)&&(M=qe(M)),j===void 0&&(M=M.replace(/^\/\//,"/%2F")),w.push(M)}return g.query!==void 0&&(w.push("?"),w.push(g.query)),g.fragment!==void 0&&(w.push("#"),w.push(g.fragment)),w.join("")}function Oe(g,h){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},w=arguments[3],x={};return w||(g=Y(De(g,v),v),h=Y(De(h,v),v)),v=v||{},!v.tolerant&&h.scheme?(x.scheme=h.scheme,x.userinfo=h.userinfo,x.host=h.host,x.port=h.port,x.path=qe(h.path||""),x.query=h.query):(h.userinfo!==void 0||h.host!==void 0||h.port!==void 0?(x.userinfo=h.userinfo,x.host=h.host,x.port=h.port,x.path=qe(h.path||""),x.query=h.query):(h.path?(h.path.charAt(0)==="/"?x.path=qe(h.path):((g.userinfo!==void 0||g.host!==void 0||g.port!==void 0)&&!g.path?x.path="/"+h.path:g.path?x.path=g.path.slice(0,g.path.lastIndexOf("/")+1)+h.path:x.path=h.path,x.path=qe(x.path)),x.query=h.query):(x.path=g.path,h.query!==void 0?x.query=h.query:x.query=g.query),x.userinfo=g.userinfo,x.host=g.host,x.port=g.port),x.scheme=g.scheme),x.fragment=h.fragment,x}function Ge(g,h,v){var w=o({scheme:"null"},v);return De(Oe(Y(g,w),Y(h,w),w,!0),w)}function Re(g,h){return typeof g=="string"?g=De(Y(g,h),h):a(g)==="object"&&(g=Y(De(g,h),h)),g}function pr(g,h,v){return typeof g=="string"?g=De(Y(g,v),v):a(g)==="object"&&(g=De(g,v)),typeof h=="string"?h=De(Y(h,v),v):a(h)==="object"&&(h=De(h,v)),g===h}function Kr(g,h){return g&&g.toString().replace(!h||!h.iri?d.ESCAPE:u.ESCAPE,we)}function We(g,h){return g&&g.toString().replace(!h||!h.iri?d.PCT_ENCODED:u.PCT_ENCODED,$e)}var Ht={scheme:"http",domainHost:!0,parse:function(h,v){return h.host||(h.error=h.error||"HTTP URIs must have a host."),h},serialize:function(h,v){var w=String(h.scheme).toLowerCase()==="https";return(h.port===(w?443:80)||h.port==="")&&(h.port=void 0),h.path||(h.path="/"),h}},Qi={scheme:"https",domainHost:Ht.domainHost,parse:Ht.parse,serialize:Ht.serialize};function Ji(g){return typeof g.secure=="boolean"?g.secure:String(g.scheme).toLowerCase()==="wss"}var Qt={scheme:"ws",domainHost:!0,parse:function(h,v){var w=h;return w.secure=Ji(w),w.resourceName=(w.path||"/")+(w.query?"?"+w.query:""),w.path=void 0,w.query=void 0,w},serialize:function(h,v){if((h.port===(Ji(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 w=h.resourceName.split("?"),x=p(w,2),j=x[0],M=x[1];h.path=j&&j!=="/"?j:void 0,h.query=M,h.resourceName=void 0}return h.fragment=void 0,h}},Ki={scheme:"wss",domainHost:Qt.domainHost,parse:Qt.parse,serialize:Qt.serialize},ho={},yo=!0,Zi="[A-Za-z0-9\\-\\.\\_\\~"+(yo?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",He="[0-9A-Fa-f]",mo=i(i("%[EFef]"+He+"%"+He+He+"%"+He+He)+"|"+i("%[89A-Fa-f]"+He+"%"+He+He)+"|"+i("%"+He+He)),go="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",bo="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",vo=e(bo,'[\\"\\\\]'),So="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",wo=new RegExp(Zi,"g"),Dt=new RegExp(mo,"g"),Io=new RegExp(e("[^]",go,"[\\.]",'[\\"]',vo),"g"),Yi=new RegExp(e("[^]",Zi,So),"g"),xo=Yi;function Zr(g){var h=$e(g);return h.match(wo)?h:g}var Xi={scheme:"mailto",parse:function(h,v){var w=h,x=w.to=w.path?w.path.split(","):[];if(w.path=void 0,w.query){for(var j=!1,M={},Q=w.query.split("&"),X=0,ve=Q.length;X<ve;++X){var H=Q[X].split("=");switch(H[0]){case"to":for(var oe=H[1].split(","),Se=0,ne=oe.length;Se<ne;++Se)x.push(oe[Se]);break;case"subject":w.subject=We(H[1],v);break;case"body":w.body=We(H[1],v);break;default:j=!0,M[We(H[0],v)]=We(H[1],v);break}}j&&(w.headers=M)}w.query=void 0;for(var K=0,le=x.length;K<le;++K){var te=x[K].split("@");if(te[0]=We(te[0]),v.unicodeSupport)te[1]=We(te[1],v).toLowerCase();else try{te[1]=J.toASCII(We(te[1],v).toLowerCase())}catch(wt){w.error=w.error||"Email address's domain name can not be converted to ASCII via punycode: "+wt}x[K]=te.join("@")}return w},serialize:function(h,v){var w=h,x=s(h.to);if(x){for(var j=0,M=x.length;j<M;++j){var Q=String(x[j]),X=Q.lastIndexOf("@"),ve=Q.slice(0,X).replace(Dt,Zr).replace(Dt,r).replace(Io,we),H=Q.slice(X+1);try{H=v.iri?J.toUnicode(H):J.toASCII(We(H,v).toLowerCase())}catch(K){w.error=w.error||"Email address's domain name can not be converted to "+(v.iri?"Unicode":"ASCII")+" via punycode: "+K}x[j]=ve+"@"+H}w.path=x.join(",")}var oe=h.headers=h.headers||{};h.subject&&(oe.subject=h.subject),h.body&&(oe.body=h.body);var Se=[];for(var ne in oe)oe[ne]!==ho[ne]&&Se.push(ne.replace(Dt,Zr).replace(Dt,r).replace(Yi,we)+"="+oe[ne].replace(Dt,Zr).replace(Dt,r).replace(xo,we));return Se.length&&(w.query=Se.join("&")),w}},Co=/^([^\:]+)\:(.*)/,ea={scheme:"urn",parse:function(h,v){var w=h.path&&h.path.match(Co),x=h;if(w){var j=v.scheme||x.scheme||"urn",M=w[1].toLowerCase(),Q=w[2],X=j+":"+(v.nid||M),ve=ge[X];x.nid=M,x.nss=Q,x.path=void 0,ve&&(x=ve.parse(x,v))}else x.error=x.error||"URN can not be parsed.";return x},serialize:function(h,v){var w=v.scheme||h.scheme||"urn",x=h.nid,j=w+":"+(v.nid||x),M=ge[j];M&&(h=M.serialize(h,v));var Q=h,X=h.nss;return Q.path=(x||v.nid)+":"+X,Q}},To=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,ta={scheme:"urn:uuid",parse:function(h,v){var w=h;return w.uuid=w.nss,w.nss=void 0,!v.tolerant&&(!w.uuid||!w.uuid.match(To))&&(w.error=w.error||"UUID is not valid."),w},serialize:function(h,v){var w=h;return w.nss=(h.uuid||"").toLowerCase(),w}};ge[Ht.scheme]=Ht,ge[Qi.scheme]=Qi,ge[Qt.scheme]=Qt,ge[Ki.scheme]=Ki,ge[Xi.scheme]=Xi,ge[ea.scheme]=ea,ge[ta.scheme]=ta,t.SCHEMES=ge,t.pctEncChar=we,t.pctDecChars=$e,t.parse=Y,t.removeDotSegments=qe,t.serialize=De,t.resolveComponents=Oe,t.resolve=Ge,t.normalize=Re,t.equal=pr,t.escapeComponent=Kr,t.unescapeComponent=We,Object.defineProperty(t,"__esModule",{value:!0})})});var br=W((_u,Ia)=>{"use strict";Ia.exports=function t(e,i){if(e===i)return!0;if(e&&i&&typeof e=="object"&&typeof i=="object"){if(e.constructor!==i.constructor)return!1;var a,r,s;if(Array.isArray(e)){if(a=e.length,a!=i.length)return!1;for(r=a;r--!==0;)if(!t(e[r],i[r]))return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===i.toString();if(s=Object.keys(e),a=s.length,a!==Object.keys(i).length)return!1;for(r=a;r--!==0;)if(!Object.prototype.hasOwnProperty.call(i,s[r]))return!1;for(r=a;r--!==0;){var o=s[r];if(!t(e[o],i[o]))return!1}return!0}return e!==e&&i!==i}});var Ca=W((qu,xa)=>{"use strict";xa.exports=function(e){for(var i=0,a=e.length,r=0,s;r<a;)i++,s=e.charCodeAt(r++),s>=55296&&s<=56319&&r<a&&(s=e.charCodeAt(r),(s&64512)==56320&&r++);return i}});var Tt=W((Bu,Fa)=>{"use strict";Fa.exports={copy:Bo,checkDataType:ai,checkDataTypes:ko,coerceToTypes:No,toHash:ni,getProperty:oi,escapeQuotes:li,equal:br(),ucs2length:Ca(),varOccurences:zo,varReplace:Vo,schemaHasRules:Uo,schemaHasRulesExcept:Go,schemaUnknownRules:Ho,toQuotedString:si,getPathExpr:Qo,getPath:Jo,getData:Yo,unescapeFragment:Xo,unescapeJsonPointer:pi,escapeFragment:el,escapeJsonPointer:di};function Bo(t,e){e=e||{};for(var i in t)e[i]=t[i];return e}function ai(t,e,i,a){var r=a?" !== ":" === ",s=a?" || ":" && ",o=a?"!":"",n=a?"":"!";switch(t){case"null":return e+r+"null";case"array":return o+"Array.isArray("+e+")";case"object":return"("+o+e+s+"typeof "+e+r+'"object"'+s+n+"Array.isArray("+e+"))";case"integer":return"(typeof "+e+r+'"number"'+s+n+"("+e+" % 1)"+s+e+r+e+(i?s+o+"isFinite("+e+")":"")+")";case"number":return"(typeof "+e+r+'"'+t+'"'+(i?s+o+"isFinite("+e+")":"")+")";default:return"typeof "+e+r+'"'+t+'"'}}function ko(t,e,i){switch(t.length){case 1:return ai(t[0],e,i,!0);default:var a="",r=ni(t);r.array&&r.object&&(a=r.null?"(":"(!"+e+" || ",a+="typeof "+e+' !== "object")',delete r.null,delete r.array,delete r.object),r.number&&delete r.integer;for(var s in r)a+=(a?" && ":"")+ai(s,e,i,!0);return a}}var Ta=ni(["string","number","integer","boolean","null"]);function No(t,e){if(Array.isArray(e)){for(var i=[],a=0;a<e.length;a++){var r=e[a];(Ta[r]||t==="array"&&r==="array")&&(i[i.length]=r)}if(i.length)return i}else{if(Ta[e])return[e];if(t==="array"&&e==="array")return["array"]}}function ni(t){for(var e={},i=0;i<t.length;i++)e[t[i]]=!0;return e}var Wo=/^[a-z$_][a-z$_0-9]*$/i,Mo=/'|\\/g;function oi(t){return typeof t=="number"?"["+t+"]":Wo.test(t)?"."+t:"['"+li(t)+"']"}function li(t){return t.replace(Mo,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function zo(t,e){e+="[^0-9]";var i=t.match(new RegExp(e,"g"));return i?i.length:0}function Vo(t,e,i){return e+="([^0-9])",i=i.replace(/\$/g,"$$$$"),t.replace(new RegExp(e,"g"),i+"$1")}function Uo(t,e){if(typeof t=="boolean")return!t;for(var i in t)if(e[i])return!0}function Go(t,e,i){if(typeof t=="boolean")return!t&&i!="not";for(var a in t)if(a!=i&&e[a])return!0}function Ho(t,e){if(typeof t!="boolean"){for(var i in t)if(!e[i])return i}}function si(t){return"'"+li(t)+"'"}function Qo(t,e,i,a){var r=i?"'/' + "+e+(a?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):a?"'[' + "+e+" + ']'":"'[\\'' + "+e+" + '\\']'";return Pa(t,r)}function Jo(t,e,i){var a=si(i?"/"+di(e):oi(e));return Pa(t,a)}var Ko=/^\/(?:[^~]|~0|~1)*$/,Zo=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Yo(t,e,i){var a,r,s,o;if(t==="")return"rootData";if(t[0]=="/"){if(!Ko.test(t))throw new Error("Invalid JSON-pointer: "+t);r=t,s="rootData"}else{if(o=t.match(Zo),!o)throw new Error("Invalid JSON-pointer: "+t);if(a=+o[1],r=o[2],r=="#"){if(a>=e)throw new Error("Cannot access property/index "+a+" levels up, current level is "+e);return i[e-a]}if(a>e)throw new Error("Cannot access data "+a+" levels up, current level is "+e);if(s="data"+(e-a||""),!r)return s}for(var n=s,d=r.split("/"),u=0;u<d.length;u++){var p=d[u];p&&(s+=oi(pi(p)),n+=" && "+s)}return n}function Pa(t,e){return t=='""'?e:(t+" + "+e).replace(/([^\\])' \+ '/g,"$1")}function Xo(t){return pi(decodeURIComponent(t))}function el(t){return encodeURIComponent(di(t))}function di(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}function pi(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}});var ci=W((ku,Aa)=>{"use strict";var tl=Tt();Aa.exports=rl;function rl(t){tl.copy(t,this)}});var $a=W((Nu,Ea)=>{"use strict";var dt=Ea.exports=function(t,e,i){typeof e=="function"&&(i=e,e={}),i=e.cb||i;var a=typeof i=="function"?i:i.pre||function(){},r=i.post||function(){};vr(e,a,r,t,"",t)};dt.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0};dt.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};dt.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};dt.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 vr(t,e,i,a,r,s,o,n,d,u){if(a&&typeof a=="object"&&!Array.isArray(a)){e(a,r,s,o,n,d,u);for(var p in a){var c=a[p];if(Array.isArray(c)){if(p in dt.arrayKeywords)for(var f=0;f<c.length;f++)vr(t,e,i,c[f],r+"/"+p+"/"+f,s,r,p,a,f)}else if(p in dt.propsKeywords){if(c&&typeof c=="object")for(var l in c)vr(t,e,i,c[l],r+"/"+p+"/"+il(l),s,r,p,a,l)}else(p in dt.keywords||t.allKeys&&!(p in dt.skipKeywords))&&vr(t,e,i,c,r+"/"+p,s,r,p,a)}i(a,r,s,o,n,d,u)}}function il(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var Tr=W((Wu,Ra)=>{"use strict";var rr=wa(),Oa=br(),xr=Tt(),Sr=ci(),al=$a();Ra.exports=ct;ct.normalizeId=pt;ct.fullPath=wr;ct.url=Ir;ct.ids=dl;ct.inlineRef=ui;ct.schema=Cr;function ct(t,e,i){var a=this._refs[i];if(typeof a=="string")if(this._refs[a])a=this._refs[a];else return ct.call(this,t,e,a);if(a=a||this._schemas[i],a instanceof Sr)return ui(a.schema,this._opts.inlineRefs)?a.schema:a.validate||this._compile(a);var r=Cr.call(this,e,i),s,o,n;return r&&(s=r.schema,e=r.root,n=r.baseId),s instanceof Sr?o=s.validate||t.call(this,s.schema,e,void 0,n):s!==void 0&&(o=ui(s,this._opts.inlineRefs)?s:t.call(this,s,e,void 0,n)),o}function Cr(t,e){var i=rr.parse(e),a=La(i),r=wr(this._getId(t.schema));if(Object.keys(t.schema).length===0||a!==r){var s=pt(a),o=this._refs[s];if(typeof o=="string")return sl.call(this,t,o,i);if(o instanceof Sr)o.validate||this._compile(o),t=o;else if(o=this._schemas[s],o instanceof Sr){if(o.validate||this._compile(o),s==pt(e))return{schema:o,root:t,baseId:r};t=o}else return;if(!t.schema)return;r=wr(this._getId(t.schema))}return Da.call(this,i,r,t.schema,t)}function sl(t,e,i){var a=Cr.call(this,t,e);if(a){var r=a.schema,s=a.baseId;t=a.root;var o=this._getId(r);return o&&(s=Ir(s,o)),Da.call(this,i,s,r,t)}}var nl=xr.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function Da(t,e,i,a){if(t.fragment=t.fragment||"",t.fragment.slice(0,1)=="/"){for(var r=t.fragment.split("/"),s=1;s<r.length;s++){var o=r[s];if(o){if(o=xr.unescapeFragment(o),i=i[o],i===void 0)break;var n;if(!nl[o]&&(n=this._getId(i),n&&(e=Ir(e,n)),i.$ref)){var d=Ir(e,i.$ref),u=Cr.call(this,a,d);u&&(i=u.schema,a=u.root,e=u.baseId)}}}if(i!==void 0&&i!==a.schema)return{schema:i,root:a,baseId:e}}}var ol=xr.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function ui(t,e){if(e===!1)return!1;if(e===void 0||e===!0)return fi(t);if(e)return hi(t)<=e}function fi(t){var e;if(Array.isArray(t)){for(var i=0;i<t.length;i++)if(e=t[i],typeof e=="object"&&!fi(e))return!1}else for(var a in t)if(a=="$ref"||(e=t[a],typeof e=="object"&&!fi(e)))return!1;return!0}function hi(t){var e=0,i;if(Array.isArray(t)){for(var a=0;a<t.length;a++)if(i=t[a],typeof i=="object"&&(e+=hi(i)),e==1/0)return 1/0}else for(var r in t){if(r=="$ref")return 1/0;if(ol[r])e++;else if(i=t[r],typeof i=="object"&&(e+=hi(i)+1),e==1/0)return 1/0}return e}function wr(t,e){e!==!1&&(t=pt(t));var i=rr.parse(t);return La(i)}function La(t){return rr.serialize(t).split("#")[0]+"#"}var ll=/#\/?$/;function pt(t){return t?t.replace(ll,""):""}function Ir(t,e){return e=pt(e),rr.resolve(t,e)}function dl(t){var e=pt(this._getId(t)),i={"":e},a={"":wr(e,!1)},r={},s=this;return al(t,{allKeys:!0},function(o,n,d,u,p,c,f){if(n!==""){var l=s._getId(o),y=i[u],b=a[u]+"/"+p;if(f!==void 0&&(b+="/"+(typeof f=="number"?f:xr.escapeFragment(f))),typeof l=="string"){l=y=pt(y?rr.resolve(y,l):l);var m=s._refs[l];if(typeof m=="string"&&(m=s._refs[m]),m&&m.schema){if(!Oa(o,m.schema))throw new Error('id "'+l+'" resolves to more than one schema')}else if(l!=pt(b))if(l[0]=="#"){if(r[l]&&!Oa(o,r[l]))throw new Error('id "'+l+'" resolves to more than one schema');r[l]=o}else s._refs[l]=b}i[n]=y,a[n]=b}}),r}});var Pr=W((Mu,_a)=>{"use strict";var yi=Tr();_a.exports={Validation:ja(pl),MissingRef:ja(mi)};function pl(t){this.message="validation failed",this.errors=t,this.ajv=this.validation=!0}mi.message=function(t,e){return"can't resolve reference "+e+" from id "+t};function mi(t,e,i){this.message=i||mi.message(t,e),this.missingRef=yi.url(t,e),this.missingSchema=yi.normalizeId(yi.fullPath(this.missingRef))}function ja(t){return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}});var gi=W((zu,qa)=>{"use strict";qa.exports=function(t,e){e||(e={}),typeof e=="function"&&(e={cmp:e});var i=typeof e.cycles=="boolean"?e.cycles:!1,a=e.cmp&&function(s){return function(o){return function(n,d){var u={key:n,value:o[n]},p={key:d,value:o[d]};return s(u,p)}}}(e.cmp),r=[];return function s(o){if(o&&o.toJSON&&typeof o.toJSON=="function"&&(o=o.toJSON()),o!==void 0){if(typeof o=="number")return isFinite(o)?""+o:"null";if(typeof o!="object")return JSON.stringify(o);var n,d;if(Array.isArray(o)){for(d="[",n=0;n<o.length;n++)n&&(d+=","),d+=s(o[n])||"null";return d+"]"}if(o===null)return"null";if(r.indexOf(o)!==-1){if(i)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var u=r.push(o)-1,p=Object.keys(o).sort(a&&a(o));for(d="",n=0;n<p.length;n++){var c=p[n],f=s(o[c]);f&&(d&&(d+=","),d+=JSON.stringify(c)+":"+f)}return r.splice(u,1),"{"+d+"}"}}(t)}});var bi=W((Vu,Ba)=>{"use strict";Ba.exports=function(e,i,a){var r="",s=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 d=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(d){var u="unknown keyword: "+d;if(e.opts.strictKeywords==="log")e.logger.warn(u);else throw new Error(u)}}if(e.isTop&&(r+=" var validate = ",s&&(e.async=!0,r+="async "),r+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",n&&(e.opts.sourceCode||e.opts.processCode)&&(r+=" "+("/*# sourceURL="+n+" */")+" ")),typeof e.schema=="boolean"||!(o||e.schema.$ref)){var i="false schema",p=e.level,c=e.dataLevel,f=e.schema[i],l=e.schemaPath+e.util.getProperty(i),y=e.errSchemaPath+"/"+i,F=!e.opts.allErrors,L,b="data"+(c||""),P="valid"+p;if(e.schema===!1){e.isTop?F=!0:r+=" var "+P+" = false; ";var m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(y)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'boolean schema is false' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "),r+=" } "):r+=" {} ";var S=r;r=m.pop(),!e.compositeRule&&F?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?s?r+=" return data; ":r+=" validate.errors = null; return true; ":r+=" var "+P+" = true; ";return e.isTop&&(r+=" }; return validate; "),r}if(e.isTop){var T=e.isTop,p=e.level=0,c=e.dataLevel=0,b="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 I="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(I);else throw new Error(I)}r+=" var vErrors = null; ",r+=" var errors = 0; ",r+=" if (rootData === undefined) rootData = data; "}else{var p=e.level,c=e.dataLevel,b="data"+(c||"");if(n&&(e.baseId=e.resolve.url(e.baseId,n)),s&&!e.async)throw new Error("async schema in sync schema");r+=" var errs_"+p+" = errors;"}var P="valid"+p,F=!e.opts.allErrors,$="",_="",L,A=e.schema.type,R=Array.isArray(A);if(A&&e.opts.nullable&&e.schema.nullable===!0&&(R?A.indexOf("null")==-1&&(A=A.concat("null")):A!="null"&&(A=[A,"null"],R=!0)),R&&A.length==1&&(A=A[0],R=!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&&(r+=" "+e.RULES.all.$comment.code(e,"$comment")),A){if(e.opts.coerceTypes)var O=e.util.coerceToTypes(e.opts.coerceTypes,A);var q=e.RULES.types[A];if(O||R||q===!0||q&&!Ie(q)){var l=e.schemaPath+".type",y=e.errSchemaPath+"/type",l=e.schemaPath+".type",y=e.errSchemaPath+"/type",E=R?"checkDataTypes":"checkDataType";if(r+=" if ("+e.util[E](A,b,e.opts.strictNumbers,!0)+") { ",O){var D="dataType"+p,B="coerced"+p;r+=" var "+D+" = typeof "+b+"; var "+B+" = undefined; ",e.opts.coerceTypes=="array"&&(r+=" if ("+D+" == 'object' && Array.isArray("+b+") && "+b+".length == 1) { "+b+" = "+b+"[0]; "+D+" = typeof "+b+"; if ("+e.util.checkDataType(e.schema.type,b,e.opts.strictNumbers)+") "+B+" = "+b+"; } "),r+=" if ("+B+" !== undefined) ; ";var ee=O;if(ee)for(var V,G=-1,z=ee.length-1;G<z;)V=ee[G+=1],V=="string"?r+=" else if ("+D+" == 'number' || "+D+" == 'boolean') "+B+" = '' + "+b+"; else if ("+b+" === null) "+B+" = ''; ":V=="number"||V=="integer"?(r+=" else if ("+D+" == 'boolean' || "+b+" === null || ("+D+" == 'string' && "+b+" && "+b+" == +"+b+" ",V=="integer"&&(r+=" && !("+b+" % 1)"),r+=")) "+B+" = +"+b+"; "):V=="boolean"?r+=" else if ("+b+" === 'false' || "+b+" === 0 || "+b+" === null) "+B+" = false; else if ("+b+" === 'true' || "+b+" === 1) "+B+" = true; ":V=="null"?r+=" else if ("+b+" === '' || "+b+" === 0 || "+b+" === false) "+B+" = null; ":e.opts.coerceTypes=="array"&&V=="array"&&(r+=" else if ("+D+" == 'string' || "+D+" == 'number' || "+D+" == 'boolean' || "+b+" == null) "+B+" = ["+b+"]; ");r+=" else { ";var m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(y)+" , params: { type: '",R?r+=""+A.join(","):r+=""+A,r+="' } ",e.opts.messages!==!1&&(r+=" , message: 'should be ",R?r+=""+A.join(","):r+=""+A,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "),r+=" } "):r+=" {} ";var S=r;r=m.pop(),!e.compositeRule&&F?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } if ("+B+" !== undefined) { ";var N=c?"data"+(c-1||""):"parentData",pe=c?e.dataPathArr[c]:"parentDataProperty";r+=" "+b+" = "+B+"; ",c||(r+="if ("+N+" !== undefined)"),r+=" "+N+"["+pe+"] = "+B+"; } "}else{var m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(y)+" , params: { type: '",R?r+=""+A.join(","):r+=""+A,r+="' } ",e.opts.messages!==!1&&(r+=" , message: 'should be ",R?r+=""+A.join(","):r+=""+A,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "),r+=" } "):r+=" {} ";var S=r;r=m.pop(),!e.compositeRule&&F?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" } "}}if(e.schema.$ref&&!o)r+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",F&&(r+=" } if (errors === ",T?r+="0":r+="errs_"+p,r+=") { ",_+="}");else{var Ce=e.RULES;if(Ce){for(var q,Ee=-1,J=Ce.length-1;Ee<J;)if(q=Ce[Ee+=1],Ie(q)){if(q.type&&(r+=" if ("+e.util.checkDataType(q.type,b,e.opts.strictNumbers)+") { "),e.opts.useDefaults){if(q.type=="object"&&e.schema.properties){var f=e.schema.properties,ge=Object.keys(f),we=ge;if(we)for(var $e,nt=-1,Ze=we.length-1;nt<Ze;){$e=we[nt+=1];var be=f[$e];if(be.default!==void 0){var ce=b+e.util.getProperty($e);if(e.compositeRule){if(e.opts.strictDefaults){var I="default is ignored for: "+ce;if(e.opts.strictDefaults==="log")e.logger.warn(I);else throw new Error(I)}}else r+=" if ("+ce+" === undefined ",e.opts.useDefaults=="empty"&&(r+=" || "+ce+" === null || "+ce+" === '' "),r+=" ) "+ce+" = ",e.opts.useDefaults=="shared"?r+=" "+e.useDefault(be.default)+" ":r+=" "+JSON.stringify(be.default)+" ",r+="; "}}}else if(q.type=="array"&&Array.isArray(e.schema.items)){var bt=e.schema.items;if(bt){for(var be,G=-1,Te=bt.length-1;G<Te;)if(be=bt[G+=1],be.default!==void 0){var ce=b+"["+G+"]";if(e.compositeRule){if(e.opts.strictDefaults){var I="default is ignored for: "+ce;if(e.opts.strictDefaults==="log")e.logger.warn(I);else throw new Error(I)}}else r+=" if ("+ce+" === undefined ",e.opts.useDefaults=="empty"&&(r+=" || "+ce+" === null || "+ce+" === '' "),r+=" ) "+ce+" = ",e.opts.useDefaults=="shared"?r+=" "+e.useDefault(be.default)+" ":r+=" "+JSON.stringify(be.default)+" ",r+="; "}}}}var Y=q.rules;if(Y){for(var ot,Ye=-1,vt=Y.length-1;Ye<vt;)if(ot=Y[Ye+=1],qe(ot)){var St=ot.code(e,ot.keyword,q.type);St&&(r+=" "+St+" ",F&&($+="}"))}}if(F&&(r+=" "+$+" ",$=""),q.type&&(r+=" } ",A&&A===q.type&&!O)){r+=" else { ";var l=e.schemaPath+".type",y=e.errSchemaPath+"/type",m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(y)+" , params: { type: '",R?r+=""+A.join(","):r+=""+A,r+="' } ",e.opts.messages!==!1&&(r+=" , message: 'should be ",R?r+=""+A.join(","):r+=""+A,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "),r+=" } "):r+=" {} ";var S=r;r=m.pop(),!e.compositeRule&&F?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } "}F&&(r+=" if (errors === ",T?r+="0":r+="errs_"+p,r+=") { ",_+="}")}}}F&&(r+=" "+_+" "),T?(s?(r+=" if (errors === 0) return data; ",r+=" else throw new ValidationError(vErrors); "):(r+=" validate.errors = vErrors; ",r+=" return errors === 0; "),r+=" }; return validate;"):r+=" var "+P+" = errors === errs_"+p+";";function Ie(Oe){for(var Ge=Oe.rules,Re=0;Re<Ge.length;Re++)if(qe(Ge[Re]))return!0}function qe(Oe){return e.schema[Oe.keyword]!==void 0||Oe.implements&&De(Oe)}function De(Oe){for(var Ge=Oe.implements,Re=0;Re<Ge.length;Re++)if(e.schema[Ge[Re]]!==void 0)return!0}return r}});var za=W((Uu,Ma)=>{"use strict";var Fr=Tr(),Er=Tt(),Na=Pr(),cl=gi(),ka=bi(),ul=Er.ucs2length,fl=br(),hl=Na.Validation;Ma.exports=vi;function vi(t,e,i,a){var r=this,s=this._opts,o=[void 0],n={},d=[],u={},p=[],c={},f=[];e=e||{schema:t,refVal:o,refs:n};var l=yl.call(this,t,e,a),y=this._compilations[l.index];if(l.compiling)return y.callValidate=I;var b=this._formats,m=this.RULES;try{var S=P(t,e,i,a);y.validate=S;var T=y.callValidate;return T&&(T.schema=S.schema,T.errors=null,T.refs=S.refs,T.refVal=S.refVal,T.root=S.root,T.$async=S.$async,s.sourceCode&&(T.source=S.source)),S}finally{ml.call(this,t,e,a)}function I(){var E=y.validate,D=E.apply(this,arguments);return I.errors=E.errors,D}function P(E,D,B,ee){var V=!D||D&&D.schema==E;if(D.schema!=e.schema)return vi.call(r,E,D,B,ee);var G=E.$async===!0,z=ka({isTop:!0,schema:E,isRoot:V,baseId:ee,root:D,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:Na.MissingRef,RULES:m,validate:ka,util:Er,resolve:Fr,resolveRef:F,usePattern:R,useDefault:O,useCustomRule:q,opts:s,formats:b,logger:r.logger,self:r});z=Ar(o,vl)+Ar(d,gl)+Ar(p,bl)+Ar(f,Sl)+z,s.processCode&&(z=s.processCode(z,E));var N;try{var pe=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",z);N=pe(r,m,b,e,o,p,f,fl,ul,hl),o[0]=N}catch(Ce){throw r.logger.error("Error compiling schema, function code:",z),Ce}return N.schema=E,N.errors=null,N.refs=n,N.refVal=o,N.root=V?N:D,G&&(N.$async=!0),s.sourceCode===!0&&(N.source={code:z,patterns:d,defaults:p}),N}function F(E,D,B){D=Fr.url(E,D);var ee=n[D],V,G;if(ee!==void 0)return V=o[ee],G="refVal["+ee+"]",A(V,G);if(!B&&e.refs){var z=e.refs[D];if(z!==void 0)return V=e.refVal[z],G=$(D,V),A(V,G)}G=$(D);var N=Fr.call(r,P,e,D);if(N===void 0){var pe=i&&i[D];pe&&(N=Fr.inlineRef(pe,s.inlineRefs)?pe:vi.call(r,pe,e,i,E))}if(N===void 0)_(D);else return L(D,N),A(N,G)}function $(E,D){var B=o.length;return o[B]=D,n[E]=B,"refVal"+B}function _(E){delete n[E]}function L(E,D){var B=n[E];o[B]=D}function A(E,D){return typeof E=="object"||typeof E=="boolean"?{code:D,schema:E,inline:!0}:{code:D,$async:E&&!!E.$async}}function R(E){var D=u[E];return D===void 0&&(D=u[E]=d.length,d[D]=E),"pattern"+D}function O(E){switch(typeof E){case"boolean":case"number":return""+E;case"string":return Er.toQuotedString(E);case"object":if(E===null)return"null";var D=cl(E),B=c[D];return B===void 0&&(B=c[D]=p.length,p[B]=E),"default"+B}}function q(E,D,B,ee){if(r._opts.validateSchema!==!1){var V=E.definition.dependencies;if(V&&!V.every(function(we){return Object.prototype.hasOwnProperty.call(B,we)}))throw new Error("parent schema must have all required keywords: "+V.join(","));var G=E.definition.validateSchema;if(G){var z=G(D);if(!z){var N="keyword schema is invalid: "+r.errorsText(G.errors);if(r._opts.validateSchema=="log")r.logger.error(N);else throw new Error(N)}}}var pe=E.definition.compile,Ce=E.definition.inline,Ee=E.definition.macro,J;if(pe)J=pe.call(r,D,B,ee);else if(Ee)J=Ee.call(r,D,B,ee),s.validateSchema!==!1&&r.validateSchema(J,!0);else if(Ce)J=Ce.call(r,ee,E.keyword,D,B);else if(J=E.definition.validate,!J)return;if(J===void 0)throw new Error('custom keyword "'+E.keyword+'"failed to compile');var ge=f.length;return f[ge]=J,{code:"customRule"+ge,validate:J}}}function yl(t,e,i){var a=Wa.call(this,t,e,i);return a>=0?{index:a,compiling:!0}:(a=this._compilations.length,this._compilations[a]={schema:t,root:e,baseId:i},{index:a,compiling:!1})}function ml(t,e,i){var a=Wa.call(this,t,e,i);a>=0&&this._compilations.splice(a,1)}function Wa(t,e,i){for(var a=0;a<this._compilations.length;a++){var r=this._compilations[a];if(r.schema==t&&r.root==e&&r.baseId==i)return a}return-1}function gl(t,e){return"var pattern"+t+" = new RegExp("+Er.toQuotedString(e[t])+");"}function bl(t){return"var default"+t+" = defaults["+t+"];"}function vl(t,e){return e[t]===void 0?"":"var refVal"+t+" = refVal["+t+"];"}function Sl(t){return"var customRule"+t+" = customRules["+t+"];"}function Ar(t,e){if(!t.length)return"";for(var i="",a=0;a<t.length;a++)i+=e(a,t);return i}});var Ua=W((Gu,Va)=>{"use strict";var $r=Va.exports=function(){this._cache={}};$r.prototype.put=function(e,i){this._cache[e]=i};$r.prototype.get=function(e){return this._cache[e]};$r.prototype.del=function(e){delete this._cache[e]};$r.prototype.clear=function(){this._cache={}}});var is=W((Hu,rs)=>{"use strict";var wl=Tt(),Il=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,xl=[0,31,28,31,30,31,30,31,31,30,31,30,31],Cl=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,Ga=/^(?=.{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,Tl=/^(?:[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,Pl=/^(?:[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,Ha=/^(?:(?:[^\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,Qa=/^(?:(?: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,Ja=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,Ka=/^(?:\/(?:[^~/]|~0|~1)*)*$/,Za=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,Ya=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;rs.exports=Or;function Or(t){return t=t=="full"?"full":"fast",wl.copy(Or[t])}Or.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":Ha,url:Qa,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:Ga,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:ts,uuid:Ja,"json-pointer":Ka,"json-pointer-uri-fragment":Za,"relative-json-pointer":Ya};Or.full={date:Xa,time:es,"date-time":El,uri:Ol,"uri-reference":Pl,"uri-template":Ha,url:Qa,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:Ga,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:ts,uuid:Ja,"json-pointer":Ka,"json-pointer-uri-fragment":Za,"relative-json-pointer":Ya};function Fl(t){return t%4===0&&(t%100!==0||t%400===0)}function Xa(t){var e=t.match(Il);if(!e)return!1;var i=+e[1],a=+e[2],r=+e[3];return a>=1&&a<=12&&r>=1&&r<=(a==2&&Fl(i)?29:xl[a])}function es(t,e){var i=t.match(Cl);if(!i)return!1;var a=i[1],r=i[2],s=i[3],o=i[5];return(a<=23&&r<=59&&s<=59||a==23&&r==59&&s==60)&&(!e||o)}var Al=/t|\s/i;function El(t){var e=t.split(Al);return e.length==2&&Xa(e[0])&&es(e[1],!0)}var $l=/\/|:/;function Ol(t){return $l.test(t)&&Tl.test(t)}var Dl=/[^\\]\\Z/;function ts(t){if(Dl.test(t))return!1;try{return new RegExp(t),!0}catch{return!1}}});var ss=W((Qu,as)=>{"use strict";as.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.errSchemaPath+"/"+i,u=!e.opts.allErrors,p="data"+(o||""),c="valid"+s,f,l;if(n=="#"||n=="#/")e.isRoot?(f=e.async,l="validate"):(f=e.root.schema.$async===!0,l="root.refVal[0]");else{var y=e.resolveRef(e.baseId,n,e.isRoot);if(y===void 0){var b=e.MissingRefError.message(e.baseId,n);if(e.opts.missingRefs=="fail"){e.logger.error(b);var m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { ref: '"+e.util.escapeQuotes(n)+"' } ",e.opts.messages!==!1&&(r+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(n)+"' "),e.opts.verbose&&(r+=" , schema: "+e.util.toQuotedString(n)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";var S=r;r=m.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u&&(r+=" if (false) { ")}else if(e.opts.missingRefs=="ignore")e.logger.warn(b),u&&(r+=" if (true) { ");else throw new e.MissingRefError(e.baseId,n,b)}else if(y.inline){var T=e.util.copy(e);T.level++;var I="valid"+T.level;T.schema=y.schema,T.schemaPath="",T.errSchemaPath=n;var P=e.validate(T).replace(/validate\.schema/g,y.code);r+=" "+P+" ",u&&(r+=" if ("+I+") { ")}else f=y.$async===!0||e.async&&y.$async!==!1,l=y.code}if(l){var m=m||[];m.push(r),r="",e.opts.passContext?r+=" "+l+".call(this, ":r+=" "+l+"( ",r+=" "+p+", (dataPath || '')",e.errorPath!='""'&&(r+=" + "+e.errorPath);var F=o?"data"+(o-1||""):"parentData",$=o?e.dataPathArr[o]:"parentDataProperty";r+=" , "+F+" , "+$+", rootData) ";var _=r;if(r=m.pop(),f){if(!e.async)throw new Error("async schema referenced by sync schema");u&&(r+=" var "+c+"; "),r+=" try { await "+_+"; ",u&&(r+=" "+c+" = true; "),r+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",u&&(r+=" "+c+" = false; "),r+=" } ",u&&(r+=" if ("+c+") { ")}else r+=" if (!"+_+") { if (vErrors === null) vErrors = "+l+".errors; else vErrors = vErrors.concat("+l+".errors); errors = vErrors.length; } ",u&&(r+=" else { ")}return r}});var os=W((Ju,ns)=>{"use strict";ns.exports=function(e,i,a){var r=" ",s=e.schema[i],o=e.schemaPath+e.util.getProperty(i),n=e.errSchemaPath+"/"+i,d=!e.opts.allErrors,u=e.util.copy(e),p="";u.level++;var c="valid"+u.level,f=u.baseId,l=!0,y=s;if(y)for(var b,m=-1,S=y.length-1;m<S;)b=y[m+=1],(e.opts.strictKeywords?typeof b=="object"&&Object.keys(b).length>0||b===!1:e.util.schemaHasRules(b,e.RULES.all))&&(l=!1,u.schema=b,u.schemaPath=o+"["+m+"]",u.errSchemaPath=n+"/"+m,r+=" "+e.validate(u)+" ",u.baseId=f,d&&(r+=" if ("+c+") { ",p+="}"));return d&&(l?r+=" if (true) { ":r+=" "+p.slice(0,-1)+" "),r}});var ds=W((Ku,ls)=>{"use strict";ls.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l="errs__"+s,y=e.util.copy(e),b="";y.level++;var m="valid"+y.level,S=n.every(function(L){return e.opts.strictKeywords?typeof L=="object"&&Object.keys(L).length>0||L===!1:e.util.schemaHasRules(L,e.RULES.all)});if(S){var T=y.baseId;r+=" var "+l+" = errors; var "+f+" = false; ";var I=e.compositeRule;e.compositeRule=y.compositeRule=!0;var P=n;if(P)for(var F,$=-1,_=P.length-1;$<_;)F=P[$+=1],y.schema=F,y.schemaPath=d+"["+$+"]",y.errSchemaPath=u+"/"+$,r+=" "+e.validate(y)+" ",y.baseId=T,r+=" "+f+" = "+f+" || "+m+"; if (!"+f+") { ",b+="}";e.compositeRule=y.compositeRule=I,r+=" "+b+" if (!"+f+") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&p&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),r+=" } else { errors = "+l+"; if (vErrors !== null) { if ("+l+") vErrors.length = "+l+"; else vErrors = null; } ",e.opts.allErrors&&(r+=" } ")}else p&&(r+=" if (true) { ");return r}});var cs=W((Zu,ps)=>{"use strict";ps.exports=function(e,i,a){var r=" ",s=e.schema[i],o=e.errSchemaPath+"/"+i,n=!e.opts.allErrors,d=e.util.toQuotedString(s);return e.opts.$comment===!0?r+=" console.log("+d+");":typeof e.opts.$comment=="function"&&(r+=" self._opts.$comment("+d+", "+e.util.toQuotedString(o)+", validate.root.schema);"),r}});var fs=W((Yu,us)=>{"use strict";us.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l=e.opts.$data&&n&&n.$data,y;l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",y="schema"+s):y=n,l||(r+=" var schema"+s+" = validate.schema"+d+";"),r+="var "+f+" = equal("+c+", schema"+s+"); if (!"+f+") { ";var b=b||[];b.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { allowedValue: schema"+s+" } ",e.opts.messages!==!1&&(r+=" , message: 'should be equal to constant' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var m=r;return r=b.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+m+"]); ":r+=" validate.errors = ["+m+"]; return false; ":r+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" }",p&&(r+=" else { "),r}});var ys=W((Xu,hs)=>{"use strict";hs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l="errs__"+s,y=e.util.copy(e),b="";y.level++;var m="valid"+y.level,S="i"+s,T=y.dataLevel=e.dataLevel+1,I="data"+T,P=e.baseId,F=e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all);if(r+="var "+l+" = errors;var "+f+";",F){var $=e.compositeRule;e.compositeRule=y.compositeRule=!0,y.schema=n,y.schemaPath=d,y.errSchemaPath=u,r+=" var "+m+" = false; for (var "+S+" = 0; "+S+" < "+c+".length; "+S+"++) { ",y.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var _=c+"["+S+"]";y.dataPathArr[T]=S;var L=e.validate(y);y.baseId=P,e.util.varOccurences(L,I)<2?r+=" "+e.util.varReplace(L,I,_)+" ":r+=" var "+I+" = "+_+"; "+L+" ",r+=" if ("+m+") break; } ",e.compositeRule=y.compositeRule=$,r+=" "+b+" if (!"+m+") {"}else r+=" if ("+c+".length == 0) {";var A=A||[];A.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'should contain a valid item' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var R=r;return r=A.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+R+"]); ":r+=" validate.errors = ["+R+"]; return false; ":r+=" var err = "+R+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { ",F&&(r+=" errors = "+l+"; if (vErrors !== null) { if ("+l+") vErrors.length = "+l+"; else vErrors = null; } "),e.opts.allErrors&&(r+=" } "),r}});var gs=W((ef,ms)=>{"use strict";ms.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="errs__"+s,l=e.util.copy(e),y="";l.level++;var b="valid"+l.level,m={},S={},T=e.opts.ownProperties;for($ in n)if($!="__proto__"){var I=n[$],P=Array.isArray(I)?S:m;P[$]=I}r+="var "+f+" = errors;";var F=e.errorPath;r+="var missing"+s+";";for(var $ in S)if(P=S[$],P.length){if(r+=" if ( "+c+e.util.getProperty($)+" !== undefined ",T&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes($)+"') "),p){r+=" && ( ";var _=P;if(_)for(var L,A=-1,R=_.length-1;A<R;){L=_[A+=1],A&&(r+=" || ");var O=e.util.getProperty(L),q=c+O;r+=" ( ( "+q+" === undefined ",T&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(L)+"') "),r+=") && (missing"+s+" = "+e.util.toQuotedString(e.opts.jsonPointers?L:O)+") ) "}r+=")) { ";var E="missing"+s,D="' + "+E+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(F,E,!0):F+" + "+E);var B=B||[];B.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { property: '"+e.util.escapeQuotes($)+"', missingProperty: '"+D+"', depsCount: "+P.length+", deps: '"+e.util.escapeQuotes(P.length==1?P[0]:P.join(", "))+"' } ",e.opts.messages!==!1&&(r+=" , message: 'should have ",P.length==1?r+="property "+e.util.escapeQuotes(P[0]):r+="properties "+e.util.escapeQuotes(P.join(", ")),r+=" when property "+e.util.escapeQuotes($)+" is present' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var ee=r;r=B.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+ee+"]); ":r+=" validate.errors = ["+ee+"]; return false; ":r+=" var err = "+ee+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{r+=" ) { ";var V=P;if(V)for(var L,G=-1,z=V.length-1;G<z;){L=V[G+=1];var O=e.util.getProperty(L),D=e.util.escapeQuotes(L),q=c+O;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(F,L,e.opts.jsonPointers)),r+=" if ( "+q+" === undefined ",T&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(L)+"') "),r+=") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { property: '"+e.util.escapeQuotes($)+"', missingProperty: '"+D+"', depsCount: "+P.length+", deps: '"+e.util.escapeQuotes(P.length==1?P[0]:P.join(", "))+"' } ",e.opts.messages!==!1&&(r+=" , message: 'should have ",P.length==1?r+="property "+e.util.escapeQuotes(P[0]):r+="properties "+e.util.escapeQuotes(P.join(", ")),r+=" when property "+e.util.escapeQuotes($)+" is present' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}r+=" } ",p&&(y+="}",r+=" else { ")}e.errorPath=F;var N=l.baseId;for(var $ in m){var I=m[$];(e.opts.strictKeywords?typeof I=="object"&&Object.keys(I).length>0||I===!1:e.util.schemaHasRules(I,e.RULES.all))&&(r+=" "+b+" = true; if ( "+c+e.util.getProperty($)+" !== undefined ",T&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes($)+"') "),r+=") { ",l.schema=I,l.schemaPath=d+e.util.getProperty($),l.errSchemaPath=u+"/"+e.util.escapeFragment($),r+=" "+e.validate(l)+" ",l.baseId=N,r+=" } ",p&&(r+=" if ("+b+") { ",y+="}"))}return p&&(r+=" "+y+" if ("+f+" == errors) {"),r}});var vs=W((tf,bs)=>{"use strict";bs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l=e.opts.$data&&n&&n.$data,y;l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",y="schema"+s):y=n;var b="i"+s,m="schema"+s;l||(r+=" var "+m+" = validate.schema"+d+";"),r+="var "+f+";",l&&(r+=" if (schema"+s+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+s+")) "+f+" = false; else {"),r+=""+f+" = false;for (var "+b+"=0; "+b+"<"+m+".length; "+b+"++) if (equal("+c+", "+m+"["+b+"])) { "+f+" = true; break; }",l&&(r+=" } "),r+=" if (!"+f+") { ";var S=S||[];S.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { allowedValues: schema"+s+" } ",e.opts.messages!==!1&&(r+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var T=r;return r=S.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+T+"]); ":r+=" validate.errors = ["+T+"]; return false; ":r+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" }",p&&(r+=" else { "),r}});var ws=W((rf,Ss)=>{"use strict";Ss.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||"");if(e.opts.format===!1)return p&&(r+=" if (true) { "),r;var f=e.opts.$data&&n&&n.$data,l;f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n;var y=e.opts.unknownFormats,b=Array.isArray(y);if(f){var m="format"+s,S="isObject"+s,T="formatType"+s;r+=" var "+m+" = formats["+l+"]; var "+S+" = typeof "+m+" == 'object' && !("+m+" instanceof RegExp) && "+m+".validate; var "+T+" = "+S+" && "+m+".type || 'string'; if ("+S+") { ",e.async&&(r+=" var async"+s+" = "+m+".async; "),r+=" "+m+" = "+m+".validate; } if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'string') || "),r+=" (",y!="ignore"&&(r+=" ("+l+" && !"+m+" ",b&&(r+=" && self._opts.unknownFormats.indexOf("+l+") == -1 "),r+=") || "),r+=" ("+m+" && "+T+" == '"+a+"' && !(typeof "+m+" == 'function' ? ",e.async?r+=" (async"+s+" ? await "+m+"("+c+") : "+m+"("+c+")) ":r+=" "+m+"("+c+") ",r+=" : "+m+".test("+c+"))))) {"}else{var m=e.formats[n];if(!m){if(y=="ignore")return e.logger.warn('unknown format "'+n+'" ignored in schema at path "'+e.errSchemaPath+'"'),p&&(r+=" if (true) { "),r;if(b&&y.indexOf(n)>=0)return p&&(r+=" if (true) { "),r;throw new Error('unknown format "'+n+'" is used in schema at path "'+e.errSchemaPath+'"')}var S=typeof m=="object"&&!(m instanceof RegExp)&&m.validate,T=S&&m.type||"string";if(S){var I=m.async===!0;m=m.validate}if(T!=a)return p&&(r+=" if (true) { "),r;if(I){if(!e.async)throw new Error("async format in sync schema");var P="formats"+e.util.getProperty(n)+".validate";r+=" if (!(await "+P+"("+c+"))) { "}else{r+=" if (! ";var P="formats"+e.util.getProperty(n);S&&(P+=".validate"),typeof m=="function"?r+=" "+P+"("+c+") ":r+=" "+P+".test("+c+") ",r+=") { "}}var F=F||[];F.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { format: ",f?r+=""+l:r+=""+e.util.toQuotedString(n),r+=" } ",e.opts.messages!==!1&&(r+=` , message: 'should match format "`,f?r+="' + "+l+" + '":r+=""+e.util.escapeQuotes(n),r+=`"' `),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+e.util.toQuotedString(n),r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var $=r;return r=F.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+$+"]); ":r+=" validate.errors = ["+$+"]; return false; ":r+=" var err = "+$+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",p&&(r+=" else { "),r}});var xs=W((af,Is)=>{"use strict";Is.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l="errs__"+s,y=e.util.copy(e);y.level++;var b="valid"+y.level,m=e.schema.then,S=e.schema.else,T=m!==void 0&&(e.opts.strictKeywords?typeof m=="object"&&Object.keys(m).length>0||m===!1:e.util.schemaHasRules(m,e.RULES.all)),I=S!==void 0&&(e.opts.strictKeywords?typeof S=="object"&&Object.keys(S).length>0||S===!1:e.util.schemaHasRules(S,e.RULES.all)),P=y.baseId;if(T||I){var F;y.createErrors=!1,y.schema=n,y.schemaPath=d,y.errSchemaPath=u,r+=" var "+l+" = errors; var "+f+" = true; ";var $=e.compositeRule;e.compositeRule=y.compositeRule=!0,r+=" "+e.validate(y)+" ",y.baseId=P,y.createErrors=!0,r+=" errors = "+l+"; if (vErrors !== null) { if ("+l+") vErrors.length = "+l+"; else vErrors = null; } ",e.compositeRule=y.compositeRule=$,T?(r+=" if ("+b+") { ",y.schema=e.schema.then,y.schemaPath=e.schemaPath+".then",y.errSchemaPath=e.errSchemaPath+"/then",r+=" "+e.validate(y)+" ",y.baseId=P,r+=" "+f+" = "+b+"; ",T&&I?(F="ifClause"+s,r+=" var "+F+" = 'then'; "):F="'then'",r+=" } ",I&&(r+=" else { ")):r+=" if (!"+b+") { ",I&&(y.schema=e.schema.else,y.schemaPath=e.schemaPath+".else",y.errSchemaPath=e.errSchemaPath+"/else",r+=" "+e.validate(y)+" ",y.baseId=P,r+=" "+f+" = "+b+"; ",T&&I?(F="ifClause"+s,r+=" var "+F+" = 'else'; "):F="'else'",r+=" } "),r+=" if (!"+f+") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { failingKeyword: "+F+" } ",e.opts.messages!==!1&&(r+=` , message: 'should match "' + `+F+` + '" schema' `),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&p&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),r+=" } ",p&&(r+=" else { ")}else p&&(r+=" if (true) { ");return r}});var Ts=W((sf,Cs)=>{"use strict";Cs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l="errs__"+s,y=e.util.copy(e),b="";y.level++;var m="valid"+y.level,S="i"+s,T=y.dataLevel=e.dataLevel+1,I="data"+T,P=e.baseId;if(r+="var "+l+" = errors;var "+f+";",Array.isArray(n)){var F=e.schema.additionalItems;if(F===!1){r+=" "+f+" = "+c+".length <= "+n.length+"; ";var $=u;u=e.errSchemaPath+"/additionalItems",r+=" if (!"+f+") { ";var _=_||[];_.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+n.length+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT have more than "+n.length+" items' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var L=r;r=_.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+L+"]); ":r+=" validate.errors = ["+L+"]; return false; ":r+=" var err = "+L+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",u=$,p&&(b+="}",r+=" else { ")}var A=n;if(A){for(var R,O=-1,q=A.length-1;O<q;)if(R=A[O+=1],e.opts.strictKeywords?typeof R=="object"&&Object.keys(R).length>0||R===!1:e.util.schemaHasRules(R,e.RULES.all)){r+=" "+m+" = true; if ("+c+".length > "+O+") { ";var E=c+"["+O+"]";y.schema=R,y.schemaPath=d+"["+O+"]",y.errSchemaPath=u+"/"+O,y.errorPath=e.util.getPathExpr(e.errorPath,O,e.opts.jsonPointers,!0),y.dataPathArr[T]=O;var D=e.validate(y);y.baseId=P,e.util.varOccurences(D,I)<2?r+=" "+e.util.varReplace(D,I,E)+" ":r+=" var "+I+" = "+E+"; "+D+" ",r+=" } ",p&&(r+=" if ("+m+") { ",b+="}")}}if(typeof F=="object"&&(e.opts.strictKeywords?typeof F=="object"&&Object.keys(F).length>0||F===!1:e.util.schemaHasRules(F,e.RULES.all))){y.schema=F,y.schemaPath=e.schemaPath+".additionalItems",y.errSchemaPath=e.errSchemaPath+"/additionalItems",r+=" "+m+" = true; if ("+c+".length > "+n.length+") { for (var "+S+" = "+n.length+"; "+S+" < "+c+".length; "+S+"++) { ",y.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var E=c+"["+S+"]";y.dataPathArr[T]=S;var D=e.validate(y);y.baseId=P,e.util.varOccurences(D,I)<2?r+=" "+e.util.varReplace(D,I,E)+" ":r+=" var "+I+" = "+E+"; "+D+" ",p&&(r+=" if (!"+m+") break; "),r+=" } } ",p&&(r+=" if ("+m+") { ",b+="}")}}else if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){y.schema=n,y.schemaPath=d,y.errSchemaPath=u,r+=" for (var "+S+" = 0; "+S+" < "+c+".length; "+S+"++) { ",y.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var E=c+"["+S+"]";y.dataPathArr[T]=S;var D=e.validate(y);y.baseId=P,e.util.varOccurences(D,I)<2?r+=" "+e.util.varReplace(D,I,E)+" ":r+=" var "+I+" = "+E+"; "+D+" ",p&&(r+=" if (!"+m+") break; "),r+=" }"}return p&&(r+=" "+b+" if ("+l+" == errors) {"),r}});var Si=W((nf,Ps)=>{"use strict";Ps.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,P,c="data"+(o||""),f=e.opts.$data&&n&&n.$data,l;f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n;var y=i=="maximum",b=y?"exclusiveMaximum":"exclusiveMinimum",m=e.schema[b],S=e.opts.$data&&m&&m.$data,T=y?"<":">",I=y?">":"<",P=void 0;if(!(f||typeof n=="number"||n===void 0))throw new Error(i+" must be number");if(!(S||m===void 0||typeof m=="number"||typeof m=="boolean"))throw new Error(b+" must be number or boolean");if(S){var F=e.util.getData(m.$data,o,e.dataPathArr),$="exclusive"+s,_="exclType"+s,L="exclIsNumber"+s,A="op"+s,R="' + "+A+" + '";r+=" var schemaExcl"+s+" = "+F+"; ",F="schemaExcl"+s,r+=" var "+$+"; var "+_+" = typeof "+F+"; if ("+_+" != 'boolean' && "+_+" != 'undefined' && "+_+" != 'number') { ";var P=b,O=O||[];O.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(P||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: '"+b+" should be boolean' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var q=r;r=O.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+q+"]); ":r+=" validate.errors = ["+q+"]; return false; ":r+=" var err = "+q+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" "+_+" == 'number' ? ( ("+$+" = "+l+" === undefined || "+F+" "+T+"= "+l+") ? "+c+" "+I+"= "+F+" : "+c+" "+I+" "+l+" ) : ( ("+$+" = "+F+" === true) ? "+c+" "+I+"= "+l+" : "+c+" "+I+" "+l+" ) || "+c+" !== "+c+") { var op"+s+" = "+$+" ? '"+T+"' : '"+T+"='; ",n===void 0&&(P=b,u=e.errSchemaPath+"/"+b,l=F,f=S)}else{var L=typeof m=="number",R=T;if(L&&f){var A="'"+R+"'";r+=" if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" ( "+l+" === undefined || "+m+" "+T+"= "+l+" ? "+c+" "+I+"= "+m+" : "+c+" "+I+" "+l+" ) || "+c+" !== "+c+") { "}else{L&&n===void 0?($=!0,P=b,u=e.errSchemaPath+"/"+b,l=m,I+="="):(L&&(l=Math[y?"min":"max"](m,n)),m===(L?l:!0)?($=!0,P=b,u=e.errSchemaPath+"/"+b,I+="="):($=!1,R+="="));var A="'"+R+"'";r+=" if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" "+c+" "+I+" "+l+" || "+c+" !== "+c+") { "}}P=P||i;var O=O||[];O.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(P||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { comparison: "+A+", limit: "+l+", exclusive: "+$+" } ",e.opts.messages!==!1&&(r+=" , message: 'should be "+R+" ",f?r+="' + "+l:r+=""+l+"'"),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var q=r;return r=O.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+q+"]); ":r+=" validate.errors = ["+q+"]; return false; ":r+=" var err = "+q+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",p&&(r+=" else { "),r}});var wi=W((of,Fs)=>{"use strict";Fs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,b,c="data"+(o||""),f=e.opts.$data&&n&&n.$data,l;if(f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(f||typeof n=="number"))throw new Error(i+" must be number");var y=i=="maxItems"?">":"<";r+="if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" "+c+".length "+y+" "+l+") { ";var b=i,m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(b||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+l+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT have ",i=="maxItems"?r+="more":r+="fewer",r+=" than ",f?r+="' + "+l+" + '":r+=""+n,r+=" items' "),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var S=r;return r=m.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",p&&(r+=" else { "),r}});var Ii=W((lf,As)=>{"use strict";As.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,b,c="data"+(o||""),f=e.opts.$data&&n&&n.$data,l;if(f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(f||typeof n=="number"))throw new Error(i+" must be number");var y=i=="maxLength"?">":"<";r+="if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),e.opts.unicode===!1?r+=" "+c+".length ":r+=" ucs2length("+c+") ",r+=" "+y+" "+l+") { ";var b=i,m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(b||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+l+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT be ",i=="maxLength"?r+="longer":r+="shorter",r+=" than ",f?r+="' + "+l+" + '":r+=""+n,r+=" characters' "),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var S=r;return r=m.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",p&&(r+=" else { "),r}});var xi=W((df,Es)=>{"use strict";Es.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,b,c="data"+(o||""),f=e.opts.$data&&n&&n.$data,l;if(f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(f||typeof n=="number"))throw new Error(i+" must be number");var y=i=="maxProperties"?">":"<";r+="if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" Object.keys("+c+").length "+y+" "+l+") { ";var b=i,m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(b||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+l+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT have ",i=="maxProperties"?r+="more":r+="fewer",r+=" than ",f?r+="' + "+l+" + '":r+=""+n,r+=" properties' "),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var S=r;return r=m.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",p&&(r+=" else { "),r}});var Os=W((pf,$s)=>{"use strict";$s.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f=e.opts.$data&&n&&n.$data,l;if(f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(f||typeof n=="number"))throw new Error(i+" must be number");r+="var division"+s+";if (",f&&(r+=" "+l+" !== undefined && ( typeof "+l+" != 'number' || "),r+=" (division"+s+" = "+c+" / "+l+", ",e.opts.multipleOfPrecision?r+=" Math.abs(Math.round(division"+s+") - division"+s+") > 1e-"+e.opts.multipleOfPrecision+" ":r+=" division"+s+" !== parseInt(division"+s+") ",r+=" ) ",f&&(r+=" ) "),r+=" ) { ";var y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { multipleOf: "+l+" } ",e.opts.messages!==!1&&(r+=" , message: 'should be multiple of ",f?r+="' + "+l:r+=""+l+"'"),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var b=r;return r=y.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+b+"]); ":r+=" validate.errors = ["+b+"]; return false; ":r+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",p&&(r+=" else { "),r}});var Ls=W((cf,Ds)=>{"use strict";Ds.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="errs__"+s,l=e.util.copy(e);l.level++;var y="valid"+l.level;if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){l.schema=n,l.schemaPath=d,l.errSchemaPath=u,r+=" var "+f+" = errors; ";var b=e.compositeRule;e.compositeRule=l.compositeRule=!0,l.createErrors=!1;var m;l.opts.allErrors&&(m=l.opts.allErrors,l.opts.allErrors=!1),r+=" "+e.validate(l)+" ",l.createErrors=!0,m&&(l.opts.allErrors=m),e.compositeRule=l.compositeRule=b,r+=" if ("+y+") { ";var S=S||[];S.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'should NOT be valid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var T=r;r=S.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+T+"]); ":r+=" validate.errors = ["+T+"]; return false; ":r+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { errors = "+f+"; if (vErrors !== null) { if ("+f+") vErrors.length = "+f+"; else vErrors = null; } ",e.opts.allErrors&&(r+=" } ")}else r+=" var err = ",e.createErrors!==!1?(r+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'should NOT be valid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",p&&(r+=" if (false) { ");return r}});var js=W((uf,Rs)=>{"use strict";Rs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l="errs__"+s,y=e.util.copy(e),b="";y.level++;var m="valid"+y.level,S=y.baseId,T="prevValid"+s,I="passingSchemas"+s;r+="var "+l+" = errors , "+T+" = false , "+f+" = false , "+I+" = null; ";var P=e.compositeRule;e.compositeRule=y.compositeRule=!0;var F=n;if(F)for(var $,_=-1,L=F.length-1;_<L;)$=F[_+=1],(e.opts.strictKeywords?typeof $=="object"&&Object.keys($).length>0||$===!1:e.util.schemaHasRules($,e.RULES.all))?(y.schema=$,y.schemaPath=d+"["+_+"]",y.errSchemaPath=u+"/"+_,r+=" "+e.validate(y)+" ",y.baseId=S):r+=" var "+m+" = true; ",_&&(r+=" if ("+m+" && "+T+") { "+f+" = false; "+I+" = ["+I+", "+_+"]; } else { ",b+="}"),r+=" if ("+m+") { "+f+" = "+T+" = true; "+I+" = "+_+"; }";return e.compositeRule=y.compositeRule=P,r+=""+b+"if (!"+f+") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { passingSchemas: "+I+" } ",e.opts.messages!==!1&&(r+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&p&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),r+="} else { errors = "+l+"; if (vErrors !== null) { if ("+l+") vErrors.length = "+l+"; else vErrors = null; }",e.opts.allErrors&&(r+=" } "),r}});var qs=W((ff,_s)=>{"use strict";_s.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f=e.opts.$data&&n&&n.$data,l;f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n;var y=f?"(new RegExp("+l+"))":e.usePattern(n);r+="if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'string') || "),r+=" !"+y+".test("+c+") ) { ";var b=b||[];b.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { pattern: ",f?r+=""+l:r+=""+e.util.toQuotedString(n),r+=" } ",e.opts.messages!==!1&&(r+=` , message: 'should match pattern "`,f?r+="' + "+l+" + '":r+=""+e.util.escapeQuotes(n),r+=`"' `),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+e.util.toQuotedString(n),r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var m=r;return r=b.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+m+"]); ":r+=" validate.errors = ["+m+"]; return false; ":r+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",p&&(r+=" else { "),r}});var ks=W((hf,Bs)=>{"use strict";Bs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="errs__"+s,l=e.util.copy(e),y="";l.level++;var b="valid"+l.level,m="key"+s,S="idx"+s,T=l.dataLevel=e.dataLevel+1,I="data"+T,P="dataProperties"+s,F=Object.keys(n||{}).filter(G),$=e.schema.patternProperties||{},_=Object.keys($).filter(G),L=e.schema.additionalProperties,A=F.length||_.length,R=L===!1,O=typeof L=="object"&&Object.keys(L).length,q=e.opts.removeAdditional,E=R||O||q,D=e.opts.ownProperties,B=e.baseId,ee=e.schema.required;if(ee&&!(e.opts.$data&&ee.$data)&&ee.length<e.opts.loopRequired)var V=e.util.toHash(ee);function G(We){return We!=="__proto__"}if(r+="var "+f+" = errors;var "+b+" = true;",D&&(r+=" var "+P+" = undefined;"),E){if(D?r+=" "+P+" = "+P+" || Object.keys("+c+"); for (var "+S+"=0; "+S+"<"+P+".length; "+S+"++) { var "+m+" = "+P+"["+S+"]; ":r+=" for (var "+m+" in "+c+") { ",A){if(r+=" var isAdditional"+s+" = !(false ",F.length)if(F.length>8)r+=" || validate.schema"+d+".hasOwnProperty("+m+") ";else{var z=F;if(z)for(var N,pe=-1,Ce=z.length-1;pe<Ce;)N=z[pe+=1],r+=" || "+m+" == "+e.util.toQuotedString(N)+" "}if(_.length){var Ee=_;if(Ee)for(var J,ge=-1,we=Ee.length-1;ge<we;)J=Ee[ge+=1],r+=" || "+e.usePattern(J)+".test("+m+") "}r+=" ); if (isAdditional"+s+") { "}if(q=="all")r+=" delete "+c+"["+m+"]; ";else{var $e=e.errorPath,nt="' + "+m+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers)),R)if(q)r+=" delete "+c+"["+m+"]; ";else{r+=" "+b+" = false; ";var Ze=u;u=e.errSchemaPath+"/additionalProperties";var be=be||[];be.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { additionalProperty: '"+nt+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is an invalid additional property":r+="should NOT have additional properties",r+="' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var ce=r;r=be.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+ce+"]); ":r+=" validate.errors = ["+ce+"]; return false; ":r+=" var err = "+ce+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u=Ze,p&&(r+=" break; ")}else if(O)if(q=="failing"){r+=" var "+f+" = errors; ";var bt=e.compositeRule;e.compositeRule=l.compositeRule=!0,l.schema=L,l.schemaPath=e.schemaPath+".additionalProperties",l.errSchemaPath=e.errSchemaPath+"/additionalProperties",l.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var Te=c+"["+m+"]";l.dataPathArr[T]=m;var Y=e.validate(l);l.baseId=B,e.util.varOccurences(Y,I)<2?r+=" "+e.util.varReplace(Y,I,Te)+" ":r+=" var "+I+" = "+Te+"; "+Y+" ",r+=" if (!"+b+") { errors = "+f+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+c+"["+m+"]; } ",e.compositeRule=l.compositeRule=bt}else{l.schema=L,l.schemaPath=e.schemaPath+".additionalProperties",l.errSchemaPath=e.errSchemaPath+"/additionalProperties",l.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var Te=c+"["+m+"]";l.dataPathArr[T]=m;var Y=e.validate(l);l.baseId=B,e.util.varOccurences(Y,I)<2?r+=" "+e.util.varReplace(Y,I,Te)+" ":r+=" var "+I+" = "+Te+"; "+Y+" ",p&&(r+=" if (!"+b+") break; ")}e.errorPath=$e}A&&(r+=" } "),r+=" } ",p&&(r+=" if ("+b+") { ",y+="}")}var ot=e.opts.useDefaults&&!e.compositeRule;if(F.length){var Ye=F;if(Ye)for(var N,vt=-1,St=Ye.length-1;vt<St;){N=Ye[vt+=1];var Ie=n[N];if(e.opts.strictKeywords?typeof Ie=="object"&&Object.keys(Ie).length>0||Ie===!1:e.util.schemaHasRules(Ie,e.RULES.all)){var qe=e.util.getProperty(N),Te=c+qe,De=ot&&Ie.default!==void 0;l.schema=Ie,l.schemaPath=d+qe,l.errSchemaPath=u+"/"+e.util.escapeFragment(N),l.errorPath=e.util.getPath(e.errorPath,N,e.opts.jsonPointers),l.dataPathArr[T]=e.util.toQuotedString(N);var Y=e.validate(l);if(l.baseId=B,e.util.varOccurences(Y,I)<2){Y=e.util.varReplace(Y,I,Te);var Oe=Te}else{var Oe=I;r+=" var "+I+" = "+Te+"; "}if(De)r+=" "+Y+" ";else{if(V&&V[N]){r+=" if ( "+Oe+" === undefined ",D&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(N)+"') "),r+=") { "+b+" = false; ";var $e=e.errorPath,Ze=u,Ge=e.util.escapeQuotes(N);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath($e,N,e.opts.jsonPointers)),u=e.errSchemaPath+"/required";var be=be||[];be.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+Ge+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+Ge+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var ce=r;r=be.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+ce+"]); ":r+=" validate.errors = ["+ce+"]; return false; ":r+=" var err = "+ce+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u=Ze,e.errorPath=$e,r+=" } else { "}else p?(r+=" if ( "+Oe+" === undefined ",D&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(N)+"') "),r+=") { "+b+" = true; } else { "):(r+=" if ("+Oe+" !== undefined ",D&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(N)+"') "),r+=" ) { ");r+=" "+Y+" } "}}p&&(r+=" if ("+b+") { ",y+="}")}}if(_.length){var Re=_;if(Re)for(var J,pr=-1,Kr=Re.length-1;pr<Kr;){J=Re[pr+=1];var Ie=$[J];if(e.opts.strictKeywords?typeof Ie=="object"&&Object.keys(Ie).length>0||Ie===!1:e.util.schemaHasRules(Ie,e.RULES.all)){l.schema=Ie,l.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(J),l.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(J),D?r+=" "+P+" = "+P+" || Object.keys("+c+"); for (var "+S+"=0; "+S+"<"+P+".length; "+S+"++) { var "+m+" = "+P+"["+S+"]; ":r+=" for (var "+m+" in "+c+") { ",r+=" if ("+e.usePattern(J)+".test("+m+")) { ",l.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var Te=c+"["+m+"]";l.dataPathArr[T]=m;var Y=e.validate(l);l.baseId=B,e.util.varOccurences(Y,I)<2?r+=" "+e.util.varReplace(Y,I,Te)+" ":r+=" var "+I+" = "+Te+"; "+Y+" ",p&&(r+=" if (!"+b+") break; "),r+=" } ",p&&(r+=" else "+b+" = true; "),r+=" } ",p&&(r+=" if ("+b+") { ",y+="}")}}}return p&&(r+=" "+y+" if ("+f+" == errors) {"),r}});var Ws=W((yf,Ns)=>{"use strict";Ns.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="errs__"+s,l=e.util.copy(e),y="";l.level++;var b="valid"+l.level;if(r+="var "+f+" = errors;",e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){l.schema=n,l.schemaPath=d,l.errSchemaPath=u;var m="key"+s,S="idx"+s,T="i"+s,I="' + "+m+" + '",P=l.dataLevel=e.dataLevel+1,F="data"+P,$="dataProperties"+s,_=e.opts.ownProperties,L=e.baseId;_&&(r+=" var "+$+" = undefined; "),_?r+=" "+$+" = "+$+" || Object.keys("+c+"); for (var "+S+"=0; "+S+"<"+$+".length; "+S+"++) { var "+m+" = "+$+"["+S+"]; ":r+=" for (var "+m+" in "+c+") { ",r+=" var startErrs"+s+" = errors; ";var A=m,R=e.compositeRule;e.compositeRule=l.compositeRule=!0;var O=e.validate(l);l.baseId=L,e.util.varOccurences(O,F)<2?r+=" "+e.util.varReplace(O,F,A)+" ":r+=" var "+F+" = "+A+"; "+O+" ",e.compositeRule=l.compositeRule=R,r+=" if (!"+b+") { for (var "+T+"=startErrs"+s+"; "+T+"<errors; "+T+"++) { vErrors["+T+"].propertyName = "+m+"; } var err = ",e.createErrors!==!1?(r+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { propertyName: '"+I+"' } ",e.opts.messages!==!1&&(r+=" , message: 'property name \\'"+I+"\\' is invalid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&p&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),p&&(r+=" break; "),r+=" } }"}return p&&(r+=" "+y+" if ("+f+" == errors) {"),r}});var zs=W((mf,Ms)=>{"use strict";Ms.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l=e.opts.$data&&n&&n.$data,y;l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",y="schema"+s):y=n;var b="schema"+s;if(!l)if(n.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var m=[],S=n;if(S)for(var T,I=-1,P=S.length-1;I<P;){T=S[I+=1];var F=e.schema.properties[T];F&&(e.opts.strictKeywords?typeof F=="object"&&Object.keys(F).length>0||F===!1:e.util.schemaHasRules(F,e.RULES.all))||(m[m.length]=T)}}else var m=n;if(l||m.length){var $=e.errorPath,_=l||m.length>=e.opts.loopRequired,L=e.opts.ownProperties;if(p)if(r+=" var missing"+s+"; ",_){l||(r+=" var "+b+" = validate.schema"+d+"; ");var A="i"+s,R="schema"+s+"["+A+"]",O="' + "+R+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr($,R,e.opts.jsonPointers)),r+=" var "+f+" = true; ",l&&(r+=" if (schema"+s+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+s+")) "+f+" = false; else {"),r+=" for (var "+A+" = 0; "+A+" < "+b+".length; "+A+"++) { "+f+" = "+c+"["+b+"["+A+"]] !== undefined ",L&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", "+b+"["+A+"]) "),r+="; if (!"+f+") break; } ",l&&(r+=" } "),r+=" if (!"+f+") { ";var q=q||[];q.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+O+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+O+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var E=r;r=q.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+E+"]); ":r+=" validate.errors = ["+E+"]; return false; ":r+=" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { "}else{r+=" if ( ";var D=m;if(D)for(var B,A=-1,ee=D.length-1;A<ee;){B=D[A+=1],A&&(r+=" || ");var V=e.util.getProperty(B),G=c+V;r+=" ( ( "+G+" === undefined ",L&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(B)+"') "),r+=") && (missing"+s+" = "+e.util.toQuotedString(e.opts.jsonPointers?B:V)+") ) "}r+=") { ";var R="missing"+s,O="' + "+R+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr($,R,!0):$+" + "+R);var q=q||[];q.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+O+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+O+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var E=r;r=q.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+E+"]); ":r+=" validate.errors = ["+E+"]; return false; ":r+=" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { "}else if(_){l||(r+=" var "+b+" = validate.schema"+d+"; ");var A="i"+s,R="schema"+s+"["+A+"]",O="' + "+R+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr($,R,e.opts.jsonPointers)),l&&(r+=" if ("+b+" && !Array.isArray("+b+")) { var err = ",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+O+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+O+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+b+" !== undefined) { "),r+=" for (var "+A+" = 0; "+A+" < "+b+".length; "+A+"++) { if ("+c+"["+b+"["+A+"]] === undefined ",L&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", "+b+"["+A+"]) "),r+=") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+O+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+O+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",l&&(r+=" } ")}else{var z=m;if(z)for(var B,N=-1,pe=z.length-1;N<pe;){B=z[N+=1];var V=e.util.getProperty(B),O=e.util.escapeQuotes(B),G=c+V;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath($,B,e.opts.jsonPointers)),r+=" if ( "+G+" === undefined ",L&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(B)+"') "),r+=") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+O+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+O+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=$}else p&&(r+=" if (true) {");return r}});var Us=W((gf,Vs)=>{"use strict";Vs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l=e.opts.$data&&n&&n.$data,y;if(l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",y="schema"+s):y=n,(n||l)&&e.opts.uniqueItems!==!1){l&&(r+=" var "+f+"; if ("+y+" === false || "+y+" === undefined) "+f+" = true; else if (typeof "+y+" != 'boolean') "+f+" = false; else { "),r+=" var i = "+c+".length , "+f+" = true , j; if (i > 1) { ";var b=e.schema.items&&e.schema.items.type,m=Array.isArray(b);if(!b||b=="object"||b=="array"||m&&(b.indexOf("object")>=0||b.indexOf("array")>=0))r+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+c+"[i], "+c+"[j])) { "+f+" = false; break outer; } } } ";else{r+=" var itemIndices = {}, item; for (;i--;) { var item = "+c+"[i]; ";var S="checkDataType"+(m?"s":"");r+=" if ("+e.util[S](b,"item",e.opts.strictNumbers,!0)+") continue; ",m&&(r+=` if (typeof item == 'string') item = '"' + item; `),r+=" if (typeof itemIndices[item] == 'number') { "+f+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}r+=" } ",l&&(r+=" } "),r+=" if (!"+f+") { ";var T=T||[];T.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { i: i, j: j } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(r+=" , schema: ",l?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var I=r;r=T.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+I+"]); ":r+=" validate.errors = ["+I+"]; return false; ":r+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",p&&(r+=" else { ")}else p&&(r+=" if (true) { ");return r}});var Hs=W((bf,Gs)=>{"use strict";Gs.exports={$ref:ss(),allOf:os(),anyOf:ds(),$comment:cs(),const:fs(),contains:ys(),dependencies:gs(),enum:vs(),format:ws(),if:xs(),items:Ts(),maximum:Si(),minimum:Si(),maxItems:wi(),minItems:wi(),maxLength:Ii(),minLength:Ii(),maxProperties:xi(),minProperties:xi(),multipleOf:Os(),not:Ls(),oneOf:js(),pattern:qs(),properties:ks(),propertyNames:Ws(),required:zs(),uniqueItems:Us(),validate:bi()}});var Ks=W((vf,Js)=>{"use strict";var Qs=Hs(),Ci=Tt().toHash;Js.exports=function(){var e=[{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"]}],i=["type","$comment"],a=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"],r=["number","integer","string","array","object","boolean","null"];return e.all=Ci(i),e.types=Ci(r),e.forEach(function(s){s.rules=s.rules.map(function(o){var n;if(typeof o=="object"){var d=Object.keys(o)[0];n=o[d],o=d,n.forEach(function(p){i.push(p),e.all[p]=!0})}i.push(o);var u=e.all[o]={keyword:o,code:Qs[o],implements:n};return u}),e.all.$comment={keyword:"$comment",code:Qs.$comment},s.type&&(e.types[s.type]=s)}),e.keywords=Ci(i.concat(a)),e.custom={},e}});var Xs=W((Sf,Ys)=>{"use strict";var Zs=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];Ys.exports=function(t,e){for(var i=0;i<e.length;i++){t=JSON.parse(JSON.stringify(t));var a=e[i].split("/"),r=t,s;for(s=1;s<a.length;s++)r=r[a[s]];for(s=0;s<Zs.length;s++){var o=Zs[s],n=r[o];n&&(r[o]={anyOf:[n,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return t}});var rn=W((wf,tn)=>{"use strict";var Ll=Pr().MissingRef;tn.exports=en;function en(t,e,i){var a=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");typeof e=="function"&&(i=e,e=void 0);var r=s(t).then(function(){var n=a._addSchema(t,void 0,e);return n.validate||o(n)});return i&&r.then(function(n){i(null,n)},i),r;function s(n){var d=n.$schema;return d&&!a.getSchema(d)?en.call(a,{$ref:d},!0):Promise.resolve()}function o(n){try{return a._compile(n)}catch(u){if(u instanceof Ll)return d(u);throw u}function d(u){var p=u.missingSchema;if(l(p))throw new Error("Schema "+p+" is loaded but "+u.missingRef+" cannot be resolved");var c=a._loadingSchemas[p];return c||(c=a._loadingSchemas[p]=a._opts.loadSchema(p),c.then(f,f)),c.then(function(y){if(!l(p))return s(y).then(function(){l(p)||a.addSchema(y,p,void 0,e)})}).then(function(){return o(n)});function f(){delete a._loadingSchemas[p]}function l(y){return a._refs[y]||a._schemas[y]}}}}});var sn=W((If,an)=>{"use strict";an.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c,f="data"+(o||""),l="valid"+s,y="errs__"+s,b=e.opts.$data&&n&&n.$data,m;b?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",m="schema"+s):m=n;var S=this,T="definition"+s,I=S.definition,P="",F,$,_,L,A;if(b&&I.$data){A="keywordValidate"+s;var R=I.validateSchema;r+=" var "+T+" = RULES.custom['"+i+"'].definition; var "+A+" = "+T+".validate;"}else{if(L=e.useCustomRule(S,n,e.schema,e),!L)return;m="validate.schema"+d,A=L.code,F=I.compile,$=I.inline,_=I.macro}var O=A+".errors",q="i"+s,E="ruleErr"+s,D=I.async;if(D&&!e.async)throw new Error("async keyword in sync schema");if($||_||(r+=""+O+" = null;"),r+="var "+y+" = errors;var "+l+";",b&&I.$data&&(P+="}",r+=" if ("+m+" === undefined) { "+l+" = true; } else { ",R&&(P+="}",r+=" "+l+" = "+T+".validateSchema("+m+"); if ("+l+") { ")),$)I.statements?r+=" "+L.validate+" ":r+=" "+l+" = "+L.validate+"; ";else if(_){var B=e.util.copy(e),P="";B.level++;var ee="valid"+B.level;B.schema=L.validate,B.schemaPath="";var V=e.compositeRule;e.compositeRule=B.compositeRule=!0;var G=e.validate(B).replace(/validate\.schema/g,A);e.compositeRule=B.compositeRule=V,r+=" "+G}else{var z=z||[];z.push(r),r="",r+=" "+A+".call( ",e.opts.passContext?r+="this":r+="self",F||I.schema===!1?r+=" , "+f+" ":r+=" , "+m+" , "+f+" , validate.schema"+e.schemaPath+" ",r+=" , (dataPath || '')",e.errorPath!='""'&&(r+=" + "+e.errorPath);var N=o?"data"+(o-1||""):"parentData",pe=o?e.dataPathArr[o]:"parentDataProperty";r+=" , "+N+" , "+pe+" , rootData ) ";var Ce=r;r=z.pop(),I.errors===!1?(r+=" "+l+" = ",D&&(r+="await "),r+=""+Ce+"; "):D?(O="customErrors"+s,r+=" var "+O+" = null; try { "+l+" = await "+Ce+"; } catch (e) { "+l+" = false; if (e instanceof ValidationError) "+O+" = e.errors; else throw e; } "):r+=" "+O+" = null; "+l+" = "+Ce+"; "}if(I.modifying&&(r+=" if ("+N+") "+f+" = "+N+"["+pe+"];"),r+=""+P,I.valid)p&&(r+=" if (true) { ");else{r+=" if ( ",I.valid===void 0?(r+=" !",_?r+=""+ee:r+=""+l):r+=" "+!I.valid+" ",r+=") { ",c=S.keyword;var z=z||[];z.push(r),r="";var z=z||[];z.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(c||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+S.keyword+"' } ",e.opts.messages!==!1&&(r+=` , message: 'should pass "`+S.keyword+`" keyword validation' `),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),r+=" } "):r+=" {} ";var Ee=r;r=z.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+Ee+"]); ":r+=" validate.errors = ["+Ee+"]; return false; ":r+=" var err = "+Ee+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var J=r;r=z.pop(),$?I.errors?I.errors!="full"&&(r+=" for (var "+q+"="+y+"; "+q+"<errors; "+q+"++) { var "+E+" = vErrors["+q+"]; if ("+E+".dataPath === undefined) "+E+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+E+".schemaPath === undefined) { "+E+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(r+=" "+E+".schema = "+m+"; "+E+".data = "+f+"; "),r+=" } "):I.errors===!1?r+=" "+J+" ":(r+=" if ("+y+" == errors) { "+J+" } else { for (var "+q+"="+y+"; "+q+"<errors; "+q+"++) { var "+E+" = vErrors["+q+"]; if ("+E+".dataPath === undefined) "+E+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+E+".schemaPath === undefined) { "+E+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(r+=" "+E+".schema = "+m+"; "+E+".data = "+f+"; "),r+=" } } "):_?(r+=" var err = ",e.createErrors!==!1?(r+=" { keyword: '"+(c||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+S.keyword+"' } ",e.opts.messages!==!1&&(r+=` , message: 'should pass "`+S.keyword+`" keyword validation' `),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&p&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; ")):I.errors===!1?r+=" "+J+" ":(r+=" if (Array.isArray("+O+")) { if (vErrors === null) vErrors = "+O+"; else vErrors = vErrors.concat("+O+"); errors = vErrors.length; for (var "+q+"="+y+"; "+q+"<errors; "+q+"++) { var "+E+" = vErrors["+q+"]; if ("+E+".dataPath === undefined) "+E+".dataPath = (dataPath || '') + "+e.errorPath+"; "+E+'.schemaPath = "'+u+'"; ',e.opts.verbose&&(r+=" "+E+".schema = "+m+"; "+E+".data = "+f+"; "),r+=" } } else { "+J+" } "),r+=" } ",p&&(r+=" else { ")}return r}});var Ti=W((xf,Rl)=>{Rl.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{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:[]}},type:["object","boolean"],properties:{$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:"#"}},default:!0}});var ln=W((Cf,on)=>{"use strict";var nn=Ti();on.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:nn.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:nn.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"}]}}}});var pn=W((Tf,dn)=>{"use strict";var jl=/^[a-z_$][a-z0-9_$-]*$/i,_l=sn(),ql=ln();dn.exports={add:Bl,get:kl,remove:Nl,validate:Pi};function Bl(t,e){var i=this.RULES;if(i.keywords[t])throw new Error("Keyword "+t+" is already defined");if(!jl.test(t))throw new Error("Keyword "+t+" is not a valid identifier");if(e){this.validateKeyword(e,!0);var a=e.type;if(Array.isArray(a))for(var r=0;r<a.length;r++)o(t,a[r],e);else o(t,a,e);var s=e.metaSchema;s&&(e.$data&&this._opts.$data&&(s={anyOf:[s,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),e.validateSchema=this.compile(s,!0))}i.keywords[t]=i.all[t]=!0;function o(n,d,u){for(var p,c=0;c<i.length;c++){var f=i[c];if(f.type==d){p=f;break}}p||(p={type:d,rules:[]},i.push(p));var l={keyword:n,definition:u,custom:!0,code:_l,implements:u.implements};p.rules.push(l),i.custom[n]=l}return this}function kl(t){var e=this.RULES.custom[t];return e?e.definition:this.RULES.keywords[t]||!1}function Nl(t){var e=this.RULES;delete e.keywords[t],delete e.all[t],delete e.custom[t];for(var i=0;i<e.length;i++)for(var a=e[i].rules,r=0;r<a.length;r++)if(a[r].keyword==t){a.splice(r,1);break}return this}function Pi(t,e){Pi.errors=null;var i=this._validateKeyword=this._validateKeyword||this.compile(ql,!0);if(i(t))return!0;if(Pi.errors=i.errors,e)throw new Error("custom keyword definition is invalid: "+this.errorsText(i.errors));return!1}});var cn=W((Pf,Wl)=>{Wl.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON Schema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}});var wn=W((Ff,Sn)=>{"use strict";var fn=za(),Pt=Tr(),Ml=Ua(),hn=ci(),zl=gi(),Vl=is(),Ul=Ks(),yn=Xs(),mn=Tt();Sn.exports=fe;fe.prototype.validate=Hl;fe.prototype.compile=Ql;fe.prototype.addSchema=Jl;fe.prototype.addMetaSchema=Kl;fe.prototype.validateSchema=Zl;fe.prototype.getSchema=Xl;fe.prototype.removeSchema=td;fe.prototype.addFormat=dd;fe.prototype.errorsText=ld;fe.prototype._addSchema=rd;fe.prototype._compile=id;fe.prototype.compileAsync=rn();var Rr=pn();fe.prototype.addKeyword=Rr.add;fe.prototype.getKeyword=Rr.get;fe.prototype.removeKeyword=Rr.remove;fe.prototype.validateKeyword=Rr.validate;var gn=Pr();fe.ValidationError=gn.Validation;fe.MissingRefError=gn.MissingRef;fe.$dataMetaSchema=yn;var Lr="http://json-schema.org/draft-07/schema",un=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],Gl=["/properties"];function fe(t){if(!(this instanceof fe))return new fe(t);t=this._opts=mn.copy(t)||{},yd(this),this._schemas={},this._refs={},this._fragments={},this._formats=Vl(t.format),this._cache=t.cache||new Ml,this._loadingSchemas={},this._compilations=[],this.RULES=Ul(),this._getId=ad(t),t.loopRequired=t.loopRequired||1/0,t.errorDataPath=="property"&&(t._errorDataPathProperty=!0),t.serialize===void 0&&(t.serialize=zl),this._metaOpts=hd(this),t.formats&&ud(this),t.keywords&&fd(this),pd(this),typeof t.meta=="object"&&this.addMetaSchema(t.meta),t.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),cd(this)}function Hl(t,e){var i;if(typeof t=="string"){if(i=this.getSchema(t),!i)throw new Error('no schema with key or ref "'+t+'"')}else{var a=this._addSchema(t);i=a.validate||this._compile(a)}var r=i(e);return i.$async!==!0&&(this.errors=i.errors),r}function Ql(t,e){var i=this._addSchema(t,void 0,e);return i.validate||this._compile(i)}function Jl(t,e,i,a){if(Array.isArray(t)){for(var r=0;r<t.length;r++)this.addSchema(t[r],void 0,i,a);return this}var s=this._getId(t);if(s!==void 0&&typeof s!="string")throw new Error("schema id must be string");return e=Pt.normalizeId(e||s),vn(this,e),this._schemas[e]=this._addSchema(t,i,a,!0),this}function Kl(t,e,i){return this.addSchema(t,e,i,!0),this}function Zl(t,e){var i=t.$schema;if(i!==void 0&&typeof i!="string")throw new Error("$schema must be a string");if(i=i||this._opts.defaultMeta||Yl(this),!i)return this.logger.warn("meta-schema not available"),this.errors=null,!0;var a=this.validate(i,t);if(!a&&e){var r="schema is invalid: "+this.errorsText();if(this._opts.validateSchema=="log")this.logger.error(r);else throw new Error(r)}return a}function Yl(t){var e=t._opts.meta;return t._opts.defaultMeta=typeof e=="object"?t._getId(e)||e:t.getSchema(Lr)?Lr:void 0,t._opts.defaultMeta}function Xl(t){var e=bn(this,t);switch(typeof e){case"object":return e.validate||this._compile(e);case"string":return this.getSchema(e);case"undefined":return ed(this,t)}}function ed(t,e){var i=Pt.schema.call(t,{schema:{}},e);if(i){var a=i.schema,r=i.root,s=i.baseId,o=fn.call(t,a,r,void 0,s);return t._fragments[e]=new hn({ref:e,fragment:!0,schema:a,root:r,baseId:s,validate:o}),o}}function bn(t,e){return e=Pt.normalizeId(e),t._schemas[e]||t._refs[e]||t._fragments[e]}function td(t){if(t instanceof RegExp)return Dr(this,this._schemas,t),Dr(this,this._refs,t),this;switch(typeof t){case"undefined":return Dr(this,this._schemas),Dr(this,this._refs),this._cache.clear(),this;case"string":var e=bn(this,t);return e&&this._cache.del(e.cacheKey),delete this._schemas[t],delete this._refs[t],this;case"object":var i=this._opts.serialize,a=i?i(t):t;this._cache.del(a);var r=this._getId(t);r&&(r=Pt.normalizeId(r),delete this._schemas[r],delete this._refs[r])}return this}function Dr(t,e,i){for(var a in e){var r=e[a];!r.meta&&(!i||i.test(a))&&(t._cache.del(r.cacheKey),delete e[a])}}function rd(t,e,i,a){if(typeof t!="object"&&typeof t!="boolean")throw new Error("schema should be object or boolean");var r=this._opts.serialize,s=r?r(t):t,o=this._cache.get(s);if(o)return o;a=a||this._opts.addUsedSchema!==!1;var n=Pt.normalizeId(this._getId(t));n&&a&&vn(this,n);var d=this._opts.validateSchema!==!1&&!e,u;d&&!(u=n&&n==Pt.normalizeId(t.$schema))&&this.validateSchema(t,!0);var p=Pt.ids.call(this,t),c=new hn({id:n,schema:t,localRefs:p,cacheKey:s,meta:i});return n[0]!="#"&&a&&(this._refs[n]=c),this._cache.put(s,c),d&&u&&this.validateSchema(t,!0),c}function id(t,e){if(t.compiling)return t.validate=r,r.schema=t.schema,r.errors=null,r.root=e||r,t.schema.$async===!0&&(r.$async=!0),r;t.compiling=!0;var i;t.meta&&(i=this._opts,this._opts=this._metaOpts);var a;try{a=fn.call(this,t.schema,e,t.localRefs)}catch(s){throw delete t.validate,s}finally{t.compiling=!1,t.meta&&(this._opts=i)}return t.validate=a,t.refs=a.refs,t.refVal=a.refVal,t.root=a.root,a;function r(){var s=t.validate,o=s.apply(this,arguments);return r.errors=s.errors,o}}function ad(t){switch(t.schemaId){case"auto":return od;case"id":return sd;default:return nd}}function sd(t){return t.$id&&this.logger.warn("schema $id ignored",t.$id),t.id}function nd(t){return t.id&&this.logger.warn("schema id ignored",t.id),t.$id}function od(t){if(t.$id&&t.id&&t.$id!=t.id)throw new Error("schema $id is different from id");return t.$id||t.id}function ld(t,e){if(t=t||this.errors,!t)return"No errors";e=e||{};for(var i=e.separator===void 0?", ":e.separator,a=e.dataVar===void 0?"data":e.dataVar,r="",s=0;s<t.length;s++){var o=t[s];o&&(r+=a+o.dataPath+" "+o.message+i)}return r.slice(0,-i.length)}function dd(t,e){return typeof e=="string"&&(e=new RegExp(e)),this._formats[t]=e,this}function pd(t){var e;if(t._opts.$data&&(e=cn(),t.addMetaSchema(e,e.$id,!0)),t._opts.meta!==!1){var i=Ti();t._opts.$data&&(i=yn(i,Gl)),t.addMetaSchema(i,Lr,!0),t._refs["http://json-schema.org/schema"]=Lr}}function cd(t){var e=t._opts.schemas;if(e)if(Array.isArray(e))t.addSchema(e);else for(var i in e)t.addSchema(e[i],i)}function ud(t){for(var e in t._opts.formats){var i=t._opts.formats[e];t.addFormat(e,i)}}function fd(t){for(var e in t._opts.keywords){var i=t._opts.keywords[e];t.addKeyword(e,i)}}function vn(t,e){if(t._schemas[e]||t._refs[e])throw new Error('schema with key or id "'+e+'" already exists')}function hd(t){for(var e=mn.copy(t._opts),i=0;i<un.length;i++)delete e[un[i]];return e}function yd(t){var e=t._opts.logger;if(e===!1)t.logger={log:Fi,warn:Fi,error:Fi};else{if(e===void 0&&(e=console),!(typeof e=="object"&&e.log&&e.warn&&e.error))throw new Error("logger must implement log, warn and error methods");t.logger=e}}function Fi(){}});var Cn=W((Af,Ei)=>{function md(t,e){var i=e&&e.cache?e.cache:Id,a=e&&e.serializer?e.serializer:wd,r=e&&e.strategy?e.strategy:bd;return r(t,{cache:i,serializer:a})}function gd(t){return t==null||typeof t=="number"||typeof t=="boolean"}function In(t,e,i,a){var r=gd(a)?a:i(a),s=e.get(r);return typeof s>"u"&&(s=t.call(this,a),e.set(r,s)),s}function xn(t,e,i){var a=Array.prototype.slice.call(arguments,3),r=i(a),s=e.get(r);return typeof s>"u"&&(s=t.apply(this,a),e.set(r,s)),s}function Ai(t,e,i,a,r){return i.bind(e,t,a,r)}function bd(t,e){var i=t.length===1?In:xn;return Ai(t,this,i,e.cache.create(),e.serializer)}function vd(t,e){var i=xn;return Ai(t,this,i,e.cache.create(),e.serializer)}function Sd(t,e){var i=In;return Ai(t,this,i,e.cache.create(),e.serializer)}function wd(){return JSON.stringify(arguments)}function jr(){this.cache=Object.create(null)}jr.prototype.has=function(t){return t in this.cache};jr.prototype.get=function(t){return this.cache[t]};jr.prototype.set=function(t,e){this.cache[t]=e};var Id={create:function(){return new jr}};Ei.exports=md;Ei.exports.strategies={variadic:vd,monadic:Sd}});function tr(t,e){let i,a;if(e===void 0)for(let r of t)r!=null&&(i===void 0?r>=r&&(i=a=r):(i>r&&(i=r),a<r&&(a=r)));else{let r=-1;for(let s of t)(s=e(s,++r,t))!=null&&(i===void 0?s>=s&&(i=a=s):(i>s&&(i=s),a<s&&(a=s)))}return[i,a]}var mr=class extends Map{constructor(e,i=jo){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:i}}),e!=null)for(let[a,r]of e)this.set(a,r)}get(e){return super.get(ha(this,e))}has(e){return super.has(ha(this,e))}set(e,i){return super.set(Lo(this,e),i)}delete(e){return super.delete(Ro(this,e))}};function ha({_intern:t,_key:e},i){let a=e(i);return t.has(a)?t.get(a):i}function Lo({_intern:t,_key:e},i){let a=e(i);return t.has(a)?t.get(a):(t.set(a,i),i)}function Ro({_intern:t,_key:e},i){let a=e(i);return t.has(a)&&(i=t.get(a),t.delete(a)),i}function jo(t){return t!==null&&typeof t=="object"?t.valueOf():t}function ii(t){return t}function _o(t,e,...i){return qo(t,ii,e,i)}function qo(t,e,i,a){return function r(s,o){if(o>=a.length)return i(s);let n=new mr,d=a[o++],u=-1;for(let p of s){let c=d(p,++u,s),f=n.get(c);f?f.push(p):n.set(c,[p])}for(let[p,c]of n)n.set(p,r(c,o));return e(n)}(t,0)}function ya(t,e){let i;if(e===void 0)for(let a of t)a!=null&&(i<a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let r of t)(r=e(r,++a,t))!=null&&(i<r||i===void 0&&r>=r)&&(i=r)}return i}function ma(t,e){let i;if(e===void 0)for(let a of t)a!=null&&(i>a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let r of t)(r=e(r,++a,t))!=null&&(i>r||i===void 0&&r>=r)&&(i=r)}return i}function ga(t,e){let i=0,a=0;if(e===void 0)for(let r of t)r!=null&&(r=+r)>=r&&(++i,a+=r);else{let r=-1;for(let s of t)(s=e(s,++r,t))!=null&&(s=+s)>=s&&(++i,a+=s)}if(i)return a/i}function ba(t,e,i){t=+t,e=+e,i=(r=arguments.length)<2?(e=t,t=0,1):r<3?1:+i;for(var a=-1,r=Math.max(0,Math.ceil((e-t)/i))|0,s=new Array(r);++a<r;)s[a]=t+a*i;return s}function va(t,e){let i=0;if(e===void 0)for(let a of t)(a=+a)&&(i+=a);else{let a=-1;for(let r of t)(r=+e(r,++a,t))&&(i+=r)}return i}var Ln=na(wn(),1);var _n=na(Cn(),1);var yt="24.2.0",ki="arcgis_charts_pie_from_fields_name",Bn="arcgis_charts_pie_from_fields_value",$d="arcgis_charts_bar_line_from_fields_name",Od="arcgis_charts_bar_line_from_fields_value",at={Mean:"Mean",Median:"Median",StdDev:"Standard Deviation",Normal:"Normal Distribution",Trendline:"Trendline"},Tn={Count:"count",Start:"minValue",End:"maxValue"},kn={Reject:"reject",RenderUpToTheLimit:"renderUpToTheLimit"},U={AxisLabels:"axisLabels",GuideLabel:"guideLabel",AxisTitle:"axisTitle",ChartTitle:"chartTitle",ChartSubtitle:"chartSubtitle",DataLabels:"dataLabels",LegendTitle:"legendTitle",LegendText:"legendText",DescriptionText:"descriptionText"},Uf=32,Gf="arcgis_charts_features_extent",At={maxRecordCountFactor:5,maxParallelRequests:4,maxRecords:2e3,orderByJSAPIDelimiter:" ",outStatistics:{statisticType:la.statisticType,onStatisticField:"OBJECTID",outStatisticFieldName:"arcgis_charts_outStatisticFieldName_default_key"},uniqueIdsName:"arcgisChartsUniqueIds"},Dd=["EXPR_1","Expr1","expr1","EXPR1"],Hf=1,ze=.7,Ld=25,Nn=[156,156,156,255],Rd=[156,156,156,255],Qf=Wt.Solid,Jf=2,Kf={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"},Ni="arcgis_charts_box_plot_category",jd={valueField:"arcgis_charts_heat_chart_value",xField:"arcgis_charts_heat_chart_x",yField:"arcgis_charts_heat_chart_y"},_d=[[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]],qd=[[104,104,104,255],[51,124,235,255],[132,0,168,255],[156,156,156,255]];function Je(t){let{colorIndex:e,opacity:i,histogramOverlays:a}=t,r=Math.max(0,e??0),s=[...a===!0?qd:_d],[o,n,d,u]=s[r%s.length],p=i!==void 0?i*255:u;return[o,n,d,p]}function Wn(t){return[0,0,0,(t??ze)*255]}function Zf(){return{type:C.CursorCrosshair,verticalLineVisible:!1,horizontalLineVisible:!1,style:{type:Fe.SLS,style:Wt.Dot,color:[211,211,211,255],width:1}}}function Hr(t=1){return[Math.floor(Math.random()*256),Math.floor(Math.random()*256),Math.floor(Math.random()*256),t*255]}function re(t){let e={family:"Arial, Helvetica, sans-serif",size:10};switch(t){case U.ChartTitle:e.size=18;break;case U.AxisTitle:e.size=14;break;case U.LegendText:e.size=12;break;case U.LegendTitle:e.size=13;break;case U.DescriptionText:e.size=11;break}return e}function Mn(t="",e=re(),i){let a=hr.Center;return(i===U.DataLabels||i===U.GuideLabel)&&(a=void 0),{type:Fe.TS,color:Wn(),text:t,font:e,horizontalAlignment:a}}function Z(t){let{text:e,visible:i,font:a,type:r}=t??{text:"",visible:!0,font:re()};return{type:C.Text,visible:i,content:Mn(e,a,r)}}function or(t){let e=t?.useRandomColor??!1,i=t?.useRampColor,a=t?.width??1,r=t?.isHistogramOverlay,s=t?.color??Wn(1);return e?s=Hr():i!==void 0&&(r===!0?s=Je({colorIndex:i.colorIndex,histogramOverlays:r}):s=Je({colorIndex:i.colorIndex})),t?.opacity!==void 0&&(s[3]=t.opacity),{type:Fe.SLS,style:Wt.Solid,color:s,width:a}}function Bd(){return{type:C.CategoryAxisFormat,characterLimit:11}}function Yf(){return{type:C.DateAxisFormat,intlOptions:{}}}function Ri(){return{type:C.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:3,useGrouping:!0}}}function Xf(){return{type:C.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:2}}}function eh(){return{type:C.NumberAxisFormat,intlOptions:{style:"percent",minimumFractionDigits:0,maximumFractionDigits:0}}}function Pn(t="Category Axis"){let e=Z({text:t,visible:!0,font:re(U.AxisTitle)});e.content.horizontalAlignment=hr.Center,e.content.verticalAlignment=ri.Middle;let i=Z({text:t,visible:!0,font:re(U.AxisLabels)});return{type:C.Axis,visible:!0,title:e,labels:i,valueFormat:Bd(),lineSymbol:or({color:Nn})}}function Wr(t="Value Axis"){let e=Z({text:t,visible:!0,font:re(U.AxisTitle)}),i=Z({text:t,visible:!0,font:re(U.AxisLabels)});return e.content.verticalAlignment=ri.Middle,e.content.horizontalAlignment=hr.Center,{type:C.Axis,visible:!0,title:e,labels:i,valueFormat:Ri(),lineSymbol:or({color:Nn})}}function Et(){return{type:C.Legend,visible:!0,title:Z({text:"",visible:!0,font:re(U.LegendTitle)}),body:Mn("",re(U.LegendText)),position:oa.Right,maxHeight:Number.NaN}}function _r(t){return{type:C.Overlay,visible:!0,created:!1,symbol:or({useRampColor:{colorIndex:t},isHistogramOverlay:!0})}}function $t(){return[255,255,255,255]}async function mt(){return(await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages.")).utilsStrings.chartType.chart}function gt(){return`Chart ${Date.now()}`}function th(t,e=!1){return{type:Fe.SFS,style:Mt.Solid,color:e?Hr(ze):Je({colorIndex:t??0,opacity:ze})}}function kd(t=0){return{type:Fe.SMS,style:ti.Circle,color:Je({colorIndex:t,opacity:ze}),size:4}}function Nd(t){return{type:Fe.SLS,style:Wt.Solid,color:Je({colorIndex:t,opacity:ze}),width:2}}function Wd(t=!1){return{type:Fe.SMS,style:ti.Circle,color:t?Hr(ze):Je({colorIndex:0,opacity:ze}),size:7}}function rh(){return{type:C.SizePolicy,field:"",scaleType:ca.Linear,minSize:5,maxSize:30}}function Md(t=!1){return{type:C.Overlays,trendLine:{type:C.Overlay,created:!1,visible:!0,symbol:{type:Fe.SLS,style:Wt.Solid,color:t?Hr():Je({colorIndex:1}),width:2}}}}function zd(){return{type:C.ScatterSeries,id:C.ScatterSeries,name:C.ScatterSeries,x:"",y:"",markerSymbol:Wd(),overlays:Md(),dataLabels:Z({text:"",visible:!1,font:re(U.DataLabels)})}}async function Gt(t){let e=await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages."),i=[],a=e.xAxis,r=e.utilsStrings.statistics.count,s,o=Wr(r),n=or({opacity:Ld});switch(o.grid=n,t){case C.BarSeries:{s=Pn(a);break}case C.ScatterSeries:{s=Wr(a),s.grid=n;break}case C.RadarSeries:case C.LineSeries:case C.HistogramSeries:{s=Wr(a);break}case C.BoxPlotSeries:{s=Pn("");break}}return s!==void 0&&i.push(s,o),i}function Vd(){return{type:C.GaugeNeedle,symbol:{type:Fe.SFS,color:[0,0,0,200]}}}async function Ud(){let t=await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages."),e=[],i=t.xAxis,a=Wr(i);return a.needle=Vd(),e.push(a),e}async function Gd(t){let e=t.objectIDField??"ObjectID",i=`${ae.Count}_${e}_0`.toUpperCase(),a=(await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages.")).countSeries;return{type:C.LineSeries,id:a,name:a,query:{outStatistics:[{statisticType:ae.Count,onStatisticField:e,outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,lineSymbol:Nd(t.seriesIndex),markerSymbol:kd(t.seriesIndex),dataLabels:Z({text:"",visible:!1,font:re(U.DataLabels)}),temporalBinning:{unit:Pe.Day,size:0,timeAggregationType:kt.Start,trimIncompleteTimeInterval:!0,nullPolicy:da.Interpolate}}}async function ih(t){return{...await Gd(t),type:C.RadarSeries}}function Hd(t){return{type:Fe.SFS,style:Mt.Solid,color:Je({colorIndex:t,opacity:ze})}}async function ah(t){let e=t.objectIDField??"ObjectID",i=`${ae.Count}_${e}_0`.toUpperCase(),a=(await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages.")).countSeries;return{type:C.BarSeries,id:a,name:a,query:{outStatistics:[{statisticType:ae.Count,onStatisticField:e,outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,fillSymbol:Hd(t.seriesIndex),dataLabels:Z({text:"",visible:!1,font:re(U.DataLabels),type:U.DataLabels})}}async function sh(t){let e=(await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages.")).countSeries;return{name:e,type:C.BoxPlotSeries,id:e,fillSymbol:{type:Fe.SFS,style:Mt.Solid,color:Je({colorIndex:t,opacity:ze})},query:{},x:Ni,y:""}}function Qd(){return{type:C.PieTick,visible:!0,lineSymbol:or({width:1,color:Rd})}}function Jd(){return{type:Fe.SFS,style:Mt.Solid}}async function nh(t){let e=`${ae.Count}_${t}_0`.toUpperCase(),i=(await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages.")).countSeries;return{type:C.PieSeries,id:i,name:i,query:{outStatistics:[{statisticType:ae.Count,onStatisticField:t??"ObjectID",outStatisticFieldName:e}],groupByFieldsForStatistics:[]},x:"",y:e,fillSymbol:Jd(),dataLabels:Z({text:"",visible:!1,font:re(U.DataLabels),type:U.DataLabels}),startAngle:-90,endAngle:270,dataLabelsCharacterLimit:11,displayCategoryOnDataLabel:!0,displayNumericValueOnDataLabel:!1,displayPercentageOnDataLabel:!0,numericValueFormat:{...Ri(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},percentValueFormat:{...Ri(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},ticks:Qd()}}function oh(t){let e=t.objectIDField??"ObjectID",i=`${ae.Count}_${e}_0`.toUpperCase(),a="Series0";return{type:C.GaugeSeries,id:a,name:a,query:{outStatistics:[{statisticType:ae.Count,onStatisticField:e,outStatisticFieldName:i}]},x:""}}function ar(){return!1}async function lh(t=gt()){return{version:yt,type:C.Chart,id:t,colorMatch:!0,rotated:ar(),orderOptions:{data:{orderType:Nt.Category,orderBy:rt.Ascending}},title:Z({text:await mt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:$t(),axes:await Gt(C.BarSeries),series:[],legend:Et()}}async function dh(t=gt()){return{version:yt,type:C.Chart,id:t,rotated:ar(),colorMatch:!0,orderOptions:{data:{orderType:Nt.Category,orderBy:rt.Ascending}},title:Z({text:await mt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:$t(),series:[],legend:Et(),axes:await Gt(C.BoxPlotSeries),standardizeValues:!0,showOutliers:!1}}async function ph(t=gt()){return{version:yt,type:C.Chart,id:t,colorMatch:!0,rotated:ar(),orderOptions:{data:{orderType:Nt.Category,orderBy:rt.Ascending}},title:Z({text:await mt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:$t(),axes:await Gt(C.LineSeries),series:[],legend:Et()}}async function ch(t=gt()){return{version:yt,type:C.Chart,id:t,colorMatch:!0,orderOptions:{data:{orderType:Nt.Category,orderBy:rt.Ascending}},title:Z({text:await mt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:$t(),axes:await Gt(C.RadarSeries),series:[],legend:Et()}}async function uh(t=gt()){return{version:yt,type:C.Chart,id:t,colorMatch:!0,orderOptions:{data:{orderType:Nt.YValue,orderBy:rt.Descending}},title:Z({text:await mt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:$t(),series:[],legend:{...Et(),displayNumericValue:!1,displayPercentage:!0}}}async function fh(t=gt()){return{version:yt,type:C.Chart,id:t,colorMatch:!0,title:Z({text:await mt(),visible:!0,font:re(U.ChartTitle)}),series:[],axes:await Ud()}}async function hh(t=gt()){return{version:yt,type:C.Chart,id:t,colorMatch:!0,title:Z({text:await mt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:$t(),axes:await Gt(C.ScatterSeries),series:[zd()],legend:Et()}}function Kd(){return{type:C.Overlays,mean:_r(1),median:_r(2),standardDeviation:_r(3),comparisonDistribution:_r(4)}}function Zd(){return{type:Fe.SFS,style:Mt.Solid,color:Je({colorIndex:0,opacity:ze})}}function Yd(){return{type:C.HistogramSeries,id:C.HistogramSeries,name:C.HistogramSeries,visible:!0,dataTooltipVisible:!0,dataTooltipReverseColor:!1,assignToSecondValueAxis:!1,x:"",binCount:32,overlays:Kd(),dataTransformationType:ei.None,fillSymbol:Zd(),dataLabels:Z({text:"",visible:!1,font:re(U.DataLabels)})}}async function yh(t=gt()){return{version:yt,type:C.Chart,id:t,colorMatch:!0,title:Z({text:await mt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:$t(),axes:await Gt(C.HistogramSeries),series:[Yd()],legend:Et()}}var $i={behaviorAfterLimit:kn.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 Xd(t){let e={...$i};return t!==void 0&&Object.keys($i).forEach(i=>{let a=i;e[a]=t[a]??$i[a]}),e}function mh(){return{maxScatterCellsPerQuery:500,maxScatterCellsPerQueryForStandard:175,maxElementsPerSelectionQuery:25,maxOIDsPerSelectionQuery:2e3,maxOperandsPerWhereClause:200}}async function gh(t){let e=await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages."),i;switch(t){case ae.Average:{i=e.utilsStrings.statistics.mean;break}case ae.ContinuousPercentile:{i=e.utilsStrings.statistics.median;break}case ae.Sum:{i=e.utilsStrings.statistics.sum;break}case ae.Minimum:{i=e.utilsStrings.statistics.minimum;break}case ae.Maximum:{i=e.utilsStrings.statistics.maximum;break}case ae.Variance:{i=e.utilsStrings.statistics.variance;break}case ae.DiscretePercentile:{i=e.utilsStrings.statistics.discretePercentile;break}case ae.NoAggregation:{i=e.utilsStrings.statistics.noAggregation;break}case ae.Count:default:{i=e.utilsStrings.statistics.count;break}}return i}async function bh(t){let e=await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages."),i;switch(t){case kt.End:{i=e.timeAggregationTypes.end;break}case kt.Start:{i=e.timeAggregationTypes.start;break}default:i="";break}return i}function ep(){return er.Side}async function vh(){return(await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages.")).utilsStrings.notAvailable}var Sh=0,tp="_arcgis_charts_outliers",rp="_arcgis_charts_z_score",wh=[210,210,210,255*ze],Ih=" percentage ";var zr=function(){return zr=Object.assign||function(t){for(var e,i=1,a=arguments.length;i<a;i++){e=arguments[i];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},zr.apply(this,arguments)},ji={exports:{}},de={},_i={exports:{}},Ot={};function zn(){var t={};return t["align-content"]=!1,t["align-items"]=!1,t["align-self"]=!1,t["alignment-adjust"]=!1,t["alignment-baseline"]=!1,t.all=!1,t["anchor-point"]=!1,t.animation=!1,t["animation-delay"]=!1,t["animation-direction"]=!1,t["animation-duration"]=!1,t["animation-fill-mode"]=!1,t["animation-iteration-count"]=!1,t["animation-name"]=!1,t["animation-play-state"]=!1,t["animation-timing-function"]=!1,t.azimuth=!1,t["backface-visibility"]=!1,t.background=!0,t["background-attachment"]=!0,t["background-clip"]=!0,t["background-color"]=!0,t["background-image"]=!0,t["background-origin"]=!0,t["background-position"]=!0,t["background-repeat"]=!0,t["background-size"]=!0,t["baseline-shift"]=!1,t.binding=!1,t.bleed=!1,t["bookmark-label"]=!1,t["bookmark-level"]=!1,t["bookmark-state"]=!1,t.border=!0,t["border-bottom"]=!0,t["border-bottom-color"]=!0,t["border-bottom-left-radius"]=!0,t["border-bottom-right-radius"]=!0,t["border-bottom-style"]=!0,t["border-bottom-width"]=!0,t["border-collapse"]=!0,t["border-color"]=!0,t["border-image"]=!0,t["border-image-outset"]=!0,t["border-image-repeat"]=!0,t["border-image-slice"]=!0,t["border-image-source"]=!0,t["border-image-width"]=!0,t["border-left"]=!0,t["border-left-color"]=!0,t["border-left-style"]=!0,t["border-left-width"]=!0,t["border-radius"]=!0,t["border-right"]=!0,t["border-right-color"]=!0,t["border-right-style"]=!0,t["border-right-width"]=!0,t["border-spacing"]=!0,t["border-style"]=!0,t["border-top"]=!0,t["border-top-color"]=!0,t["border-top-left-radius"]=!0,t["border-top-right-radius"]=!0,t["border-top-style"]=!0,t["border-top-width"]=!0,t["border-width"]=!0,t.bottom=!1,t["box-decoration-break"]=!0,t["box-shadow"]=!0,t["box-sizing"]=!0,t["box-snap"]=!0,t["box-suppress"]=!0,t["break-after"]=!0,t["break-before"]=!0,t["break-inside"]=!0,t["caption-side"]=!1,t.chains=!1,t.clear=!0,t.clip=!1,t["clip-path"]=!1,t["clip-rule"]=!1,t.color=!0,t["color-interpolation-filters"]=!0,t["column-count"]=!1,t["column-fill"]=!1,t["column-gap"]=!1,t["column-rule"]=!1,t["column-rule-color"]=!1,t["column-rule-style"]=!1,t["column-rule-width"]=!1,t["column-span"]=!1,t["column-width"]=!1,t.columns=!1,t.contain=!1,t.content=!1,t["counter-increment"]=!1,t["counter-reset"]=!1,t["counter-set"]=!1,t.crop=!1,t.cue=!1,t["cue-after"]=!1,t["cue-before"]=!1,t.cursor=!1,t.direction=!1,t.display=!0,t["display-inside"]=!0,t["display-list"]=!0,t["display-outside"]=!0,t["dominant-baseline"]=!1,t.elevation=!1,t["empty-cells"]=!1,t.filter=!1,t.flex=!1,t["flex-basis"]=!1,t["flex-direction"]=!1,t["flex-flow"]=!1,t["flex-grow"]=!1,t["flex-shrink"]=!1,t["flex-wrap"]=!1,t.float=!1,t["float-offset"]=!1,t["flood-color"]=!1,t["flood-opacity"]=!1,t["flow-from"]=!1,t["flow-into"]=!1,t.font=!0,t["font-family"]=!0,t["font-feature-settings"]=!0,t["font-kerning"]=!0,t["font-language-override"]=!0,t["font-size"]=!0,t["font-size-adjust"]=!0,t["font-stretch"]=!0,t["font-style"]=!0,t["font-synthesis"]=!0,t["font-variant"]=!0,t["font-variant-alternates"]=!0,t["font-variant-caps"]=!0,t["font-variant-east-asian"]=!0,t["font-variant-ligatures"]=!0,t["font-variant-numeric"]=!0,t["font-variant-position"]=!0,t["font-weight"]=!0,t.grid=!1,t["grid-area"]=!1,t["grid-auto-columns"]=!1,t["grid-auto-flow"]=!1,t["grid-auto-rows"]=!1,t["grid-column"]=!1,t["grid-column-end"]=!1,t["grid-column-start"]=!1,t["grid-row"]=!1,t["grid-row-end"]=!1,t["grid-row-start"]=!1,t["grid-template"]=!1,t["grid-template-areas"]=!1,t["grid-template-columns"]=!1,t["grid-template-rows"]=!1,t["hanging-punctuation"]=!1,t.height=!0,t.hyphens=!1,t.icon=!1,t["image-orientation"]=!1,t["image-resolution"]=!1,t["ime-mode"]=!1,t["initial-letters"]=!1,t["inline-box-align"]=!1,t["justify-content"]=!1,t["justify-items"]=!1,t["justify-self"]=!1,t.left=!1,t["letter-spacing"]=!0,t["lighting-color"]=!0,t["line-box-contain"]=!1,t["line-break"]=!1,t["line-grid"]=!1,t["line-height"]=!1,t["line-snap"]=!1,t["line-stacking"]=!1,t["line-stacking-ruby"]=!1,t["line-stacking-shift"]=!1,t["line-stacking-strategy"]=!1,t["list-style"]=!0,t["list-style-image"]=!0,t["list-style-position"]=!0,t["list-style-type"]=!0,t.margin=!0,t["margin-bottom"]=!0,t["margin-left"]=!0,t["margin-right"]=!0,t["margin-top"]=!0,t["marker-offset"]=!1,t["marker-side"]=!1,t.marks=!1,t.mask=!1,t["mask-box"]=!1,t["mask-box-outset"]=!1,t["mask-box-repeat"]=!1,t["mask-box-slice"]=!1,t["mask-box-source"]=!1,t["mask-box-width"]=!1,t["mask-clip"]=!1,t["mask-image"]=!1,t["mask-origin"]=!1,t["mask-position"]=!1,t["mask-repeat"]=!1,t["mask-size"]=!1,t["mask-source-type"]=!1,t["mask-type"]=!1,t["max-height"]=!0,t["max-lines"]=!1,t["max-width"]=!0,t["min-height"]=!0,t["min-width"]=!0,t["move-to"]=!1,t["nav-down"]=!1,t["nav-index"]=!1,t["nav-left"]=!1,t["nav-right"]=!1,t["nav-up"]=!1,t["object-fit"]=!1,t["object-position"]=!1,t.opacity=!1,t.order=!1,t.orphans=!1,t.outline=!1,t["outline-color"]=!1,t["outline-offset"]=!1,t["outline-style"]=!1,t["outline-width"]=!1,t.overflow=!1,t["overflow-wrap"]=!1,t["overflow-x"]=!1,t["overflow-y"]=!1,t.padding=!0,t["padding-bottom"]=!0,t["padding-left"]=!0,t["padding-right"]=!0,t["padding-top"]=!0,t.page=!1,t["page-break-after"]=!1,t["page-break-before"]=!1,t["page-break-inside"]=!1,t["page-policy"]=!1,t.pause=!1,t["pause-after"]=!1,t["pause-before"]=!1,t.perspective=!1,t["perspective-origin"]=!1,t.pitch=!1,t["pitch-range"]=!1,t["play-during"]=!1,t.position=!1,t["presentation-level"]=!1,t.quotes=!1,t["region-fragment"]=!1,t.resize=!1,t.rest=!1,t["rest-after"]=!1,t["rest-before"]=!1,t.richness=!1,t.right=!1,t.rotation=!1,t["rotation-point"]=!1,t["ruby-align"]=!1,t["ruby-merge"]=!1,t["ruby-position"]=!1,t["shape-image-threshold"]=!1,t["shape-outside"]=!1,t["shape-margin"]=!1,t.size=!1,t.speak=!1,t["speak-as"]=!1,t["speak-header"]=!1,t["speak-numeral"]=!1,t["speak-punctuation"]=!1,t["speech-rate"]=!1,t.stress=!1,t["string-set"]=!1,t["tab-size"]=!1,t["table-layout"]=!1,t["text-align"]=!0,t["text-align-last"]=!0,t["text-combine-upright"]=!0,t["text-decoration"]=!0,t["text-decoration-color"]=!0,t["text-decoration-line"]=!0,t["text-decoration-skip"]=!0,t["text-decoration-style"]=!0,t["text-emphasis"]=!0,t["text-emphasis-color"]=!0,t["text-emphasis-position"]=!0,t["text-emphasis-style"]=!0,t["text-height"]=!0,t["text-indent"]=!0,t["text-justify"]=!0,t["text-orientation"]=!0,t["text-overflow"]=!0,t["text-shadow"]=!0,t["text-space-collapse"]=!0,t["text-transform"]=!0,t["text-underline-position"]=!0,t["text-wrap"]=!0,t.top=!1,t.transform=!1,t["transform-origin"]=!1,t["transform-style"]=!1,t.transition=!1,t["transition-delay"]=!1,t["transition-duration"]=!1,t["transition-property"]=!1,t["transition-timing-function"]=!1,t["unicode-bidi"]=!1,t["vertical-align"]=!1,t.visibility=!1,t["voice-balance"]=!1,t["voice-duration"]=!1,t["voice-family"]=!1,t["voice-pitch"]=!1,t["voice-range"]=!1,t["voice-rate"]=!1,t["voice-stress"]=!1,t["voice-volume"]=!1,t.volume=!1,t["white-space"]=!1,t.widows=!1,t.width=!0,t["will-change"]=!1,t["word-break"]=!0,t["word-spacing"]=!0,t["word-wrap"]=!0,t["wrap-flow"]=!1,t["wrap-through"]=!1,t["writing-mode"]=!1,t["z-index"]=!1,t}function ip(t,e,i){}function ap(t,e,i){}var sp=/javascript\s*\:/img;function np(t,e){return sp.test(e)?"":e}Ot.whiteList=zn();Ot.getDefaultWhiteList=zn;Ot.onAttr=ip;Ot.onIgnoreAttr=ap;Ot.safeAttrValue=np;var op={indexOf:function(t,e){var i,a;if(Array.prototype.indexOf)return t.indexOf(e);for(i=0,a=t.length;i<a;i++)if(t[i]===e)return i;return-1},forEach:function(t,e,i){var a,r;if(Array.prototype.forEach)return t.forEach(e,i);for(a=0,r=t.length;a<r;a++)e.call(i,t[a],a,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(t){return String.prototype.trimRight?t.trimRight():t.replace(/(\s*$)/g,"")}},ir=op;function lp(t,e){t=ir.trimRight(t),t[t.length-1]!==";"&&(t+=";");var i=t.length,a=!1,r=0,s=0,o="";function n(){if(!a){var p=ir.trim(t.slice(r,s)),c=p.indexOf(":");if(c!==-1){var f=ir.trim(p.slice(0,c)),l=ir.trim(p.slice(c+1));if(f){var y=e(r,o.length,f,l,p);y&&(o+=y+"; ")}}}r=s+1}for(;s<i;s++){var d=t[s];if(d==="/"&&t[s+1]==="*"){var u=t.indexOf("*/",s+2);if(u===-1)break;s=u+1,r=s+1,a=!1}else d==="("?a=!0:d===")"?a=!1:d===";"?a||n():d===`
|
|
5
|
+
`&&n()}return ir.trim(o)}var dp=lp,qr=Ot,pp=dp;function Fn(t){return t==null}function cp(t){var e={};for(var i in t)e[i]=t[i];return e}function Vn(t){t=cp(t||{}),t.whiteList=t.whiteList||qr.whiteList,t.onAttr=t.onAttr||qr.onAttr,t.onIgnoreAttr=t.onIgnoreAttr||qr.onIgnoreAttr,t.safeAttrValue=t.safeAttrValue||qr.safeAttrValue,this.options=t}Vn.prototype.process=function(t){if(t=t||"",t=t.toString(),!t)return"";var e=this,i=e.options,a=i.whiteList,r=i.onAttr,s=i.onIgnoreAttr,o=i.safeAttrValue,n=pp(t,function(d,u,p,c,f){var l=a[p],y=!1;if(l===!0?y=l:typeof l=="function"?y=l(c):l instanceof RegExp&&(y=l.test(c)),y!==!0&&(y=!1),c=o(p,c),!!c){var b={position:u,sourcePosition:d,source:f,isWhite:y};if(y){var m=r(p,c,b);return Fn(m)?p+":"+c:m}else{var m=s(p,c,b);if(!Fn(m))return m}}});return n};var up=Vn;(function(t,e){var i=Ot,a=up;function r(o,n){var d=new a(n);return d.process(o)}e=t.exports=r,e.FilterCSS=a;for(var s in i)e[s]=i[s]})(_i,_i.exports);var Wi=_i.exports,Mi={indexOf:function(t,e){var i,a;if(Array.prototype.indexOf)return t.indexOf(e);for(i=0,a=t.length;i<a;i++)if(t[i]===e)return i;return-1},forEach:function(t,e,i){var a,r;if(Array.prototype.forEach)return t.forEach(e,i);for(a=0,r=t.length;a<r;a++)e.call(i,t[a],a,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(t){var e=/\s|\n|\t/,i=e.exec(t);return i?i.index:-1}},fp=Wi.FilterCSS,hp=Wi.getDefaultWhiteList,Vr=Mi;function Un(){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 Gn=new fp;function yp(t,e,i){}function mp(t,e,i){}function gp(t,e,i){}function bp(t,e,i){}function Hn(t){return t.replace(Sp,"<").replace(wp,">")}function vp(t,e,i,a){if(i=Xn(i),e==="href"||e==="src"){if(i=Vr.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(e==="background"){if(Br.lastIndex=0,Br.test(i))return""}else if(e==="style"){if(An.lastIndex=0,An.test(i)||(En.lastIndex=0,En.test(i)&&(Br.lastIndex=0,Br.test(i))))return"";a!==!1&&(a=a||Gn,i=a.process(i))}return i=eo(i),i}var Sp=/</g,wp=/>/g,Ip=/"/g,xp=/"/g,Cp=/&#([a-zA-Z0-9]*);?/gim,Tp=/:?/gim,Pp=/&newline;?/gim,Br=/((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,An=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,En=/u\s*r\s*l\s*\(.*/gi;function Qn(t){return t.replace(Ip,""")}function Jn(t){return t.replace(xp,'"')}function Kn(t){return t.replace(Cp,function(e,i){return i[0]==="x"||i[0]==="X"?String.fromCharCode(parseInt(i.substr(1),16)):String.fromCharCode(parseInt(i,10))})}function Zn(t){return t.replace(Tp,":").replace(Pp," ")}function Yn(t){for(var e="",i=0,a=t.length;i<a;i++)e+=t.charCodeAt(i)<32?" ":t.charAt(i);return Vr.trim(e)}function Xn(t){return t=Jn(t),t=Kn(t),t=Zn(t),t=Yn(t),t}function eo(t){return t=Qn(t),t=Hn(t),t}function Fp(){return""}function Ap(t,e){typeof e!="function"&&(e=function(){});var i=!Array.isArray(t);function a(o){return i?!0:Vr.indexOf(t,o)!==-1}var r=[],s=!1;return{onIgnoreTag:function(o,n,d){if(a(o))if(d.isClosing){var u="[/removed]",p=d.position+u.length;return r.push([s!==!1?s:d.position,p]),s=!1,u}else return s||(s=d.position),"[removed]";else return e(o,n,d)},remove:function(o){var n="",d=0;return Vr.forEach(r,function(u){n+=o.slice(d,u[0]),d=u[1]}),n+=o.slice(d),n}}}function Ep(t){for(var e="",i=0;i<t.length;){var a=t.indexOf("<!--",i);if(a===-1){e+=t.slice(i);break}e+=t.slice(i,a);var r=t.indexOf("-->",a);if(r===-1)break;i=r+3}return e}function $p(t){var e=t.split("");return e=e.filter(function(i){var a=i.charCodeAt(0);return a===127?!1:a<=31?a===10||a===13:!0}),e.join("")}de.whiteList=Un();de.getDefaultWhiteList=Un;de.onTag=yp;de.onIgnoreTag=mp;de.onTagAttr=gp;de.onIgnoreTagAttr=bp;de.safeAttrValue=vp;de.escapeHtml=Hn;de.escapeQuote=Qn;de.unescapeQuote=Jn;de.escapeHtmlEntities=Kn;de.escapeDangerHtml5Entities=Zn;de.clearNonPrintableCharacter=Yn;de.friendlyAttrValue=Xn;de.escapeAttrValue=eo;de.onIgnoreTagStripAll=Fp;de.StripTagBody=Ap;de.stripCommentTag=Ep;de.stripBlankChar=$p;de.cssFilter=Gn;de.getDefaultCSSWhiteList=hp;var Qr={},ht=Mi;function Op(t){var e=ht.spaceIndex(t),i;return e===-1?i=t.slice(1,-1):i=t.slice(1,e+1),i=ht.trim(i).toLowerCase(),i.slice(0,1)==="/"&&(i=i.slice(1)),i.slice(-1)==="/"&&(i=i.slice(0,-1)),i}function Dp(t){return t.slice(0,2)==="</"}function Lp(t,e,i){var a="",r=0,s=!1,o=!1,n=0,d=t.length,u="",p="";e:for(n=0;n<d;n++){var c=t.charAt(n);if(s===!1){if(c==="<"){s=n;continue}}else if(o===!1){if(c==="<"){a+=i(t.slice(r,n)),s=n,r=n;continue}if(c===">"){a+=i(t.slice(r,s)),p=t.slice(s,n+1),u=Op(p),a+=e(s,a.length,u,p,Dp(p)),r=n+1,s=!1;continue}if(c==='"'||c==="'")for(var f=1,l=t.charAt(n-f);l.trim()===""||l==="=";){if(l==="="){o=c;continue e}l=t.charAt(n-++f)}}else if(c===o){o=!1;continue}}return r<t.length&&(a+=i(t.substr(r))),a}var Rp=/[^a-zA-Z0-9\\_:.-]/gim;function jp(t,e){var i=0,a=0,r=[],s=!1,o=t.length;function n(f,l){if(f=ht.trim(f),f=f.replace(Rp,"").toLowerCase(),!(f.length<1)){var y=e(f,l||"");y&&r.push(y)}}for(var d=0;d<o;d++){var u=t.charAt(d),p,c;if(s===!1&&u==="="){s=t.slice(i,d),i=d+1,a=t.charAt(i)==='"'||t.charAt(i)==="'"?i:qp(t,d+1);continue}if(s!==!1&&d===a){if(c=t.indexOf(u,d+1),c===-1)break;p=ht.trim(t.slice(a+1,c)),n(s,p),s=!1,d=c,i=d+1;continue}if(/\s|\n|\t/.test(u))if(t=t.replace(/\s|\n|\t/g," "),s===!1)if(c=_p(t,d),c===-1){p=ht.trim(t.slice(i,d)),n(p),s=!1,i=d+1;continue}else{d=c-1;continue}else if(c=Bp(t,d-1),c===-1){p=ht.trim(t.slice(i,d)),p=$n(p),n(s,p),s=!1,i=d+1;continue}else continue}return i<t.length&&(s===!1?n(t.slice(i)):n(s,$n(ht.trim(t.slice(i))))),ht.trim(r.join(" "))}function _p(t,e){for(;e<t.length;e++){var i=t[e];if(i!==" ")return i==="="?e:-1}}function qp(t,e){for(;e<t.length;e++){var i=t[e];if(i!==" ")return i==="'"||i==='"'?e:-1}}function Bp(t,e){for(;e>0;e--){var i=t[e];if(i!==" ")return i==="="?e:-1}}function kp(t){return t[0]==='"'&&t[t.length-1]==='"'||t[0]==="'"&&t[t.length-1]==="'"}function $n(t){return kp(t)?t.substr(1,t.length-2):t}Qr.parseTag=Lp;Qr.parseAttr=jp;var Np=Wi.FilterCSS,Me=de,to=Qr,Wp=to.parseTag,Mp=to.parseAttr,Mr=Mi;function kr(t){return t==null}function zp(t){var e=Mr.spaceIndex(t);if(e===-1)return{html:"",closing:t[t.length-2]==="/"};t=Mr.trim(t.slice(e+1,-1));var i=t[t.length-1]==="/";return i&&(t=Mr.trim(t.slice(0,-1))),{html:t,closing:i}}function Vp(t){var e={};for(var i in t)e[i]=t[i];return e}function Up(t){var e={};for(var i in t)Array.isArray(t[i])?e[i.toLowerCase()]=t[i].map(function(a){return a.toLowerCase()}):e[i.toLowerCase()]=t[i];return e}function ro(t){t=Vp(t||{}),t.stripIgnoreTag&&(t.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),t.onIgnoreTag=Me.onIgnoreTagStripAll),t.whiteList||t.allowList?t.whiteList=Up(t.whiteList||t.allowList):t.whiteList=Me.whiteList,t.onTag=t.onTag||Me.onTag,t.onTagAttr=t.onTagAttr||Me.onTagAttr,t.onIgnoreTag=t.onIgnoreTag||Me.onIgnoreTag,t.onIgnoreTagAttr=t.onIgnoreTagAttr||Me.onIgnoreTagAttr,t.safeAttrValue=t.safeAttrValue||Me.safeAttrValue,t.escapeHtml=t.escapeHtml||Me.escapeHtml,this.options=t,t.css===!1?this.cssFilter=!1:(t.css=t.css||{},this.cssFilter=new Np(t.css))}ro.prototype.process=function(t){if(t=t||"",t=t.toString(),!t)return"";var e=this,i=e.options,a=i.whiteList,r=i.onTag,s=i.onIgnoreTag,o=i.onTagAttr,n=i.onIgnoreTagAttr,d=i.safeAttrValue,u=i.escapeHtml,p=e.cssFilter;i.stripBlankChar&&(t=Me.stripBlankChar(t)),i.allowCommentTag||(t=Me.stripCommentTag(t));var c=!1;i.stripIgnoreTagBody&&(c=Me.StripTagBody(i.stripIgnoreTagBody,s),s=c.onIgnoreTag);var f=Wp(t,function(l,y,b,m,S){var T={sourcePosition:l,position:y,isClosing:S,isWhite:Object.prototype.hasOwnProperty.call(a,b)},I=r(b,m,T);if(!kr(I))return I;if(T.isWhite){if(T.isClosing)return"</"+b+">";var P=zp(m),F=a[b],$=Mp(P.html,function(_,L){var A=Mr.indexOf(F,_)!==-1,R=o(b,_,L,A);return kr(R)?A?(L=d(b,_,L,p),L?_+'="'+L+'"':_):(R=n(b,_,L,A),kr(R)?void 0:R):R});return m="<"+b,$&&(m+=" "+$),P.closing&&(m+=" /"),m+=">",m}else return I=s(b,m,T),kr(I)?u(m):I},u);return c&&(f=c.remove(f)),f};var Gp=ro;(function(t,e){var i=de,a=Qr,r=Gp;function s(n,d){var u=new r(d);return u.process(n)}e=t.exports=s,e.filterXSS=s,e.FilterXSS=r,function(){for(var n in i)e[n]=i[n];for(var d in a)e[d]=a[d]}();function o(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}o()&&(self.filterXSS=t.exports)})(ji,ji.exports);var zt=ji.exports,Hp=function(t){if(typeof t!="object"||t===null||Object.prototype.toString.call(t)!=="[object Object]")return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e},Qp=function(){function t(e,i){var a=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=zr(zr({},zt.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(s,o,n,d){return s==="a"&&o==="href"||(s==="img"||s==="source")&&o==="src"?a.sanitizeUrl(n):zt.safeAttrValue(s,o,n,d)}},this._entityMap={"&":"8","<":"<",">":">",'"':""","'":"'","/":"/"};var r;e&&!i?r=e:e&&i?(r=Object.create(this.arcgisFilterOptions),r.css={whiteList:this.arcgisCSSWhiteList},Object.keys(e).forEach(function(s){if(s==="whiteList")r.whiteList=a._extendObjectOfArrays([a.arcgisWhiteList,e.whiteList||{}]);else if(s==="css"){var o=e.css.whiteList;o!=null&&e.css instanceof Object&&Object.keys(o).forEach(function(n){return r.css.whiteList[n]=o[n]})}else r[s]=e[s]})):(r=Object.create(this.arcgisFilterOptions),r.whiteList=this.arcgisWhiteList,r.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=r,this._xssFilter=new zt.FilterXSS(r)}return t.prototype.sanitize=function(e,i){switch(i===void 0&&(i={}),typeof e){case"number":return isNaN(e)||!isFinite(e)?null:e;case"boolean":return e;case"string":return this._xssFilter.process(e);case"object":return this._iterateOverObject(e,i);default:return i.allowUndefined&&typeof e>"u"?void 0:null}},t.prototype.sanitizeUrl=function(e,i){var a=(i??{}).isProtocolRequired,r=a===void 0?!0:a,s=this._trim(e.substring(0,e.indexOf(":"))),o=e==="/",n=/^#/.test(e),d=s&&this.allowedProtocols.indexOf(s.toLowerCase())>-1;return o||n||d?zt.escapeAttrValue(e):!s&&!r?zt.escapeAttrValue("https://".concat(e)):""},t.prototype.sanitizeHTMLAttribute=function(e,i,a,r){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(e,i,a,r):zt.safeAttrValue(e,i,a,r)},t.prototype.validate=function(e,i){i===void 0&&(i={});var a=this.sanitize(e,i);return{isValid:e===a,sanitized:a}},t.prototype.encodeHTML=function(e){var i=this;return String(e).replace(/[&<>"'\/]/g,function(a){return i._entityMap[a]})},t.prototype.encodeAttrValue=function(e){var i=/^[a-zA-Z0-9]$/;return String(e).replace(/[\x00-\xFF]/g,function(a,r){return i.test(a)?a:"&#x".concat(Number(e.charCodeAt(r)).toString(16),";")})},t.prototype._extendObjectOfArrays=function(e){var i={};return e.forEach(function(a){Object.keys(a).forEach(function(r){Array.isArray(a[r])&&Array.isArray(i[r])?i[r]=i[r].concat(a[r]):i[r]=a[r]})}),i},t.prototype._iterateOverObject=function(e,i){var a=this;i===void 0&&(i={});try{var r=!1,s=void 0;if(Array.isArray(e))s=e.reduce(function(n,d){var u=a.validate(d,i);return u.isValid?n.concat([d]):(r=!0,n.concat([u.sanitized]))},[]);else if(Hp(e)){var o=Object.keys(e);s=o.reduce(function(n,d){var u=e[d],p=a.validate(u,i);return p.isValid?n[d]=u:(r=!0,n[d]=p.sanitized),n},{})}else return i.allowUndefined&&typeof e>"u"?void 0:null;return r?s:e}catch{return null}},t.prototype._trim=function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},t}(),k={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"},xh={SelectionByClick:"SelectionByClick",SelectionByRange:"SelectionByRange",ProgrammaticSelection:"ProgrammaticSelection",ClearSelection:"ClearSelection"};function Ch(t){return t?.colorMatch??!1}function Th(t){let e=ar();if(t!==void 0){let i=Le(t.series);(i===C.BarSeries||i===C.LineSeries||i===C.ComboLineAndBarSeries||i===C.BoxPlotSeries)&&(e=t.rotated??ar())}return e}function Ph(t){return t?.map(e=>e.type)??[]}function Jp(t){let e=t?.stackedType;if(e===void 0&&t!==void 0){let i=Le(t.series);(i===C.BarSeries||i===C.LineSeries||i===C.ComboLineAndBarSeries||i===C.RadarSeries)&&(e=ep())}return e}function Kp(t){let e=t;return e=e.replace(/'/gu,"''"),e=e.replace(/[/\\"|[\]\\]/gu,"\\$&"),e}function Zp(t){let e=!1;if(typeof t!="number"){let i=new Intl.Segmenter;e=Array.from(i.segment(t),a=>a.segment).some(a=>a.charCodeAt(0)>255)}return e}function Yp(t){let e=t,i="";t.startsWith("'")&&t.endsWith("'")&&(e=t.slice(1,-1),i="'"),e=e.replace(/'/gu,"''");let a="";return Zp(e)&&(a="N"),`${a}${i}${e}${i}`}function io(t){let{value:e,keepSurroundingQuotes:i,escape:a}=t,r=e?.trim();if(!Ke(r)){let s="";r.startsWith("'")&&r.endsWith("'")&&(r=r.slice(1,-1),i&&(s="'")),a!==!1&&(r=Kp(r)),r=`${s}${r}${s}`}return r}function Fh(t){let{count:e,seriesCount:i,chartType:a,chartLimits:r}=t,{behaviorAfterLimit:s}=r??{},o=!0;if(s!==kn.RenderUpToTheLimit){let{maxBarChartSeriesCount:n,maxBarUniqueSeriesCountTotal:d,maxBarTwoSeriesCountPerSeries:u,maxBarTwoSeriesCountTotal:p,maxBarThreePlusSeriesCountPerSeries:c,maxBarThreePlusSeriesCountTotal:f,maxLineChartSeriesCount:l,maxLineUniqueSeriesCountTotal:y,maxLineTwoSeriesCountPerSeries:b,maxLineTwoSeriesCountTotal:m,maxLineThreePlusSeriesCountPerSeries:S,maxLineThreePlusSeriesCountTotal:T,maxPieChartSliceCountTotal:I,maxGaugeByFeaturesLimit:P,maxBoxPlotSeriesCount:F,maxBoxUniqueSeriesCountTotal:$,maxBoxTwoSeriesCountTotal:_,maxBoxTwoSeriesCountPerSeries:L,maxBoxThreePlusSeriesCountTotal:A,maxBoxThreePlusSeriesCountPerSeries:R}=Xd(r);switch(a){case C.BarSeries:case C.ComboLineAndBarSeries:{let O=e/i;i<=n?i===0?o=!0:i===1?o=e<=d:i===2?o=e<=p&&O<=u:i>2&&(o=e<=f&&O<=c):o=!1}break;case C.LineSeries:case C.RadarSeries:{let O=e/i;i<=l?i===0?o=!0:i===1?o=e<=y:i===2?o=e<=m&&O<=b:i>2&&(o=e<=T&&O<=S):o=!1}break;case C.PieSeries:o=e<=I;break;case C.BoxPlotSeries:{let O=e/i;i<=F?i===0?o=!0:i===1?o=e<=$:i===2?o=e<=_&&O<=L:i>2&&(o=e<=A&&O<=R):o=!1}break;case C.GaugeSeries:o=e<=P;break}}return o}function Ah(t=[],e){let i=t.find(a=>a.name===e)?.alias;return i!==""?i??e:e}function Eh(t=[],e){let i=t.find(a=>a.alias===e)?.name;return i!==""?i??e:e}function $h(t){let e=!1;switch(Le(t)){case C.PieSeries:e=!0;break;case C.BarSeries:case C.LineSeries:case C.RadarSeries:case C.ComboLineAndBarSeries:case C.BoxPlotSeries:e=t.length>1;break;case C.HistogramSeries:case C.ScatterSeries:{let i=t[0];e=i.overlays!==void 0&&Object.values(i.overlays).some(a=>a.created===!0);break}}return e}function Xp(t){let e=!0;return Le(t.series)===C.ScatterSeries&&(e=t.series.length===1),e}function ec(t){let e=!0;return Le(t.series)===C.HistogramSeries&&(e=t.series.length<=1&&t.series[0].type===C.HistogramSeries&&(!("dataTransformationType"in t.series[0])||t.series[0].dataTransformationType!==void 0&&Object.values(ei).includes(t.series[0].dataTransformationType))),e}function tc(t){let e=!0;return Le(t.series)===C.PieSeries&&(e=t.series.length<=1),e}function Oh(t,e){let i=Le(e?.series),a=i!==void 0&&t.includes(i);if(a&&e!==void 0)switch(i){case C.HistogramSeries:a=ec(e);break;case C.ScatterSeries:a=Xp(e);break;case C.PieSeries:a=tc(e);break}return a}function Ke(t){return t==null||typeof t=="string"&&t.trim()===""}function rc(t,e){let i=e.find(a=>a in t);return{isInItem:i!==void 0,expr:i}}function Dh(t){return rc(t,Dd)}function Lh(t,e){let i;switch(t){case Pe.Second:i=e.seconds??"";break;case Pe.Minute:i=e.minutes??"";break;case Pe.Hour:i=e.hours??"";break;case Pe.Day:i=e.days??"";break;case Pe.Week:i=e.weeks??"";break;case Pe.Month:i=e.months??"";break;case Pe.Year:i=e.years??"";break;default:i="";break}return i}function Rh(t){let e;switch(t){case at.Mean:e=1;break;case at.Median:e=2;break;case at.StdDev:e=3;break;case at.Normal:default:e=0;break}return e}function jh(t,e){if(e!==void 0){let{seriesId:i,overlayType:a,visible:r}=t.detail,s;switch(a){case at.Mean:e.series[0].type===C.HistogramSeries&&(s=e.series[0].overlays?.mean);break;case at.Median:e.series[0].type===C.HistogramSeries&&(s=e.series[0].overlays?.median);break;case at.StdDev:e.series[0].type===C.HistogramSeries&&(s=e.series[0].overlays?.standardDeviation);break;case at.Normal:e.series[0].type===C.HistogramSeries&&(s=e.series[0].overlays?.comparisonDistribution);break;case at.Trendline:e.series[0].type===C.ScatterSeries&&(s=e.series[0].overlays?.trendLine);break;default:s=e.series.find(o=>o.id===i);break}s!==void 0&&(s.visible=r)}}function _h(t){return new Qp().sanitize(t)}function qh(t){return t!=null&&!Number.isNaN(t)&&Number.isFinite(t)}function Bh(t,e){let i;return e!==void 0&&(i={...e,rotated:t}),i}function kh(t,e){let i={fieldToSort:""};if(!Ke(t)){let a=t.trim(),r=a.split(" ").at(-1)?.toUpperCase();r===rt.Ascending||r===rt.Descending?i={fieldToSort:a.substring(0,a.lastIndexOf(" ")),orderBy:r}:(i={fieldToSort:a},e!==!1&&(i.orderBy=rt.Ascending))}return i}function Nh(t){return t===k.BarAndLineSplitBy||t===k.BarAndLineSplitByNoAggregation||t===k.BoxPlotMonoFieldAndSplitBy||t===k.BoxPlotMultiFieldsAndSplitBy||t===k.BoxPlotMonoFieldAndCategoryAndSplitBy}function Wh(t){return t?.selectionOIDs===void 0||t.selectionOIDs.length===0}function Mh(t={arrayA:[],arrayB:[],getKey:e=>e}){let{arrayA:e,arrayB:i,getKey:a}=t;if(i.length===0||e.length===0)return e;let r=new Map;i.forEach((d,u)=>{let p=a(d);r.set(p,u)});let s=[],o=[];e.forEach((d,u)=>{let p=a(d);r.has(p)&&(s.push(u),o.push(d))}),o.sort((d,u)=>{let p=a(d),c=a(u);return r.get(p)-r.get(c)});let n=[...e];return s.forEach((d,u)=>{n[d]=o[u]}),n}var Ft=["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","23.3.0","24.0.0","24.1.0","24.2.0"],ic="1.0.0",ac="unrecognized.version",sc=[C.LineSeries,C.BarSeries,C.ComboLineAndBarSeries,C.RadarSeries];function Oi(t,e){let i=0;if(t!==e){let a=t.split("."),r=e.split(".");for(let s=0;s<a.length;s+=1){let o=Number.parseInt(a[s],10),n=Number.parseInt(r[s],10);if(o>n||Number.isNaN(n)){i=1;break}if(o<n){i=-1;break}}}return i}function nc(t){return t!==void 0?/^([1-9]\d*|0)(\.(([1-9]\d*)|0)){2}$/u.test(t):!1}function oc(t){let e=lt.Same,i=[];if(nc(t)&&t!==void 0){Ft.sort(Oi);let a=Oi(t,Ft[Ft.length-1]);if(a===1?e=lt.Newer:a===-1&&(e=lt.Older),e===lt.Newer||e===lt.Same)i.push(t);else{for(let r=Ft.length-2;r>=0;r-=1)if(Oi(t,Ft[r])>=0){i=Ft.slice(r,Ft.length);break}i.length===0&&i.push(ic)}}else e=lt.Unrecognized,i.push(ac);return{versionStatus:e,versions:i}}function lc(t){let{series:e}=t,i=("showMean"in t?t.showMean:!1)===!0?e.find(a=>a.type===C.LineSeries):e[0];return i??=e[0],i}function zh(t,e){let i=t!==null?t.toString():null,a=e!=null?e.toString():null;return a!==null&&a!==i?Fe.SFS:Fe.SLS}function zi(t,e){let i="";return t!==void 0&&t.includes("=")&&(i=e!==!1?io({value:t.split("=")[0]}):t.split("=")[0].trim()),i}function lr(t){let{where:e,normalize:i,keepSurroundingQuotes:a,escape:r}=t,s="";return e!==void 0&&e.includes("=")&&(s=e.split("=").slice(1).join("=").trim(),s==="null"?s=null:s.trim()!==""&&!Number.isNaN(Number(s))?s=Number(s):i===!1?r===!0&&(s=Yp(s)):s=io({value:s,keepSurroundingQuotes:a,escape:r})),s}function Ut(t){let e=!1;if(t===void 0||t==="")e=!0;else if(t.includes("=")){let i=zi(t,!1),a=lr({where:t,normalize:!1});e=i===`${a}`}return e}function Vh(t){let{where:e,normalize:i,escape:a}=t,r=i===void 0?!0:i,s=zi(e),o=lr({where:e,normalize:r,keepSurroundingQuotes:!0,escape:a}),n=e;return s!==""&&o!==""&&(n=`${s}=${o}`),n}function dc(t){let e=k.PieFromCategory;return t[0].query?.outStatistics===void 0?e=k.PieNoAggregation:t[0].query?.groupByFieldsForStatistics===void 0&&(e=k.PieFromFields),e}function pc(t){let e=k.BarAndLineMonoField,i=t[0].query?.where;return t[0].query?.groupByFieldsForStatistics===void 0&&(t[0].query?.outStatistics??[]).length>0?e=k.BarAndLineFromFields:i===void 0&&t[0].query?.outStatistics===void 0?e=k.BarAndLineNoAggregation:Ut(i)?t.length>1&&(e=k.BarAndLineMultiFields):e=t[0].query?.outStatistics===void 0?k.BarAndLineSplitByNoAggregation:k.BarAndLineSplitBy,e}function cc(t){let e=k.BoxPlotMonoField,i=t.length===1,a=t.find(n=>n.type===C.LineSeries)??t[0],{x:r}=a,s="y"in a?a.y:"",o=a.query?.where;switch(r){case Ni:typeof s=="object"&&s.length>1?Ut(o)?i&&(e=k.BoxPlotMultiFields):e=k.BoxPlotMultiFieldsAndSplitBy:i?e=k.BoxPlotMonoField:Ut(o)||(e=k.BoxPlotMonoFieldAndSplitBy);break;default:i?e=k.BoxPlotMonoFieldAndCategory:Ut(o)?e=k.BoxPlotMultiFieldsAndCategory:e=k.BoxPlotMonoFieldAndCategoryAndSplitBy;break}return e}function st(t){let e=k.NonSpecific;if(t?.[0]!==void 0)switch(Le(t)){case C.PieSeries:e=dc(t);break;case C.RadarSeries:case C.BarSeries:case C.LineSeries:case C.ComboLineAndBarSeries:e=pc(t);break;case C.BoxPlotSeries:e=cc(t);break}return e}function Uh(t){let{seriesConfig:e,xAxisValueFormatType:i,setTimeBinningInfoWhenNotProvided:a}=t,r=!1;if(uc(e)&&e.binTemporalData!==!1&&i===C.DateAxisFormat){let s=st([e]);if(e.temporalBinning&&s!==k.BarAndLineNoAggregation&&s!==k.BarAndLineSplitByNoAggregation){let{unit:o,size:n}=e.temporalBinning;r=a===!0||n!==void 0&&n>0&&o!==void 0}}return r}function uc(t){return sc.includes(t.type)}var se={Min:"min",FirstQuartile:"first_quartile",Median:"median",ThirdQuartile:"third_quartile",Max:"max",IQR:"iqr",Average:"avg",StandardDeviation:"stddev",Outlier:"outlier"};function fc(t){let e=t===void 0||t==="";return{[se.Average]:`${e?"":`${t}_`}${se.Average}`,[se.Min]:`${e?"":`${t}_`}${se.Min}`,[se.Max]:`${e?"":`${t}_`}${se.Max}`,[se.FirstQuartile]:`${e?"":`${t}_`}${se.FirstQuartile}`,[se.Median]:`${e?"":`${t}_`}${se.Median}`,[se.ThirdQuartile]:`${e?"":`${t}_`}${se.ThirdQuartile}`,[se.IQR]:`${e?"":`${t}_`}${se.IQR}`,[se.Outlier]:`${e?"":`${t}_`}${se.Outlier}`,[se.StandardDeviation]:`${e?"":`${t}_`}${se.StandardDeviation}`}}function hc(t){return t.subType===pa.FeatureGauge}function Gh(t){let e;return t!==void 0&&("bins"in t?e=t.bins:"dataItems"in t&&(e=t.dataItems)),e}function yc(t){return t===k.BoxPlotMultiFields||t===k.BoxPlotMultiFieldsAndCategory||t===k.BoxPlotMultiFieldsAndSplitBy}function Ur(t){let{key:e,y:i,chartSubType:a,splitBy:r,splitByValue:s,showOutliers:o,standardizeValues:n}=t,d=s,u=fc(i)[e];return o===!0&&(e===se.Min||e===se.Max)&&(u=`${u}${tp}`),n===!0&&(yc(a)||e===se.Outlier)&&(u=`${u}${rp}`),(s===void 0||`${s}`.trim()==="")&&(d=lr({where:r,normalize:!0,escape:!1})),d!==void 0&&`${d}`.trim()!==""&&(u=`${d}${u!==""?`_${u}`:""}`),u}function Di(t){let{dataItem:e,y:i,splitBy:a,showOutliers:r}=t,s=Ur({key:se.FirstQuartile,y:i,splitBy:a,showOutliers:r}),o=Ur({key:se.ThirdQuartile,y:i,splitBy:a,showOutliers:r});return Number.isFinite(e[s])||Number.isFinite(e[o])}function mc(t){let{configSeries:e,boxPlotDataItem:i,yList:a,showOutliers:r}=t,s=st(e),o=!1;switch(s){case k.BoxPlotMonoField:case k.BoxPlotMultiFields:case k.BoxPlotMonoFieldAndCategory:o=Di({dataItem:i,showOutliers:r});break;case k.BoxPlotMultiFieldsAndCategory:o=a.some(n=>Di({dataItem:i,y:n,showOutliers:r}));break;case k.BoxPlotMonoFieldAndSplitBy:case k.BoxPlotMultiFieldsAndSplitBy:case k.BoxPlotMonoFieldAndCategoryAndSplitBy:o=e.some(n=>Di({dataItem:i,splitBy:n.query?.where,showOutliers:r}));break;default:o=!1;break}return o}function ao(t){return t.map(e=>e.id).filter(e=>e!==void 0)}function Gr(t,e){let i=[],a=e??ao(t),r=st(t);return i=t.filter(s=>a.includes(s.id)).map(s=>{let o="y"in s?s.y:void 0;return o!==void 0&&r===k.BarAndLineSplitByNoAggregation&&(o=`${o.toString()}_${lr({where:s.query?.where})}`),o}).filter(s=>s!==void 0),Array.from(new Set(i.flat()))}function gc(t){let{seriesConfig:e,filteredSeriesIds:i,showMean:a}=t,r=[];if(a===!0){let s=e.find(o=>o.type===C.BoxPlotSeries);s!==void 0&&"y"in s&&(r=[s.y].flat())}else r=Gr(e,i);return r}function ft(t,e){return t===null&&e===!0||Number.isFinite(t)}function bc(t){let{dataItem:e,x:i,y:a,nullAsValid:r=!1}=t;return e[i]!==void 0&&(typeof e[i]!="number"||Number.isFinite(e[i]))&&ft(e[a],r)}function Hh(t){let{chartConfig:e,nullAsValid:i=!1,dataSet:a}=t,r=!0;if(e!==void 0){let s=Le(e.series);if(a===void 0||a.length===0)r=!0;else{let o=Gr(e.series);r=!a.some(n=>{let d=!1;switch(s){case C.HistogramSeries:{let u=n;d=ft(u.minValue,i)&&ft(u.maxValue,i)}break;case C.ScatterSeries:{let u=n,{x:p,y:c}=e.series[0];d=ft(u[p],i)&&ft(u[c],i)}break;case C.ComboLineAndBarSeries:case C.RadarSeries:case C.LineSeries:case C.BarSeries:{let u=n,{x:p}=e.series[0];d=o.some(c=>bc({dataItem:u,x:p,y:c,nullAsValid:i}));break}case C.BoxPlotSeries:{let u=e.series,{showOutliers:p}=e;d=mc({configSeries:u,boxPlotDataItem:n,yList:o,showOutliers:p});break}case C.PieSeries:{let u=n,{x:p,y:c}=e.series[0];st(e.series)===k.PieFromFields&&(p=ki,c=Bn);let f=u[c];d=u[p]!==void 0&&u[p]!==null&&!ua(f)&&ft(Number(f),i)}break;case C.GaugeSeries:{let{x:u}=e.series[0];d=ft(n[u],i)}break;case C.HeatSeries:d=a.some(u=>ft(u[jd.valueField],i));break}return d})}}return r}function vc(t,e){let i=new Map,a=e??ao(t);return t.forEach(r=>{if(a.includes(r.id)&&"y"in r){let s=i.get(r.type)??[];s.push(r.y),i.set(r.type,s)}}),i}function Sc(t){let{seriesConfig:e,filteredSeriesIds:i,filteredData:a}=t,r=vc(e,i),s=e.find(d=>d.type===C.LineSeries||d.type===C.RadarSeries)?.stackNegativeValuesToBaseline??!0,o=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER;return a.forEach((d,u)=>{r.forEach(p=>{if(s){let c=[],f=[];for(let l=0;l<p.length;l+=1){let y=d[p[l]];Number.isFinite(y)&&(y<0?f[u]=(f[u]??0)+y:c[u]=(c[u]??0)+y)}c=c.filter(l=>Number.isFinite(l)).sort((l,y)=>l-y),f=f.filter(l=>Number.isFinite(l)).sort((l,y)=>l-y),o=Math.max(o,c.length>0?c[c.length-1]:f[f.length-1]),n=Math.min(n,f.length>0?f[0]:c[0])}else{let c=0;for(let f=0;f<p.length;f+=1){let l=d[p[f]];c+=l,o=Math.max(o,c),n=Math.min(n,c)}}})}),{stackedMinY:n,stackedMaxY:o}}function wc(t){let{dataItem:e,...i}=t,a=Ur({key:se.Min,...i}),r=Ur({key:se.Max,...i}),s=e[a],o=e[r];return{min:s,max:o}}function Qh(t){let e=Number.NaN,i=Number.NaN,a,r,{chartConfig:s,chartData:o,filteredSeriesIds:n}=t,{series:d}=s;if(d?.length>0){let{x:u}=d[0],p=o.filter(f=>f[u]!==null);[a,r]=tr(p,f=>f[u]),s.axes?.[1]?.valueFormat.type===C.DateAxisFormat&&a!==void 0&&r!==void 0&&([a,r]=[new Date(a).valueOf(),new Date(r).valueOf()]);let c=Le(s.series);if(c===C.HistogramSeries&&o.length>0){let f=o[0]?.[Tn.Start],l=o[o.length-1]?.[Tn.End];a=typeof f=="number"?f:a,r=typeof l=="number"?l:r}else if(c===C.BoxPlotSeries){e=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let f=Gr(d,n),l=st(d),y="standardizeValues"in s?s.standardizeValues===!0:void 0,b=s.series.map(m=>m.visible!==!1?lr({where:m.query?.where}):"");b.length===0&&b.push(" ");for(let m=0;m<p.length;m+=1)for(let S=0;S<f.length;S+=1){let T=l===k.BoxPlotMultiFieldsAndCategory?f[S]:void 0;for(let I=0;I<b.length;I+=1){let{min:P,max:F}=wc({y:T,splitByValue:b[I],chartSubType:l,showOutliers:!1,standardizeValues:y,dataItem:p[m]});P!=null&&P<e&&(e=P),F!=null&&F>i&&(i=F)}}}else switch(Jp(s)){case er.Stacked100:{e=Number.NaN,i=Number.NaN;break}case er.Stacked:{let{stackedMinY:f,stackedMaxY:l}=Sc({seriesConfig:d,filteredData:p,filteredSeriesIds:n});e=f,i=l;break}case er.Side:default:{e=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let f=Gr(d,n);for(let l=0;l<f.length;l+=1){let y=f[l],[b,m]=tr(p,S=>S[y]);b!==void 0&&b<e&&(e=b),m!==void 0&&m>i&&(i=m)}break}}}return{minY:e,maxY:i,minX:a,maxX:r}}var Ve=class extends Error{constructor(e,i,a){super(i),this.name=e,this.details=a}},Ue={Default:"defaultError",LayerLoadFailure:"layerLoadFailure",QueryFeaturesError:"queryFeaturesError",ChartDisposed:"ChartDisposeError",LayerFieldsNotFound:"layerFieldsNotFound"};function Jh(t){return t!==void 0&&(!("url"in t)||!t.url)}function Vi(t){return t!==void 0&&"layer"in t}function Ic(t){return t!==void 0&&"type"in t&&t.type==="feature"}function xc(t){return t!==void 0&&"type"in t&&t.type==="subtype-group"}function Ui(t){return t!==void 0&&"type"in t&&t.type==="subtype-sublayer"}function Kh(t){return Ic(t)||Ui(t)}function xe(t){return Ui(t)?t.parent:t}function so(t){return t.capabilities?.query?.supportsDistance||xe(t).sourceJSON?.advancedQueryCapabilities?.supportsQueryWithDistance===!0}function Cc(t){return t.capabilities?.queryAttributeBins?.supportsFixedInterval===!0&&t.capabilities?.queryAttributeBins?.supportsStackBy}function Tc(t,e){return t!==void 0&&"capabilities"in t&&t.capabilities?.queryAttributeBins?.supportsDate===!0&&(Ke(e)||t.capabilities?.queryAttributeBins?.supportsStackBy)}function Zh(t){let e=!1,i=xe(Ae(t)).sourceJSON;if(i){let a=i.queryBinsCapabilities?.supportsFixedIntervalBin,r=i.queryBinsCapabilities?.supportedStatisticTypes,s=[ae.Maximum,ae.Count].every(o=>r?.includes(o.toUpperCase())||r?.includes(o.toLowerCase()));e=a&&s}return e}function Yh(t){let e;return Vi(t)?e=t.layer:e=t,e}function Ae(t){let e;return Vi(t)?e=t.layer:e=t,e}function Pc(t){let e=!1,i=xe(t).sourceJSON?.advancedQueryCapabilities?.supportedSpatialAggregationStatistics??[],a=t.capabilities?.query.supportedSpatialAggregationStatistics??{};return e=i.includes("EnvelopeAggregate")||"envelope"in a&&a.envelope===!0,e}function Xh(t){let{chartConfig:e,queryObject:i}=t,a,r=Ae(i);return r&&(a={id:r.id,layerType:"ArcGISFeatureLayer"},r.url&&(a.url=r.url)),{...e,iLayer:a}}var sr=new Map;function Fc(t){let e;switch(t){case Ct.Feet:e="esriSRUnit_Foot";break;case Ct.Miles:e="esriSRUnit_StatuteMile";break;case Ct.NauticalMiles:e="esriSRUnit_NauticalMile";break;case Ct.USNauticalMiles:e="esriSRUnit_USNauticalMile";break;case Ct.Meters:e="esriSRUnit_Meter";break;case Ct.Kilometers:e="esriSRUnit_Kilometer";break}return e}async function ey(t){let{queryObject:e,queryConfig:i,outputFormat:a,dataFormat:r,outAnalytics:s}=t,{where:o,geometry:n,distance:d,units:u,timeExtent:p}=i,c,f=Ae(e),l=xe(f),y={query:{where:nr([o,l.definitionExpression])}},b=Gi(n)?.extent?.toJSON();if(b!==void 0){let S=Fc(u),{xmin:T,ymin:I,xmax:P,ymax:F}=b;y.query={...y.query,geometryType:"esriGeometryEnvelope",geometry:`${T},${I},${P},${F}`,distance:d,units:S,inSR:n?.spatialReference?.wkid}}p&&(y.query.time=`${p[0]},${p[1]}`);let m=`${l.url}/${l.layerId}/queryAnalytic?f=${a}&dataFormat=${r}&outAnalytics=${s}`;try{c=(await Li(m,y)).data?.features?.[0]?.attributes}catch(S){let T=(await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages.")).errorStrings;throw new Ve(Ue.QueryFeaturesError,T.errors.queryError,S)}return c}function Ac(t,e){return{lowerBoundaryAlias:`charts_lower_boundary_${t}`,upperBoundaryAlias:`charts_upper_boundary_${t}`,stackAlias:`charts_stack_alias_${e}`}}async function ty(t){let{chartConfig:e,queryObject:i,queryConfig:a,errorStrings:r}=t,s,o=Ae(i),n=Cc(o);if(n&&i&&"queryAttributeBins"in i&&e.series[0].type===C.HeatSeries){let{x:d,y:u,xTemporalBinning:p,yTemporalBinning:c}=e.series[0],{outTimeZone:f,firstDayOfWeek:l}=e,y=await Bc({queryObject:i,queryConfig:a,x:d,y:u,xTemporalBinning:p,yTemporalBinning:c,outTimeZone:f,firstDayOfWeek:l});try{s=await i.queryAttributeBins(y)}catch(b){throw new Ve(Ue.QueryFeaturesError,r.errors.queryError,b)}}if(!n)throw new Ve(Ue.QueryFeaturesError,r.errors.queryBinsNotSupported,r.errors.queryBinsNotSupported);return s}async function ry(t){let{chartConfig:e,queryObject:i,queryConfig:a,returnFeaturesExtent:r,errorStrings:s,abortKey:o}=t,n=e.series[0],d;if(n.type===C.HeatSeries){let{x:u,y:p}=n;a.groupByFieldsForStatistics=[u],u!==p&&a.groupByFieldsForStatistics.push(p),a&&r===!0&&!a.outStatistics?.some(c=>c.statisticType===ae.EnvelopeAggregate)&&a.outStatistics?.push({statisticType:ae.EnvelopeAggregate,onStatisticField:"1"});try{d=await oo({queryObject:i,queryConfig:a,abortKey:o})}catch(c){throw new Ve(Ue.QueryFeaturesError,s.errors.queryError,c)}}return d}async function iy(t){let{queryObject:e,queryConfig:i,xStep:a,xMin:r,xMax:s,x:o,y:n,yStep:d,errorStrings:u}=t,p;if(e&&"queryAttributeBins"in e&&Number.isFinite(a)&&Number.isFinite(d)&&Number.isFinite(r)&&Number.isFinite(s)&&a>0&&d>0){let c=kc({queryObject:e,queryConfig:i,xStep:a,xMin:r,xMax:s,x:o,y:n,yStep:d});try{p=await e.queryAttributeBins(c)}catch(f){throw new Ve(Ue.QueryFeaturesError,u.errors.queryError,f)}}return p}async function ay(t){let{queryConfig:e,x:i,queryObject:a,chartSubType:r,isGaugeByFeature:s}=t,o=Ae(a),n;if(a!==void 0){let d=o.objectIdField,{where:u,gdbVersion:p,timeExtent:c,geometry:f,distance:l,units:y}=e,b=Lc(c),m=Gi(f),S=xe(o),T=nr([u,S.definitionExpression]),I={returnDistinctValues:!0,outFields:s===!0||r===k.PieNoAggregation||r===k.BarAndLineNoAggregation||r===k.BarAndLineSplitByNoAggregation?[d]:[i],where:T,gdbVersion:p??S.gdbVersion,timeExtent:b??S.timeExtent,geometry:m};lo(I)&&(I.cacheHint=!0),I.geometry!==void 0&&so(o)&&(l!==void 0&&(I.distance=l),y!==void 0&&(I.units=y));try{n=await a.queryFeatureCount(I)}catch{n=Number.NaN}}return n}async function sy(t){let{queryObject:e,queryConfig:i,abortKey:a}=t,{outStatistics:r}=i,s=new Map;if(e!==void 0&&r!==void 0&&r.length>0){let o=r.map(p=>{let{statisticType:c,onStatisticField:f,outStatisticFieldName:l}=p;return{statisticType:c,onStatisticField:f,outStatisticFieldName:l?.toUpperCase()}});i.outStatistics=o,delete i.num,delete i.orderByFields;let n=co({queryObject:e,queryConfig:i}),d;try{d=await e.queryFeatures(n,{signal:a!==void 0?sr.get(a)?.signal:void 0})}catch(p){if(!Bi.isAbortError(p)){let c=(await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages.")).errorStrings;throw new Ve(Ue.QueryFeaturesError,c.errors.queryError,p)}}let u=d?.features?.[0]?.attributes;u!==void 0&&r.forEach(p=>{let{outStatisticFieldName:c}=p;if(c!==void 0){let f=u[c.toLowerCase()]??u[c.toUpperCase()]??u[c];f!==void 0&&s.set(c,f)}})}return s}async function no(t){let{queryObject:e,queryConfig:i,returnUniqueIdsOnly:a,abortKey:r}=t,s=[],o=Ae(e);if(e!==void 0){let n=Nc(o),d=co({queryObject:e,queryConfig:i,maxRecordCountFactor:n});try{a===!0?"queryObjectIds"in e?s=await e.queryObjectIds(d):(d.outFields=[o.objectIdField],s=(await e.queryFeatures(d,{signal:r!==void 0?sr.get(r)?.signal:void 0})).features.map(u=>u.attributes[o.objectIdField])):s=(await e.queryFeatures(d,{signal:r!==void 0?sr.get(r)?.signal:void 0})).features}catch(u){if(!Bi.isAbortError(u)){let p=(await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages.")).errorStrings;throw new Ve(Ue.QueryFeaturesError,p.errors.queryError,u)}}}return s}async function Ec(t){let e=[],{featureCount:i,maxRecords:a,queryConfig:r}=t,s=[],o=0,n=r?.start??0;for(;o<At.maxParallelRequests&&n<i;){let d={...t};d.queryConfig={...r,start:n,num:Math.min(a,i-n)},e.push(no(d)),n+=a,o+=1}return s=(await Promise.all(e)).flat(),s}async function oo(t){let{queryObject:e,queryConfig:i,returnUniqueIdsOnly:a,featureCount:r,noBatch:s,abortKey:o}=t,n=[],d=Ae(e);if(e!==void 0){let u=r??1,p=po(d);if(s!==!0&&u>p&&d.capabilities?.query.supportsPagination){let c=0,f=0,l=Math.ceil(u/p),y=Math.ceil(l/At.maxParallelRequests),b=[];for(;f<y;){c=f*At.maxParallelRequests*p;let m=Ec({queryConfig:{...i,start:c},queryObject:e,maxRecords:p,featureCount:u,returnUniqueIdsOnly:a,abortKey:o});b.push(m),f+=1}n=(await Promise.all(b)).flat()}else(Number.isNaN(u)||u>=0)&&(n=await no({queryObject:e,queryConfig:i,returnUniqueIdsOnly:a,abortKey:o}))}return n}async function ny(t){let{queryObject:e,queryConfig:i,uniqueFeature:a,abortKey:r}=t,s={...i,returnDistinctValues:!0};return await oo({queryObject:e,abortKey:r,queryConfig:s,returnUniqueIdsOnly:!0,featureCount:a===!0?1:void 0})}function oy(t){if(t!==void 0){let e=sr.get(t);e!==void 0&&e.abort(),sr.set(t,new AbortController)}}function $c(t){return{lowerBoundaryAlias:`charts_lower_boundary_${t}`,upperBoundaryAlias:`charts_upper_boundary_${t}`}}async function ly(t){let{queryObject:e,dateField:i,splitByField:a,queryConfig:r,temporalBinning:s}=t,o=[],n;if(s){let{unit:d}=s;try{if(d){let u=xe(Ae(e));if(n=Tc(u,a),n&&e&&"queryAttributeBins"in e){let p=await _c({queryObject:e,queryConfig:r,temporalBinning:s,dateField:i,splitByField:a});o=(await e.queryAttributeBins(p)).features}}}catch(u){let p=(await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages.")).errorStrings;throw new Ve(Ue.QueryFeaturesError,p.errors.queryError,u)}}if(n===!1){let d=(await ye(me(document.documentElement).t9nLocale,he("./assets/common/t9n"),"messages.")).errorStrings;throw new Ve(Ue.QueryFeaturesError,d.errors.queryBinsNotSupported,d.errors.queryBinsNotSupported)}return o}function lo(t){let e=!t.geometry||t.geometry.type==="extent",i=(t.where??"").toUpperCase(),a=!i.includes("CURRENT_TIMESTAMP")&&!i.includes("CURRENT_DATE")&&!i.includes("CURRENT_TIME");return e&&a}function po(t){let e=xe(t)?.sourceJSON,i=e?.maxRecordCount??At.maxRecords;return e?.advancedQueryCapabilities?.supportsMaxRecordCountFactor&&e?.maxRecordCount!==void 0&&(i=e.maxRecordCount*At.maxRecordCountFactor),i}function nr(t,e){let i,a=Array.from(new Set(t)).filter(r=>r!=null&&r!==""&&!Ut(r));return a.sort((r,s)=>s.length-r.length),a.length===1?[i]=a:a?.forEach(r=>{r!==void 0&&(Ke(i)?i=`(${r})`:i?.includes(`(${r})`)||(i=`${i} ${e??"AND"} (${r})`))}),i??"1=1"}function Oc(t,e){let i=e;if(t!==void 0){let a=Ae(t),r=xe(a).timeExtent;r?.start!=null&&r?.end!=null&&(i=[r.start.valueOf(),r.end.valueOf()])}return i}function Dc(t){let{queryObject:e,defaultGeometry:i,ignoreViewExtent:a}=t,r=i;if(!a&&Vi(e)){let s=e.view.extent,{xmin:o,xmax:n,ymin:d,ymax:u,zmin:p,zmax:c,spatialReference:f}=s;r={xmin:o,ymin:d,zmin:p,xmax:n,ymax:u,zmax:c,spatialReference:f}}return r}function Lc(t){let e;return t!==void 0&&(e=new qn({start:new Date(t[0]),end:new Date(t[1])})),e}function Gi(t){let e;return t!==void 0&&(e=qi.fromJSON(t)),e}function Rc(t){return t===void 0?["*"]:Array.from(new Set(t))}function Jr(t){let{queryObject:e,queryConfig:i,queryType:a}=t,{where:r,outStatistics:s,geometry:o,distance:n,units:d,timeExtent:u,returnDistinctValues:p}=i??{},c=a==="Query"?new Ad({}):new Fd({}),f=Ae(e),l=xe(f),y;a==="AttributeBinsQuery"&&i?.objectIds?.[0]!==void 0&&(y=`${f.objectIdField} IN (${i.objectIds.join(",")})`);let b=[r,l.definitionExpression,y];if(c.where=nr(b),c.returnDistinctValues=p??!1,s!==void 0){let T=Pc(f);c.outStatistics=s.filter(I=>I.statisticType!==ae.EnvelopeAggregate||T).map(I=>Ed.fromJSON(I))}let m=Gi(o);m!==void 0&&(c.geometry=m,i?.spatialRelationship&&(c.spatialRelationship=i.spatialRelationship),so(f)&&(n!==void 0&&(c.distance=n),d!==void 0&&(c.units=d)));let S;return u&&(S=new qn({start:u?.[0],end:u?.[1]})),S!==void 0?c.timeExtent=S:l.timeExtent!==void 0&&(c.timeExtent=l.timeExtent),lo(c)&&(c.cacheHint=!0),c}function jc(t){let e;switch(t){case kt.Start:e="first";break;case kt.End:e="last";break}return e}async function _c(t){let{queryObject:e,queryConfig:i,temporalBinning:a,dateField:r,splitByField:s}=t,o=Ae(e),n=(await dr(e)).find(S=>S.name===r)?.type,d=Jr({queryObject:e,queryConfig:i,queryType:"AttributeBinsQuery"}),{unit:u,size:p,timeAggregationType:c,start:f,end:l,offset:y,outTimeZone:b}=a,m=$c(r);if(d.lowerBoundaryAlias=m.lowerBoundaryAlias,d.upperBoundaryAlias=m.upperBoundaryAlias,n!==ue.DateOnly&&(d.outTimeZone=b??Intl.DateTimeFormat().resolvedOptions().timeZone),d.binParameters={type:"date",field:r,interval:{unit:u,value:p},start:f,end:l,offset:y?{unit:y.unit,value:y.size}:null},d.binParameters.type==="date"&&(o.capabilities?.queryAttributeBins?.supportsSnapToData&&(d.binParameters.snapToData=jc(c)),o.capabilities?.queryAttributeBins?.supportsReturnFullIntervalBin&&(d.binParameters.returnFullIntervalBin=!0)),!Ke(s)){let S=xe(o).fields.find(T=>T.name===s)?.type;(!S||S==="string"||S==="integer"||S==="small-integer"||S==="big-integer"||S==="double")&&(d.binParameters.stackBy={type:"field",value:s,valueType:S==="string"?"string":"integer"})}return d}function qc(t){let{field:e,fieldType:i,unit:a}=t,r,s,o=1,n=1;switch(a){case it.MinuteOfDay:i!==ue.DateOnly&&(s="MINUTE",n=59);break;case it.HourOfDay:i!==ue.DateOnly&&(s="HOUR",n=24);break;case it.DayOfWeek:s="DOW",n=7;break;case it.DayOfMonth:s="DAY",n=31;break;case it.DayOfYear:s="DOY",n=366;break;case it.WeekOfYear:s="WEEK",n=53;break;case it.MonthOfYear:s="MONTH",n=12;break;case it.QuarterOfYear:s="QUARTER",n=4;break}return s&&(r=`EXTRACT (${s} FROM ${e})`),{expression:r,start:o,end:n}}function On(t){let{temporalBinning:e,xOrY:i,xOrYFieldType:a}=t,{unit:r}=e??{},s,o,n,d;return a===ue.Date||a===ue.DateOnly||a===ue.TimestampOffset?{expression:o,start:n,end:d}=qc({field:i,fieldType:a,unit:r}):s=i,{field:s,expression:o,start:n,end:d}}async function Bc(t){let{queryObject:e,queryConfig:i,x:a,y:r,xTemporalBinning:s,yTemporalBinning:o,firstDayOfWeek:n,outTimeZone:d}=t,u=await dr(e),p=u.find(I=>I.name===a)?.type,c=u.find(I=>I.name===r)?.type,f=Jr({queryObject:e,queryConfig:i,queryType:"AttributeBinsQuery"});f.binParameters={type:"fixed-interval",interval:1},p!==ue.DateOnly&&(f.outTimeZone=d??Intl.DateTimeFormat().resolvedOptions().timeZone),n!==void 0&&(f.binParameters.firstDayOfWeek=n);let l=On({temporalBinning:s,xOrY:a,xOrYFieldType:p}),{field:y,expression:b,start:m,end:S}=l;y?f.binParameters.field=y:b&&(f.binParameters.expression=b,f.binParameters.expressionValueType="integer",f.binParameters.type==="fixed-interval"&&(m!==void 0&&(f.binParameters.start=m),S!==void 0&&(f.binParameters.end=S)));let T=On({temporalBinning:o,xOrY:r,xOrYFieldType:c});return T.field?f.binParameters.stackBy={type:"field",value:T.field}:T.expression&&(f.binParameters.stackBy={type:"expression",value:T.expression,valueType:"integer",alias:r}),f}function kc(t){let{queryObject:e,queryConfig:i,xStep:a,xMin:r,xMax:s,x:o,y:n,yStep:d}=t,u=Jr({queryObject:e,queryConfig:i,queryType:"AttributeBinsQuery"}),p=Ac(o,n);return u.lowerBoundaryAlias=p.lowerBoundaryAlias,u.upperBoundaryAlias=p.upperBoundaryAlias,u.binParameters={type:"fixed-interval",field:o,interval:a,start:r,end:s,stackBy:{value:`FLOOR(${n} / ${d})`,type:"expression",alias:p.stackAlias,valueType:"integer"}},u}function co(t){let{queryObject:e,queryConfig:i,maxRecordCountFactor:a}=t,{groupByFieldsForStatistics:r,orderByFields:s,gdbVersion:o,start:n,num:d,outFields:u}=i??{},p=Jr({queryObject:e,queryConfig:i,queryType:"Query"});p.returnGeometry=!1;let c=Ae(e),f=xe(c);return p.outFields=Rc(u),p.groupByFieldsForStatistics=r??p.groupByFieldsForStatistics,p.orderByFields=s??[],p.objectIds=i?.objectIds,a!==void 0&&(p.maxRecordCountFactor=a),o!==void 0&&o!==""?p.gdbVersion=o:f.gdbVersion!==void 0&&f.gdbVersion!==""&&(p.gdbVersion=f.gdbVersion),d!==void 0&&(p.num=d),n!==void 0&&(p.start=n,p.num=p.num??po(c)),p}function Nc(t){return xe(t)?.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor===!0?At.maxRecordCountFactor:void 0}function dy(t){let e,i,a;return t!==void 0&&(e=t.type,(e===yr.UniqueValue||e===yr.ClassBreaks)&&(i=t.field??void 0,e===yr.ClassBreaks&&(a=t.normalizationField??void 0))),{rendererType:e,rendererField:i,rendererNormalizationField:a}}var Wc=(0,_n.default)(async t=>{let e=t.featureCollection,i,a;if(e?.layers?.[0]!==void 0){let o=e.layers[0];i=o.featureSet,a=o.layerDefinition}else a=t.layerDefinition;let r={};if(i!==void 0){if(r.source=Cd.fromJSON(i).features,a?.fields!==void 0&&(r.fields=a.fields.map(o=>xd.fromJSON(o))),a?.objectIdField!==void 0&&(r.objectIdField=a.objectIdField),a?.geometryType!==void 0){let o=qi.fromJSON({geometryType:a.geometryType});o?.type!==void 0&&o?.type!=="extent"&&(r.geometryType=o.type)}a?.spatialReference!==void 0&&(r.spatialReference=a.spatialReference)}else r.id=t.id,a?.id!==void 0&&(r.layerId=a.id),t.url!==void 0&&(r.url=t.url),t.itemId!==void 0&&a?.id!==void 0&&(r.portalItem={id:t.itemId});if(a!==void 0){let o=a.drawingInfo;o?.renderer!==void 0&&(r.renderer=jn.fromJSON(o.renderer))}let s=new Td(r);return await s.load(),s});async function py(t){let{layer:e,view:i,chartConfig:a}=t,r;if(e!==void 0){let s=Ae(e),o=xe(s);if(i!==void 0&&!o.isTable){o.outFields=["*"];let n=u=>"highlight"in u,d=await i.whenLayerView(o);n(d)&&(r=d)}else r=e}else"iLayer"in a&&a.iLayer&&(r=await Wc(a.iLayer));return r}async function dr(t,e){let i=Ae(t),a=[];if(i!==void 0){await i.load();let r=e===!0&&i?.popupTemplate?.fieldInfos!==void 0;a=i.fields.map(s=>{let o=s.toJSON();if(r){let n=i.popupTemplate?.fieldInfos?.find(d=>d.fieldName?.toLowerCase()===s.name.toLowerCase())?.label;n!==void 0&&n!==s.name&&(o.alias=n)}return o})}return a}function Hi(t,e=[]){return e.find(i=>i.name===t)}function cy(t){return t.find(e=>e.type===ue.OID)?.name??""}function uo(t){return[ue.Single,ue.Double,ue.SmallInteger,ue.Integer,ue.BigInteger].includes(t.type)}function uy(t){return t.type===ue.Date}function fy(t){return[ue.SmallInteger,ue.Integer,ue.BigInteger].includes(t.type)}function hy(t){return t.filter(e=>e.type===ue.Date||e.type===ue.DateOnly||e.type===ue.TimestampOffset).map(e=>e.name)}function yy(t){return t.filter(e=>uo(e)).map(e=>e.name)}function Mc(t){let{subtypeInfo:e,fieldName:i,fieldValueToMatch:a}=t,r,s=o=>`${o.id}`==`${a}`;return e?.subtypeField===i&&e.subtypes?r=e.subtypes.find(s)?.name:e?.typeIdField===i&&e.types&&(r=e.types.find(s)?.name),r}function Dn(t,e){let i=[],a=xc(t)?t.subtypes:t[e];return a?.[0]!==void 0&&a.forEach(r=>{let{name:s,domains:o}=r,n="id"in r?r.id:void 0;!n&&"code"in r&&(n=r.code);let d=Object.entries(o??{}),u=[],p=d?.filter(([c,f])=>f?.type==="coded-value")?.map(([c,f])=>{let l={fieldName:c,name:s,codedValues:u};if(f&&"codedValues"in f){let y=f.codedValues.map(({code:b,name:m})=>({name:m,code:b}));l={fieldName:c,name:f.name,codedValues:y}}return l});i.push({id:n??"",name:s,domains:p})}),i.length===0?void 0:i}function my(t){let e;if(t!==void 0){let i=Ae(t);if(!Ui(i)&&!Ke(i?.typeIdField)){let a=Dn(i,"types");a!==void 0&&(e={typeIdField:i.typeIdField??void 0,types:a})}if(!Ke(i?.subtypeField)){let a=xe(i),r=Dn(a,"subtypes");r!==void 0&&(e={...e,subtypeField:a.subtypeField??void 0,subtypes:r})}}return e}function gy(t){let{fieldName:e,fieldValueToMatch:i,subtypeInfo:a,fieldList:r}=t,s;if((typeof i!="string"||!Ke(i))&&!Ke(e)&&(s=Mc({subtypeInfo:a,fieldName:e,fieldValueToMatch:i}),s===void 0)){let o=Hi(e,r);if(a?.types!==void 0){let n=a?.types;for(let d of n){let u=d.domains?.filter(p=>p.fieldName===o?.name)??[];for(let p of u)if(s=p?.codedValues?.find(c=>`${c.code}`===i)?.name,s!==void 0)break;if(s!==void 0)break}}s===void 0&&o?.domain!==void 0&&o.domain.type==="codedValue"&&(s=o.domain.codedValues?.find(n=>`${n.code}`==`${i}`)?.name)}return s}async function by(t){let e=[];return!xe(t).isTable&&t.fieldsIndex&&(e=await Rn.getRendererFields(t.renderer,t.fieldsIndex)),e}function zc(t){let e="/rest/services",i=t.toLowerCase(),a=i.indexOf(e);return i=a>-1?t.substring(0,a):t,`${i}/rest/info`}async function vy(t){let e=!0,i=".arcgis.com/",a=t.url,r=a?.includes(i);if(a&&r&&xe(t).sourceJSON.serviceItemId!==void 0){let s=zc(a);try{let o=(await Li(s,{query:{f:"json"}})).data;if(o.owningTenant!==void 0&&o.owningSystemUrl!==void 0){let n=`${o.owningSystemUrl}/sharing/rest/portals/${o.owningTenant}`,d=(await Li(n,{authMode:"auto",query:{f:"json"}})).data,u=new Pd({sourceJSON:d});await u.load(),e=u?.sourceJSON?.subscriptionInfo?.dataStoreLevel===void 0}}catch{}}return e}async function Vc(t){let{queryObject:e,fieldToMatch:i,returnUndefinedIfNotFound:a}=t,r=await dr(e),s=r.find(n=>i===n.name);s||(s=r.find(n=>i.toUpperCase()===n.name.toUpperCase()));let o=a?"":i;return s?.name??o}async function Sy(t){let{fieldsList:e,queryObject:i,returnUndefinedIfNotFound:a}=t,r=e;return r!==void 0&&(r=await Promise.all(r.map(async s=>await Vc({queryObject:i,fieldToMatch:s,returnUndefinedIfNotFound:a})))),r}function wy(t){let{queryObject:e,chartConfig:i,runtimeDataFilters:a,ignoreViewExtent:r}=t,{series:s,dataFilters:o}=i,{where:n,gdbVersion:d,timeExtent:u,geometry:p,distance:c,units:f,objectIds:l,spatialRelationship:y}=o??{},{where:b,gdbVersion:m,timeExtent:S,geometry:T,distance:I,units:P,objectIds:F,spatialRelationship:$}=a??{},_=s[0],{query:L}=_,{where:A}=L??{},R=st(s),O={...L};return O.where=nr([n,b]),R!==k.BarAndLineSplitBy&&R!==k.BoxPlotMonoFieldAndSplitBy&&R!==k.BoxPlotMonoFieldAndCategoryAndSplitBy&&R!==k.BoxPlotMultiFieldsAndSplitBy&&R!==k.BarAndLineSplitByNoAggregation&&(O.where=nr([O.where,A])),i.orderOptions?.orderByFields!==void 0&&(O.orderByFields=i.orderOptions.orderByFields),O.gdbVersion=m??d,O.timeExtent=Oc(e,S??u),O.geometry=Dc({queryObject:e,defaultGeometry:T??p,ignoreViewExtent:r}),O.distance=I??c,O.units=P??f,O.objectIds=F??l,O.spatialRelationship=$??y,L?.outStatistics?.[0]?.statisticType===ae.Count&&(O.returnDistinctValues=L?.returnDistinctValues??!1),O}var Vt={$schema:"http://json-schema.org/draft-07/schema#",definitions:{ValueConversion:{type:"object",properties:{factor:{type:"number",description:"A numeric value multiplying the value to convert"},offset:{type:"number",description:"A numeric offset to apply to the value to convert"}},description:"Stores information regarding a numeric conversion",title:"ValueConversion"},WebChartAxisScrollBar:{type:"object",properties:{visible:{type:"boolean",description:"Scrollbar visibility",default:!1},width:{type:"number",description:"Scrollbar width in pixels"},color:{$ref:"#/definitions/Color",description:"Scrollbar color"},gripSize:{type:"number",description:"Grip size in pixels"},margin:{type:"number",description:"Margin between the scrollbar and the series container in pixels"}},description:"Describes the properties of an axis scrollbar",title:"WebChartAxisScrollBar"},Color:{type:"array",items:{type:"number"},minItems:4,maxItems:4,title:"Color"},WebChartTextSymbol:{type:"object",properties:{xoffset:{type:["number","string"],description:`Horizontal offset. Can be a number for a fixed value in pixels, or a string as "25%" for a value relative to the label's container width.`},yoffset:{type:["number","string"],description:`Horizontal offset. Can be a number for a fixed value in pixels, or a string as "25%" for a value relative to the label's container height.`},angle:{type:"number",description:"Rotation of the label"},style:{type:"string",description:"Label style"},type:{type:"string",const:"esriTS"},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"],description:"Represents a text symbol.",title:"WebChartTextSymbol"},'Omit<ITextSymbol,("angle"|"style"|"xoffset"|"yoffset")>':{$ref:"#/definitions/Pick%3CITextSymbol%2CExclude%3C(%22type%22%7C%22color%22%7C%22backgroundColor%22%7C%22borderLineSize%22%7C%22borderLineColor%22%7C%22haloSize%22%7C%22haloColor%22%7C%22verticalAlignment%22%7C%22horizontalAlignment%22%7C%22rightToLeft%22%7C%22kerning%22%7C%22font%22%7C%22text%22%7C%22angle%22%7C%22xoffset%22%7C%22yoffset%22%7C%22style%22%7Cstring)%2C(%22angle%22%7C%22style%22%7C%22xoffset%22%7C%22yoffset%22)%3E%3E",title:'Omit<ITextSymbol,("angle"|"style"|"xoffset"|"yoffset")>'},'Pick<ITextSymbol,Exclude<("type"|"color"|"backgroundColor"|"borderLineSize"|"borderLineColor"|"haloSize"|"haloColor"|"verticalAlignment"|"horizontalAlignment"|"rightToLeft"|"kerning"|"font"|"text"|"angle"|"xoffset"|"yoffset"|"style"|string),("angle"|"style"|"xoffset"|"yoffset")>>':{type:"object",properties:{type:{type:"string",const:"esriTS"},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:'Pick<ITextSymbol,Exclude<("type"|"color"|"backgroundColor"|"borderLineSize"|"borderLineColor"|"haloSize"|"haloColor"|"verticalAlignment"|"horizontalAlignment"|"rightToLeft"|"kerning"|"font"|"text"|"angle"|"xoffset"|"yoffset"|"style"|string),("angle"|"style"|"xoffset"|"yoffset")>>'},IFont:{type:"object",properties:{family:{type:"string"},size:{type:"number"},style:{type:"string",enum:["italic","normal","oblique"]},weight:{type:"string",enum:["bold","bolder","lighter","normal"]},decoration:{type:"string",enum:["line-through","none","underline"]}},title:"IFont"},WebChartText:{type:"object",properties:{type:{type:"string",const:"chartText",description:'Represents a unique string identifier for the ChartText object. For ChartText object, it is "chartText".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},content:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains the styling info and text content. Details on **esriTS** are [here](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm)."}},required:["type","content"],description:"Stores info on how some text is rendered on the chart and whether it is visible or not.",title:"WebChartText"},WebChartCursorCrosshair:{type:"object",properties:{type:{type:"string",const:"cursorCrosshair",description:"Represents a unique string identifier for the chart cursor's crosshair."},style:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the chart cursor's crosshair should be rendered."},verticalLineVisible:{type:"boolean",description:"Indicates whether the vertical crosshair line should be displayed",default:!1},horizontalLineVisible:{type:"boolean",description:"Indicates whether the horizontal crosshair line should be displayed",default:!1}},required:["type"],description:"JSON representation of the cursor's crosshair for a chart.",title:"WebChartCursorCrosshair"},ISimpleLineSymbol:{type:"object",properties:{type:{type:"string",const:"esriSLS"},style:{$ref:"#/definitions/SimpleLineSymbolStyle"},color:{$ref:"#/definitions/Color"},width:{type:"number"}},required:["type"],title:"ISimpleLineSymbol"},ISymbol:{type:"object",properties:{type:{$ref:"#/definitions/SymbolType"},style:{type:"string"}},required:["type"],title:"ISymbol"},SymbolType:{type:"string",enum:["esriPFS","esriPMS","esriSFS","esriSLS","esriSMS","esriTS"],title:"SymbolType"},SimpleLineSymbolStyle:{type:"string",enum:["esriSLSDash","esriSLSDashDot","esriSLSDashDotDot","esriSLSDot","esriSLSNull","esriSLSSolid"],title:"SimpleLineSymbolStyle"},WebChartLegend:{type:"object",properties:{type:{type:"string",const:"chartLegend",description:'Represents a unique string identifier for the ChartLegend object. For ChartLegend object, it is "chartLegend".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the legend box should be rendered"},body:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains styling info on how legend body (excluding the **title**) should be rendered. Will use default styling if not provided."},position:{$ref:"#/definitions/WebChartLegendPositions",description:'Positions the legends at `"right"`, `"left"`, `"top"`, or `"bottom"` of the chart.',default:"WebChartLegendPositions.Right"},maxHeight:{type:["number","null"],description:"Legend's maximum height. If not set the legend will occupy the same height as the series container or pie chart.",default:null},roundMarkers:{type:"boolean",description:"Allows the legend markers to be displayed as circles. If the property is to:\n- `false` or `undefined` they will be rounded rectangles\n- `true` they will be circles",default:!1}},required:["type"],description:"JSON representation of the Chart's legend box",title:"WebChartLegend"},WebChartLegendPositions:{type:"string",enum:["left","right","top","bottom"],title:"WebChartLegendPositions"},WebChartPieChartLegend:{type:"object",properties:{type:{type:"string",const:"chartLegend",description:'Represents a unique string identifier for the ChartLegend object. For ChartLegend object, it is "chartLegend".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the legend box should be rendered"},body:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains styling info on how legend body (excluding the **title**) should be rendered. Will use default styling if not provided."},position:{$ref:"#/definitions/WebChartLegendPositions",description:'Positions the legends at `"right"`, `"left"`, `"top"`, or `"bottom"` of the chart.',default:"WebChartLegendPositions.Right"},maxHeight:{type:["number","null"],description:"Legend's maximum height. If not set the legend will occupy the same height as the series container or pie chart.",default:null},roundMarkers:{type:"boolean",description:"Allows the legend markers to be displayed as circles. If the property is to:\n- `false` or `undefined` they will be rounded rectangles\n- `true` they will be circles",default:!1},displayCategory:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed in the legend.",default:!0},displayNumericValue:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed in the legend. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`",default:!1},displayPercentage:{type:"boolean",description:"Indicates whether the percentage to a slice is to be displayed in the legend. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`",default:!1},labelMaxWidth:{type:"number",description:"Maximum width in pixels of the label displaying the slice name. If the label is larger than the maximum width, it will automatically wrap.",default:200},valueLabelMaxWidth:{type:"number",description:"Maximum width in pixels of the label displaying the slice name. If the label is larger than the maximum width, it will automatically wrap.",default:200}},required:["type"],description:"Specific legend for the Pie chart",title:"WebChartPieChartLegend"},WebChartOverlay:{type:"object",properties:{type:{type:"string",const:"chartOverlay",description:'Represents a unique string identifier for the ChartOverlay object. For ChartOverlay object, it is "chartOverlay".'},created:{type:"boolean",description:"Determines whether the overlay is created under the hood. It may or may not be visible.",default:!1},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},symbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the overlay should be rendered If not provided a default style is applied."}},required:["type"],description:"JSON representation of the chart's overlays like trendline scatter plot, and median in histogram",title:"WebChartOverlay"},NumberFormatOptions:{type:"object",properties:{type:{type:"string",const:"number",description:'Represents a unique string identifier for the NumberFormatOptions object. For NumberFormatOptions object, it is "number". It can help us to differentiate numerical (value) axis from other types of axes viz., date-time axis and category axis.'},intlOptions:{$ref:"#/definitions/Intl.NumberFormatOptions",description:"Represents the JS native [Intl.NumberFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat), which is based on [CLDR](http://cldr.unicode.org/translation/numbers-currency/number-patterns) specifications."}},required:["type","intlOptions"],description:"Defines how the numerical(value) axis data should be formatted.",title:"NumberFormatOptions"},"Intl.NumberFormatOptions":{type:"object",properties:{localeMatcher:{type:"string",enum:["lookup","best fit"]},style:{$ref:"#/definitions/Intl.NumberFormatOptionsStyle"},currency:{type:"string"},currencyDisplay:{$ref:"#/definitions/Intl.NumberFormatOptionsCurrencyDisplay"},useGrouping:{$ref:"#/definitions/Intl.NumberFormatOptionsUseGrouping"},minimumIntegerDigits:{type:"number"},minimumFractionDigits:{type:"number"},maximumFractionDigits:{type:"number"},minimumSignificantDigits:{type:"number"},maximumSignificantDigits:{type:"number"}},title:"Intl.NumberFormatOptions"},"Intl.NumberFormatOptionsStyle":{title:"Intl.NumberFormatOptionsStyle"},"Intl.NumberFormatOptionsCurrencyDisplay":{title:"Intl.NumberFormatOptionsCurrencyDisplay"},"Intl.NumberFormatOptionsUseGrouping":{type:"boolean",title:"Intl.NumberFormatOptionsUseGrouping"},WebChartDateTimeUnitFormatOptions:{type:"object",properties:{year:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},month:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},day:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},hour:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},minute:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},second:{$ref:"#/definitions/Intl.DateTimeFormatOptions"}},description:'Interface used by the axis `valueFormat` property to describe how to format specific date and time units when displayed on the axis. For instance: "year": { year: "numeric" } "month": { month: "numeric" } "day": { day: "2-digit" } "hour": { day: "numeric" } "minute": { minute: "numeric" } "second": { second: "numeric" } Reference: https://tc39.es/ecma402/#sec-datetimeformat-abstracts',title:"WebChartDateTimeUnitFormatOptions"},"Intl.DateTimeFormatOptions":{type:"object",properties:{localeMatcher:{type:"string",enum:["best fit","lookup"]},weekday:{type:"string",enum:["long","short","narrow"]},era:{type:"string",enum:["long","short","narrow"]},year:{type:"string",enum:["numeric","2-digit"]},month:{type:"string",enum:["numeric","2-digit","long","short","narrow"]},day:{type:"string",enum:["numeric","2-digit"]},hour:{type:"string",enum:["numeric","2-digit"]},minute:{type:"string",enum:["numeric","2-digit"]},second:{type:"string",enum:["numeric","2-digit"]},timeZoneName:{type:"string",enum:["short","long","shortOffset","longOffset","shortGeneric","longGeneric"]},formatMatcher:{type:"string",enum:["best fit","basic"]},hour12:{type:"boolean"},timeZone:{type:"string"}},title:"Intl.DateTimeFormatOptions"},DateTimeFormatOptions:{type:"object",properties:{type:{type:"string",const:"date",description:'Represents a unique string identifier for the NumberFormatOptions object. For NumberFormatOptions object, it is "date". It can help us to differentiate date-time axis from other types of axes viz., numeric (value) axis and category axis.'},intlOptions:{$ref:"#/definitions/Intl.DateTimeFormatOptions",description:"Represent the JS native [Intl.DateTimeFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormatt), which is based on [CLDR](http://cldr.unicode.org/translation/date-time-1/date-time-patterns) specifications."},formatPerDateTimeUnit:{$ref:"#/definitions/WebChartDateTimeUnitFormatOptions",description:"Represents how to format specific date and time units when displayed on the axis, independently from the `intlOptions`."}},required:["type","intlOptions"],description:"Defines how the DateTime axis data should be formatted.",title:"DateTimeFormatOptions"},CategoryFormatOptions:{type:"object",properties:{type:{type:"string",const:"category",description:'Represents a unique string identifier for the CategoryFormatOptions object. For CategoryFormatOptions object, it is "category". It can help us to differentiate category axis from other types of axes, viz., date-time axis and numeric (value) axis.'},characterLimit:{type:["number","null"],description:"Represents a positive integer which represents the limit on the number of characters to be displayed for all the category strings. The truncated string are appended with `...`. If property is not present or `null`, no truncation is done.",minimum:1,multipleOf:1}},required:["type"],description:"Defines how the category axis data (Categories) should be formatted.",title:"CategoryFormatOptions"},WebChartGuide:{type:"object",properties:{type:{type:"string",const:"chartGuide",description:'Represents a unique string identifier for the Guide object. For Guide class, it is "chartGuide".'},start:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"Determines the value where the guide should begin."},end:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"Determines the value where the guide should end. If it is not specified, we get a line guide, otherwise we get a fill/rectangular guide."},style:{anyOf:[{$ref:"#/definitions/ISimpleFillSymbol"},{$ref:"#/definitions/ISimpleLineSymbol"}],description:"Determines how the guide should be rendered. Line guide requires [esriSLS](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm) format, and fill guide requires [esriSFS](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm) format."},name:{type:"string",description:"A unique string identifier which is used to refer to a particular guide. It is displayed in the Chart Authoring UI to differentiate between different guides."},label:{$ref:"#/definitions/WebChartTextSymbol",description:"Defines a text label for the given guide. It is displayed on the chart next to the concerned guide and is styled using **esriTS** format."},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},above:{type:"boolean",description:"Determines whether the guide should be rendered on top of (overlapping) the series or under the series.",default:!1},tooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the guide's tooltip background (false) or its outline (true).",default:!1}},required:["type","start","style","name"],description:"JSON representation of the chart's guide object. Can be used to represent both line and fill guides.",title:"WebChartGuide"},ISimpleFillSymbol:{type:"object",properties:{type:{type:"string",const:"esriSFS"},style:{$ref:"#/definitions/SimpleFillSymbolStyle"},color:{$ref:"#/definitions/Color"},outline:{$ref:"#/definitions/ISimpleLineSymbol"}},required:["type"],title:"ISimpleFillSymbol"},SimpleFillSymbolStyle:{type:"string",enum:["esriSFSBackwardDiagonal","esriSFSCross","esriSFSDiagonalCross","esriSFSForwardDiagonal","esriSFSHorizontal","esriSFSNull","esriSFSSolid","esriSFSVertical"],title:"SimpleFillSymbolStyle"},WebChartAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},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."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."}},required:["type","valueFormat","labels"],description:"JSON representation of the chart's axis object",title:"WebChartAxis"},TimeIntervalInfo:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartTemporalBinningUnits"},size:{type:"number"}},title:"TimeIntervalInfo"},WebChartTemporalBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","quarters","years"],description:"The temporal binning units",title:"WebChartTemporalBinningUnits"},WebChartGaugeAxisTick:{type:"object",properties:{type:{type:"string",const:"gaugeAxisTick",description:'Represents a unique string identifier for the GaugeAxisTick object. For WebChartGaugeAxisTick object, it is "gaugeAxisTick".'},visible:{type:"boolean",description:"Determines the visibility of the axis ticks.",default:!0}},required:["type"],description:"JSON representation of the gauge axis ticks. Currently only used by WebChartGaugeAxis.",title:"WebChartGaugeAxisTick"},WebChartNeedle:{type:"object",properties:{type:{type:"string",const:"gaugeNeedle",description:'Represents a unique string identifier for the ChartNeedle object. For WebChartNeedle object, it is "gaugeNeedle".'},visible:{type:"boolean",description:"Hides or shows the needle.",default:!0},symbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the needle should be rendered"},startWidth:{type:["number","null"],description:"Represents the needle's thickness at the bottom (chart's center), in px",minimum:1,default:10},endWidth:{type:["number","null"],description:"Represents the needle's thickness at the top, in px",minimum:1,default:1},innerRadius:{type:["number","null"],description:"Represents the size of the hole in the middle of the chart. Can be visualized when guides are displayed.",minimum:0,maximum:100,default:25},displayPin:{type:"boolean",description:"Hides or shows the needle's pin (centroid circle)",default:!1}},required:["type"],description:"JSON representation of a gauge needle.",title:"WebChartNeedle"},WebChartGaugeAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},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."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."},innerLabel:{$ref:"#/definitions/WebChartText",description:"Specifies how the axis' inner label needs to be displayed"},needle:{$ref:"#/definitions/WebChartNeedle",description:"Specifies how the axis' needle needs to be displayed"},ticks:{$ref:"#/definitions/WebChartGaugeAxisTick",description:"Specifies how the axis' ticks need to be displayed"},labelsIncrement:{type:"number",description:"If a label has a value being a multiple of that property, it will be displayed. Otherwise it will be hidden.\n\nIf the property is `undefined` or 0, the chart will be displayed with 6 axis labels distributed evenly along the axis min and max.\n\nIf the property has a value that results in more than a set limit of axis labels (25 as defined in `ChartDefaults.gauge.maximumNumberOfLabelIntervals`) this property value will be ignored and the chart will be displayed with only axis min/max with 4 ticks in between.",default:"undefined"},onlyShowFirstAndLastLabels:{type:"boolean",description:"Specifies if only the first and last labels need to be displayed. If set to `true` all the other labels will be hidden. Their visibility still depends on the axis labels visibility (WebChartAxis.labels.visible).",default:!1},minimumValueConversion:{$ref:"#/definitions/ValueConversion",description:"Defines how to convert the axis minimum"},maximumValueConversion:{$ref:"#/definitions/ValueConversion",description:"Defines how to convert the axis maximum"},minimumFromField:{anyOf:[{$ref:"#/definitions/IStatisticDefinition"},{type:"string"}],description:"If used with a gauge by feature:\n- `minimumFromField` is expected to be a field name. The value from that field for the given feature is mapped to the axis minimum value If used with a statistic gauge:\n- If `minimumFromField` is set to a field name (string), the minimum from that field is mapped to the axis minimum value\n- If it is set to an `IStatisticDefinition` the statistic (min, max, avg...) from the given field is mapped to the axis minimum value When `minimumFromField` is not provided or when it leads to an invalid value, the `minimum` value from the axis config, if provided, or the default value of 0, in that order, will be used."},maximumFromField:{anyOf:[{$ref:"#/definitions/IStatisticDefinition"},{type:"string"}],description:"If used with a gauge by feature:\n- `maximumFromField` is expected to be a field name. The value from that field for the given feature is mapped to the axis maximum value If used with a statistic gauge:\n- If `maximumFromField` is set to a field name (string), the maximum from that field is mapped to the axis maximum value\n- If it is set to an `IStatisticDefinition` the statistic (min, max, avg...) from the given field is mapped to the axis maximum value When `maximumFromField` is not provided or when it leads to an invalid value, the `maximum` value from the axis config, if provided, or the default value of 0, in that order, will be used."}},required:["labels","type","valueFormat"],description:"JSON representation of the gauge chart's axis object. Inherits from the WebChartAxis properties.",title:"WebChartGaugeAxis"},IStatisticDefinition:{type:"object",properties:{statisticType:{type:"string",enum:["avg","centroid-aggregate","convex-hull-aggregate","count","envelope-aggregate","max","min","percentile-continuous","percentile-discrete","stddev","sum","var"],description:"Statistical operation to perform (count, sum, min, max, avg, stddev, var, percentile_cont, percentile_disc, EnvelopeAggregate, CentroidAggregate, ConvexHullAggregate)."},statisticParameters:{type:"object",properties:{value:{type:"number"},orderBy:{type:"string",enum:["asc","desc"]}},required:["value"],description:"Parameters to be used along with statisticType. Currently, only applicable for percentile-continuous (continuous percentile) and percentile-discrete (discrete percentile)."},onStatisticField:{type:"string",description:"Field on which to perform the statistical operation."},outStatisticFieldName:{type:"string",description:"Field name for the returned statistic field. If outStatisticFieldName is empty or missing, the server will assign one. A valid field name can only contain alphanumeric characters and an underscore. If the outStatisticFieldName is a reserved keyword of the underlying DBMS, the operation can fail. Try specifying an alternative outStatisticFieldName."}},required:["statisticType","onStatisticField"],title:"IStatisticDefinition"},WebChartRadarChartAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},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."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."},labelsOrientation:{$ref:"#/definitions/WebChartRadarChartAxisLabelsOrientation",description:"Defines the labels orientation",default:"WebChartRadarChartAxisLabelsOrientation.Circular"}},required:["labels","type","valueFormat"],description:"JSON representation of the radar chart's axis object.",title:"WebChartRadarChartAxis"},WebChartRadarChartAxisLabelsOrientation:{type:"string",enum:["radial","circular","horizontal"],description:"Labels orientation for radar chart axes.",title:"WebChartRadarChartAxisLabelsOrientation"},WebChartQuery:{type:"object",properties:{outFields:{type:"array",items:{type:"string"},description:"Attribute fields to include in the FeatureSet. Will have an effect on chart with no aggregation."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."},groupByFieldsForStatistics:{type:"array",items:{type:"string"},description:"An array of fields which determine how the base data is grouped. Only one **groupBy** Field is supported, but ArcGIS JSAPI [supports multiple groupBy fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#groupByFieldsForStatistics). While splitting by multiple group-by fields is possible, it is not being done because of the number of series it will give rise to (equal to the length of the Cartesian product set) possibly making the visualization hard to interpret.",maxItems:1},outStatistics:{type:"array",items:{$ref:"#/definitions/IStatisticDefinition"},description:"Represents an array of statistics definitions which dictate how a particular field should be aggregated. Refer to [JSAPI Statistics Definition class](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-StatisticDefinition.html) for more info."},orderByFields:{type:"array",items:{type:"string"},description:"Represents the sorting order of the output result. More info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending."},gdbVersion:{type:"string",description:"Specifies the geodatabase version to display for feature service queries."},geometry:{anyOf:[{$ref:"#/definitions/IEnvelope"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IPoint"},{$ref:"#/definitions/IPolygon"},{$ref:"#/definitions/IPolygonWithCurves"},{$ref:"#/definitions/IPolyline"}],description:"The geometry to apply to the spatial filter. A buffer can be applied to it by setting the properties `distance` and `units`."},spatialRelationship:{description:"For spatial filters, this parameter defines the spatial relationship to filter features in the layer view against the filter geometry."},distance:{type:"number",description:"Specifies a search distance for the `geometry`. To be associated with the `units` property. For compatible layers only."},units:{$ref:"#/definitions/RESTUnits",description:"The unit for calculating the buffer distance when `distance` and `geometry` are provided. If not specified, the unit is derived from the geometry spatial reference."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"A time extent ([timestamp, timestamp]) for a temporal query against time-aware layers."},start:{type:"number",description:"The zero-based index indicating where to begin retrieving features."},num:{type:"number",description:"The number of features to retrieve."},returnDistinctValues:{type:"boolean",description:"If true then the query returns distinct values based on the field(s) specified in outFields. Available for count-based aggregations only.",default:!1},fetchNullValues:{type:"boolean",description:"Indicates whether to fetch null values for them to be counted or displayed as categories on the chart.",default:!1},objectIds:{type:"array",items:{type:"number"},description:"An array of objectIds of the features to be filtered."}},description:"Chart query object inspired by [JSAPI Query](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html) class.",title:"WebChartQuery"},IEnvelope:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},xmin:{type:"number"},xmax:{type:"number"},ymin:{type:"number"},ymax:{type:"number"},zmin:{type:"number"},zmax:{type:"number"},mmin:{type:"number"},mmax:{type:"number"}},required:["xmin","xmax","ymin","ymax"],description:"An envelope is a rectangle defined by a range of values for each coordinate and attribute.",title:"IEnvelope"},IGeometry:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"}},description:'a building block for discrete geometries\n\n`IGeometry` can also be imported from the following packages:\n\n```js import { IGeometry } from "@esri/arcgis-rest-feature-layer"; ```',title:"IGeometry"},ISpatialReference:{type:"object",properties:{wkid:{type:["number","null"]},latestWkid:{type:"number"},vcsWkid:{type:"number"},latestVcsWkid:{type:"number"},wkt:{type:["string","null"]},latestWkt:{type:"string"}},description:'Spatial reference systems define mathematical transformations and coordinate systems for displaying spatial information in 2D and 3D.\n\n`ISpatialReference` can also be imported from the following packages:\n\n```js import { ISpatialReference } from "@esri/arcgis-rest-geocoding"; import { ISpatialReference } from "@esri/arcgis-rest-routing"; import { ISpatialReference } from "@esri/arcgis-rest-service-admin"; import { ISpatialReference } from "@esri/arcgis-rest-feature-layer"; ```',title:"ISpatialReference"},IExtent:{type:"object",properties:{xmin:{type:"number"},ymin:{type:"number"},zmin:{type:"number"},xmax:{type:"number"},ymax:{type:"number"},zmax:{type:"number"},spatialReference:{$ref:"#/definitions/ISpatialReference"}},required:["xmin","ymin","xmax","ymax"],description:'Extents are used to define rectangles and bounding boxes.\n\n`IExtent` can also be imported from the following packages:\n\n```js import { IExtent } from "@esri/arcgis-rest-geocoding"; import { IExtent } from "@esri/arcgis-rest-service-admin"; import { IExtent } from "@esri/arcgis-rest-feature-layer"; ```',title:"IExtent"},IPoint:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},x:{type:"number"},y:{type:"number"},z:{type:"number"}},required:["x","y"],description:'A simple point geometry, with spatial reference defined.\n\n`IPoint` can also be imported from the following packages:\n\n```js import { IPoint } from "@esri/arcgis-rest-routing"; import { IPoint } from "@esri/arcgis-rest-geocoding"; ```',title:"IPoint"},IHasZM:{type:"object",properties:{hasZ:{type:"boolean"},hasM:{type:"boolean"}},description:'`IHasZM` can also be imported from the following packages:\n\n```js import { IHasZM } from "@esri/arcgis-rest-feature-layer"; ```',title:"IHasZM"},IPolygon:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},rings:{type:"array",items:{type:"array",items:{$ref:"#/definitions/Position"}}}},required:["rings"],title:"IPolygon"},Position:{anyOf:[{$ref:"#/definitions/Position2D"},{type:"array",items:{type:"number"},minItems:4,maxItems:4},{type:"array",items:{type:"number"},minItems:3,maxItems:3}],title:"Position"},Position2D:{type:"array",items:{type:"number"},minItems:2,maxItems:2,title:"Position2D"},IPolygonWithCurves:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},curveRings:{type:"array",items:{type:"array",items:{anyOf:[{$ref:"#/definitions/JsonCurve"},{$ref:"#/definitions/Position"}]}}}},required:["curveRings"],title:"IPolygonWithCurves"},JsonCurve:{anyOf:[{$ref:"#/definitions/IArc"},{$ref:"#/definitions/IBezierCurve"},{$ref:"#/definitions/ICircularArc"},{$ref:"#/definitions/IOldCircularArc"}],title:"JsonCurve"},IArc:{type:"object",properties:{a:{type:"array",minItems:7,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{type:"number"},{type:"number"},{type:"number"},{type:"number"},{type:"number"}],maxItems:7}},required:["a"],description:"an arc can be represented as a JSON curve object",title:"IArc"},IBezierCurve:{type:"object",properties:{b:{type:"array",minItems:3,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{$ref:"#/definitions/Position2D"}],maxItems:3}},required:["b"],description:"a bezier curve can be represented as a JSON curve object",title:"IBezierCurve"},ICircularArc:{type:"object",properties:{c:{type:"array",minItems:2,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"}],maxItems:2}},required:["c"],description:"a circular arc can be represented as a JSON curve object",title:"ICircularArc"},IOldCircularArc:{type:"object",properties:{a:{type:"array",minItems:4,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{type:"number"},{type:"number"}],maxItems:4}},required:["a"],title:"IOldCircularArc"},IPolyline:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},paths:{type:"array",items:{type:"array",items:{$ref:"#/definitions/Position"}}}},required:["paths"],title:"IPolyline"},RESTUnits:{type:"string",enum:["feet","miles","nautical-miles","us-nautical-miles","meters","kilometers"],title:"RESTUnits"},WebChartSeriesQuery:{$ref:"#/definitions/Omit%3CWebChartQuery%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22num%22%7C%22objectIds%22%7C%22orderByFields%22%7C%22spatialRelationship%22%7C%22start%22%7C%22timeExtent%22%7C%22units%22)%3E",description:"Subset of the WebChartQuery, used at the series level",title:"WebChartSeriesQuery"},'Omit<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>':{$ref:"#/definitions/Pick%3CWebChartQuery%2CExclude%3C(%22outFields%22%7C%22where%22%7C%22groupByFieldsForStatistics%22%7C%22outStatistics%22%7C%22orderByFields%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22spatialRelationship%22%7C%22distance%22%7C%22units%22%7C%22timeExtent%22%7C%22start%22%7C%22num%22%7C%22returnDistinctValues%22%7C%22fetchNullValues%22%7C%22objectIds%22%7Cstring)%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22num%22%7C%22objectIds%22%7C%22orderByFields%22%7C%22spatialRelationship%22%7C%22start%22%7C%22timeExtent%22%7C%22units%22)%3E%3E",title:'Omit<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>'},'Pick<WebChartQuery,Exclude<("outFields"|"where"|"groupByFieldsForStatistics"|"outStatistics"|"orderByFields"|"gdbVersion"|"geometry"|"spatialRelationship"|"distance"|"units"|"timeExtent"|"start"|"num"|"returnDistinctValues"|"fetchNullValues"|"objectIds"|string),("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>>':{type:"object",properties:{outFields:{type:"array",items:{type:"string"},description:"Attribute fields to include in the FeatureSet. Will have an effect on chart with no aggregation."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."},groupByFieldsForStatistics:{type:"array",items:{type:"string"},description:"An array of fields which determine how the base data is grouped. Only one **groupBy** Field is supported, but ArcGIS JSAPI [supports multiple groupBy fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#groupByFieldsForStatistics). While splitting by multiple group-by fields is possible, it is not being done because of the number of series it will give rise to (equal to the length of the Cartesian product set) possibly making the visualization hard to interpret.",maxItems:1},outStatistics:{type:"array",items:{$ref:"#/definitions/IStatisticDefinition"},description:"Represents an array of statistics definitions which dictate how a particular field should be aggregated. Refer to [JSAPI Statistics Definition class](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-StatisticDefinition.html) for more info."},returnDistinctValues:{type:"boolean",description:"If true then the query returns distinct values based on the field(s) specified in outFields. Available for count-based aggregations only.",default:!1},fetchNullValues:{type:"boolean",description:"Indicates whether to fetch null values for them to be counted or displayed as categories on the chart.",default:!1}},title:'Pick<WebChartQuery,Exclude<("outFields"|"where"|"groupByFieldsForStatistics"|"outStatistics"|"orderByFields"|"gdbVersion"|"geometry"|"spatialRelationship"|"distance"|"units"|"timeExtent"|"start"|"num"|"returnDistinctValues"|"fetchNullValues"|"objectIds"|string),("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>>'},WebChartDataFilters:{$ref:"#/definitions/Pick%3CWebChartQuery%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22objectIds%22%7C%22spatialRelationship%22%7C%22timeExtent%22%7C%22units%22%7C%22where%22)%3E",description:"JSON representation of filters applied to the data",title:"WebChartDataFilters"},'Pick<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"objectIds"|"spatialRelationship"|"timeExtent"|"units"|"where")>':{type:"object",properties:{distance:{type:"number",description:"Specifies a search distance for the `geometry`. To be associated with the `units` property. For compatible layers only."},gdbVersion:{type:"string",description:"Specifies the geodatabase version to display for feature service queries."},geometry:{anyOf:[{$ref:"#/definitions/IEnvelope"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IPoint"},{$ref:"#/definitions/IPolygon"},{$ref:"#/definitions/IPolygonWithCurves"},{$ref:"#/definitions/IPolyline"}],description:"The geometry to apply to the spatial filter. A buffer can be applied to it by setting the properties `distance` and `units`."},objectIds:{type:"array",items:{type:"number"},description:"An array of objectIds of the features to be filtered."},spatialRelationship:{description:"For spatial filters, this parameter defines the spatial relationship to filter features in the layer view against the filter geometry."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"A time extent ([timestamp, timestamp]) for a temporal query against time-aware layers."},units:{$ref:"#/definitions/RESTUnits",description:"The unit for calculating the buffer distance when `distance` and `geometry` are provided. If not specified, the unit is derived from the geometry spatial reference."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."}},title:'Pick<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"objectIds"|"spatialRelationship"|"timeExtent"|"units"|"where")>'},WebChartSeries:{type:"object",properties:{type:{type:"string"},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1}},required:["type","id","name","x"],description:"JSON representation of the chart's series object. All other series extends this interface.",title:"WebChartSeries"},WebChartCalendarDatePartsBinning:{type:"object",properties:{trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},start:{type:"number",description:"The binning start date. Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},end:{type:"number",description:"The binning end date Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},offset:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartTemporalBinningUnits"},size:{type:"number"}},required:["unit","size"],description:"Offset to apply to the results Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},unit:{$ref:"#/definitions/WebChartCalendarDatePartsUnits",description:"Represents the unit to use to bin the data."}},required:["unit"],title:"WebChartCalendarDatePartsBinning"},WebChartTemporalBinningBase:{type:"object",properties:{trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},start:{type:"number",description:"The binning start date. Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},end:{type:"number",description:"The binning end date Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},offset:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartTemporalBinningUnits"},size:{type:"number"}},required:["unit","size"],description:"Offset to apply to the results Current limitation: this is applied only when the provided layer supports the `queryBins` operation."}},description:"Describes the basic properties available for a temporal binning",title:"WebChartTemporalBinningBase"},WebChartCalendarDatePartsUnits:{type:"string",enum:["dayOfMonth","dayOfWeek","dayOfYear","hourOfDay","monthOfYear","minuteOfDay","weekOfYear","quarterOfYear"],description:"Represents the units that can be used for calendar-based date parts binning.",title:"WebChartCalendarDatePartsUnits"},WebChartTemporalBinning:{type:"object",properties:{outTimeZone:{type:"string",description:"Defines the [IANA time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) used for temporal bin calculations Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},firstDayOfWeek:{type:"number",description:"The first day of the week. This property is used to determine the start of the week for date-based bins. The default value depends on the user locale (e.g. 7 as Sunday for a USA user, 1 as Monday for a French one). Current limitation: this is applied only when the provided layer supports the `queryBins` operation.",minimum:1,maximum:7,multipleOf:1},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"},trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},start:{type:"number",description:"The binning start date. Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},end:{type:"number",description:"The binning end date Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},offset:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartTemporalBinningUnits"},size:{type:"number"}},required:["unit","size"],description:"Offset to apply to the results Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},unit:{$ref:"#/definitions/WebChartTemporalBinningUnits",description:'The unit of time to use to bin the temporal data. Current limitation: the "quarters" unit is only supported if the provided layer supports the `queryBins` operation.'},size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`. When specific the binning will start at the first or last date of the dataset.",default:"equalIntervalsFromStartTime"}},description:"Describes the properties available for a temporal binning for a bar or line",title:"WebChartTemporalBinning"},WebChartTemporalBinningExtras:{type:"object",properties:{outTimeZone:{type:"string",description:"Defines the [IANA time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) used for temporal bin calculations Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},firstDayOfWeek:{type:"number",description:"The first day of the week. This property is used to determine the start of the week for date-based bins. The default value depends on the user locale (e.g. 7 as Sunday for a USA user, 1 as Monday for a French one). Current limitation: this is applied only when the provided layer supports the `queryBins` operation.",minimum:1,maximum:7,multipleOf:1},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"}},description:"Describes the extra properties available for a temporal series and for the heat chart",title:"WebChartTemporalBinningExtras"},WebChartNullPolicyTypes:{type:"string",enum:["null","zero","interpolate"],description:"Represents the different types of null policy that can be applied to a chart using the time binning feature.",title:"WebChartNullPolicyTypes"},WebChartTimeAggregationTypes:{type:"string",enum:["equalIntervalsFromStartTime","equalIntervalsFromEndTime"],description:"Represents the different types of time aggregation that can be applied to a chart using the time binning feature.",title:"WebChartTimeAggregationTypes"},WebChartTemporalSeries:{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{$ref:"#/definitions/WebChartTemporalBinning",description:"Describes how to bin the temporal data."}},description:"Describes the properties related to a temporal series",title:"WebChartTemporalSeries"},WebChartBarChartSeries:{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{$ref:"#/definitions/WebChartTemporalBinning",description:"Describes how to bin the temporal data."},type:{type:"string",const:"barSeries",description:'Represents a unique string identifier for the BarChartSeries object. For BarSeries object, it is "barSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the columns/bars should be rendered"},hideOversizedStackedLabels:{type:"boolean",description:"When true or undefined (default), the labels displayed within a small stacked column are hidden to avoid cluttering. When false, all the data labels are displayed.",default:!0},hideOversizedSideBySideLabels:{type:"boolean",description:"When true, the labels displayed within a small column for sideBySide bar series are hidden to avoid cluttering. When false or undefined (default), all the data labels are displayed.",default:!1}},required:["id","name","type","x","y"],description:"[Bar chart](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/bar-chart.htm) shows the categorical distribution of String/DateTime data.",title:"WebChartBarChartSeries"},HistogramOverlays:{type:"object",properties:{type:{type:"string",const:"chartOverlays",description:'Represents a unique string identifier for the HistogramOverlays object. For HistogramOverlays object, it is "chartOverlays".'},mean:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the mean overlay for histogram. If not provided, the mean overlay is not displayed."},median:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the median overlay for histogram. If not provided, the median overlay is not displayed."},standardDeviation:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the standard deviation overlay for histogram. If not provided, the standard deviation overlay is not displayed."},comparisonDistribution:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the comparison distribution overlay for histogram. If not provided, the comparison distribution overlay is not displayed."}},required:["type"],description:"Object containing Histogram overlays",title:"HistogramOverlays"},WebChartHistogramSeries:{type:"object",properties:{type:{type:"string",const:"histogramSeries",description:'Represents a unique string identifier for the HistogramSeries object. For BarSeries object, it is "histogramSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},binCount:{type:["number","null"],description:"Bin count must be a positive integer.",minimum:1,multipleOf:1,default:32},overlays:{$ref:"#/definitions/HistogramOverlays",description:"Specifies the chart overlays. Histogram supports 4 overlays: **mean**, **median**, **standardDeviation** and **comparisonDistribution**. The overlays won't show if the property is not defined."},dataTransformationType:{$ref:"#/definitions/WebChartDataTransformations",description:"Specifies how the data should be transformed (e.g. square root, log, etc.) before binning."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the columns/bars should be rendered"}},required:["id","name","type","x"],description:"[Histogram](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/histogram.htm) shows the numerical(frequency) distribution of a numerical field.",title:"WebChartHistogramSeries"},WebChartDataTransformations:{type:"string",enum:["none","logarithmic","squareRoot"],title:"WebChartDataTransformations"},ScatterplotOverlays:{type:"object",properties:{type:{type:"string",const:"chartOverlays",description:'Represents a unique string identifier for the ScatterplotOverlays object. For ScatterplotOverlays object, it is "chartOverlays".'},trendLine:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the trendline overlay for scatter plot. The trendline won't show if the property is not defined."}},required:["type"],description:"Object containing Scatter Plot overlays",title:"ScatterplotOverlays"},SizePolicy:{type:"object",properties:{type:{type:"string",const:"sizeScale",description:'Represents a unique string identifier for the sizePolicy object. For sizePolicy object, it is "sizeScale".'},scaleType:{$ref:"#/definitions/SizePolicyScaleTypes",description:"The type of scale to apply to the markers (linear or logarithmic)",default:"SizePolicyScaleTypes.Linear"},field:{type:"string",description:"The field which determines the markers size"},minSize:{type:"number",description:"The minimum marker size",default:5,multipleOf:1},maxSize:{type:"number",description:"The maximum marker size",default:30,multipleOf:1}},required:["type","field"],title:"SizePolicy"},SizePolicyScaleTypes:{type:"string",enum:["linear","logarithmic"],description:"Represents the types of scales that can be applied to the size policy. Use by bubble charts (scatterplot).",title:"SizePolicyScaleTypes"},WebChartScatterplotSeries:{type:"object",properties:{type:{type:"string",const:"scatterSeries",description:'Represents a unique string identifier for the ScatterSeries object. For ScatterSeries object, it is "scatterSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},markerSymbol:{$ref:"#/definitions/ISimpleMarkerSymbol",description:'Specifies how each data point in the scatter plot should be rendered. The type is `"esriSMS"` and it is adopted from the [REST API Types](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm#GUID-C8D40B32-5F4B-45EB-8048-6D5A8763E13B).'},overlays:{$ref:"#/definitions/ScatterplotOverlays",description:"Specifies all the chart overlays. The scatter plot implements only 1 overlay, **trendLine**. The overlays won't show if the property is not defined."},sizePolicy:{$ref:"#/definitions/SizePolicy",description:"Specifies rules to use the scatter plot as bubble plot, by changing dynamically the markers size according to a specific field value"},additionalTooltipFields:{type:"array",items:{type:"string"},description:"Specifies the additional numeric fields in the tooltip."}},required:["id","name","type","x","y"],description:"[Scatter plot](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/scatter-plot.htm) shows the relationship between two numerical fields.",title:"WebChartScatterplotSeries"},ISimpleMarkerSymbol:{type:"object",properties:{type:{type:"string",const:"esriSMS"},style:{$ref:"#/definitions/SimpleMarkerSymbolStyle"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},color:{$ref:"#/definitions/Color"},size:{type:"number"},outline:{$ref:"#/definitions/ISimpleLineSymbol"}},required:["type"],title:"ISimpleMarkerSymbol"},IMarkerSymbol:{type:"object",properties:{type:{$ref:"#/definitions/SymbolType"},style:{type:"string"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"}},required:["type"],title:"IMarkerSymbol"},SimpleMarkerSymbolStyle:{type:"string",enum:["esriSMSCircle","esriSMSCross","esriSMSDiamond","esriSMSSquare","esriSMSTriangle","esriSMSX"],title:"SimpleMarkerSymbolStyle"},WebChartPieChartTick:{type:"object",properties:{type:{type:"string",const:"pieTick",description:'Represents a unique string identifier for the WebChartPieChartTick object. For PieTick object, it is "pieTick".'},visible:{type:"boolean",description:"Determines the visibility of the tick. Assigning the `true` value will only be considered when the data labels are visible (`series.dataLabels.visible`) and when the data label associated to the tick is outside of the chart (`series.dataLabelsOffset` > 0)."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the pie chart ticks should be rendered"}},required:["type"],description:"JSON representation of the pie ticks.",title:"WebChartPieChartTick"},WebChartPieChartSlice:{type:"object",properties:{sliceId:{type:"string",description:"A unique string used identify the slice of a pie chart."},originalLabel:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"The slice's original label."},label:{type:"string",description:"Custom label for the slice. For grouped slice, the default value is `Other`. For regular slice, it will be either the category or field name."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slice should be rendered. If not provided, the slice will be styled with default values."}},required:["sliceId"],description:"JSON representation of the pie slices",title:"WebChartPieChartSlice"},WebChartPieChartGroupSlice:{type:"object",properties:{sliceId:{type:"string",description:"A unique string used identify the slice of a pie chart."},originalLabel:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"The slice's original label."},label:{type:"string",description:"Custom label for the slice. For grouped slice, the default value is `Other`. For regular slice, it will be either the category or field name."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slice should be rendered. If not provided, the slice will be styled with default values."},percentageThreshold:{type:"number",description:"Slices that have a percent value equal or lesser to this threshold are grouped into a unique slice"},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the grouped slice data labels should be rendered. If the property is not set the `series.dataLabels` will be used instead."}},required:["percentageThreshold","sliceId"],description:"JSON representation of the pie grouped slice",title:"WebChartPieChartGroupSlice"},WebChartPieChartSeries:{type:"object",properties:{type:{type:"string",const:"pieSeries",description:'Represents a unique string identifier for the PieSeries object. For PieSeries object, it is "pieSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},innerRadius:{type:["number","null"],description:"Represents the size of the hole in middle of the chart. The number is used as a percentage rather than a fixed value.",minimum:0,maximum:100,default:50},startAngle:{type:["number","null"],default:-90},endAngle:{type:["number","null"],default:270},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slices should be rendered"},displayCategoryOnDataLabel:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed on its data label. This property will be ignored if the chart options `dataLabelFormatter` is provided.",default:!0},displayNumericValueOnDataLabel:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed on its data label. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`. This property will be ignored if the chart options `dataLabelFormatter` is provided.",default:!0},displayPercentageOnDataLabel:{type:"boolean",description:"Indicates whether the percentage associated to a slice is to be displayed on its data label. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `dataLabelFormatter` is provided.",default:!1},displayCategoryOnTooltip:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed on its tooltip. This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},displayNumericValueOnTooltip:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed on its tooltip. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},displayPercentageOnTooltip:{type:"boolean",description:"Indicates whether the percentage associated to a slice is to be displayed on its tooltip. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},numericValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Specifies how the numerical values should be formatted (applied to label, tooltip and legend). Can be overridden for the tooltips by series.dataTooltipValueFormat."},percentValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Specifies how the percent values should be formatted (applied to label, tooltip and legend) Can be overridden for the tooltips by series.dataTooltipPercentFormat."},valuePrefix:{type:"string",description:"Adds a prefix to all the values displayed on the pie chart: data labels, tooltips and legend"},valueSuffix:{type:"string",description:"Adds a suffix to all the values displayed on the pie chart: data labels, tooltips and legend"},percentagePrefix:{type:"string",description:"Adds a prefix to all the percentages displayed on the pie chart: data labels, tooltips and legend"},percentageSuffix:{type:"string",description:"Adds a suffix to all the percentages displayed on the pie chart: data labels, tooltips and legend"},dataLabelsCharacterLimit:{type:["number","null"],description:'If set, the category on the data label is truncated to display only `characterLimit` characters, and an ellipsis ("...") is added to the end of the label. This does not affect the value and percentage part of the labels. Does not apply to tooltips and legend labels.',default:"undefined",minimum:1,multipleOf:1},ticks:{$ref:"#/definitions/WebChartPieChartTick",description:"Specifies how to render the ticks shown on each slide. Ticks will be displayed with default values if not provided."},dataLabelsInside:{type:"boolean",description:`Whether to place the data labels inside the pie slices. When set to \`true\` the following properties will be ignored:
|
|
6
6
|
- dataLabelsOffset
|
|
7
7
|
- alignDataLabels
|
|
8
8
|
- optimizeDataLabelsOverlapping`,default:!1},dataLabelsOffset:{type:"number",description:"Determines in pixel how far the data labels should be placed from their slice. If a negative value is provided the label will be placed inside of the chart. Ignored when `dataLabelsInside` is set to `true`.",default:10},alignDataLabels:{type:"boolean",description:"Aligns labels into columns to make them more readable and avoid them to overlap each other. Ignored when `dataLabelsInside` is set to `true`.",default:!1},optimizeDataLabelsOverlapping:{type:"boolean",description:"Optimizes the data labels rendering to avoid them to be cut off on the edges or to overlap the legend by wrapping them and adding padding to the chart. Ignored when `dataLabelsInside` is set to `true`.",default:!1},sliceGrouping:{$ref:"#/definitions/WebChartPieChartGroupSlice",description:"Specifies if and how the slices under a given percentage threshold are grouped into a unique slice"},slices:{type:"array",items:{$ref:"#/definitions/WebChartPieChartSlice"},description:`An array of WebChartPieChartSlice representing the ids, labels and styles of the pie slices.
|
|
9
9
|
|
|
10
|
-
When this property is not defined, or when a pie slice does not have a matching slice in this array, the series' fillSymbol will be used. If the series' fillSymbol does not contain color information, colors from the color ramps will be utilized.`}},required:["id","name","type","x","y"],description:"JSON representation of the Pie Chart series",title:"WebChartPieChartSeries"},WebChartGaugeSeries:{type:"object",properties:{type:{type:"string",const:"gaugeSeries",description:'Represents a unique string identifier for the GaugeSeries object. For GaugeSeries object, it is "gaugeSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},valueConversion:{$ref:"#/definitions/ValueConversion",description:"Defines the conversion to apply to the gauge value"},featureIndex:{type:"number",description:"Specifies the index of the feature to be rendered. This property will be ignored for a statistic gauge (indicated via `WebGaugeChart.subType` property). For feature-based gauge, if this property is not present, the first feature will be used (featureIndex = 0)"}},required:["id","name","type","x"],description:"JSON representation of the `Gauge` series",title:"WebChartGaugeSeries"},WebChartLineChartSeries:{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{$ref:"#/definitions/WebChartTemporalBinning",description:"Describes how to bin the temporal data."},type:{type:"string",const:"lineSeries",description:'Represents a unique string identifier for the LineSeries object. For LineSeries object, it is "lineSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{anyOf:[{type:"array",items:{type:"string"}},{type:"string"}],description:"Specifies the numeric field(s) used by the series. The array type is useful when used for a box plot."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the line/line segments should be rendered"},lineSmoothed:{type:"boolean",description:"Specifies whether line segments should be smoothed.",default:!1},showArea:{type:"boolean",description:"Indicates whether line series show area.",default:!1},markerVisible:{type:"boolean",description:"Indicates whether to show or hide the markers/bullets of the line series.",default:!0},markerSymbol:{$ref:"#/definitions/ISimpleMarkerSymbol",description:"Contains styling info on how the marker should be rendered"},areaColor:{$ref:"#/definitions/Color",description:"Specifies the color of the filled area for line chart. areaColor will be applied only if showArea is true, and is defaulted to the line color if not provided."},stackNegativeValuesToBaseline:{type:"boolean",description:"Specifies how negative values are treated in stacked series. If true, negative values will be stacked on the base line. If false, negative values will be stacked in relation to their previous values in the stack.",default:!0},connectLines:{type:"boolean",description:"Whether to connect the lines when there's a gap in the data. Can be overridden by the temporal data setting `nullPolicy`.",default:!0}},required:["id","name","type","x","y"],description:"JSON representation of the Line Chart series",title:"WebChartLineChartSeries"},WebChartBoxPlotSeries:{type:"object",properties:{type:{type:"string",const:"boxPlotSeries"},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{anyOf:[{type:"array",items:{type:"string"}},{type:"string"}],description:"Specifies the numeric field(s) used by the box plot series."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the box and whiskers should be rendered. The whiskers use the fillSymbol.outline."}},required:["id","name","type","x","y"],description:"JSON representation of the Box plot series",title:"WebChartBoxPlotSeries"},WebChartHeatChartGradient:{type:"object",properties:{colorList:{type:"array",items:{$ref:"#/definitions/Color"},minItems:2,maxItems:2,description:"An array of 2 colors to use for the gradient. The first color represents the minimum value, the second color represents the maximum value."},minValue:{type:"number",description:"Specifies the custom minimum value for the heat chart. If none is provided, the minimum value from the dataset will be used."},maxValue:{type:"number",description:"Specifies the custom maximum value for the heat chart. If none is provided, the maximum value from the dataset will be used."},outsideRangeLowerColor:{$ref:"#/definitions/Color",description:"Specifies the color to use for the items outside the lower range specified by minValue. If none is provided, the default color will be used.",default:"[250, 250, 250, 255] - white"},outsideRangeUpperColor:{$ref:"#/definitions/Color",description:"Specifies the color to use for the items outside the upper range specified by maxValue. If none is provided, the default color will be used.",default:"[0, 0, 255, 255] - blue"}},description:"JSON representation of the Heat chart - gradient type specific",title:"WebChartHeatChartGradient"},WebChartHeatChartSeries:{type:"object",properties:{type:{type:"string",const:"heatSeries"},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},xTemporalBinning:{$ref:"#/definitions/WebChartCalendarDatePartsBinning",description:"Describes how to bin the temporal data when the x-axis field is a date."},yTemporalBinning:{$ref:"#/definitions/WebChartCalendarDatePartsBinning",description:"Describes how to bin the temporal data when the y-axis field is a date."},heatRuleType:{$ref:"#/definitions/WebChartHeatChartHeatRulesTypes",description:"Defines the type of rule to apply for the heat chart.",default:"WebChartHeatChartHeatRulesTypes.Gradient"},gradientRules:{$ref:"#/definitions/WebChartHeatChartGradient",description:"Specifies the details of the gradient rules for the heat chart."},noData:{type:"object",properties:{text:{type:"string",description:"Specifies the text to use for the item with no data. If none is provided, the default `null` text will be used.",default:"`null`"},color:{$ref:"#/definitions/Color",description:"Specifies the color to use for the item with no data. If none is provided, the default color will be used.",default:"[150, 150, 150, 255] - light gray"}},description:"Specifies how to display items with no data, in term of text and color."}},required:["id","name","type","x","y"],description:"JSON representation of the Heat chart series",title:"WebChartHeatChartSeries"},WebChartHeatChartHeatRulesTypes:{type:"string",const:"gradient",description:"Represents the different types of heat rule that can be applied to a heat chart.",title:"WebChartHeatChartHeatRulesTypes"},WebChartRadarChartSeries:{$ref:"#/definitions/WebChartLineChartSeries%3C%22radarSeries%22%3E",title:"WebChartRadarChartSeries"},'WebChartLineChartSeries<"radarSeries">':{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{$ref:"#/definitions/WebChartTemporalBinning",description:"Describes how to bin the temporal data."},type:{type:"string",const:"radarSeries",description:'Represents a unique string identifier for the LineSeries object. For LineSeries object, it is "lineSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{anyOf:[{type:"array",items:{type:"string"}},{type:"string"}],description:"Specifies the numeric field(s) used by the series. The array type is useful when used for a box plot."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the line/line segments should be rendered"},lineSmoothed:{type:"boolean",description:"Specifies whether line segments should be smoothed.",default:!1},showArea:{type:"boolean",description:"Indicates whether line series show area.",default:!1},markerVisible:{type:"boolean",description:"Indicates whether to show or hide the markers/bullets of the line series.",default:!0},markerSymbol:{$ref:"#/definitions/ISimpleMarkerSymbol",description:"Contains styling info on how the marker should be rendered"},areaColor:{$ref:"#/definitions/Color",description:"Specifies the color of the filled area for line chart. areaColor will be applied only if showArea is true, and is defaulted to the line color if not provided."},stackNegativeValuesToBaseline:{type:"boolean",description:"Specifies how negative values are treated in stacked series. If true, negative values will be stacked on the base line. If false, negative values will be stacked in relation to their previous values in the stack.",default:!0},connectLines:{type:"boolean",description:"Whether to connect the lines when there's a gap in the data. Can be overridden by the temporal data setting `nullPolicy`.",default:!0}},required:["id","name","type","x","y"],description:"JSON representation of the Line Chart series",title:'WebChartLineChartSeries<"radarSeries">'},WebChartSeriesType:{anyOf:[{$ref:"#/definitions/WebChartBarChartSeries"},{$ref:"#/definitions/WebChartBoxPlotSeries"},{$ref:"#/definitions/WebChartGaugeSeries"},{$ref:"#/definitions/WebChartHeatChartSeries"},{$ref:"#/definitions/WebChartHistogramSeries"},{$ref:"#/definitions/WebChartLineChartSeries"},{$ref:"#/definitions/WebChartPieChartSeries"},{$ref:"#/definitions/WebChartRadarChartSeries"},{$ref:"#/definitions/WebChartScatterplotSeries"}],description:"Type containing all the series types available",title:"WebChartSeriesType"},WebChart:{type:"object",properties:{version:{type:"string",const:"24.1.0",description:"Version of the specification. Used to identify when a saved config was created."},type:{type:"string",const:"chart",description:"Represents a unique string identifier for the Chart object. For Chart object, it is **chart**."},id:{type:"string",description:"Can be used to uniquely identify a chart. The consumer app can choose whether to use it or not."},iLayer:{$ref:"#/definitions/IFeatureLayer",description:"Property representing the layer to be used by the chart. If not provided we expect a layer object to be set on the component."},dataFilters:{$ref:"#/definitions/WebChartDataFilters",description:"Used to filter the chart's data while in Layer mode."},title:{$ref:"#/definitions/WebChartText",description:"Specifies heading/title of the chart."},subtitle:{$ref:"#/definitions/WebChartText",description:"Specifies sub-heading/subtitle of the chart."},footer:{$ref:"#/definitions/WebChartText",description:"Specifies footer of the chart"},background:{$ref:"#/definitions/Color",description:"Specifies the background color of the chart.",default:[255,255,255,255]},cursorCrosshair:{$ref:"#/definitions/WebChartCursorCrosshair",description:"Specifies cursor's crosshair information for the chart. Only for XY charts."},legend:{anyOf:[{$ref:"#/definitions/WebChartLegend"},{$ref:"#/definitions/WebChartPieChartLegend"}],description:"Specifies the Legend information for the chart."},axes:{type:"array",items:{$ref:"#/definitions/WebChartAxis"},minItems:1,maxItems:3,description:"Represents an array of **at least 1 or at most 3** Chart Axis accompanying the chart. The axes property is optional because Pie chart does not use any axis. The third axis config is used when a series `assignToSecondValueAxis` is set to `true`. Some of the axis features won't apply to the third axis (e.g. labels behaviors)."},horizontalAxisLabelsBehavior:{$ref:"#/definitions/WebChartLabelBehavior",description:`Represents the way the labels should behave when the horizontal axis can't display them all. The available options are: "none", "rotate", "stagger" and "wrap". For XY Chart only. Histogram can handle "none" and "rotate" only. The default value for the horizontal axis is "rotate" except for Histogram, where the default is none.`,default:"rotate"},verticalAxisLabelsBehavior:{$ref:"#/definitions/WebChartLabelBehavior",description:`Represents the way the labels should behave when the vertical axis can't display them all. For XY Chart only. The available options are: "none" and "wrap". The default value for the vertical axis is "wrap".`,default:"wrap"},series:{type:"array",items:{$ref:"#/definitions/WebChartSeriesType"},description:"Represents an array of various chart series to be plot inside the chart. Empty array is not allowed.",minItems:1},rotated:{type:"boolean",description:"Specifies whether or not the chart is rotated. Applied to Bar, Line, and Combo Bar and Line charts.",default:!1},stackedType:{$ref:"#/definitions/WebChartStackedKinds",description:`Specifies how the bars/lines should be placed when multiple series are rendered in the same chart, say when "split by" operation is executed on any field or when multiple attributes/fields corresponding to the same set of classes are to be visualized.
|
|
10
|
+
When this property is not defined, or when a pie slice does not have a matching slice in this array, the series' fillSymbol will be used. If the series' fillSymbol does not contain color information, colors from the color ramps will be utilized.`}},required:["id","name","type","x","y"],description:"JSON representation of the Pie Chart series",title:"WebChartPieChartSeries"},WebChartGaugeSeries:{type:"object",properties:{type:{type:"string",const:"gaugeSeries",description:'Represents a unique string identifier for the GaugeSeries object. For GaugeSeries object, it is "gaugeSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},valueConversion:{$ref:"#/definitions/ValueConversion",description:"Defines the conversion to apply to the gauge value"},featureIndex:{type:"number",description:"Specifies the index of the feature to be rendered. This property will be ignored for a statistic gauge (indicated via `WebGaugeChart.subType` property). For feature-based gauge, if this property is not present, the first feature will be used (featureIndex = 0)"}},required:["id","name","type","x"],description:"JSON representation of the `Gauge` series",title:"WebChartGaugeSeries"},WebChartLineChartSeries:{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{$ref:"#/definitions/WebChartTemporalBinning",description:"Describes how to bin the temporal data."},type:{type:"string",const:"lineSeries",description:'Represents a unique string identifier for the LineSeries object. For LineSeries object, it is "lineSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{anyOf:[{type:"array",items:{type:"string"}},{type:"string"}],description:"Specifies the numeric field(s) used by the series. The array type is useful when used for a box plot."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the line/line segments should be rendered"},lineSmoothed:{type:"boolean",description:"Specifies whether line segments should be smoothed.",default:!1},showArea:{type:"boolean",description:"Indicates whether line series show area.",default:!1},markerVisible:{type:"boolean",description:"Indicates whether to show or hide the markers/bullets of the line series.",default:!0},markerSymbol:{$ref:"#/definitions/ISimpleMarkerSymbol",description:"Contains styling info on how the marker should be rendered"},areaColor:{$ref:"#/definitions/Color",description:"Specifies the color of the filled area for line chart. areaColor will be applied only if showArea is true, and is defaulted to the line color if not provided."},stackNegativeValuesToBaseline:{type:"boolean",description:"Specifies how negative values are treated in stacked series. If true, negative values will be stacked on the base line. If false, negative values will be stacked in relation to their previous values in the stack.",default:!0},connectLines:{type:"boolean",description:"Whether to connect the lines when there's a gap in the data. Can be overridden by the temporal data setting `nullPolicy`.",default:!0}},required:["id","name","type","x","y"],description:"JSON representation of the Line Chart series",title:"WebChartLineChartSeries"},WebChartBoxPlotSeries:{type:"object",properties:{type:{type:"string",const:"boxPlotSeries"},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{anyOf:[{type:"array",items:{type:"string"}},{type:"string"}],description:"Specifies the numeric field(s) used by the box plot series."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the box and whiskers should be rendered. The whiskers use the fillSymbol.outline."}},required:["id","name","type","x","y"],description:"JSON representation of the Box plot series",title:"WebChartBoxPlotSeries"},WebChartHeatChartGradient:{type:"object",properties:{colorList:{type:"array",items:{$ref:"#/definitions/Color"},minItems:2,maxItems:2,description:"An array of 2 colors to use for the gradient. The first color represents the minimum value, the second color represents the maximum value."},minValue:{type:"number",description:"Specifies the custom minimum value for the heat chart. If none is provided, the minimum value from the dataset will be used."},maxValue:{type:"number",description:"Specifies the custom maximum value for the heat chart. If none is provided, the maximum value from the dataset will be used."},outsideRangeLowerColor:{$ref:"#/definitions/Color",description:"Specifies the color to use for the items outside the lower range specified by minValue. If none is provided, the default color will be used.",default:"[250, 250, 250, 255] - white"},outsideRangeUpperColor:{$ref:"#/definitions/Color",description:"Specifies the color to use for the items outside the upper range specified by maxValue. If none is provided, the default color will be used.",default:"[0, 0, 255, 255] - blue"}},description:"JSON representation of the Heat chart - gradient type specific",title:"WebChartHeatChartGradient"},WebChartHeatChartSeries:{type:"object",properties:{type:{type:"string",const:"heatSeries"},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},xTemporalBinning:{$ref:"#/definitions/WebChartCalendarDatePartsBinning",description:"Describes how to bin the temporal data when the x-axis field is a date."},yTemporalBinning:{$ref:"#/definitions/WebChartCalendarDatePartsBinning",description:"Describes how to bin the temporal data when the y-axis field is a date."},gridLine:{$ref:"#/definitions/ISimpleLineSymbol",description:"Defines how the cells outline should render."},heatRuleType:{$ref:"#/definitions/WebChartHeatChartHeatRulesTypes",description:"Defines the type of rule to apply for the heat chart.",default:"WebChartHeatChartHeatRulesTypes.Gradient"},gradientRules:{$ref:"#/definitions/WebChartHeatChartGradient",description:"Specifies the details of the gradient rules for the heat chart."},noData:{type:"object",properties:{text:{type:"string",description:"Specifies the text to use for the item with no data. If none is provided, the default `null` text will be used.",default:"`null`"},color:{$ref:"#/definitions/Color",description:"Specifies the color to use for the item with no data. If none is provided, the default color will be used.",default:"[150, 150, 150, 255] - light gray"}},description:"Specifies how to display items with no data, in term of text and color."}},required:["id","name","type","x","y"],description:"JSON representation of the Heat chart series",title:"WebChartHeatChartSeries"},WebChartHeatChartHeatRulesTypes:{type:"string",const:"gradient",description:"Represents the different types of heat rule that can be applied to a heat chart.",title:"WebChartHeatChartHeatRulesTypes"},WebChartRadarChartSeries:{$ref:"#/definitions/WebChartLineChartSeries%3C%22radarSeries%22%3E",title:"WebChartRadarChartSeries"},'WebChartLineChartSeries<"radarSeries">':{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{$ref:"#/definitions/WebChartTemporalBinning",description:"Describes how to bin the temporal data."},type:{type:"string",const:"radarSeries",description:'Represents a unique string identifier for the LineSeries object. For LineSeries object, it is "lineSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{anyOf:[{type:"array",items:{type:"string"}},{type:"string"}],description:"Specifies the numeric field(s) used by the series. The array type is useful when used for a box plot."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the line/line segments should be rendered"},lineSmoothed:{type:"boolean",description:"Specifies whether line segments should be smoothed.",default:!1},showArea:{type:"boolean",description:"Indicates whether line series show area.",default:!1},markerVisible:{type:"boolean",description:"Indicates whether to show or hide the markers/bullets of the line series.",default:!0},markerSymbol:{$ref:"#/definitions/ISimpleMarkerSymbol",description:"Contains styling info on how the marker should be rendered"},areaColor:{$ref:"#/definitions/Color",description:"Specifies the color of the filled area for line chart. areaColor will be applied only if showArea is true, and is defaulted to the line color if not provided."},stackNegativeValuesToBaseline:{type:"boolean",description:"Specifies how negative values are treated in stacked series. If true, negative values will be stacked on the base line. If false, negative values will be stacked in relation to their previous values in the stack.",default:!0},connectLines:{type:"boolean",description:"Whether to connect the lines when there's a gap in the data. Can be overridden by the temporal data setting `nullPolicy`.",default:!0}},required:["id","name","type","x","y"],description:"JSON representation of the Line Chart series",title:'WebChartLineChartSeries<"radarSeries">'},WebChartSeriesType:{anyOf:[{$ref:"#/definitions/WebChartBarChartSeries"},{$ref:"#/definitions/WebChartBoxPlotSeries"},{$ref:"#/definitions/WebChartGaugeSeries"},{$ref:"#/definitions/WebChartHeatChartSeries"},{$ref:"#/definitions/WebChartHistogramSeries"},{$ref:"#/definitions/WebChartLineChartSeries"},{$ref:"#/definitions/WebChartPieChartSeries"},{$ref:"#/definitions/WebChartRadarChartSeries"},{$ref:"#/definitions/WebChartScatterplotSeries"}],description:"Type containing all the series types available",title:"WebChartSeriesType"},WebChart:{type:"object",properties:{version:{type:"string",const:"24.2.0",description:"Version of the specification. Used to identify when a saved config was created."},type:{type:"string",const:"chart",description:"Represents a unique string identifier for the Chart object. For Chart object, it is **chart**."},id:{type:"string",description:"Can be used to uniquely identify a chart. The consumer app can choose whether to use it or not."},iLayer:{$ref:"#/definitions/IFeatureLayer",description:"Property representing the layer to be used by the chart. If not provided we expect a layer object to be set on the component."},dataFilters:{$ref:"#/definitions/WebChartDataFilters",description:"Used to filter the chart's data while in Layer mode."},title:{$ref:"#/definitions/WebChartText",description:"Specifies heading/title of the chart."},subtitle:{$ref:"#/definitions/WebChartText",description:"Specifies sub-heading/subtitle of the chart."},footer:{$ref:"#/definitions/WebChartText",description:"Specifies footer of the chart"},background:{$ref:"#/definitions/Color",description:"Specifies the background color of the chart.",default:[255,255,255,255]},cursorCrosshair:{$ref:"#/definitions/WebChartCursorCrosshair",description:"Specifies cursor's crosshair information for the chart. Only for XY charts."},legend:{anyOf:[{$ref:"#/definitions/WebChartLegend"},{$ref:"#/definitions/WebChartPieChartLegend"}],description:"Specifies the Legend information for the chart."},axes:{type:"array",items:{$ref:"#/definitions/WebChartAxis"},minItems:1,maxItems:3,description:"Represents an array of **at least 1 or at most 3** Chart Axis accompanying the chart. The axes property is optional because Pie chart does not use any axis. The third axis config is used when a series `assignToSecondValueAxis` is set to `true`. Some of the axis features won't apply to the third axis (e.g. labels behaviors)."},horizontalAxisLabelsBehavior:{$ref:"#/definitions/WebChartLabelBehavior",description:`Represents the way the labels should behave when the horizontal axis can't display them all. The available options are: "none", "rotate", "stagger" and "wrap". For XY Chart only. Histogram can handle "none" and "rotate" only. The default value for the horizontal axis is "rotate" except for Histogram, where the default is none.`,default:"rotate"},verticalAxisLabelsBehavior:{$ref:"#/definitions/WebChartLabelBehavior",description:`Represents the way the labels should behave when the vertical axis can't display them all. For XY Chart only. The available options are: "none" and "wrap". The default value for the vertical axis is "wrap".`,default:"wrap"},series:{type:"array",items:{$ref:"#/definitions/WebChartSeriesType"},description:"Represents an array of various chart series to be plot inside the chart. Empty array is not allowed.",minItems:1},rotated:{type:"boolean",description:"Specifies whether or not the chart is rotated. Applied to Bar, Line, and Combo Bar and Line charts.",default:!1},stackedType:{$ref:"#/definitions/WebChartStackedKinds",description:`Specifies how the bars/lines should be placed when multiple series are rendered in the same chart, say when "split by" operation is executed on any field or when multiple attributes/fields corresponding to the same set of classes are to be visualized.
|
|
11
11
|
|
|
12
12
|
Currently this property is only used for bar and line series.`,default:"sideBySide"},colorMatch:{type:"boolean",description:"Specifies whether to first try matching the colors from the layer renderer or the chart renderer for coloring the chart elements, like markers, line segments, columns, etc.\n\nTo do so, this property needs to be set to `true`.\n\nWhen there is no matching color found (for when `colorMatch = true`) or when `colorMatch = false`, the colors from the config, and then from the color ramps will be used, in that order.",default:!1},chartRenderer:{description:"Renderer to use to style the series when the chart uses the color match mode. Considered before the layer's renderer."},orderOptions:{type:"object",properties:{series:{$ref:"#/definitions/WebChartOrderSeriesBy",description:"How series should be ordered and displayed in a multi-series chart. If not provided the series will be displayed as they are ordered in the config."},data:{anyOf:[{$ref:"#/definitions/WebChartDirectionalDataOrder"},{$ref:"#/definitions/WebChartPredefinedLabelsDataOrder"}],description:"How data for a chart should be ordered. It is recommended to use this property over its sibling `orderByFields` to order the chart data.\n\nIf not provided, the data will be displayed as it was retrieved from the server. No additional ordering will be applied."},orderByFields:{type:"array",items:{type:"string"},description:"The orderByFields to be sent with the query when retrieving data for the chart. It represents the desired sorting order of the output result from the server.\n\nMore info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending"}},description:"Chart order options (data and series)"}},required:["version","type","series"],description:"Gives a JSON representation of the Chart object.",title:"WebChart"},IFeatureLayer:{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:"ArcGISFeatureLayer",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."},capabilities:{type:"string",description:"A comma-separated string listing which editing operations are allowed on an editable feature service."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"Stores interactive filters."},disablePopup:{type:"boolean",const:!0,description:"Indicates whether to allow a client to ignore popups defined by the service item."},featureCollection:{description:"A featureCollection object defining a layer of features whose geometry and attributes are either stored directly within the web map or with an item. Feature Collections can be created from CSVs, shapefiles, GPX, or map notes."},featureCollectionType:{type:"string",enum:["markup","notes","route"],description:"Indicates the type of features in the feature collection. If featureCollectionType is missing, it means the feature collection is a regular single-layer or multi-layer feature collection."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},mode:{type:"number",enum:[0,1,2],description:"0 is snapshot mode. 1 is on-demand mode. 2 is selection-only mode. Used with ArcGIS feature services and individual layers in ArcGIS map services."},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."},showLabels:{type:"boolean",const:!0,description:"Labels will display if this property is set to true and the layer also has a labelingInfo property associated with it. This property can get stored in the web map config and in the item/data."},visibleLayers:{type:"array",items:{type:"number"},description:"An array of sublayer ids that should appear visible. Used with feature layers that are based on feature collections."}},required:["id","layerType"],description:"Feature layers can be created by referencing a layer from either a map service or a feature service or by specifying a feature collection object. Use a map service if you just want to retrieve geometries and attributes from the server and symbolize them yourself. Use a feature service if you want to take advantage of symbols from the service's source map document. Also, use a feature service if you plan on doing editing with the feature layer. Feature layers honor any feature templates configured in the source map document. Feature collection objects are used to create a feature layer based on the supplied definition.",title:"IFeatureLayer"},ILayer:{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",description:"Indicates 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."}},required:["id","layerType"],title:"ILayer"},ISupportsTime:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."}},title:"ISupportsTime"},IDefinitionEditor:{type:"object",properties:{inputs:{type:"array",items:{$ref:"#/definitions/IDefinitionInput"},description:"An array of input objects."},parameterizedExpression:{type:"string",description:"A string value representing the where clause for the interactive filter."}},description:"The definitionEditor stores interactive filters at the same level as layerDefinition.",title:"IDefinitionEditor"},IDefinitionInput:{type:"object",properties:{hint:{type:"string",description:"A string value representing a hint for the input."},parameters:{type:"array",items:{$ref:"#/definitions/IDefinitionParameter"},description:"An array of parameter objects."},prompt:{type:"string",description:"A string value representing the prompt for the input."}},title:"IDefinitionInput"},IDefinitionParameter:{type:"object",properties:{defaultValue:{type:["number","string"],description:"The default value that is automatically given if nothing is provided."},fieldName:{type:"string",description:"A string value representing the name of the field to query."},parameterId:{description:"Number given to uniquely identify the specified parameter."},type:{type:"string",enum:["esriFieldTypeBlob","esriFieldTypeDate","esriFieldTypeDateOnly","esriFieldTypeDouble","esriFieldTypeGeometry","esriFieldTypeGlobalID","esriFieldTypeGUID","esriFieldTypeInteger","esriFieldTypeOID","esriFieldTypeRaster","esriFieldTypeSingle","esriFieldTypeSmallInteger","esriFieldTypeString","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset","esriFieldTypeXML"],description:"The field type for the specified field parameter."},utcValue:{type:"number",description:"An integer value representing exact UNIX time used when defaultValue is a date string."}},title:"IDefinitionParameter"},ILayerDefinition:{type:"object",properties:{hasZ:{type:"boolean"},hasM:{type:"boolean"},allowGeometryUpdates:{type:"boolean",description:"Boolean value indicating whether the geometry of the features in the layer can be edited."},capabilities:{type:"string",description:"A comma separated list of supported capabilities, e.g. Query,Editing."},copyrightText:{type:"string",description:"String value for the copyright text information for the layer."},currentVersion:{type:"number",description:"Numeric value indicating the server version of the layer."},defaultVisibility:{type:"boolean",description:"Boolean value indicating whether the layer's visibility is turned on."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"Stores interactive filters."},definitionExpression:{type:"string",description:"SQL-based definition expression string that narrows the data to be displayed in the layer."},description:{type:"string",description:"String value of the layer as defined in the map service."},displayField:{type:"string",description:"A string value that summarizes the feature."},drawingInfo:{description:"Contains drawing, labeling, and transparency information."},extent:{anyOf:[{$ref:"#/definitions/IExtent"},{type:"null"}],description:"An object defining the rectangular area."},editingInfo:{$ref:"#/definitions/IEditingInfo",description:"An object defining the editing info (last edit date)."},featureReduction:{description:"Feature reductions declutter the screen by hiding features that would otherwise intersect with other features on screen."},fields:{type:"array",items:{$ref:"#/definitions/IField"},description:"An array of field objects containing information about the attribute fields for the feature collection or layer."},geometryType:{$ref:"#/definitions/GeometryType",description:"A string defining the type of geometry. Possible geometry types are: esriGeometryPoint, esriGeometryMultipoint, esriGeometryPolyline, esriGeometryPolygon, and esriGeometryEnvelope."},globalIdField:{type:"string",description:"The unique identifier for a feature or table row within a geodatabase."},hasAttachments:{type:"boolean",description:"Indicates whether attachments should be loaded for the layer."},hasStaticData:{type:"boolean",description:"Boolean value indicating whether data changes. True if it does not."},htmlPopupType:{type:"string",enum:["esriServerHTMLPopupTypeAsHTMLText","esriServerHTMLPopupTypeAsURL","esriServerHTMLPopupTypeNone"],description:"String value indicating the HTML popup type."},id:{type:"number",description:"The identifier assigned to the layer."},isDataVersioned:{type:"boolean",description:"Boolean value indicating whether the data is versioned."},maxRecordCount:{type:"number",description:"Numeric value indicating tbe maximum number of records that will be returned at once for a query."},maxScale:{type:"number",description:"Represents the maximum scale at which the layer definition will be applied. This does not apply to layers of type: ArcGISMapServiceLayer, ImageServiceVectorLayer or ImageServiceLayer."},minScale:{type:"number",description:"Represents the minimum scale at which the layer definition will be applied. This does not apply to layers of type: ArcGISMapServiceLayer, ImageServiceVectorLayer or ImageServiceLayer."},name:{type:"string",description:"Contains a unique name for the layer that can be displayed in a legend."},objectIdField:{type:"string",description:"Indicates the name of the object ID field in the dataset."},overrideSymbols:{type:"boolean",description:"Dictates whether a client can support having an end user modify symbols on individual features."},rangeInfos:{description:"Indicates range information"},source:{description:"An object indicating the layerDefinition's layer source."},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"An object containing the WKID or WKT identifying the spatial reference of the layer's geometry."},supportedQueryFormats:{type:"string",description:"String value indicating the output formats that are supported in a query."},supportsAdvancedQueries:{type:"boolean",description:"Boolean value indicating whether the layer supports orderByFields in a query operation."},supportsAttachmentsByUploadId:{type:"boolean",description:"Boolean value indicating whether the layer supports uploading attachments with the Uploads operation. This can then be used in the Add Attachment and Update Attachment operations."},supportsCalculate:{type:"boolean",description:"Boolean value indicating whether the layer supports the Calculate REST operation when updating features."},supportsRollbackOnFailureParameter:{type:"boolean",description:"Boolean value indicating whether the layer supports rolling back edits made on a feature layer if some of the edits fail."},supportsStatistics:{type:"boolean",description:"Boolean value indicating whether feature layer query operations support statistical functions."},supportsValidateSql:{type:"boolean",description:"Boolean value indicating whether the validateSQL operation is supported across a feature service layer."},templates:{type:"array",items:{$ref:"#/definitions/ITemplate"},description:"A property of the layer definition when there are no types defined; otherwise, templates are defined as properties of the types."},timeInfo:{description:"The time info metadata of the layer. May be set for feature layers inside a feature collection item."},type:{type:"string",enum:["Feature Layer","Table"],description:"Indicates whether the layerDefinition applies to a Feature Layer or a Table."},typeIdField:{type:"string",description:"Contains the name of the field holding the type ID for the features."},types:{description:"Contains information about an attribute field."},visibilityField:{type:"string",description:"String value indicating the attribute field that is used to control the visibility of a feature. If applicable, when rendering a feature the client should use this field to control visibility. The field's values are 0 = do not display, 1 = display."},relationships:{type:"array",items:{}},editFieldsInfo:{type:"object",properties:{creationDateField:{type:"string"},creatorField:{type:"string"},editDateField:{type:"string"},editorField:{type:"string"}}},parentLayerId:{type:"number"},ownershipBasedAccessControlForFeatures:{type:"boolean"},syncCanReturnChanges:{type:"boolean"},archivingInfo:{type:"object",properties:{supportsQueryWithHistoricMoment:{type:"boolean"},startArchivingMoment:{type:"number"}}},supportsValidateSQL:{type:"boolean"},advancedQueryCapabilities:{type:"object",properties:{supportsPagination:{type:"boolean"},supportsTrueCurve:{type:"boolean"},supportsQueryWithDistance:{type:"boolean"},supportsReturningQueryExtent:{type:"boolean"},supportsStatistics:{type:"boolean"},supportsOrderBy:{type:"boolean"},supportsDistinct:{type:"boolean"},supportsSqlExpression:{type:"boolean"},supportsPercentileStatistics:{type:"boolean"}}},allowTrueCurvesUpdates:{type:"boolean"},onlyAllowTrueCurveUpdatesByTrueCurveClients:{type:"boolean"},supportsApplyEditsWithGlobalIds:{type:"boolean"},subtypeField:{type:"string"},indexes:{type:"array",items:{}},dateFieldsTimeReference:{type:"object",properties:{timeZone:{type:"string"},respectsDaylightSaving:{type:"boolean"}}},useStandardizedQueries:{type:"boolean"}},description:'`ILayerDefinition` can also be imported from the following packages:\n\n```js import { ILayerDefinition } from "@esri/arcgis-rest-service-admin"; import { ILayerDefinition } from "@esri/arcgis-rest-feature-layer"; ```',title:"ILayerDefinition"},IEditingInfo:{type:"object",properties:{lastEditDate:{type:"number",description:"date of last edit to the layer"}},title:"IEditingInfo"},IField:{type:"object",properties:{name:{type:"string",description:"A string defining the field name."},type:{$ref:"#/definitions/FieldType",description:"A string defining the field type."},alias:{type:"string",description:"A string defining the field alias."},domain:{$ref:"#/definitions/IDomain",description:"The domain objects if applicable."},editable:{type:"boolean",description:"A Boolean defining whether this field is editable."},exactMatch:{type:"boolean",description:"A Boolean defining whether or not the field is an exact match."},length:{type:"number",description:"A number defining how many characters are allowed in a string. field."},nullable:{type:"boolean",description:"A Boolean defining whether this field can have a null value."},defaultValue:{description:"The value written in for new records by default."}},required:["name","type"],description:'Contains information about an attribute field.\n\n`IField` can also be imported from the following packages:\n\n```js import { IField } from "@esri/arcgis-rest-feature-layer"; ```',title:"IField"},FieldType:{type:"string",enum:["esriFieldTypeBigInteger","esriFieldTypeBlob","esriFieldTypeDate","esriFieldTypeDateOnly","esriFieldTypeDouble","esriFieldTypeGeometry","esriFieldTypeGlobalID","esriFieldTypeGUID","esriFieldTypeInteger","esriFieldTypeOID","esriFieldTypeRaster","esriFieldTypeSingle","esriFieldTypeSmallInteger","esriFieldTypeString","esriFieldTypeTimestampOffset","esriFieldTypeXML"],description:"Field type.",title:"FieldType"},IDomain:{type:"object",properties:{type:{$ref:"#/definitions/DomainType",description:"A string defining the domain type."},name:{type:"string",description:"A string defining the field name."},range:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"A 2 element array defining the range of possible values."},codedValues:{type:"array",items:{$ref:"#/definitions/ICodedValue"},description:"An array of CodedValues for domains of type codedValue."},description:{type:"string",description:"Description of the domain"},mergePolicy:{type:"string",description:"Merge policy"},splitPolicy:{type:"string",description:"Split Policy"}},required:["type"],description:"Information for a field with a domain",title:"IDomain"},DomainType:{type:"string",enum:["codedValue","inherited","range"],description:"Domain types",title:"DomainType"},ICodedValue:{type:"object",properties:{name:{type:"string",description:"User-friendly name for what the code means."},code:{type:["number","string"],description:"The value stored in the feature attribute."}},required:["name","code"],description:"CodedValue type",title:"ICodedValue"},GeometryType:{type:"string",enum:["esriGeometryEnvelope","esriGeometryMultipoint","esriGeometryPoint","esriGeometryPolygon","esriGeometryPolyline"],description:'`GeometryType` can also be imported from the following packages:\n\n```js import { GeometryType } from "@esri/arcgis-rest-feature-layer"; ```',title:"GeometryType"},ITemplate:{type:"object",properties:{description:{description:"A string value containing a detailed description of the template."},drawingTool:{$ref:"#/definitions/FeatureEditTool",description:"An optional string that can define a client-side drawing tool to be used with this feature. For example, map notes used by the Online Map Viewer use this to represent the viewer's different drawing tools."},name:{type:"string",description:"A string containing a user-friendly name for the template."},prototype:{$ref:"#/definitions/IFeature",description:"A feature object representing a prototypical feature for the template."}},description:"Templates describe features that can be created in a layer. They are generally used with feature collections and editable web-based CSV layers. Templates are not used with ArcGIS feature services as these already have templates defined in the service. They are also defined as properties of the layer definition when there are no defined types. Otherwise, templates are defined as properties of the types.",title:"ITemplate"},FeatureEditTool:{type:"string",enum:["esriFeatureEditToolAutoCompletePolygon","esriFeatureEditToolCircle","esriFeatureEditToolDownArrow","esriFeatureEditToolEllipse","esriFeatureEditToolFreehand","esriFeatureEditToolLeftArrow","esriFeatureEditToolLine","esriFeatureEditToolNone","esriFeatureEditToolPoint","esriFeatureEditToolPolygon","esriFeatureEditToolRectangle","esriFeatureEditToolRightArrow","esriFeatureEditToolText","esriFeatureEditToolTriangle","esriFeatureEditToolUpArrow"],title:"FeatureEditTool"},IFeature:{type:"object",properties:{geometry:{$ref:"#/definitions/IGeometry"},attributes:{$ref:"#/definitions/Record%3Cstring%2Cany%3E"},symbol:{$ref:"#/definitions/ISymbol"}},required:["attributes"],description:'a spatial entity and its corresponding properties\n\n`IFeature` can also be imported from the following packages:\n\n```js import { IFeature } from "@esri/arcgis-rest-feature-layer"; import { IFeature } from "@esri/arcgis-rest-routing"; ```',title:"IFeature"},"Record<string,any>":{type:"object",title:"Record<string,any>"},IPopupInfo:{type:"object",properties:{description:{type:["string","null"],description:"A string that appears in the body of the popup window as a description. It is also possible to specify the description as HTML-formatted content."},expressionInfos:{type:"array",items:{$ref:"#/definitions/IPopupExpressionInfo"},description:"List of Arcade expressions added to the pop-up."},fieldInfos:{type:"array",items:{$ref:"#/definitions/IFieldInfo"},description:"Array of fieldInfo information properties. This information is provided by the service layer definition. When the description uses name/value pairs, the order of the array is how the fields display in the editable Map Viewer popup and the resulting popup. It is also possible to specify HTML-formatted content."},layerOptions:{type:"object",properties:{showNoDataRecords:{type:"boolean",description:"Indicates whether or not the NoData records should be displayed."}},required:["showNoDataRecords"],description:"Additional options that can be defined for the popup layer."},mediaInfos:{type:"array",items:{$ref:"#/definitions/IMediaInfo"},description:"Array of various mediaInfo to display. Can be of type image, piechart, barchart, columnchart, or linechart. The order given is the order in which is displays."},popupElements:{type:"array",items:{$ref:"#/definitions/IPopupElement"},description:"An array of popupElement objects that represent an ordered list of popup elements."},relatedRecordsInfo:{$ref:"#/definitions/IRelatedRecordsInfo",description:"Indicates whether to enable related records if they exist on a layer."},showAttachments:{type:"boolean",description:"Indicates whether attachments will be loaded for feature layers that have attachments."},title:{type:"string",description:"A string that appears at the top of the popup window as a title."}},description:"Defines the look and feel of popup windows when a user clicks or queries a feature.",title:"IPopupInfo"},IPopupExpressionInfo:{type:"object",properties:{expression:{type:"string",description:"The Arcade expression."},name:{type:"string",description:"Unique identifier for the expression."},returnType:{type:"string",enum:["number","string"],description:"Return type of the Arcade expression, can be number or string. Defaults to string value. Number values are assumed to be double. This can be determined by the authoring client by executing the expression using a sample feature(s), although it can be corrected by the user. Knowing the returnType allows the authoring client to present fields in relevant contexts. For example, numeric fields in numeric contexts such as charts."},title:{type:"string",description:"Title of the expression."}},description:"Arcade expression added to the pop-up.",title:"IPopupExpressionInfo"},IFieldInfo:{type:"object",properties:{fieldName:{description:"A string containing the field name as defined by the service. Anywhere that a fieldname is referenced as {field-name} in popupInfo, an Arcade expression can also be referenced as{expression/}`."},format:{$ref:"#/definitions/IFieldFormat",description:"A format object used with numerical or date fields to provide more detail about how the value should be displayed in a web map popup window."},isEditable:{type:"boolean",description:"A Boolean determining whether users can edit this field. Not applicable to Arcade expressions."},label:{type:"string",description:"A string containing the field alias. This can be overridden by the web map author. Not applicable to Arcade expressions as title is used instead."},stringFieldOption:{type:"string",enum:["richtext","textarea","textbox"],description:"A string determining what type of input box editors see when editing the field. Applies only to string fields. Not applicable to Arcade expressions."},tooltip:{type:"string",description:"A string providing an editing hint for editors of the field. Not applicable to Arcade expressions."},visible:{type:"boolean",description:"A Boolean determining whether the field is visible in the popup window."}},description:"Defines how a field in the dataset participates (or does not participate) in a popup window.",title:"IFieldInfo"},IFieldFormat:{type:"object",properties:{dateFormat:{type:"string",enum:["dayShortMonthYear","longDate","longMonthDayYear","longMonthYear","shortDate","shortDateLE","shortDateLELongTime","shortDateLELongTime24","shortDateLEShortTime","shortDateLEShortTime24","shortDateLongTime","shortDateLongTime24","shortDateShortTime","shortDateShortTime24","shortMonthYear","year"],description:"A string used with date fields to specify how the date should appear in popup windows."},digitSeparator:{type:"boolean",description:"A Boolean used with numerical fields. A value of true allows the number to have a digit (or thousands) separator when the value appears in popup windows. Depending on the locale, this separator is a decimal point or a comma. A value of false means that no separator will be used."},places:{type:"number",description:"An integer used with numerical fields to specify the number of supported decimal places that should appear in popup windows. Any places beyond this value are rounded."}},description:"The format object can be used with numerical or date fields to provide more detail about how values should be displayed in popup windows.",title:"IFieldFormat"},IMediaInfo:{type:"object",properties:{caption:{description:"A string caption describing the media."},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. If the property does not exist, it's equivalent to having a value of 0. Only applicable when type is set to image."},title:{type:["string","null"],description:"A string title for the media."},type:{type:"string",enum:["barchart","columnchart","image","linechart","piechart"],description:"A string defining the type of media."},value:{anyOf:[{$ref:"#/definitions/IMediaInfoValue"},{type:"null"}],description:"A value object containing information about how the image should be retrieved or how the chart should be constructed."}},description:"Defines an image or a chart to be displayed in a popup window.",title:"IMediaInfo"},IMediaInfoValue:{type:"object",properties:{fields:{type:"array",items:{type:"string"},description:"Used with charts. An array of strings, with each string containing the name of a field to display in the chart."},linkURL:{type:"string",description:"Used with images. A string containing a URL to be launched in a browser when a user clicks the image."},normalizeField:{type:"string",description:"Used with charts. An optional string containing the name of a field. The values of all fields in the chart will be normalized (divided) by the value of this field."},sourceURL:{type:"string",description:"Used with images. A string containing the URL to the image."},tooltipField:{type:"string",description:"String value indicating the tooltip for a chart specified from another field. This field is needed when related records are not sued. It is used for showing tooltips from another field in the same layer or related layer/table."}},description:"The value object contains information for popup windows about how images should be retrieved or charts constructed.",title:"IMediaInfoValue"},IPopupElement:{type:"object",properties:{displayType:{type:"string",enum:["list","preview"],description:"This property applies to elements of type attachments. A string value indicating how to display the attachment. Possible values are, preview, and list. If list is specified, attachments show as links."},fieldInfos:{type:"array",items:{$ref:"#/definitions/IFieldInfo"},description:"This property applies to elements of type fields. It is an array of popupInfo.fieldInfo objects representing a field/value pair displayed as a table within the popupElement. If the fieldInfos property is not provided, the popupElement will display whatever is specified directly in the popupInfo.fieldInfos property."},mediaInfos:{type:"array",items:{$ref:"#/definitions/IMediaInfo"},description:"This property applies to elements of type media. An array of popupInfo.mediaInfo objects representing an image or chart for display. If no mediaInfos property is provided, the popupElement will display whatever is specified in the popupInfo.mediaInfo property."},text:{type:"string",description:"This property applies to elements of type text. This is string value indicating the text to be displayed within the popupElement. If no text property is provided, the popupElement will display whatever is specified in the popupInfo.description property."},type:{type:"string",enum:["attachments","fields","media","text"],description:"String value indicating which elements to use."}},description:"Popup elements allow users to author popups, using multiple elements such as tabular views, string description, media (charts and images), and attachments of the attributes and control the order in which they appear. Specifically, popupElements do the following: 1) provide the ability to explicitly add a field/ value table in addition to a description, 2) allow adding multiple description elements, and 3) allow a user to author and consume elements of a popup in the order of their choosing.",title:"IPopupElement"},IRelatedRecordsInfo:{type:"object",properties:{orderByFields:{type:"array",items:{$ref:"#/definitions/IOrderByField"},description:"Array of orderByFields objects indicating the field display order for the related records and whether they should be sorted in ascending 'asc' or descending 'desc' order."},showRelatedRecords:{type:"boolean",description:"Required boolean value indicating whether to display related records. If true, client should let the user navigate to the related records. Defaults to true if the layer participates in a relationship AND the related layer/table has already been added to the map (either as an operationalLayer or as a table)."}},required:["showRelatedRecords"],description:"The sort in the popupInfo for the parent feature. This impacts the sorting order for the returned child records.",title:"IRelatedRecordsInfo"},IOrderByField:{type:"object",properties:{field:{type:"string",description:"The attribute value of the field selected that will drive the sorting of related records."},order:{type:"string",enum:["asc","desc"],description:"Set the ascending or descending sort order of the returned related records."}},description:"Object indicating the field display order for the related records and whether they should be sorted in ascending or descending order.",title:"IOrderByField"},WebChartLabelBehavior:{type:"string",enum:["hide","rotate","stagger","wrap"],description:"Represents the different types of behaviors that can applied to a chart axis.",title:"WebChartLabelBehavior"},WebChartStackedKinds:{type:"string",enum:["sideBySide","stacked","stacked100"],title:"WebChartStackedKinds"},WebChartOrderSeriesBy:{type:"object",properties:{preferLabel:{type:"boolean",description:`When the value is set to true, we want to order the split-by series based on the series' names (alias, custom label, or description).
|
|
13
13
|
|
|
14
|
-
When the value is set to false, we want to order the split-by series based on the series' split-by values.`,default:!0},orderBy:{$ref:"#/definitions/WebChartSortOrderKinds",description:"The direction of the order.",default:"WebChartSortOrderKinds.Ascending"}},description:"Order options for split-by series.",title:"WebChartOrderSeriesBy"},WebChartSortOrderKinds:{type:"string",enum:["ASC","DESC"],title:"WebChartSortOrderKinds"},WebChartDirectionalDataOrder:{type:"object",properties:{orderType:{$ref:"#/definitions/WebChartOrderDataByTypes",description:"The type of order, eg by category, by mean, by median, or by y value."},orderBy:{$ref:"#/definitions/WebChartSortOrderKinds",description:"The direction of the order, either ascending or descending."},preferLabel:{type:"boolean",description:"Indicates whether to order data by the label or the value.\n\nFor example, when a field has domain coded values or supbtypes, setting this property to `false` will order the data by the field value. Otherwise the domain description, subtypes description, or the alias of the field will be used to sort the data.",default:!0}},required:["orderType","orderBy"],description:"A data order option that the items are to be ordered either ascending or descending. It can be used for any type of order, like by category, by mean, by median, etc.",title:"WebChartDirectionalDataOrder"},WebChartOrderDataByTypes:{type:"string",enum:["arcgis-charts-y-value","arcgis-charts-mean","arcgis-charts-median","arcgis-charts-category"],description:"The types of order assocated with chart data.",title:"WebChartOrderDataByTypes"},WebChartPredefinedLabelsDataOrder:{type:"object",properties:{orderType:{type:"string",const:"arcgis-charts-category",description:"The type of order, which is by category."},orderBy:{type:"array",items:{type:"string"},description:"The predefined list of labels to order the data by.\n\nWhen the value of the `preferLabel` property is set to `false`, the `orderBy` list should be a list of coded domain values or field names; otherwise, it should be a list of domain descriptions, subtypes descriptions, or field aliases."},preferLabel:{type:"boolean",description:"Indicates whether to order data by the label or the value.\n\nFor example, when a field has domain coded values or supbtypes, setting this property to `false` will order the data by the field value. Otherwise the domain description, subtypes description, or the alias of the field will be used to sort the data.\n\nWhen the value is set to `true` or undefined, the `orderBy` property should contain a list of labels like domain descriptions, subtypes descriptions, or field aliases. When the value is set to `false`, the `orderBy` property should contain a list of coded domain values or field names, in order for the data to be sorted correctly.",default:!0}},required:["orderType","orderBy"],description:"A data order option for the items to be ordered by `category` based on a predefined list of labels.",title:"WebChartPredefinedLabelsDataOrder"},WebGaugeChart:{type:"object",properties:{version:{type:"string",const:"24.
|
|
14
|
+
When the value is set to false, we want to order the split-by series based on the series' split-by values.`,default:!0},orderBy:{$ref:"#/definitions/WebChartSortOrderKinds",description:"The direction of the order.",default:"WebChartSortOrderKinds.Ascending"}},description:"Order options for split-by series.",title:"WebChartOrderSeriesBy"},WebChartSortOrderKinds:{type:"string",enum:["ASC","DESC"],title:"WebChartSortOrderKinds"},WebChartDirectionalDataOrder:{type:"object",properties:{orderType:{$ref:"#/definitions/WebChartOrderDataByTypes",description:"The type of order, eg by category, by mean, by median, or by y value."},orderBy:{$ref:"#/definitions/WebChartSortOrderKinds",description:"The direction of the order, either ascending or descending."},preferLabel:{type:"boolean",description:"Indicates whether to order data by the label or the value.\n\nFor example, when a field has domain coded values or supbtypes, setting this property to `false` will order the data by the field value. Otherwise the domain description, subtypes description, or the alias of the field will be used to sort the data.",default:!0}},required:["orderType","orderBy"],description:"A data order option that the items are to be ordered either ascending or descending. It can be used for any type of order, like by category, by mean, by median, etc.",title:"WebChartDirectionalDataOrder"},WebChartOrderDataByTypes:{type:"string",enum:["arcgis-charts-y-value","arcgis-charts-mean","arcgis-charts-median","arcgis-charts-category"],description:"The types of order assocated with chart data.",title:"WebChartOrderDataByTypes"},WebChartPredefinedLabelsDataOrder:{type:"object",properties:{orderType:{type:"string",const:"arcgis-charts-category",description:"The type of order, which is by category."},orderBy:{type:"array",items:{type:"string"},description:"The predefined list of labels to order the data by.\n\nWhen the value of the `preferLabel` property is set to `false`, the `orderBy` list should be a list of coded domain values or field names; otherwise, it should be a list of domain descriptions, subtypes descriptions, or field aliases."},preferLabel:{type:"boolean",description:"Indicates whether to order data by the label or the value.\n\nFor example, when a field has domain coded values or supbtypes, setting this property to `false` will order the data by the field value. Otherwise the domain description, subtypes description, or the alias of the field will be used to sort the data.\n\nWhen the value is set to `true` or undefined, the `orderBy` property should contain a list of labels like domain descriptions, subtypes descriptions, or field aliases. When the value is set to `false`, the `orderBy` property should contain a list of coded domain values or field names, in order for the data to be sorted correctly.",default:!0}},required:["orderType","orderBy"],description:"A data order option for the items to be ordered by `category` based on a predefined list of labels.",title:"WebChartPredefinedLabelsDataOrder"},WebGaugeChart:{type:"object",properties:{version:{type:"string",const:"24.2.0",description:"Version of the specification. Used to identify when a saved config was created."},type:{type:"string",const:"chart",description:"Represents a unique string identifier for the Chart object. For Chart object, it is **chart**."},id:{type:"string",description:"Can be used to uniquely identify a chart. The consumer app can choose whether to use it or not."},iLayer:{$ref:"#/definitions/IFeatureLayer",description:"Property representing the layer to be used by the chart. If not provided we expect a layer object to be set on the component."},dataFilters:{$ref:"#/definitions/WebChartDataFilters",description:"Used to filter the chart's data while in Layer mode."},title:{$ref:"#/definitions/WebChartText",description:"Specifies heading/title of the chart."},subtitle:{$ref:"#/definitions/WebChartText",description:"Specifies sub-heading/subtitle of the chart."},footer:{$ref:"#/definitions/WebChartText",description:"Specifies footer of the chart"},background:{$ref:"#/definitions/Color",description:"Specifies the background color of the chart.",default:[255,255,255,255]},cursorCrosshair:{$ref:"#/definitions/WebChartCursorCrosshair",description:"Specifies cursor's crosshair information for the chart. Only for XY charts."},legend:{anyOf:[{$ref:"#/definitions/WebChartLegend"},{$ref:"#/definitions/WebChartPieChartLegend"}],description:"Specifies the Legend information for the chart."},axes:{type:"array",items:{$ref:"#/definitions/WebChartGaugeAxis"},minItems:1,maxItems:1,description:"Array of one WebChartGaugeAxis"},horizontalAxisLabelsBehavior:{$ref:"#/definitions/WebChartLabelBehavior",description:`Represents the way the labels should behave when the horizontal axis can't display them all. The available options are: "none", "rotate", "stagger" and "wrap". For XY Chart only. Histogram can handle "none" and "rotate" only. The default value for the horizontal axis is "rotate" except for Histogram, where the default is none.`,default:"rotate"},verticalAxisLabelsBehavior:{$ref:"#/definitions/WebChartLabelBehavior",description:`Represents the way the labels should behave when the vertical axis can't display them all. For XY Chart only. The available options are: "none" and "wrap". The default value for the vertical axis is "wrap".`,default:"wrap"},series:{type:"array",items:{$ref:"#/definitions/WebChartSeriesType"},description:"Represents an array of various chart series to be plot inside the chart. Empty array is not allowed.",minItems:1},rotated:{type:"boolean",description:"Specifies whether or not the chart is rotated. Applied to Bar, Line, and Combo Bar and Line charts.",default:!1},stackedType:{$ref:"#/definitions/WebChartStackedKinds",description:`Specifies how the bars/lines should be placed when multiple series are rendered in the same chart, say when "split by" operation is executed on any field or when multiple attributes/fields corresponding to the same set of classes are to be visualized.
|
|
15
15
|
|
|
16
|
-
Currently this property is only used for bar and line series.`,default:"sideBySide"},colorMatch:{type:"boolean",description:"Specifies whether to first try matching the colors from the layer renderer or the chart renderer for coloring the chart elements, like markers, line segments, columns, etc.\n\nTo do so, this property needs to be set to `true`.\n\nWhen there is no matching color found (for when `colorMatch = true`) or when `colorMatch = false`, the colors from the config, and then from the color ramps will be used, in that order.",default:!1},chartRenderer:{description:"Renderer to use to style the series when the chart uses the color match mode. Considered before the layer's renderer."},orderOptions:{type:"object",properties:{series:{$ref:"#/definitions/WebChartOrderSeriesBy",description:"How series should be ordered and displayed in a multi-series chart. If not provided the series will be displayed as they are ordered in the config."},data:{anyOf:[{$ref:"#/definitions/WebChartDirectionalDataOrder"},{$ref:"#/definitions/WebChartPredefinedLabelsDataOrder"}],description:"How data for a chart should be ordered. It is recommended to use this property over its sibling `orderByFields` to order the chart data.\n\nIf not provided, the data will be displayed as it was retrieved from the server. No additional ordering will be applied."},orderByFields:{type:"array",items:{type:"string"},description:"The orderByFields to be sent with the query when retrieving data for the chart. It represents the desired sorting order of the output result from the server.\n\nMore info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending"}},description:"Chart order options (data and series)"},innerRadius:{type:["number","null"],description:"Represents the size of the hole in middle of the chart. The number is used as a percentage rather than a fixed value.",default:50},startAngle:{type:["number","null"],description:"Represents where is the chart's starting point",default:-180},endAngle:{type:["number","null"],description:"Represents where is the chart's ending point. To be related with startAngle. If endAngle-startAngle is 360 the chart will render as full circle.",default:180},subType:{$ref:"#/definitions/GaugeChartSubTypes",description:"The type of Gauge, like FeatureGauge and StatisticGauge.\n\nWhen this property is not specified, it will be defaulted to `GaugeChartSubTypes.StatisticGauge`."}},required:["axes","series","type","version"],description:"JSON representation of Gauge chart.",title:"WebGaugeChart"},GaugeChartSubTypes:{type:"string",enum:["featureGauge","statisticGauge"],description:"Represents the different types of gauge charts.",title:"GaugeChartSubTypes"},WebBoxPlot:{type:"object",properties:{version:{type:"string",const:"24.
|
|
16
|
+
Currently this property is only used for bar and line series.`,default:"sideBySide"},colorMatch:{type:"boolean",description:"Specifies whether to first try matching the colors from the layer renderer or the chart renderer for coloring the chart elements, like markers, line segments, columns, etc.\n\nTo do so, this property needs to be set to `true`.\n\nWhen there is no matching color found (for when `colorMatch = true`) or when `colorMatch = false`, the colors from the config, and then from the color ramps will be used, in that order.",default:!1},chartRenderer:{description:"Renderer to use to style the series when the chart uses the color match mode. Considered before the layer's renderer."},orderOptions:{type:"object",properties:{series:{$ref:"#/definitions/WebChartOrderSeriesBy",description:"How series should be ordered and displayed in a multi-series chart. If not provided the series will be displayed as they are ordered in the config."},data:{anyOf:[{$ref:"#/definitions/WebChartDirectionalDataOrder"},{$ref:"#/definitions/WebChartPredefinedLabelsDataOrder"}],description:"How data for a chart should be ordered. It is recommended to use this property over its sibling `orderByFields` to order the chart data.\n\nIf not provided, the data will be displayed as it was retrieved from the server. No additional ordering will be applied."},orderByFields:{type:"array",items:{type:"string"},description:"The orderByFields to be sent with the query when retrieving data for the chart. It represents the desired sorting order of the output result from the server.\n\nMore info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending"}},description:"Chart order options (data and series)"},innerRadius:{type:["number","null"],description:"Represents the size of the hole in middle of the chart. The number is used as a percentage rather than a fixed value.",default:50},startAngle:{type:["number","null"],description:"Represents where is the chart's starting point",default:-180},endAngle:{type:["number","null"],description:"Represents where is the chart's ending point. To be related with startAngle. If endAngle-startAngle is 360 the chart will render as full circle.",default:180},subType:{$ref:"#/definitions/GaugeChartSubTypes",description:"The type of Gauge, like FeatureGauge and StatisticGauge.\n\nWhen this property is not specified, it will be defaulted to `GaugeChartSubTypes.StatisticGauge`."}},required:["axes","series","type","version"],description:"JSON representation of Gauge chart.",title:"WebGaugeChart"},GaugeChartSubTypes:{type:"string",enum:["featureGauge","statisticGauge"],description:"Represents the different types of gauge charts.",title:"GaugeChartSubTypes"},WebBoxPlot:{type:"object",properties:{version:{type:"string",const:"24.2.0",description:"Version of the specification. Used to identify when a saved config was created."},type:{type:"string",const:"chart",description:"Represents a unique string identifier for the Chart object. For Chart object, it is **chart**."},id:{type:"string",description:"Can be used to uniquely identify a chart. The consumer app can choose whether to use it or not."},iLayer:{$ref:"#/definitions/IFeatureLayer",description:"Property representing the layer to be used by the chart. If not provided we expect a layer object to be set on the component."},dataFilters:{$ref:"#/definitions/WebChartDataFilters",description:"Used to filter the chart's data while in Layer mode."},title:{$ref:"#/definitions/WebChartText",description:"Specifies heading/title of the chart."},subtitle:{$ref:"#/definitions/WebChartText",description:"Specifies sub-heading/subtitle of the chart."},footer:{$ref:"#/definitions/WebChartText",description:"Specifies footer of the chart"},background:{$ref:"#/definitions/Color",description:"Specifies the background color of the chart.",default:[255,255,255,255]},cursorCrosshair:{$ref:"#/definitions/WebChartCursorCrosshair",description:"Specifies cursor's crosshair information for the chart. Only for XY charts."},legend:{anyOf:[{$ref:"#/definitions/WebChartLegend"},{$ref:"#/definitions/WebChartPieChartLegend"}],description:"Specifies the Legend information for the chart."},axes:{type:"array",items:{$ref:"#/definitions/WebChartAxis"},minItems:1,maxItems:3,description:"Represents an array of **at least 1 or at most 3** Chart Axis accompanying the chart. The axes property is optional because Pie chart does not use any axis. The third axis config is used when a series `assignToSecondValueAxis` is set to `true`. Some of the axis features won't apply to the third axis (e.g. labels behaviors)."},horizontalAxisLabelsBehavior:{$ref:"#/definitions/WebChartLabelBehavior",description:`Represents the way the labels should behave when the horizontal axis can't display them all. The available options are: "none", "rotate", "stagger" and "wrap". For XY Chart only. Histogram can handle "none" and "rotate" only. The default value for the horizontal axis is "rotate" except for Histogram, where the default is none.`,default:"rotate"},verticalAxisLabelsBehavior:{$ref:"#/definitions/WebChartLabelBehavior",description:`Represents the way the labels should behave when the vertical axis can't display them all. For XY Chart only. The available options are: "none" and "wrap". The default value for the vertical axis is "wrap".`,default:"wrap"},series:{type:"array",items:{anyOf:[{$ref:"#/definitions/WebChartBoxPlotSeries"},{$ref:"#/definitions/WebChartLineChartSeries"}]},description:'The box plot series can be of type "boxPlotSeries" or "lineSeries".'},rotated:{type:"boolean",description:"Specifies whether or not the chart is rotated. Applied to Bar, Line, and Combo Bar and Line charts.",default:!1},stackedType:{$ref:"#/definitions/WebChartStackedKinds",description:`Specifies how the bars/lines should be placed when multiple series are rendered in the same chart, say when "split by" operation is executed on any field or when multiple attributes/fields corresponding to the same set of classes are to be visualized.
|
|
17
17
|
|
|
18
|
-
Currently this property is only used for bar and line series.`,default:"sideBySide"},colorMatch:{type:"boolean",description:"Specifies whether to first try matching the colors from the layer renderer or the chart renderer for coloring the chart elements, like markers, line segments, columns, etc.\n\nTo do so, this property needs to be set to `true`.\n\nWhen there is no matching color found (for when `colorMatch = true`) or when `colorMatch = false`, the colors from the config, and then from the color ramps will be used, in that order.",default:!1},chartRenderer:{description:"Renderer to use to style the series when the chart uses the color match mode. Considered before the layer's renderer."},orderOptions:{type:"object",properties:{series:{$ref:"#/definitions/WebChartOrderSeriesBy",description:"How series should be ordered and displayed in a multi-series chart. If not provided the series will be displayed as they are ordered in the config."},data:{anyOf:[{$ref:"#/definitions/WebChartDirectionalDataOrder"},{$ref:"#/definitions/WebChartPredefinedLabelsDataOrder"}],description:"How data for a chart should be ordered. It is recommended to use this property over its sibling `orderByFields` to order the chart data.\n\nIf not provided, the data will be displayed as it was retrieved from the server. No additional ordering will be applied."},orderByFields:{type:"array",items:{type:"string"},description:"The orderByFields to be sent with the query when retrieving data for the chart. It represents the desired sorting order of the output result from the server.\n\nMore info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending"}},description:"Chart order options (data and series)"},showOutliers:{type:"boolean",description:"Whether to show the outliers on the chart"},standardizeValues:{type:"boolean",description:"Whether to standardize the values by calculating the series z-score"},showMean:{type:"boolean",description:"Whether to show the mean lines on the chart. Applies only if a split-by field is set. Additionally the chart will render with that option enabled only if the the series array contains one box plot series and N lines series.",default:!1}},required:["series","type","version"],description:"JSON representation of Gauge",title:"WebBoxPlot"},WebRadarChart:{type:"object",properties:{version:{type:"string",const:"24.
|
|
18
|
+
Currently this property is only used for bar and line series.`,default:"sideBySide"},colorMatch:{type:"boolean",description:"Specifies whether to first try matching the colors from the layer renderer or the chart renderer for coloring the chart elements, like markers, line segments, columns, etc.\n\nTo do so, this property needs to be set to `true`.\n\nWhen there is no matching color found (for when `colorMatch = true`) or when `colorMatch = false`, the colors from the config, and then from the color ramps will be used, in that order.",default:!1},chartRenderer:{description:"Renderer to use to style the series when the chart uses the color match mode. Considered before the layer's renderer."},orderOptions:{type:"object",properties:{series:{$ref:"#/definitions/WebChartOrderSeriesBy",description:"How series should be ordered and displayed in a multi-series chart. If not provided the series will be displayed as they are ordered in the config."},data:{anyOf:[{$ref:"#/definitions/WebChartDirectionalDataOrder"},{$ref:"#/definitions/WebChartPredefinedLabelsDataOrder"}],description:"How data for a chart should be ordered. It is recommended to use this property over its sibling `orderByFields` to order the chart data.\n\nIf not provided, the data will be displayed as it was retrieved from the server. No additional ordering will be applied."},orderByFields:{type:"array",items:{type:"string"},description:"The orderByFields to be sent with the query when retrieving data for the chart. It represents the desired sorting order of the output result from the server.\n\nMore info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending"}},description:"Chart order options (data and series)"},showOutliers:{type:"boolean",description:"Whether to show the outliers on the chart"},standardizeValues:{type:"boolean",description:"Whether to standardize the values by calculating the series z-score"},showMean:{type:"boolean",description:"Whether to show the mean lines on the chart. Applies only if a split-by field is set. Additionally the chart will render with that option enabled only if the the series array contains one box plot series and N lines series.",default:!1}},required:["series","type","version"],description:"JSON representation of Gauge",title:"WebBoxPlot"},WebRadarChart:{type:"object",properties:{version:{type:"string",const:"24.2.0",description:"Version of the specification. Used to identify when a saved config was created."},type:{type:"string",const:"chart",description:"Represents a unique string identifier for the Chart object. For Chart object, it is **chart**."},id:{type:"string",description:"Can be used to uniquely identify a chart. The consumer app can choose whether to use it or not."},iLayer:{$ref:"#/definitions/IFeatureLayer",description:"Property representing the layer to be used by the chart. If not provided we expect a layer object to be set on the component."},dataFilters:{$ref:"#/definitions/WebChartDataFilters",description:"Used to filter the chart's data while in Layer mode."},title:{$ref:"#/definitions/WebChartText",description:"Specifies heading/title of the chart."},subtitle:{$ref:"#/definitions/WebChartText",description:"Specifies sub-heading/subtitle of the chart."},footer:{$ref:"#/definitions/WebChartText",description:"Specifies footer of the chart"},background:{$ref:"#/definitions/Color",description:"Specifies the background color of the chart.",default:[255,255,255,255]},cursorCrosshair:{$ref:"#/definitions/WebChartCursorCrosshair",description:"Specifies cursor's crosshair information for the chart. Only for XY charts."},legend:{anyOf:[{$ref:"#/definitions/WebChartLegend"},{$ref:"#/definitions/WebChartPieChartLegend"}],description:"Specifies the Legend information for the chart."},axes:{type:"array",minItems:2,items:[{$ref:"#/definitions/WebChartRadarChartAxis"},{$ref:"#/definitions/WebChartAxis"}],maxItems:2,description:"Array of two axes, one specific to the radar chart and the other one common to all charts"},horizontalAxisLabelsBehavior:{$ref:"#/definitions/WebChartLabelBehavior",description:`Represents the way the labels should behave when the horizontal axis can't display them all. The available options are: "none", "rotate", "stagger" and "wrap". For XY Chart only. Histogram can handle "none" and "rotate" only. The default value for the horizontal axis is "rotate" except for Histogram, where the default is none.`,default:"rotate"},verticalAxisLabelsBehavior:{$ref:"#/definitions/WebChartLabelBehavior",description:`Represents the way the labels should behave when the vertical axis can't display them all. For XY Chart only. The available options are: "none" and "wrap". The default value for the vertical axis is "wrap".`,default:"wrap"},series:{type:"array",items:{$ref:"#/definitions/WebChartRadarChartSeries"},description:"The radar chart series",minItems:1},rotated:{type:"boolean",description:"Specifies whether or not the chart is rotated. Applied to Bar, Line, and Combo Bar and Line charts.",default:!1},stackedType:{$ref:"#/definitions/WebChartStackedKinds",description:`Specifies how the bars/lines should be placed when multiple series are rendered in the same chart, say when "split by" operation is executed on any field or when multiple attributes/fields corresponding to the same set of classes are to be visualized.
|
|
19
19
|
|
|
20
|
-
Currently this property is only used for bar and line series.`,default:"sideBySide"},colorMatch:{type:"boolean",description:"Specifies whether to first try matching the colors from the layer renderer or the chart renderer for coloring the chart elements, like markers, line segments, columns, etc.\n\nTo do so, this property needs to be set to `true`.\n\nWhen there is no matching color found (for when `colorMatch = true`) or when `colorMatch = false`, the colors from the config, and then from the color ramps will be used, in that order.",default:!1},chartRenderer:{description:"Renderer to use to style the series when the chart uses the color match mode. Considered before the layer's renderer."},orderOptions:{type:"object",properties:{series:{$ref:"#/definitions/WebChartOrderSeriesBy",description:"How series should be ordered and displayed in a multi-series chart. If not provided the series will be displayed as they are ordered in the config."},data:{anyOf:[{$ref:"#/definitions/WebChartDirectionalDataOrder"},{$ref:"#/definitions/WebChartPredefinedLabelsDataOrder"}],description:"How data for a chart should be ordered. It is recommended to use this property over its sibling `orderByFields` to order the chart data.\n\nIf not provided, the data will be displayed as it was retrieved from the server. No additional ordering will be applied."},orderByFields:{type:"array",items:{type:"string"},description:"The orderByFields to be sent with the query when retrieving data for the chart. It represents the desired sorting order of the output result from the server.\n\nMore info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending"}},description:"Chart order options (data and series)"}},required:["axes","series","type","version"],description:"Gives a JSON representation of the Radar Chart object.",title:"WebRadarChart"},WebHeatChart:{type:"object",properties:{outTimeZone:{type:"string",description:"Defines the [IANA time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) used for temporal bin calculations Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},firstDayOfWeek:{type:"number",description:"The first day of the week. This property is used to determine the start of the week for date-based bins. The default value depends on the user locale (e.g. 7 as Sunday for a USA user, 1 as Monday for a French one). Current limitation: this is applied only when the provided layer supports the `queryBins` operation.",minimum:1,maximum:7,multipleOf:1},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"},version:{type:"string",const:"24.
|
|
20
|
+
Currently this property is only used for bar and line series.`,default:"sideBySide"},colorMatch:{type:"boolean",description:"Specifies whether to first try matching the colors from the layer renderer or the chart renderer for coloring the chart elements, like markers, line segments, columns, etc.\n\nTo do so, this property needs to be set to `true`.\n\nWhen there is no matching color found (for when `colorMatch = true`) or when `colorMatch = false`, the colors from the config, and then from the color ramps will be used, in that order.",default:!1},chartRenderer:{description:"Renderer to use to style the series when the chart uses the color match mode. Considered before the layer's renderer."},orderOptions:{type:"object",properties:{series:{$ref:"#/definitions/WebChartOrderSeriesBy",description:"How series should be ordered and displayed in a multi-series chart. If not provided the series will be displayed as they are ordered in the config."},data:{anyOf:[{$ref:"#/definitions/WebChartDirectionalDataOrder"},{$ref:"#/definitions/WebChartPredefinedLabelsDataOrder"}],description:"How data for a chart should be ordered. It is recommended to use this property over its sibling `orderByFields` to order the chart data.\n\nIf not provided, the data will be displayed as it was retrieved from the server. No additional ordering will be applied."},orderByFields:{type:"array",items:{type:"string"},description:"The orderByFields to be sent with the query when retrieving data for the chart. It represents the desired sorting order of the output result from the server.\n\nMore info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending"}},description:"Chart order options (data and series)"}},required:["axes","series","type","version"],description:"Gives a JSON representation of the Radar Chart object.",title:"WebRadarChart"},WebHeatChart:{type:"object",properties:{outTimeZone:{type:"string",description:"Defines the [IANA time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) used for temporal bin calculations Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},firstDayOfWeek:{type:"number",description:"The first day of the week. This property is used to determine the start of the week for date-based bins. The default value depends on the user locale (e.g. 7 as Sunday for a USA user, 1 as Monday for a French one). Current limitation: this is applied only when the provided layer supports the `queryBins` operation.",minimum:1,maximum:7,multipleOf:1},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"},version:{type:"string",const:"24.2.0",description:"Version of the specification. Used to identify when a saved config was created."},type:{type:"string",const:"chart",description:"Represents a unique string identifier for the Chart object. For Chart object, it is **chart**."},id:{type:"string",description:"Can be used to uniquely identify a chart. The consumer app can choose whether to use it or not."},iLayer:{$ref:"#/definitions/IFeatureLayer",description:"Property representing the layer to be used by the chart. If not provided we expect a layer object to be set on the component."},dataFilters:{$ref:"#/definitions/WebChartDataFilters",description:"Used to filter the chart's data while in Layer mode."},title:{$ref:"#/definitions/WebChartText",description:"Specifies heading/title of the chart."},subtitle:{$ref:"#/definitions/WebChartText",description:"Specifies sub-heading/subtitle of the chart."},footer:{$ref:"#/definitions/WebChartText",description:"Specifies footer of the chart"},background:{$ref:"#/definitions/Color",description:"Specifies the background color of the chart.",default:[255,255,255,255]},cursorCrosshair:{$ref:"#/definitions/WebChartCursorCrosshair",description:"Specifies cursor's crosshair information for the chart. Only for XY charts."},legend:{anyOf:[{$ref:"#/definitions/WebChartLegend"},{$ref:"#/definitions/WebChartPieChartLegend"}],description:"Specifies the Legend information for the chart."},axes:{type:"array",items:{$ref:"#/definitions/WebChartAxis"},minItems:1,maxItems:3,description:"Represents an array of **at least 1 or at most 3** Chart Axis accompanying the chart. The axes property is optional because Pie chart does not use any axis. The third axis config is used when a series `assignToSecondValueAxis` is set to `true`. Some of the axis features won't apply to the third axis (e.g. labels behaviors)."},horizontalAxisLabelsBehavior:{$ref:"#/definitions/WebChartLabelBehavior",description:`Represents the way the labels should behave when the horizontal axis can't display them all. The available options are: "none", "rotate", "stagger" and "wrap". For XY Chart only. Histogram can handle "none" and "rotate" only. The default value for the horizontal axis is "rotate" except for Histogram, where the default is none.`,default:"rotate"},verticalAxisLabelsBehavior:{$ref:"#/definitions/WebChartLabelBehavior",description:`Represents the way the labels should behave when the vertical axis can't display them all. For XY Chart only. The available options are: "none" and "wrap". The default value for the vertical axis is "wrap".`,default:"wrap"},series:{type:"array",items:{$ref:"#/definitions/WebChartHeatChartSeries"},description:"The heat chart series",minItems:1},rotated:{type:"boolean",description:"Specifies whether or not the chart is rotated. Applied to Bar, Line, and Combo Bar and Line charts.",default:!1},stackedType:{$ref:"#/definitions/WebChartStackedKinds",description:`Specifies how the bars/lines should be placed when multiple series are rendered in the same chart, say when "split by" operation is executed on any field or when multiple attributes/fields corresponding to the same set of classes are to be visualized.
|
|
21
21
|
|
|
22
22
|
Currently this property is only used for bar and line series.`,default:"sideBySide"},colorMatch:{type:"boolean",description:"Specifies whether to first try matching the colors from the layer renderer or the chart renderer for coloring the chart elements, like markers, line segments, columns, etc.\n\nTo do so, this property needs to be set to `true`.\n\nWhen there is no matching color found (for when `colorMatch = true`) or when `colorMatch = false`, the colors from the config, and then from the color ramps will be used, in that order.",default:!1},chartRenderer:{description:"Renderer to use to style the series when the chart uses the color match mode. Considered before the layer's renderer."},orderOptions:{type:"object",properties:{series:{$ref:"#/definitions/WebChartOrderSeriesBy",description:"How series should be ordered and displayed in a multi-series chart. If not provided the series will be displayed as they are ordered in the config."},data:{anyOf:[{$ref:"#/definitions/WebChartDirectionalDataOrder"},{$ref:"#/definitions/WebChartPredefinedLabelsDataOrder"}],description:"How data for a chart should be ordered. It is recommended to use this property over its sibling `orderByFields` to order the chart data.\n\nIf not provided, the data will be displayed as it was retrieved from the server. No additional ordering will be applied."},orderByFields:{type:"array",items:{type:"string"},description:"The orderByFields to be sent with the query when retrieving data for the chart. It represents the desired sorting order of the output result from the server.\n\nMore info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending"}},description:"Chart order options (data and series)"}},required:["series","type","version"],description:"Gives a JSON representation of the Heat Chart object.",title:"WebHeatChart"},SupportedLayer:{anyOf:[{$ref:"#/definitions/__esri.FeatureLayer"},{$ref:"#/definitions/__esri.SubtypeSublayer"}],description:"Supported layer type for ArcGIS charts.",title:"SupportedLayer"},"__esri.FeatureLayer":{type:"object",properties:{useViewTime:{type:"boolean"},maxScale:{type:"number"},minScale:{type:"number"},publishingInfo:{anyOf:[{$ref:"#/definitions/__esri.PublishingInfo"},{$ref:"#/definitions/nullish"}]},persistenceEnabled:{type:"boolean"},capabilities:{anyOf:[{$ref:"#/definitions/__esri.Capabilities"},{$ref:"#/definitions/nullish"}]},copyright:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},dateFieldsTimeZone:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},datesInUnknownTimezone:{type:"boolean"},definitionExpression:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},displayField:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},editFieldsInfo:{anyOf:[{$ref:"#/definitions/__esri.EditFieldsInfo"},{$ref:"#/definitions/nullish"}]},editingInfo:{anyOf:[{$ref:"#/definitions/__esri.EditingInfo"},{$ref:"#/definitions/nullish"}]},effectiveCapabilities:{anyOf:[{$ref:"#/definitions/__esri.Capabilities"},{$ref:"#/definitions/nullish"}]},effectiveEditingEnabled:{type:"boolean"},fieldsIndex:{$ref:"#/definitions/__esri.FieldsIndex"},gdbVersion:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},geometryFieldsInfo:{anyOf:[{$ref:"#/definitions/__esri.GeometryFieldsInfo"},{$ref:"#/definitions/nullish"}]},geometryType:{anyOf:[{type:"string",const:"point"},{type:"string",const:"multipoint"},{type:"string",const:"polyline"},{type:"string",const:"polygon"},{type:"string",const:"multipatch"},{type:"string",const:"mesh"},{$ref:"#/definitions/nullish"}]},globalIdField:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},hasM:{type:"boolean"},hasZ:{type:"boolean"},isTable:{type:"boolean"},layerId:{anyOf:[{type:"number"},{$ref:"#/definitions/nullish"}]},objectIdField:{type:"string"},preferredTimeZone:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},relationships:{anyOf:[{type:"array",items:{$ref:"#/definitions/__esri.Relationship"}},{$ref:"#/definitions/nullish"}]},returnM:{anyOf:[{type:"boolean"},{$ref:"#/definitions/nullish"}]},returnZ:{anyOf:[{type:"boolean"},{$ref:"#/definitions/nullish"}]},serviceDefinitionExpression:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},serviceItemId:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},sourceJSON:{anyOf:[{},{$ref:"#/definitions/nullish"}]},subtypeField:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},subtypes:{anyOf:[{type:"array",items:{$ref:"#/definitions/__esri.Subtype"}},{$ref:"#/definitions/nullish"}]},title:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},url:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},version:{anyOf:[{type:"number"},{$ref:"#/definitions/nullish"}]},displayFilterEnabled:{type:"boolean"},displayFilterInfo:{anyOf:[{$ref:"#/definitions/__esri.DisplayFilterInfo"},{$ref:"#/definitions/nullish"}]},customParameters:{anyOf:[{},{$ref:"#/definitions/nullish"}]},blendMode:{type:"string",enum:["average","color-burn","color-dodge","color","darken","destination-atop","destination-in","destination-out","destination-over","difference","exclusion","hard-light","hue","invert","lighten","lighter","luminosity","minus","multiply","normal","overlay","plus","reflect","saturation","screen","soft-light","source-atop","source-in","source-out","vivid-light","xor"]},effect:{anyOf:[{$ref:"#/definitions/__esri.Effect"},{$ref:"#/definitions/nullish"}]},apiKey:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},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:["apiKey","blendMode","capabilities","copyright","customParameters","dateFieldsTimeZone","datesInUnknownTimezone","declaredClass","definitionExpression","destroyed","displayField","displayFilterEnabled","displayFilterInfo","editFieldsInfo","editingInfo","effect","effectiveCapabilities","effectiveEditingEnabled","fieldsIndex","gdbVersion","geometryFieldsInfo","geometryType","globalIdField","hasM","hasZ","initialized","isTable","layerId","loadError","loadStatus","loadWarnings","maxScale","minScale","objectIdField","persistenceEnabled","preferredTimeZone","publishingInfo","relationships","returnM","returnZ","serviceDefinitionExpression","serviceItemId","sourceJSON","subtypeField","subtypes","title","uid","url","useViewTime","version"],title:"__esri.FeatureLayer"},"__esri.Layer":{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.Layer"},"__esri.Accessor":{type:"object",properties:{destroyed:{type:"boolean"},initialized:{type:"boolean"},declaredClass:{type:"string"}},required:["destroyed","initialized","declaredClass"],title:"__esri.Accessor"},"__esri.Loadable":{type:"object",properties:{loadError:{anyOf:[{$ref:"#/definitions/__esri.Error"},{$ref:"#/definitions/nullish"}]},loadStatus:{type:"string",enum:["not-loaded","loading","failed","loaded"]},loadWarnings:{type:"array",items:{}}},required:["loadError","loadStatus","loadWarnings"],title:"__esri.Loadable"},"__esri.Error":{type:"object",properties:{details:{anyOf:[{},{$ref:"#/definitions/nullish"}],description:`The details object provides additional details specific to the error, giving more information about why the error was raised.
|
|
23
23
|
|