stone-kit 0.0.875 → 0.0.877
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/App.js +1 -1
- package/dist/Router.js +9 -9
- package/dist/_virtual/_commonjsHelpers.js +6 -0
- package/dist/_virtual/bind.js +4 -0
- package/dist/_virtual/index.js +4 -0
- package/dist/_virtual/index2.js +4 -0
- package/dist/_virtual/index3.js +4 -0
- package/dist/_virtual/react-is.development.js +4 -0
- package/dist/_virtual/react-is.production.min.js +4 -0
- package/dist/components/Button/ui/Button.js +44 -73
- package/dist/components/CheckBox/CheckBox.js +35 -46
- package/dist/components/CheckBoxNew/CheckBoxNew.js +19 -23
- package/dist/components/CheckboxSelect/ui/CheckboxSelect.js +24 -31
- package/dist/components/DestinationTab/ui/DestinationTab.js +35 -48
- package/dist/components/FieldInput/ui/FieldInput.js +7 -10
- package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +61 -5
- package/dist/components/FilterWithSave/ui/FilterWithSave.js +266 -7
- package/dist/components/Flex/ui/Flex.js +26 -61
- package/dist/components/FormModal/ui/ModalForm.js +289 -14
- package/dist/components/GroupedInput/ui/GroupedInputs.js +5 -6
- package/dist/components/Input/ui/Input.js +74 -3307
- package/dist/components/Logo/ui/Logo.js +19 -31
- package/dist/components/Logo/ui/Logo.types.js +18 -10
- package/dist/components/LotCard/hooks/useLotCard.js +125 -11
- package/dist/components/LotCard/index.js +2 -2
- package/dist/components/LotCard/ui/LotCard.js +150 -9
- package/dist/components/LotCardSkeleton/ui/LotCardSkeleton.js +31 -58
- package/dist/components/MetroLabel/ui/MetroLabel.js +19 -24
- package/dist/components/MetroTag/ui/MetroTag.js +59 -72
- package/dist/components/Modal/ui/Modal.js +33 -38
- package/dist/components/ModalSuccess/ModalSuccess.js +26 -35
- package/dist/components/NewIcon/icons/PinTrans.js +3 -3
- package/dist/components/NewIcon/icons/SmallFilter.js +1 -1
- package/dist/components/NewIcon/ui/NewIcon.js +141 -301
- package/dist/components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js +5 -15
- package/dist/components/RoundButton/ui/RoundButton.js +42 -60
- package/dist/components/Select/ui/Category.js +30 -29
- package/dist/components/Select/ui/Option.js +52 -5
- package/dist/components/Select/ui/Select.js +24 -23
- package/dist/components/SliderNavigation/ui/SliderNavigation.js +27 -28
- package/dist/components/SortSelect/hooks/useSortSelect.js +59 -4
- package/dist/components/SortSelect/index.js +1 -1
- package/dist/components/SortSelect/ui/SortSelect.js +114 -9
- package/dist/components/SummarySelect/ui/SummarySelect.js +59 -69
- package/dist/components/Switcher/ui/Switcher.js +13 -24
- package/dist/components/TabSelect/ui/TabSelect.js +28 -34
- package/dist/components/TabSwitcher/index.js +2 -2
- package/dist/components/TabSwitcher/ui/TabSwitcher.js +84 -7
- package/dist/components/Tag/ui/Tag.js +19 -67
- package/dist/components/Text/ui/Text.js +12 -13
- package/dist/components/TextArea/TextArea.js +11 -14
- package/dist/components/ZoomControls/ui/ZoomControls.js +8 -11
- package/dist/components/mobileButton/ui/MobileButton.js +34 -39
- package/dist/layout/Layout.js +7 -8
- package/dist/layout/components/Header/Header.js +41 -44
- package/dist/layout/components/Menu.js +111 -6
- package/dist/main.js +46 -42
- package/dist/node_modules/@remix-run/router/dist/router.js +431 -0
- package/dist/node_modules/classnames/bind.js +42 -0
- package/dist/{index-rKuIKazb.js → node_modules/classnames/index.js} +12 -15
- package/dist/node_modules/imask/esm/controls/html-contenteditable-mask-element.js +35 -0
- package/dist/node_modules/imask/esm/controls/html-input-mask-element.js +31 -0
- package/dist/node_modules/imask/esm/controls/html-mask-element.js +48 -0
- package/dist/node_modules/imask/esm/controls/input-history.js +30 -0
- package/dist/node_modules/imask/esm/controls/input.js +224 -0
- package/dist/node_modules/imask/esm/controls/mask-element.js +43 -0
- package/dist/node_modules/imask/esm/core/action-details.js +51 -0
- package/dist/node_modules/imask/esm/core/change-details.js +36 -0
- package/dist/node_modules/imask/esm/core/continuous-tail-details.js +44 -0
- package/dist/node_modules/imask/esm/core/holder.js +6 -0
- package/dist/node_modules/imask/esm/core/utils.js +80 -0
- package/dist/node_modules/imask/esm/index.js +50 -0
- package/dist/node_modules/imask/esm/masked/base.js +257 -0
- package/dist/node_modules/imask/esm/masked/date.js +118 -0
- package/dist/node_modules/imask/esm/masked/dynamic.js +224 -0
- package/dist/node_modules/imask/esm/masked/enum.js +70 -0
- package/dist/node_modules/imask/esm/masked/factory.js +51 -0
- package/dist/node_modules/imask/esm/masked/function.js +23 -0
- package/dist/node_modules/imask/esm/masked/number.js +215 -0
- package/dist/node_modules/imask/esm/masked/pattern/chunk-tail-details.js +110 -0
- package/dist/node_modules/imask/esm/masked/pattern/cursor.js +102 -0
- package/dist/node_modules/imask/esm/masked/pattern/fixed-definition.js +103 -0
- package/dist/node_modules/imask/esm/masked/pattern/input-definition.js +134 -0
- package/dist/node_modules/imask/esm/masked/pattern.js +339 -0
- package/dist/node_modules/imask/esm/masked/pipe.js +23 -0
- package/dist/node_modules/imask/esm/masked/range.js +82 -0
- package/dist/node_modules/imask/esm/masked/regexp.js +21 -0
- package/dist/node_modules/imask/esm/masked/repeat.js +106 -0
- package/dist/node_modules/object-assign/index.js +55 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +55 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +53 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +330 -0
- package/dist/node_modules/prop-types/index.js +15 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +11 -0
- package/dist/node_modules/prop-types/lib/has.js +7 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +95 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +79 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +10 -0
- package/dist/node_modules/react-hook-form/dist/index.esm.js +1062 -0
- package/dist/node_modules/react-imask/esm/input.js +25 -0
- package/dist/node_modules/react-imask/esm/mixin.js +131 -0
- package/dist/node_modules/react-router/dist/index.js +486 -0
- package/dist/node_modules/react-router-dom/dist/index.js +424 -0
- package/dist/pages/ButtonsPage/ButtonState/ButtonState.js +1 -1
- package/dist/pages/ButtonsPage/Buttons.js +54 -62
- package/dist/pages/CheckboxPage/CheckboxPage.js +47 -51
- package/dist/pages/FormsPage/FormsPage.js +31 -32
- package/dist/pages/HomePage/HomePage.js +3 -4
- package/dist/pages/IconsPage/IconsPage.js +12 -10
- package/dist/pages/InputPage/InputPage.js +17 -12
- package/dist/pages/LogoPage/LogoPage.js +17 -14
- package/dist/pages/LotsPage/LotsPage.js +15 -15
- package/dist/pages/ModalsPage/ModalPage.js +19 -14
- package/dist/pages/SelectPage/SelectPage.js +42 -41
- package/dist/pages/TabsPage/TabsPage.js +49 -51
- package/dist/pages/TagsPage/TagsPage.js +10 -7
- package/dist/src/components/Button/ui/Button.module.scss.js +49 -0
- package/dist/src/components/CheckBox/s.module.scss.js +24 -0
- package/dist/src/components/CheckBoxNew/s.module.scss.js +13 -0
- package/dist/src/components/CheckboxSelect/ui/s.module.scss.js +19 -0
- package/dist/src/components/DestinationTab/ui/DestinationTab.module.scss.js +23 -0
- package/dist/src/components/FieldInput/ui/FieldInput.module.scss.js +11 -0
- package/dist/src/components/FilterWithSave/ui/s.module.scss.js +39 -0
- package/dist/src/components/Flex/ui/Flex.module.scss.js +41 -0
- package/dist/src/components/FormModal/ui/ModalForm.module.scss.js +31 -0
- package/dist/src/components/GroupedInput/ui/GroupedInputs.module.scss.js +7 -0
- package/dist/src/components/Input/ui/Input.module.scss.js +43 -0
- package/dist/src/components/Logo/assets/LogoBlack.svg.js +4 -0
- package/dist/src/components/Logo/assets/LogoDom.svg.js +4 -0
- package/dist/src/components/Logo/assets/LogoNewDom.svg.js +4 -0
- package/dist/src/components/Logo/assets/LogoNewOffice.svg.js +4 -0
- package/dist/src/components/Logo/assets/LogoOffice.svg.js +4 -0
- package/dist/src/components/Logo/assets/LogoRealty.svg.js +4 -0
- package/dist/src/components/Logo/assets/LogoValue.svg.js +4 -0
- package/dist/src/components/Logo/assets/LogoWhite.svg.js +4 -0
- package/dist/src/components/Logo/ui/Logo.module.scss.js +29 -0
- package/dist/src/components/LotCard/assets/testLot.webp.js +4 -0
- package/dist/src/components/LotCard/ui/LotCard.module.scss.js +71 -0
- package/dist/src/components/LotCardSkeleton/ui/LotCardSkeleton.module.scss.js +59 -0
- package/dist/src/components/MetroLabel/ui/MetroLabel.module.scss.js +15 -0
- package/dist/src/components/MetroTag/ui/MetroTag.module.scss.js +31 -0
- package/dist/src/components/Modal/ui/Modal.module.scss.js +15 -0
- package/dist/src/components/ModalSuccess/styles.module.scss.js +23 -0
- package/dist/src/components/NewIcon/assets/ArrowLong.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/ArrowShort.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Auto.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Building.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Burger.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/BurgerClose.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Call.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Callback.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Case.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Check.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Circle.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Close.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/DirectionDown.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Download.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Filter.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Food.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Fullscreen.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Heart.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Layers.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/LayersFilled.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Loader.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Lock.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Metro.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Minus.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/MinusCheck.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Moon.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Park.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Pedestrian.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Phone.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/PhoneFilled.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Pin.svg.js +10 -0
- package/dist/{PinTrans-D6OZq76b.js → src/components/NewIcon/assets/PinTrans.svg.js} +4 -4
- package/dist/src/components/NewIcon/assets/Play.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Play2.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Plus.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Redo.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Ruble.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Search.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/SelectChecked.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/SelectUnchecked.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Share.svg.js +10 -0
- package/dist/{SmallFilter-C-VKnbkP.js → src/components/NewIcon/assets/SmallFilter.svg.js} +3 -3
- package/dist/src/components/NewIcon/assets/Sport.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/SquareMeter.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Star.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/StarFilled.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Sun.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Telegram.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/Timer.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/TwoArrows.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/User.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/WhatsApp.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/WithoutDecor.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/arrowRight.svg.js +10 -0
- package/dist/src/components/NewIcon/assets/mail.svg.js +10 -0
- package/dist/src/components/NewIcon/ui/NewIcon.module.scss.js +4 -0
- package/dist/src/components/ProjectCardSkeleton/ui/ProjectCardSkeleton.module.scss.js +25 -0
- package/dist/src/components/RoundButton/ui/RoundButton.module.scss.js +29 -0
- package/dist/src/components/Select/ui/Select.module.scss.js +52 -0
- package/dist/src/components/SliderNavigation/ui/SliderNavigation.module.scss.js +7 -0
- package/dist/src/components/SortSelect/ui/SortSelect.module.scss.js +41 -0
- package/dist/src/components/SummarySelect/ui/SummarySelect.module.scss.js +25 -0
- package/dist/src/components/Switcher/ui/Switcher.module.scss.js +27 -0
- package/dist/src/components/TabSelect/ui/TabSelect.module.scss.js +17 -0
- package/dist/src/components/TabSwitcher/ui/TabSwitcher.module.scss.js +57 -0
- package/dist/src/components/Tag/ui/Tag.module.scss.js +70 -0
- package/dist/src/components/Text/ui/Text.module.scss.js +7 -0
- package/dist/src/components/TextArea/styles.module.scss.js +9 -0
- package/dist/src/components/ZoomControls/ui/ZoomControls.module.scss.js +11 -0
- package/dist/src/components/mobileButton/ui/MobileButton.module.scss.js +12 -0
- package/dist/src/layout/components/Header/s.module.scss.js +19 -0
- package/dist/src/layout/components/Menu.module.scss.js +9 -0
- package/dist/src/layout/style.module.scss.js +7 -0
- package/dist/src/pages/ButtonsPage/ButtonState/ButtonState.js +18 -0
- package/dist/{ButtonState.module-DtW3aevR.js → src/pages/ButtonsPage/ButtonState/ButtonState.module.scss.js} +4 -1
- package/dist/src/pages/ButtonsPage/ButtonsPage.module.scss.js +9 -0
- package/dist/src/pages/CheckboxPage/CheckboxPage.module.scss.js +13 -0
- package/dist/src/pages/FormsPage/FormsPage.module.scss.js +15 -0
- package/dist/src/pages/HomePage/HomePage.module.scss.js +7 -0
- package/dist/src/pages/IconsPage/IconsPage.module.scss.js +9 -0
- package/dist/src/pages/InputPage/InputPage.module.scss.js +4 -0
- package/dist/src/pages/LogoPage/LogoPage.module.scss.js +7 -0
- package/dist/src/pages/LotsPage/LotsPage.module.scss.js +13 -0
- package/dist/src/pages/ModalsPage/ModalPage.module.scss.js +4 -0
- package/dist/src/pages/SelectPage/SelectPage.module.scss.js +11 -0
- package/dist/src/pages/TabsPage/TabsPage.module.scss.js +17 -0
- package/dist/src/pages/TagsPage/TagsPage.module.scss.js +7 -0
- package/dist/src/stories/button.css.js +1 -0
- package/dist/src/stories/header.css.js +1 -0
- package/dist/src/stories/page.css.js +1 -0
- package/dist/stories/Button.js +24 -0
- package/dist/stories/Header.js +45 -0
- package/dist/stories/Page.js +59 -0
- package/dist/style.css +1 -1
- package/package.json +11 -6
- package/dist/FilterWithSave-Bp6rH8Pe.js +0 -2230
- package/dist/Menu-CgCfinVZ.js +0 -513
- package/dist/Option-BVIm7wOW.js +0 -83
- package/dist/index-DmANy9jd.js +0 -890
- package/dist/useSortSelect-CjZXLFOG.js +0 -80
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import k from "../core/change-details.js";
|
|
2
|
+
import u from "../core/holder.js";
|
|
3
|
+
import c, { normalizeOpts as d } from "./factory.js";
|
|
4
|
+
import m from "./pattern.js";
|
|
5
|
+
import "./base.js";
|
|
6
|
+
import "./pattern/input-definition.js";
|
|
7
|
+
import "./regexp.js";
|
|
8
|
+
class _ extends m {
|
|
9
|
+
get repeatFrom() {
|
|
10
|
+
var t;
|
|
11
|
+
return (t = Array.isArray(this.repeat) ? this.repeat[0] : this.repeat === 1 / 0 ? 0 : this.repeat) != null ? t : 0;
|
|
12
|
+
}
|
|
13
|
+
get repeatTo() {
|
|
14
|
+
var t;
|
|
15
|
+
return (t = Array.isArray(this.repeat) ? this.repeat[1] : this.repeat) != null ? t : 1 / 0;
|
|
16
|
+
}
|
|
17
|
+
constructor(t) {
|
|
18
|
+
super(t);
|
|
19
|
+
}
|
|
20
|
+
updateOptions(t) {
|
|
21
|
+
super.updateOptions(t);
|
|
22
|
+
}
|
|
23
|
+
_update(t) {
|
|
24
|
+
var i, s, r;
|
|
25
|
+
const {
|
|
26
|
+
repeat: n,
|
|
27
|
+
...l
|
|
28
|
+
} = d(t);
|
|
29
|
+
this._blockOpts = Object.assign({}, this._blockOpts, l);
|
|
30
|
+
const e = c(this._blockOpts);
|
|
31
|
+
this.repeat = (i = (s = n ?? e.repeat) != null ? s : this.repeat) != null ? i : 1 / 0, super._update({
|
|
32
|
+
mask: "m".repeat(Math.max(this.repeatTo === 1 / 0 && ((r = this._blocks) == null ? void 0 : r.length) || 0, this.repeatFrom)),
|
|
33
|
+
blocks: {
|
|
34
|
+
m: e
|
|
35
|
+
},
|
|
36
|
+
eager: e.eager,
|
|
37
|
+
overwrite: e.overwrite,
|
|
38
|
+
skipInvalid: e.skipInvalid,
|
|
39
|
+
lazy: e.lazy,
|
|
40
|
+
placeholderChar: e.placeholderChar,
|
|
41
|
+
displayChar: e.displayChar
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
_allocateBlock(t) {
|
|
45
|
+
if (t < this._blocks.length)
|
|
46
|
+
return this._blocks[t];
|
|
47
|
+
if (this.repeatTo === 1 / 0 || this._blocks.length < this.repeatTo)
|
|
48
|
+
return this._blocks.push(c(this._blockOpts)), this.mask += "m", this._blocks[this._blocks.length - 1];
|
|
49
|
+
}
|
|
50
|
+
_appendCharRaw(t, i) {
|
|
51
|
+
i === void 0 && (i = {});
|
|
52
|
+
const s = new k();
|
|
53
|
+
for (
|
|
54
|
+
let a = (r = (n = this._mapPosToBlock(this.displayValue.length)) == null ? void 0 : n.index) != null ? r : Math.max(this._blocks.length - 1, 0), h, o;
|
|
55
|
+
// try to get a block or
|
|
56
|
+
// try to allocate a new block if not allocated already
|
|
57
|
+
h = (l = this._blocks[a]) != null ? l : o = !o && this._allocateBlock(a);
|
|
58
|
+
++a
|
|
59
|
+
) {
|
|
60
|
+
var r, n, l, e;
|
|
61
|
+
const p = h._appendChar(t, {
|
|
62
|
+
...i,
|
|
63
|
+
_beforeTailState: (e = i._beforeTailState) == null || (e = e._blocks) == null ? void 0 : e[a]
|
|
64
|
+
});
|
|
65
|
+
if (p.skip && o) {
|
|
66
|
+
this._blocks.pop(), this.mask = this.mask.slice(1);
|
|
67
|
+
break;
|
|
68
|
+
}
|
|
69
|
+
if (s.aggregate(p), p.consumed)
|
|
70
|
+
break;
|
|
71
|
+
}
|
|
72
|
+
return s;
|
|
73
|
+
}
|
|
74
|
+
_trimEmptyTail(t, i) {
|
|
75
|
+
var s, r;
|
|
76
|
+
t === void 0 && (t = 0);
|
|
77
|
+
const n = Math.max(((s = this._mapPosToBlock(t)) == null ? void 0 : s.index) || 0, this.repeatFrom, 0);
|
|
78
|
+
let l;
|
|
79
|
+
i != null && (l = (r = this._mapPosToBlock(i)) == null ? void 0 : r.index), l == null && (l = this._blocks.length - 1);
|
|
80
|
+
let e = 0;
|
|
81
|
+
for (let a = l; n <= a && !this._blocks[a].unmaskedValue; --a, ++e)
|
|
82
|
+
;
|
|
83
|
+
e && (this._blocks.splice(l - e + 1, e), this.mask = this.mask.slice(e));
|
|
84
|
+
}
|
|
85
|
+
reset() {
|
|
86
|
+
super.reset(), this._trimEmptyTail();
|
|
87
|
+
}
|
|
88
|
+
remove(t, i) {
|
|
89
|
+
t === void 0 && (t = 0), i === void 0 && (i = this.displayValue.length);
|
|
90
|
+
const s = super.remove(t, i);
|
|
91
|
+
return this._trimEmptyTail(t, i), s;
|
|
92
|
+
}
|
|
93
|
+
totalInputPositions(t, i) {
|
|
94
|
+
return t === void 0 && (t = 0), i == null && this.repeatTo === 1 / 0 ? 1 / 0 : super.totalInputPositions(t, i);
|
|
95
|
+
}
|
|
96
|
+
get state() {
|
|
97
|
+
return super.state;
|
|
98
|
+
}
|
|
99
|
+
set state(t) {
|
|
100
|
+
this._blocks.length = t._blocks.length, this.mask = this.mask.slice(0, this._blocks.length), super.state = t;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
u.RepeatBlock = _;
|
|
104
|
+
export {
|
|
105
|
+
_ as default
|
|
106
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
object-assign
|
|
3
|
+
(c) Sindre Sorhus
|
|
4
|
+
@license MIT
|
|
5
|
+
*/
|
|
6
|
+
var f, i;
|
|
7
|
+
function p() {
|
|
8
|
+
if (i)
|
|
9
|
+
return f;
|
|
10
|
+
i = 1;
|
|
11
|
+
var u = Object.getOwnPropertySymbols, b = Object.prototype.hasOwnProperty, l = Object.prototype.propertyIsEnumerable;
|
|
12
|
+
function O(n) {
|
|
13
|
+
if (n == null)
|
|
14
|
+
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
15
|
+
return Object(n);
|
|
16
|
+
}
|
|
17
|
+
function j() {
|
|
18
|
+
try {
|
|
19
|
+
if (!Object.assign)
|
|
20
|
+
return !1;
|
|
21
|
+
var n = new String("abc");
|
|
22
|
+
if (n[5] = "de", Object.getOwnPropertyNames(n)[0] === "5")
|
|
23
|
+
return !1;
|
|
24
|
+
for (var s = {}, r = 0; r < 10; r++)
|
|
25
|
+
s["_" + String.fromCharCode(r)] = r;
|
|
26
|
+
var a = Object.getOwnPropertyNames(s).map(function(e) {
|
|
27
|
+
return s[e];
|
|
28
|
+
});
|
|
29
|
+
if (a.join("") !== "0123456789")
|
|
30
|
+
return !1;
|
|
31
|
+
var t = {};
|
|
32
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(e) {
|
|
33
|
+
t[e] = e;
|
|
34
|
+
}), Object.keys(Object.assign({}, t)).join("") === "abcdefghijklmnopqrst";
|
|
35
|
+
} catch {
|
|
36
|
+
return !1;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return f = j() ? Object.assign : function(n, s) {
|
|
40
|
+
for (var r, a = O(n), t, e = 1; e < arguments.length; e++) {
|
|
41
|
+
r = Object(arguments[e]);
|
|
42
|
+
for (var c in r)
|
|
43
|
+
b.call(r, c) && (a[c] = r[c]);
|
|
44
|
+
if (u) {
|
|
45
|
+
t = u(r);
|
|
46
|
+
for (var o = 0; o < t.length; o++)
|
|
47
|
+
l.call(r, t[o]) && (a[t[o]] = r[t[o]]);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
return a;
|
|
51
|
+
}, f;
|
|
52
|
+
}
|
|
53
|
+
export {
|
|
54
|
+
p as __require
|
|
55
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { __require as E } from "./lib/ReactPropTypesSecret.js";
|
|
2
|
+
import { __require as _ } from "./lib/has.js";
|
|
3
|
+
var f, v;
|
|
4
|
+
function P() {
|
|
5
|
+
if (v)
|
|
6
|
+
return f;
|
|
7
|
+
v = 1;
|
|
8
|
+
var o = function() {
|
|
9
|
+
};
|
|
10
|
+
if (process.env.NODE_ENV !== "production") {
|
|
11
|
+
var y = E(), t = {}, d = _();
|
|
12
|
+
o = function(n) {
|
|
13
|
+
var a = "Warning: " + n;
|
|
14
|
+
typeof console < "u" && console.error(a);
|
|
15
|
+
try {
|
|
16
|
+
throw new Error(a);
|
|
17
|
+
} catch {
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function u(n, a, i, s, c) {
|
|
22
|
+
if (process.env.NODE_ENV !== "production") {
|
|
23
|
+
for (var e in n)
|
|
24
|
+
if (d(n, e)) {
|
|
25
|
+
var r;
|
|
26
|
+
try {
|
|
27
|
+
if (typeof n[e] != "function") {
|
|
28
|
+
var h = Error(
|
|
29
|
+
(s || "React class") + ": " + i + " type `" + e + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[e] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
30
|
+
);
|
|
31
|
+
throw h.name = "Invariant Violation", h;
|
|
32
|
+
}
|
|
33
|
+
r = n[e](a, e, s, i, null, y);
|
|
34
|
+
} catch (l) {
|
|
35
|
+
r = l;
|
|
36
|
+
}
|
|
37
|
+
if (r && !(r instanceof Error) && o(
|
|
38
|
+
(s || "React class") + ": type specification of " + i + " `" + e + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof r + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
39
|
+
), r instanceof Error && !(r.message in t)) {
|
|
40
|
+
t[r.message] = !0;
|
|
41
|
+
var p = c ? c() : "";
|
|
42
|
+
o(
|
|
43
|
+
"Failed " + i + " type: " + r.message + (p ?? "")
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return u.resetWarningCache = function() {
|
|
50
|
+
process.env.NODE_ENV !== "production" && (t = {});
|
|
51
|
+
}, f = u, f;
|
|
52
|
+
}
|
|
53
|
+
export {
|
|
54
|
+
P as __require
|
|
55
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { __require as u } from "./lib/ReactPropTypesSecret.js";
|
|
2
|
+
var o, p;
|
|
3
|
+
function g() {
|
|
4
|
+
if (p)
|
|
5
|
+
return o;
|
|
6
|
+
p = 1;
|
|
7
|
+
var c = u();
|
|
8
|
+
function n() {
|
|
9
|
+
}
|
|
10
|
+
function i() {
|
|
11
|
+
}
|
|
12
|
+
return i.resetWarningCache = n, o = function() {
|
|
13
|
+
function e(h, y, m, f, l, s) {
|
|
14
|
+
if (s !== c) {
|
|
15
|
+
var a = new Error(
|
|
16
|
+
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
17
|
+
);
|
|
18
|
+
throw a.name = "Invariant Violation", a;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
e.isRequired = e;
|
|
22
|
+
function r() {
|
|
23
|
+
return e;
|
|
24
|
+
}
|
|
25
|
+
var t = {
|
|
26
|
+
array: e,
|
|
27
|
+
bigint: e,
|
|
28
|
+
bool: e,
|
|
29
|
+
func: e,
|
|
30
|
+
number: e,
|
|
31
|
+
object: e,
|
|
32
|
+
string: e,
|
|
33
|
+
symbol: e,
|
|
34
|
+
any: e,
|
|
35
|
+
arrayOf: r,
|
|
36
|
+
element: e,
|
|
37
|
+
elementType: e,
|
|
38
|
+
instanceOf: r,
|
|
39
|
+
node: e,
|
|
40
|
+
objectOf: r,
|
|
41
|
+
oneOf: r,
|
|
42
|
+
oneOfType: r,
|
|
43
|
+
shape: r,
|
|
44
|
+
exact: r,
|
|
45
|
+
checkPropTypes: i,
|
|
46
|
+
resetWarningCache: n
|
|
47
|
+
};
|
|
48
|
+
return t.PropTypes = t, t;
|
|
49
|
+
}, o;
|
|
50
|
+
}
|
|
51
|
+
export {
|
|
52
|
+
g as __require
|
|
53
|
+
};
|
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
import { __require as F } from "./node_modules/react-is/index.js";
|
|
2
|
+
import { __require as N } from "../object-assign/index.js";
|
|
3
|
+
import { __require as ee } from "./lib/ReactPropTypesSecret.js";
|
|
4
|
+
import { __require as re } from "./lib/has.js";
|
|
5
|
+
import { __require as ne } from "./checkPropTypes.js";
|
|
6
|
+
var A, C;
|
|
7
|
+
function oe() {
|
|
8
|
+
if (C)
|
|
9
|
+
return A;
|
|
10
|
+
C = 1;
|
|
11
|
+
var k = F(), W = N(), h = ee(), j = re(), R = ne(), T = function() {
|
|
12
|
+
};
|
|
13
|
+
process.env.NODE_ENV !== "production" && (T = function(x) {
|
|
14
|
+
var S = "Warning: " + x;
|
|
15
|
+
typeof console < "u" && console.error(S);
|
|
16
|
+
try {
|
|
17
|
+
throw new Error(S);
|
|
18
|
+
} catch {
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
function E() {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return A = function(x, S) {
|
|
25
|
+
var _ = typeof Symbol == "function" && Symbol.iterator, D = "@@iterator";
|
|
26
|
+
function m(e) {
|
|
27
|
+
var r = e && (_ && e[_] || e[D]);
|
|
28
|
+
if (typeof r == "function")
|
|
29
|
+
return r;
|
|
30
|
+
}
|
|
31
|
+
var P = "<<anonymous>>", w = {
|
|
32
|
+
array: p("array"),
|
|
33
|
+
bigint: p("bigint"),
|
|
34
|
+
bool: p("boolean"),
|
|
35
|
+
func: p("function"),
|
|
36
|
+
number: p("number"),
|
|
37
|
+
object: p("object"),
|
|
38
|
+
string: p("string"),
|
|
39
|
+
symbol: p("symbol"),
|
|
40
|
+
any: M(),
|
|
41
|
+
arrayOf: U,
|
|
42
|
+
element: B(),
|
|
43
|
+
elementType: J(),
|
|
44
|
+
instanceOf: z,
|
|
45
|
+
node: G(),
|
|
46
|
+
objectOf: H,
|
|
47
|
+
oneOf: L,
|
|
48
|
+
oneOfType: X,
|
|
49
|
+
shape: K,
|
|
50
|
+
exact: Q
|
|
51
|
+
};
|
|
52
|
+
function Y(e, r) {
|
|
53
|
+
return e === r ? e !== 0 || 1 / e === 1 / r : e !== e && r !== r;
|
|
54
|
+
}
|
|
55
|
+
function d(e, r) {
|
|
56
|
+
this.message = e, this.data = r && typeof r == "object" ? r : {}, this.stack = "";
|
|
57
|
+
}
|
|
58
|
+
d.prototype = Error.prototype;
|
|
59
|
+
function v(e) {
|
|
60
|
+
if (process.env.NODE_ENV !== "production")
|
|
61
|
+
var r = {}, u = 0;
|
|
62
|
+
function i(f, t, a, o, c, s, y) {
|
|
63
|
+
if (o = o || P, s = s || a, y !== h) {
|
|
64
|
+
if (S) {
|
|
65
|
+
var l = new Error(
|
|
66
|
+
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
67
|
+
);
|
|
68
|
+
throw l.name = "Invariant Violation", l;
|
|
69
|
+
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
70
|
+
var b = o + ":" + a;
|
|
71
|
+
!r[b] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
72
|
+
u < 3 && (T(
|
|
73
|
+
"You are manually calling a React.PropTypes validation function for the `" + s + "` prop on `" + o + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
74
|
+
), r[b] = !0, u++);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
return t[a] == null ? f ? t[a] === null ? new d("The " + c + " `" + s + "` is marked as required " + ("in `" + o + "`, but its value is `null`.")) : new d("The " + c + " `" + s + "` is marked as required in " + ("`" + o + "`, but its value is `undefined`.")) : null : e(t, a, o, c, s);
|
|
78
|
+
}
|
|
79
|
+
var n = i.bind(null, !1);
|
|
80
|
+
return n.isRequired = i.bind(null, !0), n;
|
|
81
|
+
}
|
|
82
|
+
function p(e) {
|
|
83
|
+
function r(u, i, n, f, t, a) {
|
|
84
|
+
var o = u[i], c = g(o);
|
|
85
|
+
if (c !== e) {
|
|
86
|
+
var s = O(o);
|
|
87
|
+
return new d(
|
|
88
|
+
"Invalid " + f + " `" + t + "` of type " + ("`" + s + "` supplied to `" + n + "`, expected ") + ("`" + e + "`."),
|
|
89
|
+
{ expectedType: e }
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
return null;
|
|
93
|
+
}
|
|
94
|
+
return v(r);
|
|
95
|
+
}
|
|
96
|
+
function M() {
|
|
97
|
+
return v(E);
|
|
98
|
+
}
|
|
99
|
+
function U(e) {
|
|
100
|
+
function r(u, i, n, f, t) {
|
|
101
|
+
if (typeof e != "function")
|
|
102
|
+
return new d("Property `" + t + "` of component `" + n + "` has invalid PropType notation inside arrayOf.");
|
|
103
|
+
var a = u[i];
|
|
104
|
+
if (!Array.isArray(a)) {
|
|
105
|
+
var o = g(a);
|
|
106
|
+
return new d("Invalid " + f + " `" + t + "` of type " + ("`" + o + "` supplied to `" + n + "`, expected an array."));
|
|
107
|
+
}
|
|
108
|
+
for (var c = 0; c < a.length; c++) {
|
|
109
|
+
var s = e(a, c, n, f, t + "[" + c + "]", h);
|
|
110
|
+
if (s instanceof Error)
|
|
111
|
+
return s;
|
|
112
|
+
}
|
|
113
|
+
return null;
|
|
114
|
+
}
|
|
115
|
+
return v(r);
|
|
116
|
+
}
|
|
117
|
+
function B() {
|
|
118
|
+
function e(r, u, i, n, f) {
|
|
119
|
+
var t = r[u];
|
|
120
|
+
if (!x(t)) {
|
|
121
|
+
var a = g(t);
|
|
122
|
+
return new d("Invalid " + n + " `" + f + "` of type " + ("`" + a + "` supplied to `" + i + "`, expected a single ReactElement."));
|
|
123
|
+
}
|
|
124
|
+
return null;
|
|
125
|
+
}
|
|
126
|
+
return v(e);
|
|
127
|
+
}
|
|
128
|
+
function J() {
|
|
129
|
+
function e(r, u, i, n, f) {
|
|
130
|
+
var t = r[u];
|
|
131
|
+
if (!k.isValidElementType(t)) {
|
|
132
|
+
var a = g(t);
|
|
133
|
+
return new d("Invalid " + n + " `" + f + "` of type " + ("`" + a + "` supplied to `" + i + "`, expected a single ReactElement type."));
|
|
134
|
+
}
|
|
135
|
+
return null;
|
|
136
|
+
}
|
|
137
|
+
return v(e);
|
|
138
|
+
}
|
|
139
|
+
function z(e) {
|
|
140
|
+
function r(u, i, n, f, t) {
|
|
141
|
+
if (!(u[i] instanceof e)) {
|
|
142
|
+
var a = e.name || P, o = V(u[i]);
|
|
143
|
+
return new d("Invalid " + f + " `" + t + "` of type " + ("`" + o + "` supplied to `" + n + "`, expected ") + ("instance of `" + a + "`."));
|
|
144
|
+
}
|
|
145
|
+
return null;
|
|
146
|
+
}
|
|
147
|
+
return v(r);
|
|
148
|
+
}
|
|
149
|
+
function L(e) {
|
|
150
|
+
if (!Array.isArray(e))
|
|
151
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? T(
|
|
152
|
+
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
153
|
+
) : T("Invalid argument supplied to oneOf, expected an array.")), E;
|
|
154
|
+
function r(u, i, n, f, t) {
|
|
155
|
+
for (var a = u[i], o = 0; o < e.length; o++)
|
|
156
|
+
if (Y(a, e[o]))
|
|
157
|
+
return null;
|
|
158
|
+
var c = JSON.stringify(e, function(y, l) {
|
|
159
|
+
var b = O(l);
|
|
160
|
+
return b === "symbol" ? String(l) : l;
|
|
161
|
+
});
|
|
162
|
+
return new d("Invalid " + f + " `" + t + "` of value `" + String(a) + "` " + ("supplied to `" + n + "`, expected one of " + c + "."));
|
|
163
|
+
}
|
|
164
|
+
return v(r);
|
|
165
|
+
}
|
|
166
|
+
function H(e) {
|
|
167
|
+
function r(u, i, n, f, t) {
|
|
168
|
+
if (typeof e != "function")
|
|
169
|
+
return new d("Property `" + t + "` of component `" + n + "` has invalid PropType notation inside objectOf.");
|
|
170
|
+
var a = u[i], o = g(a);
|
|
171
|
+
if (o !== "object")
|
|
172
|
+
return new d("Invalid " + f + " `" + t + "` of type " + ("`" + o + "` supplied to `" + n + "`, expected an object."));
|
|
173
|
+
for (var c in a)
|
|
174
|
+
if (j(a, c)) {
|
|
175
|
+
var s = e(a, c, n, f, t + "." + c, h);
|
|
176
|
+
if (s instanceof Error)
|
|
177
|
+
return s;
|
|
178
|
+
}
|
|
179
|
+
return null;
|
|
180
|
+
}
|
|
181
|
+
return v(r);
|
|
182
|
+
}
|
|
183
|
+
function X(e) {
|
|
184
|
+
if (!Array.isArray(e))
|
|
185
|
+
return process.env.NODE_ENV !== "production" && T("Invalid argument supplied to oneOfType, expected an instance of array."), E;
|
|
186
|
+
for (var r = 0; r < e.length; r++) {
|
|
187
|
+
var u = e[r];
|
|
188
|
+
if (typeof u != "function")
|
|
189
|
+
return T(
|
|
190
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + $(u) + " at index " + r + "."
|
|
191
|
+
), E;
|
|
192
|
+
}
|
|
193
|
+
function i(n, f, t, a, o) {
|
|
194
|
+
for (var c = [], s = 0; s < e.length; s++) {
|
|
195
|
+
var y = e[s], l = y(n, f, t, a, o, h);
|
|
196
|
+
if (l == null)
|
|
197
|
+
return null;
|
|
198
|
+
l.data && j(l.data, "expectedType") && c.push(l.data.expectedType);
|
|
199
|
+
}
|
|
200
|
+
var b = c.length > 0 ? ", expected one of type [" + c.join(", ") + "]" : "";
|
|
201
|
+
return new d("Invalid " + a + " `" + o + "` supplied to " + ("`" + t + "`" + b + "."));
|
|
202
|
+
}
|
|
203
|
+
return v(i);
|
|
204
|
+
}
|
|
205
|
+
function G() {
|
|
206
|
+
function e(r, u, i, n, f) {
|
|
207
|
+
return I(r[u]) ? null : new d("Invalid " + n + " `" + f + "` supplied to " + ("`" + i + "`, expected a ReactNode."));
|
|
208
|
+
}
|
|
209
|
+
return v(e);
|
|
210
|
+
}
|
|
211
|
+
function q(e, r, u, i, n) {
|
|
212
|
+
return new d(
|
|
213
|
+
(e || "React class") + ": " + r + " type `" + u + "." + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + n + "`."
|
|
214
|
+
);
|
|
215
|
+
}
|
|
216
|
+
function K(e) {
|
|
217
|
+
function r(u, i, n, f, t) {
|
|
218
|
+
var a = u[i], o = g(a);
|
|
219
|
+
if (o !== "object")
|
|
220
|
+
return new d("Invalid " + f + " `" + t + "` of type `" + o + "` " + ("supplied to `" + n + "`, expected `object`."));
|
|
221
|
+
for (var c in e) {
|
|
222
|
+
var s = e[c];
|
|
223
|
+
if (typeof s != "function")
|
|
224
|
+
return q(n, f, t, c, O(s));
|
|
225
|
+
var y = s(a, c, n, f, t + "." + c, h);
|
|
226
|
+
if (y)
|
|
227
|
+
return y;
|
|
228
|
+
}
|
|
229
|
+
return null;
|
|
230
|
+
}
|
|
231
|
+
return v(r);
|
|
232
|
+
}
|
|
233
|
+
function Q(e) {
|
|
234
|
+
function r(u, i, n, f, t) {
|
|
235
|
+
var a = u[i], o = g(a);
|
|
236
|
+
if (o !== "object")
|
|
237
|
+
return new d("Invalid " + f + " `" + t + "` of type `" + o + "` " + ("supplied to `" + n + "`, expected `object`."));
|
|
238
|
+
var c = W({}, u[i], e);
|
|
239
|
+
for (var s in c) {
|
|
240
|
+
var y = e[s];
|
|
241
|
+
if (j(e, s) && typeof y != "function")
|
|
242
|
+
return q(n, f, t, s, O(y));
|
|
243
|
+
if (!y)
|
|
244
|
+
return new d(
|
|
245
|
+
"Invalid " + f + " `" + t + "` key `" + s + "` supplied to `" + n + "`.\nBad object: " + JSON.stringify(u[i], null, " ") + `
|
|
246
|
+
Valid keys: ` + JSON.stringify(Object.keys(e), null, " ")
|
|
247
|
+
);
|
|
248
|
+
var l = y(a, s, n, f, t + "." + s, h);
|
|
249
|
+
if (l)
|
|
250
|
+
return l;
|
|
251
|
+
}
|
|
252
|
+
return null;
|
|
253
|
+
}
|
|
254
|
+
return v(r);
|
|
255
|
+
}
|
|
256
|
+
function I(e) {
|
|
257
|
+
switch (typeof e) {
|
|
258
|
+
case "number":
|
|
259
|
+
case "string":
|
|
260
|
+
case "undefined":
|
|
261
|
+
return !0;
|
|
262
|
+
case "boolean":
|
|
263
|
+
return !e;
|
|
264
|
+
case "object":
|
|
265
|
+
if (Array.isArray(e))
|
|
266
|
+
return e.every(I);
|
|
267
|
+
if (e === null || x(e))
|
|
268
|
+
return !0;
|
|
269
|
+
var r = m(e);
|
|
270
|
+
if (r) {
|
|
271
|
+
var u = r.call(e), i;
|
|
272
|
+
if (r !== e.entries) {
|
|
273
|
+
for (; !(i = u.next()).done; )
|
|
274
|
+
if (!I(i.value))
|
|
275
|
+
return !1;
|
|
276
|
+
} else
|
|
277
|
+
for (; !(i = u.next()).done; ) {
|
|
278
|
+
var n = i.value;
|
|
279
|
+
if (n && !I(n[1]))
|
|
280
|
+
return !1;
|
|
281
|
+
}
|
|
282
|
+
} else
|
|
283
|
+
return !1;
|
|
284
|
+
return !0;
|
|
285
|
+
default:
|
|
286
|
+
return !1;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
function Z(e, r) {
|
|
290
|
+
return e === "symbol" ? !0 : r ? r["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && r instanceof Symbol : !1;
|
|
291
|
+
}
|
|
292
|
+
function g(e) {
|
|
293
|
+
var r = typeof e;
|
|
294
|
+
return Array.isArray(e) ? "array" : e instanceof RegExp ? "object" : Z(r, e) ? "symbol" : r;
|
|
295
|
+
}
|
|
296
|
+
function O(e) {
|
|
297
|
+
if (typeof e > "u" || e === null)
|
|
298
|
+
return "" + e;
|
|
299
|
+
var r = g(e);
|
|
300
|
+
if (r === "object") {
|
|
301
|
+
if (e instanceof Date)
|
|
302
|
+
return "date";
|
|
303
|
+
if (e instanceof RegExp)
|
|
304
|
+
return "regexp";
|
|
305
|
+
}
|
|
306
|
+
return r;
|
|
307
|
+
}
|
|
308
|
+
function $(e) {
|
|
309
|
+
var r = O(e);
|
|
310
|
+
switch (r) {
|
|
311
|
+
case "array":
|
|
312
|
+
case "object":
|
|
313
|
+
return "an " + r;
|
|
314
|
+
case "boolean":
|
|
315
|
+
case "date":
|
|
316
|
+
case "regexp":
|
|
317
|
+
return "a " + r;
|
|
318
|
+
default:
|
|
319
|
+
return r;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
function V(e) {
|
|
323
|
+
return !e.constructor || !e.constructor.name ? P : e.constructor.name;
|
|
324
|
+
}
|
|
325
|
+
return w.checkPropTypes = R, w.resetWarningCache = R.resetWarningCache, w.PropTypes = w, w;
|
|
326
|
+
}, A;
|
|
327
|
+
}
|
|
328
|
+
export {
|
|
329
|
+
oe as __require
|
|
330
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { getDefaultExportFromCjs as e } from "../../_virtual/_commonjsHelpers.js";
|
|
2
|
+
import { __module as r } from "../../_virtual/index2.js";
|
|
3
|
+
import { __require as o } from "./node_modules/react-is/index.js";
|
|
4
|
+
import { __require as t } from "./factoryWithTypeCheckers.js";
|
|
5
|
+
import { __require as p } from "./factoryWithThrowingShims.js";
|
|
6
|
+
if (process.env.NODE_ENV !== "production") {
|
|
7
|
+
var s = o(), i = !0;
|
|
8
|
+
r.exports = t()(s.isElement, i);
|
|
9
|
+
} else
|
|
10
|
+
r.exports = p()();
|
|
11
|
+
var m = r.exports;
|
|
12
|
+
const q = /* @__PURE__ */ e(m);
|
|
13
|
+
export {
|
|
14
|
+
q as default
|
|
15
|
+
};
|