@arcgis/charts-components 5.2.0-next.129 → 5.2.0-next.130
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{THM37AG2.js → 2MMQK7WY.js} +1 -1
- package/dist/cdn/{IWYQYPEZ.js → 34XMANB5.js} +1 -1
- package/dist/cdn/35YCEIPG.js +2 -0
- package/dist/cdn/35Z5G5XD.js +2 -0
- package/dist/cdn/{OR765GRF.js → 3EZTPHQL.js} +1 -1
- package/dist/cdn/{7PYJ5MOI.js → 3RHIIHYK.js} +4 -4
- package/dist/cdn/4555T57S.js +2 -0
- package/dist/cdn/{F2VCL6GM.js → 4TYYNWIM.js} +1 -1
- package/dist/cdn/{KA45NQZM.js → 57HL3UWJ.js} +1 -1
- package/dist/cdn/{4GWKHPLI.js → 5HNG6KMX.js} +1 -1
- package/dist/cdn/{QWLTFW5X.js → 5HNY3IAS.js} +1 -1
- package/dist/cdn/{I7SVJZHV.js → 5MZ56C7R.js} +1 -1
- package/dist/cdn/{P3AYFJRV.js → 64L7VJJK.js} +1 -1
- package/dist/cdn/{SQJG2TSD.js → 7HEDEKUK.js} +1 -1
- package/dist/cdn/{IJPWCWVA.js → 7JOTYFCC.js} +1 -1
- package/dist/cdn/{RNQIVRB4.js → 7LTSJSTM.js} +1 -1
- package/dist/cdn/{VELSUIBF.js → 7RELPYIT.js} +1 -1
- package/dist/cdn/{EXYTWDDX.js → 7V56LIEQ.js} +1 -1
- package/dist/cdn/A6ZHMVPA.js +2 -0
- package/dist/cdn/{W234QWJ5.js → A7WJVI5D.js} +1 -1
- package/dist/cdn/{XD4BTBDR.js → AE3Q3FDI.js} +1 -1
- package/dist/cdn/{RKILC6DZ.js → BEMMMLF7.js} +1 -1
- package/dist/cdn/{4RXRWG7U.js → BTVIWRYJ.js} +1 -1
- package/dist/cdn/{4F6DKNCU.js → CQFH2M2V.js} +1 -1
- package/dist/cdn/{HBL6BFMC.js → DDNS3GY4.js} +1 -1
- package/dist/cdn/{U6NXKMHT.js → DJTFBHNQ.js} +1 -1
- package/dist/cdn/{WOHPGX7G.js → DLX6VFTM.js} +1 -1
- package/dist/cdn/{R632ACJ4.js → E3GMOBBD.js} +1 -1
- package/dist/cdn/{GBK7T4RN.js → EGROLWFL.js} +1 -1
- package/dist/cdn/{VAH75ZDV.js → EJNWROC7.js} +1 -1
- package/dist/cdn/{UVBVOGIP.js → EXL2B3BJ.js} +1 -1
- package/dist/cdn/F4U6EDV7.js +2 -0
- package/dist/cdn/{OFMFOV2S.js → FB73CWAR.js} +1 -1
- package/dist/cdn/{KZSFOHYT.js → FEEYT3QQ.js} +1 -1
- package/dist/cdn/{6DOG3OE5.js → FHSZFYWX.js} +21 -21
- package/dist/cdn/{DLZSIU4O.js → FKNSQZCW.js} +1 -1
- package/dist/cdn/{56DVRE3W.js → FL6IYK2Q.js} +1 -1
- package/dist/cdn/{2Q2NNE2E.js → FPYTBEV3.js} +1 -1
- package/dist/cdn/{KJZYSZAN.js → FWSQ6ZIW.js} +1 -1
- package/dist/cdn/{XFVNNAUV.js → G4A4HBNN.js} +1 -1
- package/dist/cdn/{NFSUU5R7.js → G5R4DPDE.js} +1 -1
- package/dist/cdn/{37C4Y4CW.js → GCIRVVIE.js} +1 -1
- package/dist/cdn/{LRUJQA2B.js → GWNC2RK3.js} +1 -1
- package/dist/cdn/{RD2OZ5DF.js → H36JC7RS.js} +1 -1
- package/dist/cdn/{YTJCLCDD.js → H5DH4WNN.js} +1 -1
- package/dist/cdn/{64KVYOEJ.js → HLHP2HHG.js} +1 -1
- package/dist/cdn/{VXYVS5Z2.js → HLNBRVRG.js} +1 -1
- package/dist/cdn/{3W6XIEW7.js → HZBM265G.js} +1 -1
- package/dist/cdn/{CPZUNG53.js → IGFC74OK.js} +1 -1
- package/dist/cdn/{GUI4UUH2.js → IUFIYS7S.js} +1 -1
- package/dist/cdn/{4ORYN2NG.js → KFUYJAX4.js} +1 -1
- package/dist/cdn/{TW3IW3UH.js → LDIHSUX2.js} +1 -1
- package/dist/cdn/{ZO46LBOO.js → LJO5VDUN.js} +1 -1
- package/dist/cdn/{U62ORVWT.js → LOCELKGX.js} +2 -2
- package/dist/cdn/{XBTMOPFH.js → MEVS5PVK.js} +1 -1
- package/dist/cdn/{6RQV36B4.js → MJOSYJQM.js} +1 -1
- package/dist/cdn/N7EBMOGD.js +2 -0
- package/dist/cdn/{KSCIUIM3.js → NSEM52TJ.js} +1 -1
- package/dist/cdn/{VUFK7UF7.js → O32HVT23.js} +1 -1
- package/dist/cdn/O5YAEMTL.js +3 -0
- package/dist/cdn/{L5JZ5COY.js → OAQCPPNF.js} +1 -1
- package/dist/cdn/{OSKPKDOG.js → ODTXJRD3.js} +1 -1
- package/dist/cdn/{NDHFOHU4.js → OPIODPW3.js} +1 -1
- package/dist/cdn/{ZUN46CYQ.js → P5HRXBWY.js} +1 -1
- package/dist/cdn/{TENIFMA5.js → POA2XTTK.js} +1 -1
- package/dist/cdn/{AIVAKTGU.js → PTXE3HWB.js} +1 -1
- package/dist/cdn/{3CFBPRDY.js → PYRBEWFD.js} +1 -1
- package/dist/cdn/{7NWEE7T2.js → Q45WYAOY.js} +1 -1
- package/dist/cdn/{SXJPPJQW.js → QKENGEGV.js} +1 -1
- package/dist/cdn/{53LAOBAU.js → QL2Y7MRB.js} +1 -1
- package/dist/cdn/QVG3TOL4.js +2 -0
- package/dist/cdn/{APNLM2LP.js → R35RZX3J.js} +1 -1
- package/dist/cdn/{F6ZV2744.js → RAUY3KKA.js} +1 -1
- package/dist/cdn/{EUQ5JKF2.js → RCD46RH5.js} +1 -1
- package/dist/cdn/{P2CSMU4N.js → ROY54SMC.js} +1 -1
- package/dist/cdn/{ORPJZUA7.js → RSJPZSNN.js} +1 -1
- package/dist/cdn/{2CTAKPZU.js → SJF6WAGB.js} +1 -1
- package/dist/cdn/{P6NFEDDK.js → SKJ3EY3H.js} +1 -1
- package/dist/cdn/{IVTCYXXY.js → SLMVIJZS.js} +1 -1
- package/dist/cdn/{G5F53SQ4.js → SNZ7YX4G.js} +1 -1
- package/dist/cdn/{SDTUNXAY.js → SY67MGEX.js} +1 -1
- package/dist/cdn/{WFPJZFMV.js → SYYWPV6X.js} +1 -1
- package/dist/cdn/{MVXCGGLI.js → T5MBXDFL.js} +1 -1
- package/dist/cdn/{74NRG7FN.js → TAXYRFNW.js} +1 -1
- package/dist/cdn/{JBPRHFVU.js → TGRE7VEP.js} +1 -1
- package/dist/cdn/{QZB5UHQG.js → TK2F34AK.js} +1 -1
- package/dist/cdn/{JCGOZHD3.js → TOETRZXJ.js} +1 -1
- package/dist/cdn/{BGIUDL2K.js → TOL6YNER.js} +1 -1
- package/dist/cdn/{KGZPMIDP.js → TT4BXH4L.js} +1 -1
- package/dist/cdn/{LHWH7ADN.js → TTM5ZQFA.js} +1 -1
- package/dist/cdn/{RYM7NY47.js → TUEYIIMJ.js} +1 -1
- package/dist/cdn/U4GLRB5M.js +2 -0
- package/dist/cdn/U62CTMLS.js +2 -0
- package/dist/cdn/{CGVEK7FD.js → UDTDIZNT.js} +1 -1
- package/dist/cdn/{DSFPESV4.js → XJXSAYEK.js} +1 -1
- package/dist/cdn/{QYRHZJH3.js → Z5QPCSUQ.js} +1 -1
- package/dist/cdn/{SSDG5TFU.js → ZF7Q5ICW.js} +1 -1
- package/dist/cdn/{BDTP75VF.js → ZJTFGMDB.js} +1 -1
- package/dist/cdn/{UB7NCK73.js → ZL524IM5.js} +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +3 -3
- package/dist/chunks/action-bar-utils.js +18 -18
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/chart-object-literals.js +10 -9
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/class-breaks.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/data.js +2 -2
- package/dist/chunks/index.js +2779 -2708
- package/dist/chunks/index2.js +12 -12
- package/dist/chunks/index3.js +4 -4
- package/dist/chunks/index4.js +87 -13
- package/dist/chunks/index5.js +1 -1
- package/dist/chunks/model-setter.js +5 -5
- package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
- package/dist/chunks/rounded-corners.js +1 -1
- package/dist/chunks/scatterplot-model.js +103 -89
- package/dist/chunks/serial-chart-data.js +59 -59
- package/dist/chunks/serial-chart-model.js +4 -4
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/chunks/x-bounds.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +2638 -2614
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +21 -11
- package/dist/components/arcgis-charts-action-bar/customElement.js +14 -14
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-bar-chart-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-popover/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +70 -0
- package/dist/components/arcgis-charts-config-scatter-plot-aoi/index.js +3 -0
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +76 -49
- package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +3 -0
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +403 -397
- package/dist/json-schema/index.d.ts +52 -2
- package/dist/loader.js +5 -4
- package/dist/model/scatterplot-model/scatterplot-model.d.ts +3 -1
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/web-chart.d.ts +25 -0
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/chart-config/converter/index.js +21 -21
- package/dist/utils/chart-config/utils/index.d.ts +10 -0
- package/dist/utils/data/interfaces.d.ts +4 -1
- package/dist/utils/types/index.d.ts +2 -2
- package/package.json +4 -4
- package/dist/cdn/4VX2VSI4.js +0 -2
- package/dist/cdn/6CVRU5ZK.js +0 -2
- package/dist/cdn/7CP2RRF7.js +0 -2
- package/dist/cdn/BRDZGUUB.js +0 -2
- package/dist/cdn/BVO6LGOY.js +0 -2
- package/dist/cdn/EAXMUTBS.js +0 -2
- package/dist/cdn/KWLMVBIU.js +0 -3
- package/dist/cdn/PWJBGZPW.js +0 -2
- package/dist/cdn/YRCMDFOY.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import a from"./KWLMVBIU.js";import{d as be,r as mt,z as jr}from"./4F6DKNCU.js";import{e as qr}from"./WOGALV3T.js";import{f as Lr,p as Wr}from"./ZUN46CYQ.js";import{a as Rr}from"./KX7KGXKQ.js";import{e as Dr,i as Fr}from"./WULMITJI.js";import{I as $r}from"./UE4KTI5X.js";import{a as pt}from"./QYRHZJH3.js";import{a as de,b as Ar,q as Or}from"./PWJBGZPW.js";import{b as _,d as wn}from"./BYSUABOV.js";export default $arcgis.t(([{substitute:Te},{$a:Ur,C:Mt,D:We,G:zt,H:kr,Ha:Vr,I:Br,J:Mr,Jb:Hr,Pb:Vt,Qb:Ut,Sb:Qr,T:zr,fb:Gr,m:Bt,nc:Kr,oc:Jr,qc:Zr,r:Nr,sc:Yr,tc:bt,v:_r}])=>{var ei=_((gt,Xr)=>{(function(i,e){typeof gt=="object"&&typeof Xr<"u"?e(gt):typeof define=="function"&&define.amd?define(["exports"],e):e(i.URI=i.URI||{})})(gt,(function(i){"use strict";function e(){for(var p=arguments.length,s=Array(p),c=0;c<p;c++)s[c]=arguments[c];if(s.length>1){s[0]=s[0].slice(0,-1);for(var v=s.length-1,S=1;S<v;++S)s[S]=s[S].slice(1,-1);return s[v]=s[v].slice(1),s.join("")}else return s[0]}function r(p){return"(?:"+p+")"}function n(p){return p===void 0?"undefined":p===null?"null":Object.prototype.toString.call(p).split(" ").pop().split("]").shift().toLowerCase()}function t(p){return p.toUpperCase()}function a(p){return p!=null?p instanceof Array?p:typeof p.length!="number"||p.split||p.setInterval||p.call?[p]:Array.prototype.slice.call(p):[]}function d(p,s){var c=p;if(s)for(var v in s)c[v]=s[v];return c}function l(p){var s="[A-Za-z]",c="[\\x0D]",v="[0-9]",S="[\\x22]",A=e(v,"[A-Fa-f]"),k="[\\x0A]",U="[\\x20]",K=r(r("%[EFef]"+A+"%"+A+A+"%"+A+A)+"|"+r("%[89A-Fa-f]"+A+"%"+A+A)+"|"+r("%"+A+A)),oe="[\\:\\/\\?\\#\\[\\]\\@]",V="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",ee=e(oe,V),le=p?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",X=p?"[\\uE000-\\uF8FF]":"[]",H=e(s,v,"[\\-\\.\\_\\~]",le),te=r(s+e(s,v,"[\\+\\-\\.]")+"*"),Z=r(r(K+"|"+e(H,V,"[\\:]"))+"*"),Ve=r(r("25[0-5]")+"|"+r("2[0-4]"+v)+"|"+r("1"+v+v)+"|"+r("[1-9]"+v)+"|"+v),Se=r(r("25[0-5]")+"|"+r("2[0-4]"+v)+"|"+r("1"+v+v)+"|"+r("0?[1-9]"+v)+"|0?0?"+v),Ce=r(Se+"\\."+Se+"\\."+Se+"\\."+Se),Y=r(A+"{1,4}"),we=r(r(Y+"\\:"+Y)+"|"+Ce),xe=r(r(Y+"\\:")+"{6}"+we),De=r("\\:\\:"+r(Y+"\\:")+"{5}"+we),Ue=r(r(Y)+"?\\:\\:"+r(Y+"\\:")+"{4}"+we),Oe=r(r(r(Y+"\\:")+"{0,1}"+Y)+"?\\:\\:"+r(Y+"\\:")+"{3}"+we),nt=r(r(r(Y+"\\:")+"{0,2}"+Y)+"?\\:\\:"+r(Y+"\\:")+"{2}"+we),ft=r(r(r(Y+"\\:")+"{0,3}"+Y)+"?\\:\\:"+Y+"\\:"+we),ut=r(r(r(Y+"\\:")+"{0,4}"+Y)+"?\\:\\:"+we),Je=r(r(r(Y+"\\:")+"{0,5}"+Y)+"?\\:\\:"+Y),Ze=r(r(r(Y+"\\:")+"{0,6}"+Y)+"?\\:\\:"),Re=r([xe,De,Ue,Oe,nt,ft,ut,Je,Ze].join("|")),Ye=r(r(H+"|"+K)+"+"),_t=r(Re+"\\%25"+Ye),Ge=r(Re+r("\\%25|\\%(?!"+A+"{2})")+Ye),un=r("[vV]"+A+"+\\."+e(H,V,"[\\:]")+"+"),yn=r("\\["+r(Ge+"|"+Re+"|"+un)+"\\]"),xr=r(r(K+"|"+e(H,V))+"*"),st=r(yn+"|"+Ce+"(?!"+xr+")|"+xr),ot=r(v+"*"),Tr=r(r(Z+"@")+"?"+st+r("\\:"+ot)+"?"),lt=r(K+"|"+e(H,V,"[\\:\\@]")),mn=r(lt+"*"),Pr=r(lt+"+"),bn=r(r(K+"|"+e(H,V,"[\\@]"))+"+"),Le=r(r("\\/"+mn)+"*"),Xe=r("\\/"+r(Pr+Le)+"?"),kt=r(bn+Le),yt=r(Pr+Le),et="(?!"+lt+")",fo=r(Le+"|"+Xe+"|"+kt+"|"+yt+"|"+et),tt=r(r(lt+"|"+e("[\\/\\?]",X))+"*"),dt=r(r(lt+"|[\\/\\?]")+"*"),Er=r(r("\\/\\/"+Tr+Le)+"|"+Xe+"|"+yt+"|"+et),gn=r(te+"\\:"+Er+r("\\?"+tt)+"?"+r("\\#"+dt)+"?"),vn=r(r("\\/\\/"+Tr+Le)+"|"+Xe+"|"+kt+"|"+et),Sn=r(vn+r("\\?"+tt)+"?"+r("\\#"+dt)+"?"),uo=r(gn+"|"+Sn),yo=r(te+"\\:"+Er+r("\\?"+tt)+"?"),mo="^("+te+")\\:"+r(r("\\/\\/("+r("("+Z+")@")+"?("+st+")"+r("\\:("+ot+")")+"?)")+"?("+Le+"|"+Xe+"|"+yt+"|"+et+")")+r("\\?("+tt+")")+"?"+r("\\#("+dt+")")+"?$",bo="^(){0}"+r(r("\\/\\/("+r("("+Z+")@")+"?("+st+")"+r("\\:("+ot+")")+"?)")+"?("+Le+"|"+Xe+"|"+kt+"|"+et+")")+r("\\?("+tt+")")+"?"+r("\\#("+dt+")")+"?$",go="^("+te+")\\:"+r(r("\\/\\/("+r("("+Z+")@")+"?("+st+")"+r("\\:("+ot+")")+"?)")+"?("+Le+"|"+Xe+"|"+yt+"|"+et+")")+r("\\?("+tt+")")+"?$",vo="^"+r("\\#("+dt+")")+"?$",So="^"+r("("+Z+")@")+"?("+st+")"+r("\\:("+ot+")")+"?$";return{NOT_SCHEME:new RegExp(e("[^]",s,v,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(e("[^\\%\\:]",H,V),"g"),NOT_HOST:new RegExp(e("[^\\%\\[\\]\\:]",H,V),"g"),NOT_PATH:new RegExp(e("[^\\%\\/\\:\\@]",H,V),"g"),NOT_PATH_NOSCHEME:new RegExp(e("[^\\%\\/\\@]",H,V),"g"),NOT_QUERY:new RegExp(e("[^\\%]",H,V,"[\\:\\@\\/\\?]",X),"g"),NOT_FRAGMENT:new RegExp(e("[^\\%]",H,V,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(e("[^]",H,V),"g"),UNRESERVED:new RegExp(H,"g"),OTHER_CHARS:new RegExp(e("[^\\%]",H,ee),"g"),PCT_ENCODED:new RegExp(K,"g"),IPV4ADDRESS:new RegExp("^("+Ce+")$"),IPV6ADDRESS:new RegExp("^\\[?("+Re+")"+r(r("\\%25|\\%(?!"+A+"{2})")+"("+Ye+")")+"?\\]?$")}}var w=l(!1),m=l(!0),y=(function(){function p(s,c){var v=[],S=!0,A=!1,k=void 0;try{for(var U=s[Symbol.iterator](),K;!(S=(K=U.next()).done)&&(v.push(K.value),!(c&&v.length===c));S=!0);}catch(oe){A=!0,k=oe}finally{try{!S&&U.return&&U.return()}finally{if(A)throw k}}return v}return function(s,c){if(Array.isArray(s))return s;if(Symbol.iterator in Object(s))return p(s,c);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),f=function(p){if(Array.isArray(p)){for(var s=0,c=Array(p.length);s<p.length;s++)c[s]=p[s];return c}else return Array.from(p)},b=2147483647,o=36,u=1,g=26,h=38,I=700,T=72,C=128,$="-",D=/^xn--/,F=/[^\0-\x7E]/,q=/[\x2E\u3002\uFF0E\uFF61]/g,W={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},P=o-u,j=Math.floor,L=String.fromCharCode;function O(p){throw new RangeError(W[p])}function x(p,s){for(var c=[],v=p.length;v--;)c[v]=s(p[v]);return c}function E(p,s){var c=p.split("@"),v="";c.length>1&&(v=c[0]+"@",p=c[1]),p=p.replace(q,".");var S=p.split("."),A=x(S,s).join(".");return v+A}function R(p){for(var s=[],c=0,v=p.length;c<v;){var S=p.charCodeAt(c++);if(S>=55296&&S<=56319&&c<v){var A=p.charCodeAt(c++);(A&64512)==56320?s.push(((S&1023)<<10)+(A&1023)+65536):(s.push(S),c--)}else s.push(S)}return s}var J=function(s){return String.fromCodePoint.apply(String,f(s))},M=function(s){return s-48<10?s-22:s-65<26?s-65:s-97<26?s-97:o},z=function(s,c){return s+22+75*(s<26)-((c!=0)<<5)},B=function(s,c,v){var S=0;for(s=v?j(s/I):s>>1,s+=j(s/c);s>P*g>>1;S+=o)s=j(s/P);return j(S+(P+1)*s/(s+h))},N=function(s){var c=[],v=s.length,S=0,A=C,k=T,U=s.lastIndexOf($);U<0&&(U=0);for(var K=0;K<U;++K)s.charCodeAt(K)>=128&&O("not-basic"),c.push(s.charCodeAt(K));for(var oe=U>0?U+1:0;oe<v;){for(var V=S,ee=1,le=o;;le+=o){oe>=v&&O("invalid-input");var X=M(s.charCodeAt(oe++));(X>=o||X>j((b-S)/ee))&&O("overflow"),S+=X*ee;var H=le<=k?u:le>=k+g?g:le-k;if(X<H)break;var te=o-H;ee>j(b/te)&&O("overflow"),ee*=te}var Z=c.length+1;k=B(S-V,Z,V==0),j(S/Z)>b-A&&O("overflow"),A+=j(S/Z),S%=Z,c.splice(S++,0,A)}return String.fromCodePoint.apply(String,c)},re=function(s){var c=[];s=R(s);var v=s.length,S=C,A=0,k=T,U=!0,K=!1,oe=void 0;try{for(var V=s[Symbol.iterator](),ee;!(U=(ee=V.next()).done);U=!0){var le=ee.value;le<128&&c.push(L(le))}}catch(Ge){K=!0,oe=Ge}finally{try{!U&&V.return&&V.return()}finally{if(K)throw oe}}var X=c.length,H=X;for(X&&c.push($);H<v;){var te=b,Z=!0,Ve=!1,Se=void 0;try{for(var Ce=s[Symbol.iterator](),Y;!(Z=(Y=Ce.next()).done);Z=!0){var we=Y.value;we>=S&&we<te&&(te=we)}}catch(Ge){Ve=!0,Se=Ge}finally{try{!Z&&Ce.return&&Ce.return()}finally{if(Ve)throw Se}}var xe=H+1;te-S>j((b-A)/xe)&&O("overflow"),A+=(te-S)*xe,S=te;var De=!0,Ue=!1,Oe=void 0;try{for(var nt=s[Symbol.iterator](),ft;!(De=(ft=nt.next()).done);De=!0){var ut=ft.value;if(ut<S&&++A>b&&O("overflow"),ut==S){for(var Je=A,Ze=o;;Ze+=o){var Re=Ze<=k?u:Ze>=k+g?g:Ze-k;if(Je<Re)break;var Ye=Je-Re,_t=o-Re;c.push(L(z(Re+Ye%_t,0))),Je=j(Ye/_t)}c.push(L(z(Je,0))),k=B(A,xe,H==X),A=0,++H}}}catch(Ge){Ue=!0,Oe=Ge}finally{try{!De&&nt.return&&nt.return()}finally{if(Ue)throw Oe}}++A,++S}return c.join("")},he=function(s){return E(s,function(c){return D.test(c)?N(c.slice(4).toLowerCase()):c})},ue=function(s){return E(s,function(c){return F.test(c)?"xn--"+re(c):c})},G={version:"2.1.0",ucs2:{decode:R,encode:J},decode:N,encode:re,toASCII:ue,toUnicode:he},ne={};function pe(p){var s=p.charCodeAt(0),c=void 0;return s<16?c="%0"+s.toString(16).toUpperCase():s<128?c="%"+s.toString(16).toUpperCase():s<2048?c="%"+(s>>6|192).toString(16).toUpperCase()+"%"+(s&63|128).toString(16).toUpperCase():c="%"+(s>>12|224).toString(16).toUpperCase()+"%"+(s>>6&63|128).toString(16).toUpperCase()+"%"+(s&63|128).toString(16).toUpperCase(),c}function ye(p){for(var s="",c=0,v=p.length;c<v;){var S=parseInt(p.substr(c+1,2),16);if(S<128)s+=String.fromCharCode(S),c+=3;else if(S>=194&&S<224){if(v-c>=6){var A=parseInt(p.substr(c+4,2),16);s+=String.fromCharCode((S&31)<<6|A&63)}else s+=p.substr(c,6);c+=6}else if(S>=224){if(v-c>=9){var k=parseInt(p.substr(c+4,2),16),U=parseInt(p.substr(c+7,2),16);s+=String.fromCharCode((S&15)<<12|(k&63)<<6|U&63)}else s+=p.substr(c,9);c+=9}else s+=p.substr(c,3),c+=3}return s}function je(p,s){function c(v){var S=ye(v);return S.match(s.UNRESERVED)?S:v}return p.scheme&&(p.scheme=String(p.scheme).replace(s.PCT_ENCODED,c).toLowerCase().replace(s.NOT_SCHEME,"")),p.userinfo!==void 0&&(p.userinfo=String(p.userinfo).replace(s.PCT_ENCODED,c).replace(s.NOT_USERINFO,pe).replace(s.PCT_ENCODED,t)),p.host!==void 0&&(p.host=String(p.host).replace(s.PCT_ENCODED,c).toLowerCase().replace(s.NOT_HOST,pe).replace(s.PCT_ENCODED,t)),p.path!==void 0&&(p.path=String(p.path).replace(s.PCT_ENCODED,c).replace(p.scheme?s.NOT_PATH:s.NOT_PATH_NOSCHEME,pe).replace(s.PCT_ENCODED,t)),p.query!==void 0&&(p.query=String(p.query).replace(s.PCT_ENCODED,c).replace(s.NOT_QUERY,pe).replace(s.PCT_ENCODED,t)),p.fragment!==void 0&&(p.fragment=String(p.fragment).replace(s.PCT_ENCODED,c).replace(s.NOT_FRAGMENT,pe).replace(s.PCT_ENCODED,t)),p}function Fe(p){return p.replace(/^0*(.*)/,"$1")||"0"}function se(p,s){var c=p.match(s.IPV4ADDRESS)||[],v=y(c,2),S=v[1];return S?S.split(".").map(Fe).join("."):p}function ie(p,s){var c=p.match(s.IPV6ADDRESS)||[],v=y(c,3),S=v[1],A=v[2];if(S){for(var k=S.toLowerCase().split("::").reverse(),U=y(k,2),K=U[0],oe=U[1],V=oe?oe.split(":").map(Fe):[],ee=K.split(":").map(Fe),le=s.IPV4ADDRESS.test(ee[ee.length-1]),X=le?7:8,H=ee.length-X,te=Array(X),Z=0;Z<X;++Z)te[Z]=V[Z]||ee[H+Z]||"";le&&(te[X-1]=se(te[X-1],s));var Ve=te.reduce(function(xe,De,Ue){if(!De||De==="0"){var Oe=xe[xe.length-1];Oe&&Oe.index+Oe.length===Ue?Oe.length++:xe.push({index:Ue,length:1})}return xe},[]),Se=Ve.sort(function(xe,De){return De.length-xe.length})[0],Ce=void 0;if(Se&&Se.length>1){var Y=te.slice(0,Se.index),we=te.slice(Se.index+Se.length);Ce=Y.join(":")+"::"+we.join(":")}else Ce=te.join(":");return A&&(Ce+="%"+A),Ce}else return p}var Be=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,fe="".match(/(){0}/)[1]===void 0;function Q(p){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c={},v=s.iri!==!1?m:w;s.reference==="suffix"&&(p=(s.scheme?s.scheme+":":"")+"//"+p);var S=p.match(Be);if(S){fe?(c.scheme=S[1],c.userinfo=S[3],c.host=S[4],c.port=parseInt(S[5],10),c.path=S[6]||"",c.query=S[7],c.fragment=S[8],isNaN(c.port)&&(c.port=S[5])):(c.scheme=S[1]||void 0,c.userinfo=p.indexOf("@")!==-1?S[3]:void 0,c.host=p.indexOf("//")!==-1?S[4]:void 0,c.port=parseInt(S[5],10),c.path=S[6]||"",c.query=p.indexOf("?")!==-1?S[7]:void 0,c.fragment=p.indexOf("#")!==-1?S[8]:void 0,isNaN(c.port)&&(c.port=p.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?S[4]:void 0)),c.host&&(c.host=ie(se(c.host,v),v)),c.scheme===void 0&&c.userinfo===void 0&&c.host===void 0&&c.port===void 0&&!c.path&&c.query===void 0?c.reference="same-document":c.scheme===void 0?c.reference="relative":c.fragment===void 0?c.reference="absolute":c.reference="uri",s.reference&&s.reference!=="suffix"&&s.reference!==c.reference&&(c.error=c.error||"URI is not a "+s.reference+" reference.");var A=ne[(s.scheme||c.scheme||"").toLowerCase()];if(!s.unicodeSupport&&(!A||!A.unicodeSupport)){if(c.host&&(s.domainHost||A&&A.domainHost))try{c.host=G.toASCII(c.host.replace(v.PCT_ENCODED,ye).toLowerCase())}catch(k){c.error=c.error||"Host's domain name can not be converted to ASCII via punycode: "+k}je(c,w)}else je(c,v);A&&A.parse&&A.parse(c,s)}else c.error=c.error||"URI can not be parsed.";return c}function qe(p,s){var c=s.iri!==!1?m:w,v=[];return p.userinfo!==void 0&&(v.push(p.userinfo),v.push("@")),p.host!==void 0&&v.push(ie(se(String(p.host),c),c).replace(c.IPV6ADDRESS,function(S,A,k){return"["+A+(k?"%25"+k:"")+"]"})),(typeof p.port=="number"||typeof p.port=="string")&&(v.push(":"),v.push(String(p.port))),v.length?v.join(""):void 0}var Ae=/^\.\.?\//,Me=/^\/\.(\/|$)/,ze=/^\/\.\.(\/|$)/,ce=/^\/?(?:.|\n)*?(?=\/|$)/;function Ie(p){for(var s=[];p.length;)if(p.match(Ae))p=p.replace(Ae,"");else if(p.match(Me))p=p.replace(Me,"/");else if(p.match(ze))p=p.replace(ze,"/"),s.pop();else if(p==="."||p==="..")p="";else{var c=p.match(ce);if(c){var v=c[0];p=p.slice(v.length),s.push(v)}else throw new Error("Unexpected dot segment condition")}return s.join("")}function ge(p){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=s.iri?m:w,v=[],S=ne[(s.scheme||p.scheme||"").toLowerCase()];if(S&&S.serialize&&S.serialize(p,s),p.host&&!c.IPV6ADDRESS.test(p.host)){if(s.domainHost||S&&S.domainHost)try{p.host=s.iri?G.toUnicode(p.host):G.toASCII(p.host.replace(c.PCT_ENCODED,ye).toLowerCase())}catch(U){p.error=p.error||"Host's domain name can not be converted to "+(s.iri?"Unicode":"ASCII")+" via punycode: "+U}}je(p,c),s.reference!=="suffix"&&p.scheme&&(v.push(p.scheme),v.push(":"));var A=qe(p,s);if(A!==void 0&&(s.reference!=="suffix"&&v.push("//"),v.push(A),p.path&&p.path.charAt(0)!=="/"&&v.push("/")),p.path!==void 0){var k=p.path;!s.absolutePath&&(!S||!S.absolutePath)&&(k=Ie(k)),A===void 0&&(k=k.replace(/^\/\//,"/%2F")),v.push(k)}return p.query!==void 0&&(v.push("?"),v.push(p.query)),p.fragment!==void 0&&(v.push("#"),v.push(p.fragment)),v.join("")}function me(p,s){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},v=arguments[3],S={};return v||(p=Q(ge(p,c),c),s=Q(ge(s,c),c)),c=c||{},!c.tolerant&&s.scheme?(S.scheme=s.scheme,S.userinfo=s.userinfo,S.host=s.host,S.port=s.port,S.path=Ie(s.path||""),S.query=s.query):(s.userinfo!==void 0||s.host!==void 0||s.port!==void 0?(S.userinfo=s.userinfo,S.host=s.host,S.port=s.port,S.path=Ie(s.path||""),S.query=s.query):(s.path?(s.path.charAt(0)==="/"?S.path=Ie(s.path):((p.userinfo!==void 0||p.host!==void 0||p.port!==void 0)&&!p.path?S.path="/"+s.path:p.path?S.path=p.path.slice(0,p.path.lastIndexOf("/")+1)+s.path:S.path=s.path,S.path=Ie(S.path)),S.query=s.query):(S.path=p.path,s.query!==void 0?S.query=s.query:S.query=p.query),S.userinfo=p.userinfo,S.host=p.host,S.port=p.port),S.scheme=p.scheme),S.fragment=s.fragment,S}function Ee(p,s,c){var v=d({scheme:"null"},c);return ge(me(Q(p,v),Q(s,v),v,!0),v)}function ve(p,s){return typeof p=="string"?p=ge(Q(p,s),s):n(p)==="object"&&(p=Q(ge(p,s),s)),p}function ht(p,s,c){return typeof p=="string"?p=ge(Q(p,c),c):n(p)==="object"&&(p=ge(p,c)),typeof s=="string"?s=ge(Q(s,c),c):n(s)==="object"&&(s=ge(s,c)),p===s}function qt(p,s){return p&&p.toString().replace(!s||!s.iri?w.ESCAPE:m.ESCAPE,pe)}function Pe(p,s){return p&&p.toString().replace(!s||!s.iri?w.PCT_ENCODED:m.PCT_ENCODED,ye)}var it={scheme:"http",domainHost:!0,parse:function(s,c){return s.host||(s.error=s.error||"HTTP URIs must have a host."),s},serialize:function(s,c){var v=String(s.scheme).toLowerCase()==="https";return(s.port===(v?443:80)||s.port==="")&&(s.port=void 0),s.path||(s.path="/"),s}},mr={scheme:"https",domainHost:it.domainHost,parse:it.parse,serialize:it.serialize};function br(p){return typeof p.secure=="boolean"?p.secure:String(p.scheme).toLowerCase()==="wss"}var at={scheme:"ws",domainHost:!0,parse:function(s,c){var v=s;return v.secure=br(v),v.resourceName=(v.path||"/")+(v.query?"?"+v.query:""),v.path=void 0,v.query=void 0,v},serialize:function(s,c){if((s.port===(br(s)?443:80)||s.port==="")&&(s.port=void 0),typeof s.secure=="boolean"&&(s.scheme=s.secure?"wss":"ws",s.secure=void 0),s.resourceName){var v=s.resourceName.split("?"),S=y(v,2),A=S[0],k=S[1];s.path=A&&A!=="/"?A:void 0,s.query=k,s.resourceName=void 0}return s.fragment=void 0,s}},gr={scheme:"wss",domainHost:at.domainHost,parse:at.parse,serialize:at.serialize},tn={},rn=!0,vr="[A-Za-z0-9\\-\\.\\_\\~"+(rn?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",$e="[0-9A-Fa-f]",an=r(r("%[EFef]"+$e+"%"+$e+$e+"%"+$e+$e)+"|"+r("%[89A-Fa-f]"+$e+"%"+$e+$e)+"|"+r("%"+$e+$e)),nn="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",sn="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",on=e(sn,'[\\"\\\\]'),ln="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",dn=new RegExp(vr,"g"),Ke=new RegExp(an,"g"),pn=new RegExp(e("[^]",nn,"[\\.]",'[\\"]',on),"g"),Sr=new RegExp(e("[^]",vr,ln),"g"),cn=Sr;function Nt(p){var s=ye(p);return s.match(dn)?s:p}var wr={scheme:"mailto",parse:function(s,c){var v=s,S=v.to=v.path?v.path.split(","):[];if(v.path=void 0,v.query){for(var A=!1,k={},U=v.query.split("&"),K=0,oe=U.length;K<oe;++K){var V=U[K].split("=");switch(V[0]){case"to":for(var ee=V[1].split(","),le=0,X=ee.length;le<X;++le)S.push(ee[le]);break;case"subject":v.subject=Pe(V[1],c);break;case"body":v.body=Pe(V[1],c);break;default:A=!0,k[Pe(V[0],c)]=Pe(V[1],c);break}}A&&(v.headers=k)}v.query=void 0;for(var H=0,te=S.length;H<te;++H){var Z=S[H].split("@");if(Z[0]=Pe(Z[0]),c.unicodeSupport)Z[1]=Pe(Z[1],c).toLowerCase();else try{Z[1]=G.toASCII(Pe(Z[1],c).toLowerCase())}catch(Ve){v.error=v.error||"Email address's domain name can not be converted to ASCII via punycode: "+Ve}S[H]=Z.join("@")}return v},serialize:function(s,c){var v=s,S=a(s.to);if(S){for(var A=0,k=S.length;A<k;++A){var U=String(S[A]),K=U.lastIndexOf("@"),oe=U.slice(0,K).replace(Ke,Nt).replace(Ke,t).replace(pn,pe),V=U.slice(K+1);try{V=c.iri?G.toUnicode(V):G.toASCII(Pe(V,c).toLowerCase())}catch(H){v.error=v.error||"Email address's domain name can not be converted to "+(c.iri?"Unicode":"ASCII")+" via punycode: "+H}S[A]=oe+"@"+V}v.path=S.join(",")}var ee=s.headers=s.headers||{};s.subject&&(ee.subject=s.subject),s.body&&(ee.body=s.body);var le=[];for(var X in ee)ee[X]!==tn[X]&&le.push(X.replace(Ke,Nt).replace(Ke,t).replace(Sr,pe)+"="+ee[X].replace(Ke,Nt).replace(Ke,t).replace(cn,pe));return le.length&&(v.query=le.join("&")),v}},hn=/^([^\:]+)\:(.*)/,Ir={scheme:"urn",parse:function(s,c){var v=s.path&&s.path.match(hn),S=s;if(v){var A=c.scheme||S.scheme||"urn",k=v[1].toLowerCase(),U=v[2],K=A+":"+(c.nid||k),oe=ne[K];S.nid=k,S.nss=U,S.path=void 0,oe&&(S=oe.parse(S,c))}else S.error=S.error||"URN can not be parsed.";return S},serialize:function(s,c){var v=c.scheme||s.scheme||"urn",S=s.nid,A=v+":"+(c.nid||S),k=ne[A];k&&(s=k.serialize(s,c));var U=s,K=s.nss;return U.path=(S||c.nid)+":"+K,U}},fn=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Cr={scheme:"urn:uuid",parse:function(s,c){var v=s;return v.uuid=v.nss,v.nss=void 0,!c.tolerant&&(!v.uuid||!v.uuid.match(fn))&&(v.error=v.error||"UUID is not valid."),v},serialize:function(s,c){var v=s;return v.nss=(s.uuid||"").toLowerCase(),v}};ne[it.scheme]=it,ne[mr.scheme]=mr,ne[at.scheme]=at,ne[gr.scheme]=gr,ne[wr.scheme]=wr,ne[Ir.scheme]=Ir,ne[Cr.scheme]=Cr,i.SCHEMES=ne,i.pctEncChar=pe,i.pctDecChars=ye,i.parse=Q,i.removeDotSegments=Ie,i.serialize=ge,i.resolveComponents=me,i.resolve=Ee,i.normalize=ve,i.equal=ht,i.escapeComponent=qt,i.unescapeComponent=Pe,Object.defineProperty(i,"__esModule",{value:!0})}))});var vt=_((wo,ti)=>{"use strict";ti.exports=function i(e,r){if(e===r)return!0;if(e&&r&&typeof e=="object"&&typeof r=="object"){if(e.constructor!==r.constructor)return!1;var n,t,a;if(Array.isArray(e)){if(n=e.length,n!=r.length)return!1;for(t=n;t--!==0;)if(!i(e[t],r[t]))return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===r.toString();if(a=Object.keys(e),n=a.length,n!==Object.keys(r).length)return!1;for(t=n;t--!==0;)if(!Object.prototype.hasOwnProperty.call(r,a[t]))return!1;for(t=n;t--!==0;){var d=a[t];if(!i(e[d],r[d]))return!1}return!0}return e!==e&&r!==r}});var ii=_((Io,ri)=>{"use strict";ri.exports=function(e){for(var r=0,n=e.length,t=0,a;t<n;)r++,a=e.charCodeAt(t++),a>=55296&&a<=56319&&t<n&&(a=e.charCodeAt(t),(a&64512)==56320&&t++);return r}});var He=_((Co,si)=>{"use strict";si.exports={copy:In,checkDataType:Gt,checkDataTypes:Cn,coerceToTypes:xn,toHash:Qt,getProperty:Kt,escapeQuotes:Jt,equal:vt(),ucs2length:ii(),varOccurences:En,varReplace:$n,schemaHasRules:Dn,schemaHasRulesExcept:Fn,schemaUnknownRules:An,toQuotedString:Ht,getPathExpr:On,getPath:Rn,getData:jn,unescapeFragment:qn,unescapeJsonPointer:Yt,escapeFragment:Nn,escapeJsonPointer:Zt};function In(i,e){e=e||{};for(var r in i)e[r]=i[r];return e}function Gt(i,e,r,n){var t=n?" !== ":" === ",a=n?" || ":" && ",d=n?"!":"",l=n?"":"!";switch(i){case"null":return e+t+"null";case"array":return d+"Array.isArray("+e+")";case"object":return"("+d+e+a+"typeof "+e+t+'"object"'+a+l+"Array.isArray("+e+"))";case"integer":return"(typeof "+e+t+'"number"'+a+l+"("+e+" % 1)"+a+e+t+e+(r?a+d+"isFinite("+e+")":"")+")";case"number":return"(typeof "+e+t+'"'+i+'"'+(r?a+d+"isFinite("+e+")":"")+")";default:return"typeof "+e+t+'"'+i+'"'}}function Cn(i,e,r){switch(i.length){case 1:return Gt(i[0],e,r,!0);default:var n="",t=Qt(i);t.array&&t.object&&(n=t.null?"(":"(!"+e+" || ",n+="typeof "+e+' !== "object")',delete t.null,delete t.array,delete t.object),t.number&&delete t.integer;for(var a in t)n+=(n?" && ":"")+Gt(a,e,r,!0);return n}}var ai=Qt(["string","number","integer","boolean","null"]);function xn(i,e){if(Array.isArray(e)){for(var r=[],n=0;n<e.length;n++){var t=e[n];(ai[t]||i==="array"&&t==="array")&&(r[r.length]=t)}if(r.length)return r}else{if(ai[e])return[e];if(i==="array"&&e==="array")return["array"]}}function Qt(i){for(var e={},r=0;r<i.length;r++)e[i[r]]=!0;return e}var Tn=/^[a-z$_][a-z$_0-9]*$/i,Pn=/'|\\/g;function Kt(i){return typeof i=="number"?"["+i+"]":Tn.test(i)?"."+i:"['"+Jt(i)+"']"}function Jt(i){return i.replace(Pn,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function En(i,e){e+="[^0-9]";var r=i.match(new RegExp(e,"g"));return r?r.length:0}function $n(i,e,r){return e+="([^0-9])",r=r.replace(/\$/g,"$$$$"),i.replace(new RegExp(e,"g"),r+"$1")}function Dn(i,e){if(typeof i=="boolean")return!i;for(var r in i)if(e[r])return!0}function Fn(i,e,r){if(typeof i=="boolean")return!i&&r!="not";for(var n in i)if(n!=r&&e[n])return!0}function An(i,e){if(typeof i!="boolean"){for(var r in i)if(!e[r])return r}}function Ht(i){return"'"+Jt(i)+"'"}function On(i,e,r,n){var t=r?"'/' + "+e+(n?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):n?"'[' + "+e+" + ']'":"'[\\'' + "+e+" + '\\']'";return ni(i,t)}function Rn(i,e,r){var n=Ht(r?"/"+Zt(e):Kt(e));return ni(i,n)}var Ln=/^\/(?:[^~]|~0|~1)*$/,Wn=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function jn(i,e,r){var n,t,a,d;if(i==="")return"rootData";if(i[0]=="/"){if(!Ln.test(i))throw new Error("Invalid JSON-pointer: "+i);t=i,a="rootData"}else{if(d=i.match(Wn),!d)throw new Error("Invalid JSON-pointer: "+i);if(n=+d[1],t=d[2],t=="#"){if(n>=e)throw new Error("Cannot access property/index "+n+" levels up, current level is "+e);return r[e-n]}if(n>e)throw new Error("Cannot access data "+n+" levels up, current level is "+e);if(a="data"+(e-n||""),!t)return a}for(var l=a,w=t.split("/"),m=0;m<w.length;m++){var y=w[m];y&&(a+=Kt(Yt(y)),l+=" && "+a)}return l}function ni(i,e){return i=='""'?e:(i+" + "+e).replace(/([^\\])' \+ '/g,"$1")}function qn(i){return Yt(decodeURIComponent(i))}function Nn(i){return encodeURIComponent(Zt(i))}function Zt(i){return i.replace(/~/g,"~0").replace(/\//g,"~1")}function Yt(i){return i.replace(/~1/g,"/").replace(/~0/g,"~")}});var Xt=_((xo,oi)=>{"use strict";var _n=He();oi.exports=kn;function kn(i){_n.copy(i,this)}});var di=_((To,li)=>{"use strict";var Ne=li.exports=function(i,e,r){typeof e=="function"&&(r=e,e={}),r=e.cb||r;var n=typeof r=="function"?r:r.pre||function(){},t=r.post||function(){};St(e,n,t,i,"",i)};Ne.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0};Ne.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};Ne.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};Ne.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 St(i,e,r,n,t,a,d,l,w,m){if(n&&typeof n=="object"&&!Array.isArray(n)){e(n,t,a,d,l,w,m);for(var y in n){var f=n[y];if(Array.isArray(f)){if(y in Ne.arrayKeywords)for(var b=0;b<f.length;b++)St(i,e,r,f[b],t+"/"+y+"/"+b,a,t,y,n,b)}else if(y in Ne.propsKeywords){if(f&&typeof f=="object")for(var o in f)St(i,e,r,f[o],t+"/"+y+"/"+Bn(o),a,t,y,n,o)}else(y in Ne.keywords||i.allKeys&&!(y in Ne.skipKeywords))&&St(i,e,r,f,t+"/"+y,a,t,y,n)}r(n,t,a,d,l,w,m)}}function Bn(i){return i.replace(/~/g,"~0").replace(/\//g,"~1")}});var Pt=_((Po,fi)=>{"use strict";var ct=ei(),pi=vt(),xt=He(),wt=Xt(),Mn=di();fi.exports=ke;ke.normalizeId=_e;ke.fullPath=It;ke.url=Ct;ke.ids=Hn;ke.inlineRef=er;ke.schema=Tt;function ke(i,e,r){var n=this._refs[r];if(typeof n=="string")if(this._refs[n])n=this._refs[n];else return ke.call(this,i,e,n);if(n=n||this._schemas[r],n instanceof wt)return er(n.schema,this._opts.inlineRefs)?n.schema:n.validate||this._compile(n);var t=Tt.call(this,e,r),a,d,l;return t&&(a=t.schema,e=t.root,l=t.baseId),a instanceof wt?d=a.validate||i.call(this,a.schema,e,void 0,l):a!==void 0&&(d=er(a,this._opts.inlineRefs)?a:i.call(this,a,e,void 0,l)),d}function Tt(i,e){var r=ct.parse(e),n=hi(r),t=It(this._getId(i.schema));if(Object.keys(i.schema).length===0||n!==t){var a=_e(n),d=this._refs[a];if(typeof d=="string")return zn.call(this,i,d,r);if(d instanceof wt)d.validate||this._compile(d),i=d;else if(d=this._schemas[a],d instanceof wt){if(d.validate||this._compile(d),a==_e(e))return{schema:d,root:i,baseId:t};i=d}else return;if(!i.schema)return;t=It(this._getId(i.schema))}return ci.call(this,r,t,i.schema,i)}function zn(i,e,r){var n=Tt.call(this,i,e);if(n){var t=n.schema,a=n.baseId;i=n.root;var d=this._getId(t);return d&&(a=Ct(a,d)),ci.call(this,r,a,t,i)}}var Vn=xt.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function ci(i,e,r,n){if(i.fragment=i.fragment||"",i.fragment.slice(0,1)=="/"){for(var t=i.fragment.split("/"),a=1;a<t.length;a++){var d=t[a];if(d){if(d=xt.unescapeFragment(d),r=r[d],r===void 0)break;var l;if(!Vn[d]&&(l=this._getId(r),l&&(e=Ct(e,l)),r.$ref)){var w=Ct(e,r.$ref),m=Tt.call(this,n,w);m&&(r=m.schema,n=m.root,e=m.baseId)}}}if(r!==void 0&&r!==n.schema)return{schema:r,root:n,baseId:e}}}var Un=xt.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function er(i,e){if(e===!1)return!1;if(e===void 0||e===!0)return tr(i);if(e)return rr(i)<=e}function tr(i){var e;if(Array.isArray(i)){for(var r=0;r<i.length;r++)if(e=i[r],typeof e=="object"&&!tr(e))return!1}else for(var n in i)if(n=="$ref"||(e=i[n],typeof e=="object"&&!tr(e)))return!1;return!0}function rr(i){var e=0,r;if(Array.isArray(i)){for(var n=0;n<i.length;n++)if(r=i[n],typeof r=="object"&&(e+=rr(r)),e==1/0)return 1/0}else for(var t in i){if(t=="$ref")return 1/0;if(Un[t])e++;else if(r=i[t],typeof r=="object"&&(e+=rr(r)+1),e==1/0)return 1/0}return e}function It(i,e){e!==!1&&(i=_e(i));var r=ct.parse(i);return hi(r)}function hi(i){return ct.serialize(i).split("#")[0]+"#"}var Gn=/#\/?$/;function _e(i){return i?i.replace(Gn,""):""}function Ct(i,e){return e=_e(e),ct.resolve(i,e)}function Hn(i){var e=_e(this._getId(i)),r={"":e},n={"":It(e,!1)},t={},a=this;return Mn(i,{allKeys:!0},function(d,l,w,m,y,f,b){if(l!==""){var o=a._getId(d),u=r[m],g=n[m]+"/"+y;if(b!==void 0&&(g+="/"+(typeof b=="number"?b:xt.escapeFragment(b))),typeof o=="string"){o=u=_e(u?ct.resolve(u,o):o);var h=a._refs[o];if(typeof h=="string"&&(h=a._refs[h]),h&&h.schema){if(!pi(d,h.schema))throw new Error('id "'+o+'" resolves to more than one schema')}else if(o!=_e(g))if(o[0]=="#"){if(t[o]&&!pi(d,t[o]))throw new Error('id "'+o+'" resolves to more than one schema');t[o]=d}else a._refs[o]=g}r[l]=u,n[l]=g}}),t}});var Et=_((Eo,yi)=>{"use strict";var ir=Pt();yi.exports={Validation:ui(Qn),MissingRef:ui(ar)};function Qn(i){this.message="validation failed",this.errors=i,this.ajv=this.validation=!0}ar.message=function(i,e){return"can't resolve reference "+e+" from id "+i};function ar(i,e,r){this.message=r||ar.message(i,e),this.missingRef=ir.url(i,e),this.missingSchema=ir.normalizeId(ir.fullPath(this.missingRef))}function ui(i){return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}});var nr=_(($o,mi)=>{"use strict";mi.exports=function(i,e){e||(e={}),typeof e=="function"&&(e={cmp:e});var r=typeof e.cycles=="boolean"?e.cycles:!1,n=e.cmp&&(function(a){return function(d){return function(l,w){var m={key:l,value:d[l]},y={key:w,value:d[w]};return a(m,y)}}})(e.cmp),t=[];return(function a(d){if(d&&d.toJSON&&typeof d.toJSON=="function"&&(d=d.toJSON()),d!==void 0){if(typeof d=="number")return isFinite(d)?""+d:"null";if(typeof d!="object")return JSON.stringify(d);var l,w;if(Array.isArray(d)){for(w="[",l=0;l<d.length;l++)l&&(w+=","),w+=a(d[l])||"null";return w+"]"}if(d===null)return"null";if(t.indexOf(d)!==-1){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var m=t.push(d)-1,y=Object.keys(d).sort(n&&n(d));for(w="",l=0;l<y.length;l++){var f=y[l],b=a(d[f]);b&&(w&&(w+=","),w+=JSON.stringify(f)+":"+b)}return t.splice(m,1),"{"+w+"}"}})(i)}});var sr=_((Do,bi)=>{"use strict";bi.exports=function(e,r,n){var t="",a=e.schema.$async===!0,d=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),l=e.self._getId(e.schema);if(e.opts.strictKeywords){var w=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(w){var m="unknown keyword: "+w;if(e.opts.strictKeywords==="log")e.logger.warn(m);else throw new Error(m)}}if(e.isTop&&(t+=" var validate = ",a&&(e.async=!0,t+="async "),t+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",l&&(e.opts.sourceCode||e.opts.processCode)&&(t+=" "+("/*# sourceURL="+l+" */")+" ")),typeof e.schema=="boolean"||!(d||e.schema.$ref)){var r="false schema",y=e.level,f=e.dataLevel,b=e.schema[r],o=e.schemaPath+e.util.getProperty(r),u=e.errSchemaPath+"/"+r,D=!e.opts.allErrors,W,g="data"+(f||""),$="valid"+y;if(e.schema===!1){e.isTop?D=!0:t+=" var "+$+" = false; ";var h=h||[];h.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(W||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'boolean schema is false' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),t+=" } "):t+=" {} ";var I=t;t=h.pop(),!e.compositeRule&&D?e.async?t+=" throw new ValidationError(["+I+"]); ":t+=" validate.errors = ["+I+"]; return false; ":t+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?a?t+=" return data; ":t+=" validate.errors = null; return true; ":t+=" var "+$+" = true; ";return e.isTop&&(t+=" }; return validate; "),t}if(e.isTop){var T=e.isTop,y=e.level=0,f=e.dataLevel=0,g="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 C="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(C);else throw new Error(C)}t+=" var vErrors = null; ",t+=" var errors = 0; ",t+=" if (rootData === undefined) rootData = data; "}else{var y=e.level,f=e.dataLevel,g="data"+(f||"");if(l&&(e.baseId=e.resolve.url(e.baseId,l)),a&&!e.async)throw new Error("async schema in sync schema");t+=" var errs_"+y+" = errors;"}var $="valid"+y,D=!e.opts.allErrors,F="",q="",W,P=e.schema.type,j=Array.isArray(P);if(P&&e.opts.nullable&&e.schema.nullable===!0&&(j?P.indexOf("null")==-1&&(P=P.concat("null")):P!="null"&&(P=[P,"null"],j=!0)),j&&P.length==1&&(P=P[0],j=!1),e.schema.$ref&&d){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&&(d=!1,e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"'))}if(e.schema.$comment&&e.opts.$comment&&(t+=" "+e.RULES.all.$comment.code(e,"$comment")),P){if(e.opts.coerceTypes)var L=e.util.coerceToTypes(e.opts.coerceTypes,P);var O=e.RULES.types[P];if(L||j||O===!0||O&&!ce(O)){var o=e.schemaPath+".type",u=e.errSchemaPath+"/type",o=e.schemaPath+".type",u=e.errSchemaPath+"/type",x=j?"checkDataTypes":"checkDataType";if(t+=" if ("+e.util[x](P,g,e.opts.strictNumbers,!0)+") { ",L){var E="dataType"+y,R="coerced"+y;t+=" var "+E+" = typeof "+g+"; var "+R+" = undefined; ",e.opts.coerceTypes=="array"&&(t+=" if ("+E+" == 'object' && Array.isArray("+g+") && "+g+".length == 1) { "+g+" = "+g+"[0]; "+E+" = typeof "+g+"; if ("+e.util.checkDataType(e.schema.type,g,e.opts.strictNumbers)+") "+R+" = "+g+"; } "),t+=" if ("+R+" !== undefined) ; ";var J=L;if(J)for(var M,z=-1,B=J.length-1;z<B;)M=J[z+=1],M=="string"?t+=" else if ("+E+" == 'number' || "+E+" == 'boolean') "+R+" = '' + "+g+"; else if ("+g+" === null) "+R+" = ''; ":M=="number"||M=="integer"?(t+=" else if ("+E+" == 'boolean' || "+g+" === null || ("+E+" == 'string' && "+g+" && "+g+" == +"+g+" ",M=="integer"&&(t+=" && !("+g+" % 1)"),t+=")) "+R+" = +"+g+"; "):M=="boolean"?t+=" else if ("+g+" === 'false' || "+g+" === 0 || "+g+" === null) "+R+" = false; else if ("+g+" === 'true' || "+g+" === 1) "+R+" = true; ":M=="null"?t+=" else if ("+g+" === '' || "+g+" === 0 || "+g+" === false) "+R+" = null; ":e.opts.coerceTypes=="array"&&M=="array"&&(t+=" else if ("+E+" == 'string' || "+E+" == 'number' || "+E+" == 'boolean' || "+g+" == null) "+R+" = ["+g+"]; ");t+=" else { ";var h=h||[];h.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(W||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { type: '",j?t+=""+P.join(","):t+=""+P,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",j?t+=""+P.join(","):t+=""+P,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),t+=" } "):t+=" {} ";var I=t;t=h.pop(),!e.compositeRule&&D?e.async?t+=" throw new ValidationError(["+I+"]); ":t+=" validate.errors = ["+I+"]; return false; ":t+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } if ("+R+" !== undefined) { ";var N=f?"data"+(f-1||""):"parentData",re=f?e.dataPathArr[f]:"parentDataProperty";t+=" "+g+" = "+R+"; ",f||(t+="if ("+N+" !== undefined)"),t+=" "+N+"["+re+"] = "+R+"; } "}else{var h=h||[];h.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(W||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { type: '",j?t+=""+P.join(","):t+=""+P,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",j?t+=""+P.join(","):t+=""+P,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),t+=" } "):t+=" {} ";var I=t;t=h.pop(),!e.compositeRule&&D?e.async?t+=" throw new ValidationError(["+I+"]); ":t+=" validate.errors = ["+I+"]; return false; ":t+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}t+=" } "}}if(e.schema.$ref&&!d)t+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",D&&(t+=" } if (errors === ",T?t+="0":t+="errs_"+y,t+=") { ",q+="}");else{var he=e.RULES;if(he){for(var O,ue=-1,G=he.length-1;ue<G;)if(O=he[ue+=1],ce(O)){if(O.type&&(t+=" if ("+e.util.checkDataType(O.type,g,e.opts.strictNumbers)+") { "),e.opts.useDefaults){if(O.type=="object"&&e.schema.properties){var b=e.schema.properties,ne=Object.keys(b),pe=ne;if(pe)for(var ye,je=-1,Fe=pe.length-1;je<Fe;){ye=pe[je+=1];var se=b[ye];if(se.default!==void 0){var ie=g+e.util.getProperty(ye);if(e.compositeRule){if(e.opts.strictDefaults){var C="default is ignored for: "+ie;if(e.opts.strictDefaults==="log")e.logger.warn(C);else throw new Error(C)}}else t+=" if ("+ie+" === undefined ",e.opts.useDefaults=="empty"&&(t+=" || "+ie+" === null || "+ie+" === '' "),t+=" ) "+ie+" = ",e.opts.useDefaults=="shared"?t+=" "+e.useDefault(se.default)+" ":t+=" "+JSON.stringify(se.default)+" ",t+="; "}}}else if(O.type=="array"&&Array.isArray(e.schema.items)){var Be=e.schema.items;if(Be){for(var se,z=-1,fe=Be.length-1;z<fe;)if(se=Be[z+=1],se.default!==void 0){var ie=g+"["+z+"]";if(e.compositeRule){if(e.opts.strictDefaults){var C="default is ignored for: "+ie;if(e.opts.strictDefaults==="log")e.logger.warn(C);else throw new Error(C)}}else t+=" if ("+ie+" === undefined ",e.opts.useDefaults=="empty"&&(t+=" || "+ie+" === null || "+ie+" === '' "),t+=" ) "+ie+" = ",e.opts.useDefaults=="shared"?t+=" "+e.useDefault(se.default)+" ":t+=" "+JSON.stringify(se.default)+" ",t+="; "}}}}var Q=O.rules;if(Q){for(var qe,Ae=-1,Me=Q.length-1;Ae<Me;)if(qe=Q[Ae+=1],Ie(qe)){var ze=qe.code(e,qe.keyword,O.type);ze&&(t+=" "+ze+" ",D&&(F+="}"))}}if(D&&(t+=" "+F+" ",F=""),O.type&&(t+=" } ",P&&P===O.type&&!L)){t+=" else { ";var o=e.schemaPath+".type",u=e.errSchemaPath+"/type",h=h||[];h.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(W||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { type: '",j?t+=""+P.join(","):t+=""+P,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",j?t+=""+P.join(","):t+=""+P,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),t+=" } "):t+=" {} ";var I=t;t=h.pop(),!e.compositeRule&&D?e.async?t+=" throw new ValidationError(["+I+"]); ":t+=" validate.errors = ["+I+"]; return false; ":t+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } "}D&&(t+=" if (errors === ",T?t+="0":t+="errs_"+y,t+=") { ",q+="}")}}}D&&(t+=" "+q+" "),T?(a?(t+=" if (errors === 0) return data; ",t+=" else throw new ValidationError(vErrors); "):(t+=" validate.errors = vErrors; ",t+=" return errors === 0; "),t+=" }; return validate;"):t+=" var "+$+" = errors === errs_"+y+";";function ce(me){for(var Ee=me.rules,ve=0;ve<Ee.length;ve++)if(Ie(Ee[ve]))return!0}function Ie(me){return e.schema[me.keyword]!==void 0||me.implements&&ge(me)}function ge(me){for(var Ee=me.implements,ve=0;ve<Ee.length;ve++)if(e.schema[Ee[ve]]!==void 0)return!0}return t}});var Ii=_((Fo,wi)=>{"use strict";var $t=Pt(),Ft=He(),vi=Et(),Kn=nr(),gi=sr(),Jn=Ft.ucs2length,Zn=vt(),Yn=vi.Validation;wi.exports=or;function or(i,e,r,n){var t=this,a=this._opts,d=[void 0],l={},w=[],m={},y=[],f={},b=[];e=e||{schema:i,refVal:d,refs:l};var o=Xn.call(this,i,e,n),u=this._compilations[o.index];if(o.compiling)return u.callValidate=C;var g=this._formats,h=this.RULES;try{var I=$(i,e,r,n);u.validate=I;var T=u.callValidate;return T&&(T.schema=I.schema,T.errors=null,T.refs=I.refs,T.refVal=I.refVal,T.root=I.root,T.$async=I.$async,a.sourceCode&&(T.source=I.source)),I}finally{es.call(this,i,e,n)}function C(){var x=u.validate,E=x.apply(this,arguments);return C.errors=x.errors,E}function $(x,E,R,J){var M=!E||E&&E.schema==x;if(E.schema!=e.schema)return or.call(t,x,E,R,J);var z=x.$async===!0,B=gi({isTop:!0,schema:x,isRoot:M,baseId:J,root:E,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:vi.MissingRef,RULES:h,validate:gi,util:Ft,resolve:$t,resolveRef:D,usePattern:j,useDefault:L,useCustomRule:O,opts:a,formats:g,logger:t.logger,self:t});B=Dt(d,is)+Dt(w,ts)+Dt(y,rs)+Dt(b,as)+B,a.processCode&&(B=a.processCode(B,x));var N;try{var re=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",B);N=re(t,h,g,e,d,y,b,Zn,Jn,Yn),d[0]=N}catch(he){throw t.logger.error("Error compiling schema, function code:",B),he}return N.schema=x,N.errors=null,N.refs=l,N.refVal=d,N.root=M?N:E,z&&(N.$async=!0),a.sourceCode===!0&&(N.source={code:B,patterns:w,defaults:y}),N}function D(x,E,R){E=$t.url(x,E);var J=l[E],M,z;if(J!==void 0)return M=d[J],z="refVal["+J+"]",P(M,z);if(!R&&e.refs){var B=e.refs[E];if(B!==void 0)return M=e.refVal[B],z=F(E,M),P(M,z)}z=F(E);var N=$t.call(t,$,e,E);if(N===void 0){var re=r&&r[E];re&&(N=$t.inlineRef(re,a.inlineRefs)?re:or.call(t,re,e,r,x))}if(N===void 0)q(E);else return W(E,N),P(N,z)}function F(x,E){var R=d.length;return d[R]=E,l[x]=R,"refVal"+R}function q(x){delete l[x]}function W(x,E){var R=l[x];d[R]=E}function P(x,E){return typeof x=="object"||typeof x=="boolean"?{code:E,schema:x,inline:!0}:{code:E,$async:x&&!!x.$async}}function j(x){var E=m[x];return E===void 0&&(E=m[x]=w.length,w[E]=x),"pattern"+E}function L(x){switch(typeof x){case"boolean":case"number":return""+x;case"string":return Ft.toQuotedString(x);case"object":if(x===null)return"null";var E=Kn(x),R=f[E];return R===void 0&&(R=f[E]=y.length,y[R]=x),"default"+R}}function O(x,E,R,J){if(t._opts.validateSchema!==!1){var M=x.definition.dependencies;if(M&&!M.every(function(pe){return Object.prototype.hasOwnProperty.call(R,pe)}))throw new Error("parent schema must have all required keywords: "+M.join(","));var z=x.definition.validateSchema;if(z){var B=z(E);if(!B){var N="keyword schema is invalid: "+t.errorsText(z.errors);if(t._opts.validateSchema=="log")t.logger.error(N);else throw new Error(N)}}}var re=x.definition.compile,he=x.definition.inline,ue=x.definition.macro,G;if(re)G=re.call(t,E,R,J);else if(ue)G=ue.call(t,E,R,J),a.validateSchema!==!1&&t.validateSchema(G,!0);else if(he)G=he.call(t,J,x.keyword,E,R);else if(G=x.definition.validate,!G)return;if(G===void 0)throw new Error('custom keyword "'+x.keyword+'"failed to compile');var ne=b.length;return b[ne]=G,{code:"customRule"+ne,validate:G}}}function Xn(i,e,r){var n=Si.call(this,i,e,r);return n>=0?{index:n,compiling:!0}:(n=this._compilations.length,this._compilations[n]={schema:i,root:e,baseId:r},{index:n,compiling:!1})}function es(i,e,r){var n=Si.call(this,i,e,r);n>=0&&this._compilations.splice(n,1)}function Si(i,e,r){for(var n=0;n<this._compilations.length;n++){var t=this._compilations[n];if(t.schema==i&&t.root==e&&t.baseId==r)return n}return-1}function ts(i,e){return"var pattern"+i+" = new RegExp("+Ft.toQuotedString(e[i])+");"}function rs(i){return"var default"+i+" = defaults["+i+"];"}function is(i,e){return e[i]===void 0?"":"var refVal"+i+" = refVal["+i+"];"}function as(i){return"var customRule"+i+" = customRules["+i+"];"}function Dt(i,e){if(!i.length)return"";for(var r="",n=0;n<i.length;n++)r+=e(n,i);return r}});var xi=_((Ao,Ci)=>{"use strict";var At=Ci.exports=function(){this._cache={}};At.prototype.put=function(e,r){this._cache[e]=r};At.prototype.get=function(e){return this._cache[e]};At.prototype.del=function(e){delete this._cache[e]};At.prototype.clear=function(){this._cache={}}});var ji=_((Oo,Wi)=>{"use strict";var ns=He(),ss=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,os=[0,31,28,31,30,31,30,31,31,30,31,30,31],ls=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,Ti=/^(?=.{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,ds=/^(?:[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,ps=/^(?:[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,Pi=/^(?:(?:[^\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,Ei=/^(?:(?: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,$i=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,Di=/^(?:\/(?:[^~/]|~0|~1)*)*$/,Fi=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,Ai=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;Wi.exports=Ot;function Ot(i){return i=i=="full"?"full":"fast",ns.copy(Ot[i])}Ot.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":Pi,url:Ei,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:Ti,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:Li,uuid:$i,"json-pointer":Di,"json-pointer-uri-fragment":Fi,"relative-json-pointer":Ai};Ot.full={date:Oi,time:Ri,"date-time":fs,uri:ys,"uri-reference":ps,"uri-template":Pi,url:Ei,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:Ti,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:Li,uuid:$i,"json-pointer":Di,"json-pointer-uri-fragment":Fi,"relative-json-pointer":Ai};function cs(i){return i%4===0&&(i%100!==0||i%400===0)}function Oi(i){var e=i.match(ss);if(!e)return!1;var r=+e[1],n=+e[2],t=+e[3];return n>=1&&n<=12&&t>=1&&t<=(n==2&&cs(r)?29:os[n])}function Ri(i,e){var r=i.match(ls);if(!r)return!1;var n=r[1],t=r[2],a=r[3],d=r[5];return(n<=23&&t<=59&&a<=59||n==23&&t==59&&a==60)&&(!e||d)}var hs=/t|\s/i;function fs(i){var e=i.split(hs);return e.length==2&&Oi(e[0])&&Ri(e[1],!0)}var us=/\/|:/;function ys(i){return us.test(i)&&ds.test(i)}var ms=/[^\\]\\Z/;function Li(i){if(ms.test(i))return!1;try{return new RegExp(i),!0}catch{return!1}}});var Ni=_((Ro,qi)=>{"use strict";qi.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.errSchemaPath+"/"+r,m=!e.opts.allErrors,y="data"+(d||""),f="valid"+a,b,o;if(l=="#"||l=="#/")e.isRoot?(b=e.async,o="validate"):(b=e.root.schema.$async===!0,o="root.refVal[0]");else{var u=e.resolveRef(e.baseId,l,e.isRoot);if(u===void 0){var g=e.MissingRefError.message(e.baseId,l);if(e.opts.missingRefs=="fail"){e.logger.error(g);var h=h||[];h.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(w)+" , params: { ref: '"+e.util.escapeQuotes(l)+"' } ",e.opts.messages!==!1&&(t+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(l)+"' "),e.opts.verbose&&(t+=" , schema: "+e.util.toQuotedString(l)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+y+" "),t+=" } "):t+=" {} ";var I=t;t=h.pop(),!e.compositeRule&&m?e.async?t+=" throw new ValidationError(["+I+"]); ":t+=" validate.errors = ["+I+"]; return false; ":t+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",m&&(t+=" if (false) { ")}else if(e.opts.missingRefs=="ignore")e.logger.warn(g),m&&(t+=" if (true) { ");else throw new e.MissingRefError(e.baseId,l,g)}else if(u.inline){var T=e.util.copy(e);T.level++;var C="valid"+T.level;T.schema=u.schema,T.schemaPath="",T.errSchemaPath=l;var $=e.validate(T).replace(/validate\.schema/g,u.code);t+=" "+$+" ",m&&(t+=" if ("+C+") { ")}else b=u.$async===!0||e.async&&u.$async!==!1,o=u.code}if(o){var h=h||[];h.push(t),t="",e.opts.passContext?t+=" "+o+".call(this, ":t+=" "+o+"( ",t+=" "+y+", (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var D=d?"data"+(d-1||""):"parentData",F=d?e.dataPathArr[d]:"parentDataProperty";t+=" , "+D+" , "+F+", rootData) ";var q=t;if(t=h.pop(),b){if(!e.async)throw new Error("async schema referenced by sync schema");m&&(t+=" var "+f+"; "),t+=" try { await "+q+"; ",m&&(t+=" "+f+" = true; "),t+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",m&&(t+=" "+f+" = false; "),t+=" } ",m&&(t+=" if ("+f+") { ")}else t+=" if (!"+q+") { if (vErrors === null) vErrors = "+o+".errors; else vErrors = vErrors.concat("+o+".errors); errors = vErrors.length; } ",m&&(t+=" else { ")}return t}});var ki=_((Lo,_i)=>{"use strict";_i.exports=function(e,r,n){var t=" ",a=e.schema[r],d=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,w=!e.opts.allErrors,m=e.util.copy(e),y="";m.level++;var f="valid"+m.level,b=m.baseId,o=!0,u=a;if(u)for(var g,h=-1,I=u.length-1;h<I;)g=u[h+=1],(e.opts.strictKeywords?typeof g=="object"&&Object.keys(g).length>0||g===!1:e.util.schemaHasRules(g,e.RULES.all))&&(o=!1,m.schema=g,m.schemaPath=d+"["+h+"]",m.errSchemaPath=l+"/"+h,t+=" "+e.validate(m)+" ",m.baseId=b,w&&(t+=" if ("+f+") { ",y+="}"));return w&&(o?t+=" if (true) { ":t+=" "+y.slice(0,-1)+" "),t}});var Mi=_((Wo,Bi)=>{"use strict";Bi.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="valid"+a,o="errs__"+a,u=e.util.copy(e),g="";u.level++;var h="valid"+u.level,I=l.every(function(W){return e.opts.strictKeywords?typeof W=="object"&&Object.keys(W).length>0||W===!1:e.util.schemaHasRules(W,e.RULES.all)});if(I){var T=u.baseId;t+=" var "+o+" = errors; var "+b+" = false; ";var C=e.compositeRule;e.compositeRule=u.compositeRule=!0;var $=l;if($)for(var D,F=-1,q=$.length-1;F<q;)D=$[F+=1],u.schema=D,u.schemaPath=w+"["+F+"]",u.errSchemaPath=m+"/"+F,t+=" "+e.validate(u)+" ",u.baseId=T,t+=" "+b+" = "+b+" || "+h+"; if (!"+b+") { ",g+="}";e.compositeRule=u.compositeRule=C,t+=" "+g+" if (!"+b+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&y&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+=" } else { errors = "+o+"; if (vErrors !== null) { if ("+o+") vErrors.length = "+o+"; else vErrors = null; } ",e.opts.allErrors&&(t+=" } ")}else y&&(t+=" if (true) { ");return t}});var Vi=_((jo,zi)=>{"use strict";zi.exports=function(e,r,n){var t=" ",a=e.schema[r],d=e.errSchemaPath+"/"+r,l=!e.opts.allErrors,w=e.util.toQuotedString(a);return e.opts.$comment===!0?t+=" console.log("+w+");":typeof e.opts.$comment=="function"&&(t+=" self._opts.$comment("+w+", "+e.util.toQuotedString(d)+", validate.root.schema);"),t}});var Gi=_((qo,Ui)=>{"use strict";Ui.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="valid"+a,o=e.opts.$data&&l&&l.$data,u;o?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",u="schema"+a):u=l,o||(t+=" var schema"+a+" = validate.schema"+w+";"),t+="var "+b+" = equal("+f+", schema"+a+"); if (!"+b+") { ";var g=g||[];g.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { allowedValue: schema"+a+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be equal to constant' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var h=t;return t=g.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+h+"]); ":t+=" validate.errors = ["+h+"]; return false; ":t+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" }",y&&(t+=" else { "),t}});var Qi=_((No,Hi)=>{"use strict";Hi.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="valid"+a,o="errs__"+a,u=e.util.copy(e),g="";u.level++;var h="valid"+u.level,I="i"+a,T=u.dataLevel=e.dataLevel+1,C="data"+T,$=e.baseId,D=e.opts.strictKeywords?typeof l=="object"&&Object.keys(l).length>0||l===!1:e.util.schemaHasRules(l,e.RULES.all);if(t+="var "+o+" = errors;var "+b+";",D){var F=e.compositeRule;e.compositeRule=u.compositeRule=!0,u.schema=l,u.schemaPath=w,u.errSchemaPath=m,t+=" var "+h+" = false; for (var "+I+" = 0; "+I+" < "+f+".length; "+I+"++) { ",u.errorPath=e.util.getPathExpr(e.errorPath,I,e.opts.jsonPointers,!0);var q=f+"["+I+"]";u.dataPathArr[T]=I;var W=e.validate(u);u.baseId=$,e.util.varOccurences(W,C)<2?t+=" "+e.util.varReplace(W,C,q)+" ":t+=" var "+C+" = "+q+"; "+W+" ",t+=" if ("+h+") break; } ",e.compositeRule=u.compositeRule=F,t+=" "+g+" if (!"+h+") {"}else t+=" if ("+f+".length == 0) {";var P=P||[];P.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should contain a valid item' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var j=t;return t=P.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+j+"]); ":t+=" validate.errors = ["+j+"]; return false; ":t+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { ",D&&(t+=" errors = "+o+"; if (vErrors !== null) { if ("+o+") vErrors.length = "+o+"; else vErrors = null; } "),e.opts.allErrors&&(t+=" } "),t}});var Ji=_((_o,Ki)=>{"use strict";Ki.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="errs__"+a,o=e.util.copy(e),u="";o.level++;var g="valid"+o.level,h={},I={},T=e.opts.ownProperties;for(F in l)if(F!="__proto__"){var C=l[F],$=Array.isArray(C)?I:h;$[F]=C}t+="var "+b+" = errors;";var D=e.errorPath;t+="var missing"+a+";";for(var F in I)if($=I[F],$.length){if(t+=" if ( "+f+e.util.getProperty(F)+" !== undefined ",T&&(t+=" && Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(F)+"') "),y){t+=" && ( ";var q=$;if(q)for(var W,P=-1,j=q.length-1;P<j;){W=q[P+=1],P&&(t+=" || ");var L=e.util.getProperty(W),O=f+L;t+=" ( ( "+O+" === undefined ",T&&(t+=" || ! Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(W)+"') "),t+=") && (missing"+a+" = "+e.util.toQuotedString(e.opts.jsonPointers?W:L)+") ) "}t+=")) { ";var x="missing"+a,E="' + "+x+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(D,x,!0):D+" + "+x);var R=R||[];R.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { property: '"+e.util.escapeQuotes(F)+"', missingProperty: '"+E+"', depsCount: "+$.length+", deps: '"+e.util.escapeQuotes($.length==1?$[0]:$.join(", "))+"' } ",e.opts.messages!==!1&&(t+=" , message: 'should have ",$.length==1?t+="property "+e.util.escapeQuotes($[0]):t+="properties "+e.util.escapeQuotes($.join(", ")),t+=" when property "+e.util.escapeQuotes(F)+" is present' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var J=t;t=R.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+J+"]); ":t+=" validate.errors = ["+J+"]; return false; ":t+=" var err = "+J+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{t+=" ) { ";var M=$;if(M)for(var W,z=-1,B=M.length-1;z<B;){W=M[z+=1];var L=e.util.getProperty(W),E=e.util.escapeQuotes(W),O=f+L;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(D,W,e.opts.jsonPointers)),t+=" if ( "+O+" === undefined ",T&&(t+=" || ! Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(W)+"') "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { property: '"+e.util.escapeQuotes(F)+"', missingProperty: '"+E+"', depsCount: "+$.length+", deps: '"+e.util.escapeQuotes($.length==1?$[0]:$.join(", "))+"' } ",e.opts.messages!==!1&&(t+=" , message: 'should have ",$.length==1?t+="property "+e.util.escapeQuotes($[0]):t+="properties "+e.util.escapeQuotes($.join(", ")),t+=" when property "+e.util.escapeQuotes(F)+" is present' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}t+=" } ",y&&(u+="}",t+=" else { ")}e.errorPath=D;var N=o.baseId;for(var F in h){var C=h[F];(e.opts.strictKeywords?typeof C=="object"&&Object.keys(C).length>0||C===!1:e.util.schemaHasRules(C,e.RULES.all))&&(t+=" "+g+" = true; if ( "+f+e.util.getProperty(F)+" !== undefined ",T&&(t+=" && Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(F)+"') "),t+=") { ",o.schema=C,o.schemaPath=w+e.util.getProperty(F),o.errSchemaPath=m+"/"+e.util.escapeFragment(F),t+=" "+e.validate(o)+" ",o.baseId=N,t+=" } ",y&&(t+=" if ("+g+") { ",u+="}"))}return y&&(t+=" "+u+" if ("+b+" == errors) {"),t}});var Yi=_((ko,Zi)=>{"use strict";Zi.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="valid"+a,o=e.opts.$data&&l&&l.$data,u;o?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",u="schema"+a):u=l;var g="i"+a,h="schema"+a;o||(t+=" var "+h+" = validate.schema"+w+";"),t+="var "+b+";",o&&(t+=" if (schema"+a+" === undefined) "+b+" = true; else if (!Array.isArray(schema"+a+")) "+b+" = false; else {"),t+=""+b+" = false;for (var "+g+"=0; "+g+"<"+h+".length; "+g+"++) if (equal("+f+", "+h+"["+g+"])) { "+b+" = true; break; }",o&&(t+=" } "),t+=" if (!"+b+") { ";var I=I||[];I.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { allowedValues: schema"+a+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var T=t;return t=I.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+T+"]); ":t+=" validate.errors = ["+T+"]; return false; ":t+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" }",y&&(t+=" else { "),t}});var ea=_((Bo,Xi)=>{"use strict";Xi.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||"");if(e.opts.format===!1)return y&&(t+=" if (true) { "),t;var b=e.opts.$data&&l&&l.$data,o;b?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",o="schema"+a):o=l;var u=e.opts.unknownFormats,g=Array.isArray(u);if(b){var h="format"+a,I="isObject"+a,T="formatType"+a;t+=" var "+h+" = formats["+o+"]; var "+I+" = typeof "+h+" == 'object' && !("+h+" instanceof RegExp) && "+h+".validate; var "+T+" = "+I+" && "+h+".type || 'string'; if ("+I+") { ",e.async&&(t+=" var async"+a+" = "+h+".async; "),t+=" "+h+" = "+h+".validate; } if ( ",b&&(t+=" ("+o+" !== undefined && typeof "+o+" != 'string') || "),t+=" (",u!="ignore"&&(t+=" ("+o+" && !"+h+" ",g&&(t+=" && self._opts.unknownFormats.indexOf("+o+") == -1 "),t+=") || "),t+=" ("+h+" && "+T+" == '"+n+"' && !(typeof "+h+" == 'function' ? ",e.async?t+=" (async"+a+" ? await "+h+"("+f+") : "+h+"("+f+")) ":t+=" "+h+"("+f+") ",t+=" : "+h+".test("+f+"))))) {"}else{var h=e.formats[l];if(!h){if(u=="ignore")return e.logger.warn('unknown format "'+l+'" ignored in schema at path "'+e.errSchemaPath+'"'),y&&(t+=" if (true) { "),t;if(g&&u.indexOf(l)>=0)return y&&(t+=" if (true) { "),t;throw new Error('unknown format "'+l+'" is used in schema at path "'+e.errSchemaPath+'"')}var I=typeof h=="object"&&!(h instanceof RegExp)&&h.validate,T=I&&h.type||"string";if(I){var C=h.async===!0;h=h.validate}if(T!=n)return y&&(t+=" if (true) { "),t;if(C){if(!e.async)throw new Error("async format in sync schema");var $="formats"+e.util.getProperty(l)+".validate";t+=" if (!(await "+$+"("+f+"))) { "}else{t+=" if (! ";var $="formats"+e.util.getProperty(l);I&&($+=".validate"),typeof h=="function"?t+=" "+$+"("+f+") ":t+=" "+$+".test("+f+") ",t+=") { "}}var D=D||[];D.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { format: ",b?t+=""+o:t+=""+e.util.toQuotedString(l),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match format "`,b?t+="' + "+o+" + '":t+=""+e.util.escapeQuotes(l),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",b?t+="validate.schema"+w:t+=""+e.util.toQuotedString(l),t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var F=t;return t=D.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+F+"]); ":t+=" validate.errors = ["+F+"]; return false; ":t+=" var err = "+F+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",y&&(t+=" else { "),t}});var ra=_((Mo,ta)=>{"use strict";ta.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="valid"+a,o="errs__"+a,u=e.util.copy(e);u.level++;var g="valid"+u.level,h=e.schema.then,I=e.schema.else,T=h!==void 0&&(e.opts.strictKeywords?typeof h=="object"&&Object.keys(h).length>0||h===!1:e.util.schemaHasRules(h,e.RULES.all)),C=I!==void 0&&(e.opts.strictKeywords?typeof I=="object"&&Object.keys(I).length>0||I===!1:e.util.schemaHasRules(I,e.RULES.all)),$=u.baseId;if(T||C){var D;u.createErrors=!1,u.schema=l,u.schemaPath=w,u.errSchemaPath=m,t+=" var "+o+" = errors; var "+b+" = true; ";var F=e.compositeRule;e.compositeRule=u.compositeRule=!0,t+=" "+e.validate(u)+" ",u.baseId=$,u.createErrors=!0,t+=" errors = "+o+"; if (vErrors !== null) { if ("+o+") vErrors.length = "+o+"; else vErrors = null; } ",e.compositeRule=u.compositeRule=F,T?(t+=" if ("+g+") { ",u.schema=e.schema.then,u.schemaPath=e.schemaPath+".then",u.errSchemaPath=e.errSchemaPath+"/then",t+=" "+e.validate(u)+" ",u.baseId=$,t+=" "+b+" = "+g+"; ",T&&C?(D="ifClause"+a,t+=" var "+D+" = 'then'; "):D="'then'",t+=" } ",C&&(t+=" else { ")):t+=" if (!"+g+") { ",C&&(u.schema=e.schema.else,u.schemaPath=e.schemaPath+".else",u.errSchemaPath=e.errSchemaPath+"/else",t+=" "+e.validate(u)+" ",u.baseId=$,t+=" "+b+" = "+g+"; ",T&&C?(D="ifClause"+a,t+=" var "+D+" = 'else'; "):D="'else'",t+=" } "),t+=" if (!"+b+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { failingKeyword: "+D+" } ",e.opts.messages!==!1&&(t+=` , message: 'should match "' + `+D+` + '" schema' `),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&y&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+=" } ",y&&(t+=" else { ")}else y&&(t+=" if (true) { ");return t}});var aa=_((zo,ia)=>{"use strict";ia.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="valid"+a,o="errs__"+a,u=e.util.copy(e),g="";u.level++;var h="valid"+u.level,I="i"+a,T=u.dataLevel=e.dataLevel+1,C="data"+T,$=e.baseId;if(t+="var "+o+" = errors;var "+b+";",Array.isArray(l)){var D=e.schema.additionalItems;if(D===!1){t+=" "+b+" = "+f+".length <= "+l.length+"; ";var F=m;m=e.errSchemaPath+"/additionalItems",t+=" if (!"+b+") { ";var q=q||[];q.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { limit: "+l.length+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have more than "+l.length+" items' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var W=t;t=q.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+W+"]); ":t+=" validate.errors = ["+W+"]; return false; ":t+=" var err = "+W+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",m=F,y&&(g+="}",t+=" else { ")}var P=l;if(P){for(var j,L=-1,O=P.length-1;L<O;)if(j=P[L+=1],e.opts.strictKeywords?typeof j=="object"&&Object.keys(j).length>0||j===!1:e.util.schemaHasRules(j,e.RULES.all)){t+=" "+h+" = true; if ("+f+".length > "+L+") { ";var x=f+"["+L+"]";u.schema=j,u.schemaPath=w+"["+L+"]",u.errSchemaPath=m+"/"+L,u.errorPath=e.util.getPathExpr(e.errorPath,L,e.opts.jsonPointers,!0),u.dataPathArr[T]=L;var E=e.validate(u);u.baseId=$,e.util.varOccurences(E,C)<2?t+=" "+e.util.varReplace(E,C,x)+" ":t+=" var "+C+" = "+x+"; "+E+" ",t+=" } ",y&&(t+=" if ("+h+") { ",g+="}")}}if(typeof D=="object"&&(e.opts.strictKeywords?typeof D=="object"&&Object.keys(D).length>0||D===!1:e.util.schemaHasRules(D,e.RULES.all))){u.schema=D,u.schemaPath=e.schemaPath+".additionalItems",u.errSchemaPath=e.errSchemaPath+"/additionalItems",t+=" "+h+" = true; if ("+f+".length > "+l.length+") { for (var "+I+" = "+l.length+"; "+I+" < "+f+".length; "+I+"++) { ",u.errorPath=e.util.getPathExpr(e.errorPath,I,e.opts.jsonPointers,!0);var x=f+"["+I+"]";u.dataPathArr[T]=I;var E=e.validate(u);u.baseId=$,e.util.varOccurences(E,C)<2?t+=" "+e.util.varReplace(E,C,x)+" ":t+=" var "+C+" = "+x+"; "+E+" ",y&&(t+=" if (!"+h+") break; "),t+=" } } ",y&&(t+=" if ("+h+") { ",g+="}")}}else if(e.opts.strictKeywords?typeof l=="object"&&Object.keys(l).length>0||l===!1:e.util.schemaHasRules(l,e.RULES.all)){u.schema=l,u.schemaPath=w,u.errSchemaPath=m,t+=" for (var "+I+" = 0; "+I+" < "+f+".length; "+I+"++) { ",u.errorPath=e.util.getPathExpr(e.errorPath,I,e.opts.jsonPointers,!0);var x=f+"["+I+"]";u.dataPathArr[T]=I;var E=e.validate(u);u.baseId=$,e.util.varOccurences(E,C)<2?t+=" "+e.util.varReplace(E,C,x)+" ":t+=" var "+C+" = "+x+"; "+E+" ",y&&(t+=" if (!"+h+") break; "),t+=" }"}return y&&(t+=" "+g+" if ("+o+" == errors) {"),t}});var lr=_((Vo,na)=>{"use strict";na.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,$,f="data"+(d||""),b=e.opts.$data&&l&&l.$data,o;b?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",o="schema"+a):o=l;var u=r=="maximum",g=u?"exclusiveMaximum":"exclusiveMinimum",h=e.schema[g],I=e.opts.$data&&h&&h.$data,T=u?"<":">",C=u?">":"<",$=void 0;if(!(b||typeof l=="number"||l===void 0))throw new Error(r+" must be number");if(!(I||h===void 0||typeof h=="number"||typeof h=="boolean"))throw new Error(g+" must be number or boolean");if(I){var D=e.util.getData(h.$data,d,e.dataPathArr),F="exclusive"+a,q="exclType"+a,W="exclIsNumber"+a,P="op"+a,j="' + "+P+" + '";t+=" var schemaExcl"+a+" = "+D+"; ",D="schemaExcl"+a,t+=" var "+F+"; var "+q+" = typeof "+D+"; if ("+q+" != 'boolean' && "+q+" != 'undefined' && "+q+" != 'number') { ";var $=g,L=L||[];L.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+($||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: '"+g+" should be boolean' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var O=t;t=L.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+O+"]); ":t+=" validate.errors = ["+O+"]; return false; ":t+=" var err = "+O+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else if ( ",b&&(t+=" ("+o+" !== undefined && typeof "+o+" != 'number') || "),t+=" "+q+" == 'number' ? ( ("+F+" = "+o+" === undefined || "+D+" "+T+"= "+o+") ? "+f+" "+C+"= "+D+" : "+f+" "+C+" "+o+" ) : ( ("+F+" = "+D+" === true) ? "+f+" "+C+"= "+o+" : "+f+" "+C+" "+o+" ) || "+f+" !== "+f+") { var op"+a+" = "+F+" ? '"+T+"' : '"+T+"='; ",l===void 0&&($=g,m=e.errSchemaPath+"/"+g,o=D,b=I)}else{var W=typeof h=="number",j=T;if(W&&b){var P="'"+j+"'";t+=" if ( ",b&&(t+=" ("+o+" !== undefined && typeof "+o+" != 'number') || "),t+=" ( "+o+" === undefined || "+h+" "+T+"= "+o+" ? "+f+" "+C+"= "+h+" : "+f+" "+C+" "+o+" ) || "+f+" !== "+f+") { "}else{W&&l===void 0?(F=!0,$=g,m=e.errSchemaPath+"/"+g,o=h,C+="="):(W&&(o=Math[u?"min":"max"](h,l)),h===(W?o:!0)?(F=!0,$=g,m=e.errSchemaPath+"/"+g,C+="="):(F=!1,j+="="));var P="'"+j+"'";t+=" if ( ",b&&(t+=" ("+o+" !== undefined && typeof "+o+" != 'number') || "),t+=" "+f+" "+C+" "+o+" || "+f+" !== "+f+") { "}}$=$||r;var L=L||[];L.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+($||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { comparison: "+P+", limit: "+o+", exclusive: "+F+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be "+j+" ",b?t+="' + "+o:t+=""+o+"'"),e.opts.verbose&&(t+=" , schema: ",b?t+="validate.schema"+w:t+=""+l,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var O=t;return t=L.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+O+"]); ":t+=" validate.errors = ["+O+"]; return false; ":t+=" var err = "+O+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",y&&(t+=" else { "),t}});var dr=_((Uo,sa)=>{"use strict";sa.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,g,f="data"+(d||""),b=e.opts.$data&&l&&l.$data,o;if(b?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",o="schema"+a):o=l,!(b||typeof l=="number"))throw new Error(r+" must be number");var u=r=="maxItems"?">":"<";t+="if ( ",b&&(t+=" ("+o+" !== undefined && typeof "+o+" != 'number') || "),t+=" "+f+".length "+u+" "+o+") { ";var g=r,h=h||[];h.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(g||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { limit: "+o+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have ",r=="maxItems"?t+="more":t+="fewer",t+=" than ",b?t+="' + "+o+" + '":t+=""+l,t+=" items' "),e.opts.verbose&&(t+=" , schema: ",b?t+="validate.schema"+w:t+=""+l,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var I=t;return t=h.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+I+"]); ":t+=" validate.errors = ["+I+"]; return false; ":t+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",y&&(t+=" else { "),t}});var pr=_((Go,oa)=>{"use strict";oa.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,g,f="data"+(d||""),b=e.opts.$data&&l&&l.$data,o;if(b?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",o="schema"+a):o=l,!(b||typeof l=="number"))throw new Error(r+" must be number");var u=r=="maxLength"?">":"<";t+="if ( ",b&&(t+=" ("+o+" !== undefined && typeof "+o+" != 'number') || "),e.opts.unicode===!1?t+=" "+f+".length ":t+=" ucs2length("+f+") ",t+=" "+u+" "+o+") { ";var g=r,h=h||[];h.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(g||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { limit: "+o+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be ",r=="maxLength"?t+="longer":t+="shorter",t+=" than ",b?t+="' + "+o+" + '":t+=""+l,t+=" characters' "),e.opts.verbose&&(t+=" , schema: ",b?t+="validate.schema"+w:t+=""+l,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var I=t;return t=h.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+I+"]); ":t+=" validate.errors = ["+I+"]; return false; ":t+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",y&&(t+=" else { "),t}});var cr=_((Ho,la)=>{"use strict";la.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,g,f="data"+(d||""),b=e.opts.$data&&l&&l.$data,o;if(b?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",o="schema"+a):o=l,!(b||typeof l=="number"))throw new Error(r+" must be number");var u=r=="maxProperties"?">":"<";t+="if ( ",b&&(t+=" ("+o+" !== undefined && typeof "+o+" != 'number') || "),t+=" Object.keys("+f+").length "+u+" "+o+") { ";var g=r,h=h||[];h.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(g||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { limit: "+o+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have ",r=="maxProperties"?t+="more":t+="fewer",t+=" than ",b?t+="' + "+o+" + '":t+=""+l,t+=" properties' "),e.opts.verbose&&(t+=" , schema: ",b?t+="validate.schema"+w:t+=""+l,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var I=t;return t=h.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+I+"]); ":t+=" validate.errors = ["+I+"]; return false; ":t+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",y&&(t+=" else { "),t}});var pa=_((Qo,da)=>{"use strict";da.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b=e.opts.$data&&l&&l.$data,o;if(b?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",o="schema"+a):o=l,!(b||typeof l=="number"))throw new Error(r+" must be number");t+="var division"+a+";if (",b&&(t+=" "+o+" !== undefined && ( typeof "+o+" != 'number' || "),t+=" (division"+a+" = "+f+" / "+o+", ",e.opts.multipleOfPrecision?t+=" Math.abs(Math.round(division"+a+") - division"+a+") > 1e-"+e.opts.multipleOfPrecision+" ":t+=" division"+a+" !== parseInt(division"+a+") ",t+=" ) ",b&&(t+=" ) "),t+=" ) { ";var u=u||[];u.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { multipleOf: "+o+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be multiple of ",b?t+="' + "+o:t+=""+o+"'"),e.opts.verbose&&(t+=" , schema: ",b?t+="validate.schema"+w:t+=""+l,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var g=t;return t=u.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+g+"]); ":t+=" validate.errors = ["+g+"]; return false; ":t+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",y&&(t+=" else { "),t}});var ha=_((Ko,ca)=>{"use strict";ca.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="errs__"+a,o=e.util.copy(e);o.level++;var u="valid"+o.level;if(e.opts.strictKeywords?typeof l=="object"&&Object.keys(l).length>0||l===!1:e.util.schemaHasRules(l,e.RULES.all)){o.schema=l,o.schemaPath=w,o.errSchemaPath=m,t+=" var "+b+" = errors; ";var g=e.compositeRule;e.compositeRule=o.compositeRule=!0,o.createErrors=!1;var h;o.opts.allErrors&&(h=o.opts.allErrors,o.opts.allErrors=!1),t+=" "+e.validate(o)+" ",o.createErrors=!0,h&&(o.opts.allErrors=h),e.compositeRule=o.compositeRule=g,t+=" if ("+u+") { ";var I=I||[];I.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be valid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var T=t;t=I.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+T+"]); ":t+=" validate.errors = ["+T+"]; return false; ":t+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { errors = "+b+"; if (vErrors !== null) { if ("+b+") vErrors.length = "+b+"; else vErrors = null; } ",e.opts.allErrors&&(t+=" } ")}else t+=" var err = ",e.createErrors!==!1?(t+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be valid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",y&&(t+=" if (false) { ");return t}});var ua=_((Jo,fa)=>{"use strict";fa.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="valid"+a,o="errs__"+a,u=e.util.copy(e),g="";u.level++;var h="valid"+u.level,I=u.baseId,T="prevValid"+a,C="passingSchemas"+a;t+="var "+o+" = errors , "+T+" = false , "+b+" = false , "+C+" = null; ";var $=e.compositeRule;e.compositeRule=u.compositeRule=!0;var D=l;if(D)for(var F,q=-1,W=D.length-1;q<W;)F=D[q+=1],(e.opts.strictKeywords?typeof F=="object"&&Object.keys(F).length>0||F===!1:e.util.schemaHasRules(F,e.RULES.all))?(u.schema=F,u.schemaPath=w+"["+q+"]",u.errSchemaPath=m+"/"+q,t+=" "+e.validate(u)+" ",u.baseId=I):t+=" var "+h+" = true; ",q&&(t+=" if ("+h+" && "+T+") { "+b+" = false; "+C+" = ["+C+", "+q+"]; } else { ",g+="}"),t+=" if ("+h+") { "+b+" = "+T+" = true; "+C+" = "+q+"; }";return e.compositeRule=u.compositeRule=$,t+=""+g+"if (!"+b+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { passingSchemas: "+C+" } ",e.opts.messages!==!1&&(t+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&y&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+="} else { errors = "+o+"; if (vErrors !== null) { if ("+o+") vErrors.length = "+o+"; else vErrors = null; }",e.opts.allErrors&&(t+=" } "),t}});var ma=_((Zo,ya)=>{"use strict";ya.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b=e.opts.$data&&l&&l.$data,o;b?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",o="schema"+a):o=l;var u=b?"(new RegExp("+o+"))":e.usePattern(l);t+="if ( ",b&&(t+=" ("+o+" !== undefined && typeof "+o+" != 'string') || "),t+=" !"+u+".test("+f+") ) { ";var g=g||[];g.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { pattern: ",b?t+=""+o:t+=""+e.util.toQuotedString(l),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match pattern "`,b?t+="' + "+o+" + '":t+=""+e.util.escapeQuotes(l),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",b?t+="validate.schema"+w:t+=""+e.util.toQuotedString(l),t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var h=t;return t=g.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+h+"]); ":t+=" validate.errors = ["+h+"]; return false; ":t+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",y&&(t+=" else { "),t}});var ga=_((Yo,ba)=>{"use strict";ba.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="errs__"+a,o=e.util.copy(e),u="";o.level++;var g="valid"+o.level,h="key"+a,I="idx"+a,T=o.dataLevel=e.dataLevel+1,C="data"+T,$="dataProperties"+a,D=Object.keys(l||{}).filter(z),F=e.schema.patternProperties||{},q=Object.keys(F).filter(z),W=e.schema.additionalProperties,P=D.length||q.length,j=W===!1,L=typeof W=="object"&&Object.keys(W).length,O=e.opts.removeAdditional,x=j||L||O,E=e.opts.ownProperties,R=e.baseId,J=e.schema.required;if(J&&!(e.opts.$data&&J.$data)&&J.length<e.opts.loopRequired)var M=e.util.toHash(J);function z(Pe){return Pe!=="__proto__"}if(t+="var "+b+" = errors;var "+g+" = true;",E&&(t+=" var "+$+" = undefined;"),x){if(E?t+=" "+$+" = "+$+" || Object.keys("+f+"); for (var "+I+"=0; "+I+"<"+$+".length; "+I+"++) { var "+h+" = "+$+"["+I+"]; ":t+=" for (var "+h+" in "+f+") { ",P){if(t+=" var isAdditional"+a+" = !(false ",D.length)if(D.length>8)t+=" || validate.schema"+w+".hasOwnProperty("+h+") ";else{var B=D;if(B)for(var N,re=-1,he=B.length-1;re<he;)N=B[re+=1],t+=" || "+h+" == "+e.util.toQuotedString(N)+" "}if(q.length){var ue=q;if(ue)for(var G,ne=-1,pe=ue.length-1;ne<pe;)G=ue[ne+=1],t+=" || "+e.usePattern(G)+".test("+h+") "}t+=" ); if (isAdditional"+a+") { "}if(O=="all")t+=" delete "+f+"["+h+"]; ";else{var ye=e.errorPath,je="' + "+h+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,h,e.opts.jsonPointers)),j)if(O)t+=" delete "+f+"["+h+"]; ";else{t+=" "+g+" = false; ";var Fe=m;m=e.errSchemaPath+"/additionalProperties";var se=se||[];se.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { additionalProperty: '"+je+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is an invalid additional property":t+="should NOT have additional properties",t+="' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var ie=t;t=se.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+ie+"]); ":t+=" validate.errors = ["+ie+"]; return false; ":t+=" var err = "+ie+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",m=Fe,y&&(t+=" break; ")}else if(L)if(O=="failing"){t+=" var "+b+" = errors; ";var Be=e.compositeRule;e.compositeRule=o.compositeRule=!0,o.schema=W,o.schemaPath=e.schemaPath+".additionalProperties",o.errSchemaPath=e.errSchemaPath+"/additionalProperties",o.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,h,e.opts.jsonPointers);var fe=f+"["+h+"]";o.dataPathArr[T]=h;var Q=e.validate(o);o.baseId=R,e.util.varOccurences(Q,C)<2?t+=" "+e.util.varReplace(Q,C,fe)+" ":t+=" var "+C+" = "+fe+"; "+Q+" ",t+=" if (!"+g+") { errors = "+b+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+f+"["+h+"]; } ",e.compositeRule=o.compositeRule=Be}else{o.schema=W,o.schemaPath=e.schemaPath+".additionalProperties",o.errSchemaPath=e.errSchemaPath+"/additionalProperties",o.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,h,e.opts.jsonPointers);var fe=f+"["+h+"]";o.dataPathArr[T]=h;var Q=e.validate(o);o.baseId=R,e.util.varOccurences(Q,C)<2?t+=" "+e.util.varReplace(Q,C,fe)+" ":t+=" var "+C+" = "+fe+"; "+Q+" ",y&&(t+=" if (!"+g+") break; ")}e.errorPath=ye}P&&(t+=" } "),t+=" } ",y&&(t+=" if ("+g+") { ",u+="}")}var qe=e.opts.useDefaults&&!e.compositeRule;if(D.length){var Ae=D;if(Ae)for(var N,Me=-1,ze=Ae.length-1;Me<ze;){N=Ae[Me+=1];var ce=l[N];if(e.opts.strictKeywords?typeof ce=="object"&&Object.keys(ce).length>0||ce===!1:e.util.schemaHasRules(ce,e.RULES.all)){var Ie=e.util.getProperty(N),fe=f+Ie,ge=qe&&ce.default!==void 0;o.schema=ce,o.schemaPath=w+Ie,o.errSchemaPath=m+"/"+e.util.escapeFragment(N),o.errorPath=e.util.getPath(e.errorPath,N,e.opts.jsonPointers),o.dataPathArr[T]=e.util.toQuotedString(N);var Q=e.validate(o);if(o.baseId=R,e.util.varOccurences(Q,C)<2){Q=e.util.varReplace(Q,C,fe);var me=fe}else{var me=C;t+=" var "+C+" = "+fe+"; "}if(ge)t+=" "+Q+" ";else{if(M&&M[N]){t+=" if ( "+me+" === undefined ",E&&(t+=" || ! Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(N)+"') "),t+=") { "+g+" = false; ";var ye=e.errorPath,Fe=m,Ee=e.util.escapeQuotes(N);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(ye,N,e.opts.jsonPointers)),m=e.errSchemaPath+"/required";var se=se||[];se.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { missingProperty: '"+Ee+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+Ee+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var ie=t;t=se.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+ie+"]); ":t+=" validate.errors = ["+ie+"]; return false; ":t+=" var err = "+ie+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",m=Fe,e.errorPath=ye,t+=" } else { "}else y?(t+=" if ( "+me+" === undefined ",E&&(t+=" || ! Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(N)+"') "),t+=") { "+g+" = true; } else { "):(t+=" if ("+me+" !== undefined ",E&&(t+=" && Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(N)+"') "),t+=" ) { ");t+=" "+Q+" } "}}y&&(t+=" if ("+g+") { ",u+="}")}}if(q.length){var ve=q;if(ve)for(var G,ht=-1,qt=ve.length-1;ht<qt;){G=ve[ht+=1];var ce=F[G];if(e.opts.strictKeywords?typeof ce=="object"&&Object.keys(ce).length>0||ce===!1:e.util.schemaHasRules(ce,e.RULES.all)){o.schema=ce,o.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(G),o.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(G),E?t+=" "+$+" = "+$+" || Object.keys("+f+"); for (var "+I+"=0; "+I+"<"+$+".length; "+I+"++) { var "+h+" = "+$+"["+I+"]; ":t+=" for (var "+h+" in "+f+") { ",t+=" if ("+e.usePattern(G)+".test("+h+")) { ",o.errorPath=e.util.getPathExpr(e.errorPath,h,e.opts.jsonPointers);var fe=f+"["+h+"]";o.dataPathArr[T]=h;var Q=e.validate(o);o.baseId=R,e.util.varOccurences(Q,C)<2?t+=" "+e.util.varReplace(Q,C,fe)+" ":t+=" var "+C+" = "+fe+"; "+Q+" ",y&&(t+=" if (!"+g+") break; "),t+=" } ",y&&(t+=" else "+g+" = true; "),t+=" } ",y&&(t+=" if ("+g+") { ",u+="}")}}}return y&&(t+=" "+u+" if ("+b+" == errors) {"),t}});var Sa=_((Xo,va)=>{"use strict";va.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="errs__"+a,o=e.util.copy(e),u="";o.level++;var g="valid"+o.level;if(t+="var "+b+" = errors;",e.opts.strictKeywords?typeof l=="object"&&Object.keys(l).length>0||l===!1:e.util.schemaHasRules(l,e.RULES.all)){o.schema=l,o.schemaPath=w,o.errSchemaPath=m;var h="key"+a,I="idx"+a,T="i"+a,C="' + "+h+" + '",$=o.dataLevel=e.dataLevel+1,D="data"+$,F="dataProperties"+a,q=e.opts.ownProperties,W=e.baseId;q&&(t+=" var "+F+" = undefined; "),q?t+=" "+F+" = "+F+" || Object.keys("+f+"); for (var "+I+"=0; "+I+"<"+F+".length; "+I+"++) { var "+h+" = "+F+"["+I+"]; ":t+=" for (var "+h+" in "+f+") { ",t+=" var startErrs"+a+" = errors; ";var P=h,j=e.compositeRule;e.compositeRule=o.compositeRule=!0;var L=e.validate(o);o.baseId=W,e.util.varOccurences(L,D)<2?t+=" "+e.util.varReplace(L,D,P)+" ":t+=" var "+D+" = "+P+"; "+L+" ",e.compositeRule=o.compositeRule=j,t+=" if (!"+g+") { for (var "+T+"=startErrs"+a+"; "+T+"<errors; "+T+"++) { vErrors["+T+"].propertyName = "+h+"; } var err = ",e.createErrors!==!1?(t+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { propertyName: '"+C+"' } ",e.opts.messages!==!1&&(t+=" , message: 'property name \\'"+C+"\\' is invalid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&y&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),y&&(t+=" break; "),t+=" } }"}return y&&(t+=" "+u+" if ("+b+" == errors) {"),t}});var Ia=_((el,wa)=>{"use strict";wa.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="valid"+a,o=e.opts.$data&&l&&l.$data,u;o?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",u="schema"+a):u=l;var g="schema"+a;if(!o)if(l.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var h=[],I=l;if(I)for(var T,C=-1,$=I.length-1;C<$;){T=I[C+=1];var D=e.schema.properties[T];D&&(e.opts.strictKeywords?typeof D=="object"&&Object.keys(D).length>0||D===!1:e.util.schemaHasRules(D,e.RULES.all))||(h[h.length]=T)}}else var h=l;if(o||h.length){var F=e.errorPath,q=o||h.length>=e.opts.loopRequired,W=e.opts.ownProperties;if(y)if(t+=" var missing"+a+"; ",q){o||(t+=" var "+g+" = validate.schema"+w+"; ");var P="i"+a,j="schema"+a+"["+P+"]",L="' + "+j+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(F,j,e.opts.jsonPointers)),t+=" var "+b+" = true; ",o&&(t+=" if (schema"+a+" === undefined) "+b+" = true; else if (!Array.isArray(schema"+a+")) "+b+" = false; else {"),t+=" for (var "+P+" = 0; "+P+" < "+g+".length; "+P+"++) { "+b+" = "+f+"["+g+"["+P+"]] !== undefined ",W&&(t+=" && Object.prototype.hasOwnProperty.call("+f+", "+g+"["+P+"]) "),t+="; if (!"+b+") break; } ",o&&(t+=" } "),t+=" if (!"+b+") { ";var O=O||[];O.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { missingProperty: '"+L+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+L+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var x=t;t=O.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+x+"]); ":t+=" validate.errors = ["+x+"]; return false; ":t+=" var err = "+x+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { "}else{t+=" if ( ";var E=h;if(E)for(var R,P=-1,J=E.length-1;P<J;){R=E[P+=1],P&&(t+=" || ");var M=e.util.getProperty(R),z=f+M;t+=" ( ( "+z+" === undefined ",W&&(t+=" || ! Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(R)+"') "),t+=") && (missing"+a+" = "+e.util.toQuotedString(e.opts.jsonPointers?R:M)+") ) "}t+=") { ";var j="missing"+a,L="' + "+j+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(F,j,!0):F+" + "+j);var O=O||[];O.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { missingProperty: '"+L+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+L+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var x=t;t=O.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+x+"]); ":t+=" validate.errors = ["+x+"]; return false; ":t+=" var err = "+x+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { "}else if(q){o||(t+=" var "+g+" = validate.schema"+w+"; ");var P="i"+a,j="schema"+a+"["+P+"]",L="' + "+j+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(F,j,e.opts.jsonPointers)),o&&(t+=" if ("+g+" && !Array.isArray("+g+")) { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { missingProperty: '"+L+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+L+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+g+" !== undefined) { "),t+=" for (var "+P+" = 0; "+P+" < "+g+".length; "+P+"++) { if ("+f+"["+g+"["+P+"]] === undefined ",W&&(t+=" || ! Object.prototype.hasOwnProperty.call("+f+", "+g+"["+P+"]) "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { missingProperty: '"+L+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+L+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",o&&(t+=" } ")}else{var B=h;if(B)for(var R,N=-1,re=B.length-1;N<re;){R=B[N+=1];var M=e.util.getProperty(R),L=e.util.escapeQuotes(R),z=f+M;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(F,R,e.opts.jsonPointers)),t+=" if ( "+z+" === undefined ",W&&(t+=" || ! Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(R)+"') "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { missingProperty: '"+L+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+L+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=F}else y&&(t+=" if (true) {");return t}});var xa=_((tl,Ca)=>{"use strict";Ca.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="valid"+a,o=e.opts.$data&&l&&l.$data,u;if(o?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",u="schema"+a):u=l,(l||o)&&e.opts.uniqueItems!==!1){o&&(t+=" var "+b+"; if ("+u+" === false || "+u+" === undefined) "+b+" = true; else if (typeof "+u+" != 'boolean') "+b+" = false; else { "),t+=" var i = "+f+".length , "+b+" = true , j; if (i > 1) { ";var g=e.schema.items&&e.schema.items.type,h=Array.isArray(g);if(!g||g=="object"||g=="array"||h&&(g.indexOf("object")>=0||g.indexOf("array")>=0))t+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+f+"[i], "+f+"[j])) { "+b+" = false; break outer; } } } ";else{t+=" var itemIndices = {}, item; for (;i--;) { var item = "+f+"[i]; ";var I="checkDataType"+(h?"s":"");t+=" if ("+e.util[I](g,"item",e.opts.strictNumbers,!0)+") continue; ",h&&(t+=` if (typeof item == 'string') item = '"' + item; `),t+=" if (typeof itemIndices[item] == 'number') { "+b+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}t+=" } ",o&&(t+=" } "),t+=" if (!"+b+") { ";var T=T||[];T.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { i: i, j: j } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(t+=" , schema: ",o?t+="validate.schema"+w:t+=""+l,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var C=t;t=T.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+C+"]); ":t+=" validate.errors = ["+C+"]; return false; ":t+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",y&&(t+=" else { ")}else y&&(t+=" if (true) { ");return t}});var Pa=_((rl,Ta)=>{"use strict";Ta.exports={$ref:Ni(),allOf:ki(),anyOf:Mi(),$comment:Vi(),const:Gi(),contains:Qi(),dependencies:Ji(),enum:Yi(),format:ea(),if:ra(),items:aa(),maximum:lr(),minimum:lr(),maxItems:dr(),minItems:dr(),maxLength:pr(),minLength:pr(),maxProperties:cr(),minProperties:cr(),multipleOf:pa(),not:ha(),oneOf:ua(),pattern:ma(),properties:ga(),propertyNames:Sa(),required:Ia(),uniqueItems:xa(),validate:sr()}});var Da=_((il,$a)=>{"use strict";var Ea=Pa(),hr=He().toHash;$a.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"]}],r=["type","$comment"],n=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"],t=["number","integer","string","array","object","boolean","null"];return e.all=hr(r),e.types=hr(t),e.forEach(function(a){a.rules=a.rules.map(function(d){var l;if(typeof d=="object"){var w=Object.keys(d)[0];l=d[w],d=w,l.forEach(function(y){r.push(y),e.all[y]=!0})}r.push(d);var m=e.all[d]={keyword:d,code:Ea[d],implements:l};return m}),e.all.$comment={keyword:"$comment",code:Ea.$comment},a.type&&(e.types[a.type]=a)}),e.keywords=hr(r.concat(n)),e.custom={},e}});var Oa=_((al,Aa)=>{"use strict";var Fa=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];Aa.exports=function(i,e){for(var r=0;r<e.length;r++){i=JSON.parse(JSON.stringify(i));var n=e[r].split("/"),t=i,a;for(a=1;a<n.length;a++)t=t[n[a]];for(a=0;a<Fa.length;a++){var d=Fa[a],l=t[d];l&&(t[d]={anyOf:[l,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return i}});var Wa=_((nl,La)=>{"use strict";var bs=Et().MissingRef;La.exports=Ra;function Ra(i,e,r){var n=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");typeof e=="function"&&(r=e,e=void 0);var t=a(i).then(function(){var l=n._addSchema(i,void 0,e);return l.validate||d(l)});return r&&t.then(function(l){r(null,l)},r),t;function a(l){var w=l.$schema;return w&&!n.getSchema(w)?Ra.call(n,{$ref:w},!0):Promise.resolve()}function d(l){try{return n._compile(l)}catch(m){if(m instanceof bs)return w(m);throw m}function w(m){var y=m.missingSchema;if(o(y))throw new Error("Schema "+y+" is loaded but "+m.missingRef+" cannot be resolved");var f=n._loadingSchemas[y];return f||(f=n._loadingSchemas[y]=n._opts.loadSchema(y),f.then(b,b)),f.then(function(u){if(!o(y))return a(u).then(function(){o(y)||n.addSchema(u,y,void 0,e)})}).then(function(){return d(l)});function b(){delete n._loadingSchemas[y]}function o(u){return n._refs[u]||n._schemas[u]}}}}});var qa=_((sl,ja)=>{"use strict";ja.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f,b="data"+(d||""),o="valid"+a,u="errs__"+a,g=e.opts.$data&&l&&l.$data,h;g?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",h="schema"+a):h=l;var I=this,T="definition"+a,C=I.definition,$="",D,F,q,W,P;if(g&&C.$data){P="keywordValidate"+a;var j=C.validateSchema;t+=" var "+T+" = RULES.custom['"+r+"'].definition; var "+P+" = "+T+".validate;"}else{if(W=e.useCustomRule(I,l,e.schema,e),!W)return;h="validate.schema"+w,P=W.code,D=C.compile,F=C.inline,q=C.macro}var L=P+".errors",O="i"+a,x="ruleErr"+a,E=C.async;if(E&&!e.async)throw new Error("async keyword in sync schema");if(F||q||(t+=""+L+" = null;"),t+="var "+u+" = errors;var "+o+";",g&&C.$data&&($+="}",t+=" if ("+h+" === undefined) { "+o+" = true; } else { ",j&&($+="}",t+=" "+o+" = "+T+".validateSchema("+h+"); if ("+o+") { ")),F)C.statements?t+=" "+W.validate+" ":t+=" "+o+" = "+W.validate+"; ";else if(q){var R=e.util.copy(e),$="";R.level++;var J="valid"+R.level;R.schema=W.validate,R.schemaPath="";var M=e.compositeRule;e.compositeRule=R.compositeRule=!0;var z=e.validate(R).replace(/validate\.schema/g,P);e.compositeRule=R.compositeRule=M,t+=" "+z}else{var B=B||[];B.push(t),t="",t+=" "+P+".call( ",e.opts.passContext?t+="this":t+="self",D||C.schema===!1?t+=" , "+b+" ":t+=" , "+h+" , "+b+" , validate.schema"+e.schemaPath+" ",t+=" , (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var N=d?"data"+(d-1||""):"parentData",re=d?e.dataPathArr[d]:"parentDataProperty";t+=" , "+N+" , "+re+" , rootData ) ";var he=t;t=B.pop(),C.errors===!1?(t+=" "+o+" = ",E&&(t+="await "),t+=""+he+"; "):E?(L="customErrors"+a,t+=" var "+L+" = null; try { "+o+" = await "+he+"; } catch (e) { "+o+" = false; if (e instanceof ValidationError) "+L+" = e.errors; else throw e; } "):t+=" "+L+" = null; "+o+" = "+he+"; "}if(C.modifying&&(t+=" if ("+N+") "+b+" = "+N+"["+re+"];"),t+=""+$,C.valid)y&&(t+=" if (true) { ");else{t+=" if ( ",C.valid===void 0?(t+=" !",q?t+=""+J:t+=""+o):t+=" "+!C.valid+" ",t+=") { ",f=I.keyword;var B=B||[];B.push(t),t="";var B=B||[];B.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(f||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { keyword: '"+I.keyword+"' } ",e.opts.messages!==!1&&(t+=` , message: 'should pass "`+I.keyword+`" keyword validation' `),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "),t+=" } "):t+=" {} ";var ue=t;t=B.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+ue+"]); ":t+=" validate.errors = ["+ue+"]; return false; ":t+=" var err = "+ue+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var G=t;t=B.pop(),F?C.errors?C.errors!="full"&&(t+=" for (var "+O+"="+u+"; "+O+"<errors; "+O+"++) { var "+x+" = vErrors["+O+"]; if ("+x+".dataPath === undefined) "+x+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+x+".schemaPath === undefined) { "+x+'.schemaPath = "'+m+'"; } ',e.opts.verbose&&(t+=" "+x+".schema = "+h+"; "+x+".data = "+b+"; "),t+=" } "):C.errors===!1?t+=" "+G+" ":(t+=" if ("+u+" == errors) { "+G+" } else { for (var "+O+"="+u+"; "+O+"<errors; "+O+"++) { var "+x+" = vErrors["+O+"]; if ("+x+".dataPath === undefined) "+x+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+x+".schemaPath === undefined) { "+x+'.schemaPath = "'+m+'"; } ',e.opts.verbose&&(t+=" "+x+".schema = "+h+"; "+x+".data = "+b+"; "),t+=" } } "):q?(t+=" var err = ",e.createErrors!==!1?(t+=" { keyword: '"+(f||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { keyword: '"+I.keyword+"' } ",e.opts.messages!==!1&&(t+=` , message: 'should pass "`+I.keyword+`" keyword validation' `),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&y&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; ")):C.errors===!1?t+=" "+G+" ":(t+=" if (Array.isArray("+L+")) { if (vErrors === null) vErrors = "+L+"; else vErrors = vErrors.concat("+L+"); errors = vErrors.length; for (var "+O+"="+u+"; "+O+"<errors; "+O+"++) { var "+x+" = vErrors["+O+"]; if ("+x+".dataPath === undefined) "+x+".dataPath = (dataPath || '') + "+e.errorPath+"; "+x+'.schemaPath = "'+m+'"; ',e.opts.verbose&&(t+=" "+x+".schema = "+h+"; "+x+".data = "+b+"; "),t+=" } } else { "+G+" } "),t+=" } ",y&&(t+=" else { ")}return t}});var fr=_((ol,gs)=>{gs.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 ka=_((ll,_a)=>{"use strict";var Na=fr();_a.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:Na.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:Na.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 Ma=_((dl,Ba)=>{"use strict";var vs=/^[a-z_$][a-z0-9_$-]*$/i,Ss=qa(),ws=ka();Ba.exports={add:Is,get:Cs,remove:xs,validate:ur};function Is(i,e){var r=this.RULES;if(r.keywords[i])throw new Error("Keyword "+i+" is already defined");if(!vs.test(i))throw new Error("Keyword "+i+" is not a valid identifier");if(e){this.validateKeyword(e,!0);var n=e.type;if(Array.isArray(n))for(var t=0;t<n.length;t++)d(i,n[t],e);else d(i,n,e);var a=e.metaSchema;a&&(e.$data&&this._opts.$data&&(a={anyOf:[a,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),e.validateSchema=this.compile(a,!0))}r.keywords[i]=r.all[i]=!0;function d(l,w,m){for(var y,f=0;f<r.length;f++){var b=r[f];if(b.type==w){y=b;break}}y||(y={type:w,rules:[]},r.push(y));var o={keyword:l,definition:m,custom:!0,code:Ss,implements:m.implements};y.rules.push(o),r.custom[l]=o}return this}function Cs(i){var e=this.RULES.custom[i];return e?e.definition:this.RULES.keywords[i]||!1}function xs(i){var e=this.RULES;delete e.keywords[i],delete e.all[i],delete e.custom[i];for(var r=0;r<e.length;r++)for(var n=e[r].rules,t=0;t<n.length;t++)if(n[t].keyword==i){n.splice(t,1);break}return this}function ur(i,e){ur.errors=null;var r=this._validateKeyword=this._validateKeyword||this.compile(ws,!0);if(r(i))return!0;if(ur.errors=r.errors,e)throw new Error("custom keyword definition is invalid: "+this.errorsText(r.errors));return!1}});var za=_((pl,Ts)=>{Ts.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 Xa=_((cl,Ya)=>{"use strict";var Ua=Ii(),Qe=Pt(),Ps=xi(),Ga=Xt(),Es=nr(),$s=ji(),Ds=Da(),Ha=Oa(),Qa=He();Ya.exports=ae;ae.prototype.validate=As;ae.prototype.compile=Os;ae.prototype.addSchema=Rs;ae.prototype.addMetaSchema=Ls;ae.prototype.validateSchema=Ws;ae.prototype.getSchema=qs;ae.prototype.removeSchema=_s;ae.prototype.addFormat=Hs;ae.prototype.errorsText=Gs;ae.prototype._addSchema=ks;ae.prototype._compile=Bs;ae.prototype.compileAsync=Wa();var Wt=Ma();ae.prototype.addKeyword=Wt.add;ae.prototype.getKeyword=Wt.get;ae.prototype.removeKeyword=Wt.remove;ae.prototype.validateKeyword=Wt.validate;var Ka=Et();ae.ValidationError=Ka.Validation;ae.MissingRefError=Ka.MissingRef;ae.$dataMetaSchema=Ha;var Lt="http://json-schema.org/draft-07/schema",Va=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],Fs=["/properties"];function ae(i){if(!(this instanceof ae))return new ae(i);i=this._opts=Qa.copy(i)||{},Xs(this),this._schemas={},this._refs={},this._fragments={},this._formats=$s(i.format),this._cache=i.cache||new Ps,this._loadingSchemas={},this._compilations=[],this.RULES=Ds(),this._getId=Ms(i),i.loopRequired=i.loopRequired||1/0,i.errorDataPath=="property"&&(i._errorDataPathProperty=!0),i.serialize===void 0&&(i.serialize=Es),this._metaOpts=Ys(this),i.formats&&Js(this),i.keywords&&Zs(this),Qs(this),typeof i.meta=="object"&&this.addMetaSchema(i.meta),i.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),Ks(this)}function As(i,e){var r;if(typeof i=="string"){if(r=this.getSchema(i),!r)throw new Error('no schema with key or ref "'+i+'"')}else{var n=this._addSchema(i);r=n.validate||this._compile(n)}var t=r(e);return r.$async!==!0&&(this.errors=r.errors),t}function Os(i,e){var r=this._addSchema(i,void 0,e);return r.validate||this._compile(r)}function Rs(i,e,r,n){if(Array.isArray(i)){for(var t=0;t<i.length;t++)this.addSchema(i[t],void 0,r,n);return this}var a=this._getId(i);if(a!==void 0&&typeof a!="string")throw new Error("schema id must be string");return e=Qe.normalizeId(e||a),Za(this,e),this._schemas[e]=this._addSchema(i,r,n,!0),this}function Ls(i,e,r){return this.addSchema(i,e,r,!0),this}function Ws(i,e){var r=i.$schema;if(r!==void 0&&typeof r!="string")throw new Error("$schema must be a string");if(r=r||this._opts.defaultMeta||js(this),!r)return this.logger.warn("meta-schema not available"),this.errors=null,!0;var n=this.validate(r,i);if(!n&&e){var t="schema is invalid: "+this.errorsText();if(this._opts.validateSchema=="log")this.logger.error(t);else throw new Error(t)}return n}function js(i){var e=i._opts.meta;return i._opts.defaultMeta=typeof e=="object"?i._getId(e)||e:i.getSchema(Lt)?Lt:void 0,i._opts.defaultMeta}function qs(i){var e=Ja(this,i);switch(typeof e){case"object":return e.validate||this._compile(e);case"string":return this.getSchema(e);case"undefined":return Ns(this,i)}}function Ns(i,e){var r=Qe.schema.call(i,{schema:{}},e);if(r){var n=r.schema,t=r.root,a=r.baseId,d=Ua.call(i,n,t,void 0,a);return i._fragments[e]=new Ga({ref:e,fragment:!0,schema:n,root:t,baseId:a,validate:d}),d}}function Ja(i,e){return e=Qe.normalizeId(e),i._schemas[e]||i._refs[e]||i._fragments[e]}function _s(i){if(i instanceof RegExp)return Rt(this,this._schemas,i),Rt(this,this._refs,i),this;switch(typeof i){case"undefined":return Rt(this,this._schemas),Rt(this,this._refs),this._cache.clear(),this;case"string":var e=Ja(this,i);return e&&this._cache.del(e.cacheKey),delete this._schemas[i],delete this._refs[i],this;case"object":var r=this._opts.serialize,n=r?r(i):i;this._cache.del(n);var t=this._getId(i);t&&(t=Qe.normalizeId(t),delete this._schemas[t],delete this._refs[t])}return this}function Rt(i,e,r){for(var n in e){var t=e[n];!t.meta&&(!r||r.test(n))&&(i._cache.del(t.cacheKey),delete e[n])}}function ks(i,e,r,n){if(typeof i!="object"&&typeof i!="boolean")throw new Error("schema should be object or boolean");var t=this._opts.serialize,a=t?t(i):i,d=this._cache.get(a);if(d)return d;n=n||this._opts.addUsedSchema!==!1;var l=Qe.normalizeId(this._getId(i));l&&n&&Za(this,l);var w=this._opts.validateSchema!==!1&&!e,m;w&&!(m=l&&l==Qe.normalizeId(i.$schema))&&this.validateSchema(i,!0);var y=Qe.ids.call(this,i),f=new Ga({id:l,schema:i,localRefs:y,cacheKey:a,meta:r});return l[0]!="#"&&n&&(this._refs[l]=f),this._cache.put(a,f),w&&m&&this.validateSchema(i,!0),f}function Bs(i,e){if(i.compiling)return i.validate=t,t.schema=i.schema,t.errors=null,t.root=e||t,i.schema.$async===!0&&(t.$async=!0),t;i.compiling=!0;var r;i.meta&&(r=this._opts,this._opts=this._metaOpts);var n;try{n=Ua.call(this,i.schema,e,i.localRefs)}catch(a){throw delete i.validate,a}finally{i.compiling=!1,i.meta&&(this._opts=r)}return i.validate=n,i.refs=n.refs,i.refVal=n.refVal,i.root=n.root,n;function t(){var a=i.validate,d=a.apply(this,arguments);return t.errors=a.errors,d}}function Ms(i){switch(i.schemaId){case"auto":return Us;case"id":return zs;default:return Vs}}function zs(i){return i.$id&&this.logger.warn("schema $id ignored",i.$id),i.id}function Vs(i){return i.id&&this.logger.warn("schema id ignored",i.id),i.$id}function Us(i){if(i.$id&&i.id&&i.$id!=i.id)throw new Error("schema $id is different from id");return i.$id||i.id}function Gs(i,e){if(i=i||this.errors,!i)return"No errors";e=e||{};for(var r=e.separator===void 0?", ":e.separator,n=e.dataVar===void 0?"data":e.dataVar,t="",a=0;a<i.length;a++){var d=i[a];d&&(t+=n+d.dataPath+" "+d.message+r)}return t.slice(0,-r.length)}function Hs(i,e){return typeof e=="string"&&(e=new RegExp(e)),this._formats[i]=e,this}function Qs(i){var e;if(i._opts.$data&&(e=za(),i.addMetaSchema(e,e.$id,!0)),i._opts.meta!==!1){var r=fr();i._opts.$data&&(r=Ha(r,Fs)),i.addMetaSchema(r,Lt,!0),i._refs["http://json-schema.org/schema"]=Lt}}function Ks(i){var e=i._opts.schemas;if(e)if(Array.isArray(e))i.addSchema(e);else for(var r in e)i.addSchema(e[r],r)}function Js(i){for(var e in i._opts.formats){var r=i._opts.formats[e];i.addFormat(e,r)}}function Zs(i){for(var e in i._opts.keywords){var r=i._opts.keywords[e];i.addKeyword(e,r)}}function Za(i,e){if(i._schemas[e]||i._refs[e])throw new Error('schema with key or id "'+e+'" already exists')}function Ys(i){for(var e=Qa.copy(i._opts),r=0;r<Va.length;r++)delete e[Va[r]];return e}function Xs(i){var e=i._opts.logger;if(e===!1)i.logger={log:yr,warn:yr,error:yr};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");i.logger=e}}function yr(){}});var en=wn(Xa(),1);var rt={$schema:"http://json-schema.org/draft-07/schema#",definitions:{WebChartTypes:{type:"string",enum:["chart","chartText","chartOverlay","chartOverlays","chartLegend","cursorCrosshair","chartAxis","gaugeAxisTick","gaugeNeedle","fixed","category","number","date","chartGuide","scatterSeries","pieSeries","pieTick","gaugeSeries","lineSeries","barSeries","histogramSeries","boxPlotSeries","radarSeries","comboLineAndBarSeries","heatSeries","buffer","sizeScale","calendarDateParts","histogramBin"],title:"WebChartTypes"},WebChartStatisticType:{type:"string",enum:["count","sum","min","max","avg","stddev","var","percentile-continuous","percentile-discrete","envelope-aggregate","centroid-aggregate","convex-hull-aggregate","no_aggregation"],title:"WebChartStatisticType"},WebChartDataTransformations:{type:"string",enum:["none","logarithmic","squareRoot"],title:"WebChartDataTransformations"},WebChartColoringPatterns:{type:"string",enum:["singleColor","colorMatch"],title:"WebChartColoringPatterns"},WebChartLegendPositions:{type:"string",enum:["left","right","top","bottom"],title:"WebChartLegendPositions"},WebChartStackedKinds:{type:"string",enum:["sideBySide","stacked","stacked100"],title:"WebChartStackedKinds"},WebChartBoxPlotMultipleSeriesKinds:{type:"string",enum:["sideBySide","meanLines"],title:"WebChartBoxPlotMultipleSeriesKinds"},WebChartSortOrderKinds:{type:"string",enum:["ASC","DESC"],title:"WebChartSortOrderKinds"},WebChartLineSmoothedKinds:{type:"string",enum:["bezier","monotoneX","monotoneY"],description:"Represents the different types of smoothing that can be applied to a line chart when the `lineSmoothed` property is set to `true`.",title:"WebChartLineSmoothedKinds"},WebChartTemporalBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","quarters","years"],description:"The temporal binning units",title:"WebChartTemporalBinningUnits"},WebChartCalendarDatePartsUnits:{type:"string",enum:["dayOfMonth","dayOfWeek","dayOfYear","hourOfDay","monthOfYear","minuteOfDay","weekOfYear","quarterOfYear"],description:"Represents the units that can be used for calendar-based date parts binning.",title:"WebChartCalendarDatePartsUnits"},WebChartCalendarBinningOffsetUnits:{type:"string",enum:["seconds","minutes","hours","days"],description:"The temporal binning units for the calendar based binning offset",title:"WebChartCalendarBinningOffsetUnits"},WebChartHeatChartHeatRulesTypes:{type:"string",enum:["gradient","renderer"],description:"Represents the different types of heat rule that can be applied to a heat chart.",title:"WebChartHeatChartHeatRulesTypes"},WebChartNullPolicyTypes:{type:"string",enum:["null","zero","interpolate"],description:"Represents the different types of null policy that can be applied to a chart using the time binning feature.",title:"WebChartNullPolicyTypes"},WebChartTimeAggregationTypes:{type:"string",enum:["equalIntervalsFromStartTime","equalIntervalsFromEndTime"],description:"Represents the different types of time aggregation that can be applied to a chart using the time binning feature.",title:"WebChartTimeAggregationTypes"},WebChartLabelBehavior:{type:"string",enum:["hide","rotate","stagger","wrap"],description:"Represents the different types of behaviors that can applied to a chart axis.",title:"WebChartLabelBehavior"},WebChartVersionStatus:{type:"string",enum:["same","newer","older","unrecognized"],title:"WebChartVersionStatus"},WebChartAxisTypes:{type:"string",enum:["value","date","category"],description:"Represents the different types of axes that can be used in a chart.",title:"WebChartAxisTypes"},GaugeChartSubTypes:{type:"string",enum:["featureGauge","statisticGauge"],description:"Represents the different types of gauge charts.",title:"GaugeChartSubTypes"},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"},WebChartRadarChartAxisLabelsOrientation:{type:"string",enum:["radial","circular","horizontal"],description:"Labels orientation for radar chart axes.",title:"WebChartRadarChartAxisLabelsOrientation"},WebChartOrderDataByTypes:{type:"string",enum:["arcgis-charts-y-value","arcgis-charts-mean","arcgis-charts-median","arcgis-charts-category","arcgis-charts-multi-axes"],description:"The types of order associated with chart data.",title:"WebChartOrderDataByTypes"},WebChartMultiAxesDataOrder:{type:"object",properties:{orderType:{type:"string",const:"arcgis-charts-multi-axes",description:"The type of order, which is two dimensional."},orderByX:{anyOf:[{type:"array",items:{type:"string"}},{$ref:"#/definitions/WebChartSortOrderKinds"}],description:"The direction of the order for the x axis. If the axis is categorical, this can also be a predefined list of labels."},orderByY:{anyOf:[{type:"array",items:{type:"string"}},{$ref:"#/definitions/WebChartSortOrderKinds"}],description:"The direction of the order for the y axis. If the axis is categorical, this can also be a predefined list of labels."}},required:["orderType"],description:`A data order option that allows the items to be ordered on both the x- and y-axes;
|
|
2
|
+
import a from"./O5YAEMTL.js";import{e as qr}from"./WOGALV3T.js";import{d as be,r as mt,z as jr}from"./CQFH2M2V.js";import{f as Lr,p as Wr}from"./P5HRXBWY.js";import{a as Rr}from"./KX7KGXKQ.js";import{e as Dr,i as Fr}from"./WULMITJI.js";import{I as $r}from"./UE4KTI5X.js";import{a as pt}from"./Z5QPCSUQ.js";import{a as de,b as Ar,q as Or}from"./QVG3TOL4.js";import{b as _,d as wn}from"./BYSUABOV.js";export default $arcgis.t(([{substitute:Te},{F:Mt,G:kr,H:Br,I:Mr,Ja:Vr,Ob:Hr,T:zr,Ub:Vt,Vb:Ut,Xb:Qr,da:zt,ea:We,hb:Ur,m:Bt,nb:Gr,r:Nr,sc:Kr,tc:Jr,v:_r,vc:Zr,xc:Yr,yc:bt}])=>{var ei=_((gt,Xr)=>{(function(i,e){typeof gt=="object"&&typeof Xr<"u"?e(gt):typeof define=="function"&&define.amd?define(["exports"],e):e(i.URI=i.URI||{})})(gt,(function(i){"use strict";function e(){for(var p=arguments.length,s=Array(p),c=0;c<p;c++)s[c]=arguments[c];if(s.length>1){s[0]=s[0].slice(0,-1);for(var v=s.length-1,S=1;S<v;++S)s[S]=s[S].slice(1,-1);return s[v]=s[v].slice(1),s.join("")}else return s[0]}function r(p){return"(?:"+p+")"}function n(p){return p===void 0?"undefined":p===null?"null":Object.prototype.toString.call(p).split(" ").pop().split("]").shift().toLowerCase()}function t(p){return p.toUpperCase()}function a(p){return p!=null?p instanceof Array?p:typeof p.length!="number"||p.split||p.setInterval||p.call?[p]:Array.prototype.slice.call(p):[]}function d(p,s){var c=p;if(s)for(var v in s)c[v]=s[v];return c}function l(p){var s="[A-Za-z]",c="[\\x0D]",v="[0-9]",S="[\\x22]",A=e(v,"[A-Fa-f]"),k="[\\x0A]",U="[\\x20]",K=r(r("%[EFef]"+A+"%"+A+A+"%"+A+A)+"|"+r("%[89A-Fa-f]"+A+"%"+A+A)+"|"+r("%"+A+A)),oe="[\\:\\/\\?\\#\\[\\]\\@]",V="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",ee=e(oe,V),le=p?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",X=p?"[\\uE000-\\uF8FF]":"[]",H=e(s,v,"[\\-\\.\\_\\~]",le),te=r(s+e(s,v,"[\\+\\-\\.]")+"*"),Z=r(r(K+"|"+e(H,V,"[\\:]"))+"*"),Ve=r(r("25[0-5]")+"|"+r("2[0-4]"+v)+"|"+r("1"+v+v)+"|"+r("[1-9]"+v)+"|"+v),Se=r(r("25[0-5]")+"|"+r("2[0-4]"+v)+"|"+r("1"+v+v)+"|"+r("0?[1-9]"+v)+"|0?0?"+v),Ce=r(Se+"\\."+Se+"\\."+Se+"\\."+Se),Y=r(A+"{1,4}"),we=r(r(Y+"\\:"+Y)+"|"+Ce),xe=r(r(Y+"\\:")+"{6}"+we),De=r("\\:\\:"+r(Y+"\\:")+"{5}"+we),Ue=r(r(Y)+"?\\:\\:"+r(Y+"\\:")+"{4}"+we),Oe=r(r(r(Y+"\\:")+"{0,1}"+Y)+"?\\:\\:"+r(Y+"\\:")+"{3}"+we),nt=r(r(r(Y+"\\:")+"{0,2}"+Y)+"?\\:\\:"+r(Y+"\\:")+"{2}"+we),ft=r(r(r(Y+"\\:")+"{0,3}"+Y)+"?\\:\\:"+Y+"\\:"+we),ut=r(r(r(Y+"\\:")+"{0,4}"+Y)+"?\\:\\:"+we),Je=r(r(r(Y+"\\:")+"{0,5}"+Y)+"?\\:\\:"+Y),Ze=r(r(r(Y+"\\:")+"{0,6}"+Y)+"?\\:\\:"),Re=r([xe,De,Ue,Oe,nt,ft,ut,Je,Ze].join("|")),Ye=r(r(H+"|"+K)+"+"),_t=r(Re+"\\%25"+Ye),Ge=r(Re+r("\\%25|\\%(?!"+A+"{2})")+Ye),un=r("[vV]"+A+"+\\."+e(H,V,"[\\:]")+"+"),yn=r("\\["+r(Ge+"|"+Re+"|"+un)+"\\]"),xr=r(r(K+"|"+e(H,V))+"*"),st=r(yn+"|"+Ce+"(?!"+xr+")|"+xr),ot=r(v+"*"),Tr=r(r(Z+"@")+"?"+st+r("\\:"+ot)+"?"),lt=r(K+"|"+e(H,V,"[\\:\\@]")),mn=r(lt+"*"),Pr=r(lt+"+"),bn=r(r(K+"|"+e(H,V,"[\\@]"))+"+"),Le=r(r("\\/"+mn)+"*"),Xe=r("\\/"+r(Pr+Le)+"?"),kt=r(bn+Le),yt=r(Pr+Le),et="(?!"+lt+")",fo=r(Le+"|"+Xe+"|"+kt+"|"+yt+"|"+et),tt=r(r(lt+"|"+e("[\\/\\?]",X))+"*"),dt=r(r(lt+"|[\\/\\?]")+"*"),Er=r(r("\\/\\/"+Tr+Le)+"|"+Xe+"|"+yt+"|"+et),gn=r(te+"\\:"+Er+r("\\?"+tt)+"?"+r("\\#"+dt)+"?"),vn=r(r("\\/\\/"+Tr+Le)+"|"+Xe+"|"+kt+"|"+et),Sn=r(vn+r("\\?"+tt)+"?"+r("\\#"+dt)+"?"),uo=r(gn+"|"+Sn),yo=r(te+"\\:"+Er+r("\\?"+tt)+"?"),mo="^("+te+")\\:"+r(r("\\/\\/("+r("("+Z+")@")+"?("+st+")"+r("\\:("+ot+")")+"?)")+"?("+Le+"|"+Xe+"|"+yt+"|"+et+")")+r("\\?("+tt+")")+"?"+r("\\#("+dt+")")+"?$",bo="^(){0}"+r(r("\\/\\/("+r("("+Z+")@")+"?("+st+")"+r("\\:("+ot+")")+"?)")+"?("+Le+"|"+Xe+"|"+kt+"|"+et+")")+r("\\?("+tt+")")+"?"+r("\\#("+dt+")")+"?$",go="^("+te+")\\:"+r(r("\\/\\/("+r("("+Z+")@")+"?("+st+")"+r("\\:("+ot+")")+"?)")+"?("+Le+"|"+Xe+"|"+yt+"|"+et+")")+r("\\?("+tt+")")+"?$",vo="^"+r("\\#("+dt+")")+"?$",So="^"+r("("+Z+")@")+"?("+st+")"+r("\\:("+ot+")")+"?$";return{NOT_SCHEME:new RegExp(e("[^]",s,v,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(e("[^\\%\\:]",H,V),"g"),NOT_HOST:new RegExp(e("[^\\%\\[\\]\\:]",H,V),"g"),NOT_PATH:new RegExp(e("[^\\%\\/\\:\\@]",H,V),"g"),NOT_PATH_NOSCHEME:new RegExp(e("[^\\%\\/\\@]",H,V),"g"),NOT_QUERY:new RegExp(e("[^\\%]",H,V,"[\\:\\@\\/\\?]",X),"g"),NOT_FRAGMENT:new RegExp(e("[^\\%]",H,V,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(e("[^]",H,V),"g"),UNRESERVED:new RegExp(H,"g"),OTHER_CHARS:new RegExp(e("[^\\%]",H,ee),"g"),PCT_ENCODED:new RegExp(K,"g"),IPV4ADDRESS:new RegExp("^("+Ce+")$"),IPV6ADDRESS:new RegExp("^\\[?("+Re+")"+r(r("\\%25|\\%(?!"+A+"{2})")+"("+Ye+")")+"?\\]?$")}}var w=l(!1),m=l(!0),y=(function(){function p(s,c){var v=[],S=!0,A=!1,k=void 0;try{for(var U=s[Symbol.iterator](),K;!(S=(K=U.next()).done)&&(v.push(K.value),!(c&&v.length===c));S=!0);}catch(oe){A=!0,k=oe}finally{try{!S&&U.return&&U.return()}finally{if(A)throw k}}return v}return function(s,c){if(Array.isArray(s))return s;if(Symbol.iterator in Object(s))return p(s,c);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),f=function(p){if(Array.isArray(p)){for(var s=0,c=Array(p.length);s<p.length;s++)c[s]=p[s];return c}else return Array.from(p)},b=2147483647,o=36,u=1,g=26,h=38,I=700,T=72,C=128,$="-",D=/^xn--/,F=/[^\0-\x7E]/,q=/[\x2E\u3002\uFF0E\uFF61]/g,W={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},P=o-u,j=Math.floor,L=String.fromCharCode;function O(p){throw new RangeError(W[p])}function x(p,s){for(var c=[],v=p.length;v--;)c[v]=s(p[v]);return c}function E(p,s){var c=p.split("@"),v="";c.length>1&&(v=c[0]+"@",p=c[1]),p=p.replace(q,".");var S=p.split("."),A=x(S,s).join(".");return v+A}function R(p){for(var s=[],c=0,v=p.length;c<v;){var S=p.charCodeAt(c++);if(S>=55296&&S<=56319&&c<v){var A=p.charCodeAt(c++);(A&64512)==56320?s.push(((S&1023)<<10)+(A&1023)+65536):(s.push(S),c--)}else s.push(S)}return s}var J=function(s){return String.fromCodePoint.apply(String,f(s))},M=function(s){return s-48<10?s-22:s-65<26?s-65:s-97<26?s-97:o},z=function(s,c){return s+22+75*(s<26)-((c!=0)<<5)},B=function(s,c,v){var S=0;for(s=v?j(s/I):s>>1,s+=j(s/c);s>P*g>>1;S+=o)s=j(s/P);return j(S+(P+1)*s/(s+h))},N=function(s){var c=[],v=s.length,S=0,A=C,k=T,U=s.lastIndexOf($);U<0&&(U=0);for(var K=0;K<U;++K)s.charCodeAt(K)>=128&&O("not-basic"),c.push(s.charCodeAt(K));for(var oe=U>0?U+1:0;oe<v;){for(var V=S,ee=1,le=o;;le+=o){oe>=v&&O("invalid-input");var X=M(s.charCodeAt(oe++));(X>=o||X>j((b-S)/ee))&&O("overflow"),S+=X*ee;var H=le<=k?u:le>=k+g?g:le-k;if(X<H)break;var te=o-H;ee>j(b/te)&&O("overflow"),ee*=te}var Z=c.length+1;k=B(S-V,Z,V==0),j(S/Z)>b-A&&O("overflow"),A+=j(S/Z),S%=Z,c.splice(S++,0,A)}return String.fromCodePoint.apply(String,c)},re=function(s){var c=[];s=R(s);var v=s.length,S=C,A=0,k=T,U=!0,K=!1,oe=void 0;try{for(var V=s[Symbol.iterator](),ee;!(U=(ee=V.next()).done);U=!0){var le=ee.value;le<128&&c.push(L(le))}}catch(Ge){K=!0,oe=Ge}finally{try{!U&&V.return&&V.return()}finally{if(K)throw oe}}var X=c.length,H=X;for(X&&c.push($);H<v;){var te=b,Z=!0,Ve=!1,Se=void 0;try{for(var Ce=s[Symbol.iterator](),Y;!(Z=(Y=Ce.next()).done);Z=!0){var we=Y.value;we>=S&&we<te&&(te=we)}}catch(Ge){Ve=!0,Se=Ge}finally{try{!Z&&Ce.return&&Ce.return()}finally{if(Ve)throw Se}}var xe=H+1;te-S>j((b-A)/xe)&&O("overflow"),A+=(te-S)*xe,S=te;var De=!0,Ue=!1,Oe=void 0;try{for(var nt=s[Symbol.iterator](),ft;!(De=(ft=nt.next()).done);De=!0){var ut=ft.value;if(ut<S&&++A>b&&O("overflow"),ut==S){for(var Je=A,Ze=o;;Ze+=o){var Re=Ze<=k?u:Ze>=k+g?g:Ze-k;if(Je<Re)break;var Ye=Je-Re,_t=o-Re;c.push(L(z(Re+Ye%_t,0))),Je=j(Ye/_t)}c.push(L(z(Je,0))),k=B(A,xe,H==X),A=0,++H}}}catch(Ge){Ue=!0,Oe=Ge}finally{try{!De&&nt.return&&nt.return()}finally{if(Ue)throw Oe}}++A,++S}return c.join("")},he=function(s){return E(s,function(c){return D.test(c)?N(c.slice(4).toLowerCase()):c})},ue=function(s){return E(s,function(c){return F.test(c)?"xn--"+re(c):c})},G={version:"2.1.0",ucs2:{decode:R,encode:J},decode:N,encode:re,toASCII:ue,toUnicode:he},ne={};function pe(p){var s=p.charCodeAt(0),c=void 0;return s<16?c="%0"+s.toString(16).toUpperCase():s<128?c="%"+s.toString(16).toUpperCase():s<2048?c="%"+(s>>6|192).toString(16).toUpperCase()+"%"+(s&63|128).toString(16).toUpperCase():c="%"+(s>>12|224).toString(16).toUpperCase()+"%"+(s>>6&63|128).toString(16).toUpperCase()+"%"+(s&63|128).toString(16).toUpperCase(),c}function ye(p){for(var s="",c=0,v=p.length;c<v;){var S=parseInt(p.substr(c+1,2),16);if(S<128)s+=String.fromCharCode(S),c+=3;else if(S>=194&&S<224){if(v-c>=6){var A=parseInt(p.substr(c+4,2),16);s+=String.fromCharCode((S&31)<<6|A&63)}else s+=p.substr(c,6);c+=6}else if(S>=224){if(v-c>=9){var k=parseInt(p.substr(c+4,2),16),U=parseInt(p.substr(c+7,2),16);s+=String.fromCharCode((S&15)<<12|(k&63)<<6|U&63)}else s+=p.substr(c,9);c+=9}else s+=p.substr(c,3),c+=3}return s}function je(p,s){function c(v){var S=ye(v);return S.match(s.UNRESERVED)?S:v}return p.scheme&&(p.scheme=String(p.scheme).replace(s.PCT_ENCODED,c).toLowerCase().replace(s.NOT_SCHEME,"")),p.userinfo!==void 0&&(p.userinfo=String(p.userinfo).replace(s.PCT_ENCODED,c).replace(s.NOT_USERINFO,pe).replace(s.PCT_ENCODED,t)),p.host!==void 0&&(p.host=String(p.host).replace(s.PCT_ENCODED,c).toLowerCase().replace(s.NOT_HOST,pe).replace(s.PCT_ENCODED,t)),p.path!==void 0&&(p.path=String(p.path).replace(s.PCT_ENCODED,c).replace(p.scheme?s.NOT_PATH:s.NOT_PATH_NOSCHEME,pe).replace(s.PCT_ENCODED,t)),p.query!==void 0&&(p.query=String(p.query).replace(s.PCT_ENCODED,c).replace(s.NOT_QUERY,pe).replace(s.PCT_ENCODED,t)),p.fragment!==void 0&&(p.fragment=String(p.fragment).replace(s.PCT_ENCODED,c).replace(s.NOT_FRAGMENT,pe).replace(s.PCT_ENCODED,t)),p}function Fe(p){return p.replace(/^0*(.*)/,"$1")||"0"}function se(p,s){var c=p.match(s.IPV4ADDRESS)||[],v=y(c,2),S=v[1];return S?S.split(".").map(Fe).join("."):p}function ie(p,s){var c=p.match(s.IPV6ADDRESS)||[],v=y(c,3),S=v[1],A=v[2];if(S){for(var k=S.toLowerCase().split("::").reverse(),U=y(k,2),K=U[0],oe=U[1],V=oe?oe.split(":").map(Fe):[],ee=K.split(":").map(Fe),le=s.IPV4ADDRESS.test(ee[ee.length-1]),X=le?7:8,H=ee.length-X,te=Array(X),Z=0;Z<X;++Z)te[Z]=V[Z]||ee[H+Z]||"";le&&(te[X-1]=se(te[X-1],s));var Ve=te.reduce(function(xe,De,Ue){if(!De||De==="0"){var Oe=xe[xe.length-1];Oe&&Oe.index+Oe.length===Ue?Oe.length++:xe.push({index:Ue,length:1})}return xe},[]),Se=Ve.sort(function(xe,De){return De.length-xe.length})[0],Ce=void 0;if(Se&&Se.length>1){var Y=te.slice(0,Se.index),we=te.slice(Se.index+Se.length);Ce=Y.join(":")+"::"+we.join(":")}else Ce=te.join(":");return A&&(Ce+="%"+A),Ce}else return p}var Be=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,fe="".match(/(){0}/)[1]===void 0;function Q(p){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c={},v=s.iri!==!1?m:w;s.reference==="suffix"&&(p=(s.scheme?s.scheme+":":"")+"//"+p);var S=p.match(Be);if(S){fe?(c.scheme=S[1],c.userinfo=S[3],c.host=S[4],c.port=parseInt(S[5],10),c.path=S[6]||"",c.query=S[7],c.fragment=S[8],isNaN(c.port)&&(c.port=S[5])):(c.scheme=S[1]||void 0,c.userinfo=p.indexOf("@")!==-1?S[3]:void 0,c.host=p.indexOf("//")!==-1?S[4]:void 0,c.port=parseInt(S[5],10),c.path=S[6]||"",c.query=p.indexOf("?")!==-1?S[7]:void 0,c.fragment=p.indexOf("#")!==-1?S[8]:void 0,isNaN(c.port)&&(c.port=p.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?S[4]:void 0)),c.host&&(c.host=ie(se(c.host,v),v)),c.scheme===void 0&&c.userinfo===void 0&&c.host===void 0&&c.port===void 0&&!c.path&&c.query===void 0?c.reference="same-document":c.scheme===void 0?c.reference="relative":c.fragment===void 0?c.reference="absolute":c.reference="uri",s.reference&&s.reference!=="suffix"&&s.reference!==c.reference&&(c.error=c.error||"URI is not a "+s.reference+" reference.");var A=ne[(s.scheme||c.scheme||"").toLowerCase()];if(!s.unicodeSupport&&(!A||!A.unicodeSupport)){if(c.host&&(s.domainHost||A&&A.domainHost))try{c.host=G.toASCII(c.host.replace(v.PCT_ENCODED,ye).toLowerCase())}catch(k){c.error=c.error||"Host's domain name can not be converted to ASCII via punycode: "+k}je(c,w)}else je(c,v);A&&A.parse&&A.parse(c,s)}else c.error=c.error||"URI can not be parsed.";return c}function qe(p,s){var c=s.iri!==!1?m:w,v=[];return p.userinfo!==void 0&&(v.push(p.userinfo),v.push("@")),p.host!==void 0&&v.push(ie(se(String(p.host),c),c).replace(c.IPV6ADDRESS,function(S,A,k){return"["+A+(k?"%25"+k:"")+"]"})),(typeof p.port=="number"||typeof p.port=="string")&&(v.push(":"),v.push(String(p.port))),v.length?v.join(""):void 0}var Ae=/^\.\.?\//,Me=/^\/\.(\/|$)/,ze=/^\/\.\.(\/|$)/,ce=/^\/?(?:.|\n)*?(?=\/|$)/;function Ie(p){for(var s=[];p.length;)if(p.match(Ae))p=p.replace(Ae,"");else if(p.match(Me))p=p.replace(Me,"/");else if(p.match(ze))p=p.replace(ze,"/"),s.pop();else if(p==="."||p==="..")p="";else{var c=p.match(ce);if(c){var v=c[0];p=p.slice(v.length),s.push(v)}else throw new Error("Unexpected dot segment condition")}return s.join("")}function ge(p){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=s.iri?m:w,v=[],S=ne[(s.scheme||p.scheme||"").toLowerCase()];if(S&&S.serialize&&S.serialize(p,s),p.host&&!c.IPV6ADDRESS.test(p.host)){if(s.domainHost||S&&S.domainHost)try{p.host=s.iri?G.toUnicode(p.host):G.toASCII(p.host.replace(c.PCT_ENCODED,ye).toLowerCase())}catch(U){p.error=p.error||"Host's domain name can not be converted to "+(s.iri?"Unicode":"ASCII")+" via punycode: "+U}}je(p,c),s.reference!=="suffix"&&p.scheme&&(v.push(p.scheme),v.push(":"));var A=qe(p,s);if(A!==void 0&&(s.reference!=="suffix"&&v.push("//"),v.push(A),p.path&&p.path.charAt(0)!=="/"&&v.push("/")),p.path!==void 0){var k=p.path;!s.absolutePath&&(!S||!S.absolutePath)&&(k=Ie(k)),A===void 0&&(k=k.replace(/^\/\//,"/%2F")),v.push(k)}return p.query!==void 0&&(v.push("?"),v.push(p.query)),p.fragment!==void 0&&(v.push("#"),v.push(p.fragment)),v.join("")}function me(p,s){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},v=arguments[3],S={};return v||(p=Q(ge(p,c),c),s=Q(ge(s,c),c)),c=c||{},!c.tolerant&&s.scheme?(S.scheme=s.scheme,S.userinfo=s.userinfo,S.host=s.host,S.port=s.port,S.path=Ie(s.path||""),S.query=s.query):(s.userinfo!==void 0||s.host!==void 0||s.port!==void 0?(S.userinfo=s.userinfo,S.host=s.host,S.port=s.port,S.path=Ie(s.path||""),S.query=s.query):(s.path?(s.path.charAt(0)==="/"?S.path=Ie(s.path):((p.userinfo!==void 0||p.host!==void 0||p.port!==void 0)&&!p.path?S.path="/"+s.path:p.path?S.path=p.path.slice(0,p.path.lastIndexOf("/")+1)+s.path:S.path=s.path,S.path=Ie(S.path)),S.query=s.query):(S.path=p.path,s.query!==void 0?S.query=s.query:S.query=p.query),S.userinfo=p.userinfo,S.host=p.host,S.port=p.port),S.scheme=p.scheme),S.fragment=s.fragment,S}function Ee(p,s,c){var v=d({scheme:"null"},c);return ge(me(Q(p,v),Q(s,v),v,!0),v)}function ve(p,s){return typeof p=="string"?p=ge(Q(p,s),s):n(p)==="object"&&(p=Q(ge(p,s),s)),p}function ht(p,s,c){return typeof p=="string"?p=ge(Q(p,c),c):n(p)==="object"&&(p=ge(p,c)),typeof s=="string"?s=ge(Q(s,c),c):n(s)==="object"&&(s=ge(s,c)),p===s}function qt(p,s){return p&&p.toString().replace(!s||!s.iri?w.ESCAPE:m.ESCAPE,pe)}function Pe(p,s){return p&&p.toString().replace(!s||!s.iri?w.PCT_ENCODED:m.PCT_ENCODED,ye)}var it={scheme:"http",domainHost:!0,parse:function(s,c){return s.host||(s.error=s.error||"HTTP URIs must have a host."),s},serialize:function(s,c){var v=String(s.scheme).toLowerCase()==="https";return(s.port===(v?443:80)||s.port==="")&&(s.port=void 0),s.path||(s.path="/"),s}},mr={scheme:"https",domainHost:it.domainHost,parse:it.parse,serialize:it.serialize};function br(p){return typeof p.secure=="boolean"?p.secure:String(p.scheme).toLowerCase()==="wss"}var at={scheme:"ws",domainHost:!0,parse:function(s,c){var v=s;return v.secure=br(v),v.resourceName=(v.path||"/")+(v.query?"?"+v.query:""),v.path=void 0,v.query=void 0,v},serialize:function(s,c){if((s.port===(br(s)?443:80)||s.port==="")&&(s.port=void 0),typeof s.secure=="boolean"&&(s.scheme=s.secure?"wss":"ws",s.secure=void 0),s.resourceName){var v=s.resourceName.split("?"),S=y(v,2),A=S[0],k=S[1];s.path=A&&A!=="/"?A:void 0,s.query=k,s.resourceName=void 0}return s.fragment=void 0,s}},gr={scheme:"wss",domainHost:at.domainHost,parse:at.parse,serialize:at.serialize},tn={},rn=!0,vr="[A-Za-z0-9\\-\\.\\_\\~"+(rn?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",$e="[0-9A-Fa-f]",an=r(r("%[EFef]"+$e+"%"+$e+$e+"%"+$e+$e)+"|"+r("%[89A-Fa-f]"+$e+"%"+$e+$e)+"|"+r("%"+$e+$e)),nn="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",sn="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",on=e(sn,'[\\"\\\\]'),ln="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",dn=new RegExp(vr,"g"),Ke=new RegExp(an,"g"),pn=new RegExp(e("[^]",nn,"[\\.]",'[\\"]',on),"g"),Sr=new RegExp(e("[^]",vr,ln),"g"),cn=Sr;function Nt(p){var s=ye(p);return s.match(dn)?s:p}var wr={scheme:"mailto",parse:function(s,c){var v=s,S=v.to=v.path?v.path.split(","):[];if(v.path=void 0,v.query){for(var A=!1,k={},U=v.query.split("&"),K=0,oe=U.length;K<oe;++K){var V=U[K].split("=");switch(V[0]){case"to":for(var ee=V[1].split(","),le=0,X=ee.length;le<X;++le)S.push(ee[le]);break;case"subject":v.subject=Pe(V[1],c);break;case"body":v.body=Pe(V[1],c);break;default:A=!0,k[Pe(V[0],c)]=Pe(V[1],c);break}}A&&(v.headers=k)}v.query=void 0;for(var H=0,te=S.length;H<te;++H){var Z=S[H].split("@");if(Z[0]=Pe(Z[0]),c.unicodeSupport)Z[1]=Pe(Z[1],c).toLowerCase();else try{Z[1]=G.toASCII(Pe(Z[1],c).toLowerCase())}catch(Ve){v.error=v.error||"Email address's domain name can not be converted to ASCII via punycode: "+Ve}S[H]=Z.join("@")}return v},serialize:function(s,c){var v=s,S=a(s.to);if(S){for(var A=0,k=S.length;A<k;++A){var U=String(S[A]),K=U.lastIndexOf("@"),oe=U.slice(0,K).replace(Ke,Nt).replace(Ke,t).replace(pn,pe),V=U.slice(K+1);try{V=c.iri?G.toUnicode(V):G.toASCII(Pe(V,c).toLowerCase())}catch(H){v.error=v.error||"Email address's domain name can not be converted to "+(c.iri?"Unicode":"ASCII")+" via punycode: "+H}S[A]=oe+"@"+V}v.path=S.join(",")}var ee=s.headers=s.headers||{};s.subject&&(ee.subject=s.subject),s.body&&(ee.body=s.body);var le=[];for(var X in ee)ee[X]!==tn[X]&&le.push(X.replace(Ke,Nt).replace(Ke,t).replace(Sr,pe)+"="+ee[X].replace(Ke,Nt).replace(Ke,t).replace(cn,pe));return le.length&&(v.query=le.join("&")),v}},hn=/^([^\:]+)\:(.*)/,Ir={scheme:"urn",parse:function(s,c){var v=s.path&&s.path.match(hn),S=s;if(v){var A=c.scheme||S.scheme||"urn",k=v[1].toLowerCase(),U=v[2],K=A+":"+(c.nid||k),oe=ne[K];S.nid=k,S.nss=U,S.path=void 0,oe&&(S=oe.parse(S,c))}else S.error=S.error||"URN can not be parsed.";return S},serialize:function(s,c){var v=c.scheme||s.scheme||"urn",S=s.nid,A=v+":"+(c.nid||S),k=ne[A];k&&(s=k.serialize(s,c));var U=s,K=s.nss;return U.path=(S||c.nid)+":"+K,U}},fn=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Cr={scheme:"urn:uuid",parse:function(s,c){var v=s;return v.uuid=v.nss,v.nss=void 0,!c.tolerant&&(!v.uuid||!v.uuid.match(fn))&&(v.error=v.error||"UUID is not valid."),v},serialize:function(s,c){var v=s;return v.nss=(s.uuid||"").toLowerCase(),v}};ne[it.scheme]=it,ne[mr.scheme]=mr,ne[at.scheme]=at,ne[gr.scheme]=gr,ne[wr.scheme]=wr,ne[Ir.scheme]=Ir,ne[Cr.scheme]=Cr,i.SCHEMES=ne,i.pctEncChar=pe,i.pctDecChars=ye,i.parse=Q,i.removeDotSegments=Ie,i.serialize=ge,i.resolveComponents=me,i.resolve=Ee,i.normalize=ve,i.equal=ht,i.escapeComponent=qt,i.unescapeComponent=Pe,Object.defineProperty(i,"__esModule",{value:!0})}))});var vt=_((wo,ti)=>{"use strict";ti.exports=function i(e,r){if(e===r)return!0;if(e&&r&&typeof e=="object"&&typeof r=="object"){if(e.constructor!==r.constructor)return!1;var n,t,a;if(Array.isArray(e)){if(n=e.length,n!=r.length)return!1;for(t=n;t--!==0;)if(!i(e[t],r[t]))return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===r.toString();if(a=Object.keys(e),n=a.length,n!==Object.keys(r).length)return!1;for(t=n;t--!==0;)if(!Object.prototype.hasOwnProperty.call(r,a[t]))return!1;for(t=n;t--!==0;){var d=a[t];if(!i(e[d],r[d]))return!1}return!0}return e!==e&&r!==r}});var ii=_((Io,ri)=>{"use strict";ri.exports=function(e){for(var r=0,n=e.length,t=0,a;t<n;)r++,a=e.charCodeAt(t++),a>=55296&&a<=56319&&t<n&&(a=e.charCodeAt(t),(a&64512)==56320&&t++);return r}});var He=_((Co,si)=>{"use strict";si.exports={copy:In,checkDataType:Gt,checkDataTypes:Cn,coerceToTypes:xn,toHash:Qt,getProperty:Kt,escapeQuotes:Jt,equal:vt(),ucs2length:ii(),varOccurences:En,varReplace:$n,schemaHasRules:Dn,schemaHasRulesExcept:Fn,schemaUnknownRules:An,toQuotedString:Ht,getPathExpr:On,getPath:Rn,getData:jn,unescapeFragment:qn,unescapeJsonPointer:Yt,escapeFragment:Nn,escapeJsonPointer:Zt};function In(i,e){e=e||{};for(var r in i)e[r]=i[r];return e}function Gt(i,e,r,n){var t=n?" !== ":" === ",a=n?" || ":" && ",d=n?"!":"",l=n?"":"!";switch(i){case"null":return e+t+"null";case"array":return d+"Array.isArray("+e+")";case"object":return"("+d+e+a+"typeof "+e+t+'"object"'+a+l+"Array.isArray("+e+"))";case"integer":return"(typeof "+e+t+'"number"'+a+l+"("+e+" % 1)"+a+e+t+e+(r?a+d+"isFinite("+e+")":"")+")";case"number":return"(typeof "+e+t+'"'+i+'"'+(r?a+d+"isFinite("+e+")":"")+")";default:return"typeof "+e+t+'"'+i+'"'}}function Cn(i,e,r){switch(i.length){case 1:return Gt(i[0],e,r,!0);default:var n="",t=Qt(i);t.array&&t.object&&(n=t.null?"(":"(!"+e+" || ",n+="typeof "+e+' !== "object")',delete t.null,delete t.array,delete t.object),t.number&&delete t.integer;for(var a in t)n+=(n?" && ":"")+Gt(a,e,r,!0);return n}}var ai=Qt(["string","number","integer","boolean","null"]);function xn(i,e){if(Array.isArray(e)){for(var r=[],n=0;n<e.length;n++){var t=e[n];(ai[t]||i==="array"&&t==="array")&&(r[r.length]=t)}if(r.length)return r}else{if(ai[e])return[e];if(i==="array"&&e==="array")return["array"]}}function Qt(i){for(var e={},r=0;r<i.length;r++)e[i[r]]=!0;return e}var Tn=/^[a-z$_][a-z$_0-9]*$/i,Pn=/'|\\/g;function Kt(i){return typeof i=="number"?"["+i+"]":Tn.test(i)?"."+i:"['"+Jt(i)+"']"}function Jt(i){return i.replace(Pn,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function En(i,e){e+="[^0-9]";var r=i.match(new RegExp(e,"g"));return r?r.length:0}function $n(i,e,r){return e+="([^0-9])",r=r.replace(/\$/g,"$$$$"),i.replace(new RegExp(e,"g"),r+"$1")}function Dn(i,e){if(typeof i=="boolean")return!i;for(var r in i)if(e[r])return!0}function Fn(i,e,r){if(typeof i=="boolean")return!i&&r!="not";for(var n in i)if(n!=r&&e[n])return!0}function An(i,e){if(typeof i!="boolean"){for(var r in i)if(!e[r])return r}}function Ht(i){return"'"+Jt(i)+"'"}function On(i,e,r,n){var t=r?"'/' + "+e+(n?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):n?"'[' + "+e+" + ']'":"'[\\'' + "+e+" + '\\']'";return ni(i,t)}function Rn(i,e,r){var n=Ht(r?"/"+Zt(e):Kt(e));return ni(i,n)}var Ln=/^\/(?:[^~]|~0|~1)*$/,Wn=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function jn(i,e,r){var n,t,a,d;if(i==="")return"rootData";if(i[0]=="/"){if(!Ln.test(i))throw new Error("Invalid JSON-pointer: "+i);t=i,a="rootData"}else{if(d=i.match(Wn),!d)throw new Error("Invalid JSON-pointer: "+i);if(n=+d[1],t=d[2],t=="#"){if(n>=e)throw new Error("Cannot access property/index "+n+" levels up, current level is "+e);return r[e-n]}if(n>e)throw new Error("Cannot access data "+n+" levels up, current level is "+e);if(a="data"+(e-n||""),!t)return a}for(var l=a,w=t.split("/"),m=0;m<w.length;m++){var y=w[m];y&&(a+=Kt(Yt(y)),l+=" && "+a)}return l}function ni(i,e){return i=='""'?e:(i+" + "+e).replace(/([^\\])' \+ '/g,"$1")}function qn(i){return Yt(decodeURIComponent(i))}function Nn(i){return encodeURIComponent(Zt(i))}function Zt(i){return i.replace(/~/g,"~0").replace(/\//g,"~1")}function Yt(i){return i.replace(/~1/g,"/").replace(/~0/g,"~")}});var Xt=_((xo,oi)=>{"use strict";var _n=He();oi.exports=kn;function kn(i){_n.copy(i,this)}});var di=_((To,li)=>{"use strict";var Ne=li.exports=function(i,e,r){typeof e=="function"&&(r=e,e={}),r=e.cb||r;var n=typeof r=="function"?r:r.pre||function(){},t=r.post||function(){};St(e,n,t,i,"",i)};Ne.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0};Ne.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};Ne.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};Ne.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 St(i,e,r,n,t,a,d,l,w,m){if(n&&typeof n=="object"&&!Array.isArray(n)){e(n,t,a,d,l,w,m);for(var y in n){var f=n[y];if(Array.isArray(f)){if(y in Ne.arrayKeywords)for(var b=0;b<f.length;b++)St(i,e,r,f[b],t+"/"+y+"/"+b,a,t,y,n,b)}else if(y in Ne.propsKeywords){if(f&&typeof f=="object")for(var o in f)St(i,e,r,f[o],t+"/"+y+"/"+Bn(o),a,t,y,n,o)}else(y in Ne.keywords||i.allKeys&&!(y in Ne.skipKeywords))&&St(i,e,r,f,t+"/"+y,a,t,y,n)}r(n,t,a,d,l,w,m)}}function Bn(i){return i.replace(/~/g,"~0").replace(/\//g,"~1")}});var Pt=_((Po,fi)=>{"use strict";var ct=ei(),pi=vt(),xt=He(),wt=Xt(),Mn=di();fi.exports=ke;ke.normalizeId=_e;ke.fullPath=It;ke.url=Ct;ke.ids=Hn;ke.inlineRef=er;ke.schema=Tt;function ke(i,e,r){var n=this._refs[r];if(typeof n=="string")if(this._refs[n])n=this._refs[n];else return ke.call(this,i,e,n);if(n=n||this._schemas[r],n instanceof wt)return er(n.schema,this._opts.inlineRefs)?n.schema:n.validate||this._compile(n);var t=Tt.call(this,e,r),a,d,l;return t&&(a=t.schema,e=t.root,l=t.baseId),a instanceof wt?d=a.validate||i.call(this,a.schema,e,void 0,l):a!==void 0&&(d=er(a,this._opts.inlineRefs)?a:i.call(this,a,e,void 0,l)),d}function Tt(i,e){var r=ct.parse(e),n=hi(r),t=It(this._getId(i.schema));if(Object.keys(i.schema).length===0||n!==t){var a=_e(n),d=this._refs[a];if(typeof d=="string")return zn.call(this,i,d,r);if(d instanceof wt)d.validate||this._compile(d),i=d;else if(d=this._schemas[a],d instanceof wt){if(d.validate||this._compile(d),a==_e(e))return{schema:d,root:i,baseId:t};i=d}else return;if(!i.schema)return;t=It(this._getId(i.schema))}return ci.call(this,r,t,i.schema,i)}function zn(i,e,r){var n=Tt.call(this,i,e);if(n){var t=n.schema,a=n.baseId;i=n.root;var d=this._getId(t);return d&&(a=Ct(a,d)),ci.call(this,r,a,t,i)}}var Vn=xt.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function ci(i,e,r,n){if(i.fragment=i.fragment||"",i.fragment.slice(0,1)=="/"){for(var t=i.fragment.split("/"),a=1;a<t.length;a++){var d=t[a];if(d){if(d=xt.unescapeFragment(d),r=r[d],r===void 0)break;var l;if(!Vn[d]&&(l=this._getId(r),l&&(e=Ct(e,l)),r.$ref)){var w=Ct(e,r.$ref),m=Tt.call(this,n,w);m&&(r=m.schema,n=m.root,e=m.baseId)}}}if(r!==void 0&&r!==n.schema)return{schema:r,root:n,baseId:e}}}var Un=xt.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function er(i,e){if(e===!1)return!1;if(e===void 0||e===!0)return tr(i);if(e)return rr(i)<=e}function tr(i){var e;if(Array.isArray(i)){for(var r=0;r<i.length;r++)if(e=i[r],typeof e=="object"&&!tr(e))return!1}else for(var n in i)if(n=="$ref"||(e=i[n],typeof e=="object"&&!tr(e)))return!1;return!0}function rr(i){var e=0,r;if(Array.isArray(i)){for(var n=0;n<i.length;n++)if(r=i[n],typeof r=="object"&&(e+=rr(r)),e==1/0)return 1/0}else for(var t in i){if(t=="$ref")return 1/0;if(Un[t])e++;else if(r=i[t],typeof r=="object"&&(e+=rr(r)+1),e==1/0)return 1/0}return e}function It(i,e){e!==!1&&(i=_e(i));var r=ct.parse(i);return hi(r)}function hi(i){return ct.serialize(i).split("#")[0]+"#"}var Gn=/#\/?$/;function _e(i){return i?i.replace(Gn,""):""}function Ct(i,e){return e=_e(e),ct.resolve(i,e)}function Hn(i){var e=_e(this._getId(i)),r={"":e},n={"":It(e,!1)},t={},a=this;return Mn(i,{allKeys:!0},function(d,l,w,m,y,f,b){if(l!==""){var o=a._getId(d),u=r[m],g=n[m]+"/"+y;if(b!==void 0&&(g+="/"+(typeof b=="number"?b:xt.escapeFragment(b))),typeof o=="string"){o=u=_e(u?ct.resolve(u,o):o);var h=a._refs[o];if(typeof h=="string"&&(h=a._refs[h]),h&&h.schema){if(!pi(d,h.schema))throw new Error('id "'+o+'" resolves to more than one schema')}else if(o!=_e(g))if(o[0]=="#"){if(t[o]&&!pi(d,t[o]))throw new Error('id "'+o+'" resolves to more than one schema');t[o]=d}else a._refs[o]=g}r[l]=u,n[l]=g}}),t}});var Et=_((Eo,yi)=>{"use strict";var ir=Pt();yi.exports={Validation:ui(Qn),MissingRef:ui(ar)};function Qn(i){this.message="validation failed",this.errors=i,this.ajv=this.validation=!0}ar.message=function(i,e){return"can't resolve reference "+e+" from id "+i};function ar(i,e,r){this.message=r||ar.message(i,e),this.missingRef=ir.url(i,e),this.missingSchema=ir.normalizeId(ir.fullPath(this.missingRef))}function ui(i){return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}});var nr=_(($o,mi)=>{"use strict";mi.exports=function(i,e){e||(e={}),typeof e=="function"&&(e={cmp:e});var r=typeof e.cycles=="boolean"?e.cycles:!1,n=e.cmp&&(function(a){return function(d){return function(l,w){var m={key:l,value:d[l]},y={key:w,value:d[w]};return a(m,y)}}})(e.cmp),t=[];return(function a(d){if(d&&d.toJSON&&typeof d.toJSON=="function"&&(d=d.toJSON()),d!==void 0){if(typeof d=="number")return isFinite(d)?""+d:"null";if(typeof d!="object")return JSON.stringify(d);var l,w;if(Array.isArray(d)){for(w="[",l=0;l<d.length;l++)l&&(w+=","),w+=a(d[l])||"null";return w+"]"}if(d===null)return"null";if(t.indexOf(d)!==-1){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var m=t.push(d)-1,y=Object.keys(d).sort(n&&n(d));for(w="",l=0;l<y.length;l++){var f=y[l],b=a(d[f]);b&&(w&&(w+=","),w+=JSON.stringify(f)+":"+b)}return t.splice(m,1),"{"+w+"}"}})(i)}});var sr=_((Do,bi)=>{"use strict";bi.exports=function(e,r,n){var t="",a=e.schema.$async===!0,d=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),l=e.self._getId(e.schema);if(e.opts.strictKeywords){var w=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(w){var m="unknown keyword: "+w;if(e.opts.strictKeywords==="log")e.logger.warn(m);else throw new Error(m)}}if(e.isTop&&(t+=" var validate = ",a&&(e.async=!0,t+="async "),t+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",l&&(e.opts.sourceCode||e.opts.processCode)&&(t+=" "+("/*# sourceURL="+l+" */")+" ")),typeof e.schema=="boolean"||!(d||e.schema.$ref)){var r="false schema",y=e.level,f=e.dataLevel,b=e.schema[r],o=e.schemaPath+e.util.getProperty(r),u=e.errSchemaPath+"/"+r,D=!e.opts.allErrors,W,g="data"+(f||""),$="valid"+y;if(e.schema===!1){e.isTop?D=!0:t+=" var "+$+" = false; ";var h=h||[];h.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(W||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'boolean schema is false' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),t+=" } "):t+=" {} ";var I=t;t=h.pop(),!e.compositeRule&&D?e.async?t+=" throw new ValidationError(["+I+"]); ":t+=" validate.errors = ["+I+"]; return false; ":t+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?a?t+=" return data; ":t+=" validate.errors = null; return true; ":t+=" var "+$+" = true; ";return e.isTop&&(t+=" }; return validate; "),t}if(e.isTop){var T=e.isTop,y=e.level=0,f=e.dataLevel=0,g="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 C="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(C);else throw new Error(C)}t+=" var vErrors = null; ",t+=" var errors = 0; ",t+=" if (rootData === undefined) rootData = data; "}else{var y=e.level,f=e.dataLevel,g="data"+(f||"");if(l&&(e.baseId=e.resolve.url(e.baseId,l)),a&&!e.async)throw new Error("async schema in sync schema");t+=" var errs_"+y+" = errors;"}var $="valid"+y,D=!e.opts.allErrors,F="",q="",W,P=e.schema.type,j=Array.isArray(P);if(P&&e.opts.nullable&&e.schema.nullable===!0&&(j?P.indexOf("null")==-1&&(P=P.concat("null")):P!="null"&&(P=[P,"null"],j=!0)),j&&P.length==1&&(P=P[0],j=!1),e.schema.$ref&&d){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&&(d=!1,e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"'))}if(e.schema.$comment&&e.opts.$comment&&(t+=" "+e.RULES.all.$comment.code(e,"$comment")),P){if(e.opts.coerceTypes)var L=e.util.coerceToTypes(e.opts.coerceTypes,P);var O=e.RULES.types[P];if(L||j||O===!0||O&&!ce(O)){var o=e.schemaPath+".type",u=e.errSchemaPath+"/type",o=e.schemaPath+".type",u=e.errSchemaPath+"/type",x=j?"checkDataTypes":"checkDataType";if(t+=" if ("+e.util[x](P,g,e.opts.strictNumbers,!0)+") { ",L){var E="dataType"+y,R="coerced"+y;t+=" var "+E+" = typeof "+g+"; var "+R+" = undefined; ",e.opts.coerceTypes=="array"&&(t+=" if ("+E+" == 'object' && Array.isArray("+g+") && "+g+".length == 1) { "+g+" = "+g+"[0]; "+E+" = typeof "+g+"; if ("+e.util.checkDataType(e.schema.type,g,e.opts.strictNumbers)+") "+R+" = "+g+"; } "),t+=" if ("+R+" !== undefined) ; ";var J=L;if(J)for(var M,z=-1,B=J.length-1;z<B;)M=J[z+=1],M=="string"?t+=" else if ("+E+" == 'number' || "+E+" == 'boolean') "+R+" = '' + "+g+"; else if ("+g+" === null) "+R+" = ''; ":M=="number"||M=="integer"?(t+=" else if ("+E+" == 'boolean' || "+g+" === null || ("+E+" == 'string' && "+g+" && "+g+" == +"+g+" ",M=="integer"&&(t+=" && !("+g+" % 1)"),t+=")) "+R+" = +"+g+"; "):M=="boolean"?t+=" else if ("+g+" === 'false' || "+g+" === 0 || "+g+" === null) "+R+" = false; else if ("+g+" === 'true' || "+g+" === 1) "+R+" = true; ":M=="null"?t+=" else if ("+g+" === '' || "+g+" === 0 || "+g+" === false) "+R+" = null; ":e.opts.coerceTypes=="array"&&M=="array"&&(t+=" else if ("+E+" == 'string' || "+E+" == 'number' || "+E+" == 'boolean' || "+g+" == null) "+R+" = ["+g+"]; ");t+=" else { ";var h=h||[];h.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(W||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { type: '",j?t+=""+P.join(","):t+=""+P,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",j?t+=""+P.join(","):t+=""+P,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),t+=" } "):t+=" {} ";var I=t;t=h.pop(),!e.compositeRule&&D?e.async?t+=" throw new ValidationError(["+I+"]); ":t+=" validate.errors = ["+I+"]; return false; ":t+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } if ("+R+" !== undefined) { ";var N=f?"data"+(f-1||""):"parentData",re=f?e.dataPathArr[f]:"parentDataProperty";t+=" "+g+" = "+R+"; ",f||(t+="if ("+N+" !== undefined)"),t+=" "+N+"["+re+"] = "+R+"; } "}else{var h=h||[];h.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(W||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { type: '",j?t+=""+P.join(","):t+=""+P,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",j?t+=""+P.join(","):t+=""+P,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),t+=" } "):t+=" {} ";var I=t;t=h.pop(),!e.compositeRule&&D?e.async?t+=" throw new ValidationError(["+I+"]); ":t+=" validate.errors = ["+I+"]; return false; ":t+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}t+=" } "}}if(e.schema.$ref&&!d)t+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",D&&(t+=" } if (errors === ",T?t+="0":t+="errs_"+y,t+=") { ",q+="}");else{var he=e.RULES;if(he){for(var O,ue=-1,G=he.length-1;ue<G;)if(O=he[ue+=1],ce(O)){if(O.type&&(t+=" if ("+e.util.checkDataType(O.type,g,e.opts.strictNumbers)+") { "),e.opts.useDefaults){if(O.type=="object"&&e.schema.properties){var b=e.schema.properties,ne=Object.keys(b),pe=ne;if(pe)for(var ye,je=-1,Fe=pe.length-1;je<Fe;){ye=pe[je+=1];var se=b[ye];if(se.default!==void 0){var ie=g+e.util.getProperty(ye);if(e.compositeRule){if(e.opts.strictDefaults){var C="default is ignored for: "+ie;if(e.opts.strictDefaults==="log")e.logger.warn(C);else throw new Error(C)}}else t+=" if ("+ie+" === undefined ",e.opts.useDefaults=="empty"&&(t+=" || "+ie+" === null || "+ie+" === '' "),t+=" ) "+ie+" = ",e.opts.useDefaults=="shared"?t+=" "+e.useDefault(se.default)+" ":t+=" "+JSON.stringify(se.default)+" ",t+="; "}}}else if(O.type=="array"&&Array.isArray(e.schema.items)){var Be=e.schema.items;if(Be){for(var se,z=-1,fe=Be.length-1;z<fe;)if(se=Be[z+=1],se.default!==void 0){var ie=g+"["+z+"]";if(e.compositeRule){if(e.opts.strictDefaults){var C="default is ignored for: "+ie;if(e.opts.strictDefaults==="log")e.logger.warn(C);else throw new Error(C)}}else t+=" if ("+ie+" === undefined ",e.opts.useDefaults=="empty"&&(t+=" || "+ie+" === null || "+ie+" === '' "),t+=" ) "+ie+" = ",e.opts.useDefaults=="shared"?t+=" "+e.useDefault(se.default)+" ":t+=" "+JSON.stringify(se.default)+" ",t+="; "}}}}var Q=O.rules;if(Q){for(var qe,Ae=-1,Me=Q.length-1;Ae<Me;)if(qe=Q[Ae+=1],Ie(qe)){var ze=qe.code(e,qe.keyword,O.type);ze&&(t+=" "+ze+" ",D&&(F+="}"))}}if(D&&(t+=" "+F+" ",F=""),O.type&&(t+=" } ",P&&P===O.type&&!L)){t+=" else { ";var o=e.schemaPath+".type",u=e.errSchemaPath+"/type",h=h||[];h.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(W||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { type: '",j?t+=""+P.join(","):t+=""+P,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",j?t+=""+P.join(","):t+=""+P,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),t+=" } "):t+=" {} ";var I=t;t=h.pop(),!e.compositeRule&&D?e.async?t+=" throw new ValidationError(["+I+"]); ":t+=" validate.errors = ["+I+"]; return false; ":t+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } "}D&&(t+=" if (errors === ",T?t+="0":t+="errs_"+y,t+=") { ",q+="}")}}}D&&(t+=" "+q+" "),T?(a?(t+=" if (errors === 0) return data; ",t+=" else throw new ValidationError(vErrors); "):(t+=" validate.errors = vErrors; ",t+=" return errors === 0; "),t+=" }; return validate;"):t+=" var "+$+" = errors === errs_"+y+";";function ce(me){for(var Ee=me.rules,ve=0;ve<Ee.length;ve++)if(Ie(Ee[ve]))return!0}function Ie(me){return e.schema[me.keyword]!==void 0||me.implements&&ge(me)}function ge(me){for(var Ee=me.implements,ve=0;ve<Ee.length;ve++)if(e.schema[Ee[ve]]!==void 0)return!0}return t}});var Ii=_((Fo,wi)=>{"use strict";var $t=Pt(),Ft=He(),vi=Et(),Kn=nr(),gi=sr(),Jn=Ft.ucs2length,Zn=vt(),Yn=vi.Validation;wi.exports=or;function or(i,e,r,n){var t=this,a=this._opts,d=[void 0],l={},w=[],m={},y=[],f={},b=[];e=e||{schema:i,refVal:d,refs:l};var o=Xn.call(this,i,e,n),u=this._compilations[o.index];if(o.compiling)return u.callValidate=C;var g=this._formats,h=this.RULES;try{var I=$(i,e,r,n);u.validate=I;var T=u.callValidate;return T&&(T.schema=I.schema,T.errors=null,T.refs=I.refs,T.refVal=I.refVal,T.root=I.root,T.$async=I.$async,a.sourceCode&&(T.source=I.source)),I}finally{es.call(this,i,e,n)}function C(){var x=u.validate,E=x.apply(this,arguments);return C.errors=x.errors,E}function $(x,E,R,J){var M=!E||E&&E.schema==x;if(E.schema!=e.schema)return or.call(t,x,E,R,J);var z=x.$async===!0,B=gi({isTop:!0,schema:x,isRoot:M,baseId:J,root:E,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:vi.MissingRef,RULES:h,validate:gi,util:Ft,resolve:$t,resolveRef:D,usePattern:j,useDefault:L,useCustomRule:O,opts:a,formats:g,logger:t.logger,self:t});B=Dt(d,is)+Dt(w,ts)+Dt(y,rs)+Dt(b,as)+B,a.processCode&&(B=a.processCode(B,x));var N;try{var re=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",B);N=re(t,h,g,e,d,y,b,Zn,Jn,Yn),d[0]=N}catch(he){throw t.logger.error("Error compiling schema, function code:",B),he}return N.schema=x,N.errors=null,N.refs=l,N.refVal=d,N.root=M?N:E,z&&(N.$async=!0),a.sourceCode===!0&&(N.source={code:B,patterns:w,defaults:y}),N}function D(x,E,R){E=$t.url(x,E);var J=l[E],M,z;if(J!==void 0)return M=d[J],z="refVal["+J+"]",P(M,z);if(!R&&e.refs){var B=e.refs[E];if(B!==void 0)return M=e.refVal[B],z=F(E,M),P(M,z)}z=F(E);var N=$t.call(t,$,e,E);if(N===void 0){var re=r&&r[E];re&&(N=$t.inlineRef(re,a.inlineRefs)?re:or.call(t,re,e,r,x))}if(N===void 0)q(E);else return W(E,N),P(N,z)}function F(x,E){var R=d.length;return d[R]=E,l[x]=R,"refVal"+R}function q(x){delete l[x]}function W(x,E){var R=l[x];d[R]=E}function P(x,E){return typeof x=="object"||typeof x=="boolean"?{code:E,schema:x,inline:!0}:{code:E,$async:x&&!!x.$async}}function j(x){var E=m[x];return E===void 0&&(E=m[x]=w.length,w[E]=x),"pattern"+E}function L(x){switch(typeof x){case"boolean":case"number":return""+x;case"string":return Ft.toQuotedString(x);case"object":if(x===null)return"null";var E=Kn(x),R=f[E];return R===void 0&&(R=f[E]=y.length,y[R]=x),"default"+R}}function O(x,E,R,J){if(t._opts.validateSchema!==!1){var M=x.definition.dependencies;if(M&&!M.every(function(pe){return Object.prototype.hasOwnProperty.call(R,pe)}))throw new Error("parent schema must have all required keywords: "+M.join(","));var z=x.definition.validateSchema;if(z){var B=z(E);if(!B){var N="keyword schema is invalid: "+t.errorsText(z.errors);if(t._opts.validateSchema=="log")t.logger.error(N);else throw new Error(N)}}}var re=x.definition.compile,he=x.definition.inline,ue=x.definition.macro,G;if(re)G=re.call(t,E,R,J);else if(ue)G=ue.call(t,E,R,J),a.validateSchema!==!1&&t.validateSchema(G,!0);else if(he)G=he.call(t,J,x.keyword,E,R);else if(G=x.definition.validate,!G)return;if(G===void 0)throw new Error('custom keyword "'+x.keyword+'"failed to compile');var ne=b.length;return b[ne]=G,{code:"customRule"+ne,validate:G}}}function Xn(i,e,r){var n=Si.call(this,i,e,r);return n>=0?{index:n,compiling:!0}:(n=this._compilations.length,this._compilations[n]={schema:i,root:e,baseId:r},{index:n,compiling:!1})}function es(i,e,r){var n=Si.call(this,i,e,r);n>=0&&this._compilations.splice(n,1)}function Si(i,e,r){for(var n=0;n<this._compilations.length;n++){var t=this._compilations[n];if(t.schema==i&&t.root==e&&t.baseId==r)return n}return-1}function ts(i,e){return"var pattern"+i+" = new RegExp("+Ft.toQuotedString(e[i])+");"}function rs(i){return"var default"+i+" = defaults["+i+"];"}function is(i,e){return e[i]===void 0?"":"var refVal"+i+" = refVal["+i+"];"}function as(i){return"var customRule"+i+" = customRules["+i+"];"}function Dt(i,e){if(!i.length)return"";for(var r="",n=0;n<i.length;n++)r+=e(n,i);return r}});var xi=_((Ao,Ci)=>{"use strict";var At=Ci.exports=function(){this._cache={}};At.prototype.put=function(e,r){this._cache[e]=r};At.prototype.get=function(e){return this._cache[e]};At.prototype.del=function(e){delete this._cache[e]};At.prototype.clear=function(){this._cache={}}});var ji=_((Oo,Wi)=>{"use strict";var ns=He(),ss=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,os=[0,31,28,31,30,31,30,31,31,30,31,30,31],ls=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,Ti=/^(?=.{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,ds=/^(?:[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,ps=/^(?:[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,Pi=/^(?:(?:[^\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,Ei=/^(?:(?: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,$i=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,Di=/^(?:\/(?:[^~/]|~0|~1)*)*$/,Fi=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,Ai=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;Wi.exports=Ot;function Ot(i){return i=i=="full"?"full":"fast",ns.copy(Ot[i])}Ot.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":Pi,url:Ei,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:Ti,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:Li,uuid:$i,"json-pointer":Di,"json-pointer-uri-fragment":Fi,"relative-json-pointer":Ai};Ot.full={date:Oi,time:Ri,"date-time":fs,uri:ys,"uri-reference":ps,"uri-template":Pi,url:Ei,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:Ti,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:Li,uuid:$i,"json-pointer":Di,"json-pointer-uri-fragment":Fi,"relative-json-pointer":Ai};function cs(i){return i%4===0&&(i%100!==0||i%400===0)}function Oi(i){var e=i.match(ss);if(!e)return!1;var r=+e[1],n=+e[2],t=+e[3];return n>=1&&n<=12&&t>=1&&t<=(n==2&&cs(r)?29:os[n])}function Ri(i,e){var r=i.match(ls);if(!r)return!1;var n=r[1],t=r[2],a=r[3],d=r[5];return(n<=23&&t<=59&&a<=59||n==23&&t==59&&a==60)&&(!e||d)}var hs=/t|\s/i;function fs(i){var e=i.split(hs);return e.length==2&&Oi(e[0])&&Ri(e[1],!0)}var us=/\/|:/;function ys(i){return us.test(i)&&ds.test(i)}var ms=/[^\\]\\Z/;function Li(i){if(ms.test(i))return!1;try{return new RegExp(i),!0}catch{return!1}}});var Ni=_((Ro,qi)=>{"use strict";qi.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.errSchemaPath+"/"+r,m=!e.opts.allErrors,y="data"+(d||""),f="valid"+a,b,o;if(l=="#"||l=="#/")e.isRoot?(b=e.async,o="validate"):(b=e.root.schema.$async===!0,o="root.refVal[0]");else{var u=e.resolveRef(e.baseId,l,e.isRoot);if(u===void 0){var g=e.MissingRefError.message(e.baseId,l);if(e.opts.missingRefs=="fail"){e.logger.error(g);var h=h||[];h.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(w)+" , params: { ref: '"+e.util.escapeQuotes(l)+"' } ",e.opts.messages!==!1&&(t+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(l)+"' "),e.opts.verbose&&(t+=" , schema: "+e.util.toQuotedString(l)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+y+" "),t+=" } "):t+=" {} ";var I=t;t=h.pop(),!e.compositeRule&&m?e.async?t+=" throw new ValidationError(["+I+"]); ":t+=" validate.errors = ["+I+"]; return false; ":t+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",m&&(t+=" if (false) { ")}else if(e.opts.missingRefs=="ignore")e.logger.warn(g),m&&(t+=" if (true) { ");else throw new e.MissingRefError(e.baseId,l,g)}else if(u.inline){var T=e.util.copy(e);T.level++;var C="valid"+T.level;T.schema=u.schema,T.schemaPath="",T.errSchemaPath=l;var $=e.validate(T).replace(/validate\.schema/g,u.code);t+=" "+$+" ",m&&(t+=" if ("+C+") { ")}else b=u.$async===!0||e.async&&u.$async!==!1,o=u.code}if(o){var h=h||[];h.push(t),t="",e.opts.passContext?t+=" "+o+".call(this, ":t+=" "+o+"( ",t+=" "+y+", (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var D=d?"data"+(d-1||""):"parentData",F=d?e.dataPathArr[d]:"parentDataProperty";t+=" , "+D+" , "+F+", rootData) ";var q=t;if(t=h.pop(),b){if(!e.async)throw new Error("async schema referenced by sync schema");m&&(t+=" var "+f+"; "),t+=" try { await "+q+"; ",m&&(t+=" "+f+" = true; "),t+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",m&&(t+=" "+f+" = false; "),t+=" } ",m&&(t+=" if ("+f+") { ")}else t+=" if (!"+q+") { if (vErrors === null) vErrors = "+o+".errors; else vErrors = vErrors.concat("+o+".errors); errors = vErrors.length; } ",m&&(t+=" else { ")}return t}});var ki=_((Lo,_i)=>{"use strict";_i.exports=function(e,r,n){var t=" ",a=e.schema[r],d=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,w=!e.opts.allErrors,m=e.util.copy(e),y="";m.level++;var f="valid"+m.level,b=m.baseId,o=!0,u=a;if(u)for(var g,h=-1,I=u.length-1;h<I;)g=u[h+=1],(e.opts.strictKeywords?typeof g=="object"&&Object.keys(g).length>0||g===!1:e.util.schemaHasRules(g,e.RULES.all))&&(o=!1,m.schema=g,m.schemaPath=d+"["+h+"]",m.errSchemaPath=l+"/"+h,t+=" "+e.validate(m)+" ",m.baseId=b,w&&(t+=" if ("+f+") { ",y+="}"));return w&&(o?t+=" if (true) { ":t+=" "+y.slice(0,-1)+" "),t}});var Mi=_((Wo,Bi)=>{"use strict";Bi.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="valid"+a,o="errs__"+a,u=e.util.copy(e),g="";u.level++;var h="valid"+u.level,I=l.every(function(W){return e.opts.strictKeywords?typeof W=="object"&&Object.keys(W).length>0||W===!1:e.util.schemaHasRules(W,e.RULES.all)});if(I){var T=u.baseId;t+=" var "+o+" = errors; var "+b+" = false; ";var C=e.compositeRule;e.compositeRule=u.compositeRule=!0;var $=l;if($)for(var D,F=-1,q=$.length-1;F<q;)D=$[F+=1],u.schema=D,u.schemaPath=w+"["+F+"]",u.errSchemaPath=m+"/"+F,t+=" "+e.validate(u)+" ",u.baseId=T,t+=" "+b+" = "+b+" || "+h+"; if (!"+b+") { ",g+="}";e.compositeRule=u.compositeRule=C,t+=" "+g+" if (!"+b+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&y&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+=" } else { errors = "+o+"; if (vErrors !== null) { if ("+o+") vErrors.length = "+o+"; else vErrors = null; } ",e.opts.allErrors&&(t+=" } ")}else y&&(t+=" if (true) { ");return t}});var Vi=_((jo,zi)=>{"use strict";zi.exports=function(e,r,n){var t=" ",a=e.schema[r],d=e.errSchemaPath+"/"+r,l=!e.opts.allErrors,w=e.util.toQuotedString(a);return e.opts.$comment===!0?t+=" console.log("+w+");":typeof e.opts.$comment=="function"&&(t+=" self._opts.$comment("+w+", "+e.util.toQuotedString(d)+", validate.root.schema);"),t}});var Gi=_((qo,Ui)=>{"use strict";Ui.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="valid"+a,o=e.opts.$data&&l&&l.$data,u;o?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",u="schema"+a):u=l,o||(t+=" var schema"+a+" = validate.schema"+w+";"),t+="var "+b+" = equal("+f+", schema"+a+"); if (!"+b+") { ";var g=g||[];g.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { allowedValue: schema"+a+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be equal to constant' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var h=t;return t=g.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+h+"]); ":t+=" validate.errors = ["+h+"]; return false; ":t+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" }",y&&(t+=" else { "),t}});var Qi=_((No,Hi)=>{"use strict";Hi.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="valid"+a,o="errs__"+a,u=e.util.copy(e),g="";u.level++;var h="valid"+u.level,I="i"+a,T=u.dataLevel=e.dataLevel+1,C="data"+T,$=e.baseId,D=e.opts.strictKeywords?typeof l=="object"&&Object.keys(l).length>0||l===!1:e.util.schemaHasRules(l,e.RULES.all);if(t+="var "+o+" = errors;var "+b+";",D){var F=e.compositeRule;e.compositeRule=u.compositeRule=!0,u.schema=l,u.schemaPath=w,u.errSchemaPath=m,t+=" var "+h+" = false; for (var "+I+" = 0; "+I+" < "+f+".length; "+I+"++) { ",u.errorPath=e.util.getPathExpr(e.errorPath,I,e.opts.jsonPointers,!0);var q=f+"["+I+"]";u.dataPathArr[T]=I;var W=e.validate(u);u.baseId=$,e.util.varOccurences(W,C)<2?t+=" "+e.util.varReplace(W,C,q)+" ":t+=" var "+C+" = "+q+"; "+W+" ",t+=" if ("+h+") break; } ",e.compositeRule=u.compositeRule=F,t+=" "+g+" if (!"+h+") {"}else t+=" if ("+f+".length == 0) {";var P=P||[];P.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should contain a valid item' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var j=t;return t=P.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+j+"]); ":t+=" validate.errors = ["+j+"]; return false; ":t+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { ",D&&(t+=" errors = "+o+"; if (vErrors !== null) { if ("+o+") vErrors.length = "+o+"; else vErrors = null; } "),e.opts.allErrors&&(t+=" } "),t}});var Ji=_((_o,Ki)=>{"use strict";Ki.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="errs__"+a,o=e.util.copy(e),u="";o.level++;var g="valid"+o.level,h={},I={},T=e.opts.ownProperties;for(F in l)if(F!="__proto__"){var C=l[F],$=Array.isArray(C)?I:h;$[F]=C}t+="var "+b+" = errors;";var D=e.errorPath;t+="var missing"+a+";";for(var F in I)if($=I[F],$.length){if(t+=" if ( "+f+e.util.getProperty(F)+" !== undefined ",T&&(t+=" && Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(F)+"') "),y){t+=" && ( ";var q=$;if(q)for(var W,P=-1,j=q.length-1;P<j;){W=q[P+=1],P&&(t+=" || ");var L=e.util.getProperty(W),O=f+L;t+=" ( ( "+O+" === undefined ",T&&(t+=" || ! Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(W)+"') "),t+=") && (missing"+a+" = "+e.util.toQuotedString(e.opts.jsonPointers?W:L)+") ) "}t+=")) { ";var x="missing"+a,E="' + "+x+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(D,x,!0):D+" + "+x);var R=R||[];R.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { property: '"+e.util.escapeQuotes(F)+"', missingProperty: '"+E+"', depsCount: "+$.length+", deps: '"+e.util.escapeQuotes($.length==1?$[0]:$.join(", "))+"' } ",e.opts.messages!==!1&&(t+=" , message: 'should have ",$.length==1?t+="property "+e.util.escapeQuotes($[0]):t+="properties "+e.util.escapeQuotes($.join(", ")),t+=" when property "+e.util.escapeQuotes(F)+" is present' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var J=t;t=R.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+J+"]); ":t+=" validate.errors = ["+J+"]; return false; ":t+=" var err = "+J+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{t+=" ) { ";var M=$;if(M)for(var W,z=-1,B=M.length-1;z<B;){W=M[z+=1];var L=e.util.getProperty(W),E=e.util.escapeQuotes(W),O=f+L;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(D,W,e.opts.jsonPointers)),t+=" if ( "+O+" === undefined ",T&&(t+=" || ! Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(W)+"') "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { property: '"+e.util.escapeQuotes(F)+"', missingProperty: '"+E+"', depsCount: "+$.length+", deps: '"+e.util.escapeQuotes($.length==1?$[0]:$.join(", "))+"' } ",e.opts.messages!==!1&&(t+=" , message: 'should have ",$.length==1?t+="property "+e.util.escapeQuotes($[0]):t+="properties "+e.util.escapeQuotes($.join(", ")),t+=" when property "+e.util.escapeQuotes(F)+" is present' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}t+=" } ",y&&(u+="}",t+=" else { ")}e.errorPath=D;var N=o.baseId;for(var F in h){var C=h[F];(e.opts.strictKeywords?typeof C=="object"&&Object.keys(C).length>0||C===!1:e.util.schemaHasRules(C,e.RULES.all))&&(t+=" "+g+" = true; if ( "+f+e.util.getProperty(F)+" !== undefined ",T&&(t+=" && Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(F)+"') "),t+=") { ",o.schema=C,o.schemaPath=w+e.util.getProperty(F),o.errSchemaPath=m+"/"+e.util.escapeFragment(F),t+=" "+e.validate(o)+" ",o.baseId=N,t+=" } ",y&&(t+=" if ("+g+") { ",u+="}"))}return y&&(t+=" "+u+" if ("+b+" == errors) {"),t}});var Yi=_((ko,Zi)=>{"use strict";Zi.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="valid"+a,o=e.opts.$data&&l&&l.$data,u;o?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",u="schema"+a):u=l;var g="i"+a,h="schema"+a;o||(t+=" var "+h+" = validate.schema"+w+";"),t+="var "+b+";",o&&(t+=" if (schema"+a+" === undefined) "+b+" = true; else if (!Array.isArray(schema"+a+")) "+b+" = false; else {"),t+=""+b+" = false;for (var "+g+"=0; "+g+"<"+h+".length; "+g+"++) if (equal("+f+", "+h+"["+g+"])) { "+b+" = true; break; }",o&&(t+=" } "),t+=" if (!"+b+") { ";var I=I||[];I.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { allowedValues: schema"+a+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var T=t;return t=I.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+T+"]); ":t+=" validate.errors = ["+T+"]; return false; ":t+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" }",y&&(t+=" else { "),t}});var ea=_((Bo,Xi)=>{"use strict";Xi.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||"");if(e.opts.format===!1)return y&&(t+=" if (true) { "),t;var b=e.opts.$data&&l&&l.$data,o;b?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",o="schema"+a):o=l;var u=e.opts.unknownFormats,g=Array.isArray(u);if(b){var h="format"+a,I="isObject"+a,T="formatType"+a;t+=" var "+h+" = formats["+o+"]; var "+I+" = typeof "+h+" == 'object' && !("+h+" instanceof RegExp) && "+h+".validate; var "+T+" = "+I+" && "+h+".type || 'string'; if ("+I+") { ",e.async&&(t+=" var async"+a+" = "+h+".async; "),t+=" "+h+" = "+h+".validate; } if ( ",b&&(t+=" ("+o+" !== undefined && typeof "+o+" != 'string') || "),t+=" (",u!="ignore"&&(t+=" ("+o+" && !"+h+" ",g&&(t+=" && self._opts.unknownFormats.indexOf("+o+") == -1 "),t+=") || "),t+=" ("+h+" && "+T+" == '"+n+"' && !(typeof "+h+" == 'function' ? ",e.async?t+=" (async"+a+" ? await "+h+"("+f+") : "+h+"("+f+")) ":t+=" "+h+"("+f+") ",t+=" : "+h+".test("+f+"))))) {"}else{var h=e.formats[l];if(!h){if(u=="ignore")return e.logger.warn('unknown format "'+l+'" ignored in schema at path "'+e.errSchemaPath+'"'),y&&(t+=" if (true) { "),t;if(g&&u.indexOf(l)>=0)return y&&(t+=" if (true) { "),t;throw new Error('unknown format "'+l+'" is used in schema at path "'+e.errSchemaPath+'"')}var I=typeof h=="object"&&!(h instanceof RegExp)&&h.validate,T=I&&h.type||"string";if(I){var C=h.async===!0;h=h.validate}if(T!=n)return y&&(t+=" if (true) { "),t;if(C){if(!e.async)throw new Error("async format in sync schema");var $="formats"+e.util.getProperty(l)+".validate";t+=" if (!(await "+$+"("+f+"))) { "}else{t+=" if (! ";var $="formats"+e.util.getProperty(l);I&&($+=".validate"),typeof h=="function"?t+=" "+$+"("+f+") ":t+=" "+$+".test("+f+") ",t+=") { "}}var D=D||[];D.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { format: ",b?t+=""+o:t+=""+e.util.toQuotedString(l),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match format "`,b?t+="' + "+o+" + '":t+=""+e.util.escapeQuotes(l),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",b?t+="validate.schema"+w:t+=""+e.util.toQuotedString(l),t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var F=t;return t=D.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+F+"]); ":t+=" validate.errors = ["+F+"]; return false; ":t+=" var err = "+F+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",y&&(t+=" else { "),t}});var ra=_((Mo,ta)=>{"use strict";ta.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="valid"+a,o="errs__"+a,u=e.util.copy(e);u.level++;var g="valid"+u.level,h=e.schema.then,I=e.schema.else,T=h!==void 0&&(e.opts.strictKeywords?typeof h=="object"&&Object.keys(h).length>0||h===!1:e.util.schemaHasRules(h,e.RULES.all)),C=I!==void 0&&(e.opts.strictKeywords?typeof I=="object"&&Object.keys(I).length>0||I===!1:e.util.schemaHasRules(I,e.RULES.all)),$=u.baseId;if(T||C){var D;u.createErrors=!1,u.schema=l,u.schemaPath=w,u.errSchemaPath=m,t+=" var "+o+" = errors; var "+b+" = true; ";var F=e.compositeRule;e.compositeRule=u.compositeRule=!0,t+=" "+e.validate(u)+" ",u.baseId=$,u.createErrors=!0,t+=" errors = "+o+"; if (vErrors !== null) { if ("+o+") vErrors.length = "+o+"; else vErrors = null; } ",e.compositeRule=u.compositeRule=F,T?(t+=" if ("+g+") { ",u.schema=e.schema.then,u.schemaPath=e.schemaPath+".then",u.errSchemaPath=e.errSchemaPath+"/then",t+=" "+e.validate(u)+" ",u.baseId=$,t+=" "+b+" = "+g+"; ",T&&C?(D="ifClause"+a,t+=" var "+D+" = 'then'; "):D="'then'",t+=" } ",C&&(t+=" else { ")):t+=" if (!"+g+") { ",C&&(u.schema=e.schema.else,u.schemaPath=e.schemaPath+".else",u.errSchemaPath=e.errSchemaPath+"/else",t+=" "+e.validate(u)+" ",u.baseId=$,t+=" "+b+" = "+g+"; ",T&&C?(D="ifClause"+a,t+=" var "+D+" = 'else'; "):D="'else'",t+=" } "),t+=" if (!"+b+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { failingKeyword: "+D+" } ",e.opts.messages!==!1&&(t+=` , message: 'should match "' + `+D+` + '" schema' `),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&y&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+=" } ",y&&(t+=" else { ")}else y&&(t+=" if (true) { ");return t}});var aa=_((zo,ia)=>{"use strict";ia.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="valid"+a,o="errs__"+a,u=e.util.copy(e),g="";u.level++;var h="valid"+u.level,I="i"+a,T=u.dataLevel=e.dataLevel+1,C="data"+T,$=e.baseId;if(t+="var "+o+" = errors;var "+b+";",Array.isArray(l)){var D=e.schema.additionalItems;if(D===!1){t+=" "+b+" = "+f+".length <= "+l.length+"; ";var F=m;m=e.errSchemaPath+"/additionalItems",t+=" if (!"+b+") { ";var q=q||[];q.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { limit: "+l.length+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have more than "+l.length+" items' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var W=t;t=q.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+W+"]); ":t+=" validate.errors = ["+W+"]; return false; ":t+=" var err = "+W+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",m=F,y&&(g+="}",t+=" else { ")}var P=l;if(P){for(var j,L=-1,O=P.length-1;L<O;)if(j=P[L+=1],e.opts.strictKeywords?typeof j=="object"&&Object.keys(j).length>0||j===!1:e.util.schemaHasRules(j,e.RULES.all)){t+=" "+h+" = true; if ("+f+".length > "+L+") { ";var x=f+"["+L+"]";u.schema=j,u.schemaPath=w+"["+L+"]",u.errSchemaPath=m+"/"+L,u.errorPath=e.util.getPathExpr(e.errorPath,L,e.opts.jsonPointers,!0),u.dataPathArr[T]=L;var E=e.validate(u);u.baseId=$,e.util.varOccurences(E,C)<2?t+=" "+e.util.varReplace(E,C,x)+" ":t+=" var "+C+" = "+x+"; "+E+" ",t+=" } ",y&&(t+=" if ("+h+") { ",g+="}")}}if(typeof D=="object"&&(e.opts.strictKeywords?typeof D=="object"&&Object.keys(D).length>0||D===!1:e.util.schemaHasRules(D,e.RULES.all))){u.schema=D,u.schemaPath=e.schemaPath+".additionalItems",u.errSchemaPath=e.errSchemaPath+"/additionalItems",t+=" "+h+" = true; if ("+f+".length > "+l.length+") { for (var "+I+" = "+l.length+"; "+I+" < "+f+".length; "+I+"++) { ",u.errorPath=e.util.getPathExpr(e.errorPath,I,e.opts.jsonPointers,!0);var x=f+"["+I+"]";u.dataPathArr[T]=I;var E=e.validate(u);u.baseId=$,e.util.varOccurences(E,C)<2?t+=" "+e.util.varReplace(E,C,x)+" ":t+=" var "+C+" = "+x+"; "+E+" ",y&&(t+=" if (!"+h+") break; "),t+=" } } ",y&&(t+=" if ("+h+") { ",g+="}")}}else if(e.opts.strictKeywords?typeof l=="object"&&Object.keys(l).length>0||l===!1:e.util.schemaHasRules(l,e.RULES.all)){u.schema=l,u.schemaPath=w,u.errSchemaPath=m,t+=" for (var "+I+" = 0; "+I+" < "+f+".length; "+I+"++) { ",u.errorPath=e.util.getPathExpr(e.errorPath,I,e.opts.jsonPointers,!0);var x=f+"["+I+"]";u.dataPathArr[T]=I;var E=e.validate(u);u.baseId=$,e.util.varOccurences(E,C)<2?t+=" "+e.util.varReplace(E,C,x)+" ":t+=" var "+C+" = "+x+"; "+E+" ",y&&(t+=" if (!"+h+") break; "),t+=" }"}return y&&(t+=" "+g+" if ("+o+" == errors) {"),t}});var lr=_((Vo,na)=>{"use strict";na.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,$,f="data"+(d||""),b=e.opts.$data&&l&&l.$data,o;b?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",o="schema"+a):o=l;var u=r=="maximum",g=u?"exclusiveMaximum":"exclusiveMinimum",h=e.schema[g],I=e.opts.$data&&h&&h.$data,T=u?"<":">",C=u?">":"<",$=void 0;if(!(b||typeof l=="number"||l===void 0))throw new Error(r+" must be number");if(!(I||h===void 0||typeof h=="number"||typeof h=="boolean"))throw new Error(g+" must be number or boolean");if(I){var D=e.util.getData(h.$data,d,e.dataPathArr),F="exclusive"+a,q="exclType"+a,W="exclIsNumber"+a,P="op"+a,j="' + "+P+" + '";t+=" var schemaExcl"+a+" = "+D+"; ",D="schemaExcl"+a,t+=" var "+F+"; var "+q+" = typeof "+D+"; if ("+q+" != 'boolean' && "+q+" != 'undefined' && "+q+" != 'number') { ";var $=g,L=L||[];L.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+($||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: '"+g+" should be boolean' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var O=t;t=L.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+O+"]); ":t+=" validate.errors = ["+O+"]; return false; ":t+=" var err = "+O+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else if ( ",b&&(t+=" ("+o+" !== undefined && typeof "+o+" != 'number') || "),t+=" "+q+" == 'number' ? ( ("+F+" = "+o+" === undefined || "+D+" "+T+"= "+o+") ? "+f+" "+C+"= "+D+" : "+f+" "+C+" "+o+" ) : ( ("+F+" = "+D+" === true) ? "+f+" "+C+"= "+o+" : "+f+" "+C+" "+o+" ) || "+f+" !== "+f+") { var op"+a+" = "+F+" ? '"+T+"' : '"+T+"='; ",l===void 0&&($=g,m=e.errSchemaPath+"/"+g,o=D,b=I)}else{var W=typeof h=="number",j=T;if(W&&b){var P="'"+j+"'";t+=" if ( ",b&&(t+=" ("+o+" !== undefined && typeof "+o+" != 'number') || "),t+=" ( "+o+" === undefined || "+h+" "+T+"= "+o+" ? "+f+" "+C+"= "+h+" : "+f+" "+C+" "+o+" ) || "+f+" !== "+f+") { "}else{W&&l===void 0?(F=!0,$=g,m=e.errSchemaPath+"/"+g,o=h,C+="="):(W&&(o=Math[u?"min":"max"](h,l)),h===(W?o:!0)?(F=!0,$=g,m=e.errSchemaPath+"/"+g,C+="="):(F=!1,j+="="));var P="'"+j+"'";t+=" if ( ",b&&(t+=" ("+o+" !== undefined && typeof "+o+" != 'number') || "),t+=" "+f+" "+C+" "+o+" || "+f+" !== "+f+") { "}}$=$||r;var L=L||[];L.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+($||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { comparison: "+P+", limit: "+o+", exclusive: "+F+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be "+j+" ",b?t+="' + "+o:t+=""+o+"'"),e.opts.verbose&&(t+=" , schema: ",b?t+="validate.schema"+w:t+=""+l,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var O=t;return t=L.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+O+"]); ":t+=" validate.errors = ["+O+"]; return false; ":t+=" var err = "+O+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",y&&(t+=" else { "),t}});var dr=_((Uo,sa)=>{"use strict";sa.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,g,f="data"+(d||""),b=e.opts.$data&&l&&l.$data,o;if(b?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",o="schema"+a):o=l,!(b||typeof l=="number"))throw new Error(r+" must be number");var u=r=="maxItems"?">":"<";t+="if ( ",b&&(t+=" ("+o+" !== undefined && typeof "+o+" != 'number') || "),t+=" "+f+".length "+u+" "+o+") { ";var g=r,h=h||[];h.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(g||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { limit: "+o+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have ",r=="maxItems"?t+="more":t+="fewer",t+=" than ",b?t+="' + "+o+" + '":t+=""+l,t+=" items' "),e.opts.verbose&&(t+=" , schema: ",b?t+="validate.schema"+w:t+=""+l,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var I=t;return t=h.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+I+"]); ":t+=" validate.errors = ["+I+"]; return false; ":t+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",y&&(t+=" else { "),t}});var pr=_((Go,oa)=>{"use strict";oa.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,g,f="data"+(d||""),b=e.opts.$data&&l&&l.$data,o;if(b?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",o="schema"+a):o=l,!(b||typeof l=="number"))throw new Error(r+" must be number");var u=r=="maxLength"?">":"<";t+="if ( ",b&&(t+=" ("+o+" !== undefined && typeof "+o+" != 'number') || "),e.opts.unicode===!1?t+=" "+f+".length ":t+=" ucs2length("+f+") ",t+=" "+u+" "+o+") { ";var g=r,h=h||[];h.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(g||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { limit: "+o+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be ",r=="maxLength"?t+="longer":t+="shorter",t+=" than ",b?t+="' + "+o+" + '":t+=""+l,t+=" characters' "),e.opts.verbose&&(t+=" , schema: ",b?t+="validate.schema"+w:t+=""+l,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var I=t;return t=h.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+I+"]); ":t+=" validate.errors = ["+I+"]; return false; ":t+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",y&&(t+=" else { "),t}});var cr=_((Ho,la)=>{"use strict";la.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,g,f="data"+(d||""),b=e.opts.$data&&l&&l.$data,o;if(b?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",o="schema"+a):o=l,!(b||typeof l=="number"))throw new Error(r+" must be number");var u=r=="maxProperties"?">":"<";t+="if ( ",b&&(t+=" ("+o+" !== undefined && typeof "+o+" != 'number') || "),t+=" Object.keys("+f+").length "+u+" "+o+") { ";var g=r,h=h||[];h.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(g||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { limit: "+o+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have ",r=="maxProperties"?t+="more":t+="fewer",t+=" than ",b?t+="' + "+o+" + '":t+=""+l,t+=" properties' "),e.opts.verbose&&(t+=" , schema: ",b?t+="validate.schema"+w:t+=""+l,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var I=t;return t=h.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+I+"]); ":t+=" validate.errors = ["+I+"]; return false; ":t+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",y&&(t+=" else { "),t}});var pa=_((Qo,da)=>{"use strict";da.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b=e.opts.$data&&l&&l.$data,o;if(b?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",o="schema"+a):o=l,!(b||typeof l=="number"))throw new Error(r+" must be number");t+="var division"+a+";if (",b&&(t+=" "+o+" !== undefined && ( typeof "+o+" != 'number' || "),t+=" (division"+a+" = "+f+" / "+o+", ",e.opts.multipleOfPrecision?t+=" Math.abs(Math.round(division"+a+") - division"+a+") > 1e-"+e.opts.multipleOfPrecision+" ":t+=" division"+a+" !== parseInt(division"+a+") ",t+=" ) ",b&&(t+=" ) "),t+=" ) { ";var u=u||[];u.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { multipleOf: "+o+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be multiple of ",b?t+="' + "+o:t+=""+o+"'"),e.opts.verbose&&(t+=" , schema: ",b?t+="validate.schema"+w:t+=""+l,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var g=t;return t=u.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+g+"]); ":t+=" validate.errors = ["+g+"]; return false; ":t+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",y&&(t+=" else { "),t}});var ha=_((Ko,ca)=>{"use strict";ca.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="errs__"+a,o=e.util.copy(e);o.level++;var u="valid"+o.level;if(e.opts.strictKeywords?typeof l=="object"&&Object.keys(l).length>0||l===!1:e.util.schemaHasRules(l,e.RULES.all)){o.schema=l,o.schemaPath=w,o.errSchemaPath=m,t+=" var "+b+" = errors; ";var g=e.compositeRule;e.compositeRule=o.compositeRule=!0,o.createErrors=!1;var h;o.opts.allErrors&&(h=o.opts.allErrors,o.opts.allErrors=!1),t+=" "+e.validate(o)+" ",o.createErrors=!0,h&&(o.opts.allErrors=h),e.compositeRule=o.compositeRule=g,t+=" if ("+u+") { ";var I=I||[];I.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be valid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var T=t;t=I.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+T+"]); ":t+=" validate.errors = ["+T+"]; return false; ":t+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { errors = "+b+"; if (vErrors !== null) { if ("+b+") vErrors.length = "+b+"; else vErrors = null; } ",e.opts.allErrors&&(t+=" } ")}else t+=" var err = ",e.createErrors!==!1?(t+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be valid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",y&&(t+=" if (false) { ");return t}});var ua=_((Jo,fa)=>{"use strict";fa.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="valid"+a,o="errs__"+a,u=e.util.copy(e),g="";u.level++;var h="valid"+u.level,I=u.baseId,T="prevValid"+a,C="passingSchemas"+a;t+="var "+o+" = errors , "+T+" = false , "+b+" = false , "+C+" = null; ";var $=e.compositeRule;e.compositeRule=u.compositeRule=!0;var D=l;if(D)for(var F,q=-1,W=D.length-1;q<W;)F=D[q+=1],(e.opts.strictKeywords?typeof F=="object"&&Object.keys(F).length>0||F===!1:e.util.schemaHasRules(F,e.RULES.all))?(u.schema=F,u.schemaPath=w+"["+q+"]",u.errSchemaPath=m+"/"+q,t+=" "+e.validate(u)+" ",u.baseId=I):t+=" var "+h+" = true; ",q&&(t+=" if ("+h+" && "+T+") { "+b+" = false; "+C+" = ["+C+", "+q+"]; } else { ",g+="}"),t+=" if ("+h+") { "+b+" = "+T+" = true; "+C+" = "+q+"; }";return e.compositeRule=u.compositeRule=$,t+=""+g+"if (!"+b+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { passingSchemas: "+C+" } ",e.opts.messages!==!1&&(t+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&y&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+="} else { errors = "+o+"; if (vErrors !== null) { if ("+o+") vErrors.length = "+o+"; else vErrors = null; }",e.opts.allErrors&&(t+=" } "),t}});var ma=_((Zo,ya)=>{"use strict";ya.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b=e.opts.$data&&l&&l.$data,o;b?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",o="schema"+a):o=l;var u=b?"(new RegExp("+o+"))":e.usePattern(l);t+="if ( ",b&&(t+=" ("+o+" !== undefined && typeof "+o+" != 'string') || "),t+=" !"+u+".test("+f+") ) { ";var g=g||[];g.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { pattern: ",b?t+=""+o:t+=""+e.util.toQuotedString(l),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match pattern "`,b?t+="' + "+o+" + '":t+=""+e.util.escapeQuotes(l),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",b?t+="validate.schema"+w:t+=""+e.util.toQuotedString(l),t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var h=t;return t=g.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+h+"]); ":t+=" validate.errors = ["+h+"]; return false; ":t+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",y&&(t+=" else { "),t}});var ga=_((Yo,ba)=>{"use strict";ba.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="errs__"+a,o=e.util.copy(e),u="";o.level++;var g="valid"+o.level,h="key"+a,I="idx"+a,T=o.dataLevel=e.dataLevel+1,C="data"+T,$="dataProperties"+a,D=Object.keys(l||{}).filter(z),F=e.schema.patternProperties||{},q=Object.keys(F).filter(z),W=e.schema.additionalProperties,P=D.length||q.length,j=W===!1,L=typeof W=="object"&&Object.keys(W).length,O=e.opts.removeAdditional,x=j||L||O,E=e.opts.ownProperties,R=e.baseId,J=e.schema.required;if(J&&!(e.opts.$data&&J.$data)&&J.length<e.opts.loopRequired)var M=e.util.toHash(J);function z(Pe){return Pe!=="__proto__"}if(t+="var "+b+" = errors;var "+g+" = true;",E&&(t+=" var "+$+" = undefined;"),x){if(E?t+=" "+$+" = "+$+" || Object.keys("+f+"); for (var "+I+"=0; "+I+"<"+$+".length; "+I+"++) { var "+h+" = "+$+"["+I+"]; ":t+=" for (var "+h+" in "+f+") { ",P){if(t+=" var isAdditional"+a+" = !(false ",D.length)if(D.length>8)t+=" || validate.schema"+w+".hasOwnProperty("+h+") ";else{var B=D;if(B)for(var N,re=-1,he=B.length-1;re<he;)N=B[re+=1],t+=" || "+h+" == "+e.util.toQuotedString(N)+" "}if(q.length){var ue=q;if(ue)for(var G,ne=-1,pe=ue.length-1;ne<pe;)G=ue[ne+=1],t+=" || "+e.usePattern(G)+".test("+h+") "}t+=" ); if (isAdditional"+a+") { "}if(O=="all")t+=" delete "+f+"["+h+"]; ";else{var ye=e.errorPath,je="' + "+h+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,h,e.opts.jsonPointers)),j)if(O)t+=" delete "+f+"["+h+"]; ";else{t+=" "+g+" = false; ";var Fe=m;m=e.errSchemaPath+"/additionalProperties";var se=se||[];se.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { additionalProperty: '"+je+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is an invalid additional property":t+="should NOT have additional properties",t+="' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var ie=t;t=se.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+ie+"]); ":t+=" validate.errors = ["+ie+"]; return false; ":t+=" var err = "+ie+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",m=Fe,y&&(t+=" break; ")}else if(L)if(O=="failing"){t+=" var "+b+" = errors; ";var Be=e.compositeRule;e.compositeRule=o.compositeRule=!0,o.schema=W,o.schemaPath=e.schemaPath+".additionalProperties",o.errSchemaPath=e.errSchemaPath+"/additionalProperties",o.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,h,e.opts.jsonPointers);var fe=f+"["+h+"]";o.dataPathArr[T]=h;var Q=e.validate(o);o.baseId=R,e.util.varOccurences(Q,C)<2?t+=" "+e.util.varReplace(Q,C,fe)+" ":t+=" var "+C+" = "+fe+"; "+Q+" ",t+=" if (!"+g+") { errors = "+b+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+f+"["+h+"]; } ",e.compositeRule=o.compositeRule=Be}else{o.schema=W,o.schemaPath=e.schemaPath+".additionalProperties",o.errSchemaPath=e.errSchemaPath+"/additionalProperties",o.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,h,e.opts.jsonPointers);var fe=f+"["+h+"]";o.dataPathArr[T]=h;var Q=e.validate(o);o.baseId=R,e.util.varOccurences(Q,C)<2?t+=" "+e.util.varReplace(Q,C,fe)+" ":t+=" var "+C+" = "+fe+"; "+Q+" ",y&&(t+=" if (!"+g+") break; ")}e.errorPath=ye}P&&(t+=" } "),t+=" } ",y&&(t+=" if ("+g+") { ",u+="}")}var qe=e.opts.useDefaults&&!e.compositeRule;if(D.length){var Ae=D;if(Ae)for(var N,Me=-1,ze=Ae.length-1;Me<ze;){N=Ae[Me+=1];var ce=l[N];if(e.opts.strictKeywords?typeof ce=="object"&&Object.keys(ce).length>0||ce===!1:e.util.schemaHasRules(ce,e.RULES.all)){var Ie=e.util.getProperty(N),fe=f+Ie,ge=qe&&ce.default!==void 0;o.schema=ce,o.schemaPath=w+Ie,o.errSchemaPath=m+"/"+e.util.escapeFragment(N),o.errorPath=e.util.getPath(e.errorPath,N,e.opts.jsonPointers),o.dataPathArr[T]=e.util.toQuotedString(N);var Q=e.validate(o);if(o.baseId=R,e.util.varOccurences(Q,C)<2){Q=e.util.varReplace(Q,C,fe);var me=fe}else{var me=C;t+=" var "+C+" = "+fe+"; "}if(ge)t+=" "+Q+" ";else{if(M&&M[N]){t+=" if ( "+me+" === undefined ",E&&(t+=" || ! Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(N)+"') "),t+=") { "+g+" = false; ";var ye=e.errorPath,Fe=m,Ee=e.util.escapeQuotes(N);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(ye,N,e.opts.jsonPointers)),m=e.errSchemaPath+"/required";var se=se||[];se.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { missingProperty: '"+Ee+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+Ee+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var ie=t;t=se.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+ie+"]); ":t+=" validate.errors = ["+ie+"]; return false; ":t+=" var err = "+ie+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",m=Fe,e.errorPath=ye,t+=" } else { "}else y?(t+=" if ( "+me+" === undefined ",E&&(t+=" || ! Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(N)+"') "),t+=") { "+g+" = true; } else { "):(t+=" if ("+me+" !== undefined ",E&&(t+=" && Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(N)+"') "),t+=" ) { ");t+=" "+Q+" } "}}y&&(t+=" if ("+g+") { ",u+="}")}}if(q.length){var ve=q;if(ve)for(var G,ht=-1,qt=ve.length-1;ht<qt;){G=ve[ht+=1];var ce=F[G];if(e.opts.strictKeywords?typeof ce=="object"&&Object.keys(ce).length>0||ce===!1:e.util.schemaHasRules(ce,e.RULES.all)){o.schema=ce,o.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(G),o.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(G),E?t+=" "+$+" = "+$+" || Object.keys("+f+"); for (var "+I+"=0; "+I+"<"+$+".length; "+I+"++) { var "+h+" = "+$+"["+I+"]; ":t+=" for (var "+h+" in "+f+") { ",t+=" if ("+e.usePattern(G)+".test("+h+")) { ",o.errorPath=e.util.getPathExpr(e.errorPath,h,e.opts.jsonPointers);var fe=f+"["+h+"]";o.dataPathArr[T]=h;var Q=e.validate(o);o.baseId=R,e.util.varOccurences(Q,C)<2?t+=" "+e.util.varReplace(Q,C,fe)+" ":t+=" var "+C+" = "+fe+"; "+Q+" ",y&&(t+=" if (!"+g+") break; "),t+=" } ",y&&(t+=" else "+g+" = true; "),t+=" } ",y&&(t+=" if ("+g+") { ",u+="}")}}}return y&&(t+=" "+u+" if ("+b+" == errors) {"),t}});var Sa=_((Xo,va)=>{"use strict";va.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="errs__"+a,o=e.util.copy(e),u="";o.level++;var g="valid"+o.level;if(t+="var "+b+" = errors;",e.opts.strictKeywords?typeof l=="object"&&Object.keys(l).length>0||l===!1:e.util.schemaHasRules(l,e.RULES.all)){o.schema=l,o.schemaPath=w,o.errSchemaPath=m;var h="key"+a,I="idx"+a,T="i"+a,C="' + "+h+" + '",$=o.dataLevel=e.dataLevel+1,D="data"+$,F="dataProperties"+a,q=e.opts.ownProperties,W=e.baseId;q&&(t+=" var "+F+" = undefined; "),q?t+=" "+F+" = "+F+" || Object.keys("+f+"); for (var "+I+"=0; "+I+"<"+F+".length; "+I+"++) { var "+h+" = "+F+"["+I+"]; ":t+=" for (var "+h+" in "+f+") { ",t+=" var startErrs"+a+" = errors; ";var P=h,j=e.compositeRule;e.compositeRule=o.compositeRule=!0;var L=e.validate(o);o.baseId=W,e.util.varOccurences(L,D)<2?t+=" "+e.util.varReplace(L,D,P)+" ":t+=" var "+D+" = "+P+"; "+L+" ",e.compositeRule=o.compositeRule=j,t+=" if (!"+g+") { for (var "+T+"=startErrs"+a+"; "+T+"<errors; "+T+"++) { vErrors["+T+"].propertyName = "+h+"; } var err = ",e.createErrors!==!1?(t+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { propertyName: '"+C+"' } ",e.opts.messages!==!1&&(t+=" , message: 'property name \\'"+C+"\\' is invalid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&y&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),y&&(t+=" break; "),t+=" } }"}return y&&(t+=" "+u+" if ("+b+" == errors) {"),t}});var Ia=_((el,wa)=>{"use strict";wa.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="valid"+a,o=e.opts.$data&&l&&l.$data,u;o?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",u="schema"+a):u=l;var g="schema"+a;if(!o)if(l.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var h=[],I=l;if(I)for(var T,C=-1,$=I.length-1;C<$;){T=I[C+=1];var D=e.schema.properties[T];D&&(e.opts.strictKeywords?typeof D=="object"&&Object.keys(D).length>0||D===!1:e.util.schemaHasRules(D,e.RULES.all))||(h[h.length]=T)}}else var h=l;if(o||h.length){var F=e.errorPath,q=o||h.length>=e.opts.loopRequired,W=e.opts.ownProperties;if(y)if(t+=" var missing"+a+"; ",q){o||(t+=" var "+g+" = validate.schema"+w+"; ");var P="i"+a,j="schema"+a+"["+P+"]",L="' + "+j+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(F,j,e.opts.jsonPointers)),t+=" var "+b+" = true; ",o&&(t+=" if (schema"+a+" === undefined) "+b+" = true; else if (!Array.isArray(schema"+a+")) "+b+" = false; else {"),t+=" for (var "+P+" = 0; "+P+" < "+g+".length; "+P+"++) { "+b+" = "+f+"["+g+"["+P+"]] !== undefined ",W&&(t+=" && Object.prototype.hasOwnProperty.call("+f+", "+g+"["+P+"]) "),t+="; if (!"+b+") break; } ",o&&(t+=" } "),t+=" if (!"+b+") { ";var O=O||[];O.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { missingProperty: '"+L+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+L+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var x=t;t=O.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+x+"]); ":t+=" validate.errors = ["+x+"]; return false; ":t+=" var err = "+x+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { "}else{t+=" if ( ";var E=h;if(E)for(var R,P=-1,J=E.length-1;P<J;){R=E[P+=1],P&&(t+=" || ");var M=e.util.getProperty(R),z=f+M;t+=" ( ( "+z+" === undefined ",W&&(t+=" || ! Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(R)+"') "),t+=") && (missing"+a+" = "+e.util.toQuotedString(e.opts.jsonPointers?R:M)+") ) "}t+=") { ";var j="missing"+a,L="' + "+j+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(F,j,!0):F+" + "+j);var O=O||[];O.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { missingProperty: '"+L+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+L+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var x=t;t=O.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+x+"]); ":t+=" validate.errors = ["+x+"]; return false; ":t+=" var err = "+x+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { "}else if(q){o||(t+=" var "+g+" = validate.schema"+w+"; ");var P="i"+a,j="schema"+a+"["+P+"]",L="' + "+j+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(F,j,e.opts.jsonPointers)),o&&(t+=" if ("+g+" && !Array.isArray("+g+")) { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { missingProperty: '"+L+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+L+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+g+" !== undefined) { "),t+=" for (var "+P+" = 0; "+P+" < "+g+".length; "+P+"++) { if ("+f+"["+g+"["+P+"]] === undefined ",W&&(t+=" || ! Object.prototype.hasOwnProperty.call("+f+", "+g+"["+P+"]) "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { missingProperty: '"+L+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+L+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",o&&(t+=" } ")}else{var B=h;if(B)for(var R,N=-1,re=B.length-1;N<re;){R=B[N+=1];var M=e.util.getProperty(R),L=e.util.escapeQuotes(R),z=f+M;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(F,R,e.opts.jsonPointers)),t+=" if ( "+z+" === undefined ",W&&(t+=" || ! Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(R)+"') "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { missingProperty: '"+L+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+L+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=F}else y&&(t+=" if (true) {");return t}});var xa=_((tl,Ca)=>{"use strict";Ca.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),b="valid"+a,o=e.opts.$data&&l&&l.$data,u;if(o?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",u="schema"+a):u=l,(l||o)&&e.opts.uniqueItems!==!1){o&&(t+=" var "+b+"; if ("+u+" === false || "+u+" === undefined) "+b+" = true; else if (typeof "+u+" != 'boolean') "+b+" = false; else { "),t+=" var i = "+f+".length , "+b+" = true , j; if (i > 1) { ";var g=e.schema.items&&e.schema.items.type,h=Array.isArray(g);if(!g||g=="object"||g=="array"||h&&(g.indexOf("object")>=0||g.indexOf("array")>=0))t+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+f+"[i], "+f+"[j])) { "+b+" = false; break outer; } } } ";else{t+=" var itemIndices = {}, item; for (;i--;) { var item = "+f+"[i]; ";var I="checkDataType"+(h?"s":"");t+=" if ("+e.util[I](g,"item",e.opts.strictNumbers,!0)+") continue; ",h&&(t+=` if (typeof item == 'string') item = '"' + item; `),t+=" if (typeof itemIndices[item] == 'number') { "+b+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}t+=" } ",o&&(t+=" } "),t+=" if (!"+b+") { ";var T=T||[];T.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { i: i, j: j } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(t+=" , schema: ",o?t+="validate.schema"+w:t+=""+l,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var C=t;t=T.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+C+"]); ":t+=" validate.errors = ["+C+"]; return false; ":t+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",y&&(t+=" else { ")}else y&&(t+=" if (true) { ");return t}});var Pa=_((rl,Ta)=>{"use strict";Ta.exports={$ref:Ni(),allOf:ki(),anyOf:Mi(),$comment:Vi(),const:Gi(),contains:Qi(),dependencies:Ji(),enum:Yi(),format:ea(),if:ra(),items:aa(),maximum:lr(),minimum:lr(),maxItems:dr(),minItems:dr(),maxLength:pr(),minLength:pr(),maxProperties:cr(),minProperties:cr(),multipleOf:pa(),not:ha(),oneOf:ua(),pattern:ma(),properties:ga(),propertyNames:Sa(),required:Ia(),uniqueItems:xa(),validate:sr()}});var Da=_((il,$a)=>{"use strict";var Ea=Pa(),hr=He().toHash;$a.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"]}],r=["type","$comment"],n=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"],t=["number","integer","string","array","object","boolean","null"];return e.all=hr(r),e.types=hr(t),e.forEach(function(a){a.rules=a.rules.map(function(d){var l;if(typeof d=="object"){var w=Object.keys(d)[0];l=d[w],d=w,l.forEach(function(y){r.push(y),e.all[y]=!0})}r.push(d);var m=e.all[d]={keyword:d,code:Ea[d],implements:l};return m}),e.all.$comment={keyword:"$comment",code:Ea.$comment},a.type&&(e.types[a.type]=a)}),e.keywords=hr(r.concat(n)),e.custom={},e}});var Oa=_((al,Aa)=>{"use strict";var Fa=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];Aa.exports=function(i,e){for(var r=0;r<e.length;r++){i=JSON.parse(JSON.stringify(i));var n=e[r].split("/"),t=i,a;for(a=1;a<n.length;a++)t=t[n[a]];for(a=0;a<Fa.length;a++){var d=Fa[a],l=t[d];l&&(t[d]={anyOf:[l,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return i}});var Wa=_((nl,La)=>{"use strict";var bs=Et().MissingRef;La.exports=Ra;function Ra(i,e,r){var n=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");typeof e=="function"&&(r=e,e=void 0);var t=a(i).then(function(){var l=n._addSchema(i,void 0,e);return l.validate||d(l)});return r&&t.then(function(l){r(null,l)},r),t;function a(l){var w=l.$schema;return w&&!n.getSchema(w)?Ra.call(n,{$ref:w},!0):Promise.resolve()}function d(l){try{return n._compile(l)}catch(m){if(m instanceof bs)return w(m);throw m}function w(m){var y=m.missingSchema;if(o(y))throw new Error("Schema "+y+" is loaded but "+m.missingRef+" cannot be resolved");var f=n._loadingSchemas[y];return f||(f=n._loadingSchemas[y]=n._opts.loadSchema(y),f.then(b,b)),f.then(function(u){if(!o(y))return a(u).then(function(){o(y)||n.addSchema(u,y,void 0,e)})}).then(function(){return d(l)});function b(){delete n._loadingSchemas[y]}function o(u){return n._refs[u]||n._schemas[u]}}}}});var qa=_((sl,ja)=>{"use strict";ja.exports=function(e,r,n){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],w=e.schemaPath+e.util.getProperty(r),m=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f,b="data"+(d||""),o="valid"+a,u="errs__"+a,g=e.opts.$data&&l&&l.$data,h;g?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",h="schema"+a):h=l;var I=this,T="definition"+a,C=I.definition,$="",D,F,q,W,P;if(g&&C.$data){P="keywordValidate"+a;var j=C.validateSchema;t+=" var "+T+" = RULES.custom['"+r+"'].definition; var "+P+" = "+T+".validate;"}else{if(W=e.useCustomRule(I,l,e.schema,e),!W)return;h="validate.schema"+w,P=W.code,D=C.compile,F=C.inline,q=C.macro}var L=P+".errors",O="i"+a,x="ruleErr"+a,E=C.async;if(E&&!e.async)throw new Error("async keyword in sync schema");if(F||q||(t+=""+L+" = null;"),t+="var "+u+" = errors;var "+o+";",g&&C.$data&&($+="}",t+=" if ("+h+" === undefined) { "+o+" = true; } else { ",j&&($+="}",t+=" "+o+" = "+T+".validateSchema("+h+"); if ("+o+") { ")),F)C.statements?t+=" "+W.validate+" ":t+=" "+o+" = "+W.validate+"; ";else if(q){var R=e.util.copy(e),$="";R.level++;var J="valid"+R.level;R.schema=W.validate,R.schemaPath="";var M=e.compositeRule;e.compositeRule=R.compositeRule=!0;var z=e.validate(R).replace(/validate\.schema/g,P);e.compositeRule=R.compositeRule=M,t+=" "+z}else{var B=B||[];B.push(t),t="",t+=" "+P+".call( ",e.opts.passContext?t+="this":t+="self",D||C.schema===!1?t+=" , "+b+" ":t+=" , "+h+" , "+b+" , validate.schema"+e.schemaPath+" ",t+=" , (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var N=d?"data"+(d-1||""):"parentData",re=d?e.dataPathArr[d]:"parentDataProperty";t+=" , "+N+" , "+re+" , rootData ) ";var he=t;t=B.pop(),C.errors===!1?(t+=" "+o+" = ",E&&(t+="await "),t+=""+he+"; "):E?(L="customErrors"+a,t+=" var "+L+" = null; try { "+o+" = await "+he+"; } catch (e) { "+o+" = false; if (e instanceof ValidationError) "+L+" = e.errors; else throw e; } "):t+=" "+L+" = null; "+o+" = "+he+"; "}if(C.modifying&&(t+=" if ("+N+") "+b+" = "+N+"["+re+"];"),t+=""+$,C.valid)y&&(t+=" if (true) { ");else{t+=" if ( ",C.valid===void 0?(t+=" !",q?t+=""+J:t+=""+o):t+=" "+!C.valid+" ",t+=") { ",f=I.keyword;var B=B||[];B.push(t),t="";var B=B||[];B.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(f||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { keyword: '"+I.keyword+"' } ",e.opts.messages!==!1&&(t+=` , message: 'should pass "`+I.keyword+`" keyword validation' `),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "),t+=" } "):t+=" {} ";var ue=t;t=B.pop(),!e.compositeRule&&y?e.async?t+=" throw new ValidationError(["+ue+"]); ":t+=" validate.errors = ["+ue+"]; return false; ":t+=" var err = "+ue+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var G=t;t=B.pop(),F?C.errors?C.errors!="full"&&(t+=" for (var "+O+"="+u+"; "+O+"<errors; "+O+"++) { var "+x+" = vErrors["+O+"]; if ("+x+".dataPath === undefined) "+x+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+x+".schemaPath === undefined) { "+x+'.schemaPath = "'+m+'"; } ',e.opts.verbose&&(t+=" "+x+".schema = "+h+"; "+x+".data = "+b+"; "),t+=" } "):C.errors===!1?t+=" "+G+" ":(t+=" if ("+u+" == errors) { "+G+" } else { for (var "+O+"="+u+"; "+O+"<errors; "+O+"++) { var "+x+" = vErrors["+O+"]; if ("+x+".dataPath === undefined) "+x+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+x+".schemaPath === undefined) { "+x+'.schemaPath = "'+m+'"; } ',e.opts.verbose&&(t+=" "+x+".schema = "+h+"; "+x+".data = "+b+"; "),t+=" } } "):q?(t+=" var err = ",e.createErrors!==!1?(t+=" { keyword: '"+(f||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { keyword: '"+I.keyword+"' } ",e.opts.messages!==!1&&(t+=` , message: 'should pass "`+I.keyword+`" keyword validation' `),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&y&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; ")):C.errors===!1?t+=" "+G+" ":(t+=" if (Array.isArray("+L+")) { if (vErrors === null) vErrors = "+L+"; else vErrors = vErrors.concat("+L+"); errors = vErrors.length; for (var "+O+"="+u+"; "+O+"<errors; "+O+"++) { var "+x+" = vErrors["+O+"]; if ("+x+".dataPath === undefined) "+x+".dataPath = (dataPath || '') + "+e.errorPath+"; "+x+'.schemaPath = "'+m+'"; ',e.opts.verbose&&(t+=" "+x+".schema = "+h+"; "+x+".data = "+b+"; "),t+=" } } else { "+G+" } "),t+=" } ",y&&(t+=" else { ")}return t}});var fr=_((ol,gs)=>{gs.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 ka=_((ll,_a)=>{"use strict";var Na=fr();_a.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:Na.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:Na.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 Ma=_((dl,Ba)=>{"use strict";var vs=/^[a-z_$][a-z0-9_$-]*$/i,Ss=qa(),ws=ka();Ba.exports={add:Is,get:Cs,remove:xs,validate:ur};function Is(i,e){var r=this.RULES;if(r.keywords[i])throw new Error("Keyword "+i+" is already defined");if(!vs.test(i))throw new Error("Keyword "+i+" is not a valid identifier");if(e){this.validateKeyword(e,!0);var n=e.type;if(Array.isArray(n))for(var t=0;t<n.length;t++)d(i,n[t],e);else d(i,n,e);var a=e.metaSchema;a&&(e.$data&&this._opts.$data&&(a={anyOf:[a,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),e.validateSchema=this.compile(a,!0))}r.keywords[i]=r.all[i]=!0;function d(l,w,m){for(var y,f=0;f<r.length;f++){var b=r[f];if(b.type==w){y=b;break}}y||(y={type:w,rules:[]},r.push(y));var o={keyword:l,definition:m,custom:!0,code:Ss,implements:m.implements};y.rules.push(o),r.custom[l]=o}return this}function Cs(i){var e=this.RULES.custom[i];return e?e.definition:this.RULES.keywords[i]||!1}function xs(i){var e=this.RULES;delete e.keywords[i],delete e.all[i],delete e.custom[i];for(var r=0;r<e.length;r++)for(var n=e[r].rules,t=0;t<n.length;t++)if(n[t].keyword==i){n.splice(t,1);break}return this}function ur(i,e){ur.errors=null;var r=this._validateKeyword=this._validateKeyword||this.compile(ws,!0);if(r(i))return!0;if(ur.errors=r.errors,e)throw new Error("custom keyword definition is invalid: "+this.errorsText(r.errors));return!1}});var za=_((pl,Ts)=>{Ts.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 Xa=_((cl,Ya)=>{"use strict";var Ua=Ii(),Qe=Pt(),Ps=xi(),Ga=Xt(),Es=nr(),$s=ji(),Ds=Da(),Ha=Oa(),Qa=He();Ya.exports=ae;ae.prototype.validate=As;ae.prototype.compile=Os;ae.prototype.addSchema=Rs;ae.prototype.addMetaSchema=Ls;ae.prototype.validateSchema=Ws;ae.prototype.getSchema=qs;ae.prototype.removeSchema=_s;ae.prototype.addFormat=Hs;ae.prototype.errorsText=Gs;ae.prototype._addSchema=ks;ae.prototype._compile=Bs;ae.prototype.compileAsync=Wa();var Wt=Ma();ae.prototype.addKeyword=Wt.add;ae.prototype.getKeyword=Wt.get;ae.prototype.removeKeyword=Wt.remove;ae.prototype.validateKeyword=Wt.validate;var Ka=Et();ae.ValidationError=Ka.Validation;ae.MissingRefError=Ka.MissingRef;ae.$dataMetaSchema=Ha;var Lt="http://json-schema.org/draft-07/schema",Va=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],Fs=["/properties"];function ae(i){if(!(this instanceof ae))return new ae(i);i=this._opts=Qa.copy(i)||{},Xs(this),this._schemas={},this._refs={},this._fragments={},this._formats=$s(i.format),this._cache=i.cache||new Ps,this._loadingSchemas={},this._compilations=[],this.RULES=Ds(),this._getId=Ms(i),i.loopRequired=i.loopRequired||1/0,i.errorDataPath=="property"&&(i._errorDataPathProperty=!0),i.serialize===void 0&&(i.serialize=Es),this._metaOpts=Ys(this),i.formats&&Js(this),i.keywords&&Zs(this),Qs(this),typeof i.meta=="object"&&this.addMetaSchema(i.meta),i.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),Ks(this)}function As(i,e){var r;if(typeof i=="string"){if(r=this.getSchema(i),!r)throw new Error('no schema with key or ref "'+i+'"')}else{var n=this._addSchema(i);r=n.validate||this._compile(n)}var t=r(e);return r.$async!==!0&&(this.errors=r.errors),t}function Os(i,e){var r=this._addSchema(i,void 0,e);return r.validate||this._compile(r)}function Rs(i,e,r,n){if(Array.isArray(i)){for(var t=0;t<i.length;t++)this.addSchema(i[t],void 0,r,n);return this}var a=this._getId(i);if(a!==void 0&&typeof a!="string")throw new Error("schema id must be string");return e=Qe.normalizeId(e||a),Za(this,e),this._schemas[e]=this._addSchema(i,r,n,!0),this}function Ls(i,e,r){return this.addSchema(i,e,r,!0),this}function Ws(i,e){var r=i.$schema;if(r!==void 0&&typeof r!="string")throw new Error("$schema must be a string");if(r=r||this._opts.defaultMeta||js(this),!r)return this.logger.warn("meta-schema not available"),this.errors=null,!0;var n=this.validate(r,i);if(!n&&e){var t="schema is invalid: "+this.errorsText();if(this._opts.validateSchema=="log")this.logger.error(t);else throw new Error(t)}return n}function js(i){var e=i._opts.meta;return i._opts.defaultMeta=typeof e=="object"?i._getId(e)||e:i.getSchema(Lt)?Lt:void 0,i._opts.defaultMeta}function qs(i){var e=Ja(this,i);switch(typeof e){case"object":return e.validate||this._compile(e);case"string":return this.getSchema(e);case"undefined":return Ns(this,i)}}function Ns(i,e){var r=Qe.schema.call(i,{schema:{}},e);if(r){var n=r.schema,t=r.root,a=r.baseId,d=Ua.call(i,n,t,void 0,a);return i._fragments[e]=new Ga({ref:e,fragment:!0,schema:n,root:t,baseId:a,validate:d}),d}}function Ja(i,e){return e=Qe.normalizeId(e),i._schemas[e]||i._refs[e]||i._fragments[e]}function _s(i){if(i instanceof RegExp)return Rt(this,this._schemas,i),Rt(this,this._refs,i),this;switch(typeof i){case"undefined":return Rt(this,this._schemas),Rt(this,this._refs),this._cache.clear(),this;case"string":var e=Ja(this,i);return e&&this._cache.del(e.cacheKey),delete this._schemas[i],delete this._refs[i],this;case"object":var r=this._opts.serialize,n=r?r(i):i;this._cache.del(n);var t=this._getId(i);t&&(t=Qe.normalizeId(t),delete this._schemas[t],delete this._refs[t])}return this}function Rt(i,e,r){for(var n in e){var t=e[n];!t.meta&&(!r||r.test(n))&&(i._cache.del(t.cacheKey),delete e[n])}}function ks(i,e,r,n){if(typeof i!="object"&&typeof i!="boolean")throw new Error("schema should be object or boolean");var t=this._opts.serialize,a=t?t(i):i,d=this._cache.get(a);if(d)return d;n=n||this._opts.addUsedSchema!==!1;var l=Qe.normalizeId(this._getId(i));l&&n&&Za(this,l);var w=this._opts.validateSchema!==!1&&!e,m;w&&!(m=l&&l==Qe.normalizeId(i.$schema))&&this.validateSchema(i,!0);var y=Qe.ids.call(this,i),f=new Ga({id:l,schema:i,localRefs:y,cacheKey:a,meta:r});return l[0]!="#"&&n&&(this._refs[l]=f),this._cache.put(a,f),w&&m&&this.validateSchema(i,!0),f}function Bs(i,e){if(i.compiling)return i.validate=t,t.schema=i.schema,t.errors=null,t.root=e||t,i.schema.$async===!0&&(t.$async=!0),t;i.compiling=!0;var r;i.meta&&(r=this._opts,this._opts=this._metaOpts);var n;try{n=Ua.call(this,i.schema,e,i.localRefs)}catch(a){throw delete i.validate,a}finally{i.compiling=!1,i.meta&&(this._opts=r)}return i.validate=n,i.refs=n.refs,i.refVal=n.refVal,i.root=n.root,n;function t(){var a=i.validate,d=a.apply(this,arguments);return t.errors=a.errors,d}}function Ms(i){switch(i.schemaId){case"auto":return Us;case"id":return zs;default:return Vs}}function zs(i){return i.$id&&this.logger.warn("schema $id ignored",i.$id),i.id}function Vs(i){return i.id&&this.logger.warn("schema id ignored",i.id),i.$id}function Us(i){if(i.$id&&i.id&&i.$id!=i.id)throw new Error("schema $id is different from id");return i.$id||i.id}function Gs(i,e){if(i=i||this.errors,!i)return"No errors";e=e||{};for(var r=e.separator===void 0?", ":e.separator,n=e.dataVar===void 0?"data":e.dataVar,t="",a=0;a<i.length;a++){var d=i[a];d&&(t+=n+d.dataPath+" "+d.message+r)}return t.slice(0,-r.length)}function Hs(i,e){return typeof e=="string"&&(e=new RegExp(e)),this._formats[i]=e,this}function Qs(i){var e;if(i._opts.$data&&(e=za(),i.addMetaSchema(e,e.$id,!0)),i._opts.meta!==!1){var r=fr();i._opts.$data&&(r=Ha(r,Fs)),i.addMetaSchema(r,Lt,!0),i._refs["http://json-schema.org/schema"]=Lt}}function Ks(i){var e=i._opts.schemas;if(e)if(Array.isArray(e))i.addSchema(e);else for(var r in e)i.addSchema(e[r],r)}function Js(i){for(var e in i._opts.formats){var r=i._opts.formats[e];i.addFormat(e,r)}}function Zs(i){for(var e in i._opts.keywords){var r=i._opts.keywords[e];i.addKeyword(e,r)}}function Za(i,e){if(i._schemas[e]||i._refs[e])throw new Error('schema with key or id "'+e+'" already exists')}function Ys(i){for(var e=Qa.copy(i._opts),r=0;r<Va.length;r++)delete e[Va[r]];return e}function Xs(i){var e=i._opts.logger;if(e===!1)i.logger={log:yr,warn:yr,error:yr};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");i.logger=e}}function yr(){}});var en=wn(Xa(),1);var rt={$schema:"http://json-schema.org/draft-07/schema#",definitions:{WebChartTypes:{type:"string",enum:["chart","chartText","chartOverlay","chartOverlays","chartLegend","cursorCrosshair","chartAxis","gaugeAxisTick","gaugeNeedle","fixed","category","number","date","chartGuide","scatterSeries","pieSeries","pieTick","gaugeSeries","lineSeries","barSeries","histogramSeries","boxPlotSeries","radarSeries","comboLineAndBarSeries","heatSeries","buffer","sizeScale","calendarDateParts","histogramBin","locationOfInterest"],title:"WebChartTypes"},WebChartStatisticType:{type:"string",enum:["count","sum","min","max","avg","stddev","var","percentile-continuous","percentile-discrete","envelope-aggregate","centroid-aggregate","convex-hull-aggregate","no_aggregation"],title:"WebChartStatisticType"},WebChartDataTransformations:{type:"string",enum:["none","logarithmic","squareRoot"],title:"WebChartDataTransformations"},WebChartColoringPatterns:{type:"string",enum:["singleColor","colorMatch"],title:"WebChartColoringPatterns"},WebChartLegendPositions:{type:"string",enum:["left","right","top","bottom"],title:"WebChartLegendPositions"},WebChartStackedKinds:{type:"string",enum:["sideBySide","stacked","stacked100"],title:"WebChartStackedKinds"},WebChartBoxPlotMultipleSeriesKinds:{type:"string",enum:["sideBySide","meanLines"],title:"WebChartBoxPlotMultipleSeriesKinds"},WebChartSortOrderKinds:{type:"string",enum:["ASC","DESC"],title:"WebChartSortOrderKinds"},WebChartLineSmoothedKinds:{type:"string",enum:["bezier","monotoneX","monotoneY"],description:"Represents the different types of smoothing that can be applied to a line chart when the `lineSmoothed` property is set to `true`.",title:"WebChartLineSmoothedKinds"},WebChartTemporalBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","quarters","years"],description:"The temporal binning units",title:"WebChartTemporalBinningUnits"},WebChartCalendarDatePartsUnits:{type:"string",enum:["dayOfMonth","dayOfWeek","dayOfYear","hourOfDay","monthOfYear","minuteOfDay","weekOfYear","quarterOfYear"],description:"Represents the units that can be used for calendar-based date parts binning.",title:"WebChartCalendarDatePartsUnits"},WebChartCalendarBinningOffsetUnits:{type:"string",enum:["seconds","minutes","hours","days"],description:"The temporal binning units for the calendar based binning offset",title:"WebChartCalendarBinningOffsetUnits"},WebChartHeatChartHeatRulesTypes:{type:"string",enum:["gradient","renderer"],description:"Represents the different types of heat rule that can be applied to a heat chart.",title:"WebChartHeatChartHeatRulesTypes"},WebChartNullPolicyTypes:{type:"string",enum:["null","zero","interpolate"],description:"Represents the different types of null policy that can be applied to a chart using the time binning feature.",title:"WebChartNullPolicyTypes"},WebChartTimeAggregationTypes:{type:"string",enum:["equalIntervalsFromStartTime","equalIntervalsFromEndTime"],description:"Represents the different types of time aggregation that can be applied to a chart using the time binning feature.",title:"WebChartTimeAggregationTypes"},WebChartLabelBehavior:{type:"string",enum:["hide","rotate","stagger","wrap"],description:"Represents the different types of behaviors that can applied to a chart axis.",title:"WebChartLabelBehavior"},WebChartVersionStatus:{type:"string",enum:["same","newer","older","unrecognized"],title:"WebChartVersionStatus"},WebChartAxisTypes:{type:"string",enum:["value","date","category"],description:"Represents the different types of axes that can be used in a chart.",title:"WebChartAxisTypes"},GaugeChartSubTypes:{type:"string",enum:["featureGauge","statisticGauge"],description:"Represents the different types of gauge charts.",title:"GaugeChartSubTypes"},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"},WebChartRadarChartAxisLabelsOrientation:{type:"string",enum:["radial","circular","horizontal"],description:"Labels orientation for radar chart axes.",title:"WebChartRadarChartAxisLabelsOrientation"},WebChartOrderDataByTypes:{type:"string",enum:["arcgis-charts-y-value","arcgis-charts-mean","arcgis-charts-median","arcgis-charts-category","arcgis-charts-multi-axes"],description:"The types of order associated with chart data.",title:"WebChartOrderDataByTypes"},WebChartMultiAxesDataOrder:{type:"object",properties:{orderType:{type:"string",const:"arcgis-charts-multi-axes",description:"The type of order, which is two dimensional."},orderByX:{anyOf:[{type:"array",items:{type:"string"}},{$ref:"#/definitions/WebChartSortOrderKinds"}],description:"The direction of the order for the x axis. If the axis is categorical, this can also be a predefined list of labels."},orderByY:{anyOf:[{type:"array",items:{type:"string"}},{$ref:"#/definitions/WebChartSortOrderKinds"}],description:"The direction of the order for the y axis. If the axis is categorical, this can also be a predefined list of labels."}},required:["orderType"],description:`A data order option that allows the items to be ordered on both the x- and y-axes;
|
|
3
3
|
|
|
4
4
|
For each axis, the order can be either a direction (ascending or descending) for all axis types; or a predefined list of labels when the axis is categorical.`,title:"WebChartMultiAxesDataOrder"},WebChartDirectionalDataOrder:{type:"object",properties:{orderType:{type:"string",enum:["arcgis-charts-category","arcgis-charts-mean","arcgis-charts-median","arcgis-charts-y-value"],description:"The type of order, eg by category, by mean, by median, or by y value."},orderBy:{$ref:"#/definitions/WebChartSortOrderKinds",description:"The direction of the order, either ascending or descending."},preferLabel:{type:"boolean",description:"Indicates whether to order data by the label or the value.\n\nFor example, when a field has domain coded values or subtypes, setting this property to `false` will order the data by the field value. Otherwise the domain description, subtypes description, or the alias of the field will be used to sort the data.",default:!0}},required:["orderType","orderBy"],description:"A data order option that allows the items to be ordered either ascending or descending. This option can be used for the following types of order: by category, by mean, by median, and by y value.",title:"WebChartDirectionalDataOrder"},WebChartPredefinedLabelsDataOrder:{type:"object",properties:{orderType:{type:"string",const:"arcgis-charts-category",description:"The type of order, which is by category."},orderBy:{type:"array",items:{type:"string"},description:"The predefined list of labels to order the data by.\n\nWhen the value of the `preferLabel` property is set to `false`, the `orderBy` list should be a list of coded domain values or field names; otherwise, it should be a list of domain descriptions, subtypes descriptions, or field aliases."},preferLabel:{type:"boolean",description:"Indicates whether to order data by the label or the value.\n\nFor example, when a field has domain coded values or subtypes, setting this property to `false` will order the data by the field value. Otherwise the domain description, subtypes description, or the alias of the field will be used to sort the data.\n\nWhen the value is set to `true` or undefined, the `orderBy` property should contain a list of labels like domain descriptions, subtypes descriptions, or field aliases. When the value is set to `false`, the `orderBy` property should contain a list of coded domain values or field names, in order for the data to be sorted correctly.",default:!0}},required:["orderType","orderBy"],description:"A data order option that allows the items to be ordered by `category` based on a predefined list of labels.",title:"WebChartPredefinedLabelsDataOrder"},WebChartOrderSeriesBy:{type:"object",properties:{preferLabel:{type:"boolean",description:`When the value is set to true, we want to order the split-by series based on the series' names (alias, custom label, or description).
|
|
5
5
|
|
|
@@ -35,7 +35,7 @@ If not provided, the comparison distribution overlay is not displayed.`}},requir
|
|
|
35
35
|
**Note**: Not applicable to gauge.`,default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (`false`) or the outline (`true`).\n**Note**: Not applicable to 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. 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. Used for bar and line charts using a date x-axis with no time binning."},dataTooltipFontSize:{type:"number",description:"Specifies the font size for tooltip text.",default:14},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart's legend."},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing information 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, _) is 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 information on how the columns should be rendered."}},required:["id","name","type","x"],description:"Histogram shows the frequency distribution of a numerical field.",title:"WebChartHistogramSeries"},ScatterplotOverlays:{type:"object",properties:{type:{type:"string",const:"chartOverlays",description:"Represents a unique string identifier for the `ScatterplotOverlays` object. For the `ScatterplotOverlays` object, it is `chartOverlays`."},trendLine:{$ref:"#/definitions/WebChartOverlay",description:`Specifies the trend line overlay for scatterplot.
|
|
36
36
|
|
|
37
37
|
The trend line won't show if the property is not defined.`}},required:["type"],description:"Object containing scatterplot overlays.",title:"ScatterplotOverlays"},SizePolicy:{type:"object",properties:{type:{type:"string",const:"sizeScale",description:"Represents a unique string identifier for the `sizePolicy` object. For the `sizePolicy` object, it is `sizeScale`."},scaleType:{$ref:"#/definitions/SizePolicyScaleTypes",description:"The type of scale to apply to the markers (`logarithmic` or `linear`).",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"},WebChartScatterplotSeries:{type:"object",properties:{type:{type:"string",const:"scatterSeries",description:"Represents a unique string identifier for the `ScatterSeries` object. For the `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.
|
|
38
|
-
**Note**: Not applicable to gauge.`,default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (`false`) or the outline (`true`).\n**Note**: Not applicable to 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. 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. Used for bar and line charts using a date x-axis with no time binning."},dataTooltipFontSize:{type:"number",description:"Specifies the font size for tooltip text.",default:14},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart's legend."},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing information 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, _) is 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 scatterplot should be rendered."},overlays:{$ref:"#/definitions/ScatterplotOverlays",description:"Specifies all the chart overlays. The scatterplot 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 scatterplot as bubble plot, by changing dynamically the markers size according to a specific field value."},additionalTooltipFields:{type:"array",items:{type:"string"},description:"Specifies the additional numeric fields in the tooltip."}},required:["id","name","type","x","y"],description:"Scatterplot shows the relationship between two numerical fields.",title:"WebChartScatterplotSeries"},WebChartPieChartTick:{type:"object",properties:{type:{type:"string",const:"pieTick",description:"Represents a unique string identifier for the `WebChartPieChartTick` object. For the `WebChartPieChartTick` object, it is `pieTick`."},visible:{type:"boolean",description:"Determines the visibility of the tick.\n\nAssigning 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 information 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.\n\nFor 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 information 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.\n\nFor 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 information 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.\n\nIf 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 `WebChartPieChartSeries` object. For the `WebChartPieChartSeries` 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.
|
|
38
|
+
**Note**: Not applicable to gauge.`,default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (`false`) or the outline (`true`).\n**Note**: Not applicable to 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. 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. Used for bar and line charts using a date x-axis with no time binning."},dataTooltipFontSize:{type:"number",description:"Specifies the font size for tooltip text.",default:14},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart's legend."},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing information 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, _) is 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 scatterplot should be rendered."},overlays:{$ref:"#/definitions/ScatterplotOverlays",description:"Specifies all the chart overlays. The scatterplot 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 scatterplot as bubble plot, by changing dynamically the markers size according to a specific field value."},additionalTooltipFields:{type:"array",items:{type:"string"},description:"Specifies the additional numeric fields in the tooltip."},locationsOfInterest:{type:"array",items:{$ref:"#/definitions/WebChartLocationOfInterest"},description:"Specifies the locations of interest (or areas of interest) for which data to be plotted. Only applicable to imagery scatterplot."}},required:["id","name","type","x","y"],description:"Scatterplot shows the relationship between two numerical fields.",title:"WebChartScatterplotSeries"},WebChartLocationOfInterest:{type:"object",properties:{type:{type:"string",const:"locationOfInterest",description:"Represents a unique string identifier for the `LocationOfInterest` object. For a `LocationOfInterest` object, it is `locationOfInterest`."},geometry:{$ref:"#/definitions/WebChartLocationOfInterestGeometry",description:"Specifies the geometry representing the location of interest, geometry type can be point, polyline, extent, or polygon."},symbol:{$ref:"#/definitions/WebChartLocationOfInterestSymbol",description:"Specifies the symbol used to display the location of interest."},label:{type:"string",description:"Specifies the label for the location of interest."},enabled:{type:"boolean",description:"Whether the location of interest is enabled in the profile."}},required:["type","geometry","enabled"],description:"Defines a location of interest sampled by a profile series or scatterplot.",title:"WebChartLocationOfInterest"},WebChartLocationOfInterestGeometry:{anyOf:[{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IPoint"},{$ref:"#/definitions/IPolygon"},{$ref:"#/definitions/IPolyline"}],description:"Defines the geometry of a profile location/area of interest.",title:"WebChartLocationOfInterestGeometry"},WebChartLocationOfInterestSymbol:{anyOf:[{$ref:"#/definitions/ISimpleFillSymbol"},{$ref:"#/definitions/ISimpleLineSymbol"},{$ref:"#/definitions/ISimpleMarkerSymbol"}],description:"Defines the symbol used to display a profile location/area of interest.",title:"WebChartLocationOfInterestSymbol"},WebChartPieChartTick:{type:"object",properties:{type:{type:"string",const:"pieTick",description:"Represents a unique string identifier for the `WebChartPieChartTick` object. For the `WebChartPieChartTick` object, it is `pieTick`."},visible:{type:"boolean",description:"Determines the visibility of the tick.\n\nAssigning 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 information 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.\n\nFor 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 information 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.\n\nFor 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 information 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.\n\nIf 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 `WebChartPieChartSeries` object. For the `WebChartPieChartSeries` 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.
|
|
39
39
|
**Note**: Not applicable to gauge.`,default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (`false`) or the outline (`true`).\n**Note**: Not applicable to 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. 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. Used for bar and line charts using a date x-axis with no time binning."},dataTooltipFontSize:{type:"number",description:"Specifies the font size for tooltip text.",default:14},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart's legend."},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing information 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, _) is 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 information 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.\n\nIf both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`.\n\nThis 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.\n\nIf both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`\n\nThis 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.\n\nThis 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.\n\nIf both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`\n\nThis 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.\n\nIf both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`\n\nThis 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).\n\nCan 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).\n\nCan 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.\n\nDoes not affect the value or percentage displayed in labels. Not applicable to tooltips or 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.\n\nWhen set to `true` the following properties will be ignored:\n- `dataLabelsOffset`\n- `alignDataLabels`\n- `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.\n\nIgnored 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.\n\nIgnored 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.\n\nIgnored 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.\n\nWhen this property is not defined, or when a pie slice does not have a matching slice in this array, the series' fillSymbol will be used. If the series' fillSymbol does not contain color information, colors from the color ramps will be utilized."}},required:["id","name","type","x","y"],description:"JSON representation of the pie chart series",title:"WebChartPieChartSeries"},WebChartGaugeSeries:{type:"object",properties:{type:{type:"string",const:"gaugeSeries",description:"Represents a unique string identifier for the `WebChartGaugeSeries` object. For the `WebChartGaugeSeries` object, it is `gaugeSeries`."},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:`Hides or shows data tooltips.
|
|
40
40
|
**Note**: Not applicable to gauge.`,default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (`false`) or the outline (`true`).\n**Note**: Not applicable to 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. 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. Used for bar and line charts using a date x-axis with no time binning."},dataTooltipFontSize:{type:"number",description:"Specifies the font size for tooltip text.",default:14},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart's legend."},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing information 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, _) is needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},valueConversion:{$ref:"#/definitions/ValueConversion",description:"Defines the conversion to apply to the gauge value."},featureIndex:{type:"number",description:`Specifies the index of the feature to be rendered.
|
|
41
41
|
|
|
@@ -99,6 +99,6 @@ If not provided, the data will be displayed as it was retrieved from the server.
|
|
|
99
99
|
|
|
100
100
|
If not provided the series will be displayed as they are ordered in the config.`}},description:"Chart order options for data and series."},roundCorners:{type:"object",properties:{rounded:{type:"boolean",description:"Whether to round top bar corners.\n\nNOTE: Applies only to bar charts and to the bar series in combo bar-line charts. `false` or `undefined` - keep square corners. `true` - top corners are rounded. Known limitation: Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).",default:!1},cornerRadius:{type:"number",description:"Specifies the corner radius applied to rounded corners when `rounded` is `true`.\n\nNOTE: Applies only to bar charts and to the bar series in combo bar-line charts. If `undefined`, a default radius of `5` is used. If `rounded` is `false` or `undefined`, this value is ignored. Known limitation: Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).",minimum:0,multipleOf:1}},required:["rounded"],description:"Rounded corners properties for charts supporting rounded corners. NOTE: Applies only to bar charts and to the bar series in combo bar-line charts."},hideEmptyRowsAndColumns:{type:"boolean",description:"Whether to hide entire rows or columns that are empty (i.e. contain no valid data).",default:!1},viewType:{$ref:"#/definitions/WebChartHeatChartViewTypes",description:`The calendar view type for the heat chart.
|
|
101
101
|
|
|
102
|
-
**NOTE**: This property is only applicable to the calendar heat chart.`},includeLeapDay:{type:"boolean",description:"Whether to include leap day (Feb. 29th) in queries.",default:!1}},required:["series","type","version"],description:"Gives a JSON representation of the heat chart object.",title:"WebHeatChart"},'Omit<(structure-1066060463-
|
|
102
|
+
**NOTE**: This property is only applicable to the calendar heat chart.`},includeLeapDay:{type:"boolean",description:"Whether to include leap day (Feb. 29th) in queries.",default:!1}},required:["series","type","version"],description:"Gives a JSON representation of the heat chart object.",title:"WebHeatChart"},'Omit<(structure-1066060463-61830-63573-1066060463-61755-63574-1066060463-57860-64762-1066060463-0-67815|undefined)937098756,("data"|"orderByFields")>':{$ref:"#/definitions/Pick%3C(structure-1066060463-61830-63573-1066060463-61755-63574-1066060463-57860-64762-1066060463-0-67815%7Cundefined)937098756%2CExclude%3C(%22series%22%7C%22data%22%7C%22orderByFields%22)%2C(%22data%22%7C%22orderByFields%22)%3E%3E",title:'Omit<(structure-1066060463-61830-63573-1066060463-61755-63574-1066060463-57860-64762-1066060463-0-67815|undefined)937098756,("data"|"orderByFields")>'},'Pick<(structure-1066060463-61830-63573-1066060463-61755-63574-1066060463-57860-64762-1066060463-0-67815|undefined)937098756,Exclude<("series"|"data"|"orderByFields"),("data"|"orderByFields")>>':{type:"object",properties:{series:{$ref:"#/definitions/WebChartOrderSeriesBy",description:`How series should be ordered and displayed in a multi-series chart.
|
|
103
103
|
|
|
104
|
-
If not provided the series will be displayed as they are ordered in the config.`}},additionalProperties:!1,title:'Pick<(structure-1066060463-
|
|
104
|
+
If not provided the series will be displayed as they are ordered in the config.`}},additionalProperties:!1,title:'Pick<(structure-1066060463-61830-63573-1066060463-61755-63574-1066060463-57860-64762-1066060463-0-67815|undefined)937098756,Exclude<("series"|"data"|"orderByFields"),("data"|"orderByFields")>>'},OverlayTerms:{type:"string",enum:["Mean","Median","Standard Deviation","Normal Distribution","Trendline"],title:"OverlayTerms"},CalculatedMinMaxBoundsPayload:{type:"object",properties:{isXAxis:{type:"boolean"},isSecondValueAxis:{type:"boolean"},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."}},required:["isXAxis"],description:"Represents a subset of the event payload carrying the chart's axes bounds.",title:"CalculatedMinMaxBoundsPayload"},ChartDeletePayload:{type:"object",properties:{chartId:{type:"string"}},required:["chartId"],description:"Represents the payload of the event sent when a chart is removed from the chart list.",title:"ChartDeletePayload"},LegendItemVisibility:{type:"object",properties:{visible:{type:"boolean"},seriesId:{type:"string"},overlayType:{$ref:"#/definitions/OverlayTerms"},sliceId:{type:"string"},sliceData:{$ref:"#/definitions/WebChartDataItem"}},required:["visible"],description:"Represents the payload of the event sent when an item is toggled in the chart's legend (slice or series).",title:"LegendItemVisibility"}},$ref:"#/definitions/WebChart"};function eo(i){let e=i.lastIndexOf("/");return e!==-1?i.slice(e+1):i}function to(i,e){return e.map(r=>{let n=r,t=r.dataPath.startsWith(".")?r.dataPath.substring(1):r.dataPath;switch(r.keyword){case We.Required:n={...r,message:Te(i.errors.requiredProperty,{dataPath:t,missingProperty:r.params.missingProperty})};break;case We.MinLength:n={...r,message:Te(i.errors.minLength,{dataPath:t,limit:r.params.limit.toString()})};break;case We.MinItems:n={...r,message:Te(i.errors.minItems,{dataPath:t,limit:r.params.limit.toString()})};break;case We.MaxItems:n={...r,message:Te(i.errors.maxItems,{dataPath:t,limit:r.params.limit.toString()})};break;case We.Pattern:r.params.pattern==="\\w+"&&(n={...r,message:Te(i.errors.whiteSpacePattern,{dataPath:t}),params:{}});break;case We.AdditionalProperties:n={...r,message:Te(i.errors.additionalProperty,{dataPath:t,additionalProperty:r.params.additionalProperty})};break;case We.Enum:n={...r,message:Te(i.errors.enumValues,{dataPath:t,allowedValues:r.params.allowedValues.join(", ")})};break;case We.AnyOf:{let a=[];r.schemaPath==="#/properties/legend/anyOf"&&(a=rt.definitions.WebChart.properties.legend.anyOf.map(d=>eo(d.$ref))),n={...r,params:a,message:Te(i.errors.anyOfValues,{dataPath:t,schemaOptions:a.join(", ")})};break}}return n})}function jt(i,e){return{...i,$ref:`#/definitions/${e}`}}async function ro(i){let e,{queryObject:r,abortSignal:n,errorStrings:t}=i,a=_r(r);try{await a?.load({signal:n})}catch{let d=a?.url??"",l=Nr(a)?.portalItem?.id??"";e={keyword:Bt.LayerLoadFailure,message:Te(t.errors.layerLoadFailure,{url:d,portalItemId:l}),params:{url:d,portalItemId:l}}}return e}function io(){let i=new en.default({allErrors:!0});return(e,r)=>{let n=[],t=pt(r?.series),a=rt;switch(t){case de.GaugeSeries:a=jt(rt,"WebGaugeChart");break;case de.BoxPlotSeries:a=jt(rt,"WebBoxPlot");break;case de.RadarSeries:a=jt(rt,"WebRadarChart");break;default:a=jt(rt,"WebChart");break}let d=i.compile(a);return d(r),d.errors!==null&&d.errors!==void 0&&(n=to(e,d.errors)),n}}var ao=io();function no(i){let{seriesConfigs:e,queryObject:r,allowUsingObjectIdStat:n,errorStrings:t}=i,a=[],d=r?Vt(r):void 0;for(let l=0;l<e.length;l+=1){let w=e[l].query?.outStatistics;if(w!==void 0)for(let m=0;m<w.length;m+=1){let y=w[m],f=Ut(y.onStatisticField,d);if(f&&!(f.type===Rr.OID&&n||Qr(f))&&y.statisticType!==Ar.Count){let b=`series[${l}].query.outStatistics[${m}]`;a.push({keyword:zt.NonNumericAggregation,message:Te(t.errors.nonNumericAggregation,{dataPath:b}),dataPath:b,params:{fieldName:y.onStatisticField,fieldType:f.type,aggregationRequested:y.statisticType}})}}}return a}function so(i,e){let r=[];if(e!==void 0&&e.series.length>1){let n=new Set,t=0;e.series.forEach((a,d)=>{if(n.add(a.id),n.size===t){let l=`series[${d}].id`;r.push({keyword:zt.DuplicateSeriesID,message:Te(i?.errors.duplicateSeriesID??"",{dataPath:l,seriesID:a.id,seriesName:a.name}),dataPath:l,params:{seriesId:a.id,seriesName:a.name}})}else t+=1})}return r}function oo(i){let e=new Set,r=Jr(i);if(r){let n=pt(i.series),t=bt(i.series);n===de.GaugeSeries&&!Ur(i)||t===be.PieFromFields||t===be.BarAndLineFromFields||t===be.BoxPlotC1MonoField||t===be.BoxPlotC2MultiFields||t===be.BoxPlotC5MonoFieldAndSplitBy||t===be.BoxPlotC6MultiFieldsAndSplitBy||e.add(r.x);let a=n===de.ScatterSeries||n===de.BoxPlotSeries||n===de.HeatSeries||t===be.BarAndLineNoAggregation||t===be.BarAndLineSplitByNoAggregation||t===be.PieNoAggregation,d=[Wr,Mt,Br,kr,Mr,Lr.outStatistics.outStatisticFieldName??""],l=[];zr(i)?l=Gr({showMean:i.showMean,seriesConfig:i.series}):l=i.series.map(m=>"y"in m?m.y:void 0).filter(m=>m!==void 0).flat(),a?l.forEach(m=>e.add(m)):d.push(...l),i.series.forEach(m=>{let{query:y}=m;y&&(Yr(y.where)||e.add(Zr(y.where)),y.groupByFieldsForStatistics&&y.groupByFieldsForStatistics.forEach(f=>e.add(f)),y.outStatistics&&y.outStatistics.forEach(f=>e.add(f.onStatisticField)))});let w=t===be.BarAndLineNoAggregation||t===be.BarAndLineSplitByNoAggregation||t===be.PieNoAggregation;if(i.orderOptions?.orderByFields&&w&&i.orderOptions.orderByFields.forEach(m=>{let y=jr(m).fieldToSort;e.add(y)}),n===de.GaugeSeries&&i.axes?.[0]!==void 0){let m=i.axes?.[0];m&&"minimumFromField"in m&&typeof m.minimumFromField=="string"&&e.add(m.minimumFromField),m&&"maximumFromField"in m&&typeof m.maximumFromField=="string"&&e.add(m.maximumFromField)}d.forEach(m=>{e.delete(m)})}return Array.from(e.values()).filter(n=>!mt(n))}function lo(i){let{chartConfig:e,queryObject:r,errorStrings:n}=i,t,a=qr(r)?Hr({layer:r,chartType:pt(e.series)}):Vt(r),d=oo(e).filter(l=>!Ut(l,a));if(d.length>0){let l=d.join(", ");t={keyword:Bt.LayerFieldsNotFound,message:Te(n.errors.layerFieldsNotFound,{fieldNames:l}),params:l}}return t}function po(i){let{input:e,queryObject:r,allowUsingObjectIdStat:n,errorStrings:t}=i,a=[];if(r!==void 0){let d=no({seriesConfigs:e.series,queryObject:r,allowUsingObjectIdStat:n,errorStrings:t});a=a.concat(d)}return a=a.concat(so(t,e)),a}function co(i){let{queryObject:e,chartConfig:r,errorStrings:n,layerLoadError:t}=i,a=[];if(e!==void 0){if(t!==void 0)a=a.concat(t);else if(r!==void 0){let d=lo({chartConfig:r,queryObject:e,errorStrings:n});d!==void 0&&(a=a.concat(d))}}return a}function ho(i){let{input:e,queryObject:r,allowUsingObjectIdStat:n,errorStrings:t,layerLoadError:a}=i,d;if(Kr(e?.version).versionStatus===Or.Newer)d={valid:!0,schemaErrors:[],customErrors:[],warnings:[]};else{let l=ao(t,e),w=[],m=[];e!==void 0&&l.length===0&&(m=co({queryObject:r,chartConfig:e,errorStrings:t,layerLoadError:a}),m.length===0&&(w=po({input:e,queryObject:r,allowUsingObjectIdStat:n,errorStrings:t}))),d={valid:l.length===0&&w.length===0&&m.length===0,schemaErrors:l,customErrors:m,warnings:w}}return d}async function Cl(i){let{input:e,queryObject:r,allowUsingObjectIdStat:n,abortSignal:t}=i,a=i.errorStrings??(await Fr(Dr(document.documentElement).t9nLocale,$r("./assets/common/t9n"),"messages.")).errorStrings,d=await ro({errorStrings:a,queryObject:r,abortSignal:t});return ho({input:e,queryObject:r,allowUsingObjectIdStat:n,errorStrings:a,layerLoadError:d})}function xl(i){let e=pt(i?.series),r=!1;switch(e){case de.HistogramSeries:case de.GaugeSeries:{r=(i?.series?.[0]?.x?.trim()?.length??0)===0;break}case de.ScatterSeries:{let n=i?.series;r=(n?.[0]?.x?.length??0)===0||(n?.[0]?.y?.length??0)===0;break}case de.PieSeries:{let n=i?.series;bt(n)===be.PieFromFields?r=(n?.[0]?.query?.outStatistics?.length??0)===0:r=(n?.[0]?.x?.length??0)===0||n?.[0]?.x===Mt;break}case de.BoxPlotSeries:{let n=i?.series;r=[n?.[0]?.y].flat().length===0||n?.[0]?.y==="";break}case de.ComboLineAndBarSeries:case de.RadarSeries:case de.BarSeries:case de.LineSeries:{let n=i?.series;bt(n)===be.BarAndLineFromFields?r=(n?.[0]?.query?.outStatistics?.length??0)===0:r=(n?.[0]?.x?.trim()?.length??0)===0;break}case de.HeatSeries:{let n=i?.series,t=mt(n?.[0]?.x)||mt(n?.[0]?.y),a=i!==void 0&&Vr(i)?!1:n?.[0]?.xTemporalBinning===void 0;r=t||a;break}}return r}return{a:ro,b:ho,c:Cl,d:xl}},"intl",a)
|