@rankingcoach/vanguard 1.3.1 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (340) hide show
  1. package/dist/index-AMPMMidnightParser.js +1 -1
  2. package/dist/index-AMPMParser.js +1 -1
  3. package/dist/index-Accordion2.js +1 -1
  4. package/dist/index-AccordionDetails.js +1 -1
  5. package/dist/index-AccordionSummary.js +1 -1
  6. package/dist/index-AiGlow.js +1 -1
  7. package/dist/index-AppBar2.js +1 -1
  8. package/dist/index-Autocomplete.js +2 -2
  9. package/dist/index-Autocomplete2.js +1 -1
  10. package/dist/index-Backdrop.js +1 -1
  11. package/dist/index-BasePopper.js +1 -1
  12. package/dist/index-Box.js +1 -1
  13. package/dist/index-Button2.js +1 -1
  14. package/dist/index-ButtonBase.js +1 -1
  15. package/dist/index-CSSTransition.js +1 -1
  16. package/dist/index-Calendar.js +20 -20
  17. package/dist/index-CalendarPicker.js +1 -1
  18. package/dist/index-Chip.js +1 -1
  19. package/dist/index-ClickAwayListener.js +1 -1
  20. package/dist/index-ClockPicker.js +1 -1
  21. package/dist/index-Collapse2.js +1 -1
  22. package/dist/index-CreditCard.js +1 -1
  23. package/dist/index-DateInput.js +1 -1
  24. package/dist/index-DateParser.js +1 -1
  25. package/dist/index-DatePicker2.js +1 -1
  26. package/dist/index-DateRange2.js +7 -7
  27. package/dist/index-DateRangePicker2.js +1 -1
  28. package/dist/index-DayCell.js +5 -5
  29. package/dist/index-DayOfYearParser.js +1 -1
  30. package/dist/index-DayParser.js +1 -1
  31. package/dist/index-DayPeriodParser.js +1 -1
  32. package/dist/index-DefaultPropsProvider.js +1 -1
  33. package/dist/index-DefaultPropsProvider2.js +1 -1
  34. package/dist/index-DefinedRange.js +1 -1
  35. package/dist/index-DesktopDatePicker.js +1 -1
  36. package/dist/index-Dialog.js +1 -1
  37. package/dist/index-DialogActions.js +1 -1
  38. package/dist/index-DialogContent.js +1 -1
  39. package/dist/index-Drawer.js +1 -1
  40. package/dist/index-Drawer2.js +1 -1
  41. package/dist/index-EraParser.js +1 -1
  42. package/dist/index-ExtendedYearParser.js +1 -1
  43. package/dist/index-Fade.js +1 -1
  44. package/dist/index-FilledInput.js +1 -1
  45. package/dist/index-FocusTrap.js +1 -1
  46. package/dist/index-FormControl2.js +1 -1
  47. package/dist/index-FormHelperText.js +1 -1
  48. package/dist/index-FormLabel.js +1 -1
  49. package/dist/index-FractionOfSecondParser.js +1 -1
  50. package/dist/index-GlobalStyles.js +1 -1
  51. package/dist/index-GlobalStyles2.js +1 -1
  52. package/dist/index-GlobalStyles3.js +1 -1
  53. package/dist/index-Grid.js +1 -1
  54. package/dist/index-Grow.js +1 -1
  55. package/dist/index-Header.js +1 -1
  56. package/dist/index-Hour0To11Parser.js +1 -1
  57. package/dist/index-Hour0to23Parser.js +1 -1
  58. package/dist/index-Hour1To24Parser.js +1 -1
  59. package/dist/index-Hour1to12Parser.js +1 -1
  60. package/dist/index-ISODayParser.js +1 -1
  61. package/dist/index-ISOTimezoneParser.js +1 -1
  62. package/dist/index-ISOTimezoneWithZParser.js +1 -1
  63. package/dist/index-ISOWeekParser.js +1 -1
  64. package/dist/index-ISOWeekYearParser.js +1 -1
  65. package/dist/index-IconButton2.js +1 -1
  66. package/dist/index-Input2.js +1 -1
  67. package/dist/index-InputAdornment.js +1 -1
  68. package/dist/index-InputBase.js +155 -150
  69. package/dist/index-InputBase2.js +1 -1
  70. package/dist/index-InputLabel.js +1 -1
  71. package/dist/index-LinearProgress.js +1 -1
  72. package/dist/index-List2.js +1 -1
  73. package/dist/index-ListSubheader.js +1 -1
  74. package/dist/index-LocalDayParser.js +1 -1
  75. package/dist/index-LocalWeekParser.js +1 -1
  76. package/dist/index-LocalWeekYearParser.js +1 -1
  77. package/dist/index-LocalizationProvider.js +1 -1
  78. package/dist/index-LoginButton.js +1 -1
  79. package/dist/index-Menu.js +1 -1
  80. package/dist/index-MenuItem.js +1 -1
  81. package/dist/index-MenuList.js +1 -1
  82. package/dist/index-MinuteParser.js +1 -1
  83. package/dist/index-MobileDatePicker.js +1 -1
  84. package/dist/index-Modal2.js +1 -1
  85. package/dist/index-Month.js +9 -9
  86. package/dist/index-MonthParser.js +1 -1
  87. package/dist/index-MonthPicker.js +1 -1
  88. package/dist/index-NativeSelectInput.js +1 -1
  89. package/dist/index-NotchedOutline.js +1 -1
  90. package/dist/index-OutlinedInput.js +1 -1
  91. package/dist/index-Paper.js +1 -1
  92. package/dist/index-Parser2.js +315 -255
  93. package/dist/index-Parser3.js +129 -2
  94. package/dist/index-PickersDay.js +1 -1
  95. package/dist/index-Popover2.js +1 -1
  96. package/dist/index-Popper.js +1 -1
  97. package/dist/index-Portal.js +1 -1
  98. package/dist/index-PropTypes.js +1 -1
  99. package/dist/index-QuarterParser.js +1 -1
  100. package/dist/index-QuoteContainer.js +1 -1
  101. package/dist/index-Ripple.js +1 -1
  102. package/dist/index-RtlProvider.js +1 -1
  103. package/dist/index-ScrollbarSize.js +1 -1
  104. package/dist/index-SecondParser.js +1 -1
  105. package/dist/index-Select2.js +1 -1
  106. package/dist/index-SelectInput2.js +1 -1
  107. package/dist/index-Skeleton2.js +1 -1
  108. package/dist/index-Slide.js +1 -1
  109. package/dist/index-Slider2.js +1 -1
  110. package/dist/index-SliderValueLabel.js +1 -1
  111. package/dist/index-Snackbar2.js +1 -1
  112. package/dist/index-SnackbarContent.js +1 -1
  113. package/dist/index-StandAloneLocalDayParser.js +1 -1
  114. package/dist/index-StandAloneMonthParser.js +1 -1
  115. package/dist/index-StandAloneQuarterParser.js +1 -1
  116. package/dist/index-StyledEngineProvider.js +1 -1
  117. package/dist/index-StyledSVG2.js +1 -1
  118. package/dist/index-SvgIcon.js +1 -1
  119. package/dist/index-Tab2.js +1 -1
  120. package/dist/index-TabScrollButton.js +1 -1
  121. package/dist/index-Tabs2.js +1 -1
  122. package/dist/index-Text.js +18 -18
  123. package/dist/index-TextField.js +1 -1
  124. package/dist/index-TextHighlighted.js +23 -19
  125. package/dist/index-TextareaAutosize.js +1 -1
  126. package/dist/index-TimestampMillisecondsParser.js +1 -1
  127. package/dist/index-TimestampSecondsParser.js +1 -1
  128. package/dist/index-ToggleButton2.js +1 -1
  129. package/dist/index-ToggleButtonGroup2.js +1 -1
  130. package/dist/index-Tokenizer.js +411 -334
  131. package/dist/index-Tokenizer2.js +139 -2
  132. package/dist/index-Toolbar2.js +1 -1
  133. package/dist/index-Tooltip.js +1 -1
  134. package/dist/index-TouchRipple.js +1 -1
  135. package/dist/index-Transition.js +1 -1
  136. package/dist/index-TransitionGroup.js +1 -1
  137. package/dist/index-Typography.js +1 -1
  138. package/dist/index-YearParser.js +1 -1
  139. package/dist/index-YearPicker.js +1 -1
  140. package/dist/index-_virtual12.js +1 -1
  141. package/dist/index-_virtual15.js +2 -5
  142. package/dist/index-_virtual16.js +5 -3
  143. package/dist/index-_virtual17.js +5 -2
  144. package/dist/index-_virtual18.js +2 -7
  145. package/dist/index-_virtual19.js +5 -2
  146. package/dist/index-_virtual2.js +5 -5
  147. package/dist/index-_virtual20.js +2 -5
  148. package/dist/index-_virtual23.js +1 -1
  149. package/dist/index-_virtual3.js +4 -4
  150. package/dist/index-_virtual34.js +2 -2
  151. package/dist/index-_virtual35.js +2 -4
  152. package/dist/index-_virtual36.js +1 -1
  153. package/dist/index-_virtual37.js +1 -1
  154. package/dist/index-_virtual38.js +1 -1
  155. package/dist/index-_virtual39.js +1 -1
  156. package/dist/index-_virtual4.js +5 -5
  157. package/dist/index-_virtual40.js +1 -1
  158. package/dist/index-_virtual41.js +4 -2
  159. package/dist/index-_virtual42.js +2 -4
  160. package/dist/index-_virtual43.js +1 -1
  161. package/dist/index-_virtual44.js +1 -1
  162. package/dist/index-_virtual45.js +1 -1
  163. package/dist/index-_virtual46.js +1 -1
  164. package/dist/index-_virtual47.js +1 -1
  165. package/dist/index-_virtual48.js +1 -1
  166. package/dist/index-_virtual49.js +1 -1
  167. package/dist/index-_virtual50.js +1 -1
  168. package/dist/index-_virtual51.js +1 -1
  169. package/dist/index-_virtual52.js +1 -1
  170. package/dist/index-_virtual53.js +1 -1
  171. package/dist/index-_virtual54.js +1 -1
  172. package/dist/index-_virtual55.js +1 -1
  173. package/dist/index-_virtual56.js +1 -1
  174. package/dist/index-_virtual57.js +1 -1
  175. package/dist/index-_virtual58.js +4 -2
  176. package/dist/index-_virtual60.js +2 -4
  177. package/dist/index-_virtual61.js +1 -1
  178. package/dist/index-_virtual62.js +4 -2
  179. package/dist/index-_virtual63.js +2 -2
  180. package/dist/index-_virtual75.js +1 -1
  181. package/dist/index-_virtual77.js +4 -2
  182. package/dist/index-_virtual78.js +1 -1
  183. package/dist/index-_virtual79.js +1 -1
  184. package/dist/index-_virtual80.js +1 -1
  185. package/dist/index-_virtual81.js +1 -1
  186. package/dist/index-_virtual82.js +1 -1
  187. package/dist/index-_virtual83.js +1 -1
  188. package/dist/index-_virtual84.js +1 -1
  189. package/dist/index-_virtual85.js +2 -4
  190. package/dist/index-_virtual86.js +2 -2
  191. package/dist/index-applyInternationalSeparatorStyle.js +1 -1
  192. package/dist/index-attributes-to-props.js +1 -1
  193. package/dist/index-cjs.js +19 -75
  194. package/dist/index-colorManipulator3.js +2 -2
  195. package/dist/index-constants.js +38 -8
  196. package/dist/index-constants2.js +8 -38
  197. package/dist/index-createExtensionPattern.js +1 -1
  198. package/dist/index-createStyled2.js +6 -6
  199. package/dist/index-decode-data-html.js +5 -11
  200. package/dist/index-decode-data-xml.js +5 -11
  201. package/dist/index-decode.js +263 -216
  202. package/dist/index-decode_codepoint.js +43 -53
  203. package/dist/index-defaultRanges.js +10 -10
  204. package/dist/index-dist4.js +1 -1
  205. package/dist/index-dist5.js +1 -1
  206. package/dist/index-elementAcceptingRef.js +1 -1
  207. package/dist/index-elementTypeAcceptingRef.js +1 -1
  208. package/dist/index-emotion-cache.browser.esm.js +2 -2
  209. package/dist/index-escape.js +43 -48
  210. package/dist/index-esm2.js +108 -129
  211. package/dist/index-esm3.js +12 -301
  212. package/dist/index-esm4.js +135 -17
  213. package/dist/index-esm5.js +303 -0
  214. package/dist/index-esm6.js +21 -0
  215. package/dist/index-esm7.js +102 -0
  216. package/dist/index-exenv.js +1 -1
  217. package/dist/index-extractCountryCallingCode.js +1 -1
  218. package/dist/index-extractPhoneContext.js +1 -1
  219. package/dist/index-foreignNames.js +101 -108
  220. package/dist/index-helpers3.js +1 -1
  221. package/dist/index-http.store.js +1 -1
  222. package/dist/index-isViablePhoneNumber.js +1 -1
  223. package/dist/index-lib.js +2 -2
  224. package/dist/index-lib2.js +424 -111
  225. package/dist/index-lib3.js +14 -433
  226. package/dist/index-lib4.js +120 -14
  227. package/dist/index-lib5.js +10 -69
  228. package/dist/index-node.js +1 -1
  229. package/dist/index-node2.js +1 -1
  230. package/dist/index-parse2.js +1 -1
  231. package/dist/index-parse3.js +122 -20
  232. package/dist/index-refType.js +1 -1
  233. package/dist/index-responsivePropType.js +1 -1
  234. package/dist/index-sanitize-html.js +91 -48
  235. package/dist/index-stripIddPrefix.js +1 -1
  236. package/dist/index-style-to-object.js +1 -1
  237. package/dist/index-text-animate-words-style.js +12 -12
  238. package/dist/index-tiny-emitter.js +1 -1
  239. package/dist/index-useRteAiAssistant-selection.js +5 -5
  240. package/dist/index-useThemeWithoutDefault3.js +1 -1
  241. package/dist/index-utilities.js +1 -1
  242. package/dist/index-utilities2.js +1 -1
  243. package/dist/index-utils2.js +1 -1
  244. package/dist/index-utils6.js +7 -7
  245. package/dist/index.js +428 -426
  246. package/dist/types/core/Form/stories/SelectChangeDetection.story.d.ts +2 -0
  247. package/dist/types/core/Form/stories/bootstrap/form.test.slice.d.ts +58 -17
  248. package/dist/types/core/RichTextEditor/stories/RichTextEditorStory.story.d.ts +2 -0
  249. package/dist/types/core/RichTextEditor/stories/RichTextEditorWithXSSAttackStory.story.d.ts +2 -0
  250. package/dist/types/core/RichTextEditor/stories/_RichTextEditor.default.d.ts +4 -0
  251. package/dist/types/core/RichTextEditor/stories/bootstrap/richtexteditor.test.slice.d.ts +1 -0
  252. package/dist/types/core/TextHighlighted/stories/TextHighlightedStory.story.d.ts +2 -0
  253. package/dist/types/core/TextHighlighted/stories/TextHighlightedStory2.story.d.ts +2 -0
  254. package/dist/types/core/TextHighlighted/stories/TextHighlightedWithEmphasisStory.story.d.ts +2 -0
  255. package/dist/types/core/TextHighlighted/stories/TextHighlightedWithXSSAttackStory.story.d.ts +2 -0
  256. package/dist/types/core/TextHighlighted/stories/_TextHighlighted.default.d.ts +7 -0
  257. package/dist/types/core/_internal/InputBase/stories/HighlightLengthExceededTest.story.d.ts +2 -0
  258. package/dist/types/core/_internal/InputBase/stories/HighlightUrlTest.story.d.ts +2 -0
  259. package/dist/types/core/_internal/InputBase/stories/HighlightWordsTest.story.d.ts +2 -0
  260. package/dist/types/helpers/sanitize-html.d.ts +18 -3
  261. package/dist/types/index.d.ts +2 -0
  262. package/dist/vanguard-asset-analysis.json +1 -1
  263. package/dist-wordpress/index.js +23637 -22231
  264. package/package.json +5 -2
  265. package/scripts/check-meta-coverage.js +117 -0
  266. package/scripts/generate-exports-props.js +855 -0
  267. package/dist/index-Parser5.js +0 -131
  268. package/dist/index-Tokenizer3.js +0 -141
  269. package/dist/index-_virtual87.js +0 -4
  270. package/dist/index-_virtual88.js +0 -4
  271. package/dist/index-_virtual89.js +0 -4
  272. package/dist/index-_virtual90.js +0 -4
  273. package/dist/index-_virtual91.js +0 -4
  274. package/dist/index-at-rule.js +0 -22
  275. package/dist/index-cjs2.js +0 -23
  276. package/dist/index-comment.js +0 -16
  277. package/dist/index-container.js +0 -223
  278. package/dist/index-css-syntax-error.js +0 -56
  279. package/dist/index-declaration.js +0 -19
  280. package/dist/index-decode-data-html2.js +0 -4
  281. package/dist/index-decode-data-xml2.js +0 -4
  282. package/dist/index-decode2.js +0 -4
  283. package/dist/index-decode_codepoint2.js +0 -4
  284. package/dist/index-document3.js +0 -23
  285. package/dist/index-encode-html.js +0 -15
  286. package/dist/index-encode-html2.js +0 -4
  287. package/dist/index-encode.js +0 -49
  288. package/dist/index-encode2.js +0 -4
  289. package/dist/index-escape-string-regexp.js +0 -11
  290. package/dist/index-escape2.js +0 -4
  291. package/dist/index-feeds.js +0 -92
  292. package/dist/index-feeds2.js +0 -4
  293. package/dist/index-foreignNames2.js +0 -4
  294. package/dist/index-fromJSON.js +0 -46
  295. package/dist/index-helpers4.js +0 -54
  296. package/dist/index-helpers5.js +0 -4
  297. package/dist/index-input3.js +0 -139
  298. package/dist/index-is-plain-object.js +0 -17
  299. package/dist/index-is-plain-object2.js +0 -4
  300. package/dist/index-lazy-result.js +0 -343
  301. package/dist/index-legacy.js +0 -75
  302. package/dist/index-legacy2.js +0 -4
  303. package/dist/index-lib6.js +0 -13
  304. package/dist/index-lib7.js +0 -43
  305. package/dist/index-lib8.js +0 -147
  306. package/dist/index-lib9.js +0 -90
  307. package/dist/index-list3.js +0 -25
  308. package/dist/index-manipulation.js +0 -61
  309. package/dist/index-manipulation2.js +0 -4
  310. package/dist/index-map-generator.js +0 -171
  311. package/dist/index-no-work-result.js +0 -94
  312. package/dist/index-node4.js +0 -259
  313. package/dist/index-non-secure.js +0 -20
  314. package/dist/index-parse-srcset.js +0 -71
  315. package/dist/index-parse-srcset2.js +0 -4
  316. package/dist/index-parse4.js +0 -127
  317. package/dist/index-parser4.js +0 -322
  318. package/dist/index-picocolors.browser.js +0 -13
  319. package/dist/index-picocolors.browser2.js +0 -4
  320. package/dist/index-postcss.js +0 -46
  321. package/dist/index-previous-map.js +0 -92
  322. package/dist/index-processor.js +0 -43
  323. package/dist/index-querying.js +0 -63
  324. package/dist/index-querying2.js +0 -4
  325. package/dist/index-result.js +0 -30
  326. package/dist/index-root.js +0 -38
  327. package/dist/index-rule.js +0 -24
  328. package/dist/index-sanitize-html2.js +0 -672
  329. package/dist/index-stringifier.js +0 -196
  330. package/dist/index-stringify.js +0 -14
  331. package/dist/index-stringify2.js +0 -36
  332. package/dist/index-stringify3.js +0 -4
  333. package/dist/index-symbols.js +0 -8
  334. package/dist/index-symbols2.js +0 -4
  335. package/dist/index-tokenize.js +0 -114
  336. package/dist/index-traversal.js +0 -48
  337. package/dist/index-traversal2.js +0 -4
  338. package/dist/index-warn-once.js +0 -12
  339. package/dist/index-warning2.js +0 -25
  340. /package/dist/{index-Parser6.js → index-Parser4.js} +0 -0
@@ -1,227 +1,274 @@
1
- import { __exports as m } from "./index-decode2.js";
2
- import { __require as Z } from "./index-decode-data-html.js";
3
- import { __require as X } from "./index-decode-data-xml.js";
4
- import { __require as H } from "./index-decode_codepoint.js";
5
- var b;
6
- function Q() {
7
- return b ? m : (b = 1, (function(u) {
8
- var S = m && m.__createBinding || (Object.create ? (function(e, t, i, r) {
9
- r === void 0 && (r = i);
10
- var n = Object.getOwnPropertyDescriptor(t, i);
11
- (!n || ("get" in n ? !t.__esModule : n.writable || n.configurable)) && (n = { enumerable: !0, get: function() {
12
- return t[i];
13
- } }), Object.defineProperty(e, r, n);
14
- }) : (function(e, t, i, r) {
15
- r === void 0 && (r = i), e[r] = t[i];
16
- })), D = m && m.__setModuleDefault || (Object.create ? (function(e, t) {
17
- Object.defineProperty(e, "default", { enumerable: !0, value: t });
18
- }) : function(e, t) {
19
- e.default = t;
20
- }), I = m && m.__importStar || function(e) {
21
- if (e && e.__esModule) return e;
22
- var t = {};
23
- if (e != null) for (var i in e) i !== "default" && Object.prototype.hasOwnProperty.call(e, i) && S(t, e, i);
24
- return D(t, e), t;
25
- }, L = m && m.__importDefault || function(e) {
26
- return e && e.__esModule ? e : { default: e };
27
- };
28
- Object.defineProperty(u, "__esModule", { value: !0 }), u.decodeXML = u.decodeHTMLStrict = u.decodeHTMLAttribute = u.decodeHTML = u.determineBranch = u.EntityDecoder = u.DecodingMode = u.BinTrieFlags = u.fromCodePoint = u.replaceCodePoint = u.decodeCodePoint = u.xmlDecodeTree = u.htmlDecodeTree = void 0;
29
- var y = L(/* @__PURE__ */ Z());
30
- u.htmlDecodeTree = y.default;
31
- var P = L(/* @__PURE__ */ X());
32
- u.xmlDecodeTree = P.default;
33
- var N = I(/* @__PURE__ */ H());
34
- u.decodeCodePoint = N.default;
35
- var A = /* @__PURE__ */ H();
36
- Object.defineProperty(u, "replaceCodePoint", { enumerable: !0, get: function() {
37
- return A.replaceCodePoint;
38
- } }), Object.defineProperty(u, "fromCodePoint", { enumerable: !0, get: function() {
39
- return A.fromCodePoint;
40
- } });
41
- var c;
42
- (function(e) {
43
- e[e.NUM = 35] = "NUM", e[e.SEMI = 59] = "SEMI", e[e.EQUALS = 61] = "EQUALS", e[e.ZERO = 48] = "ZERO", e[e.NINE = 57] = "NINE", e[e.LOWER_A = 97] = "LOWER_A", e[e.LOWER_F = 102] = "LOWER_F", e[e.LOWER_X = 120] = "LOWER_X", e[e.LOWER_Z = 122] = "LOWER_Z", e[e.UPPER_A = 65] = "UPPER_A", e[e.UPPER_F = 70] = "UPPER_F", e[e.UPPER_Z = 90] = "UPPER_Z";
44
- })(c || (c = {}));
45
- var U = 32, l;
46
- (function(e) {
47
- e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
48
- })(l = u.BinTrieFlags || (u.BinTrieFlags = {}));
49
- function f(e) {
50
- return e >= c.ZERO && e <= c.NINE;
51
- }
52
- function p(e) {
53
- return e >= c.UPPER_A && e <= c.UPPER_F || e >= c.LOWER_A && e <= c.LOWER_F;
1
+ import R from "./index-decode-data-html.js";
2
+ import _ from "./index-decode-data-xml.js";
3
+ import { fromCodePoint as L, replaceCodePoint as A } from "./index-decode_codepoint.js";
4
+ var c;
5
+ (function(t) {
6
+ t[t.NUM = 35] = "NUM", t[t.SEMI = 59] = "SEMI", t[t.EQUALS = 61] = "EQUALS", t[t.ZERO = 48] = "ZERO", t[t.NINE = 57] = "NINE", t[t.LOWER_A = 97] = "LOWER_A", t[t.LOWER_F = 102] = "LOWER_F", t[t.LOWER_X = 120] = "LOWER_X", t[t.LOWER_Z = 122] = "LOWER_Z", t[t.UPPER_A = 65] = "UPPER_A", t[t.UPPER_F = 70] = "UPPER_F", t[t.UPPER_Z = 90] = "UPPER_Z";
7
+ })(c || (c = {}));
8
+ const x = 32;
9
+ var E;
10
+ (function(t) {
11
+ t[t.VALUE_LENGTH = 49152] = "VALUE_LENGTH", t[t.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", t[t.JUMP_TABLE = 127] = "JUMP_TABLE";
12
+ })(E || (E = {}));
13
+ function d(t) {
14
+ return t >= c.ZERO && t <= c.NINE;
15
+ }
16
+ function P(t) {
17
+ return t >= c.UPPER_A && t <= c.UPPER_F || t >= c.LOWER_A && t <= c.LOWER_F;
18
+ }
19
+ function I(t) {
20
+ return t >= c.UPPER_A && t <= c.UPPER_Z || t >= c.LOWER_A && t <= c.LOWER_Z || d(t);
21
+ }
22
+ function U(t) {
23
+ return t === c.EQUALS || I(t);
24
+ }
25
+ var s;
26
+ (function(t) {
27
+ t[t.EntityStart = 0] = "EntityStart", t[t.NumericStart = 1] = "NumericStart", t[t.NumericDecimal = 2] = "NumericDecimal", t[t.NumericHex = 3] = "NumericHex", t[t.NamedEntity = 4] = "NamedEntity";
28
+ })(s || (s = {}));
29
+ var N;
30
+ (function(t) {
31
+ t[t.Legacy = 0] = "Legacy", t[t.Strict = 1] = "Strict", t[t.Attribute = 2] = "Attribute";
32
+ })(N || (N = {}));
33
+ class y {
34
+ constructor(e, i, r) {
35
+ this.decodeTree = e, this.emitCodePoint = i, this.errors = r, this.state = s.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = N.Strict;
36
+ }
37
+ /** Resets the instance to make it reusable. */
38
+ startEntity(e) {
39
+ this.decodeMode = e, this.state = s.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
40
+ }
41
+ /**
42
+ * Write an entity to the decoder. This can be called multiple times with partial entities.
43
+ * If the entity is incomplete, the decoder will return -1.
44
+ *
45
+ * Mirrors the implementation of `getDecoder`, but with the ability to stop decoding if the
46
+ * entity is incomplete, and resume when the next string is written.
47
+ *
48
+ * @param string The string containing the entity (or a continuation of the entity).
49
+ * @param offset The offset at which the entity begins. Should be 0 if this is not the first call.
50
+ * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
51
+ */
52
+ write(e, i) {
53
+ switch (this.state) {
54
+ case s.EntityStart:
55
+ return e.charCodeAt(i) === c.NUM ? (this.state = s.NumericStart, this.consumed += 1, this.stateNumericStart(e, i + 1)) : (this.state = s.NamedEntity, this.stateNamedEntity(e, i));
56
+ case s.NumericStart:
57
+ return this.stateNumericStart(e, i);
58
+ case s.NumericDecimal:
59
+ return this.stateNumericDecimal(e, i);
60
+ case s.NumericHex:
61
+ return this.stateNumericHex(e, i);
62
+ case s.NamedEntity:
63
+ return this.stateNamedEntity(e, i);
54
64
  }
55
- function g(e) {
56
- return e >= c.UPPER_A && e <= c.UPPER_Z || e >= c.LOWER_A && e <= c.LOWER_Z || f(e);
65
+ }
66
+ /**
67
+ * Switches between the numeric decimal and hexadecimal states.
68
+ *
69
+ * Equivalent to the `Numeric character reference state` in the HTML spec.
70
+ *
71
+ * @param str The string containing the entity (or a continuation of the entity).
72
+ * @param offset The current offset.
73
+ * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
74
+ */
75
+ stateNumericStart(e, i) {
76
+ return i >= e.length ? -1 : (e.charCodeAt(i) | x) === c.LOWER_X ? (this.state = s.NumericHex, this.consumed += 1, this.stateNumericHex(e, i + 1)) : (this.state = s.NumericDecimal, this.stateNumericDecimal(e, i));
77
+ }
78
+ addToNumericResult(e, i, r, n) {
79
+ if (i !== r) {
80
+ const u = r - i;
81
+ this.result = this.result * Math.pow(n, u) + parseInt(e.substr(i, u), n), this.consumed += u;
57
82
  }
58
- function W(e) {
59
- return e === c.EQUALS || g(e);
83
+ }
84
+ /**
85
+ * Parses a hexadecimal numeric entity.
86
+ *
87
+ * Equivalent to the `Hexademical character reference state` in the HTML spec.
88
+ *
89
+ * @param str The string containing the entity (or a continuation of the entity).
90
+ * @param offset The current offset.
91
+ * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
92
+ */
93
+ stateNumericHex(e, i) {
94
+ const r = i;
95
+ for (; i < e.length; ) {
96
+ const n = e.charCodeAt(i);
97
+ if (d(n) || P(n))
98
+ i += 1;
99
+ else
100
+ return this.addToNumericResult(e, r, i, 16), this.emitNumericEntity(n, 3);
60
101
  }
61
- var a;
62
- (function(e) {
63
- e[e.EntityStart = 0] = "EntityStart", e[e.NumericStart = 1] = "NumericStart", e[e.NumericDecimal = 2] = "NumericDecimal", e[e.NumericHex = 3] = "NumericHex", e[e.NamedEntity = 4] = "NamedEntity";
64
- })(a || (a = {}));
65
- var h;
66
- (function(e) {
67
- e[e.Legacy = 0] = "Legacy", e[e.Strict = 1] = "Strict", e[e.Attribute = 2] = "Attribute";
68
- })(h = u.DecodingMode || (u.DecodingMode = {}));
69
- var R = (
70
- /** @class */
71
- (function() {
72
- function e(t, i, r) {
73
- this.decodeTree = t, this.emitCodePoint = i, this.errors = r, this.state = a.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = h.Strict;
74
- }
75
- return e.prototype.startEntity = function(t) {
76
- this.decodeMode = t, this.state = a.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
77
- }, e.prototype.write = function(t, i) {
78
- switch (this.state) {
79
- case a.EntityStart:
80
- return t.charCodeAt(i) === c.NUM ? (this.state = a.NumericStart, this.consumed += 1, this.stateNumericStart(t, i + 1)) : (this.state = a.NamedEntity, this.stateNamedEntity(t, i));
81
- case a.NumericStart:
82
- return this.stateNumericStart(t, i);
83
- case a.NumericDecimal:
84
- return this.stateNumericDecimal(t, i);
85
- case a.NumericHex:
86
- return this.stateNumericHex(t, i);
87
- case a.NamedEntity:
88
- return this.stateNamedEntity(t, i);
89
- }
90
- }, e.prototype.stateNumericStart = function(t, i) {
91
- return i >= t.length ? -1 : (t.charCodeAt(i) | U) === c.LOWER_X ? (this.state = a.NumericHex, this.consumed += 1, this.stateNumericHex(t, i + 1)) : (this.state = a.NumericDecimal, this.stateNumericDecimal(t, i));
92
- }, e.prototype.addToNumericResult = function(t, i, r, n) {
93
- if (i !== r) {
94
- var d = r - i;
95
- this.result = this.result * Math.pow(n, d) + parseInt(t.substr(i, d), n), this.consumed += d;
96
- }
97
- }, e.prototype.stateNumericHex = function(t, i) {
98
- for (var r = i; i < t.length; ) {
99
- var n = t.charCodeAt(i);
100
- if (f(n) || p(n))
101
- i += 1;
102
- else
103
- return this.addToNumericResult(t, r, i, 16), this.emitNumericEntity(n, 3);
104
- }
105
- return this.addToNumericResult(t, r, i, 16), -1;
106
- }, e.prototype.stateNumericDecimal = function(t, i) {
107
- for (var r = i; i < t.length; ) {
108
- var n = t.charCodeAt(i);
109
- if (f(n))
110
- i += 1;
111
- else
112
- return this.addToNumericResult(t, r, i, 10), this.emitNumericEntity(n, 2);
113
- }
114
- return this.addToNumericResult(t, r, i, 10), -1;
115
- }, e.prototype.emitNumericEntity = function(t, i) {
116
- var r;
117
- if (this.consumed <= i)
118
- return (r = this.errors) === null || r === void 0 || r.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
119
- if (t === c.SEMI)
120
- this.consumed += 1;
121
- else if (this.decodeMode === h.Strict)
122
- return 0;
123
- return this.emitCodePoint((0, N.replaceCodePoint)(this.result), this.consumed), this.errors && (t !== c.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
124
- }, e.prototype.stateNamedEntity = function(t, i) {
125
- for (var r = this.decodeTree, n = r[this.treeIndex], d = (n & l.VALUE_LENGTH) >> 14; i < t.length; i++, this.excess++) {
126
- var o = t.charCodeAt(i);
127
- if (this.treeIndex = M(r, n, this.treeIndex + Math.max(1, d), o), this.treeIndex < 0)
128
- return this.result === 0 || // If we are parsing an attribute
129
- this.decodeMode === h.Attribute && // We shouldn't have consumed any characters after the entity,
130
- (d === 0 || // And there should be no invalid characters.
131
- W(o)) ? 0 : this.emitNotTerminatedNamedEntity();
132
- if (n = r[this.treeIndex], d = (n & l.VALUE_LENGTH) >> 14, d !== 0) {
133
- if (o === c.SEMI)
134
- return this.emitNamedEntityData(this.treeIndex, d, this.consumed + this.excess);
135
- this.decodeMode !== h.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
136
- }
137
- }
138
- return -1;
139
- }, e.prototype.emitNotTerminatedNamedEntity = function() {
140
- var t, i = this, r = i.result, n = i.decodeTree, d = (n[r] & l.VALUE_LENGTH) >> 14;
141
- return this.emitNamedEntityData(r, d, this.consumed), (t = this.errors) === null || t === void 0 || t.missingSemicolonAfterCharacterReference(), this.consumed;
142
- }, e.prototype.emitNamedEntityData = function(t, i, r) {
143
- var n = this.decodeTree;
144
- return this.emitCodePoint(i === 1 ? n[t] & ~l.VALUE_LENGTH : n[t + 1], r), i === 3 && this.emitCodePoint(n[t + 2], r), r;
145
- }, e.prototype.end = function() {
146
- var t;
147
- switch (this.state) {
148
- case a.NamedEntity:
149
- return this.result !== 0 && (this.decodeMode !== h.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
150
- // Otherwise, emit a numeric entity if we have one.
151
- case a.NumericDecimal:
152
- return this.emitNumericEntity(0, 2);
153
- case a.NumericHex:
154
- return this.emitNumericEntity(0, 3);
155
- case a.NumericStart:
156
- return (t = this.errors) === null || t === void 0 || t.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
157
- case a.EntityStart:
158
- return 0;
159
- }
160
- }, e;
161
- })()
162
- );
163
- u.EntityDecoder = R;
164
- function T(e) {
165
- var t = "", i = new R(e, function(r) {
166
- return t += (0, N.fromCodePoint)(r);
167
- });
168
- return function(n, d) {
169
- for (var o = 0, s = 0; (s = n.indexOf("&", s)) >= 0; ) {
170
- t += n.slice(o, s), i.startEntity(d);
171
- var _ = i.write(
172
- n,
173
- // Skip the "&"
174
- s + 1
175
- );
176
- if (_ < 0) {
177
- o = s + i.end();
178
- break;
179
- }
180
- o = s + _, s = _ === 0 ? o + 1 : o;
181
- }
182
- var E = t + n.slice(o);
183
- return t = "", E;
184
- };
102
+ return this.addToNumericResult(e, r, i, 16), -1;
103
+ }
104
+ /**
105
+ * Parses a decimal numeric entity.
106
+ *
107
+ * Equivalent to the `Decimal character reference state` in the HTML spec.
108
+ *
109
+ * @param str The string containing the entity (or a continuation of the entity).
110
+ * @param offset The current offset.
111
+ * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
112
+ */
113
+ stateNumericDecimal(e, i) {
114
+ const r = i;
115
+ for (; i < e.length; ) {
116
+ const n = e.charCodeAt(i);
117
+ if (d(n))
118
+ i += 1;
119
+ else
120
+ return this.addToNumericResult(e, r, i, 10), this.emitNumericEntity(n, 2);
185
121
  }
186
- function M(e, t, i, r) {
187
- var n = (t & l.BRANCH_LENGTH) >> 7, d = t & l.JUMP_TABLE;
188
- if (n === 0)
189
- return d !== 0 && r === d ? i : -1;
190
- if (d) {
191
- var o = r - d;
192
- return o < 0 || o >= n ? -1 : e[i + o] - 1;
193
- }
194
- for (var s = i, _ = s + n - 1; s <= _; ) {
195
- var E = s + _ >>> 1, O = e[E];
196
- if (O < r)
197
- s = E + 1;
198
- else if (O > r)
199
- _ = E - 1;
200
- else
201
- return e[E + n];
122
+ return this.addToNumericResult(e, r, i, 10), -1;
123
+ }
124
+ /**
125
+ * Validate and emit a numeric entity.
126
+ *
127
+ * Implements the logic from the `Hexademical character reference start
128
+ * state` and `Numeric character reference end state` in the HTML spec.
129
+ *
130
+ * @param lastCp The last code point of the entity. Used to see if the
131
+ * entity was terminated with a semicolon.
132
+ * @param expectedLength The minimum number of characters that should be
133
+ * consumed. Used to validate that at least one digit
134
+ * was consumed.
135
+ * @returns The number of characters that were consumed.
136
+ */
137
+ emitNumericEntity(e, i) {
138
+ var r;
139
+ if (this.consumed <= i)
140
+ return (r = this.errors) === null || r === void 0 || r.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
141
+ if (e === c.SEMI)
142
+ this.consumed += 1;
143
+ else if (this.decodeMode === N.Strict)
144
+ return 0;
145
+ return this.emitCodePoint(A(this.result), this.consumed), this.errors && (e !== c.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
146
+ }
147
+ /**
148
+ * Parses a named entity.
149
+ *
150
+ * Equivalent to the `Named character reference state` in the HTML spec.
151
+ *
152
+ * @param str The string containing the entity (or a continuation of the entity).
153
+ * @param offset The current offset.
154
+ * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
155
+ */
156
+ stateNamedEntity(e, i) {
157
+ const { decodeTree: r } = this;
158
+ let n = r[this.treeIndex], u = (n & E.VALUE_LENGTH) >> 14;
159
+ for (; i < e.length; i++, this.excess++) {
160
+ const m = e.charCodeAt(i);
161
+ if (this.treeIndex = T(r, n, this.treeIndex + Math.max(1, u), m), this.treeIndex < 0)
162
+ return this.result === 0 || // If we are parsing an attribute
163
+ this.decodeMode === N.Attribute && // We shouldn't have consumed any characters after the entity,
164
+ (u === 0 || // And there should be no invalid characters.
165
+ U(m)) ? 0 : this.emitNotTerminatedNamedEntity();
166
+ if (n = r[this.treeIndex], u = (n & E.VALUE_LENGTH) >> 14, u !== 0) {
167
+ if (m === c.SEMI)
168
+ return this.emitNamedEntityData(this.treeIndex, u, this.consumed + this.excess);
169
+ this.decodeMode !== N.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
202
170
  }
203
- return -1;
204
171
  }
205
- u.determineBranch = M;
206
- var v = T(y.default), j = T(P.default);
207
- function w(e, t) {
208
- return t === void 0 && (t = h.Legacy), v(e, t);
172
+ return -1;
173
+ }
174
+ /**
175
+ * Emit a named entity that was not terminated with a semicolon.
176
+ *
177
+ * @returns The number of characters consumed.
178
+ */
179
+ emitNotTerminatedNamedEntity() {
180
+ var e;
181
+ const { result: i, decodeTree: r } = this, n = (r[i] & E.VALUE_LENGTH) >> 14;
182
+ return this.emitNamedEntityData(i, n, this.consumed), (e = this.errors) === null || e === void 0 || e.missingSemicolonAfterCharacterReference(), this.consumed;
183
+ }
184
+ /**
185
+ * Emit a named entity.
186
+ *
187
+ * @param result The index of the entity in the decode tree.
188
+ * @param valueLength The number of bytes in the entity.
189
+ * @param consumed The number of characters consumed.
190
+ *
191
+ * @returns The number of characters consumed.
192
+ */
193
+ emitNamedEntityData(e, i, r) {
194
+ const { decodeTree: n } = this;
195
+ return this.emitCodePoint(i === 1 ? n[e] & ~E.VALUE_LENGTH : n[e + 1], r), i === 3 && this.emitCodePoint(n[e + 2], r), r;
196
+ }
197
+ /**
198
+ * Signal to the parser that the end of the input was reached.
199
+ *
200
+ * Remaining data will be emitted and relevant errors will be produced.
201
+ *
202
+ * @returns The number of characters consumed.
203
+ */
204
+ end() {
205
+ var e;
206
+ switch (this.state) {
207
+ case s.NamedEntity:
208
+ return this.result !== 0 && (this.decodeMode !== N.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
209
+ // Otherwise, emit a numeric entity if we have one.
210
+ case s.NumericDecimal:
211
+ return this.emitNumericEntity(0, 2);
212
+ case s.NumericHex:
213
+ return this.emitNumericEntity(0, 3);
214
+ case s.NumericStart:
215
+ return (e = this.errors) === null || e === void 0 || e.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
216
+ case s.EntityStart:
217
+ return 0;
209
218
  }
210
- u.decodeHTML = w;
211
- function B(e) {
212
- return v(e, h.Attribute);
213
- }
214
- u.decodeHTMLAttribute = B;
215
- function q(e) {
216
- return v(e, h.Strict);
217
- }
218
- u.decodeHTMLStrict = q;
219
- function G(e) {
220
- return j(e, h.Strict);
219
+ }
220
+ }
221
+ function o(t) {
222
+ let e = "";
223
+ const i = new y(t, (r) => e += L(r));
224
+ return function(n, u) {
225
+ let m = 0, h = 0;
226
+ for (; (h = n.indexOf("&", h)) >= 0; ) {
227
+ e += n.slice(m, h), i.startEntity(u);
228
+ const l = i.write(
229
+ n,
230
+ // Skip the "&"
231
+ h + 1
232
+ );
233
+ if (l < 0) {
234
+ m = h + i.end();
235
+ break;
236
+ }
237
+ m = h + l, h = l === 0 ? m + 1 : m;
221
238
  }
222
- u.decodeXML = G;
223
- })(m), m);
239
+ const a = e + n.slice(m);
240
+ return e = "", a;
241
+ };
242
+ }
243
+ function T(t, e, i, r) {
244
+ const n = (e & E.BRANCH_LENGTH) >> 7, u = e & E.JUMP_TABLE;
245
+ if (n === 0)
246
+ return u !== 0 && r === u ? i : -1;
247
+ if (u) {
248
+ const a = r - u;
249
+ return a < 0 || a >= n ? -1 : t[i + a] - 1;
250
+ }
251
+ let m = i, h = m + n - 1;
252
+ for (; m <= h; ) {
253
+ const a = m + h >>> 1, l = t[a];
254
+ if (l < r)
255
+ m = a + 1;
256
+ else if (l > r)
257
+ h = a - 1;
258
+ else
259
+ return t[a + n];
260
+ }
261
+ return -1;
224
262
  }
263
+ o(R);
264
+ o(_);
225
265
  export {
226
- Q as __require
266
+ E as BinTrieFlags,
267
+ N as DecodingMode,
268
+ y as EntityDecoder,
269
+ T as determineBranch,
270
+ L as fromCodePoint,
271
+ R as htmlDecodeTree,
272
+ A as replaceCodePoint,
273
+ _ as xmlDecodeTree
227
274
  };
@@ -1,56 +1,46 @@
1
- import { __exports as n } from "./index-decode_codepoint2.js";
2
- var u;
3
- function C() {
4
- return u ? n : (u = 1, (function(r) {
5
- var o;
6
- Object.defineProperty(r, "__esModule", { value: !0 }), r.replaceCodePoint = r.fromCodePoint = void 0;
7
- var i = /* @__PURE__ */ new Map([
8
- [0, 65533],
9
- // C1 Unicode control character reference replacements
10
- [128, 8364],
11
- [130, 8218],
12
- [131, 402],
13
- [132, 8222],
14
- [133, 8230],
15
- [134, 8224],
16
- [135, 8225],
17
- [136, 710],
18
- [137, 8240],
19
- [138, 352],
20
- [139, 8249],
21
- [140, 338],
22
- [142, 381],
23
- [145, 8216],
24
- [146, 8217],
25
- [147, 8220],
26
- [148, 8221],
27
- [149, 8226],
28
- [150, 8211],
29
- [151, 8212],
30
- [152, 732],
31
- [153, 8482],
32
- [154, 353],
33
- [155, 8250],
34
- [156, 339],
35
- [158, 382],
36
- [159, 376]
37
- ]);
38
- r.fromCodePoint = // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins
39
- (o = String.fromCodePoint) !== null && o !== void 0 ? o : function(e) {
40
- var f = "";
41
- return e > 65535 && (e -= 65536, f += String.fromCharCode(e >>> 10 & 1023 | 55296), e = 56320 | e & 1023), f += String.fromCharCode(e), f;
42
- };
43
- function d(e) {
44
- var f;
45
- return e >= 55296 && e <= 57343 || e > 1114111 ? 65533 : (f = i.get(e)) !== null && f !== void 0 ? f : e;
46
- }
47
- r.replaceCodePoint = d;
48
- function t(e) {
49
- return (0, r.fromCodePoint)(d(e));
50
- }
51
- r.default = t;
52
- })(n), n);
1
+ var x;
2
+ const a = /* @__PURE__ */ new Map([
3
+ [0, 65533],
4
+ // C1 Unicode control character reference replacements
5
+ [128, 8364],
6
+ [130, 8218],
7
+ [131, 402],
8
+ [132, 8222],
9
+ [133, 8230],
10
+ [134, 8224],
11
+ [135, 8225],
12
+ [136, 710],
13
+ [137, 8240],
14
+ [138, 352],
15
+ [139, 8249],
16
+ [140, 338],
17
+ [142, 381],
18
+ [145, 8216],
19
+ [146, 8217],
20
+ [147, 8220],
21
+ [148, 8221],
22
+ [149, 8226],
23
+ [150, 8211],
24
+ [151, 8212],
25
+ [152, 732],
26
+ [153, 8482],
27
+ [154, 353],
28
+ [155, 8250],
29
+ [156, 339],
30
+ [158, 382],
31
+ [159, 376]
32
+ ]), n = (
33
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins
34
+ (x = String.fromCodePoint) !== null && x !== void 0 ? x : function(f) {
35
+ let r = "";
36
+ return f > 65535 && (f -= 65536, r += String.fromCharCode(f >>> 10 & 1023 | 55296), f = 56320 | f & 1023), r += String.fromCharCode(f), r;
37
+ }
38
+ );
39
+ function t(f) {
40
+ var r;
41
+ return f >= 55296 && f <= 57343 || f > 1114111 ? 65533 : (r = a.get(f)) !== null && r !== void 0 ? r : f;
53
42
  }
54
43
  export {
55
- C as __require
44
+ n as fromCodePoint,
45
+ t as replaceCodePoint
56
46
  };
@@ -1,14 +1,14 @@
1
1
  import { __exports as u } from "./index-defaultRanges2.js";
2
- import R from "./index-_virtual39.js";
3
- import q from "./index-_virtual50.js";
4
- import T from "./index-_virtual51.js";
5
- import W from "./index-_virtual52.js";
6
- import P from "./index-_virtual56.js";
7
- import S from "./index-_virtual44.js";
8
- import k from "./index-_virtual45.js";
9
- import L from "./index-_virtual60.js";
10
- import j from "./index-_virtual61.js";
11
- import C from "./index-_virtual38.js";
2
+ import R from "./index-_virtual40.js";
3
+ import q from "./index-_virtual51.js";
4
+ import T from "./index-_virtual52.js";
5
+ import W from "./index-_virtual53.js";
6
+ import P from "./index-_virtual57.js";
7
+ import S from "./index-_virtual45.js";
8
+ import k from "./index-_virtual46.js";
9
+ import L from "./index-_virtual61.js";
10
+ import j from "./index-_virtual62.js";
11
+ import C from "./index-_virtual39.js";
12
12
  var v;
13
13
  function F() {
14
14
  if (v) return u;
@@ -1,4 +1,4 @@
1
- import { __exports as a } from "./index-_virtual19.js";
1
+ import { __exports as a } from "./index-_virtual20.js";
2
2
  import { __require as c } from "./index-DateRange2.js";
3
3
  import { __require as l } from "./index-Calendar.js";
4
4
  import { __require as o } from "./index-DateRangePicker2.js";
@@ -1,4 +1,4 @@
1
- import { __exports as a } from "./index-_virtual63.js";
1
+ import { __exports as a } from "./index-_virtual64.js";
2
2
  import q from "react";
3
3
  import { __require as g } from "./index-prop-types.js";
4
4
  import { __require as w } from "./index-spin.js";
@@ -1,4 +1,4 @@
1
- import r from "./index-_virtual15.js";
1
+ import r from "./index-_virtual16.js";
2
2
  import a from "./index-chainPropTypes.js";
3
3
  function u(n) {
4
4
  const {
@@ -1,4 +1,4 @@
1
- import c from "./index-_virtual15.js";
1
+ import c from "./index-_virtual16.js";
2
2
  import l from "./index-chainPropTypes.js";
3
3
  function f(n) {
4
4
  const {