@jeecg/online 3.5.3-beta3 → 3.6.0-beta

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 (163) hide show
  1. package/AuthButtonConfig-b6a674fa.mjs +125 -0
  2. package/AuthButtonTree-09e57bc4.mjs +156 -0
  3. package/AuthDataConfig-6e7e61ec.mjs +212 -0
  4. package/AuthDataTree-e83286c5.mjs +139 -0
  5. package/AuthFieldConfig-f1ec2708.mjs +139 -0
  6. package/AuthFieldTree-bb72e21f.mjs +232 -0
  7. package/AuthManagerDrawer-28a2d108.mjs +114 -0
  8. package/AuthSetterModal-2990d553.mjs +261 -0
  9. package/CgformCopyList-36a4cbf0.mjs +246 -0
  10. package/CgformModal-7399a5ac.mjs +611 -0
  11. package/CgreportModal-2eb9c9e1.mjs +13 -0
  12. package/CgreportModal.vue_vue_type_script_setup_true_lang-c2ceb064.mjs +566 -0
  13. package/CheckDictTable-3a8a54b3.mjs +211 -0
  14. package/CodeFileListModal-72f0d3bb.mjs +158 -0
  15. package/CodeFileViewModal-9eb88c47.mjs +244 -0
  16. package/CodeGeneratorModal-a89958f5.mjs +233 -0
  17. package/CustomButtonList-c44aec5a.mjs +363 -0
  18. package/DBAttributeTable-7d285e8d.mjs +473 -0
  19. package/DbToOnlineModal-d23cbeb1.mjs +160 -0
  20. package/DetailForm-2901d215.mjs +461 -0
  21. package/EnhanceJavaModal-153899a9.mjs +264 -0
  22. package/EnhanceJsHistory-7f5db3b1.mjs +184 -0
  23. package/EnhanceJsModal-c2fb75b8.mjs +311 -0
  24. package/EnhanceSqlModal-965e9b0a.mjs +268 -0
  25. package/ExtendConfigModal-8f08466f.mjs +111 -0
  26. package/FieldExtendJsonModal-adfcf5a7.mjs +219 -0
  27. package/FileSelectModal-432d4521.mjs +103 -0
  28. package/ForeignKeyTable-faab7ccf.mjs +69 -0
  29. package/IndexTable-0a2d3718.mjs +89 -0
  30. package/JModalTip-e1938b49.mjs +46 -0
  31. package/JOnlineSearchSelect-7e908492.mjs +95 -0
  32. package/LeftDepart-54f245b3.mjs +82 -0
  33. package/LeftRole-c138f892.mjs +86 -0
  34. package/LeftUser-9c812f8a.mjs +105 -0
  35. package/LinkTableConfigModal-c2c5c7e6.mjs +230 -0
  36. package/LinkTableFieldConfigModal-a3553b1f.mjs +176 -0
  37. package/LinkTableListPiece-7f793b08.mjs +34 -0
  38. package/ModalFormDemo-65685b0e.mjs +78 -0
  39. package/OnlCgformErpList-52c87ed3.mjs +449 -0
  40. package/OnlCgformErpSubTable-6e7fb17b.mjs +398 -0
  41. package/OnlCgformInnerSubTable-f0727b8f.mjs +248 -0
  42. package/OnlCgformInnerTableList-9f89c173.mjs +430 -0
  43. package/OnlCgformTabList-15516315.mjs +390 -0
  44. package/OnlineAutoList-63a0224f.mjs +474 -0
  45. package/OnlineAutoModal-ffe19c3f.mjs +206 -0
  46. package/OnlineAutoTreeList-317c7105.mjs +495 -0
  47. package/OnlineCustomModal-3939ce78.mjs +227 -0
  48. package/OnlineDetailModal-bfb1375f.mjs +177 -0
  49. package/OnlineForm-069f6092.mjs +749 -0
  50. package/OnlineFormDetail-ad5735fb.mjs +296 -0
  51. package/OnlineQueryForm-0771c80f.mjs +385 -0
  52. package/OnlineSearchFormItem-0db5834f.mjs +348 -0
  53. package/OnlineSelectCascade-a05c30f4.mjs +159 -0
  54. package/OnlineSubFormDetail-583d01eb.mjs +142 -0
  55. package/OnlineTabAutoModal-747e071d.mjs +253 -0
  56. package/OnlineTabDetailModal-887f0174.mjs +222 -0
  57. package/OnlineTabForm-b1dcd4b4.mjs +765 -0
  58. package/OnlineTabFormDetail-8e494a96.mjs +323 -0
  59. package/PageAttributeTable-5966b201.mjs +404 -0
  60. package/ProcessOnlineForm-4382bea7.mjs +177 -0
  61. package/QueryTable-6e8053ad.mjs +115 -0
  62. package/README.md +2 -1
  63. package/SuperQuery-78db6998.mjs +841 -0
  64. package/SuperQueryValComponent-471110b5.mjs +8 -0
  65. package/SuperQueryValComponent.vue_vue_type_script_lang-e3ad7ee8.mjs +101 -0
  66. package/auth.api-d3a6c4b3.mjs +39 -0
  67. package/auth.data-8be5c9e3.mjs +141 -0
  68. package/{cgform.data.js → cgform.data-cbdd88c3.mjs} +93 -62
  69. package/constant-754f1a9d.mjs +9 -0
  70. package/enhance.api-138e6826.mjs +104 -0
  71. package/enhance.data-efc7e155.mjs +175 -0
  72. package/index-0a93652b.mjs +237 -0
  73. package/index-7e9a23f2.mjs +1494 -0
  74. package/index-b70302f2.mjs +56 -0
  75. package/main.index.js +7 -1
  76. package/package.json +1 -1
  77. package/style.css +1 -1
  78. package/useCgformList-0c603af1.mjs +424 -0
  79. package/useCustomHook-acb00837.mjs +53 -0
  80. package/useExtendComponent-aa1cdfc8.mjs +3917 -0
  81. package/useListButton-0f18bf6a.mjs +671 -0
  82. package/useOnlinePopEvent-687070b7.mjs +19 -0
  83. package/useOnlineTest-e4bd8be3.mjs +42 -0
  84. package/useSchemas-43429d80.mjs +685 -0
  85. package/useTableSync-774c3774.mjs +87 -0
  86. package/AuthButtonConfig.js +0 -147
  87. package/AuthButtonTree.js +0 -183
  88. package/AuthDataConfig.js +0 -246
  89. package/AuthDataTree.js +0 -160
  90. package/AuthFieldConfig.js +0 -170
  91. package/AuthFieldTree.js +0 -281
  92. package/AuthManagerDrawer.js +0 -125
  93. package/AuthSetterModal.js +0 -316
  94. package/CgformCopyList.js +0 -266
  95. package/CgformModal.js +0 -780
  96. package/CgreportModal.js +0 -667
  97. package/CheckDictTable.js +0 -242
  98. package/CodeFileListModal.js +0 -175
  99. package/CodeFileViewModal.js +0 -325
  100. package/CodeGeneratorModal.js +0 -297
  101. package/CustomButtonList.js +0 -410
  102. package/DBAttributeTable.js +0 -526
  103. package/DbToOnlineModal.js +0 -192
  104. package/DetailForm.js +0 -608
  105. package/EnhanceJavaModal.js +0 -298
  106. package/EnhanceJsHistory.js +0 -229
  107. package/EnhanceJsModal.js +0 -293
  108. package/EnhanceSqlModal.js +0 -299
  109. package/ExtendConfigModal.js +0 -151
  110. package/FieldExtendJsonModal.js +0 -283
  111. package/FileSelectModal.js +0 -102
  112. package/ForeignKeyTable.js +0 -79
  113. package/IndexTable.js +0 -97
  114. package/JModalTip.js +0 -54
  115. package/JOnlineSearchSelect.js +0 -115
  116. package/LICENSE +0 -9
  117. package/LeftDepart.js +0 -96
  118. package/LeftRole.js +0 -98
  119. package/LeftUser.js +0 -117
  120. package/LinkTableConfigModal.js +0 -289
  121. package/LinkTableFieldConfigModal.js +0 -218
  122. package/LinkTableListPiece.js +0 -36
  123. package/ModalFormDemo.js +0 -85
  124. package/OnlineAutoList.js +0 -523
  125. package/OnlineAutoModal.js +0 -226
  126. package/OnlineAutoTreeList.js +0 -552
  127. package/OnlineCustomModal.js +0 -286
  128. package/OnlineDetailModal.js +0 -190
  129. package/OnlineForm.js +0 -1016
  130. package/OnlineFormDetail.js +0 -347
  131. package/OnlineQueryForm.js +0 -484
  132. package/OnlineSearchFormItem.js +0 -436
  133. package/OnlineSelectCascade.js +0 -228
  134. package/OnlineSubFormDetail.js +0 -166
  135. package/PageAttributeTable.js +0 -486
  136. package/ProcessOnlineForm.js +0 -208
  137. package/QueryTable.js +0 -129
  138. package/SuperQuery.js +0 -1020
  139. package/SuperQueryValComponent.js +0 -8
  140. package/SuperQueryValComponent.vue_vue_type_script_lang.js +0 -168
  141. package/_arrayPush.js +0 -278
  142. package/_baseClone.js +0 -471
  143. package/_baseSlice.js +0 -18
  144. package/_commonjsHelpers.js +0 -5
  145. package/_flatRest.js +0 -174
  146. package/auth.api.js +0 -43
  147. package/auth.data.js +0 -142
  148. package/clipboard.js +0 -565
  149. package/enhance.api.js +0 -129
  150. package/enhance.data.js +0 -196
  151. package/index.js +0 -87
  152. package/index2.js +0 -340
  153. package/index3.js +0 -264
  154. package/isArray.js +0 -47
  155. package/omit.js +0 -60
  156. package/pick.js +0 -68
  157. package/toString.js +0 -31
  158. package/useCgformList.js +0 -470
  159. package/useExtendComponent.js +0 -5205
  160. package/useListButton.js +0 -923
  161. package/useOnlineTest.js +0 -44
  162. package/useSchemas.js +0 -653
  163. package/useTableSync.js +0 -117
@@ -0,0 +1,1494 @@
1
+ import { ref as J, onMounted as $t, defineComponent as Ft, resolveComponent as A, openBlock as tt, createElementBlock as ut, Fragment as Gt, createElementVNode as ft, normalizeClass as R, createVNode as _, mergeProps as Vt, withCtx as E, createTextVNode as $, createBlock as zt, createCommentVNode as pt } from "vue";
2
+ import { BasicTable as Wt, TableAction as Yt } from "/@/components/Table";
3
+ import { C as Kt } from "./CgformModal-7399a5ac.mjs";
4
+ import Xt from "./DbToOnlineModal-d23cbeb1.mjs";
5
+ import Qt from "./CodeGeneratorModal-a89958f5.mjs";
6
+ import Ut from "./CustomButtonList-c44aec5a.mjs";
7
+ import Zt from "./EnhanceJsModal-c2fb75b8.mjs";
8
+ import te from "./EnhanceJavaModal-153899a9.mjs";
9
+ import ee from "./EnhanceSqlModal-965e9b0a.mjs";
10
+ import ne from "./AuthManagerDrawer-28a2d108.mjs";
11
+ import oe from "./AuthSetterModal-2990d553.mjs";
12
+ import { u as ie, C as re } from "./useCgformList-0c603af1.mjs";
13
+ import { c as se, s as ae } from "./cgform.data-cbdd88c3.mjs";
14
+ import { useDesign as le } from "/@/hooks/web/useDesign";
15
+ import { _ as ce } from "./index-b70302f2.mjs";
16
+ import "/@/components/Icon";
17
+ import "/@/components/Modal";
18
+ import "/@/components/Form/index";
19
+ import "/@/hooks/web/useMessage";
20
+ import "./useSchemas-43429d80.mjs";
21
+ import "ant-design-vue";
22
+ import "@ant-design/icons-vue";
23
+ import "/@/utils/common/compUtils";
24
+ import "/@/hooks/web/usePermission";
25
+ import "/@/utils/helper/validator";
26
+ import "./DBAttributeTable-7d285e8d.mjs";
27
+ import "/@/components/jeecg/JVxeTable/types";
28
+ import "./useTableSync-774c3774.mjs";
29
+ import "lodash-es";
30
+ import "/@/utils/dict";
31
+ import "/@/utils/dict/JDictSelectUtil";
32
+ import "/@/utils/uuid";
33
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
34
+ import "vue-router";
35
+ import "./PageAttributeTable-5966b201.mjs";
36
+ import "./LinkTableConfigModal-c2c5c7e6.mjs";
37
+ import "/@/utils/http/axios";
38
+ import "./LinkTableFieldConfigModal-a3553b1f.mjs";
39
+ import "./FieldExtendJsonModal-adfcf5a7.mjs";
40
+ import "./constant-754f1a9d.mjs";
41
+ import "./CheckDictTable-3a8a54b3.mjs";
42
+ import "/@/components/jeecg/JPrompt";
43
+ import "./ForeignKeyTable-faab7ccf.mjs";
44
+ import "./IndexTable-0a2d3718.mjs";
45
+ import "./QueryTable-6e8053ad.mjs";
46
+ import "./ExtendConfigModal-8f08466f.mjs";
47
+ import "/@/components/Form";
48
+ import "./useOnlineTest-e4bd8be3.mjs";
49
+ import "/@/utils";
50
+ import "./useExtendComponent-aa1cdfc8.mjs";
51
+ import "/@/components/Form/src/componentMap";
52
+ import "/@/utils/propTypes";
53
+ import "/@/components/Form/src/jeecg/components/JUpload";
54
+ import "/@/views/system/user/user.api";
55
+ import "/@/store/modules/user";
56
+ import "/@/utils/desform/customExpression";
57
+ import "/@/store/modules/permission";
58
+ import "/@/hooks/system/useListPage";
59
+ import "/@/components/Form/src/utils/Area";
60
+ import "/@/components/Preview/index";
61
+ import "./LinkTableListPiece-7f793b08.mjs";
62
+ import "./OnlineSelectCascade-a05c30f4.mjs";
63
+ import "/@/components/Loading";
64
+ import "/@/utils/auth";
65
+ import "./JModalTip-e1938b49.mjs";
66
+ import "@vueuse/core";
67
+ import "./CodeFileListModal-72f0d3bb.mjs";
68
+ import "./CodeFileViewModal-9eb88c47.mjs";
69
+ import "/@/utils/file/download";
70
+ import "./FileSelectModal-432d4521.mjs";
71
+ import "./EnhanceJsHistory-7f5db3b1.mjs";
72
+ import "/@/utils/dateUtil";
73
+ import "/@/store";
74
+ import "pinia";
75
+ import "/@/utils/cache";
76
+ import "./enhance.api-138e6826.mjs";
77
+ import "/@/utils/is";
78
+ import "./enhance.data-efc7e155.mjs";
79
+ import "/@/components/Drawer";
80
+ import "./AuthFieldConfig-f1ec2708.mjs";
81
+ import "./auth.api-d3a6c4b3.mjs";
82
+ import "./auth.data-8be5c9e3.mjs";
83
+ import "./AuthButtonConfig-b6a674fa.mjs";
84
+ import "./AuthDataConfig-6e7e61ec.mjs";
85
+ import "./LeftRole-c138f892.mjs";
86
+ import "./LeftDepart-54f245b3.mjs";
87
+ import "/@/api/common/api";
88
+ import "./LeftUser-9c812f8a.mjs";
89
+ import "./AuthFieldTree-bb72e21f.mjs";
90
+ import "./AuthButtonTree-09e57bc4.mjs";
91
+ import "./AuthDataTree-e83286c5.mjs";
92
+ import "clipboard";
93
+ /*!
94
+ * Intro.js v7.2.0
95
+ * https://introjs.com
96
+ *
97
+ * Copyright (C) 2012-2023 Afshin Mehrabani (@afshinmeh).
98
+ * https://introjs.com
99
+ *
100
+ * Date: Mon, 14 Aug 2023 19:47:14 GMT
101
+ */
102
+ function it(t) {
103
+ return it = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
104
+ return typeof e;
105
+ } : function(e) {
106
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
107
+ }, it(t);
108
+ }
109
+ function f(t, e, n, o) {
110
+ return new (n || (n = Promise))(function(i, r) {
111
+ function s(u) {
112
+ try {
113
+ c(o.next(u));
114
+ } catch (l) {
115
+ r(l);
116
+ }
117
+ }
118
+ function a(u) {
119
+ try {
120
+ c(o.throw(u));
121
+ } catch (l) {
122
+ r(l);
123
+ }
124
+ }
125
+ function c(u) {
126
+ var l;
127
+ u.done ? i(u.value) : (l = u.value, l instanceof n ? l : new n(function(p) {
128
+ p(l);
129
+ })).then(s, a);
130
+ }
131
+ c((o = o.apply(t, e || [])).next());
132
+ });
133
+ }
134
+ function g(t, e) {
135
+ var n, o, i, r, s = { label: 0, sent: function() {
136
+ if (1 & i[0])
137
+ throw i[1];
138
+ return i[1];
139
+ }, trys: [], ops: [] };
140
+ return r = { next: a(0), throw: a(1), return: a(2) }, typeof Symbol == "function" && (r[Symbol.iterator] = function() {
141
+ return this;
142
+ }), r;
143
+ function a(c) {
144
+ return function(u) {
145
+ return function(l) {
146
+ if (n)
147
+ throw new TypeError("Generator is already executing.");
148
+ for (; r && (r = 0, l[0] && (s = 0)), s; )
149
+ try {
150
+ if (n = 1, o && (i = 2 & l[0] ? o.return : l[0] ? o.throw || ((i = o.return) && i.call(o), 0) : o.next) && !(i = i.call(o, l[1])).done)
151
+ return i;
152
+ switch (o = 0, i && (l = [2 & l[0], i.value]), l[0]) {
153
+ case 0:
154
+ case 1:
155
+ i = l;
156
+ break;
157
+ case 4:
158
+ return s.label++, { value: l[1], done: !1 };
159
+ case 5:
160
+ s.label++, o = l[1], l = [0];
161
+ continue;
162
+ case 7:
163
+ l = s.ops.pop(), s.trys.pop();
164
+ continue;
165
+ default:
166
+ if (i = s.trys, !((i = i.length > 0 && i[i.length - 1]) || l[0] !== 6 && l[0] !== 2)) {
167
+ s = 0;
168
+ continue;
169
+ }
170
+ if (l[0] === 3 && (!i || l[1] > i[0] && l[1] < i[3])) {
171
+ s.label = l[1];
172
+ break;
173
+ }
174
+ if (l[0] === 6 && s.label < i[1]) {
175
+ s.label = i[1], i = l;
176
+ break;
177
+ }
178
+ if (i && s.label < i[2]) {
179
+ s.label = i[2], s.ops.push(l);
180
+ break;
181
+ }
182
+ i[2] && s.ops.pop(), s.trys.pop();
183
+ continue;
184
+ }
185
+ l = e.call(t, s);
186
+ } catch (p) {
187
+ l = [6, p], o = 0;
188
+ } finally {
189
+ n = i = 0;
190
+ }
191
+ if (5 & l[0])
192
+ throw l[1];
193
+ return { value: l[0] ? l[1] : void 0, done: !0 };
194
+ }([c, u]);
195
+ };
196
+ }
197
+ }
198
+ function wt(t, e, n) {
199
+ var o, i = ((o = {})[t] = e, o.path = "/", o.expires = void 0, o);
200
+ if (n) {
201
+ var r = /* @__PURE__ */ new Date();
202
+ r.setTime(r.getTime() + 24 * n * 60 * 60 * 1e3), i.expires = r.toUTCString();
203
+ }
204
+ var s = [];
205
+ for (var a in i)
206
+ s.push("".concat(a, "=").concat(i[a]));
207
+ return document.cookie = s.join("; "), Et(t);
208
+ }
209
+ function Et(t) {
210
+ return (e = {}, document.cookie.split(";").forEach(function(n) {
211
+ var o = n.split("="), i = o[0], r = o[1];
212
+ e[i.trim()] = r;
213
+ }), e)[t];
214
+ var e;
215
+ }
216
+ function ue(t, e) {
217
+ e ? wt(t._options.dontShowAgainCookie, "true", t._options.dontShowAgainCookieDays) : wt(t._options.dontShowAgainCookie, "", -1);
218
+ }
219
+ var et, ht = (et = {}, function(t, e) {
220
+ return e === void 0 && (e = "introjs-stamp"), et[e] = et[e] || 0, t[e] === void 0 && (t[e] = et[e]++), t[e];
221
+ }), L = new (function() {
222
+ function t() {
223
+ this.events_key = "introjs_event";
224
+ }
225
+ return t.prototype._id = function(e, n, o) {
226
+ return e + ht(n) + (o ? "_".concat(ht(o)) : "");
227
+ }, t.prototype.on = function(e, n, o, i, r) {
228
+ var s = this._id(n, o, i), a = function(c) {
229
+ return o(i || e, c || window.event);
230
+ };
231
+ "addEventListener" in e ? e.addEventListener(n, a, r) : "attachEvent" in e && e.attachEvent("on".concat(n), a), e[this.events_key] = e[this.events_key] || {}, e[this.events_key][s] = a;
232
+ }, t.prototype.off = function(e, n, o, i, r) {
233
+ var s = this._id(n, o, i), a = e[this.events_key] && e[this.events_key][s];
234
+ a && ("removeEventListener" in e ? e.removeEventListener(n, a, r) : "detachEvent" in e && e.detachEvent("on".concat(n), a), e[this.events_key][s] = null);
235
+ }, t;
236
+ }())(), y = function(t) {
237
+ return typeof t == "function";
238
+ };
239
+ function I(t, e) {
240
+ if (t instanceof SVGElement) {
241
+ var n = t.getAttribute("class") || "";
242
+ n.match(e) || t.setAttribute("class", "".concat(n, " ").concat(e));
243
+ } else if (t.classList !== void 0)
244
+ for (var o = 0, i = e.split(" "); o < i.length; o++) {
245
+ var r = i[o];
246
+ t.classList.add(r);
247
+ }
248
+ else
249
+ t.className.match(e) || (t.className += " ".concat(e));
250
+ }
251
+ function gt(t, e) {
252
+ var n = "";
253
+ return "currentStyle" in t ? n = t.currentStyle[e] : document.defaultView && document.defaultView.getComputedStyle && (n = document.defaultView.getComputedStyle(t, null).getPropertyValue(e)), n && n.toLowerCase ? n.toLowerCase() : n;
254
+ }
255
+ function Ct(t, e) {
256
+ if (t) {
257
+ var n = function(o) {
258
+ var i = window.getComputedStyle(o), r = i.position === "absolute", s = /(auto|scroll)/;
259
+ if (i.position === "fixed")
260
+ return document.body;
261
+ for (var a = o; a = a.parentElement; )
262
+ if (i = window.getComputedStyle(a), (!r || i.position !== "static") && s.test(i.overflow + i.overflowY + i.overflowX))
263
+ return a;
264
+ return document.body;
265
+ }(e);
266
+ n !== document.body && (n.scrollTop = e.offsetTop - n.offsetTop);
267
+ }
268
+ }
269
+ function bt() {
270
+ if (window.innerWidth !== void 0)
271
+ return { width: window.innerWidth, height: window.innerHeight };
272
+ var t = document.documentElement;
273
+ return { width: t.clientWidth, height: t.clientHeight };
274
+ }
275
+ function St(t, e, n, o, i) {
276
+ var r;
277
+ if (e !== "off" && t && (r = e === "tooltip" ? i.getBoundingClientRect() : o.getBoundingClientRect(), !function(a) {
278
+ var c = a.getBoundingClientRect();
279
+ return c.top >= 0 && c.left >= 0 && c.bottom + 80 <= window.innerHeight && c.right <= window.innerWidth;
280
+ }(o))) {
281
+ var s = bt().height;
282
+ r.bottom - (r.bottom - r.top) < 0 || o.clientHeight > s ? window.scrollBy(0, r.top - (s / 2 - r.height / 2) - n) : window.scrollBy(0, r.top - (s / 2 - r.height / 2) + n);
283
+ }
284
+ }
285
+ function Q(t) {
286
+ t.setAttribute("role", "button"), t.tabIndex = 0;
287
+ }
288
+ function at(t) {
289
+ var e = t.parentElement;
290
+ return !(!e || e.nodeName === "HTML") && (gt(t, "position") === "fixed" || at(e));
291
+ }
292
+ function W(t, e) {
293
+ var n = document.body, o = document.documentElement, i = window.pageYOffset || o.scrollTop || n.scrollTop, r = window.pageXOffset || o.scrollLeft || n.scrollLeft;
294
+ e = e || n;
295
+ var s = t.getBoundingClientRect(), a = e.getBoundingClientRect(), c = gt(e, "position"), u = { width: s.width, height: s.height };
296
+ return e.tagName.toLowerCase() !== "body" && c === "relative" || c === "sticky" ? Object.assign(u, { top: s.top - a.top, left: s.left - a.left }) : at(t) ? Object.assign(u, { top: s.top, left: s.left }) : Object.assign(u, { top: s.top + i, left: s.left + r });
297
+ }
298
+ function vt(t, e) {
299
+ if (t instanceof SVGElement) {
300
+ var n = t.getAttribute("class") || "";
301
+ t.setAttribute("class", n.replace(e, "").replace(/^\s+|\s+$/g, ""));
302
+ } else
303
+ t.className = t.className.replace(e, "").replace(/^\s+|\s+$/g, "");
304
+ }
305
+ function D(t, e) {
306
+ var n = "";
307
+ if (t.style.cssText && (n += t.style.cssText), typeof e == "string")
308
+ n += e;
309
+ else
310
+ for (var o in e)
311
+ n += "".concat(o, ":").concat(e[o], ";");
312
+ t.style.cssText = n;
313
+ }
314
+ function q(t, e, n) {
315
+ if (n && e) {
316
+ var o = W(e.element, t._targetElement), i = t._options.helperElementPadding;
317
+ e.element instanceof Element && at(e.element) ? I(n, "introjs-fixedTooltip") : vt(n, "introjs-fixedTooltip"), e.position === "floating" && (i = 0), D(n, { width: "".concat(o.width + i, "px"), height: "".concat(o.height + i, "px"), top: "".concat(o.top - i / 2, "px"), left: "".concat(o.left - i / 2, "px") });
318
+ }
319
+ }
320
+ function nt(t, e, n, o, i) {
321
+ return t.left + e + n.width > o.width ? (i.style.left = "".concat(o.width - n.width - t.left, "px"), !1) : (i.style.left = "".concat(e, "px"), !0);
322
+ }
323
+ function ot(t, e, n, o) {
324
+ return t.left + t.width - e - n.width < 0 ? (o.style.left = "".concat(-t.left, "px"), !1) : (o.style.right = "".concat(e, "px"), !0);
325
+ }
326
+ function B(t, e) {
327
+ t.includes(e) && t.splice(t.indexOf(e), 1);
328
+ }
329
+ function pe(t, e, n, o) {
330
+ var i = t.slice(), r = bt(), s = W(n).height + 10, a = W(n).width + 20, c = e.getBoundingClientRect(), u = "floating";
331
+ if (c.bottom + s > r.height && B(i, "bottom"), c.top - s < 0 && B(i, "top"), c.right + a > r.width && B(i, "right"), c.left - a < 0 && B(i, "left"), o && (o = o.split("-")[0]), i.length && (u = i[0], i.includes(o) && (u = o)), u === "top" || u === "bottom") {
332
+ var l = void 0, p = [];
333
+ u === "top" ? (l = "top-middle-aligned", p = ["top-left-aligned", "top-middle-aligned", "top-right-aligned"]) : (l = "bottom-middle-aligned", p = ["bottom-left-aligned", "bottom-middle-aligned", "bottom-right-aligned"]), u = function(m, b, v, C) {
334
+ var w = b / 2, j = Math.min(v, window.screen.width);
335
+ return j - m < b && (B(C, "top-left-aligned"), B(C, "bottom-left-aligned")), (m < w || j - m < w) && (B(C, "top-middle-aligned"), B(C, "bottom-middle-aligned")), m < b && (B(C, "top-right-aligned"), B(C, "bottom-right-aligned")), C.length ? C[0] : null;
336
+ }(c.left, a, r.width, p) || l;
337
+ }
338
+ return u;
339
+ }
340
+ function rt(t, e, n, o, i) {
341
+ if (i === void 0 && (i = !1), e) {
342
+ var r, s, a, c, u = "";
343
+ n.style.top = "", n.style.right = "", n.style.bottom = "", n.style.left = "", n.style.marginLeft = "", n.style.marginTop = "", o.style.display = "inherit", u = typeof e.tooltipClass == "string" ? e.tooltipClass : t._options.tooltipClass, n.className = ["introjs-tooltip", u].filter(Boolean).join(" "), n.setAttribute("role", "dialog"), (c = e.position) !== "floating" && t._options.autoPosition && (c = pe(t._options.positionPrecedence, e.element, n, c)), s = W(e.element), r = W(n), a = bt(), I(n, "introjs-".concat(c));
344
+ var l = s.width / 2 - r.width / 2;
345
+ switch (c) {
346
+ case "top-right-aligned":
347
+ o.className = "introjs-arrow bottom-right";
348
+ var p = 0;
349
+ ot(s, p, r, n), n.style.bottom = "".concat(s.height + 20, "px");
350
+ break;
351
+ case "top-middle-aligned":
352
+ o.className = "introjs-arrow bottom-middle", i && (l += 5), ot(s, l, r, n) && (n.style.right = "", nt(s, l, r, a, n)), n.style.bottom = "".concat(s.height + 20, "px");
353
+ break;
354
+ case "top-left-aligned":
355
+ case "top":
356
+ o.className = "introjs-arrow bottom", nt(s, i ? 0 : 15, r, a, n), n.style.bottom = "".concat(s.height + 20, "px");
357
+ break;
358
+ case "right":
359
+ n.style.left = "".concat(s.width + 20, "px"), s.top + r.height > a.height ? (o.className = "introjs-arrow left-bottom", n.style.top = "-".concat(r.height - s.height - 20, "px")) : o.className = "introjs-arrow left";
360
+ break;
361
+ case "left":
362
+ i || t._options.showStepNumbers !== !0 || (n.style.top = "15px"), s.top + r.height > a.height ? (n.style.top = "-".concat(r.height - s.height - 20, "px"), o.className = "introjs-arrow right-bottom") : o.className = "introjs-arrow right", n.style.right = "".concat(s.width + 20, "px");
363
+ break;
364
+ case "floating":
365
+ o.style.display = "none", n.style.left = "50%", n.style.top = "50%", n.style.marginLeft = "-".concat(r.width / 2, "px"), n.style.marginTop = "-".concat(r.height / 2, "px");
366
+ break;
367
+ case "bottom-right-aligned":
368
+ o.className = "introjs-arrow top-right", ot(s, p = 0, r, n), n.style.top = "".concat(s.height + 20, "px");
369
+ break;
370
+ case "bottom-middle-aligned":
371
+ o.className = "introjs-arrow top-middle", i && (l += 5), ot(s, l, r, n) && (n.style.right = "", nt(s, l, r, a, n)), n.style.top = "".concat(s.height + 20, "px");
372
+ break;
373
+ default:
374
+ o.className = "introjs-arrow top", nt(s, 0, r, a, n), n.style.top = "".concat(s.height + 20, "px");
375
+ }
376
+ }
377
+ }
378
+ function Nt() {
379
+ for (var t = 0, e = Array.from(document.querySelectorAll(".introjs-showElement")); t < e.length; t++)
380
+ vt(e[t], /introjs-[a-zA-Z]+/g);
381
+ }
382
+ function h(t, e) {
383
+ var n = document.createElement(t);
384
+ e = e || {};
385
+ var o = /^(?:role|data-|aria-)/;
386
+ for (var i in e) {
387
+ var r = e[i];
388
+ i === "style" && typeof r != "function" ? D(n, r) : typeof r == "string" && i.match(o) ? n.setAttribute(i, r) : n[i] = r;
389
+ }
390
+ return n;
391
+ }
392
+ function kt(t, e, n) {
393
+ if (n === void 0 && (n = !1), n) {
394
+ var o = e.style.opacity || "1";
395
+ D(e, { opacity: "0" }), window.setTimeout(function() {
396
+ D(e, { opacity: o });
397
+ }, 10);
398
+ }
399
+ t.appendChild(e);
400
+ }
401
+ function Tt(t, e) {
402
+ return (t + 1) / e * 100;
403
+ }
404
+ function xt(t, e) {
405
+ var n = h("div", { className: "introjs-bullets" });
406
+ t._options.showBullets === !1 && (n.style.display = "none");
407
+ var o = h("ul");
408
+ o.setAttribute("role", "tablist");
409
+ for (var i = function() {
410
+ var u = this.getAttribute("data-step-number");
411
+ u != null && t.goToStep(parseInt(u, 10));
412
+ }, r = 0; r < t._introItems.length; r++) {
413
+ var s = t._introItems[r].step, a = h("li"), c = h("a");
414
+ a.setAttribute("role", "presentation"), c.setAttribute("role", "tab"), c.onclick = i, r === e.step - 1 && (c.className = "active"), Q(c), c.innerHTML = "&nbsp;", c.setAttribute("data-step-number", s.toString()), a.appendChild(c), o.appendChild(a);
415
+ }
416
+ return n.appendChild(o), n;
417
+ }
418
+ function Bt(t, e, n) {
419
+ var o = t.querySelector(".introjs-progress .introjs-progressbar");
420
+ if (o) {
421
+ var i = Tt(e, n);
422
+ o.style.cssText = "width:".concat(i, "%;"), o.setAttribute("aria-valuenow", i.toString());
423
+ }
424
+ }
425
+ function It(t, e) {
426
+ return f(this, void 0, void 0, function() {
427
+ var n, o, i, r, s, a, c, u, l, p, m, b, v, C, w, j, N, M, T, P, x, U, V, z, K = this;
428
+ return g(this, function(H) {
429
+ switch (H.label) {
430
+ case 0:
431
+ return y(t._introChangeCallback) ? [4, t._introChangeCallback.call(t, e.element)] : [3, 2];
432
+ case 1:
433
+ H.sent(), H.label = 2;
434
+ case 2:
435
+ return n = document.querySelector(".introjs-helperLayer"), o = document.querySelector(".introjs-tooltipReferenceLayer"), i = "introjs-helperLayer", typeof e.highlightClass == "string" && (i += " ".concat(e.highlightClass)), typeof t._options.highlightClass == "string" && (i += " ".concat(t._options.highlightClass)), n !== null && o !== null ? (c = o.querySelector(".introjs-helperNumberLayer"), u = o.querySelector(".introjs-tooltiptext"), l = o.querySelector(".introjs-tooltip-title"), p = o.querySelector(".introjs-arrow"), m = o.querySelector(".introjs-tooltip"), a = o.querySelector(".introjs-skipbutton"), s = o.querySelector(".introjs-prevbutton"), r = o.querySelector(".introjs-nextbutton"), n.className = i, m.style.opacity = "0", m.style.display = "none", Ct(t._options.scrollToElement, e.element), q(t, e, n), q(t, e, o), Nt(), t._lastShowElementTimer && window.clearTimeout(t._lastShowElementTimer), t._lastShowElementTimer = window.setTimeout(function() {
436
+ c !== null && (c.innerHTML = "".concat(e.step, " ").concat(t._options.stepNumbersOfLabel, " ").concat(t._introItems.length)), u.innerHTML = e.intro || "", l.innerHTML = e.title || "", m.style.display = "block", rt(t, e, m, p), function(d, S, k) {
437
+ if (d) {
438
+ var O = S.querySelector(".introjs-bullets li > a.active"), Z = S.querySelector('.introjs-bullets li > a[data-step-number="'.concat(k.step, '"]'));
439
+ O && Z && (O.className = "", Z.className = "active");
440
+ }
441
+ }(t._options.showBullets, o, e), Bt(o, t._currentStep, t._introItems.length), m.style.opacity = "1", (r != null && /introjs-donebutton/gi.test(r.className) || r != null) && r.focus(), St(t._options.scrollToElement, e.scrollTo, t._options.scrollPadding, e.element, u);
442
+ }, 350)) : (b = h("div", { className: i }), v = h("div", { className: "introjs-tooltipReferenceLayer" }), C = h("div", { className: "introjs-arrow" }), w = h("div", { className: "introjs-tooltip" }), j = h("div", { className: "introjs-tooltiptext" }), N = h("div", { className: "introjs-tooltip-header" }), M = h("h1", { className: "introjs-tooltip-title" }), T = h("div"), D(b, { "box-shadow": "0 0 1px 2px rgba(33, 33, 33, 0.8), rgba(33, 33, 33, ".concat(t._options.overlayOpacity.toString(), ") 0 0 0 5000px") }), Ct(t._options.scrollToElement, e.element), q(t, e, b), q(t, e, v), kt(t._targetElement, b, !0), kt(t._targetElement, v), j.innerHTML = e.intro, M.innerHTML = e.title, T.className = "introjs-tooltipbuttons", t._options.showButtons === !1 && (T.style.display = "none"), N.appendChild(M), w.appendChild(N), w.appendChild(j), t._options.dontShowAgain && (P = h("div", { className: "introjs-dontShowAgain" }), (x = h("input", { type: "checkbox", id: "introjs-dontShowAgain", name: "introjs-dontShowAgain" })).onchange = function(d) {
443
+ t.setDontShowAgain(d.target.checked);
444
+ }, (U = h("label", { htmlFor: "introjs-dontShowAgain" })).innerText = t._options.dontShowAgainLabel, P.appendChild(x), P.appendChild(U), w.appendChild(P)), w.appendChild(xt(t, e)), w.appendChild(function(d) {
445
+ var S = h("div");
446
+ S.className = "introjs-progress", d._options.showProgress === !1 && (S.style.display = "none");
447
+ var k = h("div", { className: "introjs-progressbar" });
448
+ d._options.progressBarAdditionalClass && (k.className += " " + d._options.progressBarAdditionalClass);
449
+ var O = Tt(d._currentStep, d._introItems.length);
450
+ return k.setAttribute("role", "progress"), k.setAttribute("aria-valuemin", "0"), k.setAttribute("aria-valuemax", "100"), k.setAttribute("aria-valuenow", O.toString()), k.style.cssText = "width:".concat(O, "%;"), S.appendChild(k), S;
451
+ }(t)), V = h("div"), t._options.showStepNumbers === !0 && (V.className = "introjs-helperNumberLayer", V.innerHTML = "".concat(e.step, " ").concat(t._options.stepNumbersOfLabel, " ").concat(t._introItems.length), w.appendChild(V)), w.appendChild(C), v.appendChild(w), (r = h("a")).onclick = function() {
452
+ return f(K, void 0, void 0, function() {
453
+ return g(this, function(d) {
454
+ switch (d.label) {
455
+ case 0:
456
+ return t._introItems.length - 1 === t._currentStep ? [3, 2] : [4, F(t)];
457
+ case 1:
458
+ return d.sent(), [3, 6];
459
+ case 2:
460
+ return /introjs-donebutton/gi.test(r.className) ? y(t._introCompleteCallback) ? [4, t._introCompleteCallback.call(t, t._currentStep, "done")] : [3, 4] : [3, 6];
461
+ case 3:
462
+ d.sent(), d.label = 4;
463
+ case 4:
464
+ return [4, G(t, t._targetElement)];
465
+ case 5:
466
+ d.sent(), d.label = 6;
467
+ case 6:
468
+ return [2];
469
+ }
470
+ });
471
+ });
472
+ }, Q(r), r.innerHTML = t._options.nextLabel, (s = h("a")).onclick = function() {
473
+ return f(K, void 0, void 0, function() {
474
+ return g(this, function(d) {
475
+ switch (d.label) {
476
+ case 0:
477
+ return t._currentStep > 0 ? [4, st(t)] : [3, 2];
478
+ case 1:
479
+ d.sent(), d.label = 2;
480
+ case 2:
481
+ return [2];
482
+ }
483
+ });
484
+ });
485
+ }, Q(s), s.innerHTML = t._options.prevLabel, Q(a = h("a", { className: "introjs-skipbutton" })), a.innerHTML = t._options.skipLabel, a.onclick = function() {
486
+ return f(K, void 0, void 0, function() {
487
+ return g(this, function(d) {
488
+ switch (d.label) {
489
+ case 0:
490
+ return t._introItems.length - 1 === t._currentStep && y(t._introCompleteCallback) ? [4, t._introCompleteCallback.call(t, t._currentStep, "skip")] : [3, 2];
491
+ case 1:
492
+ d.sent(), d.label = 2;
493
+ case 2:
494
+ return y(t._introSkipCallback) ? [4, t._introSkipCallback.call(t, t._currentStep)] : [3, 4];
495
+ case 3:
496
+ d.sent(), d.label = 4;
497
+ case 4:
498
+ return [4, G(t, t._targetElement)];
499
+ case 5:
500
+ return d.sent(), [2];
501
+ }
502
+ });
503
+ });
504
+ }, N.appendChild(a), t._introItems.length > 1 && T.appendChild(s), T.appendChild(r), w.appendChild(T), rt(t, e, w, C), St(t._options.scrollToElement, e.scrollTo, t._options.scrollPadding, e.element, w)), (z = t._targetElement.querySelector(".introjs-disableInteraction")) && z.parentNode && z.parentNode.removeChild(z), e.disableInteraction && function(d, S) {
505
+ var k = document.querySelector(".introjs-disableInteraction");
506
+ k === null && (k = h("div", { className: "introjs-disableInteraction" }), d._targetElement.appendChild(k)), q(d, S, k);
507
+ }(t, e), t._currentStep === 0 && t._introItems.length > 1 ? (r != null && (r.className = "".concat(t._options.buttonClass, " introjs-nextbutton"), r.innerHTML = t._options.nextLabel), t._options.hidePrev === !0 ? (s != null && (s.className = "".concat(t._options.buttonClass, " introjs-prevbutton introjs-hidden")), r != null && I(r, "introjs-fullbutton")) : s != null && (s.className = "".concat(t._options.buttonClass, " introjs-prevbutton introjs-disabled"))) : t._introItems.length - 1 === t._currentStep || t._introItems.length === 1 ? (s != null && (s.className = "".concat(t._options.buttonClass, " introjs-prevbutton")), t._options.hideNext === !0 ? (r != null && (r.className = "".concat(t._options.buttonClass, " introjs-nextbutton introjs-hidden")), s != null && I(s, "introjs-fullbutton")) : r != null && (t._options.nextToDone === !0 ? (r.innerHTML = t._options.doneLabel, I(r, "".concat(t._options.buttonClass, " introjs-nextbutton introjs-donebutton"))) : r.className = "".concat(t._options.buttonClass, " introjs-nextbutton introjs-disabled"))) : (s != null && (s.className = "".concat(t._options.buttonClass, " introjs-prevbutton")), r != null && (r.className = "".concat(t._options.buttonClass, " introjs-nextbutton"), r.innerHTML = t._options.nextLabel)), s != null && s.setAttribute("role", "button"), r != null && r.setAttribute("role", "button"), a != null && a.setAttribute("role", "button"), r != null && r.focus(), function(d) {
508
+ I(d, "introjs-showElement");
509
+ var S = gt(d, "position");
510
+ S !== "absolute" && S !== "relative" && S !== "sticky" && S !== "fixed" && I(d, "introjs-relativePosition");
511
+ }(e.element), y(t._introAfterChangeCallback) ? [4, t._introAfterChangeCallback.call(t, e.element)] : [3, 4];
512
+ case 3:
513
+ H.sent(), H.label = 4;
514
+ case 4:
515
+ return [2];
516
+ }
517
+ });
518
+ });
519
+ }
520
+ function de(t, e) {
521
+ return f(this, void 0, void 0, function() {
522
+ return g(this, function(n) {
523
+ switch (n.label) {
524
+ case 0:
525
+ return t._currentStep = e - 2, t._introItems === void 0 ? [3, 2] : [4, F(t)];
526
+ case 1:
527
+ n.sent(), n.label = 2;
528
+ case 2:
529
+ return [2];
530
+ }
531
+ });
532
+ });
533
+ }
534
+ function he(t, e) {
535
+ return f(this, void 0, void 0, function() {
536
+ return g(this, function(n) {
537
+ switch (n.label) {
538
+ case 0:
539
+ return t._currentStepNumber = e, t._introItems === void 0 ? [3, 2] : [4, F(t)];
540
+ case 1:
541
+ n.sent(), n.label = 2;
542
+ case 2:
543
+ return [2];
544
+ }
545
+ });
546
+ });
547
+ }
548
+ function F(t) {
549
+ return f(this, void 0, void 0, function() {
550
+ var e, n, o;
551
+ return g(this, function(i) {
552
+ switch (i.label) {
553
+ case 0:
554
+ if (t._direction = "forward", t._currentStepNumber !== void 0)
555
+ for (e = 0; e < t._introItems.length; e++)
556
+ t._introItems[e].step === t._currentStepNumber && (t._currentStep = e - 1, t._currentStepNumber = void 0);
557
+ return t._currentStep === -1 ? t._currentStep = 0 : ++t._currentStep, n = t._introItems[t._currentStep], o = !0, y(t._introBeforeChangeCallback) ? [4, t._introBeforeChangeCallback.call(t, n && n.element, t._currentStep, t._direction)] : [3, 2];
558
+ case 1:
559
+ o = i.sent(), i.label = 2;
560
+ case 2:
561
+ return o === !1 ? (--t._currentStep, [2, !1]) : t._introItems.length <= t._currentStep ? y(t._introCompleteCallback) ? [4, t._introCompleteCallback.call(t, t._currentStep, "end")] : [3, 4] : [3, 6];
562
+ case 3:
563
+ i.sent(), i.label = 4;
564
+ case 4:
565
+ return [4, G(t, t._targetElement)];
566
+ case 5:
567
+ return i.sent(), [2, !1];
568
+ case 6:
569
+ return [4, It(t, n)];
570
+ case 7:
571
+ return i.sent(), [2, !0];
572
+ }
573
+ });
574
+ });
575
+ }
576
+ function st(t) {
577
+ return f(this, void 0, void 0, function() {
578
+ var e, n;
579
+ return g(this, function(o) {
580
+ switch (o.label) {
581
+ case 0:
582
+ return t._direction = "backward", t._currentStep <= 0 ? [2, !1] : (--t._currentStep, e = t._introItems[t._currentStep], n = !0, y(t._introBeforeChangeCallback) ? [4, t._introBeforeChangeCallback.call(t, e && e.element, t._currentStep, t._direction)] : [3, 2]);
583
+ case 1:
584
+ n = o.sent(), o.label = 2;
585
+ case 2:
586
+ return n === !1 ? (++t._currentStep, [2, !1]) : [4, It(t, e)];
587
+ case 3:
588
+ return o.sent(), [2, !0];
589
+ }
590
+ });
591
+ });
592
+ }
593
+ function Lt(t, e) {
594
+ return f(this, void 0, void 0, function() {
595
+ var n, o;
596
+ return g(this, function(i) {
597
+ switch (i.label) {
598
+ case 0:
599
+ return (n = e.code === void 0 ? e.which : e.code) === null && (n = e.charCode === null ? e.keyCode : e.charCode), n !== "Escape" && n !== 27 || t._options.exitOnEsc !== !0 ? [3, 2] : [4, G(t, t._targetElement)];
600
+ case 1:
601
+ return i.sent(), [3, 16];
602
+ case 2:
603
+ return n !== "ArrowLeft" && n !== 37 ? [3, 4] : [4, st(t)];
604
+ case 3:
605
+ return i.sent(), [3, 16];
606
+ case 4:
607
+ return n !== "ArrowRight" && n !== 39 ? [3, 6] : [4, F(t)];
608
+ case 5:
609
+ return i.sent(), [3, 16];
610
+ case 6:
611
+ return n !== "Enter" && n !== "NumpadEnter" && n !== 13 ? [3, 16] : (o = e.target || e.srcElement) && o.className.match("introjs-prevbutton") ? [4, st(t)] : [3, 8];
612
+ case 7:
613
+ return i.sent(), [3, 15];
614
+ case 8:
615
+ return o && o.className.match("introjs-skipbutton") ? t._introItems.length - 1 === t._currentStep && y(t._introCompleteCallback) ? [4, t._introCompleteCallback.call(t, t._currentStep, "skip")] : [3, 10] : [3, 12];
616
+ case 9:
617
+ i.sent(), i.label = 10;
618
+ case 10:
619
+ return [4, G(t, t._targetElement)];
620
+ case 11:
621
+ return i.sent(), [3, 15];
622
+ case 12:
623
+ return o && o.getAttribute("data-step-number") ? (o.click(), [3, 15]) : [3, 13];
624
+ case 13:
625
+ return [4, F(t)];
626
+ case 14:
627
+ i.sent(), i.label = 15;
628
+ case 15:
629
+ e.preventDefault ? e.preventDefault() : e.returnValue = !1, i.label = 16;
630
+ case 16:
631
+ return [2];
632
+ }
633
+ });
634
+ });
635
+ }
636
+ function yt(t) {
637
+ if (t === null || it(t) !== "object" || "nodeType" in t)
638
+ return t;
639
+ var e = {};
640
+ for (var n in t)
641
+ "jQuery" in window && t[n] instanceof window.jQuery ? e[n] = t[n] : e[n] = yt(t[n]);
642
+ return e;
643
+ }
644
+ function Y(t) {
645
+ var e = document.querySelector(".introjs-hints");
646
+ return e ? Array.from(e.querySelectorAll(t)) : [];
647
+ }
648
+ function _t(t, e) {
649
+ return f(this, void 0, void 0, function() {
650
+ var n;
651
+ return g(this, function(o) {
652
+ switch (o.label) {
653
+ case 0:
654
+ return n = Y('.introjs-hint[data-step="'.concat(e, '"]'))[0], lt(), n && I(n, "introjs-hidehint"), y(t._hintCloseCallback) ? [4, t._hintCloseCallback.call(t, e)] : [3, 2];
655
+ case 1:
656
+ o.sent(), o.label = 2;
657
+ case 2:
658
+ return [2];
659
+ }
660
+ });
661
+ });
662
+ }
663
+ function me(t) {
664
+ return f(this, void 0, void 0, function() {
665
+ var e, n, o, i, r;
666
+ return g(this, function(s) {
667
+ switch (s.label) {
668
+ case 0:
669
+ e = Y(".introjs-hint"), n = 0, o = e, s.label = 1;
670
+ case 1:
671
+ return n < o.length ? (i = o[n], (r = i.getAttribute("data-step")) ? [4, _t(t, parseInt(r, 10))] : [3, 3]) : [3, 4];
672
+ case 2:
673
+ s.sent(), s.label = 3;
674
+ case 3:
675
+ return n++, [3, 1];
676
+ case 4:
677
+ return [2];
678
+ }
679
+ });
680
+ });
681
+ }
682
+ function fe(t) {
683
+ return f(this, void 0, void 0, function() {
684
+ var e, n, o, i, r;
685
+ return g(this, function(s) {
686
+ switch (s.label) {
687
+ case 0:
688
+ if (!(e = Y(".introjs-hint")) || !e.length)
689
+ return [3, 1];
690
+ for (n = 0, o = e; n < o.length; n++)
691
+ i = o[n], (r = i.getAttribute("data-step")) && Mt(parseInt(r, 10));
692
+ return [3, 3];
693
+ case 1:
694
+ return [4, Rt(t, t._targetElement)];
695
+ case 2:
696
+ s.sent(), s.label = 3;
697
+ case 3:
698
+ return [2];
699
+ }
700
+ });
701
+ });
702
+ }
703
+ function Mt(t) {
704
+ var e = Y('.introjs-hint[data-step="'.concat(t, '"]'))[0];
705
+ e && vt(e, /introjs-hidehint/g);
706
+ }
707
+ function At(t) {
708
+ var e = Y('.introjs-hint[data-step="'.concat(t, '"]'))[0];
709
+ e && e.parentNode && e.parentNode.removeChild(e);
710
+ }
711
+ function ge(t) {
712
+ return f(this, void 0, void 0, function() {
713
+ var e, n, o, i, r, s, a;
714
+ return g(this, function(c) {
715
+ switch (c.label) {
716
+ case 0:
717
+ for ((e = document.querySelector(".introjs-hints")) === null && (e = h("div", { className: "introjs-hints" })), n = function(m) {
718
+ return function(b) {
719
+ var v = b || window.event;
720
+ v && v.stopPropagation && v.stopPropagation(), v && v.cancelBubble !== null && (v.cancelBubble = !0), Pt(t, m);
721
+ };
722
+ }, o = 0; o < t._hintItems.length; o++) {
723
+ if (i = t._hintItems[o], document.querySelector('.introjs-hint[data-step="'.concat(o, '"]')))
724
+ return [2];
725
+ Q(r = h("a", { className: "introjs-hint" })), r.onclick = n(o), i.hintAnimation || I(r, "introjs-hint-no-anim"), at(i.element) && I(r, "introjs-fixedhint"), s = h("div", { className: "introjs-hint-dot" }), a = h("div", { className: "introjs-hint-pulse" }), r.appendChild(s), r.appendChild(a), r.setAttribute("data-step", o.toString()), i.hintTargetElement = i.element, i.element = r, qt(i.hintPosition, r, i.hintTargetElement), e.appendChild(r);
726
+ }
727
+ return document.body.appendChild(e), y(t._hintsAddedCallback) ? [4, t._hintsAddedCallback.call(t)] : [3, 2];
728
+ case 1:
729
+ c.sent(), c.label = 2;
730
+ case 2:
731
+ return t._options.hintAutoRefreshInterval >= 0 && (t._hintsAutoRefreshFunction = (u = function() {
732
+ return ct(t);
733
+ }, l = t._options.hintAutoRefreshInterval, function() {
734
+ for (var m = [], b = 0; b < arguments.length; b++)
735
+ m[b] = arguments[b];
736
+ window.clearTimeout(p), p = window.setTimeout(function() {
737
+ u(m);
738
+ }, l);
739
+ }), L.on(window, "scroll", t._hintsAutoRefreshFunction, t, !0)), [2];
740
+ }
741
+ var u, l, p;
742
+ });
743
+ });
744
+ }
745
+ function qt(t, e, n) {
746
+ if (n !== void 0) {
747
+ var o = W(n), i = 20, r = 20;
748
+ switch (t) {
749
+ default:
750
+ case "top-left":
751
+ e.style.left = "".concat(o.left, "px"), e.style.top = "".concat(o.top, "px");
752
+ break;
753
+ case "top-right":
754
+ e.style.left = "".concat(o.left + o.width - i, "px"), e.style.top = "".concat(o.top, "px");
755
+ break;
756
+ case "bottom-left":
757
+ e.style.left = "".concat(o.left, "px"), e.style.top = "".concat(o.top + o.height - r, "px");
758
+ break;
759
+ case "bottom-right":
760
+ e.style.left = "".concat(o.left + o.width - i, "px"), e.style.top = "".concat(o.top + o.height - r, "px");
761
+ break;
762
+ case "middle-left":
763
+ e.style.left = "".concat(o.left, "px"), e.style.top = "".concat(o.top + (o.height - r) / 2, "px");
764
+ break;
765
+ case "middle-right":
766
+ e.style.left = "".concat(o.left + o.width - i, "px"), e.style.top = "".concat(o.top + (o.height - r) / 2, "px");
767
+ break;
768
+ case "middle-middle":
769
+ e.style.left = "".concat(o.left + (o.width - i) / 2, "px"), e.style.top = "".concat(o.top + (o.height - r) / 2, "px");
770
+ break;
771
+ case "bottom-middle":
772
+ e.style.left = "".concat(o.left + (o.width - i) / 2, "px"), e.style.top = "".concat(o.top + o.height - r, "px");
773
+ break;
774
+ case "top-middle":
775
+ e.style.left = "".concat(o.left + (o.width - i) / 2, "px"), e.style.top = "".concat(o.top, "px");
776
+ }
777
+ }
778
+ }
779
+ function Pt(t, e) {
780
+ return f(this, void 0, void 0, function() {
781
+ var n, o, i, r, s, a, c, u, l, p, m;
782
+ return g(this, function(b) {
783
+ switch (b.label) {
784
+ case 0:
785
+ return n = document.querySelector('.introjs-hint[data-step="'.concat(e, '"]')), o = t._hintItems[e], y(t._hintClickCallback) ? [4, t._hintClickCallback.call(t, n, o, e)] : [3, 2];
786
+ case 1:
787
+ b.sent(), b.label = 2;
788
+ case 2:
789
+ return (i = lt()) !== void 0 && parseInt(i, 10) === e || (r = h("div", { className: "introjs-tooltip" }), s = h("div"), a = h("div"), c = h("div"), r.onclick = function(v) {
790
+ v.stopPropagation ? v.stopPropagation() : v.cancelBubble = !0;
791
+ }, s.className = "introjs-tooltiptext", (u = h("p")).innerHTML = o.hint || "", s.appendChild(u), t._options.hintShowButton && ((l = h("a")).className = t._options.buttonClass, l.setAttribute("role", "button"), l.innerHTML = t._options.hintButtonLabel, l.onclick = function() {
792
+ return _t(t, e);
793
+ }, s.appendChild(l)), a.className = "introjs-arrow", r.appendChild(a), r.appendChild(s), p = n.getAttribute("data-step") || "", t._currentStep = parseInt(p, 10), m = t._hintItems[t._currentStep], c.className = "introjs-tooltipReferenceLayer introjs-hintReference", c.setAttribute("data-step", p), q(t, m, c), c.appendChild(r), document.body.appendChild(c), rt(t, m, r, a, !0)), [2];
794
+ }
795
+ });
796
+ });
797
+ }
798
+ function lt() {
799
+ var t = document.querySelector(".introjs-hintReference");
800
+ if (t && t.parentNode) {
801
+ var e = t.getAttribute("data-step");
802
+ return e ? (t.parentNode.removeChild(t), e) : void 0;
803
+ }
804
+ }
805
+ function Rt(t, e) {
806
+ return f(this, void 0, void 0, function() {
807
+ var n, o, i, r, s, a, c, u, l, p;
808
+ return g(this, function(m) {
809
+ switch (m.label) {
810
+ case 0:
811
+ if (t._hintItems = [], t._options.hints && t._options.hints.length > 0)
812
+ for (n = 0, o = t._options.hints; n < o.length; n++)
813
+ i = o[n], typeof (r = yt(i)).element == "string" && (r.element = document.querySelector(r.element)), r.hintPosition = r.hintPosition || t._options.hintPosition, r.hintAnimation = r.hintAnimation || t._options.hintAnimation, r.element !== null && t._hintItems.push(r);
814
+ else {
815
+ if (!(s = Array.from(e.querySelectorAll("*[data-hint]"))) || !s.length)
816
+ return [2, !1];
817
+ for (a = 0, c = s; a < c.length; a++)
818
+ u = c[a], l = u.getAttribute("data-hint-animation"), p = t._options.hintAnimation, l && (p = l === "true"), t._hintItems.push({ element: u, hint: u.getAttribute("data-hint") || "", hintPosition: u.getAttribute("data-hint-position") || t._options.hintPosition, hintAnimation: p, tooltipClass: u.getAttribute("data-tooltip-class") || void 0, position: u.getAttribute("data-position") || t._options.tooltipPosition });
819
+ }
820
+ return [4, ge(t)];
821
+ case 1:
822
+ return m.sent(), L.on(document, "click", lt, t, !1), L.on(window, "resize", ct, t, !0), [2, !0];
823
+ }
824
+ });
825
+ });
826
+ }
827
+ function ct(t) {
828
+ for (var e = 0, n = t._hintItems; e < n.length; e++) {
829
+ var o = n[e], i = o.hintTargetElement;
830
+ qt(o.hintPosition, o.element, i);
831
+ }
832
+ }
833
+ function Dt(t, e) {
834
+ var n = Array.from(e.querySelectorAll("*[data-intro]")), o = [];
835
+ if (t._options.steps && t._options.steps.length)
836
+ for (var i = 0, r = t._options.steps; i < r.length; i++) {
837
+ var s = yt(m = r[i]);
838
+ if (s.step = o.length + 1, s.title = s.title || "", typeof s.element == "string" && (s.element = document.querySelector(s.element) || void 0), s.element === void 0 || s.element === null) {
839
+ var a = document.querySelector(".introjsFloatingElement");
840
+ a === null && (a = h("div", { className: "introjsFloatingElement" }), document.body.appendChild(a)), s.element = a, s.position = "floating";
841
+ }
842
+ s.position = s.position || t._options.tooltipPosition, s.scrollTo = s.scrollTo || t._options.scrollTo, s.disableInteraction === void 0 && (s.disableInteraction = t._options.disableInteraction), s.element !== null && o.push(s);
843
+ }
844
+ else {
845
+ var c = void 0;
846
+ if (n.length < 1)
847
+ return [];
848
+ for (var u = 0, l = n; u < l.length; u++) {
849
+ var p = l[u];
850
+ if ((!t._options.group || p.getAttribute("data-intro-group") === t._options.group) && p.style.display !== "none") {
851
+ var m = parseInt(p.getAttribute("data-step") || "", 10);
852
+ c = t._options.disableInteraction, p.hasAttribute("data-disable-interaction") && (c = !!p.getAttribute("data-disable-interaction")), m > 0 && (o[m - 1] = { step: m, element: p, title: p.getAttribute("data-title") || "", intro: p.getAttribute("data-intro") || "", tooltipClass: p.getAttribute("data-tooltip-class") || void 0, highlightClass: p.getAttribute("data-highlight-class") || void 0, position: p.getAttribute("data-position") || t._options.tooltipPosition, scrollTo: p.getAttribute("data-scroll-to") || t._options.scrollTo, disableInteraction: c });
853
+ }
854
+ }
855
+ for (var b = 0, v = 0, C = n; v < C.length; v++)
856
+ if (p = C[v], (!t._options.group || p.getAttribute("data-intro-group") === t._options.group) && p.getAttribute("data-step") === null) {
857
+ for (; o[b] !== void 0; )
858
+ b++;
859
+ c = p.hasAttribute("data-disable-interaction") ? !!p.getAttribute("data-disable-interaction") : t._options.disableInteraction, o[b] = { element: p, title: p.getAttribute("data-title") || "", intro: p.getAttribute("data-intro") || "", step: b + 1, tooltipClass: p.getAttribute("data-tooltip-class") || void 0, highlightClass: p.getAttribute("data-highlight-class") || void 0, position: p.getAttribute("data-position") || t._options.tooltipPosition, scrollTo: p.getAttribute("data-scroll-to") || t._options.scrollTo, disableInteraction: c };
860
+ }
861
+ }
862
+ for (var w = [], j = 0; j < o.length; j++)
863
+ o[j] && w.push(o[j]);
864
+ return (o = w).sort(function(N, M) {
865
+ return N.step - M.step;
866
+ }), o;
867
+ }
868
+ function Ht(t, e) {
869
+ var n = t._currentStep;
870
+ if (n != null && n != -1) {
871
+ var o = t._introItems[n], i = document.querySelector(".introjs-tooltipReferenceLayer"), r = document.querySelector(".introjs-helperLayer"), s = document.querySelector(".introjs-disableInteraction");
872
+ q(t, o, r), q(t, o, i), q(t, o, s), e && (t._introItems = Dt(t, t._targetElement), function(u, l) {
873
+ if (u._options.showBullets) {
874
+ var p = document.querySelector(".introjs-bullets");
875
+ p && p.parentNode && p.parentNode.replaceChild(xt(u, l), p);
876
+ }
877
+ }(t, o), Bt(i, n, t._introItems.length));
878
+ var a = document.querySelector(".introjs-arrow"), c = document.querySelector(".introjs-tooltip");
879
+ return c && a && rt(t, t._introItems[n], c, a), ct(t), t;
880
+ }
881
+ }
882
+ function Ot(t) {
883
+ Ht(t);
884
+ }
885
+ function X(t, e) {
886
+ if (e === void 0 && (e = !1), t && t.parentElement) {
887
+ var n = t.parentElement;
888
+ e ? (D(t, { opacity: "0" }), window.setTimeout(function() {
889
+ try {
890
+ n.removeChild(t);
891
+ } catch (o) {
892
+ }
893
+ }, 500)) : n.removeChild(t);
894
+ }
895
+ }
896
+ function G(t, e, n) {
897
+ return n === void 0 && (n = !1), f(this, void 0, void 0, function() {
898
+ var o, i, r, s;
899
+ return g(this, function(a) {
900
+ switch (a.label) {
901
+ case 0:
902
+ return o = !0, t._introBeforeExitCallback === void 0 ? [3, 2] : [4, t._introBeforeExitCallback.call(t, e)];
903
+ case 1:
904
+ o = a.sent(), a.label = 2;
905
+ case 2:
906
+ if (!n && o === !1)
907
+ return [2];
908
+ if ((i = Array.from(e.querySelectorAll(".introjs-overlay"))) && i.length)
909
+ for (r = 0, s = i; r < s.length; r++)
910
+ X(s[r]);
911
+ return X(e.querySelector(".introjs-helperLayer"), !0), X(e.querySelector(".introjs-tooltipReferenceLayer")), X(e.querySelector(".introjs-disableInteraction")), X(document.querySelector(".introjsFloatingElement")), Nt(), L.off(window, "keydown", Lt, t, !0), L.off(window, "resize", Ot, t, !0), y(t._introExitCallback) ? [4, t._introExitCallback.call(t)] : [3, 4];
912
+ case 3:
913
+ a.sent(), a.label = 4;
914
+ case 4:
915
+ return t._currentStep = -1, [2];
916
+ }
917
+ });
918
+ });
919
+ }
920
+ function be(t, e) {
921
+ return f(this, void 0, void 0, function() {
922
+ var n;
923
+ return g(this, function(o) {
924
+ switch (o.label) {
925
+ case 0:
926
+ return t.isActive() ? y(t._introStartCallback) ? [4, t._introStartCallback.call(t, e)] : [3, 2] : [2, !1];
927
+ case 1:
928
+ o.sent(), o.label = 2;
929
+ case 2:
930
+ return (n = Dt(t, e)).length === 0 ? [2, !1] : (t._introItems = n, function(i, r) {
931
+ var s = this, a = h("div", { className: "introjs-overlay" });
932
+ D(a, { top: 0, bottom: 0, left: 0, right: 0, position: "fixed" }), r.appendChild(a), i._options.exitOnOverlayClick === !0 && (D(a, { cursor: "pointer" }), a.onclick = function() {
933
+ return f(s, void 0, void 0, function() {
934
+ return g(this, function(c) {
935
+ switch (c.label) {
936
+ case 0:
937
+ return [4, G(i, r)];
938
+ case 1:
939
+ return c.sent(), [2];
940
+ }
941
+ });
942
+ });
943
+ });
944
+ }(t, e), [4, F(t)]);
945
+ case 3:
946
+ o.sent(), e.addEventListener, t._options.keyboardNavigation && L.on(window, "keydown", Lt, t, !0), L.on(window, "resize", Ot, t, !0), o.label = 4;
947
+ case 4:
948
+ return [2, !1];
949
+ }
950
+ });
951
+ });
952
+ }
953
+ function jt(t, e, n) {
954
+ return t[e] = n, t;
955
+ }
956
+ var dt = function() {
957
+ function t(e) {
958
+ this._currentStep = -1, this._introItems = [], this._hintItems = [], this._targetElement = e, this._options = { steps: [], hints: [], isActive: !0, nextLabel: "Next", prevLabel: "Back", skipLabel: "×", doneLabel: "Done", hidePrev: !1, hideNext: !1, nextToDone: !0, tooltipPosition: "bottom", tooltipClass: "", group: "", highlightClass: "", exitOnEsc: !0, exitOnOverlayClick: !0, showStepNumbers: !1, stepNumbersOfLabel: "of", keyboardNavigation: !0, showButtons: !0, showBullets: !0, showProgress: !1, scrollToElement: !0, scrollTo: "element", scrollPadding: 30, overlayOpacity: 0.5, autoPosition: !0, positionPrecedence: ["bottom", "top", "right", "left"], disableInteraction: !1, dontShowAgain: !1, dontShowAgainLabel: "Don't show this again", dontShowAgainCookie: "introjs-dontShowAgain", dontShowAgainCookieDays: 365, helperElementPadding: 10, hintPosition: "top-middle", hintButtonLabel: "Got it", hintShowButton: !0, hintAutoRefreshInterval: 10, hintAnimation: !0, buttonClass: "introjs-button", progressBarAdditionalClass: !1 };
959
+ }
960
+ return t.prototype.isActive = function() {
961
+ return (!this._options.dontShowAgain || (e = Et(this._options.dontShowAgainCookie)) === "" || e !== "true") && this._options.isActive;
962
+ var e;
963
+ }, t.prototype.clone = function() {
964
+ return new t(this._targetElement);
965
+ }, t.prototype.setOption = function(e, n) {
966
+ return this._options = jt(this._options, e, n), this;
967
+ }, t.prototype.setOptions = function(e) {
968
+ return this._options = function(n, o) {
969
+ for (var i = 0, r = Object.entries(o); i < r.length; i++) {
970
+ var s = r[i];
971
+ n = jt(n, s[0], s[1]);
972
+ }
973
+ return n;
974
+ }(this._options, e), this;
975
+ }, t.prototype.start = function() {
976
+ return f(this, void 0, void 0, function() {
977
+ return g(this, function(e) {
978
+ switch (e.label) {
979
+ case 0:
980
+ return [4, be(this, this._targetElement)];
981
+ case 1:
982
+ return e.sent(), [2, this];
983
+ }
984
+ });
985
+ });
986
+ }, t.prototype.goToStep = function(e) {
987
+ return f(this, void 0, void 0, function() {
988
+ return g(this, function(n) {
989
+ switch (n.label) {
990
+ case 0:
991
+ return [4, de(this, e)];
992
+ case 1:
993
+ return n.sent(), [2, this];
994
+ }
995
+ });
996
+ });
997
+ }, t.prototype.addStep = function(e) {
998
+ return this._options.steps || (this._options.steps = []), this._options.steps.push(e), this;
999
+ }, t.prototype.addSteps = function(e) {
1000
+ if (!e.length)
1001
+ return this;
1002
+ for (var n = 0; n < e.length; n++)
1003
+ this.addStep(e[n]);
1004
+ return this;
1005
+ }, t.prototype.goToStepNumber = function(e) {
1006
+ return f(this, void 0, void 0, function() {
1007
+ return g(this, function(n) {
1008
+ switch (n.label) {
1009
+ case 0:
1010
+ return [4, he(this, e)];
1011
+ case 1:
1012
+ return n.sent(), [2, this];
1013
+ }
1014
+ });
1015
+ });
1016
+ }, t.prototype.nextStep = function() {
1017
+ return f(this, void 0, void 0, function() {
1018
+ return g(this, function(e) {
1019
+ switch (e.label) {
1020
+ case 0:
1021
+ return [4, F(this)];
1022
+ case 1:
1023
+ return e.sent(), [2, this];
1024
+ }
1025
+ });
1026
+ });
1027
+ }, t.prototype.previousStep = function() {
1028
+ return f(this, void 0, void 0, function() {
1029
+ return g(this, function(e) {
1030
+ switch (e.label) {
1031
+ case 0:
1032
+ return [4, st(this)];
1033
+ case 1:
1034
+ return e.sent(), [2, this];
1035
+ }
1036
+ });
1037
+ });
1038
+ }, t.prototype.currentStep = function() {
1039
+ return this._currentStep;
1040
+ }, t.prototype.exit = function(e) {
1041
+ return f(this, void 0, void 0, function() {
1042
+ return g(this, function(n) {
1043
+ switch (n.label) {
1044
+ case 0:
1045
+ return [4, G(this, this._targetElement, e)];
1046
+ case 1:
1047
+ return n.sent(), [2, this];
1048
+ }
1049
+ });
1050
+ });
1051
+ }, t.prototype.refresh = function(e) {
1052
+ return Ht(this, e), this;
1053
+ }, t.prototype.setDontShowAgain = function(e) {
1054
+ return ue(this, e), this;
1055
+ }, t.prototype.onbeforechange = function(e) {
1056
+ if (!y(e))
1057
+ throw new Error("Provided callback for onbeforechange was not a function");
1058
+ return this._introBeforeChangeCallback = e, this;
1059
+ }, t.prototype.onchange = function(e) {
1060
+ if (!y(e))
1061
+ throw new Error("Provided callback for onchange was not a function.");
1062
+ return this._introChangeCallback = e, this;
1063
+ }, t.prototype.onafterchange = function(e) {
1064
+ if (!y(e))
1065
+ throw new Error("Provided callback for onafterchange was not a function");
1066
+ return this._introAfterChangeCallback = e, this;
1067
+ }, t.prototype.oncomplete = function(e) {
1068
+ if (!y(e))
1069
+ throw new Error("Provided callback for oncomplete was not a function.");
1070
+ return this._introCompleteCallback = e, this;
1071
+ }, t.prototype.onhintsadded = function(e) {
1072
+ if (!y(e))
1073
+ throw new Error("Provided callback for onhintsadded was not a function.");
1074
+ return this._hintsAddedCallback = e, this;
1075
+ }, t.prototype.onhintclick = function(e) {
1076
+ if (!y(e))
1077
+ throw new Error("Provided callback for onhintclick was not a function.");
1078
+ return this._hintClickCallback = e, this;
1079
+ }, t.prototype.onhintclose = function(e) {
1080
+ if (!y(e))
1081
+ throw new Error("Provided callback for onhintclose was not a function.");
1082
+ return this._hintCloseCallback = e, this;
1083
+ }, t.prototype.onstart = function(e) {
1084
+ if (!y(e))
1085
+ throw new Error("Provided callback for onstart was not a function.");
1086
+ return this._introStartCallback = e, this;
1087
+ }, t.prototype.onexit = function(e) {
1088
+ if (!y(e))
1089
+ throw new Error("Provided callback for onexit was not a function.");
1090
+ return this._introExitCallback = e, this;
1091
+ }, t.prototype.onskip = function(e) {
1092
+ if (!y(e))
1093
+ throw new Error("Provided callback for onskip was not a function.");
1094
+ return this._introSkipCallback = e, this;
1095
+ }, t.prototype.onbeforeexit = function(e) {
1096
+ if (!y(e))
1097
+ throw new Error("Provided callback for onbeforeexit was not a function.");
1098
+ return this._introBeforeExitCallback = e, this;
1099
+ }, t.prototype.addHints = function() {
1100
+ return f(this, void 0, void 0, function() {
1101
+ return g(this, function(e) {
1102
+ switch (e.label) {
1103
+ case 0:
1104
+ return [4, Rt(this, this._targetElement)];
1105
+ case 1:
1106
+ return e.sent(), [2, this];
1107
+ }
1108
+ });
1109
+ });
1110
+ }, t.prototype.hideHint = function(e) {
1111
+ return f(this, void 0, void 0, function() {
1112
+ return g(this, function(n) {
1113
+ switch (n.label) {
1114
+ case 0:
1115
+ return [4, _t(this, e)];
1116
+ case 1:
1117
+ return n.sent(), [2, this];
1118
+ }
1119
+ });
1120
+ });
1121
+ }, t.prototype.hideHints = function() {
1122
+ return f(this, void 0, void 0, function() {
1123
+ return g(this, function(e) {
1124
+ switch (e.label) {
1125
+ case 0:
1126
+ return [4, me(this)];
1127
+ case 1:
1128
+ return e.sent(), [2, this];
1129
+ }
1130
+ });
1131
+ });
1132
+ }, t.prototype.showHint = function(e) {
1133
+ return Mt(e), this;
1134
+ }, t.prototype.showHints = function() {
1135
+ return f(this, void 0, void 0, function() {
1136
+ return g(this, function(e) {
1137
+ switch (e.label) {
1138
+ case 0:
1139
+ return [4, fe(this)];
1140
+ case 1:
1141
+ return e.sent(), [2, this];
1142
+ }
1143
+ });
1144
+ });
1145
+ }, t.prototype.removeHints = function() {
1146
+ return function(e) {
1147
+ for (var n = 0, o = Y(".introjs-hint"); n < o.length; n++) {
1148
+ var i = o[n].getAttribute("data-step");
1149
+ i && At(parseInt(i, 10));
1150
+ }
1151
+ L.off(document, "click", lt, e, !1), L.off(window, "resize", ct, e, !0), e._hintsAutoRefreshFunction && L.off(window, "scroll", e._hintsAutoRefreshFunction, e, !0);
1152
+ }(this), this;
1153
+ }, t.prototype.removeHint = function(e) {
1154
+ return At(e), this;
1155
+ }, t.prototype.showHintDialog = function(e) {
1156
+ return f(this, void 0, void 0, function() {
1157
+ return g(this, function(n) {
1158
+ switch (n.label) {
1159
+ case 0:
1160
+ return [4, Pt(this, e)];
1161
+ case 1:
1162
+ return n.sent(), [2, this];
1163
+ }
1164
+ });
1165
+ });
1166
+ }, t;
1167
+ }(), mt = function t(e) {
1168
+ var n;
1169
+ if (it(e) === "object")
1170
+ n = new dt(e);
1171
+ else if (typeof e == "string") {
1172
+ var o = document.querySelector(e);
1173
+ if (!o)
1174
+ throw new Error("There is no element with given selector.");
1175
+ n = new dt(o);
1176
+ } else
1177
+ n = new dt(document.body);
1178
+ return t.instances[ht(n, "introjs-instance")] = n, n;
1179
+ };
1180
+ mt.version = "7.2.0", mt.instances = {};
1181
+ const ve = () => {
1182
+ const { prefixVar: t } = le(""), e = J(`${t}-online-newAddBtn`), n = J(`${t}-online-customBtn`), o = J(`${t}-online-enhanceJsBtn`), i = J(`${t}-online-enhanceSqlBtn`), r = J(`${t}-online-enhanceJavaBtn`), s = J(`${t}-online-exportDbBtn`), a = J(`${t}-online-codeGenerator`), c = `${t}-online-guide`, u = () => {
1183
+ let l = mt();
1184
+ l.setOptions({
1185
+ nextLabel: "下一步",
1186
+ prevLabel: "上一步",
1187
+ //skipLabel: '跳过',
1188
+ doneLabel: "完成",
1189
+ steps: [
1190
+ {
1191
+ title: "第一步",
1192
+ element: document.querySelector(`.${e.value}`),
1193
+ intro: "点击<strong>新增</strong>按钮,新建一个表。"
1194
+ },
1195
+ {
1196
+ title: "第二步",
1197
+ intro: '在列表中找到刚才新建数据,在操作列点击<strong>"更多"</strong>,选择<strong>"同步数据库"</strong>。'
1198
+ },
1199
+ {
1200
+ title: "第三步",
1201
+ intro: '在列表中找到刚才新建数据,在操作列点击<strong>"更多"</strong>,选择<strong>"功能测试"</strong>。'
1202
+ },
1203
+ {
1204
+ title: "代码生成",
1205
+ element: document.querySelector(`.${a.value}`),
1206
+ intro: "选中一条记录,通过代码生成可将已配置好的表单,一键生成前后端代码,复杂需求可在此基础上进行二次开发。"
1207
+ },
1208
+ {
1209
+ title: "自定义按钮",
1210
+ element: document.querySelector(`.${n.value}`),
1211
+ intro: '选中一条记录,点击自定义按钮,配置按钮相关信息即可在当前记录的<strong>"功能测试"</strong>页面新增一个按钮'
1212
+ },
1213
+ {
1214
+ title: "JS强增",
1215
+ element: document.querySelector(`.${o.value}`),
1216
+ intro: '选中一条记录,通过js增强可为<strong>"自定义按钮"</strong>添加不同操作,可操作列表和表单数据等,也可以添加表单前置事件。'
1217
+ },
1218
+ {
1219
+ title: "SQL增强",
1220
+ element: document.querySelector(`.${i.value}`),
1221
+ intro: "选中一条记录,通过增强SQL,可以关联修改业务数据。"
1222
+ },
1223
+ {
1224
+ title: "java增强",
1225
+ element: document.querySelector(`.${r.value}`),
1226
+ intro: "选中一条记录,通过Java增强可在表单的增加、修改、和删除数据时实现额外的功能,类似spring中的AOP切面编程。"
1227
+ },
1228
+ {
1229
+ title: "导入数据库表",
1230
+ element: document.querySelector(`.${s.value}`),
1231
+ intro: "可将已有数据库中的表,直接导入生成表单。"
1232
+ }
1233
+ ]
1234
+ }), l.start();
1235
+ };
1236
+ return $t(() => {
1237
+ localStorage.getItem(c) || setTimeout(() => {
1238
+ u(), localStorage.setItem(c, "1");
1239
+ }, 2e3);
1240
+ }), {
1241
+ newAddBtn: e,
1242
+ customBtn: n,
1243
+ enhanceJsBtn: o,
1244
+ enhanceSqlBtn: i,
1245
+ exportDbBtn: s,
1246
+ enhanceJavaBtn: r,
1247
+ codeGeneratorBtn: a
1248
+ };
1249
+ }, ye = Ft({
1250
+ name: "CgformIndex",
1251
+ components: {
1252
+ BasicTable: Wt,
1253
+ TableAction: Yt,
1254
+ CgformModal: Kt,
1255
+ DbToOnlineModal: Xt,
1256
+ CodeGeneratorModal: Qt,
1257
+ CustomButtonList: Ut,
1258
+ EnhanceJsModal: Zt,
1259
+ EnhanceJavaModal: te,
1260
+ EnhanceSqlModal: ee,
1261
+ AuthManagerDrawer: ne,
1262
+ AuthSetterModal: oe
1263
+ },
1264
+ setup() {
1265
+ const {
1266
+ pageContext: t,
1267
+ onAdd: e,
1268
+ onSuccess: n,
1269
+ onDeleteBatch: o,
1270
+ onImportDbTable: i,
1271
+ onGenerateCode: r,
1272
+ onShowCustomButton: s,
1273
+ onShowEnhanceJs: a,
1274
+ onShowEnhanceSql: c,
1275
+ onShowEnhanceJava: u,
1276
+ getTableAction: l,
1277
+ getDropDownAction: p,
1278
+ registerAuthManagerDrawer: m,
1279
+ registerAuthSetterModal: b,
1280
+ registerCustomButtonModal: v,
1281
+ registerEnhanceJsModal: C,
1282
+ registerEnhanceSqlModal: w,
1283
+ registerEnhanceJavaModal: j,
1284
+ registerCgformModal: N,
1285
+ registerDbToOnlineModal: M,
1286
+ registerCodeGeneratorModal: T
1287
+ } = ie({
1288
+ pageType: re.normal,
1289
+ designScope: "online-cgform-list",
1290
+ columns: se,
1291
+ formSchemas: ae
1292
+ }), { prefixCls: P, tableContext: x } = t, [U, { reload: V }, { rowSelection: z, selectedRowKeys: K }] = x, {
1293
+ newAddBtn: H,
1294
+ customBtn: d,
1295
+ enhanceJsBtn: S,
1296
+ enhanceSqlBtn: k,
1297
+ exportDbBtn: O,
1298
+ enhanceJavaBtn: Z,
1299
+ codeGeneratorBtn: Jt
1300
+ } = ve();
1301
+ return {
1302
+ prefixCls: P,
1303
+ reload: V,
1304
+ rowSelection: z,
1305
+ selectedRowKeys: K,
1306
+ onAdd: e,
1307
+ onSuccess: n,
1308
+ onDeleteBatch: o,
1309
+ onImportDbTable: i,
1310
+ onGenerateCode: r,
1311
+ onShowCustomButton: s,
1312
+ onShowEnhanceJs: a,
1313
+ onShowEnhanceSql: c,
1314
+ onShowEnhanceJava: u,
1315
+ getTableAction: l,
1316
+ getDropDownAction: p,
1317
+ registerAuthManagerDrawer: m,
1318
+ registerAuthSetterModal: b,
1319
+ registerCustomButtonModal: v,
1320
+ registerEnhanceJsModal: C,
1321
+ registerEnhanceSqlModal: w,
1322
+ registerEnhanceJavaModal: j,
1323
+ registerTable: U,
1324
+ registerCgformModal: N,
1325
+ registerDbToOnlineModal: M,
1326
+ registerCodeGeneratorModal: T,
1327
+ newAddBtn: H,
1328
+ customBtn: d,
1329
+ enhanceJsBtn: S,
1330
+ enhanceSqlBtn: k,
1331
+ enhanceJavaBtn: Z,
1332
+ exportDbBtn: O,
1333
+ codeGeneratorBtn: Jt
1334
+ };
1335
+ }
1336
+ }), _e = /* @__PURE__ */ ft("span", null, "删除", -1), we = /* @__PURE__ */ ft("span", null, "批量操作", -1), Ce = {
1337
+ key: 0,
1338
+ style: { color: "limegreen" }
1339
+ }, Se = {
1340
+ key: 1,
1341
+ style: { color: "red" }
1342
+ };
1343
+ function ke(t, e, n, o, i, r) {
1344
+ const s = A("a-button"), a = A("a-icon"), c = A("a-menu-item"), u = A("a-menu"), l = A("a-dropdown"), p = A("TableAction"), m = A("BasicTable"), b = A("CgformModal"), v = A("DbToOnlineModal"), C = A("CodeGeneratorModal"), w = A("CustomButtonList"), j = A("EnhanceJsModal"), N = A("EnhanceJavaModal"), M = A("EnhanceSqlModal"), T = A("AuthManagerDrawer"), P = A("AuthSetterModal");
1345
+ return tt(), ut(Gt, null, [
1346
+ ft("div", {
1347
+ class: R(t.prefixCls)
1348
+ }, [
1349
+ _(m, Vt({
1350
+ onRegister: t.registerTable,
1351
+ rowSelection: t.rowSelection
1352
+ }, t.$attrs), {
1353
+ tableTitle: E(() => [
1354
+ _(s, {
1355
+ class: R(t.newAddBtn),
1356
+ onClick: t.onAdd,
1357
+ type: "primary",
1358
+ preIcon: "ant-design:plus"
1359
+ }, {
1360
+ default: E(() => [
1361
+ $("新增")
1362
+ ]),
1363
+ _: 1
1364
+ }, 8, ["class", "onClick"]),
1365
+ _(s, {
1366
+ class: R(t.customBtn),
1367
+ onClick: t.onShowCustomButton,
1368
+ type: "primary",
1369
+ preIcon: "ant-design:highlight"
1370
+ }, {
1371
+ default: E(() => [
1372
+ $("自定义按钮")
1373
+ ]),
1374
+ _: 1
1375
+ }, 8, ["class", "onClick"]),
1376
+ _(s, {
1377
+ class: R(t.enhanceJsBtn),
1378
+ onClick: t.onShowEnhanceJs,
1379
+ type: "primary",
1380
+ preIcon: "ant-design:strikethrough"
1381
+ }, {
1382
+ default: E(() => [
1383
+ $("JS增强")
1384
+ ]),
1385
+ _: 1
1386
+ }, 8, ["class", "onClick"]),
1387
+ _(s, {
1388
+ class: R(t.enhanceSqlBtn),
1389
+ onClick: t.onShowEnhanceSql,
1390
+ type: "primary",
1391
+ preIcon: "ant-design:filter"
1392
+ }, {
1393
+ default: E(() => [
1394
+ $(" SQL增强 ")
1395
+ ]),
1396
+ _: 1
1397
+ }, 8, ["class", "onClick"]),
1398
+ _(s, {
1399
+ class: R(t.enhanceJavaBtn),
1400
+ onClick: t.onShowEnhanceJava,
1401
+ type: "primary",
1402
+ preIcon: "ant-design:tool"
1403
+ }, {
1404
+ default: E(() => [
1405
+ $("JAVA增强")
1406
+ ]),
1407
+ _: 1
1408
+ }, 8, ["class", "onClick"]),
1409
+ _(s, {
1410
+ class: R(t.exportDbBtn),
1411
+ onClick: t.onImportDbTable,
1412
+ type: "primary",
1413
+ preIcon: "ant-design:database"
1414
+ }, {
1415
+ default: E(() => [
1416
+ $("导入数据库表")
1417
+ ]),
1418
+ _: 1
1419
+ }, 8, ["class", "onClick"]),
1420
+ _(s, {
1421
+ class: R(t.codeGeneratorBtn),
1422
+ onClick: t.onGenerateCode,
1423
+ type: "primary",
1424
+ preIcon: "bx:bx-code-alt"
1425
+ }, {
1426
+ default: E(() => [
1427
+ $(" 代码生成 ")
1428
+ ]),
1429
+ _: 1
1430
+ }, 8, ["class", "onClick"]),
1431
+ t.selectedRowKeys.length > 0 ? (tt(), zt(l, { key: 0 }, {
1432
+ overlay: E(() => [
1433
+ _(u, null, {
1434
+ default: E(() => [
1435
+ _(c, {
1436
+ key: "1",
1437
+ onClick: t.onDeleteBatch
1438
+ }, {
1439
+ default: E(() => [
1440
+ _(a, { type: "delete" }),
1441
+ _e
1442
+ ]),
1443
+ _: 1
1444
+ }, 8, ["onClick"])
1445
+ ]),
1446
+ _: 1
1447
+ })
1448
+ ]),
1449
+ default: E(() => [
1450
+ _(s, null, {
1451
+ default: E(() => [
1452
+ we,
1453
+ _(a, { type: "down" })
1454
+ ]),
1455
+ _: 1
1456
+ })
1457
+ ]),
1458
+ _: 1
1459
+ })) : pt("", !0)
1460
+ ]),
1461
+ dbSync: E(({ text: x }) => [
1462
+ x === "Y" ? (tt(), ut("span", Ce, "已同步")) : pt("", !0),
1463
+ x === "N" ? (tt(), ut("span", Se, "未同步")) : pt("", !0)
1464
+ ]),
1465
+ action: E(({ record: x }) => [
1466
+ _(p, {
1467
+ actions: t.getTableAction(x),
1468
+ dropDownActions: t.getDropDownAction(x)
1469
+ }, null, 8, ["actions", "dropDownActions"])
1470
+ ]),
1471
+ _: 1
1472
+ }, 16, ["onRegister", "rowSelection"])
1473
+ ], 2),
1474
+ _(b, {
1475
+ onRegister: t.registerCgformModal,
1476
+ onSuccess: t.onSuccess
1477
+ }, null, 8, ["onRegister", "onSuccess"]),
1478
+ _(v, {
1479
+ onRegister: t.registerDbToOnlineModal,
1480
+ onSuccess: t.onSuccess
1481
+ }, null, 8, ["onRegister", "onSuccess"]),
1482
+ _(C, { onRegister: t.registerCodeGeneratorModal }, null, 8, ["onRegister"]),
1483
+ _(w, { onRegister: t.registerCustomButtonModal }, null, 8, ["onRegister"]),
1484
+ _(j, { onRegister: t.registerEnhanceJsModal }, null, 8, ["onRegister"]),
1485
+ _(N, { onRegister: t.registerEnhanceJavaModal }, null, 8, ["onRegister"]),
1486
+ _(M, { onRegister: t.registerEnhanceSqlModal }, null, 8, ["onRegister"]),
1487
+ _(T, { onRegister: t.registerAuthManagerDrawer }, null, 8, ["onRegister"]),
1488
+ _(P, { onRegister: t.registerAuthSetterModal }, null, 8, ["onRegister"])
1489
+ ], 64);
1490
+ }
1491
+ const uo = /* @__PURE__ */ ce(ye, [["render", ke]]);
1492
+ export {
1493
+ uo as default
1494
+ };