@arcgis/charts-components 4.34.0-next.90 → 4.34.0-next.91
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/LICENSE.md +9 -5
- package/README.md +12 -7
- package/dist/cdn/{ZVHZCHQK.js → 232CJ6IO.js} +2 -2
- package/dist/cdn/{4EQKN3K6.js → 25YSBKOC.js} +2 -2
- package/dist/cdn/{W7HJO5JO.js → 2BERB6EZ.js} +2 -2
- package/dist/cdn/{63MYH7RX.js → 2FIRWZQI.js} +2 -2
- package/dist/cdn/{WEIJOLPC.js → 2ISL6GK2.js} +2 -2
- package/dist/cdn/{XEX34HJG.js → 34MIDSNQ.js} +2 -2
- package/dist/cdn/{OCZEYHJV.js → 35HPDKQQ.js} +2 -2
- package/dist/cdn/{DUY5ETWZ.js → 35SWI3LD.js} +2 -2
- package/dist/cdn/{7VE46TSL.js → 3EBVG3GL.js} +2 -2
- package/dist/cdn/{5QWJXEHH.js → 3TAXCMSE.js} +2 -2
- package/dist/cdn/{EQYTZTCE.js → 3UPRQSO3.js} +2 -2
- package/dist/cdn/{THHZV7OY.js → 3Y2GHKF2.js} +2 -2
- package/dist/cdn/{4TH2NQ3L.js → 42OODB36.js} +2 -2
- package/dist/cdn/{VTRPV7HT.js → 4DLX6S7P.js} +2 -2
- package/dist/cdn/{CN4HD5TB.js → 4FPF43FS.js} +2 -2
- package/dist/cdn/{4O57ZOHA.js → 4PNQJMGZ.js} +2 -2
- package/dist/cdn/{IOOBBQPX.js → 5AK7A4G7.js} +2 -2
- package/dist/cdn/{3R7UGBK5.js → 5BDT6XRI.js} +2 -2
- package/dist/cdn/{FHOBPUEH.js → 5DVP2AQK.js} +2 -2
- package/dist/cdn/{VAKHSHQ3.js → 5ESUPQXY.js} +2 -2
- package/dist/cdn/{26W27VO7.js → 5HYKUEKN.js} +2 -2
- package/dist/cdn/{7MT2JUDO.js → 5ZUPS5LK.js} +2 -2
- package/dist/cdn/{NKJP5NFR.js → 63OZTRKC.js} +2 -2
- package/dist/cdn/{JMTXZ6D2.js → 642GKAVM.js} +2 -2
- package/dist/cdn/{3GEGIBW6.js → 6ATH3PPN.js} +2 -2
- package/dist/cdn/{JGC73HS4.js → 6B7L6OF3.js} +2 -2
- package/dist/cdn/{STRYFLJ6.js → 6DI3BRCC.js} +2 -2
- package/dist/cdn/{KR32OZZU.js → 6K64VPWF.js} +2 -2
- package/dist/cdn/{IK7W4TVR.js → 6NT2JOSE.js} +2 -2
- package/dist/cdn/{GBWO34PU.js → 6Q7BDQDY.js} +2 -2
- package/dist/cdn/{H2MCFKZB.js → 6XEONNYH.js} +2 -2
- package/dist/cdn/{ZILWGU3G.js → 6Z4O2S3Z.js} +2 -2
- package/dist/cdn/{HF4G5HUY.js → 74XYSED3.js} +2 -2
- package/dist/cdn/{XNQU6XUA.js → 7HVCEIJW.js} +2 -2
- package/dist/cdn/{4QINI5VH.js → 7JEUU3OM.js} +2 -2
- package/dist/cdn/{YUZZ27TQ.js → AAREZ6F6.js} +2 -2
- package/dist/cdn/{HGPTXRFH.js → AEXMCPAA.js} +2 -2
- package/dist/cdn/{ZPXWCXJR.js → AGTURMMM.js} +2 -2
- package/dist/cdn/{5S4TRXNW.js → AIKP44TY.js} +2 -2
- package/dist/cdn/{TQV4NZBZ.js → AM5WJNK6.js} +2 -2
- package/dist/cdn/{56HY2WN4.js → AUPCIJ4O.js} +2 -2
- package/dist/cdn/{6UYDTIPR.js → B22QAGGB.js} +2 -2
- package/dist/cdn/{3KHDXZIJ.js → B2XGDQLC.js} +2 -2
- package/dist/cdn/{HTLXIQNT.js → B7F65C6A.js} +2 -2
- package/dist/cdn/{OVW4JLCH.js → BF3QOT2Z.js} +2 -2
- package/dist/cdn/{ZJWNV32W.js → BKSHKQGE.js} +2 -2
- package/dist/cdn/{DPUSAAMD.js → BYMWSGYJ.js} +2 -2
- package/dist/cdn/{5HFBBREG.js → CDUULVG7.js} +2 -2
- package/dist/cdn/{F4KCMGLH.js → CF6YL4D2.js} +2 -2
- package/dist/cdn/{HYS7CIEW.js → CGWB4ACP.js} +2 -2
- package/dist/cdn/{ASR3MUOG.js → CL2AWAE5.js} +2 -2
- package/dist/cdn/{3SFNMCB6.js → CWZ64NXI.js} +2 -2
- package/dist/cdn/{3BTWR2TF.js → CXMBVKOJ.js} +2 -2
- package/dist/cdn/{YCWL6M2Z.js → DDWA4E5V.js} +2 -2
- package/dist/cdn/{5FQG43R6.js → DFOVZES3.js} +1 -1
- package/dist/cdn/{YEHCLMUQ.js → DHD6JVBD.js} +2 -2
- package/dist/cdn/{YYCR4MIC.js → DMPSLJZ2.js} +2 -2
- package/dist/cdn/{TDL2FVZ6.js → DNGWYZHR.js} +2 -2
- package/dist/cdn/{W2UOXIEK.js → DOKCICVV.js} +2 -2
- package/dist/cdn/{VINZQ2AT.js → DT4K4JJK.js} +2 -2
- package/dist/cdn/{5P2WNLUN.js → DZZOSJKV.js} +2 -2
- package/dist/cdn/{FFGZVYUZ.js → EHZUNEVM.js} +2 -2
- package/dist/cdn/{CWEWLSVR.js → EJN37VWY.js} +2 -2
- package/dist/cdn/{AHEDSUHQ.js → EKOXDJZG.js} +2 -2
- package/dist/cdn/{LZCNRFB5.js → EUMYMS5W.js} +2 -2
- package/dist/cdn/{MW625YXW.js → F77AW7SW.js} +2 -2
- package/dist/cdn/{QFI5XSCD.js → FAD3K35W.js} +2 -2
- package/dist/cdn/{LLI6474U.js → FCLPECPT.js} +2 -2
- package/dist/cdn/{G3ZOMIGM.js → FGCEZ4EZ.js} +2 -2
- package/dist/cdn/{WLDCAAMM.js → FNTT34AP.js} +2 -2
- package/dist/cdn/{TTXV4JBG.js → FO3J6JB3.js} +2 -2
- package/dist/cdn/{3G6KRD2Y.js → FXUEUQ63.js} +2 -2
- package/dist/cdn/{UZLZXX5N.js → FYTCC2AR.js} +2 -2
- package/dist/cdn/{4C3VNLB4.js → G3CREMPP.js} +2 -2
- package/dist/cdn/{YASVBLFV.js → G5LFMGAH.js} +2 -2
- package/dist/cdn/{2H7YY5MR.js → GEFD7Y6H.js} +2 -2
- package/dist/cdn/{4JETSKRY.js → GFJVOOT5.js} +2 -2
- package/dist/cdn/{3DNBADDB.js → GM3FOEGE.js} +16 -16
- package/dist/cdn/{YNWT5NDH.js → H6FG3RAM.js} +2 -2
- package/dist/cdn/{OCTTORZ7.js → HKSAX6JA.js} +2 -2
- package/dist/cdn/{4RP5ZR4E.js → HNMLUD5W.js} +2 -2
- package/dist/cdn/{5KMRTFBC.js → HO3OYWNG.js} +2 -2
- package/dist/cdn/{WJGPTAKE.js → HR46KCNG.js} +2 -2
- package/dist/cdn/{SGO6RDUF.js → I2JT3FJQ.js} +2 -2
- package/dist/cdn/{RCCHPBZJ.js → I4Z25IHJ.js} +1 -1
- package/dist/cdn/{DTHGSK7Z.js → IG3FE5NZ.js} +2 -2
- package/dist/cdn/{R7QICAM6.js → IHZLRAWB.js} +2 -2
- package/dist/cdn/{SCL4NLB4.js → J45WSCYM.js} +2 -2
- package/dist/cdn/{AOPWSBJQ.js → J5IFJFKF.js} +2 -2
- package/dist/cdn/{OMW3NN4A.js → J6ZPABRE.js} +2 -2
- package/dist/cdn/{MCILAMGD.js → J7MAGGJF.js} +2 -2
- package/dist/cdn/{NCPW4RHH.js → JBZFCJRO.js} +2 -2
- package/dist/cdn/{R3QN525M.js → JFI3DUV4.js} +2 -2
- package/dist/cdn/{QXTT6GGN.js → JJRK46TH.js} +2 -2
- package/dist/cdn/{CWEM5LM2.js → JO356SRK.js} +2 -2
- package/dist/cdn/{BJBWPN3D.js → JVZYKEBR.js} +2 -2
- package/dist/cdn/{IE76XU3S.js → JWKJ7CQQ.js} +2 -2
- package/dist/cdn/{TPVRVWWY.js → K3VSASGW.js} +2 -2
- package/dist/cdn/{4BIAGREX.js → K74GGNBS.js} +2 -2
- package/dist/cdn/{QRIFAYDB.js → KDVOP45P.js} +2 -2
- package/dist/cdn/{RIXJLTCD.js → KH7YGEXK.js} +1 -1
- package/dist/cdn/{HL7FVL6K.js → KKNVPFTK.js} +2 -2
- package/dist/cdn/{FINOP6WY.js → LBEFNTIE.js} +2 -2
- package/dist/cdn/{EDWTEMCX.js → LGOVT5H7.js} +2 -2
- package/dist/cdn/{6QCWIQWN.js → LMMNYHV3.js} +2 -2
- package/dist/cdn/{ZI5EHTUG.js → LSSN77BQ.js} +2 -2
- package/dist/cdn/{BOYEYOYQ.js → LTAE5RFA.js} +2 -2
- package/dist/cdn/{MCOS4NNC.js → M6Y5VR4Q.js} +2 -2
- package/dist/cdn/{CXTCJKMZ.js → M7BX5Z6G.js} +2 -2
- package/dist/cdn/{44MXWKXD.js → MEA4UOVL.js} +1 -1
- package/dist/cdn/{3QJQ5XM5.js → MLKRG67T.js} +1 -1
- package/dist/cdn/{HJGZ4ICP.js → MOKIXNCS.js} +2 -2
- package/dist/cdn/{DATX6IXB.js → MX7N577G.js} +2 -2
- package/dist/cdn/{J4CTUUIZ.js → NGK34ZNF.js} +2 -2
- package/dist/cdn/{CHTHKICB.js → NOHLQKKY.js} +2 -2
- package/dist/cdn/{R43MLROD.js → NQCDKEXK.js} +2 -2
- package/dist/cdn/{FMRVQ7MD.js → NUOIMPAW.js} +2 -2
- package/dist/cdn/{E3EJNNCY.js → NZXHR6DN.js} +2 -2
- package/dist/cdn/{EP4CUSGG.js → O3QFER7J.js} +2 -2
- package/dist/cdn/{5BNQW26B.js → O4GUMNFJ.js} +2 -2
- package/dist/cdn/{LPRPC256.js → O6W76SJV.js} +2 -2
- package/dist/cdn/{OZTJRMZJ.js → ODA6P7HU.js} +2 -2
- package/dist/cdn/{YKSUKRW5.js → OE75ZRE4.js} +1 -1
- package/dist/cdn/{BPFS6LEU.js → OFSA7UF5.js} +2 -2
- package/dist/cdn/{W3SW7E6V.js → OTX75EFQ.js} +2 -2
- package/dist/cdn/{42IOFEYZ.js → P4VNQRZH.js} +2 -2
- package/dist/cdn/{ODD4W35M.js → P55AQKOG.js} +2 -2
- package/dist/cdn/{FT2VVCT3.js → PH3YRAXL.js} +2 -2
- package/dist/cdn/{OOPRAEFW.js → PI2IUJBO.js} +2 -2
- package/dist/cdn/{FIQGG3DF.js → Q66XVVKB.js} +2 -2
- package/dist/cdn/{GRQHFGZC.js → QS7TEYZW.js} +2 -2
- package/dist/cdn/{HUP5N2IF.js → RAGQTC4A.js} +1 -1
- package/dist/cdn/{K5QIWLMM.js → RFS63UP4.js} +2 -2
- package/dist/cdn/{6SZFEUGH.js → RLAUXAOD.js} +2 -2
- package/dist/cdn/{OJ3GNHHQ.js → RW3GCU4X.js} +2 -2
- package/dist/cdn/{DVFRVTO7.js → RY7ITDP7.js} +2 -2
- package/dist/cdn/{YXWDWLT6.js → S2YA35LF.js} +2 -2
- package/dist/cdn/{2HYMIROU.js → SFFEGKVE.js} +2 -2
- package/dist/cdn/{UNC3NUVB.js → SHTSDQ36.js} +2 -2
- package/dist/cdn/{XLZFSQSA.js → SIVGWFNN.js} +2 -2
- package/dist/cdn/{Y27M46OV.js → SM2YJDYZ.js} +2 -2
- package/dist/cdn/{GFBWUTOD.js → SNVFYLIO.js} +2 -2
- package/dist/cdn/{Q4ENZLJO.js → SQZL37RS.js} +2 -2
- package/dist/cdn/{P7JKDIPA.js → SSNLD2T4.js} +2 -2
- package/dist/cdn/{4SE7GYY2.js → T2FSGPOF.js} +2 -2
- package/dist/cdn/{W6AEUYRR.js → T3V7PU2J.js} +1 -1
- package/dist/cdn/{FY5CU2Z5.js → T7S6HIBL.js} +2 -2
- package/dist/cdn/{LZJFUISB.js → TAJ4OJCF.js} +2 -2
- package/dist/cdn/{UCHEDYZF.js → TAYWYZ63.js} +2 -2
- package/dist/cdn/{WOIQAVIQ.js → TEX6GNI3.js} +2 -2
- package/dist/cdn/{T75FI43V.js → TQYUQ4WO.js} +2 -2
- package/dist/cdn/{TM3QB6M3.js → TWVBIMEW.js} +2 -2
- package/dist/cdn/{LPITFI4J.js → TZH7GPAP.js} +1 -1
- package/dist/cdn/{3ZN46PYP.js → U3WDCW4B.js} +2 -2
- package/dist/cdn/{BCFWTFA3.js → U7DPAMY5.js} +2 -2
- package/dist/cdn/{UK4YTDTW.js → UAMTCLFU.js} +2 -2
- package/dist/cdn/{6TFI4C7P.js → UCBXTA2B.js} +2 -2
- package/dist/cdn/{WNMDTUXX.js → UGCDHNNT.js} +2 -2
- package/dist/cdn/{MAWIGOHZ.js → UN4DW2LD.js} +2 -2
- package/dist/cdn/{QL6NVGDQ.js → URT3ZLHZ.js} +2 -2
- package/dist/cdn/{UDUSXZPI.js → UWXHGHMA.js} +2 -2
- package/dist/cdn/{6EJMCCFE.js → V5ASOMDO.js} +2 -2
- package/dist/cdn/{FGQJOT64.js → VX726HIG.js} +2 -2
- package/dist/cdn/{N23JF7BD.js → WG5H74YE.js} +2 -2
- package/dist/cdn/{UQNSHNDT.js → WJNH3GJP.js} +2 -2
- package/dist/cdn/{SJ2VX5MB.js → WSHH65KY.js} +2 -2
- package/dist/cdn/{EXK5MQGD.js → X7QCST4H.js} +2 -2
- package/dist/cdn/{VRFJ2YXJ.js → XVRD5QTY.js} +2 -2
- package/dist/cdn/{AC2CNQ5I.js → YDHSHFYN.js} +2 -2
- package/dist/cdn/{QAHH3QY5.js → YXTTMZSL.js} +2 -2
- package/dist/cdn/{SUP4LCPT.js → YZXUEPQA.js} +2 -2
- package/dist/cdn/{F2UIIHKN.js → Z7J45TCY.js} +2 -2
- package/dist/cdn/{RC4OWEZC.js → Z7W6NE6G.js} +2 -2
- package/dist/cdn/{2OEQCMWA.js → ZMV3WA3X.js} +2 -2
- package/dist/cdn/{PFHCAZ6V.js → ZT2QDO2X.js} +2 -2
- package/dist/cdn/{OIERPONA.js → ZVXU3P5Z.js} +2 -2
- package/dist/cdn/{6UB527Y4.js → ZYP5NGQL.js} +2 -2
- package/dist/cdn/{GZ2CNJ5O.js → ZZOOFWK5.js} +1 -1
- package/dist/cdn/assets/chart/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/model.js +2 -2
- 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 +1 -1
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/index5.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/interfaces2.js +1 -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-rotation.js +1 -1
- package/dist/chunks/model-with-y-guides.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 +1 -1
- 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 +1 -1
- 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.d.ts +31 -0
- package/dist/components/arcgis-chart/customElement.js +3872 -3840
- 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 +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- 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 +111 -2
- package/dist/docs/docs.json +94 -2
- package/dist/docs/vscode.html-custom-data.json +11 -1
- package/dist/docs/web-types.json +38 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/model.js +1 -1
- package/dist/types/lumina.d.ts +2 -1
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/react.d.ts +2 -1
- package/dist/types/stencil.d.ts +2 -1
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as Se,b as Mt,c as ii,d as zt,e as hr,f as ai,g as Fe,k as yr,l as It,x as ha}from"./W6AEUYRR.js";import{b as ya,c as he,d as ye}from"./GZ2CNJ5O.js";import{F as fe}from"./RCCHPBZJ.js";import{a as C,b as le,c as ti,e as da,f as er,h as it,i as pa,k as ri,l as Pe,m as kt,p as ca,q as Nt,s as lt,u as ua,v as fa,x as Wt,y as Le}from"./LPITFI4J.js";import{b as W,d as la}from"./YKSUKRW5.js";export default $arcgis.t(([{substitute:Ne},Ni,Bn,kn,Td,_i,Pd,Fd,Ad,Ed,$d,Od,Wn,Wi])=>{var Ta=W((br,Ca)=>{(function(t,e){typeof br=="object"&&typeof Ca<"u"?e(br):typeof define=="function"&&define.amd?define(["exports"],e):e(t.URI=t.URI||{})})(br,function(t){"use strict";function e(){for(var g=arguments.length,f=Array(g),v=0;v<g;v++)f[v]=arguments[v];if(f.length>1){f[0]=f[0].slice(0,-1);for(var w=f.length-1,x=1;x<w;++x)f[x]=f[x].slice(1,-1);return f[w]=f[w].slice(1),f.join("")}else return f[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,f){var v=g;if(f)for(var w in f)v[w]=f[w];return v}function n(g){var f="[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)),be="[\\:\\/\\?\\#\\[\\]\\@]",H="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",ne=e(be,H),ve=g?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",se=g?"[\\uE000-\\uF8FF]":"[]",K=e(f,w,"[\\-\\.\\_\\~]",ve),oe=i(f+e(f,w,"[\\+\\-\\.]")+"*"),te=i(i(X+"|"+e(K,H,"[\\:]"))+"*"),vt=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),Ge=i("\\:\\:"+i(ie+"\\:")+"{5}"+_e),St=i(i(ie)+"?\\:\\:"+i(ie+"\\:")+"{4}"+_e),et=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)+"?\\:\\:"),tt=i([ke,Ge,St,et,Jt,cr,ur,Lt,Rt].join("|")),jt=i(i(K+"|"+X)+"+"),Xr=i(tt+"\\%25"+jt),wt=i(tt+i("\\%25|\\%(?!"+j+"{2})")+jt),Ao=i("[vV]"+j+"+\\."+e(K,H,"[\\:]")+"+"),Eo=i("\\["+i(wt+"|"+tt+"|"+Ao)+"\\]"),aa=i(i(X+"|"+e(K,H))+"*"),Kt=i(Eo+"|"+Be+"(?!"+aa+")|"+aa),Zt=i(w+"*"),sa=i(i(te+"@")+"?"+Kt+i("\\:"+Zt)+"?"),Yt=i(X+"|"+e(K,H,"[\\:\\@]")),$o=i(Yt+"*"),na=i(Yt+"+"),Oo=i(i(X+"|"+e(K,H,"[\\@]"))+"+"),rt=i(i("\\/"+$o)+"*"),_t=i("\\/"+i(na+rt)+"?"),ei=i(Oo+rt),fr=i(na+rt),qt="(?!"+Yt+")",ru=i(rt+"|"+_t+"|"+ei+"|"+fr+"|"+qt),Bt=i(i(Yt+"|"+e("[\\/\\?]",se))+"*"),Xt=i(i(Yt+"|[\\/\\?]")+"*"),oa=i(i("\\/\\/"+sa+rt)+"|"+_t+"|"+fr+"|"+qt),Do=i(oe+"\\:"+oa+i("\\?"+Bt)+"?"+i("\\#"+Xt)+"?"),Lo=i(i("\\/\\/"+sa+rt)+"|"+_t+"|"+ei+"|"+qt),Ro=i(Lo+i("\\?"+Bt)+"?"+i("\\#"+Xt)+"?"),iu=i(Do+"|"+Ro),au=i(oe+"\\:"+oa+i("\\?"+Bt)+"?"),su="^("+oe+")\\:"+i(i("\\/\\/("+i("("+te+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?)")+"?("+rt+"|"+_t+"|"+fr+"|"+qt+")")+i("\\?("+Bt+")")+"?"+i("\\#("+Xt+")")+"?$",nu="^(){0}"+i(i("\\/\\/("+i("("+te+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?)")+"?("+rt+"|"+_t+"|"+ei+"|"+qt+")")+i("\\?("+Bt+")")+"?"+i("\\#("+Xt+")")+"?$",ou="^("+oe+")\\:"+i(i("\\/\\/("+i("("+te+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?)")+"?("+rt+"|"+_t+"|"+fr+"|"+qt+")")+i("\\?("+Bt+")")+"?$",lu="^"+i("\\#("+Xt+")")+"?$",du="^"+i("("+te+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?$";return{NOT_SCHEME:new RegExp(e("[^]",f,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,"[\\:\\@\\/\\?]",se),"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,ne),"g"),PCT_ENCODED:new RegExp(X,"g"),IPV4ADDRESS:new RegExp("^("+Be+")$"),IPV6ADDRESS:new RegExp("^\\[?("+tt+")"+i(i("\\%25|\\%(?!"+j+"{2})")+"("+jt+")")+"?\\]?$")}}var d=n(!1),u=n(!0),p=function(){function g(f,v){var w=[],x=!0,j=!1,M=void 0;try{for(var Q=f[Symbol.iterator](),X;!(x=(X=Q.next()).done)&&(w.push(X.value),!(v&&w.length===v));x=!0);}catch(be){j=!0,M=be}finally{try{!x&&Q.return&&Q.return()}finally{if(j)throw M}}return w}return function(f,v){if(Array.isArray(f))return f;if(Symbol.iterator in Object(f))return g(f,v);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),c=function(g){if(Array.isArray(g)){for(var f=0,v=Array(g.length);f<g.length;f++)v[f]=g[f];return v}else return Array.from(g)},h=2147483647,l=36,m=1,b=26,y=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-m,R=Math.floor,O=String.fromCharCode;function q(g){throw new RangeError(L[g])}function E(g,f){for(var v=[],w=g.length;w--;)v[w]=f(g[w]);return v}function D(g,f){var v=g.split("@"),w="";v.length>1&&(w=v[0]+"@",g=v[1]),g=g.replace(_,".");var x=g.split("."),j=E(x,f).join(".");return w+j}function B(g){for(var f=[],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?f.push(((x&1023)<<10)+(j&1023)+65536):(f.push(x),v--)}else f.push(x)}return f}var ee=function(f){return String.fromCodePoint.apply(String,c(f))},V=function(f){return f-48<10?f-22:f-65<26?f-65:f-97<26?f-97:l},G=function(f,v){return f+22+75*(f<26)-((v!=0)<<5)},z=function(f,v,w){var x=0;for(f=w?R(f/S):f>>1,f+=R(f/v);f>A*b>>1;x+=l)f=R(f/A);return R(x+(A+1)*f/(f+y))},N=function(f){var v=[],w=f.length,x=0,j=I,M=T,Q=f.lastIndexOf(P);Q<0&&(Q=0);for(var X=0;X<Q;++X)f.charCodeAt(X)>=128&&q("not-basic"),v.push(f.charCodeAt(X));for(var be=Q>0?Q+1:0;be<w;){for(var H=x,ne=1,ve=l;;ve+=l){be>=w&&q("invalid-input");var se=V(f.charCodeAt(be++));(se>=l||se>R((h-x)/ne))&&q("overflow"),x+=se*ne;var K=ve<=M?m:ve>=M+b?b:ve-M;if(se<K)break;var oe=l-K;ne>R(h/oe)&&q("overflow"),ne*=oe}var te=v.length+1;M=z(x-H,te,H==0),R(x/te)>h-j&&q("overflow"),j+=R(x/te),x%=te,v.splice(x++,0,j)}return String.fromCodePoint.apply(String,v)},pe=function(f){var v=[];f=B(f);var w=f.length,x=I,j=0,M=T,Q=!0,X=!1,be=void 0;try{for(var H=f[Symbol.iterator](),ne;!(Q=(ne=H.next()).done);Q=!0){var ve=ne.value;ve<128&&v.push(O(ve))}}catch(wt){X=!0,be=wt}finally{try{!Q&&H.return&&H.return()}finally{if(X)throw be}}var se=v.length,K=se;for(se&&v.push(P);K<w;){var oe=h,te=!0,vt=!1,je=void 0;try{for(var Be=f[Symbol.iterator](),ie;!(te=(ie=Be.next()).done);te=!0){var _e=ie.value;_e>=x&&_e<oe&&(oe=_e)}}catch(wt){vt=!0,je=wt}finally{try{!te&&Be.return&&Be.return()}finally{if(vt)throw je}}var ke=K+1;oe-x>R((h-j)/ke)&&q("overflow"),j+=(oe-x)*ke,x=oe;var Ge=!0,St=!1,et=void 0;try{for(var Jt=f[Symbol.iterator](),cr;!(Ge=(cr=Jt.next()).done);Ge=!0){var ur=cr.value;if(ur<x&&++j>h&&q("overflow"),ur==x){for(var Lt=j,Rt=l;;Rt+=l){var tt=Rt<=M?m:Rt>=M+b?b:Rt-M;if(Lt<tt)break;var jt=Lt-tt,Xr=l-tt;v.push(O(G(tt+jt%Xr,0))),Lt=R(jt/Xr)}v.push(O(G(Lt,0))),M=z(j,ke,K==se),j=0,++K}}}catch(wt){St=!0,et=wt}finally{try{!Ge&&Jt.return&&Jt.return()}finally{if(St)throw et}}++j,++x}return v.join("")},Ce=function(f){return D(f,function(v){return F.test(v)?N(v.slice(4).toLowerCase()):v})},Ee=function(f){return D(f,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},me={};function we(g){var f=g.charCodeAt(0),v=void 0;return f<16?v="%0"+f.toString(16).toUpperCase():f<128?v="%"+f.toString(16).toUpperCase():f<2048?v="%"+(f>>6|192).toString(16).toUpperCase()+"%"+(f&63|128).toString(16).toUpperCase():v="%"+(f>>12|224).toString(16).toUpperCase()+"%"+(f>>6&63|128).toString(16).toUpperCase()+"%"+(f&63|128).toString(16).toUpperCase(),v}function $e(g){for(var f="",v=0,w=g.length;v<w;){var x=parseInt(g.substr(v+1,2),16);if(x<128)f+=String.fromCharCode(x),v+=3;else if(x>=194&&x<224){if(w-v>=6){var j=parseInt(g.substr(v+4,2),16);f+=String.fromCharCode((x&31)<<6|j&63)}else f+=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);f+=String.fromCharCode((x&15)<<12|(M&63)<<6|Q&63)}else f+=g.substr(v,9);v+=9}else f+=g.substr(v,3),v+=3}return f}function nt(g,f){function v(w){var x=$e(w);return x.match(f.UNRESERVED)?x:w}return g.scheme&&(g.scheme=String(g.scheme).replace(f.PCT_ENCODED,v).toLowerCase().replace(f.NOT_SCHEME,"")),g.userinfo!==void 0&&(g.userinfo=String(g.userinfo).replace(f.PCT_ENCODED,v).replace(f.NOT_USERINFO,we).replace(f.PCT_ENCODED,r)),g.host!==void 0&&(g.host=String(g.host).replace(f.PCT_ENCODED,v).toLowerCase().replace(f.NOT_HOST,we).replace(f.PCT_ENCODED,r)),g.path!==void 0&&(g.path=String(g.path).replace(f.PCT_ENCODED,v).replace(g.scheme?f.NOT_PATH:f.NOT_PATH_NOSCHEME,we).replace(f.PCT_ENCODED,r)),g.query!==void 0&&(g.query=String(g.query).replace(f.PCT_ENCODED,v).replace(f.NOT_QUERY,we).replace(f.PCT_ENCODED,r)),g.fragment!==void 0&&(g.fragment=String(g.fragment).replace(f.PCT_ENCODED,v).replace(f.NOT_FRAGMENT,we).replace(f.PCT_ENCODED,r)),g}function Ye(g){return g.replace(/^0*(.*)/,"$1")||"0"}function ge(g,f){var v=g.match(f.IPV4ADDRESS)||[],w=p(v,2),x=w[1];return x?x.split(".").map(Ye).join("."):g}function ce(g,f){var v=g.match(f.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],be=Q[1],H=be?be.split(":").map(Ye):[],ne=X.split(":").map(Ye),ve=f.IPV4ADDRESS.test(ne[ne.length-1]),se=ve?7:8,K=ne.length-se,oe=Array(se),te=0;te<se;++te)oe[te]=H[te]||ne[K+te]||"";ve&&(oe[se-1]=ge(oe[se-1],f));var vt=oe.reduce(function(ke,Ge,St){if(!Ge||Ge==="0"){var et=ke[ke.length-1];et&&et.index+et.length===St?et.length++:ke.push({index:St,length:1})}return ke},[]),je=vt.sort(function(ke,Ge){return Ge.length-ke.length})[0],Be=void 0;if(je&&je.length>1){var ie=oe.slice(0,je.index),_e=oe.slice(je.index+je.length);Be=ie.join(":")+"::"+_e.join(":")}else Be=oe.join(":");return j&&(Be+="%"+j),Be}else return g}var mt=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Te="".match(/(){0}/)[1]===void 0;function Y(g){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v={},w=f.iri!==!1?u:d;f.reference==="suffix"&&(g=(f.scheme?f.scheme+":":"")+"//"+g);var x=g.match(mt);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(ge(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",f.reference&&f.reference!=="suffix"&&f.reference!==v.reference&&(v.error=v.error||"URI is not a "+f.reference+" reference.");var j=me[(f.scheme||v.scheme||"").toLowerCase()];if(!f.unicodeSupport&&(!j||!j.unicodeSupport)){if(v.host&&(f.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,f)}else v.error=v.error||"URI can not be parsed.";return v}function ot(g,f){var v=f.iri!==!1?u:d,w=[];return g.userinfo!==void 0&&(w.push(g.userinfo),w.push("@")),g.host!==void 0&&w.push(ce(ge(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 Xe=/^\.\.?\//,gt=/^\/\.(\/|$)/,bt=/^\/\.\.(\/|$)/,Ie=/^\/?(?:.|\n)*?(?=\/|$)/;function qe(g){for(var f=[];g.length;)if(g.match(Xe))g=g.replace(Xe,"");else if(g.match(gt))g=g.replace(gt,"/");else if(g.match(bt))g=g.replace(bt,"/"),f.pop();else if(g==="."||g==="..")g="";else{var v=g.match(Ie);if(v){var w=v[0];g=g.slice(w.length),f.push(w)}else throw new Error("Unexpected dot segment condition")}return f.join("")}function De(g){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=f.iri?u:d,w=[],x=me[(f.scheme||g.scheme||"").toLowerCase()];if(x&&x.serialize&&x.serialize(g,f),g.host&&!v.IPV6ADDRESS.test(g.host)){if(f.domainHost||x&&x.domainHost)try{g.host=f.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 "+(f.iri?"Unicode":"ASCII")+" via punycode: "+Q}}nt(g,v),f.reference!=="suffix"&&g.scheme&&(w.push(g.scheme),w.push(":"));var j=ot(g,f);if(j!==void 0&&(f.reference!=="suffix"&&w.push("//"),w.push(j),g.path&&g.path.charAt(0)!=="/"&&w.push("/")),g.path!==void 0){var M=g.path;!f.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,f){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},w=arguments[3],x={};return w||(g=Y(De(g,v),v),f=Y(De(f,v),v)),v=v||{},!v.tolerant&&f.scheme?(x.scheme=f.scheme,x.userinfo=f.userinfo,x.host=f.host,x.port=f.port,x.path=qe(f.path||""),x.query=f.query):(f.userinfo!==void 0||f.host!==void 0||f.port!==void 0?(x.userinfo=f.userinfo,x.host=f.host,x.port=f.port,x.path=qe(f.path||""),x.query=f.query):(f.path?(f.path.charAt(0)==="/"?x.path=qe(f.path):((g.userinfo!==void 0||g.host!==void 0||g.port!==void 0)&&!g.path?x.path="/"+f.path:g.path?x.path=g.path.slice(0,g.path.lastIndexOf("/")+1)+f.path:x.path=f.path,x.path=qe(x.path)),x.query=f.query):(x.path=g.path,f.query!==void 0?x.query=f.query:x.query=g.query),x.userinfo=g.userinfo,x.host=g.host,x.port=g.port),x.scheme=g.scheme),x.fragment=f.fragment,x}function Ve(g,f,v){var w=o({scheme:"null"},v);return De(Oe(Y(g,w),Y(f,w),w,!0),w)}function Re(g,f){return typeof g=="string"?g=De(Y(g,f),f):a(g)==="object"&&(g=Y(De(g,f),f)),g}function pr(g,f,v){return typeof g=="string"?g=De(Y(g,v),v):a(g)==="object"&&(g=De(g,v)),typeof f=="string"?f=De(Y(f,v),v):a(f)==="object"&&(f=De(f,v)),g===f}function Zr(g,f){return g&&g.toString().replace(!f||!f.iri?d.ESCAPE:u.ESCAPE,we)}function We(g,f){return g&&g.toString().replace(!f||!f.iri?d.PCT_ENCODED:u.PCT_ENCODED,$e)}var Ht={scheme:"http",domainHost:!0,parse:function(f,v){return f.host||(f.error=f.error||"HTTP URIs must have a host."),f},serialize:function(f,v){var w=String(f.scheme).toLowerCase()==="https";return(f.port===(w?443:80)||f.port==="")&&(f.port=void 0),f.path||(f.path="/"),f}},Ki={scheme:"https",domainHost:Ht.domainHost,parse:Ht.parse,serialize:Ht.serialize};function Zi(g){return typeof g.secure=="boolean"?g.secure:String(g.scheme).toLowerCase()==="wss"}var Qt={scheme:"ws",domainHost:!0,parse:function(f,v){var w=f;return w.secure=Zi(w),w.resourceName=(w.path||"/")+(w.query?"?"+w.query:""),w.path=void 0,w.query=void 0,w},serialize:function(f,v){if((f.port===(Zi(f)?443:80)||f.port==="")&&(f.port=void 0),typeof f.secure=="boolean"&&(f.scheme=f.secure?"wss":"ws",f.secure=void 0),f.resourceName){var w=f.resourceName.split("?"),x=p(w,2),j=x[0],M=x[1];f.path=j&&j!=="/"?j:void 0,f.query=M,f.resourceName=void 0}return f.fragment=void 0,f}},Yi={scheme:"wss",domainHost:Qt.domainHost,parse:Qt.parse,serialize:Qt.serialize},mo={},go=!0,Xi="[A-Za-z0-9\\-\\.\\_\\~"+(go?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",Ue="[0-9A-Fa-f]",bo=i(i("%[EFef]"+Ue+"%"+Ue+Ue+"%"+Ue+Ue)+"|"+i("%[89A-Fa-f]"+Ue+"%"+Ue+Ue)+"|"+i("%"+Ue+Ue)),vo="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",So="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",wo=e(So,'[\\"\\\\]'),Io="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",xo=new RegExp(Xi,"g"),Dt=new RegExp(bo,"g"),Co=new RegExp(e("[^]",vo,"[\\.]",'[\\"]',wo),"g"),ea=new RegExp(e("[^]",Xi,Io),"g"),To=ea;function Yr(g){var f=$e(g);return f.match(xo)?f:g}var ta={scheme:"mailto",parse:function(f,v){var w=f,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,be=Q.length;X<be;++X){var H=Q[X].split("=");switch(H[0]){case"to":for(var ne=H[1].split(","),ve=0,se=ne.length;ve<se;++ve)x.push(ne[ve]);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,oe=x.length;K<oe;++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(vt){w.error=w.error||"Email address's domain name can not be converted to ASCII via punycode: "+vt}x[K]=te.join("@")}return w},serialize:function(f,v){var w=f,x=s(f.to);if(x){for(var j=0,M=x.length;j<M;++j){var Q=String(x[j]),X=Q.lastIndexOf("@"),be=Q.slice(0,X).replace(Dt,Yr).replace(Dt,r).replace(Co,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]=be+"@"+H}w.path=x.join(",")}var ne=f.headers=f.headers||{};f.subject&&(ne.subject=f.subject),f.body&&(ne.body=f.body);var ve=[];for(var se in ne)ne[se]!==mo[se]&&ve.push(se.replace(Dt,Yr).replace(Dt,r).replace(ea,we)+"="+ne[se].replace(Dt,Yr).replace(Dt,r).replace(To,we));return ve.length&&(w.query=ve.join("&")),w}},Po=/^([^\:]+)\:(.*)/,ra={scheme:"urn",parse:function(f,v){var w=f.path&&f.path.match(Po),x=f;if(w){var j=v.scheme||x.scheme||"urn",M=w[1].toLowerCase(),Q=w[2],X=j+":"+(v.nid||M),be=me[X];x.nid=M,x.nss=Q,x.path=void 0,be&&(x=be.parse(x,v))}else x.error=x.error||"URN can not be parsed.";return x},serialize:function(f,v){var w=v.scheme||f.scheme||"urn",x=f.nid,j=w+":"+(v.nid||x),M=me[j];M&&(f=M.serialize(f,v));var Q=f,X=f.nss;return Q.path=(x||v.nid)+":"+X,Q}},Fo=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,ia={scheme:"urn:uuid",parse:function(f,v){var w=f;return w.uuid=w.nss,w.nss=void 0,!v.tolerant&&(!w.uuid||!w.uuid.match(Fo))&&(w.error=w.error||"UUID is not valid."),w},serialize:function(f,v){var w=f;return w.nss=(f.uuid||"").toLowerCase(),w}};me[Ht.scheme]=Ht,me[Ki.scheme]=Ki,me[Qt.scheme]=Qt,me[Yi.scheme]=Yi,me[ta.scheme]=ta,me[ra.scheme]=ra,me[ia.scheme]=ia,t.SCHEMES=me,t.pctEncChar=we,t.pctDecChars=$e,t.parse=Y,t.removeDotSegments=qe,t.serialize=De,t.resolveComponents=Oe,t.resolve=Ve,t.normalize=Re,t.equal=pr,t.escapeComponent=Zr,t.unescapeComponent=We,Object.defineProperty(t,"__esModule",{value:!0})})});var vr=W((Nu,Pa)=>{"use strict";Pa.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 Aa=W((Wu,Fa)=>{"use strict";Fa.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 Ct=W((Mu,Oa)=>{"use strict";Oa.exports={copy:No,checkDataType:oi,checkDataTypes:Wo,coerceToTypes:Mo,toHash:di,getProperty:pi,escapeQuotes:ci,equal:vr(),ucs2length:Aa(),varOccurences:Uo,varReplace:Go,schemaHasRules:Ho,schemaHasRulesExcept:Qo,schemaUnknownRules:Jo,toQuotedString:li,getPathExpr:Ko,getPath:Zo,getData:el,unescapeFragment:tl,unescapeJsonPointer:fi,escapeFragment:rl,escapeJsonPointer:ui};function No(t,e){e=e||{};for(var i in t)e[i]=t[i];return e}function oi(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 Wo(t,e,i){switch(t.length){case 1:return oi(t[0],e,i,!0);default:var a="",r=di(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?" && ":"")+oi(s,e,i,!0);return a}}var Ea=di(["string","number","integer","boolean","null"]);function Mo(t,e){if(Array.isArray(e)){for(var i=[],a=0;a<e.length;a++){var r=e[a];(Ea[r]||t==="array"&&r==="array")&&(i[i.length]=r)}if(i.length)return i}else{if(Ea[e])return[e];if(t==="array"&&e==="array")return["array"]}}function di(t){for(var e={},i=0;i<t.length;i++)e[t[i]]=!0;return e}var zo=/^[a-z$_][a-z$_0-9]*$/i,Vo=/'|\\/g;function pi(t){return typeof t=="number"?"["+t+"]":zo.test(t)?"."+t:"['"+ci(t)+"']"}function ci(t){return t.replace(Vo,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function Uo(t,e){e+="[^0-9]";var i=t.match(new RegExp(e,"g"));return i?i.length:0}function Go(t,e,i){return e+="([^0-9])",i=i.replace(/\$/g,"$$$$"),t.replace(new RegExp(e,"g"),i+"$1")}function Ho(t,e){if(typeof t=="boolean")return!t;for(var i in t)if(e[i])return!0}function Qo(t,e,i){if(typeof t=="boolean")return!t&&i!="not";for(var a in t)if(a!=i&&e[a])return!0}function Jo(t,e){if(typeof t!="boolean"){for(var i in t)if(!e[i])return i}}function li(t){return"'"+ci(t)+"'"}function Ko(t,e,i,a){var r=i?"'/' + "+e+(a?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):a?"'[' + "+e+" + ']'":"'[\\'' + "+e+" + '\\']'";return $a(t,r)}function Zo(t,e,i){var a=li(i?"/"+ui(e):pi(e));return $a(t,a)}var Yo=/^\/(?:[^~]|~0|~1)*$/,Xo=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function el(t,e,i){var a,r,s,o;if(t==="")return"rootData";if(t[0]=="/"){if(!Yo.test(t))throw new Error("Invalid JSON-pointer: "+t);r=t,s="rootData"}else{if(o=t.match(Xo),!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+=pi(fi(p)),n+=" && "+s)}return n}function $a(t,e){return t=='""'?e:(t+" + "+e).replace(/([^\\])' \+ '/g,"$1")}function tl(t){return fi(decodeURIComponent(t))}function rl(t){return encodeURIComponent(ui(t))}function ui(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}function fi(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}});var hi=W((zu,Da)=>{"use strict";var il=Ct();Da.exports=al;function al(t){il.copy(t,this)}});var Ra=W((Vu,La)=>{"use strict";var dt=La.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(){};Sr(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 Sr(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 h=0;h<c.length;h++)Sr(t,e,i,c[h],r+"/"+p+"/"+h,s,r,p,a,h)}else if(p in dt.propsKeywords){if(c&&typeof c=="object")for(var l in c)Sr(t,e,i,c[l],r+"/"+p+"/"+sl(l),s,r,p,a,l)}else(p in dt.keywords||t.allKeys&&!(p in dt.skipKeywords))&&Sr(t,e,i,c,r+"/"+p,s,r,p,a)}i(a,r,s,o,n,d,u)}}function sl(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var Pr=W((Uu,Ba)=>{"use strict";var rr=Ta(),ja=vr(),Cr=Ct(),wr=hi(),nl=Ra();Ba.exports=ct;ct.normalizeId=pt;ct.fullPath=Ir;ct.url=xr;ct.ids=cl;ct.inlineRef=yi;ct.schema=Tr;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 wr)return yi(a.schema,this._opts.inlineRefs)?a.schema:a.validate||this._compile(a);var r=Tr.call(this,e,i),s,o,n;return r&&(s=r.schema,e=r.root,n=r.baseId),s instanceof wr?o=s.validate||t.call(this,s.schema,e,void 0,n):s!==void 0&&(o=yi(s,this._opts.inlineRefs)?s:t.call(this,s,e,void 0,n)),o}function Tr(t,e){var i=rr.parse(e),a=qa(i),r=Ir(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 ol.call(this,t,o,i);if(o instanceof wr)o.validate||this._compile(o),t=o;else if(o=this._schemas[s],o instanceof wr){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=Ir(this._getId(t.schema))}return _a.call(this,i,r,t.schema,t)}function ol(t,e,i){var a=Tr.call(this,t,e);if(a){var r=a.schema,s=a.baseId;t=a.root;var o=this._getId(r);return o&&(s=xr(s,o)),_a.call(this,i,s,r,t)}}var ll=Cr.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function _a(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=Cr.unescapeFragment(o),i=i[o],i===void 0)break;var n;if(!ll[o]&&(n=this._getId(i),n&&(e=xr(e,n)),i.$ref)){var d=xr(e,i.$ref),u=Tr.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 dl=Cr.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function yi(t,e){if(e===!1)return!1;if(e===void 0||e===!0)return mi(t);if(e)return gi(t)<=e}function mi(t){var e;if(Array.isArray(t)){for(var i=0;i<t.length;i++)if(e=t[i],typeof e=="object"&&!mi(e))return!1}else for(var a in t)if(a=="$ref"||(e=t[a],typeof e=="object"&&!mi(e)))return!1;return!0}function gi(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+=gi(i)),e==1/0)return 1/0}else for(var r in t){if(r=="$ref")return 1/0;if(dl[r])e++;else if(i=t[r],typeof i=="object"&&(e+=gi(i)+1),e==1/0)return 1/0}return e}function Ir(t,e){e!==!1&&(t=pt(t));var i=rr.parse(t);return qa(i)}function qa(t){return rr.serialize(t).split("#")[0]+"#"}var pl=/#\/?$/;function pt(t){return t?t.replace(pl,""):""}function xr(t,e){return e=pt(e),rr.resolve(t,e)}function cl(t){var e=pt(this._getId(t)),i={"":e},a={"":Ir(e,!1)},r={},s=this;return nl(t,{allKeys:!0},function(o,n,d,u,p,c,h){if(n!==""){var l=s._getId(o),m=i[u],b=a[u]+"/"+p;if(h!==void 0&&(b+="/"+(typeof h=="number"?h:Cr.escapeFragment(h))),typeof l=="string"){l=m=pt(m?rr.resolve(m,l):l);var y=s._refs[l];if(typeof y=="string"&&(y=s._refs[y]),y&&y.schema){if(!ja(o,y.schema))throw new Error('id "'+l+'" resolves to more than one schema')}else if(l!=pt(b))if(l[0]=="#"){if(r[l]&&!ja(o,r[l]))throw new Error('id "'+l+'" resolves to more than one schema');r[l]=o}else s._refs[l]=b}i[n]=m,a[n]=b}}),r}});var Fr=W((Gu,Na)=>{"use strict";var bi=Pr();Na.exports={Validation:ka(ul),MissingRef:ka(vi)};function ul(t){this.message="validation failed",this.errors=t,this.ajv=this.validation=!0}vi.message=function(t,e){return"can't resolve reference "+e+" from id "+t};function vi(t,e,i){this.message=i||vi.message(t,e),this.missingRef=bi.url(t,e),this.missingSchema=bi.normalizeId(bi.fullPath(this.missingRef))}function ka(t){return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}});var Si=W((Hu,Wa)=>{"use strict";Wa.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],h=s(o[c]);h&&(d&&(d+=","),d+=JSON.stringify(c)+":"+h)}return r.splice(u,1),"{"+d+"}"}}(t)}});var wi=W((Qu,Ma)=>{"use strict";Ma.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,h=e.schema[i],l=e.schemaPath+e.util.getProperty(i),m=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 y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , 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=y.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",m=e.errSchemaPath+"/type",l=e.schemaPath+".type",m=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 y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , 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=y.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 y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , 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=y.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 h=e.schema.properties,me=Object.keys(h),we=me;if(we)for(var $e,nt=-1,Ye=we.length-1;nt<Ye;){$e=we[nt+=1];var ge=h[$e];if(ge.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(ge.default)+" ":r+=" "+JSON.stringify(ge.default)+" ",r+="; "}}}else if(q.type=="array"&&Array.isArray(e.schema.items)){var mt=e.schema.items;if(mt){for(var ge,G=-1,Te=mt.length-1;G<Te;)if(ge=mt[G+=1],ge.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(ge.default)+" ":r+=" "+JSON.stringify(ge.default)+" ",r+="; "}}}}var Y=q.rules;if(Y){for(var ot,Xe=-1,gt=Y.length-1;Xe<gt;)if(ot=Y[Xe+=1],qe(ot)){var bt=ot.code(e,ot.keyword,q.type);bt&&(r+=" "+bt+" ",F&&($+="}"))}}if(F&&(r+=" "+$+" ",$=""),q.type&&(r+=" } ",A&&A===q.type&&!O)){r+=" else { ";var l=e.schemaPath+".type",m=e.errSchemaPath+"/type",y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , 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=y.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 Ve=Oe.rules,Re=0;Re<Ve.length;Re++)if(qe(Ve[Re]))return!0}function qe(Oe){return e.schema[Oe.keyword]!==void 0||Oe.implements&&De(Oe)}function De(Oe){for(var Ve=Oe.implements,Re=0;Re<Ve.length;Re++)if(e.schema[Ve[Re]]!==void 0)return!0}return r}});var Ha=W((Ju,Ga)=>{"use strict";var Ar=Pr(),$r=Ct(),Va=Fr(),fl=Si(),za=wi(),hl=$r.ucs2length,yl=vr(),ml=Va.Validation;Ga.exports=Ii;function Ii(t,e,i,a){var r=this,s=this._opts,o=[void 0],n={},d=[],u={},p=[],c={},h=[];e=e||{schema:t,refVal:o,refs:n};var l=gl.call(this,t,e,a),m=this._compilations[l.index];if(l.compiling)return m.callValidate=I;var b=this._formats,y=this.RULES;try{var S=P(t,e,i,a);m.validate=S;var T=m.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{bl.call(this,t,e,a)}function I(){var E=m.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 Ii.call(r,E,D,B,ee);var G=E.$async===!0,z=za({isTop:!0,schema:E,isRoot:V,baseId:ee,root:D,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:Va.MissingRef,RULES:y,validate:za,util:$r,resolve:Ar,resolveRef:F,usePattern:R,useDefault:O,useCustomRule:q,opts:s,formats:b,logger:r.logger,self:r});z=Er(o,wl)+Er(d,vl)+Er(p,Sl)+Er(h,Il)+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,y,b,e,o,p,h,yl,hl,ml),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=Ar.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=Ar.call(r,P,e,D);if(N===void 0){var pe=i&&i[D];pe&&(N=Ar.inlineRef(pe,s.inlineRefs)?pe:Ii.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 $r.toQuotedString(E);case"object":if(E===null)return"null";var D=fl(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 me=h.length;return h[me]=J,{code:"customRule"+me,validate:J}}}function gl(t,e,i){var a=Ua.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 bl(t,e,i){var a=Ua.call(this,t,e,i);a>=0&&this._compilations.splice(a,1)}function Ua(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 vl(t,e){return"var pattern"+t+" = new RegExp("+$r.toQuotedString(e[t])+");"}function Sl(t){return"var default"+t+" = defaults["+t+"];"}function wl(t,e){return e[t]===void 0?"":"var refVal"+t+" = refVal["+t+"];"}function Il(t){return"var customRule"+t+" = customRules["+t+"];"}function Er(t,e){if(!t.length)return"";for(var i="",a=0;a<t.length;a++)i+=e(a,t);return i}});var Ja=W((Ku,Qa)=>{"use strict";var Or=Qa.exports=function(){this._cache={}};Or.prototype.put=function(e,i){this._cache[e]=i};Or.prototype.get=function(e){return this._cache[e]};Or.prototype.del=function(e){delete this._cache[e]};Or.prototype.clear=function(){this._cache={}}});var os=W((Zu,ns)=>{"use strict";var xl=Ct(),Cl=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,Tl=[0,31,28,31,30,31,30,31,31,30,31,30,31],Pl=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,Ka=/^(?=.{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,Fl=/^(?:[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,Al=/^(?:[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,Za=/^(?:(?:[^\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,Ya=/^(?:(?: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,Xa=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,es=/^(?:\/(?:[^~/]|~0|~1)*)*$/,ts=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,rs=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;ns.exports=Dr;function Dr(t){return t=t=="full"?"full":"fast",xl.copy(Dr[t])}Dr.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":Za,url:Ya,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:Ka,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:ss,uuid:Xa,"json-pointer":es,"json-pointer-uri-fragment":ts,"relative-json-pointer":rs};Dr.full={date:is,time:as,"date-time":Ol,uri:Ll,"uri-reference":Al,"uri-template":Za,url:Ya,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:Ka,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:ss,uuid:Xa,"json-pointer":es,"json-pointer-uri-fragment":ts,"relative-json-pointer":rs};function El(t){return t%4===0&&(t%100!==0||t%400===0)}function is(t){var e=t.match(Cl);if(!e)return!1;var i=+e[1],a=+e[2],r=+e[3];return a>=1&&a<=12&&r>=1&&r<=(a==2&&El(i)?29:Tl[a])}function as(t,e){var i=t.match(Pl);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 $l=/t|\s/i;function Ol(t){var e=t.split($l);return e.length==2&&is(e[0])&&as(e[1],!0)}var Dl=/\/|:/;function Ll(t){return Dl.test(t)&&Fl.test(t)}var Rl=/[^\\]\\Z/;function ss(t){if(Rl.test(t))return!1;try{return new RegExp(t),!0}catch{return!1}}});var ds=W((Yu,ls)=>{"use strict";ls.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,h,l;if(n=="#"||n=="#/")e.isRoot?(h=e.async,l="validate"):(h=e.root.schema.$async===!0,l="root.refVal[0]");else{var m=e.resolveRef(e.baseId,n,e.isRoot);if(m===void 0){var b=e.MissingRefError.message(e.baseId,n);if(e.opts.missingRefs=="fail"){e.logger.error(b);var y=y||[];y.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=y.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(m.inline){var T=e.util.copy(e);T.level++;var I="valid"+T.level;T.schema=m.schema,T.schemaPath="",T.errSchemaPath=n;var P=e.validate(T).replace(/validate\.schema/g,m.code);r+=" "+P+" ",u&&(r+=" if ("+I+") { ")}else h=m.$async===!0||e.async&&m.$async!==!1,l=m.code}if(l){var y=y||[];y.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=y.pop(),h){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 cs=W((Xu,ps)=>{"use strict";ps.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,h=u.baseId,l=!0,m=s;if(m)for(var b,y=-1,S=m.length-1;y<S;)b=m[y+=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+"["+y+"]",u.errSchemaPath=n+"/"+y,r+=" "+e.validate(u)+" ",u.baseId=h,d&&(r+=" if ("+c+") { ",p+="}"));return d&&(l?r+=" if (true) { ":r+=" "+p.slice(0,-1)+" "),r}});var fs=W((ef,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||""),h="valid"+s,l="errs__"+s,m=e.util.copy(e),b="";m.level++;var y="valid"+m.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=m.baseId;r+=" var "+l+" = errors; var "+h+" = false; ";var I=e.compositeRule;e.compositeRule=m.compositeRule=!0;var P=n;if(P)for(var F,$=-1,_=P.length-1;$<_;)F=P[$+=1],m.schema=F,m.schemaPath=d+"["+$+"]",m.errSchemaPath=u+"/"+$,r+=" "+e.validate(m)+" ",m.baseId=T,r+=" "+h+" = "+h+" || "+y+"; if (!"+h+") { ",b+="}";e.compositeRule=m.compositeRule=I,r+=" "+b+" if (!"+h+") { 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 ys=W((tf,hs)=>{"use strict";hs.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 gs=W((rf,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||""),h="valid"+s,l=e.opts.$data&&n&&n.$data,m;l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",m="schema"+s):m=n,l||(r+=" var schema"+s+" = validate.schema"+d+";"),r+="var "+h+" = equal("+c+", schema"+s+"); if (!"+h+") { ";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 y=r;return r=b.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+y+"]); ":r+=" validate.errors = ["+y+"]; return false; ":r+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" }",p&&(r+=" else { "),r}});var vs=W((af,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||""),h="valid"+s,l="errs__"+s,m=e.util.copy(e),b="";m.level++;var y="valid"+m.level,S="i"+s,T=m.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 "+h+";",F){var $=e.compositeRule;e.compositeRule=m.compositeRule=!0,m.schema=n,m.schemaPath=d,m.errSchemaPath=u,r+=" var "+y+" = false; for (var "+S+" = 0; "+S+" < "+c+".length; "+S+"++) { ",m.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var _=c+"["+S+"]";m.dataPathArr[T]=S;var L=e.validate(m);m.baseId=P,e.util.varOccurences(L,I)<2?r+=" "+e.util.varReplace(L,I,_)+" ":r+=" var "+I+" = "+_+"; "+L+" ",r+=" if ("+y+") break; } ",e.compositeRule=m.compositeRule=$,r+=" "+b+" if (!"+y+") {"}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 ws=W((sf,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||""),h="errs__"+s,l=e.util.copy(e),m="";l.level++;var b="valid"+l.level,y={},S={},T=e.opts.ownProperties;for($ in n)if($!="__proto__"){var I=n[$],P=Array.isArray(I)?S:y;P[$]=I}r+="var "+h+" = 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&&(m+="}",r+=" else { ")}e.errorPath=F;var N=l.baseId;for(var $ in y){var I=y[$];(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+") { ",m+="}"))}return p&&(r+=" "+m+" if ("+h+" == errors) {"),r}});var xs=W((nf,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||""),h="valid"+s,l=e.opts.$data&&n&&n.$data,m;l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",m="schema"+s):m=n;var b="i"+s,y="schema"+s;l||(r+=" var "+y+" = validate.schema"+d+";"),r+="var "+h+";",l&&(r+=" if (schema"+s+" === undefined) "+h+" = true; else if (!Array.isArray(schema"+s+")) "+h+" = false; else {"),r+=""+h+" = false;for (var "+b+"=0; "+b+"<"+y+".length; "+b+"++) if (equal("+c+", "+y+"["+b+"])) { "+h+" = true; break; }",l&&(r+=" } "),r+=" if (!"+h+") { ";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 Ts=W((of,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||"");if(e.opts.format===!1)return p&&(r+=" if (true) { "),r;var h=e.opts.$data&&n&&n.$data,l;h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n;var m=e.opts.unknownFormats,b=Array.isArray(m);if(h){var y="format"+s,S="isObject"+s,T="formatType"+s;r+=" var "+y+" = formats["+l+"]; var "+S+" = typeof "+y+" == 'object' && !("+y+" instanceof RegExp) && "+y+".validate; var "+T+" = "+S+" && "+y+".type || 'string'; if ("+S+") { ",e.async&&(r+=" var async"+s+" = "+y+".async; "),r+=" "+y+" = "+y+".validate; } if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'string') || "),r+=" (",m!="ignore"&&(r+=" ("+l+" && !"+y+" ",b&&(r+=" && self._opts.unknownFormats.indexOf("+l+") == -1 "),r+=") || "),r+=" ("+y+" && "+T+" == '"+a+"' && !(typeof "+y+" == 'function' ? ",e.async?r+=" (async"+s+" ? await "+y+"("+c+") : "+y+"("+c+")) ":r+=" "+y+"("+c+") ",r+=" : "+y+".test("+c+"))))) {"}else{var y=e.formats[n];if(!y){if(m=="ignore")return e.logger.warn('unknown format "'+n+'" ignored in schema at path "'+e.errSchemaPath+'"'),p&&(r+=" if (true) { "),r;if(b&&m.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 y=="object"&&!(y instanceof RegExp)&&y.validate,T=S&&y.type||"string";if(S){var I=y.async===!0;y=y.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 y=="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: ",h?r+=""+l:r+=""+e.util.toQuotedString(n),r+=" } ",e.opts.messages!==!1&&(r+=` , message: 'should match format "`,h?r+="' + "+l+" + '":r+=""+e.util.escapeQuotes(n),r+=`"' `),e.opts.verbose&&(r+=" , schema: ",h?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 Fs=W((lf,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,c="data"+(o||""),h="valid"+s,l="errs__"+s,m=e.util.copy(e);m.level++;var b="valid"+m.level,y=e.schema.then,S=e.schema.else,T=y!==void 0&&(e.opts.strictKeywords?typeof y=="object"&&Object.keys(y).length>0||y===!1:e.util.schemaHasRules(y,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=m.baseId;if(T||I){var F;m.createErrors=!1,m.schema=n,m.schemaPath=d,m.errSchemaPath=u,r+=" var "+l+" = errors; var "+h+" = true; ";var $=e.compositeRule;e.compositeRule=m.compositeRule=!0,r+=" "+e.validate(m)+" ",m.baseId=P,m.createErrors=!0,r+=" errors = "+l+"; if (vErrors !== null) { if ("+l+") vErrors.length = "+l+"; else vErrors = null; } ",e.compositeRule=m.compositeRule=$,T?(r+=" if ("+b+") { ",m.schema=e.schema.then,m.schemaPath=e.schemaPath+".then",m.errSchemaPath=e.errSchemaPath+"/then",r+=" "+e.validate(m)+" ",m.baseId=P,r+=" "+h+" = "+b+"; ",T&&I?(F="ifClause"+s,r+=" var "+F+" = 'then'; "):F="'then'",r+=" } ",I&&(r+=" else { ")):r+=" if (!"+b+") { ",I&&(m.schema=e.schema.else,m.schemaPath=e.schemaPath+".else",m.errSchemaPath=e.errSchemaPath+"/else",r+=" "+e.validate(m)+" ",m.baseId=P,r+=" "+h+" = "+b+"; ",T&&I?(F="ifClause"+s,r+=" var "+F+" = 'else'; "):F="'else'",r+=" } "),r+=" if (!"+h+") { 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 Es=W((df,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,c="data"+(o||""),h="valid"+s,l="errs__"+s,m=e.util.copy(e),b="";m.level++;var y="valid"+m.level,S="i"+s,T=m.dataLevel=e.dataLevel+1,I="data"+T,P=e.baseId;if(r+="var "+l+" = errors;var "+h+";",Array.isArray(n)){var F=e.schema.additionalItems;if(F===!1){r+=" "+h+" = "+c+".length <= "+n.length+"; ";var $=u;u=e.errSchemaPath+"/additionalItems",r+=" if (!"+h+") { ";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+=" "+y+" = true; if ("+c+".length > "+O+") { ";var E=c+"["+O+"]";m.schema=R,m.schemaPath=d+"["+O+"]",m.errSchemaPath=u+"/"+O,m.errorPath=e.util.getPathExpr(e.errorPath,O,e.opts.jsonPointers,!0),m.dataPathArr[T]=O;var D=e.validate(m);m.baseId=P,e.util.varOccurences(D,I)<2?r+=" "+e.util.varReplace(D,I,E)+" ":r+=" var "+I+" = "+E+"; "+D+" ",r+=" } ",p&&(r+=" if ("+y+") { ",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))){m.schema=F,m.schemaPath=e.schemaPath+".additionalItems",m.errSchemaPath=e.errSchemaPath+"/additionalItems",r+=" "+y+" = true; if ("+c+".length > "+n.length+") { for (var "+S+" = "+n.length+"; "+S+" < "+c+".length; "+S+"++) { ",m.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var E=c+"["+S+"]";m.dataPathArr[T]=S;var D=e.validate(m);m.baseId=P,e.util.varOccurences(D,I)<2?r+=" "+e.util.varReplace(D,I,E)+" ":r+=" var "+I+" = "+E+"; "+D+" ",p&&(r+=" if (!"+y+") break; "),r+=" } } ",p&&(r+=" if ("+y+") { ",b+="}")}}else if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){m.schema=n,m.schemaPath=d,m.errSchemaPath=u,r+=" for (var "+S+" = 0; "+S+" < "+c+".length; "+S+"++) { ",m.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var E=c+"["+S+"]";m.dataPathArr[T]=S;var D=e.validate(m);m.baseId=P,e.util.varOccurences(D,I)<2?r+=" "+e.util.varReplace(D,I,E)+" ":r+=" var "+I+" = "+E+"; "+D+" ",p&&(r+=" if (!"+y+") break; "),r+=" }"}return p&&(r+=" "+b+" if ("+l+" == errors) {"),r}});var xi=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,P,c="data"+(o||""),h=e.opts.$data&&n&&n.$data,l;h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n;var m=i=="maximum",b=m?"exclusiveMaximum":"exclusiveMinimum",y=e.schema[b],S=e.opts.$data&&y&&y.$data,T=m?"<":">",I=m?">":"<",P=void 0;if(!(h||typeof n=="number"||n===void 0))throw new Error(i+" must be number");if(!(S||y===void 0||typeof y=="number"||typeof y=="boolean"))throw new Error(b+" must be number or boolean");if(S){var F=e.util.getData(y.$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 ( ",h&&(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,h=S)}else{var L=typeof y=="number",R=T;if(L&&h){var A="'"+R+"'";r+=" if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" ( "+l+" === undefined || "+y+" "+T+"= "+l+" ? "+c+" "+I+"= "+y+" : "+c+" "+I+" "+l+" ) || "+c+" !== "+c+") { "}else{L&&n===void 0?($=!0,P=b,u=e.errSchemaPath+"/"+b,l=y,I+="="):(L&&(l=Math[m?"min":"max"](y,n)),y===(L?l:!0)?($=!0,P=b,u=e.errSchemaPath+"/"+b,I+="="):($=!1,R+="="));var A="'"+R+"'";r+=" if ( ",h&&(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+" ",h?r+="' + "+l:r+=""+l+"'"),e.opts.verbose&&(r+=" , schema: ",h?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 Ci=W((cf,Os)=>{"use strict";Os.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||""),h=e.opts.$data&&n&&n.$data,l;if(h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(h||typeof n=="number"))throw new Error(i+" must be number");var m=i=="maxItems"?">":"<";r+="if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" "+c+".length "+m+" "+l+") { ";var b=i,y=y||[];y.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 ",h?r+="' + "+l+" + '":r+=""+n,r+=" items' "),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var S=r;return r=y.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 Ti=W((uf,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,b,c="data"+(o||""),h=e.opts.$data&&n&&n.$data,l;if(h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(h||typeof n=="number"))throw new Error(i+" must be number");var m=i=="maxLength"?">":"<";r+="if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),e.opts.unicode===!1?r+=" "+c+".length ":r+=" ucs2length("+c+") ",r+=" "+m+" "+l+") { ";var b=i,y=y||[];y.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 ",h?r+="' + "+l+" + '":r+=""+n,r+=" characters' "),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var S=r;return r=y.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 Pi=W((ff,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,b,c="data"+(o||""),h=e.opts.$data&&n&&n.$data,l;if(h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(h||typeof n=="number"))throw new Error(i+" must be number");var m=i=="maxProperties"?">":"<";r+="if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" Object.keys("+c+").length "+m+" "+l+") { ";var b=i,y=y||[];y.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 ",h?r+="' + "+l+" + '":r+=""+n,r+=" properties' "),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var S=r;return r=y.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 js=W((hf,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||""),h=e.opts.$data&&n&&n.$data,l;if(h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(h||typeof n=="number"))throw new Error(i+" must be number");r+="var division"+s+";if (",h&&(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+=" ) ",h&&(r+=" ) "),r+=" ) { ";var m=m||[];m.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 ",h?r+="' + "+l:r+=""+l+"'"),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var b=r;return r=m.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 qs=W((yf,_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||""),h="errs__"+s,l=e.util.copy(e);l.level++;var m="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 "+h+" = errors; ";var b=e.compositeRule;e.compositeRule=l.compositeRule=!0,l.createErrors=!1;var y;l.opts.allErrors&&(y=l.opts.allErrors,l.opts.allErrors=!1),r+=" "+e.validate(l)+" ",l.createErrors=!0,y&&(l.opts.allErrors=y),e.compositeRule=l.compositeRule=b,r+=" if ("+m+") { ";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 = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; 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 ks=W((mf,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||""),h="valid"+s,l="errs__"+s,m=e.util.copy(e),b="";m.level++;var y="valid"+m.level,S=m.baseId,T="prevValid"+s,I="passingSchemas"+s;r+="var "+l+" = errors , "+T+" = false , "+h+" = false , "+I+" = null; ";var P=e.compositeRule;e.compositeRule=m.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))?(m.schema=$,m.schemaPath=d+"["+_+"]",m.errSchemaPath=u+"/"+_,r+=" "+e.validate(m)+" ",m.baseId=S):r+=" var "+y+" = true; ",_&&(r+=" if ("+y+" && "+T+") { "+h+" = false; "+I+" = ["+I+", "+_+"]; } else { ",b+="}"),r+=" if ("+y+") { "+h+" = "+T+" = true; "+I+" = "+_+"; }";return e.compositeRule=m.compositeRule=P,r+=""+b+"if (!"+h+") { 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 Ws=W((gf,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||""),h=e.opts.$data&&n&&n.$data,l;h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n;var m=h?"(new RegExp("+l+"))":e.usePattern(n);r+="if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'string') || "),r+=" !"+m+".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: ",h?r+=""+l:r+=""+e.util.toQuotedString(n),r+=" } ",e.opts.messages!==!1&&(r+=` , message: 'should match pattern "`,h?r+="' + "+l+" + '":r+=""+e.util.escapeQuotes(n),r+=`"' `),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+d:r+=""+e.util.toQuotedString(n),r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var y=r;return r=b.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+y+"]); ":r+=" validate.errors = ["+y+"]; return false; ":r+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",p&&(r+=" else { "),r}});var zs=W((bf,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||""),h="errs__"+s,l=e.util.copy(e),m="";l.level++;var b="valid"+l.level,y="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 "+h+" = 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 "+y+" = "+P+"["+S+"]; ":r+=" for (var "+y+" in "+c+") { ",A){if(r+=" var isAdditional"+s+" = !(false ",F.length)if(F.length>8)r+=" || validate.schema"+d+".hasOwnProperty("+y+") ";else{var z=F;if(z)for(var N,pe=-1,Ce=z.length-1;pe<Ce;)N=z[pe+=1],r+=" || "+y+" == "+e.util.toQuotedString(N)+" "}if(_.length){var Ee=_;if(Ee)for(var J,me=-1,we=Ee.length-1;me<we;)J=Ee[me+=1],r+=" || "+e.usePattern(J)+".test("+y+") "}r+=" ); if (isAdditional"+s+") { "}if(q=="all")r+=" delete "+c+"["+y+"]; ";else{var $e=e.errorPath,nt="' + "+y+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers)),R)if(q)r+=" delete "+c+"["+y+"]; ";else{r+=" "+b+" = false; ";var Ye=u;u=e.errSchemaPath+"/additionalProperties";var ge=ge||[];ge.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=ge.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=Ye,p&&(r+=" break; ")}else if(O)if(q=="failing"){r+=" var "+h+" = errors; ";var mt=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,y,e.opts.jsonPointers);var Te=c+"["+y+"]";l.dataPathArr[T]=y;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 = "+h+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+c+"["+y+"]; } ",e.compositeRule=l.compositeRule=mt}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,y,e.opts.jsonPointers);var Te=c+"["+y+"]";l.dataPathArr[T]=y;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+") { ",m+="}")}var ot=e.opts.useDefaults&&!e.compositeRule;if(F.length){var Xe=F;if(Xe)for(var N,gt=-1,bt=Xe.length-1;gt<bt;){N=Xe[gt+=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,Ye=u,Ve=e.util.escapeQuotes(N);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath($e,N,e.opts.jsonPointers)),u=e.errSchemaPath+"/required";var ge=ge||[];ge.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+Ve+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+Ve+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var ce=r;r=ge.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=Ye,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+") { ",m+="}")}}if(_.length){var Re=_;if(Re)for(var J,pr=-1,Zr=Re.length-1;pr<Zr;){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 "+y+" = "+P+"["+S+"]; ":r+=" for (var "+y+" in "+c+") { ",r+=" if ("+e.usePattern(J)+".test("+y+")) { ",l.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers);var Te=c+"["+y+"]";l.dataPathArr[T]=y;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+") { ",m+="}")}}}return p&&(r+=" "+m+" if ("+h+" == errors) {"),r}});var Us=W((vf,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||""),h="errs__"+s,l=e.util.copy(e),m="";l.level++;var b="valid"+l.level;if(r+="var "+h+" = 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 y="key"+s,S="idx"+s,T="i"+s,I="' + "+y+" + '",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 "+y+" = "+$+"["+S+"]; ":r+=" for (var "+y+" in "+c+") { ",r+=" var startErrs"+s+" = errors; ";var A=y,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 = "+y+"; } 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+=" "+m+" if ("+h+" == errors) {"),r}});var Hs=W((Sf,Gs)=>{"use strict";Gs.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||""),h="valid"+s,l=e.opts.$data&&n&&n.$data,m;l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",m="schema"+s):m=n;var b="schema"+s;if(!l)if(n.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var y=[],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))||(y[y.length]=T)}}else var y=n;if(l||y.length){var $=e.errorPath,_=l||y.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 "+h+" = true; ",l&&(r+=" if (schema"+s+" === undefined) "+h+" = true; else if (!Array.isArray(schema"+s+")) "+h+" = false; else {"),r+=" for (var "+A+" = 0; "+A+" < "+b+".length; "+A+"++) { "+h+" = "+c+"["+b+"["+A+"]] !== undefined ",L&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", "+b+"["+A+"]) "),r+="; if (!"+h+") break; } ",l&&(r+=" } "),r+=" if (!"+h+") { ";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=y;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=y;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 Js=W((wf,Qs)=>{"use strict";Qs.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||""),h="valid"+s,l=e.opts.$data&&n&&n.$data,m;if(l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",m="schema"+s):m=n,(n||l)&&e.opts.uniqueItems!==!1){l&&(r+=" var "+h+"; if ("+m+" === false || "+m+" === undefined) "+h+" = true; else if (typeof "+m+" != 'boolean') "+h+" = false; else { "),r+=" var i = "+c+".length , "+h+" = true , j; if (i > 1) { ";var b=e.schema.items&&e.schema.items.type,y=Array.isArray(b);if(!b||b=="object"||b=="array"||y&&(b.indexOf("object")>=0||b.indexOf("array")>=0))r+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+c+"[i], "+c+"[j])) { "+h+" = false; break outer; } } } ";else{r+=" var itemIndices = {}, item; for (;i--;) { var item = "+c+"[i]; ";var S="checkDataType"+(y?"s":"");r+=" if ("+e.util[S](b,"item",e.opts.strictNumbers,!0)+") continue; ",y&&(r+=` if (typeof item == 'string') item = '"' + item; `),r+=" if (typeof itemIndices[item] == 'number') { "+h+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}r+=" } ",l&&(r+=" } "),r+=" if (!"+h+") { ";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 Zs=W((If,Ks)=>{"use strict";Ks.exports={$ref:ds(),allOf:cs(),anyOf:fs(),$comment:ys(),const:gs(),contains:vs(),dependencies:ws(),enum:xs(),format:Ts(),if:Fs(),items:Es(),maximum:xi(),minimum:xi(),maxItems:Ci(),minItems:Ci(),maxLength:Ti(),minLength:Ti(),maxProperties:Pi(),minProperties:Pi(),multipleOf:js(),not:qs(),oneOf:ks(),pattern:Ws(),properties:zs(),propertyNames:Us(),required:Hs(),uniqueItems:Js(),validate:wi()}});var en=W((xf,Xs)=>{"use strict";var Ys=Zs(),Fi=Ct().toHash;Xs.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=Fi(i),e.types=Fi(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:Ys[o],implements:n};return u}),e.all.$comment={keyword:"$comment",code:Ys.$comment},s.type&&(e.types[s.type]=s)}),e.keywords=Fi(i.concat(a)),e.custom={},e}});var an=W((Cf,rn)=>{"use strict";var tn=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];rn.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<tn.length;s++){var o=tn[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 on=W((Tf,nn)=>{"use strict";var jl=Fr().MissingRef;nn.exports=sn;function sn(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)?sn.call(a,{$ref:d},!0):Promise.resolve()}function o(n){try{return a._compile(n)}catch(u){if(u instanceof jl)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(h,h)),c.then(function(m){if(!l(p))return s(m).then(function(){l(p)||a.addSchema(m,p,void 0,e)})}).then(function(){return o(n)});function h(){delete a._loadingSchemas[p]}function l(m){return a._refs[m]||a._schemas[m]}}}}});var dn=W((Pf,ln)=>{"use strict";ln.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,h="data"+(o||""),l="valid"+s,m="errs__"+s,b=e.opts.$data&&n&&n.$data,y;b?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",y="schema"+s):y=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;y="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 "+m+" = errors;var "+l+";",b&&I.$data&&(P+="}",r+=" if ("+y+" === undefined) { "+l+" = true; } else { ",R&&(P+="}",r+=" "+l+" = "+T+".validateSchema("+y+"); 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+=" , "+h+" ":r+=" , "+y+" , "+h+" , 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+") "+h+" = "+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: "+h+" "),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+"="+m+"; "+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 = "+y+"; "+E+".data = "+h+"; "),r+=" } "):I.errors===!1?r+=" "+J+" ":(r+=" if ("+m+" == errors) { "+J+" } else { for (var "+q+"="+m+"; "+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 = "+y+"; "+E+".data = "+h+"; "),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: "+h+" "),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+"="+m+"; "+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 = "+y+"; "+E+".data = "+h+"; "),r+=" } } else { "+J+" } "),r+=" } ",p&&(r+=" else { ")}return r}});var Ai=W((Ff,_l)=>{_l.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 un=W((Af,cn)=>{"use strict";var pn=Ai();cn.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:pn.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:pn.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 hn=W((Ef,fn)=>{"use strict";var ql=/^[a-z_$][a-z0-9_$-]*$/i,Bl=dn(),kl=un();fn.exports={add:Nl,get:Wl,remove:Ml,validate:Ei};function Nl(t,e){var i=this.RULES;if(i.keywords[t])throw new Error("Keyword "+t+" is already defined");if(!ql.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 h=i[c];if(h.type==d){p=h;break}}p||(p={type:d,rules:[]},i.push(p));var l={keyword:n,definition:u,custom:!0,code:Bl,implements:u.implements};p.rules.push(l),i.custom[n]=l}return this}function Wl(t){var e=this.RULES.custom[t];return e?e.definition:this.RULES.keywords[t]||!1}function Ml(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 Ei(t,e){Ei.errors=null;var i=this._validateKeyword=this._validateKeyword||this.compile(kl,!0);if(i(t))return!0;if(Ei.errors=i.errors,e)throw new Error("custom keyword definition is invalid: "+this.errorsText(i.errors));return!1}});var yn=W(($f,zl)=>{zl.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 Tn=W((Of,Cn)=>{"use strict";var gn=Ha(),Tt=Pr(),Vl=Ja(),bn=hi(),Ul=Si(),Gl=os(),Hl=en(),vn=an(),Sn=Ct();Cn.exports=ue;ue.prototype.validate=Jl;ue.prototype.compile=Kl;ue.prototype.addSchema=Zl;ue.prototype.addMetaSchema=Yl;ue.prototype.validateSchema=Xl;ue.prototype.getSchema=td;ue.prototype.removeSchema=id;ue.prototype.addFormat=cd;ue.prototype.errorsText=pd;ue.prototype._addSchema=ad;ue.prototype._compile=sd;ue.prototype.compileAsync=on();var jr=hn();ue.prototype.addKeyword=jr.add;ue.prototype.getKeyword=jr.get;ue.prototype.removeKeyword=jr.remove;ue.prototype.validateKeyword=jr.validate;var wn=Fr();ue.ValidationError=wn.Validation;ue.MissingRefError=wn.MissingRef;ue.$dataMetaSchema=vn;var Rr="http://json-schema.org/draft-07/schema",mn=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],Ql=["/properties"];function ue(t){if(!(this instanceof ue))return new ue(t);t=this._opts=Sn.copy(t)||{},gd(this),this._schemas={},this._refs={},this._fragments={},this._formats=Gl(t.format),this._cache=t.cache||new Vl,this._loadingSchemas={},this._compilations=[],this.RULES=Hl(),this._getId=nd(t),t.loopRequired=t.loopRequired||1/0,t.errorDataPath=="property"&&(t._errorDataPathProperty=!0),t.serialize===void 0&&(t.serialize=Ul),this._metaOpts=md(this),t.formats&&hd(this),t.keywords&&yd(this),ud(this),typeof t.meta=="object"&&this.addMetaSchema(t.meta),t.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),fd(this)}function Jl(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 Kl(t,e){var i=this._addSchema(t,void 0,e);return i.validate||this._compile(i)}function Zl(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=Tt.normalizeId(e||s),xn(this,e),this._schemas[e]=this._addSchema(t,i,a,!0),this}function Yl(t,e,i){return this.addSchema(t,e,i,!0),this}function Xl(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||ed(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 ed(t){var e=t._opts.meta;return t._opts.defaultMeta=typeof e=="object"?t._getId(e)||e:t.getSchema(Rr)?Rr:void 0,t._opts.defaultMeta}function td(t){var e=In(this,t);switch(typeof e){case"object":return e.validate||this._compile(e);case"string":return this.getSchema(e);case"undefined":return rd(this,t)}}function rd(t,e){var i=Tt.schema.call(t,{schema:{}},e);if(i){var a=i.schema,r=i.root,s=i.baseId,o=gn.call(t,a,r,void 0,s);return t._fragments[e]=new bn({ref:e,fragment:!0,schema:a,root:r,baseId:s,validate:o}),o}}function In(t,e){return e=Tt.normalizeId(e),t._schemas[e]||t._refs[e]||t._fragments[e]}function id(t){if(t instanceof RegExp)return Lr(this,this._schemas,t),Lr(this,this._refs,t),this;switch(typeof t){case"undefined":return Lr(this,this._schemas),Lr(this,this._refs),this._cache.clear(),this;case"string":var e=In(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=Tt.normalizeId(r),delete this._schemas[r],delete this._refs[r])}return this}function Lr(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 ad(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=Tt.normalizeId(this._getId(t));n&&a&&xn(this,n);var d=this._opts.validateSchema!==!1&&!e,u;d&&!(u=n&&n==Tt.normalizeId(t.$schema))&&this.validateSchema(t,!0);var p=Tt.ids.call(this,t),c=new bn({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 sd(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=gn.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 nd(t){switch(t.schemaId){case"auto":return dd;case"id":return od;default:return ld}}function od(t){return t.$id&&this.logger.warn("schema $id ignored",t.$id),t.id}function ld(t){return t.id&&this.logger.warn("schema id ignored",t.id),t.$id}function dd(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 pd(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 cd(t,e){return typeof e=="string"&&(e=new RegExp(e)),this._formats[t]=e,this}function ud(t){var e;if(t._opts.$data&&(e=yn(),t.addMetaSchema(e,e.$id,!0)),t._opts.meta!==!1){var i=Ai();t._opts.$data&&(i=vn(i,Ql)),t.addMetaSchema(i,Rr,!0),t._refs["http://json-schema.org/schema"]=Rr}}function fd(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 hd(t){for(var e in t._opts.formats){var i=t._opts.formats[e];t.addFormat(e,i)}}function yd(t){for(var e in t._opts.keywords){var i=t._opts.keywords[e];t.addKeyword(e,i)}}function xn(t,e){if(t._schemas[e]||t._refs[e])throw new Error('schema with key or id "'+e+'" already exists')}function md(t){for(var e=Sn.copy(t._opts),i=0;i<mn.length;i++)delete e[mn[i]];return e}function gd(t){var e=t._opts.logger;if(e===!1)t.logger={log:$i,warn:$i,error:$i};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 $i(){}});var An=W((Df,Di)=>{function bd(t,e){var i=e&&e.cache?e.cache:Cd,a=e&&e.serializer?e.serializer:xd,r=e&&e.strategy?e.strategy:Sd;return r(t,{cache:i,serializer:a})}function vd(t){return t==null||typeof t=="number"||typeof t=="boolean"}function Pn(t,e,i,a){var r=vd(a)?a:i(a),s=e.get(r);return typeof s>"u"&&(s=t.call(this,a),e.set(r,s)),s}function Fn(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 Oi(t,e,i,a,r){return i.bind(e,t,a,r)}function Sd(t,e){var i=t.length===1?Pn:Fn;return Oi(t,this,i,e.cache.create(),e.serializer)}function wd(t,e){var i=Fn;return Oi(t,this,i,e.cache.create(),e.serializer)}function Id(t,e){var i=Pn;return Oi(t,this,i,e.cache.create(),e.serializer)}function xd(){return JSON.stringify(arguments)}function _r(){this.cache=Object.create(null)}_r.prototype.has=function(t){return t in this.cache};_r.prototype.get=function(t){return this.cache[t]};_r.prototype.set=function(t,e){this.cache[t]=e};var Cd={create:function(){return new _r}};Di.exports=bd;Di.exports.strategies={variadic:wd,monadic:Id}});var mr="arcgis_charts_pie_from_fields_name",si="arcgis_charts_pie_from_fields_value",ma="arcgis_charts_bar_line_from_fields_name",ga="arcgis_charts_bar_line_from_fields_value";var He={Mean:"Mean",Median:"Median",StdDev:"Standard Deviation",Normal:"Normal Distribution",Trendline:"Trendline"};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 gr=class extends Map{constructor(e,i=qo){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(ba(this,e))}has(e){return super.has(ba(this,e))}set(e,i){return super.set(jo(this,e),i)}delete(e){return super.delete(_o(this,e))}};function ba({_intern:t,_key:e},i){let a=e(i);return t.has(a)?t.get(a):i}function jo({_intern:t,_key:e},i){let a=e(i);return t.has(a)?t.get(a):(t.set(a,i),i)}function _o({_intern:t,_key:e},i){let a=e(i);return t.has(a)&&(i=t.get(a),t.delete(a)),i}function qo(t){return t!==null&&typeof t=="object"?t.valueOf():t}function ni(t){return t}function Bo(t,e,...i){return ko(t,ni,e,i)}function ko(t,e,i,a){return function r(s,o){if(o>=a.length)return i(s);let n=new gr,d=a[o++],u=-1;for(let p of s){let c=d(p,++u,s),h=n.get(c);h?h.push(p):n.set(c,[p])}for(let[p,c]of n)n.set(p,r(c,o));return e(n)}(t,0)}function va(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 Sa(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 wa(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 Ia(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 xa(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 at="23.3.0";var xt={$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"},WebChartFixedDateBinning:{type:"object",properties:{size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},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},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`.",default:"equalIntervalsFromStartTime"},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"},type:{type:"string",const:"fixedDateBased"},unit:{$ref:"#/definitions/WebChartFixedDateBinningUnits",description:"The unit of time to use to bin the temporal data."}},required:["type"],description:"Represents the properties related to the the fixed-date temporal binning. It currently covers the same scope as `WebChartDateBinning`.",title:"WebChartFixedDateBinning"},WebChartDateBinning:{type:"object",properties:{size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},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},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`.",default:"equalIntervalsFromStartTime"},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"}},title:"WebChartDateBinning"},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"},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"},WebChartFixedDateBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","years"],description:"The temporal binning units for fixed-date based binning",title:"WebChartFixedDateBinningUnits"},WebChartCalendarBasedBinning:{type:"object",properties:{size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},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},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`.",default:"equalIntervalsFromStartTime"},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"},type:{type:"string",const:"calendarBased"},unit:{$ref:"#/definitions/WebChartCalendarBinningUnits",description:"The unit of time to use to bin the temporal data."},start:{type:"number",description:"The binning start date"},end:{type:"number",description:"The binning end date"},offset:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartCalendarBinningOffsetUnits"},size:{type:"number"}},required:["unit","size"],description:"Offset to apply to the results"},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"}},required:["type"],description:"Represents the properties related to the calendar-based temporal binning. It supports the same properties as `WebChartDateBinning` and adds some.",title:"WebChartCalendarBasedBinning"},WebChartCalendarBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","quarters","years"],description:"The temporal binning units for calendar based binning",title:"WebChartCalendarBinningUnits"},WebChartCalendarBinningOffsetUnits:{type:"string",enum:["seconds","minutes","hours","days"],description:"The temporal binning units for the calendar based binning offset",title:"WebChartCalendarBinningOffsetUnits"},WebChartCalendarDatePartsBinning:{type:"object",properties:{type:{type:"string",const:"calendarDateParts"},unit:{$ref:"#/definitions/WebChartCalendarDatePartsUnits",description:"The unit to use to bin the data."},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"}},required:["type","unit"],description:"Represents the properties related to the calendar-based date parts binning.",title:"WebChartCalendarDatePartsBinning"},WebChartCalendarDatePartsUnits:{type:"string",enum:["dayOfMonth","dayOfWeek","dayOfYear","hourOfDay","monthOfYear"],description:"Represents the units that can be used for calendar-based date parts binning.",title:"WebChartCalendarDatePartsUnits"},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:{anyOf:[{$ref:"#/definitions/WebChartCalendarBasedBinning"},{$ref:"#/definitions/WebChartFixedDateBinning"}],description:'Defines the pattern to apply to bin the data. The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "fixedDateBased" type will make the bins start at the dataset first entry (e.g. if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of a month to the 17th of the next month).'}},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:{anyOf:[{$ref:"#/definitions/WebChartCalendarBasedBinning"},{$ref:"#/definitions/WebChartFixedDateBinning"}],description:'Defines the pattern to apply to bin the data. The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "fixedDateBased" type will make the bins start at the dataset first entry (e.g. if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of a month to the 17th of the next month).'},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.91 */
|
|
4
|
+
import{a as Se,b as Mt,c as ii,d as zt,e as hr,f as ai,g as Fe,k as yr,l as It,x as ha}from"./T3V7PU2J.js";import{b as ya,c as he,d as ye}from"./ZZOOFWK5.js";import{F as fe}from"./I4Z25IHJ.js";import{a as C,b as le,c as ti,e as da,f as er,h as it,i as pa,k as ri,l as Pe,m as kt,p as ca,q as Nt,s as lt,u as ua,v as fa,x as Wt,y as Le}from"./TZH7GPAP.js";import{b as W,d as la}from"./OE75ZRE4.js";export default $arcgis.t(([{substitute:Ne},Ni,Bn,kn,Td,_i,Pd,Fd,Ad,Ed,$d,Od,Wn,Wi])=>{var Ta=W((br,Ca)=>{(function(t,e){typeof br=="object"&&typeof Ca<"u"?e(br):typeof define=="function"&&define.amd?define(["exports"],e):e(t.URI=t.URI||{})})(br,function(t){"use strict";function e(){for(var g=arguments.length,f=Array(g),v=0;v<g;v++)f[v]=arguments[v];if(f.length>1){f[0]=f[0].slice(0,-1);for(var w=f.length-1,x=1;x<w;++x)f[x]=f[x].slice(1,-1);return f[w]=f[w].slice(1),f.join("")}else return f[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,f){var v=g;if(f)for(var w in f)v[w]=f[w];return v}function n(g){var f="[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)),be="[\\:\\/\\?\\#\\[\\]\\@]",H="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",ne=e(be,H),ve=g?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",se=g?"[\\uE000-\\uF8FF]":"[]",K=e(f,w,"[\\-\\.\\_\\~]",ve),oe=i(f+e(f,w,"[\\+\\-\\.]")+"*"),te=i(i(X+"|"+e(K,H,"[\\:]"))+"*"),vt=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),Ge=i("\\:\\:"+i(ie+"\\:")+"{5}"+_e),St=i(i(ie)+"?\\:\\:"+i(ie+"\\:")+"{4}"+_e),et=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)+"?\\:\\:"),tt=i([ke,Ge,St,et,Jt,cr,ur,Lt,Rt].join("|")),jt=i(i(K+"|"+X)+"+"),Xr=i(tt+"\\%25"+jt),wt=i(tt+i("\\%25|\\%(?!"+j+"{2})")+jt),Ao=i("[vV]"+j+"+\\."+e(K,H,"[\\:]")+"+"),Eo=i("\\["+i(wt+"|"+tt+"|"+Ao)+"\\]"),aa=i(i(X+"|"+e(K,H))+"*"),Kt=i(Eo+"|"+Be+"(?!"+aa+")|"+aa),Zt=i(w+"*"),sa=i(i(te+"@")+"?"+Kt+i("\\:"+Zt)+"?"),Yt=i(X+"|"+e(K,H,"[\\:\\@]")),$o=i(Yt+"*"),na=i(Yt+"+"),Oo=i(i(X+"|"+e(K,H,"[\\@]"))+"+"),rt=i(i("\\/"+$o)+"*"),_t=i("\\/"+i(na+rt)+"?"),ei=i(Oo+rt),fr=i(na+rt),qt="(?!"+Yt+")",ru=i(rt+"|"+_t+"|"+ei+"|"+fr+"|"+qt),Bt=i(i(Yt+"|"+e("[\\/\\?]",se))+"*"),Xt=i(i(Yt+"|[\\/\\?]")+"*"),oa=i(i("\\/\\/"+sa+rt)+"|"+_t+"|"+fr+"|"+qt),Do=i(oe+"\\:"+oa+i("\\?"+Bt)+"?"+i("\\#"+Xt)+"?"),Lo=i(i("\\/\\/"+sa+rt)+"|"+_t+"|"+ei+"|"+qt),Ro=i(Lo+i("\\?"+Bt)+"?"+i("\\#"+Xt)+"?"),iu=i(Do+"|"+Ro),au=i(oe+"\\:"+oa+i("\\?"+Bt)+"?"),su="^("+oe+")\\:"+i(i("\\/\\/("+i("("+te+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?)")+"?("+rt+"|"+_t+"|"+fr+"|"+qt+")")+i("\\?("+Bt+")")+"?"+i("\\#("+Xt+")")+"?$",nu="^(){0}"+i(i("\\/\\/("+i("("+te+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?)")+"?("+rt+"|"+_t+"|"+ei+"|"+qt+")")+i("\\?("+Bt+")")+"?"+i("\\#("+Xt+")")+"?$",ou="^("+oe+")\\:"+i(i("\\/\\/("+i("("+te+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?)")+"?("+rt+"|"+_t+"|"+fr+"|"+qt+")")+i("\\?("+Bt+")")+"?$",lu="^"+i("\\#("+Xt+")")+"?$",du="^"+i("("+te+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?$";return{NOT_SCHEME:new RegExp(e("[^]",f,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,"[\\:\\@\\/\\?]",se),"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,ne),"g"),PCT_ENCODED:new RegExp(X,"g"),IPV4ADDRESS:new RegExp("^("+Be+")$"),IPV6ADDRESS:new RegExp("^\\[?("+tt+")"+i(i("\\%25|\\%(?!"+j+"{2})")+"("+jt+")")+"?\\]?$")}}var d=n(!1),u=n(!0),p=function(){function g(f,v){var w=[],x=!0,j=!1,M=void 0;try{for(var Q=f[Symbol.iterator](),X;!(x=(X=Q.next()).done)&&(w.push(X.value),!(v&&w.length===v));x=!0);}catch(be){j=!0,M=be}finally{try{!x&&Q.return&&Q.return()}finally{if(j)throw M}}return w}return function(f,v){if(Array.isArray(f))return f;if(Symbol.iterator in Object(f))return g(f,v);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),c=function(g){if(Array.isArray(g)){for(var f=0,v=Array(g.length);f<g.length;f++)v[f]=g[f];return v}else return Array.from(g)},h=2147483647,l=36,m=1,b=26,y=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-m,R=Math.floor,O=String.fromCharCode;function q(g){throw new RangeError(L[g])}function E(g,f){for(var v=[],w=g.length;w--;)v[w]=f(g[w]);return v}function D(g,f){var v=g.split("@"),w="";v.length>1&&(w=v[0]+"@",g=v[1]),g=g.replace(_,".");var x=g.split("."),j=E(x,f).join(".");return w+j}function B(g){for(var f=[],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?f.push(((x&1023)<<10)+(j&1023)+65536):(f.push(x),v--)}else f.push(x)}return f}var ee=function(f){return String.fromCodePoint.apply(String,c(f))},V=function(f){return f-48<10?f-22:f-65<26?f-65:f-97<26?f-97:l},G=function(f,v){return f+22+75*(f<26)-((v!=0)<<5)},z=function(f,v,w){var x=0;for(f=w?R(f/S):f>>1,f+=R(f/v);f>A*b>>1;x+=l)f=R(f/A);return R(x+(A+1)*f/(f+y))},N=function(f){var v=[],w=f.length,x=0,j=I,M=T,Q=f.lastIndexOf(P);Q<0&&(Q=0);for(var X=0;X<Q;++X)f.charCodeAt(X)>=128&&q("not-basic"),v.push(f.charCodeAt(X));for(var be=Q>0?Q+1:0;be<w;){for(var H=x,ne=1,ve=l;;ve+=l){be>=w&&q("invalid-input");var se=V(f.charCodeAt(be++));(se>=l||se>R((h-x)/ne))&&q("overflow"),x+=se*ne;var K=ve<=M?m:ve>=M+b?b:ve-M;if(se<K)break;var oe=l-K;ne>R(h/oe)&&q("overflow"),ne*=oe}var te=v.length+1;M=z(x-H,te,H==0),R(x/te)>h-j&&q("overflow"),j+=R(x/te),x%=te,v.splice(x++,0,j)}return String.fromCodePoint.apply(String,v)},pe=function(f){var v=[];f=B(f);var w=f.length,x=I,j=0,M=T,Q=!0,X=!1,be=void 0;try{for(var H=f[Symbol.iterator](),ne;!(Q=(ne=H.next()).done);Q=!0){var ve=ne.value;ve<128&&v.push(O(ve))}}catch(wt){X=!0,be=wt}finally{try{!Q&&H.return&&H.return()}finally{if(X)throw be}}var se=v.length,K=se;for(se&&v.push(P);K<w;){var oe=h,te=!0,vt=!1,je=void 0;try{for(var Be=f[Symbol.iterator](),ie;!(te=(ie=Be.next()).done);te=!0){var _e=ie.value;_e>=x&&_e<oe&&(oe=_e)}}catch(wt){vt=!0,je=wt}finally{try{!te&&Be.return&&Be.return()}finally{if(vt)throw je}}var ke=K+1;oe-x>R((h-j)/ke)&&q("overflow"),j+=(oe-x)*ke,x=oe;var Ge=!0,St=!1,et=void 0;try{for(var Jt=f[Symbol.iterator](),cr;!(Ge=(cr=Jt.next()).done);Ge=!0){var ur=cr.value;if(ur<x&&++j>h&&q("overflow"),ur==x){for(var Lt=j,Rt=l;;Rt+=l){var tt=Rt<=M?m:Rt>=M+b?b:Rt-M;if(Lt<tt)break;var jt=Lt-tt,Xr=l-tt;v.push(O(G(tt+jt%Xr,0))),Lt=R(jt/Xr)}v.push(O(G(Lt,0))),M=z(j,ke,K==se),j=0,++K}}}catch(wt){St=!0,et=wt}finally{try{!Ge&&Jt.return&&Jt.return()}finally{if(St)throw et}}++j,++x}return v.join("")},Ce=function(f){return D(f,function(v){return F.test(v)?N(v.slice(4).toLowerCase()):v})},Ee=function(f){return D(f,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},me={};function we(g){var f=g.charCodeAt(0),v=void 0;return f<16?v="%0"+f.toString(16).toUpperCase():f<128?v="%"+f.toString(16).toUpperCase():f<2048?v="%"+(f>>6|192).toString(16).toUpperCase()+"%"+(f&63|128).toString(16).toUpperCase():v="%"+(f>>12|224).toString(16).toUpperCase()+"%"+(f>>6&63|128).toString(16).toUpperCase()+"%"+(f&63|128).toString(16).toUpperCase(),v}function $e(g){for(var f="",v=0,w=g.length;v<w;){var x=parseInt(g.substr(v+1,2),16);if(x<128)f+=String.fromCharCode(x),v+=3;else if(x>=194&&x<224){if(w-v>=6){var j=parseInt(g.substr(v+4,2),16);f+=String.fromCharCode((x&31)<<6|j&63)}else f+=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);f+=String.fromCharCode((x&15)<<12|(M&63)<<6|Q&63)}else f+=g.substr(v,9);v+=9}else f+=g.substr(v,3),v+=3}return f}function nt(g,f){function v(w){var x=$e(w);return x.match(f.UNRESERVED)?x:w}return g.scheme&&(g.scheme=String(g.scheme).replace(f.PCT_ENCODED,v).toLowerCase().replace(f.NOT_SCHEME,"")),g.userinfo!==void 0&&(g.userinfo=String(g.userinfo).replace(f.PCT_ENCODED,v).replace(f.NOT_USERINFO,we).replace(f.PCT_ENCODED,r)),g.host!==void 0&&(g.host=String(g.host).replace(f.PCT_ENCODED,v).toLowerCase().replace(f.NOT_HOST,we).replace(f.PCT_ENCODED,r)),g.path!==void 0&&(g.path=String(g.path).replace(f.PCT_ENCODED,v).replace(g.scheme?f.NOT_PATH:f.NOT_PATH_NOSCHEME,we).replace(f.PCT_ENCODED,r)),g.query!==void 0&&(g.query=String(g.query).replace(f.PCT_ENCODED,v).replace(f.NOT_QUERY,we).replace(f.PCT_ENCODED,r)),g.fragment!==void 0&&(g.fragment=String(g.fragment).replace(f.PCT_ENCODED,v).replace(f.NOT_FRAGMENT,we).replace(f.PCT_ENCODED,r)),g}function Ye(g){return g.replace(/^0*(.*)/,"$1")||"0"}function ge(g,f){var v=g.match(f.IPV4ADDRESS)||[],w=p(v,2),x=w[1];return x?x.split(".").map(Ye).join("."):g}function ce(g,f){var v=g.match(f.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],be=Q[1],H=be?be.split(":").map(Ye):[],ne=X.split(":").map(Ye),ve=f.IPV4ADDRESS.test(ne[ne.length-1]),se=ve?7:8,K=ne.length-se,oe=Array(se),te=0;te<se;++te)oe[te]=H[te]||ne[K+te]||"";ve&&(oe[se-1]=ge(oe[se-1],f));var vt=oe.reduce(function(ke,Ge,St){if(!Ge||Ge==="0"){var et=ke[ke.length-1];et&&et.index+et.length===St?et.length++:ke.push({index:St,length:1})}return ke},[]),je=vt.sort(function(ke,Ge){return Ge.length-ke.length})[0],Be=void 0;if(je&&je.length>1){var ie=oe.slice(0,je.index),_e=oe.slice(je.index+je.length);Be=ie.join(":")+"::"+_e.join(":")}else Be=oe.join(":");return j&&(Be+="%"+j),Be}else return g}var mt=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Te="".match(/(){0}/)[1]===void 0;function Y(g){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v={},w=f.iri!==!1?u:d;f.reference==="suffix"&&(g=(f.scheme?f.scheme+":":"")+"//"+g);var x=g.match(mt);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(ge(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",f.reference&&f.reference!=="suffix"&&f.reference!==v.reference&&(v.error=v.error||"URI is not a "+f.reference+" reference.");var j=me[(f.scheme||v.scheme||"").toLowerCase()];if(!f.unicodeSupport&&(!j||!j.unicodeSupport)){if(v.host&&(f.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,f)}else v.error=v.error||"URI can not be parsed.";return v}function ot(g,f){var v=f.iri!==!1?u:d,w=[];return g.userinfo!==void 0&&(w.push(g.userinfo),w.push("@")),g.host!==void 0&&w.push(ce(ge(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 Xe=/^\.\.?\//,gt=/^\/\.(\/|$)/,bt=/^\/\.\.(\/|$)/,Ie=/^\/?(?:.|\n)*?(?=\/|$)/;function qe(g){for(var f=[];g.length;)if(g.match(Xe))g=g.replace(Xe,"");else if(g.match(gt))g=g.replace(gt,"/");else if(g.match(bt))g=g.replace(bt,"/"),f.pop();else if(g==="."||g==="..")g="";else{var v=g.match(Ie);if(v){var w=v[0];g=g.slice(w.length),f.push(w)}else throw new Error("Unexpected dot segment condition")}return f.join("")}function De(g){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=f.iri?u:d,w=[],x=me[(f.scheme||g.scheme||"").toLowerCase()];if(x&&x.serialize&&x.serialize(g,f),g.host&&!v.IPV6ADDRESS.test(g.host)){if(f.domainHost||x&&x.domainHost)try{g.host=f.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 "+(f.iri?"Unicode":"ASCII")+" via punycode: "+Q}}nt(g,v),f.reference!=="suffix"&&g.scheme&&(w.push(g.scheme),w.push(":"));var j=ot(g,f);if(j!==void 0&&(f.reference!=="suffix"&&w.push("//"),w.push(j),g.path&&g.path.charAt(0)!=="/"&&w.push("/")),g.path!==void 0){var M=g.path;!f.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,f){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},w=arguments[3],x={};return w||(g=Y(De(g,v),v),f=Y(De(f,v),v)),v=v||{},!v.tolerant&&f.scheme?(x.scheme=f.scheme,x.userinfo=f.userinfo,x.host=f.host,x.port=f.port,x.path=qe(f.path||""),x.query=f.query):(f.userinfo!==void 0||f.host!==void 0||f.port!==void 0?(x.userinfo=f.userinfo,x.host=f.host,x.port=f.port,x.path=qe(f.path||""),x.query=f.query):(f.path?(f.path.charAt(0)==="/"?x.path=qe(f.path):((g.userinfo!==void 0||g.host!==void 0||g.port!==void 0)&&!g.path?x.path="/"+f.path:g.path?x.path=g.path.slice(0,g.path.lastIndexOf("/")+1)+f.path:x.path=f.path,x.path=qe(x.path)),x.query=f.query):(x.path=g.path,f.query!==void 0?x.query=f.query:x.query=g.query),x.userinfo=g.userinfo,x.host=g.host,x.port=g.port),x.scheme=g.scheme),x.fragment=f.fragment,x}function Ve(g,f,v){var w=o({scheme:"null"},v);return De(Oe(Y(g,w),Y(f,w),w,!0),w)}function Re(g,f){return typeof g=="string"?g=De(Y(g,f),f):a(g)==="object"&&(g=Y(De(g,f),f)),g}function pr(g,f,v){return typeof g=="string"?g=De(Y(g,v),v):a(g)==="object"&&(g=De(g,v)),typeof f=="string"?f=De(Y(f,v),v):a(f)==="object"&&(f=De(f,v)),g===f}function Zr(g,f){return g&&g.toString().replace(!f||!f.iri?d.ESCAPE:u.ESCAPE,we)}function We(g,f){return g&&g.toString().replace(!f||!f.iri?d.PCT_ENCODED:u.PCT_ENCODED,$e)}var Ht={scheme:"http",domainHost:!0,parse:function(f,v){return f.host||(f.error=f.error||"HTTP URIs must have a host."),f},serialize:function(f,v){var w=String(f.scheme).toLowerCase()==="https";return(f.port===(w?443:80)||f.port==="")&&(f.port=void 0),f.path||(f.path="/"),f}},Ki={scheme:"https",domainHost:Ht.domainHost,parse:Ht.parse,serialize:Ht.serialize};function Zi(g){return typeof g.secure=="boolean"?g.secure:String(g.scheme).toLowerCase()==="wss"}var Qt={scheme:"ws",domainHost:!0,parse:function(f,v){var w=f;return w.secure=Zi(w),w.resourceName=(w.path||"/")+(w.query?"?"+w.query:""),w.path=void 0,w.query=void 0,w},serialize:function(f,v){if((f.port===(Zi(f)?443:80)||f.port==="")&&(f.port=void 0),typeof f.secure=="boolean"&&(f.scheme=f.secure?"wss":"ws",f.secure=void 0),f.resourceName){var w=f.resourceName.split("?"),x=p(w,2),j=x[0],M=x[1];f.path=j&&j!=="/"?j:void 0,f.query=M,f.resourceName=void 0}return f.fragment=void 0,f}},Yi={scheme:"wss",domainHost:Qt.domainHost,parse:Qt.parse,serialize:Qt.serialize},mo={},go=!0,Xi="[A-Za-z0-9\\-\\.\\_\\~"+(go?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",Ue="[0-9A-Fa-f]",bo=i(i("%[EFef]"+Ue+"%"+Ue+Ue+"%"+Ue+Ue)+"|"+i("%[89A-Fa-f]"+Ue+"%"+Ue+Ue)+"|"+i("%"+Ue+Ue)),vo="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",So="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",wo=e(So,'[\\"\\\\]'),Io="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",xo=new RegExp(Xi,"g"),Dt=new RegExp(bo,"g"),Co=new RegExp(e("[^]",vo,"[\\.]",'[\\"]',wo),"g"),ea=new RegExp(e("[^]",Xi,Io),"g"),To=ea;function Yr(g){var f=$e(g);return f.match(xo)?f:g}var ta={scheme:"mailto",parse:function(f,v){var w=f,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,be=Q.length;X<be;++X){var H=Q[X].split("=");switch(H[0]){case"to":for(var ne=H[1].split(","),ve=0,se=ne.length;ve<se;++ve)x.push(ne[ve]);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,oe=x.length;K<oe;++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(vt){w.error=w.error||"Email address's domain name can not be converted to ASCII via punycode: "+vt}x[K]=te.join("@")}return w},serialize:function(f,v){var w=f,x=s(f.to);if(x){for(var j=0,M=x.length;j<M;++j){var Q=String(x[j]),X=Q.lastIndexOf("@"),be=Q.slice(0,X).replace(Dt,Yr).replace(Dt,r).replace(Co,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]=be+"@"+H}w.path=x.join(",")}var ne=f.headers=f.headers||{};f.subject&&(ne.subject=f.subject),f.body&&(ne.body=f.body);var ve=[];for(var se in ne)ne[se]!==mo[se]&&ve.push(se.replace(Dt,Yr).replace(Dt,r).replace(ea,we)+"="+ne[se].replace(Dt,Yr).replace(Dt,r).replace(To,we));return ve.length&&(w.query=ve.join("&")),w}},Po=/^([^\:]+)\:(.*)/,ra={scheme:"urn",parse:function(f,v){var w=f.path&&f.path.match(Po),x=f;if(w){var j=v.scheme||x.scheme||"urn",M=w[1].toLowerCase(),Q=w[2],X=j+":"+(v.nid||M),be=me[X];x.nid=M,x.nss=Q,x.path=void 0,be&&(x=be.parse(x,v))}else x.error=x.error||"URN can not be parsed.";return x},serialize:function(f,v){var w=v.scheme||f.scheme||"urn",x=f.nid,j=w+":"+(v.nid||x),M=me[j];M&&(f=M.serialize(f,v));var Q=f,X=f.nss;return Q.path=(x||v.nid)+":"+X,Q}},Fo=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,ia={scheme:"urn:uuid",parse:function(f,v){var w=f;return w.uuid=w.nss,w.nss=void 0,!v.tolerant&&(!w.uuid||!w.uuid.match(Fo))&&(w.error=w.error||"UUID is not valid."),w},serialize:function(f,v){var w=f;return w.nss=(f.uuid||"").toLowerCase(),w}};me[Ht.scheme]=Ht,me[Ki.scheme]=Ki,me[Qt.scheme]=Qt,me[Yi.scheme]=Yi,me[ta.scheme]=ta,me[ra.scheme]=ra,me[ia.scheme]=ia,t.SCHEMES=me,t.pctEncChar=we,t.pctDecChars=$e,t.parse=Y,t.removeDotSegments=qe,t.serialize=De,t.resolveComponents=Oe,t.resolve=Ve,t.normalize=Re,t.equal=pr,t.escapeComponent=Zr,t.unescapeComponent=We,Object.defineProperty(t,"__esModule",{value:!0})})});var vr=W((Nu,Pa)=>{"use strict";Pa.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 Aa=W((Wu,Fa)=>{"use strict";Fa.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 Ct=W((Mu,Oa)=>{"use strict";Oa.exports={copy:No,checkDataType:oi,checkDataTypes:Wo,coerceToTypes:Mo,toHash:di,getProperty:pi,escapeQuotes:ci,equal:vr(),ucs2length:Aa(),varOccurences:Uo,varReplace:Go,schemaHasRules:Ho,schemaHasRulesExcept:Qo,schemaUnknownRules:Jo,toQuotedString:li,getPathExpr:Ko,getPath:Zo,getData:el,unescapeFragment:tl,unescapeJsonPointer:fi,escapeFragment:rl,escapeJsonPointer:ui};function No(t,e){e=e||{};for(var i in t)e[i]=t[i];return e}function oi(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 Wo(t,e,i){switch(t.length){case 1:return oi(t[0],e,i,!0);default:var a="",r=di(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?" && ":"")+oi(s,e,i,!0);return a}}var Ea=di(["string","number","integer","boolean","null"]);function Mo(t,e){if(Array.isArray(e)){for(var i=[],a=0;a<e.length;a++){var r=e[a];(Ea[r]||t==="array"&&r==="array")&&(i[i.length]=r)}if(i.length)return i}else{if(Ea[e])return[e];if(t==="array"&&e==="array")return["array"]}}function di(t){for(var e={},i=0;i<t.length;i++)e[t[i]]=!0;return e}var zo=/^[a-z$_][a-z$_0-9]*$/i,Vo=/'|\\/g;function pi(t){return typeof t=="number"?"["+t+"]":zo.test(t)?"."+t:"['"+ci(t)+"']"}function ci(t){return t.replace(Vo,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function Uo(t,e){e+="[^0-9]";var i=t.match(new RegExp(e,"g"));return i?i.length:0}function Go(t,e,i){return e+="([^0-9])",i=i.replace(/\$/g,"$$$$"),t.replace(new RegExp(e,"g"),i+"$1")}function Ho(t,e){if(typeof t=="boolean")return!t;for(var i in t)if(e[i])return!0}function Qo(t,e,i){if(typeof t=="boolean")return!t&&i!="not";for(var a in t)if(a!=i&&e[a])return!0}function Jo(t,e){if(typeof t!="boolean"){for(var i in t)if(!e[i])return i}}function li(t){return"'"+ci(t)+"'"}function Ko(t,e,i,a){var r=i?"'/' + "+e+(a?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):a?"'[' + "+e+" + ']'":"'[\\'' + "+e+" + '\\']'";return $a(t,r)}function Zo(t,e,i){var a=li(i?"/"+ui(e):pi(e));return $a(t,a)}var Yo=/^\/(?:[^~]|~0|~1)*$/,Xo=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function el(t,e,i){var a,r,s,o;if(t==="")return"rootData";if(t[0]=="/"){if(!Yo.test(t))throw new Error("Invalid JSON-pointer: "+t);r=t,s="rootData"}else{if(o=t.match(Xo),!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+=pi(fi(p)),n+=" && "+s)}return n}function $a(t,e){return t=='""'?e:(t+" + "+e).replace(/([^\\])' \+ '/g,"$1")}function tl(t){return fi(decodeURIComponent(t))}function rl(t){return encodeURIComponent(ui(t))}function ui(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}function fi(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}});var hi=W((zu,Da)=>{"use strict";var il=Ct();Da.exports=al;function al(t){il.copy(t,this)}});var Ra=W((Vu,La)=>{"use strict";var dt=La.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(){};Sr(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 Sr(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 h=0;h<c.length;h++)Sr(t,e,i,c[h],r+"/"+p+"/"+h,s,r,p,a,h)}else if(p in dt.propsKeywords){if(c&&typeof c=="object")for(var l in c)Sr(t,e,i,c[l],r+"/"+p+"/"+sl(l),s,r,p,a,l)}else(p in dt.keywords||t.allKeys&&!(p in dt.skipKeywords))&&Sr(t,e,i,c,r+"/"+p,s,r,p,a)}i(a,r,s,o,n,d,u)}}function sl(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var Pr=W((Uu,Ba)=>{"use strict";var rr=Ta(),ja=vr(),Cr=Ct(),wr=hi(),nl=Ra();Ba.exports=ct;ct.normalizeId=pt;ct.fullPath=Ir;ct.url=xr;ct.ids=cl;ct.inlineRef=yi;ct.schema=Tr;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 wr)return yi(a.schema,this._opts.inlineRefs)?a.schema:a.validate||this._compile(a);var r=Tr.call(this,e,i),s,o,n;return r&&(s=r.schema,e=r.root,n=r.baseId),s instanceof wr?o=s.validate||t.call(this,s.schema,e,void 0,n):s!==void 0&&(o=yi(s,this._opts.inlineRefs)?s:t.call(this,s,e,void 0,n)),o}function Tr(t,e){var i=rr.parse(e),a=qa(i),r=Ir(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 ol.call(this,t,o,i);if(o instanceof wr)o.validate||this._compile(o),t=o;else if(o=this._schemas[s],o instanceof wr){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=Ir(this._getId(t.schema))}return _a.call(this,i,r,t.schema,t)}function ol(t,e,i){var a=Tr.call(this,t,e);if(a){var r=a.schema,s=a.baseId;t=a.root;var o=this._getId(r);return o&&(s=xr(s,o)),_a.call(this,i,s,r,t)}}var ll=Cr.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function _a(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=Cr.unescapeFragment(o),i=i[o],i===void 0)break;var n;if(!ll[o]&&(n=this._getId(i),n&&(e=xr(e,n)),i.$ref)){var d=xr(e,i.$ref),u=Tr.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 dl=Cr.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function yi(t,e){if(e===!1)return!1;if(e===void 0||e===!0)return mi(t);if(e)return gi(t)<=e}function mi(t){var e;if(Array.isArray(t)){for(var i=0;i<t.length;i++)if(e=t[i],typeof e=="object"&&!mi(e))return!1}else for(var a in t)if(a=="$ref"||(e=t[a],typeof e=="object"&&!mi(e)))return!1;return!0}function gi(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+=gi(i)),e==1/0)return 1/0}else for(var r in t){if(r=="$ref")return 1/0;if(dl[r])e++;else if(i=t[r],typeof i=="object"&&(e+=gi(i)+1),e==1/0)return 1/0}return e}function Ir(t,e){e!==!1&&(t=pt(t));var i=rr.parse(t);return qa(i)}function qa(t){return rr.serialize(t).split("#")[0]+"#"}var pl=/#\/?$/;function pt(t){return t?t.replace(pl,""):""}function xr(t,e){return e=pt(e),rr.resolve(t,e)}function cl(t){var e=pt(this._getId(t)),i={"":e},a={"":Ir(e,!1)},r={},s=this;return nl(t,{allKeys:!0},function(o,n,d,u,p,c,h){if(n!==""){var l=s._getId(o),m=i[u],b=a[u]+"/"+p;if(h!==void 0&&(b+="/"+(typeof h=="number"?h:Cr.escapeFragment(h))),typeof l=="string"){l=m=pt(m?rr.resolve(m,l):l);var y=s._refs[l];if(typeof y=="string"&&(y=s._refs[y]),y&&y.schema){if(!ja(o,y.schema))throw new Error('id "'+l+'" resolves to more than one schema')}else if(l!=pt(b))if(l[0]=="#"){if(r[l]&&!ja(o,r[l]))throw new Error('id "'+l+'" resolves to more than one schema');r[l]=o}else s._refs[l]=b}i[n]=m,a[n]=b}}),r}});var Fr=W((Gu,Na)=>{"use strict";var bi=Pr();Na.exports={Validation:ka(ul),MissingRef:ka(vi)};function ul(t){this.message="validation failed",this.errors=t,this.ajv=this.validation=!0}vi.message=function(t,e){return"can't resolve reference "+e+" from id "+t};function vi(t,e,i){this.message=i||vi.message(t,e),this.missingRef=bi.url(t,e),this.missingSchema=bi.normalizeId(bi.fullPath(this.missingRef))}function ka(t){return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}});var Si=W((Hu,Wa)=>{"use strict";Wa.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],h=s(o[c]);h&&(d&&(d+=","),d+=JSON.stringify(c)+":"+h)}return r.splice(u,1),"{"+d+"}"}}(t)}});var wi=W((Qu,Ma)=>{"use strict";Ma.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,h=e.schema[i],l=e.schemaPath+e.util.getProperty(i),m=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 y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , 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=y.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",m=e.errSchemaPath+"/type",l=e.schemaPath+".type",m=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 y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , 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=y.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 y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , 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=y.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 h=e.schema.properties,me=Object.keys(h),we=me;if(we)for(var $e,nt=-1,Ye=we.length-1;nt<Ye;){$e=we[nt+=1];var ge=h[$e];if(ge.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(ge.default)+" ":r+=" "+JSON.stringify(ge.default)+" ",r+="; "}}}else if(q.type=="array"&&Array.isArray(e.schema.items)){var mt=e.schema.items;if(mt){for(var ge,G=-1,Te=mt.length-1;G<Te;)if(ge=mt[G+=1],ge.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(ge.default)+" ":r+=" "+JSON.stringify(ge.default)+" ",r+="; "}}}}var Y=q.rules;if(Y){for(var ot,Xe=-1,gt=Y.length-1;Xe<gt;)if(ot=Y[Xe+=1],qe(ot)){var bt=ot.code(e,ot.keyword,q.type);bt&&(r+=" "+bt+" ",F&&($+="}"))}}if(F&&(r+=" "+$+" ",$=""),q.type&&(r+=" } ",A&&A===q.type&&!O)){r+=" else { ";var l=e.schemaPath+".type",m=e.errSchemaPath+"/type",y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , 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=y.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 Ve=Oe.rules,Re=0;Re<Ve.length;Re++)if(qe(Ve[Re]))return!0}function qe(Oe){return e.schema[Oe.keyword]!==void 0||Oe.implements&&De(Oe)}function De(Oe){for(var Ve=Oe.implements,Re=0;Re<Ve.length;Re++)if(e.schema[Ve[Re]]!==void 0)return!0}return r}});var Ha=W((Ju,Ga)=>{"use strict";var Ar=Pr(),$r=Ct(),Va=Fr(),fl=Si(),za=wi(),hl=$r.ucs2length,yl=vr(),ml=Va.Validation;Ga.exports=Ii;function Ii(t,e,i,a){var r=this,s=this._opts,o=[void 0],n={},d=[],u={},p=[],c={},h=[];e=e||{schema:t,refVal:o,refs:n};var l=gl.call(this,t,e,a),m=this._compilations[l.index];if(l.compiling)return m.callValidate=I;var b=this._formats,y=this.RULES;try{var S=P(t,e,i,a);m.validate=S;var T=m.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{bl.call(this,t,e,a)}function I(){var E=m.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 Ii.call(r,E,D,B,ee);var G=E.$async===!0,z=za({isTop:!0,schema:E,isRoot:V,baseId:ee,root:D,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:Va.MissingRef,RULES:y,validate:za,util:$r,resolve:Ar,resolveRef:F,usePattern:R,useDefault:O,useCustomRule:q,opts:s,formats:b,logger:r.logger,self:r});z=Er(o,wl)+Er(d,vl)+Er(p,Sl)+Er(h,Il)+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,y,b,e,o,p,h,yl,hl,ml),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=Ar.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=Ar.call(r,P,e,D);if(N===void 0){var pe=i&&i[D];pe&&(N=Ar.inlineRef(pe,s.inlineRefs)?pe:Ii.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 $r.toQuotedString(E);case"object":if(E===null)return"null";var D=fl(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 me=h.length;return h[me]=J,{code:"customRule"+me,validate:J}}}function gl(t,e,i){var a=Ua.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 bl(t,e,i){var a=Ua.call(this,t,e,i);a>=0&&this._compilations.splice(a,1)}function Ua(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 vl(t,e){return"var pattern"+t+" = new RegExp("+$r.toQuotedString(e[t])+");"}function Sl(t){return"var default"+t+" = defaults["+t+"];"}function wl(t,e){return e[t]===void 0?"":"var refVal"+t+" = refVal["+t+"];"}function Il(t){return"var customRule"+t+" = customRules["+t+"];"}function Er(t,e){if(!t.length)return"";for(var i="",a=0;a<t.length;a++)i+=e(a,t);return i}});var Ja=W((Ku,Qa)=>{"use strict";var Or=Qa.exports=function(){this._cache={}};Or.prototype.put=function(e,i){this._cache[e]=i};Or.prototype.get=function(e){return this._cache[e]};Or.prototype.del=function(e){delete this._cache[e]};Or.prototype.clear=function(){this._cache={}}});var os=W((Zu,ns)=>{"use strict";var xl=Ct(),Cl=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,Tl=[0,31,28,31,30,31,30,31,31,30,31,30,31],Pl=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,Ka=/^(?=.{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,Fl=/^(?:[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,Al=/^(?:[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,Za=/^(?:(?:[^\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,Ya=/^(?:(?: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,Xa=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,es=/^(?:\/(?:[^~/]|~0|~1)*)*$/,ts=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,rs=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;ns.exports=Dr;function Dr(t){return t=t=="full"?"full":"fast",xl.copy(Dr[t])}Dr.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":Za,url:Ya,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:Ka,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:ss,uuid:Xa,"json-pointer":es,"json-pointer-uri-fragment":ts,"relative-json-pointer":rs};Dr.full={date:is,time:as,"date-time":Ol,uri:Ll,"uri-reference":Al,"uri-template":Za,url:Ya,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:Ka,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:ss,uuid:Xa,"json-pointer":es,"json-pointer-uri-fragment":ts,"relative-json-pointer":rs};function El(t){return t%4===0&&(t%100!==0||t%400===0)}function is(t){var e=t.match(Cl);if(!e)return!1;var i=+e[1],a=+e[2],r=+e[3];return a>=1&&a<=12&&r>=1&&r<=(a==2&&El(i)?29:Tl[a])}function as(t,e){var i=t.match(Pl);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 $l=/t|\s/i;function Ol(t){var e=t.split($l);return e.length==2&&is(e[0])&&as(e[1],!0)}var Dl=/\/|:/;function Ll(t){return Dl.test(t)&&Fl.test(t)}var Rl=/[^\\]\\Z/;function ss(t){if(Rl.test(t))return!1;try{return new RegExp(t),!0}catch{return!1}}});var ds=W((Yu,ls)=>{"use strict";ls.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,h,l;if(n=="#"||n=="#/")e.isRoot?(h=e.async,l="validate"):(h=e.root.schema.$async===!0,l="root.refVal[0]");else{var m=e.resolveRef(e.baseId,n,e.isRoot);if(m===void 0){var b=e.MissingRefError.message(e.baseId,n);if(e.opts.missingRefs=="fail"){e.logger.error(b);var y=y||[];y.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=y.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(m.inline){var T=e.util.copy(e);T.level++;var I="valid"+T.level;T.schema=m.schema,T.schemaPath="",T.errSchemaPath=n;var P=e.validate(T).replace(/validate\.schema/g,m.code);r+=" "+P+" ",u&&(r+=" if ("+I+") { ")}else h=m.$async===!0||e.async&&m.$async!==!1,l=m.code}if(l){var y=y||[];y.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=y.pop(),h){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 cs=W((Xu,ps)=>{"use strict";ps.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,h=u.baseId,l=!0,m=s;if(m)for(var b,y=-1,S=m.length-1;y<S;)b=m[y+=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+"["+y+"]",u.errSchemaPath=n+"/"+y,r+=" "+e.validate(u)+" ",u.baseId=h,d&&(r+=" if ("+c+") { ",p+="}"));return d&&(l?r+=" if (true) { ":r+=" "+p.slice(0,-1)+" "),r}});var fs=W((ef,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||""),h="valid"+s,l="errs__"+s,m=e.util.copy(e),b="";m.level++;var y="valid"+m.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=m.baseId;r+=" var "+l+" = errors; var "+h+" = false; ";var I=e.compositeRule;e.compositeRule=m.compositeRule=!0;var P=n;if(P)for(var F,$=-1,_=P.length-1;$<_;)F=P[$+=1],m.schema=F,m.schemaPath=d+"["+$+"]",m.errSchemaPath=u+"/"+$,r+=" "+e.validate(m)+" ",m.baseId=T,r+=" "+h+" = "+h+" || "+y+"; if (!"+h+") { ",b+="}";e.compositeRule=m.compositeRule=I,r+=" "+b+" if (!"+h+") { 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 ys=W((tf,hs)=>{"use strict";hs.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 gs=W((rf,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||""),h="valid"+s,l=e.opts.$data&&n&&n.$data,m;l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",m="schema"+s):m=n,l||(r+=" var schema"+s+" = validate.schema"+d+";"),r+="var "+h+" = equal("+c+", schema"+s+"); if (!"+h+") { ";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 y=r;return r=b.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+y+"]); ":r+=" validate.errors = ["+y+"]; return false; ":r+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" }",p&&(r+=" else { "),r}});var vs=W((af,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||""),h="valid"+s,l="errs__"+s,m=e.util.copy(e),b="";m.level++;var y="valid"+m.level,S="i"+s,T=m.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 "+h+";",F){var $=e.compositeRule;e.compositeRule=m.compositeRule=!0,m.schema=n,m.schemaPath=d,m.errSchemaPath=u,r+=" var "+y+" = false; for (var "+S+" = 0; "+S+" < "+c+".length; "+S+"++) { ",m.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var _=c+"["+S+"]";m.dataPathArr[T]=S;var L=e.validate(m);m.baseId=P,e.util.varOccurences(L,I)<2?r+=" "+e.util.varReplace(L,I,_)+" ":r+=" var "+I+" = "+_+"; "+L+" ",r+=" if ("+y+") break; } ",e.compositeRule=m.compositeRule=$,r+=" "+b+" if (!"+y+") {"}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 ws=W((sf,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||""),h="errs__"+s,l=e.util.copy(e),m="";l.level++;var b="valid"+l.level,y={},S={},T=e.opts.ownProperties;for($ in n)if($!="__proto__"){var I=n[$],P=Array.isArray(I)?S:y;P[$]=I}r+="var "+h+" = 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&&(m+="}",r+=" else { ")}e.errorPath=F;var N=l.baseId;for(var $ in y){var I=y[$];(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+") { ",m+="}"))}return p&&(r+=" "+m+" if ("+h+" == errors) {"),r}});var xs=W((nf,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||""),h="valid"+s,l=e.opts.$data&&n&&n.$data,m;l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",m="schema"+s):m=n;var b="i"+s,y="schema"+s;l||(r+=" var "+y+" = validate.schema"+d+";"),r+="var "+h+";",l&&(r+=" if (schema"+s+" === undefined) "+h+" = true; else if (!Array.isArray(schema"+s+")) "+h+" = false; else {"),r+=""+h+" = false;for (var "+b+"=0; "+b+"<"+y+".length; "+b+"++) if (equal("+c+", "+y+"["+b+"])) { "+h+" = true; break; }",l&&(r+=" } "),r+=" if (!"+h+") { ";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 Ts=W((of,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||"");if(e.opts.format===!1)return p&&(r+=" if (true) { "),r;var h=e.opts.$data&&n&&n.$data,l;h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n;var m=e.opts.unknownFormats,b=Array.isArray(m);if(h){var y="format"+s,S="isObject"+s,T="formatType"+s;r+=" var "+y+" = formats["+l+"]; var "+S+" = typeof "+y+" == 'object' && !("+y+" instanceof RegExp) && "+y+".validate; var "+T+" = "+S+" && "+y+".type || 'string'; if ("+S+") { ",e.async&&(r+=" var async"+s+" = "+y+".async; "),r+=" "+y+" = "+y+".validate; } if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'string') || "),r+=" (",m!="ignore"&&(r+=" ("+l+" && !"+y+" ",b&&(r+=" && self._opts.unknownFormats.indexOf("+l+") == -1 "),r+=") || "),r+=" ("+y+" && "+T+" == '"+a+"' && !(typeof "+y+" == 'function' ? ",e.async?r+=" (async"+s+" ? await "+y+"("+c+") : "+y+"("+c+")) ":r+=" "+y+"("+c+") ",r+=" : "+y+".test("+c+"))))) {"}else{var y=e.formats[n];if(!y){if(m=="ignore")return e.logger.warn('unknown format "'+n+'" ignored in schema at path "'+e.errSchemaPath+'"'),p&&(r+=" if (true) { "),r;if(b&&m.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 y=="object"&&!(y instanceof RegExp)&&y.validate,T=S&&y.type||"string";if(S){var I=y.async===!0;y=y.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 y=="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: ",h?r+=""+l:r+=""+e.util.toQuotedString(n),r+=" } ",e.opts.messages!==!1&&(r+=` , message: 'should match format "`,h?r+="' + "+l+" + '":r+=""+e.util.escapeQuotes(n),r+=`"' `),e.opts.verbose&&(r+=" , schema: ",h?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 Fs=W((lf,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,c="data"+(o||""),h="valid"+s,l="errs__"+s,m=e.util.copy(e);m.level++;var b="valid"+m.level,y=e.schema.then,S=e.schema.else,T=y!==void 0&&(e.opts.strictKeywords?typeof y=="object"&&Object.keys(y).length>0||y===!1:e.util.schemaHasRules(y,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=m.baseId;if(T||I){var F;m.createErrors=!1,m.schema=n,m.schemaPath=d,m.errSchemaPath=u,r+=" var "+l+" = errors; var "+h+" = true; ";var $=e.compositeRule;e.compositeRule=m.compositeRule=!0,r+=" "+e.validate(m)+" ",m.baseId=P,m.createErrors=!0,r+=" errors = "+l+"; if (vErrors !== null) { if ("+l+") vErrors.length = "+l+"; else vErrors = null; } ",e.compositeRule=m.compositeRule=$,T?(r+=" if ("+b+") { ",m.schema=e.schema.then,m.schemaPath=e.schemaPath+".then",m.errSchemaPath=e.errSchemaPath+"/then",r+=" "+e.validate(m)+" ",m.baseId=P,r+=" "+h+" = "+b+"; ",T&&I?(F="ifClause"+s,r+=" var "+F+" = 'then'; "):F="'then'",r+=" } ",I&&(r+=" else { ")):r+=" if (!"+b+") { ",I&&(m.schema=e.schema.else,m.schemaPath=e.schemaPath+".else",m.errSchemaPath=e.errSchemaPath+"/else",r+=" "+e.validate(m)+" ",m.baseId=P,r+=" "+h+" = "+b+"; ",T&&I?(F="ifClause"+s,r+=" var "+F+" = 'else'; "):F="'else'",r+=" } "),r+=" if (!"+h+") { 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 Es=W((df,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,c="data"+(o||""),h="valid"+s,l="errs__"+s,m=e.util.copy(e),b="";m.level++;var y="valid"+m.level,S="i"+s,T=m.dataLevel=e.dataLevel+1,I="data"+T,P=e.baseId;if(r+="var "+l+" = errors;var "+h+";",Array.isArray(n)){var F=e.schema.additionalItems;if(F===!1){r+=" "+h+" = "+c+".length <= "+n.length+"; ";var $=u;u=e.errSchemaPath+"/additionalItems",r+=" if (!"+h+") { ";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+=" "+y+" = true; if ("+c+".length > "+O+") { ";var E=c+"["+O+"]";m.schema=R,m.schemaPath=d+"["+O+"]",m.errSchemaPath=u+"/"+O,m.errorPath=e.util.getPathExpr(e.errorPath,O,e.opts.jsonPointers,!0),m.dataPathArr[T]=O;var D=e.validate(m);m.baseId=P,e.util.varOccurences(D,I)<2?r+=" "+e.util.varReplace(D,I,E)+" ":r+=" var "+I+" = "+E+"; "+D+" ",r+=" } ",p&&(r+=" if ("+y+") { ",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))){m.schema=F,m.schemaPath=e.schemaPath+".additionalItems",m.errSchemaPath=e.errSchemaPath+"/additionalItems",r+=" "+y+" = true; if ("+c+".length > "+n.length+") { for (var "+S+" = "+n.length+"; "+S+" < "+c+".length; "+S+"++) { ",m.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var E=c+"["+S+"]";m.dataPathArr[T]=S;var D=e.validate(m);m.baseId=P,e.util.varOccurences(D,I)<2?r+=" "+e.util.varReplace(D,I,E)+" ":r+=" var "+I+" = "+E+"; "+D+" ",p&&(r+=" if (!"+y+") break; "),r+=" } } ",p&&(r+=" if ("+y+") { ",b+="}")}}else if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){m.schema=n,m.schemaPath=d,m.errSchemaPath=u,r+=" for (var "+S+" = 0; "+S+" < "+c+".length; "+S+"++) { ",m.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var E=c+"["+S+"]";m.dataPathArr[T]=S;var D=e.validate(m);m.baseId=P,e.util.varOccurences(D,I)<2?r+=" "+e.util.varReplace(D,I,E)+" ":r+=" var "+I+" = "+E+"; "+D+" ",p&&(r+=" if (!"+y+") break; "),r+=" }"}return p&&(r+=" "+b+" if ("+l+" == errors) {"),r}});var xi=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,P,c="data"+(o||""),h=e.opts.$data&&n&&n.$data,l;h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n;var m=i=="maximum",b=m?"exclusiveMaximum":"exclusiveMinimum",y=e.schema[b],S=e.opts.$data&&y&&y.$data,T=m?"<":">",I=m?">":"<",P=void 0;if(!(h||typeof n=="number"||n===void 0))throw new Error(i+" must be number");if(!(S||y===void 0||typeof y=="number"||typeof y=="boolean"))throw new Error(b+" must be number or boolean");if(S){var F=e.util.getData(y.$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 ( ",h&&(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,h=S)}else{var L=typeof y=="number",R=T;if(L&&h){var A="'"+R+"'";r+=" if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" ( "+l+" === undefined || "+y+" "+T+"= "+l+" ? "+c+" "+I+"= "+y+" : "+c+" "+I+" "+l+" ) || "+c+" !== "+c+") { "}else{L&&n===void 0?($=!0,P=b,u=e.errSchemaPath+"/"+b,l=y,I+="="):(L&&(l=Math[m?"min":"max"](y,n)),y===(L?l:!0)?($=!0,P=b,u=e.errSchemaPath+"/"+b,I+="="):($=!1,R+="="));var A="'"+R+"'";r+=" if ( ",h&&(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+" ",h?r+="' + "+l:r+=""+l+"'"),e.opts.verbose&&(r+=" , schema: ",h?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 Ci=W((cf,Os)=>{"use strict";Os.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||""),h=e.opts.$data&&n&&n.$data,l;if(h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(h||typeof n=="number"))throw new Error(i+" must be number");var m=i=="maxItems"?">":"<";r+="if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" "+c+".length "+m+" "+l+") { ";var b=i,y=y||[];y.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 ",h?r+="' + "+l+" + '":r+=""+n,r+=" items' "),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var S=r;return r=y.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 Ti=W((uf,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,b,c="data"+(o||""),h=e.opts.$data&&n&&n.$data,l;if(h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(h||typeof n=="number"))throw new Error(i+" must be number");var m=i=="maxLength"?">":"<";r+="if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),e.opts.unicode===!1?r+=" "+c+".length ":r+=" ucs2length("+c+") ",r+=" "+m+" "+l+") { ";var b=i,y=y||[];y.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 ",h?r+="' + "+l+" + '":r+=""+n,r+=" characters' "),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var S=r;return r=y.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 Pi=W((ff,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,b,c="data"+(o||""),h=e.opts.$data&&n&&n.$data,l;if(h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(h||typeof n=="number"))throw new Error(i+" must be number");var m=i=="maxProperties"?">":"<";r+="if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" Object.keys("+c+").length "+m+" "+l+") { ";var b=i,y=y||[];y.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 ",h?r+="' + "+l+" + '":r+=""+n,r+=" properties' "),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var S=r;return r=y.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 js=W((hf,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||""),h=e.opts.$data&&n&&n.$data,l;if(h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(h||typeof n=="number"))throw new Error(i+" must be number");r+="var division"+s+";if (",h&&(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+=" ) ",h&&(r+=" ) "),r+=" ) { ";var m=m||[];m.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 ",h?r+="' + "+l:r+=""+l+"'"),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var b=r;return r=m.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 qs=W((yf,_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||""),h="errs__"+s,l=e.util.copy(e);l.level++;var m="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 "+h+" = errors; ";var b=e.compositeRule;e.compositeRule=l.compositeRule=!0,l.createErrors=!1;var y;l.opts.allErrors&&(y=l.opts.allErrors,l.opts.allErrors=!1),r+=" "+e.validate(l)+" ",l.createErrors=!0,y&&(l.opts.allErrors=y),e.compositeRule=l.compositeRule=b,r+=" if ("+m+") { ";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 = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; 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 ks=W((mf,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||""),h="valid"+s,l="errs__"+s,m=e.util.copy(e),b="";m.level++;var y="valid"+m.level,S=m.baseId,T="prevValid"+s,I="passingSchemas"+s;r+="var "+l+" = errors , "+T+" = false , "+h+" = false , "+I+" = null; ";var P=e.compositeRule;e.compositeRule=m.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))?(m.schema=$,m.schemaPath=d+"["+_+"]",m.errSchemaPath=u+"/"+_,r+=" "+e.validate(m)+" ",m.baseId=S):r+=" var "+y+" = true; ",_&&(r+=" if ("+y+" && "+T+") { "+h+" = false; "+I+" = ["+I+", "+_+"]; } else { ",b+="}"),r+=" if ("+y+") { "+h+" = "+T+" = true; "+I+" = "+_+"; }";return e.compositeRule=m.compositeRule=P,r+=""+b+"if (!"+h+") { 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 Ws=W((gf,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||""),h=e.opts.$data&&n&&n.$data,l;h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n;var m=h?"(new RegExp("+l+"))":e.usePattern(n);r+="if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'string') || "),r+=" !"+m+".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: ",h?r+=""+l:r+=""+e.util.toQuotedString(n),r+=" } ",e.opts.messages!==!1&&(r+=` , message: 'should match pattern "`,h?r+="' + "+l+" + '":r+=""+e.util.escapeQuotes(n),r+=`"' `),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+d:r+=""+e.util.toQuotedString(n),r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var y=r;return r=b.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+y+"]); ":r+=" validate.errors = ["+y+"]; return false; ":r+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",p&&(r+=" else { "),r}});var zs=W((bf,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||""),h="errs__"+s,l=e.util.copy(e),m="";l.level++;var b="valid"+l.level,y="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 "+h+" = 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 "+y+" = "+P+"["+S+"]; ":r+=" for (var "+y+" in "+c+") { ",A){if(r+=" var isAdditional"+s+" = !(false ",F.length)if(F.length>8)r+=" || validate.schema"+d+".hasOwnProperty("+y+") ";else{var z=F;if(z)for(var N,pe=-1,Ce=z.length-1;pe<Ce;)N=z[pe+=1],r+=" || "+y+" == "+e.util.toQuotedString(N)+" "}if(_.length){var Ee=_;if(Ee)for(var J,me=-1,we=Ee.length-1;me<we;)J=Ee[me+=1],r+=" || "+e.usePattern(J)+".test("+y+") "}r+=" ); if (isAdditional"+s+") { "}if(q=="all")r+=" delete "+c+"["+y+"]; ";else{var $e=e.errorPath,nt="' + "+y+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers)),R)if(q)r+=" delete "+c+"["+y+"]; ";else{r+=" "+b+" = false; ";var Ye=u;u=e.errSchemaPath+"/additionalProperties";var ge=ge||[];ge.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=ge.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=Ye,p&&(r+=" break; ")}else if(O)if(q=="failing"){r+=" var "+h+" = errors; ";var mt=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,y,e.opts.jsonPointers);var Te=c+"["+y+"]";l.dataPathArr[T]=y;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 = "+h+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+c+"["+y+"]; } ",e.compositeRule=l.compositeRule=mt}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,y,e.opts.jsonPointers);var Te=c+"["+y+"]";l.dataPathArr[T]=y;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+") { ",m+="}")}var ot=e.opts.useDefaults&&!e.compositeRule;if(F.length){var Xe=F;if(Xe)for(var N,gt=-1,bt=Xe.length-1;gt<bt;){N=Xe[gt+=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,Ye=u,Ve=e.util.escapeQuotes(N);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath($e,N,e.opts.jsonPointers)),u=e.errSchemaPath+"/required";var ge=ge||[];ge.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+Ve+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+Ve+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var ce=r;r=ge.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=Ye,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+") { ",m+="}")}}if(_.length){var Re=_;if(Re)for(var J,pr=-1,Zr=Re.length-1;pr<Zr;){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 "+y+" = "+P+"["+S+"]; ":r+=" for (var "+y+" in "+c+") { ",r+=" if ("+e.usePattern(J)+".test("+y+")) { ",l.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers);var Te=c+"["+y+"]";l.dataPathArr[T]=y;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+") { ",m+="}")}}}return p&&(r+=" "+m+" if ("+h+" == errors) {"),r}});var Us=W((vf,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||""),h="errs__"+s,l=e.util.copy(e),m="";l.level++;var b="valid"+l.level;if(r+="var "+h+" = 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 y="key"+s,S="idx"+s,T="i"+s,I="' + "+y+" + '",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 "+y+" = "+$+"["+S+"]; ":r+=" for (var "+y+" in "+c+") { ",r+=" var startErrs"+s+" = errors; ";var A=y,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 = "+y+"; } 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+=" "+m+" if ("+h+" == errors) {"),r}});var Hs=W((Sf,Gs)=>{"use strict";Gs.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||""),h="valid"+s,l=e.opts.$data&&n&&n.$data,m;l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",m="schema"+s):m=n;var b="schema"+s;if(!l)if(n.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var y=[],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))||(y[y.length]=T)}}else var y=n;if(l||y.length){var $=e.errorPath,_=l||y.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 "+h+" = true; ",l&&(r+=" if (schema"+s+" === undefined) "+h+" = true; else if (!Array.isArray(schema"+s+")) "+h+" = false; else {"),r+=" for (var "+A+" = 0; "+A+" < "+b+".length; "+A+"++) { "+h+" = "+c+"["+b+"["+A+"]] !== undefined ",L&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", "+b+"["+A+"]) "),r+="; if (!"+h+") break; } ",l&&(r+=" } "),r+=" if (!"+h+") { ";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=y;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=y;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 Js=W((wf,Qs)=>{"use strict";Qs.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||""),h="valid"+s,l=e.opts.$data&&n&&n.$data,m;if(l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",m="schema"+s):m=n,(n||l)&&e.opts.uniqueItems!==!1){l&&(r+=" var "+h+"; if ("+m+" === false || "+m+" === undefined) "+h+" = true; else if (typeof "+m+" != 'boolean') "+h+" = false; else { "),r+=" var i = "+c+".length , "+h+" = true , j; if (i > 1) { ";var b=e.schema.items&&e.schema.items.type,y=Array.isArray(b);if(!b||b=="object"||b=="array"||y&&(b.indexOf("object")>=0||b.indexOf("array")>=0))r+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+c+"[i], "+c+"[j])) { "+h+" = false; break outer; } } } ";else{r+=" var itemIndices = {}, item; for (;i--;) { var item = "+c+"[i]; ";var S="checkDataType"+(y?"s":"");r+=" if ("+e.util[S](b,"item",e.opts.strictNumbers,!0)+") continue; ",y&&(r+=` if (typeof item == 'string') item = '"' + item; `),r+=" if (typeof itemIndices[item] == 'number') { "+h+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}r+=" } ",l&&(r+=" } "),r+=" if (!"+h+") { ";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 Zs=W((If,Ks)=>{"use strict";Ks.exports={$ref:ds(),allOf:cs(),anyOf:fs(),$comment:ys(),const:gs(),contains:vs(),dependencies:ws(),enum:xs(),format:Ts(),if:Fs(),items:Es(),maximum:xi(),minimum:xi(),maxItems:Ci(),minItems:Ci(),maxLength:Ti(),minLength:Ti(),maxProperties:Pi(),minProperties:Pi(),multipleOf:js(),not:qs(),oneOf:ks(),pattern:Ws(),properties:zs(),propertyNames:Us(),required:Hs(),uniqueItems:Js(),validate:wi()}});var en=W((xf,Xs)=>{"use strict";var Ys=Zs(),Fi=Ct().toHash;Xs.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=Fi(i),e.types=Fi(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:Ys[o],implements:n};return u}),e.all.$comment={keyword:"$comment",code:Ys.$comment},s.type&&(e.types[s.type]=s)}),e.keywords=Fi(i.concat(a)),e.custom={},e}});var an=W((Cf,rn)=>{"use strict";var tn=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];rn.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<tn.length;s++){var o=tn[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 on=W((Tf,nn)=>{"use strict";var jl=Fr().MissingRef;nn.exports=sn;function sn(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)?sn.call(a,{$ref:d},!0):Promise.resolve()}function o(n){try{return a._compile(n)}catch(u){if(u instanceof jl)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(h,h)),c.then(function(m){if(!l(p))return s(m).then(function(){l(p)||a.addSchema(m,p,void 0,e)})}).then(function(){return o(n)});function h(){delete a._loadingSchemas[p]}function l(m){return a._refs[m]||a._schemas[m]}}}}});var dn=W((Pf,ln)=>{"use strict";ln.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,h="data"+(o||""),l="valid"+s,m="errs__"+s,b=e.opts.$data&&n&&n.$data,y;b?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",y="schema"+s):y=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;y="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 "+m+" = errors;var "+l+";",b&&I.$data&&(P+="}",r+=" if ("+y+" === undefined) { "+l+" = true; } else { ",R&&(P+="}",r+=" "+l+" = "+T+".validateSchema("+y+"); 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+=" , "+h+" ":r+=" , "+y+" , "+h+" , 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+") "+h+" = "+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: "+h+" "),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+"="+m+"; "+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 = "+y+"; "+E+".data = "+h+"; "),r+=" } "):I.errors===!1?r+=" "+J+" ":(r+=" if ("+m+" == errors) { "+J+" } else { for (var "+q+"="+m+"; "+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 = "+y+"; "+E+".data = "+h+"; "),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: "+h+" "),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+"="+m+"; "+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 = "+y+"; "+E+".data = "+h+"; "),r+=" } } else { "+J+" } "),r+=" } ",p&&(r+=" else { ")}return r}});var Ai=W((Ff,_l)=>{_l.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 un=W((Af,cn)=>{"use strict";var pn=Ai();cn.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:pn.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:pn.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 hn=W((Ef,fn)=>{"use strict";var ql=/^[a-z_$][a-z0-9_$-]*$/i,Bl=dn(),kl=un();fn.exports={add:Nl,get:Wl,remove:Ml,validate:Ei};function Nl(t,e){var i=this.RULES;if(i.keywords[t])throw new Error("Keyword "+t+" is already defined");if(!ql.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 h=i[c];if(h.type==d){p=h;break}}p||(p={type:d,rules:[]},i.push(p));var l={keyword:n,definition:u,custom:!0,code:Bl,implements:u.implements};p.rules.push(l),i.custom[n]=l}return this}function Wl(t){var e=this.RULES.custom[t];return e?e.definition:this.RULES.keywords[t]||!1}function Ml(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 Ei(t,e){Ei.errors=null;var i=this._validateKeyword=this._validateKeyword||this.compile(kl,!0);if(i(t))return!0;if(Ei.errors=i.errors,e)throw new Error("custom keyword definition is invalid: "+this.errorsText(i.errors));return!1}});var yn=W(($f,zl)=>{zl.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 Tn=W((Of,Cn)=>{"use strict";var gn=Ha(),Tt=Pr(),Vl=Ja(),bn=hi(),Ul=Si(),Gl=os(),Hl=en(),vn=an(),Sn=Ct();Cn.exports=ue;ue.prototype.validate=Jl;ue.prototype.compile=Kl;ue.prototype.addSchema=Zl;ue.prototype.addMetaSchema=Yl;ue.prototype.validateSchema=Xl;ue.prototype.getSchema=td;ue.prototype.removeSchema=id;ue.prototype.addFormat=cd;ue.prototype.errorsText=pd;ue.prototype._addSchema=ad;ue.prototype._compile=sd;ue.prototype.compileAsync=on();var jr=hn();ue.prototype.addKeyword=jr.add;ue.prototype.getKeyword=jr.get;ue.prototype.removeKeyword=jr.remove;ue.prototype.validateKeyword=jr.validate;var wn=Fr();ue.ValidationError=wn.Validation;ue.MissingRefError=wn.MissingRef;ue.$dataMetaSchema=vn;var Rr="http://json-schema.org/draft-07/schema",mn=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],Ql=["/properties"];function ue(t){if(!(this instanceof ue))return new ue(t);t=this._opts=Sn.copy(t)||{},gd(this),this._schemas={},this._refs={},this._fragments={},this._formats=Gl(t.format),this._cache=t.cache||new Vl,this._loadingSchemas={},this._compilations=[],this.RULES=Hl(),this._getId=nd(t),t.loopRequired=t.loopRequired||1/0,t.errorDataPath=="property"&&(t._errorDataPathProperty=!0),t.serialize===void 0&&(t.serialize=Ul),this._metaOpts=md(this),t.formats&&hd(this),t.keywords&&yd(this),ud(this),typeof t.meta=="object"&&this.addMetaSchema(t.meta),t.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),fd(this)}function Jl(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 Kl(t,e){var i=this._addSchema(t,void 0,e);return i.validate||this._compile(i)}function Zl(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=Tt.normalizeId(e||s),xn(this,e),this._schemas[e]=this._addSchema(t,i,a,!0),this}function Yl(t,e,i){return this.addSchema(t,e,i,!0),this}function Xl(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||ed(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 ed(t){var e=t._opts.meta;return t._opts.defaultMeta=typeof e=="object"?t._getId(e)||e:t.getSchema(Rr)?Rr:void 0,t._opts.defaultMeta}function td(t){var e=In(this,t);switch(typeof e){case"object":return e.validate||this._compile(e);case"string":return this.getSchema(e);case"undefined":return rd(this,t)}}function rd(t,e){var i=Tt.schema.call(t,{schema:{}},e);if(i){var a=i.schema,r=i.root,s=i.baseId,o=gn.call(t,a,r,void 0,s);return t._fragments[e]=new bn({ref:e,fragment:!0,schema:a,root:r,baseId:s,validate:o}),o}}function In(t,e){return e=Tt.normalizeId(e),t._schemas[e]||t._refs[e]||t._fragments[e]}function id(t){if(t instanceof RegExp)return Lr(this,this._schemas,t),Lr(this,this._refs,t),this;switch(typeof t){case"undefined":return Lr(this,this._schemas),Lr(this,this._refs),this._cache.clear(),this;case"string":var e=In(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=Tt.normalizeId(r),delete this._schemas[r],delete this._refs[r])}return this}function Lr(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 ad(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=Tt.normalizeId(this._getId(t));n&&a&&xn(this,n);var d=this._opts.validateSchema!==!1&&!e,u;d&&!(u=n&&n==Tt.normalizeId(t.$schema))&&this.validateSchema(t,!0);var p=Tt.ids.call(this,t),c=new bn({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 sd(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=gn.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 nd(t){switch(t.schemaId){case"auto":return dd;case"id":return od;default:return ld}}function od(t){return t.$id&&this.logger.warn("schema $id ignored",t.$id),t.id}function ld(t){return t.id&&this.logger.warn("schema id ignored",t.id),t.$id}function dd(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 pd(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 cd(t,e){return typeof e=="string"&&(e=new RegExp(e)),this._formats[t]=e,this}function ud(t){var e;if(t._opts.$data&&(e=yn(),t.addMetaSchema(e,e.$id,!0)),t._opts.meta!==!1){var i=Ai();t._opts.$data&&(i=vn(i,Ql)),t.addMetaSchema(i,Rr,!0),t._refs["http://json-schema.org/schema"]=Rr}}function fd(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 hd(t){for(var e in t._opts.formats){var i=t._opts.formats[e];t.addFormat(e,i)}}function yd(t){for(var e in t._opts.keywords){var i=t._opts.keywords[e];t.addKeyword(e,i)}}function xn(t,e){if(t._schemas[e]||t._refs[e])throw new Error('schema with key or id "'+e+'" already exists')}function md(t){for(var e=Sn.copy(t._opts),i=0;i<mn.length;i++)delete e[mn[i]];return e}function gd(t){var e=t._opts.logger;if(e===!1)t.logger={log:$i,warn:$i,error:$i};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 $i(){}});var An=W((Df,Di)=>{function bd(t,e){var i=e&&e.cache?e.cache:Cd,a=e&&e.serializer?e.serializer:xd,r=e&&e.strategy?e.strategy:Sd;return r(t,{cache:i,serializer:a})}function vd(t){return t==null||typeof t=="number"||typeof t=="boolean"}function Pn(t,e,i,a){var r=vd(a)?a:i(a),s=e.get(r);return typeof s>"u"&&(s=t.call(this,a),e.set(r,s)),s}function Fn(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 Oi(t,e,i,a,r){return i.bind(e,t,a,r)}function Sd(t,e){var i=t.length===1?Pn:Fn;return Oi(t,this,i,e.cache.create(),e.serializer)}function wd(t,e){var i=Fn;return Oi(t,this,i,e.cache.create(),e.serializer)}function Id(t,e){var i=Pn;return Oi(t,this,i,e.cache.create(),e.serializer)}function xd(){return JSON.stringify(arguments)}function _r(){this.cache=Object.create(null)}_r.prototype.has=function(t){return t in this.cache};_r.prototype.get=function(t){return this.cache[t]};_r.prototype.set=function(t,e){this.cache[t]=e};var Cd={create:function(){return new _r}};Di.exports=bd;Di.exports.strategies={variadic:wd,monadic:Id}});var mr="arcgis_charts_pie_from_fields_name",si="arcgis_charts_pie_from_fields_value",ma="arcgis_charts_bar_line_from_fields_name",ga="arcgis_charts_bar_line_from_fields_value";var He={Mean:"Mean",Median:"Median",StdDev:"Standard Deviation",Normal:"Normal Distribution",Trendline:"Trendline"};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 gr=class extends Map{constructor(e,i=qo){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(ba(this,e))}has(e){return super.has(ba(this,e))}set(e,i){return super.set(jo(this,e),i)}delete(e){return super.delete(_o(this,e))}};function ba({_intern:t,_key:e},i){let a=e(i);return t.has(a)?t.get(a):i}function jo({_intern:t,_key:e},i){let a=e(i);return t.has(a)?t.get(a):(t.set(a,i),i)}function _o({_intern:t,_key:e},i){let a=e(i);return t.has(a)&&(i=t.get(a),t.delete(a)),i}function qo(t){return t!==null&&typeof t=="object"?t.valueOf():t}function ni(t){return t}function Bo(t,e,...i){return ko(t,ni,e,i)}function ko(t,e,i,a){return function r(s,o){if(o>=a.length)return i(s);let n=new gr,d=a[o++],u=-1;for(let p of s){let c=d(p,++u,s),h=n.get(c);h?h.push(p):n.set(c,[p])}for(let[p,c]of n)n.set(p,r(c,o));return e(n)}(t,0)}function va(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 Sa(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 wa(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 Ia(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 xa(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 at="23.3.0";var xt={$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"},WebChartFixedDateBinning:{type:"object",properties:{size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},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},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`.",default:"equalIntervalsFromStartTime"},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"},type:{type:"string",const:"fixedDateBased"},unit:{$ref:"#/definitions/WebChartFixedDateBinningUnits",description:"The unit of time to use to bin the temporal data."}},required:["type"],description:"Represents the properties related to the the fixed-date temporal binning. It currently covers the same scope as `WebChartDateBinning`.",title:"WebChartFixedDateBinning"},WebChartDateBinning:{type:"object",properties:{size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},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},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`.",default:"equalIntervalsFromStartTime"},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"}},title:"WebChartDateBinning"},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"},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"},WebChartFixedDateBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","years"],description:"The temporal binning units for fixed-date based binning",title:"WebChartFixedDateBinningUnits"},WebChartCalendarBasedBinning:{type:"object",properties:{size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},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},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`.",default:"equalIntervalsFromStartTime"},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"},type:{type:"string",const:"calendarBased"},unit:{$ref:"#/definitions/WebChartCalendarBinningUnits",description:"The unit of time to use to bin the temporal data."},start:{type:"number",description:"The binning start date"},end:{type:"number",description:"The binning end date"},offset:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartCalendarBinningOffsetUnits"},size:{type:"number"}},required:["unit","size"],description:"Offset to apply to the results"},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"}},required:["type"],description:"Represents the properties related to the calendar-based temporal binning. It supports the same properties as `WebChartDateBinning` and adds some.",title:"WebChartCalendarBasedBinning"},WebChartCalendarBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","quarters","years"],description:"The temporal binning units for calendar based binning",title:"WebChartCalendarBinningUnits"},WebChartCalendarBinningOffsetUnits:{type:"string",enum:["seconds","minutes","hours","days"],description:"The temporal binning units for the calendar based binning offset",title:"WebChartCalendarBinningOffsetUnits"},WebChartCalendarDatePartsBinning:{type:"object",properties:{type:{type:"string",const:"calendarDateParts"},unit:{$ref:"#/definitions/WebChartCalendarDatePartsUnits",description:"The unit to use to bin the data."},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"}},required:["type","unit"],description:"Represents the properties related to the calendar-based date parts binning.",title:"WebChartCalendarDatePartsBinning"},WebChartCalendarDatePartsUnits:{type:"string",enum:["dayOfMonth","dayOfWeek","dayOfYear","hourOfDay","monthOfYear"],description:"Represents the units that can be used for calendar-based date parts binning.",title:"WebChartCalendarDatePartsUnits"},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:{anyOf:[{$ref:"#/definitions/WebChartCalendarBasedBinning"},{$ref:"#/definitions/WebChartFixedDateBinning"}],description:'Defines the pattern to apply to bin the data. The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "fixedDateBased" type will make the bins start at the dataset first entry (e.g. if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of a month to the 17th of the next month).'}},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:{anyOf:[{$ref:"#/definitions/WebChartCalendarBasedBinning"},{$ref:"#/definitions/WebChartFixedDateBinning"}],description:'Defines the pattern to apply to bin the data. The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "fixedDateBased" type will make the bins start at the dataset first entry (e.g. if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of a month to the 17th of the next month).'},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:
|
|
5
5
|
- dataLabelsOffset
|
|
6
6
|
- alignDataLabels
|
|
7
7
|
- 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.
|