@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.
- package/dist/icons/Icon-tools-active-1.svg +3 -0
- package/dist/icons/Icon-tools-active.svg +3 -0
- package/dist/index-AMPMMidnightParser.js +1 -1
- package/dist/index-AMPMParser.js +1 -1
- package/dist/index-Accordion2.js +1 -1
- package/dist/index-AccordionDetails.js +1 -1
- package/dist/index-AccordionSummary.js +1 -1
- package/dist/index-AppBar2.js +1 -1
- package/dist/index-Autocomplete2.js +1 -1
- package/dist/index-Backdrop.js +1 -1
- package/dist/index-BasePopper.js +1 -1
- package/dist/index-Box.js +1 -1
- package/dist/index-Button2.js +1 -1
- package/dist/index-ButtonBase.js +1 -1
- package/dist/index-CSSTransition.js +1 -1
- package/dist/index-Calendar.js +20 -20
- package/dist/index-CalendarPicker.js +1 -1
- package/dist/index-Chip.js +1 -1
- package/dist/index-ClickAwayListener.js +1 -1
- package/dist/index-ClockPicker.js +1 -1
- package/dist/index-Collapse2.js +1 -1
- package/dist/index-ControlledValuePlugin.js +1 -1
- package/dist/index-CreditCard.js +1 -1
- package/dist/index-DateInput.js +1 -1
- package/dist/index-DateParser.js +1 -1
- package/dist/index-DatePicker2.js +1 -1
- package/dist/index-DateRange2.js +7 -7
- package/dist/index-DateRangePicker2.js +1 -1
- package/dist/index-DayCell.js +7 -7
- package/dist/index-DayOfYearParser.js +1 -1
- package/dist/index-DayParser.js +1 -1
- package/dist/index-DayPeriodParser.js +1 -1
- package/dist/index-DefaultPropsProvider.js +1 -1
- package/dist/index-DefaultPropsProvider2.js +1 -1
- package/dist/index-DefaultValuePlugin.js +1 -1
- package/dist/index-DefinedRange.js +1 -1
- package/dist/index-DesktopDatePicker.js +1 -1
- package/dist/index-Dialog.js +1 -1
- package/dist/index-DialogActions.js +1 -1
- package/dist/index-DialogContent.js +1 -1
- package/dist/index-Drawer2.js +1 -1
- package/dist/index-EraParser.js +1 -1
- package/dist/index-ExtendedYearParser.js +1 -1
- package/dist/index-Fade.js +1 -1
- package/dist/index-FilledInput.js +1 -1
- package/dist/index-FocusTrap.js +1 -1
- package/dist/index-FormControl2.js +1 -1
- package/dist/index-FormHelperText.js +1 -1
- package/dist/index-FormLabel.js +1 -1
- package/dist/index-FractionOfSecondParser.js +1 -1
- package/dist/index-GlobalStyles.js +1 -1
- package/dist/index-GlobalStyles2.js +1 -1
- package/dist/index-GlobalStyles3.js +1 -1
- package/dist/index-Grid.js +1 -1
- package/dist/index-Grow.js +1 -1
- package/dist/index-Hour0To11Parser.js +1 -1
- package/dist/index-Hour0to23Parser.js +1 -1
- package/dist/index-Hour1To24Parser.js +1 -1
- package/dist/index-Hour1to12Parser.js +1 -1
- package/dist/index-HyperlinkPlugin.js +1 -1
- package/dist/index-ISODayParser.js +1 -1
- package/dist/index-ISOTimezoneParser.js +1 -1
- package/dist/index-ISOTimezoneWithZParser.js +1 -1
- package/dist/index-ISOWeekParser.js +1 -1
- package/dist/index-ISOWeekYearParser.js +1 -1
- package/dist/index-Icon-tools-active-1.svg.js +4 -0
- package/dist/index-Icon-tools-active.svg.js +4 -0
- package/dist/index-IconButton2.js +1 -1
- package/dist/index-Input2.js +1 -1
- package/dist/index-InputAdornment.js +1 -1
- package/dist/index-InputBase.js +48 -43
- package/dist/index-InputBase2.js +1 -1
- package/dist/index-InputLabel.js +1 -1
- package/dist/index-InputRangeField.js +1 -1
- package/dist/index-KeywordNode.js +1 -1
- package/dist/index-KeywordPlugin.js +1 -1
- package/dist/index-LinearProgress.js +1 -1
- package/dist/index-List2.js +1 -1
- package/dist/index-ListSubheader.js +1 -1
- package/dist/index-LocalDayParser.js +1 -1
- package/dist/index-LocalWeekParser.js +1 -1
- package/dist/index-LocalWeekYearParser.js +1 -1
- package/dist/index-LocalizationProvider.js +1 -1
- package/dist/index-LoginButton.js +1 -1
- package/dist/index-Menu.js +1 -1
- package/dist/index-MenuItem.js +1 -1
- package/dist/index-MenuList.js +1 -1
- package/dist/index-MinuteParser.js +1 -1
- package/dist/index-MobileDatePicker.js +1 -1
- package/dist/index-Modal2.js +1 -1
- package/dist/index-Month.js +10 -10
- package/dist/index-MonthParser.js +1 -1
- package/dist/index-MonthPicker.js +1 -1
- package/dist/index-NativeSelectInput.js +1 -1
- package/dist/index-NotchedOutline.js +1 -1
- package/dist/index-OnChangeContentPlugin.js +1 -1
- package/dist/index-OnFocusOnBlurPlugin.js +1 -1
- package/dist/index-OutlinedInput.js +1 -1
- package/dist/index-Paper.js +1 -1
- package/dist/index-Parser2.js +314 -255
- package/dist/index-Parser3.js +129 -2
- package/dist/index-PickersDay.js +1 -1
- package/dist/index-Popover2.js +1 -1
- package/dist/index-Popper.js +1 -1
- package/dist/index-Portal.js +1 -1
- package/dist/index-PropTypes.js +1 -1
- package/dist/index-QuarterParser.js +1 -1
- package/dist/index-Ripple.js +1 -1
- package/dist/index-RtlProvider.js +1 -1
- package/dist/index-ScrollbarSize.js +1 -1
- package/dist/index-SecondParser.js +1 -1
- package/dist/index-Select2.js +1 -1
- package/dist/index-SelectInput2.js +1 -1
- package/dist/index-Skeleton2.js +1 -1
- package/dist/index-Slide.js +1 -1
- package/dist/index-Slider2.js +1 -1
- package/dist/index-SliderValueLabel.js +1 -1
- package/dist/index-Snackbar2.js +1 -1
- package/dist/index-SnackbarContent.js +1 -1
- package/dist/index-StandAloneLocalDayParser.js +1 -1
- package/dist/index-StandAloneMonthParser.js +1 -1
- package/dist/index-StandAloneQuarterParser.js +1 -1
- package/dist/index-StyledEngineProvider.js +1 -1
- package/dist/index-StyledSVG2.js +1 -1
- package/dist/index-SvgIcon.js +1 -1
- package/dist/index-Tab2.js +1 -1
- package/dist/index-TabScrollButton.js +1 -1
- package/dist/index-Tabs2.js +1 -1
- package/dist/index-Text.js +18 -18
- package/dist/index-TextField.js +1 -1
- package/dist/index-TextHighlighted.js +23 -19
- package/dist/index-TextareaAutosize.js +1 -1
- package/dist/index-TimestampMillisecondsParser.js +1 -1
- package/dist/index-TimestampSecondsParser.js +1 -1
- package/dist/index-ToggleButton2.js +1 -1
- package/dist/index-ToggleButtonGroup2.js +1 -1
- package/dist/index-Tokenizer.js +411 -334
- package/dist/index-Tokenizer2.js +139 -2
- package/dist/index-Toolbar2.js +1 -1
- package/dist/index-Tooltip.js +1 -1
- package/dist/index-TouchRipple.js +1 -1
- package/dist/index-Transition.js +1 -1
- package/dist/index-TransitionGroup.js +1 -1
- package/dist/index-Typography.js +1 -1
- package/dist/index-YearParser.js +1 -1
- package/dist/index-YearPicker.js +1 -1
- package/dist/index-_virtual12.js +1 -1
- package/dist/index-_virtual15.js +2 -5
- package/dist/index-_virtual16.js +5 -3
- package/dist/index-_virtual17.js +5 -2
- package/dist/index-_virtual18.js +2 -7
- package/dist/index-_virtual19.js +4 -4
- package/dist/index-_virtual21.js +2 -2
- package/dist/index-_virtual22.js +2 -2
- package/dist/index-_virtual23.js +2 -3
- package/dist/index-_virtual24.js +2 -2
- package/dist/index-_virtual25.js +2 -2
- package/dist/index-_virtual26.js +2 -2
- package/dist/index-_virtual27.js +2 -2
- package/dist/index-_virtual28.js +2 -2
- package/dist/index-_virtual30.js +2 -2
- package/dist/index-_virtual31.js +2 -2
- package/dist/index-_virtual32.js +3 -2
- package/dist/index-_virtual34.js +2 -2
- package/dist/index-_virtual35.js +2 -4
- package/dist/index-_virtual36.js +1 -1
- package/dist/index-_virtual37.js +1 -1
- package/dist/index-_virtual38.js +1 -1
- package/dist/index-_virtual39.js +1 -1
- package/dist/index-_virtual40.js +1 -1
- package/dist/index-_virtual41.js +4 -2
- package/dist/index-_virtual42.js +2 -4
- package/dist/index-_virtual43.js +1 -1
- package/dist/index-_virtual44.js +1 -1
- package/dist/index-_virtual45.js +1 -1
- package/dist/index-_virtual46.js +1 -1
- package/dist/index-_virtual47.js +1 -1
- package/dist/index-_virtual48.js +1 -1
- package/dist/index-_virtual49.js +1 -1
- package/dist/index-_virtual50.js +1 -1
- package/dist/index-_virtual51.js +1 -1
- package/dist/index-_virtual52.js +1 -1
- package/dist/index-_virtual53.js +1 -1
- package/dist/index-_virtual54.js +1 -1
- package/dist/index-_virtual55.js +1 -1
- package/dist/index-_virtual56.js +1 -1
- package/dist/index-_virtual57.js +1 -1
- package/dist/index-_virtual58.js +4 -2
- package/dist/index-_virtual60.js +2 -4
- package/dist/index-_virtual61.js +1 -1
- package/dist/index-_virtual62.js +4 -2
- package/dist/index-_virtual63.js +2 -2
- package/dist/index-_virtual66.js +2 -2
- package/dist/index-_virtual67.js +2 -4
- package/dist/index-_virtual68.js +4 -2
- package/dist/index-_virtual74.js +1 -1
- package/dist/index-_virtual76.js +2 -2
- package/dist/index-_virtual77.js +4 -2
- package/dist/index-_virtual78.js +1 -1
- package/dist/index-_virtual79.js +1 -1
- package/dist/index-_virtual80.js +1 -1
- package/dist/index-_virtual81.js +1 -1
- package/dist/index-_virtual82.js +1 -1
- package/dist/index-_virtual83.js +1 -1
- package/dist/index-_virtual84.js +1 -1
- package/dist/index-_virtual85.js +2 -4
- package/dist/index-_virtual86.js +2 -2
- package/dist/index-applyInternationalSeparatorStyle.js +1 -1
- package/dist/index-attributes-to-props.js +1 -1
- package/dist/index-cjs.js +19 -75
- package/dist/index-colorManipulator3.js +2 -2
- package/dist/index-constants.js +38 -8
- package/dist/index-constants2.js +8 -38
- package/dist/index-createExtensionPattern.js +1 -1
- package/dist/index-createStyled2.js +6 -6
- package/dist/index-decode-data-html.js +5 -11
- package/dist/index-decode-data-xml.js +5 -11
- package/dist/index-decode.js +263 -216
- package/dist/index-decode_codepoint.js +43 -53
- package/dist/index-defaultRanges.js +10 -10
- package/dist/index-dist5.js +1 -1
- package/dist/index-elementAcceptingRef.js +1 -1
- package/dist/index-elementTypeAcceptingRef.js +1 -1
- package/dist/index-emotion-cache.browser.esm.js +2 -2
- package/dist/index-escape.js +43 -48
- package/dist/index-esm2.js +108 -129
- package/dist/index-esm3.js +12 -301
- package/dist/index-esm4.js +135 -17
- package/dist/index-esm5.js +303 -0
- package/dist/index-esm6.js +21 -0
- package/dist/index-esm7.js +102 -0
- package/dist/index-exenv.js +1 -1
- package/dist/index-extractCountryCallingCode.js +1 -1
- package/dist/index-extractPhoneContext.js +1 -1
- package/dist/index-foreignNames.js +101 -108
- package/dist/index-helpers3.js +1 -1
- package/dist/index-http.store.js +1 -1
- package/dist/index-isViablePhoneNumber.js +1 -1
- package/dist/index-keycode.js +1 -1
- package/dist/index-lib.js +2 -2
- package/dist/index-lib2.js +424 -111
- package/dist/index-lib3.js +14 -433
- package/dist/index-lib4.js +120 -14
- package/dist/index-lib5.js +10 -69
- package/dist/index-mpd-parser.es.js +1 -1
- package/dist/index-node.js +1 -1
- package/dist/index-node2.js +1 -1
- package/dist/index-parse2.js +1 -1
- package/dist/index-parse3.js +122 -20
- package/dist/index-refType.js +1 -1
- package/dist/index-responsivePropType.js +1 -1
- package/dist/index-sanitize-html.js +91 -48
- package/dist/index-stripIddPrefix.js +1 -1
- package/dist/index-style-to-object.js +1 -1
- package/dist/index-text-animate-words-style.js +12 -12
- package/dist/index-tiny-emitter.js +1 -1
- package/dist/index-use-dynamic-import.js +2 -0
- package/dist/index-useHyperlinkEditor.js +1 -1
- package/dist/index-useLexicalToolbar.js +1 -1
- package/dist/index-useRteAiAssistant-selection.js +5 -5
- package/dist/index-useThemeWithoutDefault3.js +1 -1
- package/dist/index-utilities.js +1 -1
- package/dist/index-utilities2.js +1 -1
- package/dist/index-utils2.js +1 -1
- package/dist/index-utils6.js +7 -7
- package/dist/index.js +428 -426
- package/dist/types/core/RichTextEditor/stories/RichTextEditorStory.story.d.ts +2 -0
- package/dist/types/core/RichTextEditor/stories/RichTextEditorWithXSSAttackStory.story.d.ts +2 -0
- package/dist/types/core/RichTextEditor/stories/_RichTextEditor.default.d.ts +4 -0
- package/dist/types/core/RichTextEditor/stories/bootstrap/richtexteditor.test.slice.d.ts +1 -0
- package/dist/types/core/TextHighlighted/stories/TextHighlightedStory.story.d.ts +2 -0
- package/dist/types/core/TextHighlighted/stories/TextHighlightedStory2.story.d.ts +2 -0
- package/dist/types/core/TextHighlighted/stories/TextHighlightedWithEmphasisStory.story.d.ts +2 -0
- package/dist/types/core/TextHighlighted/stories/TextHighlightedWithXSSAttackStory.story.d.ts +2 -0
- package/dist/types/core/TextHighlighted/stories/_TextHighlighted.default.d.ts +7 -0
- package/dist/types/core/_internal/InputBase/stories/HighlightLengthExceededTest.story.d.ts +2 -0
- package/dist/types/core/_internal/InputBase/stories/HighlightUrlTest.story.d.ts +2 -0
- package/dist/types/core/_internal/InputBase/stories/HighlightWordsTest.story.d.ts +2 -0
- package/dist/types/helpers/sanitize-html.d.ts +18 -3
- package/dist/types/index.d.ts +2 -0
- package/dist/vanguard-asset-analysis.json +1 -1
- package/dist-wordpress/Icon-tools-active-1-B-9tOuX0.mjs +4 -0
- package/dist-wordpress/Icon-tools-active-t9IjG2pg.mjs +4 -0
- package/dist-wordpress/index.js +23653 -22245
- package/package.json +5 -2
- package/scripts/check-meta-coverage.js +117 -0
- package/scripts/generate-exports-props.js +855 -0
- package/dist/index-Parser5.js +0 -131
- package/dist/index-Tokenizer3.js +0 -141
- package/dist/index-_virtual87.js +0 -4
- package/dist/index-_virtual88.js +0 -4
- package/dist/index-_virtual89.js +0 -4
- package/dist/index-_virtual90.js +0 -4
- package/dist/index-_virtual91.js +0 -4
- package/dist/index-at-rule.js +0 -22
- package/dist/index-cjs2.js +0 -23
- package/dist/index-comment.js +0 -16
- package/dist/index-container.js +0 -223
- package/dist/index-css-syntax-error.js +0 -56
- package/dist/index-declaration.js +0 -19
- package/dist/index-decode-data-html2.js +0 -4
- package/dist/index-decode-data-xml2.js +0 -4
- package/dist/index-decode2.js +0 -4
- package/dist/index-decode_codepoint2.js +0 -4
- package/dist/index-document3.js +0 -23
- package/dist/index-encode-html.js +0 -15
- package/dist/index-encode-html2.js +0 -4
- package/dist/index-encode.js +0 -49
- package/dist/index-encode2.js +0 -4
- package/dist/index-escape-string-regexp.js +0 -11
- package/dist/index-escape2.js +0 -4
- package/dist/index-feeds.js +0 -92
- package/dist/index-feeds2.js +0 -4
- package/dist/index-foreignNames2.js +0 -4
- package/dist/index-fromJSON.js +0 -46
- package/dist/index-helpers4.js +0 -54
- package/dist/index-helpers5.js +0 -4
- package/dist/index-input3.js +0 -139
- package/dist/index-is-plain-object.js +0 -17
- package/dist/index-is-plain-object2.js +0 -4
- package/dist/index-lazy-result.js +0 -343
- package/dist/index-legacy.js +0 -75
- package/dist/index-legacy2.js +0 -4
- package/dist/index-lib6.js +0 -13
- package/dist/index-lib7.js +0 -43
- package/dist/index-lib8.js +0 -147
- package/dist/index-lib9.js +0 -90
- package/dist/index-list3.js +0 -25
- package/dist/index-manipulation.js +0 -61
- package/dist/index-manipulation2.js +0 -4
- package/dist/index-map-generator.js +0 -171
- package/dist/index-no-work-result.js +0 -94
- package/dist/index-node4.js +0 -259
- package/dist/index-non-secure.js +0 -20
- package/dist/index-parse-srcset.js +0 -71
- package/dist/index-parse-srcset2.js +0 -4
- package/dist/index-parse4.js +0 -127
- package/dist/index-parser4.js +0 -322
- package/dist/index-picocolors.browser.js +0 -13
- package/dist/index-picocolors.browser2.js +0 -4
- package/dist/index-postcss.js +0 -46
- package/dist/index-previous-map.js +0 -92
- package/dist/index-processor.js +0 -43
- package/dist/index-querying.js +0 -63
- package/dist/index-querying2.js +0 -4
- package/dist/index-result.js +0 -30
- package/dist/index-root.js +0 -38
- package/dist/index-rule.js +0 -24
- package/dist/index-sanitize-html2.js +0 -672
- package/dist/index-stringifier.js +0 -196
- package/dist/index-stringify.js +0 -14
- package/dist/index-stringify2.js +0 -36
- package/dist/index-stringify3.js +0 -4
- package/dist/index-symbols.js +0 -8
- package/dist/index-symbols2.js +0 -4
- package/dist/index-tokenize.js +0 -114
- package/dist/index-traversal.js +0 -48
- package/dist/index-traversal2.js +0 -4
- package/dist/index-warn-once.js +0 -12
- package/dist/index-warning2.js +0 -25
- /package/dist/{index-Parser6.js → index-Parser4.js} +0 -0
package/dist/index-node4.js
DELETED
|
@@ -1,259 +0,0 @@
|
|
|
1
|
-
import { __require as g } from "./index-css-syntax-error.js";
|
|
2
|
-
import { __require as O } from "./index-stringifier.js";
|
|
3
|
-
import { __require as S } from "./index-stringify.js";
|
|
4
|
-
import { __require as I } from "./index-symbols.js";
|
|
5
|
-
var d, m;
|
|
6
|
-
function _() {
|
|
7
|
-
if (m) return d;
|
|
8
|
-
m = 1;
|
|
9
|
-
let p = g(), y = O(), x = S(), { isClean: a, my: w } = I();
|
|
10
|
-
function c(u, e) {
|
|
11
|
-
let t = new u.constructor();
|
|
12
|
-
for (let n in u) {
|
|
13
|
-
if (!Object.prototype.hasOwnProperty.call(u, n) || n === "proxyCache") continue;
|
|
14
|
-
let i = u[n], r = typeof i;
|
|
15
|
-
n === "parent" && r === "object" ? e && (t[n] = e) : n === "source" ? t[n] = i : Array.isArray(i) ? t[n] = i.map((s) => c(s, t)) : (r === "object" && i !== null && (i = c(i)), t[n] = i);
|
|
16
|
-
}
|
|
17
|
-
return t;
|
|
18
|
-
}
|
|
19
|
-
function l(u, e) {
|
|
20
|
-
if (e && typeof e.offset < "u")
|
|
21
|
-
return e.offset;
|
|
22
|
-
let t = 1, n = 1, i = 0;
|
|
23
|
-
for (let r = 0; r < u.length; r++) {
|
|
24
|
-
if (n === e.line && t === e.column) {
|
|
25
|
-
i = r;
|
|
26
|
-
break;
|
|
27
|
-
}
|
|
28
|
-
u[r] === `
|
|
29
|
-
` ? (t = 1, n += 1) : t += 1;
|
|
30
|
-
}
|
|
31
|
-
return i;
|
|
32
|
-
}
|
|
33
|
-
class h {
|
|
34
|
-
get proxyOf() {
|
|
35
|
-
return this;
|
|
36
|
-
}
|
|
37
|
-
constructor(e = {}) {
|
|
38
|
-
this.raws = {}, this[a] = !1, this[w] = !0;
|
|
39
|
-
for (let t in e)
|
|
40
|
-
if (t === "nodes") {
|
|
41
|
-
this.nodes = [];
|
|
42
|
-
for (let n of e[t])
|
|
43
|
-
typeof n.clone == "function" ? this.append(n.clone()) : this.append(n);
|
|
44
|
-
} else
|
|
45
|
-
this[t] = e[t];
|
|
46
|
-
}
|
|
47
|
-
addToError(e) {
|
|
48
|
-
if (e.postcssNode = this, e.stack && this.source && /\n\s{4}at /.test(e.stack)) {
|
|
49
|
-
let t = this.source;
|
|
50
|
-
e.stack = e.stack.replace(
|
|
51
|
-
/\n\s{4}at /,
|
|
52
|
-
`$&${t.input.from}:${t.start.line}:${t.start.column}$&`
|
|
53
|
-
);
|
|
54
|
-
}
|
|
55
|
-
return e;
|
|
56
|
-
}
|
|
57
|
-
after(e) {
|
|
58
|
-
return this.parent.insertAfter(this, e), this;
|
|
59
|
-
}
|
|
60
|
-
assign(e = {}) {
|
|
61
|
-
for (let t in e)
|
|
62
|
-
this[t] = e[t];
|
|
63
|
-
return this;
|
|
64
|
-
}
|
|
65
|
-
before(e) {
|
|
66
|
-
return this.parent.insertBefore(this, e), this;
|
|
67
|
-
}
|
|
68
|
-
cleanRaws(e) {
|
|
69
|
-
delete this.raws.before, delete this.raws.after, e || delete this.raws.between;
|
|
70
|
-
}
|
|
71
|
-
clone(e = {}) {
|
|
72
|
-
let t = c(this);
|
|
73
|
-
for (let n in e)
|
|
74
|
-
t[n] = e[n];
|
|
75
|
-
return t;
|
|
76
|
-
}
|
|
77
|
-
cloneAfter(e = {}) {
|
|
78
|
-
let t = this.clone(e);
|
|
79
|
-
return this.parent.insertAfter(this, t), t;
|
|
80
|
-
}
|
|
81
|
-
cloneBefore(e = {}) {
|
|
82
|
-
let t = this.clone(e);
|
|
83
|
-
return this.parent.insertBefore(this, t), t;
|
|
84
|
-
}
|
|
85
|
-
error(e, t = {}) {
|
|
86
|
-
if (this.source) {
|
|
87
|
-
let { end: n, start: i } = this.rangeBy(t);
|
|
88
|
-
return this.source.input.error(
|
|
89
|
-
e,
|
|
90
|
-
{ column: i.column, line: i.line },
|
|
91
|
-
{ column: n.column, line: n.line },
|
|
92
|
-
t
|
|
93
|
-
);
|
|
94
|
-
}
|
|
95
|
-
return new p(e);
|
|
96
|
-
}
|
|
97
|
-
getProxyProcessor() {
|
|
98
|
-
return {
|
|
99
|
-
get(e, t) {
|
|
100
|
-
return t === "proxyOf" ? e : t === "root" ? () => e.root().toProxy() : e[t];
|
|
101
|
-
},
|
|
102
|
-
set(e, t, n) {
|
|
103
|
-
return e[t] === n || (e[t] = n, (t === "prop" || t === "value" || t === "name" || t === "params" || t === "important" || /* c8 ignore next */
|
|
104
|
-
t === "text") && e.markDirty()), !0;
|
|
105
|
-
}
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
/* c8 ignore next 3 */
|
|
109
|
-
markClean() {
|
|
110
|
-
this[a] = !0;
|
|
111
|
-
}
|
|
112
|
-
markDirty() {
|
|
113
|
-
if (this[a]) {
|
|
114
|
-
this[a] = !1;
|
|
115
|
-
let e = this;
|
|
116
|
-
for (; e = e.parent; )
|
|
117
|
-
e[a] = !1;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
next() {
|
|
121
|
-
if (!this.parent) return;
|
|
122
|
-
let e = this.parent.index(this);
|
|
123
|
-
return this.parent.nodes[e + 1];
|
|
124
|
-
}
|
|
125
|
-
positionBy(e = {}) {
|
|
126
|
-
let t = this.source.start;
|
|
127
|
-
if (e.index)
|
|
128
|
-
t = this.positionInside(e.index);
|
|
129
|
-
else if (e.word) {
|
|
130
|
-
let n = "document" in this.source.input ? this.source.input.document : this.source.input.css, r = n.slice(
|
|
131
|
-
l(n, this.source.start),
|
|
132
|
-
l(n, this.source.end)
|
|
133
|
-
).indexOf(e.word);
|
|
134
|
-
r !== -1 && (t = this.positionInside(r));
|
|
135
|
-
}
|
|
136
|
-
return t;
|
|
137
|
-
}
|
|
138
|
-
positionInside(e) {
|
|
139
|
-
let t = this.source.start.column, n = this.source.start.line, i = "document" in this.source.input ? this.source.input.document : this.source.input.css, r = l(i, this.source.start), s = r + e;
|
|
140
|
-
for (let o = r; o < s; o++)
|
|
141
|
-
i[o] === `
|
|
142
|
-
` ? (t = 1, n += 1) : t += 1;
|
|
143
|
-
return { column: t, line: n, offset: s };
|
|
144
|
-
}
|
|
145
|
-
prev() {
|
|
146
|
-
if (!this.parent) return;
|
|
147
|
-
let e = this.parent.index(this);
|
|
148
|
-
return this.parent.nodes[e - 1];
|
|
149
|
-
}
|
|
150
|
-
rangeBy(e = {}) {
|
|
151
|
-
let t = "document" in this.source.input ? this.source.input.document : this.source.input.css, n = {
|
|
152
|
-
column: this.source.start.column,
|
|
153
|
-
line: this.source.start.line,
|
|
154
|
-
offset: l(t, this.source.start)
|
|
155
|
-
}, i = this.source.end ? {
|
|
156
|
-
column: this.source.end.column + 1,
|
|
157
|
-
line: this.source.end.line,
|
|
158
|
-
offset: typeof this.source.end.offset == "number" ? (
|
|
159
|
-
// `source.end.offset` is exclusive, so we don't need to add 1
|
|
160
|
-
this.source.end.offset
|
|
161
|
-
) : (
|
|
162
|
-
// Since line/column in this.source.end is inclusive,
|
|
163
|
-
// the `sourceOffset(... , this.source.end)` returns an inclusive offset.
|
|
164
|
-
// So, we add 1 to convert it to exclusive.
|
|
165
|
-
l(t, this.source.end) + 1
|
|
166
|
-
)
|
|
167
|
-
} : {
|
|
168
|
-
column: n.column + 1,
|
|
169
|
-
line: n.line,
|
|
170
|
-
offset: n.offset + 1
|
|
171
|
-
};
|
|
172
|
-
if (e.word) {
|
|
173
|
-
let s = t.slice(
|
|
174
|
-
l(t, this.source.start),
|
|
175
|
-
l(t, this.source.end)
|
|
176
|
-
).indexOf(e.word);
|
|
177
|
-
s !== -1 && (n = this.positionInside(s), i = this.positionInside(s + e.word.length));
|
|
178
|
-
} else
|
|
179
|
-
e.start ? n = {
|
|
180
|
-
column: e.start.column,
|
|
181
|
-
line: e.start.line,
|
|
182
|
-
offset: l(t, e.start)
|
|
183
|
-
} : e.index && (n = this.positionInside(e.index)), e.end ? i = {
|
|
184
|
-
column: e.end.column,
|
|
185
|
-
line: e.end.line,
|
|
186
|
-
offset: l(t, e.end)
|
|
187
|
-
} : typeof e.endIndex == "number" ? i = this.positionInside(e.endIndex) : e.index && (i = this.positionInside(e.index + 1));
|
|
188
|
-
return (i.line < n.line || i.line === n.line && i.column <= n.column) && (i = {
|
|
189
|
-
column: n.column + 1,
|
|
190
|
-
line: n.line,
|
|
191
|
-
offset: n.offset + 1
|
|
192
|
-
}), { end: i, start: n };
|
|
193
|
-
}
|
|
194
|
-
raw(e, t) {
|
|
195
|
-
return new y().raw(this, e, t);
|
|
196
|
-
}
|
|
197
|
-
remove() {
|
|
198
|
-
return this.parent && this.parent.removeChild(this), this.parent = void 0, this;
|
|
199
|
-
}
|
|
200
|
-
replaceWith(...e) {
|
|
201
|
-
if (this.parent) {
|
|
202
|
-
let t = this, n = !1;
|
|
203
|
-
for (let i of e)
|
|
204
|
-
i === this ? n = !0 : n ? (this.parent.insertAfter(t, i), t = i) : this.parent.insertBefore(t, i);
|
|
205
|
-
n || this.remove();
|
|
206
|
-
}
|
|
207
|
-
return this;
|
|
208
|
-
}
|
|
209
|
-
root() {
|
|
210
|
-
let e = this;
|
|
211
|
-
for (; e.parent && e.parent.type !== "document"; )
|
|
212
|
-
e = e.parent;
|
|
213
|
-
return e;
|
|
214
|
-
}
|
|
215
|
-
toJSON(e, t) {
|
|
216
|
-
let n = {}, i = t == null;
|
|
217
|
-
t = t || /* @__PURE__ */ new Map();
|
|
218
|
-
let r = 0;
|
|
219
|
-
for (let s in this) {
|
|
220
|
-
if (!Object.prototype.hasOwnProperty.call(this, s) || s === "parent" || s === "proxyCache") continue;
|
|
221
|
-
let o = this[s];
|
|
222
|
-
if (Array.isArray(o))
|
|
223
|
-
n[s] = o.map((f) => typeof f == "object" && f.toJSON ? f.toJSON(null, t) : f);
|
|
224
|
-
else if (typeof o == "object" && o.toJSON)
|
|
225
|
-
n[s] = o.toJSON(null, t);
|
|
226
|
-
else if (s === "source") {
|
|
227
|
-
if (o == null) continue;
|
|
228
|
-
let f = t.get(o.input);
|
|
229
|
-
f == null && (f = r, t.set(o.input, r), r++), n[s] = {
|
|
230
|
-
end: o.end,
|
|
231
|
-
inputId: f,
|
|
232
|
-
start: o.start
|
|
233
|
-
};
|
|
234
|
-
} else
|
|
235
|
-
n[s] = o;
|
|
236
|
-
}
|
|
237
|
-
return i && (n.inputs = [...t.keys()].map((s) => s.toJSON())), n;
|
|
238
|
-
}
|
|
239
|
-
toProxy() {
|
|
240
|
-
return this.proxyCache || (this.proxyCache = new Proxy(this, this.getProxyProcessor())), this.proxyCache;
|
|
241
|
-
}
|
|
242
|
-
toString(e = x) {
|
|
243
|
-
e.stringify && (e = e.stringify);
|
|
244
|
-
let t = "";
|
|
245
|
-
return e(this, (n) => {
|
|
246
|
-
t += n;
|
|
247
|
-
}), t;
|
|
248
|
-
}
|
|
249
|
-
warn(e, t, n = {}) {
|
|
250
|
-
let i = { node: this };
|
|
251
|
-
for (let r in n) i[r] = n[r];
|
|
252
|
-
return e.warn(t, i);
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
return d = h, h.default = h, d;
|
|
256
|
-
}
|
|
257
|
-
export {
|
|
258
|
-
_ as __require
|
|
259
|
-
};
|
package/dist/index-non-secure.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
var n, i;
|
|
2
|
-
function d() {
|
|
3
|
-
if (i) return n;
|
|
4
|
-
i = 1;
|
|
5
|
-
let l = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
|
6
|
-
return n = { nanoid: (e = 21) => {
|
|
7
|
-
let r = "", t = e | 0;
|
|
8
|
-
for (; t--; )
|
|
9
|
-
r += l[Math.random() * 64 | 0];
|
|
10
|
-
return r;
|
|
11
|
-
}, customAlphabet: (e, r = 21) => (t = r) => {
|
|
12
|
-
let u = "", a = t | 0;
|
|
13
|
-
for (; a--; )
|
|
14
|
-
u += e[Math.random() * e.length | 0];
|
|
15
|
-
return u;
|
|
16
|
-
} }, n;
|
|
17
|
-
}
|
|
18
|
-
export {
|
|
19
|
-
d as __require
|
|
20
|
-
};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { __module as m } from "./index-parse-srcset2.js";
|
|
2
|
-
var F = m.exports, q;
|
|
3
|
-
function k() {
|
|
4
|
-
return q ? m.exports : (q = 1, (function(L) {
|
|
5
|
-
(function(o, l) {
|
|
6
|
-
L.exports ? L.exports = l() : o.parseSrcset = l();
|
|
7
|
-
})(F, function() {
|
|
8
|
-
return function(o) {
|
|
9
|
-
function l(r) {
|
|
10
|
-
return r === " " || // space
|
|
11
|
-
r === " " || // horizontal tab
|
|
12
|
-
r === `
|
|
13
|
-
` || // new line
|
|
14
|
-
r === "\f" || // form feed
|
|
15
|
-
r === "\r";
|
|
16
|
-
}
|
|
17
|
-
function w(r) {
|
|
18
|
-
var s, i = r.exec(o.substring(u));
|
|
19
|
-
if (i)
|
|
20
|
-
return s = i[0], u += s.length, s;
|
|
21
|
-
}
|
|
22
|
-
for (var D = o.length, I = /^[ \t\n\r\u000c]+/, N = /^[, \t\n\r\u000c]+/, P = /^[^ \t\n\r\u000c]+/, b = /[,]+$/, _ = /^\d+$/, A = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/, c, a, e, n, t, u = 0, $ = []; ; ) {
|
|
23
|
-
if (w(N), u >= D)
|
|
24
|
-
return $;
|
|
25
|
-
c = w(P), a = [], c.slice(-1) === "," ? (c = c.replace(b, ""), p()) : E();
|
|
26
|
-
}
|
|
27
|
-
function E() {
|
|
28
|
-
for (w(I), e = "", n = "in descriptor"; ; ) {
|
|
29
|
-
if (t = o.charAt(u), n === "in descriptor")
|
|
30
|
-
if (l(t))
|
|
31
|
-
e && (a.push(e), e = "", n = "after descriptor");
|
|
32
|
-
else if (t === ",") {
|
|
33
|
-
u += 1, e && a.push(e), p();
|
|
34
|
-
return;
|
|
35
|
-
} else if (t === "(")
|
|
36
|
-
e = e + t, n = "in parens";
|
|
37
|
-
else if (t === "") {
|
|
38
|
-
e && a.push(e), p();
|
|
39
|
-
return;
|
|
40
|
-
} else
|
|
41
|
-
e = e + t;
|
|
42
|
-
else if (n === "in parens")
|
|
43
|
-
if (t === ")")
|
|
44
|
-
e = e + t, n = "in descriptor";
|
|
45
|
-
else if (t === "") {
|
|
46
|
-
a.push(e), p();
|
|
47
|
-
return;
|
|
48
|
-
} else
|
|
49
|
-
e = e + t;
|
|
50
|
-
else if (n === "after descriptor" && !l(t))
|
|
51
|
-
if (t === "") {
|
|
52
|
-
p();
|
|
53
|
-
return;
|
|
54
|
-
} else
|
|
55
|
-
n = "in descriptor", u -= 1;
|
|
56
|
-
u += 1;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
function p() {
|
|
60
|
-
var r = !1, s, i, d, S, g = {}, h, v, f, x, C;
|
|
61
|
-
for (S = 0; S < a.length; S++)
|
|
62
|
-
h = a[S], v = h[h.length - 1], f = h.substring(0, h.length - 1), x = parseInt(f, 10), C = parseFloat(f), _.test(f) && v === "w" ? ((s || i) && (r = !0), x === 0 ? r = !0 : s = x) : A.test(f) && v === "x" ? ((s || i || d) && (r = !0), C < 0 ? r = !0 : i = C) : _.test(f) && v === "h" ? ((d || i) && (r = !0), x === 0 ? r = !0 : d = x) : r = !0;
|
|
63
|
-
r || (g.url = c, s && (g.w = s), i && (g.d = i), d && (g.h = d), $.push(g));
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
});
|
|
67
|
-
})(m), m.exports);
|
|
68
|
-
}
|
|
69
|
-
export {
|
|
70
|
-
k as __require
|
|
71
|
-
};
|
package/dist/index-parse4.js
DELETED
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import ae from "./index-typeof2.js";
|
|
2
|
-
import B from "./index-createForOfIteratorHelper.js";
|
|
3
|
-
import ne from "./index-en-US.js";
|
|
4
|
-
import oe from "./index-subMilliseconds.js";
|
|
5
|
-
import G from "./index-toDate.js";
|
|
6
|
-
import ie from "./index-assign.js";
|
|
7
|
-
import J from "./index-longFormatters.js";
|
|
8
|
-
import le from "./index-getTimezoneOffsetInMilliseconds.js";
|
|
9
|
-
import { isProtectedWeekYearToken as fe, throwProtectedError as U, isProtectedDayOfYearToken as se } from "./index-protectedTokens.js";
|
|
10
|
-
import V from "./index-toInteger.js";
|
|
11
|
-
import ue from "./index-requiredArgs.js";
|
|
12
|
-
import { DateToSystemTimezoneSetter as ve } from "./index-Setter.js";
|
|
13
|
-
import { parsers as ce } from "./index-parsers.js";
|
|
14
|
-
import { getDefaultOptions as de } from "./index-defaultOptions.js";
|
|
15
|
-
var me = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, pe = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, ge = /^'([^]*?)'?$/, he = /''/g, ke = /\S/, we = /[a-zA-Z]/;
|
|
16
|
-
function Pe(o, X, q, r) {
|
|
17
|
-
var m, p, g, h, k, w, _, O, y, D, $, S, E, N, T, C, W, b;
|
|
18
|
-
ue(3, arguments);
|
|
19
|
-
var n = String(o), f = String(X), i = de(), s = (m = (p = r == null ? void 0 : r.locale) !== null && p !== void 0 ? p : i.locale) !== null && m !== void 0 ? m : ne;
|
|
20
|
-
if (!s.match)
|
|
21
|
-
throw new RangeError("locale must contain match property");
|
|
22
|
-
var x = V((g = (h = (k = (w = r == null ? void 0 : r.firstWeekContainsDate) !== null && w !== void 0 ? w : r == null || (_ = r.locale) === null || _ === void 0 || (O = _.options) === null || O === void 0 ? void 0 : O.firstWeekContainsDate) !== null && k !== void 0 ? k : i.firstWeekContainsDate) !== null && h !== void 0 ? h : (y = i.locale) === null || y === void 0 || (D = y.options) === null || D === void 0 ? void 0 : D.firstWeekContainsDate) !== null && g !== void 0 ? g : 1);
|
|
23
|
-
if (!(x >= 1 && x <= 7))
|
|
24
|
-
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
25
|
-
var R = V(($ = (S = (E = (N = r == null ? void 0 : r.weekStartsOn) !== null && N !== void 0 ? N : r == null || (T = r.locale) === null || T === void 0 || (C = T.options) === null || C === void 0 ? void 0 : C.weekStartsOn) !== null && E !== void 0 ? E : i.weekStartsOn) !== null && S !== void 0 ? S : (W = i.locale) === null || W === void 0 || (b = W.options) === null || b === void 0 ? void 0 : b.weekStartsOn) !== null && $ !== void 0 ? $ : 0);
|
|
26
|
-
if (!(R >= 0 && R <= 6))
|
|
27
|
-
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
28
|
-
if (f === "")
|
|
29
|
-
return n === "" ? G(q) : /* @__PURE__ */ new Date(NaN);
|
|
30
|
-
var A = {
|
|
31
|
-
firstWeekContainsDate: x,
|
|
32
|
-
weekStartsOn: R,
|
|
33
|
-
locale: s
|
|
34
|
-
}, P = [new ve()], ee = f.match(pe).map(function(t) {
|
|
35
|
-
var e = t[0];
|
|
36
|
-
if (e in J) {
|
|
37
|
-
var a = J[e];
|
|
38
|
-
return a(t, s.formatLong);
|
|
39
|
-
}
|
|
40
|
-
return t;
|
|
41
|
-
}).join("").match(me), F = [], u = B(ee), z;
|
|
42
|
-
try {
|
|
43
|
-
var re = function() {
|
|
44
|
-
var e = z.value;
|
|
45
|
-
!(r != null && r.useAdditionalWeekYearTokens) && fe(e) && U(e, f, o), !(r != null && r.useAdditionalDayOfYearTokens) && se(e) && U(e, f, o);
|
|
46
|
-
var a = e[0], d = ce[a];
|
|
47
|
-
if (d) {
|
|
48
|
-
var Q = d.incompatibleTokens;
|
|
49
|
-
if (Array.isArray(Q)) {
|
|
50
|
-
var K = F.find(function(Z) {
|
|
51
|
-
return Q.includes(Z.token) || Z.token === a;
|
|
52
|
-
});
|
|
53
|
-
if (K)
|
|
54
|
-
throw new RangeError("The format string mustn't contain `".concat(K.fullToken, "` and `").concat(e, "` at the same time"));
|
|
55
|
-
} else if (d.incompatibleTokens === "*" && F.length > 0)
|
|
56
|
-
throw new RangeError("The format string mustn't contain `".concat(e, "` and any other token at the same time"));
|
|
57
|
-
F.push({
|
|
58
|
-
token: a,
|
|
59
|
-
fullToken: e
|
|
60
|
-
});
|
|
61
|
-
var I = d.run(n, e, s.match, A);
|
|
62
|
-
if (!I)
|
|
63
|
-
return {
|
|
64
|
-
v: /* @__PURE__ */ new Date(NaN)
|
|
65
|
-
};
|
|
66
|
-
P.push(I.setter), n = I.rest;
|
|
67
|
-
} else {
|
|
68
|
-
if (a.match(we))
|
|
69
|
-
throw new RangeError("Format string contains an unescaped latin alphabet character `" + a + "`");
|
|
70
|
-
if (e === "''" ? e = "'" : a === "'" && (e = _e(e)), n.indexOf(e) === 0)
|
|
71
|
-
n = n.slice(e.length);
|
|
72
|
-
else
|
|
73
|
-
return {
|
|
74
|
-
v: /* @__PURE__ */ new Date(NaN)
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
for (u.s(); !(z = u.n()).done; ) {
|
|
79
|
-
var L = re();
|
|
80
|
-
if (ae(L) === "object") return L.v;
|
|
81
|
-
}
|
|
82
|
-
} catch (t) {
|
|
83
|
-
u.e(t);
|
|
84
|
-
} finally {
|
|
85
|
-
u.f();
|
|
86
|
-
}
|
|
87
|
-
if (n.length > 0 && ke.test(n))
|
|
88
|
-
return /* @__PURE__ */ new Date(NaN);
|
|
89
|
-
var te = P.map(function(t) {
|
|
90
|
-
return t.priority;
|
|
91
|
-
}).sort(function(t, e) {
|
|
92
|
-
return e - t;
|
|
93
|
-
}).filter(function(t, e, a) {
|
|
94
|
-
return a.indexOf(t) === e;
|
|
95
|
-
}).map(function(t) {
|
|
96
|
-
return P.filter(function(e) {
|
|
97
|
-
return e.priority === t;
|
|
98
|
-
}).sort(function(e, a) {
|
|
99
|
-
return a.subPriority - e.subPriority;
|
|
100
|
-
});
|
|
101
|
-
}).map(function(t) {
|
|
102
|
-
return t[0];
|
|
103
|
-
}), Y = G(q);
|
|
104
|
-
if (isNaN(Y.getTime()))
|
|
105
|
-
return /* @__PURE__ */ new Date(NaN);
|
|
106
|
-
var l = oe(Y, le(Y)), M = {}, v = B(te), j;
|
|
107
|
-
try {
|
|
108
|
-
for (v.s(); !(j = v.n()).done; ) {
|
|
109
|
-
var H = j.value;
|
|
110
|
-
if (!H.validate(l, A))
|
|
111
|
-
return /* @__PURE__ */ new Date(NaN);
|
|
112
|
-
var c = H.set(l, M, A);
|
|
113
|
-
Array.isArray(c) ? (l = c[0], ie(M, c[1])) : l = c;
|
|
114
|
-
}
|
|
115
|
-
} catch (t) {
|
|
116
|
-
v.e(t);
|
|
117
|
-
} finally {
|
|
118
|
-
v.f();
|
|
119
|
-
}
|
|
120
|
-
return l;
|
|
121
|
-
}
|
|
122
|
-
function _e(o) {
|
|
123
|
-
return o.match(ge)[1].replace(he, "'");
|
|
124
|
-
}
|
|
125
|
-
export {
|
|
126
|
-
Pe as default
|
|
127
|
-
};
|