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