@rankingcoach/vanguard 1.3.0 → 1.4.1

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 (361) hide show
  1. package/dist/icons/Icon-tools-active-1.svg +3 -0
  2. package/dist/icons/Icon-tools-active.svg +3 -0
  3. package/dist/index-AMPMMidnightParser.js +1 -1
  4. package/dist/index-AMPMParser.js +1 -1
  5. package/dist/index-Accordion2.js +1 -1
  6. package/dist/index-AccordionDetails.js +1 -1
  7. package/dist/index-AccordionSummary.js +1 -1
  8. package/dist/index-AppBar2.js +1 -1
  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-ControlledValuePlugin.js +1 -1
  23. package/dist/index-CreditCard.js +1 -1
  24. package/dist/index-DateInput.js +1 -1
  25. package/dist/index-DateParser.js +1 -1
  26. package/dist/index-DatePicker2.js +1 -1
  27. package/dist/index-DateRange2.js +7 -7
  28. package/dist/index-DateRangePicker2.js +1 -1
  29. package/dist/index-DayCell.js +7 -7
  30. package/dist/index-DayOfYearParser.js +1 -1
  31. package/dist/index-DayParser.js +1 -1
  32. package/dist/index-DayPeriodParser.js +1 -1
  33. package/dist/index-DefaultPropsProvider.js +1 -1
  34. package/dist/index-DefaultPropsProvider2.js +1 -1
  35. package/dist/index-DefaultValuePlugin.js +1 -1
  36. package/dist/index-DefinedRange.js +1 -1
  37. package/dist/index-DesktopDatePicker.js +1 -1
  38. package/dist/index-Dialog.js +1 -1
  39. package/dist/index-DialogActions.js +1 -1
  40. package/dist/index-DialogContent.js +1 -1
  41. package/dist/index-Drawer2.js +1 -1
  42. package/dist/index-EraParser.js +1 -1
  43. package/dist/index-ExtendedYearParser.js +1 -1
  44. package/dist/index-Fade.js +1 -1
  45. package/dist/index-FilledInput.js +1 -1
  46. package/dist/index-FocusTrap.js +1 -1
  47. package/dist/index-FormControl2.js +1 -1
  48. package/dist/index-FormHelperText.js +1 -1
  49. package/dist/index-FormLabel.js +1 -1
  50. package/dist/index-FractionOfSecondParser.js +1 -1
  51. package/dist/index-GlobalStyles.js +1 -1
  52. package/dist/index-GlobalStyles2.js +1 -1
  53. package/dist/index-GlobalStyles3.js +1 -1
  54. package/dist/index-Grid.js +1 -1
  55. package/dist/index-Grow.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-HyperlinkPlugin.js +1 -1
  61. package/dist/index-ISODayParser.js +1 -1
  62. package/dist/index-ISOTimezoneParser.js +1 -1
  63. package/dist/index-ISOTimezoneWithZParser.js +1 -1
  64. package/dist/index-ISOWeekParser.js +1 -1
  65. package/dist/index-ISOWeekYearParser.js +1 -1
  66. package/dist/index-Icon-tools-active-1.svg.js +4 -0
  67. package/dist/index-Icon-tools-active.svg.js +4 -0
  68. package/dist/index-IconButton2.js +1 -1
  69. package/dist/index-Input2.js +1 -1
  70. package/dist/index-InputAdornment.js +1 -1
  71. package/dist/index-InputBase.js +48 -43
  72. package/dist/index-InputBase2.js +1 -1
  73. package/dist/index-InputLabel.js +1 -1
  74. package/dist/index-InputRangeField.js +1 -1
  75. package/dist/index-KeywordNode.js +1 -1
  76. package/dist/index-KeywordPlugin.js +1 -1
  77. package/dist/index-LinearProgress.js +1 -1
  78. package/dist/index-List2.js +1 -1
  79. package/dist/index-ListSubheader.js +1 -1
  80. package/dist/index-LocalDayParser.js +1 -1
  81. package/dist/index-LocalWeekParser.js +1 -1
  82. package/dist/index-LocalWeekYearParser.js +1 -1
  83. package/dist/index-LocalizationProvider.js +1 -1
  84. package/dist/index-LoginButton.js +1 -1
  85. package/dist/index-Menu.js +1 -1
  86. package/dist/index-MenuItem.js +1 -1
  87. package/dist/index-MenuList.js +1 -1
  88. package/dist/index-MinuteParser.js +1 -1
  89. package/dist/index-MobileDatePicker.js +1 -1
  90. package/dist/index-Modal2.js +1 -1
  91. package/dist/index-Month.js +10 -10
  92. package/dist/index-MonthParser.js +1 -1
  93. package/dist/index-MonthPicker.js +1 -1
  94. package/dist/index-NativeSelectInput.js +1 -1
  95. package/dist/index-NotchedOutline.js +1 -1
  96. package/dist/index-OnChangeContentPlugin.js +1 -1
  97. package/dist/index-OnFocusOnBlurPlugin.js +1 -1
  98. package/dist/index-OutlinedInput.js +1 -1
  99. package/dist/index-Paper.js +1 -1
  100. package/dist/index-Parser2.js +314 -255
  101. package/dist/index-Parser3.js +129 -2
  102. package/dist/index-PickersDay.js +1 -1
  103. package/dist/index-Popover2.js +1 -1
  104. package/dist/index-Popper.js +1 -1
  105. package/dist/index-Portal.js +1 -1
  106. package/dist/index-PropTypes.js +1 -1
  107. package/dist/index-QuarterParser.js +1 -1
  108. package/dist/index-Ripple.js +1 -1
  109. package/dist/index-RtlProvider.js +1 -1
  110. package/dist/index-ScrollbarSize.js +1 -1
  111. package/dist/index-SecondParser.js +1 -1
  112. package/dist/index-Select2.js +1 -1
  113. package/dist/index-SelectInput2.js +1 -1
  114. package/dist/index-Skeleton2.js +1 -1
  115. package/dist/index-Slide.js +1 -1
  116. package/dist/index-Slider2.js +1 -1
  117. package/dist/index-SliderValueLabel.js +1 -1
  118. package/dist/index-Snackbar2.js +1 -1
  119. package/dist/index-SnackbarContent.js +1 -1
  120. package/dist/index-StandAloneLocalDayParser.js +1 -1
  121. package/dist/index-StandAloneMonthParser.js +1 -1
  122. package/dist/index-StandAloneQuarterParser.js +1 -1
  123. package/dist/index-StyledEngineProvider.js +1 -1
  124. package/dist/index-StyledSVG2.js +1 -1
  125. package/dist/index-SvgIcon.js +1 -1
  126. package/dist/index-Tab2.js +1 -1
  127. package/dist/index-TabScrollButton.js +1 -1
  128. package/dist/index-Tabs2.js +1 -1
  129. package/dist/index-Text.js +18 -18
  130. package/dist/index-TextField.js +1 -1
  131. package/dist/index-TextHighlighted.js +23 -19
  132. package/dist/index-TextareaAutosize.js +1 -1
  133. package/dist/index-TimestampMillisecondsParser.js +1 -1
  134. package/dist/index-TimestampSecondsParser.js +1 -1
  135. package/dist/index-ToggleButton2.js +1 -1
  136. package/dist/index-ToggleButtonGroup2.js +1 -1
  137. package/dist/index-Tokenizer.js +411 -334
  138. package/dist/index-Tokenizer2.js +139 -2
  139. package/dist/index-Toolbar2.js +1 -1
  140. package/dist/index-Tooltip.js +1 -1
  141. package/dist/index-TouchRipple.js +1 -1
  142. package/dist/index-Transition.js +1 -1
  143. package/dist/index-TransitionGroup.js +1 -1
  144. package/dist/index-Typography.js +1 -1
  145. package/dist/index-YearParser.js +1 -1
  146. package/dist/index-YearPicker.js +1 -1
  147. package/dist/index-_virtual12.js +1 -1
  148. package/dist/index-_virtual15.js +2 -5
  149. package/dist/index-_virtual16.js +5 -3
  150. package/dist/index-_virtual17.js +5 -2
  151. package/dist/index-_virtual18.js +2 -7
  152. package/dist/index-_virtual19.js +4 -4
  153. package/dist/index-_virtual21.js +2 -2
  154. package/dist/index-_virtual22.js +2 -2
  155. package/dist/index-_virtual23.js +2 -3
  156. package/dist/index-_virtual24.js +2 -2
  157. package/dist/index-_virtual25.js +2 -2
  158. package/dist/index-_virtual26.js +2 -2
  159. package/dist/index-_virtual27.js +2 -2
  160. package/dist/index-_virtual28.js +2 -2
  161. package/dist/index-_virtual30.js +2 -2
  162. package/dist/index-_virtual31.js +2 -2
  163. package/dist/index-_virtual32.js +3 -2
  164. package/dist/index-_virtual34.js +2 -2
  165. package/dist/index-_virtual35.js +2 -4
  166. package/dist/index-_virtual36.js +1 -1
  167. package/dist/index-_virtual37.js +1 -1
  168. package/dist/index-_virtual38.js +1 -1
  169. package/dist/index-_virtual39.js +1 -1
  170. package/dist/index-_virtual40.js +1 -1
  171. package/dist/index-_virtual41.js +4 -2
  172. package/dist/index-_virtual42.js +2 -4
  173. package/dist/index-_virtual43.js +1 -1
  174. package/dist/index-_virtual44.js +1 -1
  175. package/dist/index-_virtual45.js +1 -1
  176. package/dist/index-_virtual46.js +1 -1
  177. package/dist/index-_virtual47.js +1 -1
  178. package/dist/index-_virtual48.js +1 -1
  179. package/dist/index-_virtual49.js +1 -1
  180. package/dist/index-_virtual50.js +1 -1
  181. package/dist/index-_virtual51.js +1 -1
  182. package/dist/index-_virtual52.js +1 -1
  183. package/dist/index-_virtual53.js +1 -1
  184. package/dist/index-_virtual54.js +1 -1
  185. package/dist/index-_virtual55.js +1 -1
  186. package/dist/index-_virtual56.js +1 -1
  187. package/dist/index-_virtual57.js +1 -1
  188. package/dist/index-_virtual58.js +4 -2
  189. package/dist/index-_virtual60.js +2 -4
  190. package/dist/index-_virtual61.js +1 -1
  191. package/dist/index-_virtual62.js +4 -2
  192. package/dist/index-_virtual63.js +2 -2
  193. package/dist/index-_virtual66.js +2 -2
  194. package/dist/index-_virtual67.js +2 -4
  195. package/dist/index-_virtual68.js +4 -2
  196. package/dist/index-_virtual74.js +1 -1
  197. package/dist/index-_virtual76.js +2 -2
  198. package/dist/index-_virtual77.js +4 -2
  199. package/dist/index-_virtual78.js +1 -1
  200. package/dist/index-_virtual79.js +1 -1
  201. package/dist/index-_virtual80.js +1 -1
  202. package/dist/index-_virtual81.js +1 -1
  203. package/dist/index-_virtual82.js +1 -1
  204. package/dist/index-_virtual83.js +1 -1
  205. package/dist/index-_virtual84.js +1 -1
  206. package/dist/index-_virtual85.js +2 -4
  207. package/dist/index-_virtual86.js +2 -2
  208. package/dist/index-applyInternationalSeparatorStyle.js +1 -1
  209. package/dist/index-attributes-to-props.js +1 -1
  210. package/dist/index-cjs.js +19 -75
  211. package/dist/index-colorManipulator3.js +2 -2
  212. package/dist/index-constants.js +38 -8
  213. package/dist/index-constants2.js +8 -38
  214. package/dist/index-createExtensionPattern.js +1 -1
  215. package/dist/index-createStyled2.js +6 -6
  216. package/dist/index-decode-data-html.js +5 -11
  217. package/dist/index-decode-data-xml.js +5 -11
  218. package/dist/index-decode.js +263 -216
  219. package/dist/index-decode_codepoint.js +43 -53
  220. package/dist/index-defaultRanges.js +10 -10
  221. package/dist/index-dist5.js +1 -1
  222. package/dist/index-elementAcceptingRef.js +1 -1
  223. package/dist/index-elementTypeAcceptingRef.js +1 -1
  224. package/dist/index-emotion-cache.browser.esm.js +2 -2
  225. package/dist/index-escape.js +43 -48
  226. package/dist/index-esm2.js +108 -129
  227. package/dist/index-esm3.js +12 -301
  228. package/dist/index-esm4.js +135 -17
  229. package/dist/index-esm5.js +303 -0
  230. package/dist/index-esm6.js +21 -0
  231. package/dist/index-esm7.js +102 -0
  232. package/dist/index-exenv.js +1 -1
  233. package/dist/index-extractCountryCallingCode.js +1 -1
  234. package/dist/index-extractPhoneContext.js +1 -1
  235. package/dist/index-foreignNames.js +101 -108
  236. package/dist/index-helpers3.js +1 -1
  237. package/dist/index-http.store.js +1 -1
  238. package/dist/index-isViablePhoneNumber.js +1 -1
  239. package/dist/index-keycode.js +1 -1
  240. package/dist/index-lib.js +2 -2
  241. package/dist/index-lib2.js +424 -111
  242. package/dist/index-lib3.js +14 -433
  243. package/dist/index-lib4.js +120 -14
  244. package/dist/index-lib5.js +10 -69
  245. package/dist/index-mpd-parser.es.js +1 -1
  246. package/dist/index-node.js +1 -1
  247. package/dist/index-node2.js +1 -1
  248. package/dist/index-parse2.js +1 -1
  249. package/dist/index-parse3.js +122 -20
  250. package/dist/index-refType.js +1 -1
  251. package/dist/index-responsivePropType.js +1 -1
  252. package/dist/index-sanitize-html.js +91 -48
  253. package/dist/index-stripIddPrefix.js +1 -1
  254. package/dist/index-style-to-object.js +1 -1
  255. package/dist/index-text-animate-words-style.js +12 -12
  256. package/dist/index-tiny-emitter.js +1 -1
  257. package/dist/index-use-dynamic-import.js +2 -0
  258. package/dist/index-useHyperlinkEditor.js +1 -1
  259. package/dist/index-useLexicalToolbar.js +1 -1
  260. package/dist/index-useRteAiAssistant-selection.js +5 -5
  261. package/dist/index-useThemeWithoutDefault3.js +1 -1
  262. package/dist/index-utilities.js +1 -1
  263. package/dist/index-utilities2.js +1 -1
  264. package/dist/index-utils2.js +1 -1
  265. package/dist/index-utils6.js +7 -7
  266. package/dist/index.js +428 -426
  267. package/dist/types/core/RichTextEditor/stories/RichTextEditorStory.story.d.ts +2 -0
  268. package/dist/types/core/RichTextEditor/stories/RichTextEditorWithXSSAttackStory.story.d.ts +2 -0
  269. package/dist/types/core/RichTextEditor/stories/_RichTextEditor.default.d.ts +4 -0
  270. package/dist/types/core/RichTextEditor/stories/bootstrap/richtexteditor.test.slice.d.ts +1 -0
  271. package/dist/types/core/TextHighlighted/stories/TextHighlightedStory.story.d.ts +2 -0
  272. package/dist/types/core/TextHighlighted/stories/TextHighlightedStory2.story.d.ts +2 -0
  273. package/dist/types/core/TextHighlighted/stories/TextHighlightedWithEmphasisStory.story.d.ts +2 -0
  274. package/dist/types/core/TextHighlighted/stories/TextHighlightedWithXSSAttackStory.story.d.ts +2 -0
  275. package/dist/types/core/TextHighlighted/stories/_TextHighlighted.default.d.ts +7 -0
  276. package/dist/types/core/_internal/InputBase/stories/HighlightLengthExceededTest.story.d.ts +2 -0
  277. package/dist/types/core/_internal/InputBase/stories/HighlightUrlTest.story.d.ts +2 -0
  278. package/dist/types/core/_internal/InputBase/stories/HighlightWordsTest.story.d.ts +2 -0
  279. package/dist/types/helpers/sanitize-html.d.ts +18 -3
  280. package/dist/types/index.d.ts +2 -0
  281. package/dist/vanguard-asset-analysis.json +1 -1
  282. package/dist-wordpress/Icon-tools-active-1-B-9tOuX0.mjs +4 -0
  283. package/dist-wordpress/Icon-tools-active-t9IjG2pg.mjs +4 -0
  284. package/dist-wordpress/index.js +23653 -22245
  285. package/package.json +5 -2
  286. package/scripts/check-meta-coverage.js +117 -0
  287. package/scripts/generate-exports-props.js +855 -0
  288. package/dist/index-Parser5.js +0 -131
  289. package/dist/index-Tokenizer3.js +0 -141
  290. package/dist/index-_virtual87.js +0 -4
  291. package/dist/index-_virtual88.js +0 -4
  292. package/dist/index-_virtual89.js +0 -4
  293. package/dist/index-_virtual90.js +0 -4
  294. package/dist/index-_virtual91.js +0 -4
  295. package/dist/index-at-rule.js +0 -22
  296. package/dist/index-cjs2.js +0 -23
  297. package/dist/index-comment.js +0 -16
  298. package/dist/index-container.js +0 -223
  299. package/dist/index-css-syntax-error.js +0 -56
  300. package/dist/index-declaration.js +0 -19
  301. package/dist/index-decode-data-html2.js +0 -4
  302. package/dist/index-decode-data-xml2.js +0 -4
  303. package/dist/index-decode2.js +0 -4
  304. package/dist/index-decode_codepoint2.js +0 -4
  305. package/dist/index-document3.js +0 -23
  306. package/dist/index-encode-html.js +0 -15
  307. package/dist/index-encode-html2.js +0 -4
  308. package/dist/index-encode.js +0 -49
  309. package/dist/index-encode2.js +0 -4
  310. package/dist/index-escape-string-regexp.js +0 -11
  311. package/dist/index-escape2.js +0 -4
  312. package/dist/index-feeds.js +0 -92
  313. package/dist/index-feeds2.js +0 -4
  314. package/dist/index-foreignNames2.js +0 -4
  315. package/dist/index-fromJSON.js +0 -46
  316. package/dist/index-helpers4.js +0 -54
  317. package/dist/index-helpers5.js +0 -4
  318. package/dist/index-input3.js +0 -139
  319. package/dist/index-is-plain-object.js +0 -17
  320. package/dist/index-is-plain-object2.js +0 -4
  321. package/dist/index-lazy-result.js +0 -343
  322. package/dist/index-legacy.js +0 -75
  323. package/dist/index-legacy2.js +0 -4
  324. package/dist/index-lib6.js +0 -13
  325. package/dist/index-lib7.js +0 -43
  326. package/dist/index-lib8.js +0 -147
  327. package/dist/index-lib9.js +0 -90
  328. package/dist/index-list3.js +0 -25
  329. package/dist/index-manipulation.js +0 -61
  330. package/dist/index-manipulation2.js +0 -4
  331. package/dist/index-map-generator.js +0 -171
  332. package/dist/index-no-work-result.js +0 -94
  333. package/dist/index-node4.js +0 -259
  334. package/dist/index-non-secure.js +0 -20
  335. package/dist/index-parse-srcset.js +0 -71
  336. package/dist/index-parse-srcset2.js +0 -4
  337. package/dist/index-parse4.js +0 -127
  338. package/dist/index-parser4.js +0 -322
  339. package/dist/index-picocolors.browser.js +0 -13
  340. package/dist/index-picocolors.browser2.js +0 -4
  341. package/dist/index-postcss.js +0 -46
  342. package/dist/index-previous-map.js +0 -92
  343. package/dist/index-processor.js +0 -43
  344. package/dist/index-querying.js +0 -63
  345. package/dist/index-querying2.js +0 -4
  346. package/dist/index-result.js +0 -30
  347. package/dist/index-root.js +0 -38
  348. package/dist/index-rule.js +0 -24
  349. package/dist/index-sanitize-html2.js +0 -672
  350. package/dist/index-stringifier.js +0 -196
  351. package/dist/index-stringify.js +0 -14
  352. package/dist/index-stringify2.js +0 -36
  353. package/dist/index-stringify3.js +0 -4
  354. package/dist/index-symbols.js +0 -8
  355. package/dist/index-symbols2.js +0 -4
  356. package/dist/index-tokenize.js +0 -114
  357. package/dist/index-traversal.js +0 -48
  358. package/dist/index-traversal2.js +0 -4
  359. package/dist/index-warn-once.js +0 -12
  360. package/dist/index-warning2.js +0 -25
  361. /package/dist/{index-Parser6.js → index-Parser4.js} +0 -0
@@ -1,90 +0,0 @@
1
- import { __exports as M } from "./index-_virtual91.js";
2
- import { __require as H } from "./index-decode.js";
3
- import { __require as m } from "./index-encode.js";
4
- import { __require as l } from "./index-escape.js";
5
- var y;
6
- function S() {
7
- return y ? M : (y = 1, (function(e) {
8
- Object.defineProperty(e, "__esModule", { value: !0 }), e.decodeXMLStrict = e.decodeHTML5Strict = e.decodeHTML4Strict = e.decodeHTML5 = e.decodeHTML4 = e.decodeHTMLAttribute = e.decodeHTMLStrict = e.decodeHTML = e.decodeXML = e.DecodingMode = e.EntityDecoder = e.encodeHTML5 = e.encodeHTML4 = e.encodeNonAsciiHTML = e.encodeHTML = e.escapeText = e.escapeAttribute = e.escapeUTF8 = e.escape = e.encodeXML = e.encode = e.decodeStrict = e.decode = e.EncodingMode = e.EntityLevel = void 0;
9
- var b = /* @__PURE__ */ H(), T = /* @__PURE__ */ m(), o = /* @__PURE__ */ l(), d;
10
- (function(r) {
11
- r[r.XML = 0] = "XML", r[r.HTML = 1] = "HTML";
12
- })(d = e.EntityLevel || (e.EntityLevel = {}));
13
- var u;
14
- (function(r) {
15
- r[r.UTF8 = 0] = "UTF8", r[r.ASCII = 1] = "ASCII", r[r.Extensive = 2] = "Extensive", r[r.Attribute = 3] = "Attribute", r[r.Text = 4] = "Text";
16
- })(u = e.EncodingMode || (e.EncodingMode = {}));
17
- function a(r, t) {
18
- t === void 0 && (t = d.XML);
19
- var n = typeof t == "number" ? t : t.level;
20
- if (n === d.HTML) {
21
- var f = typeof t == "object" ? t.mode : void 0;
22
- return (0, b.decodeHTML)(r, f);
23
- }
24
- return (0, b.decodeXML)(r);
25
- }
26
- e.decode = a;
27
- function j(r, t) {
28
- var n;
29
- t === void 0 && (t = d.XML);
30
- var f = typeof t == "number" ? { level: t } : t;
31
- return (n = f.mode) !== null && n !== void 0 || (f.mode = b.DecodingMode.Strict), a(r, f);
32
- }
33
- e.decodeStrict = j;
34
- function v(r, t) {
35
- t === void 0 && (t = d.XML);
36
- var n = typeof t == "number" ? { level: t } : t;
37
- return n.mode === u.UTF8 ? (0, o.escapeUTF8)(r) : n.mode === u.Attribute ? (0, o.escapeAttribute)(r) : n.mode === u.Text ? (0, o.escapeText)(r) : n.level === d.HTML ? n.mode === u.ASCII ? (0, T.encodeNonAsciiHTML)(r) : (0, T.encodeHTML)(r) : (0, o.encodeXML)(r);
38
- }
39
- e.encode = v;
40
- var i = /* @__PURE__ */ l();
41
- Object.defineProperty(e, "encodeXML", { enumerable: !0, get: function() {
42
- return i.encodeXML;
43
- } }), Object.defineProperty(e, "escape", { enumerable: !0, get: function() {
44
- return i.escape;
45
- } }), Object.defineProperty(e, "escapeUTF8", { enumerable: !0, get: function() {
46
- return i.escapeUTF8;
47
- } }), Object.defineProperty(e, "escapeAttribute", { enumerable: !0, get: function() {
48
- return i.escapeAttribute;
49
- } }), Object.defineProperty(e, "escapeText", { enumerable: !0, get: function() {
50
- return i.escapeText;
51
- } });
52
- var L = /* @__PURE__ */ m();
53
- Object.defineProperty(e, "encodeHTML", { enumerable: !0, get: function() {
54
- return L.encodeHTML;
55
- } }), Object.defineProperty(e, "encodeNonAsciiHTML", { enumerable: !0, get: function() {
56
- return L.encodeNonAsciiHTML;
57
- } }), Object.defineProperty(e, "encodeHTML4", { enumerable: !0, get: function() {
58
- return L.encodeHTML;
59
- } }), Object.defineProperty(e, "encodeHTML5", { enumerable: !0, get: function() {
60
- return L.encodeHTML;
61
- } });
62
- var c = /* @__PURE__ */ H();
63
- Object.defineProperty(e, "EntityDecoder", { enumerable: !0, get: function() {
64
- return c.EntityDecoder;
65
- } }), Object.defineProperty(e, "DecodingMode", { enumerable: !0, get: function() {
66
- return c.DecodingMode;
67
- } }), Object.defineProperty(e, "decodeXML", { enumerable: !0, get: function() {
68
- return c.decodeXML;
69
- } }), Object.defineProperty(e, "decodeHTML", { enumerable: !0, get: function() {
70
- return c.decodeHTML;
71
- } }), Object.defineProperty(e, "decodeHTMLStrict", { enumerable: !0, get: function() {
72
- return c.decodeHTMLStrict;
73
- } }), Object.defineProperty(e, "decodeHTMLAttribute", { enumerable: !0, get: function() {
74
- return c.decodeHTMLAttribute;
75
- } }), Object.defineProperty(e, "decodeHTML4", { enumerable: !0, get: function() {
76
- return c.decodeHTML;
77
- } }), Object.defineProperty(e, "decodeHTML5", { enumerable: !0, get: function() {
78
- return c.decodeHTML;
79
- } }), Object.defineProperty(e, "decodeHTML4Strict", { enumerable: !0, get: function() {
80
- return c.decodeHTMLStrict;
81
- } }), Object.defineProperty(e, "decodeHTML5Strict", { enumerable: !0, get: function() {
82
- return c.decodeHTMLStrict;
83
- } }), Object.defineProperty(e, "decodeXMLStrict", { enumerable: !0, get: function() {
84
- return c.decodeXML;
85
- } });
86
- })(M), M);
87
- }
88
- export {
89
- S as __require
90
- };
@@ -1,25 +0,0 @@
1
- var p, o;
2
- function d() {
3
- if (o) return p;
4
- o = 1;
5
- let l = {
6
- comma(r) {
7
- return l.split(r, [","], !0);
8
- },
9
- space(r) {
10
- let s = [" ", `
11
- `, " "];
12
- return l.split(r, s);
13
- },
14
- split(r, s, m) {
15
- let f = [], t = "", u = !1, i = 0, a = !1, c = "", n = !1;
16
- for (let e of r)
17
- n ? n = !1 : e === "\\" ? n = !0 : a ? e === c && (a = !1) : e === '"' || e === "'" ? (a = !0, c = e) : e === "(" ? i += 1 : e === ")" ? i > 0 && (i -= 1) : i === 0 && s.includes(e) && (u = !0), u ? (t !== "" && f.push(t.trim()), t = "", u = !1) : t += e;
18
- return (m || t !== "") && f.push(t.trim()), f;
19
- }
20
- };
21
- return p = l, l.default = l, p;
22
- }
23
- export {
24
- d as __require
25
- };
@@ -1,61 +0,0 @@
1
- import { __exports as e } from "./index-manipulation2.js";
2
- var u;
3
- function O() {
4
- if (u) return e;
5
- u = 1, Object.defineProperty(e, "__esModule", { value: !0 }), e.removeElement = a, e.replaceElement = f, e.appendChild = o, e.append = x, e.prependChild = d, e.prepend = s;
6
- function a(r) {
7
- if (r.prev && (r.prev.next = r.next), r.next && (r.next.prev = r.prev), r.parent) {
8
- var n = r.parent.children, p = n.lastIndexOf(r);
9
- p >= 0 && n.splice(p, 1);
10
- }
11
- r.next = null, r.prev = null, r.parent = null;
12
- }
13
- function f(r, n) {
14
- var p = n.prev = r.prev;
15
- p && (p.next = n);
16
- var t = n.next = r.next;
17
- t && (t.prev = n);
18
- var i = n.parent = r.parent;
19
- if (i) {
20
- var v = i.children;
21
- v[v.lastIndexOf(r)] = n, r.parent = null;
22
- }
23
- }
24
- function o(r, n) {
25
- if (a(n), n.next = null, n.parent = r, r.children.push(n) > 1) {
26
- var p = r.children[r.children.length - 2];
27
- p.next = n, n.prev = p;
28
- } else
29
- n.prev = null;
30
- }
31
- function x(r, n) {
32
- a(n);
33
- var p = r.parent, t = r.next;
34
- if (n.next = t, n.prev = r, r.next = n, n.parent = p, t) {
35
- if (t.prev = n, p) {
36
- var i = p.children;
37
- i.splice(i.lastIndexOf(t), 0, n);
38
- }
39
- } else p && p.children.push(n);
40
- }
41
- function d(r, n) {
42
- if (a(n), n.parent = r, n.prev = null, r.children.unshift(n) !== 1) {
43
- var p = r.children[1];
44
- p.prev = n, n.next = p;
45
- } else
46
- n.next = null;
47
- }
48
- function s(r, n) {
49
- a(n);
50
- var p = r.parent;
51
- if (p) {
52
- var t = p.children;
53
- t.splice(t.indexOf(r), 0, n);
54
- }
55
- r.prev && (r.prev.next = n), n.parent = p, n.prev = r.prev, n.next = r, r.prev = n;
56
- }
57
- return e;
58
- }
59
- export {
60
- O as __require
61
- };
@@ -1,4 +0,0 @@
1
- var a = {};
2
- export {
3
- a as __exports
4
- };
@@ -1,171 +0,0 @@
1
- import l from "./index-___vite-browser-external.js";
2
- import { __require as y } from "./index-input3.js";
3
- var h, U;
4
- function L() {
5
- if (U) return h;
6
- U = 1;
7
- let { dirname: n, relative: u, resolve: m, sep: c } = l, { SourceMapConsumer: f, SourceMapGenerator: a } = l, { pathToFileURL: g } = l, O = y(), S = !!(f && a), C = !!(n && m && u && c);
8
- class w {
9
- constructor(t, e, s, i) {
10
- this.stringify = t, this.mapOpts = s.map || {}, this.root = e, this.opts = s, this.css = i, this.originalCSS = i, this.usesFileUrls = !this.mapOpts.from && this.mapOpts.absolute, this.memoizedFileURLs = /* @__PURE__ */ new Map(), this.memoizedPaths = /* @__PURE__ */ new Map(), this.memoizedURLs = /* @__PURE__ */ new Map();
11
- }
12
- addAnnotation() {
13
- let t;
14
- this.isInline() ? t = "data:application/json;base64," + this.toBase64(this.map.toString()) : typeof this.mapOpts.annotation == "string" ? t = this.mapOpts.annotation : typeof this.mapOpts.annotation == "function" ? t = this.mapOpts.annotation(this.opts.to, this.root) : t = this.outputFile() + ".map";
15
- let e = `
16
- `;
17
- this.css.includes(`\r
18
- `) && (e = `\r
19
- `), this.css += e + "/*# sourceMappingURL=" + t + " */";
20
- }
21
- applyPrevMaps() {
22
- for (let t of this.previous()) {
23
- let e = this.toUrl(this.path(t.file)), s = t.root || n(t.file), i;
24
- this.mapOpts.sourcesContent === !1 ? (i = new f(t.text), i.sourcesContent && (i.sourcesContent = null)) : i = t.consumer(), this.map.applySourceMap(i, e, this.toUrl(this.path(s)));
25
- }
26
- }
27
- clearAnnotation() {
28
- if (this.mapOpts.annotation !== !1)
29
- if (this.root) {
30
- let t;
31
- for (let e = this.root.nodes.length - 1; e >= 0; e--)
32
- t = this.root.nodes[e], t.type === "comment" && t.text.startsWith("# sourceMappingURL=") && this.root.removeChild(e);
33
- } else this.css && (this.css = this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm, ""));
34
- }
35
- generate() {
36
- if (this.clearAnnotation(), C && S && this.isMap())
37
- return this.generateMap();
38
- {
39
- let t = "";
40
- return this.stringify(this.root, (e) => {
41
- t += e;
42
- }), [t];
43
- }
44
- }
45
- generateMap() {
46
- if (this.root)
47
- this.generateString();
48
- else if (this.previous().length === 1) {
49
- let t = this.previous()[0].consumer();
50
- t.file = this.outputFile(), this.map = a.fromSourceMap(t, {
51
- ignoreInvalidMapping: !0
52
- });
53
- } else
54
- this.map = new a({
55
- file: this.outputFile(),
56
- ignoreInvalidMapping: !0
57
- }), this.map.addMapping({
58
- generated: { column: 0, line: 1 },
59
- original: { column: 0, line: 1 },
60
- source: this.opts.from ? this.toUrl(this.path(this.opts.from)) : "<no source>"
61
- });
62
- return this.isSourcesContent() && this.setSourcesContent(), this.root && this.previous().length > 0 && this.applyPrevMaps(), this.isAnnotation() && this.addAnnotation(), this.isInline() ? [this.css] : [this.css, this.map];
63
- }
64
- generateString() {
65
- this.css = "", this.map = new a({
66
- file: this.outputFile(),
67
- ignoreInvalidMapping: !0
68
- });
69
- let t = 1, e = 1, s = "<no source>", i = {
70
- generated: { column: 0, line: 0 },
71
- original: { column: 0, line: 0 },
72
- source: ""
73
- }, d, p;
74
- this.stringify(this.root, (o, r, v) => {
75
- if (this.css += o, r && v !== "end" && (i.generated.line = t, i.generated.column = e - 1, r.source && r.source.start ? (i.source = this.sourcePath(r), i.original.line = r.source.start.line, i.original.column = r.source.start.column - 1, this.map.addMapping(i)) : (i.source = s, i.original.line = 1, i.original.column = 0, this.map.addMapping(i))), p = o.match(/\n/g), p ? (t += p.length, d = o.lastIndexOf(`
76
- `), e = o.length - d) : e += o.length, r && v !== "start") {
77
- let M = r.parent || { raws: {} };
78
- (!(r.type === "decl" || r.type === "atrule" && !r.nodes) || r !== M.last || M.raws.semicolon) && (r.source && r.source.end ? (i.source = this.sourcePath(r), i.original.line = r.source.end.line, i.original.column = r.source.end.column - 1, i.generated.line = t, i.generated.column = e - 2, this.map.addMapping(i)) : (i.source = s, i.original.line = 1, i.original.column = 0, i.generated.line = t, i.generated.column = e - 1, this.map.addMapping(i)));
79
- }
80
- });
81
- }
82
- isAnnotation() {
83
- return this.isInline() ? !0 : typeof this.mapOpts.annotation < "u" ? this.mapOpts.annotation : this.previous().length ? this.previous().some((t) => t.annotation) : !0;
84
- }
85
- isInline() {
86
- if (typeof this.mapOpts.inline < "u")
87
- return this.mapOpts.inline;
88
- let t = this.mapOpts.annotation;
89
- return typeof t < "u" && t !== !0 ? !1 : this.previous().length ? this.previous().some((e) => e.inline) : !0;
90
- }
91
- isMap() {
92
- return typeof this.opts.map < "u" ? !!this.opts.map : this.previous().length > 0;
93
- }
94
- isSourcesContent() {
95
- return typeof this.mapOpts.sourcesContent < "u" ? this.mapOpts.sourcesContent : this.previous().length ? this.previous().some((t) => t.withContent()) : !0;
96
- }
97
- outputFile() {
98
- return this.opts.to ? this.path(this.opts.to) : this.opts.from ? this.path(this.opts.from) : "to.css";
99
- }
100
- path(t) {
101
- if (this.mapOpts.absolute || t.charCodeAt(0) === 60 || /^\w+:\/\//.test(t)) return t;
102
- let e = this.memoizedPaths.get(t);
103
- if (e) return e;
104
- let s = this.opts.to ? n(this.opts.to) : ".";
105
- typeof this.mapOpts.annotation == "string" && (s = n(m(s, this.mapOpts.annotation)));
106
- let i = u(s, t);
107
- return this.memoizedPaths.set(t, i), i;
108
- }
109
- previous() {
110
- if (!this.previousMaps)
111
- if (this.previousMaps = [], this.root)
112
- this.root.walk((t) => {
113
- if (t.source && t.source.input.map) {
114
- let e = t.source.input.map;
115
- this.previousMaps.includes(e) || this.previousMaps.push(e);
116
- }
117
- });
118
- else {
119
- let t = new O(this.originalCSS, this.opts);
120
- t.map && this.previousMaps.push(t.map);
121
- }
122
- return this.previousMaps;
123
- }
124
- setSourcesContent() {
125
- let t = {};
126
- if (this.root)
127
- this.root.walk((e) => {
128
- if (e.source) {
129
- let s = e.source.input.from;
130
- if (s && !t[s]) {
131
- t[s] = !0;
132
- let i = this.usesFileUrls ? this.toFileUrl(s) : this.toUrl(this.path(s));
133
- this.map.setSourceContent(i, e.source.input.css);
134
- }
135
- }
136
- });
137
- else if (this.css) {
138
- let e = this.opts.from ? this.toUrl(this.path(this.opts.from)) : "<no source>";
139
- this.map.setSourceContent(e, this.css);
140
- }
141
- }
142
- sourcePath(t) {
143
- return this.mapOpts.from ? this.toUrl(this.mapOpts.from) : this.usesFileUrls ? this.toFileUrl(t.source.input.from) : this.toUrl(this.path(t.source.input.from));
144
- }
145
- toBase64(t) {
146
- return Buffer ? Buffer.from(t).toString("base64") : window.btoa(unescape(encodeURIComponent(t)));
147
- }
148
- toFileUrl(t) {
149
- let e = this.memoizedFileURLs.get(t);
150
- if (e) return e;
151
- if (g) {
152
- let s = g(t).toString();
153
- return this.memoizedFileURLs.set(t, s), s;
154
- } else
155
- throw new Error(
156
- "`map.absolute` option is not available in this PostCSS build"
157
- );
158
- }
159
- toUrl(t) {
160
- let e = this.memoizedURLs.get(t);
161
- if (e) return e;
162
- c === "\\" && (t = t.replace(/\\/g, "/"));
163
- let s = encodeURI(t).replace(/[#?]/g, encodeURIComponent);
164
- return this.memoizedURLs.set(t, s), s;
165
- }
166
- }
167
- return h = w, h;
168
- }
169
- export {
170
- L as __require
171
- };
@@ -1,94 +0,0 @@
1
- import { __require as d } from "./index-map-generator.js";
2
- import { __require as q } from "./index-parse3.js";
3
- import { __require as S } from "./index-result.js";
4
- import { __require as w } from "./index-stringify.js";
5
- import { __require as y } from "./index-warn-once.js";
6
- var o, a;
7
- function M() {
8
- if (a) return o;
9
- a = 1;
10
- let l = d(), c = q();
11
- const p = S();
12
- let f = w(), _ = y();
13
- class s {
14
- get content() {
15
- return this.result.css;
16
- }
17
- get css() {
18
- return this.result.css;
19
- }
20
- get map() {
21
- return this.result.map;
22
- }
23
- get messages() {
24
- return [];
25
- }
26
- get opts() {
27
- return this.result.opts;
28
- }
29
- get processor() {
30
- return this.result.processor;
31
- }
32
- get root() {
33
- if (this._root)
34
- return this._root;
35
- let r, t = c;
36
- try {
37
- r = t(this._css, this._opts);
38
- } catch (i) {
39
- this.error = i;
40
- }
41
- if (this.error)
42
- throw this.error;
43
- return this._root = r, r;
44
- }
45
- get [Symbol.toStringTag]() {
46
- return "NoWorkResult";
47
- }
48
- constructor(r, t, i) {
49
- t = t.toString(), this.stringified = !1, this._processor = r, this._css = t, this._opts = i, this._map = void 0;
50
- let n, g = f;
51
- this.result = new p(this._processor, n, this._opts), this.result.css = t;
52
- let m = this;
53
- Object.defineProperty(this.result, "root", {
54
- get() {
55
- return m.root;
56
- }
57
- });
58
- let e = new l(g, n, this._opts, t);
59
- if (e.isMap()) {
60
- let [u, h] = e.generate();
61
- u && (this.result.css = u), h && (this.result.map = h);
62
- } else
63
- e.clearAnnotation(), this.result.css = e.css;
64
- }
65
- async() {
66
- return this.error ? Promise.reject(this.error) : Promise.resolve(this.result);
67
- }
68
- catch(r) {
69
- return this.async().catch(r);
70
- }
71
- finally(r) {
72
- return this.async().then(r, r);
73
- }
74
- sync() {
75
- if (this.error) throw this.error;
76
- return this.result;
77
- }
78
- then(r, t) {
79
- return process.env.NODE_ENV !== "production" && ("from" in this._opts || _(
80
- "Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning."
81
- )), this.async().then(r, t);
82
- }
83
- toString() {
84
- return this._css;
85
- }
86
- warnings() {
87
- return [];
88
- }
89
- }
90
- return o = s, s.default = s, o;
91
- }
92
- export {
93
- M as __require
94
- };