@zenpatient-org/healthspan-marketing-ui 0.1.34 → 0.1.36
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/_virtual/_commonjsHelpers.cjs.js +1 -0
- package/dist/_virtual/_commonjsHelpers.es.js +6 -0
- package/dist/_virtual/browser.cjs.js +1 -0
- package/dist/_virtual/browser.es.js +4 -0
- package/dist/_virtual/debug.cjs.js +1 -0
- package/dist/_virtual/debug.es.js +4 -0
- package/dist/_virtual/index.cjs.js +1 -0
- package/dist/_virtual/index.cjs2.js +1 -0
- package/dist/_virtual/index.cjs3.js +1 -0
- package/dist/_virtual/index.cjs4.js +1 -0
- package/dist/_virtual/index.es.js +7 -0
- package/dist/_virtual/index.es2.js +7 -0
- package/dist/_virtual/index.es3.js +4 -0
- package/dist/_virtual/index.es4.js +4 -0
- package/dist/_virtual/react-is.development.cjs.js +1 -0
- package/dist/_virtual/react-is.development.es.js +4 -0
- package/dist/_virtual/react-is.production.min.cjs.js +1 -0
- package/dist/_virtual/react-is.production.min.es.js +4 -0
- package/dist/_virtual/to-querystring.min.cjs.js +1 -0
- package/dist/_virtual/to-querystring.min.cjs2.js +1 -0
- package/dist/_virtual/to-querystring.min.es.js +7 -0
- package/dist/_virtual/to-querystring.min.es2.js +4 -0
- package/dist/components/Accordion/components/AccordionItem/index.d.ts +1 -1
- package/dist/components/CircleHighlights/CircleHighlights.cjs.js +1 -0
- package/dist/components/CircleHighlights/CircleHighlights.d.ts +10 -0
- package/dist/components/CircleHighlights/CircleHighlights.es.js +20 -0
- package/dist/components/CircleHighlights/circleHighlights.module.css.cjs.js +1 -0
- package/dist/components/CircleHighlights/circleHighlights.module.css.es.js +19 -0
- package/dist/components/CircleHighlights/index.d.ts +1 -0
- package/dist/components/StudyGridCard/StudyGridCard.cjs.js +1 -1
- package/dist/components/StudyGridCard/StudyGridCard.es.js +24 -30
- package/dist/components/TextInput/TextInput.cjs.js +1 -0
- package/dist/components/TextInput/TextInput.d.ts +20 -0
- package/dist/components/TextInput/TextInput.es.js +86 -0
- package/dist/components/TextInput/index.d.ts +1 -0
- package/dist/components/TextInput/textInput.module.css.cjs.js +1 -0
- package/dist/components/TextInput/textInput.module.css.es.js +32 -0
- package/dist/healthspan-marketing-ui.css +1 -1
- package/dist/modules/ResearchEssentialReadings/ResearchEssentialReadings.cjs.js +1 -0
- package/dist/modules/ResearchEssentialReadings/ResearchEssentialReadings.d.ts +3 -0
- package/dist/modules/ResearchEssentialReadings/ResearchEssentialReadings.es.js +89 -0
- package/dist/modules/ResearchEssentialReadings/components/ReadingCard/ReadingCard.cjs.js +1 -0
- package/dist/modules/ResearchEssentialReadings/components/ReadingCard/ReadingCard.d.ts +3 -0
- package/dist/modules/ResearchEssentialReadings/components/ReadingCard/ReadingCard.es.js +26 -0
- package/dist/modules/ResearchEssentialReadings/components/ReadingCard/index.d.ts +2 -0
- package/dist/modules/ResearchEssentialReadings/components/ReadingCard/readingCard.module.css.cjs.js +1 -0
- package/dist/modules/ResearchEssentialReadings/components/ReadingCard/readingCard.module.css.es.js +17 -0
- package/dist/modules/ResearchEssentialReadings/components/ReadingCard/types.d.ts +10 -0
- package/dist/modules/ResearchEssentialReadings/components/index.d.ts +2 -0
- package/dist/modules/ResearchEssentialReadings/index.d.ts +1 -0
- package/dist/modules/ResearchEssentialReadings/researchEssentialReadings.module.css.cjs.js +1 -0
- package/dist/modules/ResearchEssentialReadings/researchEssentialReadings.module.css.es.js +27 -0
- package/dist/modules/ResearchEssentialReadings/types.d.ts +5 -0
- package/dist/modules/ResearchFeatured/ResearchFeatured.cjs.js +1 -0
- package/dist/modules/ResearchFeatured/ResearchFeatured.d.ts +3 -0
- package/dist/modules/ResearchFeatured/ResearchFeatured.es.js +16 -0
- package/dist/modules/ResearchFeatured/components/FeaturedArticle/FeaturedArticle.cjs.js +1 -0
- package/dist/modules/ResearchFeatured/components/FeaturedArticle/FeaturedArticle.d.ts +3 -0
- package/dist/modules/ResearchFeatured/components/FeaturedArticle/FeaturedArticle.es.js +37 -0
- package/dist/modules/ResearchFeatured/components/FeaturedArticle/featuredArticle.module.css.cjs.js +1 -0
- package/dist/modules/ResearchFeatured/components/FeaturedArticle/featuredArticle.module.css.es.js +19 -0
- package/dist/modules/ResearchFeatured/components/FeaturedArticle/index.d.ts +2 -0
- package/dist/modules/ResearchFeatured/components/FeaturedArticle/types.d.ts +7 -0
- package/dist/modules/ResearchFeatured/components/HighlightedArticle/HighlightedArticle.cjs.js +1 -0
- package/dist/modules/ResearchFeatured/components/HighlightedArticle/HighlightedArticle.d.ts +3 -0
- package/dist/modules/ResearchFeatured/components/HighlightedArticle/HighlightedArticle.es.js +15 -0
- package/dist/modules/ResearchFeatured/components/HighlightedArticle/highlightedArticle.module.css.cjs.js +1 -0
- package/dist/modules/ResearchFeatured/components/HighlightedArticle/highlightedArticle.module.css.es.js +15 -0
- package/dist/modules/ResearchFeatured/components/HighlightedArticle/index.d.ts +1 -0
- package/dist/modules/ResearchFeatured/components/HighlightedArticle/types.d.ts +9 -0
- package/dist/modules/ResearchFeatured/components/index.d.ts +4 -0
- package/dist/modules/ResearchFeatured/index.d.ts +1 -0
- package/dist/modules/ResearchFeatured/researchFeatured.module.css.cjs.js +1 -0
- package/dist/modules/ResearchFeatured/researchFeatured.module.css.es.js +15 -0
- package/dist/modules/ResearchFeatured/types.d.ts +6 -0
- package/dist/modules/ResearchStudies/ResearchStudies.cjs.js +1 -0
- package/dist/modules/ResearchStudies/ResearchStudies.d.ts +3 -0
- package/dist/modules/ResearchStudies/ResearchStudies.es.js +16 -0
- package/dist/modules/ResearchStudies/components/StudyCard/StudyCard.cjs.js +1 -0
- package/dist/modules/ResearchStudies/components/StudyCard/StudyCard.d.ts +3 -0
- package/dist/modules/ResearchStudies/components/StudyCard/StudyCard.es.js +30 -0
- package/dist/modules/ResearchStudies/components/StudyCard/index.d.ts +2 -0
- package/dist/modules/ResearchStudies/components/StudyCard/studyCard.module.css.cjs.js +1 -0
- package/dist/modules/ResearchStudies/components/StudyCard/studyCard.module.css.es.js +21 -0
- package/dist/modules/ResearchStudies/components/StudyCard/types.d.ts +10 -0
- package/dist/modules/ResearchStudies/components/index.d.ts +2 -0
- package/dist/modules/ResearchStudies/index.d.ts +1 -0
- package/dist/modules/ResearchStudies/researchStudies.module.css.cjs.js +1 -0
- package/dist/modules/ResearchStudies/researchStudies.module.css.es.js +13 -0
- package/dist/modules/ResearchStudies/types.d.ts +5 -0
- package/dist/node_modules/jsonp/index.cjs.js +1 -0
- package/dist/node_modules/jsonp/index.es.js +31 -0
- package/dist/node_modules/jsonp/node_modules/debug/src/browser.cjs.js +1 -0
- package/dist/node_modules/jsonp/node_modules/debug/src/browser.es.js +67 -0
- package/dist/node_modules/jsonp/node_modules/debug/src/debug.cjs.js +1 -0
- package/dist/node_modules/jsonp/node_modules/debug/src/debug.es.js +64 -0
- package/dist/node_modules/jsonp/node_modules/ms/index.cjs.js +1 -0
- package/dist/node_modules/jsonp/node_modules/ms/index.es.js +79 -0
- package/dist/node_modules/object-assign/index.cjs.js +5 -0
- package/dist/node_modules/object-assign/index.es.js +54 -0
- package/dist/node_modules/prop-types/checkPropTypes.cjs.js +1 -0
- package/dist/node_modules/prop-types/checkPropTypes.es.js +54 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.cjs.js +1 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.es.js +52 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.cjs.js +2 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.es.js +329 -0
- package/dist/node_modules/prop-types/index.cjs.js +1 -0
- package/dist/node_modules/prop-types/index.es.js +17 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.cjs.js +1 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.es.js +10 -0
- package/dist/node_modules/prop-types/lib/has.cjs.js +1 -0
- package/dist/node_modules/prop-types/lib/has.es.js +7 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.cjs.js +8 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.es.js +95 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.cjs.js +8 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.es.js +78 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.cjs.js +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.es.js +10 -0
- package/dist/node_modules/react-mailchimp-subscribe/es/SimpleForm.cjs.js +1 -0
- package/dist/node_modules/react-mailchimp-subscribe/es/SimpleForm.es.js +40 -0
- package/dist/node_modules/react-mailchimp-subscribe/es/index.cjs.js +1 -0
- package/dist/node_modules/react-mailchimp-subscribe/es/index.es.js +81 -0
- package/dist/node_modules/to-querystring/lib/to-querystring.min.cjs.js +1 -0
- package/dist/node_modules/to-querystring/lib/to-querystring.min.es.js +54 -0
- package/dist/pageComponents/Footer/Footer.cjs.js +1 -0
- package/dist/pageComponents/Footer/Footer.d.ts +17 -0
- package/dist/pageComponents/Footer/Footer.es.js +63 -0
- package/dist/pageComponents/Footer/assets/CompanyName.svg.cjs.js +1 -0
- package/dist/pageComponents/Footer/assets/CompanyName.svg.es.js +5 -0
- package/dist/pageComponents/Footer/assets/logo.png.cjs.js +1 -0
- package/dist/pageComponents/Footer/assets/logo.png.es.js +4 -0
- package/dist/pageComponents/Footer/components/AccordionFooter/AccordionFooter.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/AccordionFooter/AccordionFooter.d.ts +13 -0
- package/dist/pageComponents/Footer/components/AccordionFooter/AccordionFooter.es.js +24 -0
- package/dist/pageComponents/Footer/components/AccordionFooter/accordionFooter.module.css.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/AccordionFooter/accordionFooter.module.css.es.js +7 -0
- package/dist/pageComponents/Footer/components/AccordionFooter/index.d.ts +1 -0
- package/dist/pageComponents/Footer/components/AccordionFooterItem/AccordionFooterItem.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/AccordionFooterItem/AccordionFooterItem.d.ts +14 -0
- package/dist/pageComponents/Footer/components/AccordionFooterItem/AccordionFooterItem.es.js +29 -0
- package/dist/pageComponents/Footer/components/AccordionFooterItem/accordionFooterItem.module.css.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/AccordionFooterItem/accordionFooterItem.module.css.es.js +27 -0
- package/dist/pageComponents/Footer/components/AccordionFooterItem/index.d.ts +1 -0
- package/dist/pageComponents/Footer/components/FooterAbout/FooterAbout.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/FooterAbout/FooterAbout.d.ts +1 -0
- package/dist/pageComponents/Footer/components/FooterAbout/FooterAbout.es.js +42 -0
- package/dist/pageComponents/Footer/components/FooterAbout/footerAbout.module.css.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/FooterAbout/footerAbout.module.css.es.js +11 -0
- package/dist/pageComponents/Footer/components/FooterAbout/index.d.ts +1 -0
- package/dist/pageComponents/Footer/components/FooterLinksBlock/FooterLinksBlock.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/FooterLinksBlock/FooterLinksBlock.d.ts +5 -0
- package/dist/pageComponents/Footer/components/FooterLinksBlock/FooterLinksBlock.es.js +47 -0
- package/dist/pageComponents/Footer/components/FooterLinksBlock/footerLinksBlock.module.css.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/FooterLinksBlock/footerLinksBlock.module.css.es.js +11 -0
- package/dist/pageComponents/Footer/components/FooterLinksBlock/index.d.ts +1 -0
- package/dist/pageComponents/Footer/components/LinksColumn/LinksColumn.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/LinksColumn/LinksColumn.d.ts +11 -0
- package/dist/pageComponents/Footer/components/LinksColumn/LinksColumn.es.js +15 -0
- package/dist/pageComponents/Footer/components/LinksColumn/index.d.ts +1 -0
- package/dist/pageComponents/Footer/components/LinksColumn/linksColumn.module.css.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/LinksColumn/linksColumn.module.css.es.js +17 -0
- package/dist/pageComponents/Footer/components/NewsLetter/NewsLetter.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/NewsLetter/NewsLetter.d.ts +1 -0
- package/dist/pageComponents/Footer/components/NewsLetter/NewsLetter.es.js +69 -0
- package/dist/pageComponents/Footer/components/NewsLetter/index.d.ts +1 -0
- package/dist/pageComponents/Footer/components/NewsLetter/newsLetter.module.css.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/NewsLetter/newsLetter.module.css.es.js +17 -0
- package/dist/pageComponents/Footer/components/TopTreatmentsCard/TopTreatmentsCard.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/TopTreatmentsCard/TopTreatmentsCard.d.ts +11 -0
- package/dist/pageComponents/Footer/components/TopTreatmentsCard/TopTreatmentsCard.es.js +47 -0
- package/dist/pageComponents/Footer/components/TopTreatmentsCard/index.d.ts +1 -0
- package/dist/pageComponents/Footer/components/TopTreatmentsCard/topTreatmentsCard.module.css.cjs.js +1 -0
- package/dist/pageComponents/Footer/components/TopTreatmentsCard/topTreatmentsCard.module.css.es.js +33 -0
- package/dist/pageComponents/Footer/components/index.d.ts +5 -0
- package/dist/pageComponents/Footer/footer.module.css.cjs.js +1 -0
- package/dist/pageComponents/Footer/footer.module.css.es.js +25 -0
- package/dist/pageComponents/Footer/index.d.ts +1 -0
- package/dist/utils/formatDate.cjs.js +1 -0
- package/dist/utils/formatDate.d.ts +1 -0
- package/dist/utils/formatDate.es.js +10 -0
- package/dist/utils/isValidEmail.cjs.js +1 -0
- package/dist/utils/isValidEmail.d.ts +1 -0
- package/dist/utils/isValidEmail.es.js +4 -0
- package/package.json +37 -5
- package/dist/components/Accordion/components/index.d.ts +0 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { __require as g } from "./node_modules/debug/src/browser.es.js";
|
|
2
|
+
var c, d;
|
|
3
|
+
function N() {
|
|
4
|
+
if (d) return c;
|
|
5
|
+
d = 1;
|
|
6
|
+
var u = g()("jsonp");
|
|
7
|
+
c = l;
|
|
8
|
+
var v = 0;
|
|
9
|
+
function s() {
|
|
10
|
+
}
|
|
11
|
+
function l(r, e, i) {
|
|
12
|
+
typeof e == "function" && (i = e, e = {}), e || (e = {});
|
|
13
|
+
var w = e.prefix || "__jp", o = e.name || w + v++, _ = e.param || "callback", m = e.timeout != null ? e.timeout : 6e4, j = encodeURIComponent, f = document.getElementsByTagName("script")[0] || document.head, n, t;
|
|
14
|
+
m && (t = setTimeout(function() {
|
|
15
|
+
a(), i && i(new Error("Timeout"));
|
|
16
|
+
}, m));
|
|
17
|
+
function a() {
|
|
18
|
+
n.parentNode && n.parentNode.removeChild(n), window[o] = s, t && clearTimeout(t);
|
|
19
|
+
}
|
|
20
|
+
function q() {
|
|
21
|
+
window[o] && a();
|
|
22
|
+
}
|
|
23
|
+
return window[o] = function(p) {
|
|
24
|
+
u("jsonp got", p), a(), i && i(null, p);
|
|
25
|
+
}, r += (~r.indexOf("?") ? "&" : "?") + _ + "=" + j(o), r = r.replace("?&", "?"), u('jsonp req "%s"', r), n = document.createElement("script"), n.src = r, f.parentNode.insertBefore(n, f), q;
|
|
26
|
+
}
|
|
27
|
+
return c;
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
N as __require
|
|
31
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../../../../../_virtual/browser.cjs.js"),p=require("./debug.cjs.js");var s;function y(){return s||(s=1,function(d,o){o=d.exports=p.__require(),o.log=g,o.formatArgs=f,o.save=m,o.load=t,o.useColors=l,o.storage=typeof chrome<"u"&&typeof chrome.storage<"u"?chrome.storage.local:w(),o.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"];function l(){return typeof window<"u"&&window.process&&window.process.type==="renderer"?!0:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}o.formatters.j=function(e){try{return JSON.stringify(e)}catch(r){return"[UnexpectedJSONParseError]: "+r.message}};function f(e){var r=this.useColors;if(e[0]=(r?"%c":"")+this.namespace+(r?" %c":" ")+e[0]+(r?"%c ":" ")+"+"+o.humanize(this.diff),!!r){var i="color: "+this.color;e.splice(1,0,i,"color: inherit");var c=0,u=0;e[0].replace(/%[a-zA-Z%]/g,function(a){a!=="%%"&&(c++,a==="%c"&&(u=c))}),e.splice(u,0,i)}}function g(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function m(e){try{e==null?o.storage.removeItem("debug"):o.storage.debug=e}catch{}}function t(){var e;try{e=o.storage.debug}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}o.enable(t());function w(){try{return window.localStorage}catch{}}}(n.__module,n.__module.exports)),n.__module.exports}exports.__require=y;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { __module as n } from "../../../../../_virtual/browser.es.js";
|
|
2
|
+
import { __require as w } from "./debug.es.js";
|
|
3
|
+
var s;
|
|
4
|
+
function v() {
|
|
5
|
+
return s ? n.exports : (s = 1, function(d, o) {
|
|
6
|
+
o = d.exports = w(), o.log = g, o.formatArgs = f, o.save = m, o.load = t, o.useColors = l, o.storage = typeof chrome < "u" && typeof chrome.storage < "u" ? chrome.storage.local : p(), o.colors = [
|
|
7
|
+
"lightseagreen",
|
|
8
|
+
"forestgreen",
|
|
9
|
+
"goldenrod",
|
|
10
|
+
"dodgerblue",
|
|
11
|
+
"darkorchid",
|
|
12
|
+
"crimson"
|
|
13
|
+
];
|
|
14
|
+
function l() {
|
|
15
|
+
return typeof window < "u" && window.process && window.process.type === "renderer" ? !0 : typeof document < "u" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // is firebug? http://stackoverflow.com/a/398120/376773
|
|
16
|
+
typeof window < "u" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // is firefox >= v31?
|
|
17
|
+
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
|
|
18
|
+
typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || // double check webkit in userAgent just in case we are in a worker
|
|
19
|
+
typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
20
|
+
}
|
|
21
|
+
o.formatters.j = function(e) {
|
|
22
|
+
try {
|
|
23
|
+
return JSON.stringify(e);
|
|
24
|
+
} catch (r) {
|
|
25
|
+
return "[UnexpectedJSONParseError]: " + r.message;
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
function f(e) {
|
|
29
|
+
var r = this.useColors;
|
|
30
|
+
if (e[0] = (r ? "%c" : "") + this.namespace + (r ? " %c" : " ") + e[0] + (r ? "%c " : " ") + "+" + o.humanize(this.diff), !!r) {
|
|
31
|
+
var i = "color: " + this.color;
|
|
32
|
+
e.splice(1, 0, i, "color: inherit");
|
|
33
|
+
var c = 0, u = 0;
|
|
34
|
+
e[0].replace(/%[a-zA-Z%]/g, function(a) {
|
|
35
|
+
a !== "%%" && (c++, a === "%c" && (u = c));
|
|
36
|
+
}), e.splice(u, 0, i);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
function g() {
|
|
40
|
+
return typeof console == "object" && console.log && Function.prototype.apply.call(console.log, console, arguments);
|
|
41
|
+
}
|
|
42
|
+
function m(e) {
|
|
43
|
+
try {
|
|
44
|
+
e == null ? o.storage.removeItem("debug") : o.storage.debug = e;
|
|
45
|
+
} catch {
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
function t() {
|
|
49
|
+
var e;
|
|
50
|
+
try {
|
|
51
|
+
e = o.storage.debug;
|
|
52
|
+
} catch {
|
|
53
|
+
}
|
|
54
|
+
return !e && typeof process < "u" && "env" in process && (e = process.env.DEBUG), e;
|
|
55
|
+
}
|
|
56
|
+
o.enable(t());
|
|
57
|
+
function p() {
|
|
58
|
+
try {
|
|
59
|
+
return window.localStorage;
|
|
60
|
+
} catch {
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}(n, n.exports), n.exports);
|
|
64
|
+
}
|
|
65
|
+
export {
|
|
66
|
+
v as __require
|
|
67
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../../../../_virtual/debug.cjs.js"),C=require("../../ms/index.cjs.js");var d;function D(){return d||(d=1,function(b,e){e=b.exports=g.debug=g.default=g,e.coerce=y,e.disable=_,e.enable=h,e.enabled=m,e.humanize=C.__require(),e.names=[],e.skips=[],e.formatters={};var c;function v(r){var n=0,u;for(u in r)n=(n<<5)-n+r.charCodeAt(u),n|=0;return e.colors[Math.abs(n)%e.colors.length]}function g(r){function n(){if(n.enabled){var u=n,l=+new Date,k=l-(c||l);u.diff=k,u.prev=c,u.curr=l,c=l;for(var i=new Array(arguments.length),t=0;t<i.length;t++)i[t]=arguments[t];i[0]=e.coerce(i[0]),typeof i[0]!="string"&&i.unshift("%O");var f=0;i[0]=i[0].replace(/%([a-zA-Z%])/g,function(a,w){if(a==="%%")return a;f++;var s=e.formatters[w];if(typeof s=="function"){var A=i[f];a=s.call(u,A),i.splice(f,1),f--}return a}),e.formatArgs.call(u,i);var q=n.log||e.log||console.log.bind(console);q.apply(u,i)}}return n.namespace=r,n.enabled=e.enabled(r),n.useColors=e.useColors(),n.color=v(r),typeof e.init=="function"&&e.init(n),n}function h(r){e.save(r),e.names=[],e.skips=[];for(var n=(typeof r=="string"?r:"").split(/[\s,]+/),u=n.length,l=0;l<u;l++)n[l]&&(r=n[l].replace(/\*/g,".*?"),r[0]==="-"?e.skips.push(new RegExp("^"+r.substr(1)+"$")):e.names.push(new RegExp("^"+r+"$")))}function _(){e.enable("")}function m(r){var n,u;for(n=0,u=e.skips.length;n<u;n++)if(e.skips[n].test(r))return!1;for(n=0,u=e.names.length;n<u;n++)if(e.names[n].test(r))return!0;return!1}function y(r){return r instanceof Error?r.stack||r.message:r}}(o.__module,o.__module.exports)),o.__module.exports}exports.__require=D;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { __module as o } from "../../../../../_virtual/debug.es.js";
|
|
2
|
+
import { __require as C } from "../../ms/index.es.js";
|
|
3
|
+
var b;
|
|
4
|
+
function R() {
|
|
5
|
+
return b ? o.exports : (b = 1, function(d, e) {
|
|
6
|
+
e = d.exports = c.debug = c.default = c, e.coerce = y, e.disable = m, e.enable = h, e.enabled = k, e.humanize = C(), e.names = [], e.skips = [], e.formatters = {};
|
|
7
|
+
var g;
|
|
8
|
+
function v(n) {
|
|
9
|
+
var r = 0, i;
|
|
10
|
+
for (i in n)
|
|
11
|
+
r = (r << 5) - r + n.charCodeAt(i), r |= 0;
|
|
12
|
+
return e.colors[Math.abs(r) % e.colors.length];
|
|
13
|
+
}
|
|
14
|
+
function c(n) {
|
|
15
|
+
function r() {
|
|
16
|
+
if (r.enabled) {
|
|
17
|
+
var i = r, f = +/* @__PURE__ */ new Date(), _ = f - (g || f);
|
|
18
|
+
i.diff = _, i.prev = g, i.curr = f, g = f;
|
|
19
|
+
for (var u = new Array(arguments.length), l = 0; l < u.length; l++)
|
|
20
|
+
u[l] = arguments[l];
|
|
21
|
+
u[0] = e.coerce(u[0]), typeof u[0] != "string" && u.unshift("%O");
|
|
22
|
+
var t = 0;
|
|
23
|
+
u[0] = u[0].replace(/%([a-zA-Z%])/g, function(a, w) {
|
|
24
|
+
if (a === "%%") return a;
|
|
25
|
+
t++;
|
|
26
|
+
var s = e.formatters[w];
|
|
27
|
+
if (typeof s == "function") {
|
|
28
|
+
var A = u[t];
|
|
29
|
+
a = s.call(i, A), u.splice(t, 1), t--;
|
|
30
|
+
}
|
|
31
|
+
return a;
|
|
32
|
+
}), e.formatArgs.call(i, u);
|
|
33
|
+
var q = r.log || e.log || console.log.bind(console);
|
|
34
|
+
q.apply(i, u);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return r.namespace = n, r.enabled = e.enabled(n), r.useColors = e.useColors(), r.color = v(n), typeof e.init == "function" && e.init(r), r;
|
|
38
|
+
}
|
|
39
|
+
function h(n) {
|
|
40
|
+
e.save(n), e.names = [], e.skips = [];
|
|
41
|
+
for (var r = (typeof n == "string" ? n : "").split(/[\s,]+/), i = r.length, f = 0; f < i; f++)
|
|
42
|
+
r[f] && (n = r[f].replace(/\*/g, ".*?"), n[0] === "-" ? e.skips.push(new RegExp("^" + n.substr(1) + "$")) : e.names.push(new RegExp("^" + n + "$")));
|
|
43
|
+
}
|
|
44
|
+
function m() {
|
|
45
|
+
e.enable("");
|
|
46
|
+
}
|
|
47
|
+
function k(n) {
|
|
48
|
+
var r, i;
|
|
49
|
+
for (r = 0, i = e.skips.length; r < i; r++)
|
|
50
|
+
if (e.skips[r].test(n))
|
|
51
|
+
return !1;
|
|
52
|
+
for (r = 0, i = e.names.length; r < i; r++)
|
|
53
|
+
if (e.names[r].test(n))
|
|
54
|
+
return !0;
|
|
55
|
+
return !1;
|
|
56
|
+
}
|
|
57
|
+
function y(n) {
|
|
58
|
+
return n instanceof Error ? n.stack || n.message : n;
|
|
59
|
+
}
|
|
60
|
+
}(o, o.exports), o.exports);
|
|
61
|
+
}
|
|
62
|
+
export {
|
|
63
|
+
R as __require
|
|
64
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var i,o;function m(){if(o)return i;o=1;var n=1e3,a=n*60,t=a*60,c=t*24,d=c*365.25;i=function(e,r){r=r||{};var s=typeof e;if(s==="string"&&e.length>0)return f(e);if(s==="number"&&isNaN(e)===!1)return r.long?y(e):h(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function f(e){if(e=String(e),!(e.length>100)){var r=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(r){var s=parseFloat(r[1]),l=(r[2]||"ms").toLowerCase();switch(l){case"years":case"year":case"yrs":case"yr":case"y":return s*d;case"days":case"day":case"d":return s*c;case"hours":case"hour":case"hrs":case"hr":case"h":return s*t;case"minutes":case"minute":case"mins":case"min":case"m":return s*a;case"seconds":case"second":case"secs":case"sec":case"s":return s*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}function h(e){return e>=c?Math.round(e/c)+"d":e>=t?Math.round(e/t)+"h":e>=a?Math.round(e/a)+"m":e>=n?Math.round(e/n)+"s":e+"ms"}function y(e){return u(e,c,"day")||u(e,t,"hour")||u(e,a,"minute")||u(e,n,"second")||e+" ms"}function u(e,r,s){if(!(e<r))return e<r*1.5?Math.floor(e/r)+" "+s:Math.ceil(e/r)+" "+s+"s"}return i}exports.__require=m;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
var i, o;
|
|
2
|
+
function m() {
|
|
3
|
+
if (o) return i;
|
|
4
|
+
o = 1;
|
|
5
|
+
var n = 1e3, a = n * 60, t = a * 60, c = t * 24, d = c * 365.25;
|
|
6
|
+
i = function(e, r) {
|
|
7
|
+
r = r || {};
|
|
8
|
+
var s = typeof e;
|
|
9
|
+
if (s === "string" && e.length > 0)
|
|
10
|
+
return f(e);
|
|
11
|
+
if (s === "number" && isNaN(e) === !1)
|
|
12
|
+
return r.long ? y(e) : h(e);
|
|
13
|
+
throw new Error(
|
|
14
|
+
"val is not a non-empty string or a valid number. val=" + JSON.stringify(e)
|
|
15
|
+
);
|
|
16
|
+
};
|
|
17
|
+
function f(e) {
|
|
18
|
+
if (e = String(e), !(e.length > 100)) {
|
|
19
|
+
var r = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(
|
|
20
|
+
e
|
|
21
|
+
);
|
|
22
|
+
if (r) {
|
|
23
|
+
var s = parseFloat(r[1]), l = (r[2] || "ms").toLowerCase();
|
|
24
|
+
switch (l) {
|
|
25
|
+
case "years":
|
|
26
|
+
case "year":
|
|
27
|
+
case "yrs":
|
|
28
|
+
case "yr":
|
|
29
|
+
case "y":
|
|
30
|
+
return s * d;
|
|
31
|
+
case "days":
|
|
32
|
+
case "day":
|
|
33
|
+
case "d":
|
|
34
|
+
return s * c;
|
|
35
|
+
case "hours":
|
|
36
|
+
case "hour":
|
|
37
|
+
case "hrs":
|
|
38
|
+
case "hr":
|
|
39
|
+
case "h":
|
|
40
|
+
return s * t;
|
|
41
|
+
case "minutes":
|
|
42
|
+
case "minute":
|
|
43
|
+
case "mins":
|
|
44
|
+
case "min":
|
|
45
|
+
case "m":
|
|
46
|
+
return s * a;
|
|
47
|
+
case "seconds":
|
|
48
|
+
case "second":
|
|
49
|
+
case "secs":
|
|
50
|
+
case "sec":
|
|
51
|
+
case "s":
|
|
52
|
+
return s * n;
|
|
53
|
+
case "milliseconds":
|
|
54
|
+
case "millisecond":
|
|
55
|
+
case "msecs":
|
|
56
|
+
case "msec":
|
|
57
|
+
case "ms":
|
|
58
|
+
return s;
|
|
59
|
+
default:
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
function h(e) {
|
|
66
|
+
return e >= c ? Math.round(e / c) + "d" : e >= t ? Math.round(e / t) + "h" : e >= a ? Math.round(e / a) + "m" : e >= n ? Math.round(e / n) + "s" : e + "ms";
|
|
67
|
+
}
|
|
68
|
+
function y(e) {
|
|
69
|
+
return u(e, c, "day") || u(e, t, "hour") || u(e, a, "minute") || u(e, n, "second") || e + " ms";
|
|
70
|
+
}
|
|
71
|
+
function u(e, r, s) {
|
|
72
|
+
if (!(e < r))
|
|
73
|
+
return e < r * 1.5 ? Math.floor(e / r) + " " + s : Math.ceil(e / r) + " " + s + "s";
|
|
74
|
+
}
|
|
75
|
+
return i;
|
|
76
|
+
}
|
|
77
|
+
export {
|
|
78
|
+
m as __require
|
|
79
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*
|
|
2
|
+
object-assign
|
|
3
|
+
(c) Sindre Sorhus
|
|
4
|
+
@license MIT
|
|
5
|
+
*/var u,f;function j(){if(f)return u;f=1;var i=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;function O(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function g(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var c={},r=0;r<10;r++)c["_"+String.fromCharCode(r)]=r;var a=Object.getOwnPropertyNames(c).map(function(e){return c[e]});if(a.join("")!=="0123456789")return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),Object.keys(Object.assign({},n)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return u=g()?Object.assign:function(t,c){for(var r,a=O(t),n,e=1;e<arguments.length;e++){r=Object(arguments[e]);for(var s in r)b.call(r,s)&&(a[s]=r[s]);if(i){n=i(r);for(var o=0;o<n.length;o++)l.call(r,n[o])&&(a[n[o]]=r[n[o]])}}return a},u}exports.__require=j;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/*
|
|
2
|
+
object-assign
|
|
3
|
+
(c) Sindre Sorhus
|
|
4
|
+
@license MIT
|
|
5
|
+
*/
|
|
6
|
+
var f, i;
|
|
7
|
+
function p() {
|
|
8
|
+
if (i) return f;
|
|
9
|
+
i = 1;
|
|
10
|
+
var u = Object.getOwnPropertySymbols, b = Object.prototype.hasOwnProperty, l = Object.prototype.propertyIsEnumerable;
|
|
11
|
+
function O(n) {
|
|
12
|
+
if (n == null)
|
|
13
|
+
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
14
|
+
return Object(n);
|
|
15
|
+
}
|
|
16
|
+
function j() {
|
|
17
|
+
try {
|
|
18
|
+
if (!Object.assign)
|
|
19
|
+
return !1;
|
|
20
|
+
var n = new String("abc");
|
|
21
|
+
if (n[5] = "de", Object.getOwnPropertyNames(n)[0] === "5")
|
|
22
|
+
return !1;
|
|
23
|
+
for (var s = {}, r = 0; r < 10; r++)
|
|
24
|
+
s["_" + String.fromCharCode(r)] = r;
|
|
25
|
+
var a = Object.getOwnPropertyNames(s).map(function(e) {
|
|
26
|
+
return s[e];
|
|
27
|
+
});
|
|
28
|
+
if (a.join("") !== "0123456789")
|
|
29
|
+
return !1;
|
|
30
|
+
var t = {};
|
|
31
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(e) {
|
|
32
|
+
t[e] = e;
|
|
33
|
+
}), Object.keys(Object.assign({}, t)).join("") === "abcdefghijklmnopqrst";
|
|
34
|
+
} catch {
|
|
35
|
+
return !1;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return f = j() ? Object.assign : function(n, s) {
|
|
39
|
+
for (var r, a = O(n), t, e = 1; e < arguments.length; e++) {
|
|
40
|
+
r = Object(arguments[e]);
|
|
41
|
+
for (var c in r)
|
|
42
|
+
b.call(r, c) && (a[c] = r[c]);
|
|
43
|
+
if (u) {
|
|
44
|
+
t = u(r);
|
|
45
|
+
for (var o = 0; o < t.length; o++)
|
|
46
|
+
l.call(r, t[o]) && (a[t[o]] = r[t[o]]);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return a;
|
|
50
|
+
}, f;
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
p as __require
|
|
54
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./lib/ReactPropTypesSecret.cjs.js"),_=require("./lib/has.cjs.js");var u,p;function O(){if(p)return u;p=1;var o=function(){};if(process.env.NODE_ENV!=="production"){var l=E.__require(),a={},y=_.__require();o=function(r){var t="Warning: "+r;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}}}function f(r,t,i,s,c){if(process.env.NODE_ENV!=="production"){for(var e in r)if(y(r,e)){var n;try{if(typeof r[e]!="function"){var h=Error((s||"React class")+": "+i+" type `"+e+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[e]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}n=r[e](t,e,s,i,null,l)}catch(d){n=d}if(n&&!(n instanceof Error)&&o((s||"React class")+": type specification of "+i+" `"+e+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof n+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),n instanceof Error&&!(n.message in a)){a[n.message]=!0;var v=c?c():"";o("Failed "+i+" type: "+n.message+(v??""))}}}}return f.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(a={})},u=f,u}exports.__require=O;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { __require as E } from "./lib/ReactPropTypesSecret.es.js";
|
|
2
|
+
import { __require as _ } from "./lib/has.es.js";
|
|
3
|
+
var f, v;
|
|
4
|
+
function P() {
|
|
5
|
+
if (v) return f;
|
|
6
|
+
v = 1;
|
|
7
|
+
var o = function() {
|
|
8
|
+
};
|
|
9
|
+
if (process.env.NODE_ENV !== "production") {
|
|
10
|
+
var y = /* @__PURE__ */ E(), t = {}, d = /* @__PURE__ */ _();
|
|
11
|
+
o = function(n) {
|
|
12
|
+
var a = "Warning: " + n;
|
|
13
|
+
typeof console < "u" && console.error(a);
|
|
14
|
+
try {
|
|
15
|
+
throw new Error(a);
|
|
16
|
+
} catch {
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function u(n, a, i, s, c) {
|
|
21
|
+
if (process.env.NODE_ENV !== "production") {
|
|
22
|
+
for (var e in n)
|
|
23
|
+
if (d(n, e)) {
|
|
24
|
+
var r;
|
|
25
|
+
try {
|
|
26
|
+
if (typeof n[e] != "function") {
|
|
27
|
+
var h = Error(
|
|
28
|
+
(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`."
|
|
29
|
+
);
|
|
30
|
+
throw h.name = "Invariant Violation", h;
|
|
31
|
+
}
|
|
32
|
+
r = n[e](a, e, s, i, null, y);
|
|
33
|
+
} catch (l) {
|
|
34
|
+
r = l;
|
|
35
|
+
}
|
|
36
|
+
if (r && !(r instanceof Error) && o(
|
|
37
|
+
(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)."
|
|
38
|
+
), r instanceof Error && !(r.message in t)) {
|
|
39
|
+
t[r.message] = !0;
|
|
40
|
+
var p = c ? c() : "";
|
|
41
|
+
o(
|
|
42
|
+
"Failed " + i + " type: " + r.message + (p ?? "")
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return u.resetWarningCache = function() {
|
|
49
|
+
process.env.NODE_ENV !== "production" && (t = {});
|
|
50
|
+
}, f = u, f;
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
P as __require
|
|
54
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./lib/ReactPropTypesSecret.cjs.js");var n,p;function y(){if(p)return n;p=1;var c=u.__require();function o(){}function i(){}return i.resetWarningCache=o,n=function(){function e(h,m,f,l,T,s){if(s!==c){var a=new Error("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");throw a.name="Invariant Violation",a}}e.isRequired=e;function r(){return e}var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:i,resetWarningCache:o};return t.PropTypes=t,t},n}exports.__require=y;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { __require as u } from "./lib/ReactPropTypesSecret.es.js";
|
|
2
|
+
var o, p;
|
|
3
|
+
function g() {
|
|
4
|
+
if (p) return o;
|
|
5
|
+
p = 1;
|
|
6
|
+
var c = /* @__PURE__ */ u();
|
|
7
|
+
function n() {
|
|
8
|
+
}
|
|
9
|
+
function i() {
|
|
10
|
+
}
|
|
11
|
+
return i.resetWarningCache = n, o = function() {
|
|
12
|
+
function e(h, y, m, f, l, s) {
|
|
13
|
+
if (s !== c) {
|
|
14
|
+
var a = new Error(
|
|
15
|
+
"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"
|
|
16
|
+
);
|
|
17
|
+
throw a.name = "Invariant Violation", a;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
e.isRequired = e;
|
|
21
|
+
function r() {
|
|
22
|
+
return e;
|
|
23
|
+
}
|
|
24
|
+
var t = {
|
|
25
|
+
array: e,
|
|
26
|
+
bigint: e,
|
|
27
|
+
bool: e,
|
|
28
|
+
func: e,
|
|
29
|
+
number: e,
|
|
30
|
+
object: e,
|
|
31
|
+
string: e,
|
|
32
|
+
symbol: e,
|
|
33
|
+
any: e,
|
|
34
|
+
arrayOf: r,
|
|
35
|
+
element: e,
|
|
36
|
+
elementType: e,
|
|
37
|
+
instanceOf: r,
|
|
38
|
+
node: e,
|
|
39
|
+
objectOf: r,
|
|
40
|
+
oneOf: r,
|
|
41
|
+
oneOfType: r,
|
|
42
|
+
shape: r,
|
|
43
|
+
exact: r,
|
|
44
|
+
checkPropTypes: i,
|
|
45
|
+
resetWarningCache: n
|
|
46
|
+
};
|
|
47
|
+
return t.PropTypes = t, t;
|
|
48
|
+
}, o;
|
|
49
|
+
}
|
|
50
|
+
export {
|
|
51
|
+
g as __require
|
|
52
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const F=require("./node_modules/react-is/index.cjs.js"),N=require("../object-assign/index.cjs.js"),ee=require("./lib/ReactPropTypesSecret.cjs.js"),re=require("./lib/has.cjs.js"),ne=require("./checkPropTypes.cjs.js");var A,C;function te(){if(C)return A;C=1;var k=F.__require(),W=N.__require(),h=ee.__require(),I=re.__require(),q=ne.__require(),T=function(){};process.env.NODE_ENV!=="production"&&(T=function(x){var S="Warning: "+x;typeof console<"u"&&console.error(S);try{throw new Error(S)}catch{}});function E(){return null}return A=function(x,S){var P=typeof Symbol=="function"&&Symbol.iterator,D="@@iterator";function M(e){var r=e&&(P&&e[P]||e[D]);if(typeof r=="function")return r}var _="<<anonymous>>",w={array:p("array"),bigint:p("bigint"),bool:p("boolean"),func:p("function"),number:p("number"),object:p("object"),string:p("string"),symbol:p("symbol"),any:U(),arrayOf:$,element:B(),elementType:J(),instanceOf:z,node:H(),objectOf:X,oneOf:L,oneOfType:G,shape:K,exact:Q};function Y(e,r){return e===r?e!==0||1/e===1/r:e!==e&&r!==r}function d(e,r){this.message=e,this.data=r&&typeof r=="object"?r:{},this.stack=""}d.prototype=Error.prototype;function v(e){if(process.env.NODE_ENV!=="production")var r={},u=0;function i(f,t,a,o,s,c,y){if(o=o||_,c=c||a,y!==h){if(S){var l=new Error("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");throw l.name="Invariant Violation",l}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var b=o+":"+a;!r[b]&&u<3&&(T("You are manually calling a React.PropTypes validation function for the `"+c+"` 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."),r[b]=!0,u++)}}return t[a]==null?f?t[a]===null?new d("The "+s+" `"+c+"` is marked as required "+("in `"+o+"`, but its value is `null`.")):new d("The "+s+" `"+c+"` is marked as required in "+("`"+o+"`, but its value is `undefined`.")):null:e(t,a,o,s,c)}var n=i.bind(null,!1);return n.isRequired=i.bind(null,!0),n}function p(e){function r(u,i,n,f,t,a){var o=u[i],s=g(o);if(s!==e){var c=O(o);return new d("Invalid "+f+" `"+t+"` of type "+("`"+c+"` supplied to `"+n+"`, expected ")+("`"+e+"`."),{expectedType:e})}return null}return v(r)}function U(){return v(E)}function $(e){function r(u,i,n,f,t){if(typeof e!="function")return new d("Property `"+t+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var a=u[i];if(!Array.isArray(a)){var o=g(a);return new d("Invalid "+f+" `"+t+"` of type "+("`"+o+"` supplied to `"+n+"`, expected an array."))}for(var s=0;s<a.length;s++){var c=e(a,s,n,f,t+"["+s+"]",h);if(c instanceof Error)return c}return null}return v(r)}function B(){function e(r,u,i,n,f){var t=r[u];if(!x(t)){var a=g(t);return new d("Invalid "+n+" `"+f+"` of type "+("`"+a+"` supplied to `"+i+"`, expected a single ReactElement."))}return null}return v(e)}function J(){function e(r,u,i,n,f){var t=r[u];if(!k.isValidElementType(t)){var a=g(t);return new d("Invalid "+n+" `"+f+"` of type "+("`"+a+"` supplied to `"+i+"`, expected a single ReactElement type."))}return null}return v(e)}function z(e){function r(u,i,n,f,t){if(!(u[i]instanceof e)){var a=e.name||_,o=V(u[i]);return new d("Invalid "+f+" `"+t+"` of type "+("`"+o+"` supplied to `"+n+"`, expected ")+("instance of `"+a+"`."))}return null}return v(r)}function L(e){if(!Array.isArray(e))return process.env.NODE_ENV!=="production"&&(arguments.length>1?T("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])."):T("Invalid argument supplied to oneOf, expected an array.")),E;function r(u,i,n,f,t){for(var a=u[i],o=0;o<e.length;o++)if(Y(a,e[o]))return null;var s=JSON.stringify(e,function(y,l){var b=O(l);return b==="symbol"?String(l):l});return new d("Invalid "+f+" `"+t+"` of value `"+String(a)+"` "+("supplied to `"+n+"`, expected one of "+s+"."))}return v(r)}function X(e){function r(u,i,n,f,t){if(typeof e!="function")return new d("Property `"+t+"` of component `"+n+"` has invalid PropType notation inside objectOf.");var a=u[i],o=g(a);if(o!=="object")return new d("Invalid "+f+" `"+t+"` of type "+("`"+o+"` supplied to `"+n+"`, expected an object."));for(var s in a)if(I(a,s)){var c=e(a,s,n,f,t+"."+s,h);if(c instanceof Error)return c}return null}return v(r)}function G(e){if(!Array.isArray(e))return process.env.NODE_ENV!=="production"&&T("Invalid argument supplied to oneOfType, expected an instance of array."),E;for(var r=0;r<e.length;r++){var u=e[r];if(typeof u!="function")return T("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+m(u)+" at index "+r+"."),E}function i(n,f,t,a,o){for(var s=[],c=0;c<e.length;c++){var y=e[c],l=y(n,f,t,a,o,h);if(l==null)return null;l.data&&I(l.data,"expectedType")&&s.push(l.data.expectedType)}var b=s.length>0?", expected one of type ["+s.join(", ")+"]":"";return new d("Invalid "+a+" `"+o+"` supplied to "+("`"+t+"`"+b+"."))}return v(i)}function H(){function e(r,u,i,n,f){return j(r[u])?null:new d("Invalid "+n+" `"+f+"` supplied to "+("`"+i+"`, expected a ReactNode."))}return v(e)}function R(e,r,u,i,n){return new d((e||"React class")+": "+r+" type `"+u+"."+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+n+"`.")}function K(e){function r(u,i,n,f,t){var a=u[i],o=g(a);if(o!=="object")return new d("Invalid "+f+" `"+t+"` of type `"+o+"` "+("supplied to `"+n+"`, expected `object`."));for(var s in e){var c=e[s];if(typeof c!="function")return R(n,f,t,s,O(c));var y=c(a,s,n,f,t+"."+s,h);if(y)return y}return null}return v(r)}function Q(e){function r(u,i,n,f,t){var a=u[i],o=g(a);if(o!=="object")return new d("Invalid "+f+" `"+t+"` of type `"+o+"` "+("supplied to `"+n+"`, expected `object`."));var s=W({},u[i],e);for(var c in s){var y=e[c];if(I(e,c)&&typeof y!="function")return R(n,f,t,c,O(y));if(!y)return new d("Invalid "+f+" `"+t+"` key `"+c+"` supplied to `"+n+"`.\nBad object: "+JSON.stringify(u[i],null," ")+`
|
|
2
|
+
Valid keys: `+JSON.stringify(Object.keys(e),null," "));var l=y(a,c,n,f,t+"."+c,h);if(l)return l}return null}return v(r)}function j(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(j);if(e===null||x(e))return!0;var r=M(e);if(r){var u=r.call(e),i;if(r!==e.entries){for(;!(i=u.next()).done;)if(!j(i.value))return!1}else for(;!(i=u.next()).done;){var n=i.value;if(n&&!j(n[1]))return!1}}else return!1;return!0;default:return!1}}function Z(e,r){return e==="symbol"?!0:r?r["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&r instanceof Symbol:!1}function g(e){var r=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":Z(r,e)?"symbol":r}function O(e){if(typeof e>"u"||e===null)return""+e;var r=g(e);if(r==="object"){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return r}function m(e){var r=O(e);switch(r){case"array":case"object":return"an "+r;case"boolean":case"date":case"regexp":return"a "+r;default:return r}}function V(e){return!e.constructor||!e.constructor.name?_:e.constructor.name}return w.checkPropTypes=q,w.resetWarningCache=q.resetWarningCache,w.PropTypes=w,w},A}exports.__require=te;
|