@scrippsproduct/networks-ui-library 1.0.23 → 1.1.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Form.module-DbpB9u1l.mjs → Form.module-Cd8qH2rj.mjs} +1 -1
- package/dist/{ResultsTable.module-nTlGw9Lh.mjs → ResultsTable.module-B7M9y7hd.mjs} +1 -5
- package/dist/_commonjsHelpers-C6fGbg64.mjs +6 -0
- package/dist/{add-FrnMPwwO.mjs → add-UWUc_nrO.mjs} +2 -2
- package/dist/{addMonths-BDf46gmB.mjs → addMonths-FatsTLmU.mjs} +1 -1
- package/dist/assets/AdBlock.css +1 -1
- package/dist/assets/ChannelSearch.css +1 -1
- package/dist/assets/DateNavigation.css +1 -1
- package/dist/assets/DatePicker.css +1 -1
- package/dist/assets/DeviceAndPlatformLists.css +1 -1
- package/dist/assets/EqualSizeFlexRow.css +1 -1
- package/dist/assets/EqualSizeGrid.css +1 -1
- package/dist/assets/FeaturedList.css +1 -1
- package/dist/assets/FindUs.css +1 -1
- package/dist/assets/Form.css +1 -1
- package/dist/assets/GridList.css +1 -1
- package/dist/assets/IONShowHero.css +1 -1
- package/dist/assets/ImageCard.css +1 -1
- package/dist/assets/LogoListItem.css +1 -1
- package/dist/assets/ModalContainer.css +1 -1
- package/dist/assets/PageHero.css +1 -1
- package/dist/assets/ProgramAirdate.css +1 -1
- package/dist/assets/PromotionBlock.css +1 -1
- package/dist/assets/ResultsTable.css +1 -1
- package/dist/{chevron-left-DmvQntvu.mjs → chevron-left-DRvpaLmK.mjs} +1 -1
- package/dist/{chevron-right-CaAz6ISN.mjs → chevron-right-C8yCnmfx.mjs} +1 -1
- package/dist/components/AirDateFormatter/AirDateFormatter.js +3 -3
- package/dist/components/BasicGridModule/BasicGridModule.js +25 -25
- package/dist/components/Carousel/Carousel.js +8 -8
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.js +1 -1
- package/dist/components/CastInfoLayout/CastInfoLayout.js +1 -1
- package/dist/components/ChannelSearch/ChannelSearch.js +12 -12
- package/dist/components/Concat/Concat.js +1 -1
- package/dist/components/CtaBlock/CtaBlock.js +2 -2
- package/dist/components/CustomDataList/CustomDataList.js +44 -47
- package/dist/components/CustomSelect/CustomSelect.js +5 -5
- package/dist/components/DateNavigation/DateNavigation.js +7 -8
- package/dist/components/DatePicker/DatePicker.js +2527 -2452
- package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.js +1 -1
- package/dist/components/DrawerNavigation/DrawerNavigation.js +27 -29
- package/dist/components/ErrorHandler/ErrorHandler.js +1 -1
- package/dist/components/FeaturedList/FeaturedList.js +7 -7
- package/dist/components/Figure/Figure.js +1 -1
- package/dist/components/FindUs/FindUs.js +6 -6
- package/dist/components/GenericList/GenericList.js +1 -1
- package/dist/components/GetAirdateWrapper/GetAirdateWrapper.js +6 -6
- package/dist/components/ImageCard/ImageCard.js +6 -6
- package/dist/components/ImageCard/ImageCardCore.js +1 -1
- package/dist/components/InfoPanel/InfoPanel.js +15 -16
- package/dist/components/InlineNavigation/InlineNavigation.js +6 -7
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/InstructionsList/InstructionsList.js +1 -1
- package/dist/components/Loading/Loading.js +5 -8
- package/dist/components/ModalContainer/ModalContainer.js +41 -44
- package/dist/components/Overlay/Overlay.js +17 -20
- package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.js +1 -1
- package/dist/components/ProgramAirdate/ProgramAirdate.js +9 -9
- package/dist/components/PromotionBlock/PromotionBlock.js +15 -17
- package/dist/components/PromotionsRowModule/PromotionsRowModule.js +8 -8
- package/dist/components/ResultsTable/ResultsTable.js +7 -7
- package/dist/components/ResultsTableBody/ResultsTableBody.js +1 -1
- package/dist/components/ResultsTableHeader/ResultsTableHeader.js +1 -1
- package/dist/components/ScheduleLayout/ScheduleLayout.js +2 -2
- package/dist/components/ScheduleList/ScheduleList.js +8 -8
- package/dist/components/ScheduleList/schedule-list-items/MovieItem.js +10 -10
- package/dist/components/ScheduleList/schedule-list-items/SeriesItem.js +8 -8
- package/dist/components/ScheduleList/schedule-list-items/SportsItem.js +8 -8
- package/dist/components/SectionedContent/SectionedContent.js +13 -16
- package/dist/components/Select/Select.js +1 -1
- package/dist/components/ShowAboutContent/ShowAboutContent.js +1 -1
- package/dist/components/ShowAboutLayout/ShowAboutLayout.js +24 -25
- package/dist/components/SocialLinks/SocialLinks.js +3 -3
- package/dist/components/SocialShareBlock/SocialShareBlock.js +8 -8
- package/dist/components/StringList/StringList.js +1 -1
- package/dist/components/TabContent/TabContent.js +1 -1
- package/dist/components/TextArea/TextArea.js +1 -1
- package/dist/components/UpcomingList/UpcomingList.js +8 -8
- package/dist/containers/NowPlayingContainer.js +10 -10
- package/dist/{facebook-osmzgL7R.mjs → facebook-HCcA1M1m.mjs} +1 -1
- package/dist/{format-plq8pBNY.mjs → format-YhWt2D8M.mjs} +78 -12
- package/dist/hooks/useGetSchedule.js +3 -3
- package/dist/hooks/useGetUpcoming.js +2 -2
- package/dist/{index-C8O1hjfH.mjs → index-0wieGV50.mjs} +0 -1
- package/dist/{index-DC7FmJPK.mjs → index-C-kn9Zhn.mjs} +7134 -7069
- package/dist/{index-CZzwT3Oj.mjs → index-DC2JJV3a.mjs} +246 -241
- package/dist/index-VjANCDXC.mjs +1873 -0
- package/dist/{sub-CkNH5u-l.mjs → sub-CoUmnfhv.mjs} +2 -2
- package/dist/{subMonths-nbU1oDhB.mjs → subMonths-BtMU5A9u.mjs} +1 -1
- package/dist/{triangle-D0AHL9lB.mjs → triangle-PcCcGXjr.mjs} +1 -1
- package/dist/utils/analytics.js +434 -423
- package/dist/utils/date-helpers.js +4 -4
- package/dist/utils/getFeaturedList.js +3 -3
- package/dist/utils/getOnNowProgram.js +3 -3
- package/dist/utils/getUpcomingPrograms.js +2 -2
- package/dist/{x-D8_C2o-U.mjs → x-C-QzJ-qD.mjs} +1 -1
- package/package.json +22 -24
- package/dist/_commonjsHelpers-DaMA6jEr.mjs +0 -8
- package/dist/index-B0ARwqly.mjs +0 -1818
- /package/dist/{networks-ui.d.ts → secl-ui.d.ts} +0 -0
|
@@ -0,0 +1,1873 @@
|
|
|
1
|
+
import { g as Re } from "./_commonjsHelpers-C6fGbg64.mjs";
|
|
2
|
+
import me from "react";
|
|
3
|
+
var F = {}, L = {}, z = {}, I = {}, x = {}, W = {}, K;
|
|
4
|
+
function ve() {
|
|
5
|
+
return K || (K = 1, (function(r) {
|
|
6
|
+
Object.defineProperty(r, "__esModule", { value: !0 }), r.Doctype = r.CDATA = r.Tag = r.Style = r.Script = r.Comment = r.Directive = r.Text = r.Root = r.isTag = r.ElementType = void 0;
|
|
7
|
+
var s;
|
|
8
|
+
(function(c) {
|
|
9
|
+
c.Root = "root", c.Text = "text", c.Directive = "directive", c.Comment = "comment", c.Script = "script", c.Style = "style", c.Tag = "tag", c.CDATA = "cdata", c.Doctype = "doctype";
|
|
10
|
+
})(s = r.ElementType || (r.ElementType = {}));
|
|
11
|
+
function d(c) {
|
|
12
|
+
return c.type === s.Tag || c.type === s.Script || c.type === s.Style;
|
|
13
|
+
}
|
|
14
|
+
r.isTag = d, r.Root = s.Root, r.Text = s.Text, r.Directive = s.Directive, r.Comment = s.Comment, r.Script = s.Script, r.Style = s.Style, r.Tag = s.Tag, r.CDATA = s.CDATA, r.Doctype = s.Doctype;
|
|
15
|
+
})(W)), W;
|
|
16
|
+
}
|
|
17
|
+
var g = {}, J;
|
|
18
|
+
function Q() {
|
|
19
|
+
if (J) return g;
|
|
20
|
+
J = 1;
|
|
21
|
+
var r = g && g.__extends || /* @__PURE__ */ (function() {
|
|
22
|
+
var e = function(i, a) {
|
|
23
|
+
return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(m, R) {
|
|
24
|
+
m.__proto__ = R;
|
|
25
|
+
} || function(m, R) {
|
|
26
|
+
for (var k in R) Object.prototype.hasOwnProperty.call(R, k) && (m[k] = R[k]);
|
|
27
|
+
}, e(i, a);
|
|
28
|
+
};
|
|
29
|
+
return function(i, a) {
|
|
30
|
+
if (typeof a != "function" && a !== null)
|
|
31
|
+
throw new TypeError("Class extends value " + String(a) + " is not a constructor or null");
|
|
32
|
+
e(i, a);
|
|
33
|
+
function m() {
|
|
34
|
+
this.constructor = i;
|
|
35
|
+
}
|
|
36
|
+
i.prototype = a === null ? Object.create(a) : (m.prototype = a.prototype, new m());
|
|
37
|
+
};
|
|
38
|
+
})(), s = g && g.__assign || function() {
|
|
39
|
+
return s = Object.assign || function(e) {
|
|
40
|
+
for (var i, a = 1, m = arguments.length; a < m; a++) {
|
|
41
|
+
i = arguments[a];
|
|
42
|
+
for (var R in i) Object.prototype.hasOwnProperty.call(i, R) && (e[R] = i[R]);
|
|
43
|
+
}
|
|
44
|
+
return e;
|
|
45
|
+
}, s.apply(this, arguments);
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(g, "__esModule", { value: !0 }), g.cloneNode = g.hasChildren = g.isDocument = g.isDirective = g.isComment = g.isText = g.isCDATA = g.isTag = g.Element = g.Document = g.CDATA = g.NodeWithChildren = g.ProcessingInstruction = g.Comment = g.Text = g.DataNode = g.Node = void 0;
|
|
48
|
+
var d = /* @__PURE__ */ ve(), c = (
|
|
49
|
+
/** @class */
|
|
50
|
+
(function() {
|
|
51
|
+
function e() {
|
|
52
|
+
this.parent = null, this.prev = null, this.next = null, this.startIndex = null, this.endIndex = null;
|
|
53
|
+
}
|
|
54
|
+
return Object.defineProperty(e.prototype, "parentNode", {
|
|
55
|
+
// Read-write aliases for properties
|
|
56
|
+
/**
|
|
57
|
+
* Same as {@link parent}.
|
|
58
|
+
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
59
|
+
*/
|
|
60
|
+
get: function() {
|
|
61
|
+
return this.parent;
|
|
62
|
+
},
|
|
63
|
+
set: function(i) {
|
|
64
|
+
this.parent = i;
|
|
65
|
+
},
|
|
66
|
+
enumerable: !1,
|
|
67
|
+
configurable: !0
|
|
68
|
+
}), Object.defineProperty(e.prototype, "previousSibling", {
|
|
69
|
+
/**
|
|
70
|
+
* Same as {@link prev}.
|
|
71
|
+
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
72
|
+
*/
|
|
73
|
+
get: function() {
|
|
74
|
+
return this.prev;
|
|
75
|
+
},
|
|
76
|
+
set: function(i) {
|
|
77
|
+
this.prev = i;
|
|
78
|
+
},
|
|
79
|
+
enumerable: !1,
|
|
80
|
+
configurable: !0
|
|
81
|
+
}), Object.defineProperty(e.prototype, "nextSibling", {
|
|
82
|
+
/**
|
|
83
|
+
* Same as {@link next}.
|
|
84
|
+
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
85
|
+
*/
|
|
86
|
+
get: function() {
|
|
87
|
+
return this.next;
|
|
88
|
+
},
|
|
89
|
+
set: function(i) {
|
|
90
|
+
this.next = i;
|
|
91
|
+
},
|
|
92
|
+
enumerable: !1,
|
|
93
|
+
configurable: !0
|
|
94
|
+
}), e.prototype.cloneNode = function(i) {
|
|
95
|
+
return i === void 0 && (i = !1), C(this, i);
|
|
96
|
+
}, e;
|
|
97
|
+
})()
|
|
98
|
+
);
|
|
99
|
+
g.Node = c;
|
|
100
|
+
var p = (
|
|
101
|
+
/** @class */
|
|
102
|
+
(function(e) {
|
|
103
|
+
r(i, e);
|
|
104
|
+
function i(a) {
|
|
105
|
+
var m = e.call(this) || this;
|
|
106
|
+
return m.data = a, m;
|
|
107
|
+
}
|
|
108
|
+
return Object.defineProperty(i.prototype, "nodeValue", {
|
|
109
|
+
/**
|
|
110
|
+
* Same as {@link data}.
|
|
111
|
+
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
112
|
+
*/
|
|
113
|
+
get: function() {
|
|
114
|
+
return this.data;
|
|
115
|
+
},
|
|
116
|
+
set: function(a) {
|
|
117
|
+
this.data = a;
|
|
118
|
+
},
|
|
119
|
+
enumerable: !1,
|
|
120
|
+
configurable: !0
|
|
121
|
+
}), i;
|
|
122
|
+
})(c)
|
|
123
|
+
);
|
|
124
|
+
g.DataNode = p;
|
|
125
|
+
var h = (
|
|
126
|
+
/** @class */
|
|
127
|
+
(function(e) {
|
|
128
|
+
r(i, e);
|
|
129
|
+
function i() {
|
|
130
|
+
var a = e !== null && e.apply(this, arguments) || this;
|
|
131
|
+
return a.type = d.ElementType.Text, a;
|
|
132
|
+
}
|
|
133
|
+
return Object.defineProperty(i.prototype, "nodeType", {
|
|
134
|
+
get: function() {
|
|
135
|
+
return 3;
|
|
136
|
+
},
|
|
137
|
+
enumerable: !1,
|
|
138
|
+
configurable: !0
|
|
139
|
+
}), i;
|
|
140
|
+
})(p)
|
|
141
|
+
);
|
|
142
|
+
g.Text = h;
|
|
143
|
+
var _ = (
|
|
144
|
+
/** @class */
|
|
145
|
+
(function(e) {
|
|
146
|
+
r(i, e);
|
|
147
|
+
function i() {
|
|
148
|
+
var a = e !== null && e.apply(this, arguments) || this;
|
|
149
|
+
return a.type = d.ElementType.Comment, a;
|
|
150
|
+
}
|
|
151
|
+
return Object.defineProperty(i.prototype, "nodeType", {
|
|
152
|
+
get: function() {
|
|
153
|
+
return 8;
|
|
154
|
+
},
|
|
155
|
+
enumerable: !1,
|
|
156
|
+
configurable: !0
|
|
157
|
+
}), i;
|
|
158
|
+
})(p)
|
|
159
|
+
);
|
|
160
|
+
g.Comment = _;
|
|
161
|
+
var o = (
|
|
162
|
+
/** @class */
|
|
163
|
+
(function(e) {
|
|
164
|
+
r(i, e);
|
|
165
|
+
function i(a, m) {
|
|
166
|
+
var R = e.call(this, m) || this;
|
|
167
|
+
return R.name = a, R.type = d.ElementType.Directive, R;
|
|
168
|
+
}
|
|
169
|
+
return Object.defineProperty(i.prototype, "nodeType", {
|
|
170
|
+
get: function() {
|
|
171
|
+
return 1;
|
|
172
|
+
},
|
|
173
|
+
enumerable: !1,
|
|
174
|
+
configurable: !0
|
|
175
|
+
}), i;
|
|
176
|
+
})(p)
|
|
177
|
+
);
|
|
178
|
+
g.ProcessingInstruction = o;
|
|
179
|
+
var t = (
|
|
180
|
+
/** @class */
|
|
181
|
+
(function(e) {
|
|
182
|
+
r(i, e);
|
|
183
|
+
function i(a) {
|
|
184
|
+
var m = e.call(this) || this;
|
|
185
|
+
return m.children = a, m;
|
|
186
|
+
}
|
|
187
|
+
return Object.defineProperty(i.prototype, "firstChild", {
|
|
188
|
+
// Aliases
|
|
189
|
+
/** First child of the node. */
|
|
190
|
+
get: function() {
|
|
191
|
+
var a;
|
|
192
|
+
return (a = this.children[0]) !== null && a !== void 0 ? a : null;
|
|
193
|
+
},
|
|
194
|
+
enumerable: !1,
|
|
195
|
+
configurable: !0
|
|
196
|
+
}), Object.defineProperty(i.prototype, "lastChild", {
|
|
197
|
+
/** Last child of the node. */
|
|
198
|
+
get: function() {
|
|
199
|
+
return this.children.length > 0 ? this.children[this.children.length - 1] : null;
|
|
200
|
+
},
|
|
201
|
+
enumerable: !1,
|
|
202
|
+
configurable: !0
|
|
203
|
+
}), Object.defineProperty(i.prototype, "childNodes", {
|
|
204
|
+
/**
|
|
205
|
+
* Same as {@link children}.
|
|
206
|
+
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
207
|
+
*/
|
|
208
|
+
get: function() {
|
|
209
|
+
return this.children;
|
|
210
|
+
},
|
|
211
|
+
set: function(a) {
|
|
212
|
+
this.children = a;
|
|
213
|
+
},
|
|
214
|
+
enumerable: !1,
|
|
215
|
+
configurable: !0
|
|
216
|
+
}), i;
|
|
217
|
+
})(c)
|
|
218
|
+
);
|
|
219
|
+
g.NodeWithChildren = t;
|
|
220
|
+
var n = (
|
|
221
|
+
/** @class */
|
|
222
|
+
(function(e) {
|
|
223
|
+
r(i, e);
|
|
224
|
+
function i() {
|
|
225
|
+
var a = e !== null && e.apply(this, arguments) || this;
|
|
226
|
+
return a.type = d.ElementType.CDATA, a;
|
|
227
|
+
}
|
|
228
|
+
return Object.defineProperty(i.prototype, "nodeType", {
|
|
229
|
+
get: function() {
|
|
230
|
+
return 4;
|
|
231
|
+
},
|
|
232
|
+
enumerable: !1,
|
|
233
|
+
configurable: !0
|
|
234
|
+
}), i;
|
|
235
|
+
})(t)
|
|
236
|
+
);
|
|
237
|
+
g.CDATA = n;
|
|
238
|
+
var l = (
|
|
239
|
+
/** @class */
|
|
240
|
+
(function(e) {
|
|
241
|
+
r(i, e);
|
|
242
|
+
function i() {
|
|
243
|
+
var a = e !== null && e.apply(this, arguments) || this;
|
|
244
|
+
return a.type = d.ElementType.Root, a;
|
|
245
|
+
}
|
|
246
|
+
return Object.defineProperty(i.prototype, "nodeType", {
|
|
247
|
+
get: function() {
|
|
248
|
+
return 9;
|
|
249
|
+
},
|
|
250
|
+
enumerable: !1,
|
|
251
|
+
configurable: !0
|
|
252
|
+
}), i;
|
|
253
|
+
})(t)
|
|
254
|
+
);
|
|
255
|
+
g.Document = l;
|
|
256
|
+
var f = (
|
|
257
|
+
/** @class */
|
|
258
|
+
(function(e) {
|
|
259
|
+
r(i, e);
|
|
260
|
+
function i(a, m, R, k) {
|
|
261
|
+
R === void 0 && (R = []), k === void 0 && (k = a === "script" ? d.ElementType.Script : a === "style" ? d.ElementType.Style : d.ElementType.Tag);
|
|
262
|
+
var P = e.call(this, R) || this;
|
|
263
|
+
return P.name = a, P.attribs = m, P.type = k, P;
|
|
264
|
+
}
|
|
265
|
+
return Object.defineProperty(i.prototype, "nodeType", {
|
|
266
|
+
get: function() {
|
|
267
|
+
return 1;
|
|
268
|
+
},
|
|
269
|
+
enumerable: !1,
|
|
270
|
+
configurable: !0
|
|
271
|
+
}), Object.defineProperty(i.prototype, "tagName", {
|
|
272
|
+
// DOM Level 1 aliases
|
|
273
|
+
/**
|
|
274
|
+
* Same as {@link name}.
|
|
275
|
+
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
276
|
+
*/
|
|
277
|
+
get: function() {
|
|
278
|
+
return this.name;
|
|
279
|
+
},
|
|
280
|
+
set: function(a) {
|
|
281
|
+
this.name = a;
|
|
282
|
+
},
|
|
283
|
+
enumerable: !1,
|
|
284
|
+
configurable: !0
|
|
285
|
+
}), Object.defineProperty(i.prototype, "attributes", {
|
|
286
|
+
get: function() {
|
|
287
|
+
var a = this;
|
|
288
|
+
return Object.keys(this.attribs).map(function(m) {
|
|
289
|
+
var R, k;
|
|
290
|
+
return {
|
|
291
|
+
name: m,
|
|
292
|
+
value: a.attribs[m],
|
|
293
|
+
namespace: (R = a["x-attribsNamespace"]) === null || R === void 0 ? void 0 : R[m],
|
|
294
|
+
prefix: (k = a["x-attribsPrefix"]) === null || k === void 0 ? void 0 : k[m]
|
|
295
|
+
};
|
|
296
|
+
});
|
|
297
|
+
},
|
|
298
|
+
enumerable: !1,
|
|
299
|
+
configurable: !0
|
|
300
|
+
}), i;
|
|
301
|
+
})(t)
|
|
302
|
+
);
|
|
303
|
+
g.Element = f;
|
|
304
|
+
function v(e) {
|
|
305
|
+
return (0, d.isTag)(e);
|
|
306
|
+
}
|
|
307
|
+
g.isTag = v;
|
|
308
|
+
function O(e) {
|
|
309
|
+
return e.type === d.ElementType.CDATA;
|
|
310
|
+
}
|
|
311
|
+
g.isCDATA = O;
|
|
312
|
+
function A(e) {
|
|
313
|
+
return e.type === d.ElementType.Text;
|
|
314
|
+
}
|
|
315
|
+
g.isText = A;
|
|
316
|
+
function S(e) {
|
|
317
|
+
return e.type === d.ElementType.Comment;
|
|
318
|
+
}
|
|
319
|
+
g.isComment = S;
|
|
320
|
+
function u(e) {
|
|
321
|
+
return e.type === d.ElementType.Directive;
|
|
322
|
+
}
|
|
323
|
+
g.isDirective = u;
|
|
324
|
+
function E(e) {
|
|
325
|
+
return e.type === d.ElementType.Root;
|
|
326
|
+
}
|
|
327
|
+
g.isDocument = E;
|
|
328
|
+
function y(e) {
|
|
329
|
+
return Object.prototype.hasOwnProperty.call(e, "children");
|
|
330
|
+
}
|
|
331
|
+
g.hasChildren = y;
|
|
332
|
+
function C(e, i) {
|
|
333
|
+
i === void 0 && (i = !1);
|
|
334
|
+
var a;
|
|
335
|
+
if (A(e))
|
|
336
|
+
a = new h(e.data);
|
|
337
|
+
else if (S(e))
|
|
338
|
+
a = new _(e.data);
|
|
339
|
+
else if (v(e)) {
|
|
340
|
+
var m = i ? w(e.children) : [], R = new f(e.name, s({}, e.attribs), m);
|
|
341
|
+
m.forEach(function(X) {
|
|
342
|
+
return X.parent = R;
|
|
343
|
+
}), e.namespace != null && (R.namespace = e.namespace), e["x-attribsNamespace"] && (R["x-attribsNamespace"] = s({}, e["x-attribsNamespace"])), e["x-attribsPrefix"] && (R["x-attribsPrefix"] = s({}, e["x-attribsPrefix"])), a = R;
|
|
344
|
+
} else if (O(e)) {
|
|
345
|
+
var m = i ? w(e.children) : [], k = new n(m);
|
|
346
|
+
m.forEach(function(b) {
|
|
347
|
+
return b.parent = k;
|
|
348
|
+
}), a = k;
|
|
349
|
+
} else if (E(e)) {
|
|
350
|
+
var m = i ? w(e.children) : [], P = new l(m);
|
|
351
|
+
m.forEach(function(b) {
|
|
352
|
+
return b.parent = P;
|
|
353
|
+
}), e["x-mode"] && (P["x-mode"] = e["x-mode"]), a = P;
|
|
354
|
+
} else if (u(e)) {
|
|
355
|
+
var M = new o(e.name, e.data);
|
|
356
|
+
e["x-name"] != null && (M["x-name"] = e["x-name"], M["x-publicId"] = e["x-publicId"], M["x-systemId"] = e["x-systemId"]), a = M;
|
|
357
|
+
} else
|
|
358
|
+
throw new Error("Not implemented yet: ".concat(e.type));
|
|
359
|
+
return a.startIndex = e.startIndex, a.endIndex = e.endIndex, e.sourceCodeLocation != null && (a.sourceCodeLocation = e.sourceCodeLocation), a;
|
|
360
|
+
}
|
|
361
|
+
g.cloneNode = C;
|
|
362
|
+
function w(e) {
|
|
363
|
+
for (var i = e.map(function(m) {
|
|
364
|
+
return C(m, !0);
|
|
365
|
+
}), a = 1; a < i.length; a++)
|
|
366
|
+
i[a].prev = i[a - 1], i[a - 1].next = i[a];
|
|
367
|
+
return i;
|
|
368
|
+
}
|
|
369
|
+
return g;
|
|
370
|
+
}
|
|
371
|
+
var $;
|
|
372
|
+
function ge() {
|
|
373
|
+
return $ || ($ = 1, (function(r) {
|
|
374
|
+
var s = x && x.__createBinding || (Object.create ? (function(o, t, n, l) {
|
|
375
|
+
l === void 0 && (l = n);
|
|
376
|
+
var f = Object.getOwnPropertyDescriptor(t, n);
|
|
377
|
+
(!f || ("get" in f ? !t.__esModule : f.writable || f.configurable)) && (f = { enumerable: !0, get: function() {
|
|
378
|
+
return t[n];
|
|
379
|
+
} }), Object.defineProperty(o, l, f);
|
|
380
|
+
}) : (function(o, t, n, l) {
|
|
381
|
+
l === void 0 && (l = n), o[l] = t[n];
|
|
382
|
+
})), d = x && x.__exportStar || function(o, t) {
|
|
383
|
+
for (var n in o) n !== "default" && !Object.prototype.hasOwnProperty.call(t, n) && s(t, o, n);
|
|
384
|
+
};
|
|
385
|
+
Object.defineProperty(r, "__esModule", { value: !0 }), r.DomHandler = void 0;
|
|
386
|
+
var c = /* @__PURE__ */ ve(), p = /* @__PURE__ */ Q();
|
|
387
|
+
d(/* @__PURE__ */ Q(), r);
|
|
388
|
+
var h = {
|
|
389
|
+
withStartIndices: !1,
|
|
390
|
+
withEndIndices: !1,
|
|
391
|
+
xmlMode: !1
|
|
392
|
+
}, _ = (
|
|
393
|
+
/** @class */
|
|
394
|
+
(function() {
|
|
395
|
+
function o(t, n, l) {
|
|
396
|
+
this.dom = [], this.root = new p.Document(this.dom), this.done = !1, this.tagStack = [this.root], this.lastNode = null, this.parser = null, typeof n == "function" && (l = n, n = h), typeof t == "object" && (n = t, t = void 0), this.callback = t ?? null, this.options = n ?? h, this.elementCB = l ?? null;
|
|
397
|
+
}
|
|
398
|
+
return o.prototype.onparserinit = function(t) {
|
|
399
|
+
this.parser = t;
|
|
400
|
+
}, o.prototype.onreset = function() {
|
|
401
|
+
this.dom = [], this.root = new p.Document(this.dom), this.done = !1, this.tagStack = [this.root], this.lastNode = null, this.parser = null;
|
|
402
|
+
}, o.prototype.onend = function() {
|
|
403
|
+
this.done || (this.done = !0, this.parser = null, this.handleCallback(null));
|
|
404
|
+
}, o.prototype.onerror = function(t) {
|
|
405
|
+
this.handleCallback(t);
|
|
406
|
+
}, o.prototype.onclosetag = function() {
|
|
407
|
+
this.lastNode = null;
|
|
408
|
+
var t = this.tagStack.pop();
|
|
409
|
+
this.options.withEndIndices && (t.endIndex = this.parser.endIndex), this.elementCB && this.elementCB(t);
|
|
410
|
+
}, o.prototype.onopentag = function(t, n) {
|
|
411
|
+
var l = this.options.xmlMode ? c.ElementType.Tag : void 0, f = new p.Element(t, n, void 0, l);
|
|
412
|
+
this.addNode(f), this.tagStack.push(f);
|
|
413
|
+
}, o.prototype.ontext = function(t) {
|
|
414
|
+
var n = this.lastNode;
|
|
415
|
+
if (n && n.type === c.ElementType.Text)
|
|
416
|
+
n.data += t, this.options.withEndIndices && (n.endIndex = this.parser.endIndex);
|
|
417
|
+
else {
|
|
418
|
+
var l = new p.Text(t);
|
|
419
|
+
this.addNode(l), this.lastNode = l;
|
|
420
|
+
}
|
|
421
|
+
}, o.prototype.oncomment = function(t) {
|
|
422
|
+
if (this.lastNode && this.lastNode.type === c.ElementType.Comment) {
|
|
423
|
+
this.lastNode.data += t;
|
|
424
|
+
return;
|
|
425
|
+
}
|
|
426
|
+
var n = new p.Comment(t);
|
|
427
|
+
this.addNode(n), this.lastNode = n;
|
|
428
|
+
}, o.prototype.oncommentend = function() {
|
|
429
|
+
this.lastNode = null;
|
|
430
|
+
}, o.prototype.oncdatastart = function() {
|
|
431
|
+
var t = new p.Text(""), n = new p.CDATA([t]);
|
|
432
|
+
this.addNode(n), t.parent = n, this.lastNode = t;
|
|
433
|
+
}, o.prototype.oncdataend = function() {
|
|
434
|
+
this.lastNode = null;
|
|
435
|
+
}, o.prototype.onprocessinginstruction = function(t, n) {
|
|
436
|
+
var l = new p.ProcessingInstruction(t, n);
|
|
437
|
+
this.addNode(l);
|
|
438
|
+
}, o.prototype.handleCallback = function(t) {
|
|
439
|
+
if (typeof this.callback == "function")
|
|
440
|
+
this.callback(t, this.dom);
|
|
441
|
+
else if (t)
|
|
442
|
+
throw t;
|
|
443
|
+
}, o.prototype.addNode = function(t) {
|
|
444
|
+
var n = this.tagStack[this.tagStack.length - 1], l = n.children[n.children.length - 1];
|
|
445
|
+
this.options.withStartIndices && (t.startIndex = this.parser.startIndex), this.options.withEndIndices && (t.endIndex = this.parser.endIndex), n.children.push(t), l && (t.prev = l, l.next = t), t.parent = n, this.lastNode = null;
|
|
446
|
+
}, o;
|
|
447
|
+
})()
|
|
448
|
+
);
|
|
449
|
+
r.DomHandler = _, r.default = _;
|
|
450
|
+
})(x)), x;
|
|
451
|
+
}
|
|
452
|
+
var Y = {}, ee;
|
|
453
|
+
function be() {
|
|
454
|
+
return ee || (ee = 1, (function(r) {
|
|
455
|
+
Object.defineProperty(r, "__esModule", { value: !0 }), r.CARRIAGE_RETURN_PLACEHOLDER_REGEX = r.CARRIAGE_RETURN_PLACEHOLDER = r.CARRIAGE_RETURN_REGEX = r.CARRIAGE_RETURN = r.CASE_SENSITIVE_TAG_NAMES_MAP = r.CASE_SENSITIVE_TAG_NAMES = void 0, r.CASE_SENSITIVE_TAG_NAMES = [
|
|
456
|
+
"animateMotion",
|
|
457
|
+
"animateTransform",
|
|
458
|
+
"clipPath",
|
|
459
|
+
"feBlend",
|
|
460
|
+
"feColorMatrix",
|
|
461
|
+
"feComponentTransfer",
|
|
462
|
+
"feComposite",
|
|
463
|
+
"feConvolveMatrix",
|
|
464
|
+
"feDiffuseLighting",
|
|
465
|
+
"feDisplacementMap",
|
|
466
|
+
"feDropShadow",
|
|
467
|
+
"feFlood",
|
|
468
|
+
"feFuncA",
|
|
469
|
+
"feFuncB",
|
|
470
|
+
"feFuncG",
|
|
471
|
+
"feFuncR",
|
|
472
|
+
"feGaussianBlur",
|
|
473
|
+
"feImage",
|
|
474
|
+
"feMerge",
|
|
475
|
+
"feMergeNode",
|
|
476
|
+
"feMorphology",
|
|
477
|
+
"feOffset",
|
|
478
|
+
"fePointLight",
|
|
479
|
+
"feSpecularLighting",
|
|
480
|
+
"feSpotLight",
|
|
481
|
+
"feTile",
|
|
482
|
+
"feTurbulence",
|
|
483
|
+
"foreignObject",
|
|
484
|
+
"linearGradient",
|
|
485
|
+
"radialGradient",
|
|
486
|
+
"textPath"
|
|
487
|
+
], r.CASE_SENSITIVE_TAG_NAMES_MAP = r.CASE_SENSITIVE_TAG_NAMES.reduce(function(s, d) {
|
|
488
|
+
return s[d.toLowerCase()] = d, s;
|
|
489
|
+
}, {}), r.CARRIAGE_RETURN = "\r", r.CARRIAGE_RETURN_REGEX = new RegExp(r.CARRIAGE_RETURN, "g"), r.CARRIAGE_RETURN_PLACEHOLDER = "__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(), "__"), r.CARRIAGE_RETURN_PLACEHOLDER_REGEX = new RegExp(r.CARRIAGE_RETURN_PLACEHOLDER, "g");
|
|
490
|
+
})(Y)), Y;
|
|
491
|
+
}
|
|
492
|
+
var te;
|
|
493
|
+
function Ee() {
|
|
494
|
+
if (te) return I;
|
|
495
|
+
te = 1, Object.defineProperty(I, "__esModule", { value: !0 }), I.formatAttributes = c, I.escapeSpecialCharacters = h, I.revertEscapedCharacters = _, I.formatDOM = o;
|
|
496
|
+
var r = /* @__PURE__ */ ge(), s = be();
|
|
497
|
+
function d(t) {
|
|
498
|
+
return s.CASE_SENSITIVE_TAG_NAMES_MAP[t];
|
|
499
|
+
}
|
|
500
|
+
function c(t) {
|
|
501
|
+
for (var n = {}, l = 0, f = t.length; l < f; l++) {
|
|
502
|
+
var v = t[l];
|
|
503
|
+
n[v.name] = v.value;
|
|
504
|
+
}
|
|
505
|
+
return n;
|
|
506
|
+
}
|
|
507
|
+
function p(t) {
|
|
508
|
+
t = t.toLowerCase();
|
|
509
|
+
var n = d(t);
|
|
510
|
+
return n || t;
|
|
511
|
+
}
|
|
512
|
+
function h(t) {
|
|
513
|
+
return t.replace(s.CARRIAGE_RETURN_REGEX, s.CARRIAGE_RETURN_PLACEHOLDER);
|
|
514
|
+
}
|
|
515
|
+
function _(t) {
|
|
516
|
+
return t.replace(s.CARRIAGE_RETURN_PLACEHOLDER_REGEX, s.CARRIAGE_RETURN);
|
|
517
|
+
}
|
|
518
|
+
function o(t, n, l) {
|
|
519
|
+
n === void 0 && (n = null);
|
|
520
|
+
for (var f = [], v, O = 0, A = t.length; O < A; O++) {
|
|
521
|
+
var S = t[O];
|
|
522
|
+
switch (S.nodeType) {
|
|
523
|
+
case 1: {
|
|
524
|
+
var u = p(S.nodeName);
|
|
525
|
+
v = new r.Element(u, c(S.attributes)), v.children = o(
|
|
526
|
+
// template children are on content
|
|
527
|
+
u === "template" ? S.content.childNodes : S.childNodes,
|
|
528
|
+
v
|
|
529
|
+
);
|
|
530
|
+
break;
|
|
531
|
+
}
|
|
532
|
+
case 3:
|
|
533
|
+
v = new r.Text(_(S.nodeValue));
|
|
534
|
+
break;
|
|
535
|
+
case 8:
|
|
536
|
+
v = new r.Comment(S.nodeValue);
|
|
537
|
+
break;
|
|
538
|
+
default:
|
|
539
|
+
continue;
|
|
540
|
+
}
|
|
541
|
+
var E = f[O - 1] || null;
|
|
542
|
+
E && (E.next = v), v.parent = n, v.prev = E, v.next = null, f.push(v);
|
|
543
|
+
}
|
|
544
|
+
return l && (v = new r.ProcessingInstruction(l.substring(0, l.indexOf(" ")).toLowerCase(), l), v.next = f[0] || null, v.parent = n, f.unshift(v), f[1] && (f[1].prev = f[0])), f;
|
|
545
|
+
}
|
|
546
|
+
return I;
|
|
547
|
+
}
|
|
548
|
+
var re;
|
|
549
|
+
function Ce() {
|
|
550
|
+
if (re) return z;
|
|
551
|
+
re = 1, Object.defineProperty(z, "__esModule", { value: !0 }), z.default = S;
|
|
552
|
+
var r = Ee(), s = "html", d = "head", c = "body", p = /<([a-zA-Z]+[0-9]?)/, h = /<head[^]*>/i, _ = /<body[^]*>/i, o = function(u, E) {
|
|
553
|
+
throw new Error("This browser does not support `document.implementation.createHTMLDocument`");
|
|
554
|
+
}, t = function(u, E) {
|
|
555
|
+
throw new Error("This browser does not support `DOMParser.prototype.parseFromString`");
|
|
556
|
+
}, n = typeof window == "object" && window.DOMParser;
|
|
557
|
+
if (typeof n == "function") {
|
|
558
|
+
var l = new n(), f = "text/html";
|
|
559
|
+
t = function(u, E) {
|
|
560
|
+
return E && (u = "<".concat(E, ">").concat(u, "</").concat(E, ">")), l.parseFromString(u, f);
|
|
561
|
+
}, o = t;
|
|
562
|
+
}
|
|
563
|
+
if (typeof document == "object" && document.implementation) {
|
|
564
|
+
var v = document.implementation.createHTMLDocument();
|
|
565
|
+
o = function(u, E) {
|
|
566
|
+
if (E) {
|
|
567
|
+
var y = v.documentElement.querySelector(E);
|
|
568
|
+
return y && (y.innerHTML = u), v;
|
|
569
|
+
}
|
|
570
|
+
return v.documentElement.innerHTML = u, v;
|
|
571
|
+
};
|
|
572
|
+
}
|
|
573
|
+
var O = typeof document == "object" && document.createElement("template"), A;
|
|
574
|
+
O && O.content && (A = function(u) {
|
|
575
|
+
return O.innerHTML = u, O.content.childNodes;
|
|
576
|
+
});
|
|
577
|
+
function S(u) {
|
|
578
|
+
var E, y;
|
|
579
|
+
u = (0, r.escapeSpecialCharacters)(u);
|
|
580
|
+
var C = u.match(p), w = C && C[1] ? C[1].toLowerCase() : "";
|
|
581
|
+
switch (w) {
|
|
582
|
+
case s: {
|
|
583
|
+
var e = t(u);
|
|
584
|
+
if (!h.test(u)) {
|
|
585
|
+
var i = e.querySelector(d);
|
|
586
|
+
(E = i == null ? void 0 : i.parentNode) === null || E === void 0 || E.removeChild(i);
|
|
587
|
+
}
|
|
588
|
+
if (!_.test(u)) {
|
|
589
|
+
var i = e.querySelector(c);
|
|
590
|
+
(y = i == null ? void 0 : i.parentNode) === null || y === void 0 || y.removeChild(i);
|
|
591
|
+
}
|
|
592
|
+
return e.querySelectorAll(s);
|
|
593
|
+
}
|
|
594
|
+
case d:
|
|
595
|
+
case c: {
|
|
596
|
+
var a = o(u).querySelectorAll(w);
|
|
597
|
+
return _.test(u) && h.test(u) ? a[0].parentNode.childNodes : a;
|
|
598
|
+
}
|
|
599
|
+
// low-level tag or text
|
|
600
|
+
default: {
|
|
601
|
+
if (A)
|
|
602
|
+
return A(u);
|
|
603
|
+
var i = o(u, c).querySelector(c);
|
|
604
|
+
return i.childNodes;
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
return z;
|
|
609
|
+
}
|
|
610
|
+
var ne;
|
|
611
|
+
function Ae() {
|
|
612
|
+
if (ne) return L;
|
|
613
|
+
ne = 1;
|
|
614
|
+
var r = L && L.__importDefault || function(h) {
|
|
615
|
+
return h && h.__esModule ? h : { default: h };
|
|
616
|
+
};
|
|
617
|
+
Object.defineProperty(L, "__esModule", { value: !0 }), L.default = p;
|
|
618
|
+
var s = r(Ce()), d = Ee(), c = /<(![a-zA-Z\s]+)>/;
|
|
619
|
+
function p(h) {
|
|
620
|
+
if (typeof h != "string")
|
|
621
|
+
throw new TypeError("First argument must be a string");
|
|
622
|
+
if (!h)
|
|
623
|
+
return [];
|
|
624
|
+
var _ = h.match(c), o = _ ? _[1] : void 0;
|
|
625
|
+
return (0, d.formatDOM)((0, s.default)(h), null, o);
|
|
626
|
+
}
|
|
627
|
+
return L;
|
|
628
|
+
}
|
|
629
|
+
var V = {}, N = {}, G = {}, ie;
|
|
630
|
+
function Se() {
|
|
631
|
+
if (ie) return G;
|
|
632
|
+
ie = 1;
|
|
633
|
+
var r = 0;
|
|
634
|
+
G.SAME = r;
|
|
635
|
+
var s = 1;
|
|
636
|
+
return G.CAMELCASE = s, G.possibleStandardNames = {
|
|
637
|
+
accept: 0,
|
|
638
|
+
acceptCharset: 1,
|
|
639
|
+
"accept-charset": "acceptCharset",
|
|
640
|
+
accessKey: 1,
|
|
641
|
+
action: 0,
|
|
642
|
+
allowFullScreen: 1,
|
|
643
|
+
alt: 0,
|
|
644
|
+
as: 0,
|
|
645
|
+
async: 0,
|
|
646
|
+
autoCapitalize: 1,
|
|
647
|
+
autoComplete: 1,
|
|
648
|
+
autoCorrect: 1,
|
|
649
|
+
autoFocus: 1,
|
|
650
|
+
autoPlay: 1,
|
|
651
|
+
autoSave: 1,
|
|
652
|
+
capture: 0,
|
|
653
|
+
cellPadding: 1,
|
|
654
|
+
cellSpacing: 1,
|
|
655
|
+
challenge: 0,
|
|
656
|
+
charSet: 1,
|
|
657
|
+
checked: 0,
|
|
658
|
+
children: 0,
|
|
659
|
+
cite: 0,
|
|
660
|
+
class: "className",
|
|
661
|
+
classID: 1,
|
|
662
|
+
className: 1,
|
|
663
|
+
cols: 0,
|
|
664
|
+
colSpan: 1,
|
|
665
|
+
content: 0,
|
|
666
|
+
contentEditable: 1,
|
|
667
|
+
contextMenu: 1,
|
|
668
|
+
controls: 0,
|
|
669
|
+
controlsList: 1,
|
|
670
|
+
coords: 0,
|
|
671
|
+
crossOrigin: 1,
|
|
672
|
+
dangerouslySetInnerHTML: 1,
|
|
673
|
+
data: 0,
|
|
674
|
+
dateTime: 1,
|
|
675
|
+
default: 0,
|
|
676
|
+
defaultChecked: 1,
|
|
677
|
+
defaultValue: 1,
|
|
678
|
+
defer: 0,
|
|
679
|
+
dir: 0,
|
|
680
|
+
disabled: 0,
|
|
681
|
+
disablePictureInPicture: 1,
|
|
682
|
+
disableRemotePlayback: 1,
|
|
683
|
+
download: 0,
|
|
684
|
+
draggable: 0,
|
|
685
|
+
encType: 1,
|
|
686
|
+
enterKeyHint: 1,
|
|
687
|
+
for: "htmlFor",
|
|
688
|
+
form: 0,
|
|
689
|
+
formMethod: 1,
|
|
690
|
+
formAction: 1,
|
|
691
|
+
formEncType: 1,
|
|
692
|
+
formNoValidate: 1,
|
|
693
|
+
formTarget: 1,
|
|
694
|
+
frameBorder: 1,
|
|
695
|
+
headers: 0,
|
|
696
|
+
height: 0,
|
|
697
|
+
hidden: 0,
|
|
698
|
+
high: 0,
|
|
699
|
+
href: 0,
|
|
700
|
+
hrefLang: 1,
|
|
701
|
+
htmlFor: 1,
|
|
702
|
+
httpEquiv: 1,
|
|
703
|
+
"http-equiv": "httpEquiv",
|
|
704
|
+
icon: 0,
|
|
705
|
+
id: 0,
|
|
706
|
+
innerHTML: 1,
|
|
707
|
+
inputMode: 1,
|
|
708
|
+
integrity: 0,
|
|
709
|
+
is: 0,
|
|
710
|
+
itemID: 1,
|
|
711
|
+
itemProp: 1,
|
|
712
|
+
itemRef: 1,
|
|
713
|
+
itemScope: 1,
|
|
714
|
+
itemType: 1,
|
|
715
|
+
keyParams: 1,
|
|
716
|
+
keyType: 1,
|
|
717
|
+
kind: 0,
|
|
718
|
+
label: 0,
|
|
719
|
+
lang: 0,
|
|
720
|
+
list: 0,
|
|
721
|
+
loop: 0,
|
|
722
|
+
low: 0,
|
|
723
|
+
manifest: 0,
|
|
724
|
+
marginWidth: 1,
|
|
725
|
+
marginHeight: 1,
|
|
726
|
+
max: 0,
|
|
727
|
+
maxLength: 1,
|
|
728
|
+
media: 0,
|
|
729
|
+
mediaGroup: 1,
|
|
730
|
+
method: 0,
|
|
731
|
+
min: 0,
|
|
732
|
+
minLength: 1,
|
|
733
|
+
multiple: 0,
|
|
734
|
+
muted: 0,
|
|
735
|
+
name: 0,
|
|
736
|
+
noModule: 1,
|
|
737
|
+
nonce: 0,
|
|
738
|
+
noValidate: 1,
|
|
739
|
+
open: 0,
|
|
740
|
+
optimum: 0,
|
|
741
|
+
pattern: 0,
|
|
742
|
+
placeholder: 0,
|
|
743
|
+
playsInline: 1,
|
|
744
|
+
poster: 0,
|
|
745
|
+
preload: 0,
|
|
746
|
+
profile: 0,
|
|
747
|
+
radioGroup: 1,
|
|
748
|
+
readOnly: 1,
|
|
749
|
+
referrerPolicy: 1,
|
|
750
|
+
rel: 0,
|
|
751
|
+
required: 0,
|
|
752
|
+
reversed: 0,
|
|
753
|
+
role: 0,
|
|
754
|
+
rows: 0,
|
|
755
|
+
rowSpan: 1,
|
|
756
|
+
sandbox: 0,
|
|
757
|
+
scope: 0,
|
|
758
|
+
scoped: 0,
|
|
759
|
+
scrolling: 0,
|
|
760
|
+
seamless: 0,
|
|
761
|
+
selected: 0,
|
|
762
|
+
shape: 0,
|
|
763
|
+
size: 0,
|
|
764
|
+
sizes: 0,
|
|
765
|
+
span: 0,
|
|
766
|
+
spellCheck: 1,
|
|
767
|
+
src: 0,
|
|
768
|
+
srcDoc: 1,
|
|
769
|
+
srcLang: 1,
|
|
770
|
+
srcSet: 1,
|
|
771
|
+
start: 0,
|
|
772
|
+
step: 0,
|
|
773
|
+
style: 0,
|
|
774
|
+
summary: 0,
|
|
775
|
+
tabIndex: 1,
|
|
776
|
+
target: 0,
|
|
777
|
+
title: 0,
|
|
778
|
+
type: 0,
|
|
779
|
+
useMap: 1,
|
|
780
|
+
value: 0,
|
|
781
|
+
width: 0,
|
|
782
|
+
wmode: 0,
|
|
783
|
+
wrap: 0,
|
|
784
|
+
about: 0,
|
|
785
|
+
accentHeight: 1,
|
|
786
|
+
"accent-height": "accentHeight",
|
|
787
|
+
accumulate: 0,
|
|
788
|
+
additive: 0,
|
|
789
|
+
alignmentBaseline: 1,
|
|
790
|
+
"alignment-baseline": "alignmentBaseline",
|
|
791
|
+
allowReorder: 1,
|
|
792
|
+
alphabetic: 0,
|
|
793
|
+
amplitude: 0,
|
|
794
|
+
arabicForm: 1,
|
|
795
|
+
"arabic-form": "arabicForm",
|
|
796
|
+
ascent: 0,
|
|
797
|
+
attributeName: 1,
|
|
798
|
+
attributeType: 1,
|
|
799
|
+
autoReverse: 1,
|
|
800
|
+
azimuth: 0,
|
|
801
|
+
baseFrequency: 1,
|
|
802
|
+
baselineShift: 1,
|
|
803
|
+
"baseline-shift": "baselineShift",
|
|
804
|
+
baseProfile: 1,
|
|
805
|
+
bbox: 0,
|
|
806
|
+
begin: 0,
|
|
807
|
+
bias: 0,
|
|
808
|
+
by: 0,
|
|
809
|
+
calcMode: 1,
|
|
810
|
+
capHeight: 1,
|
|
811
|
+
"cap-height": "capHeight",
|
|
812
|
+
clip: 0,
|
|
813
|
+
clipPath: 1,
|
|
814
|
+
"clip-path": "clipPath",
|
|
815
|
+
clipPathUnits: 1,
|
|
816
|
+
clipRule: 1,
|
|
817
|
+
"clip-rule": "clipRule",
|
|
818
|
+
color: 0,
|
|
819
|
+
colorInterpolation: 1,
|
|
820
|
+
"color-interpolation": "colorInterpolation",
|
|
821
|
+
colorInterpolationFilters: 1,
|
|
822
|
+
"color-interpolation-filters": "colorInterpolationFilters",
|
|
823
|
+
colorProfile: 1,
|
|
824
|
+
"color-profile": "colorProfile",
|
|
825
|
+
colorRendering: 1,
|
|
826
|
+
"color-rendering": "colorRendering",
|
|
827
|
+
contentScriptType: 1,
|
|
828
|
+
contentStyleType: 1,
|
|
829
|
+
cursor: 0,
|
|
830
|
+
cx: 0,
|
|
831
|
+
cy: 0,
|
|
832
|
+
d: 0,
|
|
833
|
+
datatype: 0,
|
|
834
|
+
decelerate: 0,
|
|
835
|
+
descent: 0,
|
|
836
|
+
diffuseConstant: 1,
|
|
837
|
+
direction: 0,
|
|
838
|
+
display: 0,
|
|
839
|
+
divisor: 0,
|
|
840
|
+
dominantBaseline: 1,
|
|
841
|
+
"dominant-baseline": "dominantBaseline",
|
|
842
|
+
dur: 0,
|
|
843
|
+
dx: 0,
|
|
844
|
+
dy: 0,
|
|
845
|
+
edgeMode: 1,
|
|
846
|
+
elevation: 0,
|
|
847
|
+
enableBackground: 1,
|
|
848
|
+
"enable-background": "enableBackground",
|
|
849
|
+
end: 0,
|
|
850
|
+
exponent: 0,
|
|
851
|
+
externalResourcesRequired: 1,
|
|
852
|
+
fill: 0,
|
|
853
|
+
fillOpacity: 1,
|
|
854
|
+
"fill-opacity": "fillOpacity",
|
|
855
|
+
fillRule: 1,
|
|
856
|
+
"fill-rule": "fillRule",
|
|
857
|
+
filter: 0,
|
|
858
|
+
filterRes: 1,
|
|
859
|
+
filterUnits: 1,
|
|
860
|
+
floodOpacity: 1,
|
|
861
|
+
"flood-opacity": "floodOpacity",
|
|
862
|
+
floodColor: 1,
|
|
863
|
+
"flood-color": "floodColor",
|
|
864
|
+
focusable: 0,
|
|
865
|
+
fontFamily: 1,
|
|
866
|
+
"font-family": "fontFamily",
|
|
867
|
+
fontSize: 1,
|
|
868
|
+
"font-size": "fontSize",
|
|
869
|
+
fontSizeAdjust: 1,
|
|
870
|
+
"font-size-adjust": "fontSizeAdjust",
|
|
871
|
+
fontStretch: 1,
|
|
872
|
+
"font-stretch": "fontStretch",
|
|
873
|
+
fontStyle: 1,
|
|
874
|
+
"font-style": "fontStyle",
|
|
875
|
+
fontVariant: 1,
|
|
876
|
+
"font-variant": "fontVariant",
|
|
877
|
+
fontWeight: 1,
|
|
878
|
+
"font-weight": "fontWeight",
|
|
879
|
+
format: 0,
|
|
880
|
+
from: 0,
|
|
881
|
+
fx: 0,
|
|
882
|
+
fy: 0,
|
|
883
|
+
g1: 0,
|
|
884
|
+
g2: 0,
|
|
885
|
+
glyphName: 1,
|
|
886
|
+
"glyph-name": "glyphName",
|
|
887
|
+
glyphOrientationHorizontal: 1,
|
|
888
|
+
"glyph-orientation-horizontal": "glyphOrientationHorizontal",
|
|
889
|
+
glyphOrientationVertical: 1,
|
|
890
|
+
"glyph-orientation-vertical": "glyphOrientationVertical",
|
|
891
|
+
glyphRef: 1,
|
|
892
|
+
gradientTransform: 1,
|
|
893
|
+
gradientUnits: 1,
|
|
894
|
+
hanging: 0,
|
|
895
|
+
horizAdvX: 1,
|
|
896
|
+
"horiz-adv-x": "horizAdvX",
|
|
897
|
+
horizOriginX: 1,
|
|
898
|
+
"horiz-origin-x": "horizOriginX",
|
|
899
|
+
ideographic: 0,
|
|
900
|
+
imageRendering: 1,
|
|
901
|
+
"image-rendering": "imageRendering",
|
|
902
|
+
in2: 0,
|
|
903
|
+
in: 0,
|
|
904
|
+
inlist: 0,
|
|
905
|
+
intercept: 0,
|
|
906
|
+
k1: 0,
|
|
907
|
+
k2: 0,
|
|
908
|
+
k3: 0,
|
|
909
|
+
k4: 0,
|
|
910
|
+
k: 0,
|
|
911
|
+
kernelMatrix: 1,
|
|
912
|
+
kernelUnitLength: 1,
|
|
913
|
+
kerning: 0,
|
|
914
|
+
keyPoints: 1,
|
|
915
|
+
keySplines: 1,
|
|
916
|
+
keyTimes: 1,
|
|
917
|
+
lengthAdjust: 1,
|
|
918
|
+
letterSpacing: 1,
|
|
919
|
+
"letter-spacing": "letterSpacing",
|
|
920
|
+
lightingColor: 1,
|
|
921
|
+
"lighting-color": "lightingColor",
|
|
922
|
+
limitingConeAngle: 1,
|
|
923
|
+
local: 0,
|
|
924
|
+
markerEnd: 1,
|
|
925
|
+
"marker-end": "markerEnd",
|
|
926
|
+
markerHeight: 1,
|
|
927
|
+
markerMid: 1,
|
|
928
|
+
"marker-mid": "markerMid",
|
|
929
|
+
markerStart: 1,
|
|
930
|
+
"marker-start": "markerStart",
|
|
931
|
+
markerUnits: 1,
|
|
932
|
+
markerWidth: 1,
|
|
933
|
+
mask: 0,
|
|
934
|
+
maskContentUnits: 1,
|
|
935
|
+
maskUnits: 1,
|
|
936
|
+
mathematical: 0,
|
|
937
|
+
mode: 0,
|
|
938
|
+
numOctaves: 1,
|
|
939
|
+
offset: 0,
|
|
940
|
+
opacity: 0,
|
|
941
|
+
operator: 0,
|
|
942
|
+
order: 0,
|
|
943
|
+
orient: 0,
|
|
944
|
+
orientation: 0,
|
|
945
|
+
origin: 0,
|
|
946
|
+
overflow: 0,
|
|
947
|
+
overlinePosition: 1,
|
|
948
|
+
"overline-position": "overlinePosition",
|
|
949
|
+
overlineThickness: 1,
|
|
950
|
+
"overline-thickness": "overlineThickness",
|
|
951
|
+
paintOrder: 1,
|
|
952
|
+
"paint-order": "paintOrder",
|
|
953
|
+
panose1: 0,
|
|
954
|
+
"panose-1": "panose1",
|
|
955
|
+
pathLength: 1,
|
|
956
|
+
patternContentUnits: 1,
|
|
957
|
+
patternTransform: 1,
|
|
958
|
+
patternUnits: 1,
|
|
959
|
+
pointerEvents: 1,
|
|
960
|
+
"pointer-events": "pointerEvents",
|
|
961
|
+
points: 0,
|
|
962
|
+
pointsAtX: 1,
|
|
963
|
+
pointsAtY: 1,
|
|
964
|
+
pointsAtZ: 1,
|
|
965
|
+
prefix: 0,
|
|
966
|
+
preserveAlpha: 1,
|
|
967
|
+
preserveAspectRatio: 1,
|
|
968
|
+
primitiveUnits: 1,
|
|
969
|
+
property: 0,
|
|
970
|
+
r: 0,
|
|
971
|
+
radius: 0,
|
|
972
|
+
refX: 1,
|
|
973
|
+
refY: 1,
|
|
974
|
+
renderingIntent: 1,
|
|
975
|
+
"rendering-intent": "renderingIntent",
|
|
976
|
+
repeatCount: 1,
|
|
977
|
+
repeatDur: 1,
|
|
978
|
+
requiredExtensions: 1,
|
|
979
|
+
requiredFeatures: 1,
|
|
980
|
+
resource: 0,
|
|
981
|
+
restart: 0,
|
|
982
|
+
result: 0,
|
|
983
|
+
results: 0,
|
|
984
|
+
rotate: 0,
|
|
985
|
+
rx: 0,
|
|
986
|
+
ry: 0,
|
|
987
|
+
scale: 0,
|
|
988
|
+
security: 0,
|
|
989
|
+
seed: 0,
|
|
990
|
+
shapeRendering: 1,
|
|
991
|
+
"shape-rendering": "shapeRendering",
|
|
992
|
+
slope: 0,
|
|
993
|
+
spacing: 0,
|
|
994
|
+
specularConstant: 1,
|
|
995
|
+
specularExponent: 1,
|
|
996
|
+
speed: 0,
|
|
997
|
+
spreadMethod: 1,
|
|
998
|
+
startOffset: 1,
|
|
999
|
+
stdDeviation: 1,
|
|
1000
|
+
stemh: 0,
|
|
1001
|
+
stemv: 0,
|
|
1002
|
+
stitchTiles: 1,
|
|
1003
|
+
stopColor: 1,
|
|
1004
|
+
"stop-color": "stopColor",
|
|
1005
|
+
stopOpacity: 1,
|
|
1006
|
+
"stop-opacity": "stopOpacity",
|
|
1007
|
+
strikethroughPosition: 1,
|
|
1008
|
+
"strikethrough-position": "strikethroughPosition",
|
|
1009
|
+
strikethroughThickness: 1,
|
|
1010
|
+
"strikethrough-thickness": "strikethroughThickness",
|
|
1011
|
+
string: 0,
|
|
1012
|
+
stroke: 0,
|
|
1013
|
+
strokeDasharray: 1,
|
|
1014
|
+
"stroke-dasharray": "strokeDasharray",
|
|
1015
|
+
strokeDashoffset: 1,
|
|
1016
|
+
"stroke-dashoffset": "strokeDashoffset",
|
|
1017
|
+
strokeLinecap: 1,
|
|
1018
|
+
"stroke-linecap": "strokeLinecap",
|
|
1019
|
+
strokeLinejoin: 1,
|
|
1020
|
+
"stroke-linejoin": "strokeLinejoin",
|
|
1021
|
+
strokeMiterlimit: 1,
|
|
1022
|
+
"stroke-miterlimit": "strokeMiterlimit",
|
|
1023
|
+
strokeWidth: 1,
|
|
1024
|
+
"stroke-width": "strokeWidth",
|
|
1025
|
+
strokeOpacity: 1,
|
|
1026
|
+
"stroke-opacity": "strokeOpacity",
|
|
1027
|
+
suppressContentEditableWarning: 1,
|
|
1028
|
+
suppressHydrationWarning: 1,
|
|
1029
|
+
surfaceScale: 1,
|
|
1030
|
+
systemLanguage: 1,
|
|
1031
|
+
tableValues: 1,
|
|
1032
|
+
targetX: 1,
|
|
1033
|
+
targetY: 1,
|
|
1034
|
+
textAnchor: 1,
|
|
1035
|
+
"text-anchor": "textAnchor",
|
|
1036
|
+
textDecoration: 1,
|
|
1037
|
+
"text-decoration": "textDecoration",
|
|
1038
|
+
textLength: 1,
|
|
1039
|
+
textRendering: 1,
|
|
1040
|
+
"text-rendering": "textRendering",
|
|
1041
|
+
to: 0,
|
|
1042
|
+
transform: 0,
|
|
1043
|
+
typeof: 0,
|
|
1044
|
+
u1: 0,
|
|
1045
|
+
u2: 0,
|
|
1046
|
+
underlinePosition: 1,
|
|
1047
|
+
"underline-position": "underlinePosition",
|
|
1048
|
+
underlineThickness: 1,
|
|
1049
|
+
"underline-thickness": "underlineThickness",
|
|
1050
|
+
unicode: 0,
|
|
1051
|
+
unicodeBidi: 1,
|
|
1052
|
+
"unicode-bidi": "unicodeBidi",
|
|
1053
|
+
unicodeRange: 1,
|
|
1054
|
+
"unicode-range": "unicodeRange",
|
|
1055
|
+
unitsPerEm: 1,
|
|
1056
|
+
"units-per-em": "unitsPerEm",
|
|
1057
|
+
unselectable: 0,
|
|
1058
|
+
vAlphabetic: 1,
|
|
1059
|
+
"v-alphabetic": "vAlphabetic",
|
|
1060
|
+
values: 0,
|
|
1061
|
+
vectorEffect: 1,
|
|
1062
|
+
"vector-effect": "vectorEffect",
|
|
1063
|
+
version: 0,
|
|
1064
|
+
vertAdvY: 1,
|
|
1065
|
+
"vert-adv-y": "vertAdvY",
|
|
1066
|
+
vertOriginX: 1,
|
|
1067
|
+
"vert-origin-x": "vertOriginX",
|
|
1068
|
+
vertOriginY: 1,
|
|
1069
|
+
"vert-origin-y": "vertOriginY",
|
|
1070
|
+
vHanging: 1,
|
|
1071
|
+
"v-hanging": "vHanging",
|
|
1072
|
+
vIdeographic: 1,
|
|
1073
|
+
"v-ideographic": "vIdeographic",
|
|
1074
|
+
viewBox: 1,
|
|
1075
|
+
viewTarget: 1,
|
|
1076
|
+
visibility: 0,
|
|
1077
|
+
vMathematical: 1,
|
|
1078
|
+
"v-mathematical": "vMathematical",
|
|
1079
|
+
vocab: 0,
|
|
1080
|
+
widths: 0,
|
|
1081
|
+
wordSpacing: 1,
|
|
1082
|
+
"word-spacing": "wordSpacing",
|
|
1083
|
+
writingMode: 1,
|
|
1084
|
+
"writing-mode": "writingMode",
|
|
1085
|
+
x1: 0,
|
|
1086
|
+
x2: 0,
|
|
1087
|
+
x: 0,
|
|
1088
|
+
xChannelSelector: 1,
|
|
1089
|
+
xHeight: 1,
|
|
1090
|
+
"x-height": "xHeight",
|
|
1091
|
+
xlinkActuate: 1,
|
|
1092
|
+
"xlink:actuate": "xlinkActuate",
|
|
1093
|
+
xlinkArcrole: 1,
|
|
1094
|
+
"xlink:arcrole": "xlinkArcrole",
|
|
1095
|
+
xlinkHref: 1,
|
|
1096
|
+
"xlink:href": "xlinkHref",
|
|
1097
|
+
xlinkRole: 1,
|
|
1098
|
+
"xlink:role": "xlinkRole",
|
|
1099
|
+
xlinkShow: 1,
|
|
1100
|
+
"xlink:show": "xlinkShow",
|
|
1101
|
+
xlinkTitle: 1,
|
|
1102
|
+
"xlink:title": "xlinkTitle",
|
|
1103
|
+
xlinkType: 1,
|
|
1104
|
+
"xlink:type": "xlinkType",
|
|
1105
|
+
xmlBase: 1,
|
|
1106
|
+
"xml:base": "xmlBase",
|
|
1107
|
+
xmlLang: 1,
|
|
1108
|
+
"xml:lang": "xmlLang",
|
|
1109
|
+
xmlns: 0,
|
|
1110
|
+
"xml:space": "xmlSpace",
|
|
1111
|
+
xmlnsXlink: 1,
|
|
1112
|
+
"xmlns:xlink": "xmlnsXlink",
|
|
1113
|
+
xmlSpace: 1,
|
|
1114
|
+
y1: 0,
|
|
1115
|
+
y2: 0,
|
|
1116
|
+
y: 0,
|
|
1117
|
+
yChannelSelector: 1,
|
|
1118
|
+
z: 0,
|
|
1119
|
+
zoomAndPan: 1
|
|
1120
|
+
}, G;
|
|
1121
|
+
}
|
|
1122
|
+
var ae;
|
|
1123
|
+
function Oe() {
|
|
1124
|
+
if (ae) return N;
|
|
1125
|
+
ae = 1;
|
|
1126
|
+
const r = 0, s = 1, d = 2, c = 3, p = 4, h = 5, _ = 6;
|
|
1127
|
+
function o(e) {
|
|
1128
|
+
return n.hasOwnProperty(e) ? n[e] : null;
|
|
1129
|
+
}
|
|
1130
|
+
function t(e, i, a, m, R, k, P) {
|
|
1131
|
+
this.acceptsBooleans = i === d || i === c || i === p, this.attributeName = m, this.attributeNamespace = R, this.mustUseProperty = a, this.propertyName = e, this.type = i, this.sanitizeURL = k, this.removeEmptyString = P;
|
|
1132
|
+
}
|
|
1133
|
+
const n = {};
|
|
1134
|
+
[
|
|
1135
|
+
"children",
|
|
1136
|
+
"dangerouslySetInnerHTML",
|
|
1137
|
+
// TODO: This prevents the assignment of defaultValue to regular
|
|
1138
|
+
// elements (not just inputs). Now that ReactDOMInput assigns to the
|
|
1139
|
+
// defaultValue property -- do we need this?
|
|
1140
|
+
"defaultValue",
|
|
1141
|
+
"defaultChecked",
|
|
1142
|
+
"innerHTML",
|
|
1143
|
+
"suppressContentEditableWarning",
|
|
1144
|
+
"suppressHydrationWarning",
|
|
1145
|
+
"style"
|
|
1146
|
+
].forEach((e) => {
|
|
1147
|
+
n[e] = new t(
|
|
1148
|
+
e,
|
|
1149
|
+
r,
|
|
1150
|
+
!1,
|
|
1151
|
+
// mustUseProperty
|
|
1152
|
+
e,
|
|
1153
|
+
// attributeName
|
|
1154
|
+
null,
|
|
1155
|
+
// attributeNamespace
|
|
1156
|
+
!1,
|
|
1157
|
+
// sanitizeURL
|
|
1158
|
+
!1
|
|
1159
|
+
// removeEmptyString
|
|
1160
|
+
);
|
|
1161
|
+
}), [
|
|
1162
|
+
["acceptCharset", "accept-charset"],
|
|
1163
|
+
["className", "class"],
|
|
1164
|
+
["htmlFor", "for"],
|
|
1165
|
+
["httpEquiv", "http-equiv"]
|
|
1166
|
+
].forEach(([e, i]) => {
|
|
1167
|
+
n[e] = new t(
|
|
1168
|
+
e,
|
|
1169
|
+
s,
|
|
1170
|
+
!1,
|
|
1171
|
+
// mustUseProperty
|
|
1172
|
+
i,
|
|
1173
|
+
// attributeName
|
|
1174
|
+
null,
|
|
1175
|
+
// attributeNamespace
|
|
1176
|
+
!1,
|
|
1177
|
+
// sanitizeURL
|
|
1178
|
+
!1
|
|
1179
|
+
// removeEmptyString
|
|
1180
|
+
);
|
|
1181
|
+
}), ["contentEditable", "draggable", "spellCheck", "value"].forEach((e) => {
|
|
1182
|
+
n[e] = new t(
|
|
1183
|
+
e,
|
|
1184
|
+
d,
|
|
1185
|
+
!1,
|
|
1186
|
+
// mustUseProperty
|
|
1187
|
+
e.toLowerCase(),
|
|
1188
|
+
// attributeName
|
|
1189
|
+
null,
|
|
1190
|
+
// attributeNamespace
|
|
1191
|
+
!1,
|
|
1192
|
+
// sanitizeURL
|
|
1193
|
+
!1
|
|
1194
|
+
// removeEmptyString
|
|
1195
|
+
);
|
|
1196
|
+
}), [
|
|
1197
|
+
"autoReverse",
|
|
1198
|
+
"externalResourcesRequired",
|
|
1199
|
+
"focusable",
|
|
1200
|
+
"preserveAlpha"
|
|
1201
|
+
].forEach((e) => {
|
|
1202
|
+
n[e] = new t(
|
|
1203
|
+
e,
|
|
1204
|
+
d,
|
|
1205
|
+
!1,
|
|
1206
|
+
// mustUseProperty
|
|
1207
|
+
e,
|
|
1208
|
+
// attributeName
|
|
1209
|
+
null,
|
|
1210
|
+
// attributeNamespace
|
|
1211
|
+
!1,
|
|
1212
|
+
// sanitizeURL
|
|
1213
|
+
!1
|
|
1214
|
+
// removeEmptyString
|
|
1215
|
+
);
|
|
1216
|
+
}), [
|
|
1217
|
+
"allowFullScreen",
|
|
1218
|
+
"async",
|
|
1219
|
+
// Note: there is a special case that prevents it from being written to the DOM
|
|
1220
|
+
// on the client side because the browsers are inconsistent. Instead we call focus().
|
|
1221
|
+
"autoFocus",
|
|
1222
|
+
"autoPlay",
|
|
1223
|
+
"controls",
|
|
1224
|
+
"default",
|
|
1225
|
+
"defer",
|
|
1226
|
+
"disabled",
|
|
1227
|
+
"disablePictureInPicture",
|
|
1228
|
+
"disableRemotePlayback",
|
|
1229
|
+
"formNoValidate",
|
|
1230
|
+
"hidden",
|
|
1231
|
+
"loop",
|
|
1232
|
+
"noModule",
|
|
1233
|
+
"noValidate",
|
|
1234
|
+
"open",
|
|
1235
|
+
"playsInline",
|
|
1236
|
+
"readOnly",
|
|
1237
|
+
"required",
|
|
1238
|
+
"reversed",
|
|
1239
|
+
"scoped",
|
|
1240
|
+
"seamless",
|
|
1241
|
+
// Microdata
|
|
1242
|
+
"itemScope"
|
|
1243
|
+
].forEach((e) => {
|
|
1244
|
+
n[e] = new t(
|
|
1245
|
+
e,
|
|
1246
|
+
c,
|
|
1247
|
+
!1,
|
|
1248
|
+
// mustUseProperty
|
|
1249
|
+
e.toLowerCase(),
|
|
1250
|
+
// attributeName
|
|
1251
|
+
null,
|
|
1252
|
+
// attributeNamespace
|
|
1253
|
+
!1,
|
|
1254
|
+
// sanitizeURL
|
|
1255
|
+
!1
|
|
1256
|
+
// removeEmptyString
|
|
1257
|
+
);
|
|
1258
|
+
}), [
|
|
1259
|
+
"checked",
|
|
1260
|
+
// Note: `option.selected` is not updated if `select.multiple` is
|
|
1261
|
+
// disabled with `removeAttribute`. We have special logic for handling this.
|
|
1262
|
+
"multiple",
|
|
1263
|
+
"muted",
|
|
1264
|
+
"selected"
|
|
1265
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
1266
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
1267
|
+
// instead in the assignment below.
|
|
1268
|
+
].forEach((e) => {
|
|
1269
|
+
n[e] = new t(
|
|
1270
|
+
e,
|
|
1271
|
+
c,
|
|
1272
|
+
!0,
|
|
1273
|
+
// mustUseProperty
|
|
1274
|
+
e,
|
|
1275
|
+
// attributeName
|
|
1276
|
+
null,
|
|
1277
|
+
// attributeNamespace
|
|
1278
|
+
!1,
|
|
1279
|
+
// sanitizeURL
|
|
1280
|
+
!1
|
|
1281
|
+
// removeEmptyString
|
|
1282
|
+
);
|
|
1283
|
+
}), [
|
|
1284
|
+
"capture",
|
|
1285
|
+
"download"
|
|
1286
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
1287
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
1288
|
+
// instead in the assignment below.
|
|
1289
|
+
].forEach((e) => {
|
|
1290
|
+
n[e] = new t(
|
|
1291
|
+
e,
|
|
1292
|
+
p,
|
|
1293
|
+
!1,
|
|
1294
|
+
// mustUseProperty
|
|
1295
|
+
e,
|
|
1296
|
+
// attributeName
|
|
1297
|
+
null,
|
|
1298
|
+
// attributeNamespace
|
|
1299
|
+
!1,
|
|
1300
|
+
// sanitizeURL
|
|
1301
|
+
!1
|
|
1302
|
+
// removeEmptyString
|
|
1303
|
+
);
|
|
1304
|
+
}), [
|
|
1305
|
+
"cols",
|
|
1306
|
+
"rows",
|
|
1307
|
+
"size",
|
|
1308
|
+
"span"
|
|
1309
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
1310
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
1311
|
+
// instead in the assignment below.
|
|
1312
|
+
].forEach((e) => {
|
|
1313
|
+
n[e] = new t(
|
|
1314
|
+
e,
|
|
1315
|
+
_,
|
|
1316
|
+
!1,
|
|
1317
|
+
// mustUseProperty
|
|
1318
|
+
e,
|
|
1319
|
+
// attributeName
|
|
1320
|
+
null,
|
|
1321
|
+
// attributeNamespace
|
|
1322
|
+
!1,
|
|
1323
|
+
// sanitizeURL
|
|
1324
|
+
!1
|
|
1325
|
+
// removeEmptyString
|
|
1326
|
+
);
|
|
1327
|
+
}), ["rowSpan", "start"].forEach((e) => {
|
|
1328
|
+
n[e] = new t(
|
|
1329
|
+
e,
|
|
1330
|
+
h,
|
|
1331
|
+
!1,
|
|
1332
|
+
// mustUseProperty
|
|
1333
|
+
e.toLowerCase(),
|
|
1334
|
+
// attributeName
|
|
1335
|
+
null,
|
|
1336
|
+
// attributeNamespace
|
|
1337
|
+
!1,
|
|
1338
|
+
// sanitizeURL
|
|
1339
|
+
!1
|
|
1340
|
+
// removeEmptyString
|
|
1341
|
+
);
|
|
1342
|
+
});
|
|
1343
|
+
const f = /[\-\:]([a-z])/g, v = (e) => e[1].toUpperCase();
|
|
1344
|
+
[
|
|
1345
|
+
"accent-height",
|
|
1346
|
+
"alignment-baseline",
|
|
1347
|
+
"arabic-form",
|
|
1348
|
+
"baseline-shift",
|
|
1349
|
+
"cap-height",
|
|
1350
|
+
"clip-path",
|
|
1351
|
+
"clip-rule",
|
|
1352
|
+
"color-interpolation",
|
|
1353
|
+
"color-interpolation-filters",
|
|
1354
|
+
"color-profile",
|
|
1355
|
+
"color-rendering",
|
|
1356
|
+
"dominant-baseline",
|
|
1357
|
+
"enable-background",
|
|
1358
|
+
"fill-opacity",
|
|
1359
|
+
"fill-rule",
|
|
1360
|
+
"flood-color",
|
|
1361
|
+
"flood-opacity",
|
|
1362
|
+
"font-family",
|
|
1363
|
+
"font-size",
|
|
1364
|
+
"font-size-adjust",
|
|
1365
|
+
"font-stretch",
|
|
1366
|
+
"font-style",
|
|
1367
|
+
"font-variant",
|
|
1368
|
+
"font-weight",
|
|
1369
|
+
"glyph-name",
|
|
1370
|
+
"glyph-orientation-horizontal",
|
|
1371
|
+
"glyph-orientation-vertical",
|
|
1372
|
+
"horiz-adv-x",
|
|
1373
|
+
"horiz-origin-x",
|
|
1374
|
+
"image-rendering",
|
|
1375
|
+
"letter-spacing",
|
|
1376
|
+
"lighting-color",
|
|
1377
|
+
"marker-end",
|
|
1378
|
+
"marker-mid",
|
|
1379
|
+
"marker-start",
|
|
1380
|
+
"overline-position",
|
|
1381
|
+
"overline-thickness",
|
|
1382
|
+
"paint-order",
|
|
1383
|
+
"panose-1",
|
|
1384
|
+
"pointer-events",
|
|
1385
|
+
"rendering-intent",
|
|
1386
|
+
"shape-rendering",
|
|
1387
|
+
"stop-color",
|
|
1388
|
+
"stop-opacity",
|
|
1389
|
+
"strikethrough-position",
|
|
1390
|
+
"strikethrough-thickness",
|
|
1391
|
+
"stroke-dasharray",
|
|
1392
|
+
"stroke-dashoffset",
|
|
1393
|
+
"stroke-linecap",
|
|
1394
|
+
"stroke-linejoin",
|
|
1395
|
+
"stroke-miterlimit",
|
|
1396
|
+
"stroke-opacity",
|
|
1397
|
+
"stroke-width",
|
|
1398
|
+
"text-anchor",
|
|
1399
|
+
"text-decoration",
|
|
1400
|
+
"text-rendering",
|
|
1401
|
+
"underline-position",
|
|
1402
|
+
"underline-thickness",
|
|
1403
|
+
"unicode-bidi",
|
|
1404
|
+
"unicode-range",
|
|
1405
|
+
"units-per-em",
|
|
1406
|
+
"v-alphabetic",
|
|
1407
|
+
"v-hanging",
|
|
1408
|
+
"v-ideographic",
|
|
1409
|
+
"v-mathematical",
|
|
1410
|
+
"vector-effect",
|
|
1411
|
+
"vert-adv-y",
|
|
1412
|
+
"vert-origin-x",
|
|
1413
|
+
"vert-origin-y",
|
|
1414
|
+
"word-spacing",
|
|
1415
|
+
"writing-mode",
|
|
1416
|
+
"xmlns:xlink",
|
|
1417
|
+
"x-height"
|
|
1418
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
1419
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
1420
|
+
// instead in the assignment below.
|
|
1421
|
+
].forEach((e) => {
|
|
1422
|
+
const i = e.replace(f, v);
|
|
1423
|
+
n[i] = new t(
|
|
1424
|
+
i,
|
|
1425
|
+
s,
|
|
1426
|
+
!1,
|
|
1427
|
+
// mustUseProperty
|
|
1428
|
+
e,
|
|
1429
|
+
null,
|
|
1430
|
+
// attributeNamespace
|
|
1431
|
+
!1,
|
|
1432
|
+
// sanitizeURL
|
|
1433
|
+
!1
|
|
1434
|
+
// removeEmptyString
|
|
1435
|
+
);
|
|
1436
|
+
}), [
|
|
1437
|
+
"xlink:actuate",
|
|
1438
|
+
"xlink:arcrole",
|
|
1439
|
+
"xlink:role",
|
|
1440
|
+
"xlink:show",
|
|
1441
|
+
"xlink:title",
|
|
1442
|
+
"xlink:type"
|
|
1443
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
1444
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
1445
|
+
// instead in the assignment below.
|
|
1446
|
+
].forEach((e) => {
|
|
1447
|
+
const i = e.replace(f, v);
|
|
1448
|
+
n[i] = new t(
|
|
1449
|
+
i,
|
|
1450
|
+
s,
|
|
1451
|
+
!1,
|
|
1452
|
+
// mustUseProperty
|
|
1453
|
+
e,
|
|
1454
|
+
"http://www.w3.org/1999/xlink",
|
|
1455
|
+
!1,
|
|
1456
|
+
// sanitizeURL
|
|
1457
|
+
!1
|
|
1458
|
+
// removeEmptyString
|
|
1459
|
+
);
|
|
1460
|
+
}), [
|
|
1461
|
+
"xml:base",
|
|
1462
|
+
"xml:lang",
|
|
1463
|
+
"xml:space"
|
|
1464
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
1465
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
1466
|
+
// instead in the assignment below.
|
|
1467
|
+
].forEach((e) => {
|
|
1468
|
+
const i = e.replace(f, v);
|
|
1469
|
+
n[i] = new t(
|
|
1470
|
+
i,
|
|
1471
|
+
s,
|
|
1472
|
+
!1,
|
|
1473
|
+
// mustUseProperty
|
|
1474
|
+
e,
|
|
1475
|
+
"http://www.w3.org/XML/1998/namespace",
|
|
1476
|
+
!1,
|
|
1477
|
+
// sanitizeURL
|
|
1478
|
+
!1
|
|
1479
|
+
// removeEmptyString
|
|
1480
|
+
);
|
|
1481
|
+
}), ["tabIndex", "crossOrigin"].forEach((e) => {
|
|
1482
|
+
n[e] = new t(
|
|
1483
|
+
e,
|
|
1484
|
+
s,
|
|
1485
|
+
!1,
|
|
1486
|
+
// mustUseProperty
|
|
1487
|
+
e.toLowerCase(),
|
|
1488
|
+
// attributeName
|
|
1489
|
+
null,
|
|
1490
|
+
// attributeNamespace
|
|
1491
|
+
!1,
|
|
1492
|
+
// sanitizeURL
|
|
1493
|
+
!1
|
|
1494
|
+
// removeEmptyString
|
|
1495
|
+
);
|
|
1496
|
+
});
|
|
1497
|
+
const O = "xlinkHref";
|
|
1498
|
+
n[O] = new t(
|
|
1499
|
+
"xlinkHref",
|
|
1500
|
+
s,
|
|
1501
|
+
!1,
|
|
1502
|
+
// mustUseProperty
|
|
1503
|
+
"xlink:href",
|
|
1504
|
+
"http://www.w3.org/1999/xlink",
|
|
1505
|
+
!0,
|
|
1506
|
+
// sanitizeURL
|
|
1507
|
+
!1
|
|
1508
|
+
// removeEmptyString
|
|
1509
|
+
), ["src", "href", "action", "formAction"].forEach((e) => {
|
|
1510
|
+
n[e] = new t(
|
|
1511
|
+
e,
|
|
1512
|
+
s,
|
|
1513
|
+
!1,
|
|
1514
|
+
// mustUseProperty
|
|
1515
|
+
e.toLowerCase(),
|
|
1516
|
+
// attributeName
|
|
1517
|
+
null,
|
|
1518
|
+
// attributeNamespace
|
|
1519
|
+
!0,
|
|
1520
|
+
// sanitizeURL
|
|
1521
|
+
!0
|
|
1522
|
+
// removeEmptyString
|
|
1523
|
+
);
|
|
1524
|
+
});
|
|
1525
|
+
const {
|
|
1526
|
+
CAMELCASE: A,
|
|
1527
|
+
SAME: S,
|
|
1528
|
+
possibleStandardNames: u
|
|
1529
|
+
} = Se(), y = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD" + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", C = RegExp.prototype.test.bind(
|
|
1530
|
+
// eslint-disable-next-line no-misleading-character-class
|
|
1531
|
+
new RegExp("^(data|aria)-[" + y + "]*$")
|
|
1532
|
+
), w = Object.keys(
|
|
1533
|
+
u
|
|
1534
|
+
).reduce((e, i) => {
|
|
1535
|
+
const a = u[i];
|
|
1536
|
+
return a === S ? e[i] = i : a === A ? e[i.toLowerCase()] = i : e[i] = a, e;
|
|
1537
|
+
}, {});
|
|
1538
|
+
return N.BOOLEAN = c, N.BOOLEANISH_STRING = d, N.NUMERIC = h, N.OVERLOADED_BOOLEAN = p, N.POSITIVE_NUMERIC = _, N.RESERVED = r, N.STRING = s, N.getPropertyInfo = o, N.isCustomAttribute = C, N.possibleStandardNames = w, N;
|
|
1539
|
+
}
|
|
1540
|
+
var U = {}, j = {}, Z, oe;
|
|
1541
|
+
function ke() {
|
|
1542
|
+
if (oe) return Z;
|
|
1543
|
+
oe = 1;
|
|
1544
|
+
var r = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, s = /\n/g, d = /^\s*/, c = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, p = /^:\s*/, h = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, _ = /^[;\s]*/, o = /^\s+|\s+$/g, t = `
|
|
1545
|
+
`, n = "/", l = "*", f = "", v = "comment", O = "declaration";
|
|
1546
|
+
function A(u, E) {
|
|
1547
|
+
if (typeof u != "string")
|
|
1548
|
+
throw new TypeError("First argument must be a string");
|
|
1549
|
+
if (!u) return [];
|
|
1550
|
+
E = E || {};
|
|
1551
|
+
var y = 1, C = 1;
|
|
1552
|
+
function w(b) {
|
|
1553
|
+
var T = b.match(s);
|
|
1554
|
+
T && (y += T.length);
|
|
1555
|
+
var D = b.lastIndexOf(t);
|
|
1556
|
+
C = ~D ? b.length - D : C + b.length;
|
|
1557
|
+
}
|
|
1558
|
+
function e() {
|
|
1559
|
+
var b = { line: y, column: C };
|
|
1560
|
+
return function(T) {
|
|
1561
|
+
return T.position = new i(b), R(), T;
|
|
1562
|
+
};
|
|
1563
|
+
}
|
|
1564
|
+
function i(b) {
|
|
1565
|
+
this.start = b, this.end = { line: y, column: C }, this.source = E.source;
|
|
1566
|
+
}
|
|
1567
|
+
i.prototype.content = u;
|
|
1568
|
+
function a(b) {
|
|
1569
|
+
var T = new Error(
|
|
1570
|
+
E.source + ":" + y + ":" + C + ": " + b
|
|
1571
|
+
);
|
|
1572
|
+
if (T.reason = b, T.filename = E.source, T.line = y, T.column = C, T.source = u, !E.silent) throw T;
|
|
1573
|
+
}
|
|
1574
|
+
function m(b) {
|
|
1575
|
+
var T = b.exec(u);
|
|
1576
|
+
if (T) {
|
|
1577
|
+
var D = T[0];
|
|
1578
|
+
return w(D), u = u.slice(D.length), T;
|
|
1579
|
+
}
|
|
1580
|
+
}
|
|
1581
|
+
function R() {
|
|
1582
|
+
m(d);
|
|
1583
|
+
}
|
|
1584
|
+
function k(b) {
|
|
1585
|
+
var T;
|
|
1586
|
+
for (b = b || []; T = P(); )
|
|
1587
|
+
T !== !1 && b.push(T);
|
|
1588
|
+
return b;
|
|
1589
|
+
}
|
|
1590
|
+
function P() {
|
|
1591
|
+
var b = e();
|
|
1592
|
+
if (!(n != u.charAt(0) || l != u.charAt(1))) {
|
|
1593
|
+
for (var T = 2; f != u.charAt(T) && (l != u.charAt(T) || n != u.charAt(T + 1)); )
|
|
1594
|
+
++T;
|
|
1595
|
+
if (T += 2, f === u.charAt(T - 1))
|
|
1596
|
+
return a("End of comment missing");
|
|
1597
|
+
var D = u.slice(2, T - 2);
|
|
1598
|
+
return C += 2, w(D), u = u.slice(T), C += 2, b({
|
|
1599
|
+
type: v,
|
|
1600
|
+
comment: D
|
|
1601
|
+
});
|
|
1602
|
+
}
|
|
1603
|
+
}
|
|
1604
|
+
function M() {
|
|
1605
|
+
var b = e(), T = m(c);
|
|
1606
|
+
if (T) {
|
|
1607
|
+
if (P(), !m(p)) return a("property missing ':'");
|
|
1608
|
+
var D = m(h), Te = b({
|
|
1609
|
+
type: O,
|
|
1610
|
+
property: S(T[0].replace(r, f)),
|
|
1611
|
+
value: D ? S(D[0].replace(r, f)) : f
|
|
1612
|
+
});
|
|
1613
|
+
return m(_), Te;
|
|
1614
|
+
}
|
|
1615
|
+
}
|
|
1616
|
+
function X() {
|
|
1617
|
+
var b = [];
|
|
1618
|
+
k(b);
|
|
1619
|
+
for (var T; T = M(); )
|
|
1620
|
+
T !== !1 && (b.push(T), k(b));
|
|
1621
|
+
return b;
|
|
1622
|
+
}
|
|
1623
|
+
return R(), X();
|
|
1624
|
+
}
|
|
1625
|
+
function S(u) {
|
|
1626
|
+
return u ? u.replace(o, f) : f;
|
|
1627
|
+
}
|
|
1628
|
+
return Z = A, Z;
|
|
1629
|
+
}
|
|
1630
|
+
var le;
|
|
1631
|
+
function we() {
|
|
1632
|
+
if (le) return j;
|
|
1633
|
+
le = 1;
|
|
1634
|
+
var r = j && j.__importDefault || function(c) {
|
|
1635
|
+
return c && c.__esModule ? c : { default: c };
|
|
1636
|
+
};
|
|
1637
|
+
Object.defineProperty(j, "__esModule", { value: !0 }), j.default = d;
|
|
1638
|
+
const s = r(ke());
|
|
1639
|
+
function d(c, p) {
|
|
1640
|
+
let h = null;
|
|
1641
|
+
if (!c || typeof c != "string")
|
|
1642
|
+
return h;
|
|
1643
|
+
const _ = (0, s.default)(c), o = typeof p == "function";
|
|
1644
|
+
return _.forEach((t) => {
|
|
1645
|
+
if (t.type !== "declaration")
|
|
1646
|
+
return;
|
|
1647
|
+
const { property: n, value: l } = t;
|
|
1648
|
+
o ? p(n, l, t) : l && (h = h || {}, h[n] = l);
|
|
1649
|
+
}), h;
|
|
1650
|
+
}
|
|
1651
|
+
return j;
|
|
1652
|
+
}
|
|
1653
|
+
var q = {}, se;
|
|
1654
|
+
function Pe() {
|
|
1655
|
+
if (se) return q;
|
|
1656
|
+
se = 1, Object.defineProperty(q, "__esModule", { value: !0 }), q.camelCase = void 0;
|
|
1657
|
+
var r = /^--[a-zA-Z0-9_-]+$/, s = /-([a-z])/g, d = /^[^-]+$/, c = /^-(webkit|moz|ms|o|khtml)-/, p = /^-(ms)-/, h = function(n) {
|
|
1658
|
+
return !n || d.test(n) || r.test(n);
|
|
1659
|
+
}, _ = function(n, l) {
|
|
1660
|
+
return l.toUpperCase();
|
|
1661
|
+
}, o = function(n, l) {
|
|
1662
|
+
return "".concat(l, "-");
|
|
1663
|
+
}, t = function(n, l) {
|
|
1664
|
+
return l === void 0 && (l = {}), h(n) ? n : (n = n.toLowerCase(), l.reactCompat ? n = n.replace(p, o) : n = n.replace(c, o), n.replace(s, _));
|
|
1665
|
+
};
|
|
1666
|
+
return q.camelCase = t, q;
|
|
1667
|
+
}
|
|
1668
|
+
var B, ce;
|
|
1669
|
+
function Ne() {
|
|
1670
|
+
if (ce) return B;
|
|
1671
|
+
ce = 1;
|
|
1672
|
+
var r = B && B.__importDefault || function(p) {
|
|
1673
|
+
return p && p.__esModule ? p : { default: p };
|
|
1674
|
+
}, s = r(we()), d = Pe();
|
|
1675
|
+
function c(p, h) {
|
|
1676
|
+
var _ = {};
|
|
1677
|
+
return !p || typeof p != "string" || (0, s.default)(p, function(o, t) {
|
|
1678
|
+
o && t && (_[(0, d.camelCase)(o, h)] = t);
|
|
1679
|
+
}), _;
|
|
1680
|
+
}
|
|
1681
|
+
return c.default = c, B = c, B;
|
|
1682
|
+
}
|
|
1683
|
+
var ue;
|
|
1684
|
+
function ye() {
|
|
1685
|
+
return ue || (ue = 1, (function(r) {
|
|
1686
|
+
var s = U && U.__importDefault || function(l) {
|
|
1687
|
+
return l && l.__esModule ? l : { default: l };
|
|
1688
|
+
};
|
|
1689
|
+
Object.defineProperty(r, "__esModule", { value: !0 }), r.returnFirstArg = r.canTextBeChildOfNode = r.ELEMENTS_WITH_NO_TEXT_CHILDREN = r.PRESERVE_CUSTOM_ATTRIBUTES = void 0, r.isCustomComponent = h, r.setStyleProp = o;
|
|
1690
|
+
var d = me, c = s(Ne()), p = /* @__PURE__ */ new Set([
|
|
1691
|
+
"annotation-xml",
|
|
1692
|
+
"color-profile",
|
|
1693
|
+
"font-face",
|
|
1694
|
+
"font-face-src",
|
|
1695
|
+
"font-face-uri",
|
|
1696
|
+
"font-face-format",
|
|
1697
|
+
"font-face-name",
|
|
1698
|
+
"missing-glyph"
|
|
1699
|
+
]);
|
|
1700
|
+
function h(l, f) {
|
|
1701
|
+
return l.includes("-") ? !p.has(l) : !!(f && typeof f.is == "string");
|
|
1702
|
+
}
|
|
1703
|
+
var _ = {
|
|
1704
|
+
reactCompat: !0
|
|
1705
|
+
};
|
|
1706
|
+
function o(l, f) {
|
|
1707
|
+
if (typeof l == "string") {
|
|
1708
|
+
if (!l.trim()) {
|
|
1709
|
+
f.style = {};
|
|
1710
|
+
return;
|
|
1711
|
+
}
|
|
1712
|
+
try {
|
|
1713
|
+
f.style = (0, c.default)(l, _);
|
|
1714
|
+
} catch {
|
|
1715
|
+
f.style = {};
|
|
1716
|
+
}
|
|
1717
|
+
}
|
|
1718
|
+
}
|
|
1719
|
+
r.PRESERVE_CUSTOM_ATTRIBUTES = Number(d.version.split(".")[0]) >= 16, r.ELEMENTS_WITH_NO_TEXT_CHILDREN = /* @__PURE__ */ new Set([
|
|
1720
|
+
"tr",
|
|
1721
|
+
"tbody",
|
|
1722
|
+
"thead",
|
|
1723
|
+
"tfoot",
|
|
1724
|
+
"colgroup",
|
|
1725
|
+
"table",
|
|
1726
|
+
"head",
|
|
1727
|
+
"html",
|
|
1728
|
+
"frameset"
|
|
1729
|
+
]);
|
|
1730
|
+
var t = function(l) {
|
|
1731
|
+
return !r.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(l.name);
|
|
1732
|
+
};
|
|
1733
|
+
r.canTextBeChildOfNode = t;
|
|
1734
|
+
var n = function(l) {
|
|
1735
|
+
return l;
|
|
1736
|
+
};
|
|
1737
|
+
r.returnFirstArg = n;
|
|
1738
|
+
})(U)), U;
|
|
1739
|
+
}
|
|
1740
|
+
var fe;
|
|
1741
|
+
function _e() {
|
|
1742
|
+
if (fe) return V;
|
|
1743
|
+
fe = 1, Object.defineProperty(V, "__esModule", { value: !0 }), V.default = h;
|
|
1744
|
+
var r = Oe(), s = ye(), d = ["checked", "value"], c = ["input", "select", "textarea"], p = {
|
|
1745
|
+
reset: !0,
|
|
1746
|
+
submit: !0
|
|
1747
|
+
};
|
|
1748
|
+
function h(o, t) {
|
|
1749
|
+
o === void 0 && (o = {});
|
|
1750
|
+
var n = {}, l = !!(o.type && p[o.type]);
|
|
1751
|
+
for (var f in o) {
|
|
1752
|
+
var v = o[f];
|
|
1753
|
+
if ((0, r.isCustomAttribute)(f)) {
|
|
1754
|
+
n[f] = v;
|
|
1755
|
+
continue;
|
|
1756
|
+
}
|
|
1757
|
+
var O = f.toLowerCase(), A = _(O);
|
|
1758
|
+
if (A) {
|
|
1759
|
+
var S = (0, r.getPropertyInfo)(A);
|
|
1760
|
+
switch (d.includes(A) && c.includes(t) && !l && (A = _("default" + O)), n[A] = v, S && S.type) {
|
|
1761
|
+
case r.BOOLEAN:
|
|
1762
|
+
n[A] = !0;
|
|
1763
|
+
break;
|
|
1764
|
+
case r.OVERLOADED_BOOLEAN:
|
|
1765
|
+
v === "" && (n[A] = !0);
|
|
1766
|
+
break;
|
|
1767
|
+
}
|
|
1768
|
+
continue;
|
|
1769
|
+
}
|
|
1770
|
+
s.PRESERVE_CUSTOM_ATTRIBUTES && (n[f] = v);
|
|
1771
|
+
}
|
|
1772
|
+
return (0, s.setStyleProp)(o.style, n), n;
|
|
1773
|
+
}
|
|
1774
|
+
function _(o) {
|
|
1775
|
+
return r.possibleStandardNames[o];
|
|
1776
|
+
}
|
|
1777
|
+
return V;
|
|
1778
|
+
}
|
|
1779
|
+
var H = {}, de;
|
|
1780
|
+
function De() {
|
|
1781
|
+
if (de) return H;
|
|
1782
|
+
de = 1;
|
|
1783
|
+
var r = H && H.__importDefault || function(o) {
|
|
1784
|
+
return o && o.__esModule ? o : { default: o };
|
|
1785
|
+
};
|
|
1786
|
+
Object.defineProperty(H, "__esModule", { value: !0 }), H.default = h;
|
|
1787
|
+
var s = me, d = r(_e()), c = ye(), p = {
|
|
1788
|
+
cloneElement: s.cloneElement,
|
|
1789
|
+
createElement: s.createElement,
|
|
1790
|
+
isValidElement: s.isValidElement
|
|
1791
|
+
};
|
|
1792
|
+
function h(o, t) {
|
|
1793
|
+
t === void 0 && (t = {});
|
|
1794
|
+
for (var n = [], l = typeof t.replace == "function", f = t.transform || c.returnFirstArg, v = t.library || p, O = v.cloneElement, A = v.createElement, S = v.isValidElement, u = o.length, E = 0; E < u; E++) {
|
|
1795
|
+
var y = o[E];
|
|
1796
|
+
if (l) {
|
|
1797
|
+
var C = t.replace(y, E);
|
|
1798
|
+
if (S(C)) {
|
|
1799
|
+
u > 1 && (C = O(C, {
|
|
1800
|
+
key: C.key || E
|
|
1801
|
+
})), n.push(f(C, y, E));
|
|
1802
|
+
continue;
|
|
1803
|
+
}
|
|
1804
|
+
}
|
|
1805
|
+
if (y.type === "text") {
|
|
1806
|
+
var w = !y.data.trim().length;
|
|
1807
|
+
if (w && y.parent && !(0, c.canTextBeChildOfNode)(y.parent) || t.trim && w)
|
|
1808
|
+
continue;
|
|
1809
|
+
n.push(f(y.data, y, E));
|
|
1810
|
+
continue;
|
|
1811
|
+
}
|
|
1812
|
+
var e = y, i = {};
|
|
1813
|
+
_(e) ? ((0, c.setStyleProp)(e.attribs.style, e.attribs), i = e.attribs) : e.attribs && (i = (0, d.default)(e.attribs, e.name));
|
|
1814
|
+
var a = void 0;
|
|
1815
|
+
switch (y.type) {
|
|
1816
|
+
case "script":
|
|
1817
|
+
case "style":
|
|
1818
|
+
y.children[0] && (i.dangerouslySetInnerHTML = {
|
|
1819
|
+
__html: y.children[0].data
|
|
1820
|
+
});
|
|
1821
|
+
break;
|
|
1822
|
+
case "tag":
|
|
1823
|
+
y.name === "textarea" && y.children[0] ? i.defaultValue = y.children[0].data : y.children && y.children.length && (a = h(y.children, t));
|
|
1824
|
+
break;
|
|
1825
|
+
// skip all other cases (e.g., comment)
|
|
1826
|
+
default:
|
|
1827
|
+
continue;
|
|
1828
|
+
}
|
|
1829
|
+
u > 1 && (i.key = E), n.push(f(A(y.name, i, a), y, E));
|
|
1830
|
+
}
|
|
1831
|
+
return n.length === 1 ? n[0] : n;
|
|
1832
|
+
}
|
|
1833
|
+
function _(o) {
|
|
1834
|
+
return c.PRESERVE_CUSTOM_ATTRIBUTES && o.type === "tag" && (0, c.isCustomComponent)(o.name, o.attribs);
|
|
1835
|
+
}
|
|
1836
|
+
return H;
|
|
1837
|
+
}
|
|
1838
|
+
var pe;
|
|
1839
|
+
function Ie() {
|
|
1840
|
+
return pe || (pe = 1, (function(r) {
|
|
1841
|
+
var s = F && F.__importDefault || function(t) {
|
|
1842
|
+
return t && t.__esModule ? t : { default: t };
|
|
1843
|
+
};
|
|
1844
|
+
Object.defineProperty(r, "__esModule", { value: !0 }), r.htmlToDOM = r.domToReact = r.attributesToProps = r.Text = r.ProcessingInstruction = r.Element = r.Comment = void 0, r.default = o;
|
|
1845
|
+
var d = s(Ae());
|
|
1846
|
+
r.htmlToDOM = d.default;
|
|
1847
|
+
var c = s(_e());
|
|
1848
|
+
r.attributesToProps = c.default;
|
|
1849
|
+
var p = s(De());
|
|
1850
|
+
r.domToReact = p.default;
|
|
1851
|
+
var h = /* @__PURE__ */ ge();
|
|
1852
|
+
Object.defineProperty(r, "Comment", { enumerable: !0, get: function() {
|
|
1853
|
+
return h.Comment;
|
|
1854
|
+
} }), Object.defineProperty(r, "Element", { enumerable: !0, get: function() {
|
|
1855
|
+
return h.Element;
|
|
1856
|
+
} }), Object.defineProperty(r, "ProcessingInstruction", { enumerable: !0, get: function() {
|
|
1857
|
+
return h.ProcessingInstruction;
|
|
1858
|
+
} }), Object.defineProperty(r, "Text", { enumerable: !0, get: function() {
|
|
1859
|
+
return h.Text;
|
|
1860
|
+
} });
|
|
1861
|
+
var _ = { lowerCaseAttributeNames: !1 };
|
|
1862
|
+
function o(t, n) {
|
|
1863
|
+
if (typeof t != "string")
|
|
1864
|
+
throw new TypeError("First argument must be a string");
|
|
1865
|
+
return t ? (0, p.default)((0, d.default)(t, (n == null ? void 0 : n.htmlparser2) || _), n) : [];
|
|
1866
|
+
}
|
|
1867
|
+
})(F)), F;
|
|
1868
|
+
}
|
|
1869
|
+
var xe = Ie();
|
|
1870
|
+
const he = /* @__PURE__ */ Re(xe), je = he.default || he;
|
|
1871
|
+
export {
|
|
1872
|
+
je as p
|
|
1873
|
+
};
|