@arcgis/charts-components 5.2.0-next.7 → 5.2.0-next.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/dist/cdn/{DPNTYHTH.js → 2B4S6PH2.js} +1 -1
  2. package/dist/cdn/{7HGVEE7A.js → 2GJX5OO6.js} +1 -1
  3. package/dist/cdn/{TJMTF45U.js → 3X5JIVJJ.js} +2 -2
  4. package/dist/cdn/{EP34TF4L.js → 44GWFKSR.js} +1 -1
  5. package/dist/cdn/{ADPDJISV.js → 4LLOMGO7.js} +1 -1
  6. package/dist/cdn/{JTTJ455Y.js → 4P7S3KIY.js} +1 -1
  7. package/dist/cdn/{WGYJBMRM.js → 55UVN4AF.js} +1 -1
  8. package/dist/cdn/{DAB5R2BN.js → 5F54SB3S.js} +1 -1
  9. package/dist/cdn/{RG3DO2OE.js → 667DYS3D.js} +1 -1
  10. package/dist/cdn/{GDQBQQUP.js → 73BVFUAA.js} +1 -1
  11. package/dist/cdn/{XG3WW5GG.js → 7DD3FFI5.js} +1 -1
  12. package/dist/cdn/{TDHHWIIC.js → 7LXWQH6J.js} +1 -1
  13. package/dist/cdn/{6CFIKYKR.js → 7TRRNFTL.js} +1 -1
  14. package/dist/cdn/{UZEMSOA2.js → 7XLZ42N6.js} +1 -1
  15. package/dist/cdn/{J6WQX4UD.js → BSP7U5YN.js} +20 -20
  16. package/dist/cdn/{IWX5L226.js → CAGJKKOW.js} +1 -1
  17. package/dist/cdn/{KO7HQLGV.js → CG6PLENK.js} +1 -1
  18. package/dist/cdn/{XCUXUZXY.js → CKRMYU2S.js} +1 -1
  19. package/dist/cdn/{L5AQ4I5T.js → CQTLTJ52.js} +1 -1
  20. package/dist/cdn/CY7GY33F.js +2 -0
  21. package/dist/cdn/{S32NLOJ5.js → D57ESYPO.js} +1 -1
  22. package/dist/cdn/{JS2KOBA2.js → DKXRIXFG.js} +1 -1
  23. package/dist/cdn/EDSF5KGV.js +233 -0
  24. package/dist/cdn/{SJGYHEMZ.js → EPUNY3VI.js} +1 -1
  25. package/dist/cdn/{Q5JDSPJA.js → FATECLIQ.js} +1 -1
  26. package/dist/cdn/{GQ5QBLRO.js → FGNRWY57.js} +1 -1
  27. package/dist/cdn/{JWO5WVTZ.js → FJ4UGRMY.js} +1 -1
  28. package/dist/cdn/{OHF3AEWY.js → G7YZE67F.js} +1 -1
  29. package/dist/cdn/{O5A25X5K.js → GGHRYV36.js} +1 -1
  30. package/dist/cdn/{CVU3UPPF.js → GOP2GNGE.js} +1 -1
  31. package/dist/cdn/{4LPXOEML.js → GQ3TDTO5.js} +1 -1
  32. package/dist/cdn/{TW5DX7YP.js → H2DP7HXE.js} +1 -1
  33. package/dist/cdn/{ICFKKJWQ.js → H42V247N.js} +1 -1
  34. package/dist/cdn/{KCMZSNBL.js → H7TZ42RW.js} +1 -1
  35. package/dist/cdn/{OGYY2Y22.js → I5B6REVT.js} +1 -1
  36. package/dist/cdn/{K4WI2SGM.js → IXKYQBM7.js} +1 -1
  37. package/dist/cdn/{PROSIXIF.js → J7XXIAQJ.js} +1 -1
  38. package/dist/cdn/{ML3A3MYV.js → JRN2TZSV.js} +1 -1
  39. package/dist/cdn/{EGISZTGB.js → JRUIUNQA.js} +1 -1
  40. package/dist/cdn/{3NUNWPAR.js → KI2YCXW6.js} +1 -1
  41. package/dist/cdn/{VZTLODMQ.js → KPPNRDOP.js} +1 -1
  42. package/dist/cdn/{RPNZL6AC.js → LB6EF2UN.js} +1 -1
  43. package/dist/cdn/{OAAJ6CIN.js → M7QVV7WC.js} +1 -1
  44. package/dist/cdn/MICVGPGC.js +2 -0
  45. package/dist/cdn/{BBUPTHPL.js → MZHOWTY3.js} +1 -1
  46. package/dist/cdn/{BO62KSB5.js → NALKWY43.js} +1 -1
  47. package/dist/cdn/{KLHZFPYK.js → OCE4FAJ4.js} +1 -1
  48. package/dist/cdn/{R75MHIRF.js → PQHVQQSI.js} +1 -1
  49. package/dist/cdn/{MVHQR4FJ.js → PRFJNHPS.js} +1 -1
  50. package/dist/cdn/{JNG6V7XC.js → QNUCPXBU.js} +1 -1
  51. package/dist/cdn/{RDA5NV6M.js → QW5KML7L.js} +1 -1
  52. package/dist/cdn/{QRLILSSI.js → QXUR76TF.js} +1 -1
  53. package/dist/cdn/{QFEZPP3R.js → RCK5VONL.js} +1 -1
  54. package/dist/cdn/{MGEW6X3Y.js → RJW2DOIR.js} +2 -2
  55. package/dist/cdn/{6GLTSMOR.js → RR63Q3C2.js} +1 -1
  56. package/dist/cdn/{43ZHPVBB.js → RRC5ESYH.js} +1 -1
  57. package/dist/cdn/{LC6CY2HW.js → SS42OW45.js} +1 -1
  58. package/dist/cdn/{PRGFNLY7.js → STM26XZG.js} +1 -1
  59. package/dist/cdn/{7OF2IANH.js → TX43YOVC.js} +1 -1
  60. package/dist/cdn/{SCAZDS2G.js → TYAN5HWQ.js} +1 -1
  61. package/dist/cdn/{DZ72EIRH.js → UAGGYOZB.js} +1 -1
  62. package/dist/cdn/{D73VV2AZ.js → UDKG7LGN.js} +1 -1
  63. package/dist/cdn/{S5UDCCRH.js → UHQGJR3U.js} +1 -1
  64. package/dist/cdn/{VBHQFV2H.js → UYOCWLLG.js} +1 -1
  65. package/dist/cdn/{6AF2OTL6.js → UYTPOUP7.js} +1 -1
  66. package/dist/cdn/{7VN3A7S2.js → VKYQGU2R.js} +1 -1
  67. package/dist/cdn/{7YWZG3ZS.js → VOSE67U2.js} +1 -1
  68. package/dist/cdn/{VFREVEVA.js → W3OA4MKU.js} +1 -1
  69. package/dist/cdn/{TCTQ4LMU.js → W6KE6F3T.js} +1 -1
  70. package/dist/cdn/{32FR66QO.js → WCJ5W5TE.js} +1 -1
  71. package/dist/cdn/{NTSTL3FK.js → WHYRYWPW.js} +1 -1
  72. package/dist/cdn/{MBVTB42G.js → WOJQ6BTB.js} +1 -1
  73. package/dist/cdn/{7EMCHGGV.js → XP6RGZ2N.js} +1 -1
  74. package/dist/cdn/{NSOZIR5F.js → XRUOXTHH.js} +1 -1
  75. package/dist/cdn/{B4KAJRUJ.js → XTNDUDWE.js} +1 -1
  76. package/dist/cdn/{HWJGWDU3.js → YAR2TF55.js} +1 -1
  77. package/dist/cdn/{TJMPLGQI.js → YRFSWIDQ.js} +1 -1
  78. package/dist/cdn/{JRHMUFED.js → ZAHVBXAQ.js} +1 -1
  79. package/dist/cdn/{QY53LXP2.js → ZG7SUAGR.js} +1 -1
  80. package/dist/cdn/{C2FOUUEM.js → ZTX2ULE6.js} +1 -1
  81. package/dist/cdn/{G72TNKCS.js → ZY44M3QZ.js} +1 -1
  82. package/dist/cdn/index.js +1 -1
  83. package/dist/cdn/model/shared/setup-utils.js +1 -1
  84. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
  85. package/dist/chart-rendering/common/interfaces.d.ts +8 -8
  86. package/dist/chunks/class-breaks.js +18 -18
  87. package/dist/chunks/index2.js +186 -186
  88. package/dist/chunks/index4.js +2 -2
  89. package/dist/chunks/model-setter.js +1 -1
  90. package/dist/chunks/rotated-state.js +1 -1
  91. package/dist/chunks/scatterplot-model.js +1 -1
  92. package/dist/chunks/serial-chart-data.js +353 -356
  93. package/dist/chunks/utils.js +5 -5
  94. package/dist/chunks/web-component-utils.js +1 -1
  95. package/dist/components/arcgis-chart/customElement.d.ts +37 -40
  96. package/dist/components/arcgis-chart/customElement.js +5199 -5329
  97. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  98. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  99. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +3 -3
  100. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  101. package/dist/components/arcgis-charts-config-create-flow/customElement.js +5 -5
  102. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +4 -4
  103. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  104. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  105. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  106. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  107. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  108. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  109. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  110. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +75 -75
  111. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  112. package/dist/docs/api.json +1 -1
  113. package/dist/docs/docs.json +1 -1
  114. package/dist/docs/vscode.html-custom-data.json +1 -1
  115. package/dist/docs/web-types.json +1 -1
  116. package/dist/index.d.ts +62 -67
  117. package/dist/index.js +210 -208
  118. package/dist/model/properties/rotated-state.d.ts +1 -1
  119. package/dist/spec/rest-js-object-literals.d.ts +2 -2
  120. package/dist/utils/chart-config/converter/index.js +1 -1
  121. package/dist/utils/chart-config/utils/index.d.ts +29 -0
  122. package/dist/utils/defaults/index.d.ts +0 -1
  123. package/dist/utils/layer/inline-conversion/index.d.ts +3 -0
  124. package/package.json +4 -4
  125. package/dist/cdn/24RLLXS6.js +0 -2
  126. package/dist/cdn/2N4MK6FQ.js +0 -2
  127. /package/dist/cdn/{YOT6DVSU.js → 2OHFSVV5.js} +0 -0
  128. /package/dist/cdn/{AM2TOTX6.js → 2XXW3WF3.js} +0 -0
  129. /package/dist/cdn/{A4GEWIPY.js → 3JYZJUOM.js} +0 -0
  130. /package/dist/cdn/{6XTKJ7DO.js → 3TZEMBXR.js} +0 -0
  131. /package/dist/cdn/{ZXOO3X5P.js → 4OH4NSIW.js} +0 -0
  132. /package/dist/cdn/{TF7TE7K5.js → 5SIAOUPO.js} +0 -0
  133. /package/dist/cdn/{7FZC3RZK.js → 7QXRWMUN.js} +0 -0
  134. /package/dist/cdn/{QOOBNATX.js → AASL4RKT.js} +0 -0
  135. /package/dist/cdn/{JBHGSSHS.js → ANN3O54W.js} +0 -0
  136. /package/dist/cdn/{KFONSKQF.js → BDGHBTPU.js} +0 -0
  137. /package/dist/cdn/{CJPEW4LJ.js → FFS73X36.js} +0 -0
  138. /package/dist/cdn/{E7OAEGSE.js → FOYOG3G7.js} +0 -0
  139. /package/dist/cdn/{IPM2XKST.js → FWAXKDYV.js} +0 -0
  140. /package/dist/cdn/{N6AOFBBX.js → H3EXGCE7.js} +0 -0
  141. /package/dist/cdn/{DKAHZ7IX.js → I6UPUSLQ.js} +0 -0
  142. /package/dist/cdn/{BJDRJUEJ.js → IYA7HQMS.js} +0 -0
  143. /package/dist/cdn/{LFQGH44F.js → L47EGLUH.js} +0 -0
  144. /package/dist/cdn/{JJIGLOJA.js → LROW4Y6O.js} +0 -0
  145. /package/dist/cdn/{A5AECJXP.js → MK5ZYSOD.js} +0 -0
  146. /package/dist/cdn/{AJWYIBGC.js → N4L5KE23.js} +0 -0
  147. /package/dist/cdn/{K3GNHGEW.js → N5ZUO6F3.js} +0 -0
  148. /package/dist/cdn/{XE3FKQFA.js → OFWEHJDH.js} +0 -0
  149. /package/dist/cdn/{XW4PBQNW.js → OXYJKZEP.js} +0 -0
  150. /package/dist/cdn/{QMSINFQX.js → QR2OOC4D.js} +0 -0
  151. /package/dist/cdn/{5MEQANMY.js → RSNZMJ6I.js} +0 -0
  152. /package/dist/cdn/{DEGBVJ76.js → S3ZSZXYG.js} +0 -0
  153. /package/dist/cdn/{ETKPMU7Z.js → SERX6V5M.js} +0 -0
  154. /package/dist/cdn/{DCZWZOPF.js → SSQ3VCZ2.js} +0 -0
  155. /package/dist/cdn/{AWF4R7WL.js → TFPQDMER.js} +0 -0
  156. /package/dist/cdn/{FF4DUQDZ.js → ULWJ57VT.js} +0 -0
  157. /package/dist/cdn/{ZFZ5AEUQ.js → UYXCGSXU.js} +0 -0
  158. /package/dist/cdn/{GV3TT7L5.js → VDKFC44J.js} +0 -0
  159. /package/dist/cdn/{5YJNENER.js → VRZ2SY6M.js} +0 -0
  160. /package/dist/cdn/{HVO4LIXR.js → WAINRCCJ.js} +0 -0
  161. /package/dist/cdn/{SBYD2EKR.js → X2LW7GTR.js} +0 -0
  162. /package/dist/cdn/{2HUAW34Q.js → XDMGH7YU.js} +0 -0
  163. /package/dist/cdn/{KUZR6CGB.js → XY4TRZCG.js} +0 -0
  164. /package/dist/cdn/{5XTQQOTT.js → XYKXBWIT.js} +0 -0
  165. /package/dist/cdn/{L4G6FO7A.js → Y6ZCTPJW.js} +0 -0
  166. /package/dist/cdn/{CLXVAIQX.js → YKDW7ZW3.js} +0 -0
  167. /package/dist/cdn/{KZ7LPNX3.js → ZBIVDGNH.js} +0 -0
@@ -1,5 +1,5 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import a from"./TJMTF45U.js";import{d as be,r as vt,z as jr}from"./ADGMA3ST.js";import{f as Lr,p as Wr}from"./PAIRUVLU.js";import{a as Rr}from"./KX7KGXKQ.js";import{f as it,g as at}from"./NZR4L5AA.js";import{H as rt}from"./CHQDKVVQ.js";import{a as gt}from"./XJFVSX2E.js";import{a as de,b as Ar,q as Or}from"./547RDEMV.js";import{b as _,d as gs}from"./U67P6YAZ.js";export default $arcgis.t(([{substitute:Te},{$b:Kr,F:Br,J:Mr,Jb:Qr,N:Vr,O:zr,Q:Ur,S:Gr,T:St,Va:Ut,Xa:Gt,Ya:We,fc:Jr,mb:Ht,n:qr,nb:Qt,pb:Hr,q:zt,r:Nr,s:_r,t:kr}])=>{var Yr=_((wt,Zr)=>{(function(i,e){typeof wt=="object"&&typeof Zr<"u"?e(wt):typeof define=="function"&&define.amd?define(["exports"],e):e(i.URI=i.URI||{})})(wt,(function(i){"use strict";function e(){for(var p=arguments.length,n=Array(p),c=0;c<p;c++)n[c]=arguments[c];if(n.length>1){n[0]=n[0].slice(0,-1);for(var S=n.length-1,w=1;w<S;++w)n[w]=n[w].slice(1,-1);return n[S]=n[S].slice(1),n.join("")}else return n[0]}function r(p){return"(?:"+p+")"}function s(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,n){var c=p;if(n)for(var S in n)c[S]=n[S];return c}function l(p){var n="[A-Za-z]",c="[\\x0D]",S="[0-9]",w="[\\x22]",A=e(S,"[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="[\\:\\/\\?\\#\\[\\]\\@]",z="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",ee=e(oe,z),le=p?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",X=p?"[\\uE000-\\uF8FF]":"[]",H=e(n,S,"[\\-\\.\\_\\~]",le),te=r(n+e(n,S,"[\\+\\-\\.]")+"*"),Z=r(r(K+"|"+e(H,z,"[\\:]"))+"*"),ze=r(r("25[0-5]")+"|"+r("2[0-4]"+S)+"|"+r("1"+S+S)+"|"+r("[1-9]"+S)+"|"+S),Se=r(r("25[0-5]")+"|"+r("2[0-4]"+S)+"|"+r("1"+S+S)+"|"+r("0?[1-9]"+S)+"|0?0?"+S),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),lt=r(r(r(Y+"\\:")+"{0,2}"+Y)+"?\\:\\:"+r(Y+"\\:")+"{2}"+we),yt=r(r(r(Y+"\\:")+"{0,3}"+Y)+"?\\:\\:"+Y+"\\:"+we),mt=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,lt,yt,mt,Je,Ze].join("|")),Ye=r(r(H+"|"+K)+"+"),Mt=r(Re+"\\%25"+Ye),Ge=r(Re+r("\\%25|\\%(?!"+A+"{2})")+Ye),cs=r("[vV]"+A+"+\\."+e(H,z,"[\\:]")+"+"),hs=r("\\["+r(Ge+"|"+Re+"|"+cs)+"\\]"),Er=r(r(K+"|"+e(H,z))+"*"),dt=r(hs+"|"+Ce+"(?!"+Er+")|"+Er),pt=r(S+"*"),$r=r(r(Z+"@")+"?"+dt+r("\\:"+pt)+"?"),ct=r(K+"|"+e(H,z,"[\\:\\@]")),fs=r(ct+"*"),Dr=r(ct+"+"),us=r(r(K+"|"+e(H,z,"[\\@]"))+"+"),Le=r(r("\\/"+fs)+"*"),Xe=r("\\/"+r(Dr+Le)+"?"),Vt=r(us+Le),bt=r(Dr+Le),et="(?!"+ct+")",po=r(Le+"|"+Xe+"|"+Vt+"|"+bt+"|"+et),tt=r(r(ct+"|"+e("[\\/\\?]",X))+"*"),ht=r(r(ct+"|[\\/\\?]")+"*"),Fr=r(r("\\/\\/"+$r+Le)+"|"+Xe+"|"+bt+"|"+et),ys=r(te+"\\:"+Fr+r("\\?"+tt)+"?"+r("\\#"+ht)+"?"),ms=r(r("\\/\\/"+$r+Le)+"|"+Xe+"|"+Vt+"|"+et),bs=r(ms+r("\\?"+tt)+"?"+r("\\#"+ht)+"?"),co=r(ys+"|"+bs),ho=r(te+"\\:"+Fr+r("\\?"+tt)+"?"),fo="^("+te+")\\:"+r(r("\\/\\/("+r("("+Z+")@")+"?("+dt+")"+r("\\:("+pt+")")+"?)")+"?("+Le+"|"+Xe+"|"+bt+"|"+et+")")+r("\\?("+tt+")")+"?"+r("\\#("+ht+")")+"?$",uo="^(){0}"+r(r("\\/\\/("+r("("+Z+")@")+"?("+dt+")"+r("\\:("+pt+")")+"?)")+"?("+Le+"|"+Xe+"|"+Vt+"|"+et+")")+r("\\?("+tt+")")+"?"+r("\\#("+ht+")")+"?$",yo="^("+te+")\\:"+r(r("\\/\\/("+r("("+Z+")@")+"?("+dt+")"+r("\\:("+pt+")")+"?)")+"?("+Le+"|"+Xe+"|"+bt+"|"+et+")")+r("\\?("+tt+")")+"?$",mo="^"+r("\\#("+ht+")")+"?$",bo="^"+r("("+Z+")@")+"?("+dt+")"+r("\\:("+pt+")")+"?$";return{NOT_SCHEME:new RegExp(e("[^]",n,S,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(e("[^\\%\\:]",H,z),"g"),NOT_HOST:new RegExp(e("[^\\%\\[\\]\\:]",H,z),"g"),NOT_PATH:new RegExp(e("[^\\%\\/\\:\\@]",H,z),"g"),NOT_PATH_NOSCHEME:new RegExp(e("[^\\%\\/\\@]",H,z),"g"),NOT_QUERY:new RegExp(e("[^\\%]",H,z,"[\\:\\@\\/\\?]",X),"g"),NOT_FRAGMENT:new RegExp(e("[^\\%]",H,z,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(e("[^]",H,z),"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 v=l(!1),b=l(!0),y=(function(){function p(n,c){var S=[],w=!0,A=!1,k=void 0;try{for(var U=n[Symbol.iterator](),K;!(w=(K=U.next()).done)&&(S.push(K.value),!(c&&S.length===c));w=!0);}catch(oe){A=!0,k=oe}finally{try{!w&&U.return&&U.return()}finally{if(A)throw k}}return S}return function(n,c){if(Array.isArray(n))return n;if(Symbol.iterator in Object(n))return p(n,c);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),f=function(p){if(Array.isArray(p)){for(var n=0,c=Array(p.length);n<p.length;n++)c[n]=p[n];return c}else return Array.from(p)},m=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,n){for(var c=[],S=p.length;S--;)c[S]=n(p[S]);return c}function E(p,n){var c=p.split("@"),S="";c.length>1&&(S=c[0]+"@",p=c[1]),p=p.replace(q,".");var w=p.split("."),A=x(w,n).join(".");return S+A}function R(p){for(var n=[],c=0,S=p.length;c<S;){var w=p.charCodeAt(c++);if(w>=55296&&w<=56319&&c<S){var A=p.charCodeAt(c++);(A&64512)==56320?n.push(((w&1023)<<10)+(A&1023)+65536):(n.push(w),c--)}else n.push(w)}return n}var J=function(n){return String.fromCodePoint.apply(String,f(n))},M=function(n){return n-48<10?n-22:n-65<26?n-65:n-97<26?n-97:o},V=function(n,c){return n+22+75*(n<26)-((c!=0)<<5)},B=function(n,c,S){var w=0;for(n=S?j(n/I):n>>1,n+=j(n/c);n>P*g>>1;w+=o)n=j(n/P);return j(w+(P+1)*n/(n+h))},N=function(n){var c=[],S=n.length,w=0,A=C,k=T,U=n.lastIndexOf($);U<0&&(U=0);for(var K=0;K<U;++K)n.charCodeAt(K)>=128&&O("not-basic"),c.push(n.charCodeAt(K));for(var oe=U>0?U+1:0;oe<S;){for(var z=w,ee=1,le=o;;le+=o){oe>=S&&O("invalid-input");var X=M(n.charCodeAt(oe++));(X>=o||X>j((m-w)/ee))&&O("overflow"),w+=X*ee;var H=le<=k?u:le>=k+g?g:le-k;if(X<H)break;var te=o-H;ee>j(m/te)&&O("overflow"),ee*=te}var Z=c.length+1;k=B(w-z,Z,z==0),j(w/Z)>m-A&&O("overflow"),A+=j(w/Z),w%=Z,c.splice(w++,0,A)}return String.fromCodePoint.apply(String,c)},re=function(n){var c=[];n=R(n);var S=n.length,w=C,A=0,k=T,U=!0,K=!1,oe=void 0;try{for(var z=n[Symbol.iterator](),ee;!(U=(ee=z.next()).done);U=!0){var le=ee.value;le<128&&c.push(L(le))}}catch(Ge){K=!0,oe=Ge}finally{try{!U&&z.return&&z.return()}finally{if(K)throw oe}}var X=c.length,H=X;for(X&&c.push($);H<S;){var te=m,Z=!0,ze=!1,Se=void 0;try{for(var Ce=n[Symbol.iterator](),Y;!(Z=(Y=Ce.next()).done);Z=!0){var we=Y.value;we>=w&&we<te&&(te=we)}}catch(Ge){ze=!0,Se=Ge}finally{try{!Z&&Ce.return&&Ce.return()}finally{if(ze)throw Se}}var xe=H+1;te-w>j((m-A)/xe)&&O("overflow"),A+=(te-w)*xe,w=te;var De=!0,Ue=!1,Oe=void 0;try{for(var lt=n[Symbol.iterator](),yt;!(De=(yt=lt.next()).done);De=!0){var mt=yt.value;if(mt<w&&++A>m&&O("overflow"),mt==w){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,Mt=o-Re;c.push(L(V(Re+Ye%Mt,0))),Je=j(Ye/Mt)}c.push(L(V(Je,0))),k=B(A,xe,H==X),A=0,++H}}}catch(Ge){Ue=!0,Oe=Ge}finally{try{!De&&lt.return&&lt.return()}finally{if(Ue)throw Oe}}++A,++w}return c.join("")},he=function(n){return E(n,function(c){return D.test(c)?N(c.slice(4).toLowerCase()):c})},ue=function(n){return E(n,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},se={};function pe(p){var n=p.charCodeAt(0),c=void 0;return n<16?c="%0"+n.toString(16).toUpperCase():n<128?c="%"+n.toString(16).toUpperCase():n<2048?c="%"+(n>>6|192).toString(16).toUpperCase()+"%"+(n&63|128).toString(16).toUpperCase():c="%"+(n>>12|224).toString(16).toUpperCase()+"%"+(n>>6&63|128).toString(16).toUpperCase()+"%"+(n&63|128).toString(16).toUpperCase(),c}function ye(p){for(var n="",c=0,S=p.length;c<S;){var w=parseInt(p.substr(c+1,2),16);if(w<128)n+=String.fromCharCode(w),c+=3;else if(w>=194&&w<224){if(S-c>=6){var A=parseInt(p.substr(c+4,2),16);n+=String.fromCharCode((w&31)<<6|A&63)}else n+=p.substr(c,6);c+=6}else if(w>=224){if(S-c>=9){var k=parseInt(p.substr(c+4,2),16),U=parseInt(p.substr(c+7,2),16);n+=String.fromCharCode((w&15)<<12|(k&63)<<6|U&63)}else n+=p.substr(c,9);c+=9}else n+=p.substr(c,3),c+=3}return n}function je(p,n){function c(S){var w=ye(S);return w.match(n.UNRESERVED)?w:S}return p.scheme&&(p.scheme=String(p.scheme).replace(n.PCT_ENCODED,c).toLowerCase().replace(n.NOT_SCHEME,"")),p.userinfo!==void 0&&(p.userinfo=String(p.userinfo).replace(n.PCT_ENCODED,c).replace(n.NOT_USERINFO,pe).replace(n.PCT_ENCODED,t)),p.host!==void 0&&(p.host=String(p.host).replace(n.PCT_ENCODED,c).toLowerCase().replace(n.NOT_HOST,pe).replace(n.PCT_ENCODED,t)),p.path!==void 0&&(p.path=String(p.path).replace(n.PCT_ENCODED,c).replace(p.scheme?n.NOT_PATH:n.NOT_PATH_NOSCHEME,pe).replace(n.PCT_ENCODED,t)),p.query!==void 0&&(p.query=String(p.query).replace(n.PCT_ENCODED,c).replace(n.NOT_QUERY,pe).replace(n.PCT_ENCODED,t)),p.fragment!==void 0&&(p.fragment=String(p.fragment).replace(n.PCT_ENCODED,c).replace(n.NOT_FRAGMENT,pe).replace(n.PCT_ENCODED,t)),p}function Fe(p){return p.replace(/^0*(.*)/,"$1")||"0"}function ne(p,n){var c=p.match(n.IPV4ADDRESS)||[],S=y(c,2),w=S[1];return w?w.split(".").map(Fe).join("."):p}function ie(p,n){var c=p.match(n.IPV6ADDRESS)||[],S=y(c,3),w=S[1],A=S[2];if(w){for(var k=w.toLowerCase().split("::").reverse(),U=y(k,2),K=U[0],oe=U[1],z=oe?oe.split(":").map(Fe):[],ee=K.split(":").map(Fe),le=n.IPV4ADDRESS.test(ee[ee.length-1]),X=le?7:8,H=ee.length-X,te=Array(X),Z=0;Z<X;++Z)te[Z]=z[Z]||ee[H+Z]||"";le&&(te[X-1]=ne(te[X-1],n));var ze=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=ze.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 n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c={},S=n.iri!==!1?b:v;n.reference==="suffix"&&(p=(n.scheme?n.scheme+":":"")+"//"+p);var w=p.match(Be);if(w){fe?(c.scheme=w[1],c.userinfo=w[3],c.host=w[4],c.port=parseInt(w[5],10),c.path=w[6]||"",c.query=w[7],c.fragment=w[8],isNaN(c.port)&&(c.port=w[5])):(c.scheme=w[1]||void 0,c.userinfo=p.indexOf("@")!==-1?w[3]:void 0,c.host=p.indexOf("//")!==-1?w[4]:void 0,c.port=parseInt(w[5],10),c.path=w[6]||"",c.query=p.indexOf("?")!==-1?w[7]:void 0,c.fragment=p.indexOf("#")!==-1?w[8]:void 0,isNaN(c.port)&&(c.port=p.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?w[4]:void 0)),c.host&&(c.host=ie(ne(c.host,S),S)),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",n.reference&&n.reference!=="suffix"&&n.reference!==c.reference&&(c.error=c.error||"URI is not a "+n.reference+" reference.");var A=se[(n.scheme||c.scheme||"").toLowerCase()];if(!n.unicodeSupport&&(!A||!A.unicodeSupport)){if(c.host&&(n.domainHost||A&&A.domainHost))try{c.host=G.toASCII(c.host.replace(S.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,v)}else je(c,S);A&&A.parse&&A.parse(c,n)}else c.error=c.error||"URI can not be parsed.";return c}function qe(p,n){var c=n.iri!==!1?b:v,S=[];return p.userinfo!==void 0&&(S.push(p.userinfo),S.push("@")),p.host!==void 0&&S.push(ie(ne(String(p.host),c),c).replace(c.IPV6ADDRESS,function(w,A,k){return"["+A+(k?"%25"+k:"")+"]"})),(typeof p.port=="number"||typeof p.port=="string")&&(S.push(":"),S.push(String(p.port))),S.length?S.join(""):void 0}var Ae=/^\.\.?\//,Me=/^\/\.(\/|$)/,Ve=/^\/\.\.(\/|$)/,ce=/^\/?(?:.|\n)*?(?=\/|$)/;function Ie(p){for(var n=[];p.length;)if(p.match(Ae))p=p.replace(Ae,"");else if(p.match(Me))p=p.replace(Me,"/");else if(p.match(Ve))p=p.replace(Ve,"/"),n.pop();else if(p==="."||p==="..")p="";else{var c=p.match(ce);if(c){var S=c[0];p=p.slice(S.length),n.push(S)}else throw new Error("Unexpected dot segment condition")}return n.join("")}function ge(p){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=n.iri?b:v,S=[],w=se[(n.scheme||p.scheme||"").toLowerCase()];if(w&&w.serialize&&w.serialize(p,n),p.host&&!c.IPV6ADDRESS.test(p.host)){if(n.domainHost||w&&w.domainHost)try{p.host=n.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 "+(n.iri?"Unicode":"ASCII")+" via punycode: "+U}}je(p,c),n.reference!=="suffix"&&p.scheme&&(S.push(p.scheme),S.push(":"));var A=qe(p,n);if(A!==void 0&&(n.reference!=="suffix"&&S.push("//"),S.push(A),p.path&&p.path.charAt(0)!=="/"&&S.push("/")),p.path!==void 0){var k=p.path;!n.absolutePath&&(!w||!w.absolutePath)&&(k=Ie(k)),A===void 0&&(k=k.replace(/^\/\//,"/%2F")),S.push(k)}return p.query!==void 0&&(S.push("?"),S.push(p.query)),p.fragment!==void 0&&(S.push("#"),S.push(p.fragment)),S.join("")}function me(p,n){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},S=arguments[3],w={};return S||(p=Q(ge(p,c),c),n=Q(ge(n,c),c)),c=c||{},!c.tolerant&&n.scheme?(w.scheme=n.scheme,w.userinfo=n.userinfo,w.host=n.host,w.port=n.port,w.path=Ie(n.path||""),w.query=n.query):(n.userinfo!==void 0||n.host!==void 0||n.port!==void 0?(w.userinfo=n.userinfo,w.host=n.host,w.port=n.port,w.path=Ie(n.path||""),w.query=n.query):(n.path?(n.path.charAt(0)==="/"?w.path=Ie(n.path):((p.userinfo!==void 0||p.host!==void 0||p.port!==void 0)&&!p.path?w.path="/"+n.path:p.path?w.path=p.path.slice(0,p.path.lastIndexOf("/")+1)+n.path:w.path=n.path,w.path=Ie(w.path)),w.query=n.query):(w.path=p.path,n.query!==void 0?w.query=n.query:w.query=p.query),w.userinfo=p.userinfo,w.host=p.host,w.port=p.port),w.scheme=p.scheme),w.fragment=n.fragment,w}function Ee(p,n,c){var S=d({scheme:"null"},c);return ge(me(Q(p,S),Q(n,S),S,!0),S)}function ve(p,n){return typeof p=="string"?p=ge(Q(p,n),n):s(p)==="object"&&(p=Q(ge(p,n),n)),p}function ut(p,n,c){return typeof p=="string"?p=ge(Q(p,c),c):s(p)==="object"&&(p=ge(p,c)),typeof n=="string"?n=ge(Q(n,c),c):s(n)==="object"&&(n=ge(n,c)),p===n}function kt(p,n){return p&&p.toString().replace(!n||!n.iri?v.ESCAPE:b.ESCAPE,pe)}function Pe(p,n){return p&&p.toString().replace(!n||!n.iri?v.PCT_ENCODED:b.PCT_ENCODED,ye)}var nt={scheme:"http",domainHost:!0,parse:function(n,c){return n.host||(n.error=n.error||"HTTP URIs must have a host."),n},serialize:function(n,c){var S=String(n.scheme).toLowerCase()==="https";return(n.port===(S?443:80)||n.port==="")&&(n.port=void 0),n.path||(n.path="/"),n}},vr={scheme:"https",domainHost:nt.domainHost,parse:nt.parse,serialize:nt.serialize};function Sr(p){return typeof p.secure=="boolean"?p.secure:String(p.scheme).toLowerCase()==="wss"}var ot={scheme:"ws",domainHost:!0,parse:function(n,c){var S=n;return S.secure=Sr(S),S.resourceName=(S.path||"/")+(S.query?"?"+S.query:""),S.path=void 0,S.query=void 0,S},serialize:function(n,c){if((n.port===(Sr(n)?443:80)||n.port==="")&&(n.port=void 0),typeof n.secure=="boolean"&&(n.scheme=n.secure?"wss":"ws",n.secure=void 0),n.resourceName){var S=n.resourceName.split("?"),w=y(S,2),A=w[0],k=w[1];n.path=A&&A!=="/"?A:void 0,n.query=k,n.resourceName=void 0}return n.fragment=void 0,n}},wr={scheme:"wss",domainHost:ot.domainHost,parse:ot.parse,serialize:ot.serialize},Xa={},es=!0,Ir="[A-Za-z0-9\\-\\.\\_\\~"+(es?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",$e="[0-9A-Fa-f]",ts=r(r("%[EFef]"+$e+"%"+$e+$e+"%"+$e+$e)+"|"+r("%[89A-Fa-f]"+$e+"%"+$e+$e)+"|"+r("%"+$e+$e)),rs="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",is="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",as=e(is,'[\\"\\\\]'),ss="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",ns=new RegExp(Ir,"g"),Ke=new RegExp(ts,"g"),os=new RegExp(e("[^]",rs,"[\\.]",'[\\"]',as),"g"),Cr=new RegExp(e("[^]",Ir,ss),"g"),ls=Cr;function Bt(p){var n=ye(p);return n.match(ns)?n:p}var xr={scheme:"mailto",parse:function(n,c){var S=n,w=S.to=S.path?S.path.split(","):[];if(S.path=void 0,S.query){for(var A=!1,k={},U=S.query.split("&"),K=0,oe=U.length;K<oe;++K){var z=U[K].split("=");switch(z[0]){case"to":for(var ee=z[1].split(","),le=0,X=ee.length;le<X;++le)w.push(ee[le]);break;case"subject":S.subject=Pe(z[1],c);break;case"body":S.body=Pe(z[1],c);break;default:A=!0,k[Pe(z[0],c)]=Pe(z[1],c);break}}A&&(S.headers=k)}S.query=void 0;for(var H=0,te=w.length;H<te;++H){var Z=w[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(ze){S.error=S.error||"Email address's domain name can not be converted to ASCII via punycode: "+ze}w[H]=Z.join("@")}return S},serialize:function(n,c){var S=n,w=a(n.to);if(w){for(var A=0,k=w.length;A<k;++A){var U=String(w[A]),K=U.lastIndexOf("@"),oe=U.slice(0,K).replace(Ke,Bt).replace(Ke,t).replace(os,pe),z=U.slice(K+1);try{z=c.iri?G.toUnicode(z):G.toASCII(Pe(z,c).toLowerCase())}catch(H){S.error=S.error||"Email address's domain name can not be converted to "+(c.iri?"Unicode":"ASCII")+" via punycode: "+H}w[A]=oe+"@"+z}S.path=w.join(",")}var ee=n.headers=n.headers||{};n.subject&&(ee.subject=n.subject),n.body&&(ee.body=n.body);var le=[];for(var X in ee)ee[X]!==Xa[X]&&le.push(X.replace(Ke,Bt).replace(Ke,t).replace(Cr,pe)+"="+ee[X].replace(Ke,Bt).replace(Ke,t).replace(ls,pe));return le.length&&(S.query=le.join("&")),S}},ds=/^([^\:]+)\:(.*)/,Tr={scheme:"urn",parse:function(n,c){var S=n.path&&n.path.match(ds),w=n;if(S){var A=c.scheme||w.scheme||"urn",k=S[1].toLowerCase(),U=S[2],K=A+":"+(c.nid||k),oe=se[K];w.nid=k,w.nss=U,w.path=void 0,oe&&(w=oe.parse(w,c))}else w.error=w.error||"URN can not be parsed.";return w},serialize:function(n,c){var S=c.scheme||n.scheme||"urn",w=n.nid,A=S+":"+(c.nid||w),k=se[A];k&&(n=k.serialize(n,c));var U=n,K=n.nss;return U.path=(w||c.nid)+":"+K,U}},ps=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Pr={scheme:"urn:uuid",parse:function(n,c){var S=n;return S.uuid=S.nss,S.nss=void 0,!c.tolerant&&(!S.uuid||!S.uuid.match(ps))&&(S.error=S.error||"UUID is not valid."),S},serialize:function(n,c){var S=n;return S.nss=(n.uuid||"").toLowerCase(),S}};se[nt.scheme]=nt,se[vr.scheme]=vr,se[ot.scheme]=ot,se[wr.scheme]=wr,se[xr.scheme]=xr,se[Tr.scheme]=Tr,se[Pr.scheme]=Pr,i.SCHEMES=se,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=ut,i.escapeComponent=kt,i.unescapeComponent=Pe,Object.defineProperty(i,"__esModule",{value:!0})}))});var It=_((go,Xr)=>{"use strict";Xr.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 s,t,a;if(Array.isArray(e)){if(s=e.length,s!=r.length)return!1;for(t=s;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),s=a.length,s!==Object.keys(r).length)return!1;for(t=s;t--!==0;)if(!Object.prototype.hasOwnProperty.call(r,a[t]))return!1;for(t=s;t--!==0;){var d=a[t];if(!i(e[d],r[d]))return!1}return!0}return e!==e&&r!==r}});var ti=_((vo,ei)=>{"use strict";ei.exports=function(e){for(var r=0,s=e.length,t=0,a;t<s;)r++,a=e.charCodeAt(t++),a>=55296&&a<=56319&&t<s&&(a=e.charCodeAt(t),(a&64512)==56320&&t++);return r}});var He=_((So,ai)=>{"use strict";ai.exports={copy:vs,checkDataType:Kt,checkDataTypes:Ss,coerceToTypes:ws,toHash:Zt,getProperty:Yt,escapeQuotes:Xt,equal:It(),ucs2length:ti(),varOccurences:xs,varReplace:Ts,schemaHasRules:Ps,schemaHasRulesExcept:Es,schemaUnknownRules:$s,toQuotedString:Jt,getPathExpr:Ds,getPath:Fs,getData:Rs,unescapeFragment:Ls,unescapeJsonPointer:tr,escapeFragment:Ws,escapeJsonPointer:er};function vs(i,e){e=e||{};for(var r in i)e[r]=i[r];return e}function Kt(i,e,r,s){var t=s?" !== ":" === ",a=s?" || ":" && ",d=s?"!":"",l=s?"":"!";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 Ss(i,e,r){switch(i.length){case 1:return Kt(i[0],e,r,!0);default:var s="",t=Zt(i);t.array&&t.object&&(s=t.null?"(":"(!"+e+" || ",s+="typeof "+e+' !== "object")',delete t.null,delete t.array,delete t.object),t.number&&delete t.integer;for(var a in t)s+=(s?" && ":"")+Kt(a,e,r,!0);return s}}var ri=Zt(["string","number","integer","boolean","null"]);function ws(i,e){if(Array.isArray(e)){for(var r=[],s=0;s<e.length;s++){var t=e[s];(ri[t]||i==="array"&&t==="array")&&(r[r.length]=t)}if(r.length)return r}else{if(ri[e])return[e];if(i==="array"&&e==="array")return["array"]}}function Zt(i){for(var e={},r=0;r<i.length;r++)e[i[r]]=!0;return e}var Is=/^[a-z$_][a-z$_0-9]*$/i,Cs=/'|\\/g;function Yt(i){return typeof i=="number"?"["+i+"]":Is.test(i)?"."+i:"['"+Xt(i)+"']"}function Xt(i){return i.replace(Cs,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function xs(i,e){e+="[^0-9]";var r=i.match(new RegExp(e,"g"));return r?r.length:0}function Ts(i,e,r){return e+="([^0-9])",r=r.replace(/\$/g,"$$$$"),i.replace(new RegExp(e,"g"),r+"$1")}function Ps(i,e){if(typeof i=="boolean")return!i;for(var r in i)if(e[r])return!0}function Es(i,e,r){if(typeof i=="boolean")return!i&&r!="not";for(var s in i)if(s!=r&&e[s])return!0}function $s(i,e){if(typeof i!="boolean"){for(var r in i)if(!e[r])return r}}function Jt(i){return"'"+Xt(i)+"'"}function Ds(i,e,r,s){var t=r?"'/' + "+e+(s?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):s?"'[' + "+e+" + ']'":"'[\\'' + "+e+" + '\\']'";return ii(i,t)}function Fs(i,e,r){var s=Jt(r?"/"+er(e):Yt(e));return ii(i,s)}var As=/^\/(?:[^~]|~0|~1)*$/,Os=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Rs(i,e,r){var s,t,a,d;if(i==="")return"rootData";if(i[0]=="/"){if(!As.test(i))throw new Error("Invalid JSON-pointer: "+i);t=i,a="rootData"}else{if(d=i.match(Os),!d)throw new Error("Invalid JSON-pointer: "+i);if(s=+d[1],t=d[2],t=="#"){if(s>=e)throw new Error("Cannot access property/index "+s+" levels up, current level is "+e);return r[e-s]}if(s>e)throw new Error("Cannot access data "+s+" levels up, current level is "+e);if(a="data"+(e-s||""),!t)return a}for(var l=a,v=t.split("/"),b=0;b<v.length;b++){var y=v[b];y&&(a+=Yt(tr(y)),l+=" && "+a)}return l}function ii(i,e){return i=='""'?e:(i+" + "+e).replace(/([^\\])' \+ '/g,"$1")}function Ls(i){return tr(decodeURIComponent(i))}function Ws(i){return encodeURIComponent(er(i))}function er(i){return i.replace(/~/g,"~0").replace(/\//g,"~1")}function tr(i){return i.replace(/~1/g,"/").replace(/~0/g,"~")}});var rr=_((wo,si)=>{"use strict";var js=He();si.exports=qs;function qs(i){js.copy(i,this)}});var oi=_((Io,ni)=>{"use strict";var Ne=ni.exports=function(i,e,r){typeof e=="function"&&(r=e,e={}),r=e.cb||r;var s=typeof r=="function"?r:r.pre||function(){},t=r.post||function(){};Ct(e,s,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 Ct(i,e,r,s,t,a,d,l,v,b){if(s&&typeof s=="object"&&!Array.isArray(s)){e(s,t,a,d,l,v,b);for(var y in s){var f=s[y];if(Array.isArray(f)){if(y in Ne.arrayKeywords)for(var m=0;m<f.length;m++)Ct(i,e,r,f[m],t+"/"+y+"/"+m,a,t,y,s,m)}else if(y in Ne.propsKeywords){if(f&&typeof f=="object")for(var o in f)Ct(i,e,r,f[o],t+"/"+y+"/"+Ns(o),a,t,y,s,o)}else(y in Ne.keywords||i.allKeys&&!(y in Ne.skipKeywords))&&Ct(i,e,r,f,t+"/"+y,a,t,y,s)}r(s,t,a,d,l,v,b)}}function Ns(i){return i.replace(/~/g,"~0").replace(/\//g,"~1")}});var Dt=_((Co,ci)=>{"use strict";var ft=Yr(),li=It(),Et=He(),xt=rr(),_s=oi();ci.exports=ke;ke.normalizeId=_e;ke.fullPath=Tt;ke.url=Pt;ke.ids=zs;ke.inlineRef=ir;ke.schema=$t;function ke(i,e,r){var s=this._refs[r];if(typeof s=="string")if(this._refs[s])s=this._refs[s];else return ke.call(this,i,e,s);if(s=s||this._schemas[r],s instanceof xt)return ir(s.schema,this._opts.inlineRefs)?s.schema:s.validate||this._compile(s);var t=$t.call(this,e,r),a,d,l;return t&&(a=t.schema,e=t.root,l=t.baseId),a instanceof xt?d=a.validate||i.call(this,a.schema,e,void 0,l):a!==void 0&&(d=ir(a,this._opts.inlineRefs)?a:i.call(this,a,e,void 0,l)),d}function $t(i,e){var r=ft.parse(e),s=pi(r),t=Tt(this._getId(i.schema));if(Object.keys(i.schema).length===0||s!==t){var a=_e(s),d=this._refs[a];if(typeof d=="string")return ks.call(this,i,d,r);if(d instanceof xt)d.validate||this._compile(d),i=d;else if(d=this._schemas[a],d instanceof xt){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=Tt(this._getId(i.schema))}return di.call(this,r,t,i.schema,i)}function ks(i,e,r){var s=$t.call(this,i,e);if(s){var t=s.schema,a=s.baseId;i=s.root;var d=this._getId(t);return d&&(a=Pt(a,d)),di.call(this,r,a,t,i)}}var Bs=Et.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function di(i,e,r,s){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=Et.unescapeFragment(d),r=r[d],r===void 0)break;var l;if(!Bs[d]&&(l=this._getId(r),l&&(e=Pt(e,l)),r.$ref)){var v=Pt(e,r.$ref),b=$t.call(this,s,v);b&&(r=b.schema,s=b.root,e=b.baseId)}}}if(r!==void 0&&r!==s.schema)return{schema:r,root:s,baseId:e}}}var Ms=Et.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function ir(i,e){if(e===!1)return!1;if(e===void 0||e===!0)return ar(i);if(e)return sr(i)<=e}function ar(i){var e;if(Array.isArray(i)){for(var r=0;r<i.length;r++)if(e=i[r],typeof e=="object"&&!ar(e))return!1}else for(var s in i)if(s=="$ref"||(e=i[s],typeof e=="object"&&!ar(e)))return!1;return!0}function sr(i){var e=0,r;if(Array.isArray(i)){for(var s=0;s<i.length;s++)if(r=i[s],typeof r=="object"&&(e+=sr(r)),e==1/0)return 1/0}else for(var t in i){if(t=="$ref")return 1/0;if(Ms[t])e++;else if(r=i[t],typeof r=="object"&&(e+=sr(r)+1),e==1/0)return 1/0}return e}function Tt(i,e){e!==!1&&(i=_e(i));var r=ft.parse(i);return pi(r)}function pi(i){return ft.serialize(i).split("#")[0]+"#"}var Vs=/#\/?$/;function _e(i){return i?i.replace(Vs,""):""}function Pt(i,e){return e=_e(e),ft.resolve(i,e)}function zs(i){var e=_e(this._getId(i)),r={"":e},s={"":Tt(e,!1)},t={},a=this;return _s(i,{allKeys:!0},function(d,l,v,b,y,f,m){if(l!==""){var o=a._getId(d),u=r[b],g=s[b]+"/"+y;if(m!==void 0&&(g+="/"+(typeof m=="number"?m:Et.escapeFragment(m))),typeof o=="string"){o=u=_e(u?ft.resolve(u,o):o);var h=a._refs[o];if(typeof h=="string"&&(h=a._refs[h]),h&&h.schema){if(!li(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]&&!li(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,s[l]=g}}),t}});var Ft=_((xo,fi)=>{"use strict";var nr=Dt();fi.exports={Validation:hi(Us),MissingRef:hi(or)};function Us(i){this.message="validation failed",this.errors=i,this.ajv=this.validation=!0}or.message=function(i,e){return"can't resolve reference "+e+" from id "+i};function or(i,e,r){this.message=r||or.message(i,e),this.missingRef=nr.url(i,e),this.missingSchema=nr.normalizeId(nr.fullPath(this.missingRef))}function hi(i){return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}});var lr=_((To,ui)=>{"use strict";ui.exports=function(i,e){e||(e={}),typeof e=="function"&&(e={cmp:e});var r=typeof e.cycles=="boolean"?e.cycles:!1,s=e.cmp&&(function(a){return function(d){return function(l,v){var b={key:l,value:d[l]},y={key:v,value:d[v]};return a(b,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,v;if(Array.isArray(d)){for(v="[",l=0;l<d.length;l++)l&&(v+=","),v+=a(d[l])||"null";return v+"]"}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 b=t.push(d)-1,y=Object.keys(d).sort(s&&s(d));for(v="",l=0;l<y.length;l++){var f=y[l],m=a(d[f]);m&&(v&&(v+=","),v+=JSON.stringify(f)+":"+m)}return t.splice(b,1),"{"+v+"}"}})(i)}});var dr=_((Po,yi)=>{"use strict";yi.exports=function(e,r,s){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 v=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(v){var b="unknown keyword: "+v;if(e.opts.strictKeywords==="log")e.logger.warn(b);else throw new Error(b)}}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,m=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,V=-1,B=J.length-1;V<B;)M=J[V+=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 m=e.schema.properties,se=Object.keys(m),pe=se;if(pe)for(var ye,je=-1,Fe=pe.length-1;je<Fe;){ye=pe[je+=1];var ne=m[ye];if(ne.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(ne.default)+" ":t+=" "+JSON.stringify(ne.default)+" ",t+="; "}}}else if(O.type=="array"&&Array.isArray(e.schema.items)){var Be=e.schema.items;if(Be){for(var ne,V=-1,fe=Be.length-1;V<fe;)if(ne=Be[V+=1],ne.default!==void 0){var ie=g+"["+V+"]";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(ne.default)+" ":t+=" "+JSON.stringify(ne.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 Ve=qe.code(e,qe.keyword,O.type);Ve&&(t+=" "+Ve+" ",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 Si=_((Eo,vi)=>{"use strict";var At=Dt(),Rt=He(),bi=Ft(),Gs=lr(),mi=dr(),Hs=Rt.ucs2length,Qs=It(),Ks=bi.Validation;vi.exports=pr;function pr(i,e,r,s){var t=this,a=this._opts,d=[void 0],l={},v=[],b={},y=[],f={},m=[];e=e||{schema:i,refVal:d,refs:l};var o=Js.call(this,i,e,s),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,s);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{Zs.call(this,i,e,s)}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 pr.call(t,x,E,R,J);var V=x.$async===!0,B=mi({isTop:!0,schema:x,isRoot:M,baseId:J,root:E,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:bi.MissingRef,RULES:h,validate:mi,util:Rt,resolve:At,resolveRef:D,usePattern:j,useDefault:L,useCustomRule:O,opts:a,formats:g,logger:t.logger,self:t});B=Ot(d,en)+Ot(v,Ys)+Ot(y,Xs)+Ot(m,tn)+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,m,Qs,Hs,Ks),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,V&&(N.$async=!0),a.sourceCode===!0&&(N.source={code:B,patterns:v,defaults:y}),N}function D(x,E,R){E=At.url(x,E);var J=l[E],M,V;if(J!==void 0)return M=d[J],V="refVal["+J+"]",P(M,V);if(!R&&e.refs){var B=e.refs[E];if(B!==void 0)return M=e.refVal[B],V=F(E,M),P(M,V)}V=F(E);var N=At.call(t,$,e,E);if(N===void 0){var re=r&&r[E];re&&(N=At.inlineRef(re,a.inlineRefs)?re:pr.call(t,re,e,r,x))}if(N===void 0)q(E);else return W(E,N),P(N,V)}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=b[x];return E===void 0&&(E=b[x]=v.length,v[E]=x),"pattern"+E}function L(x){switch(typeof x){case"boolean":case"number":return""+x;case"string":return Rt.toQuotedString(x);case"object":if(x===null)return"null";var E=Gs(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 V=x.definition.validateSchema;if(V){var B=V(E);if(!B){var N="keyword schema is invalid: "+t.errorsText(V.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 se=m.length;return m[se]=G,{code:"customRule"+se,validate:G}}}function Js(i,e,r){var s=gi.call(this,i,e,r);return s>=0?{index:s,compiling:!0}:(s=this._compilations.length,this._compilations[s]={schema:i,root:e,baseId:r},{index:s,compiling:!1})}function Zs(i,e,r){var s=gi.call(this,i,e,r);s>=0&&this._compilations.splice(s,1)}function gi(i,e,r){for(var s=0;s<this._compilations.length;s++){var t=this._compilations[s];if(t.schema==i&&t.root==e&&t.baseId==r)return s}return-1}function Ys(i,e){return"var pattern"+i+" = new RegExp("+Rt.toQuotedString(e[i])+");"}function Xs(i){return"var default"+i+" = defaults["+i+"];"}function en(i,e){return e[i]===void 0?"":"var refVal"+i+" = refVal["+i+"];"}function tn(i){return"var customRule"+i+" = customRules["+i+"];"}function Ot(i,e){if(!i.length)return"";for(var r="",s=0;s<i.length;s++)r+=e(s,i);return r}});var Ii=_(($o,wi)=>{"use strict";var Lt=wi.exports=function(){this._cache={}};Lt.prototype.put=function(e,r){this._cache[e]=r};Lt.prototype.get=function(e){return this._cache[e]};Lt.prototype.del=function(e){delete this._cache[e]};Lt.prototype.clear=function(){this._cache={}}});var Li=_((Do,Ri)=>{"use strict";var rn=He(),an=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,sn=[0,31,28,31,30,31,30,31,31,30,31,30,31],nn=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,Ci=/^(?=.{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,on=/^(?:[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,ln=/^(?:[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,xi=/^(?:(?:[^\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,Ti=/^(?:(?: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,Pi=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,Ei=/^(?:\/(?:[^~/]|~0|~1)*)*$/,$i=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,Di=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;Ri.exports=Wt;function Wt(i){return i=i=="full"?"full":"fast",rn.copy(Wt[i])}Wt.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":xi,url:Ti,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:Ci,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:Oi,uuid:Pi,"json-pointer":Ei,"json-pointer-uri-fragment":$i,"relative-json-pointer":Di};Wt.full={date:Fi,time:Ai,"date-time":cn,uri:fn,"uri-reference":ln,"uri-template":xi,url:Ti,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:Ci,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:Oi,uuid:Pi,"json-pointer":Ei,"json-pointer-uri-fragment":$i,"relative-json-pointer":Di};function dn(i){return i%4===0&&(i%100!==0||i%400===0)}function Fi(i){var e=i.match(an);if(!e)return!1;var r=+e[1],s=+e[2],t=+e[3];return s>=1&&s<=12&&t>=1&&t<=(s==2&&dn(r)?29:sn[s])}function Ai(i,e){var r=i.match(nn);if(!r)return!1;var s=r[1],t=r[2],a=r[3],d=r[5];return(s<=23&&t<=59&&a<=59||s==23&&t==59&&a==60)&&(!e||d)}var pn=/t|\s/i;function cn(i){var e=i.split(pn);return e.length==2&&Fi(e[0])&&Ai(e[1],!0)}var hn=/\/|:/;function fn(i){return hn.test(i)&&on.test(i)}var un=/[^\\]\\Z/;function Oi(i){if(un.test(i))return!1;try{return new RegExp(i),!0}catch{return!1}}});var ji=_((Fo,Wi)=>{"use strict";Wi.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.errSchemaPath+"/"+r,b=!e.opts.allErrors,y="data"+(d||""),f="valid"+a,m,o;if(l=="#"||l=="#/")e.isRoot?(m=e.async,o="validate"):(m=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(v)+" , 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&&b?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++; ",b&&(t+=" if (false) { ")}else if(e.opts.missingRefs=="ignore")e.logger.warn(g),b&&(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+=" "+$+" ",b&&(t+=" if ("+C+") { ")}else m=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(),m){if(!e.async)throw new Error("async schema referenced by sync schema");b&&(t+=" var "+f+"; "),t+=" try { await "+q+"; ",b&&(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; ",b&&(t+=" "+f+" = false; "),t+=" } ",b&&(t+=" if ("+f+") { ")}else t+=" if (!"+q+") { if (vErrors === null) vErrors = "+o+".errors; else vErrors = vErrors.concat("+o+".errors); errors = vErrors.length; } ",b&&(t+=" else { ")}return t}});var Ni=_((Ao,qi)=>{"use strict";qi.exports=function(e,r,s){var t=" ",a=e.schema[r],d=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,v=!e.opts.allErrors,b=e.util.copy(e),y="";b.level++;var f="valid"+b.level,m=b.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,b.schema=g,b.schemaPath=d+"["+h+"]",b.errSchemaPath=l+"/"+h,t+=" "+e.validate(b)+" ",b.baseId=m,v&&(t+=" if ("+f+") { ",y+="}"));return v&&(o?t+=" if (true) { ":t+=" "+y.slice(0,-1)+" "),t}});var ki=_((Oo,_i)=>{"use strict";_i.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="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 "+m+" = 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=v+"["+F+"]",u.errSchemaPath=b+"/"+F,t+=" "+e.validate(u)+" ",u.baseId=T,t+=" "+m+" = "+m+" || "+h+"; if (!"+m+") { ",g+="}";e.compositeRule=u.compositeRule=C,t+=" "+g+" if (!"+m+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(b)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(t+=" , schema: validate.schema"+v+" , 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 Mi=_((Ro,Bi)=>{"use strict";Bi.exports=function(e,r,s){var t=" ",a=e.schema[r],d=e.errSchemaPath+"/"+r,l=!e.opts.allErrors,v=e.util.toQuotedString(a);return e.opts.$comment===!0?t+=" console.log("+v+");":typeof e.opts.$comment=="function"&&(t+=" self._opts.$comment("+v+", "+e.util.toQuotedString(d)+", validate.root.schema);"),t}});var zi=_((Lo,Vi)=>{"use strict";Vi.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="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"+v+";"),t+="var "+m+" = equal("+f+", schema"+a+"); if (!"+m+") { ";var g=g||[];g.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(b)+" , params: { allowedValue: schema"+a+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be equal to constant' "),e.opts.verbose&&(t+=" , schema: validate.schema"+v+" , 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 Gi=_((Wo,Ui)=>{"use strict";Ui.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="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 "+m+";",D){var F=e.compositeRule;e.compositeRule=u.compositeRule=!0,u.schema=l,u.schemaPath=v,u.errSchemaPath=b,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(b)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should contain a valid item' "),e.opts.verbose&&(t+=" , schema: validate.schema"+v+" , 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 Qi=_((jo,Hi)=>{"use strict";Hi.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="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 "+m+" = 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(b)+" , 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"+v+" , 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,V=-1,B=M.length-1;V<B;){W=M[V+=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(b)+" , 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"+v+" , 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=v+e.util.getProperty(F),o.errSchemaPath=b+"/"+e.util.escapeFragment(F),t+=" "+e.validate(o)+" ",o.baseId=N,t+=" } ",y&&(t+=" if ("+g+") { ",u+="}"))}return y&&(t+=" "+u+" if ("+m+" == errors) {"),t}});var Ji=_((qo,Ki)=>{"use strict";Ki.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="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"+v+";"),t+="var "+m+";",o&&(t+=" if (schema"+a+" === undefined) "+m+" = true; else if (!Array.isArray(schema"+a+")) "+m+" = false; else {"),t+=""+m+" = false;for (var "+g+"=0; "+g+"<"+h+".length; "+g+"++) if (equal("+f+", "+h+"["+g+"])) { "+m+" = true; break; }",o&&(t+=" } "),t+=" if (!"+m+") { ";var I=I||[];I.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(b)+" , 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"+v+" , 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 Yi=_((No,Zi)=>{"use strict";Zi.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||"");if(e.opts.format===!1)return y&&(t+=" if (true) { "),t;var m=e.opts.$data&&l&&l.$data,o;m?(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(m){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 ( ",m&&(t+=" ("+o+" !== undefined && typeof "+o+" != 'string') || "),t+=" (",u!="ignore"&&(t+=" ("+o+" && !"+h+" ",g&&(t+=" && self._opts.unknownFormats.indexOf("+o+") == -1 "),t+=") || "),t+=" ("+h+" && "+T+" == '"+s+"' && !(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!=s)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(b)+" , params: { format: ",m?t+=""+o:t+=""+e.util.toQuotedString(l),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match format "`,m?t+="' + "+o+" + '":t+=""+e.util.escapeQuotes(l),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",m?t+="validate.schema"+v: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 ea=_((_o,Xi)=>{"use strict";Xi.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="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=v,u.errSchemaPath=b,t+=" var "+o+" = errors; var "+m+" = 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+=" "+m+" = "+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+=" "+m+" = "+g+"; ",T&&C?(D="ifClause"+a,t+=" var "+D+" = 'else'; "):D="'else'",t+=" } "),t+=" if (!"+m+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(b)+" , params: { failingKeyword: "+D+" } ",e.opts.messages!==!1&&(t+=` , message: 'should match "' + `+D+` + '" schema' `),e.opts.verbose&&(t+=" , schema: validate.schema"+v+" , 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 ra=_((ko,ta)=>{"use strict";ta.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="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 "+m+";",Array.isArray(l)){var D=e.schema.additionalItems;if(D===!1){t+=" "+m+" = "+f+".length <= "+l.length+"; ";var F=b;b=e.errSchemaPath+"/additionalItems",t+=" if (!"+m+") { ";var q=q||[];q.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(b)+" , 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+=" } ",b=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=v+"["+L+"]",u.errSchemaPath=b+"/"+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=v,u.errSchemaPath=b,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 cr=_((Bo,ia)=>{"use strict";ia.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,$,f="data"+(d||""),m=e.opts.$data&&l&&l.$data,o;m?(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(!(m||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(b)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: '"+g+" should be boolean' "),e.opts.verbose&&(t+=" , schema: validate.schema"+v+" , 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 ( ",m&&(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,b=e.errSchemaPath+"/"+g,o=D,m=I)}else{var W=typeof h=="number",j=T;if(W&&m){var P="'"+j+"'";t+=" if ( ",m&&(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,b=e.errSchemaPath+"/"+g,o=h,C+="="):(W&&(o=Math[u?"min":"max"](h,l)),h===(W?o:!0)?(F=!0,$=g,b=e.errSchemaPath+"/"+g,C+="="):(F=!1,j+="="));var P="'"+j+"'";t+=" if ( ",m&&(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(b)+" , params: { comparison: "+P+", limit: "+o+", exclusive: "+F+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be "+j+" ",m?t+="' + "+o:t+=""+o+"'"),e.opts.verbose&&(t+=" , schema: ",m?t+="validate.schema"+v: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 hr=_((Mo,aa)=>{"use strict";aa.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,g,f="data"+(d||""),m=e.opts.$data&&l&&l.$data,o;if(m?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",o="schema"+a):o=l,!(m||typeof l=="number"))throw new Error(r+" must be number");var u=r=="maxItems"?">":"<";t+="if ( ",m&&(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(b)+" , params: { limit: "+o+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have ",r=="maxItems"?t+="more":t+="fewer",t+=" than ",m?t+="' + "+o+" + '":t+=""+l,t+=" items' "),e.opts.verbose&&(t+=" , schema: ",m?t+="validate.schema"+v: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 fr=_((Vo,sa)=>{"use strict";sa.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,g,f="data"+(d||""),m=e.opts.$data&&l&&l.$data,o;if(m?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",o="schema"+a):o=l,!(m||typeof l=="number"))throw new Error(r+" must be number");var u=r=="maxLength"?">":"<";t+="if ( ",m&&(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(b)+" , params: { limit: "+o+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be ",r=="maxLength"?t+="longer":t+="shorter",t+=" than ",m?t+="' + "+o+" + '":t+=""+l,t+=" characters' "),e.opts.verbose&&(t+=" , schema: ",m?t+="validate.schema"+v: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 ur=_((zo,na)=>{"use strict";na.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,g,f="data"+(d||""),m=e.opts.$data&&l&&l.$data,o;if(m?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",o="schema"+a):o=l,!(m||typeof l=="number"))throw new Error(r+" must be number");var u=r=="maxProperties"?">":"<";t+="if ( ",m&&(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(b)+" , params: { limit: "+o+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have ",r=="maxProperties"?t+="more":t+="fewer",t+=" than ",m?t+="' + "+o+" + '":t+=""+l,t+=" properties' "),e.opts.verbose&&(t+=" , schema: ",m?t+="validate.schema"+v: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 la=_((Uo,oa)=>{"use strict";oa.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m=e.opts.$data&&l&&l.$data,o;if(m?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",o="schema"+a):o=l,!(m||typeof l=="number"))throw new Error(r+" must be number");t+="var division"+a+";if (",m&&(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+=" ) ",m&&(t+=" ) "),t+=" ) { ";var u=u||[];u.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(b)+" , params: { multipleOf: "+o+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be multiple of ",m?t+="' + "+o:t+=""+o+"'"),e.opts.verbose&&(t+=" , schema: ",m?t+="validate.schema"+v: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 pa=_((Go,da)=>{"use strict";da.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="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=v,o.errSchemaPath=b,t+=" var "+m+" = 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(b)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be valid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+v+" , 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 = "+m+"; if (vErrors !== null) { if ("+m+") vErrors.length = "+m+"; 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(b)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be valid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+v+" , 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 ha=_((Ho,ca)=>{"use strict";ca.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="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 , "+m+" = 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=v+"["+q+"]",u.errSchemaPath=b+"/"+q,t+=" "+e.validate(u)+" ",u.baseId=I):t+=" var "+h+" = true; ",q&&(t+=" if ("+h+" && "+T+") { "+m+" = false; "+C+" = ["+C+", "+q+"]; } else { ",g+="}"),t+=" if ("+h+") { "+m+" = "+T+" = true; "+C+" = "+q+"; }";return e.compositeRule=u.compositeRule=$,t+=""+g+"if (!"+m+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(b)+" , params: { passingSchemas: "+C+" } ",e.opts.messages!==!1&&(t+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(t+=" , schema: validate.schema"+v+" , 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 ua=_((Qo,fa)=>{"use strict";fa.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m=e.opts.$data&&l&&l.$data,o;m?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",o="schema"+a):o=l;var u=m?"(new RegExp("+o+"))":e.usePattern(l);t+="if ( ",m&&(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(b)+" , params: { pattern: ",m?t+=""+o:t+=""+e.util.toQuotedString(l),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match pattern "`,m?t+="' + "+o+" + '":t+=""+e.util.escapeQuotes(l),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",m?t+="validate.schema"+v: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 ma=_((Ko,ya)=>{"use strict";ya.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="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(V),F=e.schema.patternProperties||{},q=Object.keys(F).filter(V),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 V(Pe){return Pe!=="__proto__"}if(t+="var "+m+" = 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"+v+".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,se=-1,pe=ue.length-1;se<pe;)G=ue[se+=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=b;b=e.errSchemaPath+"/additionalProperties";var ne=ne||[];ne.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(b)+" , 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=ne.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++; ",b=Fe,y&&(t+=" break; ")}else if(L)if(O=="failing"){t+=" var "+m+" = 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 = "+m+"; 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,Ve=Ae.length-1;Me<Ve;){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=v+Ie,o.errSchemaPath=b+"/"+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=b,Ee=e.util.escapeQuotes(N);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(ye,N,e.opts.jsonPointers)),b=e.errSchemaPath+"/required";var ne=ne||[];ne.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(b)+" , 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"+v+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var ie=t;t=ne.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++; ",b=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,ut=-1,kt=ve.length-1;ut<kt;){G=ve[ut+=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 ("+m+" == errors) {"),t}});var ga=_((Jo,ba)=>{"use strict";ba.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="errs__"+a,o=e.util.copy(e),u="";o.level++;var g="valid"+o.level;if(t+="var "+m+" = 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=v,o.errSchemaPath=b;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(b)+" , params: { propertyName: '"+C+"' } ",e.opts.messages!==!1&&(t+=" , message: 'property name \\'"+C+"\\' is invalid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+v+" , 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 ("+m+" == errors) {"),t}});var Sa=_((Zo,va)=>{"use strict";va.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="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"+v+"; ");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 "+m+" = true; ",o&&(t+=" if (schema"+a+" === undefined) "+m+" = true; else if (!Array.isArray(schema"+a+")) "+m+" = false; else {"),t+=" for (var "+P+" = 0; "+P+" < "+g+".length; "+P+"++) { "+m+" = "+f+"["+g+"["+P+"]] !== undefined ",W&&(t+=" && Object.prototype.hasOwnProperty.call("+f+", "+g+"["+P+"]) "),t+="; if (!"+m+") break; } ",o&&(t+=" } "),t+=" if (!"+m+") { ";var O=O||[];O.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(b)+" , 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"+v+" , 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),V=f+M;t+=" ( ( "+V+" === 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(b)+" , 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"+v+" , 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"+v+"; ");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(b)+" , 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"+v+" , 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(b)+" , 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"+v+" , 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),V=f+M;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(F,R,e.opts.jsonPointers)),t+=" if ( "+V+" === 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(b)+" , 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"+v+" , 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 Ia=_((Yo,wa)=>{"use strict";wa.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="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 "+m+"; if ("+u+" === false || "+u+" === undefined) "+m+" = true; else if (typeof "+u+" != 'boolean') "+m+" = false; else { "),t+=" var i = "+f+".length , "+m+" = 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])) { "+m+" = 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') { "+m+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}t+=" } ",o&&(t+=" } "),t+=" if (!"+m+") { ";var T=T||[];T.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(b)+" , 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"+v: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 xa=_((Xo,Ca)=>{"use strict";Ca.exports={$ref:ji(),allOf:Ni(),anyOf:ki(),$comment:Mi(),const:zi(),contains:Gi(),dependencies:Qi(),enum:Ji(),format:Yi(),if:ea(),items:ra(),maximum:cr(),minimum:cr(),maxItems:hr(),minItems:hr(),maxLength:fr(),minLength:fr(),maxProperties:ur(),minProperties:ur(),multipleOf:la(),not:pa(),oneOf:ha(),pattern:ua(),properties:ma(),propertyNames:ga(),required:Sa(),uniqueItems:Ia(),validate:dr()}});var Ea=_((el,Pa)=>{"use strict";var Ta=xa(),yr=He().toHash;Pa.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"],s=["$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=yr(r),e.types=yr(t),e.forEach(function(a){a.rules=a.rules.map(function(d){var l;if(typeof d=="object"){var v=Object.keys(d)[0];l=d[v],d=v,l.forEach(function(y){r.push(y),e.all[y]=!0})}r.push(d);var b=e.all[d]={keyword:d,code:Ta[d],implements:l};return b}),e.all.$comment={keyword:"$comment",code:Ta.$comment},a.type&&(e.types[a.type]=a)}),e.keywords=yr(r.concat(s)),e.custom={},e}});var Fa=_((tl,Da)=>{"use strict";var $a=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];Da.exports=function(i,e){for(var r=0;r<e.length;r++){i=JSON.parse(JSON.stringify(i));var s=e[r].split("/"),t=i,a;for(a=1;a<s.length;a++)t=t[s[a]];for(a=0;a<$a.length;a++){var d=$a[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 Ra=_((rl,Oa)=>{"use strict";var yn=Ft().MissingRef;Oa.exports=Aa;function Aa(i,e,r){var s=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=s._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 v=l.$schema;return v&&!s.getSchema(v)?Aa.call(s,{$ref:v},!0):Promise.resolve()}function d(l){try{return s._compile(l)}catch(b){if(b instanceof yn)return v(b);throw b}function v(b){var y=b.missingSchema;if(o(y))throw new Error("Schema "+y+" is loaded but "+b.missingRef+" cannot be resolved");var f=s._loadingSchemas[y];return f||(f=s._loadingSchemas[y]=s._opts.loadSchema(y),f.then(m,m)),f.then(function(u){if(!o(y))return a(u).then(function(){o(y)||s.addSchema(u,y,void 0,e)})}).then(function(){return d(l)});function m(){delete s._loadingSchemas[y]}function o(u){return s._refs[u]||s._schemas[u]}}}}});var Wa=_((il,La)=>{"use strict";La.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f,m="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"+v,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 V=e.validate(R).replace(/validate\.schema/g,P);e.compositeRule=R.compositeRule=M,t+=" "+V}else{var B=B||[];B.push(t),t="",t+=" "+P+".call( ",e.opts.passContext?t+="this":t+="self",D||C.schema===!1?t+=" , "+m+" ":t+=" , "+h+" , "+m+" , 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+") "+m+" = "+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(b)+" , params: { keyword: '"+I.keyword+"' } ",e.opts.messages!==!1&&(t+=` , message: 'should pass "`+I.keyword+`" keyword validation' `),e.opts.verbose&&(t+=" , schema: validate.schema"+v+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),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 = "'+b+'"; } ',e.opts.verbose&&(t+=" "+x+".schema = "+h+"; "+x+".data = "+m+"; "),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 = "'+b+'"; } ',e.opts.verbose&&(t+=" "+x+".schema = "+h+"; "+x+".data = "+m+"; "),t+=" } } "):q?(t+=" var err = ",e.createErrors!==!1?(t+=" { keyword: '"+(f||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(b)+" , params: { keyword: '"+I.keyword+"' } ",e.opts.messages!==!1&&(t+=` , message: 'should pass "`+I.keyword+`" keyword validation' `),e.opts.verbose&&(t+=" , schema: validate.schema"+v+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),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 = "'+b+'"; ',e.opts.verbose&&(t+=" "+x+".schema = "+h+"; "+x+".data = "+m+"; "),t+=" } } else { "+G+" } "),t+=" } ",y&&(t+=" else { ")}return t}});var mr=_((al,mn)=>{mn.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 Na=_((sl,qa)=>{"use strict";var ja=mr();qa.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:ja.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:ja.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 ka=_((nl,_a)=>{"use strict";var bn=/^[a-z_$][a-z0-9_$-]*$/i,gn=Wa(),vn=Na();_a.exports={add:Sn,get:wn,remove:In,validate:br};function Sn(i,e){var r=this.RULES;if(r.keywords[i])throw new Error("Keyword "+i+" is already defined");if(!bn.test(i))throw new Error("Keyword "+i+" is not a valid identifier");if(e){this.validateKeyword(e,!0);var s=e.type;if(Array.isArray(s))for(var t=0;t<s.length;t++)d(i,s[t],e);else d(i,s,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,v,b){for(var y,f=0;f<r.length;f++){var m=r[f];if(m.type==v){y=m;break}}y||(y={type:v,rules:[]},r.push(y));var o={keyword:l,definition:b,custom:!0,code:gn,implements:b.implements};y.rules.push(o),r.custom[l]=o}return this}function wn(i){var e=this.RULES.custom[i];return e?e.definition:this.RULES.keywords[i]||!1}function In(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 s=e[r].rules,t=0;t<s.length;t++)if(s[t].keyword==i){s.splice(t,1);break}return this}function br(i,e){br.errors=null;var r=this._validateKeyword=this._validateKeyword||this.compile(vn,!0);if(r(i))return!0;if(br.errors=r.errors,e)throw new Error("custom keyword definition is invalid: "+this.errorsText(r.errors));return!1}});var Ba=_((ol,Cn)=>{Cn.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 Za=_((ll,Ja)=>{"use strict";var Va=Si(),Qe=Dt(),xn=Ii(),za=rr(),Tn=lr(),Pn=Li(),En=Ea(),Ua=Fa(),Ga=He();Ja.exports=ae;ae.prototype.validate=Dn;ae.prototype.compile=Fn;ae.prototype.addSchema=An;ae.prototype.addMetaSchema=On;ae.prototype.validateSchema=Rn;ae.prototype.getSchema=Wn;ae.prototype.removeSchema=qn;ae.prototype.addFormat=Un;ae.prototype.errorsText=zn;ae.prototype._addSchema=Nn;ae.prototype._compile=_n;ae.prototype.compileAsync=Ra();var Nt=ka();ae.prototype.addKeyword=Nt.add;ae.prototype.getKeyword=Nt.get;ae.prototype.removeKeyword=Nt.remove;ae.prototype.validateKeyword=Nt.validate;var Ha=Ft();ae.ValidationError=Ha.Validation;ae.MissingRefError=Ha.MissingRef;ae.$dataMetaSchema=Ua;var qt="http://json-schema.org/draft-07/schema",Ma=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],$n=["/properties"];function ae(i){if(!(this instanceof ae))return new ae(i);i=this._opts=Ga.copy(i)||{},Zn(this),this._schemas={},this._refs={},this._fragments={},this._formats=Pn(i.format),this._cache=i.cache||new xn,this._loadingSchemas={},this._compilations=[],this.RULES=En(),this._getId=kn(i),i.loopRequired=i.loopRequired||1/0,i.errorDataPath=="property"&&(i._errorDataPathProperty=!0),i.serialize===void 0&&(i.serialize=Tn),this._metaOpts=Jn(this),i.formats&&Qn(this),i.keywords&&Kn(this),Gn(this),typeof i.meta=="object"&&this.addMetaSchema(i.meta),i.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),Hn(this)}function Dn(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 s=this._addSchema(i);r=s.validate||this._compile(s)}var t=r(e);return r.$async!==!0&&(this.errors=r.errors),t}function Fn(i,e){var r=this._addSchema(i,void 0,e);return r.validate||this._compile(r)}function An(i,e,r,s){if(Array.isArray(i)){for(var t=0;t<i.length;t++)this.addSchema(i[t],void 0,r,s);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),Ka(this,e),this._schemas[e]=this._addSchema(i,r,s,!0),this}function On(i,e,r){return this.addSchema(i,e,r,!0),this}function Rn(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||Ln(this),!r)return this.logger.warn("meta-schema not available"),this.errors=null,!0;var s=this.validate(r,i);if(!s&&e){var t="schema is invalid: "+this.errorsText();if(this._opts.validateSchema=="log")this.logger.error(t);else throw new Error(t)}return s}function Ln(i){var e=i._opts.meta;return i._opts.defaultMeta=typeof e=="object"?i._getId(e)||e:i.getSchema(qt)?qt:void 0,i._opts.defaultMeta}function Wn(i){var e=Qa(this,i);switch(typeof e){case"object":return e.validate||this._compile(e);case"string":return this.getSchema(e);case"undefined":return jn(this,i)}}function jn(i,e){var r=Qe.schema.call(i,{schema:{}},e);if(r){var s=r.schema,t=r.root,a=r.baseId,d=Va.call(i,s,t,void 0,a);return i._fragments[e]=new za({ref:e,fragment:!0,schema:s,root:t,baseId:a,validate:d}),d}}function Qa(i,e){return e=Qe.normalizeId(e),i._schemas[e]||i._refs[e]||i._fragments[e]}function qn(i){if(i instanceof RegExp)return jt(this,this._schemas,i),jt(this,this._refs,i),this;switch(typeof i){case"undefined":return jt(this,this._schemas),jt(this,this._refs),this._cache.clear(),this;case"string":var e=Qa(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,s=r?r(i):i;this._cache.del(s);var t=this._getId(i);t&&(t=Qe.normalizeId(t),delete this._schemas[t],delete this._refs[t])}return this}function jt(i,e,r){for(var s in e){var t=e[s];!t.meta&&(!r||r.test(s))&&(i._cache.del(t.cacheKey),delete e[s])}}function Nn(i,e,r,s){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;s=s||this._opts.addUsedSchema!==!1;var l=Qe.normalizeId(this._getId(i));l&&s&&Ka(this,l);var v=this._opts.validateSchema!==!1&&!e,b;v&&!(b=l&&l==Qe.normalizeId(i.$schema))&&this.validateSchema(i,!0);var y=Qe.ids.call(this,i),f=new za({id:l,schema:i,localRefs:y,cacheKey:a,meta:r});return l[0]!="#"&&s&&(this._refs[l]=f),this._cache.put(a,f),v&&b&&this.validateSchema(i,!0),f}function _n(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 s;try{s=Va.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=s,i.refs=s.refs,i.refVal=s.refVal,i.root=s.root,s;function t(){var a=i.validate,d=a.apply(this,arguments);return t.errors=a.errors,d}}function kn(i){switch(i.schemaId){case"auto":return Vn;case"id":return Bn;default:return Mn}}function Bn(i){return i.$id&&this.logger.warn("schema $id ignored",i.$id),i.id}function Mn(i){return i.id&&this.logger.warn("schema id ignored",i.id),i.$id}function Vn(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 zn(i,e){if(i=i||this.errors,!i)return"No errors";e=e||{};for(var r=e.separator===void 0?", ":e.separator,s=e.dataVar===void 0?"data":e.dataVar,t="",a=0;a<i.length;a++){var d=i[a];d&&(t+=s+d.dataPath+" "+d.message+r)}return t.slice(0,-r.length)}function Un(i,e){return typeof e=="string"&&(e=new RegExp(e)),this._formats[i]=e,this}function Gn(i){var e;if(i._opts.$data&&(e=Ba(),i.addMetaSchema(e,e.$id,!0)),i._opts.meta!==!1){var r=mr();i._opts.$data&&(r=Ua(r,$n)),i.addMetaSchema(r,qt,!0),i._refs["http://json-schema.org/schema"]=qt}}function Hn(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 Qn(i){for(var e in i._opts.formats){var r=i._opts.formats[e];i.addFormat(e,r)}}function Kn(i){for(var e in i._opts.keywords){var r=i._opts.keywords[e];i.addKeyword(e,r)}}function Ka(i,e){if(i._schemas[e]||i._refs[e])throw new Error('schema with key or id "'+e+'" already exists')}function Jn(i){for(var e=Ga.copy(i._opts),r=0;r<Ma.length;r++)delete e[Ma[r]];return e}function Zn(i){var e=i._opts.logger;if(e===!1)i.logger={log:gr,warn:gr,error:gr};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 gr(){}});var Ya=gs(Za(),1);var st={$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"],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 assocated 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"./3X5JIVJJ.js";import{d as be,r as vt,z as jr}from"./ADGMA3ST.js";import{f as Lr,p as Wr}from"./PAIRUVLU.js";import{a as Rr}from"./KX7KGXKQ.js";import{f as it,g as at}from"./NZR4L5AA.js";import{H as rt}from"./CHQDKVVQ.js";import{a as gt}from"./XJFVSX2E.js";import{a as de,b as Ar,q as Or}from"./547RDEMV.js";import{b as _,d as gs}from"./U67P6YAZ.js";export default $arcgis.t(([{substitute:Te},{$b:Kr,F:Br,J:Mr,Jb:Qr,N:Vr,O:zr,Q:Ur,S:Gr,T:St,Va:Ut,Xa:Gt,Ya:We,fc:Jr,mb:Ht,n:qr,nb:Qt,pb:Hr,q:zt,r:Nr,s:_r,t:kr}])=>{var Yr=_((wt,Zr)=>{(function(i,e){typeof wt=="object"&&typeof Zr<"u"?e(wt):typeof define=="function"&&define.amd?define(["exports"],e):e(i.URI=i.URI||{})})(wt,(function(i){"use strict";function e(){for(var p=arguments.length,n=Array(p),c=0;c<p;c++)n[c]=arguments[c];if(n.length>1){n[0]=n[0].slice(0,-1);for(var S=n.length-1,w=1;w<S;++w)n[w]=n[w].slice(1,-1);return n[S]=n[S].slice(1),n.join("")}else return n[0]}function r(p){return"(?:"+p+")"}function s(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,n){var c=p;if(n)for(var S in n)c[S]=n[S];return c}function l(p){var n="[A-Za-z]",c="[\\x0D]",S="[0-9]",w="[\\x22]",A=e(S,"[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="[\\:\\/\\?\\#\\[\\]\\@]",z="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",ee=e(oe,z),le=p?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",X=p?"[\\uE000-\\uF8FF]":"[]",H=e(n,S,"[\\-\\.\\_\\~]",le),te=r(n+e(n,S,"[\\+\\-\\.]")+"*"),Z=r(r(K+"|"+e(H,z,"[\\:]"))+"*"),ze=r(r("25[0-5]")+"|"+r("2[0-4]"+S)+"|"+r("1"+S+S)+"|"+r("[1-9]"+S)+"|"+S),Se=r(r("25[0-5]")+"|"+r("2[0-4]"+S)+"|"+r("1"+S+S)+"|"+r("0?[1-9]"+S)+"|0?0?"+S),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),lt=r(r(r(Y+"\\:")+"{0,2}"+Y)+"?\\:\\:"+r(Y+"\\:")+"{2}"+we),yt=r(r(r(Y+"\\:")+"{0,3}"+Y)+"?\\:\\:"+Y+"\\:"+we),mt=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,lt,yt,mt,Je,Ze].join("|")),Ye=r(r(H+"|"+K)+"+"),Mt=r(Re+"\\%25"+Ye),Ge=r(Re+r("\\%25|\\%(?!"+A+"{2})")+Ye),cs=r("[vV]"+A+"+\\."+e(H,z,"[\\:]")+"+"),hs=r("\\["+r(Ge+"|"+Re+"|"+cs)+"\\]"),Er=r(r(K+"|"+e(H,z))+"*"),dt=r(hs+"|"+Ce+"(?!"+Er+")|"+Er),pt=r(S+"*"),$r=r(r(Z+"@")+"?"+dt+r("\\:"+pt)+"?"),ct=r(K+"|"+e(H,z,"[\\:\\@]")),fs=r(ct+"*"),Dr=r(ct+"+"),us=r(r(K+"|"+e(H,z,"[\\@]"))+"+"),Le=r(r("\\/"+fs)+"*"),Xe=r("\\/"+r(Dr+Le)+"?"),Vt=r(us+Le),bt=r(Dr+Le),et="(?!"+ct+")",po=r(Le+"|"+Xe+"|"+Vt+"|"+bt+"|"+et),tt=r(r(ct+"|"+e("[\\/\\?]",X))+"*"),ht=r(r(ct+"|[\\/\\?]")+"*"),Fr=r(r("\\/\\/"+$r+Le)+"|"+Xe+"|"+bt+"|"+et),ys=r(te+"\\:"+Fr+r("\\?"+tt)+"?"+r("\\#"+ht)+"?"),ms=r(r("\\/\\/"+$r+Le)+"|"+Xe+"|"+Vt+"|"+et),bs=r(ms+r("\\?"+tt)+"?"+r("\\#"+ht)+"?"),co=r(ys+"|"+bs),ho=r(te+"\\:"+Fr+r("\\?"+tt)+"?"),fo="^("+te+")\\:"+r(r("\\/\\/("+r("("+Z+")@")+"?("+dt+")"+r("\\:("+pt+")")+"?)")+"?("+Le+"|"+Xe+"|"+bt+"|"+et+")")+r("\\?("+tt+")")+"?"+r("\\#("+ht+")")+"?$",uo="^(){0}"+r(r("\\/\\/("+r("("+Z+")@")+"?("+dt+")"+r("\\:("+pt+")")+"?)")+"?("+Le+"|"+Xe+"|"+Vt+"|"+et+")")+r("\\?("+tt+")")+"?"+r("\\#("+ht+")")+"?$",yo="^("+te+")\\:"+r(r("\\/\\/("+r("("+Z+")@")+"?("+dt+")"+r("\\:("+pt+")")+"?)")+"?("+Le+"|"+Xe+"|"+bt+"|"+et+")")+r("\\?("+tt+")")+"?$",mo="^"+r("\\#("+ht+")")+"?$",bo="^"+r("("+Z+")@")+"?("+dt+")"+r("\\:("+pt+")")+"?$";return{NOT_SCHEME:new RegExp(e("[^]",n,S,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(e("[^\\%\\:]",H,z),"g"),NOT_HOST:new RegExp(e("[^\\%\\[\\]\\:]",H,z),"g"),NOT_PATH:new RegExp(e("[^\\%\\/\\:\\@]",H,z),"g"),NOT_PATH_NOSCHEME:new RegExp(e("[^\\%\\/\\@]",H,z),"g"),NOT_QUERY:new RegExp(e("[^\\%]",H,z,"[\\:\\@\\/\\?]",X),"g"),NOT_FRAGMENT:new RegExp(e("[^\\%]",H,z,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(e("[^]",H,z),"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 v=l(!1),b=l(!0),y=(function(){function p(n,c){var S=[],w=!0,A=!1,k=void 0;try{for(var U=n[Symbol.iterator](),K;!(w=(K=U.next()).done)&&(S.push(K.value),!(c&&S.length===c));w=!0);}catch(oe){A=!0,k=oe}finally{try{!w&&U.return&&U.return()}finally{if(A)throw k}}return S}return function(n,c){if(Array.isArray(n))return n;if(Symbol.iterator in Object(n))return p(n,c);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),f=function(p){if(Array.isArray(p)){for(var n=0,c=Array(p.length);n<p.length;n++)c[n]=p[n];return c}else return Array.from(p)},m=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,n){for(var c=[],S=p.length;S--;)c[S]=n(p[S]);return c}function E(p,n){var c=p.split("@"),S="";c.length>1&&(S=c[0]+"@",p=c[1]),p=p.replace(q,".");var w=p.split("."),A=x(w,n).join(".");return S+A}function R(p){for(var n=[],c=0,S=p.length;c<S;){var w=p.charCodeAt(c++);if(w>=55296&&w<=56319&&c<S){var A=p.charCodeAt(c++);(A&64512)==56320?n.push(((w&1023)<<10)+(A&1023)+65536):(n.push(w),c--)}else n.push(w)}return n}var J=function(n){return String.fromCodePoint.apply(String,f(n))},M=function(n){return n-48<10?n-22:n-65<26?n-65:n-97<26?n-97:o},V=function(n,c){return n+22+75*(n<26)-((c!=0)<<5)},B=function(n,c,S){var w=0;for(n=S?j(n/I):n>>1,n+=j(n/c);n>P*g>>1;w+=o)n=j(n/P);return j(w+(P+1)*n/(n+h))},N=function(n){var c=[],S=n.length,w=0,A=C,k=T,U=n.lastIndexOf($);U<0&&(U=0);for(var K=0;K<U;++K)n.charCodeAt(K)>=128&&O("not-basic"),c.push(n.charCodeAt(K));for(var oe=U>0?U+1:0;oe<S;){for(var z=w,ee=1,le=o;;le+=o){oe>=S&&O("invalid-input");var X=M(n.charCodeAt(oe++));(X>=o||X>j((m-w)/ee))&&O("overflow"),w+=X*ee;var H=le<=k?u:le>=k+g?g:le-k;if(X<H)break;var te=o-H;ee>j(m/te)&&O("overflow"),ee*=te}var Z=c.length+1;k=B(w-z,Z,z==0),j(w/Z)>m-A&&O("overflow"),A+=j(w/Z),w%=Z,c.splice(w++,0,A)}return String.fromCodePoint.apply(String,c)},re=function(n){var c=[];n=R(n);var S=n.length,w=C,A=0,k=T,U=!0,K=!1,oe=void 0;try{for(var z=n[Symbol.iterator](),ee;!(U=(ee=z.next()).done);U=!0){var le=ee.value;le<128&&c.push(L(le))}}catch(Ge){K=!0,oe=Ge}finally{try{!U&&z.return&&z.return()}finally{if(K)throw oe}}var X=c.length,H=X;for(X&&c.push($);H<S;){var te=m,Z=!0,ze=!1,Se=void 0;try{for(var Ce=n[Symbol.iterator](),Y;!(Z=(Y=Ce.next()).done);Z=!0){var we=Y.value;we>=w&&we<te&&(te=we)}}catch(Ge){ze=!0,Se=Ge}finally{try{!Z&&Ce.return&&Ce.return()}finally{if(ze)throw Se}}var xe=H+1;te-w>j((m-A)/xe)&&O("overflow"),A+=(te-w)*xe,w=te;var De=!0,Ue=!1,Oe=void 0;try{for(var lt=n[Symbol.iterator](),yt;!(De=(yt=lt.next()).done);De=!0){var mt=yt.value;if(mt<w&&++A>m&&O("overflow"),mt==w){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,Mt=o-Re;c.push(L(V(Re+Ye%Mt,0))),Je=j(Ye/Mt)}c.push(L(V(Je,0))),k=B(A,xe,H==X),A=0,++H}}}catch(Ge){Ue=!0,Oe=Ge}finally{try{!De&&lt.return&&lt.return()}finally{if(Ue)throw Oe}}++A,++w}return c.join("")},he=function(n){return E(n,function(c){return D.test(c)?N(c.slice(4).toLowerCase()):c})},ue=function(n){return E(n,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},se={};function pe(p){var n=p.charCodeAt(0),c=void 0;return n<16?c="%0"+n.toString(16).toUpperCase():n<128?c="%"+n.toString(16).toUpperCase():n<2048?c="%"+(n>>6|192).toString(16).toUpperCase()+"%"+(n&63|128).toString(16).toUpperCase():c="%"+(n>>12|224).toString(16).toUpperCase()+"%"+(n>>6&63|128).toString(16).toUpperCase()+"%"+(n&63|128).toString(16).toUpperCase(),c}function ye(p){for(var n="",c=0,S=p.length;c<S;){var w=parseInt(p.substr(c+1,2),16);if(w<128)n+=String.fromCharCode(w),c+=3;else if(w>=194&&w<224){if(S-c>=6){var A=parseInt(p.substr(c+4,2),16);n+=String.fromCharCode((w&31)<<6|A&63)}else n+=p.substr(c,6);c+=6}else if(w>=224){if(S-c>=9){var k=parseInt(p.substr(c+4,2),16),U=parseInt(p.substr(c+7,2),16);n+=String.fromCharCode((w&15)<<12|(k&63)<<6|U&63)}else n+=p.substr(c,9);c+=9}else n+=p.substr(c,3),c+=3}return n}function je(p,n){function c(S){var w=ye(S);return w.match(n.UNRESERVED)?w:S}return p.scheme&&(p.scheme=String(p.scheme).replace(n.PCT_ENCODED,c).toLowerCase().replace(n.NOT_SCHEME,"")),p.userinfo!==void 0&&(p.userinfo=String(p.userinfo).replace(n.PCT_ENCODED,c).replace(n.NOT_USERINFO,pe).replace(n.PCT_ENCODED,t)),p.host!==void 0&&(p.host=String(p.host).replace(n.PCT_ENCODED,c).toLowerCase().replace(n.NOT_HOST,pe).replace(n.PCT_ENCODED,t)),p.path!==void 0&&(p.path=String(p.path).replace(n.PCT_ENCODED,c).replace(p.scheme?n.NOT_PATH:n.NOT_PATH_NOSCHEME,pe).replace(n.PCT_ENCODED,t)),p.query!==void 0&&(p.query=String(p.query).replace(n.PCT_ENCODED,c).replace(n.NOT_QUERY,pe).replace(n.PCT_ENCODED,t)),p.fragment!==void 0&&(p.fragment=String(p.fragment).replace(n.PCT_ENCODED,c).replace(n.NOT_FRAGMENT,pe).replace(n.PCT_ENCODED,t)),p}function Fe(p){return p.replace(/^0*(.*)/,"$1")||"0"}function ne(p,n){var c=p.match(n.IPV4ADDRESS)||[],S=y(c,2),w=S[1];return w?w.split(".").map(Fe).join("."):p}function ie(p,n){var c=p.match(n.IPV6ADDRESS)||[],S=y(c,3),w=S[1],A=S[2];if(w){for(var k=w.toLowerCase().split("::").reverse(),U=y(k,2),K=U[0],oe=U[1],z=oe?oe.split(":").map(Fe):[],ee=K.split(":").map(Fe),le=n.IPV4ADDRESS.test(ee[ee.length-1]),X=le?7:8,H=ee.length-X,te=Array(X),Z=0;Z<X;++Z)te[Z]=z[Z]||ee[H+Z]||"";le&&(te[X-1]=ne(te[X-1],n));var ze=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=ze.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 n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c={},S=n.iri!==!1?b:v;n.reference==="suffix"&&(p=(n.scheme?n.scheme+":":"")+"//"+p);var w=p.match(Be);if(w){fe?(c.scheme=w[1],c.userinfo=w[3],c.host=w[4],c.port=parseInt(w[5],10),c.path=w[6]||"",c.query=w[7],c.fragment=w[8],isNaN(c.port)&&(c.port=w[5])):(c.scheme=w[1]||void 0,c.userinfo=p.indexOf("@")!==-1?w[3]:void 0,c.host=p.indexOf("//")!==-1?w[4]:void 0,c.port=parseInt(w[5],10),c.path=w[6]||"",c.query=p.indexOf("?")!==-1?w[7]:void 0,c.fragment=p.indexOf("#")!==-1?w[8]:void 0,isNaN(c.port)&&(c.port=p.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?w[4]:void 0)),c.host&&(c.host=ie(ne(c.host,S),S)),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",n.reference&&n.reference!=="suffix"&&n.reference!==c.reference&&(c.error=c.error||"URI is not a "+n.reference+" reference.");var A=se[(n.scheme||c.scheme||"").toLowerCase()];if(!n.unicodeSupport&&(!A||!A.unicodeSupport)){if(c.host&&(n.domainHost||A&&A.domainHost))try{c.host=G.toASCII(c.host.replace(S.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,v)}else je(c,S);A&&A.parse&&A.parse(c,n)}else c.error=c.error||"URI can not be parsed.";return c}function qe(p,n){var c=n.iri!==!1?b:v,S=[];return p.userinfo!==void 0&&(S.push(p.userinfo),S.push("@")),p.host!==void 0&&S.push(ie(ne(String(p.host),c),c).replace(c.IPV6ADDRESS,function(w,A,k){return"["+A+(k?"%25"+k:"")+"]"})),(typeof p.port=="number"||typeof p.port=="string")&&(S.push(":"),S.push(String(p.port))),S.length?S.join(""):void 0}var Ae=/^\.\.?\//,Me=/^\/\.(\/|$)/,Ve=/^\/\.\.(\/|$)/,ce=/^\/?(?:.|\n)*?(?=\/|$)/;function Ie(p){for(var n=[];p.length;)if(p.match(Ae))p=p.replace(Ae,"");else if(p.match(Me))p=p.replace(Me,"/");else if(p.match(Ve))p=p.replace(Ve,"/"),n.pop();else if(p==="."||p==="..")p="";else{var c=p.match(ce);if(c){var S=c[0];p=p.slice(S.length),n.push(S)}else throw new Error("Unexpected dot segment condition")}return n.join("")}function ge(p){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=n.iri?b:v,S=[],w=se[(n.scheme||p.scheme||"").toLowerCase()];if(w&&w.serialize&&w.serialize(p,n),p.host&&!c.IPV6ADDRESS.test(p.host)){if(n.domainHost||w&&w.domainHost)try{p.host=n.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 "+(n.iri?"Unicode":"ASCII")+" via punycode: "+U}}je(p,c),n.reference!=="suffix"&&p.scheme&&(S.push(p.scheme),S.push(":"));var A=qe(p,n);if(A!==void 0&&(n.reference!=="suffix"&&S.push("//"),S.push(A),p.path&&p.path.charAt(0)!=="/"&&S.push("/")),p.path!==void 0){var k=p.path;!n.absolutePath&&(!w||!w.absolutePath)&&(k=Ie(k)),A===void 0&&(k=k.replace(/^\/\//,"/%2F")),S.push(k)}return p.query!==void 0&&(S.push("?"),S.push(p.query)),p.fragment!==void 0&&(S.push("#"),S.push(p.fragment)),S.join("")}function me(p,n){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},S=arguments[3],w={};return S||(p=Q(ge(p,c),c),n=Q(ge(n,c),c)),c=c||{},!c.tolerant&&n.scheme?(w.scheme=n.scheme,w.userinfo=n.userinfo,w.host=n.host,w.port=n.port,w.path=Ie(n.path||""),w.query=n.query):(n.userinfo!==void 0||n.host!==void 0||n.port!==void 0?(w.userinfo=n.userinfo,w.host=n.host,w.port=n.port,w.path=Ie(n.path||""),w.query=n.query):(n.path?(n.path.charAt(0)==="/"?w.path=Ie(n.path):((p.userinfo!==void 0||p.host!==void 0||p.port!==void 0)&&!p.path?w.path="/"+n.path:p.path?w.path=p.path.slice(0,p.path.lastIndexOf("/")+1)+n.path:w.path=n.path,w.path=Ie(w.path)),w.query=n.query):(w.path=p.path,n.query!==void 0?w.query=n.query:w.query=p.query),w.userinfo=p.userinfo,w.host=p.host,w.port=p.port),w.scheme=p.scheme),w.fragment=n.fragment,w}function Ee(p,n,c){var S=d({scheme:"null"},c);return ge(me(Q(p,S),Q(n,S),S,!0),S)}function ve(p,n){return typeof p=="string"?p=ge(Q(p,n),n):s(p)==="object"&&(p=Q(ge(p,n),n)),p}function ut(p,n,c){return typeof p=="string"?p=ge(Q(p,c),c):s(p)==="object"&&(p=ge(p,c)),typeof n=="string"?n=ge(Q(n,c),c):s(n)==="object"&&(n=ge(n,c)),p===n}function kt(p,n){return p&&p.toString().replace(!n||!n.iri?v.ESCAPE:b.ESCAPE,pe)}function Pe(p,n){return p&&p.toString().replace(!n||!n.iri?v.PCT_ENCODED:b.PCT_ENCODED,ye)}var nt={scheme:"http",domainHost:!0,parse:function(n,c){return n.host||(n.error=n.error||"HTTP URIs must have a host."),n},serialize:function(n,c){var S=String(n.scheme).toLowerCase()==="https";return(n.port===(S?443:80)||n.port==="")&&(n.port=void 0),n.path||(n.path="/"),n}},vr={scheme:"https",domainHost:nt.domainHost,parse:nt.parse,serialize:nt.serialize};function Sr(p){return typeof p.secure=="boolean"?p.secure:String(p.scheme).toLowerCase()==="wss"}var ot={scheme:"ws",domainHost:!0,parse:function(n,c){var S=n;return S.secure=Sr(S),S.resourceName=(S.path||"/")+(S.query?"?"+S.query:""),S.path=void 0,S.query=void 0,S},serialize:function(n,c){if((n.port===(Sr(n)?443:80)||n.port==="")&&(n.port=void 0),typeof n.secure=="boolean"&&(n.scheme=n.secure?"wss":"ws",n.secure=void 0),n.resourceName){var S=n.resourceName.split("?"),w=y(S,2),A=w[0],k=w[1];n.path=A&&A!=="/"?A:void 0,n.query=k,n.resourceName=void 0}return n.fragment=void 0,n}},wr={scheme:"wss",domainHost:ot.domainHost,parse:ot.parse,serialize:ot.serialize},Xa={},es=!0,Ir="[A-Za-z0-9\\-\\.\\_\\~"+(es?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",$e="[0-9A-Fa-f]",ts=r(r("%[EFef]"+$e+"%"+$e+$e+"%"+$e+$e)+"|"+r("%[89A-Fa-f]"+$e+"%"+$e+$e)+"|"+r("%"+$e+$e)),rs="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",is="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",as=e(is,'[\\"\\\\]'),ss="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",ns=new RegExp(Ir,"g"),Ke=new RegExp(ts,"g"),os=new RegExp(e("[^]",rs,"[\\.]",'[\\"]',as),"g"),Cr=new RegExp(e("[^]",Ir,ss),"g"),ls=Cr;function Bt(p){var n=ye(p);return n.match(ns)?n:p}var xr={scheme:"mailto",parse:function(n,c){var S=n,w=S.to=S.path?S.path.split(","):[];if(S.path=void 0,S.query){for(var A=!1,k={},U=S.query.split("&"),K=0,oe=U.length;K<oe;++K){var z=U[K].split("=");switch(z[0]){case"to":for(var ee=z[1].split(","),le=0,X=ee.length;le<X;++le)w.push(ee[le]);break;case"subject":S.subject=Pe(z[1],c);break;case"body":S.body=Pe(z[1],c);break;default:A=!0,k[Pe(z[0],c)]=Pe(z[1],c);break}}A&&(S.headers=k)}S.query=void 0;for(var H=0,te=w.length;H<te;++H){var Z=w[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(ze){S.error=S.error||"Email address's domain name can not be converted to ASCII via punycode: "+ze}w[H]=Z.join("@")}return S},serialize:function(n,c){var S=n,w=a(n.to);if(w){for(var A=0,k=w.length;A<k;++A){var U=String(w[A]),K=U.lastIndexOf("@"),oe=U.slice(0,K).replace(Ke,Bt).replace(Ke,t).replace(os,pe),z=U.slice(K+1);try{z=c.iri?G.toUnicode(z):G.toASCII(Pe(z,c).toLowerCase())}catch(H){S.error=S.error||"Email address's domain name can not be converted to "+(c.iri?"Unicode":"ASCII")+" via punycode: "+H}w[A]=oe+"@"+z}S.path=w.join(",")}var ee=n.headers=n.headers||{};n.subject&&(ee.subject=n.subject),n.body&&(ee.body=n.body);var le=[];for(var X in ee)ee[X]!==Xa[X]&&le.push(X.replace(Ke,Bt).replace(Ke,t).replace(Cr,pe)+"="+ee[X].replace(Ke,Bt).replace(Ke,t).replace(ls,pe));return le.length&&(S.query=le.join("&")),S}},ds=/^([^\:]+)\:(.*)/,Tr={scheme:"urn",parse:function(n,c){var S=n.path&&n.path.match(ds),w=n;if(S){var A=c.scheme||w.scheme||"urn",k=S[1].toLowerCase(),U=S[2],K=A+":"+(c.nid||k),oe=se[K];w.nid=k,w.nss=U,w.path=void 0,oe&&(w=oe.parse(w,c))}else w.error=w.error||"URN can not be parsed.";return w},serialize:function(n,c){var S=c.scheme||n.scheme||"urn",w=n.nid,A=S+":"+(c.nid||w),k=se[A];k&&(n=k.serialize(n,c));var U=n,K=n.nss;return U.path=(w||c.nid)+":"+K,U}},ps=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Pr={scheme:"urn:uuid",parse:function(n,c){var S=n;return S.uuid=S.nss,S.nss=void 0,!c.tolerant&&(!S.uuid||!S.uuid.match(ps))&&(S.error=S.error||"UUID is not valid."),S},serialize:function(n,c){var S=n;return S.nss=(n.uuid||"").toLowerCase(),S}};se[nt.scheme]=nt,se[vr.scheme]=vr,se[ot.scheme]=ot,se[wr.scheme]=wr,se[xr.scheme]=xr,se[Tr.scheme]=Tr,se[Pr.scheme]=Pr,i.SCHEMES=se,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=ut,i.escapeComponent=kt,i.unescapeComponent=Pe,Object.defineProperty(i,"__esModule",{value:!0})}))});var It=_((go,Xr)=>{"use strict";Xr.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 s,t,a;if(Array.isArray(e)){if(s=e.length,s!=r.length)return!1;for(t=s;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),s=a.length,s!==Object.keys(r).length)return!1;for(t=s;t--!==0;)if(!Object.prototype.hasOwnProperty.call(r,a[t]))return!1;for(t=s;t--!==0;){var d=a[t];if(!i(e[d],r[d]))return!1}return!0}return e!==e&&r!==r}});var ti=_((vo,ei)=>{"use strict";ei.exports=function(e){for(var r=0,s=e.length,t=0,a;t<s;)r++,a=e.charCodeAt(t++),a>=55296&&a<=56319&&t<s&&(a=e.charCodeAt(t),(a&64512)==56320&&t++);return r}});var He=_((So,ai)=>{"use strict";ai.exports={copy:vs,checkDataType:Kt,checkDataTypes:Ss,coerceToTypes:ws,toHash:Zt,getProperty:Yt,escapeQuotes:Xt,equal:It(),ucs2length:ti(),varOccurences:xs,varReplace:Ts,schemaHasRules:Ps,schemaHasRulesExcept:Es,schemaUnknownRules:$s,toQuotedString:Jt,getPathExpr:Ds,getPath:Fs,getData:Rs,unescapeFragment:Ls,unescapeJsonPointer:tr,escapeFragment:Ws,escapeJsonPointer:er};function vs(i,e){e=e||{};for(var r in i)e[r]=i[r];return e}function Kt(i,e,r,s){var t=s?" !== ":" === ",a=s?" || ":" && ",d=s?"!":"",l=s?"":"!";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 Ss(i,e,r){switch(i.length){case 1:return Kt(i[0],e,r,!0);default:var s="",t=Zt(i);t.array&&t.object&&(s=t.null?"(":"(!"+e+" || ",s+="typeof "+e+' !== "object")',delete t.null,delete t.array,delete t.object),t.number&&delete t.integer;for(var a in t)s+=(s?" && ":"")+Kt(a,e,r,!0);return s}}var ri=Zt(["string","number","integer","boolean","null"]);function ws(i,e){if(Array.isArray(e)){for(var r=[],s=0;s<e.length;s++){var t=e[s];(ri[t]||i==="array"&&t==="array")&&(r[r.length]=t)}if(r.length)return r}else{if(ri[e])return[e];if(i==="array"&&e==="array")return["array"]}}function Zt(i){for(var e={},r=0;r<i.length;r++)e[i[r]]=!0;return e}var Is=/^[a-z$_][a-z$_0-9]*$/i,Cs=/'|\\/g;function Yt(i){return typeof i=="number"?"["+i+"]":Is.test(i)?"."+i:"['"+Xt(i)+"']"}function Xt(i){return i.replace(Cs,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function xs(i,e){e+="[^0-9]";var r=i.match(new RegExp(e,"g"));return r?r.length:0}function Ts(i,e,r){return e+="([^0-9])",r=r.replace(/\$/g,"$$$$"),i.replace(new RegExp(e,"g"),r+"$1")}function Ps(i,e){if(typeof i=="boolean")return!i;for(var r in i)if(e[r])return!0}function Es(i,e,r){if(typeof i=="boolean")return!i&&r!="not";for(var s in i)if(s!=r&&e[s])return!0}function $s(i,e){if(typeof i!="boolean"){for(var r in i)if(!e[r])return r}}function Jt(i){return"'"+Xt(i)+"'"}function Ds(i,e,r,s){var t=r?"'/' + "+e+(s?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):s?"'[' + "+e+" + ']'":"'[\\'' + "+e+" + '\\']'";return ii(i,t)}function Fs(i,e,r){var s=Jt(r?"/"+er(e):Yt(e));return ii(i,s)}var As=/^\/(?:[^~]|~0|~1)*$/,Os=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Rs(i,e,r){var s,t,a,d;if(i==="")return"rootData";if(i[0]=="/"){if(!As.test(i))throw new Error("Invalid JSON-pointer: "+i);t=i,a="rootData"}else{if(d=i.match(Os),!d)throw new Error("Invalid JSON-pointer: "+i);if(s=+d[1],t=d[2],t=="#"){if(s>=e)throw new Error("Cannot access property/index "+s+" levels up, current level is "+e);return r[e-s]}if(s>e)throw new Error("Cannot access data "+s+" levels up, current level is "+e);if(a="data"+(e-s||""),!t)return a}for(var l=a,v=t.split("/"),b=0;b<v.length;b++){var y=v[b];y&&(a+=Yt(tr(y)),l+=" && "+a)}return l}function ii(i,e){return i=='""'?e:(i+" + "+e).replace(/([^\\])' \+ '/g,"$1")}function Ls(i){return tr(decodeURIComponent(i))}function Ws(i){return encodeURIComponent(er(i))}function er(i){return i.replace(/~/g,"~0").replace(/\//g,"~1")}function tr(i){return i.replace(/~1/g,"/").replace(/~0/g,"~")}});var rr=_((wo,si)=>{"use strict";var js=He();si.exports=qs;function qs(i){js.copy(i,this)}});var oi=_((Io,ni)=>{"use strict";var Ne=ni.exports=function(i,e,r){typeof e=="function"&&(r=e,e={}),r=e.cb||r;var s=typeof r=="function"?r:r.pre||function(){},t=r.post||function(){};Ct(e,s,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 Ct(i,e,r,s,t,a,d,l,v,b){if(s&&typeof s=="object"&&!Array.isArray(s)){e(s,t,a,d,l,v,b);for(var y in s){var f=s[y];if(Array.isArray(f)){if(y in Ne.arrayKeywords)for(var m=0;m<f.length;m++)Ct(i,e,r,f[m],t+"/"+y+"/"+m,a,t,y,s,m)}else if(y in Ne.propsKeywords){if(f&&typeof f=="object")for(var o in f)Ct(i,e,r,f[o],t+"/"+y+"/"+Ns(o),a,t,y,s,o)}else(y in Ne.keywords||i.allKeys&&!(y in Ne.skipKeywords))&&Ct(i,e,r,f,t+"/"+y,a,t,y,s)}r(s,t,a,d,l,v,b)}}function Ns(i){return i.replace(/~/g,"~0").replace(/\//g,"~1")}});var Dt=_((Co,ci)=>{"use strict";var ft=Yr(),li=It(),Et=He(),xt=rr(),_s=oi();ci.exports=ke;ke.normalizeId=_e;ke.fullPath=Tt;ke.url=Pt;ke.ids=zs;ke.inlineRef=ir;ke.schema=$t;function ke(i,e,r){var s=this._refs[r];if(typeof s=="string")if(this._refs[s])s=this._refs[s];else return ke.call(this,i,e,s);if(s=s||this._schemas[r],s instanceof xt)return ir(s.schema,this._opts.inlineRefs)?s.schema:s.validate||this._compile(s);var t=$t.call(this,e,r),a,d,l;return t&&(a=t.schema,e=t.root,l=t.baseId),a instanceof xt?d=a.validate||i.call(this,a.schema,e,void 0,l):a!==void 0&&(d=ir(a,this._opts.inlineRefs)?a:i.call(this,a,e,void 0,l)),d}function $t(i,e){var r=ft.parse(e),s=pi(r),t=Tt(this._getId(i.schema));if(Object.keys(i.schema).length===0||s!==t){var a=_e(s),d=this._refs[a];if(typeof d=="string")return ks.call(this,i,d,r);if(d instanceof xt)d.validate||this._compile(d),i=d;else if(d=this._schemas[a],d instanceof xt){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=Tt(this._getId(i.schema))}return di.call(this,r,t,i.schema,i)}function ks(i,e,r){var s=$t.call(this,i,e);if(s){var t=s.schema,a=s.baseId;i=s.root;var d=this._getId(t);return d&&(a=Pt(a,d)),di.call(this,r,a,t,i)}}var Bs=Et.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function di(i,e,r,s){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=Et.unescapeFragment(d),r=r[d],r===void 0)break;var l;if(!Bs[d]&&(l=this._getId(r),l&&(e=Pt(e,l)),r.$ref)){var v=Pt(e,r.$ref),b=$t.call(this,s,v);b&&(r=b.schema,s=b.root,e=b.baseId)}}}if(r!==void 0&&r!==s.schema)return{schema:r,root:s,baseId:e}}}var Ms=Et.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function ir(i,e){if(e===!1)return!1;if(e===void 0||e===!0)return ar(i);if(e)return sr(i)<=e}function ar(i){var e;if(Array.isArray(i)){for(var r=0;r<i.length;r++)if(e=i[r],typeof e=="object"&&!ar(e))return!1}else for(var s in i)if(s=="$ref"||(e=i[s],typeof e=="object"&&!ar(e)))return!1;return!0}function sr(i){var e=0,r;if(Array.isArray(i)){for(var s=0;s<i.length;s++)if(r=i[s],typeof r=="object"&&(e+=sr(r)),e==1/0)return 1/0}else for(var t in i){if(t=="$ref")return 1/0;if(Ms[t])e++;else if(r=i[t],typeof r=="object"&&(e+=sr(r)+1),e==1/0)return 1/0}return e}function Tt(i,e){e!==!1&&(i=_e(i));var r=ft.parse(i);return pi(r)}function pi(i){return ft.serialize(i).split("#")[0]+"#"}var Vs=/#\/?$/;function _e(i){return i?i.replace(Vs,""):""}function Pt(i,e){return e=_e(e),ft.resolve(i,e)}function zs(i){var e=_e(this._getId(i)),r={"":e},s={"":Tt(e,!1)},t={},a=this;return _s(i,{allKeys:!0},function(d,l,v,b,y,f,m){if(l!==""){var o=a._getId(d),u=r[b],g=s[b]+"/"+y;if(m!==void 0&&(g+="/"+(typeof m=="number"?m:Et.escapeFragment(m))),typeof o=="string"){o=u=_e(u?ft.resolve(u,o):o);var h=a._refs[o];if(typeof h=="string"&&(h=a._refs[h]),h&&h.schema){if(!li(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]&&!li(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,s[l]=g}}),t}});var Ft=_((xo,fi)=>{"use strict";var nr=Dt();fi.exports={Validation:hi(Us),MissingRef:hi(or)};function Us(i){this.message="validation failed",this.errors=i,this.ajv=this.validation=!0}or.message=function(i,e){return"can't resolve reference "+e+" from id "+i};function or(i,e,r){this.message=r||or.message(i,e),this.missingRef=nr.url(i,e),this.missingSchema=nr.normalizeId(nr.fullPath(this.missingRef))}function hi(i){return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}});var lr=_((To,ui)=>{"use strict";ui.exports=function(i,e){e||(e={}),typeof e=="function"&&(e={cmp:e});var r=typeof e.cycles=="boolean"?e.cycles:!1,s=e.cmp&&(function(a){return function(d){return function(l,v){var b={key:l,value:d[l]},y={key:v,value:d[v]};return a(b,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,v;if(Array.isArray(d)){for(v="[",l=0;l<d.length;l++)l&&(v+=","),v+=a(d[l])||"null";return v+"]"}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 b=t.push(d)-1,y=Object.keys(d).sort(s&&s(d));for(v="",l=0;l<y.length;l++){var f=y[l],m=a(d[f]);m&&(v&&(v+=","),v+=JSON.stringify(f)+":"+m)}return t.splice(b,1),"{"+v+"}"}})(i)}});var dr=_((Po,yi)=>{"use strict";yi.exports=function(e,r,s){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 v=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(v){var b="unknown keyword: "+v;if(e.opts.strictKeywords==="log")e.logger.warn(b);else throw new Error(b)}}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,m=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,V=-1,B=J.length-1;V<B;)M=J[V+=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 m=e.schema.properties,se=Object.keys(m),pe=se;if(pe)for(var ye,je=-1,Fe=pe.length-1;je<Fe;){ye=pe[je+=1];var ne=m[ye];if(ne.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(ne.default)+" ":t+=" "+JSON.stringify(ne.default)+" ",t+="; "}}}else if(O.type=="array"&&Array.isArray(e.schema.items)){var Be=e.schema.items;if(Be){for(var ne,V=-1,fe=Be.length-1;V<fe;)if(ne=Be[V+=1],ne.default!==void 0){var ie=g+"["+V+"]";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(ne.default)+" ":t+=" "+JSON.stringify(ne.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 Ve=qe.code(e,qe.keyword,O.type);Ve&&(t+=" "+Ve+" ",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 Si=_((Eo,vi)=>{"use strict";var At=Dt(),Rt=He(),bi=Ft(),Gs=lr(),mi=dr(),Hs=Rt.ucs2length,Qs=It(),Ks=bi.Validation;vi.exports=pr;function pr(i,e,r,s){var t=this,a=this._opts,d=[void 0],l={},v=[],b={},y=[],f={},m=[];e=e||{schema:i,refVal:d,refs:l};var o=Js.call(this,i,e,s),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,s);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{Zs.call(this,i,e,s)}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 pr.call(t,x,E,R,J);var V=x.$async===!0,B=mi({isTop:!0,schema:x,isRoot:M,baseId:J,root:E,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:bi.MissingRef,RULES:h,validate:mi,util:Rt,resolve:At,resolveRef:D,usePattern:j,useDefault:L,useCustomRule:O,opts:a,formats:g,logger:t.logger,self:t});B=Ot(d,en)+Ot(v,Ys)+Ot(y,Xs)+Ot(m,tn)+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,m,Qs,Hs,Ks),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,V&&(N.$async=!0),a.sourceCode===!0&&(N.source={code:B,patterns:v,defaults:y}),N}function D(x,E,R){E=At.url(x,E);var J=l[E],M,V;if(J!==void 0)return M=d[J],V="refVal["+J+"]",P(M,V);if(!R&&e.refs){var B=e.refs[E];if(B!==void 0)return M=e.refVal[B],V=F(E,M),P(M,V)}V=F(E);var N=At.call(t,$,e,E);if(N===void 0){var re=r&&r[E];re&&(N=At.inlineRef(re,a.inlineRefs)?re:pr.call(t,re,e,r,x))}if(N===void 0)q(E);else return W(E,N),P(N,V)}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=b[x];return E===void 0&&(E=b[x]=v.length,v[E]=x),"pattern"+E}function L(x){switch(typeof x){case"boolean":case"number":return""+x;case"string":return Rt.toQuotedString(x);case"object":if(x===null)return"null";var E=Gs(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 V=x.definition.validateSchema;if(V){var B=V(E);if(!B){var N="keyword schema is invalid: "+t.errorsText(V.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 se=m.length;return m[se]=G,{code:"customRule"+se,validate:G}}}function Js(i,e,r){var s=gi.call(this,i,e,r);return s>=0?{index:s,compiling:!0}:(s=this._compilations.length,this._compilations[s]={schema:i,root:e,baseId:r},{index:s,compiling:!1})}function Zs(i,e,r){var s=gi.call(this,i,e,r);s>=0&&this._compilations.splice(s,1)}function gi(i,e,r){for(var s=0;s<this._compilations.length;s++){var t=this._compilations[s];if(t.schema==i&&t.root==e&&t.baseId==r)return s}return-1}function Ys(i,e){return"var pattern"+i+" = new RegExp("+Rt.toQuotedString(e[i])+");"}function Xs(i){return"var default"+i+" = defaults["+i+"];"}function en(i,e){return e[i]===void 0?"":"var refVal"+i+" = refVal["+i+"];"}function tn(i){return"var customRule"+i+" = customRules["+i+"];"}function Ot(i,e){if(!i.length)return"";for(var r="",s=0;s<i.length;s++)r+=e(s,i);return r}});var Ii=_(($o,wi)=>{"use strict";var Lt=wi.exports=function(){this._cache={}};Lt.prototype.put=function(e,r){this._cache[e]=r};Lt.prototype.get=function(e){return this._cache[e]};Lt.prototype.del=function(e){delete this._cache[e]};Lt.prototype.clear=function(){this._cache={}}});var Li=_((Do,Ri)=>{"use strict";var rn=He(),an=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,sn=[0,31,28,31,30,31,30,31,31,30,31,30,31],nn=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,Ci=/^(?=.{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,on=/^(?:[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,ln=/^(?:[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,xi=/^(?:(?:[^\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,Ti=/^(?:(?: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,Pi=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,Ei=/^(?:\/(?:[^~/]|~0|~1)*)*$/,$i=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,Di=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;Ri.exports=Wt;function Wt(i){return i=i=="full"?"full":"fast",rn.copy(Wt[i])}Wt.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":xi,url:Ti,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:Ci,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:Oi,uuid:Pi,"json-pointer":Ei,"json-pointer-uri-fragment":$i,"relative-json-pointer":Di};Wt.full={date:Fi,time:Ai,"date-time":cn,uri:fn,"uri-reference":ln,"uri-template":xi,url:Ti,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:Ci,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:Oi,uuid:Pi,"json-pointer":Ei,"json-pointer-uri-fragment":$i,"relative-json-pointer":Di};function dn(i){return i%4===0&&(i%100!==0||i%400===0)}function Fi(i){var e=i.match(an);if(!e)return!1;var r=+e[1],s=+e[2],t=+e[3];return s>=1&&s<=12&&t>=1&&t<=(s==2&&dn(r)?29:sn[s])}function Ai(i,e){var r=i.match(nn);if(!r)return!1;var s=r[1],t=r[2],a=r[3],d=r[5];return(s<=23&&t<=59&&a<=59||s==23&&t==59&&a==60)&&(!e||d)}var pn=/t|\s/i;function cn(i){var e=i.split(pn);return e.length==2&&Fi(e[0])&&Ai(e[1],!0)}var hn=/\/|:/;function fn(i){return hn.test(i)&&on.test(i)}var un=/[^\\]\\Z/;function Oi(i){if(un.test(i))return!1;try{return new RegExp(i),!0}catch{return!1}}});var ji=_((Fo,Wi)=>{"use strict";Wi.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.errSchemaPath+"/"+r,b=!e.opts.allErrors,y="data"+(d||""),f="valid"+a,m,o;if(l=="#"||l=="#/")e.isRoot?(m=e.async,o="validate"):(m=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(v)+" , 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&&b?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++; ",b&&(t+=" if (false) { ")}else if(e.opts.missingRefs=="ignore")e.logger.warn(g),b&&(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+=" "+$+" ",b&&(t+=" if ("+C+") { ")}else m=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(),m){if(!e.async)throw new Error("async schema referenced by sync schema");b&&(t+=" var "+f+"; "),t+=" try { await "+q+"; ",b&&(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; ",b&&(t+=" "+f+" = false; "),t+=" } ",b&&(t+=" if ("+f+") { ")}else t+=" if (!"+q+") { if (vErrors === null) vErrors = "+o+".errors; else vErrors = vErrors.concat("+o+".errors); errors = vErrors.length; } ",b&&(t+=" else { ")}return t}});var Ni=_((Ao,qi)=>{"use strict";qi.exports=function(e,r,s){var t=" ",a=e.schema[r],d=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,v=!e.opts.allErrors,b=e.util.copy(e),y="";b.level++;var f="valid"+b.level,m=b.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,b.schema=g,b.schemaPath=d+"["+h+"]",b.errSchemaPath=l+"/"+h,t+=" "+e.validate(b)+" ",b.baseId=m,v&&(t+=" if ("+f+") { ",y+="}"));return v&&(o?t+=" if (true) { ":t+=" "+y.slice(0,-1)+" "),t}});var ki=_((Oo,_i)=>{"use strict";_i.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="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 "+m+" = 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=v+"["+F+"]",u.errSchemaPath=b+"/"+F,t+=" "+e.validate(u)+" ",u.baseId=T,t+=" "+m+" = "+m+" || "+h+"; if (!"+m+") { ",g+="}";e.compositeRule=u.compositeRule=C,t+=" "+g+" if (!"+m+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(b)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(t+=" , schema: validate.schema"+v+" , 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 Mi=_((Ro,Bi)=>{"use strict";Bi.exports=function(e,r,s){var t=" ",a=e.schema[r],d=e.errSchemaPath+"/"+r,l=!e.opts.allErrors,v=e.util.toQuotedString(a);return e.opts.$comment===!0?t+=" console.log("+v+");":typeof e.opts.$comment=="function"&&(t+=" self._opts.$comment("+v+", "+e.util.toQuotedString(d)+", validate.root.schema);"),t}});var zi=_((Lo,Vi)=>{"use strict";Vi.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="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"+v+";"),t+="var "+m+" = equal("+f+", schema"+a+"); if (!"+m+") { ";var g=g||[];g.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(b)+" , params: { allowedValue: schema"+a+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be equal to constant' "),e.opts.verbose&&(t+=" , schema: validate.schema"+v+" , 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 Gi=_((Wo,Ui)=>{"use strict";Ui.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="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 "+m+";",D){var F=e.compositeRule;e.compositeRule=u.compositeRule=!0,u.schema=l,u.schemaPath=v,u.errSchemaPath=b,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(b)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should contain a valid item' "),e.opts.verbose&&(t+=" , schema: validate.schema"+v+" , 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 Qi=_((jo,Hi)=>{"use strict";Hi.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="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 "+m+" = 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(b)+" , 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"+v+" , 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,V=-1,B=M.length-1;V<B;){W=M[V+=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(b)+" , 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"+v+" , 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=v+e.util.getProperty(F),o.errSchemaPath=b+"/"+e.util.escapeFragment(F),t+=" "+e.validate(o)+" ",o.baseId=N,t+=" } ",y&&(t+=" if ("+g+") { ",u+="}"))}return y&&(t+=" "+u+" if ("+m+" == errors) {"),t}});var Ji=_((qo,Ki)=>{"use strict";Ki.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="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"+v+";"),t+="var "+m+";",o&&(t+=" if (schema"+a+" === undefined) "+m+" = true; else if (!Array.isArray(schema"+a+")) "+m+" = false; else {"),t+=""+m+" = false;for (var "+g+"=0; "+g+"<"+h+".length; "+g+"++) if (equal("+f+", "+h+"["+g+"])) { "+m+" = true; break; }",o&&(t+=" } "),t+=" if (!"+m+") { ";var I=I||[];I.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(b)+" , 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"+v+" , 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 Yi=_((No,Zi)=>{"use strict";Zi.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||"");if(e.opts.format===!1)return y&&(t+=" if (true) { "),t;var m=e.opts.$data&&l&&l.$data,o;m?(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(m){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 ( ",m&&(t+=" ("+o+" !== undefined && typeof "+o+" != 'string') || "),t+=" (",u!="ignore"&&(t+=" ("+o+" && !"+h+" ",g&&(t+=" && self._opts.unknownFormats.indexOf("+o+") == -1 "),t+=") || "),t+=" ("+h+" && "+T+" == '"+s+"' && !(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!=s)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(b)+" , params: { format: ",m?t+=""+o:t+=""+e.util.toQuotedString(l),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match format "`,m?t+="' + "+o+" + '":t+=""+e.util.escapeQuotes(l),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",m?t+="validate.schema"+v: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 ea=_((_o,Xi)=>{"use strict";Xi.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="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=v,u.errSchemaPath=b,t+=" var "+o+" = errors; var "+m+" = 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+=" "+m+" = "+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+=" "+m+" = "+g+"; ",T&&C?(D="ifClause"+a,t+=" var "+D+" = 'else'; "):D="'else'",t+=" } "),t+=" if (!"+m+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(b)+" , params: { failingKeyword: "+D+" } ",e.opts.messages!==!1&&(t+=` , message: 'should match "' + `+D+` + '" schema' `),e.opts.verbose&&(t+=" , schema: validate.schema"+v+" , 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 ra=_((ko,ta)=>{"use strict";ta.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="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 "+m+";",Array.isArray(l)){var D=e.schema.additionalItems;if(D===!1){t+=" "+m+" = "+f+".length <= "+l.length+"; ";var F=b;b=e.errSchemaPath+"/additionalItems",t+=" if (!"+m+") { ";var q=q||[];q.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(b)+" , 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+=" } ",b=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=v+"["+L+"]",u.errSchemaPath=b+"/"+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=v,u.errSchemaPath=b,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 cr=_((Bo,ia)=>{"use strict";ia.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,$,f="data"+(d||""),m=e.opts.$data&&l&&l.$data,o;m?(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(!(m||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(b)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: '"+g+" should be boolean' "),e.opts.verbose&&(t+=" , schema: validate.schema"+v+" , 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 ( ",m&&(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,b=e.errSchemaPath+"/"+g,o=D,m=I)}else{var W=typeof h=="number",j=T;if(W&&m){var P="'"+j+"'";t+=" if ( ",m&&(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,b=e.errSchemaPath+"/"+g,o=h,C+="="):(W&&(o=Math[u?"min":"max"](h,l)),h===(W?o:!0)?(F=!0,$=g,b=e.errSchemaPath+"/"+g,C+="="):(F=!1,j+="="));var P="'"+j+"'";t+=" if ( ",m&&(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(b)+" , params: { comparison: "+P+", limit: "+o+", exclusive: "+F+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be "+j+" ",m?t+="' + "+o:t+=""+o+"'"),e.opts.verbose&&(t+=" , schema: ",m?t+="validate.schema"+v: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 hr=_((Mo,aa)=>{"use strict";aa.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,g,f="data"+(d||""),m=e.opts.$data&&l&&l.$data,o;if(m?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",o="schema"+a):o=l,!(m||typeof l=="number"))throw new Error(r+" must be number");var u=r=="maxItems"?">":"<";t+="if ( ",m&&(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(b)+" , params: { limit: "+o+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have ",r=="maxItems"?t+="more":t+="fewer",t+=" than ",m?t+="' + "+o+" + '":t+=""+l,t+=" items' "),e.opts.verbose&&(t+=" , schema: ",m?t+="validate.schema"+v: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 fr=_((Vo,sa)=>{"use strict";sa.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,g,f="data"+(d||""),m=e.opts.$data&&l&&l.$data,o;if(m?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",o="schema"+a):o=l,!(m||typeof l=="number"))throw new Error(r+" must be number");var u=r=="maxLength"?">":"<";t+="if ( ",m&&(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(b)+" , params: { limit: "+o+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be ",r=="maxLength"?t+="longer":t+="shorter",t+=" than ",m?t+="' + "+o+" + '":t+=""+l,t+=" characters' "),e.opts.verbose&&(t+=" , schema: ",m?t+="validate.schema"+v: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 ur=_((zo,na)=>{"use strict";na.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,g,f="data"+(d||""),m=e.opts.$data&&l&&l.$data,o;if(m?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",o="schema"+a):o=l,!(m||typeof l=="number"))throw new Error(r+" must be number");var u=r=="maxProperties"?">":"<";t+="if ( ",m&&(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(b)+" , params: { limit: "+o+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have ",r=="maxProperties"?t+="more":t+="fewer",t+=" than ",m?t+="' + "+o+" + '":t+=""+l,t+=" properties' "),e.opts.verbose&&(t+=" , schema: ",m?t+="validate.schema"+v: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 la=_((Uo,oa)=>{"use strict";oa.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m=e.opts.$data&&l&&l.$data,o;if(m?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",o="schema"+a):o=l,!(m||typeof l=="number"))throw new Error(r+" must be number");t+="var division"+a+";if (",m&&(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+=" ) ",m&&(t+=" ) "),t+=" ) { ";var u=u||[];u.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(b)+" , params: { multipleOf: "+o+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be multiple of ",m?t+="' + "+o:t+=""+o+"'"),e.opts.verbose&&(t+=" , schema: ",m?t+="validate.schema"+v: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 pa=_((Go,da)=>{"use strict";da.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="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=v,o.errSchemaPath=b,t+=" var "+m+" = 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(b)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be valid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+v+" , 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 = "+m+"; if (vErrors !== null) { if ("+m+") vErrors.length = "+m+"; 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(b)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be valid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+v+" , 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 ha=_((Ho,ca)=>{"use strict";ca.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="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 , "+m+" = 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=v+"["+q+"]",u.errSchemaPath=b+"/"+q,t+=" "+e.validate(u)+" ",u.baseId=I):t+=" var "+h+" = true; ",q&&(t+=" if ("+h+" && "+T+") { "+m+" = false; "+C+" = ["+C+", "+q+"]; } else { ",g+="}"),t+=" if ("+h+") { "+m+" = "+T+" = true; "+C+" = "+q+"; }";return e.compositeRule=u.compositeRule=$,t+=""+g+"if (!"+m+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(b)+" , params: { passingSchemas: "+C+" } ",e.opts.messages!==!1&&(t+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(t+=" , schema: validate.schema"+v+" , 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 ua=_((Qo,fa)=>{"use strict";fa.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m=e.opts.$data&&l&&l.$data,o;m?(t+=" var schema"+a+" = "+e.util.getData(l.$data,d,e.dataPathArr)+"; ",o="schema"+a):o=l;var u=m?"(new RegExp("+o+"))":e.usePattern(l);t+="if ( ",m&&(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(b)+" , params: { pattern: ",m?t+=""+o:t+=""+e.util.toQuotedString(l),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match pattern "`,m?t+="' + "+o+" + '":t+=""+e.util.escapeQuotes(l),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",m?t+="validate.schema"+v: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 ma=_((Ko,ya)=>{"use strict";ya.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="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(V),F=e.schema.patternProperties||{},q=Object.keys(F).filter(V),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 V(Pe){return Pe!=="__proto__"}if(t+="var "+m+" = 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"+v+".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,se=-1,pe=ue.length-1;se<pe;)G=ue[se+=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=b;b=e.errSchemaPath+"/additionalProperties";var ne=ne||[];ne.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(b)+" , 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=ne.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++; ",b=Fe,y&&(t+=" break; ")}else if(L)if(O=="failing"){t+=" var "+m+" = 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 = "+m+"; 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,Ve=Ae.length-1;Me<Ve;){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=v+Ie,o.errSchemaPath=b+"/"+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=b,Ee=e.util.escapeQuotes(N);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(ye,N,e.opts.jsonPointers)),b=e.errSchemaPath+"/required";var ne=ne||[];ne.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(b)+" , 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"+v+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var ie=t;t=ne.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++; ",b=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,ut=-1,kt=ve.length-1;ut<kt;){G=ve[ut+=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 ("+m+" == errors) {"),t}});var ga=_((Jo,ba)=>{"use strict";ba.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="errs__"+a,o=e.util.copy(e),u="";o.level++;var g="valid"+o.level;if(t+="var "+m+" = 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=v,o.errSchemaPath=b;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(b)+" , params: { propertyName: '"+C+"' } ",e.opts.messages!==!1&&(t+=" , message: 'property name \\'"+C+"\\' is invalid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+v+" , 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 ("+m+" == errors) {"),t}});var Sa=_((Zo,va)=>{"use strict";va.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="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"+v+"; ");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 "+m+" = true; ",o&&(t+=" if (schema"+a+" === undefined) "+m+" = true; else if (!Array.isArray(schema"+a+")) "+m+" = false; else {"),t+=" for (var "+P+" = 0; "+P+" < "+g+".length; "+P+"++) { "+m+" = "+f+"["+g+"["+P+"]] !== undefined ",W&&(t+=" && Object.prototype.hasOwnProperty.call("+f+", "+g+"["+P+"]) "),t+="; if (!"+m+") break; } ",o&&(t+=" } "),t+=" if (!"+m+") { ";var O=O||[];O.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(b)+" , 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"+v+" , 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),V=f+M;t+=" ( ( "+V+" === 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(b)+" , 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"+v+" , 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"+v+"; ");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(b)+" , 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"+v+" , 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(b)+" , 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"+v+" , 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),V=f+M;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(F,R,e.opts.jsonPointers)),t+=" if ( "+V+" === 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(b)+" , 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"+v+" , 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 Ia=_((Yo,wa)=>{"use strict";wa.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f="data"+(d||""),m="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 "+m+"; if ("+u+" === false || "+u+" === undefined) "+m+" = true; else if (typeof "+u+" != 'boolean') "+m+" = false; else { "),t+=" var i = "+f+".length , "+m+" = 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])) { "+m+" = 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') { "+m+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}t+=" } ",o&&(t+=" } "),t+=" if (!"+m+") { ";var T=T||[];T.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(b)+" , 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"+v: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 xa=_((Xo,Ca)=>{"use strict";Ca.exports={$ref:ji(),allOf:Ni(),anyOf:ki(),$comment:Mi(),const:zi(),contains:Gi(),dependencies:Qi(),enum:Ji(),format:Yi(),if:ea(),items:ra(),maximum:cr(),minimum:cr(),maxItems:hr(),minItems:hr(),maxLength:fr(),minLength:fr(),maxProperties:ur(),minProperties:ur(),multipleOf:la(),not:pa(),oneOf:ha(),pattern:ua(),properties:ma(),propertyNames:ga(),required:Sa(),uniqueItems:Ia(),validate:dr()}});var Ea=_((el,Pa)=>{"use strict";var Ta=xa(),yr=He().toHash;Pa.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"],s=["$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=yr(r),e.types=yr(t),e.forEach(function(a){a.rules=a.rules.map(function(d){var l;if(typeof d=="object"){var v=Object.keys(d)[0];l=d[v],d=v,l.forEach(function(y){r.push(y),e.all[y]=!0})}r.push(d);var b=e.all[d]={keyword:d,code:Ta[d],implements:l};return b}),e.all.$comment={keyword:"$comment",code:Ta.$comment},a.type&&(e.types[a.type]=a)}),e.keywords=yr(r.concat(s)),e.custom={},e}});var Fa=_((tl,Da)=>{"use strict";var $a=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];Da.exports=function(i,e){for(var r=0;r<e.length;r++){i=JSON.parse(JSON.stringify(i));var s=e[r].split("/"),t=i,a;for(a=1;a<s.length;a++)t=t[s[a]];for(a=0;a<$a.length;a++){var d=$a[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 Ra=_((rl,Oa)=>{"use strict";var yn=Ft().MissingRef;Oa.exports=Aa;function Aa(i,e,r){var s=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=s._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 v=l.$schema;return v&&!s.getSchema(v)?Aa.call(s,{$ref:v},!0):Promise.resolve()}function d(l){try{return s._compile(l)}catch(b){if(b instanceof yn)return v(b);throw b}function v(b){var y=b.missingSchema;if(o(y))throw new Error("Schema "+y+" is loaded but "+b.missingRef+" cannot be resolved");var f=s._loadingSchemas[y];return f||(f=s._loadingSchemas[y]=s._opts.loadSchema(y),f.then(m,m)),f.then(function(u){if(!o(y))return a(u).then(function(){o(y)||s.addSchema(u,y,void 0,e)})}).then(function(){return d(l)});function m(){delete s._loadingSchemas[y]}function o(u){return s._refs[u]||s._schemas[u]}}}}});var Wa=_((il,La)=>{"use strict";La.exports=function(e,r,s){var t=" ",a=e.level,d=e.dataLevel,l=e.schema[r],v=e.schemaPath+e.util.getProperty(r),b=e.errSchemaPath+"/"+r,y=!e.opts.allErrors,f,m="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"+v,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 V=e.validate(R).replace(/validate\.schema/g,P);e.compositeRule=R.compositeRule=M,t+=" "+V}else{var B=B||[];B.push(t),t="",t+=" "+P+".call( ",e.opts.passContext?t+="this":t+="self",D||C.schema===!1?t+=" , "+m+" ":t+=" , "+h+" , "+m+" , 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+") "+m+" = "+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(b)+" , params: { keyword: '"+I.keyword+"' } ",e.opts.messages!==!1&&(t+=` , message: 'should pass "`+I.keyword+`" keyword validation' `),e.opts.verbose&&(t+=" , schema: validate.schema"+v+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),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 = "'+b+'"; } ',e.opts.verbose&&(t+=" "+x+".schema = "+h+"; "+x+".data = "+m+"; "),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 = "'+b+'"; } ',e.opts.verbose&&(t+=" "+x+".schema = "+h+"; "+x+".data = "+m+"; "),t+=" } } "):q?(t+=" var err = ",e.createErrors!==!1?(t+=" { keyword: '"+(f||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(b)+" , params: { keyword: '"+I.keyword+"' } ",e.opts.messages!==!1&&(t+=` , message: 'should pass "`+I.keyword+`" keyword validation' `),e.opts.verbose&&(t+=" , schema: validate.schema"+v+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),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 = "'+b+'"; ',e.opts.verbose&&(t+=" "+x+".schema = "+h+"; "+x+".data = "+m+"; "),t+=" } } else { "+G+" } "),t+=" } ",y&&(t+=" else { ")}return t}});var mr=_((al,mn)=>{mn.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 Na=_((sl,qa)=>{"use strict";var ja=mr();qa.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:ja.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:ja.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 ka=_((nl,_a)=>{"use strict";var bn=/^[a-z_$][a-z0-9_$-]*$/i,gn=Wa(),vn=Na();_a.exports={add:Sn,get:wn,remove:In,validate:br};function Sn(i,e){var r=this.RULES;if(r.keywords[i])throw new Error("Keyword "+i+" is already defined");if(!bn.test(i))throw new Error("Keyword "+i+" is not a valid identifier");if(e){this.validateKeyword(e,!0);var s=e.type;if(Array.isArray(s))for(var t=0;t<s.length;t++)d(i,s[t],e);else d(i,s,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,v,b){for(var y,f=0;f<r.length;f++){var m=r[f];if(m.type==v){y=m;break}}y||(y={type:v,rules:[]},r.push(y));var o={keyword:l,definition:b,custom:!0,code:gn,implements:b.implements};y.rules.push(o),r.custom[l]=o}return this}function wn(i){var e=this.RULES.custom[i];return e?e.definition:this.RULES.keywords[i]||!1}function In(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 s=e[r].rules,t=0;t<s.length;t++)if(s[t].keyword==i){s.splice(t,1);break}return this}function br(i,e){br.errors=null;var r=this._validateKeyword=this._validateKeyword||this.compile(vn,!0);if(r(i))return!0;if(br.errors=r.errors,e)throw new Error("custom keyword definition is invalid: "+this.errorsText(r.errors));return!1}});var Ba=_((ol,Cn)=>{Cn.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 Za=_((ll,Ja)=>{"use strict";var Va=Si(),Qe=Dt(),xn=Ii(),za=rr(),Tn=lr(),Pn=Li(),En=Ea(),Ua=Fa(),Ga=He();Ja.exports=ae;ae.prototype.validate=Dn;ae.prototype.compile=Fn;ae.prototype.addSchema=An;ae.prototype.addMetaSchema=On;ae.prototype.validateSchema=Rn;ae.prototype.getSchema=Wn;ae.prototype.removeSchema=qn;ae.prototype.addFormat=Un;ae.prototype.errorsText=zn;ae.prototype._addSchema=Nn;ae.prototype._compile=_n;ae.prototype.compileAsync=Ra();var Nt=ka();ae.prototype.addKeyword=Nt.add;ae.prototype.getKeyword=Nt.get;ae.prototype.removeKeyword=Nt.remove;ae.prototype.validateKeyword=Nt.validate;var Ha=Ft();ae.ValidationError=Ha.Validation;ae.MissingRefError=Ha.MissingRef;ae.$dataMetaSchema=Ua;var qt="http://json-schema.org/draft-07/schema",Ma=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],$n=["/properties"];function ae(i){if(!(this instanceof ae))return new ae(i);i=this._opts=Ga.copy(i)||{},Zn(this),this._schemas={},this._refs={},this._fragments={},this._formats=Pn(i.format),this._cache=i.cache||new xn,this._loadingSchemas={},this._compilations=[],this.RULES=En(),this._getId=kn(i),i.loopRequired=i.loopRequired||1/0,i.errorDataPath=="property"&&(i._errorDataPathProperty=!0),i.serialize===void 0&&(i.serialize=Tn),this._metaOpts=Jn(this),i.formats&&Qn(this),i.keywords&&Kn(this),Gn(this),typeof i.meta=="object"&&this.addMetaSchema(i.meta),i.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),Hn(this)}function Dn(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 s=this._addSchema(i);r=s.validate||this._compile(s)}var t=r(e);return r.$async!==!0&&(this.errors=r.errors),t}function Fn(i,e){var r=this._addSchema(i,void 0,e);return r.validate||this._compile(r)}function An(i,e,r,s){if(Array.isArray(i)){for(var t=0;t<i.length;t++)this.addSchema(i[t],void 0,r,s);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),Ka(this,e),this._schemas[e]=this._addSchema(i,r,s,!0),this}function On(i,e,r){return this.addSchema(i,e,r,!0),this}function Rn(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||Ln(this),!r)return this.logger.warn("meta-schema not available"),this.errors=null,!0;var s=this.validate(r,i);if(!s&&e){var t="schema is invalid: "+this.errorsText();if(this._opts.validateSchema=="log")this.logger.error(t);else throw new Error(t)}return s}function Ln(i){var e=i._opts.meta;return i._opts.defaultMeta=typeof e=="object"?i._getId(e)||e:i.getSchema(qt)?qt:void 0,i._opts.defaultMeta}function Wn(i){var e=Qa(this,i);switch(typeof e){case"object":return e.validate||this._compile(e);case"string":return this.getSchema(e);case"undefined":return jn(this,i)}}function jn(i,e){var r=Qe.schema.call(i,{schema:{}},e);if(r){var s=r.schema,t=r.root,a=r.baseId,d=Va.call(i,s,t,void 0,a);return i._fragments[e]=new za({ref:e,fragment:!0,schema:s,root:t,baseId:a,validate:d}),d}}function Qa(i,e){return e=Qe.normalizeId(e),i._schemas[e]||i._refs[e]||i._fragments[e]}function qn(i){if(i instanceof RegExp)return jt(this,this._schemas,i),jt(this,this._refs,i),this;switch(typeof i){case"undefined":return jt(this,this._schemas),jt(this,this._refs),this._cache.clear(),this;case"string":var e=Qa(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,s=r?r(i):i;this._cache.del(s);var t=this._getId(i);t&&(t=Qe.normalizeId(t),delete this._schemas[t],delete this._refs[t])}return this}function jt(i,e,r){for(var s in e){var t=e[s];!t.meta&&(!r||r.test(s))&&(i._cache.del(t.cacheKey),delete e[s])}}function Nn(i,e,r,s){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;s=s||this._opts.addUsedSchema!==!1;var l=Qe.normalizeId(this._getId(i));l&&s&&Ka(this,l);var v=this._opts.validateSchema!==!1&&!e,b;v&&!(b=l&&l==Qe.normalizeId(i.$schema))&&this.validateSchema(i,!0);var y=Qe.ids.call(this,i),f=new za({id:l,schema:i,localRefs:y,cacheKey:a,meta:r});return l[0]!="#"&&s&&(this._refs[l]=f),this._cache.put(a,f),v&&b&&this.validateSchema(i,!0),f}function _n(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 s;try{s=Va.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=s,i.refs=s.refs,i.refVal=s.refVal,i.root=s.root,s;function t(){var a=i.validate,d=a.apply(this,arguments);return t.errors=a.errors,d}}function kn(i){switch(i.schemaId){case"auto":return Vn;case"id":return Bn;default:return Mn}}function Bn(i){return i.$id&&this.logger.warn("schema $id ignored",i.$id),i.id}function Mn(i){return i.id&&this.logger.warn("schema id ignored",i.id),i.$id}function Vn(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 zn(i,e){if(i=i||this.errors,!i)return"No errors";e=e||{};for(var r=e.separator===void 0?", ":e.separator,s=e.dataVar===void 0?"data":e.dataVar,t="",a=0;a<i.length;a++){var d=i[a];d&&(t+=s+d.dataPath+" "+d.message+r)}return t.slice(0,-r.length)}function Un(i,e){return typeof e=="string"&&(e=new RegExp(e)),this._formats[i]=e,this}function Gn(i){var e;if(i._opts.$data&&(e=Ba(),i.addMetaSchema(e,e.$id,!0)),i._opts.meta!==!1){var r=mr();i._opts.$data&&(r=Ua(r,$n)),i.addMetaSchema(r,qt,!0),i._refs["http://json-schema.org/schema"]=qt}}function Hn(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 Qn(i){for(var e in i._opts.formats){var r=i._opts.formats[e];i.addFormat(e,r)}}function Kn(i){for(var e in i._opts.keywords){var r=i._opts.keywords[e];i.addKeyword(e,r)}}function Ka(i,e){if(i._schemas[e]||i._refs[e])throw new Error('schema with key or id "'+e+'" already exists')}function Jn(i){for(var e=Ga.copy(i._opts),r=0;r<Ma.length;r++)delete e[Ma[r]];return e}function Zn(i){var e=i._opts.logger;if(e===!1)i.logger={log:gr,warn:gr,error:gr};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 gr(){}});var Ya=gs(Za(),1);var st={$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"],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 assocated 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 supbtypes, setting this property to `false` will order the data by the field value. Otherwise the domain description, subtypes description, or the alias of the field will be used to sort the data.",default:!0}},required:["orderType","orderBy"],description:"A data order option that 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 supbtypes, setting this property to `false` will order the data by the field value. Otherwise the domain description, subtypes description, or the alias of the field will be used to sort the data.\n\nWhen the value is set to `true` or undefined, the `orderBy` property should contain a list of labels like domain descriptions, subtypes descriptions, or field aliases. When the value is set to `false`, the `orderBy` property should contain a list of coded domain values or field names, in order for the data to be sorted correctly.",default:!0}},required:["orderType","orderBy"],description:"A data order option 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
 
@@ -9,7 +9,7 @@ Templates are not used with ArcGIS feature services as these already have templa
9
9
 
10
10
  They are also defined as properties of the layer definition when there are no defined types. Otherwise, templates are defined as properties of the types.`,deprecated:"since 5.1. Won't be replaced.",title:"ITemplate"},FeatureEditTool:{type:"string",enum:["esriFeatureEditToolAutoCompletePolygon","esriFeatureEditToolCircle","esriFeatureEditToolDownArrow","esriFeatureEditToolEllipse","esriFeatureEditToolFreehand","esriFeatureEditToolLeftArrow","esriFeatureEditToolLine","esriFeatureEditToolNone","esriFeatureEditToolPoint","esriFeatureEditToolPolygon","esriFeatureEditToolRectangle","esriFeatureEditToolRightArrow","esriFeatureEditToolText","esriFeatureEditToolTriangle","esriFeatureEditToolUpArrow"],deprecated:"since 5.1. Won't be replaced.",title:"FeatureEditTool"},ITable:{type:"object",properties:{name:{type:"string",description:"Table name"},capabilities:{type:"string",description:"A comma-separated string listing which editing operations are allowed on an editable feature service. Available operations include: 'Create', 'Delete', 'Query', 'Update', and 'Editing'."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"Object indicating the definitionEditor used as a layer's interactive filter."},id:{type:"number",description:"Unique identifier for the table."},itemId:{type:"string",description:"Unique string value indicating an item registered in ArcGIS Online or your organization's portal."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining a definition expression for the table."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"An object defining the content of popup windows when you query a record and the sort option for child related records."},title:{type:"string",description:"String value for the title of the table."},url:{type:"string",description:"String value indicating the URL reference of the hosted table."}},deprecated:"since 5.1. Won't be replaced.",title:"ITable"},IPopupInfo:{type:"object",properties:{description:{type:["string","null"],description:"A string that appears in the body of the popup window as a description. It is also possible to specify the description as HTML-formatted content."},expressionInfos:{type:"array",items:{$ref:"#/definitions/IPopupExpressionInfo"},description:"List of Arcade expressions added to the pop-up."},fieldInfos:{type:"array",items:{$ref:"#/definitions/IFieldInfo"},description:"Array of fieldInfo information properties. This information is provided by the service layer definition. When the description uses name/value pairs, the order of the array is how the fields display in the editable Map Viewer popup and the resulting popup. It is also possible to specify HTML-formatted content."},layerOptions:{type:"object",properties:{showNoDataRecords:{type:"boolean",description:"Indicates whether or not the NoData records should be displayed."}},required:["showNoDataRecords"],description:"Additional options that can be defined for the popup layer."},mediaInfos:{type:"array",items:{$ref:"#/definitions/IMediaInfo"},description:"Array of various mediaInfo to display. Can be of type image, piechart, barchart, columnchart, or linechart. The order given is the order in which is displays."},popupElements:{type:"array",items:{$ref:"#/definitions/IPopupElement"},description:"An array of popupElement objects that represent an ordered list of popup elements."},relatedRecordsInfo:{$ref:"#/definitions/IRelatedRecordsInfo",description:"Indicates whether to enable related records if they exist on a layer."},showAttachments:{type:"boolean",description:"Indicates whether attachments will be loaded for feature layers that have attachments."},title:{type:"string",description:"A string that appears at the top of the popup window as a title."}},deprecated:"since 5.1. Won't be replaced.",title:"IPopupInfo"},IPopupExpressionInfo:{type:"object",properties:{expression:{type:"string",description:"The Arcade expression."},name:{type:"string",description:"Unique identifier for the expression."},returnType:{type:"string",enum:["number","string"],description:"Return type of the Arcade expression, can be number or string. Defaults to string value. Number values are assumed to be double. This can be determined by the authoring client by executing the expression using a sample feature(s), although it can be corrected by the user. Knowing the returnType allows the authoring client to present fields in relevant contexts. For example, numeric fields in numeric contexts such as charts."},title:{type:"string",description:"Title of the expression."}},deprecated:"since 5.1. Won't be replaced.",title:"IPopupExpressionInfo"},IFieldInfo:{type:"object",properties:{fieldName:{description:"A string containing the field name as defined by the service. Anywhere that a fieldname is referenced as {field-name} in popupInfo, an Arcade expression can also be referenced as{expression/}`."},format:{$ref:"#/definitions/IFieldFormat",description:"A format object used with numerical or date fields to provide more detail about how the value should be displayed in a web map popup window."},isEditable:{type:"boolean",description:"A Boolean determining whether users can edit this field. Not applicable to Arcade expressions."},label:{type:"string",description:"A string containing the field alias. This can be overridden by the web map author. Not applicable to Arcade expressions as title is used instead."},stringFieldOption:{type:"string",enum:["richtext","textarea","textbox"],description:"A string determining what type of input box editors see when editing the field. Applies only to string fields. Not applicable to Arcade expressions."},tooltip:{type:"string",description:"A string providing an editing hint for editors of the field. Not applicable to Arcade expressions."},visible:{type:"boolean",description:"A Boolean determining whether the field is visible in the popup window."}},deprecated:"since 5.1. Won't be replaced.",title:"IFieldInfo"},IFieldFormat:{type:"object",properties:{dateFormat:{type:"string",enum:["dayShortMonthYear","longDate","longMonthDayYear","longMonthYear","shortDate","shortDateLE","shortDateLELongTime","shortDateLELongTime24","shortDateLEShortTime","shortDateLEShortTime24","shortDateLongTime","shortDateLongTime24","shortDateShortTime","shortDateShortTime24","shortMonthYear","year"],description:"A string used with date fields to specify how the date should appear in popup windows."},digitSeparator:{type:"boolean",description:"A Boolean used with numerical fields. A value of true allows the number to have a digit (or thousands) separator when the value appears in popup windows. Depending on the locale, this separator is a decimal point or a comma. A value of false means that no separator will be used."},places:{type:"number",description:"An integer used with numerical fields to specify the number of supported decimal places that should appear in popup windows. Any places beyond this value are rounded."}},deprecated:"since 5.1. Won't be replaced.",title:"IFieldFormat"},IMediaInfo:{type:"object",properties:{caption:{description:"A string caption describing the media."},refreshInterval:{description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled. If the property does not exist, it's equivalent to having a value of 0. Only applicable when type is set to image."},title:{type:["string","null"],description:"A string title for the media."},type:{type:"string",enum:["barchart","columnchart","image","linechart","piechart"],description:"A string defining the type of media."},value:{anyOf:[{$ref:"#/definitions/IMediaInfoValue"},{type:"null"}],description:"A value object containing information about how the image should be retrieved or how the chart should be constructed."}},deprecated:"since 5.1. Won't be replaced.",title:"IMediaInfo"},IMediaInfoValue:{type:"object",properties:{fields:{type:"array",items:{type:"string"},description:"Used with charts. An array of strings, with each string containing the name of a field to display in the chart."},linkURL:{type:"string",description:"Used with images. A string containing a URL to be launched in a browser when a user clicks the image."},normalizeField:{type:"string",description:"Used with charts. An optional string containing the name of a field. The values of all fields in the chart will be normalized (divided) by the value of this field."},sourceURL:{type:"string",description:"Used with images. A string containing the URL to the image."},tooltipField:{type:"string",description:"String value indicating the tooltip for a chart specified from another field. This field is needed when related records are not sued. It is used for showing tooltips from another field in the same layer or related layer/table."}},deprecated:"since 5.1. Won't be replaced.",title:"IMediaInfoValue"},IPopupElement:{type:"object",properties:{displayType:{type:"string",enum:["list","preview"],description:"This property applies to elements of type attachments. A string value indicating how to display the attachment. Possible values are, preview, and list. If list is specified, attachments show as links."},fieldInfos:{type:"array",items:{$ref:"#/definitions/IFieldInfo"},description:"This property applies to elements of type fields. It is an array of popupInfo.fieldInfo objects representing a field/value pair displayed as a table within the popupElement. If the fieldInfos property is not provided, the popupElement will display whatever is specified directly in the popupInfo.fieldInfos property."},mediaInfos:{type:"array",items:{$ref:"#/definitions/IMediaInfo"},description:"This property applies to elements of type media. An array of popupInfo.mediaInfo objects representing an image or chart for display. If no mediaInfos property is provided, the popupElement will display whatever is specified in the popupInfo.mediaInfo property."},text:{type:"string",description:"This property applies to elements of type text. This is string value indicating the text to be displayed within the popupElement. If no text property is provided, the popupElement will display whatever is specified in the popupInfo.description property."},type:{type:"string",enum:["attachments","fields","media","text"],description:"String value indicating which elements to use."}},deprecated:"since 5.1. Won't be replaced.",title:"IPopupElement"},IRelatedRecordsInfo:{type:"object",properties:{orderByFields:{type:"array",items:{$ref:"#/definitions/IOrderByField"},description:"Array of orderByFields objects indicating the field display order for the related records and whether they should be sorted in ascending 'asc' or descending 'desc' order."},showRelatedRecords:{type:"boolean",description:"Required boolean value indicating whether to display related records. If true, client should let the user navigate to the related records. Defaults to true if the layer participates in a relationship AND the related layer/table has already been added to the map (either as an operationalLayer or as a table)."}},required:["showRelatedRecords"],deprecated:"since 5.1. Won't be replaced.",title:"IRelatedRecordsInfo"},IOrderByField:{type:"object",properties:{field:{type:"string",description:"The attribute value of the field selected that will drive the sorting of related records."},order:{type:"string",enum:["asc","desc"],description:"Set the ascending or descending sort order of the returned related records."}},deprecated:"since 5.1. Won't be replaced.",title:"IOrderByField"},IServiceInfo:{type:"object",properties:{adminServiceInfo:{type:"object",properties:{name:{type:"string"},type:{type:"string"},status:{type:"string"},database:{type:"object",properties:{datasource:{type:"object",properties:{name:{type:"string"}},required:["name"]}},required:["datasource"]}},required:["name","type","status","database"]},layers:{type:"array",items:{$ref:"#/definitions/Record%3Cstring%2Cunknown%3E"}}},required:["adminServiceInfo","layers"],deprecated:"since 5.1. Won't be replaced.",title:"IServiceInfo"},"Record<string,unknown>":{type:"object",additionalProperties:{},title:"Record<string,unknown>"},IViewServiceSource:{type:"object",properties:{name:{type:"string"},type:{type:"string"},url:{type:"string"},serviceItemId:{type:"string"}},required:["name","type","url","serviceItemId"],deprecated:"since 5.1. Won't be replaced.",title:"IViewServiceSource"},IViewServiceSources:{type:"object",properties:{currentVersion:{type:"number"},services:{type:"array",items:{$ref:"#/definitions/IViewServiceSource"}}},required:["currentVersion","services"],deprecated:"since 5.1. Won't be replaced.",title:"IViewServiceSources"},IServiceNameAvailable:{type:"object",properties:{available:{type:"boolean"}},required:["available"],deprecated:"since 5.1. Won't be replaced.",title:"IServiceNameAvailable"},IStatisticDefinition:{type:"object",properties:{statisticType:{type:"string",enum:["avg","centroid-aggregate","convex-hull-aggregate","count","envelope-aggregate","max","min","percentile-continuous","percentile-discrete","stddev","sum","var"],description:"Statistical operation to perform."},statisticParameters:{type:"object",properties:{value:{type:"number"},orderBy:{type:"string",enum:["asc","desc"]}},required:["value"],description:"Parameters to be used along with `statisticType`. Currently only applicable for `percentile-continuous` (continuous percentile) and `percentile-discrete` (discrete percentile)."},onStatisticField:{type:"string",description:"Field on which to perform the statistical operation."},outStatisticFieldName:{type:"string",description:"Field name for the returned statistic field.\n\nIf `outStatisticFieldName` is empty or missing, the server will assign one. A valid field name can only contain alphanumeric characters and an underscore. If `outStatisticFieldName` is a reserved keyword of the underlying DBMS, the operation can fail. Try specifying an alternative `outStatisticFieldName`."}},required:["statisticType","onStatisticField"],title:"IStatisticDefinition"},Color:{type:"array",items:{type:"number"},minItems:4,maxItems:4,description:"Represents the color information (R, G, B, A).",title:"Color"},IFont:{type:"object",properties:{family:{type:"string"},size:{type:"number"},style:{type:"string",enum:["italic","normal","oblique"]},weight:{type:"string",enum:["bold","bolder","lighter","normal"]},decoration:{type:"string",enum:["line-through","none","underline"]}},title:"IFont"},IPictureSourced:{type:"object",properties:{url:{type:"string"},imageData:{type:"string"},contentType:{type:"string"},width:{type:"number"},height:{type:"number"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"}},deprecated:"since 5.1. Won't be replaced.",title:"IPictureSourced"},IMarkerSymbol:{type:"object",properties:{type:{$ref:"#/definitions/SymbolType"},style:{type:"string"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"}},required:["type"],title:"IMarkerSymbol"},IPictureFillSymbol:{type:"object",properties:{url:{type:"string"},imageData:{type:"string"},contentType:{type:"string"},width:{type:"number"},height:{type:"number"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},type:{type:"string",const:"esriPFS"},style:{type:"string"},outline:{$ref:"#/definitions/ISimpleLineSymbol"},xscale:{type:"number"},yscale:{type:"number"}},required:["type"],deprecated:"since 5.1. Won't be replaced.",title:"IPictureFillSymbol"},ISimpleLineSymbol:{type:"object",properties:{type:{type:"string",const:"esriSLS"},style:{$ref:"#/definitions/SimpleLineSymbolStyle"},color:{$ref:"#/definitions/Color"},width:{type:"number"}},required:["type"],title:"ISimpleLineSymbol"},SimpleLineSymbolStyle:{type:"string",enum:["esriSLSDash","esriSLSDashDot","esriSLSDashDotDot","esriSLSDot","esriSLSNull","esriSLSSolid"],title:"SimpleLineSymbolStyle"},IPictureMarkerSymbol:{type:"object",properties:{url:{type:"string"},imageData:{type:"string"},contentType:{type:"string"},width:{type:"number"},height:{type:"number"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},type:{type:"string",const:"esriPMS"},style:{type:"string"}},required:["type"],deprecated:"since 5.1. Won't be replaced.",title:"IPictureMarkerSymbol"},SimpleMarkerSymbolStyle:{type:"string",enum:["esriSMSCircle","esriSMSCross","esriSMSDiamond","esriSMSSquare","esriSMSTriangle","esriSMSX"],title:"SimpleMarkerSymbolStyle"},SimpleFillSymbolStyle:{type:"string",enum:["esriSFSBackwardDiagonal","esriSFSCross","esriSFSDiagonalCross","esriSFSForwardDiagonal","esriSFSHorizontal","esriSFSNull","esriSFSSolid","esriSFSVertical"],title:"SimpleFillSymbolStyle"},ISimpleFillSymbol:{type:"object",properties:{type:{type:"string",const:"esriSFS"},style:{$ref:"#/definitions/SimpleFillSymbolStyle"},color:{$ref:"#/definitions/Color"},outline:{$ref:"#/definitions/ISimpleLineSymbol"}},required:["type"],title:"ISimpleFillSymbol"},ISimpleMarkerSymbol:{type:"object",properties:{type:{type:"string",const:"esriSMS"},style:{$ref:"#/definitions/SimpleMarkerSymbolStyle"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},color:{$ref:"#/definitions/Color"},size:{type:"number"},outline:{$ref:"#/definitions/ISimpleLineSymbol"}},required:["type"],title:"ISimpleMarkerSymbol"},ITextSymbol:{type:"object",properties:{type:{type:"string",const:"esriTS"},style:{type:"string"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string",description:"Only applicable when specified as a client-side graphic."}},required:["type"],title:"ITextSymbol"},IUser:{type:"object",properties:{username:{type:"string"},fullName:{type:"string"},availableCredits:{type:"number"},assignedCredits:{type:"number"},firstName:{type:"string"},lastName:{type:"string"},preferredView:{},description:{type:"string"},email:{type:"string"},idpUsername:{type:"string"},favGroupId:{type:"string"},lastLogin:{type:"number"},mfaEnabled:{type:"boolean"},access:{type:"string"},storageUsage:{type:"number"},storageQuota:{type:"number"},orgId:{type:"string"},cOrgId:{type:"string"},role:{type:"string",enum:["org_admin","org_publisher","org_user"]},privileges:{type:"array",items:{type:"string"}},roleId:{type:"string"},level:{type:"string"},disabled:{type:"boolean"},units:{type:"string"},tags:{type:"array",items:{type:"string"}},culture:{type:"string"},region:{type:"string"},thumbnail:{type:"string"},created:{type:"number"},modified:{type:"number"},groups:{type:"array",items:{$ref:"#/definitions/IGroup"}},provider:{type:"string",enum:["arcgis","enterprise","facebook","google"]}},deprecated:"since 5.1. Won't be replaced.",title:"IUser"},IPagingParams:{type:"object",properties:{start:{type:"number"},num:{type:"number"}},deprecated:"since 5.1. Won't be replaced.",title:"IPagingParams"},IPagedResponse:{type:"object",properties:{start:{type:"number"},num:{type:"number"},total:{type:"number",description:"total number of object across all pages"},nextStart:{type:"number",description:"next entry index or -1 for the last page"}},required:["total","nextStart"],deprecated:"since 5.1. Won't be replaced.",title:"IPagedResponse"},IWebMapBackground:{type:"object",properties:{color:{$ref:"#/definitions/Color",description:"To define the color of the background of the map (which is shown when no data is shown)."}},required:["color"],deprecated:"since 5.1. Won't be replaced.",title:"IWebMapBackground"},IBookmark:{type:"object",properties:{extent:{$ref:"#/definitions/IExtent",description:"An extent object containing a spatial reference, a lower left coordinate, and an upper right coordinate defining the rectangular area of the bookmark. The spatial reference must be the same as the map spatial reference. Documentation for the envelope is in the Geometry Objects topic of the ArcGIS REST API help."},name:{type:"string",description:"A string name for the bookmark."}},required:["extent","name"],deprecated:"since 5.1. Won't be replaced.",title:"IBookmark"},IMapRangeInfo:{type:"object",properties:{activeRangeName:{type:"string",description:"Active range ID that slider/picker acts upon."},currentRangeExtent:{type:"array",items:{type:"number"},description:"Current range for the active range."},fullRangeExtent:{type:"array",items:{type:"number"},description:"Full range extent for the active range to be presented in the UI."}},deprecated:"since 5.1. Won't be replaced.",title:"IMapRangeInfo"},IMapLocation:{type:"object",properties:{centerPoint:{$ref:"#/definitions/IPoint",description:"The center of the map specified using X/Y coordinates."},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"Well-known ID (WKID) or well-known text (WKT)."}},required:["centerPoint","spatialReference"],deprecated:"since 5.1. Won't be replaced.",title:"IMapLocation"},IVisibleLayer:{type:"object",properties:{featureVisibility:{type:"array",items:{type:"array",items:{}},description:"An array of arrays."},id:{type:"number",description:"The id of the layer as listed on the operational layer."},subLayerIds:{type:"array",items:{type:"number"},description:"An array of integers."}},deprecated:"since 5.1. Won't be replaced.",title:"IVisibleLayer"},IVisiblePopup:{type:"object",properties:{anchorPoint:{$ref:"#/definitions/IPoint",description:"Object with spatialReference, x, and y."},featureId:{type:"number",description:"An integer specifying the feature's id."},layerId:{type:"string",description:"A string specifying the layer id."},subLayerId:{type:"number",description:"An integer specifying the sublayer id."}},deprecated:"since 5.1. Won't be replaced.",title:"IVisiblePopup"},ISlide:{type:"object",properties:{baseMap:{$ref:"#/definitions/IBaseMap",description:"Basemaps give the web map a geographic context."},extent:{$ref:"#/definitions/IExtent",description:"The standard Esri extent object with spatialReference, xmax, xmin, ymax and ymin."},hidden:{type:"boolean",description:"Indicates whether the slide should be hidden within the presentation."},mapLocation:{$ref:"#/definitions/IMapLocation",description:"An object with a centerPoint object and sometimes a resolution."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"An array of two numbers. The first one indicates start time and the second one indicates end time."},title:{type:"string",description:"Title including text and formatting for each slide."},visibleLayers:{$ref:"#/definitions/IVisibleLayer",description:"An array of objects used to indicate layer visibility."},visiblePopup:{$ref:"#/definitions/IVisiblePopup",description:"A presentation slide's visiblePopup which contains anchorPoint, featureId, layerId, and subLayerId."}},deprecated:"since 5.1. Won't be replaced.",title:"ISlide"},IBaseMap:{type:"object",properties:{baseMapLayers:{type:"array",items:{$ref:"#/definitions/ILayer"},description:"An array of baseMapLayer objects defining the basemaps used in the web map."},title:{type:"string",description:"Required string title for the basemap that can be used in a table of contents. It takes the title of the first baseMapLayer in the array."}},required:["baseMapLayers","title"],deprecated:"since 5.1. Won't be replaced.",title:"IBaseMap"},ILayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",description:"Indicates the layer type"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."}},required:["id","layerType"],title:"ILayer"},IPresentation:{type:"object",properties:{displayTimeSlider:{type:"boolean",description:"Indicates whether to display the time slider (if accessible)."},showLegend:{type:"boolean",description:"Indicates whether to display a legend on all slides."},slideAdvancementInterval:{type:"number",description:"Number of seconds to show slide before proceeding to the next slide."},slides:{type:"array",items:{$ref:"#/definitions/ISlide"},description:"Array of slide objects."},useTimeExtentOfSlide:{type:"boolean",description:"Indicates whether to use the time extent (if applicable) of a slide."}},deprecated:"since 5.1. Won't be replaced.",title:"IPresentation"},IWebmap:{type:"object",properties:{applicationProperties:{$ref:"#/definitions/IApplicationProperties",description:"Viewing and editing properties of the webmap"},authoringApp:{type:"string",description:"String value indicating the application which authored the webmap"},authoringAppVersion:{type:"string",description:"String value indicating the authoring App's version number"},background:{$ref:"#/definitions/IWebMapBackground",description:"Defines the appearance for the background of the map."},baseMap:{$ref:"#/definitions/IBaseMap",description:"[Required] Basemaps give the web map a geographic context"},bookmarks:{type:"array",items:{$ref:"#/definitions/IBookmark"},description:"A bookmark is a saved geographic extent that allows end users to quickly navigate to a particular area of interest"},mapRangeInfo:{$ref:"#/definitions/IMapRangeInfo",description:"Map Range Information"},operationalLayers:{type:"array",items:{$ref:"#/definitions/ILayer"},description:"Operational layers contain business data which are used to make thematic maps"},presentation:{description:"A presentation consists of multiple slides. Each slide has a different title, extent, basemap, layers etc"},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"[Required] An object used to specify the spatial reference of the given geometry."},tables:{type:"array",items:{$ref:"#/definitions/ITable"},description:"Root element in the web map specifying an array of table objects. (optional)"},version:{type:"string",description:"[Required] Root element in the web map specifying a string value indicating the web map version."},widgets:{description:"The widgets object contains widgets that should be exposed to the user"}},required:["baseMap","spatialReference","version"],deprecated:"since 5.1. Won't be replaced.",title:"IWebmap"},IApplicationProperties:{type:"object",properties:{editing:{anyOf:[{$ref:"#/definitions/IEditingProperties"},{type:"null"}],description:"If locationTracking is set and enabled, the Collector application will update the feature service at the defined interval with the current location of the user logged into the Collector app."},offline:{anyOf:[{$ref:"#/definitions/IOfflineInfo"},{type:"null"}],description:"Use if working with offline maps."},viewing:{anyOf:[{$ref:"#/definitions/IViewingInfo"},{type:"null"}],description:"An object containing all the viewing properties of the web map. If this is null or not defined, the client should assume a logical default."}},deprecated:"since 5.1. Won't be replaced.",title:"IApplicationProperties"},IEditingProperties:{type:"object",properties:{locationTracking:{$ref:"#/definitions/ILocationTracking",description:"If locationTracking is set and enabled, the collector app will update the feature service at the defined interval with the current location of the user logged into the collector application."}},required:["locationTracking"],deprecated:"since 5.1. Won't be replaced.",title:"IEditingProperties"},ILocationTracking:{type:"object",properties:{enabled:{type:"boolean",description:"A boolean value indicating whether or not location tracking is enabled on the webmap."},info:{$ref:"#/definitions/ILocationTrackingInfo",description:"An object of additional information specifying layer and update interval time."}},required:["enabled","info"],deprecated:"since 5.1. Won't be replaced.",title:"ILocationTracking"},ILocationTrackingInfo:{type:"object",properties:{layerId:{description:"A string value indicating the given layer id specified in the web map."},updateInterval:{description:"A numeric value indicating the time interval used to update the feature service. Default value is 300 seconds."}},required:["layerId"],deprecated:"since 5.1. Won't be replaced.",title:"ILocationTrackingInfo"},IOfflineInfo:{type:"object",properties:{editableLayers:{$ref:"#/definitions/IEditableLayers",description:"Object detailing the available offline editing options."},readonlyLayers:{$ref:"#/definitions/IReadOnlyLayers",description:"Object indicating what to do with attachments in read-only layers."}},required:["editableLayers","readonlyLayers"],deprecated:"since 5.1. Won't be replaced.",title:"IOfflineInfo"},IEditableLayers:{type:"object",properties:{download:{type:"string",enum:["featuers","featuresAndAttachments","none"],description:"When editing layers, the edits are always sent to the server. This string value indicates which data is retrieved. For example, none indicates that only the schema is written since neither the features nor attachments are retrieved. For a full sync without downloading attachments, indicate features. Lastly, the default behavior is to have a full sync using featuresAndAttachments where both features and attachments are retrieved."},sync:{type:"string",enum:["syncFeaturesAndAttachments","syncFeaturesUploadAttachments","uploadFeaturesAndAttachments"],description:"This string value indicates how the data is synced."}},required:["download","sync"],deprecated:"since 5.1. Won't be replaced.",title:"IEditableLayers"},IReadOnlyLayers:{type:"object",properties:{downloadAttachments:{type:"boolean",description:"Indicates whether to include attachments with the read-only data."}},required:["downloadAttachments"],deprecated:"since 5.1. Won't be replaced.",title:"IReadOnlyLayers"},IViewingInfo:{type:"object",properties:{basemapGallery:{$ref:"#/definitions/IEnableable",description:"The basemap tool which will use the basemap group defined in the Portal."},measure:{$ref:"#/definitions/IEnableable",description:"Measure tool."},routing:{$ref:"#/definitions/IEnableable",description:"The route tool which will leverage the Portals defined route service."},search:{$ref:"#/definitions/ISearch",description:"An object specifying search parameters within the webmap."}},deprecated:"since 5.1. Won't be replaced.",title:"IViewingInfo"},IEnableable:{type:"object",properties:{enabled:{type:"boolean"}},required:["enabled"],deprecated:"since 5.1. Won't be replaced.",title:"IEnableable"},ISearch:{type:"object",properties:{enabled:{type:"boolean"},disablePlaceFinder:{description:"A boolean value indicating whether or not to disable the place finder."},hintText:{description:"A string value used to indicate the hint provided with the search dialog."},layers:{description:"An array of layer objects defining the styling, geometry, and attribute information for the features."}},required:["enabled"],deprecated:"since 5.1. Won't be replaced.",title:"ISearch"},IRange:{type:"object",properties:{interactionMode:{type:"string",enum:["picker","slider"],description:"Indicates the mode in which the active range should be presented to the user. Must be one of the following values: slider, picker"},numberOfStops:{description:"This is used to generate the activeRangeValues if activeRangeValues are not specified."},stopInterval:{type:"number",description:"Interval in which stops should be generated."}},deprecated:"since 5.1. Won't be replaced.",title:"IRange"},IWidget:{type:"object",properties:{range:{$ref:"#/definitions/IRange",description:"Active range."},timeSlider:{$ref:"#/definitions/ITimeSliderProperties",description:"Time animation is controlled by a configurable time slider. The time slider widget will act upon all the time aware layers in the map."}},deprecated:"since 5.1. Won't be replaced.",title:"IWidget"},ITimeSliderProperties:{type:"object",properties:{currentTimeExtent:{type:"array",items:{type:"number"},description:"An optional array of numbers indicating the slider's start to end time extent."},endTime:{type:"number",description:"The optional end of the time slider. If not specified, the slider defaults to the full time extent of all time-enabled layers."},numberOfStops:{type:"number",description:"Number of stops within the timeSlider widget."},startTime:{type:"number",description:"The optional start of the time slider. If not specified, the slider defaults to the full time extent of all time-enabled layers."},thumbCount:{type:"number",description:"The default value for the thumbCount is 1."},thumbMovingRate:{type:"number",description:"Rate at which the time animation plays. Units are in milliseconds. Default is 1000."},timeStopInterval:{type:"number",description:"The interval which has been defined for the time slider."}},deprecated:"since 5.1. Won't be replaced.",title:"ITimeSliderProperties"},ITimeSlider:{type:"object",properties:{properties:{$ref:"#/definitions/ITimeSliderProperties",description:"Configurable properties used within the TimeSlider widget."}},required:["properties"],deprecated:"since 5.1. Won't be replaced.",title:"ITimeSlider"},ISupportsTime:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."}},deprecated:"since 5.1. Won't be replaced.",title:"ISupportsTime"},IBingLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",enum:["BingMapsAerial","BingMapsHybrid","BingMapsRoad"],description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},bingKey:{type:"string",description:"String value that unlocks the use of Bing layers in a web map."},canShareBingPublic:{type:"boolean",description:"Boolean value indicating whether the Bing key can be shared to the public."},portalUrl:{type:"string",description:"A string value representing the URL to the Portal/organization Self resource. Calls should be made to this property to retrieve the Bing key. If the key is not made accessible to the public or if canShareBingPublic is false, any web maps using Bing layers will not work."}},required:["id","layerType"],deprecated:"since 5.1. Won't be replaced.",title:"IBingLayer"},IImageServiceLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISImageServiceLayer",description:"String indicating the layer type. Value of this property must be ArcGISImageServiceLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},bandIds:{type:"array",items:{type:"number"},description:"An array of bandIds that are visible, can specify bands to export or rearrange band order(from image service)."},compressionQuality:{description:"Controls how much loss the image will be subjected to by the compression algorithm (from image service)."},definitionEditor:{description:"Stores interactive filters."},disablePopup:{type:"boolean",description:"Boolean property indicating whether to ignore popups defined by the service item."},format:{type:"string",enum:["bmp","gif","jpg","jpgpng","png","png8","png24","png32","tiff"],description:"String value representing image format."},interpolation:{type:"string",enum:["RSP_BilinearInterpolation","RSP_CubicConvolution","RSP_Majority","RSP_NearestNeighbor"],description:"The algorithm used for interpolation."},isReference:{type:"boolean",description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},mosaicRule:{description:"Specifies the mosaic rule when defining how individual images should be mosaicked."},noData:{description:"The pixel value that represents no information."},noDataInterpretation:{type:"string",enum:["esriNoDataMatchAll","esriNoDataMatchAny"],description:"A string value of interpretation of noData setting. Default is 'esriNoDataMatchAny' when noData is a number, and 'esriNoDataMatchAll' when noData is an array."},pixelType:{type:"string",enum:["C64","C128","F32","F64","S8","S16","S32","U1","U2","U4","U8","U16","U32","UNKNOWN"],description:"Pertains to the type of values stored in the raster, such as signed integer, unsigned integer, or floating point."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},renderingRule:{description:"Specifies the rendering rule for how the requested image should be rendered."}},required:["id","layerType"],title:"IImageServiceLayer"},IImageVectorLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISImageServiceVectorLayer",description:"String indicating the layer type. Value of this property must be ArcGISImageServiceVectorLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},definitionEditor:{description:"Stores interactive filters."},disablePopup:{description:"Boolean property indicating whether to ignore popups defined by the service item."},isReference:{type:"boolean",description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layerDefinition:{description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},mosaicRule:{description:"Specifies the mosaic rule when defining how individual images should be mosaicked."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},symbolTileSize:{description:"Number describing the size of the tile."}},required:["id","layerType"],deprecated:"since 5.1. Won't be replaced.",title:"IImageVectorLayer"},IChildLayer:{type:"object",properties:{defaultVisibility:{description:"Default visibility of the layers in the map service."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"An object that provides interactive filters."},featureSet:{$ref:"#/definitions/IFeatureSet",description:"A featureSet object containing the geometry and attributes of the features in the layer. Used with feature collections only."},field:{type:"array",items:{$ref:"#/definitions/IField"},description:"Information about each field in a layer. Used with feature collections."},id:{type:"string",description:"A string indicating the index position of the layer in the map service or feature collection."},layerDefinition:{description:"The layerDefinition object defines the attribute schema and drawing information for the layer."},layerUrl:{description:"A string URL to a service that should be used for all queries against the layer. Used with hosted tiled map services on ArcGIS Online when there is an associated feature service that allows for queries."},maxScale:{description:"Represents the maximum scale at which the layer definition will be applied."},minScale:{description:"Represents the minimum scale at which the layer definition will be applied."},nextObjectId:{description:"Iterates within a featureset. Number objectId value is incremented +1 based on last Object ID defined for the feature in a featureset. Used with feature collections."},parentLayerId:{description:"If working with nested layers, this is the numeric value indicating the layer id of the next layer (parent) directly above the current referenced layer."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the popup window content for the layer."},showLegend:{description:"Indicates whether to allow map authors the ability to control what layers should be shown in a client's legend."},subLayer:{description:"Array of numeric values indicating the layer index for layers nested directly under the parent layer."},subLayerIds:{description:"If the layer is a parent layer, it will have one or more sub layers included in an array."},title:{description:"A user-friendly string title for the layer that can be used in a table of contents."}},title:"IChildLayer"},IMapServiceLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISMapServiceLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},isReference:{description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layers:{type:"array",items:{$ref:"#/definitions/IChildLayer"},description:"An array of layer objects defining the styling, geometry, and attribute information for the features."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},thematicGroup:{$ref:"#/definitions/IThematicGroup",description:"(Optional) A thematicGroup object used in ArcGISMapServiceLayer layers."},visibleLayers:{type:"array",items:{type:"number"},description:"An array of sublayer ids that should appear visible. Used with map service layers that are not tiled."}},required:["id","layerType"],deprecated:"since 5.1. Won't be replaced.",title:"IMapServiceLayer"},IThematicGroup:{type:"object",properties:{fieldNames:{type:"array",items:{type:"string"},description:"An array of string values indicating all the fields used within the webmap. All other fields can be disregarded and should not display in any field selection list."},layerIds:{type:"array",items:{type:"number"},description:"A zero-based array of integers indicating the layers to be used in the webmap. NOTE: All other layers should not be added to the TOC and may or may not be visible on the map as reference layers."},name:{type:"string",description:"String property indicating the name for the thematic grouping of layers."}},deprecated:"since 5.1. Won't be replaced.",title:"IThematicGroup"},IDrawingInfo:{type:"object",properties:{fixedSymbols:{description:"Only used for feature collections with a renderer. The feature's symbol is defined by the layer's renderer."},labelingInfo:{description:"An object defining the properties used for labeling the layer."},renderer:{description:"An object defined which provides the symbology for the layer."},scaleSymbols:{description:"Boolean property indicating whether symbols should stay the same size in screen units as you zoom in. A value of true means the symbols stay the same size in screen units regardless of the map scale."},showLabels:{type:"boolean",description:"Defines whether labels should be shown or not. This is only valid for sublayers."},transparency:{type:"number",description:"Number value ranging between `0` (no transparency) to `100` (completely transparent)."}},description:"Drawing info container for renderer, labeling etc.",title:"IDrawingInfo"},ITypeInfoDomain:{type:"object",properties:{type:{type:"string"}},required:["type"],deprecated:"since 5.1. Won't be replaced.",title:"ITypeInfoDomain"},ITypeInfo:{type:"object",properties:{domains:{$ref:"#/definitions/Record%3Cstring%2CITypeInfoDomain%3E",description:"A comma-delimited series of domain objects for each domain in the type."},id:{type:["number","string"],description:"A unique string or numerical ID for the type."},name:{type:"string",description:"A user-friendly name for the type."},templates:{type:"array",items:{$ref:"#/definitions/ITemplate"},description:"Defined as a property of the layer definition when there are no types defined; otherwise, templates are defined as properties of the types."}},deprecated:"since 5.1. Won't be replaced.",title:"ITypeInfo"},"Record<string,ITypeInfoDomain>":{type:"object",additionalProperties:{$ref:"#/definitions/ITypeInfoDomain"},title:"Record<string,ITypeInfoDomain>"},IOpenStreetMapLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"OpenStreetMap",description:"String indicating the layer type. Value of this property must be OpenStreetMap"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"OpenStreetMap",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."}},required:["id","layerType"],deprecated:"since 5.1. Won't be replaced.",title:"IOpenStreetMapLayer"},ITiledImageServiceLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISTiledImageServiceLayer",description:"String indicating the layer type. Value of this property must be ArcGISTiledImageServiceLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},isReference:{type:"boolean",description:"Applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],title:"ITiledImageServiceLayer"},IWCSLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"WCS",description:"String indicating the layer type. Value of this property must be WCS"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},isReference:{type:"boolean",description:"Applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},wcsInfo:{type:"object",properties:{version:{type:"string"},coverageId:{type:"string"}},required:["version","coverageId"],description:"Object that defines and provides information about coverages in a WCS service."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType","wcsInfo"],title:"IWCSLayer"},IExclusionArea:{type:"object",properties:{geometry:{$ref:"#/definitions/IGeometry",description:"The geometry defining the area where no data will be fetched. Only extent is supported."},maxScale:{type:"number",description:"The zoom level where the exclusion ends."},maxZoom:{type:"number",description:"The zoom level where the exclusion ends."},minScale:{type:"number",description:"The zoom level where the exclusion starts."},minZoom:{type:"number",description:"The zoom level where the exclusion starts."}},deprecated:"since 5.1. Won't be replaced.",title:"IExclusionArea"},ITiledMapServiceLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISTiledMapServiceLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},displayLevels:{anyOf:[{type:"array",items:{type:"number"}},{type:"number"}],description:"NOTE: Applicable if used as a baseMapLayer. Integer value(s) indicating the display levels of the basemap layer. Only applicable for TiledMapService layers. All tiled map service layers should share the same tiling scheme. This property cannot be set via the Map Viewer UI."},exclusionAreas:{type:"array",items:{$ref:"#/definitions/IExclusionArea"},description:"NOTE: Applicable if used as a baseMapLayer. An array of exclusionArea objects defining the layer exclusions."},isReference:{description:"This property is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layers:{type:"array",items:{$ref:"#/definitions/IChildLayer"},description:"An array of layer objects defining a URL for queries and the popup window content."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],deprecated:"since 5.1. Won't be replaced.",title:"ITiledMapServiceLayer"},IVectorTileLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"VectorTileLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"VectorTileLayer",description:"Deprecated. User layerType instead."},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},styleUrl:{type:"string",description:"A url to a JSON file containing the stylesheet information used to render the layer. You may also pass an object containing the stylesheet information identical to the JSON file."}},required:["id","layerType"],deprecated:"since 5.1. Won't be replaced.",title:"IVectorTileLayer"},ILod:{type:"object",properties:{level:{type:"number",description:"ID for each level."},levelValue:{type:"string",description:"String to be used when constructing URL to access a tile from this LOD."},resolution:{type:"number",description:"Resolution in map units of each pixel in a tile for each level."},scale:{type:"number",description:"Scale for each level."}},deprecated:"since 5.1. Won't be replaced.",title:"ILod"},ITileInfo:{type:"object",properties:{cols:{description:"Requested tile's column."},compressionQuality:{description:"Compression quality of the tile."},dpi:{description:"The dpi of the tiling scheme."},format:{type:"string",enum:["bmp","emf","gif","jpg","lerc","mixed","pdf","png","png8","png24","png32","ps","svg","svgz"],description:"Image format of the cached tiles."},lods:{type:"array",items:{$ref:"#/definitions/ILod"},description:"An array of levels of detail that define the tiling scheme."},origin:{$ref:"#/definitions/IPoint",description:"The tiling scheme origin."},rows:{description:"Requested tile's row."},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"The spatial reference of the tiling schema."}},deprecated:"since 5.1. Won't be replaced.",title:"ITileInfo"},IWebMapTileServiceInfo:{type:"object",properties:{customLayerParameters:{description:"A sequence of parameters used to append different custom parameters to a WMTS tile request. These parameters are applied to GetTile. The customLayerParameters property takes precedence if customParameters is also present."},customParameters:{description:"A sequence of parameters used to append custom parameters to all WMTS requests. These parameters are applied to GetCapabilities and GetTile. If used with the customLayerParameters property, customParameters will not take precedence."},layerIdentifier:{type:"string",description:"Identifier for the specific layer used in the WMTS service. Required input by the user."},tileMatrixSet:{description:"Tiling schema, set by the WMTS service."},url:{type:"string",description:"URL to the WMTS web service. Required input by the user."}},required:["layerIdentifier","url"],deprecated:"since 5.1. Won't be replaced.",title:"IWebMapTileServiceInfo"},IWebTiledLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"WebTiledLayer",description:"String indicating the layer type. Value of this property must be WebTiledLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"WebTiledLayer",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},copyright:{description:"Attribution to the Web Tiled Layer provider. It is displayed in the attribution on the web map. Input required by the user when the layer is added to the web map."},fullExtent:{$ref:"#/definitions/IExtent",description:"An extent object representing the full extent envelope for the layer."},isReference:{description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},refreshInterval:{description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},subDomains:{description:"If subdomains are detected, they must be specified. The map viewer detects if the Web Tiled Layer has subdomains by parsing the templateURL value for {subDomain}."},templateUrl:{description:"URL to the Web Tiled Layer. Input required by the user when the layer is added to the web map. The template URL contains a parameterized URL. The URL can contain the following templated parameters: 'level', 'col', 'row', and 'subDomain'."},tileInfo:{$ref:"#/definitions/ITileInfo",description:"Contains the spatial reference and the tiling scheme of the layer. Typically retrieved from a WMTS OGC Web Service. If missing the layer must be in the WGS 1984 Web Mercator (Auxiliary Sphere) tiling scheme."},wmtsInfo:{$ref:"#/definitions/IWebMapTileServiceInfo",description:"Object containing information about the chosen WMTS service layer and tiling schema."}},required:["id","layerType"],deprecated:"since 5.1. Won't be replaced.",title:"IWebTiledLayer"},ICsvLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"CSV",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"CSV",description:"Deprecated, use layerType instead."},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},columnDelimiter:{type:"string",enum:[" ",",",";"," ","|"],description:"A string defining the character used to separate columns in a CSV file."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},locationInfo:{description:"A locationInfo object defining how location information will be retrieved from a CSV file."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],deprecated:"since 5.1. Won't be replaced.",title:"ICsvLayer"},IFeatureLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISFeatureLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},capabilities:{type:"string",description:"A comma-separated string listing which editing operations are allowed on an editable feature service."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"Stores interactive filters."},disablePopup:{type:"boolean",const:!0,description:"Indicates whether to allow a client to ignore popups defined by the service item."},featureCollection:{description:"A featureCollection object defining a layer of features whose geometry and attributes are either stored directly within the web map or with an item. Feature Collections can be created from CSVs, shapefiles, GPX, or map notes."},featureCollectionType:{type:"string",enum:["markup","notes","route"],description:"Indicates the type of features in the feature collection. If featureCollectionType is missing, it means the feature collection is a regular single-layer or multi-layer feature collection."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},mode:{type:"number",enum:[0,1,2],description:"0 is snapshot mode. 1 is on-demand mode. 2 is selection-only mode. Used with ArcGIS feature services and individual layers in ArcGIS map services."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},showLabels:{type:"boolean",const:!0,description:"Labels will display if this property is set to true and the layer also has a labelingInfo property associated with it. This property can get stored in the web map config and in the item/data."},visibleLayers:{type:"array",items:{type:"number"},description:"An array of sublayer ids that should appear visible. Used with feature layers that are based on feature collections."}},required:["id","layerType"],title:"IFeatureLayer"},IGeoRssLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"GeoRSS",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"GeoRSS",description:"Deprecated, please use layerType.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Defined by the GeoRSS to JSON request service. If the GeoRSS feed does not have lines, this property is not added to the layer JSON."},pointSymbol:{$ref:"#/definitions/IPictureMarkerSymbol",description:"Defined by the GeoRSS to JSON request service. If the GeoRSS feed does not have points, this property is not added to the layer JSON."},polygonSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Defined by the GeoRSS to JSON request service. If the GeoRSS feed does not have polygons, this property is not added to the layer JSON."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],deprecated:"since 5.1. Won't be replaced.",title:"IGeoRssLayer"},IKmlLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"KML",description:"String indicating the layer type."},maxScale:{description:"A number representing the maximum scale at which the layer will be visible. The number is the scale's denominator."},minScale:{description:"A number representing the minimum scale at which the layer will be visible. The number is the scale's denominator."},opacity:{description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{description:"Indicates whether to allow map authors the ability to control what layers should be shown in a client's legend."},title:{description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"KML",description:"Deprecated, use layerType instead.",deprecated:"Use layerType instead."},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},refreshInterval:{description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},visibleFolders:{type:"array",items:{type:"number"},description:"Array of numeric IDs of folders that will be made visible."}},required:["id","layerType"],deprecated:"since 5.1. Won't be replaced.",title:"IKmlLayer"},IArcGisStreamLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISStreamLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"Stores interactive filters."},disablePopup:{type:"boolean",description:"Indicates whether to ignore popups defined by the service item."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of pop-up windows when you click or query a feature."}},required:["id","layerType"],deprecated:"since 5.1. Won't be replaced.",title:"IArcGisStreamLayer"},RGBObject:{type:"object",properties:{r:{type:"number",description:"Red component of the color, in the range [0, 255]."},g:{type:"number",description:"Green component of the color, in the range [0, 255]."},b:{type:"number",description:"Blue component of the color, in the range [0, 255]."},a:{type:"number",description:"Alpha component of the color.",default:1}},required:["r","g","b"],description:"JSON representation of the color object.",title:"RGBObject"},IRendererSymbol:{type:"object",properties:{style:{type:"string"},color:{$ref:"#/definitions/Color"},outline:{$ref:"#/definitions/ISimpleLineSymbol"},label:{type:"string"},uniqueValue:{type:"string"},type:{$ref:"#/definitions/SymbolType"}},required:["color","type"],title:"IRendererSymbol"},RGBArray:{type:"array",items:{type:"number"},minItems:3,maxItems:3,title:"RGBArray"},WebChartDataItemColor:{anyOf:[{$ref:"#/definitions/Color"},{$ref:"#/definitions/RGBArray"},{$ref:"#/definitions/RGBObject"},{type:"string"}],title:"WebChartDataItemColor"},WebChartDataItemValue:{anyOf:[{type:"string",format:"date-time"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IRendererSymbol"},{type:"array",items:{type:"number"}},{type:"array",items:{type:"string"}},{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},{$ref:"#/definitions/WebChartDataItemColor"},{type:"boolean"},{type:"number"},{type:"string"},{type:"null"},{not:{}}],title:"WebChartDataItemValue"},WebChartDataItem:{$ref:"#/definitions/Record%3Cstring%2CWebChartDataItemValue%3E",description:"JSON representation of a typical data item.",title:"WebChartDataItem"},"Record<string,WebChartDataItemValue>":{type:"object",additionalProperties:{$ref:"#/definitions/WebChartDataItemValue"},title:"Record<string,WebChartDataItemValue>"},WebChartBoxPlotDataItem:{type:"object",properties:{dataItems:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},outliers:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},meanLines:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}}},required:["dataItems"],description:"JSON representation of the processed data for a box plot.",title:"WebChartBoxPlotDataItem"},WebChartHeatChartDataItem:{type:"object",properties:{dataItems:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},heatChartAxesData:{$ref:"#/definitions/WebHeatChartAxesData",description:"Precomputed category data for heat chart axes."}},required:["dataItems"],description:"JSON representation of the processed data for a heat chart.",title:"WebChartHeatChartDataItem"},WebHeatChartAxesData:{type:"object",properties:{xAxisData:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},yAxisData:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}}},required:["xAxisData","yAxisData"],description:"JSON representation of the pre-computed category data for heat chart axes.",title:"WebHeatChartAxesData"},ScatterplotTrendLineData:{type:"object",properties:{r2:{type:"number"},trendLinePoints:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"},minItems:2,maxItems:2}},description:"JSON representation of the processed data for a scatterplot trend line.",title:"ScatterplotTrendLineData"},WebChartScatterplotDataItem:{type:"object",properties:{r2:{type:"number"},trendLinePoints:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"},minItems:2,maxItems:2},dataItems:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},aggregated:{type:"boolean"}},required:["dataItems"],description:"JSON representation of the processed data for a scatterplot.",title:"WebChartScatterplotDataItem"},TimeIntervalInfo:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartTemporalBinningUnits"},size:{type:"number"}},title:"TimeIntervalInfo"},WebChartGenericDataItem:{type:"object",properties:{dataItems:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},timeIntervalInfo:{$ref:"#/definitions/TimeIntervalInfo",description:`Time interval information.
11
11
 
12
- Only applicable to bar chart, line chart.`},serverLimitReached:{type:"boolean",description:"Indicates whether the server limit has been reached when fetching data."}},required:["dataItems"],description:"JSON representation of the generic data structure for bar chart, line chart, combo bar line chart, gauge, heat chart, pie chart and radar chart.",title:"WebChartGenericDataItem"},WebChartBin:{type:"object",properties:{count:{type:"number"},minValue:{type:"number",description:"Minimum value in the bin."},maxValue:{type:"number",description:"Maximum value in the bin."},symbol:{$ref:"#/definitions/WebChartDataItem",description:"Symbol associated with the bin."},isLastBin:{type:"boolean",description:"Whether this is the last bin."}},required:["count","minValue","maxValue"],description:"JSON representation of a histogram bin.",title:"WebChartBin"},WebChartHistogramDataItem:{type:"object",properties:{mean:{type:"number"},median:{type:"number"},stddev:{type:"number"},max:{type:"number"},min:{type:"number"},sum:{type:"number",description:"Sum of the values of all the points."},count:{type:"number",description:"Number of all the points/features in un-binned data (including only non-null entries)."},nulls:{type:"number",description:"Number of null entries in the pool of points."},bins:{type:"array",items:{$ref:"#/definitions/WebChartBin"}}},required:["mean","median","stddev","max","min","bins"],description:"JSON representation of the processed data for a histogram.",title:"WebChartHistogramDataItem"},WebChartDataTypes:{anyOf:[{$ref:"#/definitions/WebChartBoxPlotDataItem"},{$ref:"#/definitions/WebChartGenericDataItem"},{$ref:"#/definitions/WebChartHeatChartDataItem"},{$ref:"#/definitions/WebChartHistogramDataItem"},{$ref:"#/definitions/WebChartScatterplotDataItem"}],title:"WebChartDataTypes"},RESTFieldType:{type:"string",enum:["esriFieldTypeBlob","esriFieldTypeDate","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset","esriFieldTypeDouble","esriFieldTypeGeometry","esriFieldTypeGlobalID","esriFieldTypeGUID","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeBigInteger","esriFieldTypeOID","esriFieldTypeRaster","esriFieldTypeSingle","esriFieldTypeString","esriFieldTypeXML"],title:"RESTFieldType"},RESTSimpleLineSymbolStyle:{type:"string",enum:["esriSLSDash","esriSLSDashDot","esriSLSDashDotDot","esriSLSDot","esriSLSNull","esriSLSSolid"],title:"RESTSimpleLineSymbolStyle"},RESTSimpleMarkerSymbolStyle:{type:"string",enum:["esriSMSCircle","esriSMSCross","esriSMSDiamond","esriSMSSquare","esriSMSX","esriSMSTriangle"],title:"RESTSimpleMarkerSymbolStyle"},RESTSimpleFillSymbolStyle:{type:"string",enum:["esriSFSBackwardDiagonal","esriSFSCross","esriSFSDiagonalCross","esriSFSForwardDiagonal","esriSFSHorizontal","esriSFSNull","esriSFSSolid","esriSFSVertical"],title:"RESTSimpleFillSymbolStyle"},RESTHorizontalAlignment:{type:"string",enum:["left","right","center","justify"],deprecated:"since 5.1. Won't be replaced.",title:"RESTHorizontalAlignment"},RESTVerticalAlignment:{type:"string",enum:["baseline","top","middle","bottom"],deprecated:"since 5.1. Won't be replaced.",title:"RESTVerticalAlignment"},RESTFontStyle:{type:"string",enum:["italic","normal","oblique"],deprecated:"since 5.1. Won't be replaced.",title:"RESTFontStyle"},RESTFontWeight:{type:"string",enum:["bold","bolder","lighter","normal"],deprecated:"since 5.1. Won't be replaced.",title:"RESTFontWeight"},RESTFontDecoration:{type:"string",enum:["line-through","underline","none"],deprecated:"since 5.1. Won't be replaced.",title:"RESTFontDecoration"},RESTUnits:{type:"string",enum:["feet","miles","nautical-miles","us-nautical-miles","meters","kilometers"],deprecated:`since 5.1. Use core's Query["units"] instead.`,title:"RESTUnits"},RESTRendererType:{type:"string",enum:["unique-value","simple","class-breaks","heatmap","dot-density","dictionary","pie-chart"],title:"RESTRendererType"},RESTSymbolType:{type:"string",enum:["esriSLS","esriSMS","esriSFS","esriPMS","esriPFS","esriTS"],title:"RESTSymbolType"},ValueConversion:{type:"object",properties:{factor:{type:"number",description:"A numeric value multiplying the value to convert."},offset:{type:"number",description:"A numeric offset to apply to the value to convert."}},description:"Stores information regarding a numeric conversion.",title:"ValueConversion"},WebChartAxisScrollBar:{type:"object",properties:{visible:{type:"boolean",description:"Scrollbar visibility.",default:!1},width:{type:"number",description:"Scrollbar width in pixels."},color:{$ref:"#/definitions/Color",description:"Scrollbar color."},gripSize:{type:"number",description:"Grip size in pixels."},margin:{type:"number",description:"Margin between the scrollbar and the series container in pixels."}},description:"Describes the properties of an axis scrollbar.",title:"WebChartAxisScrollBar"},WebChartTextSymbol:{type:"object",properties:{xoffset:{type:["number","string"],description:"Horizontal offset. Can be a number for a fixed value in pixels, or a string such as `25%` for a value relative to the label's container width."},yoffset:{type:["number","string"],description:"Vertical offset. Can be a number for a fixed value in pixels, or a string such as `25%` for a value relative to the label's container height."},angle:{type:"number",description:"Rotation angle of the label."},style:{type:"string",description:"Label style."},type:{type:"string",const:"esriTS"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string",description:"Only applicable when specified as a client-side graphic."}},required:["type"],description:"Represents a text symbol.",title:"WebChartTextSymbol"},'Omit<ITextSymbol,("angle"|"style"|"xoffset"|"yoffset")>':{$ref:"#/definitions/Pick%3CITextSymbol%2CExclude%3C(%22type%22%7C%22color%22%7C%22backgroundColor%22%7C%22borderLineSize%22%7C%22borderLineColor%22%7C%22haloSize%22%7C%22haloColor%22%7C%22verticalAlignment%22%7C%22horizontalAlignment%22%7C%22rightToLeft%22%7C%22kerning%22%7C%22font%22%7C%22text%22%7C%22angle%22%7C%22xoffset%22%7C%22yoffset%22%7C%22style%22%7Cstring)%2C(%22angle%22%7C%22style%22%7C%22xoffset%22%7C%22yoffset%22)%3E%3E",title:'Omit<ITextSymbol,("angle"|"style"|"xoffset"|"yoffset")>'},'Pick<ITextSymbol,Exclude<("type"|"color"|"backgroundColor"|"borderLineSize"|"borderLineColor"|"haloSize"|"haloColor"|"verticalAlignment"|"horizontalAlignment"|"rightToLeft"|"kerning"|"font"|"text"|"angle"|"xoffset"|"yoffset"|"style"|string),("angle"|"style"|"xoffset"|"yoffset")>>':{type:"object",properties:{type:{type:"string",const:"esriTS"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string",description:"Only applicable when specified as a client-side graphic."}},required:["type"],title:'Pick<ITextSymbol,Exclude<("type"|"color"|"backgroundColor"|"borderLineSize"|"borderLineColor"|"haloSize"|"haloColor"|"verticalAlignment"|"horizontalAlignment"|"rightToLeft"|"kerning"|"font"|"text"|"angle"|"xoffset"|"yoffset"|"style"|string),("angle"|"style"|"xoffset"|"yoffset")>>'},WebChartText:{type:"object",properties:{type:{type:"string",const:"chartText",description:"A unique string identifier for the `ChartText` object. This value is `chartText`."},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},content:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains the styling information and text content."}},required:["type","content"],description:"Stores information on how some text is rendered on the chart and whether it is visible or not.",title:"WebChartText"},WebChartCursorCrosshair:{type:"object",properties:{type:{type:"string",const:"cursorCrosshair",description:"Represents a unique string identifier for the chart cursor's crosshair."},style:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling information on how the chart cursor's crosshair should be rendered."},verticalLineVisible:{type:"boolean",description:"Indicates whether the vertical crosshair line should be displayed.",default:!1},horizontalLineVisible:{type:"boolean",description:"Indicates whether the horizontal crosshair line should be displayed.",default:!1}},required:["type"],description:"JSON representation of the cursor's crosshair for a chart.",title:"WebChartCursorCrosshair"},WebChartLegend:{type:"object",properties:{type:{type:"string",const:"chartLegend",description:"A unique string identifier for the `ChartLegend` object. This value is `chartLegend`."},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},title:{$ref:"#/definitions/WebChartText",description:"Contains styling information on how the title of the legend box should be rendered."},body:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains styling information on how legend body (excluding the `title`) should be rendered. Will use default styling if not provided."},position:{$ref:"#/definitions/WebChartLegendPositions",description:'Positions the legends at `"right"`, `"left"`, `"top"`, or `"bottom"` of the chart.',default:"`right`"},maxHeight:{type:["number","null"],description:"Legend's maximum height. If not set the legend will occupy the same height as the series container.",default:null},roundMarkers:{type:"boolean",description:"Allows the legend markers to be displayed as circles.\n- `false` or `undefined`: rounded rectangles\n- `true`: circles",default:!1}},required:["type"],description:"JSON representation of the chart's legend.",title:"WebChartLegend"},WebChartNullCategory:{type:"object",properties:{text:{type:"string",description:"Specifies the text to use for the null category. If none is provided, the default `null` text will be used."},symbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling information on how the overlay should be rendered. If not provided a default style is applied.",default:"1 - symbol.outline.width"}},title:"WebChartNullCategory"},WebChartPieChartLegend:{type:"object",properties:{type:{type:"string",const:"chartLegend",description:"A unique string identifier for the `ChartLegend` object. This value is `chartLegend`."},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},title:{$ref:"#/definitions/WebChartText",description:"Contains styling information on how the title of the legend box should be rendered."},body:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains styling information on how legend body (excluding the `title`) should be rendered. Will use default styling if not provided."},position:{$ref:"#/definitions/WebChartLegendPositions",description:'Positions the legends at `"right"`, `"left"`, `"top"`, or `"bottom"` of the chart.',default:"`right`"},maxHeight:{type:["number","null"],description:"Legend's maximum height. If not set the legend will occupy the same height as the series container.",default:null},roundMarkers:{type:"boolean",description:"Allows the legend markers to be displayed as circles.\n- `false` or `undefined`: rounded rectangles\n- `true`: circles",default:!1},displayCategory:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed in the legend.",default:!0},displayNumericValue:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed in the legend. If both `displayNumericValue` and `displayPercentage` are true on a same label, they will be displayed as `percentage (value)`",default:!1},displayPercentage:{type:"boolean",description:"Indicates whether the percentage to a slice is to be displayed in the legend. If both `displayNumericValue` and `displayPercentage` are true on a same label, they will be displayed as `percentage (value)`",default:!1},labelMaxWidth:{type:"number",description:"Maximum width in pixels of the label displaying the slice name. If the label is larger than the maximum width, it will automatically wrap.",default:200},valueLabelMaxWidth:{type:"number",description:"Maximum width in pixels of the value label displaying the slice value. If the label is larger than the maximum width, it will automatically wrap.",default:200}},required:["type"],description:"Specific legend for pie charts",title:"WebChartPieChartLegend"},WebChartOverlay:{type:"object",properties:{type:{type:"string",const:"chartOverlay",description:"A unique string identifier for the `ChartOverlay` object. This value is `chartOverlay`."},created:{type:"boolean",description:"Determines whether the overlay is created under the hood. It may or may not be visible.",default:!1},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},symbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling information on how the overlay should be rendered. If not provided a default style is applied."}},required:["type"],description:"JSON representation of the chart's overlays such as the trendline in scatterplot, and the median overlay in histogram.",title:"WebChartOverlay"},NumberFormatOptions:{type:"object",properties:{type:{type:"string",const:"number",description:"Represents a unique string identifier for the `NumberFormatOptions` object. For the `NumberFormatOptions` object, it is `number`. It can help to differentiate numerical (value) axis from other types of axes such as date-time axis and category axis."},intlOptions:{$ref:"#/definitions/Intl.NumberFormatOptions",description:"Represents the JS native [Intl.NumberFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat), which is based on [CLDR](https://cldr.unicode.org/translation/number-currency-formats/number-and-currency-patterns) specifications."}},required:["type","intlOptions"],description:"Defines how the numerical(value) axis data should be formatted.",title:"NumberFormatOptions"},"Intl.NumberFormatOptions":{type:"object",properties:{localeMatcher:{type:"string",enum:["lookup","best fit"]},style:{$ref:"#/definitions/Intl.NumberFormatOptionsStyle"},currency:{type:"string"},currencyDisplay:{$ref:"#/definitions/Intl.NumberFormatOptionsCurrencyDisplay"},useGrouping:{$ref:"#/definitions/Intl.NumberFormatOptionsUseGrouping"},minimumIntegerDigits:{type:"number"},minimumFractionDigits:{type:"number"},maximumFractionDigits:{type:"number"},minimumSignificantDigits:{type:"number"},maximumSignificantDigits:{type:"number"}},title:"Intl.NumberFormatOptions"},"Intl.NumberFormatOptionsStyle":{title:"Intl.NumberFormatOptionsStyle"},"Intl.NumberFormatOptionsCurrencyDisplay":{title:"Intl.NumberFormatOptionsCurrencyDisplay"},"Intl.NumberFormatOptionsUseGrouping":{type:"boolean",title:"Intl.NumberFormatOptionsUseGrouping"},WebChartDateTimeUnitFormatOptions:{type:"object",properties:{year:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},month:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},day:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},hour:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},minute:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},second:{$ref:"#/definitions/Intl.DateTimeFormatOptions"}},description:"Interface used by the axis `valueFormat` property to describe how to format specific date and time units when displayed on the axis.",title:"WebChartDateTimeUnitFormatOptions"},"Intl.DateTimeFormatOptions":{type:"object",properties:{localeMatcher:{type:"string",enum:["best fit","lookup"]},weekday:{type:"string",enum:["long","short","narrow"]},era:{type:"string",enum:["long","short","narrow"]},year:{type:"string",enum:["numeric","2-digit"]},month:{type:"string",enum:["numeric","2-digit","long","short","narrow"]},day:{type:"string",enum:["numeric","2-digit"]},hour:{type:"string",enum:["numeric","2-digit"]},minute:{type:"string",enum:["numeric","2-digit"]},second:{type:"string",enum:["numeric","2-digit"]},timeZoneName:{type:"string",enum:["short","long","shortOffset","longOffset","shortGeneric","longGeneric"]},formatMatcher:{type:"string",enum:["best fit","basic"]},hour12:{type:"boolean"},timeZone:{type:"string"}},title:"Intl.DateTimeFormatOptions"},DateTimeFormatOptions:{type:"object",properties:{type:{type:"string",const:"date",description:"Represents a unique string identifier for the `NumberFormatOptions` object. For the `NumberFormatOptions` object, it is `date`. It can help to differentiate date-time axis from other types of axes such as numeric (value) axis and category axis."},intlOptions:{$ref:"#/definitions/Intl.DateTimeFormatOptions",description:"Represent the JS native [Intl.DateTimeFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat), which is based on [CLDR](https://cldr.unicode.org/translation/date-time/date-time-patterns) specifications."},formatPerDateTimeUnit:{$ref:"#/definitions/WebChartDateTimeUnitFormatOptions",description:"Represents how to format specific date and time units when displayed on the axis, independently from the `intlOptions`."}},required:["type","intlOptions"],description:"Defines how the `DateTime` axis data should be formatted.",title:"DateTimeFormatOptions"},CategoryFormatOptions:{type:"object",properties:{type:{type:"string",const:"category",description:"Represents a unique string identifier for the `CategoryFormatOptions` object. For the `CategoryFormatOptions` object, it is `category`. It can help to differentiate category axis from other types of axes such as date-time axis and numeric (value) axis."},characterLimit:{type:["number","null"],description:"Represents a positive integer which represents the limit on the number of characters to be displayed for all the category strings. The truncated string are appended with `...`. If property is not present or `null`, no truncation is done."}},required:["type"],description:"Defines how the category axis data (categories) should be formatted.",title:"CategoryFormatOptions"},WebChartGuide:{type:"object",properties:{type:{type:"string",const:"chartGuide",description:"Represents a unique string identifier for the `Guide` object. For the `Guide` class, it is `chartGuide`."},start:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"Determines the value where the guide should begin."},end:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"Determines the value where the guide should end. If it is not specified, a line guide is used, otherwise a fill/rectangular guide is used."},style:{anyOf:[{$ref:"#/definitions/ISimpleFillSymbol"},{$ref:"#/definitions/ISimpleLineSymbol"}],description:"Determines how the guide should be rendered."},name:{type:"string",description:"A unique string identifier which is used to refer to a particular guide. It is displayed in the charts config UI to differentiate between different guides."},label:{$ref:"#/definitions/WebChartTextSymbol",description:"Defines a text label for the given guide. It is displayed on the chart next to the concerned guide and is styled using **esriTS** format."},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},above:{type:"boolean",description:"Determines whether the guide should be rendered on top of (overlapping) the series or under the series.",default:!1},tooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the guide's tooltip background (false) or its outline (true).",default:!1}},required:["type","start","style","name"],description:"JSON representation of the chart's guide object. Can be used to represent both line and fill guides.",title:"WebChartGuide"},WebChartAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:"Represents a unique string identifier for the `WebChartAxis` object. For `ChartAxis` object, it is `chartAxis`."},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling information on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling information on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling information on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility."},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis.",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:`The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.
12
+ Only applicable to bar chart, line chart.`},serverLimitReached:{type:"boolean",description:"Indicates whether the server limit has been reached when fetching data."}},required:["dataItems"],description:"JSON representation of the generic data structure for bar chart, line chart, combo bar line chart, gauge, heat chart, pie chart and radar chart.",title:"WebChartGenericDataItem"},WebChartBin:{type:"object",properties:{count:{type:"number"},minValue:{type:"number",description:"Minimum value in the bin."},maxValue:{type:"number",description:"Maximum value in the bin."},symbol:{$ref:"#/definitions/WebChartDataItem",description:"Symbol associated with the bin."},isLastBin:{type:"boolean",description:"Whether this is the last bin."}},required:["count","minValue","maxValue"],description:"JSON representation of a histogram bin.",title:"WebChartBin"},WebChartHistogramDataItem:{type:"object",properties:{mean:{type:"number"},median:{type:"number"},stddev:{type:"number"},max:{type:"number"},min:{type:"number"},sum:{type:"number",description:"Sum of the values of all the points."},count:{type:"number",description:"Number of all the points/features in un-binned data (including only non-null entries)."},nulls:{type:"number",description:"Number of null entries in the pool of points."},bins:{type:"array",items:{$ref:"#/definitions/WebChartBin"}}},required:["mean","median","stddev","max","min","bins"],description:"JSON representation of the processed data for a histogram.",title:"WebChartHistogramDataItem"},WebChartDataTypes:{anyOf:[{$ref:"#/definitions/WebChartBoxPlotDataItem"},{$ref:"#/definitions/WebChartGenericDataItem"},{$ref:"#/definitions/WebChartHeatChartDataItem"},{$ref:"#/definitions/WebChartHistogramDataItem"},{$ref:"#/definitions/WebChartScatterplotDataItem"}],title:"WebChartDataTypes"},RESTFieldType:{type:"string",enum:["esriFieldTypeBlob","esriFieldTypeDate","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset","esriFieldTypeDouble","esriFieldTypeGeometry","esriFieldTypeGlobalID","esriFieldTypeGUID","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeBigInteger","esriFieldTypeOID","esriFieldTypeRaster","esriFieldTypeSingle","esriFieldTypeString","esriFieldTypeXML"],title:"RESTFieldType"},RESTSimpleLineSymbolStyle:{type:"string",enum:["esriSLSDash","esriSLSDashDot","esriSLSDashDotDot","esriSLSDot","esriSLSNull","esriSLSSolid"],title:"RESTSimpleLineSymbolStyle"},RESTSimpleMarkerSymbolStyle:{type:"string",enum:["esriSMSCircle","esriSMSCross","esriSMSDiamond","esriSMSSquare","esriSMSX","esriSMSTriangle"],title:"RESTSimpleMarkerSymbolStyle"},RESTSimpleFillSymbolStyle:{type:"string",enum:["esriSFSBackwardDiagonal","esriSFSCross","esriSFSDiagonalCross","esriSFSForwardDiagonal","esriSFSHorizontal","esriSFSNull","esriSFSSolid","esriSFSVertical"],title:"RESTSimpleFillSymbolStyle"},RESTHorizontalAlignment:{type:"string",enum:["left","right","center","justify"],deprecated:"since 5.1. Won't be replaced.",title:"RESTHorizontalAlignment"},RESTVerticalAlignment:{type:"string",enum:["baseline","top","middle","bottom"],deprecated:"since 5.1. Won't be replaced.",title:"RESTVerticalAlignment"},RESTFontStyle:{type:"string",enum:["italic","normal","oblique"],deprecated:"since 5.1. Won't be replaced.",title:"RESTFontStyle"},RESTFontWeight:{type:"string",enum:["bold","bolder","lighter","normal"],deprecated:"since 5.1. Won't be replaced.",title:"RESTFontWeight"},RESTFontDecoration:{type:"string",enum:["line-through","underline","none"],deprecated:"since 5.1. Won't be replaced.",title:"RESTFontDecoration"},RESTUnits:{type:"string",enum:["feet","miles","nautical-miles","us-nautical-miles","meters","kilometers"],deprecated:"since 5.1. Use [Query#units](https://next.gha.afd.arcgis.com/javascript/latest/references/core/rest/support/Query/#units) instead.",title:"RESTUnits"},RESTRendererType:{type:"string",enum:["unique-value","simple","class-breaks","heatmap","dot-density","dictionary","pie-chart"],title:"RESTRendererType"},RESTSymbolType:{type:"string",enum:["esriSLS","esriSMS","esriSFS","esriPMS","esriPFS","esriTS"],title:"RESTSymbolType"},ValueConversion:{type:"object",properties:{factor:{type:"number",description:"A numeric value multiplying the value to convert."},offset:{type:"number",description:"A numeric offset to apply to the value to convert."}},description:"Stores information regarding a numeric conversion.",title:"ValueConversion"},WebChartAxisScrollBar:{type:"object",properties:{visible:{type:"boolean",description:"Scrollbar visibility.",default:!1},width:{type:"number",description:"Scrollbar width in pixels."},color:{$ref:"#/definitions/Color",description:"Scrollbar color."},gripSize:{type:"number",description:"Grip size in pixels."},margin:{type:"number",description:"Margin between the scrollbar and the series container in pixels."}},description:"Describes the properties of an axis scrollbar.",title:"WebChartAxisScrollBar"},WebChartTextSymbol:{type:"object",properties:{xoffset:{type:["number","string"],description:"Horizontal offset. Can be a number for a fixed value in pixels, or a string such as `25%` for a value relative to the label's container width."},yoffset:{type:["number","string"],description:"Vertical offset. Can be a number for a fixed value in pixels, or a string such as `25%` for a value relative to the label's container height."},angle:{type:"number",description:"Rotation angle of the label."},style:{type:"string",description:"Label style."},type:{type:"string",const:"esriTS"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string",description:"Only applicable when specified as a client-side graphic."}},required:["type"],description:"Represents a text symbol.",title:"WebChartTextSymbol"},'Omit<ITextSymbol,("angle"|"style"|"xoffset"|"yoffset")>':{$ref:"#/definitions/Pick%3CITextSymbol%2CExclude%3C(%22type%22%7C%22color%22%7C%22backgroundColor%22%7C%22borderLineSize%22%7C%22borderLineColor%22%7C%22haloSize%22%7C%22haloColor%22%7C%22verticalAlignment%22%7C%22horizontalAlignment%22%7C%22rightToLeft%22%7C%22kerning%22%7C%22font%22%7C%22text%22%7C%22angle%22%7C%22xoffset%22%7C%22yoffset%22%7C%22style%22%7Cstring)%2C(%22angle%22%7C%22style%22%7C%22xoffset%22%7C%22yoffset%22)%3E%3E",title:'Omit<ITextSymbol,("angle"|"style"|"xoffset"|"yoffset")>'},'Pick<ITextSymbol,Exclude<("type"|"color"|"backgroundColor"|"borderLineSize"|"borderLineColor"|"haloSize"|"haloColor"|"verticalAlignment"|"horizontalAlignment"|"rightToLeft"|"kerning"|"font"|"text"|"angle"|"xoffset"|"yoffset"|"style"|string),("angle"|"style"|"xoffset"|"yoffset")>>':{type:"object",properties:{type:{type:"string",const:"esriTS"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string",description:"Only applicable when specified as a client-side graphic."}},required:["type"],title:'Pick<ITextSymbol,Exclude<("type"|"color"|"backgroundColor"|"borderLineSize"|"borderLineColor"|"haloSize"|"haloColor"|"verticalAlignment"|"horizontalAlignment"|"rightToLeft"|"kerning"|"font"|"text"|"angle"|"xoffset"|"yoffset"|"style"|string),("angle"|"style"|"xoffset"|"yoffset")>>'},WebChartText:{type:"object",properties:{type:{type:"string",const:"chartText",description:"A unique string identifier for the `ChartText` object. This value is `chartText`."},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},content:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains the styling information and text content."}},required:["type","content"],description:"Stores information on how some text is rendered on the chart and whether it is visible or not.",title:"WebChartText"},WebChartCursorCrosshair:{type:"object",properties:{type:{type:"string",const:"cursorCrosshair",description:"Represents a unique string identifier for the chart cursor's crosshair."},style:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling information on how the chart cursor's crosshair should be rendered."},verticalLineVisible:{type:"boolean",description:"Indicates whether the vertical crosshair line should be displayed.",default:!1},horizontalLineVisible:{type:"boolean",description:"Indicates whether the horizontal crosshair line should be displayed.",default:!1}},required:["type"],description:"JSON representation of the cursor's crosshair for a chart.",title:"WebChartCursorCrosshair"},WebChartLegend:{type:"object",properties:{type:{type:"string",const:"chartLegend",description:"A unique string identifier for the `ChartLegend` object. This value is `chartLegend`."},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},title:{$ref:"#/definitions/WebChartText",description:"Contains styling information on how the title of the legend box should be rendered."},body:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains styling information on how legend body (excluding the `title`) should be rendered. Will use default styling if not provided."},position:{$ref:"#/definitions/WebChartLegendPositions",description:'Positions the legends at `"right"`, `"left"`, `"top"`, or `"bottom"` of the chart.',default:"`right`"},maxHeight:{type:["number","null"],description:"Legend's maximum height. If not set the legend will occupy the same height as the series container.",default:null},roundMarkers:{type:"boolean",description:"Allows the legend markers to be displayed as circles.\n- `false` or `undefined`: rounded rectangles\n- `true`: circles",default:!1}},required:["type"],description:"JSON representation of the chart's legend.",title:"WebChartLegend"},WebChartNullCategory:{type:"object",properties:{text:{type:"string",description:"Specifies the text to use for the null category. If none is provided, the default `null` text will be used."},symbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling information on how the overlay should be rendered. If not provided a default style is applied.",default:"1 - symbol.outline.width"}},title:"WebChartNullCategory"},WebChartPieChartLegend:{type:"object",properties:{type:{type:"string",const:"chartLegend",description:"A unique string identifier for the `ChartLegend` object. This value is `chartLegend`."},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},title:{$ref:"#/definitions/WebChartText",description:"Contains styling information on how the title of the legend box should be rendered."},body:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains styling information on how legend body (excluding the `title`) should be rendered. Will use default styling if not provided."},position:{$ref:"#/definitions/WebChartLegendPositions",description:'Positions the legends at `"right"`, `"left"`, `"top"`, or `"bottom"` of the chart.',default:"`right`"},maxHeight:{type:["number","null"],description:"Legend's maximum height. If not set the legend will occupy the same height as the series container.",default:null},roundMarkers:{type:"boolean",description:"Allows the legend markers to be displayed as circles.\n- `false` or `undefined`: rounded rectangles\n- `true`: circles",default:!1},displayCategory:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed in the legend.",default:!0},displayNumericValue:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed in the legend. If both `displayNumericValue` and `displayPercentage` are true on a same label, they will be displayed as `percentage (value)`",default:!1},displayPercentage:{type:"boolean",description:"Indicates whether the percentage to a slice is to be displayed in the legend. If both `displayNumericValue` and `displayPercentage` are true on a same label, they will be displayed as `percentage (value)`",default:!1},labelMaxWidth:{type:"number",description:"Maximum width in pixels of the label displaying the slice name. If the label is larger than the maximum width, it will automatically wrap.",default:200},valueLabelMaxWidth:{type:"number",description:"Maximum width in pixels of the value label displaying the slice value. If the label is larger than the maximum width, it will automatically wrap.",default:200}},required:["type"],description:"Specific legend for pie charts",title:"WebChartPieChartLegend"},WebChartOverlay:{type:"object",properties:{type:{type:"string",const:"chartOverlay",description:"A unique string identifier for the `ChartOverlay` object. This value is `chartOverlay`."},created:{type:"boolean",description:"Determines whether the overlay is created under the hood. It may or may not be visible.",default:!1},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},symbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling information on how the overlay should be rendered. If not provided a default style is applied."}},required:["type"],description:"JSON representation of the chart's overlays such as the trendline in scatterplot, and the median overlay in histogram.",title:"WebChartOverlay"},NumberFormatOptions:{type:"object",properties:{type:{type:"string",const:"number",description:"Represents a unique string identifier for the `NumberFormatOptions` object. For the `NumberFormatOptions` object, it is `number`. It can help to differentiate numerical (value) axis from other types of axes such as date-time axis and category axis."},intlOptions:{$ref:"#/definitions/Intl.NumberFormatOptions",description:"Represents the JS native [Intl.NumberFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat), which is based on [CLDR](https://cldr.unicode.org/translation/number-currency-formats/number-and-currency-patterns) specifications."}},required:["type","intlOptions"],description:"Defines how the numerical(value) axis data should be formatted.",title:"NumberFormatOptions"},"Intl.NumberFormatOptions":{type:"object",properties:{localeMatcher:{type:"string",enum:["lookup","best fit"]},style:{$ref:"#/definitions/Intl.NumberFormatOptionsStyle"},currency:{type:"string"},currencyDisplay:{$ref:"#/definitions/Intl.NumberFormatOptionsCurrencyDisplay"},useGrouping:{$ref:"#/definitions/Intl.NumberFormatOptionsUseGrouping"},minimumIntegerDigits:{type:"number"},minimumFractionDigits:{type:"number"},maximumFractionDigits:{type:"number"},minimumSignificantDigits:{type:"number"},maximumSignificantDigits:{type:"number"}},title:"Intl.NumberFormatOptions"},"Intl.NumberFormatOptionsStyle":{title:"Intl.NumberFormatOptionsStyle"},"Intl.NumberFormatOptionsCurrencyDisplay":{title:"Intl.NumberFormatOptionsCurrencyDisplay"},"Intl.NumberFormatOptionsUseGrouping":{type:"boolean",title:"Intl.NumberFormatOptionsUseGrouping"},WebChartDateTimeUnitFormatOptions:{type:"object",properties:{year:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},month:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},day:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},hour:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},minute:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},second:{$ref:"#/definitions/Intl.DateTimeFormatOptions"}},description:"Interface used by the axis `valueFormat` property to describe how to format specific date and time units when displayed on the axis.",title:"WebChartDateTimeUnitFormatOptions"},"Intl.DateTimeFormatOptions":{type:"object",properties:{localeMatcher:{type:"string",enum:["best fit","lookup"]},weekday:{type:"string",enum:["long","short","narrow"]},era:{type:"string",enum:["long","short","narrow"]},year:{type:"string",enum:["numeric","2-digit"]},month:{type:"string",enum:["numeric","2-digit","long","short","narrow"]},day:{type:"string",enum:["numeric","2-digit"]},hour:{type:"string",enum:["numeric","2-digit"]},minute:{type:"string",enum:["numeric","2-digit"]},second:{type:"string",enum:["numeric","2-digit"]},timeZoneName:{type:"string",enum:["short","long","shortOffset","longOffset","shortGeneric","longGeneric"]},formatMatcher:{type:"string",enum:["best fit","basic"]},hour12:{type:"boolean"},timeZone:{type:"string"}},title:"Intl.DateTimeFormatOptions"},DateTimeFormatOptions:{type:"object",properties:{type:{type:"string",const:"date",description:"Represents a unique string identifier for the `NumberFormatOptions` object. For the `NumberFormatOptions` object, it is `date`. It can help to differentiate date-time axis from other types of axes such as numeric (value) axis and category axis."},intlOptions:{$ref:"#/definitions/Intl.DateTimeFormatOptions",description:"Represent the JS native [Intl.DateTimeFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat), which is based on [CLDR](https://cldr.unicode.org/translation/date-time/date-time-patterns) specifications."},formatPerDateTimeUnit:{$ref:"#/definitions/WebChartDateTimeUnitFormatOptions",description:"Represents how to format specific date and time units when displayed on the axis, independently from the `intlOptions`."}},required:["type","intlOptions"],description:"Defines how the `DateTime` axis data should be formatted.",title:"DateTimeFormatOptions"},CategoryFormatOptions:{type:"object",properties:{type:{type:"string",const:"category",description:"Represents a unique string identifier for the `CategoryFormatOptions` object. For the `CategoryFormatOptions` object, it is `category`. It can help to differentiate category axis from other types of axes such as date-time axis and numeric (value) axis."},characterLimit:{type:["number","null"],description:"Represents a positive integer which represents the limit on the number of characters to be displayed for all the category strings. The truncated string are appended with `...`. If property is not present or `null`, no truncation is done."}},required:["type"],description:"Defines how the category axis data (categories) should be formatted.",title:"CategoryFormatOptions"},WebChartGuide:{type:"object",properties:{type:{type:"string",const:"chartGuide",description:"Represents a unique string identifier for the `Guide` object. For the `Guide` class, it is `chartGuide`."},start:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"Determines the value where the guide should begin."},end:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"Determines the value where the guide should end. If it is not specified, a line guide is used, otherwise a fill/rectangular guide is used."},style:{anyOf:[{$ref:"#/definitions/ISimpleFillSymbol"},{$ref:"#/definitions/ISimpleLineSymbol"}],description:"Determines how the guide should be rendered."},name:{type:"string",description:"A unique string identifier which is used to refer to a particular guide. It is displayed in the charts config UI to differentiate between different guides."},label:{$ref:"#/definitions/WebChartTextSymbol",description:"Defines a text label for the given guide. It is displayed on the chart next to the concerned guide and is styled using **esriTS** format."},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},above:{type:"boolean",description:"Determines whether the guide should be rendered on top of (overlapping) the series or under the series.",default:!1},tooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the guide's tooltip background (false) or its outline (true).",default:!1}},required:["type","start","style","name"],description:"JSON representation of the chart's guide object. Can be used to represent both line and fill guides.",title:"WebChartGuide"},WebChartAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:"Represents a unique string identifier for the `WebChartAxis` object. For `ChartAxis` object, it is `chartAxis`."},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling information on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling information on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling information on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility."},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis.",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:`The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.
13
13
 
14
14
  **Note**: This property is not applicable to gauge charts.`,minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."}},required:["type","valueFormat","labels"],description:"JSON representation of the chart's axis object",title:"WebChartAxis"},WebChartGaugeAxisTick:{type:"object",properties:{type:{type:"string",const:"gaugeAxisTick",description:"Represents a unique string identifier for the `GaugeAxisTick` object. For `WebChartGaugeAxisTick` object, it is `gaugeAxisTick`."},visible:{type:"boolean",description:"Determines the visibility of the axis ticks.",default:!0}},required:["type"],description:"JSON representation of the gauge axis ticks. Currently only used by `WebChartGaugeAxis`.",title:"WebChartGaugeAxisTick"},WebChartNeedle:{type:"object",properties:{type:{type:"string",const:"gaugeNeedle",description:"Represents a unique string identifier for the `ChartNeedle` object. For `WebChartNeedle` object, it is `gaugeNeedle`."},visible:{type:"boolean",description:"Hides or shows the needle.",default:!0},symbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling information on how the needle should be rendered."},startWidth:{type:["number","null"],description:"Represents the needle's thickness at the bottom (chart's center) in pixels.",minimum:1,default:10},endWidth:{type:["number","null"],description:"Represents the needle's thickness at the top in pixels.",minimum:1,default:1},innerRadius:{type:["number","null"],description:"Represents the size of the hole in the middle of the chart. Can be visualized when guides are displayed.",minimum:0,maximum:100,default:25},displayPin:{type:"boolean",description:"Hides or shows the needle's pin (centroid circle).",default:!1}},required:["type"],description:"JSON representation of a gauge needle.",title:"WebChartNeedle"},WebChartGaugeFixedProgressBands:{type:"object",properties:{type:{type:"string",const:"fixed",description:"Represents a unique string identifier for the fixed progress bands object. For `WebChartGaugeFixedProgressBands` object, it is `fixed`."},visible:{type:"boolean",description:"Determines the visibility of the fixed progress bands on the gauge chart.",default:!0},bands:{type:"object",properties:{target:{$ref:"#/definitions/ISimpleFillSymbol"},base:{$ref:"#/definitions/ISimpleFillSymbol"}},description:"Contains styling information on how the fixed progress bands should be rendered."}},required:["type"],description:`JSON representation of the fixed progress bands for gauge chart, which is a specific type of guide for gauge charts. It defines the properties of the fixed progress bands and how they should be rendered on a gauge chart.
15
15