@rankingcoach/vanguard 1.5.1 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index-AMPMMidnightParser.js +1 -1
- package/dist/index-AMPMParser.js +1 -1
- package/dist/index-Accordion2.js +1 -1
- package/dist/index-Axios4.js +1 -1
- package/dist/index-AxiosError.js +1 -1
- package/dist/index-BenchmarkGauge.js +119 -0
- package/dist/index-BenchmarkGauge.module.scss.js +35 -0
- package/dist/index-BenchmarkGaugeMarker.js +58 -0
- package/dist/index-BenchmarkGaugeMarker.module.scss.js +19 -0
- package/dist/index-BenchmarkGaugePin.js +40 -0
- package/dist/index-BenchmarkGaugePin.module.scss.js +15 -0
- package/dist/index-Calendar.js +1 -1
- package/dist/index-CalendarPicker.js +1 -1
- package/dist/index-CanceledError.js +1 -1
- package/dist/index-Collapse2.js +1 -1
- package/dist/index-DateParser.js +1 -1
- package/dist/index-DateRange.js +1 -1
- package/dist/index-DateRange2.js +1 -1
- package/dist/index-DateRangePicker2.js +1 -1
- package/dist/index-DayOfYearParser.js +1 -1
- package/dist/index-DayPeriodParser.js +1 -1
- package/dist/index-ExtendedYearParser.js +1 -1
- package/dist/index-Fade.js +1 -1
- package/dist/index-FormControl2.js +1 -1
- package/dist/index-FractionOfSecondParser.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-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-InputBase2.js +1 -1
- package/dist/index-InterceptorManager.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-LoginButton.js +1 -1
- package/dist/index-MinuteParser.js +1 -1
- package/dist/index-Month.js +1 -1
- package/dist/index-MonthParser.js +1 -1
- package/dist/index-MonthPicker.js +1 -1
- package/dist/index-PickersMonth.js +1 -1
- package/dist/index-PickersPopper.js +1 -1
- package/dist/index-PureDateInput.js +1 -1
- package/dist/index-QuarterParser.js +1 -1
- package/dist/index-SecondParser.js +1 -1
- package/dist/index-SelectInput2.js +2 -2
- package/dist/index-Slide.js +1 -1
- package/dist/index-SocialMediaLink.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-TimestampMillisecondsParser.js +1 -1
- package/dist/index-TimestampSecondsParser.js +1 -1
- package/dist/index-Tooltip.js +1 -1
- package/dist/index-YearParser.js +1 -1
- package/dist/index-YearPicker.js +1 -1
- package/dist/index-_virtual10.js +3 -5
- package/dist/index-_virtual11.js +5 -5
- package/dist/index-_virtual12.js +5 -2
- package/dist/index-_virtual18.js +2 -7
- package/dist/index-_virtual19.js +7 -2
- package/dist/index-_virtual9.js +2 -3
- package/dist/index-axios2.js +1 -1
- package/dist/index-buildURL.js +1 -1
- package/dist/index-cookies.js +1 -1
- package/dist/index-defaults.js +1 -1
- package/dist/index-dispatchRequest.js +1 -1
- package/dist/index-dist3.js +1 -1
- package/dist/index-es.js +1 -1
- package/dist/index-formDataToJSON.js +1 -1
- package/dist/index-http.store.js +1 -1
- package/dist/index-isAxiosError.js +1 -1
- package/dist/index-isURLSameOrigin.js +1 -1
- package/dist/index-mergeConfig.js +1 -1
- package/dist/index-normalizeHeaderName.js +1 -1
- package/dist/index-parseHeaders.js +1 -1
- package/dist/index-position_high.svg.js +4 -0
- package/dist/index-position_low.svg.js +4 -0
- package/dist/index-position_mid.svg.js +4 -0
- package/dist/index-toFormData.js +1 -1
- package/dist/index-toURLEncodedForm.js +1 -1
- package/dist/index-transformData.js +1 -1
- package/dist/index-use-benchmark-gauge-render-state.js +61 -0
- package/dist/index-use-dynamic-import.js +3 -0
- package/dist/index-useAutocomplete.js +1 -1
- package/dist/index-useControlled.js +2 -26
- package/dist/index-useControlled2.js +26 -2
- package/dist/index-useIsLandscape.js +1 -1
- package/dist/index-useSlider.js +1 -1
- package/dist/index-useViews.js +2 -2
- package/dist/index-utils10.js +179 -11
- package/dist/index-utils11.js +12 -100
- package/dist/index-utils12.js +102 -0
- package/dist/index-utils3.js +48 -19
- package/dist/index-utils4.js +18 -63
- package/dist/index-utils5.js +63 -15
- package/dist/index-utils6.js +15 -66
- package/dist/index-utils7.js +66 -11
- package/dist/index-utils8.js +12 -2
- package/dist/index-utils9.js +2 -180
- package/dist/index-video.es.js +2 -2
- package/dist/index-xhr.js +1 -1
- package/dist/index.js +290 -288
- package/dist/reputation/position_high.svg +5 -0
- package/dist/reputation/position_low.svg +12 -0
- package/dist/reputation/position_mid.svg +11 -0
- package/dist/types/core/BenchmarkGauge/BenchmarkGauge.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/BenchmarkGaugeMarker/BenchmarkGaugeMarker.d.ts +16 -0
- package/dist/types/core/BenchmarkGauge/BenchmarkGaugeMarker/BenchmarkGaugePin/BenchmarkGaugePin.d.ts +10 -0
- package/dist/types/core/BenchmarkGauge/hooks/use-benchmark-gauge-render-state.d.ts +19 -0
- package/dist/types/core/BenchmarkGauge/index.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/AuditSimulation.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ColorByRankCustomPalette.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ColorByRankDefault.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ColorByRankMixedPrecedence.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ColorByRankTwoMarkersEndpoints.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/EdgePins.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/FullTrackNoProgress.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/HorizontalDefault.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/InsideEndLabelOnly.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/InsideLabels.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/InsideLabelsVertical.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/InsideLabelsWithOverlap.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/InsideLabelsWithProgress.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/InsideStartLabelOnly.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/InvalidRangeGuard.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/LegendHorizontal.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/LegendNone.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/LegendPartial.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/LegendVertical.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/LegendWithCoreGrowEffect.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/LegendWithHighlightedIcons.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/LegendWithWrapperExtras.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ListingsSimulation.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/NoMarkers.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/OverlappingMarkers.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ProgressAtMax.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ProgressAtMin.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ProgressHorizontal.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ProgressInvalidId.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ProgressVertical.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ProgressVerticalAtMin.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ProgressWideTextPin.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ProgressWideTextPinVertical.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/RankScenarioA.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/RankScenarioB.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/RankScenarioC.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/RankWithContent.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ScoreSimulation.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/StaticColorRegression.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/VerticalDefault.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/WithContentAutoFlip.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/WithContentEnd.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/WithContentStart.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/_BenchmarkGauge.default.d.ts +44 -0
- package/dist/types/core/BenchmarkGauge/types.d.ts +136 -0
- package/dist/types/core/BenchmarkGauge/utils.d.ts +61 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/vanguard-asset-analysis.json +1 -1
- package/dist/vanguard.css +1 -1
- package/dist-wordpress/vanguard.css +1 -1
- package/package.json +1 -1
package/dist/index-utils6.js
CHANGED
|
@@ -1,69 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
value: !0
|
|
15
|
-
}), d.calcFocusDate = M, d.findNextRangeIndex = x, d.getMonthDisplayRange = R, d.generateStyles = I;
|
|
16
|
-
var D = f(y()), _ = f(C), g = f(p), h = f(w), $ = f(F), q = f(N), s = f(S), l = f(U);
|
|
17
|
-
function f(e) {
|
|
18
|
-
return e && e.__esModule ? e : { default: e };
|
|
19
|
-
}
|
|
20
|
-
function M(e, t) {
|
|
21
|
-
var a = t.shownDate, r = t.date, u = t.months, o = t.ranges, i = t.focusedRange, O = t.displayMode, n;
|
|
22
|
-
if (O === "dateRange") {
|
|
23
|
-
var c = o[i[0]] || {};
|
|
24
|
-
n = {
|
|
25
|
-
start: c.startDate,
|
|
26
|
-
end: c.endDate
|
|
27
|
-
};
|
|
28
|
-
} else
|
|
29
|
-
n = {
|
|
30
|
-
start: r,
|
|
31
|
-
end: r
|
|
32
|
-
};
|
|
33
|
-
n.start = (0, l.default)(n.start || /* @__PURE__ */ new Date()), n.end = (0, s.default)(n.end || n.start);
|
|
34
|
-
var m = n.start || n.end || a || /* @__PURE__ */ new Date();
|
|
35
|
-
return e ? (0, g.default)(n.start, n.end) > u ? e : m : a || m;
|
|
36
|
-
}
|
|
37
|
-
function x(e) {
|
|
38
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : -1, a = e.findIndex(function(r, u) {
|
|
39
|
-
return u > t && r.autoFocus !== !1 && !r.disabled;
|
|
40
|
-
});
|
|
41
|
-
return a !== -1 ? a : e.findIndex(function(r) {
|
|
42
|
-
return r.autoFocus !== !1 && !r.disabled;
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
function R(e, t, a) {
|
|
46
|
-
var r = (0, l.default)(e, t), u = (0, s.default)(e, t), o = (0, q.default)(r, t), i = (0, $.default)(u, t);
|
|
47
|
-
return a && (0, h.default)(i, o) <= 34 && (i = (0, _.default)(i, 7)), {
|
|
48
|
-
start: o,
|
|
49
|
-
end: i,
|
|
50
|
-
startDateOfMonth: r,
|
|
51
|
-
endDateOfMonth: u
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
function I(e) {
|
|
55
|
-
if (!e.length) return {};
|
|
56
|
-
var t = e.filter(function(a) {
|
|
57
|
-
return !!a;
|
|
58
|
-
}).reduce(function(a, r) {
|
|
59
|
-
return Object.keys(r).forEach(function(u) {
|
|
60
|
-
a[u] = (0, D.default)(a[u], r[u]);
|
|
61
|
-
}), a;
|
|
62
|
-
}, {});
|
|
63
|
-
return t;
|
|
64
|
-
}
|
|
65
|
-
return d;
|
|
1
|
+
const s = (t) => t.scrollTop;
|
|
2
|
+
function l(t, e) {
|
|
3
|
+
var r, a;
|
|
4
|
+
const {
|
|
5
|
+
timeout: n,
|
|
6
|
+
easing: i,
|
|
7
|
+
style: o = {}
|
|
8
|
+
} = t;
|
|
9
|
+
return {
|
|
10
|
+
duration: (r = o.transitionDuration) != null ? r : typeof n == "number" ? n : n[e.mode] || 0,
|
|
11
|
+
easing: (a = o.transitionTimingFunction) != null ? a : typeof i == "object" ? i[e.mode] : i,
|
|
12
|
+
delay: o.transitionDelay
|
|
13
|
+
};
|
|
66
14
|
}
|
|
67
15
|
export {
|
|
68
|
-
|
|
16
|
+
l as getTransitionProps,
|
|
17
|
+
s as reflow
|
|
69
18
|
};
|
package/dist/index-utils7.js
CHANGED
|
@@ -1,14 +1,69 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { __exports as d } from "./index-utils9.js";
|
|
2
|
+
import { __require as y } from "./index-classnames2.js";
|
|
3
|
+
import C from "./index-_virtual39.js";
|
|
4
|
+
import p from "./index-_virtual47.js";
|
|
5
|
+
import w from "./index-_virtual40.js";
|
|
6
|
+
import F from "./index-_virtual52.js";
|
|
7
|
+
import N from "./index-_virtual53.js";
|
|
8
|
+
import S from "./index-_virtual45.js";
|
|
9
|
+
import U from "./index-_virtual46.js";
|
|
10
|
+
var v;
|
|
11
|
+
function H() {
|
|
12
|
+
if (v) return d;
|
|
13
|
+
v = 1, Object.defineProperty(d, "__esModule", {
|
|
14
|
+
value: !0
|
|
15
|
+
}), d.calcFocusDate = M, d.findNextRangeIndex = x, d.getMonthDisplayRange = R, d.generateStyles = I;
|
|
16
|
+
var D = f(y()), _ = f(C), g = f(p), h = f(w), $ = f(F), q = f(N), s = f(S), l = f(U);
|
|
17
|
+
function f(e) {
|
|
18
|
+
return e && e.__esModule ? e : { default: e };
|
|
19
|
+
}
|
|
20
|
+
function M(e, t) {
|
|
21
|
+
var a = t.shownDate, r = t.date, u = t.months, o = t.ranges, i = t.focusedRange, O = t.displayMode, n;
|
|
22
|
+
if (O === "dateRange") {
|
|
23
|
+
var c = o[i[0]] || {};
|
|
24
|
+
n = {
|
|
25
|
+
start: c.startDate,
|
|
26
|
+
end: c.endDate
|
|
27
|
+
};
|
|
28
|
+
} else
|
|
29
|
+
n = {
|
|
30
|
+
start: r,
|
|
31
|
+
end: r
|
|
32
|
+
};
|
|
33
|
+
n.start = (0, l.default)(n.start || /* @__PURE__ */ new Date()), n.end = (0, s.default)(n.end || n.start);
|
|
34
|
+
var m = n.start || n.end || a || /* @__PURE__ */ new Date();
|
|
35
|
+
return e ? (0, g.default)(n.start, n.end) > u ? e : m : a || m;
|
|
36
|
+
}
|
|
37
|
+
function x(e) {
|
|
38
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : -1, a = e.findIndex(function(r, u) {
|
|
39
|
+
return u > t && r.autoFocus !== !1 && !r.disabled;
|
|
40
|
+
});
|
|
41
|
+
return a !== -1 ? a : e.findIndex(function(r) {
|
|
42
|
+
return r.autoFocus !== !1 && !r.disabled;
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
function R(e, t, a) {
|
|
46
|
+
var r = (0, l.default)(e, t), u = (0, s.default)(e, t), o = (0, q.default)(r, t), i = (0, $.default)(u, t);
|
|
47
|
+
return a && (0, h.default)(i, o) <= 34 && (i = (0, _.default)(i, 7)), {
|
|
48
|
+
start: o,
|
|
49
|
+
end: i,
|
|
50
|
+
startDateOfMonth: r,
|
|
51
|
+
endDateOfMonth: u
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function I(e) {
|
|
55
|
+
if (!e.length) return {};
|
|
56
|
+
var t = e.filter(function(a) {
|
|
57
|
+
return !!a;
|
|
58
|
+
}).reduce(function(a, r) {
|
|
59
|
+
return Object.keys(r).forEach(function(u) {
|
|
60
|
+
a[u] = (0, D.default)(a[u], r[u]);
|
|
61
|
+
}), a;
|
|
62
|
+
}, {});
|
|
63
|
+
return t;
|
|
64
|
+
}
|
|
65
|
+
return d;
|
|
9
66
|
}
|
|
10
67
|
export {
|
|
11
|
-
|
|
12
|
-
u as isAdornedStart,
|
|
13
|
-
n as isFilled
|
|
68
|
+
H as __require
|
|
14
69
|
};
|
package/dist/index-utils8.js
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
function t(r) {
|
|
2
|
+
return r != null && !(Array.isArray(r) && r.length === 0);
|
|
3
|
+
}
|
|
4
|
+
function n(r, e = !1) {
|
|
5
|
+
return r && (t(r.value) && r.value !== "" || e && t(r.defaultValue) && r.defaultValue !== "");
|
|
6
|
+
}
|
|
7
|
+
function u(r) {
|
|
8
|
+
return r.startAdornment;
|
|
9
|
+
}
|
|
2
10
|
export {
|
|
3
|
-
|
|
11
|
+
t as hasValue,
|
|
12
|
+
u as isAdornedStart,
|
|
13
|
+
n as isFilled
|
|
4
14
|
};
|
package/dist/index-utils9.js
CHANGED
|
@@ -1,182 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var F, A;
|
|
3
|
-
function X() {
|
|
4
|
-
if (A) return F;
|
|
5
|
-
A = 1;
|
|
6
|
-
var w = J(), s = Object.prototype.toString, l = /* @__PURE__ */ (function(r) {
|
|
7
|
-
return function(e) {
|
|
8
|
-
var t = s.call(e);
|
|
9
|
-
return r[t] || (r[t] = t.slice(8, -1).toLowerCase());
|
|
10
|
-
};
|
|
11
|
-
})(/* @__PURE__ */ Object.create(null));
|
|
12
|
-
function f(r) {
|
|
13
|
-
return r = r.toLowerCase(), function(t) {
|
|
14
|
-
return l(t) === r;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
function o(r) {
|
|
18
|
-
return Array.isArray(r);
|
|
19
|
-
}
|
|
20
|
-
function p(r) {
|
|
21
|
-
return typeof r > "u";
|
|
22
|
-
}
|
|
23
|
-
function B(r) {
|
|
24
|
-
return r !== null && !p(r) && r.constructor !== null && !p(r.constructor) && typeof r.constructor.isBuffer == "function" && r.constructor.isBuffer(r);
|
|
25
|
-
}
|
|
26
|
-
var O = f("ArrayBuffer");
|
|
27
|
-
function S(r) {
|
|
28
|
-
var e;
|
|
29
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(r) : e = r && r.buffer && O(r.buffer), e;
|
|
30
|
-
}
|
|
31
|
-
function E(r) {
|
|
32
|
-
return typeof r == "string";
|
|
33
|
-
}
|
|
34
|
-
function g(r) {
|
|
35
|
-
return typeof r == "number";
|
|
36
|
-
}
|
|
37
|
-
function h(r) {
|
|
38
|
-
return r !== null && typeof r == "object";
|
|
39
|
-
}
|
|
40
|
-
function c(r) {
|
|
41
|
-
if (l(r) !== "object")
|
|
42
|
-
return !1;
|
|
43
|
-
var e = Object.getPrototypeOf(r);
|
|
44
|
-
return e === null || e === Object.prototype;
|
|
45
|
-
}
|
|
46
|
-
function P(r) {
|
|
47
|
-
return r && Object.keys(r).length === 0 && Object.getPrototypeOf(r) === Object.prototype;
|
|
48
|
-
}
|
|
49
|
-
var L = f("Date"), x = f("File"), b = f("Blob"), U = f("FileList");
|
|
50
|
-
function y(r) {
|
|
51
|
-
return s.call(r) === "[object Function]";
|
|
52
|
-
}
|
|
53
|
-
function D(r) {
|
|
54
|
-
return h(r) && y(r.pipe);
|
|
55
|
-
}
|
|
56
|
-
function N(r) {
|
|
57
|
-
var e = "[object FormData]";
|
|
58
|
-
return r && (typeof FormData == "function" && r instanceof FormData || s.call(r) === e || y(r.toString) && r.toString() === e);
|
|
59
|
-
}
|
|
60
|
-
var T = f("URLSearchParams");
|
|
61
|
-
function V(r) {
|
|
62
|
-
return r.trim ? r.trim() : r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
63
|
-
}
|
|
64
|
-
function q() {
|
|
65
|
-
var r;
|
|
66
|
-
return typeof navigator < "u" && ((r = navigator.product) === "ReactNative" || r === "NativeScript" || r === "NS") ? !1 : typeof window < "u" && typeof document < "u";
|
|
67
|
-
}
|
|
68
|
-
function d(r, e) {
|
|
69
|
-
if (!(r === null || typeof r > "u"))
|
|
70
|
-
if (typeof r != "object" && (r = [r]), o(r))
|
|
71
|
-
for (var t = 0, i = r.length; t < i; t++)
|
|
72
|
-
e.call(null, r[t], t, r);
|
|
73
|
-
else
|
|
74
|
-
for (var n in r)
|
|
75
|
-
Object.prototype.hasOwnProperty.call(r, n) && e.call(null, r[n], n, r);
|
|
76
|
-
}
|
|
77
|
-
function m() {
|
|
78
|
-
var r = {};
|
|
79
|
-
function e(n, u) {
|
|
80
|
-
c(r[u]) && c(n) ? r[u] = m(r[u], n) : c(n) ? r[u] = m({}, n) : o(n) ? r[u] = n.slice() : r[u] = n;
|
|
81
|
-
}
|
|
82
|
-
for (var t = 0, i = arguments.length; t < i; t++)
|
|
83
|
-
d(arguments[t], e);
|
|
84
|
-
return r;
|
|
85
|
-
}
|
|
86
|
-
function M(r, e, t) {
|
|
87
|
-
return d(e, function(n, u) {
|
|
88
|
-
t && typeof n == "function" ? r[u] = w(n, t) : r[u] = n;
|
|
89
|
-
}), r;
|
|
90
|
-
}
|
|
91
|
-
function R(r) {
|
|
92
|
-
return r.charCodeAt(0) === 65279 && (r = r.slice(1)), r;
|
|
93
|
-
}
|
|
94
|
-
function _(r, e, t, i) {
|
|
95
|
-
r.prototype = Object.create(e.prototype, i), r.prototype.constructor = r, t && Object.assign(r.prototype, t);
|
|
96
|
-
}
|
|
97
|
-
function C(r, e, t, i) {
|
|
98
|
-
var n, u, a, v = {};
|
|
99
|
-
if (e = e || {}, r == null) return e;
|
|
100
|
-
do {
|
|
101
|
-
for (n = Object.getOwnPropertyNames(r), u = n.length; u-- > 0; )
|
|
102
|
-
a = n[u], (!i || i(a, r, e)) && !v[a] && (e[a] = r[a], v[a] = !0);
|
|
103
|
-
r = t !== !1 && Object.getPrototypeOf(r);
|
|
104
|
-
} while (r && (!t || t(r, e)) && r !== Object.prototype);
|
|
105
|
-
return e;
|
|
106
|
-
}
|
|
107
|
-
function H(r, e, t) {
|
|
108
|
-
r = String(r), (t === void 0 || t > r.length) && (t = r.length), t -= e.length;
|
|
109
|
-
var i = r.indexOf(e, t);
|
|
110
|
-
return i !== -1 && i === t;
|
|
111
|
-
}
|
|
112
|
-
function W(r) {
|
|
113
|
-
if (!r) return null;
|
|
114
|
-
if (o(r)) return r;
|
|
115
|
-
var e = r.length;
|
|
116
|
-
if (!g(e)) return null;
|
|
117
|
-
for (var t = new Array(e); e-- > 0; )
|
|
118
|
-
t[e] = r[e];
|
|
119
|
-
return t;
|
|
120
|
-
}
|
|
121
|
-
var I = /* @__PURE__ */ (function(r) {
|
|
122
|
-
return function(e) {
|
|
123
|
-
return r && e instanceof r;
|
|
124
|
-
};
|
|
125
|
-
})(typeof Uint8Array < "u" && Object.getPrototypeOf(Uint8Array));
|
|
126
|
-
function K(r, e) {
|
|
127
|
-
for (var t = r && r[Symbol.iterator], i = t.call(r), n; (n = i.next()) && !n.done; ) {
|
|
128
|
-
var u = n.value;
|
|
129
|
-
e.call(r, u[0], u[1]);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
function $(r, e) {
|
|
133
|
-
for (var t, i = []; (t = r.exec(e)) !== null; )
|
|
134
|
-
i.push(t);
|
|
135
|
-
return i;
|
|
136
|
-
}
|
|
137
|
-
var z = f("HTMLFormElement"), G = /* @__PURE__ */ (function(e) {
|
|
138
|
-
return function(t, i) {
|
|
139
|
-
return e.call(t, i);
|
|
140
|
-
};
|
|
141
|
-
})(Object.prototype.hasOwnProperty);
|
|
142
|
-
return F = {
|
|
143
|
-
isArray: o,
|
|
144
|
-
isArrayBuffer: O,
|
|
145
|
-
isBuffer: B,
|
|
146
|
-
isFormData: N,
|
|
147
|
-
isArrayBufferView: S,
|
|
148
|
-
isString: E,
|
|
149
|
-
isNumber: g,
|
|
150
|
-
isObject: h,
|
|
151
|
-
isPlainObject: c,
|
|
152
|
-
isEmptyObject: P,
|
|
153
|
-
isUndefined: p,
|
|
154
|
-
isDate: L,
|
|
155
|
-
isFile: x,
|
|
156
|
-
isBlob: b,
|
|
157
|
-
isFunction: y,
|
|
158
|
-
isStream: D,
|
|
159
|
-
isURLSearchParams: T,
|
|
160
|
-
isStandardBrowserEnv: q,
|
|
161
|
-
forEach: d,
|
|
162
|
-
merge: m,
|
|
163
|
-
extend: M,
|
|
164
|
-
trim: V,
|
|
165
|
-
stripBOM: R,
|
|
166
|
-
inherits: _,
|
|
167
|
-
toFlatObject: C,
|
|
168
|
-
kindOf: l,
|
|
169
|
-
kindOfTest: f,
|
|
170
|
-
endsWith: H,
|
|
171
|
-
toArray: W,
|
|
172
|
-
isTypedArray: I,
|
|
173
|
-
isFileList: U,
|
|
174
|
-
forEachEntry: K,
|
|
175
|
-
matchAll: $,
|
|
176
|
-
isHTMLForm: z,
|
|
177
|
-
hasOwnProperty: G
|
|
178
|
-
}, F;
|
|
179
|
-
}
|
|
1
|
+
var r = {};
|
|
180
2
|
export {
|
|
181
|
-
|
|
3
|
+
r as __exports
|
|
182
4
|
};
|
package/dist/index-video.es.js
CHANGED
|
@@ -4,8 +4,8 @@ import Rt from "./index-extends.js";
|
|
|
4
4
|
import Y from "./index-assertThisInitialized.js";
|
|
5
5
|
import V from "./index-inheritsLoose.js";
|
|
6
6
|
import Yd from "./index-tuple.js";
|
|
7
|
-
import J from "./index-
|
|
8
|
-
import po from "./index-
|
|
7
|
+
import J from "./index-_virtual11.js";
|
|
8
|
+
import po from "./index-_virtual12.js";
|
|
9
9
|
import ys from "./index-browser-index.js";
|
|
10
10
|
import Jd from "./index-construct.js";
|
|
11
11
|
import Zd from "./index-inherits.js";
|
package/dist/index-xhr.js
CHANGED