@opengis/gis 0.2.144 → 0.2.146

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 (201) hide show
  1. package/README.md +181 -181
  2. package/dist/{CardIcon-Dnk1_6Ub.js → CardIcon-BCll_4SB.js} +1 -1
  3. package/dist/{EntityCreatePage-Da8XgBKU.js → EntityCreatePage-Ch8NU_Yw.js} +14 -14
  4. package/dist/{EntityEditPage-QktKEAxz.js → EntityEditPage-CRRcW7FL.js} +27 -27
  5. package/dist/{EntityTablePage-Dy0QCqHT.js → EntityTablePage-DXJPsOx8.js} +26 -26
  6. package/dist/{ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-2H8_Dlmj.js → ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-BJ-zsrml.js} +1 -1
  7. package/dist/{HeaderActions.vue_vue_type_script_setup_true_lang-BcabKIhe.js → HeaderActions.vue_vue_type_script_setup_true_lang-EZGjVDor.js} +5 -5
  8. package/dist/{MapSettings-CAT-ReIq.js → MapSettings-CG7u4F4i.js} +33 -33
  9. package/dist/{RastersTablePage-D0eotbTX.js → RastersTablePage-CN5hfj6F.js} +29 -29
  10. package/dist/cartocss-BNVXz6oJ.js +1065 -0
  11. package/dist/{import-utils--8RwDcC8.js → import-utils-BwcMU3Gp.js} +33 -33
  12. package/dist/{index-axggzg5T.js → index-8aAArh78.js} +63 -63
  13. package/dist/index.css +1 -1
  14. package/dist/index.js +1 -1
  15. package/dist/index.umd.cjs +35 -35
  16. package/dist/raster-BN1gB-NS.js +804 -0
  17. package/dist/{register-K8C2eD4s.js → register-DZ24Z6dC.js} +8 -8
  18. package/dist/{service-VAjz4FXX.js → service-DXLa4AiW.js} +392 -380
  19. package/dist/{vs-datatable-CwQOKMCU.js → vs-datatable-DVC6-2mA.js} +28 -28
  20. package/module/cls.json +6 -6
  21. package/module/gis/card/gis.metadata.table/index.yml +22 -22
  22. package/module/gis/card/gis.metadata.table/main_info.hbs +20 -20
  23. package/module/gis/card/gis.metadata.table/metadata_info.hbs +27 -27
  24. package/module/gis/card/gis.metadata.table/other.hbs +25 -25
  25. package/module/gis/card/gis.rasters.table/index.yml +11 -11
  26. package/module/gis/card/gis.rasters.table/main_info.hbs +27 -27
  27. package/module/gis/card/gis.registers.table/cls.hbs +36 -36
  28. package/module/gis/card/gis.registers.table/columns.hbs +89 -89
  29. package/module/gis/card/gis.registers.table/filters.hbs +80 -80
  30. package/module/gis/card/gis.registers.table/index.yml +23 -23
  31. package/module/gis/card/gis.registers.table/main_info.hbs +35 -35
  32. package/module/gis/card/gis.registers.table/source.hbs +45 -45
  33. package/module/gis/card/gis.services.table/attributes.hbs +91 -91
  34. package/module/gis/card/gis.services.table/filters.hbs +83 -83
  35. package/module/gis/card/gis.services.table/index.yml +25 -25
  36. package/module/gis/card/gis.services.table/main_info.hbs +27 -27
  37. package/module/gis/card/gis.services.table/source.hbs +25 -25
  38. package/module/gis/cls/bool.yes_no.json +12 -12
  39. package/module/gis/cls/encoding.json +14 -14
  40. package/module/gis/cls/geom_type.json +14 -14
  41. package/module/gis/cls/gis.column_type.json +34 -34
  42. package/module/gis/cls/gis.column_view_type.json +26 -26
  43. package/module/gis/cls/gis.filter_type.json +22 -22
  44. package/module/gis/cls/language.json +10 -10
  45. package/module/gis/cls/meta.service_type.json +42 -42
  46. package/module/gis/cls/ogc.service.json +21 -21
  47. package/module/gis/cls/service_type.json +42 -42
  48. package/module/gis/cls/source_type.json +10 -10
  49. package/module/gis/cls/standarts.json +6 -6
  50. package/module/gis/cls/topic_category.json +106 -106
  51. package/module/gis/cls/update_frequency.json +29 -29
  52. package/module/gis/cls/view.json +21 -21
  53. package/module/gis/form/feedback.answer.form.json +10 -10
  54. package/module/gis/form/gis.cartocss.form.json +64 -64
  55. package/module/gis/form/gis.group_list.form.json +17 -17
  56. package/module/gis/form/gis.maps.form.json +61 -61
  57. package/module/gis/form/gis.metadata.form.json +240 -240
  58. package/module/gis/form/gis.metadata_new.form.json +195 -195
  59. package/module/gis/form/gis.ogc_service.form.json +51 -51
  60. package/module/gis/form/gis.rasters.form.json +76 -76
  61. package/module/gis/form/gis.registers.form.json +124 -124
  62. package/module/gis/form/gis.registers_column.form.json +84 -84
  63. package/module/gis/form/gis.registers_filter.form.json +65 -65
  64. package/module/gis/form/gis.services.form.json +111 -111
  65. package/module/gis/form/gis.services_attributes.form.json +75 -75
  66. package/module/gis/form/gis.services_filter.form.json +65 -65
  67. package/module/gis/menu.json +43 -43
  68. package/module/gis/select/admin.cls.name.sql +9 -9
  69. package/module/gis/select/layer_list.sql +7 -7
  70. package/module/gis/select/layer_list_text.sql +7 -7
  71. package/module/gis/select/pg.column_name.geometry.sql +12 -12
  72. package/module/gis/select/pg.columns.parent.sql +6 -6
  73. package/module/gis/select/pg.table_name.sql +17 -17
  74. package/module/gis/select/service_id.sql +1 -1
  75. package/module/gis/table/gis.cartocss.table.json +74 -74
  76. package/module/gis/table/gis.group_list.table.json +58 -58
  77. package/module/gis/table/gis.maps.table.json +110 -110
  78. package/module/gis/table/gis.metadata.table.json +70 -70
  79. package/module/gis/table/gis.metadata_new.table.json +137 -137
  80. package/module/gis/table/gis.ogc_service.table.json +100 -100
  81. package/module/gis/table/gis.rasters.table.json +101 -101
  82. package/module/gis/table/gis.registers.table.json +143 -143
  83. package/module/gis/table/gis.services.table.json +120 -120
  84. package/module/gis/table/site.gis.registers.table.json +88 -88
  85. package/module/gis/table/site.gis.services.table.json +106 -106
  86. package/module/gis/templates/ISO19136_2017_gml_template.xml +330 -330
  87. package/module/gis/tokens.yml +5 -5
  88. package/module/permissions/form/permissions.users.form.json +151 -151
  89. package/module/permissions/table/gis.permissions.table.json +97 -97
  90. package/module/test/cls/bp_build_type.json +37 -37
  91. package/module/test/cls/doc_status.json +31 -31
  92. package/module/test/cls/ts.temp_status.json +18 -18
  93. package/module/test/cls/ts.temp_structure.ts_class.json +49 -49
  94. package/module/test/cls/ts.temp_type.json +9 -9
  95. package/module/test/layer/bp.json +59 -59
  96. package/module/test/layer/bp1.yml +33 -33
  97. package/module/test/layer/individual.yml +53 -53
  98. package/module/test/layer/ts.linking_passport.yml +55 -55
  99. package/module/test/layer/ts.temp_structure.yml +50 -50
  100. package/module/test/map/addr.yml +21 -21
  101. package/module/test/map/bp_myo.json +43 -43
  102. package/module/test/map/bpf.json +43 -43
  103. package/module/test/map/main.json +37 -37
  104. package/module/test/map/mbd.json +92 -92
  105. package/module/test/map/ts.json +53 -53
  106. package/module/test/select/address_id.json +2 -2
  107. package/module/test/select/address_id.sql +7 -7
  108. package/module/test/select/core.user_uid.sql +1 -1
  109. package/module/test/table/data_address.street.table.json +69 -69
  110. package/module/test/table/data_bp_myo.bp.table.json +122 -122
  111. package/package.json +75 -75
  112. package/plugin.js +55 -55
  113. package/server/migrations/array_intersect.sql +13 -13
  114. package/server/migrations/cartocss.sql +27 -27
  115. package/server/migrations/group_list.sql +74 -74
  116. package/server/migrations/maps.sql +30 -30
  117. package/server/migrations/metadata.sql +415 -415
  118. package/server/migrations/ogc.sql +106 -106
  119. package/server/migrations/rasters.sql +265 -265
  120. package/server/migrations/services.sql +247 -247
  121. package/server/migrations/services_users_rel.sql +22 -22
  122. package/server/migrations/widgets.sql +20 -20
  123. package/server/plugins/crons.js +21 -21
  124. package/server/plugins/mapnik/funcs/checkRasterFile.js +109 -109
  125. package/server/plugins/mapnik/funcs/mapnik.js +151 -151
  126. package/server/plugins/mapnik/funcs/rootFolder.mjs +8 -8
  127. package/server/plugins/mapnik/map.proto +230 -230
  128. package/server/plugins/vite.js +74 -74
  129. package/server/routes/gis/cartocss/add.cartocss.js +42 -42
  130. package/server/routes/gis/cartocss/get.cartocss.js +59 -59
  131. package/server/routes/gis/checkXML.js +117 -117
  132. package/server/routes/gis/dashboard.js +29 -29
  133. package/server/routes/gis/index.mjs +87 -87
  134. package/server/routes/gis/metadata/editMetadata.js +34 -34
  135. package/server/routes/gis/metadata/metadataXML.js +13 -13
  136. package/server/routes/gis/ogc/map.info.point.js +124 -124
  137. package/server/routes/gis/registers/add.registry.js +35 -35
  138. package/server/routes/gis/registers/del.registry.js +14 -14
  139. package/server/routes/gis/registers/funcs/classifiers.js +100 -100
  140. package/server/routes/gis/registers/funcs/columns.js +3 -3
  141. package/server/routes/gis/registers/funcs/content.type.js +9 -9
  142. package/server/routes/gis/registers/funcs/get.info.js +89 -89
  143. package/server/routes/gis/registers/funcs/handleRegistryRequest.js +146 -146
  144. package/server/routes/gis/registers/gis.export.js +153 -153
  145. package/server/routes/gis/registers/gis.registry.js +64 -64
  146. package/server/routes/gis/registers/gis.registry.list.js +59 -59
  147. package/server/routes/gis/registers/insert.columns.js +107 -107
  148. package/server/routes/gis/registers/insert.filters.js +110 -110
  149. package/server/routes/gis/registers/map.registry.js +79 -79
  150. package/server/routes/gis/services/add.service.js +64 -64
  151. package/server/routes/gis/services/del.service.js +12 -12
  152. package/server/routes/gis/services/get.layer.geom.js +27 -27
  153. package/server/routes/gis/services/get.services.col.js +33 -33
  154. package/server/routes/gis/services/get.services.js +84 -84
  155. package/server/routes/gis/services/legend.auto.js +77 -77
  156. package/server/routes/map/controllers/clearTiles.js +34 -34
  157. package/server/routes/map/controllers/geojson.js +187 -187
  158. package/server/routes/map/controllers/jsonData.js +205 -205
  159. package/server/routes/map/controllers/layerList.js +102 -102
  160. package/server/routes/map/controllers/map.js +123 -123
  161. package/server/routes/map/controllers/mapCatalog.js +72 -72
  162. package/server/routes/map/controllers/mapCatalogAttribute.js +55 -55
  163. package/server/routes/map/controllers/mapFeatures.js +128 -128
  164. package/server/routes/map/controllers/mapFormat.js +234 -234
  165. package/server/routes/map/controllers/mapTiles.js +152 -152
  166. package/server/routes/map/controllers/maps.js +15 -15
  167. package/server/routes/map/controllers/marker_icon.js +43 -43
  168. package/server/routes/map/controllers/vtile.js +172 -172
  169. package/server/routes/map/index.mjs +169 -169
  170. package/server/routes/map/maps/add.map.js +43 -43
  171. package/server/routes/map/maps/del.map.js +18 -18
  172. package/server/routes/map/maps/get.map.js +118 -118
  173. package/server/routes/map/vtile1.js +179 -179
  174. package/server/routes/map/widgets/add.widget.js +38 -38
  175. package/server/routes/map/widgets/del.widget.js +22 -22
  176. package/server/routes/map/widgets/get.widget.js +40 -40
  177. package/server/routes/mapnik/controllers/clearTiles.js +106 -106
  178. package/server/routes/mapnik/controllers/createXml.js +67 -67
  179. package/server/routes/mapnik/controllers/createXmlMulti.js +76 -76
  180. package/server/routes/mapnik/controllers/fileSearch.js +38 -38
  181. package/server/routes/mapnik/controllers/fileStat.js +28 -28
  182. package/server/routes/mapnik/controllers/mapnikLogger.js +29 -29
  183. package/server/routes/mapnik/controllers/mapnikStat.js +19 -19
  184. package/server/routes/mapnik/controllers/pretile.js +144 -144
  185. package/server/routes/mapnik/controllers/rasterInfo.js +57 -57
  186. package/server/routes/mapnik/controllers/readDir.js +22 -22
  187. package/server/routes/mapnik/controllers/rtile.js +150 -150
  188. package/server/routes/mapnik/controllers/uploadRaster.js +157 -157
  189. package/server/routes/mapnik/functions/cartoBounds.js +32 -32
  190. package/server/routes/mapnik/functions/convertBoundToTile.js +27 -27
  191. package/server/routes/mapnik/functions/uploadXML.js +113 -113
  192. package/server/routes/mapnik/index.js +40 -40
  193. package/server/routes/permissions/controllers/catalog.permissions.edit.js +22 -22
  194. package/server/routes/permissions/controllers/catalog.permissions.js +7 -7
  195. package/server/routes/permissions/controllers/gis.catalog.js +80 -80
  196. package/server/routes/permissions/controllers/utils/get.permissions.js +59 -59
  197. package/server/routes/permissions/index.mjs +18 -18
  198. package/server/routes/root.mjs +3 -3
  199. package/utils.js +13 -13
  200. package/dist/cartocss-B68llP5B.js +0 -1053
  201. package/dist/raster-BaKixPiV.js +0 -792
@@ -1,45 +1,45 @@
1
- import { openBlock as C, createElementBlock as D, createElementVNode as v, defineComponent as ee, ref as S, watch as I, createTextVNode as qi, createVNode as j, createBlock as M, createCommentVNode as q, defineAsyncComponent as Ki, unref as ve, withCtx as We, withDirectives as qe, vModelText as Ke, normalizeClass as he, Fragment as Hn, renderList as Vn, toDisplayString as ue, getCurrentInstance as qn, onBeforeUnmount as Kn, toRef as zi, computed as Fe, onMounted as Gi, resolveDynamicComponent as Qi } from "vue";
2
- import { useRoute as Wi, useRouter as Ji } from "vue-router";
1
+ import { openBlock as C, createElementBlock as D, createElementVNode as v, defineComponent as ee, ref as S, watch as I, createTextVNode as Gi, createVNode as j, createBlock as M, createCommentVNode as q, defineAsyncComponent as Qi, unref as Te, withCtx as We, withDirectives as qe, vModelText as Ke, normalizeClass as ve, Fragment as Hn, renderList as Vn, toDisplayString as le, getCurrentInstance as qn, onBeforeUnmount as Kn, toRef as Wi, computed as ue, onMounted as Ji, resolveDynamicComponent as Zi } from "vue";
2
+ import { useRoute as Xi, useRouter as el } from "vue-router";
3
3
  import { notify as Q } from "@opengis/core";
4
- import { _ as Re, u as Ie, f as Zi, M as Xi, g as el, h as nl, i as il, j as kn, k as ll, l as rl, m as tl, s as Cn, n as ol } from "./index-axggzg5T.js";
5
- import { _ as ul, a as al, b as sl, c as cl } from "./HeaderActions.vue_vue_type_script_setup_true_lang-BcabKIhe.js";
6
- import { S as fl, C as dl } from "./CardIcon-Dnk1_6Ub.js";
4
+ import { _ as Re, u as Ie, f as nl, M as il, g as ll, h as rl, i as tl, j as kn, k as ol, l as ul, m as al, s as Cn, n as sl } from "./index-8aAArh78.js";
5
+ import { _ as cl, a as fl, b as dl, c as pl } from "./HeaderActions.vue_vue_type_script_setup_true_lang-EZGjVDor.js";
6
+ import { S as ml, C as hl } from "./CardIcon-BCll_4SB.js";
7
7
  import { _ as zn } from "./MonacoEditor.vue_vue_type_script_setup_true_lang-D3ZPeXMw.js";
8
- import { V as $e } from "./vs-datatable-CwQOKMCU.js";
9
- import { _ as ln, m as rn, r as xe } from "./import-utils--8RwDcC8.js";
8
+ import { V as $e } from "./vs-datatable-DVC6-2mA.js";
9
+ import { _ as ln, m as rn, r as xe } from "./import-utils-BwcMU3Gp.js";
10
10
  /*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT */
11
11
  function Gn(e) {
12
12
  return typeof e > "u" || e === null;
13
13
  }
14
- function pl(e) {
14
+ function vl(e) {
15
15
  return typeof e == "object" && e !== null;
16
16
  }
17
- function ml(e) {
17
+ function xl(e) {
18
18
  return Array.isArray(e) ? e : Gn(e) ? [] : [e];
19
19
  }
20
- function hl(e, n) {
20
+ function yl(e, n) {
21
21
  var i, r, l, o;
22
22
  if (n)
23
23
  for (o = Object.keys(n), i = 0, r = o.length; i < r; i += 1)
24
24
  l = o[i], e[l] = n[l];
25
25
  return e;
26
26
  }
27
- function vl(e, n) {
27
+ function gl(e, n) {
28
28
  var i = "", r;
29
29
  for (r = 0; r < n; r += 1)
30
30
  i += e;
31
31
  return i;
32
32
  }
33
- function xl(e) {
33
+ function bl(e) {
34
34
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
35
35
  }
36
- var yl = Gn, gl = pl, bl = ml, _l = vl, wl = xl, Al = hl, O = {
37
- isNothing: yl,
38
- isObject: gl,
39
- toArray: bl,
40
- repeat: _l,
41
- isNegativeZero: wl,
42
- extend: Al
36
+ var _l = Gn, wl = vl, Al = xl, kl = gl, Cl = bl, Sl = yl, O = {
37
+ isNothing: _l,
38
+ isObject: wl,
39
+ toArray: Al,
40
+ repeat: kl,
41
+ isNegativeZero: Cl,
42
+ extend: Sl
43
43
  };
44
44
  function Qn(e, n) {
45
45
  var i = "", r = e.reason || "(unknown reason)";
@@ -67,7 +67,7 @@ function ze(e, n, i, r, l) {
67
67
  function Ge(e, n) {
68
68
  return O.repeat(" ", n - e.length) + e;
69
69
  }
70
- function kl(e, n) {
70
+ function El(e, n) {
71
71
  if (n = Object.create(n || null), !e.buffer) return null;
72
72
  n.maxLength || (n.maxLength = 79), typeof n.indent != "number" && (n.indent = 1), typeof n.linesBefore != "number" && (n.linesBefore = 3), typeof n.linesAfter != "number" && (n.linesAfter = 2);
73
73
  for (var i = /\r?\n|\r|\0/g, r = [0], l = [], o, t = -1; o = i.exec(e.buffer); )
@@ -96,7 +96,7 @@ function kl(e, n) {
96
96
  `;
97
97
  return u.replace(/\n$/, "");
98
98
  }
99
- var Cl = kl, Sl = [
99
+ var Fl = El, Tl = [
100
100
  "kind",
101
101
  "multi",
102
102
  "resolve",
@@ -107,12 +107,12 @@ var Cl = kl, Sl = [
107
107
  "representName",
108
108
  "defaultStyle",
109
109
  "styleAliases"
110
- ], El = [
110
+ ], Il = [
111
111
  "scalar",
112
112
  "sequence",
113
113
  "mapping"
114
114
  ];
115
- function Fl(e) {
115
+ function Ol(e) {
116
116
  var n = {};
117
117
  return e !== null && Object.keys(e).forEach(function(i) {
118
118
  e[i].forEach(function(r) {
@@ -120,18 +120,18 @@ function Fl(e) {
120
120
  });
121
121
  }), n;
122
122
  }
123
- function Tl(e, n) {
123
+ function Ll(e, n) {
124
124
  if (n = n || {}, Object.keys(n).forEach(function(i) {
125
- if (Sl.indexOf(i) === -1)
125
+ if (Tl.indexOf(i) === -1)
126
126
  throw new $('Unknown option "' + i + '" is met in definition of "' + e + '" YAML type.');
127
127
  }), this.options = n, this.tag = e, this.kind = n.kind || null, this.resolve = n.resolve || function() {
128
128
  return !0;
129
129
  }, this.construct = n.construct || function(i) {
130
130
  return i;
131
- }, this.instanceOf = n.instanceOf || null, this.predicate = n.predicate || null, this.represent = n.represent || null, this.representName = n.representName || null, this.defaultStyle = n.defaultStyle || null, this.multi = n.multi || !1, this.styleAliases = Fl(n.styleAliases || null), El.indexOf(this.kind) === -1)
131
+ }, this.instanceOf = n.instanceOf || null, this.predicate = n.predicate || null, this.represent = n.represent || null, this.representName = n.representName || null, this.defaultStyle = n.defaultStyle || null, this.multi = n.multi || !1, this.styleAliases = Ol(n.styleAliases || null), Il.indexOf(this.kind) === -1)
132
132
  throw new $('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
133
133
  }
134
- var N = Tl;
134
+ var N = Ll;
135
135
  function Sn(e, n) {
136
136
  var i = [];
137
137
  return e[n].forEach(function(r) {
@@ -141,7 +141,7 @@ function Sn(e, n) {
141
141
  }), i[l] = r;
142
142
  }), i;
143
143
  }
144
- function Il() {
144
+ function Nl() {
145
145
  var e = {
146
146
  scalar: {},
147
147
  sequence: {},
@@ -186,7 +186,7 @@ Je.prototype.extend = function(n) {
186
186
  throw new $("Specified list of YAML types (or a single Type object) contains a non-Type object.");
187
187
  });
188
188
  var l = Object.create(Je.prototype);
189
- return l.implicit = (this.implicit || []).concat(i), l.explicit = (this.explicit || []).concat(r), l.compiledImplicit = Sn(l, "implicit"), l.compiledExplicit = Sn(l, "explicit"), l.compiledTypeMap = Il(l.compiledImplicit, l.compiledExplicit), l;
189
+ return l.implicit = (this.implicit || []).concat(i), l.explicit = (this.explicit || []).concat(r), l.compiledImplicit = Sn(l, "implicit"), l.compiledExplicit = Sn(l, "explicit"), l.compiledTypeMap = Nl(l.compiledImplicit, l.compiledExplicit), l;
190
190
  };
191
191
  var Wn = Je, Jn = new N("tag:yaml.org,2002:str", {
192
192
  kind: "scalar",
@@ -210,22 +210,22 @@ var Wn = Je, Jn = new N("tag:yaml.org,2002:str", {
210
210
  Xn
211
211
  ]
212
212
  });
213
- function Ol(e) {
213
+ function Ml(e) {
214
214
  if (e === null) return !0;
215
215
  var n = e.length;
216
216
  return n === 1 && e === "~" || n === 4 && (e === "null" || e === "Null" || e === "NULL");
217
217
  }
218
- function Ll() {
218
+ function Dl() {
219
219
  return null;
220
220
  }
221
- function Nl(e) {
221
+ function Rl(e) {
222
222
  return e === null;
223
223
  }
224
224
  var ni = new N("tag:yaml.org,2002:null", {
225
225
  kind: "scalar",
226
- resolve: Ol,
227
- construct: Ll,
228
- predicate: Nl,
226
+ resolve: Ml,
227
+ construct: Dl,
228
+ predicate: Rl,
229
229
  represent: {
230
230
  canonical: function() {
231
231
  return "~";
@@ -245,22 +245,22 @@ var ni = new N("tag:yaml.org,2002:null", {
245
245
  },
246
246
  defaultStyle: "lowercase"
247
247
  });
248
- function Ml(e) {
248
+ function $l(e) {
249
249
  if (e === null) return !1;
250
250
  var n = e.length;
251
251
  return n === 4 && (e === "true" || e === "True" || e === "TRUE") || n === 5 && (e === "false" || e === "False" || e === "FALSE");
252
252
  }
253
- function Dl(e) {
253
+ function jl(e) {
254
254
  return e === "true" || e === "True" || e === "TRUE";
255
255
  }
256
- function Rl(e) {
256
+ function Ul(e) {
257
257
  return Object.prototype.toString.call(e) === "[object Boolean]";
258
258
  }
259
259
  var ii = new N("tag:yaml.org,2002:bool", {
260
260
  kind: "scalar",
261
- resolve: Ml,
262
- construct: Dl,
263
- predicate: Rl,
261
+ resolve: $l,
262
+ construct: jl,
263
+ predicate: Ul,
264
264
  represent: {
265
265
  lowercase: function(e) {
266
266
  return e ? "true" : "false";
@@ -274,16 +274,16 @@ var ii = new N("tag:yaml.org,2002:bool", {
274
274
  },
275
275
  defaultStyle: "lowercase"
276
276
  });
277
- function $l(e) {
277
+ function Bl(e) {
278
278
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
279
279
  }
280
- function jl(e) {
280
+ function Yl(e) {
281
281
  return 48 <= e && e <= 55;
282
282
  }
283
- function Ul(e) {
283
+ function Pl(e) {
284
284
  return 48 <= e && e <= 57;
285
285
  }
286
- function Bl(e) {
286
+ function Hl(e) {
287
287
  if (e === null) return !1;
288
288
  var n = e.length, i = 0, r = !1, l;
289
289
  if (!n) return !1;
@@ -300,7 +300,7 @@ function Bl(e) {
300
300
  if (l === "x") {
301
301
  for (i++; i < n; i++)
302
302
  if (l = e[i], l !== "_") {
303
- if (!$l(e.charCodeAt(i))) return !1;
303
+ if (!Bl(e.charCodeAt(i))) return !1;
304
304
  r = !0;
305
305
  }
306
306
  return r && l !== "_";
@@ -308,7 +308,7 @@ function Bl(e) {
308
308
  if (l === "o") {
309
309
  for (i++; i < n; i++)
310
310
  if (l = e[i], l !== "_") {
311
- if (!jl(e.charCodeAt(i))) return !1;
311
+ if (!Yl(e.charCodeAt(i))) return !1;
312
312
  r = !0;
313
313
  }
314
314
  return r && l !== "_";
@@ -317,13 +317,13 @@ function Bl(e) {
317
317
  if (l === "_") return !1;
318
318
  for (; i < n; i++)
319
319
  if (l = e[i], l !== "_") {
320
- if (!Ul(e.charCodeAt(i)))
320
+ if (!Pl(e.charCodeAt(i)))
321
321
  return !1;
322
322
  r = !0;
323
323
  }
324
324
  return !(!r || l === "_");
325
325
  }
326
- function Yl(e) {
326
+ function Vl(e) {
327
327
  var n = e, i = 1, r;
328
328
  if (n.indexOf("_") !== -1 && (n = n.replace(/_/g, "")), r = n[0], (r === "-" || r === "+") && (r === "-" && (i = -1), n = n.slice(1), r = n[0]), n === "0") return 0;
329
329
  if (r === "0") {
@@ -333,14 +333,14 @@ function Yl(e) {
333
333
  }
334
334
  return i * parseInt(n, 10);
335
335
  }
336
- function Pl(e) {
336
+ function ql(e) {
337
337
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !O.isNegativeZero(e);
338
338
  }
339
339
  var li = new N("tag:yaml.org,2002:int", {
340
340
  kind: "scalar",
341
- resolve: Bl,
342
- construct: Yl,
343
- predicate: Pl,
341
+ resolve: Hl,
342
+ construct: Vl,
343
+ predicate: ql,
344
344
  represent: {
345
345
  binary: function(e) {
346
346
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -363,21 +363,21 @@ var li = new N("tag:yaml.org,2002:int", {
363
363
  decimal: [10, "dec"],
364
364
  hexadecimal: [16, "hex"]
365
365
  }
366
- }), Hl = new RegExp(
366
+ }), Kl = new RegExp(
367
367
  // 2.5e4, 2.5 and integers
368
368
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
369
369
  );
370
- function Vl(e) {
371
- return !(e === null || !Hl.test(e) || // Quick hack to not allow integers end with `_`
370
+ function zl(e) {
371
+ return !(e === null || !Kl.test(e) || // Quick hack to not allow integers end with `_`
372
372
  // Probably should update regexp & check speed
373
373
  e[e.length - 1] === "_");
374
374
  }
375
- function ql(e) {
375
+ function Gl(e) {
376
376
  var n, i;
377
377
  return n = e.replace(/_/g, "").toLowerCase(), i = n[0] === "-" ? -1 : 1, "+-".indexOf(n[0]) >= 0 && (n = n.slice(1)), n === ".inf" ? i === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : n === ".nan" ? NaN : i * parseFloat(n, 10);
378
378
  }
379
- var Kl = /^[-+]?[0-9]+e/;
380
- function zl(e, n) {
379
+ var Ql = /^[-+]?[0-9]+e/;
380
+ function Wl(e, n) {
381
381
  var i;
382
382
  if (isNaN(e))
383
383
  switch (n) {
@@ -408,17 +408,17 @@ function zl(e, n) {
408
408
  }
409
409
  else if (O.isNegativeZero(e))
410
410
  return "-0.0";
411
- return i = e.toString(10), Kl.test(i) ? i.replace("e", ".e") : i;
411
+ return i = e.toString(10), Ql.test(i) ? i.replace("e", ".e") : i;
412
412
  }
413
- function Gl(e) {
413
+ function Jl(e) {
414
414
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || O.isNegativeZero(e));
415
415
  }
416
416
  var ri = new N("tag:yaml.org,2002:float", {
417
417
  kind: "scalar",
418
- resolve: Vl,
419
- construct: ql,
420
- predicate: Gl,
421
- represent: zl,
418
+ resolve: zl,
419
+ construct: Gl,
420
+ predicate: Jl,
421
+ represent: Wl,
422
422
  defaultStyle: "lowercase"
423
423
  }), ti = ei.extend({
424
424
  implicit: [
@@ -432,10 +432,10 @@ var ri = new N("tag:yaml.org,2002:float", {
432
432
  ), ai = new RegExp(
433
433
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"
434
434
  );
435
- function Ql(e) {
435
+ function Zl(e) {
436
436
  return e === null ? !1 : ui.exec(e) !== null || ai.exec(e) !== null;
437
437
  }
438
- function Wl(e) {
438
+ function Xl(e) {
439
439
  var n, i, r, l, o, t, u, a = 0, s = null, m, d, y;
440
440
  if (n = ui.exec(e), n === null && (n = ai.exec(e)), n === null) throw new Error("Date resolve error");
441
441
  if (i = +n[1], r = +n[2] - 1, l = +n[3], !n[4])
@@ -447,25 +447,25 @@ function Wl(e) {
447
447
  }
448
448
  return n[9] && (m = +n[10], d = +(n[11] || 0), s = (m * 60 + d) * 6e4, n[9] === "-" && (s = -s)), y = new Date(Date.UTC(i, r, l, o, t, u, a)), s && y.setTime(y.getTime() - s), y;
449
449
  }
450
- function Jl(e) {
450
+ function er(e) {
451
451
  return e.toISOString();
452
452
  }
453
453
  var si = new N("tag:yaml.org,2002:timestamp", {
454
454
  kind: "scalar",
455
- resolve: Ql,
456
- construct: Wl,
455
+ resolve: Zl,
456
+ construct: Xl,
457
457
  instanceOf: Date,
458
- represent: Jl
458
+ represent: er
459
459
  });
460
- function Zl(e) {
460
+ function nr(e) {
461
461
  return e === "<<" || e === null;
462
462
  }
463
463
  var ci = new N("tag:yaml.org,2002:merge", {
464
464
  kind: "scalar",
465
- resolve: Zl
465
+ resolve: nr
466
466
  }), tn = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
467
467
  \r`;
468
- function Xl(e) {
468
+ function ir(e) {
469
469
  if (e === null) return !1;
470
470
  var n, i, r = 0, l = e.length, o = tn;
471
471
  for (i = 0; i < l; i++)
@@ -475,35 +475,35 @@ function Xl(e) {
475
475
  }
476
476
  return r % 8 === 0;
477
477
  }
478
- function er(e) {
478
+ function lr(e) {
479
479
  var n, i, r = e.replace(/[\r\n=]/g, ""), l = r.length, o = tn, t = 0, u = [];
480
480
  for (n = 0; n < l; n++)
481
481
  n % 4 === 0 && n && (u.push(t >> 16 & 255), u.push(t >> 8 & 255), u.push(t & 255)), t = t << 6 | o.indexOf(r.charAt(n));
482
482
  return i = l % 4 * 6, i === 0 ? (u.push(t >> 16 & 255), u.push(t >> 8 & 255), u.push(t & 255)) : i === 18 ? (u.push(t >> 10 & 255), u.push(t >> 2 & 255)) : i === 12 && u.push(t >> 4 & 255), new Uint8Array(u);
483
483
  }
484
- function nr(e) {
484
+ function rr(e) {
485
485
  var n = "", i = 0, r, l, o = e.length, t = tn;
486
486
  for (r = 0; r < o; r++)
487
487
  r % 3 === 0 && r && (n += t[i >> 18 & 63], n += t[i >> 12 & 63], n += t[i >> 6 & 63], n += t[i & 63]), i = (i << 8) + e[r];
488
488
  return l = o % 3, l === 0 ? (n += t[i >> 18 & 63], n += t[i >> 12 & 63], n += t[i >> 6 & 63], n += t[i & 63]) : l === 2 ? (n += t[i >> 10 & 63], n += t[i >> 4 & 63], n += t[i << 2 & 63], n += t[64]) : l === 1 && (n += t[i >> 2 & 63], n += t[i << 4 & 63], n += t[64], n += t[64]), n;
489
489
  }
490
- function ir(e) {
490
+ function tr(e) {
491
491
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
492
492
  }
493
493
  var fi = new N("tag:yaml.org,2002:binary", {
494
494
  kind: "scalar",
495
- resolve: Xl,
496
- construct: er,
497
- predicate: ir,
498
- represent: nr
499
- }), lr = Object.prototype.hasOwnProperty, rr = Object.prototype.toString;
500
- function tr(e) {
495
+ resolve: ir,
496
+ construct: lr,
497
+ predicate: tr,
498
+ represent: rr
499
+ }), or = Object.prototype.hasOwnProperty, ur = Object.prototype.toString;
500
+ function ar(e) {
501
501
  if (e === null) return !0;
502
502
  var n = [], i, r, l, o, t, u = e;
503
503
  for (i = 0, r = u.length; i < r; i += 1) {
504
- if (l = u[i], t = !1, rr.call(l) !== "[object Object]") return !1;
504
+ if (l = u[i], t = !1, ur.call(l) !== "[object Object]") return !1;
505
505
  for (o in l)
506
- if (lr.call(l, o))
506
+ if (or.call(l, o))
507
507
  if (!t) t = !0;
508
508
  else return !1;
509
509
  if (!t) return !1;
@@ -512,24 +512,24 @@ function tr(e) {
512
512
  }
513
513
  return !0;
514
514
  }
515
- function or(e) {
515
+ function sr(e) {
516
516
  return e !== null ? e : [];
517
517
  }
518
518
  var di = new N("tag:yaml.org,2002:omap", {
519
519
  kind: "sequence",
520
- resolve: tr,
521
- construct: or
522
- }), ur = Object.prototype.toString;
523
- function ar(e) {
520
+ resolve: ar,
521
+ construct: sr
522
+ }), cr = Object.prototype.toString;
523
+ function fr(e) {
524
524
  if (e === null) return !0;
525
525
  var n, i, r, l, o, t = e;
526
526
  for (o = new Array(t.length), n = 0, i = t.length; n < i; n += 1) {
527
- if (r = t[n], ur.call(r) !== "[object Object]" || (l = Object.keys(r), l.length !== 1)) return !1;
527
+ if (r = t[n], cr.call(r) !== "[object Object]" || (l = Object.keys(r), l.length !== 1)) return !1;
528
528
  o[n] = [l[0], r[l[0]]];
529
529
  }
530
530
  return !0;
531
531
  }
532
- function sr(e) {
532
+ function dr(e) {
533
533
  if (e === null) return [];
534
534
  var n, i, r, l, o, t = e;
535
535
  for (o = new Array(t.length), n = 0, i = t.length; n < i; n += 1)
@@ -538,24 +538,24 @@ function sr(e) {
538
538
  }
539
539
  var pi = new N("tag:yaml.org,2002:pairs", {
540
540
  kind: "sequence",
541
- resolve: ar,
542
- construct: sr
543
- }), cr = Object.prototype.hasOwnProperty;
544
- function fr(e) {
541
+ resolve: fr,
542
+ construct: dr
543
+ }), pr = Object.prototype.hasOwnProperty;
544
+ function mr(e) {
545
545
  if (e === null) return !0;
546
546
  var n, i = e;
547
547
  for (n in i)
548
- if (cr.call(i, n) && i[n] !== null)
548
+ if (pr.call(i, n) && i[n] !== null)
549
549
  return !1;
550
550
  return !0;
551
551
  }
552
- function dr(e) {
552
+ function hr(e) {
553
553
  return e !== null ? e : {};
554
554
  }
555
555
  var mi = new N("tag:yaml.org,2002:set", {
556
556
  kind: "mapping",
557
- resolve: fr,
558
- construct: dr
557
+ resolve: mr,
558
+ construct: hr
559
559
  }), on = oi.extend({
560
560
  implicit: [
561
561
  si,
@@ -567,37 +567,37 @@ var mi = new N("tag:yaml.org,2002:set", {
567
567
  pi,
568
568
  mi
569
569
  ]
570
- }), X = Object.prototype.hasOwnProperty, Oe = 1, hi = 2, vi = 3, Le = 4, Qe = 1, pr = 2, En = 3, mr = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, hr = /[\x85\u2028\u2029]/, vr = /[,\[\]\{\}]/, xi = /^(?:!|!!|![a-z\-]+!)$/i, yi = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
570
+ }), X = Object.prototype.hasOwnProperty, Oe = 1, hi = 2, vi = 3, Le = 4, Qe = 1, vr = 2, En = 3, xr = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, yr = /[\x85\u2028\u2029]/, gr = /[,\[\]\{\}]/, xi = /^(?:!|!!|![a-z\-]+!)$/i, yi = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
571
571
  function Fn(e) {
572
572
  return Object.prototype.toString.call(e);
573
573
  }
574
574
  function G(e) {
575
575
  return e === 10 || e === 13;
576
576
  }
577
- function le(e) {
577
+ function re(e) {
578
578
  return e === 9 || e === 32;
579
579
  }
580
580
  function U(e) {
581
581
  return e === 9 || e === 32 || e === 10 || e === 13;
582
582
  }
583
- function se(e) {
583
+ function ce(e) {
584
584
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
585
585
  }
586
- function xr(e) {
586
+ function br(e) {
587
587
  var n;
588
588
  return 48 <= e && e <= 57 ? e - 48 : (n = e | 32, 97 <= n && n <= 102 ? n - 97 + 10 : -1);
589
589
  }
590
- function yr(e) {
590
+ function _r(e) {
591
591
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
592
592
  }
593
- function gr(e) {
593
+ function wr(e) {
594
594
  return 48 <= e && e <= 57 ? e - 48 : -1;
595
595
  }
596
596
  function Tn(e) {
597
597
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
598
598
  ` : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? '"' : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "…" : e === 95 ? " " : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
599
599
  }
600
- function br(e) {
600
+ function Ar(e) {
601
601
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode(
602
602
  (e - 65536 >> 10) + 55296,
603
603
  (e - 65536 & 1023) + 56320
@@ -612,9 +612,9 @@ function gi(e, n, i) {
612
612
  }) : e[n] = i;
613
613
  }
614
614
  var bi = new Array(256), _i = new Array(256);
615
- for (var oe = 0; oe < 256; oe++)
616
- bi[oe] = Tn(oe) ? 1 : 0, _i[oe] = Tn(oe);
617
- function _r(e, n) {
615
+ for (var ae = 0; ae < 256; ae++)
616
+ bi[ae] = Tn(ae) ? 1 : 0, _i[ae] = Tn(ae);
617
+ function kr(e, n) {
618
618
  this.input = e, this.filename = n.filename || null, this.schema = n.schema || on, this.onWarning = n.onWarning || null, this.legacy = n.legacy || !1, this.json = n.json || !1, this.listener = n.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
619
619
  }
620
620
  function wi(e, n) {
@@ -626,7 +626,7 @@ function wi(e, n) {
626
626
  line: e.line,
627
627
  column: e.position - e.lineStart
628
628
  };
629
- return i.snippet = Cl(i), new $(n, i);
629
+ return i.snippet = Fl(i), new $(n, i);
630
630
  }
631
631
  function _(e, n) {
632
632
  throw wi(e, n);
@@ -656,7 +656,7 @@ function Z(e, n, i, r) {
656
656
  if (u = e.input.slice(n, i), r)
657
657
  for (l = 0, o = u.length; l < o; l += 1)
658
658
  t = u.charCodeAt(l), t === 9 || 32 <= t && t <= 1114111 || _(e, "expected valid JSON character");
659
- else mr.test(u) && _(e, "the stream contains non-printable characters");
659
+ else xr.test(u) && _(e, "the stream contains non-printable characters");
660
660
  e.result += u;
661
661
  }
662
662
  }
@@ -665,7 +665,7 @@ function On(e, n, i, r) {
665
665
  for (O.isObject(i) || _(e, "cannot merge mappings; the provided source object is unacceptable"), l = Object.keys(i), t = 0, u = l.length; t < u; t += 1)
666
666
  o = l[t], X.call(n, o) || (gi(n, o, i[o]), r[o] = !0);
667
667
  }
668
- function ce(e, n, i, r, l, o, t, u, a) {
668
+ function fe(e, n, i, r, l, o, t, u, a) {
669
669
  var s, m;
670
670
  if (Array.isArray(l))
671
671
  for (l = Array.prototype.slice.call(l), s = 0, m = l.length; s < m; s += 1)
@@ -686,7 +686,7 @@ function un(e) {
686
686
  }
687
687
  function T(e, n, i) {
688
688
  for (var r = 0, l = e.input.charCodeAt(e.position); l !== 0; ) {
689
- for (; le(l); )
689
+ for (; re(l); )
690
690
  l === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), l = e.input.charCodeAt(++e.position);
691
691
  if (n && l === 35)
692
692
  do
@@ -708,19 +708,19 @@ function an(e, n) {
708
708
  n === 1 ? e.result += " " : n > 1 && (e.result += O.repeat(`
709
709
  `, n - 1));
710
710
  }
711
- function wr(e, n, i) {
711
+ function Cr(e, n, i) {
712
712
  var r, l, o, t, u, a, s, m, d = e.kind, y = e.result, b;
713
- if (b = e.input.charCodeAt(e.position), U(b) || se(b) || b === 35 || b === 38 || b === 42 || b === 33 || b === 124 || b === 62 || b === 39 || b === 34 || b === 37 || b === 64 || b === 96 || (b === 63 || b === 45) && (l = e.input.charCodeAt(e.position + 1), U(l) || i && se(l)))
713
+ if (b = e.input.charCodeAt(e.position), U(b) || ce(b) || b === 35 || b === 38 || b === 42 || b === 33 || b === 124 || b === 62 || b === 39 || b === 34 || b === 37 || b === 64 || b === 96 || (b === 63 || b === 45) && (l = e.input.charCodeAt(e.position + 1), U(l) || i && ce(l)))
714
714
  return !1;
715
715
  for (e.kind = "scalar", e.result = "", o = t = e.position, u = !1; b !== 0; ) {
716
716
  if (b === 58) {
717
- if (l = e.input.charCodeAt(e.position + 1), U(l) || i && se(l))
717
+ if (l = e.input.charCodeAt(e.position + 1), U(l) || i && ce(l))
718
718
  break;
719
719
  } else if (b === 35) {
720
720
  if (r = e.input.charCodeAt(e.position - 1), U(r))
721
721
  break;
722
722
  } else {
723
- if (e.position === e.lineStart && je(e) || i && se(b))
723
+ if (e.position === e.lineStart && je(e) || i && ce(b))
724
724
  break;
725
725
  if (G(b))
726
726
  if (a = e.line, s = e.lineStart, m = e.lineIndent, T(e, !1, -1), e.lineIndent >= n) {
@@ -731,11 +731,11 @@ function wr(e, n, i) {
731
731
  break;
732
732
  }
733
733
  }
734
- u && (Z(e, o, t, !1), an(e, e.line - a), o = t = e.position, u = !1), le(b) || (t = e.position + 1), b = e.input.charCodeAt(++e.position);
734
+ u && (Z(e, o, t, !1), an(e, e.line - a), o = t = e.position, u = !1), re(b) || (t = e.position + 1), b = e.input.charCodeAt(++e.position);
735
735
  }
736
736
  return Z(e, o, t, !1), e.result ? !0 : (e.kind = d, e.result = y, !1);
737
737
  }
738
- function Ar(e, n) {
738
+ function Sr(e, n) {
739
739
  var i, r, l;
740
740
  if (i = e.input.charCodeAt(e.position), i !== 39)
741
741
  return !1;
@@ -748,7 +748,7 @@ function Ar(e, n) {
748
748
  else G(i) ? (Z(e, r, l, !0), an(e, T(e, !1, n)), r = l = e.position) : e.position === e.lineStart && je(e) ? _(e, "unexpected end of the document within a single quoted scalar") : (e.position++, l = e.position);
749
749
  _(e, "unexpected end of the stream within a single quoted scalar");
750
750
  }
751
- function kr(e, n) {
751
+ function Er(e, n) {
752
752
  var i, r, l, o, t, u;
753
753
  if (u = e.input.charCodeAt(e.position), u !== 34)
754
754
  return !1;
@@ -760,10 +760,10 @@ function kr(e, n) {
760
760
  T(e, !1, n);
761
761
  else if (u < 256 && bi[u])
762
762
  e.result += _i[u], e.position++;
763
- else if ((t = yr(u)) > 0) {
763
+ else if ((t = _r(u)) > 0) {
764
764
  for (l = t, o = 0; l > 0; l--)
765
- u = e.input.charCodeAt(++e.position), (t = xr(u)) >= 0 ? o = (o << 4) + t : _(e, "expected hexadecimal character");
766
- e.result += br(o), e.position++;
765
+ u = e.input.charCodeAt(++e.position), (t = br(u)) >= 0 ? o = (o << 4) + t : _(e, "expected hexadecimal character");
766
+ e.result += Ar(o), e.position++;
767
767
  } else
768
768
  _(e, "unknown escape sequence");
769
769
  i = r = e.position;
@@ -771,7 +771,7 @@ function kr(e, n) {
771
771
  }
772
772
  _(e, "unexpected end of the stream within a double quoted scalar");
773
773
  }
774
- function Cr(e, n) {
774
+ function Fr(e, n) {
775
775
  var i = !0, r, l, o, t = e.tag, u, a = e.anchor, s, m, d, y, b, p = /* @__PURE__ */ Object.create(null), h, x, w, g;
776
776
  if (g = e.input.charCodeAt(e.position), g === 91)
777
777
  m = 93, b = !1, u = [];
@@ -782,11 +782,11 @@ function Cr(e, n) {
782
782
  for (e.anchor !== null && (e.anchorMap[e.anchor] = u), g = e.input.charCodeAt(++e.position); g !== 0; ) {
783
783
  if (T(e, !0, n), g = e.input.charCodeAt(e.position), g === m)
784
784
  return e.position++, e.tag = t, e.anchor = a, e.kind = b ? "mapping" : "sequence", e.result = u, !0;
785
- i ? g === 44 && _(e, "expected the node content, but found ','") : _(e, "missed comma between flow collection entries"), x = h = w = null, d = y = !1, g === 63 && (s = e.input.charCodeAt(e.position + 1), U(s) && (d = y = !0, e.position++, T(e, !0, n))), r = e.line, l = e.lineStart, o = e.position, fe(e, n, Oe, !1, !0), x = e.tag, h = e.result, T(e, !0, n), g = e.input.charCodeAt(e.position), (y || e.line === r) && g === 58 && (d = !0, g = e.input.charCodeAt(++e.position), T(e, !0, n), fe(e, n, Oe, !1, !0), w = e.result), b ? ce(e, u, p, x, h, w, r, l, o) : d ? u.push(ce(e, null, p, x, h, w, r, l, o)) : u.push(h), T(e, !0, n), g = e.input.charCodeAt(e.position), g === 44 ? (i = !0, g = e.input.charCodeAt(++e.position)) : i = !1;
785
+ i ? g === 44 && _(e, "expected the node content, but found ','") : _(e, "missed comma between flow collection entries"), x = h = w = null, d = y = !1, g === 63 && (s = e.input.charCodeAt(e.position + 1), U(s) && (d = y = !0, e.position++, T(e, !0, n))), r = e.line, l = e.lineStart, o = e.position, de(e, n, Oe, !1, !0), x = e.tag, h = e.result, T(e, !0, n), g = e.input.charCodeAt(e.position), (y || e.line === r) && g === 58 && (d = !0, g = e.input.charCodeAt(++e.position), T(e, !0, n), de(e, n, Oe, !1, !0), w = e.result), b ? fe(e, u, p, x, h, w, r, l, o) : d ? u.push(fe(e, null, p, x, h, w, r, l, o)) : u.push(h), T(e, !0, n), g = e.input.charCodeAt(e.position), g === 44 ? (i = !0, g = e.input.charCodeAt(++e.position)) : i = !1;
786
786
  }
787
787
  _(e, "unexpected end of the stream within a flow collection");
788
788
  }
789
- function Sr(e, n) {
789
+ function Tr(e, n) {
790
790
  var i, r, l = Qe, o = !1, t = !1, u = n, a = 0, s = !1, m, d;
791
791
  if (d = e.input.charCodeAt(e.position), d === 124)
792
792
  r = !1;
@@ -796,15 +796,15 @@ function Sr(e, n) {
796
796
  return !1;
797
797
  for (e.kind = "scalar", e.result = ""; d !== 0; )
798
798
  if (d = e.input.charCodeAt(++e.position), d === 43 || d === 45)
799
- Qe === l ? l = d === 43 ? En : pr : _(e, "repeat of a chomping mode identifier");
800
- else if ((m = gr(d)) >= 0)
799
+ Qe === l ? l = d === 43 ? En : vr : _(e, "repeat of a chomping mode identifier");
800
+ else if ((m = wr(d)) >= 0)
801
801
  m === 0 ? _(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : t ? _(e, "repeat of an indentation width identifier") : (u = n + m - 1, t = !0);
802
802
  else
803
803
  break;
804
- if (le(d)) {
804
+ if (re(d)) {
805
805
  do
806
806
  d = e.input.charCodeAt(++e.position);
807
- while (le(d));
807
+ while (re(d));
808
808
  if (d === 35)
809
809
  do
810
810
  d = e.input.charCodeAt(++e.position);
@@ -823,7 +823,7 @@ function Sr(e, n) {
823
823
  `);
824
824
  break;
825
825
  }
826
- for (r ? le(d) ? (s = !0, e.result += O.repeat(`
826
+ for (r ? re(d) ? (s = !0, e.result += O.repeat(`
827
827
  `, o ? 1 + a : a)) : s ? (s = !1, e.result += O.repeat(`
828
828
  `, a + 1)) : a === 0 ? o && (e.result += " ") : e.result += O.repeat(`
829
829
  `, a) : e.result += O.repeat(`
@@ -841,27 +841,27 @@ function Ln(e, n) {
841
841
  o.push(null), a = e.input.charCodeAt(e.position);
842
842
  continue;
843
843
  }
844
- if (i = e.line, fe(e, n, vi, !1, !0), o.push(e.result), T(e, !0, -1), a = e.input.charCodeAt(e.position), (e.line === i || e.lineIndent > n) && a !== 0)
844
+ if (i = e.line, de(e, n, vi, !1, !0), o.push(e.result), T(e, !0, -1), a = e.input.charCodeAt(e.position), (e.line === i || e.lineIndent > n) && a !== 0)
845
845
  _(e, "bad indentation of a sequence entry");
846
846
  else if (e.lineIndent < n)
847
847
  break;
848
848
  }
849
849
  return u ? (e.tag = r, e.anchor = l, e.kind = "sequence", e.result = o, !0) : !1;
850
850
  }
851
- function Er(e, n, i) {
851
+ function Ir(e, n, i) {
852
852
  var r, l, o, t, u, a, s = e.tag, m = e.anchor, d = {}, y = /* @__PURE__ */ Object.create(null), b = null, p = null, h = null, x = !1, w = !1, g;
853
853
  if (e.firstTabInLine !== -1) return !1;
854
854
  for (e.anchor !== null && (e.anchorMap[e.anchor] = d), g = e.input.charCodeAt(e.position); g !== 0; ) {
855
855
  if (!x && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, _(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), o = e.line, (g === 63 || g === 58) && U(r))
856
- g === 63 ? (x && (ce(e, d, y, b, p, null, t, u, a), b = p = h = null), w = !0, x = !0, l = !0) : x ? (x = !1, l = !0) : _(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, g = r;
856
+ g === 63 ? (x && (fe(e, d, y, b, p, null, t, u, a), b = p = h = null), w = !0, x = !0, l = !0) : x ? (x = !1, l = !0) : _(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, g = r;
857
857
  else {
858
- if (t = e.line, u = e.lineStart, a = e.position, !fe(e, i, hi, !1, !0))
858
+ if (t = e.line, u = e.lineStart, a = e.position, !de(e, i, hi, !1, !0))
859
859
  break;
860
860
  if (e.line === o) {
861
- for (g = e.input.charCodeAt(e.position); le(g); )
861
+ for (g = e.input.charCodeAt(e.position); re(g); )
862
862
  g = e.input.charCodeAt(++e.position);
863
863
  if (g === 58)
864
- g = e.input.charCodeAt(++e.position), U(g) || _(e, "a whitespace character is expected after the key-value separator within a block mapping"), x && (ce(e, d, y, b, p, null, t, u, a), b = p = h = null), w = !0, x = !1, l = !1, b = e.tag, p = e.result;
864
+ g = e.input.charCodeAt(++e.position), U(g) || _(e, "a whitespace character is expected after the key-value separator within a block mapping"), x && (fe(e, d, y, b, p, null, t, u, a), b = p = h = null), w = !0, x = !1, l = !1, b = e.tag, p = e.result;
865
865
  else if (w)
866
866
  _(e, "can not read an implicit mapping pair; a colon is missed");
867
867
  else
@@ -871,14 +871,14 @@ function Er(e, n, i) {
871
871
  else
872
872
  return e.tag = s, e.anchor = m, !0;
873
873
  }
874
- if ((e.line === o || e.lineIndent > n) && (x && (t = e.line, u = e.lineStart, a = e.position), fe(e, n, Le, !0, l) && (x ? p = e.result : h = e.result), x || (ce(e, d, y, b, p, h, t, u, a), b = p = h = null), T(e, !0, -1), g = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > n) && g !== 0)
874
+ if ((e.line === o || e.lineIndent > n) && (x && (t = e.line, u = e.lineStart, a = e.position), de(e, n, Le, !0, l) && (x ? p = e.result : h = e.result), x || (fe(e, d, y, b, p, h, t, u, a), b = p = h = null), T(e, !0, -1), g = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > n) && g !== 0)
875
875
  _(e, "bad indentation of a mapping entry");
876
876
  else if (e.lineIndent < n)
877
877
  break;
878
878
  }
879
- return x && ce(e, d, y, b, p, null, t, u, a), w && (e.tag = s, e.anchor = m, e.kind = "mapping", e.result = d), w;
879
+ return x && fe(e, d, y, b, p, null, t, u, a), w && (e.tag = s, e.anchor = m, e.kind = "mapping", e.result = d), w;
880
880
  }
881
- function Fr(e) {
881
+ function Or(e) {
882
882
  var n, i = !1, r = !1, l, o, t;
883
883
  if (t = e.input.charCodeAt(e.position), t !== 33) return !1;
884
884
  if (e.tag !== null && _(e, "duplication of a tag property"), t = e.input.charCodeAt(++e.position), t === 60 ? (i = !0, t = e.input.charCodeAt(++e.position)) : t === 33 ? (r = !0, l = "!!", t = e.input.charCodeAt(++e.position)) : l = "!", n = e.position, i) {
@@ -889,7 +889,7 @@ function Fr(e) {
889
889
  } else {
890
890
  for (; t !== 0 && !U(t); )
891
891
  t === 33 && (r ? _(e, "tag suffix cannot contain exclamation marks") : (l = e.input.slice(n - 1, e.position + 1), xi.test(l) || _(e, "named tag handle cannot contain such characters"), r = !0, n = e.position + 1)), t = e.input.charCodeAt(++e.position);
892
- o = e.input.slice(n, e.position), vr.test(o) && _(e, "tag suffix cannot contain flow indicator characters");
892
+ o = e.input.slice(n, e.position), gr.test(o) && _(e, "tag suffix cannot contain flow indicator characters");
893
893
  }
894
894
  o && !yi.test(o) && _(e, "tag name cannot contain such characters: " + o);
895
895
  try {
@@ -899,26 +899,26 @@ function Fr(e) {
899
899
  }
900
900
  return i ? e.tag = o : X.call(e.tagMap, l) ? e.tag = e.tagMap[l] + o : l === "!" ? e.tag = "!" + o : l === "!!" ? e.tag = "tag:yaml.org,2002:" + o : _(e, 'undeclared tag handle "' + l + '"'), !0;
901
901
  }
902
- function Tr(e) {
902
+ function Lr(e) {
903
903
  var n, i;
904
904
  if (i = e.input.charCodeAt(e.position), i !== 38) return !1;
905
- for (e.anchor !== null && _(e, "duplication of an anchor property"), i = e.input.charCodeAt(++e.position), n = e.position; i !== 0 && !U(i) && !se(i); )
905
+ for (e.anchor !== null && _(e, "duplication of an anchor property"), i = e.input.charCodeAt(++e.position), n = e.position; i !== 0 && !U(i) && !ce(i); )
906
906
  i = e.input.charCodeAt(++e.position);
907
907
  return e.position === n && _(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
908
908
  }
909
- function Ir(e) {
909
+ function Nr(e) {
910
910
  var n, i, r;
911
911
  if (r = e.input.charCodeAt(e.position), r !== 42) return !1;
912
- for (r = e.input.charCodeAt(++e.position), n = e.position; r !== 0 && !U(r) && !se(r); )
912
+ for (r = e.input.charCodeAt(++e.position), n = e.position; r !== 0 && !U(r) && !ce(r); )
913
913
  r = e.input.charCodeAt(++e.position);
914
914
  return e.position === n && _(e, "name of an alias node must contain at least one character"), i = e.input.slice(n, e.position), X.call(e.anchorMap, i) || _(e, 'unidentified alias "' + i + '"'), e.result = e.anchorMap[i], T(e, !0, -1), !0;
915
915
  }
916
- function fe(e, n, i, r, l) {
916
+ function de(e, n, i, r, l) {
917
917
  var o, t, u, a = 1, s = !1, m = !1, d, y, b, p, h, x;
918
918
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = t = u = Le === i || vi === i, r && T(e, !0, -1) && (s = !0, e.lineIndent > n ? a = 1 : e.lineIndent === n ? a = 0 : e.lineIndent < n && (a = -1)), a === 1)
919
- for (; Fr(e) || Tr(e); )
919
+ for (; Or(e) || Lr(e); )
920
920
  T(e, !0, -1) ? (s = !0, u = o, e.lineIndent > n ? a = 1 : e.lineIndent === n ? a = 0 : e.lineIndent < n && (a = -1)) : u = !1;
921
- if (u && (u = s || l), (a === 1 || Le === i) && (Oe === i || hi === i ? h = n : h = n + 1, x = e.position - e.lineStart, a === 1 ? u && (Ln(e, x) || Er(e, x, h)) || Cr(e, h) ? m = !0 : (t && Sr(e, h) || Ar(e, h) || kr(e, h) ? m = !0 : Ir(e) ? (m = !0, (e.tag !== null || e.anchor !== null) && _(e, "alias node should not have any properties")) : wr(e, h, Oe === i) && (m = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : a === 0 && (m = u && Ln(e, x))), e.tag === null)
921
+ if (u && (u = s || l), (a === 1 || Le === i) && (Oe === i || hi === i ? h = n : h = n + 1, x = e.position - e.lineStart, a === 1 ? u && (Ln(e, x) || Ir(e, x, h)) || Fr(e, h) ? m = !0 : (t && Tr(e, h) || Sr(e, h) || Er(e, h) ? m = !0 : Nr(e) ? (m = !0, (e.tag !== null || e.anchor !== null) && _(e, "alias node should not have any properties")) : Cr(e, h, Oe === i) && (m = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : a === 0 && (m = u && Ln(e, x))), e.tag === null)
922
922
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
923
923
  else if (e.tag === "?") {
924
924
  for (e.result !== null && e.kind !== "scalar" && _(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), d = 0, y = e.implicitTypes.length; d < y; d += 1)
@@ -939,13 +939,13 @@ function fe(e, n, i, r, l) {
939
939
  }
940
940
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || m;
941
941
  }
942
- function Or(e) {
942
+ function Mr(e) {
943
943
  var n = e.position, i, r, l, o = !1, t;
944
944
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (t = e.input.charCodeAt(e.position)) !== 0 && (T(e, !0, -1), t = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || t !== 37)); ) {
945
945
  for (o = !0, t = e.input.charCodeAt(++e.position), i = e.position; t !== 0 && !U(t); )
946
946
  t = e.input.charCodeAt(++e.position);
947
947
  for (r = e.input.slice(i, e.position), l = [], r.length < 1 && _(e, "directive name must not be less than one character in length"); t !== 0; ) {
948
- for (; le(t); )
948
+ for (; re(t); )
949
949
  t = e.input.charCodeAt(++e.position);
950
950
  if (t === 35) {
951
951
  do
@@ -960,7 +960,7 @@ function Or(e) {
960
960
  }
961
961
  t !== 0 && un(e), X.call(In, r) ? In[r](e, r, l) : Ne(e, 'unknown document directive "' + r + '"');
962
962
  }
963
- if (T(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, T(e, !0, -1)) : o && _(e, "directives end mark is expected"), fe(e, e.lineIndent - 1, Le, !1, !0), T(e, !0, -1), e.checkLineBreaks && hr.test(e.input.slice(n, e.position)) && Ne(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && je(e)) {
963
+ if (T(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, T(e, !0, -1)) : o && _(e, "directives end mark is expected"), de(e, e.lineIndent - 1, Le, !1, !0), T(e, !0, -1), e.checkLineBreaks && yr.test(e.input.slice(n, e.position)) && Ne(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && je(e)) {
964
964
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, T(e, !0, -1));
965
965
  return;
966
966
  }
@@ -972,14 +972,14 @@ function Or(e) {
972
972
  function Ai(e, n) {
973
973
  e = String(e), n = n || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
974
974
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
975
- var i = new _r(e, n), r = e.indexOf("\0");
975
+ var i = new kr(e, n), r = e.indexOf("\0");
976
976
  for (r !== -1 && (i.position = r, _(i, "null byte is not allowed in input")), i.input += "\0"; i.input.charCodeAt(i.position) === 32; )
977
977
  i.lineIndent += 1, i.position += 1;
978
978
  for (; i.position < i.length - 1; )
979
- Or(i);
979
+ Mr(i);
980
980
  return i.documents;
981
981
  }
982
- function Lr(e, n, i) {
982
+ function Dr(e, n, i) {
983
983
  n !== null && typeof n == "object" && typeof i > "u" && (i = n, n = null);
984
984
  var r = Ai(e, i);
985
985
  if (typeof n != "function")
@@ -987,7 +987,7 @@ function Lr(e, n, i) {
987
987
  for (var l = 0, o = r.length; l < o; l += 1)
988
988
  n(r[l]);
989
989
  }
990
- function Nr(e, n) {
990
+ function Rr(e, n) {
991
991
  var i = Ai(e, n);
992
992
  if (i.length !== 0) {
993
993
  if (i.length === 1)
@@ -995,10 +995,10 @@ function Nr(e, n) {
995
995
  throw new $("expected a single document in the stream, but found more");
996
996
  }
997
997
  }
998
- var Mr = Lr, Dr = Nr, ki = {
999
- loadAll: Mr,
1000
- load: Dr
1001
- }, Ci = Object.prototype.toString, Si = Object.prototype.hasOwnProperty, sn = 65279, Rr = 9, ge = 10, $r = 13, jr = 32, Ur = 33, Br = 34, Ze = 35, Yr = 37, Pr = 38, Hr = 39, Vr = 42, Ei = 44, qr = 45, Me = 58, Kr = 61, zr = 62, Gr = 63, Qr = 64, Fi = 91, Ti = 93, Wr = 96, Ii = 123, Jr = 124, Oi = 125, R = {};
998
+ var $r = Dr, jr = Rr, ki = {
999
+ loadAll: $r,
1000
+ load: jr
1001
+ }, Ci = Object.prototype.toString, Si = Object.prototype.hasOwnProperty, sn = 65279, Ur = 9, ge = 10, Br = 13, Yr = 32, Pr = 33, Hr = 34, Ze = 35, Vr = 37, qr = 38, Kr = 39, zr = 42, Ei = 44, Gr = 45, Me = 58, Qr = 61, Wr = 62, Jr = 63, Zr = 64, Fi = 91, Ti = 93, Xr = 96, Ii = 123, et = 124, Oi = 125, R = {};
1002
1002
  R[0] = "\\0";
1003
1003
  R[7] = "\\a";
1004
1004
  R[8] = "\\b";
@@ -1014,7 +1014,7 @@ R[133] = "\\N";
1014
1014
  R[160] = "\\_";
1015
1015
  R[8232] = "\\L";
1016
1016
  R[8233] = "\\P";
1017
- var Zr = [
1017
+ var nt = [
1018
1018
  "y",
1019
1019
  "Y",
1020
1020
  "yes",
@@ -1031,15 +1031,15 @@ var Zr = [
1031
1031
  "off",
1032
1032
  "Off",
1033
1033
  "OFF"
1034
- ], Xr = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
1035
- function et(e, n) {
1034
+ ], it = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
1035
+ function lt(e, n) {
1036
1036
  var i, r, l, o, t, u, a;
1037
1037
  if (n === null) return {};
1038
1038
  for (i = {}, r = Object.keys(n), l = 0, o = r.length; l < o; l += 1)
1039
1039
  t = r[l], u = String(n[t]), t.slice(0, 2) === "!!" && (t = "tag:yaml.org,2002:" + t.slice(2)), a = e.compiledTypeMap.fallback[t], a && Si.call(a.styleAliases, u) && (u = a.styleAliases[u]), i[t] = u;
1040
1040
  return i;
1041
1041
  }
1042
- function nt(e) {
1042
+ function rt(e) {
1043
1043
  var n, i, r;
1044
1044
  if (n = e.toString(16).toUpperCase(), e <= 255)
1045
1045
  i = "x", r = 2;
@@ -1051,9 +1051,9 @@ function nt(e) {
1051
1051
  throw new $("code point within a string may not be greater than 0xFFFFFFFF");
1052
1052
  return "\\" + i + O.repeat("0", r - n.length) + n;
1053
1053
  }
1054
- var it = 1, be = 2;
1055
- function lt(e) {
1056
- this.schema = e.schema || on, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = O.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = et(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? be : it, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
1054
+ var tt = 1, be = 2;
1055
+ function ot(e) {
1056
+ this.schema = e.schema || on, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = O.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = lt(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? be : tt, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
1057
1057
  }
1058
1058
  function Nn(e, n) {
1059
1059
  for (var i = O.repeat(" ", n), r = 0, l = -1, o = "", t, u = e.length; r < u; )
@@ -1066,7 +1066,7 @@ function Xe(e, n) {
1066
1066
  return `
1067
1067
  ` + O.repeat(" ", e.indent * n);
1068
1068
  }
1069
- function rt(e, n) {
1069
+ function ut(e, n) {
1070
1070
  var i, r, l;
1071
1071
  for (i = 0, r = e.implicitTypes.length; i < r; i += 1)
1072
1072
  if (l = e.implicitTypes[i], l.resolve(n))
@@ -1074,13 +1074,13 @@ function rt(e, n) {
1074
1074
  return !1;
1075
1075
  }
1076
1076
  function De(e) {
1077
- return e === jr || e === Rr;
1077
+ return e === Yr || e === Ur;
1078
1078
  }
1079
1079
  function _e(e) {
1080
1080
  return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== sn || 65536 <= e && e <= 1114111;
1081
1081
  }
1082
1082
  function Mn(e) {
1083
- return _e(e) && e !== sn && e !== $r && e !== ge;
1083
+ return _e(e) && e !== sn && e !== Br && e !== ge;
1084
1084
  }
1085
1085
  function Dn(e, n, i) {
1086
1086
  var r = Mn(e), l = r && !De(e);
@@ -1092,13 +1092,13 @@ function Dn(e, n, i) {
1092
1092
  ) : r && e !== Ei && e !== Fi && e !== Ti && e !== Ii && e !== Oi) && e !== Ze && !(n === Me && !l) || Mn(n) && !De(n) && e === Ze || n === Me && l
1093
1093
  );
1094
1094
  }
1095
- function tt(e) {
1096
- return _e(e) && e !== sn && !De(e) && e !== qr && e !== Gr && e !== Me && e !== Ei && e !== Fi && e !== Ti && e !== Ii && e !== Oi && e !== Ze && e !== Pr && e !== Vr && e !== Ur && e !== Jr && e !== Kr && e !== zr && e !== Hr && e !== Br && e !== Yr && e !== Qr && e !== Wr;
1095
+ function at(e) {
1096
+ return _e(e) && e !== sn && !De(e) && e !== Gr && e !== Jr && e !== Me && e !== Ei && e !== Fi && e !== Ti && e !== Ii && e !== Oi && e !== Ze && e !== qr && e !== zr && e !== Pr && e !== et && e !== Qr && e !== Wr && e !== Kr && e !== Hr && e !== Vr && e !== Zr && e !== Xr;
1097
1097
  }
1098
- function ot(e) {
1098
+ function st(e) {
1099
1099
  return !De(e) && e !== Me;
1100
1100
  }
1101
- function me(e, n) {
1101
+ function he(e, n) {
1102
1102
  var i = e.charCodeAt(n), r;
1103
1103
  return i >= 55296 && i <= 56319 && n + 1 < e.length && (r = e.charCodeAt(n + 1), r >= 56320 && r <= 57343) ? (i - 55296) * 1024 + r - 56320 + 65536 : i;
1104
1104
  }
@@ -1106,39 +1106,39 @@ function Li(e) {
1106
1106
  var n = /^\n* /;
1107
1107
  return n.test(e);
1108
1108
  }
1109
- var Ni = 1, en = 2, Mi = 3, Di = 4, ae = 5;
1110
- function ut(e, n, i, r, l, o, t, u) {
1111
- var a, s = 0, m = null, d = !1, y = !1, b = r !== -1, p = -1, h = tt(me(e, 0)) && ot(me(e, e.length - 1));
1109
+ var Ni = 1, en = 2, Mi = 3, Di = 4, se = 5;
1110
+ function ct(e, n, i, r, l, o, t, u) {
1111
+ var a, s = 0, m = null, d = !1, y = !1, b = r !== -1, p = -1, h = at(he(e, 0)) && st(he(e, e.length - 1));
1112
1112
  if (n || t)
1113
1113
  for (a = 0; a < e.length; s >= 65536 ? a += 2 : a++) {
1114
- if (s = me(e, a), !_e(s))
1115
- return ae;
1114
+ if (s = he(e, a), !_e(s))
1115
+ return se;
1116
1116
  h = h && Dn(s, m, u), m = s;
1117
1117
  }
1118
1118
  else {
1119
1119
  for (a = 0; a < e.length; s >= 65536 ? a += 2 : a++) {
1120
- if (s = me(e, a), s === ge)
1120
+ if (s = he(e, a), s === ge)
1121
1121
  d = !0, b && (y = y || // Foldable line = too long, and not more-indented.
1122
1122
  a - p - 1 > r && e[p + 1] !== " ", p = a);
1123
1123
  else if (!_e(s))
1124
- return ae;
1124
+ return se;
1125
1125
  h = h && Dn(s, m, u), m = s;
1126
1126
  }
1127
1127
  y = y || b && a - p - 1 > r && e[p + 1] !== " ";
1128
1128
  }
1129
- return !d && !y ? h && !t && !l(e) ? Ni : o === be ? ae : en : i > 9 && Li(e) ? ae : t ? o === be ? ae : en : y ? Di : Mi;
1129
+ return !d && !y ? h && !t && !l(e) ? Ni : o === be ? se : en : i > 9 && Li(e) ? se : t ? o === be ? se : en : y ? Di : Mi;
1130
1130
  }
1131
- function at(e, n, i, r, l) {
1131
+ function ft(e, n, i, r, l) {
1132
1132
  e.dump = (function() {
1133
1133
  if (n.length === 0)
1134
1134
  return e.quotingType === be ? '""' : "''";
1135
- if (!e.noCompatMode && (Zr.indexOf(n) !== -1 || Xr.test(n)))
1135
+ if (!e.noCompatMode && (nt.indexOf(n) !== -1 || it.test(n)))
1136
1136
  return e.quotingType === be ? '"' + n + '"' : "'" + n + "'";
1137
1137
  var o = e.indent * Math.max(1, i), t = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), u = r || e.flowLevel > -1 && i >= e.flowLevel;
1138
1138
  function a(s) {
1139
- return rt(e, s);
1139
+ return ut(e, s);
1140
1140
  }
1141
- switch (ut(
1141
+ switch (ct(
1142
1142
  n,
1143
1143
  u,
1144
1144
  e.indent,
@@ -1155,9 +1155,9 @@ function at(e, n, i, r, l) {
1155
1155
  case Mi:
1156
1156
  return "|" + Rn(n, e.indent) + $n(Nn(n, o));
1157
1157
  case Di:
1158
- return ">" + Rn(n, e.indent) + $n(Nn(st(n, t), o));
1159
- case ae:
1160
- return '"' + ct(n) + '"';
1158
+ return ">" + Rn(n, e.indent) + $n(Nn(dt(n, t), o));
1159
+ case se:
1160
+ return '"' + pt(n) + '"';
1161
1161
  default:
1162
1162
  throw new $("impossible error: invalid scalar style");
1163
1163
  }
@@ -1175,7 +1175,7 @@ function $n(e) {
1175
1175
  return e[e.length - 1] === `
1176
1176
  ` ? e.slice(0, -1) : e;
1177
1177
  }
1178
- function st(e, n) {
1178
+ function dt(e, n) {
1179
1179
  for (var i = /(\n+)([^\n]*)/g, r = (function() {
1180
1180
  var s = e.indexOf(`
1181
1181
  `);
@@ -1197,12 +1197,12 @@ function jn(e, n) {
1197
1197
  `, e.length - l > n && t > l ? a += e.slice(l, t) + `
1198
1198
  ` + e.slice(t + 1) : a += e.slice(l), a.slice(1);
1199
1199
  }
1200
- function ct(e) {
1200
+ function pt(e) {
1201
1201
  for (var n = "", i = 0, r, l = 0; l < e.length; i >= 65536 ? l += 2 : l++)
1202
- i = me(e, l), r = R[i], !r && _e(i) ? (n += e[l], i >= 65536 && (n += e[l + 1])) : n += r || nt(i);
1202
+ i = he(e, l), r = R[i], !r && _e(i) ? (n += e[l], i >= 65536 && (n += e[l + 1])) : n += r || rt(i);
1203
1203
  return n;
1204
1204
  }
1205
- function ft(e, n, i) {
1205
+ function mt(e, n, i) {
1206
1206
  var r = "", l = e.tag, o, t, u;
1207
1207
  for (o = 0, t = i.length; o < t; o += 1)
1208
1208
  u = i[o], e.replacer && (u = e.replacer.call(i, String(o), u)), (W(e, n, u, !1, !1) || typeof u > "u" && W(e, n, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
@@ -1214,13 +1214,13 @@ function Un(e, n, i, r) {
1214
1214
  a = i[t], e.replacer && (a = e.replacer.call(i, String(t), a)), (W(e, n + 1, a, !0, !0, !1, !0) || typeof a > "u" && W(e, n + 1, null, !0, !0, !1, !0)) && ((!r || l !== "") && (l += Xe(e, n)), e.dump && ge === e.dump.charCodeAt(0) ? l += "-" : l += "- ", l += e.dump);
1215
1215
  e.tag = o, e.dump = l || "[]";
1216
1216
  }
1217
- function dt(e, n, i) {
1217
+ function ht(e, n, i) {
1218
1218
  var r = "", l = e.tag, o = Object.keys(i), t, u, a, s, m;
1219
1219
  for (t = 0, u = o.length; t < u; t += 1)
1220
1220
  m = "", r !== "" && (m += ", "), e.condenseFlow && (m += '"'), a = o[t], s = i[a], e.replacer && (s = e.replacer.call(i, a, s)), W(e, n, a, !1, !1) && (e.dump.length > 1024 && (m += "? "), m += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), W(e, n, s, !1, !1) && (m += e.dump, r += m));
1221
1221
  e.tag = l, e.dump = "{" + r + "}";
1222
1222
  }
1223
- function pt(e, n, i, r) {
1223
+ function vt(e, n, i, r) {
1224
1224
  var l = "", o = e.tag, t = Object.keys(i), u, a, s, m, d, y;
1225
1225
  if (e.sortKeys === !0)
1226
1226
  t.sort();
@@ -1258,11 +1258,11 @@ function W(e, n, i, r, l, o, t) {
1258
1258
  e.dump = "*ref_" + d;
1259
1259
  else {
1260
1260
  if (m && y && !e.usedDuplicates[d] && (e.usedDuplicates[d] = !0), u === "[object Object]")
1261
- r && Object.keys(e.dump).length !== 0 ? (pt(e, n, e.dump, l), y && (e.dump = "&ref_" + d + e.dump)) : (dt(e, n, e.dump), y && (e.dump = "&ref_" + d + " " + e.dump));
1261
+ r && Object.keys(e.dump).length !== 0 ? (vt(e, n, e.dump, l), y && (e.dump = "&ref_" + d + e.dump)) : (ht(e, n, e.dump), y && (e.dump = "&ref_" + d + " " + e.dump));
1262
1262
  else if (u === "[object Array]")
1263
- r && e.dump.length !== 0 ? (e.noArrayIndent && !t && n > 0 ? Un(e, n - 1, e.dump, l) : Un(e, n, e.dump, l), y && (e.dump = "&ref_" + d + e.dump)) : (ft(e, n, e.dump), y && (e.dump = "&ref_" + d + " " + e.dump));
1263
+ r && e.dump.length !== 0 ? (e.noArrayIndent && !t && n > 0 ? Un(e, n - 1, e.dump, l) : Un(e, n, e.dump, l), y && (e.dump = "&ref_" + d + e.dump)) : (mt(e, n, e.dump), y && (e.dump = "&ref_" + d + " " + e.dump));
1264
1264
  else if (u === "[object String]")
1265
- e.tag !== "?" && at(e, e.dump, n, o, a);
1265
+ e.tag !== "?" && ft(e, e.dump, n, o, a);
1266
1266
  else {
1267
1267
  if (u === "[object Undefined]")
1268
1268
  return !1;
@@ -1275,7 +1275,7 @@ function W(e, n, i, r, l, o, t) {
1275
1275
  }
1276
1276
  return !0;
1277
1277
  }
1278
- function mt(e, n) {
1278
+ function xt(e, n) {
1279
1279
  var i = [], r = [], l, o;
1280
1280
  for (nn(e, i, r), l = 0, o = r.length; l < o; l += 1)
1281
1281
  n.duplicates.push(i[r[l]]);
@@ -1293,23 +1293,23 @@ function nn(e, n, i) {
1293
1293
  for (r = Object.keys(e), l = 0, o = r.length; l < o; l += 1)
1294
1294
  nn(e[r[l]], n, i);
1295
1295
  }
1296
- function ht(e, n) {
1296
+ function yt(e, n) {
1297
1297
  n = n || {};
1298
- var i = new lt(n);
1299
- i.noRefs || mt(e, i);
1298
+ var i = new ot(n);
1299
+ i.noRefs || xt(e, i);
1300
1300
  var r = e;
1301
1301
  return i.replacer && (r = i.replacer.call({ "": r }, "", r)), W(i, 0, r, !0, !0) ? i.dump + `
1302
1302
  ` : "";
1303
1303
  }
1304
- var vt = ht, xt = {
1305
- dump: vt
1304
+ var gt = yt, bt = {
1305
+ dump: gt
1306
1306
  };
1307
1307
  function cn(e, n) {
1308
1308
  return function() {
1309
1309
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + n + " instead, which is now safe by default.");
1310
1310
  };
1311
1311
  }
1312
- var yt = N, gt = Wn, bt = ei, _t = ti, wt = oi, At = on, Ri = ki.load, kt = ki.loadAll, $i = xt.dump, Ct = $, St = {
1312
+ var _t = N, wt = Wn, At = ei, kt = ti, Ct = oi, St = on, Ri = ki.load, Et = ki.loadAll, $i = bt.dump, Ft = $, Tt = {
1313
1313
  binary: fi,
1314
1314
  float: ri,
1315
1315
  map: Xn,
@@ -1323,23 +1323,23 @@ var yt = N, gt = Wn, bt = ei, _t = ti, wt = oi, At = on, Ri = ki.load, kt = ki.l
1323
1323
  omap: di,
1324
1324
  seq: Zn,
1325
1325
  str: Jn
1326
- }, Et = cn("safeLoad", "load"), Ft = cn("safeLoadAll", "loadAll"), Tt = cn("safeDump", "dump"), Yn = {
1327
- Type: yt,
1328
- Schema: gt,
1329
- FAILSAFE_SCHEMA: bt,
1330
- JSON_SCHEMA: _t,
1331
- CORE_SCHEMA: wt,
1332
- DEFAULT_SCHEMA: At,
1326
+ }, It = cn("safeLoad", "load"), Ot = cn("safeLoadAll", "loadAll"), Lt = cn("safeDump", "dump"), Yn = {
1327
+ Type: _t,
1328
+ Schema: wt,
1329
+ FAILSAFE_SCHEMA: At,
1330
+ JSON_SCHEMA: kt,
1331
+ CORE_SCHEMA: Ct,
1332
+ DEFAULT_SCHEMA: St,
1333
1333
  load: Ri,
1334
- loadAll: kt,
1334
+ loadAll: Et,
1335
1335
  dump: $i,
1336
- YAMLException: Ct,
1337
- types: St,
1338
- safeLoad: Et,
1339
- safeLoadAll: Ft,
1340
- safeDump: Tt
1336
+ YAMLException: Ft,
1337
+ types: Tt,
1338
+ safeLoad: It,
1339
+ safeLoadAll: Ot,
1340
+ safeDump: Lt
1341
1341
  };
1342
- const It = {}, Ot = {
1342
+ const Nt = {}, Mt = {
1343
1343
  xmlns: "http://www.w3.org/2000/svg",
1344
1344
  width: "24",
1345
1345
  height: "24",
@@ -1351,14 +1351,14 @@ const It = {}, Ot = {
1351
1351
  "stroke-linejoin": "round",
1352
1352
  class: "lucide lucide-layers"
1353
1353
  };
1354
- function Lt(e, n) {
1355
- return C(), D("svg", Ot, [...n[0] || (n[0] = [
1354
+ function Dt(e, n) {
1355
+ return C(), D("svg", Mt, [...n[0] || (n[0] = [
1356
1356
  v("path", { d: "m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z" }, null, -1),
1357
1357
  v("path", { d: "m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65" }, null, -1),
1358
1358
  v("path", { d: "m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65" }, null, -1)
1359
1359
  ])]);
1360
1360
  }
1361
- const Nt = /* @__PURE__ */ Re(It, [["render", Lt]]), Mt = {}, Dt = {
1361
+ const Rt = /* @__PURE__ */ Re(Nt, [["render", Dt]]), $t = {}, jt = {
1362
1362
  xmlns: "http://www.w3.org/2000/svg",
1363
1363
  width: "24",
1364
1364
  height: "24",
@@ -1370,14 +1370,14 @@ const Nt = /* @__PURE__ */ Re(It, [["render", Lt]]), Mt = {}, Dt = {
1370
1370
  "stroke-linejoin": "round",
1371
1371
  class: "lucide lucide-map"
1372
1372
  };
1373
- function Rt(e, n) {
1374
- return C(), D("svg", Dt, [...n[0] || (n[0] = [
1373
+ function Ut(e, n) {
1374
+ return C(), D("svg", jt, [...n[0] || (n[0] = [
1375
1375
  v("path", { d: "M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z" }, null, -1),
1376
1376
  v("path", { d: "M15 5.764v15" }, null, -1),
1377
1377
  v("path", { d: "M9 3.236v15" }, null, -1)
1378
1378
  ])]);
1379
1379
  }
1380
- const $t = /* @__PURE__ */ Re(Mt, [["render", Rt]]), jt = {}, Ut = {
1380
+ const Bt = /* @__PURE__ */ Re($t, [["render", Ut]]), Yt = {}, Pt = {
1381
1381
  xmlns: "http://www.w3.org/2000/svg",
1382
1382
  width: "24",
1383
1383
  height: "24",
@@ -1389,12 +1389,12 @@ const $t = /* @__PURE__ */ Re(Mt, [["render", Rt]]), jt = {}, Ut = {
1389
1389
  "stroke-linejoin": "round",
1390
1390
  class: "lucide lucide-filter"
1391
1391
  };
1392
- function Bt(e, n) {
1393
- return C(), D("svg", Ut, [...n[0] || (n[0] = [
1392
+ function Ht(e, n) {
1393
+ return C(), D("svg", Pt, [...n[0] || (n[0] = [
1394
1394
  v("polygon", { points: "22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3" }, null, -1)
1395
1395
  ])]);
1396
1396
  }
1397
- const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-col flex-1 overflow-hidden" }, Ht = { class: "flex justify-end gap-2" }, Vt = ["href"], qt = { class: "flex flex-col flex-1 overflow-hidden" }, Kt = { class: "bg-white rounded-xl border border-gray-200 shadow-sm overflow-hidden mt-3 flex flex-col flex-1" }, zt = { class: "relative bg-gradient-to-br from-slate-50 to-white flex-1" }, Gt = /* @__PURE__ */ ee({
1397
+ const Vt = /* @__PURE__ */ Re(Yt, [["render", Ht]]), qt = { class: "flex flex-col flex-1 overflow-hidden" }, Kt = { class: "flex justify-end gap-2" }, zt = ["href"], Gt = { class: "flex flex-col flex-1 overflow-hidden" }, Qt = { class: "bg-white rounded-xl border border-gray-200 shadow-sm overflow-hidden mt-3 flex flex-col flex-1" }, Wt = { class: "relative bg-gradient-to-br from-slate-50 to-white flex-1" }, Jt = /* @__PURE__ */ ee({
1398
1398
  __name: "vs-tab-style",
1399
1399
  props: {
1400
1400
  token: {},
@@ -1469,13 +1469,13 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
1469
1469
  }), console.log(s);
1470
1470
  }
1471
1471
  };
1472
- return (a, s) => (C(), D("div", Pt, [
1473
- v("div", Ht, [
1472
+ return (a, s) => (C(), D("div", qt, [
1473
+ v("div", Kt, [
1474
1474
  v("a", {
1475
1475
  target: "_blank",
1476
1476
  href: "/api/gis-service/" + i.token + "/col",
1477
1477
  class: "inline-flex items-center justify-center gap-1 px-3 py-1.5 rounded-md bg-sky-100 hover:bg-sky-200 text-sky-700 font-medium text-sm transition disabled:opacity-70 disabled:cursor-not-allowed"
1478
- }, " Атрибути ", 8, Vt),
1478
+ }, " Атрибути ", 8, zt),
1479
1479
  v("button", {
1480
1480
  onClick: u,
1481
1481
  class: "inline-flex items-center justify-center gap-1 px-3 py-1.5 rounded-md bg-sky-100 hover:bg-sky-200 text-sky-700 font-medium text-sm transition disabled:opacity-70 disabled:cursor-not-allowed"
@@ -1496,15 +1496,15 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
1496
1496
  v("path", { d: "M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7" }),
1497
1497
  v("path", { d: "M7 3v4a1 1 0 0 0 1 1h7" })
1498
1498
  ], -1),
1499
- qi(" Зберегти стилі ", -1)
1499
+ Gi(" Зберегти стилі ", -1)
1500
1500
  ])])
1501
1501
  ]),
1502
- v("div", qt, [
1503
- v("div", Kt, [
1502
+ v("div", Gt, [
1503
+ v("div", Qt, [
1504
1504
  s[2] || (s[2] = v("div", { class: "bg-gradient-to-r from-gray-50 to-gray-100 px-4 py-2 border-b border-gray-200 flex items-center justify-between" }, [
1505
1505
  v("div", { class: "text-xs text-gray-400" }, "YAML")
1506
1506
  ], -1)),
1507
- v("div", zt, [
1507
+ v("div", Wt, [
1508
1508
  j(zn, {
1509
1509
  modelValue: l.value,
1510
1510
  "onUpdate:modelValue": s[0] || (s[0] = (m) => l.value = m),
@@ -1516,7 +1516,7 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
1516
1516
  ])
1517
1517
  ]));
1518
1518
  }
1519
- }), Qt = { class: "flex flex-col flex-1 min-h-0" }, Wt = { class: "flex flex-col flex-1 min-h-0" }, Jt = /* @__PURE__ */ ee({
1519
+ }), Zt = { class: "flex flex-col flex-1 min-h-0" }, Xt = { class: "flex flex-col flex-1 min-h-0" }, eo = /* @__PURE__ */ ee({
1520
1520
  __name: "vs-tab-popup",
1521
1521
  props: {
1522
1522
  token: {},
@@ -1578,7 +1578,7 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
1578
1578
  let p = [];
1579
1579
  o.value === "all" ? p = i.fields || [] : o.value === "none" ? p = [] : p = l.value, p.filter((h) => !h.label).forEach((h) => h.label = h.ua), r("save", p);
1580
1580
  }
1581
- return (p, h) => (C(), D("div", Qt, [
1581
+ return (p, h) => (C(), D("div", Zt, [
1582
1582
  v("div", { class: "flex justify-between mb-3 gap-2" }, [
1583
1583
  v("button", {
1584
1584
  onClick: m,
@@ -1589,7 +1589,7 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
1589
1589
  class: "inline-flex items-center justify-center gap-1 px-3 py-1.5 rounded-md bg-sky-100 hover:bg-sky-200 text-sky-700 font-medium text-sm transition disabled:opacity-70 disabled:cursor-not-allowed"
1590
1590
  }, " Зберегти попап ")
1591
1591
  ]),
1592
- v("div", Wt, [
1592
+ v("div", Xt, [
1593
1593
  o.value === "list" ? (C(), M($e, {
1594
1594
  key: 0,
1595
1595
  modelValue: l.value,
@@ -1613,7 +1613,7 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
1613
1613
  }, null, 8, ["visible", "selection", "fields"])
1614
1614
  ]));
1615
1615
  }
1616
- }), Zt = { class: "flex flex-col flex-1 min-h-0" }, Xt = { class: "flex justify-between mb-3 gap-2" }, eo = { class: "p-4 space-y-4 text-sm" }, no = { class: "space-y-1" }, io = { class: "space-y-1" }, lo = { class: "flex items-center gap-3" }, ro = { class: "flex justify-end gap-2 p-4 border-t" }, to = /* @__PURE__ */ ee({
1616
+ }), no = { class: "flex flex-col flex-1 min-h-0" }, io = { class: "flex justify-between mb-3 gap-2" }, lo = { class: "p-4 space-y-4 text-sm" }, ro = { class: "space-y-1" }, to = { class: "space-y-1" }, oo = { class: "flex items-center gap-3" }, uo = { class: "flex justify-end gap-2 p-4 border-t" }, ao = /* @__PURE__ */ ee({
1617
1617
  __name: "vs-tab-legend",
1618
1618
  props: {
1619
1619
  mapInfo: {},
@@ -1634,7 +1634,7 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
1634
1634
  const o = S(!1), t = S({
1635
1635
  name: "",
1636
1636
  color: "#2E86DE"
1637
- }), u = Ki(
1637
+ }), u = Qi(
1638
1638
  () => import("@opengis/core").then((p) => p.VsModal)
1639
1639
  ), a = [
1640
1640
  { key: "name", label: "Назва" },
@@ -1676,8 +1676,8 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
1676
1676
  function b() {
1677
1677
  r("save", l.value);
1678
1678
  }
1679
- return (p, h) => (C(), D("div", Zt, [
1680
- v("div", Xt, [
1679
+ return (p, h) => (C(), D("div", no, [
1680
+ v("div", io, [
1681
1681
  v("button", {
1682
1682
  onClick: h[0] || (h[0] = (x) => o.value = !0),
1683
1683
  class: "inline-flex items-center justify-center gap-1 px-3 py-1.5 rounded-md bg-sky-100 hover:bg-sky-200 text-sky-700 font-medium text-sm transition disabled:opacity-70 disabled:cursor-not-allowed"
@@ -1695,14 +1695,14 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
1695
1695
  "main-col-width": "250px",
1696
1696
  "add-button": !1
1697
1697
  }, null, 8, ["modelValue"]),
1698
- j(ve(u), {
1698
+ j(Te(u), {
1699
1699
  teleport: "#modal",
1700
1700
  visible: o.value,
1701
1701
  title: "Новий елемент легенди",
1702
1702
  "onUpdate:visible": m
1703
1703
  }, {
1704
1704
  footer: We(() => [
1705
- v("div", ro, [
1705
+ v("div", uo, [
1706
1706
  v("button", {
1707
1707
  type: "button",
1708
1708
  class: "inline-flex items-center justify-center gap-1 px-3 py-1.5 rounded-md bg-sky-100 hover:bg-sky-200 text-sky-700 font-medium text-sm transition disabled:opacity-70 disabled:cursor-not-allowed",
@@ -1716,8 +1716,8 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
1716
1716
  ])
1717
1717
  ]),
1718
1718
  default: We(() => [
1719
- v("div", eo, [
1720
- v("div", no, [
1719
+ v("div", lo, [
1720
+ v("div", ro, [
1721
1721
  h[6] || (h[6] = v("label", { class: "block text-xs font-medium text-gray-500 uppercase tracking-wide" }, " Назва ", -1)),
1722
1722
  qe(v("input", {
1723
1723
  "onUpdate:modelValue": h[2] || (h[2] = (x) => t.value.name = x),
@@ -1728,9 +1728,9 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
1728
1728
  [Ke, t.value.name]
1729
1729
  ])
1730
1730
  ]),
1731
- v("div", io, [
1731
+ v("div", to, [
1732
1732
  h[7] || (h[7] = v("label", { class: "block text-xs font-medium text-gray-500 uppercase tracking-wide" }, " Колір ", -1)),
1733
- v("div", lo, [
1733
+ v("div", oo, [
1734
1734
  qe(v("input", {
1735
1735
  "onUpdate:modelValue": h[3] || (h[3] = (x) => t.value.color = x),
1736
1736
  type: "color",
@@ -1754,7 +1754,7 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
1754
1754
  }, 8, ["visible"])
1755
1755
  ]));
1756
1756
  }
1757
- }), oo = { class: "space-y-3 bg-gradient-to-br from-sky-50 to-blue-50 p-4 rounded-xl border border-sky-100 shadow-sm" }, uo = ["onClick"], ao = ["aria-checked", "value"], so = { key: 0 }, co = /* @__PURE__ */ ee({
1757
+ }), so = { class: "space-y-3 bg-gradient-to-br from-sky-50 to-blue-50 p-4 rounded-xl border border-sky-100 shadow-sm" }, co = ["onClick"], fo = ["aria-checked", "value"], po = { key: 0 }, mo = /* @__PURE__ */ ee({
1758
1758
  __name: "view-mode-toggle",
1759
1759
  props: {
1760
1760
  modelValue: {},
@@ -1768,16 +1768,16 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
1768
1768
  { value: "list", label: "List" },
1769
1769
  { value: "none", label: "None" }
1770
1770
  ];
1771
- return (t, u) => (C(), D("div", oo, [
1771
+ return (t, u) => (C(), D("div", so, [
1772
1772
  u[1] || (u[1] = v("label", { class: "text-sm font-medium text-gray-600" }, "Режим відображення", -1)),
1773
1773
  v("div", {
1774
1774
  role: "radiogroup",
1775
- class: he(["grid gap-2", `grid-cols-${ve(o).length}`])
1775
+ class: ve(["grid gap-2", `grid-cols-${Te(o).length}`])
1776
1776
  }, [
1777
- (C(!0), D(Hn, null, Vn(ve(o), (a) => (C(), D("div", {
1777
+ (C(!0), D(Hn, null, Vn(Te(o), (a) => (C(), D("div", {
1778
1778
  key: a.value,
1779
1779
  onClick: (s) => l(a.value),
1780
- class: he(["flex items-center justify-center space-x-2 rounded-lg p-2 border transition-all duration-300 cursor-pointer", [
1780
+ class: ve(["flex items-center justify-center space-x-2 rounded-lg p-2 border transition-all duration-300 cursor-pointer", [
1781
1781
  e.modelValue === a.value ? "bg-gradient-to-r from-sky-200 to-blue-200 border-transparent shadow-sm" : "bg-white border-gray-100 hover:border-sky-200 hover:shadow-sm"
1782
1782
  ]])
1783
1783
  }, [
@@ -1788,7 +1788,7 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
1788
1788
  value: a.value,
1789
1789
  class: "aspect-square rounded-full border border-primary h-4 w-4 flex items-center justify-center text-sky-500"
1790
1790
  }, [
1791
- e.modelValue === a.value ? (C(), D("span", so, [...u[0] || (u[0] = [
1791
+ e.modelValue === a.value ? (C(), D("span", po, [...u[0] || (u[0] = [
1792
1792
  v("svg", {
1793
1793
  xmlns: "http://www.w3.org/2000/svg",
1794
1794
  viewBox: "0 0 24 24",
@@ -1806,15 +1806,15 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
1806
1806
  })
1807
1807
  ], -1)
1808
1808
  ])])) : q("", !0)
1809
- ], 8, ao),
1809
+ ], 8, fo),
1810
1810
  v("label", {
1811
- class: he(["text-xs font-medium cursor-pointer", e.modelValue === a.value ? "text-gray-700" : "text-gray-600"])
1812
- }, ue(a.label), 3)
1813
- ], 10, uo))), 128))
1811
+ class: ve(["text-xs font-medium cursor-pointer", e.modelValue === a.value ? "text-gray-700" : "text-gray-600"])
1812
+ }, le(a.label), 3)
1813
+ ], 10, co))), 128))
1814
1814
  ], 2)
1815
1815
  ]));
1816
1816
  }
1817
- }), fo = { class: "flex flex-col flex-1 min-h-0" }, po = { class: "flex flex-col flex-1 min-h-0" }, mo = /* @__PURE__ */ ee({
1817
+ }), ho = { class: "flex flex-col flex-1 min-h-0" }, vo = { class: "flex flex-col flex-1 min-h-0" }, xo = /* @__PURE__ */ ee({
1818
1818
  __name: "vs-tab-card",
1819
1819
  props: {
1820
1820
  fields: {},
@@ -1900,10 +1900,10 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
1900
1900
  function y() {
1901
1901
  var K;
1902
1902
  const x = [...l.value], w = ((K = i.fields) == null ? void 0 : K.filter((V) => a.value.includes(V.name)).map((V) => {
1903
- const { type: de, format: re, ...B } = V;
1903
+ const { type: pe, format: te, ...B } = V;
1904
1904
  return {
1905
1905
  ...B,
1906
- format: re ?? de ?? "text"
1906
+ format: te ?? pe ?? "text"
1907
1907
  };
1908
1908
  })) || [], g = rn(x, w, {
1909
1909
  selectedKeys: a.value,
@@ -1911,12 +1911,12 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
1911
1911
  });
1912
1912
  if (l.value = g, o.value === "html" && w.length) {
1913
1913
  const V = w.map((B) => {
1914
- const pe = B.label ?? "", te = B.name ?? B.id ?? "";
1915
- return `<dd>${pe}</dd>
1916
- <dt>{{ ${te} }}</dt>`;
1914
+ const me = B.label ?? "", oe = B.name ?? B.id ?? "";
1915
+ return `<dd>${me}</dd>
1916
+ <dt>{{ ${oe} }}</dt>`;
1917
1917
  }).join(`
1918
- `), re = (t.value ?? "").trimEnd();
1919
- t.value = re ? `${re}
1918
+ `), te = (t.value ?? "").trimEnd();
1919
+ t.value = te ? `${te}
1920
1920
  ${V}` : V;
1921
1921
  }
1922
1922
  u.value = !1, a.value = [];
@@ -1936,7 +1936,7 @@ ${V}` : V;
1936
1936
  { value: "none", label: "Жодне" },
1937
1937
  { value: "html", label: "HTML" }
1938
1938
  ];
1939
- return (x, w) => (C(), D("div", fo, [
1939
+ return (x, w) => (C(), D("div", ho, [
1940
1940
  v("div", { class: "flex justify-between mb-3 gap-2" }, [
1941
1941
  v("button", {
1942
1942
  onClick: d,
@@ -1947,12 +1947,12 @@ ${V}` : V;
1947
1947
  class: "inline-flex items-center justify-center gap-1 px-3 py-1.5 rounded-md bg-sky-100 hover:bg-sky-200 text-sky-700 font-medium text-sm transition disabled:opacity-70 disabled:cursor-not-allowed"
1948
1948
  }, " Зберегти ")
1949
1949
  ]),
1950
- j(co, {
1950
+ j(mo, {
1951
1951
  modelValue: o.value,
1952
1952
  "onUpdate:modelValue": w[0] || (w[0] = (g) => o.value = g),
1953
1953
  options: h
1954
1954
  }, null, 8, ["modelValue"]),
1955
- v("div", po, [
1955
+ v("div", vo, [
1956
1956
  o.value === "list" ? (C(), M($e, {
1957
1957
  key: 0,
1958
1958
  modelValue: l.value,
@@ -1983,7 +1983,7 @@ ${V}` : V;
1983
1983
  }, null, 8, ["visible", "selection", "fields"])
1984
1984
  ]));
1985
1985
  }
1986
- }), ho = { class: "flex flex-col flex-1 min-h-0" }, vo = /* @__PURE__ */ ee({
1986
+ }), yo = { class: "flex flex-col flex-1 min-h-0" }, go = /* @__PURE__ */ ee({
1987
1987
  __name: "vs-tab-filter",
1988
1988
  props: {
1989
1989
  fields: {},
@@ -2049,7 +2049,7 @@ ${V}` : V;
2049
2049
  let p = [];
2050
2050
  o.value === "all" ? p = i.fields || [] : o.value === "none" ? p = [] : p = l.value, r("save", p);
2051
2051
  }
2052
- return (p, h) => (C(), D("div", ho, [
2052
+ return (p, h) => (C(), D("div", yo, [
2053
2053
  v("div", { class: "flex justify-between mb-3 gap-2" }, [
2054
2054
  v("button", {
2055
2055
  onClick: m,
@@ -2082,7 +2082,7 @@ ${V}` : V;
2082
2082
  }, null, 8, ["visible", "selection", "fields"])
2083
2083
  ]));
2084
2084
  }
2085
- }), xo = /* @__PURE__ */ ee({
2085
+ }), bo = /* @__PURE__ */ ee({
2086
2086
  __name: "MapDataLayer",
2087
2087
  props: {
2088
2088
  id: {},
@@ -2092,7 +2092,7 @@ ${V}` : V;
2092
2092
  },
2093
2093
  setup(e, { expose: n }) {
2094
2094
  var p, h, x, w;
2095
- const { map: i, flyTo: r, setZoom: l } = Zi(), o = ((h = (p = qn()) == null ? void 0 : p.appContext.config.globalProperties) == null ? void 0 : h.$settings) || null, t = e, u = t.id;
2095
+ const { map: i, flyTo: r, setZoom: l } = nl(), o = ((h = (p = qn()) == null ? void 0 : p.appContext.config.globalProperties) == null ? void 0 : h.$settings) || null, t = e, u = t.id;
2096
2096
  String(t.id);
2097
2097
  const a = `${location.origin}/api/vtile/${t.id}/ua/{z}/{x}/{y}.vmt?all=1`, s = Ie(u, {
2098
2098
  source: {
@@ -2132,19 +2132,19 @@ ${V}` : V;
2132
2132
  s.remove();
2133
2133
  }), (g, K) => null;
2134
2134
  }
2135
- }), yo = { class: "flex h-full bg-gradient-to-br from-slate-50 to-white" }, go = { class: "flex-1 relative overflow-hidden" }, bo = { class: "absolute top-0 left-0 w-full z-20" }, _o = { class: "px-4 sm:px-6 py-4 border-b border-gray-200 bg-white shadow-sm" }, wo = { class: "flex items-start justify-between gap-4" }, Ao = { class: "flex-1 min-w-0" }, ko = { class: "flex items-center text-sm text-gray-500 mb-3" }, Co = { class: "text-gray-900 font-medium truncate max-w-xs" }, So = { class: "flex items-center justify-between gap-4" }, Eo = { class: "flex-1 min-w-0" }, Fo = { class: "flex items-center gap-3 mb-1" }, To = { class: "text-base font-semibold text-gray-900 truncate" }, Io = {
2135
+ }), _o = { class: "flex h-full bg-gradient-to-br from-slate-50 to-white" }, wo = { class: "flex-1 relative overflow-hidden" }, Ao = { class: "absolute top-0 left-0 w-full z-20" }, ko = { class: "px-4 sm:px-6 py-4 border-b border-gray-200 bg-white shadow-sm" }, Co = { class: "flex items-start justify-between gap-4" }, So = { class: "flex-1 min-w-0" }, Eo = { class: "flex items-center text-sm text-gray-500 mb-3" }, Fo = { class: "text-gray-900 font-medium truncate max-w-xs" }, To = { class: "flex items-center justify-between gap-4" }, Io = { class: "flex-1 min-w-0" }, Oo = { class: "flex items-center gap-3 mb-1" }, Lo = { class: "text-base font-semibold text-gray-900 truncate" }, No = {
2136
2136
  key: 0,
2137
2137
  class: "px-2 py-0.5 bg-green-50 border border-green-200 rounded flex-shrink-0"
2138
- }, Oo = { class: "text-xs font-medium text-green-700" }, Lo = ["title"], No = { class: "w-full h-full bg-gradient-to-br from-sky-50 via-white to-blue-50 flex items-center justify-center relative pt-[115px]" }, Mo = { class: "relative w-full h-full" }, Do = { style: { top: "17px", left: "230px", position: "absolute", "z-index": "1" } }, Ro = { class: "absolute top-4 left-4 z-20" }, $o = { class: "absolute top-[6.5rem] right-2 space-y-1 z-20" }, jo = { class: "absolute bottom-4 left-4 z-20" }, Uo = { class: "flex-1 flex flex-col h-full" }, Bo = { class: "px-3 pt-3 pb-2 border-b border-gray-100" }, Yo = { class: "items-center justify-center text-muted-foreground grid w-full grid-cols-6 h-12 p-1 bg-gray-50 rounded-xl shadow-sm" }, Po = ["aria-selected", "onClick"], Ho = { class: "leading-none" }, Vo = { class: "flex flex-col flex-1 overflow-y-hidden p-3" }, qo = "OpenGIS", Pn = 2, Te = 5, Ko = 1e3, zo = /* @__PURE__ */ ee({
2138
+ }, Mo = { class: "text-xs font-medium text-green-700" }, Do = ["title"], Ro = { class: "w-full h-full bg-gradient-to-br from-sky-50 via-white to-blue-50 flex items-center justify-center relative pt-[115px]" }, $o = { class: "relative w-full h-full" }, jo = { style: { top: "17px", left: "230px", position: "absolute", "z-index": "1" } }, Uo = { class: "absolute top-4 left-4 z-20" }, Bo = { class: "absolute top-[6.5rem] right-2 space-y-1 z-20" }, Yo = { class: "absolute bottom-4 left-4 z-20" }, Po = { class: "flex-1 flex flex-col h-full" }, Ho = { class: "px-3 pt-3 pb-2 border-b border-gray-100" }, Vo = { class: "items-center justify-center text-muted-foreground grid w-full grid-cols-6 h-12 p-1 bg-gray-50 rounded-xl shadow-sm" }, qo = ["aria-selected", "onClick"], Ko = { class: "leading-none" }, zo = { class: "flex flex-col flex-1 overflow-y-hidden p-3" }, Go = "OpenGIS", Pn = 2, Fe = 5, Qo = 1e3, Wo = /* @__PURE__ */ ee({
2139
2139
  __name: "service",
2140
2140
  props: {
2141
2141
  hideServiceKey: { type: Boolean, default: !1 }
2142
2142
  },
2143
2143
  setup(e) {
2144
2144
  var vn, xn;
2145
- const i = zi(e, "hideServiceKey"), r = Wi(), l = Ji(), { id: o } = r.params, t = S(null), u = S(null), a = S({}), s = S(null), m = ((xn = (vn = qn()) == null ? void 0 : vn.appContext.config.globalProperties) == null ? void 0 : xn.$settings) || null;
2145
+ const i = Wi(e, "hideServiceKey"), r = Xi(), l = el(), { id: o } = r.params, t = S(null), u = S(null), a = S({}), s = S(null), m = ((xn = (vn = qn()) == null ? void 0 : vn.appContext.config.globalProperties) == null ? void 0 : xn.$settings) || null;
2146
2146
  function d(c) {
2147
- typeof document > "u" || (document.title = c ? `${c} — Сервіс` : qo);
2147
+ typeof document > "u" || (document.title = c ? `${c} — Сервіс` : Go);
2148
2148
  }
2149
2149
  let y = null;
2150
2150
  const b = S(!1);
@@ -2154,7 +2154,7 @@ ${V}` : V;
2154
2154
  }
2155
2155
  function h(c) {
2156
2156
  typeof window > "u" || window.dispatchEvent(
2157
- new CustomEvent(ol, {
2157
+ new CustomEvent(sl, {
2158
2158
  detail: c
2159
2159
  })
2160
2160
  );
@@ -2194,16 +2194,16 @@ ${V}` : V;
2194
2194
  const E = 0.5 * 10 ** -A;
2195
2195
  return Math.abs(c - f) > E;
2196
2196
  }
2197
- function de() {
2197
+ function pe() {
2198
2198
  var F, J, H, ie;
2199
2199
  const c = (J = (F = p()) == null ? void 0 : F.map) == null ? void 0 : J.value;
2200
2200
  if (!c) return;
2201
2201
  const f = g(r.query.z), A = g(r.query.x), E = g(r.query.y);
2202
2202
  if (f == null || A == null || E == null) return;
2203
2203
  const L = (H = c.getCenter) == null ? void 0 : H.call(c), k = (ie = c.getZoom) == null ? void 0 : ie.call(c);
2204
- (!L || V(L.lng, A, Te) || V(L.lat, E, Te) || V(k ?? 0, f, Pn)) && (b.value = !0, c.jumpTo({ center: [A, E], zoom: f }), b.value = !1);
2204
+ (!L || V(L.lng, A, Fe) || V(L.lat, E, Fe) || V(k ?? 0, f, Pn)) && (b.value = !0, c.jumpTo({ center: [A, E], zoom: f }), b.value = !1);
2205
2205
  }
2206
- function re() {
2206
+ function te() {
2207
2207
  var L, k, z, F;
2208
2208
  if (b.value) return;
2209
2209
  const c = (k = (L = p()) == null ? void 0 : L.map) == null ? void 0 : k.value;
@@ -2213,51 +2213,63 @@ ${V}` : V;
2213
2213
  const E = {
2214
2214
  ...r.query,
2215
2215
  z: K(A, Pn),
2216
- x: K(f.lng, Te),
2217
- y: K(f.lat, Te)
2216
+ x: K(f.lng, Fe),
2217
+ y: K(f.lat, Fe)
2218
2218
  };
2219
2219
  r.query.z === E.z && r.query.x === E.x && r.query.y === E.y || l.replace({ query: E });
2220
2220
  }
2221
- const B = S(null), pe = S(""), te = S([]), Ue = S([]), we = S([]), Be = S("list"), Ye = S(""), Ae = S([]), ke = S(!0);
2221
+ const B = S(null), me = S(""), oe = S([]), Ue = S([]), we = S([]), Be = S("list"), Ye = S(""), Ae = S([]), ke = S(!0);
2222
2222
  let ne = null;
2223
- const Y = Fe(
2223
+ const Y = ue(
2224
2224
  () => {
2225
2225
  var c, f;
2226
2226
  return ((c = s.value) == null ? void 0 : c.id) ?? ((f = s.value) == null ? void 0 : f.service_id) ?? null;
2227
2227
  }
2228
- ), fn = Fe(() => {
2228
+ ), fn = ue(() => {
2229
2229
  const c = (m == null ? void 0 : m.map) || null, f = (c == null ? void 0 : c.boundary) ?? null, A = (c == null ? void 0 : c.katottg) ?? null;
2230
2230
  return !f && !A ? null : { boundary: f, katottg: A };
2231
- }), Pe = Fe(() => {
2231
+ }), Pe = ue(() => {
2232
2232
  const c = s.value;
2233
2233
  if (!c) return "";
2234
2234
  const f = [];
2235
2235
  !i.value && c.service_key && f.push(`Сервіс: ${c.service_key}`), c.description && f.push(c.description);
2236
2236
  const A = c.group_name || c.group_id;
2237
2237
  return A && f.push(`Група: ${A}`), typeof c.is_public < "u" && f.push(c.is_public ? "Публічний" : "Не публічний"), typeof c.is_active < "u" && f.push(c.is_active ? "Активний" : "Неактивний"), f.join(", ");
2238
- }), dn = Fe(() => {
2238
+ }), dn = ue(() => {
2239
2239
  const c = s.value, f = (c == null ? void 0 : c.group_name) || (c == null ? void 0 : c.group_id);
2240
2240
  return f ? String(f).toUpperCase() : "";
2241
- }), pn = [
2242
- { key: "style", label: "Стиль", icon: fl },
2243
- { key: "popup", label: "Попап", icon: $t },
2244
- { key: "filter", label: "Фільтр", icon: Yt },
2245
- { key: "legend", label: "Легенда", icon: Nt },
2246
- { key: "card", label: "Картка", icon: dl },
2241
+ }), ji = ue(() => {
2242
+ var A;
2243
+ const c = (A = r.matched[r.matched.length - 1]) == null ? void 0 : A.path;
2244
+ return (typeof c == "string" && c ? c : r.path).replace(/\/:id\??$/, "") || "/";
2245
+ }), Ui = ue(() => {
2246
+ var f;
2247
+ const c = (f = r.meta) == null ? void 0 : f.title;
2248
+ return typeof c == "string" && c.trim() ? c : "Datasets";
2249
+ });
2250
+ function Bi() {
2251
+ l.push(ji.value);
2252
+ }
2253
+ const pn = [
2254
+ { key: "style", label: "Стиль", icon: ml },
2255
+ { key: "popup", label: "Попап", icon: Bt },
2256
+ { key: "filter", label: "Фільтр", icon: Vt },
2257
+ { key: "legend", label: "Легенда", icon: Rt },
2258
+ { key: "card", label: "Картка", icon: hl },
2247
2259
  { key: "metadata", label: "Метадані", icon: cl }
2248
2260
  ], mn = pn.map((c) => c.key), P = S("style");
2249
- Gi(async () => {
2261
+ Ji(async () => {
2250
2262
  const c = r.query.tab;
2251
- c && mn.includes(c) && (P.value = c), await Ce(), ji();
2263
+ c && mn.includes(c) && (P.value = c), await Ce(), Yi();
2252
2264
  });
2253
- async function ji() {
2265
+ async function Yi() {
2254
2266
  var E;
2255
2267
  const c = p();
2256
2268
  if (!(c != null && c.ready)) return;
2257
- await c.ready(), de();
2269
+ await c.ready(), pe();
2258
2270
  const f = (E = c.map) == null ? void 0 : E.value;
2259
2271
  if (!f) return;
2260
- const A = () => re();
2272
+ const A = () => te();
2261
2273
  f.on("moveend", A), f.on("zoomend", A), f.on("click", w), y = () => {
2262
2274
  f.off("moveend", A), f.off("zoomend", A), f.off("click", w);
2263
2275
  };
@@ -2265,7 +2277,7 @@ ${V}` : V;
2265
2277
  I(
2266
2278
  () => [r.query.z, r.query.x, r.query.y],
2267
2279
  () => {
2268
- de();
2280
+ pe();
2269
2281
  }
2270
2282
  ), I(P, (c) => {
2271
2283
  r.query.tab !== c && l.replace({ query: { ...r.query, tab: c } });
@@ -2300,26 +2312,26 @@ ${V}` : V;
2300
2312
  }
2301
2313
  return Cn(He(c));
2302
2314
  }
2303
- function Ui(c, f) {
2315
+ function Pi(c, f) {
2304
2316
  try {
2305
2317
  return JSON.stringify(c) === JSON.stringify(f);
2306
2318
  } catch {
2307
2319
  return !1;
2308
2320
  }
2309
2321
  }
2310
- function Bi() {
2322
+ function Hi() {
2311
2323
  var f;
2312
2324
  if (!s.value) return;
2313
2325
  const c = Ve(B.value);
2314
- Ui(c, ((f = s.value) == null ? void 0 : f.style) ?? null) || (s.value = {
2326
+ Pi(c, ((f = s.value) == null ? void 0 : f.style) ?? null) || (s.value = {
2315
2327
  ...s.value,
2316
2328
  style: c
2317
2329
  });
2318
2330
  }
2319
- function Yi() {
2331
+ function Vi() {
2320
2332
  ne && clearTimeout(ne), ne = setTimeout(() => {
2321
- ne = null, Bi();
2322
- }, Ko);
2333
+ ne = null, Hi();
2334
+ }, Qo);
2323
2335
  }
2324
2336
  const Ce = async () => {
2325
2337
  try {
@@ -2328,7 +2340,7 @@ ${V}` : V;
2328
2340
  const f = await c.json();
2329
2341
  a.value = f || {}, u.value = o;
2330
2342
  const A = Ve(f.style);
2331
- s.value = f ? { ...f, style: He(A) } : null, B.value = A, pe.value = typeof (f == null ? void 0 : f.style) == "string" ? f.style : A ? Yn.dump(A) : "", Ue.value = (f == null ? void 0 : f.popup) || [], Be.value = f.card_mode === "html" ? "html" : "list", we.value = f.card, Ye.value = f.html, te.value = (f == null ? void 0 : f.legend) || [], Ae.value = (f == null ? void 0 : f.filters) || [];
2343
+ s.value = f ? { ...f, style: He(A) } : null, B.value = A, me.value = typeof (f == null ? void 0 : f.style) == "string" ? f.style : A ? Yn.dump(A) : "", Ue.value = (f == null ? void 0 : f.popup) || [], Be.value = f.card_mode === "html" ? "html" : "list", we.value = f.card, Ye.value = f.html, oe.value = (f == null ? void 0 : f.legend) || [], Ae.value = (f == null ? void 0 : f.filters) || [];
2332
2344
  } catch (c) {
2333
2345
  console.error("Failed to fetch map info", c);
2334
2346
  }
@@ -2345,13 +2357,13 @@ ${V}` : V;
2345
2357
  ), I(
2346
2358
  () => B.value,
2347
2359
  () => {
2348
- Yi();
2360
+ Vi();
2349
2361
  },
2350
2362
  { deep: !0 }
2351
2363
  ), Kn(() => {
2352
2364
  ne && (clearTimeout(ne), ne = null), y == null || y(), y = null;
2353
2365
  });
2354
- async function Pi(c) {
2366
+ async function qi(c) {
2355
2367
  try {
2356
2368
  const f = await fetch(`/api/gis-clear-vtile/${c}`), { message: A, error: E, code: L } = await f.json();
2357
2369
  if (L === 200)
@@ -2368,7 +2380,7 @@ ${V}` : V;
2368
2380
  async function Se(c, f) {
2369
2381
  await hn({ [c]: f }, c);
2370
2382
  }
2371
- function Hi() {
2383
+ function Ki() {
2372
2384
  const c = He(B.value);
2373
2385
  s.value = s.value ? { ...s.value, style: c } : s.value;
2374
2386
  }
@@ -2399,7 +2411,7 @@ ${V}` : V;
2399
2411
  }), console.error(A);
2400
2412
  }
2401
2413
  }
2402
- async function Vi(c, f) {
2414
+ async function zi(c, f) {
2403
2415
  if (c !== "card") {
2404
2416
  await Se(c, f);
2405
2417
  return;
@@ -2413,19 +2425,19 @@ ${V}` : V;
2413
2425
  }
2414
2426
  return (c, f) => {
2415
2427
  var A, E, L;
2416
- return C(), D("div", yo, [
2417
- v("div", go, [
2418
- v("div", bo, [
2419
- v("div", _o, [
2420
- v("div", wo, [
2421
- v("div", Ao, [
2422
- v("div", ko, [
2428
+ return C(), D("div", _o, [
2429
+ v("div", wo, [
2430
+ v("div", Ao, [
2431
+ v("div", ko, [
2432
+ v("div", Co, [
2433
+ v("div", So, [
2434
+ v("div", Eo, [
2423
2435
  v("button", {
2424
2436
  type: "button",
2425
2437
  class: "hover:text-gray-700 cursor-pointer transition-colors",
2426
- onClick: f[0] || (f[0] = (k) => ve(l).push("/gis.datasets"))
2427
- }, " Datasets "),
2428
- f[11] || (f[11] = v("svg", {
2438
+ onClick: Bi
2439
+ }, le(Ui.value), 1),
2440
+ f[10] || (f[10] = v("svg", {
2429
2441
  xmlns: "http://www.w3.org/2000/svg",
2430
2442
  width: "24",
2431
2443
  height: "24",
@@ -2439,25 +2451,25 @@ ${V}` : V;
2439
2451
  }, [
2440
2452
  v("path", { d: "m9 18 6-6-6-6" })
2441
2453
  ], -1)),
2442
- v("span", Co, ue(((A = s.value) == null ? void 0 : A.name) || "Dataset"), 1)
2454
+ v("span", Fo, le(((A = s.value) == null ? void 0 : A.name) || "Dataset"), 1)
2443
2455
  ]),
2444
- v("div", So, [
2445
- v("div", Eo, [
2446
- v("div", Fo, [
2447
- v("h1", To, ue(((E = s.value) == null ? void 0 : E.name) || "Dataset"), 1),
2448
- dn.value ? (C(), D("div", Io, [
2449
- v("span", Oo, ue(dn.value), 1)
2456
+ v("div", To, [
2457
+ v("div", Io, [
2458
+ v("div", Oo, [
2459
+ v("h1", Lo, le(((E = s.value) == null ? void 0 : E.name) || "Dataset"), 1),
2460
+ dn.value ? (C(), D("div", No, [
2461
+ v("span", Mo, le(dn.value), 1)
2450
2462
  ])) : q("", !0)
2451
2463
  ]),
2452
2464
  Pe.value ? (C(), D("p", {
2453
2465
  key: 0,
2454
2466
  class: "text-xs text-gray-500 truncate",
2455
2467
  title: Pe.value
2456
- }, ue(Pe.value), 9, Lo)) : q("", !0)
2468
+ }, le(Pe.value), 9, Do)) : q("", !0)
2457
2469
  ])
2458
2470
  ])
2459
2471
  ]),
2460
- Y.value ? (C(), M(ul, {
2472
+ Y.value ? (C(), M(fl, {
2461
2473
  key: 0,
2462
2474
  class: "flex-shrink-0",
2463
2475
  "entity-id": Y.value,
@@ -2466,49 +2478,49 @@ ${V}` : V;
2466
2478
  "entity-label": "Сервіс",
2467
2479
  "save-method": "put",
2468
2480
  "show-xml-item": !1,
2469
- "clear-tiles-handler": Pi,
2481
+ "clear-tiles-handler": qi,
2470
2482
  onSaved: Ce
2471
2483
  }, null, 8, ["entity-id", "entity-info"])) : q("", !0)
2472
2484
  ])
2473
2485
  ])
2474
2486
  ]),
2475
- v("div", No, [
2476
- v("div", Mo, [
2477
- j(Xi, {
2487
+ v("div", Ro, [
2488
+ v("div", $o, [
2489
+ j(il, {
2478
2490
  ref_key: "mapViewRef",
2479
2491
  ref: t
2480
2492
  }, {
2481
2493
  default: We(() => {
2482
2494
  var k, z, F, J, H, ie, Ee;
2483
2495
  return [
2484
- (k = s.value) != null && k.service_id ? (C(), M(xo, {
2496
+ (k = s.value) != null && k.service_id ? (C(), M(bo, {
2485
2497
  key: 0,
2486
2498
  id: (z = s.value) == null ? void 0 : z.service_id,
2487
2499
  layer: s.value,
2488
2500
  "style-spec": ((F = s.value) == null ? void 0 : F.style) || null,
2489
2501
  autoCenter: !1
2490
2502
  }, null, 8, ["id", "layer", "style-spec"])) : q("", !0),
2491
- Y.value ? (C(), M(el, {
2503
+ Y.value ? (C(), M(ll, {
2492
2504
  key: 1,
2493
2505
  "layer-id": Y.value,
2494
2506
  boundary: ((J = s.value) == null ? void 0 : J.boundary) || ((H = fn.value) == null ? void 0 : H.boundary) || null,
2495
2507
  katottg: ((ie = s.value) == null ? void 0 : ie.katottg) || ((Ee = fn.value) == null ? void 0 : Ee.katottg) || null
2496
2508
  }, null, 8, ["layer-id", "boundary", "katottg"])) : q("", !0),
2497
- v("div", Do, [
2498
- Y.value ? (C(), M(nl, {
2509
+ v("div", jo, [
2510
+ Y.value ? (C(), M(rl, {
2499
2511
  key: 0,
2500
2512
  "layer-id": Y.value,
2501
2513
  filters: Ae.value
2502
2514
  }, null, 8, ["layer-id", "filters"])) : q("", !0)
2503
2515
  ]),
2504
- f[12] || (f[12] = v("div", {
2516
+ f[11] || (f[11] = v("div", {
2505
2517
  id: "map-filter-popover-host",
2506
2518
  class: "map-widget__filter-host"
2507
2519
  }, null, -1)),
2508
- v("div", Ro, [
2509
- j(il)
2520
+ v("div", Uo, [
2521
+ j(tl)
2510
2522
  ]),
2511
- v("div", $o, [
2523
+ v("div", Bo, [
2512
2524
  j(kn),
2513
2525
  a.value.center ? (C(), M(kn, {
2514
2526
  key: 0,
@@ -2516,13 +2528,13 @@ ${V}` : V;
2516
2528
  targetLabel: "Ценр даних"
2517
2529
  }, null, 8, ["targetCenter"])) : q("", !0)
2518
2530
  ]),
2519
- v("div", jo, [
2520
- j(ll, {
2521
- items: te.value || null
2531
+ v("div", Yo, [
2532
+ j(ol, {
2533
+ items: oe.value || null
2522
2534
  }, null, 8, ["items"])
2523
2535
  ]),
2524
- j(rl),
2525
- j(tl, {
2536
+ j(ul),
2537
+ j(al, {
2526
2538
  html: a.value.html
2527
2539
  }, null, 8, ["html"])
2528
2540
  ];
@@ -2531,76 +2543,76 @@ ${V}` : V;
2531
2543
  }, 512)
2532
2544
  ])
2533
2545
  ]),
2534
- j(al, {
2546
+ j(dl, {
2535
2547
  open: ke.value,
2536
- onToggle: f[1] || (f[1] = (k) => ke.value = !ke.value),
2548
+ onToggle: f[0] || (f[0] = (k) => ke.value = !ke.value),
2537
2549
  "top-class": "top-4"
2538
2550
  }, null, 8, ["open"])
2539
2551
  ]),
2540
2552
  v("div", {
2541
- class: he(["bg-white border-l border-gray-100 flex flex-col overflow-hidden shadow-lg flex-shrink-0 transition-[width] duration-100 ease-in-out", ke.value ? "w-[650px]" : "w-0"])
2553
+ class: ve(["bg-white border-l border-gray-100 flex flex-col overflow-hidden shadow-lg flex-shrink-0 transition-[width] duration-100 ease-in-out", ke.value ? "w-[650px]" : "w-0"])
2542
2554
  }, [
2543
- v("div", Uo, [
2544
- v("div", Bo, [
2545
- v("div", Yo, [
2555
+ v("div", Po, [
2556
+ v("div", Ho, [
2557
+ v("div", Vo, [
2546
2558
  (C(), D(Hn, null, Vn(pn, (k) => v("button", {
2547
2559
  key: k.key,
2548
2560
  type: "button",
2549
2561
  role: "tab",
2550
2562
  "aria-selected": P.value === k.key,
2551
- class: he([
2563
+ class: ve([
2552
2564
  "whitespace-nowrap flex flex-col items-center justify-center gap-0.5 py-1 px-1 text-[9px] font-medium transition-all duration-300 hover:bg-white/70 rounded-lg group",
2553
2565
  P.value === k.key ? "bg-white shadow-sm text-gray-700" : ""
2554
2566
  ]),
2555
2567
  onClick: (z) => P.value = k.key
2556
2568
  }, [
2557
- (C(), M(Qi(k.icon), { class: "h-3.5 w-3.5 mb-0.5" })),
2558
- v("span", Ho, ue(k.label), 1)
2559
- ], 10, Po)), 64))
2569
+ (C(), M(Zi(k.icon), { class: "h-3.5 w-3.5 mb-0.5" })),
2570
+ v("span", Ko, le(k.label), 1)
2571
+ ], 10, qo)), 64))
2560
2572
  ])
2561
2573
  ]),
2562
- v("div", Vo, [
2563
- P.value === "style" ? (C(), M(Gt, {
2574
+ v("div", zo, [
2575
+ P.value === "style" ? (C(), M(Jt, {
2564
2576
  key: 0,
2565
2577
  token: Y.value,
2566
- "style-text": pe.value,
2578
+ "style-text": me.value,
2567
2579
  "style-yaml": B.value,
2568
- "onUpdate:styleYaml": f[2] || (f[2] = (k) => B.value = k),
2569
- "onUpdate:styleText": f[3] || (f[3] = (k) => pe.value = k),
2570
- onUpdate: Hi
2571
- }, null, 8, ["token", "style-text", "style-yaml"])) : P.value === "legend" ? (C(), M(to, {
2580
+ "onUpdate:styleYaml": f[1] || (f[1] = (k) => B.value = k),
2581
+ "onUpdate:styleText": f[2] || (f[2] = (k) => me.value = k),
2582
+ onUpdate: Ki
2583
+ }, null, 8, ["token", "style-text", "style-yaml"])) : P.value === "legend" ? (C(), M(ao, {
2572
2584
  key: 1,
2573
2585
  token: Y.value,
2574
- columns: te.value,
2575
- "onUpdate:columns": f[4] || (f[4] = (k) => te.value = k),
2576
- onSave: f[5] || (f[5] = (k) => Se("legend", k))
2577
- }, null, 8, ["token", "columns"])) : P.value === "popup" ? (C(), M(Jt, {
2586
+ columns: oe.value,
2587
+ "onUpdate:columns": f[3] || (f[3] = (k) => oe.value = k),
2588
+ onSave: f[4] || (f[4] = (k) => Se("legend", k))
2589
+ }, null, 8, ["token", "columns"])) : P.value === "popup" ? (C(), M(eo, {
2578
2590
  key: 2,
2579
2591
  token: Y.value,
2580
2592
  columns: Ue.value,
2581
2593
  fields: a.value.fields,
2582
- "onUpdate:columns": f[6] || (f[6] = (k) => Ue.value = k),
2583
- onSave: f[7] || (f[7] = (k) => Se("popup", k))
2584
- }, null, 8, ["token", "columns", "fields"])) : P.value === "card" ? (C(), M(mo, {
2594
+ "onUpdate:columns": f[5] || (f[5] = (k) => Ue.value = k),
2595
+ onSave: f[6] || (f[6] = (k) => Se("popup", k))
2596
+ }, null, 8, ["token", "columns", "fields"])) : P.value === "card" ? (C(), M(xo, {
2585
2597
  key: 3,
2586
2598
  token: Y.value,
2587
2599
  columns: we.value,
2588
2600
  fields: a.value.fields,
2589
2601
  "view-mode": Be.value,
2590
2602
  html: Ye.value,
2591
- "onUpdate:columns": f[8] || (f[8] = (k) => we.value = k),
2592
- onSave: Vi
2593
- }, null, 8, ["token", "columns", "fields", "view-mode", "html"])) : P.value === "filter" ? (C(), M(vo, {
2603
+ "onUpdate:columns": f[7] || (f[7] = (k) => we.value = k),
2604
+ onSave: zi
2605
+ }, null, 8, ["token", "columns", "fields", "view-mode", "html"])) : P.value === "filter" ? (C(), M(go, {
2594
2606
  key: 4,
2595
2607
  token: Y.value,
2596
2608
  fields: a.value.fields,
2597
2609
  columns: Ae.value,
2598
- "onUpdate:columns": f[9] || (f[9] = (k) => Ae.value = k),
2599
- onSave: f[10] || (f[10] = (k) => Se("filters", k))
2600
- }, null, 8, ["token", "fields", "columns"])) : P.value === "metadata" ? (C(), M(sl, {
2610
+ "onUpdate:columns": f[8] || (f[8] = (k) => Ae.value = k),
2611
+ onSave: f[9] || (f[9] = (k) => Se("filters", k))
2612
+ }, null, 8, ["token", "fields", "columns"])) : P.value === "metadata" ? (C(), M(pl, {
2601
2613
  key: 5,
2602
2614
  data: s.value,
2603
- "entity-id": String(ve(o)),
2615
+ "entity-id": String(Te(o)),
2604
2616
  "entity-type": "service",
2605
2617
  onSaved: Ce
2606
2618
  }, null, 8, ["data", "entity-id"])) : q("", !0)
@@ -2610,7 +2622,7 @@ ${V}` : V;
2610
2622
  ]);
2611
2623
  };
2612
2624
  }
2613
- }), lu = /* @__PURE__ */ Re(zo, [["__scopeId", "data-v-008c5939"]]);
2625
+ }), ou = /* @__PURE__ */ Re(Wo, [["__scopeId", "data-v-95814a0d"]]);
2614
2626
  export {
2615
- lu as default
2627
+ ou as default
2616
2628
  };