").append(t).html()
- },
- _getDialogClasses: (e = "small") => ({
- box: "",
- form: "",
- prompt: `dialog aui-layer aui-dialog2 aui-dialog2-${e}`,
- close: "aui-hide",
- fade: "aui-blanket",
- button: "button-control",
- message: "aui-dialog2-content",
- buttons: "aui-dialog2-footer",
- defaultButton: "button-control_primary",
- title: "aui-dialog2-header"
- }),
- openCenteredPopup(e, t, n, a) {
- const r = window.screenX + window.innerWidth / 2 - t / 2,
- i = window.screenY + window.innerHeight / 2 - n / 2,
- o = window.open(e, "_blank", String(`top=${i}, left=${r}, width=${t}, height=${n}`));
- if (o && a) {
- const e = window.setInterval((() => {
- !1 !== o.closed && (window.clearInterval(e), a())
- }), 200)
- }
- return o
- },
- showError(e) {
- APP.store.dispatch(Wf(e))
- },
- showWarning(e) {
- APP.store.dispatch(Gf(e))
- },
- participantNotification(e, t, n, a, r, i = 2500) {
- APP.store.dispatch(Yf({
- descriptionArguments: r,
- descriptionKey: a,
- titleKey: t,
- title: e
- }, i))
- }
- },
- bee = gee,
- yee = {},
- vee = We().getLogger("modules/UI/UI.js");
- yee.messageHandler = bee;
- const kee = new(o());
- let _ee;
- yee.eventEmitter = kee;
- const wee = new Map([
- [sQ.ETHERPAD_CLICKED, () => _ee && _ee.toggleEtherpad()],
- [sQ.TOGGLE_FILMSTRIP, () => yee.toggleFilmstrip()]
- ]);
- yee.isFullScreen = function() {
- return zz.isFullScreen()
- }, yee.notifyGracefulShutdown = function() {
- bee.showError({
- descriptionKey: "dialog.gracefulShutdown",
- titleKey: "dialog.serviceUnavailable"
- })
- }, yee.notifyReservationError = function(e, t) {
- bee.showError({
- descriptionArguments: {
- code: e,
- msg: t
- },
- descriptionKey: "dialog.reservationErrorMsg",
- titleKey: "dialog.reservationError"
- })
- }, yee.initConference = function() {
- yee.showToolbar()
- }, yee.start = function() {
- if (O3.initLargeVideo(), O3.resizeVideoArea(), Sa()) $("body").addClass("mobile-browser");
- else if ($("body").addClass("desktop-browser"), void 0 !== config.backgroundAlpha) {
- const e = zt($("body").css("background-color"), config.backgroundAlpha);
- $("body").css("background-color", e)
- }
- config.iAmRecorder && (config.iAmSipGateway || APP.store.dispatch({
- type: If,
- enabled: !1
- }), APP.store.dispatch(NV(!1)))
- }, yee.registerListeners = () => wee.forEach(((e, t) => yee.addListener(t, e))), yee.bindEvents = () => {
- function e() {
- O3.onResize()
- }
- $(document).on("webkitfullscreenchange mozfullscreenchange fullscreenchange", e), $(window).resize(e)
- }, yee.unbindEvents = () => {
- $(document).off("webkitfullscreenchange mozfullscreenchange fullscreenchange"), $(window).off("resize")
- }, yee.initEtherpad = e => {
- if (_ee || !config.etherpad_base || !e) return;
- vee.log("Etherpad is enabled"), _ee = new fee(kee);
- const t = new URL(e, config.etherpad_base);
- APP.store.dispatch(u6(t.toString())), config.openSharedDocumentOnJoin && _ee.toggleEtherpad()
- }, yee.getSharedDocumentManager = () => _ee, yee.addUser = function(e) {
- const t = e.getStatus();
- t && yee.updateUserStatus(e, t)
- }, yee.updateUserStatus = (e, t) => {
- const n = APP.store.getState() || {},
- {
- calleeInfoVisible: a
- } = n["features/invite"] || {};
- if (!t || a || Pv()) return;
- const r = e.getDisplayName();
- bee.participantNotification(r, "", "connected", "dialOut.statusMessage", {
- status: zz.escapeHtml(t)
- })
- }, yee.toggleFilmstrip = function() {
- const {
- visible: e
- } = APP.store.getState()["features/filmstrip"];
- APP.store.dispatch(UJ(!e))
- }, yee.setAudioMuted = function(e) {
- APP.conference.isLocalId(e) && APP.conference.updateAudioIconEnabled()
- }, yee.setVideoMuted = function(e) {
- O3._updateLargeVideoIfDisplayed(e, !0), APP.conference.isLocalId(e) && APP.conference.updateVideoIconEnabled()
- }, yee.updateLargeVideo = (e, t) => O3.updateLargeVideo(e, t), yee.addListener = function(e, t) {
- kee.on(e, t)
- }, yee.removeAllListeners = function() {
- kee.removeAllListeners()
- }, yee.emitEvent = (e, ...t) => kee.emit(e, ...t), yee.showToolbar = e => APP.store.dispatch(BV(e)), yee.dockToolbar = e => APP.store.dispatch(FV(e)), yee.refreshAvatarDisplay = function(e) {
- O3.changeUserAvatar(e)
- }, yee.notifyConnectionFailed = function(e) {
- let t, n;
- e ? (t = "dialog.connectErrorWithMsg", n = {
- msg: e
- }) : t = "dialog.connectError", bee.showError({
- descriptionArguments: n,
- descriptionKey: t,
- titleKey: "connection.CONNFAIL"
- })
- }, yee.notifyMaxUsersLimitReached = function() {
- bee.showError({
- hideErrorSupportLink: !0,
- descriptionKey: "dialog.maxUsersLimitReached",
- titleKey: "dialog.maxUsersLimitReachedTitle"
- })
- }, yee.notifyInitiallyMuted = function() {
- bee.participantNotification(null, "notify.mutedTitle", "connected", "notify.muted", null)
- }, yee.handleLastNEndpoints = function(e, t) {
- O3.onLastNEndpointsChanged(e, t)
- }, yee.setAudioLevel = (e, t) => O3.setAudioLevel(e, t), yee.notifyTokenAuthFailed = function() {
- bee.showError({
- descriptionKey: "dialog.tokenAuthFailed",
- titleKey: "dialog.tokenAuthFailedTitle"
- })
- }, yee.notifyFocusDisconnected = function(e, t) {
- bee.participantNotification(null, "notify.focus", "disconnected", "notify.focusFail", {
- component: e,
- ms: t
- })
- }, yee.onAvailableDevicesChanged = function() {
- APP.conference.updateAudioIconEnabled(), APP.conference.updateVideoIconEnabled()
- }, yee.getLargeVideoID = function() {
- return O3.getLargeVideoID()
- }, yee.getLargeVideo = function() {
- return O3.getLargeVideo()
- };
- const See = yee;
- var Eee = n(7795),
- xee = n.n(Eee);
-
- function Cee() {
- const e = document.documentElement || {};
- $("[data-i18n]").localize(), e.lang = Ni.language
- }
- const Aee = new class {
- constructor() {
- xee().init(Ni, $, {
- useOptionsAttr: !0
- }), Ni.isInitialized ? Cee() : Ni.on("initialized", Cee), Ni.on("languageChanged", Cee)
- }
- generateTranslationHTML(e, t) {
- return `
${Ni.t(e,t||void 0)}`
- }
- translateElement(e, t) {
- e.localize(t || void 0)
- }
- };
-
- function jee() {
- var e = Jf(["\n background-color: ", ";\n color: ", ";\n\n a {\n color: ", ";\n }\n a:hover {\n color: ", ";\n }\n a:active {\n color: ", ";\n }\n a:focus {\n outline-color: ", ";\n }\n h1 {\n color: ", ";\n }\n h2 {\n color: ", ";\n }\n h3 {\n color: ", ";\n }\n h4 {\n color: ", ";\n }\n h5 {\n color: ", ";\n }\n h6 {\n color: ", ";\n }\n small {\n color: ", ";\n }\n"]);
- return jee = function() {
- return e
- }, e
- }
-
- function Pee(e) {
- return "\n body { background: ".concat(e, "; }\n ")
- }
-
- function Dee(e) {
- return {
- theme: Zf({}, Hg, {
- mode: e
- })
- }
- }
- var Tee = Ug.default.div(jee(), (function(e) {
- return e.background
- }), mb.text, mb.link, mb.linkHover, mb.linkActive, mb.linkOutline, mb.heading, mb.heading, mb.heading, mb.heading, mb.heading, mb.subtleHeading, mb.subtleText),
- Oee = function(e) {
- tb(r, e);
- var t, n, a = (t = r, n = function() {
- if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
- if (Reflect.construct.sham) return !1;
- if ("function" == typeof Proxy) return !0;
- try {
- return Date.prototype.toString.call(Reflect.construct(Date, [], (function() {}))), !0
- } catch (e) {
- return !1
- }
- }(), function() {
- var e, a = Xg(t);
- if (n) {
- var r = Xg(this).constructor;
- e = Reflect.construct(a, arguments, r)
- } else e = a.apply(this, arguments);
- return ab(this, e)
- });
-
- function r(e) {
- var t;
- return Jg(this, r), Zf(_(t = a.call(this, e)), "getThemeMode", (function() {
- return {
- mode: t.state.theme[Hg].mode
- }
- })), t.state = Dee(e.mode), t
- }
- return Qg(r, [{
- key: "getChildContext",
- value: function() {
- return {
- hasAtlaskitThemeProvider: !0
- }
- }
- }, {
- key: "UNSAFE_componentWillMount",
- value: function() {
- if (!this.context.hasAtlaskitThemeProvider && Zy().canUseDOM) {
- var e = Pee(this.props.background(this.state));
- this.stylesheet = document.createElement("style"), this.stylesheet.type = "text/css", this.stylesheet.innerHTML = e, document && document.head && document.head.appendChild(this.stylesheet)
- }
- }
- }, {
- key: "UNSAFE_componentWillReceiveProps",
- value: function(e) {
- if (e.mode !== this.props.mode) {
- var t = Dee(e.mode);
- if (this.stylesheet) {
- var n = Pee(e.background(t));
- this.stylesheet.innerHTML = n
- }
- this.setState(t)
- }
- }
- }, {
- key: "componentWillUnmount",
- value: function() {
- this.stylesheet && document && document.head && (document.head.removeChild(this.stylesheet), delete this.stylesheet)
- }
- }, {
- key: "render",
- value: function() {
- var e = this.props.children,
- t = this.state.theme;
- return x().createElement(Bg.Provider, {
- value: this.getThemeMode
- }, x().createElement(Ug.ThemeProvider, {
- theme: t
- }, x().createElement(Tee, {
- background: this.props.background
- }, e)))
- }
- }]), r
- }(E.Component);
- Zf(Oee, "defaultProps", {
- mode: "light",
- background: mb.background
- }), Zf(Oee, "childContextTypes", {
- hasAtlaskitThemeProvider: AS().bool
- }), Zf(Oee, "contextTypes", {
- hasAtlaskitThemeProvider: AS().bool
- });
- var Mee = Oee;
- const Iee = function(e) {
- var t = e.children,
- n = e.theme,
- a = xq(),
- r = x().useMemo((function() {
- var e = null === a ? n : function(e, t) {
- return "function" == typeof t ? t(e) : z({}, e, t)
- }(a, n);
- return null != e && (e[Cq] = null !== a), e
- }), [n, a]);
- return x().createElement(Eq.Provider, {
- value: r
- }, t)
- },
- Nee = {
- weightRegular: "400",
- weightSemiBold: "600"
- };
-
- function zee(e, t) {
- return Object.entries(e).reduce(((e, [n, a]) => Object.assign(e, {
- [n]: t[a] || a
- })), {})
- }
-
- function Ree(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Lee(e, t, n[t])
- }))
- }
- return e
- }
-
- function Lee(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
- }
- const Fee = function({
- font: e,
- colors: t,
- colorMap: n,
- shape: a,
- spacing: r,
- typography: i
- }) {
- return mH({
- props: {
- MuiButtonBase: {
- disableRipple: !0
- }
- },
- spacing: r
- }, {
- palette: zee(n, t),
- shape: a,
- typography: Ree({
- font: e
- }, i)
- })
- }({
- font: Nee,
- colors: {
- error03: "#7A141F",
- error04: "#A21B29",
- error05: "#CB2233",
- error06: "#E04757",
- error08: "#EAA7AD",
- primary01: "#00112D",
- primary02: "#00225A",
- primary03: "#003486",
- primary04: "#0045B3",
- primary05: "#0056E0",
- primary06: "#246FE5",
- primary07: "#669AEC",
- primary08: "#99BBF3",
- primary09: "#CCDDF9",
- surface00: "#111111",
- surface01: "#040404",
- surface02: "#141414",
- surface03: "#292929",
- surface04: "#3D3D3D",
- surface05: "#525252",
- surface06: "#666",
- surface07: "#858585",
- surface08: "#A3A3A3",
- surface09: "#C2C2C2",
- surface10: "#E0E0E0",
- surface11: "#FFF",
- surface12: "#AAAAAA",
- success04: "#189B55",
- success05: "#1EC26A",
- warning05: "#F8AE1A",
- warning06: "#ED9E1B"
- },
- colorMap: {
- uiBackground: "surface01",
- ui01: "surface02",
- ui02: "surface03",
- ui03: "surface04",
- ui04: "surface05",
- ui05: "surface06",
- action01: "primary05",
- action01Hover: "primary06",
- action01Active: "primary04",
- action01Focus: "primary08",
- action01Disabled: "primary02",
- action02: "surface04",
- action02Hover: "surface05",
- action02Active: "surface03",
- action02Focus: "surface07",
- action02Disabled: "surface02",
- action03: "transparent",
- action03Hover: "surface05",
- action03Active: "surface03",
- action03Focus: "surface07",
- action03Disabled: "transparent",
- actionDanger: "error05",
- actionDangerHover: "error06",
- actionDangerActive: "error04",
- actionDangerFocus: "error08",
- actionDangerDisabled: "error03",
- bottomSheet: "surface00",
- text01: "surface11",
- text02: "surface09",
- text03: "surface07",
- text04: "surface12",
- textError: "error06",
- icon01: "surface11",
- icon02: "surface09",
- icon03: "surface07",
- iconError: "error06",
- field01: "surface01",
- field01Hover: "surface03",
- field01Focus: "primary05",
- field01Disabled: "surface05",
- field02: "surface11",
- dividerColor: "surface12",
- field02Hover: "primary09",
- field02Focus: "primary05",
- field02Disabled: "surface06",
- section01: "surface10",
- section01Active: "primary04",
- section01Inactive: "surface01",
- border01: "surface08",
- border02: "surface06",
- border03: "surface04",
- borderError: "error06",
- link01: "primary07",
- link01Hover: "primary08",
- link01Active: "primary06",
- success01: "success05",
- success02: "success05",
- warning01: "warning05",
- warning02: "warning06"
- },
- spacing: [0, 4, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80],
- shape: {
- borderRadius: 6,
- boxShadow: "inset 0px -1px 0px rgba(255, 255, 255, 0.15)"
- },
- typography: {
- labelRegular: {
- fontSize: 12,
- lineHeight: 16,
- fontWeight: Nee.weightRegular,
- letterSpacing: .16
- },
- labelBold: {
- fontSize: 12,
- lineHeight: 16,
- fontWeight: Nee.weightSemiBold,
- letterSpacing: .16
- },
- labelButton: {
- fontSize: 14,
- lineHeight: 24,
- fontWeight: Nee.weightSemiBold,
- letterSpacing: 0
- },
- labelButtonLarge: {
- fontSize: 16,
- lineHeight: 24,
- fontWeight: Nee.weightSemiBold,
- letterSpacing: 0
- },
- bodyShortRegular: {
- fontSize: 14,
- lineHeight: 18,
- fontWeight: Nee.weightRegular,
- letterSpacing: 0
- },
- bodyShortBold: {
- fontSize: 14,
- lineHeight: 18,
- fontWeight: Nee.weightSemiBold,
- letterSpacing: 0
- },
- bodyShortRegularLarge: {
- fontSize: 16,
- lineHeight: 24,
- fontWeight: Nee.weightRegular,
- letterSpacing: 0
- },
- bodyShortBoldLarge: {
- fontSize: 16,
- lineHeight: 24,
- fontWeight: Nee.weightSemiBold,
- letterSpacing: 0
- },
- bodyLongRegular: {
- fontSize: 14,
- lineHeight: 24,
- fontWeight: Nee.weightRegular,
- letterSpacing: 0
- },
- bodyLongBold: {
- fontSize: 14,
- lineHeight: 24,
- fontWeight: Nee.weightSemiBold,
- letterSpacing: 0
- },
- heading1: {
- fontSize: 54,
- lineHeight: 64,
- fontWeight: Nee.weightSemiBold,
- letterSpacing: 0
- },
- heading2: {
- fontSize: 42,
- lineHeight: 50,
- fontWeight: Nee.weightSemiBold,
- letterSpacing: 0
- },
- heading3: {
- fontSize: 32,
- lineHeight: 40,
- fontWeight: Nee.weightSemiBold,
- letterSpacing: 0
- },
- heading4: {
- fontSize: 28,
- lineHeight: 36,
- fontWeight: Nee.weightSemiBold,
- letterSpacing: 0
- },
- heading5: {
- fontSize: 20,
- lineHeight: 28,
- fontWeight: Nee.weightSemiBold,
- letterSpacing: 0
- },
- heading6: {
- fontSize: 16,
- lineHeight: 26,
- fontWeight: Nee.weightSemiBold,
- letterSpacing: 0
- },
- heading7: {
- fontSize: 14,
- lineHeight: 24,
- fontWeight: Nee.weightSemiBold,
- letterSpacing: 0
- }
- }
- });
-
- function qee(e) {
- return E.createElement(Iee, {
- theme: Fee
- }, e.children)
- }
- const Bee = Je("features/chrome-banner"),
- Uee = {},
- Hee = "hide_chrome_extension_banner";
- class Vee extends E.PureComponent {
- constructor(e) {
- super(e), this.state = {
- dontShowAgainChecked: !1,
- closePressed: !1,
- shouldShow: !1
- }, this._onClosePressed = this._onClosePressed.bind(this), this._onInstallExtensionClick = this._onInstallExtensionClick.bind(this), this._shouldNotRender = this._shouldNotRender.bind(this), this._onDontShowAgainChange = this._onDontShowAgainChange.bind(this), this._onCloseKeyPress = this._onCloseKeyPress.bind(this), this._onInstallExtensionKeyPress = this._onInstallExtensionKeyPress.bind(this)
- }
- async componentDidUpdate(e) {
- if (!this._isSupportedEnvironment()) return;
- const {
- bannerCfg: t
- } = this.props, n = e.bannerCfg;
- t.url && !n.url && Bee.info("Chrome extension URL found."), (t.chromeExtensionsInfo || []).length && !(n.chromeExtensionsInfo || []).length && Bee.info("Chrome extension(s) info found.");
- const a = await xa(this.props.bannerCfg);
- a && a.length && a.every((e => !e)) && !this.state.shouldShow && this.setState({
- shouldShow: !0
- })
- }
- _isSupportedEnvironment() {
- return interfaceConfig.SHOW_CHROME_EXTENSION_BANNER && ft.isChrome() && !ft.isTwa() && !Sa() && !this.props.isVpaas
- }
- _onClosePressed() {
- Ma(Qt(!1)), this.setState({
- closePressed: !0
- })
- }
- _onCloseKeyPress(e) {
- " " !== e.key && "Enter" !== e.key || (e.preventDefault(), this._onClosePressed())
- }
- _onInstallExtensionClick() {
- Ma(Qt(!0)), window.open(this.props.bannerCfg.url), this.setState({
- closePressed: !0
- })
- }
- _onInstallExtensionKeyPress(e) {
- " " !== e.key && "Enter" !== e.key || (e.preventDefault(), this._onClosePressed())
- }
- _shouldNotRender() {
- if (!this._isSupportedEnvironment()) return !0;
- const e = "true" === l.getItem(Hee);
- return !this.props.bannerCfg.url || e || this.state.closePressed || !this.state.shouldShow || this.props.iAmRecorder
- }
- _onDontShowAgainChange(e) {
- this.setState({
- dontShowAgainChecked: e.target.checked
- })
- }
- render() {
- if (this._shouldNotRender()) return this.state.dontShowAgainChecked && l.setItem(Hee, "true"), null;
- const {
- t: e
- } = this.props, t = this.props.conference ? "chrome-extension-banner chrome-extension-banner__pos_in_meeting" : "chrome-extension-banner";
- return x().createElement("div", {
- className: t
- }, x().createElement("div", {
- "aria-aria-describedby": "chrome-extension-banner__text-container",
- className: "chrome-extension-banner__container",
- role: "banner"
- }, x().createElement("div", {
- className: "chrome-extension-banner__icon-container"
- }), x().createElement("div", {
- className: "chrome-extension-banner__text-container",
- id: "chrome-extension-banner__text-container"
- }, e("chromeExtensionBanner.installExtensionText")), x().createElement("div", {
- "aria-label": e("chromeExtensionBanner.close"),
- className: "chrome-extension-banner__close-container",
- onClick: this._onClosePressed,
- onKeyPress: this._onCloseKeyPress,
- role: "button",
- tabIndex: 0
- }, x().createElement(qs, {
- className: "gray",
- size: 12,
- src: Ul
- }))), x().createElement("div", {
- className: "chrome-extension-banner__button-container"
- }, x().createElement("div", {
- "aria-labelledby": "chrome-extension-banner__button-text",
- className: "chrome-extension-banner__button-open-url",
- onClick: this._onInstallExtensionClick,
- onKeyPress: this._onInstallExtensionKeyPress,
- role: "button",
- tabIndex: 0
- }, x().createElement("div", {
- className: "chrome-extension-banner__button-text",
- id: "chrome-extension-banner__button-text"
- }, e("chromeExtensionBanner.buttonText")))), x().createElement("div", {
- className: "chrome-extension-banner__checkbox-container"
- }, x().createElement("label", {
- className: "chrome-extension-banner__checkbox-label",
- htmlFor: "chrome-extension-banner__checkbox",
- id: "chrome-extension-banner__checkbox-label"
- }, x().createElement("input", {
- "aria-labelledby": "chrome-extension-banner__checkbox-label",
- checked: this.state.dontShowAgainChecked,
- id: "chrome-extension-banner__checkbox",
- onChange: this._onDontShowAgainChange,
- type: "checkbox"
- }), " ", e("chromeExtensionBanner.dontShowAgain"))))
- }
- }
- const Wee = Li(ze((e => ({
- bannerCfg: e["features/base/config"].chromeExtensionBanner || Uee,
- conference: yI(e),
- iAmRecorder: e["features/base/config"].iAmRecorder,
- isVpaas: Rj(e)
- })))(Vee));
- class Yee extends Pf {
- componentDidMount() {
- super.componentDidMount(), this._init.then((() => {
- this._openURL(In(this.props.url) || this._getDefaultURL())
- }))
- }
- componentDidUpdate(e) {
- const t = In(e.url),
- n = In(this.props.url),
- a = e.timestamp,
- r = this.props.timestamp;
- this._init.then((() => {
- t === n && a === r || this._openURL(n || this._getDefaultURL())
- }))
- }
- _createExtraElement() {
- return x().createElement(E.Fragment, null, x().createElement(YN, null))
- }
- _getDefaultURL() {
- return ga(this.state.store)
- }
- _openURL(e) {
- this.state.store.dispatch(KN(In(e)))
- }
- }
-
- function Gee({
- getState: e
- }) {
- const {
- waitForOwnerTimeoutID: t
- } = e()["features/authentication"];
- t && clearTimeout(t)
- }
-
- function Kee({
- getState: e
- }) {
- return e()["features/authentication"].waitForOwnerTimeoutID
- }
- Be.register((e => t => n => {
- switch (n.type) {
- case ez:
- if (!iP(e, oz)) {
- if (Kee(e)) return e.dispatch(Sz()), t(n);
- e.dispatch(xz()), e.dispatch(XN())
- }
- break;
- case BI: {
- const {
- error: t
- } = n;
- let a;
- t.name === gt.AUTHENTICATION_REQUIRED && (void 0 === t.recoverable && (t.recoverable = !0), a = t.recoverable), a ? e.dispatch((e => e({
- type: rz,
- handler: () => e(((e, t) => {
- const {
- authRequired: n,
- password: a
- } = t()["features/base/conference"], r = Zn(APP.store.getState());
- n && e(dN(n)), n && n.join(a, r)
- })),
- timeoutMs: 5e3
- }))) : e.dispatch(Ez());
- break
- }
- case UI:
- Kee(e) && e.dispatch(Ez()), e.dispatch(xz());
- break;
- case HI:
- e.dispatch(Ez());
- break;
- case AI:
- e.dispatch(xz());
- break;
- case tz:
- Gee(e), e.dispatch(oP(oz));
- break;
- case rz: {
- Gee(e);
- const {
- handler: t,
- timeoutMs: a
- } = n;
- n.waitForOwnerTimeoutID = setTimeout(t, a), iP(e, vz) || e.dispatch(Sz());
- break
- }
- }
- return t(n)
- }));
- const $ee = {
- microphone: {
- [Ct.CONSTRAINT_FAILED]: "dialog.micConstraintFailedError",
- [Ct.GENERAL]: "dialog.micUnknownError",
- [Ct.NOT_FOUND]: "dialog.micNotFoundError",
- [Ct.PERMISSION_DENIED]: "dialog.micPermissionDeniedError",
- [Ct.TIMEOUT]: "dialog.micTimeoutError"
- },
- camera: {
- [Ct.CONSTRAINT_FAILED]: "dialog.cameraConstraintFailedError",
- [Ct.GENERAL]: "dialog.cameraUnknownError",
- [Ct.NOT_FOUND]: "dialog.cameraNotFoundError",
- [Ct.PERMISSION_DENIED]: "dialog.cameraPermissionDeniedError",
- [Ct.UNSUPPORTED_RESOLUTION]: "dialog.cameraUnsupportedResolutionError",
- [Ct.TIMEOUT]: "dialog.cameraTimeoutError"
- }
- };
- let Jee;
-
- function Zee({
- dispatch: e
- }, t) {
- return t.forEach((t => {
- switch (t.kind) {
- case "videoinput":
- e(bn({
- userSelectedCameraDeviceId: t.deviceId,
- userSelectedCameraDeviceLabel: t.label
- })), e(QM(t.deviceId));
- break;
- case "audioinput":
- e(bn({
- userSelectedMicDeviceId: t.deviceId,
- userSelectedMicDeviceLabel: t.label
- })), e($M(t.deviceId));
- break;
- case "audiooutput":
- HM(t.deviceId, e, !0, t.label).then((() => DM.log("changed audio output device"))).catch((e => {
- DM.warn("Failed to change audio output device.", "Default or previously set audio output device will", " be used instead.", e)
- }))
- }
- })), !0
- }
- Be.register((e => t => n => {
- switch (n.type) {
- case Ya: {
- const t = t => {
- e.dispatch(function(e) {
- return {
- type: PM,
- permissions: e
- }
- }(t))
- },
- {
- mediaDevices: n
- } = c.default;
- Jee = t, n.addEventListener(wt.PERMISSIONS_CHANGED, Jee), Promise.all([n.isDevicePermissionGranted("audio"), n.isDevicePermissionGranted("video")]).then((e => {
- t({
- audio: e[0],
- video: e[1]
- })
- })).catch((() => {}));
- break
- }
- case Ga:
- "function" == typeof Jee && (c.default.mediaDevices.removeEventListener(wt.PERMISSIONS_CHANGED, Jee), Jee = void 0);
- break;
- case _M: {
- if ("object" != typeof APP || !n.error) break;
- const {
- message: t,
- name: a
- } = n.error, r = $ee.camera[a], i = r || $ee.camera[Ct.GENERAL], o = r ? null : t, s = a === Ct.PERMISSION_DENIED ? "deviceError.cameraPermission" : "deviceError.cameraError";
- e.dispatch(Gf({
- description: o,
- descriptionKey: i,
- titleKey: s
- }, 4e3)), iL(e.getState()) && e.dispatch(fL(s));
- break
- }
- case wM: {
- if ("object" != typeof APP || !n.error) break;
- const {
- message: t,
- name: a
- } = n.error, r = $ee.microphone[a], i = r || $ee.microphone[Ct.GENERAL], o = r ? null : t, s = a === Ct.PERMISSION_DENIED ? "deviceError.microphonePermission" : "deviceError.microphoneError";
- e.dispatch(Gf({
- description: o,
- descriptionKey: i,
- titleKey: s
- }, 4e3)), iL(e.getState()) && e.dispatch(fL(s));
- break
- }
- case SM:
- iL(e.getState()) ? e.dispatch((a = n.deviceId, async (e, t) => {
- try {
- var n;
- const r = t()["features/base/tracks"],
- i = await st("audio", a);
- e(ds(null === (n = Wo(r)) || void 0 === n ? void 0 : n.jitsiTrack, i))
- } catch (t) {
- e(fL("prejoin.audioTrackError")), sL.log("Error replacing audio track", t)
- }
- })) : APP.UI.emitEvent(sQ.AUDIO_DEVICE_CHANGED, n.deviceId);
- break;
- case EM:
- iL(e.getState()) ? e.dispatch(function(e) {
- return async (t, n) => {
- try {
- var a;
- const r = n()["features/base/tracks"],
- i = _f(n()),
- [o] = await Vo({
- cameraDeviceId: e,
- devices: ["video"]
- }, {
- dispatch: t,
- getState: n
- });
- t(ds(null === (a = Ko(r)) || void 0 === a ? void 0 : a.jitsiTrack, o)), i && o.mute()
- } catch (e) {
- t(fL("prejoin.videoTrackError")), sL.log("Error replacing video track", e)
- }
- }
- }(n.deviceId)) : APP.UI.emitEvent(sQ.VIDEO_DEVICE_CHANGED, n.deviceId);
- break;
- case xM:
- if (function(e) {
- const t = e => e.map((e => `\t\t${e.label}[${e.deviceId}]`)).join("\n"),
- n = t(e.audioInput),
- a = t(e.audioOutput),
- r = t(e.videoInput);
- DM.debug(`Device list updated:\naudioInput:\n${n}\naudioOutput:\n${a}\nvideoInput:\n${r}`)
- }(RM(n.devices)), OM(e.getState())) return function({
- dispatch: e,
- getState: t
- }, n, a) {
- const r = n(a),
- i = t(),
- {
- pendingRequests: o
- } = i["features/base/devices"];
- return o && 0 !== o.length ? (o.forEach((n => {
- H$(e, t, n, n.responseCallback)
- })), e({
- type: AM
- }), r) : r
- }(e, t, n);
- break;
- case jM:
- ! function(e, t, n) {
- const {
- dispatch: a
- } = e, r = t.filter((e => !n.find((t => t.deviceId === e.deviceId)))).reduce(((e, t) => (e[t.groupId] = e[t.groupId] || [], e[t.groupId].push(t), e)), {});
- Object.values(r).forEach((t => {
- if (t.length < 1) return;
- const n = t[0],
- r = LM(n.label);
- let i;
- switch (n.kind) {
- case "videoinput":
- i = "notify.newDeviceCameraTitle";
- break;
- case "audioinput":
- case "audiooutput":
- i = "notify.newDeviceAudioTitle"
- }
- a(Yf({
- description: r,
- titleKey: i,
- customActionNameKey: "notify.newDeviceAction",
- customActionHandler: Zee.bind(void 0, e, t)
- }))
- }))
- }(e, n.newDevices, n.oldDevices)
- }
- var a;
- return t(n)
- }));
- const Qee = "SET_DYNAMIC_BRANDING_DATA",
- Xee = "SET_DYNAMIC_BRANDING_FAILED",
- ete = "SET_DYNAMIC_BRANDING_READY",
- tte = (0, Ve.getLogger)("react/features/dynamic-branding/actions.js");
- Be.register((e => t => n => (n.type === Ya && e.dispatch((async function(e, t) {
- const n = t(),
- {
- customizationReady: a
- } = n["features/dynamic-branding"];
- if (!a) {
- const t = await async function() {
- const e = await dt(window.location.href),
- {
- dynamicBrandingUrl: t
- } = e;
- if (t) return t;
- const {
- brandingDataUrl: n
- } = e, a = MH();
- return n && a ? `${n}?conferenceFqn=${encodeURIComponent(a)}` : void 0
- }();
- if (t) try {
- const n = await _n(t);
- return e({
- type: Qee,
- value: n
- })
- } catch (t) {
- return tte.error("Error fetching branding data", t), e({
- type: Xee
- })
- }
- e({
- type: ete
- })
- }
- })), t(n))));
- const nte = Je("features/e2ee");
-
- function ate(e, t) {
- const n = t();
- Bh(qe(n)) >= 25 ? (e(j4(O4)), e(x4(!1))) : Bh(qe(n)) >= 20 ? e(j4(T4)) : e(j4(M4))
- }
- Be.register((({
- dispatch: e,
- getState: t
- }) => n => a => {
- switch (a.type) {
- case Ya:
- e(Ki(P4, "e2eeOff.mp3")), e(Ki(D4, "e2eeOn.mp3"));
- break;
- case Ga:
- e(Ji(P4)), e(Ji(D4));
- break;
- case UI:
- ate(e, t);
- break;
- case Hv: {
- const {
- id: i,
- e2eeEnabled: o,
- e2eeSupported: s
- } = a.participant, l = Fh(t(), i), c = n(a);
- if (o !== (null == l ? void 0 : l.e2eeEnabled) || s !== (null == l ? void 0 : l.e2eeSupported)) {
- var r;
- const n = t();
- let a = !0,
- i = !0;
- for (const [e, t] of Wh(n))
- if (t.e2eeEnabled || (i = !1), t.e2eeSupported || (a = !1), !i && !a) break;
- (null === (r = Rh(n)) || void 0 === r ? void 0 : r.e2eeEnabled) || (i = !1), (0, Te.unstable_batchedUpdates)((() => {
- e(C4(i)), e(A4(a))
- }))
- }
- return c
- }
- case qv: {
- const r = n(a),
- {
- e2eeEnabled: i,
- e2eeSupported: o,
- local: s
- } = a.participant,
- {
- everyoneEnabledE2EE: l
- } = t()["features/e2ee"];
- if (1 === Bh(t) && (0, Te.unstable_batchedUpdates)((() => {
- e(C4(i)), e(A4(o))
- })), l && !i && e(C4(!1)), s) return r;
- const {
- everyoneSupportE2EE: c
- } = t()["features/e2ee"];
- return c && !o && e(A4(!1)), ate(e, t), r
- }
- case Uv: {
- var i;
- const r = Fh(t(), null === (i = a.participant) || void 0 === i ? void 0 : i.id) || {},
- s = n(a),
- l = t(),
- {
- e2eeEnabled: c = !1,
- e2eeSupported: u = !1
- } = r,
- {
- everyoneEnabledE2EE: d,
- everyoneSupportE2EE: p
- } = l["features/e2ee"];
- if (!d && !c || !p && !u) {
- var o;
- let t = !0,
- n = !0;
- for (const [e, a] of Wh(l))
- if (a.e2eeEnabled || (t = !1), a.e2eeSupported || (n = !1), !t && !n) break;
- (null === (o = Rh(l)) || void 0 === o ? void 0 : o.e2eeEnabled) || (t = !1), (0, Te.unstable_batchedUpdates)((() => {
- !d && t && e(C4(!0)), !p && n && e(A4(!0))
- }))
- }
- return ate(e, t), s
- }
- case _4: {
- const n = yI(t);
- if (n && n.isE2EEEnabled() !== a.enabled) {
- nte.debug("E2EE will be " + (a.enabled ? "enabled" : "disabled")), n.toggleE2EE(a.enabled);
- const r = Rh(t);
- e(lk({
- e2eeEnabled: a.enabled,
- id: r.id,
- local: !0
- }));
- const i = a.enabled ? D4 : P4;
- e(Gi(i))
- }
- break
- }
- }
- return n(a)
- })), at.register((e => yI(e)), ((e, {
- dispatch: t
- }, n) => {
- n && t(x4(!1))
- })), at.register((e => Ok(e)), (e => {
- APP.API.notifyTileViewChanged(e)
- })), at.register((e => e["features/base/settings"].displayName), ((e, t) => {
- const n = Rh(t.getState());
- if (n) {
- const {
- id: t
- } = n;
- APP.API.notifyDisplayNameChanged(t, {
- displayName: e,
- formattedDisplayName: iF(e, interfaceConfig.DEFAULT_LOCAL_DISPLAY_NAME)
- })
- }
- })), at.register((e => e["features/large-video"].participantId), (e => {
- APP.API.notifyOnStageParticipantChanged(e)
- })), Be.register((e => t => n => {
- if (n.type === Gv) {
- const {
- id: a,
- loadableAvatarUrl: r
- } = n.participant, i = Fh(e.getState(), a), o = t(n);
- return i && (r ? i.loadableAvatarUrl !== r && APP.API.notifyAvatarChanged(a, r) : APP.API.notifyAvatarChanged(a, i.name ? void 0 : new URL("images/avatar.png", function(e = window) {
- const t = e.document.querySelector("base");
- if (t && t.href) return t.href;
- const {
- protocol: n,
- host: a
- } = e.location;
- return `${n}//${a}`
- }()).href)), o
- }
- const a = t(n);
- switch (n.type) {
- case BI:
- n.conference && n.error.name === gt.PASSWORD_REQUIRED && APP.API.notifyOnPasswordRequired();
- break;
- case UI: {
- const t = e.getState(),
- {
- room: n
- } = t["features/base/conference"],
- {
- loadableAvatarUrl: a,
- name: r,
- id: i
- } = Rh(t);
- APP.API.notifyConferenceJoined(n, i, {
- displayName: r,
- formattedDisplayName: iF(r, interfaceConfig.DEFAULT_LOCAL_DISPLAY_NAME),
- avatarURL: a
- });
- break
- }
- case $I:
- APP.API.notifyDataChannelOpened();
- break;
- case Nv:
- APP.API.notifyDominantSpeakerChanged(n.participant.id);
- break;
- case JI:
- APP.API.notifyKickedOut({
- id: Rh(e.getState()).id,
- local: !0
- }, {
- id: n.participant ? n.participant.getId() : void 0
- });
- break;
- case _M:
- n.error && APP.API.notifyOnCameraError(n.error.name, n.error.message);
- break;
- case wM:
- n.error && APP.API.notifyOnMicError(n.error.name, n.error.message);
- break;
- case Bv:
- APP.API.notifyKickedOut({
- id: n.kicked,
- local: !1
- }, {
- id: n.kicker
- });
- break;
- case Uv:
- APP.API.notifyUserLeft(n.participant.id);
- break;
- case qv: {
- const {
- participant: e
- } = n, {
- id: t,
- local: a,
- name: r
- } = e;
- a || APP.API.notifyUserJoined(t, {
- displayName: r,
- formattedDisplayName: iF(r || interfaceConfig.DEFAULT_REMOTE_DISPLAY_NAME)
- });
- break
- }
- case "PARTICIPANT_ROLE_CHANGED":
- APP.API.notifyUserRoleChanged(n.participant.id, n.participant.role);
- break;
- case TJ:
- APP.API.notifyFilmstripDisplayChanged(n.visible);
- break;
- case zH:
- APP.API.notifyFeedbackSubmitted(n.error || "Unknown error");
- break;
- case RH:
- APP.API.notifyFeedbackSubmitted()
- }
- return a
- })), Be.register((e => e => t => (t.type === ZJ && "object" == typeof APP && APP.keyboardshortcut.openDialog(), e(t)))), Be.register((({
- getState: e,
- dispatch: t
- }) => n => a => {
- const r = n(a);
- switch (a.type) {
- case UI: {
- const {
- localRecording: n
- } = e()["features/base/config"];
- if (!Boolean(n && n.enabled && "object" == typeof APP)) break;
- F6.onStateChanged = e => {
- if (e) {
- const e = new Date;
- t({
- type: m6,
- recordingEngagedAt: e
- })
- } else t({
- type: f6
- })
- }, F6.onWarning = (e, n) => {
- t(Yf({
- titleKey: "localRecording.localRecording",
- description: Ni.t(e, n)
- }, 1e4))
- }, F6.onNotify = (e, n) => {
- t(Yf({
- titleKey: "localRecording.localRecording",
- description: Ni.t(e, n)
- }, 1e4))
- }, "object" == typeof APP && "object" == typeof APP.keyboardshortcut && APP.keyboardshortcut.registerShortcut("L", null, (() => {
- Ma(dn("local.recording")), t(lP(B6))
- }), "keyboardShortcuts.localRecording"), n.format && F6.switchFormat(n.format);
- const {
- conference: a
- } = e()["features/base/conference"];
- F6.registerEvents(a);
- break
- }
- case Ga:
- F6.onStateChanged = null, F6.onNotify = null, F6.onWarning = null;
- break;
- case tf:
- F6.setMuted(a.muted);
- break;
- case gn: {
- const {
- micDeviceId: t
- } = e()["features/base/settings"];
- t && F6.setMicDevice(t);
- break
- }
- }
- return r
- }));
- const rte = "SET_NO_AUDIO_SIGNAL_NOTIFICATION_UID";
-
- function ite(e) {
- return {
- type: rte,
- uid: e
- }
- }
- class ote extends E.Component {
- render() {
- const {
- _dialIn: e,
- _dialInfoPageUrl: t,
- t: n
- } = this.props;
- return PR(e) ? x().createElement("div", null, n("toolbar.noAudioSignalDialInDesc"), " ", x().createElement("a", {
- href: t,
- rel: "noopener noreferrer",
- target: "_blank"
- }, n("toolbar.noAudioSignalDialInLinkDesc"))) : null
- }
- }
- const ste = Li(ze((function(e) {
- return {
- _dialIn: e["features/invite"],
- _dialInfoPageUrl: jR(e)
- }
- }))(ote)),
- lte = "NO_AUDIO_SIGNAL_SOUND";
- Be.register((e => t => async n => {
- const a = t(n),
- {
- dispatch: r
- } = e;
- switch (n.type) {
- case Ya:
- r(Ki(lte, "noAudioSignal.mp3"));
- break;
- case Ga:
- r(Ji(lte));
- break;
- case UI:
- !async function({
- dispatch: e,
- getState: t
- }, n) {
- const {
- conference: a
- } = n;
- a.on(bt.AUDIO_INPUT_STATE_CHANGE, (n => {
- const {
- noAudioSignalNotificationUid: a
- } = t()["features/no-audio-signal"];
- a && n && (e(Vf(a)), e(ite()))
- })), a.on(bt.NO_AUDIO_INPUT, (async () => {
- const {
- noSrcDataNotificationUid: n
- } = t()["features/base/no-src-data"];
- if (n) return;
- const a = await c.default.getActiveAudioDevice(),
- {
- noAudioSignalNotificationUid: r
- } = t()["features/no-audio-signal"];
- r && (e(Vf(r)), e(ite()));
- let i, o, s = "toolbar.noAudioSignalDesc";
- "" !== a.deviceLabel && (s = "toolbar.noAudioSignalDescSuggestion", i = `Switch to ${LM(a.deviceLabel)}`, o = () => {
- e(bn({
- userSelectedMicDeviceId: a.deviceId,
- userSelectedMicDeviceLabel: a.deviceLabel
- })), e($M(a.deviceId))
- });
- const l = await e(Yf({
- titleKey: "toolbar.noAudioSignalTitle",
- description: x().createElement(ste, null),
- descriptionKey: s,
- customActionNameKey: i,
- customActionHandler: o
- }));
- e(Gi(lte)), l && e(ite(l.uid))
- }))
- }(e, n)
- }
- return a
- }));
- const cte = "SET_NOISY_AUDIO_INPUT_NOTIFICATION_UID";
-
- function ute(e) {
- return {
- type: cte,
- uid: e
- }
- }
- const dte = "NOISY_AUDIO_INPUT_SOUND";
- Be.register((e => t => n => {
- const a = t(n);
- switch (n.type) {
- case Ya:
- e.dispatch(Ki(dte, "noisyAudioInput.mp3"));
- break;
- case Ga:
- e.dispatch(Ji(dte));
- break;
- case UI: {
- const {
- dispatch: t,
- getState: a
- } = e, {
- conference: r
- } = n;
- r.on(bt.TRACK_MUTE_CHANGED, (e => {
- const {
- noisyAudioInputNotificationUid: n
- } = a()["features/noise-detection"];
- n && e.isAudioTrack() && e.isLocal() && e.isMuted() && (t(Vf(n)), t(ute()))
- })), r.on(bt.NOISY_MIC, (async () => {
- const e = await t(Yf({
- titleKey: "toolbar.noisyAudioInputTitle",
- descriptionKey: "toolbar.noisyAudioInputDesc"
- }));
- t(Gi(dte)), e && t(ute(e.uid))
- }));
- break
- }
- }
- return a
- }));
- class pte extends E.Component {
- render() {
- const {
- t: e
- } = this.props;
- return x().createElement("div", null, e("notify.oldElectronClientDescription1"), x().createElement("a", {
- href: "https://github.com/jitsi/jitsi-meet-electron/releases/latest",
- rel: "noopener noreferrer",
- target: "_blank"
- }, e("notify.oldElectronClientDescription2")), e("notify.oldElectronClientDescription3"))
- }
- }
- const hte = Li(pte);
- Be.register((e => t => n => n.type === Ya ? function(e, t, n) {
- if (function() {
- if (!ft.isElectron()) return !1;
- const e = navigator.userAgent.match(/(JitsiMeet)\s*\/\s*((\d+)\.[^\s]*)/);
- if (!Array.isArray(e) || e.length < 3) return !1;
- const t = Number(e[3]);
- return !(isNaN(t) || t >= 2)
- }()) {
- const {
- dispatch: t
- } = e;
- t(Wf({
- titleKey: "notify.OldElectronAPPTitle",
- description: x().createElement(hte, null)
- }))
- }
- return t(n)
- }(e, t, n) : t(n))), Be.register((e => t => n => {
- const a = t(n),
- {
- dispatch: r,
- getState: i
- } = e;
- switch (n.type) {
- case UI: {
- const e = new dV({
- backend: new lV({
- postisOptions: {
- scope: "jitsi-power-monitor"
- }
- })
- });
- e.on("event", (e => !(!e || "power-monitor" !== e.name || "suspend" !== e.event || (r(bV()), 0)))), r(yV(e));
- break
- }
- case HI: {
- const {
- transport: e
- } = i()["features/power-monitor"];
- e && e.dispose(), r(yV());
- break
- }
- case fV:
- r(ls()), APP.conference.onSuspendDetected(), APP.API.notifySuspendDetected()
- }
- return a
- })), Be.register((e => t => async n => {
- switch (n.type) {
- case tf:
- iL(e.getState()) && e.dispatch(bn({
- startWithAudioMuted: Boolean(n.muted)
- }));
- break;
- case of:
- iL(e.getState()) && e.dispatch(bn({
- startWithVideoMuted: Boolean(n.muted)
- }));
- break;
- case oo:
- case co: {
- const t = e.getState();
- if (iL(t)) {
- const {
- track: {
- jitsiTrack: a
- }
- } = n, {
- deviceStatusType: r,
- deviceStatusText: i
- } = t["features/prejoin"];
- if (!a.isAudioTrack()) break;
- a.isReceivingData() ? "warning" === r && "prejoin.audioDeviceProblem" === i && e.dispatch({
- type: RR,
- value: {
- deviceStatusText: "prejoin.lookGood",
- deviceStatusType: "ok"
- }
- }) : "ok" === r && e.dispatch(fL("prejoin.audioDeviceProblem"))
- }
- break
- }
- case BI:
- e.dispatch(pL(!1));
- break;
- case UI:
- return function({
- dispatch: e
- }, t, n) {
- return e(bL(GR)), e(pL(!1)), t(n)
- }(e, t, n)
- }
- return t(n)
- })), at.register((e => {
- const {
- participantId: t
- } = e["features/large-video"], {
- controller: n
- } = e["features/remote-control"], {
- controlled: a
- } = n;
- if (a) return a === t
- }), ((e, {
- dispatch: t
- }) => {
- !0 === e ? t(Q0()) : !1 === e && t(X0())
- })), Be.register((e => t => async n => {
- switch (n.type) {
- case Ya: {
- const {
- dispatch: t
- } = e;
- t(G0(new dV({
- backend: new lV({
- postisOptions: {
- scope: "jitsi-remote-control"
- }
- })
- })));
- break
- }
- case Ga: {
- const {
- getState: t,
- dispatch: n
- } = e, {
- transport: a
- } = t()["features/remote-control"].receiver;
- a && (a.dispose(), n(G0()));
- break
- }
- case UI: {
- const a = t(n),
- {
- getState: r
- } = e,
- {
- transport: i
- } = r()["features/remote-control"].receiver;
- return i && i.on("event", (t => t.name === S0 && (function(e, {
- getState: t,
- dispatch: n
- }) {
- switch (e.type) {
- case "supported":
- I0.log("Remote Control supported."), z0(t()) ? n(((e, t) => {
- const n = t(),
- {
- enabled: a
- } = n["features/remote-control"].receiver;
- if (a) return;
- const {
- connection: r
- } = n["features/base/connection"], {
- conference: i
- } = n["features/base/conference"];
- r && i ? (e({
- type: b0,
- enabled: !0
- }), r.addFeature(E0, !0), U0 = (t, n) => {
- e(function(e, t) {
- return (n, a) => {
- const {
- action: r,
- name: i,
- type: o
- } = t;
- if (i !== S0) return;
- const s = a(),
- {
- receiver: l
- } = s["features/remote-control"],
- {
- enabled: c,
- transport: u
- } = l;
- if (c) {
- const {
- controller: a
- } = l;
- a || o !== x0 || r !== A0 ? a === e && (o === C0 ? n(K0(!1, !0)) : u.sendEvent(t)) : (n(V0(!0)), n(function(e) {
- return sP(w0, {
- participantId: e
- })
- }(e)))
- } else I0.log("Remote control message is ignored because remote control is disabled", t)
- }
- }(t.getId(), n))
- }, i.on(bt.ENDPOINT_MESSAGE_RECEIVED, U0)) : I0.error("Couldn't enable the remote receiver! The connection or conference instance is undefined!")
- })) : I0.log("Remote Control disabled.");
- break;
- case C0:
- n(K0())
- }
- }(t, e), !0))), a
- }
- case Uv: {
- const {
- getState: t,
- dispatch: a
- } = e, r = t(), {
- id: i
- } = n.participant, {
- receiver: o,
- controller: s
- } = r["features/remote-control"], {
- requestedParticipant: l,
- controlled: c
- } = s;
- i === c && a(W0()), i === l && (a(Y0()), a(V0(!1))), (null == o ? void 0 : o.controller) === i && a(K0(!1, !0));
- break
- }
- }
- return t(n)
- }));
- const mte = Je("features/screen-share");
-
- function fte(e, t) {
- var n;
- const a = e.getState(),
- {
- conference: r
- } = a["features/base/conference"],
- {
- captureFrameRate: i
- } = a["features/screen-share"],
- o = null !== (n = t) && void 0 !== n ? n : i;
- r && o && (mte.debug(`Setting screenshare capture frame rate as ${o}`), r.setDesktopSharingFrameRate(o))
- }
-
- function gte(e) {
- return {
- type: M2,
- disabled: e
- }
- }
-
- function bte({
- id: e,
- status: t,
- conference: n,
- localParticipantId: a,
- time: r,
- muted: i,
- volume: o
- }) {
- n.sendCommandOnce(Sk, {
- value: e,
- attributes: {
- from: a,
- muted: i,
- state: t,
- time: r,
- volume: o
- }
- })
- }
- Be.register((e => t => n => {
- const a = t(n);
- switch (n.type) {
- case UI:
- fte(e);
- break;
- case xV: {
- const {
- captureFrameRate: t
- } = n;
- fte(e, t);
- break
- }
- }
- return a
- })), Be.register((e => t => n => {
- var a;
- const {
- dispatch: r,
- getState: i
- } = e, o = i(), s = yI(o), l = null === (a = Rh(o)) || void 0 === a ? void 0 : a.id, {
- videoUrl: c,
- status: u,
- ownerId: d,
- time: p,
- muted: h,
- volume: m
- } = n, {
- ownerId: f,
- videoUrl: g
- } = o["features/shared-video"];
- switch (n.type) {
- case HI:
- r(I2());
- break;
- case Uv:
- n.participant.id === f && (0, Te.unstable_batchedUpdates)((() => {
- r(I2()), r(ik(g, s))
- }));
- break;
- case T2:
- l === d && bte({
- conference: s,
- localParticipantId: l,
- muted: h,
- status: u,
- time: p,
- id: c,
- volume: m
- });
- break;
- case O2:
- l === f && bte({
- conference: s,
- id: g,
- localParticipantId: l,
- muted: !0,
- status: "stop",
- time: 0,
- volume: 0
- })
- }
- return t(n)
- })), at.register((e => yI(e)), ((e, t, n) => {
- e && e !== n && e.addCommandListener(Sk, (({
- value: n,
- attributes: a
- }) => {
- const {
- dispatch: r,
- getState: i
- } = t, {
- from: o
- } = a, s = Rh(i()).id, l = a.state;
- xk(l) ? function(e, t, {
- state: n,
- time: a,
- from: r,
- muted: i
- }, o) {
- var s;
- const {
- dispatch: l,
- getState: c
- } = e, u = Rh(c()).id, d = null === (s = c()["features/shared-video"]) || void 0 === s ? void 0 : s.status;
- if ("start" === n || !["playing", "pause", "start"].includes(d)) {
- const e = !t.match(/http/) && t;
- l(ak({
- conference: o,
- id: t,
- isFakeParticipant: !0,
- avatarURL: e ? `https://img.youtube.com/vi/${e}/0.jpg` : "",
- name: wk
- })), l(dk(t))
- }
- u !== r && l(N2({
- muted: "true" === i,
- ownerId: r,
- status: n,
- time: Number(a),
- videoUrl: t
- }))
- }(t, n, a, e) : "stop" === l && (r(ik(n, e)), s !== o && r(I2()))
- }))
- })), at.register((e => yI(e)), ((e, t, n) => {
- e && e !== n && e.addCommandListener(Sk, (({
- attributes: e
- }) => {
- const {
- dispatch: n,
- getState: a
- } = t, {
- from: r
- } = e, i = Rh(a()).id, o = e.state;
- "playing" === o ? i !== r && n(gte(!0)) : "stop" === o && n(gte(!1))
- }))
- }));
- const yte = "SET_CURRENT_NOTIFICATION_UID";
-
- function vte(e) {
- return {
- type: yte,
- uid: e
- }
- }
- const kte = "TALK_WHILE_MUTED_SOUND";
- Be.register((e => t => n => {
- const a = t(n),
- {
- dispatch: r,
- getState: i
- } = e,
- {
- conference: o
- } = n;
- switch (n.type) {
- case Ya:
- r(Ki(kte, "talkWhileMuted.mp3"));
- break;
- case Ga:
- r(Ji(kte));
- break;
- case UI:
- o.on(bt.TRACK_MUTE_CHANGED, (e => {
- const {
- currentNotificationUid: t
- } = i()["features/talk-while-muted"];
- t && e.isAudioTrack() && e.isLocal() && !e.isMuted() && (r(Vf(t)), r(vte()))
- })), o.on(bt.TALK_WHILE_MUTED, (async () => {
- const e = i(),
- t = Cm(Rh(e), Xi, e),
- n = await r(Yf({
- titleKey: "toolbar.talkWhileMutedPopup",
- customActionNameKey: t ? "notify.raiseHandAction" : "notify.unmute",
- customActionHandler: () => r(t ? pk(!0) : lf(!1))
- })),
- {
- soundsTalkWhileMuted: a
- } = i()["features/base/settings"];
- a && r(Gi(kte)), n && r(vte(n.uid))
- }))
- }
- return a
- })), Be.register((e => t => n => {
- const {
- dispatch: a,
- getState: r
- } = e, i = r()["features/virtual-background"].virtualSource, o = Ko(r()["features/base/tracks"]);
- return (null == i ? void 0 : i.videoType) === ao && n.type === bo && So(a, i, null == o ? void 0 : o.jitsiTrack), t(n)
- }));
- const _te = "SET_NETWORK_INFO",
- wte = "STORE_NETWORK_INFO_CLEANUP",
- Ste = "UPDATE_LOCAL_TRACKS_DURATION";
-
- function Ete(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- xte(e, t, n[t])
- }))
- }
- return e
- }
-
- function xte(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
- }
-
- function Cte(e) {
- const t = Date.now(),
- {
- localTracksDuration: n
- } = e["features/analytics"],
- {
- conference: a
- } = e["features/base/conference"],
- {
- audio: r,
- video: i
- } = n,
- {
- camera: o,
- desktop: s
- } = i,
- l = e["features/base/tracks"],
- c = Wo(l),
- u = Ko(l),
- d = Ete({}, n);
- if (c && !c.muted && a ? -1 === r.startedTime && (d.audio.startedTime = t) : d.audio = {
- startedTime: -1,
- value: r.value + (-1 === r.startedTime ? 0 : t - r.startedTime)
- }, u && !u.muted && a) {
- const {
- videoType: e
- } = u; - 1 === i[e].startedTime && (d.video[e].startedTime = t)
- } else d.video = {
- camera: {
- startedTime: -1,
- value: o.value + (-1 === o.startedTime ? 0 : t - o.startedTime)
- },
- desktop: {
- startedTime: -1,
- value: s.value + (-1 === s.startedTime ? 0 : t - s.startedTime)
- }
- };
- return Ete({}, n, d)
- }
- let Ate;
- Be.register((e => t => n => {
- switch (n.type) {
- case Rn:
- "ReactNative" === navigator.product && mt.reset();
- break;
- case rN: {
- const a = async function({
- getState: e
- }) {
- if (It().analyticsHandlers = [], window.analyticsHandlers = [], !lt(e)) return mt.dispose(), [];
- const t = e(),
- n = t["features/base/config"],
- {
- locationURL: a
- } = t["features/base/connection"],
- r = a ? a.host : "",
- {
- analytics: i = {},
- deploymentInfo: o
- } = n,
- {
- amplitudeAPPKey: s,
- blackListedEvents: l,
- scriptURLs: u,
- googleAnalyticsTrackingId: d,
- matomoEndpoint: p,
- matomoSiteID: h,
- whiteListedEvents: m
- } = i,
- {
- group: f,
- user: g
- } = t["features/base/jwt"],
- b = {
- amplitudeAPPKey: s,
- blackListedEvents: l,
- envType: o && o.envType || "dev",
- googleAnalyticsTrackingId: d,
- matomoEndpoint: p,
- matomoSiteID: h,
- group: f,
- host: r,
- product: o && o.product,
- subproduct: o && o.environment,
- user: g && g.id,
- version: c.default.version,
- whiteListedEvents: m
- },
- y = [];
- if (s) try {
- const e = new Da(b);
- mt.amplitudeIdentityProps = e.getIdentityProps(), y.push(e)
- } catch (e) {
- Ca.error("Failed to initialize Amplitude handler", e)
- }
- if (p && h) try {
- const e = new Ta(b);
- y.push(e)
- } catch (e) {
- Ca.error("Failed to initialize Matomo handler", e)
- }
- if (Array.isArray(u) && u.length > 0) {
- let e;
- try {
- e = await
- function(e = [], t) {
- const n = [];
- for (const t of e) n.push(wn(t).then((() => ({
- type: "success"
- })), (e => ({
- type: "error",
- error: e,
- url: t
- }))));
- return Promise.all(n).then((e => {
- for (const t of e) "error" === t.type && Ca.warn(`Failed to load ${t.url}: ${t.error}`);
- const n = [...It().analyticsHandlers, ...window.analyticsHandlers],
- a = [];
- for (const e of n) try {
- a.push(new e(t))
- } catch (e) {
- Ca.warn(`Error creating analytics handler: ${e}`)
- }
- return Ca.debug(`Loaded ${a.length} external analytics handlers`), a
- }))
- }(u, b), y.push(...e)
- } catch (e) {
- Ca.error("Failed to initialize external analytics handlers", e)
- }
- }
- return 0 === y.length && mt.dispose(), Ca.info(`Initialized ${y.length} analytics handlers`), y
- }(e), r = t(n);
- return a.then((t => {
- ! function({
- getState: e
- }, t) {
- if (!lt(e) || 0 === t.length) return;
- const n = e(),
- a = n["features/base/config"],
- {
- deploymentInfo: r
- } = a,
- {
- group: i,
- server: o
- } = n["features/base/jwt"],
- s = n["features/base/conference"].room,
- {
- locationURL: l = {}
- } = n["features/base/connection"],
- {
- tenant: c
- } = Tn(l.href) || {},
- u = {};
- if (o && (u.server = o), i && (u.group = i), u.appName = ba(), u.websocket = "string" == typeof a.websocket, u.externalApi = "number" == typeof Bt, u.inIframe = function() {
- if ("ReactNative" === navigator.product) return !1;
- try {
- return window.self !== window.top
- } catch (e) {
- return !0
- }
- }(), u.tenant = c || "/", r)
- for (const e in r) r.hasOwnProperty(e) && (u[e] = r[e]);
- mt.addPermanentProperties(u), mt.setConferenceName(s), mt.setAnalyticsHandlers(t), !Sa() && ft.isChrome() && xa(n["features/base/config"].chromeExtensionBanner).then((e => {
- (null == e ? void 0 : e.length) && mt.addPermanentProperties({
- hasChromeExtension: e.some((e => e))
- })
- }))
- }(e, t)
- })), r
- }
- }
- const a = t(n);
- switch (n.type) {
- case UI: {
- const {
- dispatch: t,
- getState: n
- } = e, a = n();
- t({
- type: Ste,
- localTracksDuration: Ete({}, Cte(a), {
- conference: {
- startedTime: Date.now(),
- value: 0
- }
- })
- });
- break
- }
- case KI: {
- const {
- dispatch: t,
- getState: n
- } = e, a = n(), {
- localTracksDuration: r
- } = a["features/analytics"], i = Ete({}, Cte(a), {
- conference: {
- startedTime: -1,
- value: Date.now() - r.conference.startedTime
- }
- });
- Ma(function(e) {
- const {
- audio: t,
- video: n,
- conference: a
- } = e, {
- camera: r,
- desktop: i
- } = n;
- return {
- action: "local.tracks.durations",
- attributes: {
- audio: t.value,
- camera: r.value,
- conference: a.value,
- desktop: i.value
- }
- }
- }(i)), t({
- type: Ste,
- localTracksDuration: i
- });
- break
- }
- case _te:
- Ma(function({
- isOnline: e,
- networkType: t,
- details: n
- }) {
- const a = {
- isOnline: e
- };
- return t && (a.networkType = t), n && (a.details = n), {
- action: "network.info",
- attributes: a
- }
- }({
- isOnline: n.isOnline,
- details: n.details,
- networkType: n.networkType
- }));
- break;
- case oo:
- case uo:
- case ho: {
- const {
- dispatch: t,
- getState: a
- } = e, r = a(), {
- localTracksDuration: i
- } = r["features/analytics"];
- if (-1 === i.conference.startedTime || "presenter" === n.mediaType) break;
- t({
- type: Ste,
- localTracksDuration: Ete({}, i, Cte(r))
- });
- break
- }
- }
- return a
- })), Be.register((({
- dispatch: e,
- getState: t
- }) => n => a => {
- const {
- type: r
- } = a, {
- conference: i
- } = uI(t());
- switch (r) {
- case Ya:
- e(Ki(em, "asked-unmute.mp3"));
- break;
- case Ga:
- e(Ji(em));
- break;
- case Fm: {
- let t, n, r;
- switch (a.mediaType) {
- case Xi:
- n = "notify.moderationInEffectTitle", r = tm;
- break;
- case to:
- n = "notify.moderationInEffectVideoTitle", r = nm;
- break;
- case eo:
- n = "notify.moderationInEffectCSTitle", r = am
- }
- e(Yf({
- customActionNameKey: "notify.raiseHandAction",
- customActionHandler: () => (0, Te.unstable_batchedUpdates)((() => {
- e(pk(!0)), e(Vf(r))
- })),
- descriptionKey: t,
- sticky: !0,
- titleKey: n,
- uid: r
- }));
- break
- }
- case Mm:
- i.disableAVModeration(Xi);
- break;
- case Im:
- i.disableAVModeration(to);
- break;
- case Nm:
- i.enableAVModeration(Xi);
- break;
- case zm:
- i.enableAVModeration(to);
- break;
- case Hv: {
- const n = t(),
- r = om(Xi, n),
- i = a.participant;
- i && r && (Jh(n) ? i.raisedHand ? !cm(i.id, Xi)(n) && e(ef(i)) : um(i, Xi)(n) && e(function(e) {
- return Km(e.id, Xi)
- }(i)) : i.id === Rh(n).id && Gh(i) && Wh(n).forEach((t => {
- t.raisedHand && !cm(t.id, Xi)(n) && e(ef(t))
- })));
- break
- }
- case Om:
- "undefined" != typeof APP && APP.API.notifyModerationChanged(a.mediaType, !0);
- break;
- case Dm:
- "undefined" != typeof APP && APP.API.notifyModerationChanged(a.mediaType, !1);
- break;
- case Rm:
- if ("undefined" != typeof APP) {
- const e = Rh(t());
- APP.API.notifyParticipantApproved(e.id, a.mediaType)
- }
- break;
- case qm:
- "undefined" != typeof APP && APP.API.notifyParticipantApproved(a.id, a.mediaType);
- break;
- case Lm:
- if ("undefined" != typeof APP) {
- const e = Rh(t());
- APP.API.notifyParticipantRejected(e.id, a.mediaType)
- }
- break;
- case Bm:
- "undefined" != typeof APP && APP.API.notifyParticipantRejected(a.id, a.mediaType)
- }
- return n(a)
- })), at.register((e => e["features/base/conference"].conference), ((e, {
- dispatch: t
- }, n) => {
- e && !n && (e.on(bt.AV_MODERATION_APPROVED, (({
- mediaType: e
- }) => {
- t((e => ({
- type: Rm,
- mediaType: e
- }))(e)), e === Xi && (t(Yf({
- titleKey: "notify.hostAskedUnmute",
- sticky: !0,
- customActionNameKey: "notify.unmute",
- customActionHandler: () => t(BQ(!1, Xi))
- })), t(Gi(em)))
- })), e.on(bt.AV_MODERATION_REJECTED, (({
- mediaType: e
- }) => {
- t((e => ({
- type: Lm,
- mediaType: e
- }))(e))
- })), e.on(bt.AV_MODERATION_CHANGED, (({
- enabled: e,
- mediaType: n,
- actor: a
- }) => {
- t(e ? ((e, t) => ({
- type: Om,
- mediaType: e,
- actor: t
- }))(n, a) : ((e, t) => ({
- type: Dm,
- mediaType: e,
- actor: t
- }))(n, a))
- })), e.on(bt.AV_MODERATION_PARTICIPANT_APPROVED, (({
- participant: e,
- mediaType: n
- }) => {
- const {
- _id: a
- } = e;
- (0, Te.unstable_batchedUpdates)((() => {
- t(function(e, t) {
- return {
- type: qm,
- id: e,
- mediaType: t
- }
- }(a, n)), t(Km(a, n))
- }))
- })), e.on(bt.AV_MODERATION_PARTICIPANT_REJECTED, (({
- participant: e,
- mediaType: n
- }) => {
- const {
- _id: a
- } = e;
- t(function(e, t) {
- return {
- type: Bm,
- id: e,
- mediaType: t
- }
- }(a, n))
- })))
- })), Be.register((e => t => n => {
- switch (n.type) {
- case BI:
- return function({
- dispatch: e,
- getState: t
- }, n, a) {
- const r = n(a),
- {
- conference: i,
- error: o
- } = a,
- {
- enableForcedReload: s
- } = t()["features/base/config"];
- switch (o.name) {
- case gt.CONFERENCE_DESTROYED: {
- const [t] = o.params;
- e(Wf({
- description: t,
- titleKey: "dialog.sessTerminated"
- }));
- break
- }
- case gt.CONFERENCE_RESTARTED:
- s && e(Wf({
- description: "Restart initiated because of a bridge failure",
- titleKey: "dialog.sessionRestarted"
- }));
- break;
- case gt.CONNECTION_ERROR: {
- const [n] = o.params;
- e(function(e) {
- return {
- type: CI,
- connection: e
- }
- }(t()["features/base/connection"].connection)), e(Wf({
- descriptionArguments: {
- msg: n
- },
- descriptionKey: n ? "dialog.connectErrorWithMsg" : "dialog.connectError",
- titleKey: "connection.CONNFAIL"
- }));
- break
- }
- case gt.OFFER_ANSWER_FAILED:
- Ma({
- action: "offer.answer.failure"
- })
- }
- return "undefined" == typeof APP ? !o.recoverable && i && i.leave().catch((e => {
- lI.info("JitsiConference.leave() rejected with:", e)
- })) : void 0 !== Ate && (window.removeEventListener("beforeunload", Ate), Ate = void 0), s && (null == o ? void 0 : o.name) === gt.CONFERENCE_RESTARTED && (e(hN(i)), e(JN())), r
- }(e, t, n);
- case UI:
- return function({
- dispatch: e,
- getState: t
- }, n, a) {
- var r;
- const i = n(a),
- {
- conference: o
- } = a,
- {
- pendingSubjectChange: s
- } = t()["features/base/conference"],
- {
- requireDisplayName: l
- } = t()["features/base/config"];
- return s && e(vN(s)), Ate = () => {
- e(hN(o))
- }, window.addEventListener("beforeunload", Ate), !l || (null === (r = Rh(t)) || void 0 === r ? void 0 : r.name) || o.isHidden() || e(OH(void 0)), i
- }(e, t, n);
- case AI:
- return function({
- dispatch: e
- }, t, n) {
- const a = t(n);
- return "undefined" == typeof APP && e(((e, t) => {
- const n = t(),
- {
- connection: a,
- locationURL: r
- } = n["features/base/connection"];
- if (!a) throw new Error("Cannot create a conference without a connection!");
- const {
- password: i,
- room: o
- } = n["features/base/conference"];
- if (!o) throw new Error("Cannot join a conference without a room name!");
- const s = a.initJitsiConference(An(o), gI(n));
- a[OI] = s, s[sI] = r, e(dN(s)),
- function(e, t, n) {
- e.on(bt.CONFERENCE_ERROR, (e => lI.error("Conference error.", e))), e.on(bt.CONFERENCE_FAILED, ((...n) => t(oN(e, ...n)))), e.on(bt.CONFERENCE_JOINED, ((...n) => t(sN(e, ...n)))), e.on(bt.CONFERENCE_LEFT, ((...n) => {
- t(uN(0)), t(lN(e, ...n))
- })), e.on(bt.SUBJECT_CHANGED, ((...e) => t(cN(...e)))), e.on(bt.CONFERENCE_CREATED_TIMESTAMP, ((...e) => t(uN(...e)))), e.on(bt.KICKED, ((...n) => t(mN(e, ...n)))), e.on(bt.PARTICIPANT_KICKED, ((e, n) => t(uk(e, n)))), e.on(bt.LOCK_STATE_CHANGED, ((...n) => t(fN(e, ...n)))), e.on(bt.STARTED_MUTED, (() => {
- const a = Boolean(e.isStartAudioMuted()),
- r = Boolean(e.isStartVideoMuted()),
- i = Go(n["features/base/tracks"]);
- Ma(pn("remote", a, r)), lI.log(`Start muted: ${a?"audio, ":""}${r?"video":""}`), t(lf(a)), t(cf(r));
- for (const n of i) {
- const i = n.jitsiTrack.getType();
- (a && i === Xi && "ReactNative" !== navigator.product || r && i === to) && t(ds(n.jitsiTrack, null, e))
- }
- })), e.on(bt.TRACK_ADDED, (e => e && !e.isLocal() && t(ps(e)))), e.on(bt.TRACK_REMOVED, (e => e && !e.isLocal() && t(ms(e)))), e.on(bt.TRACK_MUTE_CHANGED, ((e, n) => {
- n && t(ck(n, e))
- })), e.on(bt.DISPLAY_NAME_CHANGED, ((n, a) => t(lk({
- conference: e,
- id: n,
- name: Lh(a)
- })))), e.on(bt.DOMINANT_SPEAKER_CHANGED, ((n, a) => t(Qv(n, a, e)))), e.on(bt.ENDPOINT_MESSAGE_RECEIVED, ((...e) => t(Fa(...e)))), e.on(bt.PARTICIPANT_CONN_STATUS_CHANGED, ((...e) => t(nk(...e)))), e.on(bt.USER_JOINED, ((n, a) => pI({
- dispatch: t
- }, e, a))), e.on(bt.USER_LEFT, ((n, a) => hI({
- dispatch: t
- }, e, a))), e.on(bt.USER_ROLE_CHANGED, ((...e) => t(sk(...e)))), e.on(bt.USER_STATUS_CHANGED, ((...e) => t(ok(...e)))), e.on(bt.BOT_TYPE_CHANGED, ((n, a) => t(lk({
- conference: e,
- id: n,
- botType: a
- })))), e.addCommandListener(iI, ((n, a) => t(lk({
- conference: e,
- id: a,
- avatarURL: n.value
- })))), e.addCommandListener(oI, ((n, a) => t(lk({
- conference: e,
- id: a,
- email: n.value
- }))))
- }(s, e, n), EI(n, s);
- const l = Zn(n);
- s.join(i, l)
- })), a
- }(e, t, n);
- case jI:
- return function({
- dispatch: e,
- getState: t
- }, n, a) {
- ! function(e, t) {
- const {
- jwt: n
- } = t["features/base/jwt"];
- if (!n) return;
- const a = function(e) {
- const t = [];
- if (!e) return t;
- const n = (new Date).getTime();
- try {
- const a = Tz()(e, {
- header: !0
- }),
- r = Tz()(e);
- if (!a || !r) return t.push("- Missing header or payload"), t;
- const {
- aud: i,
- context: o,
- exp: s,
- iss: l,
- nbf: c,
- sub: u
- } = r;
- if (u && u.startsWith("vpaas-magic-cookie")) {
- const {
- kid: e
- } = a;
- if (!e) return t.push("- Key ID(kid) missing"), t;
- e.substring(0, e.indexOf("/")) !== u && t.push("- Key ID(kid) does not match sub"), "jitsi" !== i && t.push("- invalid `aud` value. It should be `jitsi`"), "chat" !== l && t.push("- invalid `iss` value. It should be `chat`"), (null == o ? void 0 : o.features) || t.push("- `features` object is missing from the payload")
- }
- if (Iz(c) ? n < 1e3 * c && t.push("- `nbf` value is in the future") : t.push("- invalid `nbf` value"), Iz(s) ? n > 1e3 * s && t.push("- token is expired") : t.push("- invalid `exp` value"), o) {
- if (o.features) {
- const {
- features: e
- } = o;
- Object.keys(e).forEach((n => {
- if (Oz.includes(n)) {
- const a = e[n];
- !0 !== a && !1 !== a && "true" !== a && "false" !== a && t.push(`- Invalid value for feature: ${n}`)
- } else t.push(`- Invalid feature: ${n}`)
- }))
- }
- } else t.push("- `context` object is missing from the payload")
- } catch (e) {
- t.push(e ? e.message : "- unspecified jwt error")
- }
- return t
- }(n);
- e && lI.error(`JWT error: ${e}`), a.length && lI.error("JWT parsing error:", a)
- }(a.error.message, t());
- const r = n(a);
- if (void 0 !== Ate && (window.removeEventListener("beforeunload", Ate), Ate = void 0), "undefined" == typeof APP) {
- const {
- connection: n
- } = a, {
- error: r
- } = a;
- mI(t, (t => {
- if (t.getConnection() === n) {
- const n = oN(t, r.name);
- void 0 !== r.recoverable && (n.error.recoverable = r.recoverable), e(n)
- }
- return !0
- }))
- }
- return r
- }(e, t, n);
- case VI:
- return function({
- dispatch: e,
- getState: t
- }, n, a) {
- const r = n(a),
- {
- subject: i
- } = t()["features/base/conference"];
- return i && e({
- type: aN,
- subject: void 0
- }), "object" == typeof APP && APP.API.notifySubjectChanged(i), r
- }(e, t, n);
- case KI:
- void 0 !== Ate && (window.removeEventListener("beforeunload", Ate), Ate = void 0);
- break;
- case Hv:
- return function({
- dispatch: e,
- getState: t
- }, n, a) {
- const {
- conference: r
- } = t()["features/base/conference"], {
- participant: i
- } = a, o = n(a), s = Rh(t);
- if (r && i.id === (null == s ? void 0 : s.id) && ("name" in i && r.setDisplayName(i.name), "role" in i && i.role === Th)) {
- const {
- pendingSubjectChange: n,
- subject: a
- } = t()["features/base/conference"];
- void 0 !== n && n !== a && e(vN(n))
- }
- return o
- }(e, t, n);
- case Vv:
- return function({
- getState: e
- }, t, n) {
- const a = e(),
- {
- conference: r
- } = a["features/base/conference"];
- if (!r) return t(n);
- const i = n.participant.id,
- o = Fh(a, i),
- s = Yh(a),
- l = i ? Yt : "unpinned",
- c = o && o.local || !i && s && s.local;
- let u;
- return u = c || (l === Yt ? i : s && s.id), Ma(function(e, t, n) {
- return {
- type: "track",
- action: e,
- actionSubject: "participant",
- objectType: "participant",
- objectId: t,
- attributes: n
- }
- }(l, u, {
- local: c,
- participant_count: r.getParticipantCount()
- })), t(n)
- }(e, t, n);
- case XI:
- return function({
- getState: e
- }, t, n) {
- const a = e(),
- {
- conference: r
- } = a["features/base/conference"];
- if (r) {
- const {
- duration: e,
- tones: t,
- pause: a
- } = n;
- r.sendTones(t, e, a)
- }
- return t(n)
- }(e, t, n);
- case rN:
- return function({
- dispatch: e,
- getState: t
- }, n, a) {
- const r = t(),
- {
- subject: i
- } = r["features/base/config"],
- {
- room: o
- } = a;
- return o && e(vN(i)), n(a)
- }(e, t, n);
- case oo:
- case uo:
- return function(e, t, n) {
- const a = n.track;
- return a && a.local && a.mediaType !== eo ? function({
- getState: e
- }, t) {
- const n = yI(e);
- let a;
- if (n) {
- const e = t.track.jitsiTrack;
- a = t.type === oo ? dI(n, [e]) : function(e, t) {
- return Promise.all(t.map((t => e.removeTrack(t).catch((e => {
- e.name !== Ct.TRACK_IS_DISPOSED && SI("Failed to remove local track from conference", e)
- })))))
- }(n, [e])
- }
- return a || Promise.resolve()
- }(e, n).then((() => t(n))) : t(n)
- }(e, t, n)
- }
- return t(n)
- })), Be.register((({
- dispatch: e,
- getState: t
- }) => n => a => {
- const {
- enableForcedReload: r
- } = t()["features/base/config"];
- switch (a.type) {
- case UI:
- r && (e(bL(GR)), e(gL(!1)));
- break;
- case BI:
- var i;
- r && (null === (i = a.error) || void 0 === i ? void 0 : i.name) === gt.CONFERENCE_RESTARTED && e(gL(!0))
- }
- return n(a)
- })), Be.register((e => t => n => {
- switch (n.type) {
- case Ya:
- return function(e, t, n) {
- const a = t(n),
- r = "config.js/",
- i = [];
- for (let e = 0;; ++e) {
- const t = l.key(e);
- if (!t) break; {
- let e;
- if (t.startsWith(r) && (e = t.substring(r.length))) {
- const t = Tn(e);
- let n;
- t && (n = t.host) && i.push(n)
- }
- }
- }
- return i.length && e.dispatch(vn(i)), a
- }(e, t, n);
- case Rn:
- return function({
- dispatch: e,
- getState: t
- }, n, a) {
- const r = n(a),
- i = t(),
- o = i["features/base/settings"],
- s = {};
- void 0 !== o.disableP2P && (s.p2p = {
- enabled: !o.disableP2P
- });
- const l = Df(i, "resolution");
- return void 0 !== l && (s.resolution = l), !0 === a.config.doNotFlipLocalVideo && e(bn({
- localFlipX: !1
- })), e(ea(s)), void 0 !== window.config && (window.config = i["features/base/config"]), r
- }(e, t, n);
- case Fn:
- return function({
- dispatch: e
- }, t, n) {
- const {
- config: {
- doNotFlipLocalVideo: a
- }
- } = n;
- return !0 === a && e(bn({
- localFlipX: !1
- })), t(n)
- }(e, t, n)
- }
- return t(n)
- }));
- const jte = Je("features/base/jwt");
-
- function Pte(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
- }
- Be.register((e => t => n => {
- switch (n.type) {
- case Rn:
- case DI:
- return function({
- dispatch: e,
- getState: t
- }, n, a) {
- const r = n(a),
- {
- locationURL: i
- } = t()["features/base/connection"];
- return e(Pz(i ? Mz(i) : void 0)), r
- }(e, t, n);
- case jz:
- return function(e, t, n) {
- const {
- jwt: a,
- type: r
- } = n, i = function(e, t) {
- if (null == e) return {};
- var n, a, r = function(e, t) {
- if (null == e) return {};
- var n, a, r = {},
- i = Object.keys(e);
- for (a = 0; a < i.length; a++) n = i[a], t.indexOf(n) >= 0 || (r[n] = e[n]);
- return r
- }(e, t);
- if (Object.getOwnPropertySymbols) {
- var i = Object.getOwnPropertySymbols(e);
- for (a = 0; a < i.length; a++) n = i[a], t.indexOf(n) >= 0 || Object.prototype.propertyIsEnumerable.call(e, n) && (r[n] = e[n])
- }
- return r
- }(n, ["jwt", "type"]);
- if (!Object.keys(i).length)
- if (a) {
- let t;
- try {
- t = Tz()(a)
- } catch (e) {
- jte.error(e)
- }
- if (t) {
- const {
- context: r,
- iss: i,
- sub: o
- } = t;
- if (n.jwt = a, n.issuer = i, r) {
- const t = function({
- avatar: e,
- avatarUrl: t,
- email: n,
- id: a,
- name: r
- }) {
- const i = {};
- return "string" == typeof t ? i.avatarURL = t.trim() : "string" == typeof e && (i.avatarURL = e.trim()), "string" == typeof n && (i.email = n.trim()), "string" == typeof a && (i.id = a.trim()), "string" == typeof r && (i.name = r.trim()), Object.keys(i).length ? i : void 0
- }(r.user || {});
- n.callee = r.callee, n.group = r.group, n.server = r.server, n.tenant = r.tenant || o || void 0, n.user = t, t && function({
- dispatch: e,
- getState: t
- }, {
- avatarURL: n,
- email: a,
- name: r,
- features: i
- }) {
- let o;
- if ((n || a || r) && (o = Rh(t))) {
- const t = {
- id: o.id,
- local: !0
- };
- n && (t.avatarURL = n), a && (t.email = a), r && (t.name = r), i && (t.features = i), e(lk(t))
- }
- }(e, function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Pte(e, t, n[t])
- }))
- }
- return e
- }({}, t, {
- features: r.features
- }))
- }
- }
- } else if ("undefined" == typeof APP) {
- const {
- user: t
- } = e.getState()["features/base/jwt"];
- t && function({
- dispatch: e,
- getState: t
- }, {
- avatarURL: n,
- name: a,
- email: r
- }) {
- let i;
- if ((n || a || r) && (i = Rh(t))) {
- const t = {
- id: i.id,
- local: !0
- };
- n === i.avatarURL && (t.avatarURL = void 0), r === i.email && (t.email = void 0), a === i.name && (t.name = void 0), t.features = void 0, e(lk(t))
- }
- }(e, t)
- }
- return t(n)
- }(e, t, n)
- }
- return t(n)
- })), Be.register((e => t => n => {
- const a = t(n);
- switch (n.type) {
- case Ya:
- ! function({
- dispatch: e,
- getState: t
- }) {
- e(vn(Tn(ga(t)).host))
- }(e);
- break;
- case rN:
- ! function({
- dispatch: e,
- getState: t
- }) {
- const {
- locationURL: n
- } = t()["features/base/connection"];
- let a;
- n && (a = n.host) && e(vn(a))
- }(e)
- }
- return a
- }));
- const Dte = "APP_STATE_CHANGED",
- Tte = Je("features/base/lastn"),
- Ote = cj()((({
- dispatch: e,
- getState: t
- }) => {
- var n, a;
- const r = t(),
- {
- conference: i
- } = r["features/base/conference"];
- if (!i) return void Tte.debug("There is no active conference, not updating last N");
- const {
- enabled: o
- } = r["features/base/audio-only"], {
- appState: s
- } = r["features/background"] || {}, {
- enabled: l
- } = r["features/filmstrip"], c = r["features/base/config"], {
- lastNLimits: u,
- lastN: d
- } = r["features/base/lastn"], p = Bh(r);
- let h = d || (null !== (n = c.startLastN) && void 0 !== n ? n : null !== (a = c.channelLastN) && void 0 !== a ? a : -1);
- const m = function(e, t) {
- if (!t || !t.keys) return;
- let n;
- for (const a of t.keys()) e >= a && (n = a);
- return n ? t.get(n) : void 0
- }(p, u);
- if (void 0 !== m && (h = -1 === h ? m : Math.min(m, h)), void 0 !== s && "active" !== s) h = ns(r) ? 1 : 0;
- else if (o) {
- const {
- remoteScreenShares: e,
- tileViewEnabled: t
- } = r["features/video-layout"], n = r["features/large-video"].participantId, a = n ? Fh(r, n) : void 0;
- h = t || !a || a.local ? 0 : (e || []).includes(n) ? 1 : 0
- } else l || (h = 1);
- e(M8(h))
- }), 1e3);
- Be.register((e => t => n => {
- const a = t(n);
- switch (n.type) {
- case Dte:
- case UI:
- case qv:
- case Bv:
- case Uv:
- case fk:
- case iX:
- case $Q:
- case DJ:
- case gk:
- Ote(e)
- }
- return a
- }));
- const Mte = "SET_LOG_COLLECTOR",
- Ite = "SET_LOGGING_CONFIG";
-
- function Nte(e) {
- return {
- type: Mte,
- logCollector: e
- }
- }
- Be.register((e => t => n => {
- switch (n.type) {
- case y:
- "undefined" != typeof APP && function() {
- if (c.default.getGlobalOnErrorHandler) {
- const e = window.onerror;
- window.onerror = (t, n, a, r, i) => {
- const o = t || i && i.message,
- s = i && i.stack;
- c.default.getGlobalOnErrorHandler(o, n, a, r, s), e && e(t, n, a, r, i)
- };
- const t = window.onunhandledrejection;
- window.onunhandledrejection = function(e) {
- let n = e.reason,
- a = "n/a";
- e.reason instanceof Error && ({
- message: n,
- stack: a
- } = e.reason), c.default.getGlobalOnErrorHandler(n, null, null, null, a), t && t(e)
- }
- }
- }();
- break;
- case _te:
- c.default.setNetworkInfo({
- isOnline: n.isOnline
- });
- break;
- case Uv:
- n.participant.local && e.dispatch(ht());
- break;
- case Rn:
- return function({
- dispatch: e,
- getState: t
- }, n, a) {
- const {
- initialized: r
- } = t()["features/base/lib-jitsi-meet"];
- r && e(ht());
- const i = n(a);
- return e(function(e) {
- return {
- type: Ite,
- config: e
- }
- }(window.loggingConfig)), e(((e, t) => {
- const n = t(),
- a = n["features/base/config"];
- if (!a) throw new Error("Cannot init lib-jitsi-meet without config");
- e({
- type: y
- });
- try {
- c.default.init(function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- pt(e, t, n[t])
- }))
- }
- return e
- }({
- enableAnalyticsLogging: lt(t)
- }, a, {
- externalStorage: l.isLocalStorageDisabled() ? l : void 0
- })), c.default.setNetworkInfo({
- isOnline: m(n)
- }), e({
- type: g
- })
- } catch (t) {
- e(function(e) {
- return {
- type: b,
- error: e
- }
- }(t))
- }
- })), i
- }(e, t, n)
- }
- return t(n)
- }));
- class zte {
- constructor() {
- this.logs = []
- }
- isReady() {
- return !0
- }
- storeLogs(e) {
- for (let t = 0, n = e.length; t < n; t++) {
- const n = e[t];
- "object" == typeof n ? this.logs.push(n.text) : this.logs.push(n)
- }
- }
- getLogs() {
- return this.logs
- }
- }
- class Rte {
- constructor(e) {
- this.counter = 1, this.getState = e
- }
- isReady() {
- const {
- conference: e
- } = this.getState()["features/base/conference"];
- return Boolean(e)
- }
- storeLogs(e) {
- const t = yI(this.getState());
- if (!t || !t.isCallstatsEnabled()) return;
- let n = `{"log${this.counter}":"\n`;
- for (let t = 0, a = e.length; t < a; t++) {
- const a = e[t];
- a.timestamp && (n += `${a.timestamp} `), a.count > 1 && (n += `(${a.count}) `), n += `${a.text}\n`
- }
- n += '"}', this.counter += 1;
- try {
- t.sendApplicationLog(n)
- } catch (e) {
- console.error(`Failed to store the logs, msg length: ${n.length}error: ${JSON.stringify(e)}`)
- }
- }
- }
-
- function Lte(e, t) {
- e.setLogLevel(t.defaultLogLevel), Object.keys(t).forEach((n => "defaultLogLevel" === n || e.setLogLevelById(t[n], n)))
- }
-
- function Fte(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- qte(e, t, n[t])
- }))
- }
- return e
- }
-
- function qte(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
- }
- Be.register((e => t => n => {
- switch (n.type) {
- case Ya:
- return function({
- getState: e
- }, t, n) {
- const {
- config: a
- } = e()["features/base/logging"];
- return Lte(We(), a), "undefined" == typeof APP || Lte(c.default, a), t(n)
- }(e, t, n);
- case UI:
- return function({
- getState: e
- }, t, n) {
- const a = t(n),
- {
- conference: r
- } = n,
- {
- logCollector: i
- } = e()["features/base/logging"];
- return i && r === yI(e()) && (i.start(), i.flush(), r.on(bt.BEFORE_STATISTICS_DISPOSED, (() => i.flush()))), a
- }(e, t, n);
- case y:
- return function({
- getState: e
- }, t, n) {
- return "undefined" == typeof APP && Lte(c.default, e()["features/base/logging"].config), t(n)
- }(e, t, n);
- case Ite:
- return function({
- dispatch: e,
- getState: t
- }, n, a) {
- const r = n(a),
- i = t()["features/base/logging"].config,
- o = RX(t());
- return Lte(We(), i), Lte(c.default, i),
- function({
- dispatch: e,
- getState: t
- }, n, a) {
- const {
- logCollector: r
- } = t()["features/base/logging"];
- if (r || n.disableLogCollector) r && n.disableLogCollector && (We().removeGlobalTransport(r), c.default.removeGlobalLogTransport(r), r.stop(), e(Nte(void 0)));
- else {
- const n = new(We().LogCollector)(new Rte(t)),
- {
- apiLogLevels: r
- } = t()["features/base/config"];
- if (r && Array.isArray(r) && "object" == typeof APP) {
- const e = r.reduce(((e, t) => (e[t] = (...e) => {
- APP.API.notifyLog(t, e)
- }, e)), {});
- We().addGlobalTransport(e), c.default.addGlobalLogTransport(e)
- }
- if (We().addGlobalTransport(n), c.default.addGlobalLogTransport(n), e(Nte(n)), a && "object" == typeof APP) {
- APP.debugLogs = new zte;
- const e = new(We().LogCollector)(APP.debugLogs, {
- storeInterval: 1e3
- });
- We().addGlobalTransport(e), c.default.addGlobalLogTransport(e), e.start()
- }
- }
- }({
- dispatch: e,
- getState: t
- }, i, o), r
- }(e, t, n)
- }
- return t(n)
- }));
- const Bte = {
- available: !0,
- muted: !1
- },
- Ute = {
- available: !0,
- facingMode: Qi,
- muted: 0,
- transforms: {}
- };
- nt.register("features/base/media", ie({
- audio: function(e = Bte, t) {
- switch (t.type) {
- case nf:
- return Fte({}, e, {
- available: t.available
- });
- case tf:
- return Fte({}, e, {
- muted: t.muted
- });
- default:
- return e
- }
- },
- video: function(e = Ute, t) {
- switch (t.type) {
- case BI:
- case HI:
- return function(e) {
- return Fte({}, e, {
- transforms: Ute.transforms
- })
- }(e);
- case af:
- return Fte({}, e, {
- facingMode: t.cameraFacingMode
- });
- case rf:
- return Fte({}, e, {
- available: t.available
- });
- case of:
- return Fte({}, e, {
- muted: t.muted
- });
- case "STORE_VIDEO_TRANSFORM":
- return function(e, {
- streamId: t,
- transform: n
- }) {
- return Fte({}, e, {
- transforms: Fte({}, e.transforms, {
- [t]: n
- })
- })
- }(e, t);
- case sf: {
- let t = e.facingMode;
- return t = t === Qi ? Zi : Qi, Fte({}, e, {
- facingMode: t
- })
- }
- case uo:
- return function(e, {
- track: {
- jitsiTrack: t
- }
- }) {
- if (t) {
- const n = t.getStreamId();
- if (n && n in e.transforms) {
- const t = Fte({}, e.transforms);
- return delete t[n], Fte({}, e, {
- transforms: t
- })
- }
- }
- return e
- }(e, t);
- default:
- return e
- }
- }
- })), Be.register((e => t => n => {
- switch (n.type) {
- case Dte:
- return function({
- dispatch: e,
- getState: t
- }, n, a) {
- if ("ReactNative" === navigator.product) {
- const {
- appState: n
- } = a, r = "active" !== n && !ns(t());
- Ma(mn("video", "background mode", r)), e(cf(r, to, 2))
- }
- return n(a)
- }(e, t, n);
- case $Q:
- return function({
- dispatch: e
- }, t, n) {
- const {
- audioOnly: a,
- ensureVideoTrack: r
- } = n;
- return Ma(mn("video", "audio-only mode", a)), e(cf(a, to, 1, r)), "ReactNative" !== navigator.product && e(cf(a, eo, 1, r)), t(n)
- }(e, t, n);
- case rN:
- return function({
- dispatch: e,
- getState: t
- }, n, a) {
- const r = t(),
- {
- room: i
- } = a,
- o = wI(i),
- s = o ? vf(r) : Bte.muted,
- l = o ? kf(r) : Ute.muted;
- Ma(pn("local", s, l)), uf.log(`Start muted: ${s?"audio, ":""}${l?"video":""}`), e(lf(s)), e((Qi, {
- type: af,
- cameraFacingMode: "user"
- })), e(cf(l));
- const c = Boolean(ia(r, "startAudioOnly", {
- config: o,
- urlParams: !0,
- jwt: !1,
- settings: !0
- }));
- return Ma(function(e) {
- return {
- action: "start.audio.only",
- attributes: {
- enabled: e
- }
- }
- }(c)), uf.log(`Start audio only set to ${c.toString()}`), e(ZQ(c, !1)), n(a)
- }(e, t, n);
- case oo: {
- const a = t(n),
- {
- track: r
- } = n;
- return r.local && "desktop" !== r.videoType && function({
- getState: e
- }, t) {
- const n = e()["features/base/media"],
- a = t.mediaType === eo ? to : t.mediaType,
- r = Boolean(n[a].muted);
- t.muted !== r && (Ma(function(e, t) {
- return {
- action: "sync.track.state",
- attributes: {
- media_type: e,
- muted: t
- }
- }
- }(t.mediaType, r)), uf.log(`Sync ${t.mediaType} track muted state to ${r?"muted":"unmuted"}`), t.muted = r, is(t.jitsiTrack, r))
- }(e, r), a
- }
- case tf: {
- const t = e.getState(),
- a = Rh(t);
- if (!n.muted && Cm(a, Xi, t)) return;
- break
- }
- case of: {
- const t = e.getState(),
- a = Rh(t);
- if (!n.muted && Cm(a, to, t)) return;
- break
- }
- }
- return t(n)
- }));
- const Hte = "network-info-online-status-change";
- class Vte extends(o()) {
- constructor() {
- super(), this._onlineStateListener = this._handleOnlineStatusChange.bind(this, !0), this._offlineStateListener = this._handleOnlineStatusChange.bind(this, !1)
- }
- _handleOnlineStatusChange(e) {
- this.emit(Hte, {
- isOnline: e
- })
- }
- static isSupported() {
- return window.addEventListener && void 0 !== navigator.onLine
- }
- start() {
- window.addEventListener("online", this._onlineStateListener), window.addEventListener("offline", this._offlineStateListener)
- }
- stop() {
- window.removeEventListener("online", this._onlineStateListener), window.removeEventListener("offline", this._offlineStateListener)
- }
- }
-
- function Wte(e) {
- return {
- type: wte,
- cleanup: e
- }
- }
- const Yte = Je("features/base/net-info");
- Be.register((({
- dispatch: e,
- getState: t
- }) => n => a => {
- const r = n(a);
- switch (a.type) {
- case Ya:
- if (Vte.isSupported()) {
- const t = new Vte,
- n = () => {
- t.stop(), t.removeAllListeners()
- };
- t.addListener(Hte, (({
- isOnline: t,
- networkType: n,
- details: a
- }) => {
- Yte.info("Network changed", JSON.stringify({
- isOnline: t,
- details: a,
- networkType: n
- })), e(function({
- isOnline: e,
- networkType: t,
- details: n
- }) {
- return {
- type: _te,
- isOnline: e,
- networkType: t,
- details: n
- }
- }({
- isOnline: t,
- networkType: n,
- details: a
- }))
- })), e(Wte(n)), t.start()
- }
- break;
- case Ga: {
- const {
- _cleanup: n
- } = t()[h];
- n && (n(), e(Wte(void 0)))
- }
- }
- return r
- }));
-
- function Gte(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
- }
-
- function Kte({
- getState: e,
- dispatch: t
- }, n, a, r) {
- const i = "true" === r,
- {
- maxMode: o
- } = e()["features/e2ee"] || {};
- o === O4 && i || t(x4(i)), t(lk({
- conference: n,
- id: a,
- e2eeEnabled: i
- }))
- }
-
- function $te({
- getState: e,
- dispatch: t
- }, n) {
- const a = e(),
- {
- startAudioMuted: r
- } = a["features/base/config"],
- {
- soundsParticipantJoined: i,
- soundsParticipantLeft: o
- } = a["features/base/settings"];
- if (!n.participant.local && (!r || Bh(a) < r)) {
- const {
- isReplacing: e,
- isReplaced: a
- } = n.participant;
- if (n.type === qv) {
- if (!i) return;
- const {
- presence: a
- } = n.participant;
- a === mK || a === fK || e || t(Gi(Ph))
- } else n.type === Uv && !a && o && t(Gi(Dh))
- }
- }
-
- function Jte(e, t, n) {
- const {
- dispatch: a,
- getState: r
- } = e, {
- participant: {
- avatarURL: i,
- email: o,
- id: s,
- local: l,
- name: c,
- raisedHand: u
- }
- } = n;
- if (void 0 !== u && l) {
- const {
- conference: e
- } = r()["features/base/conference"];
- e && u !== Rh(r()).raisedHand && e.setLocalParticipantProperty("raisedHand", u)
- }
- const d = t(n);
- if (Object.keys(r()["features/base/config"]).length) {
- const {
- disableThirdPartyRequests: t
- } = r()["features/base/config"];
- if (!t && (i || o || s || c)) {
- const t = !s && l ? Rh(r()).id : s;
- zh(Fh(r(), t), e).then((e => {
- a(function(e, t) {
- return {
- type: Gv,
- participant: {
- id: e,
- loadableAvatarUrl: t
- }
- }
- }(t, e))
- }))
- }
- }
- if ("object" == typeof APP) {
- const e = l ? APP.conference.getMyUserId() : s;
- APP.UI.refreshAvatarDisplay(e)
- }
- return d
- }
-
- function Zte({
- dispatch: e,
- getState: t
- }, n, a, r) {
- const i = "true" === r,
- o = t();
- e(lk({
- conference: n,
- id: a,
- raisedHand: i
- })), e(hk({
- id: a,
- raisedHand: i
- })), "undefined" != typeof APP && APP.API.notifyRaiseHandUpdated(a, i);
- const s = Jh(o),
- l = Fh(o, a);
- let c = !1;
- s && (c = Cm(l, Xi, o) || Cm(l, to, o));
- const u = c ? {
- customActionNameKey: "notify.allowAction",
- customActionHandler: () => e(Wm(a))
- } : {};
- i && (e(Yf(function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Gte(e, t, n[t])
- }))
- }
- return e
- }({
- titleKey: "notify.somebody",
- title: Hh(o, a),
- descriptionKey: "notify.raisedHand",
- raiseHandNotification: !0,
- concatText: !0
- }, u), zf * (c ? 2 : 1))), e(Gi(hJ)))
- }
- Be.register((e => t => n => {
- switch (n.type) {
- case Ya:
- return function({
- dispatch: e
- }) {
- e(Ki(Ph, "joined.wav")), e(Ki(Dh, "left.wav"))
- }(e),
- function({
- getState: e,
- dispatch: t
- }, n, a) {
- const r = n(a),
- i = e()["features/base/settings"];
- return t(function(e = {}) {
- return ak(Le(e, "local", !0))
- }({
- avatarURL: i.avatarURL,
- email: i.email,
- name: i.displayName
- })), r
- }(e, t, n);
- case Ga:
- return function({
- dispatch: e
- }) {
- e(Ji(Ph)), e(Ji(Dh))
- }(e),
- function({
- dispatch: e
- }, t, n) {
- const a = t(n);
- return e(((e, t) => {
- const n = Rh(t);
- if (n) return e(ik(n.id, void 0))
- })), a
- }(e, t, n);
- case GI:
- e.dispatch(tk(n.conference.myUserId()));
- break;
- case Nv: {
- const {
- conference: t,
- id: a
- } = n.participant, r = e.getState(), i = Rh(r), o = i && i.id === a;
- if (o && void 0 === i.raisedHand) break;
- (function(e) {
- var t;
- return (null === (t = e["features/base/config"]) || void 0 === t ? void 0 : t.disableRemoveRaisedHandOnFocus) || !1
- })(r) || i && e.dispatch(lk({
- conference: t,
- id: a,
- local: o,
- raisedHand: !1
- }));
- break
- }
- case zv: {
- const {
- conference: t
- } = e.getState()["features/base/conference"];
- t.grantOwner(n.id);
- break
- }
- case Rv: {
- const {
- conference: t
- } = e.getState()["features/base/conference"];
- t.kickParticipant(n.id);
- break
- }
- case Kv: {
- var a;
- const {
- enabled: t
- } = n, r = null === (a = Rh(e.getState())) || void 0 === a ? void 0 : a.id;
- e.dispatch(hk({
- id: r,
- raisedHand: t
- })), e.dispatch(lk({
- id: r,
- local: !0,
- raisedHand: t
- })), "undefined" != typeof APP && APP.API.notifyRaiseHandUpdated(r, t);
- break
- }
- case Lv: {
- const {
- conference: t
- } = e.getState()["features/base/conference"];
- t.muteParticipant(n.id, n.mediaType);
- break
- }
- case "PARTICIPANT_DISPLAY_NAME_CHANGED":
- if ("undefined" != typeof APP) {
- const t = Rh(e.getState());
- t && t.id === n.id && APP.UI.emitEvent(sQ.NICKNAME_CHANGED, n.name)
- }
- break;
- case $v: {
- const {
- participant: t
- } = n, a = Zh(e.getState());
- if (t.raisedHand) a.push(t.id), n.queue = a;
- else {
- const e = a.filter((e => e !== t.id));
- n.queue = e
- }
- break
- }
- case qv:
- return $te(e, n), Jte(e, t, n);
- case Uv:
- $te(e, n);
- break;
- case Hv:
- return Jte(e, t, n)
- }
- return t(n)
- })), at.register((e => yI(e)), ((e, {
- dispatch: t,
- getState: n
- }) => {
- (0, Te.unstable_batchedUpdates)((() => {
- for (const [a, r] of Wh(n()))(!e || r.conference !== e) && t(ik(a, r.conference, r.isReplaced))
- }))
- })), at.register((e => e["features/base/conference"]), (({
- leaving: e
- }, {
- dispatch: t,
- getState: n
- }) => {
- const a = n(),
- r = Rh(a);
- let i;
- if (!r || (i = r.id) === jh) return;
- const o = mI(a, (t => t === e || t.myUserId() !== i));
- o && t(tk(jh))
- })), at.register((e => e["features/base/conference"].conference), ((e, t) => {
- if (e) {
- const n = {
- "e2ee.enabled": (n, a) => Kte(t, e, n.getId(), a),
- features_e2ee: (n, a) => t.dispatch(lk({
- conference: e,
- id: n.getId(),
- e2eeSupported: a
- })),
- features_jigasi: (n, a) => t.dispatch(lk({
- conference: e,
- id: n.getId(),
- isJigasi: a
- })),
- "features_screen-sharing": (n, a) => t.dispatch(lk({
- conference: e,
- id: n.getId(),
- features: {
- "screen-sharing": !0
- }
- })),
- raisedHand: (n, a) => Zte(t, e, n.getId(), a),
- remoteControlSessionStatus: (n, a) => t.dispatch(lk({
- conference: e,
- id: n.getId(),
- remoteControlSessionStatus: a
- }))
- };
- e.getParticipants().forEach((e => {
- Object.keys(n).forEach((t => {
- const a = e.getProperty(t);
- void 0 !== a && n[t](e, a)
- }))
- })), e.on(bt.PARTICIPANT_PROPERTY_CHANGED, ((e, t, a, r) => {
- n.hasOwnProperty(t) && n[t](e, r)
- }))
- } else {
- const n = Rh(t.getState).id;
- Kte(t, e, n, !1), Zte(t, e, n, !1)
- }
- }));
- const Qte = k().throttle((e => et.persistState(e)), 2e3);
- let Xte;
-
- function ene(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- tne(e, t, n[t])
- }))
- }
- return e
- }
-
- function tne(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
- }
- "function" == typeof window.addEventListener && window.addEventListener("unload", (() => {
- Qte.flush()
- })), Be.register((e => t => n => {
- const a = qe(e),
- r = t(n),
- i = qe(e);
- return a === i || Qte(i), r
- })), Be.register((e => t => n => {
- const a = t(n);
- switch (n.type) {
- case Ga:
- window.removeEventListener("resize", Xte), Xte = void 0;
- break;
- case Ya:
- ! function(e) {
- Xte = () => {
- const {
- innerHeight: t,
- innerWidth: n
- } = window;
- e.dispatch(p0(n, t))
- }, window.addEventListener("resize", Xte)
- }(e)
- }
- return a
- })), Be.register((e => t => n => {
- const a = t(n);
- switch (n.type) {
- case Ya:
- ! function({
- getState: e
- }) {
- const {
- disableCallIntegration: t
- } = e()["features/base/settings"]
- }(e);
- break;
- case zR:
- ! function({
- dispatch: e,
- getState: t
- }) {
- const n = t();
- if (Boolean(n["features/base/jwt"].jwt)) {
- const t = function(e) {
- const {
- user: t
- } = e["features/base/jwt"];
- return null == t ? void 0 : t.name
- }(n);
- t && e(bn({
- displayName: t
- }))
- }
- }(e);
- break;
- case gn:
- ! function({
- dispatch: e
- }, {
- settings: {
- startAudioOnly: t
- }
- }) {
- "boolean" == typeof t && e(ZQ(t, !0))
- }(e, n),
- function({
- dispatch: e,
- getState: t
- }, n) {
- const {
- settings: a
- } = n, r = ene({}, Rh(t()));
- for (const e in a) a.hasOwnProperty(e) && (r[(i = e, "displayName" === i ? "name" : i)] = a[e]);
- var i;
- e(lk(r))
- }(e, n);
- break;
- case DI:
- ! function({
- dispatch: e,
- getState: t
- }) {
- const n = Lt(t()["features/base/connection"].locationURL),
- a = n["userInfo.email"],
- r = n["userInfo.displayName"];
- if (!a && !r) return;
- const i = Rh(t());
- if (i) {
- const t = k().escape(r),
- n = k().escape(a);
- e(lk(ene({}, i, {
- email: n,
- name: t
- }))), e(bn({
- displayName: t,
- email: n
- }))
- }
- }(e)
- }
- return a
- }));
- const nne = Je("features/base/sounds");
- Be.register((e => t => n => {
- switch (n.type) {
- case Ui:
- ! function({
- getState: e
- }, t) {
- const n = e()["features/base/sounds"].get(t);
- n ? n.audioElement ? n.audioElement.play() : nne.warn(`PLAY_SOUND: sound not loaded yet for id: ${t}`) : nne.warn(`PLAY_SOUND: no sound found for id: ${t}`)
- }(e, n.soundId);
- break;
- case Vi:
- ! function({
- getState: e
- }, t) {
- const n = e()["features/base/sounds"].get(t);
- if (n) {
- const {
- audioElement: e
- } = n;
- e ? e.stop() : nne.warn(`STOP_SOUND: sound not loaded yet for id: ${t}`)
- } else nne.warn(`STOP_SOUND: no sound found for id: ${t}`)
- }(e, n.soundId)
- }
- return t(n)
- }));
- const ane = "SET_CONNECTION_STATE",
- rne = Je("features/base/testing");
-
- function ine(e, t) {
- switch (e) {
- case bt.CONNECTION_ESTABLISHED:
- case bt.CONNECTION_INTERRUPTED:
- case bt.CONNECTION_RESTORED:
- t({
- type: ane,
- connectionState: e
- });
- break;
- default:
- rne.error(`onConnectionEvent - unsupported event type: ${e}`)
- }
- }
-
- function one({
- getState: e
- }, t, n = !1) {
- return Yo(e()["features/base/tracks"], t, n)
- }
-
- function sne({
- getState: e,
- dispatch: t
- }, n) {
- const a = Xo(e()["features/base/tracks"], n.jitsiTrack),
- {
- jitsiTrack: r,
- noDataFromSourceNotificationInfo: i = {}
- } = a || {};
- i && i.uid && (t(Vf(i.uid)), t(hs(r, void 0)))
- }
-
- function lne(e, {
- ensureTrack: t,
- authority: n,
- muted: a
- }, r) {
- const i = one(e, r, !0);
- if (i) {
- const {
- jitsiTrack: e
- } = i, t = 1 === n;
- e && ("desktop" !== e.videoType || t) && is(e, a)
- } else a || !t || "undefined" != typeof APP && !iL(e.getState()) || e.dispatch(ss({
- devices: [r]
- }))
- }
- Be.register((e => t => n => {
- switch (n.type) {
- case GI:
- ! function(e, {
- dispatch: t
- }) {
- e.on(bt.CONNECTION_ESTABLISHED, ine.bind(null, bt.CONNECTION_ESTABLISHED, t)), e.on(bt.CONNECTION_RESTORED, ine.bind(null, bt.CONNECTION_RESTORED, t)), e.on(bt.CONNECTION_INTERRUPTED, ine.bind(null, bt.CONNECTION_INTERRUPTED, t))
- }(n.conference, e);
- break;
- case Rn: {
- const a = t(n);
- return function(e) {
- const {
- getState: t
- } = e;
- RX(t()) && (It().testing = {
- getRemoteVideoType: LX.bind(null, e),
- isLargeVideoReceived: FX.bind(null, e),
- isRemoteVideoReceived: qX.bind(null, e)
- })
- }(e), a
- }
- }
- return t(n)
- })), at.register((e => e["features/base/tracks"].filter((e => "desktop" === e.videoType)).map((e => e.participantId))), ((e, t, n) => {
- "object" == typeof APP && (k().isEqual(k().sortBy(e), k().sortBy(n)) || APP.API.notifySharingParticipantsChanged(e))
- })), at.register((e => es(e["features/base/tracks"])), ((e, t, n) => {
- "object" == typeof APP && e !== n && APP.API.notifyVideoMutedStatusChanged(e)
- })), Be.register((e => t => n => {
- switch (n.type) {
- case oo:
- n.track.local && e.dispatch(YM());
- break;
- case co: {
- const a = t(n);
- return function(e, t) {
- const {
- getState: n,
- dispatch: a
- } = e, r = Xo(n()["features/base/tracks"], t.track.jitsiTrack);
- if (!r || !r.local) return;
- const {
- jitsiTrack: i
- } = r;
- if (r.mediaType === Xi && r.isReceivingData && sne(e, t.track), r.mediaType === to) {
- const {
- noDataFromSourceNotificationInfo: n = {}
- } = r;
- if (r.isReceivingData) n.timeout && (clearTimeout(n.timeout), a(hs(i, void 0))), sne(e, t.track);
- else {
- if (n.timeout) return;
- const e = setTimeout((() => a(cs(i))), 5e3);
- a(hs(i, {
- timeout: e
- }))
- }
- }
- }(e, n), a
- }
- case uo:
- sne(e, n.track);
- break;
- case tf:
- if (!n.muted && rs(e.getState())) return;
- lne(e, n, Xi);
- break;
- case af: {
- const t = one(e, to);
- let a;
- t && (a = t.jitsiTrack) && a.getCameraFacingMode() !== n.cameraFacingMode && e.dispatch({
- type: sf
- });
- break
- }
- case of:
- if (!n.muted && rs(e.getState())) return;
- lne(e, n, n.mediaType);
- break;
- case sf: {
- const t = one(e, to);
- let n;
- if (t && (n = t.jitsiTrack)) {
- n._switchCamera();
- const t = n.getCameraFacingMode() === Qi;
- e.dispatch({
- type: ho,
- track: {
- jitsiTrack: n,
- mirror: t
- }
- })
- }
- break
- }
- case io:
- if ("object" == typeof APP) {
- if ((n.enabled || void 0 === n.enabled) && dm(to, e.getState())) return void(Dv(eo, e.getState()) || e.dispatch(Xm(eo)));
- const {
- enabled: t,
- audioOnly: a,
- ignoreDidHaveVideo: r
- } = n;
- APP.UI.emitEvent(sQ.TOGGLE_SCREENSHARING, {
- enabled: t,
- audioOnly: a,
- ignoreDidHaveVideo: r
- })
- }
- break;
- case ho:
- if ("undefined" != typeof APP) {
- const a = t(n);
- if (iL(e.getState())) return a;
- const {
- jitsiTrack: r
- } = n.track, i = r.isMuted(), o = r.getParticipantId();
- return r.type !== Xi ? r.type === eo ? APP.conference.mutePresenter(i) : r.isLocal() && r.videoType !== ao ? APP.conference.setVideoMuteStatus() : r.isLocal() && i && r.videoType === ao ? e.dispatch(us(!1, !1, !0)) : APP.UI.setVideoMuted(o) : r.isLocal() ? APP.conference.setAudioMuteStatus(i) : APP.UI.setAudioMuted(o, i), a
- }
- }
- return t(n)
- }));
- const cne = "USER_INTERACTION_RECEIVED";
- let une = null;
-
- function dne(e, t) {
- t.isTrusted && (e({
- type: cne
- }), pne())
+ return !0
+ })), this.notifyBrowserSupport(pY()))
}
-
- function pne() {
- window.removeEventListener("mousedown", une), window.removeEventListener("keydown", une), une = null
+ notifyLargeVideoVisibilityChanged(e) {
+ this._sendEvent({
+ name: "large-video-visibility-changed",
+ isVisible: !e
+ })
}
- Be.register((e => t => n => {
- switch (n.type) {
- case Ya:
- ! function({
- dispatch: e
- }) {
- pne(), une = dne.bind(null, e), window.addEventListener("mousedown", une), window.addEventListener("keydown", une)
- }(e);
- break;
- case Ga:
- pne()
- }
- return t(n)
- })), Be.register((e => t => n => {
- const {
- getState: a
- } = e;
- if (!w$(a)) return t(n);
- switch (n.type) {
- case yn: {
- const r = a()["features/base/known-domains"],
- i = t(n);
- return Re(r, a()["features/base/known-domains"]) || S$(e), i
- }
- case Dte: {
- const a = t(n);
- return function(e, {
- appState: t
- }) {
- "background" === t && e.dispatch((void 0, {
- type: $K,
- authorization: undefined
- }))
- }(e, n), a
- }
- case Rn: {
- const a = t(n);
- return S$(e), a
- }
- case KK: {
- const a = t(n);
- return S$(e, n.isInteractive, n.forcePermission), a
- }
- }
- return t(n)
- }));
- const hne = "SET_ACTIVE_MODAL_ID";
-
- function mne(e, t = {}) {
- return {
- activeModalId: e,
- modalProps: t,
- type: hne
- }
+ sendProxyConnectionEvent(e) {
+ this._sendEvent({
+ name: "proxy-connection-event",
+ ...e
+ })
}
-
- function fne({
- dispatch: e,
- getState: t
- }, {
- id: n,
- message: a,
- privateMessage: r,
- timestamp: i
- }, o = !0, s = !1) {
- const l = t(),
- {
- isOpen: c
- } = l["features/chat"],
- {
- iAmRecorder: u
- } = l["features/base/config"],
- {
- soundsIncomingMessage: d
- } = l["features/base/settings"];
- d && o && !c && e(Gi(r0));
- const p = Fh(l, n) || {},
- h = Rh(t),
- m = Hh(l, n),
- f = p.local || c,
- g = (i ? new Date(i) : new Date).getTime();
- e(B3({
- displayName: m,
- hasRead: f,
- id: n,
- messageType: p.local ? o0 : s0,
- message: a,
- privateMessage: r,
- recipient: Hh(l, h.id),
- timestamp: g,
- isReaction: s
- })), "undefined" != typeof APP && (APP.API.notifyReceivedChatMessage({
- body: a,
- id: n,
- nick: m,
- privateMessage: r,
- ts: i
- }), u || e(BV(4e3)))
+ _sendEvent() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
+ this._enabled && Ite.sendEvent(e)
}
- Be.register((e => t => n => {
- const {
- dispatch: a,
- getState: r
- } = e, i = Rh(r());
- let o, s;
- switch (n.type) {
- case M3:
- s = T5(r()), n.isReaction ? n.hasRead = !1 : s = n.hasRead ? 0 : s + 1, o = r()["features/chat"].isOpen, "undefined" != typeof APP && APP.API.notifyChatUpdated(s, o);
- break;
- case Ya:
- a(Ki(r0, "incomingMessage.wav"));
- break;
- case Ga:
- a(Ji(r0));
- break;
- case UI:
- ! function(e, t) {
- t.getState()["features/base/config"].iAmRecorder || (e.on(bt.MESSAGE_RECEIVED, ((e, n, a) => {
- fne(t, {
- id: e,
- message: n,
- privateMessage: !1,
- timestamp: a
- })
- })), e.on(bt.PRIVATE_MESSAGE_RECEIVED, ((e, n, a) => {
- fne(t, {
- id: e,
- message: n,
- privateMessage: !0,
- timestamp: a
- })
- })), e.on(bt.ENDPOINT_MESSAGE_RECEIVED, ((...e) => {
- if (_J(t.getState()) && (t.dispatch(Fa(...e)), e && e.length >= 2)) {
- const [{
- _id: n
- }, a] = e;
- a.name === pJ && (t.dispatch(s4(a.reactions)), fne(t, {
- id: n,
- message: yJ(a.reactions),
- privateMessage: !1,
- timestamp: a.timestamp
- }, !1, !0))
- }
- })), e.on(bt.CONFERENCE_ERROR, ((e, n) => {
- e === gt.CHAT_ERROR && function({
- dispatch: e
- }, t) {
- e(B3({
- hasRead: !0,
- messageType: i0,
- message: t,
- privateMessage: !1,
- timestamp: Date.now()
- }))
- }(t, n)
- })))
- }(n.conference, e);
- break;
- case z3:
- "ReactNative" === navigator.product ? i.name ? a(mne(a0)) : a(OH((() => {
- a(mne(a0))
- }))) : a(mne(a0)), s = 0, "undefined" != typeof APP && APP.API.notifyChatUpdated(s, !0);
- break;
- case N3: {
- const e = r()["features/chat"].isPollsTabFocused;
- s = 0, "undefined" != typeof APP && APP.API.notifyChatUpdated(s, !1), e && a(t5()), a(mne());
- break
- }
- case F3:
- a(t5());
- break;
- case R3: {
- const t = e.getState(),
- {
- conference: r
- } = t["features/base/conference"];
- if (r) {
- const i = function(e, t) {
- if (t.ignorePrivacy) return;
- const {
- messages: n,
- privateMessageRecipient: a
- } = e["features/chat"];
- if (a) return;
- if (!n.length) return;
- const r = "ReactNative" === navigator.product ? n[0] : n[n.length - 1];
- if (r.messageType === o0) return;
- if (r.privateMessage) return r.id;
- const i = Date.now(),
- o = n.filter((e => e.messageType !== o0 && e.privateMessage && e.timestamp + 2e4 > i)),
- s = "ReactNative" === navigator.product ? o[0] : o[o.length - 1];
- return s ? s.id : void 0
- }(t, n);
- if (i) a(sP(a6, {
- message: n.message,
- participantID: i
- }));
- else {
- const {
- privateMessageRecipient: a
- } = t["features/chat"];
- "undefined" != typeof APP && APP.API.notifySendingChatMessage(n.message, Boolean(a)), a ? (r.sendPrivateTextMessage(a.id, n.message), function({
- dispatch: e,
- getState: t
- }, n, a) {
- const r = Rh(t);
- e(B3({
- displayName: Hh(t, r.id),
- hasRead: !0,
- id: r.id,
- messageType: o0,
- message: a,
- privateMessage: !0,
- recipient: Hh(t, n),
- timestamp: Date.now()
- }))
- }(e, a.id, n.message)) : r.sendTextMessage(n.message)
- }
- }
- break
- }
- case e4:
- fne(e, {
- id: i.id,
- message: n.message,
- privateMessage: !1,
- timestamp: Date.now()
- }, !1, !0)
- }
- return t(n)
- })), at.register((e => yI(e)), ((e, {
- dispatch: t,
- getState: n
- }, a) => {
- e !== a && (n()["features/chat"].isOpen && t(U3()), t({
- type: I3
- }))
- })), at.register((e => e["features/chat"].isOpen), ((e, {
- dispatch: t
- }) => {
- "undefined" != typeof APP && e && t(BV())
- })), Be.register((e => t => n => {
- const a = t(n);
- switch (n.type) {
- case UI:
- case u0: {
- const {
- dispatch: t,
- getState: n
- } = e, a = n(), {
- reducedUI: r
- } = a["features/base/responsive-ui"];
- t(NV(!r)), t({
- type: DJ,
- enabled: !r
- });
- break
- }
- case JI: {
- const {
- dispatch: t
- } = e;
- t((r = n.participant, (e, t) => {
- if (!r || r.isReplaced && r.isReplaced()) return;
- const n = {
- participantDisplayName: Hh(t, r.getId())
- };
- e(Yf({
- appearance: Rf,
- hideErrorSupportLink: !0,
- descriptionKey: "dialog.kickMessage",
- descriptionArguments: n,
- titleKey: "dialog.kickTitle",
- titleArguments: n
- }))
- }));
- break
- }
- }
- var r;
- return a
- })), at.register((e => yI(e)), ((e, {
- dispatch: t,
- getState: n
- }, a) => {
- const {
- authRequired: r,
- membersOnly: i,
- passwordRequired: o
- } = n()["features/base/conference"];
- e !== a && (t(dk(null)), void 0 !== r || void 0 !== o || void 0 !== i || iP(n(), eV) || t(oP()), t(mne()))
- })), Be.register((e => e => t => (t.type === UI && EX.startListeningForStats(t.conference), e(t))));
- const gne = "OPEN_DESKTOP_APP",
- bne = "OPEN_WEB_APP";
-
- function yne() {
- return e => {
- e({
- type: bne
- }), e(KN())
- }
+ notifyChatUpdated(e, t) {
+ this._sendEvent({
+ name: "chat-updated",
+ unreadCount: e,
+ isOpen: t
+ })
}
- const vne = "deepLinking";
- class kne extends E.Component {
- constructor(e) {
- super(e), this._onLaunchWeb = this._onLaunchWeb.bind(this), this._onTryAgain = this._onTryAgain.bind(this)
- }
- componentDidMount() {
- Ma(Xt("displayed", "DeepLinkingDesktop", {
- isMobileBrowser: !1
- }))
- }
- render() {
- const {
- t: e
- } = this.props, {
- HIDE_DEEP_LINKING_LOGO: t,
- NATIVE_APP_NAME: n,
- SHOW_DEEP_LINKING_IMAGE: a
- } = interfaceConfig, r = a ? null : {
- width: "100%"
- };
- return x().createElement(Mee, {
- mode: "light"
- }, x().createElement("div", {
- className: "deep-linking-desktop"
- }, x().createElement("div", {
- className: "header"
- }, t ? null : x().createElement("img", {
- alt: e("welcomepage.logo.logoDeepLinking"),
- className: "logo",
- src: "images/logo-deep-linking.png"
- })), x().createElement("div", {
- className: "content"
- }, a ? x().createElement("div", {
- className: "leftColumn"
- }, x().createElement("div", {
- className: "leftColumnContent"
- }, x().createElement("div", {
- className: "image"
- }))) : null, x().createElement("div", {
- className: "rightColumn",
- style: r
- }, x().createElement("div", {
- className: "rightColumnContent"
- }, x().createElement("h1", {
- className: "title"
- }, e(`${vne}.title`, {
- app: n
- })), x().createElement("p", {
- className: "description"
- }, e(`${vne}.${JV()?"description":"descriptionWithoutWeb"}`, {
- app: n
- })), x().createElement("div", {
- className: "buttons"
- }, x().createElement(mP, null, x().createElement(nS, {
- appearance: "default",
- onClick: this._onTryAgain
- }, e(`${vne}.tryAgainButton`)), JV() && x().createElement(nS, {
- onClick: this._onLaunchWeb
- }, e(`${vne}.launchWebButton`)))))))))
- }
- _onTryAgain() {
- Ma(Xt("clicked", "tryAgainButton", {
- isMobileBrowser: !1
- })), this.props.dispatch({
- type: gne
- })
- }
- _onLaunchWeb() {
- Ma(Xt("clicked", "launchWebButton", {
- isMobileBrowser: !1
- })), this.props.dispatch(yne())
- }
+ notifySendingChatMessage(e, t) {
+ this._sendEvent({
+ name: "outgoing-message",
+ message: e,
+ privateMessage: t
+ })
}
- const _ne = Li(ze()(kne));
-
- function wne() {
- return wne = Object.assign || function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t];
- for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
- }
- return e
- }, wne.apply(this, arguments)
+ notifyMouseEnter(e) {
+ this._sendEvent({
+ name: "mouse-enter",
+ event: zte(e)
+ })
}
- const Sne = "deep-linking-mobile";
- class Ene extends E.Component {
- constructor(e) {
- super(e), this._onDownloadApp = this._onDownloadApp.bind(this), this._onLaunchWeb = this._onLaunchWeb.bind(this), this._onOpenApp = this._onOpenApp.bind(this)
- }
- componentDidMount() {
- Ma(Xt("displayed", "DeepLinkingMobile", {
- isMobileBrowser: !0
- }))
- }
- render() {
- const {
- _downloadUrl: e,
- _room: t,
- t: n
- } = this.props, {
- HIDE_DEEP_LINKING_LOGO: a,
- NATIVE_APP_NAME: r,
- SHOW_DEEP_LINKING_IMAGE: i
- } = interfaceConfig, o = `${Sne}__button ${Sne}__button_primary`, s = e ? {} : {
- target: "_blank",
- rel: "noopener noreferrer"
- };
- return x().createElement("div", {
- className: Sne
- }, x().createElement("div", {
- className: "header"
- }, a ? null : x().createElement("img", {
- alt: n("welcomepage.logo.logoDeepLinking"),
- className: "logo",
- src: "images/logo-deep-linking.png"
- })), x().createElement("div", {
- className: `${Sne}__body`
- }, i ? x().createElement("img", {
- alt: n("welcomepage.logo.logoDeepLinking"),
- className: "image",
- src: "images/deep-linking-image.png"
- }) : null, x().createElement("p", {
- className: `${Sne}__text`
- }, n(`${vne}.appNotInstalled`, {
- app: r
- })), x().createElement("p", {
- className: `${Sne}__text`
- }, n(`${vne}.ifHaveApp`)), x().createElement("a", wne({}, s, {
- className: `${Sne}__href`,
- href: jne(),
- onClick: this._onOpenApp,
- target: "_top"
- }), x().createElement("button", {
- className: `${Sne}__button ${Sne}__button_primary`
- }, n(`${vne}.joinInApp`))), x().createElement("p", {
- className: `${Sne}__text`
- }, n(`${vne}.ifDoNotHaveApp`)), x().createElement("a", wne({}, s, {
- href: this._generateDownloadURL(),
- onClick: this._onDownloadApp,
- target: "_top"
- }), x().createElement("button", {
- className: o
- }, n(`${vne}.downloadApp`))), ("android" === wa.OS && YV.isChromiumBased() || "android" === wa.OS && YV.isFirefox() || "ios" === wa.OS && YV.isWebKitBased()) && x().createElement("a", {
- onClick: this._onLaunchWeb,
- target: "_top"
- }, x().createElement("button", {
- className: o
- }, n(`${vne}.launchWebButton`))), null, x().createElement(hK, {
- className: "deep-linking-dial-in",
- clickableNumbers: !0,
- room: t
- })))
- }
- _generateDownloadURL() {
- var e;
- const {
- _downloadUrl: t
- } = this.props;
- if (t && void 0 === interfaceConfig.MOBILE_DYNAMIC_LINK) return t;
- const {
- APN: n = "org.jitsi.meet",
- APP_CODE: a = "w2atb",
- CUSTOM_DOMAIN: r,
- IBI: i = "com.atlassian.JitsiMeet.ios",
- ISI: o = "1165103905"
- } = interfaceConfig.MOBILE_DYNAMIC_LINK || {}, s = null !== (e = r) && void 0 !== e ? e : `https://${a}.app.goo.gl`, l = interfaceConfig.APP_SCHEME || "org.jitsi.meet";
- return `${s}/?link=${encodeURIComponent(window.location.href)}&apn=${n}&ibi=${i}&isi=${o}&ius=${l}&efr=1`
- }
- _onDownloadApp() {
- Ma(Xt("clicked", "downloadAppButton", {
- isMobileBrowser: !0
- }))
- }
- _onLaunchWeb() {
- Ma(Xt("clicked", "launchWebButton", {
- isMobileBrowser: !0
- })), this.props.dispatch(yne())
- }
- _onOpenApp() {
- Ma(Xt("clicked", "openAppButton", {
- isMobileBrowser: !0
- }))
- }
+ notifyMouseLeave(e) {
+ this._sendEvent({
+ name: "mouse-leave",
+ event: zte(e)
+ })
}
- const xne = Li(ze((function(e) {
- return {
- _downloadUrl: interfaceConfig[`MOBILE_DOWNLOAD_LINK_${wa.OS.toUpperCase()}`],
- _room: decodeURIComponent(e["features/base/conference"].room)
- }
- }))(Ene));
- class Cne extends E.Component {
- componentDidMount() {
- Ma(Xt("displayed", "noMobileApp", {
- isMobileBrowser: !0
- }))
- }
- render() {
- const e = "no-mobile-app";
- return x().createElement("div", {
- className: e
- }, x().createElement("h2", {
- className: `${e}__title`
- }, "Video chat isn't available on mobile."), x().createElement("p", {
- className: `${e}__description`
- }, "Please use ", interfaceConfig.NATIVE_APP_NAME, " on desktop to join calls."))
- }
+ notifyMouseMove(e) {
+ this._sendEvent({
+ name: "mouse-move",
+ event: zte(e)
+ })
}
-
- function Ane(e) {
- return Promise.resolve(!1)
+ notifyModerationChanged(e, t) {
+ this._sendEvent({
+ name: "moderation-status-changed",
+ mediaType: e,
+ enabled: t
+ })
}
-
- function jne() {
- const e = interfaceConfig.APP_SCHEME || "org.jitsi.meet",
- {
- href: t
- } = window.location,
- n = new RegExp(xn, "gi");
- return "android" === wa.OS ? `intent://${t.replace(n,"").substr(2)}#Intent;scheme=${e};package=${interfaceConfig.ANDROID_APP_PACKAGE||"org.jitsi.meet"};end` : t.replace(n, `${e}:`)
- }
- Be.register((e => t => n => (n.type === gne && (e.getState(), Ane()), t(n)))), Be.register((e => t => n => {
- const a = t(n);
- if (n.type === xM) {
- const t = e.getState(),
- {
- availableDevices: n
- } = t["features/base/devices"] || {};
- "undefined" != typeof APP && APP.API.notifyDeviceListChanged(n)
- }
- return a
- })), Be.register((({
- dispatch: e,
- getState: t
- }) => n => a => (a.type === gn && a.settings.displayName && iP(t, cF) && e(oP(cF)), n(a))));
- const Pne = "SHARE_DOCUMENT_VIEW_ID";
- Be.register((({
- dispatch: e,
- getState: t
- }) => n => a => {
- if (a.type === l6)
- if ("undefined" == typeof APP) {
- const n = !t()["features/etherpad"].editing;
- e(c6(n)), n ? e(mne(Pne)) : t()["features/base/modal"].activeModalId === Pne && e(mne(void 0))
- } else APP.UI.emitEvent(sQ.ETHERPAD_CLICKED);
- return n(a)
- })), at.register((e => yI(e)), ((e, {
- dispatch: t,
- getState: n
- }, a) => {
- e && e.addCommandListener("etherpad", (({
- value: e
- }) => {
- let a;
- const {
- etherpad_base: r
- } = n()["features/base/config"];
- r && (a = new URL(e, r).toString()), t(u6(a))
- })), a && t(u6(void 0))
- })), at.register((e => e["features/video-layout"].remoteScreenShares), ((e, t) => LJ(t))), at.register((e => e["features/base/participants"].dominantSpeaker), ((e, t) => LJ(t))), at.register(Uh, ((e, t) => {
- const n = t.getState();
- if (Ok(n)) {
- const e = Tk(n);
- Re(e, n["features/filmstrip"].tileViewDimensions.gridDimensions) || t.dispatch(GJ(e))
- }
- })), at.register((e => Dk(e)), ((e, t) => {
- const n = t.getState();
- switch (e) {
- case Ak:
- t.dispatch(GJ(Tk(n)));
- break;
- case Ck:
- t.dispatch($J());
- break;
- case jk:
- t.dispatch(KJ())
- }
- })), at.register((e => e["features/chat"].isOpen), ((e, t) => {
- const {
- innerWidth: n,
- innerHeight: a
- } = window;
- e ? document.body.classList.add("shift-right") : document.body.classList.remove("shift-right"), t.dispatch(p0(n, a))
- })), at.register(jm, ((e, t) => {
- const {
- innerWidth: n,
- innerHeight: a
- } = window;
- t.dispatch(p0(n, a))
- })), at.register((e => e["features/base/responsive-ui"].clientWidth < 512), ((e, t) => {
- t.dispatch({
- type: PV,
- displayAsDrawer: e
+ notifyParticipantApproved(e, t) {
+ this._sendEvent({
+ name: "moderation-participant-approved",
+ id: e,
+ mediaType: t
})
- })), at.register((e => e["features/base/responsive-ui"].clientWidth < bk), ((e, t) => {
- const n = t.getState(),
- {
- disableFilmstripAutohiding: a
- } = n["features/base/config"];
- a || t.dispatch(UJ(!e))
- }));
- const Dne = {
- multipleColumns: Symbol("multipleColumns"),
- singleColumn: Symbol("singleColumn"),
- twoColumns: Symbol("twoColumns"),
- twoParticipantsSingleColumn: Symbol("twoParticipantsSingleColumn")
- };
- at.register((e => {
- const {
- clientWidth: t
- } = e["features/base/responsive-ui"];
- return t < 1e3 && t >= bk ? Dne.twoColumns : t < bk && t >= 300 ? Dne.twoParticipantsSingleColumn : t < 300 ? Dne.singleColumn : Dne.multipleColumns
- }), ((e, t) => {
- const n = t.getState();
- if (Ok(n)) {
- const e = Tk(n);
- t.dispatch(GJ(e))
- }
- })), Be.register((e => t => n => {
- var a;
- n.type === Uv && function(e, t = null) {
- if (!t) return;
- const n = e.getState(),
- {
- remoteParticipants: a
- } = n["features/filmstrip"],
- r = new Set(a);
- r.delete(t) && e.dispatch(HJ(Array.from(r)))
- }(e, null === (a = n.participant) || void 0 === a ? void 0 : a.id);
- const r = t(n);
- switch (n.type) {
- case l0: {
- const t = e.getState();
- switch (Dk(t)) {
- case Ak: {
- const {
- gridDimensions: n
- } = t["features/filmstrip"].tileViewDimensions;
- e.dispatch(GJ(n));
- break
- }
- case Ck:
- e.dispatch($J());
- break;
- case jk:
- e.dispatch(KJ())
- }
- break
- }
- case qv:
- var i;
- LJ(e, null === (i = n.participant) || void 0 === i ? void 0 : i.id);
- break;
- case gn:
- var o;
- "boolean" == typeof(null === (o = n.settings) || void 0 === o ? void 0 : o.localFlipX) && O3.onLocalFlipXChanged()
- }
- return r
- }));
- const Tne = "SET_FOLLOW_ME_MODERATOR",
- One = "SET_FOLLOW_ME_STATE";
-
- function Mne(e) {
- return {
- type: Tne,
+ }
+ notifyParticipantRejected(e, t) {
+ this._sendEvent({
+ name: "moderation-participant-rejected",
+ id: e,
+ mediaType: t
+ })
+ }
+ notifyVideoQualityChanged(e) {
+ this._sendEvent({
+ name: "video-quality-changed",
+ videoQuality: e
+ })
+ }
+ notifyReceivedChatMessage() {
+ let {
+ body: e,
+ id: t,
+ nick: n,
+ privateMessage: a,
+ ts: r
+ } = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
+ APP.conference.isLocalId(t) || this._sendEvent({
+ name: "incoming-message",
+ from: t,
+ message: e,
+ nick: n,
+ privateMessage: a,
+ stamp: r
+ })
+ }
+ notifyUserJoined(e, t) {
+ this._sendEvent({
+ name: "participant-joined",
+ id: e,
+ ...t
+ })
+ }
+ notifyUserLeft(e) {
+ this._sendEvent({
+ name: "participant-left",
id: e
- }
+ })
}
- const Ine = "follow-me",
- Nne = Je("features/follow-me");
-
- function zne(e) {
- const t = Yh(e);
- return {
- filmstripVisible: e["features/filmstrip"].visible,
- nextOnStage: t && t.id,
- sharedDocumentVisible: e["features/etherpad"].editing,
- tileViewEnabled: Ok(e)
- }
+ notifyUserRoleChanged(e, t) {
+ this._sendEvent({
+ name: "participant-role-changed",
+ id: e,
+ role: t
+ })
}
-
- function Rne(e, t) {
- const n = t.getState(),
- a = yI(n);
- a && Jh(n) && ("off" !== e ? n["features/base/conference"].followMeEnabled && a.sendCommand(Ine, {
- attributes: zne(n)
- }) : a.sendCommandOnce(Ine, {
- attributes: {
- off: !0
- }
- }))
+ notifyAvatarChanged(e, t) {
+ this._sendEvent({
+ name: "avatar-changed",
+ avatarURL: t,
+ id: e
+ })
}
- at.register((e => e["features/base/conference"].followMeEnabled), ((e, t) => Rne(e || "off", t))), at.register((e => {
- const t = Yh(e);
- return t ? t.id : null
- }), Rne), at.register((e => e["features/etherpad"].editing), Rne), at.register((e => e["features/filmstrip"].visible), Rne), at.register((e => e["features/video-layout"].tileViewEnabled), Rne);
- let Lne, Fne = 0;
-
- function qne(e, t) {
- Fh(e.getState(), t) ? (clearTimeout(Lne), Fne = 0, e.dispatch(dk(t))) : Lne = setTimeout((() => {
- Fne > 30 ? Fne = 0 : (Fne++, qne(e, t))
- }), 1e3)
+ notifyEndpointTextMessageReceived(e) {
+ this._sendEvent({
+ name: "endpoint-text-message-received",
+ data: e
+ })
}
- Be.register((e => t => n => {
- switch (n.type) {
- case GI: {
- const {
- conference: t
- } = n;
- t.addCommandListener(Ine, (({
- attributes: t
- }, n) => {
- ! function(e = {}, t, n) {
- const a = n.getState();
- if (void 0 === t) return;
- const r = Fh(a, t);
- if (r.local) return;
- if ("moderator" !== r.role) return void Nne.warn("Received follow-me command not from moderator");
- if (iJ(a) || n.dispatch(Mne(t)), e.off) return void n.dispatch(Mne());
- const i = a["features/follow-me"].state || {};
- if (n.dispatch(function(e) {
- return {
- type: One,
- state: e
- }
- }(e)), i.filmstripVisible !== e.filmstripVisible && n.dispatch(UJ("true" === e.filmstripVisible)), i.tileViewEnabled !== e.tileViewEnabled && n.dispatch(Nk("true" === e.tileViewEnabled)), "undefined" != typeof APP && i.sharedDocumentVisible !== e.sharedDocumentVisible) {
- const t = "true" === e.sharedDocumentVisible,
- n = APP.UI.getSharedDocumentManager();
- n && t !== a["features/etherpad"].editing && n.toggleEtherpad()
- }
- const o = Yh(a),
- s = e.nextOnStage;
- void 0 === s || o && s === o.id || i.nextOnStage === e.nextOnStage ? void 0 === s && o && n.dispatch(dk(null)) : qne(n, s)
- }(t, n, e)
- }));
- break
- }
- case Uv:
- e.getState()["features/follow-me"].moderator === n.participant.id && e.dispatch(Mne())
- }
- return t(n)
- }));
- const Bne = new Map([
- [dR, {
- file: "rejected.wav"
- }],
- [pR, {
- file: "rejected.wav"
- }],
- [hR, {
- file: "outgoingRinging.wav",
- options: {
- loop: !0
- }
- }],
- [mR, {
- file: "outgoingStart.wav"
- }]
- ]),
- Une = {
- [fK]: mR,
- [bK]: Ph,
- [vK]: dR,
- [mK]: mR,
- [yK]: pR,
- [gK]: hR
- };
- Be.register((e => t => n => {
- let a;
- const {
- dispatch: r,
- getState: i
- } = e, o = i();
- n.type !== Hv && n.type !== Uv || (a = Vh(o, n.participant.id)), n.type === SW && (n.calleeInfoVisible ? r(dk(Rh(o).id)) : r(dk()));
- const s = t(n);
- switch (n.type) {
- case Ya:
- for (const [e, t] of Bne.entries()) r(Ki(e, t.file, t.options));
- break;
- case Ga:
- for (const e of Bne.keys()) r(Ji(e));
- break;
- case UI:
- ! function(e) {
- const {
- dispatch: t,
- getState: n
- } = e;
- (n()["features/invite"].pendingInviteRequests || []).forEach((({
- invitees: e,
- callback: n
- }) => {
- t(jW(e)).then((e => {
- n(e)
- }))
- })), t({
- type: wW
- })
- }(e);
- break;
- case qv:
- case Uv:
- case Hv: {
- ! function(e, t) {
- const n = t.getState();
- if (!n["features/invite"].calleeInfoVisible) return;
- const a = Wh(n),
- r = Bh(n);
- let i = 0;
- a.forEach((e => {
- "poltergeist" === e.botType && i++
- }));
- (i > 1 || r - i > 1 || e.type === Uv && 1 === r) && t.dispatch(DW(!1))
- }(n, e);
- const t = Vh(o, n.participant.id);
- if (a === t) break;
- const i = a && Une[a],
- s = t && Une[t];
- if (i === s) break;
- i && r($i(i)), s && r(Gi(s));
- break
- }
- case xW:
- bR.error("Error encountered while fetching dial-in numbers:", n.error)
- }
- return s
- })), Be.register((e => t => n => {
- switch (n.type) {
- case _W:
- return function({
- dispatch: e
- }, t, n) {
- const a = t(n);
- return e(sP(iK)), a
- }(e, t, n);
- case EW:
- return function({
- dispatch: e
- }, t, n) {
- return e(oP(iK)), t(n)
- }(e, t, n)
- }
- return t(n)
- })), Be.register((e => t => async n => {
- if (n.type === Hz) {
- const {
- status: t
- } = n.payload;
- "BLOCKED" === t && e.dispatch($N("/static/planLimit.html"))
- }
- return t(n)
- }));
- const Hne = Je("features/large-video");
-
- function Vne(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ notifySharingParticipantsChanged(e) {
+ this._sendEvent({
+ name: "content-sharing-participants-changed",
+ data: e
+ })
}
-
- function Wne(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ notifyDeviceListChanged(e) {
+ this._sendEvent({
+ name: "device-list-changed",
+ devices: e
+ })
}
- at.register((e => e["features/large-video"].participantId), (e => {
- O3.updateLargeVideo(e, !0)
- })), Be.register((e => t => n => {
- const a = t(n);
- switch (n.type) {
- case Nv: {
- const t = e.getState(),
- a = Rh(t);
- RX(t) && Hne.info(`Dominant speaker changed event for: ${n.participant.id}`), a && a.id !== n.participant.id && e.dispatch(lX());
- break
- }
- case qv:
- case Uv:
- case Vv:
- case oo:
- case uo:
- e.dispatch(lX())
- }
- return a
- })), Be.register((e => t => n => {
- switch (n.type) {
- case Ya:
- e.dispatch(Ki(q4, "knock.mp3"));
- break;
- case Ga:
- e.dispatch(Ji(q4));
- break;
- case BI:
- return function({
- dispatch: e,
- getState: t
- }, n, a) {
- const {
- error: r
- } = a, i = t(), o = Boolean(i["features/base/conference"].membersOnly);
- if (r.name === gt.MEMBERS_ONLY_ERROR) {
- void 0 === r.recoverable && (r.recoverable = !0);
- const t = n(a);
- return e({
- type: G4,
- visible: !0
- }),
- function(e) {
- const {
- iAmRecorder: t,
- iAmSipGateway: n
- } = e["features/base/config"];
- return (rL(e) || t && n) && !e["features/lobby"].knocking
- }(i) && e(X4()), e(Q4(o)), t
- }
- return e(t8()), r.name === gt.CONFERENCE_ACCESS_DENIED && e(Yf({
- appearance: Rf,
- hideErrorSupportLink: !0,
- titleKey: "lobby.joinRejectedMessage"
- })), n(a)
- }(e, t, n);
- case UI:
- return function({
- dispatch: e
- }, t, n) {
- return e(t8()), t(n)
- }(e, t, n);
- case H4: {
- const a = t(n);
- return function(e, {
- id: t
- }) {
- const {
- dispatch: n,
- getState: a
- } = e, r = a()["features/lobby"].knockingParticipants.find((e => e.id === t)), {
- disableThirdPartyRequests: i
- } = a()["features/base/config"];
- i || !r || r.loadableAvatarUrl || zh(r, e).then((e => {
- e && n($4({
- loadableAvatarUrl: e,
- id: t
- }))
- }))
- }(e, n.participant), a
- }
- }
- return t(n)
- })), at.register((e => e["features/base/conference"].conference), ((e, {
- dispatch: t,
- getState: n
- }, a) => {
- e && !a && (e.on(bt.MEMBERS_ONLY_CHANGED, (e => {
- t(function(e) {
- return {
- enabled: e,
- type: W4
- }
- }(e))
- })), e.on(bt.LOBBY_USER_JOINED, ((e, n) => {
- (0, Te.unstable_batchedUpdates)((() => {
- t($4({
- id: e,
- name: n
- })), t(Gi(q4))
- }))
- })), e.on(bt.LOBBY_USER_UPDATED, ((e, n) => {
- t($4(function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Vne(e, t, n[t])
- }))
- }
- return e
- }({}, n, {
- id: e
- })))
- })), e.on(bt.LOBBY_USER_LEFT, (e => {
- t(function(e) {
- return {
- id: e,
- type: V4
- }
- }(e))
- })), e.on(bt.ENDPOINT_MESSAGE_RECEIVED, ((e, a) => function(e, t, {
- dispatch: n,
- getState: a
- }) {
- if (!(null == e ? void 0 : e._id) || "lobby-notify" !== (null == t ? void 0 : t.type)) return;
- const r = {
- descriptionArguments: {
- originParticipantName: Hh(a, e._id),
- targetParticipantName: t.name
- },
- titleKey: "lobby.notificationTitle"
- };
- switch (t.event) {
- case "LOBBY-ENABLED":
- r.descriptionKey = `lobby.notificationLobby${t.value?"En":"Dis"}abled`;
- break;
- case "LOBBY-ACCESS-GRANTED":
- r.descriptionKey = "lobby.notificationLobbyAccessGranted";
- break;
- case "LOBBY-ACCESS-DENIED":
- r.descriptionKey = "lobby.notificationLobbyAccessDenied"
- }
- n(Yf(r, RX(a()) ? void 0 : 5e3))
- }(e, a, {
- dispatch: t,
- getState: n
- }))))
- })), Be.register((e => t => n => {
- switch (n.type) {
- case qv: {
- const r = t(n),
- {
- participant: i
- } = n,
- {
- dispatch: o,
- getState: s
- } = e,
- l = s(),
- {
- conference: c
- } = l["features/base/conference"];
- return !c || i.local || Pv() || i.isReplacing || o((a = Hh(l, i.id), Kf.push(a), (e, t) => $f(e, t))), r
- }
- case Uv:
- if (!Pv()) {
- const t = Fh(e.getState(), n.participant.id);
- "object" != typeof interfaceConfig || !t || t.local || n.participant.isReplaced || e.dispatch(Yf({
- descriptionKey: "notify.disconnected",
- titleKey: "notify.somebody",
- title: t.name
- }, zf))
- }
- return t(n);
- case Hv: {
- const a = e.getState(),
- {
- disableModeratorIndicator: r
- } = a["features/base/config"];
- if (r) return t(n);
- const {
- id: i,
- role: o
- } = n.participant;
- if (Rh(a).id !== i) return t(n);
- const s = Fh(a, i),
- l = null == s ? void 0 : s.role;
- return l && l !== o && o === Th && e.dispatch(Yf({
- titleKey: "notify.moderator"
- }, zf)), t(n)
- }
- case G6:
- e.dispatch({
- type: Nf
- })
- }
- var a;
- return t(n)
- })), at.register((e => yI(e)), ((e, {
- dispatch: t
- }) => {
- e || t(Hf())
- }));
- const Yne = [gt.CONFERENCE_ACCESS_DENIED, gt.CONFERENCE_DESTROYED, gt.CONNECTION_ERROR];
- at.register((e => {
- const {
- error: t
- } = e["features/base/conference"], {
- error: n
- } = e["features/base/config"], {
- error: a
- } = e["features/base/connection"];
- return n || a || t
- }), ((e, {
- dispatch: t,
- getState: n
- }) => {
- if (e) {
- if ("undefined" != typeof APP) {
- const t = "string" == typeof e ? {
- name: e
- } : e;
- APP.API.notifyError(function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Wne(e, t, n[t])
- }))
- }
- return e
- }({}, t, ((e, t) => {
- const n = e(),
- {
- error: a
- } = n["features/base/conference"],
- {
- error: r
- } = n["features/base/config"],
- {
- error: i
- } = n["features/base/connection"];
- return t === a ? {
- type: "CONFERENCE",
- isFatal: ct(t.name || t)
- } : t === r ? {
- type: "CONFIG",
- isFatal: !0
- } : t === i ? {
- type: "CONNECTION",
- isFatal: ut(t.name || t)
- } : void 0
- })(n, e)))
- } - 1 === Yne.indexOf(e.name) && void 0 === e.recoverable && t(xN(e))
- }
- })), Be.register((({
- dispatch: e,
- getState: t
- }) => n => a => {
- const r = n(a);
- switch (a.type) {
- case K3: {
- const n = t(),
- r = n["features/chat"].isOpen,
- i = n["features/chat"].isPollsTabFocused;
- !a.notify || r && i || e(Gi(r0));
- break
- }
- }
- return r
- }));
- const Gne = e => {
- if ("object" != typeof e || null === e) return null;
- const {
+ notifyDisplayNameChanged(e, t) {
+ let {
+ displayName: n,
+ formattedDisplayName: a
+ } = t;
+ this._sendEvent({
+ name: "display-name-change",
+ displayname: n,
+ formattedDisplayName: a,
+ id: e
+ })
+ }
+ notifyEmailChanged(e, t) {
+ let {
+ email: n
+ } = t;
+ this._sendEvent({
+ name: "email-change",
+ email: n,
+ id: e
+ })
+ }
+ notifyLog(e, t) {
+ this._sendEvent({
+ name: "log",
+ logLevel: e,
+ args: t
+ })
+ }
+ notifyConferenceJoined(e, t, n) {
+ this._sendEvent({
+ name: "video-conference-joined",
+ roomName: e,
id: t,
- senderId: n,
- senderName: a,
- question: r,
- answers: i
- } = e;
- if ("string" != typeof t || "string" != typeof n || "string" != typeof a || "string" != typeof r || !(i instanceof Array)) return null;
- const o = [];
- for (const e of i) {
- const t = new Map;
- for (const [n, a] of Object.entries(e.voters)) {
- if ("string" != typeof a) return null;
- t.set(n, a)
- }
- o.push({
- name: e.name,
- voters: t
- })
- }
- return {
- senderId: n,
- senderName: a,
- question: r,
- showResults: !0,
- lastVote: null,
- answers: o
- }
- };
- at.register((e => yI(e)), ((e, t, n) => {
- if (e && e !== n) {
- const n = (e, n) => {
- switch (n.type) {
- case n5: {
- const {
- question: e,
- answers: a,
- pollId: r,
- senderId: i,
- senderName: o
- } = n, s = {
- senderId: i,
- senderName: o,
- showResults: !1,
- lastVote: null,
- question: e,
- answers: a.map((e => ({
- name: e,
- voters: new Map
- })))
- };
- t.dispatch(X3(r, s, !0)), t.dispatch(Yf({
- appearance: Lf,
- titleKey: "polls.notification.title",
- descriptionKey: "polls.notification.description"
- }, zf));
- break
- }
- case a5: {
- const {
- pollId: e,
- answers: a,
- voterId: r,
- voterName: i
- } = n, o = {
- voterId: r,
- voterName: i,
- pollId: e,
- answers: a
- };
- t.dispatch(((e, t) => ({
- type: $3,
- answer: t,
- pollId: e
- }))(e, o));
- break
- }
- case "old-polls": {
- const {
- polls: e
- } = n;
- for (const n of e) {
- const e = Gne(n);
- null === e ? console.warn("[features/polls] Invalid old poll data") : t.dispatch(X3(n.id, e, !1))
- }
- break
- }
- }
- };
- e.on(bt.ENDPOINT_MESSAGE_RECEIVED, n), e.on(bt.NON_PARTICIPANT_MESSAGE_RECEIVED, n)
- }
- })), Be.register((e => t => n => {
- const {
- dispatch: a,
- getState: r
- } = e;
- switch (n.type) {
- case Ya:
- (0, Te.unstable_batchedUpdates)((() => {
- Object.keys(fJ).forEach((e => {
- for (let t = 0; t < mJ.length; t++) a(Ki(`${fJ[e].soundId}${mJ[t]}`, fJ[e].soundFiles[t]))
- })), a(Ki(hJ, "reactions-raised-hand.mp3"))
- }));
- break;
- case Ga:
- (0, Te.unstable_batchedUpdates)((() => {
- Object.keys(fJ).forEach((e => {
- for (let t = 0; t < mJ.length; t++) a(Ji(`${fJ[e].soundId}${mJ[t]}`))
- })), a(Ji(hJ))
- }));
- break;
- case Q6: {
- const {
- timeoutID: e,
- buffer: t
- } = r()["features/reactions"], {
- reaction: i
- } = n;
- clearTimeout(e), t.push(i), n.buffer = t, n.timeoutID = setTimeout((() => {
- a({
- type: X6
- })
- }), 500);
- break
- }
- case X6: {
- const e = r(),
- {
- buffer: t
- } = e["features/reactions"],
- n = Bh(e);
- (0, Te.unstable_batchedUpdates)((() => {
- n > 1 && a({
- type: n4
- }), a(function(e) {
- return {
- type: e4,
- message: e
- }
- }(yJ(t))), a(s4(t))
- })), async function(e, t) {
- const {
- webhookProxyUrl: n
- } = e["features/base/config"], {
- conference: a
- } = e["features/base/conference"], {
- jwt: r
- } = e["features/base/jwt"], i = Rh(e), o = {
- Authorization: `Bearer ${r}`,
- "Content-Type": "application/json"
- }, s = {
- meetingFqn: MH(),
- sessionId: a.sessionId,
- submitted: Date.now(),
- reactions: t,
- participantId: i.id,
- participantName: i.name
- };
- if (n) try {
- const e = await fetch(`${n}/reactions`, {
- method: "POST",
- headers: o,
- body: JSON.stringify(s)
- });
- e.ok || gJ.error("Status error:", e.status)
- } catch (e) {
- gJ.error("Could not send request", e)
- }
- }(e, t);
- break
- }
- case n4: {
- const e = r(),
- {
- buffer: t
- } = e["features/reactions"],
- {
- conference: n
- } = e["features/base/conference"];
- n && n.sendEndpointMessage("", {
- name: pJ,
- reactions: t,
- timestamp: Date.now()
- });
- break
- }
- case a4: {
- const e = r(),
- {
- queue: t,
- notificationDisplayed: i
- } = e["features/reactions"],
- {
- soundsReactions: o
- } = e["features/base/settings"],
- s = Yi(e),
- l = n.reactions;
- (0, Te.unstable_batchedUpdates)((() => {
- var e;
- !i && o && !s.includes("REACTION_SOUND") && m4 && a(m4()), o && function(e) {
- const t = function(e) {
- return [...new Set(e)]
- }(e);
- return t.map((t => ({
- reaction: t,
- threshold: kJ(vJ(e, t))
- })))
- }(l).forEach((e => a(Gi(`${fJ[e.reaction].soundId}${e.threshold}`)))), a(i4([...t, ...(e = l, e.map((e => ({
- reaction: e,
- uid: Wz().v4()
- }))))]))
- }));
- break
- }
- case r4:
- a(Yf({
- titleKey: "toolbar.disableReactionSounds",
- customActionNameKey: "notify.reactionSounds",
- customActionHandler: () => a(bn({
- soundsReactions: !1
- }))
- }, zf))
- }
- return t(n)
- }));
- const Kne = "DELETE_RECENT_LIST_ENTRY",
- $ne = "_STORE_CURRENT_CONFERENCE",
- Jne = "_UPDATE_CONFERENCE_DURATION";
-
- function Zne() {
- return interfaceConfig.RECENT_LIST_ENABLED
- }
- Be.register((e => t => n => {
- if (Zne()) switch (n.type) {
- case Ya:
- return function({
- dispatch: e,
- getState: t
- }, n, a) {
- const r = n(a),
- i = [];
- for (const e of t()["features/recent-list"]) {
- const {
- conference: t
- } = e, n = Tn(t);
- let a;
- n && (a = n.host) && i.push(a)
- }
- return i.length && e(vn(i)), r
- }(e, t, n);
- case KI:
- return function({
- dispatch: e,
- getState: t
- }, n, a) {
- const {
- doNotStoreRoom: r
- } = t()["features/base/config"];
- if (!r) {
- let n;
- n = "undefined" == typeof APP ? a.conference[sI] : t()["features/base/connection"].locationURL, e(function(e) {
- return {
- type: Jne,
- locationURL: e
- }
- }(n))
- }
- return n(a)
- }(e, t, n);
- case rN:
- return function({
- dispatch: e,
- getState: t
- }, n, a) {
- const {
- doNotStoreRoom: r
- } = t()["features/base/config"];
- if (!r && a.room) {
- const {
- locationURL: n
- } = t()["features/base/connection"];
- n && (e(function(e) {
- return {
- type: $ne,
- locationURL: e
- }
- }(n)), e(vn(n.host)))
- }
- return n(a)
- }(e, t, n)
- }
- return t(n)
- })), at.register((e => yI(e)), ((e, {
- dispatch: t
- }) => {
- e || t({
- type: pG
+ ...n
+ })
+ }
+ notifyConferenceLeft(e) {
+ this._sendEvent({
+ name: "video-conference-left",
+ roomName: e
})
- })), Be.register((({
- dispatch: e,
- getState: t
- }) => n => a => {
- let r;
- a.type === hG && (r = lR(t(), a.sessionData.id));
- const i = n(a);
- switch (a.type) {
- case Ya:
- e(Ki(eR, "liveStreamingOff.mp3")), e(Ki(tR, "liveStreamingOn.mp3")), e(Ki(nR, "recordingOff.mp3")), e(Ki(aR, "recordingOn.mp3"));
- break;
- case Ga:
- e(Ji(eR)), e(Ji(tR)), e(Ji(nR)), e(Ji(aR));
- break;
- case GI: {
- const {
- conference: t
- } = a;
- t.on(bt.RECORDER_STATE_CHANGED, (t => {
- t && (t.getID() && e(function(e) {
- const t = e.getStatus(),
- n = t === Et.status.ON ? Date.now() / 1e3 : void 0;
- return {
- type: hG,
- sessionData: {
- error: e.getError(),
- id: e.getID(),
- initiator: e.getInitiator(),
- liveStreamViewURL: e.getLiveStreamViewURL(),
- mode: e.getMode(),
- status: t,
- terminator: e.getTerminator(),
- timestamp: n
- }
- }
- }(t)), t.getError() && function(e, t) {
- const n = e.getMode(),
- a = e.getError(),
- r = n === c.default.constants.recording.mode.STREAM;
- switch (a) {
- case c.default.constants.recording.error.SERVICE_UNAVAILABLE:
- t(yG({
- descriptionKey: "recording.unavailable",
- descriptionArguments: {
- serviceName: r ? "$t(liveStreaming.serviceName)" : "$t(recording.serviceName)"
- },
- titleKey: r ? "liveStreaming.unavailableTitle" : "recording.unavailableTitle"
- }));
- break;
- case c.default.constants.recording.error.RESOURCE_CONSTRAINT:
- t(yG({
- descriptionKey: r ? "liveStreaming.busy" : "recording.busy",
- titleKey: r ? "liveStreaming.busyTitle" : "recording.busyTitle"
- }));
- break;
- default:
- t(yG({
- descriptionKey: r ? "liveStreaming.error" : "recording.error",
- titleKey: r ? "liveStreaming.failedToStart" : "recording.failedToStart"
- }))
- }
- "undefined" != typeof APP && APP.API.notifyRecordingStatusChanged(!1, n, a)
- }(t, e))
- }));
- break
- }
- case hG: {
- const {
- iAmRecorder: n,
- iAmSipGateway: i,
- recordingLimit: s
- } = t()["features/base/config"];
- if (n && !i) break;
- const l = lR(t(), a.sessionData.id),
- {
- initiator: u,
- mode: d,
- terminator: p
- } = l,
- {
- PENDING: h,
- OFF: m,
- ON: f
- } = Et.status;
- if (l.status !== h || r && r.status === h) {
- if (l.status !== h)
- if (e((o = d, (e, t) => {
- const {
- pendingNotificationUids: n
- } = t()["features/recording"], a = n[o];
- a && (e(Vf(a)), e(vG(void 0, o)))
- })), l.status !== f || r && r.status === f) {
- if (l.status === m && (!r || r.status !== m)) {
- p && e(function(e, t) {
- const n = {
- name: t
- };
- return Yf(e === c.default.constants.recording.mode.STREAM ? {
- descriptionKey: t ? "liveStreaming.offBy" : "liveStreaming.off",
- descriptionArguments: n,
- titleKey: "dialog.liveStreaming"
- } : {
- descriptionKey: t ? "recording.offBy" : "recording.off",
- descriptionArguments: n,
- titleKey: "dialog.recording"
- }, zf)
- }(d, Hh(t, uR(p))));
- let n, a, i = 0;
- r && r.timestamp && (i = Date.now() / 1e3 - r.timestamp), Ma(on("stop", d, i)), d === Et.mode.FILE ? (n = nR, a = aR) : d === Et.mode.STREAM && (n = eR, a = tR), n && a && (e($i(a)), e(Gi(n))), "undefined" != typeof APP && APP.API.notifyRecordingStatusChanged(!1, d)
- }
- } else {
- let t;
- e("object" == typeof s ? function(e) {
- const t = e === c.default.constants.recording.mode.STREAM;
- return Yf({
- description: x().createElement(HW, {
- isLiveStreaming: t
- }),
- titleKey: t ? "dialog.liveStreaming" : "dialog.recording"
- }, 1e4)
- }(d) : function(e, t, n) {
- return async (a, r) => {
- const i = r(),
- o = uR(t),
- s = Hh(i, o);
- let l = {
- customActionNameKey: void 0,
- descriptionKey: s ? "liveStreaming.onBy" : "liveStreaming.on",
- descriptionArguments: {
- name: s
- },
- isDismissAllowed: !0,
- titleKey: "dialog.liveStreaming"
- };
- if (e !== c.default.constants.recording.mode.STREAM) {
- const e = function(e) {
- return e["features/base/config"].recordingSharingUrl
- }(i),
- t = Rh(i).id === o;
- if (l = {
- customActionHandler: void 0,
- customActionNameKey: void 0,
- descriptionKey: s ? "recording.onBy" : "recording.on",
- descriptionArguments: {
- name: s
- },
- isDismissAllowed: !0,
- titleKey: "dialog.recording"
- }, e && Rj(i) && t && ! function(e) {
- return Zz(e) && e["features/recording"].selectedRecordingService === iR
- }(i)) {
- const t = function(e) {
- var t, n;
- return (null === (t = e["features/base/config"]) || void 0 === t || null === (n = t.deploymentInfo) || void 0 === n ? void 0 : n.region) || ""
- }(i),
- r = zj(i);
- try {
- const a = await async function(e, t, n, a) {
- const r = `${e}?recordingSessionId=${t}®ion=${n}&tenant=${a}`,
- i = await fetch(r, {
- headers: {
- "Content-Type": "application/json"
- }
- }),
- o = await i.json();
- return i.ok ? o.url : Promise.reject(o)
- }(e, n, t, r);
- l.customActionNameKey = "recording.copyLink", l.customActionHandler = () => Tt(a), l.titleKey = "recording.on", l.descriptionKey = "recording.linkGenerated", l.isDismissAllowed = !1
- } catch (e) {
- return a(Wf({
- titleKey: "recording.errorFetchingLink"
- })), gG.error("Could not fetch recording link", e)
- }
- }
- }
- a(Yf(l, zf))
- }
- }(d, u, a.sessionData.id)), Ma(on("start", d)), d === Et.mode.FILE ? t = aR : d === Et.mode.STREAM && (t = tR), t && e(Gi(t)), "undefined" != typeof APP && APP.API.notifyRecordingStatusChanged(!0, d)
- }
- } else e(function(e) {
- return async t => {
- const n = e === c.default.constants.recording.mode.STREAM ? {
- descriptionKey: "liveStreaming.pending",
- titleKey: "dialog.liveStreaming"
- } : {
- descriptionKey: "recording.pending",
- titleKey: "dialog.recording"
- },
- a = await t(Yf(function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- bG(e, t, n[t])
- }))
- }
- return e
- }({
- isDismissAllowed: !1
- }, n)));
- a && t(vG(a.uid, e))
- }
- }(d));
- break
- }
- }
- var o;
- return i
- })), at.register((e => {
- const t = e["features/recent-list"];
- return t && t.length && t[t.length - 1]
- }), ((e, {}, t) => {
- t && e && t.conference === e.conference && 0 === e.duration && Ma(function({
- url: e,
- lastConferenceDuration: t,
- timeSinceLeft: n
- }) {
- return {
- action: "rejoined",
- attributes: {
- lastConferenceDuration: t,
- timeSinceLeft: n,
- url: e
- }
- }
- }({
- lastConferenceDuration: t.duration / 1e3,
- timeSinceLeft: (Date.now() - (t.date + t.duration)) / 1e3,
- url: t.conference
- }))
- }));
- const Qne = Je("features/room-lock");
- Be.register((e => t => n => {
- switch (n.type) {
- case BI:
- return function({
- dispatch: e
- }, t, n) {
- const {
- conference: a,
- error: r
- } = n;
- return a && r.name === gt.PASSWORD_REQUIRED ? (void 0 === r.recoverable && (r.recoverable = !0), r.recoverable && e(function(e) {
- return sP(p8, {
- conference: e
- })
- }(a))) : e(oP(p8)), t(n)
- }(e, t, n);
- case UI:
- return function({
- dispatch: e
- }, t, n) {
- return e(oP(p8)), t(n)
- }(e, t, n);
- case ZI: {
- "undefined" != typeof APP && APP.UI.emitEvent(sQ.TOGGLE_ROOM_LOCK, n.locked);
- const a = e.getState()["features/base/conference"].locked,
- r = t(n),
- i = e.getState()["features/base/conference"].locked;
- return i === m8 ? e.dispatch(Yf({
- titleKey: "notify.passwordSetRemotely"
- }, zf)) : a !== m8 || i || e.dispatch(Yf({
- titleKey: "notify.passwordRemovedRemotely"
- }, zf)), r
- }
- case nN:
- return function(e, t, n) {
- if ("undefined" != typeof APP) {
- const {
- error: e
- } = n;
- let t, a;
- e === gt.PASSWORD_NOT_SUPPORTED ? (Qne.warn("room passwords not supported"), t = "dialog.passwordNotSupported", a = "dialog.passwordNotSupportedTitle") : (Qne.warn("setting password failed", e), t = "dialog.lockMessage", a = "dialog.lockTitle"), APP.UI.messageHandler.showError({
- descriptionKey: t,
- titleKey: a
- })
- }
- return t(n)
- }(0, t, n)
- }
- return t(n)
- })), n(362);
- const Xne = "chrome",
- eae = "opera",
- tae = "firefox",
- nae = "iexplorer",
- aae = "safari",
- rae = "nwjs",
- iae = "electron",
- oae = "react-native",
- sae = "unknown",
- lae = {
- Chrome: Xne,
- Chromium: Xne,
- Opera: eae,
- Firefox: tae,
- "Internet Explorer": nae,
- Safari: aae
- };
-
- function cae() {
- const e = navigator.userAgent;
- if (e.match(/Electron/)) {
- const t = e.match(/Electron\/([\d.]+)/)[1];
- return {
- name: iae,
- version: t
- }
- }
}
-
- function uae() {
- const e = navigator.userAgent;
- if (e.match(/JitsiMeetNW/)) {
- const t = e.match(/JitsiMeetNW\/([\d.]+)/)[1];
- return {
- name: rae,
- version: t
- }
- }
+ notifyDataChannelOpened() {
+ this._sendEvent({
+ name: "data-channel-opened"
+ })
}
-
- function dae() {
- const e = navigator.userAgent.match(/\b(react[ \t_-]*native)(?:\/(\S+))?/i);
- let t;
- if (e || "ReactNative" === navigator.product) {
- let n;
- return e && e.length > 2 && (n = e[1], t = e[2]), n || (n = "react-native"), t || (t = "unknown"), {
- name: oae,
- version: t
- }
- }
+ notifyReadyToClose() {
+ this._sendEvent({
+ name: "video-ready-to-close"
+ })
}
- class pae {
- constructor(e) {
- let t, n;
- if (this._bowser = p().getParser(navigator.userAgent), void 0 === e) {
- const e = function(e) {
- let t;
- const n = [dae, cae, uae];
- for (let e = 0; e < n.length; e++)
- if (t = n[e](), t) return t;
- const a = e.getBrowserName();
- return a in lae ? {
- name: lae[a],
- version: e.getBrowserVersion()
- } : (t = function() {
- const e = navigator.userAgent,
- t = {
- name: sae,
- version: void 0
- };
- if (e.match(/Chrome/) && !e.match(/Edge/))
- if (e.match(/Edg(A?)/)) {
- const n = e.match(/Chrome\/([\d.]+)/)[1];
- Number.parseInt(n, 10) > 72 && (t.name = Xne, t.version = n)
- } else t.name = Xne, t.version = e.match(/Chrome\/([\d.]+)/)[1];
- return t
- }(), t || {
- name: sae,
- version: void 0
- })
- }(this._bowser);
- t = e.name, n = e.version
- } else e.name in lae ? (t = lae[e.name], n = e.version) : (t = sae, n = void 0);
- this._name = t, this._version = n
- }
- getName() {
- return this._name
- }
- isChrome() {
- return this._name === Xne
- }
- isOpera() {
- return this._name === eae
- }
- isFirefox() {
- return this._name === tae
- }
- isIExplorer() {
- return this._name === nae
- }
- isSafari() {
- return this._name === aae
- }
- isNWJS() {
- return this._name === rae
- }
- isElectron() {
- return this._name === iae
- }
- isReactNative() {
- return this._name === oae
- }
- getVersion() {
- return this._version
- }
- _checkCondition(e) {
- if (this._version) return this._bowser.satisfies(e)
- }
- isVersionGreaterThan(e) {
- return this._checkCondition({
- [this._name]: `>${e}`
- })
- }
- isVersionLessThan(e) {
- return this._checkCondition({
- [this._name]: `<${e}`
- })
- }
- isVersionEqualTo(e) {
- return this._checkCondition({
- [this._name]: `~${e}`
- })
- }
+ notifySuspendDetected() {
+ this._sendEvent({
+ name: "suspend-detected"
+ })
}
- class hae {
- getItem() {}
- setItem() {}
- removeItem() {}
- key() {}
+ notifyAudioMutedStatusChanged(e) {
+ this._sendEvent({
+ name: "audio-mute-status-changed",
+ muted: e
+ })
}
-
- function mae(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- fae(e, t, n[t])
- }))
- }
- return e
+ notifyVideoMutedStatusChanged(e) {
+ this._sendEvent({
+ name: "video-mute-status-changed",
+ muted: e
+ })
}
-
- function fae(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ notifyAudioAvailabilityChanged(e) {
+ Ote = e, this._sendEvent({
+ name: "audio-availability-changed",
+ available: e
+ })
+ }
+ notifyVideoAvailabilityChanged(e) {
+ Nte = e, this._sendEvent({
+ name: "video-availability-changed",
+ available: e
+ })
+ }
+ notifyOnStageParticipantChanged(e) {
+ this._sendEvent({
+ name: "on-stage-participant-changed",
+ id: e
+ })
+ }
+ notifyOnCameraError(e, t) {
+ this._sendEvent({
+ name: "camera-error",
+ type: e,
+ message: t
+ })
+ }
+ notifyOnMicError(e, t) {
+ this._sendEvent({
+ name: "mic-error",
+ type: e,
+ message: t
+ })
+ }
+ notifyFeedbackSubmitted(e) {
+ this._sendEvent({
+ name: "feedback-submitted",
+ error: e
+ })
+ }
+ notifyFeedbackPromptDisplayed() {
+ this._sendEvent({
+ name: "feedback-prompt-displayed"
+ })
+ }
+ notifyFilmstripDisplayChanged(e) {
+ this._sendEvent({
+ name: "filmstrip-display-changed",
+ visible: e
+ })
+ }
+ notifyKickedOut(e, t) {
+ this._sendEvent({
+ name: "participant-kicked-out",
+ kicked: e,
+ kicker: t
+ })
+ }
+ notifyOnPasswordRequired() {
+ this._sendEvent({
+ name: "password-required"
+ })
+ }
+ notifyScreenSharingStatusChanged(e, t) {
+ this._sendEvent({
+ name: "screen-sharing-status-changed",
+ on: e,
+ details: t
+ })
+ }
+ notifyDominantSpeakerChanged(e) {
+ this._sendEvent({
+ name: "dominant-speaker-changed",
+ id: e
+ })
+ }
+ notifySubjectChanged(e) {
+ this._sendEvent({
+ name: "subject-change",
+ subject: e
+ })
+ }
+ notifyTileViewChanged(e) {
+ this._sendEvent({
+ name: "tile-view-changed",
+ enabled: e
+ })
+ }
+ notifyLocalStorageChanged(e) {
+ this._sendEvent({
+ name: "local-storage-changed",
+ localStorageContent: e
+ })
+ }
+ notifyRaiseHandUpdated(e, t) {
+ this._sendEvent({
+ name: "raise-hand-updated",
+ handRaised: t,
+ id: e
+ })
+ }
+ notifyRecordingStatusChanged(e, t, n) {
+ this._sendEvent({
+ name: "recording-status-changed",
+ on: e,
+ mode: t,
+ error: n
+ })
+ }
+ notifyRecordingLinkAvailable(e, t) {
+ this._sendEvent({
+ name: "recording-link-available",
+ link: e,
+ ttl: t
+ })
+ }
+ notifyKnockingParticipant(e) {
+ this._sendEvent({
+ name: "knocking-participant",
+ participant: e
+ })
+ }
+ notifyError(e) {
+ this._sendEvent({
+ name: "error-occurred",
+ error: e
+ })
+ }
+ notifyToolbarButtonClicked(e) {
+ this._sendEvent({
+ name: "toolbar-button-clicked",
+ key: e
+ })
+ }
+ notifyBrowserSupport(e) {
+ this._sendEvent({
+ name: "browser-support",
+ supported: e
+ })
}
+ dispose() {
+ this._enabled && (this._enabled = !1)
+ }
+ };
- function gae(e, t) {
- const n = JSON.parse(JSON.stringify(t));
- Object.keys(n).forEach((t => {
- const a = n[t];
- delete a.id, e[t] && Object.keys(a).forEach((r => {
- a[r] === e[t][r] && delete n[t][r]
+ function Fte(e) {
+ const t = e.contentWindow.onmousemove;
+ e.contentWindow.onmousemove = function(n) {
+ t && t(n);
+ const a = document.createEvent("MouseEvents"),
+ r = e.getBoundingClientRect();
+ a.initMouseEvent("mousemove", !0, !1, window, n.detail, n.screenX, n.screenY, n.clientX + r.left, n.clientY + r.top, n.ctrlKey, n.altKey, n.shiftKey, n.metaKey, n.button, null), e.dispatchEvent(a)
+ }
+ }
+ const qte = "etherpad"; class Bte extends B9 {
+ constructor(e) {
+ super();
+ const t = document.createElement("iframe");
+ t.id = "etherpadIFrame", t.src = e, t.frameBorder = 0, t.scrolling = "no", t.width = 640, t.height = 480, t.setAttribute("style", "visibility: hidden;"), this.container.appendChild(t), t.onload = function() {
+ document.domain = document.domain, Fte(t), setTimeout((() => {
+ const e = t.contentDocument;
+ Fte(e.getElementsByName("ace_outer")[0]), Fte(e.getElementsByName("ace_inner")[0])
+ }), 2e3)
+ }, this.iframe = t
+ }
+ get isOpen() {
+ return Boolean(this.iframe)
+ }
+ get container() {
+ return document.getElementById("etherpad")
+ }
+ resize(e, t) {
+ let n, a;
+ interfaceConfig.VERTICAL_FILMSTRIP ? (n = t - hI(), a = e - O4()) : (n = t - I4(), a = e), $(this.iframe).width(a).height(n)
+ }
+ show() {
+ const e = $(this.iframe),
+ t = $(this.container),
+ n = this;
+ return new Promise((a => {
+ e.fadeIn(300, (() => {
+ n.bodyBackground = document.body.style.background, document.body.style.background = "#eeeeee", e.css({
+ visibility: "visible"
+ }), t.css({
+ zIndex: 2
+ }), APP.store.dispatch(f1(!0)), a()
}))
- }));
- let a = -1 / 0;
- return Object.keys(n).forEach((e => {
- const t = n[e];
- t.timestamp > a && (a = t.timestamp)
- })), Object.keys(n).forEach((e => {
- const t = n[e];
- t.timestamp === a && (t.timestamp = 0)
- })), n.timestamp = a, n
+ }))
}
-
- function bae(e) {
- return {
- id: e.id,
- tracks: e.getTracks().map((e => ({
- id: e.id,
- kind: e.kind,
- label: e.label,
- enabled: e.enabled,
- muted: e.muted,
- readyState: e.readyState
- })))
- }
+ hide() {
+ const e = $(this.iframe),
+ t = $(this.container);
+ return document.body.style.background = this.bodyBackground, new Promise((n => {
+ e.fadeOut(300, (() => {
+ e.css({
+ visibility: "hidden"
+ }), t.css({
+ zIndex: 0
+ }), APP.store.dispatch(f1(!1)), n()
+ }))
+ }))
}
- new class extends hae {
- constructor() {
- let e;
- super();
- try {
- e = window.localStorage
- } catch (e) {}
- this.storage = e || new hae
- }
- getItem(e) {
- return this.storage.getItem(e)
- }
- setItem(e, t) {
- return this.storage.setItem(e, t)
- }
- removeItem(e) {
- return this.storage.removeItem(e)
- }
- key(e) {
- return this.storage.key(e)
- }
- };
- const yae = Je("features/rtcstats");
-
- function vae(e) {
- if (e && e.iceServers[0] && e.iceServers[0].urls)
- for (const t of e.iceServers[0].urls)
- if (t.indexOf("taas.callstats.io") >= 0) return !0
+ stayOnStage() {
+ return !0
}
- const kae = new class {
- init(e) {
- const {
- endpoint: t,
- useLegacy: n,
- pollInterval: a
- } = e, r = {
- endpoint: t,
- onCloseCallback: this.handleTraceWSClose.bind(this),
- useLegacy: n
- }, i = {
- connectionFilter: vae,
- pollInterval: a,
- useLegacy: n
- };
- this.trace = function({
- endpoint: e,
- onCloseCallback: t,
- useLegacy: n,
- pingInterval: a = 3e4
- }) {
- const r = [],
- i = Wz().v4();
- let o, s;
- const l = n ? "3.1_LEGACY" : "3.1_STANDARD",
- c = function(e) {
- const t = JSON.stringify(e);
- o && o.readyState === WebSocket.OPEN ? o.send(t) : o && o.readyState >= WebSocket.CLOSING || r.length < 300 && r.push(t)
- };
- return c.identity = function(...e) {
- e.push((new Date).getTime()), c({
- statsSessionId: i,
- type: "identity",
- data: e
- })
- }, c.statsEntry = function(...e) {
- e.push((new Date).getTime());
- const t = {
- statsSessionId: i,
- type: "stats-entry",
- data: JSON.stringify(e)
- };
- c(t)
- }, c.keepAlive = function() {
- c({
- statsSessionId: i,
- type: "keepalive"
- })
- }, c.close = function() {
- o && o.close()
- }, c.connect = function() {
- o && o.close(), o = new WebSocket(e + window.location.pathname, l), o.onclose = function(e) {
- s && clearInterval(s), t({
- code: e.code,
- reason: e.reason
- })
- }, o.onopen = function() {
- for (s = setInterval(c.keepAlive, a); r.length;) o.send(r.shift())
- }
- }, c
- }(r),
- function({
- statsEntry: e
- }, {
- connectionFilter: t,
- pollInterval: n,
- useLegacy: a,
- sendSdp: r = !1,
- prefixesToWrap: i = [""]
- }) {
- let o = 0;
- const s = new pae,
- l = s.isFirefox(),
- c = s.isSafari(),
- u = s.isChrome(),
- d = s.isElectron();
- if (!(l || c || u || d)) throw new Error("RTCStats unsupported browser.");
- if (i.forEach((i => {
- if (!window[`${i}RTCPeerConnection`]) return;
- const s = window[`${i}RTCPeerConnection`],
- p = function(r, i) {
- const p = mae({}, r),
- h = mae({}, i);
- try {
- const p = new s(r, i);
- if (t && t(r)) return p;
- const h = "PC_" + o++;
- p.__rtcStatsId = h, r || (r = {
- nullConfig: !0
- }), ((r = JSON.parse(JSON.stringify(r))) && r.iceServers || []).forEach((e => {
- delete e.credential
- })), r.browserType = l ? "moz" : "webkit", e("create", h, r), i && e("constraints", h, i), p.addEventListener("icecandidate", (t => {
- e("onicecandidate", h, t.candidate)
- })), p.addEventListener("addstream", (t => {
- e("onaddstream", h, `${t.stream.id} ${t.stream.getTracks().map((e=>`${e.kind}:${e.id}`))}`)
- })), p.addEventListener("track", (t => {
- e("ontrack", h, `${t.track.kind}:${t.track.id} ${t.streams.map((e=>`stream:${e.id}`))}`)
- })), p.addEventListener("removestream", (t => {
- e("onremovestream", h, `${t.stream.id} ${t.stream.getTracks().map((e=>`${e.kind}:${e.id}`))}`)
- })), p.addEventListener("signalingstatechange", (() => {
- e("onsignalingstatechange", h, p.signalingState)
- })), p.addEventListener("iceconnectionstatechange", (() => {
- e("oniceconnectionstatechange", h, p.iceConnectionState)
- })), p.addEventListener("icegatheringstatechange", (() => {
- e("onicegatheringstatechange", h, p.iceGatheringState)
- })), p.addEventListener("connectionstatechange", (() => {
- e("onconnectionstatechange", h, p.connectionState)
- })), p.addEventListener("negotiationneeded", (() => {
- e("onnegotiationneeded", h, void 0)
- })), p.addEventListener("datachannel", (t => {
- e("ondatachannel", h, [t.channel.id, t.channel.label])
- }));
- let m = {};
- const f = function() {
- l || c || (u || d) && !a ? p.getStats(null).then((t => {
- const n = function(e) {
- if (!e.entries) return e;
- const t = {};
- return e.forEach(((e, n) => {
- t[n] = e
- })), t
- }(t),
- a = JSON.parse(JSON.stringify(n));
- e("getstats", h, gae(m, n)), m = a
- })) : (u || d) && p.getStats((t => {
- const n = function(e, t) {
- const n = {};
- return t.result().forEach((e => {
- const t = {
- id: e.id,
- timestamp: e.timestamp.getTime(),
- type: e.type
- };
- e.names().forEach((n => {
- t[n] = e.stat(n)
- })), n[t.id] = t
- })), n
- }(0, t),
- a = JSON.parse(JSON.stringify(n));
- e("getstats", h, gae(m, n)), m = a
- }))
- };
- if (n) {
- const e = window.setInterval((() => {
- "closed" !== p.signalingState ? f() : window.clearInterval(e)
- }), n)
- }
- return p.addEventListener("iceconnectionstatechange", (() => {
- "connected" === p.iceConnectionState && f()
- })), p
- } catch (e) {
- return console.error("RTCStats PeerConnection bind failed: ", e), new s(p, h)
- }
- };
- ["createDataChannel", "close"].forEach((t => {
- const n = s.prototype[t];
- n && (s.prototype[t] = function() {
- try {
- e(t, this.__rtcStatsId, arguments)
- } catch (e) {
- console.error(`RTCStats ${t} bind failed: `, e)
- }
- return n.apply(this, arguments)
- })
- })), ["addStream", "removeStream"].forEach((t => {
- const n = s.prototype[t];
- n && (s.prototype[t] = function() {
- try {
- const n = arguments[0],
- a = n.getTracks().map((e => `${e.kind}:${e.id}`)).join(",");
- e(t, this.__rtcStatsId, `${n.id} ${a}`)
- } catch (e) {
- console.error(`RTCStats ${t} bind failed: `, e)
- }
- return n.apply(this, arguments)
- })
- })), ["addTrack"].forEach((t => {
- const n = s.prototype[t];
- n && (s.prototype[t] = function() {
- try {
- const n = arguments[0],
- a = [].slice.call(arguments, 1);
- e(t, this.__rtcStatsId, `${n.kind}:${n.id} ${a.map((e=>`stream:${e.id}`)).join(";")||"-"}`)
- } catch (e) {
- console.error(`RTCStats ${t} bind failed: `, e)
- }
- return n.apply(this, arguments)
- })
- })), ["removeTrack"].forEach((t => {
- const n = s.prototype[t];
- n && (s.prototype[t] = function() {
- try {
- const n = arguments[0].track;
- e(t, this.__rtcStatsId, n ? `${n.kind}:${n.id}` : "null")
- } catch (e) {
- console.error(`RTCStats ${t} bind failed: `, e)
- }
- return n.apply(this, arguments)
- })
- })), ["createOffer", "createAnswer"].forEach((t => {
- const n = s.prototype[t];
- n && (s.prototype[t] = function() {
- const a = this.__rtcStatsId,
- i = arguments;
- let o;
- 1 === arguments.length && "object" == typeof arguments[0] ? o = arguments[0] : 3 === arguments.length && "object" == typeof arguments[2] && (o = arguments[2]);
- try {
- e(t, this.__rtcStatsId, o)
- } catch (e) {
- console.error(`RTCStats ${t} bind failed: `, e)
- }
- return n.apply(this, o ? [o] : void 0).then((n => {
- try {
- e(`${t}OnSuccess`, a, r ? n : "")
- } catch (e) {
- console.error(`RTCStats ${t} promise success bind failed: `, e)
- }
- if (!(i.length > 0 && "function" == typeof i[0])) return n;
- i[0].apply(null, [n])
- }), (n => {
- try {
- e(`${t}OnFailure`, a, n.toString())
- } catch (e) {
- console.error(`RTCStats ${t} promise failure bind failed: `, e)
- }
- if (!(i.length > 1 && "function" == typeof i[1])) throw n;
- i[1].apply(null, [n])
- }))
- })
- })), ["setLocalDescription", "setRemoteDescription", "addIceCandidate"].forEach((t => {
- const n = s.prototype[t];
- n && (s.prototype[t] = function() {
- const a = this.__rtcStatsId,
- i = arguments;
- try {
- const n = r ? i[0] : "";
- e(t, this.__rtcStatsId, n)
- } catch (e) {
- console.error(`RTCStats ${t} bind failed: `, e)
- }
- return n.apply(this, [i[0]]).then((() => {
- try {
- e(`${t}OnSuccess`, a, void 0)
- } catch (e) {
- console.error(`RTCStats ${t} promise success bind failed: `, e)
- }
- i.length >= 2 && "function" == typeof i[1] && i[1].apply(null, [])
- }), (n => {
- try {
- e(`${t}OnFailure`, a, n.toString())
- } catch (e) {
- console.error(`RTCStats ${t} promise failure bind failed: `, e)
- }
- if (!(i.length >= 3 && "function" == typeof i[2])) throw n;
- i[2].apply(null, [n])
- }))
- })
- })), s.generateCertificate && Object.defineProperty(p, "generateCertificate", {
- get() {
- return arguments.length ? s.generateCertificate.apply(null, arguments) : s.generateCertificate
- }
- }), window[`${i}RTCPeerConnection`] = p, window[`${i}RTCPeerConnection`].prototype = s.prototype
- })), i.forEach((t => {
- const n = t + (t.length ? "GetUserMedia" : "getUserMedia");
- if (!navigator[n]) return;
- const a = navigator[n].bind(navigator);
- navigator[n] = function() {
- try {
- e("getUserMedia", null, arguments[0])
- } catch (e) {
- console.error("RTCStats getUserMedia bind failed: ", e)
- }
- const t = arguments[1],
- n = arguments[2];
- a(arguments[0], (n => {
- try {
- e("getUserMediaOnSuccess", null, bae(n))
- } catch (e) {
- console.error("RTCStats getUserMediaOnSuccess bind failed: ", e)
- }
- t && t(n)
- }), (t => {
- try {
- e("getUserMediaOnFailure", null, t.name)
- } catch (e) {
- console.error("RTCStats getUserMediaOnFailure bind failed: ", e)
- }
- n && n(t)
- }))
- }.bind(navigator)
- })), navigator.mediaDevices && navigator.mediaDevices.getUserMedia) {
- const t = navigator.mediaDevices.getUserMedia.bind(navigator.mediaDevices),
- n = function() {
- try {
- e("navigator.mediaDevices.getUserMedia", null, arguments[0])
- } catch (e) {
- console.error("RTCStats navigator.mediaDevices.getUserMedia bind failed: ", e)
- }
- return t.apply(navigator.mediaDevices, arguments).then((t => {
- try {
- e("navigator.mediaDevices.getUserMediaOnSuccess", null, bae(t))
- } catch (e) {
- console.error("RTCStats navigator.mediaDevices.getUserMediaOnSuccess bind failed: ", e)
- }
- return t
- }), (t => {
- try {
- e("navigator.mediaDevices.getUserMediaOnFailure", null, t.name)
- } catch (e) {
- console.error("RTCStats navigator.mediaDevices.getUserMediaOnFailure bind failed: ", e)
- }
- return Promise.reject(t)
- }))
- };
- navigator.mediaDevices.getUserMedia = n.bind(navigator.mediaDevices)
- }
- if (navigator.mediaDevices && navigator.mediaDevices.getDisplayMedia) {
- const t = navigator.mediaDevices.getDisplayMedia.bind(navigator.mediaDevices),
- n = function() {
- try {
- e("navigator.mediaDevices.getDisplayMedia", null, arguments[0])
- } catch (e) {
- console.error("RTCStats navigator.mediaDevices.getDisplayMedia bind failed: ", e)
- }
- return t.apply(navigator.mediaDevices, arguments).then((t => {
- try {
- e("navigator.mediaDevices.getDisplayMediaOnSuccess", null, bae(t))
- } catch (e) {
- console.error("RTCStats navigator.mediaDevices.getDisplayMediaOnSuccess bind failed: ", e)
- }
- return t
- }), (t => {
- try {
- e("navigator.mediaDevices.getDisplayMediaOnFailure", null, t.name)
- } catch (e) {
- console.error("RTCStats navigator.mediaDevices.getDisplayMediaOnFailure bind failed: ", e)
- }
- return Promise.reject(t)
- }))
- };
- navigator.mediaDevices.getDisplayMedia = n.bind(navigator.mediaDevices)
- }
- }(this.trace, i), this.initialized = !0
- }
- isInitialized() {
- return this.initialized
- }
- sendIdentityData(e) {
- this.trace && this.trace.identity("identity", null, e)
- }
- sendDominantSpeakerData(e) {
- this.trace && this.trace.statsEntry("dominantSpeaker", null, e)
- }
- connect() {
- this.trace && this.trace.connect()
- }
- close() {
- this.trace && this.trace.close()
- }
- handleTraceWSClose(e) {
- yae.info("RTCStats trace ws closed", e), Ma(function(e) {
- const t = {
- action: "trace.onclose",
- source: "rtcstats"
- };
- return t.code = e.code, t.reason = e.reason, t
- }(e))
- }
- };
-
- function _ae(e) {
- var t, n;
- if ("ReactNative" === navigator.product) return !1;
- const a = qe(e)["features/base/config"];
- return null !== (t = null == a || null === (n = a.analytics) || void 0 === n ? void 0 : n.rtcstatsEnabled) && void 0 !== t && t
+ }
+ class Ute {
+ constructor(e) {
+ this.eventEmitter = e, this.etherpad = null
}
-
- function wae(e) {
- return _ae(e) && kae.isInitialized()
+ get isOpen() {
+ return Boolean(this.etherpad)
}
-
- function Sae(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ isVisible() {
+ return X9.isLargeContainerTypeVisible(qte)
}
-
- function Eae(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ openEtherpad() {
+ this.etherpad = new Bte(function(e) {
+ const t = Fe(APP.store.getState),
+ {
+ documentUrl: n
+ } = t["features/etherpad"],
+ {
+ displayName: a
+ } = t["features/base/settings"];
+ if (!n) return;
+ const r = new URLSearchParams(v1);
+ return a && r.append("userName", a), `${n}?${r.toString()}`
+ }()), X9.addLargeVideoContainer(qte, this.etherpad)
+ }
+ toggleEtherpad() {
+ this.isOpen || this.openEtherpad();
+ const e = this.isVisible();
+ X9.showLargeVideoContainer(qte, !e), APP.store.dispatch(f1(!e))
}
- Be.register((e => t => n => {
- const a = e.getState(),
- r = a["features/base/config"],
- {
- analytics: i
- } = r;
- switch (n.type) {
- case y:
- if (_ae(a)) try {
- const e = i.rtcstatsPollInterval || 1e3,
- t = i.rtcstatsUseLegacy || !1;
- kae.init({
- endpoint: i.rtcstatsEndpoint,
- useLegacy: t,
- pollInterval: e
- })
- } catch (e) {
- yae.error("Failed to initialize RTCStats: ", e)
- }
- break;
- case YI:
- if (wae(a)) try {
- kae.connect();
- const e = Rh(a),
- t = gI(a),
- {
- conference: r
- } = n,
- i = r && r.getMeetingUniqueId();
- kae.sendIdentityData(function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Sae(e, t, n[t])
- }))
- }
- return e
- }({}, Ia(), t, {
- endpointId: null == e ? void 0 : e.id,
- confName: vI(a),
- displayName: null == e ? void 0 : e.name,
- meetingUniqueId: i
- }))
- } catch (e) {
- yae.error("RTCStats connect failed with: ", e)
- }
- break;
- case Nv:
- if (wae(a)) {
- const {
- id: e,
- previousSpeakers: t
- } = n.participant;
- kae.sendDominantSpeakerData({
- dominantSpeakerEndpoint: e,
- previousSpeakers: t
- })
- }
- }
- return t(n)
- })), Be.register((({
- dispatch: e,
- getState: t
- }) => n => a => {
- const r = n(a);
- switch (a.type) {
- case PZ: {
- const n = LZ(t());
- e(MZ(n));
- break
- }
- case DZ:
- if (a.getSpeakerStats) {
- const n = t(),
- r = function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Eae(e, t, n[t])
- }))
- }
- return e
- }({}, a.getSpeakerStats()),
- i = LZ(n, r),
- o = function(e) {
- var t, n;
- return null !== (t = null === (n = e["features/speaker-stats"]) || void 0 === n ? void 0 : n.pendingReorder) && void 0 !== t && t
- }(n);
- e(MZ(o ? RZ(n, i) : i))
- }
- break;
- case qv:
- case Uv:
- case Bv:
- case Hv:
- e({
- type: OZ
- })
+ }
+ const Hte = {
+ openCenteredPopup(e, t, n, a) {
+ const r = window.screenX + window.innerWidth / 2 - t / 2,
+ i = window.screenY + window.innerHeight / 2 - n / 2,
+ o = window.open(e, "_blank", String(`top=${i}, left=${r}, width=${t}, height=${n}`));
+ if (o && a) {
+ const e = window.setInterval((() => {
+ !1 !== o.closed && (window.clearInterval(e), a())
+ }), 200)
}
- return r
- }));
- const xae = Je("features/subtitles");
+ return o
+ },
+ showError(e) {
+ APP.store.dispatch(eg(e, Yf.LONG))
+ },
+ showWarning(e) {
+ APP.store.dispatch(ng(e, Yf.LONG))
+ }
+ }, Vte = {}, Wte = Ve().getLogger("modules/UI/UI.js"); Vte.messageHandler = Hte;
+ const Yte = new(o());
+ let Gte; Vte.eventEmitter = Yte;
+ const Kte = new Map([
+ [rX.ETHERPAD_CLICKED, () => Gte && Gte.toggleEtherpad()],
+ [rX.TOGGLE_FILMSTRIP, () => Vte.toggleFilmstrip()]
+ ]); Vte.isFullScreen = function() {
+ return HB.isFullScreen()
+ }, Vte.notifyGracefulShutdown = function() {
+ Hte.showError({
+ descriptionKey: "dialog.gracefulShutdown",
+ titleKey: "dialog.serviceUnavailable"
+ })
+ }, Vte.notifyReservationError = function(e, t) {
+ Hte.showError({
+ descriptionArguments: {
+ code: e,
+ msg: t
+ },
+ descriptionKey: "dialog.reservationErrorMsg",
+ titleKey: "dialog.reservationError"
+ })
+ }, Vte.initConference = function() {
+ Vte.showToolbar()
+ }, Vte.start = function() {
+ if (X9.initLargeVideo(), X9.resizeVideoArea(), va()) $("body").addClass("mobile-browser");
+ else if ($("body").addClass("desktop-browser"), void 0 !== config.backgroundAlpha) {
+ const e = jt($("body").css("background-color"), config.backgroundAlpha);
+ $("body").css("background-color", e)
+ }
+ config.iAmRecorder && (config.iAmSipGateway || APP.store.dispatch({
+ type: Vf,
+ enabled: !1
+ }), APP.store.dispatch(_I(!1)))
+ }, Vte.registerListeners = () => Kte.forEach(((e, t) => Vte.addListener(t, e))), Vte.bindEvents = () => {
+ function e() {
+ X9.onResize()
+ }
+ $(document).on("webkitfullscreenchange mozfullscreenchange fullscreenchange", e), $(window).resize(e)
+ }, Vte.unbindEvents = () => {
+ $(document).off("webkitfullscreenchange mozfullscreenchange fullscreenchange"), $(window).off("resize")
+ }, Vte.initEtherpad = e => {
+ if (Gte || !config.etherpad_base || !e) return;
+ Wte.log("Etherpad is enabled"), Gte = new Ute(Yte);
+ const t = new URL(e, config.etherpad_base);
+ APP.store.dispatch(g1(t.toString())), config.openSharedDocumentOnJoin && Gte.toggleEtherpad()
+ }, Vte.getSharedDocumentManager = () => Gte, Vte.addUser = function(e) {
+ const t = e.getStatus();
+ t && Vte.updateUserStatus(e, t)
+ }, Vte.updateUserStatus = (e, t) => {
+ const n = APP.store.getState() || {},
+ {
+ calleeInfoVisible: a
+ } = n["features/invite"] || {};
+ if (!t || a || Pw()) return;
+ const r = e.getDisplayName();
+ APP.store.dispatch(tg({
+ titleKey: `${r} connected`,
+ descriptionKey: "dialOut.statusMessage"
+ }, Yf.SHORT))
+ }, Vte.toggleFilmstrip = function() {
+ const {
+ visible: e
+ } = APP.store.getState()["features/filmstrip"];
+ APP.store.dispatch(MS(!e))
+ }, Vte.setAudioMuted = function(e) {
+ APP.conference.isLocalId(e) && APP.conference.updateAudioIconEnabled()
+ }, Vte.setVideoMuted = function(e) {
+ X9._updateLargeVideoIfDisplayed(e, !0), APP.conference.isLocalId(e) && APP.conference.updateVideoIconEnabled()
+ }, Vte.updateLargeVideo = (e, t) => X9.updateLargeVideo(e, t), Vte.addListener = function(e, t) {
+ Yte.on(e, t)
+ }, Vte.removeAllListeners = function() {
+ Yte.removeAllListeners()
+ }, Vte.emitEvent = function(e) {
+ for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++) n[a - 1] = arguments[a];
+ return Yte.emit(e, ...n)
+ }, Vte.showToolbar = e => APP.store.dispatch(xI(e)), Vte.dockToolbar = e => APP.store.dispatch(SI(e)), Vte.refreshAvatarDisplay = function(e) {
+ X9.changeUserAvatar(e)
+ }, Vte.notifyConnectionFailed = function(e) {
+ let t, n;
+ e ? (t = "dialog.connectErrorWithMsg", n = {
+ msg: e
+ }) : t = "dialog.connectError", Hte.showError({
+ descriptionArguments: n,
+ descriptionKey: t,
+ titleKey: "connection.CONNFAIL"
+ })
+ }, Vte.notifyMaxUsersLimitReached = function() {
+ Hte.showError({
+ hideErrorSupportLink: !0,
+ descriptionKey: "dialog.maxUsersLimitReached",
+ titleKey: "dialog.maxUsersLimitReachedTitle"
+ })
+ }, Vte.handleLastNEndpoints = function(e, t) {
+ X9.onLastNEndpointsChanged(e, t)
+ }, Vte.setAudioLevel = (e, t) => X9.setAudioLevel(e, t), Vte.notifyTokenAuthFailed = function() {
+ Hte.showError({
+ descriptionKey: "dialog.tokenAuthFailed",
+ titleKey: "dialog.tokenAuthFailedTitle"
+ })
+ }, Vte.onAvailableDevicesChanged = function() {
+ APP.conference.updateAudioIconEnabled(), APP.conference.updateVideoIconEnabled()
+ }, Vte.getLargeVideoID = function() {
+ return X9.getLargeVideoID()
+ }, Vte.getLargeVideo = function() {
+ return X9.getLargeVideo()
+ };
+ const $te = Vte;
+ var Jte = n(7795), Zte = n.n(Jte);
- function Cae(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ function Qte() {
+ const e = document.documentElement || {};
+ $("[data-i18n]").localize(), e.lang = _i.language
+ }
+ const Xte = new class {
+ constructor() {
+ Zte().init(_i, $, {
+ useOptionsAttr: !0
+ }), _i.isInitialized ? Qte() : _i.on("initialized", Qte), _i.on("languageChanged", Qte)
}
- const Aae = "transcription-result",
- jae = "translation-result";
-
- function Pae(e, t, n) {
- n.clearTimeOut && clearTimeout(n.clearTimeOut), n.clearTimeOut = setTimeout((() => e(function(e) {
- return {
- type: za,
- transcriptMessageID: e
- }
- }(t))), 3e3)
+ generateTranslationHTML(e, t) {
+ return `
${_i.t(e,t||void 0)}`
}
- Be.register((e => t => n => {
- switch (n.type) {
- case Na:
- return function({
- dispatch: e,
- getState: t
- }, n, a) {
- const {
- json: r
- } = a;
- if (!r || r.type !== Aae && r.type !== jae) return n(a);
- const i = t(),
- o = i["features/base/conference"].conference.getLocalParticipantProperty("translation_language");
- try {
- const t = r.message_id,
- n = r.participant.name;
- if (r.type === jae && r.language === o) {
- const a = {
- clearTimeOut: void 0,
- final: r.text,
- participantName: n
- };
- Pae(e, t, a), e(qa(t, a))
- } else if (r.type === Aae && !o) {
- const {
- text: a
- } = r.transcript[0], o = function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Cae(e, t, n[t])
- }))
- }
- return e
- }({}, i["features/subtitles"]._transcriptMessages.get(t) || {
- participantName: n
- });
- Pae(e, t, o), r.is_interim ? r.stability > .85 ? (o.stable = a, o.unstable = void 0) : o.unstable = a : o.final = a, e(qa(t, o))
- }
- } catch (e) {
- xae.error("Error occurred while updating transcriptions\n", e)
- }
- return n(a)
- }(e, t, n);
- case La:
- ! function({
- getState: e
- }) {
- const t = e(),
- {
- _requestingSubtitles: n
- } = t["features/subtitles"],
- {
- conference: a
- } = t["features/base/conference"];
- a.setLocalParticipantProperty("requestingTranscription", !n)
- }(e)
- }
- return t(n)
- })), Be.register((e => t => n => {
- switch (n.type) {
- case CV: {
- const {
- timeoutID: t
- } = e.getState()["features/toolbox"];
- clearTimeout(t);
- break
- }
- case jV:
- return function(e, t) {
- if ("object" == typeof APP) {
- const {
- fullScreen: e
- } = t;
- if (e) {
- const e = document.documentElement || {};
- "function" == typeof e.requestFullscreen ? e.requestFullscreen() : "function" == typeof e.mozRequestFullScreen ? e.mozRequestFullScreen() : "function" == typeof e.webkitRequestFullscreen && e.webkitRequestFullscreen()
- } else "function" == typeof document.exitFullscreen ? document.exitFullscreen() : "function" == typeof document.mozCancelFullScreen ? document.mozCancelFullScreen() : "function" == typeof document.webkitExitFullscreen && document.webkitExitFullscreen()
- }
- return e(t)
- }(t, n);
- case MV: {
- const {
- timeoutID: t
- } = e.getState()["features/toolbox"], {
- handler: a,
- timeoutMS: r
- } = n;
- clearTimeout(t), n.timeoutID = setTimeout(a, r);
- break
- }
- }
- return t(n)
- }));
- const Dae = "TRANSCRIBER_JOINED",
- Tae = "TRANSCRIBER_LEFT",
- Oae = "POTENTIAL_TRANSCRIBER_JOINED",
- Mae = "SET_PENDING_TRANSCRIBING_NOTIFICATION_UID";
+ translateElement(e, t) {
+ e.localize(t || void 0)
+ }
+ };
- function Iae(e) {
- return {
- type: Dae,
- transcriberJID: e
- }
+ function ene(e, t) {
+ return Object.entries(e).reduce(((e, n) => {
+ let [a, r] = n;
+ return Object.assign(e, {
+ [a]: t[r] || r
+ })
+ }), {})
+ }
+
+ function tne(e) {
+ const t = {};
+ for (const [n, a] of Object.entries(e)) t[`.${n}`] = a;
+ return t
+ }
+ const nne = BQ((e => ({
+ "@global": {
+ ...tne(y7(e)),
+ ...v7(e)
+ }
+ }))), ane = function() {
+ return nne(), null
+ }, rne = function(e) {
+ var t = e.children,
+ n = e.theme,
+ a = Fk(),
+ r = C().useMemo((function() {
+ var e = null === a ? n : function(e, t) {
+ return "function" == typeof t ? t(e) : z({}, e, t)
+ }(a, n);
+ return null != e && (e[qk] = null !== a), e
+ }), [n, a]);
+ return C().createElement(Lk.Provider, {
+ value: r
+ }, t)
+ }, ine = function(e) {
+ let {
+ font: t,
+ colors: n,
+ colorMap: a,
+ shape: r,
+ spacing: i,
+ typography: o,
+ breakpoints: s
+ } = e;
+ return nL({
+ props: {
+ MuiButtonBase: {
+ disableRipple: !0
+ }
+ },
+ spacing: i
+ }, {
+ palette: ene(a, n),
+ shape: r,
+ typography: {
+ font: t,
+ ...o
+ },
+ breakpoints: s
+ })
+ }({
+ font: ov,
+ colors: rv,
+ colorMap: iv,
+ spacing: lv,
+ shape: sv,
+ typography: cv,
+ breakpoints: uv
+ }), one = Ne((function(e) {
+ const {
+ muiBrandedTheme: t
+ } = e["features/dynamic-branding"];
+ return {
+ _theme: t || ine
+ }
+ }))((function(e) {
+ return x.createElement(rne, {
+ theme: e._theme
+ }, e.children)
+ })), sne = $e("features/chrome-banner"), lne = {}, cne = "hide_chrome_extension_banner"; class une extends x.PureComponent {
+ constructor(e) {
+ super(e), this.state = {
+ dontShowAgainChecked: !1,
+ closePressed: !1,
+ shouldShow: !1
+ }, this._onClosePressed = this._onClosePressed.bind(this), this._onInstallExtensionClick = this._onInstallExtensionClick.bind(this), this._shouldNotRender = this._shouldNotRender.bind(this), this._onDontShowAgainChange = this._onDontShowAgainChange.bind(this), this._onCloseKeyPress = this._onCloseKeyPress.bind(this), this._onInstallExtensionKeyPress = this._onInstallExtensionKeyPress.bind(this)
+ }
+ async componentDidUpdate(e) {
+ if (!this._isSupportedEnvironment()) return;
+ const {
+ bannerCfg: t
+ } = this.props, n = e.bannerCfg;
+ t.url && !n.url && sne.info("Chrome extension URL found."), (t.chromeExtensionsInfo || []).length && !(n.chromeExtensionsInfo || []).length && sne.info("Chrome extension(s) info found.");
+ const a = await _a(this.props.bannerCfg);
+ a && a.length && a.every((e => !e)) && !this.state.shouldShow && this.setState({
+ shouldShow: !0
+ })
}
- const Nae = "Transcriber";
- let zae;
-
- function Rae({
- dispatch: e,
- getState: t
- }) {
+ _isSupportedEnvironment() {
+ return interfaceConfig.SHOW_CHROME_EXTENSION_BANNER && dt.isChrome() && !dt.isTwa() && !va() && !this.props.isVpaas
+ }
+ _onClosePressed() {
+ Da(Yt(!1)), this.setState({
+ closePressed: !0
+ })
+ }
+ _onCloseKeyPress(e) {
+ " " !== e.key && "Enter" !== e.key || (e.preventDefault(), this._onClosePressed())
+ }
+ _onInstallExtensionClick() {
+ Da(Yt(!0)), window.open(this.props.bannerCfg.url), this.setState({
+ closePressed: !0
+ })
+ }
+ _onInstallExtensionKeyPress(e) {
+ " " !== e.key && "Enter" !== e.key || (e.preventDefault(), this._onClosePressed())
+ }
+ _shouldNotRender() {
+ if (!this._isSupportedEnvironment()) return !0;
+ const e = "true" === l.getItem(cne);
+ return !this.props.bannerCfg.url || e || this.state.closePressed || !this.state.shouldShow || this.props.iAmRecorder
+ }
+ _onDontShowAgainChange(e) {
+ this.setState({
+ dontShowAgainChecked: e.target.checked
+ })
+ }
+ render() {
+ if (this._shouldNotRender()) return this.state.dontShowAgainChecked && l.setItem(cne, "true"), null;
const {
- tileViewEnabled: n
- } = t()["features/video-layout"];
- void 0 === n && void 0 !== zae && e(Nk(zae)), zae = void 0
+ t: e
+ } = this.props, t = this.props.conference ? "chrome-extension-banner chrome-extension-banner__pos_in_meeting" : "chrome-extension-banner";
+ return C().createElement("div", {
+ className: t
+ }, C().createElement("div", {
+ "aria-aria-describedby": "chrome-extension-banner__text-container",
+ className: "chrome-extension-banner__container",
+ role: "banner"
+ }, C().createElement("div", {
+ className: "chrome-extension-banner__icon-container"
+ }), C().createElement("div", {
+ className: "chrome-extension-banner__text-container",
+ id: "chrome-extension-banner__text-container"
+ }, e("chromeExtensionBanner.installExtensionText")), C().createElement("div", {
+ "aria-label": e("chromeExtensionBanner.close"),
+ className: "chrome-extension-banner__close-container",
+ onClick: this._onClosePressed,
+ onKeyPress: this._onCloseKeyPress,
+ role: "button",
+ tabIndex: 0
+ }, C().createElement(lo, {
+ className: "gray",
+ size: 12,
+ src: ds
+ }))), C().createElement("div", {
+ className: "chrome-extension-banner__button-container"
+ }, C().createElement("div", {
+ "aria-labelledby": "chrome-extension-banner__button-text",
+ className: "chrome-extension-banner__button-open-url",
+ onClick: this._onInstallExtensionClick,
+ onKeyPress: this._onInstallExtensionKeyPress,
+ role: "button",
+ tabIndex: 0
+ }, C().createElement("div", {
+ className: "chrome-extension-banner__button-text",
+ id: "chrome-extension-banner__button-text"
+ }, e("chromeExtensionBanner.buttonText")))), C().createElement("div", {
+ className: "chrome-extension-banner__checkbox-container"
+ }, C().createElement("label", {
+ className: "chrome-extension-banner__checkbox-label",
+ htmlFor: "chrome-extension-banner__checkbox",
+ id: "chrome-extension-banner__checkbox-label"
+ }, C().createElement("input", {
+ "aria-labelledby": "chrome-extension-banner__checkbox-label",
+ checked: this.state.dontShowAgainChecked,
+ id: "chrome-extension-banner__checkbox",
+ onChange: this._onDontShowAgainChange,
+ type: "checkbox"
+ }), " ", e("chromeExtensionBanner.dontShowAgain"))))
+ }
+ }
+ const dne = Ei(Ne((e => ({
+ bannerCfg: e["features/base/config"].chromeExtensionBanner || lne,
+ conference: vF(e),
+ iAmRecorder: e["features/base/config"].iAmRecorder,
+ isVpaas: cM(e)
+ })))(une)); class pne extends Ff {
+ componentDidMount() {
+ super.componentDidMount(), this._init.then((() => {
+ this._openURL(Pn(this.props.url) || this._getDefaultURL())
+ }))
+ }
+ componentDidUpdate(e) {
+ const t = Pn(e.url),
+ n = Pn(this.props.url),
+ a = e.timestamp,
+ r = this.props.timestamp;
+ this._init.then((() => {
+ t === n && a === r || this._openURL(n || this._getDefaultURL())
+ }))
+ }
+ _createExtraElement() {
+ return C().createElement(x.Fragment, null, C().createElement(Xq, null))
}
+ _getDefaultURL() {
+ return pa(this.state.store)
+ }
+ _openURL(e) {
+ this.state.store.dispatch(tB(Pn(e)))
+ }
+ }
- function Lae({
- dispatch: e,
+ function hne(e) {
+ let {
getState: t
- }) {
- const {
- tileViewEnabled: n
- } = t()["features/video-layout"];
- void 0 !== n && (zae = n, e(Nk(void 0)))
- }
+ } = e;
+ const {
+ waitForOwnerTimeoutID: n
+ } = t()["features/authentication"];
+ n && clearTimeout(n)
+ }
- function Fae({
- getState: e
- }) {
- const t = e(),
- {
- conference: n
- } = t["features/base/conference"];
- if (!n) return;
- const {
- lastN: a
- } = t["features/base/lastn"], {
- maxReceiverVideoQuality: r,
- preferredVideoQuality: i
- } = t["features/video-quality"], {
- participantId: o
- } = t["features/large-video"], s = Math.min(r, i), {
- visibleRemoteParticipants: l
- } = t["features/filmstrip"], c = {
- constraints: {},
- defaultConstraints: {
- maxHeight: w8.NONE
- },
- lastN: a,
- onStageEndpoints: [],
- selectedEndpoints: []
- };
- if (Ok(t)) {
- if (!(null == l ? void 0 : l.size)) return;
- l.forEach((e => {
- c.constraints[e] = {
- maxHeight: s
- }
- }))
- } else {
- if (!(null == l ? void 0 : l.size) && !o) return;
- (null == l ? void 0 : l.size) > 0 && l.forEach((e => {
- c.constraints[e] = {
- maxHeight: w8.LOW
- }
- })), o && (c.constraints[o] = {
- maxHeight: s
- }, c.onStageEndpoints = [o])
+ function mne(e) {
+ let {
+ getState: t
+ } = e;
+ return t()["features/authentication"].waitForOwnerTimeoutID
+ }
+ qe.register((e => t => n => {
+ switch (n.type) {
+ case lB:
+ if (!BI(e, mB)) {
+ if (mne(e)) return e.dispatch(PB()), t(n);
+ e.dispatch(MB()), e.dispatch(sB())
+ }
+ break;
+ case UF: {
+ const {
+ error: t
+ } = n;
+ let a;
+ t.name === pt.AUTHENTICATION_REQUIRED && (void 0 === t.recoverable && (t.recoverable = !0), a = t.recoverable), a ? e.dispatch((e => e({
+ type: pB,
+ handler: () => e(((e, t) => {
+ const {
+ authRequired: n,
+ password: a
+ } = t()["features/base/conference"], r = Kn(t());
+ n && e(mq(n)), n && n.join(a, r)
+ })),
+ timeoutMs: 5e3
+ }))) : e.dispatch(jB());
+ break
}
- try {
- n.setReceiverConstraints(c)
- } catch (e) {
- _I(e), Nt(e, `Failed to set receiver video constraints ${JSON.stringify(c)}`)
+ case HF:
+ mne(e) && e.dispatch(jB()), e.dispatch(MB());
+ break;
+ case VF:
+ e.dispatch(jB());
+ break;
+ case TF:
+ e.dispatch(MB());
+ break;
+ case cB:
+ hne(e), e.dispatch(HI(mB));
+ break;
+ case pB: {
+ hne(e);
+ const {
+ handler: t,
+ timeoutMs: a
+ } = n;
+ n.waitForOwnerTimeoutID = setTimeout(t, a), BI(e, AB) || e.dispatch(PB());
+ break
}
}
- Be.register((e => t => n => {
- const {
- transcriberJID: a,
- potentialTranscriberJIDs: r
- } = e.getState()["features/transcribing"];
- switch (n.type) {
- case Tae:
- e.dispatch(Yf({
- descriptionKey: "transcribing.off",
- titleKey: "dialog.transcribing"
- }, zf));
- break;
- case Wv:
- n.displayName && n.displayName === Nae ? e.dispatch(Iae(n.id)) : e.dispatch((i = n.id, {
- type: Oae,
- transcriberJID: i
- }));
+ return t(n)
+ }));
+ const fne = {
+ microphone: {
+ [wt.CONSTRAINT_FAILED]: "dialog.micConstraintFailedError",
+ [wt.GENERAL]: "dialog.micUnknownError",
+ [wt.NOT_FOUND]: "dialog.micNotFoundError",
+ [wt.PERMISSION_DENIED]: "dialog.micPermissionDeniedError",
+ [wt.TIMEOUT]: "dialog.micTimeoutError"
+ },
+ camera: {
+ [wt.CONSTRAINT_FAILED]: "dialog.cameraConstraintFailedError",
+ [wt.GENERAL]: "dialog.cameraUnknownError",
+ [wt.NOT_FOUND]: "dialog.cameraNotFoundError",
+ [wt.PERMISSION_DENIED]: "dialog.cameraPermissionDeniedError",
+ [wt.UNSUPPORTED_RESOLUTION]: "dialog.cameraUnsupportedResolutionError",
+ [wt.TIMEOUT]: "dialog.cameraTimeoutError"
+ }
+ };
+ let gne;
+
+ function bne(e, t) {
+ let {
+ dispatch: n
+ } = e;
+ return t.forEach((e => {
+ switch (e.kind) {
+ case "videoinput":
+ n(hn({
+ userSelectedCameraDeviceId: e.deviceId,
+ userSelectedCameraDeviceLabel: e.label
+ })), n(oI(e.deviceId));
break;
- case Yv:
- n.id === a && e.dispatch(function(e) {
- return {
- type: Tae,
- transcriberJID: e
- }
- }(n.id));
+ case "audioinput":
+ n(hn({
+ userSelectedMicDeviceId: e.deviceId,
+ userSelectedMicDeviceLabel: e.label
+ })), n(aI(e.deviceId));
break;
- case Hv: {
- const {
- participant: t
- } = n;
- r.includes(t.id) && t.name === Nae && (e.dispatch(Iae(t.id)), e.dispatch(((e, t) => {
- const {
- pendingNotificationUid: n
- } = t()["features/transcribing"];
- n && (e(Vf(n)), e(function(e) {
+ case "audiooutput":
+ ZM(e.deviceId, n, !0, e.label).then((() => LM.log("changed audio output device"))).catch((e => {
+ LM.warn("Failed to change audio output device.", "Default or previously set audio output device will", " be used instead.", e)
+ }))
+ }
+ })), !0
+ }
+
+ function yne(e, t) {
+ Object.keys(t).forEach((n => {
+ e.hasOwnProperty(n) && ("object" == typeof e[n] ? yne(e[n], t[n]) : e[n] = t[n])
+ }))
+ }
+ qe.register((e => t => n => {
+ switch (n.type) {
+ case Va: {
+ const t = t => {
+ e.dispatch(function(e) {
return {
- type: Mae,
- uid: e
+ type: zM,
+ permissions: e
}
- }()))
- })));
- break
- }
- }
- var i;
- return t(n)
- })), at.register((e => e["features/base/tracks"]), cj()(((e, t) => {
- if (!Pk() || iJ(t)) return;
- const n = t.getState()["features/video-layout"].remoteScreenShares || [],
- a = e.reduce(((e, t) => ("video" === t.mediaType && "desktop" === t.videoType && ("remote-only" === Pk() && t.local || e.push(t.participantId)), e)), []),
- r = n.filter((e => a.includes(e)));
- a.forEach((e => {
- r.includes(e) || r.push(e)
- })), Re(n, r) || (t.dispatch({
- type: fk,
- participantIds: r
- }), Mk(n, t))
- }), 100)), Be.register((e => t => n => {
- let a = !1;
- switch (n.type) {
- case Uv:
- var r;
- if (!Pk() || iJ(e)) break;
- a = null === (r = Fh(e.getState(), n.participant.id)) || void 0 === r ? void 0 : r.isFakeParticipant
- }
- const i = t(n);
- switch (n.type) {
- case Vv:
- Yh(e.getState()) ? Lae(e) : Rae(e);
- break;
- case o6:
- n.editing ? Lae(e) : Rae(e);
- break;
- case gk:
- n.enabled && Yh(e) && e.dispatch(dk(null))
- }
- return a && Mk(e.getState()["features/video-layout"].remoteScreenShares || [], e), i
- })), at.register((e => yI(e)), ((e, {
- dispatch: t
- }, n) => {
- e !== n && t(Nk())
- })), Be.register((e => t => n => {
- const a = t(n);
- switch (n.type) {
- case KI:
- O3.reset();
- break;
- case qv:
- n.participant.local || O3.updateVideoMutedForNoTracks(n.participant.id);
- break;
- case Hv:
- void 0 !== n.participant.connectionStatus && O3.onParticipantConnectionStatusChanged(n.participant.id, n.participant.connectionStatus);
- break;
- case Y6:
- case G6:
- case TJ:
- O3.resizeVideoArea();
- break;
- case oo:
- n.track.mediaType !== Xi && O3._updateLargeVideoIfDisplayed(n.track.participantId, !0);
- break;
- case po:
- if (n.track.jitsiTrack.isLocal()) {
- const t = Rh(e.getState);
- O3._updateLargeVideoIfDisplayed(null == t ? void 0 : t.id)
- }
- break;
- case uo:
- n.track.local || n.track.mediaType === Xi || O3.updateVideoMutedForNoTracks(n.track.jitsiTrack.getParticipantId())
+ }(t))
+ },
+ {
+ mediaDevices: n
+ } = c.default;
+ gne = t, n.addEventListener(yt.PERMISSIONS_CHANGED, gne), Promise.all([n.isDevicePermissionGranted("audio"), n.isDevicePermissionGranted("video")]).then((e => {
+ t({
+ audio: e[0],
+ video: e[1]
+ })
+ })).catch((() => {}));
+ break
}
- return a
- })), at.register((e => e["features/filmstrip"].visibleRemoteParticipants), cj()(((e, t) => {
- Fae(t)
- }), 100)), at.register((e => e["features/large-video"].participantId), ((e, t) => {
- Fae(t)
- })), at.register((e => e["features/base/conference"].conference), ((e, t) => {
- Fae(t)
- })), at.register((e => e["features/video-layout"].tileViewEnabled), ((e, t) => {
- Fae(t)
- })), at.register((e => e["features/base/lastn"].lastN), ((e, t) => {
- Fae(t)
- })), at.register((e => {
- const {
- maxReceiverVideoQuality: t,
- preferredVideoQuality: n
- } = e["features/video-quality"];
- return {
- maxReceiverVideoQuality: t,
- preferredVideoQuality: n
+ case Wa:
+ "function" == typeof gne && (c.default.mediaDevices.removeEventListener(yt.PERMISSIONS_CHANGED, gne), gne = void 0);
+ break;
+ case DM: {
+ if ("object" != typeof APP || !n.error) break;
+ const {
+ message: t,
+ name: a
+ } = n.error, r = fne.camera[a], i = r || fne.camera[wt.GENERAL], o = r ? null : t, s = a === wt.PERMISSION_DENIED ? "deviceError.cameraPermission" : "deviceError.cameraError";
+ e.dispatch(ng({
+ description: o,
+ descriptionKey: i,
+ titleKey: s
+ }, Yf.MEDIUM)), kH(e.getState()) && e.dispatch(OH(s));
+ break
}
- }), ((e, t, n = {}) => {
- const {
- maxReceiverVideoQuality: a,
- preferredVideoQuality: r
- } = e, i = r !== n.preferredVideoQuality, o = a !== n.maxReceiverVideoQuality;
- i && (function(e, {
- getState: t
- }) {
- const n = t(),
- {
- conference: a
- } = n["features/base/conference"];
- a && (z8.info(`Setting sender resolution to ${e}`), a.setSenderVideoConstraint(e).catch((t => {
- _I(t), Nt(t, `Changing sender resolution to ${e} failed.`)
- })))
- }(r, t), "undefined" != typeof APP && APP.API.notifyVideoQualityChanged(r)), o && Fae(t)
- }), {
- deepEquals: !0
- }), at.register((e => {
- var t, n;
- const {
- reducedUI: a
- } = e["features/base/responsive-ui"], r = Ok(e), i = null === (t = e["features/filmstrip"]) || void 0 === t || null === (n = t.tileViewDimensions) || void 0 === n ? void 0 : n.thumbnailSize;
- return {
- displayTileView: r,
- participantCount: Bh(e),
- reducedUI: a,
- thumbnailHeight: null == i ? void 0 : i.height
- }
- }), (({
- displayTileView: e,
- participantCount: t,
- reducedUI: n,
- thumbnailHeight: a
- }, {
- dispatch: r,
- getState: i
- }) => {
- const o = i(),
- {
- maxReceiverVideoQuality: s
- } = o["features/video-quality"],
- {
- maxFullResolutionParticipants: l = 2
- } = o["features/base/config"];
- let c = w8.ULTRA;
- if (n) c = w8.LOW;
- else if (e && !Number.isNaN(a) && (c = function(e, t) {
- let n = w8.LOW;
- for (const [a, r] of t.entries()) e >= a && (n = r);
- return n
- }(a, function(e) {
- return e["features/video-quality"].minHeightForQualityLvl
- }(o)), s !== c && -1 !== l)) {
- const e = t > l && c > w8.STANDARD;
- z8.info(`Video quality level for thumbnail height: ${a}, is: ${c}, override: ${String(e)}, max full res N: ${l}`), e && (c = w8.STANDARD)
+ case PM: {
+ if ("object" != typeof APP || !n.error) break;
+ const {
+ message: t,
+ name: a
+ } = n.error, r = fne.microphone[a], i = r || fne.microphone[wt.GENERAL], o = r ? null : t, s = a === wt.PERMISSION_DENIED ? "deviceError.microphonePermission" : "deviceError.microphoneError";
+ e.dispatch(ng({
+ description: o,
+ descriptionKey: i,
+ titleKey: s
+ }, Yf.MEDIUM)), kH(e.getState()) && e.dispatch(OH(s));
+ break
}
- s !== c && r(function(e) {
- return {
- type: N8,
- maxReceiverVideoQuality: e
- }
- }(c))
- }), {
- deepEquals: !0
- }), Be.register((({
- dispatch: e,
- getState: t
- }) => n => a => {
- const r = n(a);
- switch (a.type) {
- case UI:
- if ("ReactNative" === navigator.product) {
- const {
- resolution: n
- } = t()["features/base/config"];
- void 0 !== n && (e(R8(Number.parseInt(n, 10))), z8.info(`Configured preferred receiver video frame height to: ${n}`))
+ case jM:
+ kH(e.getState()) ? e.dispatch((a = n.deviceId, async (e, t) => {
+ try {
+ var n;
+ const r = t()["features/base/tracks"],
+ i = await rt("audio", a);
+ e(vh(null === (n = Xp(r)) || void 0 === n ? void 0 : n.jitsiTrack, i))
+ } catch (t) {
+ e(OH("prejoin.audioTrackError")), _H.log("Error replacing audio track", t)
}
- break;
- case Rn: {
- const n = t(),
+ })) : APP.UI.emitEvent(rX.AUDIO_DEVICE_CHANGED, n.deviceId);
+ break;
+ case MM:
+ kH(e.getState()) ? e.dispatch(function(e) {
+ return async (t, n) => {
+ try {
+ var a;
+ const r = n()["features/base/tracks"],
+ i = jf(n()),
+ [o] = await Qp({
+ cameraDeviceId: e,
+ devices: ["video"]
+ }, {
+ dispatch: t,
+ getState: n
+ });
+ t(vh(null === (a = nh(r)) || void 0 === a ? void 0 : a.jitsiTrack, o)), i && o.mute()
+ } catch (e) {
+ t(OH("prejoin.videoTrackError")), _H.log("Error replacing video track", e)
+ }
+ }
+ }(n.deviceId)) : APP.UI.emitEvent(rX.VIDEO_DEVICE_CHANGED, n.deviceId);
+ break;
+ case IM:
+ if (function(e) {
+ const t = e => e.map((e => `\t\t${e.label}[${e.deviceId}]`)).join("\n"),
+ n = t(e.audioInput),
+ a = t(e.audioOutput),
+ r = t(e.videoInput);
+ LM.debug(`Device list updated:\naudioInput:\n${n}\naudioOutput:\n${a}\nvideoInput:\n${r}`)
+ }(WM(n.devices)), qM(e.getState())) return function(e, t, n) {
+ let {
+ dispatch: a,
+ getState: r
+ } = e;
+ const i = t(n),
+ o = r(),
{
- videoQuality: a = {}
- } = n["features/base/config"],
+ pendingRequests: s
+ } = o["features/base/devices"];
+ return s && 0 !== s.length ? (s.forEach((e => {
+ tZ(a, r, e, e.responseCallback)
+ })), a({
+ type: NM
+ }), i) : i
+ }(e, t, n);
+ break;
+ case RM:
+ ! function(e, t, n) {
+ const {
+ dispatch: a
+ } = e, r = t.filter((e => !n.find((t => t.deviceId === e.deviceId)))).reduce(((e, t) => (e[t.groupId] = e[t.groupId] || [], e[t.groupId].push(t), e)), {});
+ Object.values(r).forEach((t => {
+ if (t.length < 1) return;
+ const n = t[0],
+ r = YM(n.label);
+ let i;
+ switch (n.kind) {
+ case "videoinput":
+ i = "notify.newDeviceCameraTitle";
+ break;
+ case "audioinput":
+ case "audiooutput":
+ i = "notify.newDeviceAudioTitle"
+ }
+ kH(e.getState()) || a(tg({
+ description: r,
+ titleKey: i,
+ customActionNameKey: ["notify.newDeviceAction"],
+ customActionHandler: [bne.bind(void 0, e, t)]
+ }, Yf.MEDIUM))
+ }))
+ }(e, n.newDevices, n.oldDevices)
+ }
+ var a;
+ return t(n)
+ })), qe.register((e => t => n => {
+ switch (n.type) {
+ case Va:
+ e.dispatch((async function(e, t) {
+ const n = t(),
{
- persistedPrefferedVideoQuality: r
- } = n["features/video-quality-persistent-storage"];
- a.persist && void 0 !== r && e(R8(r));
- break
- }
- }
- return r
- }));
- const qae = Je("features/videosipgw");
- Be.register((({
- dispatch: e,
- getState: t
- }) => n => a => {
- const r = n(a);
- switch (a.type) {
- case GI: {
- const n = t()["features/base/conference"].joining;
- n.on(bt.VIDEO_SIP_GW_AVAILABILITY_CHANGED, ((...t) => e(function(e) {
- return {
- type: yW,
- status: e
- }
- }(...t)))), n.on(bt.VIDEO_SIP_GW_SESSION_STATE_CHANGED, (t => {
- const n = function(e) {
- switch (e.newState) {
- case xt.STATE_PENDING:
- return Yf({
- titleKey: "videoSIPGW.pending",
- titleArguments: {
- displayName: e.displayName
- }
- }, 2e3);
- case xt.STATE_FAILED:
- return Wf({
- titleKey: "videoSIPGW.errorInviteFailedTitle",
- titleArguments: {
- displayName: e.displayName
- },
- descriptionKey: "videoSIPGW.errorInviteFailed"
- });
- case xt.STATE_OFF:
- if (e.failureReason === xt.STATUS_BUSY) return Wf({
- descriptionKey: "videoSIPGW.busy",
- titleKey: "videoSIPGW.busyTitle"
- });
- e.failureReason && qae.error(`Unknown sip videogw error ${e.newState} ${e.failureReason}`)
- }
- return null
- }(t);
- n && e(n)
- }));
- break
- }
- case vW:
- ! function(e, t, n) {
- for (const a of e) {
+ customizationReady: a
+ } = n["features/dynamic-branding"];
+ if (!a) {
+ const t = await async function() {
+ const e = await lt(window.location.href),
+ {
+ dynamicBrandingUrl: t
+ } = e;
+ if (t) return t;
const {
- id: e,
- name: r
- } = a;
- if (e && r) {
- const a = t.createVideoSIPGWSession(e, r);
- if (a instanceof Error) {
- const e = a;
- switch (e.message) {
- case xt.ERROR_NO_CONNECTION:
- return void n(Wf({
- descriptionKey: "videoSIPGW.errorInvite",
- titleKey: "videoSIPGW.errorInviteTitle"
- }));
- case xt.ERROR_SESSION_EXISTS:
- return void n(Gf({
- titleKey: "videoSIPGW.errorAlreadyInvited",
- titleArguments: {
- displayName: r
- }
- }))
- }
- return void qae.error("Unknown error trying to create sip videogw session", e)
- }
- a.start()
- } else qae.error(`No display name or sip number for ${JSON.stringify(a)}`)
+ brandingDataUrl: n
+ } = e, a = XY();
+ return n && a ? `${n}?conferenceFqn=${encodeURIComponent(a)}` : void 0
+ }();
+ if (t) try {
+ const n = await bn(t);
+ return e({
+ type: JY,
+ value: n
+ })
+ } catch (t) {
+ return tG.error("Error fetching branding data", t), e({
+ type: ZY
+ })
}
- }(a.rooms, a.conference, e)
- }
- return r
- }));
- const Bae = "580px",
- Uae = "ignore-child",
- Hae = Ug.default.br`
- font-size: 0;
-`,
- Vae = Ug.default.button`
- align-items: center;
- background-color: ${e=>e.primary?"#0056E0":"#3D3D3D"};
- border: 0;
- border-radius: 6px;
- display: flex;
- font-weight: unset;
- justify-content: center;
- min-height: 32px;
-
- &:hover {
- background-color: ${e=>e.primary?"#246FE5":"#525252"};
- }
-`,
- Wae = (0, Ug.default)(Vae)`
- padding: 0 12px;
-`,
- Yae = Ug.default.div`
- box-sizing: border-box;
- flex: 1;
- overflow-y: auto;
- position: relative;
- padding: 0 ${e=>e.theme.panePadding}px;
-
- & > * + *:not(.${Uae}) {
- margin-top: 16px;
- }
-
- &::-webkit-scrollbar {
- display: none;
- }
-`,
- Gae = Ug.default.div.attrs((e => ({
- className: e.className
- })))`
- background-color: #292929;
- border-radius: 3px;
- box-shadow: 0px 3px 16px rgba(0, 0, 0, 0.6), 0px 0px 4px 1px rgba(0, 0, 0, 0.25);
- color: white;
- font-size: ${e=>e.theme.contextFontSize}px;
- font-weight: ${e=>e.theme.contextFontWeight};
- margin-top: ${e=>{const{participantActionButtonHeight:t,participantItemHeight:n}=e.theme;return(3*n+t)/4}}px;
- position: absolute;
- right: ${e=>e.theme.panePadding}px;
- top: 0;
- z-index: 2;
-
- & > li {
- list-style: none;
- }
-
- ${e=>e.isHidden&&"\n pointer-events: none;\n visibility: hidden;\n "}
-`,
- Kae = (0, Ug.default)(qs).attrs({
- size: 20
- })`
- & > svg {
- fill: #ffffff;
- }
-`,
- $ae = Ug.default.div`
- align-items: center;
- box-sizing: border-box;
- cursor: pointer;
- display: flex;
- min-height: 40px;
- padding: 10px 16px;
-
- & > *:not(:last-child) {
- margin-right: 16px;
- }
-
- &:hover {
- background-color: #525252;
- }
-`,
- Jae = Ug.default.div`
- &:not(:empty) {
- padding: 8px 0;
- }
-
- & + &:not(:empty) {
- border-top: 1px solid #4C4D50;
- }
-`,
- Zae = Ug.default.div`
- align-items: center;
- cursor: pointer;
- display: flex;
- height: 20px;
- justify-content: center;
- width: 20px;
-
- &:before, &:after {
- content: '';
- background-color: #a4b8d1;
- border-radius: 2px;
- height: 2px;
- position: absolute;
- transform-origin: center center;
- width: 21px;
- }
-
- &:before {
- transform: rotate(45deg);
- }
-
- &:after {
- transform: rotate(-45deg);
- }
-`,
- Qae = Ug.default.div`
- background-color: #141414;
- display: flex;
- justify-content: flex-end;
- padding: 24px ${e=>e.theme.panePadding}px;
-
- & > *:not(:last-child) {
- margin-right: 16px;
- }
-`,
- Xae = (0, Ug.default)(Vae)`
- height: 40px;
- font-size: 15px;
- padding: 0 16px;
-
- @media (max-width: ${Bae}) {
- font-size: 16px;
- height: 48px;
- min-width: 48px;
- }
-`,
- ere = (0, Ug.default)(Xae).attrs({
- children: x().createElement(qs, {
- src: Xc
- })
- })`
- padding: 8px;
-`,
- tre = Ug.default.div`
- position: relative;
-`,
- nre = Ug.default.div`
- align-items: center;
- box-sizing: border-box;
- display: flex;
- height: ${e=>e.theme.headerSize}px;
- padding: 0 20px;
-`,
- are = Ug.default.div`
- color: #d1dbe8;
- font-style: normal;
- font-size: 15px;
- line-height: 24px;
- margin: 8px 0 ${e=>e.theme.panePadding}px;
-
- @media (max-width: ${Bae}) {
- font-size: 16px;
- }
-`,
- rre = (0, Ug.default)(Vae)`
- height: ${e=>e.theme.participantActionButtonHeight}px;
- padding: 6px 10px;
-`,
- ire = (0, Ug.default)(rre).attrs({
- children: x().createElement(qs, {
- src: Xc
- }),
- primary: !0
- })`
- padding: 6px;
-`,
- ore = Ug.default.div`
- align-items: center;
- z-index: 1;
-
- & > *:not(:last-child) {
- margin-right: 8px;
- }
-`,
- sre = (0, Ug.default)(ore)`
- background-color: #292929;
- bottom: 1px;
- display: none;
- position: absolute;
- right: ${e=>e.theme.panePadding};
- top: 0;
-
- &:after {
- content: '';
- background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #292929 100%);
- bottom: 0;
- display: block;
- left: 0;
- pointer-events: none;
- position: absolute;
- top: 0;
- transform: translateX(-100%);
- }
-`,
- lre = (0, Ug.default)(ore)`
- display: flex;
-`,
- cre = Ug.default.div`
- align-items: center;
- box-shadow: inset 0px -1px 0px rgba(255, 255, 255, 0.15);
- display: flex;
- flex: 1;
- height: 100%;
- overflow: hidden;
- padding-right: ${e=>e.theme.panePadding}px;
-`,
- ure = Ug.default.div`
- display: flex;
- justify-content: flex-end;
-
- & > * {
- align-items: center;
- display: flex;
- justify-content: center;
- }
-
- & > *:not(:last-child) {
- margin-right: 8px;
- }
-
- .jitsi-icon {
- padding: 3px;
- }
-`,
- dre = Ug.default.div`
- align-items: center;
- color: white;
- display: flex;
- font-size: 13px;
- font-weight: normal;
- height: ${e=>e.theme.participantItemHeight}px;
- margin: 0 -${e=>e.theme.panePadding}px;
- padding-left: ${e=>e.theme.panePadding}px;
- position: relative;
-
- @media (max-width: ${Bae}) {
- font-size: 16px;
- height: 64px;
- }
-
- &:hover {
- ${ure} {
- ${e=>!e.local&&"display: none"};
- }
- }
-
- ${e=>!e.isHighlighted&&"&:hover {"}
- background-color: #292929;
-
- & ${ore} {
- ${e=>e.trigger===hm&&"\n display: flex;\n "}
- }
-
- & ${cre} {
- box-shadow: none;
- }
-
- & ${ure} {
- display: none;
- }
- ${e=>!e.isHighlighted&&"}"}
-`,
- pre = (0, Ug.default)(Vae).attrs({
- primary: !0
- })`
- font-size: 15px;
- height: 40px;
- width: 100%;
-
- & > *:not(:last-child) {
- margin-right: 8px;
- }
-
- @media (max-width: ${Bae}) {
- font-size: 16px;
- height: 48px;
- }
-`,
- hre = Ug.default.div`
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-`,
- mre = Ug.default.div`
- display: flex;
- flex: 1;
- overflow: hidden;
-`,
- fre = Ug.default.div`
- font-size: 12px;
- line-height: 16px;
- color: #858585;
-`,
- gre = Ug.default.div`
- display: flex;
- flex: 1;
- margin-right: 8px;
- overflow: hidden;
- flex-direction: column;
- justify-content: flex-start;
-`,
- bre = Ug.default.div`
- background-color: #ed9e1b;
- border-radius: 3px;
- height: 24px;
- width: 24px;
-`,
- yre = (Ug.default.div`
- position: relative;
- width: 100%;
-`, Ug.default.div`
- background-color: #0376da;
- border-radius: 1px 0 0 1px;
- height: 100%;
- left: 0;
- pointer-events: none;
- position: absolute;
-`, () => {
- const e = Ce(),
- {
- t
- } = mr(),
- n = (0, E.useCallback)((() => {
- Ma(hn("invite")), e(AW())
- }), [e]);
- return x().createElement(pre, {
- "aria-label": t("participantsPane.actions.invite"),
- onClick: n
- }, x().createElement(qs, {
- size: 20,
- src: iu
- }), x().createElement("span", null, t("participantsPane.actions.invite")))
- });
-
- function vre(e, t) {
- const n = Ce();
- return [(0, E.useCallback)((a => {
- a.stopPropagation(), n(J4(e && e.participantID)), t && t()
- }), [n, t]), (0, E.useCallback)((() => {
- n(Z4(e && e.participantID)), t && t()
- }), [n, t])]
- }
-
- function kre() {
- const [e, t] = (0, E.useState)(null);
- return [e, (0, E.useCallback)((() => {
- t(null)
- })), t]
- }
- const _re = () => x().createElement(bre, null, x().createElement(qs, {
- size: 15,
- src: Id
- })),
- wre = {
- [hm]: sre,
- [mm]: lre
- },
- Sre = Li((function({
- actionsTrigger: e = "Hover",
- audioMediaState: t = "None",
- children: n,
- disableModeratorIndicator: a,
- displayName: r,
- isHighlighted: i,
- isModerator: o,
- local: s,
- onLeave: l,
- openDrawerForParticipant: c,
- overflowDrawer: u,
- participantID: d,
- raisedHand: p,
- t: h,
- videoMediaState: m = "None",
- youText: f
- }) {
- const g = wre[e],
- b = (0, E.useCallback)((() => c({
- participantID: d,
- displayName: r
- })));
- return x().createElement(dre, {
- id: `participant-item-${d}`,
- isHighlighted: i,
- local: s,
- onClick: !s && u ? b : void 0,
- onMouseLeave: l,
- trigger: e
- }, x().createElement(ZG, {
- className: "participant-avatar",
- participantId: d,
- size: 32
- }), x().createElement(cre, null, x().createElement(gre, null, x().createElement(mre, null, x().createElement(hre, null, r), s ? x().createElement("span", null, " (", f, ")") : null), o && !a && x().createElement(fre, null, h("videothumbnail.moderator"))), !s && x().createElement(g, {
- children: n
- }), x().createElement(ure, null, p && x().createElement(_re, null), Sm[m], wm[t])))
- })),
- Ere = ({
- overflowDrawer: e,
- participant: t,
- openDrawerForParticipant: n
- }) => {
+ e({
+ type: QY
+ })
+ }
+ }));
+ break;
+ case JY: {
const {
- id: a
- } = t, [r, i] = vre({
- participantID: a
- }), {
- t: o
- } = mr();
- return x().createElement(Sre, {
- actionsTrigger: mm,
- audioMediaState: vm,
- displayName: t.name,
- local: t.local,
- openDrawerForParticipant: n,
- overflowDrawer: e,
- participantID: a,
- raisedHand: t.raisedHand,
- videoMediaState: vm,
- youText: o("chat.you")
- }, x().createElement(rre, {
- onClick: i,
- primary: !1
- }, o("lobby.reject")), x().createElement(rre, {
- onClick: r,
- primary: !0
- }, o("lobby.admit")))
- };
-
- function xre(e) {
- var t, n, a = "";
- if ("string" == typeof e || "number" == typeof e) a += e;
- else if ("object" == typeof e)
- if (Array.isArray(e))
- for (t = 0; t < e.length; t++) e[t] && (n = xre(e[t])) && (a && (a += " "), a += n);
- else
- for (t in e) e[t] && (a && (a += " "), a += t);
- return a
+ customTheme: e
+ } = n.value;
+ e && (n.value.muiBrandedTheme = function(e) {
+ const {
+ palette: t,
+ shape: n,
+ typography: a,
+ breakpoints: r,
+ spacing: i
+ } = e, o = ene(iv, rv);
+ t && yne(o, t);
+ const s = {
+ ...sv
+ };
+ n && yne(s, n);
+ const l = {
+ font: {
+ ...ov
+ },
+ ...cv
+ };
+ a && yne(l, a);
+ const c = {
+ ...uv
+ };
+ r && yne(c, r);
+ let u = [...lv];
+ return i && i.length && (u = i), nL({
+ props: {
+ MuiButtonBase: {
+ disableRipple: !0
+ }
+ },
+ spacing: u
+ }, {
+ palette: o,
+ shape: s,
+ typography: l,
+ breakpoints: c
+ })
+ }(e))
+ }
}
+ return t(n)
+ }));
+ const vne = $e("features/e2ee");
- function Cre() {
- for (var e, t, n = 0, a = ""; n < arguments.length;)(e = arguments[n++]) && (t = xre(e)) && (a && (a += " "), a += t);
- return a
- }
- const Are = gH((() => ({
- contextMenu: {
- bottom: "auto",
- margin: "0",
- padding: "8px 0",
- right: 0,
- top: "-8px",
- transform: "translateY(-100%)",
- width: "283px"
- },
- drawer: {
- width: "100%",
- top: "auto",
- bottom: 0,
- transform: "none",
- position: "relative",
- "& > div": {
- lineHeight: "32px"
+ function kne(e, t) {
+ const n = t(),
+ {
+ e2ee: a = {}
+ } = n["features/base/config"];
+ a.externallyManagedKey || (Yh(Fe(n)) >= 25 ? (e(d8(f8)), e(l8(!1))) : Yh(Fe(n)) >= 20 ? e(d8(m8)) : e(d8(g8)))
+ }
+ qe.register((e => {
+ let {
+ dispatch: t,
+ getState: n
+ } = e;
+ return e => a => {
+ const r = vF(n);
+ switch (a.type) {
+ case Va:
+ t(Oi(p8, "e2eeOff.mp3")), t(Oi(h8, "e2eeOn.mp3"));
+ break;
+ case Wa:
+ t(Ri(p8)), t(Ri(h8));
+ break;
+ case HF:
+ kne(t, n);
+ break;
+ case Hw: {
+ const {
+ id: r,
+ e2eeEnabled: o,
+ e2eeSupported: s
+ } = a.participant, l = Vh(n(), r), c = e(a);
+ if (o !== (null == l ? void 0 : l.e2eeEnabled) || s !== (null == l ? void 0 : l.e2eeSupported)) {
+ var i;
+ const e = n();
+ let a = !0,
+ r = !0;
+ for (const [t, n] of Jh(e))
+ if (n.e2eeEnabled || (r = !1), n.e2eeSupported || (a = !1), !r && !a) break;
+ null !== (i = Uh(e)) && void 0 !== i && i.e2eeEnabled || (r = !1), (0, Me.unstable_batchedUpdates)((() => {
+ t(c8(r)), t(u8(a))
+ }))
}
- },
- text: {
- color: "#C2C2C2",
- padding: "10px 16px"
- },
- paddedAction: {
- marginLeft: "36px"
+ return c
}
- }))),
- jre = ({
- inDrawer: e,
- onMouseLeave: t
- }) => {
- const n = Ce(),
- a = Pe((e => {
+ case qw: {
+ const r = e(a),
+ {
+ e2eeEnabled: i,
+ e2eeSupported: o,
+ local: s
+ } = a.participant,
+ {
+ everyoneEnabledE2EE: l
+ } = n()["features/e2ee"];
+ if (1 === Yh(n) && (0, Me.unstable_batchedUpdates)((() => {
+ t(c8(i)), t(u8(o))
+ })), l && !i && t(c8(!1)), s) return r;
+ const {
+ everyoneSupportE2EE: c
+ } = n()["features/e2ee"];
+ return c && !o && t(u8(!1)), kne(t, n), r
+ }
+ case Uw: {
+ var o;
+ const r = Vh(n(), null === (o = a.participant) || void 0 === o ? void 0 : o.id) || {},
+ i = e(a),
+ l = n(),
+ {
+ e2eeEnabled: c = !1,
+ e2eeSupported: u = !1
+ } = r,
+ {
+ everyoneEnabledE2EE: d,
+ everyoneSupportE2EE: p
+ } = l["features/e2ee"];
+ if (!d && !c || !p && !u) {
+ var s;
+ let e = !0,
+ n = !0;
+ for (const [t, a] of Jh(l))
+ if (a.e2eeEnabled || (e = !1), a.e2eeSupported || (n = !1), !e && !n) break;
+ null !== (s = Uh(l)) && void 0 !== s && s.e2eeEnabled || (e = !1), (0, Me.unstable_batchedUpdates)((() => {
+ !d && e && t(c8(!0)), !p && n && t(u8(!0))
+ }))
+ }
+ return kne(t, n), i
+ }
+ case a8:
+ if (r && r.isE2EEEnabled() !== a.enabled) {
+ vne.debug("E2EE will be " + (a.enabled ? "enabled" : "disabled")), r.toggleE2EE(a.enabled);
+ const e = Uh(n);
+ t(sS({
+ e2eeEnabled: a.enabled,
+ id: e.id,
+ local: !0
+ }));
+ const i = a.enabled ? h8 : p8;
+ t(Ii(i))
+ }
+ break;
+ case s8:
+ if (r && r.isE2EESupported()) {
const {
- conference: t
- } = e["features/base/conference"];
- return !!t && t.isAVModerationSupported()
- })),
- r = Pe($h),
- i = Pe(Bh),
- o = Pe(sm(Xi)),
- s = Pe(sm(to)),
- {
- t: l
- } = mr(),
- c = (0, E.useCallback)((() => n($m())), [n]),
- u = (0, E.useCallback)((() => n(Jm())), [n]),
- d = (0, E.useCallback)((() => n(Zm())), [n]),
- p = (0, E.useCallback)((() => n(Qm())), [n]),
- h = Are(),
- m = (0, E.useCallback)((() => n(sP(F1))), [n]);
- return x().createElement(Gae, {
- className: Cre(h.contextMenu, e && Cre(h.drawer)),
- onMouseLeave: t
- }, x().createElement(Jae, null, x().createElement($ae, {
- id: "participants-pane-context-menu-stop-video",
- onClick: m
- }, x().createElement(qs, {
- size: 20,
- src: Rp
- }), x().createElement("span", null, l("participantsPane.actions.stopEveryonesVideo")))), !a || 1 !== i && r ? void 0 : x().createElement(Jae, null, x().createElement("div", {
- className: h.text
- }, l("participantsPane.actions.allow")), o ? x().createElement($ae, {
- id: "participants-pane-context-menu-stop-audio-moderation",
- onClick: c
- }, x().createElement("span", {
- className: h.paddedAction
- }, l("participantsPane.actions.audioModeration"))) : x().createElement($ae, {
- id: "participants-pane-context-menu-start-audio-moderation",
- onClick: d
- }, x().createElement(qs, {
- size: 20,
- src: Rl
- }), x().createElement("span", null, l("participantsPane.actions.audioModeration"))), s ? x().createElement($ae, {
- id: "participants-pane-context-menu-stop-video-moderation",
- onClick: u
- }, x().createElement("span", {
- className: h.paddedAction
- }, l("participantsPane.actions.videoModeration"))) : x().createElement($ae, {
- id: "participants-pane-context-menu-start-video-moderation",
- onClick: p
- }, x().createElement(qs, {
- size: 20,
- src: Rl
- }), x().createElement("span", null, l("participantsPane.actions.videoModeration")))))
- },
- Pre = x().memo((function({
- openDrawerForParticipant: e,
- overflowDrawer: t,
- participants: n
- }) {
- return x().createElement("div", null, n.map((n => x().createElement(Ere, {
- key: n.id,
- openDrawerForParticipant: e,
- overflowDrawer: t,
- participant: n
- }))))
- }));
-
- function Dre(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Tre(e, t, n[t])
- }))
+ exportedKey: e,
+ index: t
+ } = a.keyInfo;
+ e ? window.crypto.subtle.importKey("raw", new Uint8Array(e), "AES-GCM", !1, ["encrypt", "decrypt"]).then((e => {
+ r.setMediaEncryptionKey({
+ encryptionKey: e,
+ index: t
+ })
+ })).catch((e => vne.error("SET_MEDIA_ENCRYPTION_KEY error", e))) : r.setMediaEncryptionKey({
+ encryptionKey: !1,
+ index: t
+ })
+ }
}
- return e
+ return e(a)
}
-
- function Tre(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ })), tt.register((e => vF(e)), ((e, t, n) => {
+ let {
+ dispatch: a
+ } = t;
+ n && a(l8(!1))
+ })), tt.register((e => QS(e)), (e => {
+ APP.API.notifyTileViewChanged(e)
+ })), tt.register((e => e["features/base/settings"].displayName), ((e, t) => {
+ const n = Uh(t.getState()),
+ {
+ defaultLocalDisplayName: a
+ } = t.getState()["features/base/config"];
+ if (n) {
+ const {
+ id: t
+ } = n;
+ APP.API.notifyDisplayNameChanged(t, {
+ displayName: e,
+ formattedDisplayName: t1(e, a)
+ })
}
- const Ore = gH((e => ({
- drawerActions: {
- listStyleType: "none",
- margin: 0,
- padding: 0
- },
- drawerItem: Dre({
- alignItems: "center",
- color: e.palette.text01,
- display: "flex",
- padding: "12px 16px"
- }, Os(e.typography.bodyShortRegularLarge), {
- "&:first-child": {
- marginTop: "15px"
- },
- "&:hover": {
- cursor: "pointer",
- background: e.palette.action02
+ })), tt.register((e => e["features/large-video"].participantId), (e => {
+ APP.API.notifyOnStageParticipantChanged(e)
+ })), qe.register((e => t => n => {
+ if (n.type === Gw) {
+ const {
+ id: a,
+ loadableAvatarUrl: r
+ } = n.participant, i = Vh(e.getState(), a), o = t(n);
+ return i && (r ? i.loadableAvatarUrl !== r && APP.API.notifyAvatarChanged(a, r) : APP.API.notifyAvatarChanged(a, i.name ? void 0 : new URL("images/avatar.png", function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : window;
+ const t = e.document.querySelector("base");
+ if (t && t.href) return t.href;
+ const {
+ protocol: n,
+ host: a
+ } = e.location;
+ return `${n}//${a}`
+ }()).href)), o
+ }
+ const a = t(n);
+ switch (n.type) {
+ case UF:
+ n.conference && n.error.name === pt.PASSWORD_REQUIRED && APP.API.notifyOnPasswordRequired();
+ break;
+ case HF: {
+ const t = e.getState(),
+ {
+ defaultLocalDisplayName: n
+ } = t["features/base/config"],
+ {
+ room: a
+ } = t["features/base/conference"],
+ {
+ loadableAvatarUrl: r,
+ name: i,
+ id: o
+ } = Uh(t);
+ APP.API.notifyConferenceJoined(a, o, {
+ displayName: i,
+ formattedDisplayName: t1(i, n),
+ avatarURL: r
+ });
+ break
+ }
+ case JF:
+ APP.API.notifyDataChannelOpened();
+ break;
+ case Nw:
+ APP.API.notifyDominantSpeakerChanged(n.participant.id);
+ break;
+ case ZF:
+ APP.API.notifyKickedOut({
+ id: Uh(e.getState()).id,
+ local: !0
+ }, {
+ id: n.participant ? n.participant.getId() : void 0
+ });
+ break;
+ case DM:
+ n.error && APP.API.notifyOnCameraError(n.error.name, n.error.message);
+ break;
+ case PM:
+ n.error && APP.API.notifyOnMicError(n.error.name, n.error.message);
+ break;
+ case Bw:
+ APP.API.notifyKickedOut({
+ id: n.kicked,
+ local: !1
+ }, {
+ id: n.kicker
+ });
+ break;
+ case Uw:
+ APP.API.notifyUserLeft(n.participant.id);
+ break;
+ case qw: {
+ const t = e.getState(),
+ {
+ defaultRemoteDisplayName: a
+ } = t["features/base/config"],
+ {
+ participant: r
+ } = n,
+ {
+ id: i,
+ local: o,
+ name: s
+ } = r;
+ o || APP.API.notifyUserJoined(i, {
+ displayName: s,
+ formattedDisplayName: t1(s || a)
+ });
+ break
+ }
+ case "PARTICIPANT_ROLE_CHANGED":
+ APP.API.notifyUserRoleChanged(n.participant.id, n.participant.role);
+ break;
+ case In: {
+ const t = e.getState(),
+ {
+ disableBeforeUnloadHandlers: n = !1
+ } = t["features/base/config"];
+ window.addEventListener(n ? "unload" : "beforeunload", (() => {
+ APP.API.notifyConferenceLeft(APP.conference.roomName), APP.API.dispose(), xee().dispose()
+ }));
+ break
+ }
+ case wS:
+ APP.API.notifyFilmstripDisplayChanged(n.visible);
+ break;
+ case _1:
+ APP.API.notifyFeedbackSubmitted(n.error || "Unknown error");
+ break;
+ case w1:
+ APP.API.notifyFeedbackSubmitted()
+ }
+ return a
+ })), qe.register((e => e => t => (t.type === WZ && "object" == typeof APP && APP.keyboardshortcut.openDialog(), e(t)))), qe.register((e => {
+ let {
+ getState: t,
+ dispatch: n
+ } = e;
+ return e => a => {
+ const r = e(a);
+ switch (a.type) {
+ case HF: {
+ const {
+ localRecording: e
+ } = t()["features/base/config"];
+ if (!Boolean(e && e.enabled && "object" == typeof APP)) break;
+ m0.onStateChanged = e => {
+ if (e) {
+ const e = new Date;
+ n({
+ type: H1,
+ recordingEngagedAt: e
+ })
+ } else n({
+ type: V1
+ })
+ }, m0.onWarning = (e, t) => {
+ n(tg({
+ titleKey: "localRecording.localRecording",
+ description: _i.t(e, t)
+ }, Yf.LONG))
+ }, m0.onNotify = (e, t) => {
+ n(tg({
+ titleKey: "localRecording.localRecording",
+ description: _i.t(e, t)
+ }, Yf.LONG))
+ }, "object" == typeof APP && "object" == typeof APP.keyboardshortcut && APP.keyboardshortcut.registerShortcut("L", null, (() => {
+ Da(on("local.recording")), n(WI(g0))
+ }), "keyboardShortcuts.localRecording"), e.format && m0.switchFormat(e.format);
+ const {
+ conference: a
+ } = t()["features/base/conference"];
+ m0.registerEvents(a);
+ break
+ }
+ case Wa:
+ m0.onStateChanged = null, m0.onNotify = null, m0.onWarning = null;
+ break;
+ case lf:
+ m0.setMuted(a.muted);
+ break;
+ case pn: {
+ const {
+ micDeviceId: e
+ } = t()["features/base/settings"];
+ e && m0.setMicDevice(e);
+ break
}
- }),
- icon: {
- marginRight: 16
- },
- headingContainer: {
- alignItems: "center",
- display: "flex",
- justifyContent: "space-between"
- },
- heading: Dre({}, Os(e.typography.heading7), {
- color: e.palette.text02
- }),
- link: Dre({}, Os(e.typography.labelBold), {
- color: e.palette.link01,
- cursor: "pointer"
- })
- })));
-
- function Mre() {
- const e = Pe(n8),
- t = Pe(a8),
- {
- t: n
- } = mr(),
- a = Ore(),
- r = Ce(),
- i = (0, E.useCallback)((() => {
- r(function(e) {
- return (t, n) => {
- const a = yI(n);
- e.forEach((e => {
- a.lobbyApproveAccess(e.id)
- }))
- }
- }(t))
- }), [r, t]),
- o = Pe(EH),
- [s, l, c] = kre(),
- [u, d] = vre(s, l);
- return e && t.length ? x().createElement(x().Fragment, null, x().createElement("div", {
- className: a.headingContainer
- }, x().createElement("div", {
- className: a.heading
- }, n("participantsPane.headings.lobby", {
- count: t.length
- })), x().createElement("div", {
- className: a.link,
- onClick: i
- }, n("lobby.admitAll"))), x().createElement(Pre, {
- openDrawerForParticipant: c,
- overflowDrawer: o,
- participants: t
- }), x().createElement(k7, null, x().createElement(y7, {
- isOpen: Boolean(s && o),
- onClose: l
- }, x().createElement("ul", {
- className: a.drawerActions
- }, x().createElement("li", {
- className: a.drawerItem
- }, x().createElement(ZG, {
- className: a.icon,
- participantId: s && s.participantID,
- size: 20
- }), x().createElement("span", null, s && s.displayName)), x().createElement("li", {
- className: a.drawerItem,
- onClick: u
- }, x().createElement(qs, {
- className: a.icon,
- size: 20,
- src: Rl
- }), x().createElement("span", null, n("lobby.admit"))), x().createElement("li", {
- className: a.drawerItem,
- onClick: d
- }, x().createElement(qs, {
- className: a.icon,
- size: 20,
- src: Ul
- }), x().createElement("span", null, n("lobby.reject"))))))) : null
- }
-
- function Ire(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Nre(e, t, n[t])
- }))
}
- return e
+ return r
}
+ }));
+ const _ne = "SET_NO_AUDIO_SIGNAL_NOTIFICATION_UID";
- function Nre(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ function wne(e) {
+ return {
+ type: _ne,
+ uid: e
}
- class zre extends E.Component {
- constructor(e) {
- super(e), this.state = {
- isHidden: !0
- }, this._containerRef = x().createRef(), this._getCurrentParticipantId = this._getCurrentParticipantId.bind(this), this._onGrantModerator = this._onGrantModerator.bind(this), this._onKick = this._onKick.bind(this), this._onMuteEveryoneElse = this._onMuteEveryoneElse.bind(this), this._onMuteVideo = this._onMuteVideo.bind(this), this._onSendPrivateMessage = this._onSendPrivateMessage.bind(this), this._position = this._position.bind(this), this._onVolumeChange = this._onVolumeChange.bind(this), this._onAskToUnmute = this._onAskToUnmute.bind(this)
- }
- _getCurrentParticipantId() {
- const {
- _participant: e,
- drawerParticipant: t,
- overflowDrawer: n
- } = this.props;
- return n ? null == t ? void 0 : t.participantID : null == e ? void 0 : e.id
- }
- _onGrantModerator() {
- this.props.dispatch(sP(w1, {
- participantID: this._getCurrentParticipantId()
- }))
- }
- _onKick() {
- this.props.dispatch(sP(A1, {
- participantID: this._getCurrentParticipantId()
- }))
+ }
+ class Sne extends x.Component {
+ render() {
+ const {
+ _dialIn: e,
+ _dialInfoPageUrl: t,
+ t: n
+ } = this.props;
+ return HU(e) ? C().createElement("div", null, n("toolbar.noAudioSignalDialInDesc"), " ", C().createElement("a", {
+ href: t,
+ rel: "noopener noreferrer",
+ target: "_blank"
+ }, n("toolbar.noAudioSignalDialInLinkDesc"))) : null
+ }
+ }
+ const Ene = Ei(Ne((function(e) {
+ return {
+ _dialIn: e["features/invite"],
+ _dialInfoPageUrl: UU(e)
+ }
+ }))(Sne)), xne = "NO_AUDIO_SIGNAL_SOUND"; qe.register((e => t => async n => {
+ const a = t(n),
+ {
+ dispatch: r
+ } = e;
+ switch (n.type) {
+ case Va:
+ r(Oi(xne, "noAudioSignal.mp3"));
+ break;
+ case Wa:
+ r(Ri(xne));
+ break;
+ case HF:
+ !async function(e, t) {
+ let {
+ dispatch: n,
+ getState: a
+ } = e;
+ const {
+ conference: r
+ } = t;
+ r.on(ht.AUDIO_INPUT_STATE_CHANGE, (e => {
+ const {
+ noAudioSignalNotificationUid: t
+ } = a()["features/no-audio-signal"];
+ t && e && (n(Xf(t)), n(wne()))
+ })), r.on(ht.NO_AUDIO_INPUT, (async () => {
+ const {
+ noSrcDataNotificationUid: e
+ } = a()["features/base/no-src-data"];
+ if (e) return;
+ const t = await c.default.getActiveAudioDevice(),
+ {
+ noAudioSignalNotificationUid: r
+ } = a()["features/no-audio-signal"];
+ r && (n(Xf(r)), n(wne()));
+ let i, o, s = "toolbar.noAudioSignalDesc";
+ "" !== t.deviceLabel && (s = "toolbar.noAudioSignalDescSuggestion", i = [`Switch to ${YM(t.deviceLabel)}`], o = [() => {
+ n(hn({
+ userSelectedMicDeviceId: t.deviceId,
+ userSelectedMicDeviceLabel: t.deviceLabel
+ })), n(aI(t.deviceId))
+ }]);
+ const l = await n(tg({
+ titleKey: "toolbar.noAudioSignalTitle",
+ description: C().createElement(Ene, null),
+ descriptionKey: s,
+ customActionNameKey: i,
+ customActionHandler: o
+ }, Yf.LONG));
+ n(Ii(xne)), l && n(wne(l.uid))
+ }))
+ }(e, n)
+ }
+ return a
+ })), qe.register((e => t => n => {
+ switch (n.type) {
+ case qw: {
+ const r = t(n),
+ {
+ participant: i
+ } = n,
+ {
+ dispatch: o,
+ getState: s
+ } = e,
+ l = s(),
+ {
+ conference: c
+ } = l["features/base/conference"];
+ return !c || i.local || Pw() || i.isReplacing || o((a = Kh(l, i.id), ig.push(a), (e, t) => rg(e, t))), r
}
- _onStopSharedVideo() {
+ case Uw:
+ if (!Pw()) {
+ const {
+ dispatch: t,
+ getState: a
+ } = e, r = a(), i = Vh(e.getState(), n.participant.id);
+ !i || i.local || n.participant.isReplaced || t(function(e) {
+ return ag.push(e), (e, t) => og(e, t)
+ }(Kh(r, i.id)))
+ }
+ return t(n);
+ case Hw: {
+ const a = e.getState(),
+ {
+ disableModeratorIndicator: r
+ } = a["features/base/config"];
+ if (r) return t(n);
const {
- dispatch: e
- } = this.props;
- e(this._onStopSharedVideo())
- }
- _onMuteEveryoneElse() {
- this.props.dispatch(sP(z1, {
- exclude: [this._getCurrentParticipantId()]
- }))
- }
- _onMuteVideo() {
- this.props.dispatch(sP(Y1, {
- participantID: this._getCurrentParticipantId()
- }))
- }
- _onSendPrivateMessage() {
+ id: i,
+ role: o
+ } = n.participant, s = Uh(a);
+ if ((null == s ? void 0 : s.id) !== i) return t(n);
+ const l = Vh(a, i),
+ c = null == l ? void 0 : l.role;
+ return c && c !== o && o === Rh && e.dispatch(tg({
+ titleKey: "notify.moderator"
+ }, Yf.SHORT)), t(n)
+ }
+ case w0:
+ e.dispatch({
+ type: Wf
+ })
+ }
+ var a;
+ return t(n)
+ })), tt.register((e => vF(e)), ((e, t) => {
+ let {
+ dispatch: n
+ } = t;
+ e || n(Qf())
+ })), qe.register((e => t => n => {
+ switch (n.type) {
+ case HF: {
const {
- closeDrawer: e,
dispatch: t,
- overflowDrawer: n
- } = this.props;
- var a;
- t((a = this._getCurrentParticipantId(), function(e, t) {
- return e({
- participant: Fh(t(), a),
- type: z3
- })
- })), n && e()
+ getState: n
+ } = e, {
+ disableSelfView: a
+ } = n()["features/base/settings"];
+ a && t(tg({
+ titleKey: "notify.selfViewTitle",
+ customActionNameKey: ["settings.title"],
+ customActionHandler: [() => t(DX(jY.PROFILE))]
+ }, Yf.MEDIUM));
+ break
}
- _position() {
+ }
+ return t(n)
+ }));
+ const Cne = "SET_NOISY_AUDIO_INPUT_NOTIFICATION_UID";
+
+ function Ane(e) {
+ return {
+ type: Cne,
+ uid: e
+ }
+ }
+ const Tne = "NOISY_AUDIO_INPUT_SOUND"; qe.register((e => t => n => {
+ const a = t(n);
+ switch (n.type) {
+ case Va:
+ e.dispatch(Oi(Tne, "noisyAudioInput.mp3"));
+ break;
+ case Wa:
+ e.dispatch(Ri(Tne));
+ break;
+ case HF: {
const {
- _participant: e,
- offsetTarget: t
- } = this.props;
- if (e && this._containerRef.current && (null == t ? void 0 : t.offsetParent) && t.offsetParent instanceof HTMLElement) {
+ dispatch: t,
+ getState: a
+ } = e, {
+ conference: r
+ } = n;
+ r.on(ht.TRACK_MUTE_CHANGED, (e => {
const {
- current: e
- } = this._containerRef, {
- offsetTop: n,
- offsetParent: {
- offsetHeight: a,
- scrollTop: r
+ noisyAudioInputNotificationUid: n
+ } = a()["features/noise-detection"];
+ n && e.isAudioTrack() && e.isLocal() && e.isMuted() && (t(Xf(n)), t(Ane()))
+ })), r.on(ht.NOISY_MIC, (async () => {
+ const e = await t(tg({
+ titleKey: "toolbar.noisyAudioInputTitle",
+ descriptionKey: "toolbar.noisyAudioInputDesc"
+ }, Yf.MEDIUM));
+ t(Ii(Tne)), e && t(Ane(e.uid))
+ }));
+ break
+ }
+ }
+ return a
+ })); class Dne extends x.Component {
+ render() {
+ const {
+ t: e
+ } = this.props;
+ return C().createElement("div", null, e("notify.oldElectronClientDescription1"), C().createElement("a", {
+ href: "https://github.com/jitsi/jitsi-meet-electron/releases/latest",
+ rel: "noopener noreferrer",
+ target: "_blank"
+ }, e("notify.oldElectronClientDescription2")), e("notify.oldElectronClientDescription3"))
+ }
+ }
+ const Pne = Ei(Dne); qe.register((e => t => n => n.type === Va ? function(e, t, n) {
+ if (function() {
+ if (!dt.isElectron()) return !1;
+ const e = navigator.userAgent.match(/(JitsiMeet)\s*\/\s*((\d+)\.[^\s]*)/);
+ if (!Array.isArray(e) || e.length < 3) return !1;
+ const t = Number(e[3]);
+ return !(isNaN(t) || t >= 2)
+ }()) {
+ const {
+ dispatch: t
+ } = e;
+ t(eg({
+ titleKey: "notify.OldElectronAPPTitle",
+ description: C().createElement(Pne, null)
+ }, Yf.LONG))
+ }
+ return t(n)
+ }(e, t, n) : t(n))), qe.register((e => t => n => {
+ const a = t(n),
+ {
+ dispatch: r,
+ getState: i
+ } = e;
+ switch (n.type) {
+ case HF: {
+ const e = new wee({
+ backend: new vee({
+ postisOptions: {
+ scope: "jitsi-power-monitor"
}
- } = t, i = (e => {
- const t = getComputedStyle(e);
- return e.offsetHeight + Am(t, "margin-top") + Am(t, "margin-bottom")
- })(e);
- e.style.top = n + i > a + r ? n - i : n, this.setState({
- isHidden: !1
})
- } else this.setState({
- isHidden: !0
- })
+ });
+ e.on("event", (e => !(!e || "power-monitor" !== e.name || "suspend" !== e.event || (r(Tee()), 0)))), r(Dee(e));
+ break
}
- _onVolumeChange(e) {
+ case VF: {
const {
- _participant: t,
- dispatch: n
- } = this.props, {
- id: a
- } = t;
- n(JJ(a, e))
+ transport: e
+ } = i()["features/power-monitor"];
+ e && e.dispose(), r(Dee());
+ break
+ }
+ case Cee:
+ r(gh()), APP.conference.onSuspendDetected(), APP.API.notifySuspendDetected()
+ }
+ return a
+ })), qe.register((e => t => async n => {
+ switch (n.type) {
+ case lf:
+ kH(e.getState()) && e.dispatch(hn({
+ startWithAudioMuted: Boolean(n.muted)
+ }));
+ break;
+ case pf:
+ kH(e.getState()) && e.dispatch(hn({
+ startWithVideoMuted: Boolean(n.muted)
+ }));
+ break;
+ case up:
+ case hp: {
+ const t = e.getState();
+ if (kH(t)) {
+ const {
+ track: {
+ jitsiTrack: a
+ }
+ } = n, {
+ deviceStatusType: r,
+ deviceStatusText: i
+ } = t["features/prejoin"];
+ if (!a.isAudioTrack()) break;
+ a.isReceivingData() ? "warning" === r && "prejoin.audioDeviceProblem" === i && e.dispatch({
+ type: XU,
+ value: {
+ deviceStatusText: "prejoin.lookGood",
+ deviceStatusType: "ok"
+ }
+ }) : "ok" === r && e.dispatch(OH("prejoin.audioDeviceProblem"))
+ }
+ break
}
- _onAskToUnmute() {
+ case UF:
+ e.dispatch(jH(!1));
+ break;
+ case HF:
+ return function(e, t, n) {
+ let {
+ dispatch: a
+ } = e;
+ return a(jH(!1)), t(n)
+ }(e, t, n)
+ }
+ return t(n)
+ })), tt.register((e => {
+ const {
+ participantId: t
+ } = e["features/large-video"], {
+ controller: n
+ } = e["features/remote-control"], {
+ controlled: a
+ } = n;
+ if (a) return a === t
+ }), ((e, t) => {
+ let {
+ dispatch: n
+ } = t;
+ !0 === e ? n(g5()) : !1 === e && n(b5())
+ })), qe.register((e => t => async n => {
+ switch (n.type) {
+ case Va: {
const {
- _participant: e,
dispatch: t
- } = this.props, {
- id: n
} = e;
- t(Wm(n))
- }
- componentDidMount() {
- this._position()
- }
- componentDidUpdate(e) {
- e.offsetTarget === this.props.offsetTarget && e._participant === this.props._participant || this._position()
+ t(d5(new wee({
+ backend: new vee({
+ postisOptions: {
+ scope: "jitsi-remote-control"
+ }
+ })
+ })));
+ break
}
- render() {
+ case Wa: {
const {
- _isAudioForceMuted: e,
- _isLocalModerator: t,
- _isChatButtonEnabled: n,
- _isParticipantModerator: a,
- _isParticipantVideoMuted: r,
- _isParticipantAudioMuted: i,
- _isVideoForceMuted: o,
- _localVideoOwner: s,
- _participant: l,
- _volume: c = 1,
- classes: u,
- closeDrawer: d,
- drawerParticipant: p,
- onEnter: h,
- onLeave: m,
- onSelect: f,
- overflowDrawer: g,
- muteAudio: b,
- t: y
- } = this.props;
- if (!l) return null;
- const v = !Ea() && g && "number" == typeof c && !isNaN(c),
- k = (null == l ? void 0 : l.isFakeParticipant) ? x().createElement(x().Fragment, null, s && x().createElement($ae, {
- onClick: this._onStopSharedVideo
- }, x().createElement(Kae, {
- src: vp
- }), x().createElement("span", null, y("toolbar.stopSharedVideo")))) : x().createElement(x().Fragment, null, t && x().createElement(Jae, null, x().createElement(x().Fragment, null, g && (e || o) && x().createElement($ae, {
- onClick: this._onAskToUnmute
- }, x().createElement(Kae, {
- src: Uu
- }), x().createElement("span", null, y(e ? "participantsPane.actions.askUnmute" : "participantsPane.actions.allowVideo"))), !i && g && x().createElement($ae, {
- onClick: b(l)
- }, x().createElement(Kae, {
- src: Fu
- }), x().createElement("span", null, y("dialog.muteParticipantButton"))), x().createElement($ae, {
- onClick: this._onMuteEveryoneElse
- }, x().createElement(Kae, {
- src: sd
- }), x().createElement("span", null, y("toolbar.accessibilityLabel.muteEveryoneElse")))), r || x().createElement($ae, {
- onClick: this._onMuteVideo
- }, x().createElement(Kae, {
- src: Rp
- }), x().createElement("span", null, y("participantsPane.actions.stopVideo")))), x().createElement(Jae, null, t && x().createElement(x().Fragment, null, !a && x().createElement($ae, {
- onClick: this._onGrantModerator
- }, x().createElement(Kae, {
- src: pc
- }), x().createElement("span", null, y("toolbar.accessibilityLabel.grantModerator"))), x().createElement($ae, {
- onClick: this._onKick
- }, x().createElement(Kae, {
- src: Wl
- }), x().createElement("span", null, y("videothumbnail.kick")))), n && x().createElement($ae, {
- onClick: this._onSendPrivateMessage
- }, x().createElement(Kae, {
- src: Cu
- }), x().createElement("span", null, y("toolbar.accessibilityLabel.privateMessage")))), v && x().createElement(Jae, null, x().createElement(l2, {
- initialValue: c,
- key: "volume-slider",
- onChange: this._onVolumeChange
- })));
- return x().createElement(x().Fragment, null, !g && x().createElement(Gae, {
- className: Uae,
- innerRef: this._containerRef,
- isHidden: this.state.isHidden,
- onClick: f,
- onMouseEnter: h,
- onMouseLeave: m
- }, k), x().createElement(k7, null, x().createElement(y7, {
- isOpen: p && g,
- onClose: d
- }, x().createElement("div", {
- className: u && u.drawer
- }, x().createElement(Jae, null, x().createElement($ae, null, x().createElement(ZG, {
- participantId: p && p.participantID,
- size: 20
- }), x().createElement("span", null, p && p.displayName))), k))))
- }
- }
- const Rre = LW((e => ({
- drawer: {
- "& > div": Ire({}, Os(e.typography.bodyShortRegularLarge), {
- lineHeight: "32px",
- "& svg": {
- fill: e.palette.icon01
- }
- }),
- "&:first-child": {
- marginTop: 15
- }
- }
- })))(Li(ze((function(e, t) {
- var n;
- const {
- participantID: a,
- overflowDrawer: r,
- drawerParticipant: i
- } = t, {
- ownerId: o
- } = e["features/shared-video"], s = Rh(e).id, l = qh(e, r ? null == i ? void 0 : i.participantID : a), c = Jh(e), u = Xn("chat", e), d = Ho(l, e), p = Uo(l, e), h = Gh(l), {
- participantsVolume: m
- } = e["features/filmstrip"], f = null == l ? void 0 : l.id, g = null === (n = null == l ? void 0 : l.local) || void 0 === n || n;
- return {
- _isAudioForceMuted: Cm(l, Xi, e),
- _isLocalModerator: c,
- _isChatButtonEnabled: u,
- _isParticipantModerator: h,
- _isParticipantVideoMuted: d,
- _isParticipantAudioMuted: p,
- _isVideoForceMuted: Cm(l, to, e),
- _localVideoOwner: Boolean(o === s),
- _participant: l,
- _volume: g ? void 0 : f ? m[f] : void 0
- }
- }))(zre)));
-
- function Lre({
- askUnmuteText: e,
- participantID: t
- }) {
- const n = Ce(),
- a = (0, E.useCallback)((() => {
- n(Wm(t))
- }), [n, t]);
- return x().createElement(Wae, {
- "aria-label": `unmute-${t}`,
- onClick: a,
- primary: !0,
- theme: {
- panePadding: 16
- }
- }, e)
- }
-
- function Fre({
- askUnmuteText: e,
- buttonType: t,
- muteAudio: n,
- muteParticipantButtonText: a,
- participantID: r
- }) {
- switch (t) {
- case km:
- return x().createElement(Wae, {
- "aria-label": `mute-${r}`,
- onClick: n(r),
- primary: !0
- }, a);
- case _m:
- return x().createElement(Lre, {
- askUnmuteText: e,
- participantID: r
- });
- default:
- return null
+ getState: t,
+ dispatch: n
+ } = e, {
+ transport: a
+ } = t()["features/remote-control"].receiver;
+ a && (a.dispose(), n(d5()));
+ break
}
- }
- const qre = Li(ze((function(e, t) {
- const {
- participantID: n
- } = t, {
- ownerId: a
- } = e["features/shared-video"], r = Rh(e).id, i = qh(e, n), o = Uo(i, e), s = Ho(i, e), l = function(e, t, n) {
- const a = Kh(n);
- return t ? Cm(e, Xi, n) ? bm : gm : e === a ? fm : ym
- }(i, o, e), c = function(e, t, n) {
- return t ? Cm(e, to, n) ? bm : gm : ym
- }(i, s, e), u = function(e, t, n) {
- if (Jh(n)) {
- if (!t) return km;
- if ((e => {
+ case HF: {
+ const a = t(n),
+ {
+ getState: r
+ } = e,
+ {
+ transport: i
+ } = r()["features/remote-control"].receiver;
+ return i && i.on("event", (t => t.name === U3 && (function(e, t) {
+ let {
+ getState: n,
+ dispatch: a
+ } = t;
+ switch (e.type) {
+ case "supported":
+ X3.log("Remote Control supported."), e5(n()) ? a(((e, t) => {
+ const n = t(),
+ {
+ enabled: a
+ } = n["features/remote-control"].receiver;
+ if (a) return;
const {
- conference: t
- } = e["features/base/conference"];
- return !!t && t.isAVModerationSupported()
- })(n)) return _m
- }
- return "None"
- }(0, o, e), d = e["features/base/tracks"], p = n === r ? Wo(d) : Qo(d, Xi, n), {
- disableModeratorIndicator: h
- } = e["features/base/config"];
- return {
- _audioMediaState: l,
- _audioTrack: p,
- _disableModeratorIndicator: h,
- _displayName: Hh(e, null == i ? void 0 : i.id),
- _local: Boolean(null == i ? void 0 : i.local),
- _localVideoOwner: Boolean(a === r),
- _participant: i,
- _participantID: null == i ? void 0 : i.id,
- _quickActionButtonType: u,
- _raisedHand: Boolean(null == i ? void 0 : i.raisedHand),
- _videoMediaState: c
- }
- }))((function({
- _audioMediaState: e,
- _audioTrack: t,
- _disableModeratorIndicator: n,
- _displayName: a,
- _local: r,
- _localVideoOwner: i,
- _participant: o,
- _participantID: s,
- _quickActionButtonType: l,
- _raisedHand: c,
- _videoMediaState: u,
- askUnmuteText: d,
- isHighlighted: p,
- muteAudio: h,
- muteParticipantButtonText: m,
- onContextMenu: f,
- onLeave: g,
- openDrawerForParticipant: b,
- overflowDrawer: y,
- participantActionEllipsisLabel: v,
- t: k,
- youText: _
- }) {
- const [w, S] = (0, E.useState)(!1), [C, A] = (0, E.useState)(!1), j = (0, E.useCallback)((e => {
- const t = "number" != typeof e || isNaN(e) ? 0 : e;
- S(t > .009)
- }), []);
- (0, E.useEffect)((() => {
- if (t && !C) {
- const {
- jitsiTrack: e
- } = t;
- e && (e.on(At.TRACK_AUDIO_LEVEL_CHANGED, j), A(!0))
+ connection: r
+ } = n["features/base/connection"], {
+ conference: i
+ } = n["features/base/conference"];
+ r && i ? (e({
+ type: R3,
+ enabled: !0
+ }), r.addFeature(H3, !0), o5 = (t, n) => {
+ e(function(e, t) {
+ return (n, a) => {
+ const {
+ action: r,
+ name: i,
+ type: o
+ } = t;
+ if (i !== U3) return;
+ const s = a(),
+ {
+ receiver: l
+ } = s["features/remote-control"],
+ {
+ enabled: c,
+ transport: u
+ } = l;
+ if (c) {
+ const {
+ controller: a
+ } = l;
+ a || o !== V3 || r !== Y3 ? a === e && (o === W3 ? n(p5(!1, !0)) : u.sendEvent(t)) : (n(l5(!0)), n(function(e) {
+ return VI(B3, {
+ participantId: e
+ })
+ }(e)))
+ } else X3.log("Remote control message is ignored because remote control is disabled", t)
+ }
+ }(t.getId(), n))
+ }, i.on(ht.ENDPOINT_MESSAGE_RECEIVED, o5)) : X3.error("Couldn't enable the remote receiver! The connection or conference instance is undefined!")
+ })) : X3.log("Remote Control disabled.");
+ break;
+ case W3:
+ a(p5())
}
- return () => {
- if (t && C) {
- const {
- jitsiTrack: e
- } = t;
- e && e.off(At.TRACK_AUDIO_LEVEL_CHANGED, j)
- }
- }
- }), [t]);
- const P = e === ym && w ? fm : e;
- let D = d;
- return e !== bm && u === bm && (D = k("participantsPane.actions.allowVideo")), x().createElement(Sre, {
- actionsTrigger: hm,
- audioMediaState: P,
- disableModeratorIndicator: n,
- displayName: a,
- isHighlighted: p,
- isModerator: Gh(o),
- local: r,
- onLeave: g,
- openDrawerForParticipant: b,
- overflowDrawer: y,
- participantID: s,
- raisedHand: c,
- videoMediaState: u,
- youText: _
- }, !y && !(null == o ? void 0 : o.isFakeParticipant) && x().createElement(x().Fragment, null, x().createElement(Fre, {
- askUnmuteText: D,
- buttonType: l,
- muteAudio: h,
- muteParticipantButtonText: m,
- participantID: s
- }), x().createElement(ire, {
- "aria-label": v,
- onClick: f
- })), !y && i && (null == o ? void 0 : o.isFakeParticipant) && x().createElement(ire, {
- "aria-label": v,
- onClick: f
- }))
- }))),
- Bre = x().memo((function({
- askUnmuteText: e,
- lowerMenu: t,
- toggleMenu: n,
- muteAudio: a,
- muteParticipantButtonText: r,
- participantIds: i,
- openDrawerForParticipant: o,
- overflowDrawer: s,
- raiseContextId: l,
- participantActionEllipsisLabel: c,
- youText: u
- }) {
- return i.map((i => x().createElement(qre, {
- askUnmuteText: e,
- isHighlighted: l === i,
- key: i,
- muteAudio: a,
- muteParticipantButtonText: r,
- onContextMenu: n(i),
- onLeave: t,
- openDrawerForParticipant: o,
- overflowDrawer: s,
- participantActionEllipsisLabel: c,
- participantID: i,
- youText: u
- })))
- }));
-
- function Ure() {
- return Ure = Object.assign || function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t];
- for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
- }
- return e
- }, Ure.apply(this, arguments)
- }
- const Hre = Object.freeze(Object.create(null)),
- Vre = ze((function(e) {
- return {
- sortedParticipantIds: Pm(e),
- participantsCount: Uh(e),
- showInviteButton: (e => {
- const {
- disableInviteFunctions: t
- } = qe(e)["features/base/config"];
- return Df(e, Va, !0) && !t
- })(e) && Xn("invite", e),
- overflowDrawer: EH(e)
- }
- }))((function({
- participantsCount: e,
- showInviteButton: t,
- overflowDrawer: n,
- sortedParticipantIds: a = []
- }) {
- const r = Ce(),
- i = (0, E.useRef)(!1),
- [o, s] = (0, E.useState)(Hre),
- {
- t: l
- } = mr(),
- c = (0, E.useCallback)((() => {
- window.queueMicrotask((() => {
- i.current || o !== Hre && s(Hre)
- }))
- }), [o]),
- u = (0, E.useCallback)(((e, t) => {
- s({
- participantID: e,
- offsetTarget: xm(t, dre)
- })
- }), [o]),
- d = (0, E.useCallback)((e => t => {
- const {
- participantID: n
- } = o;
- n && n === e ? c() : u(e, t.target)
- }), [o]),
- p = (0, E.useCallback)((() => {
- i.current = !0
- }), []),
- h = (0, E.useCallback)((() => {
- i.current = !1, c()
- }), [c]),
- m = (0, E.useCallback)((e => () => {
- r(UQ(e, Xi)), r(Ym(e))
- }), [r]),
- [f, g, b] = kre(),
- y = l("MeetingParticipantItem.ParticipantActionEllipsis.options"),
- v = l("chat.you"),
- k = l("participantsPane.actions.askUnmute"),
- _ = l("dialog.muteParticipantButton");
- return x().createElement(x().Fragment, null, x().createElement(are, null, l("participantsPane.headings.participantsList", {
- count: e
- })), t && x().createElement(yre, null), x().createElement("div", null, x().createElement(Bre, {
- askUnmuteText: k,
- lowerMenu: c,
- muteAudio: m,
- muteParticipantButtonText: _,
- openDrawerForParticipant: b,
- overflowDrawer: n,
- participantActionEllipsisLabel: y,
- participantIds: a,
- participantsCount: e,
- raiseContextId: o.participantID,
- toggleMenu: d,
- youText: v
- })), x().createElement(Rre, Ure({
- closeDrawer: g,
- drawerParticipant: f,
- muteAudio: m,
- onEnter: p,
- onLeave: h,
- onSelect: c,
- overflowDrawer: n
- }, o)))
- }));
- class Wre extends E.Component {
- constructor(e) {
- super(e), this.state = {
- contextOpen: !1
- }, this._onClosePane = this._onClosePane.bind(this), this._onDrawerClose = this._onDrawerClose.bind(this), this._onKeyPress = this._onKeyPress.bind(this), this._onMuteAll = this._onMuteAll.bind(this), this._onToggleContext = this._onToggleContext.bind(this), this._onWindowClickListener = this._onWindowClickListener.bind(this)
- }
- componentDidMount() {
- window.addEventListener("click", this._onWindowClickListener)
- }
- componentWillUnmount() {
- window.removeEventListener("click", this._onWindowClickListener)
+ }(t, e), !0))), a
}
- render() {
+ case Uw: {
const {
- _overflowDrawer: e,
- _paneOpen: t,
- _showFooter: n,
- t: a
- } = this.props, {
- contextOpen: r
- } = this.state;
- return t ? x().createElement(Ug.ThemeProvider, {
- theme: cX
- }, x().createElement("div", {
- className: Em("participants_pane", !t && "participants_pane--closed")
- }, x().createElement("div", {
- className: "participants_pane-content"
- }, x().createElement(nre, null, x().createElement(Zae, {
- "aria-label": a("participantsPane.close", "Close"),
- onClick: this._onClosePane,
- onKeyPress: this._onKeyPress,
- role: "button",
- tabIndex: 0
- })), x().createElement(Yae, null, x().createElement(Mre, null), x().createElement(Hae, null), x().createElement(Vre, null)), n && x().createElement(Qae, null, x().createElement(Xae, {
- onClick: this._onMuteAll
- }, a("participantsPane.actions.muteAll")), x().createElement(tre, null, x().createElement(ere, {
- id: "participants-pane-context-menu",
- onClick: this._onToggleContext
- }), this.state.contextOpen && !e && x().createElement(jre, {
- onMouseLeave: this._onToggleContext
- })))), x().createElement(k7, null, x().createElement(y7, {
- isOpen: r && e,
- onClose: this._onDrawerClose
- }, x().createElement(jre, {
- inDrawer: !0
- }))))) : null
- }
- _onClosePane() {
- this.props.dispatch(K6())
- }
- _onDrawerClose() {
- this.setState({
- contextOpen: !1
- })
- }
- _onKeyPress(e) {
- " " !== e.key && "Enter" !== e.key || (e.preventDefault(), this._onClosePane())
- }
- _onMuteAll() {
- this.props.dispatch(sP(z1))
- }
- _onToggleContext() {
- this.setState({
- contextOpen: !this.state.contextOpen
- })
- }
- _onWindowClickListener(e) {
- this.state.contextOpen && !xm(e.target, tre) && this.setState({
- contextOpen: !1
- })
+ getState: t,
+ dispatch: a
+ } = e, r = t(), {
+ id: i
+ } = n.participant, {
+ receiver: o,
+ controller: s
+ } = r["features/remote-control"], {
+ requestedParticipant: l,
+ controlled: c
+ } = s;
+ i === c && a(c5()), i === l && (a(u5()), a(l5(!1))), (null == o ? void 0 : o.controller) === i && a(p5(!1, !0));
+ break
}
}
- const Yre = Li(ze((function(e) {
- const t = jm(e);
- return {
- _overflowDrawer: EH(e),
- _paneOpen: t,
- _showFooter: t && Jh(e)
- }
- }))(Wre));
+ return t(n)
+ }));
+ const jne = $e("features/screen-share");
- function Gre(e) {
- const t = qe(e),
- n = Boolean(VN(t)),
- {
- calleeInfoVisible: a
- } = t["features/invite"];
- return jv(t) && !n && !a
- }
- class Kre extends E.Component {
- renderNotificationsContainer(e) {
- return this.props._notificationsVisible ? x().createElement(Iv, e) : null
- }
- }
- class $re extends E.Component {
- render() {
- return this.props._showLabel ? x().createElement(Fw, {
- content: this.props.t("transcribing.labelToolTip"),
- position: "left"
- }, x().createElement(qW, {
- className: "recording-label",
- text: this.props.t("transcribing.tr")
- })) : null
- }
+ function Mne(e, t) {
+ const n = e.getState(),
+ {
+ conference: a
+ } = n["features/base/conference"],
+ {
+ captureFrameRate: r
+ } = n["features/screen-share"],
+ i = null != t ? t : r;
+ a && i && (jne.debug(`Setting screenshare capture frame rate as ${i}`), a.setDesktopSharingFrameRate(i))
+ }
+
+ function Ine(e) {
+ return {
+ type: m6,
+ disabled: e
}
- const Jre = Li(ze((function(e) {
- return {
- _showLabel: e["features/transcribing"].isTranscribing
- }
- }))($re));
- class Zre extends E.Component {
- constructor(e) {
- super(e), this.state = {
- timerValue: Ri(0)
- }
- }
- componentDidMount() {
- this._startTimer()
- }
- componentWillUnmount() {
- this._stopTimer()
+ }
+
+ function One(e) {
+ let {
+ id: t,
+ status: n,
+ conference: a,
+ localParticipantId: r,
+ time: i,
+ muted: o,
+ volume: s
+ } = e;
+ a.sendCommandOnce(US, {
+ value: t,
+ attributes: {
+ from: r,
+ muted: o,
+ state: n,
+ time: i,
+ volume: s
}
- render() {
+ })
+ }
+ qe.register((e => t => n => {
+ const a = t(n);
+ switch (n.type) {
+ case HF:
+ Mne(e);
+ break;
+ case sY: {
const {
- timerValue: e
- } = this.state, {
- _startTimestamp: t,
- textStyle: n
- } = this.props;
- return t ? function(e, t) {
- return x().createElement("span", {
- className: "subject-timer"
- }, e)
- }(e) : null
- }
- _setStateFromUTC(e, t) {
- if (!e || !t) return;
- if (t < e) return;
- const n = Ri(t - e);
- this.setState({
- timerValue: n
- })
- }
- _startTimer() {
- this._interval || (this._setStateFromUTC(this.props._startTimestamp, (new Date).getTime()), this._interval = setInterval((() => {
- this._setStateFromUTC(this.props._startTimestamp, (new Date).getTime())
- }), 1e3))
+ captureFrameRate: t
+ } = n;
+ Mne(e, t);
+ break
}
- _stopTimer() {
- this._interval && clearInterval(this._interval), this.setState({
- timerValue: Ri(0)
+ }
+ return a
+ })), qe.register((e => t => n => {
+ var a;
+ const {
+ dispatch: r,
+ getState: i
+ } = e, o = i(), s = vF(o), l = null === (a = Uh(o)) || void 0 === a ? void 0 : a.id, {
+ videoUrl: c,
+ status: u,
+ ownerId: d,
+ time: p,
+ muted: h,
+ volume: m
+ } = n, {
+ ownerId: f,
+ videoUrl: g
+ } = o["features/shared-video"];
+ switch (n.type) {
+ case VF:
+ r(f6());
+ break;
+ case Uw:
+ n.participant.id === f && (0, Me.unstable_batchedUpdates)((() => {
+ r(f6()), r(rS(g, s))
+ }));
+ break;
+ case p6:
+ l === d && One({
+ conference: s,
+ localParticipantId: l,
+ muted: h,
+ status: u,
+ time: p,
+ id: c,
+ volume: m
+ });
+ break;
+ case h6:
+ l === f && One({
+ conference: s,
+ id: g,
+ localParticipantId: l,
+ muted: !0,
+ status: "stop",
+ time: 0,
+ volume: 0
})
- }
}
- const Qre = ze((function(e) {
- return {
- _startTimestamp: bI(e)
- }
- }))(Zre),
- Xre = {
- alwaysVisible: ["recording", "local-recording"],
- autoHide: ["subject", "conference-timer", "participants-count", "e2ee", "transcribing", "video-quality", "insecure-room"]
- },
- eie = e => {
- const {
- conferenceInfo: t
- } = e["features/base/config"];
- var n, a;
- return t ? {
- alwaysVisible: null !== (n = t.alwaysVisible) && void 0 !== n ? n : Xre.alwaysVisible,
- autoHide: null !== (a = t.autoHide) && void 0 !== a ? a : Xre.autoHide
- } : Xre
- },
- tie = ({
- visible: e,
- children: t
- }) => x().createElement("div", {
- className: "subject" + (e ? " visible" : "")
- }, x().createElement("div", {
- className: "subject-info-container"
- }, t));
- var nie = n(7541),
- aie = n.n(nie);
-
- function rie(e = "") {
- return aie()(e).score < 3
- }
- class iie extends E.PureComponent {
- render() {
- return this.props._visible ? this._render() : null
- }
- }
- const oie = Li(ze((function(e) {
+ return t(n)
+ })), tt.register((e => vF(e)), ((e, t, n) => {
+ e && e !== n && e.addCommandListener(US, (n => {
+ let {
+ value: a,
+ attributes: r
+ } = n;
const {
- locked: t,
- room: n
- } = e["features/base/conference"], {
- lobbyEnabled: a
- } = e["features/lobby"], {
- enableInsecureRoomNameWarning: r = !1
- } = e["features/base/config"];
- return {
- _visible: r && n && rie(n) && !(a || Boolean(t))
- }
- }))(class extends iie {
- _render() {
- return x().createElement(Lw, {
- content: this.props.t("security.insecureRoomNameWarning"),
- position: "bottom"
- }, x().createElement(qW, {
- className: "label--red",
- icon: ch
- }))
- }
- }));
- class sie extends E.PureComponent {
- constructor(e) {
- super(e), this._onClick = this._onClick.bind(this)
- }
- _onClick() {
+ dispatch: i,
+ getState: o
+ } = t, {
+ from: s
+ } = r, l = Uh(o()).id, c = r.state;
+ VS(c) ? function(e, t, n, a) {
+ var r;
+ let {
+ state: i,
+ time: o,
+ from: s,
+ muted: l
+ } = n;
const {
- dispatch: e,
- conference: t
- } = this.props;
- e(sP($Z, {
- conference: t
+ dispatch: c,
+ getState: u
+ } = e, d = Uh(u()).id, p = null === (r = u()["features/shared-video"]) || void 0 === r ? void 0 : r.status;
+ if ("start" === i || !["playing", "pause", "start"].includes(p)) {
+ const e = !t.match(/http/) && t;
+ c(nS({
+ conference: a,
+ id: t,
+ isFakeParticipant: !0,
+ avatarURL: e ? `https://img.youtube.com/vi/${e}/0.jpg` : "",
+ name: BS
+ })), c(uS(t))
+ }
+ d !== s && c(g6({
+ muted: "true" === l,
+ ownerId: s,
+ status: i,
+ time: Number(o),
+ videoUrl: t
}))
- }
- render() {
- const {
- count: e
- } = this.props;
- return e <= 2 ? null : x().createElement("div", {
- className: "participants-count",
- onClick: this._onClick
- }, x().createElement(qW, {
- className: "label--white",
- icon: Jp,
- text: e
+ }(t, a, r, e) : "stop" === c && (i(rS(a, e)), l !== s && i(f6()))
+ }))
+ })), tt.register((e => vF(e)), ((e, t, n) => {
+ e && e !== n && e.addCommandListener(US, (e => {
+ let {
+ attributes: n
+ } = e;
+ const {
+ dispatch: a,
+ getState: r
+ } = t, {
+ from: i
+ } = n, o = Uh(r()).id, s = n.state;
+ "playing" === s ? o !== i && a(Ine(!0)) : "stop" === s && a(Ine(!1))
+ }))
+ }));
+ const Nne = "SET_CURRENT_NOTIFICATION_UID";
+
+ function Rne(e) {
+ return {
+ type: Nne,
+ uid: e
+ }
+ }
+ const zne = "TALK_WHILE_MUTED_SOUND"; qe.register((e => t => n => {
+ const a = t(n),
+ {
+ dispatch: r,
+ getState: i
+ } = e,
+ {
+ conference: o
+ } = n;
+ switch (n.type) {
+ case Va:
+ r(Oi(zne, "talkWhileMuted.mp3"));
+ break;
+ case Wa:
+ r(Ri(zne));
+ break;
+ case HF:
+ o.on(ht.TRACK_MUTE_CHANGED, (e => {
+ const {
+ currentNotificationUid: t
+ } = i()["features/talk-while-muted"];
+ t && e.isAudioTrack() && e.isLocal() && !e.isMuted() && (r(Xf(t)), r(Rne()))
+ })), o.on(ht.TALK_WHILE_MUTED, (async () => {
+ const e = i(),
+ t = Uh(e);
+ if (!pI(e)) {
+ const n = Mm(t, Fi, e),
+ a = await r(tg({
+ titleKey: "toolbar.talkWhileMutedPopup",
+ customActionNameKey: [n ? "notify.raiseHandAction" : "notify.unmute"],
+ customActionHandler: [() => r(n ? dS(!0) : gf(!1))]
+ }, Yf.LONG)),
+ {
+ soundsTalkWhileMuted: o
+ } = i()["features/base/settings"];
+ o && r(Ii(zne)), a && r(Rne(a.uid))
+ }
}))
- }
}
- const lie = ze((function(e) {
- return {
- conference: e["features/base/conference"].conference,
- count: Bh(e)
- }
- }))(sie),
- cie = [{
- Component: ze((function(e) {
- return {
- _subject: fI(e)
- }
- }))((({
- _subject: e
- }) => x().createElement("div", {
- className: "subject-text"
- }, x().createElement(Fw, {
- content: e,
- position: "bottom"
- }, x().createElement("div", {
- className: "subject-text--content"
- }, e))))),
- id: "subject"
- }, {
- Component: Qre,
- id: "conference-timer"
- }, {
- Component: lie,
- id: "participants-count"
- }, {
- Component: L4,
- id: "e2ee"
- }, {
- Component: () => x().createElement(x().Fragment, null, x().createElement(UW, {
- mode: Et.mode.FILE
- }), x().createElement(UW, {
- mode: Et.mode.STREAM
- })),
- id: "recording"
- }, {
- Component: W6,
- id: "local-recording"
- }, {
- Component: Jre,
- id: "transcribing"
- }, {
- Component: J8,
- id: "video-quality"
- }, {
- Component: oie,
- id: "insecure-room"
- }];
- class uie extends E.Component {
- constructor(e) {
- super(e), this._renderAutoHide = this._renderAutoHide.bind(this), this._renderAlwaysVisible = this._renderAlwaysVisible.bind(this)
- }
- _renderAutoHide() {
- const {
- autoHide: e
- } = this.props._conferenceInfo;
- return e && e.length ? x().createElement(tie, {
- visible: this.props._visible
- }, cie.filter((t => e.includes(t.id))).map((e => x().createElement(e.Component, {
- key: e.id
- })))) : null
- }
- _renderAlwaysVisible() {
- const {
- alwaysVisible: e
- } = this.props._conferenceInfo;
- return e && e.length ? x().createElement(tie, {
- visible: !0
- }, cie.filter((t => e.includes(t.id))).map((e => x().createElement(e.Component, {
- key: e.id
- })))) : null
- }
- render() {
- return x().createElement("div", {
- className: "details-container"
- }, this._renderAlwaysVisible(), this._renderAutoHide())
- }
+ return a
+ })), qe.register((e => t => n => {
+ const {
+ dispatch: a,
+ getState: r
+ } = e, i = r()["features/virtual-background"].virtualSource, o = nh(r()["features/base/tracks"]);
+ return (null == i ? void 0 : i.videoType) === Yi && n.type === kp && Ap(a, i, null == o ? void 0 : o.jitsiTrack), t(n)
+ }));
+ const Lne = "ADD_FACIAL_EXPRESSION", Fne = "SET_DETECTION_TIME_INTERVAL", qne = "START_FACIAL_RECOGNITION", Bne = "STOP_FACIAL_RECOGNITION"; n(8291);
+ const Une = $e("features/facial-recognition"); async function Hne(e, t) {
+ if (null == t) return;
+ let n;
+ try {
+ n = await t.grabFrame()
+ } catch (e) {
+ return void Une.warn(e)
+ }
+ const a = document.createElement("canvas"),
+ r = a.getContext("2d");
+ a.width = n.width, a.height = n.height, r.drawImage(n, 0, 0);
+ const i = r.getImageData(0, 0, n.width, n.height);
+ e.postMessage({
+ id: "SET_TIMEOUT",
+ imageData: i
+ })
+ }
+ let Vne, Wne, Yne, Gne = 0;
+
+ function Kne() {
+ return async function(e, t) {
+ if (null == Wne) return;
+ const n = t(),
+ {
+ recognitionActive: a
+ } = n["features/facial-recognition"];
+ if (a) return;
+ const r = nh(n["features/base/tracks"]);
+ if (void 0 === r) return;
+ const i = r.jitsiTrack.getOriginalStream();
+ if (null === i) return;
+ e({
+ type: qne
+ }), Une.log("Start face recognition");
+ const o = i.getVideoTracks()[0];
+ Vne = new ImageCapture(o), Hne(Wne, Vne)
}
- const die = ze((function(e) {
- return {
- _visible: kH(e),
- _conferenceInfo: eie(e)
- }
- }))(uie);
- class pie extends E.Component {
- render() {
- return this.props._message ? x().createElement("div", {
- className: "notice"
- }, x().createElement("span", {
- className: "notice__message"
- }, this.props._message)) : null
- }
+ }
+
+ function $ne() {
+ return function(e, t) {
+ const n = t(),
+ {
+ recognitionActive: a
+ } = n["features/facial-recognition"];
+ a ? (Vne = null, Wne.postMessage({
+ id: "CLEAR_TIMEOUT"
+ }), Yne && e(Zne(Yne, Gne + 1)), Gne = 0, e({
+ type: Bne
+ }), Une.log("Stop face recognition")) : Vne = null
}
- const hie = Li(ze((function(e) {
- const {
- noticeMessage: t
- } = e["features/base/config"];
- return {
- _message: t
- }
- }))(pie));
+ }
- function mie(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ function Jne(e) {
+ const {
+ jitsiTrack: t
+ } = e, n = t.getOriginalStream().getVideoTracks()[0];
+ Vne = new ImageCapture(n)
+ }
+
+ function Zne(e, t) {
+ return function(n, a) {
+ const {
+ detectionTimeInterval: r
+ } = a()["features/facial-recognition"];
+ let i = t; - 1 !== r && (i *= r / 1e3), n({
+ type: Lne,
+ facialExpression: e,
+ duration: i
+ })
}
- const fie = ["webkitfullscreenchange", "mozfullscreenchange", "fullscreenchange"],
- gie = {
- [Ck]: "horizontal-filmstrip",
- [Ak]: "tile-view",
- [jk]: "vertical-filmstrip"
- },
- bie = ze((function(e) {
- const {
- backgroundAlpha: t,
- mouseMoveCallbackInterval: n
- } = e["features/base/config"];
- return function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- mie(e, t, n[t])
- }))
- }
- return e
- }({}, function(e) {
- return {
- _notificationsVisible: Gre(e),
- _room: e["features/base/conference"].room,
- _shouldDisplayTileView: Ok(e)
- }
- }(e), {
- _backgroundAlpha: t,
- _isParticipantsPaneVisible: jm(e),
- _layoutClassName: gie[Dk(e)],
- _mouseMoveCallbackInterval: n,
- _roomName: (a = e, xI(Mn(uI(qe(a)).room))),
- _showLobby: r8(e),
- _showPrejoin: iL(e) || oL(e)
+ }
+ qe.register((e => {
+ let {
+ dispatch: t,
+ getState: n
+ } = e;
+ return e => a => {
+ const {
+ enableFacialRecognition: r
+ } = n()["features/base/config"];
+ if (!r) return e(a);
+ if (a.type === HF) return t((function(e) {
+ if (!window.Worker) return void Une.warn("Browser does not support web workers");
+ let t = "";
+ const n = document.querySelector('script[src*="app.bundle.min.js"]');
+ if (n) {
+ const e = n.src.lastIndexOf("/");
+ t = `${n.src.substring(0,e)}/`
+ }
+ let a = `${t}facial-expressions-worker.min.js`;
+ const r = new Blob([`importScripts("${a}");`], {
+ type: "application/javascript"
});
- var a
- }))(Li(class extends Kre {
- constructor(e) {
- super(e);
+ a = window.URL.createObjectURL(r), Wne = new Worker(a, {
+ name: "Facial Expression Worker"
+ }), Wne.onmessage = function(t) {
const {
- _mouseMoveCallbackInterval: t
- } = e;
- this._originalOnShowToolbar = this._onShowToolbar, this._originalOnMouseMove = this._onMouseMove, this._onShowToolbar = k().throttle((() => this._originalOnShowToolbar()), 100, {
- leading: !0,
- trailing: !1
- }), this._onMouseMove = k().throttle((e => this._originalOnMouseMove(e)), t, {
- leading: !0,
- trailing: !1
- }), this._onFullScreenChange = this._onFullScreenChange.bind(this), this._setBackground = this._setBackground.bind(this)
- }
- componentDidMount() {
- document.title = `${this.props._roomName} | ${interfaceConfig.APP_NAME}`, this._start()
- }
- componentDidUpdate(e) {
- this.props._shouldDisplayTileView !== e._shouldDisplayTileView && O3.refreshLayout()
- }
- componentWillUnmount() {
- APP.UI.unbindEvents(), fie.forEach((e => document.removeEventListener(e, this._onFullScreenChange))), APP.conference.isJoined() && this.props.dispatch(NI())
- }
- render() {
+ type: n,
+ value: a
+ } = t.data;
+ if ("tf-backend" === n && a) {
+ let t = -1;
+ "webgl" === a ? t = 1e3 : "cpu" === a && (t = 6e3), e({
+ type: Fne,
+ time: t
+ })
+ }
+ if ("facial-expression" === n) {
+ if (Hne(Wne, Vne), !a) return;
+ a === Yne ? Gne++ : (Yne && e(Zne(Yne, Gne + 1)), Yne = a, Gne = 0)
+ }
+ }, Wne.postMessage({
+ id: "SET_MODELS_URL",
+ url: t
+ }), e(Kne())
+ })), e(a);
+ if (!vF(n())) return e(a);
+ switch (a.type) {
+ case $F:
+ return t($ne()), e(a);
+ case gp: {
const {
- _isParticipantsPaneVisible: e,
- _layoutClassName: t,
- _showLobby: n,
- _showPrejoin: a
- } = this.props;
- return x().createElement("div", {
- id: "layout_wrapper",
- onMouseEnter: this._onMouseEnter,
- onMouseLeave: this._onMouseLeave,
- onMouseMove: this._onMouseMove
- }, x().createElement("div", {
- className: t,
- id: "videoconference_page",
- onMouseMove: this._onShowToolbar,
- ref: this._setBackground
- }, x().createElement(die, null), x().createElement(hie, null), x().createElement("div", {
- id: "videospace"
- }, x().createElement(b3, null), !e && x().createElement("div", {
- id: "notification-participant-list"
- }, x().createElement(o8, null)), x().createElement(v2, null)), a || n || x().createElement(N7, {
- showDominantSpeakerName: !0
- }), x().createElement(Z5, null), this.renderNotificationsContainer(), x().createElement(OK, null), a && x().createElement(m9, null), n && x().createElement(u8, null)), x().createElement(Yre, null))
- }
- _setBackground(e) {
- if (e && void 0 !== this.props._backgroundAlpha) {
- const t = zt(e.style.background, this.props._backgroundAlpha);
- if (e.style.background = t, e.parentElement) {
- const t = zt(e.parentElement.style.background, this.props._backgroundAlpha);
- e.parentElement.style.background = t
- }
- }
- }
- _onFullScreenChange() {
- var e;
- this.props.dispatch((e = APP.UI.isFullScreen(), {
- type: AV,
- fullScreen: e
- }))
- }
- _onMouseEnter(e) {
- APP.API.notifyMouseEnter(e)
- }
- _onMouseLeave(e) {
- APP.API.notifyMouseLeave(e)
- }
- _onMouseMove(e) {
- APP.API.notifyMouseMove(e)
- }
- _onShowToolbar() {
- this.props.dispatch(BV())
+ videoType: n,
+ type: r
+ } = a.track.jitsiTrack;
+ if ("camera" === n) {
+ const {
+ muted: e,
+ videoStarted: n
+ } = a.track;
+ !0 === n && t(Kne()), void 0 !== e && (e ? t($ne()) : (t(Kne()), "presenter" === r && Jne(a.track)))
+ }
+ return e(a)
}
- _start() {
- APP.UI.start(), APP.UI.registerListeners(), APP.UI.bindEvents(), fie.forEach((e => document.addEventListener(e, this._onFullScreenChange)));
+ case up: {
const {
- dispatch: e,
- t
- } = this.props;
- e(II()),
- function(e, t) {
- !ZV(interfaceConfig.OPTIMAL_BROWSERS || GV) && JV() && e(Gf({
- titleKey: "notify.suboptimalExperienceTitle",
- description: Fi(t, "notify.suboptimalBrowserWarning", {
- recommendedBrowserPageLink: `${window.location.origin}/static/recommendedBrowsers.html`
- })
- }))
- }(e, t)
+ mediaType: n,
+ videoType: r
+ } = a.track;
+ return "presenter" === n && "camera" === r && (t(Kne()), Jne(a.track)), e(a)
}
- }));
- Li(ze((function(e) {
- const t = 1 === Bh(e),
- n = interfaceConfig.HIDE_INVITE_MORE_HEADER;
- return {
- _shouldShow: vH("invite", e) && t && !n,
- _toolboxVisible: kH(e)
- }
- }), {
- onClick: () => AW()
- })((function({
- _shouldShow: e,
- _toolboxVisible: t,
- onClick: n,
- t: a
- }) {
- const r = (0, E.useCallback)((e => {
- !n || " " !== e.key && "Enter" !== e.key || (e.preventDefault(), n())
- }), [n]);
- return e ? x().createElement("div", {
- className: "invite-more-container" + (t ? "" : " elevated")
- }, x().createElement("div", {
- className: "invite-more-content"
- }, x().createElement("div", {
- className: "invite-more-header",
- role: "heading"
- }, a("addPeople.inviteMoreHeader")), x().createElement("div", {
- className: "invite-more-button",
- onClick: n,
- onKeyPress: r,
- role: "button",
- tabIndex: 0
- }, x().createElement(qs, {
- src: iu
- }), x().createElement("div", {
- className: "invite-more-button-text"
- }, a("addPeople.inviteMorePrompt"))))) : null
- })));
- class yie extends E.Component {
- render() {
- return x().createElement("div", {
- className: "unsupported-desktop-browser"
- }, x().createElement("h2", {
- className: "unsupported-desktop-browser__title"
- }, "It looks like you're using a browser we don't support."), x().createElement("p", {
- className: "unsupported-desktop-browser__description"
- }, "Please try again with the latest version of ", x().createElement("a", {
- className: "unsupported-desktop-browser__link",
- href: "https://www.google.com/chrome/"
- }, "Chrome"), " ", this._showFirefox() && x().createElement(x().Fragment, null, "or ", x().createElement("a", {
- className: "unsupported-desktop-browser__link",
- href: "https://www.getfirefox.com/"
- }, "Firefox"))))
- }
- _showFirefox() {
- return "firefox", (interfaceConfig.OPTIMAL_BROWSERS || GV).includes("firefox")
- }
- }
- const vie = Li(yie),
- kie = () => (Pe(Rj), x().createElement(vie, null)),
- _ie = void 0,
- wie = {};
- class Sie extends Bj {
- constructor(e) {
- super(e), this._onPress = this._onPress.bind(this)
- }
- componentDidMount() {
- Ma(function(e = {}) {
- return {
- action: "selected",
- actionSubject: "recent.list.selected",
- attributes: e,
- source: "recent.list",
- type: Wt
- }
- }())
- }
- _getRenderListEmptyComponent() {
- const {
- t: e
- } = this.props, t = "meetings-list-empty-description";
- return x().createElement(Ns, {
- "aria-describedby": t,
- "aria-label": e("welcomepage.recentList"),
- className: "meetings-list-empty",
- role: "region",
- style: wie.emptyListContainer
- }, x().createElement(_S, {
- className: "description",
- id: t,
- style: wie.emptyListText
- }, e("welcomepage.recentListEmpty")))
- }
- _onPress(e) {
- const {
- dispatch: t
- } = this.props;
- Ma(function(e, t = {}) {
- return {
- action: "clicked",
- actionSubject: "recent.meeting.tile",
- attributes: t,
- source: "recent.list",
- type: Wt
- }
- }()), t(KN(e))
- }
- }
- const Eie = Li(ze((function(e) {
- return {
- _recentList: e["features/recent-list"]
- }
- }))(class extends Sie {
- constructor(e) {
- super(e), this._getRenderListEmptyComponent = this._getRenderListEmptyComponent.bind(this), this._onPress = this._onPress.bind(this), this._onItemDelete = this._onItemDelete.bind(this)
- }
- _onItemDelete(e) {
- this.props.dispatch({
- type: Kne,
- entryId: e
- })
- }
- render() {
- if (!Zne()) return null;
- const {
- disabled: e,
- _recentList: t
- } = this.props, n = function(e) {
- return [...e].reverse().map((e => ({
- date: e.date,
- duration: e.duration,
- time: [e.date],
- title: Mn(Tn(e.conference).room),
- url: e.conference
- })))
- }(t);
- return x().createElement(SS, {
- disabled: e,
- hideURL: !0,
- listEmptyComponent: this._getRenderListEmptyComponent(),
- meetings: n,
- onItemDelete: this._onItemDelete,
- onPress: this._onPress
- })
- }
- }));
- class xie extends E.Component {
- static getDerivedStateFromProps(e, t) {
- return {
- room: e._room || t.room
+ case mp: {
+ const {
+ videoType: n
+ } = a.track.jitsiTrack;
+ return ["camera", "desktop"].includes(n) && t($ne()), e(a)
}
- }
- constructor(e) {
- super(e),
- function(e, t, n) {
- t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n
- }(this, "state", {
- animateTimeoutId: void 0,
- generatedRoomname: "",
- insecureRoomName: !1,
- joining: !1,
- room: "",
- roomPlaceholder: "",
- updateTimeoutId: void 0
- }), this._animateRoomnameChanging = this._animateRoomnameChanging.bind(this), this._onJoin = this._onJoin.bind(this), this._onRoomChange = this._onRoomChange.bind(this), this._renderInsecureRoomNameWarning = this._renderInsecureRoomNameWarning.bind(this), this._updateRoomname = this._updateRoomname.bind(this)
- }
- componentDidMount() {
- this._mounted = !0, Ma(fn("viewed", void 0, {
- value: 1
- }))
- }
- componentWillUnmount() {
- this._clearTimeouts(), this._mounted = !1
- }
- _animateRoomnameChanging(e) {
- let t;
- const n = this.state.roomPlaceholder + e.substr(0, 1);
- e.length > 1 && (t = setTimeout((() => {
- this._animateRoomnameChanging(e.substring(1, e.length))
- }), 70)), this.setState({
- animateTimeoutId: t,
- roomPlaceholder: n
- })
- }
- _clearTimeouts() {
- clearTimeout(this.state.animateTimeoutId), clearTimeout(this.state.updateTimeoutId)
- }
- _onJoin() {
- const e = this.state.room || this.state.generatedRoomname;
- if (Ma(fn("clicked", "joinButton", {
- isGenerated: !this.state.room,
- room: e
- })), e) {
- this.setState({
- joining: !0
- });
- const t = () => this._mounted && this.setState({
- joining: !1
- });
- this.props.dispatch(KN(e)).then(t, t)
+ case _p:
+ return t((function(e, t) {
+ const n = t(),
+ {
+ jitsiTrack: a
+ } = nh(n["features/base/tracks"]),
+ r = a.getOriginalStream().getVideoTracks()[0];
+ Vne = new ImageCapture(r)
+ })), e(a);
+ case Lne: {
+ const t = n(),
+ r = vF(t);
+ return Yh(t) > 1 && function(e, t, n) {
+ try {
+ e.sendEndpointMessage("", {
+ type: "facial_expression",
+ facialExpression: t,
+ duration: n
+ })
+ } catch (e) {
+ Une.warn("Could not broadcast the facial expression to the other participants", e)
+ }
+ }(r, a.facialExpression, a.duration),
+ function(e, t, n) {
+ try {
+ e.sendFacialExpression({
+ facialExpression: t,
+ duration: n
+ })
+ } catch (e) {
+ Une.warn("Could not send the facial expression to xmpp server", e)
+ }
+ }(r, a.facialExpression, a.duration), e(a)
}
}
- _onRoomChange(e) {
- this.setState({
- room: e,
- insecureRoomName: this.props._enableInsecureRoomNameWarning && e && rie(e)
- })
- }
- _renderInsecureRoomNameWarning() {
- return this.props._enableInsecureRoomNameWarning && this.state.insecureRoomName ? this._doRenderInsecureRoomNameWarning() : null
- }
- _updateRoomname() {
- const e = TN(),
- t = setTimeout(this._updateRoomname, 1e4);
- this._clearTimeouts(), this.setState({
- generatedRoomname: e,
- roomPlaceholder: "",
- updateTimeoutId: t
- }, (() => this._animateRoomnameChanging(e)))
- }
- }
- class Cie extends E.Component {
- constructor(e) {
- super(e), this._onSelect = this._onSelect.bind(this)
- }
- _onSelect() {
- const {
- index: e,
- onSelect: t
- } = this.props;
- t(e)
- }
- render() {
- const {
- index: e,
- isSelected: t,
- label: n
- } = this.props, a = "tab" + (t ? " selected" : "");
- return x().createElement("div", {
- className: a,
- key: e,
- onClick: this._onSelect
- }, n)
- }
+ return e(a)
}
- class Aie extends E.Component {
- render() {
- const {
- onSelect: e,
- selected: t,
- tabs: n
- } = this.props, {
- content: a = null
- } = n.length ? n[Math.min(t, n.length - 1)] : {};
- return x().createElement("div", {
- className: "tab-container"
- }, n.length > 1 ? x().createElement("div", {
- className: "tab-buttons"
- }, n.map(((n, a) => x().createElement(Cie, {
- index: a,
- isSelected: a === t,
- key: a,
- label: n.label,
- onSelect: e
- })))) : null, x().createElement("div", {
- className: "tab-content"
- }, a))
+ }));
+ const Qne = "SET_NETWORK_INFO", Xne = "STORE_NETWORK_INFO_CLEANUP", eae = "UPDATE_LOCAL_TRACKS_DURATION";
+
+ function tae(e) {
+ const t = Date.now(),
+ {
+ localTracksDuration: n
+ } = e["features/analytics"],
+ {
+ conference: a
+ } = e["features/base/conference"],
+ {
+ audio: r,
+ video: i
+ } = n,
+ {
+ camera: o,
+ desktop: s
+ } = i,
+ l = e["features/base/tracks"],
+ c = Xp(l),
+ u = nh(l),
+ d = {
+ ...n
+ };
+ if (c && !c.muted && a ? -1 === r.startedTime && (d.audio.startedTime = t) : d.audio = {
+ startedTime: -1,
+ value: r.value + (-1 === r.startedTime ? 0 : t - r.startedTime)
+ }, u && !u.muted && a) {
+ const {
+ videoType: e
+ } = u; - 1 === i[e].startedTime && (d.video[e].startedTime = t)
+ } else d.video = {
+ camera: {
+ startedTime: -1,
+ value: o.value + (-1 === o.startedTime ? 0 : t - o.startedTime)
+ },
+ desktop: {
+ startedTime: -1,
+ value: s.value + (-1 === s.startedTime ? 0 : t - s.startedTime)
}
+ };
+ return {
+ ...n,
+ ...d
}
+ }
+ let nae;
- function jie(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
- }! function(e, t, n) {
- t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n
- }(Aie, "defaultProps", {
- tabs: [],
- selected: 0
- });
- class Pie extends xie {
- constructor(e) {
- super(e), this.state = function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- jie(e, t, n[t])
- }))
+ function aae(e) {
+ if (void 0 !== nae) {
+ const {
+ disableBeforeUnloadHandlers: t = !1
+ } = e()["features/base/config"];
+ window.removeEventListener(t ? "unload" : "beforeunload", nae), nae = void 0
+ }
+ }
+ qe.register((e => t => n => {
+ switch (n.type) {
+ case In:
+ "ReactNative" === navigator.product && ut.reset();
+ break;
+ case oq: {
+ const a = async function(e) {
+ let {
+ getState: t
+ } = e;
+ if (Dt().analyticsHandlers = [], window.analyticsHandlers = [], !it(t)) return ut.dispose(), [];
+ const n = t(),
+ a = n["features/base/config"],
+ {
+ locationURL: r
+ } = n["features/base/connection"],
+ i = r ? r.host : "",
+ {
+ analytics: o = {},
+ deploymentInfo: s
+ } = a,
+ {
+ amplitudeAPPKey: l,
+ blackListedEvents: u,
+ scriptURLs: d,
+ googleAnalyticsTrackingId: p,
+ matomoEndpoint: h,
+ matomoSiteID: m,
+ whiteListedEvents: f
+ } = o,
+ {
+ group: g,
+ user: b
+ } = n["features/base/jwt"],
+ y = {
+ amplitudeAPPKey: l,
+ blackListedEvents: u,
+ envType: s && s.envType || "dev",
+ googleAnalyticsTrackingId: p,
+ matomoEndpoint: h,
+ matomoSiteID: m,
+ group: g,
+ host: i,
+ product: s && s.product,
+ subproduct: s && s.environment,
+ user: b && b.id,
+ version: c.default.version,
+ whiteListedEvents: f
+ },
+ v = [];
+ if (l) try {
+ const e = new Ca(y);
+ ut.amplitudeIdentityProps = e.getIdentityProps(), v.push(e)
+ } catch (e) {
+ wa.error("Failed to initialize Amplitude handler", e)
}
- return e
- }({}, this.state, {
- generateRoomnames: interfaceConfig.GENERATE_ROOMNAMES_ON_WELCOME_PAGE,
- selectedTab: 0
- }), this._additionalContentRef = null, this._roomInputRef = null, this._additionalToolbarContentRef = null, this._additionalCardRef = null, this._additionalCardTemplate = document.getElementById("welcome-page-additional-card-template"), this._additionalContentTemplate = document.getElementById("welcome-page-additional-content-template"), this._additionalToolbarContentTemplate = document.getElementById("settings-toolbar-additional-content-template"), this._onFormSubmit = this._onFormSubmit.bind(this), this._onRoomChange = this._onRoomChange.bind(this), this._setAdditionalCardRef = this._setAdditionalCardRef.bind(this), this._setAdditionalContentRef = this._setAdditionalContentRef.bind(this), this._setRoomInputRef = this._setRoomInputRef.bind(this), this._setAdditionalToolbarContentRef = this._setAdditionalToolbarContentRef.bind(this), this._onTabSelected = this._onTabSelected.bind(this), this._renderFooter = this._renderFooter.bind(this)
- }
- componentDidMount() {
- super.componentDidMount(), document.body.classList.add("welcome-page"), document.title = interfaceConfig.APP_NAME, this.state.generateRoomnames && this._updateRoomname(), this._shouldShowAdditionalContent() && this._additionalContentRef.appendChild(this._additionalContentTemplate.content.cloneNode(!0)), this._shouldShowAdditionalToolbarContent() && this._additionalToolbarContentRef.appendChild(this._additionalToolbarContentTemplate.content.cloneNode(!0)), this._shouldShowAdditionalCard() && this._additionalCardRef.appendChild(this._additionalCardTemplate.content.cloneNode(!0))
- }
- componentWillUnmount() {
- super.componentWillUnmount(), document.body.classList.remove("welcome-page")
+ if (h && m) try {
+ const e = new Aa(y);
+ v.push(e)
+ } catch (e) {
+ wa.error("Failed to initialize Matomo handler", e)
+ }
+ if (Array.isArray(d) && d.length > 0) {
+ let e;
+ try {
+ e = await
+ function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : [],
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ const n = [];
+ for (const t of e) n.push(yn(t).then((() => ({
+ type: "success"
+ })), (e => ({
+ type: "error",
+ error: e,
+ url: t
+ }))));
+ return Promise.all(n).then((e => {
+ for (const t of e) "error" === t.type && wa.warn(`Failed to load ${t.url}: ${t.error}`);
+ const n = [...Dt().analyticsHandlers, ...window.analyticsHandlers],
+ a = [];
+ for (const e of n) try {
+ a.push(new e(t))
+ } catch (e) {
+ wa.warn(`Error creating analytics handler: ${e}`)
+ }
+ return wa.debug(`Loaded ${a.length} external analytics handlers`), a
+ }))
+ }(d, y), v.push(...e)
+ } catch (e) {
+ wa.error("Failed to initialize external analytics handlers", e)
+ }
+ }
+ return 0 === v.length && ut.dispose(), wa.info(`Initialized ${v.length} analytics handlers`), v
+ }(e), r = t(n);
+ return a.then((t => {
+ ! function(e, t) {
+ let {
+ getState: n
+ } = e;
+ if (!it(n) || 0 === t.length) return;
+ const a = n(),
+ r = a["features/base/config"],
+ {
+ deploymentInfo: i
+ } = r,
+ {
+ group: o,
+ server: s
+ } = a["features/base/jwt"],
+ l = a["features/base/conference"].room,
+ {
+ locationURL: c = {}
+ } = a["features/base/connection"],
+ {
+ tenant: u
+ } = An(c.href) || {},
+ d = {};
+ if (s && (d.server = s), o && (d.group = o), d.appName = ha(), d.websocket = "string" == typeof r.websocket, d.externalApi = "number" == typeof Rt, d.inIframe = ja(), d.tenant = u || "/", i)
+ for (const e in i) i.hasOwnProperty(e) && (d[e] = i[e]);
+ ut.addPermanentProperties(d), ut.setConferenceName(l), ut.setAnalyticsHandlers(t), !va() && dt.isChrome() && _a(a["features/base/config"].chromeExtensionBanner).then((e => {
+ null != e && e.length && ut.addPermanentProperties({
+ hasChromeExtension: e.some((e => e))
+ })
+ }))
+ }(e, t)
+ })), r
}
- render() {
+ }
+ const a = t(n);
+ switch (n.type) {
+ case HF: {
const {
- _moderatedRoomServiceUrl: e,
- t
- } = this.props, {
- DEFAULT_WELCOME_PAGE_LOGO_URL: n,
- DISPLAY_WELCOME_FOOTER: a
- } = interfaceConfig, r = this._shouldShowAdditionalCard(), i = this._shouldShowAdditionalContent(), o = this._shouldShowAdditionalToolbarContent(), s = i ? "with-content" : "without-content", l = a ? "with-footer" : "without-footer";
- return x().createElement("div", {
- className: `welcome ${s} ${l}`,
- id: "welcome_page"
- }, x().createElement("div", {
- className: "welcome-watermark"
- }, x().createElement(qj, {
- defaultJitsiLogoURL: n
- })), x().createElement("div", {
- className: "header"
- }, x().createElement("div", {
- className: "welcome-page-settings"
- }, x().createElement(bW, {
- defaultTab: mW.CALENDAR
- }), o ? x().createElement("div", {
- className: "settings-toolbar-content",
- ref: this._setAdditionalToolbarContentRef
- }) : null), x().createElement("div", {
- className: "header-image"
- }), x().createElement("div", {
- className: "header-container"
- }, x().createElement("h1", {
- className: "header-text-title"
-
- }, interfaceConfig.OFMEET_WELCOME_PAGE_TITLE), x().createElement("span", { // BAO
- className: "header-text-subtitle"
- }, interfaceConfig.OFMEET_WELCOME_PAGE_DESCRIPTION), x().createElement("div", { // BAO
- id: "enter_room"
-
- }, x().createElement("div", {
- className: "enter-room-input-container"
- }, x().createElement("form", {
- onSubmit: this._onFormSubmit
- }, x().createElement("input", {
- "aria-disabled": "false",
- "aria-label": "Meeting name input",
- autoFocus: !0,
- className: "enter-room-input",
- id: "enter_room_field",
- onChange: this._onRoomChange,
- pattern: "^[^?&:\"'%#]+$",
- placeholder: this.state.roomPlaceholder,
- ref: this._setRoomInputRef,
- title: t("welcomepage.roomNameAllowedChars"),
- type: "text",
- value: this.state.room
- }), x().createElement("div", {
- className: e ? "warning-with-link" : "warning-without-link"
- }, this._renderInsecureRoomNameWarning()))), x().createElement("button", {
- "aria-disabled": "false",
- "aria-label": "Start meeting",
- className: "welcome-page-button",
- id: "enter_room_button",
- onClick: this._onFormSubmit,
- tabIndex: "0",
- type: "button"
- }, t("welcomepage.startMeeting"))), e && x().createElement("div", {
- id: "moderated-meetings"
- }, x().createElement("p", null, Fi(t, "welcomepage.moderatedMessage", {
- url: e
- }))))), x().createElement("div", {
- className: "welcome-cards-container"
- }, x().createElement("div", {
- className: "welcome-card-row"
- }, x().createElement("div", {
- className: "welcome-tabs welcome-card welcome-card--blue"
- }, this._renderTabs()), r ? x().createElement("div", {
- className: "welcome-card welcome-card--dark",
- ref: this._setAdditionalCardRef
- }) : null), i ? x().createElement("div", {
- className: "welcome-page-content",
- ref: this._setAdditionalContentRef
- }) : null), a && this._renderFooter())
- }
- _doRenderInsecureRoomNameWarning() {
- return x().createElement("div", {
- className: "insecure-room-name-warning"
- }, x().createElement(qs, {
- src: ch
- }), x().createElement("span", null, this.props.t("security.insecureRoomNameWarning")))
- }
- _onFormSubmit(e) {
- e.preventDefault(), this._roomInputRef && !this._roomInputRef.reportValidity() || this._onJoin()
- }
- _onRoomChange(e) {
- super._onRoomChange(e.target.value)
- }
- _onTabSelected(e) {
- this.setState({
- selectedTab: e
- })
+ dispatch: t,
+ getState: n
+ } = e, a = n();
+ t({
+ type: eae,
+ localTracksDuration: {
+ ...tae(a),
+ conference: {
+ startedTime: Date.now(),
+ value: 0
+ }
+ }
+ });
+ break
}
- _renderFooter() {
+ case $F: {
const {
- t: e
- } = this.props, {
- MOBILE_DOWNLOAD_LINK_ANDROID: t,
- MOBILE_DOWNLOAD_LINK_F_DROID: n,
- MOBILE_DOWNLOAD_LINK_IOS: a
- } = interfaceConfig;
- return x().createElement("footer", {
- className: "welcome-footer"
- }, x().createElement("div", {
- className: "welcome-footer-centered"
- }, x().createElement("div", {
- className: "welcome-footer-padded"
- }, x().createElement("div", {
- className: "welcome-footer-row-block welcome-footer--row-1"
- }, x().createElement("div", {
- className: "welcome-footer-row-1-text"
- }, e("welcomepage.jitsiOnMobile")), x().createElement("a", {
- className: "welcome-badge",
- href: a
- }, x().createElement("img", {
- alt: e("welcomepage.mobileDownLoadLinkIos"),
- src: "./images/app-store-badge.png"
- })), x().createElement("a", {
- className: "welcome-badge",
- href: t
- }, x().createElement("img", {
- alt: e("welcomepage.mobileDownLoadLinkAndroid"),
- src: "./images/google-play-badge.png"
- })), x().createElement("a", {
- className: "welcome-badge",
- href: n
- }, x().createElement("img", {
- alt: e("welcomepage.mobileDownLoadLinkFDroid"),
- src: "./images/f-droid-badge.png"
- }))))))
- }
- _renderTabs() {
- if (Sa()) return null;
- const {
- _calendarEnabled: e,
- _recentListEnabled: t,
- t: n
- } = this.props, a = [];
- return e && a.push({
- label: n("welcomepage.calendar"),
- content: x().createElement(F$, null)
- }), t && a.push({
- label: n("welcomepage.recentList"),
- content: x().createElement(Eie, null)
- }), 0 === a.length ? null : x().createElement(Aie, {
- onSelect: this._onTabSelected,
- selected: this.state.selectedTab,
- tabs: a
- })
- }
- _setAdditionalCardRef(e) {
- this._additionalCardRef = e
- }
- _setAdditionalContentRef(e) {
- this._additionalContentRef = e
- }
- _setAdditionalToolbarContentRef(e) {
- this._additionalToolbarContentRef = e
- }
- _setRoomInputRef(e) {
- this._roomInputRef = e
- }
- _shouldShowAdditionalCard() {
- return interfaceConfig.DISPLAY_WELCOME_PAGE_ADDITIONAL_CARD && this._additionalCardTemplate && this._additionalCardTemplate.content && this._additionalCardTemplate.innerHTML.trim()
- }
- _shouldShowAdditionalContent() {
- return interfaceConfig.DISPLAY_WELCOME_PAGE_CONTENT && this._additionalContentTemplate && this._additionalContentTemplate.content && this._additionalContentTemplate.innerHTML.trim()
+ dispatch: t,
+ getState: n
+ } = e, a = n(), {
+ localTracksDuration: r
+ } = a["features/analytics"], i = {
+ ...tae(a),
+ conference: {
+ startedTime: -1,
+ value: Date.now() - r.conference.startedTime
+ }
+ };
+ Da(function(e) {
+ const {
+ audio: t,
+ video: n,
+ conference: a
+ } = e, {
+ camera: r,
+ desktop: i
+ } = n;
+ return {
+ action: "local.tracks.durations",
+ attributes: {
+ audio: t.value,
+ camera: r.value,
+ conference: a.value,
+ desktop: i.value
+ }
+ }
+ }(i)), t({
+ type: eae,
+ localTracksDuration: i
+ });
+ break
}
- _shouldShowAdditionalToolbarContent() {
- return interfaceConfig.DISPLAY_WELCOME_PAGE_TOOLBAR_ADDITIONAL_CONTENT && this._additionalToolbarContentTemplate && this._additionalToolbarContentTemplate.content && this._additionalToolbarContentTemplate.innerHTML.trim()
+ case Qne:
+ Da(function(e) {
+ let {
+ isOnline: t,
+ networkType: n,
+ details: a
+ } = e;
+ const r = {
+ isOnline: t
+ };
+ return n && (r.networkType = n), a && (r.details = a), {
+ action: "network.info",
+ attributes: r
+ }
+ }({
+ isOnline: n.isOnline,
+ details: n.details,
+ networkType: n.networkType
+ }));
+ break;
+ case up:
+ case mp:
+ case gp: {
+ const {
+ dispatch: t,
+ getState: a
+ } = e, r = a(), {
+ localTracksDuration: i
+ } = r["features/analytics"];
+ if (-1 === i.conference.startedTime || "presenter" === n.mediaType) break;
+ t({
+ type: eae,
+ localTracksDuration: {
+ ...i,
+ ...tae(r)
+ }
+ });
+ break
}
}
- jie(Pie, "defaultProps", {
- _room: ""
- });
- const Die = Li(ze((function(e) {
- return {
- _calendarEnabled: w$(e),
- _enableInsecureRoomNameWarning: e["features/base/config"].enableInsecureRoomNameWarning || !1,
- _moderatedRoomServiceUrl: e["features/base/config"].moderatedRoomServiceUrl,
- _recentListEnabled: Zne(),
- _room: e["features/base/conference"].room,
- _settings: e["features/base/settings"]
- }
- }))(Pie));
-
- function Tie() {
- return {
- component: _ie,
- href: void 0
+ return a
+ })), qe.register((e => {
+ let {
+ dispatch: t,
+ getState: n
+ } = e;
+ return e => a => {
+ const {
+ type: r
+ } = a, {
+ conference: i
+ } = dF(n());
+ switch (r) {
+ case Va:
+ t(Oi(om, "asked-unmute.mp3"));
+ break;
+ case Wa:
+ t(Ri(om));
+ break;
+ case Vm: {
+ let e, n, r;
+ switch (a.mediaType) {
+ case Fi:
+ n = "notify.moderationInEffectTitle", r = sm;
+ break;
+ case Bi:
+ n = "notify.moderationInEffectVideoTitle", r = lm;
+ break;
+ case qi:
+ n = "notify.moderationInEffectCSTitle", r = cm
+ }
+ t(tg({
+ customActionNameKey: ["notify.raiseHandAction"],
+ customActionHandler: [() => (0, Me.unstable_batchedUpdates)((() => {
+ t(dS(!0)), t(Xf(r))
+ }))],
+ descriptionKey: e,
+ sticky: !0,
+ titleKey: n,
+ uid: r
+ }, Yf.STICKY));
+ break
+ }
+ case Lm:
+ i.disableAVModeration(Fi);
+ break;
+ case Fm:
+ i.disableAVModeration(Bi);
+ break;
+ case qm:
+ i.enableAVModeration(Fi);
+ break;
+ case Bm:
+ i.enableAVModeration(Bi);
+ break;
+ case Hw: {
+ const e = n(),
+ r = pm(Fi, e),
+ i = a.participant;
+ i && r && (tm(e) ? am(i) ? !fm(i.id, Fi)(e) && t( of (i)) : gm(i, Fi)(e) && t(function(e) {
+ return Xm(e.id, Fi)
+ }(i)) : i.id === Uh(e).id && Qh(i) && Jh(e).forEach((n => {
+ am(n) && !fm(n.id, Fi)(e) && t( of (n))
+ })));
+ break
+ }
+ case zm:
+ "undefined" != typeof APP && APP.API.notifyModerationChanged(a.mediaType, !0);
+ break;
+ case Nm:
+ "undefined" != typeof APP && APP.API.notifyModerationChanged(a.mediaType, !1);
+ break;
+ case Um:
+ if ("undefined" != typeof APP) {
+ const e = Uh(n());
+ APP.API.notifyParticipantApproved(e.id, a.mediaType)
+ }
+ break;
+ case Wm:
+ "undefined" != typeof APP && APP.API.notifyParticipantApproved(a.id, a.mediaType);
+ break;
+ case Hm:
+ if ("undefined" != typeof APP) {
+ const e = Uh(n());
+ APP.API.notifyParticipantRejected(e.id, a.mediaType)
+ }
+ break;
+ case Ym:
+ "undefined" != typeof APP && APP.API.notifyParticipantRejected(a.id, a.mediaType)
}
+ return e(a)
}
-
- function Oie(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
- }
-
- function Mie(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Iie(e, t, n[t])
- }))
+ })), tt.register((e => e["features/base/conference"].conference), ((e, t, n) => {
+ let {
+ dispatch: a
+ } = t;
+ e && !n && (e.on(ht.AV_MODERATION_APPROVED, (e => {
+ let {
+ mediaType: t
+ } = e;
+ a((e => ({
+ type: Um,
+ mediaType: e
+ }))(t)), t === Fi && (a(tg({
+ titleKey: "notify.hostAskedUnmute",
+ sticky: !0,
+ customActionNameKey: ["notify.unmute"],
+ customActionHandler: [() => a(zX(!1, Fi))]
+ }, Yf.STICKY)), a(Ii(om)))
+ })), e.on(ht.AV_MODERATION_REJECTED, (e => {
+ let {
+ mediaType: t
+ } = e;
+ a((e => ({
+ type: Hm,
+ mediaType: e
+ }))(t))
+ })), e.on(ht.AV_MODERATION_CHANGED, (e => {
+ let {
+ enabled: t,
+ mediaType: n,
+ actor: r
+ } = e;
+ a(t ? ((e, t) => ({
+ type: zm,
+ mediaType: e,
+ actor: t
+ }))(n, r) : ((e, t) => ({
+ type: Nm,
+ mediaType: e,
+ actor: t
+ }))(n, r))
+ })), e.on(ht.AV_MODERATION_PARTICIPANT_APPROVED, (e => {
+ let {
+ participant: t,
+ mediaType: n
+ } = e;
+ const {
+ _id: r
+ } = t;
+ (0, Me.unstable_batchedUpdates)((() => {
+ a(function(e, t) {
+ return {
+ type: Wm,
+ id: e,
+ mediaType: t
+ }
+ }(r, n)), a(Xm(r, n))
+ }))
+ })), e.on(ht.AV_MODERATION_PARTICIPANT_REJECTED, (e => {
+ let {
+ participant: t,
+ mediaType: n
+ } = e;
+ const {
+ _id: r
+ } = t;
+ a(function(e, t) {
+ return {
+ type: Ym,
+ id: e,
+ mediaType: t
+ }
+ }(r, n))
+ })))
+ })), qe.register((e => t => n => {
+ switch (n.type) {
+ case UF:
+ return function(e, t, n) {
+ let {
+ dispatch: a,
+ getState: r
+ } = e;
+ const i = t(n),
+ {
+ conference: o,
+ error: s
+ } = n,
+ {
+ enableForcedReload: l
+ } = r()["features/base/config"];
+ switch (s.name) {
+ case pt.CONFERENCE_DESTROYED: {
+ const [e] = s.params;
+ a(eg({
+ description: e,
+ titleKey: "dialog.sessTerminated"
+ }, Yf.LONG)), cF.includes(e) && (void 0 === typeof APP ? a({
+ type: "READY_TO_CLOSE"
+ }) : APP.API.notifyReadyToClose());
+ break
+ }
+ case pt.CONFERENCE_RESTARTED:
+ l && a(eg({
+ description: "Restart initiated because of a bridge failure",
+ titleKey: "dialog.sessionRestarted"
+ }, Yf.LONG));
+ break;
+ case pt.CONNECTION_ERROR: {
+ const [e] = s.params;
+ a(function(e) {
+ return {
+ type: AF,
+ connection: e
+ }
+ }(r()["features/base/connection"].connection)), a(eg({
+ descriptionArguments: {
+ msg: e
+ },
+ descriptionKey: e ? "dialog.connectErrorWithMsg" : "dialog.connectError",
+ titleKey: "connection.CONNFAIL"
+ }, Yf.LONG));
+ break
+ }
+ case pt.OFFER_ANSWER_FAILED:
+ Da({
+ action: "offer.answer.failure"
+ })
+ }
+ return "undefined" == typeof APP ? !s.recoverable && o && o.leave().catch((e => {
+ uF.info("JitsiConference.leave() rejected with:", e)
+ })) : aae(r), l && (null == s ? void 0 : s.name) === pt.CONFERENCE_RESTARTED && (a(gq(o)), a(rB())), i
+ }(e, t, n);
+ case HF:
+ return function(e, t, n) {
+ var a;
+ let {
+ dispatch: r,
+ getState: i
+ } = e;
+ const o = t(n),
+ {
+ conference: s
+ } = n,
+ {
+ pendingSubjectChange: l
+ } = i()["features/base/conference"],
+ {
+ requireDisplayName: c,
+ disableBeforeUnloadHandlers: u = !1
+ } = i()["features/base/config"];
+ return l && r(Cq(l)), nae = () => {
+ r(gq(s))
+ }, window.addEventListener(u ? "unload" : "beforeunload", nae), !c || null !== (a = Uh(i)) && void 0 !== a && a.name || s.isHidden() || r(VI(i1, {
+ onPostSubmit: void 0
+ })), o
+ }(e, t, n);
+ case TF:
+ return function(e, t, n) {
+ let {
+ dispatch: a
+ } = e;
+ const r = t(n);
+ return "undefined" == typeof APP && a(bq()), r
+ }(e, t, n);
+ case DF:
+ return function(e, t, n) {
+ let {
+ dispatch: a,
+ getState: r
+ } = e;
+ ! function(e, t) {
+ const {
+ jwt: n
+ } = t["features/base/jwt"];
+ if (!n) return;
+ const a = function(e) {
+ const t = [];
+ if (!e) return t;
+ const n = (new Date).getTime();
+ try {
+ const a = LB()(e, {
+ header: !0
+ }),
+ r = LB()(e);
+ if (!a || !r) return t.push("- Missing header or payload"), t;
+ const {
+ aud: i,
+ context: o,
+ exp: s,
+ iss: l,
+ nbf: c,
+ sub: u
+ } = r;
+ if (u && u.startsWith("vpaas-magic-cookie")) {
+ const {
+ kid: e
+ } = a;
+ if (!e) return t.push("- Key ID(kid) missing"), t;
+ e.substring(0, e.indexOf("/")) !== u && t.push("- Key ID(kid) does not match sub"), "jitsi" !== i && t.push("- invalid `aud` value. It should be `jitsi`"), "chat" !== l && t.push("- invalid `iss` value. It should be `chat`"), null != o && o.features || t.push("- `features` object is missing from the payload")
+ }
+ if (BB(c) ? n < 1e3 * c && t.push("- `nbf` value is in the future") : t.push("- invalid `nbf` value"), BB(s) ? n > 1e3 * s && t.push("- token is expired") : t.push("- invalid `exp` value"), o) {
+ if (o.features) {
+ const {
+ features: e
+ } = o;
+ Object.keys(e).forEach((n => {
+ if (FB.includes(n)) {
+ const a = e[n];
+ !0 !== a && !1 !== a && "true" !== a && "false" !== a && t.push(`- Invalid value for feature: ${n}`)
+ } else t.push(`- Invalid feature: ${n}`)
+ }))
+ }
+ } else t.push("- `context` object is missing from the payload")
+ } catch (e) {
+ t.push(e ? e.message : "- unspecified jwt error")
+ }
+ return t
+ }(n);
+ e && uF.error(`JWT error: ${e}`), a.length && uF.error("JWT parsing error:", a)
+ }(n.error.message, r());
+ const i = t(n);
+ if (aae(r), "undefined" == typeof APP) {
+ const {
+ connection: e
+ } = n, {
+ error: t
+ } = n;
+ fF(r, (n => {
+ if (n.getConnection() === e) {
+ const e = lq(n, t.name);
+ void 0 !== t.recoverable && (e.error.recoverable = t.recoverable), a(e)
+ }
+ return !0
+ }))
+ }
+ return i
+ }(e, t, n);
+ case WF:
+ return function(e, t, n) {
+ let {
+ dispatch: a,
+ getState: r
+ } = e;
+ const i = t(n),
+ {
+ subject: o
+ } = r()["features/base/conference"];
+ return o && a({
+ type: iq,
+ subject: void 0
+ }), "object" == typeof APP && APP.API.notifySubjectChanged(o), i
+ }(e, t, n);
+ case $F:
+ ! function(e) {
+ let {
+ getState: t
+ } = e;
+ aae(t)
+ }(e);
+ break;
+ case Hw:
+ return function(e, t, n) {
+ let {
+ dispatch: a,
+ getState: r
+ } = e;
+ const {
+ conference: i
+ } = r()["features/base/conference"], {
+ participant: o
+ } = n, s = t(n), l = Uh(r);
+ if (i && o.id === (null == l ? void 0 : l.id) && ("name" in o && i.setDisplayName(o.name), "role" in o && o.role === Rh)) {
+ const {
+ pendingSubjectChange: e,
+ subject: t
+ } = r()["features/base/conference"];
+ void 0 !== e && e !== t && a(Cq(e))
+ }
+ return s
+ }(e, t, n);
+ case Vw:
+ return function(e, t, n) {
+ let {
+ getState: a
+ } = e;
+ const r = a(),
+ {
+ conference: i
+ } = r["features/base/conference"];
+ if (!i) return t(n);
+ const o = n.participant.id,
+ s = Vh(r, o),
+ l = Zh(r),
+ c = o ? Ft : "unpinned",
+ u = s && s.local || !o && l && l.local;
+ let d;
+ return d = u || (c === Ft ? o : l && l.id), Da(function(e, t, n) {
+ return {
+ type: "track",
+ action: e,
+ actionSubject: "participant",
+ objectType: "participant",
+ objectId: t,
+ attributes: n
+ }
+ }(c, d, {
+ local: u,
+ participant_count: i.getParticipantCount()
+ })), t(n)
+ }(e, t, n);
+ case eq:
+ return function(e, t, n) {
+ let {
+ getState: a
+ } = e;
+ const r = a(),
+ {
+ conference: i
+ } = r["features/base/conference"];
+ if (i) {
+ const {
+ duration: e,
+ tones: t,
+ pause: a
+ } = n;
+ i.sendTones(t, e, a)
+ }
+ return t(n)
+ }(e, t, n);
+ case oq:
+ return function(e, t, n) {
+ let {
+ dispatch: a,
+ getState: r
+ } = e;
+ const i = r(),
+ {
+ subject: o
+ } = i["features/base/config"],
+ {
+ room: s
+ } = n;
+ return s && a(Cq(o)), t(n)
+ }(e, t, n);
+ case up:
+ case mp:
+ return function(e, t, n) {
+ const a = n.track;
+ return a && a.local && a.mediaType !== qi ? function(e, t) {
+ let {
+ getState: n
+ } = e;
+ const a = vF(n);
+ let r;
+ if (a) {
+ const e = t.track.jitsiTrack;
+ r = t.type === up ? pF(a, [e]) : function(e, t) {
+ return Promise.all(t.map((t => e.removeTrack(t).catch((e => {
+ e.name !== wt.TRACK_IS_DISPOSED && EF("Failed to remove local track from conference", e)
+ })))))
+ }(a, [e])
+ }
+ return r || Promise.resolve()
+ }(e, n).then((() => t(n))) : t(n)
+ }(e, t, n)
+ }
+ return t(n)
+ })), qe.register((e => {
+ let {
+ dispatch: t,
+ getState: n
+ } = e;
+ return e => a => {
+ const {
+ enableForcedReload: r
+ } = n()["features/base/config"];
+ switch (a.type) {
+ case HF:
+ r && t(RH(!1));
+ break;
+ case UF:
+ var i;
+ r && (null === (i = a.error) || void 0 === i ? void 0 : i.name) === pt.CONFERENCE_RESTARTED && t(RH(!0))
}
- return e
- }
-
- function Iie(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ return e(a)
}
- Be.register((e => t => n => {
- switch (n.type) {
- case AI:
- return function(e, t, n) {
- const a = t(n),
- {
- history: r,
- location: i
- } = window;
- if (r && i && r.length && "function" == typeof r.replaceState) {
- const e = RI(i);
- i !== e && r.replaceState(r.state, document && document.title || "", e)
+ })), qe.register((e => t => n => {
+ switch (n.type) {
+ case Va:
+ return function(e, t, n) {
+ const a = t(n),
+ r = "config.js/",
+ i = [];
+ for (let e = 0;; ++e) {
+ const t = l.key(e);
+ if (!t) break; {
+ let e;
+ if (t.startsWith(r) && (e = t.substring(r.length))) {
+ const t = An(e);
+ let n;
+ t && (n = t.host) && i.push(n)
+ }
}
- return a
- }(0, t, n);
- case jI:
- return function({
- dispatch: e,
- getState: t
- }, n, a) {
- if (! function(e, t) {
+ }
+ return i.length && e.dispatch(fn(i)), a
+ }(e, t, n);
+ case In:
+ return function(e, t, n) {
+ let {
+ dispatch: a,
+ getState: r
+ } = e;
+ const i = t(n),
+ o = r(),
+ s = o["features/base/settings"],
+ l = {};
+ void 0 !== s.disableP2P && (l.p2p = {
+ enabled: !s.disableP2P
+ });
+ const c = qf(o, "resolution");
+ return void 0 !== c && (l.resolution = c), !0 === n.config.doNotFlipLocalVideo && a(hn({
+ localFlipX: !1
+ })), n.config.disableSelfView && a(hn({
+ disableSelfView: !0
+ })), a(Zn(l)), void 0 !== window.config && (window.config = o["features/base/config"]), i
+ }(e, t, n);
+ case Nn:
+ return function(e, t, n) {
+ let {
+ dispatch: a
+ } = e;
+ const {
+ config: {
+ doNotFlipLocalVideo: r
+ }
+ } = n;
+ return !0 === r && a(hn({
+ localFlipX: !1
+ })), t(n)
+ }(e, t, n)
+ }
+ return t(n)
+ }));
+ const rae = $e("features/base/jwt"); qe.register((e => t => n => {
+ switch (n.type) {
+ case In:
+ case jF:
+ return function(e, t, n) {
+ let {
+ dispatch: a,
+ getState: r
+ } = e;
+ const i = t(n),
+ {
+ locationURL: o
+ } = r()["features/base/connection"];
+ return a(RB(o ? qB(o) : void 0)), i
+ }(e, t, n);
+ case NB:
+ return function(e, t, n) {
+ const {
+ jwt: a,
+ type: r,
+ ...i
+ } = n;
+ if (!Object.keys(i).length)
+ if (a) {
+ let t;
+ try {
+ t = LB()(a)
+ } catch (e) {
+ rae.error(e)
+ }
+ if (t) {
const {
- error: n
+ context: r,
+ iss: i,
+ sub: o
} = t;
- if (n && "item-not-found" === n.message && n.details && n.details.shard_changed) {
- const t = e(),
- {
- timeEstablished: a
- } = t["features/base/connection"],
- {
- _immediateReloadThreshold: r
- } = t["features/base/config"],
- i = a && Date.now() - a,
- o = "number" == typeof r ? r : 1500,
- s = !a || i <= o;
- return Ma(function(e, t = {}) {
- return {
- action: e,
- actionSubject: "connection",
- attributes: t
- }
- }("failed", function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Oie(e, t, n[t])
- }))
+ if (n.jwt = a, n.issuer = i, r) {
+ const t = function(e) {
+ let {
+ avatar: t,
+ avatarUrl: n,
+ email: a,
+ id: r,
+ name: i
+ } = e;
+ const o = {};
+ return "string" == typeof n ? o.avatarURL = n.trim() : "string" == typeof t && (o.avatarURL = t.trim()), "string" == typeof a && (o.email = a.trim()), "string" == typeof r && (o.id = r.trim()), "string" == typeof i && (o.name = i.trim()), Object.keys(o).length ? o : void 0
+ }(r.user || {});
+ n.callee = r.callee, n.group = r.group, n.server = r.server, n.tenant = r.tenant || o || void 0, n.user = t, t && function(e, t) {
+ let n, {
+ dispatch: a,
+ getState: r
+ } = e,
+ {
+ avatarURL: i,
+ email: o,
+ id: s,
+ name: l,
+ features: c
+ } = t;
+ if ((i || o || l) && (n = Uh(r))) {
+ const e = {
+ id: n.id,
+ local: !0
+ };
+ i && (e.avatarURL = i), o && (e.email = o), s && (e.jwtId = s), l && (e.name = l), c && (e.features = c), a(sS(e))
}
- return e
- }({}, n, {
- connectionEstablished: a,
- splitBrain: s,
- timeSinceConnectionEstablished: i
- }))), s
+ }(e, {
+ ...t,
+ features: r.features
+ })
}
- return !1
- }(t, a)) return n(a);
- e(JN())
- }(e, t, n);
- case rN:
- return function(e, t, n) {
- const a = t(n);
- return function({
- getState: e
- }) {
- const t = e(),
+ }
+ } else if ("undefined" == typeof APP) {
+ const {
+ user: t
+ } = e.getState()["features/base/jwt"];
+ t && function(e, t) {
+ let n, {
+ dispatch: a,
+ getState: r
+ } = e,
{
- app: n
- } = t["features/base/app"];
- (function(e) {
- const t = qe(e);
- return "ReactNative" === navigator.product ? function(e) {
- const t = Tie();
- return wI(e["features/base/conference"].room) ? t.component = bie : function(e) {
- return "ReactNative" !== navigator.product || Boolean(Df(e, "welcomepage.enabled"))
- }(e) ? t.component = Die : t.component = _ie, Promise.resolve(t)
- }(t) : function(e) {
- if (!wI(e["features/base/conference"].room)) return;
- const t = Tie(),
- {
- locationURL: n
- } = e["features/base/connection"];
- return window.location.href !== n.href ? (t.href = n.href, Promise.resolve(t)) : function(e) {
- const {
- room: t
- } = e["features/base/conference"], {
- launchInWeb: n
- } = e["features/deep-linking"], a = "undefined" != typeof interfaceConfig && interfaceConfig.APP_SCHEME;
- if (n || !t || e["features/base/config"].disableDeepLinking || Rj(e) && (!a || "com.8x8.meet" === a)) return Promise.resolve();
-/* BAO
- if (Sa()) {
- const e = "object" == typeof interfaceConfig && interfaceConfig.MOBILE_APP_PROMO;
- return Promise.resolve(void 0 === e || Boolean(e) ? xne : Cne)
- }
-*/
- return Ane().then((e => e ? _ne : void 0))
- }(e).then((e => (e ? t.component = e : JV() ? t.component = bie : t.component = kie, t)))
- }(t) || function(e) {
- const t = Tie();
- if (function(e) {
- return "undefined" == typeof APP || qe(e)["features/base/config"].enableWelcomePage
- }(e)) JV() ? t.component = Die : t.component = kie;
- else {
- let e = window.location.href;
- e.endsWith("/") || (e += "/"), t.href = e + TN()
- }
- return Promise.resolve(t)
- }(t)
- })(t).then((e => n._navigate(e)))
- }(e), a
- }(e, t, n)
- }
- return t(n)
- }));
- const Nie = {
- availableDevices: {
- audioInput: [],
- audioOutput: [],
- videoInput: []
- },
- pendingRequests: [],
- permissions: {
- audio: !1,
- video: !1
- }
- };
-
- function zie(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Rie(e, t, n[t])
- }))
- }
- return e
- }
-
- function Rie(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ avatarURL: i,
+ name: o,
+ email: s
+ } = t;
+ if ((i || o || s) && (n = Uh(r))) {
+ const e = {
+ id: n.id,
+ local: !0
+ };
+ i === n.avatarURL && (e.avatarURL = void 0), s === n.email && (e.email = void 0), o === n.name && (e.name = void 0), e.features = void 0, a(sS(e))
+ }
+ }(e, t)
+ }
+ return t(n)
+ }(e, t, n)
}
- nt.register("features/base/devices", ((e = Nie, t) => {
- switch (t.type) {
- case xM:
- return Mie({}, e, {
- availableDevices: RM(t.devices)
- });
- case CM:
- return Mie({}, e, {
- pendingRequests: [...e.pendingRequests, t.request]
- });
- case AM:
- return Mie({}, e, {
- pendingRequests: []
- });
- case SM:
- return DM.debug(`set audio input device: ${t.deviceId}`), e;
- case EM:
- return DM.debug(`set video input device: ${t.deviceId}`), e;
- case PM:
- return Mie({}, e, {
- permissions: t.permissions
- });
- default:
- return e
- }
- }));
- const Lie = {
- enabled: !1,
- maxMode: M4
- };
-
- function Fie(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- qie(e, t, n[t])
- }))
- }
- return e
+ return t(n)
+ })), qe.register((e => t => n => {
+ const a = t(n);
+ switch (n.type) {
+ case Va:
+ ! function(e) {
+ let {
+ dispatch: t,
+ getState: n
+ } = e;
+ t(fn(An(pa(n)).host))
+ }(e);
+ break;
+ case oq:
+ ! function(e) {
+ let {
+ dispatch: t,
+ getState: n
+ } = e;
+ const {
+ locationURL: a
+ } = n()["features/base/connection"];
+ let r;
+ a && (r = a.host) && t(fn(r))
+ }(e)
}
-
- function qie(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ return a
+ }));
+ const iae = "APP_STATE_CHANGED", oae = $e("features/base/lastn"), sae = Nj()((e => {
+ var t, n;
+ let {
+ dispatch: a,
+ getState: r
+ } = e;
+ const i = r(),
+ {
+ conference: o
+ } = i["features/base/conference"];
+ if (!o) return void oae.debug("There is no active conference, not updating last N");
+ const {
+ enabled: s
+ } = i["features/base/audio-only"], {
+ appState: l
+ } = i["features/background"] || {}, {
+ enabled: c
+ } = i["features/filmstrip"], u = i["features/base/config"], {
+ lastNLimits: d,
+ lastN: p
+ } = i["features/base/lastn"], h = Yh(i);
+ let m = p || (null !== (t = u.startLastN) && void 0 !== t ? t : null !== (n = u.channelLastN) && void 0 !== n ? n : -1);
+ const f = function(e, t) {
+ if (!t || !t.keys) return;
+ let n;
+ for (const a of t.keys()) e >= a && (n = a);
+ return n ? t.get(n) : void 0
+ }(h, d);
+ if (void 0 !== f && (m = -1 === m ? f : Math.min(f, m)), void 0 !== l && "active" !== l) m = uh(i) ? 1 : 0;
+ else if (s) {
+ const {
+ remoteScreenShares: e,
+ tileViewEnabled: t
+ } = i["features/video-layout"], n = i["features/large-video"].participantId, a = n ? Vh(i, n) : void 0;
+ m = t || !a || a.local ? 0 : (e || []).includes(n) ? 1 : 0
+ } else c || (m = 1);
+ a(c7(m))
+ }), 1e3); qe.register((e => t => n => {
+ const a = t(n);
+ switch (n.type) {
+ case iae:
+ case HF:
+ case qw:
+ case Bw:
+ case Uw:
+ case mS:
+ case BW:
+ case WX:
+ case _S:
+ case fS:
+ sae(e)
+ }
+ return a
+ }));
+ const lae = "SET_LOG_COLLECTOR", cae = "SET_LOGGING_CONFIG";
+
+ function uae(e) {
+ return {
+ type: lae,
+ logCollector: e
}
- nt.register("features/e2ee", ((e = Lie, t) => {
- switch (t.type) {
- case _4:
- return zie({}, e, {
- enabled: t.enabled
- });
- case w4:
- return zie({}, e, {
- everyoneEnabledE2EE: t.everyoneEnabledE2EE
- });
- case S4:
- return zie({}, e, {
- everyoneSupportE2EE: t.everyoneSupportE2EE
- });
- case E4:
- return zie({}, e, {
- maxMode: t.maxMode
- });
- default:
- return e
+ }
+ qe.register((e => t => n => {
+ switch (n.type) {
+ case v:
+ "undefined" != typeof APP && function() {
+ if (c.default.getGlobalOnErrorHandler) {
+ const e = window.onerror;
+ window.onerror = (t, n, a, r, i) => {
+ const o = t || i && i.message,
+ s = i && i.stack;
+ c.default.getGlobalOnErrorHandler(o, n, a, r, s), e && e(t, n, a, r, i)
+ };
+ const t = window.onunhandledrejection;
+ window.onunhandledrejection = function(e) {
+ let n = e.reason,
+ a = "n/a";
+ e.reason instanceof Error && ({
+ message: n,
+ stack: a
+ } = e.reason), c.default.getGlobalOnErrorHandler(n, null, null, null, a), t && t(e)
+ }
+ }
+ }();
+ break;
+ case Qne:
+ c.default.setNetworkInfo({
+ isOnline: n.isOnline
+ });
+ break;
+ case Uw:
+ n.participant.local && e.dispatch(ct());
+ break;
+ case In:
+ return function(e, t, n) {
+ let {
+ dispatch: a,
+ getState: r
+ } = e;
+ const {
+ initialized: i
+ } = r()["features/base/lib-jitsi-meet"];
+ i && a(ct());
+ const o = t(n);
+ return a(function(e) {
+ return {
+ type: cae,
+ config: e
+ }
+ }(window.loggingConfig)), a(((e, t) => {
+ const n = t(),
+ a = n["features/base/config"];
+ if (!a) throw new Error("Cannot init lib-jitsi-meet without config");
+ e({
+ type: v
+ });
+ try {
+ c.default.init({
+ enableAnalyticsLogging: it(t),
+ ...a,
+ externalStorage: l.isLocalStorageDisabled() ? l : void 0
+ }), c.default.setNetworkInfo({
+ isOnline: f(n)
+ }), e({
+ type: b
+ })
+ } catch (t) {
+ e(function(e) {
+ return {
+ type: y,
+ error: e
+ }
+ }(t))
+ }
+ })), o
+ }(e, t, n)
+ }
+ return t(n)
+ })); class dae {
+ constructor() {
+ this.logs = []
+ }
+ isReady() {
+ return !0
+ }
+ storeLogs(e) {
+ for (let t = 0, n = e.length; t < n; t++) {
+ const n = e[t];
+ "object" == typeof n ? this.logs.push(n.text) : this.logs.push(n)
}
- }));
- const Bie = {
- message: "",
- score: -1,
- submitted: !1
- };
-
- function Uie(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Hie(e, t, n[t])
- }))
+ }
+ getLogs() {
+ return this.logs
+ }
+ }
+ class pae {
+ constructor(e) {
+ this.counter = 1, this.getState = e
+ }
+ isReady() {
+ const {
+ conference: e
+ } = this.getState()["features/base/conference"];
+ return Boolean(e)
+ }
+ storeLogs(e) {
+ const t = vF(this.getState());
+ if (!t || !t.isCallstatsEnabled()) return;
+ let n = `{"log${this.counter}":"\n`;
+ for (let t = 0, a = e.length; t < a; t++) {
+ const a = e[t];
+ a.timestamp && (n += `${a.timestamp} `), a.count > 1 && (n += `(${a.count}) `), n += `${a.text}\n`
+ }
+ n += '"}', this.counter += 1;
+ try {
+ t.sendApplicationLog(n)
+ } catch (e) {
+ console.error(`Failed to store the logs, msg length: ${n.length}error: ${JSON.stringify(e)}`)
}
- return e
}
+ }
- function Hie(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ function hae(e, t) {
+ e.setLogLevel(t.defaultLogLevel), Object.keys(t).forEach((n => "defaultLogLevel" === n || e.setLogLevelById(t[n], n)))
+ }
+ qe.register((e => t => n => {
+ switch (n.type) {
+ case Va:
+ return function(e, t, n) {
+ let {
+ getState: a
+ } = e;
+ const {
+ config: r
+ } = a()["features/base/logging"];
+ return hae(Ve(), r), "undefined" == typeof APP || hae(c.default, r), t(n)
+ }(e, t, n);
+ case HF:
+ return function(e, t, n) {
+ let {
+ getState: a
+ } = e;
+ const r = t(n),
+ {
+ conference: i
+ } = n,
+ {
+ logCollector: o
+ } = a()["features/base/logging"];
+ return o && i === vF(a()) && (o.start(), o.flush(), i.on(ht.BEFORE_STATISTICS_DISPOSED, (() => o.flush()))), r
+ }(e, t, n);
+ case v:
+ return function(e, t, n) {
+ let {
+ getState: a
+ } = e;
+ return "undefined" == typeof APP && hae(c.default, a()["features/base/logging"].config), t(n)
+ }(e, t, n);
+ case cae:
+ return function(e, t, n) {
+ let {
+ dispatch: a,
+ getState: r
+ } = e;
+ const i = t(n),
+ o = r()["features/base/logging"].config,
+ s = P9(r());
+ return hae(Ve(), o), hae(c.default, o),
+ function(e, t, n) {
+ let {
+ dispatch: a,
+ getState: r
+ } = e;
+ const {
+ logCollector: i
+ } = r()["features/base/logging"];
+ if (i || t.disableLogCollector) i && t.disableLogCollector && (Ve().removeGlobalTransport(i), c.default.removeGlobalLogTransport(i), i.stop(), a(uae(void 0)));
+ else {
+ const e = new(Ve().LogCollector)(new pae(r)),
+ {
+ apiLogLevels: t
+ } = r()["features/base/config"];
+ if (t && Array.isArray(t) && "object" == typeof APP) {
+ const e = t.reduce(((e, t) => (e[t] = function() {
+ for (var e = arguments.length, n = new Array(e), a = 0; a < e; a++) n[a] = arguments[a];
+ APP.API.notifyLog(t, n)
+ }, e)), {});
+ Ve().addGlobalTransport(e), c.default.addGlobalLogTransport(e)
+ }
+ if (Ve().addGlobalTransport(e), c.default.addGlobalLogTransport(e), a(uae(e)), n && "object" == typeof APP) {
+ APP.debugLogs = new dae;
+ const e = new(Ve().LogCollector)(APP.debugLogs, {
+ storeInterval: 1e3
+ });
+ Ve().addGlobalTransport(e), c.default.addGlobalLogTransport(e), e.start()
+ }
+ }
+ }({
+ dispatch: a,
+ getState: r
+ }, o, s), i
+ }(e, t, n)
+ }
+ return t(n)
+ }));
+ const mae = {
+ available: !0,
+ unmuteBlocked: !1,
+ muted: !1
+ }, fae = {
+ available: !0,
+ unmuteBlocked: !1,
+ facingMode: Li,
+ muted: 0,
+ transforms: {}
+ };
+
+ function gae(e) {
+ return {
+ ...e,
+ transforms: fae.transforms
}
+ }
- function Vie(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Wie(e, t, n[t])
- }))
+ function bae(e, t) {
+ let {
+ streamId: n,
+ transform: a
+ } = t;
+ return {
+ ...e,
+ transforms: {
+ ...e.transforms,
+ [n]: a
}
- return e
}
+ }
- function Wie(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
- }
- nt.register("features/feedback", ((e = Bie, t) => {
- switch (t.type) {
- case NH:
- return Fie({}, e, {
- message: t.message,
- score: t.score
- });
- case zH:
- case RH:
- return Fie({}, e, {
- message: "",
- score: -1,
- submitted: !0
- })
+ function yae(e, t) {
+ let {
+ track: {
+ jitsiTrack: n
}
- return e
- })), nt.register("features/local-recording", ((e = {}, t) => {
+ } = t;
+ if (n) {
+ const t = n.getStreamId();
+ if (t && t in e.transforms) {
+ const n = {
+ ...e.transforms
+ };
+ return delete n[t], {
+ ...e,
+ transforms: n
+ }
+ }
+ }
+ return e
+ }
+ et.register("features/base/media", oe({
+ audio: function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : mae,
+ t = arguments.length > 1 ? arguments[1] : void 0;
switch (t.type) {
- case m6:
- return Uie({}, e, {
- isEngaged: !0,
- recordingEngagedAt: t.recordingEngagedAt,
- encodingFormat: F6._format
- });
- case f6:
- return Uie({}, e, {
- isEngaged: !1,
- recordingEngagedAt: null
- });
- case g6:
- return Uie({}, e, {
- stats: t.stats
- });
+ case sf:
+ return {
+ ...e, available: t.available
+ };
+ case lf:
+ return {
+ ...e, muted: t.muted
+ };
+ case cf:
+ return {
+ ...e, unmuteBlocked: t.blocked
+ };
default:
return e
}
- })), nt.register("features/no-audio-signal", ((e = {}, t) => t.type === rte ? Le(e, "noAudioSignalNotificationUid", t.uid) : e)), nt.register("features/noise-detection", ((e = {}, t) => t.type === cte ? Le(e, "noisyAudioInputNotificationUid", t.uid) : e));
- const Yie = {
- isOpen: !1,
- participantsVolume: {}
- };
-
- function Gie(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Kie(e, t, n[t])
- }))
- }
- return e
- }
-
- function Kie(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
- }
- nt.register(pm, ((e = Yie, t) => {
+ },
+ video: function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : fae,
+ t = arguments.length > 1 ? arguments[1] : void 0;
switch (t.type) {
- case Y6:
- return Vie({}, e, {
- isOpen: !1
- });
- case G6:
- return Vie({}, e, {
- isOpen: !0
- });
- case "SET_VOLUME":
- return Vie({}, e, {
- participantsVolume: Vie({}, e.participantsVolume, {
- [t.participantId]: t.volume
- })
- });
+ case UF:
+ case VF:
+ return gae(e);
+ case uf:
+ return {
+ ...e, facingMode: t.cameraFacingMode
+ };
+ case df:
+ return {
+ ...e, available: t.available
+ };
+ case pf:
+ return {
+ ...e, muted: t.muted
+ };
+ case mf:
+ return {
+ ...e, unmuteBlocked: t.blocked
+ };
+ case hf:
+ return bae(e, t);
+ case ff: {
+ let t = e.facingMode;
+ return t = t === Li ? zi : Li, {
+ ...e,
+ facingMode: t
+ }
+ }
+ case mp:
+ return yae(e, t);
default:
return e
}
- })), nt.register("features/power-monitor", ((e = {}, t) => {
- switch (t.type) {
- case gV:
- return function(e, t) {
- return Le(e, "transport", t)
- }(e, t.transport);
- case fV:
- return function(e) {
- return Le(e, "suspendDetected", !0)
- }(e)
+ }
+ })), qe.register((e => t => n => {
+ switch (n.type) {
+ case iae:
+ return function(e, t, n) {
+ let {
+ dispatch: a,
+ getState: r
+ } = e;
+ if ("ReactNative" === navigator.product) {
+ const {
+ appState: e
+ } = n, t = "active" !== e && !uh(r());
+ Da(cn("video", "background mode", t)), a(yf(t, Bi, Hi))
+ }
+ return t(n)
+ }(e, t, n);
+ case WX:
+ return function(e, t, n) {
+ let {
+ dispatch: a
+ } = e;
+ const {
+ audioOnly: r,
+ ensureVideoTrack: i
+ } = n;
+ return Da(cn("video", "audio-only mode", r)), a(yf(r, Bi, Ui, i)), "ReactNative" !== navigator.product && a(yf(r, qi, Ui, i)), t(n)
+ }(e, t, n);
+ case oq:
+ return function(e, t, n) {
+ let {
+ dispatch: a,
+ getState: r
+ } = e;
+ const i = r(),
+ {
+ room: o
+ } = n,
+ s = SF(o),
+ l = s ? Df(i) : mae.muted,
+ c = s ? Pf(i) : fae.muted;
+ Da(sn("local", l, c)), kf.log(`Start muted: ${l?"audio, ":""}${c?"video":""}`), a(gf(l)), a((Li, {
+ type: uf,
+ cameraFacingMode: "user"
+ })), a(yf(c));
+ const u = Boolean(ta(i, "startAudioOnly", {
+ config: s,
+ urlParams: !0,
+ jwt: !1,
+ settings: !0
+ }));
+ return Da(function(e) {
+ return {
+ action: "start.audio.only",
+ attributes: {
+ enabled: e
+ }
+ }
+ }(u)), kf.log(`Start audio only set to ${u.toString()}`), a(GX(u, !1)), s || a(gh()), t(n)
+ }(e, t, n);
+ case up: {
+ const a = t(n),
+ {
+ track: r
+ } = n;
+ return r.local && "desktop" !== r.videoType && function(e, t) {
+ let {
+ getState: n
+ } = e;
+ const a = n()["features/base/media"],
+ r = t.mediaType === qi ? Bi : t.mediaType,
+ i = Boolean(a[r].muted);
+ t.muted !== i && (Da(function(e, t) {
+ return {
+ action: "sync.track.state",
+ attributes: {
+ media_type: e,
+ muted: t
+ }
+ }
+ }(t.mediaType, i)), kf.log(`Sync ${t.mediaType} track muted state to ${i?"muted":"unmuted"}`), t.muted = i, hh(t.jitsiTrack, i))
+ }(e, r), a
}
- return e
- }));
- const $ie = {
- country: "",
- deviceStatusText: "prejoin.configuringDevices",
- deviceStatusType: "ok",
- dialOutCountry: {
- name: "United States",
- dialCode: "1",
- code: "us"
- },
- dialOutNumber: "",
- dialOutStatus: "prejoin.dialing",
- isDisplayNameRequired: !1,
- name: "",
- rawError: "",
- showPrejoin: !0,
- skipPrejoinOnReload: !1,
- showJoinByPhoneDialog: !1,
- userSelectedSkipPrejoin: !1
- };
-
- function Jie(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Zie(e, t, n[t])
- }))
+ case lf: {
+ const t = e.getState(),
+ a = Uh(t);
+ if (!n.muted && Mm(a, Fi, t)) return;
+ break
}
- return e
+ case cf: {
+ const {
+ blocked: t
+ } = n, a = ch(e.getState()["features/base/tracks"], Fi);
+ t && a && e.dispatch(ng({
+ descriptionKey: "notify.audioUnmuteBlockedDescription",
+ titleKey: "notify.audioUnmuteBlockedTitle"
+ }, Yf.MEDIUM));
+ break
+ }
+ case pf: {
+ const t = e.getState(),
+ a = Uh(t);
+ if (!n.muted && Mm(a, Bi, t)) return;
+ break
+ }
+ case mf: {
+ const {
+ blocked: t
+ } = n, a = ch(e.getState()["features/base/tracks"], Bi);
+ t && a && e.dispatch(ng({
+ descriptionKey: "notify.videoUnmuteBlockedDescription",
+ titleKey: "notify.videoUnmuteBlockedTitle"
+ }, Yf.MEDIUM));
+ break
+ }
+ }
+ return t(n)
+ }));
+ const vae = "network-info-online-status-change"; class kae extends(o()) {
+ constructor() {
+ super(), this._onlineStateListener = this._handleOnlineStatusChange.bind(this, !0), this._offlineStateListener = this._handleOnlineStatusChange.bind(this, !1)
+ }
+ _handleOnlineStatusChange(e) {
+ this.emit(vae, {
+ isOnline: e
+ })
}
+ static isSupported() {
+ return window.addEventListener && void 0 !== navigator.onLine
+ }
+ start() {
+ window.addEventListener("online", this._onlineStateListener), window.addEventListener("offline", this._offlineStateListener)
+ }
+ stop() {
+ window.removeEventListener("online", this._onlineStateListener), window.removeEventListener("offline", this._offlineStateListener)
+ }
+ }
- function Zie(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ function _ae(e) {
+ return {
+ type: Xne,
+ cleanup: e
}
- et.register("features/prejoin", {
- skipPrejoinOnReload: !0
- }, $ie), nt.register("features/prejoin", ((e = $ie, t) => {
- switch (t.type) {
- case NR:
- return Gie({}, e, {
- joiningInProgress: t.value
- });
- case "SET_SKIP_PREJOIN":
- return Gie({}, e, {
- userSelectedSkipPrejoin: t.value
- });
- case LR:
- return Gie({}, e, {
- skipPrejoinOnReload: t.value
- });
- case VR:
- return Gie({}, e, {
- precallTestResults: t.value
- });
- case YR:
- return Gie({}, e, {
- showPrejoin: t.value
- });
- case WR: {
- const n = function(e) {
- const {
- audioOnlyError: t,
- videoOnlyError: n,
- audioAndVideoError: a
- } = e;
- return a ? t ? n ? {
- deviceStatusType: "warning",
- deviceStatusText: "prejoin.audioAndVideoError",
- rawError: a.message
- } : {
- deviceStatusType: "warning",
- deviceStatusText: "prejoin.audioOnlyError",
- rawError: t.message
- } : {
- deviceStatusType: "warning",
- deviceStatusText: "prejoin.videoOnlyError",
- rawError: a.message
- } : {
- deviceStatusType: "ok",
- deviceStatusText: "prejoin.lookGood",
- rawError: ""
- }
- }(t.value);
- return Gie({}, e, n)
- }
- case RR: {
+ }
+ const wae = $e("features/base/net-info"); qe.register((e => {
+ let {
+ dispatch: t,
+ getState: n
+ } = e;
+ return e => a => {
+ const r = e(a);
+ switch (a.type) {
+ case Va:
+ if (kae.isSupported()) {
+ const e = new kae,
+ n = () => {
+ e.stop(), e.removeAllListeners()
+ };
+ e.addListener(vae, (e => {
+ let {
+ isOnline: n,
+ networkType: a,
+ details: r
+ } = e;
+ wae.info("Network changed", JSON.stringify({
+ isOnline: n,
+ details: r,
+ networkType: a
+ })), t(function(e) {
+ let {
+ isOnline: t,
+ networkType: n,
+ details: a
+ } = e;
+ return {
+ type: Qne,
+ isOnline: t,
+ networkType: n,
+ details: a
+ }
+ }({
+ isOnline: n,
+ networkType: a,
+ details: r
+ }))
+ })), t(_ae(n)), e.start()
+ }
+ break;
+ case Wa: {
const {
- deviceStatusType: n,
- deviceStatusText: a
- } = t.value;
- return Gie({}, e, {
- deviceStatusText: a,
- deviceStatusType: n
- })
+ _cleanup: e
+ } = n()[m];
+ e && (e(), t(_ae(void 0)))
}
- case BR:
- return Gie({}, e, {
- dialOutNumber: t.value
- });
- case qR:
- return Gie({}, e, {
- dialOutCountry: t.value
- });
- case UR:
- return Gie({}, e, {
- dialOutStatus: t.value
- });
- case HR:
- return Gie({}, e, {
- showJoinByPhoneDialog: t.value
- });
- case FR:
- return Gie({}, e, {
- isDisplayNameRequired: !0
- });
- default:
- return e
- }
- }));
- const Qie = {
- active: !1,
- controller: {
- isCapturingEvents: !1
- },
- receiver: {
- enabled: !1
}
- };
-
- function Xie(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- eoe(e, t, n[t])
- }))
- }
- return e
+ return r
}
+ }));
- function eoe(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
- }
+ function Sae(e, t, n, a) {
+ let {
+ getState: r,
+ dispatch: i
+ } = e;
+ const o = "true" === a,
+ {
+ e2ee: s = {}
+ } = r()["features/base/config"];
+ if (i(sS({
+ conference: t,
+ id: n,
+ e2eeEnabled: o
+ })), s.externallyManagedKey) return;
+ const {
+ maxMode: l
+ } = r()["features/e2ee"] || {};
+ l === f8 && o || i(l8(o))
+ }
- function toe(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ function Eae(e, t) {
+ let {
+ getState: n,
+ dispatch: a
+ } = e;
+ const r = n(),
+ {
+ startAudioMuted: i
+ } = r["features/base/config"],
+ {
+ soundsParticipantJoined: o,
+ soundsParticipantLeft: s
+ } = r["features/base/settings"];
+ if (!t.participant.local && (!i || Yh(r) < i)) {
+ const {
+ isReplacing: e,
+ isReplaced: n
+ } = t.participant;
+ if (t.type === qw) {
+ if (!o) return;
+ const {
+ presence: n
+ } = t.participant;
+ n === WW || n === YW || e || a(Ii(Oh))
+ } else t.type === Uw && !n && s && a(Ii(Nh))
}
+ }
- function noe(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- aoe(e, t, n[t])
+ function xae(e, t, n) {
+ const {
+ dispatch: a,
+ getState: r
+ } = e, {
+ participant: {
+ avatarURL: i,
+ email: o,
+ id: s,
+ local: l,
+ name: c,
+ raisedHandTimestamp: u
+ }
+ } = n;
+ if (void 0 !== u && l) {
+ const {
+ conference: e
+ } = r()["features/base/conference"], t = parseInt(u, 10);
+ e && t !== Uh(r()).raisedHandTimestamp && e.setLocalParticipantProperty("raisedHand", t)
+ }
+ const d = t(n);
+ if (Object.keys(r()["features/base/config"]).length) {
+ const {
+ disableThirdPartyRequests: t
+ } = r()["features/base/config"];
+ if (!t && (i || o || s || c)) {
+ const t = !s && l ? Uh(r()).id : s;
+ Bh(Vh(r(), t), e).then((e => {
+ a(function(e, t) {
+ return {
+ type: Gw,
+ participant: {
+ id: e,
+ loadableAvatarUrl: t
+ }
+ }
+ }(t, e))
}))
}
- return e
}
+ if ("object" == typeof APP) {
+ const e = l ? APP.conference.getMyUserId() : s;
+ APP.UI.refreshAvatarDisplay(e)
+ }
+ return d
+ }
- function aoe(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ function Cae(e, t, n, a) {
+ let r, {
+ dispatch: i,
+ getState: o
+ } = e;
+ switch (a) {
+ case void 0:
+ case "false":
+ r = 0;
+ break;
+ case "true":
+ r = Date.now();
+ break;
+ default:
+ r = parseInt(a, 10)
+ }
+ const s = o();
+ i(sS({
+ conference: t,
+ id: n,
+ raisedHandTimestamp: r
+ })), i(pS({
+ id: n,
+ raisedHandTimestamp: r
+ })), "undefined" != typeof APP && APP.API.notifyRaiseHandUpdated(n, r);
+ const l = tm(s),
+ c = Vh(s, n);
+ let u = !1;
+ l && (u = Mm(c, Fi, s) || Mm(c, Bi, s));
+ const d = u ? {
+ customActionNameKey: ["notify.allowAction"],
+ customActionHandler: [() => i(Jm(n))]
+ } : {};
+ if (r) {
+ let e;
+ const t = Kh(s, n),
+ {
+ raisedHandsQueue: a
+ } = s["features/base/participants"];
+ if (a.length > 1) {
+ const n = a.length - 1;
+ e = Qr.t("notify.raisedHands", {
+ participantName: t,
+ raisedHands: n
+ })
+ } else e = t;
+ i(tg({
+ titleKey: "notify.somebody",
+ title: e,
+ descriptionKey: "notify.raisedHand",
+ raiseHandNotification: !0,
+ concatText: !0,
+ uid: "RAISE_HAND_NOTIFICATION",
+ ...d
+ }, u ? Yf.MEDIUM : Yf.SHORT)), i(Ii(CZ))
}
- nt.register("features/remote-control", ((e = Qie, t) => {
- switch (t.type) {
- case m0:
- return Jie({}, e, {
- controller: Le(e.controller, "isCapturingEvents", t.isCapturingEvents)
- });
- case f0:
- return Le(e, "active", t.active);
- case g0:
- return Jie({}, e, {
- receiver: Le(e.receiver, "transport", t.transport)
- });
- case b0:
- return Jie({}, e, {
- receiver: Le(e.receiver, "enabled", t.enabled)
- });
- case k0:
- return Jie({}, e, {
- controller: Le(e.controller, "requestedParticipant", t.requestedParticipant)
- });
- case v0:
- return Jie({}, e, {
- controller: Le(e.controller, "controlled", t.controlled)
- });
- case y0:
- return Jie({}, e, {
- receiver: Le(e.receiver, "controller", t.controller)
- })
- }
- return e
- })), nt.register("features/screen-share", ((e = {}, t) => {
- const {
- captureFrameRate: n,
- isSharingAudio: a
- } = t;
- switch (t.type) {
- case EV:
- return Xie({}, e, {
- isSharingAudio: a
- });
- case xV:
- return Xie({}, e, {
- captureFrameRate: n
- });
- default:
- return e
+ }
+ qe.register((e => t => n => {
+ switch (n.type) {
+ case Va:
+ return function(e) {
+ let {
+ dispatch: t
+ } = e;
+ t(Oi(Oh, "joined.wav")), t(Oi(Nh, "left.wav"))
+ }(e),
+ function(e, t, n) {
+ let {
+ getState: a,
+ dispatch: r
+ } = e;
+ const i = t(n),
+ o = a()["features/base/settings"];
+ return r(function() {
+ return nS(ze(arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, "local", !0))
+ }({
+ avatarURL: o.avatarURL,
+ email: o.email,
+ name: o.displayName
+ })), i
+ }(e, t, n);
+ case Wa:
+ return function(e) {
+ let {
+ dispatch: t
+ } = e;
+ t(Ri(Oh)), t(Ri(Nh))
+ }(e),
+ function(e, t, n) {
+ let {
+ dispatch: a
+ } = e;
+ const r = t(n);
+ return a(((e, t) => {
+ const n = Uh(t);
+ if (n) return e(rS(n.id, void 0))
+ })), r
+ }(e, t, n);
+ case KF:
+ e.dispatch(eS(n.conference.myUserId()));
+ break;
+ case Nw: {
+ const {
+ id: t
+ } = n.participant, a = e.getState(), r = Uh(a);
+ r && r.id === t && am(r) && ! function(e) {
+ var t;
+ return (null === (t = e["features/base/config"]) || void 0 === t ? void 0 : t.disableRemoveRaisedHandOnFocus) || !1
+ }(a) && e.dispatch(dS(!1));
+ break
}
- })), et.register("features/screnshot-capture", !0, {
- capturesEnabled: !1
- }), nt.register("features/screenshot-capture", ((e = {}, t) => t.type === f9 ? function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- toe(e, t, n[t])
- }))
+ case Rw: {
+ const {
+ conference: t
+ } = e.getState()["features/base/conference"];
+ t.grantOwner(n.id);
+ break
}
- return e
- }({}, e, {
- capturesEnabled: t.payload
- }) : e));
- const roe = {};
-
- function ioe(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- ooe(e, t, n[t])
- }))
+ case zw: {
+ const {
+ conference: t
+ } = e.getState()["features/base/conference"];
+ t.kickParticipant(n.id);
+ break
}
- return e
- }
-
- function ooe(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
- }
- nt.register("features/shared-video", ((e = roe, t) => {
- const {
- videoUrl: n,
- status: a,
- time: r,
- ownerId: i,
- disabled: o,
- muted: s
- } = t;
- switch (t.type) {
- case O2:
- return roe;
- case T2:
- return noe({}, e, {
- muted: s,
- ownerId: i,
- status: a,
- time: r,
- videoUrl: n
- });
- case M2:
- return noe({}, e, {
- disabled: o
- });
- default:
- return e
+ case Kw: {
+ var a;
+ const {
+ raisedHandTimestamp: t
+ } = n, r = null === (a = Uh(e.getState())) || void 0 === a ? void 0 : a.id;
+ e.dispatch(sS({
+ id: r,
+ local: !0,
+ raisedHandTimestamp: t
+ })), e.dispatch(pS({
+ id: r,
+ raisedHandTimestamp: t
+ })), "undefined" != typeof APP && APP.API.notifyRaiseHandUpdated(r, t);
+ break
}
- })), nt.register("features/talk-while-muted", ((e = {}, t) => t.type === yte ? Le(e, "currentNotificationUid", t.uid) : e));
- const soe = "features/virtual-background";
-
- function loe(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
- }
- nt.register(soe, ((e = {}, t) => {
- const {
- virtualSource: n,
- backgroundEffectEnabled: a,
- blurValue: r,
- backgroundType: i,
- selectedThumbnail: o
- } = t;
- switch (et.register(soe, e.backgroundType !== Co), t.type) {
- case bo:
- return ioe({}, e, {
- virtualSource: n,
- blurValue: r,
- backgroundType: i,
- selectedThumbnail: o
- });
- case go:
- return ioe({}, e, {
- backgroundEffectEnabled: a
- })
+ case Lw: {
+ const {
+ conference: t
+ } = e.getState()["features/base/conference"];
+ t.muteParticipant(n.id, n.mediaType);
+ break
}
- return e
- }));
- const coe = {
- localTracksDuration: {
- audio: {
- startedTime: -1,
- value: 0
- },
- video: {
- camera: {
- startedTime: -1,
- value: 0
- },
- desktop: {
- startedTime: -1,
- value: 0
- }
- },
- conference: {
- startedTime: -1,
- value: 0
+ case "PARTICIPANT_DISPLAY_NAME_CHANGED":
+ if ("undefined" != typeof APP) {
+ const t = Uh(e.getState());
+ t && t.id === n.id && APP.UI.emitEvent(rX.NICKNAME_CHANGED, n.name)
}
+ break;
+ case $w: {
+ const {
+ participant: t
+ } = n;
+ let a = nm(e.getState());
+ t.raisedHandTimestamp ? (a.push({
+ id: t.id,
+ raisedHandTimestamp: t.raisedHandTimestamp
+ }), a = a.sort(((e, t) => {
+ let {
+ raisedHandTimestamp: n
+ } = e, {
+ raisedHandTimestamp: a
+ } = t;
+ return n - a
+ }))) : a = a.filter((e => {
+ let {
+ id: n
+ } = e;
+ return n !== t.id
+ })), n.queue = a;
+ break
}
- };
-
- function uoe(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- doe(e, t, n[t])
+ case qw:
+ return Eae(e, n), xae(e, t, n);
+ case Uw:
+ Eae(e, n);
+ break;
+ case Hw:
+ return xae(e, t, n)
+ }
+ return t(n)
+ })), tt.register((e => vF(e)), ((e, t) => {
+ let {
+ dispatch: n,
+ getState: a
+ } = t;
+ (0, Me.unstable_batchedUpdates)((() => {
+ for (const [t, r] of Jh(a()))(!e || r.conference !== e) && n(rS(t, r.conference, r.isReplaced))
+ }))
+ })), tt.register((e => e["features/base/conference"]), ((e, t) => {
+ let {
+ leaving: n
+ } = e, {
+ dispatch: a,
+ getState: r
+ } = t;
+ const i = r(),
+ o = Uh(i);
+ let s;
+ if (!o || (s = o.id) === Ih) return;
+ const l = fF(i, (e => e === n || e.myUserId() !== s));
+ l && a(eS(Ih))
+ })), tt.register((e => e["features/base/conference"].conference), ((e, t) => {
+ if (e) {
+ const n = {
+ "e2ee.enabled": (n, a) => Sae(t, e, n.getId(), a),
+ features_e2ee: (n, a) => t.dispatch(sS({
+ conference: e,
+ id: n.getId(),
+ e2eeSupported: a
+ })),
+ features_jigasi: (n, a) => t.dispatch(sS({
+ conference: e,
+ id: n.getId(),
+ isJigasi: a
+ })),
+ "features_screen-sharing": (n, a) => t.dispatch(sS({
+ conference: e,
+ id: n.getId(),
+ features: {
+ "screen-sharing": !0
+ }
+ })),
+ raisedHand: (n, a) => Cae(t, e, n.getId(), a),
+ remoteControlSessionStatus: (n, a) => t.dispatch(sS({
+ conference: e,
+ id: n.getId(),
+ remoteControlSessionStatus: a
}))
- }
- return e
+ };
+ e.getParticipants().forEach((e => {
+ Object.keys(n).forEach((t => {
+ const a = e.getProperty(t);
+ void 0 !== a && n[t](e, a)
+ }))
+ })), e.on(ht.PARTICIPANT_PROPERTY_CHANGED, ((e, t, a, r) => {
+ n.hasOwnProperty(t) && n[t](e, r)
+ }))
+ } else {
+ const n = Uh(t.getState).id;
+ Sae(t, e, n, !1), Cae(t, e, n, 0)
+ }
+ }));
+ const Aae = _().throttle((e => Xe.persistState(e)), 2e3);
+ let Tae;
+ "function" == typeof window.addEventListener && window.addEventListener("unload", (() => {
+ Aae.flush()
+ })), qe.register((e => t => n => {
+ const a = Fe(e),
+ r = t(n),
+ i = Fe(e);
+ return a === i || Aae(i), r
+ })), qe.register((e => t => n => {
+ const a = t(n);
+ switch (n.type) {
+ case Wa:
+ window.removeEventListener("resize", Tae), Tae = void 0;
+ break;
+ case Va:
+ ! function(e) {
+ Tae = () => {
+ const {
+ innerHeight: t,
+ innerWidth: n
+ } = window;
+ e.dispatch(j3(n, t))
+ }, window.addEventListener("resize", Tae)
+ }(e)
}
-
- function doe(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ return a
+ })), qe.register((e => t => n => {
+ const a = t(n);
+ switch (n.type) {
+ case Va:
+ ! function(e) {
+ let {
+ getState: t
+ } = e;
+ const {
+ disableCallIntegration: n
+ } = t()["features/base/settings"]
+ }(e);
+ break;
+ case QU:
+ ! function(e) {
+ let {
+ dispatch: t,
+ getState: n
+ } = e;
+ const a = n();
+ if (Boolean(a["features/base/jwt"].jwt)) {
+ const e = function(e) {
+ const {
+ user: t
+ } = e["features/base/jwt"];
+ return null == t ? void 0 : t.name
+ }(a);
+ e && t(hn({
+ displayName: e
+ }))
+ }
+ }(e);
+ break;
+ case pn:
+ ! function(e) {
+ let {
+ settings: {
+ disableCallIntegration: t
+ }
+ } = e
+ }(n),
+ function(e, t) {
+ let {
+ dispatch: n
+ } = e, {
+ settings: {
+ startAudioOnly: a
+ }
+ } = t;
+ "boolean" == typeof a && n(GX(a))
+ }(e, n),
+ function(e, t) {
+ let {
+ dispatch: n,
+ getState: a
+ } = e;
+ const {
+ settings: r
+ } = t, i = {
+ ...Uh(a())
+ };
+ for (const e in r) r.hasOwnProperty(e) && (i[(o = e, "displayName" === o ? "name" : o)] = r[e]);
+ var o;
+ n(sS(i))
+ }(e, n),
+ function(e) {
+ let {
+ settings: {
+ disableCrashReporting: t
+ }
+ } = e
+ }(n);
+ break;
+ case jF:
+ ! function(e) {
+ let {
+ dispatch: t,
+ getState: n
+ } = e;
+ const a = It(n()["features/base/connection"].locationURL),
+ r = a["userInfo.email"],
+ i = a["userInfo.displayName"];
+ if (!r && !i) return;
+ const o = Uh(n());
+ if (o) {
+ const e = _().escape(i),
+ n = _().escape(r);
+ t(sS({
+ ...o,
+ email: n,
+ name: e
+ })), t(hn({
+ displayName: e,
+ email: n
+ }))
+ }
+ }(e)
}
- nt.register("features/analytics", ((e = coe, t) => t.type === Ste ? function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- loe(e, t, n[t])
- }))
- }
- return e
- }({}, e, {
- localTracksDuration: t.localTracksDuration
- }) : e)), nt.register("features/authentication", ((e = {}, t) => {
- switch (t.type) {
- case ez:
- return Ne(e, {
- error: void 0,
- progress: void 0,
- thenableWithCancel: void 0
- });
- case tz:
- return Ne(e, {
- error: void 0,
- waitForOwnerTimeoutID: void 0
- });
- case nz: {
+ return a
+ }));
+ const Dae = $e("features/base/sounds"); qe.register((e => t => n => {
+ switch (n.type) {
+ case Ti:
+ ! function(e, t) {
let {
- thenableWithCancel: n
- } = t;
- if (e.thenableWithCancel === n) {
+ getState: n
+ } = e;
+ const a = n()["features/base/sounds"].get(t);
+ a ? a.audioElement ? a.audioElement.play() : Dae.warn(`PLAY_SOUND: sound not loaded yet for id: ${t}`) : Dae.warn(`PLAY_SOUND: no sound found for id: ${t}`)
+ }(e, n.soundId);
+ break;
+ case Pi:
+ ! function(e, t) {
+ let {
+ getState: n
+ } = e;
+ const a = n()["features/base/sounds"].get(t);
+ if (a) {
const {
- error: a,
- progress: r
- } = t;
- return (a || 1 === r) && (n = void 0), Ne(e, {
- error: a,
- progress: r || void 0,
- thenableWithCancel: n
- })
- }
- break
- }
- case az:
- return Ne(e, {
- error: void 0,
- progress: void 0,
- thenableWithCancel: t.thenableWithCancel
- });
- case rz:
- return Ne(e, {
- waitForOwnerTimeoutID: t.waitForOwnerTimeoutID
- })
- }
- return e
- }));
- const poe = {
- audioModerationEnabled: !1,
- videoModerationEnabled: !1,
- audioWhitelist: {},
- videoWhitelist: {},
- pendingAudio: [],
- pendingVideo: []
- };
-
- function hoe(e, t, n = {}) {
- let a = !1;
- const r = Xh[e],
- i = n[r].map((e => e.id === t.id ? (a = !0, uoe({}, e, t)) : e));
- return !!a && (n[r] = i, !0)
+ audioElement: e
+ } = a;
+ e ? e.stop() : Dae.warn(`STOP_SOUND: sound not loaded yet for id: ${t}`)
+ } else Dae.warn(`STOP_SOUND: no sound found for id: ${t}`)
+ }(e, n.soundId)
+ }
+ return t(n)
+ }));
+ const Pae = "SET_CONNECTION_STATE", jae = $e("features/base/testing");
+
+ function Mae(e, t) {
+ switch (e) {
+ case ht.CONNECTION_ESTABLISHED:
+ case ht.CONNECTION_INTERRUPTED:
+ case ht.CONNECTION_RESTORED:
+ t({
+ type: Pae,
+ connectionState: e
+ });
+ break;
+ default:
+ jae.error(`onConnectionEvent - unsupported event type: ${e}`)
}
+ }
- function moe(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- foe(e, t, n[t])
- }))
- }
- return e
- }
+ function Iae(e, t) {
+ let {
+ getState: n
+ } = e, a = arguments.length > 2 && void 0 !== arguments[2] && arguments[2];
+ return eh(n()["features/base/tracks"], t, a)
+ }
- function foe(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
- }
+ function Oae(e, t) {
+ let {
+ getState: n,
+ dispatch: a
+ } = e;
+ const r = sh(n()["features/base/tracks"], t.jitsiTrack),
+ {
+ jitsiTrack: i,
+ noDataFromSourceNotificationInfo: o = {}
+ } = r || {};
+ o && o.uid && (a(Xf(o.uid)), a(_h(i, void 0)))
+ }
- function goe(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
- }
- nt.register("features/av-moderation", ((e = poe, t) => {
- switch (t.type) {
- case Dm:
- return uoe({}, e, t.mediaType === Xi ? {
- audioModerationEnabled: !1,
- audioUnmuteApproved: void 0
- } : {
- videoModerationEnabled: !1,
- videoUnmuteApproved: void 0
- }, {
- audioWhitelist: {},
- videoWhitelist: {},
- pendingAudio: [],
- pendingVideo: []
- });
- case Om:
- return uoe({}, e, t.mediaType === Xi ? {
- audioModerationEnabled: !0
- } : {
- videoModerationEnabled: !0
- });
- case Rm:
- return uoe({}, e, t.mediaType === Xi ? {
- audioUnmuteApproved: !0
- } : {
- videoUnmuteApproved: !0
- });
- case Lm:
- return uoe({}, e, t.mediaType === Xi ? {
- audioUnmuteApproved: !1
- } : {
- videoUnmuteApproved: !1
- });
- case Um: {
- const {
- participant: n
+ function Nae(e, t, n) {
+ let {
+ ensureTrack: a,
+ authority: r,
+ muted: i
+ } = t;
+ const o = Iae(e, n, !0);
+ if (o) {
+ const {
+ jitsiTrack: e
+ } = o, t = r === Ui;
+ e && ("desktop" !== e.videoType || t) && hh(e, i)
+ } else i || !a || "undefined" != typeof APP && !kH(e.getState()) || e.dispatch(fh({
+ devices: [n]
+ }))
+ }
+ qe.register((e => t => n => {
+ switch (n.type) {
+ case KF:
+ ! function(e, t) {
+ let {
+ dispatch: n
} = t;
- if (!e.pendingAudio.find((e => e.id === n.id))) {
- const t = [...e.pendingAudio];
- return t.push(n), uoe({}, e, {
- pendingAudio: t
- })
- }
- return e
- }
- case Hv: {
- const n = t.participant,
- {
- audioModerationEnabled: a,
- videoModerationEnabled: r
- } = e;
- let i = !1;
- return a && (i = hoe(Xi, n, e)), r && (i = i || hoe(to, n, e)), i ? uoe({}, e) : e
- }
- case Uv: {
- const n = t.participant,
- {
- audioModerationEnabled: a,
- videoModerationEnabled: r
- } = e;
- let i = !1;
- if (a) {
- const t = e.pendingAudio.filter((e => e.id !== n.id));
- e.pendingAudio.length !== t.length && (e.pendingAudio = t, i = !0)
- }
- if (r) {
- const t = e.pendingVideo.filter((e => e.id !== n.id));
- e.pendingVideo.length !== t.length && (e.pendingVideo = t, i = !0)
- }
- return i ? uoe({}, e) : e
- }
- case Tm: {
+ e.on(ht.CONNECTION_ESTABLISHED, Mae.bind(null, ht.CONNECTION_ESTABLISHED, n)), e.on(ht.CONNECTION_RESTORED, Mae.bind(null, ht.CONNECTION_RESTORED, n)), e.on(ht.CONNECTION_INTERRUPTED, Mae.bind(null, ht.CONNECTION_INTERRUPTED, n))
+ }(n.conference, e);
+ break;
+ case In: {
+ const a = t(n);
+ return function(e) {
const {
- id: n,
- mediaType: a
- } = t;
- return a === Xi ? uoe({}, e, {
- pendingAudio: e.pendingAudio.filter((e => e.id !== n))
- }) : a === to ? uoe({}, e, {
- pendingVideo: e.pendingVideo.filter((e => e.id !== n))
- }) : e
- }
- case qm: {
+ getState: t
+ } = e;
+ P9(t()) && (Dt().testing = {
+ getRemoteVideoType: j9.bind(null, e),
+ isLargeVideoReceived: M9.bind(null, e),
+ isRemoteVideoReceived: I9.bind(null, e)
+ })
+ }(e), a
+ }
+ }
+ return t(n)
+ })), tt.register((e => e["features/base/tracks"].filter((e => "desktop" === e.videoType)).map((e => e.participantId))), ((e, t, n) => {
+ "object" == typeof APP && (_().isEqual(_().sortBy(e), _().sortBy(n)) || APP.API.notifySharingParticipantsChanged(e))
+ })), tt.register((e => lh(e["features/base/tracks"])), ((e, t, n) => {
+ "object" == typeof APP && e !== n && APP.API.notifyVideoMutedStatusChanged(e)
+ })), qe.register((e => t => n => {
+ switch (n.type) {
+ case up:
+ n.track.local && e.dispatch(eI());
+ break;
+ case hp: {
+ const a = t(n);
+ return function(e, t) {
const {
- mediaType: n,
- id: a
- } = t;
- return n === Xi ? uoe({}, e, {
- audioWhitelist: uoe({}, e.audioWhitelist, {
- [a]: !0
- })
- }) : n === to ? uoe({}, e, {
- videoWhitelist: uoe({}, e.videoWhitelist, {
- [a]: !0
- })
- }) : e
- }
- case Bm: {
+ getState: n,
+ dispatch: a
+ } = e, r = sh(n()["features/base/tracks"], t.track.jitsiTrack);
+ if (!r || !r.local) return;
const {
- mediaType: n,
- id: a
- } = t;
- return n === Xi ? uoe({}, e, {
- audioWhitelist: uoe({}, e.audioWhitelist, {
- [a]: !1
- })
- }) : n === to ? uoe({}, e, {
- videoWhitelist: uoe({}, e.videoWhitelist, {
- [a]: !1
- })
- }) : e
+ jitsiTrack: i
+ } = r;
+ if (r.mediaType === Fi && r.isReceivingData && Oae(e, t.track), r.mediaType === Bi) {
+ const {
+ noDataFromSourceNotificationInfo: n = {}
+ } = r;
+ if (r.isReceivingData) n.timeout && (clearTimeout(n.timeout), a(_h(i, void 0))), Oae(e, t.track);
+ else {
+ if (n.timeout) return;
+ const e = setTimeout((() => a(bh(i))), 5e3);
+ a(_h(i, {
+ timeout: e
+ }))
+ }
+ }
+ }(e, n), a
+ }
+ case mp:
+ Oae(e, n.track);
+ break;
+ case lf:
+ if (!n.muted && ph(e.getState())) return;
+ Nae(e, n, Fi);
+ break;
+ case uf: {
+ const t = Iae(e, Bi);
+ let a;
+ t && (a = t.jitsiTrack) && a.getCameraFacingMode() !== n.cameraFacingMode && e.dispatch({
+ type: ff
+ });
+ break
+ }
+ case pf:
+ if (!n.muted && ph(e.getState())) return;
+ Nae(e, n, n.mediaType);
+ break;
+ case ff: {
+ const t = Iae(e, Bi);
+ let n;
+ if (t && (n = t.jitsiTrack)) {
+ n._switchCamera();
+ const t = n.getCameraFacingMode() === Li;
+ e.dispatch({
+ type: gp,
+ track: {
+ jitsiTrack: n,
+ mirror: t
+ }
+ })
}
+ break
}
- return e
- })), nt.register("features/base/app", ((e = {}, t) => {
- switch (t.type) {
- case Ya: {
+ case cp:
+ if ("object" == typeof APP) {
+ if ((n.enabled || void 0 === n.enabled) && bm(Bi, e.getState())) return void(jw(qi, e.getState()) || e.dispatch(rf(qi)));
const {
- app: n
- } = t;
- if (e.app !== n) return moe({}, e, {
- app: n
- });
- break
- }
- case Ga:
- if (e.app === t.app) return moe({}, e, {
- app: void 0
+ enabled: t,
+ audioOnly: a,
+ ignoreDidHaveVideo: r
+ } = n;
+ APP.UI.emitEvent(rX.TOGGLE_SCREENSHARING, {
+ enabled: t,
+ audioOnly: a,
+ ignoreDidHaveVideo: r
})
+ }
+ break;
+ case gp: {
+ if ("undefined" != typeof APP) {
+ const a = t(n);
+ if (kH(e.getState())) return a;
+ const {
+ jitsiTrack: r
+ } = n.track, i = r.isMuted(), o = r.getParticipantId();
+ return r.type !== Fi ? r.type === qi ? APP.conference.mutePresenter(i) : r.isLocal() && r.videoType !== Yi ? APP.conference.setVideoMuteStatus() : r.isLocal() && i && r.videoType === Yi ? e.dispatch(yh(!1, !1, !0)) : APP.UI.setVideoMuted(o) : r.isLocal() ? APP.conference.setAudioMuteStatus(i) : APP.UI.setAudioMuted(o, i), a
+ }
+ const {
+ jitsiTrack: a
+ } = n.track;
+ a.isMuted() && a.type === Bi && a.videoType === Yi && e.dispatch(yh(!1));
+ break
}
- return e
- }));
- const boe = {
- enabled: !1
- };
-
- function yoe(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- voe(e, t, n[t])
- }))
- }
- return e
}
-
- function voe(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ return t(n)
+ })), tt.register((e => vF(e)), ((e, t, n) => {
+ let {
+ dispatch: a,
+ getState: r
+ } = t;
+ if (n && !e) {
+ const e = r()["features/base/tracks"];
+ (0, Me.unstable_batchedUpdates)((() => {
+ for (const t of e) a(wh(t.jitsiTrack))
+ }))
}
- nt.register("features/base/audio-only", ((e = boe, t) => t.type === $Q ? function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- goe(e, t, n[t])
- }))
- }
- return e
- }({}, e, {
- enabled: t.audioOnly
- }) : e)), nt.register("features/base/color-scheme", ((e = {}, t) => "SET_COLOR_SCHEME" === t.type && k().cloneDeep(t.colorScheme) || e));
- const koe = {
- conference: void 0,
- e2eeSupported: void 0,
- joining: void 0,
- leaving: void 0,
- locked: void 0,
- membersOnly: void 0,
- password: void 0,
- passwordRequired: void 0
- };
+ }));
+ const Rae = "USER_INTERACTION_RECEIVED";
+ let zae = null;
- function _oe(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- woe(e, t, n[t])
- }))
- }
- return e
- }
+ function Lae(e, t) {
+ t.isTrusted && (e({
+ type: Rae
+ }), Fae())
+ }
- function woe(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ function Fae() {
+ window.removeEventListener("mousedown", zae), window.removeEventListener("keydown", zae), zae = null
+ }
+
+ function qae(e, t) {
+ let {
+ dispatch: n,
+ getState: a
+ } = e, {
+ id: r,
+ message: i,
+ privateMessage: o,
+ timestamp: s
+ } = t, l = !(arguments.length > 2 && void 0 !== arguments[2]) || arguments[2], c = arguments.length > 3 && void 0 !== arguments[3] && arguments[3];
+ const u = a(),
+ {
+ isOpen: d
+ } = u["features/chat"],
+ {
+ iAmRecorder: p
+ } = u["features/base/config"],
+ {
+ soundsIncomingMessage: h
+ } = u["features/base/settings"];
+ h && l && !d && n(Ii(HV));
+ const m = Vh(u, r) || {},
+ f = Uh(a),
+ g = Kh(u, r),
+ b = m.local || d,
+ y = s ? new Date(s) : new Date,
+ v = y.getTime();
+ n(ZH({
+ displayName: g,
+ hasRead: b,
+ id: r,
+ messageType: m.local ? WV : YV,
+ message: i,
+ privateMessage: o,
+ recipient: Kh(u, f.id),
+ timestamp: v,
+ isReaction: c
+ })), "undefined" != typeof APP && (APP.API.notifyReceivedChatMessage({
+ body: i,
+ id: r,
+ nick: g,
+ privateMessage: o,
+ ts: s
+ }), p || n(xI(4e3)))
+ }
+ qe.register((e => t => n => {
+ switch (n.type) {
+ case Va:
+ ! function(e) {
+ let {
+ dispatch: t
+ } = e;
+ Fae(), zae = Lae.bind(null, t), window.addEventListener("mousedown", zae), window.addEventListener("keydown", zae)
+ }(e);
+ break;
+ case Wa:
+ Fae()
+ }
+ return t(n)
+ })), tt.register((e => e["features/base/conference"].conference), ((e, t, n) => {
+ let {
+ dispatch: a
+ } = t;
+ e && !n && (e.on(ht.BREAKOUT_ROOMS_MOVE_TO_ROOM, (e => {
+ d2.debug(`Moving to room: ${e}`), a(h2(e))
+ })), e.on(ht.BREAKOUT_ROOMS_UPDATED, (e => {
+ let {
+ rooms: t,
+ roomCounter: n
+ } = e;
+ d2.debug("Room list updated"), a({
+ type: u2,
+ rooms: t,
+ roomCounter: n
+ })
+ })))
+ })), qe.register((e => t => n => {
+ const {
+ getState: a
+ } = e;
+ if (!OJ(a)) return t(n);
+ switch (n.type) {
+ case mn: {
+ const r = a()["features/base/known-domains"],
+ i = t(n);
+ return Re(r, a()["features/base/known-domains"]) || NJ(e), i
+ }
+ case iae: {
+ const a = t(n);
+ return function(e, t) {
+ let {
+ appState: n
+ } = t;
+ "background" === n && e.dispatch((void 0, {
+ type: lJ,
+ authorization: undefined
+ }))
+ }(e, n), a
+ }
+ case In: {
+ const a = t(n);
+ return NJ(e), a
+ }
+ case sJ: {
+ const a = t(n);
+ return NJ(e, n.isInteractive, n.forcePermission), a
+ }
}
- nt.register("features/base/conference", ((e = koe, t) => {
- switch (t.type) {
- case qI:
- return function(e, {
- authEnabled: t,
- authLogin: n
- }) {
- return Ne(e, {
- authEnabled: t,
- authLogin: n
- })
- }(e, t);
- case BI:
- return function(e, {
- conference: t,
- error: n
- }) {
- const a = e.conference || e.joining;
- if (a && a !== t) return e;
- let r, i, o;
- switch (n.name) {
- case gt.AUTHENTICATION_REQUIRED:
- r = t;
- break;
- case gt.CONFERENCE_ACCESS_DENIED:
- case gt.MEMBERS_ONLY_ERROR:
- i = t;
- break;
- case gt.PASSWORD_REQUIRED:
- o = t
- }
- return Ne(e, {
- authRequired: r,
- conference: void 0,
- e2eeSupported: void 0,
- error: n,
- joining: void 0,
- leaving: void 0,
- locked: o ? m8 : void 0,
- membersOnly: i,
- password: void 0,
- passwordRequired: o
+ return t(n)
+ })), qe.register((e => t => n => {
+ const {
+ dispatch: a,
+ getState: r
+ } = e, i = Uh(r());
+ let o, s;
+ switch (n.type) {
+ case VH:
+ s = dW(r()), n.isReaction ? n.hasRead = !1 : s = n.hasRead ? 0 : s + 1, o = r()["features/chat"].isOpen, "undefined" != typeof APP && APP.API.notifyChatUpdated(s, o);
+ break;
+ case Va:
+ a(Oi(HV, "incomingMessage.wav"));
+ break;
+ case Wa:
+ a(Ri(HV));
+ break;
+ case HF:
+ ! function(e, t) {
+ t.getState()["features/base/config"].iAmRecorder || (e.on(ht.MESSAGE_RECEIVED, ((e, n, a) => {
+ qae(t, {
+ id: e,
+ message: n,
+ privateMessage: !1,
+ timestamp: a
})
- }(e, t);
- case UI:
- return function(e, {
- conference: t
- }) {
- const n = t.room && t.room.locked ? m8 : void 0;
- return Ne(e, {
- authRequired: void 0,
- conference: t,
- e2eeSupported: t.isE2EESupported(),
- joining: void 0,
- membersOnly: void 0,
- leaving: void 0,
- locked: n,
- passwordRequired: void 0
+ })), e.on(ht.PRIVATE_MESSAGE_RECEIVED, ((e, n, a) => {
+ qae(t, {
+ id: e,
+ message: n,
+ privateMessage: !0,
+ timestamp: a
})
- }(e, t);
- case VI:
- return Le(e, "subject", t.subject);
- case WI:
- return Le(e, "conferenceTimestamp", t.conferenceTimestamp);
- case HI:
- case KI:
- return function(e, {
- conference: t,
- type: n
- }) {
- const a = yoe({}, e);
- for (const n in e)
- if (e[n] === t) switch (a[n] = void 0, n) {
- case "conference":
- case "passwordRequired":
- delete a.locked, delete a.password
+ })), e.on(ht.ENDPOINT_MESSAGE_RECEIVED, (function() {
+ if (OZ(t.getState())) {
+ for (var e = arguments.length, n = new Array(e), a = 0; a < e; a++) n[a] = arguments[a];
+ if (t.dispatch(Ra(...n)), n && n.length >= 2) {
+ const [{
+ _id: e
+ }, a] = n;
+ a.name === EZ && (t.dispatch(V6(a.reactions)), qae(t, {
+ id: e,
+ message: jZ(a.reactions),
+ privateMessage: !1,
+ timestamp: a.timestamp
+ }, !1, !0))
}
- return n === KI && (t !== e.joining && t !== e.conference || (a.leaving = t)), a
- }(e, t);
- case GI:
- return function(e, {
- conference: t
- }) {
- return Ne(e, {
- error: void 0,
- joining: t
- })
- }(e, t);
- case PI:
- return Le(e, "authRequired", void 0);
- case ZI:
- return function(e, {
- conference: t,
- locked: n
- }) {
- return e.conference !== t ? e : Ne(e, {
- locked: n ? e.locked || m8 : void 0,
- password: n ? e.password : void 0
- })
- }(e, t);
- case QI:
- return function(e, t) {
- return Le(e, "p2p", t.p2p)
- }(e, t);
- case eN:
- return Le(e, "followMeEnabled", t.enabled);
- case DI:
- return Le(e, "room", void 0);
- case tN:
- return function(e, {
- conference: t,
- method: n,
- password: a
- }) {
- switch (n) {
- case t.join:
- return Ne(e, {
- joining: e.conference ? e.joining : t,
- locked: m8,
- password: a
- });
- case t.lock:
- return Ne(e, {
- locked: a ? h8 : void 0,
- password: a
- })
}
- return e
- }(e, t);
- case aN:
- return Le(e, "pendingSubjectChange", t.subject);
- case rN:
- return function(e, t) {
- let {
- room: n
- } = t;
- return wI(n) || (n = void 0), Ne(e, {
- error: void 0,
- room: n
- })
- }(e, t);
- case iN:
- return yoe({}, e, {
- startAudioMutedPolicy: t.startAudioMutedPolicy,
- startVideoMutedPolicy: t.startVideoMutedPolicy
- })
+ })), e.on(ht.CONFERENCE_ERROR, ((e, n) => {
+ e === pt.CHAT_ERROR && function(e, t) {
+ let {
+ dispatch: n
+ } = e;
+ n(ZH({
+ hasRead: !0,
+ messageType: VV,
+ message: t,
+ privateMessage: !1,
+ timestamp: Date.now()
+ }))
+ }(t, n)
+ })))
+ }(n.conference, e);
+ break;
+ case GH:
+ s = 0, "undefined" != typeof APP && APP.API.notifyChatUpdated(s, !0);
+ break;
+ case YH: {
+ const e = r()["features/chat"].isPollsTabFocused;
+ s = 0, "undefined" != typeof APP && APP.API.notifyChatUpdated(s, !1), e && a(IV());
+ break
}
- return e
- }));
- const Soe = {},
- Eoe = {
- analytics: {},
- disableAudioLevels: !0,
- p2p: {
- disabledCodec: "",
- disableH264: !1,
- preferredCodec: "H264",
- preferH264: !0
- }
- },
- xoe = {
- hideConferenceTimer: ["conference-timer"],
- hideConferenceSubject: ["subject"],
- hideParticipantsStats: ["participants-count"],
- hideRecordingLabel: ["recording", "local-recording"]
- };
-
- function Coe() {
- return "ReactNative" === navigator.product ? Eoe : Soe
- }
-
- function Aoe(e) {
- return e.connection || e.connecting
- }
- nt.register("features/base/config", ((e = Coe(), t) => {
- switch (t.type) {
- case Ln:
- return function(e, {
- config: t
- }) {
- const n = k().merge({}, e, t);
- return Re(e, n) ? e : n
- }(e, t);
- case Nn:
- return {
- error: void 0, locationURL: t.locationURL
- };
- case zn:
- if (e.locationURL === t.locationURL) return {
- error: t.error
- };
- break;
- case Rn:
- return function(e, {
- config: t
- }) {
- t = function(e) {
- const t = e;
- !Array.isArray(e.toolbarButtons) && "object" == typeof interfaceConfig && Array.isArray(interfaceConfig.TOOLBAR_BUTTONS) && (t.toolbarButtons = interfaceConfig.TOOLBAR_BUTTONS), e.toolbarConfig || (e.toolbarConfig = {}), "boolean" != typeof e.toolbarConfig.alwaysVisible && "object" == typeof interfaceConfig && "boolean" == typeof interfaceConfig.TOOLBAR_ALWAYS_VISIBLE && (t.toolbarConfig.alwaysVisible = interfaceConfig.TOOLBAR_ALWAYS_VISIBLE), "number" != typeof e.toolbarConfig.initialTimeout && "object" == typeof interfaceConfig && "number" == typeof interfaceConfig.INITIAL_TOOLBAR_TIMEOUT && (t.toolbarConfig.initialTimeout = interfaceConfig.INITIAL_TOOLBAR_TIMEOUT), "number" != typeof e.toolbarConfig.timeout && "object" == typeof interfaceConfig && "number" == typeof interfaceConfig.TOOLBAR_TIMEOUT && (t.toolbarConfig.timeout = interfaceConfig.TOOLBAR_TIMEOUT);
- const n = Object.keys(xoe).filter((t => e[t]));
- var a, r, i, o;
- return n.length && (t.conferenceInfo = function(e) {
- const {
- conferenceInfo: t
- } = e;
- var n, a;
- return t ? {
- alwaysVisible: null !== (n = t.alwaysVisible) && void 0 !== n ? n : [...Xre.alwaysVisible],
- autoHide: null !== (a = t.autoHide) && void 0 !== a ? a : [...Xre.autoHide]
- } : _oe({}, Xre)
- }(e), n.forEach((e => {
- "hideRecordingLabel" === e ? (t.conferenceInfo.alwaysVisible = t.conferenceInfo.alwaysVisible.filter((t => !xoe[e].includes(t))), t.conferenceInfo.autoHide = k().union(t.conferenceInfo.autoHide, xoe[e])) : (t.conferenceInfo.alwaysVisible = t.conferenceInfo.alwaysVisible.filter((t => !xoe[e].includes(t))), t.conferenceInfo.autoHide = t.conferenceInfo.autoHide.filter((t => !xoe[e].includes(t))))
- }))), !e.connectionIndicators && "object" == typeof interfaceConfig && (interfaceConfig.hasOwnProperty("CONNECTION_INDICATOR_DISABLED") || interfaceConfig.hasOwnProperty("CONNECTION_INDICATOR_AUTO_HIDE_ENABLED") || interfaceConfig.hasOwnProperty("CONNECTION_INDICATOR_AUTO_HIDE_TIMEOUT")) && (t.connectionIndicators = {
- disabled: interfaceConfig.CONNECTION_INDICATOR_DISABLED,
- autoHide: interfaceConfig.CONNECTION_INDICATOR_AUTO_HIDE_ENABLED,
- autoHideTimeout: interfaceConfig.CONNECTION_INDICATOR_AUTO_HIDE_TIMEOUT
- }), t.disabledSounds = t.disabledSounds || [], e.disableJoinLeaveSounds && t.disabledSounds.unshift("PARTICIPANT_LEFT_SOUND", "PARTICIPANT_JOINED_SOUND"), e.disableRecordAudioNotification && t.disabledSounds.unshift("RECORDING_ON_SOUND", "RECORDING_OFF_SOUND", "LIVE_STREAMING_ON_SOUND", "LIVE_STREAMING_OFF_SOUND"), e.disableIncomingMessageSound && t.disabledSounds.unshift("INCOMING_MSG_SOUND"), (e.stereo || e.opusMaxAverageBitrate) && (t.audioQuality = {
- opusMaxAverageBitrate: null !== (a = null === (r = e.audioQuality) || void 0 === r ? void 0 : r.opusMaxAverageBitrate) && void 0 !== a ? a : e.opusMaxAverageBitrate,
- stereo: null !== (i = null === (o = e.audioQuality) || void 0 === o ? void 0 : o.stereo) && void 0 !== i ? i : e.stereo
- }), void 0 === e.disableModeratorIndicator && "object" == typeof interfaceConfig && interfaceConfig.hasOwnProperty("DISABLE_FOCUS_INDICATOR") && (t.disableModeratorIndicator = interfaceConfig.DISABLE_FOCUS_INDICATOR), t
- }(t);
+ case JH:
+ a(IV());
+ break;
+ case KH: {
+ const t = e.getState(),
+ {
+ conference: r
+ } = t["features/base/conference"];
+ if (r) {
+ const i = function(e, t) {
+ if (t.ignorePrivacy) return;
const {
- audioQuality: n
- } = t, a = {};
- (null == n ? void 0 : n.stereo) && Object.assign(a, {
- disableAP: !0,
- enableNoAudioDetection: !1,
- enableNoisyMicDetection: !1,
- enableTalkWhileMuted: !1
- });
- const r = k().merge({}, t, a, {
- error: void 0
- }, Coe());
- return Re(e, r) ? e : r
- }(e, t);
- case Fn:
- return _oe({}, e, t.config)
- }
- return e
- })), nt.register("features/base/connection", ((e = {}, t) => {
- switch (t.type) {
- case CI:
- return function(e, {
- connection: t
- }) {
- return Aoe(e) !== t ? e : Ne(e, {
- connecting: void 0,
- connection: void 0,
- timeEstablished: void 0
- })
- }(e, t);
- case AI:
- return function(e, {
- connection: t,
- timeEstablished: n
- }) {
- return Ne(e, {
- connecting: void 0,
- connection: t,
- error: void 0,
- passwordRequired: void 0,
- timeEstablished: n
- })
- }(e, t);
- case jI:
- return function(e, {
- connection: t,
- error: n
- }) {
- const a = Aoe(e);
- return a && a !== t ? e : Ne(e, {
- connecting: void 0,
- connection: void 0,
- error: n,
- passwordRequired: n.name === yt.PASSWORD_REQUIRED ? t : void 0
- })
- }(e, t);
- case PI:
- return function(e, {
- connection: t
- }) {
- return Ne(e, {
- connecting: t,
- connection: void 0,
- error: void 0,
- passwordRequired: void 0,
- timeEstablished: void 0
- })
- }(e, t);
- case DI:
- return function(e, {
- locationURL: t
- }) {
- return Le(e, "locationURL", t)
- }(e, t);
- case rN:
- return function(e) {
- return Ne(e, {
- error: void 0,
- passwordRequired: void 0
- })
- }(e);
- case TI:
- return function(e, {
- showConnectionInfo: t
- }) {
- return Le(e, "showConnectionInfo", t)
- }(e, t)
- }
- return e
- })), nt.register("features/base/dialog", ((e = {}, t) => {
- switch (t.type) {
- case Xj: {
- const {
- component: n
- } = t;
- if (void 0 === n || e.component === n) return Ne(e, {
- component: void 0,
- componentProps: void 0,
- rawDialog: !1
- });
- break
+ messages: n,
+ privateMessageRecipient: a
+ } = e["features/chat"];
+ if (a) return;
+ if (!n.length) return;
+ const r = "ReactNative" === navigator.product ? n[0] : n[n.length - 1];
+ if (r.messageType === WV) return;
+ if (r.privateMessage) return r.id;
+ const i = Date.now(),
+ o = n.filter((e => e.messageType !== WV && e.privateMessage && e.timestamp + 2e4 > i)),
+ s = "ReactNative" === navigator.product ? o[0] : o[o.length - 1];
+ return s ? s.id : void 0
+ }(t, n);
+ if (i) a(VI(qW, {
+ message: n.message,
+ participantID: i
+ }));
+ else {
+ const {
+ privateMessageRecipient: a
+ } = t["features/chat"];
+ "undefined" != typeof APP && APP.API.notifySendingChatMessage(n.message, Boolean(a)), a ? (r.sendPrivateTextMessage(a.id, n.message), function(e, t, n) {
+ let {
+ dispatch: a,
+ getState: r
+ } = e;
+ const i = Uh(r);
+ a(ZH({
+ displayName: Kh(r, i.id),
+ hasRead: !0,
+ id: i.id,
+ messageType: WV,
+ message: n,
+ privateMessage: !0,
+ recipient: Kh(r, t),
+ timestamp: Date.now()
+ }))
+ }(e, a.id, n.message)) : r.sendTextMessage(n.message)
+ }
}
- case eP:
- return Ne(e, {
- component: t.component,
- componentProps: t.componentProps,
- rawDialog: t.rawDialog
- })
- }
- return e
- }));
- const joe = {};
-
- function Poe(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
- }
- nt.register("features/base/flags", ((e = joe, t) => {
- if ("UPDATE_FLAGS" === t.type) {
- const n = k().merge({}, e, t.flags);
- return k().isEqual(e, n) ? e : n
+ break
}
- return e
- })), nt.register("features/base/jwt", ((e = {}, t) => {
- if (t.type === jz) {
+ case z6:
+ qae(e, {
+ id: i.id,
+ message: n.message,
+ privateMessage: !1,
+ timestamp: Date.now()
+ }, !1, !0)
+ }
+ return t(n)
+ })), tt.register((e => vF(e)), ((e, t, n) => {
+ let {
+ dispatch: a,
+ getState: r
+ } = t;
+ e !== n && (r()["features/chat"].isOpen && a(QH()), a({
+ type: WH
+ }))
+ })), tt.register((e => e["features/chat"].isOpen), ((e, t) => {
+ let {
+ dispatch: n
+ } = t;
+ "undefined" != typeof APP && e && n(xI())
+ })), qe.register((e => t => n => {
+ const a = t(n);
+ switch (n.type) {
+ case HF:
+ case D3: {
const {
- type: n
- } = t, a = function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Poe(e, t, n[t])
- }))
- }
- return e
- }({}, function(e, t) {
- if (null == e) return {};
- var n, a, r = function(e, t) {
- if (null == e) return {};
- var n, a, r = {},
- i = Object.keys(e);
- for (a = 0; a < i.length; a++) n = i[a], t.indexOf(n) >= 0 || (r[n] = e[n]);
- return r
- }(e, t);
- if (Object.getOwnPropertySymbols) {
- var i = Object.getOwnPropertySymbols(e);
- for (a = 0; a < i.length; a++) n = i[a], t.indexOf(n) >= 0 || Object.prototype.propertyIsEnumerable.call(e, n) && (r[n] = e[n])
- }
- return r
- }(t, ["type"]));
- return Re(e, a) ? e : a
+ dispatch: t,
+ getState: n
+ } = e, a = n(), {
+ reducedUI: r
+ } = a["features/base/responsive-ui"];
+ t(_I(!r)), t({
+ type: _S,
+ enabled: !r
+ });
+ break
}
- return e
- }));
- const Doe = ["alpha.jitsi.net", "beta.meet.jit.si", "meet.jit.si", "8x8.vc"],
- Toe = "features/base/known-domains";
-
- function Ooe(e, t) {
- let n = Array.isArray(e) ? e : [];
- if (Array.isArray(t)) {
- n = Array.from(e);
- for (let e of t) e = e.toLowerCase(), !n.includes(e) && n.push(e)
+ case ZF: {
+ const {
+ dispatch: t
+ } = e;
+ t((r = n.participant, (e, t) => {
+ if (!r || r.isReplaced && r.isReplaced()) return;
+ const n = {
+ participantDisplayName: Kh(t, r.getId())
+ };
+ e(tg({
+ appearance: Gf,
+ hideErrorSupportLink: !0,
+ descriptionKey: "dialog.kickMessage",
+ descriptionArguments: n,
+ titleKey: "dialog.kickTitle",
+ titleArguments: n
+ }, Yf.STICKY))
+ }));
+ break
}
- return n
}
-
- function Moe(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ var r;
+ return a
+ })), tt.register((e => vF(e)), ((e, t, n) => {
+ let {
+ dispatch: a,
+ getState: r
+ } = t;
+ const {
+ authRequired: i,
+ membersOnly: o,
+ passwordRequired: s
+ } = r()["features/base/conference"];
+ e !== n && (a(uS(null)), void 0 !== i || void 0 !== s || void 0 !== o || BI(r(), F1) || a(HI()))
+ })), qe.register((e => e => t => (t.type === HF && w3.startListeningForStats(t.conference), e(t))));
+ const Bae = "OPEN_DESKTOP_APP", Uae = "OPEN_WEB_APP";
+
+ function Hae() {
+ return e => {
+ e({
+ type: Uae
+ }), e(tB())
}
-
- function Ioe(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Noe(e, t, n[t])
- }))
- }
- return e
+ }
+ const Vae = "deepLinking"; class Wae extends x.Component {
+ constructor(e) {
+ super(e), this._onLaunchWeb = this._onLaunchWeb.bind(this), this._onTryAgain = this._onTryAgain.bind(this)
}
-
- function Noe(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ componentDidMount() {
+ Da(Gt("displayed", "DeepLinkingDesktop", {
+ isMobileBrowser: !1
+ }))
}
- et.register(Toe), nt.register(Toe, ((e = Doe, t) => {
- switch (t.type) {
- case yn:
- return Ooe(e, t.knownDomains);
- case Ya:
- return Ooe(e, Doe);
- default:
- return e
- }
- })), nt.register("features/base/lastn", ((e = {}, t) => {
- switch (t.type) {
- case Rn:
- return function(e, {
- config: t
- }) {
- return Le(e, "lastNLimits", function(e) {
- if ("object" != typeof e || !Object.keys(e).length || Object.keys(e).find((t => null === t || isNaN(Number(t)) || null === e[t] || isNaN(Number(e[t]))))) return;
- const t = new Map,
- n = Object.keys(e).map((e => Number(e))).sort(((e, t) => e - t));
- for (const a of n) t.set(a, Number(e[a]));
- return t
- }(t.lastNLimits))
- }(e, t);
- case O8: {
- const {
- lastN: n
- } = t;
- return function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Moe(e, t, n[t])
- }))
- }
- return e
- }({}, e, {
- lastN: n
- })
- }
- }
- return e
- }));
- const zoe = {};
+ render() {
+ const {
+ t: e
+ } = this.props, {
+ HIDE_DEEP_LINKING_LOGO: t,
+ NATIVE_APP_NAME: n,
+ SHOW_DEEP_LINKING_IMAGE: a
+ } = interfaceConfig, r = a ? null : {
+ width: "100%"
+ };
+ return C().createElement(_v, {
+ mode: "light"
+ }, C().createElement("div", {
+ className: "deep-linking-desktop"
+ }, C().createElement("div", {
+ className: "header"
+ }, t ? null : C().createElement("img", {
+ alt: e("welcomepage.logo.logoDeepLinking"),
+ className: "logo",
+ src: "images/logo-deep-linking.png"
+ })), C().createElement("div", {
+ className: "content"
+ }, a ? C().createElement("div", {
+ className: "leftColumn"
+ }, C().createElement("div", {
+ className: "leftColumnContent"
+ }, C().createElement("div", {
+ className: "image"
+ }))) : null, C().createElement("div", {
+ className: "rightColumn",
+ style: r
+ }, C().createElement("div", {
+ className: "rightColumnContent"
+ }, C().createElement("h1", {
+ className: "title"
+ }, e(`${Vae}.title`, {
+ app: n
+ })), C().createElement("p", {
+ className: "description"
+ }, e(`${Vae}.${pY()?"description":"descriptionWithoutWeb"}`, {
+ app: n
+ })), C().createElement("div", {
+ className: "buttons"
+ }, C().createElement(JI, null, C().createElement(DC, {
+ appearance: "default",
+ onClick: this._onTryAgain
+ }, e(`${Vae}.tryAgainButton`)), pY() && C().createElement(DC, {
+ onClick: this._onLaunchWeb
+ }, e(`${Vae}.launchWebButton`)))))))))
+ }
+ _onTryAgain() {
+ Da(Gt("clicked", "tryAgainButton", {
+ isMobileBrowser: !1
+ })), this.props.dispatch({
+ type: Bae
+ })
+ }
+ _onLaunchWeb() {
+ Da(Gt("clicked", "launchWebButton", {
+ isMobileBrowser: !1
+ })), this.props.dispatch(Hae())
+ }
+ }
+ const Yae = Ei(Ne()(Wae));
- function Roe(e) {
+ function Gae() {
+ return Gae = Object.assign || function(e) {
for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Loe(e, t, n[t])
- }))
+ var n = arguments[t];
+ for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
}
return e
+ }, Gae.apply(this, arguments)
+ }
+ const Kae = "deep-linking-mobile"; class $ae extends x.Component {
+ constructor(e) {
+ super(e), this._onDownloadApp = this._onDownloadApp.bind(this), this._onLaunchWeb = this._onLaunchWeb.bind(this), this._onOpenApp = this._onOpenApp.bind(this)
}
-
- function Loe(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ componentDidMount() {
+ Da(Gt("displayed", "DeepLinkingMobile", {
+ isMobileBrowser: !0
+ }))
}
- nt.register("features/base/lib-jitsi-meet", ((e = zoe, t) => {
- switch (t.type) {
- case f:
- return zoe;
- case g:
- return Ioe({}, e, {
- initError: void 0,
- initialized: !0
- });
- case b:
- return Ioe({}, e, {
- initError: t.error,
- initialized: !1
- });
- default:
- return e
- }
- }));
- const Foe = n(5939),
- qoe = {
- config: Foe,
- logCollector: void 0
- };
- if ("ReactNative" === navigator.product) {
- const e = {
- "modules/sdp/SDPUtil.js": "info",
- "modules/xmpp/ChatRoom.js": "warn",
- "modules/xmpp/JingleSessionPC.js": "info",
- "modules/xmpp/strophe.jingle.js": "info"
+ render() {
+ const {
+ _downloadUrl: e,
+ _room: t,
+ t: n
+ } = this.props, {
+ HIDE_DEEP_LINKING_LOGO: a,
+ NATIVE_APP_NAME: r,
+ SHOW_DEEP_LINKING_IMAGE: i
+ } = interfaceConfig, o = `${Kae}__button ${Kae}__button_primary`, s = e ? {} : {
+ target: "_blank",
+ rel: "noopener noreferrer"
};
- qoe.config = Roe({}, Foe, e)
+ return C().createElement("div", {
+ className: Kae
+ }, C().createElement("div", {
+ className: "header"
+ }, a ? null : C().createElement("img", {
+ alt: n("welcomepage.logo.logoDeepLinking"),
+ className: "logo",
+ src: "images/logo-deep-linking.png"
+ })), C().createElement("div", {
+ className: `${Kae}__body`
+ }, i ? C().createElement("img", {
+ alt: n("welcomepage.logo.logoDeepLinking"),
+ className: "image",
+ src: "images/deep-linking-image.png"
+ }) : null, C().createElement("p", {
+ className: `${Kae}__text`
+ }, n(`${Vae}.appNotInstalled`, {
+ app: r
+ })), C().createElement("p", {
+ className: `${Kae}__text`
+ }, n(`${Vae}.ifHaveApp`)), C().createElement("a", Gae({}, s, {
+ className: `${Kae}__href`,
+ href: Xae(),
+ onClick: this._onOpenApp,
+ target: "_top"
+ }), C().createElement("button", {
+ className: `${Kae}__button ${Kae}__button_primary`
+ }, n(`${Vae}.joinInApp`))), C().createElement("p", {
+ className: `${Kae}__text`
+ }, n(`${Vae}.ifDoNotHaveApp`)), C().createElement("a", Gae({}, s, {
+ href: this._generateDownloadURL(),
+ onClick: this._onDownloadApp,
+ target: "_top"
+ }), C().createElement("button", {
+ className: o
+ }, n(`${Vae}.downloadApp`))), hY() ? C().createElement("a", {
+ onClick: this._onLaunchWeb,
+ target: "_top"
+ }, C().createElement("button", {
+ className: o
+ }, n(`${Vae}.launchWebButton`))) : C().createElement("b", null, n(`${Vae}.unsupportedBrowser`)), null, C().createElement(F$, {
+ className: "deep-linking-dial-in",
+ clickableNumbers: !0,
+ room: t
+ })))
}
-
- function Boe(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ _generateDownloadURL() {
+ const {
+ _downloadUrl: e
+ } = this.props;
+ if (e && void 0 === interfaceConfig.MOBILE_DYNAMIC_LINK) return e;
+ const {
+ APN: t = "org.jitsi.meet",
+ APP_CODE: n = "w2atb",
+ CUSTOM_DOMAIN: a,
+ IBI: r = "com.atlassian.JitsiMeet.ios",
+ ISI: i = "1165103905"
+ } = interfaceConfig.MOBILE_DYNAMIC_LINK || {}, o = null != a ? a : `https://${n}.app.goo.gl`, s = interfaceConfig.APP_SCHEME || "org.jitsi.meet";
+ return `${o}/?link=${encodeURIComponent(window.location.href)}&apn=${t}&ibi=${r}&isi=${i}&ius=${s}&efr=1`
+ }
+ _onDownloadApp() {
+ Da(Gt("clicked", "downloadAppButton", {
+ isMobileBrowser: !0
+ }))
}
- nt.register("features/base/logging", ((e = qoe, t) => {
- switch (t.type) {
- case Ite:
- return function(e, t) {
- const n = Roe({}, qoe.config, t.config);
- return Re(e.config, n) ? e : Roe({}, e, {
- config: n
- })
- }(e, t);
- case Mte:
- return function(e, t) {
- return Le(e, "logCollector", t.logCollector)
- }(e, t);
- default:
- return e
- }
- })), nt.register("features/base/modal", ((e = {}, t) => t.type === hne ? function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Boe(e, t, n[t])
- }))
- }
- return e
- }({}, e, {
- activeModalId: t.activeModalId,
- modalProps: t.modalProps
- }) : e));
- const Uoe = {
- isOnline: !0
- };
+ _onLaunchWeb() {
+ Da(Gt("clicked", "launchWebButton", {
+ isMobileBrowser: !0
+ })), this.props.dispatch(Hae())
+ }
+ _onOpenApp() {
+ Da(Gt("clicked", "openAppButton", {
+ isMobileBrowser: !0
+ }))
+ }
+ }
+ const Jae = Ei(Ne((function(e) {
+ return {
+ _downloadUrl: interfaceConfig[`MOBILE_DOWNLOAD_LINK_${ya.OS.toUpperCase()}`],
+ _room: decodeURIComponent(e["features/base/conference"].room)
+ }
+ }))($ae)); class Zae extends x.Component {
+ componentDidMount() {
+ Da(Gt("displayed", "noMobileApp", {
+ isMobileBrowser: !0
+ }))
+ }
+ render() {
+ const e = "no-mobile-app";
+ return C().createElement("div", {
+ className: e
+ }, C().createElement("h2", {
+ className: `${e}__title`
+ }, "Video chat isn't available on mobile."), C().createElement("p", {
+ className: `${e}__description`
+ }, "Please use ", interfaceConfig.NATIVE_APP_NAME, " on desktop to join calls."))
+ }
+ }
- function Hoe(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Voe(e, t, n[t])
- }))
+ function Qae(e) {
+ return Promise.resolve(!1)
+ }
+
+ function Xae() {
+ const e = interfaceConfig.APP_SCHEME || "org.jitsi.meet",
+ {
+ href: t
+ } = window.location,
+ n = new RegExp(_n, "gi");
+ return "android" === ya.OS ? `intent://${t.replace(n,"").substr(2)}#Intent;scheme=${e};package=${interfaceConfig.ANDROID_APP_PACKAGE||"org.jitsi.meet"};end` : t.replace(n, `${e}:`)
+ }
+ qe.register((e => t => n => (n.type === Bae && (e.getState(), Qae()), t(n)))), qe.register((e => t => n => {
+ const a = t(n);
+ if (n.type === IM) {
+ const t = e.getState(),
+ {
+ availableDevices: n
+ } = t["features/base/devices"] || {};
+ "undefined" != typeof APP && APP.API.notifyDeviceListChanged(n)
+ }
+ return a
+ })), qe.register((e => {
+ let {
+ dispatch: t,
+ getState: n
+ } = e;
+ return e => a => (a.type === pn && a.settings.displayName && BI(n, i1) && t(HI(i1)), e(a))
+ })), qe.register((e => {
+ let {
+ dispatch: t,
+ getState: n
+ } = e;
+ return e => t => (t.type === m1 && "undefined" != typeof APP && APP.UI.emitEvent(rX.ETHERPAD_CLICKED), e(t))
+ })), tt.register((e => vF(e)), ((e, t, n) => {
+ let {
+ dispatch: a,
+ getState: r
+ } = t;
+ e && e.addCommandListener("etherpad", (e => {
+ let t, {
+ value: n
+ } = e;
+ const {
+ etherpad_base: i
+ } = r()["features/base/config"];
+ i && (t = new URL(n, i).toString()), a(g1(t))
+ })), n && a(g1(void 0))
+ })), tt.register((e => e["features/video-layout"].remoteScreenShares), ((e, t) => FS(t))), tt.register((e => e["features/base/participants"].dominantSpeaker), ((e, t) => FS(t))), tt.register((e => ({
+ numberOfParticipants: Gh(e),
+ disableSelfView: e["features/base/settings"].disableSelfView
+ })), ((e, t) => {
+ const n = t.getState();
+ if (QS(n)) {
+ const e = ZS(n);
+ Re(e, n["features/filmstrip"].tileViewDimensions.gridDimensions) || t.dispatch(NS(e))
+ }
+ }), {
+ deepEquals: !0
+ }), tt.register((e => JS(e)), ((e, t) => {
+ const n = t.getState();
+ switch (e) {
+ case GS:
+ t.dispatch(NS(ZS(n)));
+ break;
+ case YS:
+ t.dispatch(zS());
+ break;
+ case KS:
+ t.dispatch(RS())
+ }
+ })), tt.register((e => e["features/chat"].isOpen), ((e, t) => {
+ const {
+ innerWidth: n,
+ innerHeight: a
+ } = window;
+ e ? document.body.classList.add("shift-right") : document.body.classList.remove("shift-right"), t.dispatch(j3(n, a))
+ })), tt.register(Om, ((e, t) => {
+ const {
+ innerWidth: n,
+ innerHeight: a
+ } = window;
+ t.dispatch(j3(n, a))
+ })), tt.register((e => e["features/base/responsive-ui"].clientWidth < 512), ((e, t) => {
+ va() && t.dispatch({
+ type: wM,
+ displayAsDrawer: e
+ })
+ })), tt.register((e => e["features/base/responsive-ui"].clientWidth < gS), ((e, t) => {
+ const n = t.getState(),
+ {
+ disableFilmstripAutohiding: a
+ } = n["features/base/config"];
+ a || t.dispatch(MS(!e))
+ }));
+ const ere = {
+ multipleColumns: Symbol("multipleColumns"),
+ singleColumn: Symbol("singleColumn"),
+ twoColumns: Symbol("twoColumns"),
+ twoParticipantsSingleColumn: Symbol("twoParticipantsSingleColumn")
+ }; tt.register((e => {
+ const {
+ clientWidth: t
+ } = e["features/base/responsive-ui"];
+ return t < 1e3 && t >= gS ? ere.twoColumns : t < gS && t >= 300 ? ere.twoParticipantsSingleColumn : t < 300 ? ere.singleColumn : ere.multipleColumns
+ }), ((e, t) => {
+ const n = t.getState();
+ if (QS(n)) {
+ const e = ZS(n);
+ t.dispatch(NS(e))
+ }
+ })), qe.register((e => t => n => {
+ var a;
+ n.type === Uw && function(e) {
+ let t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null;
+ if (!t) return;
+ const n = e.getState(),
+ {
+ remoteParticipants: a
+ } = n["features/filmstrip"],
+ r = new Set(a);
+ r.delete(t) && e.dispatch(IS(Array.from(r)))
+ }(e, null === (a = n.participant) || void 0 === a ? void 0 : a.id);
+ const r = t(n);
+ switch (n.type) {
+ case A3: {
+ const t = e.getState();
+ switch (JS(t)) {
+ case GS: {
+ const {
+ gridDimensions: n
+ } = t["features/filmstrip"].tileViewDimensions;
+ e.dispatch(NS(n));
+ break
+ }
+ case YS:
+ e.dispatch(zS());
+ break;
+ case KS:
+ e.dispatch(RS())
+ }
+ break
}
- return e
+ case qw:
+ var i;
+ FS(e, null === (i = n.participant) || void 0 === i ? void 0 : i.id);
+ break;
+ case pn:
+ var o;
+ "boolean" == typeof(null === (o = n.settings) || void 0 === o ? void 0 : o.localFlipX) && X9.onLocalFlipXChanged()
}
+ return r
+ }));
+ const tre = "SET_FOLLOW_ME_MODERATOR", nre = "SET_FOLLOW_ME_STATE";
- function Voe(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ function are(e) {
+ return {
+ type: tre,
+ id: e
}
- nt.register(h, ((e = Uoe, t) => {
- switch (t.type) {
- case _te:
- return Ne(e, {
- isOnline: t.isOnline,
- networkType: t.networkType,
- cellularGeneration: t.cellularGeneration,
- details: t.details
- });
- case wte:
- return Ne(e, {
- _cleanup: t.cleanup
- });
- default:
- return e
- }
- }));
- const Woe = ["conference", "id", "local", "dominantSpeaker", "pinned"],
- Yoe = {
- dominantSpeaker: void 0,
- everyoneIsModerator: !1,
- fakeParticipants: new Map,
- haveParticipantWithScreenSharingFeature: !1,
- local: void 0,
- pinnedParticipant: void 0,
- raisedHandsQueue: [],
- remote: new Map,
- sortedRemoteParticipants: new Map,
- sortedRemoteScreenshares: new Map,
- speakersList: new Map
- };
+ }
- function Goe(e) {
- var t;
- return null !== (t = e) && void 0 !== t ? t : "object" == typeof interfaceConfig ? interfaceConfig.DEFAULT_REMOTE_DISPLAY_NAME : "Fellow Jitser"
+ function rre(e) {
+ return {
+ type: nre,
+ state: e
}
+ }
+ const ire = "follow-me", ore = $e("features/follow-me");
- function Koe(e) {
- if (Gh(e.local)) {
- for (const [t, n] of e.remote)
- if (!Gh(n)) return !1;
- return !0
- }
- return !1
+ function sre(e) {
+ const t = Zh(e);
+ return {
+ filmstripVisible: e["features/filmstrip"].visible,
+ nextOnStage: t && t.id,
+ sharedDocumentVisible: e["features/etherpad"].editing,
+ tileViewEnabled: QS(e)
}
+ }
- function $oe(e = {}, t) {
- switch (t.type) {
- case Gv:
- case Hv: {
+ function lre(e, t) {
+ const n = t.getState(),
+ a = vF(n);
+ a && tm(n) && ("off" !== e ? n["features/base/conference"].followMeEnabled && a.sendCommand(ire, {
+ attributes: sre(n)
+ }) : a.sendCommandOnce(ire, {
+ attributes: {
+ off: !0
+ }
+ }))
+ }
+ tt.register((e => e["features/base/conference"].followMeEnabled), ((e, t) => lre(e || "off", t))), tt.register((e => {
+ const t = Zh(e);
+ return t ? t.id : null
+ }), lre), tt.register((e => e["features/etherpad"].editing), lre), tt.register((e => e["features/filmstrip"].visible), lre), tt.register((e => e["features/video-layout"].tileViewEnabled), lre);
+ let cre, ure = 0;
+
+ function dre(e, t) {
+ Vh(e.getState(), t) ? (clearTimeout(cre), ure = 0, e.dispatch(uS(t))) : cre = setTimeout((() => {
+ ure > 30 ? ure = 0 : (ure++, dre(e, t))
+ }), 1e3)
+ }
+ qe.register((e => t => n => {
+ switch (n.type) {
+ case KF: {
+ const {
+ conference: t
+ } = n;
+ t.addCommandListener(ire, ((t, n) => {
+ let {
+ attributes: a
+ } = t;
+ ! function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = arguments.length > 1 ? arguments[1] : void 0,
+ n = arguments.length > 2 ? arguments[2] : void 0;
+ const a = n.getState();
+ if (void 0 === t) return;
+ const r = Vh(a, t);
+ if (r.local) return;
+ if ("moderator" !== r.role) return void ore.warn("Received follow-me command not from moderator");
+ if (bZ(a) || n.dispatch(are(t)), e.off) return void n.dispatch(are());
+ const i = a["features/follow-me"].state || {};
+ if (n.dispatch(rre(e)), i.filmstripVisible !== e.filmstripVisible && n.dispatch(MS("true" === e.filmstripVisible)), i.tileViewEnabled !== e.tileViewEnabled && n.dispatch(tE("true" === e.tileViewEnabled)), "undefined" != typeof APP && i.sharedDocumentVisible !== e.sharedDocumentVisible) {
+ const t = "true" === e.sharedDocumentVisible,
+ n = APP.UI.getSharedDocumentManager();
+ n && t !== a["features/etherpad"].editing && n.toggleEtherpad()
+ }
+ const o = Zh(a),
+ s = e.nextOnStage;
+ void 0 === s || o && s === o.id || i.nextOnStage === e.nextOnStage ? void 0 === s && o && n.dispatch(uS(null)) : dre(n, s)
+ }(a, n, e)
+ }));
+ break
+ }
+ case Uw:
+ e.getState()["features/follow-me"].moderator === n.participant.id && e.dispatch(are())
+ }
+ return t(n)
+ }));
+ const pre = new Map([
+ [EU, {
+ file: "rejected.wav"
+ }],
+ [xU, {
+ file: "rejected.wav"
+ }],
+ [CU, {
+ file: "outgoingRinging.wav",
+ options: {
+ loop: !0
+ }
+ }],
+ [AU, {
+ file: "outgoingStart.wav"
+ }]
+ ]), hre = {
+ [YW]: AU,
+ [KW]: Oh,
+ [JW]: EU,
+ [WW]: AU,
+ [$W]: xU,
+ [GW]: CU
+ }; qe.register((e => t => n => {
+ let a;
+ const {
+ dispatch: r,
+ getState: i
+ } = e, o = i();
+ n.type !== Hw && n.type !== Uw || (a = $h(o, n.participant.id)), n.type === BY && (n.calleeInfoVisible ? r(uS(Uh(o).id)) : r(uS()));
+ const s = t(n);
+ switch (n.type) {
+ case Va:
+ for (const [e, t] of pre.entries()) r(Oi(e, t.file, t.options));
+ break;
+ case Wa:
+ for (const e of pre.keys()) r(Ri(e));
+ break;
+ case HF:
+ ! function(e) {
const {
- participant: n
- } = t, a = Hoe({}, e);
- for (const e in n) n.hasOwnProperty(e) && -1 === Woe.indexOf(e) && (a[e] = n[e]);
- return a
- }
+ dispatch: t,
+ getState: n
+ } = e;
+ (n()["features/invite"].pendingInviteRequests || []).forEach((e => {
+ let {
+ invitees: n,
+ callback: a
+ } = e;
+ t(YY(n)).then((e => {
+ a(e)
+ }))
+ })), t({
+ type: qY
+ })
+ }(e);
+ break;
+ case qw:
+ case Uw:
+ case Hw: {
+ ! function(e, t) {
+ const n = t.getState();
+ if (!n["features/invite"].calleeInfoVisible) return;
+ const a = Jh(n),
+ r = Yh(n);
+ let i = 0;
+ a.forEach((e => {
+ "poltergeist" === e.botType && i++
+ }));
+ (i > 1 || r - i > 1 || e.type === Uw && 1 === r) && t.dispatch(KY(!1))
+ }(n, e);
+ const t = $h(o, n.participant.id);
+ if (a === t) break;
+ const i = a && hre[a],
+ s = t && hre[t];
+ if (i === s) break;
+ i && r(Ni(i)), s && r(Ii(s));
+ break
}
- return e
- }
-
- function Joe(e, t, n, a) {
- const {
- remote: r,
- local: i
- } = e;
- return r.has(t) ? (r.set(t, Le(r.get(t), n, a)), !0) : (null == i ? void 0 : i.id) === t && (e.local = Le(i, n, a), !0)
+ case HY:
+ PU.error("Error encountered while fetching dial-in numbers:", n.error)
}
-
- function Zoe(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ return s
+ })), qe.register((e => t => n => {
+ switch (n.type) {
+ case FY:
+ return function(e, t, n) {
+ let {
+ dispatch: a
+ } = e;
+ const r = t(n);
+ return a(VI(j$)), r
+ }(e, t, n);
+ case UY:
+ return function(e, t, n) {
+ let {
+ dispatch: a
+ } = e;
+ return a(HI(j$)), t(n)
+ }(e, t, n)
}
- nt.register("features/base/participants", ((e = Yoe, t) => {
- switch (t.type) {
- case Fv: {
- const {
- local: n
+ return t(n)
+ })), qe.register((e => t => async n => {
+ if (n.type === JB) {
+ const {
+ status: t
+ } = n.payload;
+ "BLOCKED" === t && e.dispatch(aB("/static/planLimit.html"))
+ }
+ return t(n)
+ }));
+ const mre = $e("features/large-video"); tt.register((e => e["features/large-video"].participantId), (e => {
+ X9.updateLargeVideo(e, !0)
+ })), qe.register((e => t => n => {
+ const a = t(n);
+ switch (n.type) {
+ case Nw: {
+ const t = e.getState(),
+ a = Uh(t);
+ P9(t) && mre.info(`Dominant speaker changed event for: ${n.participant.id}`), a && a.id !== n.participant.id && e.dispatch(VW());
+ break
+ }
+ case qw:
+ case Uw:
+ case Vw:
+ case m1:
+ case up:
+ case mp:
+ e.dispatch(VW())
+ }
+ return a
+ })), qe.register((e => t => n => {
+ switch (n.type) {
+ case Va:
+ e.dispatch(Oi(S8, "knock.mp3"));
+ break;
+ case Wa:
+ e.dispatch(Ri(S8));
+ break;
+ case UF:
+ return function(e, t, n) {
+ let {
+ dispatch: a,
+ getState: r
} = e;
- return n ? (e.local = Hoe({}, n, {
- id: t.newValue
- }), Hoe({}, e)) : e
- }
- case Nv: {
const {
- participant: n
- } = t, {
- id: a,
- previousSpeakers: r = []
- } = n, {
- dominantSpeaker: i,
- local: o
- } = e, s = [a, ...r], l = [];
- for (const t of s)
- if (t !== (null == o ? void 0 : o.id)) {
- const n = e.remote.get(t);
- n && l.push([t, Goe(n.name)])
- } return l.sort(((e, t) => e[1].localeCompare(t[1]))), i && Joe(e, i, "dominantSpeaker", !1), Joe(e, a, "dominantSpeaker", !0) ? Hoe({}, e, {
- dominantSpeaker: a,
- speakersList: new Map(l)
- }) : (delete e.dominantSpeaker, Hoe({}, e))
- }
- case Vv: {
- const {
- participant: n
- } = t, {
- id: a
- } = n, {
- pinnedParticipant: r
+ error: i
+ } = n, o = r(), {
+ membersOnly: s
+ } = o["features/base/conference"], l = Boolean(s);
+ if (i.name === pt.MEMBERS_ONLY_ERROR) {
+ void 0 === i.recoverable && (i.recoverable = !0);
+ const e = t(n);
+ return a({
+ type: I0,
+ visible: !0
+ }),
+ function(e) {
+ const {
+ iAmRecorder: t,
+ iAmSipGateway: n,
+ autoKnockLobby: a
+ } = e["features/base/config"];
+ return (vH(e) || a || t && n) && !e["features/lobby"].knocking
+ }(o) && a(q0()), l && a(fq(s)), a(F0(l)), e
+ }
+ return a(U0()), i.name === pt.CONFERENCE_ACCESS_DENIED && a(tg({
+ appearance: Gf,
+ hideErrorSupportLink: !0,
+ titleKey: "lobby.joinRejectedMessage"
+ }, Yf.LONG)), t(n)
+ }(e, t, n);
+ case HF:
+ return function(e, t, n) {
+ let {
+ dispatch: a
} = e;
- return r && Joe(e, r, "pinned", !1), Joe(e, a, "pinned", !0) ? Hoe({}, e, {
- pinnedParticipant: a
- }) : (delete e.pinnedParticipant, Hoe({}, e))
- }
- case Gv:
- case Hv: {
- var n;
- const {
- participant: a
- } = t;
+ return a(U0()), t(n)
+ }(e, t, n);
+ case D0: {
+ const a = t(n);
+ return function(e, t) {
let {
- id: r
- } = a;
+ id: n
+ } = t;
const {
- local: i
- } = a;
- let o;
- if (!r && i && (r = jh), e.remote.has(r) ? (o = $oe(e.remote.get(r), t), e.remote.set(r, o)) : r === (null === (n = e.local) || void 0 === n ? void 0 : n.id) && (o = e.local = $oe(e.local, t)), o) {
- const t = Gh(o);
- e.everyoneIsModerator && !t ? e.everyoneIsModerator = !1 : !e.everyoneIsModerator && t && (e.everyoneIsModerator = Koe(e));
- const {
- features: n = {}
- } = a;
- "true" === String(n["screen-sharing"]) && (e.haveParticipantWithScreenSharingFeature = !0)
- }
- return Hoe({}, e)
+ dispatch: a,
+ getState: r
+ } = e, i = r()["features/lobby"].knockingParticipants.find((e => e.id === n)), {
+ disableThirdPartyRequests: o
+ } = r()["features/base/config"];
+ o || !i || i.loadableAvatarUrl || Bh(i, e).then((e => {
+ e && a(N0({
+ loadableAvatarUrl: e,
+ id: n
+ }))
+ }))
+ }(e, n.participant), a
+ }
+ }
+ return t(n)
+ })), tt.register((e => e["features/base/conference"].conference), ((e, t, n) => {
+ let {
+ dispatch: a,
+ getState: r
+ } = t;
+ e && !n && (e.on(ht.MEMBERS_ONLY_CHANGED, (e => {
+ a(function(e) {
+ return {
+ enabled: e,
+ type: j0
}
- case qv: {
- const n = function({
- participant: e
- }) {
- const {
- avatarURL: t,
- botType: n,
- connectionStatus: a,
- dominantSpeaker: r,
- email: i,
- isFakeParticipant: o,
- isReplacing: s,
- isJigasi: l,
- loadableAvatarUrl: c,
- local: u,
- name: d,
- pinned: p,
- presence: h,
- role: m
- } = e;
- let {
- conference: f,
- id: g
- } = e;
- return u && (f = void 0, g || (g = jh)), {
- avatarURL: t,
- botType: n,
- conference: f,
- connectionStatus: a,
- dominantSpeaker: r || !1,
- email: i,
- id: g,
- isFakeParticipant: o,
- isReplacing: s,
- isJigasi: l,
- loadableAvatarUrl: c,
- local: u || !1,
- name: d,
- pinned: p || !1,
- presence: h,
- role: m || "none"
- }
- }(t),
- {
- id: a,
- isFakeParticipant: r,
- name: i,
- pinned: o
- } = n,
- {
- pinnedParticipant: s,
- dominantSpeaker: l
- } = e;
- o && (s && Joe(e, s, "pinned", !1), e.pinnedParticipant = a), n.dominantSpeaker && (l && Joe(e, l, "dominantSpeaker", !1), e.dominantSpeaker = a);
- const c = Gh(n),
- {
- local: u,
- remote: d
- } = e;
- if (e.everyoneIsModerator && !c ? e.everyoneIsModerator = !1 : !u && 0 === d.size && c && (e.everyoneIsModerator = !0), n.local) return Hoe({}, e, {
- local: n
- });
- e.remote.set(a, n);
- const p = Goe(i),
- h = Array.from(e.sortedRemoteParticipants);
- return h.push([a, p]), h.sort(((e, t) => e[1].localeCompare(t[1]))), e.sortedRemoteParticipants = new Map(h), r && e.fakeParticipants.set(a, n), Hoe({}, e)
+ }(e))
+ })), e.on(ht.LOBBY_USER_JOINED, ((e, t) => {
+ (0, Me.unstable_batchedUpdates)((() => {
+ a(N0({
+ id: e,
+ name: t
+ })), a(Ii(S8)), "undefined" != typeof APP && APP.API.notifyKnockingParticipant({
+ id: e,
+ name: t
+ })
+ }))
+ })), e.on(ht.LOBBY_USER_UPDATED, ((e, t) => {
+ a(N0({
+ ...t,
+ id: e
+ }))
+ })), e.on(ht.LOBBY_USER_LEFT, (e => {
+ a(function(e) {
+ return {
+ id: e,
+ type: P0
}
- case Uv: {
- const {
- conference: n,
- id: a
- } = t.participant, {
- fakeParticipants: r,
- remote: i,
- local: o,
- dominantSpeaker: s,
- pinnedParticipant: l
- } = e;
- let c = i.get(a);
- if (c && c.conference === n) i.delete(a);
- else {
- if ((null == o ? void 0 : o.id) !== a) return e;
- c = e.local, delete e.local
+ }(e))
+ })), e.on(ht.ENDPOINT_MESSAGE_RECEIVED, ((e, t) => function(e, t, n) {
+ let {
+ dispatch: a,
+ getState: r
+ } = n;
+ if (null == e || !e._id || "lobby-notify" !== (null == t ? void 0 : t.type)) return;
+ const i = {
+ descriptionArguments: {
+ originParticipantName: Kh(r, e._id),
+ targetParticipantName: t.name
+ },
+ titleKey: "lobby.notificationTitle"
+ };
+ switch (t.event) {
+ case "LOBBY-ENABLED":
+ i.descriptionKey = `lobby.notificationLobby${t.value?"En":"Dis"}abled`;
+ break;
+ case "LOBBY-ACCESS-GRANTED":
+ i.descriptionKey = "lobby.notificationLobbyAccessGranted";
+ break;
+ case "LOBBY-ACCESS-DENIED":
+ i.descriptionKey = "lobby.notificationLobbyAccessDenied"
+ }
+ a(tg(i, P9(r()) ? Yf.STICKY : Yf.MEDIUM))
+ }(e, t, {
+ dispatch: a,
+ getState: r
+ }))))
+ }));
+ const fre = [pt.CONFERENCE_ACCESS_DENIED, pt.CONFERENCE_DESTROYED, pt.CONNECTION_ERROR], gre = (e, t) => {
+ const n = e(),
+ {
+ error: a
+ } = n["features/base/conference"],
+ {
+ error: r
+ } = n["features/base/config"],
+ {
+ error: i
+ } = n["features/base/connection"];
+ return t === a ? {
+ type: "CONFERENCE",
+ isFatal: ot(t.name || t)
+ } : t === r ? {
+ type: "CONFIG",
+ isFatal: !0
+ } : t === i ? {
+ type: "CONNECTION",
+ isFatal: st(t.name || t)
+ } : void 0
+ }; tt.register((e => {
+ const {
+ error: t
+ } = e["features/base/conference"], {
+ error: n
+ } = e["features/base/config"], {
+ error: a
+ } = e["features/base/connection"];
+ return n || a || t
+ }), ((e, t) => {
+ let {
+ dispatch: n,
+ getState: a
+ } = t;
+ if (e) {
+ if ("undefined" != typeof APP) {
+ const t = "string" == typeof e ? {
+ name: e
+ } : e;
+ APP.API.notifyError({
+ ...t,
+ ...gre(a, e)
+ })
+ } - 1 === fre.indexOf(e.name) && void 0 === e.recoverable && n(Mq(e))
+ }
+ })), qe.register((e => {
+ let {
+ dispatch: t,
+ getState: n
+ } = e;
+ return e => a => {
+ const r = e(a);
+ switch (a.type) {
+ case xV: {
+ const e = n(),
+ r = e["features/chat"].isOpen,
+ i = e["features/chat"].isPollsTabFocused;
+ !a.notify || r && i || t(Ii(HV));
+ break
+ }
+ }
+ return r
+ }
+ }));
+ const bre = e => {
+ if ("object" != typeof e || null === e) return null;
+ const {
+ id: t,
+ senderId: n,
+ senderName: a,
+ question: r,
+ answers: i
+ } = e;
+ if ("string" != typeof t || "string" != typeof n || "string" != typeof a || "string" != typeof r || !(i instanceof Array)) return null;
+ const o = [];
+ for (const e of i) {
+ const t = new Map;
+ for (const [n, a] of Object.entries(e.voters)) {
+ if ("string" != typeof a) return null;
+ t.set(n, a)
+ }
+ o.push({
+ name: e.name,
+ voters: t
+ })
+ }
+ return {
+ changingVote: !1,
+ senderId: n,
+ senderName: a,
+ question: r,
+ showResults: !0,
+ lastVote: null,
+ answers: o
+ }
+ }; tt.register((e => vF(e)), ((e, t, n) => {
+ if (e && e !== n) {
+ const n = (e, n) => {
+ switch (n.type) {
+ case OV: {
+ const {
+ question: e,
+ answers: a,
+ pollId: r,
+ senderId: i,
+ senderName: o
+ } = n, s = {
+ changingVote: !1,
+ senderId: i,
+ senderName: o,
+ showResults: !1,
+ lastVote: null,
+ question: e,
+ answers: a.map((e => ({
+ name: e,
+ voters: new Map
+ })))
+ };
+ t.dispatch(jV(r, s, !0)), t.dispatch(tg({
+ appearance: Kf,
+ titleKey: "polls.notification.title",
+ descriptionKey: "polls.notification.description"
+ }, Yf.SHORT));
+ break
}
- e.sortedRemoteParticipants.delete(a), e.everyoneIsModerator || Gh(c) || (e.everyoneIsModerator = Koe(e));
- const {
- features: u = {}
- } = c || {};
- if (e.haveParticipantWithScreenSharingFeature && "true" === String(u["screen-sharing"])) {
+ case NV: {
const {
- features: t = {}
- } = e.local || {};
- if ("true" !== String(t["screen-sharing"])) {
- e.haveParticipantWithScreenSharingFeature = !1;
- for (const [t, n] of e.remote) {
- const {
- features: t = {}
- } = n;
- if ("true" === String(t["screen-sharing"])) {
- e.haveParticipantWithScreenSharingFeature = !0;
- break
- }
- }
- }
+ pollId: e,
+ answers: a,
+ voterId: r,
+ voterName: i
+ } = n, o = {
+ voterId: r,
+ voterName: i,
+ pollId: e,
+ answers: a
+ };
+ t.dispatch(((e, t) => ({
+ type: CV,
+ answer: t,
+ pollId: e
+ }))(e, o));
+ break
}
- return s === a && (e.dominantSpeaker = void 0), e.speakersList.has(a) && e.speakersList.delete(a), l === a && (e.pinnedParticipant = void 0), r.has(a) && r.delete(a), Hoe({}, e)
- }
- case $v:
- return Hoe({}, e, {
- raisedHandsQueue: t.queue
- });
- case fk: {
- const {
- participantIds: n
- } = t, a = [];
- for (const t of n) {
- const n = e.remote.get(t);
- if (n) {
- const e = Goe(n.name);
- a.push([t, e])
+ case "old-polls": {
+ const {
+ polls: e
+ } = n;
+ for (const n of e) {
+ const e = bre(n);
+ null === e ? console.warn("[features/polls] Invalid old poll data") : t.dispatch(jV(n.id, e, !1))
}
+ break
}
- return a.length && a.sort(((e, t) => e[1].localeCompare(t[1]))), e.sortedRemoteScreenshares = new Map(a), Hoe({}, e)
}
+ };
+ e.on(ht.ENDPOINT_MESSAGE_RECEIVED, n), e.on(ht.NON_PARTICIPANT_MESSAGE_RECEIVED, n)
+ }
+ })), tt.register((e => e["features/base/conference"].startReactionsMuted), ((e, t) => function(e, t) {
+ const n = t.getState(),
+ a = vF(n);
+ a && tm(n) && a.sendCommand(xZ, {
+ attributes: {
+ startReactionsMuted: Boolean(e)
}
- return e
- }));
+ })
+ }(e || !1, t))), qe.register((e => t => n => {
const {
- innerHeight: Qoe = 0,
- innerWidth: Xoe = 0
- } = window, ese = {
- aspectRatio: fQ,
- clientHeight: Qoe,
- clientWidth: Xoe,
- reducedUI: !1,
- contextMenuOpened: !1
- };
-
- function tse(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
- }
- nt.register("features/base/responsive-ui", ((e = ese, t) => {
- switch (t.type) {
- case l0:
- return function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Zoe(e, t, n[t])
- }))
- }
- return e
- }({}, e, {
- clientWidth: t.clientWidth,
- clientHeight: t.clientHeight
- });
- case c0:
- return Le(e, "aspectRatio", t.aspectRatio);
- case u0:
- return Le(e, "reducedUI", t.reducedUI);
- case d0:
- return Le(e, "contextMenuOpened", t.isOpen)
+ dispatch: a,
+ getState: r
+ } = e;
+ switch (n.type) {
+ case Va:
+ (0, Me.unstable_batchedUpdates)((() => {
+ Object.keys(TZ).forEach((e => {
+ for (let t = 0; t < AZ.length; t++) a(Oi(`${TZ[e].soundId}${AZ[t]}`, TZ[e].soundFiles[t]))
+ })), a(Oi(CZ, "reactions-raised-hand.mp3"))
+ }));
+ break;
+ case Wa:
+ (0, Me.unstable_batchedUpdates)((() => {
+ Object.keys(TZ).forEach((e => {
+ for (let t = 0; t < AZ.length; t++) a(Ri(`${TZ[e].soundId}${AZ[t]}`))
+ })), a(Ri(CZ))
+ }));
+ break;
+ case N6: {
+ const {
+ timeoutID: e,
+ buffer: t
+ } = r()["features/reactions"], {
+ reaction: i
+ } = n;
+ clearTimeout(e), t.push(i), n.buffer = t, n.timeoutID = setTimeout((() => {
+ a({
+ type: R6
+ })
+ }), 500);
+ break
}
- return e
- }));
- const nse = {
- audioOutputDeviceId: void 0,
- avatarURL: void 0,
- cameraDeviceId: void 0,
- disableCallIntegration: void 0,
- disableCrashReporting: void 0,
- disableP2P: void 0,
- displayName: void 0,
- email: void 0,
- localFlipX: !0,
- micDeviceId: void 0,
- serverURL: void 0,
- hideShareAudioHelper: !1,
- soundsIncomingMessage: !0,
- soundsParticipantJoined: !0,
- soundsParticipantLeft: !0,
- soundsTalkWhileMuted: !0,
- soundsReactions: !0,
- startAudioOnly: !1,
- startWithAudioMuted: !1,
- startWithVideoMuted: !1,
- userSelectedAudioOutputDeviceId: void 0,
- userSelectedCameraDeviceId: void 0,
- userSelectedMicDeviceId: void 0,
- userSelectedAudioOutputDeviceLabel: void 0,
- userSelectedCameraDeviceLabel: void 0,
- userSelectedMicDeviceLabel: void 0,
- userSelectedSkipPrejoin: void 0
- },
- ase = "features/base/settings",
- rse = {};
- Object.keys(nse).forEach((e => {
- rse[e] = !0
- })), rse.audioOutputDeviceId = !1, rse.cameraDeviceId = !1, rse.micDeviceId = !1, et.register(ase, rse, nse), nt.register(ase, ((e = nse, t) => {
- switch (t.type) {
- case Ya:
- return function(e) {
- let t = e;
- const n = l.getItem("displayname"),
- a = l.getItem("email");
- return t = function(e, t) {
- const n = Object(e);
- for (const e in t)
- if (t.hasOwnProperty(e)) {
- const a = t[e];
- void 0 !== a && (n[e] = a)
- } return n
- }({
- displayName: null === n ? void 0 : k().escape(n),
- email: null === a ? void 0 : k().escape(a)
- }, t), t
- }(e);
- case gn:
- return function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- tse(e, t, n[t])
+ case KF: {
+ const {
+ conference: t
+ } = n;
+ t.addCommandListener(xZ, ((t, n) => {
+ let {
+ attributes: a
+ } = t;
+ ! function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = arguments.length > 1 ? arguments[1] : void 0,
+ n = arguments.length > 2 ? arguments[2] : void 0;
+ const a = n.getState();
+ if (void 0 === t) return;
+ const r = Vh(a, t);
+ if (r.local) return;
+ if ("moderator" !== r.role) return void DZ.warn("Received mute-reactions command not from moderator");
+ const i = Boolean(a["features/base/conference"].startReactionsMuted),
+ o = "true" === e.startReactionsMuted;
+ i !== o && (0, Me.unstable_batchedUpdates)((() => {
+ n.dispatch(Eq(o)), n.dispatch(hn({
+ soundsReactions: !o
}))
+ }))
+ }(a, n, e)
+ }));
+ break
+ }
+ case R6: {
+ const e = r(),
+ {
+ buffer: t
+ } = e["features/reactions"],
+ n = Yh(e);
+ (0, Me.unstable_batchedUpdates)((() => {
+ n > 1 && a({
+ type: F6
+ }), a(function(e) {
+ return {
+ type: z6,
+ message: e
}
- return e
- }({}, e, t.settings)
+ }(jZ(t))), a(V6(t))
+ })), async function(e, t) {
+ const {
+ webhookProxyUrl: n
+ } = e["features/base/config"], {
+ conference: a
+ } = e["features/base/conference"], {
+ jwt: r
+ } = e["features/base/jwt"], {
+ connection: i
+ } = e["features/base/connection"], o = i.getJid(), s = Uh(e), l = {
+ ...r ? {
+ Authorization: `Bearer ${r}`
+ } : {},
+ "Content-Type": "application/json"
+ }, c = {
+ meetingFqn: XY(),
+ sessionId: a.sessionId,
+ submitted: Date.now(),
+ reactions: t,
+ participantId: s.jwtId,
+ participantName: s.name,
+ participantJid: o
+ };
+ if (n) try {
+ const e = await fetch(`${n}/reactions`, {
+ method: "POST",
+ headers: l,
+ body: JSON.stringify(c)
+ });
+ e.ok || DZ.error("Status error:", e.status)
+ } catch (e) {
+ DZ.error("Could not send request", e)
+ }
+ }(e, t);
+ break
}
- return e
- }));
- const ise = new Map;
- nt.register("features/base/sounds", ((e = ise, t) => {
- switch (t.type) {
- case qi:
- case Bi:
- return function(e, t) {
- const n = t.type === qi,
- a = new Map(e),
- {
- soundId: r
- } = t,
- i = a.get(r);
- return i ? n ? a.set(r, Ne(i, {
- audioElement: t.audioElement
- })) : a.set(r, Ne(i, {
- audioElement: void 0
- })) : nne.warn(`${t.type}: no sound for id: ${r}`), a
- }(e, t);
- case Hi:
- return function(e, t) {
- const n = new Map(e);
- return n.set(t.soundId, {
- src: t.src,
- options: t.options
- }), n
- }(e, t);
- case Wi:
- return function(e, t) {
- const n = new Map(e);
- return n.delete(t.soundId), n
- }(e, t);
- default:
- return e
+ case q6: {
+ const e = r(),
+ {
+ queue: t,
+ notificationDisplayed: i
+ } = e["features/reactions"],
+ {
+ soundsReactions: o
+ } = e["features/base/settings"],
+ s = Mi(e),
+ l = n.reactions;
+ (0, Me.unstable_batchedUpdates)((() => {
+ var e;
+ !i && o && !s.includes("REACTION_SOUND") && Z6 && a(Z6()), o && function(e) {
+ const t = function(e) {
+ return [...new Set(e)]
+ }(e);
+ return t.map((t => ({
+ reaction: t,
+ threshold: IZ(MZ(e, t))
+ })))
+ }(l).forEach((e => a(Ii(`${TZ[e.reaction].soundId}${e.threshold}`)))), a(U6([...t, ...(e = l, e.map((e => ({
+ reaction: e,
+ uid: rU()
+ }))))]))
+ }));
+ break
}
- }));
- const ose = {
- connectionState: ""
- };
-
- function sse(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- lse(e, t, n[t])
- }))
+ case F6: {
+ const e = r(),
+ {
+ buffer: t
+ } = e["features/reactions"],
+ {
+ conference: n
+ } = e["features/base/conference"];
+ n && n.sendEndpointMessage("", {
+ name: EZ,
+ reactions: t,
+ timestamp: Date.now()
+ });
+ break
+ }
+ case pn: {
+ const {
+ soundsReactions: e
+ } = r()["features/base/settings"];
+ !1 === n.settings.soundsReactions && !0 === e && Da({
+ action: "disabled",
+ actionSubject: "sounds",
+ source: "reaction.settings",
+ type: Lt
+ });
+ break
+ }
+ case B6: {
+ const e = ["notify.reactionSounds"],
+ t = [() => a(hn({
+ soundsReactions: !1
+ }))];
+ tm(r()) && (e.push("notify.reactionSoundsForAll"), t.push((() => (0, Me.unstable_batchedUpdates)((() => {
+ a(Eq(!0)), a(hn({
+ soundsReactions: !1
+ }))
+ }))))), a(tg({
+ titleKey: "toolbar.disableReactionSounds",
+ customActionNameKey: e,
+ customActionHandler: t
+ }, Yf.MEDIUM));
+ break
}
- return e
}
+ return t(n)
+ }));
+ const yre = "DELETE_RECENT_LIST_ENTRY", vre = "_STORE_CURRENT_CONFERENCE", kre = "_UPDATE_CONFERENCE_DURATION";
- function lse(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ function _re() {
+ return interfaceConfig.RECENT_LIST_ENABLED
+ }
+ qe.register((e => t => n => {
+ if (_re()) switch (n.type) {
+ case Va:
+ return function(e, t, n) {
+ let {
+ dispatch: a,
+ getState: r
+ } = e;
+ const i = t(n),
+ o = [];
+ for (const {
+ conference: e
+ } of r()["features/recent-list"]) {
+ const t = An(e);
+ let n;
+ t && (n = t.host) && o.push(n)
+ }
+ return o.length && a(fn(o)), i
+ }(e, t, n);
+ case $F:
+ return function(e, t, n) {
+ let {
+ dispatch: a,
+ getState: r
+ } = e;
+ const {
+ doNotStoreRoom: i
+ } = r()["features/base/config"];
+ if (!i) {
+ let e;
+ e = "undefined" == typeof APP ? n.conference[lF] : r()["features/base/connection"].locationURL, a(function(e) {
+ return {
+ type: kre,
+ locationURL: e
+ }
+ }(e))
+ }
+ return t(n)
+ }(e, t, n);
+ case oq:
+ return function(e, t, n) {
+ let {
+ dispatch: a,
+ getState: r
+ } = e;
+ const {
+ doNotStoreRoom: i
+ } = r()["features/base/config"];
+ if (!i && n.room) {
+ const {
+ locationURL: e
+ } = r()["features/base/connection"];
+ e && (a(function(e) {
+ return {
+ type: vre,
+ locationURL: e
+ }
+ }(e)), a(fn(e.host)))
+ }
+ return t(n)
+ }(e, t, n)
+ }
+ return t(n)
+ })), tt.register((e => vF(e)), ((e, t) => {
+ let {
+ dispatch: n
+ } = t;
+ e || n({
+ type: VK
+ })
+ })), qe.register((e => {
+ let {
+ dispatch: t,
+ getState: n
+ } = e;
+ return e => a => {
+ let r;
+ a.type === WK && (r = _U(n(), a.sessionData.id));
+ const i = e(a);
+ switch (a.type) {
+ case Va:
+ t(Oi(hU, "liveStreamingOff.mp3")), t(Oi(mU, "liveStreamingOn.mp3")), t(Oi(fU, "recordingOff.mp3")), t(Oi(gU, "recordingOn.mp3"));
+ break;
+ case Wa:
+ t(Ri(hU)), t(Ri(mU)), t(Ri(fU)), t(Ri(gU));
+ break;
+ case KF: {
+ const {
+ conference: e
+ } = a;
+ e.on(ht.RECORDER_STATE_CHANGED, (e => {
+ e && (e.getID() && t(function(e) {
+ const t = e.getStatus(),
+ n = t === kt.status.ON ? Date.now() / 1e3 : void 0;
+ return {
+ type: WK,
+ sessionData: {
+ error: e.getError(),
+ id: e.getID(),
+ initiator: e.getInitiator(),
+ liveStreamViewURL: e.getLiveStreamViewURL(),
+ mode: e.getMode(),
+ status: t,
+ terminator: e.getTerminator(),
+ timestamp: n
+ }
+ }
+ }(e)), e.getError() && function(e, t) {
+ const n = e.getMode(),
+ a = e.getError(),
+ r = n === c.default.constants.recording.mode.STREAM;
+ switch (a) {
+ case c.default.constants.recording.error.SERVICE_UNAVAILABLE:
+ t(JK({
+ descriptionKey: "recording.unavailable",
+ descriptionArguments: {
+ serviceName: r ? "$t(liveStreaming.serviceName)" : "$t(recording.serviceName)"
+ },
+ titleKey: r ? "liveStreaming.unavailableTitle" : "recording.unavailableTitle"
+ }));
+ break;
+ case c.default.constants.recording.error.RESOURCE_CONSTRAINT:
+ t(JK({
+ descriptionKey: r ? "liveStreaming.busy" : "recording.busy",
+ titleKey: r ? "liveStreaming.busyTitle" : "recording.busyTitle"
+ }));
+ break;
+ case c.default.constants.recording.error.UNEXPECTED_REQUEST:
+ t(ng({
+ descriptionKey: r ? "liveStreaming.sessionAlreadyActive" : "recording.sessionAlreadyActive",
+ titleKey: r ? "liveStreaming.inProgress" : "recording.inProgress"
+ }));
+ break;
+ default:
+ t(JK({
+ descriptionKey: r ? "liveStreaming.error" : "recording.error",
+ titleKey: r ? "liveStreaming.failedToStart" : "recording.failedToStart"
+ }))
+ }
+ "undefined" != typeof APP && APP.API.notifyRecordingStatusChanged(!1, n, a)
+ }(e, t))
+ }));
+ break
+ }
+ case WK: {
+ const {
+ iAmRecorder: e,
+ iAmSipGateway: i,
+ recordingLimit: s
+ } = n()["features/base/config"];
+ if (e && !i) break;
+ const l = _U(n(), a.sessionData.id),
+ {
+ initiator: u,
+ mode: d,
+ terminator: p
+ } = l,
+ {
+ PENDING: h,
+ OFF: m,
+ ON: f
+ } = kt.status;
+ if (l.status !== h || r && r.status === h) {
+ if (l.status !== h)
+ if (t(function(e) {
+ return (t, n) => {
+ const {
+ pendingNotificationUids: a
+ } = n()["features/recording"], r = a[e];
+ r && (t(Xf(r)), t(ZK(void 0, e)))
+ }
+ }(d)), l.status !== f || r && r.status === f) {
+ if (l.status === m && (!r || r.status !== m)) {
+ p && t(function(e, t) {
+ const n = {
+ name: t
+ };
+ return tg(e === c.default.constants.recording.mode.STREAM ? {
+ descriptionKey: t ? "liveStreaming.offBy" : "liveStreaming.off",
+ descriptionArguments: n,
+ titleKey: "dialog.liveStreaming"
+ } : {
+ descriptionKey: t ? "recording.offBy" : "recording.off",
+ descriptionArguments: n,
+ titleKey: "dialog.recording"
+ }, Yf.SHORT)
+ }(d, Kh(n, SU(p))));
+ let e, a, i = 0;
+ r && r.timestamp && (i = Date.now() / 1e3 - r.timestamp), Da(en("stop", d, i)), d === kt.mode.FILE ? (e = fU, a = gU) : d === kt.mode.STREAM && (e = hU, a = mU), e && a && (t(Ni(a)), t(Ii(e))), "undefined" != typeof APP && APP.API.notifyRecordingStatusChanged(!1, d)
+ }
+ } else {
+ let e;
+ t("object" == typeof s ? function(e) {
+ const t = e === c.default.constants.recording.mode.STREAM;
+ return tg({
+ description: C().createElement(hG, {
+ isLiveStreaming: t
+ }),
+ titleKey: t ? "dialog.liveStreaming" : "dialog.recording"
+ }, Yf.LONG)
+ }(d) : function(e, t, n) {
+ return async (a, r) => {
+ const i = r(),
+ o = SU(t),
+ s = Kh(i, o);
+ let l = {
+ descriptionKey: s ? "liveStreaming.onBy" : "liveStreaming.on",
+ descriptionArguments: {
+ name: s
+ },
+ isDismissAllowed: !0,
+ titleKey: "dialog.liveStreaming"
+ };
+ if (e !== c.default.constants.recording.mode.STREAM) {
+ const e = function(e) {
+ return e["features/base/config"].recordingSharingUrl
+ }(i),
+ t = Uh(i).id === o;
+ if (l = {
+ customActionHandler: void 0,
+ customActionNameKey: void 0,
+ descriptionKey: s ? "recording.onBy" : "recording.on",
+ descriptionArguments: {
+ name: s
+ },
+ isDismissAllowed: !0,
+ titleKey: "dialog.recording"
+ }, e && cM(i) && t && ! function(e) {
+ return uU(e) && e["features/recording"].selectedRecordingService === yU
+ }(i)) {
+ const t = function(e) {
+ var t, n;
+ return (null === (t = e["features/base/config"]) || void 0 === t || null === (n = t.deploymentInfo) || void 0 === n ? void 0 : n.region) || ""
+ }(i),
+ r = lM(i);
+ try {
+ const a = await async function(e, t, n, a) {
+ const r = `${e}?recordingSessionId=${t}®ion=${n}&tenant=${a}`,
+ i = await fetch(r, {
+ headers: {
+ "Content-Type": "application/json"
+ }
+ }),
+ o = await i.json();
+ return i.ok ? o : Promise.reject(o)
+ }(e, n, t, r), {
+ url: i,
+ urlExpirationTimeMillis: o
+ } = a;
+ "object" == typeof APP && APP.API.notifyRecordingLinkAvailable(i, o), l.customActionNameKey = ["recording.copyLink"], l.customActionHandler = [() => Ct(i)], l.titleKey = "recording.on", l.descriptionKey = "recording.linkGenerated", l.isDismissAllowed = !1
+ } catch (e) {
+ return a(eg({
+ titleKey: "recording.errorFetchingLink"
+ }, Yf.MEDIUM)), $K.error("Could not fetch recording link", e)
+ }
+ }
+ }
+ a(tg(l, Yf.SHORT))
+ }
+ }(d, u, a.sessionData.id)), Da(en("start", d)), d === kt.mode.FILE ? e = gU : d === kt.mode.STREAM && (e = mU), e && t(Ii(e)), "undefined" != typeof APP && APP.API.notifyRecordingStatusChanged(!0, d)
+ }
+ } else t((o = d, async e => {
+ const t = o === c.default.constants.recording.mode.STREAM ? {
+ descriptionKey: "liveStreaming.pending",
+ titleKey: "dialog.liveStreaming"
+ } : {
+ descriptionKey: "recording.pending",
+ titleKey: "dialog.recording"
+ },
+ n = await e(tg({
+ isDismissAllowed: !1,
+ ...t
+ }, Yf.MEDIUM));
+ n && e(ZK(n.uid, o))
+ }));
+ break
+ }
+ }
+ var o;
+ return i
}
+ })), tt.register((e => {
+ const t = e["features/recent-list"];
+ return t && t.length && t[t.length - 1]
+ }), ((e, t, n) => {
+ let {} = t;
+ n && e && n.conference === e.conference && 0 === e.duration && Da(function(e) {
+ let {
+ url: t,
+ lastConferenceDuration: n,
+ timeSinceLeft: a
+ } = e;
+ return {
+ action: "rejoined",
+ attributes: {
+ lastConferenceDuration: n,
+ timeSinceLeft: a,
+ url: t
+ }
+ }
+ }({
+ lastConferenceDuration: n.duration / 1e3,
+ timeSinceLeft: (Date.now() - (n.date + n.duration)) / 1e3,
+ url: n.conference
+ }))
+ }));
+ const wre = $e("features/room-lock"); qe.register((e => t => n => {
+ switch (n.type) {
+ case UF:
+ return function(e, t, n) {
+ let {
+ dispatch: a
+ } = e;
+ const {
+ conference: r,
+ error: i
+ } = n;
+ return r && i.name === pt.PASSWORD_REQUIRED ? (void 0 === i.recoverable && (i.recoverable = !0), i.recoverable && a(function(e) {
+ return VI(Z8, {
+ conference: e
+ })
+ }(r))) : a(HI(Z8)), t(n)
+ }(e, t, n);
+ case HF:
+ return function(e, t, n) {
+ let {
+ dispatch: a
+ } = e;
+ return a(HI(Z8)), t(n)
+ }(e, t, n);
+ case QF: {
+ "undefined" != typeof APP && APP.UI.emitEvent(rX.TOGGLE_ROOM_LOCK, n.locked);
+ const a = e.getState()["features/base/conference"].locked,
+ r = t(n),
+ i = e.getState()["features/base/conference"].locked;
+ return i === X8 ? e.dispatch(tg({
+ titleKey: "notify.passwordSetRemotely"
+ }, Yf.SHORT)) : a !== X8 || i || e.dispatch(tg({
+ titleKey: "notify.passwordRemovedRemotely"
+ }, Yf.SHORT)), r
+ }
+ case rq:
+ return function(e, t, n) {
+ if ("undefined" != typeof APP) {
+ const {
+ error: e
+ } = n;
+ let t, a;
+ e === pt.PASSWORD_NOT_SUPPORTED ? (wre.warn("room passwords not supported"), t = "dialog.passwordNotSupported", a = "dialog.passwordNotSupportedTitle") : (wre.warn("setting password failed", e), t = "dialog.lockMessage", a = "dialog.lockTitle"), APP.UI.messageHandler.showError({
+ descriptionKey: t,
+ titleKey: a
+ })
+ }
+ return t(n)
+ }(0, t, n)
+ }
+ return t(n)
+ })), n(8045);
+ const Sre = "chrome", Ere = "opera", xre = "firefox", Cre = "iexplorer", Are = "safari", Tre = "nwjs", Dre = "electron", Pre = "react-native", jre = "unknown", Mre = {
+ Chrome: Sre,
+ Chromium: Sre,
+ Opera: Ere,
+ Firefox: xre,
+ "Internet Explorer": Cre,
+ Safari: Are
+ };
- function cse(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- use(e, t, n[t])
- }))
+ function Ire() {
+ const e = navigator.userAgent;
+ if (e.match(/Electron/)) {
+ const t = e.match(/Electron\/([\d.]+)/)[1];
+ return {
+ name: Dre,
+ version: t
}
- return e
- }
-
- function use(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
}
+ }
- function dse(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- pse(e, t, n[t])
- }))
+ function Ore() {
+ const e = navigator.userAgent;
+ if (e.match(/JitsiMeetNW/)) {
+ const t = e.match(/JitsiMeetNW\/([\d.]+)/)[1];
+ return {
+ name: Tre,
+ version: t
}
- return e
}
+ }
- function pse(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
- }
- nt.register("features/testing", ((e = ose, t) => t.type === ane ? function(e, t) {
- return Ne(e, {
- connectionState: t.connectionState
- })
- }(e, t) : e)), nt.register("features/base/tracks", ((e = [], t) => {
- switch (t.type) {
- case Fv:
- case co:
- case fo:
- case ho:
- return e.map((e => function(e, t) {
- switch (t.type) {
- case Fv:
- if (e.participantId === t.oldValue) return sse({}, e, {
- participantId: t.newValue
- });
- break;
- case ho: {
- const n = t.track;
- if (e.jitsiTrack === n.jitsiTrack)
- for (const t in n)
- if (e[t] !== n[t]) return sse({}, e, n);
- break
- }
- case fo: {
- const n = t.track;
- if (e.jitsiTrack === n && e.lastMediaEvent !== t.name) return sse({}, e, {
- lastMediaEvent: t.name
- });
- break
- }
- case co: {
- const n = t.track;
- if (e.jitsiTrack === n.jitsiTrack) {
- const t = n.jitsiTrack.isReceivingData();
- if (e.isReceivingData !== t) return sse({}, e, {
- isReceivingData: t
- })
- }
- break
- }
- }
- return e
- }(e, t)));
- case oo: {
- let n = e;
- return t.track.local && (n = e.filter((e => !e.local || e.mediaType !== t.track.mediaType))), [...n, t.track]
- }
- case so:
- case lo:
- return e.filter((e => !e.local || e.mediaType !== t.trackType));
- case uo:
- return e.filter((e => e.jitsiTrack !== t.track.jitsiTrack));
- case mo:
- return [...e, t.track];
- default:
- return e
+ function Nre() {
+ const e = navigator.userAgent.match(/\b(react[ \t_-]*native)(?:\/(\S+))?/i);
+ let t;
+ if (e || "ReactNative" === navigator.product) {
+ let n;
+ return e && e.length > 2 && (n = e[1], t = e[2]), n || (n = "react-native"), t || (t = "unknown"), {
+ name: Pre,
+ version: t
}
- })), nt.register("features/base/no-src-data", ((e = {}, t) => t.type === ro ? Le(e, "noSrcDataNotificationUid", t.uid) : e)), nt.register("features/base/user-interaction", ((e = {}, t) => {
- switch (t.type) {
- case Ya:
- case Ga:
- return cse({}, e, {
- interacted: !1
- });
- case cne:
- return cse({}, e, {
- interacted: !0
+ }
+ }
+ class Rre {
+ constructor(e) {
+ let t, n;
+ if (this._bowser = h().getParser(navigator.userAgent), void 0 === e) {
+ const e = function(e) {
+ let t;
+ const n = [Nre, Ire, Ore];
+ for (let e = 0; e < n.length; e++)
+ if (t = n[e](), t) return t;
+ const a = e.getBrowserName();
+ return a in Mre ? {
+ name: Mre[a],
+ version: e.getBrowserVersion()
+ } : (t = function() {
+ const e = navigator.userAgent,
+ t = {
+ name: jre,
+ version: void 0
+ };
+ if (e.match(/Chrome/) && !e.match(/Edge/))
+ if (e.match(/Edg(A?)/)) {
+ const n = e.match(/Chrome\/([\d.]+)/)[1];
+ Number.parseInt(n, 10) > 72 && (t.name = Sre, t.version = n)
+ } else t.name = Sre, t.version = e.match(/Chrome\/([\d.]+)/)[1];
+ return t
+ }(), t || {
+ name: jre,
+ version: void 0
})
- }
- return e
- }));
- const hse = {
- authorization: void 0,
- events: [],
- integrationReady: !1,
- integrationType: void 0,
- msAuthState: void 0
- },
- mse = "features/calendar-sync";
-
- function fse(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- gse(e, t, n[t])
- }))
- }
- return e
+ }(this._bowser);
+ t = e.name, n = e.version
+ } else e.name in Mre ? (t = Mre[e.name], n = e.version) : (t = jre, n = void 0);
+ this._name = t, this._version = n
}
-
- function gse(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ getName() {
+ return this._name
}
- et.register(mse, {
- integrationType: !0,
- msAuthState: !0
- }), nt.register(mse, ((e = hse, t) => {
- switch (t.type) {
- case GK:
- return hse;
- case XK:
- return t.msAuthState ? Le(e, "msAuthState", dse({}, e.msAuthState, t.msAuthState)) : Le(e, "msAuthState", void 0);
- case $K:
- return Le(e, "authorization", t.authorization);
- case JK:
- return Le(e, "error", t.error);
- case ZK:
- return Le(e, "events", t.events);
- case QK:
- return dse({}, e, {
- integrationReady: t.integrationReady,
- integrationType: t.integrationType
- });
- case e$:
- return Le(e, "profileEmail", t.email);
- case t$:
- return Le(e, "isLoadingEvents", t.isLoadingEvents)
- }
- return e
- }));
- const bse = {
- isOpen: !1,
- isPollsTabFocused: !1,
- lastReadMessage: void 0,
- lastReadPoll: void 0,
- messages: [],
- nbUnreadMessages: 0,
- privateMessageRecipient: void 0
- };
-
- function yse(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ isChrome() {
+ return this._name === Sre
}
-
- function vse(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ isOpera() {
+ return this._name === Ere
}
- nt.register("features/chat", ((e = bse, t) => {
- switch (t.type) {
- case M3: {
- const n = {
- displayName: t.displayName,
- error: t.error,
- id: t.id,
- isReaction: t.isReaction,
- messageType: t.messageType,
- message: t.message,
- privateMessage: t.privateMessage,
- recipient: t.recipient,
- timestamp: t.timestamp
- },
- a = "ReactNative" === navigator.product ? [n, ...e.messages] : [...e.messages, n];
- return fse({}, e, {
- lastReadMessage: t.hasRead ? n : e.lastReadMessage,
- nbUnreadMessages: e.isPollsTabFocused ? e.nbUnreadMessages + 1 : e.nbUnreadMessages,
- messages: a
- })
- }
- case I3:
- return fse({}, e, {
- lastReadMessage: void 0,
- messages: []
- });
- case L3:
- return fse({}, e, {
- privateMessageRecipient: t.participant
- });
- case z3:
- return fse({}, e, {
- isOpen: !0,
- privateMessageRecipient: t.participant
- });
- case N3:
- return fse({}, e, {
- isOpen: !1,
- lastReadMessage: e.messages["ReactNative" === navigator.product ? 0 : e.messages.length - 1],
- privateMessageRecipient: t.participant
- });
- case F3:
- return fse({}, e, {
- isPollsTabFocused: t.isPollsTabFocused,
- nbUnreadMessages: 0
- })
- }
- return e
- })), nt.register("features/deep-linking", ((e = {}, t) => t.type === bne ? function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- yse(e, t, n[t])
- }))
- }
- return e
- }({}, e, {
- launchInWeb: !0
- }) : e));
- const kse = "features/dropbox";
-
- function _se(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- wse(e, t, n[t])
- }))
- }
- return e
+ isFirefox() {
+ return this._name === xre
}
-
- function wse(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ isIExplorer() {
+ return this._name === Cre
}
- et.register(kse), nt.register(kse, ((e = {}, t) => t.type === Yz ? function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- vse(e, t, n[t])
- }))
- }
- return e
- }({}, e, {
- token: t.token,
- rToken: t.rToken,
- expireDate: t.expireDate
- }) : e));
- const Sse = {
- avatarBackgrounds: [],
- backgroundColor: "",
- backgroundImageUrl: "",
- customizationReady: !1,
- customizationFailed: !1,
- defaultBranding: !0,
- didPageUrl: "",
- inviteDomain: "",
- logoClickUrl: "",
- logoImageUrl: "",
- premeetingBackground: "",
- useDynamicBrandingData: !1,
- virtualBackgrounds: []
- };
-
- function Ese(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- xse(e, t, n[t])
- }))
- }
- return e
+ isSafari() {
+ return this._name === Are
}
-
- function xse(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ isNWJS() {
+ return this._name === Tre
}
- nt.register("features/dynamic-branding", ((e = Sse, t) => {
- switch (t.type) {
- case Qee: {
- const {
- avatarBackgrounds: e,
- backgroundColor: a,
- backgroundImageUrl: r,
- defaultBranding: i,
- didPageUrl: o,
- inviteDomain: s,
- logoClickUrl: l,
- logoImageUrl: c,
- premeetingBackground: u,
- virtualBackgrounds: d
- } = t.value;
- return {
- avatarBackgrounds: e,
- backgroundColor: a,
- backgroundImageUrl: r,
- defaultBranding: i,
- didPageUrl: o,
- inviteDomain: s,
- logoClickUrl: l,
- logoImageUrl: c,
- premeetingBackground: u,
- customizationFailed: !1,
- customizationReady: !0,
- useDynamicBrandingData: !0,
- virtualBackgrounds: (n = d || [], n.map(((e, t) => {
- let n, a;
- return "object" == typeof e ? ({
- src: n,
- tooltip: a
- } = e) : n = e, {
- id: `branding-${t}`,
- src: n,
- tooltip: a
- }
- })))
- }
- }
- case Xee:
- return _se({}, e, {
- customizationReady: !0,
- customizationFailed: !0,
- useDynamicBrandingData: !0
- });
- case ete:
- return _se({}, e, {
- customizationReady: !0
- })
- }
- var n;
- return e
- }));
- const Cse = {
- documentUrl: void 0,
- editing: !1
- };
-
- function Ase(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- jse(e, t, n[t])
- }))
- }
- return e
+ isElectron() {
+ return this._name === Dre
}
-
- function jse(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ isReactNative() {
+ return this._name === Pre
}
- nt.register("features/etherpad", ((e = Cse, t) => {
- switch (t.type) {
- case o6:
- return Ese({}, e, {
- editing: t.editing
- });
- case s6:
- return Ese({}, e, {
- documentUrl: t.documentUrl
- });
- default:
- return e
- }
- }));
- const Pse = {
- enabled: !0,
- horizontalViewDimensions: {},
- participantsVolume: {},
- remoteParticipants: [],
- tileViewDimensions: {},
- verticalViewDimensions: {},
- visible: !0,
- visibleParticipantsEndIndex: 0,
- visibleParticipantsStartIndex: 0,
- visibleRemoteParticipants: new Set
- };
-
- function Dse(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Tse(e, t, n[t])
- }))
- }
- return e
+ getVersion() {
+ return this._version
}
-
- function Tse(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ _checkCondition(e) {
+ if (this._version) return this._bowser.satisfies(e)
}
- nt.register("features/filmstrip", ((e = Pse, t) => {
- switch (t.type) {
- case DJ:
- return Ase({}, e, {
- enabled: t.enabled
- });
- case TJ:
- return Ase({}, e, {
- visible: t.visible
- });
- case MJ:
- return Ase({}, e, {
- horizontalViewDimensions: t.dimensions
- });
- case IJ: {
- e.remoteParticipants = t.participants;
- const {
- visibleParticipantsStartIndex: n,
- visibleParticipantsEndIndex: a
- } = e;
- return e.visibleRemoteParticipants = new Set(e.remoteParticipants.slice(n, a + 1)), Ase({}, e)
- }
- case OJ:
- return Ase({}, e, {
- tileViewDimensions: t.dimensions
- });
- case NJ:
- return Ase({}, e, {
- verticalViewDimensions: t.dimensions
- });
- case zJ:
- return Ase({}, e, {
- participantsVolume: Ase({}, e.participantsVolume, {
- [t.participantId]: t.volume
- })
- });
- case RJ:
- return Ase({}, e, {
- visibleParticipantsStartIndex: t.startIndex,
- visibleParticipantsEndIndex: t.endIndex,
- visibleRemoteParticipants: new Set(e.remoteParticipants.slice(t.startIndex, t.endIndex + 1))
- });
- case Uv: {
- const {
- id: n,
- local: a
- } = t.participant;
- return a ? e : (delete e.participantsVolume[n], Ase({}, e))
- }
- }
- return e
- })), nt.register("features/follow-me", ((e = {}, t) => {
- switch (t.type) {
- case Tne: {
- let n = Le(e, "moderator", t.id);
- return t.id || (n = Le(n, "state", void 0)), n
- }
- case One:
- return Le(e, "state", t.state)
- }
- return e
- }));
- const Ose = {
- googleAPIState: zK.NEEDS_LOADING,
- profileEmail: ""
- };
-
- function Mse(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Ise(e, t, n[t])
- }))
- }
- return e
+ isVersionGreaterThan(e) {
+ return this._checkCondition({
+ [this._name]: `>${e}`
+ })
}
-
- function Ise(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ isVersionLessThan(e) {
+ return this._checkCondition({
+ [this._name]: `<${e}`
+ })
}
- nt.register("features/google-api", ((e = Ose, t) => {
- switch (t.type) {
- case MK:
- return Dse({}, e, {
- googleAPIState: t.googleAPIState,
- googleResponse: t.googleResponse
- });
- case IK:
- return Dse({}, e, {
- profileEmail: t.profileEmail
- })
- }
- return e
- }));
- const Nse = {
- calleeInfoVisible: !1,
- numbersEnabled: !0,
- numbersFetched: !1,
- pendingInviteRequests: []
- };
- nt.register("features/invite", ((e = Nse, t) => {
- switch (t.type) {
- case kW:
- return Mse({}, e, {
- pendingInviteRequests: [...e.pendingInviteRequests, t.request]
- });
- case wW:
- return Mse({}, e, {
- pendingInviteRequests: []
- });
- case SW:
- return Mse({}, e, {
- calleeInfoVisible: t.calleeInfoVisible,
- initialCalleeInfo: t.initialCalleeInfo
- });
- case xW:
- return Mse({}, e, {
- error: t.error
- });
- case CW: {
- if (Array.isArray(t.dialInNumbers)) return Mse({}, e, {
- conferenceID: t.conferenceID,
- numbers: t.dialInNumbers,
- sipUri: t.sipUri,
- numbersEnabled: !0,
- numbersFetched: !0
- });
- bR.warn("Using deprecated API for retrieving phone numbers");
- const {
- numbersEnabled: n
- } = t.dialInNumbers;
- return Mse({}, e, {
- conferenceID: t.conferenceID,
- numbers: t.dialInNumbers,
- numbersEnabled: n,
- numbersFetched: !0
- })
- }
- }
- return e
+ isVersionEqualTo(e) {
+ return this._checkCondition({
+ [this._name]: `~${e}`
+ })
+ }
+ }
+ class zre {
+ getItem() {}
+ setItem() {}
+ removeItem() {}
+ key() {}
+ }
+
+ function Lre(e, t) {
+ const n = JSON.parse(JSON.stringify(t));
+ Object.keys(n).forEach((t => {
+ const a = n[t];
+ delete a.id, e[t] && Object.keys(a).forEach((r => {
+ a[r] === e[t][r] && delete n[t][r]
+ }))
}));
- const zse = {
- disabledFeatures: [],
- status: "ACTIVE"
- };
+ let a = -1 / 0;
+ return Object.keys(n).forEach((e => {
+ const t = n[e];
+ t.timestamp > a && (a = t.timestamp)
+ })), Object.keys(n).forEach((e => {
+ const t = n[e];
+ t.timestamp === a && (t.timestamp = 0)
+ })), n.timestamp = a, n
+ }
- function Rse(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Lse(e, t, n[t])
- }))
- }
- return e
+ function Fre(e) {
+ return {
+ id: e.id,
+ tracks: e.getTracks().map((e => ({
+ id: e.id,
+ kind: e.kind,
+ label: e.label,
+ enabled: e.enabled,
+ muted: e.muted,
+ readyState: e.readyState
+ })))
}
-
- function Lse(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ }
+ new class extends zre {
+ constructor() {
+ let e;
+ super();
+ try {
+ e = window.localStorage
+ } catch (e) {}
+ this.storage = e || new zre
}
-
- function Fse(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- qse(e, t, n[t])
- }))
- }
- return e
+ getItem(e) {
+ return this.storage.getItem(e)
}
-
- function qse(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ setItem(e, t) {
+ return this.storage.setItem(e, t)
}
- nt.register("features/jaas", ((e = zse, t) => t.type === Hz ? t.payload : e)), nt.register("features/large-video", ((e = {}, t) => {
- switch (t.type) {
- case Fv:
- if (e.participantId === t.oldValue) return Rse({}, e, {
- participantId: t.newValue
- });
- break;
- case iX:
- return Rse({}, e, {
- participantId: t.participantId
- });
- case oX:
- return Rse({}, e, {
- resolution: t.resolution
- });
- case sX:
- return Rse({}, e, {
- lastMediaEvent: t.name
- })
- }
- return e
- }));
- const Bse = {
- knocking: !1,
- knockingParticipants: [],
- lobbyEnabled: !1,
- lobbyVisible: !1,
- passwordJoinFailed: !1
- };
-
- function Use(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Hse(e, t, n[t])
- }))
- }
- return e
+ removeItem(e) {
+ return this.storage.removeItem(e)
}
-
- function Hse(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ key(e) {
+ return this.storage.key(e)
}
- nt.register("features/lobby", ((e = Bse, t) => {
- switch (t.type) {
- case UI:
- case HI:
- return Fse({}, e, {
- knocking: !1,
- passwordJoinFailed: !1
- });
- case H4:
- return function(e, t) {
- let n = t.knockingParticipants.find((t => t.id === e.id));
- return n = Fse({}, n, e), Fse({}, t, {
- knockingParticipants: [...t.knockingParticipants.filter((t => t.id !== e.id)), n]
- })
- }(t.participant, e);
- case V4:
- return Fse({}, e, {
- knockingParticipants: e.knockingParticipants.filter((e => e.id !== t.id))
- });
- case Y4:
- return Fse({}, e, {
- knocking: t.knocking,
- passwordJoinFailed: !1
- });
- case W4:
- return Fse({}, e, {
- lobbyEnabled: t.enabled
- });
- case G4:
- return Fse({}, e, {
- lobbyVisible: t.visible
- });
- case tN:
- return Fse({}, e, {
- passwordJoinFailed: !1
- });
- case K4:
- return Fse({}, e, {
- passwordJoinFailed: t.failed
- })
- }
- return e
- }));
- const Vse = {
- enabled: !0,
- notifications: []
- };
+ };
+ var qre = n(7670), Bre = n.n(qre), Ure = n(6516), Hre = n.n(Ure);
- function Wse(e, t) {
- const n = qf[t.props.appearance] || 0;
- let a = e.length;
- for (let t = 1; t < e.length; t++) {
- const r = e[t];
- if ((qf[r.props.appearance] || 0) < n) {
- a = t;
- break
- }
- }
- const r = e.slice();
- return r.splice(a, 0, t), r
- }
+ function Vre(e) {
+ return 0 === e.indexOf("[") || -1 !== e.indexOf(":") ? "x:x:x:x:x:x:x:x" : "x.x.x.x"
+ }
- function Yse(e, t) {
- return Le(e, "loadConfigOverlayVisible", t)
- }
+ function Wre(e) {
+ const t = Hre().parseCandidate(e);
+ return "relay" !== t.type && "ssltcp" !== t.protocol && (t.ip = Vre(t.ip), t.address = Vre(t.address)), t.relatedAddress && (t.relatedAddress = Vre(t.relatedAddress)), Hre().writeCandidate(t)
+ }
- function Gse(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Kse(e, t, n[t])
- }))
- }
- return e
+ function Yre(e) {
+ switch (e[0]) {
+ case "addIceCandidate":
+ case "onicecandidate":
+ if (e[2] && e[2].candidate) {
+ const t = e[2].toJSON();
+ t.candidate = Wre(t.candidate), e[2] = t
+ }
+ break;
+ case "setLocalDescription":
+ case "setRemoteDescription":
+ case "createOfferOnSuccess":
+ case "createAnswerOnSuccess":
+ e[2] && e[2].sdp && (e[2].sdp = (n = e[2].sdp, `${Hre().splitLines(n).map((e=>0===e.indexOf("a=candidate:")?`a=${Wre(e)}`:0===e.indexOf("c=")?"c=IN IP4 0.0.0.0":0===e.indexOf("a=rtcp:")?"a=rtcp:9 IN IP4 0.0.0.0":e)).join("\r\n").trim()}\r\n`));
+ break;
+ case "getStats":
+ case "getstats":
+ e[2] && (t = e[2], Object.keys(t).forEach((e => {
+ const n = t[e];
+ n && (["ipAddress", "ip", "address"].forEach((e => {
+ n[e] && "relayed" !== n.candidateType && (n[e] = Vre(n[e]))
+ })), ["googLocalAddress", "googRemoteAddress"].forEach((e => {
+ let t, a, r;
+ n[e] && (r = "[" === n[e][0] ? "]:" : ":", [a, t] = n[e].split(r), n[e] = `${Vre(a)}:${t}`)
+ })))
+ })))
}
+ var t, n
+ }
+ const Gre = $e("features/rtcstats");
- function Kse(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
- }
- nt.register("features/notifications", ((e = Vse, t) => {
- switch (t.type) {
- case Tf:
- return Use({}, e, {
- notifications: []
- });
- case Of:
- return Use({}, e, {
- notifications: e.notifications.filter((e => e.uid !== t.uid))
- });
- case Nf:
- return Use({}, e, {
- notifications: e.notifications.filter((e => !e.props.raiseHandNotification))
- });
- case If:
- return Use({}, e, {
- enabled: t.enabled
- });
- case Mf:
- return Use({}, e, {
- notifications: Wse(e.notifications, {
- component: t.component,
- props: t.props,
- timeout: t.timeout,
- uid: t.uid
- })
- })
- }
- return e
- })), nt.register("features/overlay", ((e = {}, t) => {
- switch (t.type) {
- case Nn:
- return Yse(e, Boolean(t.room));
- case zn:
- case Rn:
- return Yse(!1);
- case kN:
- return function(e, {
- browser: t,
- isVisible: n
- }) {
- return Ne(e, {
- browser: t,
- isMediaPermissionPromptVisible: n
+ function Kre(e) {
+ if (e && e.iceServers[0] && e.iceServers[0].urls)
+ for (const t of e.iceServers[0].urls)
+ if (t.indexOf("taas.callstats.io") >= 0) return !0
+ }
+ const $re = new class {
+ init(e) {
+ const {
+ endpoint: t,
+ useLegacy: n,
+ pollInterval: a
+ } = e, r = {
+ endpoint: t,
+ onCloseCallback: this.handleTraceWSClose.bind(this),
+ useLegacy: n
+ }, i = {
+ connectionFilter: Kre,
+ pollInterval: a,
+ useLegacy: n
+ };
+ this.trace = function(e) {
+ let {
+ endpoint: t,
+ onCloseCallback: n,
+ useLegacy: a,
+ obfuscate: r = !0,
+ pingInterval: i = 3e4
+ } = e;
+ const o = [],
+ s = Bre().v4();
+ let l, c;
+ const u = a ? "3.1_LEGACY" : "3.1_STANDARD",
+ d = function(e) {
+ const t = JSON.stringify(e);
+ l && l.readyState === WebSocket.OPEN ? l.send(t) : l && l.readyState >= WebSocket.CLOSING || o.length < 300 && o.push(t)
+ };
+ return d.identity = function() {
+ for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) t[n] = arguments[n];
+ t.push((new Date).getTime()), d({
+ statsSessionId: s,
+ type: "identity",
+ data: t
})
- }(e, t);
- case wN:
- return function(e, {
- fatalError: t
- }) {
- return Le(e, "fatalError", t)
- }(e, t);
- case _N:
- return function(e, {
- isVisible: t
- }) {
- return Ne(e, {
- isSlowGUMOverlayVisible: t
+ }, d.statsEntry = function() {
+ for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) t[n] = arguments[n];
+ r && Yre(t), t.push((new Date).getTime());
+ const a = {
+ statsSessionId: s,
+ type: "stats-entry",
+ data: JSON.stringify(t)
+ };
+ d(a)
+ }, d.keepAlive = function() {
+ d({
+ statsSessionId: s,
+ type: "keepalive"
})
- }(e, t)
- }
- return e
- }));
- const $se = {
- polls: {},
- nbUnreadPolls: 0
- };
-
- function Jse(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Zse(e, t, n[t])
- }))
- }
- return e
+ }, d.close = function() {
+ l && l.close()
+ }, d.connect = function() {
+ l && l.close(), l = new WebSocket(t + window.location.pathname, u), l.onclose = function(e) {
+ c && clearInterval(c), n({
+ code: e.code,
+ reason: e.reason
+ })
+ }, l.onopen = function() {
+ for (c = setInterval(d.keepAlive, i); o.length;) l.send(o.shift())
+ }
+ }, d
+ }(r),
+ function(e, t) {
+ let {
+ statsEntry: n
+ } = e, {
+ connectionFilter: a,
+ pollInterval: r,
+ useLegacy: i,
+ sendSdp: o = !1,
+ prefixesToWrap: s = [""]
+ } = t, l = 0;
+ const c = new Rre,
+ u = c.isFirefox(),
+ d = c.isSafari(),
+ p = c.isChrome(),
+ h = c.isElectron();
+ if (!(u || d || p || h)) throw new Error("RTCStats unsupported browser.");
+ if (s.forEach((e => {
+ if (!window[`${e}RTCPeerConnection`]) return;
+ const t = window[`${e}RTCPeerConnection`],
+ s = function(e, o) {
+ const s = {
+ ...e
+ },
+ c = {
+ ...o
+ };
+ try {
+ const s = new t(e, o);
+ if (a && a(e)) return s;
+ const c = "PC_" + l++;
+ s.__rtcStatsId = c, e || (e = {
+ nullConfig: !0
+ }), ((e = JSON.parse(JSON.stringify(e))) && e.iceServers || []).forEach((e => {
+ delete e.credential
+ })), e.browserType = u ? "moz" : "webkit", n("create", c, e), o && n("constraints", c, o), s.addEventListener("icecandidate", (e => {
+ n("onicecandidate", c, e.candidate)
+ })), s.addEventListener("addstream", (e => {
+ n("onaddstream", c, `${e.stream.id} ${e.stream.getTracks().map((e=>`${e.kind}:${e.id}`))}`)
+ })), s.addEventListener("track", (e => {
+ n("ontrack", c, `${e.track.kind}:${e.track.id} ${e.streams.map((e=>`stream:${e.id}`))}`)
+ })), s.addEventListener("removestream", (e => {
+ n("onremovestream", c, `${e.stream.id} ${e.stream.getTracks().map((e=>`${e.kind}:${e.id}`))}`)
+ })), s.addEventListener("signalingstatechange", (() => {
+ n("onsignalingstatechange", c, s.signalingState)
+ })), s.addEventListener("iceconnectionstatechange", (() => {
+ n("oniceconnectionstatechange", c, s.iceConnectionState)
+ })), s.addEventListener("icegatheringstatechange", (() => {
+ n("onicegatheringstatechange", c, s.iceGatheringState)
+ })), s.addEventListener("connectionstatechange", (() => {
+ n("onconnectionstatechange", c, s.connectionState)
+ })), s.addEventListener("negotiationneeded", (() => {
+ n("onnegotiationneeded", c, void 0)
+ })), s.addEventListener("datachannel", (e => {
+ n("ondatachannel", c, [e.channel.id, e.channel.label])
+ }));
+ let m = {};
+ const f = function() {
+ u || d || (p || h) && !i ? s.getStats(null).then((e => {
+ const t = function(e) {
+ if (!e.entries) return e;
+ const t = {};
+ return e.forEach(((e, n) => {
+ t[n] = e
+ })), t
+ }(e),
+ a = JSON.parse(JSON.stringify(t));
+ n("getstats", c, Lre(m, t)), m = a
+ })) : (p || h) && s.getStats((e => {
+ const t = function(e, t) {
+ const n = {};
+ return t.result().forEach((e => {
+ const t = {
+ id: e.id,
+ timestamp: e.timestamp.getTime(),
+ type: e.type
+ };
+ e.names().forEach((n => {
+ t[n] = e.stat(n)
+ })), n[t.id] = t
+ })), n
+ }(0, e),
+ a = JSON.parse(JSON.stringify(t));
+ n("getstats", c, Lre(m, t)), m = a
+ }))
+ };
+ if (r) {
+ const e = window.setInterval((() => {
+ "closed" !== s.signalingState ? f() : window.clearInterval(e)
+ }), r)
+ }
+ return s.addEventListener("iceconnectionstatechange", (() => {
+ "connected" === s.iceConnectionState && f()
+ })), s
+ } catch (e) {
+ return console.error("RTCStats PeerConnection bind failed: ", e), new t(s, c)
+ }
+ };
+ ["createDataChannel", "close"].forEach((e => {
+ const a = t.prototype[e];
+ a && (t.prototype[e] = function() {
+ try {
+ n(e, this.__rtcStatsId, arguments)
+ } catch (t) {
+ console.error(`RTCStats ${e} bind failed: `, t)
+ }
+ return a.apply(this, arguments)
+ })
+ })), ["addStream", "removeStream"].forEach((e => {
+ const a = t.prototype[e];
+ a && (t.prototype[e] = function() {
+ try {
+ const t = arguments[0],
+ a = t.getTracks().map((e => `${e.kind}:${e.id}`)).join(",");
+ n(e, this.__rtcStatsId, `${t.id} ${a}`)
+ } catch (t) {
+ console.error(`RTCStats ${e} bind failed: `, t)
+ }
+ return a.apply(this, arguments)
+ })
+ })), ["addTrack"].forEach((e => {
+ const a = t.prototype[e];
+ a && (t.prototype[e] = function() {
+ try {
+ const t = arguments[0],
+ a = [].slice.call(arguments, 1);
+ n(e, this.__rtcStatsId, `${t.kind}:${t.id} ${a.map((e=>`stream:${e.id}`)).join(";")||"-"}`)
+ } catch (t) {
+ console.error(`RTCStats ${e} bind failed: `, t)
+ }
+ return a.apply(this, arguments)
+ })
+ })), ["removeTrack"].forEach((e => {
+ const a = t.prototype[e];
+ a && (t.prototype[e] = function() {
+ try {
+ const t = arguments[0].track;
+ n(e, this.__rtcStatsId, t ? `${t.kind}:${t.id}` : "null")
+ } catch (t) {
+ console.error(`RTCStats ${e} bind failed: `, t)
+ }
+ return a.apply(this, arguments)
+ })
+ })), ["createOffer", "createAnswer"].forEach((e => {
+ const a = t.prototype[e];
+ a && (t.prototype[e] = function() {
+ const t = this.__rtcStatsId,
+ r = arguments;
+ let i;
+ 1 === arguments.length && "object" == typeof arguments[0] ? i = arguments[0] : 3 === arguments.length && "object" == typeof arguments[2] && (i = arguments[2]);
+ try {
+ n(e, this.__rtcStatsId, i)
+ } catch (t) {
+ console.error(`RTCStats ${e} bind failed: `, t)
+ }
+ return a.apply(this, i ? [i] : void 0).then((a => {
+ try {
+ n(`${e}OnSuccess`, t, o ? a : "")
+ } catch (t) {
+ console.error(`RTCStats ${e} promise success bind failed: `, t)
+ }
+ if (!(r.length > 0 && "function" == typeof r[0])) return a;
+ r[0].apply(null, [a])
+ }), (a => {
+ try {
+ n(`${e}OnFailure`, t, a.toString())
+ } catch (t) {
+ console.error(`RTCStats ${e} promise failure bind failed: `, t)
+ }
+ if (!(r.length > 1 && "function" == typeof r[1])) throw a;
+ r[1].apply(null, [a])
+ }))
+ })
+ })), ["setLocalDescription", "setRemoteDescription", "addIceCandidate"].forEach((e => {
+ const a = t.prototype[e];
+ a && (t.prototype[e] = function() {
+ const t = this.__rtcStatsId,
+ r = arguments;
+ try {
+ const t = o ? r[0] : "";
+ n(e, this.__rtcStatsId, t)
+ } catch (t) {
+ console.error(`RTCStats ${e} bind failed: `, t)
+ }
+ return a.apply(this, [r[0]]).then((() => {
+ try {
+ n(`${e}OnSuccess`, t, void 0)
+ } catch (t) {
+ console.error(`RTCStats ${e} promise success bind failed: `, t)
+ }
+ r.length >= 2 && "function" == typeof r[1] && r[1].apply(null, [])
+ }), (a => {
+ try {
+ n(`${e}OnFailure`, t, a.toString())
+ } catch (t) {
+ console.error(`RTCStats ${e} promise failure bind failed: `, t)
+ }
+ if (!(r.length >= 3 && "function" == typeof r[2])) throw a;
+ r[2].apply(null, [a])
+ }))
+ })
+ })), t.generateCertificate && Object.defineProperty(s, "generateCertificate", {
+ get() {
+ return arguments.length ? t.generateCertificate.apply(null, arguments) : t.generateCertificate
+ }
+ }), window[`${e}RTCPeerConnection`] = s, window[`${e}RTCPeerConnection`].prototype = t.prototype
+ })), s.forEach((e => {
+ const t = e + (e.length ? "GetUserMedia" : "getUserMedia");
+ if (!navigator[t]) return;
+ const a = navigator[t].bind(navigator);
+ navigator[t] = function() {
+ try {
+ n("getUserMedia", null, arguments[0])
+ } catch (e) {
+ console.error("RTCStats getUserMedia bind failed: ", e)
+ }
+ const e = arguments[1],
+ t = arguments[2];
+ a(arguments[0], (t => {
+ try {
+ n("getUserMediaOnSuccess", null, Fre(t))
+ } catch (e) {
+ console.error("RTCStats getUserMediaOnSuccess bind failed: ", e)
+ }
+ e && e(t)
+ }), (e => {
+ try {
+ n("getUserMediaOnFailure", null, e.name)
+ } catch (e) {
+ console.error("RTCStats getUserMediaOnFailure bind failed: ", e)
+ }
+ t && t(e)
+ }))
+ }.bind(navigator)
+ })), navigator.mediaDevices && navigator.mediaDevices.getUserMedia) {
+ const e = navigator.mediaDevices.getUserMedia.bind(navigator.mediaDevices),
+ t = function() {
+ try {
+ n("navigator.mediaDevices.getUserMedia", null, arguments[0])
+ } catch (e) {
+ console.error("RTCStats navigator.mediaDevices.getUserMedia bind failed: ", e)
+ }
+ return e.apply(navigator.mediaDevices, arguments).then((e => {
+ try {
+ n("navigator.mediaDevices.getUserMediaOnSuccess", null, Fre(e))
+ } catch (e) {
+ console.error("RTCStats navigator.mediaDevices.getUserMediaOnSuccess bind failed: ", e)
+ }
+ return e
+ }), (e => {
+ try {
+ n("navigator.mediaDevices.getUserMediaOnFailure", null, e.name)
+ } catch (e) {
+ console.error("RTCStats navigator.mediaDevices.getUserMediaOnFailure bind failed: ", e)
+ }
+ return Promise.reject(e)
+ }))
+ };
+ navigator.mediaDevices.getUserMedia = t.bind(navigator.mediaDevices)
+ }
+ if (navigator.mediaDevices && navigator.mediaDevices.getDisplayMedia) {
+ const e = navigator.mediaDevices.getDisplayMedia.bind(navigator.mediaDevices),
+ t = function() {
+ try {
+ n("navigator.mediaDevices.getDisplayMedia", null, arguments[0])
+ } catch (e) {
+ console.error("RTCStats navigator.mediaDevices.getDisplayMedia bind failed: ", e)
+ }
+ return e.apply(navigator.mediaDevices, arguments).then((e => {
+ try {
+ n("navigator.mediaDevices.getDisplayMediaOnSuccess", null, Fre(e))
+ } catch (e) {
+ console.error("RTCStats navigator.mediaDevices.getDisplayMediaOnSuccess bind failed: ", e)
+ }
+ return e
+ }), (e => {
+ try {
+ n("navigator.mediaDevices.getDisplayMediaOnFailure", null, e.name)
+ } catch (e) {
+ console.error("RTCStats navigator.mediaDevices.getDisplayMediaOnFailure bind failed: ", e)
+ }
+ return Promise.reject(e)
+ }))
+ };
+ navigator.mediaDevices.getDisplayMedia = t.bind(navigator.mediaDevices)
+ }
+ }(this.trace, i), this.initialized = !0
}
-
- function Zse(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ isInitialized() {
+ return this.initialized
}
- nt.register("features/polls", ((e = $se, t) => {
- switch (t.type) {
- case K3:
- return Gse({}, e, {
- polls: Gse({}, e.polls, {
- [t.pollId]: t.poll
- }),
- nbUnreadPolls: e.nbUnreadPolls + 1
- });
- case $3: {
- const {
- pollId: n,
- answer: a
- } = t;
- if (!(n in e.polls)) return console.warn("requested poll does not exist: pollId ", n), e;
- const r = e.polls[n].answers.map((e => ({
- name: e.name,
- voters: new Map(e.voters)
- })));
- for (let e = 0; e < r.length; e++) {
- const t = r[e].voters;
- a.answers[e] ? t.set(a.voterId, a.voterName) : t.delete(a.voterId)
- }
- return Gse({}, e, {
- polls: Gse({}, e.polls, {
- [n]: Gse({}, e.polls[n], {
- answers: r
- })
- })
+ sendIdentityData(e) {
+ this.trace && this.trace.identity("identity", null, e)
+ }
+ sendDominantSpeakerData(e) {
+ this.trace && this.trace.statsEntry("dominantSpeaker", null, e)
+ }
+ sendFacialExpressionData(e) {
+ this.trace && this.trace.statsEntry("facialExpression", null, e)
+ }
+ connect() {
+ this.trace && this.trace.connect()
+ }
+ close() {
+ this.trace && this.trace.close()
+ }
+ handleTraceWSClose(e) {
+ Gre.info("RTCStats trace ws closed", e), Da(function(e) {
+ const t = {
+ action: "trace.onclose",
+ source: "rtcstats"
+ };
+ return t.code = e.code, t.reason = e.reason, t
+ }(e))
+ }
+ };
+
+ function Jre(e) {
+ var t, n;
+ if ("ReactNative" === navigator.product) return !1;
+ const a = Fe(e)["features/base/config"];
+ return null !== (t = null == a || null === (n = a.analytics) || void 0 === n ? void 0 : n.rtcstatsEnabled) && void 0 !== t && t
+ }
+
+ function Zre(e) {
+ return Jre(e) && $re.isInitialized()
+ }
+ qe.register((e => t => n => {
+ const a = e.getState(),
+ r = a["features/base/config"],
+ {
+ analytics: i
+ } = r;
+ switch (n.type) {
+ case v:
+ if (Jre(a)) try {
+ const e = i.rtcstatsPollInterval || 1e3,
+ t = i.rtcstatsUseLegacy || !1;
+ $re.init({
+ endpoint: i.rtcstatsEndpoint,
+ useLegacy: t,
+ pollInterval: e
+ })
+ } catch (e) {
+ Gre.error("Failed to initialize RTCStats: ", e)
+ }
+ break;
+ case GF:
+ if (Zre(a)) try {
+ $re.connect();
+ const e = Uh(a),
+ t = bF(a),
+ {
+ conference: r
+ } = n,
+ i = r && r.getMeetingUniqueId(),
+ o = t.statisticsId || t.statisticsDisplayName || l.getItem("callStatsUserName");
+ $re.sendIdentityData({
+ ...Pa(),
+ ...t,
+ endpointId: null == e ? void 0 : e.id,
+ confName: kF(a),
+ displayName: o,
+ meetingUniqueId: i
})
+ } catch (e) {
+ Gre.error("RTCStats connect failed with: ", e)
}
- case J3: {
+ break;
+ case Nw:
+ if (Zre(a)) {
const {
- answers: n,
- pollId: a
- } = t;
- return Gse({}, e, {
- polls: Gse({}, e.polls, {
- [a]: Gse({}, e.polls[a], {
- lastVote: n,
- showResults: !0
- })
- })
+ id: e,
+ previousSpeakers: t
+ } = n.participant;
+ $re.sendDominantSpeakerData({
+ dominantSpeakerEndpoint: e,
+ previousSpeakers: t
})
}
- case Z3: {
+ break;
+ case Lne:
+ if (Zre(a)) {
const {
- pollId: n
- } = t;
- return Gse({}, e, {
- polls: Gse({}, e.polls, {
- [n]: Gse({}, e.polls[n], {
- showResults: !1
- })
- })
+ duration: e,
+ facialExpression: t
+ } = n;
+ $re.sendFacialExpressionData({
+ duration: e,
+ facialExpression: t
})
}
- case Q3:
- return Gse({}, e, {
- nbUnreadPolls: 0
- });
- default:
- return e
- }
- })), nt.register("features/reactions", ((e = {
- visible: !1,
- buffer: [],
- timeoutID: null,
- queue: [],
- notificationDisplayed: !1
- }, t) => {
- switch (t.type) {
- case Z6:
- return Jse({}, e, {
- visible: !e.visible
- });
- case Q6:
- return Jse({}, e, {
- buffer: t.buffer,
- timeoutID: t.timeoutID
- });
- case X6:
- return Jse({}, e, {
- buffer: [],
- timeoutID: null
- });
- case t4:
- return Jse({}, e, {
- queue: t.value
- });
- case r4:
- return Jse({}, e, {
- notificationDisplayed: !0
- })
- }
- return e
- }));
- const Qse = Je("features/recent-list");
-
- function Xse(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
}
- const ele = [],
- tle = "features/recent-list";
-
- function nle(e, t) {
- return LI(new URL(e)) === LI(new URL(t))
- }
-
- function ale(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- rle(e, t, n[t])
- }))
+ return t(n)
+ })), qe.register((e => {
+ let {
+ dispatch: t,
+ getState: n
+ } = e;
+ return e => a => {
+ const r = e(a);
+ switch (a.type) {
+ case AQ: {
+ const e = HQ(n());
+ t(MQ(e));
+ break
+ }
+ case TQ:
+ if (a.getSpeakerStats) {
+ const e = n(),
+ r = HQ(e, {
+ ...a.getSpeakerStats()
+ }),
+ i = function(e) {
+ var t, n;
+ return null !== (t = null === (n = e["features/speaker-stats"]) || void 0 === n ? void 0 : n.pendingReorder) && void 0 !== t && t
+ }(e);
+ t(MQ(i ? function(e, t) {
+ const n = function(e) {
+ var t, n;
+ return null !== (t = null === (n = e["features/base/config"]) || void 0 === n ? void 0 : n.speakerStatsOrder) && void 0 !== t ? t : ["role", "name", "hasLeft"]
+ }(e);
+ if (n) {
+ const i = function(e, t, n) {
+ if (!n) return t;
+ for (const a in t)
+ if (t[a].hasOwnProperty("_hasLeft") && !t[a].hasLeft() && n.includes("role")) {
+ const n = Vh(e, t[a].getUserId());
+ t[a].isModerator = n && n.role === Rh
+ } return t
+ }(e, t, n),
+ o = (a = i, r = (e, t) => {
+ if (n.includes("hasLeft")) {
+ if (t.hasLeft() && !e.hasLeft()) return -1;
+ if (e.hasLeft() && !t.hasLeft()) return 1
+ }
+ let a;
+ for (const r of n) {
+ switch (r) {
+ case "role":
+ a = !t.isModerator && e.isModerator ? -1 : !e.isModerator && t.isModerator ? 1 : 0;
+ break;
+ case "name":
+ a = (e.displayName || "").localeCompare(t.displayName || "")
+ }
+ if (0 !== a) break
+ }
+ return a
+ }, Object.entries(a).sort(((e, t) => {
+ let [, n] = e, [, a] = t;
+ return r(n, a)
+ })).reduce(((e, t) => {
+ let [n, a] = t;
+ return {
+ ...e,
+ [n]: a
+ }
+ }), {}));
+ return o
+ }
+ var a, r
+ }(e, r) : r))
+ }
+ break;
+ case qw:
+ case Uw:
+ case Bw:
+ case Hw:
+ t({
+ type: PQ
+ })
}
- return e
+ return r
}
+ }));
+ const Qre = $e("features/subtitles"), Xre = "transcription-result", eie = "translation-result";
- function rle(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
- }
- et.register(tle), nt.register(tle, ((e = function() {
- const e = l.getItem("recentURLs");
- if (e) try {
- return r.parse(e)
- } catch (e) {
- Qse.warn("Failed to parse legacy recent-room list!")
+ function tie(e, t, n) {
+ n.clearTimeOut && clearTimeout(n.clearTimeOut), n.clearTimeOut = setTimeout((() => e(function(e) {
+ return {
+ type: Ia,
+ transcriptMessageID: e
}
- return []
- }(), t) => {
- if (Zne()) switch (t.type) {
- case Ya:
- return function(e) {
- if (e && "object" == typeof e) {
- if (Array.isArray(e)) return e;
+ }(t))), 3e3)
+ }
+ qe.register((e => t => n => {
+ switch (n.type) {
+ case Ma:
+ return function(e, t, n) {
+ let {
+ dispatch: a,
+ getState: r
+ } = e;
+ const {
+ json: i
+ } = n;
+ if (!i || i.type !== Xre && i.type !== eie) return t(n);
+ const o = r(),
+ s = o["features/base/conference"].conference.getLocalParticipantProperty("translation_language");
+ try {
+ const e = i.message_id,
+ t = i.participant.name;
+ if (i.type === eie && i.language === s) {
+ const n = {
+ clearTimeOut: void 0,
+ final: i.text,
+ participantName: t
+ };
+ tie(a, e, n), a(za(e, n))
+ } else if (i.type === Xre && !s) {
const {
- list: t
- } = e;
- if (Array.isArray(t) && t.length) return t.slice()
+ text: n
+ } = i.transcript[0], r = {
+ ...o["features/subtitles"]._transcriptMessages.get(e) || {
+ participantName: t
+ }
+ };
+ tie(a, e, r), i.is_interim ? i.stability > .85 ? (r.stable = n, r.unstable = void 0) : r.unstable = n : r.final = n, a(za(e, r))
}
- return ele
- }(e);
- case Kne:
- return function(e, t) {
- return e.filter((e => e.conference !== t.url || e.date !== t.date))
- }(e, t.entryId);
- case $ne:
- return function(e, {
- locationURL: t
- }) {
- const n = t.href,
- a = e.filter((e => !nle(e.conference, n)));
- return a.push({
- conference: n,
- date: Date.now(),
- duration: 0
- }), a.splice(0, a.length - 30), a
- }(e, t);
- case Jne:
- return function(e, {
- locationURL: t
- }) {
- if (t && t.href && e.length) {
- const n = e.length - 1,
- a = e[n];
- if (nle(a.conference, t.href)) {
- const t = function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Xse(e, t, n[t])
- }))
- }
- return e
- }({}, a, {
- duration: Date.now() - a.date
- });
- delete t.conferenceDuration;
- const r = e.slice();
- return r[n] = t, r
- }
+ } catch (e) {
+ Qre.error("Error occurred while updating transcriptions\n", e)
+ }
+ return t(n)
+ }(e, t, n);
+ case Na:
+ ! function(e) {
+ let {
+ getState: t
+ } = e;
+ const n = t(),
+ {
+ _requestingSubtitles: a
+ } = n["features/subtitles"],
+ {
+ conference: r
+ } = n["features/base/conference"];
+ r.setLocalParticipantProperty("requestingTranscription", !a)
+ }(e)
+ }
+ return t(n)
+ })), qe.register((e => t => n => {
+ switch (n.type) {
+ case vM: {
+ const {
+ timeoutID: t
+ } = e.getState()["features/toolbox"];
+ clearTimeout(t);
+ break
+ }
+ case _M:
+ return function(e, t) {
+ const n = e(t);
+ if ("object" == typeof APP) {
+ const {
+ fullScreen: e
+ } = t;
+ if (e) {
+ const e = document.documentElement || {};
+ return "function" == typeof e.requestFullscreen ? e.requestFullscreen() : "function" == typeof e.mozRequestFullScreen ? e.mozRequestFullScreen() : "function" == typeof e.webkitRequestFullscreen && e.webkitRequestFullscreen(), n
}
- return e
- }(e, t);
- default:
- return e
+ "function" == typeof document.exitFullscreen ? document.exitFullscreen() : "function" == typeof document.mozCancelFullScreen ? document.mozCancelFullScreen() : "function" == typeof document.webkitExitFullscreen && document.webkitExitFullscreen()
+ }
+ return n
+ }(t, n);
+ case CM: {
+ const {
+ timeoutID: t
+ } = e.getState()["features/toolbox"], {
+ handler: a,
+ timeoutMS: r
+ } = n;
+ clearTimeout(t), n.timeoutID = setTimeout(a, r);
+ break
}
- return e
- }));
- const ile = {
- pendingNotificationUids: {},
- selectedRecordingService: "",
- sessionDatas: []
- };
-
- function ole(e, t) {
- let n;
- return n = e.find((e => e.id === t.id)) ? e.map((e => e.id === t.id ? ale({}, t) : e)) : [...e, ale({}, t)], n
}
+ return t(n)
+ }));
+ const nie = "TRANSCRIBER_JOINED", aie = "TRANSCRIBER_LEFT", rie = "POTENTIAL_TRANSCRIBER_JOINED", iie = "SET_PENDING_TRANSCRIBING_NOTIFICATION_UID";
- function sle(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- lle(e, t, n[t])
- }))
- }
- return e
+ function oie(e) {
+ return {
+ type: nie,
+ transcriberJID: e
}
+ }
+ const sie = "Transcriber";
+ let lie;
- function lle(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
- }
+ function cie(e) {
+ let {
+ dispatch: t,
+ getState: n
+ } = e;
+ const {
+ tileViewEnabled: a
+ } = n()["features/video-layout"];
+ void 0 === a && void 0 !== lie && t(tE(lie)), lie = void 0
+ }
- function cle(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- ule(e, t, n[t])
- }))
- }
- return e
- }
+ function uie(e) {
+ let {
+ dispatch: t,
+ getState: n
+ } = e;
+ const {
+ tileViewEnabled: a
+ } = n()["features/video-layout"];
+ void 0 !== a && (lie = a, t(tE(void 0)))
+ }
- function ule(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
- }
- nt.register("features/recording", ((e = ile, t) => {
- switch (t.type) {
- case pG:
- return ale({}, e, {
- sessionDatas: []
- });
- case hG:
- return ale({}, e, {
- sessionDatas: ole(e.sessionDatas, t.sessionData)
- });
- case mG: {
- const n = ale({}, e.pendingNotificationUids);
- return n[t.streamType] = t.uid, ale({}, e, {
- pendingNotificationUids: n
- })
- }
- case fG:
- return ale({}, e, {
- selectedRecordingService: t.selectedRecordingService
- });
- case "SET_STREAM_KEY":
- return ale({}, e, {
- streamKey: t.streamKey
- });
- default:
- return e
- }
- })), nt.register("features/settings", ((e = {}, t) => {
- switch (t.type) {
- case dW:
- return sle({}, e, {
- audioSettingsVisible: t.value
- });
- case pW:
- return sle({}, e, {
- videoSettingsVisible: t.value
- })
- }
- return e
- }));
- const dle = {
- stats: {},
- pendingReorder: !0,
- criteria: null
- };
+ function die(e, t) {
+ let {
+ getState: n
+ } = t;
+ const a = n(),
+ {
+ conference: r
+ } = a["features/base/conference"];
+ r && (f7.info(`Setting sender resolution to ${e}`), r.setSenderVideoConstraint(e).catch((t => {
+ wF(t), Pt(t, `Changing sender resolution to ${e} failed.`)
+ })))
+ }
- function ple(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- hle(e, t, n[t])
- }))
- }
- return e
+ function pie(e) {
+ let {
+ getState: t
+ } = e;
+ const n = t(),
+ {
+ conference: a
+ } = n["features/base/conference"];
+ if (!a) return;
+ const {
+ lastN: r
+ } = n["features/base/lastn"], {
+ maxReceiverVideoQuality: i,
+ preferredVideoQuality: o
+ } = n["features/video-quality"], {
+ participantId: s
+ } = n["features/large-video"], l = Math.min(i, o), {
+ remoteScreenShares: c
+ } = n["features/video-layout"], {
+ visibleRemoteParticipants: u
+ } = n["features/filmstrip"], d = {
+ constraints: {},
+ defaultConstraints: {
+ maxHeight: d7.NONE
+ },
+ lastN: r,
+ onStageEndpoints: [],
+ selectedEndpoints: []
+ };
+ if (QS(n)) {
+ if (null == u || !u.size) return;
+ u.forEach((e => {
+ d.constraints[e] = {
+ maxHeight: l
+ }
+ })), (null == c ? void 0 : c.length) && (d.selectedEndpoints = c)
+ } else {
+ if (!(null != u && u.size || s)) return;
+ (null == u ? void 0 : u.size) > 0 && u.forEach((e => {
+ d.constraints[e] = {
+ maxHeight: d7.LOW
+ }
+ })), s && (d.constraints[s] = {
+ maxHeight: l
+ }, d.onStageEndpoints = [s])
}
-
- function hle(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ try {
+ a.setReceiverConstraints(d)
+ } catch (e) {
+ wF(e), Pt(e, `Failed to set receiver video constraints ${JSON.stringify(d)}`)
}
- nt.register("features/speaker-stats", ((e = function() {
- return dle
- }(), t) => {
- switch (t.type) {
- case PZ:
- return function(e, {
- criteria: t
- }) {
- return k().assign({}, e, {
- criteria: t
- })
- }(e, t);
- case TZ:
- return function(e, {
- stats: t
- }) {
- const n = e.pendingReorder ? t : e.stats;
- if (!e.pendingReorder) {
- const e = Object.keys(t);
- e.forEach((e => {
- n[e] = k().clone(t[e])
- })), Object.keys(n).forEach((t => {
- e.includes(t) || delete n[t]
- }))
+ }
+ qe.register((e => t => n => {
+ const {
+ transcriberJID: a,
+ potentialTranscriberJIDs: r
+ } = e.getState()["features/transcribing"];
+ switch (n.type) {
+ case aie:
+ e.dispatch(tg({
+ descriptionKey: "transcribing.off",
+ titleKey: "dialog.transcribing"
+ }, Yf.SHORT));
+ break;
+ case Ww:
+ n.displayName && n.displayName === sie ? e.dispatch(oie(n.id)) : e.dispatch((i = n.id, {
+ type: rie,
+ transcriberJID: i
+ }));
+ break;
+ case Yw:
+ n.id === a && e.dispatch(function(e) {
+ return {
+ type: aie,
+ transcriberJID: e
+ }
+ }(n.id));
+ break;
+ case Hw: {
+ const {
+ participant: t
+ } = n;
+ r.includes(t.id) && t.name === sie && (e.dispatch(oie(t.id)), e.dispatch(((e, t) => {
+ const {
+ pendingNotificationUid: n
+ } = t()["features/transcribing"];
+ n && (e(Xf(n)), e(function(e) {
+ return {
+ type: iie,
+ uid: e
}
- return k().assign({}, e, {
- stats: cle({}, n),
- pendingReorder: !1
- })
- }(e, t);
- case OZ:
- return function(e) {
- return k().assign({}, e, {
- pendingReorder: !0
- })
- }(e)
+ }()))
+ })));
+ break
}
- return e
- }));
- const mle = {
- _transcriptMessages: new Map,
- _requestingSubtitles: !1
- };
-
- function fle(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- gle(e, t, n[t])
- }))
+ }
+ var i;
+ return t(n)
+ })), tt.register((e => e["features/base/tracks"]), Nj()(((e, t) => {
+ if (!$S() || bZ(t)) return;
+ const n = t.getState()["features/video-layout"].remoteScreenShares || [],
+ a = e.reduce(((e, t) => ("video" === t.mediaType && "desktop" === t.videoType && ("remote-only" === $S() && t.local || e.push(t.participantId)), e)), []),
+ r = n.filter((e => a.includes(e)));
+ a.forEach((e => {
+ r.includes(e) || r.push(e)
+ })), Re(n, r) || (t.dispatch({
+ type: mS,
+ participantIds: r
+ }), XS(n, t))
+ }), 100)), qe.register((e => t => n => {
+ let a = !1;
+ switch (n.type) {
+ case Uw:
+ var r;
+ if (!$S() || bZ(e)) break;
+ a = null === (r = Vh(e.getState(), n.participant.id)) || void 0 === r ? void 0 : r.isFakeParticipant
+ }
+ const i = t(n);
+ switch (n.type) {
+ case Vw:
+ Zh(e.getState()) ? uie(e) : cie(e);
+ break;
+ case p1:
+ n.editing ? uie(e) : cie(e);
+ break;
+ case fS:
+ n.enabled && Zh(e) && e.dispatch(uS(null))
+ }
+ return a && XS(e.getState()["features/video-layout"].remoteScreenShares || [], e), i
+ })), tt.register((e => vF(e)), ((e, t, n) => {
+ let {
+ dispatch: a
+ } = t;
+ e !== n && a(tE())
+ })), qe.register((e => t => n => {
+ const a = t(n);
+ switch (n.type) {
+ case $F:
+ X9.reset();
+ break;
+ case qw:
+ n.participant.local || X9.updateVideoMutedForNoTracks(n.participant.id);
+ break;
+ case Hw:
+ void 0 !== n.participant.connectionStatus && X9.onParticipantConnectionStatusChanged(n.participant.id, n.participant.connectionStatus);
+ break;
+ case _0:
+ case w0:
+ case wS:
+ X9.resizeVideoArea();
+ break;
+ case up:
+ n.track.mediaType !== Fi && X9._updateLargeVideoIfDisplayed(n.track.participantId, !0);
+ break;
+ case fp:
+ if (n.track.jitsiTrack.isLocal()) {
+ const t = Uh(e.getState);
+ X9._updateLargeVideoIfDisplayed(null == t ? void 0 : t.id)
+ }
+ break;
+ case mp:
+ n.track.local || n.track.mediaType === Fi || X9.updateVideoMutedForNoTracks(n.track.jitsiTrack.getParticipantId())
+ }
+ return a
+ })), tt.register((e => e["features/filmstrip"].visibleRemoteParticipants), Nj()(((e, t) => {
+ pie(t)
+ }), 100)), tt.register((e => e["features/large-video"].participantId), ((e, t) => {
+ pie(t)
+ })), tt.register((e => e["features/base/conference"].conference), ((e, t) => {
+ pie(t)
+ })), tt.register((e => e["features/video-layout"].tileViewEnabled), ((e, t) => {
+ pie(t)
+ })), tt.register((e => e["features/base/lastn"].lastN), ((e, t) => {
+ pie(t)
+ })), tt.register((e => {
+ const {
+ maxReceiverVideoQuality: t,
+ preferredVideoQuality: n
+ } = e["features/video-quality"];
+ return {
+ maxReceiverVideoQuality: t,
+ preferredVideoQuality: n
+ }
+ }), (function(e, t) {
+ let n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {};
+ const {
+ maxReceiverVideoQuality: a,
+ preferredVideoQuality: r
+ } = e, i = r !== n.preferredVideoQuality, o = a !== n.maxReceiverVideoQuality;
+ i && (die(r, t), "undefined" != typeof APP && APP.API.notifyVideoQualityChanged(r)), o && pie(t)
+ }), {
+ deepEquals: !0
+ }), tt.register((e => {
+ var t, n;
+ const {
+ reducedUI: a
+ } = e["features/base/responsive-ui"], r = QS(e), i = null === (t = e["features/filmstrip"]) || void 0 === t || null === (n = t.tileViewDimensions) || void 0 === n ? void 0 : n.thumbnailSize;
+ return {
+ displayTileView: r,
+ participantCount: Yh(e),
+ reducedUI: a,
+ thumbnailHeight: null == i ? void 0 : i.height
+ }
+ }), ((e, t) => {
+ let {
+ displayTileView: n,
+ participantCount: a,
+ reducedUI: r,
+ thumbnailHeight: i
+ } = e, {
+ dispatch: o,
+ getState: s
+ } = t;
+ const l = s(),
+ {
+ maxReceiverVideoQuality: c
+ } = l["features/video-quality"],
+ {
+ maxFullResolutionParticipants: u = 2
+ } = l["features/base/config"];
+ let d = d7.ULTRA;
+ if (r) d = d7.LOW;
+ else if (n && !Number.isNaN(i) && (d = function(e, t) {
+ let n = d7.LOW;
+ for (const [a, r] of t.entries()) e >= a && (n = r);
+ return n
+ }(i, function(e) {
+ return e["features/video-quality"].minHeightForQualityLvl
+ }(l)), c !== d && -1 !== u)) {
+ const e = a > u && d > d7.STANDARD;
+ f7.info(`Video quality level for thumbnail height: ${i}, is: ${d}, override: ${String(e)}, max full res N: ${u}`), e && (d = d7.STANDARD)
+ }
+ c !== d && o(function(e) {
+ return {
+ type: m7,
+ maxReceiverVideoQuality: e
+ }
+ }(d))
+ }), {
+ deepEquals: !0
+ }), qe.register((e => {
+ let {
+ dispatch: t,
+ getState: n
+ } = e;
+ return e => a => {
+ const r = e(a);
+ switch (a.type) {
+ case HF:
+ if ("ReactNative" === navigator.product) {
+ const {
+ resolution: e
+ } = n()["features/base/config"];
+ void 0 !== e && (t(g7(Number.parseInt(e, 10))), f7.info(`Configured preferred receiver video frame height to: ${e}`))
+ }
+ break;
+ case In: {
+ const e = n(),
+ {
+ videoQuality: a = {}
+ } = e["features/base/config"],
+ {
+ persistedPrefferedVideoQuality: r
+ } = e["features/video-quality-persistent-storage"];
+ a.persist && void 0 !== r && t(g7(r));
+ break
+ }
}
- return e
+ return r
}
+ }));
+ const hie = $e("features/videosipgw");
- function gle(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ function mie(e) {
+ return {
+ type: NY,
+ status: e
}
- nt.register("features/subtitles", ((e = mle, t) => {
- switch (t.type) {
- case za:
- return function(e, {
- transcriptMessageID: t
- }) {
- const n = new Map(e._transcriptMessages);
- return n.delete(t), ple({}, e, {
- _transcriptMessages: n
- })
- }(e, t);
- case Ra:
- return function(e, {
- transcriptMessageID: t,
- newTranscriptMessage: n
- }) {
- const a = new Map(e._transcriptMessages);
- return a.set(t, n), ple({}, e, {
- _transcriptMessages: a
- })
- }(e, t);
- case La:
- return ple({}, e, {
- _requestingSubtitles: !e._requestingSubtitles
- })
- }
- return e
- }));
- const ble = {
- enabled: !0,
- hovered: !1,
- overflowDrawer: !1,
- overflowMenuVisible: !1,
- timeoutID: null,
- visible: !1
- };
+ }
- function yle(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- vle(e, t, n[t])
- }))
+ function fie(e) {
+ const t = Fe(e),
+ n = Boolean(Zq(t)),
+ {
+ calleeInfoVisible: a
+ } = t["features/invite"];
+ return Dw(t) && !n && !a
+ }
+ qe.register((e => {
+ let {
+ dispatch: t,
+ getState: n
+ } = e;
+ return e => a => {
+ const r = e(a);
+ switch (a.type) {
+ case KF: {
+ const e = n()["features/base/conference"].joining;
+ e.on(ht.VIDEO_SIP_GW_AVAILABILITY_CHANGED, (function() {
+ return t(mie(...arguments))
+ })), e.on(ht.VIDEO_SIP_GW_SESSION_STATE_CHANGED, (e => {
+ const n = function(e) {
+ switch (e.newState) {
+ case _t.STATE_PENDING:
+ return tg({
+ titleKey: "videoSIPGW.pending",
+ titleArguments: {
+ displayName: e.displayName
+ }
+ }, Yf.SHORT);
+ case _t.STATE_FAILED:
+ return eg({
+ titleKey: "videoSIPGW.errorInviteFailedTitle",
+ titleArguments: {
+ displayName: e.displayName
+ },
+ descriptionKey: "videoSIPGW.errorInviteFailed"
+ }, Yf.LONG);
+ case _t.STATE_OFF:
+ if (e.failureReason === _t.STATUS_BUSY) return eg({
+ descriptionKey: "videoSIPGW.busy",
+ titleKey: "videoSIPGW.busyTitle"
+ }, Yf.LONG);
+ e.failureReason && hie.error(`Unknown sip videogw error ${e.newState} ${e.failureReason}`)
+ }
+ return null
+ }(e);
+ n && t(n)
+ }));
+ break
+ }
+ case RY:
+ ! function(e, t, n) {
+ for (const a of e) {
+ const {
+ id: e,
+ name: r
+ } = a;
+ if (e && r) {
+ const a = t.createVideoSIPGWSession(e, r);
+ if (a instanceof Error) {
+ const e = a;
+ switch (e.message) {
+ case _t.ERROR_NO_CONNECTION:
+ return void n(eg({
+ descriptionKey: "videoSIPGW.errorInvite",
+ titleKey: "videoSIPGW.errorInviteTitle"
+ }, Yf.LONG));
+ case _t.ERROR_SESSION_EXISTS:
+ return void n(ng({
+ titleKey: "videoSIPGW.errorAlreadyInvited",
+ titleArguments: {
+ displayName: r
+ }
+ }, Yf.LONG))
+ }
+ return void hie.error("Unknown error trying to create sip videogw session", e)
+ }
+ a.start()
+ } else hie.error(`No display name or sip number for ${JSON.stringify(a)}`)
+ }
+ }(a.rooms, a.conference, t)
}
- return e
+ return r
}
-
- function vle(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ })); class gie extends x.Component {
+ renderNotificationsContainer(e) {
+ return this.props._notificationsVisible ? C().createElement(Ow, e) : null
}
+ }
- function kle(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- _le(e, t, n[t])
- }))
+ function bie(e) {
+ return {
+ _notificationsVisible: fie(e),
+ _room: e["features/base/conference"].room,
+ _shouldDisplayTileView: QS(e)
+ }
+ }
+ class yie extends x.Component {
+ render() {
+ return this.props._showLabel ? C().createElement(hC, {
+ content: this.props.t("transcribing.labelToolTip"),
+ position: "left"
+ }, C().createElement(uG, {
+ className: "recording-label",
+ text: this.props.t("transcribing.tr")
+ })) : null
+ }
+ }
+ const vie = Ei(Ne((function(e) {
+ return {
+ _showLabel: e["features/transcribing"].isTranscribing
+ }
+ }))(yie)); class kie extends x.Component {
+ constructor(e) {
+ super(e), this.state = {
+ timerValue: Si(0)
}
- return e
}
+ componentDidMount() {
+ this._startTimer()
+ }
+ componentWillUnmount() {
+ this._stopTimer()
+ }
+ render() {
+ const {
+ timerValue: e
+ } = this.state, {
+ _startTimestamp: t,
+ textStyle: n
+ } = this.props;
+ return t ? function(e, t) {
+ return C().createElement("span", {
+ className: "subject-timer"
+ }, e)
+ }(e) : null
+ }
+ _setStateFromUTC(e, t) {
+ if (!e || !t) return;
+ if (t < e) return;
+ const n = Si(t - e);
+ this.setState({
+ timerValue: n
+ })
+ }
+ _startTimer() {
+ this._interval || (this._setStateFromUTC(this.props._startTimestamp, (new Date).getTime()), this._interval = setInterval((() => {
+ this._setStateFromUTC(this.props._startTimestamp, (new Date).getTime())
+ }), 1e3))
+ }
+ _stopTimer() {
+ this._interval && clearInterval(this._interval), this.setState({
+ timerValue: Si(0)
+ })
+ }
+ }
+ const _ie = Ne((function(e) {
+ return {
+ _startTimestamp: yF(e)
+ }
+ }))(kie), wie = {
+ alwaysVisible: ["recording", "local-recording"],
+ autoHide: ["subject", "conference-timer", "participants-count", "e2ee", "transcribing", "video-quality", "insecure-room"]
+ }, Sie = e => {
+ const {
+ conferenceInfo: t
+ } = e["features/base/config"];
+ var n, a;
+ return t ? {
+ alwaysVisible: null !== (n = t.alwaysVisible) && void 0 !== n ? n : wie.alwaysVisible,
+ autoHide: null !== (a = t.autoHide) && void 0 !== a ? a : wie.autoHide
+ } : wie
+ }, Eie = e => {
+ let {
+ visible: t,
+ children: n
+ } = e;
+ return C().createElement("div", {
+ className: "subject" + (t ? " visible" : "")
+ }, C().createElement("div", {
+ className: "subject-info-container"
+ }, n))
+ };
+ var xie = n(7541), Cie = n.n(xie);
- function _le(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ function Aie() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "";
+ return Cie()(e).score < 3
+ }
+ class Tie extends x.PureComponent {
+ render() {
+ return this.props._visible ? this._render() : null
}
- nt.register("features/toolbox", ((e = ble, t) => {
- switch (t.type) {
- case CV:
- return fle({}, e, {
- timeoutID: void 0
- });
- case AV:
- return fle({}, e, {
- fullScreen: t.fullScreen
- });
- case PV:
- return fle({}, e, {
- overflowDrawer: t.displayAsDrawer
- });
- case DV:
- return fle({}, e, {
- overflowMenuVisible: t.visible
- });
- case TV:
- return fle({}, e, {
- hovered: t.hovered
- });
- case OV:
- return fle({}, e, {
- enabled: t.enabled
- });
- case MV:
- return fle({}, e, {
- timeoutID: t.timeoutID
- });
- case IV:
- return Le(e, "visible", t.visible);
- case "TOGGLE_TOOLBOX_VISIBLE":
- return Le(e, "visible", !e.visible)
- }
- return e
- })), nt.register("features/transcribing", ((e = {
- isTranscribing: !1,
- isDialing: !1,
- isTerminating: !1,
- transcriberJID: null,
- potentialTranscriberJIDs: []
- }, t) => {
- switch (t.type) {
- case Dae:
- return yle({}, e, {
- isTranscribing: !0,
- isDialing: !1,
- transcriberJID: t.transcriberJID
- });
- case Tae:
- return yle({}, e, {
- isTerminating: !1,
- isTranscribing: !1,
- transcriberJID: void 0,
- potentialTranscriberJIDs: []
- });
- case Oae:
- return yle({}, e, {
- potentialTranscriberJIDs: [t.transcriberJID].concat(e.potentialTranscriberJIDs)
- });
- case Mae:
- return yle({}, e, {
- pendingNotificationUid: t.uid
- });
- default:
- return e
- }
- }));
- const wle = {
- remoteScreenShares: [],
- tileViewEnabled: void 0
+ }
+ const Die = Ei(Ne((function(e) {
+ const {
+ locked: t,
+ room: n
+ } = e["features/base/conference"], {
+ lobbyEnabled: a
+ } = e["features/lobby"], {
+ enableInsecureRoomNameWarning: r = !1
+ } = e["features/base/config"];
+ return {
+ _visible: r && n && Aie(n) && !(a || Boolean(t))
+ }
+ }))(class extends Tie {
+ _render() {
+ return C().createElement(pC, {
+ content: this.props.t("security.insecureRoomNameWarning"),
+ position: "bottom"
+ }, C().createElement(uG, {
+ color: "red",
+ icon: Id
+ }))
+ }
+ })); class Pie extends x.PureComponent {
+ constructor(e) {
+ super(e), this._onClick = this._onClick.bind(this)
+ }
+ _onClick() {
+ const {
+ dispatch: e,
+ conference: t
+ } = this.props;
+ e(VI(GQ, {
+ conference: t
+ }))
+ }
+ render() {
+ const {
+ count: e
+ } = this.props;
+ return e <= 2 ? null : C().createElement(uG, {
+ color: sG,
+ icon: kd,
+ onClick: this._onClick,
+ text: e
+ })
+ }
+ }
+ const jie = Ne((function(e) {
+ return {
+ conference: e["features/base/conference"].conference,
+ count: Yh(e)
+ }
+ }))(Pie), Mie = Ne((function(e) {
+ return {
+ _subject: gF(e)
+ }
+ }))((e => {
+ let {
+ _subject: t
+ } = e;
+ return C().createElement("div", {
+ className: "subject-text"
+ }, C().createElement(hC, {
+ content: t,
+ position: "bottom"
+ }, C().createElement("div", {
+ className: "subject-text--content"
+ }, t)))
+ })), Iie = [{
+ Component: Mie,
+ id: "subject"
+ }, {
+ Component: _ie,
+ id: "conference-timer"
+ }, {
+ Component: jie,
+ id: "participants-count"
+ }, {
+ Component: _8,
+ id: "e2ee"
+ }, {
+ Component: () => C().createElement(C().Fragment, null, C().createElement(pG, {
+ mode: kt.mode.FILE
+ }), C().createElement(pG, {
+ mode: kt.mode.STREAM
+ })),
+ id: "recording"
+ }, {
+ Component: k0,
+ id: "local-recording"
+ }, {
+ Component: vie,
+ id: "transcribing"
+ }, {
+ Component: M7,
+ id: "video-quality"
+ }, {
+ Component: Die,
+ id: "insecure-room"
+ }]; class Oie extends x.Component {
+ constructor(e) {
+ super(e), this._renderAutoHide = this._renderAutoHide.bind(this), this._renderAlwaysVisible = this._renderAlwaysVisible.bind(this)
+ }
+ _renderAutoHide() {
+ const {
+ autoHide: e
+ } = this.props._conferenceInfo;
+ return e && e.length ? C().createElement(Eie, {
+ visible: this.props._visible
+ }, Iie.filter((t => e.includes(t.id))).map((e => C().createElement(e.Component, {
+ key: e.id
+ })))) : null
+ }
+ _renderAlwaysVisible() {
+ const {
+ alwaysVisible: e
+ } = this.props._conferenceInfo;
+ return e && e.length ? C().createElement(Eie, {
+ visible: !0
+ }, Iie.filter((t => e.includes(t.id))).map((e => C().createElement(e.Component, {
+ key: e.id
+ })))) : null
+ }
+ render() {
+ return C().createElement("div", {
+ className: "details-container"
+ }, this._renderAlwaysVisible(), this._renderAutoHide())
+ }
+ }
+ const Nie = Ne((function(e) {
+ return {
+ _visible: fI(e),
+ _conferenceInfo: Sie(e)
+ }
+ }))(Oie); class Rie extends x.Component {
+ render() {
+ return this.props._message ? C().createElement("div", {
+ className: "notice"
+ }, C().createElement("span", {
+ className: "notice__message"
+ }, this.props._message)) : null
+ }
+ }
+ const zie = Ei(Ne((function(e) {
+ const {
+ noticeMessage: t
+ } = e["features/base/config"];
+ return {
+ _message: t
+ }
+ }))(Rie)), Lie = ["webkitfullscreenchange", "mozfullscreenchange", "fullscreenchange"], Fie = {
+ [YS]: "horizontal-filmstrip",
+ [GS]: "tile-view",
+ [KS]: "vertical-filmstrip"
+ }, qie = Ne((function(e) {
+ const {
+ backgroundAlpha: t,
+ mouseMoveCallbackInterval: n
+ } = e["features/base/config"], {
+ overflowDrawer: a
+ } = e["features/toolbox"];
+ return {
+ ...bie(e),
+ _backgroundAlpha: t,
+ _isParticipantsPaneVisible: Om(e),
+ _layoutClassName: Fie[JS(e)],
+ _mouseMoveCallbackInterval: n,
+ _overflowDrawer: a,
+ _roomName: (r = e, CF(Dn(dF(Fe(r)).room))),
+ _showLobby: N5(e),
+ _showPrejoin: kH(e)
};
-
- function Sle(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
+ var r
+ }))(Ei(class extends gie {
+ constructor(e) {
+ super(e);
+ const {
+ _mouseMoveCallbackInterval: t
+ } = e;
+ this._originalOnShowToolbar = this._onShowToolbar, this._originalOnMouseMove = this._onMouseMove, this._onShowToolbar = _().throttle((() => this._originalOnShowToolbar()), 100, {
+ leading: !0,
+ trailing: !1
+ }), this._onMouseMove = _().throttle((e => this._originalOnMouseMove(e)), t, {
+ leading: !0,
+ trailing: !1
+ }), this._onFullScreenChange = this._onFullScreenChange.bind(this), this._onVidespaceTouchStart = this._onVidespaceTouchStart.bind(this), this._setBackground = this._setBackground.bind(this)
}
- nt.register("features/video-layout", ((e = wle, t) => {
- switch (t.type) {
- case fk:
- return kle({}, e, {
- remoteScreenShares: t.participantIds
- });
- case gk:
- return kle({}, e, {
- tileViewEnabled: t.enabled
- })
- }
- return e
- })), nt.register("features/videosipgw", ((e = [], t) => t.type === yW ? function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? Object(arguments[t]) : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- Sle(e, t, n[t])
- }))
- }
- return e
- }({}, e, {
- status: t.status
- }) : e));
- const Ele = "features/welcome";
- et.register(Ele, {
- defaultPage: !0
- }), nt.register(Ele, ((e = {}, t) => {
- switch (t.type) {
- case "SET_SIDEBAR_VISIBLE":
- return Le(e, "sideBarVisible", t.visible);
- case "SET_WELCOME_PAGE_LIST_DEFAULT_PAGE":
- return Le(e, "defaultPage", t.pageIndex)
- }
- return e
- }));
- class xle extends E.Component {
- render() {
- const {
- className: e,
- deviceStatusVisible: t,
- showCameraPreview: n,
- videoTrack: a
- } = this.props;
- return x().createElement($7, {
- className: `prejoin-third-party ${e}`,
- showDeviceStatus: t,
- skipPrejoinButton: !1,
- thirdParty: !0,
- videoMuted: !n,
- videoTrack: a
+ componentDidMount() {
+ document.title = `${this.props._roomName} | ${interfaceConfig.APP_NAME}`, this._start()
+ }
+ componentDidUpdate(e) {
+ this.props._shouldDisplayTileView !== e._shouldDisplayTileView && X9.refreshLayout()
+ }
+ componentWillUnmount() {
+ APP.UI.unbindEvents(), Lie.forEach((e => document.removeEventListener(e, this._onFullScreenChange))), APP.conference.isJoined() && this.props.dispatch(RF())
+ }
+ render() {
+ const {
+ _isParticipantsPaneVisible: e,
+ _layoutClassName: t,
+ _notificationsVisible: n,
+ _overflowDrawer: a,
+ _showLobby: r,
+ _showPrejoin: i
+ } = this.props;
+ return C().createElement("div", {
+ id: "layout_wrapper",
+ onMouseEnter: this._onMouseEnter,
+ onMouseLeave: this._onMouseLeave,
+ onMouseMove: this._onMouseMove
+ }, C().createElement("div", {
+ className: t,
+ id: "videoconference_page",
+ onMouseMove: va() ? void 0 : this._onShowToolbar,
+ ref: this._setBackground
+ }, C().createElement(Nie, null), C().createElement(zie, null), C().createElement("div", {
+ id: "videospace",
+ onTouchStart: this._onVidespaceTouchStart
+ }, C().createElement(L9, null), !e && C().createElement("div", {
+ id: "notification-participant-list"
+ }, C().createElement(A8, null)), C().createElement(S4, null)), i || r || C().createElement(g9, {
+ showDominantSpeakerName: !0
+ }), C().createElement(OW, null), n && (a ? C().createElement(n9, {
+ className: "notification-portal"
+ }, this.renderNotificationsContainer({
+ portal: !0
+ })) : this.renderNotificationsContainer()), C().createElement(Y$, null), i && C().createElement(Jee, null), r && C().createElement($8, null)), C().createElement(j6, null))
+ }
+ _setBackground(e) {
+ if (e && void 0 !== this.props._backgroundAlpha) {
+ const t = jt(e.style.background, this.props._backgroundAlpha);
+ if (e.style.background = t, e.parentElement) {
+ const t = jt(e.parentElement.style.background, this.props._backgroundAlpha);
+ e.parentElement.style.background = t
+ }
+ }
+ }
+ _onVidespaceTouchStart() {
+ this.props.dispatch(((e, t) => {
+ const n = t(),
+ {
+ toolbarConfig: {
+ alwaysVisible: a
+ }
+ } = n["features/base/config"],
+ {
+ visible: r
+ } = n["features/toolbox"];
+ r && a || e({
+ type: TM
})
- }
+ }))
+ }
+ _onFullScreenChange() {
+ var e;
+ this.props.dispatch((e = APP.UI.isFullScreen(), {
+ type: kM,
+ fullScreen: e
+ }))
}
- const Cle = ze((function(e) {
+ _onMouseEnter(e) {
+ APP.API.notifyMouseEnter(e)
+ }
+ _onMouseLeave(e) {
+ APP.API.notifyMouseLeave(e)
+ }
+ _onMouseMove(e) {
+ APP.API.notifyMouseMove(e)
+ }
+ _onShowToolbar() {
+ this.props.dispatch(xI())
+ }
+ _start() {
+ APP.UI.start(), APP.UI.registerListeners(), APP.UI.bindEvents(), Lie.forEach((e => document.addEventListener(e, this._onFullScreenChange)));
+ const {
+ dispatch: e,
+ t
+ } = this.props;
+ e(NF()),
+ function(e, t) {
+ !mY(interfaceConfig.OPTIMAL_BROWSERS || cY) && pY() && e(ng({
+ titleKey: "notify.suboptimalExperienceTitle",
+ description: xi(t, "notify.suboptimalBrowserWarning", {
+ recommendedBrowserPageLink: `${window.location.origin}/static/recommendedBrowsers.html`
+ })
+ }, Yf.LONG))
+ }(e, t)
+ }
+ })); Ei(Ne((function(e) {
+ const t = 1 === Yh(e),
+ n = interfaceConfig.HIDE_INVITE_MORE_HEADER;
+ return {
+ _shouldShow: mI("invite", e) && t && !n,
+ _toolboxVisible: fI(e)
+ }
+ }), {
+ onClick: () => WY()
+ })((function(e) {
+ let {
+ _shouldShow: t,
+ _toolboxVisible: n,
+ onClick: a,
+ t: r
+ } = e;
+ const i = (0, x.useCallback)((e => {
+ !a || " " !== e.key && "Enter" !== e.key || (e.preventDefault(), a())
+ }), [a]);
+ return t ? C().createElement("div", {
+ className: "invite-more-container" + (n ? "" : " elevated")
+ }, C().createElement("div", {
+ className: "invite-more-content"
+ }, C().createElement("div", {
+ className: "invite-more-header",
+ role: "heading"
+ }, r("addPeople.inviteMoreHeader")), C().createElement("div", {
+ className: "invite-more-button",
+ onClick: a,
+ onKeyPress: i,
+ role: "button",
+ tabIndex: 0
+ }, C().createElement(lo, {
+ src: Rl
+ }), C().createElement("div", {
+ className: "invite-more-button-text"
+ }, r("addPeople.inviteMorePrompt"))))) : null
+ }))); class Bie extends x.Component {
+ render() {
+ return C().createElement("div", {
+ className: "unsupported-desktop-browser"
+ }, C().createElement("h2", {
+ className: "unsupported-desktop-browser__title"
+ }, "It looks like you're using a browser we don't support."), C().createElement("p", {
+ className: "unsupported-desktop-browser__description"
+ }, "Please try again with the latest version of ", C().createElement("a", {
+ className: "unsupported-desktop-browser__link",
+ href: "https://www.google.com/chrome/"
+ }, "Chrome"), " ", this._showFirefox() && C().createElement(C().Fragment, null, "or ", C().createElement("a", {
+ className: "unsupported-desktop-browser__link",
+ href: "https://www.getfirefox.com/"
+ }, "Firefox"))))
+ }
+ _showFirefox() {
+ return "firefox", (interfaceConfig.OPTIMAL_BROWSERS || cY).includes("firefox")
+ }
+ }
+ const Uie = Ei(Bie), Hie = () => (Pe(cM), C().createElement(Uie, null)), Vie = {}; class Wie extends hM {
+ constructor(e) {
+ super(e), this._onPress = this._onPress.bind(this)
+ }
+ componentDidMount() {
+ Da(function() {
return {
- deviceStatusVisible: JR(e),
- showCameraPreview: !_f(e),
- videoTrack: Jo(e)
- }
- }))(Li(xle)),
- Ale = Je("index.web"),
- jle = wa.OS;
- document.addEventListener("DOMContentLoaded", (() => {
- const e = window.performance.now();
- APP.connectionTimes["document.ready"] = e, Ale.log("(TIME) document ready:\t", e)
- })), "ios" === jle && window.addEventListener("pageshow", (e => {
- e.persisted && window.location.reload()
- })), window.addEventListener("beforeunload", (() => {
- APP.logCollectorStarted && (APP.logCollector.stop(), APP.logCollectorStarted = !1), APP.API.notifyConferenceLeft(APP.conference.roomName), APP.API.dispose(), mV().dispose()
- }));
- const Ple = It();
- Ple.entryPoints = {
- APP: class extends Yee {
- _createMainElement(e, t) {
- return x().createElement(qee, null, x().createElement(Mee, {
- mode: "dark"
- }, x().createElement(Wee, null), super._createMainElement(e, t)))
- }
- _renderDialogContainer() {
- return x().createElement(qee, null, x().createElement(Mee, {
- mode: "dark"
- }, x().createElement(zO, null)))
- }
- },
- PREJOIN: class extends Pf {
- componentDidMount() {
- super.componentDidMount(), this._init.then((async () => {
- const {
- store: e
- } = this.state, {
- dispatch: t
- } = e, {
- styleType: n
- } = this.props;
- super._navigate({
- component: Cle,
- props: {
- className: n
- }
- });
- const {
- startWithAudioMuted: a,
- startWithVideoMuted: r
- } = e.getState()["features/base/settings"];
- t(aa({
- prejoinPageEnabled: !0,
- startWithAudioMuted: a,
- startWithVideoMuted: r
- }));
- const {
- tryCreateLocalTracks: i,
- errors: o
- } = function() {
- const e = {},
- t = ["audio"];
- let n = !1;
- const {
- startAudioOnly: a,
- startWithAudioMuted: r,
- startWithVideoMuted: i
- } = APP.store.getState()["features/base/settings"];
- let o;
- return r && APP.store.dispatch(lf(!0)), i || a || (t.push("video"), n = !0), o = Vo({
- devices: t,
- firePermissionPromptIsShownEvent: !0
- }).catch((t => n ? (e.audioAndVideoError = t, Vo({
- devices: ["audio"],
- firePermissionPromptIsShownEvent: !0
- })) : n ? void Fo.error("Should never happen") : (e.audioOnlyError = t, []))).catch((t => (e.audioOnlyError = t, n ? Vo({
- devices: ["video"],
- firePermissionPromptIsShownEvent: !0
- }) : []))).catch((t => (n || Fo.error("The impossible just happened", t), e.videoOnlyError = t, []))), {
- tryCreateLocalTracks: o,
- errors: e
- }
- }(), s = await i;
- (0, Te.unstable_batchedUpdates)((() => {
- t(uL(s, o)), t(mL(gI(e.getState())))
- }))
- }))
+ action: "selected",
+ attributes: arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ source: "recent.list",
+ type: Lt
}
- _createMainElement(e, t) {
- return x().createElement(qee, null, x().createElement(Mee, {
- mode: "dark"
- }, super._createMainElement(e, t)))
- }
- _renderDialogContainer() {
- return x().createElement(qee, null, x().createElement(Mee, {
- mode: "dark"
- }, x().createElement(zO, null)))
- }
- }
- }, Ple.renderEntryPoint = ({
- Component: e,
- props: t = {},
- elementId: n = "react"
- }) => {
- Oe().render(x().createElement(e, t), document.getElementById(n))
- }, window.Olm && window.Olm.init().catch((e => {
- console.error("Failed to initialize Olm, E2EE will be disabled", e), delete window.Olm
- })), window.APP = {
- API: dee,
- conference: X9,
- connect: {
- handler: null,
- status: "initialized"
- },
- connectionTimes: {
- "index.loaded": window.indexLoadedTime
- },
- keyboardshortcut: rQ,
- translation: Aee,
- UI: See
- }
- }, 5939: e => {
- e.exports = {
- defaultLogLevel: "trace",
- "modules/RTC/TraceablePeerConnection.js": "info",
- "modules/statistics/CallStats.js": "info",
- "modules/xmpp/strophe.util.js": "log"
- }
- }, 1041: (e, t, n) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0
- });
- var a, r = n(3241),
- i = r.__importDefault(n(2684)),
- o = r.__importDefault(n(5617)),
- s = r.__importDefault(n(545)),
- l = n(5139),
- c = n(6101),
- u = function(e) {
- var t = e.size;
- return t ? "height: " + c.sizes[t] + "; width: " + c.sizes[t] + ";" : null
- };
- t.IconWrapper = o.default.span(a || (a = r.__makeTemplateObject(["\n ", ";\n color: ", ";\n display: inline-block;\n fill: ", ";\n flex-shrink: 0;\n line-height: 1;\n\n > svg {\n ", ";\n max-height: 100%;\n max-width: 100%;\n overflow: hidden;\n pointer-events: none;\n vertical-align: bottom;\n }\n\n /**\n * Stop-color doesn't properly apply in chrome when the inherited/current color changes.\n * We have to initially set stop-color to inherit (either via DOM attribute or an initial CSS\n * rule) and then override it with currentColor for the color changes to be picked up.\n */\n stop {\n stop-color: currentColor;\n }\n"], ["\n ", ";\n color: ", ";\n display: inline-block;\n fill: ", ";\n flex-shrink: 0;\n line-height: 1;\n\n > svg {\n ", ";\n max-height: 100%;\n max-width: 100%;\n overflow: hidden;\n pointer-events: none;\n vertical-align: bottom;\n }\n\n /**\n * Stop-color doesn't properly apply in chrome when the inherited/current color changes.\n * We have to initially set stop-color to inherit (either via DOM attribute or an initial CSS\n * rule) and then override it with currentColor for the color changes to be picked up.\n */\n stop {\n stop-color: currentColor;\n }\n"])), u, (function(e) {
- return e.primaryColor || "currentColor"
- }), (function(e) {
- return e.secondaryColor || l.background
- }), u), t.default = function(e) {
- var n, a, o = e.glyph,
- l = e.dangerouslySetGlyph,
- c = e.primaryColor,
- u = e.secondaryColor,
- d = e.size,
- p = e.testId,
- h = e.label,
- m = l ? {
- dangerouslySetInnerHTML: {
- __html: (n = l, a = s.default(), n.replace(/id="([^"]+)-idPlaceholder"/g, "id=$1-" + a).replace(/fill="url\(#([^"]+)-idPlaceholder\)"/g, 'fill="url(#$1-' + a + ')"'))
- }
- } : {
- children: o ? i.default.createElement(o, {
- role: "presentation"
- }) : null
- };
- return i.default.createElement(t.IconWrapper, r.__assign({
- primaryColor: c,
- secondaryColor: u,
- size: d,
- "data-testid": p,
- role: h ? "img" : "presentation",
- "aria-label": h || void 0
- }, m))
- }
- }, 6101: (e, t) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0
- }), t.sizes = {
- small: "16px",
- medium: "24px",
- large: "32px",
- xlarge: "48px"
- }, t.sizeMap = {
- small: "small",
- medium: "medium",
- large: "large",
- xlarge: "xlarge"
- }
- }, 6501: (e, t, n) => {
- "use strict";
- t.Z = void 0;
- var a = i(n(2684)),
- r = i(n(1041));
-
- function i(e) {
- return e && e.__esModule ? e : {
- default: e
- }
+ }())
}
-
- function o() {
- return o = Object.assign || function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t];
- for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
+ _getRenderListEmptyComponent() {
+ const {
+ t: e
+ } = this.props, t = "meetings-list-empty-description";
+ return C().createElement(ro, {
+ "aria-describedby": t,
+ "aria-label": e("welcomepage.recentList"),
+ className: "meetings-list-empty",
+ role: "region",
+ style: Vie.emptyListContainer
+ }, C().createElement(KC, {
+ className: "description",
+ id: t,
+ style: Vie.emptyListText
+ }, e("welcomepage.recentListEmpty")))
+ }
+ _onPress(e) {
+ const {
+ dispatch: t
+ } = this.props;
+ Da(function(e) {
+ return {
+ action: "clicked",
+ actionSubject: e,
+ attributes: arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
+ source: "recent.list",
+ type: Lt
}
- return e
- }, o.apply(this, arguments)
+ }("meeting.tile")), t(tB(e))
}
- var s = function(e) {
- return a.default.createElement(r.default, o({
- dangerouslySetGlyph: '
'
- }, e))
- };
- s.displayName = "CheckCircleIcon";
- var l = s;
- t.Z = l
- }, 9406: (e, t, n) => {
- "use strict";
- t.Z = void 0;
- var a = i(n(2684)),
- r = i(n(1041));
-
- function i(e) {
- return e && e.__esModule ? e : {
- default: e
- }
+ }
+ const Yie = Ei(Ne((function(e) {
+ return {
+ _recentList: e["features/recent-list"]
+ }
+ }))(class extends Wie {
+ constructor(e) {
+ super(e), this._getRenderListEmptyComponent = this._getRenderListEmptyComponent.bind(this), this._onPress = this._onPress.bind(this), this._onItemDelete = this._onItemDelete.bind(this)
+ }
+ _onItemDelete(e) {
+ this.props.dispatch({
+ type: yre,
+ entryId: e
+ })
}
-
- function o() {
- return o = Object.assign || function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t];
- for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
- }
- return e
- }, o.apply(this, arguments)
+ render() {
+ if (!_re()) return null;
+ const {
+ disabled: e,
+ _recentList: t
+ } = this.props, n = function(e) {
+ return [...e].reverse().map((e => ({
+ date: e.date,
+ duration: e.duration,
+ time: [e.date],
+ title: Dn(An(e.conference).room),
+ url: e.conference
+ })))
+ }(t);
+ return C().createElement(JC, {
+ disabled: e,
+ hideURL: !0,
+ listEmptyComponent: this._getRenderListEmptyComponent(),
+ meetings: n,
+ onItemDelete: this._onItemDelete,
+ onPress: this._onPress
+ })
}
- var s = function(e) {
- return a.default.createElement(r.default, o({
- dangerouslySetGlyph: '
'
- }, e))
- };
- s.displayName = "CheckboxIcon";
- var l = s;
- t.Z = l
- }, 754: (e, t, n) => {
- "use strict";
- t.Z = void 0;
- var a = i(n(2684)),
- r = i(n(1041));
-
- function i(e) {
- return e && e.__esModule ? e : {
- default: e
+ })); class Gie extends x.Component {
+ static getDerivedStateFromProps(e, t) {
+ return {
+ room: e._room || t.room
}
}
-
- function o() {
- return o = Object.assign || function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t];
- for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
- }
- return e
- }, o.apply(this, arguments)
+ constructor(e) {
+ super(e),
+ function(e, t, n) {
+ t in e ? Object.defineProperty(e, t, {
+ value: n,
+ enumerable: !0,
+ configurable: !0,
+ writable: !0
+ }) : e[t] = n
+ }(this, "state", {
+ animateTimeoutId: void 0,
+ generatedRoomname: "",
+ insecureRoomName: !1,
+ joining: !1,
+ room: "",
+ roomPlaceholder: "",
+ updateTimeoutId: void 0
+ }), this._animateRoomnameChanging = this._animateRoomnameChanging.bind(this), this._onJoin = this._onJoin.bind(this), this._onRoomChange = this._onRoomChange.bind(this), this._renderInsecureRoomNameWarning = this._renderInsecureRoomNameWarning.bind(this), this._updateRoomname = this._updateRoomname.bind(this)
}
- var s = function(e) {
- return a.default.createElement(r.default, o({
- dangerouslySetGlyph: '
'
- }, e))
- };
- s.displayName = "ChevronDownIcon";
- var l = s;
- t.Z = l
- }, 3037: (e, t, n) => {
- "use strict";
- t.Z = void 0;
- var a = i(n(2684)),
- r = i(n(1041));
-
- function i(e) {
- return e && e.__esModule ? e : {
- default: e
- }
+ componentDidMount() {
+ this._mounted = !0, Da(un("viewed", void 0, {
+ value: 1
+ }))
}
-
- function o() {
- return o = Object.assign || function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t];
- for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
- }
- return e
- }, o.apply(this, arguments)
+ componentWillUnmount() {
+ this._clearTimeouts(), this._mounted = !1
}
- var s = function(e) {
- return a.default.createElement(r.default, o({
- dangerouslySetGlyph: '
'
- }, e))
- };
- s.displayName = "ChevronUpIcon";
- var l = s;
- t.Z = l
- }, 4944: (e, t, n) => {
- "use strict";
- t.Z = void 0;
- var a = i(n(2684)),
- r = i(n(1041));
-
- function i(e) {
- return e && e.__esModule ? e : {
- default: e
- }
+ _animateRoomnameChanging(e) {
+ let t;
+ const n = this.state.roomPlaceholder + e.substr(0, 1);
+ e.length > 1 && (t = setTimeout((() => {
+ this._animateRoomnameChanging(e.substring(1, e.length))
+ }), 70)), this.setState({
+ animateTimeoutId: t,
+ roomPlaceholder: n
+ })
}
-
- function o() {
- return o = Object.assign || function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t];
- for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
- }
- return e
- }, o.apply(this, arguments)
+ _clearTimeouts() {
+ clearTimeout(this.state.animateTimeoutId), clearTimeout(this.state.updateTimeoutId)
}
- var s = function(e) {
- return a.default.createElement(r.default, o({
- dangerouslySetGlyph: '
'
- }, e))
- };
- s.displayName = "CrossIcon";
- var l = s;
- t.Z = l
- }, 1951: (e, t, n) => {
- "use strict";
- t.Z = void 0;
- var a = i(n(2684)),
- r = i(n(1041));
-
- function i(e) {
- return e && e.__esModule ? e : {
- default: e
+ _onJoin() {
+ const e = this.state.room || this.state.generatedRoomname;
+ if (Da(un("clicked", "joinButton", {
+ isGenerated: !this.state.room,
+ room: e
+ })), e) {
+ this.setState({
+ joining: !0
+ });
+ const t = () => this._mounted && this.setState({
+ joining: !1
+ });
+ this.props.dispatch(tB(e)).then(t, t)
}
}
-
- function o() {
- return o = Object.assign || function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t];
- for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
- }
- return e
- }, o.apply(this, arguments)
+ _onRoomChange(e) {
+ this.setState({
+ room: e,
+ insecureRoomName: this.props._enableInsecureRoomNameWarning && e && Aie(e)
+ })
}
- var s = function(e) {
- return a.default.createElement(r.default, o({
- dangerouslySetGlyph: '
'
- }, e))
- };
- s.displayName = "EditorCloseIcon";
- var l = s;
- t.Z = l
- }, 2854: (e, t, n) => {
- "use strict";
- t.Z = void 0;
- var a = i(n(2684)),
- r = i(n(1041));
-
- function i(e) {
- return e && e.__esModule ? e : {
- default: e
- }
+ _renderInsecureRoomNameWarning() {
+ return this.props._enableInsecureRoomNameWarning && this.state.insecureRoomName ? this._doRenderInsecureRoomNameWarning() : null
}
-
- function o() {
- return o = Object.assign || function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t];
- for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
- }
- return e
- }, o.apply(this, arguments)
+ _updateRoomname() {
+ const e = Lq(),
+ t = setTimeout(this._updateRoomname, 1e4);
+ this._clearTimeouts(), this.setState({
+ generatedRoomname: e,
+ roomPlaceholder: "",
+ updateTimeoutId: t
+ }, (() => this._animateRoomnameChanging(e)))
}
- var s = function(e) {
- return a.default.createElement(r.default, o({
- dangerouslySetGlyph: '
'
- }, e))
- };
- s.displayName = "EditorDoneIcon";
- var l = s;
- t.Z = l
- }, 247: (e, t, n) => {
- "use strict";
- t.Z = void 0;
- var a = i(n(2684)),
- r = i(n(1041));
-
- function i(e) {
- return e && e.__esModule ? e : {
- default: e
- }
+ }
+ class Kie extends x.Component {
+ constructor(e) {
+ super(e), this._onSelect = this._onSelect.bind(this)
}
-
- function o() {
- return o = Object.assign || function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t];
- for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
- }
- return e
- }, o.apply(this, arguments)
+ _onSelect() {
+ const {
+ index: e,
+ onSelect: t
+ } = this.props;
+ t(e)
}
- var s = function(e) {
- return a.default.createElement(r.default, o({
- dangerouslySetGlyph: '
'
- }, e))
- };
- s.displayName = "EditorInfoIcon";
- var l = s;
- t.Z = l
- }, 7737: (e, t, n) => {
- "use strict";
- t.Z = void 0;
- var a = i(n(2684)),
- r = i(n(1041));
-
- function i(e) {
- return e && e.__esModule ? e : {
- default: e
- }
+ render() {
+ const {
+ index: e,
+ isSelected: t,
+ label: n
+ } = this.props, a = "tab" + (t ? " selected" : "");
+ return C().createElement("div", {
+ className: a,
+ key: e,
+ onClick: this._onSelect
+ }, n)
}
-
- function o() {
- return o = Object.assign || function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t];
- for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
- }
- return e
- }, o.apply(this, arguments)
+ }
+ class $ie extends x.Component {
+ render() {
+ const {
+ onSelect: e,
+ selected: t,
+ tabs: n
+ } = this.props, {
+ content: a = null
+ } = n.length ? n[Math.min(t, n.length - 1)] : {};
+ return C().createElement("div", {
+ className: "tab-container"
+ }, n.length > 1 ? C().createElement("div", {
+ className: "tab-buttons"
+ }, n.map(((n, a) => C().createElement(Kie, {
+ index: a,
+ isSelected: a === t,
+ key: a,
+ label: n.label,
+ onSelect: e
+ })))) : null, C().createElement("div", {
+ className: "tab-content"
+ }, a))
}
- var s = function(e) {
- return a.default.createElement(r.default, o({
- dangerouslySetGlyph: '
'
- }, e))
- };
- s.displayName = "ErrorIcon";
- var l = s;
- t.Z = l
- }, 7253: (e, t, n) => {
- "use strict";
- t.Z = void 0;
- var a = i(n(2684)),
- r = i(n(1041));
-
- function i(e) {
- return e && e.__esModule ? e : {
- default: e
- }
+ }! function(e, t, n) {
+ t in e ? Object.defineProperty(e, t, {
+ value: n,
+ enumerable: !0,
+ configurable: !0,
+ writable: !0
+ }) : e[t] = n
+ }($ie, "defaultProps", {
+ tabs: [],
+ selected: 0
+ }); class Jie extends Gie {
+ constructor(e) {
+ super(e), this.state = {
+ ...this.state,
+ generateRoomnames: interfaceConfig.GENERATE_ROOMNAMES_ON_WELCOME_PAGE,
+ selectedTab: 0
+ }, this._additionalContentRef = null, this._roomInputRef = null, this._additionalToolbarContentRef = null, this._additionalCardRef = null, this._additionalCardTemplate = document.getElementById("welcome-page-additional-card-template"), this._additionalContentTemplate = document.getElementById("welcome-page-additional-content-template"), this._additionalToolbarContentTemplate = document.getElementById("settings-toolbar-additional-content-template"), this._onFormSubmit = this._onFormSubmit.bind(this), this._onRoomChange = this._onRoomChange.bind(this), this._setAdditionalCardRef = this._setAdditionalCardRef.bind(this), this._setAdditionalContentRef = this._setAdditionalContentRef.bind(this), this._setRoomInputRef = this._setRoomInputRef.bind(this), this._setAdditionalToolbarContentRef = this._setAdditionalToolbarContentRef.bind(this), this._onTabSelected = this._onTabSelected.bind(this), this._renderFooter = this._renderFooter.bind(this)
+ }
+ componentDidMount() {
+ super.componentDidMount(), document.body.classList.add("welcome-page"), document.title = interfaceConfig.APP_NAME, this.state.generateRoomnames && this._updateRoomname(), this._shouldShowAdditionalContent() && this._additionalContentRef.appendChild(this._additionalContentTemplate.content.cloneNode(!0)), this._shouldShowAdditionalToolbarContent() && this._additionalToolbarContentRef.appendChild(this._additionalToolbarContentTemplate.content.cloneNode(!0)), this._shouldShowAdditionalCard() && this._additionalCardRef.appendChild(this._additionalCardTemplate.content.cloneNode(!0))
+ }
+ componentWillUnmount() {
+ super.componentWillUnmount(), document.body.classList.remove("welcome-page")
+ }
+ render() {
+ const {
+ _moderatedRoomServiceUrl: e,
+ t
+ } = this.props, {
+ DEFAULT_WELCOME_PAGE_LOGO_URL: n,
+ DISPLAY_WELCOME_FOOTER: a
+ } = interfaceConfig, r = this._shouldShowAdditionalCard(), i = this._shouldShowAdditionalContent(), o = this._shouldShowAdditionalToolbarContent(), s = i ? "with-content" : "without-content", l = a ? "with-footer" : "without-footer";
+ return C().createElement("div", {
+ className: `welcome ${s} ${l}`,
+ id: "welcome_page"
+ }, C().createElement("div", {
+ className: "welcome-watermark"
+ }, C().createElement(pM, {
+ defaultJitsiLogoURL: n
+ })), C().createElement("div", {
+ className: "header"
+ }, C().createElement("div", {
+ className: "welcome-page-settings"
+ }, C().createElement(OY, {
+ defaultTab: jY.CALENDAR
+ }), o ? C().createElement("div", {
+ className: "settings-toolbar-content",
+ ref: this._setAdditionalToolbarContentRef
+ }) : null), C().createElement("div", {
+ className: "header-image"
+ }), C().createElement("div", {
+ className: "header-container"
+ }, C().createElement("h1", {
+ className: "header-text-title"
+
+ }, interfaceConfig.OFMEET_WELCOME_PAGE_TITLE), C().createElement("span", { // BAO
+ className: "header-text-subtitle"
+ }, interfaceConfig.OFMEET_WELCOME_PAGE_DESCRIPTION), C().createElement("div", { // BAO
+
+ id: "enter_room"
+ }, C().createElement("div", {
+ className: "enter-room-input-container"
+ }, C().createElement("form", {
+ onSubmit: this._onFormSubmit
+ }, C().createElement("input", {
+ "aria-disabled": "false",
+ "aria-label": "Meeting name input",
+ autoFocus: !0,
+ className: "enter-room-input",
+ id: "enter_room_field",
+ onChange: this._onRoomChange,
+ pattern: "^[^?&:\"'%#]+$",
+ placeholder: this.state.roomPlaceholder,
+ ref: this._setRoomInputRef,
+ title: t("welcomepage.roomNameAllowedChars"),
+ type: "text",
+ value: this.state.room
+ }), C().createElement("div", {
+ className: e ? "warning-with-link" : "warning-without-link"
+ }, this._renderInsecureRoomNameWarning()))), C().createElement("button", {
+ "aria-disabled": "false",
+ "aria-label": "Start meeting",
+ className: "welcome-page-button",
+ id: "enter_room_button",
+ onClick: this._onFormSubmit,
+ tabIndex: "0",
+ type: "button"
+ }, t("welcomepage.startMeeting"))), e && C().createElement("div", {
+ id: "moderated-meetings"
+ }, C().createElement("p", null, xi(t, "welcomepage.moderatedMessage", {
+ url: e
+ }))))), C().createElement("div", {
+ className: "welcome-cards-container"
+ }, C().createElement("div", {
+ className: "welcome-card-row"
+ }, C().createElement("div", {
+ className: "welcome-tabs welcome-card welcome-card--blue"
+ }, this._renderTabs()), r ? C().createElement("div", {
+ className: "welcome-card welcome-card--dark",
+ ref: this._setAdditionalCardRef
+ }) : null), i ? C().createElement("div", {
+ className: "welcome-page-content",
+ ref: this._setAdditionalContentRef
+ }) : null), a && this._renderFooter())
+ }
+ _doRenderInsecureRoomNameWarning() {
+ return C().createElement("div", {
+ className: "insecure-room-name-warning"
+ }, C().createElement(lo, {
+ src: Id
+ }), C().createElement("span", null, this.props.t("security.insecureRoomNameWarning")))
}
-
- function o() {
- return o = Object.assign || function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t];
- for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
+ _onFormSubmit(e) {
+ e.preventDefault(), this._roomInputRef && !this._roomInputRef.reportValidity() || this._onJoin()
+ }
+ _onRoomChange(e) {
+ super._onRoomChange(e.target.value)
+ }
+ _onTabSelected(e) {
+ this.setState({
+ selectedTab: e
+ })
+ }
+ _renderFooter() {
+ const {
+ t: e
+ } = this.props, {
+ MOBILE_DOWNLOAD_LINK_ANDROID: t,
+ MOBILE_DOWNLOAD_LINK_F_DROID: n,
+ MOBILE_DOWNLOAD_LINK_IOS: a
+ } = interfaceConfig;
+ return C().createElement("footer", {
+ className: "welcome-footer"
+ }, C().createElement("div", {
+ className: "welcome-footer-centered"
+ }, C().createElement("div", {
+ className: "welcome-footer-padded"
+ }, C().createElement("div", {
+ className: "welcome-footer-row-block welcome-footer--row-1"
+ }, C().createElement("div", {
+ className: "welcome-footer-row-1-text"
+ }, e("welcomepage.jitsiOnMobile")), C().createElement("a", {
+ className: "welcome-badge",
+ href: a
+ }, C().createElement("img", {
+ alt: e("welcomepage.mobileDownLoadLinkIos"),
+ src: "./images/app-store-badge.png"
+ })), C().createElement("a", {
+ className: "welcome-badge",
+ href: t
+ }, C().createElement("img", {
+ alt: e("welcomepage.mobileDownLoadLinkAndroid"),
+ src: "./images/google-play-badge.png"
+ })), C().createElement("a", {
+ className: "welcome-badge",
+ href: n
+ }, C().createElement("img", {
+ alt: e("welcomepage.mobileDownLoadLinkFDroid"),
+ src: "./images/f-droid-badge.png"
+ }))))))
+ }
+ _renderTabs() {
+ if (va()) return null;
+ const {
+ _calendarEnabled: e,
+ _recentListEnabled: t,
+ t: n
+ } = this.props, a = [];
+ return e && a.push({
+ label: n("welcomepage.calendar"),
+ content: C().createElement(ZJ, null)
+ }), t && a.push({
+ label: n("welcomepage.recentList"),
+ content: C().createElement(Yie, null)
+ }), 0 === a.length ? null : C().createElement($ie, {
+ onSelect: this._onTabSelected,
+ selected: this.state.selectedTab,
+ tabs: a
+ })
+ }
+ _setAdditionalCardRef(e) {
+ this._additionalCardRef = e
+ }
+ _setAdditionalContentRef(e) {
+ this._additionalContentRef = e
+ }
+ _setAdditionalToolbarContentRef(e) {
+ this._additionalToolbarContentRef = e
+ }
+ _setRoomInputRef(e) {
+ this._roomInputRef = e
+ }
+ _shouldShowAdditionalCard() {
+ return interfaceConfig.DISPLAY_WELCOME_PAGE_ADDITIONAL_CARD && this._additionalCardTemplate && this._additionalCardTemplate.content && this._additionalCardTemplate.innerHTML.trim()
+ }
+ _shouldShowAdditionalContent() {
+ return interfaceConfig.DISPLAY_WELCOME_PAGE_CONTENT && this._additionalContentTemplate && this._additionalContentTemplate.content && this._additionalContentTemplate.innerHTML.trim()
+ }
+ _shouldShowAdditionalToolbarContent() {
+ return interfaceConfig.DISPLAY_WELCOME_PAGE_TOOLBAR_ADDITIONAL_CONTENT && this._additionalToolbarContentTemplate && this._additionalToolbarContentTemplate.content && this._additionalToolbarContentTemplate.innerHTML.trim()
+ }
+ }! function(e, t, n) {
+ t in e ? Object.defineProperty(e, t, {
+ value: n,
+ enumerable: !0,
+ configurable: !0,
+ writable: !0
+ }) : e[t] = n
+ }(Jie, "defaultProps", {
+ _room: ""
+ });
+ const Zie = Ei(Ne((function(e) {
+ return {
+ _calendarEnabled: OJ(e),
+ _enableInsecureRoomNameWarning: e["features/base/config"].enableInsecureRoomNameWarning || !1,
+ _moderatedRoomServiceUrl: e["features/base/config"].moderatedRoomServiceUrl,
+ _recentListEnabled: _re(),
+ _room: e["features/base/conference"].room,
+ _settings: e["features/base/settings"]
+ }
+ }))(Jie)); qe.register((e => t => n => {
+ switch (n.type) {
+ case TF:
+ return function(e, t, n) {
+ const a = t(n),
+ {
+ history: r,
+ location: i
+ } = window;
+ if (!ja()) {
+ if (r && i && r.length && "function" == typeof r.replaceState) {
+ const e = LF(i);
+ i !== e && r.replaceState(r.state, document && document.title || "", e)
+ }
+ return a
+ }
+ }(0, t, n);
+ case DF:
+ return function(e, t, n) {
+ let {
+ dispatch: a,
+ getState: r
+ } = e;
+ if (! function(e, t) {
+ const {
+ error: n
+ } = t;
+ if (n && "item-not-found" === n.message && n.details && n.details.shard_changed) {
+ const t = e(),
+ {
+ timeEstablished: a
+ } = t["features/base/connection"],
+ {
+ _immediateReloadThreshold: r
+ } = t["features/base/config"],
+ i = a && Date.now() - a,
+ o = "number" == typeof r ? r : 1500,
+ s = !a || i <= o;
+ return Da(function(e) {
+ return {
+ action: e,
+ actionSubject: "connection",
+ attributes: arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}
+ }
+ }("failed", {
+ ...n,
+ connectionEstablished: a,
+ splitBrain: s,
+ timeSinceConnectionEstablished: i
+ })), s
+ }
+ return !1
+ }(r, n)) return t(n);
+ a(rB())
+ }(e, t, n);
+ case oq:
+ return function(e, t, n) {
+ const a = t(n);
+ return function(e) {
+ let {
+ getState: t
+ } = e;
+ const n = t(),
+ {
+ app: a
+ } = n["features/base/app"];
+ (function(e) {
+ const t = Fe(e);
+ return function(e) {
+ if (!SF(e["features/base/conference"].room)) return;
+ const t = {
+ component: void 0,
+ href: void 0
+ },
+ {
+ locationURL: n
+ } = e["features/base/connection"];
+ return window.location.href !== n.href ? (t.href = n.href, Promise.resolve(t)) : function(e) {
+ const {
+ room: t
+ } = e["features/base/conference"], {
+ launchInWeb: n
+ } = e["features/deep-linking"], a = "undefined" != typeof interfaceConfig && interfaceConfig.APP_SCHEME;
+ if (n || !t || e["features/base/config"].disableDeepLinking || cM(e) && (!a || "com.8x8.meet" === a)) return Promise.resolve();
+/* BAO
+ if (va()) {
+ const e = "object" == typeof interfaceConfig && interfaceConfig.MOBILE_APP_PROMO;
+ return Promise.resolve(void 0 === e || Boolean(e) ? Jae : Zae)
+ }
+*/
+
+ return Qae().then((e => e ? Yae : void 0))
+ }(e).then((e => (e ? t.component = e : pY() ? t.component = qie : t.component = Hie, t)))
+ }(t) || function(e) {
+ const t = {
+ component: void 0,
+ href: void 0
+ };
+ if (function(e) {
+ return "undefined" == typeof APP || Fe(e)["features/base/config"].enableWelcomePage
+ }(e)) pY() ? t.component = Zie : t.component = Hie;
+ else {
+ let e = window.location.href;
+ e.endsWith("/") || (e += "/"), t.href = e + Lq()
+ }
+ return Promise.resolve(t)
+ }(t)
+ })(n).then((e => a._navigate(e)))
+ }(e), a
+ }(e, t, n)
+ }
+ return t(n)
+ }));
+ const Qie = {
+ availableDevices: {
+ audioInput: [],
+ audioOutput: [],
+ videoInput: []
+ },
+ pendingRequests: [],
+ permissions: {
+ audio: !1,
+ video: !1
+ }
+ }; et.register("features/base/devices", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : Qie,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case IM: {
+ const n = WM(t.devices);
+ return {
+ ...e,
+ availableDevices: n
}
+ }
+ case OM:
+ return {
+ ...e, pendingRequests: [...e.pendingRequests, t.request]
+ };
+ case NM:
+ return {
+ ...e, pendingRequests: []
+ };
+ case jM:
+ return LM.debug(`set audio input device: ${t.deviceId}`), e;
+ case MM:
+ return LM.debug(`set video input device: ${t.deviceId}`), e;
+ case zM:
+ return {
+ ...e, permissions: t.permissions
+ };
+ default:
return e
- }, o.apply(this, arguments)
}
- var s = function(e) {
- return a.default.createElement(r.default, o({
- dangerouslySetGlyph: '
'
- }, e))
- };
- s.displayName = "InfoIcon";
- var l = s;
- t.Z = l
- }, 251: (e, t, n) => {
- "use strict";
- t.Z = void 0;
- var a = i(n(2684)),
- r = i(n(1041));
-
- function i(e) {
- return e && e.__esModule ? e : {
- default: e
- }
+ }));
+ const Xie = {
+ enabled: !1,
+ maxMode: g8
+ }; et.register("features/e2ee", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : Xie,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case a8:
+ return {
+ ...e, enabled: t.enabled
+ };
+ case r8:
+ return {
+ ...e, everyoneEnabledE2EE: t.everyoneEnabledE2EE
+ };
+ case i8:
+ return {
+ ...e, everyoneSupportE2EE: t.everyoneSupportE2EE
+ };
+ case o8:
+ return {
+ ...e, maxMode: t.maxMode
+ };
+ default:
+ return e
}
-
- function o() {
- return o = Object.assign || function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t];
- for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
+ }));
+ const eoe = {
+ facialExpressions: {
+ happy: 0,
+ neutral: 0,
+ surprised: 0,
+ angry: 0,
+ fearful: 0,
+ disgusted: 0,
+ sad: 0
+ },
+ detectionTimeInterval: -1,
+ recognitionActive: !1
+ }; et.register("features/facial-recognition", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : eoe,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case Lne:
+ return e.facialExpressions[t.facialExpression] += t.duration, e;
+ case Fne:
+ return {
+ ...e, detectionTimeInterval: t.time
+ };
+ case qne:
+ return {
+ ...e, recognitionActive: !0
+ };
+ case Bne:
+ return {
+ ...e, recognitionActive: !1
+ }
+ }
+ return e
+ }));
+ const toe = {
+ message: "",
+ score: -1,
+ submitted: !1
+ }; et.register("features/feedback", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : toe,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case k1:
+ return {
+ ...e, message: t.message, score: t.score
+ };
+ case _1:
+ case w1:
+ return {
+ ...e, message: "", score: -1, submitted: !0
}
+ }
+ return e
+ })), et.register("features/local-recording", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case H1:
+ return {
+ ...e, isEngaged: !0, recordingEngagedAt: t.recordingEngagedAt, encodingFormat: m0._format
+ };
+ case V1:
+ return {
+ ...e, isEngaged: !1, recordingEngagedAt: null
+ };
+ case W1:
+ return {
+ ...e, stats: t.stats
+ };
+ default:
return e
- }, o.apply(this, arguments)
}
- var s = function(e) {
- return a.default.createElement(r.default, o({
- dangerouslySetGlyph: '
'
- }, e))
- };
- s.displayName = "RadioIcon";
- var l = s;
- t.Z = l
- }, 901: (e, t, n) => {
- "use strict";
- t.Z = void 0;
- var a = i(n(2684)),
- r = i(n(1041));
+ })), et.register("features/no-audio-signal", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ return t.type === _ne ? ze(e, "noAudioSignalNotificationUid", t.uid) : e
+ })), et.register("features/noise-detection", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ return t.type === Cne ? ze(e, "noisyAudioInputNotificationUid", t.uid) : e
+ }));
+ const noe = {
+ isOpen: !1,
+ participantsVolume: {}
+ };
- function i(e) {
- return e && e.__esModule ? e : {
- default: e
- }
- }
+ function aoe(e, t) {
+ return ze(e, "transport", t)
+ }
- function o() {
- return o = Object.assign || function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t];
- for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
- }
+ function roe(e) {
+ return ze(e, "suspendDetected", !0)
+ }
+ et.register(Sm, (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : noe,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case _0:
+ return {
+ ...e, isOpen: !1
+ };
+ case w0:
+ return {
+ ...e, isOpen: !0
+ };
+ case S0:
+ return {
+ ...e, participantsVolume: {
+ ...e.participantsVolume,
+ [t.participantId]: t.volume
+ }
+ };
+ default:
return e
- }, o.apply(this, arguments)
}
- var s = function(e) {
- return a.default.createElement(r.default, o({
- dangerouslySetGlyph: '
'
- }, e))
- };
- s.displayName = "StarFilledIcon";
- var l = s;
- t.Z = l
- }, 9429: (e, t, n) => {
- "use strict";
- t.Z = void 0;
- var a = i(n(2684)),
- r = i(n(1041));
+ })), et.register("features/power-monitor", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case Aee:
+ return aoe(e, t.transport);
+ case Cee:
+ return roe(e)
+ }
+ return e
+ }));
+ const ioe = {
+ country: "",
+ deviceStatusText: "prejoin.configuringDevices",
+ deviceStatusType: "ok",
+ dialOutCountry: {
+ name: "United States",
+ dialCode: "1",
+ code: "us"
+ },
+ dialOutNumber: "",
+ dialOutStatus: "prejoin.dialing",
+ isDisplayNameRequired: !1,
+ name: "",
+ rawError: "",
+ showPrejoin: !0,
+ skipPrejoinOnReload: !1,
+ showJoinByPhoneDialog: !1,
+ userSelectedSkipPrejoin: !1
+ };
- function i(e) {
- return e && e.__esModule ? e : {
- default: e
- }
+ function ooe(e) {
+ const {
+ audioOnlyError: t,
+ videoOnlyError: n,
+ audioAndVideoError: a
+ } = e;
+ return a ? t ? n ? {
+ deviceStatusType: "warning",
+ deviceStatusText: "prejoin.audioAndVideoError",
+ rawError: a.message
+ } : {
+ deviceStatusType: "warning",
+ deviceStatusText: "prejoin.audioOnlyError",
+ rawError: t.message
+ } : {
+ deviceStatusType: "warning",
+ deviceStatusText: "prejoin.videoOnlyError",
+ rawError: a.message
+ } : {
+ deviceStatusType: "ok",
+ deviceStatusText: "prejoin.lookGood",
+ rawError: ""
}
-
- function o() {
- return o = Object.assign || function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t];
- for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
+ }
+ Xe.register("features/prejoin", {
+ skipPrejoinOnReload: !0
+ }, ioe), et.register("features/prejoin", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : ioe,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case ZU:
+ return {
+ ...e, joiningInProgress: t.value
+ };
+ case eH:
+ return {
+ ...e, userSelectedSkipPrejoin: t.value
+ };
+ case tH:
+ return {
+ ...e, skipPrejoinOnReload: t.value
+ };
+ case sH:
+ return {
+ ...e, precallTestResults: t.value
+ };
+ case cH:
+ return {
+ ...e, showPrejoin: t.value
+ };
+ case lH: {
+ const n = ooe(t.value);
+ return {
+ ...e,
+ ...n
+ }
+ }
+ case XU: {
+ const {
+ deviceStatusType: n,
+ deviceStatusText: a
+ } = t.value;
+ return {
+ ...e,
+ deviceStatusText: a,
+ deviceStatusType: n
}
+ }
+ case rH:
+ return {
+ ...e, dialOutNumber: t.value
+ };
+ case aH:
+ return {
+ ...e, dialOutCountry: t.value
+ };
+ case iH:
+ return {
+ ...e, dialOutStatus: t.value
+ };
+ case oH:
+ return {
+ ...e, showJoinByPhoneDialog: t.value
+ };
+ case nH:
+ return {
+ ...e, isDisplayNameRequired: !0
+ };
+ default:
return e
- }, o.apply(this, arguments)
}
- var s = function(e) {
- return a.default.createElement(r.default, o({
- dangerouslySetGlyph: '
'
- }, e))
- };
- s.displayName = "StarIcon";
- var l = s;
- t.Z = l
- }, 9317: (e, t, n) => {
- "use strict";
- t.Z = void 0;
- var a = i(n(2684)),
- r = i(n(1041));
-
- function i(e) {
- return e && e.__esModule ? e : {
- default: e
- }
+ }));
+ const soe = {
+ active: !1,
+ controller: {
+ isCapturingEvents: !1
+ },
+ receiver: {
+ enabled: !1
}
-
- function o() {
- return o = Object.assign || function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t];
- for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
+ }; et.register("features/remote-control", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : soe,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case I3:
+ return {
+ ...e, controller: ze(e.controller, "isCapturingEvents", t.isCapturingEvents)
+ };
+ case O3:
+ return ze(e, "active", t.active);
+ case N3:
+ return {
+ ...e, receiver: ze(e.receiver, "transport", t.transport)
+ };
+ case R3:
+ return {
+ ...e, receiver: ze(e.receiver, "enabled", t.enabled)
+ };
+ case F3:
+ return {
+ ...e, controller: ze(e.controller, "requestedParticipant", t.requestedParticipant)
+ };
+ case L3:
+ return {
+ ...e, controller: ze(e.controller, "controlled", t.controlled)
+ };
+ case z3:
+ return {
+ ...e, receiver: ze(e.receiver, "controller", t.controller)
}
- return e
- }, o.apply(this, arguments)
}
- var s = function(e) {
- return a.default.createElement(r.default, o({
- dangerouslySetGlyph: '
'
- }, e))
- };
- s.displayName = "WarningIcon";
- var l = s;
- t.Z = l
- }, 3241: (e, t, n) => {
- "use strict";
- n.r(t), n.d(t, {
- __extends: () => r,
- __assign: () => i,
- __rest: () => o,
- __decorate: () => s,
- __param: () => l,
- __metadata: () => c,
- __awaiter: () => u,
- __generator: () => d,
- __createBinding: () => p,
- __exportStar: () => h,
- __values: () => m,
- __read: () => f,
- __spread: () => g,
- __spreadArrays: () => b,
- __spreadArray: () => y,
- __await: () => v,
- __asyncGenerator: () => k,
- __asyncDelegator: () => _,
- __asyncValues: () => w,
- __makeTemplateObject: () => S,
- __importStar: () => x,
- __importDefault: () => C,
- __classPrivateFieldGet: () => A,
- __classPrivateFieldSet: () => j
- });
- var a = function(e, t) {
- return a = Object.setPrototypeOf || {
- __proto__: []
- }
- instanceof Array && function(e, t) {
- e.__proto__ = t
- } || function(e, t) {
- for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n])
- }, a(e, t)
- };
-
- function r(e, t) {
- if ("function" != typeof t && null !== t) throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
-
- function n() {
- this.constructor = e
- }
- a(e, t), e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n)
+ return e
+ })), et.register("features/screen-share", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ const {
+ captureFrameRate: n,
+ isSharingAudio: a
+ } = t;
+ switch (t.type) {
+ case oY:
+ return {
+ ...e, isSharingAudio: a
+ };
+ case sY:
+ return {
+ ...e, captureFrameRate: n
+ };
+ default:
+ return e
}
- var i = function() {
- return i = Object.assign || function(e) {
- for (var t, n = 1, a = arguments.length; n < a; n++)
- for (var r in t = arguments[n]) Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]);
+ })), Xe.register("features/screnshot-capture", !0, {
+ capturesEnabled: !1
+ }), et.register("features/screenshot-capture", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ return t.type === xK ? {
+ ...e,
+ capturesEnabled: t.payload
+ } : e
+ }));
+ const loe = {}; et.register("features/shared-video", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : loe,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ const {
+ videoUrl: n,
+ status: a,
+ time: r,
+ ownerId: i,
+ disabled: o,
+ muted: s
+ } = t;
+ switch (t.type) {
+ case h6:
+ return loe;
+ case p6:
+ return {
+ ...e, muted: s, ownerId: i, status: a, time: r, videoUrl: n
+ };
+ case m6:
+ return {
+ ...e, disabled: o
+ };
+ default:
return e
- }, i.apply(this, arguments)
- };
-
- function o(e, t) {
- var n = {};
- for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && t.indexOf(a) < 0 && (n[a] = e[a]);
- if (null != e && "function" == typeof Object.getOwnPropertySymbols) {
- var r = 0;
- for (a = Object.getOwnPropertySymbols(e); r < a.length; r++) t.indexOf(a[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, a[r]) && (n[a[r]] = e[a[r]])
- }
- return n
}
-
- function s(e, t, n, a) {
- var r, i = arguments.length,
- o = i < 3 ? t : null === a ? a = Object.getOwnPropertyDescriptor(t, n) : a;
- if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) o = Reflect.decorate(e, t, n, a);
- else
- for (var s = e.length - 1; s >= 0; s--)(r = e[s]) && (o = (i < 3 ? r(o) : i > 3 ? r(t, n, o) : r(t, n)) || o);
- return i > 3 && o && Object.defineProperty(t, n, o), o
+ })), et.register("features/talk-while-muted", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ return t.type === Nne ? ze(e, "currentNotificationUid", t.uid) : e
+ }));
+ const coe = "features/virtual-background"; et.register(coe, (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ const {
+ virtualSource: n,
+ backgroundEffectEnabled: a,
+ blurValue: r,
+ backgroundType: i,
+ selectedThumbnail: o
+ } = t;
+ switch (Xe.register(coe, e.backgroundType !== Pp), t.type) {
+ case kp:
+ return {
+ ...e, virtualSource: n, blurValue: r, backgroundType: i, selectedThumbnail: o
+ };
+ case vp:
+ return {
+ ...e, backgroundEffectEnabled: a
+ }
}
-
- function l(e, t) {
- return function(n, a) {
- t(n, a, e)
+ return e
+ }));
+ const uoe = {
+ localTracksDuration: {
+ audio: {
+ startedTime: -1,
+ value: 0
+ },
+ video: {
+ camera: {
+ startedTime: -1,
+ value: 0
+ },
+ desktop: {
+ startedTime: -1,
+ value: 0
+ }
+ },
+ conference: {
+ startedTime: -1,
+ value: 0
}
}
-
- function c(e, t) {
- if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(e, t)
+ }; et.register("features/analytics", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : uoe,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ return t.type === eae ? {
+ ...e,
+ localTracksDuration: t.localTracksDuration
+ } : e
+ })), et.register("features/authentication", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case lB:
+ return Oe(e, {
+ error: void 0,
+ progress: void 0,
+ thenableWithCancel: void 0
+ });
+ case cB:
+ return Oe(e, {
+ error: void 0,
+ waitForOwnerTimeoutID: void 0
+ });
+ case uB: {
+ let {
+ thenableWithCancel: n
+ } = t;
+ if (e.thenableWithCancel === n) {
+ const {
+ error: a,
+ progress: r
+ } = t;
+ return (a || 1 === r) && (n = void 0), Oe(e, {
+ error: a,
+ progress: r || void 0,
+ thenableWithCancel: n
+ })
+ }
+ break
+ }
+ case dB:
+ return Oe(e, {
+ error: void 0,
+ progress: void 0,
+ thenableWithCancel: t.thenableWithCancel
+ });
+ case pB:
+ return Oe(e, {
+ waitForOwnerTimeoutID: t.waitForOwnerTimeoutID
+ })
}
+ return e
+ }));
+ const doe = {
+ audioModerationEnabled: !1,
+ videoModerationEnabled: !1,
+ audioWhitelist: {},
+ videoWhitelist: {},
+ pendingAudio: [],
+ pendingVideo: []
+ };
- function u(e, t, n, a) {
- return new(n || (n = Promise))((function(r, i) {
- function o(e) {
- try {
- l(a.next(e))
- } catch (e) {
- i(e)
- }
+ function poe(e, t) {
+ let n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {},
+ a = !1;
+ const r = im[e],
+ i = n[r],
+ o = i.map((e => e.id === t.id ? (a = !0, {
+ ...e,
+ ...t
+ }) : e));
+ return !!a && (n[r] = o, !0)
+ }
+ et.register("features/av-moderation", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : doe,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case Nm: {
+ const n = t.mediaType === Fi ? {
+ audioModerationEnabled: !1,
+ audioUnmuteApproved: void 0
+ } : {
+ videoModerationEnabled: !1,
+ videoUnmuteApproved: void 0
+ };
+ return {
+ ...e,
+ ...n,
+ audioWhitelist: {},
+ videoWhitelist: {},
+ pendingAudio: [],
+ pendingVideo: []
}
-
- function s(e) {
- try {
- l(a.throw(e))
- } catch (e) {
- i(e)
+ }
+ case zm: {
+ const n = t.mediaType === Fi ? {
+ audioModerationEnabled: !0
+ } : {
+ videoModerationEnabled: !0
+ };
+ return {
+ ...e,
+ ...n
+ }
+ }
+ case Um: {
+ const n = t.mediaType === Fi ? {
+ audioUnmuteApproved: !0
+ } : {
+ videoUnmuteApproved: !0
+ };
+ return {
+ ...e,
+ ...n
+ }
+ }
+ case Hm: {
+ const n = t.mediaType === Fi ? {
+ audioUnmuteApproved: !1
+ } : {
+ videoUnmuteApproved: !1
+ };
+ return {
+ ...e,
+ ...n
+ }
+ }
+ case Gm: {
+ const {
+ participant: n
+ } = t;
+ if (!e.pendingAudio.find((e => e.id === n.id))) {
+ const t = [...e.pendingAudio];
+ return t.push(n), {
+ ...e,
+ pendingAudio: t
}
}
-
- function l(e) {
- var t;
- e.done ? r(e.value) : (t = e.value, t instanceof n ? t : new n((function(e) {
- e(t)
- }))).then(o, s)
+ return e
+ }
+ case Hw: {
+ const n = t.participant,
+ {
+ audioModerationEnabled: a,
+ videoModerationEnabled: r
+ } = e;
+ let i = !1;
+ return a && (i = poe(Fi, n, e)), r && (i = i || poe(Bi, n, e)), i ? {
+ ...e
+ } : e
+ }
+ case Uw: {
+ const n = t.participant,
+ {
+ audioModerationEnabled: a,
+ videoModerationEnabled: r
+ } = e;
+ let i = !1;
+ if (a) {
+ const t = e.pendingAudio.filter((e => e.id !== n.id));
+ e.pendingAudio.length !== t.length && (e.pendingAudio = t, i = !0)
}
- l((a = a.apply(e, t || [])).next())
- }))
- }
-
- function d(e, t) {
- var n, a, r, i, o = {
- label: 0,
- sent: function() {
- if (1 & r[0]) throw r[1];
- return r[1]
- },
- trys: [],
- ops: []
- };
- return i = {
- next: s(0),
- throw: s(1),
- return: s(2)
- }, "function" == typeof Symbol && (i[Symbol.iterator] = function() {
- return this
- }), i;
-
- function s(i) {
- return function(s) {
- return function(i) {
- if (n) throw new TypeError("Generator is already executing.");
- for (; o;) try {
- if (n = 1, a && (r = 2 & i[0] ? a.return : i[0] ? a.throw || ((r = a.return) && r.call(a), 0) : a.next) && !(r = r.call(a, i[1])).done) return r;
- switch (a = 0, r && (i = [2 & i[0], r.value]), i[0]) {
- case 0:
- case 1:
- r = i;
- break;
- case 4:
- return o.label++, {
- value: i[1],
- done: !1
- };
- case 5:
- o.label++, a = i[1], i = [0];
- continue;
- case 7:
- i = o.ops.pop(), o.trys.pop();
- continue;
- default:
- if (!((r = (r = o.trys).length > 0 && r[r.length - 1]) || 6 !== i[0] && 2 !== i[0])) {
- o = 0;
- continue
- }
- if (3 === i[0] && (!r || i[1] > r[0] && i[1] < r[3])) {
- o.label = i[1];
- break
- }
- if (6 === i[0] && o.label < r[1]) {
- o.label = r[1], r = i;
- break
- }
- if (r && o.label < r[2]) {
- o.label = r[2], o.ops.push(i);
- break
- }
- r[2] && o.ops.pop(), o.trys.pop();
- continue
- }
- i = t.call(e, o)
- } catch (e) {
- i = [6, e], a = 0
- } finally {
- n = r = 0
- }
- if (5 & i[0]) throw i[1];
- return {
- value: i[0] ? i[1] : void 0,
- done: !0
- }
- }([i, s])
+ if (r) {
+ const t = e.pendingVideo.filter((e => e.id !== n.id));
+ e.pendingVideo.length !== t.length && (e.pendingVideo = t, i = !0)
}
+ return i ? {
+ ...e
+ } : e
+ }
+ case Rm: {
+ const {
+ id: n,
+ mediaType: a
+ } = t;
+ return a === Fi ? {
+ ...e,
+ pendingAudio: e.pendingAudio.filter((e => e.id !== n))
+ } : a === Bi ? {
+ ...e,
+ pendingVideo: e.pendingVideo.filter((e => e.id !== n))
+ } : e
+ }
+ case Wm: {
+ const {
+ mediaType: n,
+ id: a
+ } = t;
+ return n === Fi ? {
+ ...e,
+ audioWhitelist: {
+ ...e.audioWhitelist,
+ [a]: !0
+ }
+ } : n === Bi ? {
+ ...e,
+ videoWhitelist: {
+ ...e.videoWhitelist,
+ [a]: !0
+ }
+ } : e
+ }
+ case Ym: {
+ const {
+ mediaType: n,
+ id: a
+ } = t;
+ return n === Fi ? {
+ ...e,
+ audioWhitelist: {
+ ...e.audioWhitelist,
+ [a]: !1
+ }
+ } : n === Bi ? {
+ ...e,
+ videoWhitelist: {
+ ...e.videoWhitelist,
+ [a]: !1
+ }
+ } : e
+ }
+ }
+ return e
+ })), et.register("features/base/app", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case Va: {
+ const {
+ app: n
+ } = t;
+ if (e.app !== n) return {
+ ...e,
+ app: n
+ };
+ break
}
- }
- var p = Object.create ? function(e, t, n, a) {
- void 0 === a && (a = n), Object.defineProperty(e, a, {
- enumerable: !0,
- get: function() {
- return t[n]
- }
- })
- } : function(e, t, n, a) {
- void 0 === a && (a = n), e[a] = t[n]
- };
+ case Wa:
+ if (e.app === t.app) return {
+ ...e,
+ app: void 0
+ }
+ }
+ return e
+ }));
+ const hoe = {
+ enabled: !1
+ }; et.register("features/base/audio-only", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : hoe,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ return t.type === WX ? {
+ ...e,
+ enabled: t.audioOnly
+ } : e
+ }));
+ const moe = {
+ conference: void 0,
+ e2eeSupported: void 0,
+ joining: void 0,
+ leaving: void 0,
+ locked: void 0,
+ membersOnly: void 0,
+ password: void 0,
+ passwordRequired: void 0
+ };
- function h(e, t) {
- for (var n in e) "default" === n || Object.prototype.hasOwnProperty.call(t, n) || p(t, e, n)
- }
+ function foe(e, t) {
+ let {
+ authEnabled: n,
+ authLogin: a
+ } = t;
+ return Oe(e, {
+ authEnabled: n,
+ authLogin: a
+ })
+ }
- function m(e) {
- var t = "function" == typeof Symbol && Symbol.iterator,
- n = t && e[t],
- a = 0;
- if (n) return n.call(e);
- if (e && "number" == typeof e.length) return {
- next: function() {
- return e && a >= e.length && (e = void 0), {
- value: e && e[a++],
- done: !e
- }
- }
- };
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.")
- }
+ function goe(e, t) {
+ let {
+ conference: n,
+ error: a
+ } = t;
+ const r = e.conference || e.joining;
+ if (r && r !== n) return e;
+ let i, o, s;
+ switch (a.name) {
+ case pt.AUTHENTICATION_REQUIRED:
+ i = n;
+ break;
+ case pt.CONFERENCE_ACCESS_DENIED:
+ case pt.MEMBERS_ONLY_ERROR:
+ o = n;
+ break;
+ case pt.PASSWORD_REQUIRED:
+ s = n
+ }
+ return Oe(e, {
+ authRequired: i,
+ conference: void 0,
+ e2eeSupported: void 0,
+ error: a,
+ joining: void 0,
+ leaving: void 0,
+ locked: s ? X8 : void 0,
+ membersOnly: o,
+ password: void 0,
+ passwordRequired: s
+ })
+ }
- function f(e, t) {
- var n = "function" == typeof Symbol && e[Symbol.iterator];
- if (!n) return e;
- var a, r, i = n.call(e),
- o = [];
- try {
- for (;
- (void 0 === t || t-- > 0) && !(a = i.next()).done;) o.push(a.value)
- } catch (e) {
- r = {
- error: e
- }
- } finally {
- try {
- a && !a.done && (n = i.return) && n.call(i)
- } finally {
- if (r) throw r.error
- }
+ function boe(e, t) {
+ let {
+ conference: n
+ } = t;
+ const a = n.room && n.room.locked ? X8 : void 0;
+ return Oe(e, {
+ authRequired: void 0,
+ conference: n,
+ e2eeSupported: n.isE2EESupported(),
+ joining: void 0,
+ membersOnly: void 0,
+ leaving: void 0,
+ locked: a,
+ passwordRequired: void 0
+ })
+ }
+
+ function yoe(e, t) {
+ let {
+ conference: n,
+ type: a
+ } = t;
+ const r = {
+ ...e
+ };
+ for (const t in e)
+ if (e[t] === n) switch (r[t] = void 0, t) {
+ case "conference":
+ case "passwordRequired":
+ delete r.locked, delete r.password
}
- return o
- }
+ return a === $F && (n !== e.joining && n !== e.conference || (r.leaving = n)), r
+ }
- function g() {
- for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(f(arguments[t]));
- return e
- }
+ function voe(e, t) {
+ let {
+ conference: n
+ } = t;
+ return Oe(e, {
+ error: void 0,
+ joining: n
+ })
+ }
- function b() {
- for (var e = 0, t = 0, n = arguments.length; t < n; t++) e += arguments[t].length;
- var a = Array(e),
- r = 0;
- for (t = 0; t < n; t++)
- for (var i = arguments[t], o = 0, s = i.length; o < s; o++, r++) a[r] = i[o];
- return a
- }
+ function koe(e, t) {
+ let {
+ conference: n,
+ locked: a
+ } = t;
+ return e.conference !== n ? e : Oe(e, {
+ locked: a ? e.locked || X8 : void 0,
+ password: a ? e.password : void 0
+ })
+ }
- function y(e, t) {
- for (var n = 0, a = t.length, r = e.length; n < a; n++, r++) e[r] = t[n];
- return e
- }
+ function _oe(e, t) {
+ return ze(e, "p2p", t.p2p)
+ }
- function v(e) {
- return this instanceof v ? (this.v = e, this) : new v(e)
+ function woe(e, t) {
+ let {
+ conference: n,
+ method: a,
+ password: r
+ } = t;
+ switch (a) {
+ case n.join:
+ return Oe(e, {
+ joining: e.conference ? e.joining : n,
+ locked: X8,
+ password: r
+ });
+ case n.lock:
+ return Oe(e, {
+ locked: r ? Q8 : void 0,
+ password: r
+ })
}
+ return e
+ }
- function k(e, t, n) {
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
- var a, r = n.apply(e, t || []),
- i = [];
- return a = {}, o("next"), o("throw"), o("return"), a[Symbol.asyncIterator] = function() {
- return this
- }, a;
+ function Soe(e, t) {
+ let {
+ room: n
+ } = t;
+ return SF(n) || (n = void 0), Oe(e, {
+ error: void 0,
+ room: n
+ })
+ }
+ et.register("features/base/conference", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : moe,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case BF:
+ return foe(e, t);
+ case UF:
+ return goe(e, t);
+ case HF:
+ return boe(e, t);
+ case WF:
+ return ze(e, "subject", t.subject);
+ case YF:
+ return ze(e, "conferenceTimestamp", t.conferenceTimestamp);
+ case VF:
+ case $F:
+ return yoe(e, t);
+ case KF:
+ return voe(e, t);
+ case PF:
+ return ze(e, "authRequired", void 0);
+ case QF:
+ return koe(e, t);
+ case XF:
+ return _oe(e, t);
+ case tq:
+ return ze(e, "followMeEnabled", t.enabled);
+ case nq:
+ return ze(e, "startReactionsMuted", t.muted);
+ case jF:
+ return ze(e, "room", void 0);
+ case aq:
+ return woe(e, t);
+ case iq:
+ return ze(e, "pendingSubjectChange", t.subject);
+ case oq:
+ return Soe(e, t);
+ case sq:
+ return {
+ ...e, startAudioMutedPolicy: t.startAudioMutedPolicy, startVideoMutedPolicy: t.startVideoMutedPolicy
+ }
+ }
+ return e
+ }));
+ const Eoe = {}, xoe = {
+ analytics: {},
+ disableAudioLevels: !0,
+ p2p: {
+ disabledCodec: "",
+ disableH264: !1,
+ preferredCodec: "H264",
+ preferH264: !0
+ }
+ }, Coe = {
+ hideConferenceTimer: ["conference-timer"],
+ hideConferenceSubject: ["subject"],
+ hideParticipantsStats: ["participants-count"],
+ hideRecordingLabel: ["recording", "local-recording"]
+ };
- function o(e) {
- r[e] && (a[e] = function(t) {
- return new Promise((function(n, a) {
- i.push([e, t, n, a]) > 1 || s(e, t)
- }))
- })
- }
+ function Aoe() {
+ return "ReactNative" === navigator.product ? xoe : Eoe
+ }
- function s(e, t) {
- try {
- (n = r[e](t)).value instanceof v ? Promise.resolve(n.value.v).then(l, c) : u(i[0][2], n)
- } catch (e) {
- u(i[0][3], e)
- }
- var n
- }
+ function Toe(e, t) {
+ let {
+ config: n
+ } = t;
+ n = function(e) {
+ const t = e;
+ !Array.isArray(e.toolbarButtons) && "object" == typeof interfaceConfig && Array.isArray(interfaceConfig.TOOLBAR_BUTTONS) && (t.toolbarButtons = interfaceConfig.TOOLBAR_BUTTONS), e.toolbarConfig || (e.toolbarConfig = {}), "boolean" != typeof e.toolbarConfig.alwaysVisible && "object" == typeof interfaceConfig && "boolean" == typeof interfaceConfig.TOOLBAR_ALWAYS_VISIBLE && (t.toolbarConfig.alwaysVisible = interfaceConfig.TOOLBAR_ALWAYS_VISIBLE), "number" != typeof e.toolbarConfig.initialTimeout && "object" == typeof interfaceConfig && "number" == typeof interfaceConfig.INITIAL_TOOLBAR_TIMEOUT && (t.toolbarConfig.initialTimeout = interfaceConfig.INITIAL_TOOLBAR_TIMEOUT), "number" != typeof e.toolbarConfig.timeout && "object" == typeof interfaceConfig && "number" == typeof interfaceConfig.TOOLBAR_TIMEOUT && (t.toolbarConfig.timeout = interfaceConfig.TOOLBAR_TIMEOUT);
+ const n = Object.keys(Coe).filter((t => e[t]));
+ var a, r, i, o;
+ return n.length && (t.conferenceInfo = function(e) {
+ const {
+ conferenceInfo: t
+ } = e;
+ var n, a;
+ return t ? {
+ alwaysVisible: null !== (n = t.alwaysVisible) && void 0 !== n ? n : [...wie.alwaysVisible],
+ autoHide: null !== (a = t.autoHide) && void 0 !== a ? a : [...wie.autoHide]
+ } : {
+ ...wie
+ }
+ }(e), n.forEach((e => {
+ "hideRecordingLabel" === e ? (t.conferenceInfo.alwaysVisible = t.conferenceInfo.alwaysVisible.filter((t => !Coe[e].includes(t))), t.conferenceInfo.autoHide = _().union(t.conferenceInfo.autoHide, Coe[e])) : (t.conferenceInfo.alwaysVisible = t.conferenceInfo.alwaysVisible.filter((t => !Coe[e].includes(t))), t.conferenceInfo.autoHide = t.conferenceInfo.autoHide.filter((t => !Coe[e].includes(t))))
+ }))), !e.connectionIndicators && "object" == typeof interfaceConfig && (interfaceConfig.hasOwnProperty("CONNECTION_INDICATOR_DISABLED") || interfaceConfig.hasOwnProperty("CONNECTION_INDICATOR_AUTO_HIDE_ENABLED") || interfaceConfig.hasOwnProperty("CONNECTION_INDICATOR_AUTO_HIDE_TIMEOUT")) && (t.connectionIndicators = {
+ disabled: interfaceConfig.CONNECTION_INDICATOR_DISABLED,
+ autoHide: interfaceConfig.CONNECTION_INDICATOR_AUTO_HIDE_ENABLED,
+ autoHideTimeout: interfaceConfig.CONNECTION_INDICATOR_AUTO_HIDE_TIMEOUT
+ }), t.prejoinConfig = e.prejoinConfig || {}, e.hasOwnProperty("prejoinPageEnabled") && !t.prejoinConfig.hasOwnProperty("enabled") && (t.prejoinConfig.enabled = e.prejoinPageEnabled), t.disabledSounds = t.disabledSounds || [], e.disableJoinLeaveSounds && t.disabledSounds.unshift("PARTICIPANT_LEFT_SOUND", "PARTICIPANT_JOINED_SOUND"), e.disableRecordAudioNotification && t.disabledSounds.unshift("RECORDING_ON_SOUND", "RECORDING_OFF_SOUND", "LIVE_STREAMING_ON_SOUND", "LIVE_STREAMING_OFF_SOUND"), e.disableIncomingMessageSound && t.disabledSounds.unshift("INCOMING_MSG_SOUND"), (e.stereo || e.opusMaxAverageBitrate) && (t.audioQuality = {
+ opusMaxAverageBitrate: null !== (a = null === (r = e.audioQuality) || void 0 === r ? void 0 : r.opusMaxAverageBitrate) && void 0 !== a ? a : e.opusMaxAverageBitrate,
+ stereo: null !== (i = null === (o = e.audioQuality) || void 0 === o ? void 0 : o.stereo) && void 0 !== i ? i : e.stereo
+ }), void 0 === e.disableModeratorIndicator && "object" == typeof interfaceConfig && interfaceConfig.hasOwnProperty("DISABLE_FOCUS_INDICATOR") && (t.disableModeratorIndicator = interfaceConfig.DISABLE_FOCUS_INDICATOR), t.e2ee = t.e2ee || {}, e.e2eeLabels && (t.e2ee.e2eeLabels = e.e2eeLabels), void 0 === e.defaultLocalDisplayName && "object" == typeof interfaceConfig && interfaceConfig.hasOwnProperty("DEFAULT_LOCAL_DISPLAY_NAME") && (t.defaultLocalDisplayName = interfaceConfig.DEFAULT_LOCAL_DISPLAY_NAME), t.defaultLocalDisplayName = t.defaultLocalDisplayName || "me", void 0 === e.defaultRemoteDisplayName && "object" == typeof interfaceConfig && interfaceConfig.hasOwnProperty("DEFAULT_REMOTE_DISPLAY_NAME") && (t.defaultRemoteDisplayName = interfaceConfig.DEFAULT_REMOTE_DISPLAY_NAME), t.defaultRemoteDisplayName = t.defaultRemoteDisplayName || "Fellow Jitster", t
+ }(n);
+ const {
+ audioQuality: a
+ } = n, r = {};
+ null != a && a.stereo && Object.assign(r, {
+ disableAP: !0,
+ enableNoAudioDetection: !1,
+ enableNoisyMicDetection: !1,
+ enableTalkWhileMuted: !1
+ });
+ const i = _().merge({}, n, r, {
+ error: void 0
+ }, Aoe());
+ return Re(e, i) ? e : i
+ }
- function l(e) {
- s("next", e)
- }
+ function Doe(e, t) {
+ let {
+ config: n
+ } = t;
+ const a = _().merge({}, e, n);
+ return Re(e, a) ? e : a
+ }
- function c(e) {
- s("throw", e)
- }
+ function Poe(e, t) {
+ let {
+ connection: n
+ } = t;
+ return Ooe(e) !== n ? e : Oe(e, {
+ connecting: void 0,
+ connection: void 0,
+ timeEstablished: void 0
+ })
+ }
- function u(e, t) {
- e(t), i.shift(), i.length && s(i[0][0], i[0][1])
- }
- }
+ function joe(e, t) {
+ let {
+ connection: n,
+ timeEstablished: a
+ } = t;
+ return Oe(e, {
+ connecting: void 0,
+ connection: n,
+ error: void 0,
+ passwordRequired: void 0,
+ timeEstablished: a
+ })
+ }
- function _(e) {
- var t, n;
- return t = {}, a("next"), a("throw", (function(e) {
- throw e
- })), a("return"), t[Symbol.iterator] = function() {
- return this
- }, t;
+ function Moe(e, t) {
+ let {
+ connection: n,
+ error: a
+ } = t;
+ const r = Ooe(e);
+ return r && r !== n ? e : Oe(e, {
+ connecting: void 0,
+ connection: void 0,
+ error: a,
+ passwordRequired: a.name === mt.PASSWORD_REQUIRED ? n : void 0
+ })
+ }
+
+ function Ioe(e, t) {
+ let {
+ connection: n
+ } = t;
+ return Oe(e, {
+ connecting: n,
+ connection: void 0,
+ error: void 0,
+ passwordRequired: void 0,
+ timeEstablished: void 0
+ })
+ }
- function a(a, r) {
- t[a] = e[a] ? function(t) {
- return (n = !n) ? {
- value: v(e[a](t)),
- done: "return" === a
- } : r ? r(t) : t
- } : r
+ function Ooe(e) {
+ return e.connection || e.connecting
+ }
+
+ function Noe(e, t) {
+ let {
+ locationURL: n
+ } = t;
+ return ze(e, "locationURL", n)
+ }
+
+ function Roe(e) {
+ return Oe(e, {
+ error: void 0,
+ passwordRequired: void 0
+ })
+ }
+
+ function zoe(e, t) {
+ let {
+ showConnectionInfo: n
+ } = t;
+ return ze(e, "showConnectionInfo", n)
+ }
+ et.register("features/base/config", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : Aoe(),
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case On:
+ return Doe(e, t);
+ case jn:
+ return {
+ error: void 0, locationURL: t.locationURL
+ };
+ case Mn:
+ if (e.locationURL === t.locationURL) return {
+ error: t.error
+ };
+ break;
+ case In:
+ return Toe(e, t);
+ case Nn:
+ return {
+ ...e, ...t.config
+ }
+ }
+ return e
+ })), et.register("features/base/connection", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case AF:
+ return Poe(e, t);
+ case TF:
+ return joe(e, t);
+ case DF:
+ return Moe(e, t);
+ case PF:
+ return Ioe(e, t);
+ case jF:
+ return Noe(e, t);
+ case oq:
+ return Roe(e);
+ case MF:
+ return zoe(e, t)
+ }
+ return e
+ })), et.register("features/base/dialog", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case RI: {
+ const {
+ component: n
+ } = t;
+ if (void 0 === n || e.component === n) return Oe(e, {
+ component: void 0,
+ componentProps: void 0,
+ rawDialog: !1
+ });
+ break
}
+ case zI:
+ return Oe(e, {
+ component: t.component,
+ componentProps: t.componentProps,
+ rawDialog: t.rawDialog
+ })
+ }
+ return e
+ }));
+ const Loe = "UPDATE_FLAGS", Foe = {}; et.register("features/base/flags", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : Foe,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ if (t.type === Loe) {
+ const n = _().merge({}, e, t.flags);
+ return _().isEqual(e, n) ? e : n
+ }
+ return e
+ })), et.register("features/base/jwt", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ if (t.type === NB) {
+ const {
+ type: n,
+ ...a
+ } = t, r = {
+ ...a
+ };
+ return Re(e, r) ? e : r
}
+ return e
+ }));
+ const qoe = ["alpha.jitsi.net", "beta.meet.jit.si", "meet.jit.si", "8x8.vc"], Boe = "features/base/known-domains";
- function w(e) {
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
- var t, n = e[Symbol.asyncIterator];
- return n ? n.call(e) : (e = m(e), t = {}, a("next"), a("throw"), a("return"), t[Symbol.asyncIterator] = function() {
- return this
- }, t);
-
- function a(n) {
- t[n] = e[n] && function(t) {
- return new Promise((function(a, r) {
- ! function(e, t, n, a) {
- Promise.resolve(a).then((function(t) {
- e({
- value: t,
- done: n
- })
- }), t)
- }(a, r, (t = e[n](t)).done, t.value)
- }))
+ function Uoe(e, t) {
+ let n = Array.isArray(e) ? e : [];
+ if (Array.isArray(t)) {
+ n = Array.from(e);
+ for (let e of t) e = e.toLowerCase(), !n.includes(e) && n.push(e)
+ }
+ return n
+ }
+
+ function Hoe(e, t) {
+ let {
+ config: n
+ } = t;
+ return ze(e, "lastNLimits", function(e) {
+ if ("object" != typeof e || !Object.keys(e).length || Object.keys(e).find((t => null === t || isNaN(Number(t)) || null === e[t] || isNaN(Number(e[t]))))) return;
+ const t = new Map,
+ n = Object.keys(e).map((e => Number(e))).sort(((e, t) => e - t));
+ for (const a of n) t.set(a, Number(e[a]));
+ return t
+ }(n.lastNLimits))
+ }
+ Xe.register(Boe), et.register(Boe, (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : qoe,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case mn:
+ return Uoe(e, t.knownDomains);
+ case Va:
+ return Uoe(e, qoe);
+ default:
+ return e
+ }
+ })), et.register("features/base/lastn", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case In:
+ return Hoe(e, t);
+ case l7: {
+ const {
+ lastN: n
+ } = t;
+ return {
+ ...e,
+ lastN: n
}
}
}
-
- function S(e, t) {
- return Object.defineProperty ? Object.defineProperty(e, "raw", {
- value: t
- }) : e.raw = t, e
+ return e
+ }));
+ const Voe = {}; et.register("features/base/lib-jitsi-meet", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : Voe,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case g:
+ return Voe;
+ case b:
+ return {
+ ...e, initError: void 0, initialized: !0
+ };
+ case y:
+ return {
+ ...e, initError: t.error, initialized: !1
+ };
+ default:
+ return e
}
- var E = Object.create ? function(e, t) {
- Object.defineProperty(e, "default", {
- enumerable: !0,
- value: t
- })
- } : function(e, t) {
- e.default = t
+ }));
+ const Woe = n(5939), Yoe = {
+ config: Woe,
+ logCollector: void 0
+ };
+ if ("ReactNative" === navigator.product) {
+ const e = {
+ "modules/sdp/SDPUtil.js": "info",
+ "modules/xmpp/ChatRoom.js": "warn",
+ "modules/xmpp/JingleSessionPC.js": "info",
+ "modules/xmpp/strophe.jingle.js": "info"
};
-
- function x(e) {
- if (e && e.__esModule) return e;
- var t = {};
- if (null != e)
- for (var n in e) "default" !== n && Object.prototype.hasOwnProperty.call(e, n) && p(t, e, n);
- return E(t, e), t
+ Yoe.config = {
+ ...Woe,
+ ...e
}
+ }
- function C(e) {
- return e && e.__esModule ? e : {
- default: e
- }
+ function Goe(e, t) {
+ const n = {
+ ...Yoe.config,
+ ...t.config
+ };
+ return Re(e.config, n) ? e : {
+ ...e,
+ config: n
}
+ }
- function A(e, t) {
- if (!t.has(e)) throw new TypeError("attempted to get private field on non-instance");
- return t.get(e)
+ function Koe(e, t) {
+ return ze(e, "logCollector", t.logCollector)
+ }
+ et.register("features/base/logging", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : Yoe,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case cae:
+ return Goe(e, t);
+ case lae:
+ return Koe(e, t);
+ default:
+ return e
}
-
- function j(e, t, n) {
- if (!t.has(e)) throw new TypeError("attempted to set private field on non-instance");
- return t.set(e, n), n
+ }));
+ const $oe = {
+ isOnline: !0
+ }; et.register(m, (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : $oe,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case Qne:
+ return Oe(e, {
+ isOnline: t.isOnline,
+ networkType: t.networkType,
+ cellularGeneration: t.cellularGeneration,
+ details: t.details
+ });
+ case Xne:
+ return Oe(e, {
+ _cleanup: t.cleanup
+ });
+ default:
+ return e
}
- }, 5139: (e, t, n) => {
- "use strict";
- n.r(t), n.d(t, {
- R50: () => r,
- R75: () => i,
- R100: () => o,
- R200: () => s,
- R300: () => l,
- R400: () => c,
- R500: () => u,
- Y50: () => d,
- Y75: () => p,
- Y100: () => h,
- Y200: () => m,
- Y300: () => f,
- Y400: () => g,
- Y500: () => b,
- G50: () => y,
- G75: () => v,
- G100: () => k,
- G200: () => _,
- G300: () => w,
- G400: () => S,
- G500: () => E,
- B50: () => x,
- B75: () => C,
- B100: () => A,
- B200: () => j,
- B300: () => P,
- B400: () => D,
- B500: () => T,
- P50: () => O,
- P75: () => M,
- P100: () => I,
- P200: () => N,
- P300: () => z,
- P400: () => R,
- P500: () => L,
- T50: () => F,
- T75: () => q,
- T100: () => B,
- T200: () => U,
- T300: () => H,
- T400: () => V,
- T500: () => W,
- N0: () => Y,
- N10: () => G,
- N20: () => K,
- N30: () => $,
- N40: () => J,
- N50: () => Z,
- N60: () => Q,
- N70: () => X,
- N80: () => ee,
- N90: () => te,
- N100: () => ne,
- N200: () => ae,
- N300: () => re,
- N400: () => ie,
- N500: () => oe,
- N600: () => se,
- N700: () => le,
- N800: () => ce,
- N900: () => ue,
- N10A: () => de,
- N20A: () => pe,
- N30A: () => he,
- N40A: () => me,
- N50A: () => fe,
- N60A: () => ge,
- N70A: () => be,
- N80A: () => ye,
- N90A: () => ve,
- N100A: () => ke,
- N200A: () => _e,
- N300A: () => we,
- N400A: () => Se,
- N500A: () => Ee,
- N600A: () => xe,
- N700A: () => Ce,
- N800A: () => Ae,
- DN900: () => je,
- DN800: () => Pe,
- DN700: () => De,
- DN600: () => Te,
- DN500: () => Oe,
- DN400: () => Me,
- DN300: () => Ie,
- DN200: () => Ne,
- DN100: () => ze,
- DN90: () => Re,
- DN80: () => Le,
- DN70: () => Fe,
- DN60: () => qe,
- DN50: () => Be,
- DN40: () => Ue,
- DN30: () => He,
- DN20: () => Ve,
- DN10: () => We,
- DN0: () => Ye,
- DN800A: () => Ge,
- DN700A: () => Ke,
- DN600A: () => $e,
- DN500A: () => Je,
- DN400A: () => Ze,
- DN300A: () => Qe,
- DN200A: () => Xe,
- DN100A: () => et,
- DN90A: () => tt,
- DN80A: () => nt,
- DN70A: () => at,
- DN60A: () => rt,
- DN50A: () => it,
- DN40A: () => ot,
- DN30A: () => st,
- DN20A: () => lt,
- DN10A: () => ct,
- background: () => ut,
- backgroundActive: () => dt,
- backgroundHover: () => pt,
- backgroundOnLayer: () => ht,
- text: () => mt,
- textHover: () => ft,
- textActive: () => gt,
- subtleText: () => bt,
- placeholderText: () => yt,
- heading: () => vt,
- subtleHeading: () => kt,
- codeBlock: () => _t,
- link: () => wt,
- linkHover: () => St,
- linkActive: () => Et,
- linkOutline: () => xt,
- primary: () => Ct,
- blue: () => At,
- teal: () => jt,
- purple: () => Pt,
- red: () => Dt,
- yellow: () => Tt,
- green: () => Ot,
- skeleton: () => Mt
- });
- var a = n(5791),
- r = "#FFEBE6",
- i = "#FFBDAD",
- o = "#FF8F73",
- s = "#FF7452",
- l = "#FF5630",
- c = "#DE350B",
- u = "#BF2600",
- d = "#FFFAE6",
- p = "#FFF0B3",
- h = "#FFE380",
- m = "#FFC400",
- f = "#FFAB00",
- g = "#FF991F",
- b = "#FF8B00",
- y = "#E3FCEF",
- v = "#ABF5D1",
- k = "#79F2C0",
- _ = "#57D9A3",
- w = "#36B37E",
- S = "#00875A",
- E = "#006644",
- x = "#DEEBFF",
- C = "#B3D4FF",
- A = "#4C9AFF",
- j = "#2684FF",
- P = "#0065FF",
- D = "#0052CC",
- T = "#0747A6",
- O = "#EAE6FF",
- M = "#C0B6F2",
- I = "#998DD9",
- N = "#8777D9",
- z = "#6554C0",
- R = "#5243AA",
- L = "#403294",
- F = "#E6FCFF",
- q = "#B3F5FF",
- B = "#79E2F2",
- U = "#00C7E6",
- H = "#00B8D9",
- V = "#00A3BF",
- W = "#008DA6",
- Y = "#FFFFFF",
- G = "#FAFBFC",
- K = "#F4F5F7",
- $ = "#EBECF0",
- J = "#DFE1E6",
- Z = "#C1C7D0",
- Q = "#B3BAC5",
- X = "#A5ADBA",
- ee = "#97A0AF",
- te = "#8993A4",
- ne = "#7A869A",
- ae = "#6B778C",
- re = "#5E6C84",
- ie = "#505F79",
- oe = "#42526E",
- se = "#344563",
- le = "#253858",
- ce = "#172B4D",
- ue = "#091E42",
- de = "rgba(9, 30, 66, 0.02)",
- pe = "rgba(9, 30, 66, 0.04)",
- he = "rgba(9, 30, 66, 0.08)",
- me = "rgba(9, 30, 66, 0.13)",
- fe = "rgba(9, 30, 66, 0.25)",
- ge = "rgba(9, 30, 66, 0.31)",
- be = "rgba(9, 30, 66, 0.36)",
- ye = "rgba(9, 30, 66, 0.42)",
- ve = "rgba(9, 30, 66, 0.48)",
- ke = "rgba(9, 30, 66, 0.54)",
- _e = "rgba(9, 30, 66, 0.60)",
- we = "rgba(9, 30, 66, 0.66)",
- Se = "rgba(9, 30, 66, 0.71)",
- Ee = "rgba(9, 30, 66, 0.77)",
- xe = "rgba(9, 30, 66, 0.82)",
- Ce = "rgba(9, 30, 66, 0.89)",
- Ae = "rgba(9, 30, 66, 0.95)",
- je = "#E6EDFA",
- Pe = "#DCE5F5",
- De = "#CED9EB",
- Te = "#B8C7E0",
- Oe = "#ABBBD6",
- Me = "#9FB0CC",
- Ie = "#8C9CB8",
- Ne = "#7988A3",
- ze = "#67758F",
- Re = "#56637A",
- Le = "#455166",
- Fe = "#3B475C",
- qe = "#313D52",
- Be = "#283447",
- Ue = "#202B3D",
- He = "#1B2638",
- Ve = "#121A29",
- We = "#0E1624",
- Ye = "#0D1424",
- Ge = "rgba(13, 20, 36, 0.06)",
- Ke = "rgba(13, 20, 36, 0.14)",
- $e = "rgba(13, 20, 36, 0.18)",
- Je = "rgba(13, 20, 36, 0.29)",
- Ze = "rgba(13, 20, 36, 0.36)",
- Qe = "rgba(13, 20, 36, 0.40)",
- Xe = "rgba(13, 20, 36, 0.47)",
- et = "rgba(13, 20, 36, 0.53)",
- tt = "rgba(13, 20, 36, 0.63)",
- nt = "rgba(13, 20, 36, 0.73)",
- at = "rgba(13, 20, 36, 0.78)",
- rt = "rgba(13, 20, 36, 0.81)",
- it = "rgba(13, 20, 36, 0.85)",
- ot = "rgba(13, 20, 36, 0.89)",
- st = "rgba(13, 20, 36, 0.92)",
- lt = "rgba(13, 20, 36, 0.95)",
- ct = "rgba(13, 20, 36, 0.97)",
- ut = (0, a.Z)({
- light: Y,
- dark: He
- }),
- dt = (0, a.Z)({
- light: x,
- dark: C
- }),
- pt = (0, a.Z)({
- light: $,
- dark: Fe
- }),
- ht = (0, a.Z)({
- light: Y,
- dark: Be
- }),
- mt = (0, a.Z)({
- light: ue,
- dark: Te
- }),
- ft = (0, a.Z)({
- light: ce,
- dark: Te
- }),
- gt = (0, a.Z)({
- light: D,
- dark: D
- }),
- bt = (0, a.Z)({
- light: ae,
- dark: Ie
- }),
- yt = (0, a.Z)({
- light: ne,
- dark: Ne
- }),
- vt = (0, a.Z)({
- light: ce,
- dark: Te
- }),
- kt = (0, a.Z)({
- light: ae,
- dark: Ie
- }),
- _t = (0, a.Z)({
- light: K,
- dark: Be
- }),
- wt = (0, a.Z)({
- light: D,
- dark: A
- }),
- St = (0, a.Z)({
- light: P,
- dark: j
- }),
- Et = (0, a.Z)({
- light: T,
- dark: A
- }),
- xt = (0, a.Z)({
- light: A,
- dark: j
- }),
- Ct = (0, a.Z)({
- light: D,
- dark: A
- }),
- At = (0, a.Z)({
- light: D,
- dark: A
- }),
- jt = (0, a.Z)({
- light: H,
- dark: U
- }),
- Pt = (0, a.Z)({
- light: z,
- dark: I
- }),
- Dt = (0, a.Z)({
- light: l,
- dark: l
- }),
- Tt = (0, a.Z)({
- light: f,
- dark: f
- }),
- Ot = (0, a.Z)({
- light: w,
- dark: w
- }),
- Mt = function() {
- return pe
- }
- }, 5791: (e, t, n) => {
- "use strict";
- n.d(t, {
- Z: () => i
- });
- var a = ["light", "dark"];
+ }));
+ const Joe = ["conference", "id", "local", "dominantSpeaker", "pinned"], Zoe = {
+ dominantSpeaker: void 0,
+ everyoneIsModerator: !1,
+ fakeParticipants: new Map,
+ haveParticipantWithScreenSharingFeature: !1,
+ local: void 0,
+ pinnedParticipant: void 0,
+ raisedHandsQueue: [],
+ remote: new Map,
+ sortedRemoteParticipants: new Map,
+ sortedRemoteScreenshares: new Map,
+ speakersList: new Map
+ };
- function r(e) {
- if (e && e.theme) {
- if ("__ATLASKIT_THEME__" in e.theme) return e.theme.__ATLASKIT_THEME__;
- if ("mode" in e.theme && a.includes(e.theme.mode)) return e.theme
- }
- return {
- mode: "light"
- }
+ function Qoe(e, t) {
+ const n = e["features/base/config"];
+ return null != t ? t : (null == n ? void 0 : n.defaultRemoteDisplayName) || "Fellow Jitster"
+ }
+
+ function Xoe(e) {
+ if (Qh(e.local)) {
+ for (const [t, n] of e.remote)
+ if (!Qh(n)) return !1;
+ return !0
}
+ return !1
+ }
- function i(e, t) {
- if ("string" == typeof e) return n = e, a = t,
- function(e) {
- var t = r(e);
- if (e && e[n] && a) {
- var i = a[e[n]];
- if (i && i[t.mode]) {
- var o = i[t.mode];
- if (o) return o
- }
- }
- return ""
+ function ese() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case Gw:
+ case Hw: {
+ const {
+ participant: n
+ } = t, a = {
+ ...e
};
- var n, a, i = e;
- return function(e) {
- var t = r(e);
- if (t.mode in i) {
- var n = i[t.mode];
- if (n) return n
- }
- return ""
- }
- }
- }, 5571: (e, t) => {
- "use strict";
- const n = /"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*\:/;
- t.parse = function(e, ...a) {
- const r = "object" == typeof a[0] && a[0],
- i = a.length > 1 || !r ? a[0] : void 0,
- o = a.length > 1 && a[1] || r || {},
- s = JSON.parse(e, i);
- return "ignore" === o.protoAction ? s : s && "object" == typeof s && e.match(n) ? (t.scan(s, o), s) : s
- }, t.scan = function(e, t = {}) {
- let n = [e];
- for (; n.length;) {
- const e = n;
- n = [];
- for (const a of e) {
- if (Object.prototype.hasOwnProperty.call(a, "__proto__")) {
- if ("remove" !== t.protoAction) throw new SyntaxError("Object contains forbidden prototype property");
- delete a.__proto__
- }
- for (const e in a) {
- const t = a[e];
- t && "object" == typeof t && n.push(a[e])
- }
- }
- }
- }, t.safeParse = function(e, n) {
- try {
- return t.parse(e, n)
- } catch (e) {
- return null
+ for (const e in n) n.hasOwnProperty(e) && -1 === Joe.indexOf(e) && (a[e] = n[e]);
+ return a
}
}
- }, 6712: (module, exports, __webpack_require__) => {
- var process = __webpack_require__(554),
- __WEBPACK_AMD_DEFINE_RESULT__;
- (function() {
- "use strict";
- var ERROR = "input is invalid type",
- WINDOW = "object" == typeof window,
- root = WINDOW ? window : {};
- root.JS_MD5_NO_WINDOW && (WINDOW = !1);
- var WEB_WORKER = !WINDOW && "object" == typeof self,
- NODE_JS = !root.JS_MD5_NO_NODE_JS && "object" == typeof process && process.versions && process.versions.node;
- NODE_JS ? root = __webpack_require__.g : WEB_WORKER && (root = self);
- var COMMON_JS = !root.JS_MD5_NO_COMMON_JS && module.exports,
- AMD = __webpack_require__.amdO,
- ARRAY_BUFFER = !root.JS_MD5_NO_ARRAY_BUFFER && "undefined" != typeof ArrayBuffer,
- HEX_CHARS = "0123456789abcdef".split(""),
- EXTRA = [128, 32768, 8388608, -2147483648],
- SHIFT = [0, 8, 16, 24],
- OUTPUT_TYPES = ["hex", "array", "digest", "buffer", "arrayBuffer", "base64"],
- BASE64_ENCODE_CHAR = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),
- blocks = [],
- buffer8;
- if (ARRAY_BUFFER) {
- var buffer = new ArrayBuffer(68);
- buffer8 = new Uint8Array(buffer), blocks = new Uint32Array(buffer)
- }!root.JS_MD5_NO_NODE_JS && Array.isArray || (Array.isArray = function(e) {
- return "[object Array]" === Object.prototype.toString.call(e)
- }), !ARRAY_BUFFER || !root.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW && ArrayBuffer.isView || (ArrayBuffer.isView = function(e) {
- return "object" == typeof e && e.buffer && e.buffer.constructor === ArrayBuffer
- });
- var createOutputMethod = function(e) {
- return function(t) {
- return new Md5(!0).update(t)[e]()
- }
- },
- createMethod = function() {
- var e = createOutputMethod("hex");
- NODE_JS && (e = nodeWrap(e)), e.create = function() {
- return new Md5
- }, e.update = function(t) {
- return e.create().update(t)
- };
- for (var t = 0; t < OUTPUT_TYPES.length; ++t) {
- var n = OUTPUT_TYPES[t];
- e[n] = createOutputMethod(n)
- }
- return e
- },
- nodeWrap = function(method) {
- var crypto = eval("require('crypto')"),
- Buffer = eval("require('buffer').Buffer"),
- nodeMethod = function(e) {
- if ("string" == typeof e) return crypto.createHash("md5").update(e, "utf8").digest("hex");
- if (null == e) throw ERROR;
- return e.constructor === ArrayBuffer && (e = new Uint8Array(e)), Array.isArray(e) || ArrayBuffer.isView(e) || e.constructor === Buffer ? crypto.createHash("md5").update(new Buffer(e)).digest("hex") : method(e)
- };
- return nodeMethod
- };
-
- function Md5(e) {
- if (e) blocks[0] = blocks[16] = blocks[1] = blocks[2] = blocks[3] = blocks[4] = blocks[5] = blocks[6] = blocks[7] = blocks[8] = blocks[9] = blocks[10] = blocks[11] = blocks[12] = blocks[13] = blocks[14] = blocks[15] = 0, this.blocks = blocks, this.buffer8 = buffer8;
- else if (ARRAY_BUFFER) {
- var t = new ArrayBuffer(68);
- this.buffer8 = new Uint8Array(t), this.blocks = new Uint32Array(t)
- } else this.blocks = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
- this.h0 = this.h1 = this.h2 = this.h3 = this.start = this.bytes = this.hBytes = 0, this.finalized = this.hashed = !1, this.first = !0
- }
- Md5.prototype.update = function(e) {
- if (!this.finalized) {
- var t, n = typeof e;
- if ("string" !== n) {
- if ("object" !== n) throw ERROR;
- if (null === e) throw ERROR;
- if (ARRAY_BUFFER && e.constructor === ArrayBuffer) e = new Uint8Array(e);
- else if (!(Array.isArray(e) || ARRAY_BUFFER && ArrayBuffer.isView(e))) throw ERROR;
- t = !0
- }
- for (var a, r, i = 0, o = e.length, s = this.blocks, l = this.buffer8; i < o;) {
- if (this.hashed && (this.hashed = !1, s[0] = s[16], s[16] = s[1] = s[2] = s[3] = s[4] = s[5] = s[6] = s[7] = s[8] = s[9] = s[10] = s[11] = s[12] = s[13] = s[14] = s[15] = 0), t)
- if (ARRAY_BUFFER)
- for (r = this.start; i < o && r < 64; ++i) l[r++] = e[i];
- else
- for (r = this.start; i < o && r < 64; ++i) s[r >> 2] |= e[i] << SHIFT[3 & r++];
- else if (ARRAY_BUFFER)
- for (r = this.start; i < o && r < 64; ++i)(a = e.charCodeAt(i)) < 128 ? l[r++] = a : a < 2048 ? (l[r++] = 192 | a >> 6, l[r++] = 128 | 63 & a) : a < 55296 || a >= 57344 ? (l[r++] = 224 | a >> 12, l[r++] = 128 | a >> 6 & 63, l[r++] = 128 | 63 & a) : (a = 65536 + ((1023 & a) << 10 | 1023 & e.charCodeAt(++i)), l[r++] = 240 | a >> 18, l[r++] = 128 | a >> 12 & 63, l[r++] = 128 | a >> 6 & 63, l[r++] = 128 | 63 & a);
- else
- for (r = this.start; i < o && r < 64; ++i)(a = e.charCodeAt(i)) < 128 ? s[r >> 2] |= a << SHIFT[3 & r++] : a < 2048 ? (s[r >> 2] |= (192 | a >> 6) << SHIFT[3 & r++], s[r >> 2] |= (128 | 63 & a) << SHIFT[3 & r++]) : a < 55296 || a >= 57344 ? (s[r >> 2] |= (224 | a >> 12) << SHIFT[3 & r++], s[r >> 2] |= (128 | a >> 6 & 63) << SHIFT[3 & r++], s[r >> 2] |= (128 | 63 & a) << SHIFT[3 & r++]) : (a = 65536 + ((1023 & a) << 10 | 1023 & e.charCodeAt(++i)), s[r >> 2] |= (240 | a >> 18) << SHIFT[3 & r++], s[r >> 2] |= (128 | a >> 12 & 63) << SHIFT[3 & r++], s[r >> 2] |= (128 | a >> 6 & 63) << SHIFT[3 & r++], s[r >> 2] |= (128 | 63 & a) << SHIFT[3 & r++]);
- this.lastByteIndex = r, this.bytes += r - this.start, r >= 64 ? (this.start = r - 64, this.hash(), this.hashed = !0) : this.start = r
- }
- return this.bytes > 4294967295 && (this.hBytes += this.bytes / 4294967296 << 0, this.bytes = this.bytes % 4294967296), this
- }
- }, Md5.prototype.finalize = function() {
- if (!this.finalized) {
- this.finalized = !0;
- var e = this.blocks,
- t = this.lastByteIndex;
- e[t >> 2] |= EXTRA[3 & t], t >= 56 && (this.hashed || this.hash(), e[0] = e[16], e[16] = e[1] = e[2] = e[3] = e[4] = e[5] = e[6] = e[7] = e[8] = e[9] = e[10] = e[11] = e[12] = e[13] = e[14] = e[15] = 0), e[14] = this.bytes << 3, e[15] = this.hBytes << 3 | this.bytes >>> 29, this.hash()
- }
- }, Md5.prototype.hash = function() {
- var e, t, n, a, r, i, o = this.blocks;
- this.first ? t = ((t = ((e = ((e = o[0] - 680876937) << 7 | e >>> 25) - 271733879 << 0) ^ (n = ((n = (-271733879 ^ (a = ((a = (-1732584194 ^ 2004318071 & e) + o[1] - 117830708) << 12 | a >>> 20) + e << 0) & (-271733879 ^ e)) + o[2] - 1126478375) << 17 | n >>> 15) + a << 0) & (a ^ e)) + o[3] - 1316259209) << 22 | t >>> 10) + n << 0 : (e = this.h0, t = this.h1, n = this.h2, t = ((t += ((e = ((e += ((a = this.h3) ^ t & (n ^ a)) + o[0] - 680876936) << 7 | e >>> 25) + t << 0) ^ (n = ((n += (t ^ (a = ((a += (n ^ e & (t ^ n)) + o[1] - 389564586) << 12 | a >>> 20) + e << 0) & (e ^ t)) + o[2] + 606105819) << 17 | n >>> 15) + a << 0) & (a ^ e)) + o[3] - 1044525330) << 22 | t >>> 10) + n << 0), t = ((t += ((e = ((e += (a ^ t & (n ^ a)) + o[4] - 176418897) << 7 | e >>> 25) + t << 0) ^ (n = ((n += (t ^ (a = ((a += (n ^ e & (t ^ n)) + o[5] + 1200080426) << 12 | a >>> 20) + e << 0) & (e ^ t)) + o[6] - 1473231341) << 17 | n >>> 15) + a << 0) & (a ^ e)) + o[7] - 45705983) << 22 | t >>> 10) + n << 0, t = ((t += ((e = ((e += (a ^ t & (n ^ a)) + o[8] + 1770035416) << 7 | e >>> 25) + t << 0) ^ (n = ((n += (t ^ (a = ((a += (n ^ e & (t ^ n)) + o[9] - 1958414417) << 12 | a >>> 20) + e << 0) & (e ^ t)) + o[10] - 42063) << 17 | n >>> 15) + a << 0) & (a ^ e)) + o[11] - 1990404162) << 22 | t >>> 10) + n << 0, t = ((t += ((e = ((e += (a ^ t & (n ^ a)) + o[12] + 1804603682) << 7 | e >>> 25) + t << 0) ^ (n = ((n += (t ^ (a = ((a += (n ^ e & (t ^ n)) + o[13] - 40341101) << 12 | a >>> 20) + e << 0) & (e ^ t)) + o[14] - 1502002290) << 17 | n >>> 15) + a << 0) & (a ^ e)) + o[15] + 1236535329) << 22 | t >>> 10) + n << 0, t = ((t += ((a = ((a += (t ^ n & ((e = ((e += (n ^ a & (t ^ n)) + o[1] - 165796510) << 5 | e >>> 27) + t << 0) ^ t)) + o[6] - 1069501632) << 9 | a >>> 23) + e << 0) ^ e & ((n = ((n += (e ^ t & (a ^ e)) + o[11] + 643717713) << 14 | n >>> 18) + a << 0) ^ a)) + o[0] - 373897302) << 20 | t >>> 12) + n << 0, t = ((t += ((a = ((a += (t ^ n & ((e = ((e += (n ^ a & (t ^ n)) + o[5] - 701558691) << 5 | e >>> 27) + t << 0) ^ t)) + o[10] + 38016083) << 9 | a >>> 23) + e << 0) ^ e & ((n = ((n += (e ^ t & (a ^ e)) + o[15] - 660478335) << 14 | n >>> 18) + a << 0) ^ a)) + o[4] - 405537848) << 20 | t >>> 12) + n << 0, t = ((t += ((a = ((a += (t ^ n & ((e = ((e += (n ^ a & (t ^ n)) + o[9] + 568446438) << 5 | e >>> 27) + t << 0) ^ t)) + o[14] - 1019803690) << 9 | a >>> 23) + e << 0) ^ e & ((n = ((n += (e ^ t & (a ^ e)) + o[3] - 187363961) << 14 | n >>> 18) + a << 0) ^ a)) + o[8] + 1163531501) << 20 | t >>> 12) + n << 0, t = ((t += ((a = ((a += (t ^ n & ((e = ((e += (n ^ a & (t ^ n)) + o[13] - 1444681467) << 5 | e >>> 27) + t << 0) ^ t)) + o[2] - 51403784) << 9 | a >>> 23) + e << 0) ^ e & ((n = ((n += (e ^ t & (a ^ e)) + o[7] + 1735328473) << 14 | n >>> 18) + a << 0) ^ a)) + o[12] - 1926607734) << 20 | t >>> 12) + n << 0, t = ((t += ((i = (a = ((a += ((r = t ^ n) ^ (e = ((e += (r ^ a) + o[5] - 378558) << 4 | e >>> 28) + t << 0)) + o[8] - 2022574463) << 11 | a >>> 21) + e << 0) ^ e) ^ (n = ((n += (i ^ t) + o[11] + 1839030562) << 16 | n >>> 16) + a << 0)) + o[14] - 35309556) << 23 | t >>> 9) + n << 0, t = ((t += ((i = (a = ((a += ((r = t ^ n) ^ (e = ((e += (r ^ a) + o[1] - 1530992060) << 4 | e >>> 28) + t << 0)) + o[4] + 1272893353) << 11 | a >>> 21) + e << 0) ^ e) ^ (n = ((n += (i ^ t) + o[7] - 155497632) << 16 | n >>> 16) + a << 0)) + o[10] - 1094730640) << 23 | t >>> 9) + n << 0, t = ((t += ((i = (a = ((a += ((r = t ^ n) ^ (e = ((e += (r ^ a) + o[13] + 681279174) << 4 | e >>> 28) + t << 0)) + o[0] - 358537222) << 11 | a >>> 21) + e << 0) ^ e) ^ (n = ((n += (i ^ t) + o[3] - 722521979) << 16 | n >>> 16) + a << 0)) + o[6] + 76029189) << 23 | t >>> 9) + n << 0, t = ((t += ((i = (a = ((a += ((r = t ^ n) ^ (e = ((e += (r ^ a) + o[9] - 640364487) << 4 | e >>> 28) + t << 0)) + o[12] - 421815835) << 11 | a >>> 21) + e << 0) ^ e) ^ (n = ((n += (i ^ t) + o[15] + 530742520) << 16 | n >>> 16) + a << 0)) + o[2] - 995338651) << 23 | t >>> 9) + n << 0, t = ((t += ((a = ((a += (t ^ ((e = ((e += (n ^ (t | ~a)) + o[0] - 198630844) << 6 | e >>> 26) + t << 0) | ~n)) + o[7] + 1126891415) << 10 | a >>> 22) + e << 0) ^ ((n = ((n += (e ^ (a | ~t)) + o[14] - 1416354905) << 15 | n >>> 17) + a << 0) | ~e)) + o[5] - 57434055) << 21 | t >>> 11) + n << 0, t = ((t += ((a = ((a += (t ^ ((e = ((e += (n ^ (t | ~a)) + o[12] + 1700485571) << 6 | e >>> 26) + t << 0) | ~n)) + o[3] - 1894986606) << 10 | a >>> 22) + e << 0) ^ ((n = ((n += (e ^ (a | ~t)) + o[10] - 1051523) << 15 | n >>> 17) + a << 0) | ~e)) + o[1] - 2054922799) << 21 | t >>> 11) + n << 0, t = ((t += ((a = ((a += (t ^ ((e = ((e += (n ^ (t | ~a)) + o[8] + 1873313359) << 6 | e >>> 26) + t << 0) | ~n)) + o[15] - 30611744) << 10 | a >>> 22) + e << 0) ^ ((n = ((n += (e ^ (a | ~t)) + o[6] - 1560198380) << 15 | n >>> 17) + a << 0) | ~e)) + o[13] + 1309151649) << 21 | t >>> 11) + n << 0, t = ((t += ((a = ((a += (t ^ ((e = ((e += (n ^ (t | ~a)) + o[4] - 145523070) << 6 | e >>> 26) + t << 0) | ~n)) + o[11] - 1120210379) << 10 | a >>> 22) + e << 0) ^ ((n = ((n += (e ^ (a | ~t)) + o[2] + 718787259) << 15 | n >>> 17) + a << 0) | ~e)) + o[9] - 343485551) << 21 | t >>> 11) + n << 0, this.first ? (this.h0 = e + 1732584193 << 0, this.h1 = t - 271733879 << 0, this.h2 = n - 1732584194 << 0, this.h3 = a + 271733878 << 0, this.first = !1) : (this.h0 = this.h0 + e << 0, this.h1 = this.h1 + t << 0, this.h2 = this.h2 + n << 0, this.h3 = this.h3 + a << 0)
- }, Md5.prototype.hex = function() {
- this.finalize();
- var e = this.h0,
- t = this.h1,
- n = this.h2,
- a = this.h3;
- return HEX_CHARS[e >> 4 & 15] + HEX_CHARS[15 & e] + HEX_CHARS[e >> 12 & 15] + HEX_CHARS[e >> 8 & 15] + HEX_CHARS[e >> 20 & 15] + HEX_CHARS[e >> 16 & 15] + HEX_CHARS[e >> 28 & 15] + HEX_CHARS[e >> 24 & 15] + HEX_CHARS[t >> 4 & 15] + HEX_CHARS[15 & t] + HEX_CHARS[t >> 12 & 15] + HEX_CHARS[t >> 8 & 15] + HEX_CHARS[t >> 20 & 15] + HEX_CHARS[t >> 16 & 15] + HEX_CHARS[t >> 28 & 15] + HEX_CHARS[t >> 24 & 15] + HEX_CHARS[n >> 4 & 15] + HEX_CHARS[15 & n] + HEX_CHARS[n >> 12 & 15] + HEX_CHARS[n >> 8 & 15] + HEX_CHARS[n >> 20 & 15] + HEX_CHARS[n >> 16 & 15] + HEX_CHARS[n >> 28 & 15] + HEX_CHARS[n >> 24 & 15] + HEX_CHARS[a >> 4 & 15] + HEX_CHARS[15 & a] + HEX_CHARS[a >> 12 & 15] + HEX_CHARS[a >> 8 & 15] + HEX_CHARS[a >> 20 & 15] + HEX_CHARS[a >> 16 & 15] + HEX_CHARS[a >> 28 & 15] + HEX_CHARS[a >> 24 & 15]
- }, Md5.prototype.toString = Md5.prototype.hex, Md5.prototype.digest = function() {
- this.finalize();
- var e = this.h0,
- t = this.h1,
- n = this.h2,
- a = this.h3;
- return [255 & e, e >> 8 & 255, e >> 16 & 255, e >> 24 & 255, 255 & t, t >> 8 & 255, t >> 16 & 255, t >> 24 & 255, 255 & n, n >> 8 & 255, n >> 16 & 255, n >> 24 & 255, 255 & a, a >> 8 & 255, a >> 16 & 255, a >> 24 & 255]
- }, Md5.prototype.array = Md5.prototype.digest, Md5.prototype.arrayBuffer = function() {
- this.finalize();
- var e = new ArrayBuffer(16),
- t = new Uint32Array(e);
- return t[0] = this.h0, t[1] = this.h1, t[2] = this.h2, t[3] = this.h3, e
- }, Md5.prototype.buffer = Md5.prototype.arrayBuffer, Md5.prototype.base64 = function() {
- for (var e, t, n, a = "", r = this.array(), i = 0; i < 15;) e = r[i++], t = r[i++], n = r[i++], a += BASE64_ENCODE_CHAR[e >>> 2] + BASE64_ENCODE_CHAR[63 & (e << 4 | t >>> 4)] + BASE64_ENCODE_CHAR[63 & (t << 2 | n >>> 6)] + BASE64_ENCODE_CHAR[63 & n];
- return e = r[i], a + (BASE64_ENCODE_CHAR[e >>> 2] + BASE64_ENCODE_CHAR[e << 4 & 63] + "==")
- };
- var exports = createMethod();
- COMMON_JS ? module.exports = exports : (root.md5 = exports, AMD && (__WEBPACK_AMD_DEFINE_RESULT__ = function() {
- return exports
- }.call(exports, __webpack_require__, exports, module), void 0 === __WEBPACK_AMD_DEFINE_RESULT__ || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)))
- })()
- }, 6383: (e, t, n) => {
- "use strict";
- var a = n(8740),
- r = {
- childContextTypes: !0,
- contextType: !0,
- contextTypes: !0,
- defaultProps: !0,
- displayName: !0,
- getDefaultProps: !0,
- getDerivedStateFromError: !0,
- getDerivedStateFromProps: !0,
- mixins: !0,
- propTypes: !0,
- type: !0
- },
- i = {
- name: !0,
- length: !0,
- prototype: !0,
- caller: !0,
- callee: !0,
- arguments: !0,
- arity: !0
- },
- o = {
- $$typeof: !0,
- compare: !0,
- defaultProps: !0,
- displayName: !0,
- propTypes: !0,
- type: !0
- },
- s = {};
+ return e
+ }
- function l(e) {
- return a.isMemo(e) ? o : s[e.$$typeof] || r
+ function tse(e) {
+ let {
+ participant: t
+ } = e;
+ const {
+ avatarURL: n,
+ botType: a,
+ connectionStatus: r,
+ dominantSpeaker: i,
+ email: o,
+ isFakeParticipant: s,
+ isReplacing: l,
+ isJigasi: c,
+ loadableAvatarUrl: u,
+ local: d,
+ name: p,
+ pinned: h,
+ presence: m,
+ role: f
+ } = t;
+ let {
+ conference: g,
+ id: b
+ } = t;
+ return d && (g = void 0, b || (b = Ih)), {
+ avatarURL: n,
+ botType: a,
+ conference: g,
+ connectionStatus: r,
+ dominantSpeaker: i || !1,
+ email: o,
+ id: b,
+ isFakeParticipant: s,
+ isReplacing: l,
+ isJigasi: c,
+ loadableAvatarUrl: u,
+ local: d || !1,
+ name: p,
+ pinned: h || !1,
+ presence: m,
+ role: f || "none"
}
- s[a.ForwardRef] = {
- $$typeof: !0,
- render: !0,
- defaultProps: !0,
- displayName: !0,
- propTypes: !0
- }, s[a.Memo] = o;
- var c = Object.defineProperty,
- u = Object.getOwnPropertyNames,
- d = Object.getOwnPropertySymbols,
- p = Object.getOwnPropertyDescriptor,
- h = Object.getPrototypeOf,
- m = Object.prototype;
- e.exports = function e(t, n, a) {
- if ("string" != typeof n) {
- if (m) {
- var r = h(n);
- r && r !== m && e(t, r, a)
- }
- var o = u(n);
- d && (o = o.concat(d(n)));
- for (var s = l(t), f = l(n), g = 0; g < o.length; ++g) {
- var b = o[g];
- if (!(i[b] || a && a[b] || f && f[b] || s && s[b])) {
- var y = p(n, b);
- try {
- c(t, b, y)
- } catch (e) {}
- }
+ }
+
+ function nse(e, t, n, a) {
+ const {
+ remote: r,
+ local: i
+ } = e;
+ return r.has(t) ? (r.set(t, ze(r.get(t), n, a)), !0) : ((null == i ? void 0 : i.id) === t || "local" === (null == i ? void 0 : i.id)) && (e.local = ze(i, n, a), !0)
+ }
+ et.register("features/base/participants", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : Zoe,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case Fw: {
+ const {
+ local: n
+ } = e;
+ return n ? (e.local = {
+ ...n,
+ id: t.newValue
+ }, {
+ ...e
+ }) : e
+ }
+ case Nw: {
+ const {
+ participant: n
+ } = t, {
+ id: a,
+ previousSpeakers: r = []
+ } = n, {
+ dominantSpeaker: i,
+ local: o
+ } = e, s = [a, ...r], l = [];
+ for (const t of s)
+ if (t !== (null == o ? void 0 : o.id)) {
+ const n = e.remote.get(t);
+ n && l.push([t, Qoe(e, n.name)])
+ } return l.sort(((e, t) => e[1].localeCompare(t[1]))), i && nse(e, i, "dominantSpeaker", !1), nse(e, a, "dominantSpeaker", !0) ? {
+ ...e,
+ dominantSpeaker: a,
+ speakersList: new Map(l)
+ } : (delete e.dominantSpeaker, {
+ ...e
+ })
+ }
+ case Vw: {
+ const {
+ participant: n
+ } = t, {
+ id: a
+ } = n, {
+ pinnedParticipant: r
+ } = e;
+ return r && nse(e, r, "pinned", !1), a && nse(e, a, "pinned", !0) ? {
+ ...e,
+ pinnedParticipant: a
+ } : (delete e.pinnedParticipant, {
+ ...e
+ })
+ }
+ case Gw:
+ case Hw: {
+ var n;
+ const {
+ participant: a
+ } = t;
+ let {
+ id: r
+ } = a;
+ const {
+ local: i
+ } = a;
+ let o;
+ if (!r && i && (r = Ih), e.remote.has(r) ? (o = ese(e.remote.get(r), t), e.remote.set(r, o)) : r === (null === (n = e.local) || void 0 === n ? void 0 : n.id) && (o = e.local = ese(e.local, t)), o) {
+ const t = Qh(o);
+ e.everyoneIsModerator && !t ? e.everyoneIsModerator = !1 : !e.everyoneIsModerator && t && (e.everyoneIsModerator = Xoe(e));
+ const {
+ features: n = {}
+ } = a;
+ "true" === String(n["screen-sharing"]) && (e.haveParticipantWithScreenSharingFeature = !0)
+ }
+ return {
+ ...e
}
}
- return t
- }
- }, 7591: (e, t, n) => {
- var a, r, i, o, s, l, c = n(554),
- u = (s = {}, i = (i = "undefined" != typeof document && document.currentScript ? document.currentScript.src : void 0) || "node_modules/@matrix-org/olm/olm.js", l = function(t) {
- var o, l, u;
- if (t = t || {}, o || (o = void 0 !== t ? t : {}), o.ready = new Promise((function(e) {
- l = e
- })), "undefined" != typeof window) u = function(e) {
- window.crypto.getRandomValues(e)
- };
- else {
- if (!e.exports) throw Error("Cannot find global to attach library to");
- var d = n(7250);
- u = function(e) {
- var t = d.randomBytes(e.length);
- e.set(t)
- }, c = n.g.process
- }
- if ("undefined" != typeof OLM_OPTIONS)
- for (var p in OLM_OPTIONS) OLM_OPTIONS.hasOwnProperty(p) && (o[p] = OLM_OPTIONS[p]);
- o.onRuntimeInitialized = function() {
- Pe = o._olm_error(), s.PRIVATE_KEY_LENGTH = o._olm_pk_private_key_length(), a && a()
- }, o.onAbort = function(e) {
- r && r(e)
+ case qw: {
+ const n = tse(t),
+ {
+ id: a,
+ isFakeParticipant: r,
+ name: i,
+ pinned: o
+ } = n,
+ {
+ pinnedParticipant: s,
+ dominantSpeaker: l
+ } = e;
+ o && (s && nse(e, s, "pinned", !1), e.pinnedParticipant = a), n.dominantSpeaker && (l && nse(e, l, "dominantSpeaker", !1), e.dominantSpeaker = a);
+ const c = Qh(n),
+ {
+ local: u,
+ remote: d
+ } = e;
+ if (e.everyoneIsModerator && !c ? e.everyoneIsModerator = !1 : !u && 0 === d.size && c && (e.everyoneIsModerator = !0), n.local) return {
+ ...e,
+ local: n
};
- var h, m, f, g, b, y = {};
- for (h in o) o.hasOwnProperty(h) && (y[h] = o[h]);
- m = "object" == typeof window, f = "function" == typeof importScripts, g = "object" == typeof c && "object" == typeof c.versions && "string" == typeof c.versions.node, b = !m && !g && !f;
- var v, k, _, w, S = "";
- g ? (S = f ? n(1217).dirname(S) + "/" : "//", v = function(e, t) {
- return _ || (_ = n(1591)), w || (w = n(1217)), e = w.normalize(e), _.readFileSync(e, t ? null : "utf8")
- }, k = function(e) {
- return (e = v(e, !0)).buffer || (e = new Uint8Array(e)), e.buffer || ae("Assertion failed: undefined"), e
- }, 1 < c.argv.length && c.argv[1].replace(/\\/g, "/"), c.argv.slice(2), c.on("uncaughtException", (function(e) {
- throw e
- })), c.on("unhandledRejection", ae), o.inspect = function() {
- return "[Emscripten Module object]"
- }) : b ? ("undefined" != typeof read && (v = function(e) {
- return read(e)
- }), k = function(e) {
- return "function" == typeof readbuffer ? new Uint8Array(readbuffer(e)) : ("object" == typeof(e = read(e, "binary")) || ae("Assertion failed: undefined"), e)
- }, "undefined" != typeof print && ("undefined" == typeof console && (console = {}), console.log = print, console.warn = console.error = "undefined" != typeof printErr ? printErr : print)) : (m || f) && (f ? S = self.location.href : document.currentScript && (S = document.currentScript.src), i && (S = i), S = 0 !== S.indexOf("blob:") ? S.substr(0, S.lastIndexOf("/") + 1) : "", v = function(e) {
- var t = new XMLHttpRequest;
- return t.open("GET", e, !1), t.send(null), t.responseText
- }, f && (k = function(e) {
- var t = new XMLHttpRequest;
- return t.open("GET", e, !1), t.responseType = "arraybuffer", t.send(null), new Uint8Array(t.response)
- }));
- var E, x = o.print || console.log.bind(console),
- C = o.printErr || console.warn.bind(console);
- for (h in y) y.hasOwnProperty(h) && (o[h] = y[h]);
-
- function A(e) {
- var t = "i8";
- switch ("*" === t.charAt(t.length - 1) && (t = "i32"), t) {
- case "i1":
- case "i8":
- L[e >> 0] = 0;
- break;
- case "i16":
- q[e >> 1] = 0;
- break;
- case "i32":
- B[e >> 2] = 0;
- break;
- case "i64":
- oe = [0, 1 <= +Q(0) ? ~~+X(0) >>> 0 : 0], B[e >> 2] = oe[0], B[e + 4 >> 2] = oe[1];
- break;
- case "float":
- U[e >> 2] = 0;
- break;
- case "double":
- H[e >> 3] = 0;
- break;
- default:
- ae("invalid type for setValue: " + t)
- }
- }
-
- function j(e, t) {
- switch ("*" === (t = t || "i8").charAt(t.length - 1) && (t = "i32"), t) {
- case "i1":
- case "i8":
- return L[e >> 0];
- case "i16":
- return q[e >> 1];
- case "i32":
- case "i64":
- return B[e >> 2];
- case "float":
- return U[e >> 2];
- case "double":
- return H[e >> 3];
- default:
- ae("invalid type for getValue: " + t)
- }
- return null
+ e.remote.set(a, n);
+ const p = Qoe(e, i),
+ h = Array.from(e.sortedRemoteParticipants);
+ return h.push([a, p]), h.sort(((e, t) => e[1].localeCompare(t[1]))), e.sortedRemoteParticipants = new Map(h), r && e.fakeParticipants.set(a, n), {
+ ...e
}
- y = null, o.wasmBinary && (E = o.wasmBinary), o.noExitRuntime && o.noExitRuntime, "object" != typeof WebAssembly && ae("no native wasm support detected");
- var P, D = new WebAssembly.Table({
- initial: 9,
- maximum: 9,
- element: "anyfunc"
- }),
- T = !1,
- O = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0;
-
- function M(e, t) {
- if (e) {
- var n = F,
- a = e + t;
- for (t = e; n[t] && !(t >= a);) ++t;
- if (16 < t - e && n.subarray && O) e = O.decode(n.subarray(e, t));
- else {
- for (a = ""; e < t;) {
- var r = n[e++];
- if (128 & r) {
- var i = 63 & n[e++];
- if (192 == (224 & r)) a += String.fromCharCode((31 & r) << 6 | i);
- else {
- var o = 63 & n[e++];
- 65536 > (r = 224 == (240 & r) ? (15 & r) << 12 | i << 6 | o : (7 & r) << 18 | i << 12 | o << 6 | 63 & n[e++]) ? a += String.fromCharCode(r) : (r -= 65536, a += String.fromCharCode(55296 | r >> 10, 56320 | 1023 & r))
- }
- } else a += String.fromCharCode(r)
- }
- e = a
- }
- } else e = "";
- return e
+ }
+ case Uw: {
+ const {
+ conference: n,
+ id: a
+ } = t.participant, {
+ fakeParticipants: r,
+ remote: i,
+ local: o,
+ dominantSpeaker: s,
+ pinnedParticipant: l
+ } = e;
+ let c = i.get(a);
+ if (c && c.conference === n) i.delete(a);
+ else {
+ if ((null == o ? void 0 : o.id) !== a) return e;
+ c = e.local, delete e.local
}
-
- function I(e, t, n, a) {
- if (!(0 < a)) return 0;
- var r = n;
- a = n + a - 1;
- for (var i = 0; i < e.length; ++i) {
- var o = e.charCodeAt(i);
- if (55296 <= o && 57343 >= o && (o = 65536 + ((1023 & o) << 10) | 1023 & e.charCodeAt(++i)), 127 >= o) {
- if (n >= a) break;
- t[n++] = o
- } else {
- if (2047 >= o) {
- if (n + 1 >= a) break;
- t[n++] = 192 | o >> 6
- } else {
- if (65535 >= o) {
- if (n + 2 >= a) break;
- t[n++] = 224 | o >> 12
- } else {
- if (n + 3 >= a) break;
- t[n++] = 240 | o >> 18, t[n++] = 128 | o >> 12 & 63
- }
- t[n++] = 128 | o >> 6 & 63
+ e.sortedRemoteParticipants.delete(a), e.raisedHandsQueue = e.raisedHandsQueue.filter((e => e.id !== a)), e.everyoneIsModerator || Qh(c) || (e.everyoneIsModerator = Xoe(e));
+ const {
+ features: u = {}
+ } = c || {};
+ if (e.haveParticipantWithScreenSharingFeature && "true" === String(u["screen-sharing"])) {
+ const {
+ features: t = {}
+ } = e.local || {};
+ if ("true" !== String(t["screen-sharing"])) {
+ e.haveParticipantWithScreenSharingFeature = !1;
+ for (const [t, n] of e.remote) {
+ const {
+ features: t = {}
+ } = n;
+ if ("true" === String(t["screen-sharing"])) {
+ e.haveParticipantWithScreenSharingFeature = !0;
+ break
}
- t[n++] = 128 | 63 & o
}
}
- return t[n] = 0, n - r
- }
-
- function N(e) {
- for (var t = 0, n = 0; n < e.length; ++n) {
- var a = e.charCodeAt(n);
- 55296 <= a && 57343 >= a && (a = 65536 + ((1023 & a) << 10) | 1023 & e.charCodeAt(++n)), 127 >= a ? ++t : t = 2047 >= a ? t + 2 : 65535 >= a ? t + 3 : t + 4
- }
- return t
}
-
- function z(e, t) {
- for (var n = 0; n < e.length; ++n) L[t++ >> 0] = e.charCodeAt(n)
+ return s === a && (e.dominantSpeaker = void 0), e.speakersList.has(a) && e.speakersList.delete(a), l === a && (e.pinnedParticipant = void 0), r.has(a) && r.delete(a), {
+ ...e
}
- var R, L, F, q, B, U, H, V = o.INITIAL_MEMORY || 262144;
- (P = o.wasmMemory ? o.wasmMemory : new WebAssembly.Memory({
- initial: V / 65536,
- maximum: V / 65536
- })) && (R = P.buffer), V = R.byteLength;
- var W = R;
-
- function Y(e) {
- for (; 0 < e.length;) {
- var t = e.shift();
- if ("function" == typeof t) t(o);
- else {
- var n = t.Pb;
- "number" == typeof n ? void 0 === t.Ob ? o.dynCall_v(n) : o.dynCall_vi(n, t.Ob) : n(void 0 === t.Ob ? null : t.Ob)
- }
- }
+ }
+ case $w:
+ return {
+ ...e, raisedHandsQueue: t.queue
+ };
+ case mS: {
+ const {
+ participantIds: n
+ } = t, a = [];
+ for (const t of n) {
+ const n = e.remote.get(t);
+ if (n) {
+ const r = Qoe(e, n.name);
+ a.push([t, r])
+ }
+ }
+ return a.length && a.sort(((e, t) => e[1].localeCompare(t[1]))), e.sortedRemoteScreenshares = new Map(a), {
+ ...e
+ }
+ }
+ }
+ return e
+ }));
+ const {
+ innerHeight: ase = 0,
+ innerWidth: rse = 0
+ } = window, ise = {
+ aspectRatio: uX,
+ clientHeight: ase,
+ clientWidth: rse,
+ reducedUI: !1,
+ contextMenuOpened: !1
+ }; et.register("features/base/responsive-ui", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : ise,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case A3:
+ return {
+ ...e, clientWidth: t.clientWidth, clientHeight: t.clientHeight
+ };
+ case T3:
+ return ze(e, "aspectRatio", t.aspectRatio);
+ case D3:
+ return ze(e, "reducedUI", t.reducedUI);
+ case P3:
+ return ze(e, "contextMenuOpened", t.isOpen)
+ }
+ return e
+ }));
+ const ose = {
+ audioOutputDeviceId: void 0,
+ avatarURL: void 0,
+ cameraDeviceId: void 0,
+ disableCallIntegration: void 0,
+ disableCrashReporting: void 0,
+ disableP2P: void 0,
+ disableSelfView: !1,
+ displayName: void 0,
+ email: void 0,
+ localFlipX: !0,
+ micDeviceId: void 0,
+ serverURL: void 0,
+ hideShareAudioHelper: !1,
+ soundsIncomingMessage: !0,
+ soundsParticipantJoined: !0,
+ soundsParticipantLeft: !0,
+ soundsTalkWhileMuted: !0,
+ soundsReactions: !0,
+ startAudioOnly: !1,
+ startWithAudioMuted: !1,
+ startWithVideoMuted: !1,
+ userSelectedAudioOutputDeviceId: void 0,
+ userSelectedCameraDeviceId: void 0,
+ userSelectedMicDeviceId: void 0,
+ userSelectedAudioOutputDeviceLabel: void 0,
+ userSelectedCameraDeviceLabel: void 0,
+ userSelectedMicDeviceLabel: void 0,
+ userSelectedSkipPrejoin: void 0
+ }, sse = "features/base/settings", lse = {};
+
+ function cse(e) {
+ let t = e;
+ const n = l.getItem("displayname"),
+ a = l.getItem("email");
+ return t = function(e, t) {
+ const n = Object(e);
+ for (const e in t)
+ if (t.hasOwnProperty(e)) {
+ const a = t[e];
+ void 0 !== a && (n[e] = a)
+ } return n
+ }({
+ displayName: null === n ? void 0 : _().escape(n),
+ email: null === a ? void 0 : _().escape(a)
+ }, t), t
+ }
+ Object.keys(ose).forEach((e => {
+ lse[e] = !0
+ })), lse.audioOutputDeviceId = !1, lse.cameraDeviceId = !1, lse.micDeviceId = !1, Xe.register(sse, lse, ose), et.register(sse, (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : ose,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case Va:
+ return cse(e);
+ case pn:
+ return {
+ ...e, ...t.settings
}
- R = W, o.HEAP8 = L = new Int8Array(W), o.HEAP16 = q = new Int16Array(W), o.HEAP32 = B = new Int32Array(W), o.HEAPU8 = F = new Uint8Array(W), o.HEAPU16 = new Uint16Array(W), o.HEAPU32 = new Uint32Array(W), o.HEAPF32 = U = new Float32Array(W), o.HEAPF64 = H = new Float64Array(W), B[9592] = 104064;
- var G = [],
- K = [],
- $ = [],
- J = [];
+ }
+ return e
+ }));
+ const use = new Map;
- function Z() {
- var e = o.preRun.shift();
- G.unshift(e)
- }
- var Q = Math.abs,
- X = Math.ceil,
- ee = (Math.floor, Math.min, 0),
- te = null,
- ne = null;
+ function dse(e, t) {
+ const n = t.type === Ci,
+ a = new Map(e),
+ {
+ soundId: r
+ } = t,
+ i = a.get(r);
+ return i ? n ? a.set(r, Oe(i, {
+ audioElement: t.audioElement
+ })) : a.set(r, Oe(i, {
+ audioElement: void 0
+ })) : Dae.warn(`${t.type}: no sound for id: ${r}`), a
+ }
- function ae(e) {
- throw o.onAbort && o.onAbort(e), x(e), C(e), T = !0, new WebAssembly.RuntimeError("abort(" + e + "). Build with -s ASSERTIONS=1 for more info.")
- }
+ function pse(e, t) {
+ const n = new Map(e);
+ return n.set(t.soundId, {
+ src: t.src,
+ options: t.options
+ }), n
+ }
- function re(e) {
- var t = se;
- return String.prototype.startsWith ? t.startsWith(e) : 0 === t.indexOf(e)
- }
+ function hse(e, t) {
+ const n = new Map(e);
+ return n.delete(t.soundId), n
+ }
+ et.register("features/base/sounds", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : use,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case Ci:
+ case Ai:
+ return dse(e, t);
+ case Di:
+ return pse(e, t);
+ case ji:
+ return hse(e, t);
+ default:
+ return e
+ }
+ }));
+ const mse = {
+ connectionState: ""
+ };
- function ie() {
- return re("data:application/octet-stream;base64,")
- }
- o.preloadedImages = {}, o.preloadedAudios = {};
- var oe, se = "olm.wasm";
- if (!ie()) {
- var le = se;
- se = o.locateFile ? o.locateFile(le, S) : S + le
- }
+ function fse(e, t) {
+ return Oe(e, {
+ connectionState: t.connectionState
+ })
+ }
- function ce() {
- try {
- if (E) return new Uint8Array(E);
- if (k) return k(se);
- throw "both async and sync fetching of the wasm failed"
- } catch (e) {
- ae(e)
+ function gse(e, t) {
+ switch (t.type) {
+ case Fw:
+ if (e.participantId === t.oldValue) return {
+ ...e,
+ participantId: t.newValue
+ };
+ break;
+ case gp: {
+ const n = t.track;
+ if (e.jitsiTrack === n.jitsiTrack)
+ for (const t in n)
+ if (e[t] !== n[t]) return {
+ ...e,
+ ...n
+ };
+ break
+ }
+ case yp: {
+ const n = t.track;
+ if (e.jitsiTrack === n && e.lastMediaEvent !== t.name) return {
+ ...e,
+ lastMediaEvent: t.name
+ };
+ break
+ }
+ case hp: {
+ const n = t.track;
+ if (e.jitsiTrack === n.jitsiTrack) {
+ const t = n.jitsiTrack.isReceivingData();
+ if (e.isReceivingData !== t) return {
+ ...e,
+ isReceivingData: t
}
}
- K.push({
- Pb: function() {
- de()
- }
- });
- var ue = {
- c: function(e, t, n, a) {
- ae("Assertion failed: " + M(e) + ", at: " + [t ? M(t) : "unknown filename", n, a ? M(a) : "unknown function"])
- },
- a: function(e, t, n) {
- F.copyWithin(e, t, t + n)
- },
- b: function() {
- ae("OOM")
- },
- memory: P,
- table: D
+ break
+ }
+ }
+ return e
+ }
+ et.register("features/testing", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : mse,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ return t.type === Pae ? fse(e, t) : e
+ })), et.register("features/base/tracks", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : [],
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case Fw:
+ case hp:
+ case yp:
+ case gp:
+ return e.map((e => gse(e, t)));
+ case up: {
+ let n = e;
+ return t.track.local && (n = e.filter((e => !e.local || e.mediaType !== t.track.mediaType))), [...n, t.track]
+ }
+ case dp:
+ case pp:
+ return e.filter((e => !e.local || e.mediaType !== t.trackType));
+ case mp:
+ return e.filter((e => e.jitsiTrack !== t.track.jitsiTrack));
+ case bp:
+ return [...e, t.track];
+ default:
+ return e
+ }
+ })), et.register("features/base/no-src-data", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ return t.type === lp ? ze(e, "noSrcDataNotificationUid", t.uid) : e
+ })), et.register("features/base/user-interaction", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case Va:
+ case Wa:
+ return {
+ ...e, interacted: !1
};
- ! function() {
- function e(e) {
- o.asm = e.exports, ee--, o.monitorRunDependencies && o.monitorRunDependencies(ee), 0 == ee && (null !== te && (clearInterval(te), te = null), ne && (e = ne, ne = null, e()))
- }
-
- function t(t) {
- e(t.instance)
- }
-
- function n(e) {
- return (E || !m && !f || "function" != typeof fetch || re("file://") ? new Promise((function(e) {
- e(ce())
- })) : fetch(se, {
- credentials: "same-origin"
- }).then((function(e) {
- if (!e.ok) throw "failed to load wasm binary file at '" + se + "'";
- return e.arrayBuffer()
- })).catch((function() {
- return ce()
- }))).then((function(e) {
- return WebAssembly.instantiate(e, a)
- })).then(e, (function(e) {
- C("failed to asynchronously prepare wasm: " + e), ae(e)
- }))
- }
- var a = {
- a: ue
- };
- if (ee++, o.monitorRunDependencies && o.monitorRunDependencies(ee), o.instantiateWasm) try {
- return o.instantiateWasm(a, e)
- } catch (e) {
- return C("Module.instantiateWasm callback failed with error: " + e), !1
- }! function() {
- if (E || "function" != typeof WebAssembly.instantiateStreaming || ie() || re("file://") || "function" != typeof fetch) return n(t);
- fetch(se, {
- credentials: "same-origin"
- }).then((function(e) {
- return WebAssembly.instantiateStreaming(e, a).then(t, (function(e) {
- return C("wasm streaming compile failed: " + e), C("falling back to ArrayBuffer instantiation"), n(t)
- }))
- }))
- }()
- }();
- var de = o.___wasm_call_ctors = function() {
- return (de = o.___wasm_call_ctors = o.asm.d).apply(null, arguments)
+ case Rae:
+ return {
+ ...e, interacted: !0
+ }
+ }
+ return e
+ }));
+ const bse = {
+ rooms: {},
+ roomCounter: 0
+ }; et.register(ym, (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : bse,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case c2:
+ return {
+ ...e, roomCounter: t.roomCounter
};
- o._olm_get_library_version = function() {
- return (o._olm_get_library_version = o.asm.e).apply(null, arguments)
- }, o._olm_error = function() {
- return (o._olm_error = o.asm.f).apply(null, arguments)
- }, o._olm_account_last_error = function() {
- return (o._olm_account_last_error = o.asm.g).apply(null, arguments)
- }, o._olm_session_last_error = function() {
- return (o._olm_session_last_error = o.asm.h).apply(null, arguments)
- }, o._olm_utility_last_error = function() {
- return (o._olm_utility_last_error = o.asm.i).apply(null, arguments)
- }, o._olm_account_size = function() {
- return (o._olm_account_size = o.asm.j).apply(null, arguments)
- }, o._olm_session_size = function() {
- return (o._olm_session_size = o.asm.k).apply(null, arguments)
- }, o._olm_utility_size = function() {
- return (o._olm_utility_size = o.asm.l).apply(null, arguments)
- }, o._olm_account = function() {
- return (o._olm_account = o.asm.m).apply(null, arguments)
- }, o._olm_session = function() {
- return (o._olm_session = o.asm.n).apply(null, arguments)
- }, o._olm_utility = function() {
- return (o._olm_utility = o.asm.o).apply(null, arguments)
- }, o._olm_clear_account = function() {
- return (o._olm_clear_account = o.asm.p).apply(null, arguments)
- }, o._olm_clear_session = function() {
- return (o._olm_clear_session = o.asm.q).apply(null, arguments)
- }, o._olm_clear_utility = function() {
- return (o._olm_clear_utility = o.asm.r).apply(null, arguments)
- }, o._olm_pickle_account_length = function() {
- return (o._olm_pickle_account_length = o.asm.s).apply(null, arguments)
- }, o._olm_pickle_session_length = function() {
- return (o._olm_pickle_session_length = o.asm.t).apply(null, arguments)
- }, o._olm_pickle_account = function() {
- return (o._olm_pickle_account = o.asm.u).apply(null, arguments)
- }, o._olm_pickle_session = function() {
- return (o._olm_pickle_session = o.asm.v).apply(null, arguments)
- }, o._olm_unpickle_account = function() {
- return (o._olm_unpickle_account = o.asm.w).apply(null, arguments)
- }, o._olm_unpickle_session = function() {
- return (o._olm_unpickle_session = o.asm.x).apply(null, arguments)
- }, o._olm_create_account_random_length = function() {
- return (o._olm_create_account_random_length = o.asm.y).apply(null, arguments)
- }, o._olm_create_account = function() {
- return (o._olm_create_account = o.asm.z).apply(null, arguments)
- }, o._olm_account_identity_keys_length = function() {
- return (o._olm_account_identity_keys_length = o.asm.A).apply(null, arguments)
- }, o._olm_account_identity_keys = function() {
- return (o._olm_account_identity_keys = o.asm.B).apply(null, arguments)
- }, o._olm_account_signature_length = function() {
- return (o._olm_account_signature_length = o.asm.C).apply(null, arguments)
- }, o._olm_account_sign = function() {
- return (o._olm_account_sign = o.asm.D).apply(null, arguments)
- }, o._olm_account_one_time_keys_length = function() {
- return (o._olm_account_one_time_keys_length = o.asm.E).apply(null, arguments)
- }, o._olm_account_one_time_keys = function() {
- return (o._olm_account_one_time_keys = o.asm.F).apply(null, arguments)
- }, o._olm_account_mark_keys_as_published = function() {
- return (o._olm_account_mark_keys_as_published = o.asm.G).apply(null, arguments)
- }, o._olm_account_max_number_of_one_time_keys = function() {
- return (o._olm_account_max_number_of_one_time_keys = o.asm.H).apply(null, arguments)
- }, o._olm_account_generate_one_time_keys_random_length = function() {
- return (o._olm_account_generate_one_time_keys_random_length = o.asm.I).apply(null, arguments)
- }, o._olm_account_generate_one_time_keys = function() {
- return (o._olm_account_generate_one_time_keys = o.asm.J).apply(null, arguments)
- }, o._olm_account_generate_fallback_key_random_length = function() {
- return (o._olm_account_generate_fallback_key_random_length = o.asm.K).apply(null, arguments)
- }, o._olm_account_generate_fallback_key = function() {
- return (o._olm_account_generate_fallback_key = o.asm.L).apply(null, arguments)
- }, o._olm_account_fallback_key_length = function() {
- return (o._olm_account_fallback_key_length = o.asm.M).apply(null, arguments)
- }, o._olm_account_fallback_key = function() {
- return (o._olm_account_fallback_key = o.asm.N).apply(null, arguments)
- }, o._olm_create_outbound_session_random_length = function() {
- return (o._olm_create_outbound_session_random_length = o.asm.O).apply(null, arguments)
- }, o._olm_create_outbound_session = function() {
- return (o._olm_create_outbound_session = o.asm.P).apply(null, arguments)
- }, o._olm_create_inbound_session = function() {
- return (o._olm_create_inbound_session = o.asm.Q).apply(null, arguments)
- }, o._olm_create_inbound_session_from = function() {
- return (o._olm_create_inbound_session_from = o.asm.R).apply(null, arguments)
- }, o._olm_session_id_length = function() {
- return (o._olm_session_id_length = o.asm.S).apply(null, arguments)
- }, o._olm_session_id = function() {
- return (o._olm_session_id = o.asm.T).apply(null, arguments)
- }, o._olm_session_has_received_message = function() {
- return (o._olm_session_has_received_message = o.asm.U).apply(null, arguments)
- }, o._olm_session_describe = function() {
- return (o._olm_session_describe = o.asm.V).apply(null, arguments)
- }, o._olm_matches_inbound_session = function() {
- return (o._olm_matches_inbound_session = o.asm.W).apply(null, arguments)
- }, o._olm_matches_inbound_session_from = function() {
- return (o._olm_matches_inbound_session_from = o.asm.X).apply(null, arguments)
- }, o._olm_remove_one_time_keys = function() {
- return (o._olm_remove_one_time_keys = o.asm.Y).apply(null, arguments)
- }, o._olm_encrypt_message_type = function() {
- return (o._olm_encrypt_message_type = o.asm.Z).apply(null, arguments)
- }, o._olm_encrypt_random_length = function() {
- return (o._olm_encrypt_random_length = o.asm._).apply(null, arguments)
- }, o._olm_encrypt_message_length = function() {
- return (o._olm_encrypt_message_length = o.asm.$).apply(null, arguments)
- }, o._olm_encrypt = function() {
- return (o._olm_encrypt = o.asm.aa).apply(null, arguments)
- }, o._olm_decrypt_max_plaintext_length = function() {
- return (o._olm_decrypt_max_plaintext_length = o.asm.ba).apply(null, arguments)
- }, o._olm_decrypt = function() {
- return (o._olm_decrypt = o.asm.ca).apply(null, arguments)
- }, o._olm_sha256_length = function() {
- return (o._olm_sha256_length = o.asm.da).apply(null, arguments)
- }, o._olm_sha256 = function() {
- return (o._olm_sha256 = o.asm.ea).apply(null, arguments)
- }, o._olm_ed25519_verify = function() {
- return (o._olm_ed25519_verify = o.asm.fa).apply(null, arguments)
- }, o._olm_pk_encryption_last_error = function() {
- return (o._olm_pk_encryption_last_error = o.asm.ga).apply(null, arguments)
- }, o._olm_pk_encryption_size = function() {
- return (o._olm_pk_encryption_size = o.asm.ha).apply(null, arguments)
- }, o._olm_pk_encryption = function() {
- return (o._olm_pk_encryption = o.asm.ia).apply(null, arguments)
- }, o._olm_clear_pk_encryption = function() {
- return (o._olm_clear_pk_encryption = o.asm.ja).apply(null, arguments)
- }, o._olm_pk_encryption_set_recipient_key = function() {
- return (o._olm_pk_encryption_set_recipient_key = o.asm.ka).apply(null, arguments)
- }, o._olm_pk_key_length = function() {
- return (o._olm_pk_key_length = o.asm.la).apply(null, arguments)
- }, o._olm_pk_ciphertext_length = function() {
- return (o._olm_pk_ciphertext_length = o.asm.ma).apply(null, arguments)
- }, o._olm_pk_mac_length = function() {
- return (o._olm_pk_mac_length = o.asm.na).apply(null, arguments)
- }, o._olm_pk_encrypt_random_length = function() {
- return (o._olm_pk_encrypt_random_length = o.asm.oa).apply(null, arguments)
- }, o._olm_pk_encrypt = function() {
- return (o._olm_pk_encrypt = o.asm.pa).apply(null, arguments)
- }, o._olm_pk_decryption_last_error = function() {
- return (o._olm_pk_decryption_last_error = o.asm.qa).apply(null, arguments)
- }, o._olm_pk_decryption_size = function() {
- return (o._olm_pk_decryption_size = o.asm.ra).apply(null, arguments)
- }, o._olm_pk_decryption = function() {
- return (o._olm_pk_decryption = o.asm.sa).apply(null, arguments)
- }, o._olm_clear_pk_decryption = function() {
- return (o._olm_clear_pk_decryption = o.asm.ta).apply(null, arguments)
- }, o._olm_pk_private_key_length = function() {
- return (o._olm_pk_private_key_length = o.asm.ua).apply(null, arguments)
- }, o._olm_pk_generate_key_random_length = function() {
- return (o._olm_pk_generate_key_random_length = o.asm.va).apply(null, arguments)
- }, o._olm_pk_key_from_private = function() {
- return (o._olm_pk_key_from_private = o.asm.wa).apply(null, arguments)
- }, o._olm_pk_generate_key = function() {
- return (o._olm_pk_generate_key = o.asm.xa).apply(null, arguments)
- }, o._olm_pickle_pk_decryption_length = function() {
- return (o._olm_pickle_pk_decryption_length = o.asm.ya).apply(null, arguments)
- }, o._olm_pickle_pk_decryption = function() {
- return (o._olm_pickle_pk_decryption = o.asm.za).apply(null, arguments)
- }, o._olm_unpickle_pk_decryption = function() {
- return (o._olm_unpickle_pk_decryption = o.asm.Aa).apply(null, arguments)
- }, o._olm_pk_max_plaintext_length = function() {
- return (o._olm_pk_max_plaintext_length = o.asm.Ba).apply(null, arguments)
- }, o._olm_pk_decrypt = function() {
- return (o._olm_pk_decrypt = o.asm.Ca).apply(null, arguments)
- }, o._olm_pk_get_private_key = function() {
- return (o._olm_pk_get_private_key = o.asm.Da).apply(null, arguments)
- }, o._olm_pk_signing_size = function() {
- return (o._olm_pk_signing_size = o.asm.Ea).apply(null, arguments)
- }, o._olm_pk_signing = function() {
- return (o._olm_pk_signing = o.asm.Fa).apply(null, arguments)
- }, o._olm_pk_signing_last_error = function() {
- return (o._olm_pk_signing_last_error = o.asm.Ga).apply(null, arguments)
- }, o._olm_clear_pk_signing = function() {
- return (o._olm_clear_pk_signing = o.asm.Ha).apply(null, arguments)
- }, o._olm_pk_signing_seed_length = function() {
- return (o._olm_pk_signing_seed_length = o.asm.Ia).apply(null, arguments)
- }, o._olm_pk_signing_public_key_length = function() {
- return (o._olm_pk_signing_public_key_length = o.asm.Ja).apply(null, arguments)
- }, o._olm_pk_signing_key_from_seed = function() {
- return (o._olm_pk_signing_key_from_seed = o.asm.Ka).apply(null, arguments)
- }, o._olm_pk_signature_length = function() {
- return (o._olm_pk_signature_length = o.asm.La).apply(null, arguments)
- }, o._olm_pk_sign = function() {
- return (o._olm_pk_sign = o.asm.Ma).apply(null, arguments)
- }, o._olm_inbound_group_session_size = function() {
- return (o._olm_inbound_group_session_size = o.asm.Na).apply(null, arguments)
- }, o._olm_inbound_group_session = function() {
- return (o._olm_inbound_group_session = o.asm.Oa).apply(null, arguments)
- }, o._olm_clear_inbound_group_session = function() {
- return (o._olm_clear_inbound_group_session = o.asm.Pa).apply(null, arguments)
- }, o._olm_inbound_group_session_last_error = function() {
- return (o._olm_inbound_group_session_last_error = o.asm.Qa).apply(null, arguments)
- }, o._olm_init_inbound_group_session = function() {
- return (o._olm_init_inbound_group_session = o.asm.Ra).apply(null, arguments)
- }, o._olm_import_inbound_group_session = function() {
- return (o._olm_import_inbound_group_session = o.asm.Sa).apply(null, arguments)
- }, o._olm_pickle_inbound_group_session_length = function() {
- return (o._olm_pickle_inbound_group_session_length = o.asm.Ta).apply(null, arguments)
- }, o._olm_pickle_inbound_group_session = function() {
- return (o._olm_pickle_inbound_group_session = o.asm.Ua).apply(null, arguments)
- }, o._olm_unpickle_inbound_group_session = function() {
- return (o._olm_unpickle_inbound_group_session = o.asm.Va).apply(null, arguments)
- }, o._olm_group_decrypt_max_plaintext_length = function() {
- return (o._olm_group_decrypt_max_plaintext_length = o.asm.Wa).apply(null, arguments)
- }, o._olm_group_decrypt = function() {
- return (o._olm_group_decrypt = o.asm.Xa).apply(null, arguments)
- }, o._olm_inbound_group_session_id_length = function() {
- return (o._olm_inbound_group_session_id_length = o.asm.Ya).apply(null, arguments)
- }, o._olm_inbound_group_session_id = function() {
- return (o._olm_inbound_group_session_id = o.asm.Za).apply(null, arguments)
- }, o._olm_inbound_group_session_first_known_index = function() {
- return (o._olm_inbound_group_session_first_known_index = o.asm._a).apply(null, arguments)
- }, o._olm_inbound_group_session_is_verified = function() {
- return (o._olm_inbound_group_session_is_verified = o.asm.$a).apply(null, arguments)
- }, o._olm_export_inbound_group_session_length = function() {
- return (o._olm_export_inbound_group_session_length = o.asm.ab).apply(null, arguments)
- }, o._olm_export_inbound_group_session = function() {
- return (o._olm_export_inbound_group_session = o.asm.bb).apply(null, arguments)
- }, o._olm_sas_last_error = function() {
- return (o._olm_sas_last_error = o.asm.cb).apply(null, arguments)
- }, o._olm_sas_size = function() {
- return (o._olm_sas_size = o.asm.db).apply(null, arguments)
- }, o._olm_sas = function() {
- return (o._olm_sas = o.asm.eb).apply(null, arguments)
- }, o._olm_clear_sas = function() {
- return (o._olm_clear_sas = o.asm.fb).apply(null, arguments)
- }, o._olm_create_sas_random_length = function() {
- return (o._olm_create_sas_random_length = o.asm.gb).apply(null, arguments)
- }, o._olm_create_sas = function() {
- return (o._olm_create_sas = o.asm.hb).apply(null, arguments)
- }, o._olm_sas_pubkey_length = function() {
- return (o._olm_sas_pubkey_length = o.asm.ib).apply(null, arguments)
- }, o._olm_sas_get_pubkey = function() {
- return (o._olm_sas_get_pubkey = o.asm.jb).apply(null, arguments)
- }, o._olm_sas_set_their_key = function() {
- return (o._olm_sas_set_their_key = o.asm.kb).apply(null, arguments)
- }, o._olm_sas_is_their_key_set = function() {
- return (o._olm_sas_is_their_key_set = o.asm.lb).apply(null, arguments)
- }, o._olm_sas_generate_bytes = function() {
- return (o._olm_sas_generate_bytes = o.asm.mb).apply(null, arguments)
- }, o._olm_sas_mac_length = function() {
- return (o._olm_sas_mac_length = o.asm.nb).apply(null, arguments)
- }, o._olm_sas_calculate_mac_fixed_base64 = function() {
- return (o._olm_sas_calculate_mac_fixed_base64 = o.asm.ob).apply(null, arguments)
- }, o._olm_sas_calculate_mac = function() {
- return (o._olm_sas_calculate_mac = o.asm.pb).apply(null, arguments)
- }, o._olm_sas_calculate_mac_long_kdf = function() {
- return (o._olm_sas_calculate_mac_long_kdf = o.asm.qb).apply(null, arguments)
- }, o._olm_outbound_group_session_size = function() {
- return (o._olm_outbound_group_session_size = o.asm.rb).apply(null, arguments)
- }, o._olm_outbound_group_session = function() {
- return (o._olm_outbound_group_session = o.asm.sb).apply(null, arguments)
- }, o._olm_clear_outbound_group_session = function() {
- return (o._olm_clear_outbound_group_session = o.asm.tb).apply(null, arguments)
- }, o._olm_outbound_group_session_last_error = function() {
- return (o._olm_outbound_group_session_last_error = o.asm.ub).apply(null, arguments)
- }, o._olm_pickle_outbound_group_session_length = function() {
- return (o._olm_pickle_outbound_group_session_length = o.asm.vb).apply(null, arguments)
- }, o._olm_pickle_outbound_group_session = function() {
- return (o._olm_pickle_outbound_group_session = o.asm.wb).apply(null, arguments)
- }, o._olm_unpickle_outbound_group_session = function() {
- return (o._olm_unpickle_outbound_group_session = o.asm.xb).apply(null, arguments)
- }, o._olm_init_outbound_group_session_random_length = function() {
- return (o._olm_init_outbound_group_session_random_length = o.asm.yb).apply(null, arguments)
- }, o._olm_init_outbound_group_session = function() {
- return (o._olm_init_outbound_group_session = o.asm.zb).apply(null, arguments)
- }, o._olm_group_encrypt_message_length = function() {
- return (o._olm_group_encrypt_message_length = o.asm.Ab).apply(null, arguments)
- }, o._olm_group_encrypt = function() {
- return (o._olm_group_encrypt = o.asm.Bb).apply(null, arguments)
- }, o._olm_outbound_group_session_id_length = function() {
- return (o._olm_outbound_group_session_id_length = o.asm.Cb).apply(null, arguments)
- }, o._olm_outbound_group_session_id = function() {
- return (o._olm_outbound_group_session_id = o.asm.Db).apply(null, arguments)
- }, o._olm_outbound_group_session_message_index = function() {
- return (o._olm_outbound_group_session_message_index = o.asm.Eb).apply(null, arguments)
- }, o._olm_outbound_group_session_key_length = function() {
- return (o._olm_outbound_group_session_key_length = o.asm.Fb).apply(null, arguments)
- }, o._olm_outbound_group_session_key = function() {
- return (o._olm_outbound_group_session_key = o.asm.Gb).apply(null, arguments)
- }, o._malloc = function() {
- return (o._malloc = o.asm.Hb).apply(null, arguments)
- }, o._free = function() {
- return (o._free = o.asm.Ib).apply(null, arguments)
+ case u2: {
+ const {
+ roomCounter: n,
+ rooms: a
+ } = t;
+ return {
+ ...e,
+ roomCounter: n,
+ rooms: a
+ }
+ }
+ case l2:
+ return bse
+ }
+ return e
+ }));
+ const yse = {
+ authorization: void 0,
+ events: [],
+ integrationReady: !1,
+ integrationType: void 0,
+ msAuthState: void 0
+ }, vse = "features/calendar-sync"; Xe.register(vse, {
+ integrationType: !0,
+ msAuthState: !0
+ }), et.register(vse, (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : yse,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case oJ:
+ return yse;
+ case pJ:
+ return t.msAuthState ? ze(e, "msAuthState", {
+ ...e.msAuthState,
+ ...t.msAuthState
+ }) : ze(e, "msAuthState", void 0);
+ case lJ:
+ return ze(e, "authorization", t.authorization);
+ case cJ:
+ return ze(e, "error", t.error);
+ case uJ:
+ return ze(e, "events", t.events);
+ case dJ:
+ return {
+ ...e, integrationReady: t.integrationReady, integrationType: t.integrationType
};
- var pe, he = o.stackSave = function() {
- return (he = o.stackSave = o.asm.Jb).apply(null, arguments)
- },
- me = o.stackRestore = function() {
- return (me = o.stackRestore = o.asm.Kb).apply(null, arguments)
+ case hJ:
+ return ze(e, "profileEmail", t.email);
+ case mJ:
+ return ze(e, "isLoadingEvents", t.isLoadingEvents)
+ }
+ return e
+ }));
+ const kse = {
+ isOpen: !1,
+ isPollsTabFocused: !1,
+ lastReadMessage: void 0,
+ lastReadPoll: void 0,
+ messages: [],
+ nbUnreadMessages: 0,
+ privateMessageRecipient: void 0
+ }; et.register("features/chat", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : kse,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case VH: {
+ const n = {
+ displayName: t.displayName,
+ error: t.error,
+ id: t.id,
+ isReaction: t.isReaction,
+ messageType: t.messageType,
+ message: t.message,
+ privateMessage: t.privateMessage,
+ recipient: t.recipient,
+ timestamp: t.timestamp
},
- fe = o.stackAlloc = function() {
- return (fe = o.stackAlloc = o.asm.Lb).apply(null, arguments)
- };
-
- function ge() {
- function e() {
- if (!pe && (pe = !0, o.calledRun = !0, !T)) {
- if (Y(K), Y($), l(o), o.onRuntimeInitialized && o.onRuntimeInitialized(), o.postRun)
- for ("function" == typeof o.postRun && (o.postRun = [o.postRun]); o.postRun.length;) {
- var e = o.postRun.shift();
- J.unshift(e)
- }
- Y(J)
- }
- }
- if (!(0 < ee)) {
- if (o.preRun)
- for ("function" == typeof o.preRun && (o.preRun = [o.preRun]); o.preRun.length;) Z();
- Y(G), 0 < ee || (o.setStatus ? (o.setStatus("Running..."), setTimeout((function() {
- setTimeout((function() {
- o.setStatus("")
- }), 1), e()
- }), 1)) : e())
- }
+ a = "ReactNative" === navigator.product ? [n, ...e.messages] : [...e.messages, n];
+ return {
+ ...e,
+ lastReadMessage: t.hasRead ? n : e.lastReadMessage,
+ nbUnreadMessages: e.isPollsTabFocused ? e.nbUnreadMessages + 1 : e.nbUnreadMessages,
+ messages: a
}
- if (o.ALLOC_STACK = 1, ne = function e() {
- pe || ge(), pe || (ne = e)
- }, o.run = ge, o.preInit)
- for ("function" == typeof o.preInit && (o.preInit = [o.preInit]); 0 < o.preInit.length;) o.preInit.pop()();
-
- function be() {
- var e = o._olm_outbound_group_session_size();
- this.Nb = De(e), this.Mb = o._olm_outbound_group_session(this.Nb)
+ }
+ case WH:
+ return {
+ ...e, lastReadMessage: void 0, messages: []
+ };
+ case $H:
+ return {
+ ...e, privateMessageRecipient: t.participant
+ };
+ case GH:
+ return {
+ ...e, isOpen: !0, privateMessageRecipient: t.participant
+ };
+ case YH:
+ return {
+ ...e, isOpen: !1, lastReadMessage: e.messages["ReactNative" === navigator.product ? 0 : e.messages.length - 1], privateMessageRecipient: t.participant
+ };
+ case JH:
+ return {
+ ...e, isPollsTabFocused: t.isPollsTabFocused, nbUnreadMessages: 0
}
+ }
+ return e
+ })), et.register("features/deep-linking", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ return t.type === Uae ? {
+ ...e,
+ launchInWeb: !0
+ } : e
+ }));
+ const _se = "features/dropbox"; Xe.register(_se), et.register(_se, (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ return t.type === iU ? {
+ ...e,
+ token: t.token,
+ rToken: t.rToken,
+ expireDate: t.expireDate
+ } : e
+ }));
+ const wse = {
+ avatarBackgrounds: [],
+ backgroundColor: "",
+ backgroundImageUrl: "",
+ customizationReady: !1,
+ customizationFailed: !1,
+ defaultBranding: !0,
+ didPageUrl: "",
+ inviteDomain: "",
+ logoClickUrl: "",
+ logoImageUrl: "",
+ muiBrandedTheme: void 0,
+ premeetingBackground: "",
+ useDynamicBrandingData: !1,
+ virtualBackgrounds: []
+ };
- function ye(e) {
- return function() {
- var t = e.apply(this, arguments);
- if (t === Pe) throw t = M(o._olm_outbound_group_session_last_error(arguments[0])), Error("OLM." + t);
- return t
- }
+ function Sse(e) {
+ return e.map(((e, t) => {
+ let n, a;
+ return "object" == typeof e ? ({
+ src: n,
+ tooltip: a
+ } = e) : n = e, {
+ id: `branding-${t}`,
+ src: n,
+ tooltip: a
+ }
+ }))
+ }
+ et.register("features/dynamic-branding", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : wse,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case JY: {
+ const {
+ avatarBackgrounds: e,
+ backgroundColor: n,
+ backgroundImageUrl: a,
+ defaultBranding: r,
+ didPageUrl: i,
+ inviteDomain: o,
+ logoClickUrl: s,
+ logoImageUrl: l,
+ muiBrandedTheme: c,
+ premeetingBackground: u,
+ virtualBackgrounds: d
+ } = t.value;
+ return {
+ avatarBackgrounds: e,
+ backgroundColor: n,
+ backgroundImageUrl: a,
+ defaultBranding: r,
+ didPageUrl: i,
+ inviteDomain: o,
+ logoClickUrl: s,
+ logoImageUrl: l,
+ muiBrandedTheme: c,
+ premeetingBackground: u,
+ customizationFailed: !1,
+ customizationReady: !0,
+ useDynamicBrandingData: !0,
+ virtualBackgrounds: Sse(d || [])
+ }
+ }
+ case ZY:
+ return {
+ ...e, customizationReady: !0, customizationFailed: !0, useDynamicBrandingData: !0
+ };
+ case QY:
+ return {
+ ...e, customizationReady: !0
+ }
+ }
+ return e
+ }));
+ const Ese = {
+ documentUrl: void 0,
+ editing: !1
+ }; et.register("features/etherpad", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : Ese,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case p1:
+ return {
+ ...e, editing: t.editing
+ };
+ case h1:
+ return {
+ ...e, documentUrl: t.documentUrl
+ };
+ default:
+ return e
+ }
+ }));
+ const xse = {
+ enabled: !0,
+ horizontalViewDimensions: {},
+ participantsVolume: {},
+ remoteParticipants: [],
+ tileViewDimensions: {},
+ verticalViewDimensions: {},
+ visible: !0,
+ visibleParticipantsEndIndex: 0,
+ visibleParticipantsStartIndex: 0,
+ visibleRemoteParticipants: new Set
+ }; et.register("features/filmstrip", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : xse,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case _S:
+ return {
+ ...e, enabled: t.enabled
+ };
+ case wS:
+ return {
+ ...e, visible: t.visible
+ };
+ case ES:
+ return {
+ ...e, horizontalViewDimensions: t.dimensions
+ };
+ case xS: {
+ e.remoteParticipants = t.participants;
+ const {
+ visibleParticipantsStartIndex: n,
+ visibleParticipantsEndIndex: a
+ } = e;
+ return e.visibleRemoteParticipants = new Set(e.remoteParticipants.slice(n, a + 1)), {
+ ...e
}
-
- function ve() {
- var e = o._olm_inbound_group_session_size();
- this.Nb = De(e), this.Mb = o._olm_inbound_group_session(this.Nb)
+ }
+ case SS:
+ return {
+ ...e, tileViewDimensions: t.dimensions
+ };
+ case CS:
+ return {
+ ...e, verticalViewDimensions: t.dimensions
+ };
+ case AS:
+ return {
+ ...e, participantsVolume: {
+ ...e.participantsVolume,
+ [t.participantId]: t.volume
+ }
+ };
+ case TS:
+ return {
+ ...e, visibleParticipantsStartIndex: t.startIndex, visibleParticipantsEndIndex: t.endIndex, visibleRemoteParticipants: new Set(e.remoteParticipants.slice(t.startIndex, t.endIndex + 1))
+ };
+ case Uw: {
+ const {
+ id: n,
+ local: a
+ } = t.participant;
+ return a ? e : (delete e.participantsVolume[n], {
+ ...e
+ })
+ }
+ }
+ return e
+ })), et.register("features/follow-me", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case tre: {
+ let n = ze(e, "moderator", t.id);
+ return t.id || (n = ze(n, "state", void 0)), n
+ }
+ case nre:
+ return ze(e, "state", t.state)
+ }
+ return e
+ }));
+ const Cse = {
+ googleAPIState: J$.NEEDS_LOADING,
+ profileEmail: ""
+ }; et.register("features/google-api", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : Cse,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case G$:
+ return {
+ ...e, googleAPIState: t.googleAPIState, googleResponse: t.googleResponse
+ };
+ case K$:
+ return {
+ ...e, profileEmail: t.profileEmail
+ }
+ }
+ return e
+ }));
+ const Ase = {
+ calleeInfoVisible: !1,
+ numbersEnabled: !0,
+ numbersFetched: !1,
+ pendingInviteRequests: []
+ }; et.register("features/invite", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : Ase,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case LY:
+ return {
+ ...e, pendingInviteRequests: [...e.pendingInviteRequests, t.request]
+ };
+ case qY:
+ return {
+ ...e, pendingInviteRequests: []
+ };
+ case BY:
+ return {
+ ...e, calleeInfoVisible: t.calleeInfoVisible, initialCalleeInfo: t.initialCalleeInfo
+ };
+ case HY:
+ return {
+ ...e, error: t.error
+ };
+ case VY: {
+ if (Array.isArray(t.dialInNumbers)) return {
+ ...e,
+ conferenceID: t.conferenceID,
+ numbers: t.dialInNumbers,
+ sipUri: t.sipUri,
+ numbersEnabled: !0,
+ numbersFetched: !0
+ };
+ PU.warn("Using deprecated API for retrieving phone numbers");
+ const {
+ numbersEnabled: n
+ } = t.dialInNumbers;
+ return {
+ ...e,
+ conferenceID: t.conferenceID,
+ numbers: t.dialInNumbers,
+ numbersEnabled: n,
+ numbersFetched: !0
+ }
+ }
+ }
+ return e
+ }));
+ const Tse = {
+ disabledFeatures: [],
+ status: "ACTIVE"
+ }; et.register("features/jaas", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : Tse,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ return t.type === JB ? t.payload : e
+ })), et.register("features/large-video", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case Fw:
+ if (e.participantId === t.oldValue) return {
+ ...e,
+ participantId: t.newValue
+ };
+ break;
+ case BW:
+ return {
+ ...e, participantId: t.participantId
+ };
+ case UW:
+ return {
+ ...e, resolution: t.resolution
+ };
+ case HW:
+ return {
+ ...e, lastMediaEvent: t.name
}
+ }
+ return e
+ }));
+ const Dse = {
+ knocking: !1,
+ knockingParticipants: [],
+ lobbyEnabled: !1,
+ lobbyVisible: !1,
+ passwordJoinFailed: !1
+ };
- function ke(e) {
- return function() {
- var t = e.apply(this, arguments);
- if (t === Pe) throw t = M(o._olm_inbound_group_session_last_error(arguments[0])), Error("OLM." + t);
- return t
- }
+ function Pse(e, t) {
+ let n = t.knockingParticipants.find((t => t.id === e.id));
+ return n = {
+ ...n,
+ ...e
+ }, {
+ ...t,
+ knockingParticipants: [...t.knockingParticipants.filter((t => t.id !== e.id)), n]
+ }
+ }
+ et.register("features/lobby", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : Dse,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case HF:
+ case VF:
+ return {
+ ...e, knocking: !1, passwordJoinFailed: !1
+ };
+ case D0:
+ return Pse(t.participant, e);
+ case P0:
+ return {
+ ...e, knockingParticipants: e.knockingParticipants.filter((e => e.id !== t.id))
+ };
+ case M0:
+ return {
+ ...e, knocking: t.knocking, passwordJoinFailed: !1
+ };
+ case j0:
+ return {
+ ...e, lobbyEnabled: t.enabled
+ };
+ case I0:
+ return {
+ ...e, lobbyVisible: t.visible
+ };
+ case aq:
+ return {
+ ...e, passwordJoinFailed: !1
+ };
+ case O0:
+ return {
+ ...e, passwordJoinFailed: t.failed
}
+ }
+ return e
+ }));
+ const jse = {
+ enabled: !0,
+ notifications: []
+ };
- function _e() {
- var e = o._olm_pk_encryption_size();
- this.Nb = De(e), this.Mb = o._olm_pk_encryption(this.Nb)
- }
+ function Mse(e, t) {
+ const n = Jf[t.props.appearance] || 0;
+ let a = e.length;
+ for (let t = 1; t < e.length; t++) {
+ const r = e[t];
+ if ((Jf[r.props.appearance] || 0) < n) {
+ a = t;
+ break
+ }
+ }
+ const r = e.slice();
+ return r.splice(a, 0, t), r
+ }
- function we(e) {
- return function() {
- var t = e.apply(this, arguments);
- if (t === Pe) throw t = M(o._olm_pk_encryption_last_error(arguments[0])), Error("OLM." + t);
- return t
- }
- }
+ function Ise(e, t) {
+ let {
+ browser: n,
+ isVisible: a
+ } = t;
+ return Oe(e, {
+ browser: n,
+ isMediaPermissionPromptVisible: a
+ })
+ }
- function Se() {
- var e = o._olm_pk_decryption_size();
- this.Nb = De(e), this.Mb = o._olm_pk_decryption(this.Nb)
- }
+ function Ose(e, t) {
+ let {
+ isVisible: n
+ } = t;
+ return Oe(e, {
+ isSlowGUMOverlayVisible: n
+ })
+ }
- function Ee(e) {
- return function() {
- var t = e.apply(this, arguments);
- if (t === Pe) throw t = M(o._olm_pk_decryption_last_error(arguments[0])), Error("OLM." + t);
- return t
- }
- }
+ function Nse(e, t) {
+ return ze(e, "loadConfigOverlayVisible", t)
+ }
- function xe() {
- var e = o._olm_pk_signing_size();
- this.Nb = De(e), this.Mb = o._olm_pk_signing(this.Nb)
+ function Rse(e, t) {
+ let {
+ fatalError: n
+ } = t;
+ return ze(e, "fatalError", n)
+ }
+ et.register("features/notifications", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : jse,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case Bf:
+ return {
+ ...e, notifications: []
+ };
+ case Uf:
+ return {
+ ...e, notifications: e.notifications.filter((e => e.uid !== t.uid))
+ };
+ case Wf:
+ return {
+ ...e, notifications: e.notifications.filter((e => !e.props.raiseHandNotification))
+ };
+ case Vf:
+ return {
+ ...e, enabled: t.enabled
+ };
+ case Hf:
+ return {
+ ...e, notifications: Mse(e.notifications, {
+ component: t.component,
+ props: t.props,
+ timeout: t.timeout,
+ uid: t.uid
+ })
}
-
- function Ce(e) {
- return function() {
- var t = e.apply(this, arguments);
- if (t === Pe) throw t = M(o._olm_pk_signing_last_error(arguments[0])), Error("OLM." + t);
- return t
+ }
+ return e
+ })), et.register("features/overlay", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case jn:
+ return Nse(e, Boolean(t.room));
+ case Mn:
+ case In:
+ return Nse(!1);
+ case Aq:
+ return Ise(e, t);
+ case Dq:
+ return Rse(e, t);
+ case Tq:
+ return Ose(e, t)
+ }
+ return e
+ }));
+ const zse = {
+ polls: {},
+ nbUnreadPolls: 0
+ }; et.register("features/polls", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : zse,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case EV: {
+ const {
+ pollId: n,
+ value: a
+ } = t;
+ return {
+ ...e,
+ polls: {
+ ...e.polls,
+ [n]: {
+ ...e.polls[n],
+ changingVote: a,
+ showResults: !a
+ }
}
}
-
- function Ae() {
- var e = o._olm_sas_size(),
- t = o._olm_create_sas_random_length(),
- n = Oe(t, u);
- this.Nb = De(e), this.Mb = o._olm_sas(this.Nb), o._olm_create_sas(this.Mb, n, t), ze(n, t)
+ }
+ case xV:
+ return {
+ ...e, polls: {
+ ...e.polls,
+ [t.pollId]: t.poll
+ }, nbUnreadPolls: e.nbUnreadPolls + 1
+ };
+ case CV: {
+ const {
+ pollId: n,
+ answer: a
+ } = t;
+ if (!(n in e.polls)) return console.warn("requested poll does not exist: pollId ", n), e;
+ const r = e.polls[n].answers.map((e => ({
+ name: e.name,
+ voters: new Map(e.voters)
+ })));
+ for (let e = 0; e < r.length; e++) {
+ const t = r[e].voters;
+ a.answers[e] ? t.set(a.voterId, a.voterName) : t.delete(a.voterId)
}
-
- function je(e) {
- return function() {
- var t = e.apply(this, arguments);
- if (t === Pe) throw t = M(o._olm_sas_last_error(arguments[0])), Error("OLM." + t);
- return t
+ return {
+ ...e,
+ polls: {
+ ...e.polls,
+ [n]: {
+ ...e.polls[n],
+ answers: r
+ }
}
}
- ge(), be.prototype.free = function() {
- o._olm_clear_outbound_group_session(this.Mb), Te(this.Mb)
- }, be.prototype.pickle = Ne((function(e) {
- e = Ie(e);
- var t = ye(o._olm_pickle_outbound_group_session_length)(this.Mb),
- n = Me(e),
- a = Me(t + 1);
- try {
- ye(o._olm_pickle_outbound_group_session)(this.Mb, n, e.length, a, t)
- } finally {
- for (ze(n, e.length), n = 0; n < e.length; n++) e[n] = 0
- }
- return M(a, t)
- })), be.prototype.unpickle = Ne((function(e, t) {
- var n = Me(e = Ie(e)),
- a = Me(t = Ie(t));
- try {
- ye(o._olm_unpickle_outbound_group_session)(this.Mb, n, e.length, a, t.length)
- } finally {
- for (ze(n, e.length), n = 0; n < e.length; n++) e[n] = 0
- }
- })), be.prototype.create = Ne((function() {
- var e = ye(o._olm_init_outbound_group_session_random_length)(this.Mb),
- t = Oe(e, u);
- ye(o._olm_init_outbound_group_session)(this.Mb, t, e)
- })), be.prototype.encrypt = function(e) {
- try {
- var t = N(e),
- n = ye(o._olm_group_encrypt_message_length)(this.Mb, t),
- a = De(t + 1);
- I(e, F, a, t + 1);
- var r = De(n + 1);
- return ye(o._olm_group_encrypt)(this.Mb, a, t, r, n), A(r + n), M(r, n)
- } finally {
- void 0 !== a && (ze(a, t + 1), Te(a)), void 0 !== r && Te(r)
- }
- }, be.prototype.session_id = Ne((function() {
- var e = ye(o._olm_outbound_group_session_id_length)(this.Mb),
- t = Me(e + 1);
- return ye(o._olm_outbound_group_session_id)(this.Mb, t, e), M(t, e)
- })), be.prototype.session_key = Ne((function() {
- var e = ye(o._olm_outbound_group_session_key_length)(this.Mb),
- t = Me(e + 1);
- ye(o._olm_outbound_group_session_key)(this.Mb, t, e);
- var n = M(t, e);
- return ze(t, e), n
- })), be.prototype.message_index = function() {
- return ye(o._olm_outbound_group_session_message_index)(this.Mb)
- }, s.OutboundGroupSession = be, ve.prototype.free = function() {
- o._olm_clear_inbound_group_session(this.Mb), Te(this.Mb)
- }, ve.prototype.pickle = Ne((function(e) {
- e = Ie(e);
- var t = ke(o._olm_pickle_inbound_group_session_length)(this.Mb),
- n = Me(e),
- a = Me(t + 1);
- try {
- ke(o._olm_pickle_inbound_group_session)(this.Mb, n, e.length, a, t)
- } finally {
- for (ze(n, e.length), n = 0; n < e.length; n++) e[n] = 0
- }
- return M(a, t)
- })), ve.prototype.unpickle = Ne((function(e, t) {
- var n = Me(e = Ie(e)),
- a = Me(t = Ie(t));
- try {
- ke(o._olm_unpickle_inbound_group_session)(this.Mb, n, e.length, a, t.length)
- } finally {
- for (ze(n, e.length), n = 0; n < e.length; n++) e[n] = 0
- }
- })), ve.prototype.create = Ne((function(e) {
- var t = Me(e = Ie(e));
- try {
- ke(o._olm_init_inbound_group_session)(this.Mb, t, e.length)
- } finally {
- for (ze(t, e.length), t = 0; t < e.length; t++) e[t] = 0
- }
- })), ve.prototype.import_session = Ne((function(e) {
- var t = Me(e = Ie(e));
- try {
- ke(o._olm_import_inbound_group_session)(this.Mb, t, e.length)
- } finally {
- for (ze(t, e.length), t = 0; t < e.length; t++) e[t] = 0
- }
- })), ve.prototype.decrypt = Ne((function(e) {
- try {
- var t = De(e.length);
- z(e, t);
- var n = ke(o._olm_group_decrypt_max_plaintext_length)(this.Mb, t, e.length);
- z(e, t);
- var a = De(n + 1),
- r = Me(4),
- i = ke(o._olm_group_decrypt)(this.Mb, t, e.length, a, n, r);
- return A(a + i), {
- plaintext: M(a, i),
- message_index: j(r, "i32")
- }
- } finally {
- void 0 !== t && Te(t), void 0 !== a && (ze(a, i), Te(a))
- }
- })), ve.prototype.session_id = Ne((function() {
- var e = ke(o._olm_inbound_group_session_id_length)(this.Mb),
- t = Me(e + 1);
- return ke(o._olm_inbound_group_session_id)(this.Mb, t, e), M(t, e)
- })), ve.prototype.first_known_index = Ne((function() {
- return ke(o._olm_inbound_group_session_first_known_index)(this.Mb)
- })), ve.prototype.export_session = Ne((function(e) {
- var t = ke(o._olm_export_inbound_group_session_length)(this.Mb),
- n = Me(t + 1);
- return ye(o._olm_export_inbound_group_session)(this.Mb, n, t, e), e = M(n, t), ze(n, t), e
- })), s.InboundGroupSession = ve, _e.prototype.free = function() {
- o._olm_clear_pk_encryption(this.Mb), Te(this.Mb)
- }, _e.prototype.set_recipient_key = Ne((function(e) {
- var t = Me(e = Ie(e));
- we(o._olm_pk_encryption_set_recipient_key)(this.Mb, t, e.length)
- })), _e.prototype.encrypt = Ne((function(e) {
- try {
- var t = N(e),
- n = De(t + 1);
- I(e, F, n, t + 1);
- var a = we(o._olm_pk_encrypt_random_length)(),
- r = Oe(a, u),
- i = we(o._olm_pk_ciphertext_length)(this.Mb, t),
- s = De(i + 1),
- l = we(o._olm_pk_mac_length)(this.Mb),
- c = Me(l + 1);
- A(c + l);
- var d = we(o._olm_pk_key_length)(),
- p = Me(d + 1);
- return A(p + d), we(o._olm_pk_encrypt)(this.Mb, n, t, s, i, c, l, p, d, r, a), A(s + i), {
- ciphertext: M(s, i),
- mac: M(c, l),
- ephemeral: M(p, d)
+ }
+ case AV: {
+ const {
+ answers: n,
+ pollId: a
+ } = t;
+ return {
+ ...e,
+ polls: {
+ ...e.polls,
+ [a]: {
+ ...e.polls[a],
+ changingVote: !1,
+ lastVote: n,
+ showResults: !0
}
- } finally {
- void 0 !== r && ze(r, a), void 0 !== n && (ze(n, t + 1), Te(n)), void 0 !== s && Te(s)
- }
- })), Se.prototype.free = function() {
- o._olm_clear_pk_decryption(this.Mb), Te(this.Mb)
- }, Se.prototype.init_with_private_key = Ne((function(e) {
- var t = Me(e.length);
- o.HEAPU8.set(e, t);
- var n = Ee(o._olm_pk_key_length)(),
- a = Me(n + 1);
- try {
- Ee(o._olm_pk_key_from_private)(this.Mb, a, n, t, e.length)
- } finally {
- ze(t, e.length)
- }
- return M(a, n)
- })), Se.prototype.generate_key = Ne((function() {
- var e = Ee(o._olm_pk_private_key_length)(),
- t = Oe(e, u),
- n = Ee(o._olm_pk_key_length)(),
- a = Me(n + 1);
- try {
- Ee(o._olm_pk_key_from_private)(this.Mb, a, n, t, e)
- } finally {
- ze(t, e)
- }
- return M(a, n)
- })), Se.prototype.get_private_key = Ne((function() {
- var e = we(o._olm_pk_private_key_length)(),
- t = Me(e);
- Ee(o._olm_pk_get_private_key)(this.Mb, t, e);
- var n = new Uint8Array(new Uint8Array(o.HEAPU8.buffer, t, e));
- return ze(t, e), n
- })), Se.prototype.pickle = Ne((function(e) {
- e = Ie(e);
- var t = Ee(o._olm_pickle_pk_decryption_length)(this.Mb),
- n = Me(e),
- a = Me(t + 1);
- try {
- Ee(o._olm_pickle_pk_decryption)(this.Mb, n, e.length, a, t)
- } finally {
- for (ze(n, e.length), n = 0; n < e.length; n++) e[n] = 0
- }
- return M(a, t)
- })), Se.prototype.unpickle = Ne((function(e, t) {
- var n = Me(e = Ie(e)),
- a = Ie(t),
- r = Me(a),
- i = Me((t = Ee(o._olm_pk_key_length)()) + 1);
- try {
- Ee(o._olm_unpickle_pk_decryption)(this.Mb, n, e.length, r, a.length, i, t)
- } finally {
- for (ze(n, e.length), n = 0; n < e.length; n++) e[n] = 0
}
- return M(i, t)
- })), Se.prototype.decrypt = Ne((function(e, t, n) {
- try {
- var a = N(n),
- r = De(a + 1);
- I(n, F, r, a + 1);
- var i = Ie(e),
- s = Me(i),
- l = Ie(t),
- c = Me(l),
- u = Ee(o._olm_pk_max_plaintext_length)(this.Mb, a),
- d = De(u + 1),
- p = Ee(o._olm_pk_decrypt)(this.Mb, s, i.length, c, l.length, r, a, d, u);
- return A(d + p), M(d, p)
- } finally {
- void 0 !== d && (ze(d, p + 1), Te(d)), void 0 !== r && Te(r)
- }
- })), xe.prototype.free = function() {
- o._olm_clear_pk_signing(this.Mb), Te(this.Mb)
- }, xe.prototype.init_with_seed = Ne((function(e) {
- var t = Me(e.length);
- o.HEAPU8.set(e, t);
- var n = Ce(o._olm_pk_signing_public_key_length)(),
- a = Me(n + 1);
- try {
- Ce(o._olm_pk_signing_key_from_seed)(this.Mb, a, n, t, e.length)
- } finally {
- ze(t, e.length)
- }
- return M(a, n)
- })), xe.prototype.generate_seed = Ne((function() {
- var e = Ce(o._olm_pk_signing_seed_length)(),
- t = Oe(e, u),
- n = new Uint8Array(new Uint8Array(o.HEAPU8.buffer, t, e));
- return ze(t, e), n
- })), xe.prototype.sign = Ne((function(e) {
- try {
- var t = N(e),
- n = De(t + 1);
- I(e, F, n, t + 1);
- var a = Ce(o._olm_pk_signature_length)(),
- r = Me(a + 1);
- return Ce(o._olm_pk_sign)(this.Mb, n, t, r, a), M(r, a)
- } finally {
- void 0 !== n && (ze(n, t + 1), Te(n))
- }
- })), Ae.prototype.free = function() {
- o._olm_clear_sas(this.Mb), Te(this.Mb)
- }, Ae.prototype.get_pubkey = Ne((function() {
- var e = je(o._olm_sas_pubkey_length)(this.Mb),
- t = Me(e + 1);
- return je(o._olm_sas_get_pubkey)(this.Mb, t, e), M(t, e)
- })), Ae.prototype.set_their_key = Ne((function(e) {
- var t = Me(e = Ie(e));
- je(o._olm_sas_set_their_key)(this.Mb, t, e.length)
- })), Ae.prototype.is_their_key_set = Ne((function() {
- return !!je(o._olm_sas_is_their_key_set)(this.Mb)
- })), Ae.prototype.generate_bytes = Ne((function(e, t) {
- var n = Me(e = Ie(e)),
- a = Me(t);
- return je(o._olm_sas_generate_bytes)(this.Mb, n, e.length, a, t), new Uint8Array(new Uint8Array(o.HEAPU8.buffer, a, t))
- })), Ae.prototype.calculate_mac = Ne((function(e, t) {
- var n = Me(e = Ie(e)),
- a = Me(t = Ie(t)),
- r = je(o._olm_sas_mac_length)(this.Mb),
- i = Me(r + 1);
- return je(o._olm_sas_calculate_mac)(this.Mb, n, e.length, a, t.length, i, r), M(i, r)
- })), Ae.prototype.calculate_mac_long_kdf = Ne((function(e, t) {
- var n = Me(e = Ie(e)),
- a = Me(t = Ie(t)),
- r = je(o._olm_sas_mac_length)(this.Mb),
- i = Me(r + 1);
- return je(o._olm_sas_calculate_mac_long_kdf)(this.Mb, n, e.length, a, t.length, i, r), M(i, r)
- }));
- var Pe, De = o._malloc,
- Te = o._free;
-
- function Oe(e, t) {
- var n = fe(e);
- return t(new Uint8Array(o.HEAPU8.buffer, n, e)), n
}
-
- function Me(e) {
- return "number" == typeof e ? Oe(e, (function(e) {
- e.fill(0)
- })) : Oe(e.length, (function(t) {
- t.set(e)
- }))
- }
-
- function Ie(e) {
- if (e instanceof Uint8Array) var t = e;
- else e = I(e, t = Array(N(e) + 1), 0, t.length), t.length = e;
- return t
- }
-
- function Ne(e) {
- return function() {
- var t = he();
- try {
- return e.apply(this, arguments)
- } finally {
- me(t)
+ }
+ case TV: {
+ const {
+ pollId: n
+ } = t;
+ return {
+ ...e,
+ polls: {
+ ...e.polls,
+ [n]: {
+ ...e.polls[n],
+ showResults: !1
}
}
}
-
- function ze(e, t) {
- for (; 0 < t--;) o.HEAP8[e++] = 0
+ }
+ case DV:
+ return {
+ ...e, nbUnreadPolls: 0
+ };
+ default:
+ return e
+ }
+ })), et.register("features/reactions", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {
+ visible: !1,
+ buffer: [],
+ timeoutID: null,
+ queue: [],
+ notificationDisplayed: !1
+ },
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case O6:
+ return {
+ ...e, visible: !e.visible
+ };
+ case N6:
+ return {
+ ...e, buffer: t.buffer, timeoutID: t.timeoutID
+ };
+ case R6:
+ return {
+ ...e, buffer: [], timeoutID: null
+ };
+ case L6:
+ return {
+ ...e, queue: t.value
+ };
+ case B6:
+ return {
+ ...e, notificationDisplayed: !0
}
+ }
+ return e
+ }));
+ const Lse = $e("features/recent-list"), Fse = [], qse = "features/recent-list";
- function Re() {
- var e = o._olm_account_size();
- this.Nb = De(e), this.Mb = o._olm_account(this.Nb)
- }
+ function Bse(e, t) {
+ return e.filter((e => e.conference !== t.url || e.date !== t.date))
+ }
- function Le(e) {
- return function() {
- var t = e.apply(this, arguments);
- if (t === Pe) throw t = M(o._olm_account_last_error(arguments[0])), Error("OLM." + t);
- return t
- }
- }
+ function Use(e) {
+ if (e && "object" == typeof e) {
+ if (Array.isArray(e)) return e;
+ const {
+ list: t
+ } = e;
+ if (Array.isArray(t) && t.length) return t.slice()
+ }
+ return Fse
+ }
- function Fe() {
- var e = o._olm_session_size();
- this.Nb = De(e), this.Mb = o._olm_session(this.Nb)
- }
+ function Hse() {
+ const e = l.getItem("recentURLs");
+ if (e) try {
+ return r.parse(e)
+ } catch (e) {
+ Lse.warn("Failed to parse legacy recent-room list!")
+ }
+ return []
+ }
- function qe(e) {
- return function() {
- var t = e.apply(this, arguments);
- if (t === Pe) throw t = M(o._olm_session_last_error(arguments[0])), Error("OLM." + t);
- return t
- }
- }
+ function Vse(e, t) {
+ let {
+ locationURL: n
+ } = t;
+ const a = n.href,
+ r = e.filter((e => !Yse(e.conference, a)));
+ return r.push({
+ conference: a,
+ date: Date.now(),
+ duration: 0
+ }), r.splice(0, r.length - 30), r
+ }
- function Be() {
- var e = o._olm_utility_size();
- this.Nb = De(e), this.Mb = o._olm_utility(this.Nb)
- }
+ function Wse(e, t) {
+ let {
+ locationURL: n
+ } = t;
+ if (n && n.href && e.length) {
+ const t = e.length - 1,
+ a = e[t];
+ if (Yse(a.conference, n.href)) {
+ const n = {
+ ...a,
+ duration: Date.now() - a.date
+ };
+ delete n.conferenceDuration;
+ const r = e.slice();
+ return r[t] = n, r
+ }
+ }
+ return e
+ }
- function Ue(e) {
- return function() {
- var t = e.apply(this, arguments);
- if (t === Pe) throw t = M(o._olm_utility_last_error(arguments[0])), Error("OLM." + t);
- return t
- }
- }
- return Re.prototype.free = function() {
- o._olm_clear_account(this.Mb), Te(this.Mb)
- }, Re.prototype.create = Ne((function() {
- var e = Le(o._olm_create_account_random_length)(this.Mb),
- t = Oe(e, u);
- Le(o._olm_create_account)(this.Mb, t, e)
- })), Re.prototype.identity_keys = Ne((function() {
- var e = Le(o._olm_account_identity_keys_length)(this.Mb),
- t = Me(e + 1);
- return Le(o._olm_account_identity_keys)(this.Mb, t, e), M(t, e)
- })), Re.prototype.sign = Ne((function(e) {
- var t = Le(o._olm_account_signature_length)(this.Mb),
- n = Me(e = Ie(e)),
- a = Me(t + 1);
- try {
- Le(o._olm_account_sign)(this.Mb, n, e.length, a, t)
- } finally {
- for (ze(n, e.length), n = 0; n < e.length; n++) e[n] = 0
- }
- return M(a, t)
- })), Re.prototype.one_time_keys = Ne((function() {
- var e = Le(o._olm_account_one_time_keys_length)(this.Mb),
- t = Me(e + 1);
- return Le(o._olm_account_one_time_keys)(this.Mb, t, e), M(t, e)
- })), Re.prototype.mark_keys_as_published = Ne((function() {
- Le(o._olm_account_mark_keys_as_published)(this.Mb)
- })), Re.prototype.max_number_of_one_time_keys = Ne((function() {
- return Le(o._olm_account_max_number_of_one_time_keys)(this.Mb)
- })), Re.prototype.generate_one_time_keys = Ne((function(e) {
- var t = Le(o._olm_account_generate_one_time_keys_random_length)(this.Mb, e),
- n = Oe(t, u);
- Le(o._olm_account_generate_one_time_keys)(this.Mb, e, n, t)
- })), Re.prototype.remove_one_time_keys = Ne((function(e) {
- Le(o._olm_remove_one_time_keys)(this.Mb, e.Mb)
- })), Re.prototype.generate_fallback_key = Ne((function() {
- var e = Le(o._olm_account_generate_fallback_key_random_length)(this.Mb),
- t = Oe(e, u);
- Le(o._olm_account_generate_fallback_key)(this.Mb, t, e)
- })), Re.prototype.fallback_key = Ne((function() {
- var e = Le(o._olm_account_fallback_key_length)(this.Mb),
- t = Me(e + 1);
- return Le(o._olm_account_fallback_key)(this.Mb, t, e), M(t, e)
- })), Re.prototype.pickle = Ne((function(e) {
- e = Ie(e);
- var t = Le(o._olm_pickle_account_length)(this.Mb),
- n = Me(e),
- a = Me(t + 1);
- try {
- Le(o._olm_pickle_account)(this.Mb, n, e.length, a, t)
- } finally {
- for (ze(n, e.length), n = 0; n < e.length; n++) e[n] = 0
- }
- return M(a, t)
- })), Re.prototype.unpickle = Ne((function(e, t) {
- var n = Me(e = Ie(e)),
- a = Me(t = Ie(t));
- try {
- Le(o._olm_unpickle_account)(this.Mb, n, e.length, a, t.length)
- } finally {
- for (ze(n, e.length), n = 0; n < e.length; n++) e[n] = 0
- }
- })), Fe.prototype.free = function() {
- o._olm_clear_session(this.Mb), Te(this.Mb)
- }, Fe.prototype.pickle = Ne((function(e) {
- e = Ie(e);
- var t = qe(o._olm_pickle_session_length)(this.Mb),
- n = Me(e),
- a = Me(t + 1);
- try {
- qe(o._olm_pickle_session)(this.Mb, n, e.length, a, t)
- } finally {
- for (ze(n, e.length), n = 0; n < e.length; n++) e[n] = 0
- }
- return M(a, t)
- })), Fe.prototype.unpickle = Ne((function(e, t) {
- var n = Me(e = Ie(e)),
- a = Me(t = Ie(t));
- try {
- qe(o._olm_unpickle_session)(this.Mb, n, e.length, a, t.length)
- } finally {
- for (ze(n, e.length), n = 0; n < e.length; n++) e[n] = 0
- }
- })), Fe.prototype.create_outbound = Ne((function(e, t, n) {
- var a = qe(o._olm_create_outbound_session_random_length)(this.Mb),
- r = Oe(a, u);
- t = Ie(t), n = Ie(n);
- var i = Me(t),
- s = Me(n);
- try {
- qe(o._olm_create_outbound_session)(this.Mb, e.Mb, i, t.length, s, n.length, r, a)
- } finally {
- ze(r, a)
- }
- })), Fe.prototype.create_inbound = Ne((function(e, t) {
- var n = Me(t = Ie(t));
- try {
- qe(o._olm_create_inbound_session)(this.Mb, e.Mb, n, t.length)
- } finally {
- for (ze(n, t.length), e = 0; e < t.length; e++) t[e] = 0
- }
- })), Fe.prototype.create_inbound_from = Ne((function(e, t, n) {
- var a = Me(t = Ie(t)),
- r = Me(n = Ie(n));
- try {
- qe(o._olm_create_inbound_session_from)(this.Mb, e.Mb, a, t.length, r, n.length)
- } finally {
- for (ze(r, n.length), e = 0; e < n.length; e++) n[e] = 0
- }
- })), Fe.prototype.session_id = Ne((function() {
- var e = qe(o._olm_session_id_length)(this.Mb),
- t = Me(e + 1);
- return qe(o._olm_session_id)(this.Mb, t, e), M(t, e)
- })), Fe.prototype.has_received_message = function() {
- return !!qe(o._olm_session_has_received_message)(this.Mb)
- }, Fe.prototype.matches_inbound = Ne((function(e) {
- var t = Me(e = Ie(e));
- return !!qe(o._olm_matches_inbound_session)(this.Mb, t, e.length)
- })), Fe.prototype.matches_inbound_from = Ne((function(e, t) {
- var n = Me(e = Ie(e)),
- a = Me(t = Ie(t));
- return !!qe(o._olm_matches_inbound_session_from)(this.Mb, n, e.length, a, t.length)
- })), Fe.prototype.encrypt = Ne((function(e) {
- try {
- var t = qe(o._olm_encrypt_random_length)(this.Mb),
- n = qe(o._olm_encrypt_message_type)(this.Mb),
- a = N(e),
- r = qe(o._olm_encrypt_message_length)(this.Mb, a),
- i = Oe(t, u),
- s = De(a + 1);
- I(e, F, s, a + 1);
- var l = De(r + 1);
- return qe(o._olm_encrypt)(this.Mb, s, a, i, t, l, r), A(l + r), {
- type: n,
- body: M(l, r)
- }
- } finally {
- void 0 !== i && ze(i, t), void 0 !== s && (ze(s, a + 1), Te(s)), void 0 !== l && Te(l)
- }
- })), Fe.prototype.decrypt = Ne((function(e, t) {
- try {
- var n = De(t.length);
- z(t, n);
- var a = qe(o._olm_decrypt_max_plaintext_length)(this.Mb, e, n, t.length);
- z(t, n);
- var r = De(a + 1),
- i = qe(o._olm_decrypt)(this.Mb, e, n, t.length, r, a);
- return A(r + i), M(r, i)
- } finally {
- void 0 !== n && Te(n), void 0 !== r && (ze(r, a), Te(r))
- }
- })), Fe.prototype.describe = Ne((function() {
- try {
- var e = De(256);
- return qe(o._olm_session_describe)(this.Mb, e, 256), M(e)
- } finally {
- void 0 !== e && Te(e)
- }
- })), Be.prototype.free = function() {
- o._olm_clear_utility(this.Mb), Te(this.Mb)
- }, Be.prototype.sha256 = Ne((function(e) {
- var t = Ue(o._olm_sha256_length)(this.Mb),
- n = Me(e = Ie(e)),
- a = Me(t + 1);
- try {
- Ue(o._olm_sha256)(this.Mb, n, e.length, a, t)
- } finally {
- for (ze(n, e.length), n = 0; n < e.length; n++) e[n] = 0
- }
- return M(a, t)
- })), Be.prototype.ed25519_verify = Ne((function(e, t, n) {
- var a = Me(e = Ie(e)),
- r = Me(t = Ie(t)),
- i = Me(n = Ie(n));
- try {
- Ue(o._olm_ed25519_verify)(this.Mb, a, e.length, r, t.length, i, n.length)
- } finally {
- for (ze(r, t.length), e = 0; e < t.length; e++) t[e] = 0
- }
- })), s.Account = Re, s.Session = Fe, s.Utility = Be, s.PkEncryption = _e, s.PkDecryption = Se, s.PkSigning = xe, s.SAS = Ae, s.get_library_version = Ne((function() {
- var e = Me(3);
- return o._olm_get_library_version(e, e + 1, e + 2), [j(e, "i8"), j(e + 1, "i8"), j(e + 2, "i8")]
- })), t.ready
- }, e.exports = l, s.init = function(e) {
- return o || (e && (OLM_OPTIONS = e), o = new Promise((function(e, t) {
- a = function() {
- e()
- }, r = function(e) {
- t(e)
- }, l()
- })))
- }, s);
- "undefined" != typeof window && (window.Olm = u), e.exports = u
- }, 9783: (e, t) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0
- });
- var n = function() {
- function e() {}
- return e.serializeContent = function(e) {
- var t = e.constructor.name;
- if ("Buffer" === t || "Blob" === t || "File" === t || "FormData" === t || "string" == typeof e) return e;
- if ("ArrayBuffer" === t) e = Buffer.from(e);
- else if ("Int8Array" === t || "Int16Array" === t || "Int32Array" === t || "Uint8Array" === t || "Uint16Array" === t || "Uint32Array" === t || "Uint8ClampedArray" === t || "Float32Array" === t || "Float64Array" === t || "DataView" === t) e = Buffer.from(e.buffer);
- else try {
- e = JSON.stringify(e)
- } catch (e) {
- throw console.log(e), new Error("Invalid JSON content")
- }
+ function Yse(e, t) {
+ return FF(new URL(e)) === FF(new URL(t))
+ }
+ Xe.register(qse), et.register(qse, (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : Hse(),
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ if (_re()) switch (t.type) {
+ case Va:
+ return Use(e);
+ case yre:
+ return Bse(e, t.entryId);
+ case vre:
+ return Vse(e, t);
+ case kre:
+ return Wse(e, t);
+ default:
return e
- }, e
- }();
- t.GraphHelper = n
- }, 9324: (e, t, n) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0
- });
- var a = n(4305);
- n(5430);
- var r = n(3114),
- i = n(5220),
- o = n(1558),
- s = n(9783),
- l = function() {
- function e(e, t) {
- this.config = e, this._headers = {}, this.urlComponents = {
- host: this.config.baseUrl,
- version: this.config.defaultVersion,
- oDataQueryParams: {},
- otherURLQueryParams: {}
- }, this.parsePath(t)
- }
- return e.prototype.header = function(e, t) {
- return this._headers[e] = t, this
- }, e.prototype.headers = function(e) {
- for (var t in e) this._headers[t] = e[t];
- return this
- }, e.prototype.parsePath = function(e) {
- if (-1 != e.indexOf("https://")) {
- var t = (e = e.replace("https://", "")).indexOf("/");
- this.urlComponents.host = "https://" + e.substring(0, t);
- var n = (e = e.substring(t + 1, e.length)).indexOf("/");
- this.urlComponents.version = e.substring(0, n), e = e.substring(n + 1, e.length)
- }
- "/" == e.charAt(0) && (e = e.substr(1));
- var a = e.indexOf("?");
- if (-1 == a) this.urlComponents.path = e;
- else {
- this.urlComponents.path = e.substr(0, a);
- for (var i = 0, o = e.substring(a + 1, e.length).split("&"); i < o.length; i++) {
- var s = o[i].split("="),
- l = s[0],
- c = s[1];
- r.oDataQueryNames.indexOf(l) ? this.urlComponents.oDataQueryParams[l] = c : this.urlComponents.otherURLQueryParams[l] = c
- }
- }
- }, e.prototype.urlJoin = function(e) {
- var t = function(e) {
- return e.replace(/^\/+/, "")
- };
- return Array.prototype.slice.call(e).reduce((function(e, n) {
- return [(a = e, a.replace(/\/+$/, "")), t(n)].join("/");
- var a
- }))
- }, e.prototype.buildFullUrl = function() {
- var e = this.urlJoin([this.urlComponents.host, this.urlComponents.version, this.urlComponents.path]) + this.createQueryString();
- return this.config.debugLogging && console.log(e), e
- }, e.prototype.version = function(e) {
- return this.urlComponents.version = e, this
- }, e.prototype.select = function(e) {
- return this.addCsvQueryParamater("$select", e, arguments), this
- }, e.prototype.expand = function(e) {
- return this.addCsvQueryParamater("$expand", e, arguments), this
- }, e.prototype.orderby = function(e) {
- return this.addCsvQueryParamater("$orderby", e, arguments), this
- }, e.prototype.filter = function(e) {
- return this.urlComponents.oDataQueryParams.$filter = e, this
- }, e.prototype.top = function(e) {
- return this.urlComponents.oDataQueryParams.$top = e, this
- }, e.prototype.skip = function(e) {
- return this.urlComponents.oDataQueryParams.$skip = e, this
- }, e.prototype.skipToken = function(e) {
- return this.urlComponents.oDataQueryParams.$skipToken = e, this
- }, e.prototype.count = function(e) {
- return this.urlComponents.oDataQueryParams.$count = e.toString(), this
- }, e.prototype.responseType = function(e) {
- return this._responseType = e, this
- }, e.prototype.addCsvQueryParamater = function(e, t, n) {
- this.urlComponents.oDataQueryParams[e] = this.urlComponents.oDataQueryParams[e] ? this.urlComponents.oDataQueryParams[e] + "," : "";
- var a = [];
- "string" == typeof t ? a.push(t) : a = a.concat(t), n.length > 1 && "string" == typeof t && (a = Array.prototype.slice.call(n)), this.urlComponents.oDataQueryParams[e] += a.join(",")
- }, e.prototype.delete = function(e) {
- var t = this.buildFullUrl();
- return this.sendRequestAndRouteResponse(new Request(t, {
- method: o.RequestMethod.DELETE,
- headers: new Headers
- }), e)
- }, e.prototype.patch = function(e, t) {
- var n = this.buildFullUrl();
- return this.sendRequestAndRouteResponse(new Request(n, {
- method: o.RequestMethod.PATCH,
- body: s.GraphHelper.serializeContent(e),
- headers: new Headers({
- "Content-Type": "application/json"
- })
- }), t)
- }, e.prototype.post = function(e, t) {
- var n = this.buildFullUrl();
- return this.sendRequestAndRouteResponse(new Request(n, {
- method: o.RequestMethod.POST,
- body: s.GraphHelper.serializeContent(e),
- headers: new Headers(void 0 !== e.constructor && "FormData" === e.constructor.name ? {} : {
- "Content-Type": "application/json"
- })
- }), t)
- }, e.prototype.put = function(e, t) {
- var n = this.buildFullUrl();
- return this.sendRequestAndRouteResponse(new Request(n, {
- method: o.RequestMethod.PUT,
- body: s.GraphHelper.serializeContent(e),
- headers: new Headers({
- "Content-Type": "application/octet-stream"
- })
- }), t)
- }, e.prototype.create = function(e, t) {
- return this.post(e, t)
- }, e.prototype.update = function(e, t) {
- return this.patch(e, t)
- }, e.prototype.del = function(e) {
- return this.delete(e)
- }, e.prototype.get = function(e) {
- var t = this.buildFullUrl();
- return this.sendRequestAndRouteResponse(new Request(t, {
- method: o.RequestMethod.GET,
- headers: new Headers
- }), e)
- }, e.prototype.routeResponseToPromise = function(e) {
- var t = this;
- return new a.Promise((function(n, a) {
- t.routeResponseToCallback(e, (function(e, t) {
- null != e ? a(e) : n(t)
- }))
- }))
- }, e.prototype.handleFetch = function(e, t, n) {
- var a = this;
- ("Request" === e.constructor.name ? fetch(e) : fetch(e, n)).then((function(e) {
- a.convertResponseType(e).then((function(n) {
- i.ResponseHandler.init(e, void 0, n, t)
- })).catch((function(n) {
- i.ResponseHandler.init(e, n, void 0, t)
- }))
- })).catch((function(e) {
- i.ResponseHandler.init(void 0, e, void 0, t)
- }))
- }, e.prototype.routeResponseToCallback = function(e, t) {
- var n = this;
- n.config.authProvider((function(a, r) {
- null == a && null != r ? (e = n.configureRequest(e, r), n.handleFetch(e, t)) : t(a, null, null)
- }))
- }, e.prototype.sendRequestAndRouteResponse = function(e, t) {
- if (null == t && void 0 !== a.Promise) return this.routeResponseToPromise(e);
- this.routeResponseToCallback(e, t || function() {})
- }, e.prototype.getStream = function(e) {
- var t = this;
- t.config.authProvider((function(n, a) {
- if (null === n && null !== a) {
- var r = t.buildFullUrl(),
- i = {
- method: o.RequestMethod.GET,
- headers: t.getDefaultRequestHeaders(a)
- };
- t.responseType("stream"), Object.keys(t._headers).forEach((function(e) {
- return i.headers[e] = t._headers[e]
- })), t.handleFetch(r, e, i)
- } else e(n, null)
- }))
- }, e.prototype.putStream = function(e, t) {
- var n = this;
- n.config.authProvider((function(a, r) {
- if (null === a && null !== r) {
- var i = n.buildFullUrl(),
- s = {
- method: o.RequestMethod.PUT,
- headers: {
- "Content-Type": "application/octet-stream"
- },
- body: e
- },
- l = n.getDefaultRequestHeaders(r);
- Object.keys(l).forEach((function(e) {
- return s.headers[e] = l[e]
- })), Object.keys(n._headers).forEach((function(e) {
- return s.headers[e] = n._headers[e]
- })), n.handleFetch(i, t, s)
- }
- }))
- }, e.prototype.getDefaultRequestHeaders = function(e) {
- return {
- Authorization: "Bearer " + e,
- SdkVersion: "graph-js-" + r.PACKAGE_VERSION
- }
- }, e.prototype.configureRequest = function(e, t) {
- var n = this,
- a = n.getDefaultRequestHeaders(t);
- return Object.keys(a).forEach((function(t) {
- return e.headers.set(t, a[t])
- })), Object.keys(n._headers).forEach((function(t) {
- return e.headers.set(t, n._headers[t])
- })), e
- }, e.prototype.query = function(e) {
- if ("string" == typeof e) {
- var t = e,
- n = t.split("=")[0],
- a = t.split("=")[1];
- this.urlComponents.otherURLQueryParams[n] = a
- } else
- for (var r in e) this.urlComponents.otherURLQueryParams[r] = e[r];
- return this
- }, e.prototype.createQueryString = function() {
- var e = [];
- if (0 != Object.keys(this.urlComponents.oDataQueryParams).length)
- for (var t in this.urlComponents.oDataQueryParams) e.push(t + "=" + this.urlComponents.oDataQueryParams[t]);
- if (0 != Object.keys(this.urlComponents.otherURLQueryParams).length)
- for (var t in this.urlComponents.otherURLQueryParams) e.push(t + "=" + this.urlComponents.otherURLQueryParams[t]);
- return e.length > 0 ? "?" + e.join("&") : ""
- }, e.prototype.convertResponseType = function(e) {
- var t;
- switch (this._responseType || (this._responseType = ""), this._responseType.toLowerCase()) {
- case "arraybuffer":
- t = e.arrayBuffer();
- break;
- case "blob":
- t = e.blob();
- break;
- default:
- t = e.json();
- break;
- case "text":
- t = e.text();
- break;
- case "stream":
- t = a.Promise.resolve(e.body)
- }
- return t
- }, e
- }();
- t.GraphRequest = l
- }, 1558: (e, t) => {
- "use strict";
- var n;
- Object.defineProperty(t, "__esModule", {
- value: !0
- }), (n = t.RequestMethod || (t.RequestMethod = {})).GET = "GET", n.PATCH = "PATCH", n.POST = "POST", n.PUT = "PUT", n.DELETE = "DELETE"
- }, 5220: (e, t) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0
- });
- var n = function() {
- function e() {}
- return e.init = function(t, n, a, r) {
- t && t.ok ? r(null, a, t) : null == n && null != t ? null != a && null != a.error ? r(e.buildGraphErrorFromResponseObject(a.error, t.status), null, t) : r(e.defaultGraphError(t.status), null, t) : r(e.ParseError(n), null, t)
- }, e.ParseError = function(t) {
- return t ? e.buildGraphErrorFromErrorObject(t) : e.defaultGraphError(-1)
- }, e.defaultGraphError = function(e) {
+ }
+ return e
+ }));
+ const Gse = {
+ pendingNotificationUids: {},
+ selectedRecordingService: "",
+ sessionDatas: []
+ };
+
+ function Kse(e, t) {
+ let n;
+ return n = e.find((e => e.id === t.id)) ? e.map((e => e.id === t.id ? {
+ ...t
+ } : e)) : [...e, {
+ ...t
+ }], n
+ }
+ et.register("features/recording", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : Gse,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case VK:
return {
- statusCode: e,
- code: null,
- message: null,
- requestId: null,
- date: new Date,
- body: null
- }
- }, e.buildGraphErrorFromErrorObject = function(t) {
- var n = e.defaultGraphError(-1);
- return n.body = t.toString(), n.message = t.message, n.date = new Date, n
- }, e.buildGraphErrorFromResponseObject = function(e, t) {
+ ...e, sessionDatas: []
+ };
+ case WK:
return {
- statusCode: t,
- code: e.code,
- message: e.message,
- requestId: e.innerError["request-id"],
- date: new Date(e.innerError.date),
- body: e
+ ...e, sessionDatas: Kse(e.sessionDatas, t.sessionData)
+ };
+ case YK: {
+ const n = {
+ ...e.pendingNotificationUids
+ };
+ return n[t.streamType] = t.uid, {
+ ...e,
+ pendingNotificationUids: n
}
- }, e
- }();
- t.ResponseHandler = n
- }, 3114: (e, t) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0
- }), t.oDataQueryNames = ["select", "expand", "orderby", "filter", "top", "skip", "skipToken", "count"], t.DEFAULT_VERSION = "v1.0", t.GRAPH_BASE_URL = "https://graph.microsoft.com/", t.PACKAGE_VERSION = "1.0.0", t.oDataQueryNames = t.oDataQueryNames.concat(t.oDataQueryNames.map((function(e) {
- return "$" + e
- })))
- }, 387: (e, t, n) => {
- "use strict";
-
- function a(e) {
- for (var n in e) t.hasOwnProperty(n) || (t[n] = e[n])
+ }
+ case GK:
+ return {
+ ...e, selectedRecordingService: t.selectedRecordingService
+ };
+ case KK:
+ return {
+ ...e, streamKey: t.streamKey
+ };
+ default:
+ return e
}
- Object.defineProperty(t, "__esModule", {
- value: !0
- });
- var r = n(3114),
- i = n(9324),
- o = function() {
- function e() {
- this.config = {
- debugLogging: !1,
- defaultVersion: r.DEFAULT_VERSION,
- baseUrl: r.GRAPH_BASE_URL
- }
+ })), et.register("features/settings", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case TY:
+ return {
+ ...e, audioSettingsVisible: t.value
+ };
+ case DY:
+ return {
+ ...e, videoSettingsVisible: t.value
}
- return e.init = function(t) {
- var n = new e;
- for (var a in t) n.config[a] = t[a];
- return n
- }, e.prototype.api = function(e) {
- return new i.GraphRequest(this.config, e)
- }, e
- }();
- t.Client = o, a(n(9324)), a(n(3114)), a(n(5220))
- }, 4976: function(e, t, n) {
- var a = n(554);
- e.exports = function() {
- "use strict";
+ }
+ return e
+ }));
+ const $se = {
+ stats: {},
+ isOpen: !1,
+ pendingReorder: !0,
+ criteria: null
+ };
- function e(t) {
- return e = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
- return typeof e
- } : function(e) {
- return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
- }, e(t)
- }
+ function Jse() {
+ return $se
+ }
- function t(e, t) {
- for (var n = 0; n < t.length; n++) {
- var a = t[n];
- a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a)
- }
- }
+ function Zse(e, t) {
+ let {
+ criteria: n
+ } = t;
+ return _().assign({}, e, {
+ criteria: n
+ })
+ }
- function r(e, t, n) {
- return t in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e
- }
+ function Qse(e, t) {
+ let {
+ stats: n
+ } = t;
+ const a = e.pendingReorder ? n : e.stats;
+ if (!e.pendingReorder) {
+ const e = Object.keys(n);
+ e.forEach((e => {
+ a[e] = _().clone(n[e])
+ })), Object.keys(a).forEach((t => {
+ e.includes(t) || delete a[t]
+ }))
+ }
+ return _().assign({}, e, {
+ stats: {
+ ...a
+ },
+ pendingReorder: !1
+ })
+ }
- function i(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? arguments[t] : {},
- a = Object.keys(n);
- "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
- return Object.getOwnPropertyDescriptor(n, e).enumerable
- })))), a.forEach((function(t) {
- r(e, t, n[t])
- }))
- }
- return e
- }
- var o, s, l, c;
+ function Xse(e) {
+ return _().assign({}, e, {
+ pendingReorder: !0
+ })
+ }
+ et.register("features/speaker-stats", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : Jse(),
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case AQ:
+ return Zse(e, t);
+ case DQ:
+ return Qse(e, t);
+ case PQ:
+ return Xse(e)
+ }
+ return e
+ }));
+ const ele = {
+ _transcriptMessages: new Map,
+ _requestingSubtitles: !1
+ };
- function u() {
- return "object" == typeof window && void 0 !== (null === window || void 0 === window ? void 0 : window.document)
- }(function(e) {
- e.IDENTIFY = "$identify"
- })(o || (o = {})),
- function(e) {
- e.SET = "$set", e.SET_ONCE = "$setOnce", e.ADD = "$add", e.APPEND = "$append", e.PREPEND = "$prepend", e.REMOVE = "$remove", e.PREINSERT = "$preinsert", e.POSTINSERT = "$postinsert", e.UNSET = "$unset", e.CLEAR_ALL = "$clearAll"
- }(s || (s = {})),
- function(e) {
- e[e.None = 0] = "None", e[e.Error = 1] = "Error", e[e.Warn = 2] = "Warn", e[e.Verbose = 3] = "Verbose"
- }(l || (l = {})),
- function(e) {
- e.Unknown = "unknown", e.Skipped = "skipped", e.Success = "success", e.RateLimit = "rate_limit", e.PayloadTooLarge = "payload_too_large", e.Invalid = "invalid", e.Failed = "failed"
- }(c || (c = {})),
- function(e) {
- e.fromHttpCode = function(t) {
- return t >= 200 && t < 300 ? e.Success : 429 === t ? e.RateLimit : 413 === t ? e.PayloadTooLarge : t >= 400 && t < 500 ? e.Invalid : t >= 500 ? e.Failed : e.Unknown
- }
- }(c || (c = {})), c.Skipped;
- var d, p = {},
- h = ((d = function() {
- return "object" == typeof a && void 0 !== (null === (e = null == a ? void 0 : a.versions) || void 0 === e ? void 0 : e.node) ? n.g : "undefined" != typeof window ? window : "undefined" != typeof self ? self : p;
- var e
- }()).__AMPLITUDE__ = d.__AMPLITUDE__ || {}, d.__AMPLITUDE__),
- m = "Amplitude Logger ",
- f = function() {
- function e() {
- this._logLevel = 0
- }
- return e.prototype.disable = function() {
- this._logLevel = 0
- }, e.prototype.enable = function(e) {
- void 0 === e && (e = l.Warn), this._logLevel = e
- }, e.prototype.log = function() {
- for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
- this._logLevel < l.Verbose || n.g.console.log(m + "[Log]: " + e.join(" "))
- }, e.prototype.warn = function() {
- for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
- this._logLevel < l.Warn || n.g.console.warn(m + "[Warn]: " + e.join(" "))
- }, e.prototype.error = function() {
- for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
- this._logLevel < l.Error || n.g.console.error(m + "[Error]: " + e.join(" "))
- }, e
- }(),
- g = (h.logger || (h.logger = new f), {
- DEFAULT_INSTANCE: "$default_instance",
- API_VERSION: 2,
- MAX_STRING_LENGTH: 4096,
- MAX_PROPERTY_KEYS: 1e3,
- IDENTIFY_EVENT: "$identify",
- GROUP_IDENTIFY_EVENT: "$groupidentify",
- LAST_EVENT_ID: "amplitude_lastEventId",
- LAST_EVENT_TIME: "amplitude_lastEventTime",
- LAST_IDENTIFY_ID: "amplitude_lastIdentifyId",
- LAST_SEQUENCE_NUMBER: "amplitude_lastSequenceNumber",
- SESSION_ID: "amplitude_sessionId",
- DEVICE_ID: "amplitude_deviceId",
- OPT_OUT: "amplitude_optOut",
- USER_ID: "amplitude_userId",
- COOKIE_TEST_PREFIX: "amp_cookie_test",
- COOKIE_PREFIX: "amp",
- STORAGE_DEFAULT: "",
- STORAGE_COOKIES: "cookies",
- STORAGE_NONE: "none",
- STORAGE_LOCAL: "localStorage",
- STORAGE_SESSION: "sessionStorage",
- REVENUE_EVENT: "revenue_amount",
- REVENUE_PRODUCT_ID: "$productId",
- REVENUE_QUANTITY: "$quantity",
- REVENUE_PRICE: "$price",
- REVENUE_REVENUE_TYPE: "$revenueType",
- AMP_DEVICE_ID_PARAM: "amp_device_id",
- REFERRER: "referrer",
- UTM_SOURCE: "utm_source",
- UTM_MEDIUM: "utm_medium",
- UTM_CAMPAIGN: "utm_campaign",
- UTM_TERM: "utm_term",
- UTM_CONTENT: "utm_content",
- ATTRIBUTION_EVENT: "[Amplitude] Attribution Captured"
- }),
- b = function(e) {
- for (var t = "", n = 0; n < e.length; n++) {
- var a = e.charCodeAt(n);
- a < 128 ? t += String.fromCharCode(a) : a > 127 && a < 2048 ? (t += String.fromCharCode(a >> 6 | 192), t += String.fromCharCode(63 & a | 128)) : (t += String.fromCharCode(a >> 12 | 224), t += String.fromCharCode(a >> 6 & 63 | 128), t += String.fromCharCode(63 & a | 128))
- }
- return t
- },
- y = function(e) {
- for (var t = "", n = 0, a = 0, r = 0, i = 0; n < e.length;)(a = e.charCodeAt(n)) < 128 ? (t += String.fromCharCode(a), n++) : a > 191 && a < 224 ? (r = e.charCodeAt(n + 1), t += String.fromCharCode((31 & a) << 6 | 63 & r), n += 2) : (r = e.charCodeAt(n + 1), i = e.charCodeAt(n + 2), t += String.fromCharCode((15 & a) << 12 | (63 & r) << 6 | 63 & i), n += 3);
- return t
- },
- v = {
- _keyStr: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
- encode: function(e) {
- try {
- if (window.btoa && window.atob) return window.btoa(unescape(encodeURIComponent(e)))
- } catch (e) {}
- return v._encode(e)
- },
- _encode: function(e) {
- var t, n, a, r, i, o, s, l = "",
- c = 0;
- for (e = b(e); c < e.length;) r = (t = e.charCodeAt(c++)) >> 2, i = (3 & t) << 4 | (n = e.charCodeAt(c++)) >> 4, o = (15 & n) << 2 | (a = e.charCodeAt(c++)) >> 6, s = 63 & a, isNaN(n) ? o = s = 64 : isNaN(a) && (s = 64), l = l + v._keyStr.charAt(r) + v._keyStr.charAt(i) + v._keyStr.charAt(o) + v._keyStr.charAt(s);
- return l
- },
- decode: function(e) {
- try {
- if (window.btoa && window.atob) return decodeURIComponent(escape(window.atob(e)))
- } catch (e) {}
- return v._decode(e)
- },
- _decode: function(e) {
- var t, n, a, r, i, o, s = "",
- l = 0;
- for (e = e.replace(/[^A-Za-z0-9+/=]/g, ""); l < e.length;) t = v._keyStr.indexOf(e.charAt(l++)) << 2 | (r = v._keyStr.indexOf(e.charAt(l++))) >> 4, n = (15 & r) << 4 | (i = v._keyStr.indexOf(e.charAt(l++))) >> 2, a = (3 & i) << 6 | (o = v._keyStr.indexOf(e.charAt(l++))), s += String.fromCharCode(t), 64 !== i && (s += String.fromCharCode(n)), 64 !== o && (s += String.fromCharCode(a));
- return y(s)
- }
- },
- k = Object.prototype.toString;
-
- function _(t) {
- switch (k.call(t)) {
- case "[object Date]":
- return "date";
- case "[object RegExp]":
- return "regexp";
- case "[object Arguments]":
- return "arguments";
- case "[object Array]":
- return "array";
- case "[object Error]":
- return "error"
- }
- return null === t ? "null" : void 0 === t ? "undefined" : t != t ? "nan" : t && 1 === t.nodeType ? "element" : "undefined" != typeof Buffer && "function" == typeof Buffer.isBuffer && Buffer.isBuffer(t) ? "buffer" : e(t = t.valueOf ? t.valueOf() : Object.prototype.valueOf.apply(t))
- }
- var w, S = {
- DISABLE: 0,
- ERROR: 1,
- WARN: 2,
- INFO: 3
- },
- E = S.WARN,
- x = {
- error: function(e) {
- E >= S.ERROR && C(e)
- },
- warn: function(e) {
- E >= S.WARN && C(e)
- },
- info: function(e) {
- E >= S.INFO && C(e)
- }
- },
- C = function(e) {
- try {
- console.log("[Amplitude] " + e)
- } catch (e) {}
- },
- A = function(e) {
- return "string" === _(e) && e.length > g.MAX_STRING_LENGTH ? e.substring(0, g.MAX_STRING_LENGTH) : e
- },
- j = function(e) {
- var t = _(e);
- if ("object" !== t) return x.error("Error: invalid properties format. Expecting Javascript object, received " + t + ", ignoring"), {};
- if (Object.keys(e).length > g.MAX_PROPERTY_KEYS) return x.error("Error: too many properties (more than 1000), ignoring"), {};
- var n = {};
- for (var a in e)
- if (Object.prototype.hasOwnProperty.call(e, a)) {
- var r = a,
- i = _(r);
- "string" !== i && (r = String(r), x.warn("WARNING: Non-string property key, received type " + i + ', coercing to string "' + r + '"'));
- var o = D(r, e[a]);
- null !== o && (n[r] = o)
- } return n
- },
- P = ["nan", "function", "arguments", "regexp", "element"],
- D = function e(t, n) {
- var a = _(n);
- if (-1 !== P.indexOf(a)) x.warn('WARNING: Property key "' + t + '" with invalid value type ' + a + ", ignoring"), n = null;
- else if ("undefined" === a) n = null;
- else if ("error" === a) n = String(n), x.warn('WARNING: Property key "' + t + '" with value type error, coercing to ' + n);
- else if ("array" === a) {
- for (var r = [], i = 0; i < n.length; i++) {
- var o = n[i],
- s = _(o);
- "array" !== s ? "object" === s ? r.push(j(o)) : r.push(e(t, o)) : x.warn("WARNING: Cannot have " + s + " nested in an array property value, skipping")
- }
- n = r
- } else "object" === a && (n = j(n));
- return n
- },
- T = function(e, t) {
- var n = _(t);
- if ("string" === n) return t;
- if ("date" === n || "number" === n || "boolean" === n) return t = String(t), x.warn("WARNING: Non-string groupName, received type " + n + ', coercing to string "' + t + '"'), t;
- if ("array" === n) {
- for (var a = [], r = 0; r < t.length; r++) {
- var i = t[r],
- o = _(i);
- "array" !== o && "object" !== o ? "string" === o ? a.push(i) : "date" !== o && "number" !== o && "boolean" !== o || (i = String(i), x.warn("WARNING: Non-string groupName, received type " + o + ', coercing to string "' + i + '"'), a.push(i)) : x.warn("WARNING: Skipping nested " + o + " in array groupName")
- }
- return a
- }
- x.warn("WARNING: Non-string groupName, received type " + n + ". Please use strings or array of strings for groupName")
- },
- O = function(e) {
- Object.prototype.hasOwnProperty.call(S, e) && (E = S[e])
- },
- M = x,
- I = function(e) {
- return !e || 0 === e.length
- },
- N = function(e, t) {
- e = e.replace(/[[]/, "\\[").replace(/[\]]/, "\\]");
- var n = new RegExp("[\\?&]" + e + "=([^]*)").exec(t);
- return null === n ? void 0 : decodeURIComponent(n[1].replace(/\+/g, " "))
- },
- z = function e(t) {
- if ("array" === _(t))
- for (var n = 0; n < t.length; n++) t[n] = e(t[n]);
- else if ("object" === _(t))
- for (var a in t) a in t && (t[a] = e(t[a]));
- else t = A(t);
- return t
- },
- R = function(e) {
- var t = _(e);
- if ("object" !== t) return x.error("Error: invalid groups format. Expecting Javascript object, received " + t + ", ignoring"), {};
- var n = {};
- for (var a in e)
- if (Object.prototype.hasOwnProperty.call(e, a)) {
- var r = a,
- i = _(r);
- "string" !== i && (r = String(r), x.warn("WARNING: Non-string groupType, received type " + i + ', coercing to string "' + r + '"'));
- var o = T(r, e[a]);
- null !== o && (n[r] = o)
- } return n
- },
- L = function(e, t, n) {
- return _(e) === n || (x.error("Invalid " + t + " input type. Expected " + n + " but received " + _(e)), !1)
- },
- F = j,
- q = function() {
- return window.location
- },
- B = function() {
- for (var e = "", t = 0; t < 22; ++t) e += "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charAt(Math.floor(64 * Math.random()));
- return e
- },
- U = function(e) {
- try {
- for (var t = document.cookie.split(";"), n = null, a = 0; a < t.length; a++) {
- for (var r = t[a];
- " " === r.charAt(0);) r = r.substring(1, r.length);
- if (0 === r.indexOf(e)) {
- n = r.substring(e.length, r.length);
- break
- }
- }
- return n
- } catch (e) {
- return null
- }
- },
- H = function(e, t, n) {
- var a = null !== t ? n.expirationDays : -1;
- if (a) {
- var r = new Date;
- r.setTime(r.getTime() + 24 * a * 60 * 60 * 1e3), a = r
- }
- var i = e + "=" + t;
- a && (i += "; expires=" + a.toUTCString()), i += "; path=/", n.domain && (i += "; domain=" + n.domain), n.secure && (i += "; Secure"), n.sameSite && (i += "; SameSite=" + n.sameSite), document.cookie = i
- },
- V = H,
- W = U,
- Y = function() {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
- t = g.COOKIE_TEST_PREFIX + B(),
- n = !1;
- try {
- var a = String(new Date);
- H(t, a, e), M.info("Testing if cookies available"), n = U(t + "=") === a
- } catch (e) {
- M.warn('Error thrown when checking for cookies. Reason: "'.concat(e, '"'))
- } finally {
- M.warn("Cleaning up cookies availability test"), H(t, null, e)
- }
- return n
- },
- G = function(e) {
- var t = document.createElement("a");
- return t.href = e, t.hostname || location.hostname
- },
- K = function(e) {
- for (var t = G(e).split("."), n = [], a = "_tldtest_" + B(), r = t.length - 2; r >= 0; --r) n.push(t.slice(r).join("."));
- for (var i = 0; i < n.length; ++i) {
- var o = n[i],
- s = {
- domain: "." + o
- };
- if (V(a, 1, s), W(a)) return V(a, null, s), o
- }
- return ""
- },
- $ = {
- expirationDays: void 0,
- domain: void 0
- },
- J = function(e) {
- var t = "";
- return $.domain && (t = "." === $.domain.charAt(0) ? $.domain.substring(1) : $.domain), e + t
- },
- Z = function(e) {
- var t = J(e) + "=",
- n = W(t);
- try {
- if (n) return JSON.parse(v.decode(n))
- } catch (e) {
- return null
- }
- return null
- },
- Q = function(e, t) {
- try {
- return V(J(e), v.encode(JSON.stringify(t)), $), !0
- } catch (e) {
- return !1
- }
- },
- X = function(e) {
- try {
- return V(J(e), null, $), !0
- } catch (e) {
- return !1
- }
- },
- ee = {
- reset: function() {
- $ = {
- expirationDays: void 0,
- domain: void 0
- }
- },
- options: function(e) {
- if (0 === arguments.length) return $;
- e = e || {}, $.expirationDays = e.expirationDays, $.secure = e.secure, $.sameSite = e.sameSite;
- var t = I(e.domain) ? "." + K(q().href) : e.domain,
- n = Math.random();
- $.domain = t, Q("amplitude_test", n);
- var a = Z("amplitude_test");
- return a && a === n || (t = null), X("amplitude_test"), $.domain = t, $
- },
- get: Z,
- set: Q,
- remove: X,
- setRaw: function(e, t) {
- try {
- return V(J(e), t, $), !0
- } catch (e) {
- return !1
- }
- },
- getRaw: function(e) {
- var t = J(e) + "=";
- return W(t)
- }
+ function tle(e, t) {
+ let {
+ transcriptMessageID: n
+ } = t;
+ const a = new Map(e._transcriptMessages);
+ return a.delete(n), {
+ ...e,
+ _transcriptMessages: a
+ }
+ }
+
+ function nle(e, t) {
+ let {
+ transcriptMessageID: n,
+ newTranscriptMessage: a
+ } = t;
+ const r = new Map(e._transcriptMessages);
+ return r.set(n, a), {
+ ...e,
+ _transcriptMessages: r
+ }
+ }
+ et.register("features/subtitles", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : ele,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case Ia:
+ return tle(e, t);
+ case Oa:
+ return nle(e, t);
+ case Na:
+ return {
+ ...e, _requestingSubtitles: !e._requestingSubtitles
+ }
+ }
+ return e
+ }));
+ const ale = {
+ enabled: !0,
+ hovered: !1,
+ overflowDrawer: !1,
+ overflowMenuVisible: !1,
+ timeoutID: null,
+ visible: !1
+ }; et.register("features/toolbox", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : ale,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case vM:
+ return {
+ ...e, timeoutID: void 0
};
- if (function() {
- var e, t = new Date;
- try {
- return window.localStorage.setItem(t, t), e = window.localStorage.getItem(t) === String(t), window.localStorage.removeItem(t), e
- } catch (e) {}
- return !1
- }()) w = window.localStorage;
- else if (window.globalStorage) try {
- w = window.globalStorage[window.location.hostname]
- } catch (e) {} else if ("undefined" != typeof document) {
- var te = document.createElement("div"),
- ne = "localStorage";
- te.style.display = "none", document.getElementsByTagName("head")[0].appendChild(te), te.addBehavior && (te.addBehavior("#default#userdata"), w = {
- length: 0,
- setItem: function(e, t) {
- te.load(ne), te.getAttribute(e) || this.length++, te.setAttribute(e, t), te.save(ne)
- },
- getItem: function(e) {
- return te.load(ne), te.getAttribute(e)
- },
- removeItem: function(e) {
- te.load(ne), te.getAttribute(e) && this.length--, te.removeAttribute(e), te.save(ne)
- },
- clear: function() {
- te.load(ne);
- for (var e, t = 0; e = te.XMLDocument.documentElement.attributes[t++];) te.removeAttribute(e.name);
- te.save(ne), this.length = 0
- },
- key: function(e) {
- return te.load(ne), te.XMLDocument.documentElement.attributes[e]
- }
- }, te.load(ne), w.length = te.XMLDocument.documentElement.attributes.length)
- } w || (w = {
- length: 0,
- setItem: function(e, t) {},
- getItem: function(e) {},
- removeItem: function(e) {},
- clear: function() {},
- key: function(e) {}
- });
- var ae, re = w,
- ie = function() {
- this.storage = null
+ case kM:
+ return {
+ ...e, fullScreen: t.fullScreen
+ };
+ case wM:
+ return {
+ ...e, overflowDrawer: t.displayAsDrawer
+ };
+ case SM:
+ return {
+ ...e, overflowMenuVisible: t.visible
+ };
+ case EM:
+ return {
+ ...e, hovered: t.hovered
+ };
+ case xM:
+ return {
+ ...e, enabled: t.enabled
+ };
+ case CM:
+ return {
+ ...e, timeoutID: t.timeoutID
+ };
+ case AM:
+ return ze(e, "visible", t.visible);
+ case TM:
+ return ze(e, "visible", !e.visible)
+ }
+ return e
+ })), et.register("features/transcribing", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {
+ isTranscribing: !1,
+ isDialing: !1,
+ isTerminating: !1,
+ transcriberJID: null,
+ potentialTranscriberJIDs: []
+ },
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case nie:
+ return {
+ ...e, isTranscribing: !0, isDialing: !1, transcriberJID: t.transcriberJID
+ };
+ case aie:
+ return {
+ ...e, isTerminating: !1, isTranscribing: !1, transcriberJID: void 0, potentialTranscriberJIDs: []
+ };
+ case rie:
+ return {
+ ...e, potentialTranscriberJIDs: [t.transcriberJID].concat(e.potentialTranscriberJIDs)
+ };
+ case iie:
+ return {
+ ...e, pendingNotificationUid: t.uid
+ };
+ default:
+ return e
+ }
+ }));
+ const rle = {
+ remoteScreenShares: [],
+ tileViewEnabled: void 0
+ }; et.register("features/video-layout", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : rle,
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ switch (t.type) {
+ case mS:
+ return {
+ ...e, remoteScreenShares: t.participantIds
};
- ie.prototype.getStorage = function() {
- if (null !== this.storage) return this.storage;
- if (Y()) this.storage = ee;
- else {
- var e = "amp_cookiestore_";
- this.storage = {
- _options: {
- expirationDays: void 0,
- domain: void 0,
- secure: !1
- },
- reset: function() {
- this._options = {
- expirationDays: void 0,
- domain: void 0,
- secure: !1
- }
- },
- options: function(e) {
- return 0 === arguments.length ? this._options : (e = e || {}, this._options.expirationDays = e.expirationDays || this._options.expirationDays, this._options.domain = e.domain || this._options.domain || window && window.location && window.location.hostname, this._options.secure = e.secure || !1)
- },
- get: function(t) {
- try {
- return JSON.parse(re.getItem(e + t))
- } catch (e) {}
- return null
- },
- set: function(t, n) {
- try {
- return re.setItem(e + t, JSON.stringify(n)), !0
- } catch (e) {}
- return !1
- },
- remove: function(t) {
- try {
- re.removeItem(e + t)
- } catch (e) {
- return !1
- }
- }
- }
+ case fS:
+ return {
+ ...e, tileViewEnabled: t.enabled
}
- return this.storage
- };
- var oe = (r(ae = {}, g.STORAGE_COOKIES, !0), r(ae, g.STORAGE_NONE, !0), r(ae, g.STORAGE_LOCAL, !0), r(ae, g.STORAGE_SESSION, !0), ae),
- se = function() {
- function e(t) {
- var n = t.storageKey,
- a = t.disableCookies,
- r = t.domain,
- i = t.secure,
- o = t.sameSite,
- s = t.expirationDays,
- l = t.storage;
- (function(e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- })(this, e), this.storageKey = n, this.domain = r, this.secure = i, this.sameSite = o, this.expirationDays = s, this.cookieDomain = "";
- var c = K(q().href);
- if (this.cookieDomain = r || (c ? "." + c : null), oe[l]) this.storage = l;
- else {
- var u = a || !Y({
- domain: this.cookieDomain,
- secure: this.secure,
- sameSite: this.sameSite,
- expirationDays: this.expirationDays
- });
- this.storage = u ? g.STORAGE_LOCAL : g.STORAGE_COOKIES
- }
- }
- return n = e, (a = [{
- key: "getCookieStorageKey",
- value: function() {
- if (!this.domain) return this.storageKey;
- var e = "." === this.domain.charAt(0) ? this.domain.substring(1) : this.domain;
- return "".concat(this.storageKey).concat(e ? "_".concat(e) : "")
- }
- }, {
- key: "save",
- value: function(e) {
- var t = e.deviceId,
- n = e.userId,
- a = e.optOut,
- r = e.sessionId,
- i = e.lastEventTime,
- o = e.eventId,
- s = e.identifyId,
- l = e.sequenceNumber;
- if (this.storage !== g.STORAGE_NONE) {
- var c = [t, v.encode(n || ""), a ? "1" : "", r ? r.toString(32) : "0", i ? i.toString(32) : "0", o ? o.toString(32) : "0", s ? s.toString(32) : "0", l ? l.toString(32) : "0"].join(".");
- switch (this.storage) {
- case g.STORAGE_SESSION:
- window.sessionStorage && window.sessionStorage.setItem(this.storageKey, c);
- break;
- case g.STORAGE_LOCAL:
- re.setItem(this.storageKey, c);
- break;
- case g.STORAGE_COOKIES:
- V(this.getCookieStorageKey(), c, {
- domain: this.cookieDomain,
- secure: this.secure,
- sameSite: this.sameSite,
- expirationDays: this.expirationDays
- })
- }
- }
- }
- }, {
- key: "load",
- value: function() {
- var e;
- if (this.storage === g.STORAGE_COOKIES && (e = W(this.getCookieStorageKey() + "=")), e || (e = re.getItem(this.storageKey)), !e) try {
- e = window.sessionStorage && window.sessionStorage.getItem(this.storageKey)
- } catch (e) {
- M.info('window.sessionStorage unavailable. Reason: "'.concat(e, '"'))
- }
- if (!e) return null;
- var t = e.split("."),
- n = null;
- if (t[1]) try {
- n = v.decode(t[1])
- } catch (e) {
- n = null
- }
- return {
- deviceId: t[0],
- userId: n,
- optOut: "1" === t[2],
- sessionId: parseInt(t[3], 32),
- lastEventTime: parseInt(t[4], 32),
- eventId: parseInt(t[5], 32),
- identifyId: parseInt(t[6], 32),
- sequenceNumber: parseInt(t[7], 32)
- }
+ }
+ return e
+ })), et.register("features/videosipgw", (function() {
+ let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : [],
+ t = arguments.length > 1 ? arguments[1] : void 0;
+ return t.type === NY ? {
+ ...e,
+ status: t.status
+ } : e
+ })); class ile extends x.Component {
+ render() {
+ const {
+ className: e,
+ deviceStatusVisible: t,
+ showCameraPreview: n,
+ videoTrack: a
+ } = this.props;
+ return C().createElement(G8, {
+ className: `prejoin-third-party ${e}`,
+ showDeviceStatus: t,
+ skipPrejoinButton: !1,
+ thirdParty: !0,
+ videoMuted: !n,
+ videoTrack: a
+ })
+ }
+ }
+ const ole = Ne((function(e) {
+ return {
+ deviceStatusVisible: dH(e),
+ showCameraPreview: !jf(e),
+ videoTrack: rh(e)
+ }
+ }))(Ei(ile)), sle = $e("index.web"), lle = ya.OS; document.addEventListener("DOMContentLoaded", (() => {
+ const e = window.performance.now();
+ APP.connectionTimes["document.ready"] = e, sle.log("(TIME) document ready:\t", e)
+ })), "ios" === lle && window.addEventListener("pageshow", (e => {
+ e.persisted && window.location.reload()
+ }));
+ const cle = Dt(); cle.entryPoints = {
+ APP: class extends pne {
+ _createMainElement(e, t) {
+ return C().createElement(one, null, C().createElement(_v, {
+ mode: "dark"
+ }, C().createElement(ane, null), C().createElement(dne, null), super._createMainElement(e, t)))
+ }
+ _renderDialogContainer() {
+ return C().createElement(one, null, C().createElement(_v, {
+ mode: "dark"
+ }, C().createElement(kL, null)))
+ }
+ },
+ PREJOIN: class extends Ff {
+ componentDidMount() {
+ super.componentDidMount(), this._init.then((async () => {
+ const {
+ store: e
+ } = this.state, {
+ dispatch: t
+ } = e, {
+ styleType: n
+ } = this.props;
+ super._navigate({
+ component: ole,
+ props: {
+ className: n
}
- }]) && t(n.prototype, a), r && t(n, r), e;
- var n, a, r
- }(),
- le = "$clearAll",
- ce = function() {
- this.userPropertiesOperations = {}, this.properties = []
- };
- ce.prototype.add = function(e, t) {
- return "number" === _(t) || "string" === _(t) ? this._addOperation("$add", e, t) : M.error("Unsupported type for value: " + _(t) + ", expecting number or string"), this
- }, ce.prototype.append = function(e, t) {
- return this._addOperation("$append", e, t), this
- }, ce.prototype.clearAll = function() {
- return Object.keys(this.userPropertiesOperations).length > 0 ? (Object.prototype.hasOwnProperty.call(this.userPropertiesOperations, le) || M.error("Need to send $clearAll on its own Identify object without any other operations, skipping $clearAll"), this) : (this.userPropertiesOperations.$clearAll = "-", this)
- }, ce.prototype.prepend = function(e, t) {
- return this._addOperation("$prepend", e, t), this
- }, ce.prototype.set = function(e, t) {
- return this._addOperation("$set", e, t), this
- }, ce.prototype.setOnce = function(e, t) {
- return this._addOperation("$setOnce", e, t), this
- }, ce.prototype.unset = function(e) {
- return this._addOperation("$unset", e, "-"), this
- }, ce.prototype.preInsert = function(e, t) {
- return this._addOperation("$preInsert", e, t), this
- }, ce.prototype.postInsert = function(e, t) {
- return this._addOperation("$postInsert", e, t), this
- }, ce.prototype.remove = function(e, t) {
- return this._addOperation("$remove", e, t), this
- }, ce.prototype._addOperation = function(e, t, n) {
- Object.prototype.hasOwnProperty.call(this.userPropertiesOperations, le) ? M.error("This identify already contains a $clearAll operation, skipping operation " + e) : -1 === this.properties.indexOf(t) ? (Object.prototype.hasOwnProperty.call(this.userPropertiesOperations, e) || (this.userPropertiesOperations[e] = {}), this.userPropertiesOperations[e][t] = n, this.properties.push(t)) : M.error('User property "' + t + '" already used in this identify, skipping operation ' + e)
+ });
+ const {
+ startWithAudioMuted: a,
+ startWithVideoMuted: r
+ } = e.getState()["features/base/settings"];
+ t(ea({
+ prejoinConfig: {
+ enabled: !0
+ },
+ startWithAudioMuted: a,
+ startWithVideoMuted: r
+ }));
+ const {
+ tryCreateLocalTracks: i,
+ errors: o
+ } = function() {
+ const e = {},
+ t = ["audio"];
+ let n = !1;
+ const {
+ startAudioOnly: a,
+ startWithAudioMuted: r,
+ startWithVideoMuted: i
+ } = APP.store.getState()["features/base/settings"];
+ let o;
+ return r && APP.store.dispatch(gf(!0)), i || a || (t.push("video"), n = !0), o = Qp({
+ devices: t,
+ firePermissionPromptIsShownEvent: !0
+ }).catch((t => n ? (e.audioAndVideoError = t, Qp({
+ devices: ["audio"],
+ firePermissionPromptIsShownEvent: !0
+ })) : n ? void Yp.error("Should never happen") : (e.audioOnlyError = t, []))).catch((t => (e.audioOnlyError = t, n ? Qp({
+ devices: ["video"],
+ firePermissionPromptIsShownEvent: !0
+ }) : []))).catch((t => (n || Yp.error("The impossible just happened", t), e.videoOnlyError = t, []))), {
+ tryCreateLocalTracks: o,
+ errors: e
+ }
+ }(), s = await i;
+ (0, Me.unstable_batchedUpdates)((() => {
+ t(DH(s, o)), t(IH(bF(e.getState())))
+ }))
+ }))
+ }
+ _createMainElement(e, t) {
+ return C().createElement(one, null, C().createElement(_v, {
+ mode: "dark"
+ }, C().createElement(ane, null), super._createMainElement(e, t)))
+ }
+ _renderDialogContainer() {
+ return C().createElement(one, null, C().createElement(_v, {
+ mode: "dark"
+ }, C().createElement(kL, null)))
+ }
+ }
+ }, cle.renderEntryPoint = e => {
+ let {
+ Component: t,
+ props: n = {},
+ elementId: a = "react"
+ } = e;
+ Ie().render(C().createElement(t, n), document.getElementById(a))
+ }, window.Olm && window.Olm.init().catch((e => {
+ console.error("Failed to initialize Olm, E2EE will be disabled", e), delete window.Olm
+ })), window.APP = {
+ API: Lte,
+ conference: Ete,
+ connect: {
+ handler: null,
+ status: "initialized"
+ },
+ connectionTimes: {
+ "index.loaded": window.indexLoadedTime
+ },
+ keyboardshortcut: eX,
+ translation: Xte,
+ UI: $te
+ }
+}, 5939: e => {
+ e.exports = {
+ defaultLogLevel: "trace",
+ "modules/RTC/TraceablePeerConnection.js": "info",
+ "modules/statistics/CallStats.js": "info",
+ "modules/xmpp/strophe.util.js": "log"
+ }
+}, 1041: (e, t, n) => {
+ "use strict";
+ Object.defineProperty(t, "__esModule", {
+ value: !0
+ });
+ var a, r = n(3241),
+ i = r.__importDefault(n(2684)),
+ o = r.__importDefault(n(5617)),
+ s = r.__importDefault(n(8889)),
+ l = n(5139),
+ c = n(6101),
+ u = function(e) {
+ var t = e.size;
+ return t ? "height: " + c.sizes[t] + "; width: " + c.sizes[t] + ";" : null
+ };
+ t.IconWrapper = o.default.span(a || (a = r.__makeTemplateObject(["\n ", ";\n color: ", ";\n display: inline-block;\n fill: ", ";\n flex-shrink: 0;\n line-height: 1;\n\n > svg {\n ", ";\n max-height: 100%;\n max-width: 100%;\n overflow: hidden;\n pointer-events: none;\n vertical-align: bottom;\n }\n\n /**\n * Stop-color doesn't properly apply in chrome when the inherited/current color changes.\n * We have to initially set stop-color to inherit (either via DOM attribute or an initial CSS\n * rule) and then override it with currentColor for the color changes to be picked up.\n */\n stop {\n stop-color: currentColor;\n }\n"], ["\n ", ";\n color: ", ";\n display: inline-block;\n fill: ", ";\n flex-shrink: 0;\n line-height: 1;\n\n > svg {\n ", ";\n max-height: 100%;\n max-width: 100%;\n overflow: hidden;\n pointer-events: none;\n vertical-align: bottom;\n }\n\n /**\n * Stop-color doesn't properly apply in chrome when the inherited/current color changes.\n * We have to initially set stop-color to inherit (either via DOM attribute or an initial CSS\n * rule) and then override it with currentColor for the color changes to be picked up.\n */\n stop {\n stop-color: currentColor;\n }\n"])), u, (function(e) {
+ return e.primaryColor || "currentColor"
+ }), (function(e) {
+ return e.secondaryColor || l.background
+ }), u), t.default = function(e) {
+ var n, a, o = e.glyph,
+ l = e.dangerouslySetGlyph,
+ c = e.primaryColor,
+ u = e.secondaryColor,
+ d = e.size,
+ p = e.testId,
+ h = e.label,
+ m = l ? {
+ dangerouslySetInnerHTML: {
+ __html: (n = l, a = s.default(), n.replace(/id="([^"]+)-idPlaceholder"/g, "id=$1-" + a).replace(/fill="url\(#([^"]+)-idPlaceholder\)"/g, 'fill="url(#$1-' + a + ')"'))
+ }
+ } : {
+ children: o ? i.default.createElement(o, {
+ role: "presentation"
+ }) : null
};
- var ue = "undefined" != typeof window ? window : void 0 !== n.g ? n.g : "undefined" != typeof self ? self : {};
+ return i.default.createElement(t.IconWrapper, r.__assign({
+ primaryColor: c,
+ secondaryColor: u,
+ size: d,
+ "data-testid": p,
+ role: h ? "img" : "presentation",
+ "aria-label": h || void 0
+ }, m))
+ }
+}, 6101: (e, t) => {
+ "use strict";
+ Object.defineProperty(t, "__esModule", {
+ value: !0
+ }), t.sizes = {
+ small: "16px",
+ medium: "24px",
+ large: "32px",
+ xlarge: "48px"
+ }, t.sizeMap = {
+ small: "small",
+ medium: "medium",
+ large: "large",
+ xlarge: "xlarge"
+ }
+}, 6501: (e, t, n) => {
+ "use strict";
+ t.Z = void 0;
+ var a = i(n(2684)),
+ r = i(n(1041));
- function de(e, t) {
- return e(t = {
- exports: {}
- }, t.exports), t.exports
+ function i(e) {
+ return e && e.__esModule ? e : {
+ default: e
+ }
+ }
+
+ function o() {
+ return o = Object.assign || function(e) {
+ for (var t = 1; t < arguments.length; t++) {
+ var n = arguments[t];
+ for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
}
- var pe = de((function(e) {
- ! function(t) {
- function n(e, t) {
- var n = (65535 & e) + (65535 & t);
- return (e >> 16) + (t >> 16) + (n >> 16) << 16 | 65535 & n
- }
+ return e
+ }, o.apply(this, arguments)
+ }
+ var s = function(e) {
+ return a.default.createElement(r.default, o({
+ dangerouslySetGlyph: '
'
+ }, e))
+ };
+ s.displayName = "CheckCircleIcon";
+ var l = s;
+ t.Z = l
+}, 9406: (e, t, n) => {
+ "use strict";
+ t.Z = void 0;
+ var a = i(n(2684)),
+ r = i(n(1041));
+
+ function i(e) {
+ return e && e.__esModule ? e : {
+ default: e
+ }
+ }
- function a(e, t, a, r, i, o) {
- return n((s = n(n(t, e), n(r, o))) << (l = i) | s >>> 32 - l, a);
- var s, l
- }
+ function o() {
+ return o = Object.assign || function(e) {
+ for (var t = 1; t < arguments.length; t++) {
+ var n = arguments[t];
+ for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
+ }
+ return e
+ }, o.apply(this, arguments)
+ }
+ var s = function(e) {
+ return a.default.createElement(r.default, o({
+ dangerouslySetGlyph: '
'
+ }, e))
+ };
+ s.displayName = "CheckboxIcon";
+ var l = s;
+ t.Z = l
+}, 754: (e, t, n) => {
+ "use strict";
+ t.Z = void 0;
+ var a = i(n(2684)),
+ r = i(n(1041));
+
+ function i(e) {
+ return e && e.__esModule ? e : {
+ default: e
+ }
+ }
- function r(e, t, n, r, i, o, s) {
- return a(t & n | ~t & r, e, t, i, o, s)
- }
+ function o() {
+ return o = Object.assign || function(e) {
+ for (var t = 1; t < arguments.length; t++) {
+ var n = arguments[t];
+ for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
+ }
+ return e
+ }, o.apply(this, arguments)
+ }
+ var s = function(e) {
+ return a.default.createElement(r.default, o({
+ dangerouslySetGlyph: '
'
+ }, e))
+ };
+ s.displayName = "ChevronDownIcon";
+ var l = s;
+ t.Z = l
+}, 3037: (e, t, n) => {
+ "use strict";
+ t.Z = void 0;
+ var a = i(n(2684)),
+ r = i(n(1041));
+
+ function i(e) {
+ return e && e.__esModule ? e : {
+ default: e
+ }
+ }
- function i(e, t, n, r, i, o, s) {
- return a(t & r | n & ~r, e, t, i, o, s)
- }
+ function o() {
+ return o = Object.assign || function(e) {
+ for (var t = 1; t < arguments.length; t++) {
+ var n = arguments[t];
+ for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
+ }
+ return e
+ }, o.apply(this, arguments)
+ }
+ var s = function(e) {
+ return a.default.createElement(r.default, o({
+ dangerouslySetGlyph: '
'
+ }, e))
+ };
+ s.displayName = "ChevronUpIcon";
+ var l = s;
+ t.Z = l
+}, 4944: (e, t, n) => {
+ "use strict";
+ t.Z = void 0;
+ var a = i(n(2684)),
+ r = i(n(1041));
+
+ function i(e) {
+ return e && e.__esModule ? e : {
+ default: e
+ }
+ }
- function o(e, t, n, r, i, o, s) {
- return a(t ^ n ^ r, e, t, i, o, s)
- }
+ function o() {
+ return o = Object.assign || function(e) {
+ for (var t = 1; t < arguments.length; t++) {
+ var n = arguments[t];
+ for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
+ }
+ return e
+ }, o.apply(this, arguments)
+ }
+ var s = function(e) {
+ return a.default.createElement(r.default, o({
+ dangerouslySetGlyph: '
'
+ }, e))
+ };
+ s.displayName = "CrossIcon";
+ var l = s;
+ t.Z = l
+}, 1951: (e, t, n) => {
+ "use strict";
+ t.Z = void 0;
+ var a = i(n(2684)),
+ r = i(n(1041));
+
+ function i(e) {
+ return e && e.__esModule ? e : {
+ default: e
+ }
+ }
- function s(e, t, n, r, i, o, s) {
- return a(n ^ (t | ~r), e, t, i, o, s)
- }
+ function o() {
+ return o = Object.assign || function(e) {
+ for (var t = 1; t < arguments.length; t++) {
+ var n = arguments[t];
+ for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
+ }
+ return e
+ }, o.apply(this, arguments)
+ }
+ var s = function(e) {
+ return a.default.createElement(r.default, o({
+ dangerouslySetGlyph: '
'
+ }, e))
+ };
+ s.displayName = "EditorCloseIcon";
+ var l = s;
+ t.Z = l
+}, 2854: (e, t, n) => {
+ "use strict";
+ t.Z = void 0;
+ var a = i(n(2684)),
+ r = i(n(1041));
+
+ function i(e) {
+ return e && e.__esModule ? e : {
+ default: e
+ }
+ }
- function l(e, t) {
- var a, l, c, u, d;
- e[t >> 5] |= 128 << t % 32, e[14 + (t + 64 >>> 9 << 4)] = t;
- var p = 1732584193,
- h = -271733879,
- m = -1732584194,
- f = 271733878;
- for (a = 0; a < e.length; a += 16) l = p, c = h, u = m, d = f, p = r(p, h, m, f, e[a], 7, -680876936), f = r(f, p, h, m, e[a + 1], 12, -389564586), m = r(m, f, p, h, e[a + 2], 17, 606105819), h = r(h, m, f, p, e[a + 3], 22, -1044525330), p = r(p, h, m, f, e[a + 4], 7, -176418897), f = r(f, p, h, m, e[a + 5], 12, 1200080426), m = r(m, f, p, h, e[a + 6], 17, -1473231341), h = r(h, m, f, p, e[a + 7], 22, -45705983), p = r(p, h, m, f, e[a + 8], 7, 1770035416), f = r(f, p, h, m, e[a + 9], 12, -1958414417), m = r(m, f, p, h, e[a + 10], 17, -42063), h = r(h, m, f, p, e[a + 11], 22, -1990404162), p = r(p, h, m, f, e[a + 12], 7, 1804603682), f = r(f, p, h, m, e[a + 13], 12, -40341101), m = r(m, f, p, h, e[a + 14], 17, -1502002290), p = i(p, h = r(h, m, f, p, e[a + 15], 22, 1236535329), m, f, e[a + 1], 5, -165796510), f = i(f, p, h, m, e[a + 6], 9, -1069501632), m = i(m, f, p, h, e[a + 11], 14, 643717713), h = i(h, m, f, p, e[a], 20, -373897302), p = i(p, h, m, f, e[a + 5], 5, -701558691), f = i(f, p, h, m, e[a + 10], 9, 38016083), m = i(m, f, p, h, e[a + 15], 14, -660478335), h = i(h, m, f, p, e[a + 4], 20, -405537848), p = i(p, h, m, f, e[a + 9], 5, 568446438), f = i(f, p, h, m, e[a + 14], 9, -1019803690), m = i(m, f, p, h, e[a + 3], 14, -187363961), h = i(h, m, f, p, e[a + 8], 20, 1163531501), p = i(p, h, m, f, e[a + 13], 5, -1444681467), f = i(f, p, h, m, e[a + 2], 9, -51403784), m = i(m, f, p, h, e[a + 7], 14, 1735328473), p = o(p, h = i(h, m, f, p, e[a + 12], 20, -1926607734), m, f, e[a + 5], 4, -378558), f = o(f, p, h, m, e[a + 8], 11, -2022574463), m = o(m, f, p, h, e[a + 11], 16, 1839030562), h = o(h, m, f, p, e[a + 14], 23, -35309556), p = o(p, h, m, f, e[a + 1], 4, -1530992060), f = o(f, p, h, m, e[a + 4], 11, 1272893353), m = o(m, f, p, h, e[a + 7], 16, -155497632), h = o(h, m, f, p, e[a + 10], 23, -1094730640), p = o(p, h, m, f, e[a + 13], 4, 681279174), f = o(f, p, h, m, e[a], 11, -358537222), m = o(m, f, p, h, e[a + 3], 16, -722521979), h = o(h, m, f, p, e[a + 6], 23, 76029189), p = o(p, h, m, f, e[a + 9], 4, -640364487), f = o(f, p, h, m, e[a + 12], 11, -421815835), m = o(m, f, p, h, e[a + 15], 16, 530742520), p = s(p, h = o(h, m, f, p, e[a + 2], 23, -995338651), m, f, e[a], 6, -198630844), f = s(f, p, h, m, e[a + 7], 10, 1126891415), m = s(m, f, p, h, e[a + 14], 15, -1416354905), h = s(h, m, f, p, e[a + 5], 21, -57434055), p = s(p, h, m, f, e[a + 12], 6, 1700485571), f = s(f, p, h, m, e[a + 3], 10, -1894986606), m = s(m, f, p, h, e[a + 10], 15, -1051523), h = s(h, m, f, p, e[a + 1], 21, -2054922799), p = s(p, h, m, f, e[a + 8], 6, 1873313359), f = s(f, p, h, m, e[a + 15], 10, -30611744), m = s(m, f, p, h, e[a + 6], 15, -1560198380), h = s(h, m, f, p, e[a + 13], 21, 1309151649), p = s(p, h, m, f, e[a + 4], 6, -145523070), f = s(f, p, h, m, e[a + 11], 10, -1120210379), m = s(m, f, p, h, e[a + 2], 15, 718787259), h = s(h, m, f, p, e[a + 9], 21, -343485551), p = n(p, l), h = n(h, c), m = n(m, u), f = n(f, d);
- return [p, h, m, f]
- }
+ function o() {
+ return o = Object.assign || function(e) {
+ for (var t = 1; t < arguments.length; t++) {
+ var n = arguments[t];
+ for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
+ }
+ return e
+ }, o.apply(this, arguments)
+ }
+ var s = function(e) {
+ return a.default.createElement(r.default, o({
+ dangerouslySetGlyph: '
'
+ }, e))
+ };
+ s.displayName = "EditorDoneIcon";
+ var l = s;
+ t.Z = l
+}, 247: (e, t, n) => {
+ "use strict";
+ t.Z = void 0;
+ var a = i(n(2684)),
+ r = i(n(1041));
+
+ function i(e) {
+ return e && e.__esModule ? e : {
+ default: e
+ }
+ }
- function c(e) {
- var t, n = "",
- a = 32 * e.length;
- for (t = 0; t < a; t += 8) n += String.fromCharCode(e[t >> 5] >>> t % 32 & 255);
- return n
- }
+ function o() {
+ return o = Object.assign || function(e) {
+ for (var t = 1; t < arguments.length; t++) {
+ var n = arguments[t];
+ for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
+ }
+ return e
+ }, o.apply(this, arguments)
+ }
+ var s = function(e) {
+ return a.default.createElement(r.default, o({
+ dangerouslySetGlyph: '
'
+ }, e))
+ };
+ s.displayName = "EditorInfoIcon";
+ var l = s;
+ t.Z = l
+}, 7737: (e, t, n) => {
+ "use strict";
+ t.Z = void 0;
+ var a = i(n(2684)),
+ r = i(n(1041));
+
+ function i(e) {
+ return e && e.__esModule ? e : {
+ default: e
+ }
+ }
- function u(e) {
- var t, n = [];
- for (n[(e.length >> 2) - 1] = void 0, t = 0; t < n.length; t += 1) n[t] = 0;
- var a = 8 * e.length;
- for (t = 0; t < a; t += 8) n[t >> 5] |= (255 & e.charCodeAt(t / 8)) << t % 32;
- return n
- }
+ function o() {
+ return o = Object.assign || function(e) {
+ for (var t = 1; t < arguments.length; t++) {
+ var n = arguments[t];
+ for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
+ }
+ return e
+ }, o.apply(this, arguments)
+ }
+ var s = function(e) {
+ return a.default.createElement(r.default, o({
+ dangerouslySetGlyph: '
'
+ }, e))
+ };
+ s.displayName = "ErrorIcon";
+ var l = s;
+ t.Z = l
+}, 7253: (e, t, n) => {
+ "use strict";
+ t.Z = void 0;
+ var a = i(n(2684)),
+ r = i(n(1041));
+
+ function i(e) {
+ return e && e.__esModule ? e : {
+ default: e
+ }
+ }
- function d(e) {
- var t, n, a = "0123456789abcdef",
- r = "";
- for (n = 0; n < e.length; n += 1) t = e.charCodeAt(n), r += a.charAt(t >>> 4 & 15) + a.charAt(15 & t);
- return r
- }
+ function o() {
+ return o = Object.assign || function(e) {
+ for (var t = 1; t < arguments.length; t++) {
+ var n = arguments[t];
+ for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
+ }
+ return e
+ }, o.apply(this, arguments)
+ }
+ var s = function(e) {
+ return a.default.createElement(r.default, o({
+ dangerouslySetGlyph: '
'
+ }, e))
+ };
+ s.displayName = "InfoIcon";
+ var l = s;
+ t.Z = l
+}, 251: (e, t, n) => {
+ "use strict";
+ t.Z = void 0;
+ var a = i(n(2684)),
+ r = i(n(1041));
+
+ function i(e) {
+ return e && e.__esModule ? e : {
+ default: e
+ }
+ }
- function p(e) {
- return unescape(encodeURIComponent(e))
- }
+ function o() {
+ return o = Object.assign || function(e) {
+ for (var t = 1; t < arguments.length; t++) {
+ var n = arguments[t];
+ for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
+ }
+ return e
+ }, o.apply(this, arguments)
+ }
+ var s = function(e) {
+ return a.default.createElement(r.default, o({
+ dangerouslySetGlyph: '
'
+ }, e))
+ };
+ s.displayName = "RadioIcon";
+ var l = s;
+ t.Z = l
+}, 901: (e, t, n) => {
+ "use strict";
+ t.Z = void 0;
+ var a = i(n(2684)),
+ r = i(n(1041));
+
+ function i(e) {
+ return e && e.__esModule ? e : {
+ default: e
+ }
+ }
- function h(e) {
- return function(e) {
- return c(l(u(e), 8 * e.length))
- }(p(e))
- }
+ function o() {
+ return o = Object.assign || function(e) {
+ for (var t = 1; t < arguments.length; t++) {
+ var n = arguments[t];
+ for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
+ }
+ return e
+ }, o.apply(this, arguments)
+ }
+ var s = function(e) {
+ return a.default.createElement(r.default, o({
+ dangerouslySetGlyph: '
'
+ }, e))
+ };
+ s.displayName = "StarFilledIcon";
+ var l = s;
+ t.Z = l
+}, 9429: (e, t, n) => {
+ "use strict";
+ t.Z = void 0;
+ var a = i(n(2684)),
+ r = i(n(1041));
+
+ function i(e) {
+ return e && e.__esModule ? e : {
+ default: e
+ }
+ }
- function m(e, t) {
- return function(e, t) {
- var n, a, r = u(e),
- i = [],
- o = [];
- for (i[15] = o[15] = void 0, r.length > 16 && (r = l(r, 8 * e.length)), n = 0; n < 16; n += 1) i[n] = 909522486 ^ r[n], o[n] = 1549556828 ^ r[n];
- return a = l(i.concat(u(t)), 512 + 8 * t.length), c(l(o.concat(a), 640))
- }(p(e), p(t))
- }
+ function o() {
+ return o = Object.assign || function(e) {
+ for (var t = 1; t < arguments.length; t++) {
+ var n = arguments[t];
+ for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
+ }
+ return e
+ }, o.apply(this, arguments)
+ }
+ var s = function(e) {
+ return a.default.createElement(r.default, o({
+ dangerouslySetGlyph: '
'
+ }, e))
+ };
+ s.displayName = "StarIcon";
+ var l = s;
+ t.Z = l
+}, 9317: (e, t, n) => {
+ "use strict";
+ t.Z = void 0;
+ var a = i(n(2684)),
+ r = i(n(1041));
+
+ function i(e) {
+ return e && e.__esModule ? e : {
+ default: e
+ }
+ }
- function f(e, t, n) {
- return t ? n ? m(t, e) : d(m(t, e)) : n ? h(e) : d(h(e))
- }
- e.exports ? e.exports = f : t.md5 = f
- }(ue)
- })),
- he = Object.getOwnPropertySymbols,
- me = Object.prototype.hasOwnProperty,
- fe = Object.prototype.propertyIsEnumerable;
+ function o() {
+ return o = Object.assign || function(e) {
+ for (var t = 1; t < arguments.length; t++) {
+ var n = arguments[t];
+ for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
+ }
+ return e
+ }, o.apply(this, arguments)
+ }
+ var s = function(e) {
+ return a.default.createElement(r.default, o({
+ dangerouslySetGlyph: '
'
+ }, e))
+ };
+ s.displayName = "WarningIcon";
+ var l = s;
+ t.Z = l
+}, 3241: (e, t, n) => {
+ "use strict";
+ n.r(t), n.d(t, {
+ __extends: () => r,
+ __assign: () => i,
+ __rest: () => o,
+ __decorate: () => s,
+ __param: () => l,
+ __metadata: () => c,
+ __awaiter: () => u,
+ __generator: () => d,
+ __createBinding: () => p,
+ __exportStar: () => h,
+ __values: () => m,
+ __read: () => f,
+ __spread: () => g,
+ __spreadArrays: () => b,
+ __spreadArray: () => y,
+ __await: () => v,
+ __asyncGenerator: () => k,
+ __asyncDelegator: () => _,
+ __asyncValues: () => w,
+ __makeTemplateObject: () => S,
+ __importStar: () => x,
+ __importDefault: () => C,
+ __classPrivateFieldGet: () => A,
+ __classPrivateFieldSet: () => T
+ });
+ var a = function(e, t) {
+ return a = Object.setPrototypeOf || {
+ __proto__: []
+ }
+ instanceof Array && function(e, t) {
+ e.__proto__ = t
+ } || function(e, t) {
+ for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n])
+ }, a(e, t)
+ };
- function ge(e) {
- if (null == e) throw new TypeError("Object.assign cannot be called with null or undefined");
- return Object(e)
+ function r(e, t) {
+ if ("function" != typeof t && null !== t) throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
+
+ function n() {
+ this.constructor = e
+ }
+ a(e, t), e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n)
+ }
+ var i = function() {
+ return i = Object.assign || function(e) {
+ for (var t, n = 1, a = arguments.length; n < a; n++)
+ for (var r in t = arguments[n]) Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]);
+ return e
+ }, i.apply(this, arguments)
+ };
+
+ function o(e, t) {
+ var n = {};
+ for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && t.indexOf(a) < 0 && (n[a] = e[a]);
+ if (null != e && "function" == typeof Object.getOwnPropertySymbols) {
+ var r = 0;
+ for (a = Object.getOwnPropertySymbols(e); r < a.length; r++) t.indexOf(a[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, a[r]) && (n[a[r]] = e[a[r]])
+ }
+ return n
+ }
+
+ function s(e, t, n, a) {
+ var r, i = arguments.length,
+ o = i < 3 ? t : null === a ? a = Object.getOwnPropertyDescriptor(t, n) : a;
+ if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) o = Reflect.decorate(e, t, n, a);
+ else
+ for (var s = e.length - 1; s >= 0; s--)(r = e[s]) && (o = (i < 3 ? r(o) : i > 3 ? r(t, n, o) : r(t, n)) || o);
+ return i > 3 && o && Object.defineProperty(t, n, o), o
+ }
+
+ function l(e, t) {
+ return function(n, a) {
+ t(n, a, e)
+ }
+ }
+
+ function c(e, t) {
+ if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(e, t)
+ }
+
+ function u(e, t, n, a) {
+ return new(n || (n = Promise))((function(r, i) {
+ function o(e) {
+ try {
+ l(a.next(e))
+ } catch (e) {
+ i(e)
+ }
}
- var be = function() {
- try {
- if (!Object.assign) return !1;
- var e = new String("abc");
- if (e[5] = "de", "5" === Object.getOwnPropertyNames(e)[0]) return !1;
- for (var t = {}, n = 0; n < 10; n++) t["_" + String.fromCharCode(n)] = n;
- if ("0123456789" !== Object.getOwnPropertyNames(t).map((function(e) {
- return t[e]
- })).join("")) return !1;
- var a = {};
- return "abcdefghijklmnopqrst".split("").forEach((function(e) {
- a[e] = e
- })), "abcdefghijklmnopqrst" === Object.keys(Object.assign({}, a)).join("")
- } catch (e) {
- return !1
- }
- }() ? Object.assign : function(e, t) {
- for (var n, a, r = ge(e), i = 1; i < arguments.length; i++) {
- for (var o in n = Object(arguments[i])) me.call(n, o) && (r[o] = n[o]);
- if (he) {
- a = he(n);
- for (var s = 0; s < a.length; s++) fe.call(n, a[s]) && (r[a[s]] = n[a[s]])
- }
- }
- return r
- },
- ye = "%[a-f0-9]{2}";
- new RegExp(ye, "gi"), new RegExp("(" + ye + ")+", "gi");
- function ve(e, t) {
- return t.encode ? t.strict ? encodeURIComponent(e).replace(/[!'()*]/g, (function(e) {
- return "%" + e.charCodeAt(0).toString(16).toUpperCase()
- })) : encodeURIComponent(e) : e
- }
- var ke = function(e, t) {
- !1 === (t = be({
- encode: !0,
- strict: !0,
- arrayFormat: "none"
- }, t)).sort && (t.sort = function() {});
- var n = function(e) {
- switch (e.arrayFormat) {
- case "index":
- return function(t, n, a) {
- return null === n ? [ve(t, e), "[", a, "]"].join("") : [ve(t, e), "[", ve(a, e), "]=", ve(n, e)].join("")
- };
- case "bracket":
- return function(t, n) {
- return null === n ? ve(t, e) : [ve(t, e), "[]=", ve(n, e)].join("")
+ function s(e) {
+ try {
+ l(a.throw(e))
+ } catch (e) {
+ i(e)
+ }
+ }
+
+ function l(e) {
+ var t;
+ e.done ? r(e.value) : (t = e.value, t instanceof n ? t : new n((function(e) {
+ e(t)
+ }))).then(o, s)
+ }
+ l((a = a.apply(e, t || [])).next())
+ }))
+ }
+
+ function d(e, t) {
+ var n, a, r, i, o = {
+ label: 0,
+ sent: function() {
+ if (1 & r[0]) throw r[1];
+ return r[1]
+ },
+ trys: [],
+ ops: []
+ };
+ return i = {
+ next: s(0),
+ throw: s(1),
+ return: s(2)
+ }, "function" == typeof Symbol && (i[Symbol.iterator] = function() {
+ return this
+ }), i;
+
+ function s(i) {
+ return function(s) {
+ return function(i) {
+ if (n) throw new TypeError("Generator is already executing.");
+ for (; o;) try {
+ if (n = 1, a && (r = 2 & i[0] ? a.return : i[0] ? a.throw || ((r = a.return) && r.call(a), 0) : a.next) && !(r = r.call(a, i[1])).done) return r;
+ switch (a = 0, r && (i = [2 & i[0], r.value]), i[0]) {
+ case 0:
+ case 1:
+ r = i;
+ break;
+ case 4:
+ return o.label++, {
+ value: i[1],
+ done: !1
};
+ case 5:
+ o.label++, a = i[1], i = [0];
+ continue;
+ case 7:
+ i = o.ops.pop(), o.trys.pop();
+ continue;
default:
- return function(t, n) {
- return null === n ? ve(t, e) : [ve(t, e), "=", ve(n, e)].join("")
+ if (!((r = (r = o.trys).length > 0 && r[r.length - 1]) || 6 !== i[0] && 2 !== i[0])) {
+ o = 0;
+ continue
}
- }
- }(t);
- return e ? Object.keys(e).sort(t.sort).map((function(a) {
- var r = e[a];
- if (void 0 === r) return "";
- if (null === r) return ve(a, t);
- if (Array.isArray(r)) {
- var i = [];
- return r.slice().forEach((function(e) {
- void 0 !== e && i.push(n(a, e, i.length))
- })), i.join("&")
- }
- return ve(a, t) + "=" + ve(r, t)
- })).filter((function(e) {
- return e.length > 0
- })).join("&") : ""
- },
- _e = function(e, t, n) {
- this.url = e, this.data = t || {}, this.headers = n
- };
- _e.prototype.send = function(e) {
- if (window.XDomainRequest) {
- var t = new window.XDomainRequest;
- t.open("POST", this.url, !0), t.onload = function() {
- e(200, t.responseText)
- }, t.onerror = function() {
- "Request Entity Too Large" === t.responseText ? e(413, t.responseText) : e(500, t.responseText)
- }, t.ontimeout = function() {}, t.onprogress = function() {}, t.send(ke(this.data))
- } else {
- var n = new XMLHttpRequest;
- n.open("POST", this.url, !0), n.onreadystatechange = function() {
- 4 === n.readyState && e(n.status, n.responseText)
- },
- function(e, t) {
- for (var n in t) e.setRequestHeader(n, t[n])
- }(n, this.headers), n.send(ke(this.data))
- }
- };
- var we = function() {
- this._price = null, this._productId = null, this._quantity = 1, this._revenueType = null, this._properties = null
- };
- we.prototype.setProductId = function(e) {
- return "string" !== _(e) ? M.error("Unsupported type for productId: " + _(e) + ", expecting string") : I(e) ? M.error("Invalid empty productId") : this._productId = e, this
- }, we.prototype.setQuantity = function(e) {
- return "number" !== _(e) ? M.error("Unsupported type for quantity: " + _(e) + ", expecting number") : this._quantity = parseInt(e), this
- }, we.prototype.setPrice = function(e) {
- return "number" !== _(e) ? M.error("Unsupported type for price: " + _(e) + ", expecting number") : this._price = e, this
- }, we.prototype.setRevenueType = function(e) {
- return "string" !== _(e) ? M.error("Unsupported type for revenueType: " + _(e) + ", expecting string") : this._revenueType = e, this
- }, we.prototype.setEventProperties = function(e) {
- return "object" !== _(e) ? M.error("Unsupported type for eventProperties: " + _(e) + ", expecting object") : this._properties = F(e), this
- }, we.prototype._isValidRevenue = function() {
- return "number" === _(this._price) || (M.error("Invalid revenue, need to set price field"), !1)
- }, we.prototype._toJSONObject = function() {
- var e = "object" === _(this._properties) ? this._properties : {};
- return null !== this._productId && (e[g.REVENUE_PRODUCT_ID] = this._productId), null !== this._quantity && (e[g.REVENUE_QUANTITY] = this._quantity), null !== this._price && (e[g.REVENUE_PRICE] = this._price), null !== this._revenueType && (e[g.REVENUE_REVENUE_TYPE] = this._revenueType), e
- };
- var Se = de((function(e, t) {
- ! function(n, a) {
- var r = "function",
- i = "object",
- o = "model",
- s = "name",
- l = "type",
- c = "vendor",
- u = "version",
- d = "architecture",
- p = "console",
- h = "mobile",
- m = "tablet",
- f = "smarttv",
- g = "wearable",
- b = {
- extend: function(e, t) {
- var n = {};
- for (var a in e) t[a] && t[a].length % 2 == 0 ? n[a] = t[a].concat(e[a]) : n[a] = e[a];
- return n
- },
- has: function(e, t) {
- return "string" == typeof e && -1 !== t.toLowerCase().indexOf(e.toLowerCase())
- },
- lowerize: function(e) {
- return e.toLowerCase()
- },
- major: function(e) {
- return "string" == typeof e ? e.replace(/[^\d\.]/g, "").split(".")[0] : a
- },
- trim: function(e) {
- return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "")
+ if (3 === i[0] && (!r || i[1] > r[0] && i[1] < r[3])) {
+ o.label = i[1];
+ break
}
- },
- y = {
- rgx: function(e, t) {
- for (var n, o, s, l, c, u, d = 0; d < t.length && !c;) {
- var p = t[d],
- h = t[d + 1];
- for (n = o = 0; n < p.length && !c;)
- if (c = p[n++].exec(e))
- for (s = 0; s < h.length; s++) u = c[++o], typeof(l = h[s]) === i && l.length > 0 ? 2 == l.length ? typeof l[1] == r ? this[l[0]] = l[1].call(this, u) : this[l[0]] = l[1] : 3 == l.length ? typeof l[1] !== r || l[1].exec && l[1].test ? this[l[0]] = u ? u.replace(l[1], l[2]) : a : this[l[0]] = u ? l[1].call(this, u, l[2]) : a : 4 == l.length && (this[l[0]] = u ? l[3].call(this, u.replace(l[1], l[2])) : a) : this[l] = u || a;
- d += 2
- }
- },
- str: function(e, t) {
- for (var n in t)
- if (typeof t[n] === i && t[n].length > 0) {
- for (var r = 0; r < t[n].length; r++)
- if (b.has(t[n][r], e)) return "?" === n ? a : n
- } else if (b.has(t[n], e)) return "?" === n ? a : n;
- return e
+ if (6 === i[0] && o.label < r[1]) {
+ o.label = r[1], r = i;
+ break
}
- },
- v = {
- browser: {
- oldsafari: {
- version: {
- "1.0": "/8",
- 1.2: "/1",
- 1.3: "/3",
- "2.0": "/412",
- "2.0.2": "/416",
- "2.0.3": "/417",
- "2.0.4": "/419",
- "?": "/"
- }
- }
- },
- device: {
- amazon: {
- model: {
- "Fire Phone": ["SD", "KF"]
- }
- },
- sprint: {
- model: {
- "Evo Shift 4G": "7373KT"
- },
- vendor: {
- HTC: "APA",
- Sprint: "Sprint"
- }
- }
- },
- os: {
- windows: {
- version: {
- ME: "4.90",
- "NT 3.11": "NT3.51",
- "NT 4.0": "NT4.0",
- 2e3: "NT 5.0",
- XP: ["NT 5.1", "NT 5.2"],
- Vista: "NT 6.0",
- 7: "NT 6.1",
- 8: "NT 6.2",
- 8.1: "NT 6.3",
- 10: ["NT 6.4", "NT 10.0"],
- RT: "ARM"
- }
- }
+ if (r && o.label < r[2]) {
+ o.label = r[2], o.ops.push(i);
+ break
}
- },
- k = {
- browser: [
- [/(opera\smini)\/([\w\.-]+)/i, /(opera\s[mobiletab]+).+version\/([\w\.-]+)/i, /(opera).+version\/([\w\.]+)/i, /(opera)[\/\s]+([\w\.]+)/i],
- [s, u],
- [/(opios)[\/\s]+([\w\.]+)/i],
- [
- [s, "Opera Mini"], u
- ],
- [/\s(opr)\/([\w\.]+)/i],
- [
- [s, "Opera"], u
- ],
- [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i, /(avant\s|iemobile|slim)(?:browser)?[\/\s]?([\w\.]*)/i, /(bidubrowser|baidubrowser)[\/\s]?([\w\.]+)/i, /(?:ms|\()(ie)\s([\w\.]+)/i, /(rekonq)\/([\w\.]*)/i, /(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon)\/([\w\.-]+)/i],
- [s, u],
- [/(konqueror)\/([\w\.]+)/i],
- [
- [s, "Konqueror"], u
- ],
- [/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],
- [
- [s, "IE"], u
- ],
- [/(edge|edgios|edga|edg)\/((\d+)?[\w\.]+)/i],
- [
- [s, "Edge"], u
- ],
- [/(yabrowser)\/([\w\.]+)/i],
- [
- [s, "Yandex"], u
- ],
- [/(Avast)\/([\w\.]+)/i],
- [
- [s, "Avast Secure Browser"], u
- ],
- [/(AVG)\/([\w\.]+)/i],
- [
- [s, "AVG Secure Browser"], u
- ],
- [/(puffin)\/([\w\.]+)/i],
- [
- [s, "Puffin"], u
- ],
- [/(focus)\/([\w\.]+)/i],
- [
- [s, "Firefox Focus"], u
- ],
- [/(opt)\/([\w\.]+)/i],
- [
- [s, "Opera Touch"], u
- ],
- [/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],
- [
- [s, "UCBrowser"], u
- ],
- [/(comodo_dragon)\/([\w\.]+)/i],
- [
- [s, /_/g, " "], u
- ],
- [/(windowswechat qbcore)\/([\w\.]+)/i],
- [
- [s, "WeChat(Win) Desktop"], u
- ],
- [/(micromessenger)\/([\w\.]+)/i],
- [
- [s, "WeChat"], u
- ],
- [/(brave)\/([\w\.]+)/i],
- [
- [s, "Brave"], u
- ],
- [/(qqbrowserlite)\/([\w\.]+)/i],
- [s, u],
- [/(QQ)\/([\d\.]+)/i],
- [s, u],
- [/m?(qqbrowser)[\/\s]?([\w\.]+)/i],
- [s, u],
- [/(baiduboxapp)[\/\s]?([\w\.]+)/i],
- [s, u],
- [/(2345Explorer)[\/\s]?([\w\.]+)/i],
- [s, u],
- [/(MetaSr)[\/\s]?([\w\.]+)/i],
- [s],
- [/(LBBROWSER)/i],
- [s],
- [/xiaomi\/miuibrowser\/([\w\.]+)/i],
- [u, [s, "MIUI Browser"]],
- [/;fbav\/([\w\.]+);/i],
- [u, [s, "Facebook"]],
- [/safari\s(line)\/([\w\.]+)/i, /android.+(line)\/([\w\.]+)\/iab/i],
- [s, u],
- [/headlesschrome(?:\/([\w\.]+)|\s)/i],
- [u, [s, "Chrome Headless"]],
- [/\swv\).+(chrome)\/([\w\.]+)/i],
- [
- [s, /(.+)/, "$1 WebView"], u
- ],
- [/((?:oculus|samsung)browser)\/([\w\.]+)/i],
- [
- [s, /(.+(?:g|us))(.+)/, "$1 $2"], u
- ],
- [/((?:android.+)crmo|crios)\/([\w\.]+)/i, /android.+(chrome)\/([\w\.]+)\s+(?:mobile\s?safari)/i],
- [
- [s, "Chrome Mobile"], u
- ],
- [/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],
- [u, [s, "Android Browser"]],
- [/(sailfishbrowser)\/([\w\.]+)/i],
- [
- [s, "Sailfish Browser"], u
- ],
- [/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],
- [s, u],
- [/(dolfin)\/([\w\.]+)/i],
- [
- [s, "Dolphin"], u
- ],
- [/(qihu|qhbrowser|qihoobrowser|360browser)/i],
- [
- [s, "360 Browser"]
- ],
- [/(coast)\/([\w\.]+)/i],
- [
- [s, "Opera Coast"], u
- ],
- [/fxios\/([\w\.-]+)/i],
- [u, [s, "Firefox"]],
- [/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],
- [u, [s, "Mobile Safari"]],
- [/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],
- [u, s],
- [/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],
- [
- [s, "GSA"], u
- ],
- [/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],
- [s, [u, y.str, v.browser.oldsafari.version]],
- [/(webkit|khtml)\/([\w\.]+)/i],
- [s, u],
- [/(navigator|netscape)\/([\w\.-]+)/i],
- [
- [s, "Netscape"], u
- ],
- [/(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i, /(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)/i, /(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i, /(links)\s\(([\w\.]+)/i, /(gobrowser)\/?([\w\.]*)/i, /(ice\s?browser)\/v?([\w\._]+)/i, /(mosaic)[\/\s]([\w\.]+)/i],
- [s, u]
- ],
- cpu: [
- [/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],
- [
- [d, "amd64"]
- ],
- [/(ia32(?=;))/i],
- [
- [d, b.lowerize]
- ],
- [/((?:i[346]|x)86)[;\)]/i],
- [
- [d, "ia32"]
- ],
- [/windows\s(ce|mobile);\sppc;/i],
- [
- [d, "arm"]
- ],
- [/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],
- [
- [d, /ower/, "", b.lowerize]
- ],
- [/(sun4\w)[;\)]/i],
- [
- [d, "sparc"]
- ],
- [/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+[;l]))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],
- [
- [d, b.lowerize]
- ]
- ],
- device: [
- [/\((ipad|playbook);[\w\s\),;-]+(rim|apple)/i],
- [o, c, [l, m]],
- [/applecoremedia\/[\w\.]+ \((ipad)/],
- [o, [c, "Apple"],
- [l, m]
- ],
- [/(apple\s{0,1}tv)/i],
- [
- [o, "Apple TV"],
- [c, "Apple"],
- [l, f]
- ],
- [/(archos)\s(gamepad2?)/i, /(hp).+(touchpad)/i, /(hp).+(tablet)/i, /(kindle)\/([\w\.]+)/i, /\s(nook)[\w\s]+build\/(\w+)/i, /(dell)\s(strea[kpr\s\d]*[\dko])/i],
- [c, o, [l, m]],
- [/(kf[A-z]+)\sbuild\/.+silk\//i],
- [o, [c, "Amazon"],
- [l, m]
- ],
- [/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i],
- [
- [o, y.str, v.device.amazon.model],
- [c, "Amazon"],
- [l, h]
- ],
- [/android.+aft([bms])\sbuild/i],
- [o, [c, "Amazon"],
- [l, f]
- ],
- [/\((ip[honed|\s\w*]+);.+(apple)/i],
- [o, c, [l, h]],
- [/\((ip[honed|\s\w*]+);/i],
- [o, [c, "Apple"],
- [l, h]
- ],
- [/(blackberry)[\s-]?(\w+)/i, /(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i, /(hp)\s([\w\s]+\w)/i, /(asus)-?(\w+)/i],
- [c, o, [l, h]],
- [/\(bb10;\s(\w+)/i],
- [o, [c, "BlackBerry"],
- [l, h]
- ],
- [/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone|p00c)/i],
- [o, [c, "Asus"],
- [l, m]
- ],
- [/(sony)\s(tablet\s[ps])\sbuild\//i, /(sony)?(?:sgp.+)\sbuild\//i],
- [
- [c, "Sony"],
- [o, "Xperia Tablet"],
- [l, m]
- ],
- [/android.+\s([c-g]\d{4}|so[-l]\w+)(?=\sbuild\/|\).+chrome\/(?![1-6]{0,1}\d\.))/i],
- [o, [c, "Sony"],
- [l, h]
- ],
- [/\s(ouya)\s/i, /(nintendo)\s([wids3u]+)/i],
- [c, o, [l, p]],
- [/android.+;\s(shield)\sbuild/i],
- [o, [c, "Nvidia"],
- [l, p]
- ],
- [/(playstation\s[34portablevi]+)/i],
- [o, [c, "Sony"],
- [l, p]
- ],
- [/(sprint\s(\w+))/i],
- [
- [c, y.str, v.device.sprint.vendor],
- [o, y.str, v.device.sprint.model],
- [l, h]
- ],
- [/(htc)[;_\s-]+([\w\s]+(?=\)|\sbuild)|\w+)/i, /(zte)-(\w*)/i, /(alcatel|geeksphone|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],
- [c, [o, /_/g, " "],
- [l, h]
- ],
- [/(nexus\s9)/i],
- [o, [c, "HTC"],
- [l, m]
- ],
- [/d\/huawei([\w\s-]+)[;\)]/i, /(nexus\s6p|vog-l29|ane-lx1|eml-l29)/i],
- [o, [c, "Huawei"],
- [l, h]
- ],
- [/android.+(bah2?-a?[lw]\d{2})/i],
- [o, [c, "Huawei"],
- [l, m]
- ],
- [/(microsoft);\s(lumia[\s\w]+)/i],
- [c, o, [l, h]],
- [/[\s\(;](xbox(?:\sone)?)[\s\);]/i],
- [o, [c, "Microsoft"],
- [l, p]
- ],
- [/(kin\.[onetw]{3})/i],
- [
- [o, /\./g, " "],
- [c, "Microsoft"],
- [l, h]
- ],
- [/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i, /mot[\s-]?(\w*)/i, /(XT\d{3,4}) build\//i, /(nexus\s6)/i],
- [o, [c, "Motorola"],
- [l, h]
- ],
- [/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],
- [o, [c, "Motorola"],
- [l, m]
- ],
- [/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],
- [
- [c, b.trim],
- [o, b.trim],
- [l, f]
- ],
- [/hbbtv.+maple;(\d+)/i],
- [
- [o, /^/, "SmartTV"],
- [c, "Samsung"],
- [l, f]
- ],
- [/\(dtv[\);].+(aquos)/i],
- [o, [c, "Sharp"],
- [l, f]
- ],
- [/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i, /((SM-T\w+))/i],
- [
- [c, "Samsung"], o, [l, m]
- ],
- [/smart-tv.+(samsung)/i],
- [c, [l, f], o],
- [/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i, /(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i, /sec-((sgh\w+))/i],
- [
- [c, "Samsung"], o, [l, h]
- ],
- [/sie-(\w*)/i],
- [o, [c, "Siemens"],
- [l, h]
- ],
- [/(maemo|nokia).*(n900|lumia\s\d+)/i, /(nokia)[\s_-]?([\w-]*)/i],
- [
- [c, "Nokia"], o, [l, h]
- ],
- [/android[x\d\.\s;]+\s([ab][1-7]\-?[0178a]\d\d?)/i],
- [o, [c, "Acer"],
- [l, m]
- ],
- [/android.+([vl]k\-?\d{3})\s+build/i],
- [o, [c, "LG"],
- [l, m]
- ],
- [/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],
- [
- [c, "LG"], o, [l, m]
- ],
- [/(lg) netcast\.tv/i],
- [c, o, [l, f]],
- [/(nexus\s[45])/i, /lg[e;\s\/-]+(\w*)/i, /android.+lg(\-?[\d\w]+)\s+build/i],
- [o, [c, "LG"],
- [l, h]
- ],
- [/(lenovo)\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+))/i],
- [c, o, [l, m]],
- [/android.+(ideatab[a-z0-9\-\s]+)/i],
- [o, [c, "Lenovo"],
- [l, m]
- ],
- [/(lenovo)[_\s-]?([\w-]+)/i],
- [c, o, [l, h]],
- [/linux;.+((jolla));/i],
- [c, o, [l, h]],
- [/((pebble))app\/[\d\.]+\s/i],
- [c, o, [l, g]],
- [/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],
- [c, o, [l, h]],
- [/crkey/i],
- [
- [o, "Chromecast"],
- [c, "Google"],
- [l, f]
- ],
- [/android.+;\s(glass)\s\d/i],
- [o, [c, "Google"],
- [l, g]
- ],
- [/android.+;\s(pixel c)[\s)]/i],
- [o, [c, "Google"],
- [l, m]
- ],
- [/android.+;\s(pixel( [23])?( xl)?)[\s)]/i],
- [o, [c, "Google"],
- [l, h]
- ],
- [/android.+;\s(\w+)\s+build\/hm\1/i, /android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i, /android.+(mi[\s\-_]*(?:a\d|one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i, /android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i],
- [
- [o, /_/g, " "],
- [c, "Xiaomi"],
- [l, h]
- ],
- [/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i],
- [
- [o, /_/g, " "],
- [c, "Xiaomi"],
- [l, m]
- ],
- [/android.+;\s(m[1-5]\snote)\sbuild/i],
- [o, [c, "Meizu"],
- [l, h]
- ],
- [/(mz)-([\w-]{2,})/i],
- [
- [c, "Meizu"], o, [l, h]
- ],
- [/android.+a000(1)\s+build/i, /android.+oneplus\s(a\d{4})[\s)]/i],
- [o, [c, "OnePlus"],
- [l, h]
- ],
- [/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],
- [o, [c, "RCA"],
- [l, m]
- ],
- [/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i],
- [o, [c, "Dell"],
- [l, m]
- ],
- [/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],
- [o, [c, "Verizon"],
- [l, m]
- ],
- [/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],
- [
- [c, "Barnes & Noble"], o, [l, m]
- ],
- [/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],
- [o, [c, "NuVision"],
- [l, m]
- ],
- [/android.+;\s(k88)\sbuild/i],
- [o, [c, "ZTE"],
- [l, m]
- ],
- [/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],
- [o, [c, "Swiss"],
- [l, h]
- ],
- [/android.+[;\/]\s*(zur\d{3})\s+build/i],
- [o, [c, "Swiss"],
- [l, m]
- ],
- [/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],
- [o, [c, "Zeki"],
- [l, m]
- ],
- [/(android).+[;\/]\s+([YR]\d{2})\s+build/i, /android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],
- [
- [c, "Dragon Touch"], o, [l, m]
- ],
- [/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],
- [o, [c, "Insignia"],
- [l, m]
- ],
- [/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i],
- [o, [c, "NextBook"],
- [l, m]
- ],
- [/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],
- [
- [c, "Voice"], o, [l, h]
- ],
- [/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i],
- [
- [c, "LvTel"], o, [l, h]
- ],
- [/android.+;\s(PH-1)\s/i],
- [o, [c, "Essential"],
- [l, h]
- ],
- [/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],
- [o, [c, "Envizen"],
- [l, m]
- ],
- [/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i],
- [c, o, [l, m]],
- [/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],
- [o, [c, "MachSpeed"],
- [l, m]
- ],
- [/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],
- [c, o, [l, m]],
- [/android.+[;\/]\s*TU_(1491)\s+build/i],
- [o, [c, "Rotor"],
- [l, m]
- ],
- [/android.+(KS(.+))\s+build/i],
- [o, [c, "Amazon"],
- [l, m]
- ],
- [/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i],
- [c, o, [l, m]],
- [/\s(tablet|tab)[;\/]/i, /\s(mobile)(?:[;\/]|\ssafari)/i],
- [
- [l, b.lowerize], c, o
- ],
- [/[\s\/\(](smart-?tv)[;\)]/i],
- [
- [l, f]
- ],
- [/(android[\w\.\s\-]{0,9});.+build/i],
- [o, [c, "Generic"]]
- ],
- engine: [
- [/windows.+\sedge\/([\w\.]+)/i],
- [u, [s, "EdgeHTML"]],
- [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],
- [u, [s, "Blink"]],
- [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i, /(icab)[\/\s]([23]\.[\d\.]+)/i],
- [s, u],
- [/rv\:([\w\.]{1,9}).+(gecko)/i],
- [u, s]
- ],
- os: [
- [/microsoft\s(windows)\s(vista|xp)/i],
- [s, u],
- [/(windows)\snt\s6\.2;\s(arm)/i, /(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i, /(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],
- [
- [s, y.str, v.os.windows.name],
- [u, y.str, v.os.windows.version]
- ],
- [/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],
- [
- [s, "Windows"],
- [u, y.str, v.os.windows.version]
- ],
- [/\((bb)(10);/i],
- [
- [s, "BlackBerry"], u
- ],
- [/(blackberry)\w*\/?([\w\.]*)/i, /(tizen|kaios)[\/\s]([\w\.]+)/i, /(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|sailfish|contiki)[\/\s-]?([\w\.]*)/i],
- [s, u],
- [/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i],
- [
- [s, "Symbian"], u
- ],
- [/\((series40);/i],
- [s],
- [/mozilla.+\(mobile;.+gecko.+firefox/i],
- [
- [s, "Firefox OS"], u
- ],
- [/(nintendo|playstation)\s([wids34portablevu]+)/i, /(mint)[\/\s\(]?(\w*)/i, /(mageia|vectorlinux)[;\s]/i, /(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i, /(hurd|linux)\s?([\w\.]*)/i, /(gnu)\s?([\w\.]*)/i],
- [
- [s, "Linux"], u
- ],
- [/(cros)\s[\w]+\s([\w\.]+\w)/i],
- [
- [s, "Chromium OS"], u
- ],
- [/(sunos)\s?([\w\.\d]*)/i],
- [
- [s, "Solaris"], u
- ],
- [/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i],
- [
- [s, "Linux"], u
- ],
- [/(iphone)(?:.*os\s*([\w]*)\slike\smac|;\sopera)/i],
- [
- [s, "iPhone"],
- [u, /_/g, "."]
- ],
- [/(ipad)(?:.*os\s*([\w]*)\slike\smac|;\sopera)/i],
- [
- [s, "iPad"],
- [u, /_/g, "."]
- ],
- [/(haiku)\s(\w+)/i],
- [s, u],
- [/cfnetwork\/.+darwin/i, /ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],
- [
- [u, /_/g, "."],
- [s, "iOS"]
- ],
- [/(mac\sos\sx)\s?([\w\s\.]*)/i, /(macintosh|mac(?=_powerpc)\s)/i],
- [
- [s, "Mac"],
- [u, /_/g, "."]
- ],
- [/((?:open)?solaris)[\/\s-]?([\w\.]*)/i, /(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i, /(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms|fuchsia)/i, /(unix)\s?([\w\.]*)/i],
- [s, u]
- ]
- },
- _ = function(e, t) {
- if ("object" == typeof e && (t = e, e = a), !(this instanceof _)) return new _(e, t).getResult();
- var r = e || (n && n.navigator && n.navigator.userAgent ? n.navigator.userAgent : ""),
- i = t ? b.extend(k, t) : k;
- return this.getBrowser = function() {
- var e = {
- name: a,
- version: a
- };
- return y.rgx.call(e, r, i.browser), e.major = b.major(e.version), e
- }, this.getCPU = function() {
- var e = {
- architecture: a
- };
- return y.rgx.call(e, r, i.cpu), e
- }, this.getDevice = function() {
- var e = {
- vendor: a,
- model: a,
- type: a
- };
- return y.rgx.call(e, r, i.device), e
- }, this.getEngine = function() {
- var e = {
- name: a,
- version: a
- };
- return y.rgx.call(e, r, i.engine), e
- }, this.getOS = function() {
- var e = {
- name: a,
- version: a
- };
- return y.rgx.call(e, r, i.os), e
- }, this.getResult = function() {
- return {
- ua: this.getUA(),
- browser: this.getBrowser(),
- engine: this.getEngine(),
- os: this.getOS(),
- device: this.getDevice(),
- cpu: this.getCPU()
- }
- }, this.getUA = function() {
- return r
- }, this.setUA = function(e) {
- return r = e, this
- }, this
- };
- _.VERSION = "0.7.21", _.BROWSER = {
- NAME: s,
- MAJOR: "major",
- VERSION: u
- }, _.CPU = {
- ARCHITECTURE: d
- }, _.DEVICE = {
- MODEL: o,
- VENDOR: c,
- TYPE: l,
- CONSOLE: p,
- MOBILE: h,
- SMARTTV: f,
- TABLET: m,
- WEARABLE: g,
- EMBEDDED: "embedded"
- }, _.ENGINE = {
- NAME: s,
- VERSION: u
- }, _.OS = {
- NAME: s,
- VERSION: u
- }, e.exports && (t = e.exports = _), t.UAParser = _;
- var w = n && (n.jQuery || n.Zepto);
- if (w && !w.ua) {
- var S = new _;
- w.ua = S.getResult(), w.ua.get = function() {
- return S.getUA()
- }, w.ua.set = function(e) {
- S.setUA(e);
- var t = S.getResult();
- for (var n in t) w.ua[n] = t[n]
- }
+ r[2] && o.ops.pop(), o.trys.pop();
+ continue
}
- }("object" == typeof window ? window : ue)
- })),
- Ee = (Se.UAParser, function e(t) {
- return t ? (t ^ 16 * Math.random() >> t / 4).toString(16) : ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, e)
- }),
- xe = "8.2.1",
- Ce = {
- apiEndpoint: "api.amplitude.com",
- batchEvents: !1,
- cookieExpiration: 365,
- cookieName: "amplitude_id",
- sameSiteCookie: "Lax",
- cookieForceUpgrade: !1,
- deferInitialization: !1,
- disableCookies: !1,
- deviceIdFromUrlParam: !1,
- domain: "",
- eventUploadPeriodMillis: 3e4,
- eventUploadThreshold: 30,
- forceHttps: !0,
- includeFbclid: !1,
- includeGclid: !1,
- includeReferrer: !1,
- includeUtm: !1,
- language: navigator && (navigator.languages && navigator.languages[0] || navigator.language || navigator.userLanguage) || "",
- logLevel: "WARN",
- logAttributionCapturedEvent: !1,
- optOut: !1,
- onError: function() {},
- platform: "Web",
- savedMaxCount: 1e3,
- saveEvents: !0,
- saveParamsReferrerOncePerSession: !0,
- secureCookie: !1,
- sessionTimeout: 18e5,
- storage: g.STORAGE_DEFAULT,
- trackingOptions: {
- city: !0,
- country: !0,
- carrier: !0,
- device_manufacturer: !0,
- device_model: !0,
- dma: !0,
- ip_address: !0,
- language: !0,
- os_name: !0,
- os_version: !0,
- platform: !0,
- region: !0,
- version_name: !0
- },
- unsetParamsReferrerOnNewSession: !1,
- unsentKey: "amplitude_unsent",
- unsentIdentifyKey: "amplitude_unsent_identify",
- uploadBatchSize: 100,
- headers: {
- "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
- }
- },
- Ae = function(e) {
- u() || M.warn("amplitude-js will not work in a non-browser environment. If you are planning to add Amplitude to a node environment, please use @amplitude/node"), this._instanceName = I(e) ? g.DEFAULT_INSTANCE : e.toLowerCase(), this._unsentEvents = [], this._unsentIdentifys = [], this._ua = new Se(navigator.userAgent).getResult(), this.options = i({}, Ce, {
- trackingOptions: i({}, Ce.trackingOptions)
- }), this.cookieStorage = (new ie).getStorage(), this._q = [], this._sending = !1, this._updateScheduled = !1, this._onInit = [], this._eventId = 0, this._identifyId = 0, this._lastEventTime = null, this._newSession = !1, this._sequenceNumber = 0, this._sessionId = null, this._isInitialized = !1, this._userAgent = navigator && navigator.userAgent || null
- };
- Ae.prototype.Identify = ce, Ae.prototype.Revenue = we, Ae.prototype.init = function(e, t, n, a) {
- var r = this;
- if ("string" !== _(e) || I(e)) M.error("Invalid apiKey. Please re-initialize with a valid apiKey");
- else try {
- Pe(this.options, n), u() && void 0 !== window.Prototype && Array.prototype.toJSON && (function() {
- var e;
- if (u()) {
- var t = window,
- n = Array;
- if (void 0 !== t.Prototype && void 0 !== (null === (e = n.prototype) || void 0 === e ? void 0 : e.toJSON)) return delete n.prototype.toJSON, !0
- }
- }(), M.warn("Prototype.js injected Array.prototype.toJSON. Deleting Array.prototype.toJSON to prevent double-stringify")), this.options.cookieName !== Ce.cookieName && M.warn("The cookieName option is deprecated. We will be ignoring it for newer cookies"), this.options.apiKey = e, this._storageSuffix = "_" + e + (this._instanceName === g.DEFAULT_INSTANCE ? "" : "_" + this._instanceName), this._storageSuffixV5 = e.slice(0, 6), this._oldCookiename = this.options.cookieName + this._storageSuffix, this._unsentKey = this.options.unsentKey + this._storageSuffix, this._unsentIdentifyKey = this.options.unsentIdentifyKey + this._storageSuffix, this._cookieName = g.COOKIE_PREFIX + "_" + this._storageSuffixV5, this.cookieStorage.options({
- expirationDays: this.options.cookieExpiration,
- domain: this.options.domain,
- secure: this.options.secureCookie,
- sameSite: this.options.sameSiteCookie
- }), this._metadataStorage = new se({
- storageKey: this._cookieName,
- disableCookies: this.options.disableCookies,
- expirationDays: this.options.cookieExpiration,
- domain: this.options.domain,
- secure: this.options.secureCookie,
- sameSite: this.options.sameSiteCookie,
- storage: this.options.storage
- });
- var i = !!this.cookieStorage.get(this._oldCookiename),
- o = !!this._metadataStorage.load();
- this._useOldCookie = !o && i && !this.options.cookieForceUpgrade;
- var s = o || i;
- if (this.options.domain = this.cookieStorage.options().domain, this.options.deferInitialization && !s) return void this._deferInitialization(e, t, n, a);
- "string" === _(this.options.logLevel) && O(this.options.logLevel);
- var l = Re(this);
- this._apiPropertiesTrackingOptions = Object.keys(l).length > 0 ? {
- tracking_options: l
- } : {}, this.options.cookieForceUpgrade && i && (o || Te(this), this.cookieStorage.remove(this._oldCookiename)), De(this), this._pendingReadStorage = !0;
- this.options.saveEvents && (this._unsentEvents = this._loadSavedUnsentEvents(this.options.unsentKey).map((function(e) {
- return {
- event: e
- }
- })).concat(this._unsentEvents), this._unsentIdentifys = this._loadSavedUnsentEvents(this.options.unsentIdentifyKey).map((function(e) {
- return {
- event: e
- }
- })).concat(this._unsentIdentifys)),
- function(e) {
- r.options.deviceId = r._getInitialDeviceId(n && n.deviceId, e), r.options.userId = "string" === _(t) && !I(t) && t || "number" === _(t) && t.toString() || r.options.userId || null;
- var a = (new Date).getTime();
- (!r._sessionId || !r._lastEventTime || a - r._lastEventTime > r.options.sessionTimeout) && (r.options.unsetParamsReferrerOnNewSession && r._unsetUTMParams(), r._newSession = !0, r._sessionId = a, r.options.saveParamsReferrerOncePerSession && r._trackParamsAndReferrer()), r.options.saveParamsReferrerOncePerSession || r._trackParamsAndReferrer(), r.options.saveEvents && (je(r._unsentEvents), je(r._unsentIdentifys)), r._lastEventTime = a, Me(r), r._pendingReadStorage = !1, r._sendEventsIfReady();
- for (var i = 0; i < r._onInit.length; i++) r._onInit[i](r);
- r._onInit = [], r._isInitialized = !0
- }(), this.runQueuedFunctions(), "function" === _(a) && a(this)
- } catch (e) {
- M.error(e), "function" === _(n.onError) && n.onError(e)
- }
- }, Ae.prototype.deleteLowerLevelDomainCookies = function() {
- var e = G(),
- t = this.options.domain && "." === this.options.domain[0] ? this.options.domain.slice(1) : this.options.domain;
- if (t && e !== t && new RegExp(t + "$").test(e)) {
- for (var n = e.split("."), a = t.split("."), r = n.length; r > a.length; --r) {
- var i = n.slice(n.length - r).join(".");
- V(this._cookieName, null, {
- domain: "." + i
- })
- }
- V(this._cookieName, null, {})
- }
- }, Ae.prototype._getInitialDeviceId = function(e, t) {
- if (e) return e;
- if (this.options.deviceIdFromUrlParam) {
- var n = this._getDeviceIdFromUrlParam(this._getUrlParams());
- if (n) return n
- }
- return this.options.deviceId ? this.options.deviceId : t || B()
- };
- var je = function(e) {
- for (var t = 0; t < e.length; t++) {
- var n = e[t].event.user_properties,
- a = e[t].event.event_properties,
- r = e[t].event.groups;
- e[t].event.user_properties = F(n), e[t].event.event_properties = F(a), e[t].event.groups = R(r)
- }
- };
- Ae.prototype._trackParamsAndReferrer = function() {
- var e, t, n, a;
- if (this.options.includeUtm && (e = this._initUtmData()), this.options.includeReferrer && (t = this._saveReferrer(this._getReferrer())), this.options.includeGclid && (n = this._saveGclid(this._getUrlParams())), this.options.includeFbclid && (a = this._saveFbclid(this._getUrlParams())), this.options.logAttributionCapturedEvent) {
- var r = i({}, e, t, n, a);
- Object.keys(r).length > 0 && this.logEvent(g.ATTRIBUTION_EVENT, r)
- }
- };
- var Pe = function e(t, n) {
- if ("object" === _(n)) {
- var a = new Set(["headers"]),
- r = function(a) {
- if (Object.prototype.hasOwnProperty.call(t, a)) {
- var r = n[a],
- i = _(t[a]);
- L(r, a + " option", i) && ("boolean" === i ? t[a] = !!r : "string" === i && !I(r) || "number" === i && r > 0 || "function" === i ? t[a] = r : "object" === i && e(t[a], r))
- }
- };
- for (var o in n) a.has(o) ? t[o] = i({}, t[o], n[o]) : Object.prototype.hasOwnProperty.call(n, o) && r(o)
- }
- };
- Ae.prototype.runQueuedFunctions = function() {
- var e = this._q;
- this._q = [];
- for (var t = 0; t < e.length; t++) {
- var n = this[e[t][0]];
- "function" === _(n) && n.apply(this, e[t].slice(1))
- }
- }, Ae.prototype._apiKeySet = function(e) {
- return !I(this.options.apiKey) || (M.error("Invalid apiKey. Please set a valid apiKey with init() before calling " + e), !1)
- }, Ae.prototype._loadSavedUnsentEvents = function(e) {
- var t = this._getFromStorage(re, e),
- n = this._parseSavedUnsentEventsString(t, e);
- return this._setInStorage(re, e, JSON.stringify(n)), n
- }, Ae.prototype._parseSavedUnsentEventsString = function(e, t) {
- if (I(e)) return [];
- if ("string" === _(e)) try {
- var n = JSON.parse(e);
- if ("array" === _(n)) return n
- } catch (e) {}
- return M.error("Unable to load " + t + " events. Restart with a new empty queue."), []
- }, Ae.prototype.isNewSession = function() {
- return this._newSession
- }, Ae.prototype.onInit = function(e) {
- this._isInitialized ? e(this) : this._onInit.push(e)
- }, Ae.prototype.getSessionId = function() {
- return this._sessionId
- }, Ae.prototype.nextEventId = function() {
- return this._eventId++, this._eventId
- }, Ae.prototype.nextIdentifyId = function() {
- return this._identifyId++, this._identifyId
- }, Ae.prototype.nextSequenceNumber = function() {
- return this._sequenceNumber++, this._sequenceNumber
- }, Ae.prototype._unsentCount = function() {
- return this._unsentEvents.length + this._unsentIdentifys.length
- }, Ae.prototype._sendEventsIfReady = function() {
- return 0 !== this._unsentCount() && (this.options.batchEvents ? this._unsentCount() >= this.options.eventUploadThreshold ? (this.sendEvents(), !0) : (this._updateScheduled || (this._updateScheduled = !0, setTimeout(function() {
- this._updateScheduled = !1, this.sendEvents()
- }.bind(this), this.options.eventUploadPeriodMillis)), !1) : (this.sendEvents(), !0))
- }, Ae.prototype._getFromStorage = function(e, t) {
- return e.getItem(t + this._storageSuffix)
- }, Ae.prototype._setInStorage = function(e, t, n) {
- e.setItem(t + this._storageSuffix, n)
- };
- var De = function(e) {
- if (e._useOldCookie) {
- var t = e.cookieStorage.get(e._oldCookiename);
- "object" !== _(t) || Oe(e, t)
- } else {
- var n = e._metadataStorage.load();
- "object" === _(n) && Oe(e, n)
- }
- },
- Te = function(e) {
- var t = e.cookieStorage.get(e._oldCookiename);
- "object" === _(t) && (Oe(e, t), Me(e))
- },
- Oe = function(e, t) {
- t.deviceId && (e.options.deviceId = t.deviceId), t.userId && (e.options.userId = t.userId), null !== t.optOut && void 0 !== t.optOut && !1 !== t.optOut && (e.options.optOut = t.optOut), t.sessionId && (e._sessionId = parseInt(t.sessionId, 10)), t.lastEventTime && (e._lastEventTime = parseInt(t.lastEventTime, 10)), t.eventId && (e._eventId = parseInt(t.eventId, 10)), t.identifyId && (e._identifyId = parseInt(t.identifyId, 10)), t.sequenceNumber && (e._sequenceNumber = parseInt(t.sequenceNumber, 10))
- },
- Me = function(e) {
- var t = {
- deviceId: e.options.deviceId,
- userId: e.options.userId,
- optOut: e.options.optOut,
- sessionId: e._sessionId,
- lastEventTime: e._lastEventTime,
- eventId: e._eventId,
- identifyId: e._identifyId,
- sequenceNumber: e._sequenceNumber
- };
- e._useOldCookie ? e.cookieStorage.set(e.options.cookieName + e._storageSuffix, t) : e._metadataStorage.save(t)
- };
- Ae.prototype._initUtmData = function(e, t) {
- e = e || this._getUrlParams(), t = t || this.cookieStorage.get("__utmz");
- var n, a, r, i, o, s, l, c, u, d, p, h = (a = e, r = (n = t) ? "?" + n.split(".").slice(-1)[0].replace(/\|/g, "&") : "", i = function(e, t, n, a) {
- return N(e, t) || N(n, a)
- }, o = i(g.UTM_SOURCE, a, "utmcsr", r), s = i(g.UTM_MEDIUM, a, "utmcmd", r), l = i(g.UTM_CAMPAIGN, a, "utmccn", r), c = i(g.UTM_TERM, a, "utmctr", r), u = i(g.UTM_CONTENT, a, "utmcct", r), d = {}, (p = function(e, t) {
- I(t) || (d[e] = t)
- })(g.UTM_SOURCE, o), p(g.UTM_MEDIUM, s), p(g.UTM_CAMPAIGN, l), p(g.UTM_TERM, c), p(g.UTM_CONTENT, u), d);
- return Ie(this, h), h
- }, Ae.prototype._unsetUTMParams = function() {
- var e = new ce;
- e.unset(g.REFERRER), e.unset(g.UTM_SOURCE), e.unset(g.UTM_MEDIUM), e.unset(g.UTM_CAMPAIGN), e.unset(g.UTM_TERM), e.unset(g.UTM_CONTENT), this.identify(e)
- };
- var Ie = function(e, t) {
- if ("object" === _(t) && 0 !== Object.keys(t).length) {
- var n = new ce;
- for (var a in t) Object.prototype.hasOwnProperty.call(t, a) && (n.setOnce("initial_" + a, t[a]), n.set(a, t[a]));
- e.identify(n)
- }
- };
- Ae.prototype._getReferrer = function() {
- return document.referrer
- }, Ae.prototype._getUrlParams = function() {
- return location.search
- }, Ae.prototype._saveGclid = function(e) {
- var t = N("gclid", e);
- if (!I(t)) {
- var n = {
- gclid: t
- };
- return Ie(this, n), n
- }
- }, Ae.prototype._saveFbclid = function(e) {
- var t = N("fbclid", e);
- if (!I(t)) {
- var n = {
- fbclid: t
- };
- return Ie(this, n), n
- }
- }, Ae.prototype._getDeviceIdFromUrlParam = function(e) {
- return N(g.AMP_DEVICE_ID_PARAM, e)
- }, Ae.prototype._getReferringDomain = function(e) {
- if (I(e)) return null;
- var t = e.split("/");
- return t.length >= 3 ? t[2] : null
- }, Ae.prototype._saveReferrer = function(e) {
- if (!I(e)) {
- var t = {
- referrer: e,
- referring_domain: this._getReferringDomain(e)
- };
- return Ie(this, t), t
- }
- }, Ae.prototype.saveEvents = function() {
- try {
- var e = JSON.stringify(this._unsentEvents.map((function(e) {
- return e.event
- })));
- this._setInStorage(re, this.options.unsentKey, e)
- } catch (e) {}
- try {
- var t = JSON.stringify(this._unsentIdentifys.map((function(e) {
- return e.event
- })));
- this._setInStorage(re, this.options.unsentIdentifyKey, t)
- } catch (e) {}
- }, Ae.prototype.setDomain = function(e) {
- if (this._shouldDeferCall()) return this._q.push(["setDomain"].concat(Array.prototype.slice.call(arguments, 0)));
- if (L(e, "domain", "string")) try {
- this.cookieStorage.options({
- expirationDays: this.options.cookieExpiration,
- secure: this.options.secureCookie,
- domain: e,
- sameSite: this.options.sameSiteCookie
- }), this.options.domain = this.cookieStorage.options().domain, De(this), Me(this)
- } catch (e) {
- M.error(e)
- }
- }, Ae.prototype.setUserId = function(e) {
- if (this._shouldDeferCall()) return this._q.push(["setUserId"].concat(Array.prototype.slice.call(arguments, 0)));
- try {
- this.options.userId = null != e && "" + e || null, Me(this)
- } catch (e) {
- M.error(e)
- }
- }, Ae.prototype.setGroup = function(e, t) {
- if (this._shouldDeferCall()) return this._q.push(["setGroup"].concat(Array.prototype.slice.call(arguments, 0)));
- if (this._apiKeySet("setGroup()") && L(e, "groupType", "string") && !I(e)) {
- var n = {};
- n[e] = t;
- var a = (new ce).set(e, t);
- this._logEvent(g.IDENTIFY_EVENT, null, null, a.userPropertiesOperations, n, null, null, null)
- }
- }, Ae.prototype.setOptOut = function(e) {
- if (this._shouldDeferCall()) return this._q.push(["setOptOut"].concat(Array.prototype.slice.call(arguments, 0)));
- if (L(e, "enable", "boolean")) try {
- this.options.optOut = e, Me(this)
- } catch (e) {
- M.error(e)
- }
- }, Ae.prototype.setSessionId = function(e) {
- if (L(e, "sessionId", "number")) try {
- this._sessionId = e, Me(this)
- } catch (e) {
- M.error(e)
- }
- }, Ae.prototype.resetSessionId = function() {
- this.setSessionId((new Date).getTime())
- }, Ae.prototype.regenerateDeviceId = function() {
- if (this._shouldDeferCall()) return this._q.push(["regenerateDeviceId"].concat(Array.prototype.slice.call(arguments, 0)));
- this.setDeviceId(B())
- }, Ae.prototype.setDeviceId = function(e) {
- if (this._shouldDeferCall()) return this._q.push(["setDeviceId"].concat(Array.prototype.slice.call(arguments, 0)));
- if (L(e, "deviceId", "string")) try {
- I(e) || (this.options.deviceId = "" + e, Me(this))
- } catch (e) {
- M.error(e)
- }
- }, Ae.prototype.setUserProperties = function(e) {
- if (this._shouldDeferCall()) return this._q.push(["setUserProperties"].concat(Array.prototype.slice.call(arguments, 0)));
- if (this._apiKeySet("setUserProperties()") && L(e, "userProperties", "object")) {
- var t = z(F(e));
- if (0 !== Object.keys(t).length) {
- var n = new ce;
- for (var a in t) Object.prototype.hasOwnProperty.call(t, a) && n.set(a, t[a]);
- this.identify(n)
- }
- }
- }, Ae.prototype.clearUserProperties = function() {
- if (this._shouldDeferCall()) return this._q.push(["clearUserProperties"].concat(Array.prototype.slice.call(arguments, 0)));
- if (this._apiKeySet("clearUserProperties()")) {
- var e = new ce;
- e.clearAll(), this.identify(e)
- }
- };
- var Ne = function(e, t) {
- for (var n = 0; n < t._q.length; n++) {
- var a = e[t._q[n][0]];
- "function" === _(a) && a.apply(e, t._q[n].slice(1))
- }
- return e
- };
- Ae.prototype.identify = function(e, t) {
- if (this._shouldDeferCall()) return this._q.push(["identify"].concat(Array.prototype.slice.call(arguments, 0)));
- if (this._apiKeySet("identify()"))
- if ("object" === _(e) && Object.prototype.hasOwnProperty.call(e, "_q") && (e = Ne(new ce, e)), e instanceof ce) {
- if (Object.keys(e.userPropertiesOperations).length > 0) return this._logEvent(g.IDENTIFY_EVENT, null, null, e.userPropertiesOperations, null, null, null, t);
- "function" === _(t) && t(0, "No request sent", {
- reason: "No user property operations"
- })
- } else M.error("Invalid identify input type. Expected Identify object but saw " + _(e)), "function" === _(t) && t(0, "No request sent", {
- reason: "Invalid identify input type"
- });
- else "function" === _(t) && t(0, "No request sent", {
- reason: "API key is not set"
- })
- }, Ae.prototype.groupIdentify = function(e, t, n, a) {
- if (this._shouldDeferCall()) return this._q.push(["groupIdentify"].concat(Array.prototype.slice.call(arguments, 0)));
- if (this._apiKeySet("groupIdentify()"))
- if (L(e, "group_type", "string") && !I(e))
- if (null != t)
- if ("object" === _(n) && Object.prototype.hasOwnProperty.call(n, "_q") && (n = Ne(new ce, n)), n instanceof ce) {
- if (Object.keys(n.userPropertiesOperations).length > 0) return this._logEvent(g.GROUP_IDENTIFY_EVENT, null, null, null, r({}, e, t), n.userPropertiesOperations, null, a);
- "function" === _(a) && a(0, "No request sent", {
- reason: "No group property operations"
- })
- } else M.error("Invalid identify input type. Expected Identify object but saw " + _(n)), "function" === _(a) && a(0, "No request sent", {
- reason: "Invalid identify input type"
- });
- else "function" === _(a) && a(0, "No request sent", {
- reason: "Invalid group name"
- });
- else "function" === _(a) && a(0, "No request sent", {
- reason: "Invalid group type"
- });
- else "function" === _(a) && a(0, "No request sent", {
- reason: "API key is not set"
- })
- }, Ae.prototype.setVersionName = function(e) {
- if (this._shouldDeferCall()) return this._q.push(["setVersionName"].concat(Array.prototype.slice.call(arguments, 0)));
- L(e, "versionName", "string") && (this.options.versionName = e)
- }, Ae.prototype._logEvent = function(e, t, n, a, r, o, s, l) {
- if (De(this), e)
- if (this.options.optOut) "function" === _(l) && l(0, "No request sent", {
- reason: "optOut is set to true"
- });
- else try {
- var c;
- c = e === g.IDENTIFY_EVENT || e === g.GROUP_IDENTIFY_EVENT ? this.nextIdentifyId() : this.nextEventId();
- var u = this.nextSequenceNumber(),
- d = "number" === _(s) ? s : (new Date).getTime();
- (!this._sessionId || !this._lastEventTime || d - this._lastEventTime > this.options.sessionTimeout) && (this._sessionId = d), this._lastEventTime = d, Me(this);
- var p = this._ua.browser.name,
- h = this._ua.browser.major,
- m = this._ua.os.name;
- a = a || {};
- var f = i({}, this._apiPropertiesTrackingOptions);
- n = i({}, n || {}, f), t = t || {}, r = r || {}, o = o || {};
- var b = {
- device_id: this.options.deviceId,
- user_id: this.options.userId,
- timestamp: d,
- event_id: c,
- session_id: this._sessionId || -1,
- event_type: e,
- version_name: this.options.versionName || null,
- platform: ze(this, "platform") ? this.options.platform : null,
- os_name: ze(this, "os_name") && p || null,
- os_version: ze(this, "os_version") && h || null,
- device_model: ze(this, "device_model") && m || null,
- language: ze(this, "language") ? this.options.language : null,
- api_properties: n,
- event_properties: z(F(t)),
- user_properties: z(F(a)),
- uuid: Ee(),
- library: {
- name: "amplitude-js",
- version: xe
- },
- sequence_number: u,
- groups: z(R(r)),
- group_properties: z(F(o)),
- user_agent: this._userAgent
- };
- return e === g.IDENTIFY_EVENT || e === g.GROUP_IDENTIFY_EVENT ? (this._unsentIdentifys.push({
- event: b,
- callback: l
- }), this._limitEventsQueued(this._unsentIdentifys)) : (this._unsentEvents.push({
- event: b,
- callback: l
- }), this._limitEventsQueued(this._unsentEvents)), this.options.saveEvents && this.saveEvents(), this._sendEventsIfReady(), c
+ i = t.call(e, o)
} catch (e) {
- M.error(e)
- } else "function" === _(l) && l(0, "No request sent", {
- reason: "Missing eventType"
- })
- };
- var ze = function(e, t) {
- return !!e.options.trackingOptions[t]
- },
- Re = function(e) {
- for (var t = ["city", "country", "dma", "ip_address", "region"], n = {}, a = 0; a < t.length; a++) {
- var r = t[a];
- ze(e, r) || (n[r] = !1)
- }
- return n
- };
- Ae.prototype._limitEventsQueued = function(e) {
- e.length > this.options.savedMaxCount && e.splice(0, e.length - this.options.savedMaxCount).forEach((function(e) {
- "function" === _(e.callback) && e.callback(0, "No request sent", {
- reason: "Event dropped because options.savedMaxCount exceeded. User may be offline or have a content blocker"
- })
- }))
- }, Ae.prototype.logEvent = function(e, t, n) {
- return this._shouldDeferCall() ? this._q.push(["logEvent"].concat(Array.prototype.slice.call(arguments, 0))) : this.logEventWithTimestamp(e, t, null, n)
- }, Ae.prototype.logEventWithTimestamp = function(e, t, n, a) {
- return this._shouldDeferCall() ? this._q.push(["logEventWithTimestamp"].concat(Array.prototype.slice.call(arguments, 0))) : this._apiKeySet("logEvent()") ? L(e, "eventType", "string") ? I(e) ? ("function" === _(a) && a(0, "No request sent", {
- reason: "Missing eventType"
- }), -1) : this._logEvent(e, t, null, null, null, null, n, a) : ("function" === _(a) && a(0, "No request sent", {
- reason: "Invalid type for eventType"
- }), -1) : ("function" === _(a) && a(0, "No request sent", {
- reason: "API key not set"
- }), -1)
- }, Ae.prototype.logEventWithGroups = function(e, t, n, a) {
- return this._shouldDeferCall() ? this._q.push(["logEventWithGroups"].concat(Array.prototype.slice.call(arguments, 0))) : this._apiKeySet("logEventWithGroups()") ? L(e, "eventType", "string") ? this._logEvent(e, t, null, null, n, null, null, a) : ("function" === _(a) && a(0, "No request sent", {
- reason: "Invalid type for eventType"
- }), -1) : ("function" === _(a) && a(0, "No request sent", {
- reason: "API key not set"
- }), -1)
- };
- var Le = function(e) {
- return !isNaN(parseFloat(e)) && isFinite(e)
- };
- Ae.prototype.logRevenueV2 = function(e) {
- if (this._shouldDeferCall()) return this._q.push(["logRevenueV2"].concat(Array.prototype.slice.call(arguments, 0)));
- if (this._apiKeySet("logRevenueV2()"))
- if ("object" === _(e) && Object.prototype.hasOwnProperty.call(e, "_q") && (e = Ne(new we, e)), e instanceof we) {
- if (e && e._isValidRevenue()) return this.logEvent(g.REVENUE_EVENT, e._toJSONObject())
- } else M.error("Invalid revenue input type. Expected Revenue object but saw " + _(e))
- }, Ae.prototype.logRevenue = function(e, t, n) {
- return this._shouldDeferCall() ? this._q.push(["logRevenue"].concat(Array.prototype.slice.call(arguments, 0))) : this._apiKeySet("logRevenue()") && Le(e) && (void 0 === t || Le(t)) ? this._logEvent(g.REVENUE_EVENT, {}, {
- productId: n,
- special: "revenue_amount",
- quantity: t || 1,
- price: e
- }, null, null, null, null, null) : -1
- }, Ae.prototype.removeEvents = function(e, t, n, a) {
- Fe(this, "_unsentEvents", e, n, a), Fe(this, "_unsentIdentifys", t, n, a)
- };
- var Fe = function(e, t, n, a, r) {
- if (!(n < 0)) {
- for (var i = [], o = 0; o < e[t].length; o++) {
- var s = e[t][o];
- s.event.event_id > n ? i.push(s) : s.callback && s.callback(a, r)
- }
- e[t] = i
- }
- };
- Ae.prototype.sendEvents = function() {
- if (this._apiKeySet("sendEvents()")) {
- if (this.options.optOut) this.removeEvents(1 / 0, 1 / 0, 0, "No request sent", {
- reason: "Opt out is set to true"
- });
- else if (0 !== this._unsentCount() && !this._sending) {
- this._sending = !0;
- var e = (this.options.forceHttps || "https:" === window.location.protocol ? "https" : "http") + "://" + this.options.apiEndpoint,
- t = Math.min(this._unsentCount(), this.options.uploadBatchSize),
- n = this._mergeEventsAndIdentifys(t),
- a = n.maxEventId,
- r = n.maxIdentifyId,
- i = JSON.stringify(n.eventsToSend.map((function(e) {
- return e.event
- }))),
- o = (new Date).getTime(),
- s = {
- client: this.options.apiKey,
- e: i,
- v: g.API_VERSION,
- upload_time: o,
- checksum: pe(g.API_VERSION + this.options.apiKey + i + o)
- },
- l = this;
- new _e(e, s, this.options.headers).send((function(e, n) {
- l._sending = !1;
- try {
- 200 === e && "success" === n ? (l.removeEvents(a, r, e, n), l.options.saveEvents && l.saveEvents(), l._sendEventsIfReady()) : 413 === e && (1 === l.options.uploadBatchSize && l.removeEvents(a, r, e, n), l.options.uploadBatchSize = Math.ceil(t / 2), l.sendEvents())
- } catch (e) {}
- }))
+ i = [6, e], a = 0
+ } finally {
+ n = r = 0
}
- } else this.removeEvents(1 / 0, 1 / 0, 0, "No request sent", {
- reason: "API key not set"
- })
- }, Ae.prototype._mergeEventsAndIdentifys = function(e) {
- for (var t = [], n = 0, a = -1, r = 0, i = -1; t.length < e;) {
- var o = void 0,
- s = r >= this._unsentIdentifys.length,
- l = n >= this._unsentEvents.length;
- if (l && s) {
- M.error("Merging Events and Identifys, less events and identifys than expected");
- break
+ if (5 & i[0]) throw i[1];
+ return {
+ value: i[0] ? i[1] : void 0,
+ done: !0
}
- s ? a = (o = this._unsentEvents[n++]).event.event_id : l ? i = (o = this._unsentIdentifys[r++]).event.event_id : !("sequence_number" in this._unsentEvents[n].event) || this._unsentEvents[n].event.sequence_number < this._unsentIdentifys[r].event.sequence_number ? a = (o = this._unsentEvents[n++]).event.event_id : i = (o = this._unsentIdentifys[r++]).event.event_id, t.push(o)
+ }([i, s])
+ }
+ }
+ }
+ var p = Object.create ? function(e, t, n, a) {
+ void 0 === a && (a = n), Object.defineProperty(e, a, {
+ enumerable: !0,
+ get: function() {
+ return t[n]
+ }
+ })
+ } : function(e, t, n, a) {
+ void 0 === a && (a = n), e[a] = t[n]
+ };
+
+ function h(e, t) {
+ for (var n in e) "default" === n || Object.prototype.hasOwnProperty.call(t, n) || p(t, e, n)
+ }
+
+ function m(e) {
+ var t = "function" == typeof Symbol && Symbol.iterator,
+ n = t && e[t],
+ a = 0;
+ if (n) return n.call(e);
+ if (e && "number" == typeof e.length) return {
+ next: function() {
+ return e && a >= e.length && (e = void 0), {
+ value: e && e[a++],
+ done: !e
}
- return {
- eventsToSend: t,
- maxEventId: a,
- maxIdentifyId: i
- }
- }, Ae.prototype.setGlobalUserProperties = function(e) {
- this.setUserProperties(e)
- }, Ae.prototype.__VERSION__ = xe, Ae.prototype._shouldDeferCall = function() {
- return this._pendingReadStorage || this._initializationDeferred
- }, Ae.prototype._deferInitialization = function() {
- this._initializationDeferred = !0, this._q.push(["init"].concat(Array.prototype.slice.call(arguments, 0)))
- }, Ae.prototype.enableTracking = function() {
- this._initializationDeferred = !1, Me(this), this.runQueuedFunctions()
- };
- var qe = function() {
- this.options = i({}, Ce), this._q = [], this._instances = {}
- };
- qe.prototype.Identify = ce, qe.prototype.Revenue = we, qe.prototype.getInstance = function(e) {
- e = I(e) ? g.DEFAULT_INSTANCE : e.toLowerCase();
- var t = this._instances[e];
- return void 0 === t && (t = new Ae(e), this._instances[e] = t), t
- }, qe.prototype.runQueuedFunctions = function() {
- for (var e = 0; e < this._q.length; e++) {
- var t = this[this._q[e][0]];
- "function" === _(t) && t.apply(this, this._q[e].slice(1))
- }
- for (var n in this._q = [], this._instances) Object.prototype.hasOwnProperty.call(this._instances, n) && this._instances[n].runQueuedFunctions()
- }, qe.prototype.init = function(e, t, n, a) {
- this.getInstance().init(e, t, n, function(e) {
- this.options = e.options, "function" === _(a) && a(e)
- }.bind(this))
- }, qe.prototype.isNewSession = function() {
- return this.getInstance().isNewSession()
- }, qe.prototype.getSessionId = function() {
- return this.getInstance().getSessionId()
- }, qe.prototype.nextEventId = function() {
- return this.getInstance().nextEventId()
- }, qe.prototype.nextIdentifyId = function() {
- return this.getInstance().nextIdentifyId()
- }, qe.prototype.nextSequenceNumber = function() {
- return this.getInstance().nextSequenceNumber()
- }, qe.prototype.saveEvents = function() {
- this.getInstance().saveEvents()
- }, qe.prototype.setDomain = function(e) {
- this.getInstance().setDomain(e)
- }, qe.prototype.setUserId = function(e) {
- this.getInstance().setUserId(e)
- }, qe.prototype.setGroup = function(e, t) {
- this.getInstance().setGroup(e, t)
- }, qe.prototype.setOptOut = function(e) {
- this.getInstance().setOptOut(e)
- }, qe.prototype.regenerateDeviceId = function() {
- this.getInstance().regenerateDeviceId()
- }, qe.prototype.setDeviceId = function(e) {
- this.getInstance().setDeviceId(e)
- }, qe.prototype.setUserProperties = function(e) {
- this.getInstance().setUserProperties(e)
- }, qe.prototype.clearUserProperties = function() {
- this.getInstance().clearUserProperties()
- }, qe.prototype.identify = function(e, t) {
- this.getInstance().identify(e, t)
- }, qe.prototype.setVersionName = function(e) {
- this.getInstance().setVersionName(e)
- }, qe.prototype.logEvent = function(e, t, n) {
- return this.getInstance().logEvent(e, t, n)
- }, qe.prototype.logEventWithGroups = function(e, t, n, a) {
- return this.getInstance().logEventWithGroups(e, t, n, a)
- }, qe.prototype.logRevenueV2 = function(e) {
- return this.getInstance().logRevenueV2(e)
- }, qe.prototype.logRevenue = function(e, t, n) {
- return this.getInstance().logRevenue(e, t, n)
- }, qe.prototype.removeEvents = function(e, t) {
- this.getInstance().removeEvents(e, t)
- }, qe.prototype.sendEvents = function(e) {
- this.getInstance().sendEvents(e)
- }, qe.prototype.setGlobalUserProperties = function(e) {
- this.getInstance().setUserProperties(e)
- }, qe.prototype.__VERSION__ = xe;
- var Be = window.amplitude || {},
- Ue = new qe;
- for (var He in Ue._q = Be._q || [], Be._iq) Object.prototype.hasOwnProperty.call(Be._iq, He) && (Ue.getInstance(He)._q = Be._iq[He]._q || []);
- return Ue.runQueuedFunctions(), Ue
- }()
- }, 6952: e => {
- "use strict";
- e.exports = function(e, t, n) {
- if ("function" == typeof Array.prototype.find) return e.find(t, n);
- n = n || this;
- var a, r = e.length;
- if ("function" != typeof t) throw new TypeError(t + " is not a function");
- for (a = 0; a < r; a++)
- if (t.call(n, e[a], a, e)) return e[a]
- }
- }, 7943: (e, t) => {
- "use strict";
- t.byteLength = function(e) {
- var t = l(e),
- n = t[0],
- a = t[1];
- return 3 * (n + a) / 4 - a
- }, t.toByteArray = function(e) {
- var t, n, i = l(e),
- o = i[0],
- s = i[1],
- c = new r(function(e, t, n) {
- return 3 * (t + n) / 4 - n
- }(0, o, s)),
- u = 0,
- d = s > 0 ? o - 4 : o;
- for (n = 0; n < d; n += 4) t = a[e.charCodeAt(n)] << 18 | a[e.charCodeAt(n + 1)] << 12 | a[e.charCodeAt(n + 2)] << 6 | a[e.charCodeAt(n + 3)], c[u++] = t >> 16 & 255, c[u++] = t >> 8 & 255, c[u++] = 255 & t;
- return 2 === s && (t = a[e.charCodeAt(n)] << 2 | a[e.charCodeAt(n + 1)] >> 4, c[u++] = 255 & t), 1 === s && (t = a[e.charCodeAt(n)] << 10 | a[e.charCodeAt(n + 1)] << 4 | a[e.charCodeAt(n + 2)] >> 2, c[u++] = t >> 8 & 255, c[u++] = 255 & t), c
- }, t.fromByteArray = function(e) {
- for (var t, a = e.length, r = a % 3, i = [], o = 16383, s = 0, l = a - r; s < l; s += o) i.push(c(e, s, s + o > l ? l : s + o));
- return 1 === r ? (t = e[a - 1], i.push(n[t >> 2] + n[t << 4 & 63] + "==")) : 2 === r && (t = (e[a - 2] << 8) + e[a - 1], i.push(n[t >> 10] + n[t >> 4 & 63] + n[t << 2 & 63] + "=")), i.join("")
+ }
};
- for (var n = [], a = [], r = "undefined" != typeof Uint8Array ? Uint8Array : Array, i = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", o = 0, s = i.length; o < s; ++o) n[o] = i[o], a[i.charCodeAt(o)] = o;
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.")
+ }
+
+ function f(e, t) {
+ var n = "function" == typeof Symbol && e[Symbol.iterator];
+ if (!n) return e;
+ var a, r, i = n.call(e),
+ o = [];
+ try {
+ for (;
+ (void 0 === t || t-- > 0) && !(a = i.next()).done;) o.push(a.value)
+ } catch (e) {
+ r = {
+ error: e
+ }
+ } finally {
+ try {
+ a && !a.done && (n = i.return) && n.call(i)
+ } finally {
+ if (r) throw r.error
+ }
+ }
+ return o
+ }
+
+ function g() {
+ for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(f(arguments[t]));
+ return e
+ }
+
+ function b() {
+ for (var e = 0, t = 0, n = arguments.length; t < n; t++) e += arguments[t].length;
+ var a = Array(e),
+ r = 0;
+ for (t = 0; t < n; t++)
+ for (var i = arguments[t], o = 0, s = i.length; o < s; o++, r++) a[r] = i[o];
+ return a
+ }
+
+ function y(e, t) {
+ for (var n = 0, a = t.length, r = e.length; n < a; n++, r++) e[r] = t[n];
+ return e
+ }
+
+ function v(e) {
+ return this instanceof v ? (this.v = e, this) : new v(e)
+ }
+
+ function k(e, t, n) {
+ if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
+ var a, r = n.apply(e, t || []),
+ i = [];
+ return a = {}, o("next"), o("throw"), o("return"), a[Symbol.asyncIterator] = function() {
+ return this
+ }, a;
+
+ function o(e) {
+ r[e] && (a[e] = function(t) {
+ return new Promise((function(n, a) {
+ i.push([e, t, n, a]) > 1 || s(e, t)
+ }))
+ })
+ }
+
+ function s(e, t) {
+ try {
+ (n = r[e](t)).value instanceof v ? Promise.resolve(n.value.v).then(l, c) : u(i[0][2], n)
+ } catch (e) {
+ u(i[0][3], e)
+ }
+ var n
+ }
function l(e) {
- var t = e.length;
- if (t % 4 > 0) throw new Error("Invalid string. Length must be a multiple of 4");
- var n = e.indexOf("=");
- return -1 === n && (n = t), [n, n === t ? 0 : 4 - n % 4]
+ s("next", e)
}
- function c(e, t, a) {
- for (var r, i, o = [], s = t; s < a; s += 3) r = (e[s] << 16 & 16711680) + (e[s + 1] << 8 & 65280) + (255 & e[s + 2]), o.push(n[(i = r) >> 18 & 63] + n[i >> 12 & 63] + n[i >> 6 & 63] + n[63 & i]);
- return o.join("")
+ function c(e) {
+ s("throw", e)
}
- a["-".charCodeAt(0)] = 62, a["_".charCodeAt(0)] = 63
- }, 8912: function(e, t, n) {
- "use strict";
- var a = this && this.__assign || function() {
- return a = Object.assign || function(e) {
- for (var t, n = 1, a = arguments.length; n < a; n++)
- for (var r in t = arguments[n]) Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]);
- return e
- }, a.apply(this, arguments)
- };
- Object.defineProperty(t, "__esModule", {
- value: !0
- }), t.bindAll = void 0;
- var r = n(4395);
- function i(e) {
- if (void 0 !== e) return "boolean" == typeof e ? {
- capture: e
- } : e
- }
- t.bindAll = function(e, t, n) {
- var o = t.map((function(t) {
- var o = function(e, t) {
- return null == t ? e : a(a({}, e), {
- options: a(a({}, i(t)), i(e.options))
- })
- }(t, n);
- return r.bind(e, o)
- }));
- return function() {
- o.forEach((function(e) {
- return e()
+ function u(e, t) {
+ e(t), i.shift(), i.length && s(i[0][0], i[0][1])
+ }
+ }
+
+ function _(e) {
+ var t, n;
+ return t = {}, a("next"), a("throw", (function(e) {
+ throw e
+ })), a("return"), t[Symbol.iterator] = function() {
+ return this
+ }, t;
+
+ function a(a, r) {
+ t[a] = e[a] ? function(t) {
+ return (n = !n) ? {
+ value: v(e[a](t)),
+ done: "return" === a
+ } : r ? r(t) : t
+ } : r
+ }
+ }
+
+ function w(e) {
+ if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
+ var t, n = e[Symbol.asyncIterator];
+ return n ? n.call(e) : (e = m(e), t = {}, a("next"), a("throw"), a("return"), t[Symbol.asyncIterator] = function() {
+ return this
+ }, t);
+
+ function a(n) {
+ t[n] = e[n] && function(t) {
+ return new Promise((function(a, r) {
+ ! function(e, t, n, a) {
+ Promise.resolve(a).then((function(t) {
+ e({
+ value: t,
+ done: n
+ })
+ }), t)
+ }(a, r, (t = e[n](t)).done, t.value)
}))
}
}
- }, 4395: (e, t) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0
- }), t.bind = void 0, t.bind = function(e, t) {
- var n = t.type,
- a = t.listener,
- r = t.options;
- return e.addEventListener(n, a, r),
- function() {
- e.removeEventListener(n, a, r)
+ }
+
+ function S(e, t) {
+ return Object.defineProperty ? Object.defineProperty(e, "raw", {
+ value: t
+ }) : e.raw = t, e
+ }
+ var E = Object.create ? function(e, t) {
+ Object.defineProperty(e, "default", {
+ enumerable: !0,
+ value: t
+ })
+ } : function(e, t) {
+ e.default = t
+ };
+
+ function x(e) {
+ if (e && e.__esModule) return e;
+ var t = {};
+ if (null != e)
+ for (var n in e) "default" !== n && Object.prototype.hasOwnProperty.call(e, n) && p(t, e, n);
+ return E(t, e), t
+ }
+
+ function C(e) {
+ return e && e.__esModule ? e : {
+ default: e
+ }
+ }
+
+ function A(e, t) {
+ if (!t.has(e)) throw new TypeError("attempted to get private field on non-instance");
+ return t.get(e)
+ }
+
+ function T(e, t, n) {
+ if (!t.has(e)) throw new TypeError("attempted to set private field on non-instance");
+ return t.set(e, n), n
+ }
+}, 8889: (e, t, n) => {
+ var a = n(8986),
+ r = n(3955),
+ i = r;
+ i.v1 = a, i.v4 = r, e.exports = i
+}, 9989: e => {
+ for (var t = [], n = 0; n < 256; ++n) t[n] = (n + 256).toString(16).substr(1);
+ e.exports = function(e, n) {
+ var a = n || 0,
+ r = t;
+ return [r[e[a++]], r[e[a++]], r[e[a++]], r[e[a++]], "-", r[e[a++]], r[e[a++]], "-", r[e[a++]], r[e[a++]], "-", r[e[a++]], r[e[a++]], "-", r[e[a++]], r[e[a++]], r[e[a++]], r[e[a++]], r[e[a++]], r[e[a++]]].join("")
+ }
+}, 9872: e => {
+ var t = "undefined" != typeof crypto && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || "undefined" != typeof msCrypto && "function" == typeof window.msCrypto.getRandomValues && msCrypto.getRandomValues.bind(msCrypto);
+ if (t) {
+ var n = new Uint8Array(16);
+ e.exports = function() {
+ return t(n), n
+ }
+ } else {
+ var a = new Array(16);
+ e.exports = function() {
+ for (var e, t = 0; t < 16; t++) 0 == (3 & t) && (e = 4294967296 * Math.random()), a[t] = e >>> ((3 & t) << 3) & 255;
+ return a
+ }
+ }
+}, 8986: (e, t, n) => {
+ var a, r, i = n(9872),
+ o = n(9989),
+ s = 0,
+ l = 0;
+ e.exports = function(e, t, n) {
+ var c = t && n || 0,
+ u = t || [],
+ d = (e = e || {}).node || a,
+ p = void 0 !== e.clockseq ? e.clockseq : r;
+ if (null == d || null == p) {
+ var h = i();
+ null == d && (d = a = [1 | h[0], h[1], h[2], h[3], h[4], h[5]]), null == p && (p = r = 16383 & (h[6] << 8 | h[7]))
+ }
+ var m = void 0 !== e.msecs ? e.msecs : (new Date).getTime(),
+ f = void 0 !== e.nsecs ? e.nsecs : l + 1,
+ g = m - s + (f - l) / 1e4;
+ if (g < 0 && void 0 === e.clockseq && (p = p + 1 & 16383), (g < 0 || m > s) && void 0 === e.nsecs && (f = 0), f >= 1e4) throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");
+ s = m, l = f, r = p;
+ var b = (1e4 * (268435455 & (m += 122192928e5)) + f) % 4294967296;
+ u[c++] = b >>> 24 & 255, u[c++] = b >>> 16 & 255, u[c++] = b >>> 8 & 255, u[c++] = 255 & b;
+ var y = m / 4294967296 * 1e4 & 268435455;
+ u[c++] = y >>> 8 & 255, u[c++] = 255 & y, u[c++] = y >>> 24 & 15 | 16, u[c++] = y >>> 16 & 255, u[c++] = p >>> 8 | 128, u[c++] = 255 & p;
+ for (var v = 0; v < 6; ++v) u[c + v] = d[v];
+ return t || o(u)
+ }
+}, 3955: (e, t, n) => {
+ var a = n(9872),
+ r = n(9989);
+ e.exports = function(e, t, n) {
+ var i = t && n || 0;
+ "string" == typeof e && (t = "binary" === e ? new Array(16) : null, e = null);
+ var o = (e = e || {}).random || (e.rng || a)();
+ if (o[6] = 15 & o[6] | 64, o[8] = 63 & o[8] | 128, t)
+ for (var s = 0; s < 16; ++s) t[i + s] = o[s];
+ return t || r(o)
+ }
+}, 4027: (e, t, n) => {
+ var a = n(9819),
+ r = n(6088),
+ i = r;
+ i.v1 = a, i.v4 = r, e.exports = i
+}, 2914: e => {
+ for (var t = [], n = 0; n < 256; ++n) t[n] = (n + 256).toString(16).substr(1);
+ e.exports = function(e, n) {
+ var a = n || 0,
+ r = t;
+ return [r[e[a++]], r[e[a++]], r[e[a++]], r[e[a++]], "-", r[e[a++]], r[e[a++]], "-", r[e[a++]], r[e[a++]], "-", r[e[a++]], r[e[a++]], "-", r[e[a++]], r[e[a++]], r[e[a++]], r[e[a++]], r[e[a++]], r[e[a++]]].join("")
+ }
+}, 4114: e => {
+ var t = "undefined" != typeof crypto && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || "undefined" != typeof msCrypto && "function" == typeof window.msCrypto.getRandomValues && msCrypto.getRandomValues.bind(msCrypto);
+ if (t) {
+ var n = new Uint8Array(16);
+ e.exports = function() {
+ return t(n), n
+ }
+ } else {
+ var a = new Array(16);
+ e.exports = function() {
+ for (var e, t = 0; t < 16; t++) 0 == (3 & t) && (e = 4294967296 * Math.random()), a[t] = e >>> ((3 & t) << 3) & 255;
+ return a
+ }
+ }
+}, 9819: (e, t, n) => {
+ var a, r, i = n(4114),
+ o = n(2914),
+ s = 0,
+ l = 0;
+ e.exports = function(e, t, n) {
+ var c = t && n || 0,
+ u = t || [],
+ d = (e = e || {}).node || a,
+ p = void 0 !== e.clockseq ? e.clockseq : r;
+ if (null == d || null == p) {
+ var h = i();
+ null == d && (d = a = [1 | h[0], h[1], h[2], h[3], h[4], h[5]]), null == p && (p = r = 16383 & (h[6] << 8 | h[7]))
+ }
+ var m = void 0 !== e.msecs ? e.msecs : (new Date).getTime(),
+ f = void 0 !== e.nsecs ? e.nsecs : l + 1,
+ g = m - s + (f - l) / 1e4;
+ if (g < 0 && void 0 === e.clockseq && (p = p + 1 & 16383), (g < 0 || m > s) && void 0 === e.nsecs && (f = 0), f >= 1e4) throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");
+ s = m, l = f, r = p;
+ var b = (1e4 * (268435455 & (m += 122192928e5)) + f) % 4294967296;
+ u[c++] = b >>> 24 & 255, u[c++] = b >>> 16 & 255, u[c++] = b >>> 8 & 255, u[c++] = 255 & b;
+ var y = m / 4294967296 * 1e4 & 268435455;
+ u[c++] = y >>> 8 & 255, u[c++] = 255 & y, u[c++] = y >>> 24 & 15 | 16, u[c++] = y >>> 16 & 255, u[c++] = p >>> 8 | 128, u[c++] = 255 & p;
+ for (var v = 0; v < 6; ++v) u[c + v] = d[v];
+ return t || o(u)
+ }
+}, 6088: (e, t, n) => {
+ var a = n(4114),
+ r = n(2914);
+ e.exports = function(e, t, n) {
+ var i = t && n || 0;
+ "string" == typeof e && (t = "binary" === e ? new Array(16) : null, e = null);
+ var o = (e = e || {}).random || (e.rng || a)();
+ if (o[6] = 15 & o[6] | 64, o[8] = 63 & o[8] | 128, t)
+ for (var s = 0; s < 16; ++s) t[i + s] = o[s];
+ return t || r(o)
+ }
+}, 5139: (e, t, n) => {
+ "use strict";
+ n.r(t), n.d(t, {
+ R50: () => r,
+ R75: () => i,
+ R100: () => o,
+ R200: () => s,
+ R300: () => l,
+ R400: () => c,
+ R500: () => u,
+ Y50: () => d,
+ Y75: () => p,
+ Y100: () => h,
+ Y200: () => m,
+ Y300: () => f,
+ Y400: () => g,
+ Y500: () => b,
+ G50: () => y,
+ G75: () => v,
+ G100: () => k,
+ G200: () => _,
+ G300: () => w,
+ G400: () => S,
+ G500: () => E,
+ B50: () => x,
+ B75: () => C,
+ B100: () => A,
+ B200: () => T,
+ B300: () => D,
+ B400: () => P,
+ B500: () => j,
+ P50: () => M,
+ P75: () => I,
+ P100: () => O,
+ P200: () => N,
+ P300: () => R,
+ P400: () => z,
+ P500: () => L,
+ T50: () => F,
+ T75: () => q,
+ T100: () => B,
+ T200: () => U,
+ T300: () => H,
+ T400: () => V,
+ T500: () => W,
+ N0: () => Y,
+ N10: () => G,
+ N20: () => K,
+ N30: () => $,
+ N40: () => J,
+ N50: () => Z,
+ N60: () => Q,
+ N70: () => X,
+ N80: () => ee,
+ N90: () => te,
+ N100: () => ne,
+ N200: () => ae,
+ N300: () => re,
+ N400: () => ie,
+ N500: () => oe,
+ N600: () => se,
+ N700: () => le,
+ N800: () => ce,
+ N900: () => ue,
+ N10A: () => de,
+ N20A: () => pe,
+ N30A: () => he,
+ N40A: () => me,
+ N50A: () => fe,
+ N60A: () => ge,
+ N70A: () => be,
+ N80A: () => ye,
+ N90A: () => ve,
+ N100A: () => ke,
+ N200A: () => _e,
+ N300A: () => we,
+ N400A: () => Se,
+ N500A: () => Ee,
+ N600A: () => xe,
+ N700A: () => Ce,
+ N800A: () => Ae,
+ DN900: () => Te,
+ DN800: () => De,
+ DN700: () => Pe,
+ DN600: () => je,
+ DN500: () => Me,
+ DN400: () => Ie,
+ DN300: () => Oe,
+ DN200: () => Ne,
+ DN100: () => Re,
+ DN90: () => ze,
+ DN80: () => Le,
+ DN70: () => Fe,
+ DN60: () => qe,
+ DN50: () => Be,
+ DN40: () => Ue,
+ DN30: () => He,
+ DN20: () => Ve,
+ DN10: () => We,
+ DN0: () => Ye,
+ DN800A: () => Ge,
+ DN700A: () => Ke,
+ DN600A: () => $e,
+ DN500A: () => Je,
+ DN400A: () => Ze,
+ DN300A: () => Qe,
+ DN200A: () => Xe,
+ DN100A: () => et,
+ DN90A: () => tt,
+ DN80A: () => nt,
+ DN70A: () => at,
+ DN60A: () => rt,
+ DN50A: () => it,
+ DN40A: () => ot,
+ DN30A: () => st,
+ DN20A: () => lt,
+ DN10A: () => ct,
+ background: () => ut,
+ backgroundActive: () => dt,
+ backgroundHover: () => pt,
+ backgroundOnLayer: () => ht,
+ text: () => mt,
+ textHover: () => ft,
+ textActive: () => gt,
+ subtleText: () => bt,
+ placeholderText: () => yt,
+ heading: () => vt,
+ subtleHeading: () => kt,
+ codeBlock: () => _t,
+ link: () => wt,
+ linkHover: () => St,
+ linkActive: () => Et,
+ linkOutline: () => xt,
+ primary: () => Ct,
+ blue: () => At,
+ teal: () => Tt,
+ purple: () => Dt,
+ red: () => Pt,
+ yellow: () => jt,
+ green: () => Mt,
+ skeleton: () => It
+ });
+ var a = n(5791),
+ r = "#FFEBE6",
+ i = "#FFBDAD",
+ o = "#FF8F73",
+ s = "#FF7452",
+ l = "#FF5630",
+ c = "#DE350B",
+ u = "#BF2600",
+ d = "#FFFAE6",
+ p = "#FFF0B3",
+ h = "#FFE380",
+ m = "#FFC400",
+ f = "#FFAB00",
+ g = "#FF991F",
+ b = "#FF8B00",
+ y = "#E3FCEF",
+ v = "#ABF5D1",
+ k = "#79F2C0",
+ _ = "#57D9A3",
+ w = "#36B37E",
+ S = "#00875A",
+ E = "#006644",
+ x = "#DEEBFF",
+ C = "#B3D4FF",
+ A = "#4C9AFF",
+ T = "#2684FF",
+ D = "#0065FF",
+ P = "#0052CC",
+ j = "#0747A6",
+ M = "#EAE6FF",
+ I = "#C0B6F2",
+ O = "#998DD9",
+ N = "#8777D9",
+ R = "#6554C0",
+ z = "#5243AA",
+ L = "#403294",
+ F = "#E6FCFF",
+ q = "#B3F5FF",
+ B = "#79E2F2",
+ U = "#00C7E6",
+ H = "#00B8D9",
+ V = "#00A3BF",
+ W = "#008DA6",
+ Y = "#FFFFFF",
+ G = "#FAFBFC",
+ K = "#F4F5F7",
+ $ = "#EBECF0",
+ J = "#DFE1E6",
+ Z = "#C1C7D0",
+ Q = "#B3BAC5",
+ X = "#A5ADBA",
+ ee = "#97A0AF",
+ te = "#8993A4",
+ ne = "#7A869A",
+ ae = "#6B778C",
+ re = "#5E6C84",
+ ie = "#505F79",
+ oe = "#42526E",
+ se = "#344563",
+ le = "#253858",
+ ce = "#172B4D",
+ ue = "#091E42",
+ de = "rgba(9, 30, 66, 0.02)",
+ pe = "rgba(9, 30, 66, 0.04)",
+ he = "rgba(9, 30, 66, 0.08)",
+ me = "rgba(9, 30, 66, 0.13)",
+ fe = "rgba(9, 30, 66, 0.25)",
+ ge = "rgba(9, 30, 66, 0.31)",
+ be = "rgba(9, 30, 66, 0.36)",
+ ye = "rgba(9, 30, 66, 0.42)",
+ ve = "rgba(9, 30, 66, 0.48)",
+ ke = "rgba(9, 30, 66, 0.54)",
+ _e = "rgba(9, 30, 66, 0.60)",
+ we = "rgba(9, 30, 66, 0.66)",
+ Se = "rgba(9, 30, 66, 0.71)",
+ Ee = "rgba(9, 30, 66, 0.77)",
+ xe = "rgba(9, 30, 66, 0.82)",
+ Ce = "rgba(9, 30, 66, 0.89)",
+ Ae = "rgba(9, 30, 66, 0.95)",
+ Te = "#E6EDFA",
+ De = "#DCE5F5",
+ Pe = "#CED9EB",
+ je = "#B8C7E0",
+ Me = "#ABBBD6",
+ Ie = "#9FB0CC",
+ Oe = "#8C9CB8",
+ Ne = "#7988A3",
+ Re = "#67758F",
+ ze = "#56637A",
+ Le = "#455166",
+ Fe = "#3B475C",
+ qe = "#313D52",
+ Be = "#283447",
+ Ue = "#202B3D",
+ He = "#1B2638",
+ Ve = "#121A29",
+ We = "#0E1624",
+ Ye = "#0D1424",
+ Ge = "rgba(13, 20, 36, 0.06)",
+ Ke = "rgba(13, 20, 36, 0.14)",
+ $e = "rgba(13, 20, 36, 0.18)",
+ Je = "rgba(13, 20, 36, 0.29)",
+ Ze = "rgba(13, 20, 36, 0.36)",
+ Qe = "rgba(13, 20, 36, 0.40)",
+ Xe = "rgba(13, 20, 36, 0.47)",
+ et = "rgba(13, 20, 36, 0.53)",
+ tt = "rgba(13, 20, 36, 0.63)",
+ nt = "rgba(13, 20, 36, 0.73)",
+ at = "rgba(13, 20, 36, 0.78)",
+ rt = "rgba(13, 20, 36, 0.81)",
+ it = "rgba(13, 20, 36, 0.85)",
+ ot = "rgba(13, 20, 36, 0.89)",
+ st = "rgba(13, 20, 36, 0.92)",
+ lt = "rgba(13, 20, 36, 0.95)",
+ ct = "rgba(13, 20, 36, 0.97)",
+ ut = (0, a.Z)({
+ light: Y,
+ dark: He
+ }),
+ dt = (0, a.Z)({
+ light: x,
+ dark: C
+ }),
+ pt = (0, a.Z)({
+ light: $,
+ dark: Fe
+ }),
+ ht = (0, a.Z)({
+ light: Y,
+ dark: Be
+ }),
+ mt = (0, a.Z)({
+ light: ue,
+ dark: je
+ }),
+ ft = (0, a.Z)({
+ light: ce,
+ dark: je
+ }),
+ gt = (0, a.Z)({
+ light: P,
+ dark: P
+ }),
+ bt = (0, a.Z)({
+ light: ae,
+ dark: Oe
+ }),
+ yt = (0, a.Z)({
+ light: ne,
+ dark: Ne
+ }),
+ vt = (0, a.Z)({
+ light: ce,
+ dark: je
+ }),
+ kt = (0, a.Z)({
+ light: ae,
+ dark: Oe
+ }),
+ _t = (0, a.Z)({
+ light: K,
+ dark: Be
+ }),
+ wt = (0, a.Z)({
+ light: P,
+ dark: A
+ }),
+ St = (0, a.Z)({
+ light: D,
+ dark: T
+ }),
+ Et = (0, a.Z)({
+ light: j,
+ dark: A
+ }),
+ xt = (0, a.Z)({
+ light: A,
+ dark: T
+ }),
+ Ct = (0, a.Z)({
+ light: P,
+ dark: A
+ }),
+ At = (0, a.Z)({
+ light: P,
+ dark: A
+ }),
+ Tt = (0, a.Z)({
+ light: H,
+ dark: U
+ }),
+ Dt = (0, a.Z)({
+ light: R,
+ dark: O
+ }),
+ Pt = (0, a.Z)({
+ light: l,
+ dark: l
+ }),
+ jt = (0, a.Z)({
+ light: f,
+ dark: f
+ }),
+ Mt = (0, a.Z)({
+ light: w,
+ dark: w
+ }),
+ It = function() {
+ return pe
+ }
+}, 5791: (e, t, n) => {
+ "use strict";
+ n.d(t, {
+ Z: () => i
+ });
+ var a = ["light", "dark"];
+
+ function r(e) {
+ if (e && e.theme) {
+ if ("__ATLASKIT_THEME__" in e.theme) return e.theme.__ATLASKIT_THEME__;
+ if ("mode" in e.theme && a.includes(e.theme.mode)) return e.theme
+ }
+ return {
+ mode: "light"
+ }
+ }
+
+ function i(e, t) {
+ if ("string" == typeof e) return n = e, a = t,
+ function(e) {
+ var t = r(e);
+ if (e && e[n] && a) {
+ var i = a[e[n]];
+ if (i && i[t.mode]) {
+ var o = i[t.mode];
+ if (o) return o
+ }
}
+ return ""
+ };
+ var n, a, i = e;
+ return function(e) {
+ var t = r(e);
+ if (t.mode in i) {
+ var n = i[t.mode];
+ if (n) return n
+ }
+ return ""
+ }
+ }
+}, 5571: (e, t) => {
+ "use strict";
+ const n = /"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*\:/;
+ t.parse = function(e) {
+ const a = "object" == typeof(arguments.length <= 1 ? void 0 : arguments[1]) && (arguments.length <= 1 ? void 0 : arguments[1]),
+ r = (arguments.length <= 1 ? 0 : arguments.length - 1) > 1 || !a ? arguments.length <= 1 ? void 0 : arguments[1] : void 0,
+ i = (arguments.length <= 1 ? 0 : arguments.length - 1) > 1 && (arguments.length <= 2 ? void 0 : arguments[2]) || a || {},
+ o = JSON.parse(e, r);
+ return "ignore" === i.protoAction ? o : o && "object" == typeof o && e.match(n) ? (t.scan(o, i), o) : o
+ }, t.scan = function(e) {
+ let t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
+ n = [e];
+ for (; n.length;) {
+ const e = n;
+ n = [];
+ for (const a of e) {
+ if (Object.prototype.hasOwnProperty.call(a, "__proto__")) {
+ if ("remove" !== t.protoAction) throw new SyntaxError("Object contains forbidden prototype property");
+ delete a.__proto__
+ }
+ for (const e in a) {
+ const t = a[e];
+ t && "object" == typeof t && n.push(a[e])
+ }
+ }
+ }
+ }, t.safeParse = function(e, n) {
+ try {
+ return t.parse(e, n)
+ } catch (e) {
+ return null
}
- }, 412: (e, t, n) => {
+ }
+}, 6712: (module, exports, __webpack_require__) => {
+ var process = __webpack_require__(554),
+ __WEBPACK_AMD_DEFINE_RESULT__;
+ (function() {
"use strict";
- var a = n(4395);
- Object.defineProperty(t, "ak", {
- enumerable: !0,
- get: function() {
- return a.bind
- }
+ var ERROR = "input is invalid type",
+ WINDOW = "object" == typeof window,
+ root = WINDOW ? window : {};
+ root.JS_MD5_NO_WINDOW && (WINDOW = !1);
+ var WEB_WORKER = !WINDOW && "object" == typeof self,
+ NODE_JS = !root.JS_MD5_NO_NODE_JS && "object" == typeof process && process.versions && process.versions.node;
+ NODE_JS ? root = __webpack_require__.g : WEB_WORKER && (root = self);
+ var COMMON_JS = !root.JS_MD5_NO_COMMON_JS && module.exports,
+ AMD = __webpack_require__.amdO,
+ ARRAY_BUFFER = !root.JS_MD5_NO_ARRAY_BUFFER && "undefined" != typeof ArrayBuffer,
+ HEX_CHARS = "0123456789abcdef".split(""),
+ EXTRA = [128, 32768, 8388608, -2147483648],
+ SHIFT = [0, 8, 16, 24],
+ OUTPUT_TYPES = ["hex", "array", "digest", "buffer", "arrayBuffer", "base64"],
+ BASE64_ENCODE_CHAR = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),
+ blocks = [],
+ buffer8;
+ if (ARRAY_BUFFER) {
+ var buffer = new ArrayBuffer(68);
+ buffer8 = new Uint8Array(buffer), blocks = new Uint32Array(buffer)
+ }!root.JS_MD5_NO_NODE_JS && Array.isArray || (Array.isArray = function(e) {
+ return "[object Array]" === Object.prototype.toString.call(e)
+ }), !ARRAY_BUFFER || !root.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW && ArrayBuffer.isView || (ArrayBuffer.isView = function(e) {
+ return "object" == typeof e && e.buffer && e.buffer.constructor === ArrayBuffer
});
- n(8912)
- }, 1481: function(e) {
- e.exports = function(e) {
- var t = {};
-
- function n(a) {
- if (t[a]) return t[a].exports;
- var r = t[a] = {
- i: a,
- l: !1,
- exports: {}
- };
- return e[a].call(r.exports, r, r.exports, n), r.l = !0, r.exports
- }
- return n.m = e, n.c = t, n.d = function(e, t, a) {
- n.o(e, t) || Object.defineProperty(e, t, {
- enumerable: !0,
- get: a
- })
- }, n.r = function(e) {
- "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {
- value: "Module"
- }), Object.defineProperty(e, "__esModule", {
- value: !0
- })
- }, n.t = function(e, t) {
- if (1 & t && (e = n(e)), 8 & t) return e;
- if (4 & t && "object" == typeof e && e && e.__esModule) return e;
- var a = Object.create(null);
- if (n.r(a), Object.defineProperty(a, "default", {
- enumerable: !0,
- value: e
- }), 2 & t && "string" != typeof e)
- for (var r in e) n.d(a, r, function(t) {
- return e[t]
- }.bind(null, r));
- return a
- }, n.n = function(e) {
- var t = e && e.__esModule ? function() {
- return e.default
- } : function() {
- return e
+ var createOutputMethod = function(e) {
+ return function(t) {
+ return new Md5(!0).update(t)[e]()
+ }
+ },
+ createMethod = function() {
+ var e = createOutputMethod("hex");
+ NODE_JS && (e = nodeWrap(e)), e.create = function() {
+ return new Md5
+ }, e.update = function(t) {
+ return e.create().update(t)
};
- return n.d(t, "a", t), t
- }, n.o = function(e, t) {
- return Object.prototype.hasOwnProperty.call(e, t)
- }, n.p = "", n(n.s = 90)
- }({
- 17: function(e, t, n) {
- "use strict";
- t.__esModule = !0, t.default = void 0;
- var a = n(18),
- r = function() {
- function e() {}
- return e.getFirstMatch = function(e, t) {
- var n = t.match(e);
- return n && n.length > 0 && n[1] || ""
- }, e.getSecondMatch = function(e, t) {
- var n = t.match(e);
- return n && n.length > 1 && n[2] || ""
- }, e.matchAndReturnConst = function(e, t, n) {
- if (e.test(t)) return n
- }, e.getWindowsVersionName = function(e) {
- switch (e) {
- case "NT":
- return "NT";
- case "XP":
- case "NT 5.1":
- return "XP";
- case "NT 5.0":
- return "2000";
- case "NT 5.2":
- return "2003";
- case "NT 6.0":
- return "Vista";
- case "NT 6.1":
- return "7";
- case "NT 6.2":
- return "8";
- case "NT 6.3":
- return "8.1";
- case "NT 10.0":
- return "10";
- default:
- return
- }
- }, e.getMacOSVersionName = function(e) {
- var t = e.split(".").splice(0, 2).map((function(e) {
- return parseInt(e, 10) || 0
- }));
- if (t.push(0), 10 === t[0]) switch (t[1]) {
- case 5:
- return "Leopard";
- case 6:
- return "Snow Leopard";
- case 7:
- return "Lion";
- case 8:
- return "Mountain Lion";
- case 9:
- return "Mavericks";
- case 10:
- return "Yosemite";
- case 11:
- return "El Capitan";
- case 12:
- return "Sierra";
- case 13:
- return "High Sierra";
- case 14:
- return "Mojave";
- case 15:
- return "Catalina";
- default:
- return
- }
- }, e.getAndroidVersionName = function(e) {
- var t = e.split(".").splice(0, 2).map((function(e) {
- return parseInt(e, 10) || 0
- }));
- if (t.push(0), !(1 === t[0] && t[1] < 5)) return 1 === t[0] && t[1] < 6 ? "Cupcake" : 1 === t[0] && t[1] >= 6 ? "Donut" : 2 === t[0] && t[1] < 2 ? "Eclair" : 2 === t[0] && 2 === t[1] ? "Froyo" : 2 === t[0] && t[1] > 2 ? "Gingerbread" : 3 === t[0] ? "Honeycomb" : 4 === t[0] && t[1] < 1 ? "Ice Cream Sandwich" : 4 === t[0] && t[1] < 4 ? "Jelly Bean" : 4 === t[0] && t[1] >= 4 ? "KitKat" : 5 === t[0] ? "Lollipop" : 6 === t[0] ? "Marshmallow" : 7 === t[0] ? "Nougat" : 8 === t[0] ? "Oreo" : 9 === t[0] ? "Pie" : void 0
- }, e.getVersionPrecision = function(e) {
- return e.split(".").length
- }, e.compareVersions = function(t, n, a) {
- void 0 === a && (a = !1);
- var r = e.getVersionPrecision(t),
- i = e.getVersionPrecision(n),
- o = Math.max(r, i),
- s = 0,
- l = e.map([t, n], (function(t) {
- var n = o - e.getVersionPrecision(t),
- a = t + new Array(n + 1).join(".0");
- return e.map(a.split("."), (function(e) {
- return new Array(20 - e.length).join("0") + e
- })).reverse()
- }));
- for (a && (s = o - Math.min(r, i)), o -= 1; o >= s;) {
- if (l[0][o] > l[1][o]) return 1;
- if (l[0][o] === l[1][o]) {
- if (o === s) return 0;
- o -= 1
- } else if (l[0][o] < l[1][o]) return -1
- }
- }, e.map = function(e, t) {
- var n, a = [];
- if (Array.prototype.map) return Array.prototype.map.call(e, t);
- for (n = 0; n < e.length; n += 1) a.push(t(e[n]));
- return a
- }, e.getBrowserAlias = function(e) {
- return a.BROWSER_ALIASES_MAP[e]
- }, e.getBrowserTypeByAlias = function(e) {
- return a.BROWSER_MAP[e] || ""
- }, e
- }();
- t.default = r, e.exports = t.default
+ for (var t = 0; t < OUTPUT_TYPES.length; ++t) {
+ var n = OUTPUT_TYPES[t];
+ e[n] = createOutputMethod(n)
+ }
+ return e
},
- 18: function(e, t, n) {
- "use strict";
- t.__esModule = !0, t.ENGINE_MAP = t.OS_MAP = t.PLATFORMS_MAP = t.BROWSER_MAP = t.BROWSER_ALIASES_MAP = void 0, t.BROWSER_ALIASES_MAP = {
- "Amazon Silk": "amazon_silk",
- "Android Browser": "android",
- Bada: "bada",
- BlackBerry: "blackberry",
- Chrome: "chrome",
- Chromium: "chromium",
- Epiphany: "epiphany",
- Firefox: "firefox",
- Focus: "focus",
- Generic: "generic",
- "Google Search": "google_search",
- Googlebot: "googlebot",
- "Internet Explorer": "ie",
- "K-Meleon": "k_meleon",
- Maxthon: "maxthon",
- "Microsoft Edge": "edge",
- "MZ Browser": "mz",
- "NAVER Whale Browser": "naver",
- Opera: "opera",
- "Opera Coast": "opera_coast",
- PhantomJS: "phantomjs",
- Puffin: "puffin",
- QupZilla: "qupzilla",
- QQ: "qq",
- QQLite: "qqlite",
- Safari: "safari",
- Sailfish: "sailfish",
- "Samsung Internet for Android": "samsung_internet",
- SeaMonkey: "seamonkey",
- Sleipnir: "sleipnir",
- Swing: "swing",
- Tizen: "tizen",
- "UC Browser": "uc",
- Vivaldi: "vivaldi",
- "WebOS Browser": "webos",
- WeChat: "wechat",
- "Yandex Browser": "yandex",
- Roku: "roku"
- }, t.BROWSER_MAP = {
- amazon_silk: "Amazon Silk",
- android: "Android Browser",
- bada: "Bada",
- blackberry: "BlackBerry",
- chrome: "Chrome",
- chromium: "Chromium",
- epiphany: "Epiphany",
- firefox: "Firefox",
- focus: "Focus",
- generic: "Generic",
- googlebot: "Googlebot",
- google_search: "Google Search",
- ie: "Internet Explorer",
- k_meleon: "K-Meleon",
- maxthon: "Maxthon",
- edge: "Microsoft Edge",
- mz: "MZ Browser",
- naver: "NAVER Whale Browser",
- opera: "Opera",
- opera_coast: "Opera Coast",
- phantomjs: "PhantomJS",
- puffin: "Puffin",
- qupzilla: "QupZilla",
- qq: "QQ Browser",
- qqlite: "QQ Browser Lite",
- safari: "Safari",
- sailfish: "Sailfish",
- samsung_internet: "Samsung Internet for Android",
- seamonkey: "SeaMonkey",
- sleipnir: "Sleipnir",
- swing: "Swing",
- tizen: "Tizen",
- uc: "UC Browser",
- vivaldi: "Vivaldi",
- webos: "WebOS Browser",
- wechat: "WeChat",
- yandex: "Yandex Browser"
- }, t.PLATFORMS_MAP = {
- tablet: "tablet",
- mobile: "mobile",
- desktop: "desktop",
- tv: "tv"
- }, t.OS_MAP = {
- WindowsPhone: "Windows Phone",
- Windows: "Windows",
- MacOS: "macOS",
- iOS: "iOS",
- Android: "Android",
- WebOS: "WebOS",
- BlackBerry: "BlackBerry",
- Bada: "Bada",
- Tizen: "Tizen",
- Linux: "Linux",
- ChromeOS: "Chrome OS",
- PlayStation4: "PlayStation 4",
- Roku: "Roku"
- }, t.ENGINE_MAP = {
- EdgeHTML: "EdgeHTML",
- Blink: "Blink",
- Trident: "Trident",
- Presto: "Presto",
- Gecko: "Gecko",
- WebKit: "WebKit"
- }
- },
- 90: function(e, t, n) {
- "use strict";
- t.__esModule = !0, t.default = void 0;
- var a, r = (a = n(91)) && a.__esModule ? a : {
- default: a
- },
- i = n(18);
+ nodeWrap = function(method) {
+ var crypto = eval("require('crypto')"),
+ Buffer = eval("require('buffer').Buffer"),
+ nodeMethod = function(e) {
+ if ("string" == typeof e) return crypto.createHash("md5").update(e, "utf8").digest("hex");
+ if (null == e) throw ERROR;
+ return e.constructor === ArrayBuffer && (e = new Uint8Array(e)), Array.isArray(e) || ArrayBuffer.isView(e) || e.constructor === Buffer ? crypto.createHash("md5").update(new Buffer(e)).digest("hex") : method(e)
+ };
+ return nodeMethod
+ };
- function o(e, t) {
- for (var n = 0; n < t.length; n++) {
- var a = t[n];
- a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a)
- }
- }
- var s = function() {
- function e() {}
- var t, n;
- return e.getParser = function(e, t) {
- if (void 0 === t && (t = !1), "string" != typeof e) throw new Error("UserAgent should be a string");
- return new r.default(e, t)
- }, e.parse = function(e) {
- return new r.default(e).getResult()
- }, t = e, n = [{
- key: "BROWSER_MAP",
- get: function() {
- return i.BROWSER_MAP
- }
- }, {
- key: "ENGINE_MAP",
- get: function() {
- return i.ENGINE_MAP
- }
- }, {
- key: "OS_MAP",
- get: function() {
- return i.OS_MAP
- }
- }, {
- key: "PLATFORMS_MAP",
- get: function() {
- return i.PLATFORMS_MAP
- }
- }], null && o(t.prototype, null), n && o(t, n), e
- }();
- t.default = s, e.exports = t.default
+ function Md5(e) {
+ if (e) blocks[0] = blocks[16] = blocks[1] = blocks[2] = blocks[3] = blocks[4] = blocks[5] = blocks[6] = blocks[7] = blocks[8] = blocks[9] = blocks[10] = blocks[11] = blocks[12] = blocks[13] = blocks[14] = blocks[15] = 0, this.blocks = blocks, this.buffer8 = buffer8;
+ else if (ARRAY_BUFFER) {
+ var t = new ArrayBuffer(68);
+ this.buffer8 = new Uint8Array(t), this.blocks = new Uint32Array(t)
+ } else this.blocks = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
+ this.h0 = this.h1 = this.h2 = this.h3 = this.start = this.bytes = this.hBytes = 0, this.finalized = this.hashed = !1, this.first = !0
+ }
+ Md5.prototype.update = function(e) {
+ if (!this.finalized) {
+ var t, n = typeof e;
+ if ("string" !== n) {
+ if ("object" !== n) throw ERROR;
+ if (null === e) throw ERROR;
+ if (ARRAY_BUFFER && e.constructor === ArrayBuffer) e = new Uint8Array(e);
+ else if (!(Array.isArray(e) || ARRAY_BUFFER && ArrayBuffer.isView(e))) throw ERROR;
+ t = !0
+ }
+ for (var a, r, i = 0, o = e.length, s = this.blocks, l = this.buffer8; i < o;) {
+ if (this.hashed && (this.hashed = !1, s[0] = s[16], s[16] = s[1] = s[2] = s[3] = s[4] = s[5] = s[6] = s[7] = s[8] = s[9] = s[10] = s[11] = s[12] = s[13] = s[14] = s[15] = 0), t)
+ if (ARRAY_BUFFER)
+ for (r = this.start; i < o && r < 64; ++i) l[r++] = e[i];
+ else
+ for (r = this.start; i < o && r < 64; ++i) s[r >> 2] |= e[i] << SHIFT[3 & r++];
+ else if (ARRAY_BUFFER)
+ for (r = this.start; i < o && r < 64; ++i)(a = e.charCodeAt(i)) < 128 ? l[r++] = a : a < 2048 ? (l[r++] = 192 | a >> 6, l[r++] = 128 | 63 & a) : a < 55296 || a >= 57344 ? (l[r++] = 224 | a >> 12, l[r++] = 128 | a >> 6 & 63, l[r++] = 128 | 63 & a) : (a = 65536 + ((1023 & a) << 10 | 1023 & e.charCodeAt(++i)), l[r++] = 240 | a >> 18, l[r++] = 128 | a >> 12 & 63, l[r++] = 128 | a >> 6 & 63, l[r++] = 128 | 63 & a);
+ else
+ for (r = this.start; i < o && r < 64; ++i)(a = e.charCodeAt(i)) < 128 ? s[r >> 2] |= a << SHIFT[3 & r++] : a < 2048 ? (s[r >> 2] |= (192 | a >> 6) << SHIFT[3 & r++], s[r >> 2] |= (128 | 63 & a) << SHIFT[3 & r++]) : a < 55296 || a >= 57344 ? (s[r >> 2] |= (224 | a >> 12) << SHIFT[3 & r++], s[r >> 2] |= (128 | a >> 6 & 63) << SHIFT[3 & r++], s[r >> 2] |= (128 | 63 & a) << SHIFT[3 & r++]) : (a = 65536 + ((1023 & a) << 10 | 1023 & e.charCodeAt(++i)), s[r >> 2] |= (240 | a >> 18) << SHIFT[3 & r++], s[r >> 2] |= (128 | a >> 12 & 63) << SHIFT[3 & r++], s[r >> 2] |= (128 | a >> 6 & 63) << SHIFT[3 & r++], s[r >> 2] |= (128 | 63 & a) << SHIFT[3 & r++]);
+ this.lastByteIndex = r, this.bytes += r - this.start, r >= 64 ? (this.start = r - 64, this.hash(), this.hashed = !0) : this.start = r
+ }
+ return this.bytes > 4294967295 && (this.hBytes += this.bytes / 4294967296 << 0, this.bytes = this.bytes % 4294967296), this
+ }
+ }, Md5.prototype.finalize = function() {
+ if (!this.finalized) {
+ this.finalized = !0;
+ var e = this.blocks,
+ t = this.lastByteIndex;
+ e[t >> 2] |= EXTRA[3 & t], t >= 56 && (this.hashed || this.hash(), e[0] = e[16], e[16] = e[1] = e[2] = e[3] = e[4] = e[5] = e[6] = e[7] = e[8] = e[9] = e[10] = e[11] = e[12] = e[13] = e[14] = e[15] = 0), e[14] = this.bytes << 3, e[15] = this.hBytes << 3 | this.bytes >>> 29, this.hash()
+ }
+ }, Md5.prototype.hash = function() {
+ var e, t, n, a, r, i, o = this.blocks;
+ this.first ? t = ((t = ((e = ((e = o[0] - 680876937) << 7 | e >>> 25) - 271733879 << 0) ^ (n = ((n = (-271733879 ^ (a = ((a = (-1732584194 ^ 2004318071 & e) + o[1] - 117830708) << 12 | a >>> 20) + e << 0) & (-271733879 ^ e)) + o[2] - 1126478375) << 17 | n >>> 15) + a << 0) & (a ^ e)) + o[3] - 1316259209) << 22 | t >>> 10) + n << 0 : (e = this.h0, t = this.h1, n = this.h2, t = ((t += ((e = ((e += ((a = this.h3) ^ t & (n ^ a)) + o[0] - 680876936) << 7 | e >>> 25) + t << 0) ^ (n = ((n += (t ^ (a = ((a += (n ^ e & (t ^ n)) + o[1] - 389564586) << 12 | a >>> 20) + e << 0) & (e ^ t)) + o[2] + 606105819) << 17 | n >>> 15) + a << 0) & (a ^ e)) + o[3] - 1044525330) << 22 | t >>> 10) + n << 0), t = ((t += ((e = ((e += (a ^ t & (n ^ a)) + o[4] - 176418897) << 7 | e >>> 25) + t << 0) ^ (n = ((n += (t ^ (a = ((a += (n ^ e & (t ^ n)) + o[5] + 1200080426) << 12 | a >>> 20) + e << 0) & (e ^ t)) + o[6] - 1473231341) << 17 | n >>> 15) + a << 0) & (a ^ e)) + o[7] - 45705983) << 22 | t >>> 10) + n << 0, t = ((t += ((e = ((e += (a ^ t & (n ^ a)) + o[8] + 1770035416) << 7 | e >>> 25) + t << 0) ^ (n = ((n += (t ^ (a = ((a += (n ^ e & (t ^ n)) + o[9] - 1958414417) << 12 | a >>> 20) + e << 0) & (e ^ t)) + o[10] - 42063) << 17 | n >>> 15) + a << 0) & (a ^ e)) + o[11] - 1990404162) << 22 | t >>> 10) + n << 0, t = ((t += ((e = ((e += (a ^ t & (n ^ a)) + o[12] + 1804603682) << 7 | e >>> 25) + t << 0) ^ (n = ((n += (t ^ (a = ((a += (n ^ e & (t ^ n)) + o[13] - 40341101) << 12 | a >>> 20) + e << 0) & (e ^ t)) + o[14] - 1502002290) << 17 | n >>> 15) + a << 0) & (a ^ e)) + o[15] + 1236535329) << 22 | t >>> 10) + n << 0, t = ((t += ((a = ((a += (t ^ n & ((e = ((e += (n ^ a & (t ^ n)) + o[1] - 165796510) << 5 | e >>> 27) + t << 0) ^ t)) + o[6] - 1069501632) << 9 | a >>> 23) + e << 0) ^ e & ((n = ((n += (e ^ t & (a ^ e)) + o[11] + 643717713) << 14 | n >>> 18) + a << 0) ^ a)) + o[0] - 373897302) << 20 | t >>> 12) + n << 0, t = ((t += ((a = ((a += (t ^ n & ((e = ((e += (n ^ a & (t ^ n)) + o[5] - 701558691) << 5 | e >>> 27) + t << 0) ^ t)) + o[10] + 38016083) << 9 | a >>> 23) + e << 0) ^ e & ((n = ((n += (e ^ t & (a ^ e)) + o[15] - 660478335) << 14 | n >>> 18) + a << 0) ^ a)) + o[4] - 405537848) << 20 | t >>> 12) + n << 0, t = ((t += ((a = ((a += (t ^ n & ((e = ((e += (n ^ a & (t ^ n)) + o[9] + 568446438) << 5 | e >>> 27) + t << 0) ^ t)) + o[14] - 1019803690) << 9 | a >>> 23) + e << 0) ^ e & ((n = ((n += (e ^ t & (a ^ e)) + o[3] - 187363961) << 14 | n >>> 18) + a << 0) ^ a)) + o[8] + 1163531501) << 20 | t >>> 12) + n << 0, t = ((t += ((a = ((a += (t ^ n & ((e = ((e += (n ^ a & (t ^ n)) + o[13] - 1444681467) << 5 | e >>> 27) + t << 0) ^ t)) + o[2] - 51403784) << 9 | a >>> 23) + e << 0) ^ e & ((n = ((n += (e ^ t & (a ^ e)) + o[7] + 1735328473) << 14 | n >>> 18) + a << 0) ^ a)) + o[12] - 1926607734) << 20 | t >>> 12) + n << 0, t = ((t += ((i = (a = ((a += ((r = t ^ n) ^ (e = ((e += (r ^ a) + o[5] - 378558) << 4 | e >>> 28) + t << 0)) + o[8] - 2022574463) << 11 | a >>> 21) + e << 0) ^ e) ^ (n = ((n += (i ^ t) + o[11] + 1839030562) << 16 | n >>> 16) + a << 0)) + o[14] - 35309556) << 23 | t >>> 9) + n << 0, t = ((t += ((i = (a = ((a += ((r = t ^ n) ^ (e = ((e += (r ^ a) + o[1] - 1530992060) << 4 | e >>> 28) + t << 0)) + o[4] + 1272893353) << 11 | a >>> 21) + e << 0) ^ e) ^ (n = ((n += (i ^ t) + o[7] - 155497632) << 16 | n >>> 16) + a << 0)) + o[10] - 1094730640) << 23 | t >>> 9) + n << 0, t = ((t += ((i = (a = ((a += ((r = t ^ n) ^ (e = ((e += (r ^ a) + o[13] + 681279174) << 4 | e >>> 28) + t << 0)) + o[0] - 358537222) << 11 | a >>> 21) + e << 0) ^ e) ^ (n = ((n += (i ^ t) + o[3] - 722521979) << 16 | n >>> 16) + a << 0)) + o[6] + 76029189) << 23 | t >>> 9) + n << 0, t = ((t += ((i = (a = ((a += ((r = t ^ n) ^ (e = ((e += (r ^ a) + o[9] - 640364487) << 4 | e >>> 28) + t << 0)) + o[12] - 421815835) << 11 | a >>> 21) + e << 0) ^ e) ^ (n = ((n += (i ^ t) + o[15] + 530742520) << 16 | n >>> 16) + a << 0)) + o[2] - 995338651) << 23 | t >>> 9) + n << 0, t = ((t += ((a = ((a += (t ^ ((e = ((e += (n ^ (t | ~a)) + o[0] - 198630844) << 6 | e >>> 26) + t << 0) | ~n)) + o[7] + 1126891415) << 10 | a >>> 22) + e << 0) ^ ((n = ((n += (e ^ (a | ~t)) + o[14] - 1416354905) << 15 | n >>> 17) + a << 0) | ~e)) + o[5] - 57434055) << 21 | t >>> 11) + n << 0, t = ((t += ((a = ((a += (t ^ ((e = ((e += (n ^ (t | ~a)) + o[12] + 1700485571) << 6 | e >>> 26) + t << 0) | ~n)) + o[3] - 1894986606) << 10 | a >>> 22) + e << 0) ^ ((n = ((n += (e ^ (a | ~t)) + o[10] - 1051523) << 15 | n >>> 17) + a << 0) | ~e)) + o[1] - 2054922799) << 21 | t >>> 11) + n << 0, t = ((t += ((a = ((a += (t ^ ((e = ((e += (n ^ (t | ~a)) + o[8] + 1873313359) << 6 | e >>> 26) + t << 0) | ~n)) + o[15] - 30611744) << 10 | a >>> 22) + e << 0) ^ ((n = ((n += (e ^ (a | ~t)) + o[6] - 1560198380) << 15 | n >>> 17) + a << 0) | ~e)) + o[13] + 1309151649) << 21 | t >>> 11) + n << 0, t = ((t += ((a = ((a += (t ^ ((e = ((e += (n ^ (t | ~a)) + o[4] - 145523070) << 6 | e >>> 26) + t << 0) | ~n)) + o[11] - 1120210379) << 10 | a >>> 22) + e << 0) ^ ((n = ((n += (e ^ (a | ~t)) + o[2] + 718787259) << 15 | n >>> 17) + a << 0) | ~e)) + o[9] - 343485551) << 21 | t >>> 11) + n << 0, this.first ? (this.h0 = e + 1732584193 << 0, this.h1 = t - 271733879 << 0, this.h2 = n - 1732584194 << 0, this.h3 = a + 271733878 << 0, this.first = !1) : (this.h0 = this.h0 + e << 0, this.h1 = this.h1 + t << 0, this.h2 = this.h2 + n << 0, this.h3 = this.h3 + a << 0)
+ }, Md5.prototype.hex = function() {
+ this.finalize();
+ var e = this.h0,
+ t = this.h1,
+ n = this.h2,
+ a = this.h3;
+ return HEX_CHARS[e >> 4 & 15] + HEX_CHARS[15 & e] + HEX_CHARS[e >> 12 & 15] + HEX_CHARS[e >> 8 & 15] + HEX_CHARS[e >> 20 & 15] + HEX_CHARS[e >> 16 & 15] + HEX_CHARS[e >> 28 & 15] + HEX_CHARS[e >> 24 & 15] + HEX_CHARS[t >> 4 & 15] + HEX_CHARS[15 & t] + HEX_CHARS[t >> 12 & 15] + HEX_CHARS[t >> 8 & 15] + HEX_CHARS[t >> 20 & 15] + HEX_CHARS[t >> 16 & 15] + HEX_CHARS[t >> 28 & 15] + HEX_CHARS[t >> 24 & 15] + HEX_CHARS[n >> 4 & 15] + HEX_CHARS[15 & n] + HEX_CHARS[n >> 12 & 15] + HEX_CHARS[n >> 8 & 15] + HEX_CHARS[n >> 20 & 15] + HEX_CHARS[n >> 16 & 15] + HEX_CHARS[n >> 28 & 15] + HEX_CHARS[n >> 24 & 15] + HEX_CHARS[a >> 4 & 15] + HEX_CHARS[15 & a] + HEX_CHARS[a >> 12 & 15] + HEX_CHARS[a >> 8 & 15] + HEX_CHARS[a >> 20 & 15] + HEX_CHARS[a >> 16 & 15] + HEX_CHARS[a >> 28 & 15] + HEX_CHARS[a >> 24 & 15]
+ }, Md5.prototype.toString = Md5.prototype.hex, Md5.prototype.digest = function() {
+ this.finalize();
+ var e = this.h0,
+ t = this.h1,
+ n = this.h2,
+ a = this.h3;
+ return [255 & e, e >> 8 & 255, e >> 16 & 255, e >> 24 & 255, 255 & t, t >> 8 & 255, t >> 16 & 255, t >> 24 & 255, 255 & n, n >> 8 & 255, n >> 16 & 255, n >> 24 & 255, 255 & a, a >> 8 & 255, a >> 16 & 255, a >> 24 & 255]
+ }, Md5.prototype.array = Md5.prototype.digest, Md5.prototype.arrayBuffer = function() {
+ this.finalize();
+ var e = new ArrayBuffer(16),
+ t = new Uint32Array(e);
+ return t[0] = this.h0, t[1] = this.h1, t[2] = this.h2, t[3] = this.h3, e
+ }, Md5.prototype.buffer = Md5.prototype.arrayBuffer, Md5.prototype.base64 = function() {
+ for (var e, t, n, a = "", r = this.array(), i = 0; i < 15;) e = r[i++], t = r[i++], n = r[i++], a += BASE64_ENCODE_CHAR[e >>> 2] + BASE64_ENCODE_CHAR[63 & (e << 4 | t >>> 4)] + BASE64_ENCODE_CHAR[63 & (t << 2 | n >>> 6)] + BASE64_ENCODE_CHAR[63 & n];
+ return e = r[i], a + (BASE64_ENCODE_CHAR[e >>> 2] + BASE64_ENCODE_CHAR[e << 4 & 63] + "==")
+ };
+ var exports = createMethod();
+ COMMON_JS ? module.exports = exports : (root.md5 = exports, AMD && (__WEBPACK_AMD_DEFINE_RESULT__ = function() {
+ return exports
+ }.call(exports, __webpack_require__, exports, module), void 0 === __WEBPACK_AMD_DEFINE_RESULT__ || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)))
+ })()
+}, 7369: (e, t, n) => {
+ var a = n(7);
+
+ function r(e, t) {
+ this.logStorage = e, this.stringifyObjects = !(!t || !t.stringifyObjects) && t.stringifyObjects, this.storeInterval = t && t.storeInterval ? t.storeInterval : 3e4, this.maxEntryLength = t && t.maxEntryLength ? t.maxEntryLength : 1e4, Object.keys(a.levels).forEach(function(e) {
+ this[a.levels[e]] = function() {
+ this._log.apply(this, arguments)
+ }.bind(this, e)
+ }.bind(this)), this.storeLogsIntervalID = null, this.queue = [], this.totalLen = 0, this.outputCache = []
+ }
+ r.prototype.stringify = function(e) {
+ try {
+ return JSON.stringify(e)
+ } catch (e) {
+ return "[object with circular refs?]"
+ }
+ }, r.prototype.formatLogMessage = function(e) {
+ for (var t = "", n = 1, r = arguments.length; n < r; n++) {
+ var i = arguments[n];
+ !this.stringifyObjects && e !== a.levels.ERROR || "object" != typeof i || (i = this.stringify(i)), t += i, n !== r - 1 && (t += " ")
+ }
+ return t.length ? t : null
+ }, r.prototype._log = function() {
+ var e = arguments[1],
+ t = this.formatLogMessage.apply(this, arguments);
+ if (t) {
+ var n = this.queue[this.queue.length - 1],
+ a = n && n.text;
+ a === t ? n.count += 1 : (this.queue.push({
+ text: t,
+ timestamp: e,
+ count: 1
+ }), this.totalLen += t.length)
+ }
+ this.totalLen >= this.maxEntryLength && this._flush(!0, !0)
+ }, r.prototype.start = function() {
+ this._reschedulePublishInterval()
+ }, r.prototype._reschedulePublishInterval = function() {
+ this.storeLogsIntervalID && (window.clearTimeout(this.storeLogsIntervalID), this.storeLogsIntervalID = null), this.storeLogsIntervalID = window.setTimeout(this._flush.bind(this, !1, !0), this.storeInterval)
+ }, r.prototype.flush = function() {
+ this._flush(!1, !0)
+ }, r.prototype._flush = function(e, t) {
+ this.totalLen > 0 && (this.logStorage.isReady() || e) && (this.logStorage.isReady() ? (this.outputCache.length && (this.outputCache.forEach(function(e) {
+ this.logStorage.storeLogs(e)
+ }.bind(this)), this.outputCache = []), this.logStorage.storeLogs(this.queue)) : this.outputCache.push(this.queue), this.queue = [], this.totalLen = 0), t && this._reschedulePublishInterval()
+ }, r.prototype.stop = function() {
+ this._flush(!1, !1)
+ }, e.exports = r
+}, 7: e => {
+ var t = {
+ trace: 0,
+ debug: 1,
+ info: 2,
+ log: 3,
+ warn: 4,
+ error: 5
+ };
+ o.consoleTransport = console;
+ var n = [o.consoleTransport];
+ o.addGlobalTransport = function(e) {
+ -1 === n.indexOf(e) && n.push(e)
+ }, o.removeGlobalTransport = function(e) {
+ var t = n.indexOf(e); - 1 !== t && n.splice(t, 1)
+ };
+ var a = {};
+
+ function r() {
+ var e = {
+ methodName: "",
+ fileLocation: "",
+ line: null,
+ column: null
},
- 91: function(e, t, n) {
- "use strict";
- t.__esModule = !0, t.default = void 0;
- var a = l(n(92)),
- r = l(n(93)),
- i = l(n(94)),
- o = l(n(95)),
- s = l(n(17));
-
- function l(e) {
- return e && e.__esModule ? e : {
- default: e
- }
+ t = new Error,
+ n = t.stack ? t.stack.split("\n") : [];
+ if (!n || n.length < 3) return e;
+ var a = null;
+ return n[3] && (a = n[3].match(/\s*at\s*(.+?)\s*\((\S*)\s*:(\d*)\s*:(\d*)\)/)), !a || a.length <= 4 ? (0 === n[2].indexOf("log@") ? e.methodName = n[3].substr(0, n[3].indexOf("@")) : e.methodName = n[2].substr(0, n[2].indexOf("@")), e) : (e.methodName = a[1], e.fileLocation = a[2], e.line = a[3], e.column = a[4], e)
+ }
+
+ function i() {
+ var e = arguments[0],
+ i = arguments[1],
+ o = Array.prototype.slice.call(arguments, 2);
+ if (!(t[i] < e.level))
+ for (var s = !(e.options.disableCallerInfo || a.disableCallerInfo) && r(), l = n.concat(e.transports), c = 0; c < l.length; c++) {
+ var u = l[c],
+ d = u[i];
+ if (d && "function" == typeof d) {
+ var p = [];
+ p.push((new Date).toISOString()), e.id && p.push("[" + e.id + "]"), s && s.methodName.length > 1 && p.push("<" + s.methodName + ">: ");
+ var h = p.concat(o);
+ d.bind(u).apply(u, h)
+ }
+ }
+ }
+
+ function o(e, n, a, r) {
+ this.id = n, this.options = r || {}, this.transports = a, this.transports || (this.transports = []), this.level = t[e];
+ for (var o = Object.keys(t), s = 0; s < o.length; s++) this[o[s]] = i.bind(null, this, o[s])
+ }
+ o.setGlobalOptions = function(e) {
+ a = e || {}
+ }, o.prototype.setLevel = function(e) {
+ this.level = t[e]
+ }, e.exports = o, o.levels = {
+ TRACE: "trace",
+ DEBUG: "debug",
+ INFO: "info",
+ LOG: "log",
+ WARN: "warn",
+ ERROR: "error"
+ }
+}, 1860: (e, t, n) => {
+ var a = n(7),
+ r = n(7369),
+ i = {},
+ o = [],
+ s = a.levels.TRACE;
+ e.exports = {
+ addGlobalTransport: function(e) {
+ a.addGlobalTransport(e)
+ },
+ removeGlobalTransport: function(e) {
+ a.removeGlobalTransport(e)
+ },
+ setGlobalOptions: function(e) {
+ a.setGlobalOptions(e)
+ },
+ getLogger: function(e, t, n) {
+ var r = new a(s, e, t, n);
+ return e ? (i[e] = i[e] || [], i[e].push(r)) : o.push(r), r
+ },
+ setLogLevelById: function(e, t) {
+ for (var n = t ? i[t] || [] : o, a = 0; a < n.length; a++) n[a].setLevel(e)
+ },
+ setLogLevel: function(e) {
+ s = e;
+ for (var t = 0; t < o.length; t++) o[t].setLevel(e);
+ for (var n in i) {
+ var a = i[n] || [];
+ for (t = 0; t < a.length; t++) a[t].setLevel(e)
+ }
+ },
+ levels: a.levels,
+ LogCollector: r
+ }
+}, 8045: (module, exports, __webpack_require__) => {
+ var process = __webpack_require__(554),
+ __WEBPACK_AMD_DEFINE_RESULT__;
+ (function() {
+ "use strict";
+ var ERROR = "input is invalid type",
+ WINDOW = "object" == typeof window,
+ root = WINDOW ? window : {};
+ root.JS_MD5_NO_WINDOW && (WINDOW = !1);
+ var WEB_WORKER = !WINDOW && "object" == typeof self,
+ NODE_JS = !root.JS_MD5_NO_NODE_JS && "object" == typeof process && process.versions && process.versions.node;
+ NODE_JS ? root = __webpack_require__.g : WEB_WORKER && (root = self);
+ var COMMON_JS = !root.JS_MD5_NO_COMMON_JS && module.exports,
+ AMD = __webpack_require__.amdO,
+ ARRAY_BUFFER = !root.JS_MD5_NO_ARRAY_BUFFER && "undefined" != typeof ArrayBuffer,
+ HEX_CHARS = "0123456789abcdef".split(""),
+ EXTRA = [128, 32768, 8388608, -2147483648],
+ SHIFT = [0, 8, 16, 24],
+ OUTPUT_TYPES = ["hex", "array", "digest", "buffer", "arrayBuffer", "base64"],
+ BASE64_ENCODE_CHAR = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),
+ blocks = [],
+ buffer8;
+ if (ARRAY_BUFFER) {
+ var buffer = new ArrayBuffer(68);
+ buffer8 = new Uint8Array(buffer), blocks = new Uint32Array(buffer)
+ }!root.JS_MD5_NO_NODE_JS && Array.isArray || (Array.isArray = function(e) {
+ return "[object Array]" === Object.prototype.toString.call(e)
+ }), !ARRAY_BUFFER || !root.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW && ArrayBuffer.isView || (ArrayBuffer.isView = function(e) {
+ return "object" == typeof e && e.buffer && e.buffer.constructor === ArrayBuffer
+ });
+ var createOutputMethod = function(e) {
+ return function(t) {
+ return new Md5(!0).update(t)[e]()
}
- var c = function() {
- function e(e, t) {
- if (void 0 === t && (t = !1), null == e || "" === e) throw new Error("UserAgent parameter can't be empty");
- this._ua = e, this.parsedResult = {}, !0 !== t && this.parse()
- }
- var t = e.prototype;
- return t.getUA = function() {
- return this._ua
- }, t.test = function(e) {
- return e.test(this._ua)
- }, t.parseBrowser = function() {
- var e = this;
- this.parsedResult.browser = {};
- var t = a.default.find((function(t) {
- if ("function" == typeof t.test) return t.test(e);
- if (t.test instanceof Array) return t.test.some((function(t) {
- return e.test(t)
- }));
- throw new Error("Browser's test function is not valid")
- }));
- return t && (this.parsedResult.browser = t.describe(this.getUA())), this.parsedResult.browser
- }, t.getBrowser = function() {
- return this.parsedResult.browser ? this.parsedResult.browser : this.parseBrowser()
- }, t.getBrowserName = function(e) {
- return e ? String(this.getBrowser().name).toLowerCase() || "" : this.getBrowser().name || ""
- }, t.getBrowserVersion = function() {
- return this.getBrowser().version
- }, t.getOS = function() {
- return this.parsedResult.os ? this.parsedResult.os : this.parseOS()
- }, t.parseOS = function() {
- var e = this;
- this.parsedResult.os = {};
- var t = r.default.find((function(t) {
- if ("function" == typeof t.test) return t.test(e);
- if (t.test instanceof Array) return t.test.some((function(t) {
- return e.test(t)
- }));
- throw new Error("Browser's test function is not valid")
- }));
- return t && (this.parsedResult.os = t.describe(this.getUA())), this.parsedResult.os
- }, t.getOSName = function(e) {
- var t = this.getOS().name;
- return e ? String(t).toLowerCase() || "" : t || ""
- }, t.getOSVersion = function() {
- return this.getOS().version
- }, t.getPlatform = function() {
- return this.parsedResult.platform ? this.parsedResult.platform : this.parsePlatform()
- }, t.getPlatformType = function(e) {
- void 0 === e && (e = !1);
- var t = this.getPlatform().type;
- return e ? String(t).toLowerCase() || "" : t || ""
- }, t.parsePlatform = function() {
- var e = this;
- this.parsedResult.platform = {};
- var t = i.default.find((function(t) {
- if ("function" == typeof t.test) return t.test(e);
- if (t.test instanceof Array) return t.test.some((function(t) {
- return e.test(t)
- }));
- throw new Error("Browser's test function is not valid")
- }));
- return t && (this.parsedResult.platform = t.describe(this.getUA())), this.parsedResult.platform
- }, t.getEngine = function() {
- return this.parsedResult.engine ? this.parsedResult.engine : this.parseEngine()
- }, t.getEngineName = function(e) {
- return e ? String(this.getEngine().name).toLowerCase() || "" : this.getEngine().name || ""
- }, t.parseEngine = function() {
- var e = this;
- this.parsedResult.engine = {};
- var t = o.default.find((function(t) {
- if ("function" == typeof t.test) return t.test(e);
- if (t.test instanceof Array) return t.test.some((function(t) {
- return e.test(t)
- }));
- throw new Error("Browser's test function is not valid")
- }));
- return t && (this.parsedResult.engine = t.describe(this.getUA())), this.parsedResult.engine
- }, t.parse = function() {
- return this.parseBrowser(), this.parseOS(), this.parsePlatform(), this.parseEngine(), this
- }, t.getResult = function() {
- return Object.assign({}, this.parsedResult)
- }, t.satisfies = function(e) {
- var t = this,
- n = {},
- a = 0,
- r = {},
- i = 0;
- if (Object.keys(e).forEach((function(t) {
- var o = e[t];
- "string" == typeof o ? (r[t] = o, i += 1) : "object" == typeof o && (n[t] = o, a += 1)
- })), a > 0) {
- var o = Object.keys(n),
- s = o.find((function(e) {
- return t.isOS(e)
- }));
- if (s) {
- var l = this.satisfies(n[s]);
- if (void 0 !== l) return l
- }
- var c = o.find((function(e) {
- return t.isPlatform(e)
- }));
- if (c) {
- var u = this.satisfies(n[c]);
- if (void 0 !== u) return u
- }
- }
- if (i > 0) {
- var d = Object.keys(r).find((function(e) {
- return t.isBrowser(e, !0)
- }));
- if (void 0 !== d) return this.compareVersion(r[d])
- }
- }, t.isBrowser = function(e, t) {
- void 0 === t && (t = !1);
- var n = this.getBrowserName().toLowerCase(),
- a = e.toLowerCase(),
- r = s.default.getBrowserTypeByAlias(a);
- return t && r && (a = r.toLowerCase()), a === n
- }, t.compareVersion = function(e) {
- var t = [0],
- n = e,
- a = !1,
- r = this.getBrowserVersion();
- if ("string" == typeof r) return ">" === e[0] || "<" === e[0] ? (n = e.substr(1), "=" === e[1] ? (a = !0, n = e.substr(2)) : t = [], ">" === e[0] ? t.push(1) : t.push(-1)) : "=" === e[0] ? n = e.substr(1) : "~" === e[0] && (a = !0, n = e.substr(1)), t.indexOf(s.default.compareVersions(r, n, a)) > -1
- }, t.isOS = function(e) {
- return this.getOSName(!0) === String(e).toLowerCase()
- }, t.isPlatform = function(e) {
- return this.getPlatformType(!0) === String(e).toLowerCase()
- }, t.isEngine = function(e) {
- return this.getEngineName(!0) === String(e).toLowerCase()
- }, t.is = function(e) {
- return this.isBrowser(e) || this.isOS(e) || this.isPlatform(e)
- }, t.some = function(e) {
- var t = this;
- return void 0 === e && (e = []), e.some((function(e) {
- return t.is(e)
- }))
- }, e
- }();
- t.default = c, e.exports = t.default
- },
- 92: function(e, t, n) {
- "use strict";
- t.__esModule = !0, t.default = void 0;
- var a, r = (a = n(17)) && a.__esModule ? a : {
- default: a
- },
- i = /version\/(\d+(\.?_?\d+)+)/i,
- o = [{
- test: [/googlebot/i],
- describe: function(e) {
- var t = {
- name: "Googlebot"
- },
- n = r.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i, e) || r.default.getFirstMatch(i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/opera/i],
- describe: function(e) {
- var t = {
- name: "Opera"
- },
- n = r.default.getFirstMatch(i, e) || r.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/opr\/|opios/i],
- describe: function(e) {
- var t = {
- name: "Opera"
- },
- n = r.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i, e) || r.default.getFirstMatch(i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/SamsungBrowser/i],
- describe: function(e) {
- var t = {
- name: "Samsung Internet for Android"
- },
- n = r.default.getFirstMatch(i, e) || r.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/Whale/i],
- describe: function(e) {
- var t = {
- name: "NAVER Whale Browser"
- },
- n = r.default.getFirstMatch(i, e) || r.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/MZBrowser/i],
- describe: function(e) {
- var t = {
- name: "MZ Browser"
- },
- n = r.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i, e) || r.default.getFirstMatch(i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/focus/i],
- describe: function(e) {
- var t = {
- name: "Focus"
- },
- n = r.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i, e) || r.default.getFirstMatch(i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/swing/i],
- describe: function(e) {
- var t = {
- name: "Swing"
- },
- n = r.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i, e) || r.default.getFirstMatch(i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/coast/i],
- describe: function(e) {
- var t = {
- name: "Opera Coast"
- },
- n = r.default.getFirstMatch(i, e) || r.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/yabrowser/i],
- describe: function(e) {
- var t = {
- name: "Yandex Browser"
- },
- n = r.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i, e) || r.default.getFirstMatch(i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/ucbrowser/i],
- describe: function(e) {
- var t = {
- name: "UC Browser"
- },
- n = r.default.getFirstMatch(i, e) || r.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/Maxthon|mxios/i],
- describe: function(e) {
- var t = {
- name: "Maxthon"
- },
- n = r.default.getFirstMatch(i, e) || r.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/epiphany/i],
- describe: function(e) {
- var t = {
- name: "Epiphany"
- },
- n = r.default.getFirstMatch(i, e) || r.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/puffin/i],
- describe: function(e) {
- var t = {
- name: "Puffin"
- },
- n = r.default.getFirstMatch(i, e) || r.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/sleipnir/i],
- describe: function(e) {
- var t = {
- name: "Sleipnir"
- },
- n = r.default.getFirstMatch(i, e) || r.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/k-meleon/i],
- describe: function(e) {
- var t = {
- name: "K-Meleon"
- },
- n = r.default.getFirstMatch(i, e) || r.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/micromessenger/i],
- describe: function(e) {
- var t = {
- name: "WeChat"
- },
- n = r.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i, e) || r.default.getFirstMatch(i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/qqbrowser/i],
- describe: function(e) {
- var t = {
- name: /qqbrowserlite/i.test(e) ? "QQ Browser Lite" : "QQ Browser"
- },
- n = r.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i, e) || r.default.getFirstMatch(i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/msie|trident/i],
- describe: function(e) {
- var t = {
- name: "Internet Explorer"
- },
- n = r.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/\sedg\//i],
- describe: function(e) {
- var t = {
- name: "Microsoft Edge"
- },
- n = r.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/edg([ea]|ios)/i],
- describe: function(e) {
- var t = {
- name: "Microsoft Edge"
- },
- n = r.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/vivaldi/i],
- describe: function(e) {
- var t = {
- name: "Vivaldi"
- },
- n = r.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/seamonkey/i],
- describe: function(e) {
- var t = {
- name: "SeaMonkey"
- },
- n = r.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/sailfish/i],
- describe: function(e) {
- var t = {
- name: "Sailfish"
- },
- n = r.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/silk/i],
- describe: function(e) {
- var t = {
- name: "Amazon Silk"
- },
- n = r.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/phantom/i],
- describe: function(e) {
- var t = {
- name: "PhantomJS"
- },
- n = r.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/slimerjs/i],
- describe: function(e) {
- var t = {
- name: "SlimerJS"
- },
- n = r.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/blackberry|\bbb\d+/i, /rim\stablet/i],
- describe: function(e) {
- var t = {
- name: "BlackBerry"
- },
- n = r.default.getFirstMatch(i, e) || r.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/(web|hpw)[o0]s/i],
- describe: function(e) {
- var t = {
- name: "WebOS Browser"
- },
- n = r.default.getFirstMatch(i, e) || r.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/bada/i],
- describe: function(e) {
- var t = {
- name: "Bada"
- },
- n = r.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/tizen/i],
- describe: function(e) {
- var t = {
- name: "Tizen"
- },
- n = r.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i, e) || r.default.getFirstMatch(i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/qupzilla/i],
- describe: function(e) {
- var t = {
- name: "QupZilla"
- },
- n = r.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i, e) || r.default.getFirstMatch(i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/firefox|iceweasel|fxios/i],
- describe: function(e) {
- var t = {
- name: "Firefox"
- },
- n = r.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/chromium/i],
- describe: function(e) {
- var t = {
- name: "Chromium"
- },
- n = r.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i, e) || r.default.getFirstMatch(i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/chrome|crios|crmo/i],
- describe: function(e) {
- var t = {
- name: "Chrome"
- },
- n = r.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/GSA/i],
- describe: function(e) {
- var t = {
- name: "Google Search"
- },
- n = r.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: function(e) {
- var t = !e.test(/like android/i),
- n = e.test(/android/i);
- return t && n
- },
- describe: function(e) {
- var t = {
- name: "Android Browser"
- },
- n = r.default.getFirstMatch(i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/playstation 4/i],
- describe: function(e) {
- var t = {
- name: "PlayStation 4"
- },
- n = r.default.getFirstMatch(i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/safari|applewebkit/i],
- describe: function(e) {
- var t = {
- name: "Safari"
- },
- n = r.default.getFirstMatch(i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/.*/i],
- describe: function(e) {
- var t = -1 !== e.search("\\(") ? /^(.*)\/(.*)[ \t]\((.*)/ : /^(.*)\/(.*) /;
- return {
- name: r.default.getFirstMatch(t, e),
- version: r.default.getSecondMatch(t, e)
- }
- }
- }];
- t.default = o, e.exports = t.default
},
- 93: function(e, t, n) {
- "use strict";
- t.__esModule = !0, t.default = void 0;
- var a, r = (a = n(17)) && a.__esModule ? a : {
- default: a
- },
- i = n(18),
- o = [{
- test: [/Roku\/DVP/],
- describe: function(e) {
- var t = r.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i, e);
- return {
- name: i.OS_MAP.Roku,
- version: t
- }
- }
- }, {
- test: [/windows phone/i],
- describe: function(e) {
- var t = r.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i, e);
- return {
- name: i.OS_MAP.WindowsPhone,
- version: t
- }
- }
- }, {
- test: [/windows/i],
- describe: function(e) {
- var t = r.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i, e),
- n = r.default.getWindowsVersionName(t);
- return {
- name: i.OS_MAP.Windows,
- version: t,
- versionName: n
- }
- }
- }, {
- test: [/macintosh/i],
- describe: function(e) {
- var t = r.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i, e).replace(/[_\s]/g, "."),
- n = r.default.getMacOSVersionName(t),
- a = {
- name: i.OS_MAP.MacOS,
- version: t
- };
- return n && (a.versionName = n), a
- }
- }, {
- test: [/(ipod|iphone|ipad)/i],
- describe: function(e) {
- var t = r.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i, e).replace(/[_\s]/g, ".");
- return {
- name: i.OS_MAP.iOS,
- version: t
- }
- }
- }, {
- test: function(e) {
- var t = !e.test(/like android/i),
- n = e.test(/android/i);
- return t && n
- },
- describe: function(e) {
- var t = r.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i, e),
- n = r.default.getAndroidVersionName(t),
- a = {
- name: i.OS_MAP.Android,
- version: t
- };
- return n && (a.versionName = n), a
- }
- }, {
- test: [/(web|hpw)[o0]s/i],
- describe: function(e) {
- var t = r.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i, e),
- n = {
- name: i.OS_MAP.WebOS
- };
- return t && t.length && (n.version = t), n
- }
- }, {
- test: [/blackberry|\bbb\d+/i, /rim\stablet/i],
- describe: function(e) {
- var t = r.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i, e) || r.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i, e) || r.default.getFirstMatch(/\bbb(\d+)/i, e);
- return {
- name: i.OS_MAP.BlackBerry,
- version: t
- }
- }
- }, {
- test: [/bada/i],
- describe: function(e) {
- var t = r.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i, e);
- return {
- name: i.OS_MAP.Bada,
- version: t
- }
- }
- }, {
- test: [/tizen/i],
- describe: function(e) {
- var t = r.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i, e);
- return {
- name: i.OS_MAP.Tizen,
- version: t
- }
- }
- }, {
- test: [/linux/i],
- describe: function() {
- return {
- name: i.OS_MAP.Linux
- }
- }
- }, {
- test: [/CrOS/],
- describe: function() {
- return {
- name: i.OS_MAP.ChromeOS
- }
- }
- }, {
- test: [/PlayStation 4/],
- describe: function(e) {
- var t = r.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i, e);
- return {
- name: i.OS_MAP.PlayStation4,
- version: t
- }
- }
- }];
- t.default = o, e.exports = t.default
+ createMethod = function() {
+ var e = createOutputMethod("hex");
+ NODE_JS && (e = nodeWrap(e)), e.create = function() {
+ return new Md5
+ }, e.update = function(t) {
+ return e.create().update(t)
+ };
+ for (var t = 0; t < OUTPUT_TYPES.length; ++t) {
+ var n = OUTPUT_TYPES[t];
+ e[n] = createOutputMethod(n)
+ }
+ return e
},
- 94: function(e, t, n) {
- "use strict";
- t.__esModule = !0, t.default = void 0;
- var a, r = (a = n(17)) && a.__esModule ? a : {
- default: a
- },
- i = n(18),
- o = [{
- test: [/googlebot/i],
- describe: function() {
- return {
- type: "bot",
- vendor: "Google"
- }
- }
- }, {
- test: [/huawei/i],
- describe: function(e) {
- var t = r.default.getFirstMatch(/(can-l01)/i, e) && "Nova",
- n = {
- type: i.PLATFORMS_MAP.mobile,
- vendor: "Huawei"
- };
- return t && (n.model = t), n
- }
- }, {
- test: [/nexus\s*(?:7|8|9|10).*/i],
- describe: function() {
- return {
- type: i.PLATFORMS_MAP.tablet,
- vendor: "Nexus"
- }
- }
- }, {
- test: [/ipad/i],
- describe: function() {
- return {
- type: i.PLATFORMS_MAP.tablet,
- vendor: "Apple",
- model: "iPad"
- }
- }
- }, {
- test: [/kftt build/i],
- describe: function() {
- return {
- type: i.PLATFORMS_MAP.tablet,
- vendor: "Amazon",
- model: "Kindle Fire HD 7"
- }
- }
- }, {
- test: [/silk/i],
- describe: function() {
- return {
- type: i.PLATFORMS_MAP.tablet,
- vendor: "Amazon"
- }
- }
- }, {
- test: [/tablet(?! pc)/i],
- describe: function() {
- return {
- type: i.PLATFORMS_MAP.tablet
- }
- }
- }, {
- test: function(e) {
- var t = e.test(/ipod|iphone/i),
- n = e.test(/like (ipod|iphone)/i);
- return t && !n
- },
- describe: function(e) {
- var t = r.default.getFirstMatch(/(ipod|iphone)/i, e);
- return {
- type: i.PLATFORMS_MAP.mobile,
- vendor: "Apple",
- model: t
- }
- }
- }, {
- test: [/nexus\s*[0-6].*/i, /galaxy nexus/i],
- describe: function() {
- return {
- type: i.PLATFORMS_MAP.mobile,
- vendor: "Nexus"
- }
- }
- }, {
- test: [/[^-]mobi/i],
- describe: function() {
- return {
- type: i.PLATFORMS_MAP.mobile
- }
- }
- }, {
- test: function(e) {
- return "blackberry" === e.getBrowserName(!0)
- },
- describe: function() {
- return {
- type: i.PLATFORMS_MAP.mobile,
- vendor: "BlackBerry"
- }
- }
- }, {
- test: function(e) {
- return "bada" === e.getBrowserName(!0)
- },
- describe: function() {
- return {
- type: i.PLATFORMS_MAP.mobile
- }
- }
- }, {
- test: function(e) {
- return "windows phone" === e.getBrowserName()
- },
- describe: function() {
- return {
- type: i.PLATFORMS_MAP.mobile,
- vendor: "Microsoft"
- }
- }
- }, {
- test: function(e) {
- var t = Number(String(e.getOSVersion()).split(".")[0]);
- return "android" === e.getOSName(!0) && t >= 3
- },
- describe: function() {
- return {
- type: i.PLATFORMS_MAP.tablet
- }
- }
- }, {
- test: function(e) {
- return "android" === e.getOSName(!0)
- },
- describe: function() {
- return {
- type: i.PLATFORMS_MAP.mobile
- }
- }
- }, {
- test: function(e) {
- return "macos" === e.getOSName(!0)
- },
- describe: function() {
- return {
- type: i.PLATFORMS_MAP.desktop,
- vendor: "Apple"
- }
- }
- }, {
- test: function(e) {
- return "windows" === e.getOSName(!0)
- },
- describe: function() {
- return {
- type: i.PLATFORMS_MAP.desktop
- }
- }
- }, {
- test: function(e) {
- return "linux" === e.getOSName(!0)
- },
- describe: function() {
- return {
- type: i.PLATFORMS_MAP.desktop
- }
+ nodeWrap = function(method) {
+ var crypto = eval("require('crypto')"),
+ Buffer = eval("require('buffer').Buffer"),
+ nodeMethod = function(e) {
+ if ("string" == typeof e) return crypto.createHash("md5").update(e, "utf8").digest("hex");
+ if (null == e) throw ERROR;
+ return e.constructor === ArrayBuffer && (e = new Uint8Array(e)), Array.isArray(e) || ArrayBuffer.isView(e) || e.constructor === Buffer ? crypto.createHash("md5").update(new Buffer(e)).digest("hex") : method(e)
+ };
+ return nodeMethod
+ };
+
+ function Md5(e) {
+ if (e) blocks[0] = blocks[16] = blocks[1] = blocks[2] = blocks[3] = blocks[4] = blocks[5] = blocks[6] = blocks[7] = blocks[8] = blocks[9] = blocks[10] = blocks[11] = blocks[12] = blocks[13] = blocks[14] = blocks[15] = 0, this.blocks = blocks, this.buffer8 = buffer8;
+ else if (ARRAY_BUFFER) {
+ var t = new ArrayBuffer(68);
+ this.buffer8 = new Uint8Array(t), this.blocks = new Uint32Array(t)
+ } else this.blocks = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
+ this.h0 = this.h1 = this.h2 = this.h3 = this.start = this.bytes = this.hBytes = 0, this.finalized = this.hashed = !1, this.first = !0
+ }
+ Md5.prototype.update = function(e) {
+ if (!this.finalized) {
+ var t, n = typeof e;
+ if ("string" !== n) {
+ if ("object" !== n) throw ERROR;
+ if (null === e) throw ERROR;
+ if (ARRAY_BUFFER && e.constructor === ArrayBuffer) e = new Uint8Array(e);
+ else if (!(Array.isArray(e) || ARRAY_BUFFER && ArrayBuffer.isView(e))) throw ERROR;
+ t = !0
+ }
+ for (var a, r, i = 0, o = e.length, s = this.blocks, l = this.buffer8; i < o;) {
+ if (this.hashed && (this.hashed = !1, s[0] = s[16], s[16] = s[1] = s[2] = s[3] = s[4] = s[5] = s[6] = s[7] = s[8] = s[9] = s[10] = s[11] = s[12] = s[13] = s[14] = s[15] = 0), t)
+ if (ARRAY_BUFFER)
+ for (r = this.start; i < o && r < 64; ++i) l[r++] = e[i];
+ else
+ for (r = this.start; i < o && r < 64; ++i) s[r >> 2] |= e[i] << SHIFT[3 & r++];
+ else if (ARRAY_BUFFER)
+ for (r = this.start; i < o && r < 64; ++i)(a = e.charCodeAt(i)) < 128 ? l[r++] = a : a < 2048 ? (l[r++] = 192 | a >> 6, l[r++] = 128 | 63 & a) : a < 55296 || a >= 57344 ? (l[r++] = 224 | a >> 12, l[r++] = 128 | a >> 6 & 63, l[r++] = 128 | 63 & a) : (a = 65536 + ((1023 & a) << 10 | 1023 & e.charCodeAt(++i)), l[r++] = 240 | a >> 18, l[r++] = 128 | a >> 12 & 63, l[r++] = 128 | a >> 6 & 63, l[r++] = 128 | 63 & a);
+ else
+ for (r = this.start; i < o && r < 64; ++i)(a = e.charCodeAt(i)) < 128 ? s[r >> 2] |= a << SHIFT[3 & r++] : a < 2048 ? (s[r >> 2] |= (192 | a >> 6) << SHIFT[3 & r++], s[r >> 2] |= (128 | 63 & a) << SHIFT[3 & r++]) : a < 55296 || a >= 57344 ? (s[r >> 2] |= (224 | a >> 12) << SHIFT[3 & r++], s[r >> 2] |= (128 | a >> 6 & 63) << SHIFT[3 & r++], s[r >> 2] |= (128 | 63 & a) << SHIFT[3 & r++]) : (a = 65536 + ((1023 & a) << 10 | 1023 & e.charCodeAt(++i)), s[r >> 2] |= (240 | a >> 18) << SHIFT[3 & r++], s[r >> 2] |= (128 | a >> 12 & 63) << SHIFT[3 & r++], s[r >> 2] |= (128 | a >> 6 & 63) << SHIFT[3 & r++], s[r >> 2] |= (128 | 63 & a) << SHIFT[3 & r++]);
+ this.lastByteIndex = r, this.bytes += r - this.start, r >= 64 ? (this.start = r - 64, this.hash(), this.hashed = !0) : this.start = r
+ }
+ return this.bytes > 4294967295 && (this.hBytes += this.bytes / 4294967296 << 0, this.bytes = this.bytes % 4294967296), this
+ }
+ }, Md5.prototype.finalize = function() {
+ if (!this.finalized) {
+ this.finalized = !0;
+ var e = this.blocks,
+ t = this.lastByteIndex;
+ e[t >> 2] |= EXTRA[3 & t], t >= 56 && (this.hashed || this.hash(), e[0] = e[16], e[16] = e[1] = e[2] = e[3] = e[4] = e[5] = e[6] = e[7] = e[8] = e[9] = e[10] = e[11] = e[12] = e[13] = e[14] = e[15] = 0), e[14] = this.bytes << 3, e[15] = this.hBytes << 3 | this.bytes >>> 29, this.hash()
+ }
+ }, Md5.prototype.hash = function() {
+ var e, t, n, a, r, i, o = this.blocks;
+ this.first ? t = ((t = ((e = ((e = o[0] - 680876937) << 7 | e >>> 25) - 271733879 << 0) ^ (n = ((n = (-271733879 ^ (a = ((a = (-1732584194 ^ 2004318071 & e) + o[1] - 117830708) << 12 | a >>> 20) + e << 0) & (-271733879 ^ e)) + o[2] - 1126478375) << 17 | n >>> 15) + a << 0) & (a ^ e)) + o[3] - 1316259209) << 22 | t >>> 10) + n << 0 : (e = this.h0, t = this.h1, n = this.h2, t = ((t += ((e = ((e += ((a = this.h3) ^ t & (n ^ a)) + o[0] - 680876936) << 7 | e >>> 25) + t << 0) ^ (n = ((n += (t ^ (a = ((a += (n ^ e & (t ^ n)) + o[1] - 389564586) << 12 | a >>> 20) + e << 0) & (e ^ t)) + o[2] + 606105819) << 17 | n >>> 15) + a << 0) & (a ^ e)) + o[3] - 1044525330) << 22 | t >>> 10) + n << 0), t = ((t += ((e = ((e += (a ^ t & (n ^ a)) + o[4] - 176418897) << 7 | e >>> 25) + t << 0) ^ (n = ((n += (t ^ (a = ((a += (n ^ e & (t ^ n)) + o[5] + 1200080426) << 12 | a >>> 20) + e << 0) & (e ^ t)) + o[6] - 1473231341) << 17 | n >>> 15) + a << 0) & (a ^ e)) + o[7] - 45705983) << 22 | t >>> 10) + n << 0, t = ((t += ((e = ((e += (a ^ t & (n ^ a)) + o[8] + 1770035416) << 7 | e >>> 25) + t << 0) ^ (n = ((n += (t ^ (a = ((a += (n ^ e & (t ^ n)) + o[9] - 1958414417) << 12 | a >>> 20) + e << 0) & (e ^ t)) + o[10] - 42063) << 17 | n >>> 15) + a << 0) & (a ^ e)) + o[11] - 1990404162) << 22 | t >>> 10) + n << 0, t = ((t += ((e = ((e += (a ^ t & (n ^ a)) + o[12] + 1804603682) << 7 | e >>> 25) + t << 0) ^ (n = ((n += (t ^ (a = ((a += (n ^ e & (t ^ n)) + o[13] - 40341101) << 12 | a >>> 20) + e << 0) & (e ^ t)) + o[14] - 1502002290) << 17 | n >>> 15) + a << 0) & (a ^ e)) + o[15] + 1236535329) << 22 | t >>> 10) + n << 0, t = ((t += ((a = ((a += (t ^ n & ((e = ((e += (n ^ a & (t ^ n)) + o[1] - 165796510) << 5 | e >>> 27) + t << 0) ^ t)) + o[6] - 1069501632) << 9 | a >>> 23) + e << 0) ^ e & ((n = ((n += (e ^ t & (a ^ e)) + o[11] + 643717713) << 14 | n >>> 18) + a << 0) ^ a)) + o[0] - 373897302) << 20 | t >>> 12) + n << 0, t = ((t += ((a = ((a += (t ^ n & ((e = ((e += (n ^ a & (t ^ n)) + o[5] - 701558691) << 5 | e >>> 27) + t << 0) ^ t)) + o[10] + 38016083) << 9 | a >>> 23) + e << 0) ^ e & ((n = ((n += (e ^ t & (a ^ e)) + o[15] - 660478335) << 14 | n >>> 18) + a << 0) ^ a)) + o[4] - 405537848) << 20 | t >>> 12) + n << 0, t = ((t += ((a = ((a += (t ^ n & ((e = ((e += (n ^ a & (t ^ n)) + o[9] + 568446438) << 5 | e >>> 27) + t << 0) ^ t)) + o[14] - 1019803690) << 9 | a >>> 23) + e << 0) ^ e & ((n = ((n += (e ^ t & (a ^ e)) + o[3] - 187363961) << 14 | n >>> 18) + a << 0) ^ a)) + o[8] + 1163531501) << 20 | t >>> 12) + n << 0, t = ((t += ((a = ((a += (t ^ n & ((e = ((e += (n ^ a & (t ^ n)) + o[13] - 1444681467) << 5 | e >>> 27) + t << 0) ^ t)) + o[2] - 51403784) << 9 | a >>> 23) + e << 0) ^ e & ((n = ((n += (e ^ t & (a ^ e)) + o[7] + 1735328473) << 14 | n >>> 18) + a << 0) ^ a)) + o[12] - 1926607734) << 20 | t >>> 12) + n << 0, t = ((t += ((i = (a = ((a += ((r = t ^ n) ^ (e = ((e += (r ^ a) + o[5] - 378558) << 4 | e >>> 28) + t << 0)) + o[8] - 2022574463) << 11 | a >>> 21) + e << 0) ^ e) ^ (n = ((n += (i ^ t) + o[11] + 1839030562) << 16 | n >>> 16) + a << 0)) + o[14] - 35309556) << 23 | t >>> 9) + n << 0, t = ((t += ((i = (a = ((a += ((r = t ^ n) ^ (e = ((e += (r ^ a) + o[1] - 1530992060) << 4 | e >>> 28) + t << 0)) + o[4] + 1272893353) << 11 | a >>> 21) + e << 0) ^ e) ^ (n = ((n += (i ^ t) + o[7] - 155497632) << 16 | n >>> 16) + a << 0)) + o[10] - 1094730640) << 23 | t >>> 9) + n << 0, t = ((t += ((i = (a = ((a += ((r = t ^ n) ^ (e = ((e += (r ^ a) + o[13] + 681279174) << 4 | e >>> 28) + t << 0)) + o[0] - 358537222) << 11 | a >>> 21) + e << 0) ^ e) ^ (n = ((n += (i ^ t) + o[3] - 722521979) << 16 | n >>> 16) + a << 0)) + o[6] + 76029189) << 23 | t >>> 9) + n << 0, t = ((t += ((i = (a = ((a += ((r = t ^ n) ^ (e = ((e += (r ^ a) + o[9] - 640364487) << 4 | e >>> 28) + t << 0)) + o[12] - 421815835) << 11 | a >>> 21) + e << 0) ^ e) ^ (n = ((n += (i ^ t) + o[15] + 530742520) << 16 | n >>> 16) + a << 0)) + o[2] - 995338651) << 23 | t >>> 9) + n << 0, t = ((t += ((a = ((a += (t ^ ((e = ((e += (n ^ (t | ~a)) + o[0] - 198630844) << 6 | e >>> 26) + t << 0) | ~n)) + o[7] + 1126891415) << 10 | a >>> 22) + e << 0) ^ ((n = ((n += (e ^ (a | ~t)) + o[14] - 1416354905) << 15 | n >>> 17) + a << 0) | ~e)) + o[5] - 57434055) << 21 | t >>> 11) + n << 0, t = ((t += ((a = ((a += (t ^ ((e = ((e += (n ^ (t | ~a)) + o[12] + 1700485571) << 6 | e >>> 26) + t << 0) | ~n)) + o[3] - 1894986606) << 10 | a >>> 22) + e << 0) ^ ((n = ((n += (e ^ (a | ~t)) + o[10] - 1051523) << 15 | n >>> 17) + a << 0) | ~e)) + o[1] - 2054922799) << 21 | t >>> 11) + n << 0, t = ((t += ((a = ((a += (t ^ ((e = ((e += (n ^ (t | ~a)) + o[8] + 1873313359) << 6 | e >>> 26) + t << 0) | ~n)) + o[15] - 30611744) << 10 | a >>> 22) + e << 0) ^ ((n = ((n += (e ^ (a | ~t)) + o[6] - 1560198380) << 15 | n >>> 17) + a << 0) | ~e)) + o[13] + 1309151649) << 21 | t >>> 11) + n << 0, t = ((t += ((a = ((a += (t ^ ((e = ((e += (n ^ (t | ~a)) + o[4] - 145523070) << 6 | e >>> 26) + t << 0) | ~n)) + o[11] - 1120210379) << 10 | a >>> 22) + e << 0) ^ ((n = ((n += (e ^ (a | ~t)) + o[2] + 718787259) << 15 | n >>> 17) + a << 0) | ~e)) + o[9] - 343485551) << 21 | t >>> 11) + n << 0, this.first ? (this.h0 = e + 1732584193 << 0, this.h1 = t - 271733879 << 0, this.h2 = n - 1732584194 << 0, this.h3 = a + 271733878 << 0, this.first = !1) : (this.h0 = this.h0 + e << 0, this.h1 = this.h1 + t << 0, this.h2 = this.h2 + n << 0, this.h3 = this.h3 + a << 0)
+ }, Md5.prototype.hex = function() {
+ this.finalize();
+ var e = this.h0,
+ t = this.h1,
+ n = this.h2,
+ a = this.h3;
+ return HEX_CHARS[e >> 4 & 15] + HEX_CHARS[15 & e] + HEX_CHARS[e >> 12 & 15] + HEX_CHARS[e >> 8 & 15] + HEX_CHARS[e >> 20 & 15] + HEX_CHARS[e >> 16 & 15] + HEX_CHARS[e >> 28 & 15] + HEX_CHARS[e >> 24 & 15] + HEX_CHARS[t >> 4 & 15] + HEX_CHARS[15 & t] + HEX_CHARS[t >> 12 & 15] + HEX_CHARS[t >> 8 & 15] + HEX_CHARS[t >> 20 & 15] + HEX_CHARS[t >> 16 & 15] + HEX_CHARS[t >> 28 & 15] + HEX_CHARS[t >> 24 & 15] + HEX_CHARS[n >> 4 & 15] + HEX_CHARS[15 & n] + HEX_CHARS[n >> 12 & 15] + HEX_CHARS[n >> 8 & 15] + HEX_CHARS[n >> 20 & 15] + HEX_CHARS[n >> 16 & 15] + HEX_CHARS[n >> 28 & 15] + HEX_CHARS[n >> 24 & 15] + HEX_CHARS[a >> 4 & 15] + HEX_CHARS[15 & a] + HEX_CHARS[a >> 12 & 15] + HEX_CHARS[a >> 8 & 15] + HEX_CHARS[a >> 20 & 15] + HEX_CHARS[a >> 16 & 15] + HEX_CHARS[a >> 28 & 15] + HEX_CHARS[a >> 24 & 15]
+ }, Md5.prototype.toString = Md5.prototype.hex, Md5.prototype.digest = function() {
+ this.finalize();
+ var e = this.h0,
+ t = this.h1,
+ n = this.h2,
+ a = this.h3;
+ return [255 & e, e >> 8 & 255, e >> 16 & 255, e >> 24 & 255, 255 & t, t >> 8 & 255, t >> 16 & 255, t >> 24 & 255, 255 & n, n >> 8 & 255, n >> 16 & 255, n >> 24 & 255, 255 & a, a >> 8 & 255, a >> 16 & 255, a >> 24 & 255]
+ }, Md5.prototype.array = Md5.prototype.digest, Md5.prototype.arrayBuffer = function() {
+ this.finalize();
+ var e = new ArrayBuffer(16),
+ t = new Uint32Array(e);
+ return t[0] = this.h0, t[1] = this.h1, t[2] = this.h2, t[3] = this.h3, e
+ }, Md5.prototype.buffer = Md5.prototype.arrayBuffer, Md5.prototype.base64 = function() {
+ for (var e, t, n, a = "", r = this.array(), i = 0; i < 15;) e = r[i++], t = r[i++], n = r[i++], a += BASE64_ENCODE_CHAR[e >>> 2] + BASE64_ENCODE_CHAR[63 & (e << 4 | t >>> 4)] + BASE64_ENCODE_CHAR[63 & (t << 2 | n >>> 6)] + BASE64_ENCODE_CHAR[63 & n];
+ return e = r[i], a + (BASE64_ENCODE_CHAR[e >>> 2] + BASE64_ENCODE_CHAR[e << 4 & 63] + "==")
+ };
+ var exports = createMethod();
+ COMMON_JS ? module.exports = exports : (root.md5 = exports, AMD && (__WEBPACK_AMD_DEFINE_RESULT__ = function() {
+ return exports
+ }.call(exports, __webpack_require__, exports, module), void 0 === __WEBPACK_AMD_DEFINE_RESULT__ || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)))
+ })()
+}, 7670: (e, t, n) => {
+ var a = n(791),
+ r = n(6309),
+ i = r;
+ i.v1 = a, i.v4 = r, e.exports = i
+}, 2548: e => {
+ for (var t = [], n = 0; n < 256; ++n) t[n] = (n + 256).toString(16).substr(1);
+ e.exports = function(e, n) {
+ var a = n || 0,
+ r = t;
+ return r[e[a++]] + r[e[a++]] + r[e[a++]] + r[e[a++]] + "-" + r[e[a++]] + r[e[a++]] + "-" + r[e[a++]] + r[e[a++]] + "-" + r[e[a++]] + r[e[a++]] + "-" + r[e[a++]] + r[e[a++]] + r[e[a++]] + r[e[a++]] + r[e[a++]] + r[e[a++]]
+ }
+}, 7933: (e, t, n) => {
+ var a, r = n.g.crypto || n.g.msCrypto;
+ if (r && r.getRandomValues) {
+ var i = new Uint8Array(16);
+ a = function() {
+ return r.getRandomValues(i), i
+ }
+ }
+ if (!a) {
+ var o = new Array(16);
+ a = function() {
+ for (var e, t = 0; t < 16; t++) 0 == (3 & t) && (e = 4294967296 * Math.random()), o[t] = e >>> ((3 & t) << 3) & 255;
+ return o
+ }
+ }
+ e.exports = a
+}, 791: (e, t, n) => {
+ var a = n(7933),
+ r = n(2548),
+ i = a(),
+ o = [1 | i[0], i[1], i[2], i[3], i[4], i[5]],
+ s = 16383 & (i[6] << 8 | i[7]),
+ l = 0,
+ c = 0;
+ e.exports = function(e, t, n) {
+ var a = t && n || 0,
+ i = t || [],
+ u = void 0 !== (e = e || {}).clockseq ? e.clockseq : s,
+ d = void 0 !== e.msecs ? e.msecs : (new Date).getTime(),
+ p = void 0 !== e.nsecs ? e.nsecs : c + 1,
+ h = d - l + (p - c) / 1e4;
+ if (h < 0 && void 0 === e.clockseq && (u = u + 1 & 16383), (h < 0 || d > l) && void 0 === e.nsecs && (p = 0), p >= 1e4) throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");
+ l = d, c = p, s = u;
+ var m = (1e4 * (268435455 & (d += 122192928e5)) + p) % 4294967296;
+ i[a++] = m >>> 24 & 255, i[a++] = m >>> 16 & 255, i[a++] = m >>> 8 & 255, i[a++] = 255 & m;
+ var f = d / 4294967296 * 1e4 & 268435455;
+ i[a++] = f >>> 8 & 255, i[a++] = 255 & f, i[a++] = f >>> 24 & 15 | 16, i[a++] = f >>> 16 & 255, i[a++] = u >>> 8 | 128, i[a++] = 255 & u;
+ for (var g = e.node || o, b = 0; b < 6; ++b) i[a + b] = g[b];
+ return t || r(i)
+ }
+}, 6309: (e, t, n) => {
+ var a = n(7933),
+ r = n(2548);
+ e.exports = function(e, t, n) {
+ var i = t && n || 0;
+ "string" == typeof e && (t = "binary" == e ? new Array(16) : null, e = null);
+ var o = (e = e || {}).random || (e.rng || a)();
+ if (o[6] = 15 & o[6] | 64, o[8] = 63 & o[8] | 128, t)
+ for (var s = 0; s < 16; ++s) t[i + s] = o[s];
+ return t || r(o)
+ }
+}, 6383: (e, t, n) => {
+ "use strict";
+ var a = n(8740),
+ r = {
+ childContextTypes: !0,
+ contextType: !0,
+ contextTypes: !0,
+ defaultProps: !0,
+ displayName: !0,
+ getDefaultProps: !0,
+ getDerivedStateFromError: !0,
+ getDerivedStateFromProps: !0,
+ mixins: !0,
+ propTypes: !0,
+ type: !0
+ },
+ i = {
+ name: !0,
+ length: !0,
+ prototype: !0,
+ caller: !0,
+ callee: !0,
+ arguments: !0,
+ arity: !0
+ },
+ o = {
+ $$typeof: !0,
+ compare: !0,
+ defaultProps: !0,
+ displayName: !0,
+ propTypes: !0,
+ type: !0
+ },
+ s = {};
+
+ function l(e) {
+ return a.isMemo(e) ? o : s[e.$$typeof] || r
+ }
+ s[a.ForwardRef] = {
+ $$typeof: !0,
+ render: !0,
+ defaultProps: !0,
+ displayName: !0,
+ propTypes: !0
+ }, s[a.Memo] = o;
+ var c = Object.defineProperty,
+ u = Object.getOwnPropertyNames,
+ d = Object.getOwnPropertySymbols,
+ p = Object.getOwnPropertyDescriptor,
+ h = Object.getPrototypeOf,
+ m = Object.prototype;
+ e.exports = function e(t, n, a) {
+ if ("string" != typeof n) {
+ if (m) {
+ var r = h(n);
+ r && r !== m && e(t, r, a)
+ }
+ var o = u(n);
+ d && (o = o.concat(d(n)));
+ for (var s = l(t), f = l(n), g = 0; g < o.length; ++g) {
+ var b = o[g];
+ if (!(i[b] || a && a[b] || f && f[b] || s && s[b])) {
+ var y = p(n, b);
+ try {
+ c(t, b, y)
+ } catch (e) {}
+ }
+ }
+ }
+ return t
+ }
+}, 7591: (e, t, n) => {
+ var a, r, i, o, s, l, c = n(554),
+ u = (s = {}, i = (i = "undefined" != typeof document && document.currentScript ? document.currentScript.src : void 0) || "node_modules/@matrix-org/olm/olm.js", l = function(t) {
+ var o, l, u;
+ if (t = t || {}, o || (o = void 0 !== t ? t : {}), o.ready = new Promise((function(e) {
+ l = e
+ })), "undefined" != typeof window) u = function(e) {
+ window.crypto.getRandomValues(e)
+ };
+ else {
+ if (!e.exports) throw Error("Cannot find global to attach library to");
+ var d = n(7250);
+ u = function(e) {
+ var t = d.randomBytes(e.length);
+ e.set(t)
+ }, c = n.g.process
+ }
+ if ("undefined" != typeof OLM_OPTIONS)
+ for (var p in OLM_OPTIONS) OLM_OPTIONS.hasOwnProperty(p) && (o[p] = OLM_OPTIONS[p]);
+ o.onRuntimeInitialized = function() {
+ De = o._olm_error(), s.PRIVATE_KEY_LENGTH = o._olm_pk_private_key_length(), a && a()
+ }, o.onAbort = function(e) {
+ r && r(e)
+ };
+ var h, m, f, g, b, y = {};
+ for (h in o) o.hasOwnProperty(h) && (y[h] = o[h]);
+ m = "object" == typeof window, f = "function" == typeof importScripts, g = "object" == typeof c && "object" == typeof c.versions && "string" == typeof c.versions.node, b = !m && !g && !f;
+ var v, k, _, w, S = "";
+ g ? (S = f ? n(1217).dirname(S) + "/" : "//", v = function(e, t) {
+ return _ || (_ = n(1591)), w || (w = n(1217)), e = w.normalize(e), _.readFileSync(e, t ? null : "utf8")
+ }, k = function(e) {
+ return (e = v(e, !0)).buffer || (e = new Uint8Array(e)), e.buffer || ae("Assertion failed: undefined"), e
+ }, 1 < c.argv.length && c.argv[1].replace(/\\/g, "/"), c.argv.slice(2), c.on("uncaughtException", (function(e) {
+ throw e
+ })), c.on("unhandledRejection", ae), o.inspect = function() {
+ return "[Emscripten Module object]"
+ }) : b ? ("undefined" != typeof read && (v = function(e) {
+ return read(e)
+ }), k = function(e) {
+ return "function" == typeof readbuffer ? new Uint8Array(readbuffer(e)) : ("object" == typeof(e = read(e, "binary")) || ae("Assertion failed: undefined"), e)
+ }, "undefined" != typeof print && ("undefined" == typeof console && (console = {}), console.log = print, console.warn = console.error = "undefined" != typeof printErr ? printErr : print)) : (m || f) && (f ? S = self.location.href : document.currentScript && (S = document.currentScript.src), i && (S = i), S = 0 !== S.indexOf("blob:") ? S.substr(0, S.lastIndexOf("/") + 1) : "", v = function(e) {
+ var t = new XMLHttpRequest;
+ return t.open("GET", e, !1), t.send(null), t.responseText
+ }, f && (k = function(e) {
+ var t = new XMLHttpRequest;
+ return t.open("GET", e, !1), t.responseType = "arraybuffer", t.send(null), new Uint8Array(t.response)
+ }));
+ var E, x = o.print || console.log.bind(console),
+ C = o.printErr || console.warn.bind(console);
+ for (h in y) y.hasOwnProperty(h) && (o[h] = y[h]);
+
+ function A(e) {
+ var t = "i8";
+ switch ("*" === t.charAt(t.length - 1) && (t = "i32"), t) {
+ case "i1":
+ case "i8":
+ L[e >> 0] = 0;
+ break;
+ case "i16":
+ q[e >> 1] = 0;
+ break;
+ case "i32":
+ B[e >> 2] = 0;
+ break;
+ case "i64":
+ oe = [0, 1 <= +Q(0) ? ~~+X(0) >>> 0 : 0], B[e >> 2] = oe[0], B[e + 4 >> 2] = oe[1];
+ break;
+ case "float":
+ U[e >> 2] = 0;
+ break;
+ case "double":
+ H[e >> 3] = 0;
+ break;
+ default:
+ ae("invalid type for setValue: " + t)
+ }
+ }
+
+ function T(e, t) {
+ switch ("*" === (t = t || "i8").charAt(t.length - 1) && (t = "i32"), t) {
+ case "i1":
+ case "i8":
+ return L[e >> 0];
+ case "i16":
+ return q[e >> 1];
+ case "i32":
+ case "i64":
+ return B[e >> 2];
+ case "float":
+ return U[e >> 2];
+ case "double":
+ return H[e >> 3];
+ default:
+ ae("invalid type for getValue: " + t)
+ }
+ return null
+ }
+ y = null, o.wasmBinary && (E = o.wasmBinary), o.noExitRuntime && o.noExitRuntime, "object" != typeof WebAssembly && ae("no native wasm support detected");
+ var D, P = new WebAssembly.Table({
+ initial: 9,
+ maximum: 9,
+ element: "anyfunc"
+ }),
+ j = !1,
+ M = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0;
+
+ function I(e, t) {
+ if (e) {
+ var n = F,
+ a = e + t;
+ for (t = e; n[t] && !(t >= a);) ++t;
+ if (16 < t - e && n.subarray && M) e = M.decode(n.subarray(e, t));
+ else {
+ for (a = ""; e < t;) {
+ var r = n[e++];
+ if (128 & r) {
+ var i = 63 & n[e++];
+ if (192 == (224 & r)) a += String.fromCharCode((31 & r) << 6 | i);
+ else {
+ var o = 63 & n[e++];
+ 65536 > (r = 224 == (240 & r) ? (15 & r) << 12 | i << 6 | o : (7 & r) << 18 | i << 12 | o << 6 | 63 & n[e++]) ? a += String.fromCharCode(r) : (r -= 65536, a += String.fromCharCode(55296 | r >> 10, 56320 | 1023 & r))
+ }
+ } else a += String.fromCharCode(r)
}
- }, {
- test: function(e) {
- return "playstation 4" === e.getOSName(!0)
- },
- describe: function() {
- return {
- type: i.PLATFORMS_MAP.tv
+ e = a
+ }
+ } else e = "";
+ return e
+ }
+
+ function O(e, t, n, a) {
+ if (!(0 < a)) return 0;
+ var r = n;
+ a = n + a - 1;
+ for (var i = 0; i < e.length; ++i) {
+ var o = e.charCodeAt(i);
+ if (55296 <= o && 57343 >= o && (o = 65536 + ((1023 & o) << 10) | 1023 & e.charCodeAt(++i)), 127 >= o) {
+ if (n >= a) break;
+ t[n++] = o
+ } else {
+ if (2047 >= o) {
+ if (n + 1 >= a) break;
+ t[n++] = 192 | o >> 6
+ } else {
+ if (65535 >= o) {
+ if (n + 2 >= a) break;
+ t[n++] = 224 | o >> 12
+ } else {
+ if (n + 3 >= a) break;
+ t[n++] = 240 | o >> 18, t[n++] = 128 | o >> 12 & 63
}
+ t[n++] = 128 | o >> 6 & 63
}
- }, {
- test: function(e) {
- return "roku" === e.getOSName(!0)
- },
- describe: function() {
- return {
- type: i.PLATFORMS_MAP.tv
+ t[n++] = 128 | 63 & o
+ }
+ }
+ return t[n] = 0, n - r
+ }
+
+ function N(e) {
+ for (var t = 0, n = 0; n < e.length; ++n) {
+ var a = e.charCodeAt(n);
+ 55296 <= a && 57343 >= a && (a = 65536 + ((1023 & a) << 10) | 1023 & e.charCodeAt(++n)), 127 >= a ? ++t : t = 2047 >= a ? t + 2 : 65535 >= a ? t + 3 : t + 4
+ }
+ return t
+ }
+
+ function R(e, t) {
+ for (var n = 0; n < e.length; ++n) L[t++ >> 0] = e.charCodeAt(n)
+ }
+ var z, L, F, q, B, U, H, V = o.INITIAL_MEMORY || 262144;
+ (D = o.wasmMemory ? o.wasmMemory : new WebAssembly.Memory({
+ initial: V / 65536,
+ maximum: V / 65536
+ })) && (z = D.buffer), V = z.byteLength;
+ var W = z;
+
+ function Y(e) {
+ for (; 0 < e.length;) {
+ var t = e.shift();
+ if ("function" == typeof t) t(o);
+ else {
+ var n = t.Pb;
+ "number" == typeof n ? void 0 === t.Ob ? o.dynCall_v(n) : o.dynCall_vi(n, t.Ob) : n(void 0 === t.Ob ? null : t.Ob)
+ }
+ }
+ }
+ z = W, o.HEAP8 = L = new Int8Array(W), o.HEAP16 = q = new Int16Array(W), o.HEAP32 = B = new Int32Array(W), o.HEAPU8 = F = new Uint8Array(W), o.HEAPU16 = new Uint16Array(W), o.HEAPU32 = new Uint32Array(W), o.HEAPF32 = U = new Float32Array(W), o.HEAPF64 = H = new Float64Array(W), B[9592] = 104064;
+ var G = [],
+ K = [],
+ $ = [],
+ J = [];
+
+ function Z() {
+ var e = o.preRun.shift();
+ G.unshift(e)
+ }
+ var Q = Math.abs,
+ X = Math.ceil,
+ ee = (Math.floor, Math.min, 0),
+ te = null,
+ ne = null;
+
+ function ae(e) {
+ throw o.onAbort && o.onAbort(e), x(e), C(e), j = !0, new WebAssembly.RuntimeError("abort(" + e + "). Build with -s ASSERTIONS=1 for more info.")
+ }
+
+ function re(e) {
+ var t = se;
+ return String.prototype.startsWith ? t.startsWith(e) : 0 === t.indexOf(e)
+ }
+
+ function ie() {
+ return re("data:application/octet-stream;base64,")
+ }
+ o.preloadedImages = {}, o.preloadedAudios = {};
+ var oe, se = "olm.wasm";
+ if (!ie()) {
+ var le = se;
+ se = o.locateFile ? o.locateFile(le, S) : S + le
+ }
+
+ function ce() {
+ try {
+ if (E) return new Uint8Array(E);
+ if (k) return k(se);
+ throw "both async and sync fetching of the wasm failed"
+ } catch (e) {
+ ae(e)
+ }
+ }
+ K.push({
+ Pb: function() {
+ de()
+ }
+ });
+ var ue = {
+ c: function(e, t, n, a) {
+ ae("Assertion failed: " + I(e) + ", at: " + [t ? I(t) : "unknown filename", n, a ? I(a) : "unknown function"])
+ },
+ a: function(e, t, n) {
+ F.copyWithin(e, t, t + n)
+ },
+ b: function() {
+ ae("OOM")
+ },
+ memory: D,
+ table: P
+ };
+ ! function() {
+ function e(e) {
+ o.asm = e.exports, ee--, o.monitorRunDependencies && o.monitorRunDependencies(ee), 0 == ee && (null !== te && (clearInterval(te), te = null), ne && (e = ne, ne = null, e()))
+ }
+
+ function t(t) {
+ e(t.instance)
+ }
+
+ function n(e) {
+ return (E || !m && !f || "function" != typeof fetch || re("file://") ? new Promise((function(e) {
+ e(ce())
+ })) : fetch(se, {
+ credentials: "same-origin"
+ }).then((function(e) {
+ if (!e.ok) throw "failed to load wasm binary file at '" + se + "'";
+ return e.arrayBuffer()
+ })).catch((function() {
+ return ce()
+ }))).then((function(e) {
+ return WebAssembly.instantiate(e, a)
+ })).then(e, (function(e) {
+ C("failed to asynchronously prepare wasm: " + e), ae(e)
+ }))
+ }
+ var a = {
+ a: ue
+ };
+ if (ee++, o.monitorRunDependencies && o.monitorRunDependencies(ee), o.instantiateWasm) try {
+ return o.instantiateWasm(a, e)
+ } catch (e) {
+ return C("Module.instantiateWasm callback failed with error: " + e), !1
+ }! function() {
+ if (E || "function" != typeof WebAssembly.instantiateStreaming || ie() || re("file://") || "function" != typeof fetch) return n(t);
+ fetch(se, {
+ credentials: "same-origin"
+ }).then((function(e) {
+ return WebAssembly.instantiateStreaming(e, a).then(t, (function(e) {
+ return C("wasm streaming compile failed: " + e), C("falling back to ArrayBuffer instantiation"), n(t)
+ }))
+ }))
+ }()
+ }();
+ var de = o.___wasm_call_ctors = function() {
+ return (de = o.___wasm_call_ctors = o.asm.d).apply(null, arguments)
+ };
+ o._olm_get_library_version = function() {
+ return (o._olm_get_library_version = o.asm.e).apply(null, arguments)
+ }, o._olm_error = function() {
+ return (o._olm_error = o.asm.f).apply(null, arguments)
+ }, o._olm_account_last_error = function() {
+ return (o._olm_account_last_error = o.asm.g).apply(null, arguments)
+ }, o._olm_session_last_error = function() {
+ return (o._olm_session_last_error = o.asm.h).apply(null, arguments)
+ }, o._olm_utility_last_error = function() {
+ return (o._olm_utility_last_error = o.asm.i).apply(null, arguments)
+ }, o._olm_account_size = function() {
+ return (o._olm_account_size = o.asm.j).apply(null, arguments)
+ }, o._olm_session_size = function() {
+ return (o._olm_session_size = o.asm.k).apply(null, arguments)
+ }, o._olm_utility_size = function() {
+ return (o._olm_utility_size = o.asm.l).apply(null, arguments)
+ }, o._olm_account = function() {
+ return (o._olm_account = o.asm.m).apply(null, arguments)
+ }, o._olm_session = function() {
+ return (o._olm_session = o.asm.n).apply(null, arguments)
+ }, o._olm_utility = function() {
+ return (o._olm_utility = o.asm.o).apply(null, arguments)
+ }, o._olm_clear_account = function() {
+ return (o._olm_clear_account = o.asm.p).apply(null, arguments)
+ }, o._olm_clear_session = function() {
+ return (o._olm_clear_session = o.asm.q).apply(null, arguments)
+ }, o._olm_clear_utility = function() {
+ return (o._olm_clear_utility = o.asm.r).apply(null, arguments)
+ }, o._olm_pickle_account_length = function() {
+ return (o._olm_pickle_account_length = o.asm.s).apply(null, arguments)
+ }, o._olm_pickle_session_length = function() {
+ return (o._olm_pickle_session_length = o.asm.t).apply(null, arguments)
+ }, o._olm_pickle_account = function() {
+ return (o._olm_pickle_account = o.asm.u).apply(null, arguments)
+ }, o._olm_pickle_session = function() {
+ return (o._olm_pickle_session = o.asm.v).apply(null, arguments)
+ }, o._olm_unpickle_account = function() {
+ return (o._olm_unpickle_account = o.asm.w).apply(null, arguments)
+ }, o._olm_unpickle_session = function() {
+ return (o._olm_unpickle_session = o.asm.x).apply(null, arguments)
+ }, o._olm_create_account_random_length = function() {
+ return (o._olm_create_account_random_length = o.asm.y).apply(null, arguments)
+ }, o._olm_create_account = function() {
+ return (o._olm_create_account = o.asm.z).apply(null, arguments)
+ }, o._olm_account_identity_keys_length = function() {
+ return (o._olm_account_identity_keys_length = o.asm.A).apply(null, arguments)
+ }, o._olm_account_identity_keys = function() {
+ return (o._olm_account_identity_keys = o.asm.B).apply(null, arguments)
+ }, o._olm_account_signature_length = function() {
+ return (o._olm_account_signature_length = o.asm.C).apply(null, arguments)
+ }, o._olm_account_sign = function() {
+ return (o._olm_account_sign = o.asm.D).apply(null, arguments)
+ }, o._olm_account_one_time_keys_length = function() {
+ return (o._olm_account_one_time_keys_length = o.asm.E).apply(null, arguments)
+ }, o._olm_account_one_time_keys = function() {
+ return (o._olm_account_one_time_keys = o.asm.F).apply(null, arguments)
+ }, o._olm_account_mark_keys_as_published = function() {
+ return (o._olm_account_mark_keys_as_published = o.asm.G).apply(null, arguments)
+ }, o._olm_account_max_number_of_one_time_keys = function() {
+ return (o._olm_account_max_number_of_one_time_keys = o.asm.H).apply(null, arguments)
+ }, o._olm_account_generate_one_time_keys_random_length = function() {
+ return (o._olm_account_generate_one_time_keys_random_length = o.asm.I).apply(null, arguments)
+ }, o._olm_account_generate_one_time_keys = function() {
+ return (o._olm_account_generate_one_time_keys = o.asm.J).apply(null, arguments)
+ }, o._olm_account_generate_fallback_key_random_length = function() {
+ return (o._olm_account_generate_fallback_key_random_length = o.asm.K).apply(null, arguments)
+ }, o._olm_account_generate_fallback_key = function() {
+ return (o._olm_account_generate_fallback_key = o.asm.L).apply(null, arguments)
+ }, o._olm_account_fallback_key_length = function() {
+ return (o._olm_account_fallback_key_length = o.asm.M).apply(null, arguments)
+ }, o._olm_account_fallback_key = function() {
+ return (o._olm_account_fallback_key = o.asm.N).apply(null, arguments)
+ }, o._olm_create_outbound_session_random_length = function() {
+ return (o._olm_create_outbound_session_random_length = o.asm.O).apply(null, arguments)
+ }, o._olm_create_outbound_session = function() {
+ return (o._olm_create_outbound_session = o.asm.P).apply(null, arguments)
+ }, o._olm_create_inbound_session = function() {
+ return (o._olm_create_inbound_session = o.asm.Q).apply(null, arguments)
+ }, o._olm_create_inbound_session_from = function() {
+ return (o._olm_create_inbound_session_from = o.asm.R).apply(null, arguments)
+ }, o._olm_session_id_length = function() {
+ return (o._olm_session_id_length = o.asm.S).apply(null, arguments)
+ }, o._olm_session_id = function() {
+ return (o._olm_session_id = o.asm.T).apply(null, arguments)
+ }, o._olm_session_has_received_message = function() {
+ return (o._olm_session_has_received_message = o.asm.U).apply(null, arguments)
+ }, o._olm_session_describe = function() {
+ return (o._olm_session_describe = o.asm.V).apply(null, arguments)
+ }, o._olm_matches_inbound_session = function() {
+ return (o._olm_matches_inbound_session = o.asm.W).apply(null, arguments)
+ }, o._olm_matches_inbound_session_from = function() {
+ return (o._olm_matches_inbound_session_from = o.asm.X).apply(null, arguments)
+ }, o._olm_remove_one_time_keys = function() {
+ return (o._olm_remove_one_time_keys = o.asm.Y).apply(null, arguments)
+ }, o._olm_encrypt_message_type = function() {
+ return (o._olm_encrypt_message_type = o.asm.Z).apply(null, arguments)
+ }, o._olm_encrypt_random_length = function() {
+ return (o._olm_encrypt_random_length = o.asm._).apply(null, arguments)
+ }, o._olm_encrypt_message_length = function() {
+ return (o._olm_encrypt_message_length = o.asm.$).apply(null, arguments)
+ }, o._olm_encrypt = function() {
+ return (o._olm_encrypt = o.asm.aa).apply(null, arguments)
+ }, o._olm_decrypt_max_plaintext_length = function() {
+ return (o._olm_decrypt_max_plaintext_length = o.asm.ba).apply(null, arguments)
+ }, o._olm_decrypt = function() {
+ return (o._olm_decrypt = o.asm.ca).apply(null, arguments)
+ }, o._olm_sha256_length = function() {
+ return (o._olm_sha256_length = o.asm.da).apply(null, arguments)
+ }, o._olm_sha256 = function() {
+ return (o._olm_sha256 = o.asm.ea).apply(null, arguments)
+ }, o._olm_ed25519_verify = function() {
+ return (o._olm_ed25519_verify = o.asm.fa).apply(null, arguments)
+ }, o._olm_pk_encryption_last_error = function() {
+ return (o._olm_pk_encryption_last_error = o.asm.ga).apply(null, arguments)
+ }, o._olm_pk_encryption_size = function() {
+ return (o._olm_pk_encryption_size = o.asm.ha).apply(null, arguments)
+ }, o._olm_pk_encryption = function() {
+ return (o._olm_pk_encryption = o.asm.ia).apply(null, arguments)
+ }, o._olm_clear_pk_encryption = function() {
+ return (o._olm_clear_pk_encryption = o.asm.ja).apply(null, arguments)
+ }, o._olm_pk_encryption_set_recipient_key = function() {
+ return (o._olm_pk_encryption_set_recipient_key = o.asm.ka).apply(null, arguments)
+ }, o._olm_pk_key_length = function() {
+ return (o._olm_pk_key_length = o.asm.la).apply(null, arguments)
+ }, o._olm_pk_ciphertext_length = function() {
+ return (o._olm_pk_ciphertext_length = o.asm.ma).apply(null, arguments)
+ }, o._olm_pk_mac_length = function() {
+ return (o._olm_pk_mac_length = o.asm.na).apply(null, arguments)
+ }, o._olm_pk_encrypt_random_length = function() {
+ return (o._olm_pk_encrypt_random_length = o.asm.oa).apply(null, arguments)
+ }, o._olm_pk_encrypt = function() {
+ return (o._olm_pk_encrypt = o.asm.pa).apply(null, arguments)
+ }, o._olm_pk_decryption_last_error = function() {
+ return (o._olm_pk_decryption_last_error = o.asm.qa).apply(null, arguments)
+ }, o._olm_pk_decryption_size = function() {
+ return (o._olm_pk_decryption_size = o.asm.ra).apply(null, arguments)
+ }, o._olm_pk_decryption = function() {
+ return (o._olm_pk_decryption = o.asm.sa).apply(null, arguments)
+ }, o._olm_clear_pk_decryption = function() {
+ return (o._olm_clear_pk_decryption = o.asm.ta).apply(null, arguments)
+ }, o._olm_pk_private_key_length = function() {
+ return (o._olm_pk_private_key_length = o.asm.ua).apply(null, arguments)
+ }, o._olm_pk_generate_key_random_length = function() {
+ return (o._olm_pk_generate_key_random_length = o.asm.va).apply(null, arguments)
+ }, o._olm_pk_key_from_private = function() {
+ return (o._olm_pk_key_from_private = o.asm.wa).apply(null, arguments)
+ }, o._olm_pk_generate_key = function() {
+ return (o._olm_pk_generate_key = o.asm.xa).apply(null, arguments)
+ }, o._olm_pickle_pk_decryption_length = function() {
+ return (o._olm_pickle_pk_decryption_length = o.asm.ya).apply(null, arguments)
+ }, o._olm_pickle_pk_decryption = function() {
+ return (o._olm_pickle_pk_decryption = o.asm.za).apply(null, arguments)
+ }, o._olm_unpickle_pk_decryption = function() {
+ return (o._olm_unpickle_pk_decryption = o.asm.Aa).apply(null, arguments)
+ }, o._olm_pk_max_plaintext_length = function() {
+ return (o._olm_pk_max_plaintext_length = o.asm.Ba).apply(null, arguments)
+ }, o._olm_pk_decrypt = function() {
+ return (o._olm_pk_decrypt = o.asm.Ca).apply(null, arguments)
+ }, o._olm_pk_get_private_key = function() {
+ return (o._olm_pk_get_private_key = o.asm.Da).apply(null, arguments)
+ }, o._olm_pk_signing_size = function() {
+ return (o._olm_pk_signing_size = o.asm.Ea).apply(null, arguments)
+ }, o._olm_pk_signing = function() {
+ return (o._olm_pk_signing = o.asm.Fa).apply(null, arguments)
+ }, o._olm_pk_signing_last_error = function() {
+ return (o._olm_pk_signing_last_error = o.asm.Ga).apply(null, arguments)
+ }, o._olm_clear_pk_signing = function() {
+ return (o._olm_clear_pk_signing = o.asm.Ha).apply(null, arguments)
+ }, o._olm_pk_signing_seed_length = function() {
+ return (o._olm_pk_signing_seed_length = o.asm.Ia).apply(null, arguments)
+ }, o._olm_pk_signing_public_key_length = function() {
+ return (o._olm_pk_signing_public_key_length = o.asm.Ja).apply(null, arguments)
+ }, o._olm_pk_signing_key_from_seed = function() {
+ return (o._olm_pk_signing_key_from_seed = o.asm.Ka).apply(null, arguments)
+ }, o._olm_pk_signature_length = function() {
+ return (o._olm_pk_signature_length = o.asm.La).apply(null, arguments)
+ }, o._olm_pk_sign = function() {
+ return (o._olm_pk_sign = o.asm.Ma).apply(null, arguments)
+ }, o._olm_inbound_group_session_size = function() {
+ return (o._olm_inbound_group_session_size = o.asm.Na).apply(null, arguments)
+ }, o._olm_inbound_group_session = function() {
+ return (o._olm_inbound_group_session = o.asm.Oa).apply(null, arguments)
+ }, o._olm_clear_inbound_group_session = function() {
+ return (o._olm_clear_inbound_group_session = o.asm.Pa).apply(null, arguments)
+ }, o._olm_inbound_group_session_last_error = function() {
+ return (o._olm_inbound_group_session_last_error = o.asm.Qa).apply(null, arguments)
+ }, o._olm_init_inbound_group_session = function() {
+ return (o._olm_init_inbound_group_session = o.asm.Ra).apply(null, arguments)
+ }, o._olm_import_inbound_group_session = function() {
+ return (o._olm_import_inbound_group_session = o.asm.Sa).apply(null, arguments)
+ }, o._olm_pickle_inbound_group_session_length = function() {
+ return (o._olm_pickle_inbound_group_session_length = o.asm.Ta).apply(null, arguments)
+ }, o._olm_pickle_inbound_group_session = function() {
+ return (o._olm_pickle_inbound_group_session = o.asm.Ua).apply(null, arguments)
+ }, o._olm_unpickle_inbound_group_session = function() {
+ return (o._olm_unpickle_inbound_group_session = o.asm.Va).apply(null, arguments)
+ }, o._olm_group_decrypt_max_plaintext_length = function() {
+ return (o._olm_group_decrypt_max_plaintext_length = o.asm.Wa).apply(null, arguments)
+ }, o._olm_group_decrypt = function() {
+ return (o._olm_group_decrypt = o.asm.Xa).apply(null, arguments)
+ }, o._olm_inbound_group_session_id_length = function() {
+ return (o._olm_inbound_group_session_id_length = o.asm.Ya).apply(null, arguments)
+ }, o._olm_inbound_group_session_id = function() {
+ return (o._olm_inbound_group_session_id = o.asm.Za).apply(null, arguments)
+ }, o._olm_inbound_group_session_first_known_index = function() {
+ return (o._olm_inbound_group_session_first_known_index = o.asm._a).apply(null, arguments)
+ }, o._olm_inbound_group_session_is_verified = function() {
+ return (o._olm_inbound_group_session_is_verified = o.asm.$a).apply(null, arguments)
+ }, o._olm_export_inbound_group_session_length = function() {
+ return (o._olm_export_inbound_group_session_length = o.asm.ab).apply(null, arguments)
+ }, o._olm_export_inbound_group_session = function() {
+ return (o._olm_export_inbound_group_session = o.asm.bb).apply(null, arguments)
+ }, o._olm_sas_last_error = function() {
+ return (o._olm_sas_last_error = o.asm.cb).apply(null, arguments)
+ }, o._olm_sas_size = function() {
+ return (o._olm_sas_size = o.asm.db).apply(null, arguments)
+ }, o._olm_sas = function() {
+ return (o._olm_sas = o.asm.eb).apply(null, arguments)
+ }, o._olm_clear_sas = function() {
+ return (o._olm_clear_sas = o.asm.fb).apply(null, arguments)
+ }, o._olm_create_sas_random_length = function() {
+ return (o._olm_create_sas_random_length = o.asm.gb).apply(null, arguments)
+ }, o._olm_create_sas = function() {
+ return (o._olm_create_sas = o.asm.hb).apply(null, arguments)
+ }, o._olm_sas_pubkey_length = function() {
+ return (o._olm_sas_pubkey_length = o.asm.ib).apply(null, arguments)
+ }, o._olm_sas_get_pubkey = function() {
+ return (o._olm_sas_get_pubkey = o.asm.jb).apply(null, arguments)
+ }, o._olm_sas_set_their_key = function() {
+ return (o._olm_sas_set_their_key = o.asm.kb).apply(null, arguments)
+ }, o._olm_sas_is_their_key_set = function() {
+ return (o._olm_sas_is_their_key_set = o.asm.lb).apply(null, arguments)
+ }, o._olm_sas_generate_bytes = function() {
+ return (o._olm_sas_generate_bytes = o.asm.mb).apply(null, arguments)
+ }, o._olm_sas_mac_length = function() {
+ return (o._olm_sas_mac_length = o.asm.nb).apply(null, arguments)
+ }, o._olm_sas_calculate_mac_fixed_base64 = function() {
+ return (o._olm_sas_calculate_mac_fixed_base64 = o.asm.ob).apply(null, arguments)
+ }, o._olm_sas_calculate_mac = function() {
+ return (o._olm_sas_calculate_mac = o.asm.pb).apply(null, arguments)
+ }, o._olm_sas_calculate_mac_long_kdf = function() {
+ return (o._olm_sas_calculate_mac_long_kdf = o.asm.qb).apply(null, arguments)
+ }, o._olm_outbound_group_session_size = function() {
+ return (o._olm_outbound_group_session_size = o.asm.rb).apply(null, arguments)
+ }, o._olm_outbound_group_session = function() {
+ return (o._olm_outbound_group_session = o.asm.sb).apply(null, arguments)
+ }, o._olm_clear_outbound_group_session = function() {
+ return (o._olm_clear_outbound_group_session = o.asm.tb).apply(null, arguments)
+ }, o._olm_outbound_group_session_last_error = function() {
+ return (o._olm_outbound_group_session_last_error = o.asm.ub).apply(null, arguments)
+ }, o._olm_pickle_outbound_group_session_length = function() {
+ return (o._olm_pickle_outbound_group_session_length = o.asm.vb).apply(null, arguments)
+ }, o._olm_pickle_outbound_group_session = function() {
+ return (o._olm_pickle_outbound_group_session = o.asm.wb).apply(null, arguments)
+ }, o._olm_unpickle_outbound_group_session = function() {
+ return (o._olm_unpickle_outbound_group_session = o.asm.xb).apply(null, arguments)
+ }, o._olm_init_outbound_group_session_random_length = function() {
+ return (o._olm_init_outbound_group_session_random_length = o.asm.yb).apply(null, arguments)
+ }, o._olm_init_outbound_group_session = function() {
+ return (o._olm_init_outbound_group_session = o.asm.zb).apply(null, arguments)
+ }, o._olm_group_encrypt_message_length = function() {
+ return (o._olm_group_encrypt_message_length = o.asm.Ab).apply(null, arguments)
+ }, o._olm_group_encrypt = function() {
+ return (o._olm_group_encrypt = o.asm.Bb).apply(null, arguments)
+ }, o._olm_outbound_group_session_id_length = function() {
+ return (o._olm_outbound_group_session_id_length = o.asm.Cb).apply(null, arguments)
+ }, o._olm_outbound_group_session_id = function() {
+ return (o._olm_outbound_group_session_id = o.asm.Db).apply(null, arguments)
+ }, o._olm_outbound_group_session_message_index = function() {
+ return (o._olm_outbound_group_session_message_index = o.asm.Eb).apply(null, arguments)
+ }, o._olm_outbound_group_session_key_length = function() {
+ return (o._olm_outbound_group_session_key_length = o.asm.Fb).apply(null, arguments)
+ }, o._olm_outbound_group_session_key = function() {
+ return (o._olm_outbound_group_session_key = o.asm.Gb).apply(null, arguments)
+ }, o._malloc = function() {
+ return (o._malloc = o.asm.Hb).apply(null, arguments)
+ }, o._free = function() {
+ return (o._free = o.asm.Ib).apply(null, arguments)
+ };
+ var pe, he = o.stackSave = function() {
+ return (he = o.stackSave = o.asm.Jb).apply(null, arguments)
+ },
+ me = o.stackRestore = function() {
+ return (me = o.stackRestore = o.asm.Kb).apply(null, arguments)
+ },
+ fe = o.stackAlloc = function() {
+ return (fe = o.stackAlloc = o.asm.Lb).apply(null, arguments)
+ };
+
+ function ge() {
+ function e() {
+ if (!pe && (pe = !0, o.calledRun = !0, !j)) {
+ if (Y(K), Y($), l(o), o.onRuntimeInitialized && o.onRuntimeInitialized(), o.postRun)
+ for ("function" == typeof o.postRun && (o.postRun = [o.postRun]); o.postRun.length;) {
+ var e = o.postRun.shift();
+ J.unshift(e)
}
- }
- }];
- t.default = o, e.exports = t.default
- },
- 95: function(e, t, n) {
- "use strict";
- t.__esModule = !0, t.default = void 0;
- var a, r = (a = n(17)) && a.__esModule ? a : {
- default: a
- },
- i = n(18),
- o = [{
- test: function(e) {
- return "microsoft edge" === e.getBrowserName(!0)
- },
- describe: function(e) {
- if (/\sedg\//i.test(e)) return {
- name: i.ENGINE_MAP.Blink
+ Y(J)
+ }
+ }
+ if (!(0 < ee)) {
+ if (o.preRun)
+ for ("function" == typeof o.preRun && (o.preRun = [o.preRun]); o.preRun.length;) Z();
+ Y(G), 0 < ee || (o.setStatus ? (o.setStatus("Running..."), setTimeout((function() {
+ setTimeout((function() {
+ o.setStatus("")
+ }), 1), e()
+ }), 1)) : e())
+ }
+ }
+ if (o.ALLOC_STACK = 1, ne = function e() {
+ pe || ge(), pe || (ne = e)
+ }, o.run = ge, o.preInit)
+ for ("function" == typeof o.preInit && (o.preInit = [o.preInit]); 0 < o.preInit.length;) o.preInit.pop()();
+
+ function be() {
+ var e = o._olm_outbound_group_session_size();
+ this.Nb = Pe(e), this.Mb = o._olm_outbound_group_session(this.Nb)
+ }
+
+ function ye(e) {
+ return function() {
+ var t = e.apply(this, arguments);
+ if (t === De) throw t = I(o._olm_outbound_group_session_last_error(arguments[0])), Error("OLM." + t);
+ return t
+ }
+ }
+
+ function ve() {
+ var e = o._olm_inbound_group_session_size();
+ this.Nb = Pe(e), this.Mb = o._olm_inbound_group_session(this.Nb)
+ }
+
+ function ke(e) {
+ return function() {
+ var t = e.apply(this, arguments);
+ if (t === De) throw t = I(o._olm_inbound_group_session_last_error(arguments[0])), Error("OLM." + t);
+ return t
+ }
+ }
+
+ function _e() {
+ var e = o._olm_pk_encryption_size();
+ this.Nb = Pe(e), this.Mb = o._olm_pk_encryption(this.Nb)
+ }
+
+ function we(e) {
+ return function() {
+ var t = e.apply(this, arguments);
+ if (t === De) throw t = I(o._olm_pk_encryption_last_error(arguments[0])), Error("OLM." + t);
+ return t
+ }
+ }
+
+ function Se() {
+ var e = o._olm_pk_decryption_size();
+ this.Nb = Pe(e), this.Mb = o._olm_pk_decryption(this.Nb)
+ }
+
+ function Ee(e) {
+ return function() {
+ var t = e.apply(this, arguments);
+ if (t === De) throw t = I(o._olm_pk_decryption_last_error(arguments[0])), Error("OLM." + t);
+ return t
+ }
+ }
+
+ function xe() {
+ var e = o._olm_pk_signing_size();
+ this.Nb = Pe(e), this.Mb = o._olm_pk_signing(this.Nb)
+ }
+
+ function Ce(e) {
+ return function() {
+ var t = e.apply(this, arguments);
+ if (t === De) throw t = I(o._olm_pk_signing_last_error(arguments[0])), Error("OLM." + t);
+ return t
+ }
+ }
+
+ function Ae() {
+ var e = o._olm_sas_size(),
+ t = o._olm_create_sas_random_length(),
+ n = Me(t, u);
+ this.Nb = Pe(e), this.Mb = o._olm_sas(this.Nb), o._olm_create_sas(this.Mb, n, t), Re(n, t)
+ }
+
+ function Te(e) {
+ return function() {
+ var t = e.apply(this, arguments);
+ if (t === De) throw t = I(o._olm_sas_last_error(arguments[0])), Error("OLM." + t);
+ return t
+ }
+ }
+ ge(), be.prototype.free = function() {
+ o._olm_clear_outbound_group_session(this.Mb), je(this.Mb)
+ }, be.prototype.pickle = Ne((function(e) {
+ e = Oe(e);
+ var t = ye(o._olm_pickle_outbound_group_session_length)(this.Mb),
+ n = Ie(e),
+ a = Ie(t + 1);
+ try {
+ ye(o._olm_pickle_outbound_group_session)(this.Mb, n, e.length, a, t)
+ } finally {
+ for (Re(n, e.length), n = 0; n < e.length; n++) e[n] = 0
+ }
+ return I(a, t)
+ })), be.prototype.unpickle = Ne((function(e, t) {
+ var n = Ie(e = Oe(e)),
+ a = Ie(t = Oe(t));
+ try {
+ ye(o._olm_unpickle_outbound_group_session)(this.Mb, n, e.length, a, t.length)
+ } finally {
+ for (Re(n, e.length), n = 0; n < e.length; n++) e[n] = 0
+ }
+ })), be.prototype.create = Ne((function() {
+ var e = ye(o._olm_init_outbound_group_session_random_length)(this.Mb),
+ t = Me(e, u);
+ ye(o._olm_init_outbound_group_session)(this.Mb, t, e)
+ })), be.prototype.encrypt = function(e) {
+ try {
+ var t = N(e),
+ n = ye(o._olm_group_encrypt_message_length)(this.Mb, t),
+ a = Pe(t + 1);
+ O(e, F, a, t + 1);
+ var r = Pe(n + 1);
+ return ye(o._olm_group_encrypt)(this.Mb, a, t, r, n), A(r + n), I(r, n)
+ } finally {
+ void 0 !== a && (Re(a, t + 1), je(a)), void 0 !== r && je(r)
+ }
+ }, be.prototype.session_id = Ne((function() {
+ var e = ye(o._olm_outbound_group_session_id_length)(this.Mb),
+ t = Ie(e + 1);
+ return ye(o._olm_outbound_group_session_id)(this.Mb, t, e), I(t, e)
+ })), be.prototype.session_key = Ne((function() {
+ var e = ye(o._olm_outbound_group_session_key_length)(this.Mb),
+ t = Ie(e + 1);
+ ye(o._olm_outbound_group_session_key)(this.Mb, t, e);
+ var n = I(t, e);
+ return Re(t, e), n
+ })), be.prototype.message_index = function() {
+ return ye(o._olm_outbound_group_session_message_index)(this.Mb)
+ }, s.OutboundGroupSession = be, ve.prototype.free = function() {
+ o._olm_clear_inbound_group_session(this.Mb), je(this.Mb)
+ }, ve.prototype.pickle = Ne((function(e) {
+ e = Oe(e);
+ var t = ke(o._olm_pickle_inbound_group_session_length)(this.Mb),
+ n = Ie(e),
+ a = Ie(t + 1);
+ try {
+ ke(o._olm_pickle_inbound_group_session)(this.Mb, n, e.length, a, t)
+ } finally {
+ for (Re(n, e.length), n = 0; n < e.length; n++) e[n] = 0
+ }
+ return I(a, t)
+ })), ve.prototype.unpickle = Ne((function(e, t) {
+ var n = Ie(e = Oe(e)),
+ a = Ie(t = Oe(t));
+ try {
+ ke(o._olm_unpickle_inbound_group_session)(this.Mb, n, e.length, a, t.length)
+ } finally {
+ for (Re(n, e.length), n = 0; n < e.length; n++) e[n] = 0
+ }
+ })), ve.prototype.create = Ne((function(e) {
+ var t = Ie(e = Oe(e));
+ try {
+ ke(o._olm_init_inbound_group_session)(this.Mb, t, e.length)
+ } finally {
+ for (Re(t, e.length), t = 0; t < e.length; t++) e[t] = 0
+ }
+ })), ve.prototype.import_session = Ne((function(e) {
+ var t = Ie(e = Oe(e));
+ try {
+ ke(o._olm_import_inbound_group_session)(this.Mb, t, e.length)
+ } finally {
+ for (Re(t, e.length), t = 0; t < e.length; t++) e[t] = 0
+ }
+ })), ve.prototype.decrypt = Ne((function(e) {
+ try {
+ var t = Pe(e.length);
+ R(e, t);
+ var n = ke(o._olm_group_decrypt_max_plaintext_length)(this.Mb, t, e.length);
+ R(e, t);
+ var a = Pe(n + 1),
+ r = Ie(4),
+ i = ke(o._olm_group_decrypt)(this.Mb, t, e.length, a, n, r);
+ return A(a + i), {
+ plaintext: I(a, i),
+ message_index: T(r, "i32")
+ }
+ } finally {
+ void 0 !== t && je(t), void 0 !== a && (Re(a, i), je(a))
+ }
+ })), ve.prototype.session_id = Ne((function() {
+ var e = ke(o._olm_inbound_group_session_id_length)(this.Mb),
+ t = Ie(e + 1);
+ return ke(o._olm_inbound_group_session_id)(this.Mb, t, e), I(t, e)
+ })), ve.prototype.first_known_index = Ne((function() {
+ return ke(o._olm_inbound_group_session_first_known_index)(this.Mb)
+ })), ve.prototype.export_session = Ne((function(e) {
+ var t = ke(o._olm_export_inbound_group_session_length)(this.Mb),
+ n = Ie(t + 1);
+ return ye(o._olm_export_inbound_group_session)(this.Mb, n, t, e), e = I(n, t), Re(n, t), e
+ })), s.InboundGroupSession = ve, _e.prototype.free = function() {
+ o._olm_clear_pk_encryption(this.Mb), je(this.Mb)
+ }, _e.prototype.set_recipient_key = Ne((function(e) {
+ var t = Ie(e = Oe(e));
+ we(o._olm_pk_encryption_set_recipient_key)(this.Mb, t, e.length)
+ })), _e.prototype.encrypt = Ne((function(e) {
+ try {
+ var t = N(e),
+ n = Pe(t + 1);
+ O(e, F, n, t + 1);
+ var a = we(o._olm_pk_encrypt_random_length)(),
+ r = Me(a, u),
+ i = we(o._olm_pk_ciphertext_length)(this.Mb, t),
+ s = Pe(i + 1),
+ l = we(o._olm_pk_mac_length)(this.Mb),
+ c = Ie(l + 1);
+ A(c + l);
+ var d = we(o._olm_pk_key_length)(),
+ p = Ie(d + 1);
+ return A(p + d), we(o._olm_pk_encrypt)(this.Mb, n, t, s, i, c, l, p, d, r, a), A(s + i), {
+ ciphertext: I(s, i),
+ mac: I(c, l),
+ ephemeral: I(p, d)
+ }
+ } finally {
+ void 0 !== r && Re(r, a), void 0 !== n && (Re(n, t + 1), je(n)), void 0 !== s && je(s)
+ }
+ })), Se.prototype.free = function() {
+ o._olm_clear_pk_decryption(this.Mb), je(this.Mb)
+ }, Se.prototype.init_with_private_key = Ne((function(e) {
+ var t = Ie(e.length);
+ o.HEAPU8.set(e, t);
+ var n = Ee(o._olm_pk_key_length)(),
+ a = Ie(n + 1);
+ try {
+ Ee(o._olm_pk_key_from_private)(this.Mb, a, n, t, e.length)
+ } finally {
+ Re(t, e.length)
+ }
+ return I(a, n)
+ })), Se.prototype.generate_key = Ne((function() {
+ var e = Ee(o._olm_pk_private_key_length)(),
+ t = Me(e, u),
+ n = Ee(o._olm_pk_key_length)(),
+ a = Ie(n + 1);
+ try {
+ Ee(o._olm_pk_key_from_private)(this.Mb, a, n, t, e)
+ } finally {
+ Re(t, e)
+ }
+ return I(a, n)
+ })), Se.prototype.get_private_key = Ne((function() {
+ var e = we(o._olm_pk_private_key_length)(),
+ t = Ie(e);
+ Ee(o._olm_pk_get_private_key)(this.Mb, t, e);
+ var n = new Uint8Array(new Uint8Array(o.HEAPU8.buffer, t, e));
+ return Re(t, e), n
+ })), Se.prototype.pickle = Ne((function(e) {
+ e = Oe(e);
+ var t = Ee(o._olm_pickle_pk_decryption_length)(this.Mb),
+ n = Ie(e),
+ a = Ie(t + 1);
+ try {
+ Ee(o._olm_pickle_pk_decryption)(this.Mb, n, e.length, a, t)
+ } finally {
+ for (Re(n, e.length), n = 0; n < e.length; n++) e[n] = 0
+ }
+ return I(a, t)
+ })), Se.prototype.unpickle = Ne((function(e, t) {
+ var n = Ie(e = Oe(e)),
+ a = Oe(t),
+ r = Ie(a),
+ i = Ie((t = Ee(o._olm_pk_key_length)()) + 1);
+ try {
+ Ee(o._olm_unpickle_pk_decryption)(this.Mb, n, e.length, r, a.length, i, t)
+ } finally {
+ for (Re(n, e.length), n = 0; n < e.length; n++) e[n] = 0
+ }
+ return I(i, t)
+ })), Se.prototype.decrypt = Ne((function(e, t, n) {
+ try {
+ var a = N(n),
+ r = Pe(a + 1);
+ O(n, F, r, a + 1);
+ var i = Oe(e),
+ s = Ie(i),
+ l = Oe(t),
+ c = Ie(l),
+ u = Ee(o._olm_pk_max_plaintext_length)(this.Mb, a),
+ d = Pe(u + 1),
+ p = Ee(o._olm_pk_decrypt)(this.Mb, s, i.length, c, l.length, r, a, d, u);
+ return A(d + p), I(d, p)
+ } finally {
+ void 0 !== d && (Re(d, p + 1), je(d)), void 0 !== r && je(r)
+ }
+ })), xe.prototype.free = function() {
+ o._olm_clear_pk_signing(this.Mb), je(this.Mb)
+ }, xe.prototype.init_with_seed = Ne((function(e) {
+ var t = Ie(e.length);
+ o.HEAPU8.set(e, t);
+ var n = Ce(o._olm_pk_signing_public_key_length)(),
+ a = Ie(n + 1);
+ try {
+ Ce(o._olm_pk_signing_key_from_seed)(this.Mb, a, n, t, e.length)
+ } finally {
+ Re(t, e.length)
+ }
+ return I(a, n)
+ })), xe.prototype.generate_seed = Ne((function() {
+ var e = Ce(o._olm_pk_signing_seed_length)(),
+ t = Me(e, u),
+ n = new Uint8Array(new Uint8Array(o.HEAPU8.buffer, t, e));
+ return Re(t, e), n
+ })), xe.prototype.sign = Ne((function(e) {
+ try {
+ var t = N(e),
+ n = Pe(t + 1);
+ O(e, F, n, t + 1);
+ var a = Ce(o._olm_pk_signature_length)(),
+ r = Ie(a + 1);
+ return Ce(o._olm_pk_sign)(this.Mb, n, t, r, a), I(r, a)
+ } finally {
+ void 0 !== n && (Re(n, t + 1), je(n))
+ }
+ })), Ae.prototype.free = function() {
+ o._olm_clear_sas(this.Mb), je(this.Mb)
+ }, Ae.prototype.get_pubkey = Ne((function() {
+ var e = Te(o._olm_sas_pubkey_length)(this.Mb),
+ t = Ie(e + 1);
+ return Te(o._olm_sas_get_pubkey)(this.Mb, t, e), I(t, e)
+ })), Ae.prototype.set_their_key = Ne((function(e) {
+ var t = Ie(e = Oe(e));
+ Te(o._olm_sas_set_their_key)(this.Mb, t, e.length)
+ })), Ae.prototype.is_their_key_set = Ne((function() {
+ return !!Te(o._olm_sas_is_their_key_set)(this.Mb)
+ })), Ae.prototype.generate_bytes = Ne((function(e, t) {
+ var n = Ie(e = Oe(e)),
+ a = Ie(t);
+ return Te(o._olm_sas_generate_bytes)(this.Mb, n, e.length, a, t), new Uint8Array(new Uint8Array(o.HEAPU8.buffer, a, t))
+ })), Ae.prototype.calculate_mac = Ne((function(e, t) {
+ var n = Ie(e = Oe(e)),
+ a = Ie(t = Oe(t)),
+ r = Te(o._olm_sas_mac_length)(this.Mb),
+ i = Ie(r + 1);
+ return Te(o._olm_sas_calculate_mac)(this.Mb, n, e.length, a, t.length, i, r), I(i, r)
+ })), Ae.prototype.calculate_mac_long_kdf = Ne((function(e, t) {
+ var n = Ie(e = Oe(e)),
+ a = Ie(t = Oe(t)),
+ r = Te(o._olm_sas_mac_length)(this.Mb),
+ i = Ie(r + 1);
+ return Te(o._olm_sas_calculate_mac_long_kdf)(this.Mb, n, e.length, a, t.length, i, r), I(i, r)
+ }));
+ var De, Pe = o._malloc,
+ je = o._free;
+
+ function Me(e, t) {
+ var n = fe(e);
+ return t(new Uint8Array(o.HEAPU8.buffer, n, e)), n
+ }
+
+ function Ie(e) {
+ return "number" == typeof e ? Me(e, (function(e) {
+ e.fill(0)
+ })) : Me(e.length, (function(t) {
+ t.set(e)
+ }))
+ }
+
+ function Oe(e) {
+ if (e instanceof Uint8Array) var t = e;
+ else e = O(e, t = Array(N(e) + 1), 0, t.length), t.length = e;
+ return t
+ }
+
+ function Ne(e) {
+ return function() {
+ var t = he();
+ try {
+ return e.apply(this, arguments)
+ } finally {
+ me(t)
+ }
+ }
+ }
+
+ function Re(e, t) {
+ for (; 0 < t--;) o.HEAP8[e++] = 0
+ }
+
+ function ze() {
+ var e = o._olm_account_size();
+ this.Nb = Pe(e), this.Mb = o._olm_account(this.Nb)
+ }
+
+ function Le(e) {
+ return function() {
+ var t = e.apply(this, arguments);
+ if (t === De) throw t = I(o._olm_account_last_error(arguments[0])), Error("OLM." + t);
+ return t
+ }
+ }
+
+ function Fe() {
+ var e = o._olm_session_size();
+ this.Nb = Pe(e), this.Mb = o._olm_session(this.Nb)
+ }
+
+ function qe(e) {
+ return function() {
+ var t = e.apply(this, arguments);
+ if (t === De) throw t = I(o._olm_session_last_error(arguments[0])), Error("OLM." + t);
+ return t
+ }
+ }
+
+ function Be() {
+ var e = o._olm_utility_size();
+ this.Nb = Pe(e), this.Mb = o._olm_utility(this.Nb)
+ }
+
+ function Ue(e) {
+ return function() {
+ var t = e.apply(this, arguments);
+ if (t === De) throw t = I(o._olm_utility_last_error(arguments[0])), Error("OLM." + t);
+ return t
+ }
+ }
+ return ze.prototype.free = function() {
+ o._olm_clear_account(this.Mb), je(this.Mb)
+ }, ze.prototype.create = Ne((function() {
+ var e = Le(o._olm_create_account_random_length)(this.Mb),
+ t = Me(e, u);
+ Le(o._olm_create_account)(this.Mb, t, e)
+ })), ze.prototype.identity_keys = Ne((function() {
+ var e = Le(o._olm_account_identity_keys_length)(this.Mb),
+ t = Ie(e + 1);
+ return Le(o._olm_account_identity_keys)(this.Mb, t, e), I(t, e)
+ })), ze.prototype.sign = Ne((function(e) {
+ var t = Le(o._olm_account_signature_length)(this.Mb),
+ n = Ie(e = Oe(e)),
+ a = Ie(t + 1);
+ try {
+ Le(o._olm_account_sign)(this.Mb, n, e.length, a, t)
+ } finally {
+ for (Re(n, e.length), n = 0; n < e.length; n++) e[n] = 0
+ }
+ return I(a, t)
+ })), ze.prototype.one_time_keys = Ne((function() {
+ var e = Le(o._olm_account_one_time_keys_length)(this.Mb),
+ t = Ie(e + 1);
+ return Le(o._olm_account_one_time_keys)(this.Mb, t, e), I(t, e)
+ })), ze.prototype.mark_keys_as_published = Ne((function() {
+ Le(o._olm_account_mark_keys_as_published)(this.Mb)
+ })), ze.prototype.max_number_of_one_time_keys = Ne((function() {
+ return Le(o._olm_account_max_number_of_one_time_keys)(this.Mb)
+ })), ze.prototype.generate_one_time_keys = Ne((function(e) {
+ var t = Le(o._olm_account_generate_one_time_keys_random_length)(this.Mb, e),
+ n = Me(t, u);
+ Le(o._olm_account_generate_one_time_keys)(this.Mb, e, n, t)
+ })), ze.prototype.remove_one_time_keys = Ne((function(e) {
+ Le(o._olm_remove_one_time_keys)(this.Mb, e.Mb)
+ })), ze.prototype.generate_fallback_key = Ne((function() {
+ var e = Le(o._olm_account_generate_fallback_key_random_length)(this.Mb),
+ t = Me(e, u);
+ Le(o._olm_account_generate_fallback_key)(this.Mb, t, e)
+ })), ze.prototype.fallback_key = Ne((function() {
+ var e = Le(o._olm_account_fallback_key_length)(this.Mb),
+ t = Ie(e + 1);
+ return Le(o._olm_account_fallback_key)(this.Mb, t, e), I(t, e)
+ })), ze.prototype.pickle = Ne((function(e) {
+ e = Oe(e);
+ var t = Le(o._olm_pickle_account_length)(this.Mb),
+ n = Ie(e),
+ a = Ie(t + 1);
+ try {
+ Le(o._olm_pickle_account)(this.Mb, n, e.length, a, t)
+ } finally {
+ for (Re(n, e.length), n = 0; n < e.length; n++) e[n] = 0
+ }
+ return I(a, t)
+ })), ze.prototype.unpickle = Ne((function(e, t) {
+ var n = Ie(e = Oe(e)),
+ a = Ie(t = Oe(t));
+ try {
+ Le(o._olm_unpickle_account)(this.Mb, n, e.length, a, t.length)
+ } finally {
+ for (Re(n, e.length), n = 0; n < e.length; n++) e[n] = 0
+ }
+ })), Fe.prototype.free = function() {
+ o._olm_clear_session(this.Mb), je(this.Mb)
+ }, Fe.prototype.pickle = Ne((function(e) {
+ e = Oe(e);
+ var t = qe(o._olm_pickle_session_length)(this.Mb),
+ n = Ie(e),
+ a = Ie(t + 1);
+ try {
+ qe(o._olm_pickle_session)(this.Mb, n, e.length, a, t)
+ } finally {
+ for (Re(n, e.length), n = 0; n < e.length; n++) e[n] = 0
+ }
+ return I(a, t)
+ })), Fe.prototype.unpickle = Ne((function(e, t) {
+ var n = Ie(e = Oe(e)),
+ a = Ie(t = Oe(t));
+ try {
+ qe(o._olm_unpickle_session)(this.Mb, n, e.length, a, t.length)
+ } finally {
+ for (Re(n, e.length), n = 0; n < e.length; n++) e[n] = 0
+ }
+ })), Fe.prototype.create_outbound = Ne((function(e, t, n) {
+ var a = qe(o._olm_create_outbound_session_random_length)(this.Mb),
+ r = Me(a, u);
+ t = Oe(t), n = Oe(n);
+ var i = Ie(t),
+ s = Ie(n);
+ try {
+ qe(o._olm_create_outbound_session)(this.Mb, e.Mb, i, t.length, s, n.length, r, a)
+ } finally {
+ Re(r, a)
+ }
+ })), Fe.prototype.create_inbound = Ne((function(e, t) {
+ var n = Ie(t = Oe(t));
+ try {
+ qe(o._olm_create_inbound_session)(this.Mb, e.Mb, n, t.length)
+ } finally {
+ for (Re(n, t.length), e = 0; e < t.length; e++) t[e] = 0
+ }
+ })), Fe.prototype.create_inbound_from = Ne((function(e, t, n) {
+ var a = Ie(t = Oe(t)),
+ r = Ie(n = Oe(n));
+ try {
+ qe(o._olm_create_inbound_session_from)(this.Mb, e.Mb, a, t.length, r, n.length)
+ } finally {
+ for (Re(r, n.length), e = 0; e < n.length; e++) n[e] = 0
+ }
+ })), Fe.prototype.session_id = Ne((function() {
+ var e = qe(o._olm_session_id_length)(this.Mb),
+ t = Ie(e + 1);
+ return qe(o._olm_session_id)(this.Mb, t, e), I(t, e)
+ })), Fe.prototype.has_received_message = function() {
+ return !!qe(o._olm_session_has_received_message)(this.Mb)
+ }, Fe.prototype.matches_inbound = Ne((function(e) {
+ var t = Ie(e = Oe(e));
+ return !!qe(o._olm_matches_inbound_session)(this.Mb, t, e.length)
+ })), Fe.prototype.matches_inbound_from = Ne((function(e, t) {
+ var n = Ie(e = Oe(e)),
+ a = Ie(t = Oe(t));
+ return !!qe(o._olm_matches_inbound_session_from)(this.Mb, n, e.length, a, t.length)
+ })), Fe.prototype.encrypt = Ne((function(e) {
+ try {
+ var t = qe(o._olm_encrypt_random_length)(this.Mb),
+ n = qe(o._olm_encrypt_message_type)(this.Mb),
+ a = N(e),
+ r = qe(o._olm_encrypt_message_length)(this.Mb, a),
+ i = Me(t, u),
+ s = Pe(a + 1);
+ O(e, F, s, a + 1);
+ var l = Pe(r + 1);
+ return qe(o._olm_encrypt)(this.Mb, s, a, i, t, l, r), A(l + r), {
+ type: n,
+ body: I(l, r)
+ }
+ } finally {
+ void 0 !== i && Re(i, t), void 0 !== s && (Re(s, a + 1), je(s)), void 0 !== l && je(l)
+ }
+ })), Fe.prototype.decrypt = Ne((function(e, t) {
+ try {
+ var n = Pe(t.length);
+ R(t, n);
+ var a = qe(o._olm_decrypt_max_plaintext_length)(this.Mb, e, n, t.length);
+ R(t, n);
+ var r = Pe(a + 1),
+ i = qe(o._olm_decrypt)(this.Mb, e, n, t.length, r, a);
+ return A(r + i), I(r, i)
+ } finally {
+ void 0 !== n && je(n), void 0 !== r && (Re(r, a), je(r))
+ }
+ })), Fe.prototype.describe = Ne((function() {
+ try {
+ var e = Pe(256);
+ return qe(o._olm_session_describe)(this.Mb, e, 256), I(e)
+ } finally {
+ void 0 !== e && je(e)
+ }
+ })), Be.prototype.free = function() {
+ o._olm_clear_utility(this.Mb), je(this.Mb)
+ }, Be.prototype.sha256 = Ne((function(e) {
+ var t = Ue(o._olm_sha256_length)(this.Mb),
+ n = Ie(e = Oe(e)),
+ a = Ie(t + 1);
+ try {
+ Ue(o._olm_sha256)(this.Mb, n, e.length, a, t)
+ } finally {
+ for (Re(n, e.length), n = 0; n < e.length; n++) e[n] = 0
+ }
+ return I(a, t)
+ })), Be.prototype.ed25519_verify = Ne((function(e, t, n) {
+ var a = Ie(e = Oe(e)),
+ r = Ie(t = Oe(t)),
+ i = Ie(n = Oe(n));
+ try {
+ Ue(o._olm_ed25519_verify)(this.Mb, a, e.length, r, t.length, i, n.length)
+ } finally {
+ for (Re(r, t.length), e = 0; e < t.length; e++) t[e] = 0
+ }
+ })), s.Account = ze, s.Session = Fe, s.Utility = Be, s.PkEncryption = _e, s.PkDecryption = Se, s.PkSigning = xe, s.SAS = Ae, s.get_library_version = Ne((function() {
+ var e = Ie(3);
+ return o._olm_get_library_version(e, e + 1, e + 2), [T(e, "i8"), T(e + 1, "i8"), T(e + 2, "i8")]
+ })), t.ready
+ }, e.exports = l, s.init = function(e) {
+ return o || (e && (OLM_OPTIONS = e), o = new Promise((function(e, t) {
+ a = function() {
+ e()
+ }, r = function(e) {
+ t(e)
+ }, l()
+ })))
+ }, s);
+ "undefined" != typeof window && (window.Olm = u), e.exports = u
+}, 9783: (e, t) => {
+ "use strict";
+ Object.defineProperty(t, "__esModule", {
+ value: !0
+ });
+ var n = function() {
+ function e() {}
+ return e.serializeContent = function(e) {
+ var t = e.constructor.name;
+ if ("Buffer" === t || "Blob" === t || "File" === t || "FormData" === t || "string" == typeof e) return e;
+ if ("ArrayBuffer" === t) e = Buffer.from(e);
+ else if ("Int8Array" === t || "Int16Array" === t || "Int32Array" === t || "Uint8Array" === t || "Uint16Array" === t || "Uint32Array" === t || "Uint8ClampedArray" === t || "Float32Array" === t || "Float64Array" === t || "DataView" === t) e = Buffer.from(e.buffer);
+ else try {
+ e = JSON.stringify(e)
+ } catch (e) {
+ throw console.log(e), new Error("Invalid JSON content")
+ }
+ return e
+ }, e
+ }();
+ t.GraphHelper = n
+}, 9324: (e, t, n) => {
+ "use strict";
+ Object.defineProperty(t, "__esModule", {
+ value: !0
+ });
+ var a = n(4305);
+ n(5430);
+ var r = n(3114),
+ i = n(5220),
+ o = n(1558),
+ s = n(9783),
+ l = function() {
+ function e(e, t) {
+ this.config = e, this._headers = {}, this.urlComponents = {
+ host: this.config.baseUrl,
+ version: this.config.defaultVersion,
+ oDataQueryParams: {},
+ otherURLQueryParams: {}
+ }, this.parsePath(t)
+ }
+ return e.prototype.header = function(e, t) {
+ return this._headers[e] = t, this
+ }, e.prototype.headers = function(e) {
+ for (var t in e) this._headers[t] = e[t];
+ return this
+ }, e.prototype.parsePath = function(e) {
+ if (-1 != e.indexOf("https://")) {
+ var t = (e = e.replace("https://", "")).indexOf("/");
+ this.urlComponents.host = "https://" + e.substring(0, t);
+ var n = (e = e.substring(t + 1, e.length)).indexOf("/");
+ this.urlComponents.version = e.substring(0, n), e = e.substring(n + 1, e.length)
+ }
+ "/" == e.charAt(0) && (e = e.substr(1));
+ var a = e.indexOf("?");
+ if (-1 == a) this.urlComponents.path = e;
+ else {
+ this.urlComponents.path = e.substr(0, a);
+ for (var i = 0, o = e.substring(a + 1, e.length).split("&"); i < o.length; i++) {
+ var s = o[i].split("="),
+ l = s[0],
+ c = s[1];
+ r.oDataQueryNames.indexOf(l) ? this.urlComponents.oDataQueryParams[l] = c : this.urlComponents.otherURLQueryParams[l] = c
+ }
+ }
+ }, e.prototype.urlJoin = function(e) {
+ var t = function(e) {
+ return e.replace(/^\/+/, "")
+ };
+ return Array.prototype.slice.call(e).reduce((function(e, n) {
+ return [(a = e, a.replace(/\/+$/, "")), t(n)].join("/");
+ var a
+ }))
+ }, e.prototype.buildFullUrl = function() {
+ var e = this.urlJoin([this.urlComponents.host, this.urlComponents.version, this.urlComponents.path]) + this.createQueryString();
+ return this.config.debugLogging && console.log(e), e
+ }, e.prototype.version = function(e) {
+ return this.urlComponents.version = e, this
+ }, e.prototype.select = function(e) {
+ return this.addCsvQueryParamater("$select", e, arguments), this
+ }, e.prototype.expand = function(e) {
+ return this.addCsvQueryParamater("$expand", e, arguments), this
+ }, e.prototype.orderby = function(e) {
+ return this.addCsvQueryParamater("$orderby", e, arguments), this
+ }, e.prototype.filter = function(e) {
+ return this.urlComponents.oDataQueryParams.$filter = e, this
+ }, e.prototype.top = function(e) {
+ return this.urlComponents.oDataQueryParams.$top = e, this
+ }, e.prototype.skip = function(e) {
+ return this.urlComponents.oDataQueryParams.$skip = e, this
+ }, e.prototype.skipToken = function(e) {
+ return this.urlComponents.oDataQueryParams.$skipToken = e, this
+ }, e.prototype.count = function(e) {
+ return this.urlComponents.oDataQueryParams.$count = e.toString(), this
+ }, e.prototype.responseType = function(e) {
+ return this._responseType = e, this
+ }, e.prototype.addCsvQueryParamater = function(e, t, n) {
+ this.urlComponents.oDataQueryParams[e] = this.urlComponents.oDataQueryParams[e] ? this.urlComponents.oDataQueryParams[e] + "," : "";
+ var a = [];
+ "string" == typeof t ? a.push(t) : a = a.concat(t), n.length > 1 && "string" == typeof t && (a = Array.prototype.slice.call(n)), this.urlComponents.oDataQueryParams[e] += a.join(",")
+ }, e.prototype.delete = function(e) {
+ var t = this.buildFullUrl();
+ return this.sendRequestAndRouteResponse(new Request(t, {
+ method: o.RequestMethod.DELETE,
+ headers: new Headers
+ }), e)
+ }, e.prototype.patch = function(e, t) {
+ var n = this.buildFullUrl();
+ return this.sendRequestAndRouteResponse(new Request(n, {
+ method: o.RequestMethod.PATCH,
+ body: s.GraphHelper.serializeContent(e),
+ headers: new Headers({
+ "Content-Type": "application/json"
+ })
+ }), t)
+ }, e.prototype.post = function(e, t) {
+ var n = this.buildFullUrl();
+ return this.sendRequestAndRouteResponse(new Request(n, {
+ method: o.RequestMethod.POST,
+ body: s.GraphHelper.serializeContent(e),
+ headers: new Headers(void 0 !== e.constructor && "FormData" === e.constructor.name ? {} : {
+ "Content-Type": "application/json"
+ })
+ }), t)
+ }, e.prototype.put = function(e, t) {
+ var n = this.buildFullUrl();
+ return this.sendRequestAndRouteResponse(new Request(n, {
+ method: o.RequestMethod.PUT,
+ body: s.GraphHelper.serializeContent(e),
+ headers: new Headers({
+ "Content-Type": "application/octet-stream"
+ })
+ }), t)
+ }, e.prototype.create = function(e, t) {
+ return this.post(e, t)
+ }, e.prototype.update = function(e, t) {
+ return this.patch(e, t)
+ }, e.prototype.del = function(e) {
+ return this.delete(e)
+ }, e.prototype.get = function(e) {
+ var t = this.buildFullUrl();
+ return this.sendRequestAndRouteResponse(new Request(t, {
+ method: o.RequestMethod.GET,
+ headers: new Headers
+ }), e)
+ }, e.prototype.routeResponseToPromise = function(e) {
+ var t = this;
+ return new a.Promise((function(n, a) {
+ t.routeResponseToCallback(e, (function(e, t) {
+ null != e ? a(e) : n(t)
+ }))
+ }))
+ }, e.prototype.handleFetch = function(e, t, n) {
+ var a = this;
+ ("Request" === e.constructor.name ? fetch(e) : fetch(e, n)).then((function(e) {
+ a.convertResponseType(e).then((function(n) {
+ i.ResponseHandler.init(e, void 0, n, t)
+ })).catch((function(n) {
+ i.ResponseHandler.init(e, n, void 0, t)
+ }))
+ })).catch((function(e) {
+ i.ResponseHandler.init(void 0, e, void 0, t)
+ }))
+ }, e.prototype.routeResponseToCallback = function(e, t) {
+ var n = this;
+ n.config.authProvider((function(a, r) {
+ null == a && null != r ? (e = n.configureRequest(e, r), n.handleFetch(e, t)) : t(a, null, null)
+ }))
+ }, e.prototype.sendRequestAndRouteResponse = function(e, t) {
+ if (null == t && void 0 !== a.Promise) return this.routeResponseToPromise(e);
+ this.routeResponseToCallback(e, t || function() {})
+ }, e.prototype.getStream = function(e) {
+ var t = this;
+ t.config.authProvider((function(n, a) {
+ if (null === n && null !== a) {
+ var r = t.buildFullUrl(),
+ i = {
+ method: o.RequestMethod.GET,
+ headers: t.getDefaultRequestHeaders(a)
};
- var t = r.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i, e);
- return {
- name: i.ENGINE_MAP.EdgeHTML,
- version: t
- }
- }
- }, {
- test: [/trident/i],
- describe: function(e) {
- var t = {
- name: i.ENGINE_MAP.Trident
- },
- n = r.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: function(e) {
- return e.test(/presto/i)
- },
- describe: function(e) {
- var t = {
- name: i.ENGINE_MAP.Presto
- },
- n = r.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: function(e) {
- var t = e.test(/gecko/i),
- n = e.test(/like gecko/i);
- return t && !n
- },
- describe: function(e) {
- var t = {
- name: i.ENGINE_MAP.Gecko
- },
- n = r.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }, {
- test: [/(apple)?webkit\/537\.36/i],
- describe: function() {
- return {
- name: i.ENGINE_MAP.Blink
- }
- }
- }, {
- test: [/(apple)?webkit/i],
- describe: function(e) {
- var t = {
- name: i.ENGINE_MAP.WebKit
+ t.responseType("stream"), Object.keys(t._headers).forEach((function(e) {
+ return i.headers[e] = t._headers[e]
+ })), t.handleFetch(r, e, i)
+ } else e(n, null)
+ }))
+ }, e.prototype.putStream = function(e, t) {
+ var n = this;
+ n.config.authProvider((function(a, r) {
+ if (null === a && null !== r) {
+ var i = n.buildFullUrl(),
+ s = {
+ method: o.RequestMethod.PUT,
+ headers: {
+ "Content-Type": "application/octet-stream"
},
- n = r.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i, e);
- return n && (t.version = n), t
- }
- }];
- t.default = o, e.exports = t.default
+ body: e
+ },
+ l = n.getDefaultRequestHeaders(r);
+ Object.keys(l).forEach((function(e) {
+ return s.headers[e] = l[e]
+ })), Object.keys(n._headers).forEach((function(e) {
+ return s.headers[e] = n._headers[e]
+ })), n.handleFetch(i, t, s)
+ }
+ }))
+ }, e.prototype.getDefaultRequestHeaders = function(e) {
+ return {
+ Authorization: "Bearer " + e,
+ SdkVersion: "graph-js-" + r.PACKAGE_VERSION
+ }
+ }, e.prototype.configureRequest = function(e, t) {
+ var n = this,
+ a = n.getDefaultRequestHeaders(t);
+ return Object.keys(a).forEach((function(t) {
+ return e.headers.set(t, a[t])
+ })), Object.keys(n._headers).forEach((function(t) {
+ return e.headers.set(t, n._headers[t])
+ })), e
+ }, e.prototype.query = function(e) {
+ if ("string" == typeof e) {
+ var t = e,
+ n = t.split("=")[0],
+ a = t.split("=")[1];
+ this.urlComponents.otherURLQueryParams[n] = a
+ } else
+ for (var r in e) this.urlComponents.otherURLQueryParams[r] = e[r];
+ return this
+ }, e.prototype.createQueryString = function() {
+ var e = [];
+ if (0 != Object.keys(this.urlComponents.oDataQueryParams).length)
+ for (var t in this.urlComponents.oDataQueryParams) e.push(t + "=" + this.urlComponents.oDataQueryParams[t]);
+ if (0 != Object.keys(this.urlComponents.otherURLQueryParams).length)
+ for (var t in this.urlComponents.otherURLQueryParams) e.push(t + "=" + this.urlComponents.otherURLQueryParams[t]);
+ return e.length > 0 ? "?" + e.join("&") : ""
+ }, e.prototype.convertResponseType = function(e) {
+ var t;
+ switch (this._responseType || (this._responseType = ""), this._responseType.toLowerCase()) {
+ case "arraybuffer":
+ t = e.arrayBuffer();
+ break;
+ case "blob":
+ t = e.blob();
+ break;
+ default:
+ t = e.json();
+ break;
+ case "text":
+ t = e.text();
+ break;
+ case "stream":
+ t = a.Promise.resolve(e.body)
+ }
+ return t
+ }, e
+ }();
+ t.GraphRequest = l
+}, 1558: (e, t) => {
+ "use strict";
+ var n;
+ Object.defineProperty(t, "__esModule", {
+ value: !0
+ }), (n = t.RequestMethod || (t.RequestMethod = {})).GET = "GET", n.PATCH = "PATCH", n.POST = "POST", n.PUT = "PUT", n.DELETE = "DELETE"
+}, 5220: (e, t) => {
+ "use strict";
+ Object.defineProperty(t, "__esModule", {
+ value: !0
+ });
+ var n = function() {
+ function e() {}
+ return e.init = function(t, n, a, r) {
+ t && t.ok ? r(null, a, t) : null == n && null != t ? null != a && null != a.error ? r(e.buildGraphErrorFromResponseObject(a.error, t.status), null, t) : r(e.defaultGraphError(t.status), null, t) : r(e.ParseError(n), null, t)
+ }, e.ParseError = function(t) {
+ return t ? e.buildGraphErrorFromErrorObject(t) : e.defaultGraphError(-1)
+ }, e.defaultGraphError = function(e) {
+ return {
+ statusCode: e,
+ code: null,
+ message: null,
+ requestId: null,
+ date: new Date,
+ body: null
+ }
+ }, e.buildGraphErrorFromErrorObject = function(t) {
+ var n = e.defaultGraphError(-1);
+ return n.body = t.toString(), n.message = t.message, n.date = new Date, n
+ }, e.buildGraphErrorFromResponseObject = function(e, t) {
+ return {
+ statusCode: t,
+ code: e.code,
+ message: e.message,
+ requestId: e.innerError["request-id"],
+ date: new Date(e.innerError.date),
+ body: e
+ }
+ }, e
+ }();
+ t.ResponseHandler = n
+}, 3114: (e, t) => {
+ "use strict";
+ Object.defineProperty(t, "__esModule", {
+ value: !0
+ }), t.oDataQueryNames = ["select", "expand", "orderby", "filter", "top", "skip", "skipToken", "count"], t.DEFAULT_VERSION = "v1.0", t.GRAPH_BASE_URL = "https://graph.microsoft.com/", t.PACKAGE_VERSION = "1.0.0", t.oDataQueryNames = t.oDataQueryNames.concat(t.oDataQueryNames.map((function(e) {
+ return "$" + e
+ })))
+}, 387: (e, t, n) => {
+ "use strict";
+
+ function a(e) {
+ for (var n in e) t.hasOwnProperty(n) || (t[n] = e[n])
+ }
+ Object.defineProperty(t, "__esModule", {
+ value: !0
+ });
+ var r = n(3114),
+ i = n(9324),
+ o = function() {
+ function e() {
+ this.config = {
+ debugLogging: !1,
+ defaultVersion: r.DEFAULT_VERSION,
+ baseUrl: r.GRAPH_BASE_URL
+ }
}
- })
- }, 6699: (e, t, n) => {
- const a = n(559);
- t.parseFont = a, t.createCanvas = function(e, t) {
- return Object.assign(document.createElement("canvas"), {
- width: e,
- height: t
- })
- }, t.createImageData = function(e, t, n) {
- switch (arguments.length) {
- case 0:
- return new ImageData;
- case 1:
- return new ImageData(e);
- case 2:
- return new ImageData(e, t);
- default:
- return new ImageData(e, t, n)
+ return e.init = function(t) {
+ var n = new e;
+ for (var a in t) n.config[a] = t[a];
+ return n
+ }, e.prototype.api = function(e) {
+ return new i.GraphRequest(this.config, e)
+ }, e
+ }();
+ t.Client = o, a(n(9324)), a(n(3114)), a(n(5220))
+}, 4976: function(e, t, n) {
+ var a = n(554);
+ e.exports = function() {
+ "use strict";
+
+ function e(t) {
+ return e = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
+ return typeof e
+ } : function(e) {
+ return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
+ }, e(t)
+ }
+
+ function t(e, t) {
+ for (var n = 0; n < t.length; n++) {
+ var a = t[n];
+ a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a)
}
- }, t.loadImage = function(e, t) {
- return new Promise((function(n, a) {
- const r = Object.assign(document.createElement("img"), t);
+ }
- function i() {
- r.onload = null, r.onerror = null
- }
- r.onload = function() {
- i(), n(r)
- }, r.onerror = function() {
- i(), a(new Error('Failed to load the image "' + e + '"'))
- }, r.src = e
- }))
+ function r(e, t, n) {
+ return t in e ? Object.defineProperty(e, t, {
+ value: n,
+ enumerable: !0,
+ configurable: !0,
+ writable: !0
+ }) : e[t] = n, e
}
- }, 559: e => {
- "use strict";
- const t = "'([^']+)'|\"([^\"]+)\"|[\\w\\s-]+",
- n = new RegExp("(bold|bolder|lighter|[1-9]00) +", "i"),
- a = new RegExp("(italic|oblique) +", "i"),
- r = new RegExp("(small-caps) +", "i"),
- i = new RegExp("(ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded) +", "i"),
- o = new RegExp("([\\d\\.]+)(px|pt|pc|in|cm|mm|%|em|ex|ch|rem|q) *((?:" + t + ")( *, *(?:" + t + "))*)"),
- s = {};
- e.exports = function(e) {
- if (s[e]) return s[e];
- const t = o.exec(e);
- if (!t) return;
- const l = {
- weight: "normal",
- style: "normal",
- stretch: "normal",
- variant: "normal",
- size: parseFloat(t[1]),
- unit: t[2],
- family: t[3].replace(/["']/g, "").replace(/ *, */g, ",")
- };
- let c, u, d, p, h = e.substring(0, t.index);
- switch ((c = n.exec(h)) && (l.weight = c[1]), (u = a.exec(h)) && (l.style = u[1]), (d = r.exec(h)) && (l.variant = d[1]), (p = i.exec(h)) && (l.stretch = p[1]), l.unit) {
- case "pt":
- l.size /= .75;
- break;
- case "pc":
- l.size *= 16;
- break;
- case "in":
- l.size *= 96;
- break;
- case "cm":
- l.size *= 96 / 2.54;
- break;
- case "mm":
- l.size *= 96 / 25.4;
- break;
- case "%":
- break;
- case "em":
- case "rem":
- l.size *= 16 / .75;
- break;
- case "q":
- l.size *= 96 / 25.4 / 4
+
+ function i(e) {
+ for (var t = 1; t < arguments.length; t++) {
+ var n = null != arguments[t] ? arguments[t] : {},
+ a = Object.keys(n);
+ "function" == typeof Object.getOwnPropertySymbols && (a = a.concat(Object.getOwnPropertySymbols(n).filter((function(e) {
+ return Object.getOwnPropertyDescriptor(n, e).enumerable
+ })))), a.forEach((function(t) {
+ r(e, t, n[t])
+ }))
}
- return s[e] = l
+ return e
}
- }, 3588: (e, t) => {
- var n;
- ! function() {
- "use strict";
- var a = {}.hasOwnProperty;
+ var o, s, l, c;
- function r() {
- for (var e = [], t = 0; t < arguments.length; t++) {
- var n = arguments[t];
- if (n) {
- var i = typeof n;
- if ("string" === i || "number" === i) e.push(n);
- else if (Array.isArray(n)) e.push(r.apply(null, n));
- else if ("object" === i)
- for (var o in n) a.call(n, o) && n[o] && e.push(o)
+ function u() {
+ return "object" == typeof window && void 0 !== (null === window || void 0 === window ? void 0 : window.document)
+ }(function(e) {
+ e.IDENTIFY = "$identify"
+ })(o || (o = {})),
+ function(e) {
+ e.SET = "$set", e.SET_ONCE = "$setOnce", e.ADD = "$add", e.APPEND = "$append", e.PREPEND = "$prepend", e.REMOVE = "$remove", e.PREINSERT = "$preinsert", e.POSTINSERT = "$postinsert", e.UNSET = "$unset", e.CLEAR_ALL = "$clearAll"
+ }(s || (s = {})),
+ function(e) {
+ e[e.None = 0] = "None", e[e.Error = 1] = "Error", e[e.Warn = 2] = "Warn", e[e.Verbose = 3] = "Verbose"
+ }(l || (l = {})),
+ function(e) {
+ e.Unknown = "unknown", e.Skipped = "skipped", e.Success = "success", e.RateLimit = "rate_limit", e.PayloadTooLarge = "payload_too_large", e.Invalid = "invalid", e.Failed = "failed"
+ }(c || (c = {})),
+ function(e) {
+ e.fromHttpCode = function(t) {
+ return t >= 200 && t < 300 ? e.Success : 429 === t ? e.RateLimit : 413 === t ? e.PayloadTooLarge : t >= 400 && t < 500 ? e.Invalid : t >= 500 ? e.Failed : e.Unknown
+ }
+ }(c || (c = {})), c.Skipped;
+ var d, p = {},
+ h = ((d = function() {
+ return "object" == typeof a && void 0 !== (null === (e = null == a ? void 0 : a.versions) || void 0 === e ? void 0 : e.node) ? n.g : "undefined" != typeof window ? window : "undefined" != typeof self ? self : p;
+ var e
+ }()).__AMPLITUDE__ = d.__AMPLITUDE__ || {}, d.__AMPLITUDE__),
+ m = "Amplitude Logger ",
+ f = function() {
+ function e() {
+ this._logLevel = 0
+ }
+ return e.prototype.disable = function() {
+ this._logLevel = 0
+ }, e.prototype.enable = function(e) {
+ void 0 === e && (e = l.Warn), this._logLevel = e
+ }, e.prototype.log = function() {
+ for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
+ this._logLevel < l.Verbose || n.g.console.log(m + "[Log]: " + e.join(" "))
+ }, e.prototype.warn = function() {
+ for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
+ this._logLevel < l.Warn || n.g.console.warn(m + "[Warn]: " + e.join(" "))
+ }, e.prototype.error = function() {
+ for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
+ this._logLevel < l.Error || n.g.console.error(m + "[Error]: " + e.join(" "))
+ }, e
+ }(),
+ g = (h.logger || (h.logger = new f), {
+ DEFAULT_INSTANCE: "$default_instance",
+ API_VERSION: 2,
+ MAX_STRING_LENGTH: 4096,
+ MAX_PROPERTY_KEYS: 1e3,
+ IDENTIFY_EVENT: "$identify",
+ GROUP_IDENTIFY_EVENT: "$groupidentify",
+ LAST_EVENT_ID: "amplitude_lastEventId",
+ LAST_EVENT_TIME: "amplitude_lastEventTime",
+ LAST_IDENTIFY_ID: "amplitude_lastIdentifyId",
+ LAST_SEQUENCE_NUMBER: "amplitude_lastSequenceNumber",
+ SESSION_ID: "amplitude_sessionId",
+ DEVICE_ID: "amplitude_deviceId",
+ OPT_OUT: "amplitude_optOut",
+ USER_ID: "amplitude_userId",
+ COOKIE_TEST_PREFIX: "amp_cookie_test",
+ COOKIE_PREFIX: "amp",
+ STORAGE_DEFAULT: "",
+ STORAGE_COOKIES: "cookies",
+ STORAGE_NONE: "none",
+ STORAGE_LOCAL: "localStorage",
+ STORAGE_SESSION: "sessionStorage",
+ REVENUE_EVENT: "revenue_amount",
+ REVENUE_PRODUCT_ID: "$productId",
+ REVENUE_QUANTITY: "$quantity",
+ REVENUE_PRICE: "$price",
+ REVENUE_REVENUE_TYPE: "$revenueType",
+ AMP_DEVICE_ID_PARAM: "amp_device_id",
+ REFERRER: "referrer",
+ UTM_SOURCE: "utm_source",
+ UTM_MEDIUM: "utm_medium",
+ UTM_CAMPAIGN: "utm_campaign",
+ UTM_TERM: "utm_term",
+ UTM_CONTENT: "utm_content",
+ ATTRIBUTION_EVENT: "[Amplitude] Attribution Captured"
+ }),
+ b = function(e) {
+ for (var t = "", n = 0; n < e.length; n++) {
+ var a = e.charCodeAt(n);
+ a < 128 ? t += String.fromCharCode(a) : a > 127 && a < 2048 ? (t += String.fromCharCode(a >> 6 | 192), t += String.fromCharCode(63 & a | 128)) : (t += String.fromCharCode(a >> 12 | 224), t += String.fromCharCode(a >> 6 & 63 | 128), t += String.fromCharCode(63 & a | 128))
+ }
+ return t
+ },
+ y = function(e) {
+ for (var t = "", n = 0, a = 0, r = 0, i = 0; n < e.length;)(a = e.charCodeAt(n)) < 128 ? (t += String.fromCharCode(a), n++) : a > 191 && a < 224 ? (r = e.charCodeAt(n + 1), t += String.fromCharCode((31 & a) << 6 | 63 & r), n += 2) : (r = e.charCodeAt(n + 1), i = e.charCodeAt(n + 2), t += String.fromCharCode((15 & a) << 12 | (63 & r) << 6 | 63 & i), n += 3);
+ return t
+ },
+ v = {
+ _keyStr: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
+ encode: function(e) {
+ try {
+ if (window.btoa && window.atob) return window.btoa(unescape(encodeURIComponent(e)))
+ } catch (e) {}
+ return v._encode(e)
+ },
+ _encode: function(e) {
+ var t, n, a, r, i, o, s, l = "",
+ c = 0;
+ for (e = b(e); c < e.length;) r = (t = e.charCodeAt(c++)) >> 2, i = (3 & t) << 4 | (n = e.charCodeAt(c++)) >> 4, o = (15 & n) << 2 | (a = e.charCodeAt(c++)) >> 6, s = 63 & a, isNaN(n) ? o = s = 64 : isNaN(a) && (s = 64), l = l + v._keyStr.charAt(r) + v._keyStr.charAt(i) + v._keyStr.charAt(o) + v._keyStr.charAt(s);
+ return l
+ },
+ decode: function(e) {
+ try {
+ if (window.btoa && window.atob) return decodeURIComponent(escape(window.atob(e)))
+ } catch (e) {}
+ return v._decode(e)
+ },
+ _decode: function(e) {
+ var t, n, a, r, i, o, s = "",
+ l = 0;
+ for (e = e.replace(/[^A-Za-z0-9+/=]/g, ""); l < e.length;) t = v._keyStr.indexOf(e.charAt(l++)) << 2 | (r = v._keyStr.indexOf(e.charAt(l++))) >> 4, n = (15 & r) << 4 | (i = v._keyStr.indexOf(e.charAt(l++))) >> 2, a = (3 & i) << 6 | (o = v._keyStr.indexOf(e.charAt(l++))), s += String.fromCharCode(t), 64 !== i && (s += String.fromCharCode(n)), 64 !== o && (s += String.fromCharCode(a));
+ return y(s)
+ }
+ },
+ k = Object.prototype.toString;
+
+ function _(t) {
+ switch (k.call(t)) {
+ case "[object Date]":
+ return "date";
+ case "[object RegExp]":
+ return "regexp";
+ case "[object Arguments]":
+ return "arguments";
+ case "[object Array]":
+ return "array";
+ case "[object Error]":
+ return "error"
+ }
+ return null === t ? "null" : void 0 === t ? "undefined" : t != t ? "nan" : t && 1 === t.nodeType ? "element" : "undefined" != typeof Buffer && "function" == typeof Buffer.isBuffer && Buffer.isBuffer(t) ? "buffer" : e(t = t.valueOf ? t.valueOf() : Object.prototype.valueOf.apply(t))
+ }
+ var w, S = {
+ DISABLE: 0,
+ ERROR: 1,
+ WARN: 2,
+ INFO: 3
+ },
+ E = S.WARN,
+ x = {
+ error: function(e) {
+ E >= S.ERROR && C(e)
+ },
+ warn: function(e) {
+ E >= S.WARN && C(e)
+ },
+ info: function(e) {
+ E >= S.INFO && C(e)
+ }
+ },
+ C = function(e) {
+ try {
+ console.log("[Amplitude] " + e)
+ } catch (e) {}
+ },
+ A = function(e) {
+ return "string" === _(e) && e.length > g.MAX_STRING_LENGTH ? e.substring(0, g.MAX_STRING_LENGTH) : e
+ },
+ T = function(e) {
+ var t = _(e);
+ if ("object" !== t) return x.error("Error: invalid properties format. Expecting Javascript object, received " + t + ", ignoring"), {};
+ if (Object.keys(e).length > g.MAX_PROPERTY_KEYS) return x.error("Error: too many properties (more than 1000), ignoring"), {};
+ var n = {};
+ for (var a in e)
+ if (Object.prototype.hasOwnProperty.call(e, a)) {
+ var r = a,
+ i = _(r);
+ "string" !== i && (r = String(r), x.warn("WARNING: Non-string property key, received type " + i + ', coercing to string "' + r + '"'));
+ var o = P(r, e[a]);
+ null !== o && (n[r] = o)
+ } return n
+ },
+ D = ["nan", "function", "arguments", "regexp", "element"],
+ P = function e(t, n) {
+ var a = _(n);
+ if (-1 !== D.indexOf(a)) x.warn('WARNING: Property key "' + t + '" with invalid value type ' + a + ", ignoring"), n = null;
+ else if ("undefined" === a) n = null;
+ else if ("error" === a) n = String(n), x.warn('WARNING: Property key "' + t + '" with value type error, coercing to ' + n);
+ else if ("array" === a) {
+ for (var r = [], i = 0; i < n.length; i++) {
+ var o = n[i],
+ s = _(o);
+ "array" !== s ? "object" === s ? r.push(T(o)) : r.push(e(t, o)) : x.warn("WARNING: Cannot have " + s + " nested in an array property value, skipping")
+ }
+ n = r
+ } else "object" === a && (n = T(n));
+ return n
+ },
+ j = function(e, t) {
+ var n = _(t);
+ if ("string" === n) return t;
+ if ("date" === n || "number" === n || "boolean" === n) return t = String(t), x.warn("WARNING: Non-string groupName, received type " + n + ', coercing to string "' + t + '"'), t;
+ if ("array" === n) {
+ for (var a = [], r = 0; r < t.length; r++) {
+ var i = t[r],
+ o = _(i);
+ "array" !== o && "object" !== o ? "string" === o ? a.push(i) : "date" !== o && "number" !== o && "boolean" !== o || (i = String(i), x.warn("WARNING: Non-string groupName, received type " + o + ', coercing to string "' + i + '"'), a.push(i)) : x.warn("WARNING: Skipping nested " + o + " in array groupName")
}
+ return a
}
- return e.join(" ")
- }
- e.exports ? e.exports = r : void 0 === (n = function() {
- return r
- }.apply(t, [])) || (e.exports = n)
- }()
- }, 6415: e => {
- function t() {
- return new DOMException("The request is not allowed", "NotAllowedError")
- }
- e.exports = async function(e) {
- try {
- await async function(e) {
- if (!navigator.clipboard) throw t();
- return navigator.clipboard.writeText(e)
- }(e)
- } catch (n) {
+ x.warn("WARNING: Non-string groupName, received type " + n + ". Please use strings or array of strings for groupName")
+ },
+ M = function(e) {
+ Object.prototype.hasOwnProperty.call(S, e) && (E = S[e])
+ },
+ I = x,
+ O = function(e) {
+ return !e || 0 === e.length
+ },
+ N = function(e, t) {
+ e = e.replace(/[[]/, "\\[").replace(/[\]]/, "\\]");
+ var n = new RegExp("[\\?&]" + e + "=([^]*)").exec(t);
+ return null === n ? void 0 : decodeURIComponent(n[1].replace(/\+/g, " "))
+ },
+ R = function e(t) {
+ if ("array" === _(t))
+ for (var n = 0; n < t.length; n++) t[n] = e(t[n]);
+ else if ("object" === _(t))
+ for (var a in t) a in t && (t[a] = e(t[a]));
+ else t = A(t);
+ return t
+ },
+ z = function(e) {
+ var t = _(e);
+ if ("object" !== t) return x.error("Error: invalid groups format. Expecting Javascript object, received " + t + ", ignoring"), {};
+ var n = {};
+ for (var a in e)
+ if (Object.prototype.hasOwnProperty.call(e, a)) {
+ var r = a,
+ i = _(r);
+ "string" !== i && (r = String(r), x.warn("WARNING: Non-string groupType, received type " + i + ', coercing to string "' + r + '"'));
+ var o = j(r, e[a]);
+ null !== o && (n[r] = o)
+ } return n
+ },
+ L = function(e, t, n) {
+ return _(e) === n || (x.error("Invalid " + t + " input type. Expected " + n + " but received " + _(e)), !1)
+ },
+ F = T,
+ q = function() {
+ return window.location
+ },
+ B = function() {
+ for (var e = "", t = 0; t < 22; ++t) e += "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charAt(Math.floor(64 * Math.random()));
+ return e
+ },
+ U = function(e) {
+ try {
+ for (var t = document.cookie.split(";"), n = null, a = 0; a < t.length; a++) {
+ for (var r = t[a];
+ " " === r.charAt(0);) r = r.substring(1, r.length);
+ if (0 === r.indexOf(e)) {
+ n = r.substring(e.length, r.length);
+ break
+ }
+ }
+ return n
+ } catch (e) {
+ return null
+ }
+ },
+ H = function(e, t, n) {
+ var a = null !== t ? n.expirationDays : -1;
+ if (a) {
+ var r = new Date;
+ r.setTime(r.getTime() + 24 * a * 60 * 60 * 1e3), a = r
+ }
+ var i = e + "=" + t;
+ a && (i += "; expires=" + a.toUTCString()), i += "; path=/", n.domain && (i += "; domain=" + n.domain), n.secure && (i += "; Secure"), n.sameSite && (i += "; SameSite=" + n.sameSite), document.cookie = i
+ },
+ V = H,
+ W = U,
+ Y = function() {
+ var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = g.COOKIE_TEST_PREFIX + B(),
+ n = !1;
+ try {
+ var a = String(new Date);
+ H(t, a, e), I.info("Testing if cookies available"), n = U(t + "=") === a
+ } catch (e) {
+ I.warn('Error thrown when checking for cookies. Reason: "'.concat(e, '"'))
+ } finally {
+ I.warn("Cleaning up cookies availability test"), H(t, null, e)
+ }
+ return n
+ },
+ G = function(e) {
+ var t = document.createElement("a");
+ return t.href = e, t.hostname || location.hostname
+ },
+ K = function(e) {
+ for (var t = G(e).split("."), n = [], a = "_tldtest_" + B(), r = t.length - 2; r >= 0; --r) n.push(t.slice(r).join("."));
+ for (var i = 0; i < n.length; ++i) {
+ var o = n[i],
+ s = {
+ domain: "." + o
+ };
+ if (V(a, 1, s), W(a)) return V(a, null, s), o
+ }
+ return ""
+ },
+ $ = {
+ expirationDays: void 0,
+ domain: void 0
+ },
+ J = function(e) {
+ var t = "";
+ return $.domain && (t = "." === $.domain.charAt(0) ? $.domain.substring(1) : $.domain), e + t
+ },
+ Z = function(e) {
+ var t = J(e) + "=",
+ n = W(t);
try {
- await async function(e) {
- const n = document.createElement("span");
- n.textContent = e, n.style.whiteSpace = "pre", n.style.webkitUserSelect = "auto", n.style.userSelect = "all", document.body.appendChild(n);
- const a = window.getSelection(),
- r = window.document.createRange();
- a.removeAllRanges(), r.selectNode(n), a.addRange(r);
- let i = !1;
- try {
- i = window.document.execCommand("copy")
- } finally {
- a.removeAllRanges(), window.document.body.removeChild(n)
- }
- if (!i) throw t()
- }(e)
+ if (n) return JSON.parse(v.decode(n))
} catch (e) {
- throw e || n || t()
- }
- }
- }
- }, 8801: (e, t, n) => {
- var a = n(554);
-
- function r() {
- var e;
- try {
- e = t.storage.debug
- } catch (e) {}
- return !e && void 0 !== a && "env" in a && (e = a.env.DEBUG), e
- }(t = e.exports = n(2155)).log = function() {
- return "object" == typeof console && console.log && Function.prototype.apply.call(console.log, console, arguments)
- }, t.formatArgs = function(e) {
- var n = this.useColors;
- if (e[0] = (n ? "%c" : "") + this.namespace + (n ? " %c" : " ") + e[0] + (n ? "%c " : " ") + "+" + t.humanize(this.diff), n) {
- var a = "color: " + this.color;
- e.splice(1, 0, a, "color: inherit");
- var r = 0,
- i = 0;
- e[0].replace(/%[a-zA-Z%]/g, (function(e) {
- "%%" !== e && (r++, "%c" === e && (i = r))
- })), e.splice(i, 0, a)
- }
- }, t.save = function(e) {
- try {
- null == e ? t.storage.removeItem("debug") : t.storage.debug = e
- } catch (e) {}
- }, t.load = r, t.useColors = function() {
- return !("undefined" == typeof window || !window.process || "renderer" !== window.process.type) || ("undefined" != typeof document && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || "undefined" != typeof window && window.console && (window.console.firebug || window.console.exception && window.console.table) || "undefined" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || "undefined" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))
- }, t.storage = "undefined" != typeof chrome && void 0 !== chrome.storage ? chrome.storage.local : function() {
- try {
- return window.localStorage
- } catch (e) {}
- }(), t.colors = ["lightseagreen", "forestgreen", "goldenrod", "dodgerblue", "darkorchid", "crimson"], t.formatters.j = function(e) {
- try {
- return JSON.stringify(e)
- } catch (e) {
- return "[UnexpectedJSONParseError]: " + e.message
- }
- }, t.enable(r())
- }, 2155: (e, t, n) => {
- var a;
-
- function r(e) {
- function n() {
- if (n.enabled) {
- var e = n,
- r = +new Date,
- i = r - (a || r);
- e.diff = i, e.prev = a, e.curr = r, a = r;
- for (var o = new Array(arguments.length), s = 0; s < o.length; s++) o[s] = arguments[s];
- o[0] = t.coerce(o[0]), "string" != typeof o[0] && o.unshift("%O");
- var l = 0;
- o[0] = o[0].replace(/%([a-zA-Z%])/g, (function(n, a) {
- if ("%%" === n) return n;
- l++;
- var r = t.formatters[a];
- if ("function" == typeof r) {
- var i = o[l];
- n = r.call(e, i), o.splice(l, 1), l--
- }
- return n
- })), t.formatArgs.call(e, o);
- var c = n.log || t.log || console.log.bind(console);
- c.apply(e, o)
+ return null
}
- }
- return n.namespace = e, n.enabled = t.enabled(e), n.useColors = t.useColors(), n.color = function(e) {
- var n, a = 0;
- for (n in e) a = (a << 5) - a + e.charCodeAt(n), a |= 0;
- return t.colors[Math.abs(a) % t.colors.length]
- }(e), "function" == typeof t.init && t.init(n), n
- }(t = e.exports = r.debug = r.default = r).coerce = function(e) {
- return e instanceof Error ? e.stack || e.message : e
- }, t.disable = function() {
- t.enable("")
- }, t.enable = function(e) {
- t.save(e), t.names = [], t.skips = [];
- for (var n = ("string" == typeof e ? e : "").split(/[\s,]+/), a = n.length, r = 0; r < a; r++) n[r] && ("-" === (e = n[r].replace(/\*/g, ".*?"))[0] ? t.skips.push(new RegExp("^" + e.substr(1) + "$")) : t.names.push(new RegExp("^" + e + "$")))
- }, t.enabled = function(e) {
- var n, a;
- for (n = 0, a = t.skips.length; n < a; n++)
- if (t.skips[n].test(e)) return !1;
- for (n = 0, a = t.names.length; n < a; n++)
- if (t.names[n].test(e)) return !0;
- return !1
- }, t.humanize = n(2068), t.names = [], t.skips = [], t.formatters = {}
- }, 904: function(e, t, n) {
- ! function(e) {
- "use strict";
-
- function t(e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }
-
- function a(e, t) {
- for (var n = 0; t.length > n; n++) {
- var a = t[n];
- a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a)
+ return null
+ },
+ Q = function(e, t) {
+ try {
+ return V(J(e), v.encode(JSON.stringify(t)), $), !0
+ } catch (e) {
+ return !1
}
- }
-
- function r(e, t, n) {
- return t && a(e.prototype, t), n && a(e, n), e
- }
-
- function i(e) {
- return (i = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) {
- return e.__proto__ || Object.getPrototypeOf(e)
- })(e)
- }
-
- function o(e, t) {
- return (o = Object.setPrototypeOf || function(e, t) {
- return e.__proto__ = t, e
- })(e, t)
- }
-
- function s() {
- if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
- if (Reflect.construct.sham) return !1;
- if ("function" == typeof Proxy) return !0;
+ },
+ X = function(e) {
try {
- return Date.prototype.toString.call(Reflect.construct(Date, [], (function() {}))), !0
+ return V(J(e), null, $), !0
} catch (e) {
return !1
}
+ },
+ ee = {
+ reset: function() {
+ $ = {
+ expirationDays: void 0,
+ domain: void 0
+ }
+ },
+ options: function(e) {
+ if (0 === arguments.length) return $;
+ e = e || {}, $.expirationDays = e.expirationDays, $.secure = e.secure, $.sameSite = e.sameSite;
+ var t = O(e.domain) ? "." + K(q().href) : e.domain,
+ n = Math.random();
+ $.domain = t, Q("amplitude_test", n);
+ var a = Z("amplitude_test");
+ return a && a === n || (t = null), X("amplitude_test"), $.domain = t, $
+ },
+ get: Z,
+ set: Q,
+ remove: X,
+ setRaw: function(e, t) {
+ try {
+ return V(J(e), t, $), !0
+ } catch (e) {
+ return !1
+ }
+ },
+ getRaw: function(e) {
+ var t = J(e) + "=";
+ return W(t)
+ }
+ };
+ if (function() {
+ var e, t = new Date;
+ try {
+ return window.localStorage.setItem(t, t), e = window.localStorage.getItem(t) === String(t), window.localStorage.removeItem(t), e
+ } catch (e) {}
+ return !1
+ }()) w = window.localStorage;
+ else if (window.globalStorage) try {
+ w = window.globalStorage[window.location.hostname]
+ } catch (e) {} else if ("undefined" != typeof document) {
+ var te = document.createElement("div"),
+ ne = "localStorage";
+ te.style.display = "none", document.getElementsByTagName("head")[0].appendChild(te), te.addBehavior && (te.addBehavior("#default#userdata"), w = {
+ length: 0,
+ setItem: function(e, t) {
+ te.load(ne), te.getAttribute(e) || this.length++, te.setAttribute(e, t), te.save(ne)
+ },
+ getItem: function(e) {
+ return te.load(ne), te.getAttribute(e)
+ },
+ removeItem: function(e) {
+ te.load(ne), te.getAttribute(e) && this.length--, te.removeAttribute(e), te.save(ne)
+ },
+ clear: function() {
+ te.load(ne);
+ for (var e, t = 0; e = te.XMLDocument.documentElement.attributes[t++];) te.removeAttribute(e.name);
+ te.save(ne), this.length = 0
+ },
+ key: function(e) {
+ return te.load(ne), te.XMLDocument.documentElement.attributes[e]
+ }
+ }, te.load(ne), w.length = te.XMLDocument.documentElement.attributes.length)
+ } w || (w = {
+ length: 0,
+ setItem: function(e, t) {},
+ getItem: function(e) {},
+ removeItem: function(e) {},
+ clear: function() {},
+ key: function(e) {}
+ });
+ var ae, re = w,
+ ie = function() {
+ this.storage = null
+ };
+ ie.prototype.getStorage = function() {
+ if (null !== this.storage) return this.storage;
+ if (Y()) this.storage = ee;
+ else {
+ var e = "amp_cookiestore_";
+ this.storage = {
+ _options: {
+ expirationDays: void 0,
+ domain: void 0,
+ secure: !1
+ },
+ reset: function() {
+ this._options = {
+ expirationDays: void 0,
+ domain: void 0,
+ secure: !1
+ }
+ },
+ options: function(e) {
+ return 0 === arguments.length ? this._options : (e = e || {}, this._options.expirationDays = e.expirationDays || this._options.expirationDays, this._options.domain = e.domain || this._options.domain || window && window.location && window.location.hostname, this._options.secure = e.secure || !1)
+ },
+ get: function(t) {
+ try {
+ return JSON.parse(re.getItem(e + t))
+ } catch (e) {}
+ return null
+ },
+ set: function(t, n) {
+ try {
+ return re.setItem(e + t, JSON.stringify(n)), !0
+ } catch (e) {}
+ return !1
+ },
+ remove: function(t) {
+ try {
+ re.removeItem(e + t)
+ } catch (e) {
+ return !1
+ }
+ }
+ }
}
+ return this.storage
+ };
+ var oe = (r(ae = {}, g.STORAGE_COOKIES, !0), r(ae, g.STORAGE_NONE, !0), r(ae, g.STORAGE_LOCAL, !0), r(ae, g.STORAGE_SESSION, !0), ae),
+ se = function() {
+ function e(t) {
+ var n = t.storageKey,
+ a = t.disableCookies,
+ r = t.domain,
+ i = t.secure,
+ o = t.sameSite,
+ s = t.expirationDays,
+ l = t.storage;
+ (function(e, t) {
+ if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
+ })(this, e), this.storageKey = n, this.domain = r, this.secure = i, this.sameSite = o, this.expirationDays = s, this.cookieDomain = "";
+ var c = K(q().href);
+ if (this.cookieDomain = r || (c ? "." + c : null), oe[l]) this.storage = l;
+ else {
+ var u = a || !Y({
+ domain: this.cookieDomain,
+ secure: this.secure,
+ sameSite: this.sameSite,
+ expirationDays: this.expirationDays
+ });
+ this.storage = u ? g.STORAGE_LOCAL : g.STORAGE_COOKIES
+ }
+ }
+ return n = e, (a = [{
+ key: "getCookieStorageKey",
+ value: function() {
+ if (!this.domain) return this.storageKey;
+ var e = "." === this.domain.charAt(0) ? this.domain.substring(1) : this.domain;
+ return "".concat(this.storageKey).concat(e ? "_".concat(e) : "")
+ }
+ }, {
+ key: "save",
+ value: function(e) {
+ var t = e.deviceId,
+ n = e.userId,
+ a = e.optOut,
+ r = e.sessionId,
+ i = e.lastEventTime,
+ o = e.eventId,
+ s = e.identifyId,
+ l = e.sequenceNumber;
+ if (this.storage !== g.STORAGE_NONE) {
+ var c = [t, v.encode(n || ""), a ? "1" : "", r ? r.toString(32) : "0", i ? i.toString(32) : "0", o ? o.toString(32) : "0", s ? s.toString(32) : "0", l ? l.toString(32) : "0"].join(".");
+ switch (this.storage) {
+ case g.STORAGE_SESSION:
+ window.sessionStorage && window.sessionStorage.setItem(this.storageKey, c);
+ break;
+ case g.STORAGE_LOCAL:
+ re.setItem(this.storageKey, c);
+ break;
+ case g.STORAGE_COOKIES:
+ V(this.getCookieStorageKey(), c, {
+ domain: this.cookieDomain,
+ secure: this.secure,
+ sameSite: this.sameSite,
+ expirationDays: this.expirationDays
+ })
+ }
+ }
+ }
+ }, {
+ key: "load",
+ value: function() {
+ var e;
+ if (this.storage === g.STORAGE_COOKIES && (e = W(this.getCookieStorageKey() + "=")), e || (e = re.getItem(this.storageKey)), !e) try {
+ e = window.sessionStorage && window.sessionStorage.getItem(this.storageKey)
+ } catch (e) {
+ I.info('window.sessionStorage unavailable. Reason: "'.concat(e, '"'))
+ }
+ if (!e) return null;
+ var t = e.split("."),
+ n = null;
+ if (t[1]) try {
+ n = v.decode(t[1])
+ } catch (e) {
+ n = null
+ }
+ return {
+ deviceId: t[0],
+ userId: n,
+ optOut: "1" === t[2],
+ sessionId: parseInt(t[3], 32),
+ lastEventTime: parseInt(t[4], 32),
+ eventId: parseInt(t[5], 32),
+ identifyId: parseInt(t[6], 32),
+ sequenceNumber: parseInt(t[7], 32)
+ }
+ }
+ }]) && t(n.prototype, a), r && t(n, r), e;
+ var n, a, r
+ }(),
+ le = "$clearAll",
+ ce = function() {
+ this.userPropertiesOperations = {}, this.properties = []
+ };
+ ce.prototype.add = function(e, t) {
+ return "number" === _(t) || "string" === _(t) ? this._addOperation("$add", e, t) : I.error("Unsupported type for value: " + _(t) + ", expecting number or string"), this
+ }, ce.prototype.append = function(e, t) {
+ return this._addOperation("$append", e, t), this
+ }, ce.prototype.clearAll = function() {
+ return Object.keys(this.userPropertiesOperations).length > 0 ? (Object.prototype.hasOwnProperty.call(this.userPropertiesOperations, le) || I.error("Need to send $clearAll on its own Identify object without any other operations, skipping $clearAll"), this) : (this.userPropertiesOperations.$clearAll = "-", this)
+ }, ce.prototype.prepend = function(e, t) {
+ return this._addOperation("$prepend", e, t), this
+ }, ce.prototype.set = function(e, t) {
+ return this._addOperation("$set", e, t), this
+ }, ce.prototype.setOnce = function(e, t) {
+ return this._addOperation("$setOnce", e, t), this
+ }, ce.prototype.unset = function(e) {
+ return this._addOperation("$unset", e, "-"), this
+ }, ce.prototype.preInsert = function(e, t) {
+ return this._addOperation("$preInsert", e, t), this
+ }, ce.prototype.postInsert = function(e, t) {
+ return this._addOperation("$postInsert", e, t), this
+ }, ce.prototype.remove = function(e, t) {
+ return this._addOperation("$remove", e, t), this
+ }, ce.prototype._addOperation = function(e, t, n) {
+ Object.prototype.hasOwnProperty.call(this.userPropertiesOperations, le) ? I.error("This identify already contains a $clearAll operation, skipping operation " + e) : -1 === this.properties.indexOf(t) ? (Object.prototype.hasOwnProperty.call(this.userPropertiesOperations, e) || (this.userPropertiesOperations[e] = {}), this.userPropertiesOperations[e][t] = n, this.properties.push(t)) : I.error('User property "' + t + '" already used in this identify, skipping operation ' + e)
+ };
+ var ue = "undefined" != typeof window ? window : void 0 !== n.g ? n.g : "undefined" != typeof self ? self : {};
- function l(e, t, n) {
- return (l = s() ? Reflect.construct : function(e, t, n) {
- var a = [null];
- a.push.apply(a, t);
- var r = new(Function.bind.apply(e, a));
- return n && o(r, n.prototype), r
- }).apply(null, arguments)
- }
+ function de(e, t) {
+ return e(t = {
+ exports: {}
+ }, t.exports), t.exports
+ }
+ var pe = de((function(e) {
+ ! function(t) {
+ function n(e, t) {
+ var n = (65535 & e) + (65535 & t);
+ return (e >> 16) + (t >> 16) + (n >> 16) << 16 | 65535 & n
+ }
- function c(e) {
- var t = "function" == typeof Map ? new Map : void 0;
- return (c = function(e) {
- if (null === e || -1 === Function.toString.call(e).indexOf("[native code]")) return e;
- if ("function" != typeof e) throw new TypeError("Super expression must either be null or a function");
- if (void 0 !== t) {
- if (t.has(e)) return t.get(e);
- t.set(e, n)
+ function a(e, t, a, r, i, o) {
+ return n((s = n(n(t, e), n(r, o))) << (l = i) | s >>> 32 - l, a);
+ var s, l
}
- function n() {
- return l(e, arguments, i(this).constructor)
+ function r(e, t, n, r, i, o, s) {
+ return a(t & n | ~t & r, e, t, i, o, s)
}
- return n.prototype = Object.create(e.prototype, {
- constructor: {
- value: n,
- enumerable: !1,
- writable: !0,
- configurable: !0
- }
- }), o(n, e)
- })(e)
- }
- function u(e, t) {
- return !t || "object" != typeof t && "function" != typeof t ? function(e) {
- if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
- return e
- }(e) : t
- }
- var d = "app",
- p = "user",
- h = "team",
- m = "dropboxapi.com",
- f = "dropbox.com",
- g = {
- api: "api",
- notify: "bolt",
- content: "api-content"
- },
- b = {};
-
- function y(e) {
- var t = "000".concat(e.charCodeAt(0).toString(16)).slice(-4);
- return "\\u".concat(t)
- }
- b.accountSetProfilePhoto = function(e) {
- return this.request("account/set_profile_photo", e, "user", "api", "rpc")
- }, b.authTokenFromOauth1 = function(e) {
- return this.request("auth/token/from_oauth1", e, "app", "api", "rpc")
- }, b.authTokenRevoke = function() {
- return this.request("auth/token/revoke", null, "user", "api", "rpc")
- }, b.checkApp = function(e) {
- return this.request("check/app", e, "app", "api", "rpc")
- }, b.checkUser = function(e) {
- return this.request("check/user", e, "user", "api", "rpc")
- }, b.contactsDeleteManualContacts = function() {
- return this.request("contacts/delete_manual_contacts", null, "user", "api", "rpc")
- }, b.contactsDeleteManualContactsBatch = function(e) {
- return this.request("contacts/delete_manual_contacts_batch", e, "user", "api", "rpc")
- }, b.filePropertiesPropertiesAdd = function(e) {
- return this.request("file_properties/properties/add", e, "user", "api", "rpc")
- }, b.filePropertiesPropertiesOverwrite = function(e) {
- return this.request("file_properties/properties/overwrite", e, "user", "api", "rpc")
- }, b.filePropertiesPropertiesRemove = function(e) {
- return this.request("file_properties/properties/remove", e, "user", "api", "rpc")
- }, b.filePropertiesPropertiesSearch = function(e) {
- return this.request("file_properties/properties/search", e, "user", "api", "rpc")
- }, b.filePropertiesPropertiesSearchContinue = function(e) {
- return this.request("file_properties/properties/search/continue", e, "user", "api", "rpc")
- }, b.filePropertiesPropertiesUpdate = function(e) {
- return this.request("file_properties/properties/update", e, "user", "api", "rpc")
- }, b.filePropertiesTemplatesAddForTeam = function(e) {
- return this.request("file_properties/templates/add_for_team", e, "team", "api", "rpc")
- }, b.filePropertiesTemplatesAddForUser = function(e) {
- return this.request("file_properties/templates/add_for_user", e, "user", "api", "rpc")
- }, b.filePropertiesTemplatesGetForTeam = function(e) {
- return this.request("file_properties/templates/get_for_team", e, "team", "api", "rpc")
- }, b.filePropertiesTemplatesGetForUser = function(e) {
- return this.request("file_properties/templates/get_for_user", e, "user", "api", "rpc")
- }, b.filePropertiesTemplatesListForTeam = function() {
- return this.request("file_properties/templates/list_for_team", null, "team", "api", "rpc")
- }, b.filePropertiesTemplatesListForUser = function() {
- return this.request("file_properties/templates/list_for_user", null, "user", "api", "rpc")
- }, b.filePropertiesTemplatesRemoveForTeam = function(e) {
- return this.request("file_properties/templates/remove_for_team", e, "team", "api", "rpc")
- }, b.filePropertiesTemplatesRemoveForUser = function(e) {
- return this.request("file_properties/templates/remove_for_user", e, "user", "api", "rpc")
- }, b.filePropertiesTemplatesUpdateForTeam = function(e) {
- return this.request("file_properties/templates/update_for_team", e, "team", "api", "rpc")
- }, b.filePropertiesTemplatesUpdateForUser = function(e) {
- return this.request("file_properties/templates/update_for_user", e, "user", "api", "rpc")
- }, b.fileRequestsCount = function() {
- return this.request("file_requests/count", null, "user", "api", "rpc")
- }, b.fileRequestsCreate = function(e) {
- return this.request("file_requests/create", e, "user", "api", "rpc")
- }, b.fileRequestsDelete = function(e) {
- return this.request("file_requests/delete", e, "user", "api", "rpc")
- }, b.fileRequestsDeleteAllClosed = function() {
- return this.request("file_requests/delete_all_closed", null, "user", "api", "rpc")
- }, b.fileRequestsGet = function(e) {
- return this.request("file_requests/get", e, "user", "api", "rpc")
- }, b.fileRequestsListV2 = function(e) {
- return this.request("file_requests/list_v2", e, "user", "api", "rpc")
- }, b.fileRequestsList = function() {
- return this.request("file_requests/list", null, "user", "api", "rpc")
- }, b.fileRequestsListContinue = function(e) {
- return this.request("file_requests/list/continue", e, "user", "api", "rpc")
- }, b.fileRequestsUpdate = function(e) {
- return this.request("file_requests/update", e, "user", "api", "rpc")
- }, b.filesAlphaGetMetadata = function(e) {
- return this.request("files/alpha/get_metadata", e, "user", "api", "rpc")
- }, b.filesAlphaUpload = function(e) {
- return this.request("files/alpha/upload", e, "user", "content", "upload")
- }, b.filesCopyV2 = function(e) {
- return this.request("files/copy_v2", e, "user", "api", "rpc")
- }, b.filesCopy = function(e) {
- return this.request("files/copy", e, "user", "api", "rpc")
- }, b.filesCopyBatchV2 = function(e) {
- return this.request("files/copy_batch_v2", e, "user", "api", "rpc")
- }, b.filesCopyBatch = function(e) {
- return this.request("files/copy_batch", e, "user", "api", "rpc")
- }, b.filesCopyBatchCheckV2 = function(e) {
- return this.request("files/copy_batch/check_v2", e, "user", "api", "rpc")
- }, b.filesCopyBatchCheck = function(e) {
- return this.request("files/copy_batch/check", e, "user", "api", "rpc")
- }, b.filesCopyReferenceGet = function(e) {
- return this.request("files/copy_reference/get", e, "user", "api", "rpc")
- }, b.filesCopyReferenceSave = function(e) {
- return this.request("files/copy_reference/save", e, "user", "api", "rpc")
- }, b.filesCreateFolderV2 = function(e) {
- return this.request("files/create_folder_v2", e, "user", "api", "rpc")
- }, b.filesCreateFolder = function(e) {
- return this.request("files/create_folder", e, "user", "api", "rpc")
- }, b.filesCreateFolderBatch = function(e) {
- return this.request("files/create_folder_batch", e, "user", "api", "rpc")
- }, b.filesCreateFolderBatchCheck = function(e) {
- return this.request("files/create_folder_batch/check", e, "user", "api", "rpc")
- }, b.filesDeleteV2 = function(e) {
- return this.request("files/delete_v2", e, "user", "api", "rpc")
- }, b.filesDelete = function(e) {
- return this.request("files/delete", e, "user", "api", "rpc")
- }, b.filesDeleteBatch = function(e) {
- return this.request("files/delete_batch", e, "user", "api", "rpc")
- }, b.filesDeleteBatchCheck = function(e) {
- return this.request("files/delete_batch/check", e, "user", "api", "rpc")
- }, b.filesDownload = function(e) {
- return this.request("files/download", e, "user", "content", "download")
- }, b.filesDownloadZip = function(e) {
- return this.request("files/download_zip", e, "user", "content", "download")
- }, b.filesExport = function(e) {
- return this.request("files/export", e, "user", "content", "download")
- }, b.filesGetFileLockBatch = function(e) {
- return this.request("files/get_file_lock_batch", e, "user", "api", "rpc")
- }, b.filesGetMetadata = function(e) {
- return this.request("files/get_metadata", e, "user", "api", "rpc")
- }, b.filesGetPreview = function(e) {
- return this.request("files/get_preview", e, "user", "content", "download")
- }, b.filesGetTemporaryLink = function(e) {
- return this.request("files/get_temporary_link", e, "user", "api", "rpc")
- }, b.filesGetTemporaryUploadLink = function(e) {
- return this.request("files/get_temporary_upload_link", e, "user", "api", "rpc")
- }, b.filesGetThumbnail = function(e) {
- return this.request("files/get_thumbnail", e, "user", "content", "download")
- }, b.filesGetThumbnailV2 = function(e) {
- return this.request("files/get_thumbnail_v2", e, "app, user", "content", "download")
- }, b.filesGetThumbnailBatch = function(e) {
- return this.request("files/get_thumbnail_batch", e, "user", "content", "rpc")
- }, b.filesListFolder = function(e) {
- return this.request("files/list_folder", e, "user", "api", "rpc")
- }, b.filesListFolderContinue = function(e) {
- return this.request("files/list_folder/continue", e, "user", "api", "rpc")
- }, b.filesListFolderGetLatestCursor = function(e) {
- return this.request("files/list_folder/get_latest_cursor", e, "user", "api", "rpc")
- }, b.filesListFolderLongpoll = function(e) {
- return this.request("files/list_folder/longpoll", e, "noauth", "notify", "rpc")
- }, b.filesListRevisions = function(e) {
- return this.request("files/list_revisions", e, "user", "api", "rpc")
- }, b.filesLockFileBatch = function(e) {
- return this.request("files/lock_file_batch", e, "user", "api", "rpc")
- }, b.filesMoveV2 = function(e) {
- return this.request("files/move_v2", e, "user", "api", "rpc")
- }, b.filesMove = function(e) {
- return this.request("files/move", e, "user", "api", "rpc")
- }, b.filesMoveBatchV2 = function(e) {
- return this.request("files/move_batch_v2", e, "user", "api", "rpc")
- }, b.filesMoveBatch = function(e) {
- return this.request("files/move_batch", e, "user", "api", "rpc")
- }, b.filesMoveBatchCheckV2 = function(e) {
- return this.request("files/move_batch/check_v2", e, "user", "api", "rpc")
- }, b.filesMoveBatchCheck = function(e) {
- return this.request("files/move_batch/check", e, "user", "api", "rpc")
- }, b.filesPaperCreate = function(e) {
- return this.request("files/paper/create", e, "user", "api", "upload")
- }, b.filesPaperUpdate = function(e) {
- return this.request("files/paper/update", e, "user", "api", "upload")
- }, b.filesPermanentlyDelete = function(e) {
- return this.request("files/permanently_delete", e, "user", "api", "rpc")
- }, b.filesPropertiesAdd = function(e) {
- return this.request("files/properties/add", e, "user", "api", "rpc")
- }, b.filesPropertiesOverwrite = function(e) {
- return this.request("files/properties/overwrite", e, "user", "api", "rpc")
- }, b.filesPropertiesRemove = function(e) {
- return this.request("files/properties/remove", e, "user", "api", "rpc")
- }, b.filesPropertiesTemplateGet = function(e) {
- return this.request("files/properties/template/get", e, "user", "api", "rpc")
- }, b.filesPropertiesTemplateList = function() {
- return this.request("files/properties/template/list", null, "user", "api", "rpc")
- }, b.filesPropertiesUpdate = function(e) {
- return this.request("files/properties/update", e, "user", "api", "rpc")
- }, b.filesRestore = function(e) {
- return this.request("files/restore", e, "user", "api", "rpc")
- }, b.filesSaveUrl = function(e) {
- return this.request("files/save_url", e, "user", "api", "rpc")
- }, b.filesSaveUrlCheckJobStatus = function(e) {
- return this.request("files/save_url/check_job_status", e, "user", "api", "rpc")
- }, b.filesSearch = function(e) {
- return this.request("files/search", e, "user", "api", "rpc")
- }, b.filesSearchV2 = function(e) {
- return this.request("files/search_v2", e, "user", "api", "rpc")
- }, b.filesSearchContinueV2 = function(e) {
- return this.request("files/search/continue_v2", e, "user", "api", "rpc")
- }, b.filesUnlockFileBatch = function(e) {
- return this.request("files/unlock_file_batch", e, "user", "api", "rpc")
- }, b.filesUpload = function(e) {
- return this.request("files/upload", e, "user", "content", "upload")
- }, b.filesUploadSessionAppendV2 = function(e) {
- return this.request("files/upload_session/append_v2", e, "user", "content", "upload")
- }, b.filesUploadSessionAppend = function(e) {
- return this.request("files/upload_session/append", e, "user", "content", "upload")
- }, b.filesUploadSessionFinish = function(e) {
- return this.request("files/upload_session/finish", e, "user", "content", "upload")
- }, b.filesUploadSessionFinishBatch = function(e) {
- return this.request("files/upload_session/finish_batch", e, "user", "api", "rpc")
- }, b.filesUploadSessionFinishBatchCheck = function(e) {
- return this.request("files/upload_session/finish_batch/check", e, "user", "api", "rpc")
- }, b.filesUploadSessionStart = function(e) {
- return this.request("files/upload_session/start", e, "user", "content", "upload")
- }, b.paperDocsArchive = function(e) {
- return this.request("paper/docs/archive", e, "user", "api", "rpc")
- }, b.paperDocsCreate = function(e) {
- return this.request("paper/docs/create", e, "user", "api", "upload")
- }, b.paperDocsDownload = function(e) {
- return this.request("paper/docs/download", e, "user", "api", "download")
- }, b.paperDocsFolderUsersList = function(e) {
- return this.request("paper/docs/folder_users/list", e, "user", "api", "rpc")
- }, b.paperDocsFolderUsersListContinue = function(e) {
- return this.request("paper/docs/folder_users/list/continue", e, "user", "api", "rpc")
- }, b.paperDocsGetFolderInfo = function(e) {
- return this.request("paper/docs/get_folder_info", e, "user", "api", "rpc")
- }, b.paperDocsList = function(e) {
- return this.request("paper/docs/list", e, "user", "api", "rpc")
- }, b.paperDocsListContinue = function(e) {
- return this.request("paper/docs/list/continue", e, "user", "api", "rpc")
- }, b.paperDocsPermanentlyDelete = function(e) {
- return this.request("paper/docs/permanently_delete", e, "user", "api", "rpc")
- }, b.paperDocsSharingPolicyGet = function(e) {
- return this.request("paper/docs/sharing_policy/get", e, "user", "api", "rpc")
- }, b.paperDocsSharingPolicySet = function(e) {
- return this.request("paper/docs/sharing_policy/set", e, "user", "api", "rpc")
- }, b.paperDocsUpdate = function(e) {
- return this.request("paper/docs/update", e, "user", "api", "upload")
- }, b.paperDocsUsersAdd = function(e) {
- return this.request("paper/docs/users/add", e, "user", "api", "rpc")
- }, b.paperDocsUsersList = function(e) {
- return this.request("paper/docs/users/list", e, "user", "api", "rpc")
- }, b.paperDocsUsersListContinue = function(e) {
- return this.request("paper/docs/users/list/continue", e, "user", "api", "rpc")
- }, b.paperDocsUsersRemove = function(e) {
- return this.request("paper/docs/users/remove", e, "user", "api", "rpc")
- }, b.paperFoldersCreate = function(e) {
- return this.request("paper/folders/create", e, "user", "api", "rpc")
- }, b.sharingAddFileMember = function(e) {
- return this.request("sharing/add_file_member", e, "user", "api", "rpc")
- }, b.sharingAddFolderMember = function(e) {
- return this.request("sharing/add_folder_member", e, "user", "api", "rpc")
- }, b.sharingCheckJobStatus = function(e) {
- return this.request("sharing/check_job_status", e, "user", "api", "rpc")
- }, b.sharingCheckRemoveMemberJobStatus = function(e) {
- return this.request("sharing/check_remove_member_job_status", e, "user", "api", "rpc")
- }, b.sharingCheckShareJobStatus = function(e) {
- return this.request("sharing/check_share_job_status", e, "user", "api", "rpc")
- }, b.sharingCreateSharedLink = function(e) {
- return this.request("sharing/create_shared_link", e, "user", "api", "rpc")
- }, b.sharingCreateSharedLinkWithSettings = function(e) {
- return this.request("sharing/create_shared_link_with_settings", e, "user", "api", "rpc")
- }, b.sharingGetFileMetadata = function(e) {
- return this.request("sharing/get_file_metadata", e, "user", "api", "rpc")
- }, b.sharingGetFileMetadataBatch = function(e) {
- return this.request("sharing/get_file_metadata/batch", e, "user", "api", "rpc")
- }, b.sharingGetFolderMetadata = function(e) {
- return this.request("sharing/get_folder_metadata", e, "user", "api", "rpc")
- }, b.sharingGetSharedLinkFile = function(e) {
- return this.request("sharing/get_shared_link_file", e, "user", "content", "download")
- }, b.sharingGetSharedLinkMetadata = function(e) {
- return this.request("sharing/get_shared_link_metadata", e, "user", "api", "rpc")
- }, b.sharingGetSharedLinks = function(e) {
- return this.request("sharing/get_shared_links", e, "user", "api", "rpc")
- }, b.sharingListFileMembers = function(e) {
- return this.request("sharing/list_file_members", e, "user", "api", "rpc")
- }, b.sharingListFileMembersBatch = function(e) {
- return this.request("sharing/list_file_members/batch", e, "user", "api", "rpc")
- }, b.sharingListFileMembersContinue = function(e) {
- return this.request("sharing/list_file_members/continue", e, "user", "api", "rpc")
- }, b.sharingListFolderMembers = function(e) {
- return this.request("sharing/list_folder_members", e, "user", "api", "rpc")
- }, b.sharingListFolderMembersContinue = function(e) {
- return this.request("sharing/list_folder_members/continue", e, "user", "api", "rpc")
- }, b.sharingListFolders = function(e) {
- return this.request("sharing/list_folders", e, "user", "api", "rpc")
- }, b.sharingListFoldersContinue = function(e) {
- return this.request("sharing/list_folders/continue", e, "user", "api", "rpc")
- }, b.sharingListMountableFolders = function(e) {
- return this.request("sharing/list_mountable_folders", e, "user", "api", "rpc")
- }, b.sharingListMountableFoldersContinue = function(e) {
- return this.request("sharing/list_mountable_folders/continue", e, "user", "api", "rpc")
- }, b.sharingListReceivedFiles = function(e) {
- return this.request("sharing/list_received_files", e, "user", "api", "rpc")
- }, b.sharingListReceivedFilesContinue = function(e) {
- return this.request("sharing/list_received_files/continue", e, "user", "api", "rpc")
- }, b.sharingListSharedLinks = function(e) {
- return this.request("sharing/list_shared_links", e, "user", "api", "rpc")
- }, b.sharingModifySharedLinkSettings = function(e) {
- return this.request("sharing/modify_shared_link_settings", e, "user", "api", "rpc")
- }, b.sharingMountFolder = function(e) {
- return this.request("sharing/mount_folder", e, "user", "api", "rpc")
- }, b.sharingRelinquishFileMembership = function(e) {
- return this.request("sharing/relinquish_file_membership", e, "user", "api", "rpc")
- }, b.sharingRelinquishFolderMembership = function(e) {
- return this.request("sharing/relinquish_folder_membership", e, "user", "api", "rpc")
- }, b.sharingRemoveFileMember = function(e) {
- return this.request("sharing/remove_file_member", e, "user", "api", "rpc")
- }, b.sharingRemoveFileMember2 = function(e) {
- return this.request("sharing/remove_file_member_2", e, "user", "api", "rpc")
- }, b.sharingRemoveFolderMember = function(e) {
- return this.request("sharing/remove_folder_member", e, "user", "api", "rpc")
- }, b.sharingRevokeSharedLink = function(e) {
- return this.request("sharing/revoke_shared_link", e, "user", "api", "rpc")
- }, b.sharingSetAccessInheritance = function(e) {
- return this.request("sharing/set_access_inheritance", e, "user", "api", "rpc")
- }, b.sharingShareFolder = function(e) {
- return this.request("sharing/share_folder", e, "user", "api", "rpc")
- }, b.sharingTransferFolder = function(e) {
- return this.request("sharing/transfer_folder", e, "user", "api", "rpc")
- }, b.sharingUnmountFolder = function(e) {
- return this.request("sharing/unmount_folder", e, "user", "api", "rpc")
- }, b.sharingUnshareFile = function(e) {
- return this.request("sharing/unshare_file", e, "user", "api", "rpc")
- }, b.sharingUnshareFolder = function(e) {
- return this.request("sharing/unshare_folder", e, "user", "api", "rpc")
- }, b.sharingUpdateFileMember = function(e) {
- return this.request("sharing/update_file_member", e, "user", "api", "rpc")
- }, b.sharingUpdateFolderMember = function(e) {
- return this.request("sharing/update_folder_member", e, "user", "api", "rpc")
- }, b.sharingUpdateFolderPolicy = function(e) {
- return this.request("sharing/update_folder_policy", e, "user", "api", "rpc")
- }, b.teamDevicesListMemberDevices = function(e) {
- return this.request("team/devices/list_member_devices", e, "team", "api", "rpc")
- }, b.teamDevicesListMembersDevices = function(e) {
- return this.request("team/devices/list_members_devices", e, "team", "api", "rpc")
- }, b.teamDevicesListTeamDevices = function(e) {
- return this.request("team/devices/list_team_devices", e, "team", "api", "rpc")
- }, b.teamDevicesRevokeDeviceSession = function(e) {
- return this.request("team/devices/revoke_device_session", e, "team", "api", "rpc")
- }, b.teamDevicesRevokeDeviceSessionBatch = function(e) {
- return this.request("team/devices/revoke_device_session_batch", e, "team", "api", "rpc")
- }, b.teamFeaturesGetValues = function(e) {
- return this.request("team/features/get_values", e, "team", "api", "rpc")
- }, b.teamGetInfo = function() {
- return this.request("team/get_info", null, "team", "api", "rpc")
- }, b.teamGroupsCreate = function(e) {
- return this.request("team/groups/create", e, "team", "api", "rpc")
- }, b.teamGroupsDelete = function(e) {
- return this.request("team/groups/delete", e, "team", "api", "rpc")
- }, b.teamGroupsGetInfo = function(e) {
- return this.request("team/groups/get_info", e, "team", "api", "rpc")
- }, b.teamGroupsJobStatusGet = function(e) {
- return this.request("team/groups/job_status/get", e, "team", "api", "rpc")
- }, b.teamGroupsList = function(e) {
- return this.request("team/groups/list", e, "team", "api", "rpc")
- }, b.teamGroupsListContinue = function(e) {
- return this.request("team/groups/list/continue", e, "team", "api", "rpc")
- }, b.teamGroupsMembersAdd = function(e) {
- return this.request("team/groups/members/add", e, "team", "api", "rpc")
- }, b.teamGroupsMembersList = function(e) {
- return this.request("team/groups/members/list", e, "team", "api", "rpc")
- }, b.teamGroupsMembersListContinue = function(e) {
- return this.request("team/groups/members/list/continue", e, "team", "api", "rpc")
- }, b.teamGroupsMembersRemove = function(e) {
- return this.request("team/groups/members/remove", e, "team", "api", "rpc")
- }, b.teamGroupsMembersSetAccessType = function(e) {
- return this.request("team/groups/members/set_access_type", e, "team", "api", "rpc")
- }, b.teamGroupsUpdate = function(e) {
- return this.request("team/groups/update", e, "team", "api", "rpc")
- }, b.teamLegalHoldsCreatePolicy = function(e) {
- return this.request("team/legal_holds/create_policy", e, "team", "api", "rpc")
- }, b.teamLegalHoldsGetPolicy = function(e) {
- return this.request("team/legal_holds/get_policy", e, "team", "api", "rpc")
- }, b.teamLegalHoldsListHeldRevisions = function(e) {
- return this.request("team/legal_holds/list_held_revisions", e, "team", "api", "rpc")
- }, b.teamLegalHoldsListHeldRevisionsContinue = function(e) {
- return this.request("team/legal_holds/list_held_revisions_continue", e, "team", "api", "rpc")
- }, b.teamLegalHoldsListPolicies = function(e) {
- return this.request("team/legal_holds/list_policies", e, "team", "api", "rpc")
- }, b.teamLegalHoldsReleasePolicy = function(e) {
- return this.request("team/legal_holds/release_policy", e, "team", "api", "rpc")
- }, b.teamLegalHoldsUpdatePolicy = function(e) {
- return this.request("team/legal_holds/update_policy", e, "team", "api", "rpc")
- }, b.teamLinkedAppsListMemberLinkedApps = function(e) {
- return this.request("team/linked_apps/list_member_linked_apps", e, "team", "api", "rpc")
- }, b.teamLinkedAppsListMembersLinkedApps = function(e) {
- return this.request("team/linked_apps/list_members_linked_apps", e, "team", "api", "rpc")
- }, b.teamLinkedAppsListTeamLinkedApps = function(e) {
- return this.request("team/linked_apps/list_team_linked_apps", e, "team", "api", "rpc")
- }, b.teamLinkedAppsRevokeLinkedApp = function(e) {
- return this.request("team/linked_apps/revoke_linked_app", e, "team", "api", "rpc")
- }, b.teamLinkedAppsRevokeLinkedAppBatch = function(e) {
- return this.request("team/linked_apps/revoke_linked_app_batch", e, "team", "api", "rpc")
- }, b.teamMemberSpaceLimitsExcludedUsersAdd = function(e) {
- return this.request("team/member_space_limits/excluded_users/add", e, "team", "api", "rpc")
- }, b.teamMemberSpaceLimitsExcludedUsersList = function(e) {
- return this.request("team/member_space_limits/excluded_users/list", e, "team", "api", "rpc")
- }, b.teamMemberSpaceLimitsExcludedUsersListContinue = function(e) {
- return this.request("team/member_space_limits/excluded_users/list/continue", e, "team", "api", "rpc")
- }, b.teamMemberSpaceLimitsExcludedUsersRemove = function(e) {
- return this.request("team/member_space_limits/excluded_users/remove", e, "team", "api", "rpc")
- }, b.teamMemberSpaceLimitsGetCustomQuota = function(e) {
- return this.request("team/member_space_limits/get_custom_quota", e, "team", "api", "rpc")
- }, b.teamMemberSpaceLimitsRemoveCustomQuota = function(e) {
- return this.request("team/member_space_limits/remove_custom_quota", e, "team", "api", "rpc")
- }, b.teamMemberSpaceLimitsSetCustomQuota = function(e) {
- return this.request("team/member_space_limits/set_custom_quota", e, "team", "api", "rpc")
- }, b.teamMembersAddV2 = function(e) {
- return this.request("team/members/add_v2", e, "team", "api", "rpc")
- }, b.teamMembersAdd = function(e) {
- return this.request("team/members/add", e, "team", "api", "rpc")
- }, b.teamMembersAddJobStatusGetV2 = function(e) {
- return this.request("team/members/add/job_status/get_v2", e, "team", "api", "rpc")
- }, b.teamMembersAddJobStatusGet = function(e) {
- return this.request("team/members/add/job_status/get", e, "team", "api", "rpc")
- }, b.teamMembersDeleteProfilePhotoV2 = function(e) {
- return this.request("team/members/delete_profile_photo_v2", e, "team", "api", "rpc")
- }, b.teamMembersDeleteProfilePhoto = function(e) {
- return this.request("team/members/delete_profile_photo", e, "team", "api", "rpc")
- }, b.teamMembersGetAvailableTeamMemberRoles = function() {
- return this.request("team/members/get_available_team_member_roles", null, "team", "api", "rpc")
- }, b.teamMembersGetInfoV2 = function(e) {
- return this.request("team/members/get_info_v2", e, "team", "api", "rpc")
- }, b.teamMembersGetInfo = function(e) {
- return this.request("team/members/get_info", e, "team", "api", "rpc")
- }, b.teamMembersListV2 = function(e) {
- return this.request("team/members/list_v2", e, "team", "api", "rpc")
- }, b.teamMembersList = function(e) {
- return this.request("team/members/list", e, "team", "api", "rpc")
- }, b.teamMembersListContinueV2 = function(e) {
- return this.request("team/members/list/continue_v2", e, "team", "api", "rpc")
- }, b.teamMembersListContinue = function(e) {
- return this.request("team/members/list/continue", e, "team", "api", "rpc")
- }, b.teamMembersMoveFormerMemberFiles = function(e) {
- return this.request("team/members/move_former_member_files", e, "team", "api", "rpc")
- }, b.teamMembersMoveFormerMemberFilesJobStatusCheck = function(e) {
- return this.request("team/members/move_former_member_files/job_status/check", e, "team", "api", "rpc")
- }, b.teamMembersRecover = function(e) {
- return this.request("team/members/recover", e, "team", "api", "rpc")
- }, b.teamMembersRemove = function(e) {
- return this.request("team/members/remove", e, "team", "api", "rpc")
- }, b.teamMembersRemoveJobStatusGet = function(e) {
- return this.request("team/members/remove/job_status/get", e, "team", "api", "rpc")
- }, b.teamMembersSecondaryEmailsAdd = function(e) {
- return this.request("team/members/secondary_emails/add", e, "team", "api", "rpc")
- }, b.teamMembersSecondaryEmailsDelete = function(e) {
- return this.request("team/members/secondary_emails/delete", e, "team", "api", "rpc")
- }, b.teamMembersSecondaryEmailsResendVerificationEmails = function(e) {
- return this.request("team/members/secondary_emails/resend_verification_emails", e, "team", "api", "rpc")
- }, b.teamMembersSendWelcomeEmail = function(e) {
- return this.request("team/members/send_welcome_email", e, "team", "api", "rpc")
- }, b.teamMembersSetAdminPermissionsV2 = function(e) {
- return this.request("team/members/set_admin_permissions_v2", e, "team", "api", "rpc")
- }, b.teamMembersSetAdminPermissions = function(e) {
- return this.request("team/members/set_admin_permissions", e, "team", "api", "rpc")
- }, b.teamMembersSetProfileV2 = function(e) {
- return this.request("team/members/set_profile_v2", e, "team", "api", "rpc")
- }, b.teamMembersSetProfile = function(e) {
- return this.request("team/members/set_profile", e, "team", "api", "rpc")
- }, b.teamMembersSetProfilePhotoV2 = function(e) {
- return this.request("team/members/set_profile_photo_v2", e, "team", "api", "rpc")
- }, b.teamMembersSetProfilePhoto = function(e) {
- return this.request("team/members/set_profile_photo", e, "team", "api", "rpc")
- }, b.teamMembersSuspend = function(e) {
- return this.request("team/members/suspend", e, "team", "api", "rpc")
- }, b.teamMembersUnsuspend = function(e) {
- return this.request("team/members/unsuspend", e, "team", "api", "rpc")
- }, b.teamNamespacesList = function(e) {
- return this.request("team/namespaces/list", e, "team", "api", "rpc")
- }, b.teamNamespacesListContinue = function(e) {
- return this.request("team/namespaces/list/continue", e, "team", "api", "rpc")
- }, b.teamPropertiesTemplateAdd = function(e) {
- return this.request("team/properties/template/add", e, "team", "api", "rpc")
- }, b.teamPropertiesTemplateGet = function(e) {
- return this.request("team/properties/template/get", e, "team", "api", "rpc")
- }, b.teamPropertiesTemplateList = function() {
- return this.request("team/properties/template/list", null, "team", "api", "rpc")
- }, b.teamPropertiesTemplateUpdate = function(e) {
- return this.request("team/properties/template/update", e, "team", "api", "rpc")
- }, b.teamReportsGetActivity = function(e) {
- return this.request("team/reports/get_activity", e, "team", "api", "rpc")
- }, b.teamReportsGetDevices = function(e) {
- return this.request("team/reports/get_devices", e, "team", "api", "rpc")
- }, b.teamReportsGetMembership = function(e) {
- return this.request("team/reports/get_membership", e, "team", "api", "rpc")
- }, b.teamReportsGetStorage = function(e) {
- return this.request("team/reports/get_storage", e, "team", "api", "rpc")
- }, b.teamTeamFolderActivate = function(e) {
- return this.request("team/team_folder/activate", e, "team", "api", "rpc")
- }, b.teamTeamFolderArchive = function(e) {
- return this.request("team/team_folder/archive", e, "team", "api", "rpc")
- }, b.teamTeamFolderArchiveCheck = function(e) {
- return this.request("team/team_folder/archive/check", e, "team", "api", "rpc")
- }, b.teamTeamFolderCreate = function(e) {
- return this.request("team/team_folder/create", e, "team", "api", "rpc")
- }, b.teamTeamFolderGetInfo = function(e) {
- return this.request("team/team_folder/get_info", e, "team", "api", "rpc")
- }, b.teamTeamFolderList = function(e) {
- return this.request("team/team_folder/list", e, "team", "api", "rpc")
- }, b.teamTeamFolderListContinue = function(e) {
- return this.request("team/team_folder/list/continue", e, "team", "api", "rpc")
- }, b.teamTeamFolderPermanentlyDelete = function(e) {
- return this.request("team/team_folder/permanently_delete", e, "team", "api", "rpc")
- }, b.teamTeamFolderRename = function(e) {
- return this.request("team/team_folder/rename", e, "team", "api", "rpc")
- }, b.teamTeamFolderUpdateSyncSettings = function(e) {
- return this.request("team/team_folder/update_sync_settings", e, "team", "api", "rpc")
- }, b.teamTokenGetAuthenticatedAdmin = function() {
- return this.request("team/token/get_authenticated_admin", null, "team", "api", "rpc")
- }, b.teamLogGetEvents = function(e) {
- return this.request("team_log/get_events", e, "team", "api", "rpc")
- }, b.teamLogGetEventsContinue = function(e) {
- return this.request("team_log/get_events/continue", e, "team", "api", "rpc")
- }, b.usersFeaturesGetValues = function(e) {
- return this.request("users/features/get_values", e, "user", "api", "rpc")
- }, b.usersGetAccount = function(e) {
- return this.request("users/get_account", e, "user", "api", "rpc")
- }, b.usersGetAccountBatch = function(e) {
- return this.request("users/get_account_batch", e, "user", "api", "rpc")
- }, b.usersGetCurrentAccount = function() {
- return this.request("users/get_current_account", null, "user", "api", "rpc")
- }, b.usersGetSpaceUsage = function() {
- return this.request("users/get_space_usage", null, "user", "api", "rpc")
- };
- var v = function(e) {
- var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : m,
- n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : ".";
- return t !== m && void 0 !== g[e] && (e = g[e], n = "-"), "https://".concat(e).concat(n).concat(t, "/2/")
- },
- k = function() {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : f;
- return e !== f && (e = "meta-".concat(e)), "https://".concat(e, "/oauth2/authorize")
- },
- _ = function() {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : m,
- t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : ".",
- n = "api";
- return e !== m && (n = g[n], t = "-"), "https://".concat(n).concat(t).concat(e, "/oauth2/token")
- };
+ function i(e, t, n, r, i, o, s) {
+ return a(t & r | n & ~r, e, t, i, o, s)
+ }
- function w(e) {
- return JSON.stringify(e).replace(/[\u007f-\uffff]/g, y)
- }
+ function o(e, t, n, r, i, o, s) {
+ return a(t ^ n ^ r, e, t, i, o, s)
+ }
- function S(e) {
- return new Date(Date.now() + 1e3 * e)
- }
+ function s(e, t, n, r, i, o, s) {
+ return a(n ^ (t | ~r), e, t, i, o, s)
+ }
- function E() {
- return "undefined" != typeof WorkerGlobalScope && self instanceof WorkerGlobalScope || "undefined" != typeof window
- }
+ function l(e, t) {
+ var a, l, c, u, d;
+ e[t >> 5] |= 128 << t % 32, e[14 + (t + 64 >>> 9 << 4)] = t;
+ var p = 1732584193,
+ h = -271733879,
+ m = -1732584194,
+ f = 271733878;
+ for (a = 0; a < e.length; a += 16) l = p, c = h, u = m, d = f, p = r(p, h, m, f, e[a], 7, -680876936), f = r(f, p, h, m, e[a + 1], 12, -389564586), m = r(m, f, p, h, e[a + 2], 17, 606105819), h = r(h, m, f, p, e[a + 3], 22, -1044525330), p = r(p, h, m, f, e[a + 4], 7, -176418897), f = r(f, p, h, m, e[a + 5], 12, 1200080426), m = r(m, f, p, h, e[a + 6], 17, -1473231341), h = r(h, m, f, p, e[a + 7], 22, -45705983), p = r(p, h, m, f, e[a + 8], 7, 1770035416), f = r(f, p, h, m, e[a + 9], 12, -1958414417), m = r(m, f, p, h, e[a + 10], 17, -42063), h = r(h, m, f, p, e[a + 11], 22, -1990404162), p = r(p, h, m, f, e[a + 12], 7, 1804603682), f = r(f, p, h, m, e[a + 13], 12, -40341101), m = r(m, f, p, h, e[a + 14], 17, -1502002290), p = i(p, h = r(h, m, f, p, e[a + 15], 22, 1236535329), m, f, e[a + 1], 5, -165796510), f = i(f, p, h, m, e[a + 6], 9, -1069501632), m = i(m, f, p, h, e[a + 11], 14, 643717713), h = i(h, m, f, p, e[a], 20, -373897302), p = i(p, h, m, f, e[a + 5], 5, -701558691), f = i(f, p, h, m, e[a + 10], 9, 38016083), m = i(m, f, p, h, e[a + 15], 14, -660478335), h = i(h, m, f, p, e[a + 4], 20, -405537848), p = i(p, h, m, f, e[a + 9], 5, 568446438), f = i(f, p, h, m, e[a + 14], 9, -1019803690), m = i(m, f, p, h, e[a + 3], 14, -187363961), h = i(h, m, f, p, e[a + 8], 20, 1163531501), p = i(p, h, m, f, e[a + 13], 5, -1444681467), f = i(f, p, h, m, e[a + 2], 9, -51403784), m = i(m, f, p, h, e[a + 7], 14, 1735328473), p = o(p, h = i(h, m, f, p, e[a + 12], 20, -1926607734), m, f, e[a + 5], 4, -378558), f = o(f, p, h, m, e[a + 8], 11, -2022574463), m = o(m, f, p, h, e[a + 11], 16, 1839030562), h = o(h, m, f, p, e[a + 14], 23, -35309556), p = o(p, h, m, f, e[a + 1], 4, -1530992060), f = o(f, p, h, m, e[a + 4], 11, 1272893353), m = o(m, f, p, h, e[a + 7], 16, -155497632), h = o(h, m, f, p, e[a + 10], 23, -1094730640), p = o(p, h, m, f, e[a + 13], 4, 681279174), f = o(f, p, h, m, e[a], 11, -358537222), m = o(m, f, p, h, e[a + 3], 16, -722521979), h = o(h, m, f, p, e[a + 6], 23, 76029189), p = o(p, h, m, f, e[a + 9], 4, -640364487), f = o(f, p, h, m, e[a + 12], 11, -421815835), m = o(m, f, p, h, e[a + 15], 16, 530742520), p = s(p, h = o(h, m, f, p, e[a + 2], 23, -995338651), m, f, e[a], 6, -198630844), f = s(f, p, h, m, e[a + 7], 10, 1126891415), m = s(m, f, p, h, e[a + 14], 15, -1416354905), h = s(h, m, f, p, e[a + 5], 21, -57434055), p = s(p, h, m, f, e[a + 12], 6, 1700485571), f = s(f, p, h, m, e[a + 3], 10, -1894986606), m = s(m, f, p, h, e[a + 10], 15, -1051523), h = s(h, m, f, p, e[a + 1], 21, -2054922799), p = s(p, h, m, f, e[a + 8], 6, 1873313359), f = s(f, p, h, m, e[a + 15], 10, -30611744), m = s(m, f, p, h, e[a + 6], 15, -1560198380), h = s(h, m, f, p, e[a + 13], 21, 1309151649), p = s(p, h, m, f, e[a + 4], 6, -145523070), f = s(f, p, h, m, e[a + 11], 10, -1120210379), m = s(m, f, p, h, e[a + 2], 15, 718787259), h = s(h, m, f, p, e[a + 9], 21, -343485551), p = n(p, l), h = n(h, c), m = n(m, u), f = n(f, d);
+ return [p, h, m, f]
+ }
- function x() {
- return "undefined" != typeof window
- }
+ function c(e) {
+ var t, n = "",
+ a = 32 * e.length;
+ for (t = 0; t < a; t += 8) n += String.fromCharCode(e[t >> 5] >>> t % 32 & 255);
+ return n
+ }
- function C(e) {
- return e.toString("base64").replace(/\+/g, "-").replace(/\//g, "_").replace(/=/g, "")
- }
- var A, j, P, D = function(e) {
- ! function(e, t) {
- if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function");
- e.prototype = Object.create(t && t.prototype, {
- constructor: {
- value: e,
- writable: !0,
- configurable: !0
- }
- }), t && o(e, t)
- }(l, e);
- var n, a, r = (n = l, a = s(), function() {
- var e, t = i(n);
- if (a) {
- var r = i(this).constructor;
- e = Reflect.construct(t, arguments, r)
- } else e = t.apply(this, arguments);
- return u(this, e)
- });
+ function u(e) {
+ var t, n = [];
+ for (n[(e.length >> 2) - 1] = void 0, t = 0; t < n.length; t += 1) n[t] = 0;
+ var a = 8 * e.length;
+ for (t = 0; t < a; t += 8) n[t >> 5] |= (255 & e.charCodeAt(t / 8)) << t % 32;
+ return n
+ }
- function l(e, n, a) {
- var i;
- return t(this, l), (i = r.call(this, "Response failed with a ".concat(e, " code"))).name = "DropboxResponseError", i.status = e, i.headers = n, i.error = a, i
+ function d(e) {
+ var t, n, a = "0123456789abcdef",
+ r = "";
+ for (n = 0; n < e.length; n += 1) t = e.charCodeAt(n), r += a.charAt(t >>> 4 & 15) + a.charAt(15 & t);
+ return r
}
- return l
- }(c(Error)),
- T = function e(n, a, r) {
- t(this, e), this.status = n, this.headers = a, this.result = r
- };
- function O(e) {
- return e.text().then((function(t) {
- var n;
- try {
- n = JSON.parse(t)
- } catch (e) {
- n = t
+ function p(e) {
+ return unescape(encodeURIComponent(e))
}
- throw new D(e.status, e.headers, n)
- }))
- }
- function M(e) {
- return e.ok ? e.text().then((function(t) {
- var n;
- try {
- n = JSON.parse(t)
- } catch (e) {
- n = t
+ function h(e) {
+ return function(e) {
+ return c(l(u(e), 8 * e.length))
+ }(p(e))
}
- return new T(e.status, e.headers, n)
- })) : O(e)
- }
- A = x() ? window.fetch.bind(window) : n(3155), j = x() ? window.crypto || window.msCrypto : n(8090), P = "undefined" == typeof TextEncoder ? n(8751).TextEncoder : TextEncoder;
- var I, N = ["legacy", "offline", "online"],
- z = ["code", "token"],
- R = ["none", "user", "team"],
- L = function() {
- function e(n) {
- t(this, e), this.fetch = (n = n || {}).fetch || A, this.accessToken = n.accessToken, this.accessTokenExpiresAt = n.accessTokenExpiresAt, this.refreshToken = n.refreshToken, this.clientId = n.clientId, this.clientSecret = n.clientSecret, this.domain = n.domain, this.domainDelimiter = n.domainDelimiter
+
+ function m(e, t) {
+ return function(e, t) {
+ var n, a, r = u(e),
+ i = [],
+ o = [];
+ for (i[15] = o[15] = void 0, r.length > 16 && (r = l(r, 8 * e.length)), n = 0; n < 16; n += 1) i[n] = 909522486 ^ r[n], o[n] = 1549556828 ^ r[n];
+ return a = l(i.concat(u(t)), 512 + 8 * t.length), c(l(o.concat(a), 640))
+ }(p(e), p(t))
}
- return r(e, [{
- key: "setAccessToken",
- value: function(e) {
- this.accessToken = e
- }
- }, {
- key: "getAccessToken",
- value: function() {
- return this.accessToken
- }
- }, {
- key: "setClientId",
- value: function(e) {
- this.clientId = e
- }
- }, {
- key: "getClientId",
- value: function() {
- return this.clientId
- }
- }, {
- key: "setClientSecret",
- value: function(e) {
- this.clientSecret = e
- }
- }, {
- key: "getClientSecret",
- value: function() {
- return this.clientSecret
- }
- }, {
- key: "getRefreshToken",
- value: function() {
- return this.refreshToken
- }
- }, {
- key: "setRefreshToken",
- value: function(e) {
- this.refreshToken = e
- }
- }, {
- key: "getAccessTokenExpiresAt",
- value: function() {
- return this.accessTokenExpiresAt
- }
- }, {
- key: "setAccessTokenExpiresAt",
- value: function(e) {
- this.accessTokenExpiresAt = e
- }
- }, {
- key: "setCodeVerifier",
- value: function(e) {
- this.codeVerifier = e
- }
- }, {
- key: "getCodeVerifier",
- value: function() {
- return this.codeVerifier
- }
- }, {
- key: "generateCodeChallenge",
- value: function() {
- var e, t = this,
- n = (new P).encode(this.codeVerifier);
- if (x()) return j.subtle.digest("SHA-256", n).then((function(n) {
- var a = btoa(String.fromCharCode.apply(null, new Uint8Array(n)));
- e = C(a).substr(0, 128), t.codeChallenge = e
- }));
- var a = j.createHash("sha256").update(n).digest();
- return e = C(a), this.codeChallenge = e, Promise.resolve()
- }
- }, {
- key: "generatePKCECodes",
- value: function() {
- var e;
- if (x()) {
- var t = new Uint8Array(128),
- n = j.getRandomValues(t);
- e = C(btoa(n)).substr(0, 128)
- } else e = C(j.randomBytes(128)).substr(0, 128);
- return this.codeVerifier = e, this.generateCodeChallenge()
- }
- }, {
- key: "getAuthenticationUrl",
- value: function(e, t) {
- var n, a = this,
- r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "token",
- i = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : null,
- o = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null,
- s = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : "none",
- l = arguments.length > 6 && void 0 !== arguments[6] && arguments[6],
- c = this.getClientId(),
- u = k(this.domain);
- if (!c) throw Error("A client id is required. You can set the client id using .setClientId().");
- if ("code" !== r && !e) throw Error("A redirect uri is required.");
- if (!z.includes(r)) throw Error("Authorization type must be code or token");
- if (i && !N.includes(i)) throw Error("Token Access Type must be legacy, offline, or online");
- if (o && !(o instanceof Array)) throw Error("Scope must be an array of strings");
- if (!R.includes(s)) throw Error("includeGrantedScopes must be none, user, or team");
- return n = "code" === r ? "".concat(u, "?response_type=code&client_id=").concat(c) : "".concat(u, "?response_type=token&client_id=").concat(c), e && (n += "&redirect_uri=".concat(e)), t && (n += "&state=".concat(t)), i && (n += "&token_access_type=".concat(i)), o && (n += "&scope=".concat(o.join(" "))), "none" !== s && (n += "&include_granted_scopes=".concat(s)), l ? this.generatePKCECodes().then((function() {
- return n += "&code_challenge_method=S256", n += "&code_challenge=".concat(a.codeChallenge)
- })) : Promise.resolve(n)
- }
- }, {
- key: "getAccessTokenFromCode",
- value: function(e, t) {
- var n = this.getClientId(),
- a = this.getClientSecret();
- if (!n) throw Error("A client id is required. You can set the client id using .setClientId().");
- var r = _(this.domain, this.domainDelimiter);
- if (r += "?grant_type=authorization_code", r += "&code=".concat(t), r += "&client_id=".concat(n), a) r += "&client_secret=".concat(a);
- else {
- if (!this.codeVerifier) throw Error("You must use PKCE when generating the authorization URL to not include a client secret");
- r += "&code_verifier=".concat(this.codeVerifier)
- }
- return e && (r += "&redirect_uri=".concat(e)), this.fetch(r, {
- method: "POST",
- headers: {
- "Content-Type": "application/x-www-form-urlencoded"
- }
- }).then((function(e) {
- return M(e)
- }))
- }
- }, {
- key: "checkAndRefreshAccessToken",
- value: function() {
- var e = this.getRefreshToken() && this.getClientId(),
- t = !this.getAccessTokenExpiresAt() || new Date(Date.now() + 3e5) >= this.getAccessTokenExpiresAt(),
- n = !this.getAccessToken();
- return (t || n) && e ? this.refreshAccessToken() : Promise.resolve()
- }
- }, {
- key: "refreshAccessToken",
- value: function() {
- var e = this,
- t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null,
- n = _(this.domain, this.domainDelimiter),
- a = this.getClientId(),
- r = this.getClientSecret();
- if (!a) throw Error("A client id is required. You can set the client id using .setClientId().");
- if (t && !(t instanceof Array)) throw Error("Scope must be an array of strings");
- var i = {
- "Content-Type": "application/json"
- };
- n += "?grant_type=refresh_token&refresh_token=".concat(this.getRefreshToken()), n += "&client_id=".concat(a), r && (n += "&client_secret=".concat(r)), t && (n += "&scope=".concat(t.join(" ")));
- var o = {
- method: "POST"
- };
- return o.headers = i, this.fetch(n, o).then((function(e) {
- return M(e)
- })).then((function(t) {
- e.setAccessToken(t.result.access_token), e.setAccessTokenExpiresAt(S(t.result.expires_in))
- }))
- }
- }]), e
- }();
- I = "undefined" != typeof window ? window.fetch.bind(window) : n(3155);
- var F = "undefined" == typeof btoa ? function(e) {
- return Buffer.from(e).toString("base64")
- } : btoa;
- e.Dropbox = function() {
- function e(n) {
- t(this, e), this.auth = (n = n || {}).auth ? n.auth : new L(n), this.fetch = n.fetch || I, this.selectUser = n.selectUser, this.selectAdmin = n.selectAdmin, this.pathRoot = n.pathRoot, this.domain = n.domain, this.domainDelimiter = n.domainDelimiter, Object.assign(this, b)
+
+ function f(e, t, n) {
+ return t ? n ? m(t, e) : d(m(t, e)) : n ? h(e) : d(h(e))
+ }
+ e.exports ? e.exports = f : t.md5 = f
+ }(ue)
+ })),
+ he = Object.getOwnPropertySymbols,
+ me = Object.prototype.hasOwnProperty,
+ fe = Object.prototype.propertyIsEnumerable;
+
+ function ge(e) {
+ if (null == e) throw new TypeError("Object.assign cannot be called with null or undefined");
+ return Object(e)
+ }
+ var be = function() {
+ try {
+ if (!Object.assign) return !1;
+ var e = new String("abc");
+ if (e[5] = "de", "5" === Object.getOwnPropertyNames(e)[0]) return !1;
+ for (var t = {}, n = 0; n < 10; n++) t["_" + String.fromCharCode(n)] = n;
+ if ("0123456789" !== Object.getOwnPropertyNames(t).map((function(e) {
+ return t[e]
+ })).join("")) return !1;
+ var a = {};
+ return "abcdefghijklmnopqrst".split("").forEach((function(e) {
+ a[e] = e
+ })), "abcdefghijklmnopqrst" === Object.keys(Object.assign({}, a)).join("")
+ } catch (e) {
+ return !1
}
- return r(e, [{
- key: "request",
- value: function(e, t, n, a, r) {
- if (n.split(",").length > 1) {
- var i = n.replace(" ", "").split(",");
- i.includes(p) && this.auth.getAccessToken() ? n = p : i.includes(h) && this.auth.getAccessToken() ? n = h : i.includes(d) && (n = d)
- }
- switch (r) {
- case "rpc":
- return this.rpcRequest(e, t, n, a);
- case "download":
- return this.downloadRequest(e, t, n, a);
- case "upload":
- return this.uploadRequest(e, t, n, a);
- default:
- throw Error("Invalid request style: ".concat(r))
- }
+ }() ? Object.assign : function(e, t) {
+ for (var n, a, r = ge(e), i = 1; i < arguments.length; i++) {
+ for (var o in n = Object(arguments[i])) me.call(n, o) && (r[o] = n[o]);
+ if (he) {
+ a = he(n);
+ for (var s = 0; s < a.length; s++) fe.call(n, a[s]) && (r[a[s]] = n[a[s]])
}
- }, {
- key: "rpcRequest",
- value: function(e, t, n, a) {
- var r = this;
- return this.auth.checkAndRefreshAccessToken().then((function() {
- var e, a = {
- method: "POST",
- body: t ? JSON.stringify(t) : null,
- headers: {}
+ }
+ return r
+ },
+ ye = "%[a-f0-9]{2}";
+ new RegExp(ye, "gi"), new RegExp("(" + ye + ")+", "gi");
+
+ function ve(e, t) {
+ return t.encode ? t.strict ? encodeURIComponent(e).replace(/[!'()*]/g, (function(e) {
+ return "%" + e.charCodeAt(0).toString(16).toUpperCase()
+ })) : encodeURIComponent(e) : e
+ }
+ var ke = function(e, t) {
+ !1 === (t = be({
+ encode: !0,
+ strict: !0,
+ arrayFormat: "none"
+ }, t)).sort && (t.sort = function() {});
+ var n = function(e) {
+ switch (e.arrayFormat) {
+ case "index":
+ return function(t, n, a) {
+ return null === n ? [ve(t, e), "[", a, "]"].join("") : [ve(t, e), "[", ve(a, e), "]=", ve(n, e)].join("")
};
- switch (t && (a.headers["Content-Type"] = "application/json"), n) {
- case d:
- if (!r.auth.clientId || !r.auth.clientSecret) throw Error("A client id and secret is required for this function");
- e = F("".concat(r.auth.clientId, ":").concat(r.auth.clientSecret)), a.headers.Authorization = "Basic ".concat(e);
- break;
- case h:
- case p:
- a.headers.Authorization = "Bearer ".concat(r.auth.getAccessToken());
- break;
- case "noauth":
- break;
- default:
- throw Error("Unhandled auth type: ".concat(n))
+ case "bracket":
+ return function(t, n) {
+ return null === n ? ve(t, e) : [ve(t, e), "[]=", ve(n, e)].join("")
+ };
+ default:
+ return function(t, n) {
+ return null === n ? ve(t, e) : [ve(t, e), "=", ve(n, e)].join("")
}
- return r.setCommonHeaders(a), a
- })).then((function(t) {
- return r.fetch(v(a, r.domain, r.domainDelimiter) + e, t)
- })).then((function(e) {
- return M(e)
- }))
}
- }, {
- key: "downloadRequest",
- value: function(e, t, n, a) {
- var r = this;
- return this.auth.checkAndRefreshAccessToken().then((function() {
- if (n !== p) throw Error("Unexpected auth type: ".concat(n));
- var e = {
- method: "POST",
- headers: {
- Authorization: "Bearer ".concat(r.auth.getAccessToken()),
- "Dropbox-API-Arg": w(t)
+ }(t);
+ return e ? Object.keys(e).sort(t.sort).map((function(a) {
+ var r = e[a];
+ if (void 0 === r) return "";
+ if (null === r) return ve(a, t);
+ if (Array.isArray(r)) {
+ var i = [];
+ return r.slice().forEach((function(e) {
+ void 0 !== e && i.push(n(a, e, i.length))
+ })), i.join("&")
+ }
+ return ve(a, t) + "=" + ve(r, t)
+ })).filter((function(e) {
+ return e.length > 0
+ })).join("&") : ""
+ },
+ _e = function(e, t, n) {
+ this.url = e, this.data = t || {}, this.headers = n
+ };
+ _e.prototype.send = function(e) {
+ if (window.XDomainRequest) {
+ var t = new window.XDomainRequest;
+ t.open("POST", this.url, !0), t.onload = function() {
+ e(200, t.responseText)
+ }, t.onerror = function() {
+ "Request Entity Too Large" === t.responseText ? e(413, t.responseText) : e(500, t.responseText)
+ }, t.ontimeout = function() {}, t.onprogress = function() {}, t.send(ke(this.data))
+ } else {
+ var n = new XMLHttpRequest;
+ n.open("POST", this.url, !0), n.onreadystatechange = function() {
+ 4 === n.readyState && e(n.status, n.responseText)
+ },
+ function(e, t) {
+ for (var n in t) e.setRequestHeader(n, t[n])
+ }(n, this.headers), n.send(ke(this.data))
+ }
+ };
+ var we = function() {
+ this._price = null, this._productId = null, this._quantity = 1, this._revenueType = null, this._properties = null
+ };
+ we.prototype.setProductId = function(e) {
+ return "string" !== _(e) ? I.error("Unsupported type for productId: " + _(e) + ", expecting string") : O(e) ? I.error("Invalid empty productId") : this._productId = e, this
+ }, we.prototype.setQuantity = function(e) {
+ return "number" !== _(e) ? I.error("Unsupported type for quantity: " + _(e) + ", expecting number") : this._quantity = parseInt(e), this
+ }, we.prototype.setPrice = function(e) {
+ return "number" !== _(e) ? I.error("Unsupported type for price: " + _(e) + ", expecting number") : this._price = e, this
+ }, we.prototype.setRevenueType = function(e) {
+ return "string" !== _(e) ? I.error("Unsupported type for revenueType: " + _(e) + ", expecting string") : this._revenueType = e, this
+ }, we.prototype.setEventProperties = function(e) {
+ return "object" !== _(e) ? I.error("Unsupported type for eventProperties: " + _(e) + ", expecting object") : this._properties = F(e), this
+ }, we.prototype._isValidRevenue = function() {
+ return "number" === _(this._price) || (I.error("Invalid revenue, need to set price field"), !1)
+ }, we.prototype._toJSONObject = function() {
+ var e = "object" === _(this._properties) ? this._properties : {};
+ return null !== this._productId && (e[g.REVENUE_PRODUCT_ID] = this._productId), null !== this._quantity && (e[g.REVENUE_QUANTITY] = this._quantity), null !== this._price && (e[g.REVENUE_PRICE] = this._price), null !== this._revenueType && (e[g.REVENUE_REVENUE_TYPE] = this._revenueType), e
+ };
+ var Se = de((function(e, t) {
+ ! function(n, a) {
+ var r = "function",
+ i = "object",
+ o = "model",
+ s = "name",
+ l = "type",
+ c = "vendor",
+ u = "version",
+ d = "architecture",
+ p = "console",
+ h = "mobile",
+ m = "tablet",
+ f = "smarttv",
+ g = "wearable",
+ b = {
+ extend: function(e, t) {
+ var n = {};
+ for (var a in e) t[a] && t[a].length % 2 == 0 ? n[a] = t[a].concat(e[a]) : n[a] = e[a];
+ return n
+ },
+ has: function(e, t) {
+ return "string" == typeof e && -1 !== t.toLowerCase().indexOf(e.toLowerCase())
+ },
+ lowerize: function(e) {
+ return e.toLowerCase()
+ },
+ major: function(e) {
+ return "string" == typeof e ? e.replace(/[^\d\.]/g, "").split(".")[0] : a
+ },
+ trim: function(e) {
+ return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "")
+ }
+ },
+ y = {
+ rgx: function(e, t) {
+ for (var n, o, s, l, c, u, d = 0; d < t.length && !c;) {
+ var p = t[d],
+ h = t[d + 1];
+ for (n = o = 0; n < p.length && !c;)
+ if (c = p[n++].exec(e))
+ for (s = 0; s < h.length; s++) u = c[++o], typeof(l = h[s]) === i && l.length > 0 ? 2 == l.length ? typeof l[1] == r ? this[l[0]] = l[1].call(this, u) : this[l[0]] = l[1] : 3 == l.length ? typeof l[1] !== r || l[1].exec && l[1].test ? this[l[0]] = u ? u.replace(l[1], l[2]) : a : this[l[0]] = u ? l[1].call(this, u, l[2]) : a : 4 == l.length && (this[l[0]] = u ? l[3].call(this, u.replace(l[1], l[2])) : a) : this[l] = u || a;
+ d += 2
}
- };
- return r.setCommonHeaders(e), e
- })).then((function(t) {
- return r.fetch(v(a, r.domain, r.domainDelimiter) + e, t)
- })).then((function(e) {
- return function(e) {
- return e.ok ? new Promise((function(t) {
- E() ? e.blob().then((function(e) {
- return t(e)
- })) : e.buffer().then((function(e) {
- return t(e)
- }))
- })).then((function(t) {
- var n = JSON.parse(e.headers.get("dropbox-api-result"));
- return E() ? n.fileBlob = t : n.fileBinary = t, new T(e.status, e.headers, n)
- })) : O(e)
- }(e)
- }))
- }
- }, {
- key: "uploadRequest",
- value: function(e, t, n, a) {
- var r = this;
- return this.auth.checkAndRefreshAccessToken().then((function() {
- if (n !== p) throw Error("Unexpected auth type: ".concat(n));
- var e = t.contents;
- delete t.contents;
- var a = {
- body: e,
- method: "POST",
- headers: {
- Authorization: "Bearer ".concat(r.auth.getAccessToken()),
- "Content-Type": "application/octet-stream",
- "Dropbox-API-Arg": w(t)
+ },
+ str: function(e, t) {
+ for (var n in t)
+ if (typeof t[n] === i && t[n].length > 0) {
+ for (var r = 0; r < t[n].length; r++)
+ if (b.has(t[n][r], e)) return "?" === n ? a : n
+ } else if (b.has(t[n], e)) return "?" === n ? a : n;
+ return e
+ }
+ },
+ v = {
+ browser: {
+ oldsafari: {
+ version: {
+ "1.0": "/8",
+ 1.2: "/1",
+ 1.3: "/3",
+ "2.0": "/412",
+ "2.0.2": "/416",
+ "2.0.3": "/417",
+ "2.0.4": "/419",
+ "?": "/"
+ }
}
- };
- return r.setCommonHeaders(a), a
- })).then((function(t) {
- return r.fetch(v(a, r.domain, r.domainDelimiter) + e, t)
- })).then((function(e) {
- return M(e)
- }))
- }
- }, {
- key: "setCommonHeaders",
- value: function(e) {
- this.selectUser && (e.headers["Dropbox-API-Select-User"] = this.selectUser), this.selectAdmin && (e.headers["Dropbox-API-Select-Admin"] = this.selectAdmin), this.pathRoot && (e.headers["Dropbox-API-Path-Root"] = this.pathRoot)
- }
- }]), e
- }(), e.DropboxAuth = L, e.DropboxResponse = T, e.DropboxResponseError = D, Object.defineProperty(e, "__esModule", {
- value: !0
- })
- }(t)
- }, 3155: (e, t) => {
- "use strict";
- var n = function() {
- if ("undefined" != typeof self) return self;
- if ("undefined" != typeof window) return window;
- if (void 0 !== n) return n;
- throw new Error("unable to locate global object")
- }();
- e.exports = t = n.fetch, n.fetch && (t.default = n.fetch.bind(n)), t.Headers = n.Headers, t.Request = n.Request, t.Response = n.Response
- }, 1908: e => {
- "use strict";
- e.exports = function() {
- return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74)\uDB40\uDC7F|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]\uFE0F|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]))|\uD83D\uDC69\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83D\uDC69\u200D[\u2695\u2696\u2708])\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC68(?:\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDD1-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])?|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])\uFE0F/g
- }
- }, 4305: function(e, t, n) {
- var a = n(554);
- e.exports = function() {
- "use strict";
-
- function e(e) {
- return "function" == typeof e
- }
- var t = Array.isArray ? Array.isArray : function(e) {
- return "[object Array]" === Object.prototype.toString.call(e)
- },
- r = 0,
- i = void 0,
- o = void 0,
- s = function(e, t) {
- m[r] = e, m[r + 1] = t, 2 === (r += 2) && (o ? o(f) : k())
- };
- var l = "undefined" != typeof window ? window : void 0,
- c = l || {},
- u = c.MutationObserver || c.WebKitMutationObserver,
- d = "undefined" == typeof self && void 0 !== a && "[object process]" === {}.toString.call(a),
- p = "undefined" != typeof Uint8ClampedArray && "undefined" != typeof importScripts && "undefined" != typeof MessageChannel;
-
- function h() {
- var e = setTimeout;
- return function() {
- return e(f, 1)
+ },
+ device: {
+ amazon: {
+ model: {
+ "Fire Phone": ["SD", "KF"]
+ }
+ },
+ sprint: {
+ model: {
+ "Evo Shift 4G": "7373KT"
+ },
+ vendor: {
+ HTC: "APA",
+ Sprint: "Sprint"
+ }
+ }
+ },
+ os: {
+ windows: {
+ version: {
+ ME: "4.90",
+ "NT 3.11": "NT3.51",
+ "NT 4.0": "NT4.0",
+ 2e3: "NT 5.0",
+ XP: ["NT 5.1", "NT 5.2"],
+ Vista: "NT 6.0",
+ 7: "NT 6.1",
+ 8: "NT 6.2",
+ 8.1: "NT 6.3",
+ 10: ["NT 6.4", "NT 10.0"],
+ RT: "ARM"
+ }
+ }
+ }
+ },
+ k = {
+ browser: [
+ [/(opera\smini)\/([\w\.-]+)/i, /(opera\s[mobiletab]+).+version\/([\w\.-]+)/i, /(opera).+version\/([\w\.]+)/i, /(opera)[\/\s]+([\w\.]+)/i],
+ [s, u],
+ [/(opios)[\/\s]+([\w\.]+)/i],
+ [
+ [s, "Opera Mini"], u
+ ],
+ [/\s(opr)\/([\w\.]+)/i],
+ [
+ [s, "Opera"], u
+ ],
+ [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i, /(avant\s|iemobile|slim)(?:browser)?[\/\s]?([\w\.]*)/i, /(bidubrowser|baidubrowser)[\/\s]?([\w\.]+)/i, /(?:ms|\()(ie)\s([\w\.]+)/i, /(rekonq)\/([\w\.]*)/i, /(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon)\/([\w\.-]+)/i],
+ [s, u],
+ [/(konqueror)\/([\w\.]+)/i],
+ [
+ [s, "Konqueror"], u
+ ],
+ [/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],
+ [
+ [s, "IE"], u
+ ],
+ [/(edge|edgios|edga|edg)\/((\d+)?[\w\.]+)/i],
+ [
+ [s, "Edge"], u
+ ],
+ [/(yabrowser)\/([\w\.]+)/i],
+ [
+ [s, "Yandex"], u
+ ],
+ [/(Avast)\/([\w\.]+)/i],
+ [
+ [s, "Avast Secure Browser"], u
+ ],
+ [/(AVG)\/([\w\.]+)/i],
+ [
+ [s, "AVG Secure Browser"], u
+ ],
+ [/(puffin)\/([\w\.]+)/i],
+ [
+ [s, "Puffin"], u
+ ],
+ [/(focus)\/([\w\.]+)/i],
+ [
+ [s, "Firefox Focus"], u
+ ],
+ [/(opt)\/([\w\.]+)/i],
+ [
+ [s, "Opera Touch"], u
+ ],
+ [/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],
+ [
+ [s, "UCBrowser"], u
+ ],
+ [/(comodo_dragon)\/([\w\.]+)/i],
+ [
+ [s, /_/g, " "], u
+ ],
+ [/(windowswechat qbcore)\/([\w\.]+)/i],
+ [
+ [s, "WeChat(Win) Desktop"], u
+ ],
+ [/(micromessenger)\/([\w\.]+)/i],
+ [
+ [s, "WeChat"], u
+ ],
+ [/(brave)\/([\w\.]+)/i],
+ [
+ [s, "Brave"], u
+ ],
+ [/(qqbrowserlite)\/([\w\.]+)/i],
+ [s, u],
+ [/(QQ)\/([\d\.]+)/i],
+ [s, u],
+ [/m?(qqbrowser)[\/\s]?([\w\.]+)/i],
+ [s, u],
+ [/(baiduboxapp)[\/\s]?([\w\.]+)/i],
+ [s, u],
+ [/(2345Explorer)[\/\s]?([\w\.]+)/i],
+ [s, u],
+ [/(MetaSr)[\/\s]?([\w\.]+)/i],
+ [s],
+ [/(LBBROWSER)/i],
+ [s],
+ [/xiaomi\/miuibrowser\/([\w\.]+)/i],
+ [u, [s, "MIUI Browser"]],
+ [/;fbav\/([\w\.]+);/i],
+ [u, [s, "Facebook"]],
+ [/safari\s(line)\/([\w\.]+)/i, /android.+(line)\/([\w\.]+)\/iab/i],
+ [s, u],
+ [/headlesschrome(?:\/([\w\.]+)|\s)/i],
+ [u, [s, "Chrome Headless"]],
+ [/\swv\).+(chrome)\/([\w\.]+)/i],
+ [
+ [s, /(.+)/, "$1 WebView"], u
+ ],
+ [/((?:oculus|samsung)browser)\/([\w\.]+)/i],
+ [
+ [s, /(.+(?:g|us))(.+)/, "$1 $2"], u
+ ],
+ [/((?:android.+)crmo|crios)\/([\w\.]+)/i, /android.+(chrome)\/([\w\.]+)\s+(?:mobile\s?safari)/i],
+ [
+ [s, "Chrome Mobile"], u
+ ],
+ [/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],
+ [u, [s, "Android Browser"]],
+ [/(sailfishbrowser)\/([\w\.]+)/i],
+ [
+ [s, "Sailfish Browser"], u
+ ],
+ [/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],
+ [s, u],
+ [/(dolfin)\/([\w\.]+)/i],
+ [
+ [s, "Dolphin"], u
+ ],
+ [/(qihu|qhbrowser|qihoobrowser|360browser)/i],
+ [
+ [s, "360 Browser"]
+ ],
+ [/(coast)\/([\w\.]+)/i],
+ [
+ [s, "Opera Coast"], u
+ ],
+ [/fxios\/([\w\.-]+)/i],
+ [u, [s, "Firefox"]],
+ [/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],
+ [u, [s, "Mobile Safari"]],
+ [/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],
+ [u, s],
+ [/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],
+ [
+ [s, "GSA"], u
+ ],
+ [/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],
+ [s, [u, y.str, v.browser.oldsafari.version]],
+ [/(webkit|khtml)\/([\w\.]+)/i],
+ [s, u],
+ [/(navigator|netscape)\/([\w\.-]+)/i],
+ [
+ [s, "Netscape"], u
+ ],
+ [/(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i, /(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)/i, /(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i, /(links)\s\(([\w\.]+)/i, /(gobrowser)\/?([\w\.]*)/i, /(ice\s?browser)\/v?([\w\._]+)/i, /(mosaic)[\/\s]([\w\.]+)/i],
+ [s, u]
+ ],
+ cpu: [
+ [/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],
+ [
+ [d, "amd64"]
+ ],
+ [/(ia32(?=;))/i],
+ [
+ [d, b.lowerize]
+ ],
+ [/((?:i[346]|x)86)[;\)]/i],
+ [
+ [d, "ia32"]
+ ],
+ [/windows\s(ce|mobile);\sppc;/i],
+ [
+ [d, "arm"]
+ ],
+ [/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],
+ [
+ [d, /ower/, "", b.lowerize]
+ ],
+ [/(sun4\w)[;\)]/i],
+ [
+ [d, "sparc"]
+ ],
+ [/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+[;l]))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],
+ [
+ [d, b.lowerize]
+ ]
+ ],
+ device: [
+ [/\((ipad|playbook);[\w\s\),;-]+(rim|apple)/i],
+ [o, c, [l, m]],
+ [/applecoremedia\/[\w\.]+ \((ipad)/],
+ [o, [c, "Apple"],
+ [l, m]
+ ],
+ [/(apple\s{0,1}tv)/i],
+ [
+ [o, "Apple TV"],
+ [c, "Apple"],
+ [l, f]
+ ],
+ [/(archos)\s(gamepad2?)/i, /(hp).+(touchpad)/i, /(hp).+(tablet)/i, /(kindle)\/([\w\.]+)/i, /\s(nook)[\w\s]+build\/(\w+)/i, /(dell)\s(strea[kpr\s\d]*[\dko])/i],
+ [c, o, [l, m]],
+ [/(kf[A-z]+)\sbuild\/.+silk\//i],
+ [o, [c, "Amazon"],
+ [l, m]
+ ],
+ [/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i],
+ [
+ [o, y.str, v.device.amazon.model],
+ [c, "Amazon"],
+ [l, h]
+ ],
+ [/android.+aft([bms])\sbuild/i],
+ [o, [c, "Amazon"],
+ [l, f]
+ ],
+ [/\((ip[honed|\s\w*]+);.+(apple)/i],
+ [o, c, [l, h]],
+ [/\((ip[honed|\s\w*]+);/i],
+ [o, [c, "Apple"],
+ [l, h]
+ ],
+ [/(blackberry)[\s-]?(\w+)/i, /(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i, /(hp)\s([\w\s]+\w)/i, /(asus)-?(\w+)/i],
+ [c, o, [l, h]],
+ [/\(bb10;\s(\w+)/i],
+ [o, [c, "BlackBerry"],
+ [l, h]
+ ],
+ [/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone|p00c)/i],
+ [o, [c, "Asus"],
+ [l, m]
+ ],
+ [/(sony)\s(tablet\s[ps])\sbuild\//i, /(sony)?(?:sgp.+)\sbuild\//i],
+ [
+ [c, "Sony"],
+ [o, "Xperia Tablet"],
+ [l, m]
+ ],
+ [/android.+\s([c-g]\d{4}|so[-l]\w+)(?=\sbuild\/|\).+chrome\/(?![1-6]{0,1}\d\.))/i],
+ [o, [c, "Sony"],
+ [l, h]
+ ],
+ [/\s(ouya)\s/i, /(nintendo)\s([wids3u]+)/i],
+ [c, o, [l, p]],
+ [/android.+;\s(shield)\sbuild/i],
+ [o, [c, "Nvidia"],
+ [l, p]
+ ],
+ [/(playstation\s[34portablevi]+)/i],
+ [o, [c, "Sony"],
+ [l, p]
+ ],
+ [/(sprint\s(\w+))/i],
+ [
+ [c, y.str, v.device.sprint.vendor],
+ [o, y.str, v.device.sprint.model],
+ [l, h]
+ ],
+ [/(htc)[;_\s-]+([\w\s]+(?=\)|\sbuild)|\w+)/i, /(zte)-(\w*)/i, /(alcatel|geeksphone|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],
+ [c, [o, /_/g, " "],
+ [l, h]
+ ],
+ [/(nexus\s9)/i],
+ [o, [c, "HTC"],
+ [l, m]
+ ],
+ [/d\/huawei([\w\s-]+)[;\)]/i, /(nexus\s6p|vog-l29|ane-lx1|eml-l29)/i],
+ [o, [c, "Huawei"],
+ [l, h]
+ ],
+ [/android.+(bah2?-a?[lw]\d{2})/i],
+ [o, [c, "Huawei"],
+ [l, m]
+ ],
+ [/(microsoft);\s(lumia[\s\w]+)/i],
+ [c, o, [l, h]],
+ [/[\s\(;](xbox(?:\sone)?)[\s\);]/i],
+ [o, [c, "Microsoft"],
+ [l, p]
+ ],
+ [/(kin\.[onetw]{3})/i],
+ [
+ [o, /\./g, " "],
+ [c, "Microsoft"],
+ [l, h]
+ ],
+ [/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i, /mot[\s-]?(\w*)/i, /(XT\d{3,4}) build\//i, /(nexus\s6)/i],
+ [o, [c, "Motorola"],
+ [l, h]
+ ],
+ [/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],
+ [o, [c, "Motorola"],
+ [l, m]
+ ],
+ [/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],
+ [
+ [c, b.trim],
+ [o, b.trim],
+ [l, f]
+ ],
+ [/hbbtv.+maple;(\d+)/i],
+ [
+ [o, /^/, "SmartTV"],
+ [c, "Samsung"],
+ [l, f]
+ ],
+ [/\(dtv[\);].+(aquos)/i],
+ [o, [c, "Sharp"],
+ [l, f]
+ ],
+ [/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i, /((SM-T\w+))/i],
+ [
+ [c, "Samsung"], o, [l, m]
+ ],
+ [/smart-tv.+(samsung)/i],
+ [c, [l, f], o],
+ [/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i, /(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i, /sec-((sgh\w+))/i],
+ [
+ [c, "Samsung"], o, [l, h]
+ ],
+ [/sie-(\w*)/i],
+ [o, [c, "Siemens"],
+ [l, h]
+ ],
+ [/(maemo|nokia).*(n900|lumia\s\d+)/i, /(nokia)[\s_-]?([\w-]*)/i],
+ [
+ [c, "Nokia"], o, [l, h]
+ ],
+ [/android[x\d\.\s;]+\s([ab][1-7]\-?[0178a]\d\d?)/i],
+ [o, [c, "Acer"],
+ [l, m]
+ ],
+ [/android.+([vl]k\-?\d{3})\s+build/i],
+ [o, [c, "LG"],
+ [l, m]
+ ],
+ [/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],
+ [
+ [c, "LG"], o, [l, m]
+ ],
+ [/(lg) netcast\.tv/i],
+ [c, o, [l, f]],
+ [/(nexus\s[45])/i, /lg[e;\s\/-]+(\w*)/i, /android.+lg(\-?[\d\w]+)\s+build/i],
+ [o, [c, "LG"],
+ [l, h]
+ ],
+ [/(lenovo)\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+))/i],
+ [c, o, [l, m]],
+ [/android.+(ideatab[a-z0-9\-\s]+)/i],
+ [o, [c, "Lenovo"],
+ [l, m]
+ ],
+ [/(lenovo)[_\s-]?([\w-]+)/i],
+ [c, o, [l, h]],
+ [/linux;.+((jolla));/i],
+ [c, o, [l, h]],
+ [/((pebble))app\/[\d\.]+\s/i],
+ [c, o, [l, g]],
+ [/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],
+ [c, o, [l, h]],
+ [/crkey/i],
+ [
+ [o, "Chromecast"],
+ [c, "Google"],
+ [l, f]
+ ],
+ [/android.+;\s(glass)\s\d/i],
+ [o, [c, "Google"],
+ [l, g]
+ ],
+ [/android.+;\s(pixel c)[\s)]/i],
+ [o, [c, "Google"],
+ [l, m]
+ ],
+ [/android.+;\s(pixel( [23])?( xl)?)[\s)]/i],
+ [o, [c, "Google"],
+ [l, h]
+ ],
+ [/android.+;\s(\w+)\s+build\/hm\1/i, /android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i, /android.+(mi[\s\-_]*(?:a\d|one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i, /android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i],
+ [
+ [o, /_/g, " "],
+ [c, "Xiaomi"],
+ [l, h]
+ ],
+ [/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i],
+ [
+ [o, /_/g, " "],
+ [c, "Xiaomi"],
+ [l, m]
+ ],
+ [/android.+;\s(m[1-5]\snote)\sbuild/i],
+ [o, [c, "Meizu"],
+ [l, h]
+ ],
+ [/(mz)-([\w-]{2,})/i],
+ [
+ [c, "Meizu"], o, [l, h]
+ ],
+ [/android.+a000(1)\s+build/i, /android.+oneplus\s(a\d{4})[\s)]/i],
+ [o, [c, "OnePlus"],
+ [l, h]
+ ],
+ [/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],
+ [o, [c, "RCA"],
+ [l, m]
+ ],
+ [/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i],
+ [o, [c, "Dell"],
+ [l, m]
+ ],
+ [/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],
+ [o, [c, "Verizon"],
+ [l, m]
+ ],
+ [/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],
+ [
+ [c, "Barnes & Noble"], o, [l, m]
+ ],
+ [/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],
+ [o, [c, "NuVision"],
+ [l, m]
+ ],
+ [/android.+;\s(k88)\sbuild/i],
+ [o, [c, "ZTE"],
+ [l, m]
+ ],
+ [/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],
+ [o, [c, "Swiss"],
+ [l, h]
+ ],
+ [/android.+[;\/]\s*(zur\d{3})\s+build/i],
+ [o, [c, "Swiss"],
+ [l, m]
+ ],
+ [/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],
+ [o, [c, "Zeki"],
+ [l, m]
+ ],
+ [/(android).+[;\/]\s+([YR]\d{2})\s+build/i, /android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],
+ [
+ [c, "Dragon Touch"], o, [l, m]
+ ],
+ [/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],
+ [o, [c, "Insignia"],
+ [l, m]
+ ],
+ [/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i],
+ [o, [c, "NextBook"],
+ [l, m]
+ ],
+ [/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],
+ [
+ [c, "Voice"], o, [l, h]
+ ],
+ [/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i],
+ [
+ [c, "LvTel"], o, [l, h]
+ ],
+ [/android.+;\s(PH-1)\s/i],
+ [o, [c, "Essential"],
+ [l, h]
+ ],
+ [/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],
+ [o, [c, "Envizen"],
+ [l, m]
+ ],
+ [/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i],
+ [c, o, [l, m]],
+ [/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],
+ [o, [c, "MachSpeed"],
+ [l, m]
+ ],
+ [/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],
+ [c, o, [l, m]],
+ [/android.+[;\/]\s*TU_(1491)\s+build/i],
+ [o, [c, "Rotor"],
+ [l, m]
+ ],
+ [/android.+(KS(.+))\s+build/i],
+ [o, [c, "Amazon"],
+ [l, m]
+ ],
+ [/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i],
+ [c, o, [l, m]],
+ [/\s(tablet|tab)[;\/]/i, /\s(mobile)(?:[;\/]|\ssafari)/i],
+ [
+ [l, b.lowerize], c, o
+ ],
+ [/[\s\/\(](smart-?tv)[;\)]/i],
+ [
+ [l, f]
+ ],
+ [/(android[\w\.\s\-]{0,9});.+build/i],
+ [o, [c, "Generic"]]
+ ],
+ engine: [
+ [/windows.+\sedge\/([\w\.]+)/i],
+ [u, [s, "EdgeHTML"]],
+ [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],
+ [u, [s, "Blink"]],
+ [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i, /(icab)[\/\s]([23]\.[\d\.]+)/i],
+ [s, u],
+ [/rv\:([\w\.]{1,9}).+(gecko)/i],
+ [u, s]
+ ],
+ os: [
+ [/microsoft\s(windows)\s(vista|xp)/i],
+ [s, u],
+ [/(windows)\snt\s6\.2;\s(arm)/i, /(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i, /(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],
+ [
+ [s, y.str, v.os.windows.name],
+ [u, y.str, v.os.windows.version]
+ ],
+ [/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],
+ [
+ [s, "Windows"],
+ [u, y.str, v.os.windows.version]
+ ],
+ [/\((bb)(10);/i],
+ [
+ [s, "BlackBerry"], u
+ ],
+ [/(blackberry)\w*\/?([\w\.]*)/i, /(tizen|kaios)[\/\s]([\w\.]+)/i, /(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|sailfish|contiki)[\/\s-]?([\w\.]*)/i],
+ [s, u],
+ [/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i],
+ [
+ [s, "Symbian"], u
+ ],
+ [/\((series40);/i],
+ [s],
+ [/mozilla.+\(mobile;.+gecko.+firefox/i],
+ [
+ [s, "Firefox OS"], u
+ ],
+ [/(nintendo|playstation)\s([wids34portablevu]+)/i, /(mint)[\/\s\(]?(\w*)/i, /(mageia|vectorlinux)[;\s]/i, /(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i, /(hurd|linux)\s?([\w\.]*)/i, /(gnu)\s?([\w\.]*)/i],
+ [
+ [s, "Linux"], u
+ ],
+ [/(cros)\s[\w]+\s([\w\.]+\w)/i],
+ [
+ [s, "Chromium OS"], u
+ ],
+ [/(sunos)\s?([\w\.\d]*)/i],
+ [
+ [s, "Solaris"], u
+ ],
+ [/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i],
+ [
+ [s, "Linux"], u
+ ],
+ [/(iphone)(?:.*os\s*([\w]*)\slike\smac|;\sopera)/i],
+ [
+ [s, "iPhone"],
+ [u, /_/g, "."]
+ ],
+ [/(ipad)(?:.*os\s*([\w]*)\slike\smac|;\sopera)/i],
+ [
+ [s, "iPad"],
+ [u, /_/g, "."]
+ ],
+ [/(haiku)\s(\w+)/i],
+ [s, u],
+ [/cfnetwork\/.+darwin/i, /ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],
+ [
+ [u, /_/g, "."],
+ [s, "iOS"]
+ ],
+ [/(mac\sos\sx)\s?([\w\s\.]*)/i, /(macintosh|mac(?=_powerpc)\s)/i],
+ [
+ [s, "Mac"],
+ [u, /_/g, "."]
+ ],
+ [/((?:open)?solaris)[\/\s-]?([\w\.]*)/i, /(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i, /(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms|fuchsia)/i, /(unix)\s?([\w\.]*)/i],
+ [s, u]
+ ]
+ },
+ _ = function(e, t) {
+ if ("object" == typeof e && (t = e, e = a), !(this instanceof _)) return new _(e, t).getResult();
+ var r = e || (n && n.navigator && n.navigator.userAgent ? n.navigator.userAgent : ""),
+ i = t ? b.extend(k, t) : k;
+ return this.getBrowser = function() {
+ var e = {
+ name: a,
+ version: a
+ };
+ return y.rgx.call(e, r, i.browser), e.major = b.major(e.version), e
+ }, this.getCPU = function() {
+ var e = {
+ architecture: a
+ };
+ return y.rgx.call(e, r, i.cpu), e
+ }, this.getDevice = function() {
+ var e = {
+ vendor: a,
+ model: a,
+ type: a
+ };
+ return y.rgx.call(e, r, i.device), e
+ }, this.getEngine = function() {
+ var e = {
+ name: a,
+ version: a
+ };
+ return y.rgx.call(e, r, i.engine), e
+ }, this.getOS = function() {
+ var e = {
+ name: a,
+ version: a
+ };
+ return y.rgx.call(e, r, i.os), e
+ }, this.getResult = function() {
+ return {
+ ua: this.getUA(),
+ browser: this.getBrowser(),
+ engine: this.getEngine(),
+ os: this.getOS(),
+ device: this.getDevice(),
+ cpu: this.getCPU()
+ }
+ }, this.getUA = function() {
+ return r
+ }, this.setUA = function(e) {
+ return r = e, this
+ }, this
+ };
+ _.VERSION = "0.7.21", _.BROWSER = {
+ NAME: s,
+ MAJOR: "major",
+ VERSION: u
+ }, _.CPU = {
+ ARCHITECTURE: d
+ }, _.DEVICE = {
+ MODEL: o,
+ VENDOR: c,
+ TYPE: l,
+ CONSOLE: p,
+ MOBILE: h,
+ SMARTTV: f,
+ TABLET: m,
+ WEARABLE: g,
+ EMBEDDED: "embedded"
+ }, _.ENGINE = {
+ NAME: s,
+ VERSION: u
+ }, _.OS = {
+ NAME: s,
+ VERSION: u
+ }, e.exports && (t = e.exports = _), t.UAParser = _;
+ var w = n && (n.jQuery || n.Zepto);
+ if (w && !w.ua) {
+ var S = new _;
+ w.ua = S.getResult(), w.ua.get = function() {
+ return S.getUA()
+ }, w.ua.set = function(e) {
+ S.setUA(e);
+ var t = S.getResult();
+ for (var n in t) w.ua[n] = t[n]
+ }
+ }
+ }("object" == typeof window ? window : ue)
+ })),
+ Ee = (Se.UAParser, function e(t) {
+ return t ? (t ^ 16 * Math.random() >> t / 4).toString(16) : ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, e)
+ }),
+ xe = "8.2.1",
+ Ce = {
+ apiEndpoint: "api.amplitude.com",
+ batchEvents: !1,
+ cookieExpiration: 365,
+ cookieName: "amplitude_id",
+ sameSiteCookie: "Lax",
+ cookieForceUpgrade: !1,
+ deferInitialization: !1,
+ disableCookies: !1,
+ deviceIdFromUrlParam: !1,
+ domain: "",
+ eventUploadPeriodMillis: 3e4,
+ eventUploadThreshold: 30,
+ forceHttps: !0,
+ includeFbclid: !1,
+ includeGclid: !1,
+ includeReferrer: !1,
+ includeUtm: !1,
+ language: navigator && (navigator.languages && navigator.languages[0] || navigator.language || navigator.userLanguage) || "",
+ logLevel: "WARN",
+ logAttributionCapturedEvent: !1,
+ optOut: !1,
+ onError: function() {},
+ platform: "Web",
+ savedMaxCount: 1e3,
+ saveEvents: !0,
+ saveParamsReferrerOncePerSession: !0,
+ secureCookie: !1,
+ sessionTimeout: 18e5,
+ storage: g.STORAGE_DEFAULT,
+ trackingOptions: {
+ city: !0,
+ country: !0,
+ carrier: !0,
+ device_manufacturer: !0,
+ device_model: !0,
+ dma: !0,
+ ip_address: !0,
+ language: !0,
+ os_name: !0,
+ os_version: !0,
+ platform: !0,
+ region: !0,
+ version_name: !0
+ },
+ unsetParamsReferrerOnNewSession: !1,
+ unsentKey: "amplitude_unsent",
+ unsentIdentifyKey: "amplitude_unsent_identify",
+ uploadBatchSize: 100,
+ headers: {
+ "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
}
+ },
+ Ae = function(e) {
+ u() || I.warn("amplitude-js will not work in a non-browser environment. If you are planning to add Amplitude to a node environment, please use @amplitude/node"), this._instanceName = O(e) ? g.DEFAULT_INSTANCE : e.toLowerCase(), this._unsentEvents = [], this._unsentIdentifys = [], this._ua = new Se(navigator.userAgent).getResult(), this.options = i({}, Ce, {
+ trackingOptions: i({}, Ce.trackingOptions)
+ }), this.cookieStorage = (new ie).getStorage(), this._q = [], this._sending = !1, this._updateScheduled = !1, this._onInit = [], this._eventId = 0, this._identifyId = 0, this._lastEventTime = null, this._newSession = !1, this._sequenceNumber = 0, this._sessionId = null, this._isInitialized = !1, this._userAgent = navigator && navigator.userAgent || null
+ };
+ Ae.prototype.Identify = ce, Ae.prototype.Revenue = we, Ae.prototype.init = function(e, t, n, a) {
+ var r = this;
+ if ("string" !== _(e) || O(e)) I.error("Invalid apiKey. Please re-initialize with a valid apiKey");
+ else try {
+ De(this.options, n), u() && void 0 !== window.Prototype && Array.prototype.toJSON && (function() {
+ var e;
+ if (u()) {
+ var t = window,
+ n = Array;
+ if (void 0 !== t.Prototype && void 0 !== (null === (e = n.prototype) || void 0 === e ? void 0 : e.toJSON)) return delete n.prototype.toJSON, !0
+ }
+ }(), I.warn("Prototype.js injected Array.prototype.toJSON. Deleting Array.prototype.toJSON to prevent double-stringify")), this.options.cookieName !== Ce.cookieName && I.warn("The cookieName option is deprecated. We will be ignoring it for newer cookies"), this.options.apiKey = e, this._storageSuffix = "_" + e + (this._instanceName === g.DEFAULT_INSTANCE ? "" : "_" + this._instanceName), this._storageSuffixV5 = e.slice(0, 6), this._oldCookiename = this.options.cookieName + this._storageSuffix, this._unsentKey = this.options.unsentKey + this._storageSuffix, this._unsentIdentifyKey = this.options.unsentIdentifyKey + this._storageSuffix, this._cookieName = g.COOKIE_PREFIX + "_" + this._storageSuffixV5, this.cookieStorage.options({
+ expirationDays: this.options.cookieExpiration,
+ domain: this.options.domain,
+ secure: this.options.secureCookie,
+ sameSite: this.options.sameSiteCookie
+ }), this._metadataStorage = new se({
+ storageKey: this._cookieName,
+ disableCookies: this.options.disableCookies,
+ expirationDays: this.options.cookieExpiration,
+ domain: this.options.domain,
+ secure: this.options.secureCookie,
+ sameSite: this.options.sameSiteCookie,
+ storage: this.options.storage
+ });
+ var i = !!this.cookieStorage.get(this._oldCookiename),
+ o = !!this._metadataStorage.load();
+ this._useOldCookie = !o && i && !this.options.cookieForceUpgrade;
+ var s = o || i;
+ if (this.options.domain = this.cookieStorage.options().domain, this.options.deferInitialization && !s) return void this._deferInitialization(e, t, n, a);
+ "string" === _(this.options.logLevel) && M(this.options.logLevel);
+ var l = ze(this);
+ this._apiPropertiesTrackingOptions = Object.keys(l).length > 0 ? {
+ tracking_options: l
+ } : {}, this.options.cookieForceUpgrade && i && (o || je(this), this.cookieStorage.remove(this._oldCookiename)), Pe(this), this._pendingReadStorage = !0;
+ this.options.saveEvents && (this._unsentEvents = this._loadSavedUnsentEvents(this.options.unsentKey).map((function(e) {
+ return {
+ event: e
+ }
+ })).concat(this._unsentEvents), this._unsentIdentifys = this._loadSavedUnsentEvents(this.options.unsentIdentifyKey).map((function(e) {
+ return {
+ event: e
+ }
+ })).concat(this._unsentIdentifys)),
+ function(e) {
+ r.options.deviceId = r._getInitialDeviceId(n && n.deviceId, e), r.options.userId = "string" === _(t) && !O(t) && t || "number" === _(t) && t.toString() || r.options.userId || null;
+ var a = (new Date).getTime();
+ (!r._sessionId || !r._lastEventTime || a - r._lastEventTime > r.options.sessionTimeout) && (r.options.unsetParamsReferrerOnNewSession && r._unsetUTMParams(), r._newSession = !0, r._sessionId = a, r.options.saveParamsReferrerOncePerSession && r._trackParamsAndReferrer()), r.options.saveParamsReferrerOncePerSession || r._trackParamsAndReferrer(), r.options.saveEvents && (Te(r._unsentEvents), Te(r._unsentIdentifys)), r._lastEventTime = a, Ie(r), r._pendingReadStorage = !1, r._sendEventsIfReady();
+ for (var i = 0; i < r._onInit.length; i++) r._onInit[i](r);
+ r._onInit = [], r._isInitialized = !0
+ }(), this.runQueuedFunctions(), "function" === _(a) && a(this)
+ } catch (e) {
+ I.error(e), "function" === _(n.onError) && n.onError(e)
+ }
+ }, Ae.prototype.deleteLowerLevelDomainCookies = function() {
+ var e = G(),
+ t = this.options.domain && "." === this.options.domain[0] ? this.options.domain.slice(1) : this.options.domain;
+ if (t && e !== t && new RegExp(t + "$").test(e)) {
+ for (var n = e.split("."), a = t.split("."), r = n.length; r > a.length; --r) {
+ var i = n.slice(n.length - r).join(".");
+ V(this._cookieName, null, {
+ domain: "." + i
+ })
+ }
+ V(this._cookieName, null, {})
+ }
+ }, Ae.prototype._getInitialDeviceId = function(e, t) {
+ if (e) return e;
+ if (this.options.deviceIdFromUrlParam) {
+ var n = this._getDeviceIdFromUrlParam(this._getUrlParams());
+ if (n) return n
+ }
+ return this.options.deviceId ? this.options.deviceId : t || B()
+ };
+ var Te = function(e) {
+ for (var t = 0; t < e.length; t++) {
+ var n = e[t].event.user_properties,
+ a = e[t].event.event_properties,
+ r = e[t].event.groups;
+ e[t].event.user_properties = F(n), e[t].event.event_properties = F(a), e[t].event.groups = z(r)
}
- var m = new Array(1e3);
-
- function f() {
- for (var e = 0; e < r; e += 2)(0, m[e])(m[e + 1]), m[e] = void 0, m[e + 1] = void 0;
- r = 0
+ };
+ Ae.prototype._trackParamsAndReferrer = function() {
+ var e, t, n, a;
+ if (this.options.includeUtm && (e = this._initUtmData()), this.options.includeReferrer && (t = this._saveReferrer(this._getReferrer())), this.options.includeGclid && (n = this._saveGclid(this._getUrlParams())), this.options.includeFbclid && (a = this._saveFbclid(this._getUrlParams())), this.options.logAttributionCapturedEvent) {
+ var r = i({}, e, t, n, a);
+ Object.keys(r).length > 0 && this.logEvent(g.ATTRIBUTION_EVENT, r)
}
- var g, b, y, v, k = void 0;
-
- function _(e, t) {
- var n = this,
- a = new this.constructor(E);
- void 0 === a[S] && R(a);
- var r = n._state;
- if (r) {
- var i = arguments[r - 1];
- s((function() {
- return N(r, a, i, n._result)
- }))
- } else M(n, a, e, t);
- return a
+ };
+ var De = function e(t, n) {
+ if ("object" === _(n)) {
+ var a = new Set(["headers"]),
+ r = function(a) {
+ if (Object.prototype.hasOwnProperty.call(t, a)) {
+ var r = n[a],
+ i = _(t[a]);
+ L(r, a + " option", i) && ("boolean" === i ? t[a] = !!r : "string" === i && !O(r) || "number" === i && r > 0 || "function" === i ? t[a] = r : "object" === i && e(t[a], r))
+ }
+ };
+ for (var o in n) a.has(o) ? t[o] = i({}, t[o], n[o]) : Object.prototype.hasOwnProperty.call(n, o) && r(o)
}
-
- function w(e) {
- if (e && "object" == typeof e && e.constructor === this) return e;
- var t = new this(E);
- return P(t, e), t
- }
- k = d ? function() {
- return a.nextTick(f)
- } : u ? (b = 0, y = new u(f), v = document.createTextNode(""), y.observe(v, {
- characterData: !0
- }), function() {
- v.data = b = ++b % 2
- }) : p ? ((g = new MessageChannel).port1.onmessage = f, function() {
- return g.port2.postMessage(0)
- }) : void 0 === l ? function() {
- try {
- var e = Function("return this")().require("vertx");
- return void 0 !== (i = e.runOnLoop || e.runOnContext) ? function() {
- i(f)
- } : h()
- } catch (e) {
- return h()
+ };
+ Ae.prototype.runQueuedFunctions = function() {
+ var e = this._q;
+ this._q = [];
+ for (var t = 0; t < e.length; t++) {
+ var n = this[e[t][0]];
+ "function" === _(n) && n.apply(this, e[t].slice(1))
+ }
+ }, Ae.prototype._apiKeySet = function(e) {
+ return !O(this.options.apiKey) || (I.error("Invalid apiKey. Please set a valid apiKey with init() before calling " + e), !1)
+ }, Ae.prototype._loadSavedUnsentEvents = function(e) {
+ var t = this._getFromStorage(re, e),
+ n = this._parseSavedUnsentEventsString(t, e);
+ return this._setInStorage(re, e, JSON.stringify(n)), n
+ }, Ae.prototype._parseSavedUnsentEventsString = function(e, t) {
+ if (O(e)) return [];
+ if ("string" === _(e)) try {
+ var n = JSON.parse(e);
+ if ("array" === _(n)) return n
+ } catch (e) {}
+ return I.error("Unable to load " + t + " events. Restart with a new empty queue."), []
+ }, Ae.prototype.isNewSession = function() {
+ return this._newSession
+ }, Ae.prototype.onInit = function(e) {
+ this._isInitialized ? e(this) : this._onInit.push(e)
+ }, Ae.prototype.getSessionId = function() {
+ return this._sessionId
+ }, Ae.prototype.nextEventId = function() {
+ return this._eventId++, this._eventId
+ }, Ae.prototype.nextIdentifyId = function() {
+ return this._identifyId++, this._identifyId
+ }, Ae.prototype.nextSequenceNumber = function() {
+ return this._sequenceNumber++, this._sequenceNumber
+ }, Ae.prototype._unsentCount = function() {
+ return this._unsentEvents.length + this._unsentIdentifys.length
+ }, Ae.prototype._sendEventsIfReady = function() {
+ return 0 !== this._unsentCount() && (this.options.batchEvents ? this._unsentCount() >= this.options.eventUploadThreshold ? (this.sendEvents(), !0) : (this._updateScheduled || (this._updateScheduled = !0, setTimeout(function() {
+ this._updateScheduled = !1, this.sendEvents()
+ }.bind(this), this.options.eventUploadPeriodMillis)), !1) : (this.sendEvents(), !0))
+ }, Ae.prototype._getFromStorage = function(e, t) {
+ return e.getItem(t + this._storageSuffix)
+ }, Ae.prototype._setInStorage = function(e, t, n) {
+ e.setItem(t + this._storageSuffix, n)
+ };
+ var Pe = function(e) {
+ if (e._useOldCookie) {
+ var t = e.cookieStorage.get(e._oldCookiename);
+ "object" !== _(t) || Me(e, t)
+ } else {
+ var n = e._metadataStorage.load();
+ "object" === _(n) && Me(e, n)
}
- }() : h();
- var S = Math.random().toString(36).substring(2);
-
- function E() {}
- var x = void 0,
- C = {
- error: null
+ },
+ je = function(e) {
+ var t = e.cookieStorage.get(e._oldCookiename);
+ "object" === _(t) && (Me(e, t), Ie(e))
+ },
+ Me = function(e, t) {
+ t.deviceId && (e.options.deviceId = t.deviceId), t.userId && (e.options.userId = t.userId), null !== t.optOut && void 0 !== t.optOut && !1 !== t.optOut && (e.options.optOut = t.optOut), t.sessionId && (e._sessionId = parseInt(t.sessionId, 10)), t.lastEventTime && (e._lastEventTime = parseInt(t.lastEventTime, 10)), t.eventId && (e._eventId = parseInt(t.eventId, 10)), t.identifyId && (e._identifyId = parseInt(t.identifyId, 10)), t.sequenceNumber && (e._sequenceNumber = parseInt(t.sequenceNumber, 10))
+ },
+ Ie = function(e) {
+ var t = {
+ deviceId: e.options.deviceId,
+ userId: e.options.userId,
+ optOut: e.options.optOut,
+ sessionId: e._sessionId,
+ lastEventTime: e._lastEventTime,
+ eventId: e._eventId,
+ identifyId: e._identifyId,
+ sequenceNumber: e._sequenceNumber
};
-
- function A(e) {
- try {
- return e.then
- } catch (e) {
- return C.error = e, C
- }
+ e._useOldCookie ? e.cookieStorage.set(e.options.cookieName + e._storageSuffix, t) : e._metadataStorage.save(t)
+ };
+ Ae.prototype._initUtmData = function(e, t) {
+ e = e || this._getUrlParams(), t = t || this.cookieStorage.get("__utmz");
+ var n, a, r, i, o, s, l, c, u, d, p, h = (a = e, r = (n = t) ? "?" + n.split(".").slice(-1)[0].replace(/\|/g, "&") : "", i = function(e, t, n, a) {
+ return N(e, t) || N(n, a)
+ }, o = i(g.UTM_SOURCE, a, "utmcsr", r), s = i(g.UTM_MEDIUM, a, "utmcmd", r), l = i(g.UTM_CAMPAIGN, a, "utmccn", r), c = i(g.UTM_TERM, a, "utmctr", r), u = i(g.UTM_CONTENT, a, "utmcct", r), d = {}, (p = function(e, t) {
+ O(t) || (d[e] = t)
+ })(g.UTM_SOURCE, o), p(g.UTM_MEDIUM, s), p(g.UTM_CAMPAIGN, l), p(g.UTM_TERM, c), p(g.UTM_CONTENT, u), d);
+ return Oe(this, h), h
+ }, Ae.prototype._unsetUTMParams = function() {
+ var e = new ce;
+ e.unset(g.REFERRER), e.unset(g.UTM_SOURCE), e.unset(g.UTM_MEDIUM), e.unset(g.UTM_CAMPAIGN), e.unset(g.UTM_TERM), e.unset(g.UTM_CONTENT), this.identify(e)
+ };
+ var Oe = function(e, t) {
+ if ("object" === _(t) && 0 !== Object.keys(t).length) {
+ var n = new ce;
+ for (var a in t) Object.prototype.hasOwnProperty.call(t, a) && (n.setOnce("initial_" + a, t[a]), n.set(a, t[a]));
+ e.identify(n)
}
-
- function j(t, n, a) {
- n.constructor === t.constructor && a === _ && n.constructor.resolve === w ? function(e, t) {
- 1 === t._state ? T(e, t._result) : 2 === t._state ? O(e, t._result) : M(t, void 0, (function(t) {
- return P(e, t)
- }), (function(t) {
- return O(e, t)
- }))
- }(t, n) : a === C ? (O(t, C.error), C.error = null) : void 0 === a ? T(t, n) : e(a) ? function(e, t, n) {
- s((function(e) {
- var a = !1,
- r = function(e, t, n, a) {
- try {
- e.call(t, n, a)
- } catch (e) {
- return e
- }
- }(n, t, (function(n) {
- a || (a = !0, t !== n ? P(e, n) : T(e, n))
- }), (function(t) {
- a || (a = !0, O(e, t))
- }), e._label);
- !a && r && (a = !0, O(e, r))
- }), e)
- }(t, n, a) : T(t, n)
+ };
+ Ae.prototype._getReferrer = function() {
+ return document.referrer
+ }, Ae.prototype._getUrlParams = function() {
+ return location.search
+ }, Ae.prototype._saveGclid = function(e) {
+ var t = N("gclid", e);
+ if (!O(t)) {
+ var n = {
+ gclid: t
+ };
+ return Oe(this, n), n
}
-
- function P(e, t) {
- var n, a;
- e === t ? O(e, new TypeError("You cannot resolve a promise with itself")) : (a = typeof(n = t), null === n || "object" !== a && "function" !== a ? T(e, t) : j(e, t, A(t)))
+ }, Ae.prototype._saveFbclid = function(e) {
+ var t = N("fbclid", e);
+ if (!O(t)) {
+ var n = {
+ fbclid: t
+ };
+ return Oe(this, n), n
+ }
+ }, Ae.prototype._getDeviceIdFromUrlParam = function(e) {
+ return N(g.AMP_DEVICE_ID_PARAM, e)
+ }, Ae.prototype._getReferringDomain = function(e) {
+ if (O(e)) return null;
+ var t = e.split("/");
+ return t.length >= 3 ? t[2] : null
+ }, Ae.prototype._saveReferrer = function(e) {
+ if (!O(e)) {
+ var t = {
+ referrer: e,
+ referring_domain: this._getReferringDomain(e)
+ };
+ return Oe(this, t), t
}
-
- function D(e) {
- e._onerror && e._onerror(e._result), I(e)
+ }, Ae.prototype.saveEvents = function() {
+ try {
+ var e = JSON.stringify(this._unsentEvents.map((function(e) {
+ return e.event
+ })));
+ this._setInStorage(re, this.options.unsentKey, e)
+ } catch (e) {}
+ try {
+ var t = JSON.stringify(this._unsentIdentifys.map((function(e) {
+ return e.event
+ })));
+ this._setInStorage(re, this.options.unsentIdentifyKey, t)
+ } catch (e) {}
+ }, Ae.prototype.setDomain = function(e) {
+ if (this._shouldDeferCall()) return this._q.push(["setDomain"].concat(Array.prototype.slice.call(arguments, 0)));
+ if (L(e, "domain", "string")) try {
+ this.cookieStorage.options({
+ expirationDays: this.options.cookieExpiration,
+ secure: this.options.secureCookie,
+ domain: e,
+ sameSite: this.options.sameSiteCookie
+ }), this.options.domain = this.cookieStorage.options().domain, Pe(this), Ie(this)
+ } catch (e) {
+ I.error(e)
}
-
- function T(e, t) {
- e._state === x && (e._result = t, e._state = 1, 0 !== e._subscribers.length && s(I, e))
+ }, Ae.prototype.setUserId = function(e) {
+ if (this._shouldDeferCall()) return this._q.push(["setUserId"].concat(Array.prototype.slice.call(arguments, 0)));
+ try {
+ this.options.userId = null != e && "" + e || null, Ie(this)
+ } catch (e) {
+ I.error(e)
}
-
- function O(e, t) {
- e._state === x && (e._state = 2, e._result = t, s(D, e))
+ }, Ae.prototype.setGroup = function(e, t) {
+ if (this._shouldDeferCall()) return this._q.push(["setGroup"].concat(Array.prototype.slice.call(arguments, 0)));
+ if (this._apiKeySet("setGroup()") && L(e, "groupType", "string") && !O(e)) {
+ var n = {};
+ n[e] = t;
+ var a = (new ce).set(e, t);
+ this._logEvent(g.IDENTIFY_EVENT, null, null, a.userPropertiesOperations, n, null, null, null)
+ }
+ }, Ae.prototype.setOptOut = function(e) {
+ if (this._shouldDeferCall()) return this._q.push(["setOptOut"].concat(Array.prototype.slice.call(arguments, 0)));
+ if (L(e, "enable", "boolean")) try {
+ this.options.optOut = e, Ie(this)
+ } catch (e) {
+ I.error(e)
}
-
- function M(e, t, n, a) {
- var r = e._subscribers,
- i = r.length;
- e._onerror = null, r[i] = t, r[i + 1] = n, r[i + 2] = a, 0 === i && e._state && s(I, e)
+ }, Ae.prototype.setSessionId = function(e) {
+ if (L(e, "sessionId", "number")) try {
+ this._sessionId = e, Ie(this)
+ } catch (e) {
+ I.error(e)
+ }
+ }, Ae.prototype.resetSessionId = function() {
+ this.setSessionId((new Date).getTime())
+ }, Ae.prototype.regenerateDeviceId = function() {
+ if (this._shouldDeferCall()) return this._q.push(["regenerateDeviceId"].concat(Array.prototype.slice.call(arguments, 0)));
+ this.setDeviceId(B())
+ }, Ae.prototype.setDeviceId = function(e) {
+ if (this._shouldDeferCall()) return this._q.push(["setDeviceId"].concat(Array.prototype.slice.call(arguments, 0)));
+ if (L(e, "deviceId", "string")) try {
+ O(e) || (this.options.deviceId = "" + e, Ie(this))
+ } catch (e) {
+ I.error(e)
}
-
- function I(e) {
- var t = e._subscribers,
- n = e._state;
- if (0 !== t.length) {
- for (var a = void 0, r = void 0, i = e._result, o = 0; o < t.length; o += 3) a = t[o], r = t[o + n], a ? N(n, a, r, i) : r(i);
- e._subscribers.length = 0
+ }, Ae.prototype.setUserProperties = function(e) {
+ if (this._shouldDeferCall()) return this._q.push(["setUserProperties"].concat(Array.prototype.slice.call(arguments, 0)));
+ if (this._apiKeySet("setUserProperties()") && L(e, "userProperties", "object")) {
+ var t = R(F(e));
+ if (0 !== Object.keys(t).length) {
+ var n = new ce;
+ for (var a in t) Object.prototype.hasOwnProperty.call(t, a) && n.set(a, t[a]);
+ this.identify(n)
}
}
-
- function N(t, n, a, r) {
- var i = e(a),
- o = void 0,
- s = void 0,
- l = void 0,
- c = void 0;
- if (i) {
- if ((o = function(e, t) {
- try {
- return e(t)
- } catch (e) {
- return C.error = e, C
- }
- }(a, r)) === C ? (c = !0, s = o.error, o.error = null) : l = !0, n === o) return void O(n, new TypeError("A promises callback cannot return that same promise."))
- } else o = r, l = !0;
- n._state !== x || (i && l ? P(n, o) : c ? O(n, s) : 1 === t ? T(n, o) : 2 === t && O(n, o))
- }
- var z = 0;
-
- function R(e) {
- e[S] = z++, e._state = void 0, e._result = void 0, e._subscribers = []
- }
- var L = function() {
- function e(e, n) {
- this._instanceConstructor = e, this.promise = new e(E), this.promise[S] || R(this.promise), t(n) ? (this.length = n.length, this._remaining = n.length, this._result = new Array(this.length), 0 === this.length ? T(this.promise, this._result) : (this.length = this.length || 0, this._enumerate(n), 0 === this._remaining && T(this.promise, this._result))) : O(this.promise, new Error("Array Methods must be provided an Array"))
- }
- return e.prototype._enumerate = function(e) {
- for (var t = 0; this._state === x && t < e.length; t++) this._eachEntry(e[t], t)
- }, e.prototype._eachEntry = function(e, t) {
- var n = this._instanceConstructor,
- a = n.resolve;
- if (a === w) {
- var r = A(e);
- if (r === _ && e._state !== x) this._settledAt(e._state, t, e._result);
- else if ("function" != typeof r) this._remaining--, this._result[t] = e;
- else if (n === F) {
- var i = new n(E);
- j(i, e, r), this._willSettleAt(i, t)
- } else this._willSettleAt(new n((function(t) {
- return t(e)
- })), t)
- } else this._willSettleAt(a(e), t)
- }, e.prototype._settledAt = function(e, t, n) {
- var a = this.promise;
- a._state === x && (this._remaining--, 2 === e ? O(a, n) : this._result[t] = n), 0 === this._remaining && T(a, this._result)
- }, e.prototype._willSettleAt = function(e, t) {
- var n = this;
- M(e, void 0, (function(e) {
- return n._settledAt(1, t, e)
- }), (function(e) {
- return n._settledAt(2, t, e)
- }))
- }, e
- }();
- var F = function() {
- function e(t) {
- this[S] = z++, this._result = this._state = void 0, this._subscribers = [], E !== t && ("function" != typeof t && function() {
- throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")
- }(), this instanceof e ? function(e, t) {
- try {
- t((function(t) {
- P(e, t)
- }), (function(t) {
- O(e, t)
- }))
- } catch (t) {
- O(e, t)
- }
- }(this, t) : function() {
- throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")
- }())
- }
- return e.prototype.catch = function(e) {
- return this.then(null, e)
- }, e.prototype.finally = function(e) {
- var t = this.constructor;
- return this.then((function(n) {
- return t.resolve(e()).then((function() {
- return n
- }))
- }), (function(n) {
- return t.resolve(e()).then((function() {
- throw n
- }))
- }))
- }, e
- }();
- return F.prototype.then = _, F.all = function(e) {
- return new L(this, e).promise
- }, F.race = function(e) {
- var n = this;
- return t(e) ? new n((function(t, a) {
- for (var r = e.length, i = 0; i < r; i++) n.resolve(e[i]).then(t, a)
- })) : new n((function(e, t) {
- return t(new TypeError("You must pass an array to race."))
- }))
- }, F.resolve = w, F.reject = function(e) {
- var t = new this(E);
- return O(t, e), t
- }, F._setScheduler = function(e) {
- o = e
- }, F._setAsap = function(e) {
- s = e
- }, F._asap = s, F.polyfill = function() {
- var e = void 0;
- if (void 0 !== n.g) e = n.g;
- else if ("undefined" != typeof self) e = self;
+ }, Ae.prototype.clearUserProperties = function() {
+ if (this._shouldDeferCall()) return this._q.push(["clearUserProperties"].concat(Array.prototype.slice.call(arguments, 0)));
+ if (this._apiKeySet("clearUserProperties()")) {
+ var e = new ce;
+ e.clearAll(), this.identify(e)
+ }
+ };
+ var Ne = function(e, t) {
+ for (var n = 0; n < t._q.length; n++) {
+ var a = e[t._q[n][0]];
+ "function" === _(a) && a.apply(e, t._q[n].slice(1))
+ }
+ return e
+ };
+ Ae.prototype.identify = function(e, t) {
+ if (this._shouldDeferCall()) return this._q.push(["identify"].concat(Array.prototype.slice.call(arguments, 0)));
+ if (this._apiKeySet("identify()"))
+ if ("object" === _(e) && Object.prototype.hasOwnProperty.call(e, "_q") && (e = Ne(new ce, e)), e instanceof ce) {
+ if (Object.keys(e.userPropertiesOperations).length > 0) return this._logEvent(g.IDENTIFY_EVENT, null, null, e.userPropertiesOperations, null, null, null, t);
+ "function" === _(t) && t(0, "No request sent", {
+ reason: "No user property operations"
+ })
+ } else I.error("Invalid identify input type. Expected Identify object but saw " + _(e)), "function" === _(t) && t(0, "No request sent", {
+ reason: "Invalid identify input type"
+ });
+ else "function" === _(t) && t(0, "No request sent", {
+ reason: "API key is not set"
+ })
+ }, Ae.prototype.groupIdentify = function(e, t, n, a) {
+ if (this._shouldDeferCall()) return this._q.push(["groupIdentify"].concat(Array.prototype.slice.call(arguments, 0)));
+ if (this._apiKeySet("groupIdentify()"))
+ if (L(e, "group_type", "string") && !O(e))
+ if (null != t)
+ if ("object" === _(n) && Object.prototype.hasOwnProperty.call(n, "_q") && (n = Ne(new ce, n)), n instanceof ce) {
+ if (Object.keys(n.userPropertiesOperations).length > 0) return this._logEvent(g.GROUP_IDENTIFY_EVENT, null, null, null, r({}, e, t), n.userPropertiesOperations, null, a);
+ "function" === _(a) && a(0, "No request sent", {
+ reason: "No group property operations"
+ })
+ } else I.error("Invalid identify input type. Expected Identify object but saw " + _(n)), "function" === _(a) && a(0, "No request sent", {
+ reason: "Invalid identify input type"
+ });
+ else "function" === _(a) && a(0, "No request sent", {
+ reason: "Invalid group name"
+ });
+ else "function" === _(a) && a(0, "No request sent", {
+ reason: "Invalid group type"
+ });
+ else "function" === _(a) && a(0, "No request sent", {
+ reason: "API key is not set"
+ })
+ }, Ae.prototype.setVersionName = function(e) {
+ if (this._shouldDeferCall()) return this._q.push(["setVersionName"].concat(Array.prototype.slice.call(arguments, 0)));
+ L(e, "versionName", "string") && (this.options.versionName = e)
+ }, Ae.prototype._logEvent = function(e, t, n, a, r, o, s, l) {
+ if (Pe(this), e)
+ if (this.options.optOut) "function" === _(l) && l(0, "No request sent", {
+ reason: "optOut is set to true"
+ });
else try {
- e = Function("return this")()
+ var c;
+ c = e === g.IDENTIFY_EVENT || e === g.GROUP_IDENTIFY_EVENT ? this.nextIdentifyId() : this.nextEventId();
+ var u = this.nextSequenceNumber(),
+ d = "number" === _(s) ? s : (new Date).getTime();
+ (!this._sessionId || !this._lastEventTime || d - this._lastEventTime > this.options.sessionTimeout) && (this._sessionId = d), this._lastEventTime = d, Ie(this);
+ var p = this._ua.browser.name,
+ h = this._ua.browser.major,
+ m = this._ua.os.name;
+ a = a || {};
+ var f = i({}, this._apiPropertiesTrackingOptions);
+ n = i({}, n || {}, f), t = t || {}, r = r || {}, o = o || {};
+ var b = {
+ device_id: this.options.deviceId,
+ user_id: this.options.userId,
+ timestamp: d,
+ event_id: c,
+ session_id: this._sessionId || -1,
+ event_type: e,
+ version_name: this.options.versionName || null,
+ platform: Re(this, "platform") ? this.options.platform : null,
+ os_name: Re(this, "os_name") && p || null,
+ os_version: Re(this, "os_version") && h || null,
+ device_model: Re(this, "device_model") && m || null,
+ language: Re(this, "language") ? this.options.language : null,
+ api_properties: n,
+ event_properties: R(F(t)),
+ user_properties: R(F(a)),
+ uuid: Ee(),
+ library: {
+ name: "amplitude-js",
+ version: xe
+ },
+ sequence_number: u,
+ groups: R(z(r)),
+ group_properties: R(F(o)),
+ user_agent: this._userAgent
+ };
+ return e === g.IDENTIFY_EVENT || e === g.GROUP_IDENTIFY_EVENT ? (this._unsentIdentifys.push({
+ event: b,
+ callback: l
+ }), this._limitEventsQueued(this._unsentIdentifys)) : (this._unsentEvents.push({
+ event: b,
+ callback: l
+ }), this._limitEventsQueued(this._unsentEvents)), this.options.saveEvents && this.saveEvents(), this._sendEventsIfReady(), c
} catch (e) {
- throw new Error("polyfill failed because global object is unavailable in this environment")
- }
- var t = e.Promise;
- if (t) {
- var a = null;
- try {
- a = Object.prototype.toString.call(t.resolve())
- } catch (e) {}
- if ("[object Promise]" === a && !t.cast) return
+ I.error(e)
+ } else "function" === _(l) && l(0, "No request sent", {
+ reason: "Missing eventType"
+ })
+ };
+ var Re = function(e, t) {
+ return !!e.options.trackingOptions[t]
+ },
+ ze = function(e) {
+ for (var t = ["city", "country", "dma", "ip_address", "region"], n = {}, a = 0; a < t.length; a++) {
+ var r = t[a];
+ Re(e, r) || (n[r] = !1)
}
- e.Promise = F
- }, F.Promise = F, F
- }()
- }, 9620: e => {
- "use strict";
- var t, n = "object" == typeof Reflect ? Reflect : null,
- a = n && "function" == typeof n.apply ? n.apply : function(e, t, n) {
- return Function.prototype.apply.call(e, t, n)
+ return n
};
- t = n && "function" == typeof n.ownKeys ? n.ownKeys : Object.getOwnPropertySymbols ? function(e) {
- return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))
- } : function(e) {
- return Object.getOwnPropertyNames(e)
+ Ae.prototype._limitEventsQueued = function(e) {
+ e.length > this.options.savedMaxCount && e.splice(0, e.length - this.options.savedMaxCount).forEach((function(e) {
+ "function" === _(e.callback) && e.callback(0, "No request sent", {
+ reason: "Event dropped because options.savedMaxCount exceeded. User may be offline or have a content blocker"
+ })
+ }))
+ }, Ae.prototype.logEvent = function(e, t, n) {
+ return this._shouldDeferCall() ? this._q.push(["logEvent"].concat(Array.prototype.slice.call(arguments, 0))) : this.logEventWithTimestamp(e, t, null, n)
+ }, Ae.prototype.logEventWithTimestamp = function(e, t, n, a) {
+ return this._shouldDeferCall() ? this._q.push(["logEventWithTimestamp"].concat(Array.prototype.slice.call(arguments, 0))) : this._apiKeySet("logEvent()") ? L(e, "eventType", "string") ? O(e) ? ("function" === _(a) && a(0, "No request sent", {
+ reason: "Missing eventType"
+ }), -1) : this._logEvent(e, t, null, null, null, null, n, a) : ("function" === _(a) && a(0, "No request sent", {
+ reason: "Invalid type for eventType"
+ }), -1) : ("function" === _(a) && a(0, "No request sent", {
+ reason: "API key not set"
+ }), -1)
+ }, Ae.prototype.logEventWithGroups = function(e, t, n, a) {
+ return this._shouldDeferCall() ? this._q.push(["logEventWithGroups"].concat(Array.prototype.slice.call(arguments, 0))) : this._apiKeySet("logEventWithGroups()") ? L(e, "eventType", "string") ? this._logEvent(e, t, null, null, n, null, null, a) : ("function" === _(a) && a(0, "No request sent", {
+ reason: "Invalid type for eventType"
+ }), -1) : ("function" === _(a) && a(0, "No request sent", {
+ reason: "API key not set"
+ }), -1)
};
- var r = Number.isNaN || function(e) {
- return e != e
+ var Le = function(e) {
+ return !isNaN(parseFloat(e)) && isFinite(e)
};
-
- function i() {
- i.init.call(this)
- }
- e.exports = i, e.exports.once = function(e, t) {
- return new Promise((function(n, a) {
- function r(n) {
- e.removeListener(t, i), a(n)
+ Ae.prototype.logRevenueV2 = function(e) {
+ if (this._shouldDeferCall()) return this._q.push(["logRevenueV2"].concat(Array.prototype.slice.call(arguments, 0)));
+ if (this._apiKeySet("logRevenueV2()"))
+ if ("object" === _(e) && Object.prototype.hasOwnProperty.call(e, "_q") && (e = Ne(new we, e)), e instanceof we) {
+ if (e && e._isValidRevenue()) return this.logEvent(g.REVENUE_EVENT, e._toJSONObject())
+ } else I.error("Invalid revenue input type. Expected Revenue object but saw " + _(e))
+ }, Ae.prototype.logRevenue = function(e, t, n) {
+ return this._shouldDeferCall() ? this._q.push(["logRevenue"].concat(Array.prototype.slice.call(arguments, 0))) : this._apiKeySet("logRevenue()") && Le(e) && (void 0 === t || Le(t)) ? this._logEvent(g.REVENUE_EVENT, {}, {
+ productId: n,
+ special: "revenue_amount",
+ quantity: t || 1,
+ price: e
+ }, null, null, null, null, null) : -1
+ }, Ae.prototype.removeEvents = function(e, t, n, a) {
+ Fe(this, "_unsentEvents", e, n, a), Fe(this, "_unsentIdentifys", t, n, a)
+ };
+ var Fe = function(e, t, n, a, r) {
+ if (!(n < 0)) {
+ for (var i = [], o = 0; o < e[t].length; o++) {
+ var s = e[t][o];
+ s.event.event_id > n ? i.push(s) : s.callback && s.callback(a, r)
}
-
- function i() {
- "function" == typeof e.removeListener && e.removeListener("error", r), n([].slice.call(arguments))
+ e[t] = i
+ }
+ };
+ Ae.prototype.sendEvents = function() {
+ if (this._apiKeySet("sendEvents()")) {
+ if (this.options.optOut) this.removeEvents(1 / 0, 1 / 0, 0, "No request sent", {
+ reason: "Opt out is set to true"
+ });
+ else if (0 !== this._unsentCount() && !this._sending) {
+ this._sending = !0;
+ var e = (this.options.forceHttps || "https:" === window.location.protocol ? "https" : "http") + "://" + this.options.apiEndpoint,
+ t = Math.min(this._unsentCount(), this.options.uploadBatchSize),
+ n = this._mergeEventsAndIdentifys(t),
+ a = n.maxEventId,
+ r = n.maxIdentifyId,
+ i = JSON.stringify(n.eventsToSend.map((function(e) {
+ return e.event
+ }))),
+ o = (new Date).getTime(),
+ s = {
+ client: this.options.apiKey,
+ e: i,
+ v: g.API_VERSION,
+ upload_time: o,
+ checksum: pe(g.API_VERSION + this.options.apiKey + i + o)
+ },
+ l = this;
+ new _e(e, s, this.options.headers).send((function(e, n) {
+ l._sending = !1;
+ try {
+ 200 === e && "success" === n ? (l.removeEvents(a, r, e, n), l.options.saveEvents && l.saveEvents(), l._sendEventsIfReady()) : 413 === e && (1 === l.options.uploadBatchSize && l.removeEvents(a, r, e, n), l.options.uploadBatchSize = Math.ceil(t / 2), l.sendEvents())
+ } catch (e) {}
+ }))
}
- f(e, t, i, {
- once: !0
- }), "error" !== t && function(e, t, n) {
- "function" == typeof e.on && f(e, "error", t, {
- once: !0
- })
- }(e, r)
- }))
- }, i.EventEmitter = i, i.prototype._events = void 0, i.prototype._eventsCount = 0, i.prototype._maxListeners = void 0;
- var o = 10;
-
- function s(e) {
- if ("function" != typeof e) throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof e)
- }
-
- function l(e) {
- return void 0 === e._maxListeners ? i.defaultMaxListeners : e._maxListeners
- }
-
- function c(e, t, n, a) {
- var r, i, o, c;
- if (s(n), void 0 === (i = e._events) ? (i = e._events = Object.create(null), e._eventsCount = 0) : (void 0 !== i.newListener && (e.emit("newListener", t, n.listener ? n.listener : n), i = e._events), o = i[t]), void 0 === o) o = i[t] = n, ++e._eventsCount;
- else if ("function" == typeof o ? o = i[t] = a ? [n, o] : [o, n] : a ? o.unshift(n) : o.push(n), (r = l(e)) > 0 && o.length > r && !o.warned) {
- o.warned = !0;
- var u = new Error("Possible EventEmitter memory leak detected. " + o.length + " " + String(t) + " listeners added. Use emitter.setMaxListeners() to increase limit");
- u.name = "MaxListenersExceededWarning", u.emitter = e, u.type = t, u.count = o.length, c = u, console && console.warn && console.warn(c)
+ } else this.removeEvents(1 / 0, 1 / 0, 0, "No request sent", {
+ reason: "API key not set"
+ })
+ }, Ae.prototype._mergeEventsAndIdentifys = function(e) {
+ for (var t = [], n = 0, a = -1, r = 0, i = -1; t.length < e;) {
+ var o = void 0,
+ s = r >= this._unsentIdentifys.length,
+ l = n >= this._unsentEvents.length;
+ if (l && s) {
+ I.error("Merging Events and Identifys, less events and identifys than expected");
+ break
+ }
+ s ? a = (o = this._unsentEvents[n++]).event.event_id : l ? i = (o = this._unsentIdentifys[r++]).event.event_id : !("sequence_number" in this._unsentEvents[n].event) || this._unsentEvents[n].event.sequence_number < this._unsentIdentifys[r].event.sequence_number ? a = (o = this._unsentEvents[n++]).event.event_id : i = (o = this._unsentIdentifys[r++]).event.event_id, t.push(o)
}
- return e
- }
+ return {
+ eventsToSend: t,
+ maxEventId: a,
+ maxIdentifyId: i
+ }
+ }, Ae.prototype.setGlobalUserProperties = function(e) {
+ this.setUserProperties(e)
+ }, Ae.prototype.__VERSION__ = xe, Ae.prototype._shouldDeferCall = function() {
+ return this._pendingReadStorage || this._initializationDeferred
+ }, Ae.prototype._deferInitialization = function() {
+ this._initializationDeferred = !0, this._q.push(["init"].concat(Array.prototype.slice.call(arguments, 0)))
+ }, Ae.prototype.enableTracking = function() {
+ this._initializationDeferred = !1, Ie(this), this.runQueuedFunctions()
+ };
+ var qe = function() {
+ this.options = i({}, Ce), this._q = [], this._instances = {}
+ };
+ qe.prototype.Identify = ce, qe.prototype.Revenue = we, qe.prototype.getInstance = function(e) {
+ e = O(e) ? g.DEFAULT_INSTANCE : e.toLowerCase();
+ var t = this._instances[e];
+ return void 0 === t && (t = new Ae(e), this._instances[e] = t), t
+ }, qe.prototype.runQueuedFunctions = function() {
+ for (var e = 0; e < this._q.length; e++) {
+ var t = this[this._q[e][0]];
+ "function" === _(t) && t.apply(this, this._q[e].slice(1))
+ }
+ for (var n in this._q = [], this._instances) Object.prototype.hasOwnProperty.call(this._instances, n) && this._instances[n].runQueuedFunctions()
+ }, qe.prototype.init = function(e, t, n, a) {
+ this.getInstance().init(e, t, n, function(e) {
+ this.options = e.options, "function" === _(a) && a(e)
+ }.bind(this))
+ }, qe.prototype.isNewSession = function() {
+ return this.getInstance().isNewSession()
+ }, qe.prototype.getSessionId = function() {
+ return this.getInstance().getSessionId()
+ }, qe.prototype.nextEventId = function() {
+ return this.getInstance().nextEventId()
+ }, qe.prototype.nextIdentifyId = function() {
+ return this.getInstance().nextIdentifyId()
+ }, qe.prototype.nextSequenceNumber = function() {
+ return this.getInstance().nextSequenceNumber()
+ }, qe.prototype.saveEvents = function() {
+ this.getInstance().saveEvents()
+ }, qe.prototype.setDomain = function(e) {
+ this.getInstance().setDomain(e)
+ }, qe.prototype.setUserId = function(e) {
+ this.getInstance().setUserId(e)
+ }, qe.prototype.setGroup = function(e, t) {
+ this.getInstance().setGroup(e, t)
+ }, qe.prototype.setOptOut = function(e) {
+ this.getInstance().setOptOut(e)
+ }, qe.prototype.regenerateDeviceId = function() {
+ this.getInstance().regenerateDeviceId()
+ }, qe.prototype.setDeviceId = function(e) {
+ this.getInstance().setDeviceId(e)
+ }, qe.prototype.setUserProperties = function(e) {
+ this.getInstance().setUserProperties(e)
+ }, qe.prototype.clearUserProperties = function() {
+ this.getInstance().clearUserProperties()
+ }, qe.prototype.identify = function(e, t) {
+ this.getInstance().identify(e, t)
+ }, qe.prototype.setVersionName = function(e) {
+ this.getInstance().setVersionName(e)
+ }, qe.prototype.logEvent = function(e, t, n) {
+ return this.getInstance().logEvent(e, t, n)
+ }, qe.prototype.logEventWithGroups = function(e, t, n, a) {
+ return this.getInstance().logEventWithGroups(e, t, n, a)
+ }, qe.prototype.logRevenueV2 = function(e) {
+ return this.getInstance().logRevenueV2(e)
+ }, qe.prototype.logRevenue = function(e, t, n) {
+ return this.getInstance().logRevenue(e, t, n)
+ }, qe.prototype.removeEvents = function(e, t) {
+ this.getInstance().removeEvents(e, t)
+ }, qe.prototype.sendEvents = function(e) {
+ this.getInstance().sendEvents(e)
+ }, qe.prototype.setGlobalUserProperties = function(e) {
+ this.getInstance().setUserProperties(e)
+ }, qe.prototype.__VERSION__ = xe;
+ var Be = window.amplitude || {},
+ Ue = new qe;
+ for (var He in Ue._q = Be._q || [], Be._iq) Object.prototype.hasOwnProperty.call(Be._iq, He) && (Ue.getInstance(He)._q = Be._iq[He]._q || []);
+ return Ue.runQueuedFunctions(), Ue
+ }()
+}, 6952: e => {
+ "use strict";
+ e.exports = function(e, t, n) {
+ if ("function" == typeof Array.prototype.find) return e.find(t, n);
+ n = n || this;
+ var a, r = e.length;
+ if ("function" != typeof t) throw new TypeError(t + " is not a function");
+ for (a = 0; a < r; a++)
+ if (t.call(n, e[a], a, e)) return e[a]
+ }
+}, 7943: (e, t) => {
+ "use strict";
+ t.byteLength = function(e) {
+ var t = l(e),
+ n = t[0],
+ a = t[1];
+ return 3 * (n + a) / 4 - a
+ }, t.toByteArray = function(e) {
+ var t, n, i = l(e),
+ o = i[0],
+ s = i[1],
+ c = new r(function(e, t, n) {
+ return 3 * (t + n) / 4 - n
+ }(0, o, s)),
+ u = 0,
+ d = s > 0 ? o - 4 : o;
+ for (n = 0; n < d; n += 4) t = a[e.charCodeAt(n)] << 18 | a[e.charCodeAt(n + 1)] << 12 | a[e.charCodeAt(n + 2)] << 6 | a[e.charCodeAt(n + 3)], c[u++] = t >> 16 & 255, c[u++] = t >> 8 & 255, c[u++] = 255 & t;
+ return 2 === s && (t = a[e.charCodeAt(n)] << 2 | a[e.charCodeAt(n + 1)] >> 4, c[u++] = 255 & t), 1 === s && (t = a[e.charCodeAt(n)] << 10 | a[e.charCodeAt(n + 1)] << 4 | a[e.charCodeAt(n + 2)] >> 2, c[u++] = t >> 8 & 255, c[u++] = 255 & t), c
+ }, t.fromByteArray = function(e) {
+ for (var t, a = e.length, r = a % 3, i = [], o = 16383, s = 0, l = a - r; s < l; s += o) i.push(c(e, s, s + o > l ? l : s + o));
+ return 1 === r ? (t = e[a - 1], i.push(n[t >> 2] + n[t << 4 & 63] + "==")) : 2 === r && (t = (e[a - 2] << 8) + e[a - 1], i.push(n[t >> 10] + n[t >> 4 & 63] + n[t << 2 & 63] + "=")), i.join("")
+ };
+ for (var n = [], a = [], r = "undefined" != typeof Uint8Array ? Uint8Array : Array, i = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", o = 0, s = i.length; o < s; ++o) n[o] = i[o], a[i.charCodeAt(o)] = o;
- function u() {
- if (!this.fired) return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, 0 === arguments.length ? this.listener.call(this.target) : this.listener.apply(this.target, arguments)
- }
+ function l(e) {
+ var t = e.length;
+ if (t % 4 > 0) throw new Error("Invalid string. Length must be a multiple of 4");
+ var n = e.indexOf("=");
+ return -1 === n && (n = t), [n, n === t ? 0 : 4 - n % 4]
+ }
- function d(e, t, n) {
- var a = {
- fired: !1,
- wrapFn: void 0,
- target: e,
- type: t,
- listener: n
- },
- r = u.bind(a);
- return r.listener = n, a.wrapFn = r, r
- }
+ function c(e, t, a) {
+ for (var r, i, o = [], s = t; s < a; s += 3) r = (e[s] << 16 & 16711680) + (e[s + 1] << 8 & 65280) + (255 & e[s + 2]), o.push(n[(i = r) >> 18 & 63] + n[i >> 12 & 63] + n[i >> 6 & 63] + n[63 & i]);
+ return o.join("")
+ }
+ a["-".charCodeAt(0)] = 62, a["_".charCodeAt(0)] = 63
+}, 8912: function(e, t, n) {
+ "use strict";
+ var a = this && this.__assign || function() {
+ return a = Object.assign || function(e) {
+ for (var t, n = 1, a = arguments.length; n < a; n++)
+ for (var r in t = arguments[n]) Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]);
+ return e
+ }, a.apply(this, arguments)
+ };
+ Object.defineProperty(t, "__esModule", {
+ value: !0
+ }), t.bindAll = void 0;
+ var r = n(4395);
- function p(e, t, n) {
- var a = e._events;
- if (void 0 === a) return [];
- var r = a[t];
- return void 0 === r ? [] : "function" == typeof r ? n ? [r.listener || r] : [r] : n ? function(e) {
- for (var t = new Array(e.length), n = 0; n < t.length; ++n) t[n] = e[n].listener || e[n];
- return t
- }(r) : m(r, r.length)
+ function i(e) {
+ if (void 0 !== e) return "boolean" == typeof e ? {
+ capture: e
+ } : e
+ }
+ t.bindAll = function(e, t, n) {
+ var o = t.map((function(t) {
+ var o = function(e, t) {
+ return null == t ? e : a(a({}, e), {
+ options: a(a({}, i(t)), i(e.options))
+ })
+ }(t, n);
+ return r.bind(e, o)
+ }));
+ return function() {
+ o.forEach((function(e) {
+ return e()
+ }))
}
-
- function h(e) {
- var t = this._events;
- if (void 0 !== t) {
- var n = t[e];
- if ("function" == typeof n) return 1;
- if (void 0 !== n) return n.length
+ }
+}, 4395: (e, t) => {
+ "use strict";
+ Object.defineProperty(t, "__esModule", {
+ value: !0
+ }), t.bind = void 0, t.bind = function(e, t) {
+ var n = t.type,
+ a = t.listener,
+ r = t.options;
+ return e.addEventListener(n, a, r),
+ function() {
+ e.removeEventListener(n, a, r)
}
- return 0
- }
-
- function m(e, t) {
- for (var n = new Array(t), a = 0; a < t; ++a) n[a] = e[a];
- return n
+ }
+}, 412: (e, t, n) => {
+ "use strict";
+ var a = n(4395);
+ Object.defineProperty(t, "ak", {
+ enumerable: !0,
+ get: function() {
+ return a.bind
}
+ });
+ n(8912)
+}, 1481: function(e) {
+ e.exports = function(e) {
+ var t = {};
- function f(e, t, n, a) {
- if ("function" == typeof e.on) a.once ? e.once(t, n) : e.on(t, n);
- else {
- if ("function" != typeof e.addEventListener) throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof e);
- e.addEventListener(t, (function r(i) {
- a.once && e.removeEventListener(t, r), n(i)
- }))
- }
+ function n(a) {
+ if (t[a]) return t[a].exports;
+ var r = t[a] = {
+ i: a,
+ l: !1,
+ exports: {}
+ };
+ return e[a].call(r.exports, r, r.exports, n), r.l = !0, r.exports
}
- Object.defineProperty(i, "defaultMaxListeners", {
- enumerable: !0,
- get: function() {
- return o
- },
- set: function(e) {
- if ("number" != typeof e || e < 0 || r(e)) throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + e + ".");
- o = e
- }
- }), i.init = function() {
- void 0 !== this._events && this._events !== Object.getPrototypeOf(this)._events || (this._events = Object.create(null), this._eventsCount = 0), this._maxListeners = this._maxListeners || void 0
- }, i.prototype.setMaxListeners = function(e) {
- if ("number" != typeof e || e < 0 || r(e)) throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + e + ".");
- return this._maxListeners = e, this
- }, i.prototype.getMaxListeners = function() {
- return l(this)
- }, i.prototype.emit = function(e) {
- for (var t = [], n = 1; n < arguments.length; n++) t.push(arguments[n]);
- var r = "error" === e,
- i = this._events;
- if (void 0 !== i) r = r && void 0 === i.error;
- else if (!r) return !1;
- if (r) {
- var o;
- if (t.length > 0 && (o = t[0]), o instanceof Error) throw o;
- var s = new Error("Unhandled error." + (o ? " (" + o.message + ")" : ""));
- throw s.context = o, s
- }
- var l = i[e];
- if (void 0 === l) return !1;
- if ("function" == typeof l) a(l, this, t);
- else {
- var c = l.length,
- u = m(l, c);
- for (n = 0; n < c; ++n) a(u[n], this, t)
- }
- return !0
- }, i.prototype.addListener = function(e, t) {
- return c(this, e, t, !1)
- }, i.prototype.on = i.prototype.addListener, i.prototype.prependListener = function(e, t) {
- return c(this, e, t, !0)
- }, i.prototype.once = function(e, t) {
- return s(t), this.on(e, d(this, e, t)), this
- }, i.prototype.prependOnceListener = function(e, t) {
- return s(t), this.prependListener(e, d(this, e, t)), this
- }, i.prototype.removeListener = function(e, t) {
- var n, a, r, i, o;
- if (s(t), void 0 === (a = this._events)) return this;
- if (void 0 === (n = a[e])) return this;
- if (n === t || n.listener === t) 0 == --this._eventsCount ? this._events = Object.create(null) : (delete a[e], a.removeListener && this.emit("removeListener", e, n.listener || t));
- else if ("function" != typeof n) {
- for (r = -1, i = n.length - 1; i >= 0; i--)
- if (n[i] === t || n[i].listener === t) {
- o = n[i].listener, r = i;
- break
- } if (r < 0) return this;
- 0 === r ? n.shift() : function(e, t) {
- for (; t + 1 < e.length; t++) e[t] = e[t + 1];
- e.pop()
- }(n, r), 1 === n.length && (a[e] = n[0]), void 0 !== a.removeListener && this.emit("removeListener", e, o || t)
- }
- return this
- }, i.prototype.off = i.prototype.removeListener, i.prototype.removeAllListeners = function(e) {
- var t, n, a;
- if (void 0 === (n = this._events)) return this;
- if (void 0 === n.removeListener) return 0 === arguments.length ? (this._events = Object.create(null), this._eventsCount = 0) : void 0 !== n[e] && (0 == --this._eventsCount ? this._events = Object.create(null) : delete n[e]), this;
- if (0 === arguments.length) {
- var r, i = Object.keys(n);
- for (a = 0; a < i.length; ++a) "removeListener" !== (r = i[a]) && this.removeAllListeners(r);
- return this.removeAllListeners("removeListener"), this._events = Object.create(null), this._eventsCount = 0, this
- }
- if ("function" == typeof(t = n[e])) this.removeListener(e, t);
- else if (void 0 !== t)
- for (a = t.length - 1; a >= 0; a--) this.removeListener(e, t[a]);
- return this
- }, i.prototype.listeners = function(e) {
- return p(this, e, !0)
- }, i.prototype.rawListeners = function(e) {
- return p(this, e, !1)
- }, i.listenerCount = function(e, t) {
- return "function" == typeof e.listenerCount ? e.listenerCount(t) : h.call(e, t)
- }, i.prototype.listenerCount = h, i.prototype.eventNames = function() {
- return this._eventsCount > 0 ? t(this._events) : []
- }
- }, 8474: (e, t, n) => {
- var a;
- ! function() {
+ return n.m = e, n.c = t, n.d = function(e, t, a) {
+ n.o(e, t) || Object.defineProperty(e, t, {
+ enumerable: !0,
+ get: a
+ })
+ }, n.r = function(e) {
+ "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {
+ value: "Module"
+ }), Object.defineProperty(e, "__esModule", {
+ value: !0
+ })
+ }, n.t = function(e, t) {
+ if (1 & t && (e = n(e)), 8 & t) return e;
+ if (4 & t && "object" == typeof e && e && e.__esModule) return e;
+ var a = Object.create(null);
+ if (n.r(a), Object.defineProperty(a, "default", {
+ enumerable: !0,
+ value: e
+ }), 2 & t && "string" != typeof e)
+ for (var r in e) n.d(a, r, function(t) {
+ return e[t]
+ }.bind(null, r));
+ return a
+ }, n.n = function(e) {
+ var t = e && e.__esModule ? function() {
+ return e.default
+ } : function() {
+ return e
+ };
+ return n.d(t, "a", t), t
+ }, n.o = function(e, t) {
+ return Object.prototype.hasOwnProperty.call(e, t)
+ }, n.p = "", n(n.s = 90)
+ }({
+ 17: function(e, t, n) {
"use strict";
- var r = !("undefined" == typeof window || !window.document || !window.document.createElement),
- i = {
- canUseDOM: r,
- canUseWorkers: "undefined" != typeof Worker,
- canUseEventListeners: r && !(!window.addEventListener && !window.attachEvent),
- canUseViewport: r && !!window.screen
- };
- void 0 === (a = function() {
- return i
- }.call(t, n, t, e)) || (e.exports = a)
- }()
- }, 9157: (e, t, n) => {
- var a = n(9755),
- r = n(6648);
- void 0 === r.$ && (r.$ = a), void 0 === r.jQuery && (r.jQuery = a), e.exports = a
- }, 6648: (e, t, n) => {
- "use strict";
- e.exports = function() {
- if ("object" == typeof globalThis) return globalThis;
- var e;
- try {
- e = this || new Function("return this")()
- } catch (e) {
- if ("object" == typeof window) return window;
- if ("object" == typeof self) return self;
- if (void 0 !== n.g) return n.g
- }
- return e
- }()
- }, 3763: e => {
- "use strict";
- var t = /([A-Z])/g;
- e.exports = function(e) {
- return e.replace(t, "-$1").toLowerCase()
- }
- }, 8154: (e, t, n) => {
- "use strict";
- var a = n(3763),
- r = /^ms-/;
- e.exports = function(e) {
- return a(e).replace(r, "-ms-")
- }
- }, 8830: () => {
- ! function() {
+ t.__esModule = !0, t.default = void 0;
+ var a = n(18),
+ r = function() {
+ function e() {}
+ return e.getFirstMatch = function(e, t) {
+ var n = t.match(e);
+ return n && n.length > 0 && n[1] || ""
+ }, e.getSecondMatch = function(e, t) {
+ var n = t.match(e);
+ return n && n.length > 1 && n[2] || ""
+ }, e.matchAndReturnConst = function(e, t, n) {
+ if (e.test(t)) return n
+ }, e.getWindowsVersionName = function(e) {
+ switch (e) {
+ case "NT":
+ return "NT";
+ case "XP":
+ case "NT 5.1":
+ return "XP";
+ case "NT 5.0":
+ return "2000";
+ case "NT 5.2":
+ return "2003";
+ case "NT 6.0":
+ return "Vista";
+ case "NT 6.1":
+ return "7";
+ case "NT 6.2":
+ return "8";
+ case "NT 6.3":
+ return "8.1";
+ case "NT 10.0":
+ return "10";
+ default:
+ return
+ }
+ }, e.getMacOSVersionName = function(e) {
+ var t = e.split(".").splice(0, 2).map((function(e) {
+ return parseInt(e, 10) || 0
+ }));
+ if (t.push(0), 10 === t[0]) switch (t[1]) {
+ case 5:
+ return "Leopard";
+ case 6:
+ return "Snow Leopard";
+ case 7:
+ return "Lion";
+ case 8:
+ return "Mountain Lion";
+ case 9:
+ return "Mavericks";
+ case 10:
+ return "Yosemite";
+ case 11:
+ return "El Capitan";
+ case 12:
+ return "Sierra";
+ case 13:
+ return "High Sierra";
+ case 14:
+ return "Mojave";
+ case 15:
+ return "Catalina";
+ default:
+ return
+ }
+ }, e.getAndroidVersionName = function(e) {
+ var t = e.split(".").splice(0, 2).map((function(e) {
+ return parseInt(e, 10) || 0
+ }));
+ if (t.push(0), !(1 === t[0] && t[1] < 5)) return 1 === t[0] && t[1] < 6 ? "Cupcake" : 1 === t[0] && t[1] >= 6 ? "Donut" : 2 === t[0] && t[1] < 2 ? "Eclair" : 2 === t[0] && 2 === t[1] ? "Froyo" : 2 === t[0] && t[1] > 2 ? "Gingerbread" : 3 === t[0] ? "Honeycomb" : 4 === t[0] && t[1] < 1 ? "Ice Cream Sandwich" : 4 === t[0] && t[1] < 4 ? "Jelly Bean" : 4 === t[0] && t[1] >= 4 ? "KitKat" : 5 === t[0] ? "Lollipop" : 6 === t[0] ? "Marshmallow" : 7 === t[0] ? "Nougat" : 8 === t[0] ? "Oreo" : 9 === t[0] ? "Pie" : void 0
+ }, e.getVersionPrecision = function(e) {
+ return e.split(".").length
+ }, e.compareVersions = function(t, n, a) {
+ void 0 === a && (a = !1);
+ var r = e.getVersionPrecision(t),
+ i = e.getVersionPrecision(n),
+ o = Math.max(r, i),
+ s = 0,
+ l = e.map([t, n], (function(t) {
+ var n = o - e.getVersionPrecision(t),
+ a = t + new Array(n + 1).join(".0");
+ return e.map(a.split("."), (function(e) {
+ return new Array(20 - e.length).join("0") + e
+ })).reverse()
+ }));
+ for (a && (s = o - Math.min(r, i)), o -= 1; o >= s;) {
+ if (l[0][o] > l[1][o]) return 1;
+ if (l[0][o] === l[1][o]) {
+ if (o === s) return 0;
+ o -= 1
+ } else if (l[0][o] < l[1][o]) return -1
+ }
+ }, e.map = function(e, t) {
+ var n, a = [];
+ if (Array.prototype.map) return Array.prototype.map.call(e, t);
+ for (n = 0; n < e.length; n += 1) a.push(t(e[n]));
+ return a
+ }, e.getBrowserAlias = function(e) {
+ return a.BROWSER_ALIASES_MAP[e]
+ }, e.getBrowserTypeByAlias = function(e) {
+ return a.BROWSER_MAP[e] || ""
+ }, e
+ }();
+ t.default = r, e.exports = t.default
+ },
+ 18: function(e, t, n) {
"use strict";
+ t.__esModule = !0, t.ENGINE_MAP = t.OS_MAP = t.PLATFORMS_MAP = t.BROWSER_MAP = t.BROWSER_ALIASES_MAP = void 0, t.BROWSER_ALIASES_MAP = {
+ "Amazon Silk": "amazon_silk",
+ "Android Browser": "android",
+ Bada: "bada",
+ BlackBerry: "blackberry",
+ Chrome: "chrome",
+ Chromium: "chromium",
+ Epiphany: "epiphany",
+ Firefox: "firefox",
+ Focus: "focus",
+ Generic: "generic",
+ "Google Search": "google_search",
+ Googlebot: "googlebot",
+ "Internet Explorer": "ie",
+ "K-Meleon": "k_meleon",
+ Maxthon: "maxthon",
+ "Microsoft Edge": "edge",
+ "MZ Browser": "mz",
+ "NAVER Whale Browser": "naver",
+ Opera: "opera",
+ "Opera Coast": "opera_coast",
+ PhantomJS: "phantomjs",
+ Puffin: "puffin",
+ QupZilla: "qupzilla",
+ QQ: "qq",
+ QQLite: "qqlite",
+ Safari: "safari",
+ Sailfish: "sailfish",
+ "Samsung Internet for Android": "samsung_internet",
+ SeaMonkey: "seamonkey",
+ Sleipnir: "sleipnir",
+ Swing: "swing",
+ Tizen: "tizen",
+ "UC Browser": "uc",
+ Vivaldi: "vivaldi",
+ "WebOS Browser": "webos",
+ WeChat: "wechat",
+ "Yandex Browser": "yandex",
+ Roku: "roku"
+ }, t.BROWSER_MAP = {
+ amazon_silk: "Amazon Silk",
+ android: "Android Browser",
+ bada: "Bada",
+ blackberry: "BlackBerry",
+ chrome: "Chrome",
+ chromium: "Chromium",
+ epiphany: "Epiphany",
+ firefox: "Firefox",
+ focus: "Focus",
+ generic: "Generic",
+ googlebot: "Googlebot",
+ google_search: "Google Search",
+ ie: "Internet Explorer",
+ k_meleon: "K-Meleon",
+ maxthon: "Maxthon",
+ edge: "Microsoft Edge",
+ mz: "MZ Browser",
+ naver: "NAVER Whale Browser",
+ opera: "Opera",
+ opera_coast: "Opera Coast",
+ phantomjs: "PhantomJS",
+ puffin: "Puffin",
+ qupzilla: "QupZilla",
+ qq: "QQ Browser",
+ qqlite: "QQ Browser Lite",
+ safari: "Safari",
+ sailfish: "Sailfish",
+ samsung_internet: "Samsung Internet for Android",
+ seamonkey: "SeaMonkey",
+ sleipnir: "Sleipnir",
+ swing: "Swing",
+ tizen: "Tizen",
+ uc: "UC Browser",
+ vivaldi: "Vivaldi",
+ webos: "WebOS Browser",
+ wechat: "WeChat",
+ yandex: "Yandex Browser"
+ }, t.PLATFORMS_MAP = {
+ tablet: "tablet",
+ mobile: "mobile",
+ desktop: "desktop",
+ tv: "tv"
+ }, t.OS_MAP = {
+ WindowsPhone: "Windows Phone",
+ Windows: "Windows",
+ MacOS: "macOS",
+ iOS: "iOS",
+ Android: "Android",
+ WebOS: "WebOS",
+ BlackBerry: "BlackBerry",
+ Bada: "Bada",
+ Tizen: "Tizen",
+ Linux: "Linux",
+ ChromeOS: "Chrome OS",
+ PlayStation4: "PlayStation 4",
+ Roku: "Roku"
+ }, t.ENGINE_MAP = {
+ EdgeHTML: "EdgeHTML",
+ Blink: "Blink",
+ Trident: "Trident",
+ Presto: "Presto",
+ Gecko: "Gecko",
+ WebKit: "WebKit"
+ }
+ },
+ 90: function(e, t, n) {
+ "use strict";
+ t.__esModule = !0, t.default = void 0;
+ var a, r = (a = n(91)) && a.__esModule ? a : {
+ default: a
+ },
+ i = n(18);
- function e(e) {
- var t = !0,
- n = !1,
- a = null,
- r = {
- text: !0,
- search: !0,
- url: !0,
- tel: !0,
- email: !0,
- password: !0,
- number: !0,
- date: !0,
- month: !0,
- week: !0,
- time: !0,
- datetime: !0,
- "datetime-local": !0
- };
-
- function i(e) {
- return !!(e && e !== document && "HTML" !== e.nodeName && "BODY" !== e.nodeName && "classList" in e && "contains" in e.classList)
- }
-
- function o(e) {
- e.classList.contains("focus-visible") || (e.classList.add("focus-visible"), e.setAttribute("data-focus-visible-added", ""))
- }
-
- function s(e) {
- t = !1
- }
-
- function l() {
- document.addEventListener("mousemove", c), document.addEventListener("mousedown", c), document.addEventListener("mouseup", c), document.addEventListener("pointermove", c), document.addEventListener("pointerdown", c), document.addEventListener("pointerup", c), document.addEventListener("touchmove", c), document.addEventListener("touchstart", c), document.addEventListener("touchend", c)
+ function o(e, t) {
+ for (var n = 0; n < t.length; n++) {
+ var a = t[n];
+ a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a)
}
+ }
+ var s = function() {
+ function e() {}
+ var t, n;
+ return e.getParser = function(e, t) {
+ if (void 0 === t && (t = !1), "string" != typeof e) throw new Error("UserAgent should be a string");
+ return new r.default(e, t)
+ }, e.parse = function(e) {
+ return new r.default(e).getResult()
+ }, t = e, n = [{
+ key: "BROWSER_MAP",
+ get: function() {
+ return i.BROWSER_MAP
+ }
+ }, {
+ key: "ENGINE_MAP",
+ get: function() {
+ return i.ENGINE_MAP
+ }
+ }, {
+ key: "OS_MAP",
+ get: function() {
+ return i.OS_MAP
+ }
+ }, {
+ key: "PLATFORMS_MAP",
+ get: function() {
+ return i.PLATFORMS_MAP
+ }
+ }], null && o(t.prototype, null), n && o(t, n), e
+ }();
+ t.default = s, e.exports = t.default
+ },
+ 91: function(e, t, n) {
+ "use strict";
+ t.__esModule = !0, t.default = void 0;
+ var a = l(n(92)),
+ r = l(n(93)),
+ i = l(n(94)),
+ o = l(n(95)),
+ s = l(n(17));
- function c(e) {
- e.target.nodeName && "html" === e.target.nodeName.toLowerCase() || (t = !1, document.removeEventListener("mousemove", c), document.removeEventListener("mousedown", c), document.removeEventListener("mouseup", c), document.removeEventListener("pointermove", c), document.removeEventListener("pointerdown", c), document.removeEventListener("pointerup", c), document.removeEventListener("touchmove", c), document.removeEventListener("touchstart", c), document.removeEventListener("touchend", c))
+ function l(e) {
+ return e && e.__esModule ? e : {
+ default: e
}
- document.addEventListener("keydown", (function(n) {
- n.metaKey || n.altKey || n.ctrlKey || (i(e.activeElement) && o(e.activeElement), t = !0)
- }), !0), document.addEventListener("mousedown", s, !0), document.addEventListener("pointerdown", s, !0), document.addEventListener("touchstart", s, !0), document.addEventListener("visibilitychange", (function(e) {
- "hidden" === document.visibilityState && (n && (t = !0), l())
- }), !0), l(), e.addEventListener("focus", (function(e) {
- var n, a, s;
- i(e.target) && (t || (a = (n = e.target).type, "INPUT" === (s = n.tagName) && r[a] && !n.readOnly || "TEXTAREA" === s && !n.readOnly || n.isContentEditable)) && o(e.target)
- }), !0), e.addEventListener("blur", (function(e) {
- var t;
- i(e.target) && (e.target.classList.contains("focus-visible") || e.target.hasAttribute("data-focus-visible-added")) && (n = !0, window.clearTimeout(a), a = window.setTimeout((function() {
- n = !1
- }), 100), (t = e.target).hasAttribute("data-focus-visible-added") && (t.classList.remove("focus-visible"), t.removeAttribute("data-focus-visible-added")))
- }), !0), e.nodeType === Node.DOCUMENT_FRAGMENT_NODE && e.host ? e.host.setAttribute("data-js-focus-visible", "") : e.nodeType === Node.DOCUMENT_NODE && (document.documentElement.classList.add("js-focus-visible"), document.documentElement.setAttribute("data-js-focus-visible", ""))
}
- if ("undefined" != typeof window && "undefined" != typeof document) {
- var t;
- window.applyFocusVisiblePolyfill = e;
- try {
- t = new CustomEvent("focus-visible-polyfill-ready")
- } catch (e) {
- (t = document.createEvent("CustomEvent")).initCustomEvent("focus-visible-polyfill-ready", !1, !1, {})
+ var c = function() {
+ function e(e, t) {
+ if (void 0 === t && (t = !1), null == e || "" === e) throw new Error("UserAgent parameter can't be empty");
+ this._ua = e, this.parsedResult = {}, !0 !== t && this.parse()
}
- window.dispatchEvent(t)
- }
- "undefined" != typeof document && e(document)
- }()
- }, 9483: (e, t, n) => {
- "use strict";
- var a = n(5837),
- r = {
- childContextTypes: !0,
- contextType: !0,
- contextTypes: !0,
- defaultProps: !0,
- displayName: !0,
- getDefaultProps: !0,
- getDerivedStateFromError: !0,
- getDerivedStateFromProps: !0,
- mixins: !0,
- propTypes: !0,
- type: !0
- },
- i = {
- name: !0,
- length: !0,
- prototype: !0,
- caller: !0,
- callee: !0,
- arguments: !0,
- arity: !0
- },
- o = {
- $$typeof: !0,
- compare: !0,
- defaultProps: !0,
- displayName: !0,
- propTypes: !0,
- type: !0
- },
- s = {};
-
- function l(e) {
- return a.isMemo(e) ? o : s[e.$$typeof] || r
- }
- s[a.ForwardRef] = {
- $$typeof: !0,
- render: !0,
- defaultProps: !0,
- displayName: !0,
- propTypes: !0
- };
- var c = Object.defineProperty,
- u = Object.getOwnPropertyNames,
- d = Object.getOwnPropertySymbols,
- p = Object.getOwnPropertyDescriptor,
- h = Object.getPrototypeOf,
- m = Object.prototype;
- e.exports = function e(t, n, a) {
- if ("string" != typeof n) {
- if (m) {
- var r = h(n);
- r && r !== m && e(t, r, a)
- }
- var o = u(n);
- d && (o = o.concat(d(n)));
- for (var s = l(t), f = l(n), g = 0; g < o.length; ++g) {
- var b = o[g];
- if (!(i[b] || a && a[b] || f && f[b] || s && s[b])) {
- var y = p(n, b);
- try {
- c(t, b, y)
- } catch (e) {}
+ var t = e.prototype;
+ return t.getUA = function() {
+ return this._ua
+ }, t.test = function(e) {
+ return e.test(this._ua)
+ }, t.parseBrowser = function() {
+ var e = this;
+ this.parsedResult.browser = {};
+ var t = a.default.find((function(t) {
+ if ("function" == typeof t.test) return t.test(e);
+ if (t.test instanceof Array) return t.test.some((function(t) {
+ return e.test(t)
+ }));
+ throw new Error("Browser's test function is not valid")
+ }));
+ return t && (this.parsedResult.browser = t.describe(this.getUA())), this.parsedResult.browser
+ }, t.getBrowser = function() {
+ return this.parsedResult.browser ? this.parsedResult.browser : this.parseBrowser()
+ }, t.getBrowserName = function(e) {
+ return e ? String(this.getBrowser().name).toLowerCase() || "" : this.getBrowser().name || ""
+ }, t.getBrowserVersion = function() {
+ return this.getBrowser().version
+ }, t.getOS = function() {
+ return this.parsedResult.os ? this.parsedResult.os : this.parseOS()
+ }, t.parseOS = function() {
+ var e = this;
+ this.parsedResult.os = {};
+ var t = r.default.find((function(t) {
+ if ("function" == typeof t.test) return t.test(e);
+ if (t.test instanceof Array) return t.test.some((function(t) {
+ return e.test(t)
+ }));
+ throw new Error("Browser's test function is not valid")
+ }));
+ return t && (this.parsedResult.os = t.describe(this.getUA())), this.parsedResult.os
+ }, t.getOSName = function(e) {
+ var t = this.getOS().name;
+ return e ? String(t).toLowerCase() || "" : t || ""
+ }, t.getOSVersion = function() {
+ return this.getOS().version
+ }, t.getPlatform = function() {
+ return this.parsedResult.platform ? this.parsedResult.platform : this.parsePlatform()
+ }, t.getPlatformType = function(e) {
+ void 0 === e && (e = !1);
+ var t = this.getPlatform().type;
+ return e ? String(t).toLowerCase() || "" : t || ""
+ }, t.parsePlatform = function() {
+ var e = this;
+ this.parsedResult.platform = {};
+ var t = i.default.find((function(t) {
+ if ("function" == typeof t.test) return t.test(e);
+ if (t.test instanceof Array) return t.test.some((function(t) {
+ return e.test(t)
+ }));
+ throw new Error("Browser's test function is not valid")
+ }));
+ return t && (this.parsedResult.platform = t.describe(this.getUA())), this.parsedResult.platform
+ }, t.getEngine = function() {
+ return this.parsedResult.engine ? this.parsedResult.engine : this.parseEngine()
+ }, t.getEngineName = function(e) {
+ return e ? String(this.getEngine().name).toLowerCase() || "" : this.getEngine().name || ""
+ }, t.parseEngine = function() {
+ var e = this;
+ this.parsedResult.engine = {};
+ var t = o.default.find((function(t) {
+ if ("function" == typeof t.test) return t.test(e);
+ if (t.test instanceof Array) return t.test.some((function(t) {
+ return e.test(t)
+ }));
+ throw new Error("Browser's test function is not valid")
+ }));
+ return t && (this.parsedResult.engine = t.describe(this.getUA())), this.parsedResult.engine
+ }, t.parse = function() {
+ return this.parseBrowser(), this.parseOS(), this.parsePlatform(), this.parseEngine(), this
+ }, t.getResult = function() {
+ return Object.assign({}, this.parsedResult)
+ }, t.satisfies = function(e) {
+ var t = this,
+ n = {},
+ a = 0,
+ r = {},
+ i = 0;
+ if (Object.keys(e).forEach((function(t) {
+ var o = e[t];
+ "string" == typeof o ? (r[t] = o, i += 1) : "object" == typeof o && (n[t] = o, a += 1)
+ })), a > 0) {
+ var o = Object.keys(n),
+ s = o.find((function(e) {
+ return t.isOS(e)
+ }));
+ if (s) {
+ var l = this.satisfies(n[s]);
+ if (void 0 !== l) return l
+ }
+ var c = o.find((function(e) {
+ return t.isPlatform(e)
+ }));
+ if (c) {
+ var u = this.satisfies(n[c]);
+ if (void 0 !== u) return u
+ }
+ }
+ if (i > 0) {
+ var d = Object.keys(r).find((function(e) {
+ return t.isBrowser(e, !0)
+ }));
+ if (void 0 !== d) return this.compareVersion(r[d])
+ }
+ }, t.isBrowser = function(e, t) {
+ void 0 === t && (t = !1);
+ var n = this.getBrowserName().toLowerCase(),
+ a = e.toLowerCase(),
+ r = s.default.getBrowserTypeByAlias(a);
+ return t && r && (a = r.toLowerCase()), a === n
+ }, t.compareVersion = function(e) {
+ var t = [0],
+ n = e,
+ a = !1,
+ r = this.getBrowserVersion();
+ if ("string" == typeof r) return ">" === e[0] || "<" === e[0] ? (n = e.substr(1), "=" === e[1] ? (a = !0, n = e.substr(2)) : t = [], ">" === e[0] ? t.push(1) : t.push(-1)) : "=" === e[0] ? n = e.substr(1) : "~" === e[0] && (a = !0, n = e.substr(1)), t.indexOf(s.default.compareVersions(r, n, a)) > -1
+ }, t.isOS = function(e) {
+ return this.getOSName(!0) === String(e).toLowerCase()
+ }, t.isPlatform = function(e) {
+ return this.getPlatformType(!0) === String(e).toLowerCase()
+ }, t.isEngine = function(e) {
+ return this.getEngineName(!0) === String(e).toLowerCase()
+ }, t.is = function(e) {
+ return this.isBrowser(e) || this.isOS(e) || this.isPlatform(e)
+ }, t.some = function(e) {
+ var t = this;
+ return void 0 === e && (e = []), e.some((function(e) {
+ return t.is(e)
+ }))
+ }, e
+ }();
+ t.default = c, e.exports = t.default
+ },
+ 92: function(e, t, n) {
+ "use strict";
+ t.__esModule = !0, t.default = void 0;
+ var a, r = (a = n(17)) && a.__esModule ? a : {
+ default: a
+ },
+ i = /version\/(\d+(\.?_?\d+)+)/i,
+ o = [{
+ test: [/googlebot/i],
+ describe: function(e) {
+ var t = {
+ name: "Googlebot"
+ },
+ n = r.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i, e) || r.default.getFirstMatch(i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/opera/i],
+ describe: function(e) {
+ var t = {
+ name: "Opera"
+ },
+ n = r.default.getFirstMatch(i, e) || r.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/opr\/|opios/i],
+ describe: function(e) {
+ var t = {
+ name: "Opera"
+ },
+ n = r.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i, e) || r.default.getFirstMatch(i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/SamsungBrowser/i],
+ describe: function(e) {
+ var t = {
+ name: "Samsung Internet for Android"
+ },
+ n = r.default.getFirstMatch(i, e) || r.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/Whale/i],
+ describe: function(e) {
+ var t = {
+ name: "NAVER Whale Browser"
+ },
+ n = r.default.getFirstMatch(i, e) || r.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/MZBrowser/i],
+ describe: function(e) {
+ var t = {
+ name: "MZ Browser"
+ },
+ n = r.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i, e) || r.default.getFirstMatch(i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/focus/i],
+ describe: function(e) {
+ var t = {
+ name: "Focus"
+ },
+ n = r.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i, e) || r.default.getFirstMatch(i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/swing/i],
+ describe: function(e) {
+ var t = {
+ name: "Swing"
+ },
+ n = r.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i, e) || r.default.getFirstMatch(i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/coast/i],
+ describe: function(e) {
+ var t = {
+ name: "Opera Coast"
+ },
+ n = r.default.getFirstMatch(i, e) || r.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/yabrowser/i],
+ describe: function(e) {
+ var t = {
+ name: "Yandex Browser"
+ },
+ n = r.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i, e) || r.default.getFirstMatch(i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/ucbrowser/i],
+ describe: function(e) {
+ var t = {
+ name: "UC Browser"
+ },
+ n = r.default.getFirstMatch(i, e) || r.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/Maxthon|mxios/i],
+ describe: function(e) {
+ var t = {
+ name: "Maxthon"
+ },
+ n = r.default.getFirstMatch(i, e) || r.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/epiphany/i],
+ describe: function(e) {
+ var t = {
+ name: "Epiphany"
+ },
+ n = r.default.getFirstMatch(i, e) || r.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/puffin/i],
+ describe: function(e) {
+ var t = {
+ name: "Puffin"
+ },
+ n = r.default.getFirstMatch(i, e) || r.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/sleipnir/i],
+ describe: function(e) {
+ var t = {
+ name: "Sleipnir"
+ },
+ n = r.default.getFirstMatch(i, e) || r.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/k-meleon/i],
+ describe: function(e) {
+ var t = {
+ name: "K-Meleon"
+ },
+ n = r.default.getFirstMatch(i, e) || r.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/micromessenger/i],
+ describe: function(e) {
+ var t = {
+ name: "WeChat"
+ },
+ n = r.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i, e) || r.default.getFirstMatch(i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/qqbrowser/i],
+ describe: function(e) {
+ var t = {
+ name: /qqbrowserlite/i.test(e) ? "QQ Browser Lite" : "QQ Browser"
+ },
+ n = r.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i, e) || r.default.getFirstMatch(i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/msie|trident/i],
+ describe: function(e) {
+ var t = {
+ name: "Internet Explorer"
+ },
+ n = r.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/\sedg\//i],
+ describe: function(e) {
+ var t = {
+ name: "Microsoft Edge"
+ },
+ n = r.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/edg([ea]|ios)/i],
+ describe: function(e) {
+ var t = {
+ name: "Microsoft Edge"
+ },
+ n = r.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/vivaldi/i],
+ describe: function(e) {
+ var t = {
+ name: "Vivaldi"
+ },
+ n = r.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/seamonkey/i],
+ describe: function(e) {
+ var t = {
+ name: "SeaMonkey"
+ },
+ n = r.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/sailfish/i],
+ describe: function(e) {
+ var t = {
+ name: "Sailfish"
+ },
+ n = r.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/silk/i],
+ describe: function(e) {
+ var t = {
+ name: "Amazon Silk"
+ },
+ n = r.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/phantom/i],
+ describe: function(e) {
+ var t = {
+ name: "PhantomJS"
+ },
+ n = r.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/slimerjs/i],
+ describe: function(e) {
+ var t = {
+ name: "SlimerJS"
+ },
+ n = r.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/blackberry|\bbb\d+/i, /rim\stablet/i],
+ describe: function(e) {
+ var t = {
+ name: "BlackBerry"
+ },
+ n = r.default.getFirstMatch(i, e) || r.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/(web|hpw)[o0]s/i],
+ describe: function(e) {
+ var t = {
+ name: "WebOS Browser"
+ },
+ n = r.default.getFirstMatch(i, e) || r.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/bada/i],
+ describe: function(e) {
+ var t = {
+ name: "Bada"
+ },
+ n = r.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/tizen/i],
+ describe: function(e) {
+ var t = {
+ name: "Tizen"
+ },
+ n = r.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i, e) || r.default.getFirstMatch(i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/qupzilla/i],
+ describe: function(e) {
+ var t = {
+ name: "QupZilla"
+ },
+ n = r.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i, e) || r.default.getFirstMatch(i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/firefox|iceweasel|fxios/i],
+ describe: function(e) {
+ var t = {
+ name: "Firefox"
+ },
+ n = r.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/chromium/i],
+ describe: function(e) {
+ var t = {
+ name: "Chromium"
+ },
+ n = r.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i, e) || r.default.getFirstMatch(i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/chrome|crios|crmo/i],
+ describe: function(e) {
+ var t = {
+ name: "Chrome"
+ },
+ n = r.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/GSA/i],
+ describe: function(e) {
+ var t = {
+ name: "Google Search"
+ },
+ n = r.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: function(e) {
+ var t = !e.test(/like android/i),
+ n = e.test(/android/i);
+ return t && n
+ },
+ describe: function(e) {
+ var t = {
+ name: "Android Browser"
+ },
+ n = r.default.getFirstMatch(i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/playstation 4/i],
+ describe: function(e) {
+ var t = {
+ name: "PlayStation 4"
+ },
+ n = r.default.getFirstMatch(i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/safari|applewebkit/i],
+ describe: function(e) {
+ var t = {
+ name: "Safari"
+ },
+ n = r.default.getFirstMatch(i, e);
+ return n && (t.version = n), t
+ }
+ }, {
+ test: [/.*/i],
+ describe: function(e) {
+ var t = -1 !== e.search("\\(") ? /^(.*)\/(.*)[ \t]\((.*)/ : /^(.*)\/(.*) /;
+ return {
+ name: r.default.getFirstMatch(t, e),
+ version: r.default.getSecondMatch(t, e)
+ }
+ }
+ }];
+ t.default = o, e.exports = t.default
+ },
+ 93: function(e, t, n) {
+ "use strict";
+ t.__esModule = !0, t.default = void 0;
+ var a, r = (a = n(17)) && a.__esModule ? a : {
+ default: a
+ },
+ i = n(18),
+ o = [{
+ test: [/Roku\/DVP/],
+ describe: function(e) {
+ var t = r.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i, e);
+ return {
+ name: i.OS_MAP.Roku,
+ version: t
+ }
+ }
+ }, {
+ test: [/windows phone/i],
+ describe: function(e) {
+ var t = r.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i, e);
+ return {
+ name: i.OS_MAP.WindowsPhone,
+ version: t
+ }
}
- }
- return t
- }
- return t
- }
- }, 6891: (e, t) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0
- });
- var n = "function" == typeof Symbol && Symbol.for,
- a = n ? Symbol.for("react.element") : 60103,
- r = n ? Symbol.for("react.portal") : 60106,
- i = n ? Symbol.for("react.fragment") : 60107,
- o = n ? Symbol.for("react.strict_mode") : 60108,
- s = n ? Symbol.for("react.profiler") : 60114,
- l = n ? Symbol.for("react.provider") : 60109,
- c = n ? Symbol.for("react.context") : 60110,
- u = n ? Symbol.for("react.async_mode") : 60111,
- d = n ? Symbol.for("react.concurrent_mode") : 60111,
- p = n ? Symbol.for("react.forward_ref") : 60112,
- h = n ? Symbol.for("react.suspense") : 60113,
- m = n ? Symbol.for("react.suspense_list") : 60120,
- f = n ? Symbol.for("react.memo") : 60115,
- g = n ? Symbol.for("react.lazy") : 60116,
- b = n ? Symbol.for("react.fundamental") : 60117,
- y = n ? Symbol.for("react.responder") : 60118;
-
- function v(e) {
- if ("object" == typeof e && null !== e) {
- var t = e.$$typeof;
- switch (t) {
- case a:
- switch (e = e.type) {
- case u:
- case d:
- case i:
- case s:
- case o:
- case h:
- return e;
- default:
- switch (e = e && e.$$typeof) {
- case c:
- case p:
- case l:
- return e;
- default:
- return t
- }
+ }, {
+ test: [/windows/i],
+ describe: function(e) {
+ var t = r.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i, e),
+ n = r.default.getWindowsVersionName(t);
+ return {
+ name: i.OS_MAP.Windows,
+ version: t,
+ versionName: n
}
- case g:
- case f:
- case r:
- return t
- }
- }
- }
-
- function k(e) {
- return v(e) === d
- }
- t.typeOf = v, t.AsyncMode = u, t.ConcurrentMode = d, t.ContextConsumer = c, t.ContextProvider = l, t.Element = a, t.ForwardRef = p, t.Fragment = i, t.Lazy = g, t.Memo = f, t.Portal = r, t.Profiler = s, t.StrictMode = o, t.Suspense = h, t.isValidElementType = function(e) {
- return "string" == typeof e || "function" == typeof e || e === i || e === d || e === s || e === o || e === h || e === m || "object" == typeof e && null !== e && (e.$$typeof === g || e.$$typeof === f || e.$$typeof === l || e.$$typeof === c || e.$$typeof === p || e.$$typeof === b || e.$$typeof === y)
- }, t.isAsyncMode = function(e) {
- return k(e) || v(e) === u
- }, t.isConcurrentMode = k, t.isContextConsumer = function(e) {
- return v(e) === c
- }, t.isContextProvider = function(e) {
- return v(e) === l
- }, t.isElement = function(e) {
- return "object" == typeof e && null !== e && e.$$typeof === a
- }, t.isForwardRef = function(e) {
- return v(e) === p
- }, t.isFragment = function(e) {
- return v(e) === i
- }, t.isLazy = function(e) {
- return v(e) === g
- }, t.isMemo = function(e) {
- return v(e) === f
- }, t.isPortal = function(e) {
- return v(e) === r
- }, t.isProfiler = function(e) {
- return v(e) === s
- }, t.isStrictMode = function(e) {
- return v(e) === o
- }, t.isSuspense = function(e) {
- return v(e) === h
- }
- }, 5837: (e, t, n) => {
- "use strict";
- e.exports = n(6891)
- }, 4444: (e, t, n) => {
- e.exports = {
- parse: n(1018),
- stringify: n(1674)
- }
- }, 3514: (e, t, n) => {
- var a = /([\w-]+)|=|(['"])([.\s\S]*?)\2/g,
- r = n(8058);
- e.exports = function(e) {
- var t, n = 0,
- i = !0,
- o = {
- type: "tag",
- name: "",
- voidElement: !1,
- attrs: {},
- children: []
- };
- return e.replace(a, (function(a) {
- if ("=" === a) return i = !0, void n++;
- i ? 0 === n ? ((r[a] || "/" === e.charAt(e.length - 2)) && (o.voidElement = !0), o.name = a) : (o.attrs[t] = a.replace(/^['"]|['"]$/g, ""), t = void 0) : (t && (o.attrs[t] = t), t = a), n++, i = !1
- })), o
- }
- }, 1018: (e, t, n) => {
- var a = /(?:|<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>)/g,
- r = n(3514),
- i = Object.create ? Object.create(null) : {};
-
- function o(e, t, n, a, r) {
- var i = t.indexOf("<", a),
- o = t.slice(a, -1 === i ? void 0 : i);
- /^\s*$/.test(o) && (o = " "), (!r && i > -1 && n + e.length >= 0 || " " !== o) && e.push({
- type: "text",
- content: o
- })
- }
- e.exports = function(e, t) {
- t || (t = {}), t.components || (t.components = i);
- var n, s = [],
- l = -1,
- c = [],
- u = {},
- d = !1;
- return e.replace(a, (function(a, i) {
- if (d) {
- if (a !== "" + n.name + ">") return;
- d = !1
- }
- var p, h = "/" !== a.charAt(1),
- m = 0 === a.indexOf("\x3c!--"),
- f = i + a.length,
- g = e.charAt(f);
- h && !m && (l++, "tag" === (n = r(a)).type && t.components[n.name] && (n.type = "component", d = !0), n.voidElement || d || !g || "<" === g || o(n.children, e, l, f, t.ignoreWhitespace), u[n.tagName] = n, 0 === l && s.push(n), (p = c[l - 1]) && p.children.push(n), c[l] = n), (m || !h || n.voidElement) && (m || l--, !d && "<" !== g && g && o(p = -1 === l ? s : c[l].children, e, l, f, t.ignoreWhitespace))
- })), !s.length && e.length && o(s, e, 0, 0, t.ignoreWhitespace), s
- }
- }, 1674: e => {
- function t(e, n) {
- switch (n.type) {
- case "text":
- return e + n.content;
- case "tag":
- return e += "<" + n.name + (n.attrs ? function(e) {
- var t = [];
- for (var n in e) t.push(n + '="' + e[n] + '"');
- return t.length ? " " + t.join(" ") : ""
- }(n.attrs) : "") + (n.voidElement ? "/>" : ">"), n.voidElement ? e : e + n.children.reduce(t, "") + "" + n.name + ">"
- }
- }
- e.exports = function(e) {
- return e.reduce((function(e, n) {
- return e + t("", n)
- }), "")
- }
- }, 1568: (e, t) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0
- });
- t.default = {
- name: "cookie",
- lookup: function(e) {
- var t = void 0;
- if (e.lookupCookie && "undefined" != typeof document) {
- var n = function(e) {
- for (var t = e + "=", n = document.cookie.split(";"), a = 0; a < n.length; a++) {
- for (var r = n[a];
- " " === r.charAt(0);) r = r.substring(1, r.length);
- if (0 === r.indexOf(t)) return r.substring(t.length, r.length)
+ }
+ }, {
+ test: [/macintosh/i],
+ describe: function(e) {
+ var t = r.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i, e).replace(/[_\s]/g, "."),
+ n = r.default.getMacOSVersionName(t),
+ a = {
+ name: i.OS_MAP.MacOS,
+ version: t
+ };
+ return n && (a.versionName = n), a
+ }
+ }, {
+ test: [/(ipod|iphone|ipad)/i],
+ describe: function(e) {
+ var t = r.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i, e).replace(/[_\s]/g, ".");
+ return {
+ name: i.OS_MAP.iOS,
+ version: t
}
- return null
- }(e.lookupCookie);
- n && (t = n)
- }
- return t
- },
- cacheUserLanguage: function(e, t) {
- t.lookupCookie && "undefined" != typeof document && function(e, t, n, a) {
- var r = void 0;
- if (n) {
- var i = new Date;
- i.setTime(i.getTime() + 60 * n * 1e3), r = "; expires=" + i.toGMTString()
- } else r = "";
- a = a ? "domain=" + a + ";" : "", document.cookie = e + "=" + t + r + ";" + a + "path=/"
- }(t.lookupCookie, e, t.cookieMinutes, t.cookieDomain)
- }
- }
- }, 6182: (e, t) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0
- }), t.default = {
- name: "htmlTag",
- lookup: function(e) {
- var t = void 0,
- n = e.htmlTag || ("undefined" != typeof document ? document.documentElement : null);
- return n && "function" == typeof n.getAttribute && (t = n.getAttribute("lang")), t
- }
- }
- }, 4414: (e, t) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0
- });
- var n = void 0;
- try {
- n = "undefined" !== window && null !== window.localStorage;
- var a = "i18next.translate.boo";
- window.localStorage.setItem(a, "foo"), window.localStorage.removeItem(a)
- } catch (e) {
- n = !1
- }
- t.default = {
- name: "localStorage",
- lookup: function(e) {
- var t = void 0;
- if (e.lookupLocalStorage && n) {
- var a = window.localStorage.getItem(e.lookupLocalStorage);
- a && (t = a)
- }
- return t
- },
- cacheUserLanguage: function(e, t) {
- t.lookupLocalStorage && n && window.localStorage.setItem(t.lookupLocalStorage, e)
- }
- }
- }, 8864: (e, t) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0
- }), t.default = {
- name: "navigator",
- lookup: function(e) {
- var t = [];
- if ("undefined" != typeof navigator) {
- if (navigator.languages)
- for (var n = 0; n < navigator.languages.length; n++) t.push(navigator.languages[n]);
- navigator.userLanguage && t.push(navigator.userLanguage), navigator.language && t.push(navigator.language)
- }
- return t.length > 0 ? t : void 0
- }
- }
- }, 1699: (e, t) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0
- }), t.default = {
- name: "path",
- lookup: function(e) {
- var t = void 0;
- if ("undefined" != typeof window) {
- var n = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
- if (n instanceof Array)
- if ("number" == typeof e.lookupFromPathIndex) {
- if ("string" != typeof n[e.lookupFromPathIndex]) return;
- t = n[e.lookupFromPathIndex].replace("/", "")
- } else t = n[0].replace("/", "")
- }
- return t
- }
- }
- }, 6276: (e, t) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0
- }), t.default = {
- name: "querystring",
- lookup: function(e) {
- var t = void 0;
- if ("undefined" != typeof window)
- for (var n = window.location.search.substring(1).split("&"), a = 0; a < n.length; a++) {
- var r = n[a].indexOf("=");
- r > 0 && n[a].substring(0, r) === e.lookupQuerystring && (t = n[a].substring(r + 1))
}
- return t
- }
- }
- }, 1129: (e, t) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0
- }), t.default = {
- name: "subdomain",
- lookup: function(e) {
- var t = void 0;
- if ("undefined" != typeof window) {
- var n = window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);
- n instanceof Array && (t = "number" == typeof e.lookupFromSubdomainIndex ? n[e.lookupFromSubdomainIndex].replace("http://", "").replace("https://", "").replace(".", "") : n[0].replace("http://", "").replace("https://", "").replace(".", ""))
- }
- return t
- }
- }
- }, 9795: (e, t, n) => {
- "use strict";
- var a = function() {
- function e(e, t) {
- for (var n = 0; n < t.length; n++) {
- var a = t[n];
- a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a)
+ }, {
+ test: function(e) {
+ var t = !e.test(/like android/i),
+ n = e.test(/android/i);
+ return t && n
+ },
+ describe: function(e) {
+ var t = r.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i, e),
+ n = r.default.getAndroidVersionName(t),
+ a = {
+ name: i.OS_MAP.Android,
+ version: t
+ };
+ return n && (a.versionName = n), a
}
- }
- return function(t, n, a) {
- return n && e(t.prototype, n), a && e(t, a), t
- }
- }(),
- r = function(e) {
- if (e && e.__esModule) return e;
- var t = {};
- if (null != e)
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
- return t.default = e, t
- }(n(5655)),
- i = p(n(1568)),
- o = p(n(6276)),
- s = p(n(4414)),
- l = p(n(8864)),
- c = p(n(6182)),
- u = p(n(1699)),
- d = p(n(1129));
-
- function p(e) {
- return e && e.__esModule ? e : {
- default: e
- }
- }
-
- function h(e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }
- var m = function() {
- function e(t) {
- var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
- h(this, e), this.type = "languageDetector", this.detectors = {}, this.init(t, n)
- }
- return a(e, [{
- key: "init",
- value: function(e) {
- var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
- n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {};
- this.services = e, this.options = r.defaults(t, this.options || {}, {
- order: ["querystring", "cookie", "localStorage", "navigator", "htmlTag"],
- lookupQuerystring: "lng",
- lookupCookie: "i18next",
- lookupLocalStorage: "i18nextLng",
- caches: ["localStorage"],
- excludeCacheFor: ["cimode"]
- }), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = n, this.addDetector(i.default), this.addDetector(o.default), this.addDetector(s.default), this.addDetector(l.default), this.addDetector(c.default), this.addDetector(u.default), this.addDetector(d.default)
- }
- }, {
- key: "addDetector",
- value: function(e) {
- this.detectors[e.name] = e
- }
- }, {
- key: "detect",
- value: function(e) {
- var t = this;
- e || (e = this.options.order);
- var n = [];
- e.forEach((function(e) {
- if (t.detectors[e]) {
- var a = t.detectors[e].lookup(t.options);
- a && "string" == typeof a && (a = [a]), a && (n = n.concat(a))
+ }, {
+ test: [/(web|hpw)[o0]s/i],
+ describe: function(e) {
+ var t = r.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i, e),
+ n = {
+ name: i.OS_MAP.WebOS
+ };
+ return t && t.length && (n.version = t), n
+ }
+ }, {
+ test: [/blackberry|\bbb\d+/i, /rim\stablet/i],
+ describe: function(e) {
+ var t = r.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i, e) || r.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i, e) || r.default.getFirstMatch(/\bbb(\d+)/i, e);
+ return {
+ name: i.OS_MAP.BlackBerry,
+ version: t
}
- }));
- var a = void 0;
- if (n.forEach((function(e) {
- if (!a) {
- var n = t.services.languageUtils.formatLanguageCode(e);
- t.services.languageUtils.isWhitelisted(n) && (a = n)
- }
- })), !a) {
- var r = this.i18nOptions.fallbackLng;
- "string" == typeof r && (r = [r]), r || (r = []), a = "[object Array]" === Object.prototype.toString.apply(r) ? r[0] : r[0] || r.default && r.default[0]
}
- return a
- }
- }, {
- key: "cacheUserLanguage",
- value: function(e, t) {
- var n = this;
- t || (t = this.options.caches), t && (this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(e) > -1 || t.forEach((function(t) {
- n.detectors[t] && n.detectors[t].cacheUserLanguage(e, n.options)
- })))
- }
- }]), e
- }();
- m.type = "languageDetector", t.Z = m
- }, 5655: (e, t) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0
- }), t.defaults = function(e) {
- return a.call(r.call(arguments, 1), (function(t) {
- if (t)
- for (var n in t) void 0 === e[n] && (e[n] = t[n])
- })), e
- }, t.extend = function(e) {
- return a.call(r.call(arguments, 1), (function(t) {
- if (t)
- for (var n in t) e[n] = t[n]
- })), e
- };
- var n = [],
- a = n.forEach,
- r = n.slice
- }, 8726: (e, t, n) => {
- var a = n(9795).Z;
- e.exports = a, e.exports.default = a
- }, 376: e => {
- "function" == typeof Object.create ? e.exports = function(e, t) {
- e.super_ = t, e.prototype = Object.create(t.prototype, {
- constructor: {
- value: e,
- enumerable: !1,
- writable: !0,
- configurable: !0
- }
- })
- } : e.exports = function(e, t) {
- e.super_ = t;
- var n = function() {};
- n.prototype = t.prototype, e.prototype = new n, e.prototype.constructor = e
- }
- }, 2456: e => {
- "use strict";
- e.exports = function(e, t, n, a, r, i, o, s) {
- if (!e) {
- var l;
- if (void 0 === t) l = new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");
- else {
- var c = [n, a, r, i, o, s],
- u = 0;
- (l = new Error(t.replace(/%s/g, (function() {
- return c[u++]
- })))).name = "Invariant Violation"
- }
- throw l.framesToPop = 1, l
- }
- }
- }, 2755: e => {
- "use strict";
- var t = "function" == typeof Symbol && "symbol" == typeof Symbol.toStringTag,
- n = Object.prototype.toString,
- a = function(e) {
- return !(t && e && "object" == typeof e && Symbol.toStringTag in e) && "[object Arguments]" === n.call(e)
- },
- r = function(e) {
- return !!a(e) || null !== e && "object" == typeof e && "number" == typeof e.length && e.length >= 0 && "[object Array]" !== n.call(e) && "[object Function]" === n.call(e.callee)
- },
- i = function() {
- return a(arguments)
- }();
- a.isLegacyArguments = r, e.exports = i ? a : r
- }, 6738: e => {
- "use strict";
- var t = Object.prototype.toString,
- n = Function.prototype.toString,
- a = /^\s*(?:function)?\*/,
- r = "function" == typeof Symbol && "symbol" == typeof Symbol.toStringTag,
- i = Object.getPrototypeOf,
- o = function() {
- if (!r) return !1;
- try {
- return Function("return function*() {}")()
- } catch (e) {}
- }(),
- s = o ? i(o) : {};
- e.exports = function(e) {
- return "function" == typeof e && (!!a.test(n.call(e)) || (r ? i(e) === s : "[object GeneratorFunction]" === t.call(e)))
- }
- }, 5430: (e, t, n) => {
- n(6866), e.exports = self.fetch.bind(self)
- }, 3691: (e, t, n) => {
- var a = n(8719);
-
- function r(e, t) {
- this.logStorage = e, this.stringifyObjects = !(!t || !t.stringifyObjects) && t.stringifyObjects, this.storeInterval = t && t.storeInterval ? t.storeInterval : 3e4, this.maxEntryLength = t && t.maxEntryLength ? t.maxEntryLength : 1e4, Object.keys(a.levels).forEach(function(e) {
- this[a.levels[e]] = function() {
- this._log.apply(this, arguments)
- }.bind(this, e)
- }.bind(this)), this.storeLogsIntervalID = null, this.queue = [], this.totalLen = 0, this.outputCache = []
- }
- r.prototype.stringify = function(e) {
- try {
- return JSON.stringify(e)
- } catch (e) {
- return "[object with circular refs?]"
- }
- }, r.prototype.formatLogMessage = function(e) {
- for (var t = "", n = 1, r = arguments.length; n < r; n++) {
- var i = arguments[n];
- !this.stringifyObjects && e !== a.levels.ERROR || "object" != typeof i || (i = this.stringify(i)), t += i, n !== r - 1 && (t += " ")
- }
- return t.length ? t : null
- }, r.prototype._log = function() {
- var e = arguments[1],
- t = this.formatLogMessage.apply(this, arguments);
- if (t) {
- var n = this.queue[this.queue.length - 1],
- a = n && n.text;
- a === t ? n.count += 1 : (this.queue.push({
- text: t,
- timestamp: e,
- count: 1
- }), this.totalLen += t.length)
- }
- this.totalLen >= this.maxEntryLength && this._flush(!0, !0)
- }, r.prototype.start = function() {
- this._reschedulePublishInterval()
- }, r.prototype._reschedulePublishInterval = function() {
- this.storeLogsIntervalID && (window.clearTimeout(this.storeLogsIntervalID), this.storeLogsIntervalID = null), this.storeLogsIntervalID = window.setTimeout(this._flush.bind(this, !1, !0), this.storeInterval)
- }, r.prototype.flush = function() {
- this._flush(!1, !0)
- }, r.prototype._flush = function(e, t) {
- this.totalLen > 0 && (this.logStorage.isReady() || e) && (this.logStorage.isReady() ? (this.outputCache.length && (this.outputCache.forEach(function(e) {
- this.logStorage.storeLogs(e)
- }.bind(this)), this.outputCache = []), this.logStorage.storeLogs(this.queue)) : this.outputCache.push(this.queue), this.queue = [], this.totalLen = 0), t && this._reschedulePublishInterval()
- }, r.prototype.stop = function() {
- this._flush(!1, !1)
- }, e.exports = r
- }, 8719: e => {
- var t = {
- trace: 0,
- debug: 1,
- info: 2,
- log: 3,
- warn: 4,
- error: 5
- };
- o.consoleTransport = console;
- var n = [o.consoleTransport];
- o.addGlobalTransport = function(e) {
- -1 === n.indexOf(e) && n.push(e)
- }, o.removeGlobalTransport = function(e) {
- var t = n.indexOf(e); - 1 !== t && n.splice(t, 1)
- };
- var a = {};
-
- function r() {
- var e = {
- methodName: "",
- fileLocation: "",
- line: null,
- column: null
- },
- t = new Error,
- n = t.stack ? t.stack.split("\n") : [];
- if (!n || n.length < 3) return e;
- var a = null;
- return n[3] && (a = n[3].match(/\s*at\s*(.+?)\s*\((\S*)\s*:(\d*)\s*:(\d*)\)/)), !a || a.length <= 4 ? (0 === n[2].indexOf("log@") ? e.methodName = n[3].substr(0, n[3].indexOf("@")) : e.methodName = n[2].substr(0, n[2].indexOf("@")), e) : (e.methodName = a[1], e.fileLocation = a[2], e.line = a[3], e.column = a[4], e)
- }
-
- function i() {
- var e = arguments[0],
- i = arguments[1],
- o = Array.prototype.slice.call(arguments, 2);
- if (!(t[i] < e.level))
- for (var s = !(e.options.disableCallerInfo || a.disableCallerInfo) && r(), l = n.concat(e.transports), c = 0; c < l.length; c++) {
- var u = l[c],
- d = u[i];
- if (d && "function" == typeof d) {
- var p = [];
- p.push((new Date).toISOString()), e.id && p.push("[" + e.id + "]"), s && s.methodName.length > 1 && p.push("<" + s.methodName + ">: ");
- var h = p.concat(o);
- d.bind(u).apply(u, h)
- }
- }
- }
-
- function o(e, n, a, r) {
- this.id = n, this.options = r || {}, this.transports = a, this.transports || (this.transports = []), this.level = t[e];
- for (var o = Object.keys(t), s = 0; s < o.length; s++) this[o[s]] = i.bind(null, this, o[s])
- }
- o.setGlobalOptions = function(e) {
- a = e || {}
- }, o.prototype.setLevel = function(e) {
- this.level = t[e]
- }, e.exports = o, o.levels = {
- TRACE: "trace",
- DEBUG: "debug",
- INFO: "info",
- LOG: "log",
- WARN: "warn",
- ERROR: "error"
- }
- }, 8481: (e, t, n) => {
- var a = n(8719),
- r = n(3691),
- i = {},
- o = [],
- s = a.levels.TRACE;
- e.exports = {
- addGlobalTransport: function(e) {
- a.addGlobalTransport(e)
- },
- removeGlobalTransport: function(e) {
- a.removeGlobalTransport(e)
- },
- setGlobalOptions: function(e) {
- a.setGlobalOptions(e)
- },
- getLogger: function(e, t, n) {
- var r = new a(s, e, t, n);
- return e ? (i[e] = i[e] || [], i[e].push(r)) : o.push(r), r
- },
- setLogLevelById: function(e, t) {
- for (var n = t ? i[t] || [] : o, a = 0; a < n.length; a++) n[a].setLevel(e)
- },
- setLogLevel: function(e) {
- s = e;
- for (var t = 0; t < o.length; t++) o[t].setLevel(e);
- for (var n in i) {
- var a = i[n] || [];
- for (t = 0; t < a.length; t++) a[t].setLevel(e)
- }
- },
- levels: a.levels,
- LogCollector: r
- }
- }, 587: (e, t) => {
- "use strict";
- var n = Object.assign || function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t];
- for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
- }
- return e
- },
- a = {
- tName: "t",
- i18nName: "i18n",
- handleName: "localize",
- selectorAttr: "data-i18n",
- targetAttr: "i18n-target",
- optionsAttr: "i18n-options",
- useOptionsAttr: !1,
- parseDefaultValueFromContent: !0
- };
- t.default = {
- init: function(e, t) {
- var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {};
-
- function i(t, a, i) {
- if (0 !== a.length) {
- var o = "text";
- if (0 === a.indexOf("[")) {
- var s = a.split("]");
- a = s[1], o = s[0].substr(1, s[0].length - 1)
- }
- if (a.indexOf(";") === a.length - 1 && (a = a.substr(0, a.length - 2)), "html" === o) t.html(e.t(a, u(i, t.html())));
- else if ("text" === o) t.text(e.t(a, u(i, t.text())));
- else if ("prepend" === o) t.prepend(e.t(a, u(i, t.html())));
- else if ("append" === o) t.append(e.t(a, u(i, t.html())));
- else if (0 === o.indexOf("data-")) {
- var l = o.substr("data-".length),
- c = e.t(a, u(i, t.data(l)));
- t.data(l, c), t.attr(o, c)
- } else t.attr(o, e.t(a, u(i, t.attr(o))))
- }
-
- function u(e, t) {
- return r.parseDefaultValueFromContent ? n({}, e, {
- defaultValue: t
- }) : e
- }
- }
-
- function o(e, a) {
- var o = e.attr(r.selectorAttr);
- if (o || void 0 === o || !1 === o || (o = e.text() || e.val()), o) {
- var s = e,
- l = e.data(r.targetAttr);
- if (l && (s = e.find(l) || e), a || !0 !== r.useOptionsAttr || (a = e.data(r.optionsAttr)), a = a || {}, o.indexOf(";") >= 0) {
- var c = o.split(";");
- t.each(c, (function(e, t) {
- "" !== t && i(s, t.trim(), a)
- }))
- } else i(s, o, a);
- if (!0 === r.useOptionsAttr) {
- var u = {};
- delete(u = n({
- clone: u
- }, a)).lng, e.data(r.optionsAttr, u)
+ }, {
+ test: [/bada/i],
+ describe: function(e) {
+ var t = r.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i, e);
+ return {
+ name: i.OS_MAP.Bada,
+ version: t
}
}
- }
-
- function s(e) {
- return this.each((function() {
- o(t(this), e), t(this).find("[" + r.selectorAttr + "]").each((function() {
- o(t(this), e)
- }))
- }))
- }
- r = n({}, a, r), t[r.tName] = e.t.bind(e), t[r.i18nName] = e, t.fn[r.handleName] = s
- }
- }
- }, 7795: (e, t, n) => {
- e.exports = n(587).default
- }, 7927: (module, exports, __webpack_require__) => {
- var process = __webpack_require__(554),
- __WEBPACK_AMD_DEFINE_RESULT__;
- (function() {
+ }, {
+ test: [/tizen/i],
+ describe: function(e) {
+ var t = r.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i, e);
+ return {
+ name: i.OS_MAP.Tizen,
+ version: t
+ }
+ }
+ }, {
+ test: [/linux/i],
+ describe: function() {
+ return {
+ name: i.OS_MAP.Linux
+ }
+ }
+ }, {
+ test: [/CrOS/],
+ describe: function() {
+ return {
+ name: i.OS_MAP.ChromeOS
+ }
+ }
+ }, {
+ test: [/PlayStation 4/],
+ describe: function(e) {
+ var t = r.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i, e);
+ return {
+ name: i.OS_MAP.PlayStation4,
+ version: t
+ }
+ }
+ }];
+ t.default = o, e.exports = t.default
+ },
+ 94: function(e, t, n) {
"use strict";
- var ERROR = "input is invalid type",
- WINDOW = "object" == typeof window,
- root = WINDOW ? window : {};
- root.JS_MD5_NO_WINDOW && (WINDOW = !1);
- var WEB_WORKER = !WINDOW && "object" == typeof self,
- NODE_JS = !root.JS_MD5_NO_NODE_JS && "object" == typeof process && process.versions && process.versions.node;
- NODE_JS ? root = __webpack_require__.g : WEB_WORKER && (root = self);
- var COMMON_JS = !root.JS_MD5_NO_COMMON_JS && module.exports,
- AMD = __webpack_require__.amdO,
- ARRAY_BUFFER = !root.JS_MD5_NO_ARRAY_BUFFER && "undefined" != typeof ArrayBuffer,
- HEX_CHARS = "0123456789abcdef".split(""),
- EXTRA = [128, 32768, 8388608, -2147483648],
- SHIFT = [0, 8, 16, 24],
- OUTPUT_TYPES = ["hex", "array", "digest", "buffer", "arrayBuffer", "base64"],
- BASE64_ENCODE_CHAR = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),
- blocks = [],
- buffer8;
- if (ARRAY_BUFFER) {
- var buffer = new ArrayBuffer(68);
- buffer8 = new Uint8Array(buffer), blocks = new Uint32Array(buffer)
- }!root.JS_MD5_NO_NODE_JS && Array.isArray || (Array.isArray = function(e) {
- return "[object Array]" === Object.prototype.toString.call(e)
- }), !ARRAY_BUFFER || !root.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW && ArrayBuffer.isView || (ArrayBuffer.isView = function(e) {
- return "object" == typeof e && e.buffer && e.buffer.constructor === ArrayBuffer
- });
- var createOutputMethod = function(e) {
- return function(t) {
- return new Md5(!0).update(t)[e]()
+ t.__esModule = !0, t.default = void 0;
+ var a, r = (a = n(17)) && a.__esModule ? a : {
+ default: a
+ },
+ i = n(18),
+ o = [{
+ test: [/googlebot/i],
+ describe: function() {
+ return {
+ type: "bot",
+ vendor: "Google"
+ }
}
- },
- createMethod = function() {
- var e = createOutputMethod("hex");
- NODE_JS && (e = nodeWrap(e)), e.create = function() {
- return new Md5
- }, e.update = function(t) {
- return e.create().update(t)
- };
- for (var t = 0; t < OUTPUT_TYPES.length; ++t) {
- var n = OUTPUT_TYPES[t];
- e[n] = createOutputMethod(n)
+ }, {
+ test: [/huawei/i],
+ describe: function(e) {
+ var t = r.default.getFirstMatch(/(can-l01)/i, e) && "Nova",
+ n = {
+ type: i.PLATFORMS_MAP.mobile,
+ vendor: "Huawei"
+ };
+ return t && (n.model = t), n
}
- return e
- },
- nodeWrap = function(method) {
- var crypto = eval("require('crypto')"),
- Buffer = eval("require('buffer').Buffer"),
- nodeMethod = function(e) {
- if ("string" == typeof e) return crypto.createHash("md5").update(e, "utf8").digest("hex");
- if (null == e) throw ERROR;
- return e.constructor === ArrayBuffer && (e = new Uint8Array(e)), Array.isArray(e) || ArrayBuffer.isView(e) || e.constructor === Buffer ? crypto.createHash("md5").update(new Buffer(e)).digest("hex") : method(e)
+ }, {
+ test: [/nexus\s*(?:7|8|9|10).*/i],
+ describe: function() {
+ return {
+ type: i.PLATFORMS_MAP.tablet,
+ vendor: "Nexus"
+ }
+ }
+ }, {
+ test: [/ipad/i],
+ describe: function() {
+ return {
+ type: i.PLATFORMS_MAP.tablet,
+ vendor: "Apple",
+ model: "iPad"
+ }
+ }
+ }, {
+ test: [/kftt build/i],
+ describe: function() {
+ return {
+ type: i.PLATFORMS_MAP.tablet,
+ vendor: "Amazon",
+ model: "Kindle Fire HD 7"
+ }
+ }
+ }, {
+ test: [/silk/i],
+ describe: function() {
+ return {
+ type: i.PLATFORMS_MAP.tablet,
+ vendor: "Amazon"
+ }
+ }
+ }, {
+ test: [/tablet(?! pc)/i],
+ describe: function() {
+ return {
+ type: i.PLATFORMS_MAP.tablet
+ }
+ }
+ }, {
+ test: function(e) {
+ var t = e.test(/ipod|iphone/i),
+ n = e.test(/like (ipod|iphone)/i);
+ return t && !n
+ },
+ describe: function(e) {
+ var t = r.default.getFirstMatch(/(ipod|iphone)/i, e);
+ return {
+ type: i.PLATFORMS_MAP.mobile,
+ vendor: "Apple",
+ model: t
+ }
+ }
+ }, {
+ test: [/nexus\s*[0-6].*/i, /galaxy nexus/i],
+ describe: function() {
+ return {
+ type: i.PLATFORMS_MAP.mobile,
+ vendor: "Nexus"
+ }
+ }
+ }, {
+ test: [/[^-]mobi/i],
+ describe: function() {
+ return {
+ type: i.PLATFORMS_MAP.mobile
+ }
+ }
+ }, {
+ test: function(e) {
+ return "blackberry" === e.getBrowserName(!0)
+ },
+ describe: function() {
+ return {
+ type: i.PLATFORMS_MAP.mobile,
+ vendor: "BlackBerry"
+ }
+ }
+ }, {
+ test: function(e) {
+ return "bada" === e.getBrowserName(!0)
+ },
+ describe: function() {
+ return {
+ type: i.PLATFORMS_MAP.mobile
+ }
+ }
+ }, {
+ test: function(e) {
+ return "windows phone" === e.getBrowserName()
+ },
+ describe: function() {
+ return {
+ type: i.PLATFORMS_MAP.mobile,
+ vendor: "Microsoft"
+ }
+ }
+ }, {
+ test: function(e) {
+ var t = Number(String(e.getOSVersion()).split(".")[0]);
+ return "android" === e.getOSName(!0) && t >= 3
+ },
+ describe: function() {
+ return {
+ type: i.PLATFORMS_MAP.tablet
+ }
+ }
+ }, {
+ test: function(e) {
+ return "android" === e.getOSName(!0)
+ },
+ describe: function() {
+ return {
+ type: i.PLATFORMS_MAP.mobile
+ }
+ }
+ }, {
+ test: function(e) {
+ return "macos" === e.getOSName(!0)
+ },
+ describe: function() {
+ return {
+ type: i.PLATFORMS_MAP.desktop,
+ vendor: "Apple"
+ }
+ }
+ }, {
+ test: function(e) {
+ return "windows" === e.getOSName(!0)
+ },
+ describe: function() {
+ return {
+ type: i.PLATFORMS_MAP.desktop
+ }
+ }
+ }, {
+ test: function(e) {
+ return "linux" === e.getOSName(!0)
+ },
+ describe: function() {
+ return {
+ type: i.PLATFORMS_MAP.desktop
+ }
+ }
+ }, {
+ test: function(e) {
+ return "playstation 4" === e.getOSName(!0)
+ },
+ describe: function() {
+ return {
+ type: i.PLATFORMS_MAP.tv
+ }
+ }
+ }, {
+ test: function(e) {
+ return "roku" === e.getOSName(!0)
+ },
+ describe: function() {
+ return {
+ type: i.PLATFORMS_MAP.tv
+ }
+ }
+ }];
+ t.default = o, e.exports = t.default
+ },
+ 95: function(e, t, n) {
+ "use strict";
+ t.__esModule = !0, t.default = void 0;
+ var a, r = (a = n(17)) && a.__esModule ? a : {
+ default: a
+ },
+ i = n(18),
+ o = [{
+ test: function(e) {
+ return "microsoft edge" === e.getBrowserName(!0)
+ },
+ describe: function(e) {
+ if (/\sedg\//i.test(e)) return {
+ name: i.ENGINE_MAP.Blink
};
- return nodeMethod
- };
-
- function Md5(e) {
- if (e) blocks[0] = blocks[16] = blocks[1] = blocks[2] = blocks[3] = blocks[4] = blocks[5] = blocks[6] = blocks[7] = blocks[8] = blocks[9] = blocks[10] = blocks[11] = blocks[12] = blocks[13] = blocks[14] = blocks[15] = 0, this.blocks = blocks, this.buffer8 = buffer8;
- else if (ARRAY_BUFFER) {
- var t = new ArrayBuffer(68);
- this.buffer8 = new Uint8Array(t), this.blocks = new Uint32Array(t)
- } else this.blocks = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
- this.h0 = this.h1 = this.h2 = this.h3 = this.start = this.bytes = 0, this.finalized = this.hashed = !1, this.first = !0
- }
- Md5.prototype.update = function(e) {
- if (!this.finalized) {
- var t, n = typeof e;
- if ("string" !== n) {
- if ("object" !== n) throw ERROR;
- if (null === e) throw ERROR;
- if (ARRAY_BUFFER && e.constructor === ArrayBuffer) e = new Uint8Array(e);
- else if (!(Array.isArray(e) || ARRAY_BUFFER && ArrayBuffer.isView(e))) throw ERROR;
- t = !0
- }
- for (var a, r, i = 0, o = e.length, s = this.blocks, l = this.buffer8; i < o;) {
- if (this.hashed && (this.hashed = !1, s[0] = s[16], s[16] = s[1] = s[2] = s[3] = s[4] = s[5] = s[6] = s[7] = s[8] = s[9] = s[10] = s[11] = s[12] = s[13] = s[14] = s[15] = 0), t)
- if (ARRAY_BUFFER)
- for (r = this.start; i < o && r < 64; ++i) l[r++] = e[i];
- else
- for (r = this.start; i < o && r < 64; ++i) s[r >> 2] |= e[i] << SHIFT[3 & r++];
- else if (ARRAY_BUFFER)
- for (r = this.start; i < o && r < 64; ++i)(a = e.charCodeAt(i)) < 128 ? l[r++] = a : a < 2048 ? (l[r++] = 192 | a >> 6, l[r++] = 128 | 63 & a) : a < 55296 || a >= 57344 ? (l[r++] = 224 | a >> 12, l[r++] = 128 | a >> 6 & 63, l[r++] = 128 | 63 & a) : (a = 65536 + ((1023 & a) << 10 | 1023 & e.charCodeAt(++i)), l[r++] = 240 | a >> 18, l[r++] = 128 | a >> 12 & 63, l[r++] = 128 | a >> 6 & 63, l[r++] = 128 | 63 & a);
- else
- for (r = this.start; i < o && r < 64; ++i)(a = e.charCodeAt(i)) < 128 ? s[r >> 2] |= a << SHIFT[3 & r++] : a < 2048 ? (s[r >> 2] |= (192 | a >> 6) << SHIFT[3 & r++], s[r >> 2] |= (128 | 63 & a) << SHIFT[3 & r++]) : a < 55296 || a >= 57344 ? (s[r >> 2] |= (224 | a >> 12) << SHIFT[3 & r++], s[r >> 2] |= (128 | a >> 6 & 63) << SHIFT[3 & r++], s[r >> 2] |= (128 | 63 & a) << SHIFT[3 & r++]) : (a = 65536 + ((1023 & a) << 10 | 1023 & e.charCodeAt(++i)), s[r >> 2] |= (240 | a >> 18) << SHIFT[3 & r++], s[r >> 2] |= (128 | a >> 12 & 63) << SHIFT[3 & r++], s[r >> 2] |= (128 | a >> 6 & 63) << SHIFT[3 & r++], s[r >> 2] |= (128 | 63 & a) << SHIFT[3 & r++]);
- this.lastByteIndex = r, this.bytes += r - this.start, r >= 64 ? (this.start = r - 64, this.hash(), this.hashed = !0) : this.start = r
+ var t = r.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i, e);
+ return {
+ name: i.ENGINE_MAP.EdgeHTML,
+ version: t
+ }
}
- return this
- }
- }, Md5.prototype.finalize = function() {
- if (!this.finalized) {
- this.finalized = !0;
- var e = this.blocks,
- t = this.lastByteIndex;
- e[t >> 2] |= EXTRA[3 & t], t >= 56 && (this.hashed || this.hash(), e[0] = e[16], e[16] = e[1] = e[2] = e[3] = e[4] = e[5] = e[6] = e[7] = e[8] = e[9] = e[10] = e[11] = e[12] = e[13] = e[14] = e[15] = 0), e[14] = this.bytes << 3, this.hash()
- }
- }, Md5.prototype.hash = function() {
- var e, t, n, a, r, i, o = this.blocks;
- this.first ? t = ((t = ((e = ((e = o[0] - 680876937) << 7 | e >>> 25) - 271733879 << 0) ^ (n = ((n = (-271733879 ^ (a = ((a = (-1732584194 ^ 2004318071 & e) + o[1] - 117830708) << 12 | a >>> 20) + e << 0) & (-271733879 ^ e)) + o[2] - 1126478375) << 17 | n >>> 15) + a << 0) & (a ^ e)) + o[3] - 1316259209) << 22 | t >>> 10) + n << 0 : (e = this.h0, t = this.h1, n = this.h2, t = ((t += ((e = ((e += ((a = this.h3) ^ t & (n ^ a)) + o[0] - 680876936) << 7 | e >>> 25) + t << 0) ^ (n = ((n += (t ^ (a = ((a += (n ^ e & (t ^ n)) + o[1] - 389564586) << 12 | a >>> 20) + e << 0) & (e ^ t)) + o[2] + 606105819) << 17 | n >>> 15) + a << 0) & (a ^ e)) + o[3] - 1044525330) << 22 | t >>> 10) + n << 0), t = ((t += ((e = ((e += (a ^ t & (n ^ a)) + o[4] - 176418897) << 7 | e >>> 25) + t << 0) ^ (n = ((n += (t ^ (a = ((a += (n ^ e & (t ^ n)) + o[5] + 1200080426) << 12 | a >>> 20) + e << 0) & (e ^ t)) + o[6] - 1473231341) << 17 | n >>> 15) + a << 0) & (a ^ e)) + o[7] - 45705983) << 22 | t >>> 10) + n << 0, t = ((t += ((e = ((e += (a ^ t & (n ^ a)) + o[8] + 1770035416) << 7 | e >>> 25) + t << 0) ^ (n = ((n += (t ^ (a = ((a += (n ^ e & (t ^ n)) + o[9] - 1958414417) << 12 | a >>> 20) + e << 0) & (e ^ t)) + o[10] - 42063) << 17 | n >>> 15) + a << 0) & (a ^ e)) + o[11] - 1990404162) << 22 | t >>> 10) + n << 0, t = ((t += ((e = ((e += (a ^ t & (n ^ a)) + o[12] + 1804603682) << 7 | e >>> 25) + t << 0) ^ (n = ((n += (t ^ (a = ((a += (n ^ e & (t ^ n)) + o[13] - 40341101) << 12 | a >>> 20) + e << 0) & (e ^ t)) + o[14] - 1502002290) << 17 | n >>> 15) + a << 0) & (a ^ e)) + o[15] + 1236535329) << 22 | t >>> 10) + n << 0, t = ((t += ((a = ((a += (t ^ n & ((e = ((e += (n ^ a & (t ^ n)) + o[1] - 165796510) << 5 | e >>> 27) + t << 0) ^ t)) + o[6] - 1069501632) << 9 | a >>> 23) + e << 0) ^ e & ((n = ((n += (e ^ t & (a ^ e)) + o[11] + 643717713) << 14 | n >>> 18) + a << 0) ^ a)) + o[0] - 373897302) << 20 | t >>> 12) + n << 0, t = ((t += ((a = ((a += (t ^ n & ((e = ((e += (n ^ a & (t ^ n)) + o[5] - 701558691) << 5 | e >>> 27) + t << 0) ^ t)) + o[10] + 38016083) << 9 | a >>> 23) + e << 0) ^ e & ((n = ((n += (e ^ t & (a ^ e)) + o[15] - 660478335) << 14 | n >>> 18) + a << 0) ^ a)) + o[4] - 405537848) << 20 | t >>> 12) + n << 0, t = ((t += ((a = ((a += (t ^ n & ((e = ((e += (n ^ a & (t ^ n)) + o[9] + 568446438) << 5 | e >>> 27) + t << 0) ^ t)) + o[14] - 1019803690) << 9 | a >>> 23) + e << 0) ^ e & ((n = ((n += (e ^ t & (a ^ e)) + o[3] - 187363961) << 14 | n >>> 18) + a << 0) ^ a)) + o[8] + 1163531501) << 20 | t >>> 12) + n << 0, t = ((t += ((a = ((a += (t ^ n & ((e = ((e += (n ^ a & (t ^ n)) + o[13] - 1444681467) << 5 | e >>> 27) + t << 0) ^ t)) + o[2] - 51403784) << 9 | a >>> 23) + e << 0) ^ e & ((n = ((n += (e ^ t & (a ^ e)) + o[7] + 1735328473) << 14 | n >>> 18) + a << 0) ^ a)) + o[12] - 1926607734) << 20 | t >>> 12) + n << 0, t = ((t += ((i = (a = ((a += ((r = t ^ n) ^ (e = ((e += (r ^ a) + o[5] - 378558) << 4 | e >>> 28) + t << 0)) + o[8] - 2022574463) << 11 | a >>> 21) + e << 0) ^ e) ^ (n = ((n += (i ^ t) + o[11] + 1839030562) << 16 | n >>> 16) + a << 0)) + o[14] - 35309556) << 23 | t >>> 9) + n << 0, t = ((t += ((i = (a = ((a += ((r = t ^ n) ^ (e = ((e += (r ^ a) + o[1] - 1530992060) << 4 | e >>> 28) + t << 0)) + o[4] + 1272893353) << 11 | a >>> 21) + e << 0) ^ e) ^ (n = ((n += (i ^ t) + o[7] - 155497632) << 16 | n >>> 16) + a << 0)) + o[10] - 1094730640) << 23 | t >>> 9) + n << 0, t = ((t += ((i = (a = ((a += ((r = t ^ n) ^ (e = ((e += (r ^ a) + o[13] + 681279174) << 4 | e >>> 28) + t << 0)) + o[0] - 358537222) << 11 | a >>> 21) + e << 0) ^ e) ^ (n = ((n += (i ^ t) + o[3] - 722521979) << 16 | n >>> 16) + a << 0)) + o[6] + 76029189) << 23 | t >>> 9) + n << 0, t = ((t += ((i = (a = ((a += ((r = t ^ n) ^ (e = ((e += (r ^ a) + o[9] - 640364487) << 4 | e >>> 28) + t << 0)) + o[12] - 421815835) << 11 | a >>> 21) + e << 0) ^ e) ^ (n = ((n += (i ^ t) + o[15] + 530742520) << 16 | n >>> 16) + a << 0)) + o[2] - 995338651) << 23 | t >>> 9) + n << 0, t = ((t += ((a = ((a += (t ^ ((e = ((e += (n ^ (t | ~a)) + o[0] - 198630844) << 6 | e >>> 26) + t << 0) | ~n)) + o[7] + 1126891415) << 10 | a >>> 22) + e << 0) ^ ((n = ((n += (e ^ (a | ~t)) + o[14] - 1416354905) << 15 | n >>> 17) + a << 0) | ~e)) + o[5] - 57434055) << 21 | t >>> 11) + n << 0, t = ((t += ((a = ((a += (t ^ ((e = ((e += (n ^ (t | ~a)) + o[12] + 1700485571) << 6 | e >>> 26) + t << 0) | ~n)) + o[3] - 1894986606) << 10 | a >>> 22) + e << 0) ^ ((n = ((n += (e ^ (a | ~t)) + o[10] - 1051523) << 15 | n >>> 17) + a << 0) | ~e)) + o[1] - 2054922799) << 21 | t >>> 11) + n << 0, t = ((t += ((a = ((a += (t ^ ((e = ((e += (n ^ (t | ~a)) + o[8] + 1873313359) << 6 | e >>> 26) + t << 0) | ~n)) + o[15] - 30611744) << 10 | a >>> 22) + e << 0) ^ ((n = ((n += (e ^ (a | ~t)) + o[6] - 1560198380) << 15 | n >>> 17) + a << 0) | ~e)) + o[13] + 1309151649) << 21 | t >>> 11) + n << 0, t = ((t += ((a = ((a += (t ^ ((e = ((e += (n ^ (t | ~a)) + o[4] - 145523070) << 6 | e >>> 26) + t << 0) | ~n)) + o[11] - 1120210379) << 10 | a >>> 22) + e << 0) ^ ((n = ((n += (e ^ (a | ~t)) + o[2] + 718787259) << 15 | n >>> 17) + a << 0) | ~e)) + o[9] - 343485551) << 21 | t >>> 11) + n << 0, this.first ? (this.h0 = e + 1732584193 << 0, this.h1 = t - 271733879 << 0, this.h2 = n - 1732584194 << 0, this.h3 = a + 271733878 << 0, this.first = !1) : (this.h0 = this.h0 + e << 0, this.h1 = this.h1 + t << 0, this.h2 = this.h2 + n << 0, this.h3 = this.h3 + a << 0)
- }, Md5.prototype.hex = function() {
- this.finalize();
- var e = this.h0,
- t = this.h1,
- n = this.h2,
- a = this.h3;
- return HEX_CHARS[e >> 4 & 15] + HEX_CHARS[15 & e] + HEX_CHARS[e >> 12 & 15] + HEX_CHARS[e >> 8 & 15] + HEX_CHARS[e >> 20 & 15] + HEX_CHARS[e >> 16 & 15] + HEX_CHARS[e >> 28 & 15] + HEX_CHARS[e >> 24 & 15] + HEX_CHARS[t >> 4 & 15] + HEX_CHARS[15 & t] + HEX_CHARS[t >> 12 & 15] + HEX_CHARS[t >> 8 & 15] + HEX_CHARS[t >> 20 & 15] + HEX_CHARS[t >> 16 & 15] + HEX_CHARS[t >> 28 & 15] + HEX_CHARS[t >> 24 & 15] + HEX_CHARS[n >> 4 & 15] + HEX_CHARS[15 & n] + HEX_CHARS[n >> 12 & 15] + HEX_CHARS[n >> 8 & 15] + HEX_CHARS[n >> 20 & 15] + HEX_CHARS[n >> 16 & 15] + HEX_CHARS[n >> 28 & 15] + HEX_CHARS[n >> 24 & 15] + HEX_CHARS[a >> 4 & 15] + HEX_CHARS[15 & a] + HEX_CHARS[a >> 12 & 15] + HEX_CHARS[a >> 8 & 15] + HEX_CHARS[a >> 20 & 15] + HEX_CHARS[a >> 16 & 15] + HEX_CHARS[a >> 28 & 15] + HEX_CHARS[a >> 24 & 15]
- }, Md5.prototype.toString = Md5.prototype.hex, Md5.prototype.digest = function() {
- this.finalize();
- var e = this.h0,
- t = this.h1,
- n = this.h2,
- a = this.h3;
- return [255 & e, e >> 8 & 255, e >> 16 & 255, e >> 24 & 255, 255 & t, t >> 8 & 255, t >> 16 & 255, t >> 24 & 255, 255 & n, n >> 8 & 255, n >> 16 & 255, n >> 24 & 255, 255 & a, a >> 8 & 255, a >> 16 & 255, a >> 24 & 255]
- }, Md5.prototype.array = Md5.prototype.digest, Md5.prototype.arrayBuffer = function() {
- this.finalize();
- var e = new ArrayBuffer(16),
- t = new Uint32Array(e);
- return t[0] = this.h0, t[1] = this.h1, t[2] = this.h2, t[3] = this.h3, e
- }, Md5.prototype.buffer = Md5.prototype.arrayBuffer, Md5.prototype.base64 = function() {
- for (var e, t, n, a = "", r = this.array(), i = 0; i < 15;) e = r[i++], t = r[i++], n = r[i++], a += BASE64_ENCODE_CHAR[e >>> 2] + BASE64_ENCODE_CHAR[63 & (e << 4 | t >>> 4)] + BASE64_ENCODE_CHAR[63 & (t << 2 | n >>> 6)] + BASE64_ENCODE_CHAR[63 & n];
- return e = r[i], a + (BASE64_ENCODE_CHAR[e >>> 2] + BASE64_ENCODE_CHAR[e << 4 & 63] + "==")
- };
- var exports = createMethod();
- COMMON_JS ? module.exports = exports : (root.md5 = exports, AMD && (__WEBPACK_AMD_DEFINE_RESULT__ = function() {
- return exports
- }.call(exports, __webpack_require__, exports, module), void 0 === __WEBPACK_AMD_DEFINE_RESULT__ || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)))
- })()
- }, 9229: e => {
- function t(e) {
- this.message = e
- }
- t.prototype = new Error, t.prototype.name = "InvalidCharacterError", e.exports = "undefined" != typeof window && window.atob && window.atob.bind(window) || function(e) {
- var n = String(e).replace(/=+$/, "");
- if (n.length % 4 == 1) throw new t("'atob' failed: The string to be decoded is not correctly encoded.");
- for (var a, r, i = 0, o = 0, s = ""; r = n.charAt(o++); ~r && (a = i % 4 ? 64 * a + r : r, i++ % 4) ? s += String.fromCharCode(255 & a >> (-2 * i & 6)) : 0) r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);
- return s
- }
- }, 2099: (e, t, n) => {
- var a = n(9229);
- e.exports = function(e) {
- var t = e.replace(/-/g, "+").replace(/_/g, "/");
- switch (t.length % 4) {
- case 0:
- break;
- case 2:
- t += "==";
- break;
- case 3:
- t += "=";
- break;
- default:
- throw "Illegal base64url string!"
- }
- try {
- return function(e) {
- return decodeURIComponent(a(e).replace(/(.)/g, (function(e, t) {
- var n = t.charCodeAt(0).toString(16).toUpperCase();
- return n.length < 2 && (n = "0" + n), "%" + n
- })))
- }(t)
- } catch (e) {
- return a(t)
- }
- }
- }, 9623: (e, t, n) => {
- "use strict";
- var a = n(2099);
-
- function r(e) {
- this.message = e
- }
- r.prototype = new Error, r.prototype.name = "InvalidTokenError", e.exports = function(e, t) {
- if ("string" != typeof e) throw new r("Invalid token specified");
- var n = !0 === (t = t || {}).header ? 0 : 1;
- try {
- return JSON.parse(a(e.split(".")[n]))
- } catch (e) {
- throw new r("Invalid token specified: " + e.message)
- }
- }, e.exports.InvalidTokenError = r
- }, 6148: (e, t, n) => {
- "use strict";
-
- function a(e) {
- var t = Array.prototype.slice.call(arguments, 1);
- return t.forEach((function(t) {
- t && Object.keys(t).forEach((function(n) {
- e[n] = t[n]
- }))
- })), e
- }
-
- function r(e) {
- return Object.prototype.toString.call(e)
- }
-
- function i(e) {
- return "[object Function]" === r(e)
- }
-
- function o(e) {
- return e.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&")
- }
- var s = {
- fuzzyLink: !0,
- fuzzyEmail: !0,
- fuzzyIP: !1
- },
- l = {
- "http:": {
- validate: function(e, t, n) {
- var a = e.slice(t);
- return n.re.http || (n.re.http = new RegExp("^\\/\\/" + n.re.src_auth + n.re.src_host_port_strict + n.re.src_path, "i")), n.re.http.test(a) ? a.match(n.re.http)[0].length : 0
+ }, {
+ test: [/trident/i],
+ describe: function(e) {
+ var t = {
+ name: i.ENGINE_MAP.Trident
+ },
+ n = r.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
}
- },
- "https:": "http:",
- "ftp:": "http:",
- "//": {
- validate: function(e, t, n) {
- var a = e.slice(t);
- return n.re.no_http || (n.re.no_http = new RegExp("^" + n.re.src_auth + "(?:localhost|(?:(?:" + n.re.src_domain + ")\\.)+" + n.re.src_domain_root + ")" + n.re.src_port + n.re.src_host_terminator + n.re.src_path, "i")), n.re.no_http.test(a) ? t >= 3 && ":" === e[t - 3] || t >= 3 && "/" === e[t - 3] ? 0 : a.match(n.re.no_http)[0].length : 0
+ }, {
+ test: function(e) {
+ return e.test(/presto/i)
+ },
+ describe: function(e) {
+ var t = {
+ name: i.ENGINE_MAP.Presto
+ },
+ n = r.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
}
- },
- "mailto:": {
- validate: function(e, t, n) {
- var a = e.slice(t);
- return n.re.mailto || (n.re.mailto = new RegExp("^" + n.re.src_email_name + "@" + n.re.src_host_strict, "i")), n.re.mailto.test(a) ? a.match(n.re.mailto)[0].length : 0
+ }, {
+ test: function(e) {
+ var t = e.test(/gecko/i),
+ n = e.test(/like gecko/i);
+ return t && !n
+ },
+ describe: function(e) {
+ var t = {
+ name: i.ENGINE_MAP.Gecko
+ },
+ n = r.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
}
- }
- },
- c = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");
-
- function u(e) {
- var t = e.re = n(3854)(e.__opts__),
- a = e.__tlds__.slice();
-
- function s(e) {
- return e.replace("%TLDS%", t.src_tlds)
- }
- e.onCompile(), e.__tlds_replaced__ || a.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"), a.push(t.src_xn), t.src_tlds = a.join("|"), t.email_fuzzy = RegExp(s(t.tpl_email_fuzzy), "i"), t.link_fuzzy = RegExp(s(t.tpl_link_fuzzy), "i"), t.link_no_ip_fuzzy = RegExp(s(t.tpl_link_no_ip_fuzzy), "i"), t.host_fuzzy_test = RegExp(s(t.tpl_host_fuzzy_test), "i");
- var l = [];
-
- function c(e, t) {
- throw new Error('(LinkifyIt) Invalid schema "' + e + '": ' + t)
- }
- e.__compiled__ = {}, Object.keys(e.__schemas__).forEach((function(t) {
- var n = e.__schemas__[t];
- if (null !== n) {
- var a = {
- validate: null,
- link: null
- };
- if (e.__compiled__[t] = a, "[object Object]" === r(n)) return "[object RegExp]" !== r(n.validate) ? i(n.validate) ? a.validate = n.validate : c(t, n) : a.validate = function(e) {
- return function(t, n) {
- var a = t.slice(n);
- return e.test(a) ? a.match(e)[0].length : 0
+ }, {
+ test: [/(apple)?webkit\/537\.36/i],
+ describe: function() {
+ return {
+ name: i.ENGINE_MAP.Blink
}
- }(n.validate), void(i(n.normalize) ? a.normalize = n.normalize : n.normalize ? c(t, n) : a.normalize = function(e, t) {
- t.normalize(e)
- });
- ! function(e) {
- return "[object String]" === r(e)
- }(n) ? c(t, n): l.push(t)
- }
- })), l.forEach((function(t) {
- e.__compiled__[e.__schemas__[t]] && (e.__compiled__[t].validate = e.__compiled__[e.__schemas__[t]].validate, e.__compiled__[t].normalize = e.__compiled__[e.__schemas__[t]].normalize)
- })), e.__compiled__[""] = {
- validate: null,
- normalize: function(e, t) {
- t.normalize(e)
- }
- };
- var u = Object.keys(e.__compiled__).filter((function(t) {
- return t.length > 0 && e.__compiled__[t]
- })).map(o).join("|");
- e.re.schema_test = RegExp("(^|(?!_)(?:[><|]|" + t.src_ZPCc + "))(" + u + ")", "i"), e.re.schema_search = RegExp("(^|(?!_)(?:[><|]|" + t.src_ZPCc + "))(" + u + ")", "ig"), e.re.pretest = RegExp("(" + e.re.schema_test.source + ")|(" + e.re.host_fuzzy_test.source + ")|@", "i"),
- function(e) {
- e.__index__ = -1, e.__text_cache__ = ""
- }(e)
- }
-
- function d(e, t) {
- var n = e.__index__,
- a = e.__last_index__,
- r = e.__text_cache__.slice(n, a);
- this.schema = e.__schema__.toLowerCase(), this.index = n + t, this.lastIndex = a + t, this.raw = r, this.text = r, this.url = r
- }
-
- function p(e, t) {
- var n = new d(e, t);
- return e.__compiled__[n.schema].normalize(n, e), n
+ }
+ }, {
+ test: [/(apple)?webkit/i],
+ describe: function(e) {
+ var t = {
+ name: i.ENGINE_MAP.WebKit
+ },
+ n = r.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i, e);
+ return n && (t.version = n), t
+ }
+ }];
+ t.default = o, e.exports = t.default
}
-
- function h(e, t) {
- if (!(this instanceof h)) return new h(e, t);
- var n;
- t || (n = e, Object.keys(n || {}).reduce((function(e, t) {
- return e || s.hasOwnProperty(t)
- }), !1) && (t = e, e = {})), this.__opts__ = a({}, s, t), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = a({}, l, e), this.__compiled__ = {}, this.__tlds__ = c, this.__tlds_replaced__ = !1, this.re = {}, u(this)
- }
- h.prototype.add = function(e, t) {
- return this.__schemas__[e] = t, u(this), this
- }, h.prototype.set = function(e) {
- return this.__opts__ = a(this.__opts__, e), this
- }, h.prototype.test = function(e) {
- if (this.__text_cache__ = e, this.__index__ = -1, !e.length) return !1;
- var t, n, a, r, i, o, s, l;
- if (this.re.schema_test.test(e))
- for ((s = this.re.schema_search).lastIndex = 0; null !== (t = s.exec(e));)
- if (r = this.testSchemaAt(e, t[2], s.lastIndex)) {
- this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + r;
- break
- } return this.__opts__.fuzzyLink && this.__compiled__["http:"] && (l = e.search(this.re.host_fuzzy_test)) >= 0 && (this.__index__ < 0 || l < this.__index__) && null !== (n = e.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) && (i = n.index + n[1].length, (this.__index__ < 0 || i < this.__index__) && (this.__schema__ = "", this.__index__ = i, this.__last_index__ = n.index + n[0].length)), this.__opts__.fuzzyEmail && this.__compiled__["mailto:"] && e.indexOf("@") >= 0 && null !== (a = e.match(this.re.email_fuzzy)) && (i = a.index + a[1].length, o = a.index + a[0].length, (this.__index__ < 0 || i < this.__index__ || i === this.__index__ && o > this.__last_index__) && (this.__schema__ = "mailto:", this.__index__ = i, this.__last_index__ = o)), this.__index__ >= 0
- }, h.prototype.pretest = function(e) {
- return this.re.pretest.test(e)
- }, h.prototype.testSchemaAt = function(e, t, n) {
- return this.__compiled__[t.toLowerCase()] ? this.__compiled__[t.toLowerCase()].validate(e, n, this) : 0
- }, h.prototype.match = function(e) {
- var t = 0,
- n = [];
- this.__index__ >= 0 && this.__text_cache__ === e && (n.push(p(this, t)), t = this.__last_index__);
- for (var a = t ? e.slice(t) : e; this.test(a);) n.push(p(this, t)), a = a.slice(this.__last_index__), t += this.__last_index__;
- return n.length ? n : null
- }, h.prototype.tlds = function(e, t) {
- return e = Array.isArray(e) ? e : [e], t ? (this.__tlds__ = this.__tlds__.concat(e).sort().filter((function(e, t, n) {
- return e !== n[t - 1]
- })).reverse(), u(this), this) : (this.__tlds__ = e.slice(), this.__tlds_replaced__ = !0, u(this), this)
- }, h.prototype.normalize = function(e) {
- e.schema || (e.url = "http://" + e.url), "mailto:" !== e.schema || /^mailto:/i.test(e.url) || (e.url = "mailto:" + e.url)
- }, h.prototype.onCompile = function() {}, e.exports = h
- }, 3854: (e, t, n) => {
+ })
+}, 3588: (e, t) => {
+ var n;
+ ! function() {
"use strict";
- e.exports = function(e) {
- var t = {};
- return t.src_Any = n(8486).source, t.src_Cc = n(8690).source, t.src_Z = n(8382).source, t.src_P = n(4601).source, t.src_ZPCc = [t.src_Z, t.src_P, t.src_Cc].join("|"), t.src_ZCc = [t.src_Z, t.src_Cc].join("|"), t.src_pseudo_letter = "(?:(?![><|]|" + t.src_ZPCc + ")" + t.src_Any + ")", t.src_ip4 = "(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)", t.src_auth = "(?:(?:(?!" + t.src_ZCc + "|[@/\\[\\]()]).)+@)?", t.src_port = "(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?", t.src_host_terminator = "(?=$|[><|]|" + t.src_ZPCc + ")(?!-|_|:\\d|\\.-|\\.(?!$|" + t.src_ZPCc + "))", t.src_path = "(?:[/?#](?:(?!" + t.src_ZCc + "|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!" + t.src_ZCc + "|\\]).)*\\]|\\((?:(?!" + t.src_ZCc + "|[)]).)*\\)|\\{(?:(?!" + t.src_ZCc + '|[}]).)*\\}|\\"(?:(?!' + t.src_ZCc + '|["]).)+\\"|\\\'(?:(?!' + t.src_ZCc + "|[']).)+\\'|\\'(?=" + t.src_pseudo_letter + "|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!" + t.src_ZCc + "|[.]).|" + (e && e["---"] ? "\\-(?!--(?:[^-]|$))(?:-*)|" : "\\-+|") + "\\,(?!" + t.src_ZCc + ").|\\!(?!" + t.src_ZCc + "|[!]).|\\?(?!" + t.src_ZCc + "|[?]).)+|\\/)?", t.src_email_name = '[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*', t.src_xn = "xn--[a-z0-9\\-]{1,59}", t.src_domain_root = "(?:" + t.src_xn + "|" + t.src_pseudo_letter + "{1,63})", t.src_domain = "(?:" + t.src_xn + "|(?:" + t.src_pseudo_letter + ")|(?:" + t.src_pseudo_letter + "(?:-|" + t.src_pseudo_letter + "){0,61}" + t.src_pseudo_letter + "))", t.src_host = "(?:(?:(?:(?:" + t.src_domain + ")\\.)*" + t.src_domain + "))", t.tpl_host_fuzzy = "(?:" + t.src_ip4 + "|(?:(?:(?:" + t.src_domain + ")\\.)+(?:%TLDS%)))", t.tpl_host_no_ip_fuzzy = "(?:(?:(?:" + t.src_domain + ")\\.)+(?:%TLDS%))", t.src_host_strict = t.src_host + t.src_host_terminator, t.tpl_host_fuzzy_strict = t.tpl_host_fuzzy + t.src_host_terminator, t.src_host_port_strict = t.src_host + t.src_port + t.src_host_terminator, t.tpl_host_port_fuzzy_strict = t.tpl_host_fuzzy + t.src_port + t.src_host_terminator, t.tpl_host_port_no_ip_fuzzy_strict = t.tpl_host_no_ip_fuzzy + t.src_port + t.src_host_terminator, t.tpl_host_fuzzy_test = "localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:" + t.src_ZPCc + "|>|$))", t.tpl_email_fuzzy = '(^|[><|]|"|\\(|' + t.src_ZCc + ")(" + t.src_email_name + "@" + t.tpl_host_fuzzy_strict + ")", t.tpl_link_fuzzy = "(^|(?![.:/\\-_@])(?:[$+<=>^`||]|" + t.src_ZPCc + "))((?![$+<=>^`||])" + t.tpl_host_port_fuzzy_strict + t.src_path + ")", t.tpl_link_no_ip_fuzzy = "(^|(?![.:/\\-_@])(?:[$+<=>^`||]|" + t.src_ZPCc + "))((?![$+<=>^`||])" + t.tpl_host_port_no_ip_fuzzy_strict + t.src_path + ")", t
- }
- }, 7947: e => {
- function t(e, t) {
- e.onload = function() {
- this.onerror = this.onload = null, t(null, e)
- }, e.onerror = function() {
- this.onerror = this.onload = null, t(new Error("Failed to load " + this.src), e)
- }
- }
+ var a = {}.hasOwnProperty;
- function n(e, t) {
- e.onreadystatechange = function() {
- "complete" != this.readyState && "loaded" != this.readyState || (this.onreadystatechange = null, t(null, e))
+ function r() {
+ for (var e = [], t = 0; t < arguments.length; t++) {
+ var n = arguments[t];
+ if (n) {
+ var i = typeof n;
+ if ("string" === i || "number" === i) e.push(n);
+ else if (Array.isArray(n)) e.push(r.apply(null, n));
+ else if ("object" === i)
+ for (var o in n) a.call(n, o) && n[o] && e.push(o)
+ }
}
+ return e.join(" ")
}
- e.exports = function(e, a, r) {
- var i = document.head || document.getElementsByTagName("head")[0],
- o = document.createElement("script");
- "function" == typeof a && (r = a, a = {}), a = a || {}, r = r || function() {}, o.type = a.type || "text/javascript", o.charset = a.charset || "utf8", o.async = !("async" in a) || !!a.async, o.src = e, a.attrs && function(e, t) {
- for (var n in t) e.setAttribute(n, t[n])
- }(o, a.attrs), a.text && (o.text = "" + a.text), ("onload" in o ? t : n)(o, r), o.onload || t(o, r), i.appendChild(o)
- }
- }, 7027: (e, t, n) => {
- var a = "object" == typeof n.g && n.g && n.g.Object === Object && n.g,
- r = "object" == typeof self && self && self.Object === Object && self,
- i = a || r || Function("return this")();
-
- function o(e, t) {
- for (var n = -1, a = t.length, r = e.length; ++n < a;) e[r + n] = t[n];
- return e
- }
- var s = Object.prototype,
- l = s.hasOwnProperty,
- c = s.toString,
- u = i.Symbol,
- d = s.propertyIsEnumerable,
- p = u ? u.isConcatSpreadable : void 0;
-
- function h(e, t, n, a, r) {
- var i = -1,
- s = e.length;
- for (n || (n = m), r || (r = []); ++i < s;) {
- var l = e[i];
- t > 0 && n(l) ? t > 1 ? h(l, t - 1, n, a, r) : o(r, l) : a || (r[r.length] = l)
- }
+ e.exports ? e.exports = r : void 0 === (n = function() {
return r
- }
-
- function m(e) {
- return f(e) || function(e) {
- return function(e) {
- return function(e) {
- return !!e && "object" == typeof e
- }(e) && function(e) {
- return null != e && function(e) {
- return "number" == typeof e && e > -1 && e % 1 == 0 && e <= 9007199254740991
- }(e.length) && ! function(e) {
- var t = function(e) {
- var t = typeof e;
- return !!e && ("object" == t || "function" == t)
- }(e) ? c.call(e) : "";
- return "[object Function]" == t || "[object GeneratorFunction]" == t
- }(e)
- }(e)
- }(e) && l.call(e, "callee") && (!d.call(e, "callee") || "[object Arguments]" == c.call(e))
- }(e) || !!(p && e && e[p])
- }
- var f = Array.isArray;
- e.exports = function(e) {
- return e && e.length ? h(e, 1) : []
- }
- }, 4458: e => {
- var t = Object.prototype.toString,
- n = Array.isArray;
- e.exports = function(e) {
- return "string" == typeof e || !n(e) && function(e) {
- return !!e && "object" == typeof e
- }(e) && "[object String]" == t.call(e)
- }
- }, 7206: (e, t, n) => {
- var a = n(4366).Symbol;
- e.exports = a
- }, 7807: (e, t, n) => {
- var a = n(7206),
- r = n(3187),
- i = n(2778),
- o = a ? a.toStringTag : void 0;
- e.exports = function(e) {
- return null == e ? void 0 === e ? "[object Undefined]" : "[object Null]" : o && o in Object(e) ? r(e) : i(e)
- }
- }, 4182: (e, t, n) => {
- var a = n(9135),
- r = /^\s+/;
- e.exports = function(e) {
- return e ? e.slice(0, a(e) + 1).replace(r, "") : e
- }
- }, 4891: (e, t, n) => {
- var a = "object" == typeof n.g && n.g && n.g.Object === Object && n.g;
- e.exports = a
- }, 3187: (e, t, n) => {
- var a = n(7206),
- r = Object.prototype,
- i = r.hasOwnProperty,
- o = r.toString,
- s = a ? a.toStringTag : void 0;
- e.exports = function(e) {
- var t = i.call(e, s),
- n = e[s];
+ }.apply(t, [])) || (e.exports = n)
+ }()
+}, 6415: e => {
+ function t() {
+ return new DOMException("The request is not allowed", "NotAllowedError")
+ }
+ e.exports = async function(e) {
+ try {
+ await async function(e) {
+ if (!navigator.clipboard) throw t();
+ return navigator.clipboard.writeText(e)
+ }(e)
+ } catch (n) {
try {
- e[s] = void 0;
- var a = !0
- } catch (e) {}
- var r = o.call(e);
- return a && (t ? e[s] = n : delete e[s]), r
- }
- }, 2778: e => {
- var t = Object.prototype.toString;
- e.exports = function(e) {
- return t.call(e)
- }
- }, 4366: (e, t, n) => {
- var a = n(4891),
- r = "object" == typeof self && self && self.Object === Object && self,
- i = a || r || Function("return this")();
- e.exports = i
- }, 9135: e => {
- var t = /\s/;
- e.exports = function(e) {
- for (var n = e.length; n-- && t.test(e.charAt(n)););
- return n
- }
- }, 3645: (e, t, n) => {
- var a = n(1716),
- r = n(9244),
- i = n(1666),
- o = Math.max,
- s = Math.min;
- e.exports = function(e, t, n) {
- var l, c, u, d, p, h, m = 0,
- f = !1,
- g = !1,
- b = !0;
- if ("function" != typeof e) throw new TypeError("Expected a function");
-
- function y(t) {
- var n = l,
- a = c;
- return l = c = void 0, m = t, d = e.apply(a, n)
- }
-
- function v(e) {
- return m = e, p = setTimeout(_, t), f ? y(e) : d
- }
-
- function k(e) {
- var n = e - h;
- return void 0 === h || n >= t || n < 0 || g && e - m >= u
- }
-
- function _() {
- var e = r();
- if (k(e)) return w(e);
- p = setTimeout(_, function(e) {
- var n = t - (e - h);
- return g ? s(n, u - (e - m)) : n
- }(e))
- }
-
- function w(e) {
- return p = void 0, b && l ? y(e) : (l = c = void 0, d)
- }
-
- function S() {
- var e = r(),
- n = k(e);
- if (l = arguments, c = this, h = e, n) {
- if (void 0 === p) return v(h);
- if (g) return clearTimeout(p), p = setTimeout(_, t), y(h)
- }
- return void 0 === p && (p = setTimeout(_, t)), d
+ await async function(e) {
+ const n = document.createElement("span");
+ n.textContent = e, n.style.whiteSpace = "pre", n.style.webkitUserSelect = "auto", n.style.userSelect = "all", document.body.appendChild(n);
+ const a = window.getSelection(),
+ r = window.document.createRange();
+ a.removeAllRanges(), r.selectNode(n), a.addRange(r);
+ let i = !1;
+ try {
+ i = window.document.execCommand("copy")
+ } finally {
+ a.removeAllRanges(), window.document.body.removeChild(n)
+ }
+ if (!i) throw t()
+ }(e)
+ } catch (e) {
+ throw e || n || t()
}
- return t = i(t) || 0, a(n) && (f = !!n.leading, u = (g = "maxWait" in n) ? o(i(n.maxWait) || 0, t) : u, b = "trailing" in n ? !!n.trailing : b), S.cancel = function() {
- void 0 !== p && clearTimeout(p), m = 0, l = h = c = p = void 0
- }, S.flush = function() {
- return void 0 === p ? d : w(r())
- }, S
}
- }, 1716: e => {
- e.exports = function(e) {
- var t = typeof e;
- return null != e && ("object" == t || "function" == t)
- }
- }, 8667: e => {
- e.exports = function(e) {
- return null != e && "object" == typeof e
- }
- }, 2570: (e, t, n) => {
- var a = n(7807),
- r = n(8667);
- e.exports = function(e) {
- return "symbol" == typeof e || r(e) && "[object Symbol]" == a(e)
- }
- }, 103: function(e, t, n) {
- var a;
- e = n.nmd(e),
- function() {
- var r, i = "Expected a function",
- o = "__lodash_hash_undefined__",
- s = "__lodash_placeholder__",
- l = 32,
- c = 128,
- u = 1 / 0,
- d = 9007199254740991,
- p = NaN,
- h = 4294967295,
- m = [
- ["ary", c],
- ["bind", 1],
- ["bindKey", 2],
- ["curry", 8],
- ["curryRight", 16],
- ["flip", 512],
- ["partial", l],
- ["partialRight", 64],
- ["rearg", 256]
- ],
- f = "[object Arguments]",
- g = "[object Array]",
- b = "[object Boolean]",
- y = "[object Date]",
- v = "[object Error]",
- k = "[object Function]",
- _ = "[object GeneratorFunction]",
- w = "[object Map]",
- S = "[object Number]",
- E = "[object Object]",
- x = "[object Promise]",
- C = "[object RegExp]",
- A = "[object Set]",
- j = "[object String]",
- P = "[object Symbol]",
- D = "[object WeakMap]",
- T = "[object ArrayBuffer]",
- O = "[object DataView]",
- M = "[object Float32Array]",
- I = "[object Float64Array]",
- N = "[object Int8Array]",
- z = "[object Int16Array]",
- R = "[object Int32Array]",
- L = "[object Uint8Array]",
- F = "[object Uint8ClampedArray]",
- q = "[object Uint16Array]",
- B = "[object Uint32Array]",
- U = /\b__p \+= '';/g,
- H = /\b(__p \+=) '' \+/g,
- V = /(__e\(.*?\)|\b__t\)) \+\n'';/g,
- W = /&(?:amp|lt|gt|quot|#39);/g,
- Y = /[&<>"']/g,
- G = RegExp(W.source),
- K = RegExp(Y.source),
- $ = /<%-([\s\S]+?)%>/g,
- J = /<%([\s\S]+?)%>/g,
- Z = /<%=([\s\S]+?)%>/g,
- Q = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
- X = /^\w*$/,
- ee = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,
- te = /[\\^$.*+?()[\]{}|]/g,
- ne = RegExp(te.source),
- ae = /^\s+/,
- re = /\s/,
- ie = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,
- oe = /\{\n\/\* \[wrapped with (.+)\] \*/,
- se = /,? & /,
- le = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,
- ce = /[()=,{}\[\]\/\s]/,
- ue = /\\(\\)?/g,
- de = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,
- pe = /\w*$/,
- he = /^[-+]0x[0-9a-f]+$/i,
- me = /^0b[01]+$/i,
- fe = /^\[object .+?Constructor\]$/,
- ge = /^0o[0-7]+$/i,
- be = /^(?:0|[1-9]\d*)$/,
- ye = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,
- ve = /($^)/,
- ke = /['\n\r\u2028\u2029\\]/g,
- _e = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",
- we = "a-z\\xdf-\\xf6\\xf8-\\xff",
- Se = "A-Z\\xc0-\\xd6\\xd8-\\xde",
- Ee = "\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",
- xe = "[" + Ee + "]",
- Ce = "[" + _e + "]",
- Ae = "\\d+",
- je = "[" + we + "]",
- Pe = "[^\\ud800-\\udfff" + Ee + Ae + "\\u2700-\\u27bf" + we + Se + "]",
- De = "\\ud83c[\\udffb-\\udfff]",
- Te = "[^\\ud800-\\udfff]",
- Oe = "(?:\\ud83c[\\udde6-\\uddff]){2}",
- Me = "[\\ud800-\\udbff][\\udc00-\\udfff]",
- Ie = "[" + Se + "]",
- Ne = "(?:" + je + "|" + Pe + ")",
- ze = "(?:" + Ie + "|" + Pe + ")",
- Re = "(?:['’](?:d|ll|m|re|s|t|ve))?",
- Le = "(?:['’](?:D|LL|M|RE|S|T|VE))?",
- Fe = "(?:" + Ce + "|" + De + ")?",
- qe = "[\\ufe0e\\ufe0f]?",
- Be = qe + Fe + "(?:\\u200d(?:" + [Te, Oe, Me].join("|") + ")" + qe + Fe + ")*",
- Ue = "(?:" + ["[\\u2700-\\u27bf]", Oe, Me].join("|") + ")" + Be,
- He = "(?:" + [Te + Ce + "?", Ce, Oe, Me, "[\\ud800-\\udfff]"].join("|") + ")",
- Ve = RegExp("['’]", "g"),
- We = RegExp(Ce, "g"),
- Ye = RegExp(De + "(?=" + De + ")|" + He + Be, "g"),
- Ge = RegExp([Ie + "?" + je + "+" + Re + "(?=" + [xe, Ie, "$"].join("|") + ")", ze + "+" + Le + "(?=" + [xe, Ie + Ne, "$"].join("|") + ")", Ie + "?" + Ne + "+" + Re, Ie + "+" + Le, "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Ae, Ue].join("|"), "g"),
- Ke = RegExp("[\\u200d\\ud800-\\udfff" + _e + "\\ufe0e\\ufe0f]"),
- $e = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,
- Je = ["Array", "Buffer", "DataView", "Date", "Error", "Float32Array", "Float64Array", "Function", "Int8Array", "Int16Array", "Int32Array", "Map", "Math", "Object", "Promise", "RegExp", "Set", "String", "Symbol", "TypeError", "Uint8Array", "Uint8ClampedArray", "Uint16Array", "Uint32Array", "WeakMap", "_", "clearTimeout", "isFinite", "parseInt", "setTimeout"],
- Ze = -1,
- Qe = {};
- Qe[M] = Qe[I] = Qe[N] = Qe[z] = Qe[R] = Qe[L] = Qe[F] = Qe[q] = Qe[B] = !0, Qe[f] = Qe[g] = Qe[T] = Qe[b] = Qe[O] = Qe[y] = Qe[v] = Qe[k] = Qe[w] = Qe[S] = Qe[E] = Qe[C] = Qe[A] = Qe[j] = Qe[D] = !1;
- var Xe = {};
- Xe[f] = Xe[g] = Xe[T] = Xe[O] = Xe[b] = Xe[y] = Xe[M] = Xe[I] = Xe[N] = Xe[z] = Xe[R] = Xe[w] = Xe[S] = Xe[E] = Xe[C] = Xe[A] = Xe[j] = Xe[P] = Xe[L] = Xe[F] = Xe[q] = Xe[B] = !0, Xe[v] = Xe[k] = Xe[D] = !1;
- var et = {
- "\\": "\\",
- "'": "'",
- "\n": "n",
- "\r": "r",
- "\u2028": "u2028",
- "\u2029": "u2029"
- },
- tt = parseFloat,
- nt = parseInt,
- at = "object" == typeof n.g && n.g && n.g.Object === Object && n.g,
- rt = "object" == typeof self && self && self.Object === Object && self,
- it = at || rt || Function("return this")(),
- ot = t && !t.nodeType && t,
- st = ot && e && !e.nodeType && e,
- lt = st && st.exports === ot,
- ct = lt && at.process,
- ut = function() {
- try {
- return st && st.require && st.require("util").types || ct && ct.binding && ct.binding("util")
- } catch (e) {}
- }(),
- dt = ut && ut.isArrayBuffer,
- pt = ut && ut.isDate,
- ht = ut && ut.isMap,
- mt = ut && ut.isRegExp,
- ft = ut && ut.isSet,
- gt = ut && ut.isTypedArray;
-
- function bt(e, t, n) {
- switch (n.length) {
- case 0:
- return e.call(t);
- case 1:
- return e.call(t, n[0]);
- case 2:
- return e.call(t, n[0], n[1]);
- case 3:
- return e.call(t, n[0], n[1], n[2])
- }
- return e.apply(t, n)
- }
-
- function yt(e, t, n, a) {
- for (var r = -1, i = null == e ? 0 : e.length; ++r < i;) {
- var o = e[r];
- t(a, o, n(o), e)
- }
- return a
- }
-
- function vt(e, t) {
- for (var n = -1, a = null == e ? 0 : e.length; ++n < a && !1 !== t(e[n], n, e););
- return e
- }
-
- function kt(e, t) {
- for (var n = null == e ? 0 : e.length; n-- && !1 !== t(e[n], n, e););
- return e
- }
-
- function _t(e, t) {
- for (var n = -1, a = null == e ? 0 : e.length; ++n < a;)
- if (!t(e[n], n, e)) return !1;
- return !0
- }
-
- function wt(e, t) {
- for (var n = -1, a = null == e ? 0 : e.length, r = 0, i = []; ++n < a;) {
- var o = e[n];
- t(o, n, e) && (i[r++] = o)
- }
- return i
- }
-
- function St(e, t) {
- return !(null == e || !e.length) && Mt(e, t, 0) > -1
- }
-
- function Et(e, t, n) {
- for (var a = -1, r = null == e ? 0 : e.length; ++a < r;)
- if (n(t, e[a])) return !0;
- return !1
- }
-
- function xt(e, t) {
- for (var n = -1, a = null == e ? 0 : e.length, r = Array(a); ++n < a;) r[n] = t(e[n], n, e);
- return r
- }
-
- function Ct(e, t) {
- for (var n = -1, a = t.length, r = e.length; ++n < a;) e[r + n] = t[n];
- return e
- }
-
- function At(e, t, n, a) {
- var r = -1,
- i = null == e ? 0 : e.length;
- for (a && i && (n = e[++r]); ++r < i;) n = t(n, e[r], r, e);
- return n
- }
+ }
+}, 8801: (e, t, n) => {
+ var a = n(554);
- function jt(e, t, n, a) {
- var r = null == e ? 0 : e.length;
- for (a && r && (n = e[--r]); r--;) n = t(n, e[r], r, e);
+ function r() {
+ var e;
+ try {
+ e = t.storage.debug
+ } catch (e) {}
+ return !e && void 0 !== a && "env" in a && (e = a.env.DEBUG), e
+ }(t = e.exports = n(2155)).log = function() {
+ return "object" == typeof console && console.log && Function.prototype.apply.call(console.log, console, arguments)
+ }, t.formatArgs = function(e) {
+ var n = this.useColors;
+ if (e[0] = (n ? "%c" : "") + this.namespace + (n ? " %c" : " ") + e[0] + (n ? "%c " : " ") + "+" + t.humanize(this.diff), n) {
+ var a = "color: " + this.color;
+ e.splice(1, 0, a, "color: inherit");
+ var r = 0,
+ i = 0;
+ e[0].replace(/%[a-zA-Z%]/g, (function(e) {
+ "%%" !== e && (r++, "%c" === e && (i = r))
+ })), e.splice(i, 0, a)
+ }
+ }, t.save = function(e) {
+ try {
+ null == e ? t.storage.removeItem("debug") : t.storage.debug = e
+ } catch (e) {}
+ }, t.load = r, t.useColors = function() {
+ return !("undefined" == typeof window || !window.process || "renderer" !== window.process.type) || ("undefined" != typeof document && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || "undefined" != typeof window && window.console && (window.console.firebug || window.console.exception && window.console.table) || "undefined" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || "undefined" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))
+ }, t.storage = "undefined" != typeof chrome && void 0 !== chrome.storage ? chrome.storage.local : function() {
+ try {
+ return window.localStorage
+ } catch (e) {}
+ }(), t.colors = ["lightseagreen", "forestgreen", "goldenrod", "dodgerblue", "darkorchid", "crimson"], t.formatters.j = function(e) {
+ try {
+ return JSON.stringify(e)
+ } catch (e) {
+ return "[UnexpectedJSONParseError]: " + e.message
+ }
+ }, t.enable(r())
+}, 2155: (e, t, n) => {
+ var a;
+
+ function r(e) {
+ function n() {
+ if (n.enabled) {
+ var e = n,
+ r = +new Date,
+ i = r - (a || r);
+ e.diff = i, e.prev = a, e.curr = r, a = r;
+ for (var o = new Array(arguments.length), s = 0; s < o.length; s++) o[s] = arguments[s];
+ o[0] = t.coerce(o[0]), "string" != typeof o[0] && o.unshift("%O");
+ var l = 0;
+ o[0] = o[0].replace(/%([a-zA-Z%])/g, (function(n, a) {
+ if ("%%" === n) return n;
+ l++;
+ var r = t.formatters[a];
+ if ("function" == typeof r) {
+ var i = o[l];
+ n = r.call(e, i), o.splice(l, 1), l--
+ }
return n
- }
-
- function Pt(e, t) {
- for (var n = -1, a = null == e ? 0 : e.length; ++n < a;)
- if (t(e[n], n, e)) return !0;
- return !1
- }
- var Dt = Rt("length");
+ })), t.formatArgs.call(e, o);
+ var c = n.log || t.log || console.log.bind(console);
+ c.apply(e, o)
+ }
+ }
+ return n.namespace = e, n.enabled = t.enabled(e), n.useColors = t.useColors(), n.color = function(e) {
+ var n, a = 0;
+ for (n in e) a = (a << 5) - a + e.charCodeAt(n), a |= 0;
+ return t.colors[Math.abs(a) % t.colors.length]
+ }(e), "function" == typeof t.init && t.init(n), n
+ }(t = e.exports = r.debug = r.default = r).coerce = function(e) {
+ return e instanceof Error ? e.stack || e.message : e
+ }, t.disable = function() {
+ t.enable("")
+ }, t.enable = function(e) {
+ t.save(e), t.names = [], t.skips = [];
+ for (var n = ("string" == typeof e ? e : "").split(/[\s,]+/), a = n.length, r = 0; r < a; r++) n[r] && ("-" === (e = n[r].replace(/\*/g, ".*?"))[0] ? t.skips.push(new RegExp("^" + e.substr(1) + "$")) : t.names.push(new RegExp("^" + e + "$")))
+ }, t.enabled = function(e) {
+ var n, a;
+ for (n = 0, a = t.skips.length; n < a; n++)
+ if (t.skips[n].test(e)) return !1;
+ for (n = 0, a = t.names.length; n < a; n++)
+ if (t.names[n].test(e)) return !0;
+ return !1
+ }, t.humanize = n(2068), t.names = [], t.skips = [], t.formatters = {}
+}, 1148: (e, t, n) => {
+ "use strict";
+ Object.defineProperty(t, "__esModule", {
+ value: !0
+ }), t.default = function(e, t) {
+ e.classList ? e.classList.add(t) : (0, r.default)(e, t) || ("string" == typeof e.className ? e.className = e.className + " " + t : e.setAttribute("class", (e.className && e.className.baseVal || "") + " " + t))
+ };
+ var a, r = (a = n(957)) && a.__esModule ? a : {
+ default: a
+ };
+ e.exports = t.default
+}, 957: (e, t) => {
+ "use strict";
+ Object.defineProperty(t, "__esModule", {
+ value: !0
+ }), t.default = function(e, t) {
+ return e.classList ? !!t && e.classList.contains(t) : -1 !== (" " + (e.className.baseVal || e.className) + " ").indexOf(" " + t + " ")
+ }, e.exports = t.default
+}, 9154: e => {
+ "use strict";
+
+ function t(e, t) {
+ return e.replace(new RegExp("(^|\\s)" + t + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "")
+ }
+ e.exports = function(e, n) {
+ e.classList ? e.classList.remove(n) : "string" == typeof e.className ? e.className = t(e.className, n) : e.setAttribute("class", t(e.className && e.className.baseVal || "", n))
+ }
+}, 904: function(e, t, n) {
+ ! function(e) {
+ "use strict";
- function Tt(e, t, n) {
- var a;
- return n(e, (function(e, n, r) {
- if (t(e, n, r)) return a = n, !1
- })), a
- }
+ function t(e, t) {
+ if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
+ }
- function Ot(e, t, n, a) {
- for (var r = e.length, i = n + (a ? 1 : -1); a ? i-- : ++i < r;)
- if (t(e[i], i, e)) return i;
- return -1
- }
+ function a(e, t) {
+ for (var n = 0; t.length > n; n++) {
+ var a = t[n];
+ a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a)
+ }
+ }
- function Mt(e, t, n) {
- return t == t ? function(e, t, n) {
- for (var a = n - 1, r = e.length; ++a < r;)
- if (e[a] === t) return a;
- return -1
- }(e, t, n) : Ot(e, Nt, n)
- }
+ function r(e, t, n) {
+ return t && a(e.prototype, t), n && a(e, n), e
+ }
- function It(e, t, n, a) {
- for (var r = n - 1, i = e.length; ++r < i;)
- if (a(e[r], t)) return r;
- return -1
- }
+ function i(e) {
+ return (i = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) {
+ return e.__proto__ || Object.getPrototypeOf(e)
+ })(e)
+ }
- function Nt(e) {
- return e != e
- }
+ function o(e, t) {
+ return (o = Object.setPrototypeOf || function(e, t) {
+ return e.__proto__ = t, e
+ })(e, t)
+ }
- function zt(e, t) {
- var n = null == e ? 0 : e.length;
- return n ? qt(e, t) / n : p
- }
+ function s() {
+ if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
+ if (Reflect.construct.sham) return !1;
+ if ("function" == typeof Proxy) return !0;
+ try {
+ return Date.prototype.toString.call(Reflect.construct(Date, [], (function() {}))), !0
+ } catch (e) {
+ return !1
+ }
+ }
- function Rt(e) {
- return function(t) {
- return null == t ? r : t[e]
- }
- }
+ function l(e, t, n) {
+ return (l = s() ? Reflect.construct : function(e, t, n) {
+ var a = [null];
+ a.push.apply(a, t);
+ var r = new(Function.bind.apply(e, a));
+ return n && o(r, n.prototype), r
+ }).apply(null, arguments)
+ }
- function Lt(e) {
- return function(t) {
- return null == e ? r : e[t]
- }
+ function c(e) {
+ var t = "function" == typeof Map ? new Map : void 0;
+ return (c = function(e) {
+ if (null === e || -1 === Function.toString.call(e).indexOf("[native code]")) return e;
+ if ("function" != typeof e) throw new TypeError("Super expression must either be null or a function");
+ if (void 0 !== t) {
+ if (t.has(e)) return t.get(e);
+ t.set(e, n)
}
- function Ft(e, t, n, a, r) {
- return r(e, (function(e, r, i) {
- n = a ? (a = !1, e) : t(n, e, r, i)
- })), n
+ function n() {
+ return l(e, arguments, i(this).constructor)
}
-
- function qt(e, t) {
- for (var n, a = -1, i = e.length; ++a < i;) {
- var o = t(e[a]);
- o !== r && (n = n === r ? o : n + o)
+ return n.prototype = Object.create(e.prototype, {
+ constructor: {
+ value: n,
+ enumerable: !1,
+ writable: !0,
+ configurable: !0
}
- return n
- }
+ }), o(n, e)
+ })(e)
+ }
- function Bt(e, t) {
- for (var n = -1, a = Array(e); ++n < e;) a[n] = t(n);
- return a
- }
+ function u(e, t) {
+ return !t || "object" != typeof t && "function" != typeof t ? function(e) {
+ if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
+ return e
+ }(e) : t
+ }
+ var d = "app",
+ p = "user",
+ h = "team",
+ m = "dropboxapi.com",
+ f = "dropbox.com",
+ g = {
+ api: "api",
+ notify: "bolt",
+ content: "api-content"
+ },
+ b = {};
- function Ut(e) {
- return e ? e.slice(0, sn(e) + 1).replace(ae, "") : e
- }
+ function y(e) {
+ var t = "000".concat(e.charCodeAt(0).toString(16)).slice(-4);
+ return "\\u".concat(t)
+ }
+ b.accountSetProfilePhoto = function(e) {
+ return this.request("account/set_profile_photo", e, "user", "api", "rpc")
+ }, b.authTokenFromOauth1 = function(e) {
+ return this.request("auth/token/from_oauth1", e, "app", "api", "rpc")
+ }, b.authTokenRevoke = function() {
+ return this.request("auth/token/revoke", null, "user", "api", "rpc")
+ }, b.checkApp = function(e) {
+ return this.request("check/app", e, "app", "api", "rpc")
+ }, b.checkUser = function(e) {
+ return this.request("check/user", e, "user", "api", "rpc")
+ }, b.contactsDeleteManualContacts = function() {
+ return this.request("contacts/delete_manual_contacts", null, "user", "api", "rpc")
+ }, b.contactsDeleteManualContactsBatch = function(e) {
+ return this.request("contacts/delete_manual_contacts_batch", e, "user", "api", "rpc")
+ }, b.filePropertiesPropertiesAdd = function(e) {
+ return this.request("file_properties/properties/add", e, "user", "api", "rpc")
+ }, b.filePropertiesPropertiesOverwrite = function(e) {
+ return this.request("file_properties/properties/overwrite", e, "user", "api", "rpc")
+ }, b.filePropertiesPropertiesRemove = function(e) {
+ return this.request("file_properties/properties/remove", e, "user", "api", "rpc")
+ }, b.filePropertiesPropertiesSearch = function(e) {
+ return this.request("file_properties/properties/search", e, "user", "api", "rpc")
+ }, b.filePropertiesPropertiesSearchContinue = function(e) {
+ return this.request("file_properties/properties/search/continue", e, "user", "api", "rpc")
+ }, b.filePropertiesPropertiesUpdate = function(e) {
+ return this.request("file_properties/properties/update", e, "user", "api", "rpc")
+ }, b.filePropertiesTemplatesAddForTeam = function(e) {
+ return this.request("file_properties/templates/add_for_team", e, "team", "api", "rpc")
+ }, b.filePropertiesTemplatesAddForUser = function(e) {
+ return this.request("file_properties/templates/add_for_user", e, "user", "api", "rpc")
+ }, b.filePropertiesTemplatesGetForTeam = function(e) {
+ return this.request("file_properties/templates/get_for_team", e, "team", "api", "rpc")
+ }, b.filePropertiesTemplatesGetForUser = function(e) {
+ return this.request("file_properties/templates/get_for_user", e, "user", "api", "rpc")
+ }, b.filePropertiesTemplatesListForTeam = function() {
+ return this.request("file_properties/templates/list_for_team", null, "team", "api", "rpc")
+ }, b.filePropertiesTemplatesListForUser = function() {
+ return this.request("file_properties/templates/list_for_user", null, "user", "api", "rpc")
+ }, b.filePropertiesTemplatesRemoveForTeam = function(e) {
+ return this.request("file_properties/templates/remove_for_team", e, "team", "api", "rpc")
+ }, b.filePropertiesTemplatesRemoveForUser = function(e) {
+ return this.request("file_properties/templates/remove_for_user", e, "user", "api", "rpc")
+ }, b.filePropertiesTemplatesUpdateForTeam = function(e) {
+ return this.request("file_properties/templates/update_for_team", e, "team", "api", "rpc")
+ }, b.filePropertiesTemplatesUpdateForUser = function(e) {
+ return this.request("file_properties/templates/update_for_user", e, "user", "api", "rpc")
+ }, b.fileRequestsCount = function() {
+ return this.request("file_requests/count", null, "user", "api", "rpc")
+ }, b.fileRequestsCreate = function(e) {
+ return this.request("file_requests/create", e, "user", "api", "rpc")
+ }, b.fileRequestsDelete = function(e) {
+ return this.request("file_requests/delete", e, "user", "api", "rpc")
+ }, b.fileRequestsDeleteAllClosed = function() {
+ return this.request("file_requests/delete_all_closed", null, "user", "api", "rpc")
+ }, b.fileRequestsGet = function(e) {
+ return this.request("file_requests/get", e, "user", "api", "rpc")
+ }, b.fileRequestsListV2 = function(e) {
+ return this.request("file_requests/list_v2", e, "user", "api", "rpc")
+ }, b.fileRequestsList = function() {
+ return this.request("file_requests/list", null, "user", "api", "rpc")
+ }, b.fileRequestsListContinue = function(e) {
+ return this.request("file_requests/list/continue", e, "user", "api", "rpc")
+ }, b.fileRequestsUpdate = function(e) {
+ return this.request("file_requests/update", e, "user", "api", "rpc")
+ }, b.filesAlphaGetMetadata = function(e) {
+ return this.request("files/alpha/get_metadata", e, "user", "api", "rpc")
+ }, b.filesAlphaUpload = function(e) {
+ return this.request("files/alpha/upload", e, "user", "content", "upload")
+ }, b.filesCopyV2 = function(e) {
+ return this.request("files/copy_v2", e, "user", "api", "rpc")
+ }, b.filesCopy = function(e) {
+ return this.request("files/copy", e, "user", "api", "rpc")
+ }, b.filesCopyBatchV2 = function(e) {
+ return this.request("files/copy_batch_v2", e, "user", "api", "rpc")
+ }, b.filesCopyBatch = function(e) {
+ return this.request("files/copy_batch", e, "user", "api", "rpc")
+ }, b.filesCopyBatchCheckV2 = function(e) {
+ return this.request("files/copy_batch/check_v2", e, "user", "api", "rpc")
+ }, b.filesCopyBatchCheck = function(e) {
+ return this.request("files/copy_batch/check", e, "user", "api", "rpc")
+ }, b.filesCopyReferenceGet = function(e) {
+ return this.request("files/copy_reference/get", e, "user", "api", "rpc")
+ }, b.filesCopyReferenceSave = function(e) {
+ return this.request("files/copy_reference/save", e, "user", "api", "rpc")
+ }, b.filesCreateFolderV2 = function(e) {
+ return this.request("files/create_folder_v2", e, "user", "api", "rpc")
+ }, b.filesCreateFolder = function(e) {
+ return this.request("files/create_folder", e, "user", "api", "rpc")
+ }, b.filesCreateFolderBatch = function(e) {
+ return this.request("files/create_folder_batch", e, "user", "api", "rpc")
+ }, b.filesCreateFolderBatchCheck = function(e) {
+ return this.request("files/create_folder_batch/check", e, "user", "api", "rpc")
+ }, b.filesDeleteV2 = function(e) {
+ return this.request("files/delete_v2", e, "user", "api", "rpc")
+ }, b.filesDelete = function(e) {
+ return this.request("files/delete", e, "user", "api", "rpc")
+ }, b.filesDeleteBatch = function(e) {
+ return this.request("files/delete_batch", e, "user", "api", "rpc")
+ }, b.filesDeleteBatchCheck = function(e) {
+ return this.request("files/delete_batch/check", e, "user", "api", "rpc")
+ }, b.filesDownload = function(e) {
+ return this.request("files/download", e, "user", "content", "download")
+ }, b.filesDownloadZip = function(e) {
+ return this.request("files/download_zip", e, "user", "content", "download")
+ }, b.filesExport = function(e) {
+ return this.request("files/export", e, "user", "content", "download")
+ }, b.filesGetFileLockBatch = function(e) {
+ return this.request("files/get_file_lock_batch", e, "user", "api", "rpc")
+ }, b.filesGetMetadata = function(e) {
+ return this.request("files/get_metadata", e, "user", "api", "rpc")
+ }, b.filesGetPreview = function(e) {
+ return this.request("files/get_preview", e, "user", "content", "download")
+ }, b.filesGetTemporaryLink = function(e) {
+ return this.request("files/get_temporary_link", e, "user", "api", "rpc")
+ }, b.filesGetTemporaryUploadLink = function(e) {
+ return this.request("files/get_temporary_upload_link", e, "user", "api", "rpc")
+ }, b.filesGetThumbnail = function(e) {
+ return this.request("files/get_thumbnail", e, "user", "content", "download")
+ }, b.filesGetThumbnailV2 = function(e) {
+ return this.request("files/get_thumbnail_v2", e, "app, user", "content", "download")
+ }, b.filesGetThumbnailBatch = function(e) {
+ return this.request("files/get_thumbnail_batch", e, "user", "content", "rpc")
+ }, b.filesListFolder = function(e) {
+ return this.request("files/list_folder", e, "user", "api", "rpc")
+ }, b.filesListFolderContinue = function(e) {
+ return this.request("files/list_folder/continue", e, "user", "api", "rpc")
+ }, b.filesListFolderGetLatestCursor = function(e) {
+ return this.request("files/list_folder/get_latest_cursor", e, "user", "api", "rpc")
+ }, b.filesListFolderLongpoll = function(e) {
+ return this.request("files/list_folder/longpoll", e, "noauth", "notify", "rpc")
+ }, b.filesListRevisions = function(e) {
+ return this.request("files/list_revisions", e, "user", "api", "rpc")
+ }, b.filesLockFileBatch = function(e) {
+ return this.request("files/lock_file_batch", e, "user", "api", "rpc")
+ }, b.filesMoveV2 = function(e) {
+ return this.request("files/move_v2", e, "user", "api", "rpc")
+ }, b.filesMove = function(e) {
+ return this.request("files/move", e, "user", "api", "rpc")
+ }, b.filesMoveBatchV2 = function(e) {
+ return this.request("files/move_batch_v2", e, "user", "api", "rpc")
+ }, b.filesMoveBatch = function(e) {
+ return this.request("files/move_batch", e, "user", "api", "rpc")
+ }, b.filesMoveBatchCheckV2 = function(e) {
+ return this.request("files/move_batch/check_v2", e, "user", "api", "rpc")
+ }, b.filesMoveBatchCheck = function(e) {
+ return this.request("files/move_batch/check", e, "user", "api", "rpc")
+ }, b.filesPaperCreate = function(e) {
+ return this.request("files/paper/create", e, "user", "api", "upload")
+ }, b.filesPaperUpdate = function(e) {
+ return this.request("files/paper/update", e, "user", "api", "upload")
+ }, b.filesPermanentlyDelete = function(e) {
+ return this.request("files/permanently_delete", e, "user", "api", "rpc")
+ }, b.filesPropertiesAdd = function(e) {
+ return this.request("files/properties/add", e, "user", "api", "rpc")
+ }, b.filesPropertiesOverwrite = function(e) {
+ return this.request("files/properties/overwrite", e, "user", "api", "rpc")
+ }, b.filesPropertiesRemove = function(e) {
+ return this.request("files/properties/remove", e, "user", "api", "rpc")
+ }, b.filesPropertiesTemplateGet = function(e) {
+ return this.request("files/properties/template/get", e, "user", "api", "rpc")
+ }, b.filesPropertiesTemplateList = function() {
+ return this.request("files/properties/template/list", null, "user", "api", "rpc")
+ }, b.filesPropertiesUpdate = function(e) {
+ return this.request("files/properties/update", e, "user", "api", "rpc")
+ }, b.filesRestore = function(e) {
+ return this.request("files/restore", e, "user", "api", "rpc")
+ }, b.filesSaveUrl = function(e) {
+ return this.request("files/save_url", e, "user", "api", "rpc")
+ }, b.filesSaveUrlCheckJobStatus = function(e) {
+ return this.request("files/save_url/check_job_status", e, "user", "api", "rpc")
+ }, b.filesSearch = function(e) {
+ return this.request("files/search", e, "user", "api", "rpc")
+ }, b.filesSearchV2 = function(e) {
+ return this.request("files/search_v2", e, "user", "api", "rpc")
+ }, b.filesSearchContinueV2 = function(e) {
+ return this.request("files/search/continue_v2", e, "user", "api", "rpc")
+ }, b.filesUnlockFileBatch = function(e) {
+ return this.request("files/unlock_file_batch", e, "user", "api", "rpc")
+ }, b.filesUpload = function(e) {
+ return this.request("files/upload", e, "user", "content", "upload")
+ }, b.filesUploadSessionAppendV2 = function(e) {
+ return this.request("files/upload_session/append_v2", e, "user", "content", "upload")
+ }, b.filesUploadSessionAppend = function(e) {
+ return this.request("files/upload_session/append", e, "user", "content", "upload")
+ }, b.filesUploadSessionFinish = function(e) {
+ return this.request("files/upload_session/finish", e, "user", "content", "upload")
+ }, b.filesUploadSessionFinishBatch = function(e) {
+ return this.request("files/upload_session/finish_batch", e, "user", "api", "rpc")
+ }, b.filesUploadSessionFinishBatchCheck = function(e) {
+ return this.request("files/upload_session/finish_batch/check", e, "user", "api", "rpc")
+ }, b.filesUploadSessionStart = function(e) {
+ return this.request("files/upload_session/start", e, "user", "content", "upload")
+ }, b.paperDocsArchive = function(e) {
+ return this.request("paper/docs/archive", e, "user", "api", "rpc")
+ }, b.paperDocsCreate = function(e) {
+ return this.request("paper/docs/create", e, "user", "api", "upload")
+ }, b.paperDocsDownload = function(e) {
+ return this.request("paper/docs/download", e, "user", "api", "download")
+ }, b.paperDocsFolderUsersList = function(e) {
+ return this.request("paper/docs/folder_users/list", e, "user", "api", "rpc")
+ }, b.paperDocsFolderUsersListContinue = function(e) {
+ return this.request("paper/docs/folder_users/list/continue", e, "user", "api", "rpc")
+ }, b.paperDocsGetFolderInfo = function(e) {
+ return this.request("paper/docs/get_folder_info", e, "user", "api", "rpc")
+ }, b.paperDocsList = function(e) {
+ return this.request("paper/docs/list", e, "user", "api", "rpc")
+ }, b.paperDocsListContinue = function(e) {
+ return this.request("paper/docs/list/continue", e, "user", "api", "rpc")
+ }, b.paperDocsPermanentlyDelete = function(e) {
+ return this.request("paper/docs/permanently_delete", e, "user", "api", "rpc")
+ }, b.paperDocsSharingPolicyGet = function(e) {
+ return this.request("paper/docs/sharing_policy/get", e, "user", "api", "rpc")
+ }, b.paperDocsSharingPolicySet = function(e) {
+ return this.request("paper/docs/sharing_policy/set", e, "user", "api", "rpc")
+ }, b.paperDocsUpdate = function(e) {
+ return this.request("paper/docs/update", e, "user", "api", "upload")
+ }, b.paperDocsUsersAdd = function(e) {
+ return this.request("paper/docs/users/add", e, "user", "api", "rpc")
+ }, b.paperDocsUsersList = function(e) {
+ return this.request("paper/docs/users/list", e, "user", "api", "rpc")
+ }, b.paperDocsUsersListContinue = function(e) {
+ return this.request("paper/docs/users/list/continue", e, "user", "api", "rpc")
+ }, b.paperDocsUsersRemove = function(e) {
+ return this.request("paper/docs/users/remove", e, "user", "api", "rpc")
+ }, b.paperFoldersCreate = function(e) {
+ return this.request("paper/folders/create", e, "user", "api", "rpc")
+ }, b.sharingAddFileMember = function(e) {
+ return this.request("sharing/add_file_member", e, "user", "api", "rpc")
+ }, b.sharingAddFolderMember = function(e) {
+ return this.request("sharing/add_folder_member", e, "user", "api", "rpc")
+ }, b.sharingCheckJobStatus = function(e) {
+ return this.request("sharing/check_job_status", e, "user", "api", "rpc")
+ }, b.sharingCheckRemoveMemberJobStatus = function(e) {
+ return this.request("sharing/check_remove_member_job_status", e, "user", "api", "rpc")
+ }, b.sharingCheckShareJobStatus = function(e) {
+ return this.request("sharing/check_share_job_status", e, "user", "api", "rpc")
+ }, b.sharingCreateSharedLink = function(e) {
+ return this.request("sharing/create_shared_link", e, "user", "api", "rpc")
+ }, b.sharingCreateSharedLinkWithSettings = function(e) {
+ return this.request("sharing/create_shared_link_with_settings", e, "user", "api", "rpc")
+ }, b.sharingGetFileMetadata = function(e) {
+ return this.request("sharing/get_file_metadata", e, "user", "api", "rpc")
+ }, b.sharingGetFileMetadataBatch = function(e) {
+ return this.request("sharing/get_file_metadata/batch", e, "user", "api", "rpc")
+ }, b.sharingGetFolderMetadata = function(e) {
+ return this.request("sharing/get_folder_metadata", e, "user", "api", "rpc")
+ }, b.sharingGetSharedLinkFile = function(e) {
+ return this.request("sharing/get_shared_link_file", e, "user", "content", "download")
+ }, b.sharingGetSharedLinkMetadata = function(e) {
+ return this.request("sharing/get_shared_link_metadata", e, "user", "api", "rpc")
+ }, b.sharingGetSharedLinks = function(e) {
+ return this.request("sharing/get_shared_links", e, "user", "api", "rpc")
+ }, b.sharingListFileMembers = function(e) {
+ return this.request("sharing/list_file_members", e, "user", "api", "rpc")
+ }, b.sharingListFileMembersBatch = function(e) {
+ return this.request("sharing/list_file_members/batch", e, "user", "api", "rpc")
+ }, b.sharingListFileMembersContinue = function(e) {
+ return this.request("sharing/list_file_members/continue", e, "user", "api", "rpc")
+ }, b.sharingListFolderMembers = function(e) {
+ return this.request("sharing/list_folder_members", e, "user", "api", "rpc")
+ }, b.sharingListFolderMembersContinue = function(e) {
+ return this.request("sharing/list_folder_members/continue", e, "user", "api", "rpc")
+ }, b.sharingListFolders = function(e) {
+ return this.request("sharing/list_folders", e, "user", "api", "rpc")
+ }, b.sharingListFoldersContinue = function(e) {
+ return this.request("sharing/list_folders/continue", e, "user", "api", "rpc")
+ }, b.sharingListMountableFolders = function(e) {
+ return this.request("sharing/list_mountable_folders", e, "user", "api", "rpc")
+ }, b.sharingListMountableFoldersContinue = function(e) {
+ return this.request("sharing/list_mountable_folders/continue", e, "user", "api", "rpc")
+ }, b.sharingListReceivedFiles = function(e) {
+ return this.request("sharing/list_received_files", e, "user", "api", "rpc")
+ }, b.sharingListReceivedFilesContinue = function(e) {
+ return this.request("sharing/list_received_files/continue", e, "user", "api", "rpc")
+ }, b.sharingListSharedLinks = function(e) {
+ return this.request("sharing/list_shared_links", e, "user", "api", "rpc")
+ }, b.sharingModifySharedLinkSettings = function(e) {
+ return this.request("sharing/modify_shared_link_settings", e, "user", "api", "rpc")
+ }, b.sharingMountFolder = function(e) {
+ return this.request("sharing/mount_folder", e, "user", "api", "rpc")
+ }, b.sharingRelinquishFileMembership = function(e) {
+ return this.request("sharing/relinquish_file_membership", e, "user", "api", "rpc")
+ }, b.sharingRelinquishFolderMembership = function(e) {
+ return this.request("sharing/relinquish_folder_membership", e, "user", "api", "rpc")
+ }, b.sharingRemoveFileMember = function(e) {
+ return this.request("sharing/remove_file_member", e, "user", "api", "rpc")
+ }, b.sharingRemoveFileMember2 = function(e) {
+ return this.request("sharing/remove_file_member_2", e, "user", "api", "rpc")
+ }, b.sharingRemoveFolderMember = function(e) {
+ return this.request("sharing/remove_folder_member", e, "user", "api", "rpc")
+ }, b.sharingRevokeSharedLink = function(e) {
+ return this.request("sharing/revoke_shared_link", e, "user", "api", "rpc")
+ }, b.sharingSetAccessInheritance = function(e) {
+ return this.request("sharing/set_access_inheritance", e, "user", "api", "rpc")
+ }, b.sharingShareFolder = function(e) {
+ return this.request("sharing/share_folder", e, "user", "api", "rpc")
+ }, b.sharingTransferFolder = function(e) {
+ return this.request("sharing/transfer_folder", e, "user", "api", "rpc")
+ }, b.sharingUnmountFolder = function(e) {
+ return this.request("sharing/unmount_folder", e, "user", "api", "rpc")
+ }, b.sharingUnshareFile = function(e) {
+ return this.request("sharing/unshare_file", e, "user", "api", "rpc")
+ }, b.sharingUnshareFolder = function(e) {
+ return this.request("sharing/unshare_folder", e, "user", "api", "rpc")
+ }, b.sharingUpdateFileMember = function(e) {
+ return this.request("sharing/update_file_member", e, "user", "api", "rpc")
+ }, b.sharingUpdateFolderMember = function(e) {
+ return this.request("sharing/update_folder_member", e, "user", "api", "rpc")
+ }, b.sharingUpdateFolderPolicy = function(e) {
+ return this.request("sharing/update_folder_policy", e, "user", "api", "rpc")
+ }, b.teamDevicesListMemberDevices = function(e) {
+ return this.request("team/devices/list_member_devices", e, "team", "api", "rpc")
+ }, b.teamDevicesListMembersDevices = function(e) {
+ return this.request("team/devices/list_members_devices", e, "team", "api", "rpc")
+ }, b.teamDevicesListTeamDevices = function(e) {
+ return this.request("team/devices/list_team_devices", e, "team", "api", "rpc")
+ }, b.teamDevicesRevokeDeviceSession = function(e) {
+ return this.request("team/devices/revoke_device_session", e, "team", "api", "rpc")
+ }, b.teamDevicesRevokeDeviceSessionBatch = function(e) {
+ return this.request("team/devices/revoke_device_session_batch", e, "team", "api", "rpc")
+ }, b.teamFeaturesGetValues = function(e) {
+ return this.request("team/features/get_values", e, "team", "api", "rpc")
+ }, b.teamGetInfo = function() {
+ return this.request("team/get_info", null, "team", "api", "rpc")
+ }, b.teamGroupsCreate = function(e) {
+ return this.request("team/groups/create", e, "team", "api", "rpc")
+ }, b.teamGroupsDelete = function(e) {
+ return this.request("team/groups/delete", e, "team", "api", "rpc")
+ }, b.teamGroupsGetInfo = function(e) {
+ return this.request("team/groups/get_info", e, "team", "api", "rpc")
+ }, b.teamGroupsJobStatusGet = function(e) {
+ return this.request("team/groups/job_status/get", e, "team", "api", "rpc")
+ }, b.teamGroupsList = function(e) {
+ return this.request("team/groups/list", e, "team", "api", "rpc")
+ }, b.teamGroupsListContinue = function(e) {
+ return this.request("team/groups/list/continue", e, "team", "api", "rpc")
+ }, b.teamGroupsMembersAdd = function(e) {
+ return this.request("team/groups/members/add", e, "team", "api", "rpc")
+ }, b.teamGroupsMembersList = function(e) {
+ return this.request("team/groups/members/list", e, "team", "api", "rpc")
+ }, b.teamGroupsMembersListContinue = function(e) {
+ return this.request("team/groups/members/list/continue", e, "team", "api", "rpc")
+ }, b.teamGroupsMembersRemove = function(e) {
+ return this.request("team/groups/members/remove", e, "team", "api", "rpc")
+ }, b.teamGroupsMembersSetAccessType = function(e) {
+ return this.request("team/groups/members/set_access_type", e, "team", "api", "rpc")
+ }, b.teamGroupsUpdate = function(e) {
+ return this.request("team/groups/update", e, "team", "api", "rpc")
+ }, b.teamLegalHoldsCreatePolicy = function(e) {
+ return this.request("team/legal_holds/create_policy", e, "team", "api", "rpc")
+ }, b.teamLegalHoldsGetPolicy = function(e) {
+ return this.request("team/legal_holds/get_policy", e, "team", "api", "rpc")
+ }, b.teamLegalHoldsListHeldRevisions = function(e) {
+ return this.request("team/legal_holds/list_held_revisions", e, "team", "api", "rpc")
+ }, b.teamLegalHoldsListHeldRevisionsContinue = function(e) {
+ return this.request("team/legal_holds/list_held_revisions_continue", e, "team", "api", "rpc")
+ }, b.teamLegalHoldsListPolicies = function(e) {
+ return this.request("team/legal_holds/list_policies", e, "team", "api", "rpc")
+ }, b.teamLegalHoldsReleasePolicy = function(e) {
+ return this.request("team/legal_holds/release_policy", e, "team", "api", "rpc")
+ }, b.teamLegalHoldsUpdatePolicy = function(e) {
+ return this.request("team/legal_holds/update_policy", e, "team", "api", "rpc")
+ }, b.teamLinkedAppsListMemberLinkedApps = function(e) {
+ return this.request("team/linked_apps/list_member_linked_apps", e, "team", "api", "rpc")
+ }, b.teamLinkedAppsListMembersLinkedApps = function(e) {
+ return this.request("team/linked_apps/list_members_linked_apps", e, "team", "api", "rpc")
+ }, b.teamLinkedAppsListTeamLinkedApps = function(e) {
+ return this.request("team/linked_apps/list_team_linked_apps", e, "team", "api", "rpc")
+ }, b.teamLinkedAppsRevokeLinkedApp = function(e) {
+ return this.request("team/linked_apps/revoke_linked_app", e, "team", "api", "rpc")
+ }, b.teamLinkedAppsRevokeLinkedAppBatch = function(e) {
+ return this.request("team/linked_apps/revoke_linked_app_batch", e, "team", "api", "rpc")
+ }, b.teamMemberSpaceLimitsExcludedUsersAdd = function(e) {
+ return this.request("team/member_space_limits/excluded_users/add", e, "team", "api", "rpc")
+ }, b.teamMemberSpaceLimitsExcludedUsersList = function(e) {
+ return this.request("team/member_space_limits/excluded_users/list", e, "team", "api", "rpc")
+ }, b.teamMemberSpaceLimitsExcludedUsersListContinue = function(e) {
+ return this.request("team/member_space_limits/excluded_users/list/continue", e, "team", "api", "rpc")
+ }, b.teamMemberSpaceLimitsExcludedUsersRemove = function(e) {
+ return this.request("team/member_space_limits/excluded_users/remove", e, "team", "api", "rpc")
+ }, b.teamMemberSpaceLimitsGetCustomQuota = function(e) {
+ return this.request("team/member_space_limits/get_custom_quota", e, "team", "api", "rpc")
+ }, b.teamMemberSpaceLimitsRemoveCustomQuota = function(e) {
+ return this.request("team/member_space_limits/remove_custom_quota", e, "team", "api", "rpc")
+ }, b.teamMemberSpaceLimitsSetCustomQuota = function(e) {
+ return this.request("team/member_space_limits/set_custom_quota", e, "team", "api", "rpc")
+ }, b.teamMembersAddV2 = function(e) {
+ return this.request("team/members/add_v2", e, "team", "api", "rpc")
+ }, b.teamMembersAdd = function(e) {
+ return this.request("team/members/add", e, "team", "api", "rpc")
+ }, b.teamMembersAddJobStatusGetV2 = function(e) {
+ return this.request("team/members/add/job_status/get_v2", e, "team", "api", "rpc")
+ }, b.teamMembersAddJobStatusGet = function(e) {
+ return this.request("team/members/add/job_status/get", e, "team", "api", "rpc")
+ }, b.teamMembersDeleteProfilePhotoV2 = function(e) {
+ return this.request("team/members/delete_profile_photo_v2", e, "team", "api", "rpc")
+ }, b.teamMembersDeleteProfilePhoto = function(e) {
+ return this.request("team/members/delete_profile_photo", e, "team", "api", "rpc")
+ }, b.teamMembersGetAvailableTeamMemberRoles = function() {
+ return this.request("team/members/get_available_team_member_roles", null, "team", "api", "rpc")
+ }, b.teamMembersGetInfoV2 = function(e) {
+ return this.request("team/members/get_info_v2", e, "team", "api", "rpc")
+ }, b.teamMembersGetInfo = function(e) {
+ return this.request("team/members/get_info", e, "team", "api", "rpc")
+ }, b.teamMembersListV2 = function(e) {
+ return this.request("team/members/list_v2", e, "team", "api", "rpc")
+ }, b.teamMembersList = function(e) {
+ return this.request("team/members/list", e, "team", "api", "rpc")
+ }, b.teamMembersListContinueV2 = function(e) {
+ return this.request("team/members/list/continue_v2", e, "team", "api", "rpc")
+ }, b.teamMembersListContinue = function(e) {
+ return this.request("team/members/list/continue", e, "team", "api", "rpc")
+ }, b.teamMembersMoveFormerMemberFiles = function(e) {
+ return this.request("team/members/move_former_member_files", e, "team", "api", "rpc")
+ }, b.teamMembersMoveFormerMemberFilesJobStatusCheck = function(e) {
+ return this.request("team/members/move_former_member_files/job_status/check", e, "team", "api", "rpc")
+ }, b.teamMembersRecover = function(e) {
+ return this.request("team/members/recover", e, "team", "api", "rpc")
+ }, b.teamMembersRemove = function(e) {
+ return this.request("team/members/remove", e, "team", "api", "rpc")
+ }, b.teamMembersRemoveJobStatusGet = function(e) {
+ return this.request("team/members/remove/job_status/get", e, "team", "api", "rpc")
+ }, b.teamMembersSecondaryEmailsAdd = function(e) {
+ return this.request("team/members/secondary_emails/add", e, "team", "api", "rpc")
+ }, b.teamMembersSecondaryEmailsDelete = function(e) {
+ return this.request("team/members/secondary_emails/delete", e, "team", "api", "rpc")
+ }, b.teamMembersSecondaryEmailsResendVerificationEmails = function(e) {
+ return this.request("team/members/secondary_emails/resend_verification_emails", e, "team", "api", "rpc")
+ }, b.teamMembersSendWelcomeEmail = function(e) {
+ return this.request("team/members/send_welcome_email", e, "team", "api", "rpc")
+ }, b.teamMembersSetAdminPermissionsV2 = function(e) {
+ return this.request("team/members/set_admin_permissions_v2", e, "team", "api", "rpc")
+ }, b.teamMembersSetAdminPermissions = function(e) {
+ return this.request("team/members/set_admin_permissions", e, "team", "api", "rpc")
+ }, b.teamMembersSetProfileV2 = function(e) {
+ return this.request("team/members/set_profile_v2", e, "team", "api", "rpc")
+ }, b.teamMembersSetProfile = function(e) {
+ return this.request("team/members/set_profile", e, "team", "api", "rpc")
+ }, b.teamMembersSetProfilePhotoV2 = function(e) {
+ return this.request("team/members/set_profile_photo_v2", e, "team", "api", "rpc")
+ }, b.teamMembersSetProfilePhoto = function(e) {
+ return this.request("team/members/set_profile_photo", e, "team", "api", "rpc")
+ }, b.teamMembersSuspend = function(e) {
+ return this.request("team/members/suspend", e, "team", "api", "rpc")
+ }, b.teamMembersUnsuspend = function(e) {
+ return this.request("team/members/unsuspend", e, "team", "api", "rpc")
+ }, b.teamNamespacesList = function(e) {
+ return this.request("team/namespaces/list", e, "team", "api", "rpc")
+ }, b.teamNamespacesListContinue = function(e) {
+ return this.request("team/namespaces/list/continue", e, "team", "api", "rpc")
+ }, b.teamPropertiesTemplateAdd = function(e) {
+ return this.request("team/properties/template/add", e, "team", "api", "rpc")
+ }, b.teamPropertiesTemplateGet = function(e) {
+ return this.request("team/properties/template/get", e, "team", "api", "rpc")
+ }, b.teamPropertiesTemplateList = function() {
+ return this.request("team/properties/template/list", null, "team", "api", "rpc")
+ }, b.teamPropertiesTemplateUpdate = function(e) {
+ return this.request("team/properties/template/update", e, "team", "api", "rpc")
+ }, b.teamReportsGetActivity = function(e) {
+ return this.request("team/reports/get_activity", e, "team", "api", "rpc")
+ }, b.teamReportsGetDevices = function(e) {
+ return this.request("team/reports/get_devices", e, "team", "api", "rpc")
+ }, b.teamReportsGetMembership = function(e) {
+ return this.request("team/reports/get_membership", e, "team", "api", "rpc")
+ }, b.teamReportsGetStorage = function(e) {
+ return this.request("team/reports/get_storage", e, "team", "api", "rpc")
+ }, b.teamTeamFolderActivate = function(e) {
+ return this.request("team/team_folder/activate", e, "team", "api", "rpc")
+ }, b.teamTeamFolderArchive = function(e) {
+ return this.request("team/team_folder/archive", e, "team", "api", "rpc")
+ }, b.teamTeamFolderArchiveCheck = function(e) {
+ return this.request("team/team_folder/archive/check", e, "team", "api", "rpc")
+ }, b.teamTeamFolderCreate = function(e) {
+ return this.request("team/team_folder/create", e, "team", "api", "rpc")
+ }, b.teamTeamFolderGetInfo = function(e) {
+ return this.request("team/team_folder/get_info", e, "team", "api", "rpc")
+ }, b.teamTeamFolderList = function(e) {
+ return this.request("team/team_folder/list", e, "team", "api", "rpc")
+ }, b.teamTeamFolderListContinue = function(e) {
+ return this.request("team/team_folder/list/continue", e, "team", "api", "rpc")
+ }, b.teamTeamFolderPermanentlyDelete = function(e) {
+ return this.request("team/team_folder/permanently_delete", e, "team", "api", "rpc")
+ }, b.teamTeamFolderRename = function(e) {
+ return this.request("team/team_folder/rename", e, "team", "api", "rpc")
+ }, b.teamTeamFolderUpdateSyncSettings = function(e) {
+ return this.request("team/team_folder/update_sync_settings", e, "team", "api", "rpc")
+ }, b.teamTokenGetAuthenticatedAdmin = function() {
+ return this.request("team/token/get_authenticated_admin", null, "team", "api", "rpc")
+ }, b.teamLogGetEvents = function(e) {
+ return this.request("team_log/get_events", e, "team", "api", "rpc")
+ }, b.teamLogGetEventsContinue = function(e) {
+ return this.request("team_log/get_events/continue", e, "team", "api", "rpc")
+ }, b.usersFeaturesGetValues = function(e) {
+ return this.request("users/features/get_values", e, "user", "api", "rpc")
+ }, b.usersGetAccount = function(e) {
+ return this.request("users/get_account", e, "user", "api", "rpc")
+ }, b.usersGetAccountBatch = function(e) {
+ return this.request("users/get_account_batch", e, "user", "api", "rpc")
+ }, b.usersGetCurrentAccount = function() {
+ return this.request("users/get_current_account", null, "user", "api", "rpc")
+ }, b.usersGetSpaceUsage = function() {
+ return this.request("users/get_space_usage", null, "user", "api", "rpc")
+ };
+ var v = function(e) {
+ var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : m,
+ n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : ".";
+ return t !== m && void 0 !== g[e] && (e = g[e], n = "-"), "https://".concat(e).concat(n).concat(t, "/2/")
+ },
+ k = function() {
+ var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : f;
+ return e !== f && (e = "meta-".concat(e)), "https://".concat(e, "/oauth2/authorize")
+ },
+ _ = function() {
+ var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : m,
+ t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : ".",
+ n = "api";
+ return e !== m && (n = g[n], t = "-"), "https://".concat(n).concat(t).concat(e, "/oauth2/token")
+ };
- function Ht(e) {
- return function(t) {
- return e(t)
- }
- }
+ function w(e) {
+ return JSON.stringify(e).replace(/[\u007f-\uffff]/g, y)
+ }
- function Vt(e, t) {
- return xt(t, (function(t) {
- return e[t]
- }))
- }
+ function S(e) {
+ return new Date(Date.now() + 1e3 * e)
+ }
- function Wt(e, t) {
- return e.has(t)
- }
+ function E() {
+ return "undefined" != typeof WorkerGlobalScope && self instanceof WorkerGlobalScope || "undefined" != typeof window
+ }
- function Yt(e, t) {
- for (var n = -1, a = e.length; ++n < a && Mt(t, e[n], 0) > -1;);
- return n
- }
+ function x() {
+ return "undefined" != typeof window
+ }
- function Gt(e, t) {
- for (var n = e.length; n-- && Mt(t, e[n], 0) > -1;);
- return n
- }
+ function C(e) {
+ return e.toString("base64").replace(/\+/g, "-").replace(/\//g, "_").replace(/=/g, "")
+ }
+ var A, T, D, P = function(e) {
+ ! function(e, t) {
+ if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function");
+ e.prototype = Object.create(t && t.prototype, {
+ constructor: {
+ value: e,
+ writable: !0,
+ configurable: !0
+ }
+ }), t && o(e, t)
+ }(l, e);
+ var n, a, r = (n = l, a = s(), function() {
+ var e, t = i(n);
+ if (a) {
+ var r = i(this).constructor;
+ e = Reflect.construct(t, arguments, r)
+ } else e = t.apply(this, arguments);
+ return u(this, e)
+ });
- function Kt(e, t) {
- for (var n = e.length, a = 0; n--;) e[n] === t && ++a;
- return a
+ function l(e, n, a) {
+ var i;
+ return t(this, l), (i = r.call(this, "Response failed with a ".concat(e, " code"))).name = "DropboxResponseError", i.status = e, i.headers = n, i.error = a, i
}
- var $t = Lt({
- À: "A",
- Á: "A",
- Â: "A",
- Ã: "A",
- Ä: "A",
- Å: "A",
- à: "a",
- á: "a",
- â: "a",
- ã: "a",
- ä: "a",
- å: "a",
- Ç: "C",
- ç: "c",
- Ð: "D",
- ð: "d",
- È: "E",
- É: "E",
- Ê: "E",
- Ë: "E",
- è: "e",
- é: "e",
- ê: "e",
- ë: "e",
- Ì: "I",
- Í: "I",
- Î: "I",
- Ï: "I",
- ì: "i",
- í: "i",
- î: "i",
- ï: "i",
- Ñ: "N",
- ñ: "n",
- Ò: "O",
- Ó: "O",
- Ô: "O",
- Õ: "O",
- Ö: "O",
- Ø: "O",
- ò: "o",
- ó: "o",
- ô: "o",
- õ: "o",
- ö: "o",
- ø: "o",
- Ù: "U",
- Ú: "U",
- Û: "U",
- Ü: "U",
- ù: "u",
- ú: "u",
- û: "u",
- ü: "u",
- Ý: "Y",
- ý: "y",
- ÿ: "y",
- Æ: "Ae",
- æ: "ae",
- Þ: "Th",
- þ: "th",
- ß: "ss",
- Ā: "A",
- Ă: "A",
- Ą: "A",
- ā: "a",
- ă: "a",
- ą: "a",
- Ć: "C",
- Ĉ: "C",
- Ċ: "C",
- Č: "C",
- ć: "c",
- ĉ: "c",
- ċ: "c",
- č: "c",
- Ď: "D",
- Đ: "D",
- ď: "d",
- đ: "d",
- Ē: "E",
- Ĕ: "E",
- Ė: "E",
- Ę: "E",
- Ě: "E",
- ē: "e",
- ĕ: "e",
- ė: "e",
- ę: "e",
- ě: "e",
- Ĝ: "G",
- Ğ: "G",
- Ġ: "G",
- Ģ: "G",
- ĝ: "g",
- ğ: "g",
- ġ: "g",
- ģ: "g",
- Ĥ: "H",
- Ħ: "H",
- ĥ: "h",
- ħ: "h",
- Ĩ: "I",
- Ī: "I",
- Ĭ: "I",
- Į: "I",
- İ: "I",
- ĩ: "i",
- ī: "i",
- ĭ: "i",
- į: "i",
- ı: "i",
- Ĵ: "J",
- ĵ: "j",
- Ķ: "K",
- ķ: "k",
- ĸ: "k",
- Ĺ: "L",
- Ļ: "L",
- Ľ: "L",
- Ŀ: "L",
- Ł: "L",
- ĺ: "l",
- ļ: "l",
- ľ: "l",
- ŀ: "l",
- ł: "l",
- Ń: "N",
- Ņ: "N",
- Ň: "N",
- Ŋ: "N",
- ń: "n",
- ņ: "n",
- ň: "n",
- ŋ: "n",
- Ō: "O",
- Ŏ: "O",
- Ő: "O",
- ō: "o",
- ŏ: "o",
- ő: "o",
- Ŕ: "R",
- Ŗ: "R",
- Ř: "R",
- ŕ: "r",
- ŗ: "r",
- ř: "r",
- Ś: "S",
- Ŝ: "S",
- Ş: "S",
- Š: "S",
- ś: "s",
- ŝ: "s",
- ş: "s",
- š: "s",
- Ţ: "T",
- Ť: "T",
- Ŧ: "T",
- ţ: "t",
- ť: "t",
- ŧ: "t",
- Ũ: "U",
- Ū: "U",
- Ŭ: "U",
- Ů: "U",
- Ű: "U",
- Ų: "U",
- ũ: "u",
- ū: "u",
- ŭ: "u",
- ů: "u",
- ű: "u",
- ų: "u",
- Ŵ: "W",
- ŵ: "w",
- Ŷ: "Y",
- ŷ: "y",
- Ÿ: "Y",
- Ź: "Z",
- Ż: "Z",
- Ž: "Z",
- ź: "z",
- ż: "z",
- ž: "z",
- IJ: "IJ",
- ij: "ij",
- Œ: "Oe",
- œ: "oe",
- ʼn: "'n",
- ſ: "s"
- }),
- Jt = Lt({
- "&": "&",
- "<": "<",
- ">": ">",
- '"': """,
- "'": "'"
- });
+ return l
+ }(c(Error)),
+ j = function e(n, a, r) {
+ t(this, e), this.status = n, this.headers = a, this.result = r
+ };
- function Zt(e) {
- return "\\" + et[e]
+ function M(e) {
+ return e.text().then((function(t) {
+ var n;
+ try {
+ n = JSON.parse(t)
+ } catch (e) {
+ n = t
}
+ throw new P(e.status, e.headers, n)
+ }))
+ }
- function Qt(e) {
- return Ke.test(e)
+ function I(e) {
+ return e.ok ? e.text().then((function(t) {
+ var n;
+ try {
+ n = JSON.parse(t)
+ } catch (e) {
+ n = t
}
-
- function Xt(e) {
- var t = -1,
- n = Array(e.size);
- return e.forEach((function(e, a) {
- n[++t] = [a, e]
- })), n
+ return new j(e.status, e.headers, n)
+ })) : M(e)
+ }
+ A = x() ? window.fetch.bind(window) : n(3155), T = x() ? window.crypto || window.msCrypto : n(8090), D = "undefined" == typeof TextEncoder ? n(8751).TextEncoder : TextEncoder;
+ var O, N = ["legacy", "offline", "online"],
+ R = ["code", "token"],
+ z = ["none", "user", "team"],
+ L = function() {
+ function e(n) {
+ t(this, e), this.fetch = (n = n || {}).fetch || A, this.accessToken = n.accessToken, this.accessTokenExpiresAt = n.accessTokenExpiresAt, this.refreshToken = n.refreshToken, this.clientId = n.clientId, this.clientSecret = n.clientSecret, this.domain = n.domain, this.domainDelimiter = n.domainDelimiter
}
-
- function en(e, t) {
- return function(n) {
- return e(t(n))
+ return r(e, [{
+ key: "setAccessToken",
+ value: function(e) {
+ this.accessToken = e
}
- }
-
- function tn(e, t) {
- for (var n = -1, a = e.length, r = 0, i = []; ++n < a;) {
- var o = e[n];
- o !== t && o !== s || (e[n] = s, i[r++] = n)
+ }, {
+ key: "getAccessToken",
+ value: function() {
+ return this.accessToken
+ }
+ }, {
+ key: "setClientId",
+ value: function(e) {
+ this.clientId = e
+ }
+ }, {
+ key: "getClientId",
+ value: function() {
+ return this.clientId
+ }
+ }, {
+ key: "setClientSecret",
+ value: function(e) {
+ this.clientSecret = e
+ }
+ }, {
+ key: "getClientSecret",
+ value: function() {
+ return this.clientSecret
+ }
+ }, {
+ key: "getRefreshToken",
+ value: function() {
+ return this.refreshToken
+ }
+ }, {
+ key: "setRefreshToken",
+ value: function(e) {
+ this.refreshToken = e
+ }
+ }, {
+ key: "getAccessTokenExpiresAt",
+ value: function() {
+ return this.accessTokenExpiresAt
+ }
+ }, {
+ key: "setAccessTokenExpiresAt",
+ value: function(e) {
+ this.accessTokenExpiresAt = e
+ }
+ }, {
+ key: "setCodeVerifier",
+ value: function(e) {
+ this.codeVerifier = e
+ }
+ }, {
+ key: "getCodeVerifier",
+ value: function() {
+ return this.codeVerifier
+ }
+ }, {
+ key: "generateCodeChallenge",
+ value: function() {
+ var e, t = this,
+ n = (new D).encode(this.codeVerifier);
+ if (x()) return T.subtle.digest("SHA-256", n).then((function(n) {
+ var a = btoa(String.fromCharCode.apply(null, new Uint8Array(n)));
+ e = C(a).substr(0, 128), t.codeChallenge = e
+ }));
+ var a = T.createHash("sha256").update(n).digest();
+ return e = C(a), this.codeChallenge = e, Promise.resolve()
+ }
+ }, {
+ key: "generatePKCECodes",
+ value: function() {
+ var e;
+ if (x()) {
+ var t = new Uint8Array(128),
+ n = T.getRandomValues(t);
+ e = C(btoa(n)).substr(0, 128)
+ } else e = C(T.randomBytes(128)).substr(0, 128);
+ return this.codeVerifier = e, this.generateCodeChallenge()
+ }
+ }, {
+ key: "getAuthenticationUrl",
+ value: function(e, t) {
+ var n, a = this,
+ r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "token",
+ i = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : null,
+ o = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null,
+ s = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : "none",
+ l = arguments.length > 6 && void 0 !== arguments[6] && arguments[6],
+ c = this.getClientId(),
+ u = k(this.domain);
+ if (!c) throw Error("A client id is required. You can set the client id using .setClientId().");
+ if ("code" !== r && !e) throw Error("A redirect uri is required.");
+ if (!R.includes(r)) throw Error("Authorization type must be code or token");
+ if (i && !N.includes(i)) throw Error("Token Access Type must be legacy, offline, or online");
+ if (o && !(o instanceof Array)) throw Error("Scope must be an array of strings");
+ if (!z.includes(s)) throw Error("includeGrantedScopes must be none, user, or team");
+ return n = "code" === r ? "".concat(u, "?response_type=code&client_id=").concat(c) : "".concat(u, "?response_type=token&client_id=").concat(c), e && (n += "&redirect_uri=".concat(e)), t && (n += "&state=".concat(t)), i && (n += "&token_access_type=".concat(i)), o && (n += "&scope=".concat(o.join(" "))), "none" !== s && (n += "&include_granted_scopes=".concat(s)), l ? this.generatePKCECodes().then((function() {
+ return n += "&code_challenge_method=S256", n += "&code_challenge=".concat(a.codeChallenge)
+ })) : Promise.resolve(n)
+ }
+ }, {
+ key: "getAccessTokenFromCode",
+ value: function(e, t) {
+ var n = this.getClientId(),
+ a = this.getClientSecret();
+ if (!n) throw Error("A client id is required. You can set the client id using .setClientId().");
+ var r = _(this.domain, this.domainDelimiter);
+ if (r += "?grant_type=authorization_code", r += "&code=".concat(t), r += "&client_id=".concat(n), a) r += "&client_secret=".concat(a);
+ else {
+ if (!this.codeVerifier) throw Error("You must use PKCE when generating the authorization URL to not include a client secret");
+ r += "&code_verifier=".concat(this.codeVerifier)
+ }
+ return e && (r += "&redirect_uri=".concat(e)), this.fetch(r, {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/x-www-form-urlencoded"
+ }
+ }).then((function(e) {
+ return I(e)
+ }))
+ }
+ }, {
+ key: "checkAndRefreshAccessToken",
+ value: function() {
+ var e = this.getRefreshToken() && this.getClientId(),
+ t = !this.getAccessTokenExpiresAt() || new Date(Date.now() + 3e5) >= this.getAccessTokenExpiresAt(),
+ n = !this.getAccessToken();
+ return (t || n) && e ? this.refreshAccessToken() : Promise.resolve()
+ }
+ }, {
+ key: "refreshAccessToken",
+ value: function() {
+ var e = this,
+ t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null,
+ n = _(this.domain, this.domainDelimiter),
+ a = this.getClientId(),
+ r = this.getClientSecret();
+ if (!a) throw Error("A client id is required. You can set the client id using .setClientId().");
+ if (t && !(t instanceof Array)) throw Error("Scope must be an array of strings");
+ var i = {
+ "Content-Type": "application/json"
+ };
+ n += "?grant_type=refresh_token&refresh_token=".concat(this.getRefreshToken()), n += "&client_id=".concat(a), r && (n += "&client_secret=".concat(r)), t && (n += "&scope=".concat(t.join(" ")));
+ var o = {
+ method: "POST"
+ };
+ return o.headers = i, this.fetch(n, o).then((function(e) {
+ return I(e)
+ })).then((function(t) {
+ e.setAccessToken(t.result.access_token), e.setAccessTokenExpiresAt(S(t.result.expires_in))
+ }))
+ }
+ }]), e
+ }();
+ O = "undefined" != typeof window ? window.fetch.bind(window) : n(3155);
+ var F = "undefined" == typeof btoa ? function(e) {
+ return Buffer.from(e).toString("base64")
+ } : btoa;
+ e.Dropbox = function() {
+ function e(n) {
+ t(this, e), this.auth = (n = n || {}).auth ? n.auth : new L(n), this.fetch = n.fetch || O, this.selectUser = n.selectUser, this.selectAdmin = n.selectAdmin, this.pathRoot = n.pathRoot, this.domain = n.domain, this.domainDelimiter = n.domainDelimiter, Object.assign(this, b)
+ }
+ return r(e, [{
+ key: "request",
+ value: function(e, t, n, a, r) {
+ if (n.split(",").length > 1) {
+ var i = n.replace(" ", "").split(",");
+ i.includes(p) && this.auth.getAccessToken() ? n = p : i.includes(h) && this.auth.getAccessToken() ? n = h : i.includes(d) && (n = d)
+ }
+ switch (r) {
+ case "rpc":
+ return this.rpcRequest(e, t, n, a);
+ case "download":
+ return this.downloadRequest(e, t, n, a);
+ case "upload":
+ return this.uploadRequest(e, t, n, a);
+ default:
+ throw Error("Invalid request style: ".concat(r))
}
- return i
}
-
- function nn(e) {
- var t = -1,
- n = Array(e.size);
- return e.forEach((function(e) {
- n[++t] = e
- })), n
+ }, {
+ key: "rpcRequest",
+ value: function(e, t, n, a) {
+ var r = this;
+ return this.auth.checkAndRefreshAccessToken().then((function() {
+ var e, a = {
+ method: "POST",
+ body: t ? JSON.stringify(t) : null,
+ headers: {}
+ };
+ switch (t && (a.headers["Content-Type"] = "application/json"), n) {
+ case d:
+ if (!r.auth.clientId || !r.auth.clientSecret) throw Error("A client id and secret is required for this function");
+ e = F("".concat(r.auth.clientId, ":").concat(r.auth.clientSecret)), a.headers.Authorization = "Basic ".concat(e);
+ break;
+ case h:
+ case p:
+ a.headers.Authorization = "Bearer ".concat(r.auth.getAccessToken());
+ break;
+ case "noauth":
+ break;
+ default:
+ throw Error("Unhandled auth type: ".concat(n))
+ }
+ return r.setCommonHeaders(a), a
+ })).then((function(t) {
+ return r.fetch(v(a, r.domain, r.domainDelimiter) + e, t)
+ })).then((function(e) {
+ return I(e)
+ }))
}
-
- function an(e) {
- var t = -1,
- n = Array(e.size);
- return e.forEach((function(e) {
- n[++t] = [e, e]
- })), n
+ }, {
+ key: "downloadRequest",
+ value: function(e, t, n, a) {
+ var r = this;
+ return this.auth.checkAndRefreshAccessToken().then((function() {
+ if (n !== p) throw Error("Unexpected auth type: ".concat(n));
+ var e = {
+ method: "POST",
+ headers: {
+ Authorization: "Bearer ".concat(r.auth.getAccessToken()),
+ "Dropbox-API-Arg": w(t)
+ }
+ };
+ return r.setCommonHeaders(e), e
+ })).then((function(t) {
+ return r.fetch(v(a, r.domain, r.domainDelimiter) + e, t)
+ })).then((function(e) {
+ return function(e) {
+ return e.ok ? new Promise((function(t) {
+ E() ? e.blob().then((function(e) {
+ return t(e)
+ })) : e.buffer().then((function(e) {
+ return t(e)
+ }))
+ })).then((function(t) {
+ var n = JSON.parse(e.headers.get("dropbox-api-result"));
+ return E() ? n.fileBlob = t : n.fileBinary = t, new j(e.status, e.headers, n)
+ })) : M(e)
+ }(e)
+ }))
}
-
- function rn(e) {
- return Qt(e) ? function(e) {
- for (var t = Ye.lastIndex = 0; Ye.test(e);) ++t;
- return t
- }(e) : Dt(e)
+ }, {
+ key: "uploadRequest",
+ value: function(e, t, n, a) {
+ var r = this;
+ return this.auth.checkAndRefreshAccessToken().then((function() {
+ if (n !== p) throw Error("Unexpected auth type: ".concat(n));
+ var e = t.contents;
+ delete t.contents;
+ var a = {
+ body: e,
+ method: "POST",
+ headers: {
+ Authorization: "Bearer ".concat(r.auth.getAccessToken()),
+ "Content-Type": "application/octet-stream",
+ "Dropbox-API-Arg": w(t)
+ }
+ };
+ return r.setCommonHeaders(a), a
+ })).then((function(t) {
+ return r.fetch(v(a, r.domain, r.domainDelimiter) + e, t)
+ })).then((function(e) {
+ return I(e)
+ }))
}
-
- function on(e) {
- return Qt(e) ? function(e) {
- return e.match(Ye) || []
- }(e) : function(e) {
- return e.split("")
- }(e)
+ }, {
+ key: "setCommonHeaders",
+ value: function(e) {
+ this.selectUser && (e.headers["Dropbox-API-Select-User"] = this.selectUser), this.selectAdmin && (e.headers["Dropbox-API-Select-Admin"] = this.selectAdmin), this.pathRoot && (e.headers["Dropbox-API-Path-Root"] = this.pathRoot)
}
+ }]), e
+ }(), e.DropboxAuth = L, e.DropboxResponse = j, e.DropboxResponseError = P, Object.defineProperty(e, "__esModule", {
+ value: !0
+ })
+ }(t)
+}, 3155: (e, t) => {
+ "use strict";
+ var n = function() {
+ if ("undefined" != typeof self) return self;
+ if ("undefined" != typeof window) return window;
+ if (void 0 !== n) return n;
+ throw new Error("unable to locate global object")
+ }();
+ e.exports = t = n.fetch, n.fetch && (t.default = n.fetch.bind(n)), t.Headers = n.Headers, t.Request = n.Request, t.Response = n.Response
+}, 1908: e => {
+ "use strict";
+ e.exports = function() {
+ return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74)\uDB40\uDC7F|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]\uFE0F|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]))|\uD83D\uDC69\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83D\uDC69\u200D[\u2695\u2696\u2708])\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC68(?:\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDD1-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])?|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])\uFE0F/g
+ }
+}, 4305: function(e, t, n) {
+ var a = n(554);
+ e.exports = function() {
+ "use strict";
- function sn(e) {
- for (var t = e.length; t-- && re.test(e.charAt(t)););
- return t
- }
- var ln = Lt({
- "&": "&",
- "<": "<",
- ">": ">",
- """: '"',
- "'": "'"
- }),
- cn = function e(t) {
- var n, a = (t = null == t ? it : cn.defaults(it.Object(), t, cn.pick(it, Je))).Array,
- re = t.Date,
- _e = t.Error,
- we = t.Function,
- Se = t.Math,
- Ee = t.Object,
- xe = t.RegExp,
- Ce = t.String,
- Ae = t.TypeError,
- je = a.prototype,
- Pe = we.prototype,
- De = Ee.prototype,
- Te = t["__core-js_shared__"],
- Oe = Pe.toString,
- Me = De.hasOwnProperty,
- Ie = 0,
- Ne = (n = /[^.]+$/.exec(Te && Te.keys && Te.keys.IE_PROTO || "")) ? "Symbol(src)_1." + n : "",
- ze = De.toString,
- Re = Oe.call(Ee),
- Le = it._,
- Fe = xe("^" + Oe.call(Me).replace(te, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"),
- qe = lt ? t.Buffer : r,
- Be = t.Symbol,
- Ue = t.Uint8Array,
- He = qe ? qe.allocUnsafe : r,
- Ye = en(Ee.getPrototypeOf, Ee),
- Ke = Ee.create,
- et = De.propertyIsEnumerable,
- at = je.splice,
- rt = Be ? Be.isConcatSpreadable : r,
- ot = Be ? Be.iterator : r,
- st = Be ? Be.toStringTag : r,
- ct = function() {
- try {
- var e = ci(Ee, "defineProperty");
- return e({}, "", {}), e
- } catch (e) {}
- }(),
- ut = t.clearTimeout !== it.clearTimeout && t.clearTimeout,
- Dt = re && re.now !== it.Date.now && re.now,
- Lt = t.setTimeout !== it.setTimeout && t.setTimeout,
- un = Se.ceil,
- dn = Se.floor,
- pn = Ee.getOwnPropertySymbols,
- hn = qe ? qe.isBuffer : r,
- mn = t.isFinite,
- fn = je.join,
- gn = en(Ee.keys, Ee),
- bn = Se.max,
- yn = Se.min,
- vn = re.now,
- kn = t.parseInt,
- _n = Se.random,
- wn = je.reverse,
- Sn = ci(t, "DataView"),
- En = ci(t, "Map"),
- xn = ci(t, "Promise"),
- Cn = ci(t, "Set"),
- An = ci(t, "WeakMap"),
- jn = ci(Ee, "create"),
- Pn = An && new An,
- Dn = {},
- Tn = Li(Sn),
- On = Li(En),
- Mn = Li(xn),
- In = Li(Cn),
- Nn = Li(An),
- zn = Be ? Be.prototype : r,
- Rn = zn ? zn.valueOf : r,
- Ln = zn ? zn.toString : r;
-
- function Fn(e) {
- if (ns(e) && !Wo(e) && !(e instanceof Hn)) {
- if (e instanceof Un) return e;
- if (Me.call(e, "__wrapped__")) return Fi(e)
- }
- return new Un(e)
- }
- var qn = function() {
- function e() {}
- return function(t) {
- if (!ts(t)) return {};
- if (Ke) return Ke(t);
- e.prototype = t;
- var n = new e;
- return e.prototype = r, n
- }
- }();
+ function e(e) {
+ return "function" == typeof e
+ }
+ var t = Array.isArray ? Array.isArray : function(e) {
+ return "[object Array]" === Object.prototype.toString.call(e)
+ },
+ r = 0,
+ i = void 0,
+ o = void 0,
+ s = function(e, t) {
+ m[r] = e, m[r + 1] = t, 2 === (r += 2) && (o ? o(f) : k())
+ };
+ var l = "undefined" != typeof window ? window : void 0,
+ c = l || {},
+ u = c.MutationObserver || c.WebKitMutationObserver,
+ d = "undefined" == typeof self && void 0 !== a && "[object process]" === {}.toString.call(a),
+ p = "undefined" != typeof Uint8ClampedArray && "undefined" != typeof importScripts && "undefined" != typeof MessageChannel;
+
+ function h() {
+ var e = setTimeout;
+ return function() {
+ return e(f, 1)
+ }
+ }
+ var m = new Array(1e3);
- function Bn() {}
+ function f() {
+ for (var e = 0; e < r; e += 2)(0, m[e])(m[e + 1]), m[e] = void 0, m[e + 1] = void 0;
+ r = 0
+ }
+ var g, b, y, v, k = void 0;
- function Un(e, t) {
- this.__wrapped__ = e, this.__actions__ = [], this.__chain__ = !!t, this.__index__ = 0, this.__values__ = r
- }
+ function _(e, t) {
+ var n = this,
+ a = new this.constructor(E);
+ void 0 === a[S] && z(a);
+ var r = n._state;
+ if (r) {
+ var i = arguments[r - 1];
+ s((function() {
+ return N(r, a, i, n._result)
+ }))
+ } else I(n, a, e, t);
+ return a
+ }
- function Hn(e) {
- this.__wrapped__ = e, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = h, this.__views__ = []
- }
+ function w(e) {
+ if (e && "object" == typeof e && e.constructor === this) return e;
+ var t = new this(E);
+ return D(t, e), t
+ }
+ k = d ? function() {
+ return a.nextTick(f)
+ } : u ? (b = 0, y = new u(f), v = document.createTextNode(""), y.observe(v, {
+ characterData: !0
+ }), function() {
+ v.data = b = ++b % 2
+ }) : p ? ((g = new MessageChannel).port1.onmessage = f, function() {
+ return g.port2.postMessage(0)
+ }) : void 0 === l ? function() {
+ try {
+ var e = Function("return this")().require("vertx");
+ return void 0 !== (i = e.runOnLoop || e.runOnContext) ? function() {
+ i(f)
+ } : h()
+ } catch (e) {
+ return h()
+ }
+ }() : h();
+ var S = Math.random().toString(36).substring(2);
- function Vn(e) {
- var t = -1,
- n = null == e ? 0 : e.length;
- for (this.clear(); ++t < n;) {
- var a = e[t];
- this.set(a[0], a[1])
- }
- }
+ function E() {}
+ var x = void 0,
+ C = {
+ error: null
+ };
- function Wn(e) {
- var t = -1,
- n = null == e ? 0 : e.length;
- for (this.clear(); ++t < n;) {
- var a = e[t];
- this.set(a[0], a[1])
- }
- }
+ function A(e) {
+ try {
+ return e.then
+ } catch (e) {
+ return C.error = e, C
+ }
+ }
- function Yn(e) {
- var t = -1,
- n = null == e ? 0 : e.length;
- for (this.clear(); ++t < n;) {
- var a = e[t];
- this.set(a[0], a[1])
+ function T(t, n, a) {
+ n.constructor === t.constructor && a === _ && n.constructor.resolve === w ? function(e, t) {
+ 1 === t._state ? j(e, t._result) : 2 === t._state ? M(e, t._result) : I(t, void 0, (function(t) {
+ return D(e, t)
+ }), (function(t) {
+ return M(e, t)
+ }))
+ }(t, n) : a === C ? (M(t, C.error), C.error = null) : void 0 === a ? j(t, n) : e(a) ? function(e, t, n) {
+ s((function(e) {
+ var a = !1,
+ r = function(e, t, n, a) {
+ try {
+ e.call(t, n, a)
+ } catch (e) {
+ return e
}
- }
+ }(n, t, (function(n) {
+ a || (a = !0, t !== n ? D(e, n) : j(e, n))
+ }), (function(t) {
+ a || (a = !0, M(e, t))
+ }), e._label);
+ !a && r && (a = !0, M(e, r))
+ }), e)
+ }(t, n, a) : j(t, n)
+ }
- function Gn(e) {
- var t = -1,
- n = null == e ? 0 : e.length;
- for (this.__data__ = new Yn; ++t < n;) this.add(e[t])
- }
+ function D(e, t) {
+ var n, a;
+ e === t ? M(e, new TypeError("You cannot resolve a promise with itself")) : (a = typeof(n = t), null === n || "object" !== a && "function" !== a ? j(e, t) : T(e, t, A(t)))
+ }
- function Kn(e) {
- var t = this.__data__ = new Wn(e);
- this.size = t.size
- }
+ function P(e) {
+ e._onerror && e._onerror(e._result), O(e)
+ }
- function $n(e, t) {
- var n = Wo(e),
- a = !n && Vo(e),
- r = !n && !a && $o(e),
- i = !n && !a && !r && us(e),
- o = n || a || r || i,
- s = o ? Bt(e.length, Ce) : [],
- l = s.length;
- for (var c in e) !t && !Me.call(e, c) || o && ("length" == c || r && ("offset" == c || "parent" == c) || i && ("buffer" == c || "byteLength" == c || "byteOffset" == c) || gi(c, l)) || s.push(c);
- return s
- }
+ function j(e, t) {
+ e._state === x && (e._result = t, e._state = 1, 0 !== e._subscribers.length && s(O, e))
+ }
- function Jn(e) {
- var t = e.length;
- return t ? e[Ya(0, t - 1)] : r
- }
+ function M(e, t) {
+ e._state === x && (e._state = 2, e._result = t, s(P, e))
+ }
- function Zn(e, t) {
- return Mi(Ar(e), oa(t, 0, e.length))
- }
+ function I(e, t, n, a) {
+ var r = e._subscribers,
+ i = r.length;
+ e._onerror = null, r[i] = t, r[i + 1] = n, r[i + 2] = a, 0 === i && e._state && s(O, e)
+ }
- function Qn(e) {
- return Mi(Ar(e))
- }
+ function O(e) {
+ var t = e._subscribers,
+ n = e._state;
+ if (0 !== t.length) {
+ for (var a = void 0, r = void 0, i = e._result, o = 0; o < t.length; o += 3) a = t[o], r = t[o + n], a ? N(n, a, r, i) : r(i);
+ e._subscribers.length = 0
+ }
+ }
- function Xn(e, t, n) {
- (n !== r && !Bo(e[t], n) || n === r && !(t in e)) && ra(e, t, n)
+ function N(t, n, a, r) {
+ var i = e(a),
+ o = void 0,
+ s = void 0,
+ l = void 0,
+ c = void 0;
+ if (i) {
+ if ((o = function(e, t) {
+ try {
+ return e(t)
+ } catch (e) {
+ return C.error = e, C
}
+ }(a, r)) === C ? (c = !0, s = o.error, o.error = null) : l = !0, n === o) return void M(n, new TypeError("A promises callback cannot return that same promise."))
+ } else o = r, l = !0;
+ n._state !== x || (i && l ? D(n, o) : c ? M(n, s) : 1 === t ? j(n, o) : 2 === t && M(n, o))
+ }
+ var R = 0;
- function ea(e, t, n) {
- var a = e[t];
- Me.call(e, t) && Bo(a, n) && (n !== r || t in e) || ra(e, t, n)
- }
+ function z(e) {
+ e[S] = R++, e._state = void 0, e._result = void 0, e._subscribers = []
+ }
+ var L = function() {
+ function e(e, n) {
+ this._instanceConstructor = e, this.promise = new e(E), this.promise[S] || z(this.promise), t(n) ? (this.length = n.length, this._remaining = n.length, this._result = new Array(this.length), 0 === this.length ? j(this.promise, this._result) : (this.length = this.length || 0, this._enumerate(n), 0 === this._remaining && j(this.promise, this._result))) : M(this.promise, new Error("Array Methods must be provided an Array"))
+ }
+ return e.prototype._enumerate = function(e) {
+ for (var t = 0; this._state === x && t < e.length; t++) this._eachEntry(e[t], t)
+ }, e.prototype._eachEntry = function(e, t) {
+ var n = this._instanceConstructor,
+ a = n.resolve;
+ if (a === w) {
+ var r = A(e);
+ if (r === _ && e._state !== x) this._settledAt(e._state, t, e._result);
+ else if ("function" != typeof r) this._remaining--, this._result[t] = e;
+ else if (n === F) {
+ var i = new n(E);
+ T(i, e, r), this._willSettleAt(i, t)
+ } else this._willSettleAt(new n((function(t) {
+ return t(e)
+ })), t)
+ } else this._willSettleAt(a(e), t)
+ }, e.prototype._settledAt = function(e, t, n) {
+ var a = this.promise;
+ a._state === x && (this._remaining--, 2 === e ? M(a, n) : this._result[t] = n), 0 === this._remaining && j(a, this._result)
+ }, e.prototype._willSettleAt = function(e, t) {
+ var n = this;
+ I(e, void 0, (function(e) {
+ return n._settledAt(1, t, e)
+ }), (function(e) {
+ return n._settledAt(2, t, e)
+ }))
+ }, e
+ }();
+ var F = function() {
+ function e(t) {
+ this[S] = R++, this._result = this._state = void 0, this._subscribers = [], E !== t && ("function" != typeof t && function() {
+ throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")
+ }(), this instanceof e ? function(e, t) {
+ try {
+ t((function(t) {
+ D(e, t)
+ }), (function(t) {
+ M(e, t)
+ }))
+ } catch (t) {
+ M(e, t)
+ }
+ }(this, t) : function() {
+ throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")
+ }())
+ }
+ return e.prototype.catch = function(e) {
+ return this.then(null, e)
+ }, e.prototype.finally = function(e) {
+ var t = this.constructor;
+ return this.then((function(n) {
+ return t.resolve(e()).then((function() {
+ return n
+ }))
+ }), (function(n) {
+ return t.resolve(e()).then((function() {
+ throw n
+ }))
+ }))
+ }, e
+ }();
+ return F.prototype.then = _, F.all = function(e) {
+ return new L(this, e).promise
+ }, F.race = function(e) {
+ var n = this;
+ return t(e) ? new n((function(t, a) {
+ for (var r = e.length, i = 0; i < r; i++) n.resolve(e[i]).then(t, a)
+ })) : new n((function(e, t) {
+ return t(new TypeError("You must pass an array to race."))
+ }))
+ }, F.resolve = w, F.reject = function(e) {
+ var t = new this(E);
+ return M(t, e), t
+ }, F._setScheduler = function(e) {
+ o = e
+ }, F._setAsap = function(e) {
+ s = e
+ }, F._asap = s, F.polyfill = function() {
+ var e = void 0;
+ if (void 0 !== n.g) e = n.g;
+ else if ("undefined" != typeof self) e = self;
+ else try {
+ e = Function("return this")()
+ } catch (e) {
+ throw new Error("polyfill failed because global object is unavailable in this environment")
+ }
+ var t = e.Promise;
+ if (t) {
+ var a = null;
+ try {
+ a = Object.prototype.toString.call(t.resolve())
+ } catch (e) {}
+ if ("[object Promise]" === a && !t.cast) return
+ }
+ e.Promise = F
+ }, F.Promise = F, F
+ }()
+}, 9620: e => {
+ "use strict";
+ var t, n = "object" == typeof Reflect ? Reflect : null,
+ a = n && "function" == typeof n.apply ? n.apply : function(e, t, n) {
+ return Function.prototype.apply.call(e, t, n)
+ };
+ t = n && "function" == typeof n.ownKeys ? n.ownKeys : Object.getOwnPropertySymbols ? function(e) {
+ return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))
+ } : function(e) {
+ return Object.getOwnPropertyNames(e)
+ };
+ var r = Number.isNaN || function(e) {
+ return e != e
+ };
- function ta(e, t) {
- for (var n = e.length; n--;)
- if (Bo(e[n][0], t)) return n;
- return -1
- }
+ function i() {
+ i.init.call(this)
+ }
+ e.exports = i, e.exports.once = function(e, t) {
+ return new Promise((function(n, a) {
+ function r(n) {
+ e.removeListener(t, i), a(n)
+ }
- function na(e, t, n, a) {
- return da(e, (function(e, r, i) {
- t(a, e, n(e), i)
- })), a
- }
+ function i() {
+ "function" == typeof e.removeListener && e.removeListener("error", r), n([].slice.call(arguments))
+ }
+ f(e, t, i, {
+ once: !0
+ }), "error" !== t && function(e, t, n) {
+ "function" == typeof e.on && f(e, "error", t, {
+ once: !0
+ })
+ }(e, r)
+ }))
+ }, i.EventEmitter = i, i.prototype._events = void 0, i.prototype._eventsCount = 0, i.prototype._maxListeners = void 0;
+ var o = 10;
- function aa(e, t) {
- return e && jr(t, Os(t), e)
- }
+ function s(e) {
+ if ("function" != typeof e) throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof e)
+ }
- function ra(e, t, n) {
- "__proto__" == t && ct ? ct(e, t, {
- configurable: !0,
- enumerable: !0,
- value: n,
- writable: !0
- }) : e[t] = n
- }
+ function l(e) {
+ return void 0 === e._maxListeners ? i.defaultMaxListeners : e._maxListeners
+ }
- function ia(e, t) {
- for (var n = -1, i = t.length, o = a(i), s = null == e; ++n < i;) o[n] = s ? r : As(e, t[n]);
- return o
- }
+ function c(e, t, n, a) {
+ var r, i, o, c;
+ if (s(n), void 0 === (i = e._events) ? (i = e._events = Object.create(null), e._eventsCount = 0) : (void 0 !== i.newListener && (e.emit("newListener", t, n.listener ? n.listener : n), i = e._events), o = i[t]), void 0 === o) o = i[t] = n, ++e._eventsCount;
+ else if ("function" == typeof o ? o = i[t] = a ? [n, o] : [o, n] : a ? o.unshift(n) : o.push(n), (r = l(e)) > 0 && o.length > r && !o.warned) {
+ o.warned = !0;
+ var u = new Error("Possible EventEmitter memory leak detected. " + o.length + " " + String(t) + " listeners added. Use emitter.setMaxListeners() to increase limit");
+ u.name = "MaxListenersExceededWarning", u.emitter = e, u.type = t, u.count = o.length, c = u, console && console.warn && console.warn(c)
+ }
+ return e
+ }
- function oa(e, t, n) {
- return e == e && (n !== r && (e = e <= n ? e : n), t !== r && (e = e >= t ? e : t)), e
- }
+ function u() {
+ if (!this.fired) return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, 0 === arguments.length ? this.listener.call(this.target) : this.listener.apply(this.target, arguments)
+ }
- function sa(e, t, n, a, i, o) {
- var s, l = 1 & t,
- c = 2 & t,
- u = 4 & t;
- if (n && (s = i ? n(e, a, i, o) : n(e)), s !== r) return s;
- if (!ts(e)) return e;
- var d = Wo(e);
- if (d) {
- if (s = function(e) {
- var t = e.length,
- n = new e.constructor(t);
- return t && "string" == typeof e[0] && Me.call(e, "index") && (n.index = e.index, n.input = e.input), n
- }(e), !l) return Ar(e, s)
- } else {
- var p = pi(e),
- h = p == k || p == _;
- if ($o(e)) return _r(e, l);
- if (p == E || p == f || h && !i) {
- if (s = c || h ? {} : mi(e), !l) return c ? function(e, t) {
- return jr(e, di(e), t)
- }(e, function(e, t) {
- return e && jr(t, Ms(t), e)
- }(s, e)) : function(e, t) {
- return jr(e, ui(e), t)
- }(e, aa(s, e))
- } else {
- if (!Xe[p]) return i ? e : {};
- s = function(e, t, n) {
- var a, r = e.constructor;
- switch (t) {
- case T:
- return wr(e);
- case b:
- case y:
- return new r(+e);
- case O:
- return function(e, t) {
- var n = t ? wr(e.buffer) : e.buffer;
- return new e.constructor(n, e.byteOffset, e.byteLength)
- }(e, n);
- case M:
- case I:
- case N:
- case z:
- case R:
- case L:
- case F:
- case q:
- case B:
- return Sr(e, n);
- case w:
- case A:
- return new r;
- case S:
- case j:
- return new r(e);
- case C:
- return function(e) {
- var t = new e.constructor(e.source, pe.exec(e));
- return t.lastIndex = e.lastIndex, t
- }(e);
- case P:
- return a = e, Rn ? Ee(Rn.call(a)) : {}
- }
- }(e, p, l)
- }
- }
- o || (o = new Kn);
- var m = o.get(e);
- if (m) return m;
- o.set(e, s), ss(e) ? e.forEach((function(a) {
- s.add(sa(a, t, n, a, e, o))
- })) : as(e) && e.forEach((function(a, r) {
- s.set(r, sa(a, t, n, r, e, o))
- }));
- var g = d ? r : (u ? c ? ni : ti : c ? Ms : Os)(e);
- return vt(g || e, (function(a, r) {
- g && (a = e[r = a]), ea(s, r, sa(a, t, n, r, e, o))
- })), s
- }
-
- function la(e, t, n) {
- var a = n.length;
- if (null == e) return !a;
- for (e = Ee(e); a--;) {
- var i = n[a],
- o = t[i],
- s = e[i];
- if (s === r && !(i in e) || !o(s)) return !1
- }
- return !0
- }
+ function d(e, t, n) {
+ var a = {
+ fired: !1,
+ wrapFn: void 0,
+ target: e,
+ type: t,
+ listener: n
+ },
+ r = u.bind(a);
+ return r.listener = n, a.wrapFn = r, r
+ }
- function ca(e, t, n) {
- if ("function" != typeof e) throw new Ae(i);
- return Pi((function() {
- e.apply(r, n)
- }), t)
- }
+ function p(e, t, n) {
+ var a = e._events;
+ if (void 0 === a) return [];
+ var r = a[t];
+ return void 0 === r ? [] : "function" == typeof r ? n ? [r.listener || r] : [r] : n ? function(e) {
+ for (var t = new Array(e.length), n = 0; n < t.length; ++n) t[n] = e[n].listener || e[n];
+ return t
+ }(r) : m(r, r.length)
+ }
- function ua(e, t, n, a) {
- var r = -1,
- i = St,
- o = !0,
- s = e.length,
- l = [],
- c = t.length;
- if (!s) return l;
- n && (t = xt(t, Ht(n))), a ? (i = Et, o = !1) : t.length >= 200 && (i = Wt, o = !1, t = new Gn(t));
- e: for (; ++r < s;) {
- var u = e[r],
- d = null == n ? u : n(u);
- if (u = a || 0 !== u ? u : 0, o && d == d) {
- for (var p = c; p--;)
- if (t[p] === d) continue e;
- l.push(u)
- } else i(t, d, a) || l.push(u)
- }
- return l
- }
- Fn.templateSettings = {
- escape: $,
- evaluate: J,
- interpolate: Z,
- variable: "",
- imports: {
- _: Fn
- }
- }, Fn.prototype = Bn.prototype, Fn.prototype.constructor = Fn, Un.prototype = qn(Bn.prototype), Un.prototype.constructor = Un, Hn.prototype = qn(Bn.prototype), Hn.prototype.constructor = Hn, Vn.prototype.clear = function() {
- this.__data__ = jn ? jn(null) : {}, this.size = 0
- }, Vn.prototype.delete = function(e) {
- var t = this.has(e) && delete this.__data__[e];
- return this.size -= t ? 1 : 0, t
- }, Vn.prototype.get = function(e) {
- var t = this.__data__;
- if (jn) {
- var n = t[e];
- return n === o ? r : n
- }
- return Me.call(t, e) ? t[e] : r
- }, Vn.prototype.has = function(e) {
- var t = this.__data__;
- return jn ? t[e] !== r : Me.call(t, e)
- }, Vn.prototype.set = function(e, t) {
- var n = this.__data__;
- return this.size += this.has(e) ? 0 : 1, n[e] = jn && t === r ? o : t, this
- }, Wn.prototype.clear = function() {
- this.__data__ = [], this.size = 0
- }, Wn.prototype.delete = function(e) {
- var t = this.__data__,
- n = ta(t, e);
- return !(n < 0 || (n == t.length - 1 ? t.pop() : at.call(t, n, 1), --this.size, 0))
- }, Wn.prototype.get = function(e) {
- var t = this.__data__,
- n = ta(t, e);
- return n < 0 ? r : t[n][1]
- }, Wn.prototype.has = function(e) {
- return ta(this.__data__, e) > -1
- }, Wn.prototype.set = function(e, t) {
- var n = this.__data__,
- a = ta(n, e);
- return a < 0 ? (++this.size, n.push([e, t])) : n[a][1] = t, this
- }, Yn.prototype.clear = function() {
- this.size = 0, this.__data__ = {
- hash: new Vn,
- map: new(En || Wn),
- string: new Vn
- }
- }, Yn.prototype.delete = function(e) {
- var t = si(this, e).delete(e);
- return this.size -= t ? 1 : 0, t
- }, Yn.prototype.get = function(e) {
- return si(this, e).get(e)
- }, Yn.prototype.has = function(e) {
- return si(this, e).has(e)
- }, Yn.prototype.set = function(e, t) {
- var n = si(this, e),
- a = n.size;
- return n.set(e, t), this.size += n.size == a ? 0 : 1, this
- }, Gn.prototype.add = Gn.prototype.push = function(e) {
- return this.__data__.set(e, o), this
- }, Gn.prototype.has = function(e) {
- return this.__data__.has(e)
- }, Kn.prototype.clear = function() {
- this.__data__ = new Wn, this.size = 0
- }, Kn.prototype.delete = function(e) {
- var t = this.__data__,
- n = t.delete(e);
- return this.size = t.size, n
- }, Kn.prototype.get = function(e) {
- return this.__data__.get(e)
- }, Kn.prototype.has = function(e) {
- return this.__data__.has(e)
- }, Kn.prototype.set = function(e, t) {
- var n = this.__data__;
- if (n instanceof Wn) {
- var a = n.__data__;
- if (!En || a.length < 199) return a.push([e, t]), this.size = ++n.size, this;
- n = this.__data__ = new Yn(a)
- }
- return n.set(e, t), this.size = n.size, this
- };
- var da = Tr(va),
- pa = Tr(ka, !0);
-
- function ha(e, t) {
- var n = !0;
- return da(e, (function(e, a, r) {
- return n = !!t(e, a, r)
- })), n
- }
-
- function ma(e, t, n) {
- for (var a = -1, i = e.length; ++a < i;) {
- var o = e[a],
- s = t(o);
- if (null != s && (l === r ? s == s && !cs(s) : n(s, l))) var l = s,
- c = o
- }
- return c
- }
+ function h(e) {
+ var t = this._events;
+ if (void 0 !== t) {
+ var n = t[e];
+ if ("function" == typeof n) return 1;
+ if (void 0 !== n) return n.length
+ }
+ return 0
+ }
- function fa(e, t) {
- var n = [];
- return da(e, (function(e, a, r) {
- t(e, a, r) && n.push(e)
- })), n
- }
+ function m(e, t) {
+ for (var n = new Array(t), a = 0; a < t; ++a) n[a] = e[a];
+ return n
+ }
- function ga(e, t, n, a, r) {
- var i = -1,
- o = e.length;
- for (n || (n = fi), r || (r = []); ++i < o;) {
- var s = e[i];
- t > 0 && n(s) ? t > 1 ? ga(s, t - 1, n, a, r) : Ct(r, s) : a || (r[r.length] = s)
- }
- return r
- }
- var ba = Or(),
- ya = Or(!0);
+ function f(e, t, n, a) {
+ if ("function" == typeof e.on) a.once ? e.once(t, n) : e.on(t, n);
+ else {
+ if ("function" != typeof e.addEventListener) throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof e);
+ e.addEventListener(t, (function r(i) {
+ a.once && e.removeEventListener(t, r), n(i)
+ }))
+ }
+ }
+ Object.defineProperty(i, "defaultMaxListeners", {
+ enumerable: !0,
+ get: function() {
+ return o
+ },
+ set: function(e) {
+ if ("number" != typeof e || e < 0 || r(e)) throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + e + ".");
+ o = e
+ }
+ }), i.init = function() {
+ void 0 !== this._events && this._events !== Object.getPrototypeOf(this)._events || (this._events = Object.create(null), this._eventsCount = 0), this._maxListeners = this._maxListeners || void 0
+ }, i.prototype.setMaxListeners = function(e) {
+ if ("number" != typeof e || e < 0 || r(e)) throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + e + ".");
+ return this._maxListeners = e, this
+ }, i.prototype.getMaxListeners = function() {
+ return l(this)
+ }, i.prototype.emit = function(e) {
+ for (var t = [], n = 1; n < arguments.length; n++) t.push(arguments[n]);
+ var r = "error" === e,
+ i = this._events;
+ if (void 0 !== i) r = r && void 0 === i.error;
+ else if (!r) return !1;
+ if (r) {
+ var o;
+ if (t.length > 0 && (o = t[0]), o instanceof Error) throw o;
+ var s = new Error("Unhandled error." + (o ? " (" + o.message + ")" : ""));
+ throw s.context = o, s
+ }
+ var l = i[e];
+ if (void 0 === l) return !1;
+ if ("function" == typeof l) a(l, this, t);
+ else {
+ var c = l.length,
+ u = m(l, c);
+ for (n = 0; n < c; ++n) a(u[n], this, t)
+ }
+ return !0
+ }, i.prototype.addListener = function(e, t) {
+ return c(this, e, t, !1)
+ }, i.prototype.on = i.prototype.addListener, i.prototype.prependListener = function(e, t) {
+ return c(this, e, t, !0)
+ }, i.prototype.once = function(e, t) {
+ return s(t), this.on(e, d(this, e, t)), this
+ }, i.prototype.prependOnceListener = function(e, t) {
+ return s(t), this.prependListener(e, d(this, e, t)), this
+ }, i.prototype.removeListener = function(e, t) {
+ var n, a, r, i, o;
+ if (s(t), void 0 === (a = this._events)) return this;
+ if (void 0 === (n = a[e])) return this;
+ if (n === t || n.listener === t) 0 == --this._eventsCount ? this._events = Object.create(null) : (delete a[e], a.removeListener && this.emit("removeListener", e, n.listener || t));
+ else if ("function" != typeof n) {
+ for (r = -1, i = n.length - 1; i >= 0; i--)
+ if (n[i] === t || n[i].listener === t) {
+ o = n[i].listener, r = i;
+ break
+ } if (r < 0) return this;
+ 0 === r ? n.shift() : function(e, t) {
+ for (; t + 1 < e.length; t++) e[t] = e[t + 1];
+ e.pop()
+ }(n, r), 1 === n.length && (a[e] = n[0]), void 0 !== a.removeListener && this.emit("removeListener", e, o || t)
+ }
+ return this
+ }, i.prototype.off = i.prototype.removeListener, i.prototype.removeAllListeners = function(e) {
+ var t, n, a;
+ if (void 0 === (n = this._events)) return this;
+ if (void 0 === n.removeListener) return 0 === arguments.length ? (this._events = Object.create(null), this._eventsCount = 0) : void 0 !== n[e] && (0 == --this._eventsCount ? this._events = Object.create(null) : delete n[e]), this;
+ if (0 === arguments.length) {
+ var r, i = Object.keys(n);
+ for (a = 0; a < i.length; ++a) "removeListener" !== (r = i[a]) && this.removeAllListeners(r);
+ return this.removeAllListeners("removeListener"), this._events = Object.create(null), this._eventsCount = 0, this
+ }
+ if ("function" == typeof(t = n[e])) this.removeListener(e, t);
+ else if (void 0 !== t)
+ for (a = t.length - 1; a >= 0; a--) this.removeListener(e, t[a]);
+ return this
+ }, i.prototype.listeners = function(e) {
+ return p(this, e, !0)
+ }, i.prototype.rawListeners = function(e) {
+ return p(this, e, !1)
+ }, i.listenerCount = function(e, t) {
+ return "function" == typeof e.listenerCount ? e.listenerCount(t) : h.call(e, t)
+ }, i.prototype.listenerCount = h, i.prototype.eventNames = function() {
+ return this._eventsCount > 0 ? t(this._events) : []
+ }
+}, 8474: (e, t, n) => {
+ var a;
+ ! function() {
+ "use strict";
+ var r = !("undefined" == typeof window || !window.document || !window.document.createElement),
+ i = {
+ canUseDOM: r,
+ canUseWorkers: "undefined" != typeof Worker,
+ canUseEventListeners: r && !(!window.addEventListener && !window.attachEvent),
+ canUseViewport: r && !!window.screen
+ };
+ void 0 === (a = function() {
+ return i
+ }.call(t, n, t, e)) || (e.exports = a)
+ }()
+}, 9157: (e, t, n) => {
+ var a = n(9755),
+ r = n(6648);
+ void 0 === r.$ && (r.$ = a), void 0 === r.jQuery && (r.jQuery = a), e.exports = a
+}, 6648: (e, t, n) => {
+ "use strict";
+ e.exports = function() {
+ if ("object" == typeof globalThis) return globalThis;
+ var e;
+ try {
+ e = this || new Function("return this")()
+ } catch (e) {
+ if ("object" == typeof window) return window;
+ if ("object" == typeof self) return self;
+ if (void 0 !== n.g) return n.g
+ }
+ return e
+ }()
+}, 3763: e => {
+ "use strict";
+ var t = /([A-Z])/g;
+ e.exports = function(e) {
+ return e.replace(t, "-$1").toLowerCase()
+ }
+}, 8154: (e, t, n) => {
+ "use strict";
+ var a = n(3763),
+ r = /^ms-/;
+ e.exports = function(e) {
+ return a(e).replace(r, "-ms-")
+ }
+}, 8830: () => {
+ ! function() {
+ "use strict";
- function va(e, t) {
- return e && ba(e, t, Os)
- }
+ function e(e) {
+ var t = !0,
+ n = !1,
+ a = null,
+ r = {
+ text: !0,
+ search: !0,
+ url: !0,
+ tel: !0,
+ email: !0,
+ password: !0,
+ number: !0,
+ date: !0,
+ month: !0,
+ week: !0,
+ time: !0,
+ datetime: !0,
+ "datetime-local": !0
+ };
- function ka(e, t) {
- return e && ya(e, t, Os)
- }
+ function i(e) {
+ return !!(e && e !== document && "HTML" !== e.nodeName && "BODY" !== e.nodeName && "classList" in e && "contains" in e.classList)
+ }
- function _a(e, t) {
- return wt(t, (function(t) {
- return Qo(e[t])
- }))
- }
+ function o(e) {
+ e.classList.contains("focus-visible") || (e.classList.add("focus-visible"), e.setAttribute("data-focus-visible-added", ""))
+ }
- function wa(e, t) {
- for (var n = 0, a = (t = br(t, e)).length; null != e && n < a;) e = e[Ri(t[n++])];
- return n && n == a ? e : r
- }
+ function s(e) {
+ t = !1
+ }
- function Sa(e, t, n) {
- var a = t(e);
- return Wo(e) ? a : Ct(a, n(e))
- }
+ function l() {
+ document.addEventListener("mousemove", c), document.addEventListener("mousedown", c), document.addEventListener("mouseup", c), document.addEventListener("pointermove", c), document.addEventListener("pointerdown", c), document.addEventListener("pointerup", c), document.addEventListener("touchmove", c), document.addEventListener("touchstart", c), document.addEventListener("touchend", c)
+ }
- function Ea(e) {
- return null == e ? e === r ? "[object Undefined]" : "[object Null]" : st && st in Ee(e) ? function(e) {
- var t = Me.call(e, st),
- n = e[st];
- try {
- e[st] = r;
- var a = !0
- } catch (e) {}
- var i = ze.call(e);
- return a && (t ? e[st] = n : delete e[st]), i
- }(e) : function(e) {
- return ze.call(e)
- }(e)
+ function c(e) {
+ e.target.nodeName && "html" === e.target.nodeName.toLowerCase() || (t = !1, document.removeEventListener("mousemove", c), document.removeEventListener("mousedown", c), document.removeEventListener("mouseup", c), document.removeEventListener("pointermove", c), document.removeEventListener("pointerdown", c), document.removeEventListener("pointerup", c), document.removeEventListener("touchmove", c), document.removeEventListener("touchstart", c), document.removeEventListener("touchend", c))
+ }
+ document.addEventListener("keydown", (function(n) {
+ n.metaKey || n.altKey || n.ctrlKey || (i(e.activeElement) && o(e.activeElement), t = !0)
+ }), !0), document.addEventListener("mousedown", s, !0), document.addEventListener("pointerdown", s, !0), document.addEventListener("touchstart", s, !0), document.addEventListener("visibilitychange", (function(e) {
+ "hidden" === document.visibilityState && (n && (t = !0), l())
+ }), !0), l(), e.addEventListener("focus", (function(e) {
+ var n, a, s;
+ i(e.target) && (t || (a = (n = e.target).type, "INPUT" === (s = n.tagName) && r[a] && !n.readOnly || "TEXTAREA" === s && !n.readOnly || n.isContentEditable)) && o(e.target)
+ }), !0), e.addEventListener("blur", (function(e) {
+ var t;
+ i(e.target) && (e.target.classList.contains("focus-visible") || e.target.hasAttribute("data-focus-visible-added")) && (n = !0, window.clearTimeout(a), a = window.setTimeout((function() {
+ n = !1
+ }), 100), (t = e.target).hasAttribute("data-focus-visible-added") && (t.classList.remove("focus-visible"), t.removeAttribute("data-focus-visible-added")))
+ }), !0), e.nodeType === Node.DOCUMENT_FRAGMENT_NODE && e.host ? e.host.setAttribute("data-js-focus-visible", "") : e.nodeType === Node.DOCUMENT_NODE && (document.documentElement.classList.add("js-focus-visible"), document.documentElement.setAttribute("data-js-focus-visible", ""))
+ }
+ if ("undefined" != typeof window && "undefined" != typeof document) {
+ var t;
+ window.applyFocusVisiblePolyfill = e;
+ try {
+ t = new CustomEvent("focus-visible-polyfill-ready")
+ } catch (e) {
+ (t = document.createEvent("CustomEvent")).initCustomEvent("focus-visible-polyfill-ready", !1, !1, {})
+ }
+ window.dispatchEvent(t)
+ }
+ "undefined" != typeof document && e(document)
+ }()
+}, 1153: e => {
+ e.exports && (e.exports = function() {
+ var e = 3,
+ t = 4,
+ n = 12,
+ a = 13,
+ r = 16,
+ i = 17;
+
+ function o(e, t) {
+ void 0 === t && (t = 0);
+ var n = e.charCodeAt(t);
+ if (55296 <= n && n <= 56319 && t < e.length - 1) {
+ var a = n;
+ return 56320 <= (r = e.charCodeAt(t + 1)) && r <= 57343 ? 1024 * (a - 55296) + (r - 56320) + 65536 : a
+ }
+ if (56320 <= n && n <= 57343 && t >= 1) {
+ var r = n;
+ return 55296 <= (a = e.charCodeAt(t - 1)) && a <= 56319 ? 1024 * (a - 55296) + (r - 56320) + 65536 : r
+ }
+ return n
+ }
+
+ function s(o, s, l) {
+ var c = [o].concat(s).concat([l]),
+ u = c[c.length - 2],
+ d = l,
+ p = c.lastIndexOf(14);
+ if (p > 1 && c.slice(1, p).every((function(t) {
+ return t == e
+ })) && -1 == [e, a, i].indexOf(o)) return 2;
+ var h = c.lastIndexOf(t);
+ if (h > 0 && c.slice(1, h).every((function(e) {
+ return e == t
+ })) && -1 == [n, t].indexOf(u)) return c.filter((function(e) {
+ return e == t
+ })).length % 2 == 1 ? 3 : 4;
+ if (0 == u && 1 == d) return 0;
+ if (2 == u || 0 == u || 1 == u) return 14 == d && s.every((function(t) {
+ return t == e
+ })) ? 2 : 1;
+ if (2 == d || 0 == d || 1 == d) return 1;
+ if (6 == u && (6 == d || 7 == d || 9 == d || 10 == d)) return 0;
+ if (!(9 != u && 7 != u || 7 != d && 8 != d)) return 0;
+ if ((10 == u || 8 == u) && 8 == d) return 0;
+ if (d == e || 15 == d) return 0;
+ if (5 == d) return 0;
+ if (u == n) return 0;
+ var m = -1 != c.indexOf(e) ? c.lastIndexOf(e) - 1 : c.length - 2;
+ return -1 != [a, i].indexOf(c[m]) && c.slice(m + 1, -1).every((function(t) {
+ return t == e
+ })) && 14 == d || 15 == u && -1 != [r, i].indexOf(d) ? 0 : -1 != s.indexOf(t) ? 2 : u == t && d == t ? 0 : 1
+ }
+
+ function l(o) {
+ return 1536 <= o && o <= 1541 || 1757 == o || 1807 == o || 2274 == o || 3406 == o || 69821 == o || 70082 <= o && o <= 70083 || 72250 == o || 72326 <= o && o <= 72329 || 73030 == o ? n : 13 == o ? 0 : 10 == o ? 1 : 0 <= o && o <= 9 || 11 <= o && o <= 12 || 14 <= o && o <= 31 || 127 <= o && o <= 159 || 173 == o || 1564 == o || 6158 == o || 8203 == o || 8206 <= o && o <= 8207 || 8232 == o || 8233 == o || 8234 <= o && o <= 8238 || 8288 <= o && o <= 8292 || 8293 == o || 8294 <= o && o <= 8303 || 55296 <= o && o <= 57343 || 65279 == o || 65520 <= o && o <= 65528 || 65529 <= o && o <= 65531 || 113824 <= o && o <= 113827 || 119155 <= o && o <= 119162 || 917504 == o || 917505 == o || 917506 <= o && o <= 917535 || 917632 <= o && o <= 917759 || 918e3 <= o && o <= 921599 ? 2 : 768 <= o && o <= 879 || 1155 <= o && o <= 1159 || 1160 <= o && o <= 1161 || 1425 <= o && o <= 1469 || 1471 == o || 1473 <= o && o <= 1474 || 1476 <= o && o <= 1477 || 1479 == o || 1552 <= o && o <= 1562 || 1611 <= o && o <= 1631 || 1648 == o || 1750 <= o && o <= 1756 || 1759 <= o && o <= 1764 || 1767 <= o && o <= 1768 || 1770 <= o && o <= 1773 || 1809 == o || 1840 <= o && o <= 1866 || 1958 <= o && o <= 1968 || 2027 <= o && o <= 2035 || 2070 <= o && o <= 2073 || 2075 <= o && o <= 2083 || 2085 <= o && o <= 2087 || 2089 <= o && o <= 2093 || 2137 <= o && o <= 2139 || 2260 <= o && o <= 2273 || 2275 <= o && o <= 2306 || 2362 == o || 2364 == o || 2369 <= o && o <= 2376 || 2381 == o || 2385 <= o && o <= 2391 || 2402 <= o && o <= 2403 || 2433 == o || 2492 == o || 2494 == o || 2497 <= o && o <= 2500 || 2509 == o || 2519 == o || 2530 <= o && o <= 2531 || 2561 <= o && o <= 2562 || 2620 == o || 2625 <= o && o <= 2626 || 2631 <= o && o <= 2632 || 2635 <= o && o <= 2637 || 2641 == o || 2672 <= o && o <= 2673 || 2677 == o || 2689 <= o && o <= 2690 || 2748 == o || 2753 <= o && o <= 2757 || 2759 <= o && o <= 2760 || 2765 == o || 2786 <= o && o <= 2787 || 2810 <= o && o <= 2815 || 2817 == o || 2876 == o || 2878 == o || 2879 == o || 2881 <= o && o <= 2884 || 2893 == o || 2902 == o || 2903 == o || 2914 <= o && o <= 2915 || 2946 == o || 3006 == o || 3008 == o || 3021 == o || 3031 == o || 3072 == o || 3134 <= o && o <= 3136 || 3142 <= o && o <= 3144 || 3146 <= o && o <= 3149 || 3157 <= o && o <= 3158 || 3170 <= o && o <= 3171 || 3201 == o || 3260 == o || 3263 == o || 3266 == o || 3270 == o || 3276 <= o && o <= 3277 || 3285 <= o && o <= 3286 || 3298 <= o && o <= 3299 || 3328 <= o && o <= 3329 || 3387 <= o && o <= 3388 || 3390 == o || 3393 <= o && o <= 3396 || 3405 == o || 3415 == o || 3426 <= o && o <= 3427 || 3530 == o || 3535 == o || 3538 <= o && o <= 3540 || 3542 == o || 3551 == o || 3633 == o || 3636 <= o && o <= 3642 || 3655 <= o && o <= 3662 || 3761 == o || 3764 <= o && o <= 3769 || 3771 <= o && o <= 3772 || 3784 <= o && o <= 3789 || 3864 <= o && o <= 3865 || 3893 == o || 3895 == o || 3897 == o || 3953 <= o && o <= 3966 || 3968 <= o && o <= 3972 || 3974 <= o && o <= 3975 || 3981 <= o && o <= 3991 || 3993 <= o && o <= 4028 || 4038 == o || 4141 <= o && o <= 4144 || 4146 <= o && o <= 4151 || 4153 <= o && o <= 4154 || 4157 <= o && o <= 4158 || 4184 <= o && o <= 4185 || 4190 <= o && o <= 4192 || 4209 <= o && o <= 4212 || 4226 == o || 4229 <= o && o <= 4230 || 4237 == o || 4253 == o || 4957 <= o && o <= 4959 || 5906 <= o && o <= 5908 || 5938 <= o && o <= 5940 || 5970 <= o && o <= 5971 || 6002 <= o && o <= 6003 || 6068 <= o && o <= 6069 || 6071 <= o && o <= 6077 || 6086 == o || 6089 <= o && o <= 6099 || 6109 == o || 6155 <= o && o <= 6157 || 6277 <= o && o <= 6278 || 6313 == o || 6432 <= o && o <= 6434 || 6439 <= o && o <= 6440 || 6450 == o || 6457 <= o && o <= 6459 || 6679 <= o && o <= 6680 || 6683 == o || 6742 == o || 6744 <= o && o <= 6750 || 6752 == o || 6754 == o || 6757 <= o && o <= 6764 || 6771 <= o && o <= 6780 || 6783 == o || 6832 <= o && o <= 6845 || 6846 == o || 6912 <= o && o <= 6915 || 6964 == o || 6966 <= o && o <= 6970 || 6972 == o || 6978 == o || 7019 <= o && o <= 7027 || 7040 <= o && o <= 7041 || 7074 <= o && o <= 7077 || 7080 <= o && o <= 7081 || 7083 <= o && o <= 7085 || 7142 == o || 7144 <= o && o <= 7145 || 7149 == o || 7151 <= o && o <= 7153 || 7212 <= o && o <= 7219 || 7222 <= o && o <= 7223 || 7376 <= o && o <= 7378 || 7380 <= o && o <= 7392 || 7394 <= o && o <= 7400 || 7405 == o || 7412 == o || 7416 <= o && o <= 7417 || 7616 <= o && o <= 7673 || 7675 <= o && o <= 7679 || 8204 == o || 8400 <= o && o <= 8412 || 8413 <= o && o <= 8416 || 8417 == o || 8418 <= o && o <= 8420 || 8421 <= o && o <= 8432 || 11503 <= o && o <= 11505 || 11647 == o || 11744 <= o && o <= 11775 || 12330 <= o && o <= 12333 || 12334 <= o && o <= 12335 || 12441 <= o && o <= 12442 || 42607 == o || 42608 <= o && o <= 42610 || 42612 <= o && o <= 42621 || 42654 <= o && o <= 42655 || 42736 <= o && o <= 42737 || 43010 == o || 43014 == o || 43019 == o || 43045 <= o && o <= 43046 || 43204 <= o && o <= 43205 || 43232 <= o && o <= 43249 || 43302 <= o && o <= 43309 || 43335 <= o && o <= 43345 || 43392 <= o && o <= 43394 || 43443 == o || 43446 <= o && o <= 43449 || 43452 == o || 43493 == o || 43561 <= o && o <= 43566 || 43569 <= o && o <= 43570 || 43573 <= o && o <= 43574 || 43587 == o || 43596 == o || 43644 == o || 43696 == o || 43698 <= o && o <= 43700 || 43703 <= o && o <= 43704 || 43710 <= o && o <= 43711 || 43713 == o || 43756 <= o && o <= 43757 || 43766 == o || 44005 == o || 44008 == o || 44013 == o || 64286 == o || 65024 <= o && o <= 65039 || 65056 <= o && o <= 65071 || 65438 <= o && o <= 65439 || 66045 == o || 66272 == o || 66422 <= o && o <= 66426 || 68097 <= o && o <= 68099 || 68101 <= o && o <= 68102 || 68108 <= o && o <= 68111 || 68152 <= o && o <= 68154 || 68159 == o || 68325 <= o && o <= 68326 || 69633 == o || 69688 <= o && o <= 69702 || 69759 <= o && o <= 69761 || 69811 <= o && o <= 69814 || 69817 <= o && o <= 69818 || 69888 <= o && o <= 69890 || 69927 <= o && o <= 69931 || 69933 <= o && o <= 69940 || 70003 == o || 70016 <= o && o <= 70017 || 70070 <= o && o <= 70078 || 70090 <= o && o <= 70092 || 70191 <= o && o <= 70193 || 70196 == o || 70198 <= o && o <= 70199 || 70206 == o || 70367 == o || 70371 <= o && o <= 70378 || 70400 <= o && o <= 70401 || 70460 == o || 70462 == o || 70464 == o || 70487 == o || 70502 <= o && o <= 70508 || 70512 <= o && o <= 70516 || 70712 <= o && o <= 70719 || 70722 <= o && o <= 70724 || 70726 == o || 70832 == o || 70835 <= o && o <= 70840 || 70842 == o || 70845 == o || 70847 <= o && o <= 70848 || 70850 <= o && o <= 70851 || 71087 == o || 71090 <= o && o <= 71093 || 71100 <= o && o <= 71101 || 71103 <= o && o <= 71104 || 71132 <= o && o <= 71133 || 71219 <= o && o <= 71226 || 71229 == o || 71231 <= o && o <= 71232 || 71339 == o || 71341 == o || 71344 <= o && o <= 71349 || 71351 == o || 71453 <= o && o <= 71455 || 71458 <= o && o <= 71461 || 71463 <= o && o <= 71467 || 72193 <= o && o <= 72198 || 72201 <= o && o <= 72202 || 72243 <= o && o <= 72248 || 72251 <= o && o <= 72254 || 72263 == o || 72273 <= o && o <= 72278 || 72281 <= o && o <= 72283 || 72330 <= o && o <= 72342 || 72344 <= o && o <= 72345 || 72752 <= o && o <= 72758 || 72760 <= o && o <= 72765 || 72767 == o || 72850 <= o && o <= 72871 || 72874 <= o && o <= 72880 || 72882 <= o && o <= 72883 || 72885 <= o && o <= 72886 || 73009 <= o && o <= 73014 || 73018 == o || 73020 <= o && o <= 73021 || 73023 <= o && o <= 73029 || 73031 == o || 92912 <= o && o <= 92916 || 92976 <= o && o <= 92982 || 94095 <= o && o <= 94098 || 113821 <= o && o <= 113822 || 119141 == o || 119143 <= o && o <= 119145 || 119150 <= o && o <= 119154 || 119163 <= o && o <= 119170 || 119173 <= o && o <= 119179 || 119210 <= o && o <= 119213 || 119362 <= o && o <= 119364 || 121344 <= o && o <= 121398 || 121403 <= o && o <= 121452 || 121461 == o || 121476 == o || 121499 <= o && o <= 121503 || 121505 <= o && o <= 121519 || 122880 <= o && o <= 122886 || 122888 <= o && o <= 122904 || 122907 <= o && o <= 122913 || 122915 <= o && o <= 122916 || 122918 <= o && o <= 122922 || 125136 <= o && o <= 125142 || 125252 <= o && o <= 125258 || 917536 <= o && o <= 917631 || 917760 <= o && o <= 917999 ? e : 127462 <= o && o <= 127487 ? t : 2307 == o || 2363 == o || 2366 <= o && o <= 2368 || 2377 <= o && o <= 2380 || 2382 <= o && o <= 2383 || 2434 <= o && o <= 2435 || 2495 <= o && o <= 2496 || 2503 <= o && o <= 2504 || 2507 <= o && o <= 2508 || 2563 == o || 2622 <= o && o <= 2624 || 2691 == o || 2750 <= o && o <= 2752 || 2761 == o || 2763 <= o && o <= 2764 || 2818 <= o && o <= 2819 || 2880 == o || 2887 <= o && o <= 2888 || 2891 <= o && o <= 2892 || 3007 == o || 3009 <= o && o <= 3010 || 3014 <= o && o <= 3016 || 3018 <= o && o <= 3020 || 3073 <= o && o <= 3075 || 3137 <= o && o <= 3140 || 3202 <= o && o <= 3203 || 3262 == o || 3264 <= o && o <= 3265 || 3267 <= o && o <= 3268 || 3271 <= o && o <= 3272 || 3274 <= o && o <= 3275 || 3330 <= o && o <= 3331 || 3391 <= o && o <= 3392 || 3398 <= o && o <= 3400 || 3402 <= o && o <= 3404 || 3458 <= o && o <= 3459 || 3536 <= o && o <= 3537 || 3544 <= o && o <= 3550 || 3570 <= o && o <= 3571 || 3635 == o || 3763 == o || 3902 <= o && o <= 3903 || 3967 == o || 4145 == o || 4155 <= o && o <= 4156 || 4182 <= o && o <= 4183 || 4228 == o || 6070 == o || 6078 <= o && o <= 6085 || 6087 <= o && o <= 6088 || 6435 <= o && o <= 6438 || 6441 <= o && o <= 6443 || 6448 <= o && o <= 6449 || 6451 <= o && o <= 6456 || 6681 <= o && o <= 6682 || 6741 == o || 6743 == o || 6765 <= o && o <= 6770 || 6916 == o || 6965 == o || 6971 == o || 6973 <= o && o <= 6977 || 6979 <= o && o <= 6980 || 7042 == o || 7073 == o || 7078 <= o && o <= 7079 || 7082 == o || 7143 == o || 7146 <= o && o <= 7148 || 7150 == o || 7154 <= o && o <= 7155 || 7204 <= o && o <= 7211 || 7220 <= o && o <= 7221 || 7393 == o || 7410 <= o && o <= 7411 || 7415 == o || 43043 <= o && o <= 43044 || 43047 == o || 43136 <= o && o <= 43137 || 43188 <= o && o <= 43203 || 43346 <= o && o <= 43347 || 43395 == o || 43444 <= o && o <= 43445 || 43450 <= o && o <= 43451 || 43453 <= o && o <= 43456 || 43567 <= o && o <= 43568 || 43571 <= o && o <= 43572 || 43597 == o || 43755 == o || 43758 <= o && o <= 43759 || 43765 == o || 44003 <= o && o <= 44004 || 44006 <= o && o <= 44007 || 44009 <= o && o <= 44010 || 44012 == o || 69632 == o || 69634 == o || 69762 == o || 69808 <= o && o <= 69810 || 69815 <= o && o <= 69816 || 69932 == o || 70018 == o || 70067 <= o && o <= 70069 || 70079 <= o && o <= 70080 || 70188 <= o && o <= 70190 || 70194 <= o && o <= 70195 || 70197 == o || 70368 <= o && o <= 70370 || 70402 <= o && o <= 70403 || 70463 == o || 70465 <= o && o <= 70468 || 70471 <= o && o <= 70472 || 70475 <= o && o <= 70477 || 70498 <= o && o <= 70499 || 70709 <= o && o <= 70711 || 70720 <= o && o <= 70721 || 70725 == o || 70833 <= o && o <= 70834 || 70841 == o || 70843 <= o && o <= 70844 || 70846 == o || 70849 == o || 71088 <= o && o <= 71089 || 71096 <= o && o <= 71099 || 71102 == o || 71216 <= o && o <= 71218 || 71227 <= o && o <= 71228 || 71230 == o || 71340 == o || 71342 <= o && o <= 71343 || 71350 == o || 71456 <= o && o <= 71457 || 71462 == o || 72199 <= o && o <= 72200 || 72249 == o || 72279 <= o && o <= 72280 || 72343 == o || 72751 == o || 72766 == o || 72873 == o || 72881 == o || 72884 == o || 94033 <= o && o <= 94078 || 119142 == o || 119149 == o ? 5 : 4352 <= o && o <= 4447 || 43360 <= o && o <= 43388 ? 6 : 4448 <= o && o <= 4519 || 55216 <= o && o <= 55238 ? 7 : 4520 <= o && o <= 4607 || 55243 <= o && o <= 55291 ? 8 : 44032 == o || 44060 == o || 44088 == o || 44116 == o || 44144 == o || 44172 == o || 44200 == o || 44228 == o || 44256 == o || 44284 == o || 44312 == o || 44340 == o || 44368 == o || 44396 == o || 44424 == o || 44452 == o || 44480 == o || 44508 == o || 44536 == o || 44564 == o || 44592 == o || 44620 == o || 44648 == o || 44676 == o || 44704 == o || 44732 == o || 44760 == o || 44788 == o || 44816 == o || 44844 == o || 44872 == o || 44900 == o || 44928 == o || 44956 == o || 44984 == o || 45012 == o || 45040 == o || 45068 == o || 45096 == o || 45124 == o || 45152 == o || 45180 == o || 45208 == o || 45236 == o || 45264 == o || 45292 == o || 45320 == o || 45348 == o || 45376 == o || 45404 == o || 45432 == o || 45460 == o || 45488 == o || 45516 == o || 45544 == o || 45572 == o || 45600 == o || 45628 == o || 45656 == o || 45684 == o || 45712 == o || 45740 == o || 45768 == o || 45796 == o || 45824 == o || 45852 == o || 45880 == o || 45908 == o || 45936 == o || 45964 == o || 45992 == o || 46020 == o || 46048 == o || 46076 == o || 46104 == o || 46132 == o || 46160 == o || 46188 == o || 46216 == o || 46244 == o || 46272 == o || 46300 == o || 46328 == o || 46356 == o || 46384 == o || 46412 == o || 46440 == o || 46468 == o || 46496 == o || 46524 == o || 46552 == o || 46580 == o || 46608 == o || 46636 == o || 46664 == o || 46692 == o || 46720 == o || 46748 == o || 46776 == o || 46804 == o || 46832 == o || 46860 == o || 46888 == o || 46916 == o || 46944 == o || 46972 == o || 47e3 == o || 47028 == o || 47056 == o || 47084 == o || 47112 == o || 47140 == o || 47168 == o || 47196 == o || 47224 == o || 47252 == o || 47280 == o || 47308 == o || 47336 == o || 47364 == o || 47392 == o || 47420 == o || 47448 == o || 47476 == o || 47504 == o || 47532 == o || 47560 == o || 47588 == o || 47616 == o || 47644 == o || 47672 == o || 47700 == o || 47728 == o || 47756 == o || 47784 == o || 47812 == o || 47840 == o || 47868 == o || 47896 == o || 47924 == o || 47952 == o || 47980 == o || 48008 == o || 48036 == o || 48064 == o || 48092 == o || 48120 == o || 48148 == o || 48176 == o || 48204 == o || 48232 == o || 48260 == o || 48288 == o || 48316 == o || 48344 == o || 48372 == o || 48400 == o || 48428 == o || 48456 == o || 48484 == o || 48512 == o || 48540 == o || 48568 == o || 48596 == o || 48624 == o || 48652 == o || 48680 == o || 48708 == o || 48736 == o || 48764 == o || 48792 == o || 48820 == o || 48848 == o || 48876 == o || 48904 == o || 48932 == o || 48960 == o || 48988 == o || 49016 == o || 49044 == o || 49072 == o || 49100 == o || 49128 == o || 49156 == o || 49184 == o || 49212 == o || 49240 == o || 49268 == o || 49296 == o || 49324 == o || 49352 == o || 49380 == o || 49408 == o || 49436 == o || 49464 == o || 49492 == o || 49520 == o || 49548 == o || 49576 == o || 49604 == o || 49632 == o || 49660 == o || 49688 == o || 49716 == o || 49744 == o || 49772 == o || 49800 == o || 49828 == o || 49856 == o || 49884 == o || 49912 == o || 49940 == o || 49968 == o || 49996 == o || 50024 == o || 50052 == o || 50080 == o || 50108 == o || 50136 == o || 50164 == o || 50192 == o || 50220 == o || 50248 == o || 50276 == o || 50304 == o || 50332 == o || 50360 == o || 50388 == o || 50416 == o || 50444 == o || 50472 == o || 50500 == o || 50528 == o || 50556 == o || 50584 == o || 50612 == o || 50640 == o || 50668 == o || 50696 == o || 50724 == o || 50752 == o || 50780 == o || 50808 == o || 50836 == o || 50864 == o || 50892 == o || 50920 == o || 50948 == o || 50976 == o || 51004 == o || 51032 == o || 51060 == o || 51088 == o || 51116 == o || 51144 == o || 51172 == o || 51200 == o || 51228 == o || 51256 == o || 51284 == o || 51312 == o || 51340 == o || 51368 == o || 51396 == o || 51424 == o || 51452 == o || 51480 == o || 51508 == o || 51536 == o || 51564 == o || 51592 == o || 51620 == o || 51648 == o || 51676 == o || 51704 == o || 51732 == o || 51760 == o || 51788 == o || 51816 == o || 51844 == o || 51872 == o || 51900 == o || 51928 == o || 51956 == o || 51984 == o || 52012 == o || 52040 == o || 52068 == o || 52096 == o || 52124 == o || 52152 == o || 52180 == o || 52208 == o || 52236 == o || 52264 == o || 52292 == o || 52320 == o || 52348 == o || 52376 == o || 52404 == o || 52432 == o || 52460 == o || 52488 == o || 52516 == o || 52544 == o || 52572 == o || 52600 == o || 52628 == o || 52656 == o || 52684 == o || 52712 == o || 52740 == o || 52768 == o || 52796 == o || 52824 == o || 52852 == o || 52880 == o || 52908 == o || 52936 == o || 52964 == o || 52992 == o || 53020 == o || 53048 == o || 53076 == o || 53104 == o || 53132 == o || 53160 == o || 53188 == o || 53216 == o || 53244 == o || 53272 == o || 53300 == o || 53328 == o || 53356 == o || 53384 == o || 53412 == o || 53440 == o || 53468 == o || 53496 == o || 53524 == o || 53552 == o || 53580 == o || 53608 == o || 53636 == o || 53664 == o || 53692 == o || 53720 == o || 53748 == o || 53776 == o || 53804 == o || 53832 == o || 53860 == o || 53888 == o || 53916 == o || 53944 == o || 53972 == o || 54e3 == o || 54028 == o || 54056 == o || 54084 == o || 54112 == o || 54140 == o || 54168 == o || 54196 == o || 54224 == o || 54252 == o || 54280 == o || 54308 == o || 54336 == o || 54364 == o || 54392 == o || 54420 == o || 54448 == o || 54476 == o || 54504 == o || 54532 == o || 54560 == o || 54588 == o || 54616 == o || 54644 == o || 54672 == o || 54700 == o || 54728 == o || 54756 == o || 54784 == o || 54812 == o || 54840 == o || 54868 == o || 54896 == o || 54924 == o || 54952 == o || 54980 == o || 55008 == o || 55036 == o || 55064 == o || 55092 == o || 55120 == o || 55148 == o || 55176 == o ? 9 : 44033 <= o && o <= 44059 || 44061 <= o && o <= 44087 || 44089 <= o && o <= 44115 || 44117 <= o && o <= 44143 || 44145 <= o && o <= 44171 || 44173 <= o && o <= 44199 || 44201 <= o && o <= 44227 || 44229 <= o && o <= 44255 || 44257 <= o && o <= 44283 || 44285 <= o && o <= 44311 || 44313 <= o && o <= 44339 || 44341 <= o && o <= 44367 || 44369 <= o && o <= 44395 || 44397 <= o && o <= 44423 || 44425 <= o && o <= 44451 || 44453 <= o && o <= 44479 || 44481 <= o && o <= 44507 || 44509 <= o && o <= 44535 || 44537 <= o && o <= 44563 || 44565 <= o && o <= 44591 || 44593 <= o && o <= 44619 || 44621 <= o && o <= 44647 || 44649 <= o && o <= 44675 || 44677 <= o && o <= 44703 || 44705 <= o && o <= 44731 || 44733 <= o && o <= 44759 || 44761 <= o && o <= 44787 || 44789 <= o && o <= 44815 || 44817 <= o && o <= 44843 || 44845 <= o && o <= 44871 || 44873 <= o && o <= 44899 || 44901 <= o && o <= 44927 || 44929 <= o && o <= 44955 || 44957 <= o && o <= 44983 || 44985 <= o && o <= 45011 || 45013 <= o && o <= 45039 || 45041 <= o && o <= 45067 || 45069 <= o && o <= 45095 || 45097 <= o && o <= 45123 || 45125 <= o && o <= 45151 || 45153 <= o && o <= 45179 || 45181 <= o && o <= 45207 || 45209 <= o && o <= 45235 || 45237 <= o && o <= 45263 || 45265 <= o && o <= 45291 || 45293 <= o && o <= 45319 || 45321 <= o && o <= 45347 || 45349 <= o && o <= 45375 || 45377 <= o && o <= 45403 || 45405 <= o && o <= 45431 || 45433 <= o && o <= 45459 || 45461 <= o && o <= 45487 || 45489 <= o && o <= 45515 || 45517 <= o && o <= 45543 || 45545 <= o && o <= 45571 || 45573 <= o && o <= 45599 || 45601 <= o && o <= 45627 || 45629 <= o && o <= 45655 || 45657 <= o && o <= 45683 || 45685 <= o && o <= 45711 || 45713 <= o && o <= 45739 || 45741 <= o && o <= 45767 || 45769 <= o && o <= 45795 || 45797 <= o && o <= 45823 || 45825 <= o && o <= 45851 || 45853 <= o && o <= 45879 || 45881 <= o && o <= 45907 || 45909 <= o && o <= 45935 || 45937 <= o && o <= 45963 || 45965 <= o && o <= 45991 || 45993 <= o && o <= 46019 || 46021 <= o && o <= 46047 || 46049 <= o && o <= 46075 || 46077 <= o && o <= 46103 || 46105 <= o && o <= 46131 || 46133 <= o && o <= 46159 || 46161 <= o && o <= 46187 || 46189 <= o && o <= 46215 || 46217 <= o && o <= 46243 || 46245 <= o && o <= 46271 || 46273 <= o && o <= 46299 || 46301 <= o && o <= 46327 || 46329 <= o && o <= 46355 || 46357 <= o && o <= 46383 || 46385 <= o && o <= 46411 || 46413 <= o && o <= 46439 || 46441 <= o && o <= 46467 || 46469 <= o && o <= 46495 || 46497 <= o && o <= 46523 || 46525 <= o && o <= 46551 || 46553 <= o && o <= 46579 || 46581 <= o && o <= 46607 || 46609 <= o && o <= 46635 || 46637 <= o && o <= 46663 || 46665 <= o && o <= 46691 || 46693 <= o && o <= 46719 || 46721 <= o && o <= 46747 || 46749 <= o && o <= 46775 || 46777 <= o && o <= 46803 || 46805 <= o && o <= 46831 || 46833 <= o && o <= 46859 || 46861 <= o && o <= 46887 || 46889 <= o && o <= 46915 || 46917 <= o && o <= 46943 || 46945 <= o && o <= 46971 || 46973 <= o && o <= 46999 || 47001 <= o && o <= 47027 || 47029 <= o && o <= 47055 || 47057 <= o && o <= 47083 || 47085 <= o && o <= 47111 || 47113 <= o && o <= 47139 || 47141 <= o && o <= 47167 || 47169 <= o && o <= 47195 || 47197 <= o && o <= 47223 || 47225 <= o && o <= 47251 || 47253 <= o && o <= 47279 || 47281 <= o && o <= 47307 || 47309 <= o && o <= 47335 || 47337 <= o && o <= 47363 || 47365 <= o && o <= 47391 || 47393 <= o && o <= 47419 || 47421 <= o && o <= 47447 || 47449 <= o && o <= 47475 || 47477 <= o && o <= 47503 || 47505 <= o && o <= 47531 || 47533 <= o && o <= 47559 || 47561 <= o && o <= 47587 || 47589 <= o && o <= 47615 || 47617 <= o && o <= 47643 || 47645 <= o && o <= 47671 || 47673 <= o && o <= 47699 || 47701 <= o && o <= 47727 || 47729 <= o && o <= 47755 || 47757 <= o && o <= 47783 || 47785 <= o && o <= 47811 || 47813 <= o && o <= 47839 || 47841 <= o && o <= 47867 || 47869 <= o && o <= 47895 || 47897 <= o && o <= 47923 || 47925 <= o && o <= 47951 || 47953 <= o && o <= 47979 || 47981 <= o && o <= 48007 || 48009 <= o && o <= 48035 || 48037 <= o && o <= 48063 || 48065 <= o && o <= 48091 || 48093 <= o && o <= 48119 || 48121 <= o && o <= 48147 || 48149 <= o && o <= 48175 || 48177 <= o && o <= 48203 || 48205 <= o && o <= 48231 || 48233 <= o && o <= 48259 || 48261 <= o && o <= 48287 || 48289 <= o && o <= 48315 || 48317 <= o && o <= 48343 || 48345 <= o && o <= 48371 || 48373 <= o && o <= 48399 || 48401 <= o && o <= 48427 || 48429 <= o && o <= 48455 || 48457 <= o && o <= 48483 || 48485 <= o && o <= 48511 || 48513 <= o && o <= 48539 || 48541 <= o && o <= 48567 || 48569 <= o && o <= 48595 || 48597 <= o && o <= 48623 || 48625 <= o && o <= 48651 || 48653 <= o && o <= 48679 || 48681 <= o && o <= 48707 || 48709 <= o && o <= 48735 || 48737 <= o && o <= 48763 || 48765 <= o && o <= 48791 || 48793 <= o && o <= 48819 || 48821 <= o && o <= 48847 || 48849 <= o && o <= 48875 || 48877 <= o && o <= 48903 || 48905 <= o && o <= 48931 || 48933 <= o && o <= 48959 || 48961 <= o && o <= 48987 || 48989 <= o && o <= 49015 || 49017 <= o && o <= 49043 || 49045 <= o && o <= 49071 || 49073 <= o && o <= 49099 || 49101 <= o && o <= 49127 || 49129 <= o && o <= 49155 || 49157 <= o && o <= 49183 || 49185 <= o && o <= 49211 || 49213 <= o && o <= 49239 || 49241 <= o && o <= 49267 || 49269 <= o && o <= 49295 || 49297 <= o && o <= 49323 || 49325 <= o && o <= 49351 || 49353 <= o && o <= 49379 || 49381 <= o && o <= 49407 || 49409 <= o && o <= 49435 || 49437 <= o && o <= 49463 || 49465 <= o && o <= 49491 || 49493 <= o && o <= 49519 || 49521 <= o && o <= 49547 || 49549 <= o && o <= 49575 || 49577 <= o && o <= 49603 || 49605 <= o && o <= 49631 || 49633 <= o && o <= 49659 || 49661 <= o && o <= 49687 || 49689 <= o && o <= 49715 || 49717 <= o && o <= 49743 || 49745 <= o && o <= 49771 || 49773 <= o && o <= 49799 || 49801 <= o && o <= 49827 || 49829 <= o && o <= 49855 || 49857 <= o && o <= 49883 || 49885 <= o && o <= 49911 || 49913 <= o && o <= 49939 || 49941 <= o && o <= 49967 || 49969 <= o && o <= 49995 || 49997 <= o && o <= 50023 || 50025 <= o && o <= 50051 || 50053 <= o && o <= 50079 || 50081 <= o && o <= 50107 || 50109 <= o && o <= 50135 || 50137 <= o && o <= 50163 || 50165 <= o && o <= 50191 || 50193 <= o && o <= 50219 || 50221 <= o && o <= 50247 || 50249 <= o && o <= 50275 || 50277 <= o && o <= 50303 || 50305 <= o && o <= 50331 || 50333 <= o && o <= 50359 || 50361 <= o && o <= 50387 || 50389 <= o && o <= 50415 || 50417 <= o && o <= 50443 || 50445 <= o && o <= 50471 || 50473 <= o && o <= 50499 || 50501 <= o && o <= 50527 || 50529 <= o && o <= 50555 || 50557 <= o && o <= 50583 || 50585 <= o && o <= 50611 || 50613 <= o && o <= 50639 || 50641 <= o && o <= 50667 || 50669 <= o && o <= 50695 || 50697 <= o && o <= 50723 || 50725 <= o && o <= 50751 || 50753 <= o && o <= 50779 || 50781 <= o && o <= 50807 || 50809 <= o && o <= 50835 || 50837 <= o && o <= 50863 || 50865 <= o && o <= 50891 || 50893 <= o && o <= 50919 || 50921 <= o && o <= 50947 || 50949 <= o && o <= 50975 || 50977 <= o && o <= 51003 || 51005 <= o && o <= 51031 || 51033 <= o && o <= 51059 || 51061 <= o && o <= 51087 || 51089 <= o && o <= 51115 || 51117 <= o && o <= 51143 || 51145 <= o && o <= 51171 || 51173 <= o && o <= 51199 || 51201 <= o && o <= 51227 || 51229 <= o && o <= 51255 || 51257 <= o && o <= 51283 || 51285 <= o && o <= 51311 || 51313 <= o && o <= 51339 || 51341 <= o && o <= 51367 || 51369 <= o && o <= 51395 || 51397 <= o && o <= 51423 || 51425 <= o && o <= 51451 || 51453 <= o && o <= 51479 || 51481 <= o && o <= 51507 || 51509 <= o && o <= 51535 || 51537 <= o && o <= 51563 || 51565 <= o && o <= 51591 || 51593 <= o && o <= 51619 || 51621 <= o && o <= 51647 || 51649 <= o && o <= 51675 || 51677 <= o && o <= 51703 || 51705 <= o && o <= 51731 || 51733 <= o && o <= 51759 || 51761 <= o && o <= 51787 || 51789 <= o && o <= 51815 || 51817 <= o && o <= 51843 || 51845 <= o && o <= 51871 || 51873 <= o && o <= 51899 || 51901 <= o && o <= 51927 || 51929 <= o && o <= 51955 || 51957 <= o && o <= 51983 || 51985 <= o && o <= 52011 || 52013 <= o && o <= 52039 || 52041 <= o && o <= 52067 || 52069 <= o && o <= 52095 || 52097 <= o && o <= 52123 || 52125 <= o && o <= 52151 || 52153 <= o && o <= 52179 || 52181 <= o && o <= 52207 || 52209 <= o && o <= 52235 || 52237 <= o && o <= 52263 || 52265 <= o && o <= 52291 || 52293 <= o && o <= 52319 || 52321 <= o && o <= 52347 || 52349 <= o && o <= 52375 || 52377 <= o && o <= 52403 || 52405 <= o && o <= 52431 || 52433 <= o && o <= 52459 || 52461 <= o && o <= 52487 || 52489 <= o && o <= 52515 || 52517 <= o && o <= 52543 || 52545 <= o && o <= 52571 || 52573 <= o && o <= 52599 || 52601 <= o && o <= 52627 || 52629 <= o && o <= 52655 || 52657 <= o && o <= 52683 || 52685 <= o && o <= 52711 || 52713 <= o && o <= 52739 || 52741 <= o && o <= 52767 || 52769 <= o && o <= 52795 || 52797 <= o && o <= 52823 || 52825 <= o && o <= 52851 || 52853 <= o && o <= 52879 || 52881 <= o && o <= 52907 || 52909 <= o && o <= 52935 || 52937 <= o && o <= 52963 || 52965 <= o && o <= 52991 || 52993 <= o && o <= 53019 || 53021 <= o && o <= 53047 || 53049 <= o && o <= 53075 || 53077 <= o && o <= 53103 || 53105 <= o && o <= 53131 || 53133 <= o && o <= 53159 || 53161 <= o && o <= 53187 || 53189 <= o && o <= 53215 || 53217 <= o && o <= 53243 || 53245 <= o && o <= 53271 || 53273 <= o && o <= 53299 || 53301 <= o && o <= 53327 || 53329 <= o && o <= 53355 || 53357 <= o && o <= 53383 || 53385 <= o && o <= 53411 || 53413 <= o && o <= 53439 || 53441 <= o && o <= 53467 || 53469 <= o && o <= 53495 || 53497 <= o && o <= 53523 || 53525 <= o && o <= 53551 || 53553 <= o && o <= 53579 || 53581 <= o && o <= 53607 || 53609 <= o && o <= 53635 || 53637 <= o && o <= 53663 || 53665 <= o && o <= 53691 || 53693 <= o && o <= 53719 || 53721 <= o && o <= 53747 || 53749 <= o && o <= 53775 || 53777 <= o && o <= 53803 || 53805 <= o && o <= 53831 || 53833 <= o && o <= 53859 || 53861 <= o && o <= 53887 || 53889 <= o && o <= 53915 || 53917 <= o && o <= 53943 || 53945 <= o && o <= 53971 || 53973 <= o && o <= 53999 || 54001 <= o && o <= 54027 || 54029 <= o && o <= 54055 || 54057 <= o && o <= 54083 || 54085 <= o && o <= 54111 || 54113 <= o && o <= 54139 || 54141 <= o && o <= 54167 || 54169 <= o && o <= 54195 || 54197 <= o && o <= 54223 || 54225 <= o && o <= 54251 || 54253 <= o && o <= 54279 || 54281 <= o && o <= 54307 || 54309 <= o && o <= 54335 || 54337 <= o && o <= 54363 || 54365 <= o && o <= 54391 || 54393 <= o && o <= 54419 || 54421 <= o && o <= 54447 || 54449 <= o && o <= 54475 || 54477 <= o && o <= 54503 || 54505 <= o && o <= 54531 || 54533 <= o && o <= 54559 || 54561 <= o && o <= 54587 || 54589 <= o && o <= 54615 || 54617 <= o && o <= 54643 || 54645 <= o && o <= 54671 || 54673 <= o && o <= 54699 || 54701 <= o && o <= 54727 || 54729 <= o && o <= 54755 || 54757 <= o && o <= 54783 || 54785 <= o && o <= 54811 || 54813 <= o && o <= 54839 || 54841 <= o && o <= 54867 || 54869 <= o && o <= 54895 || 54897 <= o && o <= 54923 || 54925 <= o && o <= 54951 || 54953 <= o && o <= 54979 || 54981 <= o && o <= 55007 || 55009 <= o && o <= 55035 || 55037 <= o && o <= 55063 || 55065 <= o && o <= 55091 || 55093 <= o && o <= 55119 || 55121 <= o && o <= 55147 || 55149 <= o && o <= 55175 || 55177 <= o && o <= 55203 ? 10 : 9757 == o || 9977 == o || 9994 <= o && o <= 9997 || 127877 == o || 127938 <= o && o <= 127940 || 127943 == o || 127946 <= o && o <= 127948 || 128066 <= o && o <= 128067 || 128070 <= o && o <= 128080 || 128110 == o || 128112 <= o && o <= 128120 || 128124 == o || 128129 <= o && o <= 128131 || 128133 <= o && o <= 128135 || 128170 == o || 128372 <= o && o <= 128373 || 128378 == o || 128400 == o || 128405 <= o && o <= 128406 || 128581 <= o && o <= 128583 || 128587 <= o && o <= 128591 || 128675 == o || 128692 <= o && o <= 128694 || 128704 == o || 128716 == o || 129304 <= o && o <= 129308 || 129310 <= o && o <= 129311 || 129318 == o || 129328 <= o && o <= 129337 || 129341 <= o && o <= 129342 || 129489 <= o && o <= 129501 ? a : 127995 <= o && o <= 127999 ? 14 : 8205 == o ? 15 : 9792 == o || 9794 == o || 9877 <= o && o <= 9878 || 9992 == o || 10084 == o || 127752 == o || 127806 == o || 127859 == o || 127891 == o || 127908 == o || 127912 == o || 127979 == o || 127981 == o || 128139 == o || 128187 <= o && o <= 128188 || 128295 == o || 128300 == o || 128488 == o || 128640 == o || 128658 == o ? r : 128102 <= o && o <= 128105 ? i : 11
+ }
+ return this.nextBreak = function(e, t) {
+ if (void 0 === t && (t = 0), t < 0) return 0;
+ if (t >= e.length - 1) return e.length;
+ for (var n, a, r = l(o(e, t)), i = [], c = t + 1; c < e.length; c++)
+ if (a = c - 1, !(55296 <= (n = e).charCodeAt(a) && n.charCodeAt(a) <= 56319 && 56320 <= n.charCodeAt(a + 1) && n.charCodeAt(a + 1) <= 57343)) {
+ var u = l(o(e, c));
+ if (s(r, i, u)) return c;
+ i.push(u)
+ } return e.length
+ }, this.splitGraphemes = function(e) {
+ for (var t, n = [], a = 0;
+ (t = this.nextBreak(e, a)) < e.length;) n.push(e.slice(a, t)), a = t;
+ return a < e.length && n.push(e.slice(a)), n
+ }, this.iterateGraphemes = function(e) {
+ var t = 0,
+ n = {
+ next: function() {
+ var n, a;
+ return (a = this.nextBreak(e, t)) < e.length ? (n = e.slice(t, a), t = a, {
+ value: n,
+ done: !1
+ }) : t < e.length ? (n = e.slice(t), t = e.length, {
+ value: n,
+ done: !1
+ }) : {
+ value: void 0,
+ done: !0
}
+ }.bind(this)
+ };
+ return "undefined" != typeof Symbol && Symbol.iterator && (n[Symbol.iterator] = function() {
+ return n
+ }), n
+ }, this.countGraphemes = function(e) {
+ for (var t, n = 0, a = 0;
+ (t = this.nextBreak(e, a)) < e.length;) a = t, n++;
+ return a < e.length && n++, n
+ }, this
+ })
+}, 9483: (e, t, n) => {
+ "use strict";
+ var a = n(8740),
+ r = {
+ childContextTypes: !0,
+ contextType: !0,
+ contextTypes: !0,
+ defaultProps: !0,
+ displayName: !0,
+ getDefaultProps: !0,
+ getDerivedStateFromError: !0,
+ getDerivedStateFromProps: !0,
+ mixins: !0,
+ propTypes: !0,
+ type: !0
+ },
+ i = {
+ name: !0,
+ length: !0,
+ prototype: !0,
+ caller: !0,
+ callee: !0,
+ arguments: !0,
+ arity: !0
+ },
+ o = {
+ $$typeof: !0,
+ compare: !0,
+ defaultProps: !0,
+ displayName: !0,
+ propTypes: !0,
+ type: !0
+ },
+ s = {};
+
+ function l(e) {
+ return a.isMemo(e) ? o : s[e.$$typeof] || r
+ }
+ s[a.ForwardRef] = {
+ $$typeof: !0,
+ render: !0,
+ defaultProps: !0,
+ displayName: !0,
+ propTypes: !0
+ };
+ var c = Object.defineProperty,
+ u = Object.getOwnPropertyNames,
+ d = Object.getOwnPropertySymbols,
+ p = Object.getOwnPropertyDescriptor,
+ h = Object.getPrototypeOf,
+ m = Object.prototype;
+ e.exports = function e(t, n, a) {
+ if ("string" != typeof n) {
+ if (m) {
+ var r = h(n);
+ r && r !== m && e(t, r, a)
+ }
+ var o = u(n);
+ d && (o = o.concat(d(n)));
+ for (var s = l(t), f = l(n), g = 0; g < o.length; ++g) {
+ var b = o[g];
+ if (!(i[b] || a && a[b] || f && f[b] || s && s[b])) {
+ var y = p(n, b);
+ try {
+ c(t, b, y)
+ } catch (e) {}
+ }
+ }
+ return t
+ }
+ return t
+ }
+}, 4444: (e, t, n) => {
+ e.exports = {
+ parse: n(1018),
+ stringify: n(1674)
+ }
+}, 3514: (e, t, n) => {
+ var a = /([\w-]+)|=|(['"])([.\s\S]*?)\2/g,
+ r = n(8058);
+ e.exports = function(e) {
+ var t, n = 0,
+ i = !0,
+ o = {
+ type: "tag",
+ name: "",
+ voidElement: !1,
+ attrs: {},
+ children: []
+ };
+ return e.replace(a, (function(a) {
+ if ("=" === a) return i = !0, void n++;
+ i ? 0 === n ? ((r[a] || "/" === e.charAt(e.length - 2)) && (o.voidElement = !0), o.name = a) : (o.attrs[t] = a.replace(/^['"]|['"]$/g, ""), t = void 0) : (t && (o.attrs[t] = t), t = a), n++, i = !1
+ })), o
+ }
+}, 1018: (e, t, n) => {
+ var a = /(?:|<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>)/g,
+ r = n(3514),
+ i = Object.create ? Object.create(null) : {};
+
+ function o(e, t, n, a, r) {
+ var i = t.indexOf("<", a),
+ o = t.slice(a, -1 === i ? void 0 : i);
+ /^\s*$/.test(o) && (o = " "), (!r && i > -1 && n + e.length >= 0 || " " !== o) && e.push({
+ type: "text",
+ content: o
+ })
+ }
+ e.exports = function(e, t) {
+ t || (t = {}), t.components || (t.components = i);
+ var n, s = [],
+ l = -1,
+ c = [],
+ u = {},
+ d = !1;
+ return e.replace(a, (function(a, i) {
+ if (d) {
+ if (a !== "" + n.name + ">") return;
+ d = !1
+ }
+ var p, h = "/" !== a.charAt(1),
+ m = 0 === a.indexOf("\x3c!--"),
+ f = i + a.length,
+ g = e.charAt(f);
+ h && !m && (l++, "tag" === (n = r(a)).type && t.components[n.name] && (n.type = "component", d = !0), n.voidElement || d || !g || "<" === g || o(n.children, e, l, f, t.ignoreWhitespace), u[n.tagName] = n, 0 === l && s.push(n), (p = c[l - 1]) && p.children.push(n), c[l] = n), (m || !h || n.voidElement) && (m || l--, !d && "<" !== g && g && o(p = -1 === l ? s : c[l].children, e, l, f, t.ignoreWhitespace))
+ })), !s.length && e.length && o(s, e, 0, 0, t.ignoreWhitespace), s
+ }
+}, 1674: e => {
+ function t(e, n) {
+ switch (n.type) {
+ case "text":
+ return e + n.content;
+ case "tag":
+ return e += "<" + n.name + (n.attrs ? function(e) {
+ var t = [];
+ for (var n in e) t.push(n + '="' + e[n] + '"');
+ return t.length ? " " + t.join(" ") : ""
+ }(n.attrs) : "") + (n.voidElement ? "/>" : ">"), n.voidElement ? e : e + n.children.reduce(t, "") + "" + n.name + ">"
+ }
+ }
+ e.exports = function(e) {
+ return e.reduce((function(e, n) {
+ return e + t("", n)
+ }), "")
+ }
+}, 1568: (e, t) => {
+ "use strict";
+ Object.defineProperty(t, "__esModule", {
+ value: !0
+ });
+ t.default = {
+ name: "cookie",
+ lookup: function(e) {
+ var t = void 0;
+ if (e.lookupCookie && "undefined" != typeof document) {
+ var n = function(e) {
+ for (var t = e + "=", n = document.cookie.split(";"), a = 0; a < n.length; a++) {
+ for (var r = n[a];
+ " " === r.charAt(0);) r = r.substring(1, r.length);
+ if (0 === r.indexOf(t)) return r.substring(t.length, r.length)
+ }
+ return null
+ }(e.lookupCookie);
+ n && (t = n)
+ }
+ return t
+ },
+ cacheUserLanguage: function(e, t) {
+ t.lookupCookie && "undefined" != typeof document && function(e, t, n, a) {
+ var r = void 0;
+ if (n) {
+ var i = new Date;
+ i.setTime(i.getTime() + 60 * n * 1e3), r = "; expires=" + i.toGMTString()
+ } else r = "";
+ a = a ? "domain=" + a + ";" : "", document.cookie = e + "=" + t + r + ";" + a + "path=/"
+ }(t.lookupCookie, e, t.cookieMinutes, t.cookieDomain)
+ }
+ }
+}, 6182: (e, t) => {
+ "use strict";
+ Object.defineProperty(t, "__esModule", {
+ value: !0
+ }), t.default = {
+ name: "htmlTag",
+ lookup: function(e) {
+ var t = void 0,
+ n = e.htmlTag || ("undefined" != typeof document ? document.documentElement : null);
+ return n && "function" == typeof n.getAttribute && (t = n.getAttribute("lang")), t
+ }
+ }
+}, 4414: (e, t) => {
+ "use strict";
+ Object.defineProperty(t, "__esModule", {
+ value: !0
+ });
+ var n = void 0;
+ try {
+ n = "undefined" !== window && null !== window.localStorage;
+ var a = "i18next.translate.boo";
+ window.localStorage.setItem(a, "foo"), window.localStorage.removeItem(a)
+ } catch (e) {
+ n = !1
+ }
+ t.default = {
+ name: "localStorage",
+ lookup: function(e) {
+ var t = void 0;
+ if (e.lookupLocalStorage && n) {
+ var a = window.localStorage.getItem(e.lookupLocalStorage);
+ a && (t = a)
+ }
+ return t
+ },
+ cacheUserLanguage: function(e, t) {
+ t.lookupLocalStorage && n && window.localStorage.setItem(t.lookupLocalStorage, e)
+ }
+ }
+}, 8864: (e, t) => {
+ "use strict";
+ Object.defineProperty(t, "__esModule", {
+ value: !0
+ }), t.default = {
+ name: "navigator",
+ lookup: function(e) {
+ var t = [];
+ if ("undefined" != typeof navigator) {
+ if (navigator.languages)
+ for (var n = 0; n < navigator.languages.length; n++) t.push(navigator.languages[n]);
+ navigator.userLanguage && t.push(navigator.userLanguage), navigator.language && t.push(navigator.language)
+ }
+ return t.length > 0 ? t : void 0
+ }
+ }
+}, 1699: (e, t) => {
+ "use strict";
+ Object.defineProperty(t, "__esModule", {
+ value: !0
+ }), t.default = {
+ name: "path",
+ lookup: function(e) {
+ var t = void 0;
+ if ("undefined" != typeof window) {
+ var n = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
+ if (n instanceof Array)
+ if ("number" == typeof e.lookupFromPathIndex) {
+ if ("string" != typeof n[e.lookupFromPathIndex]) return;
+ t = n[e.lookupFromPathIndex].replace("/", "")
+ } else t = n[0].replace("/", "")
+ }
+ return t
+ }
+ }
+}, 6276: (e, t) => {
+ "use strict";
+ Object.defineProperty(t, "__esModule", {
+ value: !0
+ }), t.default = {
+ name: "querystring",
+ lookup: function(e) {
+ var t = void 0;
+ if ("undefined" != typeof window)
+ for (var n = window.location.search.substring(1).split("&"), a = 0; a < n.length; a++) {
+ var r = n[a].indexOf("=");
+ r > 0 && n[a].substring(0, r) === e.lookupQuerystring && (t = n[a].substring(r + 1))
+ }
+ return t
+ }
+ }
+}, 1129: (e, t) => {
+ "use strict";
+ Object.defineProperty(t, "__esModule", {
+ value: !0
+ }), t.default = {
+ name: "subdomain",
+ lookup: function(e) {
+ var t = void 0;
+ if ("undefined" != typeof window) {
+ var n = window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);
+ n instanceof Array && (t = "number" == typeof e.lookupFromSubdomainIndex ? n[e.lookupFromSubdomainIndex].replace("http://", "").replace("https://", "").replace(".", "") : n[0].replace("http://", "").replace("https://", "").replace(".", ""))
+ }
+ return t
+ }
+ }
+}, 9795: (e, t, n) => {
+ "use strict";
+ var a = function() {
+ function e(e, t) {
+ for (var n = 0; n < t.length; n++) {
+ var a = t[n];
+ a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a)
+ }
+ }
+ return function(t, n, a) {
+ return n && e(t.prototype, n), a && e(t, a), t
+ }
+ }(),
+ r = function(e) {
+ if (e && e.__esModule) return e;
+ var t = {};
+ if (null != e)
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
+ return t.default = e, t
+ }(n(5655)),
+ i = p(n(1568)),
+ o = p(n(6276)),
+ s = p(n(4414)),
+ l = p(n(8864)),
+ c = p(n(6182)),
+ u = p(n(1699)),
+ d = p(n(1129));
+
+ function p(e) {
+ return e && e.__esModule ? e : {
+ default: e
+ }
+ }
- function xa(e, t) {
- return e > t
+ function h(e, t) {
+ if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
+ }
+ var m = function() {
+ function e(t) {
+ var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
+ h(this, e), this.type = "languageDetector", this.detectors = {}, this.init(t, n)
+ }
+ return a(e, [{
+ key: "init",
+ value: function(e) {
+ var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
+ n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {};
+ this.services = e, this.options = r.defaults(t, this.options || {}, {
+ order: ["querystring", "cookie", "localStorage", "navigator", "htmlTag"],
+ lookupQuerystring: "lng",
+ lookupCookie: "i18next",
+ lookupLocalStorage: "i18nextLng",
+ caches: ["localStorage"],
+ excludeCacheFor: ["cimode"]
+ }), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = n, this.addDetector(i.default), this.addDetector(o.default), this.addDetector(s.default), this.addDetector(l.default), this.addDetector(c.default), this.addDetector(u.default), this.addDetector(d.default)
+ }
+ }, {
+ key: "addDetector",
+ value: function(e) {
+ this.detectors[e.name] = e
+ }
+ }, {
+ key: "detect",
+ value: function(e) {
+ var t = this;
+ e || (e = this.options.order);
+ var n = [];
+ e.forEach((function(e) {
+ if (t.detectors[e]) {
+ var a = t.detectors[e].lookup(t.options);
+ a && "string" == typeof a && (a = [a]), a && (n = n.concat(a))
+ }
+ }));
+ var a = void 0;
+ if (n.forEach((function(e) {
+ if (!a) {
+ var n = t.services.languageUtils.formatLanguageCode(e);
+ t.services.languageUtils.isWhitelisted(n) && (a = n)
}
+ })), !a) {
+ var r = this.i18nOptions.fallbackLng;
+ "string" == typeof r && (r = [r]), r || (r = []), a = "[object Array]" === Object.prototype.toString.apply(r) ? r[0] : r[0] || r.default && r.default[0]
+ }
+ return a
+ }
+ }, {
+ key: "cacheUserLanguage",
+ value: function(e, t) {
+ var n = this;
+ t || (t = this.options.caches), t && (this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(e) > -1 || t.forEach((function(t) {
+ n.detectors[t] && n.detectors[t].cacheUserLanguage(e, n.options)
+ })))
+ }
+ }]), e
+ }();
+ m.type = "languageDetector", t.Z = m
+}, 5655: (e, t) => {
+ "use strict";
+ Object.defineProperty(t, "__esModule", {
+ value: !0
+ }), t.defaults = function(e) {
+ return a.call(r.call(arguments, 1), (function(t) {
+ if (t)
+ for (var n in t) void 0 === e[n] && (e[n] = t[n])
+ })), e
+ }, t.extend = function(e) {
+ return a.call(r.call(arguments, 1), (function(t) {
+ if (t)
+ for (var n in t) e[n] = t[n]
+ })), e
+ };
+ var n = [],
+ a = n.forEach,
+ r = n.slice
+}, 8726: (e, t, n) => {
+ var a = n(9795).Z;
+ e.exports = a, e.exports.default = a
+}, 376: e => {
+ "function" == typeof Object.create ? e.exports = function(e, t) {
+ e.super_ = t, e.prototype = Object.create(t.prototype, {
+ constructor: {
+ value: e,
+ enumerable: !1,
+ writable: !0,
+ configurable: !0
+ }
+ })
+ } : e.exports = function(e, t) {
+ e.super_ = t;
+ var n = function() {};
+ n.prototype = t.prototype, e.prototype = new n, e.prototype.constructor = e
+ }
+}, 2456: e => {
+ "use strict";
+ e.exports = function(e, t, n, a, r, i, o, s) {
+ if (!e) {
+ var l;
+ if (void 0 === t) l = new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");
+ else {
+ var c = [n, a, r, i, o, s],
+ u = 0;
+ (l = new Error(t.replace(/%s/g, (function() {
+ return c[u++]
+ })))).name = "Invariant Violation"
+ }
+ throw l.framesToPop = 1, l
+ }
+ }
+}, 2755: e => {
+ "use strict";
+ var t = "function" == typeof Symbol && "symbol" == typeof Symbol.toStringTag,
+ n = Object.prototype.toString,
+ a = function(e) {
+ return !(t && e && "object" == typeof e && Symbol.toStringTag in e) && "[object Arguments]" === n.call(e)
+ },
+ r = function(e) {
+ return !!a(e) || null !== e && "object" == typeof e && "number" == typeof e.length && e.length >= 0 && "[object Array]" !== n.call(e) && "[object Function]" === n.call(e.callee)
+ },
+ i = function() {
+ return a(arguments)
+ }();
+ a.isLegacyArguments = r, e.exports = i ? a : r
+}, 6738: e => {
+ "use strict";
+ var t = Object.prototype.toString,
+ n = Function.prototype.toString,
+ a = /^\s*(?:function)?\*/,
+ r = "function" == typeof Symbol && "symbol" == typeof Symbol.toStringTag,
+ i = Object.getPrototypeOf,
+ o = function() {
+ if (!r) return !1;
+ try {
+ return Function("return function*() {}")()
+ } catch (e) {}
+ }(),
+ s = o ? i(o) : {};
+ e.exports = function(e) {
+ return "function" == typeof e && (!!a.test(n.call(e)) || (r ? i(e) === s : "[object GeneratorFunction]" === t.call(e)))
+ }
+}, 5430: (e, t, n) => {
+ n(6866), e.exports = self.fetch.bind(self)
+}, 587: (e, t) => {
+ "use strict";
+ var n = Object.assign || function(e) {
+ for (var t = 1; t < arguments.length; t++) {
+ var n = arguments[t];
+ for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a])
+ }
+ return e
+ },
+ a = {
+ tName: "t",
+ i18nName: "i18n",
+ handleName: "localize",
+ selectorAttr: "data-i18n",
+ targetAttr: "i18n-target",
+ optionsAttr: "i18n-options",
+ useOptionsAttr: !1,
+ parseDefaultValueFromContent: !0
+ };
+ t.default = {
+ init: function(e, t) {
+ var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {};
+
+ function i(t, a, i) {
+ if (0 !== a.length) {
+ var o = "text";
+ if (0 === a.indexOf("[")) {
+ var s = a.split("]");
+ a = s[1], o = s[0].substr(1, s[0].length - 1)
+ }
+ if (a.indexOf(";") === a.length - 1 && (a = a.substr(0, a.length - 2)), "html" === o) t.html(e.t(a, u(i, t.html())));
+ else if ("text" === o) t.text(e.t(a, u(i, t.text())));
+ else if ("prepend" === o) t.prepend(e.t(a, u(i, t.html())));
+ else if ("append" === o) t.append(e.t(a, u(i, t.html())));
+ else if (0 === o.indexOf("data-")) {
+ var l = o.substr("data-".length),
+ c = e.t(a, u(i, t.data(l)));
+ t.data(l, c), t.attr(o, c)
+ } else t.attr(o, e.t(a, u(i, t.attr(o))))
+ }
+
+ function u(e, t) {
+ return r.parseDefaultValueFromContent ? n({}, e, {
+ defaultValue: t
+ }) : e
+ }
+ }
- function Ca(e, t) {
- return null != e && Me.call(e, t)
- }
+ function o(e, a) {
+ var o = e.attr(r.selectorAttr);
+ if (o || void 0 === o || !1 === o || (o = e.text() || e.val()), o) {
+ var s = e,
+ l = e.data(r.targetAttr);
+ if (l && (s = e.find(l) || e), a || !0 !== r.useOptionsAttr || (a = e.data(r.optionsAttr)), a = a || {}, o.indexOf(";") >= 0) {
+ var c = o.split(";");
+ t.each(c, (function(e, t) {
+ "" !== t && i(s, t.trim(), a)
+ }))
+ } else i(s, o, a);
+ if (!0 === r.useOptionsAttr) {
+ var u = {};
+ delete(u = n({
+ clone: u
+ }, a)).lng, e.data(r.optionsAttr, u)
+ }
+ }
+ }
- function Aa(e, t) {
- return null != e && t in Ee(e)
- }
+ function s(e) {
+ return this.each((function() {
+ o(t(this), e), t(this).find("[" + r.selectorAttr + "]").each((function() {
+ o(t(this), e)
+ }))
+ }))
+ }
+ r = n({}, a, r), t[r.tName] = e.t.bind(e), t[r.i18nName] = e, t.fn[r.handleName] = s
+ }
+ }
+}, 7795: (e, t, n) => {
+ e.exports = n(587).default
+}, 7927: (module, exports, __webpack_require__) => {
+ var process = __webpack_require__(554),
+ __WEBPACK_AMD_DEFINE_RESULT__;
+ (function() {
+ "use strict";
+ var ERROR = "input is invalid type",
+ WINDOW = "object" == typeof window,
+ root = WINDOW ? window : {};
+ root.JS_MD5_NO_WINDOW && (WINDOW = !1);
+ var WEB_WORKER = !WINDOW && "object" == typeof self,
+ NODE_JS = !root.JS_MD5_NO_NODE_JS && "object" == typeof process && process.versions && process.versions.node;
+ NODE_JS ? root = __webpack_require__.g : WEB_WORKER && (root = self);
+ var COMMON_JS = !root.JS_MD5_NO_COMMON_JS && module.exports,
+ AMD = __webpack_require__.amdO,
+ ARRAY_BUFFER = !root.JS_MD5_NO_ARRAY_BUFFER && "undefined" != typeof ArrayBuffer,
+ HEX_CHARS = "0123456789abcdef".split(""),
+ EXTRA = [128, 32768, 8388608, -2147483648],
+ SHIFT = [0, 8, 16, 24],
+ OUTPUT_TYPES = ["hex", "array", "digest", "buffer", "arrayBuffer", "base64"],
+ BASE64_ENCODE_CHAR = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),
+ blocks = [],
+ buffer8;
+ if (ARRAY_BUFFER) {
+ var buffer = new ArrayBuffer(68);
+ buffer8 = new Uint8Array(buffer), blocks = new Uint32Array(buffer)
+ }!root.JS_MD5_NO_NODE_JS && Array.isArray || (Array.isArray = function(e) {
+ return "[object Array]" === Object.prototype.toString.call(e)
+ }), !ARRAY_BUFFER || !root.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW && ArrayBuffer.isView || (ArrayBuffer.isView = function(e) {
+ return "object" == typeof e && e.buffer && e.buffer.constructor === ArrayBuffer
+ });
+ var createOutputMethod = function(e) {
+ return function(t) {
+ return new Md5(!0).update(t)[e]()
+ }
+ },
+ createMethod = function() {
+ var e = createOutputMethod("hex");
+ NODE_JS && (e = nodeWrap(e)), e.create = function() {
+ return new Md5
+ }, e.update = function(t) {
+ return e.create().update(t)
+ };
+ for (var t = 0; t < OUTPUT_TYPES.length; ++t) {
+ var n = OUTPUT_TYPES[t];
+ e[n] = createOutputMethod(n)
+ }
+ return e
+ },
+ nodeWrap = function(method) {
+ var crypto = eval("require('crypto')"),
+ Buffer = eval("require('buffer').Buffer"),
+ nodeMethod = function(e) {
+ if ("string" == typeof e) return crypto.createHash("md5").update(e, "utf8").digest("hex");
+ if (null == e) throw ERROR;
+ return e.constructor === ArrayBuffer && (e = new Uint8Array(e)), Array.isArray(e) || ArrayBuffer.isView(e) || e.constructor === Buffer ? crypto.createHash("md5").update(new Buffer(e)).digest("hex") : method(e)
+ };
+ return nodeMethod
+ };
- function ja(e, t, n) {
- for (var i = n ? Et : St, o = e[0].length, s = e.length, l = s, c = a(s), u = 1 / 0, d = []; l--;) {
- var p = e[l];
- l && t && (p = xt(p, Ht(t))), u = yn(p.length, u), c[l] = !n && (t || o >= 120 && p.length >= 120) ? new Gn(l && p) : r
- }
- p = e[0];
- var h = -1,
- m = c[0];
- e: for (; ++h < o && d.length < u;) {
- var f = p[h],
- g = t ? t(f) : f;
- if (f = n || 0 !== f ? f : 0, !(m ? Wt(m, g) : i(d, g, n))) {
- for (l = s; --l;) {
- var b = c[l];
- if (!(b ? Wt(b, g) : i(e[l], g, n))) continue e
- }
- m && m.push(g), d.push(f)
- }
- }
- return d
- }
+ function Md5(e) {
+ if (e) blocks[0] = blocks[16] = blocks[1] = blocks[2] = blocks[3] = blocks[4] = blocks[5] = blocks[6] = blocks[7] = blocks[8] = blocks[9] = blocks[10] = blocks[11] = blocks[12] = blocks[13] = blocks[14] = blocks[15] = 0, this.blocks = blocks, this.buffer8 = buffer8;
+ else if (ARRAY_BUFFER) {
+ var t = new ArrayBuffer(68);
+ this.buffer8 = new Uint8Array(t), this.blocks = new Uint32Array(t)
+ } else this.blocks = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
+ this.h0 = this.h1 = this.h2 = this.h3 = this.start = this.bytes = 0, this.finalized = this.hashed = !1, this.first = !0
+ }
+ Md5.prototype.update = function(e) {
+ if (!this.finalized) {
+ var t, n = typeof e;
+ if ("string" !== n) {
+ if ("object" !== n) throw ERROR;
+ if (null === e) throw ERROR;
+ if (ARRAY_BUFFER && e.constructor === ArrayBuffer) e = new Uint8Array(e);
+ else if (!(Array.isArray(e) || ARRAY_BUFFER && ArrayBuffer.isView(e))) throw ERROR;
+ t = !0
+ }
+ for (var a, r, i = 0, o = e.length, s = this.blocks, l = this.buffer8; i < o;) {
+ if (this.hashed && (this.hashed = !1, s[0] = s[16], s[16] = s[1] = s[2] = s[3] = s[4] = s[5] = s[6] = s[7] = s[8] = s[9] = s[10] = s[11] = s[12] = s[13] = s[14] = s[15] = 0), t)
+ if (ARRAY_BUFFER)
+ for (r = this.start; i < o && r < 64; ++i) l[r++] = e[i];
+ else
+ for (r = this.start; i < o && r < 64; ++i) s[r >> 2] |= e[i] << SHIFT[3 & r++];
+ else if (ARRAY_BUFFER)
+ for (r = this.start; i < o && r < 64; ++i)(a = e.charCodeAt(i)) < 128 ? l[r++] = a : a < 2048 ? (l[r++] = 192 | a >> 6, l[r++] = 128 | 63 & a) : a < 55296 || a >= 57344 ? (l[r++] = 224 | a >> 12, l[r++] = 128 | a >> 6 & 63, l[r++] = 128 | 63 & a) : (a = 65536 + ((1023 & a) << 10 | 1023 & e.charCodeAt(++i)), l[r++] = 240 | a >> 18, l[r++] = 128 | a >> 12 & 63, l[r++] = 128 | a >> 6 & 63, l[r++] = 128 | 63 & a);
+ else
+ for (r = this.start; i < o && r < 64; ++i)(a = e.charCodeAt(i)) < 128 ? s[r >> 2] |= a << SHIFT[3 & r++] : a < 2048 ? (s[r >> 2] |= (192 | a >> 6) << SHIFT[3 & r++], s[r >> 2] |= (128 | 63 & a) << SHIFT[3 & r++]) : a < 55296 || a >= 57344 ? (s[r >> 2] |= (224 | a >> 12) << SHIFT[3 & r++], s[r >> 2] |= (128 | a >> 6 & 63) << SHIFT[3 & r++], s[r >> 2] |= (128 | 63 & a) << SHIFT[3 & r++]) : (a = 65536 + ((1023 & a) << 10 | 1023 & e.charCodeAt(++i)), s[r >> 2] |= (240 | a >> 18) << SHIFT[3 & r++], s[r >> 2] |= (128 | a >> 12 & 63) << SHIFT[3 & r++], s[r >> 2] |= (128 | a >> 6 & 63) << SHIFT[3 & r++], s[r >> 2] |= (128 | 63 & a) << SHIFT[3 & r++]);
+ this.lastByteIndex = r, this.bytes += r - this.start, r >= 64 ? (this.start = r - 64, this.hash(), this.hashed = !0) : this.start = r
+ }
+ return this
+ }
+ }, Md5.prototype.finalize = function() {
+ if (!this.finalized) {
+ this.finalized = !0;
+ var e = this.blocks,
+ t = this.lastByteIndex;
+ e[t >> 2] |= EXTRA[3 & t], t >= 56 && (this.hashed || this.hash(), e[0] = e[16], e[16] = e[1] = e[2] = e[3] = e[4] = e[5] = e[6] = e[7] = e[8] = e[9] = e[10] = e[11] = e[12] = e[13] = e[14] = e[15] = 0), e[14] = this.bytes << 3, this.hash()
+ }
+ }, Md5.prototype.hash = function() {
+ var e, t, n, a, r, i, o = this.blocks;
+ this.first ? t = ((t = ((e = ((e = o[0] - 680876937) << 7 | e >>> 25) - 271733879 << 0) ^ (n = ((n = (-271733879 ^ (a = ((a = (-1732584194 ^ 2004318071 & e) + o[1] - 117830708) << 12 | a >>> 20) + e << 0) & (-271733879 ^ e)) + o[2] - 1126478375) << 17 | n >>> 15) + a << 0) & (a ^ e)) + o[3] - 1316259209) << 22 | t >>> 10) + n << 0 : (e = this.h0, t = this.h1, n = this.h2, t = ((t += ((e = ((e += ((a = this.h3) ^ t & (n ^ a)) + o[0] - 680876936) << 7 | e >>> 25) + t << 0) ^ (n = ((n += (t ^ (a = ((a += (n ^ e & (t ^ n)) + o[1] - 389564586) << 12 | a >>> 20) + e << 0) & (e ^ t)) + o[2] + 606105819) << 17 | n >>> 15) + a << 0) & (a ^ e)) + o[3] - 1044525330) << 22 | t >>> 10) + n << 0), t = ((t += ((e = ((e += (a ^ t & (n ^ a)) + o[4] - 176418897) << 7 | e >>> 25) + t << 0) ^ (n = ((n += (t ^ (a = ((a += (n ^ e & (t ^ n)) + o[5] + 1200080426) << 12 | a >>> 20) + e << 0) & (e ^ t)) + o[6] - 1473231341) << 17 | n >>> 15) + a << 0) & (a ^ e)) + o[7] - 45705983) << 22 | t >>> 10) + n << 0, t = ((t += ((e = ((e += (a ^ t & (n ^ a)) + o[8] + 1770035416) << 7 | e >>> 25) + t << 0) ^ (n = ((n += (t ^ (a = ((a += (n ^ e & (t ^ n)) + o[9] - 1958414417) << 12 | a >>> 20) + e << 0) & (e ^ t)) + o[10] - 42063) << 17 | n >>> 15) + a << 0) & (a ^ e)) + o[11] - 1990404162) << 22 | t >>> 10) + n << 0, t = ((t += ((e = ((e += (a ^ t & (n ^ a)) + o[12] + 1804603682) << 7 | e >>> 25) + t << 0) ^ (n = ((n += (t ^ (a = ((a += (n ^ e & (t ^ n)) + o[13] - 40341101) << 12 | a >>> 20) + e << 0) & (e ^ t)) + o[14] - 1502002290) << 17 | n >>> 15) + a << 0) & (a ^ e)) + o[15] + 1236535329) << 22 | t >>> 10) + n << 0, t = ((t += ((a = ((a += (t ^ n & ((e = ((e += (n ^ a & (t ^ n)) + o[1] - 165796510) << 5 | e >>> 27) + t << 0) ^ t)) + o[6] - 1069501632) << 9 | a >>> 23) + e << 0) ^ e & ((n = ((n += (e ^ t & (a ^ e)) + o[11] + 643717713) << 14 | n >>> 18) + a << 0) ^ a)) + o[0] - 373897302) << 20 | t >>> 12) + n << 0, t = ((t += ((a = ((a += (t ^ n & ((e = ((e += (n ^ a & (t ^ n)) + o[5] - 701558691) << 5 | e >>> 27) + t << 0) ^ t)) + o[10] + 38016083) << 9 | a >>> 23) + e << 0) ^ e & ((n = ((n += (e ^ t & (a ^ e)) + o[15] - 660478335) << 14 | n >>> 18) + a << 0) ^ a)) + o[4] - 405537848) << 20 | t >>> 12) + n << 0, t = ((t += ((a = ((a += (t ^ n & ((e = ((e += (n ^ a & (t ^ n)) + o[9] + 568446438) << 5 | e >>> 27) + t << 0) ^ t)) + o[14] - 1019803690) << 9 | a >>> 23) + e << 0) ^ e & ((n = ((n += (e ^ t & (a ^ e)) + o[3] - 187363961) << 14 | n >>> 18) + a << 0) ^ a)) + o[8] + 1163531501) << 20 | t >>> 12) + n << 0, t = ((t += ((a = ((a += (t ^ n & ((e = ((e += (n ^ a & (t ^ n)) + o[13] - 1444681467) << 5 | e >>> 27) + t << 0) ^ t)) + o[2] - 51403784) << 9 | a >>> 23) + e << 0) ^ e & ((n = ((n += (e ^ t & (a ^ e)) + o[7] + 1735328473) << 14 | n >>> 18) + a << 0) ^ a)) + o[12] - 1926607734) << 20 | t >>> 12) + n << 0, t = ((t += ((i = (a = ((a += ((r = t ^ n) ^ (e = ((e += (r ^ a) + o[5] - 378558) << 4 | e >>> 28) + t << 0)) + o[8] - 2022574463) << 11 | a >>> 21) + e << 0) ^ e) ^ (n = ((n += (i ^ t) + o[11] + 1839030562) << 16 | n >>> 16) + a << 0)) + o[14] - 35309556) << 23 | t >>> 9) + n << 0, t = ((t += ((i = (a = ((a += ((r = t ^ n) ^ (e = ((e += (r ^ a) + o[1] - 1530992060) << 4 | e >>> 28) + t << 0)) + o[4] + 1272893353) << 11 | a >>> 21) + e << 0) ^ e) ^ (n = ((n += (i ^ t) + o[7] - 155497632) << 16 | n >>> 16) + a << 0)) + o[10] - 1094730640) << 23 | t >>> 9) + n << 0, t = ((t += ((i = (a = ((a += ((r = t ^ n) ^ (e = ((e += (r ^ a) + o[13] + 681279174) << 4 | e >>> 28) + t << 0)) + o[0] - 358537222) << 11 | a >>> 21) + e << 0) ^ e) ^ (n = ((n += (i ^ t) + o[3] - 722521979) << 16 | n >>> 16) + a << 0)) + o[6] + 76029189) << 23 | t >>> 9) + n << 0, t = ((t += ((i = (a = ((a += ((r = t ^ n) ^ (e = ((e += (r ^ a) + o[9] - 640364487) << 4 | e >>> 28) + t << 0)) + o[12] - 421815835) << 11 | a >>> 21) + e << 0) ^ e) ^ (n = ((n += (i ^ t) + o[15] + 530742520) << 16 | n >>> 16) + a << 0)) + o[2] - 995338651) << 23 | t >>> 9) + n << 0, t = ((t += ((a = ((a += (t ^ ((e = ((e += (n ^ (t | ~a)) + o[0] - 198630844) << 6 | e >>> 26) + t << 0) | ~n)) + o[7] + 1126891415) << 10 | a >>> 22) + e << 0) ^ ((n = ((n += (e ^ (a | ~t)) + o[14] - 1416354905) << 15 | n >>> 17) + a << 0) | ~e)) + o[5] - 57434055) << 21 | t >>> 11) + n << 0, t = ((t += ((a = ((a += (t ^ ((e = ((e += (n ^ (t | ~a)) + o[12] + 1700485571) << 6 | e >>> 26) + t << 0) | ~n)) + o[3] - 1894986606) << 10 | a >>> 22) + e << 0) ^ ((n = ((n += (e ^ (a | ~t)) + o[10] - 1051523) << 15 | n >>> 17) + a << 0) | ~e)) + o[1] - 2054922799) << 21 | t >>> 11) + n << 0, t = ((t += ((a = ((a += (t ^ ((e = ((e += (n ^ (t | ~a)) + o[8] + 1873313359) << 6 | e >>> 26) + t << 0) | ~n)) + o[15] - 30611744) << 10 | a >>> 22) + e << 0) ^ ((n = ((n += (e ^ (a | ~t)) + o[6] - 1560198380) << 15 | n >>> 17) + a << 0) | ~e)) + o[13] + 1309151649) << 21 | t >>> 11) + n << 0, t = ((t += ((a = ((a += (t ^ ((e = ((e += (n ^ (t | ~a)) + o[4] - 145523070) << 6 | e >>> 26) + t << 0) | ~n)) + o[11] - 1120210379) << 10 | a >>> 22) + e << 0) ^ ((n = ((n += (e ^ (a | ~t)) + o[2] + 718787259) << 15 | n >>> 17) + a << 0) | ~e)) + o[9] - 343485551) << 21 | t >>> 11) + n << 0, this.first ? (this.h0 = e + 1732584193 << 0, this.h1 = t - 271733879 << 0, this.h2 = n - 1732584194 << 0, this.h3 = a + 271733878 << 0, this.first = !1) : (this.h0 = this.h0 + e << 0, this.h1 = this.h1 + t << 0, this.h2 = this.h2 + n << 0, this.h3 = this.h3 + a << 0)
+ }, Md5.prototype.hex = function() {
+ this.finalize();
+ var e = this.h0,
+ t = this.h1,
+ n = this.h2,
+ a = this.h3;
+ return HEX_CHARS[e >> 4 & 15] + HEX_CHARS[15 & e] + HEX_CHARS[e >> 12 & 15] + HEX_CHARS[e >> 8 & 15] + HEX_CHARS[e >> 20 & 15] + HEX_CHARS[e >> 16 & 15] + HEX_CHARS[e >> 28 & 15] + HEX_CHARS[e >> 24 & 15] + HEX_CHARS[t >> 4 & 15] + HEX_CHARS[15 & t] + HEX_CHARS[t >> 12 & 15] + HEX_CHARS[t >> 8 & 15] + HEX_CHARS[t >> 20 & 15] + HEX_CHARS[t >> 16 & 15] + HEX_CHARS[t >> 28 & 15] + HEX_CHARS[t >> 24 & 15] + HEX_CHARS[n >> 4 & 15] + HEX_CHARS[15 & n] + HEX_CHARS[n >> 12 & 15] + HEX_CHARS[n >> 8 & 15] + HEX_CHARS[n >> 20 & 15] + HEX_CHARS[n >> 16 & 15] + HEX_CHARS[n >> 28 & 15] + HEX_CHARS[n >> 24 & 15] + HEX_CHARS[a >> 4 & 15] + HEX_CHARS[15 & a] + HEX_CHARS[a >> 12 & 15] + HEX_CHARS[a >> 8 & 15] + HEX_CHARS[a >> 20 & 15] + HEX_CHARS[a >> 16 & 15] + HEX_CHARS[a >> 28 & 15] + HEX_CHARS[a >> 24 & 15]
+ }, Md5.prototype.toString = Md5.prototype.hex, Md5.prototype.digest = function() {
+ this.finalize();
+ var e = this.h0,
+ t = this.h1,
+ n = this.h2,
+ a = this.h3;
+ return [255 & e, e >> 8 & 255, e >> 16 & 255, e >> 24 & 255, 255 & t, t >> 8 & 255, t >> 16 & 255, t >> 24 & 255, 255 & n, n >> 8 & 255, n >> 16 & 255, n >> 24 & 255, 255 & a, a >> 8 & 255, a >> 16 & 255, a >> 24 & 255]
+ }, Md5.prototype.array = Md5.prototype.digest, Md5.prototype.arrayBuffer = function() {
+ this.finalize();
+ var e = new ArrayBuffer(16),
+ t = new Uint32Array(e);
+ return t[0] = this.h0, t[1] = this.h1, t[2] = this.h2, t[3] = this.h3, e
+ }, Md5.prototype.buffer = Md5.prototype.arrayBuffer, Md5.prototype.base64 = function() {
+ for (var e, t, n, a = "", r = this.array(), i = 0; i < 15;) e = r[i++], t = r[i++], n = r[i++], a += BASE64_ENCODE_CHAR[e >>> 2] + BASE64_ENCODE_CHAR[63 & (e << 4 | t >>> 4)] + BASE64_ENCODE_CHAR[63 & (t << 2 | n >>> 6)] + BASE64_ENCODE_CHAR[63 & n];
+ return e = r[i], a + (BASE64_ENCODE_CHAR[e >>> 2] + BASE64_ENCODE_CHAR[e << 4 & 63] + "==")
+ };
+ var exports = createMethod();
+ COMMON_JS ? module.exports = exports : (root.md5 = exports, AMD && (__WEBPACK_AMD_DEFINE_RESULT__ = function() {
+ return exports
+ }.call(exports, __webpack_require__, exports, module), void 0 === __WEBPACK_AMD_DEFINE_RESULT__ || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)))
+ })()
+}, 9229: e => {
+ function t(e) {
+ this.message = e
+ }
+ t.prototype = new Error, t.prototype.name = "InvalidCharacterError", e.exports = "undefined" != typeof window && window.atob && window.atob.bind(window) || function(e) {
+ var n = String(e).replace(/=+$/, "");
+ if (n.length % 4 == 1) throw new t("'atob' failed: The string to be decoded is not correctly encoded.");
+ for (var a, r, i = 0, o = 0, s = ""; r = n.charAt(o++); ~r && (a = i % 4 ? 64 * a + r : r, i++ % 4) ? s += String.fromCharCode(255 & a >> (-2 * i & 6)) : 0) r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);
+ return s
+ }
+}, 2099: (e, t, n) => {
+ var a = n(9229);
+ e.exports = function(e) {
+ var t = e.replace(/-/g, "+").replace(/_/g, "/");
+ switch (t.length % 4) {
+ case 0:
+ break;
+ case 2:
+ t += "==";
+ break;
+ case 3:
+ t += "=";
+ break;
+ default:
+ throw "Illegal base64url string!"
+ }
+ try {
+ return function(e) {
+ return decodeURIComponent(a(e).replace(/(.)/g, (function(e, t) {
+ var n = t.charCodeAt(0).toString(16).toUpperCase();
+ return n.length < 2 && (n = "0" + n), "%" + n
+ })))
+ }(t)
+ } catch (e) {
+ return a(t)
+ }
+ }
+}, 9623: (e, t, n) => {
+ "use strict";
+ var a = n(2099);
- function Pa(e, t, n) {
- var a = null == (e = xi(e, t = br(t, e))) ? e : e[Ri(Ji(t))];
- return null == a ? r : bt(a, e, n)
- }
+ function r(e) {
+ this.message = e
+ }
+ r.prototype = new Error, r.prototype.name = "InvalidTokenError", e.exports = function(e, t) {
+ if ("string" != typeof e) throw new r("Invalid token specified");
+ var n = !0 === (t = t || {}).header ? 0 : 1;
+ try {
+ return JSON.parse(a(e.split(".")[n]))
+ } catch (e) {
+ throw new r("Invalid token specified: " + e.message)
+ }
+ }, e.exports.InvalidTokenError = r
+}, 6148: (e, t, n) => {
+ "use strict";
- function Da(e) {
- return ns(e) && Ea(e) == f
- }
+ function a(e) {
+ var t = Array.prototype.slice.call(arguments, 1);
+ return t.forEach((function(t) {
+ t && Object.keys(t).forEach((function(n) {
+ e[n] = t[n]
+ }))
+ })), e
+ }
- function Ta(e, t, n, a, i) {
- return e === t || (null == e || null == t || !ns(e) && !ns(t) ? e != e && t != t : function(e, t, n, a, i, o) {
- var s = Wo(e),
- l = Wo(t),
- c = s ? g : pi(e),
- u = l ? g : pi(t),
- d = (c = c == f ? E : c) == E,
- p = (u = u == f ? E : u) == E,
- h = c == u;
- if (h && $o(e)) {
- if (!$o(t)) return !1;
- s = !0, d = !1
- }
- if (h && !d) return o || (o = new Kn), s || us(e) ? Xr(e, t, n, a, i, o) : function(e, t, n, a, r, i, o) {
- switch (n) {
- case O:
- if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset) return !1;
- e = e.buffer, t = t.buffer;
- case T:
- return !(e.byteLength != t.byteLength || !i(new Ue(e), new Ue(t)));
- case b:
- case y:
- case S:
- return Bo(+e, +t);
- case v:
- return e.name == t.name && e.message == t.message;
- case C:
- case j:
- return e == t + "";
- case w:
- var s = Xt;
- case A:
- var l = 1 & a;
- if (s || (s = nn), e.size != t.size && !l) return !1;
- var c = o.get(e);
- if (c) return c == t;
- a |= 2, o.set(e, t);
- var u = Xr(s(e), s(t), a, r, i, o);
- return o.delete(e), u;
- case P:
- if (Rn) return Rn.call(e) == Rn.call(t)
- }
- return !1
- }(e, t, c, n, a, i, o);
- if (!(1 & n)) {
- var m = d && Me.call(e, "__wrapped__"),
- k = p && Me.call(t, "__wrapped__");
- if (m || k) {
- var _ = m ? e.value() : e,
- x = k ? t.value() : t;
- return o || (o = new Kn), i(_, x, n, a, o)
- }
- }
- return !!h && (o || (o = new Kn), function(e, t, n, a, i, o) {
- var s = 1 & n,
- l = ti(e),
- c = l.length;
- if (c != ti(t).length && !s) return !1;
- for (var u = c; u--;) {
- var d = l[u];
- if (!(s ? d in t : Me.call(t, d))) return !1
- }
- var p = o.get(e),
- h = o.get(t);
- if (p && h) return p == t && h == e;
- var m = !0;
- o.set(e, t), o.set(t, e);
- for (var f = s; ++u < c;) {
- var g = e[d = l[u]],
- b = t[d];
- if (a) var y = s ? a(b, g, d, t, e, o) : a(g, b, d, e, t, o);
- if (!(y === r ? g === b || i(g, b, n, a, o) : y)) {
- m = !1;
- break
- }
- f || (f = "constructor" == d)
- }
- if (m && !f) {
- var v = e.constructor,
- k = t.constructor;
- v == k || !("constructor" in e) || !("constructor" in t) || "function" == typeof v && v instanceof v && "function" == typeof k && k instanceof k || (m = !1)
- }
- return o.delete(e), o.delete(t), m
- }(e, t, n, a, i, o))
- }(e, t, n, a, Ta, i))
- }
-
- function Oa(e, t, n, a) {
- var i = n.length,
- o = i,
- s = !a;
- if (null == e) return !o;
- for (e = Ee(e); i--;) {
- var l = n[i];
- if (s && l[2] ? l[1] !== e[l[0]] : !(l[0] in e)) return !1
- }
- for (; ++i < o;) {
- var c = (l = n[i])[0],
- u = e[c],
- d = l[1];
- if (s && l[2]) {
- if (u === r && !(c in e)) return !1
- } else {
- var p = new Kn;
- if (a) var h = a(u, d, c, e, t, p);
- if (!(h === r ? Ta(d, u, 3, a, p) : h)) return !1
- }
- }
- return !0
- }
+ function r(e) {
+ return Object.prototype.toString.call(e)
+ }
- function Ma(e) {
- return !(!ts(e) || (t = e, Ne && Ne in t)) && (Qo(e) ? Fe : fe).test(Li(e));
- var t
- }
+ function i(e) {
+ return "[object Function]" === r(e)
+ }
- function Ia(e) {
- return "function" == typeof e ? e : null == e ? rl : "object" == typeof e ? Wo(e) ? Fa(e[0], e[1]) : La(e) : hl(e)
- }
+ function o(e) {
+ return e.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&")
+ }
+ var s = {
+ fuzzyLink: !0,
+ fuzzyEmail: !0,
+ fuzzyIP: !1
+ },
+ l = {
+ "http:": {
+ validate: function(e, t, n) {
+ var a = e.slice(t);
+ return n.re.http || (n.re.http = new RegExp("^\\/\\/" + n.re.src_auth + n.re.src_host_port_strict + n.re.src_path, "i")), n.re.http.test(a) ? a.match(n.re.http)[0].length : 0
+ }
+ },
+ "https:": "http:",
+ "ftp:": "http:",
+ "//": {
+ validate: function(e, t, n) {
+ var a = e.slice(t);
+ return n.re.no_http || (n.re.no_http = new RegExp("^" + n.re.src_auth + "(?:localhost|(?:(?:" + n.re.src_domain + ")\\.)+" + n.re.src_domain_root + ")" + n.re.src_port + n.re.src_host_terminator + n.re.src_path, "i")), n.re.no_http.test(a) ? t >= 3 && ":" === e[t - 3] || t >= 3 && "/" === e[t - 3] ? 0 : a.match(n.re.no_http)[0].length : 0
+ }
+ },
+ "mailto:": {
+ validate: function(e, t, n) {
+ var a = e.slice(t);
+ return n.re.mailto || (n.re.mailto = new RegExp("^" + n.re.src_email_name + "@" + n.re.src_host_strict, "i")), n.re.mailto.test(a) ? a.match(n.re.mailto)[0].length : 0
+ }
+ }
+ },
+ c = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");
- function Na(e) {
- if (!_i(e)) return gn(e);
- var t = [];
- for (var n in Ee(e)) Me.call(e, n) && "constructor" != n && t.push(n);
- return t
- }
+ function u(e) {
+ var t = e.re = n(3854)(e.__opts__),
+ a = e.__tlds__.slice();
- function za(e, t) {
- return e < t
- }
+ function s(e) {
+ return e.replace("%TLDS%", t.src_tlds)
+ }
+ e.onCompile(), e.__tlds_replaced__ || a.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"), a.push(t.src_xn), t.src_tlds = a.join("|"), t.email_fuzzy = RegExp(s(t.tpl_email_fuzzy), "i"), t.link_fuzzy = RegExp(s(t.tpl_link_fuzzy), "i"), t.link_no_ip_fuzzy = RegExp(s(t.tpl_link_no_ip_fuzzy), "i"), t.host_fuzzy_test = RegExp(s(t.tpl_host_fuzzy_test), "i");
+ var l = [];
- function Ra(e, t) {
- var n = -1,
- r = Go(e) ? a(e.length) : [];
- return da(e, (function(e, a, i) {
- r[++n] = t(e, a, i)
- })), r
- }
+ function c(e, t) {
+ throw new Error('(LinkifyIt) Invalid schema "' + e + '": ' + t)
+ }
+ e.__compiled__ = {}, Object.keys(e.__schemas__).forEach((function(t) {
+ var n = e.__schemas__[t];
+ if (null !== n) {
+ var a = {
+ validate: null,
+ link: null
+ };
+ if (e.__compiled__[t] = a, "[object Object]" === r(n)) return "[object RegExp]" !== r(n.validate) ? i(n.validate) ? a.validate = n.validate : c(t, n) : a.validate = function(e) {
+ return function(t, n) {
+ var a = t.slice(n);
+ return e.test(a) ? a.match(e)[0].length : 0
+ }
+ }(n.validate), void(i(n.normalize) ? a.normalize = n.normalize : n.normalize ? c(t, n) : a.normalize = function(e, t) {
+ t.normalize(e)
+ });
+ ! function(e) {
+ return "[object String]" === r(e)
+ }(n) ? c(t, n): l.push(t)
+ }
+ })), l.forEach((function(t) {
+ e.__compiled__[e.__schemas__[t]] && (e.__compiled__[t].validate = e.__compiled__[e.__schemas__[t]].validate, e.__compiled__[t].normalize = e.__compiled__[e.__schemas__[t]].normalize)
+ })), e.__compiled__[""] = {
+ validate: null,
+ normalize: function(e, t) {
+ t.normalize(e)
+ }
+ };
+ var u = Object.keys(e.__compiled__).filter((function(t) {
+ return t.length > 0 && e.__compiled__[t]
+ })).map(o).join("|");
+ e.re.schema_test = RegExp("(^|(?!_)(?:[><|]|" + t.src_ZPCc + "))(" + u + ")", "i"), e.re.schema_search = RegExp("(^|(?!_)(?:[><|]|" + t.src_ZPCc + "))(" + u + ")", "ig"), e.re.pretest = RegExp("(" + e.re.schema_test.source + ")|(" + e.re.host_fuzzy_test.source + ")|@", "i"),
+ function(e) {
+ e.__index__ = -1, e.__text_cache__ = ""
+ }(e)
+ }
- function La(e) {
- var t = li(e);
- return 1 == t.length && t[0][2] ? Si(t[0][0], t[0][1]) : function(n) {
- return n === e || Oa(n, e, t)
- }
- }
+ function d(e, t) {
+ var n = e.__index__,
+ a = e.__last_index__,
+ r = e.__text_cache__.slice(n, a);
+ this.schema = e.__schema__.toLowerCase(), this.index = n + t, this.lastIndex = a + t, this.raw = r, this.text = r, this.url = r
+ }
- function Fa(e, t) {
- return yi(e) && wi(t) ? Si(Ri(e), t) : function(n) {
- var a = As(n, e);
- return a === r && a === t ? js(n, e) : Ta(t, a, 3)
- }
- }
+ function p(e, t) {
+ var n = new d(e, t);
+ return e.__compiled__[n.schema].normalize(n, e), n
+ }
- function qa(e, t, n, a, i) {
- e !== t && ba(t, (function(o, s) {
- if (i || (i = new Kn), ts(o)) ! function(e, t, n, a, i, o, s) {
- var l = Ai(e, n),
- c = Ai(t, n),
- u = s.get(c);
- if (u) Xn(e, n, u);
- else {
- var d = o ? o(l, c, n + "", e, t, s) : r,
- p = d === r;
- if (p) {
- var h = Wo(c),
- m = !h && $o(c),
- f = !h && !m && us(c);
- d = c, h || m || f ? Wo(l) ? d = l : Ko(l) ? d = Ar(l) : m ? (p = !1, d = _r(c, !0)) : f ? (p = !1, d = Sr(c, !0)) : d = [] : is(c) || Vo(c) ? (d = l, Vo(l) ? d = ys(l) : ts(l) && !Qo(l) || (d = mi(c))) : p = !1
- }
- p && (s.set(c, d), i(d, c, a, o, s), s.delete(c)), Xn(e, n, d)
- }
- }(e, t, s, n, qa, a, i);
- else {
- var l = a ? a(Ai(e, s), o, s + "", e, t, i) : r;
- l === r && (l = o), Xn(e, s, l)
- }
- }), Ms)
- }
+ function h(e, t) {
+ if (!(this instanceof h)) return new h(e, t);
+ var n;
+ t || (n = e, Object.keys(n || {}).reduce((function(e, t) {
+ return e || s.hasOwnProperty(t)
+ }), !1) && (t = e, e = {})), this.__opts__ = a({}, s, t), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = a({}, l, e), this.__compiled__ = {}, this.__tlds__ = c, this.__tlds_replaced__ = !1, this.re = {}, u(this)
+ }
+ h.prototype.add = function(e, t) {
+ return this.__schemas__[e] = t, u(this), this
+ }, h.prototype.set = function(e) {
+ return this.__opts__ = a(this.__opts__, e), this
+ }, h.prototype.test = function(e) {
+ if (this.__text_cache__ = e, this.__index__ = -1, !e.length) return !1;
+ var t, n, a, r, i, o, s, l;
+ if (this.re.schema_test.test(e))
+ for ((s = this.re.schema_search).lastIndex = 0; null !== (t = s.exec(e));)
+ if (r = this.testSchemaAt(e, t[2], s.lastIndex)) {
+ this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + r;
+ break
+ } return this.__opts__.fuzzyLink && this.__compiled__["http:"] && (l = e.search(this.re.host_fuzzy_test)) >= 0 && (this.__index__ < 0 || l < this.__index__) && null !== (n = e.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) && (i = n.index + n[1].length, (this.__index__ < 0 || i < this.__index__) && (this.__schema__ = "", this.__index__ = i, this.__last_index__ = n.index + n[0].length)), this.__opts__.fuzzyEmail && this.__compiled__["mailto:"] && e.indexOf("@") >= 0 && null !== (a = e.match(this.re.email_fuzzy)) && (i = a.index + a[1].length, o = a.index + a[0].length, (this.__index__ < 0 || i < this.__index__ || i === this.__index__ && o > this.__last_index__) && (this.__schema__ = "mailto:", this.__index__ = i, this.__last_index__ = o)), this.__index__ >= 0
+ }, h.prototype.pretest = function(e) {
+ return this.re.pretest.test(e)
+ }, h.prototype.testSchemaAt = function(e, t, n) {
+ return this.__compiled__[t.toLowerCase()] ? this.__compiled__[t.toLowerCase()].validate(e, n, this) : 0
+ }, h.prototype.match = function(e) {
+ var t = 0,
+ n = [];
+ this.__index__ >= 0 && this.__text_cache__ === e && (n.push(p(this, t)), t = this.__last_index__);
+ for (var a = t ? e.slice(t) : e; this.test(a);) n.push(p(this, t)), a = a.slice(this.__last_index__), t += this.__last_index__;
+ return n.length ? n : null
+ }, h.prototype.tlds = function(e, t) {
+ return e = Array.isArray(e) ? e : [e], t ? (this.__tlds__ = this.__tlds__.concat(e).sort().filter((function(e, t, n) {
+ return e !== n[t - 1]
+ })).reverse(), u(this), this) : (this.__tlds__ = e.slice(), this.__tlds_replaced__ = !0, u(this), this)
+ }, h.prototype.normalize = function(e) {
+ e.schema || (e.url = "http://" + e.url), "mailto:" !== e.schema || /^mailto:/i.test(e.url) || (e.url = "mailto:" + e.url)
+ }, h.prototype.onCompile = function() {}, e.exports = h
+}, 3854: (e, t, n) => {
+ "use strict";
+ e.exports = function(e) {
+ var t = {};
+ return t.src_Any = n(8486).source, t.src_Cc = n(8690).source, t.src_Z = n(8382).source, t.src_P = n(4601).source, t.src_ZPCc = [t.src_Z, t.src_P, t.src_Cc].join("|"), t.src_ZCc = [t.src_Z, t.src_Cc].join("|"), t.src_pseudo_letter = "(?:(?![><|]|" + t.src_ZPCc + ")" + t.src_Any + ")", t.src_ip4 = "(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)", t.src_auth = "(?:(?:(?!" + t.src_ZCc + "|[@/\\[\\]()]).)+@)?", t.src_port = "(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?", t.src_host_terminator = "(?=$|[><|]|" + t.src_ZPCc + ")(?!-|_|:\\d|\\.-|\\.(?!$|" + t.src_ZPCc + "))", t.src_path = "(?:[/?#](?:(?!" + t.src_ZCc + "|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!" + t.src_ZCc + "|\\]).)*\\]|\\((?:(?!" + t.src_ZCc + "|[)]).)*\\)|\\{(?:(?!" + t.src_ZCc + '|[}]).)*\\}|\\"(?:(?!' + t.src_ZCc + '|["]).)+\\"|\\\'(?:(?!' + t.src_ZCc + "|[']).)+\\'|\\'(?=" + t.src_pseudo_letter + "|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!" + t.src_ZCc + "|[.]).|" + (e && e["---"] ? "\\-(?!--(?:[^-]|$))(?:-*)|" : "\\-+|") + "\\,(?!" + t.src_ZCc + ").|\\!(?!" + t.src_ZCc + "|[!]).|\\?(?!" + t.src_ZCc + "|[?]).)+|\\/)?", t.src_email_name = '[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*', t.src_xn = "xn--[a-z0-9\\-]{1,59}", t.src_domain_root = "(?:" + t.src_xn + "|" + t.src_pseudo_letter + "{1,63})", t.src_domain = "(?:" + t.src_xn + "|(?:" + t.src_pseudo_letter + ")|(?:" + t.src_pseudo_letter + "(?:-|" + t.src_pseudo_letter + "){0,61}" + t.src_pseudo_letter + "))", t.src_host = "(?:(?:(?:(?:" + t.src_domain + ")\\.)*" + t.src_domain + "))", t.tpl_host_fuzzy = "(?:" + t.src_ip4 + "|(?:(?:(?:" + t.src_domain + ")\\.)+(?:%TLDS%)))", t.tpl_host_no_ip_fuzzy = "(?:(?:(?:" + t.src_domain + ")\\.)+(?:%TLDS%))", t.src_host_strict = t.src_host + t.src_host_terminator, t.tpl_host_fuzzy_strict = t.tpl_host_fuzzy + t.src_host_terminator, t.src_host_port_strict = t.src_host + t.src_port + t.src_host_terminator, t.tpl_host_port_fuzzy_strict = t.tpl_host_fuzzy + t.src_port + t.src_host_terminator, t.tpl_host_port_no_ip_fuzzy_strict = t.tpl_host_no_ip_fuzzy + t.src_port + t.src_host_terminator, t.tpl_host_fuzzy_test = "localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:" + t.src_ZPCc + "|>|$))", t.tpl_email_fuzzy = '(^|[><|]|"|\\(|' + t.src_ZCc + ")(" + t.src_email_name + "@" + t.tpl_host_fuzzy_strict + ")", t.tpl_link_fuzzy = "(^|(?![.:/\\-_@])(?:[$+<=>^`||]|" + t.src_ZPCc + "))((?![$+<=>^`||])" + t.tpl_host_port_fuzzy_strict + t.src_path + ")", t.tpl_link_no_ip_fuzzy = "(^|(?![.:/\\-_@])(?:[$+<=>^`||]|" + t.src_ZPCc + "))((?![$+<=>^`||])" + t.tpl_host_port_no_ip_fuzzy_strict + t.src_path + ")", t
+ }
+}, 7947: e => {
+ function t(e, t) {
+ e.onload = function() {
+ this.onerror = this.onload = null, t(null, e)
+ }, e.onerror = function() {
+ this.onerror = this.onload = null, t(new Error("Failed to load " + this.src), e)
+ }
+ }
- function Ba(e, t) {
- var n = e.length;
- if (n) return gi(t += t < 0 ? n : 0, n) ? e[t] : r
- }
+ function n(e, t) {
+ e.onreadystatechange = function() {
+ "complete" != this.readyState && "loaded" != this.readyState || (this.onreadystatechange = null, t(null, e))
+ }
+ }
+ e.exports = function(e, a, r) {
+ var i = document.head || document.getElementsByTagName("head")[0],
+ o = document.createElement("script");
+ "function" == typeof a && (r = a, a = {}), a = a || {}, r = r || function() {}, o.type = a.type || "text/javascript", o.charset = a.charset || "utf8", o.async = !("async" in a) || !!a.async, o.src = e, a.attrs && function(e, t) {
+ for (var n in t) e.setAttribute(n, t[n])
+ }(o, a.attrs), a.text && (o.text = "" + a.text), ("onload" in o ? t : n)(o, r), o.onload || t(o, r), i.appendChild(o)
+ }
+}, 7027: (e, t, n) => {
+ var a = "object" == typeof n.g && n.g && n.g.Object === Object && n.g,
+ r = "object" == typeof self && self && self.Object === Object && self,
+ i = a || r || Function("return this")();
+
+ function o(e, t) {
+ for (var n = -1, a = t.length, r = e.length; ++n < a;) e[r + n] = t[n];
+ return e
+ }
+ var s = Object.prototype,
+ l = s.hasOwnProperty,
+ c = s.toString,
+ u = i.Symbol,
+ d = s.propertyIsEnumerable,
+ p = u ? u.isConcatSpreadable : void 0;
+
+ function h(e, t, n, a, r) {
+ var i = -1,
+ s = e.length;
+ for (n || (n = m), r || (r = []); ++i < s;) {
+ var l = e[i];
+ t > 0 && n(l) ? t > 1 ? h(l, t - 1, n, a, r) : o(r, l) : a || (r[r.length] = l)
+ }
+ return r
+ }
- function Ua(e, t, n) {
- t = t.length ? xt(t, (function(e) {
- return Wo(e) ? function(t) {
- return wa(t, 1 === e.length ? e[0] : e)
- } : e
- })) : [rl];
- var a = -1;
- t = xt(t, Ht(oi()));
- var r = Ra(e, (function(e, n, r) {
- var i = xt(t, (function(t) {
- return t(e)
- }));
- return {
- criteria: i,
- index: ++a,
- value: e
- }
- }));
- return function(e, t) {
- var a = e.length;
- for (e.sort((function(e, t) {
- return function(e, t, n) {
- for (var a = -1, r = e.criteria, i = t.criteria, o = r.length, s = n.length; ++a < o;) {
- var l = Er(r[a], i[a]);
- if (l) return a >= s ? l : l * ("desc" == n[a] ? -1 : 1)
- }
- return e.index - t.index
- }(e, t, n)
- })); a--;) e[a] = e[a].value;
- return e
- }(r)
- }
+ function m(e) {
+ return f(e) || function(e) {
+ return function(e) {
+ return function(e) {
+ return !!e && "object" == typeof e
+ }(e) && function(e) {
+ return null != e && function(e) {
+ return "number" == typeof e && e > -1 && e % 1 == 0 && e <= 9007199254740991
+ }(e.length) && ! function(e) {
+ var t = function(e) {
+ var t = typeof e;
+ return !!e && ("object" == t || "function" == t)
+ }(e) ? c.call(e) : "";
+ return "[object Function]" == t || "[object GeneratorFunction]" == t
+ }(e)
+ }(e)
+ }(e) && l.call(e, "callee") && (!d.call(e, "callee") || "[object Arguments]" == c.call(e))
+ }(e) || !!(p && e && e[p])
+ }
+ var f = Array.isArray;
+ e.exports = function(e) {
+ return e && e.length ? h(e, 1) : []
+ }
+}, 4458: e => {
+ var t = Object.prototype.toString,
+ n = Array.isArray;
+ e.exports = function(e) {
+ return "string" == typeof e || !n(e) && function(e) {
+ return !!e && "object" == typeof e
+ }(e) && "[object String]" == t.call(e)
+ }
+}, 7206: (e, t, n) => {
+ var a = n(4366).Symbol;
+ e.exports = a
+}, 7807: (e, t, n) => {
+ var a = n(7206),
+ r = n(3187),
+ i = n(2778),
+ o = a ? a.toStringTag : void 0;
+ e.exports = function(e) {
+ return null == e ? void 0 === e ? "[object Undefined]" : "[object Null]" : o && o in Object(e) ? r(e) : i(e)
+ }
+}, 4182: (e, t, n) => {
+ var a = n(9135),
+ r = /^\s+/;
+ e.exports = function(e) {
+ return e ? e.slice(0, a(e) + 1).replace(r, "") : e
+ }
+}, 4891: (e, t, n) => {
+ var a = "object" == typeof n.g && n.g && n.g.Object === Object && n.g;
+ e.exports = a
+}, 3187: (e, t, n) => {
+ var a = n(7206),
+ r = Object.prototype,
+ i = r.hasOwnProperty,
+ o = r.toString,
+ s = a ? a.toStringTag : void 0;
+ e.exports = function(e) {
+ var t = i.call(e, s),
+ n = e[s];
+ try {
+ e[s] = void 0;
+ var a = !0
+ } catch (e) {}
+ var r = o.call(e);
+ return a && (t ? e[s] = n : delete e[s]), r
+ }
+}, 2778: e => {
+ var t = Object.prototype.toString;
+ e.exports = function(e) {
+ return t.call(e)
+ }
+}, 4366: (e, t, n) => {
+ var a = n(4891),
+ r = "object" == typeof self && self && self.Object === Object && self,
+ i = a || r || Function("return this")();
+ e.exports = i
+}, 9135: e => {
+ var t = /\s/;
+ e.exports = function(e) {
+ for (var n = e.length; n-- && t.test(e.charAt(n)););
+ return n
+ }
+}, 3645: (e, t, n) => {
+ var a = n(1716),
+ r = n(9244),
+ i = n(1666),
+ o = Math.max,
+ s = Math.min;
+ e.exports = function(e, t, n) {
+ var l, c, u, d, p, h, m = 0,
+ f = !1,
+ g = !1,
+ b = !0;
+ if ("function" != typeof e) throw new TypeError("Expected a function");
+
+ function y(t) {
+ var n = l,
+ a = c;
+ return l = c = void 0, m = t, d = e.apply(a, n)
+ }
- function Ha(e, t, n) {
- for (var a = -1, r = t.length, i = {}; ++a < r;) {
- var o = t[a],
- s = wa(e, o);
- n(s, o) && Za(i, br(o, e), s)
- }
- return i
- }
+ function v(e) {
+ return m = e, p = setTimeout(_, t), f ? y(e) : d
+ }
- function Va(e, t, n, a) {
- var r = a ? It : Mt,
- i = -1,
- o = t.length,
- s = e;
- for (e === t && (t = Ar(t)), n && (s = xt(e, Ht(n))); ++i < o;)
- for (var l = 0, c = t[i], u = n ? n(c) : c;
- (l = r(s, u, l, a)) > -1;) s !== e && at.call(s, l, 1), at.call(e, l, 1);
- return e
- }
+ function k(e) {
+ var n = e - h;
+ return void 0 === h || n >= t || n < 0 || g && e - m >= u
+ }
- function Wa(e, t) {
- for (var n = e ? t.length : 0, a = n - 1; n--;) {
- var r = t[n];
- if (n == a || r !== i) {
- var i = r;
- gi(r) ? at.call(e, r, 1) : cr(e, r)
- }
- }
- return e
- }
+ function _() {
+ var e = r();
+ if (k(e)) return w(e);
+ p = setTimeout(_, function(e) {
+ var n = t - (e - h);
+ return g ? s(n, u - (e - m)) : n
+ }(e))
+ }
- function Ya(e, t) {
- return e + dn(_n() * (t - e + 1))
- }
+ function w(e) {
+ return p = void 0, b && l ? y(e) : (l = c = void 0, d)
+ }
- function Ga(e, t) {
- var n = "";
- if (!e || t < 1 || t > d) return n;
- do {
- t % 2 && (n += e), (t = dn(t / 2)) && (e += e)
- } while (t);
- return n
- }
+ function S() {
+ var e = r(),
+ n = k(e);
+ if (l = arguments, c = this, h = e, n) {
+ if (void 0 === p) return v(h);
+ if (g) return clearTimeout(p), p = setTimeout(_, t), y(h)
+ }
+ return void 0 === p && (p = setTimeout(_, t)), d
+ }
+ return t = i(t) || 0, a(n) && (f = !!n.leading, u = (g = "maxWait" in n) ? o(i(n.maxWait) || 0, t) : u, b = "trailing" in n ? !!n.trailing : b), S.cancel = function() {
+ void 0 !== p && clearTimeout(p), m = 0, l = h = c = p = void 0
+ }, S.flush = function() {
+ return void 0 === p ? d : w(r())
+ }, S
+ }
+}, 1716: e => {
+ e.exports = function(e) {
+ var t = typeof e;
+ return null != e && ("object" == t || "function" == t)
+ }
+}, 8667: e => {
+ e.exports = function(e) {
+ return null != e && "object" == typeof e
+ }
+}, 2570: (e, t, n) => {
+ var a = n(7807),
+ r = n(8667);
+ e.exports = function(e) {
+ return "symbol" == typeof e || r(e) && "[object Symbol]" == a(e)
+ }
+}, 103: function(e, t, n) {
+ var a;
+ e = n.nmd(e),
+ function() {
+ var r, i = "Expected a function",
+ o = "__lodash_hash_undefined__",
+ s = "__lodash_placeholder__",
+ l = 32,
+ c = 128,
+ u = 1 / 0,
+ d = 9007199254740991,
+ p = NaN,
+ h = 4294967295,
+ m = [
+ ["ary", c],
+ ["bind", 1],
+ ["bindKey", 2],
+ ["curry", 8],
+ ["curryRight", 16],
+ ["flip", 512],
+ ["partial", l],
+ ["partialRight", 64],
+ ["rearg", 256]
+ ],
+ f = "[object Arguments]",
+ g = "[object Array]",
+ b = "[object Boolean]",
+ y = "[object Date]",
+ v = "[object Error]",
+ k = "[object Function]",
+ _ = "[object GeneratorFunction]",
+ w = "[object Map]",
+ S = "[object Number]",
+ E = "[object Object]",
+ x = "[object Promise]",
+ C = "[object RegExp]",
+ A = "[object Set]",
+ T = "[object String]",
+ D = "[object Symbol]",
+ P = "[object WeakMap]",
+ j = "[object ArrayBuffer]",
+ M = "[object DataView]",
+ I = "[object Float32Array]",
+ O = "[object Float64Array]",
+ N = "[object Int8Array]",
+ R = "[object Int16Array]",
+ z = "[object Int32Array]",
+ L = "[object Uint8Array]",
+ F = "[object Uint8ClampedArray]",
+ q = "[object Uint16Array]",
+ B = "[object Uint32Array]",
+ U = /\b__p \+= '';/g,
+ H = /\b(__p \+=) '' \+/g,
+ V = /(__e\(.*?\)|\b__t\)) \+\n'';/g,
+ W = /&(?:amp|lt|gt|quot|#39);/g,
+ Y = /[&<>"']/g,
+ G = RegExp(W.source),
+ K = RegExp(Y.source),
+ $ = /<%-([\s\S]+?)%>/g,
+ J = /<%([\s\S]+?)%>/g,
+ Z = /<%=([\s\S]+?)%>/g,
+ Q = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
+ X = /^\w*$/,
+ ee = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,
+ te = /[\\^$.*+?()[\]{}|]/g,
+ ne = RegExp(te.source),
+ ae = /^\s+/,
+ re = /\s/,
+ ie = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,
+ oe = /\{\n\/\* \[wrapped with (.+)\] \*/,
+ se = /,? & /,
+ le = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,
+ ce = /[()=,{}\[\]\/\s]/,
+ ue = /\\(\\)?/g,
+ de = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,
+ pe = /\w*$/,
+ he = /^[-+]0x[0-9a-f]+$/i,
+ me = /^0b[01]+$/i,
+ fe = /^\[object .+?Constructor\]$/,
+ ge = /^0o[0-7]+$/i,
+ be = /^(?:0|[1-9]\d*)$/,
+ ye = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,
+ ve = /($^)/,
+ ke = /['\n\r\u2028\u2029\\]/g,
+ _e = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",
+ we = "a-z\\xdf-\\xf6\\xf8-\\xff",
+ Se = "A-Z\\xc0-\\xd6\\xd8-\\xde",
+ Ee = "\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",
+ xe = "[" + Ee + "]",
+ Ce = "[" + _e + "]",
+ Ae = "\\d+",
+ Te = "[" + we + "]",
+ De = "[^\\ud800-\\udfff" + Ee + Ae + "\\u2700-\\u27bf" + we + Se + "]",
+ Pe = "\\ud83c[\\udffb-\\udfff]",
+ je = "[^\\ud800-\\udfff]",
+ Me = "(?:\\ud83c[\\udde6-\\uddff]){2}",
+ Ie = "[\\ud800-\\udbff][\\udc00-\\udfff]",
+ Oe = "[" + Se + "]",
+ Ne = "(?:" + Te + "|" + De + ")",
+ Re = "(?:" + Oe + "|" + De + ")",
+ ze = "(?:['’](?:d|ll|m|re|s|t|ve))?",
+ Le = "(?:['’](?:D|LL|M|RE|S|T|VE))?",
+ Fe = "(?:" + Ce + "|" + Pe + ")?",
+ qe = "[\\ufe0e\\ufe0f]?",
+ Be = qe + Fe + "(?:\\u200d(?:" + [je, Me, Ie].join("|") + ")" + qe + Fe + ")*",
+ Ue = "(?:" + ["[\\u2700-\\u27bf]", Me, Ie].join("|") + ")" + Be,
+ He = "(?:" + [je + Ce + "?", Ce, Me, Ie, "[\\ud800-\\udfff]"].join("|") + ")",
+ Ve = RegExp("['’]", "g"),
+ We = RegExp(Ce, "g"),
+ Ye = RegExp(Pe + "(?=" + Pe + ")|" + He + Be, "g"),
+ Ge = RegExp([Oe + "?" + Te + "+" + ze + "(?=" + [xe, Oe, "$"].join("|") + ")", Re + "+" + Le + "(?=" + [xe, Oe + Ne, "$"].join("|") + ")", Oe + "?" + Ne + "+" + ze, Oe + "+" + Le, "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Ae, Ue].join("|"), "g"),
+ Ke = RegExp("[\\u200d\\ud800-\\udfff" + _e + "\\ufe0e\\ufe0f]"),
+ $e = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,
+ Je = ["Array", "Buffer", "DataView", "Date", "Error", "Float32Array", "Float64Array", "Function", "Int8Array", "Int16Array", "Int32Array", "Map", "Math", "Object", "Promise", "RegExp", "Set", "String", "Symbol", "TypeError", "Uint8Array", "Uint8ClampedArray", "Uint16Array", "Uint32Array", "WeakMap", "_", "clearTimeout", "isFinite", "parseInt", "setTimeout"],
+ Ze = -1,
+ Qe = {};
+ Qe[I] = Qe[O] = Qe[N] = Qe[R] = Qe[z] = Qe[L] = Qe[F] = Qe[q] = Qe[B] = !0, Qe[f] = Qe[g] = Qe[j] = Qe[b] = Qe[M] = Qe[y] = Qe[v] = Qe[k] = Qe[w] = Qe[S] = Qe[E] = Qe[C] = Qe[A] = Qe[T] = Qe[P] = !1;
+ var Xe = {};
+ Xe[f] = Xe[g] = Xe[j] = Xe[M] = Xe[b] = Xe[y] = Xe[I] = Xe[O] = Xe[N] = Xe[R] = Xe[z] = Xe[w] = Xe[S] = Xe[E] = Xe[C] = Xe[A] = Xe[T] = Xe[D] = Xe[L] = Xe[F] = Xe[q] = Xe[B] = !0, Xe[v] = Xe[k] = Xe[P] = !1;
+ var et = {
+ "\\": "\\",
+ "'": "'",
+ "\n": "n",
+ "\r": "r",
+ "\u2028": "u2028",
+ "\u2029": "u2029"
+ },
+ tt = parseFloat,
+ nt = parseInt,
+ at = "object" == typeof n.g && n.g && n.g.Object === Object && n.g,
+ rt = "object" == typeof self && self && self.Object === Object && self,
+ it = at || rt || Function("return this")(),
+ ot = t && !t.nodeType && t,
+ st = ot && e && !e.nodeType && e,
+ lt = st && st.exports === ot,
+ ct = lt && at.process,
+ ut = function() {
+ try {
+ return st && st.require && st.require("util").types || ct && ct.binding && ct.binding("util")
+ } catch (e) {}
+ }(),
+ dt = ut && ut.isArrayBuffer,
+ pt = ut && ut.isDate,
+ ht = ut && ut.isMap,
+ mt = ut && ut.isRegExp,
+ ft = ut && ut.isSet,
+ gt = ut && ut.isTypedArray;
+
+ function bt(e, t, n) {
+ switch (n.length) {
+ case 0:
+ return e.call(t);
+ case 1:
+ return e.call(t, n[0]);
+ case 2:
+ return e.call(t, n[0], n[1]);
+ case 3:
+ return e.call(t, n[0], n[1], n[2])
+ }
+ return e.apply(t, n)
+ }
- function Ka(e, t) {
- return Di(Ei(e, t, rl), e + "")
- }
+ function yt(e, t, n, a) {
+ for (var r = -1, i = null == e ? 0 : e.length; ++r < i;) {
+ var o = e[r];
+ t(a, o, n(o), e)
+ }
+ return a
+ }
- function $a(e) {
- return Jn(Bs(e))
- }
+ function vt(e, t) {
+ for (var n = -1, a = null == e ? 0 : e.length; ++n < a && !1 !== t(e[n], n, e););
+ return e
+ }
- function Ja(e, t) {
- var n = Bs(e);
- return Mi(n, oa(t, 0, n.length))
- }
+ function kt(e, t) {
+ for (var n = null == e ? 0 : e.length; n-- && !1 !== t(e[n], n, e););
+ return e
+ }
- function Za(e, t, n, a) {
- if (!ts(e)) return e;
- for (var i = -1, o = (t = br(t, e)).length, s = o - 1, l = e; null != l && ++i < o;) {
- var c = Ri(t[i]),
- u = n;
- if ("__proto__" === c || "constructor" === c || "prototype" === c) return e;
- if (i != s) {
- var d = l[c];
- (u = a ? a(d, c, l) : r) === r && (u = ts(d) ? d : gi(t[i + 1]) ? [] : {})
- }
- ea(l, c, u), l = l[c]
- }
- return e
- }
- var Qa = Pn ? function(e, t) {
- return Pn.set(e, t), e
- } : rl,
- Xa = ct ? function(e, t) {
- return ct(e, "toString", {
- configurable: !0,
- enumerable: !1,
- value: tl(t),
- writable: !0
- })
- } : rl;
+ function _t(e, t) {
+ for (var n = -1, a = null == e ? 0 : e.length; ++n < a;)
+ if (!t(e[n], n, e)) return !1;
+ return !0
+ }
- function er(e) {
- return Mi(Bs(e))
- }
+ function wt(e, t) {
+ for (var n = -1, a = null == e ? 0 : e.length, r = 0, i = []; ++n < a;) {
+ var o = e[n];
+ t(o, n, e) && (i[r++] = o)
+ }
+ return i
+ }
- function tr(e, t, n) {
- var r = -1,
- i = e.length;
- t < 0 && (t = -t > i ? 0 : i + t), (n = n > i ? i : n) < 0 && (n += i), i = t > n ? 0 : n - t >>> 0, t >>>= 0;
- for (var o = a(i); ++r < i;) o[r] = e[r + t];
- return o
- }
+ function St(e, t) {
+ return !(null == e || !e.length) && It(e, t, 0) > -1
+ }
- function nr(e, t) {
- var n;
- return da(e, (function(e, a, r) {
- return !(n = t(e, a, r))
- })), !!n
- }
-
- function ar(e, t, n) {
- var a = 0,
- r = null == e ? a : e.length;
- if ("number" == typeof t && t == t && r <= 2147483647) {
- for (; a < r;) {
- var i = a + r >>> 1,
- o = e[i];
- null !== o && !cs(o) && (n ? o <= t : o < t) ? a = i + 1 : r = i
- }
- return r
- }
- return rr(e, t, rl, n)
- }
-
- function rr(e, t, n, a) {
- var i = 0,
- o = null == e ? 0 : e.length;
- if (0 === o) return 0;
- for (var s = (t = n(t)) != t, l = null === t, c = cs(t), u = t === r; i < o;) {
- var d = dn((i + o) / 2),
- p = n(e[d]),
- h = p !== r,
- m = null === p,
- f = p == p,
- g = cs(p);
- if (s) var b = a || f;
- else b = u ? f && (a || h) : l ? f && h && (a || !m) : c ? f && h && !m && (a || !g) : !m && !g && (a ? p <= t : p < t);
- b ? i = d + 1 : o = d
- }
- return yn(o, 4294967294)
- }
+ function Et(e, t, n) {
+ for (var a = -1, r = null == e ? 0 : e.length; ++a < r;)
+ if (n(t, e[a])) return !0;
+ return !1
+ }
- function ir(e, t) {
- for (var n = -1, a = e.length, r = 0, i = []; ++n < a;) {
- var o = e[n],
- s = t ? t(o) : o;
- if (!n || !Bo(s, l)) {
- var l = s;
- i[r++] = 0 === o ? 0 : o
- }
- }
- return i
- }
+ function xt(e, t) {
+ for (var n = -1, a = null == e ? 0 : e.length, r = Array(a); ++n < a;) r[n] = t(e[n], n, e);
+ return r
+ }
- function or(e) {
- return "number" == typeof e ? e : cs(e) ? p : +e
- }
+ function Ct(e, t) {
+ for (var n = -1, a = t.length, r = e.length; ++n < a;) e[r + n] = t[n];
+ return e
+ }
- function sr(e) {
- if ("string" == typeof e) return e;
- if (Wo(e)) return xt(e, sr) + "";
- if (cs(e)) return Ln ? Ln.call(e) : "";
- var t = e + "";
- return "0" == t && 1 / e == -1 / 0 ? "-0" : t
- }
+ function At(e, t, n, a) {
+ var r = -1,
+ i = null == e ? 0 : e.length;
+ for (a && i && (n = e[++r]); ++r < i;) n = t(n, e[r], r, e);
+ return n
+ }
- function lr(e, t, n) {
- var a = -1,
- r = St,
- i = e.length,
- o = !0,
- s = [],
- l = s;
- if (n) o = !1, r = Et;
- else if (i >= 200) {
- var c = t ? null : Gr(e);
- if (c) return nn(c);
- o = !1, r = Wt, l = new Gn
- } else l = t ? [] : s;
- e: for (; ++a < i;) {
- var u = e[a],
- d = t ? t(u) : u;
- if (u = n || 0 !== u ? u : 0, o && d == d) {
- for (var p = l.length; p--;)
- if (l[p] === d) continue e;
- t && l.push(d), s.push(u)
- } else r(l, d, n) || (l !== s && l.push(d), s.push(u))
- }
- return s
- }
+ function Tt(e, t, n, a) {
+ var r = null == e ? 0 : e.length;
+ for (a && r && (n = e[--r]); r--;) n = t(n, e[r], r, e);
+ return n
+ }
- function cr(e, t) {
- return null == (e = xi(e, t = br(t, e))) || delete e[Ri(Ji(t))]
- }
+ function Dt(e, t) {
+ for (var n = -1, a = null == e ? 0 : e.length; ++n < a;)
+ if (t(e[n], n, e)) return !0;
+ return !1
+ }
+ var Pt = zt("length");
- function ur(e, t, n, a) {
- return Za(e, t, n(wa(e, t)), a)
- }
+ function jt(e, t, n) {
+ var a;
+ return n(e, (function(e, n, r) {
+ if (t(e, n, r)) return a = n, !1
+ })), a
+ }
- function dr(e, t, n, a) {
- for (var r = e.length, i = a ? r : -1;
- (a ? i-- : ++i < r) && t(e[i], i, e););
- return n ? tr(e, a ? 0 : i, a ? i + 1 : r) : tr(e, a ? i + 1 : 0, a ? r : i)
- }
+ function Mt(e, t, n, a) {
+ for (var r = e.length, i = n + (a ? 1 : -1); a ? i-- : ++i < r;)
+ if (t(e[i], i, e)) return i;
+ return -1
+ }
- function pr(e, t) {
- var n = e;
- return n instanceof Hn && (n = n.value()), At(t, (function(e, t) {
- return t.func.apply(t.thisArg, Ct([e], t.args))
- }), n)
- }
+ function It(e, t, n) {
+ return t == t ? function(e, t, n) {
+ for (var a = n - 1, r = e.length; ++a < r;)
+ if (e[a] === t) return a;
+ return -1
+ }(e, t, n) : Mt(e, Nt, n)
+ }
- function hr(e, t, n) {
- var r = e.length;
- if (r < 2) return r ? lr(e[0]) : [];
- for (var i = -1, o = a(r); ++i < r;)
- for (var s = e[i], l = -1; ++l < r;) l != i && (o[i] = ua(o[i] || s, e[l], t, n));
- return lr(ga(o, 1), t, n)
- }
+ function Ot(e, t, n, a) {
+ for (var r = n - 1, i = e.length; ++r < i;)
+ if (a(e[r], t)) return r;
+ return -1
+ }
- function mr(e, t, n) {
- for (var a = -1, i = e.length, o = t.length, s = {}; ++a < i;) {
- var l = a < o ? t[a] : r;
- n(s, e[a], l)
- }
- return s
- }
+ function Nt(e) {
+ return e != e
+ }
- function fr(e) {
- return Ko(e) ? e : []
- }
+ function Rt(e, t) {
+ var n = null == e ? 0 : e.length;
+ return n ? qt(e, t) / n : p
+ }
- function gr(e) {
- return "function" == typeof e ? e : rl
- }
+ function zt(e) {
+ return function(t) {
+ return null == t ? r : t[e]
+ }
+ }
- function br(e, t) {
- return Wo(e) ? e : yi(e, t) ? [e] : zi(vs(e))
- }
- var yr = Ka;
+ function Lt(e) {
+ return function(t) {
+ return null == e ? r : e[t]
+ }
+ }
- function vr(e, t, n) {
- var a = e.length;
- return n = n === r ? a : n, !t && n >= a ? e : tr(e, t, n)
- }
- var kr = ut || function(e) {
- return it.clearTimeout(e)
- };
+ function Ft(e, t, n, a, r) {
+ return r(e, (function(e, r, i) {
+ n = a ? (a = !1, e) : t(n, e, r, i)
+ })), n
+ }
- function _r(e, t) {
- if (t) return e.slice();
- var n = e.length,
- a = He ? He(n) : new e.constructor(n);
- return e.copy(a), a
- }
+ function qt(e, t) {
+ for (var n, a = -1, i = e.length; ++a < i;) {
+ var o = t(e[a]);
+ o !== r && (n = n === r ? o : n + o)
+ }
+ return n
+ }
- function wr(e) {
- var t = new e.constructor(e.byteLength);
- return new Ue(t).set(new Ue(e)), t
- }
+ function Bt(e, t) {
+ for (var n = -1, a = Array(e); ++n < e;) a[n] = t(n);
+ return a
+ }
- function Sr(e, t) {
- var n = t ? wr(e.buffer) : e.buffer;
- return new e.constructor(n, e.byteOffset, e.length)
- }
+ function Ut(e) {
+ return e ? e.slice(0, sn(e) + 1).replace(ae, "") : e
+ }
- function Er(e, t) {
- if (e !== t) {
- var n = e !== r,
- a = null === e,
- i = e == e,
- o = cs(e),
- s = t !== r,
- l = null === t,
- c = t == t,
- u = cs(t);
- if (!l && !u && !o && e > t || o && s && c && !l && !u || a && s && c || !n && c || !i) return 1;
- if (!a && !o && !u && e < t || u && n && i && !a && !o || l && n && i || !s && i || !c) return -1
- }
- return 0
- }
+ function Ht(e) {
+ return function(t) {
+ return e(t)
+ }
+ }
- function xr(e, t, n, r) {
- for (var i = -1, o = e.length, s = n.length, l = -1, c = t.length, u = bn(o - s, 0), d = a(c + u), p = !r; ++l < c;) d[l] = t[l];
- for (; ++i < s;)(p || i < o) && (d[n[i]] = e[i]);
- for (; u--;) d[l++] = e[i++];
- return d
- }
+ function Vt(e, t) {
+ return xt(t, (function(t) {
+ return e[t]
+ }))
+ }
- function Cr(e, t, n, r) {
- for (var i = -1, o = e.length, s = -1, l = n.length, c = -1, u = t.length, d = bn(o - l, 0), p = a(d + u), h = !r; ++i < d;) p[i] = e[i];
- for (var m = i; ++c < u;) p[m + c] = t[c];
- for (; ++s < l;)(h || i < o) && (p[m + n[s]] = e[i++]);
- return p
- }
+ function Wt(e, t) {
+ return e.has(t)
+ }
- function Ar(e, t) {
- var n = -1,
- r = e.length;
- for (t || (t = a(r)); ++n < r;) t[n] = e[n];
- return t
- }
+ function Yt(e, t) {
+ for (var n = -1, a = e.length; ++n < a && It(t, e[n], 0) > -1;);
+ return n
+ }
- function jr(e, t, n, a) {
- var i = !n;
- n || (n = {});
- for (var o = -1, s = t.length; ++o < s;) {
- var l = t[o],
- c = a ? a(n[l], e[l], l, n, e) : r;
- c === r && (c = e[l]), i ? ra(n, l, c) : ea(n, l, c)
- }
- return n
- }
+ function Gt(e, t) {
+ for (var n = e.length; n-- && It(t, e[n], 0) > -1;);
+ return n
+ }
- function Pr(e, t) {
- return function(n, a) {
- var r = Wo(n) ? yt : na,
- i = t ? t() : {};
- return r(n, e, oi(a, 2), i)
- }
- }
+ function Kt(e, t) {
+ for (var n = e.length, a = 0; n--;) e[n] === t && ++a;
+ return a
+ }
+ var $t = Lt({
+ À: "A",
+ Á: "A",
+ Â: "A",
+ Ã: "A",
+ Ä: "A",
+ Å: "A",
+ à: "a",
+ á: "a",
+ â: "a",
+ ã: "a",
+ ä: "a",
+ å: "a",
+ Ç: "C",
+ ç: "c",
+ Ð: "D",
+ ð: "d",
+ È: "E",
+ É: "E",
+ Ê: "E",
+ Ë: "E",
+ è: "e",
+ é: "e",
+ ê: "e",
+ ë: "e",
+ Ì: "I",
+ Í: "I",
+ Î: "I",
+ Ï: "I",
+ ì: "i",
+ í: "i",
+ î: "i",
+ ï: "i",
+ Ñ: "N",
+ ñ: "n",
+ Ò: "O",
+ Ó: "O",
+ Ô: "O",
+ Õ: "O",
+ Ö: "O",
+ Ø: "O",
+ ò: "o",
+ ó: "o",
+ ô: "o",
+ õ: "o",
+ ö: "o",
+ ø: "o",
+ Ù: "U",
+ Ú: "U",
+ Û: "U",
+ Ü: "U",
+ ù: "u",
+ ú: "u",
+ û: "u",
+ ü: "u",
+ Ý: "Y",
+ ý: "y",
+ ÿ: "y",
+ Æ: "Ae",
+ æ: "ae",
+ Þ: "Th",
+ þ: "th",
+ ß: "ss",
+ Ā: "A",
+ Ă: "A",
+ Ą: "A",
+ ā: "a",
+ ă: "a",
+ ą: "a",
+ Ć: "C",
+ Ĉ: "C",
+ Ċ: "C",
+ Č: "C",
+ ć: "c",
+ ĉ: "c",
+ ċ: "c",
+ č: "c",
+ Ď: "D",
+ Đ: "D",
+ ď: "d",
+ đ: "d",
+ Ē: "E",
+ Ĕ: "E",
+ Ė: "E",
+ Ę: "E",
+ Ě: "E",
+ ē: "e",
+ ĕ: "e",
+ ė: "e",
+ ę: "e",
+ ě: "e",
+ Ĝ: "G",
+ Ğ: "G",
+ Ġ: "G",
+ Ģ: "G",
+ ĝ: "g",
+ ğ: "g",
+ ġ: "g",
+ ģ: "g",
+ Ĥ: "H",
+ Ħ: "H",
+ ĥ: "h",
+ ħ: "h",
+ Ĩ: "I",
+ Ī: "I",
+ Ĭ: "I",
+ Į: "I",
+ İ: "I",
+ ĩ: "i",
+ ī: "i",
+ ĭ: "i",
+ į: "i",
+ ı: "i",
+ Ĵ: "J",
+ ĵ: "j",
+ Ķ: "K",
+ ķ: "k",
+ ĸ: "k",
+ Ĺ: "L",
+ Ļ: "L",
+ Ľ: "L",
+ Ŀ: "L",
+ Ł: "L",
+ ĺ: "l",
+ ļ: "l",
+ ľ: "l",
+ ŀ: "l",
+ ł: "l",
+ Ń: "N",
+ Ņ: "N",
+ Ň: "N",
+ Ŋ: "N",
+ ń: "n",
+ ņ: "n",
+ ň: "n",
+ ŋ: "n",
+ Ō: "O",
+ Ŏ: "O",
+ Ő: "O",
+ ō: "o",
+ ŏ: "o",
+ ő: "o",
+ Ŕ: "R",
+ Ŗ: "R",
+ Ř: "R",
+ ŕ: "r",
+ ŗ: "r",
+ ř: "r",
+ Ś: "S",
+ Ŝ: "S",
+ Ş: "S",
+ Š: "S",
+ ś: "s",
+ ŝ: "s",
+ ş: "s",
+ š: "s",
+ Ţ: "T",
+ Ť: "T",
+ Ŧ: "T",
+ ţ: "t",
+ ť: "t",
+ ŧ: "t",
+ Ũ: "U",
+ Ū: "U",
+ Ŭ: "U",
+ Ů: "U",
+ Ű: "U",
+ Ų: "U",
+ ũ: "u",
+ ū: "u",
+ ŭ: "u",
+ ů: "u",
+ ű: "u",
+ ų: "u",
+ Ŵ: "W",
+ ŵ: "w",
+ Ŷ: "Y",
+ ŷ: "y",
+ Ÿ: "Y",
+ Ź: "Z",
+ Ż: "Z",
+ Ž: "Z",
+ ź: "z",
+ ż: "z",
+ ž: "z",
+ IJ: "IJ",
+ ij: "ij",
+ Œ: "Oe",
+ œ: "oe",
+ ʼn: "'n",
+ ſ: "s"
+ }),
+ Jt = Lt({
+ "&": "&",
+ "<": "<",
+ ">": ">",
+ '"': """,
+ "'": "'"
+ });
- function Dr(e) {
- return Ka((function(t, n) {
- var a = -1,
- i = n.length,
- o = i > 1 ? n[i - 1] : r,
- s = i > 2 ? n[2] : r;
- for (o = e.length > 3 && "function" == typeof o ? (i--, o) : r, s && bi(n[0], n[1], s) && (o = i < 3 ? r : o, i = 1), t = Ee(t); ++a < i;) {
- var l = n[a];
- l && e(t, l, a, o)
- }
- return t
- }))
- }
+ function Zt(e) {
+ return "\\" + et[e]
+ }
- function Tr(e, t) {
- return function(n, a) {
- if (null == n) return n;
- if (!Go(n)) return e(n, a);
- for (var r = n.length, i = t ? r : -1, o = Ee(n);
- (t ? i-- : ++i < r) && !1 !== a(o[i], i, o););
- return n
- }
- }
+ function Qt(e) {
+ return Ke.test(e)
+ }
- function Or(e) {
- return function(t, n, a) {
- for (var r = -1, i = Ee(t), o = a(t), s = o.length; s--;) {
- var l = o[e ? s : ++r];
- if (!1 === n(i[l], l, i)) break
- }
- return t
- }
- }
+ function Xt(e) {
+ var t = -1,
+ n = Array(e.size);
+ return e.forEach((function(e, a) {
+ n[++t] = [a, e]
+ })), n
+ }
- function Mr(e) {
- return function(t) {
- var n = Qt(t = vs(t)) ? on(t) : r,
- a = n ? n[0] : t.charAt(0),
- i = n ? vr(n, 1).join("") : t.slice(1);
- return a[e]() + i
- }
- }
+ function en(e, t) {
+ return function(n) {
+ return e(t(n))
+ }
+ }
- function Ir(e) {
- return function(t) {
- return At(Qs(Vs(t).replace(Ve, "")), e, "")
- }
- }
+ function tn(e, t) {
+ for (var n = -1, a = e.length, r = 0, i = []; ++n < a;) {
+ var o = e[n];
+ o !== t && o !== s || (e[n] = s, i[r++] = n)
+ }
+ return i
+ }
- function Nr(e) {
- return function() {
- var t = arguments;
- switch (t.length) {
- case 0:
- return new e;
- case 1:
- return new e(t[0]);
- case 2:
- return new e(t[0], t[1]);
- case 3:
- return new e(t[0], t[1], t[2]);
- case 4:
- return new e(t[0], t[1], t[2], t[3]);
- case 5:
- return new e(t[0], t[1], t[2], t[3], t[4]);
- case 6:
- return new e(t[0], t[1], t[2], t[3], t[4], t[5]);
- case 7:
- return new e(t[0], t[1], t[2], t[3], t[4], t[5], t[6])
- }
- var n = qn(e.prototype),
- a = e.apply(n, t);
- return ts(a) ? a : n
- }
- }
+ function nn(e) {
+ var t = -1,
+ n = Array(e.size);
+ return e.forEach((function(e) {
+ n[++t] = e
+ })), n
+ }
- function zr(e) {
- return function(t, n, a) {
- var i = Ee(t);
- if (!Go(t)) {
- var o = oi(n, 3);
- t = Os(t), n = function(e) {
- return o(i[e], e, i)
- }
- }
- var s = e(t, n, a);
- return s > -1 ? i[o ? t[s] : s] : r
- }
- }
+ function an(e) {
+ var t = -1,
+ n = Array(e.size);
+ return e.forEach((function(e) {
+ n[++t] = [e, e]
+ })), n
+ }
- function Rr(e) {
- return ei((function(t) {
- var n = t.length,
- a = n,
- o = Un.prototype.thru;
- for (e && t.reverse(); a--;) {
- var s = t[a];
- if ("function" != typeof s) throw new Ae(i);
- if (o && !l && "wrapper" == ri(s)) var l = new Un([], !0)
- }
- for (a = l ? a : n; ++a < n;) {
- var c = ri(s = t[a]),
- u = "wrapper" == c ? ai(s) : r;
- l = u && vi(u[0]) && 424 == u[1] && !u[4].length && 1 == u[9] ? l[ri(u[0])].apply(l, u[3]) : 1 == s.length && vi(s) ? l[c]() : l.thru(s)
- }
- return function() {
- var e = arguments,
- a = e[0];
- if (l && 1 == e.length && Wo(a)) return l.plant(a).value();
- for (var r = 0, i = n ? t[r].apply(this, e) : a; ++r < n;) i = t[r].call(this, i);
- return i
- }
- }))
- }
+ function rn(e) {
+ return Qt(e) ? function(e) {
+ for (var t = Ye.lastIndex = 0; Ye.test(e);) ++t;
+ return t
+ }(e) : Pt(e)
+ }
- function Lr(e, t, n, i, o, s, l, u, d, p) {
- var h = t & c,
- m = 1 & t,
- f = 2 & t,
- g = 24 & t,
- b = 512 & t,
- y = f ? r : Nr(e);
- return function r() {
- for (var c = arguments.length, v = a(c), k = c; k--;) v[k] = arguments[k];
- if (g) var _ = ii(r),
- w = Kt(v, _);
- if (i && (v = xr(v, i, o, g)), s && (v = Cr(v, s, l, g)), c -= w, g && c < p) {
- var S = tn(v, _);
- return Wr(e, t, Lr, r.placeholder, n, v, S, u, d, p - c)
- }
- var E = m ? n : this,
- x = f ? E[e] : e;
- return c = v.length, u ? v = Ci(v, u) : b && c > 1 && v.reverse(), h && d < c && (v.length = d), this && this !== it && this instanceof r && (x = y || Nr(x)), x.apply(E, v)
- }
- }
+ function on(e) {
+ return Qt(e) ? function(e) {
+ return e.match(Ye) || []
+ }(e) : function(e) {
+ return e.split("")
+ }(e)
+ }
- function Fr(e, t) {
- return function(n, a) {
- return function(e, t, n, a) {
- return va(e, (function(e, r, i) {
- t(a, n(e), r, i)
- })), a
- }(n, e, t(a), {})
- }
+ function sn(e) {
+ for (var t = e.length; t-- && re.test(e.charAt(t)););
+ return t
+ }
+ var ln = Lt({
+ "&": "&",
+ "<": "<",
+ ">": ">",
+ """: '"',
+ "'": "'"
+ }),
+ cn = function e(t) {
+ var n, a = (t = null == t ? it : cn.defaults(it.Object(), t, cn.pick(it, Je))).Array,
+ re = t.Date,
+ _e = t.Error,
+ we = t.Function,
+ Se = t.Math,
+ Ee = t.Object,
+ xe = t.RegExp,
+ Ce = t.String,
+ Ae = t.TypeError,
+ Te = a.prototype,
+ De = we.prototype,
+ Pe = Ee.prototype,
+ je = t["__core-js_shared__"],
+ Me = De.toString,
+ Ie = Pe.hasOwnProperty,
+ Oe = 0,
+ Ne = (n = /[^.]+$/.exec(je && je.keys && je.keys.IE_PROTO || "")) ? "Symbol(src)_1." + n : "",
+ Re = Pe.toString,
+ ze = Me.call(Ee),
+ Le = it._,
+ Fe = xe("^" + Me.call(Ie).replace(te, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"),
+ qe = lt ? t.Buffer : r,
+ Be = t.Symbol,
+ Ue = t.Uint8Array,
+ He = qe ? qe.allocUnsafe : r,
+ Ye = en(Ee.getPrototypeOf, Ee),
+ Ke = Ee.create,
+ et = Pe.propertyIsEnumerable,
+ at = Te.splice,
+ rt = Be ? Be.isConcatSpreadable : r,
+ ot = Be ? Be.iterator : r,
+ st = Be ? Be.toStringTag : r,
+ ct = function() {
+ try {
+ var e = ci(Ee, "defineProperty");
+ return e({}, "", {}), e
+ } catch (e) {}
+ }(),
+ ut = t.clearTimeout !== it.clearTimeout && t.clearTimeout,
+ Pt = re && re.now !== it.Date.now && re.now,
+ Lt = t.setTimeout !== it.setTimeout && t.setTimeout,
+ un = Se.ceil,
+ dn = Se.floor,
+ pn = Ee.getOwnPropertySymbols,
+ hn = qe ? qe.isBuffer : r,
+ mn = t.isFinite,
+ fn = Te.join,
+ gn = en(Ee.keys, Ee),
+ bn = Se.max,
+ yn = Se.min,
+ vn = re.now,
+ kn = t.parseInt,
+ _n = Se.random,
+ wn = Te.reverse,
+ Sn = ci(t, "DataView"),
+ En = ci(t, "Map"),
+ xn = ci(t, "Promise"),
+ Cn = ci(t, "Set"),
+ An = ci(t, "WeakMap"),
+ Tn = ci(Ee, "create"),
+ Dn = An && new An,
+ Pn = {},
+ jn = Li(Sn),
+ Mn = Li(En),
+ In = Li(xn),
+ On = Li(Cn),
+ Nn = Li(An),
+ Rn = Be ? Be.prototype : r,
+ zn = Rn ? Rn.valueOf : r,
+ Ln = Rn ? Rn.toString : r;
+
+ function Fn(e) {
+ if (ns(e) && !Wo(e) && !(e instanceof Hn)) {
+ if (e instanceof Un) return e;
+ if (Ie.call(e, "__wrapped__")) return Fi(e)
+ }
+ return new Un(e)
+ }
+ var qn = function() {
+ function e() {}
+ return function(t) {
+ if (!ts(t)) return {};
+ if (Ke) return Ke(t);
+ e.prototype = t;
+ var n = new e;
+ return e.prototype = r, n
}
+ }();
- function qr(e, t) {
- return function(n, a) {
- var i;
- if (n === r && a === r) return t;
- if (n !== r && (i = n), a !== r) {
- if (i === r) return a;
- "string" == typeof n || "string" == typeof a ? (n = sr(n), a = sr(a)) : (n = or(n), a = or(a)), i = e(n, a)
- }
- return i
- }
- }
+ function Bn() {}
- function Br(e) {
- return ei((function(t) {
- return t = xt(t, Ht(oi())), Ka((function(n) {
- var a = this;
- return e(t, (function(e) {
- return bt(e, a, n)
- }))
- }))
- }))
- }
+ function Un(e, t) {
+ this.__wrapped__ = e, this.__actions__ = [], this.__chain__ = !!t, this.__index__ = 0, this.__values__ = r
+ }
- function Ur(e, t) {
- var n = (t = t === r ? " " : sr(t)).length;
- if (n < 2) return n ? Ga(t, e) : t;
- var a = Ga(t, un(e / rn(t)));
- return Qt(t) ? vr(on(a), 0, e).join("") : a.slice(0, e)
- }
+ function Hn(e) {
+ this.__wrapped__ = e, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = h, this.__views__ = []
+ }
- function Hr(e) {
- return function(t, n, i) {
- return i && "number" != typeof i && bi(t, n, i) && (n = i = r), t = ms(t), n === r ? (n = t, t = 0) : n = ms(n),
- function(e, t, n, r) {
- for (var i = -1, o = bn(un((t - e) / (n || 1)), 0), s = a(o); o--;) s[r ? o : ++i] = e, e += n;
- return s
- }(t, n, i = i === r ? t < n ? 1 : -1 : ms(i), e)
- }
+ function Vn(e) {
+ var t = -1,
+ n = null == e ? 0 : e.length;
+ for (this.clear(); ++t < n;) {
+ var a = e[t];
+ this.set(a[0], a[1])
}
+ }
- function Vr(e) {
- return function(t, n) {
- return "string" == typeof t && "string" == typeof n || (t = bs(t), n = bs(n)), e(t, n)
- }
+ function Wn(e) {
+ var t = -1,
+ n = null == e ? 0 : e.length;
+ for (this.clear(); ++t < n;) {
+ var a = e[t];
+ this.set(a[0], a[1])
}
+ }
- function Wr(e, t, n, a, i, o, s, c, u, d) {
- var p = 8 & t;
- t |= p ? l : 64, 4 & (t &= ~(p ? 64 : l)) || (t &= -4);
- var h = [e, t, i, p ? o : r, p ? s : r, p ? r : o, p ? r : s, c, u, d],
- m = n.apply(r, h);
- return vi(e) && ji(m, h), m.placeholder = a, Ti(m, e, t)
+ function Yn(e) {
+ var t = -1,
+ n = null == e ? 0 : e.length;
+ for (this.clear(); ++t < n;) {
+ var a = e[t];
+ this.set(a[0], a[1])
}
+ }
- function Yr(e) {
- var t = Se[e];
- return function(e, n) {
- if (e = bs(e), (n = null == n ? 0 : yn(fs(n), 292)) && mn(e)) {
- var a = (vs(e) + "e").split("e");
- return +((a = (vs(t(a[0] + "e" + (+a[1] + n))) + "e").split("e"))[0] + "e" + (+a[1] - n))
- }
- return t(e)
- }
- }
- var Gr = Cn && 1 / nn(new Cn([, -0]))[1] == u ? function(e) {
- return new Cn(e)
- } : cl;
+ function Gn(e) {
+ var t = -1,
+ n = null == e ? 0 : e.length;
+ for (this.__data__ = new Yn; ++t < n;) this.add(e[t])
+ }
- function Kr(e) {
- return function(t) {
- var n = pi(t);
- return n == w ? Xt(t) : n == A ? an(t) : function(e, t) {
- return xt(t, (function(t) {
- return [t, e[t]]
- }))
- }(t, e(t))
- }
- }
+ function Kn(e) {
+ var t = this.__data__ = new Wn(e);
+ this.size = t.size
+ }
- function $r(e, t, n, o, u, d, p, h) {
- var m = 2 & t;
- if (!m && "function" != typeof e) throw new Ae(i);
- var f = o ? o.length : 0;
- if (f || (t &= -97, o = u = r), p = p === r ? p : bn(fs(p), 0), h = h === r ? h : fs(h), f -= u ? u.length : 0, 64 & t) {
- var g = o,
- b = u;
- o = u = r
- }
- var y = m ? r : ai(e),
- v = [e, t, n, o, u, g, b, d, p, h];
- if (y && function(e, t) {
- var n = e[1],
- a = t[1],
- r = n | a,
- i = r < 131,
- o = a == c && 8 == n || a == c && 256 == n && e[7].length <= t[8] || 384 == a && t[7].length <= t[8] && 8 == n;
- if (!i && !o) return e;
- 1 & a && (e[2] = t[2], r |= 1 & n ? 0 : 4);
- var l = t[3];
- if (l) {
- var u = e[3];
- e[3] = u ? xr(u, l, t[4]) : l, e[4] = u ? tn(e[3], s) : t[4]
- }(l = t[5]) && (u = e[5], e[5] = u ? Cr(u, l, t[6]) : l, e[6] = u ? tn(e[5], s) : t[6]), (l = t[7]) && (e[7] = l), a & c && (e[8] = null == e[8] ? t[8] : yn(e[8], t[8])), null == e[9] && (e[9] = t[9]), e[0] = t[0], e[1] = r
- }(v, y), e = v[0], t = v[1], n = v[2], o = v[3], u = v[4], !(h = v[9] = v[9] === r ? m ? 0 : e.length : bn(v[9] - f, 0)) && 24 & t && (t &= -25), t && 1 != t) k = 8 == t || 16 == t ? function(e, t, n) {
- var i = Nr(e);
- return function o() {
- for (var s = arguments.length, l = a(s), c = s, u = ii(o); c--;) l[c] = arguments[c];
- var d = s < 3 && l[0] !== u && l[s - 1] !== u ? [] : tn(l, u);
- return (s -= d.length) < n ? Wr(e, t, Lr, o.placeholder, r, l, d, r, r, n - s) : bt(this && this !== it && this instanceof o ? i : e, this, l)
- }
- }(e, t, h) : t != l && 33 != t || u.length ? Lr.apply(r, v) : function(e, t, n, r) {
- var i = 1 & t,
- o = Nr(e);
- return function t() {
- for (var s = -1, l = arguments.length, c = -1, u = r.length, d = a(u + l), p = this && this !== it && this instanceof t ? o : e; ++c < u;) d[c] = r[c];
- for (; l--;) d[c++] = arguments[++s];
- return bt(p, i ? n : this, d)
- }
- }(e, t, n, o);
- else var k = function(e, t, n) {
- var a = 1 & t,
- r = Nr(e);
- return function t() {
- return (this && this !== it && this instanceof t ? r : e).apply(a ? n : this, arguments)
- }
- }(e, t, n);
- return Ti((y ? Qa : ji)(k, v), e, t)
- }
+ function $n(e, t) {
+ var n = Wo(e),
+ a = !n && Vo(e),
+ r = !n && !a && $o(e),
+ i = !n && !a && !r && us(e),
+ o = n || a || r || i,
+ s = o ? Bt(e.length, Ce) : [],
+ l = s.length;
+ for (var c in e) !t && !Ie.call(e, c) || o && ("length" == c || r && ("offset" == c || "parent" == c) || i && ("buffer" == c || "byteLength" == c || "byteOffset" == c) || gi(c, l)) || s.push(c);
+ return s
+ }
- function Jr(e, t, n, a) {
- return e === r || Bo(e, De[n]) && !Me.call(a, n) ? t : e
- }
+ function Jn(e) {
+ var t = e.length;
+ return t ? e[Ya(0, t - 1)] : r
+ }
- function Zr(e, t, n, a, i, o) {
- return ts(e) && ts(t) && (o.set(t, e), qa(e, t, r, Zr, o), o.delete(t)), e
- }
+ function Zn(e, t) {
+ return Ii(Ar(e), oa(t, 0, e.length))
+ }
- function Qr(e) {
- return is(e) ? r : e
- }
+ function Qn(e) {
+ return Ii(Ar(e))
+ }
- function Xr(e, t, n, a, i, o) {
- var s = 1 & n,
- l = e.length,
- c = t.length;
- if (l != c && !(s && c > l)) return !1;
- var u = o.get(e),
- d = o.get(t);
- if (u && d) return u == t && d == e;
- var p = -1,
- h = !0,
- m = 2 & n ? new Gn : r;
- for (o.set(e, t), o.set(t, e); ++p < l;) {
- var f = e[p],
- g = t[p];
- if (a) var b = s ? a(g, f, p, t, e, o) : a(f, g, p, e, t, o);
- if (b !== r) {
- if (b) continue;
- h = !1;
- break
- }
- if (m) {
- if (!Pt(t, (function(e, t) {
- if (!Wt(m, t) && (f === e || i(f, e, n, a, o))) return m.push(t)
- }))) {
- h = !1;
- break
- }
- } else if (f !== g && !i(f, g, n, a, o)) {
- h = !1;
- break
- }
- }
- return o.delete(e), o.delete(t), h
- }
+ function Xn(e, t, n) {
+ (n !== r && !Bo(e[t], n) || n === r && !(t in e)) && ra(e, t, n)
+ }
- function ei(e) {
- return Di(Ei(e, r, Wi), e + "")
- }
+ function ea(e, t, n) {
+ var a = e[t];
+ Ie.call(e, t) && Bo(a, n) && (n !== r || t in e) || ra(e, t, n)
+ }
- function ti(e) {
- return Sa(e, Os, ui)
- }
+ function ta(e, t) {
+ for (var n = e.length; n--;)
+ if (Bo(e[n][0], t)) return n;
+ return -1
+ }
- function ni(e) {
- return Sa(e, Ms, di)
- }
- var ai = Pn ? function(e) {
- return Pn.get(e)
- } : cl;
+ function na(e, t, n, a) {
+ return da(e, (function(e, r, i) {
+ t(a, e, n(e), i)
+ })), a
+ }
- function ri(e) {
- for (var t = e.name + "", n = Dn[t], a = Me.call(Dn, t) ? n.length : 0; a--;) {
- var r = n[a],
- i = r.func;
- if (null == i || i == e) return r.name
- }
- return t
- }
+ function aa(e, t) {
+ return e && Tr(t, Ms(t), e)
+ }
- function ii(e) {
- return (Me.call(Fn, "placeholder") ? Fn : e).placeholder
- }
+ function ra(e, t, n) {
+ "__proto__" == t && ct ? ct(e, t, {
+ configurable: !0,
+ enumerable: !0,
+ value: n,
+ writable: !0
+ }) : e[t] = n
+ }
- function oi() {
- var e = Fn.iteratee || il;
- return e = e === il ? Ia : e, arguments.length ? e(arguments[0], arguments[1]) : e
- }
+ function ia(e, t) {
+ for (var n = -1, i = t.length, o = a(i), s = null == e; ++n < i;) o[n] = s ? r : As(e, t[n]);
+ return o
+ }
- function si(e, t) {
- var n, a, r = e.__data__;
- return ("string" == (a = typeof(n = t)) || "number" == a || "symbol" == a || "boolean" == a ? "__proto__" !== n : null === n) ? r["string" == typeof t ? "string" : "hash"] : r.map
- }
+ function oa(e, t, n) {
+ return e == e && (n !== r && (e = e <= n ? e : n), t !== r && (e = e >= t ? e : t)), e
+ }
- function li(e) {
- for (var t = Os(e), n = t.length; n--;) {
- var a = t[n],
- r = e[a];
- t[n] = [a, r, wi(r)]
+ function sa(e, t, n, a, i, o) {
+ var s, l = 1 & t,
+ c = 2 & t,
+ u = 4 & t;
+ if (n && (s = i ? n(e, a, i, o) : n(e)), s !== r) return s;
+ if (!ts(e)) return e;
+ var d = Wo(e);
+ if (d) {
+ if (s = function(e) {
+ var t = e.length,
+ n = new e.constructor(t);
+ return t && "string" == typeof e[0] && Ie.call(e, "index") && (n.index = e.index, n.input = e.input), n
+ }(e), !l) return Ar(e, s)
+ } else {
+ var p = pi(e),
+ h = p == k || p == _;
+ if ($o(e)) return _r(e, l);
+ if (p == E || p == f || h && !i) {
+ if (s = c || h ? {} : mi(e), !l) return c ? function(e, t) {
+ return Tr(e, di(e), t)
+ }(e, function(e, t) {
+ return e && Tr(t, Is(t), e)
+ }(s, e)) : function(e, t) {
+ return Tr(e, ui(e), t)
+ }(e, aa(s, e))
+ } else {
+ if (!Xe[p]) return i ? e : {};
+ s = function(e, t, n) {
+ var a, r = e.constructor;
+ switch (t) {
+ case j:
+ return wr(e);
+ case b:
+ case y:
+ return new r(+e);
+ case M:
+ return function(e, t) {
+ var n = t ? wr(e.buffer) : e.buffer;
+ return new e.constructor(n, e.byteOffset, e.byteLength)
+ }(e, n);
+ case I:
+ case O:
+ case N:
+ case R:
+ case z:
+ case L:
+ case F:
+ case q:
+ case B:
+ return Sr(e, n);
+ case w:
+ case A:
+ return new r;
+ case S:
+ case T:
+ return new r(e);
+ case C:
+ return function(e) {
+ var t = new e.constructor(e.source, pe.exec(e));
+ return t.lastIndex = e.lastIndex, t
+ }(e);
+ case D:
+ return a = e, zn ? Ee(zn.call(a)) : {}
+ }
+ }(e, p, l)
}
- return t
}
+ o || (o = new Kn);
+ var m = o.get(e);
+ if (m) return m;
+ o.set(e, s), ss(e) ? e.forEach((function(a) {
+ s.add(sa(a, t, n, a, e, o))
+ })) : as(e) && e.forEach((function(a, r) {
+ s.set(r, sa(a, t, n, r, e, o))
+ }));
+ var g = d ? r : (u ? c ? ni : ti : c ? Is : Ms)(e);
+ return vt(g || e, (function(a, r) {
+ g && (a = e[r = a]), ea(s, r, sa(a, t, n, r, e, o))
+ })), s
+ }
- function ci(e, t) {
- var n = function(e, t) {
- return null == e ? r : e[t]
- }(e, t);
- return Ma(n) ? n : r
- }
- var ui = pn ? function(e) {
- return null == e ? [] : (e = Ee(e), wt(pn(e), (function(t) {
- return et.call(e, t)
- })))
- } : gl,
- di = pn ? function(e) {
- for (var t = []; e;) Ct(t, ui(e)), e = Ye(e);
- return t
- } : gl,
- pi = Ea;
-
- function hi(e, t, n) {
- for (var a = -1, r = (t = br(t, e)).length, i = !1; ++a < r;) {
- var o = Ri(t[a]);
- if (!(i = null != e && n(e, o))) break;
- e = e[o]
- }
- return i || ++a != r ? i : !!(r = null == e ? 0 : e.length) && es(r) && gi(o, r) && (Wo(e) || Vo(e))
+ function la(e, t, n) {
+ var a = n.length;
+ if (null == e) return !a;
+ for (e = Ee(e); a--;) {
+ var i = n[a],
+ o = t[i],
+ s = e[i];
+ if (s === r && !(i in e) || !o(s)) return !1
}
+ return !0
+ }
- function mi(e) {
- return "function" != typeof e.constructor || _i(e) ? {} : qn(Ye(e))
- }
+ function ca(e, t, n) {
+ if ("function" != typeof e) throw new Ae(i);
+ return Di((function() {
+ e.apply(r, n)
+ }), t)
+ }
- function fi(e) {
- return Wo(e) || Vo(e) || !!(rt && e && e[rt])
+ function ua(e, t, n, a) {
+ var r = -1,
+ i = St,
+ o = !0,
+ s = e.length,
+ l = [],
+ c = t.length;
+ if (!s) return l;
+ n && (t = xt(t, Ht(n))), a ? (i = Et, o = !1) : t.length >= 200 && (i = Wt, o = !1, t = new Gn(t));
+ e: for (; ++r < s;) {
+ var u = e[r],
+ d = null == n ? u : n(u);
+ if (u = a || 0 !== u ? u : 0, o && d == d) {
+ for (var p = c; p--;)
+ if (t[p] === d) continue e;
+ l.push(u)
+ } else i(t, d, a) || l.push(u)
}
+ return l
+ }
+ Fn.templateSettings = {
+ escape: $,
+ evaluate: J,
+ interpolate: Z,
+ variable: "",
+ imports: {
+ _: Fn
+ }
+ }, Fn.prototype = Bn.prototype, Fn.prototype.constructor = Fn, Un.prototype = qn(Bn.prototype), Un.prototype.constructor = Un, Hn.prototype = qn(Bn.prototype), Hn.prototype.constructor = Hn, Vn.prototype.clear = function() {
+ this.__data__ = Tn ? Tn(null) : {}, this.size = 0
+ }, Vn.prototype.delete = function(e) {
+ var t = this.has(e) && delete this.__data__[e];
+ return this.size -= t ? 1 : 0, t
+ }, Vn.prototype.get = function(e) {
+ var t = this.__data__;
+ if (Tn) {
+ var n = t[e];
+ return n === o ? r : n
+ }
+ return Ie.call(t, e) ? t[e] : r
+ }, Vn.prototype.has = function(e) {
+ var t = this.__data__;
+ return Tn ? t[e] !== r : Ie.call(t, e)
+ }, Vn.prototype.set = function(e, t) {
+ var n = this.__data__;
+ return this.size += this.has(e) ? 0 : 1, n[e] = Tn && t === r ? o : t, this
+ }, Wn.prototype.clear = function() {
+ this.__data__ = [], this.size = 0
+ }, Wn.prototype.delete = function(e) {
+ var t = this.__data__,
+ n = ta(t, e);
+ return !(n < 0 || (n == t.length - 1 ? t.pop() : at.call(t, n, 1), --this.size, 0))
+ }, Wn.prototype.get = function(e) {
+ var t = this.__data__,
+ n = ta(t, e);
+ return n < 0 ? r : t[n][1]
+ }, Wn.prototype.has = function(e) {
+ return ta(this.__data__, e) > -1
+ }, Wn.prototype.set = function(e, t) {
+ var n = this.__data__,
+ a = ta(n, e);
+ return a < 0 ? (++this.size, n.push([e, t])) : n[a][1] = t, this
+ }, Yn.prototype.clear = function() {
+ this.size = 0, this.__data__ = {
+ hash: new Vn,
+ map: new(En || Wn),
+ string: new Vn
+ }
+ }, Yn.prototype.delete = function(e) {
+ var t = si(this, e).delete(e);
+ return this.size -= t ? 1 : 0, t
+ }, Yn.prototype.get = function(e) {
+ return si(this, e).get(e)
+ }, Yn.prototype.has = function(e) {
+ return si(this, e).has(e)
+ }, Yn.prototype.set = function(e, t) {
+ var n = si(this, e),
+ a = n.size;
+ return n.set(e, t), this.size += n.size == a ? 0 : 1, this
+ }, Gn.prototype.add = Gn.prototype.push = function(e) {
+ return this.__data__.set(e, o), this
+ }, Gn.prototype.has = function(e) {
+ return this.__data__.has(e)
+ }, Kn.prototype.clear = function() {
+ this.__data__ = new Wn, this.size = 0
+ }, Kn.prototype.delete = function(e) {
+ var t = this.__data__,
+ n = t.delete(e);
+ return this.size = t.size, n
+ }, Kn.prototype.get = function(e) {
+ return this.__data__.get(e)
+ }, Kn.prototype.has = function(e) {
+ return this.__data__.has(e)
+ }, Kn.prototype.set = function(e, t) {
+ var n = this.__data__;
+ if (n instanceof Wn) {
+ var a = n.__data__;
+ if (!En || a.length < 199) return a.push([e, t]), this.size = ++n.size, this;
+ n = this.__data__ = new Yn(a)
+ }
+ return n.set(e, t), this.size = n.size, this
+ };
+ var da = jr(va),
+ pa = jr(ka, !0);
- function gi(e, t) {
- var n = typeof e;
- return !!(t = null == t ? d : t) && ("number" == n || "symbol" != n && be.test(e)) && e > -1 && e % 1 == 0 && e < t
- }
+ function ha(e, t) {
+ var n = !0;
+ return da(e, (function(e, a, r) {
+ return n = !!t(e, a, r)
+ })), n
+ }
- function bi(e, t, n) {
- if (!ts(n)) return !1;
- var a = typeof t;
- return !!("number" == a ? Go(n) && gi(t, n.length) : "string" == a && t in n) && Bo(n[t], e)
+ function ma(e, t, n) {
+ for (var a = -1, i = e.length; ++a < i;) {
+ var o = e[a],
+ s = t(o);
+ if (null != s && (l === r ? s == s && !cs(s) : n(s, l))) var l = s,
+ c = o
}
+ return c
+ }
+
+ function fa(e, t) {
+ var n = [];
+ return da(e, (function(e, a, r) {
+ t(e, a, r) && n.push(e)
+ })), n
+ }
- function yi(e, t) {
- if (Wo(e)) return !1;
- var n = typeof e;
- return !("number" != n && "symbol" != n && "boolean" != n && null != e && !cs(e)) || X.test(e) || !Q.test(e) || null != t && e in Ee(t)
+ function ga(e, t, n, a, r) {
+ var i = -1,
+ o = e.length;
+ for (n || (n = fi), r || (r = []); ++i < o;) {
+ var s = e[i];
+ t > 0 && n(s) ? t > 1 ? ga(s, t - 1, n, a, r) : Ct(r, s) : a || (r[r.length] = s)
}
+ return r
+ }
+ var ba = Mr(),
+ ya = Mr(!0);
- function vi(e) {
- var t = ri(e),
- n = Fn[t];
- if ("function" != typeof n || !(t in Hn.prototype)) return !1;
- if (e === n) return !0;
- var a = ai(n);
- return !!a && e === a[0]
- }(Sn && pi(new Sn(new ArrayBuffer(1))) != O || En && pi(new En) != w || xn && pi(xn.resolve()) != x || Cn && pi(new Cn) != A || An && pi(new An) != D) && (pi = function(e) {
- var t = Ea(e),
- n = t == E ? e.constructor : r,
- a = n ? Li(n) : "";
- if (a) switch (a) {
- case Tn:
- return O;
- case On:
- return w;
- case Mn:
- return x;
- case In:
- return A;
- case Nn:
- return D
- }
- return t
- });
- var ki = Te ? Qo : bl;
+ function va(e, t) {
+ return e && ba(e, t, Ms)
+ }
- function _i(e) {
- var t = e && e.constructor;
- return e === ("function" == typeof t && t.prototype || De)
- }
+ function ka(e, t) {
+ return e && ya(e, t, Ms)
+ }
- function wi(e) {
- return e == e && !ts(e)
- }
+ function _a(e, t) {
+ return wt(t, (function(t) {
+ return Qo(e[t])
+ }))
+ }
- function Si(e, t) {
- return function(n) {
- return null != n && n[e] === t && (t !== r || e in Ee(n))
- }
- }
+ function wa(e, t) {
+ for (var n = 0, a = (t = br(t, e)).length; null != e && n < a;) e = e[zi(t[n++])];
+ return n && n == a ? e : r
+ }
- function Ei(e, t, n) {
- return t = bn(t === r ? e.length - 1 : t, 0),
- function() {
- for (var r = arguments, i = -1, o = bn(r.length - t, 0), s = a(o); ++i < o;) s[i] = r[t + i];
- i = -1;
- for (var l = a(t + 1); ++i < t;) l[i] = r[i];
- return l[t] = n(s), bt(e, this, l)
- }
- }
+ function Sa(e, t, n) {
+ var a = t(e);
+ return Wo(e) ? a : Ct(a, n(e))
+ }
- function xi(e, t) {
- return t.length < 2 ? e : wa(e, tr(t, 0, -1))
- }
+ function Ea(e) {
+ return null == e ? e === r ? "[object Undefined]" : "[object Null]" : st && st in Ee(e) ? function(e) {
+ var t = Ie.call(e, st),
+ n = e[st];
+ try {
+ e[st] = r;
+ var a = !0
+ } catch (e) {}
+ var i = Re.call(e);
+ return a && (t ? e[st] = n : delete e[st]), i
+ }(e) : function(e) {
+ return Re.call(e)
+ }(e)
+ }
- function Ci(e, t) {
- for (var n = e.length, a = yn(t.length, n), i = Ar(e); a--;) {
- var o = t[a];
- e[a] = gi(o, n) ? i[o] : r
- }
- return e
- }
+ function xa(e, t) {
+ return e > t
+ }
+
+ function Ca(e, t) {
+ return null != e && Ie.call(e, t)
+ }
- function Ai(e, t) {
- if (("constructor" !== t || "function" != typeof e[t]) && "__proto__" != t) return e[t]
+ function Aa(e, t) {
+ return null != e && t in Ee(e)
+ }
+
+ function Ta(e, t, n) {
+ for (var i = n ? Et : St, o = e[0].length, s = e.length, l = s, c = a(s), u = 1 / 0, d = []; l--;) {
+ var p = e[l];
+ l && t && (p = xt(p, Ht(t))), u = yn(p.length, u), c[l] = !n && (t || o >= 120 && p.length >= 120) ? new Gn(l && p) : r
}
- var ji = Oi(Qa),
- Pi = Lt || function(e, t) {
- return it.setTimeout(e, t)
- },
- Di = Oi(Xa);
-
- function Ti(e, t, n) {
- var a = t + "";
- return Di(e, function(e, t) {
- var n = t.length;
- if (!n) return e;
- var a = n - 1;
- return t[a] = (n > 1 ? "& " : "") + t[a], t = t.join(n > 2 ? ", " : " "), e.replace(ie, "{\n/* [wrapped with " + t + "] */\n")
- }(a, function(e, t) {
- return vt(m, (function(n) {
- var a = "_." + n[0];
- t & n[1] && !St(e, a) && e.push(a)
- })), e.sort()
- }(function(e) {
- var t = e.match(oe);
- return t ? t[1].split(se) : []
- }(a), n)))
- }
-
- function Oi(e) {
- var t = 0,
- n = 0;
- return function() {
- var a = vn(),
- i = 16 - (a - n);
- if (n = a, i > 0) {
- if (++t >= 800) return arguments[0]
- } else t = 0;
- return e.apply(r, arguments)
+ p = e[0];
+ var h = -1,
+ m = c[0];
+ e: for (; ++h < o && d.length < u;) {
+ var f = p[h],
+ g = t ? t(f) : f;
+ if (f = n || 0 !== f ? f : 0, !(m ? Wt(m, g) : i(d, g, n))) {
+ for (l = s; --l;) {
+ var b = c[l];
+ if (!(b ? Wt(b, g) : i(e[l], g, n))) continue e
+ }
+ m && m.push(g), d.push(f)
+ }
+ }
+ return d
+ }
+
+ function Da(e, t, n) {
+ var a = null == (e = xi(e, t = br(t, e))) ? e : e[zi(Ji(t))];
+ return null == a ? r : bt(a, e, n)
+ }
+
+ function Pa(e) {
+ return ns(e) && Ea(e) == f
+ }
+
+ function ja(e, t, n, a, i) {
+ return e === t || (null == e || null == t || !ns(e) && !ns(t) ? e != e && t != t : function(e, t, n, a, i, o) {
+ var s = Wo(e),
+ l = Wo(t),
+ c = s ? g : pi(e),
+ u = l ? g : pi(t),
+ d = (c = c == f ? E : c) == E,
+ p = (u = u == f ? E : u) == E,
+ h = c == u;
+ if (h && $o(e)) {
+ if (!$o(t)) return !1;
+ s = !0, d = !1
+ }
+ if (h && !d) return o || (o = new Kn), s || us(e) ? Xr(e, t, n, a, i, o) : function(e, t, n, a, r, i, o) {
+ switch (n) {
+ case M:
+ if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset) return !1;
+ e = e.buffer, t = t.buffer;
+ case j:
+ return !(e.byteLength != t.byteLength || !i(new Ue(e), new Ue(t)));
+ case b:
+ case y:
+ case S:
+ return Bo(+e, +t);
+ case v:
+ return e.name == t.name && e.message == t.message;
+ case C:
+ case T:
+ return e == t + "";
+ case w:
+ var s = Xt;
+ case A:
+ var l = 1 & a;
+ if (s || (s = nn), e.size != t.size && !l) return !1;
+ var c = o.get(e);
+ if (c) return c == t;
+ a |= 2, o.set(e, t);
+ var u = Xr(s(e), s(t), a, r, i, o);
+ return o.delete(e), u;
+ case D:
+ if (zn) return zn.call(e) == zn.call(t)
+ }
+ return !1
+ }(e, t, c, n, a, i, o);
+ if (!(1 & n)) {
+ var m = d && Ie.call(e, "__wrapped__"),
+ k = p && Ie.call(t, "__wrapped__");
+ if (m || k) {
+ var _ = m ? e.value() : e,
+ x = k ? t.value() : t;
+ return o || (o = new Kn), i(_, x, n, a, o)
+ }
}
- }
-
- function Mi(e, t) {
- var n = -1,
- a = e.length,
- i = a - 1;
- for (t = t === r ? a : t; ++n < t;) {
- var o = Ya(n, i),
- s = e[o];
- e[o] = e[n], e[n] = s
+ return !!h && (o || (o = new Kn), function(e, t, n, a, i, o) {
+ var s = 1 & n,
+ l = ti(e),
+ c = l.length;
+ if (c != ti(t).length && !s) return !1;
+ for (var u = c; u--;) {
+ var d = l[u];
+ if (!(s ? d in t : Ie.call(t, d))) return !1
+ }
+ var p = o.get(e),
+ h = o.get(t);
+ if (p && h) return p == t && h == e;
+ var m = !0;
+ o.set(e, t), o.set(t, e);
+ for (var f = s; ++u < c;) {
+ var g = e[d = l[u]],
+ b = t[d];
+ if (a) var y = s ? a(b, g, d, t, e, o) : a(g, b, d, e, t, o);
+ if (!(y === r ? g === b || i(g, b, n, a, o) : y)) {
+ m = !1;
+ break
+ }
+ f || (f = "constructor" == d)
+ }
+ if (m && !f) {
+ var v = e.constructor,
+ k = t.constructor;
+ v == k || !("constructor" in e) || !("constructor" in t) || "function" == typeof v && v instanceof v && "function" == typeof k && k instanceof k || (m = !1)
+ }
+ return o.delete(e), o.delete(t), m
+ }(e, t, n, a, i, o))
+ }(e, t, n, a, ja, i))
+ }
+
+ function Ma(e, t, n, a) {
+ var i = n.length,
+ o = i,
+ s = !a;
+ if (null == e) return !o;
+ for (e = Ee(e); i--;) {
+ var l = n[i];
+ if (s && l[2] ? l[1] !== e[l[0]] : !(l[0] in e)) return !1
+ }
+ for (; ++i < o;) {
+ var c = (l = n[i])[0],
+ u = e[c],
+ d = l[1];
+ if (s && l[2]) {
+ if (u === r && !(c in e)) return !1
+ } else {
+ var p = new Kn;
+ if (a) var h = a(u, d, c, e, t, p);
+ if (!(h === r ? ja(d, u, 3, a, p) : h)) return !1
}
- return e.length = t, e
}
- var Ii, Ni, zi = (Ii = No((function(e) {
- var t = [];
- return 46 === e.charCodeAt(0) && t.push(""), e.replace(ee, (function(e, n, a, r) {
- t.push(a ? r.replace(ue, "$1") : n || e)
- })), t
- }), (function(e) {
- return 500 === Ni.size && Ni.clear(), e
- })), Ni = Ii.cache, Ii);
+ return !0
+ }
- function Ri(e) {
- if ("string" == typeof e || cs(e)) return e;
- var t = e + "";
- return "0" == t && 1 / e == -1 / 0 ? "-0" : t
- }
+ function Ia(e) {
+ return !(!ts(e) || (t = e, Ne && Ne in t)) && (Qo(e) ? Fe : fe).test(Li(e));
+ var t
+ }
- function Li(e) {
- if (null != e) {
- try {
- return Oe.call(e)
- } catch (e) {}
- try {
- return e + ""
- } catch (e) {}
- }
- return ""
- }
+ function Oa(e) {
+ return "function" == typeof e ? e : null == e ? rl : "object" == typeof e ? Wo(e) ? Fa(e[0], e[1]) : La(e) : hl(e)
+ }
- function Fi(e) {
- if (e instanceof Hn) return e.clone();
- var t = new Un(e.__wrapped__, e.__chain__);
- return t.__actions__ = Ar(e.__actions__), t.__index__ = e.__index__, t.__values__ = e.__values__, t
- }
- var qi = Ka((function(e, t) {
- return Ko(e) ? ua(e, ga(t, 1, Ko, !0)) : []
- })),
- Bi = Ka((function(e, t) {
- var n = Ji(t);
- return Ko(n) && (n = r), Ko(e) ? ua(e, ga(t, 1, Ko, !0), oi(n, 2)) : []
- })),
- Ui = Ka((function(e, t) {
- var n = Ji(t);
- return Ko(n) && (n = r), Ko(e) ? ua(e, ga(t, 1, Ko, !0), r, n) : []
- }));
+ function Na(e) {
+ if (!_i(e)) return gn(e);
+ var t = [];
+ for (var n in Ee(e)) Ie.call(e, n) && "constructor" != n && t.push(n);
+ return t
+ }
- function Hi(e, t, n) {
- var a = null == e ? 0 : e.length;
- if (!a) return -1;
- var r = null == n ? 0 : fs(n);
- return r < 0 && (r = bn(a + r, 0)), Ot(e, oi(t, 3), r)
- }
+ function Ra(e, t) {
+ return e < t
+ }
- function Vi(e, t, n) {
- var a = null == e ? 0 : e.length;
- if (!a) return -1;
- var i = a - 1;
- return n !== r && (i = fs(n), i = n < 0 ? bn(a + i, 0) : yn(i, a - 1)), Ot(e, oi(t, 3), i, !0)
- }
+ function za(e, t) {
+ var n = -1,
+ r = Go(e) ? a(e.length) : [];
+ return da(e, (function(e, a, i) {
+ r[++n] = t(e, a, i)
+ })), r
+ }
- function Wi(e) {
- return null != e && e.length ? ga(e, 1) : []
+ function La(e) {
+ var t = li(e);
+ return 1 == t.length && t[0][2] ? Si(t[0][0], t[0][1]) : function(n) {
+ return n === e || Ma(n, e, t)
}
+ }
- function Yi(e) {
- return e && e.length ? e[0] : r
+ function Fa(e, t) {
+ return yi(e) && wi(t) ? Si(zi(e), t) : function(n) {
+ var a = As(n, e);
+ return a === r && a === t ? Ts(n, e) : ja(t, a, 3)
}
- var Gi = Ka((function(e) {
- var t = xt(e, fr);
- return t.length && t[0] === e[0] ? ja(t) : []
- })),
- Ki = Ka((function(e) {
- var t = Ji(e),
- n = xt(e, fr);
- return t === Ji(n) ? t = r : n.pop(), n.length && n[0] === e[0] ? ja(n, oi(t, 2)) : []
- })),
- $i = Ka((function(e) {
- var t = Ji(e),
- n = xt(e, fr);
- return (t = "function" == typeof t ? t : r) && n.pop(), n.length && n[0] === e[0] ? ja(n, r, t) : []
- }));
+ }
- function Ji(e) {
- var t = null == e ? 0 : e.length;
- return t ? e[t - 1] : r
- }
- var Zi = Ka(Qi);
+ function qa(e, t, n, a, i) {
+ e !== t && ba(t, (function(o, s) {
+ if (i || (i = new Kn), ts(o)) ! function(e, t, n, a, i, o, s) {
+ var l = Ai(e, n),
+ c = Ai(t, n),
+ u = s.get(c);
+ if (u) Xn(e, n, u);
+ else {
+ var d = o ? o(l, c, n + "", e, t, s) : r,
+ p = d === r;
+ if (p) {
+ var h = Wo(c),
+ m = !h && $o(c),
+ f = !h && !m && us(c);
+ d = c, h || m || f ? Wo(l) ? d = l : Ko(l) ? d = Ar(l) : m ? (p = !1, d = _r(c, !0)) : f ? (p = !1, d = Sr(c, !0)) : d = [] : is(c) || Vo(c) ? (d = l, Vo(l) ? d = ys(l) : ts(l) && !Qo(l) || (d = mi(c))) : p = !1
+ }
+ p && (s.set(c, d), i(d, c, a, o, s), s.delete(c)), Xn(e, n, d)
+ }
+ }(e, t, s, n, qa, a, i);
+ else {
+ var l = a ? a(Ai(e, s), o, s + "", e, t, i) : r;
+ l === r && (l = o), Xn(e, s, l)
+ }
+ }), Is)
+ }
- function Qi(e, t) {
- return e && e.length && t && t.length ? Va(e, t) : e
- }
- var Xi = ei((function(e, t) {
- var n = null == e ? 0 : e.length,
- a = ia(e, t);
- return Wa(e, xt(t, (function(e) {
- return gi(e, n) ? +e : e
- })).sort(Er)), a
- }));
+ function Ba(e, t) {
+ var n = e.length;
+ if (n) return gi(t += t < 0 ? n : 0, n) ? e[t] : r
+ }
- function eo(e) {
- return null == e ? e : wn.call(e)
- }
- var to = Ka((function(e) {
- return lr(ga(e, 1, Ko, !0))
- })),
- no = Ka((function(e) {
- var t = Ji(e);
- return Ko(t) && (t = r), lr(ga(e, 1, Ko, !0), oi(t, 2))
- })),
- ao = Ka((function(e) {
- var t = Ji(e);
- return t = "function" == typeof t ? t : r, lr(ga(e, 1, Ko, !0), r, t)
+ function Ua(e, t, n) {
+ t = t.length ? xt(t, (function(e) {
+ return Wo(e) ? function(t) {
+ return wa(t, 1 === e.length ? e[0] : e)
+ } : e
+ })) : [rl];
+ var a = -1;
+ t = xt(t, Ht(oi()));
+ var r = za(e, (function(e, n, r) {
+ var i = xt(t, (function(t) {
+ return t(e)
}));
+ return {
+ criteria: i,
+ index: ++a,
+ value: e
+ }
+ }));
+ return function(e, t) {
+ var a = e.length;
+ for (e.sort((function(e, t) {
+ return function(e, t, n) {
+ for (var a = -1, r = e.criteria, i = t.criteria, o = r.length, s = n.length; ++a < o;) {
+ var l = Er(r[a], i[a]);
+ if (l) return a >= s ? l : l * ("desc" == n[a] ? -1 : 1)
+ }
+ return e.index - t.index
+ }(e, t, n)
+ })); a--;) e[a] = e[a].value;
+ return e
+ }(r)
+ }
- function ro(e) {
- if (!e || !e.length) return [];
- var t = 0;
- return e = wt(e, (function(e) {
- if (Ko(e)) return t = bn(e.length, t), !0
- })), Bt(t, (function(t) {
- return xt(e, Rt(t))
- }))
+ function Ha(e, t, n) {
+ for (var a = -1, r = t.length, i = {}; ++a < r;) {
+ var o = t[a],
+ s = wa(e, o);
+ n(s, o) && Za(i, br(o, e), s)
}
+ return i
+ }
- function io(e, t) {
- if (!e || !e.length) return [];
- var n = ro(e);
- return null == t ? n : xt(n, (function(e) {
- return bt(t, r, e)
- }))
- }
- var oo = Ka((function(e, t) {
- return Ko(e) ? ua(e, t) : []
- })),
- so = Ka((function(e) {
- return hr(wt(e, Ko))
- })),
- lo = Ka((function(e) {
- var t = Ji(e);
- return Ko(t) && (t = r), hr(wt(e, Ko), oi(t, 2))
- })),
- co = Ka((function(e) {
- var t = Ji(e);
- return t = "function" == typeof t ? t : r, hr(wt(e, Ko), r, t)
- })),
- uo = Ka(ro),
- po = Ka((function(e) {
- var t = e.length,
- n = t > 1 ? e[t - 1] : r;
- return n = "function" == typeof n ? (e.pop(), n) : r, io(e, n)
- }));
+ function Va(e, t, n, a) {
+ var r = a ? Ot : It,
+ i = -1,
+ o = t.length,
+ s = e;
+ for (e === t && (t = Ar(t)), n && (s = xt(e, Ht(n))); ++i < o;)
+ for (var l = 0, c = t[i], u = n ? n(c) : c;
+ (l = r(s, u, l, a)) > -1;) s !== e && at.call(s, l, 1), at.call(e, l, 1);
+ return e
+ }
- function ho(e) {
- var t = Fn(e);
- return t.__chain__ = !0, t
+ function Wa(e, t) {
+ for (var n = e ? t.length : 0, a = n - 1; n--;) {
+ var r = t[n];
+ if (n == a || r !== i) {
+ var i = r;
+ gi(r) ? at.call(e, r, 1) : cr(e, r)
+ }
}
+ return e
+ }
- function mo(e, t) {
- return t(e)
- }
- var fo = ei((function(e) {
- var t = e.length,
- n = t ? e[0] : 0,
- a = this.__wrapped__,
- i = function(t) {
- return ia(t, e)
- };
- return !(t > 1 || this.__actions__.length) && a instanceof Hn && gi(n) ? ((a = a.slice(n, +n + (t ? 1 : 0))).__actions__.push({
- func: mo,
- args: [i],
- thisArg: r
- }), new Un(a, this.__chain__).thru((function(e) {
- return t && !e.length && e.push(r), e
- }))) : this.thru(i)
- })),
- go = Pr((function(e, t, n) {
- Me.call(e, n) ? ++e[n] : ra(e, n, 1)
- })),
- bo = zr(Hi),
- yo = zr(Vi);
-
- function vo(e, t) {
- return (Wo(e) ? vt : da)(e, oi(t, 3))
- }
-
- function ko(e, t) {
- return (Wo(e) ? kt : pa)(e, oi(t, 3))
- }
- var _o = Pr((function(e, t, n) {
- Me.call(e, n) ? e[n].push(t) : ra(e, n, [t])
- })),
- wo = Ka((function(e, t, n) {
- var r = -1,
- i = "function" == typeof t,
- o = Go(e) ? a(e.length) : [];
- return da(e, (function(e) {
- o[++r] = i ? bt(t, e, n) : Pa(e, t, n)
- })), o
- })),
- So = Pr((function(e, t, n) {
- ra(e, n, t)
- }));
+ function Ya(e, t) {
+ return e + dn(_n() * (t - e + 1))
+ }
- function Eo(e, t) {
- return (Wo(e) ? xt : Ra)(e, oi(t, 3))
- }
- var xo = Pr((function(e, t, n) {
- e[n ? 0 : 1].push(t)
- }), (function() {
- return [
- [],
- []
- ]
- })),
- Co = Ka((function(e, t) {
- if (null == e) return [];
- var n = t.length;
- return n > 1 && bi(e, t[0], t[1]) ? t = [] : n > 2 && bi(t[0], t[1], t[2]) && (t = [t[0]]), Ua(e, ga(t, 1), [])
- })),
- Ao = Dt || function() {
- return it.Date.now()
- };
+ function Ga(e, t) {
+ var n = "";
+ if (!e || t < 1 || t > d) return n;
+ do {
+ t % 2 && (n += e), (t = dn(t / 2)) && (e += e)
+ } while (t);
+ return n
+ }
- function jo(e, t, n) {
- return t = n ? r : t, t = e && null == t ? e.length : t, $r(e, c, r, r, r, r, t)
- }
+ function Ka(e, t) {
+ return Pi(Ei(e, t, rl), e + "")
+ }
- function Po(e, t) {
- var n;
- if ("function" != typeof t) throw new Ae(i);
- return e = fs(e),
- function() {
- return --e > 0 && (n = t.apply(this, arguments)), e <= 1 && (t = r), n
- }
- }
- var Do = Ka((function(e, t, n) {
- var a = 1;
- if (n.length) {
- var r = tn(n, ii(Do));
- a |= l
- }
- return $r(e, a, t, n, r)
- })),
- To = Ka((function(e, t, n) {
- var a = 3;
- if (n.length) {
- var r = tn(n, ii(To));
- a |= l
- }
- return $r(t, a, e, n, r)
- }));
+ function $a(e) {
+ return Jn(Bs(e))
+ }
- function Oo(e, t, n) {
- var a, o, s, l, c, u, d = 0,
- p = !1,
- h = !1,
- m = !0;
- if ("function" != typeof e) throw new Ae(i);
-
- function f(t) {
- var n = a,
- i = o;
- return a = o = r, d = t, l = e.apply(i, n)
- }
+ function Ja(e, t) {
+ var n = Bs(e);
+ return Ii(n, oa(t, 0, n.length))
+ }
- function g(e) {
- return d = e, c = Pi(y, t), p ? f(e) : l
+ function Za(e, t, n, a) {
+ if (!ts(e)) return e;
+ for (var i = -1, o = (t = br(t, e)).length, s = o - 1, l = e; null != l && ++i < o;) {
+ var c = zi(t[i]),
+ u = n;
+ if ("__proto__" === c || "constructor" === c || "prototype" === c) return e;
+ if (i != s) {
+ var d = l[c];
+ (u = a ? a(d, c, l) : r) === r && (u = ts(d) ? d : gi(t[i + 1]) ? [] : {})
}
+ ea(l, c, u), l = l[c]
+ }
+ return e
+ }
+ var Qa = Dn ? function(e, t) {
+ return Dn.set(e, t), e
+ } : rl,
+ Xa = ct ? function(e, t) {
+ return ct(e, "toString", {
+ configurable: !0,
+ enumerable: !1,
+ value: tl(t),
+ writable: !0
+ })
+ } : rl;
- function b(e) {
- var n = e - u;
- return u === r || n >= t || n < 0 || h && e - d >= s
- }
+ function er(e) {
+ return Ii(Bs(e))
+ }
- function y() {
- var e = Ao();
- if (b(e)) return v(e);
- c = Pi(y, function(e) {
- var n = t - (e - u);
- return h ? yn(n, s - (e - d)) : n
- }(e))
- }
+ function tr(e, t, n) {
+ var r = -1,
+ i = e.length;
+ t < 0 && (t = -t > i ? 0 : i + t), (n = n > i ? i : n) < 0 && (n += i), i = t > n ? 0 : n - t >>> 0, t >>>= 0;
+ for (var o = a(i); ++r < i;) o[r] = e[r + t];
+ return o
+ }
- function v(e) {
- return c = r, m && a ? f(e) : (a = o = r, l)
- }
+ function nr(e, t) {
+ var n;
+ return da(e, (function(e, a, r) {
+ return !(n = t(e, a, r))
+ })), !!n
+ }
- function k() {
- var e = Ao(),
- n = b(e);
- if (a = arguments, o = this, u = e, n) {
- if (c === r) return g(u);
- if (h) return kr(c), c = Pi(y, t), f(u)
- }
- return c === r && (c = Pi(y, t)), l
+ function ar(e, t, n) {
+ var a = 0,
+ r = null == e ? a : e.length;
+ if ("number" == typeof t && t == t && r <= 2147483647) {
+ for (; a < r;) {
+ var i = a + r >>> 1,
+ o = e[i];
+ null !== o && !cs(o) && (n ? o <= t : o < t) ? a = i + 1 : r = i
}
- return t = bs(t) || 0, ts(n) && (p = !!n.leading, s = (h = "maxWait" in n) ? bn(bs(n.maxWait) || 0, t) : s, m = "trailing" in n ? !!n.trailing : m), k.cancel = function() {
- c !== r && kr(c), d = 0, a = u = o = c = r
- }, k.flush = function() {
- return c === r ? l : v(Ao())
- }, k
- }
- var Mo = Ka((function(e, t) {
- return ca(e, 1, t)
- })),
- Io = Ka((function(e, t, n) {
- return ca(e, bs(t) || 0, n)
- }));
+ return r
+ }
+ return rr(e, t, rl, n)
+ }
- function No(e, t) {
- if ("function" != typeof e || null != t && "function" != typeof t) throw new Ae(i);
- var n = function() {
- var a = arguments,
- r = t ? t.apply(this, a) : a[0],
- i = n.cache;
- if (i.has(r)) return i.get(r);
- var o = e.apply(this, a);
- return n.cache = i.set(r, o) || i, o
- };
- return n.cache = new(No.Cache || Yn), n
+ function rr(e, t, n, a) {
+ var i = 0,
+ o = null == e ? 0 : e.length;
+ if (0 === o) return 0;
+ for (var s = (t = n(t)) != t, l = null === t, c = cs(t), u = t === r; i < o;) {
+ var d = dn((i + o) / 2),
+ p = n(e[d]),
+ h = p !== r,
+ m = null === p,
+ f = p == p,
+ g = cs(p);
+ if (s) var b = a || f;
+ else b = u ? f && (a || h) : l ? f && h && (a || !m) : c ? f && h && !m && (a || !g) : !m && !g && (a ? p <= t : p < t);
+ b ? i = d + 1 : o = d
}
+ return yn(o, 4294967294)
+ }
- function zo(e) {
- if ("function" != typeof e) throw new Ae(i);
- return function() {
- var t = arguments;
- switch (t.length) {
- case 0:
- return !e.call(this);
- case 1:
- return !e.call(this, t[0]);
- case 2:
- return !e.call(this, t[0], t[1]);
- case 3:
- return !e.call(this, t[0], t[1], t[2])
- }
- return !e.apply(this, t)
+ function ir(e, t) {
+ for (var n = -1, a = e.length, r = 0, i = []; ++n < a;) {
+ var o = e[n],
+ s = t ? t(o) : o;
+ if (!n || !Bo(s, l)) {
+ var l = s;
+ i[r++] = 0 === o ? 0 : o
}
}
- No.Cache = Yn;
- var Ro = yr((function(e, t) {
- var n = (t = 1 == t.length && Wo(t[0]) ? xt(t[0], Ht(oi())) : xt(ga(t, 1), Ht(oi()))).length;
- return Ka((function(a) {
- for (var r = -1, i = yn(a.length, n); ++r < i;) a[r] = t[r].call(this, a[r]);
- return bt(e, this, a)
- }))
- })),
- Lo = Ka((function(e, t) {
- var n = tn(t, ii(Lo));
- return $r(e, l, r, t, n)
- })),
- Fo = Ka((function(e, t) {
- var n = tn(t, ii(Fo));
- return $r(e, 64, r, t, n)
- })),
- qo = ei((function(e, t) {
- return $r(e, 256, r, r, r, t)
- }));
+ return i
+ }
- function Bo(e, t) {
- return e === t || e != e && t != t
- }
- var Uo = Vr(xa),
- Ho = Vr((function(e, t) {
- return e >= t
- })),
- Vo = Da(function() {
- return arguments
- }()) ? Da : function(e) {
- return ns(e) && Me.call(e, "callee") && !et.call(e, "callee")
- },
- Wo = a.isArray,
- Yo = dt ? Ht(dt) : function(e) {
- return ns(e) && Ea(e) == T
- };
+ function or(e) {
+ return "number" == typeof e ? e : cs(e) ? p : +e
+ }
- function Go(e) {
- return null != e && es(e.length) && !Qo(e)
- }
+ function sr(e) {
+ if ("string" == typeof e) return e;
+ if (Wo(e)) return xt(e, sr) + "";
+ if (cs(e)) return Ln ? Ln.call(e) : "";
+ var t = e + "";
+ return "0" == t && 1 / e == -1 / 0 ? "-0" : t
+ }
+
+ function lr(e, t, n) {
+ var a = -1,
+ r = St,
+ i = e.length,
+ o = !0,
+ s = [],
+ l = s;
+ if (n) o = !1, r = Et;
+ else if (i >= 200) {
+ var c = t ? null : Gr(e);
+ if (c) return nn(c);
+ o = !1, r = Wt, l = new Gn
+ } else l = t ? [] : s;
+ e: for (; ++a < i;) {
+ var u = e[a],
+ d = t ? t(u) : u;
+ if (u = n || 0 !== u ? u : 0, o && d == d) {
+ for (var p = l.length; p--;)
+ if (l[p] === d) continue e;
+ t && l.push(d), s.push(u)
+ } else r(l, d, n) || (l !== s && l.push(d), s.push(u))
+ }
+ return s
+ }
+
+ function cr(e, t) {
+ return null == (e = xi(e, t = br(t, e))) || delete e[zi(Ji(t))]
+ }
+
+ function ur(e, t, n, a) {
+ return Za(e, t, n(wa(e, t)), a)
+ }
+
+ function dr(e, t, n, a) {
+ for (var r = e.length, i = a ? r : -1;
+ (a ? i-- : ++i < r) && t(e[i], i, e););
+ return n ? tr(e, a ? 0 : i, a ? i + 1 : r) : tr(e, a ? i + 1 : 0, a ? r : i)
+ }
+
+ function pr(e, t) {
+ var n = e;
+ return n instanceof Hn && (n = n.value()), At(t, (function(e, t) {
+ return t.func.apply(t.thisArg, Ct([e], t.args))
+ }), n)
+ }
- function Ko(e) {
- return ns(e) && Go(e)
- }
- var $o = hn || bl,
- Jo = pt ? Ht(pt) : function(e) {
- return ns(e) && Ea(e) == y
- };
+ function hr(e, t, n) {
+ var r = e.length;
+ if (r < 2) return r ? lr(e[0]) : [];
+ for (var i = -1, o = a(r); ++i < r;)
+ for (var s = e[i], l = -1; ++l < r;) l != i && (o[i] = ua(o[i] || s, e[l], t, n));
+ return lr(ga(o, 1), t, n)
+ }
- function Zo(e) {
- if (!ns(e)) return !1;
- var t = Ea(e);
- return t == v || "[object DOMException]" == t || "string" == typeof e.message && "string" == typeof e.name && !is(e)
+ function mr(e, t, n) {
+ for (var a = -1, i = e.length, o = t.length, s = {}; ++a < i;) {
+ var l = a < o ? t[a] : r;
+ n(s, e[a], l)
}
+ return s
+ }
- function Qo(e) {
- if (!ts(e)) return !1;
- var t = Ea(e);
- return t == k || t == _ || "[object AsyncFunction]" == t || "[object Proxy]" == t
- }
+ function fr(e) {
+ return Ko(e) ? e : []
+ }
- function Xo(e) {
- return "number" == typeof e && e == fs(e)
- }
+ function gr(e) {
+ return "function" == typeof e ? e : rl
+ }
- function es(e) {
- return "number" == typeof e && e > -1 && e % 1 == 0 && e <= d
- }
+ function br(e, t) {
+ return Wo(e) ? e : yi(e, t) ? [e] : Ri(vs(e))
+ }
+ var yr = Ka;
- function ts(e) {
- var t = typeof e;
- return null != e && ("object" == t || "function" == t)
- }
+ function vr(e, t, n) {
+ var a = e.length;
+ return n = n === r ? a : n, !t && n >= a ? e : tr(e, t, n)
+ }
+ var kr = ut || function(e) {
+ return it.clearTimeout(e)
+ };
- function ns(e) {
- return null != e && "object" == typeof e
- }
- var as = ht ? Ht(ht) : function(e) {
- return ns(e) && pi(e) == w
- };
+ function _r(e, t) {
+ if (t) return e.slice();
+ var n = e.length,
+ a = He ? He(n) : new e.constructor(n);
+ return e.copy(a), a
+ }
- function rs(e) {
- return "number" == typeof e || ns(e) && Ea(e) == S
- }
+ function wr(e) {
+ var t = new e.constructor(e.byteLength);
+ return new Ue(t).set(new Ue(e)), t
+ }
- function is(e) {
- if (!ns(e) || Ea(e) != E) return !1;
- var t = Ye(e);
- if (null === t) return !0;
- var n = Me.call(t, "constructor") && t.constructor;
- return "function" == typeof n && n instanceof n && Oe.call(n) == Re
- }
- var os = mt ? Ht(mt) : function(e) {
- return ns(e) && Ea(e) == C
- },
- ss = ft ? Ht(ft) : function(e) {
- return ns(e) && pi(e) == A
- };
+ function Sr(e, t) {
+ var n = t ? wr(e.buffer) : e.buffer;
+ return new e.constructor(n, e.byteOffset, e.length)
+ }
- function ls(e) {
- return "string" == typeof e || !Wo(e) && ns(e) && Ea(e) == j
+ function Er(e, t) {
+ if (e !== t) {
+ var n = e !== r,
+ a = null === e,
+ i = e == e,
+ o = cs(e),
+ s = t !== r,
+ l = null === t,
+ c = t == t,
+ u = cs(t);
+ if (!l && !u && !o && e > t || o && s && c && !l && !u || a && s && c || !n && c || !i) return 1;
+ if (!a && !o && !u && e < t || u && n && i && !a && !o || l && n && i || !s && i || !c) return -1
}
+ return 0
+ }
- function cs(e) {
- return "symbol" == typeof e || ns(e) && Ea(e) == P
- }
- var us = gt ? Ht(gt) : function(e) {
- return ns(e) && es(e.length) && !!Qe[Ea(e)]
- },
- ds = Vr(za),
- ps = Vr((function(e, t) {
- return e <= t
- }));
+ function xr(e, t, n, r) {
+ for (var i = -1, o = e.length, s = n.length, l = -1, c = t.length, u = bn(o - s, 0), d = a(c + u), p = !r; ++l < c;) d[l] = t[l];
+ for (; ++i < s;)(p || i < o) && (d[n[i]] = e[i]);
+ for (; u--;) d[l++] = e[i++];
+ return d
+ }
- function hs(e) {
- if (!e) return [];
- if (Go(e)) return ls(e) ? on(e) : Ar(e);
- if (ot && e[ot]) return function(e) {
- for (var t, n = []; !(t = e.next()).done;) n.push(t.value);
- return n
- }(e[ot]());
- var t = pi(e);
- return (t == w ? Xt : t == A ? nn : Bs)(e)
- }
+ function Cr(e, t, n, r) {
+ for (var i = -1, o = e.length, s = -1, l = n.length, c = -1, u = t.length, d = bn(o - l, 0), p = a(d + u), h = !r; ++i < d;) p[i] = e[i];
+ for (var m = i; ++c < u;) p[m + c] = t[c];
+ for (; ++s < l;)(h || i < o) && (p[m + n[s]] = e[i++]);
+ return p
+ }
- function ms(e) {
- return e ? (e = bs(e)) === u || e === -1 / 0 ? 17976931348623157e292 * (e < 0 ? -1 : 1) : e == e ? e : 0 : 0 === e ? e : 0
- }
+ function Ar(e, t) {
+ var n = -1,
+ r = e.length;
+ for (t || (t = a(r)); ++n < r;) t[n] = e[n];
+ return t
+ }
- function fs(e) {
- var t = ms(e),
- n = t % 1;
- return t == t ? n ? t - n : t : 0
+ function Tr(e, t, n, a) {
+ var i = !n;
+ n || (n = {});
+ for (var o = -1, s = t.length; ++o < s;) {
+ var l = t[o],
+ c = a ? a(n[l], e[l], l, n, e) : r;
+ c === r && (c = e[l]), i ? ra(n, l, c) : ea(n, l, c)
}
+ return n
+ }
- function gs(e) {
- return e ? oa(fs(e), 0, h) : 0
+ function Dr(e, t) {
+ return function(n, a) {
+ var r = Wo(n) ? yt : na,
+ i = t ? t() : {};
+ return r(n, e, oi(a, 2), i)
}
+ }
- function bs(e) {
- if ("number" == typeof e) return e;
- if (cs(e)) return p;
- if (ts(e)) {
- var t = "function" == typeof e.valueOf ? e.valueOf() : e;
- e = ts(t) ? t + "" : t
+ function Pr(e) {
+ return Ka((function(t, n) {
+ var a = -1,
+ i = n.length,
+ o = i > 1 ? n[i - 1] : r,
+ s = i > 2 ? n[2] : r;
+ for (o = e.length > 3 && "function" == typeof o ? (i--, o) : r, s && bi(n[0], n[1], s) && (o = i < 3 ? r : o, i = 1), t = Ee(t); ++a < i;) {
+ var l = n[a];
+ l && e(t, l, a, o)
}
- if ("string" != typeof e) return 0 === e ? e : +e;
- e = Ut(e);
- var n = me.test(e);
- return n || ge.test(e) ? nt(e.slice(2), n ? 2 : 8) : he.test(e) ? p : +e
- }
-
- function ys(e) {
- return jr(e, Ms(e))
- }
-
- function vs(e) {
- return null == e ? "" : sr(e)
- }
- var ks = Dr((function(e, t) {
- if (_i(t) || Go(t)) jr(t, Os(t), e);
- else
- for (var n in t) Me.call(t, n) && ea(e, n, t[n])
- })),
- _s = Dr((function(e, t) {
- jr(t, Ms(t), e)
- })),
- ws = Dr((function(e, t, n, a) {
- jr(t, Ms(t), e, a)
- })),
- Ss = Dr((function(e, t, n, a) {
- jr(t, Os(t), e, a)
- })),
- Es = ei(ia),
- xs = Ka((function(e, t) {
- e = Ee(e);
- var n = -1,
- a = t.length,
- i = a > 2 ? t[2] : r;
- for (i && bi(t[0], t[1], i) && (a = 1); ++n < a;)
- for (var o = t[n], s = Ms(o), l = -1, c = s.length; ++l < c;) {
- var u = s[l],
- d = e[u];
- (d === r || Bo(d, De[u]) && !Me.call(e, u)) && (e[u] = o[u])
- }
- return e
- })),
- Cs = Ka((function(e) {
- return e.push(r, Zr), bt(Ns, r, e)
- }));
+ return t
+ }))
+ }
- function As(e, t, n) {
- var a = null == e ? r : wa(e, t);
- return a === r ? n : a
+ function jr(e, t) {
+ return function(n, a) {
+ if (null == n) return n;
+ if (!Go(n)) return e(n, a);
+ for (var r = n.length, i = t ? r : -1, o = Ee(n);
+ (t ? i-- : ++i < r) && !1 !== a(o[i], i, o););
+ return n
}
+ }
- function js(e, t) {
- return null != e && hi(e, t, Aa)
+ function Mr(e) {
+ return function(t, n, a) {
+ for (var r = -1, i = Ee(t), o = a(t), s = o.length; s--;) {
+ var l = o[e ? s : ++r];
+ if (!1 === n(i[l], l, i)) break
+ }
+ return t
}
- var Ps = Fr((function(e, t, n) {
- null != t && "function" != typeof t.toString && (t = ze.call(t)), e[t] = n
- }), tl(rl)),
- Ds = Fr((function(e, t, n) {
- null != t && "function" != typeof t.toString && (t = ze.call(t)), Me.call(e, t) ? e[t].push(n) : e[t] = [n]
- }), oi),
- Ts = Ka(Pa);
+ }
- function Os(e) {
- return Go(e) ? $n(e) : Na(e)
+ function Ir(e) {
+ return function(t) {
+ var n = Qt(t = vs(t)) ? on(t) : r,
+ a = n ? n[0] : t.charAt(0),
+ i = n ? vr(n, 1).join("") : t.slice(1);
+ return a[e]() + i
}
+ }
- function Ms(e) {
- return Go(e) ? $n(e, !0) : function(e) {
- if (!ts(e)) return function(e) {
- var t = [];
- if (null != e)
- for (var n in Ee(e)) t.push(n);
- return t
- }(e);
- var t = _i(e),
- n = [];
- for (var a in e)("constructor" != a || !t && Me.call(e, a)) && n.push(a);
- return n
- }(e)
- }
- var Is = Dr((function(e, t, n) {
- qa(e, t, n)
- })),
- Ns = Dr((function(e, t, n, a) {
- qa(e, t, n, a)
- })),
- zs = ei((function(e, t) {
- var n = {};
- if (null == e) return n;
- var a = !1;
- t = xt(t, (function(t) {
- return t = br(t, e), a || (a = t.length > 1), t
- })), jr(e, ni(e), n), a && (n = sa(n, 7, Qr));
- for (var r = t.length; r--;) cr(n, t[r]);
- return n
- })),
- Rs = ei((function(e, t) {
- return null == e ? {} : function(e, t) {
- return Ha(e, t, (function(t, n) {
- return js(e, n)
- }))
- }(e, t)
- }));
-
- function Ls(e, t) {
- if (null == e) return {};
- var n = xt(ni(e), (function(e) {
- return [e]
- }));
- return t = oi(t), Ha(e, n, (function(e, n) {
- return t(e, n[0])
- }))
+ function Or(e) {
+ return function(t) {
+ return At(Qs(Vs(t).replace(Ve, "")), e, "")
}
- var Fs = Kr(Os),
- qs = Kr(Ms);
+ }
- function Bs(e) {
- return null == e ? [] : Vt(e, Os(e))
+ function Nr(e) {
+ return function() {
+ var t = arguments;
+ switch (t.length) {
+ case 0:
+ return new e;
+ case 1:
+ return new e(t[0]);
+ case 2:
+ return new e(t[0], t[1]);
+ case 3:
+ return new e(t[0], t[1], t[2]);
+ case 4:
+ return new e(t[0], t[1], t[2], t[3]);
+ case 5:
+ return new e(t[0], t[1], t[2], t[3], t[4]);
+ case 6:
+ return new e(t[0], t[1], t[2], t[3], t[4], t[5]);
+ case 7:
+ return new e(t[0], t[1], t[2], t[3], t[4], t[5], t[6])
+ }
+ var n = qn(e.prototype),
+ a = e.apply(n, t);
+ return ts(a) ? a : n
}
- var Us = Ir((function(e, t, n) {
- return t = t.toLowerCase(), e + (n ? Hs(t) : t)
- }));
+ }
- function Hs(e) {
- return Zs(vs(e).toLowerCase())
- }
-
- function Vs(e) {
- return (e = vs(e)) && e.replace(ye, $t).replace(We, "")
- }
- var Ws = Ir((function(e, t, n) {
- return e + (n ? "-" : "") + t.toLowerCase()
- })),
- Ys = Ir((function(e, t, n) {
- return e + (n ? " " : "") + t.toLowerCase()
- })),
- Gs = Mr("toLowerCase"),
- Ks = Ir((function(e, t, n) {
- return e + (n ? "_" : "") + t.toLowerCase()
- })),
- $s = Ir((function(e, t, n) {
- return e + (n ? " " : "") + Zs(t)
- })),
- Js = Ir((function(e, t, n) {
- return e + (n ? " " : "") + t.toUpperCase()
- })),
- Zs = Mr("toUpperCase");
-
- function Qs(e, t, n) {
- return e = vs(e), (t = n ? r : t) === r ? function(e) {
- return $e.test(e)
- }(e) ? function(e) {
- return e.match(Ge) || []
- }(e) : function(e) {
- return e.match(le) || []
- }(e) : e.match(t) || []
- }
- var Xs = Ka((function(e, t) {
- try {
- return bt(e, r, t)
- } catch (e) {
- return Zo(e) ? e : new _e(e)
+ function Rr(e) {
+ return function(t, n, a) {
+ var i = Ee(t);
+ if (!Go(t)) {
+ var o = oi(n, 3);
+ t = Ms(t), n = function(e) {
+ return o(i[e], e, i)
}
- })),
- el = ei((function(e, t) {
- return vt(t, (function(t) {
- t = Ri(t), ra(e, t, Do(e[t], e))
- })), e
- }));
+ }
+ var s = e(t, n, a);
+ return s > -1 ? i[o ? t[s] : s] : r
+ }
+ }
- function tl(e) {
+ function zr(e) {
+ return ei((function(t) {
+ var n = t.length,
+ a = n,
+ o = Un.prototype.thru;
+ for (e && t.reverse(); a--;) {
+ var s = t[a];
+ if ("function" != typeof s) throw new Ae(i);
+ if (o && !l && "wrapper" == ri(s)) var l = new Un([], !0)
+ }
+ for (a = l ? a : n; ++a < n;) {
+ var c = ri(s = t[a]),
+ u = "wrapper" == c ? ai(s) : r;
+ l = u && vi(u[0]) && 424 == u[1] && !u[4].length && 1 == u[9] ? l[ri(u[0])].apply(l, u[3]) : 1 == s.length && vi(s) ? l[c]() : l.thru(s)
+ }
return function() {
- return e
+ var e = arguments,
+ a = e[0];
+ if (l && 1 == e.length && Wo(a)) return l.plant(a).value();
+ for (var r = 0, i = n ? t[r].apply(this, e) : a; ++r < n;) i = t[r].call(this, i);
+ return i
}
- }
- var nl = Rr(),
- al = Rr(!0);
+ }))
+ }
- function rl(e) {
- return e
+ function Lr(e, t, n, i, o, s, l, u, d, p) {
+ var h = t & c,
+ m = 1 & t,
+ f = 2 & t,
+ g = 24 & t,
+ b = 512 & t,
+ y = f ? r : Nr(e);
+ return function r() {
+ for (var c = arguments.length, v = a(c), k = c; k--;) v[k] = arguments[k];
+ if (g) var _ = ii(r),
+ w = Kt(v, _);
+ if (i && (v = xr(v, i, o, g)), s && (v = Cr(v, s, l, g)), c -= w, g && c < p) {
+ var S = tn(v, _);
+ return Wr(e, t, Lr, r.placeholder, n, v, S, u, d, p - c)
+ }
+ var E = m ? n : this,
+ x = f ? E[e] : e;
+ return c = v.length, u ? v = Ci(v, u) : b && c > 1 && v.reverse(), h && d < c && (v.length = d), this && this !== it && this instanceof r && (x = y || Nr(x)), x.apply(E, v)
}
+ }
- function il(e) {
- return Ia("function" == typeof e ? e : sa(e, 1))
+ function Fr(e, t) {
+ return function(n, a) {
+ return function(e, t, n, a) {
+ return va(e, (function(e, r, i) {
+ t(a, n(e), r, i)
+ })), a
+ }(n, e, t(a), {})
}
- var ol = Ka((function(e, t) {
- return function(n) {
- return Pa(n, e, t)
- }
- })),
- sl = Ka((function(e, t) {
- return function(n) {
- return Pa(e, n, t)
- }
- }));
+ }
- function ll(e, t, n) {
- var a = Os(t),
- r = _a(t, a);
- null != n || ts(t) && (r.length || !a.length) || (n = t, t = e, e = this, r = _a(t, Os(t)));
- var i = !(ts(n) && "chain" in n && !n.chain),
- o = Qo(e);
- return vt(r, (function(n) {
- var a = t[n];
- e[n] = a, o && (e.prototype[n] = function() {
- var t = this.__chain__;
- if (i || t) {
- var n = e(this.__wrapped__),
- r = n.__actions__ = Ar(this.__actions__);
- return r.push({
- func: a,
- args: arguments,
- thisArg: e
- }), n.__chain__ = t, n
- }
- return a.apply(e, Ct([this.value()], arguments))
- })
- })), e
+ function qr(e, t) {
+ return function(n, a) {
+ var i;
+ if (n === r && a === r) return t;
+ if (n !== r && (i = n), a !== r) {
+ if (i === r) return a;
+ "string" == typeof n || "string" == typeof a ? (n = sr(n), a = sr(a)) : (n = or(n), a = or(a)), i = e(n, a)
+ }
+ return i
}
+ }
- function cl() {}
- var ul = Br(xt),
- dl = Br(_t),
- pl = Br(Pt);
+ function Br(e) {
+ return ei((function(t) {
+ return t = xt(t, Ht(oi())), Ka((function(n) {
+ var a = this;
+ return e(t, (function(e) {
+ return bt(e, a, n)
+ }))
+ }))
+ }))
+ }
- function hl(e) {
- return yi(e) ? Rt(Ri(e)) : function(e) {
- return function(t) {
- return wa(t, e)
- }
- }(e)
- }
- var ml = Hr(),
- fl = Hr(!0);
+ function Ur(e, t) {
+ var n = (t = t === r ? " " : sr(t)).length;
+ if (n < 2) return n ? Ga(t, e) : t;
+ var a = Ga(t, un(e / rn(t)));
+ return Qt(t) ? vr(on(a), 0, e).join("") : a.slice(0, e)
+ }
- function gl() {
- return []
+ function Hr(e) {
+ return function(t, n, i) {
+ return i && "number" != typeof i && bi(t, n, i) && (n = i = r), t = ms(t), n === r ? (n = t, t = 0) : n = ms(n),
+ function(e, t, n, r) {
+ for (var i = -1, o = bn(un((t - e) / (n || 1)), 0), s = a(o); o--;) s[r ? o : ++i] = e, e += n;
+ return s
+ }(t, n, i = i === r ? t < n ? 1 : -1 : ms(i), e)
}
+ }
- function bl() {
- return !1
+ function Vr(e) {
+ return function(t, n) {
+ return "string" == typeof t && "string" == typeof n || (t = bs(t), n = bs(n)), e(t, n)
}
- var yl, vl = qr((function(e, t) {
- return e + t
- }), 0),
- kl = Yr("ceil"),
- _l = qr((function(e, t) {
- return e / t
- }), 1),
- wl = Yr("floor"),
- Sl = qr((function(e, t) {
- return e * t
- }), 1),
- El = Yr("round"),
- xl = qr((function(e, t) {
- return e - t
- }), 0);
- return Fn.after = function(e, t) {
- if ("function" != typeof t) throw new Ae(i);
- return e = fs(e),
- function() {
- if (--e < 1) return t.apply(this, arguments)
- }
- }, Fn.ary = jo, Fn.assign = ks, Fn.assignIn = _s, Fn.assignInWith = ws, Fn.assignWith = Ss, Fn.at = Es, Fn.before = Po, Fn.bind = Do, Fn.bindAll = el, Fn.bindKey = To, Fn.castArray = function() {
- if (!arguments.length) return [];
- var e = arguments[0];
- return Wo(e) ? e : [e]
- }, Fn.chain = ho, Fn.chunk = function(e, t, n) {
- t = (n ? bi(e, t, n) : t === r) ? 1 : bn(fs(t), 0);
- var i = null == e ? 0 : e.length;
- if (!i || t < 1) return [];
- for (var o = 0, s = 0, l = a(un(i / t)); o < i;) l[s++] = tr(e, o, o += t);
- return l
- }, Fn.compact = function(e) {
- for (var t = -1, n = null == e ? 0 : e.length, a = 0, r = []; ++t < n;) {
- var i = e[t];
- i && (r[a++] = i)
- }
- return r
- }, Fn.concat = function() {
- var e = arguments.length;
- if (!e) return [];
- for (var t = a(e - 1), n = arguments[0], r = e; r--;) t[r - 1] = arguments[r];
- return Ct(Wo(n) ? Ar(n) : [n], ga(t, 1))
- }, Fn.cond = function(e) {
- var t = null == e ? 0 : e.length,
- n = oi();
- return e = t ? xt(e, (function(e) {
- if ("function" != typeof e[1]) throw new Ae(i);
- return [n(e[0]), e[1]]
- })) : [], Ka((function(n) {
- for (var a = -1; ++a < t;) {
- var r = e[a];
- if (bt(r[0], this, n)) return bt(r[1], this, n)
- }
- }))
- }, Fn.conforms = function(e) {
- return function(e) {
- var t = Os(e);
- return function(n) {
- return la(n, e, t)
- }
- }(sa(e, 1))
- }, Fn.constant = tl, Fn.countBy = go, Fn.create = function(e, t) {
- var n = qn(e);
- return null == t ? n : aa(n, t)
- }, Fn.curry = function e(t, n, a) {
- var i = $r(t, 8, r, r, r, r, r, n = a ? r : n);
- return i.placeholder = e.placeholder, i
- }, Fn.curryRight = function e(t, n, a) {
- var i = $r(t, 16, r, r, r, r, r, n = a ? r : n);
- return i.placeholder = e.placeholder, i
- }, Fn.debounce = Oo, Fn.defaults = xs, Fn.defaultsDeep = Cs, Fn.defer = Mo, Fn.delay = Io, Fn.difference = qi, Fn.differenceBy = Bi, Fn.differenceWith = Ui, Fn.drop = function(e, t, n) {
- var a = null == e ? 0 : e.length;
- return a ? tr(e, (t = n || t === r ? 1 : fs(t)) < 0 ? 0 : t, a) : []
- }, Fn.dropRight = function(e, t, n) {
- var a = null == e ? 0 : e.length;
- return a ? tr(e, 0, (t = a - (t = n || t === r ? 1 : fs(t))) < 0 ? 0 : t) : []
- }, Fn.dropRightWhile = function(e, t) {
- return e && e.length ? dr(e, oi(t, 3), !0, !0) : []
- }, Fn.dropWhile = function(e, t) {
- return e && e.length ? dr(e, oi(t, 3), !0) : []
- }, Fn.fill = function(e, t, n, a) {
- var i = null == e ? 0 : e.length;
- return i ? (n && "number" != typeof n && bi(e, t, n) && (n = 0, a = i), function(e, t, n, a) {
- var i = e.length;
- for ((n = fs(n)) < 0 && (n = -n > i ? 0 : i + n), (a = a === r || a > i ? i : fs(a)) < 0 && (a += i), a = n > a ? 0 : gs(a); n < a;) e[n++] = t;
- return e
- }(e, t, n, a)) : []
- }, Fn.filter = function(e, t) {
- return (Wo(e) ? wt : fa)(e, oi(t, 3))
- }, Fn.flatMap = function(e, t) {
- return ga(Eo(e, t), 1)
- }, Fn.flatMapDeep = function(e, t) {
- return ga(Eo(e, t), u)
- }, Fn.flatMapDepth = function(e, t, n) {
- return n = n === r ? 1 : fs(n), ga(Eo(e, t), n)
- }, Fn.flatten = Wi, Fn.flattenDeep = function(e) {
- return null != e && e.length ? ga(e, u) : []
- }, Fn.flattenDepth = function(e, t) {
- return null != e && e.length ? ga(e, t = t === r ? 1 : fs(t)) : []
- }, Fn.flip = function(e) {
- return $r(e, 512)
- }, Fn.flow = nl, Fn.flowRight = al, Fn.fromPairs = function(e) {
- for (var t = -1, n = null == e ? 0 : e.length, a = {}; ++t < n;) {
- var r = e[t];
- a[r[0]] = r[1]
- }
- return a
- }, Fn.functions = function(e) {
- return null == e ? [] : _a(e, Os(e))
- }, Fn.functionsIn = function(e) {
- return null == e ? [] : _a(e, Ms(e))
- }, Fn.groupBy = _o, Fn.initial = function(e) {
- return null != e && e.length ? tr(e, 0, -1) : []
- }, Fn.intersection = Gi, Fn.intersectionBy = Ki, Fn.intersectionWith = $i, Fn.invert = Ps, Fn.invertBy = Ds, Fn.invokeMap = wo, Fn.iteratee = il, Fn.keyBy = So, Fn.keys = Os, Fn.keysIn = Ms, Fn.map = Eo, Fn.mapKeys = function(e, t) {
- var n = {};
- return t = oi(t, 3), va(e, (function(e, a, r) {
- ra(n, t(e, a, r), e)
- })), n
- }, Fn.mapValues = function(e, t) {
- var n = {};
- return t = oi(t, 3), va(e, (function(e, a, r) {
- ra(n, a, t(e, a, r))
- })), n
- }, Fn.matches = function(e) {
- return La(sa(e, 1))
- }, Fn.matchesProperty = function(e, t) {
- return Fa(e, sa(t, 1))
- }, Fn.memoize = No, Fn.merge = Is, Fn.mergeWith = Ns, Fn.method = ol, Fn.methodOf = sl, Fn.mixin = ll, Fn.negate = zo, Fn.nthArg = function(e) {
- return e = fs(e), Ka((function(t) {
- return Ba(t, e)
- }))
- }, Fn.omit = zs, Fn.omitBy = function(e, t) {
- return Ls(e, zo(oi(t)))
- }, Fn.once = function(e) {
- return Po(2, e)
- }, Fn.orderBy = function(e, t, n, a) {
- return null == e ? [] : (Wo(t) || (t = null == t ? [] : [t]), Wo(n = a ? r : n) || (n = null == n ? [] : [n]), Ua(e, t, n))
- }, Fn.over = ul, Fn.overArgs = Ro, Fn.overEvery = dl, Fn.overSome = pl, Fn.partial = Lo, Fn.partialRight = Fo, Fn.partition = xo, Fn.pick = Rs, Fn.pickBy = Ls, Fn.property = hl, Fn.propertyOf = function(e) {
- return function(t) {
- return null == e ? r : wa(e, t)
- }
- }, Fn.pull = Zi, Fn.pullAll = Qi, Fn.pullAllBy = function(e, t, n) {
- return e && e.length && t && t.length ? Va(e, t, oi(n, 2)) : e
- }, Fn.pullAllWith = function(e, t, n) {
- return e && e.length && t && t.length ? Va(e, t, r, n) : e
- }, Fn.pullAt = Xi, Fn.range = ml, Fn.rangeRight = fl, Fn.rearg = qo, Fn.reject = function(e, t) {
- return (Wo(e) ? wt : fa)(e, zo(oi(t, 3)))
- }, Fn.remove = function(e, t) {
- var n = [];
- if (!e || !e.length) return n;
- var a = -1,
- r = [],
- i = e.length;
- for (t = oi(t, 3); ++a < i;) {
- var o = e[a];
- t(o, a, e) && (n.push(o), r.push(a))
- }
- return Wa(e, r), n
- }, Fn.rest = function(e, t) {
- if ("function" != typeof e) throw new Ae(i);
- return Ka(e, t = t === r ? t : fs(t))
- }, Fn.reverse = eo, Fn.sampleSize = function(e, t, n) {
- return t = (n ? bi(e, t, n) : t === r) ? 1 : fs(t), (Wo(e) ? Zn : Ja)(e, t)
- }, Fn.set = function(e, t, n) {
- return null == e ? e : Za(e, t, n)
- }, Fn.setWith = function(e, t, n, a) {
- return a = "function" == typeof a ? a : r, null == e ? e : Za(e, t, n, a)
- }, Fn.shuffle = function(e) {
- return (Wo(e) ? Qn : er)(e)
- }, Fn.slice = function(e, t, n) {
- var a = null == e ? 0 : e.length;
- return a ? (n && "number" != typeof n && bi(e, t, n) ? (t = 0, n = a) : (t = null == t ? 0 : fs(t), n = n === r ? a : fs(n)), tr(e, t, n)) : []
- }, Fn.sortBy = Co, Fn.sortedUniq = function(e) {
- return e && e.length ? ir(e) : []
- }, Fn.sortedUniqBy = function(e, t) {
- return e && e.length ? ir(e, oi(t, 2)) : []
- }, Fn.split = function(e, t, n) {
- return n && "number" != typeof n && bi(e, t, n) && (t = n = r), (n = n === r ? h : n >>> 0) ? (e = vs(e)) && ("string" == typeof t || null != t && !os(t)) && !(t = sr(t)) && Qt(e) ? vr(on(e), 0, n) : e.split(t, n) : []
- }, Fn.spread = function(e, t) {
- if ("function" != typeof e) throw new Ae(i);
- return t = null == t ? 0 : bn(fs(t), 0), Ka((function(n) {
- var a = n[t],
- r = vr(n, 0, t);
- return a && Ct(r, a), bt(e, this, r)
- }))
- }, Fn.tail = function(e) {
- var t = null == e ? 0 : e.length;
- return t ? tr(e, 1, t) : []
- }, Fn.take = function(e, t, n) {
- return e && e.length ? tr(e, 0, (t = n || t === r ? 1 : fs(t)) < 0 ? 0 : t) : []
- }, Fn.takeRight = function(e, t, n) {
- var a = null == e ? 0 : e.length;
- return a ? tr(e, (t = a - (t = n || t === r ? 1 : fs(t))) < 0 ? 0 : t, a) : []
- }, Fn.takeRightWhile = function(e, t) {
- return e && e.length ? dr(e, oi(t, 3), !1, !0) : []
- }, Fn.takeWhile = function(e, t) {
- return e && e.length ? dr(e, oi(t, 3)) : []
- }, Fn.tap = function(e, t) {
- return t(e), e
- }, Fn.throttle = function(e, t, n) {
- var a = !0,
- r = !0;
- if ("function" != typeof e) throw new Ae(i);
- return ts(n) && (a = "leading" in n ? !!n.leading : a, r = "trailing" in n ? !!n.trailing : r), Oo(e, t, {
- leading: a,
- maxWait: t,
- trailing: r
- })
- }, Fn.thru = mo, Fn.toArray = hs, Fn.toPairs = Fs, Fn.toPairsIn = qs, Fn.toPath = function(e) {
- return Wo(e) ? xt(e, Ri) : cs(e) ? [e] : Ar(zi(vs(e)))
- }, Fn.toPlainObject = ys, Fn.transform = function(e, t, n) {
- var a = Wo(e),
- r = a || $o(e) || us(e);
- if (t = oi(t, 4), null == n) {
- var i = e && e.constructor;
- n = r ? a ? new i : [] : ts(e) && Qo(i) ? qn(Ye(e)) : {}
- }
- return (r ? vt : va)(e, (function(e, a, r) {
- return t(n, e, a, r)
- })), n
- }, Fn.unary = function(e) {
- return jo(e, 1)
- }, Fn.union = to, Fn.unionBy = no, Fn.unionWith = ao, Fn.uniq = function(e) {
- return e && e.length ? lr(e) : []
- }, Fn.uniqBy = function(e, t) {
- return e && e.length ? lr(e, oi(t, 2)) : []
- }, Fn.uniqWith = function(e, t) {
- return t = "function" == typeof t ? t : r, e && e.length ? lr(e, r, t) : []
- }, Fn.unset = function(e, t) {
- return null == e || cr(e, t)
- }, Fn.unzip = ro, Fn.unzipWith = io, Fn.update = function(e, t, n) {
- return null == e ? e : ur(e, t, gr(n))
- }, Fn.updateWith = function(e, t, n, a) {
- return a = "function" == typeof a ? a : r, null == e ? e : ur(e, t, gr(n), a)
- }, Fn.values = Bs, Fn.valuesIn = function(e) {
- return null == e ? [] : Vt(e, Ms(e))
- }, Fn.without = oo, Fn.words = Qs, Fn.wrap = function(e, t) {
- return Lo(gr(t), e)
- }, Fn.xor = so, Fn.xorBy = lo, Fn.xorWith = co, Fn.zip = uo, Fn.zipObject = function(e, t) {
- return mr(e || [], t || [], ea)
- }, Fn.zipObjectDeep = function(e, t) {
- return mr(e || [], t || [], Za)
- }, Fn.zipWith = po, Fn.entries = Fs, Fn.entriesIn = qs, Fn.extend = _s, Fn.extendWith = ws, ll(Fn, Fn), Fn.add = vl, Fn.attempt = Xs, Fn.camelCase = Us, Fn.capitalize = Hs, Fn.ceil = kl, Fn.clamp = function(e, t, n) {
- return n === r && (n = t, t = r), n !== r && (n = (n = bs(n)) == n ? n : 0), t !== r && (t = (t = bs(t)) == t ? t : 0), oa(bs(e), t, n)
- }, Fn.clone = function(e) {
- return sa(e, 4)
- }, Fn.cloneDeep = function(e) {
- return sa(e, 5)
- }, Fn.cloneDeepWith = function(e, t) {
- return sa(e, 5, t = "function" == typeof t ? t : r)
- }, Fn.cloneWith = function(e, t) {
- return sa(e, 4, t = "function" == typeof t ? t : r)
- }, Fn.conformsTo = function(e, t) {
- return null == t || la(e, t, Os(t))
- }, Fn.deburr = Vs, Fn.defaultTo = function(e, t) {
- return null == e || e != e ? t : e
- }, Fn.divide = _l, Fn.endsWith = function(e, t, n) {
- e = vs(e), t = sr(t);
- var a = e.length,
- i = n = n === r ? a : oa(fs(n), 0, a);
- return (n -= t.length) >= 0 && e.slice(n, i) == t
- }, Fn.eq = Bo, Fn.escape = function(e) {
- return (e = vs(e)) && K.test(e) ? e.replace(Y, Jt) : e
- }, Fn.escapeRegExp = function(e) {
- return (e = vs(e)) && ne.test(e) ? e.replace(te, "\\$&") : e
- }, Fn.every = function(e, t, n) {
- var a = Wo(e) ? _t : ha;
- return n && bi(e, t, n) && (t = r), a(e, oi(t, 3))
- }, Fn.find = bo, Fn.findIndex = Hi, Fn.findKey = function(e, t) {
- return Tt(e, oi(t, 3), va)
- }, Fn.findLast = yo, Fn.findLastIndex = Vi, Fn.findLastKey = function(e, t) {
- return Tt(e, oi(t, 3), ka)
- }, Fn.floor = wl, Fn.forEach = vo, Fn.forEachRight = ko, Fn.forIn = function(e, t) {
- return null == e ? e : ba(e, oi(t, 3), Ms)
- }, Fn.forInRight = function(e, t) {
- return null == e ? e : ya(e, oi(t, 3), Ms)
- }, Fn.forOwn = function(e, t) {
- return e && va(e, oi(t, 3))
- }, Fn.forOwnRight = function(e, t) {
- return e && ka(e, oi(t, 3))
- }, Fn.get = As, Fn.gt = Uo, Fn.gte = Ho, Fn.has = function(e, t) {
- return null != e && hi(e, t, Ca)
- }, Fn.hasIn = js, Fn.head = Yi, Fn.identity = rl, Fn.includes = function(e, t, n, a) {
- e = Go(e) ? e : Bs(e), n = n && !a ? fs(n) : 0;
- var r = e.length;
- return n < 0 && (n = bn(r + n, 0)), ls(e) ? n <= r && e.indexOf(t, n) > -1 : !!r && Mt(e, t, n) > -1
- }, Fn.indexOf = function(e, t, n) {
- var a = null == e ? 0 : e.length;
- if (!a) return -1;
- var r = null == n ? 0 : fs(n);
- return r < 0 && (r = bn(a + r, 0)), Mt(e, t, r)
- }, Fn.inRange = function(e, t, n) {
- return t = ms(t), n === r ? (n = t, t = 0) : n = ms(n),
- function(e, t, n) {
- return e >= yn(t, n) && e < bn(t, n)
- }(e = bs(e), t, n)
- }, Fn.invoke = Ts, Fn.isArguments = Vo, Fn.isArray = Wo, Fn.isArrayBuffer = Yo, Fn.isArrayLike = Go, Fn.isArrayLikeObject = Ko, Fn.isBoolean = function(e) {
- return !0 === e || !1 === e || ns(e) && Ea(e) == b
- }, Fn.isBuffer = $o, Fn.isDate = Jo, Fn.isElement = function(e) {
- return ns(e) && 1 === e.nodeType && !is(e)
- }, Fn.isEmpty = function(e) {
- if (null == e) return !0;
- if (Go(e) && (Wo(e) || "string" == typeof e || "function" == typeof e.splice || $o(e) || us(e) || Vo(e))) return !e.length;
- var t = pi(e);
- if (t == w || t == A) return !e.size;
- if (_i(e)) return !Na(e).length;
- for (var n in e)
- if (Me.call(e, n)) return !1;
- return !0
- }, Fn.isEqual = function(e, t) {
- return Ta(e, t)
- }, Fn.isEqualWith = function(e, t, n) {
- var a = (n = "function" == typeof n ? n : r) ? n(e, t) : r;
- return a === r ? Ta(e, t, r, n) : !!a
- }, Fn.isError = Zo, Fn.isFinite = function(e) {
- return "number" == typeof e && mn(e)
- }, Fn.isFunction = Qo, Fn.isInteger = Xo, Fn.isLength = es, Fn.isMap = as, Fn.isMatch = function(e, t) {
- return e === t || Oa(e, t, li(t))
- }, Fn.isMatchWith = function(e, t, n) {
- return n = "function" == typeof n ? n : r, Oa(e, t, li(t), n)
- }, Fn.isNaN = function(e) {
- return rs(e) && e != +e
- }, Fn.isNative = function(e) {
- if (ki(e)) throw new _e("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");
- return Ma(e)
- }, Fn.isNil = function(e) {
- return null == e
- }, Fn.isNull = function(e) {
- return null === e
- }, Fn.isNumber = rs, Fn.isObject = ts, Fn.isObjectLike = ns, Fn.isPlainObject = is, Fn.isRegExp = os, Fn.isSafeInteger = function(e) {
- return Xo(e) && e >= -9007199254740991 && e <= d
- }, Fn.isSet = ss, Fn.isString = ls, Fn.isSymbol = cs, Fn.isTypedArray = us, Fn.isUndefined = function(e) {
- return e === r
- }, Fn.isWeakMap = function(e) {
- return ns(e) && pi(e) == D
- }, Fn.isWeakSet = function(e) {
- return ns(e) && "[object WeakSet]" == Ea(e)
- }, Fn.join = function(e, t) {
- return null == e ? "" : fn.call(e, t)
- }, Fn.kebabCase = Ws, Fn.last = Ji, Fn.lastIndexOf = function(e, t, n) {
- var a = null == e ? 0 : e.length;
- if (!a) return -1;
- var i = a;
- return n !== r && (i = (i = fs(n)) < 0 ? bn(a + i, 0) : yn(i, a - 1)), t == t ? function(e, t, n) {
- for (var a = n + 1; a--;)
- if (e[a] === t) return a;
- return a
- }(e, t, i) : Ot(e, Nt, i, !0)
- }, Fn.lowerCase = Ys, Fn.lowerFirst = Gs, Fn.lt = ds, Fn.lte = ps, Fn.max = function(e) {
- return e && e.length ? ma(e, rl, xa) : r
- }, Fn.maxBy = function(e, t) {
- return e && e.length ? ma(e, oi(t, 2), xa) : r
- }, Fn.mean = function(e) {
- return zt(e, rl)
- }, Fn.meanBy = function(e, t) {
- return zt(e, oi(t, 2))
- }, Fn.min = function(e) {
- return e && e.length ? ma(e, rl, za) : r
- }, Fn.minBy = function(e, t) {
- return e && e.length ? ma(e, oi(t, 2), za) : r
- }, Fn.stubArray = gl, Fn.stubFalse = bl, Fn.stubObject = function() {
- return {}
- }, Fn.stubString = function() {
- return ""
- }, Fn.stubTrue = function() {
- return !0
- }, Fn.multiply = Sl, Fn.nth = function(e, t) {
- return e && e.length ? Ba(e, fs(t)) : r
- }, Fn.noConflict = function() {
- return it._ === this && (it._ = Le), this
- }, Fn.noop = cl, Fn.now = Ao, Fn.pad = function(e, t, n) {
- e = vs(e);
- var a = (t = fs(t)) ? rn(e) : 0;
- if (!t || a >= t) return e;
- var r = (t - a) / 2;
- return Ur(dn(r), n) + e + Ur(un(r), n)
- }, Fn.padEnd = function(e, t, n) {
- e = vs(e);
- var a = (t = fs(t)) ? rn(e) : 0;
- return t && a < t ? e + Ur(t - a, n) : e
- }, Fn.padStart = function(e, t, n) {
- e = vs(e);
- var a = (t = fs(t)) ? rn(e) : 0;
- return t && a < t ? Ur(t - a, n) + e : e
- }, Fn.parseInt = function(e, t, n) {
- return n || null == t ? t = 0 : t && (t = +t), kn(vs(e).replace(ae, ""), t || 0)
- }, Fn.random = function(e, t, n) {
- if (n && "boolean" != typeof n && bi(e, t, n) && (t = n = r), n === r && ("boolean" == typeof t ? (n = t, t = r) : "boolean" == typeof e && (n = e, e = r)), e === r && t === r ? (e = 0, t = 1) : (e = ms(e), t === r ? (t = e, e = 0) : t = ms(t)), e > t) {
- var a = e;
- e = t, t = a
- }
- if (n || e % 1 || t % 1) {
- var i = _n();
- return yn(e + i * (t - e + tt("1e-" + ((i + "").length - 1))), t)
- }
- return Ya(e, t)
- }, Fn.reduce = function(e, t, n) {
- var a = Wo(e) ? At : Ft,
- r = arguments.length < 3;
- return a(e, oi(t, 4), n, r, da)
- }, Fn.reduceRight = function(e, t, n) {
- var a = Wo(e) ? jt : Ft,
- r = arguments.length < 3;
- return a(e, oi(t, 4), n, r, pa)
- }, Fn.repeat = function(e, t, n) {
- return t = (n ? bi(e, t, n) : t === r) ? 1 : fs(t), Ga(vs(e), t)
- }, Fn.replace = function() {
- var e = arguments,
- t = vs(e[0]);
- return e.length < 3 ? t : t.replace(e[1], e[2])
- }, Fn.result = function(e, t, n) {
- var a = -1,
- i = (t = br(t, e)).length;
- for (i || (i = 1, e = r); ++a < i;) {
- var o = null == e ? r : e[Ri(t[a])];
- o === r && (a = i, o = n), e = Qo(o) ? o.call(e) : o
- }
- return e
- }, Fn.round = El, Fn.runInContext = e, Fn.sample = function(e) {
- return (Wo(e) ? Jn : $a)(e)
- }, Fn.size = function(e) {
- if (null == e) return 0;
- if (Go(e)) return ls(e) ? rn(e) : e.length;
- var t = pi(e);
- return t == w || t == A ? e.size : Na(e).length
- }, Fn.snakeCase = Ks, Fn.some = function(e, t, n) {
- var a = Wo(e) ? Pt : nr;
- return n && bi(e, t, n) && (t = r), a(e, oi(t, 3))
- }, Fn.sortedIndex = function(e, t) {
- return ar(e, t)
- }, Fn.sortedIndexBy = function(e, t, n) {
- return rr(e, t, oi(n, 2))
- }, Fn.sortedIndexOf = function(e, t) {
- var n = null == e ? 0 : e.length;
- if (n) {
- var a = ar(e, t);
- if (a < n && Bo(e[a], t)) return a
- }
- return -1
- }, Fn.sortedLastIndex = function(e, t) {
- return ar(e, t, !0)
- }, Fn.sortedLastIndexBy = function(e, t, n) {
- return rr(e, t, oi(n, 2), !0)
- }, Fn.sortedLastIndexOf = function(e, t) {
- if (null != e && e.length) {
- var n = ar(e, t, !0) - 1;
- if (Bo(e[n], t)) return n
- }
- return -1
- }, Fn.startCase = $s, Fn.startsWith = function(e, t, n) {
- return e = vs(e), n = null == n ? 0 : oa(fs(n), 0, e.length), t = sr(t), e.slice(n, n + t.length) == t
- }, Fn.subtract = xl, Fn.sum = function(e) {
- return e && e.length ? qt(e, rl) : 0
- }, Fn.sumBy = function(e, t) {
- return e && e.length ? qt(e, oi(t, 2)) : 0
- }, Fn.template = function(e, t, n) {
- var a = Fn.templateSettings;
- n && bi(e, t, n) && (t = r), e = vs(e), t = ws({}, t, a, Jr);
- var i, o, s = ws({}, t.imports, a.imports, Jr),
- l = Os(s),
- c = Vt(s, l),
- u = 0,
- d = t.interpolate || ve,
- p = "__p += '",
- h = xe((t.escape || ve).source + "|" + d.source + "|" + (d === Z ? de : ve).source + "|" + (t.evaluate || ve).source + "|$", "g"),
- m = "//# sourceURL=" + (Me.call(t, "sourceURL") ? (t.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++Ze + "]") + "\n";
- e.replace(h, (function(t, n, a, r, s, l) {
- return a || (a = r), p += e.slice(u, l).replace(ke, Zt), n && (i = !0, p += "' +\n__e(" + n + ") +\n'"), s && (o = !0, p += "';\n" + s + ";\n__p += '"), a && (p += "' +\n((__t = (" + a + ")) == null ? '' : __t) +\n'"), u = l + t.length, t
- })), p += "';\n";
- var f = Me.call(t, "variable") && t.variable;
- if (f) {
- if (ce.test(f)) throw new _e("Invalid `variable` option passed into `_.template`")
- } else p = "with (obj) {\n" + p + "\n}\n";
- p = (o ? p.replace(U, "") : p).replace(H, "$1").replace(V, "$1;"), p = "function(" + (f || "obj") + ") {\n" + (f ? "" : "obj || (obj = {});\n") + "var __t, __p = ''" + (i ? ", __e = _.escape" : "") + (o ? ", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n" : ";\n") + p + "return __p\n}";
- var g = Xs((function() {
- return we(l, m + "return " + p).apply(r, c)
- }));
- if (g.source = p, Zo(g)) throw g;
- return g
- }, Fn.times = function(e, t) {
- if ((e = fs(e)) < 1 || e > d) return [];
- var n = h,
- a = yn(e, h);
- t = oi(t), e -= h;
- for (var r = Bt(a, t); ++n < e;) t(n);
- return r
- }, Fn.toFinite = ms, Fn.toInteger = fs, Fn.toLength = gs, Fn.toLower = function(e) {
- return vs(e).toLowerCase()
- }, Fn.toNumber = bs, Fn.toSafeInteger = function(e) {
- return e ? oa(fs(e), -9007199254740991, d) : 0 === e ? e : 0
- }, Fn.toString = vs, Fn.toUpper = function(e) {
- return vs(e).toUpperCase()
- }, Fn.trim = function(e, t, n) {
- if ((e = vs(e)) && (n || t === r)) return Ut(e);
- if (!e || !(t = sr(t))) return e;
- var a = on(e),
- i = on(t);
- return vr(a, Yt(a, i), Gt(a, i) + 1).join("")
- }, Fn.trimEnd = function(e, t, n) {
- if ((e = vs(e)) && (n || t === r)) return e.slice(0, sn(e) + 1);
- if (!e || !(t = sr(t))) return e;
- var a = on(e);
- return vr(a, 0, Gt(a, on(t)) + 1).join("")
- }, Fn.trimStart = function(e, t, n) {
- if ((e = vs(e)) && (n || t === r)) return e.replace(ae, "");
- if (!e || !(t = sr(t))) return e;
- var a = on(e);
- return vr(a, Yt(a, on(t))).join("")
- }, Fn.truncate = function(e, t) {
- var n = 30,
- a = "...";
- if (ts(t)) {
- var i = "separator" in t ? t.separator : i;
- n = "length" in t ? fs(t.length) : n, a = "omission" in t ? sr(t.omission) : a
- }
- var o = (e = vs(e)).length;
- if (Qt(e)) {
- var s = on(e);
- o = s.length
- }
- if (n >= o) return e;
- var l = n - rn(a);
- if (l < 1) return a;
- var c = s ? vr(s, 0, l).join("") : e.slice(0, l);
- if (i === r) return c + a;
- if (s && (l += c.length - l), os(i)) {
- if (e.slice(l).search(i)) {
- var u, d = c;
- for (i.global || (i = xe(i.source, vs(pe.exec(i)) + "g")), i.lastIndex = 0; u = i.exec(d);) var p = u.index;
- c = c.slice(0, p === r ? l : p)
- }
- } else if (e.indexOf(sr(i), l) != l) {
- var h = c.lastIndexOf(i);
- h > -1 && (c = c.slice(0, h))
- }
- return c + a
- }, Fn.unescape = function(e) {
- return (e = vs(e)) && G.test(e) ? e.replace(W, ln) : e
- }, Fn.uniqueId = function(e) {
- var t = ++Ie;
- return vs(e) + t
- }, Fn.upperCase = Js, Fn.upperFirst = Zs, Fn.each = vo, Fn.eachRight = ko, Fn.first = Yi, ll(Fn, (yl = {}, va(Fn, (function(e, t) {
- Me.call(Fn.prototype, t) || (yl[t] = e)
- })), yl), {
- chain: !1
- }), Fn.VERSION = "4.17.21", vt(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], (function(e) {
- Fn[e].placeholder = Fn
- })), vt(["drop", "take"], (function(e, t) {
- Hn.prototype[e] = function(n) {
- n = n === r ? 1 : bn(fs(n), 0);
- var a = this.__filtered__ && !t ? new Hn(this) : this.clone();
- return a.__filtered__ ? a.__takeCount__ = yn(n, a.__takeCount__) : a.__views__.push({
- size: yn(n, h),
- type: e + (a.__dir__ < 0 ? "Right" : "")
- }), a
- }, Hn.prototype[e + "Right"] = function(t) {
- return this.reverse()[e](t).reverse()
- }
- })), vt(["filter", "map", "takeWhile"], (function(e, t) {
- var n = t + 1,
- a = 1 == n || 3 == n;
- Hn.prototype[e] = function(e) {
- var t = this.clone();
- return t.__iteratees__.push({
- iteratee: oi(e, 3),
- type: n
- }), t.__filtered__ = t.__filtered__ || a, t
- }
- })), vt(["head", "last"], (function(e, t) {
- var n = "take" + (t ? "Right" : "");
- Hn.prototype[e] = function() {
- return this[n](1).value()[0]
- }
- })), vt(["initial", "tail"], (function(e, t) {
- var n = "drop" + (t ? "" : "Right");
- Hn.prototype[e] = function() {
- return this.__filtered__ ? new Hn(this) : this[n](1)
- }
- })), Hn.prototype.compact = function() {
- return this.filter(rl)
- }, Hn.prototype.find = function(e) {
- return this.filter(e).head()
- }, Hn.prototype.findLast = function(e) {
- return this.reverse().find(e)
- }, Hn.prototype.invokeMap = Ka((function(e, t) {
- return "function" == typeof e ? new Hn(this) : this.map((function(n) {
- return Pa(n, e, t)
- }))
- })), Hn.prototype.reject = function(e) {
- return this.filter(zo(oi(e)))
- }, Hn.prototype.slice = function(e, t) {
- e = fs(e);
- var n = this;
- return n.__filtered__ && (e > 0 || t < 0) ? new Hn(n) : (e < 0 ? n = n.takeRight(-e) : e && (n = n.drop(e)), t !== r && (n = (t = fs(t)) < 0 ? n.dropRight(-t) : n.take(t - e)), n)
- }, Hn.prototype.takeRightWhile = function(e) {
- return this.reverse().takeWhile(e).reverse()
- }, Hn.prototype.toArray = function() {
- return this.take(h)
- }, va(Hn.prototype, (function(e, t) {
- var n = /^(?:filter|find|map|reject)|While$/.test(t),
- a = /^(?:head|last)$/.test(t),
- i = Fn[a ? "take" + ("last" == t ? "Right" : "") : t],
- o = a || /^find/.test(t);
- i && (Fn.prototype[t] = function() {
- var t = this.__wrapped__,
- s = a ? [1] : arguments,
- l = t instanceof Hn,
- c = s[0],
- u = l || Wo(t),
- d = function(e) {
- var t = i.apply(Fn, Ct([e], s));
- return a && p ? t[0] : t
- };
- u && n && "function" == typeof c && 1 != c.length && (l = u = !1);
- var p = this.__chain__,
- h = !!this.__actions__.length,
- m = o && !p,
- f = l && !h;
- if (!o && u) {
- t = f ? t : new Hn(this);
- var g = e.apply(t, s);
- return g.__actions__.push({
- func: mo,
- args: [d],
- thisArg: r
- }), new Un(g, p)
- }
- return m && f ? e.apply(this, s) : (g = this.thru(d), m ? a ? g.value()[0] : g.value() : g)
- })
- })), vt(["pop", "push", "shift", "sort", "splice", "unshift"], (function(e) {
- var t = je[e],
- n = /^(?:push|sort|unshift)$/.test(e) ? "tap" : "thru",
- a = /^(?:pop|shift)$/.test(e);
- Fn.prototype[e] = function() {
- var e = arguments;
- if (a && !this.__chain__) {
- var r = this.value();
- return t.apply(Wo(r) ? r : [], e)
- }
- return this[n]((function(n) {
- return t.apply(Wo(n) ? n : [], e)
- }))
- }
- })), va(Hn.prototype, (function(e, t) {
- var n = Fn[t];
- if (n) {
- var a = n.name + "";
- Me.call(Dn, a) || (Dn[a] = []), Dn[a].push({
- name: t,
- func: n
- })
- }
- })), Dn[Lr(r, 2).name] = [{
- name: "wrapper",
- func: r
- }], Hn.prototype.clone = function() {
- var e = new Hn(this.__wrapped__);
- return e.__actions__ = Ar(this.__actions__), e.__dir__ = this.__dir__, e.__filtered__ = this.__filtered__, e.__iteratees__ = Ar(this.__iteratees__), e.__takeCount__ = this.__takeCount__, e.__views__ = Ar(this.__views__), e
- }, Hn.prototype.reverse = function() {
- if (this.__filtered__) {
- var e = new Hn(this);
- e.__dir__ = -1, e.__filtered__ = !0
- } else(e = this.clone()).__dir__ *= -1;
- return e
- }, Hn.prototype.value = function() {
- var e = this.__wrapped__.value(),
- t = this.__dir__,
- n = Wo(e),
- a = t < 0,
- r = n ? e.length : 0,
- i = function(e, t, n) {
- for (var a = -1, r = n.length; ++a < r;) {
- var i = n[a],
- o = i.size;
- switch (i.type) {
- case "drop":
- e += o;
- break;
- case "dropRight":
- t -= o;
- break;
- case "take":
- t = yn(t, e + o);
- break;
- case "takeRight":
- e = bn(e, t - o)
- }
- }
- return {
- start: e,
- end: t
- }
- }(0, r, this.__views__),
- o = i.start,
- s = i.end,
- l = s - o,
- c = a ? s : o - 1,
- u = this.__iteratees__,
- d = u.length,
- p = 0,
- h = yn(l, this.__takeCount__);
- if (!n || !a && r == l && h == l) return pr(e, this.__actions__);
- var m = [];
- e: for (; l-- && p < h;) {
- for (var f = -1, g = e[c += t]; ++f < d;) {
- var b = u[f],
- y = b.iteratee,
- v = b.type,
- k = y(g);
- if (2 == v) g = k;
- else if (!k) {
- if (1 == v) continue e;
- break e
- }
- }
- m[p++] = g
- }
- return m
- }, Fn.prototype.at = fo, Fn.prototype.chain = function() {
- return ho(this)
- }, Fn.prototype.commit = function() {
- return new Un(this.value(), this.__chain__)
- }, Fn.prototype.next = function() {
- this.__values__ === r && (this.__values__ = hs(this.value()));
- var e = this.__index__ >= this.__values__.length;
- return {
- done: e,
- value: e ? r : this.__values__[this.__index__++]
- }
- }, Fn.prototype.plant = function(e) {
- for (var t, n = this; n instanceof Bn;) {
- var a = Fi(n);
- a.__index__ = 0, a.__values__ = r, t ? i.__wrapped__ = a : t = a;
- var i = a;
- n = n.__wrapped__
- }
- return i.__wrapped__ = e, t
- }, Fn.prototype.reverse = function() {
- var e = this.__wrapped__;
- if (e instanceof Hn) {
- var t = e;
- return this.__actions__.length && (t = new Hn(this)), (t = t.reverse()).__actions__.push({
- func: mo,
- args: [eo],
- thisArg: r
- }), new Un(t, this.__chain__)
+ }
+
+ function Wr(e, t, n, a, i, o, s, c, u, d) {
+ var p = 8 & t;
+ t |= p ? l : 64, 4 & (t &= ~(p ? 64 : l)) || (t &= -4);
+ var h = [e, t, i, p ? o : r, p ? s : r, p ? r : o, p ? r : s, c, u, d],
+ m = n.apply(r, h);
+ return vi(e) && Ti(m, h), m.placeholder = a, ji(m, e, t)
+ }
+
+ function Yr(e) {
+ var t = Se[e];
+ return function(e, n) {
+ if (e = bs(e), (n = null == n ? 0 : yn(fs(n), 292)) && mn(e)) {
+ var a = (vs(e) + "e").split("e");
+ return +((a = (vs(t(a[0] + "e" + (+a[1] + n))) + "e").split("e"))[0] + "e" + (+a[1] - n))
}
- return this.thru(eo)
- }, Fn.prototype.toJSON = Fn.prototype.valueOf = Fn.prototype.value = function() {
- return pr(this.__wrapped__, this.__actions__)
- }, Fn.prototype.first = Fn.prototype.head, ot && (Fn.prototype[ot] = function() {
- return this
- }), Fn
- }();
- it._ = cn, (a = function() {
- return cn
- }.call(t, n, t, e)) === r || (e.exports = a)
- }.call(this)
- }, 9244: (e, t, n) => {
- var a = n(4366);
- e.exports = function() {
- return a.Date.now()
- }
- }, 4167: (e, t, n) => {
- var a = n(3645),
- r = n(1716);
- e.exports = function(e, t, n) {
- var i = !0,
- o = !0;
- if ("function" != typeof e) throw new TypeError("Expected a function");
- return r(n) && (i = "leading" in n ? !!n.leading : i, o = "trailing" in n ? !!n.trailing : o), a(e, t, {
- leading: i,
- maxWait: t,
- trailing: o
- })
- }
- }, 1666: (e, t, n) => {
- var a = n(4182),
- r = n(1716),
- i = n(2570),
- o = /^[-+]0x[0-9a-f]+$/i,
- s = /^0b[01]+$/i,
- l = /^0o[0-7]+$/i,
- c = parseInt;
- e.exports = function(e) {
- if ("number" == typeof e) return e;
- if (i(e)) return NaN;
- if (r(e)) {
- var t = "function" == typeof e.valueOf ? e.valueOf() : e;
- e = r(t) ? t + "" : t
- }
- if ("string" != typeof e) return 0 === e ? e : +e;
- e = a(e);
- var n = s.test(e);
- return n || l.test(e) ? c(e.slice(2), n ? 2 : 8) : o.test(e) ? NaN : +e
- }
- }, 5135: function(e, t, n) {
- var a, r, i, o, s;
- o = this, s = function(e) {
- var t = !1,
- n = !1,
- a = "escape years months weeks days hours minutes seconds milliseconds general".split(" "),
- r = [{
- type: "seconds",
- targets: [{
- type: "minutes",
- value: 60
- }, {
- type: "hours",
- value: 3600
- }, {
- type: "days",
- value: 86400
- }, {
- type: "weeks",
- value: 604800
- }, {
- type: "months",
- value: 2678400
- }, {
- type: "years",
- value: 31536e3
- }]
- }, {
- type: "minutes",
- targets: [{
- type: "hours",
- value: 60
- }, {
- type: "days",
- value: 1440
- }, {
- type: "weeks",
- value: 10080
- }, {
- type: "months",
- value: 44640
- }, {
- type: "years",
- value: 525600
- }]
- }, {
- type: "hours",
- targets: [{
- type: "days",
- value: 24
- }, {
- type: "weeks",
- value: 168
- }, {
- type: "months",
- value: 744
- }, {
- type: "years",
- value: 8760
- }]
- }, {
- type: "days",
- targets: [{
- type: "weeks",
- value: 7
- }, {
- type: "months",
- value: 31
- }, {
- type: "years",
- value: 365
- }]
- }, {
- type: "months",
- targets: [{
- type: "years",
- value: 12
- }]
- }];
+ return t(e)
+ }
+ }
+ var Gr = Cn && 1 / nn(new Cn([, -0]))[1] == u ? function(e) {
+ return new Cn(e)
+ } : cl;
- function i(e, t) {
- return !(t.length > e.length) && -1 !== e.indexOf(t)
- }
+ function Kr(e) {
+ return function(t) {
+ var n = pi(t);
+ return n == w ? Xt(t) : n == A ? an(t) : function(e, t) {
+ return xt(t, (function(t) {
+ return [t, e[t]]
+ }))
+ }(t, e(t))
+ }
+ }
+
+ function $r(e, t, n, o, u, d, p, h) {
+ var m = 2 & t;
+ if (!m && "function" != typeof e) throw new Ae(i);
+ var f = o ? o.length : 0;
+ if (f || (t &= -97, o = u = r), p = p === r ? p : bn(fs(p), 0), h = h === r ? h : fs(h), f -= u ? u.length : 0, 64 & t) {
+ var g = o,
+ b = u;
+ o = u = r
+ }
+ var y = m ? r : ai(e),
+ v = [e, t, n, o, u, g, b, d, p, h];
+ if (y && function(e, t) {
+ var n = e[1],
+ a = t[1],
+ r = n | a,
+ i = r < 131,
+ o = a == c && 8 == n || a == c && 256 == n && e[7].length <= t[8] || 384 == a && t[7].length <= t[8] && 8 == n;
+ if (!i && !o) return e;
+ 1 & a && (e[2] = t[2], r |= 1 & n ? 0 : 4);
+ var l = t[3];
+ if (l) {
+ var u = e[3];
+ e[3] = u ? xr(u, l, t[4]) : l, e[4] = u ? tn(e[3], s) : t[4]
+ }(l = t[5]) && (u = e[5], e[5] = u ? Cr(u, l, t[6]) : l, e[6] = u ? tn(e[5], s) : t[6]), (l = t[7]) && (e[7] = l), a & c && (e[8] = null == e[8] ? t[8] : yn(e[8], t[8])), null == e[9] && (e[9] = t[9]), e[0] = t[0], e[1] = r
+ }(v, y), e = v[0], t = v[1], n = v[2], o = v[3], u = v[4], !(h = v[9] = v[9] === r ? m ? 0 : e.length : bn(v[9] - f, 0)) && 24 & t && (t &= -25), t && 1 != t) k = 8 == t || 16 == t ? function(e, t, n) {
+ var i = Nr(e);
+ return function o() {
+ for (var s = arguments.length, l = a(s), c = s, u = ii(o); c--;) l[c] = arguments[c];
+ var d = s < 3 && l[0] !== u && l[s - 1] !== u ? [] : tn(l, u);
+ return (s -= d.length) < n ? Wr(e, t, Lr, o.placeholder, r, l, d, r, r, n - s) : bt(this && this !== it && this instanceof o ? i : e, this, l)
+ }
+ }(e, t, h) : t != l && 33 != t || u.length ? Lr.apply(r, v) : function(e, t, n, r) {
+ var i = 1 & t,
+ o = Nr(e);
+ return function t() {
+ for (var s = -1, l = arguments.length, c = -1, u = r.length, d = a(u + l), p = this && this !== it && this instanceof t ? o : e; ++c < u;) d[c] = r[c];
+ for (; l--;) d[c++] = arguments[++s];
+ return bt(p, i ? n : this, d)
+ }
+ }(e, t, n, o);
+ else var k = function(e, t, n) {
+ var a = 1 & t,
+ r = Nr(e);
+ return function t() {
+ return (this && this !== it && this instanceof t ? r : e).apply(a ? n : this, arguments)
+ }
+ }(e, t, n);
+ return ji((y ? Qa : Ti)(k, v), e, t)
+ }
- function o(e) {
- for (var t = ""; e;) t += "0", e -= 1;
- return t
- }
+ function Jr(e, t, n, a) {
+ return e === r || Bo(e, Pe[n]) && !Ie.call(a, n) ? t : e
+ }
- function s(e, t, a) {
- var r, i, l, c = t.useToLocaleString,
- u = t.useGrouping,
- d = u && t.grouping.slice(),
- p = t.maximumSignificantDigits,
- h = t.minimumIntegerDigits || 1,
- m = t.fractionDigits || 0,
- f = t.groupingSeparator,
- g = t.decimalSeparator;
- if (c && a) {
- var b = {
- minimumIntegerDigits: h,
- useGrouping: u
- };
- if (m && (b.maximumFractionDigits = m, b.minimumFractionDigits = m), p && e > 0 && (b.maximumSignificantDigits = p), !n) {
- var y = S({}, t);
- y.useGrouping = !1, y.decimalSeparator = ".", e = parseFloat(s(e, y), 10)
- }
- return e.toLocaleString(a, b)
- }
- var v = (p ? e.toPrecision(p + 1) : e.toFixed(m + 1)).split("e");
- l = v[1] || "", i = (v = v[0].split("."))[1] || "";
- var k = (r = v[0] || "").length,
- _ = i.length,
- w = k + _,
- E = r + i;
- (p && w === p + 1 || !p && _ === m + 1) && ((E = function(e) {
- for (var t = e.split("").reverse(), n = 0, a = !0; a && n < t.length;) n ? "9" === t[n] ? t[n] = "0" : (t[n] = (parseInt(t[n], 10) + 1).toString(), a = !1) : (parseInt(t[n], 10) < 5 && (a = !1), t[n] = "0"), n += 1;
- return a && t.push("1"), t.reverse().join("")
- }(E)).length === w + 1 && (k += 1), _ && (E = E.slice(0, -1)), r = E.slice(0, k), i = E.slice(k)), p && (i = i.replace(/0*$/, ""));
- var x = parseInt(l, 10);
- x > 0 ? i.length <= x ? (r += i += o(x - i.length), i = "") : (r += i.slice(0, x), i = i.slice(x)) : x < 0 && (i = o(Math.abs(x) - r.length) + r + i, r = "0"), p || ((i = i.slice(0, m)).length < m && (i += o(m - i.length)), r.length < h && (r = o(h - r.length) + r));
- var C, A = "";
- if (u)
- for (v = r; v.length;) d.length && (C = d.shift()), A && (A = f + A), A = v.slice(-C) + A, v = v.slice(0, -C);
- else A = r;
- return i && (A = A + g + i), A
- }
-
- function l(e, t) {
- return e.label.length > t.label.length ? -1 : e.label.length < t.label.length ? 1 : 0
- }
-
- function c(e, t) {
- var n = [];
- return f(E(t), (function(a) {
- if ("_durationLabels" === a.slice(0, 15)) {
- var r = a.slice(15).toLowerCase();
- f(E(t[a]), (function(i) {
- i.slice(0, 1) === e && n.push({
- type: r,
- key: i,
- label: t[a][i]
- })
- }))
+ function Zr(e, t, n, a, i, o) {
+ return ts(e) && ts(t) && (o.set(t, e), qa(e, t, r, Zr, o), o.delete(t)), e
}
- })), n
- }
- var u, d = {
- durationLabelsStandard: {
- S: "millisecond",
- SS: "milliseconds",
- s: "second",
- ss: "seconds",
- m: "minute",
- mm: "minutes",
- h: "hour",
- hh: "hours",
- d: "day",
- dd: "days",
- w: "week",
- ww: "weeks",
- M: "month",
- MM: "months",
- y: "year",
- yy: "years"
- },
- durationLabelsShort: {
- S: "msec",
- SS: "msecs",
- s: "sec",
- ss: "secs",
- m: "min",
- mm: "mins",
- h: "hr",
- hh: "hrs",
- d: "dy",
- dd: "dys",
- w: "wk",
- ww: "wks",
- M: "mo",
- MM: "mos",
- y: "yr",
- yy: "yrs"
- },
- durationTimeTemplates: {
- HMS: "h:mm:ss",
- HM: "h:mm",
- MS: "m:ss"
- },
- durationLabelTypes: [{
- type: "standard",
- string: "__"
- }, {
- type: "short",
- string: "_"
- }],
- durationPluralKey: function(e, t, n) {
- return 1 === t && null === n ? e : e + e
- }
- };
- function p(e) {
- return "[object Array]" === Object.prototype.toString.call(e)
- }
+ function Qr(e) {
+ return is(e) ? r : e
+ }
- function h(e) {
- return "[object Object]" === Object.prototype.toString.call(e)
- }
+ function Xr(e, t, n, a, i, o) {
+ var s = 1 & n,
+ l = e.length,
+ c = t.length;
+ if (l != c && !(s && c > l)) return !1;
+ var u = o.get(e),
+ d = o.get(t);
+ if (u && d) return u == t && d == e;
+ var p = -1,
+ h = !0,
+ m = 2 & n ? new Gn : r;
+ for (o.set(e, t), o.set(t, e); ++p < l;) {
+ var f = e[p],
+ g = t[p];
+ if (a) var b = s ? a(g, f, p, t, e, o) : a(f, g, p, e, t, o);
+ if (b !== r) {
+ if (b) continue;
+ h = !1;
+ break
+ }
+ if (m) {
+ if (!Dt(t, (function(e, t) {
+ if (!Wt(m, t) && (f === e || i(f, e, n, a, o))) return m.push(t)
+ }))) {
+ h = !1;
+ break
+ }
+ } else if (f !== g && !i(f, g, n, a, o)) {
+ h = !1;
+ break
+ }
+ }
+ return o.delete(e), o.delete(t), h
+ }
- function m(e, t) {
- var n, a = 0,
- r = e && e.length || 0;
- for ("function" != typeof t && (n = t, t = function(e) {
- return e === n
- }); a < r;) {
- if (t(e[a])) return e[a];
- a += 1
- }
- }
+ function ei(e) {
+ return Pi(Ei(e, r, Wi), e + "")
+ }
- function f(e, t) {
- var n = 0,
- a = e.length;
- if (e && a)
- for (; n < a;) {
- if (!1 === t(e[n], n)) return;
- n += 1
+ function ti(e) {
+ return Sa(e, Ms, ui)
}
- }
- function g(e, t) {
- var n = 0,
- a = e.length,
- r = [];
- if (!e || !a) return r;
- for (; n < a;) r[n] = t(e[n], n), n += 1;
- return r
- }
+ function ni(e) {
+ return Sa(e, Is, di)
+ }
+ var ai = Dn ? function(e) {
+ return Dn.get(e)
+ } : cl;
- function b(e, t) {
- return g(e, (function(e) {
- return e[t]
- }))
- }
+ function ri(e) {
+ for (var t = e.name + "", n = Pn[t], a = Ie.call(Pn, t) ? n.length : 0; a--;) {
+ var r = n[a],
+ i = r.func;
+ if (null == i || i == e) return r.name
+ }
+ return t
+ }
- function y(e) {
- var t = [];
- return f(e, (function(e) {
- e && t.push(e)
- })), t
- }
+ function ii(e) {
+ return (Ie.call(Fn, "placeholder") ? Fn : e).placeholder
+ }
- function v(e) {
- var t = [];
- return f(e, (function(e) {
- m(t, e) || t.push(e)
- })), t
- }
+ function oi() {
+ var e = Fn.iteratee || il;
+ return e = e === il ? Oa : e, arguments.length ? e(arguments[0], arguments[1]) : e
+ }
- function k(e, t) {
- var n = [];
- return f(e, (function(e) {
- f(t, (function(t) {
- e === t && n.push(e)
- }))
- })), v(n)
- }
+ function si(e, t) {
+ var n, a, r = e.__data__;
+ return ("string" == (a = typeof(n = t)) || "number" == a || "symbol" == a || "boolean" == a ? "__proto__" !== n : null === n) ? r["string" == typeof t ? "string" : "hash"] : r.map
+ }
- function _(e, t) {
- var n = [];
- return f(e, (function(a, r) {
- if (!t(a)) return n = e.slice(r), !1
- })), n
- }
+ function li(e) {
+ for (var t = Ms(e), n = t.length; n--;) {
+ var a = t[n],
+ r = e[a];
+ t[n] = [a, r, wi(r)]
+ }
+ return t
+ }
- function w(e, t) {
- return _(e.slice().reverse(), t).reverse()
- }
+ function ci(e, t) {
+ var n = function(e, t) {
+ return null == e ? r : e[t]
+ }(e, t);
+ return Ia(n) ? n : r
+ }
+ var ui = pn ? function(e) {
+ return null == e ? [] : (e = Ee(e), wt(pn(e), (function(t) {
+ return et.call(e, t)
+ })))
+ } : gl,
+ di = pn ? function(e) {
+ for (var t = []; e;) Ct(t, ui(e)), e = Ye(e);
+ return t
+ } : gl,
+ pi = Ea;
- function S(e, t) {
- for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n]);
- return e
- }
+ function hi(e, t, n) {
+ for (var a = -1, r = (t = br(t, e)).length, i = !1; ++a < r;) {
+ var o = zi(t[a]);
+ if (!(i = null != e && n(e, o))) break;
+ e = e[o]
+ }
+ return i || ++a != r ? i : !!(r = null == e ? 0 : e.length) && es(r) && gi(o, r) && (Wo(e) || Vo(e))
+ }
- function E(e) {
- var t = [];
- for (var n in e) e.hasOwnProperty(n) && t.push(n);
- return t
- }
+ function mi(e) {
+ return "function" != typeof e.constructor || _i(e) ? {} : qn(Ye(e))
+ }
- function x(e, t) {
- var n = 0,
- a = e.length;
- if (!e || !a) return !1;
- for (; n < a;) {
- if (!0 === t(e[n], n)) return !0;
- n += 1
- }
- return !1
- }
+ function fi(e) {
+ return Wo(e) || Vo(e) || !!(rt && e && e[rt])
+ }
- function C(e) {
- var t = [];
- return f(e, (function(e) {
- t = t.concat(e)
- })), t
- }
+ function gi(e, t) {
+ var n = typeof e;
+ return !!(t = null == t ? d : t) && ("number" == n || "symbol" != n && be.test(e)) && e > -1 && e % 1 == 0 && e < t
+ }
- function A() {
- var e, t = [].slice.call(arguments),
- n = {};
- if (f(t, (function(t, a) {
- if (!a) {
- if (!p(t)) throw "Expected array as the first argument to durationsFormat.";
- e = t
- }
- "string" != typeof t && "function" != typeof t ? "number" != typeof t ? h(t) && S(n, t) : n.precision = t : n.template = t
- })), !e || !e.length) return [];
- n.returnMomentTypes = !0;
- var r = g(e, (function(e) {
- return e.format(n)
- })),
- i = k(a, v(b(C(r), "type"))),
- o = n.largest;
- return o && (i = i.slice(0, o)), n.returnMomentTypes = !1, n.outputTypes = i, g(e, (function(e) {
- return e.format(n)
- }))
- }
+ function bi(e, t, n) {
+ if (!ts(n)) return !1;
+ var a = typeof t;
+ return !!("number" == a ? Go(n) && gi(t, n.length) : "string" == a && t in n) && Bo(n[t], e)
+ }
- function j() {
- var n = [].slice.call(arguments),
- o = S({}, this.format.defaults),
- u = this.asMilliseconds(),
- C = this.asMonths();
- "function" == typeof this.isValid && !1 === this.isValid() && (u = 0, C = 0);
- var A = u < 0,
- j = e.duration(Math.abs(u), "milliseconds"),
- P = e.duration(Math.abs(C), "months");
- f(n, (function(e) {
- "string" != typeof e && "function" != typeof e ? "number" != typeof e ? h(e) && S(o, e) : o.precision = e : o.template = e
- }));
- var D = {
- years: "y",
- months: "M",
- weeks: "w",
- days: "d",
- hours: "h",
- minutes: "m",
- seconds: "s",
- milliseconds: "S"
- },
- T = {
- escape: /\[(.+?)\]/,
- years: /\*?[Yy]+/,
- months: /\*?M+/,
- weeks: /\*?[Ww]+/,
- days: /\*?[Dd]+/,
- hours: /\*?[Hh]+/,
- minutes: /\*?m+/,
- seconds: /\*?s+/,
- milliseconds: /\*?S+/,
- general: /.+?/
- };
- o.types = a;
- var O = function(e) {
- return m(a, (function(t) {
- return T[t].test(e)
- }))
- },
- M = new RegExp(g(a, (function(e) {
- return T[e].source
- })).join("|"), "g");
- o.duration = this;
- var I = "function" == typeof o.template ? o.template.apply(o) : o.template,
- N = o.outputTypes,
- z = o.returnMomentTypes,
- R = o.largest,
- L = [];
- N || (p(o.stopTrim) && (o.stopTrim = o.stopTrim.join("")), o.stopTrim && f(o.stopTrim.match(M), (function(e) {
- var t = O(e);
- "escape" !== t && "general" !== t && L.push(t)
- })));
- var F = e.localeData();
- F || (F = {}), f(E(d), (function(e) {
- "function" != typeof d[e] ? F["_" + e] || (F["_" + e] = d[e]) : F[e] || (F[e] = d[e])
- })), f(E(F._durationTimeTemplates), (function(e) {
- I = I.replace("_" + e + "_", F._durationTimeTemplates[e])
- }));
- var q = o.userLocale || e.locale(),
- B = o.useLeftUnits,
- U = o.usePlural,
- H = o.precision,
- V = o.forceLength,
- W = o.useGrouping,
- Y = o.trunc,
- G = o.useSignificantDigits && H > 0,
- K = G ? o.precision : 0,
- $ = K,
- J = o.minValue,
- Z = !1,
- Q = o.maxValue,
- X = !1,
- ee = o.useToLocaleString,
- te = o.groupingSeparator,
- ne = o.decimalSeparator,
- ae = o.grouping;
- ee = ee && t;
- var re = o.trim;
- p(re) && (re = re.join(" ")), null === re && (R || Q || G) && (re = "all"), null !== re && !0 !== re && "left" !== re && "right" !== re || (re = "large"), !1 === re && (re = "");
- var ie = function(e) {
- return e.test(re)
- },
- oe = /large/,
- se = /small/,
- le = /both/,
- ce = /mid/,
- ue = /^all|[^sm]all/,
- de = /final/,
- pe = R > 0 || x([oe, le, ue], ie),
- he = x([se, le, ue], ie),
- me = x([ce, ue], ie),
- fe = x([de, ue], ie),
- ge = g(I.match(M), (function(e, t) {
- var n = O(e);
- return "*" === e.slice(0, 1) && (e = e.slice(1), "escape" !== n && "general" !== n && L.push(n)), {
- index: t,
- length: e.length,
- text: "",
- token: "escape" === n ? e.replace(T.escape, "$1") : e,
- type: "escape" === n || "general" === n ? null : n
- }
- })),
- be = {
- index: 0,
- length: 0,
- token: "",
- text: "",
- type: null
- },
- ye = [];
- B && ge.reverse(), f(ge, (function(e) {
- if (e.type) return (be.type || be.text) && ye.push(be), void(be = e);
- B ? be.text = e.token + be.text : be.text += e.token
- })), (be.type || be.text) && ye.push(be), B && ye.reverse();
- var ve = k(a, v(y(b(ye, "type"))));
- if (!ve.length) return b(ye, "text").join("");
- ve = g(ve, (function(e, t) {
- var n, a = t + 1 === ve.length,
- r = !t;
- n = "years" === e || "months" === e ? P.as(e) : j.as(e);
- var i = Math.floor(n),
- s = n - i,
- l = m(ye, (function(t) {
- return e === t.type
- }));
- return r && Q && n > Q && (X = !0), a && J && Math.abs(o.duration.as(e)) < J && (Z = !0), r && null === V && l.length > 1 && (V = !0), j.subtract(i, e), P.subtract(i, e), {
- rawValue: n,
- wholeValue: i,
- decimalValue: a ? s : 0,
- isSmallest: a,
- isLargest: r,
- type: e,
- tokenLength: l.length
+ function yi(e, t) {
+ if (Wo(e)) return !1;
+ var n = typeof e;
+ return !("number" != n && "symbol" != n && "boolean" != n && null != e && !cs(e)) || X.test(e) || !Q.test(e) || null != t && e in Ee(t)
}
- }));
- var ke = Y ? Math.floor : Math.round,
- _e = function(e, t) {
- var n = Math.pow(10, t);
- return ke(e * n) / n
- },
- we = !1,
- Se = !1,
- Ee = function(e, t) {
- var n = {
- useGrouping: W,
- groupingSeparator: te,
- decimalSeparator: ne,
- grouping: ae,
- useToLocaleString: ee
- };
- return G && (K <= 0 ? (e.rawValue = 0, e.wholeValue = 0, e.decimalValue = 0) : (n.maximumSignificantDigits = K, e.significantDigits = K)), X && !Se && (e.isLargest ? (e.wholeValue = Q, e.decimalValue = 0) : (e.wholeValue = 0, e.decimalValue = 0)), Z && !Se && (e.isSmallest ? (e.wholeValue = J, e.decimalValue = 0) : (e.wholeValue = 0, e.decimalValue = 0)), e.isSmallest || e.significantDigits && e.significantDigits - e.wholeValue.toString().length <= 0 ? H < 0 ? e.value = _e(e.wholeValue, H) : 0 === H ? e.value = ke(e.wholeValue + e.decimalValue) : G ? (e.value = Y ? _e(e.rawValue, K - e.wholeValue.toString().length) : e.rawValue, e.wholeValue && (K -= e.wholeValue.toString().length)) : (n.fractionDigits = H, e.value = Y ? e.wholeValue + _e(e.decimalValue, H) : e.wholeValue + e.decimalValue) : G && e.wholeValue ? (e.value = Math.round(_e(e.wholeValue, e.significantDigits - e.wholeValue.toString().length)), K -= e.wholeValue.toString().length) : e.value = e.wholeValue, e.tokenLength > 1 && (V || we) && (n.minimumIntegerDigits = e.tokenLength, Se && n.maximumSignificantDigits < e.tokenLength && delete n.maximumSignificantDigits), !we && (e.value > 0 || "" === re || m(L, e.type) || m(N, e.type)) && (we = !0), e.formattedValue = s(e.value, n, q), n.useGrouping = !1, n.decimalSeparator = ".", e.formattedValueEn = s(e.value, n, "en"), 2 === e.tokenLength && "milliseconds" === e.type && (e.formattedValueMS = s(e.value, {
- minimumIntegerDigits: 3,
- useGrouping: !1
- }, "en").slice(0, 2)), e
- };
- if ((ve = y(ve = g(ve, Ee))).length > 1) {
- var xe = function(e) {
- return m(ve, (function(t) {
- return t.type === e
- }))
- },
- Ce = function(e) {
- var t = xe(e.type);
- t && f(e.targets, (function(e) {
- var n = xe(e.type);
- n && parseInt(t.formattedValueEn, 10) === e.value && (t.rawValue = 0, t.wholeValue = 0, t.decimalValue = 0, n.rawValue += 1, n.wholeValue += 1, n.decimalValue = 0, n.formattedValueEn = n.wholeValue.toString(), Se = !0)
- }))
- };
- f(r, Ce)
- }
- return Se && (we = !1, K = $, ve = y(ve = g(ve, Ee))), !N || X && !o.trim ? (pe && (ve = _(ve, (function(e) {
- return !e.isSmallest && !e.wholeValue && !m(L, e.type)
- }))), R && ve.length && (ve = ve.slice(0, R)), he && ve.length > 1 && (ve = w(ve, (function(e) {
- return !e.wholeValue && !m(L, e.type) && !e.isLargest
- }))), me && (ve = y(ve = g(ve, (function(e, t) {
- return t > 0 && t < ve.length - 1 && !e.wholeValue ? null : e
- })))), !fe || 1 !== ve.length || ve[0].wholeValue || !Y && ve[0].isSmallest && ve[0].rawValue < J || (ve = [])) : ve = y(ve = g(ve, (function(e) {
- return m(N, (function(t) {
- return e.type === t
- })) ? e : null
- }))), z ? ve : (f(ye, (function(e) {
- var t = D[e.type],
- n = m(ve, (function(t) {
- return t.type === e.type
- }));
- if (t && n) {
- var a = n.formattedValueEn.split(".");
- a[0] = parseInt(a[0], 10), a[1] ? a[1] = parseFloat("0." + a[1], 10) : a[1] = null;
- var r = F.durationPluralKey(t, a[0], a[1]),
- o = c(t, F),
- s = !1,
- u = {};
- f(F._durationLabelTypes, (function(t) {
- var n = m(o, (function(e) {
- return e.type === t.type && e.key === r
- }));
- n && (u[n.type] = n.label, i(e.text, t.string) && (e.text = e.text.replace(t.string, n.label), s = !0))
- })), U && !s && (o.sort(l), f(o, (function(t) {
- return u[t.type] === t.label ? !i(e.text, t.label) && void 0 : i(e.text, t.label) ? (e.text = e.text.replace(t.label, u[t.type]), !1) : void 0
- })))
+
+ function vi(e) {
+ var t = ri(e),
+ n = Fn[t];
+ if ("function" != typeof n || !(t in Hn.prototype)) return !1;
+ if (e === n) return !0;
+ var a = ai(n);
+ return !!a && e === a[0]
+ }(Sn && pi(new Sn(new ArrayBuffer(1))) != M || En && pi(new En) != w || xn && pi(xn.resolve()) != x || Cn && pi(new Cn) != A || An && pi(new An) != P) && (pi = function(e) {
+ var t = Ea(e),
+ n = t == E ? e.constructor : r,
+ a = n ? Li(n) : "";
+ if (a) switch (a) {
+ case jn:
+ return M;
+ case Mn:
+ return w;
+ case In:
+ return x;
+ case On:
+ return A;
+ case Nn:
+ return P
+ }
+ return t
+ });
+ var ki = je ? Qo : bl;
+
+ function _i(e) {
+ var t = e && e.constructor;
+ return e === ("function" == typeof t && t.prototype || Pe)
}
- })), (ye = g(ye, (function(e) {
- if (!e.type) return e.text;
- var t = m(ve, (function(t) {
- return t.type === e.type
- }));
- if (!t) return "";
- var n = "";
- return B && (n += e.text), (A && X || !A && Z) && (n += "< ", X = !1, Z = !1), (A && Z || !A && X) && (n += "> ", X = !1, Z = !1), A && (t.value > 0 || "" === re || m(L, t.type) || m(N, t.type)) && (n += "-", A = !1), "milliseconds" === e.type && t.formattedValueMS ? n += t.formattedValueMS : n += t.formattedValue, B || (n += e.text), n
- }))).join("").replace(/(,| |:|\.)*$/, "").replace(/^(,| |:|\.)*/, ""))
- }
- function P() {
- var e = this.duration,
- t = function(t) {
- return e._data[t]
- },
- n = m(this.types, t),
- a = function(e, t) {
- for (var n = e.length; n -= 1;)
- if (t(e[n])) return e[n]
- }(this.types, t);
- switch (n) {
- case "milliseconds":
- return "S __";
- case "seconds":
- case "minutes":
- return "*_MS_";
- case "hours":
- return "_HMS_";
- case "days":
- if (n === a) return "d __";
- case "weeks":
- return n === a ? "w __" : (null === this.trim && (this.trim = "both"), "w __, d __, h __");
- case "months":
- if (n === a) return "M __";
- case "years":
- return n === a ? "y __" : (null === this.trim && (this.trim = "both"), "y __, M __, d __");
- default:
- return null === this.trim && (this.trim = "both"), "y __, d __, h __, m __, s __"
- }
- }
-
- function D(e) {
- if (!e) throw "Moment Duration Format init cannot find moment instance.";
- e.duration.format = A, e.duration.fn.format = j, e.duration.fn.format.defaults = {
- trim: null,
- stopTrim: null,
- largest: null,
- maxValue: null,
- minValue: null,
- precision: 0,
- trunc: !1,
- forceLength: null,
- userLocale: null,
- usePlural: !0,
- useLeftUnits: !1,
- useGrouping: !0,
- useSignificantDigits: !1,
- template: P,
- useToLocaleString: !0,
- groupingSeparator: ",",
- decimalSeparator: ".",
- grouping: [3]
- }, e.updateLocale("en", d)
- }
- return t = !!((u = (u = !0) && function() {
- try {
- (0).toLocaleString("i")
- } catch (e) {
- return "RangeError" === e.name
- }
- return !1
- }()) && (u = (u = (u = u && "1" === 1..toLocaleString("en", {
- minimumIntegerDigits: 1
- })) && "01" === 1..toLocaleString("en", {
- minimumIntegerDigits: 2
- })) && "001" === 1..toLocaleString("en", {
- minimumIntegerDigits: 3
- })) && (u = (u = (u = (u = u && "100" === 99.99.toLocaleString("en", {
- maximumFractionDigits: 0,
- minimumFractionDigits: 0
- })) && "100.0" === 99.99.toLocaleString("en", {
- maximumFractionDigits: 1,
- minimumFractionDigits: 1
- })) && "99.99" === 99.99.toLocaleString("en", {
- maximumFractionDigits: 2,
- minimumFractionDigits: 2
- })) && "99.990" === 99.99.toLocaleString("en", {
- maximumFractionDigits: 3,
- minimumFractionDigits: 3
- })) && (u = (u = (u = (u = (u = u && "100" === 99.99.toLocaleString("en", {
- maximumSignificantDigits: 1
- })) && "100" === 99.99.toLocaleString("en", {
- maximumSignificantDigits: 2
- })) && "100" === 99.99.toLocaleString("en", {
- maximumSignificantDigits: 3
- })) && "99.99" === 99.99.toLocaleString("en", {
- maximumSignificantDigits: 4
- })) && "99.99" === 99.99.toLocaleString("en", {
- maximumSignificantDigits: 5
- })) && (u = (u = u && "1,000" === 1e3.toLocaleString("en", {
- useGrouping: !0
- })) && "1000" === 1e3.toLocaleString("en", {
- useGrouping: !1
- }))), n = t && "3.6" === 3.55.toLocaleString("en", {
- useGrouping: !1,
- minimumIntegerDigits: 1,
- minimumFractionDigits: 1,
- maximumFractionDigits: 1
- }), D(e), D
- }, r = [n(2083)], void 0 === (i = "function" == typeof(a = s) ? a.apply(t, r) : a) || (e.exports = i), o && (o.momentDurationFormatSetup = o.moment ? s(o.moment) : s)
- }, 5902: function(e, t, n) {
- ! function(e) {
- "use strict";
- e.defineLocale("af", {
- months: "Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),
- monthsShort: "Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),
- weekdays: "Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),
- weekdaysShort: "Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),
- weekdaysMin: "So_Ma_Di_Wo_Do_Vr_Sa".split("_"),
- meridiemParse: /vm|nm/i,
- isPM: function(e) {
- return /^nm$/i.test(e)
- },
- meridiem: function(e, t, n) {
- return e < 12 ? n ? "vm" : "VM" : n ? "nm" : "NM"
- },
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "DD/MM/YYYY",
- LL: "D MMMM YYYY",
- LLL: "D MMMM YYYY HH:mm",
- LLLL: "dddd, D MMMM YYYY HH:mm"
- },
- calendar: {
- sameDay: "[Vandag om] LT",
- nextDay: "[Môre om] LT",
- nextWeek: "dddd [om] LT",
- lastDay: "[Gister om] LT",
- lastWeek: "[Laas] dddd [om] LT",
- sameElse: "L"
- },
- relativeTime: {
- future: "oor %s",
- past: "%s gelede",
- s: "'n paar sekondes",
- ss: "%d sekondes",
- m: "'n minuut",
- mm: "%d minute",
- h: "'n uur",
- hh: "%d ure",
- d: "'n dag",
- dd: "%d dae",
- M: "'n maand",
- MM: "%d maande",
- y: "'n jaar",
- yy: "%d jaar"
- },
- dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
- ordinal: function(e) {
- return e + (1 === e || 8 === e || e >= 20 ? "ste" : "de")
- },
- week: {
- dow: 1,
- doy: 4
- }
- })
- }(n(2083))
- }, 9547: function(e, t, n) {
- ! function(e) {
- "use strict";
- var t = {
- 1: "١",
- 2: "٢",
- 3: "٣",
- 4: "٤",
- 5: "٥",
- 6: "٦",
- 7: "٧",
- 8: "٨",
- 9: "٩",
- 0: "٠"
- },
- n = {
- "١": "1",
- "٢": "2",
- "٣": "3",
- "٤": "4",
- "٥": "5",
- "٦": "6",
- "٧": "7",
- "٨": "8",
- "٩": "9",
- "٠": "0"
- },
- a = function(e) {
- return 0 === e ? 0 : 1 === e ? 1 : 2 === e ? 2 : e % 100 >= 3 && e % 100 <= 10 ? 3 : e % 100 >= 11 ? 4 : 5
- },
- r = {
- s: ["أقل من ثانية", "ثانية واحدة", ["ثانيتان", "ثانيتين"], "%d ثوان", "%d ثانية", "%d ثانية"],
- m: ["أقل من دقيقة", "دقيقة واحدة", ["دقيقتان", "دقيقتين"], "%d دقائق", "%d دقيقة", "%d دقيقة"],
- h: ["أقل من ساعة", "ساعة واحدة", ["ساعتان", "ساعتين"], "%d ساعات", "%d ساعة", "%d ساعة"],
- d: ["أقل من يوم", "يوم واحد", ["يومان", "يومين"], "%d أيام", "%d يومًا", "%d يوم"],
- M: ["أقل من شهر", "شهر واحد", ["شهران", "شهرين"], "%d أشهر", "%d شهرا", "%d شهر"],
- y: ["أقل من عام", "عام واحد", ["عامان", "عامين"], "%d أعوام", "%d عامًا", "%d عام"]
- },
- i = function(e) {
- return function(t, n, i, o) {
- var s = a(t),
- l = r[e][a(t)];
- return 2 === s && (l = l[n ? 0 : 1]), l.replace(/%d/i, t)
+ function wi(e) {
+ return e == e && !ts(e)
}
- },
- o = ["يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو", "يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"];
- e.defineLocale("ar", {
- months: o,
- monthsShort: o,
- weekdays: "الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),
- weekdaysShort: "أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),
- weekdaysMin: "ح_ن_ث_ر_خ_ج_س".split("_"),
- weekdaysParseExact: !0,
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "D/M/YYYY",
- LL: "D MMMM YYYY",
- LLL: "D MMMM YYYY HH:mm",
- LLLL: "dddd D MMMM YYYY HH:mm"
- },
- meridiemParse: /ص|م/,
- isPM: function(e) {
- return "م" === e
- },
- meridiem: function(e, t, n) {
- return e < 12 ? "ص" : "م"
- },
- calendar: {
- sameDay: "[اليوم عند الساعة] LT",
- nextDay: "[غدًا عند الساعة] LT",
- nextWeek: "dddd [عند الساعة] LT",
- lastDay: "[أمس عند الساعة] LT",
- lastWeek: "dddd [عند الساعة] LT",
- sameElse: "L"
- },
- relativeTime: {
- future: "بعد %s",
- past: "منذ %s",
- s: i("s"),
- ss: i("s"),
- m: i("m"),
- mm: i("m"),
- h: i("h"),
- hh: i("h"),
- d: i("d"),
- dd: i("d"),
- M: i("M"),
- MM: i("M"),
- y: i("y"),
- yy: i("y")
- },
- preparse: function(e) {
- return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g, (function(e) {
- return n[e]
- })).replace(/،/g, ",")
- },
- postformat: function(e) {
- return e.replace(/\d/g, (function(e) {
- return t[e]
- })).replace(/,/g, "،")
- },
- week: {
- dow: 6,
- doy: 12
- }
- })
- }(n(2083))
- }, 1824: function(e, t, n) {
- ! function(e) {
- "use strict";
- function t(e, t, n) {
- return "m" === n ? t ? "хвіліна" : "хвіліну" : "h" === n ? t ? "гадзіна" : "гадзіну" : e + " " + (a = +e, r = {
- ss: t ? "секунда_секунды_секунд" : "секунду_секунды_секунд",
- mm: t ? "хвіліна_хвіліны_хвілін" : "хвіліну_хвіліны_хвілін",
- hh: t ? "гадзіна_гадзіны_гадзін" : "гадзіну_гадзіны_гадзін",
- dd: "дзень_дні_дзён",
- MM: "месяц_месяцы_месяцаў",
- yy: "год_гады_гадоў"
- } [n].split("_"), a % 10 == 1 && a % 100 != 11 ? r[0] : a % 10 >= 2 && a % 10 <= 4 && (a % 100 < 10 || a % 100 >= 20) ? r[1] : r[2]);
- var a, r
- }
- e.defineLocale("be", {
- months: {
- format: "студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),
- standalone: "студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")
- },
- monthsShort: "студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),
- weekdays: {
- format: "нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),
- standalone: "нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),
- isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/
- },
- weekdaysShort: "нд_пн_ат_ср_чц_пт_сб".split("_"),
- weekdaysMin: "нд_пн_ат_ср_чц_пт_сб".split("_"),
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "DD.MM.YYYY",
- LL: "D MMMM YYYY г.",
- LLL: "D MMMM YYYY г., HH:mm",
- LLLL: "dddd, D MMMM YYYY г., HH:mm"
- },
- calendar: {
- sameDay: "[Сёння ў] LT",
- nextDay: "[Заўтра ў] LT",
- lastDay: "[Учора ў] LT",
- nextWeek: function() {
- return "[У] dddd [ў] LT"
- },
- lastWeek: function() {
- switch (this.day()) {
- case 0:
- case 3:
- case 5:
- case 6:
- return "[У мінулую] dddd [ў] LT";
- case 1:
- case 2:
- case 4:
- return "[У мінулы] dddd [ў] LT"
+ function Si(e, t) {
+ return function(n) {
+ return null != n && n[e] === t && (t !== r || e in Ee(n))
}
- },
- sameElse: "L"
- },
- relativeTime: {
- future: "праз %s",
- past: "%s таму",
- s: "некалькі секунд",
- m: t,
- mm: t,
- h: t,
- hh: t,
- d: "дзень",
- dd: t,
- M: "месяц",
- MM: t,
- y: "год",
- yy: t
- },
- meridiemParse: /ночы|раніцы|дня|вечара/,
- isPM: function(e) {
- return /^(дня|вечара)$/.test(e)
- },
- meridiem: function(e, t, n) {
- return e < 4 ? "ночы" : e < 12 ? "раніцы" : e < 17 ? "дня" : "вечара"
- },
- dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/,
- ordinal: function(e, t) {
- switch (t) {
- case "M":
- case "d":
- case "DDD":
- case "w":
- case "W":
- return e % 10 != 2 && e % 10 != 3 || e % 100 == 12 || e % 100 == 13 ? e + "-ы" : e + "-і";
- case "D":
- return e + "-га";
- default:
- return e
}
- },
- week: {
- dow: 1,
- doy: 7
- }
- })
- }(n(2083))
- }, 7075: function(e, t, n) {
- ! function(e) {
- "use strict";
- e.defineLocale("bg", {
- months: "януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),
- monthsShort: "яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),
- weekdays: "неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),
- weekdaysShort: "нед_пон_вто_сря_чет_пет_съб".split("_"),
- weekdaysMin: "нд_пн_вт_ср_чт_пт_сб".split("_"),
- longDateFormat: {
- LT: "H:mm",
- LTS: "H:mm:ss",
- L: "D.MM.YYYY",
- LL: "D MMMM YYYY",
- LLL: "D MMMM YYYY H:mm",
- LLLL: "dddd, D MMMM YYYY H:mm"
- },
- calendar: {
- sameDay: "[Днес в] LT",
- nextDay: "[Утре в] LT",
- nextWeek: "dddd [в] LT",
- lastDay: "[Вчера в] LT",
- lastWeek: function() {
- switch (this.day()) {
- case 0:
- case 3:
- case 6:
- return "[Миналата] dddd [в] LT";
- case 1:
- case 2:
- case 4:
- case 5:
- return "[Миналия] dddd [в] LT"
+
+ function Ei(e, t, n) {
+ return t = bn(t === r ? e.length - 1 : t, 0),
+ function() {
+ for (var r = arguments, i = -1, o = bn(r.length - t, 0), s = a(o); ++i < o;) s[i] = r[t + i];
+ i = -1;
+ for (var l = a(t + 1); ++i < t;) l[i] = r[i];
+ return l[t] = n(s), bt(e, this, l)
+ }
+ }
+
+ function xi(e, t) {
+ return t.length < 2 ? e : wa(e, tr(t, 0, -1))
+ }
+
+ function Ci(e, t) {
+ for (var n = e.length, a = yn(t.length, n), i = Ar(e); a--;) {
+ var o = t[a];
+ e[a] = gi(o, n) ? i[o] : r
}
- },
- sameElse: "L"
- },
- relativeTime: {
- future: "след %s",
- past: "преди %s",
- s: "няколко секунди",
- ss: "%d секунди",
- m: "минута",
- mm: "%d минути",
- h: "час",
- hh: "%d часа",
- d: "ден",
- dd: "%d дена",
- w: "седмица",
- ww: "%d седмици",
- M: "месец",
- MM: "%d месеца",
- y: "година",
- yy: "%d години"
- },
- dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
- ordinal: function(e) {
- var t = e % 10,
- n = e % 100;
- return 0 === e ? e + "-ев" : 0 === n ? e + "-ен" : n > 10 && n < 20 ? e + "-ти" : 1 === t ? e + "-ви" : 2 === t ? e + "-ри" : 7 === t || 8 === t ? e + "-ми" : e + "-ти"
- },
- week: {
- dow: 1,
- doy: 7
- }
- })
- }(n(2083))
- }, 5793: function(e, t, n) {
- ! function(e) {
- "use strict";
- e.defineLocale("ca", {
- months: {
- standalone: "gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),
- format: "de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),
- isFormat: /D[oD]?(\s)+MMMM/
- },
- monthsShort: "gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),
- monthsParseExact: !0,
- weekdays: "diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),
- weekdaysShort: "dg._dl._dt._dc._dj._dv._ds.".split("_"),
- weekdaysMin: "dg_dl_dt_dc_dj_dv_ds".split("_"),
- weekdaysParseExact: !0,
- longDateFormat: {
- LT: "H:mm",
- LTS: "H:mm:ss",
- L: "DD/MM/YYYY",
- LL: "D MMMM [de] YYYY",
- ll: "D MMM YYYY",
- LLL: "D MMMM [de] YYYY [a les] H:mm",
- lll: "D MMM YYYY, H:mm",
- LLLL: "dddd D MMMM [de] YYYY [a les] H:mm",
- llll: "ddd D MMM YYYY, H:mm"
- },
- calendar: {
- sameDay: function() {
- return "[avui a " + (1 !== this.hours() ? "les" : "la") + "] LT"
- },
- nextDay: function() {
- return "[demà a " + (1 !== this.hours() ? "les" : "la") + "] LT"
- },
- nextWeek: function() {
- return "dddd [a " + (1 !== this.hours() ? "les" : "la") + "] LT"
- },
- lastDay: function() {
- return "[ahir a " + (1 !== this.hours() ? "les" : "la") + "] LT"
- },
- lastWeek: function() {
- return "[el] dddd [passat a " + (1 !== this.hours() ? "les" : "la") + "] LT"
- },
- sameElse: "L"
- },
- relativeTime: {
- future: "d'aquí %s",
- past: "fa %s",
- s: "uns segons",
- ss: "%d segons",
- m: "un minut",
- mm: "%d minuts",
- h: "una hora",
- hh: "%d hores",
- d: "un dia",
- dd: "%d dies",
- M: "un mes",
- MM: "%d mesos",
- y: "un any",
- yy: "%d anys"
- },
- dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,
- ordinal: function(e, t) {
- var n = 1 === e ? "r" : 2 === e ? "n" : 3 === e ? "r" : 4 === e ? "t" : "è";
- return "w" !== t && "W" !== t || (n = "a"), e + n
- },
- week: {
- dow: 1,
- doy: 4
- }
- })
- }(n(2083))
- }, 8979: function(e, t, n) {
- ! function(e) {
- "use strict";
- var t = "leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),
- n = "led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),
- a = [/^led/i, /^úno/i, /^bře/i, /^dub/i, /^kvě/i, /^(čvn|červen$|června)/i, /^(čvc|červenec|července)/i, /^srp/i, /^zář/i, /^říj/i, /^lis/i, /^pro/i],
- r = /^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;
+ return e
+ }
- function i(e) {
- return e > 1 && e < 5 && 1 != ~~(e / 10)
- }
+ function Ai(e, t) {
+ if (("constructor" !== t || "function" != typeof e[t]) && "__proto__" != t) return e[t]
+ }
+ var Ti = Mi(Qa),
+ Di = Lt || function(e, t) {
+ return it.setTimeout(e, t)
+ },
+ Pi = Mi(Xa);
+
+ function ji(e, t, n) {
+ var a = t + "";
+ return Pi(e, function(e, t) {
+ var n = t.length;
+ if (!n) return e;
+ var a = n - 1;
+ return t[a] = (n > 1 ? "& " : "") + t[a], t = t.join(n > 2 ? ", " : " "), e.replace(ie, "{\n/* [wrapped with " + t + "] */\n")
+ }(a, function(e, t) {
+ return vt(m, (function(n) {
+ var a = "_." + n[0];
+ t & n[1] && !St(e, a) && e.push(a)
+ })), e.sort()
+ }(function(e) {
+ var t = e.match(oe);
+ return t ? t[1].split(se) : []
+ }(a), n)))
+ }
+
+ function Mi(e) {
+ var t = 0,
+ n = 0;
+ return function() {
+ var a = vn(),
+ i = 16 - (a - n);
+ if (n = a, i > 0) {
+ if (++t >= 800) return arguments[0]
+ } else t = 0;
+ return e.apply(r, arguments)
+ }
+ }
- function o(e, t, n, a) {
- var r = e + " ";
- switch (n) {
- case "s":
- return t || a ? "pár sekund" : "pár sekundami";
- case "ss":
- return t || a ? r + (i(e) ? "sekundy" : "sekund") : r + "sekundami";
- case "m":
- return t ? "minuta" : a ? "minutu" : "minutou";
- case "mm":
- return t || a ? r + (i(e) ? "minuty" : "minut") : r + "minutami";
- case "h":
- return t ? "hodina" : a ? "hodinu" : "hodinou";
- case "hh":
- return t || a ? r + (i(e) ? "hodiny" : "hodin") : r + "hodinami";
- case "d":
- return t || a ? "den" : "dnem";
- case "dd":
- return t || a ? r + (i(e) ? "dny" : "dní") : r + "dny";
- case "M":
- return t || a ? "měsíc" : "měsícem";
- case "MM":
- return t || a ? r + (i(e) ? "měsíce" : "měsíců") : r + "měsíci";
- case "y":
- return t || a ? "rok" : "rokem";
- case "yy":
- return t || a ? r + (i(e) ? "roky" : "let") : r + "lety"
- }
- }
- e.defineLocale("cs", {
- months: t,
- monthsShort: n,
- monthsRegex: r,
- monthsShortRegex: r,
- monthsStrictRegex: /^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,
- monthsShortStrictRegex: /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,
- monthsParse: a,
- longMonthsParse: a,
- shortMonthsParse: a,
- weekdays: "neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),
- weekdaysShort: "ne_po_út_st_čt_pá_so".split("_"),
- weekdaysMin: "ne_po_út_st_čt_pá_so".split("_"),
- longDateFormat: {
- LT: "H:mm",
- LTS: "H:mm:ss",
- L: "DD.MM.YYYY",
- LL: "D. MMMM YYYY",
- LLL: "D. MMMM YYYY H:mm",
- LLLL: "dddd D. MMMM YYYY H:mm",
- l: "D. M. YYYY"
- },
- calendar: {
- sameDay: "[dnes v] LT",
- nextDay: "[zítra v] LT",
- nextWeek: function() {
- switch (this.day()) {
- case 0:
- return "[v neděli v] LT";
- case 1:
- case 2:
- return "[v] dddd [v] LT";
- case 3:
- return "[ve středu v] LT";
- case 4:
- return "[ve čtvrtek v] LT";
- case 5:
- return "[v pátek v] LT";
- case 6:
- return "[v sobotu v] LT"
+ function Ii(e, t) {
+ var n = -1,
+ a = e.length,
+ i = a - 1;
+ for (t = t === r ? a : t; ++n < t;) {
+ var o = Ya(n, i),
+ s = e[o];
+ e[o] = e[n], e[n] = s
}
- },
- lastDay: "[včera v] LT",
- lastWeek: function() {
- switch (this.day()) {
- case 0:
- return "[minulou neděli v] LT";
- case 1:
- case 2:
- return "[minulé] dddd [v] LT";
- case 3:
- return "[minulou středu v] LT";
- case 4:
- case 5:
- return "[minulý] dddd [v] LT";
- case 6:
- return "[minulou sobotu v] LT"
+ return e.length = t, e
+ }
+ var Oi, Ni, Ri = (Oi = No((function(e) {
+ var t = [];
+ return 46 === e.charCodeAt(0) && t.push(""), e.replace(ee, (function(e, n, a, r) {
+ t.push(a ? r.replace(ue, "$1") : n || e)
+ })), t
+ }), (function(e) {
+ return 500 === Ni.size && Ni.clear(), e
+ })), Ni = Oi.cache, Oi);
+
+ function zi(e) {
+ if ("string" == typeof e || cs(e)) return e;
+ var t = e + "";
+ return "0" == t && 1 / e == -1 / 0 ? "-0" : t
+ }
+
+ function Li(e) {
+ if (null != e) {
+ try {
+ return Me.call(e)
+ } catch (e) {}
+ try {
+ return e + ""
+ } catch (e) {}
}
- },
- sameElse: "L"
- },
- relativeTime: {
- future: "za %s",
- past: "před %s",
- s: o,
- ss: o,
- m: o,
- mm: o,
- h: o,
- hh: o,
- d: o,
- dd: o,
- M: o,
- MM: o,
- y: o,
- yy: o
- },
- dayOfMonthOrdinalParse: /\d{1,2}\./,
- ordinal: "%d.",
- week: {
- dow: 1,
- doy: 4
- }
- })
- }(n(2083))
- }, 1277: function(e, t, n) {
- ! function(e) {
- "use strict";
- e.defineLocale("da", {
- months: "januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),
- monthsShort: "jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),
- weekdays: "søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),
- weekdaysShort: "søn_man_tir_ons_tor_fre_lør".split("_"),
- weekdaysMin: "sø_ma_ti_on_to_fr_lø".split("_"),
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "DD.MM.YYYY",
- LL: "D. MMMM YYYY",
- LLL: "D. MMMM YYYY HH:mm",
- LLLL: "dddd [d.] D. MMMM YYYY [kl.] HH:mm"
- },
- calendar: {
- sameDay: "[i dag kl.] LT",
- nextDay: "[i morgen kl.] LT",
- nextWeek: "på dddd [kl.] LT",
- lastDay: "[i går kl.] LT",
- lastWeek: "[i] dddd[s kl.] LT",
- sameElse: "L"
- },
- relativeTime: {
- future: "om %s",
- past: "%s siden",
- s: "få sekunder",
- ss: "%d sekunder",
- m: "et minut",
- mm: "%d minutter",
- h: "en time",
- hh: "%d timer",
- d: "en dag",
- dd: "%d dage",
- M: "en måned",
- MM: "%d måneder",
- y: "et år",
- yy: "%d år"
- },
- dayOfMonthOrdinalParse: /\d{1,2}\./,
- ordinal: "%d.",
- week: {
- dow: 1,
- doy: 4
- }
- })
- }(n(2083))
- }, 1633: function(e, t, n) {
- ! function(e) {
- "use strict";
+ return ""
+ }
- function t(e, t, n, a) {
- var r = {
- m: ["eine Minute", "einer Minute"],
- h: ["eine Stunde", "einer Stunde"],
- d: ["ein Tag", "einem Tag"],
- dd: [e + " Tage", e + " Tagen"],
- w: ["eine Woche", "einer Woche"],
- M: ["ein Monat", "einem Monat"],
- MM: [e + " Monate", e + " Monaten"],
- y: ["ein Jahr", "einem Jahr"],
- yy: [e + " Jahre", e + " Jahren"]
- };
- return t ? r[n][0] : r[n][1]
- }
- e.defineLocale("de", {
- months: "Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),
- monthsShort: "Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),
- monthsParseExact: !0,
- weekdays: "Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),
- weekdaysShort: "So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),
- weekdaysMin: "So_Mo_Di_Mi_Do_Fr_Sa".split("_"),
- weekdaysParseExact: !0,
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "DD.MM.YYYY",
- LL: "D. MMMM YYYY",
- LLL: "D. MMMM YYYY HH:mm",
- LLLL: "dddd, D. MMMM YYYY HH:mm"
- },
- calendar: {
- sameDay: "[heute um] LT [Uhr]",
- sameElse: "L",
- nextDay: "[morgen um] LT [Uhr]",
- nextWeek: "dddd [um] LT [Uhr]",
- lastDay: "[gestern um] LT [Uhr]",
- lastWeek: "[letzten] dddd [um] LT [Uhr]"
- },
- relativeTime: {
- future: "in %s",
- past: "vor %s",
- s: "ein paar Sekunden",
- ss: "%d Sekunden",
- m: t,
- mm: "%d Minuten",
- h: t,
- hh: "%d Stunden",
- d: t,
- dd: t,
- w: t,
- ww: "%d Wochen",
- M: t,
- MM: t,
- y: t,
- yy: t
- },
- dayOfMonthOrdinalParse: /\d{1,2}\./,
- ordinal: "%d.",
- week: {
- dow: 1,
- doy: 4
- }
- })
- }(n(2083))
- }, 3122: function(e, t, n) {
- ! function(e) {
- "use strict";
- e.defineLocale("el", {
- monthsNominativeEl: "Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),
- monthsGenitiveEl: "Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),
- months: function(e, t) {
- return e ? "string" == typeof t && /D/.test(t.substring(0, t.indexOf("MMMM"))) ? this._monthsGenitiveEl[e.month()] : this._monthsNominativeEl[e.month()] : this._monthsNominativeEl
- },
- monthsShort: "Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),
- weekdays: "Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),
- weekdaysShort: "Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),
- weekdaysMin: "Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),
- meridiem: function(e, t, n) {
- return e > 11 ? n ? "μμ" : "ΜΜ" : n ? "πμ" : "ΠΜ"
- },
- isPM: function(e) {
- return "μ" === (e + "").toLowerCase()[0]
- },
- meridiemParse: /[ΠΜ]\.?Μ?\.?/i,
- longDateFormat: {
- LT: "h:mm A",
- LTS: "h:mm:ss A",
- L: "DD/MM/YYYY",
- LL: "D MMMM YYYY",
- LLL: "D MMMM YYYY h:mm A",
- LLLL: "dddd, D MMMM YYYY h:mm A"
- },
- calendarEl: {
- sameDay: "[Σήμερα {}] LT",
- nextDay: "[Αύριο {}] LT",
- nextWeek: "dddd [{}] LT",
- lastDay: "[Χθες {}] LT",
- lastWeek: function() {
- return 6 === this.day() ? "[το προηγούμενο] dddd [{}] LT" : "[την προηγούμενη] dddd [{}] LT"
- },
- sameElse: "L"
- },
- calendar: function(e, t) {
- var n, a = this._calendarEl[e],
- r = t && t.hours();
- return n = a, ("undefined" != typeof Function && n instanceof Function || "[object Function]" === Object.prototype.toString.call(n)) && (a = a.apply(t)), a.replace("{}", r % 12 == 1 ? "στη" : "στις")
- },
- relativeTime: {
- future: "σε %s",
- past: "%s πριν",
- s: "λίγα δευτερόλεπτα",
- ss: "%d δευτερόλεπτα",
- m: "ένα λεπτό",
- mm: "%d λεπτά",
- h: "μία ώρα",
- hh: "%d ώρες",
- d: "μία μέρα",
- dd: "%d μέρες",
- M: "ένας μήνας",
- MM: "%d μήνες",
- y: "ένας χρόνος",
- yy: "%d χρόνια"
- },
- dayOfMonthOrdinalParse: /\d{1,2}η/,
- ordinal: "%dη",
- week: {
- dow: 1,
- doy: 4
- }
- })
- }(n(2083))
- }, 4595: function(e, t, n) {
- ! function(e) {
- "use strict";
- e.defineLocale("en-gb", {
- months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
- monthsShort: "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
- weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
- weekdaysShort: "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
- weekdaysMin: "Su_Mo_Tu_We_Th_Fr_Sa".split("_"),
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "DD/MM/YYYY",
- LL: "D MMMM YYYY",
- LLL: "D MMMM YYYY HH:mm",
- LLLL: "dddd, D MMMM YYYY HH:mm"
- },
- calendar: {
- sameDay: "[Today at] LT",
- nextDay: "[Tomorrow at] LT",
- nextWeek: "dddd [at] LT",
- lastDay: "[Yesterday at] LT",
- lastWeek: "[Last] dddd [at] LT",
- sameElse: "L"
- },
- relativeTime: {
- future: "in %s",
- past: "%s ago",
- s: "a few seconds",
- ss: "%d seconds",
- m: "a minute",
- mm: "%d minutes",
- h: "an hour",
- hh: "%d hours",
- d: "a day",
- dd: "%d days",
- M: "a month",
- MM: "%d months",
- y: "a year",
- yy: "%d years"
- },
- dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
- ordinal: function(e) {
- var t = e % 10;
- return e + (1 == ~~(e % 100 / 10) ? "th" : 1 === t ? "st" : 2 === t ? "nd" : 3 === t ? "rd" : "th")
- },
- week: {
- dow: 1,
- doy: 4
- }
- })
- }(n(2083))
- }, 5871: function(e, t, n) {
- ! function(e) {
- "use strict";
- e.defineLocale("eo", {
- months: "januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),
- monthsShort: "jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),
- weekdays: "dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),
- weekdaysShort: "dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),
- weekdaysMin: "di_lu_ma_me_ĵa_ve_sa".split("_"),
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "YYYY-MM-DD",
- LL: "[la] D[-an de] MMMM, YYYY",
- LLL: "[la] D[-an de] MMMM, YYYY HH:mm",
- LLLL: "dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",
- llll: "ddd, [la] D[-an de] MMM, YYYY HH:mm"
- },
- meridiemParse: /[ap]\.t\.m/i,
- isPM: function(e) {
- return "p" === e.charAt(0).toLowerCase()
- },
- meridiem: function(e, t, n) {
- return e > 11 ? n ? "p.t.m." : "P.T.M." : n ? "a.t.m." : "A.T.M."
- },
- calendar: {
- sameDay: "[Hodiaŭ je] LT",
- nextDay: "[Morgaŭ je] LT",
- nextWeek: "dddd[n je] LT",
- lastDay: "[Hieraŭ je] LT",
- lastWeek: "[pasintan] dddd[n je] LT",
- sameElse: "L"
- },
- relativeTime: {
- future: "post %s",
- past: "antaŭ %s",
- s: "kelkaj sekundoj",
- ss: "%d sekundoj",
- m: "unu minuto",
- mm: "%d minutoj",
- h: "unu horo",
- hh: "%d horoj",
- d: "unu tago",
- dd: "%d tagoj",
- M: "unu monato",
- MM: "%d monatoj",
- y: "unu jaro",
- yy: "%d jaroj"
- },
- dayOfMonthOrdinalParse: /\d{1,2}a/,
- ordinal: "%da",
- week: {
- dow: 1,
- doy: 7
- }
- })
- }(n(2083))
- }, 1329: function(e, t, n) {
- ! function(e) {
- "use strict";
- var t = "ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),
- n = "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),
- a = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i],
- r = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
- e.defineLocale("es-us", {
- months: "enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),
- monthsShort: function(e, a) {
- return e ? /-MMM-/.test(a) ? n[e.month()] : t[e.month()] : t
- },
- monthsRegex: r,
- monthsShortRegex: r,
- monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
- monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
- monthsParse: a,
- longMonthsParse: a,
- shortMonthsParse: a,
- weekdays: "domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),
- weekdaysShort: "dom._lun._mar._mié._jue._vie._sáb.".split("_"),
- weekdaysMin: "do_lu_ma_mi_ju_vi_sá".split("_"),
- weekdaysParseExact: !0,
- longDateFormat: {
- LT: "h:mm A",
- LTS: "h:mm:ss A",
- L: "MM/DD/YYYY",
- LL: "D [de] MMMM [de] YYYY",
- LLL: "D [de] MMMM [de] YYYY h:mm A",
- LLLL: "dddd, D [de] MMMM [de] YYYY h:mm A"
- },
- calendar: {
- sameDay: function() {
- return "[hoy a la" + (1 !== this.hours() ? "s" : "") + "] LT"
- },
- nextDay: function() {
- return "[mañana a la" + (1 !== this.hours() ? "s" : "") + "] LT"
- },
- nextWeek: function() {
- return "dddd [a la" + (1 !== this.hours() ? "s" : "") + "] LT"
- },
- lastDay: function() {
- return "[ayer a la" + (1 !== this.hours() ? "s" : "") + "] LT"
- },
- lastWeek: function() {
- return "[el] dddd [pasado a la" + (1 !== this.hours() ? "s" : "") + "] LT"
- },
- sameElse: "L"
- },
- relativeTime: {
- future: "en %s",
- past: "hace %s",
- s: "unos segundos",
- ss: "%d segundos",
- m: "un minuto",
- mm: "%d minutos",
- h: "una hora",
- hh: "%d horas",
- d: "un día",
- dd: "%d días",
- w: "una semana",
- ww: "%d semanas",
- M: "un mes",
- MM: "%d meses",
- y: "un año",
- yy: "%d años"
- },
- dayOfMonthOrdinalParse: /\d{1,2}º/,
- ordinal: "%dº",
- week: {
- dow: 0,
- doy: 6
- }
- })
- }(n(2083))
- }, 3548: function(e, t, n) {
- ! function(e) {
- "use strict";
- var t = "ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),
- n = "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),
- a = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i],
- r = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
- e.defineLocale("es", {
- months: "enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),
- monthsShort: function(e, a) {
- return e ? /-MMM-/.test(a) ? n[e.month()] : t[e.month()] : t
- },
- monthsRegex: r,
- monthsShortRegex: r,
- monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
- monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
- monthsParse: a,
- longMonthsParse: a,
- shortMonthsParse: a,
- weekdays: "domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),
- weekdaysShort: "dom._lun._mar._mié._jue._vie._sáb.".split("_"),
- weekdaysMin: "do_lu_ma_mi_ju_vi_sá".split("_"),
- weekdaysParseExact: !0,
- longDateFormat: {
- LT: "H:mm",
- LTS: "H:mm:ss",
- L: "DD/MM/YYYY",
- LL: "D [de] MMMM [de] YYYY",
- LLL: "D [de] MMMM [de] YYYY H:mm",
- LLLL: "dddd, D [de] MMMM [de] YYYY H:mm"
- },
- calendar: {
- sameDay: function() {
- return "[hoy a la" + (1 !== this.hours() ? "s" : "") + "] LT"
- },
- nextDay: function() {
- return "[mañana a la" + (1 !== this.hours() ? "s" : "") + "] LT"
- },
- nextWeek: function() {
- return "dddd [a la" + (1 !== this.hours() ? "s" : "") + "] LT"
- },
- lastDay: function() {
- return "[ayer a la" + (1 !== this.hours() ? "s" : "") + "] LT"
- },
- lastWeek: function() {
- return "[el] dddd [pasado a la" + (1 !== this.hours() ? "s" : "") + "] LT"
- },
- sameElse: "L"
- },
- relativeTime: {
- future: "en %s",
- past: "hace %s",
- s: "unos segundos",
- ss: "%d segundos",
- m: "un minuto",
- mm: "%d minutos",
- h: "una hora",
- hh: "%d horas",
- d: "un día",
- dd: "%d días",
- w: "una semana",
- ww: "%d semanas",
- M: "un mes",
- MM: "%d meses",
- y: "un año",
- yy: "%d años"
- },
- dayOfMonthOrdinalParse: /\d{1,2}º/,
- ordinal: "%dº",
- week: {
- dow: 1,
- doy: 4
- },
- invalidDate: "Fecha inválida"
- })
- }(n(2083))
- }, 2132: function(e, t, n) {
- ! function(e) {
- "use strict";
+ function Fi(e) {
+ if (e instanceof Hn) return e.clone();
+ var t = new Un(e.__wrapped__, e.__chain__);
+ return t.__actions__ = Ar(e.__actions__), t.__index__ = e.__index__, t.__values__ = e.__values__, t
+ }
+ var qi = Ka((function(e, t) {
+ return Ko(e) ? ua(e, ga(t, 1, Ko, !0)) : []
+ })),
+ Bi = Ka((function(e, t) {
+ var n = Ji(t);
+ return Ko(n) && (n = r), Ko(e) ? ua(e, ga(t, 1, Ko, !0), oi(n, 2)) : []
+ })),
+ Ui = Ka((function(e, t) {
+ var n = Ji(t);
+ return Ko(n) && (n = r), Ko(e) ? ua(e, ga(t, 1, Ko, !0), r, n) : []
+ }));
- function t(e, t, n, a) {
- var r = {
- s: ["mõne sekundi", "mõni sekund", "paar sekundit"],
- ss: [e + "sekundi", e + "sekundit"],
- m: ["ühe minuti", "üks minut"],
- mm: [e + " minuti", e + " minutit"],
- h: ["ühe tunni", "tund aega", "üks tund"],
- hh: [e + " tunni", e + " tundi"],
- d: ["ühe päeva", "üks päev"],
- M: ["kuu aja", "kuu aega", "üks kuu"],
- MM: [e + " kuu", e + " kuud"],
- y: ["ühe aasta", "aasta", "üks aasta"],
- yy: [e + " aasta", e + " aastat"]
- };
- return t ? r[n][2] ? r[n][2] : r[n][1] : a ? r[n][0] : r[n][1]
- }
- e.defineLocale("et", {
- months: "jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),
- monthsShort: "jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),
- weekdays: "pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),
- weekdaysShort: "P_E_T_K_N_R_L".split("_"),
- weekdaysMin: "P_E_T_K_N_R_L".split("_"),
- longDateFormat: {
- LT: "H:mm",
- LTS: "H:mm:ss",
- L: "DD.MM.YYYY",
- LL: "D. MMMM YYYY",
- LLL: "D. MMMM YYYY H:mm",
- LLLL: "dddd, D. MMMM YYYY H:mm"
- },
- calendar: {
- sameDay: "[Täna,] LT",
- nextDay: "[Homme,] LT",
- nextWeek: "[Järgmine] dddd LT",
- lastDay: "[Eile,] LT",
- lastWeek: "[Eelmine] dddd LT",
- sameElse: "L"
- },
- relativeTime: {
- future: "%s pärast",
- past: "%s tagasi",
- s: t,
- ss: t,
- m: t,
- mm: t,
- h: t,
- hh: t,
- d: t,
- dd: "%d päeva",
- M: t,
- MM: t,
- y: t,
- yy: t
- },
- dayOfMonthOrdinalParse: /\d{1,2}\./,
- ordinal: "%d.",
- week: {
- dow: 1,
- doy: 4
- }
- })
- }(n(2083))
- }, 6316: function(e, t, n) {
- ! function(e) {
- "use strict";
- e.defineLocale("eu", {
- months: "urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),
- monthsShort: "urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),
- monthsParseExact: !0,
- weekdays: "igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),
- weekdaysShort: "ig._al._ar._az._og._ol._lr.".split("_"),
- weekdaysMin: "ig_al_ar_az_og_ol_lr".split("_"),
- weekdaysParseExact: !0,
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "YYYY-MM-DD",
- LL: "YYYY[ko] MMMM[ren] D[a]",
- LLL: "YYYY[ko] MMMM[ren] D[a] HH:mm",
- LLLL: "dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",
- l: "YYYY-M-D",
- ll: "YYYY[ko] MMM D[a]",
- lll: "YYYY[ko] MMM D[a] HH:mm",
- llll: "ddd, YYYY[ko] MMM D[a] HH:mm"
- },
- calendar: {
- sameDay: "[gaur] LT[etan]",
- nextDay: "[bihar] LT[etan]",
- nextWeek: "dddd LT[etan]",
- lastDay: "[atzo] LT[etan]",
- lastWeek: "[aurreko] dddd LT[etan]",
- sameElse: "L"
- },
- relativeTime: {
- future: "%s barru",
- past: "duela %s",
- s: "segundo batzuk",
- ss: "%d segundo",
- m: "minutu bat",
- mm: "%d minutu",
- h: "ordu bat",
- hh: "%d ordu",
- d: "egun bat",
- dd: "%d egun",
- M: "hilabete bat",
- MM: "%d hilabete",
- y: "urte bat",
- yy: "%d urte"
- },
- dayOfMonthOrdinalParse: /\d{1,2}\./,
- ordinal: "%d.",
- week: {
- dow: 1,
- doy: 7
- }
- })
- }(n(2083))
- }, 2835: function(e, t, n) {
- ! function(e) {
- "use strict";
- var t = {
- 1: "۱",
- 2: "۲",
- 3: "۳",
- 4: "۴",
- 5: "۵",
- 6: "۶",
- 7: "۷",
- 8: "۸",
- 9: "۹",
- 0: "۰"
- },
- n = {
- "۱": "1",
- "۲": "2",
- "۳": "3",
- "۴": "4",
- "۵": "5",
- "۶": "6",
- "۷": "7",
- "۸": "8",
- "۹": "9",
- "۰": "0"
- };
- e.defineLocale("fa", {
- months: "ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),
- monthsShort: "ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),
- weekdays: "یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),
- weekdaysShort: "یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),
- weekdaysMin: "ی_د_س_چ_پ_ج_ش".split("_"),
- weekdaysParseExact: !0,
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "DD/MM/YYYY",
- LL: "D MMMM YYYY",
- LLL: "D MMMM YYYY HH:mm",
- LLLL: "dddd, D MMMM YYYY HH:mm"
- },
- meridiemParse: /قبل از ظهر|بعد از ظهر/,
- isPM: function(e) {
- return /بعد از ظهر/.test(e)
- },
- meridiem: function(e, t, n) {
- return e < 12 ? "قبل از ظهر" : "بعد از ظهر"
- },
- calendar: {
- sameDay: "[امروز ساعت] LT",
- nextDay: "[فردا ساعت] LT",
- nextWeek: "dddd [ساعت] LT",
- lastDay: "[دیروز ساعت] LT",
- lastWeek: "dddd [پیش] [ساعت] LT",
- sameElse: "L"
- },
- relativeTime: {
- future: "در %s",
- past: "%s پیش",
- s: "چند ثانیه",
- ss: "%d ثانیه",
- m: "یک دقیقه",
- mm: "%d دقیقه",
- h: "یک ساعت",
- hh: "%d ساعت",
- d: "یک روز",
- dd: "%d روز",
- M: "یک ماه",
- MM: "%d ماه",
- y: "یک سال",
- yy: "%d سال"
- },
- preparse: function(e) {
- return e.replace(/[۰-۹]/g, (function(e) {
- return n[e]
- })).replace(/،/g, ",")
- },
- postformat: function(e) {
- return e.replace(/\d/g, (function(e) {
- return t[e]
- })).replace(/,/g, "،")
- },
- dayOfMonthOrdinalParse: /\d{1,2}م/,
- ordinal: "%dم",
- week: {
- dow: 6,
- doy: 12
- }
- })
- }(n(2083))
- }, 7941: function(e, t, n) {
- ! function(e) {
- "use strict";
- var t = "nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),
- n = ["nolla", "yhden", "kahden", "kolmen", "neljän", "viiden", "kuuden", t[7], t[8], t[9]];
+ function Hi(e, t, n) {
+ var a = null == e ? 0 : e.length;
+ if (!a) return -1;
+ var r = null == n ? 0 : fs(n);
+ return r < 0 && (r = bn(a + r, 0)), Mt(e, oi(t, 3), r)
+ }
+
+ function Vi(e, t, n) {
+ var a = null == e ? 0 : e.length;
+ if (!a) return -1;
+ var i = a - 1;
+ return n !== r && (i = fs(n), i = n < 0 ? bn(a + i, 0) : yn(i, a - 1)), Mt(e, oi(t, 3), i, !0)
+ }
+
+ function Wi(e) {
+ return null != e && e.length ? ga(e, 1) : []
+ }
+
+ function Yi(e) {
+ return e && e.length ? e[0] : r
+ }
+ var Gi = Ka((function(e) {
+ var t = xt(e, fr);
+ return t.length && t[0] === e[0] ? Ta(t) : []
+ })),
+ Ki = Ka((function(e) {
+ var t = Ji(e),
+ n = xt(e, fr);
+ return t === Ji(n) ? t = r : n.pop(), n.length && n[0] === e[0] ? Ta(n, oi(t, 2)) : []
+ })),
+ $i = Ka((function(e) {
+ var t = Ji(e),
+ n = xt(e, fr);
+ return (t = "function" == typeof t ? t : r) && n.pop(), n.length && n[0] === e[0] ? Ta(n, r, t) : []
+ }));
+
+ function Ji(e) {
+ var t = null == e ? 0 : e.length;
+ return t ? e[t - 1] : r
+ }
+ var Zi = Ka(Qi);
+
+ function Qi(e, t) {
+ return e && e.length && t && t.length ? Va(e, t) : e
+ }
+ var Xi = ei((function(e, t) {
+ var n = null == e ? 0 : e.length,
+ a = ia(e, t);
+ return Wa(e, xt(t, (function(e) {
+ return gi(e, n) ? +e : e
+ })).sort(Er)), a
+ }));
- function a(e, a, r, i) {
- var o = "";
- switch (r) {
- case "s":
- return i ? "muutaman sekunnin" : "muutama sekunti";
- case "ss":
- o = i ? "sekunnin" : "sekuntia";
- break;
- case "m":
- return i ? "minuutin" : "minuutti";
- case "mm":
- o = i ? "minuutin" : "minuuttia";
- break;
- case "h":
- return i ? "tunnin" : "tunti";
- case "hh":
- o = i ? "tunnin" : "tuntia";
- break;
- case "d":
- return i ? "päivän" : "päivä";
- case "dd":
- o = i ? "päivän" : "päivää";
- break;
- case "M":
- return i ? "kuukauden" : "kuukausi";
- case "MM":
- o = i ? "kuukauden" : "kuukautta";
- break;
- case "y":
- return i ? "vuoden" : "vuosi";
- case "yy":
- o = i ? "vuoden" : "vuotta"
- }
- return function(e, a) {
- return e < 10 ? a ? n[e] : t[e] : e
- }(e, i) + " " + o
- }
- e.defineLocale("fi", {
- months: "tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),
- monthsShort: "tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),
- weekdays: "sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),
- weekdaysShort: "su_ma_ti_ke_to_pe_la".split("_"),
- weekdaysMin: "su_ma_ti_ke_to_pe_la".split("_"),
- longDateFormat: {
- LT: "HH.mm",
- LTS: "HH.mm.ss",
- L: "DD.MM.YYYY",
- LL: "Do MMMM[ta] YYYY",
- LLL: "Do MMMM[ta] YYYY, [klo] HH.mm",
- LLLL: "dddd, Do MMMM[ta] YYYY, [klo] HH.mm",
- l: "D.M.YYYY",
- ll: "Do MMM YYYY",
- lll: "Do MMM YYYY, [klo] HH.mm",
- llll: "ddd, Do MMM YYYY, [klo] HH.mm"
- },
- calendar: {
- sameDay: "[tänään] [klo] LT",
- nextDay: "[huomenna] [klo] LT",
- nextWeek: "dddd [klo] LT",
- lastDay: "[eilen] [klo] LT",
- lastWeek: "[viime] dddd[na] [klo] LT",
- sameElse: "L"
- },
- relativeTime: {
- future: "%s päästä",
- past: "%s sitten",
- s: a,
- ss: a,
- m: a,
- mm: a,
- h: a,
- hh: a,
- d: a,
- dd: a,
- M: a,
- MM: a,
- y: a,
- yy: a
- },
- dayOfMonthOrdinalParse: /\d{1,2}\./,
- ordinal: "%d.",
- week: {
- dow: 1,
- doy: 4
- }
- })
- }(n(2083))
- }, 6283: function(e, t, n) {
- ! function(e) {
- "use strict";
- e.defineLocale("fr-ca", {
- months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),
- monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),
- monthsParseExact: !0,
- weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),
- weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"),
- weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"),
- weekdaysParseExact: !0,
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "YYYY-MM-DD",
- LL: "D MMMM YYYY",
- LLL: "D MMMM YYYY HH:mm",
- LLLL: "dddd D MMMM YYYY HH:mm"
- },
- calendar: {
- sameDay: "[Aujourd’hui à] LT",
- nextDay: "[Demain à] LT",
- nextWeek: "dddd [à] LT",
- lastDay: "[Hier à] LT",
- lastWeek: "dddd [dernier à] LT",
- sameElse: "L"
- },
- relativeTime: {
- future: "dans %s",
- past: "il y a %s",
- s: "quelques secondes",
- ss: "%d secondes",
- m: "une minute",
- mm: "%d minutes",
- h: "une heure",
- hh: "%d heures",
- d: "un jour",
- dd: "%d jours",
- M: "un mois",
- MM: "%d mois",
- y: "un an",
- yy: "%d ans"
- },
- dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
- ordinal: function(e, t) {
- switch (t) {
- default:
- return e + (1 === e ? "er" : "e");
- case "w":
- case "W":
- return e + (1 === e ? "re" : "e")
+ function eo(e) {
+ return null == e ? e : wn.call(e)
}
- }
- })
- }(n(2083))
- }, 5745: function(e, t, n) {
- ! function(e) {
- "use strict";
- var t = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
- n = [/^janv/i, /^févr/i, /^mars/i, /^avr/i, /^mai/i, /^juin/i, /^juil/i, /^août/i, /^sept/i, /^oct/i, /^nov/i, /^déc/i];
- e.defineLocale("fr", {
- months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),
- monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),
- monthsRegex: t,
- monthsShortRegex: t,
- monthsStrictRegex: /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
- monthsShortStrictRegex: /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,
- monthsParse: n,
- longMonthsParse: n,
- shortMonthsParse: n,
- weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),
- weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"),
- weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"),
- weekdaysParseExact: !0,
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "DD/MM/YYYY",
- LL: "D MMMM YYYY",
- LLL: "D MMMM YYYY HH:mm",
- LLLL: "dddd D MMMM YYYY HH:mm"
- },
- calendar: {
- sameDay: "[Aujourd’hui à] LT",
- nextDay: "[Demain à] LT",
- nextWeek: "dddd [à] LT",
- lastDay: "[Hier à] LT",
- lastWeek: "dddd [dernier à] LT",
- sameElse: "L"
- },
- relativeTime: {
- future: "dans %s",
- past: "il y a %s",
- s: "quelques secondes",
- ss: "%d secondes",
- m: "une minute",
- mm: "%d minutes",
- h: "une heure",
- hh: "%d heures",
- d: "un jour",
- dd: "%d jours",
- w: "une semaine",
- ww: "%d semaines",
- M: "un mois",
- MM: "%d mois",
- y: "un an",
- yy: "%d ans"
- },
- dayOfMonthOrdinalParse: /\d{1,2}(er|)/,
- ordinal: function(e, t) {
- switch (t) {
- case "D":
- return e + (1 === e ? "er" : "");
- default:
- return e + (1 === e ? "er" : "e");
- case "w":
- case "W":
- return e + (1 === e ? "re" : "e")
+ var to = Ka((function(e) {
+ return lr(ga(e, 1, Ko, !0))
+ })),
+ no = Ka((function(e) {
+ var t = Ji(e);
+ return Ko(t) && (t = r), lr(ga(e, 1, Ko, !0), oi(t, 2))
+ })),
+ ao = Ka((function(e) {
+ var t = Ji(e);
+ return t = "function" == typeof t ? t : r, lr(ga(e, 1, Ko, !0), r, t)
+ }));
+
+ function ro(e) {
+ if (!e || !e.length) return [];
+ var t = 0;
+ return e = wt(e, (function(e) {
+ if (Ko(e)) return t = bn(e.length, t), !0
+ })), Bt(t, (function(t) {
+ return xt(e, zt(t))
+ }))
}
- },
- week: {
- dow: 1,
- doy: 4
- }
- })
- }(n(2083))
- }, 2348: function(e, t, n) {
- ! function(e) {
- "use strict";
- e.defineLocale("gl", {
- months: "xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),
- monthsShort: "xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),
- monthsParseExact: !0,
- weekdays: "domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),
- weekdaysShort: "dom._lun._mar._mér._xov._ven._sáb.".split("_"),
- weekdaysMin: "do_lu_ma_mé_xo_ve_sá".split("_"),
- weekdaysParseExact: !0,
- longDateFormat: {
- LT: "H:mm",
- LTS: "H:mm:ss",
- L: "DD/MM/YYYY",
- LL: "D [de] MMMM [de] YYYY",
- LLL: "D [de] MMMM [de] YYYY H:mm",
- LLLL: "dddd, D [de] MMMM [de] YYYY H:mm"
- },
- calendar: {
- sameDay: function() {
- return "[hoxe " + (1 !== this.hours() ? "ás" : "á") + "] LT"
- },
- nextDay: function() {
- return "[mañá " + (1 !== this.hours() ? "ás" : "á") + "] LT"
- },
- nextWeek: function() {
- return "dddd [" + (1 !== this.hours() ? "ás" : "a") + "] LT"
- },
- lastDay: function() {
- return "[onte " + (1 !== this.hours() ? "á" : "a") + "] LT"
- },
- lastWeek: function() {
- return "[o] dddd [pasado " + (1 !== this.hours() ? "ás" : "a") + "] LT"
- },
- sameElse: "L"
- },
- relativeTime: {
- future: function(e) {
- return 0 === e.indexOf("un") ? "n" + e : "en " + e
- },
- past: "hai %s",
- s: "uns segundos",
- ss: "%d segundos",
- m: "un minuto",
- mm: "%d minutos",
- h: "unha hora",
- hh: "%d horas",
- d: "un día",
- dd: "%d días",
- M: "un mes",
- MM: "%d meses",
- y: "un ano",
- yy: "%d anos"
- },
- dayOfMonthOrdinalParse: /\d{1,2}º/,
- ordinal: "%dº",
- week: {
- dow: 1,
- doy: 4
- }
- })
- }(n(2083))
- }, 2844: function(e, t, n) {
- ! function(e) {
- "use strict";
- e.defineLocale("he", {
- months: "ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),
- monthsShort: "ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),
- weekdays: "ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),
- weekdaysShort: "א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),
- weekdaysMin: "א_ב_ג_ד_ה_ו_ש".split("_"),
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "DD/MM/YYYY",
- LL: "D [ב]MMMM YYYY",
- LLL: "D [ב]MMMM YYYY HH:mm",
- LLLL: "dddd, D [ב]MMMM YYYY HH:mm",
- l: "D/M/YYYY",
- ll: "D MMM YYYY",
- lll: "D MMM YYYY HH:mm",
- llll: "ddd, D MMM YYYY HH:mm"
- },
- calendar: {
- sameDay: "[היום ב־]LT",
- nextDay: "[מחר ב־]LT",
- nextWeek: "dddd [בשעה] LT",
- lastDay: "[אתמול ב־]LT",
- lastWeek: "[ביום] dddd [האחרון בשעה] LT",
- sameElse: "L"
- },
- relativeTime: {
- future: "בעוד %s",
- past: "לפני %s",
- s: "מספר שניות",
- ss: "%d שניות",
- m: "דקה",
- mm: "%d דקות",
- h: "שעה",
- hh: function(e) {
- return 2 === e ? "שעתיים" : e + " שעות"
- },
- d: "יום",
- dd: function(e) {
- return 2 === e ? "יומיים" : e + " ימים"
- },
- M: "חודש",
- MM: function(e) {
- return 2 === e ? "חודשיים" : e + " חודשים"
- },
- y: "שנה",
- yy: function(e) {
- return 2 === e ? "שנתיים" : e % 10 == 0 && 10 !== e ? e + " שנה" : e + " שנים"
+
+ function io(e, t) {
+ if (!e || !e.length) return [];
+ var n = ro(e);
+ return null == t ? n : xt(n, (function(e) {
+ return bt(t, r, e)
+ }))
}
- },
- meridiemParse: /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,
- isPM: function(e) {
- return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)
- },
- meridiem: function(e, t, n) {
- return e < 5 ? "לפנות בוקר" : e < 10 ? "בבוקר" : e < 12 ? n ? 'לפנה"צ' : "לפני הצהריים" : e < 18 ? n ? 'אחה"צ' : "אחרי הצהריים" : "בערב"
- }
- })
- }(n(2083))
- }, 4590: function(e, t, n) {
- ! function(e) {
- "use strict";
+ var oo = Ka((function(e, t) {
+ return Ko(e) ? ua(e, t) : []
+ })),
+ so = Ka((function(e) {
+ return hr(wt(e, Ko))
+ })),
+ lo = Ka((function(e) {
+ var t = Ji(e);
+ return Ko(t) && (t = r), hr(wt(e, Ko), oi(t, 2))
+ })),
+ co = Ka((function(e) {
+ var t = Ji(e);
+ return t = "function" == typeof t ? t : r, hr(wt(e, Ko), r, t)
+ })),
+ uo = Ka(ro),
+ po = Ka((function(e) {
+ var t = e.length,
+ n = t > 1 ? e[t - 1] : r;
+ return n = "function" == typeof n ? (e.pop(), n) : r, io(e, n)
+ }));
- function t(e, t, n) {
- var a = e + " ";
- switch (n) {
- case "ss":
- return a + (1 === e ? "sekunda" : 2 === e || 3 === e || 4 === e ? "sekunde" : "sekundi");
- case "m":
- return t ? "jedna minuta" : "jedne minute";
- case "mm":
- return a + (1 === e ? "minuta" : 2 === e || 3 === e || 4 === e ? "minute" : "minuta");
- case "h":
- return t ? "jedan sat" : "jednog sata";
- case "hh":
- return a + (1 === e ? "sat" : 2 === e || 3 === e || 4 === e ? "sata" : "sati");
- case "dd":
- return a + (1 === e ? "dan" : "dana");
- case "MM":
- return a + (1 === e ? "mjesec" : 2 === e || 3 === e || 4 === e ? "mjeseca" : "mjeseci");
- case "yy":
- return a + (1 === e ? "godina" : 2 === e || 3 === e || 4 === e ? "godine" : "godina")
- }
- }
- e.defineLocale("hr", {
- months: {
- format: "siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),
- standalone: "siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")
- },
- monthsShort: "sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),
- monthsParseExact: !0,
- weekdays: "nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),
- weekdaysShort: "ned._pon._uto._sri._čet._pet._sub.".split("_"),
- weekdaysMin: "ne_po_ut_sr_če_pe_su".split("_"),
- weekdaysParseExact: !0,
- longDateFormat: {
- LT: "H:mm",
- LTS: "H:mm:ss",
- L: "DD.MM.YYYY",
- LL: "Do MMMM YYYY",
- LLL: "Do MMMM YYYY H:mm",
- LLLL: "dddd, Do MMMM YYYY H:mm"
- },
- calendar: {
- sameDay: "[danas u] LT",
- nextDay: "[sutra u] LT",
- nextWeek: function() {
- switch (this.day()) {
- case 0:
- return "[u] [nedjelju] [u] LT";
- case 3:
- return "[u] [srijedu] [u] LT";
- case 6:
- return "[u] [subotu] [u] LT";
- case 1:
- case 2:
- case 4:
- case 5:
- return "[u] dddd [u] LT"
+ function ho(e) {
+ var t = Fn(e);
+ return t.__chain__ = !0, t
+ }
+
+ function mo(e, t) {
+ return t(e)
+ }
+ var fo = ei((function(e) {
+ var t = e.length,
+ n = t ? e[0] : 0,
+ a = this.__wrapped__,
+ i = function(t) {
+ return ia(t, e)
+ };
+ return !(t > 1 || this.__actions__.length) && a instanceof Hn && gi(n) ? ((a = a.slice(n, +n + (t ? 1 : 0))).__actions__.push({
+ func: mo,
+ args: [i],
+ thisArg: r
+ }), new Un(a, this.__chain__).thru((function(e) {
+ return t && !e.length && e.push(r), e
+ }))) : this.thru(i)
+ })),
+ go = Dr((function(e, t, n) {
+ Ie.call(e, n) ? ++e[n] : ra(e, n, 1)
+ })),
+ bo = Rr(Hi),
+ yo = Rr(Vi);
+
+ function vo(e, t) {
+ return (Wo(e) ? vt : da)(e, oi(t, 3))
+ }
+
+ function ko(e, t) {
+ return (Wo(e) ? kt : pa)(e, oi(t, 3))
+ }
+ var _o = Dr((function(e, t, n) {
+ Ie.call(e, n) ? e[n].push(t) : ra(e, n, [t])
+ })),
+ wo = Ka((function(e, t, n) {
+ var r = -1,
+ i = "function" == typeof t,
+ o = Go(e) ? a(e.length) : [];
+ return da(e, (function(e) {
+ o[++r] = i ? bt(t, e, n) : Da(e, t, n)
+ })), o
+ })),
+ So = Dr((function(e, t, n) {
+ ra(e, n, t)
+ }));
+
+ function Eo(e, t) {
+ return (Wo(e) ? xt : za)(e, oi(t, 3))
+ }
+ var xo = Dr((function(e, t, n) {
+ e[n ? 0 : 1].push(t)
+ }), (function() {
+ return [
+ [],
+ []
+ ]
+ })),
+ Co = Ka((function(e, t) {
+ if (null == e) return [];
+ var n = t.length;
+ return n > 1 && bi(e, t[0], t[1]) ? t = [] : n > 2 && bi(t[0], t[1], t[2]) && (t = [t[0]]), Ua(e, ga(t, 1), [])
+ })),
+ Ao = Pt || function() {
+ return it.Date.now()
+ };
+
+ function To(e, t, n) {
+ return t = n ? r : t, t = e && null == t ? e.length : t, $r(e, c, r, r, r, r, t)
+ }
+
+ function Do(e, t) {
+ var n;
+ if ("function" != typeof t) throw new Ae(i);
+ return e = fs(e),
+ function() {
+ return --e > 0 && (n = t.apply(this, arguments)), e <= 1 && (t = r), n
+ }
+ }
+ var Po = Ka((function(e, t, n) {
+ var a = 1;
+ if (n.length) {
+ var r = tn(n, ii(Po));
+ a |= l
+ }
+ return $r(e, a, t, n, r)
+ })),
+ jo = Ka((function(e, t, n) {
+ var a = 3;
+ if (n.length) {
+ var r = tn(n, ii(jo));
+ a |= l
+ }
+ return $r(t, a, e, n, r)
+ }));
+
+ function Mo(e, t, n) {
+ var a, o, s, l, c, u, d = 0,
+ p = !1,
+ h = !1,
+ m = !0;
+ if ("function" != typeof e) throw new Ae(i);
+
+ function f(t) {
+ var n = a,
+ i = o;
+ return a = o = r, d = t, l = e.apply(i, n)
}
- },
- lastDay: "[jučer u] LT",
- lastWeek: function() {
- switch (this.day()) {
- case 0:
- return "[prošlu] [nedjelju] [u] LT";
- case 3:
- return "[prošlu] [srijedu] [u] LT";
- case 6:
- return "[prošle] [subote] [u] LT";
- case 1:
- case 2:
- case 4:
- case 5:
- return "[prošli] dddd [u] LT"
+
+ function g(e) {
+ return d = e, c = Di(y, t), p ? f(e) : l
}
- },
- sameElse: "L"
- },
- relativeTime: {
- future: "za %s",
- past: "prije %s",
- s: "par sekundi",
- ss: t,
- m: t,
- mm: t,
- h: t,
- hh: t,
- d: "dan",
- dd: t,
- M: "mjesec",
- MM: t,
- y: "godinu",
- yy: t
- },
- dayOfMonthOrdinalParse: /\d{1,2}\./,
- ordinal: "%d.",
- week: {
- dow: 1,
- doy: 7
- }
- })
- }(n(2083))
- }, 6941: function(e, t, n) {
- ! function(e) {
- "use strict";
- var t = "vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");
- function n(e, t, n, a) {
- var r = e;
- switch (n) {
- case "s":
- return a || t ? "néhány másodperc" : "néhány másodperce";
- case "ss":
- return r + (a || t) ? " másodperc" : " másodperce";
- case "m":
- return "egy" + (a || t ? " perc" : " perce");
- case "mm":
- return r + (a || t ? " perc" : " perce");
- case "h":
- return "egy" + (a || t ? " óra" : " órája");
- case "hh":
- return r + (a || t ? " óra" : " órája");
- case "d":
- return "egy" + (a || t ? " nap" : " napja");
- case "dd":
- return r + (a || t ? " nap" : " napja");
- case "M":
- return "egy" + (a || t ? " hónap" : " hónapja");
- case "MM":
- return r + (a || t ? " hónap" : " hónapja");
- case "y":
- return "egy" + (a || t ? " év" : " éve");
- case "yy":
- return r + (a || t ? " év" : " éve")
- }
- return ""
- }
+ function b(e) {
+ var n = e - u;
+ return u === r || n >= t || n < 0 || h && e - d >= s
+ }
- function a(e) {
- return (e ? "" : "[múlt] ") + "[" + t[this.day()] + "] LT[-kor]"
- }
- e.defineLocale("hu", {
- months: "január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),
- monthsShort: "jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),
- monthsParseExact: !0,
- weekdays: "vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),
- weekdaysShort: "vas_hét_kedd_sze_csüt_pén_szo".split("_"),
- weekdaysMin: "v_h_k_sze_cs_p_szo".split("_"),
- longDateFormat: {
- LT: "H:mm",
- LTS: "H:mm:ss",
- L: "YYYY.MM.DD.",
- LL: "YYYY. MMMM D.",
- LLL: "YYYY. MMMM D. H:mm",
- LLLL: "YYYY. MMMM D., dddd H:mm"
- },
- meridiemParse: /de|du/i,
- isPM: function(e) {
- return "u" === e.charAt(1).toLowerCase()
- },
- meridiem: function(e, t, n) {
- return e < 12 ? !0 === n ? "de" : "DE" : !0 === n ? "du" : "DU"
- },
- calendar: {
- sameDay: "[ma] LT[-kor]",
- nextDay: "[holnap] LT[-kor]",
- nextWeek: function() {
- return a.call(this, !0)
- },
- lastDay: "[tegnap] LT[-kor]",
- lastWeek: function() {
- return a.call(this, !1)
- },
- sameElse: "L"
- },
- relativeTime: {
- future: "%s múlva",
- past: "%s",
- s: n,
- ss: n,
- m: n,
- mm: n,
- h: n,
- hh: n,
- d: n,
- dd: n,
- M: n,
- MM: n,
- y: n,
- yy: n
- },
- dayOfMonthOrdinalParse: /\d{1,2}\./,
- ordinal: "%d.",
- week: {
- dow: 1,
- doy: 4
- }
- })
- }(n(2083))
- }, 1638: function(e, t, n) {
- ! function(e) {
- "use strict";
- e.defineLocale("hy-am", {
- months: {
- format: "հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),
- standalone: "հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")
- },
- monthsShort: "հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),
- weekdays: "կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),
- weekdaysShort: "կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),
- weekdaysMin: "կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "DD.MM.YYYY",
- LL: "D MMMM YYYY թ.",
- LLL: "D MMMM YYYY թ., HH:mm",
- LLLL: "dddd, D MMMM YYYY թ., HH:mm"
- },
- calendar: {
- sameDay: "[այսօր] LT",
- nextDay: "[վաղը] LT",
- lastDay: "[երեկ] LT",
- nextWeek: function() {
- return "dddd [օրը ժամը] LT"
- },
- lastWeek: function() {
- return "[անցած] dddd [օրը ժամը] LT"
- },
- sameElse: "L"
- },
- relativeTime: {
- future: "%s հետո",
- past: "%s առաջ",
- s: "մի քանի վայրկյան",
- ss: "%d վայրկյան",
- m: "րոպե",
- mm: "%d րոպե",
- h: "ժամ",
- hh: "%d ժամ",
- d: "օր",
- dd: "%d օր",
- M: "ամիս",
- MM: "%d ամիս",
- y: "տարի",
- yy: "%d տարի"
- },
- meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,
- isPM: function(e) {
- return /^(ցերեկվա|երեկոյան)$/.test(e)
- },
- meridiem: function(e) {
- return e < 4 ? "գիշերվա" : e < 12 ? "առավոտվա" : e < 17 ? "ցերեկվա" : "երեկոյան"
- },
- dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/,
- ordinal: function(e, t) {
- switch (t) {
- case "DDD":
- case "w":
- case "W":
- case "DDDo":
- return 1 === e ? e + "-ին" : e + "-րդ";
- default:
+ function y() {
+ var e = Ao();
+ if (b(e)) return v(e);
+ c = Di(y, function(e) {
+ var n = t - (e - u);
+ return h ? yn(n, s - (e - d)) : n
+ }(e))
+ }
+
+ function v(e) {
+ return c = r, m && a ? f(e) : (a = o = r, l)
+ }
+
+ function k() {
+ var e = Ao(),
+ n = b(e);
+ if (a = arguments, o = this, u = e, n) {
+ if (c === r) return g(u);
+ if (h) return kr(c), c = Di(y, t), f(u)
+ }
+ return c === r && (c = Di(y, t)), l
+ }
+ return t = bs(t) || 0, ts(n) && (p = !!n.leading, s = (h = "maxWait" in n) ? bn(bs(n.maxWait) || 0, t) : s, m = "trailing" in n ? !!n.trailing : m), k.cancel = function() {
+ c !== r && kr(c), d = 0, a = u = o = c = r
+ }, k.flush = function() {
+ return c === r ? l : v(Ao())
+ }, k
+ }
+ var Io = Ka((function(e, t) {
+ return ca(e, 1, t)
+ })),
+ Oo = Ka((function(e, t, n) {
+ return ca(e, bs(t) || 0, n)
+ }));
+
+ function No(e, t) {
+ if ("function" != typeof e || null != t && "function" != typeof t) throw new Ae(i);
+ var n = function() {
+ var a = arguments,
+ r = t ? t.apply(this, a) : a[0],
+ i = n.cache;
+ if (i.has(r)) return i.get(r);
+ var o = e.apply(this, a);
+ return n.cache = i.set(r, o) || i, o
+ };
+ return n.cache = new(No.Cache || Yn), n
+ }
+
+ function Ro(e) {
+ if ("function" != typeof e) throw new Ae(i);
+ return function() {
+ var t = arguments;
+ switch (t.length) {
+ case 0:
+ return !e.call(this);
+ case 1:
+ return !e.call(this, t[0]);
+ case 2:
+ return !e.call(this, t[0], t[1]);
+ case 3:
+ return !e.call(this, t[0], t[1], t[2])
+ }
+ return !e.apply(this, t)
+ }
+ }
+ No.Cache = Yn;
+ var zo = yr((function(e, t) {
+ var n = (t = 1 == t.length && Wo(t[0]) ? xt(t[0], Ht(oi())) : xt(ga(t, 1), Ht(oi()))).length;
+ return Ka((function(a) {
+ for (var r = -1, i = yn(a.length, n); ++r < i;) a[r] = t[r].call(this, a[r]);
+ return bt(e, this, a)
+ }))
+ })),
+ Lo = Ka((function(e, t) {
+ var n = tn(t, ii(Lo));
+ return $r(e, l, r, t, n)
+ })),
+ Fo = Ka((function(e, t) {
+ var n = tn(t, ii(Fo));
+ return $r(e, 64, r, t, n)
+ })),
+ qo = ei((function(e, t) {
+ return $r(e, 256, r, r, r, t)
+ }));
+
+ function Bo(e, t) {
+ return e === t || e != e && t != t
+ }
+ var Uo = Vr(xa),
+ Ho = Vr((function(e, t) {
+ return e >= t
+ })),
+ Vo = Pa(function() {
+ return arguments
+ }()) ? Pa : function(e) {
+ return ns(e) && Ie.call(e, "callee") && !et.call(e, "callee")
+ },
+ Wo = a.isArray,
+ Yo = dt ? Ht(dt) : function(e) {
+ return ns(e) && Ea(e) == j
+ };
+
+ function Go(e) {
+ return null != e && es(e.length) && !Qo(e)
+ }
+
+ function Ko(e) {
+ return ns(e) && Go(e)
+ }
+ var $o = hn || bl,
+ Jo = pt ? Ht(pt) : function(e) {
+ return ns(e) && Ea(e) == y
+ };
+
+ function Zo(e) {
+ if (!ns(e)) return !1;
+ var t = Ea(e);
+ return t == v || "[object DOMException]" == t || "string" == typeof e.message && "string" == typeof e.name && !is(e)
+ }
+
+ function Qo(e) {
+ if (!ts(e)) return !1;
+ var t = Ea(e);
+ return t == k || t == _ || "[object AsyncFunction]" == t || "[object Proxy]" == t
+ }
+
+ function Xo(e) {
+ return "number" == typeof e && e == fs(e)
+ }
+
+ function es(e) {
+ return "number" == typeof e && e > -1 && e % 1 == 0 && e <= d
+ }
+
+ function ts(e) {
+ var t = typeof e;
+ return null != e && ("object" == t || "function" == t)
+ }
+
+ function ns(e) {
+ return null != e && "object" == typeof e
+ }
+ var as = ht ? Ht(ht) : function(e) {
+ return ns(e) && pi(e) == w
+ };
+
+ function rs(e) {
+ return "number" == typeof e || ns(e) && Ea(e) == S
+ }
+
+ function is(e) {
+ if (!ns(e) || Ea(e) != E) return !1;
+ var t = Ye(e);
+ if (null === t) return !0;
+ var n = Ie.call(t, "constructor") && t.constructor;
+ return "function" == typeof n && n instanceof n && Me.call(n) == ze
+ }
+ var os = mt ? Ht(mt) : function(e) {
+ return ns(e) && Ea(e) == C
+ },
+ ss = ft ? Ht(ft) : function(e) {
+ return ns(e) && pi(e) == A
+ };
+
+ function ls(e) {
+ return "string" == typeof e || !Wo(e) && ns(e) && Ea(e) == T
+ }
+
+ function cs(e) {
+ return "symbol" == typeof e || ns(e) && Ea(e) == D
+ }
+ var us = gt ? Ht(gt) : function(e) {
+ return ns(e) && es(e.length) && !!Qe[Ea(e)]
+ },
+ ds = Vr(Ra),
+ ps = Vr((function(e, t) {
+ return e <= t
+ }));
+
+ function hs(e) {
+ if (!e) return [];
+ if (Go(e)) return ls(e) ? on(e) : Ar(e);
+ if (ot && e[ot]) return function(e) {
+ for (var t, n = []; !(t = e.next()).done;) n.push(t.value);
+ return n
+ }(e[ot]());
+ var t = pi(e);
+ return (t == w ? Xt : t == A ? nn : Bs)(e)
+ }
+
+ function ms(e) {
+ return e ? (e = bs(e)) === u || e === -1 / 0 ? 17976931348623157e292 * (e < 0 ? -1 : 1) : e == e ? e : 0 : 0 === e ? e : 0
+ }
+
+ function fs(e) {
+ var t = ms(e),
+ n = t % 1;
+ return t == t ? n ? t - n : t : 0
+ }
+
+ function gs(e) {
+ return e ? oa(fs(e), 0, h) : 0
+ }
+
+ function bs(e) {
+ if ("number" == typeof e) return e;
+ if (cs(e)) return p;
+ if (ts(e)) {
+ var t = "function" == typeof e.valueOf ? e.valueOf() : e;
+ e = ts(t) ? t + "" : t
+ }
+ if ("string" != typeof e) return 0 === e ? e : +e;
+ e = Ut(e);
+ var n = me.test(e);
+ return n || ge.test(e) ? nt(e.slice(2), n ? 2 : 8) : he.test(e) ? p : +e
+ }
+
+ function ys(e) {
+ return Tr(e, Is(e))
+ }
+
+ function vs(e) {
+ return null == e ? "" : sr(e)
+ }
+ var ks = Pr((function(e, t) {
+ if (_i(t) || Go(t)) Tr(t, Ms(t), e);
+ else
+ for (var n in t) Ie.call(t, n) && ea(e, n, t[n])
+ })),
+ _s = Pr((function(e, t) {
+ Tr(t, Is(t), e)
+ })),
+ ws = Pr((function(e, t, n, a) {
+ Tr(t, Is(t), e, a)
+ })),
+ Ss = Pr((function(e, t, n, a) {
+ Tr(t, Ms(t), e, a)
+ })),
+ Es = ei(ia),
+ xs = Ka((function(e, t) {
+ e = Ee(e);
+ var n = -1,
+ a = t.length,
+ i = a > 2 ? t[2] : r;
+ for (i && bi(t[0], t[1], i) && (a = 1); ++n < a;)
+ for (var o = t[n], s = Is(o), l = -1, c = s.length; ++l < c;) {
+ var u = s[l],
+ d = e[u];
+ (d === r || Bo(d, Pe[u]) && !Ie.call(e, u)) && (e[u] = o[u])
+ }
return e
+ })),
+ Cs = Ka((function(e) {
+ return e.push(r, Zr), bt(Ns, r, e)
+ }));
+
+ function As(e, t, n) {
+ var a = null == e ? r : wa(e, t);
+ return a === r ? n : a
}
- },
- week: {
- dow: 1,
- doy: 7
- }
- })
- }(n(2083))
- }, 5651: function(e, t, n) {
- ! function(e) {
- "use strict";
- e.defineLocale("id", {
- months: "Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),
- monthsShort: "Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),
- weekdays: "Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),
- weekdaysShort: "Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),
- weekdaysMin: "Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),
- longDateFormat: {
- LT: "HH.mm",
- LTS: "HH.mm.ss",
- L: "DD/MM/YYYY",
- LL: "D MMMM YYYY",
- LLL: "D MMMM YYYY [pukul] HH.mm",
- LLLL: "dddd, D MMMM YYYY [pukul] HH.mm"
- },
- meridiemParse: /pagi|siang|sore|malam/,
- meridiemHour: function(e, t) {
- return 12 === e && (e = 0), "pagi" === t ? e : "siang" === t ? e >= 11 ? e : e + 12 : "sore" === t || "malam" === t ? e + 12 : void 0
- },
- meridiem: function(e, t, n) {
- return e < 11 ? "pagi" : e < 15 ? "siang" : e < 19 ? "sore" : "malam"
- },
- calendar: {
- sameDay: "[Hari ini pukul] LT",
- nextDay: "[Besok pukul] LT",
- nextWeek: "dddd [pukul] LT",
- lastDay: "[Kemarin pukul] LT",
- lastWeek: "dddd [lalu pukul] LT",
- sameElse: "L"
- },
- relativeTime: {
- future: "dalam %s",
- past: "%s yang lalu",
- s: "beberapa detik",
- ss: "%d detik",
- m: "semenit",
- mm: "%d menit",
- h: "sejam",
- hh: "%d jam",
- d: "sehari",
- dd: "%d hari",
- M: "sebulan",
- MM: "%d bulan",
- y: "setahun",
- yy: "%d tahun"
- },
- week: {
- dow: 0,
- doy: 6
- }
- })
- }(n(2083))
- }, 2821: function(e, t, n) {
- ! function(e) {
- "use strict";
- function t(e) {
- return e % 100 == 11 || e % 10 != 1
- }
+ function Ts(e, t) {
+ return null != e && hi(e, t, Aa)
+ }
+ var Ds = Fr((function(e, t, n) {
+ null != t && "function" != typeof t.toString && (t = Re.call(t)), e[t] = n
+ }), tl(rl)),
+ Ps = Fr((function(e, t, n) {
+ null != t && "function" != typeof t.toString && (t = Re.call(t)), Ie.call(e, t) ? e[t].push(n) : e[t] = [n]
+ }), oi),
+ js = Ka(Da);
- function n(e, n, a, r) {
- var i = e + " ";
- switch (a) {
- case "s":
- return n || r ? "nokkrar sekúndur" : "nokkrum sekúndum";
- case "ss":
- return t(e) ? i + (n || r ? "sekúndur" : "sekúndum") : i + "sekúnda";
- case "m":
- return n ? "mínúta" : "mínútu";
- case "mm":
- return t(e) ? i + (n || r ? "mínútur" : "mínútum") : n ? i + "mínúta" : i + "mínútu";
- case "hh":
- return t(e) ? i + (n || r ? "klukkustundir" : "klukkustundum") : i + "klukkustund";
- case "d":
- return n ? "dagur" : r ? "dag" : "degi";
- case "dd":
- return t(e) ? n ? i + "dagar" : i + (r ? "daga" : "dögum") : n ? i + "dagur" : i + (r ? "dag" : "degi");
- case "M":
- return n ? "mánuður" : r ? "mánuð" : "mánuði";
- case "MM":
- return t(e) ? n ? i + "mánuðir" : i + (r ? "mánuði" : "mánuðum") : n ? i + "mánuður" : i + (r ? "mánuð" : "mánuði");
- case "y":
- return n || r ? "ár" : "ári";
- case "yy":
- return t(e) ? i + (n || r ? "ár" : "árum") : i + (n || r ? "ár" : "ári")
- }
- }
- e.defineLocale("is", {
- months: "janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),
- monthsShort: "jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),
- weekdays: "sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),
- weekdaysShort: "sun_mán_þri_mið_fim_fös_lau".split("_"),
- weekdaysMin: "Su_Má_Þr_Mi_Fi_Fö_La".split("_"),
- longDateFormat: {
- LT: "H:mm",
- LTS: "H:mm:ss",
- L: "DD.MM.YYYY",
- LL: "D. MMMM YYYY",
- LLL: "D. MMMM YYYY [kl.] H:mm",
- LLLL: "dddd, D. MMMM YYYY [kl.] H:mm"
- },
- calendar: {
- sameDay: "[í dag kl.] LT",
- nextDay: "[á morgun kl.] LT",
- nextWeek: "dddd [kl.] LT",
- lastDay: "[í gær kl.] LT",
- lastWeek: "[síðasta] dddd [kl.] LT",
- sameElse: "L"
- },
- relativeTime: {
- future: "eftir %s",
- past: "fyrir %s síðan",
- s: n,
- ss: n,
- m: n,
- mm: n,
- h: "klukkustund",
- hh: n,
- d: n,
- dd: n,
- M: n,
- MM: n,
- y: n,
- yy: n
- },
- dayOfMonthOrdinalParse: /\d{1,2}\./,
- ordinal: "%d.",
- week: {
- dow: 1,
- doy: 4
- }
- })
- }(n(2083))
- }, 7974: function(e, t, n) {
- ! function(e) {
- "use strict";
- e.defineLocale("it", {
- months: "gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),
- monthsShort: "gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),
- weekdays: "domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),
- weekdaysShort: "dom_lun_mar_mer_gio_ven_sab".split("_"),
- weekdaysMin: "do_lu_ma_me_gi_ve_sa".split("_"),
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "DD/MM/YYYY",
- LL: "D MMMM YYYY",
- LLL: "D MMMM YYYY HH:mm",
- LLLL: "dddd D MMMM YYYY HH:mm"
- },
- calendar: {
- sameDay: function() {
- return "[Oggi a" + (this.hours() > 1 ? "lle " : 0 === this.hours() ? " " : "ll'") + "]LT"
- },
- nextDay: function() {
- return "[Domani a" + (this.hours() > 1 ? "lle " : 0 === this.hours() ? " " : "ll'") + "]LT"
- },
- nextWeek: function() {
- return "dddd [a" + (this.hours() > 1 ? "lle " : 0 === this.hours() ? " " : "ll'") + "]LT"
- },
- lastDay: function() {
- return "[Ieri a" + (this.hours() > 1 ? "lle " : 0 === this.hours() ? " " : "ll'") + "]LT"
- },
- lastWeek: function() {
- return 0 === this.day() ? "[La scorsa] dddd [a" + (this.hours() > 1 ? "lle " : 0 === this.hours() ? " " : "ll'") + "]LT" : "[Lo scorso] dddd [a" + (this.hours() > 1 ? "lle " : 0 === this.hours() ? " " : "ll'") + "]LT"
- },
- sameElse: "L"
- },
- relativeTime: {
- future: "tra %s",
- past: "%s fa",
- s: "alcuni secondi",
- ss: "%d secondi",
- m: "un minuto",
- mm: "%d minuti",
- h: "un'ora",
- hh: "%d ore",
- d: "un giorno",
- dd: "%d giorni",
- w: "una settimana",
- ww: "%d settimane",
- M: "un mese",
- MM: "%d mesi",
- y: "un anno",
- yy: "%d anni"
- },
- dayOfMonthOrdinalParse: /\d{1,2}º/,
- ordinal: "%dº",
- week: {
- dow: 1,
- doy: 4
- }
- })
- }(n(2083))
- }, 8806: function(e, t, n) {
- ! function(e) {
- "use strict";
- e.defineLocale("ja", {
- eras: [{
- since: "2019-05-01",
- offset: 1,
- name: "令和",
- narrow: "㋿",
- abbr: "R"
+ function Ms(e) {
+ return Go(e) ? $n(e) : Na(e)
+ }
+
+ function Is(e) {
+ return Go(e) ? $n(e, !0) : function(e) {
+ if (!ts(e)) return function(e) {
+ var t = [];
+ if (null != e)
+ for (var n in Ee(e)) t.push(n);
+ return t
+ }(e);
+ var t = _i(e),
+ n = [];
+ for (var a in e)("constructor" != a || !t && Ie.call(e, a)) && n.push(a);
+ return n
+ }(e)
+ }
+ var Os = Pr((function(e, t, n) {
+ qa(e, t, n)
+ })),
+ Ns = Pr((function(e, t, n, a) {
+ qa(e, t, n, a)
+ })),
+ Rs = ei((function(e, t) {
+ var n = {};
+ if (null == e) return n;
+ var a = !1;
+ t = xt(t, (function(t) {
+ return t = br(t, e), a || (a = t.length > 1), t
+ })), Tr(e, ni(e), n), a && (n = sa(n, 7, Qr));
+ for (var r = t.length; r--;) cr(n, t[r]);
+ return n
+ })),
+ zs = ei((function(e, t) {
+ return null == e ? {} : function(e, t) {
+ return Ha(e, t, (function(t, n) {
+ return Ts(e, n)
+ }))
+ }(e, t)
+ }));
+
+ function Ls(e, t) {
+ if (null == e) return {};
+ var n = xt(ni(e), (function(e) {
+ return [e]
+ }));
+ return t = oi(t), Ha(e, n, (function(e, n) {
+ return t(e, n[0])
+ }))
+ }
+ var Fs = Kr(Ms),
+ qs = Kr(Is);
+
+ function Bs(e) {
+ return null == e ? [] : Vt(e, Ms(e))
+ }
+ var Us = Or((function(e, t, n) {
+ return t = t.toLowerCase(), e + (n ? Hs(t) : t)
+ }));
+
+ function Hs(e) {
+ return Zs(vs(e).toLowerCase())
+ }
+
+ function Vs(e) {
+ return (e = vs(e)) && e.replace(ye, $t).replace(We, "")
+ }
+ var Ws = Or((function(e, t, n) {
+ return e + (n ? "-" : "") + t.toLowerCase()
+ })),
+ Ys = Or((function(e, t, n) {
+ return e + (n ? " " : "") + t.toLowerCase()
+ })),
+ Gs = Ir("toLowerCase"),
+ Ks = Or((function(e, t, n) {
+ return e + (n ? "_" : "") + t.toLowerCase()
+ })),
+ $s = Or((function(e, t, n) {
+ return e + (n ? " " : "") + Zs(t)
+ })),
+ Js = Or((function(e, t, n) {
+ return e + (n ? " " : "") + t.toUpperCase()
+ })),
+ Zs = Ir("toUpperCase");
+
+ function Qs(e, t, n) {
+ return e = vs(e), (t = n ? r : t) === r ? function(e) {
+ return $e.test(e)
+ }(e) ? function(e) {
+ return e.match(Ge) || []
+ }(e) : function(e) {
+ return e.match(le) || []
+ }(e) : e.match(t) || []
+ }
+ var Xs = Ka((function(e, t) {
+ try {
+ return bt(e, r, t)
+ } catch (e) {
+ return Zo(e) ? e : new _e(e)
+ }
+ })),
+ el = ei((function(e, t) {
+ return vt(t, (function(t) {
+ t = zi(t), ra(e, t, Po(e[t], e))
+ })), e
+ }));
+
+ function tl(e) {
+ return function() {
+ return e
+ }
+ }
+ var nl = zr(),
+ al = zr(!0);
+
+ function rl(e) {
+ return e
+ }
+
+ function il(e) {
+ return Oa("function" == typeof e ? e : sa(e, 1))
+ }
+ var ol = Ka((function(e, t) {
+ return function(n) {
+ return Da(n, e, t)
+ }
+ })),
+ sl = Ka((function(e, t) {
+ return function(n) {
+ return Da(e, n, t)
+ }
+ }));
+
+ function ll(e, t, n) {
+ var a = Ms(t),
+ r = _a(t, a);
+ null != n || ts(t) && (r.length || !a.length) || (n = t, t = e, e = this, r = _a(t, Ms(t)));
+ var i = !(ts(n) && "chain" in n && !n.chain),
+ o = Qo(e);
+ return vt(r, (function(n) {
+ var a = t[n];
+ e[n] = a, o && (e.prototype[n] = function() {
+ var t = this.__chain__;
+ if (i || t) {
+ var n = e(this.__wrapped__),
+ r = n.__actions__ = Ar(this.__actions__);
+ return r.push({
+ func: a,
+ args: arguments,
+ thisArg: e
+ }), n.__chain__ = t, n
+ }
+ return a.apply(e, Ct([this.value()], arguments))
+ })
+ })), e
+ }
+
+ function cl() {}
+ var ul = Br(xt),
+ dl = Br(_t),
+ pl = Br(Dt);
+
+ function hl(e) {
+ return yi(e) ? zt(zi(e)) : function(e) {
+ return function(t) {
+ return wa(t, e)
+ }
+ }(e)
+ }
+ var ml = Hr(),
+ fl = Hr(!0);
+
+ function gl() {
+ return []
+ }
+
+ function bl() {
+ return !1
+ }
+ var yl, vl = qr((function(e, t) {
+ return e + t
+ }), 0),
+ kl = Yr("ceil"),
+ _l = qr((function(e, t) {
+ return e / t
+ }), 1),
+ wl = Yr("floor"),
+ Sl = qr((function(e, t) {
+ return e * t
+ }), 1),
+ El = Yr("round"),
+ xl = qr((function(e, t) {
+ return e - t
+ }), 0);
+ return Fn.after = function(e, t) {
+ if ("function" != typeof t) throw new Ae(i);
+ return e = fs(e),
+ function() {
+ if (--e < 1) return t.apply(this, arguments)
+ }
+ }, Fn.ary = To, Fn.assign = ks, Fn.assignIn = _s, Fn.assignInWith = ws, Fn.assignWith = Ss, Fn.at = Es, Fn.before = Do, Fn.bind = Po, Fn.bindAll = el, Fn.bindKey = jo, Fn.castArray = function() {
+ if (!arguments.length) return [];
+ var e = arguments[0];
+ return Wo(e) ? e : [e]
+ }, Fn.chain = ho, Fn.chunk = function(e, t, n) {
+ t = (n ? bi(e, t, n) : t === r) ? 1 : bn(fs(t), 0);
+ var i = null == e ? 0 : e.length;
+ if (!i || t < 1) return [];
+ for (var o = 0, s = 0, l = a(un(i / t)); o < i;) l[s++] = tr(e, o, o += t);
+ return l
+ }, Fn.compact = function(e) {
+ for (var t = -1, n = null == e ? 0 : e.length, a = 0, r = []; ++t < n;) {
+ var i = e[t];
+ i && (r[a++] = i)
+ }
+ return r
+ }, Fn.concat = function() {
+ var e = arguments.length;
+ if (!e) return [];
+ for (var t = a(e - 1), n = arguments[0], r = e; r--;) t[r - 1] = arguments[r];
+ return Ct(Wo(n) ? Ar(n) : [n], ga(t, 1))
+ }, Fn.cond = function(e) {
+ var t = null == e ? 0 : e.length,
+ n = oi();
+ return e = t ? xt(e, (function(e) {
+ if ("function" != typeof e[1]) throw new Ae(i);
+ return [n(e[0]), e[1]]
+ })) : [], Ka((function(n) {
+ for (var a = -1; ++a < t;) {
+ var r = e[a];
+ if (bt(r[0], this, n)) return bt(r[1], this, n)
+ }
+ }))
+ }, Fn.conforms = function(e) {
+ return function(e) {
+ var t = Ms(e);
+ return function(n) {
+ return la(n, e, t)
+ }
+ }(sa(e, 1))
+ }, Fn.constant = tl, Fn.countBy = go, Fn.create = function(e, t) {
+ var n = qn(e);
+ return null == t ? n : aa(n, t)
+ }, Fn.curry = function e(t, n, a) {
+ var i = $r(t, 8, r, r, r, r, r, n = a ? r : n);
+ return i.placeholder = e.placeholder, i
+ }, Fn.curryRight = function e(t, n, a) {
+ var i = $r(t, 16, r, r, r, r, r, n = a ? r : n);
+ return i.placeholder = e.placeholder, i
+ }, Fn.debounce = Mo, Fn.defaults = xs, Fn.defaultsDeep = Cs, Fn.defer = Io, Fn.delay = Oo, Fn.difference = qi, Fn.differenceBy = Bi, Fn.differenceWith = Ui, Fn.drop = function(e, t, n) {
+ var a = null == e ? 0 : e.length;
+ return a ? tr(e, (t = n || t === r ? 1 : fs(t)) < 0 ? 0 : t, a) : []
+ }, Fn.dropRight = function(e, t, n) {
+ var a = null == e ? 0 : e.length;
+ return a ? tr(e, 0, (t = a - (t = n || t === r ? 1 : fs(t))) < 0 ? 0 : t) : []
+ }, Fn.dropRightWhile = function(e, t) {
+ return e && e.length ? dr(e, oi(t, 3), !0, !0) : []
+ }, Fn.dropWhile = function(e, t) {
+ return e && e.length ? dr(e, oi(t, 3), !0) : []
+ }, Fn.fill = function(e, t, n, a) {
+ var i = null == e ? 0 : e.length;
+ return i ? (n && "number" != typeof n && bi(e, t, n) && (n = 0, a = i), function(e, t, n, a) {
+ var i = e.length;
+ for ((n = fs(n)) < 0 && (n = -n > i ? 0 : i + n), (a = a === r || a > i ? i : fs(a)) < 0 && (a += i), a = n > a ? 0 : gs(a); n < a;) e[n++] = t;
+ return e
+ }(e, t, n, a)) : []
+ }, Fn.filter = function(e, t) {
+ return (Wo(e) ? wt : fa)(e, oi(t, 3))
+ }, Fn.flatMap = function(e, t) {
+ return ga(Eo(e, t), 1)
+ }, Fn.flatMapDeep = function(e, t) {
+ return ga(Eo(e, t), u)
+ }, Fn.flatMapDepth = function(e, t, n) {
+ return n = n === r ? 1 : fs(n), ga(Eo(e, t), n)
+ }, Fn.flatten = Wi, Fn.flattenDeep = function(e) {
+ return null != e && e.length ? ga(e, u) : []
+ }, Fn.flattenDepth = function(e, t) {
+ return null != e && e.length ? ga(e, t = t === r ? 1 : fs(t)) : []
+ }, Fn.flip = function(e) {
+ return $r(e, 512)
+ }, Fn.flow = nl, Fn.flowRight = al, Fn.fromPairs = function(e) {
+ for (var t = -1, n = null == e ? 0 : e.length, a = {}; ++t < n;) {
+ var r = e[t];
+ a[r[0]] = r[1]
+ }
+ return a
+ }, Fn.functions = function(e) {
+ return null == e ? [] : _a(e, Ms(e))
+ }, Fn.functionsIn = function(e) {
+ return null == e ? [] : _a(e, Is(e))
+ }, Fn.groupBy = _o, Fn.initial = function(e) {
+ return null != e && e.length ? tr(e, 0, -1) : []
+ }, Fn.intersection = Gi, Fn.intersectionBy = Ki, Fn.intersectionWith = $i, Fn.invert = Ds, Fn.invertBy = Ps, Fn.invokeMap = wo, Fn.iteratee = il, Fn.keyBy = So, Fn.keys = Ms, Fn.keysIn = Is, Fn.map = Eo, Fn.mapKeys = function(e, t) {
+ var n = {};
+ return t = oi(t, 3), va(e, (function(e, a, r) {
+ ra(n, t(e, a, r), e)
+ })), n
+ }, Fn.mapValues = function(e, t) {
+ var n = {};
+ return t = oi(t, 3), va(e, (function(e, a, r) {
+ ra(n, a, t(e, a, r))
+ })), n
+ }, Fn.matches = function(e) {
+ return La(sa(e, 1))
+ }, Fn.matchesProperty = function(e, t) {
+ return Fa(e, sa(t, 1))
+ }, Fn.memoize = No, Fn.merge = Os, Fn.mergeWith = Ns, Fn.method = ol, Fn.methodOf = sl, Fn.mixin = ll, Fn.negate = Ro, Fn.nthArg = function(e) {
+ return e = fs(e), Ka((function(t) {
+ return Ba(t, e)
+ }))
+ }, Fn.omit = Rs, Fn.omitBy = function(e, t) {
+ return Ls(e, Ro(oi(t)))
+ }, Fn.once = function(e) {
+ return Do(2, e)
+ }, Fn.orderBy = function(e, t, n, a) {
+ return null == e ? [] : (Wo(t) || (t = null == t ? [] : [t]), Wo(n = a ? r : n) || (n = null == n ? [] : [n]), Ua(e, t, n))
+ }, Fn.over = ul, Fn.overArgs = zo, Fn.overEvery = dl, Fn.overSome = pl, Fn.partial = Lo, Fn.partialRight = Fo, Fn.partition = xo, Fn.pick = zs, Fn.pickBy = Ls, Fn.property = hl, Fn.propertyOf = function(e) {
+ return function(t) {
+ return null == e ? r : wa(e, t)
+ }
+ }, Fn.pull = Zi, Fn.pullAll = Qi, Fn.pullAllBy = function(e, t, n) {
+ return e && e.length && t && t.length ? Va(e, t, oi(n, 2)) : e
+ }, Fn.pullAllWith = function(e, t, n) {
+ return e && e.length && t && t.length ? Va(e, t, r, n) : e
+ }, Fn.pullAt = Xi, Fn.range = ml, Fn.rangeRight = fl, Fn.rearg = qo, Fn.reject = function(e, t) {
+ return (Wo(e) ? wt : fa)(e, Ro(oi(t, 3)))
+ }, Fn.remove = function(e, t) {
+ var n = [];
+ if (!e || !e.length) return n;
+ var a = -1,
+ r = [],
+ i = e.length;
+ for (t = oi(t, 3); ++a < i;) {
+ var o = e[a];
+ t(o, a, e) && (n.push(o), r.push(a))
+ }
+ return Wa(e, r), n
+ }, Fn.rest = function(e, t) {
+ if ("function" != typeof e) throw new Ae(i);
+ return Ka(e, t = t === r ? t : fs(t))
+ }, Fn.reverse = eo, Fn.sampleSize = function(e, t, n) {
+ return t = (n ? bi(e, t, n) : t === r) ? 1 : fs(t), (Wo(e) ? Zn : Ja)(e, t)
+ }, Fn.set = function(e, t, n) {
+ return null == e ? e : Za(e, t, n)
+ }, Fn.setWith = function(e, t, n, a) {
+ return a = "function" == typeof a ? a : r, null == e ? e : Za(e, t, n, a)
+ }, Fn.shuffle = function(e) {
+ return (Wo(e) ? Qn : er)(e)
+ }, Fn.slice = function(e, t, n) {
+ var a = null == e ? 0 : e.length;
+ return a ? (n && "number" != typeof n && bi(e, t, n) ? (t = 0, n = a) : (t = null == t ? 0 : fs(t), n = n === r ? a : fs(n)), tr(e, t, n)) : []
+ }, Fn.sortBy = Co, Fn.sortedUniq = function(e) {
+ return e && e.length ? ir(e) : []
+ }, Fn.sortedUniqBy = function(e, t) {
+ return e && e.length ? ir(e, oi(t, 2)) : []
+ }, Fn.split = function(e, t, n) {
+ return n && "number" != typeof n && bi(e, t, n) && (t = n = r), (n = n === r ? h : n >>> 0) ? (e = vs(e)) && ("string" == typeof t || null != t && !os(t)) && !(t = sr(t)) && Qt(e) ? vr(on(e), 0, n) : e.split(t, n) : []
+ }, Fn.spread = function(e, t) {
+ if ("function" != typeof e) throw new Ae(i);
+ return t = null == t ? 0 : bn(fs(t), 0), Ka((function(n) {
+ var a = n[t],
+ r = vr(n, 0, t);
+ return a && Ct(r, a), bt(e, this, r)
+ }))
+ }, Fn.tail = function(e) {
+ var t = null == e ? 0 : e.length;
+ return t ? tr(e, 1, t) : []
+ }, Fn.take = function(e, t, n) {
+ return e && e.length ? tr(e, 0, (t = n || t === r ? 1 : fs(t)) < 0 ? 0 : t) : []
+ }, Fn.takeRight = function(e, t, n) {
+ var a = null == e ? 0 : e.length;
+ return a ? tr(e, (t = a - (t = n || t === r ? 1 : fs(t))) < 0 ? 0 : t, a) : []
+ }, Fn.takeRightWhile = function(e, t) {
+ return e && e.length ? dr(e, oi(t, 3), !1, !0) : []
+ }, Fn.takeWhile = function(e, t) {
+ return e && e.length ? dr(e, oi(t, 3)) : []
+ }, Fn.tap = function(e, t) {
+ return t(e), e
+ }, Fn.throttle = function(e, t, n) {
+ var a = !0,
+ r = !0;
+ if ("function" != typeof e) throw new Ae(i);
+ return ts(n) && (a = "leading" in n ? !!n.leading : a, r = "trailing" in n ? !!n.trailing : r), Mo(e, t, {
+ leading: a,
+ maxWait: t,
+ trailing: r
+ })
+ }, Fn.thru = mo, Fn.toArray = hs, Fn.toPairs = Fs, Fn.toPairsIn = qs, Fn.toPath = function(e) {
+ return Wo(e) ? xt(e, zi) : cs(e) ? [e] : Ar(Ri(vs(e)))
+ }, Fn.toPlainObject = ys, Fn.transform = function(e, t, n) {
+ var a = Wo(e),
+ r = a || $o(e) || us(e);
+ if (t = oi(t, 4), null == n) {
+ var i = e && e.constructor;
+ n = r ? a ? new i : [] : ts(e) && Qo(i) ? qn(Ye(e)) : {}
+ }
+ return (r ? vt : va)(e, (function(e, a, r) {
+ return t(n, e, a, r)
+ })), n
+ }, Fn.unary = function(e) {
+ return To(e, 1)
+ }, Fn.union = to, Fn.unionBy = no, Fn.unionWith = ao, Fn.uniq = function(e) {
+ return e && e.length ? lr(e) : []
+ }, Fn.uniqBy = function(e, t) {
+ return e && e.length ? lr(e, oi(t, 2)) : []
+ }, Fn.uniqWith = function(e, t) {
+ return t = "function" == typeof t ? t : r, e && e.length ? lr(e, r, t) : []
+ }, Fn.unset = function(e, t) {
+ return null == e || cr(e, t)
+ }, Fn.unzip = ro, Fn.unzipWith = io, Fn.update = function(e, t, n) {
+ return null == e ? e : ur(e, t, gr(n))
+ }, Fn.updateWith = function(e, t, n, a) {
+ return a = "function" == typeof a ? a : r, null == e ? e : ur(e, t, gr(n), a)
+ }, Fn.values = Bs, Fn.valuesIn = function(e) {
+ return null == e ? [] : Vt(e, Is(e))
+ }, Fn.without = oo, Fn.words = Qs, Fn.wrap = function(e, t) {
+ return Lo(gr(t), e)
+ }, Fn.xor = so, Fn.xorBy = lo, Fn.xorWith = co, Fn.zip = uo, Fn.zipObject = function(e, t) {
+ return mr(e || [], t || [], ea)
+ }, Fn.zipObjectDeep = function(e, t) {
+ return mr(e || [], t || [], Za)
+ }, Fn.zipWith = po, Fn.entries = Fs, Fn.entriesIn = qs, Fn.extend = _s, Fn.extendWith = ws, ll(Fn, Fn), Fn.add = vl, Fn.attempt = Xs, Fn.camelCase = Us, Fn.capitalize = Hs, Fn.ceil = kl, Fn.clamp = function(e, t, n) {
+ return n === r && (n = t, t = r), n !== r && (n = (n = bs(n)) == n ? n : 0), t !== r && (t = (t = bs(t)) == t ? t : 0), oa(bs(e), t, n)
+ }, Fn.clone = function(e) {
+ return sa(e, 4)
+ }, Fn.cloneDeep = function(e) {
+ return sa(e, 5)
+ }, Fn.cloneDeepWith = function(e, t) {
+ return sa(e, 5, t = "function" == typeof t ? t : r)
+ }, Fn.cloneWith = function(e, t) {
+ return sa(e, 4, t = "function" == typeof t ? t : r)
+ }, Fn.conformsTo = function(e, t) {
+ return null == t || la(e, t, Ms(t))
+ }, Fn.deburr = Vs, Fn.defaultTo = function(e, t) {
+ return null == e || e != e ? t : e
+ }, Fn.divide = _l, Fn.endsWith = function(e, t, n) {
+ e = vs(e), t = sr(t);
+ var a = e.length,
+ i = n = n === r ? a : oa(fs(n), 0, a);
+ return (n -= t.length) >= 0 && e.slice(n, i) == t
+ }, Fn.eq = Bo, Fn.escape = function(e) {
+ return (e = vs(e)) && K.test(e) ? e.replace(Y, Jt) : e
+ }, Fn.escapeRegExp = function(e) {
+ return (e = vs(e)) && ne.test(e) ? e.replace(te, "\\$&") : e
+ }, Fn.every = function(e, t, n) {
+ var a = Wo(e) ? _t : ha;
+ return n && bi(e, t, n) && (t = r), a(e, oi(t, 3))
+ }, Fn.find = bo, Fn.findIndex = Hi, Fn.findKey = function(e, t) {
+ return jt(e, oi(t, 3), va)
+ }, Fn.findLast = yo, Fn.findLastIndex = Vi, Fn.findLastKey = function(e, t) {
+ return jt(e, oi(t, 3), ka)
+ }, Fn.floor = wl, Fn.forEach = vo, Fn.forEachRight = ko, Fn.forIn = function(e, t) {
+ return null == e ? e : ba(e, oi(t, 3), Is)
+ }, Fn.forInRight = function(e, t) {
+ return null == e ? e : ya(e, oi(t, 3), Is)
+ }, Fn.forOwn = function(e, t) {
+ return e && va(e, oi(t, 3))
+ }, Fn.forOwnRight = function(e, t) {
+ return e && ka(e, oi(t, 3))
+ }, Fn.get = As, Fn.gt = Uo, Fn.gte = Ho, Fn.has = function(e, t) {
+ return null != e && hi(e, t, Ca)
+ }, Fn.hasIn = Ts, Fn.head = Yi, Fn.identity = rl, Fn.includes = function(e, t, n, a) {
+ e = Go(e) ? e : Bs(e), n = n && !a ? fs(n) : 0;
+ var r = e.length;
+ return n < 0 && (n = bn(r + n, 0)), ls(e) ? n <= r && e.indexOf(t, n) > -1 : !!r && It(e, t, n) > -1
+ }, Fn.indexOf = function(e, t, n) {
+ var a = null == e ? 0 : e.length;
+ if (!a) return -1;
+ var r = null == n ? 0 : fs(n);
+ return r < 0 && (r = bn(a + r, 0)), It(e, t, r)
+ }, Fn.inRange = function(e, t, n) {
+ return t = ms(t), n === r ? (n = t, t = 0) : n = ms(n),
+ function(e, t, n) {
+ return e >= yn(t, n) && e < bn(t, n)
+ }(e = bs(e), t, n)
+ }, Fn.invoke = js, Fn.isArguments = Vo, Fn.isArray = Wo, Fn.isArrayBuffer = Yo, Fn.isArrayLike = Go, Fn.isArrayLikeObject = Ko, Fn.isBoolean = function(e) {
+ return !0 === e || !1 === e || ns(e) && Ea(e) == b
+ }, Fn.isBuffer = $o, Fn.isDate = Jo, Fn.isElement = function(e) {
+ return ns(e) && 1 === e.nodeType && !is(e)
+ }, Fn.isEmpty = function(e) {
+ if (null == e) return !0;
+ if (Go(e) && (Wo(e) || "string" == typeof e || "function" == typeof e.splice || $o(e) || us(e) || Vo(e))) return !e.length;
+ var t = pi(e);
+ if (t == w || t == A) return !e.size;
+ if (_i(e)) return !Na(e).length;
+ for (var n in e)
+ if (Ie.call(e, n)) return !1;
+ return !0
+ }, Fn.isEqual = function(e, t) {
+ return ja(e, t)
+ }, Fn.isEqualWith = function(e, t, n) {
+ var a = (n = "function" == typeof n ? n : r) ? n(e, t) : r;
+ return a === r ? ja(e, t, r, n) : !!a
+ }, Fn.isError = Zo, Fn.isFinite = function(e) {
+ return "number" == typeof e && mn(e)
+ }, Fn.isFunction = Qo, Fn.isInteger = Xo, Fn.isLength = es, Fn.isMap = as, Fn.isMatch = function(e, t) {
+ return e === t || Ma(e, t, li(t))
+ }, Fn.isMatchWith = function(e, t, n) {
+ return n = "function" == typeof n ? n : r, Ma(e, t, li(t), n)
+ }, Fn.isNaN = function(e) {
+ return rs(e) && e != +e
+ }, Fn.isNative = function(e) {
+ if (ki(e)) throw new _e("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");
+ return Ia(e)
+ }, Fn.isNil = function(e) {
+ return null == e
+ }, Fn.isNull = function(e) {
+ return null === e
+ }, Fn.isNumber = rs, Fn.isObject = ts, Fn.isObjectLike = ns, Fn.isPlainObject = is, Fn.isRegExp = os, Fn.isSafeInteger = function(e) {
+ return Xo(e) && e >= -9007199254740991 && e <= d
+ }, Fn.isSet = ss, Fn.isString = ls, Fn.isSymbol = cs, Fn.isTypedArray = us, Fn.isUndefined = function(e) {
+ return e === r
+ }, Fn.isWeakMap = function(e) {
+ return ns(e) && pi(e) == P
+ }, Fn.isWeakSet = function(e) {
+ return ns(e) && "[object WeakSet]" == Ea(e)
+ }, Fn.join = function(e, t) {
+ return null == e ? "" : fn.call(e, t)
+ }, Fn.kebabCase = Ws, Fn.last = Ji, Fn.lastIndexOf = function(e, t, n) {
+ var a = null == e ? 0 : e.length;
+ if (!a) return -1;
+ var i = a;
+ return n !== r && (i = (i = fs(n)) < 0 ? bn(a + i, 0) : yn(i, a - 1)), t == t ? function(e, t, n) {
+ for (var a = n + 1; a--;)
+ if (e[a] === t) return a;
+ return a
+ }(e, t, i) : Mt(e, Nt, i, !0)
+ }, Fn.lowerCase = Ys, Fn.lowerFirst = Gs, Fn.lt = ds, Fn.lte = ps, Fn.max = function(e) {
+ return e && e.length ? ma(e, rl, xa) : r
+ }, Fn.maxBy = function(e, t) {
+ return e && e.length ? ma(e, oi(t, 2), xa) : r
+ }, Fn.mean = function(e) {
+ return Rt(e, rl)
+ }, Fn.meanBy = function(e, t) {
+ return Rt(e, oi(t, 2))
+ }, Fn.min = function(e) {
+ return e && e.length ? ma(e, rl, Ra) : r
+ }, Fn.minBy = function(e, t) {
+ return e && e.length ? ma(e, oi(t, 2), Ra) : r
+ }, Fn.stubArray = gl, Fn.stubFalse = bl, Fn.stubObject = function() {
+ return {}
+ }, Fn.stubString = function() {
+ return ""
+ }, Fn.stubTrue = function() {
+ return !0
+ }, Fn.multiply = Sl, Fn.nth = function(e, t) {
+ return e && e.length ? Ba(e, fs(t)) : r
+ }, Fn.noConflict = function() {
+ return it._ === this && (it._ = Le), this
+ }, Fn.noop = cl, Fn.now = Ao, Fn.pad = function(e, t, n) {
+ e = vs(e);
+ var a = (t = fs(t)) ? rn(e) : 0;
+ if (!t || a >= t) return e;
+ var r = (t - a) / 2;
+ return Ur(dn(r), n) + e + Ur(un(r), n)
+ }, Fn.padEnd = function(e, t, n) {
+ e = vs(e);
+ var a = (t = fs(t)) ? rn(e) : 0;
+ return t && a < t ? e + Ur(t - a, n) : e
+ }, Fn.padStart = function(e, t, n) {
+ e = vs(e);
+ var a = (t = fs(t)) ? rn(e) : 0;
+ return t && a < t ? Ur(t - a, n) + e : e
+ }, Fn.parseInt = function(e, t, n) {
+ return n || null == t ? t = 0 : t && (t = +t), kn(vs(e).replace(ae, ""), t || 0)
+ }, Fn.random = function(e, t, n) {
+ if (n && "boolean" != typeof n && bi(e, t, n) && (t = n = r), n === r && ("boolean" == typeof t ? (n = t, t = r) : "boolean" == typeof e && (n = e, e = r)), e === r && t === r ? (e = 0, t = 1) : (e = ms(e), t === r ? (t = e, e = 0) : t = ms(t)), e > t) {
+ var a = e;
+ e = t, t = a
+ }
+ if (n || e % 1 || t % 1) {
+ var i = _n();
+ return yn(e + i * (t - e + tt("1e-" + ((i + "").length - 1))), t)
+ }
+ return Ya(e, t)
+ }, Fn.reduce = function(e, t, n) {
+ var a = Wo(e) ? At : Ft,
+ r = arguments.length < 3;
+ return a(e, oi(t, 4), n, r, da)
+ }, Fn.reduceRight = function(e, t, n) {
+ var a = Wo(e) ? Tt : Ft,
+ r = arguments.length < 3;
+ return a(e, oi(t, 4), n, r, pa)
+ }, Fn.repeat = function(e, t, n) {
+ return t = (n ? bi(e, t, n) : t === r) ? 1 : fs(t), Ga(vs(e), t)
+ }, Fn.replace = function() {
+ var e = arguments,
+ t = vs(e[0]);
+ return e.length < 3 ? t : t.replace(e[1], e[2])
+ }, Fn.result = function(e, t, n) {
+ var a = -1,
+ i = (t = br(t, e)).length;
+ for (i || (i = 1, e = r); ++a < i;) {
+ var o = null == e ? r : e[zi(t[a])];
+ o === r && (a = i, o = n), e = Qo(o) ? o.call(e) : o
+ }
+ return e
+ }, Fn.round = El, Fn.runInContext = e, Fn.sample = function(e) {
+ return (Wo(e) ? Jn : $a)(e)
+ }, Fn.size = function(e) {
+ if (null == e) return 0;
+ if (Go(e)) return ls(e) ? rn(e) : e.length;
+ var t = pi(e);
+ return t == w || t == A ? e.size : Na(e).length
+ }, Fn.snakeCase = Ks, Fn.some = function(e, t, n) {
+ var a = Wo(e) ? Dt : nr;
+ return n && bi(e, t, n) && (t = r), a(e, oi(t, 3))
+ }, Fn.sortedIndex = function(e, t) {
+ return ar(e, t)
+ }, Fn.sortedIndexBy = function(e, t, n) {
+ return rr(e, t, oi(n, 2))
+ }, Fn.sortedIndexOf = function(e, t) {
+ var n = null == e ? 0 : e.length;
+ if (n) {
+ var a = ar(e, t);
+ if (a < n && Bo(e[a], t)) return a
+ }
+ return -1
+ }, Fn.sortedLastIndex = function(e, t) {
+ return ar(e, t, !0)
+ }, Fn.sortedLastIndexBy = function(e, t, n) {
+ return rr(e, t, oi(n, 2), !0)
+ }, Fn.sortedLastIndexOf = function(e, t) {
+ if (null != e && e.length) {
+ var n = ar(e, t, !0) - 1;
+ if (Bo(e[n], t)) return n
+ }
+ return -1
+ }, Fn.startCase = $s, Fn.startsWith = function(e, t, n) {
+ return e = vs(e), n = null == n ? 0 : oa(fs(n), 0, e.length), t = sr(t), e.slice(n, n + t.length) == t
+ }, Fn.subtract = xl, Fn.sum = function(e) {
+ return e && e.length ? qt(e, rl) : 0
+ }, Fn.sumBy = function(e, t) {
+ return e && e.length ? qt(e, oi(t, 2)) : 0
+ }, Fn.template = function(e, t, n) {
+ var a = Fn.templateSettings;
+ n && bi(e, t, n) && (t = r), e = vs(e), t = ws({}, t, a, Jr);
+ var i, o, s = ws({}, t.imports, a.imports, Jr),
+ l = Ms(s),
+ c = Vt(s, l),
+ u = 0,
+ d = t.interpolate || ve,
+ p = "__p += '",
+ h = xe((t.escape || ve).source + "|" + d.source + "|" + (d === Z ? de : ve).source + "|" + (t.evaluate || ve).source + "|$", "g"),
+ m = "//# sourceURL=" + (Ie.call(t, "sourceURL") ? (t.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++Ze + "]") + "\n";
+ e.replace(h, (function(t, n, a, r, s, l) {
+ return a || (a = r), p += e.slice(u, l).replace(ke, Zt), n && (i = !0, p += "' +\n__e(" + n + ") +\n'"), s && (o = !0, p += "';\n" + s + ";\n__p += '"), a && (p += "' +\n((__t = (" + a + ")) == null ? '' : __t) +\n'"), u = l + t.length, t
+ })), p += "';\n";
+ var f = Ie.call(t, "variable") && t.variable;
+ if (f) {
+ if (ce.test(f)) throw new _e("Invalid `variable` option passed into `_.template`")
+ } else p = "with (obj) {\n" + p + "\n}\n";
+ p = (o ? p.replace(U, "") : p).replace(H, "$1").replace(V, "$1;"), p = "function(" + (f || "obj") + ") {\n" + (f ? "" : "obj || (obj = {});\n") + "var __t, __p = ''" + (i ? ", __e = _.escape" : "") + (o ? ", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n" : ";\n") + p + "return __p\n}";
+ var g = Xs((function() {
+ return we(l, m + "return " + p).apply(r, c)
+ }));
+ if (g.source = p, Zo(g)) throw g;
+ return g
+ }, Fn.times = function(e, t) {
+ if ((e = fs(e)) < 1 || e > d) return [];
+ var n = h,
+ a = yn(e, h);
+ t = oi(t), e -= h;
+ for (var r = Bt(a, t); ++n < e;) t(n);
+ return r
+ }, Fn.toFinite = ms, Fn.toInteger = fs, Fn.toLength = gs, Fn.toLower = function(e) {
+ return vs(e).toLowerCase()
+ }, Fn.toNumber = bs, Fn.toSafeInteger = function(e) {
+ return e ? oa(fs(e), -9007199254740991, d) : 0 === e ? e : 0
+ }, Fn.toString = vs, Fn.toUpper = function(e) {
+ return vs(e).toUpperCase()
+ }, Fn.trim = function(e, t, n) {
+ if ((e = vs(e)) && (n || t === r)) return Ut(e);
+ if (!e || !(t = sr(t))) return e;
+ var a = on(e),
+ i = on(t);
+ return vr(a, Yt(a, i), Gt(a, i) + 1).join("")
+ }, Fn.trimEnd = function(e, t, n) {
+ if ((e = vs(e)) && (n || t === r)) return e.slice(0, sn(e) + 1);
+ if (!e || !(t = sr(t))) return e;
+ var a = on(e);
+ return vr(a, 0, Gt(a, on(t)) + 1).join("")
+ }, Fn.trimStart = function(e, t, n) {
+ if ((e = vs(e)) && (n || t === r)) return e.replace(ae, "");
+ if (!e || !(t = sr(t))) return e;
+ var a = on(e);
+ return vr(a, Yt(a, on(t))).join("")
+ }, Fn.truncate = function(e, t) {
+ var n = 30,
+ a = "...";
+ if (ts(t)) {
+ var i = "separator" in t ? t.separator : i;
+ n = "length" in t ? fs(t.length) : n, a = "omission" in t ? sr(t.omission) : a
+ }
+ var o = (e = vs(e)).length;
+ if (Qt(e)) {
+ var s = on(e);
+ o = s.length
+ }
+ if (n >= o) return e;
+ var l = n - rn(a);
+ if (l < 1) return a;
+ var c = s ? vr(s, 0, l).join("") : e.slice(0, l);
+ if (i === r) return c + a;
+ if (s && (l += c.length - l), os(i)) {
+ if (e.slice(l).search(i)) {
+ var u, d = c;
+ for (i.global || (i = xe(i.source, vs(pe.exec(i)) + "g")), i.lastIndex = 0; u = i.exec(d);) var p = u.index;
+ c = c.slice(0, p === r ? l : p)
+ }
+ } else if (e.indexOf(sr(i), l) != l) {
+ var h = c.lastIndexOf(i);
+ h > -1 && (c = c.slice(0, h))
+ }
+ return c + a
+ }, Fn.unescape = function(e) {
+ return (e = vs(e)) && G.test(e) ? e.replace(W, ln) : e
+ }, Fn.uniqueId = function(e) {
+ var t = ++Oe;
+ return vs(e) + t
+ }, Fn.upperCase = Js, Fn.upperFirst = Zs, Fn.each = vo, Fn.eachRight = ko, Fn.first = Yi, ll(Fn, (yl = {}, va(Fn, (function(e, t) {
+ Ie.call(Fn.prototype, t) || (yl[t] = e)
+ })), yl), {
+ chain: !1
+ }), Fn.VERSION = "4.17.21", vt(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], (function(e) {
+ Fn[e].placeholder = Fn
+ })), vt(["drop", "take"], (function(e, t) {
+ Hn.prototype[e] = function(n) {
+ n = n === r ? 1 : bn(fs(n), 0);
+ var a = this.__filtered__ && !t ? new Hn(this) : this.clone();
+ return a.__filtered__ ? a.__takeCount__ = yn(n, a.__takeCount__) : a.__views__.push({
+ size: yn(n, h),
+ type: e + (a.__dir__ < 0 ? "Right" : "")
+ }), a
+ }, Hn.prototype[e + "Right"] = function(t) {
+ return this.reverse()[e](t).reverse()
+ }
+ })), vt(["filter", "map", "takeWhile"], (function(e, t) {
+ var n = t + 1,
+ a = 1 == n || 3 == n;
+ Hn.prototype[e] = function(e) {
+ var t = this.clone();
+ return t.__iteratees__.push({
+ iteratee: oi(e, 3),
+ type: n
+ }), t.__filtered__ = t.__filtered__ || a, t
+ }
+ })), vt(["head", "last"], (function(e, t) {
+ var n = "take" + (t ? "Right" : "");
+ Hn.prototype[e] = function() {
+ return this[n](1).value()[0]
+ }
+ })), vt(["initial", "tail"], (function(e, t) {
+ var n = "drop" + (t ? "" : "Right");
+ Hn.prototype[e] = function() {
+ return this.__filtered__ ? new Hn(this) : this[n](1)
+ }
+ })), Hn.prototype.compact = function() {
+ return this.filter(rl)
+ }, Hn.prototype.find = function(e) {
+ return this.filter(e).head()
+ }, Hn.prototype.findLast = function(e) {
+ return this.reverse().find(e)
+ }, Hn.prototype.invokeMap = Ka((function(e, t) {
+ return "function" == typeof e ? new Hn(this) : this.map((function(n) {
+ return Da(n, e, t)
+ }))
+ })), Hn.prototype.reject = function(e) {
+ return this.filter(Ro(oi(e)))
+ }, Hn.prototype.slice = function(e, t) {
+ e = fs(e);
+ var n = this;
+ return n.__filtered__ && (e > 0 || t < 0) ? new Hn(n) : (e < 0 ? n = n.takeRight(-e) : e && (n = n.drop(e)), t !== r && (n = (t = fs(t)) < 0 ? n.dropRight(-t) : n.take(t - e)), n)
+ }, Hn.prototype.takeRightWhile = function(e) {
+ return this.reverse().takeWhile(e).reverse()
+ }, Hn.prototype.toArray = function() {
+ return this.take(h)
+ }, va(Hn.prototype, (function(e, t) {
+ var n = /^(?:filter|find|map|reject)|While$/.test(t),
+ a = /^(?:head|last)$/.test(t),
+ i = Fn[a ? "take" + ("last" == t ? "Right" : "") : t],
+ o = a || /^find/.test(t);
+ i && (Fn.prototype[t] = function() {
+ var t = this.__wrapped__,
+ s = a ? [1] : arguments,
+ l = t instanceof Hn,
+ c = s[0],
+ u = l || Wo(t),
+ d = function(e) {
+ var t = i.apply(Fn, Ct([e], s));
+ return a && p ? t[0] : t
+ };
+ u && n && "function" == typeof c && 1 != c.length && (l = u = !1);
+ var p = this.__chain__,
+ h = !!this.__actions__.length,
+ m = o && !p,
+ f = l && !h;
+ if (!o && u) {
+ t = f ? t : new Hn(this);
+ var g = e.apply(t, s);
+ return g.__actions__.push({
+ func: mo,
+ args: [d],
+ thisArg: r
+ }), new Un(g, p)
+ }
+ return m && f ? e.apply(this, s) : (g = this.thru(d), m ? a ? g.value()[0] : g.value() : g)
+ })
+ })), vt(["pop", "push", "shift", "sort", "splice", "unshift"], (function(e) {
+ var t = Te[e],
+ n = /^(?:push|sort|unshift)$/.test(e) ? "tap" : "thru",
+ a = /^(?:pop|shift)$/.test(e);
+ Fn.prototype[e] = function() {
+ var e = arguments;
+ if (a && !this.__chain__) {
+ var r = this.value();
+ return t.apply(Wo(r) ? r : [], e)
+ }
+ return this[n]((function(n) {
+ return t.apply(Wo(n) ? n : [], e)
+ }))
+ }
+ })), va(Hn.prototype, (function(e, t) {
+ var n = Fn[t];
+ if (n) {
+ var a = n.name + "";
+ Ie.call(Pn, a) || (Pn[a] = []), Pn[a].push({
+ name: t,
+ func: n
+ })
+ }
+ })), Pn[Lr(r, 2).name] = [{
+ name: "wrapper",
+ func: r
+ }], Hn.prototype.clone = function() {
+ var e = new Hn(this.__wrapped__);
+ return e.__actions__ = Ar(this.__actions__), e.__dir__ = this.__dir__, e.__filtered__ = this.__filtered__, e.__iteratees__ = Ar(this.__iteratees__), e.__takeCount__ = this.__takeCount__, e.__views__ = Ar(this.__views__), e
+ }, Hn.prototype.reverse = function() {
+ if (this.__filtered__) {
+ var e = new Hn(this);
+ e.__dir__ = -1, e.__filtered__ = !0
+ } else(e = this.clone()).__dir__ *= -1;
+ return e
+ }, Hn.prototype.value = function() {
+ var e = this.__wrapped__.value(),
+ t = this.__dir__,
+ n = Wo(e),
+ a = t < 0,
+ r = n ? e.length : 0,
+ i = function(e, t, n) {
+ for (var a = -1, r = n.length; ++a < r;) {
+ var i = n[a],
+ o = i.size;
+ switch (i.type) {
+ case "drop":
+ e += o;
+ break;
+ case "dropRight":
+ t -= o;
+ break;
+ case "take":
+ t = yn(t, e + o);
+ break;
+ case "takeRight":
+ e = bn(e, t - o)
+ }
+ }
+ return {
+ start: e,
+ end: t
+ }
+ }(0, r, this.__views__),
+ o = i.start,
+ s = i.end,
+ l = s - o,
+ c = a ? s : o - 1,
+ u = this.__iteratees__,
+ d = u.length,
+ p = 0,
+ h = yn(l, this.__takeCount__);
+ if (!n || !a && r == l && h == l) return pr(e, this.__actions__);
+ var m = [];
+ e: for (; l-- && p < h;) {
+ for (var f = -1, g = e[c += t]; ++f < d;) {
+ var b = u[f],
+ y = b.iteratee,
+ v = b.type,
+ k = y(g);
+ if (2 == v) g = k;
+ else if (!k) {
+ if (1 == v) continue e;
+ break e
+ }
+ }
+ m[p++] = g
+ }
+ return m
+ }, Fn.prototype.at = fo, Fn.prototype.chain = function() {
+ return ho(this)
+ }, Fn.prototype.commit = function() {
+ return new Un(this.value(), this.__chain__)
+ }, Fn.prototype.next = function() {
+ this.__values__ === r && (this.__values__ = hs(this.value()));
+ var e = this.__index__ >= this.__values__.length;
+ return {
+ done: e,
+ value: e ? r : this.__values__[this.__index__++]
+ }
+ }, Fn.prototype.plant = function(e) {
+ for (var t, n = this; n instanceof Bn;) {
+ var a = Fi(n);
+ a.__index__ = 0, a.__values__ = r, t ? i.__wrapped__ = a : t = a;
+ var i = a;
+ n = n.__wrapped__
+ }
+ return i.__wrapped__ = e, t
+ }, Fn.prototype.reverse = function() {
+ var e = this.__wrapped__;
+ if (e instanceof Hn) {
+ var t = e;
+ return this.__actions__.length && (t = new Hn(this)), (t = t.reverse()).__actions__.push({
+ func: mo,
+ args: [eo],
+ thisArg: r
+ }), new Un(t, this.__chain__)
+ }
+ return this.thru(eo)
+ }, Fn.prototype.toJSON = Fn.prototype.valueOf = Fn.prototype.value = function() {
+ return pr(this.__wrapped__, this.__actions__)
+ }, Fn.prototype.first = Fn.prototype.head, ot && (Fn.prototype[ot] = function() {
+ return this
+ }), Fn
+ }();
+ it._ = cn, (a = function() {
+ return cn
+ }.call(t, n, t, e)) === r || (e.exports = a)
+ }.call(this)
+}, 9244: (e, t, n) => {
+ var a = n(4366);
+ e.exports = function() {
+ return a.Date.now()
+ }
+}, 4167: (e, t, n) => {
+ var a = n(3645),
+ r = n(1716);
+ e.exports = function(e, t, n) {
+ var i = !0,
+ o = !0;
+ if ("function" != typeof e) throw new TypeError("Expected a function");
+ return r(n) && (i = "leading" in n ? !!n.leading : i, o = "trailing" in n ? !!n.trailing : o), a(e, t, {
+ leading: i,
+ maxWait: t,
+ trailing: o
+ })
+ }
+}, 1666: (e, t, n) => {
+ var a = n(4182),
+ r = n(1716),
+ i = n(2570),
+ o = /^[-+]0x[0-9a-f]+$/i,
+ s = /^0b[01]+$/i,
+ l = /^0o[0-7]+$/i,
+ c = parseInt;
+ e.exports = function(e) {
+ if ("number" == typeof e) return e;
+ if (i(e)) return NaN;
+ if (r(e)) {
+ var t = "function" == typeof e.valueOf ? e.valueOf() : e;
+ e = r(t) ? t + "" : t
+ }
+ if ("string" != typeof e) return 0 === e ? e : +e;
+ e = a(e);
+ var n = s.test(e);
+ return n || l.test(e) ? c(e.slice(2), n ? 2 : 8) : o.test(e) ? NaN : +e
+ }
+}, 5135: function(e, t, n) {
+ var a, r, i, o, s;
+ o = this, s = function(e) {
+ var t = !1,
+ n = !1,
+ a = "escape years months weeks days hours minutes seconds milliseconds general".split(" "),
+ r = [{
+ type: "seconds",
+ targets: [{
+ type: "minutes",
+ value: 60
+ }, {
+ type: "hours",
+ value: 3600
+ }, {
+ type: "days",
+ value: 86400
+ }, {
+ type: "weeks",
+ value: 604800
+ }, {
+ type: "months",
+ value: 2678400
}, {
- since: "1989-01-08",
- until: "2019-04-30",
- offset: 1,
- name: "平成",
- narrow: "㍻",
- abbr: "H"
+ type: "years",
+ value: 31536e3
+ }]
+ }, {
+ type: "minutes",
+ targets: [{
+ type: "hours",
+ value: 60
+ }, {
+ type: "days",
+ value: 1440
+ }, {
+ type: "weeks",
+ value: 10080
+ }, {
+ type: "months",
+ value: 44640
}, {
- since: "1926-12-25",
- until: "1989-01-07",
- offset: 1,
- name: "昭和",
- narrow: "㍼",
- abbr: "S"
+ type: "years",
+ value: 525600
+ }]
+ }, {
+ type: "hours",
+ targets: [{
+ type: "days",
+ value: 24
+ }, {
+ type: "weeks",
+ value: 168
}, {
- since: "1912-07-30",
- until: "1926-12-24",
- offset: 1,
- name: "大正",
- narrow: "㍽",
- abbr: "T"
+ type: "months",
+ value: 744
}, {
- since: "1873-01-01",
- until: "1912-07-29",
- offset: 6,
- name: "明治",
- narrow: "㍾",
- abbr: "M"
+ type: "years",
+ value: 8760
+ }]
+ }, {
+ type: "days",
+ targets: [{
+ type: "weeks",
+ value: 7
}, {
- since: "0001-01-01",
- until: "1873-12-31",
- offset: 1,
- name: "西暦",
- narrow: "AD",
- abbr: "AD"
+ type: "months",
+ value: 31
}, {
- since: "0000-12-31",
- until: -1 / 0,
- offset: 1,
- name: "紀元前",
- narrow: "BC",
- abbr: "BC"
- }],
- eraYearOrdinalRegex: /(元|\d+)年/,
- eraYearOrdinalParse: function(e, t) {
- return "元" === t[1] ? 1 : parseInt(t[1] || e, 10)
- },
- months: "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
- monthsShort: "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
- weekdays: "日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),
- weekdaysShort: "日_月_火_水_木_金_土".split("_"),
- weekdaysMin: "日_月_火_水_木_金_土".split("_"),
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "YYYY/MM/DD",
- LL: "YYYY年M月D日",
- LLL: "YYYY年M月D日 HH:mm",
- LLLL: "YYYY年M月D日 dddd HH:mm",
- l: "YYYY/MM/DD",
- ll: "YYYY年M月D日",
- lll: "YYYY年M月D日 HH:mm",
- llll: "YYYY年M月D日(ddd) HH:mm"
- },
- meridiemParse: /午前|午後/i,
- isPM: function(e) {
- return "午後" === e
- },
- meridiem: function(e, t, n) {
- return e < 12 ? "午前" : "午後"
- },
- calendar: {
- sameDay: "[今日] LT",
- nextDay: "[明日] LT",
- nextWeek: function(e) {
- return e.week() !== this.week() ? "[来週]dddd LT" : "dddd LT"
- },
- lastDay: "[昨日] LT",
- lastWeek: function(e) {
- return this.week() !== e.week() ? "[先週]dddd LT" : "dddd LT"
- },
- sameElse: "L"
- },
- dayOfMonthOrdinalParse: /\d{1,2}日/,
- ordinal: function(e, t) {
- switch (t) {
- case "y":
- return 1 === e ? "元年" : e + "年";
- case "d":
- case "D":
- case "DDD":
- return e + "日";
- default:
- return e
- }
- },
- relativeTime: {
- future: "%s後",
- past: "%s前",
- s: "数秒",
- ss: "%d秒",
- m: "1分",
- mm: "%d分",
- h: "1時間",
- hh: "%d時間",
- d: "1日",
- dd: "%d日",
- M: "1ヶ月",
- MM: "%dヶ月",
- y: "1年",
- yy: "%d年"
- }
- })
- }(n(2083))
- }, 794: function(e, t, n) {
- ! function(e) {
- "use strict";
- e.defineLocale("ko", {
- months: "1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),
- monthsShort: "1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),
- weekdays: "일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),
- weekdaysShort: "일_월_화_수_목_금_토".split("_"),
- weekdaysMin: "일_월_화_수_목_금_토".split("_"),
- longDateFormat: {
- LT: "A h:mm",
- LTS: "A h:mm:ss",
- L: "YYYY.MM.DD.",
- LL: "YYYY년 MMMM D일",
- LLL: "YYYY년 MMMM D일 A h:mm",
- LLLL: "YYYY년 MMMM D일 dddd A h:mm",
- l: "YYYY.MM.DD.",
- ll: "YYYY년 MMMM D일",
- lll: "YYYY년 MMMM D일 A h:mm",
- llll: "YYYY년 MMMM D일 dddd A h:mm"
- },
- calendar: {
- sameDay: "오늘 LT",
- nextDay: "내일 LT",
- nextWeek: "dddd LT",
- lastDay: "어제 LT",
- lastWeek: "지난주 dddd LT",
- sameElse: "L"
- },
- relativeTime: {
- future: "%s 후",
- past: "%s 전",
- s: "몇 초",
- ss: "%d초",
- m: "1분",
- mm: "%d분",
- h: "한 시간",
- hh: "%d시간",
- d: "하루",
- dd: "%d일",
- M: "한 달",
- MM: "%d달",
- y: "일 년",
- yy: "%d년"
- },
- dayOfMonthOrdinalParse: /\d{1,2}(일|월|주)/,
- ordinal: function(e, t) {
- switch (t) {
- case "d":
- case "D":
- case "DDD":
- return e + "일";
- case "M":
- return e + "월";
- case "w":
- case "W":
- return e + "주";
- default:
- return e
- }
- },
- meridiemParse: /오전|오후/,
- isPM: function(e) {
- return "오후" === e
- },
- meridiem: function(e, t, n) {
- return e < 12 ? "오전" : "오후"
- }
- })
- }(n(2083))
- }, 8004: function(e, t, n) {
- ! function(e) {
- "use strict";
- var t = {
- ss: "sekundė_sekundžių_sekundes",
- m: "minutė_minutės_minutę",
- mm: "minutės_minučių_minutes",
- h: "valanda_valandos_valandą",
- hh: "valandos_valandų_valandas",
- d: "diena_dienos_dieną",
- dd: "dienos_dienų_dienas",
- M: "mėnuo_mėnesio_mėnesį",
- MM: "mėnesiai_mėnesių_mėnesius",
- y: "metai_metų_metus",
- yy: "metai_metų_metus"
- };
+ type: "years",
+ value: 365
+ }]
+ }, {
+ type: "months",
+ targets: [{
+ type: "years",
+ value: 12
+ }]
+ }];
- function n(e, t, n, a) {
- return t ? r(n)[0] : a ? r(n)[1] : r(n)[2]
- }
+ function i(e, t) {
+ return !(t.length > e.length) && -1 !== e.indexOf(t)
+ }
- function a(e) {
- return e % 10 == 0 || e > 10 && e < 20
- }
+ function o(e) {
+ for (var t = ""; e;) t += "0", e -= 1;
+ return t
+ }
- function r(e) {
- return t[e].split("_")
- }
+ function s(e, t, a) {
+ var r, i, l, c = t.useToLocaleString,
+ u = t.useGrouping,
+ d = u && t.grouping.slice(),
+ p = t.maximumSignificantDigits,
+ h = t.minimumIntegerDigits || 1,
+ m = t.fractionDigits || 0,
+ f = t.groupingSeparator,
+ g = t.decimalSeparator;
+ if (c && a) {
+ var b = {
+ minimumIntegerDigits: h,
+ useGrouping: u
+ };
+ if (m && (b.maximumFractionDigits = m, b.minimumFractionDigits = m), p && e > 0 && (b.maximumSignificantDigits = p), !n) {
+ var y = S({}, t);
+ y.useGrouping = !1, y.decimalSeparator = ".", e = parseFloat(s(e, y), 10)
+ }
+ return e.toLocaleString(a, b)
+ }
+ var v = (p ? e.toPrecision(p + 1) : e.toFixed(m + 1)).split("e");
+ l = v[1] || "", i = (v = v[0].split("."))[1] || "";
+ var k = (r = v[0] || "").length,
+ _ = i.length,
+ w = k + _,
+ E = r + i;
+ (p && w === p + 1 || !p && _ === m + 1) && ((E = function(e) {
+ for (var t = e.split("").reverse(), n = 0, a = !0; a && n < t.length;) n ? "9" === t[n] ? t[n] = "0" : (t[n] = (parseInt(t[n], 10) + 1).toString(), a = !1) : (parseInt(t[n], 10) < 5 && (a = !1), t[n] = "0"), n += 1;
+ return a && t.push("1"), t.reverse().join("")
+ }(E)).length === w + 1 && (k += 1), _ && (E = E.slice(0, -1)), r = E.slice(0, k), i = E.slice(k)), p && (i = i.replace(/0*$/, ""));
+ var x = parseInt(l, 10);
+ x > 0 ? i.length <= x ? (r += i += o(x - i.length), i = "") : (r += i.slice(0, x), i = i.slice(x)) : x < 0 && (i = o(Math.abs(x) - r.length) + r + i, r = "0"), p || ((i = i.slice(0, m)).length < m && (i += o(m - i.length)), r.length < h && (r = o(h - r.length) + r));
+ var C, A = "";
+ if (u)
+ for (v = r; v.length;) d.length && (C = d.shift()), A && (A = f + A), A = v.slice(-C) + A, v = v.slice(0, -C);
+ else A = r;
+ return i && (A = A + g + i), A
+ }
- function i(e, t, i, o) {
- var s = e + " ";
- return 1 === e ? s + n(0, t, i[0], o) : t ? s + (a(e) ? r(i)[1] : r(i)[0]) : o ? s + r(i)[1] : s + (a(e) ? r(i)[1] : r(i)[2])
- }
- e.defineLocale("lt", {
- months: {
- format: "sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),
- standalone: "sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),
- isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/
- },
- monthsShort: "sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),
- weekdays: {
- format: "sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),
- standalone: "sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),
- isFormat: /dddd HH:mm/
- },
- weekdaysShort: "Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),
- weekdaysMin: "S_P_A_T_K_Pn_Š".split("_"),
- weekdaysParseExact: !0,
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "YYYY-MM-DD",
- LL: "YYYY [m.] MMMM D [d.]",
- LLL: "YYYY [m.] MMMM D [d.], HH:mm [val.]",
- LLLL: "YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",
- l: "YYYY-MM-DD",
- ll: "YYYY [m.] MMMM D [d.]",
- lll: "YYYY [m.] MMMM D [d.], HH:mm [val.]",
- llll: "YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"
- },
- calendar: {
- sameDay: "[Šiandien] LT",
- nextDay: "[Rytoj] LT",
- nextWeek: "dddd LT",
- lastDay: "[Vakar] LT",
- lastWeek: "[Praėjusį] dddd LT",
- sameElse: "L"
- },
- relativeTime: {
- future: "po %s",
- past: "prieš %s",
- s: function(e, t, n, a) {
- return t ? "kelios sekundės" : a ? "kelių sekundžių" : "kelias sekundes"
- },
- ss: i,
- m: n,
- mm: i,
- h: n,
- hh: i,
- d: n,
- dd: i,
- M: n,
- MM: i,
- y: n,
- yy: i
- },
- dayOfMonthOrdinalParse: /\d{1,2}-oji/,
- ordinal: function(e) {
- return e + "-oji"
- },
- week: {
- dow: 1,
- doy: 4
- }
- })
- }(n(2083))
- }, 9297: function(e, t, n) {
- ! function(e) {
- "use strict";
- var t = {
- ss: "sekundes_sekundēm_sekunde_sekundes".split("_"),
- m: "minūtes_minūtēm_minūte_minūtes".split("_"),
- mm: "minūtes_minūtēm_minūte_minūtes".split("_"),
- h: "stundas_stundām_stunda_stundas".split("_"),
- hh: "stundas_stundām_stunda_stundas".split("_"),
- d: "dienas_dienām_diena_dienas".split("_"),
- dd: "dienas_dienām_diena_dienas".split("_"),
- M: "mēneša_mēnešiem_mēnesis_mēneši".split("_"),
- MM: "mēneša_mēnešiem_mēnesis_mēneši".split("_"),
- y: "gada_gadiem_gads_gadi".split("_"),
- yy: "gada_gadiem_gads_gadi".split("_")
- };
+ function l(e, t) {
+ return e.label.length > t.label.length ? -1 : e.label.length < t.label.length ? 1 : 0
+ }
- function n(e, t, n) {
- return n ? t % 10 == 1 && t % 100 != 11 ? e[2] : e[3] : t % 10 == 1 && t % 100 != 11 ? e[0] : e[1]
+ function c(e, t) {
+ var n = [];
+ return f(E(t), (function(a) {
+ if ("_durationLabels" === a.slice(0, 15)) {
+ var r = a.slice(15).toLowerCase();
+ f(E(t[a]), (function(i) {
+ i.slice(0, 1) === e && n.push({
+ type: r,
+ key: i,
+ label: t[a][i]
+ })
+ }))
+ }
+ })), n
+ }
+ var u, d = {
+ durationLabelsStandard: {
+ S: "millisecond",
+ SS: "milliseconds",
+ s: "second",
+ ss: "seconds",
+ m: "minute",
+ mm: "minutes",
+ h: "hour",
+ hh: "hours",
+ d: "day",
+ dd: "days",
+ w: "week",
+ ww: "weeks",
+ M: "month",
+ MM: "months",
+ y: "year",
+ yy: "years"
+ },
+ durationLabelsShort: {
+ S: "msec",
+ SS: "msecs",
+ s: "sec",
+ ss: "secs",
+ m: "min",
+ mm: "mins",
+ h: "hr",
+ hh: "hrs",
+ d: "dy",
+ dd: "dys",
+ w: "wk",
+ ww: "wks",
+ M: "mo",
+ MM: "mos",
+ y: "yr",
+ yy: "yrs"
+ },
+ durationTimeTemplates: {
+ HMS: "h:mm:ss",
+ HM: "h:mm",
+ MS: "m:ss"
+ },
+ durationLabelTypes: [{
+ type: "standard",
+ string: "__"
+ }, {
+ type: "short",
+ string: "_"
+ }],
+ durationPluralKey: function(e, t, n) {
+ return 1 === t && null === n ? e : e + e
}
+ };
- function a(e, a, r) {
- return e + " " + n(t[r], e, a)
- }
+ function p(e) {
+ return "[object Array]" === Object.prototype.toString.call(e)
+ }
- function r(e, a, r) {
- return n(t[r], e, a)
- }
- e.defineLocale("lv", {
- months: "janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),
- monthsShort: "jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),
- weekdays: "svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),
- weekdaysShort: "Sv_P_O_T_C_Pk_S".split("_"),
- weekdaysMin: "Sv_P_O_T_C_Pk_S".split("_"),
- weekdaysParseExact: !0,
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "DD.MM.YYYY.",
- LL: "YYYY. [gada] D. MMMM",
- LLL: "YYYY. [gada] D. MMMM, HH:mm",
- LLLL: "YYYY. [gada] D. MMMM, dddd, HH:mm"
- },
- calendar: {
- sameDay: "[Šodien pulksten] LT",
- nextDay: "[Rīt pulksten] LT",
- nextWeek: "dddd [pulksten] LT",
- lastDay: "[Vakar pulksten] LT",
- lastWeek: "[Pagājušā] dddd [pulksten] LT",
- sameElse: "L"
- },
- relativeTime: {
- future: "pēc %s",
- past: "pirms %s",
- s: function(e, t) {
- return t ? "dažas sekundes" : "dažām sekundēm"
- },
- ss: a,
- m: r,
- mm: a,
- h: r,
- hh: a,
- d: r,
- dd: a,
- M: r,
- MM: a,
- y: r,
- yy: a
- },
- dayOfMonthOrdinalParse: /\d{1,2}\./,
- ordinal: "%d.",
- week: {
- dow: 1,
- doy: 4
- }
- })
- }(n(2083))
- }, 3998: function(e, t, n) {
- ! function(e) {
- "use strict";
- e.defineLocale("ml", {
- months: "ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),
- monthsShort: "ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),
- monthsParseExact: !0,
- weekdays: "ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),
- weekdaysShort: "ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),
- weekdaysMin: "ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),
- longDateFormat: {
- LT: "A h:mm -നു",
- LTS: "A h:mm:ss -നു",
- L: "DD/MM/YYYY",
- LL: "D MMMM YYYY",
- LLL: "D MMMM YYYY, A h:mm -നു",
- LLLL: "dddd, D MMMM YYYY, A h:mm -നു"
- },
- calendar: {
- sameDay: "[ഇന്ന്] LT",
- nextDay: "[നാളെ] LT",
- nextWeek: "dddd, LT",
- lastDay: "[ഇന്നലെ] LT",
- lastWeek: "[കഴിഞ്ഞ] dddd, LT",
- sameElse: "L"
- },
- relativeTime: {
- future: "%s കഴിഞ്ഞ്",
- past: "%s മുൻപ്",
- s: "അൽപ നിമിഷങ്ങൾ",
- ss: "%d സെക്കൻഡ്",
- m: "ഒരു മിനിറ്റ്",
- mm: "%d മിനിറ്റ്",
- h: "ഒരു മണിക്കൂർ",
- hh: "%d മണിക്കൂർ",
- d: "ഒരു ദിവസം",
- dd: "%d ദിവസം",
- M: "ഒരു മാസം",
- MM: "%d മാസം",
- y: "ഒരു വർഷം",
- yy: "%d വർഷം"
- },
- meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,
- meridiemHour: function(e, t) {
- return 12 === e && (e = 0), "രാത്രി" === t && e >= 4 || "ഉച്ച കഴിഞ്ഞ്" === t || "വൈകുന്നേരം" === t ? e + 12 : e
- },
- meridiem: function(e, t, n) {
- return e < 4 ? "രാത്രി" : e < 12 ? "രാവിലെ" : e < 17 ? "ഉച്ച കഴിഞ്ഞ്" : e < 20 ? "വൈകുന്നേരം" : "രാത്രി"
- }
- })
- }(n(2083))
- }, 4989: function(e, t, n) {
- ! function(e) {
- "use strict";
+ function h(e) {
+ return "[object Object]" === Object.prototype.toString.call(e)
+ }
- function t(e, t, n, a) {
- switch (n) {
- case "s":
- return t ? "хэдхэн секунд" : "хэдхэн секундын";
- case "ss":
- return e + (t ? " секунд" : " секундын");
- case "m":
- case "mm":
- return e + (t ? " минут" : " минутын");
- case "h":
- case "hh":
- return e + (t ? " цаг" : " цагийн");
- case "d":
- case "dd":
- return e + (t ? " өдөр" : " өдрийн");
- case "M":
- case "MM":
- return e + (t ? " сар" : " сарын");
- case "y":
- case "yy":
- return e + (t ? " жил" : " жилийн");
- default:
- return e
- }
+ function m(e, t) {
+ var n, a = 0,
+ r = e && e.length || 0;
+ for ("function" != typeof t && (n = t, t = function(e) {
+ return e === n
+ }); a < r;) {
+ if (t(e[a])) return e[a];
+ a += 1
}
- e.defineLocale("mn", {
- months: "Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),
- monthsShort: "1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),
- monthsParseExact: !0,
- weekdays: "Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),
- weekdaysShort: "Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),
- weekdaysMin: "Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),
- weekdaysParseExact: !0,
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "YYYY-MM-DD",
- LL: "YYYY оны MMMMын D",
- LLL: "YYYY оны MMMMын D HH:mm",
- LLLL: "dddd, YYYY оны MMMMын D HH:mm"
- },
- meridiemParse: /ҮӨ|ҮХ/i,
- isPM: function(e) {
- return "ҮХ" === e
- },
- meridiem: function(e, t, n) {
- return e < 12 ? "ҮӨ" : "ҮХ"
- },
- calendar: {
- sameDay: "[Өнөөдөр] LT",
- nextDay: "[Маргааш] LT",
- nextWeek: "[Ирэх] dddd LT",
- lastDay: "[Өчигдөр] LT",
- lastWeek: "[Өнгөрсөн] dddd LT",
- sameElse: "L"
- },
- relativeTime: {
- future: "%s дараа",
- past: "%s өмнө",
- s: t,
- ss: t,
- m: t,
- mm: t,
- h: t,
- hh: t,
- d: t,
- dd: t,
- M: t,
- MM: t,
- y: t,
- yy: t
- },
- dayOfMonthOrdinalParse: /\d{1,2} өдөр/,
- ordinal: function(e, t) {
- switch (t) {
- case "d":
- case "D":
- case "DDD":
- return e + " өдөр";
- default:
- return e
- }
- }
- })
- }(n(2083))
- }, 7590: function(e, t, n) {
- ! function(e) {
- "use strict";
- var t = {
- 1: "१",
- 2: "२",
- 3: "३",
- 4: "४",
- 5: "५",
- 6: "६",
- 7: "७",
- 8: "८",
- 9: "९",
- 0: "०"
- },
- n = {
- "१": "1",
- "२": "2",
- "३": "3",
- "४": "4",
- "५": "5",
- "६": "6",
- "७": "7",
- "८": "8",
- "९": "9",
- "०": "0"
- };
+ }
- function a(e, t, n, a) {
- var r = "";
- if (t) switch (n) {
- case "s":
- r = "काही सेकंद";
- break;
- case "ss":
- r = "%d सेकंद";
- break;
- case "m":
- r = "एक मिनिट";
- break;
- case "mm":
- r = "%d मिनिटे";
- break;
- case "h":
- r = "एक तास";
- break;
- case "hh":
- r = "%d तास";
- break;
- case "d":
- r = "एक दिवस";
- break;
- case "dd":
- r = "%d दिवस";
- break;
- case "M":
- r = "एक महिना";
- break;
- case "MM":
- r = "%d महिने";
- break;
- case "y":
- r = "एक वर्ष";
- break;
- case "yy":
- r = "%d वर्षे"
- } else switch (n) {
- case "s":
- r = "काही सेकंदां";
- break;
- case "ss":
- r = "%d सेकंदां";
- break;
- case "m":
- r = "एका मिनिटा";
- break;
- case "mm":
- r = "%d मिनिटां";
- break;
- case "h":
- r = "एका तासा";
- break;
- case "hh":
- r = "%d तासां";
- break;
- case "d":
- r = "एका दिवसा";
- break;
- case "dd":
- r = "%d दिवसां";
- break;
- case "M":
- r = "एका महिन्या";
- break;
- case "MM":
- r = "%d महिन्यां";
- break;
- case "y":
- r = "एका वर्षा";
- break;
- case "yy":
- r = "%d वर्षां"
- }
- return r.replace(/%d/i, e)
- }
- e.defineLocale("mr", {
- months: "जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),
- monthsShort: "जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),
- monthsParseExact: !0,
- weekdays: "रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),
- weekdaysShort: "रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),
- weekdaysMin: "र_सो_मं_बु_गु_शु_श".split("_"),
- longDateFormat: {
- LT: "A h:mm वाजता",
- LTS: "A h:mm:ss वाजता",
- L: "DD/MM/YYYY",
- LL: "D MMMM YYYY",
- LLL: "D MMMM YYYY, A h:mm वाजता",
- LLLL: "dddd, D MMMM YYYY, A h:mm वाजता"
- },
- calendar: {
- sameDay: "[आज] LT",
- nextDay: "[उद्या] LT",
- nextWeek: "dddd, LT",
- lastDay: "[काल] LT",
- lastWeek: "[मागील] dddd, LT",
- sameElse: "L"
- },
- relativeTime: {
- future: "%sमध्ये",
- past: "%sपूर्वी",
- s: a,
- ss: a,
- m: a,
- mm: a,
- h: a,
- hh: a,
- d: a,
- dd: a,
- M: a,
- MM: a,
- y: a,
- yy: a
- },
- preparse: function(e) {
- return e.replace(/[१२३४५६७८९०]/g, (function(e) {
- return n[e]
- }))
- },
- postformat: function(e) {
- return e.replace(/\d/g, (function(e) {
- return t[e]
- }))
- },
- meridiemParse: /पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,
- meridiemHour: function(e, t) {
- return 12 === e && (e = 0), "पहाटे" === t || "सकाळी" === t ? e : "दुपारी" === t || "सायंकाळी" === t || "रात्री" === t ? e >= 12 ? e : e + 12 : void 0
- },
- meridiem: function(e, t, n) {
- return e >= 0 && e < 6 ? "पहाटे" : e < 12 ? "सकाळी" : e < 17 ? "दुपारी" : e < 20 ? "सायंकाळी" : "रात्री"
- },
- week: {
- dow: 0,
- doy: 6
- }
- })
- }(n(2083))
- }, 3895: function(e, t, n) {
- ! function(e) {
- "use strict";
- e.defineLocale("nb", {
- months: "januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),
- monthsShort: "jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),
- monthsParseExact: !0,
- weekdays: "søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),
- weekdaysShort: "sø._ma._ti._on._to._fr._lø.".split("_"),
- weekdaysMin: "sø_ma_ti_on_to_fr_lø".split("_"),
- weekdaysParseExact: !0,
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "DD.MM.YYYY",
- LL: "D. MMMM YYYY",
- LLL: "D. MMMM YYYY [kl.] HH:mm",
- LLLL: "dddd D. MMMM YYYY [kl.] HH:mm"
- },
- calendar: {
- sameDay: "[i dag kl.] LT",
- nextDay: "[i morgen kl.] LT",
- nextWeek: "dddd [kl.] LT",
- lastDay: "[i går kl.] LT",
- lastWeek: "[forrige] dddd [kl.] LT",
- sameElse: "L"
- },
- relativeTime: {
- future: "om %s",
- past: "%s siden",
- s: "noen sekunder",
- ss: "%d sekunder",
- m: "ett minutt",
- mm: "%d minutter",
- h: "en time",
- hh: "%d timer",
- d: "en dag",
- dd: "%d dager",
- w: "en uke",
- ww: "%d uker",
- M: "en måned",
- MM: "%d måneder",
- y: "ett år",
- yy: "%d år"
- },
- dayOfMonthOrdinalParse: /\d{1,2}\./,
- ordinal: "%d.",
- week: {
- dow: 1,
- doy: 4
- }
- })
- }(n(2083))
- }, 2009: function(e, t, n) {
- ! function(e) {
- "use strict";
- var t = "jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),
- n = "jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),
- a = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i],
- r = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
- e.defineLocale("nl", {
- months: "januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),
- monthsShort: function(e, a) {
- return e ? /-MMM-/.test(a) ? n[e.month()] : t[e.month()] : t
- },
- monthsRegex: r,
- monthsShortRegex: r,
- monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
- monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
- monthsParse: a,
- longMonthsParse: a,
- shortMonthsParse: a,
- weekdays: "zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),
- weekdaysShort: "zo._ma._di._wo._do._vr._za.".split("_"),
- weekdaysMin: "zo_ma_di_wo_do_vr_za".split("_"),
- weekdaysParseExact: !0,
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "DD-MM-YYYY",
- LL: "D MMMM YYYY",
- LLL: "D MMMM YYYY HH:mm",
- LLLL: "dddd D MMMM YYYY HH:mm"
- },
- calendar: {
- sameDay: "[vandaag om] LT",
- nextDay: "[morgen om] LT",
- nextWeek: "dddd [om] LT",
- lastDay: "[gisteren om] LT",
- lastWeek: "[afgelopen] dddd [om] LT",
- sameElse: "L"
- },
- relativeTime: {
- future: "over %s",
- past: "%s geleden",
- s: "een paar seconden",
- ss: "%d seconden",
- m: "één minuut",
- mm: "%d minuten",
- h: "één uur",
- hh: "%d uur",
- d: "één dag",
- dd: "%d dagen",
- w: "één week",
- ww: "%d weken",
- M: "één maand",
- MM: "%d maanden",
- y: "één jaar",
- yy: "%d jaar"
- },
- dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
- ordinal: function(e) {
- return e + (1 === e || 8 === e || e >= 20 ? "ste" : "de")
- },
- week: {
- dow: 1,
- doy: 4
- }
- })
- }(n(2083))
- }, 3800: function(e, t, n) {
- ! function(e) {
- "use strict";
- e.defineLocale("oc-lnc", {
- months: {
- standalone: "genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),
- format: "de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),
- isFormat: /D[oD]?(\s)+MMMM/
- },
- monthsShort: "gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),
- monthsParseExact: !0,
- weekdays: "dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),
- weekdaysShort: "dg._dl._dm._dc._dj._dv._ds.".split("_"),
- weekdaysMin: "dg_dl_dm_dc_dj_dv_ds".split("_"),
- weekdaysParseExact: !0,
- longDateFormat: {
- LT: "H:mm",
- LTS: "H:mm:ss",
- L: "DD/MM/YYYY",
- LL: "D MMMM [de] YYYY",
- ll: "D MMM YYYY",
- LLL: "D MMMM [de] YYYY [a] H:mm",
- lll: "D MMM YYYY, H:mm",
- LLLL: "dddd D MMMM [de] YYYY [a] H:mm",
- llll: "ddd D MMM YYYY, H:mm"
- },
- calendar: {
- sameDay: "[uèi a] LT",
- nextDay: "[deman a] LT",
- nextWeek: "dddd [a] LT",
- lastDay: "[ièr a] LT",
- lastWeek: "dddd [passat a] LT",
- sameElse: "L"
- },
- relativeTime: {
- future: "d'aquí %s",
- past: "fa %s",
- s: "unas segondas",
- ss: "%d segondas",
- m: "una minuta",
- mm: "%d minutas",
- h: "una ora",
- hh: "%d oras",
- d: "un jorn",
- dd: "%d jorns",
- M: "un mes",
- MM: "%d meses",
- y: "un an",
- yy: "%d ans"
- },
- dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,
- ordinal: function(e, t) {
- var n = 1 === e ? "r" : 2 === e ? "n" : 3 === e ? "r" : 4 === e ? "t" : "è";
- return "w" !== t && "W" !== t || (n = "a"), e + n
- },
- week: {
- dow: 1,
- doy: 4
+ function f(e, t) {
+ var n = 0,
+ a = e.length;
+ if (e && a)
+ for (; n < a;) {
+ if (!1 === t(e[n], n)) return;
+ n += 1
}
- })
- }(n(2083))
- }, 5737: function(e, t, n) {
- ! function(e) {
- "use strict";
- var t = "styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),
- n = "stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),
- a = [/^sty/i, /^lut/i, /^mar/i, /^kwi/i, /^maj/i, /^cze/i, /^lip/i, /^sie/i, /^wrz/i, /^paź/i, /^lis/i, /^gru/i];
+ }
+
+ function g(e, t) {
+ var n = 0,
+ a = e.length,
+ r = [];
+ if (!e || !a) return r;
+ for (; n < a;) r[n] = t(e[n], n), n += 1;
+ return r
+ }
+
+ function b(e, t) {
+ return g(e, (function(e) {
+ return e[t]
+ }))
+ }
+
+ function y(e) {
+ var t = [];
+ return f(e, (function(e) {
+ e && t.push(e)
+ })), t
+ }
+
+ function v(e) {
+ var t = [];
+ return f(e, (function(e) {
+ m(t, e) || t.push(e)
+ })), t
+ }
+
+ function k(e, t) {
+ var n = [];
+ return f(e, (function(e) {
+ f(t, (function(t) {
+ e === t && n.push(e)
+ }))
+ })), v(n)
+ }
+
+ function _(e, t) {
+ var n = [];
+ return f(e, (function(a, r) {
+ if (!t(a)) return n = e.slice(r), !1
+ })), n
+ }
+
+ function w(e, t) {
+ return _(e.slice().reverse(), t).reverse()
+ }
+
+ function S(e, t) {
+ for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n]);
+ return e
+ }
+
+ function E(e) {
+ var t = [];
+ for (var n in e) e.hasOwnProperty(n) && t.push(n);
+ return t
+ }
- function r(e) {
- return e % 10 < 5 && e % 10 > 1 && ~~(e / 10) % 10 != 1
+ function x(e, t) {
+ var n = 0,
+ a = e.length;
+ if (!e || !a) return !1;
+ for (; n < a;) {
+ if (!0 === t(e[n], n)) return !0;
+ n += 1
}
+ return !1
+ }
- function i(e, t, n) {
- var a = e + " ";
- switch (n) {
- case "ss":
- return a + (r(e) ? "sekundy" : "sekund");
- case "m":
- return t ? "minuta" : "minutę";
- case "mm":
- return a + (r(e) ? "minuty" : "minut");
- case "h":
- return t ? "godzina" : "godzinę";
- case "hh":
- return a + (r(e) ? "godziny" : "godzin");
- case "ww":
- return a + (r(e) ? "tygodnie" : "tygodni");
- case "MM":
- return a + (r(e) ? "miesiące" : "miesięcy");
- case "yy":
- return a + (r(e) ? "lata" : "lat")
- }
- }
- e.defineLocale("pl", {
- months: function(e, a) {
- return e ? /D MMMM/.test(a) ? n[e.month()] : t[e.month()] : t
- },
- monthsShort: "sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),
- monthsParse: a,
- longMonthsParse: a,
- shortMonthsParse: a,
- weekdays: "niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),
- weekdaysShort: "ndz_pon_wt_śr_czw_pt_sob".split("_"),
- weekdaysMin: "Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "DD.MM.YYYY",
- LL: "D MMMM YYYY",
- LLL: "D MMMM YYYY HH:mm",
- LLLL: "dddd, D MMMM YYYY HH:mm"
- },
- calendar: {
- sameDay: "[Dziś o] LT",
- nextDay: "[Jutro o] LT",
- nextWeek: function() {
- switch (this.day()) {
- case 0:
- return "[W niedzielę o] LT";
- case 2:
- return "[We wtorek o] LT";
- case 3:
- return "[W środę o] LT";
- case 6:
- return "[W sobotę o] LT";
- default:
- return "[W] dddd [o] LT"
- }
- },
- lastDay: "[Wczoraj o] LT",
- lastWeek: function() {
- switch (this.day()) {
- case 0:
- return "[W zeszłą niedzielę o] LT";
- case 3:
- return "[W zeszłą środę o] LT";
- case 6:
- return "[W zeszłą sobotę o] LT";
- default:
- return "[W zeszły] dddd [o] LT"
- }
- },
- sameElse: "L"
- },
- relativeTime: {
- future: "za %s",
- past: "%s temu",
- s: "kilka sekund",
- ss: i,
- m: i,
- mm: i,
- h: i,
- hh: i,
- d: "1 dzień",
- dd: "%d dni",
- w: "tydzień",
- ww: i,
- M: "miesiąc",
- MM: i,
- y: "rok",
- yy: i
- },
- dayOfMonthOrdinalParse: /\d{1,2}\./,
- ordinal: "%d.",
- week: {
- dow: 1,
- doy: 4
- }
- })
- }(n(2083))
- }, 665: function(e, t, n) {
- ! function(e) {
- "use strict";
- e.defineLocale("pt-br", {
- months: "janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),
- monthsShort: "jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),
- weekdays: "domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),
- weekdaysShort: "dom_seg_ter_qua_qui_sex_sáb".split("_"),
- weekdaysMin: "do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),
- weekdaysParseExact: !0,
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "DD/MM/YYYY",
- LL: "D [de] MMMM [de] YYYY",
- LLL: "D [de] MMMM [de] YYYY [às] HH:mm",
- LLLL: "dddd, D [de] MMMM [de] YYYY [às] HH:mm"
- },
- calendar: {
- sameDay: "[Hoje às] LT",
- nextDay: "[Amanhã às] LT",
- nextWeek: "dddd [às] LT",
- lastDay: "[Ontem às] LT",
- lastWeek: function() {
- return 0 === this.day() || 6 === this.day() ? "[Último] dddd [às] LT" : "[Última] dddd [às] LT"
- },
- sameElse: "L"
- },
- relativeTime: {
- future: "em %s",
- past: "há %s",
- s: "poucos segundos",
- ss: "%d segundos",
- m: "um minuto",
- mm: "%d minutos",
- h: "uma hora",
- hh: "%d horas",
- d: "um dia",
- dd: "%d dias",
- M: "um mês",
- MM: "%d meses",
- y: "um ano",
- yy: "%d anos"
- },
- dayOfMonthOrdinalParse: /\d{1,2}º/,
- ordinal: "%dº",
- invalidDate: "Data inválida"
- })
- }(n(2083))
- }, 7170: function(e, t, n) {
- ! function(e) {
- "use strict";
- e.defineLocale("pt", {
- months: "janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),
- monthsShort: "jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),
- weekdays: "Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),
- weekdaysShort: "Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),
- weekdaysMin: "Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),
- weekdaysParseExact: !0,
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "DD/MM/YYYY",
- LL: "D [de] MMMM [de] YYYY",
- LLL: "D [de] MMMM [de] YYYY HH:mm",
- LLLL: "dddd, D [de] MMMM [de] YYYY HH:mm"
- },
- calendar: {
- sameDay: "[Hoje às] LT",
- nextDay: "[Amanhã às] LT",
- nextWeek: "dddd [às] LT",
- lastDay: "[Ontem às] LT",
- lastWeek: function() {
- return 0 === this.day() || 6 === this.day() ? "[Último] dddd [às] LT" : "[Última] dddd [às] LT"
- },
- sameElse: "L"
- },
- relativeTime: {
- future: "em %s",
- past: "há %s",
- s: "segundos",
- ss: "%d segundos",
- m: "um minuto",
- mm: "%d minutos",
- h: "uma hora",
- hh: "%d horas",
- d: "um dia",
- dd: "%d dias",
- w: "uma semana",
- ww: "%d semanas",
- M: "um mês",
- MM: "%d meses",
- y: "um ano",
- yy: "%d anos"
- },
- dayOfMonthOrdinalParse: /\d{1,2}º/,
- ordinal: "%dº",
- week: {
- dow: 1,
- doy: 4
- }
- })
- }(n(2083))
- }, 4374: function(e, t, n) {
- ! function(e) {
- "use strict";
+ function C(e) {
+ var t = [];
+ return f(e, (function(e) {
+ t = t.concat(e)
+ })), t
+ }
- function t(e, t, n) {
- var a = " ";
- return (e % 100 >= 20 || e >= 100 && e % 100 == 0) && (a = " de "), e + a + {
- ss: "secunde",
- mm: "minute",
- hh: "ore",
- dd: "zile",
- ww: "săptămâni",
- MM: "luni",
- yy: "ani"
- } [n]
- }
- e.defineLocale("ro", {
- months: "ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),
- monthsShort: "ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),
- monthsParseExact: !0,
- weekdays: "duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),
- weekdaysShort: "Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),
- weekdaysMin: "Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),
- longDateFormat: {
- LT: "H:mm",
- LTS: "H:mm:ss",
- L: "DD.MM.YYYY",
- LL: "D MMMM YYYY",
- LLL: "D MMMM YYYY H:mm",
- LLLL: "dddd, D MMMM YYYY H:mm"
- },
- calendar: {
- sameDay: "[azi la] LT",
- nextDay: "[mâine la] LT",
- nextWeek: "dddd [la] LT",
- lastDay: "[ieri la] LT",
- lastWeek: "[fosta] dddd [la] LT",
- sameElse: "L"
- },
- relativeTime: {
- future: "peste %s",
- past: "%s în urmă",
- s: "câteva secunde",
- ss: t,
- m: "un minut",
- mm: t,
- h: "o oră",
- hh: t,
- d: "o zi",
- dd: t,
- w: "o săptămână",
- ww: t,
- M: "o lună",
- MM: t,
- y: "un an",
- yy: t
- },
- week: {
- dow: 1,
- doy: 7
- }
- })
- }(n(2083))
- }, 8669: function(e, t, n) {
- ! function(e) {
- "use strict";
+ function A() {
+ var e, t = [].slice.call(arguments),
+ n = {};
+ if (f(t, (function(t, a) {
+ if (!a) {
+ if (!p(t)) throw "Expected array as the first argument to durationsFormat.";
+ e = t
+ }
+ "string" != typeof t && "function" != typeof t ? "number" != typeof t ? h(t) && S(n, t) : n.precision = t : n.template = t
+ })), !e || !e.length) return [];
+ n.returnMomentTypes = !0;
+ var r = g(e, (function(e) {
+ return e.format(n)
+ })),
+ i = k(a, v(b(C(r), "type"))),
+ o = n.largest;
+ return o && (i = i.slice(0, o)), n.returnMomentTypes = !1, n.outputTypes = i, g(e, (function(e) {
+ return e.format(n)
+ }))
+ }
- function t(e, t, n) {
- return "m" === n ? t ? "минута" : "минуту" : e + " " + (a = +e, r = {
- ss: t ? "секунда_секунды_секунд" : "секунду_секунды_секунд",
- mm: t ? "минута_минуты_минут" : "минуту_минуты_минут",
- hh: "час_часа_часов",
- dd: "день_дня_дней",
- ww: "неделя_недели_недель",
- MM: "месяц_месяца_месяцев",
- yy: "год_года_лет"
- } [n].split("_"), a % 10 == 1 && a % 100 != 11 ? r[0] : a % 10 >= 2 && a % 10 <= 4 && (a % 100 < 10 || a % 100 >= 20) ? r[1] : r[2]);
- var a, r
- }
- var n = [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i];
- e.defineLocale("ru", {
- months: {
- format: "января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),
- standalone: "январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")
- },
- monthsShort: {
- format: "янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),
- standalone: "янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")
- },
- weekdays: {
- standalone: "воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),
- format: "воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),
- isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/
- },
- weekdaysShort: "вс_пн_вт_ср_чт_пт_сб".split("_"),
- weekdaysMin: "вс_пн_вт_ср_чт_пт_сб".split("_"),
- monthsParse: n,
- longMonthsParse: n,
- shortMonthsParse: n,
- monthsRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,
- monthsShortRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,
- monthsStrictRegex: /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,
- monthsShortStrictRegex: /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,
- longDateFormat: {
- LT: "H:mm",
- LTS: "H:mm:ss",
- L: "DD.MM.YYYY",
- LL: "D MMMM YYYY г.",
- LLL: "D MMMM YYYY г., H:mm",
- LLLL: "dddd, D MMMM YYYY г., H:mm"
- },
- calendar: {
- sameDay: "[Сегодня, в] LT",
- nextDay: "[Завтра, в] LT",
- lastDay: "[Вчера, в] LT",
- nextWeek: function(e) {
- if (e.week() === this.week()) return 2 === this.day() ? "[Во] dddd, [в] LT" : "[В] dddd, [в] LT";
- switch (this.day()) {
- case 0:
- return "[В следующее] dddd, [в] LT";
- case 1:
- case 2:
- case 4:
- return "[В следующий] dddd, [в] LT";
- case 3:
- case 5:
- case 6:
- return "[В следующую] dddd, [в] LT"
- }
- },
- lastWeek: function(e) {
- if (e.week() === this.week()) return 2 === this.day() ? "[Во] dddd, [в] LT" : "[В] dddd, [в] LT";
- switch (this.day()) {
- case 0:
- return "[В прошлое] dddd, [в] LT";
- case 1:
- case 2:
- case 4:
- return "[В прошлый] dddd, [в] LT";
- case 3:
- case 5:
- case 6:
- return "[В прошлую] dddd, [в] LT"
- }
- },
- sameElse: "L"
- },
- relativeTime: {
- future: "через %s",
- past: "%s назад",
- s: "несколько секунд",
- ss: t,
- m: t,
- mm: t,
- h: "час",
- hh: t,
- d: "день",
- dd: t,
- w: "неделя",
- ww: t,
- M: "месяц",
- MM: t,
- y: "год",
- yy: t
- },
- meridiemParse: /ночи|утра|дня|вечера/i,
- isPM: function(e) {
- return /^(дня|вечера)$/.test(e)
- },
- meridiem: function(e, t, n) {
- return e < 4 ? "ночи" : e < 12 ? "утра" : e < 17 ? "дня" : "вечера"
+ function T() {
+ var n = [].slice.call(arguments),
+ o = S({}, this.format.defaults),
+ u = this.asMilliseconds(),
+ C = this.asMonths();
+ "function" == typeof this.isValid && !1 === this.isValid() && (u = 0, C = 0);
+ var A = u < 0,
+ T = e.duration(Math.abs(u), "milliseconds"),
+ D = e.duration(Math.abs(C), "months");
+ f(n, (function(e) {
+ "string" != typeof e && "function" != typeof e ? "number" != typeof e ? h(e) && S(o, e) : o.precision = e : o.template = e
+ }));
+ var P = {
+ years: "y",
+ months: "M",
+ weeks: "w",
+ days: "d",
+ hours: "h",
+ minutes: "m",
+ seconds: "s",
+ milliseconds: "S"
+ },
+ j = {
+ escape: /\[(.+?)\]/,
+ years: /\*?[Yy]+/,
+ months: /\*?M+/,
+ weeks: /\*?[Ww]+/,
+ days: /\*?[Dd]+/,
+ hours: /\*?[Hh]+/,
+ minutes: /\*?m+/,
+ seconds: /\*?s+/,
+ milliseconds: /\*?S+/,
+ general: /.+?/
+ };
+ o.types = a;
+ var M = function(e) {
+ return m(a, (function(t) {
+ return j[t].test(e)
+ }))
},
- dayOfMonthOrdinalParse: /\d{1,2}-(й|го|я)/,
- ordinal: function(e, t) {
- switch (t) {
- case "M":
- case "d":
- case "DDD":
- return e + "-й";
- case "D":
- return e + "-го";
- case "w":
- case "W":
- return e + "-я";
- default:
- return e
+ I = new RegExp(g(a, (function(e) {
+ return j[e].source
+ })).join("|"), "g");
+ o.duration = this;
+ var O = "function" == typeof o.template ? o.template.apply(o) : o.template,
+ N = o.outputTypes,
+ R = o.returnMomentTypes,
+ z = o.largest,
+ L = [];
+ N || (p(o.stopTrim) && (o.stopTrim = o.stopTrim.join("")), o.stopTrim && f(o.stopTrim.match(I), (function(e) {
+ var t = M(e);
+ "escape" !== t && "general" !== t && L.push(t)
+ })));
+ var F = e.localeData();
+ F || (F = {}), f(E(d), (function(e) {
+ "function" != typeof d[e] ? F["_" + e] || (F["_" + e] = d[e]) : F[e] || (F[e] = d[e])
+ })), f(E(F._durationTimeTemplates), (function(e) {
+ O = O.replace("_" + e + "_", F._durationTimeTemplates[e])
+ }));
+ var q = o.userLocale || e.locale(),
+ B = o.useLeftUnits,
+ U = o.usePlural,
+ H = o.precision,
+ V = o.forceLength,
+ W = o.useGrouping,
+ Y = o.trunc,
+ G = o.useSignificantDigits && H > 0,
+ K = G ? o.precision : 0,
+ $ = K,
+ J = o.minValue,
+ Z = !1,
+ Q = o.maxValue,
+ X = !1,
+ ee = o.useToLocaleString,
+ te = o.groupingSeparator,
+ ne = o.decimalSeparator,
+ ae = o.grouping;
+ ee = ee && t;
+ var re = o.trim;
+ p(re) && (re = re.join(" ")), null === re && (z || Q || G) && (re = "all"), null !== re && !0 !== re && "left" !== re && "right" !== re || (re = "large"), !1 === re && (re = "");
+ var ie = function(e) {
+ return e.test(re)
+ },
+ oe = /large/,
+ se = /small/,
+ le = /both/,
+ ce = /mid/,
+ ue = /^all|[^sm]all/,
+ de = /final/,
+ pe = z > 0 || x([oe, le, ue], ie),
+ he = x([se, le, ue], ie),
+ me = x([ce, ue], ie),
+ fe = x([de, ue], ie),
+ ge = g(O.match(I), (function(e, t) {
+ var n = M(e);
+ return "*" === e.slice(0, 1) && (e = e.slice(1), "escape" !== n && "general" !== n && L.push(n)), {
+ index: t,
+ length: e.length,
+ text: "",
+ token: "escape" === n ? e.replace(j.escape, "$1") : e,
+ type: "escape" === n || "general" === n ? null : n
}
- },
- week: {
- dow: 1,
- doy: 4
+ })),
+ be = {
+ index: 0,
+ length: 0,
+ token: "",
+ text: "",
+ type: null
+ },
+ ye = [];
+ B && ge.reverse(), f(ge, (function(e) {
+ if (e.type) return (be.type || be.text) && ye.push(be), void(be = e);
+ B ? be.text = e.token + be.text : be.text += e.token
+ })), (be.type || be.text) && ye.push(be), B && ye.reverse();
+ var ve = k(a, v(y(b(ye, "type"))));
+ if (!ve.length) return b(ye, "text").join("");
+ ve = g(ve, (function(e, t) {
+ var n, a = t + 1 === ve.length,
+ r = !t;
+ n = "years" === e || "months" === e ? D.as(e) : T.as(e);
+ var i = Math.floor(n),
+ s = n - i,
+ l = m(ye, (function(t) {
+ return e === t.type
+ }));
+ return r && Q && n > Q && (X = !0), a && J && Math.abs(o.duration.as(e)) < J && (Z = !0), r && null === V && l.length > 1 && (V = !0), T.subtract(i, e), D.subtract(i, e), {
+ rawValue: n,
+ wholeValue: i,
+ decimalValue: a ? s : 0,
+ isSmallest: a,
+ isLargest: r,
+ type: e,
+ tokenLength: l.length
}
- })
- }(n(2083))
- }, 4299: function(e, t, n) {
- ! function(e) {
- "use strict";
- var t = "január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),
- n = "jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");
+ }));
+ var ke = Y ? Math.floor : Math.round,
+ _e = function(e, t) {
+ var n = Math.pow(10, t);
+ return ke(e * n) / n
+ },
+ we = !1,
+ Se = !1,
+ Ee = function(e, t) {
+ var n = {
+ useGrouping: W,
+ groupingSeparator: te,
+ decimalSeparator: ne,
+ grouping: ae,
+ useToLocaleString: ee
+ };
+ return G && (K <= 0 ? (e.rawValue = 0, e.wholeValue = 0, e.decimalValue = 0) : (n.maximumSignificantDigits = K, e.significantDigits = K)), X && !Se && (e.isLargest ? (e.wholeValue = Q, e.decimalValue = 0) : (e.wholeValue = 0, e.decimalValue = 0)), Z && !Se && (e.isSmallest ? (e.wholeValue = J, e.decimalValue = 0) : (e.wholeValue = 0, e.decimalValue = 0)), e.isSmallest || e.significantDigits && e.significantDigits - e.wholeValue.toString().length <= 0 ? H < 0 ? e.value = _e(e.wholeValue, H) : 0 === H ? e.value = ke(e.wholeValue + e.decimalValue) : G ? (e.value = Y ? _e(e.rawValue, K - e.wholeValue.toString().length) : e.rawValue, e.wholeValue && (K -= e.wholeValue.toString().length)) : (n.fractionDigits = H, e.value = Y ? e.wholeValue + _e(e.decimalValue, H) : e.wholeValue + e.decimalValue) : G && e.wholeValue ? (e.value = Math.round(_e(e.wholeValue, e.significantDigits - e.wholeValue.toString().length)), K -= e.wholeValue.toString().length) : e.value = e.wholeValue, e.tokenLength > 1 && (V || we) && (n.minimumIntegerDigits = e.tokenLength, Se && n.maximumSignificantDigits < e.tokenLength && delete n.maximumSignificantDigits), !we && (e.value > 0 || "" === re || m(L, e.type) || m(N, e.type)) && (we = !0), e.formattedValue = s(e.value, n, q), n.useGrouping = !1, n.decimalSeparator = ".", e.formattedValueEn = s(e.value, n, "en"), 2 === e.tokenLength && "milliseconds" === e.type && (e.formattedValueMS = s(e.value, {
+ minimumIntegerDigits: 3,
+ useGrouping: !1
+ }, "en").slice(0, 2)), e
+ };
+ if ((ve = y(ve = g(ve, Ee))).length > 1) {
+ var xe = function(e) {
+ return m(ve, (function(t) {
+ return t.type === e
+ }))
+ },
+ Ce = function(e) {
+ var t = xe(e.type);
+ t && f(e.targets, (function(e) {
+ var n = xe(e.type);
+ n && parseInt(t.formattedValueEn, 10) === e.value && (t.rawValue = 0, t.wholeValue = 0, t.decimalValue = 0, n.rawValue += 1, n.wholeValue += 1, n.decimalValue = 0, n.formattedValueEn = n.wholeValue.toString(), Se = !0)
+ }))
+ };
+ f(r, Ce)
+ }
+ return Se && (we = !1, K = $, ve = y(ve = g(ve, Ee))), !N || X && !o.trim ? (pe && (ve = _(ve, (function(e) {
+ return !e.isSmallest && !e.wholeValue && !m(L, e.type)
+ }))), z && ve.length && (ve = ve.slice(0, z)), he && ve.length > 1 && (ve = w(ve, (function(e) {
+ return !e.wholeValue && !m(L, e.type) && !e.isLargest
+ }))), me && (ve = y(ve = g(ve, (function(e, t) {
+ return t > 0 && t < ve.length - 1 && !e.wholeValue ? null : e
+ })))), !fe || 1 !== ve.length || ve[0].wholeValue || !Y && ve[0].isSmallest && ve[0].rawValue < J || (ve = [])) : ve = y(ve = g(ve, (function(e) {
+ return m(N, (function(t) {
+ return e.type === t
+ })) ? e : null
+ }))), R ? ve : (f(ye, (function(e) {
+ var t = P[e.type],
+ n = m(ve, (function(t) {
+ return t.type === e.type
+ }));
+ if (t && n) {
+ var a = n.formattedValueEn.split(".");
+ a[0] = parseInt(a[0], 10), a[1] ? a[1] = parseFloat("0." + a[1], 10) : a[1] = null;
+ var r = F.durationPluralKey(t, a[0], a[1]),
+ o = c(t, F),
+ s = !1,
+ u = {};
+ f(F._durationLabelTypes, (function(t) {
+ var n = m(o, (function(e) {
+ return e.type === t.type && e.key === r
+ }));
+ n && (u[n.type] = n.label, i(e.text, t.string) && (e.text = e.text.replace(t.string, n.label), s = !0))
+ })), U && !s && (o.sort(l), f(o, (function(t) {
+ return u[t.type] === t.label ? !i(e.text, t.label) && void 0 : i(e.text, t.label) ? (e.text = e.text.replace(t.label, u[t.type]), !1) : void 0
+ })))
+ }
+ })), (ye = g(ye, (function(e) {
+ if (!e.type) return e.text;
+ var t = m(ve, (function(t) {
+ return t.type === e.type
+ }));
+ if (!t) return "";
+ var n = "";
+ return B && (n += e.text), (A && X || !A && Z) && (n += "< ", X = !1, Z = !1), (A && Z || !A && X) && (n += "> ", X = !1, Z = !1), A && (t.value > 0 || "" === re || m(L, t.type) || m(N, t.type)) && (n += "-", A = !1), "milliseconds" === e.type && t.formattedValueMS ? n += t.formattedValueMS : n += t.formattedValue, B || (n += e.text), n
+ }))).join("").replace(/(,| |:|\.)*$/, "").replace(/^(,| |:|\.)*/, ""))
+ }
- function a(e) {
- return e > 1 && e < 5
+ function D() {
+ var e = this.duration,
+ t = function(t) {
+ return e._data[t]
+ },
+ n = m(this.types, t),
+ a = function(e, t) {
+ for (var n = e.length; n -= 1;)
+ if (t(e[n])) return e[n]
+ }(this.types, t);
+ switch (n) {
+ case "milliseconds":
+ return "S __";
+ case "seconds":
+ case "minutes":
+ return "*_MS_";
+ case "hours":
+ return "_HMS_";
+ case "days":
+ if (n === a) return "d __";
+ case "weeks":
+ return n === a ? "w __" : (null === this.trim && (this.trim = "both"), "w __, d __, h __");
+ case "months":
+ if (n === a) return "M __";
+ case "years":
+ return n === a ? "y __" : (null === this.trim && (this.trim = "both"), "y __, M __, d __");
+ default:
+ return null === this.trim && (this.trim = "both"), "y __, d __, h __, m __, s __"
}
+ }
- function r(e, t, n, r) {
- var i = e + " ";
- switch (n) {
- case "s":
- return t || r ? "pár sekúnd" : "pár sekundami";
- case "ss":
- return t || r ? i + (a(e) ? "sekundy" : "sekúnd") : i + "sekundami";
- case "m":
- return t ? "minúta" : r ? "minútu" : "minútou";
- case "mm":
- return t || r ? i + (a(e) ? "minúty" : "minút") : i + "minútami";
- case "h":
- return t ? "hodina" : r ? "hodinu" : "hodinou";
- case "hh":
- return t || r ? i + (a(e) ? "hodiny" : "hodín") : i + "hodinami";
- case "d":
- return t || r ? "deň" : "dňom";
- case "dd":
- return t || r ? i + (a(e) ? "dni" : "dní") : i + "dňami";
- case "M":
- return t || r ? "mesiac" : "mesiacom";
- case "MM":
- return t || r ? i + (a(e) ? "mesiace" : "mesiacov") : i + "mesiacmi";
- case "y":
- return t || r ? "rok" : "rokom";
- case "yy":
- return t || r ? i + (a(e) ? "roky" : "rokov") : i + "rokmi"
- }
+ function P(e) {
+ if (!e) throw "Moment Duration Format init cannot find moment instance.";
+ e.duration.format = A, e.duration.fn.format = T, e.duration.fn.format.defaults = {
+ trim: null,
+ stopTrim: null,
+ largest: null,
+ maxValue: null,
+ minValue: null,
+ precision: 0,
+ trunc: !1,
+ forceLength: null,
+ userLocale: null,
+ usePlural: !0,
+ useLeftUnits: !1,
+ useGrouping: !0,
+ useSignificantDigits: !1,
+ template: D,
+ useToLocaleString: !0,
+ groupingSeparator: ",",
+ decimalSeparator: ".",
+ grouping: [3]
+ }, e.updateLocale("en", d)
+ }
+ return t = !!((u = (u = !0) && function() {
+ try {
+ (0).toLocaleString("i")
+ } catch (e) {
+ return "RangeError" === e.name
}
- e.defineLocale("sk", {
- months: t,
- monthsShort: n,
- weekdays: "nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),
- weekdaysShort: "ne_po_ut_st_št_pi_so".split("_"),
- weekdaysMin: "ne_po_ut_st_št_pi_so".split("_"),
- longDateFormat: {
- LT: "H:mm",
- LTS: "H:mm:ss",
- L: "DD.MM.YYYY",
- LL: "D. MMMM YYYY",
- LLL: "D. MMMM YYYY H:mm",
- LLLL: "dddd D. MMMM YYYY H:mm"
- },
- calendar: {
- sameDay: "[dnes o] LT",
- nextDay: "[zajtra o] LT",
- nextWeek: function() {
- switch (this.day()) {
- case 0:
- return "[v nedeľu o] LT";
- case 1:
- case 2:
- return "[v] dddd [o] LT";
- case 3:
- return "[v stredu o] LT";
- case 4:
- return "[vo štvrtok o] LT";
- case 5:
- return "[v piatok o] LT";
- case 6:
- return "[v sobotu o] LT"
- }
- },
- lastDay: "[včera o] LT",
- lastWeek: function() {
- switch (this.day()) {
- case 0:
- return "[minulú nedeľu o] LT";
- case 1:
- case 2:
- case 4:
- case 5:
- return "[minulý] dddd [o] LT";
- case 3:
- return "[minulú stredu o] LT";
- case 6:
- return "[minulú sobotu o] LT"
- }
- },
- sameElse: "L"
- },
- relativeTime: {
- future: "za %s",
- past: "pred %s",
- s: r,
- ss: r,
- m: r,
- mm: r,
- h: r,
- hh: r,
- d: r,
- dd: r,
- M: r,
- MM: r,
- y: r,
- yy: r
- },
- dayOfMonthOrdinalParse: /\d{1,2}\./,
- ordinal: "%d.",
- week: {
- dow: 1,
- doy: 4
+ return !1
+ }()) && (u = (u = (u = u && "1" === 1..toLocaleString("en", {
+ minimumIntegerDigits: 1
+ })) && "01" === 1..toLocaleString("en", {
+ minimumIntegerDigits: 2
+ })) && "001" === 1..toLocaleString("en", {
+ minimumIntegerDigits: 3
+ })) && (u = (u = (u = (u = u && "100" === 99.99.toLocaleString("en", {
+ maximumFractionDigits: 0,
+ minimumFractionDigits: 0
+ })) && "100.0" === 99.99.toLocaleString("en", {
+ maximumFractionDigits: 1,
+ minimumFractionDigits: 1
+ })) && "99.99" === 99.99.toLocaleString("en", {
+ maximumFractionDigits: 2,
+ minimumFractionDigits: 2
+ })) && "99.990" === 99.99.toLocaleString("en", {
+ maximumFractionDigits: 3,
+ minimumFractionDigits: 3
+ })) && (u = (u = (u = (u = (u = u && "100" === 99.99.toLocaleString("en", {
+ maximumSignificantDigits: 1
+ })) && "100" === 99.99.toLocaleString("en", {
+ maximumSignificantDigits: 2
+ })) && "100" === 99.99.toLocaleString("en", {
+ maximumSignificantDigits: 3
+ })) && "99.99" === 99.99.toLocaleString("en", {
+ maximumSignificantDigits: 4
+ })) && "99.99" === 99.99.toLocaleString("en", {
+ maximumSignificantDigits: 5
+ })) && (u = (u = u && "1,000" === 1e3.toLocaleString("en", {
+ useGrouping: !0
+ })) && "1000" === 1e3.toLocaleString("en", {
+ useGrouping: !1
+ }))), n = t && "3.6" === 3.55.toLocaleString("en", {
+ useGrouping: !1,
+ minimumIntegerDigits: 1,
+ minimumFractionDigits: 1,
+ maximumFractionDigits: 1
+ }), P(e), P
+ }, r = [n(2083)], void 0 === (i = "function" == typeof(a = s) ? a.apply(t, r) : a) || (e.exports = i), o && (o.momentDurationFormatSetup = o.moment ? s(o.moment) : s)
+}, 5902: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ e.defineLocale("af", {
+ months: "Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),
+ monthsShort: "Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),
+ weekdays: "Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),
+ weekdaysShort: "Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),
+ weekdaysMin: "So_Ma_Di_Wo_Do_Vr_Sa".split("_"),
+ meridiemParse: /vm|nm/i,
+ isPM: function(e) {
+ return /^nm$/i.test(e)
+ },
+ meridiem: function(e, t, n) {
+ return e < 12 ? n ? "vm" : "VM" : n ? "nm" : "NM"
+ },
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "DD/MM/YYYY",
+ LL: "D MMMM YYYY",
+ LLL: "D MMMM YYYY HH:mm",
+ LLLL: "dddd, D MMMM YYYY HH:mm"
+ },
+ calendar: {
+ sameDay: "[Vandag om] LT",
+ nextDay: "[Môre om] LT",
+ nextWeek: "dddd [om] LT",
+ lastDay: "[Gister om] LT",
+ lastWeek: "[Laas] dddd [om] LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "oor %s",
+ past: "%s gelede",
+ s: "'n paar sekondes",
+ ss: "%d sekondes",
+ m: "'n minuut",
+ mm: "%d minute",
+ h: "'n uur",
+ hh: "%d ure",
+ d: "'n dag",
+ dd: "%d dae",
+ M: "'n maand",
+ MM: "%d maande",
+ y: "'n jaar",
+ yy: "%d jaar"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
+ ordinal: function(e) {
+ return e + (1 === e || 8 === e || e >= 20 ? "ste" : "de")
+ },
+ week: {
+ dow: 1,
+ doy: 4
+ }
+ })
+ }(n(2083))
+}, 9547: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ var t = {
+ 1: "١",
+ 2: "٢",
+ 3: "٣",
+ 4: "٤",
+ 5: "٥",
+ 6: "٦",
+ 7: "٧",
+ 8: "٨",
+ 9: "٩",
+ 0: "٠"
+ },
+ n = {
+ "١": "1",
+ "٢": "2",
+ "٣": "3",
+ "٤": "4",
+ "٥": "5",
+ "٦": "6",
+ "٧": "7",
+ "٨": "8",
+ "٩": "9",
+ "٠": "0"
+ },
+ a = function(e) {
+ return 0 === e ? 0 : 1 === e ? 1 : 2 === e ? 2 : e % 100 >= 3 && e % 100 <= 10 ? 3 : e % 100 >= 11 ? 4 : 5
+ },
+ r = {
+ s: ["أقل من ثانية", "ثانية واحدة", ["ثانيتان", "ثانيتين"], "%d ثوان", "%d ثانية", "%d ثانية"],
+ m: ["أقل من دقيقة", "دقيقة واحدة", ["دقيقتان", "دقيقتين"], "%d دقائق", "%d دقيقة", "%d دقيقة"],
+ h: ["أقل من ساعة", "ساعة واحدة", ["ساعتان", "ساعتين"], "%d ساعات", "%d ساعة", "%d ساعة"],
+ d: ["أقل من يوم", "يوم واحد", ["يومان", "يومين"], "%d أيام", "%d يومًا", "%d يوم"],
+ M: ["أقل من شهر", "شهر واحد", ["شهران", "شهرين"], "%d أشهر", "%d شهرا", "%d شهر"],
+ y: ["أقل من عام", "عام واحد", ["عامان", "عامين"], "%d أعوام", "%d عامًا", "%d عام"]
+ },
+ i = function(e) {
+ return function(t, n, i, o) {
+ var s = a(t),
+ l = r[e][a(t)];
+ return 2 === s && (l = l[n ? 0 : 1]), l.replace(/%d/i, t)
}
- })
- }(n(2083))
- }, 6705: function(e, t, n) {
- ! function(e) {
- "use strict";
+ },
+ o = ["يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو", "يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"];
+ e.defineLocale("ar", {
+ months: o,
+ monthsShort: o,
+ weekdays: "الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),
+ weekdaysShort: "أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),
+ weekdaysMin: "ح_ن_ث_ر_خ_ج_س".split("_"),
+ weekdaysParseExact: !0,
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "D/M/YYYY",
+ LL: "D MMMM YYYY",
+ LLL: "D MMMM YYYY HH:mm",
+ LLLL: "dddd D MMMM YYYY HH:mm"
+ },
+ meridiemParse: /ص|م/,
+ isPM: function(e) {
+ return "م" === e
+ },
+ meridiem: function(e, t, n) {
+ return e < 12 ? "ص" : "م"
+ },
+ calendar: {
+ sameDay: "[اليوم عند الساعة] LT",
+ nextDay: "[غدًا عند الساعة] LT",
+ nextWeek: "dddd [عند الساعة] LT",
+ lastDay: "[أمس عند الساعة] LT",
+ lastWeek: "dddd [عند الساعة] LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "بعد %s",
+ past: "منذ %s",
+ s: i("s"),
+ ss: i("s"),
+ m: i("m"),
+ mm: i("m"),
+ h: i("h"),
+ hh: i("h"),
+ d: i("d"),
+ dd: i("d"),
+ M: i("M"),
+ MM: i("M"),
+ y: i("y"),
+ yy: i("y")
+ },
+ preparse: function(e) {
+ return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g, (function(e) {
+ return n[e]
+ })).replace(/،/g, ",")
+ },
+ postformat: function(e) {
+ return e.replace(/\d/g, (function(e) {
+ return t[e]
+ })).replace(/,/g, "،")
+ },
+ week: {
+ dow: 6,
+ doy: 12
+ }
+ })
+ }(n(2083))
+}, 1824: function(e, t, n) {
+ ! function(e) {
+ "use strict";
- function t(e, t, n, a) {
- var r = e + " ";
- switch (n) {
- case "s":
- return t || a ? "nekaj sekund" : "nekaj sekundami";
- case "ss":
- return r + (1 === e ? t ? "sekundo" : "sekundi" : 2 === e ? t || a ? "sekundi" : "sekundah" : e < 5 ? t || a ? "sekunde" : "sekundah" : "sekund");
- case "m":
- return t ? "ena minuta" : "eno minuto";
- case "mm":
- return r + (1 === e ? t ? "minuta" : "minuto" : 2 === e ? t || a ? "minuti" : "minutama" : e < 5 ? t || a ? "minute" : "minutami" : t || a ? "minut" : "minutami");
- case "h":
- return t ? "ena ura" : "eno uro";
- case "hh":
- return r + (1 === e ? t ? "ura" : "uro" : 2 === e ? t || a ? "uri" : "urama" : e < 5 ? t || a ? "ure" : "urami" : t || a ? "ur" : "urami");
- case "d":
- return t || a ? "en dan" : "enim dnem";
- case "dd":
- return r + (1 === e ? t || a ? "dan" : "dnem" : 2 === e ? t || a ? "dni" : "dnevoma" : t || a ? "dni" : "dnevi");
+ function t(e, t, n) {
+ return "m" === n ? t ? "хвіліна" : "хвіліну" : "h" === n ? t ? "гадзіна" : "гадзіну" : e + " " + (a = +e, r = {
+ ss: t ? "секунда_секунды_секунд" : "секунду_секунды_секунд",
+ mm: t ? "хвіліна_хвіліны_хвілін" : "хвіліну_хвіліны_хвілін",
+ hh: t ? "гадзіна_гадзіны_гадзін" : "гадзіну_гадзіны_гадзін",
+ dd: "дзень_дні_дзён",
+ MM: "месяц_месяцы_месяцаў",
+ yy: "год_гады_гадоў"
+ } [n].split("_"), a % 10 == 1 && a % 100 != 11 ? r[0] : a % 10 >= 2 && a % 10 <= 4 && (a % 100 < 10 || a % 100 >= 20) ? r[1] : r[2]);
+ var a, r
+ }
+ e.defineLocale("be", {
+ months: {
+ format: "студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),
+ standalone: "студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")
+ },
+ monthsShort: "студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),
+ weekdays: {
+ format: "нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),
+ standalone: "нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),
+ isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/
+ },
+ weekdaysShort: "нд_пн_ат_ср_чц_пт_сб".split("_"),
+ weekdaysMin: "нд_пн_ат_ср_чц_пт_сб".split("_"),
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "DD.MM.YYYY",
+ LL: "D MMMM YYYY г.",
+ LLL: "D MMMM YYYY г., HH:mm",
+ LLLL: "dddd, D MMMM YYYY г., HH:mm"
+ },
+ calendar: {
+ sameDay: "[Сёння ў] LT",
+ nextDay: "[Заўтра ў] LT",
+ lastDay: "[Учора ў] LT",
+ nextWeek: function() {
+ return "[У] dddd [ў] LT"
+ },
+ lastWeek: function() {
+ switch (this.day()) {
+ case 0:
+ case 3:
+ case 5:
+ case 6:
+ return "[У мінулую] dddd [ў] LT";
+ case 1:
+ case 2:
+ case 4:
+ return "[У мінулы] dddd [ў] LT"
+ }
+ },
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "праз %s",
+ past: "%s таму",
+ s: "некалькі секунд",
+ m: t,
+ mm: t,
+ h: t,
+ hh: t,
+ d: "дзень",
+ dd: t,
+ M: "месяц",
+ MM: t,
+ y: "год",
+ yy: t
+ },
+ meridiemParse: /ночы|раніцы|дня|вечара/,
+ isPM: function(e) {
+ return /^(дня|вечара)$/.test(e)
+ },
+ meridiem: function(e, t, n) {
+ return e < 4 ? "ночы" : e < 12 ? "раніцы" : e < 17 ? "дня" : "вечара"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/,
+ ordinal: function(e, t) {
+ switch (t) {
case "M":
- return t || a ? "en mesec" : "enim mesecem";
- case "MM":
- return r + (1 === e ? t || a ? "mesec" : "mesecem" : 2 === e ? t || a ? "meseca" : "mesecema" : e < 5 ? t || a ? "mesece" : "meseci" : t || a ? "mesecev" : "meseci");
- case "y":
- return t || a ? "eno leto" : "enim letom";
- case "yy":
- return r + (1 === e ? t || a ? "leto" : "letom" : 2 === e ? t || a ? "leti" : "letoma" : e < 5 ? t || a ? "leta" : "leti" : t || a ? "let" : "leti")
- }
- }
- e.defineLocale("sl", {
- months: "januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),
- monthsShort: "jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),
- monthsParseExact: !0,
- weekdays: "nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),
- weekdaysShort: "ned._pon._tor._sre._čet._pet._sob.".split("_"),
- weekdaysMin: "ne_po_to_sr_če_pe_so".split("_"),
- weekdaysParseExact: !0,
- longDateFormat: {
- LT: "H:mm",
- LTS: "H:mm:ss",
- L: "DD. MM. YYYY",
- LL: "D. MMMM YYYY",
- LLL: "D. MMMM YYYY H:mm",
- LLLL: "dddd, D. MMMM YYYY H:mm"
+ case "d":
+ case "DDD":
+ case "w":
+ case "W":
+ return e % 10 != 2 && e % 10 != 3 || e % 100 == 12 || e % 100 == 13 ? e + "-ы" : e + "-і";
+ case "D":
+ return e + "-га";
+ default:
+ return e
+ }
+ },
+ week: {
+ dow: 1,
+ doy: 7
+ }
+ })
+ }(n(2083))
+}, 7075: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ e.defineLocale("bg", {
+ months: "януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),
+ monthsShort: "яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),
+ weekdays: "неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),
+ weekdaysShort: "нед_пон_вто_сря_чет_пет_съб".split("_"),
+ weekdaysMin: "нд_пн_вт_ср_чт_пт_сб".split("_"),
+ longDateFormat: {
+ LT: "H:mm",
+ LTS: "H:mm:ss",
+ L: "D.MM.YYYY",
+ LL: "D MMMM YYYY",
+ LLL: "D MMMM YYYY H:mm",
+ LLLL: "dddd, D MMMM YYYY H:mm"
+ },
+ calendar: {
+ sameDay: "[Днес в] LT",
+ nextDay: "[Утре в] LT",
+ nextWeek: "dddd [в] LT",
+ lastDay: "[Вчера в] LT",
+ lastWeek: function() {
+ switch (this.day()) {
+ case 0:
+ case 3:
+ case 6:
+ return "[Миналата] dddd [в] LT";
+ case 1:
+ case 2:
+ case 4:
+ case 5:
+ return "[Миналия] dddd [в] LT"
+ }
},
- calendar: {
- sameDay: "[danes ob] LT",
- nextDay: "[jutri ob] LT",
- nextWeek: function() {
- switch (this.day()) {
- case 0:
- return "[v] [nedeljo] [ob] LT";
- case 3:
- return "[v] [sredo] [ob] LT";
- case 6:
- return "[v] [soboto] [ob] LT";
- case 1:
- case 2:
- case 4:
- case 5:
- return "[v] dddd [ob] LT"
- }
- },
- lastDay: "[včeraj ob] LT",
- lastWeek: function() {
- switch (this.day()) {
- case 0:
- return "[prejšnjo] [nedeljo] [ob] LT";
- case 3:
- return "[prejšnjo] [sredo] [ob] LT";
- case 6:
- return "[prejšnjo] [soboto] [ob] LT";
- case 1:
- case 2:
- case 4:
- case 5:
- return "[prejšnji] dddd [ob] LT"
- }
- },
- sameElse: "L"
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "след %s",
+ past: "преди %s",
+ s: "няколко секунди",
+ ss: "%d секунди",
+ m: "минута",
+ mm: "%d минути",
+ h: "час",
+ hh: "%d часа",
+ d: "ден",
+ dd: "%d дена",
+ w: "седмица",
+ ww: "%d седмици",
+ M: "месец",
+ MM: "%d месеца",
+ y: "година",
+ yy: "%d години"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
+ ordinal: function(e) {
+ var t = e % 10,
+ n = e % 100;
+ return 0 === e ? e + "-ев" : 0 === n ? e + "-ен" : n > 10 && n < 20 ? e + "-ти" : 1 === t ? e + "-ви" : 2 === t ? e + "-ри" : 7 === t || 8 === t ? e + "-ми" : e + "-ти"
+ },
+ week: {
+ dow: 1,
+ doy: 7
+ }
+ })
+ }(n(2083))
+}, 5793: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ e.defineLocale("ca", {
+ months: {
+ standalone: "gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),
+ format: "de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),
+ isFormat: /D[oD]?(\s)+MMMM/
+ },
+ monthsShort: "gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),
+ monthsParseExact: !0,
+ weekdays: "diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),
+ weekdaysShort: "dg._dl._dt._dc._dj._dv._ds.".split("_"),
+ weekdaysMin: "dg_dl_dt_dc_dj_dv_ds".split("_"),
+ weekdaysParseExact: !0,
+ longDateFormat: {
+ LT: "H:mm",
+ LTS: "H:mm:ss",
+ L: "DD/MM/YYYY",
+ LL: "D MMMM [de] YYYY",
+ ll: "D MMM YYYY",
+ LLL: "D MMMM [de] YYYY [a les] H:mm",
+ lll: "D MMM YYYY, H:mm",
+ LLLL: "dddd D MMMM [de] YYYY [a les] H:mm",
+ llll: "ddd D MMM YYYY, H:mm"
+ },
+ calendar: {
+ sameDay: function() {
+ return "[avui a " + (1 !== this.hours() ? "les" : "la") + "] LT"
},
- relativeTime: {
- future: "čez %s",
- past: "pred %s",
- s: t,
- ss: t,
- m: t,
- mm: t,
- h: t,
- hh: t,
- d: t,
- dd: t,
- M: t,
- MM: t,
- y: t,
- yy: t
+ nextDay: function() {
+ return "[demà a " + (1 !== this.hours() ? "les" : "la") + "] LT"
},
- dayOfMonthOrdinalParse: /\d{1,2}\./,
- ordinal: "%d.",
- week: {
- dow: 1,
- doy: 7
- }
- })
- }(n(2083))
- }, 9557: function(e, t, n) {
- ! function(e) {
- "use strict";
- var t = {
- words: {
- ss: ["sekunda", "sekunde", "sekundi"],
- m: ["jedan minut", "jedne minute"],
- mm: ["minut", "minute", "minuta"],
- h: ["jedan sat", "jednog sata"],
- hh: ["sat", "sata", "sati"],
- dd: ["dan", "dana", "dana"],
- MM: ["mesec", "meseca", "meseci"],
- yy: ["godina", "godine", "godina"]
+ nextWeek: function() {
+ return "dddd [a " + (1 !== this.hours() ? "les" : "la") + "] LT"
},
- correctGrammaticalCase: function(e, t) {
- return 1 === e ? t[0] : e >= 2 && e <= 4 ? t[1] : t[2]
+ lastDay: function() {
+ return "[ahir a " + (1 !== this.hours() ? "les" : "la") + "] LT"
},
- translate: function(e, n, a) {
- var r = t.words[a];
- return 1 === a.length ? n ? r[0] : r[1] : e + " " + t.correctGrammaticalCase(e, r)
- }
- };
- e.defineLocale("sr", {
- months: "januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),
- monthsShort: "jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),
- monthsParseExact: !0,
- weekdays: "nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),
- weekdaysShort: "ned._pon._uto._sre._čet._pet._sub.".split("_"),
- weekdaysMin: "ne_po_ut_sr_če_pe_su".split("_"),
- weekdaysParseExact: !0,
- longDateFormat: {
- LT: "H:mm",
- LTS: "H:mm:ss",
- L: "D. M. YYYY.",
- LL: "D. MMMM YYYY.",
- LLL: "D. MMMM YYYY. H:mm",
- LLLL: "dddd, D. MMMM YYYY. H:mm"
+ lastWeek: function() {
+ return "[el] dddd [passat a " + (1 !== this.hours() ? "les" : "la") + "] LT"
},
- calendar: {
- sameDay: "[danas u] LT",
- nextDay: "[sutra u] LT",
- nextWeek: function() {
- switch (this.day()) {
- case 0:
- return "[u] [nedelju] [u] LT";
- case 3:
- return "[u] [sredu] [u] LT";
- case 6:
- return "[u] [subotu] [u] LT";
- case 1:
- case 2:
- case 4:
- case 5:
- return "[u] dddd [u] LT"
- }
- },
- lastDay: "[juče u] LT",
- lastWeek: function() {
- return ["[prošle] [nedelje] [u] LT", "[prošlog] [ponedeljka] [u] LT", "[prošlog] [utorka] [u] LT", "[prošle] [srede] [u] LT", "[prošlog] [četvrtka] [u] LT", "[prošlog] [petka] [u] LT", "[prošle] [subote] [u] LT"][this.day()]
- },
- sameElse: "L"
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "d'aquí %s",
+ past: "fa %s",
+ s: "uns segons",
+ ss: "%d segons",
+ m: "un minut",
+ mm: "%d minuts",
+ h: "una hora",
+ hh: "%d hores",
+ d: "un dia",
+ dd: "%d dies",
+ M: "un mes",
+ MM: "%d mesos",
+ y: "un any",
+ yy: "%d anys"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,
+ ordinal: function(e, t) {
+ var n = 1 === e ? "r" : 2 === e ? "n" : 3 === e ? "r" : 4 === e ? "t" : "è";
+ return "w" !== t && "W" !== t || (n = "a"), e + n
+ },
+ week: {
+ dow: 1,
+ doy: 4
+ }
+ })
+ }(n(2083))
+}, 8979: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ var t = "leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),
+ n = "led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),
+ a = [/^led/i, /^úno/i, /^bře/i, /^dub/i, /^kvě/i, /^(čvn|červen$|června)/i, /^(čvc|červenec|července)/i, /^srp/i, /^zář/i, /^říj/i, /^lis/i, /^pro/i],
+ r = /^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;
+
+ function i(e) {
+ return e > 1 && e < 5 && 1 != ~~(e / 10)
+ }
+
+ function o(e, t, n, a) {
+ var r = e + " ";
+ switch (n) {
+ case "s":
+ return t || a ? "pár sekund" : "pár sekundami";
+ case "ss":
+ return t || a ? r + (i(e) ? "sekundy" : "sekund") : r + "sekundami";
+ case "m":
+ return t ? "minuta" : a ? "minutu" : "minutou";
+ case "mm":
+ return t || a ? r + (i(e) ? "minuty" : "minut") : r + "minutami";
+ case "h":
+ return t ? "hodina" : a ? "hodinu" : "hodinou";
+ case "hh":
+ return t || a ? r + (i(e) ? "hodiny" : "hodin") : r + "hodinami";
+ case "d":
+ return t || a ? "den" : "dnem";
+ case "dd":
+ return t || a ? r + (i(e) ? "dny" : "dní") : r + "dny";
+ case "M":
+ return t || a ? "měsíc" : "měsícem";
+ case "MM":
+ return t || a ? r + (i(e) ? "měsíce" : "měsíců") : r + "měsíci";
+ case "y":
+ return t || a ? "rok" : "rokem";
+ case "yy":
+ return t || a ? r + (i(e) ? "roky" : "let") : r + "lety"
+ }
+ }
+ e.defineLocale("cs", {
+ months: t,
+ monthsShort: n,
+ monthsRegex: r,
+ monthsShortRegex: r,
+ monthsStrictRegex: /^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,
+ monthsShortStrictRegex: /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,
+ monthsParse: a,
+ longMonthsParse: a,
+ shortMonthsParse: a,
+ weekdays: "neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),
+ weekdaysShort: "ne_po_út_st_čt_pá_so".split("_"),
+ weekdaysMin: "ne_po_út_st_čt_pá_so".split("_"),
+ longDateFormat: {
+ LT: "H:mm",
+ LTS: "H:mm:ss",
+ L: "DD.MM.YYYY",
+ LL: "D. MMMM YYYY",
+ LLL: "D. MMMM YYYY H:mm",
+ LLLL: "dddd D. MMMM YYYY H:mm",
+ l: "D. M. YYYY"
+ },
+ calendar: {
+ sameDay: "[dnes v] LT",
+ nextDay: "[zítra v] LT",
+ nextWeek: function() {
+ switch (this.day()) {
+ case 0:
+ return "[v neděli v] LT";
+ case 1:
+ case 2:
+ return "[v] dddd [v] LT";
+ case 3:
+ return "[ve středu v] LT";
+ case 4:
+ return "[ve čtvrtek v] LT";
+ case 5:
+ return "[v pátek v] LT";
+ case 6:
+ return "[v sobotu v] LT"
+ }
},
- relativeTime: {
- future: "za %s",
- past: "pre %s",
- s: "nekoliko sekundi",
- ss: t.translate,
- m: t.translate,
- mm: t.translate,
- h: t.translate,
- hh: t.translate,
- d: "dan",
- dd: t.translate,
- M: "mesec",
- MM: t.translate,
- y: "godinu",
- yy: t.translate
+ lastDay: "[včera v] LT",
+ lastWeek: function() {
+ switch (this.day()) {
+ case 0:
+ return "[minulou neděli v] LT";
+ case 1:
+ case 2:
+ return "[minulé] dddd [v] LT";
+ case 3:
+ return "[minulou středu v] LT";
+ case 4:
+ case 5:
+ return "[minulý] dddd [v] LT";
+ case 6:
+ return "[minulou sobotu v] LT"
+ }
},
- dayOfMonthOrdinalParse: /\d{1,2}\./,
- ordinal: "%d.",
- week: {
- dow: 1,
- doy: 7
- }
- })
- }(n(2083))
- }, 3497: function(e, t, n) {
- ! function(e) {
- "use strict";
- e.defineLocale("sv", {
- months: "januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),
- monthsShort: "jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),
- weekdays: "söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),
- weekdaysShort: "sön_mån_tis_ons_tor_fre_lör".split("_"),
- weekdaysMin: "sö_må_ti_on_to_fr_lö".split("_"),
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "YYYY-MM-DD",
- LL: "D MMMM YYYY",
- LLL: "D MMMM YYYY [kl.] HH:mm",
- LLLL: "dddd D MMMM YYYY [kl.] HH:mm",
- lll: "D MMM YYYY HH:mm",
- llll: "ddd D MMM YYYY HH:mm"
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "za %s",
+ past: "před %s",
+ s: o,
+ ss: o,
+ m: o,
+ mm: o,
+ h: o,
+ hh: o,
+ d: o,
+ dd: o,
+ M: o,
+ MM: o,
+ y: o,
+ yy: o
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
+ ordinal: "%d.",
+ week: {
+ dow: 1,
+ doy: 4
+ }
+ })
+ }(n(2083))
+}, 1277: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ e.defineLocale("da", {
+ months: "januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),
+ monthsShort: "jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),
+ weekdays: "søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),
+ weekdaysShort: "søn_man_tir_ons_tor_fre_lør".split("_"),
+ weekdaysMin: "sø_ma_ti_on_to_fr_lø".split("_"),
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "DD.MM.YYYY",
+ LL: "D. MMMM YYYY",
+ LLL: "D. MMMM YYYY HH:mm",
+ LLLL: "dddd [d.] D. MMMM YYYY [kl.] HH:mm"
+ },
+ calendar: {
+ sameDay: "[i dag kl.] LT",
+ nextDay: "[i morgen kl.] LT",
+ nextWeek: "på dddd [kl.] LT",
+ lastDay: "[i går kl.] LT",
+ lastWeek: "[i] dddd[s kl.] LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "om %s",
+ past: "%s siden",
+ s: "få sekunder",
+ ss: "%d sekunder",
+ m: "et minut",
+ mm: "%d minutter",
+ h: "en time",
+ hh: "%d timer",
+ d: "en dag",
+ dd: "%d dage",
+ M: "en måned",
+ MM: "%d måneder",
+ y: "et år",
+ yy: "%d år"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
+ ordinal: "%d.",
+ week: {
+ dow: 1,
+ doy: 4
+ }
+ })
+ }(n(2083))
+}, 1633: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+
+ function t(e, t, n, a) {
+ var r = {
+ m: ["eine Minute", "einer Minute"],
+ h: ["eine Stunde", "einer Stunde"],
+ d: ["ein Tag", "einem Tag"],
+ dd: [e + " Tage", e + " Tagen"],
+ w: ["eine Woche", "einer Woche"],
+ M: ["ein Monat", "einem Monat"],
+ MM: [e + " Monate", e + " Monaten"],
+ y: ["ein Jahr", "einem Jahr"],
+ yy: [e + " Jahre", e + " Jahren"]
+ };
+ return t ? r[n][0] : r[n][1]
+ }
+ e.defineLocale("de", {
+ months: "Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),
+ monthsShort: "Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),
+ monthsParseExact: !0,
+ weekdays: "Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),
+ weekdaysShort: "So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),
+ weekdaysMin: "So_Mo_Di_Mi_Do_Fr_Sa".split("_"),
+ weekdaysParseExact: !0,
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "DD.MM.YYYY",
+ LL: "D. MMMM YYYY",
+ LLL: "D. MMMM YYYY HH:mm",
+ LLLL: "dddd, D. MMMM YYYY HH:mm"
+ },
+ calendar: {
+ sameDay: "[heute um] LT [Uhr]",
+ sameElse: "L",
+ nextDay: "[morgen um] LT [Uhr]",
+ nextWeek: "dddd [um] LT [Uhr]",
+ lastDay: "[gestern um] LT [Uhr]",
+ lastWeek: "[letzten] dddd [um] LT [Uhr]"
+ },
+ relativeTime: {
+ future: "in %s",
+ past: "vor %s",
+ s: "ein paar Sekunden",
+ ss: "%d Sekunden",
+ m: t,
+ mm: "%d Minuten",
+ h: t,
+ hh: "%d Stunden",
+ d: t,
+ dd: t,
+ w: t,
+ ww: "%d Wochen",
+ M: t,
+ MM: t,
+ y: t,
+ yy: t
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
+ ordinal: "%d.",
+ week: {
+ dow: 1,
+ doy: 4
+ }
+ })
+ }(n(2083))
+}, 3122: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ e.defineLocale("el", {
+ monthsNominativeEl: "Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),
+ monthsGenitiveEl: "Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),
+ months: function(e, t) {
+ return e ? "string" == typeof t && /D/.test(t.substring(0, t.indexOf("MMMM"))) ? this._monthsGenitiveEl[e.month()] : this._monthsNominativeEl[e.month()] : this._monthsNominativeEl
+ },
+ monthsShort: "Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),
+ weekdays: "Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),
+ weekdaysShort: "Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),
+ weekdaysMin: "Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),
+ meridiem: function(e, t, n) {
+ return e > 11 ? n ? "μμ" : "ΜΜ" : n ? "πμ" : "ΠΜ"
+ },
+ isPM: function(e) {
+ return "μ" === (e + "").toLowerCase()[0]
+ },
+ meridiemParse: /[ΠΜ]\.?Μ?\.?/i,
+ longDateFormat: {
+ LT: "h:mm A",
+ LTS: "h:mm:ss A",
+ L: "DD/MM/YYYY",
+ LL: "D MMMM YYYY",
+ LLL: "D MMMM YYYY h:mm A",
+ LLLL: "dddd, D MMMM YYYY h:mm A"
+ },
+ calendarEl: {
+ sameDay: "[Σήμερα {}] LT",
+ nextDay: "[Αύριο {}] LT",
+ nextWeek: "dddd [{}] LT",
+ lastDay: "[Χθες {}] LT",
+ lastWeek: function() {
+ return 6 === this.day() ? "[το προηγούμενο] dddd [{}] LT" : "[την προηγούμενη] dddd [{}] LT"
+ },
+ sameElse: "L"
+ },
+ calendar: function(e, t) {
+ var n, a = this._calendarEl[e],
+ r = t && t.hours();
+ return n = a, ("undefined" != typeof Function && n instanceof Function || "[object Function]" === Object.prototype.toString.call(n)) && (a = a.apply(t)), a.replace("{}", r % 12 == 1 ? "στη" : "στις")
+ },
+ relativeTime: {
+ future: "σε %s",
+ past: "%s πριν",
+ s: "λίγα δευτερόλεπτα",
+ ss: "%d δευτερόλεπτα",
+ m: "ένα λεπτό",
+ mm: "%d λεπτά",
+ h: "μία ώρα",
+ hh: "%d ώρες",
+ d: "μία μέρα",
+ dd: "%d μέρες",
+ M: "ένας μήνας",
+ MM: "%d μήνες",
+ y: "ένας χρόνος",
+ yy: "%d χρόνια"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}η/,
+ ordinal: "%dη",
+ week: {
+ dow: 1,
+ doy: 4
+ }
+ })
+ }(n(2083))
+}, 4595: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ e.defineLocale("en-gb", {
+ months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
+ monthsShort: "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
+ weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
+ weekdaysShort: "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
+ weekdaysMin: "Su_Mo_Tu_We_Th_Fr_Sa".split("_"),
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "DD/MM/YYYY",
+ LL: "D MMMM YYYY",
+ LLL: "D MMMM YYYY HH:mm",
+ LLLL: "dddd, D MMMM YYYY HH:mm"
+ },
+ calendar: {
+ sameDay: "[Today at] LT",
+ nextDay: "[Tomorrow at] LT",
+ nextWeek: "dddd [at] LT",
+ lastDay: "[Yesterday at] LT",
+ lastWeek: "[Last] dddd [at] LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "in %s",
+ past: "%s ago",
+ s: "a few seconds",
+ ss: "%d seconds",
+ m: "a minute",
+ mm: "%d minutes",
+ h: "an hour",
+ hh: "%d hours",
+ d: "a day",
+ dd: "%d days",
+ M: "a month",
+ MM: "%d months",
+ y: "a year",
+ yy: "%d years"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
+ ordinal: function(e) {
+ var t = e % 10;
+ return e + (1 == ~~(e % 100 / 10) ? "th" : 1 === t ? "st" : 2 === t ? "nd" : 3 === t ? "rd" : "th")
+ },
+ week: {
+ dow: 1,
+ doy: 4
+ }
+ })
+ }(n(2083))
+}, 5871: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ e.defineLocale("eo", {
+ months: "januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),
+ monthsShort: "jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),
+ weekdays: "dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),
+ weekdaysShort: "dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),
+ weekdaysMin: "di_lu_ma_me_ĵa_ve_sa".split("_"),
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "YYYY-MM-DD",
+ LL: "[la] D[-an de] MMMM, YYYY",
+ LLL: "[la] D[-an de] MMMM, YYYY HH:mm",
+ LLLL: "dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",
+ llll: "ddd, [la] D[-an de] MMM, YYYY HH:mm"
+ },
+ meridiemParse: /[ap]\.t\.m/i,
+ isPM: function(e) {
+ return "p" === e.charAt(0).toLowerCase()
+ },
+ meridiem: function(e, t, n) {
+ return e > 11 ? n ? "p.t.m." : "P.T.M." : n ? "a.t.m." : "A.T.M."
+ },
+ calendar: {
+ sameDay: "[Hodiaŭ je] LT",
+ nextDay: "[Morgaŭ je] LT",
+ nextWeek: "dddd[n je] LT",
+ lastDay: "[Hieraŭ je] LT",
+ lastWeek: "[pasintan] dddd[n je] LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "post %s",
+ past: "antaŭ %s",
+ s: "kelkaj sekundoj",
+ ss: "%d sekundoj",
+ m: "unu minuto",
+ mm: "%d minutoj",
+ h: "unu horo",
+ hh: "%d horoj",
+ d: "unu tago",
+ dd: "%d tagoj",
+ M: "unu monato",
+ MM: "%d monatoj",
+ y: "unu jaro",
+ yy: "%d jaroj"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}a/,
+ ordinal: "%da",
+ week: {
+ dow: 1,
+ doy: 7
+ }
+ })
+ }(n(2083))
+}, 1329: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ var t = "ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),
+ n = "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),
+ a = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i],
+ r = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
+ e.defineLocale("es-us", {
+ months: "enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),
+ monthsShort: function(e, a) {
+ return e ? /-MMM-/.test(a) ? n[e.month()] : t[e.month()] : t
+ },
+ monthsRegex: r,
+ monthsShortRegex: r,
+ monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
+ monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
+ monthsParse: a,
+ longMonthsParse: a,
+ shortMonthsParse: a,
+ weekdays: "domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),
+ weekdaysShort: "dom._lun._mar._mié._jue._vie._sáb.".split("_"),
+ weekdaysMin: "do_lu_ma_mi_ju_vi_sá".split("_"),
+ weekdaysParseExact: !0,
+ longDateFormat: {
+ LT: "h:mm A",
+ LTS: "h:mm:ss A",
+ L: "MM/DD/YYYY",
+ LL: "D [de] MMMM [de] YYYY",
+ LLL: "D [de] MMMM [de] YYYY h:mm A",
+ LLLL: "dddd, D [de] MMMM [de] YYYY h:mm A"
+ },
+ calendar: {
+ sameDay: function() {
+ return "[hoy a la" + (1 !== this.hours() ? "s" : "") + "] LT"
},
- calendar: {
- sameDay: "[Idag] LT",
- nextDay: "[Imorgon] LT",
- lastDay: "[Igår] LT",
- nextWeek: "[På] dddd LT",
- lastWeek: "[I] dddd[s] LT",
- sameElse: "L"
+ nextDay: function() {
+ return "[mañana a la" + (1 !== this.hours() ? "s" : "") + "] LT"
},
- relativeTime: {
- future: "om %s",
- past: "för %s sedan",
- s: "några sekunder",
- ss: "%d sekunder",
- m: "en minut",
- mm: "%d minuter",
- h: "en timme",
- hh: "%d timmar",
- d: "en dag",
- dd: "%d dagar",
- M: "en månad",
- MM: "%d månader",
- y: "ett år",
- yy: "%d år"
+ nextWeek: function() {
+ return "dddd [a la" + (1 !== this.hours() ? "s" : "") + "] LT"
},
- dayOfMonthOrdinalParse: /\d{1,2}(\:e|\:a)/,
- ordinal: function(e) {
- var t = e % 10;
- return e + (1 == ~~(e % 100 / 10) ? ":e" : 1 === t || 2 === t ? ":a" : ":e")
+ lastDay: function() {
+ return "[ayer a la" + (1 !== this.hours() ? "s" : "") + "] LT"
},
- week: {
- dow: 1,
- doy: 4
- }
- })
- }(n(2083))
- }, 7612: function(e, t, n) {
- ! function(e) {
- "use strict";
- var t = {
- 1: "'inci",
- 5: "'inci",
- 8: "'inci",
- 70: "'inci",
- 80: "'inci",
- 2: "'nci",
- 7: "'nci",
- 20: "'nci",
- 50: "'nci",
- 3: "'üncü",
- 4: "'üncü",
- 100: "'üncü",
- 6: "'ncı",
- 9: "'uncu",
- 10: "'uncu",
- 30: "'uncu",
- 60: "'ıncı",
- 90: "'ıncı"
- };
- e.defineLocale("tr", {
- months: "Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),
- monthsShort: "Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),
- weekdays: "Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),
- weekdaysShort: "Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),
- weekdaysMin: "Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),
- meridiem: function(e, t, n) {
- return e < 12 ? n ? "öö" : "ÖÖ" : n ? "ös" : "ÖS"
+ lastWeek: function() {
+ return "[el] dddd [pasado a la" + (1 !== this.hours() ? "s" : "") + "] LT"
},
- meridiemParse: /öö|ÖÖ|ös|ÖS/,
- isPM: function(e) {
- return "ös" === e || "ÖS" === e
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "en %s",
+ past: "hace %s",
+ s: "unos segundos",
+ ss: "%d segundos",
+ m: "un minuto",
+ mm: "%d minutos",
+ h: "una hora",
+ hh: "%d horas",
+ d: "un día",
+ dd: "%d días",
+ w: "una semana",
+ ww: "%d semanas",
+ M: "un mes",
+ MM: "%d meses",
+ y: "un año",
+ yy: "%d años"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}º/,
+ ordinal: "%dº",
+ week: {
+ dow: 0,
+ doy: 6
+ }
+ })
+ }(n(2083))
+}, 3548: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ var t = "ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),
+ n = "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),
+ a = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i],
+ r = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
+ e.defineLocale("es", {
+ months: "enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),
+ monthsShort: function(e, a) {
+ return e ? /-MMM-/.test(a) ? n[e.month()] : t[e.month()] : t
+ },
+ monthsRegex: r,
+ monthsShortRegex: r,
+ monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
+ monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
+ monthsParse: a,
+ longMonthsParse: a,
+ shortMonthsParse: a,
+ weekdays: "domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),
+ weekdaysShort: "dom._lun._mar._mié._jue._vie._sáb.".split("_"),
+ weekdaysMin: "do_lu_ma_mi_ju_vi_sá".split("_"),
+ weekdaysParseExact: !0,
+ longDateFormat: {
+ LT: "H:mm",
+ LTS: "H:mm:ss",
+ L: "DD/MM/YYYY",
+ LL: "D [de] MMMM [de] YYYY",
+ LLL: "D [de] MMMM [de] YYYY H:mm",
+ LLLL: "dddd, D [de] MMMM [de] YYYY H:mm"
+ },
+ calendar: {
+ sameDay: function() {
+ return "[hoy a la" + (1 !== this.hours() ? "s" : "") + "] LT"
},
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "DD.MM.YYYY",
- LL: "D MMMM YYYY",
- LLL: "D MMMM YYYY HH:mm",
- LLLL: "dddd, D MMMM YYYY HH:mm"
+ nextDay: function() {
+ return "[mañana a la" + (1 !== this.hours() ? "s" : "") + "] LT"
},
- calendar: {
- sameDay: "[bugün saat] LT",
- nextDay: "[yarın saat] LT",
- nextWeek: "[gelecek] dddd [saat] LT",
- lastDay: "[dün] LT",
- lastWeek: "[geçen] dddd [saat] LT",
- sameElse: "L"
+ nextWeek: function() {
+ return "dddd [a la" + (1 !== this.hours() ? "s" : "") + "] LT"
},
- relativeTime: {
- future: "%s sonra",
- past: "%s önce",
- s: "birkaç saniye",
- ss: "%d saniye",
- m: "bir dakika",
- mm: "%d dakika",
- h: "bir saat",
- hh: "%d saat",
- d: "bir gün",
- dd: "%d gün",
- w: "bir hafta",
- ww: "%d hafta",
- M: "bir ay",
- MM: "%d ay",
- y: "bir yıl",
- yy: "%d yıl"
+ lastDay: function() {
+ return "[ayer a la" + (1 !== this.hours() ? "s" : "") + "] LT"
},
- ordinal: function(e, n) {
- switch (n) {
- case "d":
- case "D":
- case "Do":
- case "DD":
- return e;
- default:
- if (0 === e) return e + "'ıncı";
- var a = e % 10;
- return e + (t[a] || t[e % 100 - a] || t[e >= 100 ? 100 : null])
- }
+ lastWeek: function() {
+ return "[el] dddd [pasado a la" + (1 !== this.hours() ? "s" : "") + "] LT"
},
- week: {
- dow: 1,
- doy: 7
- }
- })
- }(n(2083))
- }, 6608: function(e, t, n) {
- ! function(e) {
- "use strict";
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "en %s",
+ past: "hace %s",
+ s: "unos segundos",
+ ss: "%d segundos",
+ m: "un minuto",
+ mm: "%d minutos",
+ h: "una hora",
+ hh: "%d horas",
+ d: "un día",
+ dd: "%d días",
+ w: "una semana",
+ ww: "%d semanas",
+ M: "un mes",
+ MM: "%d meses",
+ y: "un año",
+ yy: "%d años"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}º/,
+ ordinal: "%dº",
+ week: {
+ dow: 1,
+ doy: 4
+ },
+ invalidDate: "Fecha inválida"
+ })
+ }(n(2083))
+}, 2132: function(e, t, n) {
+ ! function(e) {
+ "use strict";
- function t(e, t, n) {
- return "m" === n ? t ? "хвилина" : "хвилину" : "h" === n ? t ? "година" : "годину" : e + " " + (a = +e, r = {
- ss: t ? "секунда_секунди_секунд" : "секунду_секунди_секунд",
- mm: t ? "хвилина_хвилини_хвилин" : "хвилину_хвилини_хвилин",
- hh: t ? "година_години_годин" : "годину_години_годин",
- dd: "день_дні_днів",
- MM: "місяць_місяці_місяців",
- yy: "рік_роки_років"
- } [n].split("_"), a % 10 == 1 && a % 100 != 11 ? r[0] : a % 10 >= 2 && a % 10 <= 4 && (a % 100 < 10 || a % 100 >= 20) ? r[1] : r[2]);
- var a, r
+ function t(e, t, n, a) {
+ var r = {
+ s: ["mõne sekundi", "mõni sekund", "paar sekundit"],
+ ss: [e + "sekundi", e + "sekundit"],
+ m: ["ühe minuti", "üks minut"],
+ mm: [e + " minuti", e + " minutit"],
+ h: ["ühe tunni", "tund aega", "üks tund"],
+ hh: [e + " tunni", e + " tundi"],
+ d: ["ühe päeva", "üks päev"],
+ M: ["kuu aja", "kuu aega", "üks kuu"],
+ MM: [e + " kuu", e + " kuud"],
+ y: ["ühe aasta", "aasta", "üks aasta"],
+ yy: [e + " aasta", e + " aastat"]
+ };
+ return t ? r[n][2] ? r[n][2] : r[n][1] : a ? r[n][0] : r[n][1]
+ }
+ e.defineLocale("et", {
+ months: "jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),
+ monthsShort: "jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),
+ weekdays: "pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),
+ weekdaysShort: "P_E_T_K_N_R_L".split("_"),
+ weekdaysMin: "P_E_T_K_N_R_L".split("_"),
+ longDateFormat: {
+ LT: "H:mm",
+ LTS: "H:mm:ss",
+ L: "DD.MM.YYYY",
+ LL: "D. MMMM YYYY",
+ LLL: "D. MMMM YYYY H:mm",
+ LLLL: "dddd, D. MMMM YYYY H:mm"
+ },
+ calendar: {
+ sameDay: "[Täna,] LT",
+ nextDay: "[Homme,] LT",
+ nextWeek: "[Järgmine] dddd LT",
+ lastDay: "[Eile,] LT",
+ lastWeek: "[Eelmine] dddd LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "%s pärast",
+ past: "%s tagasi",
+ s: t,
+ ss: t,
+ m: t,
+ mm: t,
+ h: t,
+ hh: t,
+ d: t,
+ dd: "%d päeva",
+ M: t,
+ MM: t,
+ y: t,
+ yy: t
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
+ ordinal: "%d.",
+ week: {
+ dow: 1,
+ doy: 4
+ }
+ })
+ }(n(2083))
+}, 6316: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ e.defineLocale("eu", {
+ months: "urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),
+ monthsShort: "urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),
+ monthsParseExact: !0,
+ weekdays: "igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),
+ weekdaysShort: "ig._al._ar._az._og._ol._lr.".split("_"),
+ weekdaysMin: "ig_al_ar_az_og_ol_lr".split("_"),
+ weekdaysParseExact: !0,
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "YYYY-MM-DD",
+ LL: "YYYY[ko] MMMM[ren] D[a]",
+ LLL: "YYYY[ko] MMMM[ren] D[a] HH:mm",
+ LLLL: "dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",
+ l: "YYYY-M-D",
+ ll: "YYYY[ko] MMM D[a]",
+ lll: "YYYY[ko] MMM D[a] HH:mm",
+ llll: "ddd, YYYY[ko] MMM D[a] HH:mm"
+ },
+ calendar: {
+ sameDay: "[gaur] LT[etan]",
+ nextDay: "[bihar] LT[etan]",
+ nextWeek: "dddd LT[etan]",
+ lastDay: "[atzo] LT[etan]",
+ lastWeek: "[aurreko] dddd LT[etan]",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "%s barru",
+ past: "duela %s",
+ s: "segundo batzuk",
+ ss: "%d segundo",
+ m: "minutu bat",
+ mm: "%d minutu",
+ h: "ordu bat",
+ hh: "%d ordu",
+ d: "egun bat",
+ dd: "%d egun",
+ M: "hilabete bat",
+ MM: "%d hilabete",
+ y: "urte bat",
+ yy: "%d urte"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
+ ordinal: "%d.",
+ week: {
+ dow: 1,
+ doy: 7
+ }
+ })
+ }(n(2083))
+}, 2835: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ var t = {
+ 1: "۱",
+ 2: "۲",
+ 3: "۳",
+ 4: "۴",
+ 5: "۵",
+ 6: "۶",
+ 7: "۷",
+ 8: "۸",
+ 9: "۹",
+ 0: "۰"
+ },
+ n = {
+ "۱": "1",
+ "۲": "2",
+ "۳": "3",
+ "۴": "4",
+ "۵": "5",
+ "۶": "6",
+ "۷": "7",
+ "۸": "8",
+ "۹": "9",
+ "۰": "0"
+ };
+ e.defineLocale("fa", {
+ months: "ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),
+ monthsShort: "ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),
+ weekdays: "یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),
+ weekdaysShort: "یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),
+ weekdaysMin: "ی_د_س_چ_پ_ج_ش".split("_"),
+ weekdaysParseExact: !0,
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "DD/MM/YYYY",
+ LL: "D MMMM YYYY",
+ LLL: "D MMMM YYYY HH:mm",
+ LLLL: "dddd, D MMMM YYYY HH:mm"
+ },
+ meridiemParse: /قبل از ظهر|بعد از ظهر/,
+ isPM: function(e) {
+ return /بعد از ظهر/.test(e)
+ },
+ meridiem: function(e, t, n) {
+ return e < 12 ? "قبل از ظهر" : "بعد از ظهر"
+ },
+ calendar: {
+ sameDay: "[امروز ساعت] LT",
+ nextDay: "[فردا ساعت] LT",
+ nextWeek: "dddd [ساعت] LT",
+ lastDay: "[دیروز ساعت] LT",
+ lastWeek: "dddd [پیش] [ساعت] LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "در %s",
+ past: "%s پیش",
+ s: "چند ثانیه",
+ ss: "%d ثانیه",
+ m: "یک دقیقه",
+ mm: "%d دقیقه",
+ h: "یک ساعت",
+ hh: "%d ساعت",
+ d: "یک روز",
+ dd: "%d روز",
+ M: "یک ماه",
+ MM: "%d ماه",
+ y: "یک سال",
+ yy: "%d سال"
+ },
+ preparse: function(e) {
+ return e.replace(/[۰-۹]/g, (function(e) {
+ return n[e]
+ })).replace(/،/g, ",")
+ },
+ postformat: function(e) {
+ return e.replace(/\d/g, (function(e) {
+ return t[e]
+ })).replace(/,/g, "،")
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}م/,
+ ordinal: "%dم",
+ week: {
+ dow: 6,
+ doy: 12
}
+ })
+ }(n(2083))
+}, 7941: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ var t = "nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),
+ n = ["nolla", "yhden", "kahden", "kolmen", "neljän", "viiden", "kuuden", t[7], t[8], t[9]];
- function n(e) {
- return function() {
- return e + "о" + (11 === this.hours() ? "б" : "") + "] LT"
+ function a(e, a, r, i) {
+ var o = "";
+ switch (r) {
+ case "s":
+ return i ? "muutaman sekunnin" : "muutama sekunti";
+ case "ss":
+ o = i ? "sekunnin" : "sekuntia";
+ break;
+ case "m":
+ return i ? "minuutin" : "minuutti";
+ case "mm":
+ o = i ? "minuutin" : "minuuttia";
+ break;
+ case "h":
+ return i ? "tunnin" : "tunti";
+ case "hh":
+ o = i ? "tunnin" : "tuntia";
+ break;
+ case "d":
+ return i ? "päivän" : "päivä";
+ case "dd":
+ o = i ? "päivän" : "päivää";
+ break;
+ case "M":
+ return i ? "kuukauden" : "kuukausi";
+ case "MM":
+ o = i ? "kuukauden" : "kuukautta";
+ break;
+ case "y":
+ return i ? "vuoden" : "vuosi";
+ case "yy":
+ o = i ? "vuoden" : "vuotta"
+ }
+ return function(e, a) {
+ return e < 10 ? a ? n[e] : t[e] : e
+ }(e, i) + " " + o
+ }
+ e.defineLocale("fi", {
+ months: "tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),
+ monthsShort: "tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),
+ weekdays: "sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),
+ weekdaysShort: "su_ma_ti_ke_to_pe_la".split("_"),
+ weekdaysMin: "su_ma_ti_ke_to_pe_la".split("_"),
+ longDateFormat: {
+ LT: "HH.mm",
+ LTS: "HH.mm.ss",
+ L: "DD.MM.YYYY",
+ LL: "Do MMMM[ta] YYYY",
+ LLL: "Do MMMM[ta] YYYY, [klo] HH.mm",
+ LLLL: "dddd, Do MMMM[ta] YYYY, [klo] HH.mm",
+ l: "D.M.YYYY",
+ ll: "Do MMM YYYY",
+ lll: "Do MMM YYYY, [klo] HH.mm",
+ llll: "ddd, Do MMM YYYY, [klo] HH.mm"
+ },
+ calendar: {
+ sameDay: "[tänään] [klo] LT",
+ nextDay: "[huomenna] [klo] LT",
+ nextWeek: "dddd [klo] LT",
+ lastDay: "[eilen] [klo] LT",
+ lastWeek: "[viime] dddd[na] [klo] LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "%s päästä",
+ past: "%s sitten",
+ s: a,
+ ss: a,
+ m: a,
+ mm: a,
+ h: a,
+ hh: a,
+ d: a,
+ dd: a,
+ M: a,
+ MM: a,
+ y: a,
+ yy: a
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
+ ordinal: "%d.",
+ week: {
+ dow: 1,
+ doy: 4
+ }
+ })
+ }(n(2083))
+}, 6283: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ e.defineLocale("fr-ca", {
+ months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),
+ monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),
+ monthsParseExact: !0,
+ weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),
+ weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"),
+ weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"),
+ weekdaysParseExact: !0,
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "YYYY-MM-DD",
+ LL: "D MMMM YYYY",
+ LLL: "D MMMM YYYY HH:mm",
+ LLLL: "dddd D MMMM YYYY HH:mm"
+ },
+ calendar: {
+ sameDay: "[Aujourd’hui à] LT",
+ nextDay: "[Demain à] LT",
+ nextWeek: "dddd [à] LT",
+ lastDay: "[Hier à] LT",
+ lastWeek: "dddd [dernier à] LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "dans %s",
+ past: "il y a %s",
+ s: "quelques secondes",
+ ss: "%d secondes",
+ m: "une minute",
+ mm: "%d minutes",
+ h: "une heure",
+ hh: "%d heures",
+ d: "un jour",
+ dd: "%d jours",
+ M: "un mois",
+ MM: "%d mois",
+ y: "un an",
+ yy: "%d ans"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
+ ordinal: function(e, t) {
+ switch (t) {
+ default:
+ return e + (1 === e ? "er" : "e");
+ case "w":
+ case "W":
+ return e + (1 === e ? "re" : "e")
}
}
- e.defineLocale("uk", {
- months: {
- format: "січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),
- standalone: "січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")
- },
- monthsShort: "січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),
- weekdays: function(e, t) {
- var n = {
- nominative: "неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),
- accusative: "неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),
- genitive: "неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")
- };
- return !0 === e ? n.nominative.slice(1, 7).concat(n.nominative.slice(0, 1)) : e ? n[/(\[[ВвУу]\]) ?dddd/.test(t) ? "accusative" : /\[?(?:минулої|наступної)? ?\] ?dddd/.test(t) ? "genitive" : "nominative"][e.day()] : n.nominative
- },
- weekdaysShort: "нд_пн_вт_ср_чт_пт_сб".split("_"),
- weekdaysMin: "нд_пн_вт_ср_чт_пт_сб".split("_"),
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "DD.MM.YYYY",
- LL: "D MMMM YYYY р.",
- LLL: "D MMMM YYYY р., HH:mm",
- LLLL: "dddd, D MMMM YYYY р., HH:mm"
- },
- calendar: {
- sameDay: n("[Сьогодні "),
- nextDay: n("[Завтра "),
- lastDay: n("[Вчора "),
- nextWeek: n("[У] dddd ["),
- lastWeek: function() {
- switch (this.day()) {
- case 0:
- case 3:
- case 5:
- case 6:
- return n("[Минулої] dddd [").call(this);
- case 1:
- case 2:
- case 4:
- return n("[Минулого] dddd [").call(this)
- }
- },
- sameElse: "L"
+ })
+ }(n(2083))
+}, 5745: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ var t = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
+ n = [/^janv/i, /^févr/i, /^mars/i, /^avr/i, /^mai/i, /^juin/i, /^juil/i, /^août/i, /^sept/i, /^oct/i, /^nov/i, /^déc/i];
+ e.defineLocale("fr", {
+ months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),
+ monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),
+ monthsRegex: t,
+ monthsShortRegex: t,
+ monthsStrictRegex: /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
+ monthsShortStrictRegex: /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,
+ monthsParse: n,
+ longMonthsParse: n,
+ shortMonthsParse: n,
+ weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),
+ weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"),
+ weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"),
+ weekdaysParseExact: !0,
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "DD/MM/YYYY",
+ LL: "D MMMM YYYY",
+ LLL: "D MMMM YYYY HH:mm",
+ LLLL: "dddd D MMMM YYYY HH:mm"
+ },
+ calendar: {
+ sameDay: "[Aujourd’hui à] LT",
+ nextDay: "[Demain à] LT",
+ nextWeek: "dddd [à] LT",
+ lastDay: "[Hier à] LT",
+ lastWeek: "dddd [dernier à] LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "dans %s",
+ past: "il y a %s",
+ s: "quelques secondes",
+ ss: "%d secondes",
+ m: "une minute",
+ mm: "%d minutes",
+ h: "une heure",
+ hh: "%d heures",
+ d: "un jour",
+ dd: "%d jours",
+ w: "une semaine",
+ ww: "%d semaines",
+ M: "un mois",
+ MM: "%d mois",
+ y: "un an",
+ yy: "%d ans"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}(er|)/,
+ ordinal: function(e, t) {
+ switch (t) {
+ case "D":
+ return e + (1 === e ? "er" : "");
+ default:
+ return e + (1 === e ? "er" : "e");
+ case "w":
+ case "W":
+ return e + (1 === e ? "re" : "e")
+ }
+ },
+ week: {
+ dow: 1,
+ doy: 4
+ }
+ })
+ }(n(2083))
+}, 2348: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ e.defineLocale("gl", {
+ months: "xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),
+ monthsShort: "xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),
+ monthsParseExact: !0,
+ weekdays: "domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),
+ weekdaysShort: "dom._lun._mar._mér._xov._ven._sáb.".split("_"),
+ weekdaysMin: "do_lu_ma_mé_xo_ve_sá".split("_"),
+ weekdaysParseExact: !0,
+ longDateFormat: {
+ LT: "H:mm",
+ LTS: "H:mm:ss",
+ L: "DD/MM/YYYY",
+ LL: "D [de] MMMM [de] YYYY",
+ LLL: "D [de] MMMM [de] YYYY H:mm",
+ LLLL: "dddd, D [de] MMMM [de] YYYY H:mm"
+ },
+ calendar: {
+ sameDay: function() {
+ return "[hoxe " + (1 !== this.hours() ? "ás" : "á") + "] LT"
},
- relativeTime: {
- future: "за %s",
- past: "%s тому",
- s: "декілька секунд",
- ss: t,
- m: t,
- mm: t,
- h: "годину",
- hh: t,
- d: "день",
- dd: t,
- M: "місяць",
- MM: t,
- y: "рік",
- yy: t
+ nextDay: function() {
+ return "[mañá " + (1 !== this.hours() ? "ás" : "á") + "] LT"
},
- meridiemParse: /ночі|ранку|дня|вечора/,
- isPM: function(e) {
- return /^(дня|вечора)$/.test(e)
+ nextWeek: function() {
+ return "dddd [" + (1 !== this.hours() ? "ás" : "a") + "] LT"
},
- meridiem: function(e, t, n) {
- return e < 4 ? "ночі" : e < 12 ? "ранку" : e < 17 ? "дня" : "вечора"
+ lastDay: function() {
+ return "[onte " + (1 !== this.hours() ? "á" : "a") + "] LT"
},
- dayOfMonthOrdinalParse: /\d{1,2}-(й|го)/,
- ordinal: function(e, t) {
- switch (t) {
- case "M":
- case "d":
- case "DDD":
- case "w":
- case "W":
- return e + "-й";
- case "D":
- return e + "-го";
- default:
- return e
- }
+ lastWeek: function() {
+ return "[o] dddd [pasado " + (1 !== this.hours() ? "ás" : "a") + "] LT"
},
- week: {
- dow: 1,
- doy: 7
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: function(e) {
+ return 0 === e.indexOf("un") ? "n" + e : "en " + e
+ },
+ past: "hai %s",
+ s: "uns segundos",
+ ss: "%d segundos",
+ m: "un minuto",
+ mm: "%d minutos",
+ h: "unha hora",
+ hh: "%d horas",
+ d: "un día",
+ dd: "%d días",
+ M: "un mes",
+ MM: "%d meses",
+ y: "un ano",
+ yy: "%d anos"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}º/,
+ ordinal: "%dº",
+ week: {
+ dow: 1,
+ doy: 4
+ }
+ })
+ }(n(2083))
+}, 2844: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ e.defineLocale("he", {
+ months: "ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),
+ monthsShort: "ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),
+ weekdays: "ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),
+ weekdaysShort: "א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),
+ weekdaysMin: "א_ב_ג_ד_ה_ו_ש".split("_"),
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "DD/MM/YYYY",
+ LL: "D [ב]MMMM YYYY",
+ LLL: "D [ב]MMMM YYYY HH:mm",
+ LLLL: "dddd, D [ב]MMMM YYYY HH:mm",
+ l: "D/M/YYYY",
+ ll: "D MMM YYYY",
+ lll: "D MMM YYYY HH:mm",
+ llll: "ddd, D MMM YYYY HH:mm"
+ },
+ calendar: {
+ sameDay: "[היום ב־]LT",
+ nextDay: "[מחר ב־]LT",
+ nextWeek: "dddd [בשעה] LT",
+ lastDay: "[אתמול ב־]LT",
+ lastWeek: "[ביום] dddd [האחרון בשעה] LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "בעוד %s",
+ past: "לפני %s",
+ s: "מספר שניות",
+ ss: "%d שניות",
+ m: "דקה",
+ mm: "%d דקות",
+ h: "שעה",
+ hh: function(e) {
+ return 2 === e ? "שעתיים" : e + " שעות"
+ },
+ d: "יום",
+ dd: function(e) {
+ return 2 === e ? "יומיים" : e + " ימים"
+ },
+ M: "חודש",
+ MM: function(e) {
+ return 2 === e ? "חודשיים" : e + " חודשים"
+ },
+ y: "שנה",
+ yy: function(e) {
+ return 2 === e ? "שנתיים" : e % 10 == 0 && 10 !== e ? e + " שנה" : e + " שנים"
}
- })
- }(n(2083))
- }, 8858: function(e, t, n) {
- ! function(e) {
- "use strict";
- e.defineLocale("vi", {
- months: "tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),
- monthsShort: "Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),
- monthsParseExact: !0,
- weekdays: "chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),
- weekdaysShort: "CN_T2_T3_T4_T5_T6_T7".split("_"),
- weekdaysMin: "CN_T2_T3_T4_T5_T6_T7".split("_"),
- weekdaysParseExact: !0,
- meridiemParse: /sa|ch/i,
- isPM: function(e) {
- return /^ch$/i.test(e)
+ },
+ meridiemParse: /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,
+ isPM: function(e) {
+ return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)
+ },
+ meridiem: function(e, t, n) {
+ return e < 5 ? "לפנות בוקר" : e < 10 ? "בבוקר" : e < 12 ? n ? 'לפנה"צ' : "לפני הצהריים" : e < 18 ? n ? 'אחה"צ' : "אחרי הצהריים" : "בערב"
+ }
+ })
+ }(n(2083))
+}, 4590: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+
+ function t(e, t, n) {
+ var a = e + " ";
+ switch (n) {
+ case "ss":
+ return a + (1 === e ? "sekunda" : 2 === e || 3 === e || 4 === e ? "sekunde" : "sekundi");
+ case "m":
+ return t ? "jedna minuta" : "jedne minute";
+ case "mm":
+ return a + (1 === e ? "minuta" : 2 === e || 3 === e || 4 === e ? "minute" : "minuta");
+ case "h":
+ return t ? "jedan sat" : "jednog sata";
+ case "hh":
+ return a + (1 === e ? "sat" : 2 === e || 3 === e || 4 === e ? "sata" : "sati");
+ case "dd":
+ return a + (1 === e ? "dan" : "dana");
+ case "MM":
+ return a + (1 === e ? "mjesec" : 2 === e || 3 === e || 4 === e ? "mjeseca" : "mjeseci");
+ case "yy":
+ return a + (1 === e ? "godina" : 2 === e || 3 === e || 4 === e ? "godine" : "godina")
+ }
+ }
+ e.defineLocale("hr", {
+ months: {
+ format: "siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),
+ standalone: "siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")
+ },
+ monthsShort: "sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),
+ monthsParseExact: !0,
+ weekdays: "nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),
+ weekdaysShort: "ned._pon._uto._sri._čet._pet._sub.".split("_"),
+ weekdaysMin: "ne_po_ut_sr_če_pe_su".split("_"),
+ weekdaysParseExact: !0,
+ longDateFormat: {
+ LT: "H:mm",
+ LTS: "H:mm:ss",
+ L: "DD.MM.YYYY",
+ LL: "Do MMMM YYYY",
+ LLL: "Do MMMM YYYY H:mm",
+ LLLL: "dddd, Do MMMM YYYY H:mm"
+ },
+ calendar: {
+ sameDay: "[danas u] LT",
+ nextDay: "[sutra u] LT",
+ nextWeek: function() {
+ switch (this.day()) {
+ case 0:
+ return "[u] [nedjelju] [u] LT";
+ case 3:
+ return "[u] [srijedu] [u] LT";
+ case 6:
+ return "[u] [subotu] [u] LT";
+ case 1:
+ case 2:
+ case 4:
+ case 5:
+ return "[u] dddd [u] LT"
+ }
},
- meridiem: function(e, t, n) {
- return e < 12 ? n ? "sa" : "SA" : n ? "ch" : "CH"
+ lastDay: "[jučer u] LT",
+ lastWeek: function() {
+ switch (this.day()) {
+ case 0:
+ return "[prošlu] [nedjelju] [u] LT";
+ case 3:
+ return "[prošlu] [srijedu] [u] LT";
+ case 6:
+ return "[prošle] [subote] [u] LT";
+ case 1:
+ case 2:
+ case 4:
+ case 5:
+ return "[prošli] dddd [u] LT"
+ }
},
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "DD/MM/YYYY",
- LL: "D MMMM [năm] YYYY",
- LLL: "D MMMM [năm] YYYY HH:mm",
- LLLL: "dddd, D MMMM [năm] YYYY HH:mm",
- l: "DD/M/YYYY",
- ll: "D MMM YYYY",
- lll: "D MMM YYYY HH:mm",
- llll: "ddd, D MMM YYYY HH:mm"
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "za %s",
+ past: "prije %s",
+ s: "par sekundi",
+ ss: t,
+ m: t,
+ mm: t,
+ h: t,
+ hh: t,
+ d: "dan",
+ dd: t,
+ M: "mjesec",
+ MM: t,
+ y: "godinu",
+ yy: t
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
+ ordinal: "%d.",
+ week: {
+ dow: 1,
+ doy: 7
+ }
+ })
+ }(n(2083))
+}, 6941: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ var t = "vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");
+
+ function n(e, t, n, a) {
+ var r = e;
+ switch (n) {
+ case "s":
+ return a || t ? "néhány másodperc" : "néhány másodperce";
+ case "ss":
+ return r + (a || t) ? " másodperc" : " másodperce";
+ case "m":
+ return "egy" + (a || t ? " perc" : " perce");
+ case "mm":
+ return r + (a || t ? " perc" : " perce");
+ case "h":
+ return "egy" + (a || t ? " óra" : " órája");
+ case "hh":
+ return r + (a || t ? " óra" : " órája");
+ case "d":
+ return "egy" + (a || t ? " nap" : " napja");
+ case "dd":
+ return r + (a || t ? " nap" : " napja");
+ case "M":
+ return "egy" + (a || t ? " hónap" : " hónapja");
+ case "MM":
+ return r + (a || t ? " hónap" : " hónapja");
+ case "y":
+ return "egy" + (a || t ? " év" : " éve");
+ case "yy":
+ return r + (a || t ? " év" : " éve")
+ }
+ return ""
+ }
+
+ function a(e) {
+ return (e ? "" : "[múlt] ") + "[" + t[this.day()] + "] LT[-kor]"
+ }
+ e.defineLocale("hu", {
+ months: "január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),
+ monthsShort: "jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),
+ monthsParseExact: !0,
+ weekdays: "vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),
+ weekdaysShort: "vas_hét_kedd_sze_csüt_pén_szo".split("_"),
+ weekdaysMin: "v_h_k_sze_cs_p_szo".split("_"),
+ longDateFormat: {
+ LT: "H:mm",
+ LTS: "H:mm:ss",
+ L: "YYYY.MM.DD.",
+ LL: "YYYY. MMMM D.",
+ LLL: "YYYY. MMMM D. H:mm",
+ LLLL: "YYYY. MMMM D., dddd H:mm"
+ },
+ meridiemParse: /de|du/i,
+ isPM: function(e) {
+ return "u" === e.charAt(1).toLowerCase()
+ },
+ meridiem: function(e, t, n) {
+ return e < 12 ? !0 === n ? "de" : "DE" : !0 === n ? "du" : "DU"
+ },
+ calendar: {
+ sameDay: "[ma] LT[-kor]",
+ nextDay: "[holnap] LT[-kor]",
+ nextWeek: function() {
+ return a.call(this, !0)
},
- calendar: {
- sameDay: "[Hôm nay lúc] LT",
- nextDay: "[Ngày mai lúc] LT",
- nextWeek: "dddd [tuần tới lúc] LT",
- lastDay: "[Hôm qua lúc] LT",
- lastWeek: "dddd [tuần trước lúc] LT",
- sameElse: "L"
+ lastDay: "[tegnap] LT[-kor]",
+ lastWeek: function() {
+ return a.call(this, !1)
},
- relativeTime: {
- future: "%s tới",
- past: "%s trước",
- s: "vài giây",
- ss: "%d giây",
- m: "một phút",
- mm: "%d phút",
- h: "một giờ",
- hh: "%d giờ",
- d: "một ngày",
- dd: "%d ngày",
- w: "một tuần",
- ww: "%d tuần",
- M: "một tháng",
- MM: "%d tháng",
- y: "một năm",
- yy: "%d năm"
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "%s múlva",
+ past: "%s",
+ s: n,
+ ss: n,
+ m: n,
+ mm: n,
+ h: n,
+ hh: n,
+ d: n,
+ dd: n,
+ M: n,
+ MM: n,
+ y: n,
+ yy: n
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
+ ordinal: "%d.",
+ week: {
+ dow: 1,
+ doy: 4
+ }
+ })
+ }(n(2083))
+}, 1638: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ e.defineLocale("hy-am", {
+ months: {
+ format: "հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),
+ standalone: "հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")
+ },
+ monthsShort: "հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),
+ weekdays: "կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),
+ weekdaysShort: "կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),
+ weekdaysMin: "կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "DD.MM.YYYY",
+ LL: "D MMMM YYYY թ.",
+ LLL: "D MMMM YYYY թ., HH:mm",
+ LLLL: "dddd, D MMMM YYYY թ., HH:mm"
+ },
+ calendar: {
+ sameDay: "[այսօր] LT",
+ nextDay: "[վաղը] LT",
+ lastDay: "[երեկ] LT",
+ nextWeek: function() {
+ return "dddd [օրը ժամը] LT"
},
- dayOfMonthOrdinalParse: /\d{1,2}/,
- ordinal: function(e) {
- return e
+ lastWeek: function() {
+ return "[անցած] dddd [օրը ժամը] LT"
},
- week: {
- dow: 1,
- doy: 4
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "%s հետո",
+ past: "%s առաջ",
+ s: "մի քանի վայրկյան",
+ ss: "%d վայրկյան",
+ m: "րոպե",
+ mm: "%d րոպե",
+ h: "ժամ",
+ hh: "%d ժամ",
+ d: "օր",
+ dd: "%d օր",
+ M: "ամիս",
+ MM: "%d ամիս",
+ y: "տարի",
+ yy: "%d տարի"
+ },
+ meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,
+ isPM: function(e) {
+ return /^(ցերեկվա|երեկոյան)$/.test(e)
+ },
+ meridiem: function(e) {
+ return e < 4 ? "գիշերվա" : e < 12 ? "առավոտվա" : e < 17 ? "ցերեկվա" : "երեկոյան"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/,
+ ordinal: function(e, t) {
+ switch (t) {
+ case "DDD":
+ case "w":
+ case "W":
+ case "DDDo":
+ return 1 === e ? e + "-ին" : e + "-րդ";
+ default:
+ return e
}
- })
- }(n(2083))
- }, 670: function(e, t, n) {
- ! function(e) {
- "use strict";
- e.defineLocale("zh-cn", {
- months: "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),
- monthsShort: "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
- weekdays: "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),
- weekdaysShort: "周日_周一_周二_周三_周四_周五_周六".split("_"),
- weekdaysMin: "日_一_二_三_四_五_六".split("_"),
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "YYYY/MM/DD",
- LL: "YYYY年M月D日",
- LLL: "YYYY年M月D日Ah点mm分",
- LLLL: "YYYY年M月D日ddddAh点mm分",
- l: "YYYY/M/D",
- ll: "YYYY年M月D日",
- lll: "YYYY年M月D日 HH:mm",
- llll: "YYYY年M月D日dddd HH:mm"
- },
- meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
- meridiemHour: function(e, t) {
- return 12 === e && (e = 0), "凌晨" === t || "早上" === t || "上午" === t ? e : "下午" === t || "晚上" === t ? e + 12 : e >= 11 ? e : e + 12
- },
- meridiem: function(e, t, n) {
- var a = 100 * e + t;
- return a < 600 ? "凌晨" : a < 900 ? "早上" : a < 1130 ? "上午" : a < 1230 ? "中午" : a < 1800 ? "下午" : "晚上"
- },
- calendar: {
- sameDay: "[今天]LT",
- nextDay: "[明天]LT",
- nextWeek: function(e) {
- return e.week() !== this.week() ? "[下]dddLT" : "[本]dddLT"
- },
- lastDay: "[昨天]LT",
- lastWeek: function(e) {
- return this.week() !== e.week() ? "[上]dddLT" : "[本]dddLT"
- },
- sameElse: "L"
- },
- dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/,
- ordinal: function(e, t) {
- switch (t) {
- case "d":
- case "D":
- case "DDD":
- return e + "日";
- case "M":
- return e + "月";
- case "w":
- case "W":
- return e + "周";
- default:
- return e
- }
+ },
+ week: {
+ dow: 1,
+ doy: 7
+ }
+ })
+ }(n(2083))
+}, 5651: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ e.defineLocale("id", {
+ months: "Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),
+ monthsShort: "Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),
+ weekdays: "Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),
+ weekdaysShort: "Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),
+ weekdaysMin: "Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),
+ longDateFormat: {
+ LT: "HH.mm",
+ LTS: "HH.mm.ss",
+ L: "DD/MM/YYYY",
+ LL: "D MMMM YYYY",
+ LLL: "D MMMM YYYY [pukul] HH.mm",
+ LLLL: "dddd, D MMMM YYYY [pukul] HH.mm"
+ },
+ meridiemParse: /pagi|siang|sore|malam/,
+ meridiemHour: function(e, t) {
+ return 12 === e && (e = 0), "pagi" === t ? e : "siang" === t ? e >= 11 ? e : e + 12 : "sore" === t || "malam" === t ? e + 12 : void 0
+ },
+ meridiem: function(e, t, n) {
+ return e < 11 ? "pagi" : e < 15 ? "siang" : e < 19 ? "sore" : "malam"
+ },
+ calendar: {
+ sameDay: "[Hari ini pukul] LT",
+ nextDay: "[Besok pukul] LT",
+ nextWeek: "dddd [pukul] LT",
+ lastDay: "[Kemarin pukul] LT",
+ lastWeek: "dddd [lalu pukul] LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "dalam %s",
+ past: "%s yang lalu",
+ s: "beberapa detik",
+ ss: "%d detik",
+ m: "semenit",
+ mm: "%d menit",
+ h: "sejam",
+ hh: "%d jam",
+ d: "sehari",
+ dd: "%d hari",
+ M: "sebulan",
+ MM: "%d bulan",
+ y: "setahun",
+ yy: "%d tahun"
+ },
+ week: {
+ dow: 0,
+ doy: 6
+ }
+ })
+ }(n(2083))
+}, 2821: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+
+ function t(e) {
+ return e % 100 == 11 || e % 10 != 1
+ }
+
+ function n(e, n, a, r) {
+ var i = e + " ";
+ switch (a) {
+ case "s":
+ return n || r ? "nokkrar sekúndur" : "nokkrum sekúndum";
+ case "ss":
+ return t(e) ? i + (n || r ? "sekúndur" : "sekúndum") : i + "sekúnda";
+ case "m":
+ return n ? "mínúta" : "mínútu";
+ case "mm":
+ return t(e) ? i + (n || r ? "mínútur" : "mínútum") : n ? i + "mínúta" : i + "mínútu";
+ case "hh":
+ return t(e) ? i + (n || r ? "klukkustundir" : "klukkustundum") : i + "klukkustund";
+ case "d":
+ return n ? "dagur" : r ? "dag" : "degi";
+ case "dd":
+ return t(e) ? n ? i + "dagar" : i + (r ? "daga" : "dögum") : n ? i + "dagur" : i + (r ? "dag" : "degi");
+ case "M":
+ return n ? "mánuður" : r ? "mánuð" : "mánuði";
+ case "MM":
+ return t(e) ? n ? i + "mánuðir" : i + (r ? "mánuði" : "mánuðum") : n ? i + "mánuður" : i + (r ? "mánuð" : "mánuði");
+ case "y":
+ return n || r ? "ár" : "ári";
+ case "yy":
+ return t(e) ? i + (n || r ? "ár" : "árum") : i + (n || r ? "ár" : "ári")
+ }
+ }
+ e.defineLocale("is", {
+ months: "janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),
+ monthsShort: "jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),
+ weekdays: "sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),
+ weekdaysShort: "sun_mán_þri_mið_fim_fös_lau".split("_"),
+ weekdaysMin: "Su_Má_Þr_Mi_Fi_Fö_La".split("_"),
+ longDateFormat: {
+ LT: "H:mm",
+ LTS: "H:mm:ss",
+ L: "DD.MM.YYYY",
+ LL: "D. MMMM YYYY",
+ LLL: "D. MMMM YYYY [kl.] H:mm",
+ LLLL: "dddd, D. MMMM YYYY [kl.] H:mm"
+ },
+ calendar: {
+ sameDay: "[í dag kl.] LT",
+ nextDay: "[á morgun kl.] LT",
+ nextWeek: "dddd [kl.] LT",
+ lastDay: "[í gær kl.] LT",
+ lastWeek: "[síðasta] dddd [kl.] LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "eftir %s",
+ past: "fyrir %s síðan",
+ s: n,
+ ss: n,
+ m: n,
+ mm: n,
+ h: "klukkustund",
+ hh: n,
+ d: n,
+ dd: n,
+ M: n,
+ MM: n,
+ y: n,
+ yy: n
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
+ ordinal: "%d.",
+ week: {
+ dow: 1,
+ doy: 4
+ }
+ })
+ }(n(2083))
+}, 7974: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ e.defineLocale("it", {
+ months: "gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),
+ monthsShort: "gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),
+ weekdays: "domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),
+ weekdaysShort: "dom_lun_mar_mer_gio_ven_sab".split("_"),
+ weekdaysMin: "do_lu_ma_me_gi_ve_sa".split("_"),
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "DD/MM/YYYY",
+ LL: "D MMMM YYYY",
+ LLL: "D MMMM YYYY HH:mm",
+ LLLL: "dddd D MMMM YYYY HH:mm"
+ },
+ calendar: {
+ sameDay: function() {
+ return "[Oggi a" + (this.hours() > 1 ? "lle " : 0 === this.hours() ? " " : "ll'") + "]LT"
},
- relativeTime: {
- future: "%s后",
- past: "%s前",
- s: "几秒",
- ss: "%d 秒",
- m: "1 分钟",
- mm: "%d 分钟",
- h: "1 小时",
- hh: "%d 小时",
- d: "1 天",
- dd: "%d 天",
- w: "1 周",
- ww: "%d 周",
- M: "1 个月",
- MM: "%d 个月",
- y: "1 年",
- yy: "%d 年"
+ nextDay: function() {
+ return "[Domani a" + (this.hours() > 1 ? "lle " : 0 === this.hours() ? " " : "ll'") + "]LT"
},
- week: {
- dow: 1,
- doy: 4
- }
- })
- }(n(2083))
- }, 3520: function(e, t, n) {
- ! function(e) {
- "use strict";
- e.defineLocale("zh-tw", {
- months: "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),
- monthsShort: "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
- weekdays: "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),
- weekdaysShort: "週日_週一_週二_週三_週四_週五_週六".split("_"),
- weekdaysMin: "日_一_二_三_四_五_六".split("_"),
- longDateFormat: {
- LT: "HH:mm",
- LTS: "HH:mm:ss",
- L: "YYYY/MM/DD",
- LL: "YYYY年M月D日",
- LLL: "YYYY年M月D日 HH:mm",
- LLLL: "YYYY年M月D日dddd HH:mm",
- l: "YYYY/M/D",
- ll: "YYYY年M月D日",
- lll: "YYYY年M月D日 HH:mm",
- llll: "YYYY年M月D日dddd HH:mm"
+ nextWeek: function() {
+ return "dddd [a" + (this.hours() > 1 ? "lle " : 0 === this.hours() ? " " : "ll'") + "]LT"
},
- meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
- meridiemHour: function(e, t) {
- return 12 === e && (e = 0), "凌晨" === t || "早上" === t || "上午" === t ? e : "中午" === t ? e >= 11 ? e : e + 12 : "下午" === t || "晚上" === t ? e + 12 : void 0
+ lastDay: function() {
+ return "[Ieri a" + (this.hours() > 1 ? "lle " : 0 === this.hours() ? " " : "ll'") + "]LT"
},
- meridiem: function(e, t, n) {
- var a = 100 * e + t;
- return a < 600 ? "凌晨" : a < 900 ? "早上" : a < 1130 ? "上午" : a < 1230 ? "中午" : a < 1800 ? "下午" : "晚上"
+ lastWeek: function() {
+ return 0 === this.day() ? "[La scorsa] dddd [a" + (this.hours() > 1 ? "lle " : 0 === this.hours() ? " " : "ll'") + "]LT" : "[Lo scorso] dddd [a" + (this.hours() > 1 ? "lle " : 0 === this.hours() ? " " : "ll'") + "]LT"
},
- calendar: {
- sameDay: "[今天] LT",
- nextDay: "[明天] LT",
- nextWeek: "[下]dddd LT",
- lastDay: "[昨天] LT",
- lastWeek: "[上]dddd LT",
- sameElse: "L"
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "tra %s",
+ past: "%s fa",
+ s: "alcuni secondi",
+ ss: "%d secondi",
+ m: "un minuto",
+ mm: "%d minuti",
+ h: "un'ora",
+ hh: "%d ore",
+ d: "un giorno",
+ dd: "%d giorni",
+ w: "una settimana",
+ ww: "%d settimane",
+ M: "un mese",
+ MM: "%d mesi",
+ y: "un anno",
+ yy: "%d anni"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}º/,
+ ordinal: "%dº",
+ week: {
+ dow: 1,
+ doy: 4
+ }
+ })
+ }(n(2083))
+}, 8806: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ e.defineLocale("ja", {
+ eras: [{
+ since: "2019-05-01",
+ offset: 1,
+ name: "令和",
+ narrow: "㋿",
+ abbr: "R"
+ }, {
+ since: "1989-01-08",
+ until: "2019-04-30",
+ offset: 1,
+ name: "平成",
+ narrow: "㍻",
+ abbr: "H"
+ }, {
+ since: "1926-12-25",
+ until: "1989-01-07",
+ offset: 1,
+ name: "昭和",
+ narrow: "㍼",
+ abbr: "S"
+ }, {
+ since: "1912-07-30",
+ until: "1926-12-24",
+ offset: 1,
+ name: "大正",
+ narrow: "㍽",
+ abbr: "T"
+ }, {
+ since: "1873-01-01",
+ until: "1912-07-29",
+ offset: 6,
+ name: "明治",
+ narrow: "㍾",
+ abbr: "M"
+ }, {
+ since: "0001-01-01",
+ until: "1873-12-31",
+ offset: 1,
+ name: "西暦",
+ narrow: "AD",
+ abbr: "AD"
+ }, {
+ since: "0000-12-31",
+ until: -1 / 0,
+ offset: 1,
+ name: "紀元前",
+ narrow: "BC",
+ abbr: "BC"
+ }],
+ eraYearOrdinalRegex: /(元|\d+)年/,
+ eraYearOrdinalParse: function(e, t) {
+ return "元" === t[1] ? 1 : parseInt(t[1] || e, 10)
+ },
+ months: "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
+ monthsShort: "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
+ weekdays: "日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),
+ weekdaysShort: "日_月_火_水_木_金_土".split("_"),
+ weekdaysMin: "日_月_火_水_木_金_土".split("_"),
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "YYYY/MM/DD",
+ LL: "YYYY年M月D日",
+ LLL: "YYYY年M月D日 HH:mm",
+ LLLL: "YYYY年M月D日 dddd HH:mm",
+ l: "YYYY/MM/DD",
+ ll: "YYYY年M月D日",
+ lll: "YYYY年M月D日 HH:mm",
+ llll: "YYYY年M月D日(ddd) HH:mm"
+ },
+ meridiemParse: /午前|午後/i,
+ isPM: function(e) {
+ return "午後" === e
+ },
+ meridiem: function(e, t, n) {
+ return e < 12 ? "午前" : "午後"
+ },
+ calendar: {
+ sameDay: "[今日] LT",
+ nextDay: "[明日] LT",
+ nextWeek: function(e) {
+ return e.week() !== this.week() ? "[来週]dddd LT" : "dddd LT"
},
- dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
- ordinal: function(e, t) {
- switch (t) {
- case "d":
- case "D":
- case "DDD":
- return e + "日";
- case "M":
- return e + "月";
- case "w":
- case "W":
- return e + "週";
- default:
- return e
- }
+ lastDay: "[昨日] LT",
+ lastWeek: function(e) {
+ return this.week() !== e.week() ? "[先週]dddd LT" : "dddd LT"
},
- relativeTime: {
- future: "%s後",
- past: "%s前",
- s: "幾秒",
- ss: "%d 秒",
- m: "1 分鐘",
- mm: "%d 分鐘",
- h: "1 小時",
- hh: "%d 小時",
- d: "1 天",
- dd: "%d 天",
- M: "1 個月",
- MM: "%d 個月",
- y: "1 年",
- yy: "%d 年"
+ sameElse: "L"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}日/,
+ ordinal: function(e, t) {
+ switch (t) {
+ case "y":
+ return 1 === e ? "元年" : e + "年";
+ case "d":
+ case "D":
+ case "DDD":
+ return e + "日";
+ default:
+ return e
}
- })
- }(n(2083))
- }, 2083: function(e, t, n) {
- (e = n.nmd(e)).exports = function() {
- "use strict";
- var t, n;
+ },
+ relativeTime: {
+ future: "%s後",
+ past: "%s前",
+ s: "数秒",
+ ss: "%d秒",
+ m: "1分",
+ mm: "%d分",
+ h: "1時間",
+ hh: "%d時間",
+ d: "1日",
+ dd: "%d日",
+ M: "1ヶ月",
+ MM: "%dヶ月",
+ y: "1年",
+ yy: "%d年"
+ }
+ })
+ }(n(2083))
+}, 794: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ e.defineLocale("ko", {
+ months: "1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),
+ monthsShort: "1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),
+ weekdays: "일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),
+ weekdaysShort: "일_월_화_수_목_금_토".split("_"),
+ weekdaysMin: "일_월_화_수_목_금_토".split("_"),
+ longDateFormat: {
+ LT: "A h:mm",
+ LTS: "A h:mm:ss",
+ L: "YYYY.MM.DD.",
+ LL: "YYYY년 MMMM D일",
+ LLL: "YYYY년 MMMM D일 A h:mm",
+ LLLL: "YYYY년 MMMM D일 dddd A h:mm",
+ l: "YYYY.MM.DD.",
+ ll: "YYYY년 MMMM D일",
+ lll: "YYYY년 MMMM D일 A h:mm",
+ llll: "YYYY년 MMMM D일 dddd A h:mm"
+ },
+ calendar: {
+ sameDay: "오늘 LT",
+ nextDay: "내일 LT",
+ nextWeek: "dddd LT",
+ lastDay: "어제 LT",
+ lastWeek: "지난주 dddd LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "%s 후",
+ past: "%s 전",
+ s: "몇 초",
+ ss: "%d초",
+ m: "1분",
+ mm: "%d분",
+ h: "한 시간",
+ hh: "%d시간",
+ d: "하루",
+ dd: "%d일",
+ M: "한 달",
+ MM: "%d달",
+ y: "일 년",
+ yy: "%d년"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}(일|월|주)/,
+ ordinal: function(e, t) {
+ switch (t) {
+ case "d":
+ case "D":
+ case "DDD":
+ return e + "일";
+ case "M":
+ return e + "월";
+ case "w":
+ case "W":
+ return e + "주";
+ default:
+ return e
+ }
+ },
+ meridiemParse: /오전|오후/,
+ isPM: function(e) {
+ return "오후" === e
+ },
+ meridiem: function(e, t, n) {
+ return e < 12 ? "오전" : "오후"
+ }
+ })
+ }(n(2083))
+}, 8004: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ var t = {
+ ss: "sekundė_sekundžių_sekundes",
+ m: "minutė_minutės_minutę",
+ mm: "minutės_minučių_minutes",
+ h: "valanda_valandos_valandą",
+ hh: "valandos_valandų_valandas",
+ d: "diena_dienos_dieną",
+ dd: "dienos_dienų_dienas",
+ M: "mėnuo_mėnesio_mėnesį",
+ MM: "mėnesiai_mėnesių_mėnesius",
+ y: "metai_metų_metus",
+ yy: "metai_metų_metus"
+ };
- function a() {
- return t.apply(null, arguments)
+ function n(e, t, n, a) {
+ return t ? r(n)[0] : a ? r(n)[1] : r(n)[2]
+ }
+
+ function a(e) {
+ return e % 10 == 0 || e > 10 && e < 20
+ }
+
+ function r(e) {
+ return t[e].split("_")
+ }
+
+ function i(e, t, i, o) {
+ var s = e + " ";
+ return 1 === e ? s + n(0, t, i[0], o) : t ? s + (a(e) ? r(i)[1] : r(i)[0]) : o ? s + r(i)[1] : s + (a(e) ? r(i)[1] : r(i)[2])
+ }
+ e.defineLocale("lt", {
+ months: {
+ format: "sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),
+ standalone: "sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),
+ isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/
+ },
+ monthsShort: "sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),
+ weekdays: {
+ format: "sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),
+ standalone: "sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),
+ isFormat: /dddd HH:mm/
+ },
+ weekdaysShort: "Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),
+ weekdaysMin: "S_P_A_T_K_Pn_Š".split("_"),
+ weekdaysParseExact: !0,
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "YYYY-MM-DD",
+ LL: "YYYY [m.] MMMM D [d.]",
+ LLL: "YYYY [m.] MMMM D [d.], HH:mm [val.]",
+ LLLL: "YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",
+ l: "YYYY-MM-DD",
+ ll: "YYYY [m.] MMMM D [d.]",
+ lll: "YYYY [m.] MMMM D [d.], HH:mm [val.]",
+ llll: "YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"
+ },
+ calendar: {
+ sameDay: "[Šiandien] LT",
+ nextDay: "[Rytoj] LT",
+ nextWeek: "dddd LT",
+ lastDay: "[Vakar] LT",
+ lastWeek: "[Praėjusį] dddd LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "po %s",
+ past: "prieš %s",
+ s: function(e, t, n, a) {
+ return t ? "kelios sekundės" : a ? "kelių sekundžių" : "kelias sekundes"
+ },
+ ss: i,
+ m: n,
+ mm: i,
+ h: n,
+ hh: i,
+ d: n,
+ dd: i,
+ M: n,
+ MM: i,
+ y: n,
+ yy: i
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}-oji/,
+ ordinal: function(e) {
+ return e + "-oji"
+ },
+ week: {
+ dow: 1,
+ doy: 4
+ }
+ })
+ }(n(2083))
+}, 9297: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ var t = {
+ ss: "sekundes_sekundēm_sekunde_sekundes".split("_"),
+ m: "minūtes_minūtēm_minūte_minūtes".split("_"),
+ mm: "minūtes_minūtēm_minūte_minūtes".split("_"),
+ h: "stundas_stundām_stunda_stundas".split("_"),
+ hh: "stundas_stundām_stunda_stundas".split("_"),
+ d: "dienas_dienām_diena_dienas".split("_"),
+ dd: "dienas_dienām_diena_dienas".split("_"),
+ M: "mēneša_mēnešiem_mēnesis_mēneši".split("_"),
+ MM: "mēneša_mēnešiem_mēnesis_mēneši".split("_"),
+ y: "gada_gadiem_gads_gadi".split("_"),
+ yy: "gada_gadiem_gads_gadi".split("_")
+ };
+
+ function n(e, t, n) {
+ return n ? t % 10 == 1 && t % 100 != 11 ? e[2] : e[3] : t % 10 == 1 && t % 100 != 11 ? e[0] : e[1]
+ }
+
+ function a(e, a, r) {
+ return e + " " + n(t[r], e, a)
+ }
+
+ function r(e, a, r) {
+ return n(t[r], e, a)
+ }
+ e.defineLocale("lv", {
+ months: "janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),
+ monthsShort: "jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),
+ weekdays: "svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),
+ weekdaysShort: "Sv_P_O_T_C_Pk_S".split("_"),
+ weekdaysMin: "Sv_P_O_T_C_Pk_S".split("_"),
+ weekdaysParseExact: !0,
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "DD.MM.YYYY.",
+ LL: "YYYY. [gada] D. MMMM",
+ LLL: "YYYY. [gada] D. MMMM, HH:mm",
+ LLLL: "YYYY. [gada] D. MMMM, dddd, HH:mm"
+ },
+ calendar: {
+ sameDay: "[Šodien pulksten] LT",
+ nextDay: "[Rīt pulksten] LT",
+ nextWeek: "dddd [pulksten] LT",
+ lastDay: "[Vakar pulksten] LT",
+ lastWeek: "[Pagājušā] dddd [pulksten] LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "pēc %s",
+ past: "pirms %s",
+ s: function(e, t) {
+ return t ? "dažas sekundes" : "dažām sekundēm"
+ },
+ ss: a,
+ m: r,
+ mm: a,
+ h: r,
+ hh: a,
+ d: r,
+ dd: a,
+ M: r,
+ MM: a,
+ y: r,
+ yy: a
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
+ ordinal: "%d.",
+ week: {
+ dow: 1,
+ doy: 4
+ }
+ })
+ }(n(2083))
+}, 3998: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ e.defineLocale("ml", {
+ months: "ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),
+ monthsShort: "ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),
+ monthsParseExact: !0,
+ weekdays: "ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),
+ weekdaysShort: "ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),
+ weekdaysMin: "ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),
+ longDateFormat: {
+ LT: "A h:mm -നു",
+ LTS: "A h:mm:ss -നു",
+ L: "DD/MM/YYYY",
+ LL: "D MMMM YYYY",
+ LLL: "D MMMM YYYY, A h:mm -നു",
+ LLLL: "dddd, D MMMM YYYY, A h:mm -നു"
+ },
+ calendar: {
+ sameDay: "[ഇന്ന്] LT",
+ nextDay: "[നാളെ] LT",
+ nextWeek: "dddd, LT",
+ lastDay: "[ഇന്നലെ] LT",
+ lastWeek: "[കഴിഞ്ഞ] dddd, LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "%s കഴിഞ്ഞ്",
+ past: "%s മുൻപ്",
+ s: "അൽപ നിമിഷങ്ങൾ",
+ ss: "%d സെക്കൻഡ്",
+ m: "ഒരു മിനിറ്റ്",
+ mm: "%d മിനിറ്റ്",
+ h: "ഒരു മണിക്കൂർ",
+ hh: "%d മണിക്കൂർ",
+ d: "ഒരു ദിവസം",
+ dd: "%d ദിവസം",
+ M: "ഒരു മാസം",
+ MM: "%d മാസം",
+ y: "ഒരു വർഷം",
+ yy: "%d വർഷം"
+ },
+ meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,
+ meridiemHour: function(e, t) {
+ return 12 === e && (e = 0), "രാത്രി" === t && e >= 4 || "ഉച്ച കഴിഞ്ഞ്" === t || "വൈകുന്നേരം" === t ? e + 12 : e
+ },
+ meridiem: function(e, t, n) {
+ return e < 4 ? "രാത്രി" : e < 12 ? "രാവിലെ" : e < 17 ? "ഉച്ച കഴിഞ്ഞ്" : e < 20 ? "വൈകുന്നേരം" : "രാത്രി"
+ }
+ })
+ }(n(2083))
+}, 4989: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+
+ function t(e, t, n, a) {
+ switch (n) {
+ case "s":
+ return t ? "хэдхэн секунд" : "хэдхэн секундын";
+ case "ss":
+ return e + (t ? " секунд" : " секундын");
+ case "m":
+ case "mm":
+ return e + (t ? " минут" : " минутын");
+ case "h":
+ case "hh":
+ return e + (t ? " цаг" : " цагийн");
+ case "d":
+ case "dd":
+ return e + (t ? " өдөр" : " өдрийн");
+ case "M":
+ case "MM":
+ return e + (t ? " сар" : " сарын");
+ case "y":
+ case "yy":
+ return e + (t ? " жил" : " жилийн");
+ default:
+ return e
}
+ }
+ e.defineLocale("mn", {
+ months: "Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),
+ monthsShort: "1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),
+ monthsParseExact: !0,
+ weekdays: "Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),
+ weekdaysShort: "Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),
+ weekdaysMin: "Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),
+ weekdaysParseExact: !0,
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "YYYY-MM-DD",
+ LL: "YYYY оны MMMMын D",
+ LLL: "YYYY оны MMMMын D HH:mm",
+ LLLL: "dddd, YYYY оны MMMMын D HH:mm"
+ },
+ meridiemParse: /ҮӨ|ҮХ/i,
+ isPM: function(e) {
+ return "ҮХ" === e
+ },
+ meridiem: function(e, t, n) {
+ return e < 12 ? "ҮӨ" : "ҮХ"
+ },
+ calendar: {
+ sameDay: "[Өнөөдөр] LT",
+ nextDay: "[Маргааш] LT",
+ nextWeek: "[Ирэх] dddd LT",
+ lastDay: "[Өчигдөр] LT",
+ lastWeek: "[Өнгөрсөн] dddd LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "%s дараа",
+ past: "%s өмнө",
+ s: t,
+ ss: t,
+ m: t,
+ mm: t,
+ h: t,
+ hh: t,
+ d: t,
+ dd: t,
+ M: t,
+ MM: t,
+ y: t,
+ yy: t
+ },
+ dayOfMonthOrdinalParse: /\d{1,2} өдөр/,
+ ordinal: function(e, t) {
+ switch (t) {
+ case "d":
+ case "D":
+ case "DDD":
+ return e + " өдөр";
+ default:
+ return e
+ }
+ }
+ })
+ }(n(2083))
+}, 7590: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ var t = {
+ 1: "१",
+ 2: "२",
+ 3: "३",
+ 4: "४",
+ 5: "५",
+ 6: "६",
+ 7: "७",
+ 8: "८",
+ 9: "९",
+ 0: "०"
+ },
+ n = {
+ "१": "1",
+ "२": "2",
+ "३": "3",
+ "४": "4",
+ "५": "5",
+ "६": "6",
+ "७": "7",
+ "८": "8",
+ "९": "9",
+ "०": "0"
+ };
- function r(e) {
- return e instanceof Array || "[object Array]" === Object.prototype.toString.call(e)
+ function a(e, t, n, a) {
+ var r = "";
+ if (t) switch (n) {
+ case "s":
+ r = "काही सेकंद";
+ break;
+ case "ss":
+ r = "%d सेकंद";
+ break;
+ case "m":
+ r = "एक मिनिट";
+ break;
+ case "mm":
+ r = "%d मिनिटे";
+ break;
+ case "h":
+ r = "एक तास";
+ break;
+ case "hh":
+ r = "%d तास";
+ break;
+ case "d":
+ r = "एक दिवस";
+ break;
+ case "dd":
+ r = "%d दिवस";
+ break;
+ case "M":
+ r = "एक महिना";
+ break;
+ case "MM":
+ r = "%d महिने";
+ break;
+ case "y":
+ r = "एक वर्ष";
+ break;
+ case "yy":
+ r = "%d वर्षे"
+ } else switch (n) {
+ case "s":
+ r = "काही सेकंदां";
+ break;
+ case "ss":
+ r = "%d सेकंदां";
+ break;
+ case "m":
+ r = "एका मिनिटा";
+ break;
+ case "mm":
+ r = "%d मिनिटां";
+ break;
+ case "h":
+ r = "एका तासा";
+ break;
+ case "hh":
+ r = "%d तासां";
+ break;
+ case "d":
+ r = "एका दिवसा";
+ break;
+ case "dd":
+ r = "%d दिवसां";
+ break;
+ case "M":
+ r = "एका महिन्या";
+ break;
+ case "MM":
+ r = "%d महिन्यां";
+ break;
+ case "y":
+ r = "एका वर्षा";
+ break;
+ case "yy":
+ r = "%d वर्षां"
+ }
+ return r.replace(/%d/i, e)
+ }
+ e.defineLocale("mr", {
+ months: "जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),
+ monthsShort: "जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),
+ monthsParseExact: !0,
+ weekdays: "रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),
+ weekdaysShort: "रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),
+ weekdaysMin: "र_सो_मं_बु_गु_शु_श".split("_"),
+ longDateFormat: {
+ LT: "A h:mm वाजता",
+ LTS: "A h:mm:ss वाजता",
+ L: "DD/MM/YYYY",
+ LL: "D MMMM YYYY",
+ LLL: "D MMMM YYYY, A h:mm वाजता",
+ LLLL: "dddd, D MMMM YYYY, A h:mm वाजता"
+ },
+ calendar: {
+ sameDay: "[आज] LT",
+ nextDay: "[उद्या] LT",
+ nextWeek: "dddd, LT",
+ lastDay: "[काल] LT",
+ lastWeek: "[मागील] dddd, LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "%sमध्ये",
+ past: "%sपूर्वी",
+ s: a,
+ ss: a,
+ m: a,
+ mm: a,
+ h: a,
+ hh: a,
+ d: a,
+ dd: a,
+ M: a,
+ MM: a,
+ y: a,
+ yy: a
+ },
+ preparse: function(e) {
+ return e.replace(/[१२३४५६७८९०]/g, (function(e) {
+ return n[e]
+ }))
+ },
+ postformat: function(e) {
+ return e.replace(/\d/g, (function(e) {
+ return t[e]
+ }))
+ },
+ meridiemParse: /पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,
+ meridiemHour: function(e, t) {
+ return 12 === e && (e = 0), "पहाटे" === t || "सकाळी" === t ? e : "दुपारी" === t || "सायंकाळी" === t || "रात्री" === t ? e >= 12 ? e : e + 12 : void 0
+ },
+ meridiem: function(e, t, n) {
+ return e >= 0 && e < 6 ? "पहाटे" : e < 12 ? "सकाळी" : e < 17 ? "दुपारी" : e < 20 ? "सायंकाळी" : "रात्री"
+ },
+ week: {
+ dow: 0,
+ doy: 6
}
-
- function i(e) {
- return null != e && "[object Object]" === Object.prototype.toString.call(e)
+ })
+ }(n(2083))
+}, 3895: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ e.defineLocale("nb", {
+ months: "januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),
+ monthsShort: "jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),
+ monthsParseExact: !0,
+ weekdays: "søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),
+ weekdaysShort: "sø._ma._ti._on._to._fr._lø.".split("_"),
+ weekdaysMin: "sø_ma_ti_on_to_fr_lø".split("_"),
+ weekdaysParseExact: !0,
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "DD.MM.YYYY",
+ LL: "D. MMMM YYYY",
+ LLL: "D. MMMM YYYY [kl.] HH:mm",
+ LLLL: "dddd D. MMMM YYYY [kl.] HH:mm"
+ },
+ calendar: {
+ sameDay: "[i dag kl.] LT",
+ nextDay: "[i morgen kl.] LT",
+ nextWeek: "dddd [kl.] LT",
+ lastDay: "[i går kl.] LT",
+ lastWeek: "[forrige] dddd [kl.] LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "om %s",
+ past: "%s siden",
+ s: "noen sekunder",
+ ss: "%d sekunder",
+ m: "ett minutt",
+ mm: "%d minutter",
+ h: "en time",
+ hh: "%d timer",
+ d: "en dag",
+ dd: "%d dager",
+ w: "en uke",
+ ww: "%d uker",
+ M: "en måned",
+ MM: "%d måneder",
+ y: "ett år",
+ yy: "%d år"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
+ ordinal: "%d.",
+ week: {
+ dow: 1,
+ doy: 4
}
-
- function o(e, t) {
- return Object.prototype.hasOwnProperty.call(e, t)
+ })
+ }(n(2083))
+}, 2009: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ var t = "jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),
+ n = "jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),
+ a = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i],
+ r = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
+ e.defineLocale("nl", {
+ months: "januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),
+ monthsShort: function(e, a) {
+ return e ? /-MMM-/.test(a) ? n[e.month()] : t[e.month()] : t
+ },
+ monthsRegex: r,
+ monthsShortRegex: r,
+ monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
+ monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
+ monthsParse: a,
+ longMonthsParse: a,
+ shortMonthsParse: a,
+ weekdays: "zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),
+ weekdaysShort: "zo._ma._di._wo._do._vr._za.".split("_"),
+ weekdaysMin: "zo_ma_di_wo_do_vr_za".split("_"),
+ weekdaysParseExact: !0,
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "DD-MM-YYYY",
+ LL: "D MMMM YYYY",
+ LLL: "D MMMM YYYY HH:mm",
+ LLLL: "dddd D MMMM YYYY HH:mm"
+ },
+ calendar: {
+ sameDay: "[vandaag om] LT",
+ nextDay: "[morgen om] LT",
+ nextWeek: "dddd [om] LT",
+ lastDay: "[gisteren om] LT",
+ lastWeek: "[afgelopen] dddd [om] LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "over %s",
+ past: "%s geleden",
+ s: "een paar seconden",
+ ss: "%d seconden",
+ m: "één minuut",
+ mm: "%d minuten",
+ h: "één uur",
+ hh: "%d uur",
+ d: "één dag",
+ dd: "%d dagen",
+ w: "één week",
+ ww: "%d weken",
+ M: "één maand",
+ MM: "%d maanden",
+ y: "één jaar",
+ yy: "%d jaar"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
+ ordinal: function(e) {
+ return e + (1 === e || 8 === e || e >= 20 ? "ste" : "de")
+ },
+ week: {
+ dow: 1,
+ doy: 4
}
-
- function s(e) {
- if (Object.getOwnPropertyNames) return 0 === Object.getOwnPropertyNames(e).length;
- var t;
- for (t in e)
- if (o(e, t)) return !1;
- return !0
+ })
+ }(n(2083))
+}, 3800: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ e.defineLocale("oc-lnc", {
+ months: {
+ standalone: "genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),
+ format: "de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),
+ isFormat: /D[oD]?(\s)+MMMM/
+ },
+ monthsShort: "gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),
+ monthsParseExact: !0,
+ weekdays: "dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),
+ weekdaysShort: "dg._dl._dm._dc._dj._dv._ds.".split("_"),
+ weekdaysMin: "dg_dl_dm_dc_dj_dv_ds".split("_"),
+ weekdaysParseExact: !0,
+ longDateFormat: {
+ LT: "H:mm",
+ LTS: "H:mm:ss",
+ L: "DD/MM/YYYY",
+ LL: "D MMMM [de] YYYY",
+ ll: "D MMM YYYY",
+ LLL: "D MMMM [de] YYYY [a] H:mm",
+ lll: "D MMM YYYY, H:mm",
+ LLLL: "dddd D MMMM [de] YYYY [a] H:mm",
+ llll: "ddd D MMM YYYY, H:mm"
+ },
+ calendar: {
+ sameDay: "[uèi a] LT",
+ nextDay: "[deman a] LT",
+ nextWeek: "dddd [a] LT",
+ lastDay: "[ièr a] LT",
+ lastWeek: "dddd [passat a] LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "d'aquí %s",
+ past: "fa %s",
+ s: "unas segondas",
+ ss: "%d segondas",
+ m: "una minuta",
+ mm: "%d minutas",
+ h: "una ora",
+ hh: "%d oras",
+ d: "un jorn",
+ dd: "%d jorns",
+ M: "un mes",
+ MM: "%d meses",
+ y: "un an",
+ yy: "%d ans"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,
+ ordinal: function(e, t) {
+ var n = 1 === e ? "r" : 2 === e ? "n" : 3 === e ? "r" : 4 === e ? "t" : "è";
+ return "w" !== t && "W" !== t || (n = "a"), e + n
+ },
+ week: {
+ dow: 1,
+ doy: 4
}
+ })
+ }(n(2083))
+}, 5737: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ var t = "styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),
+ n = "stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),
+ a = [/^sty/i, /^lut/i, /^mar/i, /^kwi/i, /^maj/i, /^cze/i, /^lip/i, /^sie/i, /^wrz/i, /^paź/i, /^lis/i, /^gru/i];
- function l(e) {
- return void 0 === e
- }
+ function r(e) {
+ return e % 10 < 5 && e % 10 > 1 && ~~(e / 10) % 10 != 1
+ }
- function c(e) {
- return "number" == typeof e || "[object Number]" === Object.prototype.toString.call(e)
+ function i(e, t, n) {
+ var a = e + " ";
+ switch (n) {
+ case "ss":
+ return a + (r(e) ? "sekundy" : "sekund");
+ case "m":
+ return t ? "minuta" : "minutę";
+ case "mm":
+ return a + (r(e) ? "minuty" : "minut");
+ case "h":
+ return t ? "godzina" : "godzinę";
+ case "hh":
+ return a + (r(e) ? "godziny" : "godzin");
+ case "ww":
+ return a + (r(e) ? "tygodnie" : "tygodni");
+ case "MM":
+ return a + (r(e) ? "miesiące" : "miesięcy");
+ case "yy":
+ return a + (r(e) ? "lata" : "lat")
+ }
+ }
+ e.defineLocale("pl", {
+ months: function(e, a) {
+ return e ? /D MMMM/.test(a) ? n[e.month()] : t[e.month()] : t
+ },
+ monthsShort: "sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),
+ monthsParse: a,
+ longMonthsParse: a,
+ shortMonthsParse: a,
+ weekdays: "niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),
+ weekdaysShort: "ndz_pon_wt_śr_czw_pt_sob".split("_"),
+ weekdaysMin: "Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "DD.MM.YYYY",
+ LL: "D MMMM YYYY",
+ LLL: "D MMMM YYYY HH:mm",
+ LLLL: "dddd, D MMMM YYYY HH:mm"
+ },
+ calendar: {
+ sameDay: "[Dziś o] LT",
+ nextDay: "[Jutro o] LT",
+ nextWeek: function() {
+ switch (this.day()) {
+ case 0:
+ return "[W niedzielę o] LT";
+ case 2:
+ return "[We wtorek o] LT";
+ case 3:
+ return "[W środę o] LT";
+ case 6:
+ return "[W sobotę o] LT";
+ default:
+ return "[W] dddd [o] LT"
+ }
+ },
+ lastDay: "[Wczoraj o] LT",
+ lastWeek: function() {
+ switch (this.day()) {
+ case 0:
+ return "[W zeszłą niedzielę o] LT";
+ case 3:
+ return "[W zeszłą środę o] LT";
+ case 6:
+ return "[W zeszłą sobotę o] LT";
+ default:
+ return "[W zeszły] dddd [o] LT"
+ }
+ },
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "za %s",
+ past: "%s temu",
+ s: "kilka sekund",
+ ss: i,
+ m: i,
+ mm: i,
+ h: i,
+ hh: i,
+ d: "1 dzień",
+ dd: "%d dni",
+ w: "tydzień",
+ ww: i,
+ M: "miesiąc",
+ MM: i,
+ y: "rok",
+ yy: i
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
+ ordinal: "%d.",
+ week: {
+ dow: 1,
+ doy: 4
}
-
- function u(e) {
- return e instanceof Date || "[object Date]" === Object.prototype.toString.call(e)
+ })
+ }(n(2083))
+}, 665: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ e.defineLocale("pt-br", {
+ months: "janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),
+ monthsShort: "jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),
+ weekdays: "domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),
+ weekdaysShort: "dom_seg_ter_qua_qui_sex_sáb".split("_"),
+ weekdaysMin: "do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),
+ weekdaysParseExact: !0,
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "DD/MM/YYYY",
+ LL: "D [de] MMMM [de] YYYY",
+ LLL: "D [de] MMMM [de] YYYY [às] HH:mm",
+ LLLL: "dddd, D [de] MMMM [de] YYYY [às] HH:mm"
+ },
+ calendar: {
+ sameDay: "[Hoje às] LT",
+ nextDay: "[Amanhã às] LT",
+ nextWeek: "dddd [às] LT",
+ lastDay: "[Ontem às] LT",
+ lastWeek: function() {
+ return 0 === this.day() || 6 === this.day() ? "[Último] dddd [às] LT" : "[Última] dddd [às] LT"
+ },
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "em %s",
+ past: "há %s",
+ s: "poucos segundos",
+ ss: "%d segundos",
+ m: "um minuto",
+ mm: "%d minutos",
+ h: "uma hora",
+ hh: "%d horas",
+ d: "um dia",
+ dd: "%d dias",
+ M: "um mês",
+ MM: "%d meses",
+ y: "um ano",
+ yy: "%d anos"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}º/,
+ ordinal: "%dº",
+ invalidDate: "Data inválida"
+ })
+ }(n(2083))
+}, 7170: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ e.defineLocale("pt", {
+ months: "janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),
+ monthsShort: "jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),
+ weekdays: "Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),
+ weekdaysShort: "Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),
+ weekdaysMin: "Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),
+ weekdaysParseExact: !0,
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "DD/MM/YYYY",
+ LL: "D [de] MMMM [de] YYYY",
+ LLL: "D [de] MMMM [de] YYYY HH:mm",
+ LLLL: "dddd, D [de] MMMM [de] YYYY HH:mm"
+ },
+ calendar: {
+ sameDay: "[Hoje às] LT",
+ nextDay: "[Amanhã às] LT",
+ nextWeek: "dddd [às] LT",
+ lastDay: "[Ontem às] LT",
+ lastWeek: function() {
+ return 0 === this.day() || 6 === this.day() ? "[Último] dddd [às] LT" : "[Última] dddd [às] LT"
+ },
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "em %s",
+ past: "há %s",
+ s: "segundos",
+ ss: "%d segundos",
+ m: "um minuto",
+ mm: "%d minutos",
+ h: "uma hora",
+ hh: "%d horas",
+ d: "um dia",
+ dd: "%d dias",
+ w: "uma semana",
+ ww: "%d semanas",
+ M: "um mês",
+ MM: "%d meses",
+ y: "um ano",
+ yy: "%d anos"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}º/,
+ ordinal: "%dº",
+ week: {
+ dow: 1,
+ doy: 4
}
+ })
+ }(n(2083))
+}, 4374: function(e, t, n) {
+ ! function(e) {
+ "use strict";
- function d(e, t) {
- var n, a = [];
- for (n = 0; n < e.length; ++n) a.push(t(e[n], n));
- return a
+ function t(e, t, n) {
+ var a = " ";
+ return (e % 100 >= 20 || e >= 100 && e % 100 == 0) && (a = " de "), e + a + {
+ ss: "secunde",
+ mm: "minute",
+ hh: "ore",
+ dd: "zile",
+ ww: "săptămâni",
+ MM: "luni",
+ yy: "ani"
+ } [n]
+ }
+ e.defineLocale("ro", {
+ months: "ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),
+ monthsShort: "ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),
+ monthsParseExact: !0,
+ weekdays: "duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),
+ weekdaysShort: "Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),
+ weekdaysMin: "Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),
+ longDateFormat: {
+ LT: "H:mm",
+ LTS: "H:mm:ss",
+ L: "DD.MM.YYYY",
+ LL: "D MMMM YYYY",
+ LLL: "D MMMM YYYY H:mm",
+ LLLL: "dddd, D MMMM YYYY H:mm"
+ },
+ calendar: {
+ sameDay: "[azi la] LT",
+ nextDay: "[mâine la] LT",
+ nextWeek: "dddd [la] LT",
+ lastDay: "[ieri la] LT",
+ lastWeek: "[fosta] dddd [la] LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "peste %s",
+ past: "%s în urmă",
+ s: "câteva secunde",
+ ss: t,
+ m: "un minut",
+ mm: t,
+ h: "o oră",
+ hh: t,
+ d: "o zi",
+ dd: t,
+ w: "o săptămână",
+ ww: t,
+ M: "o lună",
+ MM: t,
+ y: "un an",
+ yy: t
+ },
+ week: {
+ dow: 1,
+ doy: 7
}
+ })
+ }(n(2083))
+}, 8669: function(e, t, n) {
+ ! function(e) {
+ "use strict";
- function p(e, t) {
- for (var n in t) o(t, n) && (e[n] = t[n]);
- return o(t, "toString") && (e.toString = t.toString), o(t, "valueOf") && (e.valueOf = t.valueOf), e
- }
-
- function h(e, t, n, a) {
- return Et(e, t, n, a, !0).utc()
- }
-
- function m(e) {
- return null == e._pf && (e._pf = {
- empty: !1,
- unusedTokens: [],
- unusedInput: [],
- overflow: -2,
- charsLeftOver: 0,
- nullInput: !1,
- invalidEra: null,
- invalidMonth: null,
- invalidFormat: !1,
- userInvalidated: !1,
- iso: !1,
- parsedDateParts: [],
- era: null,
- meridiem: null,
- rfc2822: !1,
- weekdayMismatch: !1
- }), e._pf
- }
-
- function f(e) {
- if (null == e._isValid) {
- var t = m(e),
- a = n.call(t.parsedDateParts, (function(e) {
- return null != e
- })),
- r = !isNaN(e._d.getTime()) && t.overflow < 0 && !t.empty && !t.invalidEra && !t.invalidMonth && !t.invalidWeekday && !t.weekdayMismatch && !t.nullInput && !t.invalidFormat && !t.userInvalidated && (!t.meridiem || t.meridiem && a);
- if (e._strict && (r = r && 0 === t.charsLeftOver && 0 === t.unusedTokens.length && void 0 === t.bigHour), null != Object.isFrozen && Object.isFrozen(e)) return r;
- e._isValid = r
+ function t(e, t, n) {
+ return "m" === n ? t ? "минута" : "минуту" : e + " " + (a = +e, r = {
+ ss: t ? "секунда_секунды_секунд" : "секунду_секунды_секунд",
+ mm: t ? "минута_минуты_минут" : "минуту_минуты_минут",
+ hh: "час_часа_часов",
+ dd: "день_дня_дней",
+ ww: "неделя_недели_недель",
+ MM: "месяц_месяца_месяцев",
+ yy: "год_года_лет"
+ } [n].split("_"), a % 10 == 1 && a % 100 != 11 ? r[0] : a % 10 >= 2 && a % 10 <= 4 && (a % 100 < 10 || a % 100 >= 20) ? r[1] : r[2]);
+ var a, r
+ }
+ var n = [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i];
+ e.defineLocale("ru", {
+ months: {
+ format: "января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),
+ standalone: "январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")
+ },
+ monthsShort: {
+ format: "янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),
+ standalone: "янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")
+ },
+ weekdays: {
+ standalone: "воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),
+ format: "воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),
+ isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/
+ },
+ weekdaysShort: "вс_пн_вт_ср_чт_пт_сб".split("_"),
+ weekdaysMin: "вс_пн_вт_ср_чт_пт_сб".split("_"),
+ monthsParse: n,
+ longMonthsParse: n,
+ shortMonthsParse: n,
+ monthsRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,
+ monthsShortRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,
+ monthsStrictRegex: /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,
+ monthsShortStrictRegex: /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,
+ longDateFormat: {
+ LT: "H:mm",
+ LTS: "H:mm:ss",
+ L: "DD.MM.YYYY",
+ LL: "D MMMM YYYY г.",
+ LLL: "D MMMM YYYY г., H:mm",
+ LLLL: "dddd, D MMMM YYYY г., H:mm"
+ },
+ calendar: {
+ sameDay: "[Сегодня, в] LT",
+ nextDay: "[Завтра, в] LT",
+ lastDay: "[Вчера, в] LT",
+ nextWeek: function(e) {
+ if (e.week() === this.week()) return 2 === this.day() ? "[Во] dddd, [в] LT" : "[В] dddd, [в] LT";
+ switch (this.day()) {
+ case 0:
+ return "[В следующее] dddd, [в] LT";
+ case 1:
+ case 2:
+ case 4:
+ return "[В следующий] dddd, [в] LT";
+ case 3:
+ case 5:
+ case 6:
+ return "[В следующую] dddd, [в] LT"
+ }
+ },
+ lastWeek: function(e) {
+ if (e.week() === this.week()) return 2 === this.day() ? "[Во] dddd, [в] LT" : "[В] dddd, [в] LT";
+ switch (this.day()) {
+ case 0:
+ return "[В прошлое] dddd, [в] LT";
+ case 1:
+ case 2:
+ case 4:
+ return "[В прошлый] dddd, [в] LT";
+ case 3:
+ case 5:
+ case 6:
+ return "[В прошлую] dddd, [в] LT"
+ }
+ },
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "через %s",
+ past: "%s назад",
+ s: "несколько секунд",
+ ss: t,
+ m: t,
+ mm: t,
+ h: "час",
+ hh: t,
+ d: "день",
+ dd: t,
+ w: "неделя",
+ ww: t,
+ M: "месяц",
+ MM: t,
+ y: "год",
+ yy: t
+ },
+ meridiemParse: /ночи|утра|дня|вечера/i,
+ isPM: function(e) {
+ return /^(дня|вечера)$/.test(e)
+ },
+ meridiem: function(e, t, n) {
+ return e < 4 ? "ночи" : e < 12 ? "утра" : e < 17 ? "дня" : "вечера"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}-(й|го|я)/,
+ ordinal: function(e, t) {
+ switch (t) {
+ case "M":
+ case "d":
+ case "DDD":
+ return e + "-й";
+ case "D":
+ return e + "-го";
+ case "w":
+ case "W":
+ return e + "-я";
+ default:
+ return e
}
- return e._isValid
- }
-
- function g(e) {
- var t = h(NaN);
- return null != e ? p(m(t), e) : m(t).userInvalidated = !0, t
+ },
+ week: {
+ dow: 1,
+ doy: 4
}
- n = Array.prototype.some ? Array.prototype.some : function(e) {
- var t, n = Object(this),
- a = n.length >>> 0;
- for (t = 0; t < a; t++)
- if (t in n && e.call(this, n[t], t, n)) return !0;
- return !1
- };
- var b = a.momentProperties = [],
- y = !1;
+ })
+ }(n(2083))
+}, 4299: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ var t = "január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),
+ n = "jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");
- function v(e, t) {
- var n, a, r;
- if (l(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), l(t._i) || (e._i = t._i), l(t._f) || (e._f = t._f), l(t._l) || (e._l = t._l), l(t._strict) || (e._strict = t._strict), l(t._tzm) || (e._tzm = t._tzm), l(t._isUTC) || (e._isUTC = t._isUTC), l(t._offset) || (e._offset = t._offset), l(t._pf) || (e._pf = m(t)), l(t._locale) || (e._locale = t._locale), b.length > 0)
- for (n = 0; n < b.length; n++) l(r = t[a = b[n]]) || (e[a] = r);
- return e
- }
+ function a(e) {
+ return e > 1 && e < 5
+ }
- function k(e) {
- v(this, e), this._d = new Date(null != e._d ? e._d.getTime() : NaN), this.isValid() || (this._d = new Date(NaN)), !1 === y && (y = !0, a.updateOffset(this), y = !1)
+ function r(e, t, n, r) {
+ var i = e + " ";
+ switch (n) {
+ case "s":
+ return t || r ? "pár sekúnd" : "pár sekundami";
+ case "ss":
+ return t || r ? i + (a(e) ? "sekundy" : "sekúnd") : i + "sekundami";
+ case "m":
+ return t ? "minúta" : r ? "minútu" : "minútou";
+ case "mm":
+ return t || r ? i + (a(e) ? "minúty" : "minút") : i + "minútami";
+ case "h":
+ return t ? "hodina" : r ? "hodinu" : "hodinou";
+ case "hh":
+ return t || r ? i + (a(e) ? "hodiny" : "hodín") : i + "hodinami";
+ case "d":
+ return t || r ? "deň" : "dňom";
+ case "dd":
+ return t || r ? i + (a(e) ? "dni" : "dní") : i + "dňami";
+ case "M":
+ return t || r ? "mesiac" : "mesiacom";
+ case "MM":
+ return t || r ? i + (a(e) ? "mesiace" : "mesiacov") : i + "mesiacmi";
+ case "y":
+ return t || r ? "rok" : "rokom";
+ case "yy":
+ return t || r ? i + (a(e) ? "roky" : "rokov") : i + "rokmi"
+ }
+ }
+ e.defineLocale("sk", {
+ months: t,
+ monthsShort: n,
+ weekdays: "nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),
+ weekdaysShort: "ne_po_ut_st_št_pi_so".split("_"),
+ weekdaysMin: "ne_po_ut_st_št_pi_so".split("_"),
+ longDateFormat: {
+ LT: "H:mm",
+ LTS: "H:mm:ss",
+ L: "DD.MM.YYYY",
+ LL: "D. MMMM YYYY",
+ LLL: "D. MMMM YYYY H:mm",
+ LLLL: "dddd D. MMMM YYYY H:mm"
+ },
+ calendar: {
+ sameDay: "[dnes o] LT",
+ nextDay: "[zajtra o] LT",
+ nextWeek: function() {
+ switch (this.day()) {
+ case 0:
+ return "[v nedeľu o] LT";
+ case 1:
+ case 2:
+ return "[v] dddd [o] LT";
+ case 3:
+ return "[v stredu o] LT";
+ case 4:
+ return "[vo štvrtok o] LT";
+ case 5:
+ return "[v piatok o] LT";
+ case 6:
+ return "[v sobotu o] LT"
+ }
+ },
+ lastDay: "[včera o] LT",
+ lastWeek: function() {
+ switch (this.day()) {
+ case 0:
+ return "[minulú nedeľu o] LT";
+ case 1:
+ case 2:
+ case 4:
+ case 5:
+ return "[minulý] dddd [o] LT";
+ case 3:
+ return "[minulú stredu o] LT";
+ case 6:
+ return "[minulú sobotu o] LT"
+ }
+ },
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "za %s",
+ past: "pred %s",
+ s: r,
+ ss: r,
+ m: r,
+ mm: r,
+ h: r,
+ hh: r,
+ d: r,
+ dd: r,
+ M: r,
+ MM: r,
+ y: r,
+ yy: r
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
+ ordinal: "%d.",
+ week: {
+ dow: 1,
+ doy: 4
}
+ })
+ }(n(2083))
+}, 6705: function(e, t, n) {
+ ! function(e) {
+ "use strict";
- function _(e) {
- return e instanceof k || null != e && null != e._isAMomentObject
+ function t(e, t, n, a) {
+ var r = e + " ";
+ switch (n) {
+ case "s":
+ return t || a ? "nekaj sekund" : "nekaj sekundami";
+ case "ss":
+ return r + (1 === e ? t ? "sekundo" : "sekundi" : 2 === e ? t || a ? "sekundi" : "sekundah" : e < 5 ? t || a ? "sekunde" : "sekundah" : "sekund");
+ case "m":
+ return t ? "ena minuta" : "eno minuto";
+ case "mm":
+ return r + (1 === e ? t ? "minuta" : "minuto" : 2 === e ? t || a ? "minuti" : "minutama" : e < 5 ? t || a ? "minute" : "minutami" : t || a ? "minut" : "minutami");
+ case "h":
+ return t ? "ena ura" : "eno uro";
+ case "hh":
+ return r + (1 === e ? t ? "ura" : "uro" : 2 === e ? t || a ? "uri" : "urama" : e < 5 ? t || a ? "ure" : "urami" : t || a ? "ur" : "urami");
+ case "d":
+ return t || a ? "en dan" : "enim dnem";
+ case "dd":
+ return r + (1 === e ? t || a ? "dan" : "dnem" : 2 === e ? t || a ? "dni" : "dnevoma" : t || a ? "dni" : "dnevi");
+ case "M":
+ return t || a ? "en mesec" : "enim mesecem";
+ case "MM":
+ return r + (1 === e ? t || a ? "mesec" : "mesecem" : 2 === e ? t || a ? "meseca" : "mesecema" : e < 5 ? t || a ? "mesece" : "meseci" : t || a ? "mesecev" : "meseci");
+ case "y":
+ return t || a ? "eno leto" : "enim letom";
+ case "yy":
+ return r + (1 === e ? t || a ? "leto" : "letom" : 2 === e ? t || a ? "leti" : "letoma" : e < 5 ? t || a ? "leta" : "leti" : t || a ? "let" : "leti")
+ }
+ }
+ e.defineLocale("sl", {
+ months: "januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),
+ monthsShort: "jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),
+ monthsParseExact: !0,
+ weekdays: "nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),
+ weekdaysShort: "ned._pon._tor._sre._čet._pet._sob.".split("_"),
+ weekdaysMin: "ne_po_to_sr_če_pe_so".split("_"),
+ weekdaysParseExact: !0,
+ longDateFormat: {
+ LT: "H:mm",
+ LTS: "H:mm:ss",
+ L: "DD. MM. YYYY",
+ LL: "D. MMMM YYYY",
+ LLL: "D. MMMM YYYY H:mm",
+ LLLL: "dddd, D. MMMM YYYY H:mm"
+ },
+ calendar: {
+ sameDay: "[danes ob] LT",
+ nextDay: "[jutri ob] LT",
+ nextWeek: function() {
+ switch (this.day()) {
+ case 0:
+ return "[v] [nedeljo] [ob] LT";
+ case 3:
+ return "[v] [sredo] [ob] LT";
+ case 6:
+ return "[v] [soboto] [ob] LT";
+ case 1:
+ case 2:
+ case 4:
+ case 5:
+ return "[v] dddd [ob] LT"
+ }
+ },
+ lastDay: "[včeraj ob] LT",
+ lastWeek: function() {
+ switch (this.day()) {
+ case 0:
+ return "[prejšnjo] [nedeljo] [ob] LT";
+ case 3:
+ return "[prejšnjo] [sredo] [ob] LT";
+ case 6:
+ return "[prejšnjo] [soboto] [ob] LT";
+ case 1:
+ case 2:
+ case 4:
+ case 5:
+ return "[prejšnji] dddd [ob] LT"
+ }
+ },
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "čez %s",
+ past: "pred %s",
+ s: t,
+ ss: t,
+ m: t,
+ mm: t,
+ h: t,
+ hh: t,
+ d: t,
+ dd: t,
+ M: t,
+ MM: t,
+ y: t,
+ yy: t
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
+ ordinal: "%d.",
+ week: {
+ dow: 1,
+ doy: 7
}
-
- function w(e) {
- !1 === a.suppressDeprecationWarnings && "undefined" != typeof console && console.warn && console.warn("Deprecation warning: " + e)
+ })
+ }(n(2083))
+}, 9557: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ var t = {
+ words: {
+ ss: ["sekunda", "sekunde", "sekundi"],
+ m: ["jedan minut", "jedne minute"],
+ mm: ["minut", "minute", "minuta"],
+ h: ["jedan sat", "jednog sata"],
+ hh: ["sat", "sata", "sati"],
+ dd: ["dan", "dana", "dana"],
+ MM: ["mesec", "meseca", "meseci"],
+ yy: ["godina", "godine", "godina"]
+ },
+ correctGrammaticalCase: function(e, t) {
+ return 1 === e ? t[0] : e >= 2 && e <= 4 ? t[1] : t[2]
+ },
+ translate: function(e, n, a) {
+ var r = t.words[a];
+ return 1 === a.length ? n ? r[0] : r[1] : e + " " + t.correctGrammaticalCase(e, r)
}
-
- function S(e, t) {
- var n = !0;
- return p((function() {
- if (null != a.deprecationHandler && a.deprecationHandler(null, e), n) {
- var r, i, s, l = [];
- for (i = 0; i < arguments.length; i++) {
- if (r = "", "object" == typeof arguments[i]) {
- for (s in r += "\n[" + i + "] ", arguments[0]) o(arguments[0], s) && (r += s + ": " + arguments[0][s] + ", ");
- r = r.slice(0, -2)
- } else r = arguments[i];
- l.push(r)
- }
- w(e + "\nArguments: " + Array.prototype.slice.call(l).join("") + "\n" + (new Error).stack), n = !1
+ };
+ e.defineLocale("sr", {
+ months: "januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),
+ monthsShort: "jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),
+ monthsParseExact: !0,
+ weekdays: "nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),
+ weekdaysShort: "ned._pon._uto._sre._čet._pet._sub.".split("_"),
+ weekdaysMin: "ne_po_ut_sr_če_pe_su".split("_"),
+ weekdaysParseExact: !0,
+ longDateFormat: {
+ LT: "H:mm",
+ LTS: "H:mm:ss",
+ L: "D. M. YYYY.",
+ LL: "D. MMMM YYYY.",
+ LLL: "D. MMMM YYYY. H:mm",
+ LLLL: "dddd, D. MMMM YYYY. H:mm"
+ },
+ calendar: {
+ sameDay: "[danas u] LT",
+ nextDay: "[sutra u] LT",
+ nextWeek: function() {
+ switch (this.day()) {
+ case 0:
+ return "[u] [nedelju] [u] LT";
+ case 3:
+ return "[u] [sredu] [u] LT";
+ case 6:
+ return "[u] [subotu] [u] LT";
+ case 1:
+ case 2:
+ case 4:
+ case 5:
+ return "[u] dddd [u] LT"
}
- return t.apply(this, arguments)
- }), t)
- }
- var E, x = {};
-
- function C(e, t) {
- null != a.deprecationHandler && a.deprecationHandler(e, t), x[e] || (w(t), x[e] = !0)
+ },
+ lastDay: "[juče u] LT",
+ lastWeek: function() {
+ return ["[prošle] [nedelje] [u] LT", "[prošlog] [ponedeljka] [u] LT", "[prošlog] [utorka] [u] LT", "[prošle] [srede] [u] LT", "[prošlog] [četvrtka] [u] LT", "[prošlog] [petka] [u] LT", "[prošle] [subote] [u] LT"][this.day()]
+ },
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "za %s",
+ past: "pre %s",
+ s: "nekoliko sekundi",
+ ss: t.translate,
+ m: t.translate,
+ mm: t.translate,
+ h: t.translate,
+ hh: t.translate,
+ d: "dan",
+ dd: t.translate,
+ M: "mesec",
+ MM: t.translate,
+ y: "godinu",
+ yy: t.translate
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
+ ordinal: "%d.",
+ week: {
+ dow: 1,
+ doy: 7
}
-
- function A(e) {
- return "undefined" != typeof Function && e instanceof Function || "[object Function]" === Object.prototype.toString.call(e)
+ })
+ }(n(2083))
+}, 3497: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ e.defineLocale("sv", {
+ months: "januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),
+ monthsShort: "jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),
+ weekdays: "söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),
+ weekdaysShort: "sön_mån_tis_ons_tor_fre_lör".split("_"),
+ weekdaysMin: "sö_må_ti_on_to_fr_lö".split("_"),
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "YYYY-MM-DD",
+ LL: "D MMMM YYYY",
+ LLL: "D MMMM YYYY [kl.] HH:mm",
+ LLLL: "dddd D MMMM YYYY [kl.] HH:mm",
+ lll: "D MMM YYYY HH:mm",
+ llll: "ddd D MMM YYYY HH:mm"
+ },
+ calendar: {
+ sameDay: "[Idag] LT",
+ nextDay: "[Imorgon] LT",
+ lastDay: "[Igår] LT",
+ nextWeek: "[På] dddd LT",
+ lastWeek: "[I] dddd[s] LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "om %s",
+ past: "för %s sedan",
+ s: "några sekunder",
+ ss: "%d sekunder",
+ m: "en minut",
+ mm: "%d minuter",
+ h: "en timme",
+ hh: "%d timmar",
+ d: "en dag",
+ dd: "%d dagar",
+ M: "en månad",
+ MM: "%d månader",
+ y: "ett år",
+ yy: "%d år"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}(\:e|\:a)/,
+ ordinal: function(e) {
+ var t = e % 10;
+ return e + (1 == ~~(e % 100 / 10) ? ":e" : 1 === t || 2 === t ? ":a" : ":e")
+ },
+ week: {
+ dow: 1,
+ doy: 4
}
-
- function j(e, t) {
- var n, a = p({}, e);
- for (n in t) o(t, n) && (i(e[n]) && i(t[n]) ? (a[n] = {}, p(a[n], e[n]), p(a[n], t[n])) : null != t[n] ? a[n] = t[n] : delete a[n]);
- for (n in e) o(e, n) && !o(t, n) && i(e[n]) && (a[n] = p({}, a[n]));
- return a
+ })
+ }(n(2083))
+}, 7612: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ var t = {
+ 1: "'inci",
+ 5: "'inci",
+ 8: "'inci",
+ 70: "'inci",
+ 80: "'inci",
+ 2: "'nci",
+ 7: "'nci",
+ 20: "'nci",
+ 50: "'nci",
+ 3: "'üncü",
+ 4: "'üncü",
+ 100: "'üncü",
+ 6: "'ncı",
+ 9: "'uncu",
+ 10: "'uncu",
+ 30: "'uncu",
+ 60: "'ıncı",
+ 90: "'ıncı"
+ };
+ e.defineLocale("tr", {
+ months: "Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),
+ monthsShort: "Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),
+ weekdays: "Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),
+ weekdaysShort: "Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),
+ weekdaysMin: "Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),
+ meridiem: function(e, t, n) {
+ return e < 12 ? n ? "öö" : "ÖÖ" : n ? "ös" : "ÖS"
+ },
+ meridiemParse: /öö|ÖÖ|ös|ÖS/,
+ isPM: function(e) {
+ return "ös" === e || "ÖS" === e
+ },
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "DD.MM.YYYY",
+ LL: "D MMMM YYYY",
+ LLL: "D MMMM YYYY HH:mm",
+ LLLL: "dddd, D MMMM YYYY HH:mm"
+ },
+ calendar: {
+ sameDay: "[bugün saat] LT",
+ nextDay: "[yarın saat] LT",
+ nextWeek: "[gelecek] dddd [saat] LT",
+ lastDay: "[dün] LT",
+ lastWeek: "[geçen] dddd [saat] LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "%s sonra",
+ past: "%s önce",
+ s: "birkaç saniye",
+ ss: "%d saniye",
+ m: "bir dakika",
+ mm: "%d dakika",
+ h: "bir saat",
+ hh: "%d saat",
+ d: "bir gün",
+ dd: "%d gün",
+ w: "bir hafta",
+ ww: "%d hafta",
+ M: "bir ay",
+ MM: "%d ay",
+ y: "bir yıl",
+ yy: "%d yıl"
+ },
+ ordinal: function(e, n) {
+ switch (n) {
+ case "d":
+ case "D":
+ case "Do":
+ case "DD":
+ return e;
+ default:
+ if (0 === e) return e + "'ıncı";
+ var a = e % 10;
+ return e + (t[a] || t[e % 100 - a] || t[e >= 100 ? 100 : null])
+ }
+ },
+ week: {
+ dow: 1,
+ doy: 7
}
+ })
+ }(n(2083))
+}, 6608: function(e, t, n) {
+ ! function(e) {
+ "use strict";
- function P(e) {
- null != e && this.set(e)
- }
- a.suppressDeprecationWarnings = !1, a.deprecationHandler = null, E = Object.keys ? Object.keys : function(e) {
- var t, n = [];
- for (t in e) o(e, t) && n.push(t);
- return n
- };
+ function t(e, t, n) {
+ return "m" === n ? t ? "хвилина" : "хвилину" : "h" === n ? t ? "година" : "годину" : e + " " + (a = +e, r = {
+ ss: t ? "секунда_секунди_секунд" : "секунду_секунди_секунд",
+ mm: t ? "хвилина_хвилини_хвилин" : "хвилину_хвилини_хвилин",
+ hh: t ? "година_години_годин" : "годину_години_годин",
+ dd: "день_дні_днів",
+ MM: "місяць_місяці_місяців",
+ yy: "рік_роки_років"
+ } [n].split("_"), a % 10 == 1 && a % 100 != 11 ? r[0] : a % 10 >= 2 && a % 10 <= 4 && (a % 100 < 10 || a % 100 >= 20) ? r[1] : r[2]);
+ var a, r
+ }
- function D(e, t, n) {
- var a = "" + Math.abs(e),
- r = t - a.length;
- return (e >= 0 ? n ? "+" : "" : "-") + Math.pow(10, Math.max(0, r)).toString().substr(1) + a
- }
- var T = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,
- O = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,
- M = {},
- I = {};
-
- function N(e, t, n, a) {
- var r = a;
- "string" == typeof a && (r = function() {
- return this[a]()
- }), e && (I[e] = r), t && (I[t[0]] = function() {
- return D(r.apply(this, arguments), t[1], t[2])
- }), n && (I[n] = function() {
- return this.localeData().ordinal(r.apply(this, arguments), e)
- })
+ function n(e) {
+ return function() {
+ return e + "о" + (11 === this.hours() ? "б" : "") + "] LT"
}
-
- function z(e, t) {
- return e.isValid() ? (t = R(t, e.localeData()), M[t] = M[t] || function(e) {
- var t, n, a, r = e.match(T);
- for (t = 0, n = r.length; t < n; t++) I[r[t]] ? r[t] = I[r[t]] : r[t] = (a = r[t]).match(/\[[\s\S]/) ? a.replace(/^\[|\]$/g, "") : a.replace(/\\/g, "");
- return function(t) {
- var a, i = "";
- for (a = 0; a < n; a++) i += A(r[a]) ? r[a].call(t, e) : r[a];
- return i
+ }
+ e.defineLocale("uk", {
+ months: {
+ format: "січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),
+ standalone: "січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")
+ },
+ monthsShort: "січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),
+ weekdays: function(e, t) {
+ var n = {
+ nominative: "неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),
+ accusative: "неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),
+ genitive: "неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")
+ };
+ return !0 === e ? n.nominative.slice(1, 7).concat(n.nominative.slice(0, 1)) : e ? n[/(\[[ВвУу]\]) ?dddd/.test(t) ? "accusative" : /\[?(?:минулої|наступної)? ?\] ?dddd/.test(t) ? "genitive" : "nominative"][e.day()] : n.nominative
+ },
+ weekdaysShort: "нд_пн_вт_ср_чт_пт_сб".split("_"),
+ weekdaysMin: "нд_пн_вт_ср_чт_пт_сб".split("_"),
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "DD.MM.YYYY",
+ LL: "D MMMM YYYY р.",
+ LLL: "D MMMM YYYY р., HH:mm",
+ LLLL: "dddd, D MMMM YYYY р., HH:mm"
+ },
+ calendar: {
+ sameDay: n("[Сьогодні "),
+ nextDay: n("[Завтра "),
+ lastDay: n("[Вчора "),
+ nextWeek: n("[У] dddd ["),
+ lastWeek: function() {
+ switch (this.day()) {
+ case 0:
+ case 3:
+ case 5:
+ case 6:
+ return n("[Минулої] dddd [").call(this);
+ case 1:
+ case 2:
+ case 4:
+ return n("[Минулого] dddd [").call(this)
}
- }(t), M[t](e)) : e.localeData().invalidDate()
- }
-
- function R(e, t) {
- var n = 5;
-
- function a(e) {
- return t.longDateFormat(e) || e
+ },
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "за %s",
+ past: "%s тому",
+ s: "декілька секунд",
+ ss: t,
+ m: t,
+ mm: t,
+ h: "годину",
+ hh: t,
+ d: "день",
+ dd: t,
+ M: "місяць",
+ MM: t,
+ y: "рік",
+ yy: t
+ },
+ meridiemParse: /ночі|ранку|дня|вечора/,
+ isPM: function(e) {
+ return /^(дня|вечора)$/.test(e)
+ },
+ meridiem: function(e, t, n) {
+ return e < 4 ? "ночі" : e < 12 ? "ранку" : e < 17 ? "дня" : "вечора"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}-(й|го)/,
+ ordinal: function(e, t) {
+ switch (t) {
+ case "M":
+ case "d":
+ case "DDD":
+ case "w":
+ case "W":
+ return e + "-й";
+ case "D":
+ return e + "-го";
+ default:
+ return e
}
- for (O.lastIndex = 0; n >= 0 && O.test(e);) e = e.replace(O, a), O.lastIndex = 0, n -= 1;
+ },
+ week: {
+ dow: 1,
+ doy: 7
+ }
+ })
+ }(n(2083))
+}, 8858: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ e.defineLocale("vi", {
+ months: "tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),
+ monthsShort: "Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),
+ monthsParseExact: !0,
+ weekdays: "chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),
+ weekdaysShort: "CN_T2_T3_T4_T5_T6_T7".split("_"),
+ weekdaysMin: "CN_T2_T3_T4_T5_T6_T7".split("_"),
+ weekdaysParseExact: !0,
+ meridiemParse: /sa|ch/i,
+ isPM: function(e) {
+ return /^ch$/i.test(e)
+ },
+ meridiem: function(e, t, n) {
+ return e < 12 ? n ? "sa" : "SA" : n ? "ch" : "CH"
+ },
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "DD/MM/YYYY",
+ LL: "D MMMM [năm] YYYY",
+ LLL: "D MMMM [năm] YYYY HH:mm",
+ LLLL: "dddd, D MMMM [năm] YYYY HH:mm",
+ l: "DD/M/YYYY",
+ ll: "D MMM YYYY",
+ lll: "D MMM YYYY HH:mm",
+ llll: "ddd, D MMM YYYY HH:mm"
+ },
+ calendar: {
+ sameDay: "[Hôm nay lúc] LT",
+ nextDay: "[Ngày mai lúc] LT",
+ nextWeek: "dddd [tuần tới lúc] LT",
+ lastDay: "[Hôm qua lúc] LT",
+ lastWeek: "dddd [tuần trước lúc] LT",
+ sameElse: "L"
+ },
+ relativeTime: {
+ future: "%s tới",
+ past: "%s trước",
+ s: "vài giây",
+ ss: "%d giây",
+ m: "một phút",
+ mm: "%d phút",
+ h: "một giờ",
+ hh: "%d giờ",
+ d: "một ngày",
+ dd: "%d ngày",
+ w: "một tuần",
+ ww: "%d tuần",
+ M: "một tháng",
+ MM: "%d tháng",
+ y: "một năm",
+ yy: "%d năm"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}/,
+ ordinal: function(e) {
return e
+ },
+ week: {
+ dow: 1,
+ doy: 4
}
- var L = {};
-
- function F(e, t) {
- var n = e.toLowerCase();
- L[n] = L[n + "s"] = L[t] = e
+ })
+ }(n(2083))
+}, 670: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ e.defineLocale("zh-cn", {
+ months: "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),
+ monthsShort: "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
+ weekdays: "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),
+ weekdaysShort: "周日_周一_周二_周三_周四_周五_周六".split("_"),
+ weekdaysMin: "日_一_二_三_四_五_六".split("_"),
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "YYYY/MM/DD",
+ LL: "YYYY年M月D日",
+ LLL: "YYYY年M月D日Ah点mm分",
+ LLLL: "YYYY年M月D日ddddAh点mm分",
+ l: "YYYY/M/D",
+ ll: "YYYY年M月D日",
+ lll: "YYYY年M月D日 HH:mm",
+ llll: "YYYY年M月D日dddd HH:mm"
+ },
+ meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
+ meridiemHour: function(e, t) {
+ return 12 === e && (e = 0), "凌晨" === t || "早上" === t || "上午" === t ? e : "下午" === t || "晚上" === t ? e + 12 : e >= 11 ? e : e + 12
+ },
+ meridiem: function(e, t, n) {
+ var a = 100 * e + t;
+ return a < 600 ? "凌晨" : a < 900 ? "早上" : a < 1130 ? "上午" : a < 1230 ? "中午" : a < 1800 ? "下午" : "晚上"
+ },
+ calendar: {
+ sameDay: "[今天]LT",
+ nextDay: "[明天]LT",
+ nextWeek: function(e) {
+ return e.week() !== this.week() ? "[下]dddLT" : "[本]dddLT"
+ },
+ lastDay: "[昨天]LT",
+ lastWeek: function(e) {
+ return this.week() !== e.week() ? "[上]dddLT" : "[本]dddLT"
+ },
+ sameElse: "L"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/,
+ ordinal: function(e, t) {
+ switch (t) {
+ case "d":
+ case "D":
+ case "DDD":
+ return e + "日";
+ case "M":
+ return e + "月";
+ case "w":
+ case "W":
+ return e + "周";
+ default:
+ return e
+ }
+ },
+ relativeTime: {
+ future: "%s后",
+ past: "%s前",
+ s: "几秒",
+ ss: "%d 秒",
+ m: "1 分钟",
+ mm: "%d 分钟",
+ h: "1 小时",
+ hh: "%d 小时",
+ d: "1 天",
+ dd: "%d 天",
+ w: "1 周",
+ ww: "%d 周",
+ M: "1 个月",
+ MM: "%d 个月",
+ y: "1 年",
+ yy: "%d 年"
+ },
+ week: {
+ dow: 1,
+ doy: 4
}
-
- function q(e) {
- return "string" == typeof e ? L[e] || L[e.toLowerCase()] : void 0
+ })
+ }(n(2083))
+}, 3520: function(e, t, n) {
+ ! function(e) {
+ "use strict";
+ e.defineLocale("zh-tw", {
+ months: "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),
+ monthsShort: "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
+ weekdays: "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),
+ weekdaysShort: "週日_週一_週二_週三_週四_週五_週六".split("_"),
+ weekdaysMin: "日_一_二_三_四_五_六".split("_"),
+ longDateFormat: {
+ LT: "HH:mm",
+ LTS: "HH:mm:ss",
+ L: "YYYY/MM/DD",
+ LL: "YYYY年M月D日",
+ LLL: "YYYY年M月D日 HH:mm",
+ LLLL: "YYYY年M月D日dddd HH:mm",
+ l: "YYYY/M/D",
+ ll: "YYYY年M月D日",
+ lll: "YYYY年M月D日 HH:mm",
+ llll: "YYYY年M月D日dddd HH:mm"
+ },
+ meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
+ meridiemHour: function(e, t) {
+ return 12 === e && (e = 0), "凌晨" === t || "早上" === t || "上午" === t ? e : "中午" === t ? e >= 11 ? e : e + 12 : "下午" === t || "晚上" === t ? e + 12 : void 0
+ },
+ meridiem: function(e, t, n) {
+ var a = 100 * e + t;
+ return a < 600 ? "凌晨" : a < 900 ? "早上" : a < 1130 ? "上午" : a < 1230 ? "中午" : a < 1800 ? "下午" : "晚上"
+ },
+ calendar: {
+ sameDay: "[今天] LT",
+ nextDay: "[明天] LT",
+ nextWeek: "[下]dddd LT",
+ lastDay: "[昨天] LT",
+ lastWeek: "[上]dddd LT",
+ sameElse: "L"
+ },
+ dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
+ ordinal: function(e, t) {
+ switch (t) {
+ case "d":
+ case "D":
+ case "DDD":
+ return e + "日";
+ case "M":
+ return e + "月";
+ case "w":
+ case "W":
+ return e + "週";
+ default:
+ return e
+ }
+ },
+ relativeTime: {
+ future: "%s後",
+ past: "%s前",
+ s: "幾秒",
+ ss: "%d 秒",
+ m: "1 分鐘",
+ mm: "%d 分鐘",
+ h: "1 小時",
+ hh: "%d 小時",
+ d: "1 天",
+ dd: "%d 天",
+ M: "1 個月",
+ MM: "%d 個月",
+ y: "1 年",
+ yy: "%d 年"
}
+ })
+ }(n(2083))
+}, 2083: function(e, t, n) {
+ (e = n.nmd(e)).exports = function() {
+ "use strict";
+ var t, n;
- function B(e) {
- var t, n, a = {};
- for (n in e) o(e, n) && (t = q(n)) && (a[t] = e[n]);
- return a
- }
- var U = {};
+ function a() {
+ return t.apply(null, arguments)
+ }
- function H(e, t) {
- U[e] = t
- }
+ function r(e) {
+ return e instanceof Array || "[object Array]" === Object.prototype.toString.call(e)
+ }
- function V(e) {
- return e % 4 == 0 && e % 100 != 0 || e % 400 == 0
- }
+ function i(e) {
+ return null != e && "[object Object]" === Object.prototype.toString.call(e)
+ }
- function W(e) {
- return e < 0 ? Math.ceil(e) || 0 : Math.floor(e)
- }
+ function o(e, t) {
+ return Object.prototype.hasOwnProperty.call(e, t)
+ }
- function Y(e) {
- var t = +e,
- n = 0;
- return 0 !== t && isFinite(t) && (n = W(t)), n
- }
+ function s(e) {
+ if (Object.getOwnPropertyNames) return 0 === Object.getOwnPropertyNames(e).length;
+ var t;
+ for (t in e)
+ if (o(e, t)) return !1;
+ return !0
+ }
- function G(e, t) {
- return function(n) {
- return null != n ? ($(this, e, n), a.updateOffset(this, t), this) : K(this, e)
- }
- }
+ function l(e) {
+ return void 0 === e
+ }
- function K(e, t) {
- return e.isValid() ? e._d["get" + (e._isUTC ? "UTC" : "") + t]() : NaN
- }
+ function c(e) {
+ return "number" == typeof e || "[object Number]" === Object.prototype.toString.call(e)
+ }
- function $(e, t, n) {
- e.isValid() && !isNaN(n) && ("FullYear" === t && V(e.year()) && 1 === e.month() && 29 === e.date() ? (n = Y(n), e._d["set" + (e._isUTC ? "UTC" : "") + t](n, e.month(), _e(n, e.month()))) : e._d["set" + (e._isUTC ? "UTC" : "") + t](n))
- }
- var J, Z = /\d/,
- Q = /\d\d/,
- X = /\d{3}/,
- ee = /\d{4}/,
- te = /[+-]?\d{6}/,
- ne = /\d\d?/,
- ae = /\d\d\d\d?/,
- re = /\d\d\d\d\d\d?/,
- ie = /\d{1,3}/,
- oe = /\d{1,4}/,
- se = /[+-]?\d{1,6}/,
- le = /\d+/,
- ce = /[+-]?\d+/,
- ue = /Z|[+-]\d\d:?\d\d/gi,
- de = /Z|[+-]\d\d(?::?\d\d)?/gi,
- pe = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;
+ function u(e) {
+ return e instanceof Date || "[object Date]" === Object.prototype.toString.call(e)
+ }
- function he(e, t, n) {
- J[e] = A(t) ? t : function(e, a) {
- return e && n ? n : t
- }
- }
+ function d(e, t) {
+ var n, a = [];
+ for (n = 0; n < e.length; ++n) a.push(t(e[n], n));
+ return a
+ }
- function me(e, t) {
- return o(J, e) ? J[e](t._strict, t._locale) : new RegExp(fe(e.replace("\\", "").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, (function(e, t, n, a, r) {
- return t || n || a || r
- }))))
- }
+ function p(e, t) {
+ for (var n in t) o(t, n) && (e[n] = t[n]);
+ return o(t, "toString") && (e.toString = t.toString), o(t, "valueOf") && (e.valueOf = t.valueOf), e
+ }
- function fe(e) {
- return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&")
- }
- J = {};
- var ge = {};
+ function h(e, t, n, a) {
+ return Et(e, t, n, a, !0).utc()
+ }
- function be(e, t) {
- var n, a = t;
- for ("string" == typeof e && (e = [e]), c(t) && (a = function(e, n) {
- n[t] = Y(e)
- }), n = 0; n < e.length; n++) ge[e[n]] = a
- }
+ function m(e) {
+ return null == e._pf && (e._pf = {
+ empty: !1,
+ unusedTokens: [],
+ unusedInput: [],
+ overflow: -2,
+ charsLeftOver: 0,
+ nullInput: !1,
+ invalidEra: null,
+ invalidMonth: null,
+ invalidFormat: !1,
+ userInvalidated: !1,
+ iso: !1,
+ parsedDateParts: [],
+ era: null,
+ meridiem: null,
+ rfc2822: !1,
+ weekdayMismatch: !1
+ }), e._pf
+ }
- function ye(e, t) {
- be(e, (function(e, n, a, r) {
- a._w = a._w || {}, t(e, a._w, a, r)
- }))
+ function f(e) {
+ if (null == e._isValid) {
+ var t = m(e),
+ a = n.call(t.parsedDateParts, (function(e) {
+ return null != e
+ })),
+ r = !isNaN(e._d.getTime()) && t.overflow < 0 && !t.empty && !t.invalidEra && !t.invalidMonth && !t.invalidWeekday && !t.weekdayMismatch && !t.nullInput && !t.invalidFormat && !t.userInvalidated && (!t.meridiem || t.meridiem && a);
+ if (e._strict && (r = r && 0 === t.charsLeftOver && 0 === t.unusedTokens.length && void 0 === t.bigHour), null != Object.isFrozen && Object.isFrozen(e)) return r;
+ e._isValid = r
}
+ return e._isValid
+ }
- function ve(e, t, n) {
- null != t && o(ge, e) && ge[e](t, n._a, n, e)
- }
- var ke;
+ function g(e) {
+ var t = h(NaN);
+ return null != e ? p(m(t), e) : m(t).userInvalidated = !0, t
+ }
+ n = Array.prototype.some ? Array.prototype.some : function(e) {
+ var t, n = Object(this),
+ a = n.length >>> 0;
+ for (t = 0; t < a; t++)
+ if (t in n && e.call(this, n[t], t, n)) return !0;
+ return !1
+ };
+ var b = a.momentProperties = [],
+ y = !1;
- function _e(e, t) {
- if (isNaN(e) || isNaN(t)) return NaN;
- var n, a = (t % (n = 12) + n) % n;
- return e += (t - a) / 12, 1 === a ? V(e) ? 29 : 28 : 31 - a % 7 % 2
- }
- ke = Array.prototype.indexOf ? Array.prototype.indexOf : function(e) {
- var t;
- for (t = 0; t < this.length; ++t)
- if (this[t] === e) return t;
- return -1
- }, N("M", ["MM", 2], "Mo", (function() {
- return this.month() + 1
- })), N("MMM", 0, 0, (function(e) {
- return this.localeData().monthsShort(this, e)
- })), N("MMMM", 0, 0, (function(e) {
- return this.localeData().months(this, e)
- })), F("month", "M"), H("month", 8), he("M", ne), he("MM", ne, Q), he("MMM", (function(e, t) {
- return t.monthsShortRegex(e)
- })), he("MMMM", (function(e, t) {
- return t.monthsRegex(e)
- })), be(["M", "MM"], (function(e, t) {
- t[1] = Y(e) - 1
- })), be(["MMM", "MMMM"], (function(e, t, n, a) {
- var r = n._locale.monthsParse(e, a, n._strict);
- null != r ? t[1] = r : m(n).invalidMonth = e
- }));
- var we = "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
- Se = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
- Ee = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,
- xe = pe,
- Ce = pe;
+ function v(e, t) {
+ var n, a, r;
+ if (l(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), l(t._i) || (e._i = t._i), l(t._f) || (e._f = t._f), l(t._l) || (e._l = t._l), l(t._strict) || (e._strict = t._strict), l(t._tzm) || (e._tzm = t._tzm), l(t._isUTC) || (e._isUTC = t._isUTC), l(t._offset) || (e._offset = t._offset), l(t._pf) || (e._pf = m(t)), l(t._locale) || (e._locale = t._locale), b.length > 0)
+ for (n = 0; n < b.length; n++) l(r = t[a = b[n]]) || (e[a] = r);
+ return e
+ }
- function Ae(e, t, n) {
- var a, r, i, o = e.toLocaleLowerCase();
- if (!this._monthsParse)
- for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], a = 0; a < 12; ++a) i = h([2e3, a]), this._shortMonthsParse[a] = this.monthsShort(i, "").toLocaleLowerCase(), this._longMonthsParse[a] = this.months(i, "").toLocaleLowerCase();
- return n ? "MMM" === t ? -1 !== (r = ke.call(this._shortMonthsParse, o)) ? r : null : -1 !== (r = ke.call(this._longMonthsParse, o)) ? r : null : "MMM" === t ? -1 !== (r = ke.call(this._shortMonthsParse, o)) || -1 !== (r = ke.call(this._longMonthsParse, o)) ? r : null : -1 !== (r = ke.call(this._longMonthsParse, o)) || -1 !== (r = ke.call(this._shortMonthsParse, o)) ? r : null
- }
+ function k(e) {
+ v(this, e), this._d = new Date(null != e._d ? e._d.getTime() : NaN), this.isValid() || (this._d = new Date(NaN)), !1 === y && (y = !0, a.updateOffset(this), y = !1)
+ }
- function je(e, t) {
- var n;
- if (!e.isValid()) return e;
- if ("string" == typeof t)
- if (/^\d+$/.test(t)) t = Y(t);
- else if (!c(t = e.localeData().monthsParse(t))) return e;
- return n = Math.min(e.date(), _e(e.year(), t)), e._d["set" + (e._isUTC ? "UTC" : "") + "Month"](t, n), e
- }
+ function _(e) {
+ return e instanceof k || null != e && null != e._isAMomentObject
+ }
- function Pe(e) {
- return null != e ? (je(this, e), a.updateOffset(this, !0), this) : K(this, "Month")
- }
+ function w(e) {
+ !1 === a.suppressDeprecationWarnings && "undefined" != typeof console && console.warn && console.warn("Deprecation warning: " + e)
+ }
- function De() {
- function e(e, t) {
- return t.length - e.length
+ function S(e, t) {
+ var n = !0;
+ return p((function() {
+ if (null != a.deprecationHandler && a.deprecationHandler(null, e), n) {
+ var r, i, s, l = [];
+ for (i = 0; i < arguments.length; i++) {
+ if (r = "", "object" == typeof arguments[i]) {
+ for (s in r += "\n[" + i + "] ", arguments[0]) o(arguments[0], s) && (r += s + ": " + arguments[0][s] + ", ");
+ r = r.slice(0, -2)
+ } else r = arguments[i];
+ l.push(r)
+ }
+ w(e + "\nArguments: " + Array.prototype.slice.call(l).join("") + "\n" + (new Error).stack), n = !1
}
- var t, n, a = [],
- r = [],
- i = [];
- for (t = 0; t < 12; t++) n = h([2e3, t]), a.push(this.monthsShort(n, "")), r.push(this.months(n, "")), i.push(this.months(n, "")), i.push(this.monthsShort(n, ""));
- for (a.sort(e), r.sort(e), i.sort(e), t = 0; t < 12; t++) a[t] = fe(a[t]), r[t] = fe(r[t]);
- for (t = 0; t < 24; t++) i[t] = fe(i[t]);
- this._monthsRegex = new RegExp("^(" + i.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp("^(" + r.join("|") + ")", "i"), this._monthsShortStrictRegex = new RegExp("^(" + a.join("|") + ")", "i")
- }
+ return t.apply(this, arguments)
+ }), t)
+ }
+ var E, x = {};
- function Te(e) {
- return V(e) ? 366 : 365
- }
- N("Y", 0, 0, (function() {
- var e = this.year();
- return e <= 9999 ? D(e, 4) : "+" + e
- })), N(0, ["YY", 2], 0, (function() {
- return this.year() % 100
- })), N(0, ["YYYY", 4], 0, "year"), N(0, ["YYYYY", 5], 0, "year"), N(0, ["YYYYYY", 6, !0], 0, "year"), F("year", "y"), H("year", 1), he("Y", ce), he("YY", ne, Q), he("YYYY", oe, ee), he("YYYYY", se, te), he("YYYYYY", se, te), be(["YYYYY", "YYYYYY"], 0), be("YYYY", (function(e, t) {
- t[0] = 2 === e.length ? a.parseTwoDigitYear(e) : Y(e)
- })), be("YY", (function(e, t) {
- t[0] = a.parseTwoDigitYear(e)
- })), be("Y", (function(e, t) {
- t[0] = parseInt(e, 10)
- })), a.parseTwoDigitYear = function(e) {
- return Y(e) + (Y(e) > 68 ? 1900 : 2e3)
- };
- var Oe = G("FullYear", !0);
+ function C(e, t) {
+ null != a.deprecationHandler && a.deprecationHandler(e, t), x[e] || (w(t), x[e] = !0)
+ }
- function Me(e, t, n, a, r, i, o) {
- var s;
- return e < 100 && e >= 0 ? (s = new Date(e + 400, t, n, a, r, i, o), isFinite(s.getFullYear()) && s.setFullYear(e)) : s = new Date(e, t, n, a, r, i, o), s
- }
+ function A(e) {
+ return "undefined" != typeof Function && e instanceof Function || "[object Function]" === Object.prototype.toString.call(e)
+ }
- function Ie(e) {
- var t, n;
- return e < 100 && e >= 0 ? ((n = Array.prototype.slice.call(arguments))[0] = e + 400, t = new Date(Date.UTC.apply(null, n)), isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e)) : t = new Date(Date.UTC.apply(null, arguments)), t
- }
+ function T(e, t) {
+ var n, a = p({}, e);
+ for (n in t) o(t, n) && (i(e[n]) && i(t[n]) ? (a[n] = {}, p(a[n], e[n]), p(a[n], t[n])) : null != t[n] ? a[n] = t[n] : delete a[n]);
+ for (n in e) o(e, n) && !o(t, n) && i(e[n]) && (a[n] = p({}, a[n]));
+ return a
+ }
- function Ne(e, t, n) {
- var a = 7 + t - n;
- return -(7 + Ie(e, 0, a).getUTCDay() - t) % 7 + a - 1
- }
+ function D(e) {
+ null != e && this.set(e)
+ }
+ a.suppressDeprecationWarnings = !1, a.deprecationHandler = null, E = Object.keys ? Object.keys : function(e) {
+ var t, n = [];
+ for (t in e) o(e, t) && n.push(t);
+ return n
+ };
- function ze(e, t, n, a, r) {
- var i, o, s = 1 + 7 * (t - 1) + (7 + n - a) % 7 + Ne(e, a, r);
- return s <= 0 ? o = Te(i = e - 1) + s : s > Te(e) ? (i = e + 1, o = s - Te(e)) : (i = e, o = s), {
- year: i,
- dayOfYear: o
- }
- }
+ function P(e, t, n) {
+ var a = "" + Math.abs(e),
+ r = t - a.length;
+ return (e >= 0 ? n ? "+" : "" : "-") + Math.pow(10, Math.max(0, r)).toString().substr(1) + a
+ }
+ var j = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,
+ M = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,
+ I = {},
+ O = {};
+
+ function N(e, t, n, a) {
+ var r = a;
+ "string" == typeof a && (r = function() {
+ return this[a]()
+ }), e && (O[e] = r), t && (O[t[0]] = function() {
+ return P(r.apply(this, arguments), t[1], t[2])
+ }), n && (O[n] = function() {
+ return this.localeData().ordinal(r.apply(this, arguments), e)
+ })
+ }
- function Re(e, t, n) {
- var a, r, i = Ne(e.year(), t, n),
- o = Math.floor((e.dayOfYear() - i - 1) / 7) + 1;
- return o < 1 ? a = o + Le(r = e.year() - 1, t, n) : o > Le(e.year(), t, n) ? (a = o - Le(e.year(), t, n), r = e.year() + 1) : (r = e.year(), a = o), {
- week: a,
- year: r
+ function R(e, t) {
+ return e.isValid() ? (t = z(t, e.localeData()), I[t] = I[t] || function(e) {
+ var t, n, a, r = e.match(j);
+ for (t = 0, n = r.length; t < n; t++) O[r[t]] ? r[t] = O[r[t]] : r[t] = (a = r[t]).match(/\[[\s\S]/) ? a.replace(/^\[|\]$/g, "") : a.replace(/\\/g, "");
+ return function(t) {
+ var a, i = "";
+ for (a = 0; a < n; a++) i += A(r[a]) ? r[a].call(t, e) : r[a];
+ return i
}
- }
+ }(t), I[t](e)) : e.localeData().invalidDate()
+ }
+
+ function z(e, t) {
+ var n = 5;
- function Le(e, t, n) {
- var a = Ne(e, t, n),
- r = Ne(e + 1, t, n);
- return (Te(e) - a + r) / 7
+ function a(e) {
+ return t.longDateFormat(e) || e
}
- N("w", ["ww", 2], "wo", "week"), N("W", ["WW", 2], "Wo", "isoWeek"), F("week", "w"), F("isoWeek", "W"), H("week", 5), H("isoWeek", 5), he("w", ne), he("ww", ne, Q), he("W", ne), he("WW", ne, Q), ye(["w", "ww", "W", "WW"], (function(e, t, n, a) {
- t[a.substr(0, 1)] = Y(e)
- }));
+ for (M.lastIndex = 0; n >= 0 && M.test(e);) e = e.replace(M, a), M.lastIndex = 0, n -= 1;
+ return e
+ }
+ var L = {};
- function Fe(e, t) {
- return e.slice(t, 7).concat(e.slice(0, t))
- }
- N("d", 0, "do", "day"), N("dd", 0, 0, (function(e) {
- return this.localeData().weekdaysMin(this, e)
- })), N("ddd", 0, 0, (function(e) {
- return this.localeData().weekdaysShort(this, e)
- })), N("dddd", 0, 0, (function(e) {
- return this.localeData().weekdays(this, e)
- })), N("e", 0, 0, "weekday"), N("E", 0, 0, "isoWeekday"), F("day", "d"), F("weekday", "e"), F("isoWeekday", "E"), H("day", 11), H("weekday", 11), H("isoWeekday", 11), he("d", ne), he("e", ne), he("E", ne), he("dd", (function(e, t) {
- return t.weekdaysMinRegex(e)
- })), he("ddd", (function(e, t) {
- return t.weekdaysShortRegex(e)
- })), he("dddd", (function(e, t) {
- return t.weekdaysRegex(e)
- })), ye(["dd", "ddd", "dddd"], (function(e, t, n, a) {
- var r = n._locale.weekdaysParse(e, a, n._strict);
- null != r ? t.d = r : m(n).invalidWeekday = e
- })), ye(["d", "e", "E"], (function(e, t, n, a) {
- t[a] = Y(e)
- }));
- var qe = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
- Be = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
- Ue = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"),
- He = pe,
- Ve = pe,
- We = pe;
+ function F(e, t) {
+ var n = e.toLowerCase();
+ L[n] = L[n + "s"] = L[t] = e
+ }
- function Ye(e, t, n) {
- var a, r, i, o = e.toLocaleLowerCase();
- if (!this._weekdaysParse)
- for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], a = 0; a < 7; ++a) i = h([2e3, 1]).day(a), this._minWeekdaysParse[a] = this.weekdaysMin(i, "").toLocaleLowerCase(), this._shortWeekdaysParse[a] = this.weekdaysShort(i, "").toLocaleLowerCase(), this._weekdaysParse[a] = this.weekdays(i, "").toLocaleLowerCase();
- return n ? "dddd" === t ? -1 !== (r = ke.call(this._weekdaysParse, o)) ? r : null : "ddd" === t ? -1 !== (r = ke.call(this._shortWeekdaysParse, o)) ? r : null : -1 !== (r = ke.call(this._minWeekdaysParse, o)) ? r : null : "dddd" === t ? -1 !== (r = ke.call(this._weekdaysParse, o)) || -1 !== (r = ke.call(this._shortWeekdaysParse, o)) || -1 !== (r = ke.call(this._minWeekdaysParse, o)) ? r : null : "ddd" === t ? -1 !== (r = ke.call(this._shortWeekdaysParse, o)) || -1 !== (r = ke.call(this._weekdaysParse, o)) || -1 !== (r = ke.call(this._minWeekdaysParse, o)) ? r : null : -1 !== (r = ke.call(this._minWeekdaysParse, o)) || -1 !== (r = ke.call(this._weekdaysParse, o)) || -1 !== (r = ke.call(this._shortWeekdaysParse, o)) ? r : null
- }
+ function q(e) {
+ return "string" == typeof e ? L[e] || L[e.toLowerCase()] : void 0
+ }
- function Ge() {
- function e(e, t) {
- return t.length - e.length
- }
- var t, n, a, r, i, o = [],
- s = [],
- l = [],
- c = [];
- for (t = 0; t < 7; t++) n = h([2e3, 1]).day(t), a = fe(this.weekdaysMin(n, "")), r = fe(this.weekdaysShort(n, "")), i = fe(this.weekdays(n, "")), o.push(a), s.push(r), l.push(i), c.push(a), c.push(r), c.push(i);
- o.sort(e), s.sort(e), l.sort(e), c.sort(e), this._weekdaysRegex = new RegExp("^(" + c.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp("^(" + l.join("|") + ")", "i"), this._weekdaysShortStrictRegex = new RegExp("^(" + s.join("|") + ")", "i"), this._weekdaysMinStrictRegex = new RegExp("^(" + o.join("|") + ")", "i")
- }
+ function B(e) {
+ var t, n, a = {};
+ for (n in e) o(e, n) && (t = q(n)) && (a[t] = e[n]);
+ return a
+ }
+ var U = {};
- function Ke() {
- return this.hours() % 12 || 12
- }
+ function H(e, t) {
+ U[e] = t
+ }
- function $e(e, t) {
- N(e, 0, 0, (function() {
- return this.localeData().meridiem(this.hours(), this.minutes(), t)
- }))
- }
+ function V(e) {
+ return e % 4 == 0 && e % 100 != 0 || e % 400 == 0
+ }
- function Je(e, t) {
- return t._meridiemParse
- }
- N("H", ["HH", 2], 0, "hour"), N("h", ["hh", 2], 0, Ke), N("k", ["kk", 2], 0, (function() {
- return this.hours() || 24
- })), N("hmm", 0, 0, (function() {
- return "" + Ke.apply(this) + D(this.minutes(), 2)
- })), N("hmmss", 0, 0, (function() {
- return "" + Ke.apply(this) + D(this.minutes(), 2) + D(this.seconds(), 2)
- })), N("Hmm", 0, 0, (function() {
- return "" + this.hours() + D(this.minutes(), 2)
- })), N("Hmmss", 0, 0, (function() {
- return "" + this.hours() + D(this.minutes(), 2) + D(this.seconds(), 2)
- })), $e("a", !0), $e("A", !1), F("hour", "h"), H("hour", 13), he("a", Je), he("A", Je), he("H", ne), he("h", ne), he("k", ne), he("HH", ne, Q), he("hh", ne, Q), he("kk", ne, Q), he("hmm", ae), he("hmmss", re), he("Hmm", ae), he("Hmmss", re), be(["H", "HH"], 3), be(["k", "kk"], (function(e, t, n) {
- var a = Y(e);
- t[3] = 24 === a ? 0 : a
- })), be(["a", "A"], (function(e, t, n) {
- n._isPm = n._locale.isPM(e), n._meridiem = e
- })), be(["h", "hh"], (function(e, t, n) {
- t[3] = Y(e), m(n).bigHour = !0
- })), be("hmm", (function(e, t, n) {
- var a = e.length - 2;
- t[3] = Y(e.substr(0, a)), t[4] = Y(e.substr(a)), m(n).bigHour = !0
- })), be("hmmss", (function(e, t, n) {
- var a = e.length - 4,
- r = e.length - 2;
- t[3] = Y(e.substr(0, a)), t[4] = Y(e.substr(a, 2)), t[5] = Y(e.substr(r)), m(n).bigHour = !0
- })), be("Hmm", (function(e, t, n) {
- var a = e.length - 2;
- t[3] = Y(e.substr(0, a)), t[4] = Y(e.substr(a))
- })), be("Hmmss", (function(e, t, n) {
- var a = e.length - 4,
- r = e.length - 2;
- t[3] = Y(e.substr(0, a)), t[4] = Y(e.substr(a, 2)), t[5] = Y(e.substr(r))
- }));
- var Ze = G("Hours", !0);
- var Qe, Xe = {
- calendar: {
- sameDay: "[Today at] LT",
- nextDay: "[Tomorrow at] LT",
- nextWeek: "dddd [at] LT",
- lastDay: "[Yesterday at] LT",
- lastWeek: "[Last] dddd [at] LT",
- sameElse: "L"
- },
- longDateFormat: {
- LTS: "h:mm:ss A",
- LT: "h:mm A",
- L: "MM/DD/YYYY",
- LL: "MMMM D, YYYY",
- LLL: "MMMM D, YYYY h:mm A",
- LLLL: "dddd, MMMM D, YYYY h:mm A"
- },
- invalidDate: "Invalid date",
- ordinal: "%d",
- dayOfMonthOrdinalParse: /\d{1,2}/,
- relativeTime: {
- future: "in %s",
- past: "%s ago",
- s: "a few seconds",
- ss: "%d seconds",
- m: "a minute",
- mm: "%d minutes",
- h: "an hour",
- hh: "%d hours",
- d: "a day",
- dd: "%d days",
- w: "a week",
- ww: "%d weeks",
- M: "a month",
- MM: "%d months",
- y: "a year",
- yy: "%d years"
- },
- months: we,
- monthsShort: Se,
- week: {
- dow: 0,
- doy: 6
- },
- weekdays: qe,
- weekdaysMin: Ue,
- weekdaysShort: Be,
- meridiemParse: /[ap]\.?m?\.?/i
- },
- et = {},
- tt = {};
+ function W(e) {
+ return e < 0 ? Math.ceil(e) || 0 : Math.floor(e)
+ }
- function nt(e, t) {
- var n, a = Math.min(e.length, t.length);
- for (n = 0; n < a; n += 1)
- if (e[n] !== t[n]) return n;
- return a
- }
+ function Y(e) {
+ var t = +e,
+ n = 0;
+ return 0 !== t && isFinite(t) && (n = W(t)), n
+ }
- function at(e) {
- return e ? e.toLowerCase().replace("_", "-") : e
+ function G(e, t) {
+ return function(n) {
+ return null != n ? ($(this, e, n), a.updateOffset(this, t), this) : K(this, e)
}
+ }
- function rt(t) {
- var n = null;
- if (void 0 === et[t] && e && e.exports) try {
- n = Qe._abbr, Object(function() {
- var e = new Error("Cannot find module 'undefined'");
- throw e.code = "MODULE_NOT_FOUND", e
- }()), it(n)
- } catch (e) {
- et[t] = null
- }
- return et[t]
- }
+ function K(e, t) {
+ return e.isValid() ? e._d["get" + (e._isUTC ? "UTC" : "") + t]() : NaN
+ }
- function it(e, t) {
- var n;
- return e && ((n = l(t) ? st(e) : ot(e, t)) ? Qe = n : "undefined" != typeof console && console.warn && console.warn("Locale " + e + " not found. Did you forget to load it?")), Qe._abbr
- }
+ function $(e, t, n) {
+ e.isValid() && !isNaN(n) && ("FullYear" === t && V(e.year()) && 1 === e.month() && 29 === e.date() ? (n = Y(n), e._d["set" + (e._isUTC ? "UTC" : "") + t](n, e.month(), _e(n, e.month()))) : e._d["set" + (e._isUTC ? "UTC" : "") + t](n))
+ }
+ var J, Z = /\d/,
+ Q = /\d\d/,
+ X = /\d{3}/,
+ ee = /\d{4}/,
+ te = /[+-]?\d{6}/,
+ ne = /\d\d?/,
+ ae = /\d\d\d\d?/,
+ re = /\d\d\d\d\d\d?/,
+ ie = /\d{1,3}/,
+ oe = /\d{1,4}/,
+ se = /[+-]?\d{1,6}/,
+ le = /\d+/,
+ ce = /[+-]?\d+/,
+ ue = /Z|[+-]\d\d:?\d\d/gi,
+ de = /Z|[+-]\d\d(?::?\d\d)?/gi,
+ pe = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;
- function ot(e, t) {
- if (null !== t) {
- var n, a = Xe;
- if (t.abbr = e, null != et[e]) C("defineLocaleOverride", "use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."), a = et[e]._config;
- else if (null != t.parentLocale)
- if (null != et[t.parentLocale]) a = et[t.parentLocale]._config;
- else {
- if (null == (n = rt(t.parentLocale))) return tt[t.parentLocale] || (tt[t.parentLocale] = []), tt[t.parentLocale].push({
- name: e,
- config: t
- }), null;
- a = n._config
- } return et[e] = new P(j(a, t)), tt[e] && tt[e].forEach((function(e) {
- ot(e.name, e.config)
- })), it(e), et[e]
- }
- return delete et[e], null
+ function he(e, t, n) {
+ J[e] = A(t) ? t : function(e, a) {
+ return e && n ? n : t
}
+ }
- function st(e) {
- var t;
- if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e) return Qe;
- if (!r(e)) {
- if (t = rt(e)) return t;
- e = [e]
- }
- return function(e) {
- for (var t, n, a, r, i = 0; i < e.length;) {
- for (t = (r = at(e[i]).split("-")).length, n = (n = at(e[i + 1])) ? n.split("-") : null; t > 0;) {
- if (a = rt(r.slice(0, t).join("-"))) return a;
- if (n && n.length >= t && nt(r, n) >= t - 1) break;
- t--
- }
- i++
- }
- return Qe
- }(e)
- }
+ function me(e, t) {
+ return o(J, e) ? J[e](t._strict, t._locale) : new RegExp(fe(e.replace("\\", "").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, (function(e, t, n, a, r) {
+ return t || n || a || r
+ }))))
+ }
- function lt(e) {
- var t, n = e._a;
- return n && -2 === m(e).overflow && (t = n[1] < 0 || n[1] > 11 ? 1 : n[2] < 1 || n[2] > _e(n[0], n[1]) ? 2 : n[3] < 0 || n[3] > 24 || 24 === n[3] && (0 !== n[4] || 0 !== n[5] || 0 !== n[6]) ? 3 : n[4] < 0 || n[4] > 59 ? 4 : n[5] < 0 || n[5] > 59 ? 5 : n[6] < 0 || n[6] > 999 ? 6 : -1, m(e)._overflowDayOfYear && (t < 0 || t > 2) && (t = 2), m(e)._overflowWeeks && -1 === t && (t = 7), m(e)._overflowWeekday && -1 === t && (t = 8), m(e).overflow = t), e
- }
- var ct = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
- ut = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
- dt = /Z|[+-]\d\d(?::?\d\d)?/,
- pt = [
- ["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
- ["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
- ["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
- ["GGGG-[W]WW", /\d{4}-W\d\d/, !1],
- ["YYYY-DDD", /\d{4}-\d{3}/],
- ["YYYY-MM", /\d{4}-\d\d/, !1],
- ["YYYYYYMMDD", /[+-]\d{10}/],
- ["YYYYMMDD", /\d{8}/],
- ["GGGG[W]WWE", /\d{4}W\d{3}/],
- ["GGGG[W]WW", /\d{4}W\d{2}/, !1],
- ["YYYYDDD", /\d{7}/],
- ["YYYYMM", /\d{6}/, !1],
- ["YYYY", /\d{4}/, !1]
- ],
- ht = [
- ["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
- ["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
- ["HH:mm:ss", /\d\d:\d\d:\d\d/],
- ["HH:mm", /\d\d:\d\d/],
- ["HHmmss.SSSS", /\d\d\d\d\d\d\.\d+/],
- ["HHmmss,SSSS", /\d\d\d\d\d\d,\d+/],
- ["HHmmss", /\d\d\d\d\d\d/],
- ["HHmm", /\d\d\d\d/],
- ["HH", /\d\d/]
- ],
- mt = /^\/?Date\((-?\d+)/i,
- ft = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,
- gt = {
- UT: 0,
- GMT: 0,
- EDT: -240,
- EST: -300,
- CDT: -300,
- CST: -360,
- MDT: -360,
- MST: -420,
- PDT: -420,
- PST: -480
- };
+ function fe(e) {
+ return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&")
+ }
+ J = {};
+ var ge = {};
- function bt(e) {
- var t, n, a, r, i, o, s = e._i,
- l = ct.exec(s) || ut.exec(s);
- if (l) {
- for (m(e).iso = !0, t = 0, n = pt.length; t < n; t++)
- if (pt[t][1].exec(l[1])) {
- r = pt[t][0], a = !1 !== pt[t][2];
- break
- } if (null == r) return void(e._isValid = !1);
- if (l[3]) {
- for (t = 0, n = ht.length; t < n; t++)
- if (ht[t][1].exec(l[3])) {
- i = (l[2] || " ") + ht[t][0];
- break
- } if (null == i) return void(e._isValid = !1)
- }
- if (!a && null != i) return void(e._isValid = !1);
- if (l[4]) {
- if (!dt.exec(l[4])) return void(e._isValid = !1);
- o = "Z"
- }
- e._f = r + (i || "") + (o || ""), wt(e)
- } else e._isValid = !1
- }
-
- function yt(e) {
- var t = parseInt(e, 10);
- return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t
- }
-
- function vt(e) {
- var t, n, a, r, i, o, s, l, c = ft.exec(e._i.replace(/\([^)]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, ""));
- if (c) {
- if (n = c[4], a = c[3], r = c[2], i = c[5], o = c[6], s = c[7], l = [yt(n), Se.indexOf(a), parseInt(r, 10), parseInt(i, 10), parseInt(o, 10)], s && l.push(parseInt(s, 10)), t = l, ! function(e, t, n) {
- return !e || Be.indexOf(e) === new Date(t[0], t[1], t[2]).getDay() || (m(n).weekdayMismatch = !0, n._isValid = !1, !1)
- }(c[1], t, e)) return;
- e._a = t, e._tzm = function(e, t, n) {
- if (e) return gt[e];
- if (t) return 0;
- var a = parseInt(n, 10),
- r = a % 100;
- return (a - r) / 100 * 60 + r
- }(c[8], c[9], c[10]), e._d = Ie.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), m(e).rfc2822 = !0
- } else e._isValid = !1
- }
-
- function kt(e, t, n) {
- return null != e ? e : null != t ? t : n
- }
-
- function _t(e) {
- var t, n, r, i, o, s = [];
- if (!e._d) {
- for (r = function(e) {
- var t = new Date(a.now());
- return e._useUTC ? [t.getUTCFullYear(), t.getUTCMonth(), t.getUTCDate()] : [t.getFullYear(), t.getMonth(), t.getDate()]
- }(e), e._w && null == e._a[2] && null == e._a[1] && function(e) {
- var t, n, a, r, i, o, s, l, c;
- null != (t = e._w).GG || null != t.W || null != t.E ? (i = 1, o = 4, n = kt(t.GG, e._a[0], Re(xt(), 1, 4).year), a = kt(t.W, 1), ((r = kt(t.E, 1)) < 1 || r > 7) && (l = !0)) : (i = e._locale._week.dow, o = e._locale._week.doy, c = Re(xt(), i, o), n = kt(t.gg, e._a[0], c.year), a = kt(t.w, c.week), null != t.d ? ((r = t.d) < 0 || r > 6) && (l = !0) : null != t.e ? (r = t.e + i, (t.e < 0 || t.e > 6) && (l = !0)) : r = i), a < 1 || a > Le(n, i, o) ? m(e)._overflowWeeks = !0 : null != l ? m(e)._overflowWeekday = !0 : (s = ze(n, a, r, i, o), e._a[0] = s.year, e._dayOfYear = s.dayOfYear)
- }(e), null != e._dayOfYear && (o = kt(e._a[0], r[0]), (e._dayOfYear > Te(o) || 0 === e._dayOfYear) && (m(e)._overflowDayOfYear = !0), n = Ie(o, 0, e._dayOfYear), e._a[1] = n.getUTCMonth(), e._a[2] = n.getUTCDate()), t = 0; t < 3 && null == e._a[t]; ++t) e._a[t] = s[t] = r[t];
- for (; t < 7; t++) e._a[t] = s[t] = null == e._a[t] ? 2 === t ? 1 : 0 : e._a[t];
- 24 === e._a[3] && 0 === e._a[4] && 0 === e._a[5] && 0 === e._a[6] && (e._nextDay = !0, e._a[3] = 0), e._d = (e._useUTC ? Ie : Me).apply(null, s), i = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), null != e._tzm && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[3] = 24), e._w && void 0 !== e._w.d && e._w.d !== i && (m(e).weekdayMismatch = !0)
- }
- }
-
- function wt(e) {
- if (e._f !== a.ISO_8601)
- if (e._f !== a.RFC_2822) {
- e._a = [], m(e).empty = !0;
- var t, n, r, i, o, s, l = "" + e._i,
- c = l.length,
- u = 0;
- for (r = R(e._f, e._locale).match(T) || [], t = 0; t < r.length; t++) i = r[t], (n = (l.match(me(i, e)) || [])[0]) && ((o = l.substr(0, l.indexOf(n))).length > 0 && m(e).unusedInput.push(o), l = l.slice(l.indexOf(n) + n.length), u += n.length), I[i] ? (n ? m(e).empty = !1 : m(e).unusedTokens.push(i), ve(i, n, e)) : e._strict && !n && m(e).unusedTokens.push(i);
- m(e).charsLeftOver = c - u, l.length > 0 && m(e).unusedInput.push(l), e._a[3] <= 12 && !0 === m(e).bigHour && e._a[3] > 0 && (m(e).bigHour = void 0), m(e).parsedDateParts = e._a.slice(0), m(e).meridiem = e._meridiem, e._a[3] = function(e, t, n) {
- var a;
- return null == n ? t : null != e.meridiemHour ? e.meridiemHour(t, n) : null != e.isPM ? ((a = e.isPM(n)) && t < 12 && (t += 12), a || 12 !== t || (t = 0), t) : t
- }(e._locale, e._a[3], e._meridiem), null !== (s = m(e).era) && (e._a[0] = e._locale.erasConvertYear(s, e._a[0])), _t(e), lt(e)
- } else vt(e);
- else bt(e)
- }
-
- function St(e) {
- var t = e._i,
- n = e._f;
- return e._locale = e._locale || st(e._l), null === t || void 0 === n && "" === t ? g({
- nullInput: !0
- }) : ("string" == typeof t && (e._i = t = e._locale.preparse(t)), _(t) ? new k(lt(t)) : (u(t) ? e._d = t : r(n) ? function(e) {
- var t, n, a, r, i, o, s = !1;
- if (0 === e._f.length) return m(e).invalidFormat = !0, void(e._d = new Date(NaN));
- for (r = 0; r < e._f.length; r++) i = 0, o = !1, t = v({}, e), null != e._useUTC && (t._useUTC = e._useUTC), t._f = e._f[r], wt(t), f(t) && (o = !0), i += m(t).charsLeftOver, i += 10 * m(t).unusedTokens.length, m(t).score = i, s ? i < a && (a = i, n = t) : (null == a || i < a || o) && (a = i, n = t, o && (s = !0));
- p(e, n || t)
- }(e) : n ? wt(e) : function(e) {
- var t = e._i;
- l(t) ? e._d = new Date(a.now()) : u(t) ? e._d = new Date(t.valueOf()) : "string" == typeof t ? function(e) {
- var t = mt.exec(e._i);
- null === t ? (bt(e), !1 === e._isValid && (delete e._isValid, vt(e), !1 === e._isValid && (delete e._isValid, e._strict ? e._isValid = !1 : a.createFromInputFallback(e)))) : e._d = new Date(+t[1])
- }(e) : r(t) ? (e._a = d(t.slice(0), (function(e) {
- return parseInt(e, 10)
- })), _t(e)) : i(t) ? function(e) {
- if (!e._d) {
- var t = B(e._i),
- n = void 0 === t.day ? t.date : t.day;
- e._a = d([t.year, t.month, n, t.hour, t.minute, t.second, t.millisecond], (function(e) {
- return e && parseInt(e, 10)
- })), _t(e)
- }
- }(e) : c(t) ? e._d = new Date(t) : a.createFromInputFallback(e)
- }(e), f(e) || (e._d = null), e))
- }
-
- function Et(e, t, n, a, o) {
- var l = {};
- return !0 !== t && !1 !== t || (a = t, t = void 0), !0 !== n && !1 !== n || (a = n, n = void 0), (i(e) && s(e) || r(e) && 0 === e.length) && (e = void 0), l._isAMomentObject = !0, l._useUTC = l._isUTC = o, l._l = n, l._i = e, l._f = t, l._strict = a,
- function(e) {
- var t = new k(lt(St(e)));
- return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t
- }(l)
- }
+ function be(e, t) {
+ var n, a = t;
+ for ("string" == typeof e && (e = [e]), c(t) && (a = function(e, n) {
+ n[t] = Y(e)
+ }), n = 0; n < e.length; n++) ge[e[n]] = a
+ }
- function xt(e, t, n, a) {
- return Et(e, t, n, a, !1)
- }
- a.createFromInputFallback = S("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.", (function(e) {
- e._d = new Date(e._i + (e._useUTC ? " UTC" : ""))
- })), a.ISO_8601 = function() {}, a.RFC_2822 = function() {};
- var Ct = S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/", (function() {
- var e = xt.apply(null, arguments);
- return this.isValid() && e.isValid() ? e < this ? this : e : g()
- })),
- At = S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/", (function() {
- var e = xt.apply(null, arguments);
- return this.isValid() && e.isValid() ? e > this ? this : e : g()
- }));
+ function ye(e, t) {
+ be(e, (function(e, n, a, r) {
+ a._w = a._w || {}, t(e, a._w, a, r)
+ }))
+ }
- function jt(e, t) {
- var n, a;
- if (1 === t.length && r(t[0]) && (t = t[0]), !t.length) return xt();
- for (n = t[0], a = 1; a < t.length; ++a) t[a].isValid() && !t[a][e](n) || (n = t[a]);
- return n
- }
- var Pt = ["year", "quarter", "month", "week", "day", "hour", "minute", "second", "millisecond"];
-
- function Dt(e) {
- var t = B(e),
- n = t.year || 0,
- a = t.quarter || 0,
- r = t.month || 0,
- i = t.week || t.isoWeek || 0,
- s = t.day || 0,
- l = t.hour || 0,
- c = t.minute || 0,
- u = t.second || 0,
- d = t.millisecond || 0;
- this._isValid = function(e) {
- var t, n, a = !1;
- for (t in e)
- if (o(e, t) && (-1 === ke.call(Pt, t) || null != e[t] && isNaN(e[t]))) return !1;
- for (n = 0; n < Pt.length; ++n)
- if (e[Pt[n]]) {
- if (a) return !1;
- parseFloat(e[Pt[n]]) !== Y(e[Pt[n]]) && (a = !0)
- } return !0
- }(t), this._milliseconds = +d + 1e3 * u + 6e4 * c + 1e3 * l * 60 * 60, this._days = +s + 7 * i, this._months = +r + 3 * a + 12 * n, this._data = {}, this._locale = st(), this._bubble()
- }
-
- function Tt(e) {
- return e instanceof Dt
- }
-
- function Ot(e) {
- return e < 0 ? -1 * Math.round(-1 * e) : Math.round(e)
- }
-
- function Mt(e, t) {
- N(e, 0, 0, (function() {
- var e = this.utcOffset(),
- n = "+";
- return e < 0 && (e = -e, n = "-"), n + D(~~(e / 60), 2) + t + D(~~e % 60, 2)
- }))
- }
- Mt("Z", ":"), Mt("ZZ", ""), he("Z", de), he("ZZ", de), be(["Z", "ZZ"], (function(e, t, n) {
- n._useUTC = !0, n._tzm = Nt(de, e)
- }));
- var It = /([\+\-]|\d\d)/gi;
+ function ve(e, t, n) {
+ null != t && o(ge, e) && ge[e](t, n._a, n, e)
+ }
+ var ke;
+
+ function _e(e, t) {
+ if (isNaN(e) || isNaN(t)) return NaN;
+ var n, a = (t % (n = 12) + n) % n;
+ return e += (t - a) / 12, 1 === a ? V(e) ? 29 : 28 : 31 - a % 7 % 2
+ }
+ ke = Array.prototype.indexOf ? Array.prototype.indexOf : function(e) {
+ var t;
+ for (t = 0; t < this.length; ++t)
+ if (this[t] === e) return t;
+ return -1
+ }, N("M", ["MM", 2], "Mo", (function() {
+ return this.month() + 1
+ })), N("MMM", 0, 0, (function(e) {
+ return this.localeData().monthsShort(this, e)
+ })), N("MMMM", 0, 0, (function(e) {
+ return this.localeData().months(this, e)
+ })), F("month", "M"), H("month", 8), he("M", ne), he("MM", ne, Q), he("MMM", (function(e, t) {
+ return t.monthsShortRegex(e)
+ })), he("MMMM", (function(e, t) {
+ return t.monthsRegex(e)
+ })), be(["M", "MM"], (function(e, t) {
+ t[1] = Y(e) - 1
+ })), be(["MMM", "MMMM"], (function(e, t, n, a) {
+ var r = n._locale.monthsParse(e, a, n._strict);
+ null != r ? t[1] = r : m(n).invalidMonth = e
+ }));
+ var we = "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
+ Se = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
+ Ee = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,
+ xe = pe,
+ Ce = pe;
+
+ function Ae(e, t, n) {
+ var a, r, i, o = e.toLocaleLowerCase();
+ if (!this._monthsParse)
+ for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], a = 0; a < 12; ++a) i = h([2e3, a]), this._shortMonthsParse[a] = this.monthsShort(i, "").toLocaleLowerCase(), this._longMonthsParse[a] = this.months(i, "").toLocaleLowerCase();
+ return n ? "MMM" === t ? -1 !== (r = ke.call(this._shortMonthsParse, o)) ? r : null : -1 !== (r = ke.call(this._longMonthsParse, o)) ? r : null : "MMM" === t ? -1 !== (r = ke.call(this._shortMonthsParse, o)) || -1 !== (r = ke.call(this._longMonthsParse, o)) ? r : null : -1 !== (r = ke.call(this._longMonthsParse, o)) || -1 !== (r = ke.call(this._shortMonthsParse, o)) ? r : null
+ }
+
+ function Te(e, t) {
+ var n;
+ if (!e.isValid()) return e;
+ if ("string" == typeof t)
+ if (/^\d+$/.test(t)) t = Y(t);
+ else if (!c(t = e.localeData().monthsParse(t))) return e;
+ return n = Math.min(e.date(), _e(e.year(), t)), e._d["set" + (e._isUTC ? "UTC" : "") + "Month"](t, n), e
+ }
- function Nt(e, t) {
- var n, a, r = (t || "").match(e);
- return null === r ? null : 0 === (a = 60 * (n = ((r[r.length - 1] || []) + "").match(It) || ["-", 0, 0])[1] + Y(n[2])) ? 0 : "+" === n[0] ? a : -a
- }
+ function De(e) {
+ return null != e ? (Te(this, e), a.updateOffset(this, !0), this) : K(this, "Month")
+ }
- function zt(e, t) {
- var n, r;
- return t._isUTC ? (n = t.clone(), r = (_(e) || u(e) ? e.valueOf() : xt(e).valueOf()) - n.valueOf(), n._d.setTime(n._d.valueOf() + r), a.updateOffset(n, !1), n) : xt(e).local()
+ function Pe() {
+ function e(e, t) {
+ return t.length - e.length
}
+ var t, n, a = [],
+ r = [],
+ i = [];
+ for (t = 0; t < 12; t++) n = h([2e3, t]), a.push(this.monthsShort(n, "")), r.push(this.months(n, "")), i.push(this.months(n, "")), i.push(this.monthsShort(n, ""));
+ for (a.sort(e), r.sort(e), i.sort(e), t = 0; t < 12; t++) a[t] = fe(a[t]), r[t] = fe(r[t]);
+ for (t = 0; t < 24; t++) i[t] = fe(i[t]);
+ this._monthsRegex = new RegExp("^(" + i.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp("^(" + r.join("|") + ")", "i"), this._monthsShortStrictRegex = new RegExp("^(" + a.join("|") + ")", "i")
+ }
+
+ function je(e) {
+ return V(e) ? 366 : 365
+ }
+ N("Y", 0, 0, (function() {
+ var e = this.year();
+ return e <= 9999 ? P(e, 4) : "+" + e
+ })), N(0, ["YY", 2], 0, (function() {
+ return this.year() % 100
+ })), N(0, ["YYYY", 4], 0, "year"), N(0, ["YYYYY", 5], 0, "year"), N(0, ["YYYYYY", 6, !0], 0, "year"), F("year", "y"), H("year", 1), he("Y", ce), he("YY", ne, Q), he("YYYY", oe, ee), he("YYYYY", se, te), he("YYYYYY", se, te), be(["YYYYY", "YYYYYY"], 0), be("YYYY", (function(e, t) {
+ t[0] = 2 === e.length ? a.parseTwoDigitYear(e) : Y(e)
+ })), be("YY", (function(e, t) {
+ t[0] = a.parseTwoDigitYear(e)
+ })), be("Y", (function(e, t) {
+ t[0] = parseInt(e, 10)
+ })), a.parseTwoDigitYear = function(e) {
+ return Y(e) + (Y(e) > 68 ? 1900 : 2e3)
+ };
+ var Me = G("FullYear", !0);
- function Rt(e) {
- return -Math.round(e._d.getTimezoneOffset())
- }
+ function Ie(e, t, n, a, r, i, o) {
+ var s;
+ return e < 100 && e >= 0 ? (s = new Date(e + 400, t, n, a, r, i, o), isFinite(s.getFullYear()) && s.setFullYear(e)) : s = new Date(e, t, n, a, r, i, o), s
+ }
- function Lt() {
- return !!this.isValid() && this._isUTC && 0 === this._offset
- }
- a.updateOffset = function() {};
- var Ft = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
- qt = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
+ function Oe(e) {
+ var t, n;
+ return e < 100 && e >= 0 ? ((n = Array.prototype.slice.call(arguments))[0] = e + 400, t = new Date(Date.UTC.apply(null, n)), isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e)) : t = new Date(Date.UTC.apply(null, arguments)), t
+ }
- function Bt(e, t) {
- var n, a, r, i, s, l, u = e,
- d = null;
- return Tt(e) ? u = {
- ms: e._milliseconds,
- d: e._days,
- M: e._months
- } : c(e) || !isNaN(+e) ? (u = {}, t ? u[t] = +e : u.milliseconds = +e) : (d = Ft.exec(e)) ? (n = "-" === d[1] ? -1 : 1, u = {
- y: 0,
- d: Y(d[2]) * n,
- h: Y(d[3]) * n,
- m: Y(d[4]) * n,
- s: Y(d[5]) * n,
- ms: Y(Ot(1e3 * d[6])) * n
- }) : (d = qt.exec(e)) ? (n = "-" === d[1] ? -1 : 1, u = {
- y: Ut(d[2], n),
- M: Ut(d[3], n),
- w: Ut(d[4], n),
- d: Ut(d[5], n),
- h: Ut(d[6], n),
- m: Ut(d[7], n),
- s: Ut(d[8], n)
- }) : null == u ? u = {} : "object" == typeof u && ("from" in u || "to" in u) && (i = xt(u.from), s = xt(u.to), r = i.isValid() && s.isValid() ? (s = zt(s, i), i.isBefore(s) ? l = Ht(i, s) : ((l = Ht(s, i)).milliseconds = -l.milliseconds, l.months = -l.months), l) : {
- milliseconds: 0,
- months: 0
- }, (u = {}).ms = r.milliseconds, u.M = r.months), a = new Dt(u), Tt(e) && o(e, "_locale") && (a._locale = e._locale), Tt(e) && o(e, "_isValid") && (a._isValid = e._isValid), a
- }
-
- function Ut(e, t) {
- var n = e && parseFloat(e.replace(",", "."));
- return (isNaN(n) ? 0 : n) * t
- }
-
- function Ht(e, t) {
- var n = {};
- return n.months = t.month() - e.month() + 12 * (t.year() - e.year()), e.clone().add(n.months, "M").isAfter(t) && --n.months, n.milliseconds = +t - +e.clone().add(n.months, "M"), n
- }
+ function Ne(e, t, n) {
+ var a = 7 + t - n;
+ return -(7 + Oe(e, 0, a).getUTCDay() - t) % 7 + a - 1
+ }
- function Vt(e, t) {
- return function(n, a) {
- var r;
- return null === a || isNaN(+a) || (C(t, "moment()." + t + "(period, number) is deprecated. Please use moment()." + t + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."), r = n, n = a, a = r), Wt(this, Bt(n, a), e), this
- }
+ function Re(e, t, n, a, r) {
+ var i, o, s = 1 + 7 * (t - 1) + (7 + n - a) % 7 + Ne(e, a, r);
+ return s <= 0 ? o = je(i = e - 1) + s : s > je(e) ? (i = e + 1, o = s - je(e)) : (i = e, o = s), {
+ year: i,
+ dayOfYear: o
}
+ }
- function Wt(e, t, n, r) {
- var i = t._milliseconds,
- o = Ot(t._days),
- s = Ot(t._months);
- e.isValid() && (r = null == r || r, s && je(e, K(e, "Month") + s * n), o && $(e, "Date", K(e, "Date") + o * n), i && e._d.setTime(e._d.valueOf() + i * n), r && a.updateOffset(e, o || s))
+ function ze(e, t, n) {
+ var a, r, i = Ne(e.year(), t, n),
+ o = Math.floor((e.dayOfYear() - i - 1) / 7) + 1;
+ return o < 1 ? a = o + Le(r = e.year() - 1, t, n) : o > Le(e.year(), t, n) ? (a = o - Le(e.year(), t, n), r = e.year() + 1) : (r = e.year(), a = o), {
+ week: a,
+ year: r
}
- Bt.fn = Dt.prototype, Bt.invalid = function() {
- return Bt(NaN)
- };
- var Yt = Vt(1, "add"),
- Gt = Vt(-1, "subtract");
+ }
- function Kt(e) {
- return "string" == typeof e || e instanceof String
- }
+ function Le(e, t, n) {
+ var a = Ne(e, t, n),
+ r = Ne(e + 1, t, n);
+ return (je(e) - a + r) / 7
+ }
+ N("w", ["ww", 2], "wo", "week"), N("W", ["WW", 2], "Wo", "isoWeek"), F("week", "w"), F("isoWeek", "W"), H("week", 5), H("isoWeek", 5), he("w", ne), he("ww", ne, Q), he("W", ne), he("WW", ne, Q), ye(["w", "ww", "W", "WW"], (function(e, t, n, a) {
+ t[a.substr(0, 1)] = Y(e)
+ }));
- function $t(e) {
- return _(e) || u(e) || Kt(e) || c(e) || function(e) {
- var t = r(e),
- n = !1;
- return t && (n = 0 === e.filter((function(t) {
- return !c(t) && Kt(e)
- })).length), t && n
- }(e) || function(e) {
- var t, n, a = i(e) && !s(e),
- r = !1,
- l = ["years", "year", "y", "months", "month", "M", "days", "day", "d", "dates", "date", "D", "hours", "hour", "h", "minutes", "minute", "m", "seconds", "second", "s", "milliseconds", "millisecond", "ms"];
- for (t = 0; t < l.length; t += 1) n = l[t], r = r || o(e, n);
- return a && r
- }(e) || null == e
- }
+ function Fe(e, t) {
+ return e.slice(t, 7).concat(e.slice(0, t))
+ }
+ N("d", 0, "do", "day"), N("dd", 0, 0, (function(e) {
+ return this.localeData().weekdaysMin(this, e)
+ })), N("ddd", 0, 0, (function(e) {
+ return this.localeData().weekdaysShort(this, e)
+ })), N("dddd", 0, 0, (function(e) {
+ return this.localeData().weekdays(this, e)
+ })), N("e", 0, 0, "weekday"), N("E", 0, 0, "isoWeekday"), F("day", "d"), F("weekday", "e"), F("isoWeekday", "E"), H("day", 11), H("weekday", 11), H("isoWeekday", 11), he("d", ne), he("e", ne), he("E", ne), he("dd", (function(e, t) {
+ return t.weekdaysMinRegex(e)
+ })), he("ddd", (function(e, t) {
+ return t.weekdaysShortRegex(e)
+ })), he("dddd", (function(e, t) {
+ return t.weekdaysRegex(e)
+ })), ye(["dd", "ddd", "dddd"], (function(e, t, n, a) {
+ var r = n._locale.weekdaysParse(e, a, n._strict);
+ null != r ? t.d = r : m(n).invalidWeekday = e
+ })), ye(["d", "e", "E"], (function(e, t, n, a) {
+ t[a] = Y(e)
+ }));
+ var qe = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
+ Be = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
+ Ue = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"),
+ He = pe,
+ Ve = pe,
+ We = pe;
- function Jt(e) {
- var t, n = i(e) && !s(e),
- a = !1,
- r = ["sameDay", "nextDay", "lastDay", "nextWeek", "lastWeek", "sameElse"];
- for (t = 0; t < r.length; t += 1) a = a || o(e, r[t]);
- return n && a
- }
+ function Ye(e, t, n) {
+ var a, r, i, o = e.toLocaleLowerCase();
+ if (!this._weekdaysParse)
+ for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], a = 0; a < 7; ++a) i = h([2e3, 1]).day(a), this._minWeekdaysParse[a] = this.weekdaysMin(i, "").toLocaleLowerCase(), this._shortWeekdaysParse[a] = this.weekdaysShort(i, "").toLocaleLowerCase(), this._weekdaysParse[a] = this.weekdays(i, "").toLocaleLowerCase();
+ return n ? "dddd" === t ? -1 !== (r = ke.call(this._weekdaysParse, o)) ? r : null : "ddd" === t ? -1 !== (r = ke.call(this._shortWeekdaysParse, o)) ? r : null : -1 !== (r = ke.call(this._minWeekdaysParse, o)) ? r : null : "dddd" === t ? -1 !== (r = ke.call(this._weekdaysParse, o)) || -1 !== (r = ke.call(this._shortWeekdaysParse, o)) || -1 !== (r = ke.call(this._minWeekdaysParse, o)) ? r : null : "ddd" === t ? -1 !== (r = ke.call(this._shortWeekdaysParse, o)) || -1 !== (r = ke.call(this._weekdaysParse, o)) || -1 !== (r = ke.call(this._minWeekdaysParse, o)) ? r : null : -1 !== (r = ke.call(this._minWeekdaysParse, o)) || -1 !== (r = ke.call(this._weekdaysParse, o)) || -1 !== (r = ke.call(this._shortWeekdaysParse, o)) ? r : null
+ }
- function Zt(e, t) {
- if (e.date() < t.date()) return -Zt(t, e);
- var n = 12 * (t.year() - e.year()) + (t.month() - e.month()),
- a = e.clone().add(n, "months");
- return -(n + (t - a < 0 ? (t - a) / (a - e.clone().add(n - 1, "months")) : (t - a) / (e.clone().add(n + 1, "months") - a))) || 0
+ function Ge() {
+ function e(e, t) {
+ return t.length - e.length
}
+ var t, n, a, r, i, o = [],
+ s = [],
+ l = [],
+ c = [];
+ for (t = 0; t < 7; t++) n = h([2e3, 1]).day(t), a = fe(this.weekdaysMin(n, "")), r = fe(this.weekdaysShort(n, "")), i = fe(this.weekdays(n, "")), o.push(a), s.push(r), l.push(i), c.push(a), c.push(r), c.push(i);
+ o.sort(e), s.sort(e), l.sort(e), c.sort(e), this._weekdaysRegex = new RegExp("^(" + c.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp("^(" + l.join("|") + ")", "i"), this._weekdaysShortStrictRegex = new RegExp("^(" + s.join("|") + ")", "i"), this._weekdaysMinStrictRegex = new RegExp("^(" + o.join("|") + ")", "i")
+ }
- function Qt(e) {
- var t;
- return void 0 === e ? this._locale._abbr : (null != (t = st(e)) && (this._locale = t), this)
- }
- a.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ", a.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
- var Xt = S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.", (function(e) {
- return void 0 === e ? this.localeData() : this.locale(e)
- }));
+ function Ke() {
+ return this.hours() % 12 || 12
+ }
- function en() {
- return this._locale
- }
- var tn = 1e3,
- nn = 6e4,
- an = 36e5,
- rn = 126227808e5;
+ function $e(e, t) {
+ N(e, 0, 0, (function() {
+ return this.localeData().meridiem(this.hours(), this.minutes(), t)
+ }))
+ }
- function on(e, t) {
- return (e % t + t) % t
- }
+ function Je(e, t) {
+ return t._meridiemParse
+ }
+ N("H", ["HH", 2], 0, "hour"), N("h", ["hh", 2], 0, Ke), N("k", ["kk", 2], 0, (function() {
+ return this.hours() || 24
+ })), N("hmm", 0, 0, (function() {
+ return "" + Ke.apply(this) + P(this.minutes(), 2)
+ })), N("hmmss", 0, 0, (function() {
+ return "" + Ke.apply(this) + P(this.minutes(), 2) + P(this.seconds(), 2)
+ })), N("Hmm", 0, 0, (function() {
+ return "" + this.hours() + P(this.minutes(), 2)
+ })), N("Hmmss", 0, 0, (function() {
+ return "" + this.hours() + P(this.minutes(), 2) + P(this.seconds(), 2)
+ })), $e("a", !0), $e("A", !1), F("hour", "h"), H("hour", 13), he("a", Je), he("A", Je), he("H", ne), he("h", ne), he("k", ne), he("HH", ne, Q), he("hh", ne, Q), he("kk", ne, Q), he("hmm", ae), he("hmmss", re), he("Hmm", ae), he("Hmmss", re), be(["H", "HH"], 3), be(["k", "kk"], (function(e, t, n) {
+ var a = Y(e);
+ t[3] = 24 === a ? 0 : a
+ })), be(["a", "A"], (function(e, t, n) {
+ n._isPm = n._locale.isPM(e), n._meridiem = e
+ })), be(["h", "hh"], (function(e, t, n) {
+ t[3] = Y(e), m(n).bigHour = !0
+ })), be("hmm", (function(e, t, n) {
+ var a = e.length - 2;
+ t[3] = Y(e.substr(0, a)), t[4] = Y(e.substr(a)), m(n).bigHour = !0
+ })), be("hmmss", (function(e, t, n) {
+ var a = e.length - 4,
+ r = e.length - 2;
+ t[3] = Y(e.substr(0, a)), t[4] = Y(e.substr(a, 2)), t[5] = Y(e.substr(r)), m(n).bigHour = !0
+ })), be("Hmm", (function(e, t, n) {
+ var a = e.length - 2;
+ t[3] = Y(e.substr(0, a)), t[4] = Y(e.substr(a))
+ })), be("Hmmss", (function(e, t, n) {
+ var a = e.length - 4,
+ r = e.length - 2;
+ t[3] = Y(e.substr(0, a)), t[4] = Y(e.substr(a, 2)), t[5] = Y(e.substr(r))
+ }));
+ var Ze = G("Hours", !0);
+ var Qe, Xe = {
+ calendar: {
+ sameDay: "[Today at] LT",
+ nextDay: "[Tomorrow at] LT",
+ nextWeek: "dddd [at] LT",
+ lastDay: "[Yesterday at] LT",
+ lastWeek: "[Last] dddd [at] LT",
+ sameElse: "L"
+ },
+ longDateFormat: {
+ LTS: "h:mm:ss A",
+ LT: "h:mm A",
+ L: "MM/DD/YYYY",
+ LL: "MMMM D, YYYY",
+ LLL: "MMMM D, YYYY h:mm A",
+ LLLL: "dddd, MMMM D, YYYY h:mm A"
+ },
+ invalidDate: "Invalid date",
+ ordinal: "%d",
+ dayOfMonthOrdinalParse: /\d{1,2}/,
+ relativeTime: {
+ future: "in %s",
+ past: "%s ago",
+ s: "a few seconds",
+ ss: "%d seconds",
+ m: "a minute",
+ mm: "%d minutes",
+ h: "an hour",
+ hh: "%d hours",
+ d: "a day",
+ dd: "%d days",
+ w: "a week",
+ ww: "%d weeks",
+ M: "a month",
+ MM: "%d months",
+ y: "a year",
+ yy: "%d years"
+ },
+ months: we,
+ monthsShort: Se,
+ week: {
+ dow: 0,
+ doy: 6
+ },
+ weekdays: qe,
+ weekdaysMin: Ue,
+ weekdaysShort: Be,
+ meridiemParse: /[ap]\.?m?\.?/i
+ },
+ et = {},
+ tt = {};
- function sn(e, t, n) {
- return e < 100 && e >= 0 ? new Date(e + 400, t, n) - rn : new Date(e, t, n).valueOf()
- }
+ function nt(e, t) {
+ var n, a = Math.min(e.length, t.length);
+ for (n = 0; n < a; n += 1)
+ if (e[n] !== t[n]) return n;
+ return a
+ }
- function ln(e, t, n) {
- return e < 100 && e >= 0 ? Date.UTC(e + 400, t, n) - rn : Date.UTC(e, t, n)
- }
+ function at(e) {
+ return e ? e.toLowerCase().replace("_", "-") : e
+ }
- function cn(e, t) {
- return t.erasAbbrRegex(e)
+ function rt(t) {
+ var n = null;
+ if (void 0 === et[t] && e && e.exports) try {
+ n = Qe._abbr, Object(function() {
+ var e = new Error("Cannot find module 'undefined'");
+ throw e.code = "MODULE_NOT_FOUND", e
+ }()), it(n)
+ } catch (e) {
+ et[t] = null
}
+ return et[t]
+ }
- function un() {
- var e, t, n = [],
- a = [],
- r = [],
- i = [],
- o = this.eras();
- for (e = 0, t = o.length; e < t; ++e) a.push(fe(o[e].name)), n.push(fe(o[e].abbr)), r.push(fe(o[e].narrow)), i.push(fe(o[e].name)), i.push(fe(o[e].abbr)), i.push(fe(o[e].narrow));
- this._erasRegex = new RegExp("^(" + i.join("|") + ")", "i"), this._erasNameRegex = new RegExp("^(" + a.join("|") + ")", "i"), this._erasAbbrRegex = new RegExp("^(" + n.join("|") + ")", "i"), this._erasNarrowRegex = new RegExp("^(" + r.join("|") + ")", "i")
- }
+ function it(e, t) {
+ var n;
+ return e && ((n = l(t) ? st(e) : ot(e, t)) ? Qe = n : "undefined" != typeof console && console.warn && console.warn("Locale " + e + " not found. Did you forget to load it?")), Qe._abbr
+ }
- function dn(e, t) {
- N(0, [e, e.length], 0, t)
+ function ot(e, t) {
+ if (null !== t) {
+ var n, a = Xe;
+ if (t.abbr = e, null != et[e]) C("defineLocaleOverride", "use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."), a = et[e]._config;
+ else if (null != t.parentLocale)
+ if (null != et[t.parentLocale]) a = et[t.parentLocale]._config;
+ else {
+ if (null == (n = rt(t.parentLocale))) return tt[t.parentLocale] || (tt[t.parentLocale] = []), tt[t.parentLocale].push({
+ name: e,
+ config: t
+ }), null;
+ a = n._config
+ } return et[e] = new D(T(a, t)), tt[e] && tt[e].forEach((function(e) {
+ ot(e.name, e.config)
+ })), it(e), et[e]
}
+ return delete et[e], null
+ }
- function pn(e, t, n, a, r) {
- var i;
- return null == e ? Re(this, a, r).year : (t > (i = Le(e, a, r)) && (t = i), hn.call(this, e, t, n, a, r))
- }
-
- function hn(e, t, n, a, r) {
- var i = ze(e, t, n, a, r),
- o = Ie(i.year, 0, i.dayOfYear);
- return this.year(o.getUTCFullYear()), this.month(o.getUTCMonth()), this.date(o.getUTCDate()), this
- }
- N("N", 0, 0, "eraAbbr"), N("NN", 0, 0, "eraAbbr"), N("NNN", 0, 0, "eraAbbr"), N("NNNN", 0, 0, "eraName"), N("NNNNN", 0, 0, "eraNarrow"), N("y", ["y", 1], "yo", "eraYear"), N("y", ["yy", 2], 0, "eraYear"), N("y", ["yyy", 3], 0, "eraYear"), N("y", ["yyyy", 4], 0, "eraYear"), he("N", cn), he("NN", cn), he("NNN", cn), he("NNNN", (function(e, t) {
- return t.erasNameRegex(e)
- })), he("NNNNN", (function(e, t) {
- return t.erasNarrowRegex(e)
- })), be(["N", "NN", "NNN", "NNNN", "NNNNN"], (function(e, t, n, a) {
- var r = n._locale.erasParse(e, a, n._strict);
- r ? m(n).era = r : m(n).invalidEra = e
- })), he("y", le), he("yy", le), he("yyy", le), he("yyyy", le), he("yo", (function(e, t) {
- return t._eraYearOrdinalRegex || le
- })), be(["y", "yy", "yyy", "yyyy"], 0), be(["yo"], (function(e, t, n, a) {
- var r;
- n._locale._eraYearOrdinalRegex && (r = e.match(n._locale._eraYearOrdinalRegex)), n._locale.eraYearOrdinalParse ? t[0] = n._locale.eraYearOrdinalParse(e, r) : t[0] = parseInt(e, 10)
- })), N(0, ["gg", 2], 0, (function() {
- return this.weekYear() % 100
- })), N(0, ["GG", 2], 0, (function() {
- return this.isoWeekYear() % 100
- })), dn("gggg", "weekYear"), dn("ggggg", "weekYear"), dn("GGGG", "isoWeekYear"), dn("GGGGG", "isoWeekYear"), F("weekYear", "gg"), F("isoWeekYear", "GG"), H("weekYear", 1), H("isoWeekYear", 1), he("G", ce), he("g", ce), he("GG", ne, Q), he("gg", ne, Q), he("GGGG", oe, ee), he("gggg", oe, ee), he("GGGGG", se, te), he("ggggg", se, te), ye(["gggg", "ggggg", "GGGG", "GGGGG"], (function(e, t, n, a) {
- t[a.substr(0, 2)] = Y(e)
- })), ye(["gg", "GG"], (function(e, t, n, r) {
- t[r] = a.parseTwoDigitYear(e)
- })), N("Q", 0, "Qo", "quarter"), F("quarter", "Q"), H("quarter", 7), he("Q", Z), be("Q", (function(e, t) {
- t[1] = 3 * (Y(e) - 1)
- })), N("D", ["DD", 2], "Do", "date"), F("date", "D"), H("date", 9), he("D", ne), he("DD", ne, Q), he("Do", (function(e, t) {
- return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient
- })), be(["D", "DD"], 2), be("Do", (function(e, t) {
- t[2] = Y(e.match(ne)[0])
- }));
- var mn = G("Date", !0);
- N("DDD", ["DDDD", 3], "DDDo", "dayOfYear"), F("dayOfYear", "DDD"), H("dayOfYear", 4), he("DDD", ie), he("DDDD", X), be(["DDD", "DDDD"], (function(e, t, n) {
- n._dayOfYear = Y(e)
- })), N("m", ["mm", 2], 0, "minute"), F("minute", "m"), H("minute", 14), he("m", ne), he("mm", ne, Q), be(["m", "mm"], 4);
- var fn = G("Minutes", !1);
- N("s", ["ss", 2], 0, "second"), F("second", "s"), H("second", 15), he("s", ne), he("ss", ne, Q), be(["s", "ss"], 5);
- var gn, bn, yn = G("Seconds", !1);
- for (N("S", 0, 0, (function() {
- return ~~(this.millisecond() / 100)
- })), N(0, ["SS", 2], 0, (function() {
- return ~~(this.millisecond() / 10)
- })), N(0, ["SSS", 3], 0, "millisecond"), N(0, ["SSSS", 4], 0, (function() {
- return 10 * this.millisecond()
- })), N(0, ["SSSSS", 5], 0, (function() {
- return 100 * this.millisecond()
- })), N(0, ["SSSSSS", 6], 0, (function() {
- return 1e3 * this.millisecond()
- })), N(0, ["SSSSSSS", 7], 0, (function() {
- return 1e4 * this.millisecond()
- })), N(0, ["SSSSSSSS", 8], 0, (function() {
- return 1e5 * this.millisecond()
- })), N(0, ["SSSSSSSSS", 9], 0, (function() {
- return 1e6 * this.millisecond()
- })), F("millisecond", "ms"), H("millisecond", 16), he("S", ie, Z), he("SS", ie, Q), he("SSS", ie, X), gn = "SSSS"; gn.length <= 9; gn += "S") he(gn, le);
-
- function vn(e, t) {
- t[6] = Y(1e3 * ("0." + e))
- }
- for (gn = "S"; gn.length <= 9; gn += "S") be(gn, vn);
- bn = G("Milliseconds", !1), N("z", 0, 0, "zoneAbbr"), N("zz", 0, 0, "zoneName");
- var kn = k.prototype;
-
- function _n(e) {
- return e
+ function st(e) {
+ var t;
+ if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e) return Qe;
+ if (!r(e)) {
+ if (t = rt(e)) return t;
+ e = [e]
}
- kn.add = Yt, kn.calendar = function(e, t) {
- 1 === arguments.length && (arguments[0] ? $t(arguments[0]) ? (e = arguments[0], t = void 0) : Jt(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
- var n = e || xt(),
- r = zt(n, this).startOf("day"),
- i = a.calendarFormat(this, r) || "sameElse",
- o = t && (A(t[i]) ? t[i].call(this, n) : t[i]);
- return this.format(o || this.localeData().calendar(i, this, xt(n)))
- }, kn.clone = function() {
- return new k(this)
- }, kn.diff = function(e, t, n) {
- var a, r, i;
- if (!this.isValid()) return NaN;
- if (!(a = zt(e, this)).isValid()) return NaN;
- switch (r = 6e4 * (a.utcOffset() - this.utcOffset()), t = q(t)) {
- case "year":
- i = Zt(this, a) / 12;
- break;
- case "month":
- i = Zt(this, a);
- break;
- case "quarter":
- i = Zt(this, a) / 3;
- break;
- case "second":
- i = (this - a) / 1e3;
- break;
- case "minute":
- i = (this - a) / 6e4;
- break;
- case "hour":
- i = (this - a) / 36e5;
- break;
- case "day":
- i = (this - a - r) / 864e5;
- break;
- case "week":
- i = (this - a - r) / 6048e5;
- break;
- default:
- i = this - a
- }
- return n ? i : W(i)
- }, kn.endOf = function(e) {
- var t, n;
- if (void 0 === (e = q(e)) || "millisecond" === e || !this.isValid()) return this;
- switch (n = this._isUTC ? ln : sn, e) {
- case "year":
- t = n(this.year() + 1, 0, 1) - 1;
- break;
- case "quarter":
- t = n(this.year(), this.month() - this.month() % 3 + 3, 1) - 1;
- break;
- case "month":
- t = n(this.year(), this.month() + 1, 1) - 1;
- break;
- case "week":
- t = n(this.year(), this.month(), this.date() - this.weekday() + 7) - 1;
- break;
- case "isoWeek":
- t = n(this.year(), this.month(), this.date() - (this.isoWeekday() - 1) + 7) - 1;
- break;
- case "day":
- case "date":
- t = n(this.year(), this.month(), this.date() + 1) - 1;
- break;
- case "hour":
- t = this._d.valueOf(), t += an - on(t + (this._isUTC ? 0 : this.utcOffset() * nn), an) - 1;
- break;
- case "minute":
- t = this._d.valueOf(), t += nn - on(t, nn) - 1;
- break;
- case "second":
- t = this._d.valueOf(), t += tn - on(t, tn) - 1
- }
- return this._d.setTime(t), a.updateOffset(this, !0), this
- }, kn.format = function(e) {
- e || (e = this.isUtc() ? a.defaultFormatUtc : a.defaultFormat);
- var t = z(this, e);
- return this.localeData().postformat(t)
- }, kn.from = function(e, t) {
- return this.isValid() && (_(e) && e.isValid() || xt(e).isValid()) ? Bt({
- to: this,
- from: e
- }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate()
- }, kn.fromNow = function(e) {
- return this.from(xt(), e)
- }, kn.to = function(e, t) {
- return this.isValid() && (_(e) && e.isValid() || xt(e).isValid()) ? Bt({
- from: this,
- to: e
- }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate()
- }, kn.toNow = function(e) {
- return this.to(xt(), e)
- }, kn.get = function(e) {
- return A(this[e = q(e)]) ? this[e]() : this
- }, kn.invalidAt = function() {
- return m(this).overflow
- }, kn.isAfter = function(e, t) {
- var n = _(e) ? e : xt(e);
- return !(!this.isValid() || !n.isValid()) && ("millisecond" === (t = q(t) || "millisecond") ? this.valueOf() > n.valueOf() : n.valueOf() < this.clone().startOf(t).valueOf())
- }, kn.isBefore = function(e, t) {
- var n = _(e) ? e : xt(e);
- return !(!this.isValid() || !n.isValid()) && ("millisecond" === (t = q(t) || "millisecond") ? this.valueOf() < n.valueOf() : this.clone().endOf(t).valueOf() < n.valueOf())
- }, kn.isBetween = function(e, t, n, a) {
- var r = _(e) ? e : xt(e),
- i = _(t) ? t : xt(t);
- return !!(this.isValid() && r.isValid() && i.isValid()) && ("(" === (a = a || "()")[0] ? this.isAfter(r, n) : !this.isBefore(r, n)) && (")" === a[1] ? this.isBefore(i, n) : !this.isAfter(i, n))
- }, kn.isSame = function(e, t) {
- var n, a = _(e) ? e : xt(e);
- return !(!this.isValid() || !a.isValid()) && ("millisecond" === (t = q(t) || "millisecond") ? this.valueOf() === a.valueOf() : (n = a.valueOf(), this.clone().startOf(t).valueOf() <= n && n <= this.clone().endOf(t).valueOf()))
- }, kn.isSameOrAfter = function(e, t) {
- return this.isSame(e, t) || this.isAfter(e, t)
- }, kn.isSameOrBefore = function(e, t) {
- return this.isSame(e, t) || this.isBefore(e, t)
- }, kn.isValid = function() {
- return f(this)
- }, kn.lang = Xt, kn.locale = Qt, kn.localeData = en, kn.max = At, kn.min = Ct, kn.parsingFlags = function() {
- return p({}, m(this))
- }, kn.set = function(e, t) {
- if ("object" == typeof e) {
- var n, a = function(e) {
- var t, n = [];
- for (t in e) o(e, t) && n.push({
- unit: t,
- priority: U[t]
- });
- return n.sort((function(e, t) {
- return e.priority - t.priority
- })), n
- }(e = B(e));
- for (n = 0; n < a.length; n++) this[a[n].unit](e[a[n].unit])
- } else if (A(this[e = q(e)])) return this[e](t);
- return this
- }, kn.startOf = function(e) {
- var t, n;
- if (void 0 === (e = q(e)) || "millisecond" === e || !this.isValid()) return this;
- switch (n = this._isUTC ? ln : sn, e) {
- case "year":
- t = n(this.year(), 0, 1);
- break;
- case "quarter":
- t = n(this.year(), this.month() - this.month() % 3, 1);
- break;
- case "month":
- t = n(this.year(), this.month(), 1);
- break;
- case "week":
- t = n(this.year(), this.month(), this.date() - this.weekday());
- break;
- case "isoWeek":
- t = n(this.year(), this.month(), this.date() - (this.isoWeekday() - 1));
- break;
- case "day":
- case "date":
- t = n(this.year(), this.month(), this.date());
- break;
- case "hour":
- t = this._d.valueOf(), t -= on(t + (this._isUTC ? 0 : this.utcOffset() * nn), an);
- break;
- case "minute":
- t = this._d.valueOf(), t -= on(t, nn);
- break;
- case "second":
- t = this._d.valueOf(), t -= on(t, tn)
- }
- return this._d.setTime(t), a.updateOffset(this, !0), this
- }, kn.subtract = Gt, kn.toArray = function() {
- var e = this;
- return [e.year(), e.month(), e.date(), e.hour(), e.minute(), e.second(), e.millisecond()]
- }, kn.toObject = function() {
- var e = this;
- return {
- years: e.year(),
- months: e.month(),
- date: e.date(),
- hours: e.hours(),
- minutes: e.minutes(),
- seconds: e.seconds(),
- milliseconds: e.milliseconds()
- }
- }, kn.toDate = function() {
- return new Date(this.valueOf())
- }, kn.toISOString = function(e) {
- if (!this.isValid()) return null;
- var t = !0 !== e,
- n = t ? this.clone().utc() : this;
- return n.year() < 0 || n.year() > 9999 ? z(n, t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ") : A(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + 60 * this.utcOffset() * 1e3).toISOString().replace("Z", z(n, "Z")) : z(n, t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ")
- }, kn.inspect = function() {
- if (!this.isValid()) return "moment.invalid(/* " + this._i + " */)";
- var e, t, n, a = "moment",
- r = "";
- return this.isLocal() || (a = 0 === this.utcOffset() ? "moment.utc" : "moment.parseZone", r = "Z"), e = "[" + a + '("]', t = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", "-MM-DD[T]HH:mm:ss.SSS", n = r + '[")]', this.format(e + t + "-MM-DD[T]HH:mm:ss.SSS" + n)
- }, "undefined" != typeof Symbol && null != Symbol.for && (kn[Symbol.for("nodejs.util.inspect.custom")] = function() {
- return "Moment<" + this.format() + ">"
- }), kn.toJSON = function() {
- return this.isValid() ? this.toISOString() : null
- }, kn.toString = function() {
- return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")
- }, kn.unix = function() {
- return Math.floor(this.valueOf() / 1e3)
- }, kn.valueOf = function() {
- return this._d.valueOf() - 6e4 * (this._offset || 0)
- }, kn.creationData = function() {
- return {
- input: this._i,
- format: this._f,
- locale: this._locale,
- isUTC: this._isUTC,
- strict: this._strict
- }
- }, kn.eraName = function() {
- var e, t, n, a = this.localeData().eras();
- for (e = 0, t = a.length; e < t; ++e) {
- if (n = this.clone().startOf("day").valueOf(), a[e].since <= n && n <= a[e].until) return a[e].name;
- if (a[e].until <= n && n <= a[e].since) return a[e].name
- }
- return ""
- }, kn.eraNarrow = function() {
- var e, t, n, a = this.localeData().eras();
- for (e = 0, t = a.length; e < t; ++e) {
- if (n = this.clone().startOf("day").valueOf(), a[e].since <= n && n <= a[e].until) return a[e].narrow;
- if (a[e].until <= n && n <= a[e].since) return a[e].narrow
- }
- return ""
- }, kn.eraAbbr = function() {
- var e, t, n, a = this.localeData().eras();
- for (e = 0, t = a.length; e < t; ++e) {
- if (n = this.clone().startOf("day").valueOf(), a[e].since <= n && n <= a[e].until) return a[e].abbr;
- if (a[e].until <= n && n <= a[e].since) return a[e].abbr
- }
- return ""
- }, kn.eraYear = function() {
- var e, t, n, r, i = this.localeData().eras();
- for (e = 0, t = i.length; e < t; ++e)
- if (n = i[e].since <= i[e].until ? 1 : -1, r = this.clone().startOf("day").valueOf(), i[e].since <= r && r <= i[e].until || i[e].until <= r && r <= i[e].since) return (this.year() - a(i[e].since).year()) * n + i[e].offset;
- return this.year()
- }, kn.year = Oe, kn.isLeapYear = function() {
- return V(this.year())
- }, kn.weekYear = function(e) {
- return pn.call(this, e, this.week(), this.weekday(), this.localeData()._week.dow, this.localeData()._week.doy)
- }, kn.isoWeekYear = function(e) {
- return pn.call(this, e, this.isoWeek(), this.isoWeekday(), 1, 4)
- }, kn.quarter = kn.quarters = function(e) {
- return null == e ? Math.ceil((this.month() + 1) / 3) : this.month(3 * (e - 1) + this.month() % 3)
- }, kn.month = Pe, kn.daysInMonth = function() {
- return _e(this.year(), this.month())
- }, kn.week = kn.weeks = function(e) {
- var t = this.localeData().week(this);
- return null == e ? t : this.add(7 * (e - t), "d")
- }, kn.isoWeek = kn.isoWeeks = function(e) {
- var t = Re(this, 1, 4).week;
- return null == e ? t : this.add(7 * (e - t), "d")
- }, kn.weeksInYear = function() {
- var e = this.localeData()._week;
- return Le(this.year(), e.dow, e.doy)
- }, kn.weeksInWeekYear = function() {
- var e = this.localeData()._week;
- return Le(this.weekYear(), e.dow, e.doy)
- }, kn.isoWeeksInYear = function() {
- return Le(this.year(), 1, 4)
- }, kn.isoWeeksInISOWeekYear = function() {
- return Le(this.isoWeekYear(), 1, 4)
- }, kn.date = mn, kn.day = kn.days = function(e) {
- if (!this.isValid()) return null != e ? this : NaN;
- var t = this._isUTC ? this._d.getUTCDay() : this._d.getDay();
- return null != e ? (e = function(e, t) {
- return "string" != typeof e ? e : isNaN(e) ? "number" == typeof(e = t.weekdaysParse(e)) ? e : null : parseInt(e, 10)
- }(e, this.localeData()), this.add(e - t, "d")) : t
- }, kn.weekday = function(e) {
- if (!this.isValid()) return null != e ? this : NaN;
- var t = (this.day() + 7 - this.localeData()._week.dow) % 7;
- return null == e ? t : this.add(e - t, "d")
- }, kn.isoWeekday = function(e) {
- if (!this.isValid()) return null != e ? this : NaN;
- if (null != e) {
- var t = function(e, t) {
- return "string" == typeof e ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e
- }(e, this.localeData());
- return this.day(this.day() % 7 ? t : t - 7)
- }
- return this.day() || 7
- }, kn.dayOfYear = function(e) {
- var t = Math.round((this.clone().startOf("day") - this.clone().startOf("year")) / 864e5) + 1;
- return null == e ? t : this.add(e - t, "d")
- }, kn.hour = kn.hours = Ze, kn.minute = kn.minutes = fn, kn.second = kn.seconds = yn, kn.millisecond = kn.milliseconds = bn, kn.utcOffset = function(e, t, n) {
- var r, i = this._offset || 0;
- if (!this.isValid()) return null != e ? this : NaN;
- if (null != e) {
- if ("string" == typeof e) {
- if (null === (e = Nt(de, e))) return this
- } else Math.abs(e) < 16 && !n && (e *= 60);
- return !this._isUTC && t && (r = Rt(this)), this._offset = e, this._isUTC = !0, null != r && this.add(r, "m"), i !== e && (!t || this._changeInProgress ? Wt(this, Bt(e - i, "m"), 1, !1) : this._changeInProgress || (this._changeInProgress = !0, a.updateOffset(this, !0), this._changeInProgress = null)), this
- }
- return this._isUTC ? i : Rt(this)
- }, kn.utc = function(e) {
- return this.utcOffset(0, e)
- }, kn.local = function(e) {
- return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(Rt(this), "m")), this
- }, kn.parseZone = function() {
- if (null != this._tzm) this.utcOffset(this._tzm, !1, !0);
- else if ("string" == typeof this._i) {
- var e = Nt(ue, this._i);
- null != e ? this.utcOffset(e) : this.utcOffset(0, !0)
+ return function(e) {
+ for (var t, n, a, r, i = 0; i < e.length;) {
+ for (t = (r = at(e[i]).split("-")).length, n = (n = at(e[i + 1])) ? n.split("-") : null; t > 0;) {
+ if (a = rt(r.slice(0, t).join("-"))) return a;
+ if (n && n.length >= t && nt(r, n) >= t - 1) break;
+ t--
+ }
+ i++
}
- return this
- }, kn.hasAlignedHourOffset = function(e) {
- return !!this.isValid() && (e = e ? xt(e).utcOffset() : 0, (this.utcOffset() - e) % 60 == 0)
- }, kn.isDST = function() {
- return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset()
- }, kn.isLocal = function() {
- return !!this.isValid() && !this._isUTC
- }, kn.isUtcOffset = function() {
- return !!this.isValid() && this._isUTC
- }, kn.isUtc = Lt, kn.isUTC = Lt, kn.zoneAbbr = function() {
- return this._isUTC ? "UTC" : ""
- }, kn.zoneName = function() {
- return this._isUTC ? "Coordinated Universal Time" : ""
- }, kn.dates = S("dates accessor is deprecated. Use date instead.", mn), kn.months = S("months accessor is deprecated. Use month instead", Pe), kn.years = S("years accessor is deprecated. Use year instead", Oe), kn.zone = S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/", (function(e, t) {
- return null != e ? ("string" != typeof e && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset()
- })), kn.isDSTShifted = S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information", (function() {
- if (!l(this._isDSTShifted)) return this._isDSTShifted;
- var e, t = {};
- return v(t, this), (t = St(t))._a ? (e = t._isUTC ? h(t._a) : xt(t._a), this._isDSTShifted = this.isValid() && function(e, t, n) {
- var a, r = Math.min(e.length, t.length),
- i = Math.abs(e.length - t.length),
- o = 0;
- for (a = 0; a < r; a++)(n && e[a] !== t[a] || !n && Y(e[a]) !== Y(t[a])) && o++;
- return o + i
- }(t._a, e.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted
- }));
- var wn = P.prototype;
-
- function Sn(e, t, n, a) {
- var r = st(),
- i = h().set(a, t);
- return r[n](i, e)
- }
+ return Qe
+ }(e)
+ }
- function En(e, t, n) {
- if (c(e) && (t = e, e = void 0), e = e || "", null != t) return Sn(e, t, n, "month");
- var a, r = [];
- for (a = 0; a < 12; a++) r[a] = Sn(e, a, n, "month");
- return r
- }
+ function lt(e) {
+ var t, n = e._a;
+ return n && -2 === m(e).overflow && (t = n[1] < 0 || n[1] > 11 ? 1 : n[2] < 1 || n[2] > _e(n[0], n[1]) ? 2 : n[3] < 0 || n[3] > 24 || 24 === n[3] && (0 !== n[4] || 0 !== n[5] || 0 !== n[6]) ? 3 : n[4] < 0 || n[4] > 59 ? 4 : n[5] < 0 || n[5] > 59 ? 5 : n[6] < 0 || n[6] > 999 ? 6 : -1, m(e)._overflowDayOfYear && (t < 0 || t > 2) && (t = 2), m(e)._overflowWeeks && -1 === t && (t = 7), m(e)._overflowWeekday && -1 === t && (t = 8), m(e).overflow = t), e
+ }
+ var ct = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
+ ut = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
+ dt = /Z|[+-]\d\d(?::?\d\d)?/,
+ pt = [
+ ["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
+ ["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
+ ["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
+ ["GGGG-[W]WW", /\d{4}-W\d\d/, !1],
+ ["YYYY-DDD", /\d{4}-\d{3}/],
+ ["YYYY-MM", /\d{4}-\d\d/, !1],
+ ["YYYYYYMMDD", /[+-]\d{10}/],
+ ["YYYYMMDD", /\d{8}/],
+ ["GGGG[W]WWE", /\d{4}W\d{3}/],
+ ["GGGG[W]WW", /\d{4}W\d{2}/, !1],
+ ["YYYYDDD", /\d{7}/],
+ ["YYYYMM", /\d{6}/, !1],
+ ["YYYY", /\d{4}/, !1]
+ ],
+ ht = [
+ ["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
+ ["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
+ ["HH:mm:ss", /\d\d:\d\d:\d\d/],
+ ["HH:mm", /\d\d:\d\d/],
+ ["HHmmss.SSSS", /\d\d\d\d\d\d\.\d+/],
+ ["HHmmss,SSSS", /\d\d\d\d\d\d,\d+/],
+ ["HHmmss", /\d\d\d\d\d\d/],
+ ["HHmm", /\d\d\d\d/],
+ ["HH", /\d\d/]
+ ],
+ mt = /^\/?Date\((-?\d+)/i,
+ ft = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,
+ gt = {
+ UT: 0,
+ GMT: 0,
+ EDT: -240,
+ EST: -300,
+ CDT: -300,
+ CST: -360,
+ MDT: -360,
+ MST: -420,
+ PDT: -420,
+ PST: -480
+ };
- function xn(e, t, n, a) {
- "boolean" == typeof e ? (c(t) && (n = t, t = void 0), t = t || "") : (n = t = e, e = !1, c(t) && (n = t, t = void 0), t = t || "");
- var r, i = st(),
- o = e ? i._week.dow : 0,
- s = [];
- if (null != n) return Sn(t, (n + o) % 7, a, "day");
- for (r = 0; r < 7; r++) s[r] = Sn(t, (r + o) % 7, a, "day");
- return s
- }
- wn.calendar = function(e, t, n) {
- var a = this._calendar[e] || this._calendar.sameElse;
- return A(a) ? a.call(t, n) : a
- }, wn.longDateFormat = function(e) {
- var t = this._longDateFormat[e],
- n = this._longDateFormat[e.toUpperCase()];
- return t || !n ? t : (this._longDateFormat[e] = n.match(T).map((function(e) {
- return "MMMM" === e || "MM" === e || "DD" === e || "dddd" === e ? e.slice(1) : e
- })).join(""), this._longDateFormat[e])
- }, wn.invalidDate = function() {
- return this._invalidDate
- }, wn.ordinal = function(e) {
- return this._ordinal.replace("%d", e)
- }, wn.preparse = _n, wn.postformat = _n, wn.relativeTime = function(e, t, n, a) {
- var r = this._relativeTime[n];
- return A(r) ? r(e, t, n, a) : r.replace(/%d/i, e)
- }, wn.pastFuture = function(e, t) {
- var n = this._relativeTime[e > 0 ? "future" : "past"];
- return A(n) ? n(t) : n.replace(/%s/i, t)
- }, wn.set = function(e) {
- var t, n;
- for (n in e) o(e, n) && (A(t = e[n]) ? this[n] = t : this["_" + n] = t);
- this._config = e, this._dayOfMonthOrdinalParseLenient = new RegExp((this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source)
- }, wn.eras = function(e, t) {
- var n, r, i, o = this._eras || st("en")._eras;
- for (n = 0, r = o.length; n < r; ++n) switch ("string" == typeof o[n].since && (i = a(o[n].since).startOf("day"), o[n].since = i.valueOf()), typeof o[n].until) {
- case "undefined":
- o[n].until = 1 / 0;
- break;
- case "string":
- i = a(o[n].until).startOf("day").valueOf(), o[n].until = i.valueOf()
+ function bt(e) {
+ var t, n, a, r, i, o, s = e._i,
+ l = ct.exec(s) || ut.exec(s);
+ if (l) {
+ for (m(e).iso = !0, t = 0, n = pt.length; t < n; t++)
+ if (pt[t][1].exec(l[1])) {
+ r = pt[t][0], a = !1 !== pt[t][2];
+ break
+ } if (null == r) return void(e._isValid = !1);
+ if (l[3]) {
+ for (t = 0, n = ht.length; t < n; t++)
+ if (ht[t][1].exec(l[3])) {
+ i = (l[2] || " ") + ht[t][0];
+ break
+ } if (null == i) return void(e._isValid = !1)
}
- return o
- }, wn.erasParse = function(e, t, n) {
- var a, r, i, o, s, l = this.eras();
- for (e = e.toUpperCase(), a = 0, r = l.length; a < r; ++a)
- if (i = l[a].name.toUpperCase(), o = l[a].abbr.toUpperCase(), s = l[a].narrow.toUpperCase(), n) switch (t) {
- case "N":
- case "NN":
- case "NNN":
- if (o === e) return l[a];
- break;
- case "NNNN":
- if (i === e) return l[a];
- break;
- case "NNNNN":
- if (s === e) return l[a]
- } else if ([i, o, s].indexOf(e) >= 0) return l[a]
- }, wn.erasConvertYear = function(e, t) {
- var n = e.since <= e.until ? 1 : -1;
- return void 0 === t ? a(e.since).year() : a(e.since).year() + (t - e.offset) * n
- }, wn.erasAbbrRegex = function(e) {
- return o(this, "_erasAbbrRegex") || un.call(this), e ? this._erasAbbrRegex : this._erasRegex
- }, wn.erasNameRegex = function(e) {
- return o(this, "_erasNameRegex") || un.call(this), e ? this._erasNameRegex : this._erasRegex
- }, wn.erasNarrowRegex = function(e) {
- return o(this, "_erasNarrowRegex") || un.call(this), e ? this._erasNarrowRegex : this._erasRegex
- }, wn.months = function(e, t) {
- return e ? r(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || Ee).test(t) ? "format" : "standalone"][e.month()] : r(this._months) ? this._months : this._months.standalone
- }, wn.monthsShort = function(e, t) {
- return e ? r(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[Ee.test(t) ? "format" : "standalone"][e.month()] : r(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone
- }, wn.monthsParse = function(e, t, n) {
- var a, r, i;
- if (this._monthsParseExact) return Ae.call(this, e, t, n);
- for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), a = 0; a < 12; a++) {
- if (r = h([2e3, a]), n && !this._longMonthsParse[a] && (this._longMonthsParse[a] = new RegExp("^" + this.months(r, "").replace(".", "") + "$", "i"), this._shortMonthsParse[a] = new RegExp("^" + this.monthsShort(r, "").replace(".", "") + "$", "i")), n || this._monthsParse[a] || (i = "^" + this.months(r, "") + "|^" + this.monthsShort(r, ""), this._monthsParse[a] = new RegExp(i.replace(".", ""), "i")), n && "MMMM" === t && this._longMonthsParse[a].test(e)) return a;
- if (n && "MMM" === t && this._shortMonthsParse[a].test(e)) return a;
- if (!n && this._monthsParse[a].test(e)) return a
- }
- }, wn.monthsRegex = function(e) {
- return this._monthsParseExact ? (o(this, "_monthsRegex") || De.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (o(this, "_monthsRegex") || (this._monthsRegex = Ce), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex)
- }, wn.monthsShortRegex = function(e) {
- return this._monthsParseExact ? (o(this, "_monthsRegex") || De.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (o(this, "_monthsShortRegex") || (this._monthsShortRegex = xe), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex)
- }, wn.week = function(e) {
- return Re(e, this._week.dow, this._week.doy).week
- }, wn.firstDayOfYear = function() {
- return this._week.doy
- }, wn.firstDayOfWeek = function() {
- return this._week.dow
- }, wn.weekdays = function(e, t) {
- var n = r(this._weekdays) ? this._weekdays : this._weekdays[e && !0 !== e && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
- return !0 === e ? Fe(n, this._week.dow) : e ? n[e.day()] : n
- }, wn.weekdaysMin = function(e) {
- return !0 === e ? Fe(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin
- }, wn.weekdaysShort = function(e) {
- return !0 === e ? Fe(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort
- }, wn.weekdaysParse = function(e, t, n) {
- var a, r, i;
- if (this._weekdaysParseExact) return Ye.call(this, e, t, n);
- for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), a = 0; a < 7; a++) {
- if (r = h([2e3, 1]).day(a), n && !this._fullWeekdaysParse[a] && (this._fullWeekdaysParse[a] = new RegExp("^" + this.weekdays(r, "").replace(".", "\\.?") + "$", "i"), this._shortWeekdaysParse[a] = new RegExp("^" + this.weekdaysShort(r, "").replace(".", "\\.?") + "$", "i"), this._minWeekdaysParse[a] = new RegExp("^" + this.weekdaysMin(r, "").replace(".", "\\.?") + "$", "i")), this._weekdaysParse[a] || (i = "^" + this.weekdays(r, "") + "|^" + this.weekdaysShort(r, "") + "|^" + this.weekdaysMin(r, ""), this._weekdaysParse[a] = new RegExp(i.replace(".", ""), "i")), n && "dddd" === t && this._fullWeekdaysParse[a].test(e)) return a;
- if (n && "ddd" === t && this._shortWeekdaysParse[a].test(e)) return a;
- if (n && "dd" === t && this._minWeekdaysParse[a].test(e)) return a;
- if (!n && this._weekdaysParse[a].test(e)) return a
- }
- }, wn.weekdaysRegex = function(e) {
- return this._weekdaysParseExact ? (o(this, "_weekdaysRegex") || Ge.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (o(this, "_weekdaysRegex") || (this._weekdaysRegex = He), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex)
- }, wn.weekdaysShortRegex = function(e) {
- return this._weekdaysParseExact ? (o(this, "_weekdaysRegex") || Ge.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (o(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = Ve), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex)
- }, wn.weekdaysMinRegex = function(e) {
- return this._weekdaysParseExact ? (o(this, "_weekdaysRegex") || Ge.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (o(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = We), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex)
- }, wn.isPM = function(e) {
- return "p" === (e + "").toLowerCase().charAt(0)
- }, wn.meridiem = function(e, t, n) {
- return e > 11 ? n ? "pm" : "PM" : n ? "am" : "AM"
- }, it("en", {
- eras: [{
- since: "0001-01-01",
- until: 1 / 0,
- offset: 1,
- name: "Anno Domini",
- narrow: "AD",
- abbr: "AD"
- }, {
- since: "0000-12-31",
- until: -1 / 0,
- offset: 1,
- name: "Before Christ",
- narrow: "BC",
- abbr: "BC"
- }],
- dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
- ordinal: function(e) {
- var t = e % 10;
- return e + (1 === Y(e % 100 / 10) ? "th" : 1 === t ? "st" : 2 === t ? "nd" : 3 === t ? "rd" : "th")
+ if (!a && null != i) return void(e._isValid = !1);
+ if (l[4]) {
+ if (!dt.exec(l[4])) return void(e._isValid = !1);
+ o = "Z"
}
- }), a.lang = S("moment.lang is deprecated. Use moment.locale instead.", it), a.langData = S("moment.langData is deprecated. Use moment.localeData instead.", st);
- var Cn = Math.abs;
+ e._f = r + (i || "") + (o || ""), wt(e)
+ } else e._isValid = !1
+ }
- function An(e, t, n, a) {
- var r = Bt(t, n);
- return e._milliseconds += a * r._milliseconds, e._days += a * r._days, e._months += a * r._months, e._bubble()
- }
+ function yt(e) {
+ var t = parseInt(e, 10);
+ return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t
+ }
- function jn(e) {
- return e < 0 ? Math.floor(e) : Math.ceil(e)
- }
+ function vt(e) {
+ var t, n, a, r, i, o, s, l, c = ft.exec(e._i.replace(/\([^)]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, ""));
+ if (c) {
+ if (n = c[4], a = c[3], r = c[2], i = c[5], o = c[6], s = c[7], l = [yt(n), Se.indexOf(a), parseInt(r, 10), parseInt(i, 10), parseInt(o, 10)], s && l.push(parseInt(s, 10)), t = l, ! function(e, t, n) {
+ return !e || Be.indexOf(e) === new Date(t[0], t[1], t[2]).getDay() || (m(n).weekdayMismatch = !0, n._isValid = !1, !1)
+ }(c[1], t, e)) return;
+ e._a = t, e._tzm = function(e, t, n) {
+ if (e) return gt[e];
+ if (t) return 0;
+ var a = parseInt(n, 10),
+ r = a % 100;
+ return (a - r) / 100 * 60 + r
+ }(c[8], c[9], c[10]), e._d = Oe.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), m(e).rfc2822 = !0
+ } else e._isValid = !1
+ }
- function Pn(e) {
- return 4800 * e / 146097
- }
+ function kt(e, t, n) {
+ return null != e ? e : null != t ? t : n
+ }
- function Dn(e) {
- return 146097 * e / 4800
+ function _t(e) {
+ var t, n, r, i, o, s = [];
+ if (!e._d) {
+ for (r = function(e) {
+ var t = new Date(a.now());
+ return e._useUTC ? [t.getUTCFullYear(), t.getUTCMonth(), t.getUTCDate()] : [t.getFullYear(), t.getMonth(), t.getDate()]
+ }(e), e._w && null == e._a[2] && null == e._a[1] && function(e) {
+ var t, n, a, r, i, o, s, l, c;
+ null != (t = e._w).GG || null != t.W || null != t.E ? (i = 1, o = 4, n = kt(t.GG, e._a[0], ze(xt(), 1, 4).year), a = kt(t.W, 1), ((r = kt(t.E, 1)) < 1 || r > 7) && (l = !0)) : (i = e._locale._week.dow, o = e._locale._week.doy, c = ze(xt(), i, o), n = kt(t.gg, e._a[0], c.year), a = kt(t.w, c.week), null != t.d ? ((r = t.d) < 0 || r > 6) && (l = !0) : null != t.e ? (r = t.e + i, (t.e < 0 || t.e > 6) && (l = !0)) : r = i), a < 1 || a > Le(n, i, o) ? m(e)._overflowWeeks = !0 : null != l ? m(e)._overflowWeekday = !0 : (s = Re(n, a, r, i, o), e._a[0] = s.year, e._dayOfYear = s.dayOfYear)
+ }(e), null != e._dayOfYear && (o = kt(e._a[0], r[0]), (e._dayOfYear > je(o) || 0 === e._dayOfYear) && (m(e)._overflowDayOfYear = !0), n = Oe(o, 0, e._dayOfYear), e._a[1] = n.getUTCMonth(), e._a[2] = n.getUTCDate()), t = 0; t < 3 && null == e._a[t]; ++t) e._a[t] = s[t] = r[t];
+ for (; t < 7; t++) e._a[t] = s[t] = null == e._a[t] ? 2 === t ? 1 : 0 : e._a[t];
+ 24 === e._a[3] && 0 === e._a[4] && 0 === e._a[5] && 0 === e._a[6] && (e._nextDay = !0, e._a[3] = 0), e._d = (e._useUTC ? Oe : Ie).apply(null, s), i = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), null != e._tzm && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[3] = 24), e._w && void 0 !== e._w.d && e._w.d !== i && (m(e).weekdayMismatch = !0)
}
+ }
- function Tn(e) {
- return function() {
- return this.as(e)
- }
- }
- var On = Tn("ms"),
- Mn = Tn("s"),
- In = Tn("m"),
- Nn = Tn("h"),
- zn = Tn("d"),
- Rn = Tn("w"),
- Ln = Tn("M"),
- Fn = Tn("Q"),
- qn = Tn("y");
+ function wt(e) {
+ if (e._f !== a.ISO_8601)
+ if (e._f !== a.RFC_2822) {
+ e._a = [], m(e).empty = !0;
+ var t, n, r, i, o, s, l = "" + e._i,
+ c = l.length,
+ u = 0;
+ for (r = z(e._f, e._locale).match(j) || [], t = 0; t < r.length; t++) i = r[t], (n = (l.match(me(i, e)) || [])[0]) && ((o = l.substr(0, l.indexOf(n))).length > 0 && m(e).unusedInput.push(o), l = l.slice(l.indexOf(n) + n.length), u += n.length), O[i] ? (n ? m(e).empty = !1 : m(e).unusedTokens.push(i), ve(i, n, e)) : e._strict && !n && m(e).unusedTokens.push(i);
+ m(e).charsLeftOver = c - u, l.length > 0 && m(e).unusedInput.push(l), e._a[3] <= 12 && !0 === m(e).bigHour && e._a[3] > 0 && (m(e).bigHour = void 0), m(e).parsedDateParts = e._a.slice(0), m(e).meridiem = e._meridiem, e._a[3] = function(e, t, n) {
+ var a;
+ return null == n ? t : null != e.meridiemHour ? e.meridiemHour(t, n) : null != e.isPM ? ((a = e.isPM(n)) && t < 12 && (t += 12), a || 12 !== t || (t = 0), t) : t
+ }(e._locale, e._a[3], e._meridiem), null !== (s = m(e).era) && (e._a[0] = e._locale.erasConvertYear(s, e._a[0])), _t(e), lt(e)
+ } else vt(e);
+ else bt(e)
+ }
+
+ function St(e) {
+ var t = e._i,
+ n = e._f;
+ return e._locale = e._locale || st(e._l), null === t || void 0 === n && "" === t ? g({
+ nullInput: !0
+ }) : ("string" == typeof t && (e._i = t = e._locale.preparse(t)), _(t) ? new k(lt(t)) : (u(t) ? e._d = t : r(n) ? function(e) {
+ var t, n, a, r, i, o, s = !1;
+ if (0 === e._f.length) return m(e).invalidFormat = !0, void(e._d = new Date(NaN));
+ for (r = 0; r < e._f.length; r++) i = 0, o = !1, t = v({}, e), null != e._useUTC && (t._useUTC = e._useUTC), t._f = e._f[r], wt(t), f(t) && (o = !0), i += m(t).charsLeftOver, i += 10 * m(t).unusedTokens.length, m(t).score = i, s ? i < a && (a = i, n = t) : (null == a || i < a || o) && (a = i, n = t, o && (s = !0));
+ p(e, n || t)
+ }(e) : n ? wt(e) : function(e) {
+ var t = e._i;
+ l(t) ? e._d = new Date(a.now()) : u(t) ? e._d = new Date(t.valueOf()) : "string" == typeof t ? function(e) {
+ var t = mt.exec(e._i);
+ null === t ? (bt(e), !1 === e._isValid && (delete e._isValid, vt(e), !1 === e._isValid && (delete e._isValid, e._strict ? e._isValid = !1 : a.createFromInputFallback(e)))) : e._d = new Date(+t[1])
+ }(e) : r(t) ? (e._a = d(t.slice(0), (function(e) {
+ return parseInt(e, 10)
+ })), _t(e)) : i(t) ? function(e) {
+ if (!e._d) {
+ var t = B(e._i),
+ n = void 0 === t.day ? t.date : t.day;
+ e._a = d([t.year, t.month, n, t.hour, t.minute, t.second, t.millisecond], (function(e) {
+ return e && parseInt(e, 10)
+ })), _t(e)
+ }
+ }(e) : c(t) ? e._d = new Date(t) : a.createFromInputFallback(e)
+ }(e), f(e) || (e._d = null), e))
+ }
+
+ function Et(e, t, n, a, o) {
+ var l = {};
+ return !0 !== t && !1 !== t || (a = t, t = void 0), !0 !== n && !1 !== n || (a = n, n = void 0), (i(e) && s(e) || r(e) && 0 === e.length) && (e = void 0), l._isAMomentObject = !0, l._useUTC = l._isUTC = o, l._l = n, l._i = e, l._f = t, l._strict = a,
+ function(e) {
+ var t = new k(lt(St(e)));
+ return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t
+ }(l)
+ }
- function Bn(e) {
- return function() {
- return this.isValid() ? this._data[e] : NaN
- }
- }
- var Un = Bn("milliseconds"),
- Hn = Bn("seconds"),
- Vn = Bn("minutes"),
- Wn = Bn("hours"),
- Yn = Bn("days"),
- Gn = Bn("months"),
- Kn = Bn("years");
- var $n = Math.round,
- Jn = {
- ss: 44,
- s: 45,
- m: 45,
- h: 22,
- d: 26,
- w: null,
- M: 11
- };
+ function xt(e, t, n, a) {
+ return Et(e, t, n, a, !1)
+ }
+ a.createFromInputFallback = S("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.", (function(e) {
+ e._d = new Date(e._i + (e._useUTC ? " UTC" : ""))
+ })), a.ISO_8601 = function() {}, a.RFC_2822 = function() {};
+ var Ct = S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/", (function() {
+ var e = xt.apply(null, arguments);
+ return this.isValid() && e.isValid() ? e < this ? this : e : g()
+ })),
+ At = S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/", (function() {
+ var e = xt.apply(null, arguments);
+ return this.isValid() && e.isValid() ? e > this ? this : e : g()
+ }));
- function Zn(e, t, n, a, r) {
- return r.relativeTime(t || 1, !!n, e, a)
- }
- var Qn = Math.abs;
-
- function Xn(e) {
- return (e > 0) - (e < 0) || +e
- }
-
- function ea() {
- if (!this.isValid()) return this.localeData().invalidDate();
- var e, t, n, a, r, i, o, s, l = Qn(this._milliseconds) / 1e3,
- c = Qn(this._days),
- u = Qn(this._months),
- d = this.asSeconds();
- return d ? (e = W(l / 60), t = W(e / 60), l %= 60, e %= 60, n = W(u / 12), u %= 12, a = l ? l.toFixed(3).replace(/\.?0+$/, "") : "", r = d < 0 ? "-" : "", i = Xn(this._months) !== Xn(d) ? "-" : "", o = Xn(this._days) !== Xn(d) ? "-" : "", s = Xn(this._milliseconds) !== Xn(d) ? "-" : "", r + "P" + (n ? i + n + "Y" : "") + (u ? i + u + "M" : "") + (c ? o + c + "D" : "") + (t || e || l ? "T" : "") + (t ? s + t + "H" : "") + (e ? s + e + "M" : "") + (l ? s + a + "S" : "")) : "P0D"
- }
- var ta = Dt.prototype;
- return ta.isValid = function() {
- return this._isValid
- }, ta.abs = function() {
- var e = this._data;
- return this._milliseconds = Cn(this._milliseconds), this._days = Cn(this._days), this._months = Cn(this._months), e.milliseconds = Cn(e.milliseconds), e.seconds = Cn(e.seconds), e.minutes = Cn(e.minutes), e.hours = Cn(e.hours), e.months = Cn(e.months), e.years = Cn(e.years), this
- }, ta.add = function(e, t) {
- return An(this, e, t, 1)
- }, ta.subtract = function(e, t) {
- return An(this, e, t, -1)
- }, ta.as = function(e) {
- if (!this.isValid()) return NaN;
- var t, n, a = this._milliseconds;
- if ("month" === (e = q(e)) || "quarter" === e || "year" === e) switch (t = this._days + a / 864e5, n = this._months + Pn(t), e) {
- case "month":
- return n;
- case "quarter":
- return n / 3;
- case "year":
- return n / 12
- } else switch (t = this._days + Math.round(Dn(this._months)), e) {
- case "week":
- return t / 7 + a / 6048e5;
- case "day":
- return t + a / 864e5;
- case "hour":
- return 24 * t + a / 36e5;
- case "minute":
- return 1440 * t + a / 6e4;
- case "second":
- return 86400 * t + a / 1e3;
- case "millisecond":
- return Math.floor(864e5 * t) + a;
- default:
- throw new Error("Unknown unit " + e)
- }
- }, ta.asMilliseconds = On, ta.asSeconds = Mn, ta.asMinutes = In, ta.asHours = Nn, ta.asDays = zn, ta.asWeeks = Rn, ta.asMonths = Ln, ta.asQuarters = Fn, ta.asYears = qn, ta.valueOf = function() {
- return this.isValid() ? this._milliseconds + 864e5 * this._days + this._months % 12 * 2592e6 + 31536e6 * Y(this._months / 12) : NaN
- }, ta._bubble = function() {
- var e, t, n, a, r, i = this._milliseconds,
- o = this._days,
- s = this._months,
- l = this._data;
- return i >= 0 && o >= 0 && s >= 0 || i <= 0 && o <= 0 && s <= 0 || (i += 864e5 * jn(Dn(s) + o), o = 0, s = 0), l.milliseconds = i % 1e3, e = W(i / 1e3), l.seconds = e % 60, t = W(e / 60), l.minutes = t % 60, n = W(t / 60), l.hours = n % 24, o += W(n / 24), s += r = W(Pn(o)), o -= jn(Dn(r)), a = W(s / 12), s %= 12, l.days = o, l.months = s, l.years = a, this
- }, ta.clone = function() {
- return Bt(this)
- }, ta.get = function(e) {
- return e = q(e), this.isValid() ? this[e + "s"]() : NaN
- }, ta.milliseconds = Un, ta.seconds = Hn, ta.minutes = Vn, ta.hours = Wn, ta.days = Yn, ta.weeks = function() {
- return W(this.days() / 7)
- }, ta.months = Gn, ta.years = Kn, ta.humanize = function(e, t) {
- if (!this.isValid()) return this.localeData().invalidDate();
- var n, a, r = !1,
- i = Jn;
- return "object" == typeof e && (t = e, e = !1), "boolean" == typeof e && (r = e), "object" == typeof t && (i = Object.assign({}, Jn, t), null != t.s && null == t.ss && (i.ss = t.s - 1)), a = function(e, t, n, a) {
- var r = Bt(e).abs(),
- i = $n(r.as("s")),
- o = $n(r.as("m")),
- s = $n(r.as("h")),
- l = $n(r.as("d")),
- c = $n(r.as("M")),
- u = $n(r.as("w")),
- d = $n(r.as("y")),
- p = i <= n.ss && ["s", i] || i < n.s && ["ss", i] || o <= 1 && ["m"] || o < n.m && ["mm", o] || s <= 1 && ["h"] || s < n.h && ["hh", s] || l <= 1 && ["d"] || l < n.d && ["dd", l];
- return null != n.w && (p = p || u <= 1 && ["w"] || u < n.w && ["ww", u]), (p = p || c <= 1 && ["M"] || c < n.M && ["MM", c] || d <= 1 && ["y"] || ["yy", d])[2] = t, p[3] = +e > 0, p[4] = a, Zn.apply(null, p)
- }(this, !r, i, n = this.localeData()), r && (a = n.pastFuture(+this, a)), n.postformat(a)
- }, ta.toISOString = ea, ta.toString = ea, ta.toJSON = ea, ta.locale = Qt, ta.localeData = en, ta.toIsoString = S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)", ea), ta.lang = Xt, N("X", 0, 0, "unix"), N("x", 0, 0, "valueOf"), he("x", ce), he("X", /[+-]?\d+(\.\d{1,3})?/), be("X", (function(e, t, n) {
- n._d = new Date(1e3 * parseFloat(e))
- })), be("x", (function(e, t, n) {
- n._d = new Date(Y(e))
- })), a.version = "2.29.1", t = xt, a.fn = kn, a.min = function() {
- return jt("isBefore", [].slice.call(arguments, 0))
- }, a.max = function() {
- return jt("isAfter", [].slice.call(arguments, 0))
- }, a.now = function() {
- return Date.now ? Date.now() : +new Date
- }, a.utc = h, a.unix = function(e) {
- return xt(1e3 * e)
- }, a.months = function(e, t) {
- return En(e, t, "months")
- }, a.isDate = u, a.locale = it, a.invalid = g, a.duration = Bt, a.isMoment = _, a.weekdays = function(e, t, n) {
- return xn(e, t, n, "weekdays")
- }, a.parseZone = function() {
- return xt.apply(null, arguments).parseZone()
- }, a.localeData = st, a.isDuration = Tt, a.monthsShort = function(e, t) {
- return En(e, t, "monthsShort")
- }, a.weekdaysMin = function(e, t, n) {
- return xn(e, t, n, "weekdaysMin")
- }, a.defineLocale = ot, a.updateLocale = function(e, t) {
- if (null != t) {
- var n, a, r = Xe;
- null != et[e] && null != et[e].parentLocale ? et[e].set(j(et[e]._config, t)) : (null != (a = rt(e)) && (r = a._config), t = j(r, t), null == a && (t.abbr = e), (n = new P(t)).parentLocale = et[e], et[e] = n), it(e)
- } else null != et[e] && (null != et[e].parentLocale ? (et[e] = et[e].parentLocale, e === it() && it(e)) : null != et[e] && delete et[e]);
- return et[e]
- }, a.locales = function() {
- return E(et)
- }, a.weekdaysShort = function(e, t, n) {
- return xn(e, t, n, "weekdaysShort")
- }, a.normalizeUnits = q, a.relativeTimeRounding = function(e) {
- return void 0 === e ? $n : "function" == typeof e && ($n = e, !0)
- }, a.relativeTimeThreshold = function(e, t) {
- return void 0 !== Jn[e] && (void 0 === t ? Jn[e] : (Jn[e] = t, "s" === e && (Jn.ss = t - 1), !0))
- }, a.calendarFormat = function(e, t) {
- var n = e.diff(t, "days", !0);
- return n < -6 ? "sameElse" : n < -1 ? "lastWeek" : n < 0 ? "lastDay" : n < 1 ? "sameDay" : n < 2 ? "nextDay" : n < 7 ? "nextWeek" : "sameElse"
- }, a.prototype = kn, a.HTML5_FMT = {
- DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
- DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
- DATETIME_LOCAL_MS: "YYYY-MM-DDTHH:mm:ss.SSS",
- DATE: "YYYY-MM-DD",
- TIME: "HH:mm",
- TIME_SECONDS: "HH:mm:ss",
- TIME_MS: "HH:mm:ss.SSS",
- WEEK: "GGGG-[W]WW",
- MONTH: "YYYY-MM"
- }, a
- }()
- }, 2068: e => {
- var t = 1e3,
- n = 60 * t,
- a = 60 * n,
- r = 24 * a;
+ function Tt(e, t) {
+ var n, a;
+ if (1 === t.length && r(t[0]) && (t = t[0]), !t.length) return xt();
+ for (n = t[0], a = 1; a < t.length; ++a) t[a].isValid() && !t[a][e](n) || (n = t[a]);
+ return n
+ }
+ var Dt = ["year", "quarter", "month", "week", "day", "hour", "minute", "second", "millisecond"];
+
+ function Pt(e) {
+ var t = B(e),
+ n = t.year || 0,
+ a = t.quarter || 0,
+ r = t.month || 0,
+ i = t.week || t.isoWeek || 0,
+ s = t.day || 0,
+ l = t.hour || 0,
+ c = t.minute || 0,
+ u = t.second || 0,
+ d = t.millisecond || 0;
+ this._isValid = function(e) {
+ var t, n, a = !1;
+ for (t in e)
+ if (o(e, t) && (-1 === ke.call(Dt, t) || null != e[t] && isNaN(e[t]))) return !1;
+ for (n = 0; n < Dt.length; ++n)
+ if (e[Dt[n]]) {
+ if (a) return !1;
+ parseFloat(e[Dt[n]]) !== Y(e[Dt[n]]) && (a = !0)
+ } return !0
+ }(t), this._milliseconds = +d + 1e3 * u + 6e4 * c + 1e3 * l * 60 * 60, this._days = +s + 7 * i, this._months = +r + 3 * a + 12 * n, this._data = {}, this._locale = st(), this._bubble()
+ }
- function i(e, t, n) {
- if (!(e < t)) return e < 1.5 * t ? Math.floor(e / t) + " " + n : Math.ceil(e / t) + " " + n + "s"
- }
- e.exports = function(e, o) {
- o = o || {};
- var s, l = typeof e;
- if ("string" === l && e.length > 0) return function(e) {
- if (!((e = String(e)).length > 100)) {
- var i = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);
- if (i) {
- var o = parseFloat(i[1]);
- switch ((i[2] || "ms").toLowerCase()) {
- case "years":
- case "year":
- case "yrs":
- case "yr":
- case "y":
- return 315576e5 * o;
- case "days":
- case "day":
- case "d":
- return o * r;
- case "hours":
- case "hour":
- case "hrs":
- case "hr":
- case "h":
- return o * a;
- case "minutes":
- case "minute":
- case "mins":
- case "min":
- case "m":
- return o * n;
- case "seconds":
- case "second":
- case "secs":
- case "sec":
- case "s":
- return o * t;
- case "milliseconds":
- case "millisecond":
- case "msecs":
- case "msec":
- case "ms":
- return o;
- default:
- return
- }
- }
- }
- }(e);
- if ("number" === l && !1 === isNaN(e)) return o.long ? i(s = e, r, "day") || i(s, a, "hour") || i(s, n, "minute") || i(s, t, "second") || s + " ms" : function(e) {
- return e >= r ? Math.round(e / r) + "d" : e >= a ? Math.round(e / a) + "h" : e >= n ? Math.round(e / n) + "m" : e >= t ? Math.round(e / t) + "s" : e + "ms"
- }(e);
- throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(e))
+ function jt(e) {
+ return e instanceof Pt
}
- }, 5535: e => {
- "use strict";
- var t = Object.getOwnPropertySymbols,
- n = Object.prototype.hasOwnProperty,
- a = Object.prototype.propertyIsEnumerable;
- function r(e) {
- if (null == e) throw new TypeError("Object.assign cannot be called with null or undefined");
- return Object(e)
+ function Mt(e) {
+ return e < 0 ? -1 * Math.round(-1 * e) : Math.round(e)
}
- e.exports = function() {
- try {
- if (!Object.assign) return !1;
- var e = new String("abc");
- if (e[5] = "de", "5" === Object.getOwnPropertyNames(e)[0]) return !1;
- for (var t = {}, n = 0; n < 10; n++) t["_" + String.fromCharCode(n)] = n;
- if ("0123456789" !== Object.getOwnPropertyNames(t).map((function(e) {
- return t[e]
- })).join("")) return !1;
- var a = {};
- return "abcdefghijklmnopqrst".split("").forEach((function(e) {
- a[e] = e
- })), "abcdefghijklmnopqrst" === Object.keys(Object.assign({}, a)).join("")
- } catch (e) {
- return !1
- }
- }() ? Object.assign : function(e, i) {
- for (var o, s, l = r(e), c = 1; c < arguments.length; c++) {
- for (var u in o = Object(arguments[c])) n.call(o, u) && (l[u] = o[u]);
- if (t) {
- s = t(o);
- for (var d = 0; d < s.length; d++) a.call(o, s[d]) && (l[s[d]] = o[s[d]])
- }
+
+ function It(e, t) {
+ N(e, 0, 0, (function() {
+ var e = this.utcOffset(),
+ n = "+";
+ return e < 0 && (e = -e, n = "-"), n + P(~~(e / 60), 2) + t + P(~~e % 60, 2)
+ }))
+ }
+ It("Z", ":"), It("ZZ", ""), he("Z", de), he("ZZ", de), be(["Z", "ZZ"], (function(e, t, n) {
+ n._useUTC = !0, n._tzm = Nt(de, e)
+ }));
+ var Ot = /([\+\-]|\d\d)/gi;
+
+ function Nt(e, t) {
+ var n, a, r = (t || "").match(e);
+ return null === r ? null : 0 === (a = 60 * (n = ((r[r.length - 1] || []) + "").match(Ot) || ["-", 0, 0])[1] + Y(n[2])) ? 0 : "+" === n[0] ? a : -a
+ }
+
+ function Rt(e, t) {
+ var n, r;
+ return t._isUTC ? (n = t.clone(), r = (_(e) || u(e) ? e.valueOf() : xt(e).valueOf()) - n.valueOf(), n._d.setTime(n._d.valueOf() + r), a.updateOffset(n, !1), n) : xt(e).local()
+ }
+
+ function zt(e) {
+ return -Math.round(e._d.getTimezoneOffset())
+ }
+
+ function Lt() {
+ return !!this.isValid() && this._isUTC && 0 === this._offset
+ }
+ a.updateOffset = function() {};
+ var Ft = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
+ qt = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
+
+ function Bt(e, t) {
+ var n, a, r, i, s, l, u = e,
+ d = null;
+ return jt(e) ? u = {
+ ms: e._milliseconds,
+ d: e._days,
+ M: e._months
+ } : c(e) || !isNaN(+e) ? (u = {}, t ? u[t] = +e : u.milliseconds = +e) : (d = Ft.exec(e)) ? (n = "-" === d[1] ? -1 : 1, u = {
+ y: 0,
+ d: Y(d[2]) * n,
+ h: Y(d[3]) * n,
+ m: Y(d[4]) * n,
+ s: Y(d[5]) * n,
+ ms: Y(Mt(1e3 * d[6])) * n
+ }) : (d = qt.exec(e)) ? (n = "-" === d[1] ? -1 : 1, u = {
+ y: Ut(d[2], n),
+ M: Ut(d[3], n),
+ w: Ut(d[4], n),
+ d: Ut(d[5], n),
+ h: Ut(d[6], n),
+ m: Ut(d[7], n),
+ s: Ut(d[8], n)
+ }) : null == u ? u = {} : "object" == typeof u && ("from" in u || "to" in u) && (i = xt(u.from), s = xt(u.to), r = i.isValid() && s.isValid() ? (s = Rt(s, i), i.isBefore(s) ? l = Ht(i, s) : ((l = Ht(s, i)).milliseconds = -l.milliseconds, l.months = -l.months), l) : {
+ milliseconds: 0,
+ months: 0
+ }, (u = {}).ms = r.milliseconds, u.M = r.months), a = new Pt(u), jt(e) && o(e, "_locale") && (a._locale = e._locale), jt(e) && o(e, "_isValid") && (a._isValid = e._isValid), a
+ }
+
+ function Ut(e, t) {
+ var n = e && parseFloat(e.replace(",", "."));
+ return (isNaN(n) ? 0 : n) * t
+ }
+
+ function Ht(e, t) {
+ var n = {};
+ return n.months = t.month() - e.month() + 12 * (t.year() - e.year()), e.clone().add(n.months, "M").isAfter(t) && --n.months, n.milliseconds = +t - +e.clone().add(n.months, "M"), n
+ }
+
+ function Vt(e, t) {
+ return function(n, a) {
+ var r;
+ return null === a || isNaN(+a) || (C(t, "moment()." + t + "(period, number) is deprecated. Please use moment()." + t + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."), r = n, n = a, a = r), Wt(this, Bt(n, a), e), this
}
- return l
}
- }, 554: e => {
- var t, n, a = e.exports = {};
- function r() {
- throw new Error("setTimeout has not been defined")
+ function Wt(e, t, n, r) {
+ var i = t._milliseconds,
+ o = Mt(t._days),
+ s = Mt(t._months);
+ e.isValid() && (r = null == r || r, s && Te(e, K(e, "Month") + s * n), o && $(e, "Date", K(e, "Date") + o * n), i && e._d.setTime(e._d.valueOf() + i * n), r && a.updateOffset(e, o || s))
}
+ Bt.fn = Pt.prototype, Bt.invalid = function() {
+ return Bt(NaN)
+ };
+ var Yt = Vt(1, "add"),
+ Gt = Vt(-1, "subtract");
- function i() {
- throw new Error("clearTimeout has not been defined")
+ function Kt(e) {
+ return "string" == typeof e || e instanceof String
+ }
+
+ function $t(e) {
+ return _(e) || u(e) || Kt(e) || c(e) || function(e) {
+ var t = r(e),
+ n = !1;
+ return t && (n = 0 === e.filter((function(t) {
+ return !c(t) && Kt(e)
+ })).length), t && n
+ }(e) || function(e) {
+ var t, n, a = i(e) && !s(e),
+ r = !1,
+ l = ["years", "year", "y", "months", "month", "M", "days", "day", "d", "dates", "date", "D", "hours", "hour", "h", "minutes", "minute", "m", "seconds", "second", "s", "milliseconds", "millisecond", "ms"];
+ for (t = 0; t < l.length; t += 1) n = l[t], r = r || o(e, n);
+ return a && r
+ }(e) || null == e
}
- function o(e) {
- if (t === setTimeout) return setTimeout(e, 0);
- if ((t === r || !t) && setTimeout) return t = setTimeout, setTimeout(e, 0);
- try {
- return t(e, 0)
- } catch (n) {
- try {
- return t.call(null, e, 0)
- } catch (n) {
- return t.call(this, e, 0)
- }
- }
- }! function() {
- try {
- t = "function" == typeof setTimeout ? setTimeout : r
- } catch (e) {
- t = r
- }
- try {
- n = "function" == typeof clearTimeout ? clearTimeout : i
- } catch (e) {
- n = i
- }
- }();
- var s, l = [],
- c = !1,
- u = -1;
+ function Jt(e) {
+ var t, n = i(e) && !s(e),
+ a = !1,
+ r = ["sameDay", "nextDay", "lastDay", "nextWeek", "lastWeek", "sameElse"];
+ for (t = 0; t < r.length; t += 1) a = a || o(e, r[t]);
+ return n && a
+ }
- function d() {
- c && s && (c = !1, s.length ? l = s.concat(l) : u = -1, l.length && p())
+ function Zt(e, t) {
+ if (e.date() < t.date()) return -Zt(t, e);
+ var n = 12 * (t.year() - e.year()) + (t.month() - e.month()),
+ a = e.clone().add(n, "months");
+ return -(n + (t - a < 0 ? (t - a) / (a - e.clone().add(n - 1, "months")) : (t - a) / (e.clone().add(n + 1, "months") - a))) || 0
}
- function p() {
- if (!c) {
- var e = o(d);
- c = !0;
- for (var t = l.length; t;) {
- for (s = l, l = []; ++u < t;) s && s[u].run();
- u = -1, t = l.length
- }
- s = null, c = !1,
- function(e) {
- if (n === clearTimeout) return clearTimeout(e);
- if ((n === i || !n) && clearTimeout) return n = clearTimeout, clearTimeout(e);
- try {
- n(e)
- } catch (t) {
- try {
- return n.call(null, e)
- } catch (t) {
- return n.call(this, e)
- }
- }
- }(e)
- }
+ function Qt(e) {
+ var t;
+ return void 0 === e ? this._locale._abbr : (null != (t = st(e)) && (this._locale = t), this)
}
+ a.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ", a.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
+ var Xt = S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.", (function(e) {
+ return void 0 === e ? this.localeData() : this.locale(e)
+ }));
- function h(e, t) {
- this.fun = e, this.array = t
+ function en() {
+ return this._locale
}
+ var tn = 1e3,
+ nn = 6e4,
+ an = 36e5,
+ rn = 126227808e5;
- function m() {}
- a.nextTick = function(e) {
- var t = new Array(arguments.length - 1);
- if (arguments.length > 1)
- for (var n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
- l.push(new h(e, t)), 1 !== l.length || c || o(p)
- }, h.prototype.run = function() {
- this.fun.apply(null, this.array)
- }, a.title = "browser", a.browser = !0, a.env = {}, a.argv = [], a.version = "", a.versions = {}, a.on = m, a.addListener = m, a.once = m, a.off = m, a.removeListener = m, a.removeAllListeners = m, a.emit = m, a.prependListener = m, a.prependOnceListener = m, a.listeners = function(e) {
- return []
- }, a.binding = function(e) {
- throw new Error("process.binding is not supported")
- }, a.cwd = function() {
- return "/"
- }, a.chdir = function(e) {
- throw new Error("process.chdir is not supported")
- }, a.umask = function() {
- return 0
+ function on(e, t) {
+ return (e % t + t) % t
}
- }, 9739: (e, t, n) => {
- "use strict";
- var a = n(6669);
- function r() {}
+ function sn(e, t, n) {
+ return e < 100 && e >= 0 ? new Date(e + 400, t, n) - rn : new Date(e, t, n).valueOf()
+ }
- function i() {}
- i.resetWarningCache = r, e.exports = function() {
- function e(e, t, n, r, i, o) {
- if (o !== a) {
- var s = 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 s.name = "Invariant Violation", s
- }
- }
+ function ln(e, t, n) {
+ return e < 100 && e >= 0 ? Date.UTC(e + 400, t, n) - rn : Date.UTC(e, t, n)
+ }
- function t() {
- return e
- }
- e.isRequired = e;
- var n = {
- array: e,
- bool: e,
- func: e,
- number: e,
- object: e,
- string: e,
- symbol: e,
- any: e,
- arrayOf: t,
- element: e,
- elementType: e,
- instanceOf: t,
- node: e,
- objectOf: t,
- oneOf: t,
- oneOfType: t,
- shape: t,
- exact: t,
- checkPropTypes: i,
- resetWarningCache: r
- };
- return n.PropTypes = n, n
+ function cn(e, t) {
+ return t.erasAbbrRegex(e)
}
- }, 7329: (e, t, n) => {
- e.exports = n(9739)()
- }, 6669: e => {
- "use strict";
- e.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"
- }, 2494: e => {
- "use strict";
- e.exports = function(e) {
- var t = "";
- return function e(n) {
- if ("string" == typeof n || "number" == typeof n) t += n;
- else if (Array.isArray(n)) n.forEach((function(t) {
- return e(t)
- }));
- else if (n && n.props) {
- var a = n.props.children;
- Array.isArray(a) ? a.forEach((function(t) {
- return e(t)
- })) : e(a)
- }
- }(e), t
+
+ function un() {
+ var e, t, n = [],
+ a = [],
+ r = [],
+ i = [],
+ o = this.eras();
+ for (e = 0, t = o.length; e < t; ++e) a.push(fe(o[e].name)), n.push(fe(o[e].abbr)), r.push(fe(o[e].narrow)), i.push(fe(o[e].name)), i.push(fe(o[e].abbr)), i.push(fe(o[e].narrow));
+ this._erasRegex = new RegExp("^(" + i.join("|") + ")", "i"), this._erasNameRegex = new RegExp("^(" + a.join("|") + ")", "i"), this._erasAbbrRegex = new RegExp("^(" + n.join("|") + ")", "i"), this._erasNarrowRegex = new RegExp("^(" + r.join("|") + ")", "i")
}
- }, 4534: (e, t, n) => {
- "use strict";
- var a = n(2684),
- r = n(5535),
- i = n(7525);
- function o(e) {
- for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, n = 1; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);
- return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."
+ function dn(e, t) {
+ N(0, [e, e.length], 0, t)
}
- if (!a) throw Error(o(227));
- var s = null,
- l = {};
-
- function c() {
- if (s)
- for (var e in l) {
- var t = l[e],
- n = s.indexOf(e);
- if (!(-1 < n)) throw Error(o(96, e));
- if (!d[n]) {
- if (!t.extractEvents) throw Error(o(97, e));
- for (var a in d[n] = t, n = t.eventTypes) {
- var r = void 0,
- i = n[a],
- c = t,
- h = a;
- if (p.hasOwnProperty(h)) throw Error(o(99, h));
- p[h] = i;
- var m = i.phasedRegistrationNames;
- if (m) {
- for (r in m) m.hasOwnProperty(r) && u(m[r], c, h);
- r = !0
- } else i.registrationName ? (u(i.registrationName, c, h), r = !0) : r = !1;
- if (!r) throw Error(o(98, a, e))
- }
- }
- }
+
+ function pn(e, t, n, a, r) {
+ var i;
+ return null == e ? ze(this, a, r).year : (t > (i = Le(e, a, r)) && (t = i), hn.call(this, e, t, n, a, r))
+ }
+
+ function hn(e, t, n, a, r) {
+ var i = Re(e, t, n, a, r),
+ o = Oe(i.year, 0, i.dayOfYear);
+ return this.year(o.getUTCFullYear()), this.month(o.getUTCMonth()), this.date(o.getUTCDate()), this
+ }
+ N("N", 0, 0, "eraAbbr"), N("NN", 0, 0, "eraAbbr"), N("NNN", 0, 0, "eraAbbr"), N("NNNN", 0, 0, "eraName"), N("NNNNN", 0, 0, "eraNarrow"), N("y", ["y", 1], "yo", "eraYear"), N("y", ["yy", 2], 0, "eraYear"), N("y", ["yyy", 3], 0, "eraYear"), N("y", ["yyyy", 4], 0, "eraYear"), he("N", cn), he("NN", cn), he("NNN", cn), he("NNNN", (function(e, t) {
+ return t.erasNameRegex(e)
+ })), he("NNNNN", (function(e, t) {
+ return t.erasNarrowRegex(e)
+ })), be(["N", "NN", "NNN", "NNNN", "NNNNN"], (function(e, t, n, a) {
+ var r = n._locale.erasParse(e, a, n._strict);
+ r ? m(n).era = r : m(n).invalidEra = e
+ })), he("y", le), he("yy", le), he("yyy", le), he("yyyy", le), he("yo", (function(e, t) {
+ return t._eraYearOrdinalRegex || le
+ })), be(["y", "yy", "yyy", "yyyy"], 0), be(["yo"], (function(e, t, n, a) {
+ var r;
+ n._locale._eraYearOrdinalRegex && (r = e.match(n._locale._eraYearOrdinalRegex)), n._locale.eraYearOrdinalParse ? t[0] = n._locale.eraYearOrdinalParse(e, r) : t[0] = parseInt(e, 10)
+ })), N(0, ["gg", 2], 0, (function() {
+ return this.weekYear() % 100
+ })), N(0, ["GG", 2], 0, (function() {
+ return this.isoWeekYear() % 100
+ })), dn("gggg", "weekYear"), dn("ggggg", "weekYear"), dn("GGGG", "isoWeekYear"), dn("GGGGG", "isoWeekYear"), F("weekYear", "gg"), F("isoWeekYear", "GG"), H("weekYear", 1), H("isoWeekYear", 1), he("G", ce), he("g", ce), he("GG", ne, Q), he("gg", ne, Q), he("GGGG", oe, ee), he("gggg", oe, ee), he("GGGGG", se, te), he("ggggg", se, te), ye(["gggg", "ggggg", "GGGG", "GGGGG"], (function(e, t, n, a) {
+ t[a.substr(0, 2)] = Y(e)
+ })), ye(["gg", "GG"], (function(e, t, n, r) {
+ t[r] = a.parseTwoDigitYear(e)
+ })), N("Q", 0, "Qo", "quarter"), F("quarter", "Q"), H("quarter", 7), he("Q", Z), be("Q", (function(e, t) {
+ t[1] = 3 * (Y(e) - 1)
+ })), N("D", ["DD", 2], "Do", "date"), F("date", "D"), H("date", 9), he("D", ne), he("DD", ne, Q), he("Do", (function(e, t) {
+ return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient
+ })), be(["D", "DD"], 2), be("Do", (function(e, t) {
+ t[2] = Y(e.match(ne)[0])
+ }));
+ var mn = G("Date", !0);
+ N("DDD", ["DDDD", 3], "DDDo", "dayOfYear"), F("dayOfYear", "DDD"), H("dayOfYear", 4), he("DDD", ie), he("DDDD", X), be(["DDD", "DDDD"], (function(e, t, n) {
+ n._dayOfYear = Y(e)
+ })), N("m", ["mm", 2], 0, "minute"), F("minute", "m"), H("minute", 14), he("m", ne), he("mm", ne, Q), be(["m", "mm"], 4);
+ var fn = G("Minutes", !1);
+ N("s", ["ss", 2], 0, "second"), F("second", "s"), H("second", 15), he("s", ne), he("ss", ne, Q), be(["s", "ss"], 5);
+ var gn, bn, yn = G("Seconds", !1);
+ for (N("S", 0, 0, (function() {
+ return ~~(this.millisecond() / 100)
+ })), N(0, ["SS", 2], 0, (function() {
+ return ~~(this.millisecond() / 10)
+ })), N(0, ["SSS", 3], 0, "millisecond"), N(0, ["SSSS", 4], 0, (function() {
+ return 10 * this.millisecond()
+ })), N(0, ["SSSSS", 5], 0, (function() {
+ return 100 * this.millisecond()
+ })), N(0, ["SSSSSS", 6], 0, (function() {
+ return 1e3 * this.millisecond()
+ })), N(0, ["SSSSSSS", 7], 0, (function() {
+ return 1e4 * this.millisecond()
+ })), N(0, ["SSSSSSSS", 8], 0, (function() {
+ return 1e5 * this.millisecond()
+ })), N(0, ["SSSSSSSSS", 9], 0, (function() {
+ return 1e6 * this.millisecond()
+ })), F("millisecond", "ms"), H("millisecond", 16), he("S", ie, Z), he("SS", ie, Q), he("SSS", ie, X), gn = "SSSS"; gn.length <= 9; gn += "S") he(gn, le);
+
+ function vn(e, t) {
+ t[6] = Y(1e3 * ("0." + e))
+ }
+ for (gn = "S"; gn.length <= 9; gn += "S") be(gn, vn);
+ bn = G("Milliseconds", !1), N("z", 0, 0, "zoneAbbr"), N("zz", 0, 0, "zoneName");
+ var kn = k.prototype;
+
+ function _n(e) {
+ return e
}
+ kn.add = Yt, kn.calendar = function(e, t) {
+ 1 === arguments.length && (arguments[0] ? $t(arguments[0]) ? (e = arguments[0], t = void 0) : Jt(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
+ var n = e || xt(),
+ r = Rt(n, this).startOf("day"),
+ i = a.calendarFormat(this, r) || "sameElse",
+ o = t && (A(t[i]) ? t[i].call(this, n) : t[i]);
+ return this.format(o || this.localeData().calendar(i, this, xt(n)))
+ }, kn.clone = function() {
+ return new k(this)
+ }, kn.diff = function(e, t, n) {
+ var a, r, i;
+ if (!this.isValid()) return NaN;
+ if (!(a = Rt(e, this)).isValid()) return NaN;
+ switch (r = 6e4 * (a.utcOffset() - this.utcOffset()), t = q(t)) {
+ case "year":
+ i = Zt(this, a) / 12;
+ break;
+ case "month":
+ i = Zt(this, a);
+ break;
+ case "quarter":
+ i = Zt(this, a) / 3;
+ break;
+ case "second":
+ i = (this - a) / 1e3;
+ break;
+ case "minute":
+ i = (this - a) / 6e4;
+ break;
+ case "hour":
+ i = (this - a) / 36e5;
+ break;
+ case "day":
+ i = (this - a - r) / 864e5;
+ break;
+ case "week":
+ i = (this - a - r) / 6048e5;
+ break;
+ default:
+ i = this - a
+ }
+ return n ? i : W(i)
+ }, kn.endOf = function(e) {
+ var t, n;
+ if (void 0 === (e = q(e)) || "millisecond" === e || !this.isValid()) return this;
+ switch (n = this._isUTC ? ln : sn, e) {
+ case "year":
+ t = n(this.year() + 1, 0, 1) - 1;
+ break;
+ case "quarter":
+ t = n(this.year(), this.month() - this.month() % 3 + 3, 1) - 1;
+ break;
+ case "month":
+ t = n(this.year(), this.month() + 1, 1) - 1;
+ break;
+ case "week":
+ t = n(this.year(), this.month(), this.date() - this.weekday() + 7) - 1;
+ break;
+ case "isoWeek":
+ t = n(this.year(), this.month(), this.date() - (this.isoWeekday() - 1) + 7) - 1;
+ break;
+ case "day":
+ case "date":
+ t = n(this.year(), this.month(), this.date() + 1) - 1;
+ break;
+ case "hour":
+ t = this._d.valueOf(), t += an - on(t + (this._isUTC ? 0 : this.utcOffset() * nn), an) - 1;
+ break;
+ case "minute":
+ t = this._d.valueOf(), t += nn - on(t, nn) - 1;
+ break;
+ case "second":
+ t = this._d.valueOf(), t += tn - on(t, tn) - 1
+ }
+ return this._d.setTime(t), a.updateOffset(this, !0), this
+ }, kn.format = function(e) {
+ e || (e = this.isUtc() ? a.defaultFormatUtc : a.defaultFormat);
+ var t = R(this, e);
+ return this.localeData().postformat(t)
+ }, kn.from = function(e, t) {
+ return this.isValid() && (_(e) && e.isValid() || xt(e).isValid()) ? Bt({
+ to: this,
+ from: e
+ }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate()
+ }, kn.fromNow = function(e) {
+ return this.from(xt(), e)
+ }, kn.to = function(e, t) {
+ return this.isValid() && (_(e) && e.isValid() || xt(e).isValid()) ? Bt({
+ from: this,
+ to: e
+ }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate()
+ }, kn.toNow = function(e) {
+ return this.to(xt(), e)
+ }, kn.get = function(e) {
+ return A(this[e = q(e)]) ? this[e]() : this
+ }, kn.invalidAt = function() {
+ return m(this).overflow
+ }, kn.isAfter = function(e, t) {
+ var n = _(e) ? e : xt(e);
+ return !(!this.isValid() || !n.isValid()) && ("millisecond" === (t = q(t) || "millisecond") ? this.valueOf() > n.valueOf() : n.valueOf() < this.clone().startOf(t).valueOf())
+ }, kn.isBefore = function(e, t) {
+ var n = _(e) ? e : xt(e);
+ return !(!this.isValid() || !n.isValid()) && ("millisecond" === (t = q(t) || "millisecond") ? this.valueOf() < n.valueOf() : this.clone().endOf(t).valueOf() < n.valueOf())
+ }, kn.isBetween = function(e, t, n, a) {
+ var r = _(e) ? e : xt(e),
+ i = _(t) ? t : xt(t);
+ return !!(this.isValid() && r.isValid() && i.isValid()) && ("(" === (a = a || "()")[0] ? this.isAfter(r, n) : !this.isBefore(r, n)) && (")" === a[1] ? this.isBefore(i, n) : !this.isAfter(i, n))
+ }, kn.isSame = function(e, t) {
+ var n, a = _(e) ? e : xt(e);
+ return !(!this.isValid() || !a.isValid()) && ("millisecond" === (t = q(t) || "millisecond") ? this.valueOf() === a.valueOf() : (n = a.valueOf(), this.clone().startOf(t).valueOf() <= n && n <= this.clone().endOf(t).valueOf()))
+ }, kn.isSameOrAfter = function(e, t) {
+ return this.isSame(e, t) || this.isAfter(e, t)
+ }, kn.isSameOrBefore = function(e, t) {
+ return this.isSame(e, t) || this.isBefore(e, t)
+ }, kn.isValid = function() {
+ return f(this)
+ }, kn.lang = Xt, kn.locale = Qt, kn.localeData = en, kn.max = At, kn.min = Ct, kn.parsingFlags = function() {
+ return p({}, m(this))
+ }, kn.set = function(e, t) {
+ if ("object" == typeof e) {
+ var n, a = function(e) {
+ var t, n = [];
+ for (t in e) o(e, t) && n.push({
+ unit: t,
+ priority: U[t]
+ });
+ return n.sort((function(e, t) {
+ return e.priority - t.priority
+ })), n
+ }(e = B(e));
+ for (n = 0; n < a.length; n++) this[a[n].unit](e[a[n].unit])
+ } else if (A(this[e = q(e)])) return this[e](t);
+ return this
+ }, kn.startOf = function(e) {
+ var t, n;
+ if (void 0 === (e = q(e)) || "millisecond" === e || !this.isValid()) return this;
+ switch (n = this._isUTC ? ln : sn, e) {
+ case "year":
+ t = n(this.year(), 0, 1);
+ break;
+ case "quarter":
+ t = n(this.year(), this.month() - this.month() % 3, 1);
+ break;
+ case "month":
+ t = n(this.year(), this.month(), 1);
+ break;
+ case "week":
+ t = n(this.year(), this.month(), this.date() - this.weekday());
+ break;
+ case "isoWeek":
+ t = n(this.year(), this.month(), this.date() - (this.isoWeekday() - 1));
+ break;
+ case "day":
+ case "date":
+ t = n(this.year(), this.month(), this.date());
+ break;
+ case "hour":
+ t = this._d.valueOf(), t -= on(t + (this._isUTC ? 0 : this.utcOffset() * nn), an);
+ break;
+ case "minute":
+ t = this._d.valueOf(), t -= on(t, nn);
+ break;
+ case "second":
+ t = this._d.valueOf(), t -= on(t, tn)
+ }
+ return this._d.setTime(t), a.updateOffset(this, !0), this
+ }, kn.subtract = Gt, kn.toArray = function() {
+ var e = this;
+ return [e.year(), e.month(), e.date(), e.hour(), e.minute(), e.second(), e.millisecond()]
+ }, kn.toObject = function() {
+ var e = this;
+ return {
+ years: e.year(),
+ months: e.month(),
+ date: e.date(),
+ hours: e.hours(),
+ minutes: e.minutes(),
+ seconds: e.seconds(),
+ milliseconds: e.milliseconds()
+ }
+ }, kn.toDate = function() {
+ return new Date(this.valueOf())
+ }, kn.toISOString = function(e) {
+ if (!this.isValid()) return null;
+ var t = !0 !== e,
+ n = t ? this.clone().utc() : this;
+ return n.year() < 0 || n.year() > 9999 ? R(n, t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ") : A(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + 60 * this.utcOffset() * 1e3).toISOString().replace("Z", R(n, "Z")) : R(n, t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ")
+ }, kn.inspect = function() {
+ if (!this.isValid()) return "moment.invalid(/* " + this._i + " */)";
+ var e, t, n, a = "moment",
+ r = "";
+ return this.isLocal() || (a = 0 === this.utcOffset() ? "moment.utc" : "moment.parseZone", r = "Z"), e = "[" + a + '("]', t = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", "-MM-DD[T]HH:mm:ss.SSS", n = r + '[")]', this.format(e + t + "-MM-DD[T]HH:mm:ss.SSS" + n)
+ }, "undefined" != typeof Symbol && null != Symbol.for && (kn[Symbol.for("nodejs.util.inspect.custom")] = function() {
+ return "Moment<" + this.format() + ">"
+ }), kn.toJSON = function() {
+ return this.isValid() ? this.toISOString() : null
+ }, kn.toString = function() {
+ return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")
+ }, kn.unix = function() {
+ return Math.floor(this.valueOf() / 1e3)
+ }, kn.valueOf = function() {
+ return this._d.valueOf() - 6e4 * (this._offset || 0)
+ }, kn.creationData = function() {
+ return {
+ input: this._i,
+ format: this._f,
+ locale: this._locale,
+ isUTC: this._isUTC,
+ strict: this._strict
+ }
+ }, kn.eraName = function() {
+ var e, t, n, a = this.localeData().eras();
+ for (e = 0, t = a.length; e < t; ++e) {
+ if (n = this.clone().startOf("day").valueOf(), a[e].since <= n && n <= a[e].until) return a[e].name;
+ if (a[e].until <= n && n <= a[e].since) return a[e].name
+ }
+ return ""
+ }, kn.eraNarrow = function() {
+ var e, t, n, a = this.localeData().eras();
+ for (e = 0, t = a.length; e < t; ++e) {
+ if (n = this.clone().startOf("day").valueOf(), a[e].since <= n && n <= a[e].until) return a[e].narrow;
+ if (a[e].until <= n && n <= a[e].since) return a[e].narrow
+ }
+ return ""
+ }, kn.eraAbbr = function() {
+ var e, t, n, a = this.localeData().eras();
+ for (e = 0, t = a.length; e < t; ++e) {
+ if (n = this.clone().startOf("day").valueOf(), a[e].since <= n && n <= a[e].until) return a[e].abbr;
+ if (a[e].until <= n && n <= a[e].since) return a[e].abbr
+ }
+ return ""
+ }, kn.eraYear = function() {
+ var e, t, n, r, i = this.localeData().eras();
+ for (e = 0, t = i.length; e < t; ++e)
+ if (n = i[e].since <= i[e].until ? 1 : -1, r = this.clone().startOf("day").valueOf(), i[e].since <= r && r <= i[e].until || i[e].until <= r && r <= i[e].since) return (this.year() - a(i[e].since).year()) * n + i[e].offset;
+ return this.year()
+ }, kn.year = Me, kn.isLeapYear = function() {
+ return V(this.year())
+ }, kn.weekYear = function(e) {
+ return pn.call(this, e, this.week(), this.weekday(), this.localeData()._week.dow, this.localeData()._week.doy)
+ }, kn.isoWeekYear = function(e) {
+ return pn.call(this, e, this.isoWeek(), this.isoWeekday(), 1, 4)
+ }, kn.quarter = kn.quarters = function(e) {
+ return null == e ? Math.ceil((this.month() + 1) / 3) : this.month(3 * (e - 1) + this.month() % 3)
+ }, kn.month = De, kn.daysInMonth = function() {
+ return _e(this.year(), this.month())
+ }, kn.week = kn.weeks = function(e) {
+ var t = this.localeData().week(this);
+ return null == e ? t : this.add(7 * (e - t), "d")
+ }, kn.isoWeek = kn.isoWeeks = function(e) {
+ var t = ze(this, 1, 4).week;
+ return null == e ? t : this.add(7 * (e - t), "d")
+ }, kn.weeksInYear = function() {
+ var e = this.localeData()._week;
+ return Le(this.year(), e.dow, e.doy)
+ }, kn.weeksInWeekYear = function() {
+ var e = this.localeData()._week;
+ return Le(this.weekYear(), e.dow, e.doy)
+ }, kn.isoWeeksInYear = function() {
+ return Le(this.year(), 1, 4)
+ }, kn.isoWeeksInISOWeekYear = function() {
+ return Le(this.isoWeekYear(), 1, 4)
+ }, kn.date = mn, kn.day = kn.days = function(e) {
+ if (!this.isValid()) return null != e ? this : NaN;
+ var t = this._isUTC ? this._d.getUTCDay() : this._d.getDay();
+ return null != e ? (e = function(e, t) {
+ return "string" != typeof e ? e : isNaN(e) ? "number" == typeof(e = t.weekdaysParse(e)) ? e : null : parseInt(e, 10)
+ }(e, this.localeData()), this.add(e - t, "d")) : t
+ }, kn.weekday = function(e) {
+ if (!this.isValid()) return null != e ? this : NaN;
+ var t = (this.day() + 7 - this.localeData()._week.dow) % 7;
+ return null == e ? t : this.add(e - t, "d")
+ }, kn.isoWeekday = function(e) {
+ if (!this.isValid()) return null != e ? this : NaN;
+ if (null != e) {
+ var t = function(e, t) {
+ return "string" == typeof e ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e
+ }(e, this.localeData());
+ return this.day(this.day() % 7 ? t : t - 7)
+ }
+ return this.day() || 7
+ }, kn.dayOfYear = function(e) {
+ var t = Math.round((this.clone().startOf("day") - this.clone().startOf("year")) / 864e5) + 1;
+ return null == e ? t : this.add(e - t, "d")
+ }, kn.hour = kn.hours = Ze, kn.minute = kn.minutes = fn, kn.second = kn.seconds = yn, kn.millisecond = kn.milliseconds = bn, kn.utcOffset = function(e, t, n) {
+ var r, i = this._offset || 0;
+ if (!this.isValid()) return null != e ? this : NaN;
+ if (null != e) {
+ if ("string" == typeof e) {
+ if (null === (e = Nt(de, e))) return this
+ } else Math.abs(e) < 16 && !n && (e *= 60);
+ return !this._isUTC && t && (r = zt(this)), this._offset = e, this._isUTC = !0, null != r && this.add(r, "m"), i !== e && (!t || this._changeInProgress ? Wt(this, Bt(e - i, "m"), 1, !1) : this._changeInProgress || (this._changeInProgress = !0, a.updateOffset(this, !0), this._changeInProgress = null)), this
+ }
+ return this._isUTC ? i : zt(this)
+ }, kn.utc = function(e) {
+ return this.utcOffset(0, e)
+ }, kn.local = function(e) {
+ return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(zt(this), "m")), this
+ }, kn.parseZone = function() {
+ if (null != this._tzm) this.utcOffset(this._tzm, !1, !0);
+ else if ("string" == typeof this._i) {
+ var e = Nt(ue, this._i);
+ null != e ? this.utcOffset(e) : this.utcOffset(0, !0)
+ }
+ return this
+ }, kn.hasAlignedHourOffset = function(e) {
+ return !!this.isValid() && (e = e ? xt(e).utcOffset() : 0, (this.utcOffset() - e) % 60 == 0)
+ }, kn.isDST = function() {
+ return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset()
+ }, kn.isLocal = function() {
+ return !!this.isValid() && !this._isUTC
+ }, kn.isUtcOffset = function() {
+ return !!this.isValid() && this._isUTC
+ }, kn.isUtc = Lt, kn.isUTC = Lt, kn.zoneAbbr = function() {
+ return this._isUTC ? "UTC" : ""
+ }, kn.zoneName = function() {
+ return this._isUTC ? "Coordinated Universal Time" : ""
+ }, kn.dates = S("dates accessor is deprecated. Use date instead.", mn), kn.months = S("months accessor is deprecated. Use month instead", De), kn.years = S("years accessor is deprecated. Use year instead", Me), kn.zone = S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/", (function(e, t) {
+ return null != e ? ("string" != typeof e && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset()
+ })), kn.isDSTShifted = S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information", (function() {
+ if (!l(this._isDSTShifted)) return this._isDSTShifted;
+ var e, t = {};
+ return v(t, this), (t = St(t))._a ? (e = t._isUTC ? h(t._a) : xt(t._a), this._isDSTShifted = this.isValid() && function(e, t, n) {
+ var a, r = Math.min(e.length, t.length),
+ i = Math.abs(e.length - t.length),
+ o = 0;
+ for (a = 0; a < r; a++)(n && e[a] !== t[a] || !n && Y(e[a]) !== Y(t[a])) && o++;
+ return o + i
+ }(t._a, e.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted
+ }));
+ var wn = D.prototype;
- function u(e, t, n) {
- if (h[e]) throw Error(o(100, e));
- h[e] = t, m[e] = t.eventTypes[n].dependencies
+ function Sn(e, t, n, a) {
+ var r = st(),
+ i = h().set(a, t);
+ return r[n](i, e)
}
- var d = [],
- p = {},
- h = {},
- m = {};
- function f(e, t, n, a, r, i, o, s, l) {
- var c = Array.prototype.slice.call(arguments, 3);
- try {
- t.apply(n, c)
- } catch (e) {
- this.onError(e)
- }
+ function En(e, t, n) {
+ if (c(e) && (t = e, e = void 0), e = e || "", null != t) return Sn(e, t, n, "month");
+ var a, r = [];
+ for (a = 0; a < 12; a++) r[a] = Sn(e, a, n, "month");
+ return r
}
- var g = !1,
- b = null,
- y = !1,
- v = null,
- k = {
- onError: function(e) {
- g = !0, b = e
- }
- };
- function _(e, t, n, a, r, i, o, s, l) {
- g = !1, b = null, f.apply(k, arguments)
+ function xn(e, t, n, a) {
+ "boolean" == typeof e ? (c(t) && (n = t, t = void 0), t = t || "") : (n = t = e, e = !1, c(t) && (n = t, t = void 0), t = t || "");
+ var r, i = st(),
+ o = e ? i._week.dow : 0,
+ s = [];
+ if (null != n) return Sn(t, (n + o) % 7, a, "day");
+ for (r = 0; r < 7; r++) s[r] = Sn(t, (r + o) % 7, a, "day");
+ return s
}
- var w = null,
- S = null,
- E = null;
+ wn.calendar = function(e, t, n) {
+ var a = this._calendar[e] || this._calendar.sameElse;
+ return A(a) ? a.call(t, n) : a
+ }, wn.longDateFormat = function(e) {
+ var t = this._longDateFormat[e],
+ n = this._longDateFormat[e.toUpperCase()];
+ return t || !n ? t : (this._longDateFormat[e] = n.match(j).map((function(e) {
+ return "MMMM" === e || "MM" === e || "DD" === e || "dddd" === e ? e.slice(1) : e
+ })).join(""), this._longDateFormat[e])
+ }, wn.invalidDate = function() {
+ return this._invalidDate
+ }, wn.ordinal = function(e) {
+ return this._ordinal.replace("%d", e)
+ }, wn.preparse = _n, wn.postformat = _n, wn.relativeTime = function(e, t, n, a) {
+ var r = this._relativeTime[n];
+ return A(r) ? r(e, t, n, a) : r.replace(/%d/i, e)
+ }, wn.pastFuture = function(e, t) {
+ var n = this._relativeTime[e > 0 ? "future" : "past"];
+ return A(n) ? n(t) : n.replace(/%s/i, t)
+ }, wn.set = function(e) {
+ var t, n;
+ for (n in e) o(e, n) && (A(t = e[n]) ? this[n] = t : this["_" + n] = t);
+ this._config = e, this._dayOfMonthOrdinalParseLenient = new RegExp((this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source)
+ }, wn.eras = function(e, t) {
+ var n, r, i, o = this._eras || st("en")._eras;
+ for (n = 0, r = o.length; n < r; ++n) switch ("string" == typeof o[n].since && (i = a(o[n].since).startOf("day"), o[n].since = i.valueOf()), typeof o[n].until) {
+ case "undefined":
+ o[n].until = 1 / 0;
+ break;
+ case "string":
+ i = a(o[n].until).startOf("day").valueOf(), o[n].until = i.valueOf()
+ }
+ return o
+ }, wn.erasParse = function(e, t, n) {
+ var a, r, i, o, s, l = this.eras();
+ for (e = e.toUpperCase(), a = 0, r = l.length; a < r; ++a)
+ if (i = l[a].name.toUpperCase(), o = l[a].abbr.toUpperCase(), s = l[a].narrow.toUpperCase(), n) switch (t) {
+ case "N":
+ case "NN":
+ case "NNN":
+ if (o === e) return l[a];
+ break;
+ case "NNNN":
+ if (i === e) return l[a];
+ break;
+ case "NNNNN":
+ if (s === e) return l[a]
+ } else if ([i, o, s].indexOf(e) >= 0) return l[a]
+ }, wn.erasConvertYear = function(e, t) {
+ var n = e.since <= e.until ? 1 : -1;
+ return void 0 === t ? a(e.since).year() : a(e.since).year() + (t - e.offset) * n
+ }, wn.erasAbbrRegex = function(e) {
+ return o(this, "_erasAbbrRegex") || un.call(this), e ? this._erasAbbrRegex : this._erasRegex
+ }, wn.erasNameRegex = function(e) {
+ return o(this, "_erasNameRegex") || un.call(this), e ? this._erasNameRegex : this._erasRegex
+ }, wn.erasNarrowRegex = function(e) {
+ return o(this, "_erasNarrowRegex") || un.call(this), e ? this._erasNarrowRegex : this._erasRegex
+ }, wn.months = function(e, t) {
+ return e ? r(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || Ee).test(t) ? "format" : "standalone"][e.month()] : r(this._months) ? this._months : this._months.standalone
+ }, wn.monthsShort = function(e, t) {
+ return e ? r(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[Ee.test(t) ? "format" : "standalone"][e.month()] : r(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone
+ }, wn.monthsParse = function(e, t, n) {
+ var a, r, i;
+ if (this._monthsParseExact) return Ae.call(this, e, t, n);
+ for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), a = 0; a < 12; a++) {
+ if (r = h([2e3, a]), n && !this._longMonthsParse[a] && (this._longMonthsParse[a] = new RegExp("^" + this.months(r, "").replace(".", "") + "$", "i"), this._shortMonthsParse[a] = new RegExp("^" + this.monthsShort(r, "").replace(".", "") + "$", "i")), n || this._monthsParse[a] || (i = "^" + this.months(r, "") + "|^" + this.monthsShort(r, ""), this._monthsParse[a] = new RegExp(i.replace(".", ""), "i")), n && "MMMM" === t && this._longMonthsParse[a].test(e)) return a;
+ if (n && "MMM" === t && this._shortMonthsParse[a].test(e)) return a;
+ if (!n && this._monthsParse[a].test(e)) return a
+ }
+ }, wn.monthsRegex = function(e) {
+ return this._monthsParseExact ? (o(this, "_monthsRegex") || Pe.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (o(this, "_monthsRegex") || (this._monthsRegex = Ce), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex)
+ }, wn.monthsShortRegex = function(e) {
+ return this._monthsParseExact ? (o(this, "_monthsRegex") || Pe.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (o(this, "_monthsShortRegex") || (this._monthsShortRegex = xe), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex)
+ }, wn.week = function(e) {
+ return ze(e, this._week.dow, this._week.doy).week
+ }, wn.firstDayOfYear = function() {
+ return this._week.doy
+ }, wn.firstDayOfWeek = function() {
+ return this._week.dow
+ }, wn.weekdays = function(e, t) {
+ var n = r(this._weekdays) ? this._weekdays : this._weekdays[e && !0 !== e && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
+ return !0 === e ? Fe(n, this._week.dow) : e ? n[e.day()] : n
+ }, wn.weekdaysMin = function(e) {
+ return !0 === e ? Fe(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin
+ }, wn.weekdaysShort = function(e) {
+ return !0 === e ? Fe(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort
+ }, wn.weekdaysParse = function(e, t, n) {
+ var a, r, i;
+ if (this._weekdaysParseExact) return Ye.call(this, e, t, n);
+ for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), a = 0; a < 7; a++) {
+ if (r = h([2e3, 1]).day(a), n && !this._fullWeekdaysParse[a] && (this._fullWeekdaysParse[a] = new RegExp("^" + this.weekdays(r, "").replace(".", "\\.?") + "$", "i"), this._shortWeekdaysParse[a] = new RegExp("^" + this.weekdaysShort(r, "").replace(".", "\\.?") + "$", "i"), this._minWeekdaysParse[a] = new RegExp("^" + this.weekdaysMin(r, "").replace(".", "\\.?") + "$", "i")), this._weekdaysParse[a] || (i = "^" + this.weekdays(r, "") + "|^" + this.weekdaysShort(r, "") + "|^" + this.weekdaysMin(r, ""), this._weekdaysParse[a] = new RegExp(i.replace(".", ""), "i")), n && "dddd" === t && this._fullWeekdaysParse[a].test(e)) return a;
+ if (n && "ddd" === t && this._shortWeekdaysParse[a].test(e)) return a;
+ if (n && "dd" === t && this._minWeekdaysParse[a].test(e)) return a;
+ if (!n && this._weekdaysParse[a].test(e)) return a
+ }
+ }, wn.weekdaysRegex = function(e) {
+ return this._weekdaysParseExact ? (o(this, "_weekdaysRegex") || Ge.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (o(this, "_weekdaysRegex") || (this._weekdaysRegex = He), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex)
+ }, wn.weekdaysShortRegex = function(e) {
+ return this._weekdaysParseExact ? (o(this, "_weekdaysRegex") || Ge.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (o(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = Ve), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex)
+ }, wn.weekdaysMinRegex = function(e) {
+ return this._weekdaysParseExact ? (o(this, "_weekdaysRegex") || Ge.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (o(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = We), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex)
+ }, wn.isPM = function(e) {
+ return "p" === (e + "").toLowerCase().charAt(0)
+ }, wn.meridiem = function(e, t, n) {
+ return e > 11 ? n ? "pm" : "PM" : n ? "am" : "AM"
+ }, it("en", {
+ eras: [{
+ since: "0001-01-01",
+ until: 1 / 0,
+ offset: 1,
+ name: "Anno Domini",
+ narrow: "AD",
+ abbr: "AD"
+ }, {
+ since: "0000-12-31",
+ until: -1 / 0,
+ offset: 1,
+ name: "Before Christ",
+ narrow: "BC",
+ abbr: "BC"
+ }],
+ dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
+ ordinal: function(e) {
+ var t = e % 10;
+ return e + (1 === Y(e % 100 / 10) ? "th" : 1 === t ? "st" : 2 === t ? "nd" : 3 === t ? "rd" : "th")
+ }
+ }), a.lang = S("moment.lang is deprecated. Use moment.locale instead.", it), a.langData = S("moment.langData is deprecated. Use moment.localeData instead.", st);
+ var Cn = Math.abs;
- function x(e, t, n) {
- var a = e.type || "unknown-event";
- e.currentTarget = E(n),
- function(e, t, n, a, r, i, s, l, c) {
- if (_.apply(this, arguments), g) {
- if (!g) throw Error(o(198));
- var u = b;
- g = !1, b = null, y || (y = !0, v = u)
- }
- }(a, t, void 0, e), e.currentTarget = null
+ function An(e, t, n, a) {
+ var r = Bt(t, n);
+ return e._milliseconds += a * r._milliseconds, e._days += a * r._days, e._months += a * r._months, e._bubble()
}
- function C(e, t) {
- if (null == t) throw Error(o(30));
- return null == e ? t : Array.isArray(e) ? Array.isArray(t) ? (e.push.apply(e, t), e) : (e.push(t), e) : Array.isArray(t) ? [e].concat(t) : [e, t]
+ function Tn(e) {
+ return e < 0 ? Math.floor(e) : Math.ceil(e)
}
- function A(e, t, n) {
- Array.isArray(e) ? e.forEach(t, n) : e && t.call(n, e)
+ function Dn(e) {
+ return 4800 * e / 146097
}
- var j = null;
- function P(e) {
- if (e) {
- var t = e._dispatchListeners,
- n = e._dispatchInstances;
- if (Array.isArray(t))
- for (var a = 0; a < t.length && !e.isPropagationStopped(); a++) x(e, t[a], n[a]);
- else t && x(e, t, n);
- e._dispatchListeners = null, e._dispatchInstances = null, e.isPersistent() || e.constructor.release(e)
- }
+ function Pn(e) {
+ return 146097 * e / 4800
}
- function D(e) {
- if (null !== e && (j = C(j, e)), e = j, j = null, e) {
- if (A(e, P), j) throw Error(o(95));
- if (y) throw e = v, y = !1, v = null, e
+ function jn(e) {
+ return function() {
+ return this.as(e)
}
}
- var T = {
- injectEventPluginOrder: function(e) {
- if (s) throw Error(o(101));
- s = Array.prototype.slice.call(e), c()
- },
- injectEventPluginsByName: function(e) {
- var t, n = !1;
- for (t in e)
- if (e.hasOwnProperty(t)) {
- var a = e[t];
- if (!l.hasOwnProperty(t) || l[t] !== a) {
- if (l[t]) throw Error(o(102, t));
- l[t] = a, n = !0
- }
- } n && c()
- }
- };
+ var Mn = jn("ms"),
+ In = jn("s"),
+ On = jn("m"),
+ Nn = jn("h"),
+ Rn = jn("d"),
+ zn = jn("w"),
+ Ln = jn("M"),
+ Fn = jn("Q"),
+ qn = jn("y");
- function O(e, t) {
- var n = e.stateNode;
- if (!n) return null;
- var a = w(n);
- if (!a) return null;
- n = a[t];
- e: switch (t) {
- case "onClick":
- case "onClickCapture":
- case "onDoubleClick":
- case "onDoubleClickCapture":
- case "onMouseDown":
- case "onMouseDownCapture":
- case "onMouseMove":
- case "onMouseMoveCapture":
- case "onMouseUp":
- case "onMouseUpCapture":
- (a = !a.disabled) || (a = !("button" === (e = e.type) || "input" === e || "select" === e || "textarea" === e)), e = !a;
- break e;
+ function Bn(e) {
+ return function() {
+ return this.isValid() ? this._data[e] : NaN
+ }
+ }
+ var Un = Bn("milliseconds"),
+ Hn = Bn("seconds"),
+ Vn = Bn("minutes"),
+ Wn = Bn("hours"),
+ Yn = Bn("days"),
+ Gn = Bn("months"),
+ Kn = Bn("years");
+ var $n = Math.round,
+ Jn = {
+ ss: 44,
+ s: 45,
+ m: 45,
+ h: 22,
+ d: 26,
+ w: null,
+ M: 11
+ };
+
+ function Zn(e, t, n, a, r) {
+ return r.relativeTime(t || 1, !!n, e, a)
+ }
+ var Qn = Math.abs;
+
+ function Xn(e) {
+ return (e > 0) - (e < 0) || +e
+ }
+
+ function ea() {
+ if (!this.isValid()) return this.localeData().invalidDate();
+ var e, t, n, a, r, i, o, s, l = Qn(this._milliseconds) / 1e3,
+ c = Qn(this._days),
+ u = Qn(this._months),
+ d = this.asSeconds();
+ return d ? (e = W(l / 60), t = W(e / 60), l %= 60, e %= 60, n = W(u / 12), u %= 12, a = l ? l.toFixed(3).replace(/\.?0+$/, "") : "", r = d < 0 ? "-" : "", i = Xn(this._months) !== Xn(d) ? "-" : "", o = Xn(this._days) !== Xn(d) ? "-" : "", s = Xn(this._milliseconds) !== Xn(d) ? "-" : "", r + "P" + (n ? i + n + "Y" : "") + (u ? i + u + "M" : "") + (c ? o + c + "D" : "") + (t || e || l ? "T" : "") + (t ? s + t + "H" : "") + (e ? s + e + "M" : "") + (l ? s + a + "S" : "")) : "P0D"
+ }
+ var ta = Pt.prototype;
+ return ta.isValid = function() {
+ return this._isValid
+ }, ta.abs = function() {
+ var e = this._data;
+ return this._milliseconds = Cn(this._milliseconds), this._days = Cn(this._days), this._months = Cn(this._months), e.milliseconds = Cn(e.milliseconds), e.seconds = Cn(e.seconds), e.minutes = Cn(e.minutes), e.hours = Cn(e.hours), e.months = Cn(e.months), e.years = Cn(e.years), this
+ }, ta.add = function(e, t) {
+ return An(this, e, t, 1)
+ }, ta.subtract = function(e, t) {
+ return An(this, e, t, -1)
+ }, ta.as = function(e) {
+ if (!this.isValid()) return NaN;
+ var t, n, a = this._milliseconds;
+ if ("month" === (e = q(e)) || "quarter" === e || "year" === e) switch (t = this._days + a / 864e5, n = this._months + Dn(t), e) {
+ case "month":
+ return n;
+ case "quarter":
+ return n / 3;
+ case "year":
+ return n / 12
+ } else switch (t = this._days + Math.round(Pn(this._months)), e) {
+ case "week":
+ return t / 7 + a / 6048e5;
+ case "day":
+ return t + a / 864e5;
+ case "hour":
+ return 24 * t + a / 36e5;
+ case "minute":
+ return 1440 * t + a / 6e4;
+ case "second":
+ return 86400 * t + a / 1e3;
+ case "millisecond":
+ return Math.floor(864e5 * t) + a;
default:
- e = !1
+ throw new Error("Unknown unit " + e)
+ }
+ }, ta.asMilliseconds = Mn, ta.asSeconds = In, ta.asMinutes = On, ta.asHours = Nn, ta.asDays = Rn, ta.asWeeks = zn, ta.asMonths = Ln, ta.asQuarters = Fn, ta.asYears = qn, ta.valueOf = function() {
+ return this.isValid() ? this._milliseconds + 864e5 * this._days + this._months % 12 * 2592e6 + 31536e6 * Y(this._months / 12) : NaN
+ }, ta._bubble = function() {
+ var e, t, n, a, r, i = this._milliseconds,
+ o = this._days,
+ s = this._months,
+ l = this._data;
+ return i >= 0 && o >= 0 && s >= 0 || i <= 0 && o <= 0 && s <= 0 || (i += 864e5 * Tn(Pn(s) + o), o = 0, s = 0), l.milliseconds = i % 1e3, e = W(i / 1e3), l.seconds = e % 60, t = W(e / 60), l.minutes = t % 60, n = W(t / 60), l.hours = n % 24, o += W(n / 24), s += r = W(Dn(o)), o -= Tn(Pn(r)), a = W(s / 12), s %= 12, l.days = o, l.months = s, l.years = a, this
+ }, ta.clone = function() {
+ return Bt(this)
+ }, ta.get = function(e) {
+ return e = q(e), this.isValid() ? this[e + "s"]() : NaN
+ }, ta.milliseconds = Un, ta.seconds = Hn, ta.minutes = Vn, ta.hours = Wn, ta.days = Yn, ta.weeks = function() {
+ return W(this.days() / 7)
+ }, ta.months = Gn, ta.years = Kn, ta.humanize = function(e, t) {
+ if (!this.isValid()) return this.localeData().invalidDate();
+ var n, a, r = !1,
+ i = Jn;
+ return "object" == typeof e && (t = e, e = !1), "boolean" == typeof e && (r = e), "object" == typeof t && (i = Object.assign({}, Jn, t), null != t.s && null == t.ss && (i.ss = t.s - 1)), a = function(e, t, n, a) {
+ var r = Bt(e).abs(),
+ i = $n(r.as("s")),
+ o = $n(r.as("m")),
+ s = $n(r.as("h")),
+ l = $n(r.as("d")),
+ c = $n(r.as("M")),
+ u = $n(r.as("w")),
+ d = $n(r.as("y")),
+ p = i <= n.ss && ["s", i] || i < n.s && ["ss", i] || o <= 1 && ["m"] || o < n.m && ["mm", o] || s <= 1 && ["h"] || s < n.h && ["hh", s] || l <= 1 && ["d"] || l < n.d && ["dd", l];
+ return null != n.w && (p = p || u <= 1 && ["w"] || u < n.w && ["ww", u]), (p = p || c <= 1 && ["M"] || c < n.M && ["MM", c] || d <= 1 && ["y"] || ["yy", d])[2] = t, p[3] = +e > 0, p[4] = a, Zn.apply(null, p)
+ }(this, !r, i, n = this.localeData()), r && (a = n.pastFuture(+this, a)), n.postformat(a)
+ }, ta.toISOString = ea, ta.toString = ea, ta.toJSON = ea, ta.locale = Qt, ta.localeData = en, ta.toIsoString = S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)", ea), ta.lang = Xt, N("X", 0, 0, "unix"), N("x", 0, 0, "valueOf"), he("x", ce), he("X", /[+-]?\d+(\.\d{1,3})?/), be("X", (function(e, t, n) {
+ n._d = new Date(1e3 * parseFloat(e))
+ })), be("x", (function(e, t, n) {
+ n._d = new Date(Y(e))
+ })), a.version = "2.29.1", t = xt, a.fn = kn, a.min = function() {
+ return Tt("isBefore", [].slice.call(arguments, 0))
+ }, a.max = function() {
+ return Tt("isAfter", [].slice.call(arguments, 0))
+ }, a.now = function() {
+ return Date.now ? Date.now() : +new Date
+ }, a.utc = h, a.unix = function(e) {
+ return xt(1e3 * e)
+ }, a.months = function(e, t) {
+ return En(e, t, "months")
+ }, a.isDate = u, a.locale = it, a.invalid = g, a.duration = Bt, a.isMoment = _, a.weekdays = function(e, t, n) {
+ return xn(e, t, n, "weekdays")
+ }, a.parseZone = function() {
+ return xt.apply(null, arguments).parseZone()
+ }, a.localeData = st, a.isDuration = jt, a.monthsShort = function(e, t) {
+ return En(e, t, "monthsShort")
+ }, a.weekdaysMin = function(e, t, n) {
+ return xn(e, t, n, "weekdaysMin")
+ }, a.defineLocale = ot, a.updateLocale = function(e, t) {
+ if (null != t) {
+ var n, a, r = Xe;
+ null != et[e] && null != et[e].parentLocale ? et[e].set(T(et[e]._config, t)) : (null != (a = rt(e)) && (r = a._config), t = T(r, t), null == a && (t.abbr = e), (n = new D(t)).parentLocale = et[e], et[e] = n), it(e)
+ } else null != et[e] && (null != et[e].parentLocale ? (et[e] = et[e].parentLocale, e === it() && it(e)) : null != et[e] && delete et[e]);
+ return et[e]
+ }, a.locales = function() {
+ return E(et)
+ }, a.weekdaysShort = function(e, t, n) {
+ return xn(e, t, n, "weekdaysShort")
+ }, a.normalizeUnits = q, a.relativeTimeRounding = function(e) {
+ return void 0 === e ? $n : "function" == typeof e && ($n = e, !0)
+ }, a.relativeTimeThreshold = function(e, t) {
+ return void 0 !== Jn[e] && (void 0 === t ? Jn[e] : (Jn[e] = t, "s" === e && (Jn.ss = t - 1), !0))
+ }, a.calendarFormat = function(e, t) {
+ var n = e.diff(t, "days", !0);
+ return n < -6 ? "sameElse" : n < -1 ? "lastWeek" : n < 0 ? "lastDay" : n < 1 ? "sameDay" : n < 2 ? "nextDay" : n < 7 ? "nextWeek" : "sameElse"
+ }, a.prototype = kn, a.HTML5_FMT = {
+ DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
+ DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
+ DATETIME_LOCAL_MS: "YYYY-MM-DDTHH:mm:ss.SSS",
+ DATE: "YYYY-MM-DD",
+ TIME: "HH:mm",
+ TIME_SECONDS: "HH:mm:ss",
+ TIME_MS: "HH:mm:ss.SSS",
+ WEEK: "GGGG-[W]WW",
+ MONTH: "YYYY-MM"
+ }, a
+ }()
+}, 2068: e => {
+ var t = 1e3,
+ n = 60 * t,
+ a = 60 * n,
+ r = 24 * a;
+
+ function i(e, t, n) {
+ if (!(e < t)) return e < 1.5 * t ? Math.floor(e / t) + " " + n : Math.ceil(e / t) + " " + n + "s"
+ }
+ e.exports = function(e, o) {
+ o = o || {};
+ var s, l = typeof e;
+ if ("string" === l && e.length > 0) return function(e) {
+ if (!((e = String(e)).length > 100)) {
+ var i = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);
+ if (i) {
+ var o = parseFloat(i[1]);
+ switch ((i[2] || "ms").toLowerCase()) {
+ case "years":
+ case "year":
+ case "yrs":
+ case "yr":
+ case "y":
+ return 315576e5 * o;
+ case "days":
+ case "day":
+ case "d":
+ return o * r;
+ case "hours":
+ case "hour":
+ case "hrs":
+ case "hr":
+ case "h":
+ return o * a;
+ case "minutes":
+ case "minute":
+ case "mins":
+ case "min":
+ case "m":
+ return o * n;
+ case "seconds":
+ case "second":
+ case "secs":
+ case "sec":
+ case "s":
+ return o * t;
+ case "milliseconds":
+ case "millisecond":
+ case "msecs":
+ case "msec":
+ case "ms":
+ return o;
+ default:
+ return
+ }
+ }
}
- if (e) return null;
- if (n && "function" != typeof n) throw Error(o(231, t, typeof n));
- return n
+ }(e);
+ if ("number" === l && !1 === isNaN(e)) return o.long ? i(s = e, r, "day") || i(s, a, "hour") || i(s, n, "minute") || i(s, t, "second") || s + " ms" : function(e) {
+ return e >= r ? Math.round(e / r) + "d" : e >= a ? Math.round(e / a) + "h" : e >= n ? Math.round(e / n) + "m" : e >= t ? Math.round(e / t) + "s" : e + "ms"
+ }(e);
+ throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(e))
+ }
+}, 5535: e => {
+ "use strict";
+ var t = Object.getOwnPropertySymbols,
+ n = Object.prototype.hasOwnProperty,
+ a = Object.prototype.propertyIsEnumerable;
+
+ function r(e) {
+ if (null == e) throw new TypeError("Object.assign cannot be called with null or undefined");
+ return Object(e)
+ }
+ e.exports = function() {
+ try {
+ if (!Object.assign) return !1;
+ var e = new String("abc");
+ if (e[5] = "de", "5" === Object.getOwnPropertyNames(e)[0]) return !1;
+ for (var t = {}, n = 0; n < 10; n++) t["_" + String.fromCharCode(n)] = n;
+ if ("0123456789" !== Object.getOwnPropertyNames(t).map((function(e) {
+ return t[e]
+ })).join("")) return !1;
+ var a = {};
+ return "abcdefghijklmnopqrst".split("").forEach((function(e) {
+ a[e] = e
+ })), "abcdefghijklmnopqrst" === Object.keys(Object.assign({}, a)).join("")
+ } catch (e) {
+ return !1
}
- var M = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
- M.hasOwnProperty("ReactCurrentDispatcher") || (M.ReactCurrentDispatcher = {
- current: null
- }), M.hasOwnProperty("ReactCurrentBatchConfig") || (M.ReactCurrentBatchConfig = {
- suspense: null
- });
- var I = /^(.*)[\\\/]/,
- N = "function" == typeof Symbol && Symbol.for,
- z = N ? Symbol.for("react.element") : 60103,
- R = N ? Symbol.for("react.portal") : 60106,
- L = N ? Symbol.for("react.fragment") : 60107,
- F = N ? Symbol.for("react.strict_mode") : 60108,
- q = N ? Symbol.for("react.profiler") : 60114,
- B = N ? Symbol.for("react.provider") : 60109,
- U = N ? Symbol.for("react.context") : 60110,
- H = N ? Symbol.for("react.concurrent_mode") : 60111,
- V = N ? Symbol.for("react.forward_ref") : 60112,
- W = N ? Symbol.for("react.suspense") : 60113,
- Y = N ? Symbol.for("react.suspense_list") : 60120,
- G = N ? Symbol.for("react.memo") : 60115,
- K = N ? Symbol.for("react.lazy") : 60116;
- N && Symbol.for("react.fundamental"), N && Symbol.for("react.responder"), N && Symbol.for("react.scope");
- var $ = "function" == typeof Symbol && Symbol.iterator;
-
- function J(e) {
- return null === e || "object" != typeof e ? null : "function" == typeof(e = $ && e[$] || e["@@iterator"]) ? e : null
- }
-
- function Z(e) {
- if (null == e) return null;
- if ("function" == typeof e) return e.displayName || e.name || null;
- if ("string" == typeof e) return e;
- switch (e) {
- case L:
- return "Fragment";
- case R:
- return "Portal";
- case q:
- return "Profiler";
- case F:
- return "StrictMode";
- case W:
- return "Suspense";
- case Y:
- return "SuspenseList"
- }
- if ("object" == typeof e) switch (e.$$typeof) {
- case U:
- return "Context.Consumer";
- case B:
- return "Context.Provider";
- case V:
- var t = e.render;
- return t = t.displayName || t.name || "", e.displayName || ("" !== t ? "ForwardRef(" + t + ")" : "ForwardRef");
- case G:
- return Z(e.type);
- case K:
- if (e = 1 === e._status ? e._result : null) return Z(e)
+ }() ? Object.assign : function(e, i) {
+ for (var o, s, l = r(e), c = 1; c < arguments.length; c++) {
+ for (var u in o = Object(arguments[c])) n.call(o, u) && (l[u] = o[u]);
+ if (t) {
+ s = t(o);
+ for (var d = 0; d < s.length; d++) a.call(o, s[d]) && (l[s[d]] = o[s[d]])
}
- return null
}
+ return l
+ }
+}, 554: e => {
+ var t, n, a = e.exports = {};
- function Q(e) {
- var t = "";
- do {
- e: switch (e.tag) {
- case 3:
- case 4:
- case 6:
- case 7:
- case 10:
- case 9:
- var n = "";
- break e;
- default:
- var a = e._debugOwner,
- r = e._debugSource,
- i = Z(e.type);
- n = null, a && (n = Z(a.type)), a = i, i = "", r ? i = " (at " + r.fileName.replace(I, "") + ":" + r.lineNumber + ")" : n && (i = " (created by " + n + ")"), n = "\n in " + (a || "Unknown") + i
- }
- t += n,
- e = e.return
- } while (e);
- return t
- }
- var X = !("undefined" == typeof window || void 0 === window.document || void 0 === window.document.createElement),
- ee = null,
- te = null,
- ne = null;
+ function r() {
+ throw new Error("setTimeout has not been defined")
+ }
+
+ function i() {
+ throw new Error("clearTimeout has not been defined")
+ }
- function ae(e) {
- if (e = S(e)) {
- if ("function" != typeof ee) throw Error(o(280));
- var t = w(e.stateNode);
- ee(e.stateNode, e.type, t)
+ function o(e) {
+ if (t === setTimeout) return setTimeout(e, 0);
+ if ((t === r || !t) && setTimeout) return t = setTimeout, setTimeout(e, 0);
+ try {
+ return t(e, 0)
+ } catch (n) {
+ try {
+ return t.call(null, e, 0)
+ } catch (n) {
+ return t.call(this, e, 0)
}
}
-
- function re(e) {
- te ? ne ? ne.push(e) : ne = [e] : te = e
+ }! function() {
+ try {
+ t = "function" == typeof setTimeout ? setTimeout : r
+ } catch (e) {
+ t = r
}
-
- function ie() {
- if (te) {
- var e = te,
- t = ne;
- if (ne = te = null, ae(e), t)
- for (e = 0; e < t.length; e++) ae(t[e])
- }
+ try {
+ n = "function" == typeof clearTimeout ? clearTimeout : i
+ } catch (e) {
+ n = i
}
+ }();
+ var s, l = [],
+ c = !1,
+ u = -1;
- function oe(e, t) {
- return e(t)
- }
+ function d() {
+ c && s && (c = !1, s.length ? l = s.concat(l) : u = -1, l.length && p())
+ }
- function se(e, t, n, a) {
- return e(t, n, a)
+ function p() {
+ if (!c) {
+ var e = o(d);
+ c = !0;
+ for (var t = l.length; t;) {
+ for (s = l, l = []; ++u < t;) s && s[u].run();
+ u = -1, t = l.length
+ }
+ s = null, c = !1,
+ function(e) {
+ if (n === clearTimeout) return clearTimeout(e);
+ if ((n === i || !n) && clearTimeout) return n = clearTimeout, clearTimeout(e);
+ try {
+ n(e)
+ } catch (t) {
+ try {
+ return n.call(null, e)
+ } catch (t) {
+ return n.call(this, e)
+ }
+ }
+ }(e)
}
+ }
- function le() {}
- var ce = oe,
- ue = !1,
- de = !1;
+ function h(e, t) {
+ this.fun = e, this.array = t
+ }
- function pe() {
- null === te && null === ne || (le(), ie())
- }
- new Map;
- var he = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,
- me = Object.prototype.hasOwnProperty,
- fe = {},
- ge = {};
-
- function be(e, t, n, a, r, i) {
- this.acceptsBooleans = 2 === t || 3 === t || 4 === t, this.attributeName = a, this.attributeNamespace = r, this.mustUseProperty = n, this.propertyName = e, this.type = t, this.sanitizeURL = i
- }
- var ye = {};
- "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e) {
- ye[e] = new be(e, 0, !1, e, null, !1)
- })), [
- ["acceptCharset", "accept-charset"],
- ["className", "class"],
- ["htmlFor", "for"],
- ["httpEquiv", "http-equiv"]
- ].forEach((function(e) {
- var t = e[0];
- ye[t] = new be(t, 1, !1, e[1], null, !1)
- })), ["contentEditable", "draggable", "spellCheck", "value"].forEach((function(e) {
- ye[e] = new be(e, 2, !1, e.toLowerCase(), null, !1)
- })), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach((function(e) {
- ye[e] = new be(e, 2, !1, e, null, !1)
- })), "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e) {
- ye[e] = new be(e, 3, !1, e.toLowerCase(), null, !1)
- })), ["checked", "multiple", "muted", "selected"].forEach((function(e) {
- ye[e] = new be(e, 3, !0, e, null, !1)
- })), ["capture", "download"].forEach((function(e) {
- ye[e] = new be(e, 4, !1, e, null, !1)
- })), ["cols", "rows", "size", "span"].forEach((function(e) {
- ye[e] = new be(e, 6, !1, e, null, !1)
- })), ["rowSpan", "start"].forEach((function(e) {
- ye[e] = new be(e, 5, !1, e.toLowerCase(), null, !1)
- }));
- var ve = /[\-:]([a-z])/g;
+ function m() {}
+ a.nextTick = function(e) {
+ var t = new Array(arguments.length - 1);
+ if (arguments.length > 1)
+ for (var n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
+ l.push(new h(e, t)), 1 !== l.length || c || o(p)
+ }, h.prototype.run = function() {
+ this.fun.apply(null, this.array)
+ }, a.title = "browser", a.browser = !0, a.env = {}, a.argv = [], a.version = "", a.versions = {}, a.on = m, a.addListener = m, a.once = m, a.off = m, a.removeListener = m, a.removeAllListeners = m, a.emit = m, a.prependListener = m, a.prependOnceListener = m, a.listeners = function(e) {
+ return []
+ }, a.binding = function(e) {
+ throw new Error("process.binding is not supported")
+ }, a.cwd = function() {
+ return "/"
+ }, a.chdir = function(e) {
+ throw new Error("process.chdir is not supported")
+ }, a.umask = function() {
+ return 0
+ }
+}, 9739: (e, t, n) => {
+ "use strict";
+ var a = n(6669);
- function ke(e) {
- return e[1].toUpperCase()
- }
+ function r() {}
- function _e(e) {
- switch (typeof e) {
- case "boolean":
- case "number":
- case "object":
- case "string":
- case "undefined":
- return e;
- default:
- return ""
+ function i() {}
+ i.resetWarningCache = r, e.exports = function() {
+ function e(e, t, n, r, i, o) {
+ if (o !== a) {
+ var s = 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 s.name = "Invariant Violation", s
}
}
- function we(e, t, n, a) {
- var r = ye.hasOwnProperty(t) ? ye[t] : null;
- (null !== r ? 0 === r.type : !a && 2 < t.length && ("o" === t[0] || "O" === t[0]) && ("n" === t[1] || "N" === t[1])) || (function(e, t, n, a) {
- if (null == t || function(e, t, n, a) {
- if (null !== n && 0 === n.type) return !1;
- switch (typeof t) {
- case "function":
- case "symbol":
- return !0;
- case "boolean":
- return !a && (null !== n ? !n.acceptsBooleans : "data-" !== (e = e.toLowerCase().slice(0, 5)) && "aria-" !== e);
- default:
- return !1
- }
- }(e, t, n, a)) return !0;
- if (a) return !1;
- if (null !== n) switch (n.type) {
- case 3:
- return !t;
- case 4:
- return !1 === t;
- case 5:
- return isNaN(t);
- case 6:
- return isNaN(t) || 1 > t
+ function t() {
+ return e
+ }
+ e.isRequired = e;
+ var n = {
+ array: e,
+ bool: e,
+ func: e,
+ number: e,
+ object: e,
+ string: e,
+ symbol: e,
+ any: e,
+ arrayOf: t,
+ element: e,
+ elementType: e,
+ instanceOf: t,
+ node: e,
+ objectOf: t,
+ oneOf: t,
+ oneOfType: t,
+ shape: t,
+ exact: t,
+ checkPropTypes: i,
+ resetWarningCache: r
+ };
+ return n.PropTypes = n, n
+ }
+}, 7329: (e, t, n) => {
+ e.exports = n(9739)()
+}, 6669: e => {
+ "use strict";
+ e.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"
+}, 2494: e => {
+ "use strict";
+ e.exports = function(e) {
+ var t = "";
+ return function e(n) {
+ if ("string" == typeof n || "number" == typeof n) t += n;
+ else if (Array.isArray(n)) n.forEach((function(t) {
+ return e(t)
+ }));
+ else if (n && n.props) {
+ var a = n.props.children;
+ Array.isArray(a) ? a.forEach((function(t) {
+ return e(t)
+ })) : e(a)
+ }
+ }(e), t
+ }
+}, 4534: (e, t, n) => {
+ "use strict";
+ var a = n(2684),
+ r = n(5535),
+ i = n(7525);
+
+ function o(e) {
+ for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, n = 1; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);
+ return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."
+ }
+ if (!a) throw Error(o(227));
+ var s = null,
+ l = {};
+
+ function c() {
+ if (s)
+ for (var e in l) {
+ var t = l[e],
+ n = s.indexOf(e);
+ if (!(-1 < n)) throw Error(o(96, e));
+ if (!d[n]) {
+ if (!t.extractEvents) throw Error(o(97, e));
+ for (var a in d[n] = t, n = t.eventTypes) {
+ var r = void 0,
+ i = n[a],
+ c = t,
+ h = a;
+ if (p.hasOwnProperty(h)) throw Error(o(99, h));
+ p[h] = i;
+ var m = i.phasedRegistrationNames;
+ if (m) {
+ for (r in m) m.hasOwnProperty(r) && u(m[r], c, h);
+ r = !0
+ } else i.registrationName ? (u(i.registrationName, c, h), r = !0) : r = !1;
+ if (!r) throw Error(o(98, a, e))
+ }
}
- return !1
- }(t, n, r, a) && (n = null), a || null === r ? function(e) {
- return !!me.call(ge, e) || !me.call(fe, e) && (he.test(e) ? ge[e] = !0 : (fe[e] = !0, !1))
- }(t) && (null === n ? e.removeAttribute(t) : e.setAttribute(t, "" + n)) : r.mustUseProperty ? e[r.propertyName] = null === n ? 3 !== r.type && "" : n : (t = r.attributeName, a = r.attributeNamespace, null === n ? e.removeAttribute(t) : (n = 3 === (r = r.type) || 4 === r && !0 === n ? "" : "" + n, a ? e.setAttributeNS(a, t, n) : e.setAttribute(t, n))))
+ }
+ }
+
+ function u(e, t, n) {
+ if (h[e]) throw Error(o(100, e));
+ h[e] = t, m[e] = t.eventTypes[n].dependencies
+ }
+ var d = [],
+ p = {},
+ h = {},
+ m = {};
+
+ function f(e, t, n, a, r, i, o, s, l) {
+ var c = Array.prototype.slice.call(arguments, 3);
+ try {
+ t.apply(n, c)
+ } catch (e) {
+ this.onError(e)
}
+ }
+ var g = !1,
+ b = null,
+ y = !1,
+ v = null,
+ k = {
+ onError: function(e) {
+ g = !0, b = e
+ }
+ };
- function Se(e) {
- var t = e.type;
- return (e = e.nodeName) && "input" === e.toLowerCase() && ("checkbox" === t || "radio" === t)
+ function _(e, t, n, a, r, i, o, s, l) {
+ g = !1, b = null, f.apply(k, arguments)
+ }
+ var w = null,
+ S = null,
+ E = null;
+
+ function x(e, t, n) {
+ var a = e.type || "unknown-event";
+ e.currentTarget = E(n),
+ function(e, t, n, a, r, i, s, l, c) {
+ if (_.apply(this, arguments), g) {
+ if (!g) throw Error(o(198));
+ var u = b;
+ g = !1, b = null, y || (y = !0, v = u)
+ }
+ }(a, t, void 0, e), e.currentTarget = null
+ }
+
+ function C(e, t) {
+ if (null == t) throw Error(o(30));
+ return null == e ? t : Array.isArray(e) ? Array.isArray(t) ? (e.push.apply(e, t), e) : (e.push(t), e) : Array.isArray(t) ? [e].concat(t) : [e, t]
+ }
+
+ function A(e, t, n) {
+ Array.isArray(e) ? e.forEach(t, n) : e && t.call(n, e)
+ }
+ var T = null;
+
+ function D(e) {
+ if (e) {
+ var t = e._dispatchListeners,
+ n = e._dispatchInstances;
+ if (Array.isArray(t))
+ for (var a = 0; a < t.length && !e.isPropagationStopped(); a++) x(e, t[a], n[a]);
+ else t && x(e, t, n);
+ e._dispatchListeners = null, e._dispatchInstances = null, e.isPersistent() || e.constructor.release(e)
}
+ }
- function Ee(e) {
- e._valueTracker || (e._valueTracker = function(e) {
- var t = Se(e) ? "checked" : "value",
- n = Object.getOwnPropertyDescriptor(e.constructor.prototype, t),
- a = "" + e[t];
- if (!e.hasOwnProperty(t) && void 0 !== n && "function" == typeof n.get && "function" == typeof n.set) {
- var r = n.get,
- i = n.set;
- return Object.defineProperty(e, t, {
- configurable: !0,
- get: function() {
- return r.call(this)
- },
- set: function(e) {
- a = "" + e, i.call(this, e)
- }
- }), Object.defineProperty(e, t, {
- enumerable: n.enumerable
- }), {
- getValue: function() {
- return a
- },
- setValue: function(e) {
- a = "" + e
- },
- stopTracking: function() {
- e._valueTracker = null, delete e[t]
- }
- }
- }
- }(e))
+ function P(e) {
+ if (null !== e && (T = C(T, e)), e = T, T = null, e) {
+ if (A(e, D), T) throw Error(o(95));
+ if (y) throw e = v, y = !1, v = null, e
+ }
+ }
+ var j = {
+ injectEventPluginOrder: function(e) {
+ if (s) throw Error(o(101));
+ s = Array.prototype.slice.call(e), c()
+ },
+ injectEventPluginsByName: function(e) {
+ var t, n = !1;
+ for (t in e)
+ if (e.hasOwnProperty(t)) {
+ var a = e[t];
+ if (!l.hasOwnProperty(t) || l[t] !== a) {
+ if (l[t]) throw Error(o(102, t));
+ l[t] = a, n = !0
+ }
+ } n && c()
}
+ };
+
+ function M(e, t) {
+ var n = e.stateNode;
+ if (!n) return null;
+ var a = w(n);
+ if (!a) return null;
+ n = a[t];
+ e: switch (t) {
+ case "onClick":
+ case "onClickCapture":
+ case "onDoubleClick":
+ case "onDoubleClickCapture":
+ case "onMouseDown":
+ case "onMouseDownCapture":
+ case "onMouseMove":
+ case "onMouseMoveCapture":
+ case "onMouseUp":
+ case "onMouseUpCapture":
+ (a = !a.disabled) || (a = !("button" === (e = e.type) || "input" === e || "select" === e || "textarea" === e)), e = !a;
+ break e;
+ default:
+ e = !1
+ }
+ if (e) return null;
+ if (n && "function" != typeof n) throw Error(o(231, t, typeof n));
+ return n
+ }
+ var I = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
+ I.hasOwnProperty("ReactCurrentDispatcher") || (I.ReactCurrentDispatcher = {
+ current: null
+ }), I.hasOwnProperty("ReactCurrentBatchConfig") || (I.ReactCurrentBatchConfig = {
+ suspense: null
+ });
+ var O = /^(.*)[\\\/]/,
+ N = "function" == typeof Symbol && Symbol.for,
+ R = N ? Symbol.for("react.element") : 60103,
+ z = N ? Symbol.for("react.portal") : 60106,
+ L = N ? Symbol.for("react.fragment") : 60107,
+ F = N ? Symbol.for("react.strict_mode") : 60108,
+ q = N ? Symbol.for("react.profiler") : 60114,
+ B = N ? Symbol.for("react.provider") : 60109,
+ U = N ? Symbol.for("react.context") : 60110,
+ H = N ? Symbol.for("react.concurrent_mode") : 60111,
+ V = N ? Symbol.for("react.forward_ref") : 60112,
+ W = N ? Symbol.for("react.suspense") : 60113,
+ Y = N ? Symbol.for("react.suspense_list") : 60120,
+ G = N ? Symbol.for("react.memo") : 60115,
+ K = N ? Symbol.for("react.lazy") : 60116;
+ N && Symbol.for("react.fundamental"), N && Symbol.for("react.responder"), N && Symbol.for("react.scope");
+ var $ = "function" == typeof Symbol && Symbol.iterator;
+
+ function J(e) {
+ return null === e || "object" != typeof e ? null : "function" == typeof(e = $ && e[$] || e["@@iterator"]) ? e : null
+ }
+
+ function Z(e) {
+ if (null == e) return null;
+ if ("function" == typeof e) return e.displayName || e.name || null;
+ if ("string" == typeof e) return e;
+ switch (e) {
+ case L:
+ return "Fragment";
+ case z:
+ return "Portal";
+ case q:
+ return "Profiler";
+ case F:
+ return "StrictMode";
+ case W:
+ return "Suspense";
+ case Y:
+ return "SuspenseList"
+ }
+ if ("object" == typeof e) switch (e.$$typeof) {
+ case U:
+ return "Context.Consumer";
+ case B:
+ return "Context.Provider";
+ case V:
+ var t = e.render;
+ return t = t.displayName || t.name || "", e.displayName || ("" !== t ? "ForwardRef(" + t + ")" : "ForwardRef");
+ case G:
+ return Z(e.type);
+ case K:
+ if (e = 1 === e._status ? e._result : null) return Z(e)
+ }
+ return null
+ }
+
+ function Q(e) {
+ var t = "";
+ do {
+ e: switch (e.tag) {
+ case 3:
+ case 4:
+ case 6:
+ case 7:
+ case 10:
+ case 9:
+ var n = "";
+ break e;
+ default:
+ var a = e._debugOwner,
+ r = e._debugSource,
+ i = Z(e.type);
+ n = null, a && (n = Z(a.type)), a = i, i = "", r ? i = " (at " + r.fileName.replace(O, "") + ":" + r.lineNumber + ")" : n && (i = " (created by " + n + ")"), n = "\n in " + (a || "Unknown") + i
+ }
+ t += n,
+ e = e.return
+ } while (e);
+ return t
+ }
+ var X = !("undefined" == typeof window || void 0 === window.document || void 0 === window.document.createElement),
+ ee = null,
+ te = null,
+ ne = null;
- function xe(e) {
- if (!e) return !1;
- var t = e._valueTracker;
- if (!t) return !0;
- var n = t.getValue(),
- a = "";
- return e && (a = Se(e) ? e.checked ? "true" : "false" : e.value), (e = a) !== n && (t.setValue(e), !0)
- }
-
- function Ce(e, t) {
- var n = t.checked;
- return r({}, t, {
- defaultChecked: void 0,
- defaultValue: void 0,
- value: void 0,
- checked: null != n ? n : e._wrapperState.initialChecked
- })
+ function ae(e) {
+ if (e = S(e)) {
+ if ("function" != typeof ee) throw Error(o(280));
+ var t = w(e.stateNode);
+ ee(e.stateNode, e.type, t)
}
+ }
- function Ae(e, t) {
- var n = null == t.defaultValue ? "" : t.defaultValue,
- a = null != t.checked ? t.checked : t.defaultChecked;
- n = _e(null != t.value ? t.value : n), e._wrapperState = {
- initialChecked: a,
- initialValue: n,
- controlled: "checkbox" === t.type || "radio" === t.type ? null != t.checked : null != t.value
- }
- }
+ function re(e) {
+ te ? ne ? ne.push(e) : ne = [e] : te = e
+ }
- function je(e, t) {
- null != (t = t.checked) && we(e, "checked", t, !1)
+ function ie() {
+ if (te) {
+ var e = te,
+ t = ne;
+ if (ne = te = null, ae(e), t)
+ for (e = 0; e < t.length; e++) ae(t[e])
}
+ }
- function Pe(e, t) {
- je(e, t);
- var n = _e(t.value),
- a = t.type;
- if (null != n) "number" === a ? (0 === n && "" === e.value || e.value != n) && (e.value = "" + n) : e.value !== "" + n && (e.value = "" + n);
- else if ("submit" === a || "reset" === a) return void e.removeAttribute("value");
- t.hasOwnProperty("value") ? Te(e, t.type, n) : t.hasOwnProperty("defaultValue") && Te(e, t.type, _e(t.defaultValue)), null == t.checked && null != t.defaultChecked && (e.defaultChecked = !!t.defaultChecked)
- }
+ function oe(e, t) {
+ return e(t)
+ }
- function De(e, t, n) {
- if (t.hasOwnProperty("value") || t.hasOwnProperty("defaultValue")) {
- var a = t.type;
- if (!("submit" !== a && "reset" !== a || void 0 !== t.value && null !== t.value)) return;
- t = "" + e._wrapperState.initialValue, n || t === e.value || (e.value = t), e.defaultValue = t
- }
- "" !== (n = e.name) && (e.name = ""), e.defaultChecked = !e.defaultChecked, e.defaultChecked = !!e._wrapperState.initialChecked, "" !== n && (e.name = n)
- }
+ function se(e, t, n, a) {
+ return e(t, n, a)
+ }
- function Te(e, t, n) {
- "number" === t && e.ownerDocument.activeElement === e || (null == n ? e.defaultValue = "" + e._wrapperState.initialValue : e.defaultValue !== "" + n && (e.defaultValue = "" + n))
- }
+ function le() {}
+ var ce = oe,
+ ue = !1,
+ de = !1;
- function Oe(e, t) {
- return e = r({
- children: void 0
- }, t), (t = function(e) {
- var t = "";
- return a.Children.forEach(e, (function(e) {
- null != e && (t += e)
- })), t
- }(t.children)) && (e.children = t), e
+ function pe() {
+ null === te && null === ne || (le(), ie())
+ }
+ new Map;
+ var he = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,
+ me = Object.prototype.hasOwnProperty,
+ fe = {},
+ ge = {};
+
+ function be(e, t, n, a, r, i) {
+ this.acceptsBooleans = 2 === t || 3 === t || 4 === t, this.attributeName = a, this.attributeNamespace = r, this.mustUseProperty = n, this.propertyName = e, this.type = t, this.sanitizeURL = i
+ }
+ var ye = {};
+ "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e) {
+ ye[e] = new be(e, 0, !1, e, null, !1)
+ })), [
+ ["acceptCharset", "accept-charset"],
+ ["className", "class"],
+ ["htmlFor", "for"],
+ ["httpEquiv", "http-equiv"]
+ ].forEach((function(e) {
+ var t = e[0];
+ ye[t] = new be(t, 1, !1, e[1], null, !1)
+ })), ["contentEditable", "draggable", "spellCheck", "value"].forEach((function(e) {
+ ye[e] = new be(e, 2, !1, e.toLowerCase(), null, !1)
+ })), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach((function(e) {
+ ye[e] = new be(e, 2, !1, e, null, !1)
+ })), "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e) {
+ ye[e] = new be(e, 3, !1, e.toLowerCase(), null, !1)
+ })), ["checked", "multiple", "muted", "selected"].forEach((function(e) {
+ ye[e] = new be(e, 3, !0, e, null, !1)
+ })), ["capture", "download"].forEach((function(e) {
+ ye[e] = new be(e, 4, !1, e, null, !1)
+ })), ["cols", "rows", "size", "span"].forEach((function(e) {
+ ye[e] = new be(e, 6, !1, e, null, !1)
+ })), ["rowSpan", "start"].forEach((function(e) {
+ ye[e] = new be(e, 5, !1, e.toLowerCase(), null, !1)
+ }));
+ var ve = /[\-:]([a-z])/g;
+
+ function ke(e) {
+ return e[1].toUpperCase()
+ }
+
+ function _e(e) {
+ switch (typeof e) {
+ case "boolean":
+ case "number":
+ case "object":
+ case "string":
+ case "undefined":
+ return e;
+ default:
+ return ""
}
+ }
- function Me(e, t, n, a) {
- if (e = e.options, t) {
- t = {};
- for (var r = 0; r < n.length; r++) t["$" + n[r]] = !0;
- for (n = 0; n < e.length; n++) r = t.hasOwnProperty("$" + e[n].value), e[n].selected !== r && (e[n].selected = r), r && a && (e[n].defaultSelected = !0)
- } else {
- for (n = "" + _e(n), t = null, r = 0; r < e.length; r++) {
- if (e[r].value === n) return e[r].selected = !0, void(a && (e[r].defaultSelected = !0));
- null !== t || e[r].disabled || (t = e[r])
- }
- null !== t && (t.selected = !0)
+ function we(e, t, n, a) {
+ var r = ye.hasOwnProperty(t) ? ye[t] : null;
+ (null !== r ? 0 === r.type : !a && 2 < t.length && ("o" === t[0] || "O" === t[0]) && ("n" === t[1] || "N" === t[1])) || (function(e, t, n, a) {
+ if (null == t || function(e, t, n, a) {
+ if (null !== n && 0 === n.type) return !1;
+ switch (typeof t) {
+ case "function":
+ case "symbol":
+ return !0;
+ case "boolean":
+ return !a && (null !== n ? !n.acceptsBooleans : "data-" !== (e = e.toLowerCase().slice(0, 5)) && "aria-" !== e);
+ default:
+ return !1
+ }
+ }(e, t, n, a)) return !0;
+ if (a) return !1;
+ if (null !== n) switch (n.type) {
+ case 3:
+ return !t;
+ case 4:
+ return !1 === t;
+ case 5:
+ return isNaN(t);
+ case 6:
+ return isNaN(t) || 1 > t
}
- }
+ return !1
+ }(t, n, r, a) && (n = null), a || null === r ? function(e) {
+ return !!me.call(ge, e) || !me.call(fe, e) && (he.test(e) ? ge[e] = !0 : (fe[e] = !0, !1))
+ }(t) && (null === n ? e.removeAttribute(t) : e.setAttribute(t, "" + n)) : r.mustUseProperty ? e[r.propertyName] = null === n ? 3 !== r.type && "" : n : (t = r.attributeName, a = r.attributeNamespace, null === n ? e.removeAttribute(t) : (n = 3 === (r = r.type) || 4 === r && !0 === n ? "" : "" + n, a ? e.setAttributeNS(a, t, n) : e.setAttribute(t, n))))
+ }
- function Ie(e, t) {
- if (null != t.dangerouslySetInnerHTML) throw Error(o(91));
- return r({}, t, {
- value: void 0,
- defaultValue: void 0,
- children: "" + e._wrapperState.initialValue
- })
- }
+ function Se(e) {
+ var t = e.type;
+ return (e = e.nodeName) && "input" === e.toLowerCase() && ("checkbox" === t || "radio" === t)
+ }
- function Ne(e, t) {
- var n = t.value;
- if (null == n) {
- if (n = t.defaultValue, null != (t = t.children)) {
- if (null != n) throw Error(o(92));
- if (Array.isArray(t)) {
- if (!(1 >= t.length)) throw Error(o(93));
- t = t[0]
+ function Ee(e) {
+ e._valueTracker || (e._valueTracker = function(e) {
+ var t = Se(e) ? "checked" : "value",
+ n = Object.getOwnPropertyDescriptor(e.constructor.prototype, t),
+ a = "" + e[t];
+ if (!e.hasOwnProperty(t) && void 0 !== n && "function" == typeof n.get && "function" == typeof n.set) {
+ var r = n.get,
+ i = n.set;
+ return Object.defineProperty(e, t, {
+ configurable: !0,
+ get: function() {
+ return r.call(this)
+ },
+ set: function(e) {
+ a = "" + e, i.call(this, e)
+ }
+ }), Object.defineProperty(e, t, {
+ enumerable: n.enumerable
+ }), {
+ getValue: function() {
+ return a
+ },
+ setValue: function(e) {
+ a = "" + e
+ },
+ stopTracking: function() {
+ e._valueTracker = null, delete e[t]
}
- n = t
}
- null == n && (n = "")
- }
- e._wrapperState = {
- initialValue: _e(n)
}
+ }(e))
+ }
+
+ function xe(e) {
+ if (!e) return !1;
+ var t = e._valueTracker;
+ if (!t) return !0;
+ var n = t.getValue(),
+ a = "";
+ return e && (a = Se(e) ? e.checked ? "true" : "false" : e.value), (e = a) !== n && (t.setValue(e), !0)
+ }
+
+ function Ce(e, t) {
+ var n = t.checked;
+ return r({}, t, {
+ defaultChecked: void 0,
+ defaultValue: void 0,
+ value: void 0,
+ checked: null != n ? n : e._wrapperState.initialChecked
+ })
+ }
+
+ function Ae(e, t) {
+ var n = null == t.defaultValue ? "" : t.defaultValue,
+ a = null != t.checked ? t.checked : t.defaultChecked;
+ n = _e(null != t.value ? t.value : n), e._wrapperState = {
+ initialChecked: a,
+ initialValue: n,
+ controlled: "checkbox" === t.type || "radio" === t.type ? null != t.checked : null != t.value
}
+ }
+
+ function Te(e, t) {
+ null != (t = t.checked) && we(e, "checked", t, !1)
+ }
+
+ function De(e, t) {
+ Te(e, t);
+ var n = _e(t.value),
+ a = t.type;
+ if (null != n) "number" === a ? (0 === n && "" === e.value || e.value != n) && (e.value = "" + n) : e.value !== "" + n && (e.value = "" + n);
+ else if ("submit" === a || "reset" === a) return void e.removeAttribute("value");
+ t.hasOwnProperty("value") ? je(e, t.type, n) : t.hasOwnProperty("defaultValue") && je(e, t.type, _e(t.defaultValue)), null == t.checked && null != t.defaultChecked && (e.defaultChecked = !!t.defaultChecked)
+ }
- function ze(e, t) {
- var n = _e(t.value),
- a = _e(t.defaultValue);
- null != n && ((n = "" + n) !== e.value && (e.value = n), null == t.defaultValue && e.defaultValue !== n && (e.defaultValue = n)), null != a && (e.defaultValue = "" + a)
+ function Pe(e, t, n) {
+ if (t.hasOwnProperty("value") || t.hasOwnProperty("defaultValue")) {
+ var a = t.type;
+ if (!("submit" !== a && "reset" !== a || void 0 !== t.value && null !== t.value)) return;
+ t = "" + e._wrapperState.initialValue, n || t === e.value || (e.value = t), e.defaultValue = t
}
+ "" !== (n = e.name) && (e.name = ""), e.defaultChecked = !e.defaultChecked, e.defaultChecked = !!e._wrapperState.initialChecked, "" !== n && (e.name = n)
+ }
- function Re(e) {
- var t = e.textContent;
- t === e._wrapperState.initialValue && "" !== t && null !== t && (e.value = t)
- }
- "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e) {
- var t = e.replace(ve, ke);
- ye[t] = new be(t, 1, !1, e, null, !1)
- })), "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e) {
- var t = e.replace(ve, ke);
- ye[t] = new be(t, 1, !1, e, "http://www.w3.org/1999/xlink", !1)
- })), ["xml:base", "xml:lang", "xml:space"].forEach((function(e) {
- var t = e.replace(ve, ke);
- ye[t] = new be(t, 1, !1, e, "http://www.w3.org/XML/1998/namespace", !1)
- })), ["tabIndex", "crossOrigin"].forEach((function(e) {
- ye[e] = new be(e, 1, !1, e.toLowerCase(), null, !1)
- })), ye.xlinkHref = new be("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0), ["src", "href", "action", "formAction"].forEach((function(e) {
- ye[e] = new be(e, 1, !1, e.toLowerCase(), null, !0)
- }));
- var Le = "http://www.w3.org/1999/xhtml";
+ function je(e, t, n) {
+ "number" === t && e.ownerDocument.activeElement === e || (null == n ? e.defaultValue = "" + e._wrapperState.initialValue : e.defaultValue !== "" + n && (e.defaultValue = "" + n))
+ }
- function Fe(e) {
- switch (e) {
- case "svg":
- return "http://www.w3.org/2000/svg";
- case "math":
- return "http://www.w3.org/1998/Math/MathML";
- default:
- return "http://www.w3.org/1999/xhtml"
+ function Me(e, t) {
+ return e = r({
+ children: void 0
+ }, t), (t = function(e) {
+ var t = "";
+ return a.Children.forEach(e, (function(e) {
+ null != e && (t += e)
+ })), t
+ }(t.children)) && (e.children = t), e
+ }
+
+ function Ie(e, t, n, a) {
+ if (e = e.options, t) {
+ t = {};
+ for (var r = 0; r < n.length; r++) t["$" + n[r]] = !0;
+ for (n = 0; n < e.length; n++) r = t.hasOwnProperty("$" + e[n].value), e[n].selected !== r && (e[n].selected = r), r && a && (e[n].defaultSelected = !0)
+ } else {
+ for (n = "" + _e(n), t = null, r = 0; r < e.length; r++) {
+ if (e[r].value === n) return e[r].selected = !0, void(a && (e[r].defaultSelected = !0));
+ null !== t || e[r].disabled || (t = e[r])
}
+ null !== t && (t.selected = !0)
}
+ }
- function qe(e, t) {
- return null == e || "http://www.w3.org/1999/xhtml" === e ? Fe(t) : "http://www.w3.org/2000/svg" === e && "foreignObject" === t ? "http://www.w3.org/1999/xhtml" : e
- }
- var Be, Ue, He = (Ue = function(e, t) {
- if ("http://www.w3.org/2000/svg" !== e.namespaceURI || "innerHTML" in e) e.innerHTML = t;
- else {
- for ((Be = Be || document.createElement("div")).innerHTML = "
", t = Be.firstChild; e.firstChild;) e.removeChild(e.firstChild);
- for (; t.firstChild;) e.appendChild(t.firstChild)
- }
- }, "undefined" != typeof MSApp && MSApp.execUnsafeLocalFunction ? function(e, t, n, a) {
- MSApp.execUnsafeLocalFunction((function() {
- return Ue(e, t)
- }))
- } : Ue);
+ function Oe(e, t) {
+ if (null != t.dangerouslySetInnerHTML) throw Error(o(91));
+ return r({}, t, {
+ value: void 0,
+ defaultValue: void 0,
+ children: "" + e._wrapperState.initialValue
+ })
+ }
- function Ve(e, t) {
- if (t) {
- var n = e.firstChild;
- if (n && n === e.lastChild && 3 === n.nodeType) return void(n.nodeValue = t)
+ function Ne(e, t) {
+ var n = t.value;
+ if (null == n) {
+ if (n = t.defaultValue, null != (t = t.children)) {
+ if (null != n) throw Error(o(92));
+ if (Array.isArray(t)) {
+ if (!(1 >= t.length)) throw Error(o(93));
+ t = t[0]
+ }
+ n = t
}
- e.textContent = t
+ null == n && (n = "")
+ }
+ e._wrapperState = {
+ initialValue: _e(n)
}
+ }
- function We(e, t) {
- var n = {};
- return n[e.toLowerCase()] = t.toLowerCase(), n["Webkit" + e] = "webkit" + t, n["Moz" + e] = "moz" + t, n
- }
- var Ye = {
- animationend: We("Animation", "AnimationEnd"),
- animationiteration: We("Animation", "AnimationIteration"),
- animationstart: We("Animation", "AnimationStart"),
- transitionend: We("Transition", "TransitionEnd")
- },
- Ge = {},
- Ke = {};
-
- function $e(e) {
- if (Ge[e]) return Ge[e];
- if (!Ye[e]) return e;
- var t, n = Ye[e];
- for (t in n)
- if (n.hasOwnProperty(t) && t in Ke) return Ge[e] = n[t];
- return e
+ function Re(e, t) {
+ var n = _e(t.value),
+ a = _e(t.defaultValue);
+ null != n && ((n = "" + n) !== e.value && (e.value = n), null == t.defaultValue && e.defaultValue !== n && (e.defaultValue = n)), null != a && (e.defaultValue = "" + a)
+ }
+
+ function ze(e) {
+ var t = e.textContent;
+ t === e._wrapperState.initialValue && "" !== t && null !== t && (e.value = t)
+ }
+ "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e) {
+ var t = e.replace(ve, ke);
+ ye[t] = new be(t, 1, !1, e, null, !1)
+ })), "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e) {
+ var t = e.replace(ve, ke);
+ ye[t] = new be(t, 1, !1, e, "http://www.w3.org/1999/xlink", !1)
+ })), ["xml:base", "xml:lang", "xml:space"].forEach((function(e) {
+ var t = e.replace(ve, ke);
+ ye[t] = new be(t, 1, !1, e, "http://www.w3.org/XML/1998/namespace", !1)
+ })), ["tabIndex", "crossOrigin"].forEach((function(e) {
+ ye[e] = new be(e, 1, !1, e.toLowerCase(), null, !1)
+ })), ye.xlinkHref = new be("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0), ["src", "href", "action", "formAction"].forEach((function(e) {
+ ye[e] = new be(e, 1, !1, e.toLowerCase(), null, !0)
+ }));
+ var Le = "http://www.w3.org/1999/xhtml";
+
+ function Fe(e) {
+ switch (e) {
+ case "svg":
+ return "http://www.w3.org/2000/svg";
+ case "math":
+ return "http://www.w3.org/1998/Math/MathML";
+ default:
+ return "http://www.w3.org/1999/xhtml"
}
- X && (Ke = document.createElement("div").style, "AnimationEvent" in window || (delete Ye.animationend.animation, delete Ye.animationiteration.animation, delete Ye.animationstart.animation), "TransitionEvent" in window || delete Ye.transitionend.transition);
- var Je = $e("animationend"),
- Ze = $e("animationiteration"),
- Qe = $e("animationstart"),
- Xe = $e("transitionend"),
- et = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" ");
-
- function tt(e) {
- var t = e,
- n = e;
- if (e.alternate)
- for (; t.return;) t = t.return;
- else {
- e = t;
- do {
- 0 != (1026 & (t = e).effectTag) && (n = t.return), e = t.return
- } while (e)
- }
- return 3 === t.tag ? n : null
+ }
+
+ function qe(e, t) {
+ return null == e || "http://www.w3.org/1999/xhtml" === e ? Fe(t) : "http://www.w3.org/2000/svg" === e && "foreignObject" === t ? "http://www.w3.org/1999/xhtml" : e
+ }
+ var Be, Ue, He = (Ue = function(e, t) {
+ if ("http://www.w3.org/2000/svg" !== e.namespaceURI || "innerHTML" in e) e.innerHTML = t;
+ else {
+ for ((Be = Be || document.createElement("div")).innerHTML = "
", t = Be.firstChild; e.firstChild;) e.removeChild(e.firstChild);
+ for (; t.firstChild;) e.appendChild(t.firstChild)
+ }
+ }, "undefined" != typeof MSApp && MSApp.execUnsafeLocalFunction ? function(e, t, n, a) {
+ MSApp.execUnsafeLocalFunction((function() {
+ return Ue(e, t)
+ }))
+ } : Ue);
+
+ function Ve(e, t) {
+ if (t) {
+ var n = e.firstChild;
+ if (n && n === e.lastChild && 3 === n.nodeType) return void(n.nodeValue = t)
}
+ e.textContent = t
+ }
- function nt(e) {
- if (13 === e.tag) {
- var t = e.memoizedState;
- if (null === t && null !== (e = e.alternate) && (t = e.memoizedState), null !== t) return t.dehydrated
- }
- return null
+ function We(e, t) {
+ var n = {};
+ return n[e.toLowerCase()] = t.toLowerCase(), n["Webkit" + e] = "webkit" + t, n["Moz" + e] = "moz" + t, n
+ }
+ var Ye = {
+ animationend: We("Animation", "AnimationEnd"),
+ animationiteration: We("Animation", "AnimationIteration"),
+ animationstart: We("Animation", "AnimationStart"),
+ transitionend: We("Transition", "TransitionEnd")
+ },
+ Ge = {},
+ Ke = {};
+
+ function $e(e) {
+ if (Ge[e]) return Ge[e];
+ if (!Ye[e]) return e;
+ var t, n = Ye[e];
+ for (t in n)
+ if (n.hasOwnProperty(t) && t in Ke) return Ge[e] = n[t];
+ return e
+ }
+ X && (Ke = document.createElement("div").style, "AnimationEvent" in window || (delete Ye.animationend.animation, delete Ye.animationiteration.animation, delete Ye.animationstart.animation), "TransitionEvent" in window || delete Ye.transitionend.transition);
+ var Je = $e("animationend"),
+ Ze = $e("animationiteration"),
+ Qe = $e("animationstart"),
+ Xe = $e("transitionend"),
+ et = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" ");
+
+ function tt(e) {
+ var t = e,
+ n = e;
+ if (e.alternate)
+ for (; t.return;) t = t.return;
+ else {
+ e = t;
+ do {
+ 0 != (1026 & (t = e).effectTag) && (n = t.return), e = t.return
+ } while (e)
}
+ return 3 === t.tag ? n : null
+ }
- function at(e) {
- if (tt(e) !== e) throw Error(o(188))
- }
-
- function rt(e) {
- if (e = function(e) {
- var t = e.alternate;
- if (!t) {
- if (null === (t = tt(e))) throw Error(o(188));
- return t !== e ? null : e
- }
- for (var n = e, a = t;;) {
- var r = n.return;
- if (null === r) break;
- var i = r.alternate;
- if (null === i) {
- if (null !== (a = r.return)) {
- n = a;
- continue
- }
- break
+ function nt(e) {
+ if (13 === e.tag) {
+ var t = e.memoizedState;
+ if (null === t && null !== (e = e.alternate) && (t = e.memoizedState), null !== t) return t.dehydrated
+ }
+ return null
+ }
+
+ function at(e) {
+ if (tt(e) !== e) throw Error(o(188))
+ }
+
+ function rt(e) {
+ if (e = function(e) {
+ var t = e.alternate;
+ if (!t) {
+ if (null === (t = tt(e))) throw Error(o(188));
+ return t !== e ? null : e
+ }
+ for (var n = e, a = t;;) {
+ var r = n.return;
+ if (null === r) break;
+ var i = r.alternate;
+ if (null === i) {
+ if (null !== (a = r.return)) {
+ n = a;
+ continue
}
- if (r.child === i.child) {
- for (i = r.child; i;) {
- if (i === n) return at(r), e;
- if (i === a) return at(r), t;
- i = i.sibling
+ break
+ }
+ if (r.child === i.child) {
+ for (i = r.child; i;) {
+ if (i === n) return at(r), e;
+ if (i === a) return at(r), t;
+ i = i.sibling
+ }
+ throw Error(o(188))
+ }
+ if (n.return !== a.return) n = r, a = i;
+ else {
+ for (var s = !1, l = r.child; l;) {
+ if (l === n) {
+ s = !0, n = r, a = i;
+ break
+ }
+ if (l === a) {
+ s = !0, a = r, n = i;
+ break
}
- throw Error(o(188))
+ l = l.sibling
}
- if (n.return !== a.return) n = r, a = i;
- else {
- for (var s = !1, l = r.child; l;) {
+ if (!s) {
+ for (l = i.child; l;) {
if (l === n) {
- s = !0, n = r, a = i;
+ s = !0, n = i, a = r;
break
}
if (l === a) {
- s = !0, a = r, n = i;
+ s = !0, a = i, n = r;
break
}
l = l.sibling
}
- if (!s) {
- for (l = i.child; l;) {
- if (l === n) {
- s = !0, n = i, a = r;
- break
- }
- if (l === a) {
- s = !0, a = i, n = r;
- break
- }
- l = l.sibling
- }
- if (!s) throw Error(o(189))
- }
+ if (!s) throw Error(o(189))
}
- if (n.alternate !== a) throw Error(o(190))
- }
- if (3 !== n.tag) throw Error(o(188));
- return n.stateNode.current === n ? e : t
- }(e), !e) return null;
- for (var t = e;;) {
- if (5 === t.tag || 6 === t.tag) return t;
- if (t.child) t.child.return = t, t = t.child;
- else {
- if (t === e) break;
- for (; !t.sibling;) {
- if (!t.return || t.return === e) return null;
- t = t.return
}
- t.sibling.return = t.return, t = t.sibling
+ if (n.alternate !== a) throw Error(o(190))
+ }
+ if (3 !== n.tag) throw Error(o(188));
+ return n.stateNode.current === n ? e : t
+ }(e), !e) return null;
+ for (var t = e;;) {
+ if (5 === t.tag || 6 === t.tag) return t;
+ if (t.child) t.child.return = t, t = t.child;
+ else {
+ if (t === e) break;
+ for (; !t.sibling;) {
+ if (!t.return || t.return === e) return null;
+ t = t.return
}
+ t.sibling.return = t.return, t = t.sibling
}
- return null
}
- var it, ot, st, lt = !1,
- ct = [],
- ut = null,
- dt = null,
- pt = null,
- ht = new Map,
- mt = new Map,
- ft = [],
- gt = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),
- bt = "focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");
-
- function yt(e, t, n, a) {
- return {
- blockedOn: e,
- topLevelType: t,
- eventSystemFlags: 32 | n,
- nativeEvent: a
- }
+ return null
+ }
+ var it, ot, st, lt = !1,
+ ct = [],
+ ut = null,
+ dt = null,
+ pt = null,
+ ht = new Map,
+ mt = new Map,
+ ft = [],
+ gt = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),
+ bt = "focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");
+
+ function yt(e, t, n, a) {
+ return {
+ blockedOn: e,
+ topLevelType: t,
+ eventSystemFlags: 32 | n,
+ nativeEvent: a
}
+ }
- function vt(e, t) {
- switch (e) {
- case "focus":
- case "blur":
- ut = null;
- break;
- case "dragenter":
- case "dragleave":
- dt = null;
- break;
- case "mouseover":
- case "mouseout":
- pt = null;
- break;
- case "pointerover":
- case "pointerout":
- ht.delete(t.pointerId);
- break;
- case "gotpointercapture":
- case "lostpointercapture":
- mt.delete(t.pointerId)
- }
+ function vt(e, t) {
+ switch (e) {
+ case "focus":
+ case "blur":
+ ut = null;
+ break;
+ case "dragenter":
+ case "dragleave":
+ dt = null;
+ break;
+ case "mouseover":
+ case "mouseout":
+ pt = null;
+ break;
+ case "pointerover":
+ case "pointerout":
+ ht.delete(t.pointerId);
+ break;
+ case "gotpointercapture":
+ case "lostpointercapture":
+ mt.delete(t.pointerId)
}
+ }
- function kt(e, t, n, a, r) {
- return null === e || e.nativeEvent !== r ? (e = yt(t, n, a, r), null !== t && null !== (t = pa(t)) && ot(t), e) : (e.eventSystemFlags |= a, e)
- }
+ function kt(e, t, n, a, r) {
+ return null === e || e.nativeEvent !== r ? (e = yt(t, n, a, r), null !== t && null !== (t = pa(t)) && ot(t), e) : (e.eventSystemFlags |= a, e)
+ }
- function _t(e) {
- var t = da(e.target);
- if (null !== t) {
- var n = tt(t);
- if (null !== n)
- if (13 === (t = n.tag)) {
- if (null !== (t = nt(n))) return e.blockedOn = t, void i.unstable_runWithPriority(e.priority, (function() {
- st(n)
- }))
- } else if (3 === t && n.stateNode.hydrate) return void(e.blockedOn = 3 === n.tag ? n.stateNode.containerInfo : null)
- }
- e.blockedOn = null
+ function _t(e) {
+ var t = da(e.target);
+ if (null !== t) {
+ var n = tt(t);
+ if (null !== n)
+ if (13 === (t = n.tag)) {
+ if (null !== (t = nt(n))) return e.blockedOn = t, void i.unstable_runWithPriority(e.priority, (function() {
+ st(n)
+ }))
+ } else if (3 === t && n.stateNode.hydrate) return void(e.blockedOn = 3 === n.tag ? n.stateNode.containerInfo : null)
}
+ e.blockedOn = null
+ }
- function wt(e) {
- if (null !== e.blockedOn) return !1;
- var t = Tn(e.topLevelType, e.eventSystemFlags, e.nativeEvent);
- if (null !== t) {
- var n = pa(t);
- return null !== n && ot(n), e.blockedOn = t, !1
- }
- return !0
+ function wt(e) {
+ if (null !== e.blockedOn) return !1;
+ var t = jn(e.topLevelType, e.eventSystemFlags, e.nativeEvent);
+ if (null !== t) {
+ var n = pa(t);
+ return null !== n && ot(n), e.blockedOn = t, !1
}
+ return !0
+ }
- function St(e, t, n) {
- wt(e) && n.delete(t)
- }
+ function St(e, t, n) {
+ wt(e) && n.delete(t)
+ }
- function Et() {
- for (lt = !1; 0 < ct.length;) {
- var e = ct[0];
- if (null !== e.blockedOn) {
- null !== (e = pa(e.blockedOn)) && it(e);
- break
- }
- var t = Tn(e.topLevelType, e.eventSystemFlags, e.nativeEvent);
- null !== t ? e.blockedOn = t : ct.shift()
+ function Et() {
+ for (lt = !1; 0 < ct.length;) {
+ var e = ct[0];
+ if (null !== e.blockedOn) {
+ null !== (e = pa(e.blockedOn)) && it(e);
+ break
}
- null !== ut && wt(ut) && (ut = null), null !== dt && wt(dt) && (dt = null), null !== pt && wt(pt) && (pt = null), ht.forEach(St), mt.forEach(St)
+ var t = jn(e.topLevelType, e.eventSystemFlags, e.nativeEvent);
+ null !== t ? e.blockedOn = t : ct.shift()
}
+ null !== ut && wt(ut) && (ut = null), null !== dt && wt(dt) && (dt = null), null !== pt && wt(pt) && (pt = null), ht.forEach(St), mt.forEach(St)
+ }
- function xt(e, t) {
- e.blockedOn === t && (e.blockedOn = null, lt || (lt = !0, i.unstable_scheduleCallback(i.unstable_NormalPriority, Et)))
- }
+ function xt(e, t) {
+ e.blockedOn === t && (e.blockedOn = null, lt || (lt = !0, i.unstable_scheduleCallback(i.unstable_NormalPriority, Et)))
+ }
- function Ct(e) {
- function t(t) {
- return xt(t, e)
- }
- if (0 < ct.length) {
- xt(ct[0], e);
- for (var n = 1; n < ct.length; n++) {
- var a = ct[n];
- a.blockedOn === e && (a.blockedOn = null)
- }
- }
- for (null !== ut && xt(ut, e), null !== dt && xt(dt, e), null !== pt && xt(pt, e), ht.forEach(t), mt.forEach(t), n = 0; n < ft.length; n++)(a = ft[n]).blockedOn === e && (a.blockedOn = null);
- for (; 0 < ft.length && null === (n = ft[0]).blockedOn;) _t(n), null === n.blockedOn && ft.shift()
+ function Ct(e) {
+ function t(t) {
+ return xt(t, e)
}
-
- function At(e) {
- return (e = e.target || e.srcElement || window).correspondingUseElement && (e = e.correspondingUseElement), 3 === e.nodeType ? e.parentNode : e
+ if (0 < ct.length) {
+ xt(ct[0], e);
+ for (var n = 1; n < ct.length; n++) {
+ var a = ct[n];
+ a.blockedOn === e && (a.blockedOn = null)
+ }
}
+ for (null !== ut && xt(ut, e), null !== dt && xt(dt, e), null !== pt && xt(pt, e), ht.forEach(t), mt.forEach(t), n = 0; n < ft.length; n++)(a = ft[n]).blockedOn === e && (a.blockedOn = null);
+ for (; 0 < ft.length && null === (n = ft[0]).blockedOn;) _t(n), null === n.blockedOn && ft.shift()
+ }
- function jt(e) {
- do {
- e = e.return
- } while (e && 5 !== e.tag);
- return e || null
- }
+ function At(e) {
+ return (e = e.target || e.srcElement || window).correspondingUseElement && (e = e.correspondingUseElement), 3 === e.nodeType ? e.parentNode : e
+ }
- function Pt(e, t, n) {
- (t = O(e, n.dispatchConfig.phasedRegistrationNames[t])) && (n._dispatchListeners = C(n._dispatchListeners, t), n._dispatchInstances = C(n._dispatchInstances, e))
- }
+ function Tt(e) {
+ do {
+ e = e.return
+ } while (e && 5 !== e.tag);
+ return e || null
+ }
- function Dt(e) {
- if (e && e.dispatchConfig.phasedRegistrationNames) {
- for (var t = e._targetInst, n = []; t;) n.push(t), t = jt(t);
- for (t = n.length; 0 < t--;) Pt(n[t], "captured", e);
- for (t = 0; t < n.length; t++) Pt(n[t], "bubbled", e)
- }
- }
+ function Dt(e, t, n) {
+ (t = M(e, n.dispatchConfig.phasedRegistrationNames[t])) && (n._dispatchListeners = C(n._dispatchListeners, t), n._dispatchInstances = C(n._dispatchInstances, e))
+ }
- function Tt(e, t, n) {
- e && n && n.dispatchConfig.registrationName && (t = O(e, n.dispatchConfig.registrationName)) && (n._dispatchListeners = C(n._dispatchListeners, t), n._dispatchInstances = C(n._dispatchInstances, e))
+ function Pt(e) {
+ if (e && e.dispatchConfig.phasedRegistrationNames) {
+ for (var t = e._targetInst, n = []; t;) n.push(t), t = Tt(t);
+ for (t = n.length; 0 < t--;) Dt(n[t], "captured", e);
+ for (t = 0; t < n.length; t++) Dt(n[t], "bubbled", e)
}
+ }
- function Ot(e) {
- e && e.dispatchConfig.registrationName && Tt(e._targetInst, null, e)
- }
+ function jt(e, t, n) {
+ e && n && n.dispatchConfig.registrationName && (t = M(e, n.dispatchConfig.registrationName)) && (n._dispatchListeners = C(n._dispatchListeners, t), n._dispatchInstances = C(n._dispatchInstances, e))
+ }
- function Mt(e) {
- A(e, Dt)
- }
+ function Mt(e) {
+ e && e.dispatchConfig.registrationName && jt(e._targetInst, null, e)
+ }
- function It() {
- return !0
- }
+ function It(e) {
+ A(e, Pt)
+ }
- function Nt() {
- return !1
- }
+ function Ot() {
+ return !0
+ }
- function zt(e, t, n, a) {
- for (var r in this.dispatchConfig = e, this._targetInst = t, this.nativeEvent = n, e = this.constructor.Interface) e.hasOwnProperty(r) && ((t = e[r]) ? this[r] = t(n) : "target" === r ? this.target = a : this[r] = n[r]);
- return this.isDefaultPrevented = (null != n.defaultPrevented ? n.defaultPrevented : !1 === n.returnValue) ? It : Nt, this.isPropagationStopped = Nt, this
- }
+ function Nt() {
+ return !1
+ }
- function Rt(e, t, n, a) {
- if (this.eventPool.length) {
- var r = this.eventPool.pop();
- return this.call(r, e, t, n, a), r
- }
- return new this(e, t, n, a)
- }
+ function Rt(e, t, n, a) {
+ for (var r in this.dispatchConfig = e, this._targetInst = t, this.nativeEvent = n, e = this.constructor.Interface) e.hasOwnProperty(r) && ((t = e[r]) ? this[r] = t(n) : "target" === r ? this.target = a : this[r] = n[r]);
+ return this.isDefaultPrevented = (null != n.defaultPrevented ? n.defaultPrevented : !1 === n.returnValue) ? Ot : Nt, this.isPropagationStopped = Nt, this
+ }
- function Lt(e) {
- if (!(e instanceof this)) throw Error(o(279));
- e.destructor(), 10 > this.eventPool.length && this.eventPool.push(e)
+ function zt(e, t, n, a) {
+ if (this.eventPool.length) {
+ var r = this.eventPool.pop();
+ return this.call(r, e, t, n, a), r
}
+ return new this(e, t, n, a)
+ }
- function Ft(e) {
- e.eventPool = [], e.getPooled = Rt, e.release = Lt
- }
- r(zt.prototype, {
- preventDefault: function() {
- this.defaultPrevented = !0;
- var e = this.nativeEvent;
- e && (e.preventDefault ? e.preventDefault() : "unknown" != typeof e.returnValue && (e.returnValue = !1), this.isDefaultPrevented = It)
- },
- stopPropagation: function() {
- var e = this.nativeEvent;
- e && (e.stopPropagation ? e.stopPropagation() : "unknown" != typeof e.cancelBubble && (e.cancelBubble = !0), this.isPropagationStopped = It)
- },
- persist: function() {
- this.isPersistent = It
- },
- isPersistent: Nt,
- destructor: function() {
- var e, t = this.constructor.Interface;
- for (e in t) this[e] = null;
- this.nativeEvent = this._targetInst = this.dispatchConfig = null, this.isPropagationStopped = this.isDefaultPrevented = Nt, this._dispatchInstances = this._dispatchListeners = null
- }
- }), zt.Interface = {
- type: null,
- target: null,
- currentTarget: function() {
- return null
- },
- eventPhase: null,
- bubbles: null,
- cancelable: null,
- timeStamp: function(e) {
- return e.timeStamp || Date.now()
- },
- defaultPrevented: null,
- isTrusted: null
- }, zt.extend = function(e) {
- function t() {}
+ function Lt(e) {
+ if (!(e instanceof this)) throw Error(o(279));
+ e.destructor(), 10 > this.eventPool.length && this.eventPool.push(e)
+ }
- function n() {
- return a.apply(this, arguments)
- }
- var a = this;
- t.prototype = a.prototype;
- var i = new t;
- return r(i, n.prototype), n.prototype = i, n.prototype.constructor = n, n.Interface = r({}, a.Interface, e), n.extend = a.extend, Ft(n), n
- }, Ft(zt);
- var qt = zt.extend({
- animationName: null,
- elapsedTime: null,
- pseudoElement: null
- }),
- Bt = zt.extend({
- clipboardData: function(e) {
- return "clipboardData" in e ? e.clipboardData : window.clipboardData
- }
- }),
- Ut = zt.extend({
- view: null,
- detail: null
- }),
- Ht = Ut.extend({
- relatedTarget: null
- });
+ function Ft(e) {
+ e.eventPool = [], e.getPooled = zt, e.release = Lt
+ }
+ r(Rt.prototype, {
+ preventDefault: function() {
+ this.defaultPrevented = !0;
+ var e = this.nativeEvent;
+ e && (e.preventDefault ? e.preventDefault() : "unknown" != typeof e.returnValue && (e.returnValue = !1), this.isDefaultPrevented = Ot)
+ },
+ stopPropagation: function() {
+ var e = this.nativeEvent;
+ e && (e.stopPropagation ? e.stopPropagation() : "unknown" != typeof e.cancelBubble && (e.cancelBubble = !0), this.isPropagationStopped = Ot)
+ },
+ persist: function() {
+ this.isPersistent = Ot
+ },
+ isPersistent: Nt,
+ destructor: function() {
+ var e, t = this.constructor.Interface;
+ for (e in t) this[e] = null;
+ this.nativeEvent = this._targetInst = this.dispatchConfig = null, this.isPropagationStopped = this.isDefaultPrevented = Nt, this._dispatchInstances = this._dispatchListeners = null
+ }
+ }), Rt.Interface = {
+ type: null,
+ target: null,
+ currentTarget: function() {
+ return null
+ },
+ eventPhase: null,
+ bubbles: null,
+ cancelable: null,
+ timeStamp: function(e) {
+ return e.timeStamp || Date.now()
+ },
+ defaultPrevented: null,
+ isTrusted: null
+ }, Rt.extend = function(e) {
+ function t() {}
+
+ function n() {
+ return a.apply(this, arguments)
+ }
+ var a = this;
+ t.prototype = a.prototype;
+ var i = new t;
+ return r(i, n.prototype), n.prototype = i, n.prototype.constructor = n, n.Interface = r({}, a.Interface, e), n.extend = a.extend, Ft(n), n
+ }, Ft(Rt);
+ var qt = Rt.extend({
+ animationName: null,
+ elapsedTime: null,
+ pseudoElement: null
+ }),
+ Bt = Rt.extend({
+ clipboardData: function(e) {
+ return "clipboardData" in e ? e.clipboardData : window.clipboardData
+ }
+ }),
+ Ut = Rt.extend({
+ view: null,
+ detail: null
+ }),
+ Ht = Ut.extend({
+ relatedTarget: null
+ });
- function Vt(e) {
- var t = e.keyCode;
- return "charCode" in e ? 0 === (e = e.charCode) && 13 === t && (e = 13) : e = t, 10 === e && (e = 13), 32 <= e || 13 === e ? e : 0
- }
- var Wt = {
- Esc: "Escape",
- Spacebar: " ",
- Left: "ArrowLeft",
- Up: "ArrowUp",
- Right: "ArrowRight",
- Down: "ArrowDown",
- Del: "Delete",
- Win: "OS",
- Menu: "ContextMenu",
- Apps: "ContextMenu",
- Scroll: "ScrollLock",
- MozPrintableKey: "Unidentified"
- },
- Yt = {
- 8: "Backspace",
- 9: "Tab",
- 12: "Clear",
- 13: "Enter",
- 16: "Shift",
- 17: "Control",
- 18: "Alt",
- 19: "Pause",
- 20: "CapsLock",
- 27: "Escape",
- 32: " ",
- 33: "PageUp",
- 34: "PageDown",
- 35: "End",
- 36: "Home",
- 37: "ArrowLeft",
- 38: "ArrowUp",
- 39: "ArrowRight",
- 40: "ArrowDown",
- 45: "Insert",
- 46: "Delete",
- 112: "F1",
- 113: "F2",
- 114: "F3",
- 115: "F4",
- 116: "F5",
- 117: "F6",
- 118: "F7",
- 119: "F8",
- 120: "F9",
- 121: "F10",
- 122: "F11",
- 123: "F12",
- 144: "NumLock",
- 145: "ScrollLock",
- 224: "Meta"
- },
- Gt = {
- Alt: "altKey",
- Control: "ctrlKey",
- Meta: "metaKey",
- Shift: "shiftKey"
- };
+ function Vt(e) {
+ var t = e.keyCode;
+ return "charCode" in e ? 0 === (e = e.charCode) && 13 === t && (e = 13) : e = t, 10 === e && (e = 13), 32 <= e || 13 === e ? e : 0
+ }
+ var Wt = {
+ Esc: "Escape",
+ Spacebar: " ",
+ Left: "ArrowLeft",
+ Up: "ArrowUp",
+ Right: "ArrowRight",
+ Down: "ArrowDown",
+ Del: "Delete",
+ Win: "OS",
+ Menu: "ContextMenu",
+ Apps: "ContextMenu",
+ Scroll: "ScrollLock",
+ MozPrintableKey: "Unidentified"
+ },
+ Yt = {
+ 8: "Backspace",
+ 9: "Tab",
+ 12: "Clear",
+ 13: "Enter",
+ 16: "Shift",
+ 17: "Control",
+ 18: "Alt",
+ 19: "Pause",
+ 20: "CapsLock",
+ 27: "Escape",
+ 32: " ",
+ 33: "PageUp",
+ 34: "PageDown",
+ 35: "End",
+ 36: "Home",
+ 37: "ArrowLeft",
+ 38: "ArrowUp",
+ 39: "ArrowRight",
+ 40: "ArrowDown",
+ 45: "Insert",
+ 46: "Delete",
+ 112: "F1",
+ 113: "F2",
+ 114: "F3",
+ 115: "F4",
+ 116: "F5",
+ 117: "F6",
+ 118: "F7",
+ 119: "F8",
+ 120: "F9",
+ 121: "F10",
+ 122: "F11",
+ 123: "F12",
+ 144: "NumLock",
+ 145: "ScrollLock",
+ 224: "Meta"
+ },
+ Gt = {
+ Alt: "altKey",
+ Control: "ctrlKey",
+ Meta: "metaKey",
+ Shift: "shiftKey"
+ };
- function Kt(e) {
- var t = this.nativeEvent;
- return t.getModifierState ? t.getModifierState(e) : !!(e = Gt[e]) && !!t[e]
- }
+ function Kt(e) {
+ var t = this.nativeEvent;
+ return t.getModifierState ? t.getModifierState(e) : !!(e = Gt[e]) && !!t[e]
+ }
- function $t() {
- return Kt
- }
- for (var Jt = Ut.extend({
- key: function(e) {
- if (e.key) {
- var t = Wt[e.key] || e.key;
- if ("Unidentified" !== t) return t
- }
- return "keypress" === e.type ? 13 === (e = Vt(e)) ? "Enter" : String.fromCharCode(e) : "keydown" === e.type || "keyup" === e.type ? Yt[e.keyCode] || "Unidentified" : ""
- },
- location: null,
- ctrlKey: null,
- shiftKey: null,
- altKey: null,
- metaKey: null,
- repeat: null,
- locale: null,
- getModifierState: $t,
- charCode: function(e) {
- return "keypress" === e.type ? Vt(e) : 0
- },
- keyCode: function(e) {
- return "keydown" === e.type || "keyup" === e.type ? e.keyCode : 0
- },
- which: function(e) {
- return "keypress" === e.type ? Vt(e) : "keydown" === e.type || "keyup" === e.type ? e.keyCode : 0
- }
- }), Zt = 0, Qt = 0, Xt = !1, en = !1, tn = Ut.extend({
- screenX: null,
- screenY: null,
- clientX: null,
- clientY: null,
- pageX: null,
- pageY: null,
- ctrlKey: null,
- shiftKey: null,
- altKey: null,
- metaKey: null,
- getModifierState: $t,
- button: null,
- buttons: null,
- relatedTarget: function(e) {
- return e.relatedTarget || (e.fromElement === e.srcElement ? e.toElement : e.fromElement)
- },
- movementX: function(e) {
- if ("movementX" in e) return e.movementX;
- var t = Zt;
- return Zt = e.screenX, Xt ? "mousemove" === e.type ? e.screenX - t : 0 : (Xt = !0, 0)
- },
- movementY: function(e) {
- if ("movementY" in e) return e.movementY;
- var t = Qt;
- return Qt = e.screenY, en ? "mousemove" === e.type ? e.screenY - t : 0 : (en = !0, 0)
- }
- }), nn = tn.extend({
- pointerId: null,
- width: null,
- height: null,
- pressure: null,
- tangentialPressure: null,
- tiltX: null,
- tiltY: null,
- twist: null,
- pointerType: null,
- isPrimary: null
- }), an = tn.extend({
- dataTransfer: null
- }), rn = Ut.extend({
- touches: null,
- targetTouches: null,
- changedTouches: null,
- altKey: null,
- metaKey: null,
- ctrlKey: null,
- shiftKey: null,
- getModifierState: $t
- }), on = zt.extend({
- propertyName: null,
- elapsedTime: null,
- pseudoElement: null
- }), sn = tn.extend({
- deltaX: function(e) {
- return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0
- },
- deltaY: function(e) {
- return "deltaY" in e ? e.deltaY : "wheelDeltaY" in e ? -e.wheelDeltaY : "wheelDelta" in e ? -e.wheelDelta : 0
- },
- deltaZ: null,
- deltaMode: null
- }), ln = [
- ["blur", "blur", 0],
- ["cancel", "cancel", 0],
- ["click", "click", 0],
- ["close", "close", 0],
- ["contextmenu", "contextMenu", 0],
- ["copy", "copy", 0],
- ["cut", "cut", 0],
- ["auxclick", "auxClick", 0],
- ["dblclick", "doubleClick", 0],
- ["dragend", "dragEnd", 0],
- ["dragstart", "dragStart", 0],
- ["drop", "drop", 0],
- ["focus", "focus", 0],
- ["input", "input", 0],
- ["invalid", "invalid", 0],
- ["keydown", "keyDown", 0],
- ["keypress", "keyPress", 0],
- ["keyup", "keyUp", 0],
- ["mousedown", "mouseDown", 0],
- ["mouseup", "mouseUp", 0],
- ["paste", "paste", 0],
- ["pause", "pause", 0],
- ["play", "play", 0],
- ["pointercancel", "pointerCancel", 0],
- ["pointerdown", "pointerDown", 0],
- ["pointerup", "pointerUp", 0],
- ["ratechange", "rateChange", 0],
- ["reset", "reset", 0],
- ["seeked", "seeked", 0],
- ["submit", "submit", 0],
- ["touchcancel", "touchCancel", 0],
- ["touchend", "touchEnd", 0],
- ["touchstart", "touchStart", 0],
- ["volumechange", "volumeChange", 0],
- ["drag", "drag", 1],
- ["dragenter", "dragEnter", 1],
- ["dragexit", "dragExit", 1],
- ["dragleave", "dragLeave", 1],
- ["dragover", "dragOver", 1],
- ["mousemove", "mouseMove", 1],
- ["mouseout", "mouseOut", 1],
- ["mouseover", "mouseOver", 1],
- ["pointermove", "pointerMove", 1],
- ["pointerout", "pointerOut", 1],
- ["pointerover", "pointerOver", 1],
- ["scroll", "scroll", 1],
- ["toggle", "toggle", 1],
- ["touchmove", "touchMove", 1],
- ["wheel", "wheel", 1],
- ["abort", "abort", 2],
- [Je, "animationEnd", 2],
- [Ze, "animationIteration", 2],
- [Qe, "animationStart", 2],
- ["canplay", "canPlay", 2],
- ["canplaythrough", "canPlayThrough", 2],
- ["durationchange", "durationChange", 2],
- ["emptied", "emptied", 2],
- ["encrypted", "encrypted", 2],
- ["ended", "ended", 2],
- ["error", "error", 2],
- ["gotpointercapture", "gotPointerCapture", 2],
- ["load", "load", 2],
- ["loadeddata", "loadedData", 2],
- ["loadedmetadata", "loadedMetadata", 2],
- ["loadstart", "loadStart", 2],
- ["lostpointercapture", "lostPointerCapture", 2],
- ["playing", "playing", 2],
- ["progress", "progress", 2],
- ["seeking", "seeking", 2],
- ["stalled", "stalled", 2],
- ["suspend", "suspend", 2],
- ["timeupdate", "timeUpdate", 2],
- [Xe, "transitionEnd", 2],
- ["waiting", "waiting", 2]
- ], cn = {}, un = {}, dn = 0; dn < ln.length; dn++) {
- var pn = ln[dn],
- hn = pn[0],
- mn = pn[1],
- fn = pn[2],
- gn = "on" + (mn[0].toUpperCase() + mn.slice(1)),
- bn = {
- phasedRegistrationNames: {
- bubbled: gn,
- captured: gn + "Capture"
- },
- dependencies: [hn],
- eventPriority: fn
- };
- cn[mn] = bn, un[hn] = bn
- }
- var yn = {
- eventTypes: cn,
- getEventPriority: function(e) {
- return void 0 !== (e = un[e]) ? e.eventPriority : 2
- },
- extractEvents: function(e, t, n, a) {
- var r = un[e];
- if (!r) return null;
- switch (e) {
- case "keypress":
- if (0 === Vt(n)) return null;
- case "keydown":
- case "keyup":
- e = Jt;
- break;
- case "blur":
- case "focus":
- e = Ht;
- break;
- case "click":
- if (2 === n.button) return null;
- case "auxclick":
- case "dblclick":
- case "mousedown":
- case "mousemove":
- case "mouseup":
- case "mouseout":
- case "mouseover":
- case "contextmenu":
- e = tn;
- break;
- case "drag":
- case "dragend":
- case "dragenter":
- case "dragexit":
- case "dragleave":
- case "dragover":
- case "dragstart":
- case "drop":
- e = an;
- break;
- case "touchcancel":
- case "touchend":
- case "touchmove":
- case "touchstart":
- e = rn;
- break;
- case Je:
- case Ze:
- case Qe:
- e = qt;
- break;
- case Xe:
- e = on;
- break;
- case "scroll":
- e = Ut;
- break;
- case "wheel":
- e = sn;
- break;
- case "copy":
- case "cut":
- case "paste":
- e = Bt;
- break;
- case "gotpointercapture":
- case "lostpointercapture":
- case "pointercancel":
- case "pointerdown":
- case "pointermove":
- case "pointerout":
- case "pointerover":
- case "pointerup":
- e = nn;
- break;
- default:
- e = zt
- }
- return Mt(t = e.getPooled(r, t, n, a)), t
+ function $t() {
+ return Kt
+ }
+ for (var Jt = Ut.extend({
+ key: function(e) {
+ if (e.key) {
+ var t = Wt[e.key] || e.key;
+ if ("Unidentified" !== t) return t
}
+ return "keypress" === e.type ? 13 === (e = Vt(e)) ? "Enter" : String.fromCharCode(e) : "keydown" === e.type || "keyup" === e.type ? Yt[e.keyCode] || "Unidentified" : ""
},
- vn = i.unstable_UserBlockingPriority,
- kn = i.unstable_runWithPriority,
- _n = yn.getEventPriority,
- wn = [];
-
- function Sn(e) {
- var t = e.targetInst,
- n = t;
- do {
- if (!n) {
- e.ancestors.push(n);
- break
- }
- var a = n;
- if (3 === a.tag) a = a.stateNode.containerInfo;
- else {
- for (; a.return;) a = a.return;
- a = 3 !== a.tag ? null : a.stateNode.containerInfo
- }
- if (!a) break;
- 5 !== (t = n.tag) && 6 !== t || e.ancestors.push(n), n = da(a)
- } while (n);
- for (n = 0; n < e.ancestors.length; n++) {
- t = e.ancestors[n];
- var r = At(e.nativeEvent);
- a = e.topLevelType;
- for (var i = e.nativeEvent, o = e.eventSystemFlags, s = null, l = 0; l < d.length; l++) {
- var c = d[l];
- c && (c = c.extractEvents(a, t, i, r, o)) && (s = C(s, c))
- }
- D(s)
- }
- }
- var En = !0;
-
- function xn(e, t) {
- Cn(t, e, !1)
- }
-
- function Cn(e, t, n) {
- switch (_n(t)) {
- case 0:
- var a = An.bind(null, t, 1);
- break;
- case 1:
- a = jn.bind(null, t, 1);
- break;
- default:
- a = Dn.bind(null, t, 1)
- }
- n ? e.addEventListener(t, a, !0) : e.addEventListener(t, a, !1)
- }
-
- function An(e, t, n) {
- ue || le();
- var a = Dn,
- r = ue;
- ue = !0;
- try {
- se(a, e, t, n)
- } finally {
- (ue = r) || pe()
- }
- }
-
- function jn(e, t, n) {
- kn(vn, Dn.bind(null, e, t, n))
- }
-
- function Pn(e, t, n, a) {
- if (wn.length) {
- var r = wn.pop();
- r.topLevelType = e, r.eventSystemFlags = t, r.nativeEvent = n, r.targetInst = a, e = r
- } else e = {
- topLevelType: e,
- eventSystemFlags: t,
- nativeEvent: n,
- targetInst: a,
- ancestors: []
+ location: null,
+ ctrlKey: null,
+ shiftKey: null,
+ altKey: null,
+ metaKey: null,
+ repeat: null,
+ locale: null,
+ getModifierState: $t,
+ charCode: function(e) {
+ return "keypress" === e.type ? Vt(e) : 0
+ },
+ keyCode: function(e) {
+ return "keydown" === e.type || "keyup" === e.type ? e.keyCode : 0
+ },
+ which: function(e) {
+ return "keypress" === e.type ? Vt(e) : "keydown" === e.type || "keyup" === e.type ? e.keyCode : 0
+ }
+ }), Zt = 0, Qt = 0, Xt = !1, en = !1, tn = Ut.extend({
+ screenX: null,
+ screenY: null,
+ clientX: null,
+ clientY: null,
+ pageX: null,
+ pageY: null,
+ ctrlKey: null,
+ shiftKey: null,
+ altKey: null,
+ metaKey: null,
+ getModifierState: $t,
+ button: null,
+ buttons: null,
+ relatedTarget: function(e) {
+ return e.relatedTarget || (e.fromElement === e.srcElement ? e.toElement : e.fromElement)
+ },
+ movementX: function(e) {
+ if ("movementX" in e) return e.movementX;
+ var t = Zt;
+ return Zt = e.screenX, Xt ? "mousemove" === e.type ? e.screenX - t : 0 : (Xt = !0, 0)
+ },
+ movementY: function(e) {
+ if ("movementY" in e) return e.movementY;
+ var t = Qt;
+ return Qt = e.screenY, en ? "mousemove" === e.type ? e.screenY - t : 0 : (en = !0, 0)
+ }
+ }), nn = tn.extend({
+ pointerId: null,
+ width: null,
+ height: null,
+ pressure: null,
+ tangentialPressure: null,
+ tiltX: null,
+ tiltY: null,
+ twist: null,
+ pointerType: null,
+ isPrimary: null
+ }), an = tn.extend({
+ dataTransfer: null
+ }), rn = Ut.extend({
+ touches: null,
+ targetTouches: null,
+ changedTouches: null,
+ altKey: null,
+ metaKey: null,
+ ctrlKey: null,
+ shiftKey: null,
+ getModifierState: $t
+ }), on = Rt.extend({
+ propertyName: null,
+ elapsedTime: null,
+ pseudoElement: null
+ }), sn = tn.extend({
+ deltaX: function(e) {
+ return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0
+ },
+ deltaY: function(e) {
+ return "deltaY" in e ? e.deltaY : "wheelDeltaY" in e ? -e.wheelDeltaY : "wheelDelta" in e ? -e.wheelDelta : 0
+ },
+ deltaZ: null,
+ deltaMode: null
+ }), ln = [
+ ["blur", "blur", 0],
+ ["cancel", "cancel", 0],
+ ["click", "click", 0],
+ ["close", "close", 0],
+ ["contextmenu", "contextMenu", 0],
+ ["copy", "copy", 0],
+ ["cut", "cut", 0],
+ ["auxclick", "auxClick", 0],
+ ["dblclick", "doubleClick", 0],
+ ["dragend", "dragEnd", 0],
+ ["dragstart", "dragStart", 0],
+ ["drop", "drop", 0],
+ ["focus", "focus", 0],
+ ["input", "input", 0],
+ ["invalid", "invalid", 0],
+ ["keydown", "keyDown", 0],
+ ["keypress", "keyPress", 0],
+ ["keyup", "keyUp", 0],
+ ["mousedown", "mouseDown", 0],
+ ["mouseup", "mouseUp", 0],
+ ["paste", "paste", 0],
+ ["pause", "pause", 0],
+ ["play", "play", 0],
+ ["pointercancel", "pointerCancel", 0],
+ ["pointerdown", "pointerDown", 0],
+ ["pointerup", "pointerUp", 0],
+ ["ratechange", "rateChange", 0],
+ ["reset", "reset", 0],
+ ["seeked", "seeked", 0],
+ ["submit", "submit", 0],
+ ["touchcancel", "touchCancel", 0],
+ ["touchend", "touchEnd", 0],
+ ["touchstart", "touchStart", 0],
+ ["volumechange", "volumeChange", 0],
+ ["drag", "drag", 1],
+ ["dragenter", "dragEnter", 1],
+ ["dragexit", "dragExit", 1],
+ ["dragleave", "dragLeave", 1],
+ ["dragover", "dragOver", 1],
+ ["mousemove", "mouseMove", 1],
+ ["mouseout", "mouseOut", 1],
+ ["mouseover", "mouseOver", 1],
+ ["pointermove", "pointerMove", 1],
+ ["pointerout", "pointerOut", 1],
+ ["pointerover", "pointerOver", 1],
+ ["scroll", "scroll", 1],
+ ["toggle", "toggle", 1],
+ ["touchmove", "touchMove", 1],
+ ["wheel", "wheel", 1],
+ ["abort", "abort", 2],
+ [Je, "animationEnd", 2],
+ [Ze, "animationIteration", 2],
+ [Qe, "animationStart", 2],
+ ["canplay", "canPlay", 2],
+ ["canplaythrough", "canPlayThrough", 2],
+ ["durationchange", "durationChange", 2],
+ ["emptied", "emptied", 2],
+ ["encrypted", "encrypted", 2],
+ ["ended", "ended", 2],
+ ["error", "error", 2],
+ ["gotpointercapture", "gotPointerCapture", 2],
+ ["load", "load", 2],
+ ["loadeddata", "loadedData", 2],
+ ["loadedmetadata", "loadedMetadata", 2],
+ ["loadstart", "loadStart", 2],
+ ["lostpointercapture", "lostPointerCapture", 2],
+ ["playing", "playing", 2],
+ ["progress", "progress", 2],
+ ["seeking", "seeking", 2],
+ ["stalled", "stalled", 2],
+ ["suspend", "suspend", 2],
+ ["timeupdate", "timeUpdate", 2],
+ [Xe, "transitionEnd", 2],
+ ["waiting", "waiting", 2]
+ ], cn = {}, un = {}, dn = 0; dn < ln.length; dn++) {
+ var pn = ln[dn],
+ hn = pn[0],
+ mn = pn[1],
+ fn = pn[2],
+ gn = "on" + (mn[0].toUpperCase() + mn.slice(1)),
+ bn = {
+ phasedRegistrationNames: {
+ bubbled: gn,
+ captured: gn + "Capture"
+ },
+ dependencies: [hn],
+ eventPriority: fn
};
- try {
- if (t = Sn, n = e, de) t(n, void 0);
- else {
- de = !0;
- try {
- ce(t, n, void 0)
- } finally {
- de = !1, pe()
- }
- }
- } finally {
- e.topLevelType = null, e.nativeEvent = null, e.targetInst = null, e.ancestors.length = 0, wn.length < 10 && wn.push(e)
- }
- }
-
- function Dn(e, t, n) {
- if (En)
- if (0 < ct.length && -1 < gt.indexOf(e)) e = yt(null, e, t, n), ct.push(e);
- else {
- var a = Tn(e, t, n);
- null === a ? vt(e, n) : -1 < gt.indexOf(e) ? (e = yt(a, e, t, n), ct.push(e)) : function(e, t, n, a) {
- switch (t) {
- case "focus":
- return ut = kt(ut, e, t, n, a), !0;
- case "dragenter":
- return dt = kt(dt, e, t, n, a), !0;
- case "mouseover":
- return pt = kt(pt, e, t, n, a), !0;
- case "pointerover":
- var r = a.pointerId;
- return ht.set(r, kt(ht.get(r) || null, e, t, n, a)), !0;
- case "gotpointercapture":
- return r = a.pointerId, mt.set(r, kt(mt.get(r) || null, e, t, n, a)), !0
- }
- return !1
- }(a, e, t, n) || (vt(e, n), Pn(e, t, n, null))
- }
- }
-
- function Tn(e, t, n) {
- var a = At(n);
- if (null !== (a = da(a))) {
- var r = tt(a);
- if (null === r) a = null;
- else {
- var i = r.tag;
- if (13 === i) {
- if (null !== (a = nt(r))) return a;
- a = null
- } else if (3 === i) {
- if (r.stateNode.hydrate) return 3 === r.tag ? r.stateNode.containerInfo : null;
- a = null
- } else r !== a && (a = null)
- }
- }
- return Pn(e, t, n, a), null
- }
-
- function On(e) {
- if (!X) return !1;
- var t = (e = "on" + e) in document;
- return t || ((t = document.createElement("div")).setAttribute(e, "return;"), t = "function" == typeof t[e]), t
- }
- var Mn = new("function" == typeof WeakMap ? WeakMap : Map);
-
- function In(e) {
- var t = Mn.get(e);
- return void 0 === t && (t = new Set, Mn.set(e, t)), t
- }
-
- function Nn(e, t, n) {
- if (!n.has(e)) {
+ cn[mn] = bn, un[hn] = bn
+ }
+ var yn = {
+ eventTypes: cn,
+ getEventPriority: function(e) {
+ return void 0 !== (e = un[e]) ? e.eventPriority : 2
+ },
+ extractEvents: function(e, t, n, a) {
+ var r = un[e];
+ if (!r) return null;
switch (e) {
- case "scroll":
- Cn(t, "scroll", !0);
+ case "keypress":
+ if (0 === Vt(n)) return null;
+ case "keydown":
+ case "keyup":
+ e = Jt;
break;
- case "focus":
case "blur":
- Cn(t, "focus", !0), Cn(t, "blur", !0), n.add("blur"), n.add("focus");
+ case "focus":
+ e = Ht;
+ break;
+ case "click":
+ if (2 === n.button) return null;
+ case "auxclick":
+ case "dblclick":
+ case "mousedown":
+ case "mousemove":
+ case "mouseup":
+ case "mouseout":
+ case "mouseover":
+ case "contextmenu":
+ e = tn;
+ break;
+ case "drag":
+ case "dragend":
+ case "dragenter":
+ case "dragexit":
+ case "dragleave":
+ case "dragover":
+ case "dragstart":
+ case "drop":
+ e = an;
+ break;
+ case "touchcancel":
+ case "touchend":
+ case "touchmove":
+ case "touchstart":
+ e = rn;
break;
- case "cancel":
- case "close":
- On(e) && Cn(t, e, !0);
+ case Je:
+ case Ze:
+ case Qe:
+ e = qt;
break;
- case "invalid":
- case "submit":
- case "reset":
+ case Xe:
+ e = on;
+ break;
+ case "scroll":
+ e = Ut;
+ break;
+ case "wheel":
+ e = sn;
+ break;
+ case "copy":
+ case "cut":
+ case "paste":
+ e = Bt;
+ break;
+ case "gotpointercapture":
+ case "lostpointercapture":
+ case "pointercancel":
+ case "pointerdown":
+ case "pointermove":
+ case "pointerout":
+ case "pointerover":
+ case "pointerup":
+ e = nn;
break;
default:
- -1 === et.indexOf(e) && xn(e, t)
- }
- n.add(e)
- }
- }
- var zn = {
- animationIterationCount: !0,
- borderImageOutset: !0,
- borderImageSlice: !0,
- borderImageWidth: !0,
- boxFlex: !0,
- boxFlexGroup: !0,
- boxOrdinalGroup: !0,
- columnCount: !0,
- columns: !0,
- flex: !0,
- flexGrow: !0,
- flexPositive: !0,
- flexShrink: !0,
- flexNegative: !0,
- flexOrder: !0,
- gridArea: !0,
- gridRow: !0,
- gridRowEnd: !0,
- gridRowSpan: !0,
- gridRowStart: !0,
- gridColumn: !0,
- gridColumnEnd: !0,
- gridColumnSpan: !0,
- gridColumnStart: !0,
- fontWeight: !0,
- lineClamp: !0,
- lineHeight: !0,
- opacity: !0,
- order: !0,
- orphans: !0,
- tabSize: !0,
- widows: !0,
- zIndex: !0,
- zoom: !0,
- fillOpacity: !0,
- floodOpacity: !0,
- stopOpacity: !0,
- strokeDasharray: !0,
- strokeDashoffset: !0,
- strokeMiterlimit: !0,
- strokeOpacity: !0,
- strokeWidth: !0
- },
- Rn = ["Webkit", "ms", "Moz", "O"];
-
- function Ln(e, t, n) {
- return null == t || "boolean" == typeof t || "" === t ? "" : n || "number" != typeof t || 0 === t || zn.hasOwnProperty(e) && zn[e] ? ("" + t).trim() : t + "px"
- }
-
- function Fn(e, t) {
- for (var n in e = e.style, t)
- if (t.hasOwnProperty(n)) {
- var a = 0 === n.indexOf("--"),
- r = Ln(n, t[n], a);
- "float" === n && (n = "cssFloat"), a ? e.setProperty(n, r) : e[n] = r
- }
- }
- Object.keys(zn).forEach((function(e) {
- Rn.forEach((function(t) {
- t = t + e.charAt(0).toUpperCase() + e.substring(1), zn[t] = zn[e]
- }))
- }));
- var qn = r({
- menuitem: !0
- }, {
- area: !0,
- base: !0,
- br: !0,
- col: !0,
- embed: !0,
- hr: !0,
- img: !0,
- input: !0,
- keygen: !0,
- link: !0,
- meta: !0,
- param: !0,
- source: !0,
- track: !0,
- wbr: !0
- });
-
- function Bn(e, t) {
- if (t) {
- if (qn[e] && (null != t.children || null != t.dangerouslySetInnerHTML)) throw Error(o(137, e, ""));
- if (null != t.dangerouslySetInnerHTML) {
- if (null != t.children) throw Error(o(60));
- if ("object" != typeof t.dangerouslySetInnerHTML || !("__html" in t.dangerouslySetInnerHTML)) throw Error(o(61))
- }
- if (null != t.style && "object" != typeof t.style) throw Error(o(62, ""))
- }
- }
-
- function Un(e, t) {
- if (-1 === e.indexOf("-")) return "string" == typeof t.is;
- switch (e) {
- case "annotation-xml":
- case "color-profile":
- case "font-face":
- case "font-face-src":
- case "font-face-uri":
- case "font-face-format":
- case "font-face-name":
- case "missing-glyph":
- return !1;
- default:
- return !0
+ e = Rt
+ }
+ return It(t = e.getPooled(r, t, n, a)), t
+ }
+ },
+ vn = i.unstable_UserBlockingPriority,
+ kn = i.unstable_runWithPriority,
+ _n = yn.getEventPriority,
+ wn = [];
+
+ function Sn(e) {
+ var t = e.targetInst,
+ n = t;
+ do {
+ if (!n) {
+ e.ancestors.push(n);
+ break
}
+ var a = n;
+ if (3 === a.tag) a = a.stateNode.containerInfo;
+ else {
+ for (; a.return;) a = a.return;
+ a = 3 !== a.tag ? null : a.stateNode.containerInfo
+ }
+ if (!a) break;
+ 5 !== (t = n.tag) && 6 !== t || e.ancestors.push(n), n = da(a)
+ } while (n);
+ for (n = 0; n < e.ancestors.length; n++) {
+ t = e.ancestors[n];
+ var r = At(e.nativeEvent);
+ a = e.topLevelType;
+ for (var i = e.nativeEvent, o = e.eventSystemFlags, s = null, l = 0; l < d.length; l++) {
+ var c = d[l];
+ c && (c = c.extractEvents(a, t, i, r, o)) && (s = C(s, c))
+ }
+ P(s)
}
+ }
+ var En = !0;
- function Hn(e, t) {
- var n = In(e = 9 === e.nodeType || 11 === e.nodeType ? e : e.ownerDocument);
- t = m[t];
- for (var a = 0; a < t.length; a++) Nn(t[a], e, n)
- }
-
- function Vn() {}
-
- function Wn(e) {
- if (void 0 === (e = e || ("undefined" != typeof document ? document : void 0))) return null;
- try {
- return e.activeElement || e.body
- } catch (t) {
- return e.body
- }
- }
+ function xn(e, t) {
+ Cn(t, e, !1)
+ }
- function Yn(e) {
- for (; e && e.firstChild;) e = e.firstChild;
- return e
- }
+ function Cn(e, t, n) {
+ switch (_n(t)) {
+ case 0:
+ var a = An.bind(null, t, 1);
+ break;
+ case 1:
+ a = Tn.bind(null, t, 1);
+ break;
+ default:
+ a = Pn.bind(null, t, 1)
+ }
+ n ? e.addEventListener(t, a, !0) : e.addEventListener(t, a, !1)
+ }
- function Gn(e, t) {
- var n, a = Yn(e);
- for (e = 0; a;) {
- if (3 === a.nodeType) {
- if (n = e + a.textContent.length, e <= t && n >= t) return {
- node: a,
- offset: t - e
- };
- e = n
- }
- e: {
- for (; a;) {
- if (a.nextSibling) {
- a = a.nextSibling;
- break e
- }
- a = a.parentNode
- }
- a = void 0
- }
- a = Yn(a)
- }
+ function An(e, t, n) {
+ ue || le();
+ var a = Pn,
+ r = ue;
+ ue = !0;
+ try {
+ se(a, e, t, n)
+ } finally {
+ (ue = r) || pe()
}
+ }
- function Kn(e, t) {
- return !(!e || !t) && (e === t || (!e || 3 !== e.nodeType) && (t && 3 === t.nodeType ? Kn(e, t.parentNode) : "contains" in e ? e.contains(t) : !!e.compareDocumentPosition && !!(16 & e.compareDocumentPosition(t))))
- }
+ function Tn(e, t, n) {
+ kn(vn, Pn.bind(null, e, t, n))
+ }
- function $n() {
- for (var e = window, t = Wn(); t instanceof e.HTMLIFrameElement;) {
+ function Dn(e, t, n, a) {
+ if (wn.length) {
+ var r = wn.pop();
+ r.topLevelType = e, r.eventSystemFlags = t, r.nativeEvent = n, r.targetInst = a, e = r
+ } else e = {
+ topLevelType: e,
+ eventSystemFlags: t,
+ nativeEvent: n,
+ targetInst: a,
+ ancestors: []
+ };
+ try {
+ if (t = Sn, n = e, de) t(n, void 0);
+ else {
+ de = !0;
try {
- var n = "string" == typeof t.contentWindow.location.href
- } catch (e) {
- n = !1
+ ce(t, n, void 0)
+ } finally {
+ de = !1, pe()
}
- if (!n) break;
- t = Wn((e = t.contentWindow).document)
- }
- return t
- }
-
- function Jn(e) {
- var t = e && e.nodeName && e.nodeName.toLowerCase();
- return t && ("input" === t && ("text" === e.type || "search" === e.type || "tel" === e.type || "url" === e.type || "password" === e.type) || "textarea" === t || "true" === e.contentEditable)
- }
- var Zn = "$?",
- Qn = "$!",
- Xn = null,
- ea = null;
-
- function ta(e, t) {
- switch (e) {
- case "button":
- case "input":
- case "select":
- case "textarea":
- return !!t.autoFocus
- }
- return !1
- }
-
- function na(e, t) {
- return "textarea" === e || "option" === e || "noscript" === e || "string" == typeof t.children || "number" == typeof t.children || "object" == typeof t.dangerouslySetInnerHTML && null !== t.dangerouslySetInnerHTML && null != t.dangerouslySetInnerHTML.__html
- }
- var aa = "function" == typeof setTimeout ? setTimeout : void 0,
- ra = "function" == typeof clearTimeout ? clearTimeout : void 0;
-
- function ia(e) {
- for (; null != e; e = e.nextSibling) {
- var t = e.nodeType;
- if (1 === t || 3 === t) break
}
- return e
+ } finally {
+ e.topLevelType = null, e.nativeEvent = null, e.targetInst = null, e.ancestors.length = 0, wn.length < 10 && wn.push(e)
}
+ }
- function oa(e) {
- e = e.previousSibling;
- for (var t = 0; e;) {
- if (8 === e.nodeType) {
- var n = e.data;
- if ("$" === n || n === Qn || n === Zn) {
- if (0 === t) return e;
- t--
- } else "/$" === n && t++
- }
- e = e.previousSibling
- }
- return null
- }
- var sa = Math.random().toString(36).slice(2),
- la = "__reactInternalInstance$" + sa,
- ca = "__reactEventHandlers$" + sa,
- ua = "__reactContainere$" + sa;
-
- function da(e) {
- var t = e[la];
- if (t) return t;
- for (var n = e.parentNode; n;) {
- if (t = n[ua] || n[la]) {
- if (n = t.alternate, null !== t.child || null !== n && null !== n.child)
- for (e = oa(e); null !== e;) {
- if (n = e[la]) return n;
- e = oa(e)
- }
- return t
- }
- n = (e = n).parentNode
+ function Pn(e, t, n) {
+ if (En)
+ if (0 < ct.length && -1 < gt.indexOf(e)) e = yt(null, e, t, n), ct.push(e);
+ else {
+ var a = jn(e, t, n);
+ null === a ? vt(e, n) : -1 < gt.indexOf(e) ? (e = yt(a, e, t, n), ct.push(e)) : function(e, t, n, a) {
+ switch (t) {
+ case "focus":
+ return ut = kt(ut, e, t, n, a), !0;
+ case "dragenter":
+ return dt = kt(dt, e, t, n, a), !0;
+ case "mouseover":
+ return pt = kt(pt, e, t, n, a), !0;
+ case "pointerover":
+ var r = a.pointerId;
+ return ht.set(r, kt(ht.get(r) || null, e, t, n, a)), !0;
+ case "gotpointercapture":
+ return r = a.pointerId, mt.set(r, kt(mt.get(r) || null, e, t, n, a)), !0
+ }
+ return !1
+ }(a, e, t, n) || (vt(e, n), Dn(e, t, n, null))
}
- return null
- }
-
- function pa(e) {
- return !(e = e[la] || e[ua]) || 5 !== e.tag && 6 !== e.tag && 13 !== e.tag && 3 !== e.tag ? null : e
- }
-
- function ha(e) {
- if (5 === e.tag || 6 === e.tag) return e.stateNode;
- throw Error(o(33))
- }
-
- function ma(e) {
- return e[ca] || null
- }
- var fa = null,
- ga = null,
- ba = null;
-
- function ya() {
- if (ba) return ba;
- var e, t, n = ga,
- a = n.length,
- r = "value" in fa ? fa.value : fa.textContent,
- i = r.length;
- for (e = 0; e < a && n[e] === r[e]; e++);
- var o = a - e;
- for (t = 1; t <= o && n[a - t] === r[i - t]; t++);
- return ba = r.slice(e, 1 < t ? 1 - t : void 0)
- }
- var va = zt.extend({
- data: null
- }),
- ka = zt.extend({
- data: null
- }),
- _a = [9, 13, 27, 32],
- wa = X && "CompositionEvent" in window,
- Sa = null;
- X && "documentMode" in document && (Sa = document.documentMode);
- var Ea = X && "TextEvent" in window && !Sa,
- xa = X && (!wa || Sa && 8 < Sa && 11 >= Sa),
- Ca = String.fromCharCode(32),
- Aa = {
- beforeInput: {
- phasedRegistrationNames: {
- bubbled: "onBeforeInput",
- captured: "onBeforeInputCapture"
- },
- dependencies: ["compositionend", "keypress", "textInput", "paste"]
- },
- compositionEnd: {
- phasedRegistrationNames: {
- bubbled: "onCompositionEnd",
- captured: "onCompositionEndCapture"
- },
- dependencies: "blur compositionend keydown keypress keyup mousedown".split(" ")
- },
- compositionStart: {
- phasedRegistrationNames: {
- bubbled: "onCompositionStart",
- captured: "onCompositionStartCapture"
- },
- dependencies: "blur compositionstart keydown keypress keyup mousedown".split(" ")
- },
- compositionUpdate: {
- phasedRegistrationNames: {
- bubbled: "onCompositionUpdate",
- captured: "onCompositionUpdateCapture"
- },
- dependencies: "blur compositionupdate keydown keypress keyup mousedown".split(" ")
- }
- },
- ja = !1;
+ }
- function Pa(e, t) {
- switch (e) {
- case "keyup":
- return -1 !== _a.indexOf(t.keyCode);
- case "keydown":
- return 229 !== t.keyCode;
- case "keypress":
- case "mousedown":
- case "blur":
- return !0;
- default:
- return !1
+ function jn(e, t, n) {
+ var a = At(n);
+ if (null !== (a = da(a))) {
+ var r = tt(a);
+ if (null === r) a = null;
+ else {
+ var i = r.tag;
+ if (13 === i) {
+ if (null !== (a = nt(r))) return a;
+ a = null
+ } else if (3 === i) {
+ if (r.stateNode.hydrate) return 3 === r.tag ? r.stateNode.containerInfo : null;
+ a = null
+ } else r !== a && (a = null)
}
}
+ return Dn(e, t, n, a), null
+ }
- function Da(e) {
- return "object" == typeof(e = e.detail) && "data" in e ? e.data : null
- }
- var Ta = !1,
- Oa = {
- eventTypes: Aa,
- extractEvents: function(e, t, n, a) {
- var r;
- if (wa) e: {
- switch (e) {
- case "compositionstart":
- var i = Aa.compositionStart;
- break e;
- case "compositionend":
- i = Aa.compositionEnd;
- break e;
- case "compositionupdate":
- i = Aa.compositionUpdate;
- break e
- }
- i = void 0
- }
- else Ta ? Pa(e, n) && (i = Aa.compositionEnd) : "keydown" === e && 229 === n.keyCode && (i = Aa.compositionStart);
- return i ? (xa && "ko" !== n.locale && (Ta || i !== Aa.compositionStart ? i === Aa.compositionEnd && Ta && (r = ya()) : (ga = "value" in (fa = a) ? fa.value : fa.textContent, Ta = !0)), i = va.getPooled(i, t, n, a), (r || null !== (r = Da(n))) && (i.data = r), Mt(i), r = i) : r = null, (e = Ea ? function(e, t) {
- switch (e) {
- case "compositionend":
- return Da(t);
- case "keypress":
- return 32 !== t.which ? null : (ja = !0, Ca);
- case "textInput":
- return (e = t.data) === Ca && ja ? null : e;
- default:
- return null
- }
- }(e, n) : function(e, t) {
- if (Ta) return "compositionend" === e || !wa && Pa(e, t) ? (e = ya(), ba = ga = fa = null, Ta = !1, e) : null;
- switch (e) {
- default:
- return null;
- case "keypress":
- if (!(t.ctrlKey || t.altKey || t.metaKey) || t.ctrlKey && t.altKey) {
- if (t.char && 1 < t.char.length) return t.char;
- if (t.which) return String.fromCharCode(t.which)
- }
- return null;
- case "compositionend":
- return xa && "ko" !== t.locale ? null : t.data
- }
- }(e, n)) ? ((t = ka.getPooled(Aa.beforeInput, t, n, a)).data = e, Mt(t)) : t = null, null === r ? t : null === t ? r : [r, t]
- }
- },
- Ma = {
- color: !0,
- date: !0,
- datetime: !0,
- "datetime-local": !0,
- email: !0,
- month: !0,
- number: !0,
- password: !0,
- range: !0,
- search: !0,
- tel: !0,
- text: !0,
- time: !0,
- url: !0,
- week: !0
- };
+ function Mn(e) {
+ if (!X) return !1;
+ var t = (e = "on" + e) in document;
+ return t || ((t = document.createElement("div")).setAttribute(e, "return;"), t = "function" == typeof t[e]), t
+ }
+ var In = new("function" == typeof WeakMap ? WeakMap : Map);
- function Ia(e) {
- var t = e && e.nodeName && e.nodeName.toLowerCase();
- return "input" === t ? !!Ma[e.type] : "textarea" === t
- }
- var Na = {
- change: {
- phasedRegistrationNames: {
- bubbled: "onChange",
- captured: "onChangeCapture"
- },
- dependencies: "blur change click focus input keydown keyup selectionchange".split(" ")
- }
- };
+ function On(e) {
+ var t = In.get(e);
+ return void 0 === t && (t = new Set, In.set(e, t)), t
+ }
- function za(e, t, n) {
- return (e = zt.getPooled(Na.change, e, t, n)).type = "change", re(n), Mt(e), e
+ function Nn(e, t, n) {
+ if (!n.has(e)) {
+ switch (e) {
+ case "scroll":
+ Cn(t, "scroll", !0);
+ break;
+ case "focus":
+ case "blur":
+ Cn(t, "focus", !0), Cn(t, "blur", !0), n.add("blur"), n.add("focus");
+ break;
+ case "cancel":
+ case "close":
+ Mn(e) && Cn(t, e, !0);
+ break;
+ case "invalid":
+ case "submit":
+ case "reset":
+ break;
+ default:
+ -1 === et.indexOf(e) && xn(e, t)
+ }
+ n.add(e)
}
- var Ra = null,
- La = null;
+ }
+ var Rn = {
+ animationIterationCount: !0,
+ borderImageOutset: !0,
+ borderImageSlice: !0,
+ borderImageWidth: !0,
+ boxFlex: !0,
+ boxFlexGroup: !0,
+ boxOrdinalGroup: !0,
+ columnCount: !0,
+ columns: !0,
+ flex: !0,
+ flexGrow: !0,
+ flexPositive: !0,
+ flexShrink: !0,
+ flexNegative: !0,
+ flexOrder: !0,
+ gridArea: !0,
+ gridRow: !0,
+ gridRowEnd: !0,
+ gridRowSpan: !0,
+ gridRowStart: !0,
+ gridColumn: !0,
+ gridColumnEnd: !0,
+ gridColumnSpan: !0,
+ gridColumnStart: !0,
+ fontWeight: !0,
+ lineClamp: !0,
+ lineHeight: !0,
+ opacity: !0,
+ order: !0,
+ orphans: !0,
+ tabSize: !0,
+ widows: !0,
+ zIndex: !0,
+ zoom: !0,
+ fillOpacity: !0,
+ floodOpacity: !0,
+ stopOpacity: !0,
+ strokeDasharray: !0,
+ strokeDashoffset: !0,
+ strokeMiterlimit: !0,
+ strokeOpacity: !0,
+ strokeWidth: !0
+ },
+ zn = ["Webkit", "ms", "Moz", "O"];
+
+ function Ln(e, t, n) {
+ return null == t || "boolean" == typeof t || "" === t ? "" : n || "number" != typeof t || 0 === t || Rn.hasOwnProperty(e) && Rn[e] ? ("" + t).trim() : t + "px"
+ }
- function Fa(e) {
- D(e)
+ function Fn(e, t) {
+ for (var n in e = e.style, t)
+ if (t.hasOwnProperty(n)) {
+ var a = 0 === n.indexOf("--"),
+ r = Ln(n, t[n], a);
+ "float" === n && (n = "cssFloat"), a ? e.setProperty(n, r) : e[n] = r
+ }
+ }
+ Object.keys(Rn).forEach((function(e) {
+ zn.forEach((function(t) {
+ t = t + e.charAt(0).toUpperCase() + e.substring(1), Rn[t] = Rn[e]
+ }))
+ }));
+ var qn = r({
+ menuitem: !0
+ }, {
+ area: !0,
+ base: !0,
+ br: !0,
+ col: !0,
+ embed: !0,
+ hr: !0,
+ img: !0,
+ input: !0,
+ keygen: !0,
+ link: !0,
+ meta: !0,
+ param: !0,
+ source: !0,
+ track: !0,
+ wbr: !0
+ });
+
+ function Bn(e, t) {
+ if (t) {
+ if (qn[e] && (null != t.children || null != t.dangerouslySetInnerHTML)) throw Error(o(137, e, ""));
+ if (null != t.dangerouslySetInnerHTML) {
+ if (null != t.children) throw Error(o(60));
+ if ("object" != typeof t.dangerouslySetInnerHTML || !("__html" in t.dangerouslySetInnerHTML)) throw Error(o(61))
+ }
+ if (null != t.style && "object" != typeof t.style) throw Error(o(62, ""))
}
+ }
- function qa(e) {
- if (xe(ha(e))) return e
+ function Un(e, t) {
+ if (-1 === e.indexOf("-")) return "string" == typeof t.is;
+ switch (e) {
+ case "annotation-xml":
+ case "color-profile":
+ case "font-face":
+ case "font-face-src":
+ case "font-face-uri":
+ case "font-face-format":
+ case "font-face-name":
+ case "missing-glyph":
+ return !1;
+ default:
+ return !0
}
+ }
- function Ba(e, t) {
- if ("change" === e) return t
- }
- var Ua = !1;
+ function Hn(e, t) {
+ var n = On(e = 9 === e.nodeType || 11 === e.nodeType ? e : e.ownerDocument);
+ t = m[t];
+ for (var a = 0; a < t.length; a++) Nn(t[a], e, n)
+ }
- function Ha() {
- Ra && (Ra.detachEvent("onpropertychange", Va), La = Ra = null)
+ function Vn() {}
+
+ function Wn(e) {
+ if (void 0 === (e = e || ("undefined" != typeof document ? document : void 0))) return null;
+ try {
+ return e.activeElement || e.body
+ } catch (t) {
+ return e.body
}
+ }
- function Va(e) {
- if ("value" === e.propertyName && qa(La))
- if (e = za(La, e, At(e)), ue) D(e);
- else {
- ue = !0;
- try {
- oe(Fa, e)
- } finally {
- ue = !1, pe()
+ function Yn(e) {
+ for (; e && e.firstChild;) e = e.firstChild;
+ return e
+ }
+
+ function Gn(e, t) {
+ var n, a = Yn(e);
+ for (e = 0; a;) {
+ if (3 === a.nodeType) {
+ if (n = e + a.textContent.length, e <= t && n >= t) return {
+ node: a,
+ offset: t - e
+ };
+ e = n
+ }
+ e: {
+ for (; a;) {
+ if (a.nextSibling) {
+ a = a.nextSibling;
+ break e
}
+ a = a.parentNode
}
+ a = void 0
+ }
+ a = Yn(a)
}
+ }
- function Wa(e, t, n) {
- "focus" === e ? (Ha(), La = n, (Ra = t).attachEvent("onpropertychange", Va)) : "blur" === e && Ha()
- }
+ function Kn(e, t) {
+ return !(!e || !t) && (e === t || (!e || 3 !== e.nodeType) && (t && 3 === t.nodeType ? Kn(e, t.parentNode) : "contains" in e ? e.contains(t) : !!e.compareDocumentPosition && !!(16 & e.compareDocumentPosition(t))))
+ }
- function Ya(e) {
- if ("selectionchange" === e || "keyup" === e || "keydown" === e) return qa(La)
+ function $n() {
+ for (var e = window, t = Wn(); t instanceof e.HTMLIFrameElement;) {
+ try {
+ var n = "string" == typeof t.contentWindow.location.href
+ } catch (e) {
+ n = !1
+ }
+ if (!n) break;
+ t = Wn((e = t.contentWindow).document)
}
+ return t
+ }
- function Ga(e, t) {
- if ("click" === e) return qa(t)
+ function Jn(e) {
+ var t = e && e.nodeName && e.nodeName.toLowerCase();
+ return t && ("input" === t && ("text" === e.type || "search" === e.type || "tel" === e.type || "url" === e.type || "password" === e.type) || "textarea" === t || "true" === e.contentEditable)
+ }
+ var Zn = "$?",
+ Qn = "$!",
+ Xn = null,
+ ea = null;
+
+ function ta(e, t) {
+ switch (e) {
+ case "button":
+ case "input":
+ case "select":
+ case "textarea":
+ return !!t.autoFocus
+ }
+ return !1
+ }
+
+ function na(e, t) {
+ return "textarea" === e || "option" === e || "noscript" === e || "string" == typeof t.children || "number" == typeof t.children || "object" == typeof t.dangerouslySetInnerHTML && null !== t.dangerouslySetInnerHTML && null != t.dangerouslySetInnerHTML.__html
+ }
+ var aa = "function" == typeof setTimeout ? setTimeout : void 0,
+ ra = "function" == typeof clearTimeout ? clearTimeout : void 0;
+
+ function ia(e) {
+ for (; null != e; e = e.nextSibling) {
+ var t = e.nodeType;
+ if (1 === t || 3 === t) break
}
+ return e
+ }
- function Ka(e, t) {
- if ("input" === e || "change" === e) return qa(t)
+ function oa(e) {
+ e = e.previousSibling;
+ for (var t = 0; e;) {
+ if (8 === e.nodeType) {
+ var n = e.data;
+ if ("$" === n || n === Qn || n === Zn) {
+ if (0 === t) return e;
+ t--
+ } else "/$" === n && t++
+ }
+ e = e.previousSibling
}
- X && (Ua = On("input") && (!document.documentMode || 9 < document.documentMode));
- var $a, Ja = {
- eventTypes: Na,
- _isInputEventSupported: Ua,
- extractEvents: function(e, t, n, a) {
- var r = t ? ha(t) : window,
- i = r.nodeName && r.nodeName.toLowerCase();
- if ("select" === i || "input" === i && "file" === r.type) var o = Ba;
- else if (Ia(r))
- if (Ua) o = Ka;
- else {
- o = Ya;
- var s = Wa
- }
- else(i = r.nodeName) && "input" === i.toLowerCase() && ("checkbox" === r.type || "radio" === r.type) && (o = Ga);
- if (o && (o = o(e, t))) return za(o, n, a);
- s && s(e, r, t), "blur" === e && (e = r._wrapperState) && e.controlled && "number" === r.type && Te(r, "number", r.value)
- }
- },
- Za = {
- mouseEnter: {
- registrationName: "onMouseEnter",
- dependencies: ["mouseout", "mouseover"]
+ return null
+ }
+ var sa = Math.random().toString(36).slice(2),
+ la = "__reactInternalInstance$" + sa,
+ ca = "__reactEventHandlers$" + sa,
+ ua = "__reactContainere$" + sa;
+
+ function da(e) {
+ var t = e[la];
+ if (t) return t;
+ for (var n = e.parentNode; n;) {
+ if (t = n[ua] || n[la]) {
+ if (n = t.alternate, null !== t.child || null !== n && null !== n.child)
+ for (e = oa(e); null !== e;) {
+ if (n = e[la]) return n;
+ e = oa(e)
+ }
+ return t
+ }
+ n = (e = n).parentNode
+ }
+ return null
+ }
+
+ function pa(e) {
+ return !(e = e[la] || e[ua]) || 5 !== e.tag && 6 !== e.tag && 13 !== e.tag && 3 !== e.tag ? null : e
+ }
+
+ function ha(e) {
+ if (5 === e.tag || 6 === e.tag) return e.stateNode;
+ throw Error(o(33))
+ }
+
+ function ma(e) {
+ return e[ca] || null
+ }
+ var fa = null,
+ ga = null,
+ ba = null;
+
+ function ya() {
+ if (ba) return ba;
+ var e, t, n = ga,
+ a = n.length,
+ r = "value" in fa ? fa.value : fa.textContent,
+ i = r.length;
+ for (e = 0; e < a && n[e] === r[e]; e++);
+ var o = a - e;
+ for (t = 1; t <= o && n[a - t] === r[i - t]; t++);
+ return ba = r.slice(e, 1 < t ? 1 - t : void 0)
+ }
+ var va = Rt.extend({
+ data: null
+ }),
+ ka = Rt.extend({
+ data: null
+ }),
+ _a = [9, 13, 27, 32],
+ wa = X && "CompositionEvent" in window,
+ Sa = null;
+ X && "documentMode" in document && (Sa = document.documentMode);
+ var Ea = X && "TextEvent" in window && !Sa,
+ xa = X && (!wa || Sa && 8 < Sa && 11 >= Sa),
+ Ca = String.fromCharCode(32),
+ Aa = {
+ beforeInput: {
+ phasedRegistrationNames: {
+ bubbled: "onBeforeInput",
+ captured: "onBeforeInputCapture"
},
- mouseLeave: {
- registrationName: "onMouseLeave",
- dependencies: ["mouseout", "mouseover"]
+ dependencies: ["compositionend", "keypress", "textInput", "paste"]
+ },
+ compositionEnd: {
+ phasedRegistrationNames: {
+ bubbled: "onCompositionEnd",
+ captured: "onCompositionEndCapture"
},
- pointerEnter: {
- registrationName: "onPointerEnter",
- dependencies: ["pointerout", "pointerover"]
+ dependencies: "blur compositionend keydown keypress keyup mousedown".split(" ")
+ },
+ compositionStart: {
+ phasedRegistrationNames: {
+ bubbled: "onCompositionStart",
+ captured: "onCompositionStartCapture"
},
- pointerLeave: {
- registrationName: "onPointerLeave",
- dependencies: ["pointerout", "pointerover"]
- }
- },
- Qa = {
- eventTypes: Za,
- extractEvents: function(e, t, n, a, r) {
- var i = "mouseover" === e || "pointerover" === e,
- o = "mouseout" === e || "pointerout" === e;
- if (i && 0 == (32 & r) && (n.relatedTarget || n.fromElement) || !o && !i) return null;
- if (r = a.window === a ? a : (r = a.ownerDocument) ? r.defaultView || r.parentWindow : window, o ? (o = t, null !== (t = (t = n.relatedTarget || n.toElement) ? da(t) : null) && (t !== (i = tt(t)) || 5 !== t.tag && 6 !== t.tag) && (t = null)) : o = null, o === t) return null;
- if ("mouseout" === e || "mouseover" === e) var s = tn,
- l = Za.mouseLeave,
- c = Za.mouseEnter,
- u = "mouse";
- else "pointerout" !== e && "pointerover" !== e || (s = nn, l = Za.pointerLeave, c = Za.pointerEnter, u = "pointer");
- if (e = null == o ? r : ha(o), r = null == t ? r : ha(t), (l = s.getPooled(l, o, n, a)).type = u + "leave", l.target = e, l.relatedTarget = r, (a = s.getPooled(c, t, n, a)).type = u + "enter", a.target = r, a.relatedTarget = e, u = t, (s = o) && u) e: {
- for (e = u, o = 0, t = c = s; t; t = jt(t)) o++;
- for (t = 0, r = e; r; r = jt(r)) t++;
- for (; 0 < o - t;) c = jt(c),
- o--;
- for (; 0 < t - o;) e = jt(e),
- t--;
- for (; o--;) {
- if (c === e || c === e.alternate) break e;
- c = jt(c), e = jt(e)
- }
- c = null
- }
- else c = null;
- for (e = c, c = []; s && s !== e && (null === (o = s.alternate) || o !== e);) c.push(s), s = jt(s);
- for (s = []; u && u !== e && (null === (o = u.alternate) || o !== e);) s.push(u), u = jt(u);
- for (u = 0; u < c.length; u++) Tt(c[u], "bubbled", l);
- for (u = s.length; 0 < u--;) Tt(s[u], "captured", a);
- return n === $a ? ($a = null, [l]) : ($a = n, [l, a])
- }
- },
- Xa = "function" == typeof Object.is ? Object.is : function(e, t) {
- return e === t && (0 !== e || 1 / e == 1 / t) || e != e && t != t
- },
- er = Object.prototype.hasOwnProperty;
-
- function tr(e, t) {
- if (Xa(e, t)) return !0;
- if ("object" != typeof e || null === e || "object" != typeof t || null === t) return !1;
- var n = Object.keys(e),
- a = Object.keys(t);
- if (n.length !== a.length) return !1;
- for (a = 0; a < n.length; a++)
- if (!er.call(t, n[a]) || !Xa(e[n[a]], t[n[a]])) return !1;
- return !0
- }
- var nr = X && "documentMode" in document && 11 >= document.documentMode,
- ar = {
- select: {
- phasedRegistrationNames: {
- bubbled: "onSelect",
- captured: "onSelectCapture"
- },
- dependencies: "blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")
- }
+ dependencies: "blur compositionstart keydown keypress keyup mousedown".split(" ")
},
- rr = null,
- ir = null,
- or = null,
- sr = !1;
+ compositionUpdate: {
+ phasedRegistrationNames: {
+ bubbled: "onCompositionUpdate",
+ captured: "onCompositionUpdateCapture"
+ },
+ dependencies: "blur compositionupdate keydown keypress keyup mousedown".split(" ")
+ }
+ },
+ Ta = !1;
+
+ function Da(e, t) {
+ switch (e) {
+ case "keyup":
+ return -1 !== _a.indexOf(t.keyCode);
+ case "keydown":
+ return 229 !== t.keyCode;
+ case "keypress":
+ case "mousedown":
+ case "blur":
+ return !0;
+ default:
+ return !1
+ }
+ }
- function lr(e, t) {
- var n = t.window === t ? t.document : 9 === t.nodeType ? t : t.ownerDocument;
- return sr || null == rr || rr !== Wn(n) ? null : (n = "selectionStart" in (n = rr) && Jn(n) ? {
- start: n.selectionStart,
- end: n.selectionEnd
- } : {
- anchorNode: (n = (n.ownerDocument && n.ownerDocument.defaultView || window).getSelection()).anchorNode,
- anchorOffset: n.anchorOffset,
- focusNode: n.focusNode,
- focusOffset: n.focusOffset
- }, or && tr(or, n) ? null : (or = n, (e = zt.getPooled(ar.select, ir, e, t)).type = "select", e.target = rr, Mt(e), e))
- }
- var cr = {
- eventTypes: ar,
+ function Pa(e) {
+ return "object" == typeof(e = e.detail) && "data" in e ? e.data : null
+ }
+ var ja = !1,
+ Ma = {
+ eventTypes: Aa,
extractEvents: function(e, t, n, a) {
- var r, i = a.window === a ? a.document : 9 === a.nodeType ? a : a.ownerDocument;
- if (!(r = !i)) {
- e: {
- i = In(i),
- r = m.onSelect;
- for (var o = 0; o < r.length; o++)
- if (!i.has(r[o])) {
- i = !1;
- break e
- } i = !0
+ var r;
+ if (wa) e: {
+ switch (e) {
+ case "compositionstart":
+ var i = Aa.compositionStart;
+ break e;
+ case "compositionend":
+ i = Aa.compositionEnd;
+ break e;
+ case "compositionupdate":
+ i = Aa.compositionUpdate;
+ break e
}
- r = !i
- }
- if (r) return null;
- switch (i = t ? ha(t) : window, e) {
- case "focus":
- (Ia(i) || "true" === i.contentEditable) && (rr = i, ir = t, or = null);
- break;
- case "blur":
- or = ir = rr = null;
- break;
- case "mousedown":
- sr = !0;
- break;
- case "contextmenu":
- case "mouseup":
- case "dragend":
- return sr = !1, lr(n, a);
- case "selectionchange":
- if (nr) break;
- case "keydown":
- case "keyup":
- return lr(n, a)
+ i = void 0
}
- return null
- }
+ else ja ? Da(e, n) && (i = Aa.compositionEnd) : "keydown" === e && 229 === n.keyCode && (i = Aa.compositionStart);
+ return i ? (xa && "ko" !== n.locale && (ja || i !== Aa.compositionStart ? i === Aa.compositionEnd && ja && (r = ya()) : (ga = "value" in (fa = a) ? fa.value : fa.textContent, ja = !0)), i = va.getPooled(i, t, n, a), (r || null !== (r = Pa(n))) && (i.data = r), It(i), r = i) : r = null, (e = Ea ? function(e, t) {
+ switch (e) {
+ case "compositionend":
+ return Pa(t);
+ case "keypress":
+ return 32 !== t.which ? null : (Ta = !0, Ca);
+ case "textInput":
+ return (e = t.data) === Ca && Ta ? null : e;
+ default:
+ return null
+ }
+ }(e, n) : function(e, t) {
+ if (ja) return "compositionend" === e || !wa && Da(e, t) ? (e = ya(), ba = ga = fa = null, ja = !1, e) : null;
+ switch (e) {
+ default:
+ return null;
+ case "keypress":
+ if (!(t.ctrlKey || t.altKey || t.metaKey) || t.ctrlKey && t.altKey) {
+ if (t.char && 1 < t.char.length) return t.char;
+ if (t.which) return String.fromCharCode(t.which)
+ }
+ return null;
+ case "compositionend":
+ return xa && "ko" !== t.locale ? null : t.data
+ }
+ }(e, n)) ? ((t = ka.getPooled(Aa.beforeInput, t, n, a)).data = e, It(t)) : t = null, null === r ? t : null === t ? r : [r, t]
+ }
+ },
+ Ia = {
+ color: !0,
+ date: !0,
+ datetime: !0,
+ "datetime-local": !0,
+ email: !0,
+ month: !0,
+ number: !0,
+ password: !0,
+ range: !0,
+ search: !0,
+ tel: !0,
+ text: !0,
+ time: !0,
+ url: !0,
+ week: !0
};
- T.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")), w = ma, S = pa, E = ha, T.injectEventPluginsByName({
- SimpleEventPlugin: yn,
- EnterLeaveEventPlugin: Qa,
- ChangeEventPlugin: Ja,
- SelectEventPlugin: cr,
- BeforeInputEventPlugin: Oa
- }), new Set;
- var ur = [],
- dr = -1;
- function pr(e) {
- 0 > dr || (e.current = ur[dr], ur[dr] = null, dr--)
+ function Oa(e) {
+ var t = e && e.nodeName && e.nodeName.toLowerCase();
+ return "input" === t ? !!Ia[e.type] : "textarea" === t
+ }
+ var Na = {
+ change: {
+ phasedRegistrationNames: {
+ bubbled: "onChange",
+ captured: "onChangeCapture"
+ },
+ dependencies: "blur change click focus input keydown keyup selectionchange".split(" ")
}
+ };
- function hr(e, t) {
- dr++, ur[dr] = e.current, e.current = t
- }
- var mr = {},
- fr = {
- current: mr
- },
- gr = {
- current: !1
- },
- br = mr;
+ function Ra(e, t, n) {
+ return (e = Rt.getPooled(Na.change, e, t, n)).type = "change", re(n), It(e), e
+ }
+ var za = null,
+ La = null;
- function yr(e, t) {
- var n = e.type.contextTypes;
- if (!n) return mr;
- var a = e.stateNode;
- if (a && a.__reactInternalMemoizedUnmaskedChildContext === t) return a.__reactInternalMemoizedMaskedChildContext;
- var r, i = {};
- for (r in n) i[r] = t[r];
- return a && ((e = e.stateNode).__reactInternalMemoizedUnmaskedChildContext = t, e.__reactInternalMemoizedMaskedChildContext = i), i
- }
+ function Fa(e) {
+ P(e)
+ }
- function vr(e) {
- return null != e.childContextTypes
- }
+ function qa(e) {
+ if (xe(ha(e))) return e
+ }
- function kr(e) {
- pr(gr), pr(fr)
- }
+ function Ba(e, t) {
+ if ("change" === e) return t
+ }
+ var Ua = !1;
- function _r(e) {
- pr(gr), pr(fr)
- }
+ function Ha() {
+ za && (za.detachEvent("onpropertychange", Va), La = za = null)
+ }
- function wr(e, t, n) {
- if (fr.current !== mr) throw Error(o(168));
- hr(fr, t), hr(gr, n)
- }
+ function Va(e) {
+ if ("value" === e.propertyName && qa(La))
+ if (e = Ra(La, e, At(e)), ue) P(e);
+ else {
+ ue = !0;
+ try {
+ oe(Fa, e)
+ } finally {
+ ue = !1, pe()
+ }
+ }
+ }
- function Sr(e, t, n) {
- var a = e.stateNode;
- if (e = t.childContextTypes, "function" != typeof a.getChildContext) return n;
- for (var i in a = a.getChildContext())
- if (!(i in e)) throw Error(o(108, Z(t) || "Unknown", i));
- return r({}, n, {}, a)
- }
+ function Wa(e, t, n) {
+ "focus" === e ? (Ha(), La = n, (za = t).attachEvent("onpropertychange", Va)) : "blur" === e && Ha()
+ }
- function Er(e) {
- var t = e.stateNode;
- return t = t && t.__reactInternalMemoizedMergedChildContext || mr, br = fr.current, hr(fr, t), hr(gr, gr.current), !0
- }
+ function Ya(e) {
+ if ("selectionchange" === e || "keyup" === e || "keydown" === e) return qa(La)
+ }
- function xr(e, t, n) {
- var a = e.stateNode;
- if (!a) throw Error(o(169));
- n ? (t = Sr(e, t, br), a.__reactInternalMemoizedMergedChildContext = t, pr(gr), pr(fr), hr(fr, t)) : pr(gr), hr(gr, n)
- }
- var Cr = i.unstable_runWithPriority,
- Ar = i.unstable_scheduleCallback,
- jr = i.unstable_cancelCallback,
- Pr = i.unstable_shouldYield,
- Dr = i.unstable_requestPaint,
- Tr = i.unstable_now,
- Or = i.unstable_getCurrentPriorityLevel,
- Mr = i.unstable_ImmediatePriority,
- Ir = i.unstable_UserBlockingPriority,
- Nr = i.unstable_NormalPriority,
- zr = i.unstable_LowPriority,
- Rr = i.unstable_IdlePriority,
- Lr = {},
- Fr = void 0 !== Dr ? Dr : function() {},
- qr = null,
- Br = null,
- Ur = !1,
- Hr = Tr(),
- Vr = 1e4 > Hr ? Tr : function() {
- return Tr() - Hr
- };
+ function Ga(e, t) {
+ if ("click" === e) return qa(t)
+ }
- function Wr() {
- switch (Or()) {
- case Mr:
- return 99;
- case Ir:
- return 98;
- case Nr:
- return 97;
- case zr:
- return 96;
- case Rr:
- return 95;
- default:
- throw Error(o(332))
+ function Ka(e, t) {
+ if ("input" === e || "change" === e) return qa(t)
+ }
+ X && (Ua = Mn("input") && (!document.documentMode || 9 < document.documentMode));
+ var $a, Ja = {
+ eventTypes: Na,
+ _isInputEventSupported: Ua,
+ extractEvents: function(e, t, n, a) {
+ var r = t ? ha(t) : window,
+ i = r.nodeName && r.nodeName.toLowerCase();
+ if ("select" === i || "input" === i && "file" === r.type) var o = Ba;
+ else if (Oa(r))
+ if (Ua) o = Ka;
+ else {
+ o = Ya;
+ var s = Wa
+ }
+ else(i = r.nodeName) && "input" === i.toLowerCase() && ("checkbox" === r.type || "radio" === r.type) && (o = Ga);
+ if (o && (o = o(e, t))) return Ra(o, n, a);
+ s && s(e, r, t), "blur" === e && (e = r._wrapperState) && e.controlled && "number" === r.type && je(r, "number", r.value)
+ }
+ },
+ Za = {
+ mouseEnter: {
+ registrationName: "onMouseEnter",
+ dependencies: ["mouseout", "mouseover"]
+ },
+ mouseLeave: {
+ registrationName: "onMouseLeave",
+ dependencies: ["mouseout", "mouseover"]
+ },
+ pointerEnter: {
+ registrationName: "onPointerEnter",
+ dependencies: ["pointerout", "pointerover"]
+ },
+ pointerLeave: {
+ registrationName: "onPointerLeave",
+ dependencies: ["pointerout", "pointerover"]
+ }
+ },
+ Qa = {
+ eventTypes: Za,
+ extractEvents: function(e, t, n, a, r) {
+ var i = "mouseover" === e || "pointerover" === e,
+ o = "mouseout" === e || "pointerout" === e;
+ if (i && 0 == (32 & r) && (n.relatedTarget || n.fromElement) || !o && !i) return null;
+ if (r = a.window === a ? a : (r = a.ownerDocument) ? r.defaultView || r.parentWindow : window, o ? (o = t, null !== (t = (t = n.relatedTarget || n.toElement) ? da(t) : null) && (t !== (i = tt(t)) || 5 !== t.tag && 6 !== t.tag) && (t = null)) : o = null, o === t) return null;
+ if ("mouseout" === e || "mouseover" === e) var s = tn,
+ l = Za.mouseLeave,
+ c = Za.mouseEnter,
+ u = "mouse";
+ else "pointerout" !== e && "pointerover" !== e || (s = nn, l = Za.pointerLeave, c = Za.pointerEnter, u = "pointer");
+ if (e = null == o ? r : ha(o), r = null == t ? r : ha(t), (l = s.getPooled(l, o, n, a)).type = u + "leave", l.target = e, l.relatedTarget = r, (a = s.getPooled(c, t, n, a)).type = u + "enter", a.target = r, a.relatedTarget = e, u = t, (s = o) && u) e: {
+ for (e = u, o = 0, t = c = s; t; t = Tt(t)) o++;
+ for (t = 0, r = e; r; r = Tt(r)) t++;
+ for (; 0 < o - t;) c = Tt(c),
+ o--;
+ for (; 0 < t - o;) e = Tt(e),
+ t--;
+ for (; o--;) {
+ if (c === e || c === e.alternate) break e;
+ c = Tt(c), e = Tt(e)
+ }
+ c = null
+ }
+ else c = null;
+ for (e = c, c = []; s && s !== e && (null === (o = s.alternate) || o !== e);) c.push(s), s = Tt(s);
+ for (s = []; u && u !== e && (null === (o = u.alternate) || o !== e);) s.push(u), u = Tt(u);
+ for (u = 0; u < c.length; u++) jt(c[u], "bubbled", l);
+ for (u = s.length; 0 < u--;) jt(s[u], "captured", a);
+ return n === $a ? ($a = null, [l]) : ($a = n, [l, a])
+ }
+ },
+ Xa = "function" == typeof Object.is ? Object.is : function(e, t) {
+ return e === t && (0 !== e || 1 / e == 1 / t) || e != e && t != t
+ },
+ er = Object.prototype.hasOwnProperty;
+
+ function tr(e, t) {
+ if (Xa(e, t)) return !0;
+ if ("object" != typeof e || null === e || "object" != typeof t || null === t) return !1;
+ var n = Object.keys(e),
+ a = Object.keys(t);
+ if (n.length !== a.length) return !1;
+ for (a = 0; a < n.length; a++)
+ if (!er.call(t, n[a]) || !Xa(e[n[a]], t[n[a]])) return !1;
+ return !0
+ }
+ var nr = X && "documentMode" in document && 11 >= document.documentMode,
+ ar = {
+ select: {
+ phasedRegistrationNames: {
+ bubbled: "onSelect",
+ captured: "onSelectCapture"
+ },
+ dependencies: "blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")
+ }
+ },
+ rr = null,
+ ir = null,
+ or = null,
+ sr = !1;
+
+ function lr(e, t) {
+ var n = t.window === t ? t.document : 9 === t.nodeType ? t : t.ownerDocument;
+ return sr || null == rr || rr !== Wn(n) ? null : (n = "selectionStart" in (n = rr) && Jn(n) ? {
+ start: n.selectionStart,
+ end: n.selectionEnd
+ } : {
+ anchorNode: (n = (n.ownerDocument && n.ownerDocument.defaultView || window).getSelection()).anchorNode,
+ anchorOffset: n.anchorOffset,
+ focusNode: n.focusNode,
+ focusOffset: n.focusOffset
+ }, or && tr(or, n) ? null : (or = n, (e = Rt.getPooled(ar.select, ir, e, t)).type = "select", e.target = rr, It(e), e))
+ }
+ var cr = {
+ eventTypes: ar,
+ extractEvents: function(e, t, n, a) {
+ var r, i = a.window === a ? a.document : 9 === a.nodeType ? a : a.ownerDocument;
+ if (!(r = !i)) {
+ e: {
+ i = On(i),
+ r = m.onSelect;
+ for (var o = 0; o < r.length; o++)
+ if (!i.has(r[o])) {
+ i = !1;
+ break e
+ } i = !0
+ }
+ r = !i
}
- }
-
- function Yr(e) {
- switch (e) {
- case 99:
- return Mr;
- case 98:
- return Ir;
- case 97:
- return Nr;
- case 96:
- return zr;
- case 95:
- return Rr;
- default:
- throw Error(o(332))
+ if (r) return null;
+ switch (i = t ? ha(t) : window, e) {
+ case "focus":
+ (Oa(i) || "true" === i.contentEditable) && (rr = i, ir = t, or = null);
+ break;
+ case "blur":
+ or = ir = rr = null;
+ break;
+ case "mousedown":
+ sr = !0;
+ break;
+ case "contextmenu":
+ case "mouseup":
+ case "dragend":
+ return sr = !1, lr(n, a);
+ case "selectionchange":
+ if (nr) break;
+ case "keydown":
+ case "keyup":
+ return lr(n, a)
}
+ return null
}
+ };
+ j.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")), w = ma, S = pa, E = ha, j.injectEventPluginsByName({
+ SimpleEventPlugin: yn,
+ EnterLeaveEventPlugin: Qa,
+ ChangeEventPlugin: Ja,
+ SelectEventPlugin: cr,
+ BeforeInputEventPlugin: Ma
+ }), new Set;
+ var ur = [],
+ dr = -1;
+
+ function pr(e) {
+ 0 > dr || (e.current = ur[dr], ur[dr] = null, dr--)
+ }
- function Gr(e, t) {
- return e = Yr(e), Cr(e, t)
- }
+ function hr(e, t) {
+ dr++, ur[dr] = e.current, e.current = t
+ }
+ var mr = {},
+ fr = {
+ current: mr
+ },
+ gr = {
+ current: !1
+ },
+ br = mr;
+
+ function yr(e, t) {
+ var n = e.type.contextTypes;
+ if (!n) return mr;
+ var a = e.stateNode;
+ if (a && a.__reactInternalMemoizedUnmaskedChildContext === t) return a.__reactInternalMemoizedMaskedChildContext;
+ var r, i = {};
+ for (r in n) i[r] = t[r];
+ return a && ((e = e.stateNode).__reactInternalMemoizedUnmaskedChildContext = t, e.__reactInternalMemoizedMaskedChildContext = i), i
+ }
+
+ function vr(e) {
+ return null != e.childContextTypes
+ }
+
+ function kr(e) {
+ pr(gr), pr(fr)
+ }
+
+ function _r(e) {
+ pr(gr), pr(fr)
+ }
- function Kr(e, t, n) {
- return e = Yr(e), Ar(e, t, n)
+ function wr(e, t, n) {
+ if (fr.current !== mr) throw Error(o(168));
+ hr(fr, t), hr(gr, n)
+ }
+
+ function Sr(e, t, n) {
+ var a = e.stateNode;
+ if (e = t.childContextTypes, "function" != typeof a.getChildContext) return n;
+ for (var i in a = a.getChildContext())
+ if (!(i in e)) throw Error(o(108, Z(t) || "Unknown", i));
+ return r({}, n, {}, a)
+ }
+
+ function Er(e) {
+ var t = e.stateNode;
+ return t = t && t.__reactInternalMemoizedMergedChildContext || mr, br = fr.current, hr(fr, t), hr(gr, gr.current), !0
+ }
+
+ function xr(e, t, n) {
+ var a = e.stateNode;
+ if (!a) throw Error(o(169));
+ n ? (t = Sr(e, t, br), a.__reactInternalMemoizedMergedChildContext = t, pr(gr), pr(fr), hr(fr, t)) : pr(gr), hr(gr, n)
+ }
+ var Cr = i.unstable_runWithPriority,
+ Ar = i.unstable_scheduleCallback,
+ Tr = i.unstable_cancelCallback,
+ Dr = i.unstable_shouldYield,
+ Pr = i.unstable_requestPaint,
+ jr = i.unstable_now,
+ Mr = i.unstable_getCurrentPriorityLevel,
+ Ir = i.unstable_ImmediatePriority,
+ Or = i.unstable_UserBlockingPriority,
+ Nr = i.unstable_NormalPriority,
+ Rr = i.unstable_LowPriority,
+ zr = i.unstable_IdlePriority,
+ Lr = {},
+ Fr = void 0 !== Pr ? Pr : function() {},
+ qr = null,
+ Br = null,
+ Ur = !1,
+ Hr = jr(),
+ Vr = 1e4 > Hr ? jr : function() {
+ return jr() - Hr
+ };
+
+ function Wr() {
+ switch (Mr()) {
+ case Ir:
+ return 99;
+ case Or:
+ return 98;
+ case Nr:
+ return 97;
+ case Rr:
+ return 96;
+ case zr:
+ return 95;
+ default:
+ throw Error(o(332))
}
+ }
- function $r(e) {
- return null === qr ? (qr = [e], Br = Ar(Mr, Zr)) : qr.push(e), Lr
+ function Yr(e) {
+ switch (e) {
+ case 99:
+ return Ir;
+ case 98:
+ return Or;
+ case 97:
+ return Nr;
+ case 96:
+ return Rr;
+ case 95:
+ return zr;
+ default:
+ throw Error(o(332))
}
+ }
- function Jr() {
- if (null !== Br) {
- var e = Br;
- Br = null, jr(e)
- }
- Zr()
+ function Gr(e, t) {
+ return e = Yr(e), Cr(e, t)
+ }
+
+ function Kr(e, t, n) {
+ return e = Yr(e), Ar(e, t, n)
+ }
+
+ function $r(e) {
+ return null === qr ? (qr = [e], Br = Ar(Ir, Zr)) : qr.push(e), Lr
+ }
+
+ function Jr() {
+ if (null !== Br) {
+ var e = Br;
+ Br = null, Tr(e)
}
+ Zr()
+ }
- function Zr() {
- if (!Ur && null !== qr) {
- Ur = !0;
- var e = 0;
- try {
- var t = qr;
- Gr(99, (function() {
- for (; e < t.length; e++) {
- var n = t[e];
- do {
- n = n(!0)
- } while (null !== n)
- }
- })), qr = null
- } catch (t) {
- throw null !== qr && (qr = qr.slice(e + 1)), Ar(Mr, Jr), t
- } finally {
- Ur = !1
- }
+ function Zr() {
+ if (!Ur && null !== qr) {
+ Ur = !0;
+ var e = 0;
+ try {
+ var t = qr;
+ Gr(99, (function() {
+ for (; e < t.length; e++) {
+ var n = t[e];
+ do {
+ n = n(!0)
+ } while (null !== n)
+ }
+ })), qr = null
+ } catch (t) {
+ throw null !== qr && (qr = qr.slice(e + 1)), Ar(Ir, Jr), t
+ } finally {
+ Ur = !1
}
}
- var Qr = 3;
+ }
+ var Qr = 3;
- function Xr(e, t, n) {
- return 1073741821 - (1 + ((1073741821 - e + t / 10) / (n /= 10) | 0)) * n
- }
+ function Xr(e, t, n) {
+ return 1073741821 - (1 + ((1073741821 - e + t / 10) / (n /= 10) | 0)) * n
+ }
- function ei(e, t) {
- if (e && e.defaultProps)
- for (var n in t = r({}, t), e = e.defaultProps) void 0 === t[n] && (t[n] = e[n]);
- return t
- }
- var ti = {
- current: null
- },
- ni = null,
- ai = null,
- ri = null;
+ function ei(e, t) {
+ if (e && e.defaultProps)
+ for (var n in t = r({}, t), e = e.defaultProps) void 0 === t[n] && (t[n] = e[n]);
+ return t
+ }
+ var ti = {
+ current: null
+ },
+ ni = null,
+ ai = null,
+ ri = null;
- function ii() {
- ri = ai = ni = null
- }
+ function ii() {
+ ri = ai = ni = null
+ }
- function oi(e, t) {
- var n = e.type._context;
- hr(ti, n._currentValue), n._currentValue = t
- }
+ function oi(e, t) {
+ var n = e.type._context;
+ hr(ti, n._currentValue), n._currentValue = t
+ }
- function si(e) {
- var t = ti.current;
- pr(ti), e.type._context._currentValue = t
- }
+ function si(e) {
+ var t = ti.current;
+ pr(ti), e.type._context._currentValue = t
+ }
- function li(e, t) {
- for (; null !== e;) {
- var n = e.alternate;
- if (e.childExpirationTime < t) e.childExpirationTime = t, null !== n && n.childExpirationTime < t && (n.childExpirationTime = t);
- else {
- if (!(null !== n && n.childExpirationTime < t)) break;
- n.childExpirationTime = t
- }
- e = e.return
+ function li(e, t) {
+ for (; null !== e;) {
+ var n = e.alternate;
+ if (e.childExpirationTime < t) e.childExpirationTime = t, null !== n && n.childExpirationTime < t && (n.childExpirationTime = t);
+ else {
+ if (!(null !== n && n.childExpirationTime < t)) break;
+ n.childExpirationTime = t
}
+ e = e.return
}
+ }
+
+ function ci(e, t) {
+ ni = e, ri = ai = null, null !== (e = e.dependencies) && null !== e.firstContext && (e.expirationTime >= t && (Vo = !0), e.firstContext = null)
+ }
- function ci(e, t) {
- ni = e, ri = ai = null, null !== (e = e.dependencies) && null !== e.firstContext && (e.expirationTime >= t && (Vo = !0), e.firstContext = null)
+ function ui(e, t) {
+ if (ri !== e && !1 !== t && 0 !== t)
+ if ("number" == typeof t && 1073741823 !== t || (ri = e, t = 1073741823), t = {
+ context: e,
+ observedBits: t,
+ next: null
+ }, null === ai) {
+ if (null === ni) throw Error(o(308));
+ ai = t, ni.dependencies = {
+ expirationTime: 0,
+ firstContext: t,
+ responders: null
+ }
+ } else ai = ai.next = t;
+ return e._currentValue
+ }
+ var di = !1;
+
+ function pi(e) {
+ return {
+ baseState: e,
+ firstUpdate: null,
+ lastUpdate: null,
+ firstCapturedUpdate: null,
+ lastCapturedUpdate: null,
+ firstEffect: null,
+ lastEffect: null,
+ firstCapturedEffect: null,
+ lastCapturedEffect: null
}
+ }
- function ui(e, t) {
- if (ri !== e && !1 !== t && 0 !== t)
- if ("number" == typeof t && 1073741823 !== t || (ri = e, t = 1073741823), t = {
- context: e,
- observedBits: t,
- next: null
- }, null === ai) {
- if (null === ni) throw Error(o(308));
- ai = t, ni.dependencies = {
- expirationTime: 0,
- firstContext: t,
- responders: null
- }
- } else ai = ai.next = t;
- return e._currentValue
+ function hi(e) {
+ return {
+ baseState: e.baseState,
+ firstUpdate: e.firstUpdate,
+ lastUpdate: e.lastUpdate,
+ firstCapturedUpdate: null,
+ lastCapturedUpdate: null,
+ firstEffect: null,
+ lastEffect: null,
+ firstCapturedEffect: null,
+ lastCapturedEffect: null
}
- var di = !1;
+ }
- function pi(e) {
- return {
- baseState: e,
- firstUpdate: null,
- lastUpdate: null,
- firstCapturedUpdate: null,
- lastCapturedUpdate: null,
- firstEffect: null,
- lastEffect: null,
- firstCapturedEffect: null,
- lastCapturedEffect: null
- }
+ function mi(e, t) {
+ return {
+ expirationTime: e,
+ suspenseConfig: t,
+ tag: 0,
+ payload: null,
+ callback: null,
+ next: null,
+ nextEffect: null
}
+ }
- function hi(e) {
- return {
- baseState: e.baseState,
- firstUpdate: e.firstUpdate,
- lastUpdate: e.lastUpdate,
- firstCapturedUpdate: null,
- lastCapturedUpdate: null,
- firstEffect: null,
- lastEffect: null,
- firstCapturedEffect: null,
- lastCapturedEffect: null
- }
+ function fi(e, t) {
+ null === e.lastUpdate ? e.firstUpdate = e.lastUpdate = t : (e.lastUpdate.next = t, e.lastUpdate = t)
+ }
+
+ function gi(e, t) {
+ var n = e.alternate;
+ if (null === n) {
+ var a = e.updateQueue,
+ r = null;
+ null === a && (a = e.updateQueue = pi(e.memoizedState))
+ } else a = e.updateQueue, r = n.updateQueue, null === a ? null === r ? (a = e.updateQueue = pi(e.memoizedState), r = n.updateQueue = pi(n.memoizedState)) : a = e.updateQueue = hi(r) : null === r && (r = n.updateQueue = hi(a));
+ null === r || a === r ? fi(a, t) : null === a.lastUpdate || null === r.lastUpdate ? (fi(a, t), fi(r, t)) : (fi(a, t), r.lastUpdate = t)
+ }
+
+ function bi(e, t) {
+ var n = e.updateQueue;
+ null === (n = null === n ? e.updateQueue = pi(e.memoizedState) : yi(e, n)).lastCapturedUpdate ? n.firstCapturedUpdate = n.lastCapturedUpdate = t : (n.lastCapturedUpdate.next = t, n.lastCapturedUpdate = t)
+ }
+
+ function yi(e, t) {
+ var n = e.alternate;
+ return null !== n && t === n.updateQueue && (t = e.updateQueue = hi(t)), t
+ }
+
+ function vi(e, t, n, a, i, o) {
+ switch (n.tag) {
+ case 1:
+ return "function" == typeof(e = n.payload) ? e.call(o, a, i) : e;
+ case 3:
+ e.effectTag = -4097 & e.effectTag | 64;
+ case 0:
+ if (null == (i = "function" == typeof(e = n.payload) ? e.call(o, a, i) : e)) break;
+ return r({}, a, i);
+ case 2:
+ di = !0
+ }
+ return a
+ }
+
+ function ki(e, t, n, a, r) {
+ di = !1;
+ for (var i = (t = yi(e, t)).baseState, o = null, s = 0, l = t.firstUpdate, c = i; null !== l;) {
+ var u = l.expirationTime;
+ u < r ? (null === o && (o = l, i = c), s < u && (s = u)) : (ml(u, l.suspenseConfig), c = vi(e, 0, l, c, n, a), null !== l.callback && (e.effectTag |= 32, l.nextEffect = null, null === t.lastEffect ? t.firstEffect = t.lastEffect = l : (t.lastEffect.nextEffect = l, t.lastEffect = l))), l = l.next
}
+ for (u = null, l = t.firstCapturedUpdate; null !== l;) {
+ var d = l.expirationTime;
+ d < r ? (null === u && (u = l, null === o && (i = c)), s < d && (s = d)) : (c = vi(e, 0, l, c, n, a), null !== l.callback && (e.effectTag |= 32, l.nextEffect = null, null === t.lastCapturedEffect ? t.firstCapturedEffect = t.lastCapturedEffect = l : (t.lastCapturedEffect.nextEffect = l, t.lastCapturedEffect = l))), l = l.next
+ }
+ null === o && (t.lastUpdate = null), null === u ? t.lastCapturedUpdate = null : e.effectTag |= 32, null === o && null === u && (i = c), t.baseState = i, t.firstUpdate = o, t.firstCapturedUpdate = u, fl(s), e.expirationTime = s, e.memoizedState = c
+ }
- function mi(e, t) {
- return {
- expirationTime: e,
- suspenseConfig: t,
- tag: 0,
- payload: null,
- callback: null,
- next: null,
- nextEffect: null
+ function _i(e, t, n) {
+ null !== t.firstCapturedUpdate && (null !== t.lastUpdate && (t.lastUpdate.next = t.firstCapturedUpdate, t.lastUpdate = t.lastCapturedUpdate), t.firstCapturedUpdate = t.lastCapturedUpdate = null), wi(t.firstEffect, n), t.firstEffect = t.lastEffect = null, wi(t.firstCapturedEffect, n), t.firstCapturedEffect = t.lastCapturedEffect = null
+ }
+
+ function wi(e, t) {
+ for (; null !== e;) {
+ var n = e.callback;
+ if (null !== n) {
+ e.callback = null;
+ var a = t;
+ if ("function" != typeof n) throw Error(o(191, n));
+ n.call(a)
}
+ e = e.nextEffect
}
+ }
+ var Si = I.ReactCurrentBatchConfig,
+ Ei = (new a.Component).refs;
- function fi(e, t) {
- null === e.lastUpdate ? e.firstUpdate = e.lastUpdate = t : (e.lastUpdate.next = t, e.lastUpdate = t)
+ function xi(e, t, n, a) {
+ n = null == (n = n(a, t = e.memoizedState)) ? t : r({}, t, n), e.memoizedState = n, null !== (a = e.updateQueue) && 0 === e.expirationTime && (a.baseState = n)
+ }
+ var Ci = {
+ isMounted: function(e) {
+ return !!(e = e._reactInternalFiber) && tt(e) === e
+ },
+ enqueueSetState: function(e, t, n) {
+ e = e._reactInternalFiber;
+ var a = tl(),
+ r = Si.suspense;
+ (r = mi(a = nl(a, e, r), r)).payload = t, null != n && (r.callback = n), gi(e, r), al(e, a)
+ },
+ enqueueReplaceState: function(e, t, n) {
+ e = e._reactInternalFiber;
+ var a = tl(),
+ r = Si.suspense;
+ (r = mi(a = nl(a, e, r), r)).tag = 1, r.payload = t, null != n && (r.callback = n), gi(e, r), al(e, a)
+ },
+ enqueueForceUpdate: function(e, t) {
+ e = e._reactInternalFiber;
+ var n = tl(),
+ a = Si.suspense;
+ (a = mi(n = nl(n, e, a), a)).tag = 2, null != t && (a.callback = t), gi(e, a), al(e, n)
}
+ };
- function gi(e, t) {
- var n = e.alternate;
- if (null === n) {
- var a = e.updateQueue,
- r = null;
- null === a && (a = e.updateQueue = pi(e.memoizedState))
- } else a = e.updateQueue, r = n.updateQueue, null === a ? null === r ? (a = e.updateQueue = pi(e.memoizedState), r = n.updateQueue = pi(n.memoizedState)) : a = e.updateQueue = hi(r) : null === r && (r = n.updateQueue = hi(a));
- null === r || a === r ? fi(a, t) : null === a.lastUpdate || null === r.lastUpdate ? (fi(a, t), fi(r, t)) : (fi(a, t), r.lastUpdate = t)
- }
+ function Ai(e, t, n, a, r, i, o) {
+ return "function" == typeof(e = e.stateNode).shouldComponentUpdate ? e.shouldComponentUpdate(a, i, o) : !(t.prototype && t.prototype.isPureReactComponent && tr(n, a) && tr(r, i))
+ }
- function bi(e, t) {
- var n = e.updateQueue;
- null === (n = null === n ? e.updateQueue = pi(e.memoizedState) : yi(e, n)).lastCapturedUpdate ? n.firstCapturedUpdate = n.lastCapturedUpdate = t : (n.lastCapturedUpdate.next = t, n.lastCapturedUpdate = t)
- }
+ function Ti(e, t, n) {
+ var a = !1,
+ r = mr,
+ i = t.contextType;
+ return "object" == typeof i && null !== i ? i = ui(i) : (r = vr(t) ? br : fr.current, i = (a = null != (a = t.contextTypes)) ? yr(e, r) : mr), t = new t(n, i), e.memoizedState = null !== t.state && void 0 !== t.state ? t.state : null, t.updater = Ci, e.stateNode = t, t._reactInternalFiber = e, a && ((e = e.stateNode).__reactInternalMemoizedUnmaskedChildContext = r, e.__reactInternalMemoizedMaskedChildContext = i), t
+ }
- function yi(e, t) {
- var n = e.alternate;
- return null !== n && t === n.updateQueue && (t = e.updateQueue = hi(t)), t
- }
+ function Di(e, t, n, a) {
+ e = t.state, "function" == typeof t.componentWillReceiveProps && t.componentWillReceiveProps(n, a), "function" == typeof t.UNSAFE_componentWillReceiveProps && t.UNSAFE_componentWillReceiveProps(n, a), t.state !== e && Ci.enqueueReplaceState(t, t.state, null)
+ }
- function vi(e, t, n, a, i, o) {
- switch (n.tag) {
- case 1:
- return "function" == typeof(e = n.payload) ? e.call(o, a, i) : e;
- case 3:
- e.effectTag = -4097 & e.effectTag | 64;
- case 0:
- if (null == (i = "function" == typeof(e = n.payload) ? e.call(o, a, i) : e)) break;
- return r({}, a, i);
- case 2:
- di = !0
- }
- return a
- }
+ function Pi(e, t, n, a) {
+ var r = e.stateNode;
+ r.props = n, r.state = e.memoizedState, r.refs = Ei;
+ var i = t.contextType;
+ "object" == typeof i && null !== i ? r.context = ui(i) : (i = vr(t) ? br : fr.current, r.context = yr(e, i)), null !== (i = e.updateQueue) && (ki(e, i, n, r, a), r.state = e.memoizedState), "function" == typeof(i = t.getDerivedStateFromProps) && (xi(e, t, i, n), r.state = e.memoizedState), "function" == typeof t.getDerivedStateFromProps || "function" == typeof r.getSnapshotBeforeUpdate || "function" != typeof r.UNSAFE_componentWillMount && "function" != typeof r.componentWillMount || (t = r.state, "function" == typeof r.componentWillMount && r.componentWillMount(), "function" == typeof r.UNSAFE_componentWillMount && r.UNSAFE_componentWillMount(), t !== r.state && Ci.enqueueReplaceState(r, r.state, null), null !== (i = e.updateQueue) && (ki(e, i, n, r, a), r.state = e.memoizedState)), "function" == typeof r.componentDidMount && (e.effectTag |= 4)
+ }
+ var ji = Array.isArray;
+
+ function Mi(e, t, n) {
+ if (null !== (e = n.ref) && "function" != typeof e && "object" != typeof e) {
+ if (n._owner) {
+ if (n = n._owner) {
+ if (1 !== n.tag) throw Error(o(309));
+ var a = n.stateNode
+ }
+ if (!a) throw Error(o(147, e));
+ var r = "" + e;
+ return null !== t && null !== t.ref && "function" == typeof t.ref && t.ref._stringRef === r ? t.ref : (t = function(e) {
+ var t = a.refs;
+ t === Ei && (t = a.refs = {}), null === e ? delete t[r] : t[r] = e
+ }, t._stringRef = r, t)
+ }
+ if ("string" != typeof e) throw Error(o(284));
+ if (!n._owner) throw Error(o(290, e))
+ }
+ return e
+ }
- function ki(e, t, n, a, r) {
- di = !1;
- for (var i = (t = yi(e, t)).baseState, o = null, s = 0, l = t.firstUpdate, c = i; null !== l;) {
- var u = l.expirationTime;
- u < r ? (null === o && (o = l, i = c), s < u && (s = u)) : (ml(u, l.suspenseConfig), c = vi(e, 0, l, c, n, a), null !== l.callback && (e.effectTag |= 32, l.nextEffect = null, null === t.lastEffect ? t.firstEffect = t.lastEffect = l : (t.lastEffect.nextEffect = l, t.lastEffect = l))), l = l.next
- }
- for (u = null, l = t.firstCapturedUpdate; null !== l;) {
- var d = l.expirationTime;
- d < r ? (null === u && (u = l, null === o && (i = c)), s < d && (s = d)) : (c = vi(e, 0, l, c, n, a), null !== l.callback && (e.effectTag |= 32, l.nextEffect = null, null === t.lastCapturedEffect ? t.firstCapturedEffect = t.lastCapturedEffect = l : (t.lastCapturedEffect.nextEffect = l, t.lastCapturedEffect = l))), l = l.next
+ function Ii(e, t) {
+ if ("textarea" !== e.type) throw Error(o(31, "[object Object]" === Object.prototype.toString.call(t) ? "object with keys {" + Object.keys(t).join(", ") + "}" : t, ""))
+ }
+
+ function Oi(e) {
+ function t(t, n) {
+ if (e) {
+ var a = t.lastEffect;
+ null !== a ? (a.nextEffect = n, t.lastEffect = n) : t.firstEffect = t.lastEffect = n, n.nextEffect = null, n.effectTag = 8
}
- null === o && (t.lastUpdate = null), null === u ? t.lastCapturedUpdate = null : e.effectTag |= 32, null === o && null === u && (i = c), t.baseState = i, t.firstUpdate = o, t.firstCapturedUpdate = u, fl(s), e.expirationTime = s, e.memoizedState = c
}
- function _i(e, t, n) {
- null !== t.firstCapturedUpdate && (null !== t.lastUpdate && (t.lastUpdate.next = t.firstCapturedUpdate, t.lastUpdate = t.lastCapturedUpdate), t.firstCapturedUpdate = t.lastCapturedUpdate = null), wi(t.firstEffect, n), t.firstEffect = t.lastEffect = null, wi(t.firstCapturedEffect, n), t.firstCapturedEffect = t.lastCapturedEffect = null
+ function n(n, a) {
+ if (!e) return null;
+ for (; null !== a;) t(n, a), a = a.sibling;
+ return null
}
- function wi(e, t) {
- for (; null !== e;) {
- var n = e.callback;
- if (null !== n) {
- e.callback = null;
- var a = t;
- if ("function" != typeof n) throw Error(o(191, n));
- n.call(a)
- }
- e = e.nextEffect
- }
+ function a(e, t) {
+ for (e = new Map; null !== t;) null !== t.key ? e.set(t.key, t) : e.set(t.index, t), t = t.sibling;
+ return e
}
- var Si = M.ReactCurrentBatchConfig,
- Ei = (new a.Component).refs;
- function xi(e, t, n, a) {
- n = null == (n = n(a, t = e.memoizedState)) ? t : r({}, t, n), e.memoizedState = n, null !== (a = e.updateQueue) && 0 === e.expirationTime && (a.baseState = n)
+ function r(e, t, n) {
+ return (e = Nl(e, t)).index = 0, e.sibling = null, e
}
- var Ci = {
- isMounted: function(e) {
- return !!(e = e._reactInternalFiber) && tt(e) === e
- },
- enqueueSetState: function(e, t, n) {
- e = e._reactInternalFiber;
- var a = tl(),
- r = Si.suspense;
- (r = mi(a = nl(a, e, r), r)).payload = t, null != n && (r.callback = n), gi(e, r), al(e, a)
- },
- enqueueReplaceState: function(e, t, n) {
- e = e._reactInternalFiber;
- var a = tl(),
- r = Si.suspense;
- (r = mi(a = nl(a, e, r), r)).tag = 1, r.payload = t, null != n && (r.callback = n), gi(e, r), al(e, a)
- },
- enqueueForceUpdate: function(e, t) {
- e = e._reactInternalFiber;
- var n = tl(),
- a = Si.suspense;
- (a = mi(n = nl(n, e, a), a)).tag = 2, null != t && (a.callback = t), gi(e, a), al(e, n)
- }
- };
- function Ai(e, t, n, a, r, i, o) {
- return "function" == typeof(e = e.stateNode).shouldComponentUpdate ? e.shouldComponentUpdate(a, i, o) : !(t.prototype && t.prototype.isPureReactComponent && tr(n, a) && tr(r, i))
+ function i(t, n, a) {
+ return t.index = a, e ? null !== (a = t.alternate) ? (a = a.index) < n ? (t.effectTag = 2, n) : a : (t.effectTag = 2, n) : n
}
- function ji(e, t, n) {
- var a = !1,
- r = mr,
- i = t.contextType;
- return "object" == typeof i && null !== i ? i = ui(i) : (r = vr(t) ? br : fr.current, i = (a = null != (a = t.contextTypes)) ? yr(e, r) : mr), t = new t(n, i), e.memoizedState = null !== t.state && void 0 !== t.state ? t.state : null, t.updater = Ci, e.stateNode = t, t._reactInternalFiber = e, a && ((e = e.stateNode).__reactInternalMemoizedUnmaskedChildContext = r, e.__reactInternalMemoizedMaskedChildContext = i), t
+ function s(t) {
+ return e && null === t.alternate && (t.effectTag = 2), t
}
- function Pi(e, t, n, a) {
- e = t.state, "function" == typeof t.componentWillReceiveProps && t.componentWillReceiveProps(n, a), "function" == typeof t.UNSAFE_componentWillReceiveProps && t.UNSAFE_componentWillReceiveProps(n, a), t.state !== e && Ci.enqueueReplaceState(t, t.state, null)
+ function l(e, t, n, a) {
+ return null === t || 6 !== t.tag ? ((t = Ll(n, e.mode, a)).return = e, t) : ((t = r(t, n)).return = e, t)
}
- function Di(e, t, n, a) {
- var r = e.stateNode;
- r.props = n, r.state = e.memoizedState, r.refs = Ei;
- var i = t.contextType;
- "object" == typeof i && null !== i ? r.context = ui(i) : (i = vr(t) ? br : fr.current, r.context = yr(e, i)), null !== (i = e.updateQueue) && (ki(e, i, n, r, a), r.state = e.memoizedState), "function" == typeof(i = t.getDerivedStateFromProps) && (xi(e, t, i, n), r.state = e.memoizedState), "function" == typeof t.getDerivedStateFromProps || "function" == typeof r.getSnapshotBeforeUpdate || "function" != typeof r.UNSAFE_componentWillMount && "function" != typeof r.componentWillMount || (t = r.state, "function" == typeof r.componentWillMount && r.componentWillMount(), "function" == typeof r.UNSAFE_componentWillMount && r.UNSAFE_componentWillMount(), t !== r.state && Ci.enqueueReplaceState(r, r.state, null), null !== (i = e.updateQueue) && (ki(e, i, n, r, a), r.state = e.memoizedState)), "function" == typeof r.componentDidMount && (e.effectTag |= 4)
+ function c(e, t, n, a) {
+ return null !== t && t.elementType === n.type ? ((a = r(t, n.props)).ref = Mi(e, t, n), a.return = e, a) : ((a = Rl(n.type, n.key, n.props, null, e.mode, a)).ref = Mi(e, t, n), a.return = e, a)
}
- var Ti = Array.isArray;
- function Oi(e, t, n) {
- if (null !== (e = n.ref) && "function" != typeof e && "object" != typeof e) {
- if (n._owner) {
- if (n = n._owner) {
- if (1 !== n.tag) throw Error(o(309));
- var a = n.stateNode
- }
- if (!a) throw Error(o(147, e));
- var r = "" + e;
- return null !== t && null !== t.ref && "function" == typeof t.ref && t.ref._stringRef === r ? t.ref : (t = function(e) {
- var t = a.refs;
- t === Ei && (t = a.refs = {}), null === e ? delete t[r] : t[r] = e
- }, t._stringRef = r, t)
- }
- if ("string" != typeof e) throw Error(o(284));
- if (!n._owner) throw Error(o(290, e))
- }
- return e
+ function u(e, t, n, a) {
+ return null === t || 4 !== t.tag || t.stateNode.containerInfo !== n.containerInfo || t.stateNode.implementation !== n.implementation ? ((t = Fl(n, e.mode, a)).return = e, t) : ((t = r(t, n.children || [])).return = e, t)
}
- function Mi(e, t) {
- if ("textarea" !== e.type) throw Error(o(31, "[object Object]" === Object.prototype.toString.call(t) ? "object with keys {" + Object.keys(t).join(", ") + "}" : t, ""))
+ function d(e, t, n, a, i) {
+ return null === t || 7 !== t.tag ? ((t = zl(n, e.mode, a, i)).return = e, t) : ((t = r(t, n)).return = e, t)
}
- function Ii(e) {
- function t(t, n) {
- if (e) {
- var a = t.lastEffect;
- null !== a ? (a.nextEffect = n, t.lastEffect = n) : t.firstEffect = t.lastEffect = n, n.nextEffect = null, n.effectTag = 8
+ function p(e, t, n) {
+ if ("string" == typeof t || "number" == typeof t) return (t = Ll("" + t, e.mode, n)).return = e, t;
+ if ("object" == typeof t && null !== t) {
+ switch (t.$$typeof) {
+ case R:
+ return (n = Rl(t.type, t.key, t.props, null, e.mode, n)).ref = Mi(e, null, t), n.return = e, n;
+ case z:
+ return (t = Fl(t, e.mode, n)).return = e, t
}
+ if (ji(t) || J(t)) return (t = zl(t, e.mode, n, null)).return = e, t;
+ Ii(e, t)
}
+ return null
+ }
- function n(n, a) {
- if (!e) return null;
- for (; null !== a;) t(n, a), a = a.sibling;
- return null
- }
-
- function a(e, t) {
- for (e = new Map; null !== t;) null !== t.key ? e.set(t.key, t) : e.set(t.index, t), t = t.sibling;
- return e
- }
-
- function r(e, t, n) {
- return (e = Nl(e, t)).index = 0, e.sibling = null, e
- }
-
- function i(t, n, a) {
- return t.index = a, e ? null !== (a = t.alternate) ? (a = a.index) < n ? (t.effectTag = 2, n) : a : (t.effectTag = 2, n) : n
- }
-
- function s(t) {
- return e && null === t.alternate && (t.effectTag = 2), t
- }
-
- function l(e, t, n, a) {
- return null === t || 6 !== t.tag ? ((t = Ll(n, e.mode, a)).return = e, t) : ((t = r(t, n)).return = e, t)
- }
-
- function c(e, t, n, a) {
- return null !== t && t.elementType === n.type ? ((a = r(t, n.props)).ref = Oi(e, t, n), a.return = e, a) : ((a = zl(n.type, n.key, n.props, null, e.mode, a)).ref = Oi(e, t, n), a.return = e, a)
- }
-
- function u(e, t, n, a) {
- return null === t || 4 !== t.tag || t.stateNode.containerInfo !== n.containerInfo || t.stateNode.implementation !== n.implementation ? ((t = Fl(n, e.mode, a)).return = e, t) : ((t = r(t, n.children || [])).return = e, t)
- }
-
- function d(e, t, n, a, i) {
- return null === t || 7 !== t.tag ? ((t = Rl(n, e.mode, a, i)).return = e, t) : ((t = r(t, n)).return = e, t)
- }
-
- function p(e, t, n) {
- if ("string" == typeof t || "number" == typeof t) return (t = Ll("" + t, e.mode, n)).return = e, t;
- if ("object" == typeof t && null !== t) {
- switch (t.$$typeof) {
- case z:
- return (n = zl(t.type, t.key, t.props, null, e.mode, n)).ref = Oi(e, null, t), n.return = e, n;
- case R:
- return (t = Fl(t, e.mode, n)).return = e, t
- }
- if (Ti(t) || J(t)) return (t = Rl(t, e.mode, n, null)).return = e, t;
- Mi(e, t)
+ function h(e, t, n, a) {
+ var r = null !== t ? t.key : null;
+ if ("string" == typeof n || "number" == typeof n) return null !== r ? null : l(e, t, "" + n, a);
+ if ("object" == typeof n && null !== n) {
+ switch (n.$$typeof) {
+ case R:
+ return n.key === r ? n.type === L ? d(e, t, n.props.children, a, r) : c(e, t, n, a) : null;
+ case z:
+ return n.key === r ? u(e, t, n, a) : null
}
- return null
+ if (ji(n) || J(n)) return null !== r ? null : d(e, t, n, a, null);
+ Ii(e, n)
}
+ return null
+ }
- function h(e, t, n, a) {
- var r = null !== t ? t.key : null;
- if ("string" == typeof n || "number" == typeof n) return null !== r ? null : l(e, t, "" + n, a);
- if ("object" == typeof n && null !== n) {
- switch (n.$$typeof) {
- case z:
- return n.key === r ? n.type === L ? d(e, t, n.props.children, a, r) : c(e, t, n, a) : null;
- case R:
- return n.key === r ? u(e, t, n, a) : null
- }
- if (Ti(n) || J(n)) return null !== r ? null : d(e, t, n, a, null);
- Mi(e, n)
+ function m(e, t, n, a, r) {
+ if ("string" == typeof a || "number" == typeof a) return l(t, e = e.get(n) || null, "" + a, r);
+ if ("object" == typeof a && null !== a) {
+ switch (a.$$typeof) {
+ case R:
+ return e = e.get(null === a.key ? n : a.key) || null, a.type === L ? d(t, e, a.props.children, r, a.key) : c(t, e, a, r);
+ case z:
+ return u(t, e = e.get(null === a.key ? n : a.key) || null, a, r)
}
- return null
+ if (ji(a) || J(a)) return d(t, e = e.get(n) || null, a, r, null);
+ Ii(t, a)
}
+ return null
+ }
- function m(e, t, n, a, r) {
- if ("string" == typeof a || "number" == typeof a) return l(t, e = e.get(n) || null, "" + a, r);
- if ("object" == typeof a && null !== a) {
- switch (a.$$typeof) {
- case z:
- return e = e.get(null === a.key ? n : a.key) || null, a.type === L ? d(t, e, a.props.children, r, a.key) : c(t, e, a, r);
- case R:
- return u(t, e = e.get(null === a.key ? n : a.key) || null, a, r)
- }
- if (Ti(a) || J(a)) return d(t, e = e.get(n) || null, a, r, null);
- Mi(t, a)
+ function f(r, o, s, l) {
+ for (var c = null, u = null, d = o, f = o = 0, g = null; null !== d && f < s.length; f++) {
+ d.index > f ? (g = d, d = null) : g = d.sibling;
+ var b = h(r, d, s[f], l);
+ if (null === b) {
+ null === d && (d = g);
+ break
}
- return null
+ e && d && null === b.alternate && t(r, d), o = i(b, o, f), null === u ? c = b : u.sibling = b, u = b, d = g
}
-
- function f(r, o, s, l) {
- for (var c = null, u = null, d = o, f = o = 0, g = null; null !== d && f < s.length; f++) {
- d.index > f ? (g = d, d = null) : g = d.sibling;
- var b = h(r, d, s[f], l);
- if (null === b) {
- null === d && (d = g);
- break
- }
- e && d && null === b.alternate && t(r, d), o = i(b, o, f), null === u ? c = b : u.sibling = b, u = b, d = g
- }
- if (f === s.length) return n(r, d), c;
- if (null === d) {
- for (; f < s.length; f++) null !== (d = p(r, s[f], l)) && (o = i(d, o, f), null === u ? c = d : u.sibling = d, u = d);
- return c
- }
- for (d = a(r, d); f < s.length; f++) null !== (g = m(d, r, f, s[f], l)) && (e && null !== g.alternate && d.delete(null === g.key ? f : g.key), o = i(g, o, f), null === u ? c = g : u.sibling = g, u = g);
- return e && d.forEach((function(e) {
- return t(r, e)
- })), c
- }
-
- function g(r, s, l, c) {
- var u = J(l);
- if ("function" != typeof u) throw Error(o(150));
- if (null == (l = u.call(l))) throw Error(o(151));
- for (var d = u = null, f = s, g = s = 0, b = null, y = l.next(); null !== f && !y.done; g++, y = l.next()) {
- f.index > g ? (b = f, f = null) : b = f.sibling;
- var v = h(r, f, y.value, c);
- if (null === v) {
- null === f && (f = b);
- break
- }
- e && f && null === v.alternate && t(r, f), s = i(v, s, g), null === d ? u = v : d.sibling = v, d = v, f = b
- }
- if (y.done) return n(r, f), u;
- if (null === f) {
- for (; !y.done; g++, y = l.next()) null !== (y = p(r, y.value, c)) && (s = i(y, s, g), null === d ? u = y : d.sibling = y, d = y);
- return u
+ if (f === s.length) return n(r, d), c;
+ if (null === d) {
+ for (; f < s.length; f++) null !== (d = p(r, s[f], l)) && (o = i(d, o, f), null === u ? c = d : u.sibling = d, u = d);
+ return c
+ }
+ for (d = a(r, d); f < s.length; f++) null !== (g = m(d, r, f, s[f], l)) && (e && null !== g.alternate && d.delete(null === g.key ? f : g.key), o = i(g, o, f), null === u ? c = g : u.sibling = g, u = g);
+ return e && d.forEach((function(e) {
+ return t(r, e)
+ })), c
+ }
+
+ function g(r, s, l, c) {
+ var u = J(l);
+ if ("function" != typeof u) throw Error(o(150));
+ if (null == (l = u.call(l))) throw Error(o(151));
+ for (var d = u = null, f = s, g = s = 0, b = null, y = l.next(); null !== f && !y.done; g++, y = l.next()) {
+ f.index > g ? (b = f, f = null) : b = f.sibling;
+ var v = h(r, f, y.value, c);
+ if (null === v) {
+ null === f && (f = b);
+ break
}
- for (f = a(r, f); !y.done; g++, y = l.next()) null !== (y = m(f, r, g, y.value, c)) && (e && null !== y.alternate && f.delete(null === y.key ? g : y.key), s = i(y, s, g), null === d ? u = y : d.sibling = y, d = y);
- return e && f.forEach((function(e) {
- return t(r, e)
- })), u
+ e && f && null === v.alternate && t(r, f), s = i(v, s, g), null === d ? u = v : d.sibling = v, d = v, f = b
}
- return function(e, a, i, l) {
- var c = "object" == typeof i && null !== i && i.type === L && null === i.key;
- c && (i = i.props.children);
- var u = "object" == typeof i && null !== i;
- if (u) switch (i.$$typeof) {
- case z:
- e: {
- for (u = i.key, c = a; null !== c;) {
- if (c.key === u) {
- if (7 === c.tag ? i.type === L : c.elementType === i.type) {
- n(e, c.sibling), (a = r(c, i.type === L ? i.props.children : i.props)).ref = Oi(e, c, i), a.return = e, e = a;
- break e
- }
- n(e, c);
- break
+ if (y.done) return n(r, f), u;
+ if (null === f) {
+ for (; !y.done; g++, y = l.next()) null !== (y = p(r, y.value, c)) && (s = i(y, s, g), null === d ? u = y : d.sibling = y, d = y);
+ return u
+ }
+ for (f = a(r, f); !y.done; g++, y = l.next()) null !== (y = m(f, r, g, y.value, c)) && (e && null !== y.alternate && f.delete(null === y.key ? g : y.key), s = i(y, s, g), null === d ? u = y : d.sibling = y, d = y);
+ return e && f.forEach((function(e) {
+ return t(r, e)
+ })), u
+ }
+ return function(e, a, i, l) {
+ var c = "object" == typeof i && null !== i && i.type === L && null === i.key;
+ c && (i = i.props.children);
+ var u = "object" == typeof i && null !== i;
+ if (u) switch (i.$$typeof) {
+ case R:
+ e: {
+ for (u = i.key, c = a; null !== c;) {
+ if (c.key === u) {
+ if (7 === c.tag ? i.type === L : c.elementType === i.type) {
+ n(e, c.sibling), (a = r(c, i.type === L ? i.props.children : i.props)).ref = Mi(e, c, i), a.return = e, e = a;
+ break e
}
- t(e, c), c = c.sibling
+ n(e, c);
+ break
}
- i.type === L ? ((a = Rl(i.props.children, e.mode, l, i.key)).return = e, e = a) : ((l = zl(i.type, i.key, i.props, null, e.mode, l)).ref = Oi(e, a, i), l.return = e, e = l)
+ t(e, c), c = c.sibling
}
- return s(e);
- case R:
- e: {
- for (c = i.key; null !== a;) {
- if (a.key === c) {
- if (4 === a.tag && a.stateNode.containerInfo === i.containerInfo && a.stateNode.implementation === i.implementation) {
- n(e, a.sibling), (a = r(a, i.children || [])).return = e, e = a;
- break e
- }
- n(e, a);
- break
+ i.type === L ? ((a = zl(i.props.children, e.mode, l, i.key)).return = e, e = a) : ((l = Rl(i.type, i.key, i.props, null, e.mode, l)).ref = Mi(e, a, i), l.return = e, e = l)
+ }
+ return s(e);
+ case z:
+ e: {
+ for (c = i.key; null !== a;) {
+ if (a.key === c) {
+ if (4 === a.tag && a.stateNode.containerInfo === i.containerInfo && a.stateNode.implementation === i.implementation) {
+ n(e, a.sibling), (a = r(a, i.children || [])).return = e, e = a;
+ break e
}
- t(e, a), a = a.sibling
- }(a = Fl(i, e.mode, l)).return = e,
- e = a
- }
- return s(e)
- }
- if ("string" == typeof i || "number" == typeof i) return i = "" + i, null !== a && 6 === a.tag ? (n(e, a.sibling), (a = r(a, i)).return = e, e = a) : (n(e, a), (a = Ll(i, e.mode, l)).return = e, e = a), s(e);
- if (Ti(i)) return f(e, a, i, l);
- if (J(i)) return g(e, a, i, l);
- if (u && Mi(e, i), void 0 === i && !c) switch (e.tag) {
- case 1:
- case 0:
- throw e = e.type, Error(o(152, e.displayName || e.name || "Component"))
- }
- return n(e, a)
+ n(e, a);
+ break
+ }
+ t(e, a), a = a.sibling
+ }(a = Fl(i, e.mode, l)).return = e,
+ e = a
+ }
+ return s(e)
+ }
+ if ("string" == typeof i || "number" == typeof i) return i = "" + i, null !== a && 6 === a.tag ? (n(e, a.sibling), (a = r(a, i)).return = e, e = a) : (n(e, a), (a = Ll(i, e.mode, l)).return = e, e = a), s(e);
+ if (ji(i)) return f(e, a, i, l);
+ if (J(i)) return g(e, a, i, l);
+ if (u && Ii(e, i), void 0 === i && !c) switch (e.tag) {
+ case 1:
+ case 0:
+ throw e = e.type, Error(o(152, e.displayName || e.name || "Component"))
}
+ return n(e, a)
}
- var Ni = Ii(!0),
- zi = Ii(!1),
- Ri = {},
- Li = {
- current: Ri
- },
- Fi = {
- current: Ri
- },
- qi = {
- current: Ri
- };
+ }
+ var Ni = Oi(!0),
+ Ri = Oi(!1),
+ zi = {},
+ Li = {
+ current: zi
+ },
+ Fi = {
+ current: zi
+ },
+ qi = {
+ current: zi
+ };
- function Bi(e) {
- if (e === Ri) throw Error(o(174));
- return e
- }
+ function Bi(e) {
+ if (e === zi) throw Error(o(174));
+ return e
+ }
- function Ui(e, t) {
- hr(qi, t), hr(Fi, e), hr(Li, Ri);
- var n = t.nodeType;
- switch (n) {
- case 9:
- case 11:
- t = (t = t.documentElement) ? t.namespaceURI : qe(null, "");
- break;
- default:
- t = qe(t = (n = 8 === n ? t.parentNode : t).namespaceURI || null, n = n.tagName)
- }
- pr(Li), hr(Li, t)
- }
+ function Ui(e, t) {
+ hr(qi, t), hr(Fi, e), hr(Li, zi);
+ var n = t.nodeType;
+ switch (n) {
+ case 9:
+ case 11:
+ t = (t = t.documentElement) ? t.namespaceURI : qe(null, "");
+ break;
+ default:
+ t = qe(t = (n = 8 === n ? t.parentNode : t).namespaceURI || null, n = n.tagName)
+ }
+ pr(Li), hr(Li, t)
+ }
- function Hi(e) {
- pr(Li), pr(Fi), pr(qi)
- }
+ function Hi(e) {
+ pr(Li), pr(Fi), pr(qi)
+ }
- function Vi(e) {
- Bi(qi.current);
- var t = Bi(Li.current),
- n = qe(t, e.type);
- t !== n && (hr(Fi, e), hr(Li, n))
- }
+ function Vi(e) {
+ Bi(qi.current);
+ var t = Bi(Li.current),
+ n = qe(t, e.type);
+ t !== n && (hr(Fi, e), hr(Li, n))
+ }
- function Wi(e) {
- Fi.current === e && (pr(Li), pr(Fi))
- }
- var Yi = {
- current: 0
- };
+ function Wi(e) {
+ Fi.current === e && (pr(Li), pr(Fi))
+ }
+ var Yi = {
+ current: 0
+ };
- function Gi(e) {
- for (var t = e; null !== t;) {
- if (13 === t.tag) {
- var n = t.memoizedState;
- if (null !== n && (null === (n = n.dehydrated) || n.data === Zn || n.data === Qn)) return t
- } else if (19 === t.tag && void 0 !== t.memoizedProps.revealOrder) {
- if (0 != (64 & t.effectTag)) return t
- } else if (null !== t.child) {
- t.child.return = t, t = t.child;
- continue
- }
- if (t === e) break;
- for (; null === t.sibling;) {
- if (null === t.return || t.return === e) return null;
- t = t.return
- }
- t.sibling.return = t.return, t = t.sibling
- }
- return null
- }
+ function Gi(e) {
+ for (var t = e; null !== t;) {
+ if (13 === t.tag) {
+ var n = t.memoizedState;
+ if (null !== n && (null === (n = n.dehydrated) || n.data === Zn || n.data === Qn)) return t
+ } else if (19 === t.tag && void 0 !== t.memoizedProps.revealOrder) {
+ if (0 != (64 & t.effectTag)) return t
+ } else if (null !== t.child) {
+ t.child.return = t, t = t.child;
+ continue
+ }
+ if (t === e) break;
+ for (; null === t.sibling;) {
+ if (null === t.return || t.return === e) return null;
+ t = t.return
+ }
+ t.sibling.return = t.return, t = t.sibling
+ }
+ return null
+ }
- function Ki(e, t) {
- return {
- responder: e,
- props: t
- }
- }
- var $i = M.ReactCurrentDispatcher,
- Ji = M.ReactCurrentBatchConfig,
- Zi = 0,
- Qi = null,
- Xi = null,
- eo = null,
- to = null,
- no = null,
- ao = null,
- ro = 0,
- io = null,
- oo = 0,
- so = !1,
- lo = null,
- co = 0;
-
- function uo() {
- throw Error(o(321))
- }
-
- function po(e, t) {
- if (null === t) return !1;
- for (var n = 0; n < t.length && n < e.length; n++)
- if (!Xa(e[n], t[n])) return !1;
- return !0
+ function Ki(e, t) {
+ return {
+ responder: e,
+ props: t
}
+ }
+ var $i = I.ReactCurrentDispatcher,
+ Ji = I.ReactCurrentBatchConfig,
+ Zi = 0,
+ Qi = null,
+ Xi = null,
+ eo = null,
+ to = null,
+ no = null,
+ ao = null,
+ ro = 0,
+ io = null,
+ oo = 0,
+ so = !1,
+ lo = null,
+ co = 0;
+
+ function uo() {
+ throw Error(o(321))
+ }
- function ho(e, t, n, a, r, i) {
- if (Zi = i, Qi = t, eo = null !== e ? e.memoizedState : null, $i.current = null === eo ? Oo : Mo, t = n(a, r), so) {
- do {
- so = !1, co += 1, eo = null !== e ? e.memoizedState : null, ao = to, io = no = Xi = null, $i.current = Mo, t = n(a, r)
- } while (so);
- lo = null, co = 0
- }
- if ($i.current = To, (e = Qi).memoizedState = to, e.expirationTime = ro, e.updateQueue = io, e.effectTag |= oo, e = null !== Xi && null !== Xi.next, Zi = 0, ao = no = to = eo = Xi = Qi = null, ro = 0, io = null, oo = 0, e) throw Error(o(300));
- return t
- }
+ function po(e, t) {
+ if (null === t) return !1;
+ for (var n = 0; n < t.length && n < e.length; n++)
+ if (!Xa(e[n], t[n])) return !1;
+ return !0
+ }
- function mo() {
- $i.current = To, Zi = 0, ao = no = to = eo = Xi = Qi = null, ro = 0, io = null, oo = 0, so = !1, lo = null, co = 0
+ function ho(e, t, n, a, r, i) {
+ if (Zi = i, Qi = t, eo = null !== e ? e.memoizedState : null, $i.current = null === eo ? Mo : Io, t = n(a, r), so) {
+ do {
+ so = !1, co += 1, eo = null !== e ? e.memoizedState : null, ao = to, io = no = Xi = null, $i.current = Io, t = n(a, r)
+ } while (so);
+ lo = null, co = 0
}
+ if ($i.current = jo, (e = Qi).memoizedState = to, e.expirationTime = ro, e.updateQueue = io, e.effectTag |= oo, e = null !== Xi && null !== Xi.next, Zi = 0, ao = no = to = eo = Xi = Qi = null, ro = 0, io = null, oo = 0, e) throw Error(o(300));
+ return t
+ }
+
+ function mo() {
+ $i.current = jo, Zi = 0, ao = no = to = eo = Xi = Qi = null, ro = 0, io = null, oo = 0, so = !1, lo = null, co = 0
+ }
+
+ function fo() {
+ var e = {
+ memoizedState: null,
+ baseState: null,
+ queue: null,
+ baseUpdate: null,
+ next: null
+ };
+ return null === no ? to = no = e : no = no.next = e, no
+ }
- function fo() {
+ function go() {
+ if (null !== ao) ao = (no = ao).next, eo = null !== (Xi = eo) ? Xi.next : null;
+ else {
+ if (null === eo) throw Error(o(310));
var e = {
- memoizedState: null,
- baseState: null,
- queue: null,
- baseUpdate: null,
+ memoizedState: (Xi = eo).memoizedState,
+ baseState: Xi.baseState,
+ queue: Xi.queue,
+ baseUpdate: Xi.baseUpdate,
next: null
};
- return null === no ? to = no = e : no = no.next = e, no
- }
-
- function go() {
- if (null !== ao) ao = (no = ao).next, eo = null !== (Xi = eo) ? Xi.next : null;
- else {
- if (null === eo) throw Error(o(310));
- var e = {
- memoizedState: (Xi = eo).memoizedState,
- baseState: Xi.baseState,
- queue: Xi.queue,
- baseUpdate: Xi.baseUpdate,
- next: null
- };
- no = null === no ? to = e : no.next = e, eo = Xi.next
- }
- return no
+ no = null === no ? to = e : no.next = e, eo = Xi.next
}
+ return no
+ }
- function bo(e, t) {
- return "function" == typeof t ? t(e) : t
- }
+ function bo(e, t) {
+ return "function" == typeof t ? t(e) : t
+ }
- function yo(e) {
- var t = go(),
- n = t.queue;
- if (null === n) throw Error(o(311));
- if (n.lastRenderedReducer = e, 0 < co) {
- var a = n.dispatch;
- if (null !== lo) {
- var r = lo.get(n);
- if (void 0 !== r) {
- lo.delete(n);
- var i = t.memoizedState;
- do {
- i = e(i, r.action), r = r.next
- } while (null !== r);
- return Xa(i, t.memoizedState) || (Vo = !0), t.memoizedState = i, t.baseUpdate === n.last && (t.baseState = i), n.lastRenderedState = i, [i, a]
- }
- }
- return [t.memoizedState, a]
- }
- a = n.last;
- var s = t.baseUpdate;
- if (i = t.baseState, null !== s ? (null !== a && (a.next = null), a = s.next) : a = null !== a ? a.next : null, null !== a) {
- var l = r = null,
- c = a,
- u = !1;
- do {
- var d = c.expirationTime;
- d < Zi ? (u || (u = !0, l = s, r = i), d > ro && fl(ro = d)) : (ml(d, c.suspenseConfig), i = c.eagerReducer === e ? c.eagerState : e(i, c.action)), s = c, c = c.next
- } while (null !== c && c !== a);
- u || (l = s, r = i), Xa(i, t.memoizedState) || (Vo = !0), t.memoizedState = i, t.baseUpdate = l, t.baseState = r, n.lastRenderedState = i
- }
- return [t.memoizedState, n.dispatch]
+ function yo(e) {
+ var t = go(),
+ n = t.queue;
+ if (null === n) throw Error(o(311));
+ if (n.lastRenderedReducer = e, 0 < co) {
+ var a = n.dispatch;
+ if (null !== lo) {
+ var r = lo.get(n);
+ if (void 0 !== r) {
+ lo.delete(n);
+ var i = t.memoizedState;
+ do {
+ i = e(i, r.action), r = r.next
+ } while (null !== r);
+ return Xa(i, t.memoizedState) || (Vo = !0), t.memoizedState = i, t.baseUpdate === n.last && (t.baseState = i), n.lastRenderedState = i, [i, a]
+ }
+ }
+ return [t.memoizedState, a]
+ }
+ a = n.last;
+ var s = t.baseUpdate;
+ if (i = t.baseState, null !== s ? (null !== a && (a.next = null), a = s.next) : a = null !== a ? a.next : null, null !== a) {
+ var l = r = null,
+ c = a,
+ u = !1;
+ do {
+ var d = c.expirationTime;
+ d < Zi ? (u || (u = !0, l = s, r = i), d > ro && fl(ro = d)) : (ml(d, c.suspenseConfig), i = c.eagerReducer === e ? c.eagerState : e(i, c.action)), s = c, c = c.next
+ } while (null !== c && c !== a);
+ u || (l = s, r = i), Xa(i, t.memoizedState) || (Vo = !0), t.memoizedState = i, t.baseUpdate = l, t.baseState = r, n.lastRenderedState = i
}
+ return [t.memoizedState, n.dispatch]
+ }
- function vo(e) {
- var t = fo();
- return "function" == typeof e && (e = e()), t.memoizedState = t.baseState = e, e = (e = t.queue = {
- last: null,
- dispatch: null,
- lastRenderedReducer: bo,
- lastRenderedState: e
- }).dispatch = Do.bind(null, Qi, e), [t.memoizedState, e]
- }
+ function vo(e) {
+ var t = fo();
+ return "function" == typeof e && (e = e()), t.memoizedState = t.baseState = e, e = (e = t.queue = {
+ last: null,
+ dispatch: null,
+ lastRenderedReducer: bo,
+ lastRenderedState: e
+ }).dispatch = Po.bind(null, Qi, e), [t.memoizedState, e]
+ }
- function ko(e) {
- return yo(bo)
- }
+ function ko(e) {
+ return yo(bo)
+ }
- function _o(e, t, n, a) {
- return e = {
- tag: e,
- create: t,
- destroy: n,
- deps: a,
- next: null
- }, null === io ? (io = {
- lastEffect: null
- }).lastEffect = e.next = e : null === (t = io.lastEffect) ? io.lastEffect = e.next = e : (n = t.next, t.next = e, e.next = n, io.lastEffect = e), e
- }
+ function _o(e, t, n, a) {
+ return e = {
+ tag: e,
+ create: t,
+ destroy: n,
+ deps: a,
+ next: null
+ }, null === io ? (io = {
+ lastEffect: null
+ }).lastEffect = e.next = e : null === (t = io.lastEffect) ? io.lastEffect = e.next = e : (n = t.next, t.next = e, e.next = n, io.lastEffect = e), e
+ }
- function wo(e, t, n, a) {
- var r = fo();
- oo |= e, r.memoizedState = _o(t, n, void 0, void 0 === a ? null : a)
- }
+ function wo(e, t, n, a) {
+ var r = fo();
+ oo |= e, r.memoizedState = _o(t, n, void 0, void 0 === a ? null : a)
+ }
- function So(e, t, n, a) {
- var r = go();
- a = void 0 === a ? null : a;
- var i = void 0;
- if (null !== Xi) {
- var o = Xi.memoizedState;
- if (i = o.destroy, null !== a && po(a, o.deps)) return void _o(0, n, i, a)
- }
- oo |= e, r.memoizedState = _o(t, n, i, a)
+ function So(e, t, n, a) {
+ var r = go();
+ a = void 0 === a ? null : a;
+ var i = void 0;
+ if (null !== Xi) {
+ var o = Xi.memoizedState;
+ if (i = o.destroy, null !== a && po(a, o.deps)) return void _o(0, n, i, a)
}
+ oo |= e, r.memoizedState = _o(t, n, i, a)
+ }
- function Eo(e, t) {
- return wo(516, 192, e, t)
- }
+ function Eo(e, t) {
+ return wo(516, 192, e, t)
+ }
- function xo(e, t) {
- return So(516, 192, e, t)
- }
+ function xo(e, t) {
+ return So(516, 192, e, t)
+ }
- function Co(e, t) {
- return "function" == typeof t ? (e = e(), t(e), function() {
- t(null)
- }) : null != t ? (e = e(), t.current = e, function() {
- t.current = null
- }) : void 0
- }
+ function Co(e, t) {
+ return "function" == typeof t ? (e = e(), t(e), function() {
+ t(null)
+ }) : null != t ? (e = e(), t.current = e, function() {
+ t.current = null
+ }) : void 0
+ }
- function Ao() {}
+ function Ao() {}
- function jo(e, t) {
- return fo().memoizedState = [e, void 0 === t ? null : t], e
- }
+ function To(e, t) {
+ return fo().memoizedState = [e, void 0 === t ? null : t], e
+ }
- function Po(e, t) {
- var n = go();
- t = void 0 === t ? null : t;
- var a = n.memoizedState;
- return null !== a && null !== t && po(t, a[1]) ? a[0] : (n.memoizedState = [e, t], e)
- }
+ function Do(e, t) {
+ var n = go();
+ t = void 0 === t ? null : t;
+ var a = n.memoizedState;
+ return null !== a && null !== t && po(t, a[1]) ? a[0] : (n.memoizedState = [e, t], e)
+ }
- function Do(e, t, n) {
- if (!(25 > co)) throw Error(o(301));
- var a = e.alternate;
- if (e === Qi || null !== a && a === Qi)
- if (so = !0, e = {
- expirationTime: Zi,
- suspenseConfig: null,
- action: n,
- eagerReducer: null,
- eagerState: null,
- next: null
- }, null === lo && (lo = new Map), void 0 === (n = lo.get(t))) lo.set(t, e);
- else {
- for (t = n; null !== t.next;) t = t.next;
- t.next = e
- }
- else {
- var r = tl(),
- i = Si.suspense;
- i = {
- expirationTime: r = nl(r, e, i),
- suspenseConfig: i,
+ function Po(e, t, n) {
+ if (!(25 > co)) throw Error(o(301));
+ var a = e.alternate;
+ if (e === Qi || null !== a && a === Qi)
+ if (so = !0, e = {
+ expirationTime: Zi,
+ suspenseConfig: null,
action: n,
eagerReducer: null,
eagerState: null,
next: null
- };
- var s = t.last;
- if (null === s) i.next = i;
- else {
- var l = s.next;
- null !== l && (i.next = l), s.next = i
- }
- if (t.last = i, 0 === e.expirationTime && (null === a || 0 === a.expirationTime) && null !== (a = t.lastRenderedReducer)) try {
- var c = t.lastRenderedState,
- u = a(c, n);
- if (i.eagerReducer = a, i.eagerState = u, Xa(u, c)) return
- } catch (e) {}
- al(e, r)
- }
- }
- var To = {
- readContext: ui,
- useCallback: uo,
- useContext: uo,
- useEffect: uo,
- useImperativeHandle: uo,
- useLayoutEffect: uo,
- useMemo: uo,
- useReducer: uo,
- useRef: uo,
- useState: uo,
- useDebugValue: uo,
- useResponder: uo,
- useDeferredValue: uo,
- useTransition: uo
- },
- Oo = {
- readContext: ui,
- useCallback: jo,
- useContext: ui,
- useEffect: Eo,
- useImperativeHandle: function(e, t, n) {
- return n = null != n ? n.concat([e]) : null, wo(4, 36, Co.bind(null, t, e), n)
- },
- useLayoutEffect: function(e, t) {
- return wo(4, 36, e, t)
- },
- useMemo: function(e, t) {
- var n = fo();
- return t = void 0 === t ? null : t, e = e(), n.memoizedState = [e, t], e
- },
- useReducer: function(e, t, n) {
- var a = fo();
- return t = void 0 !== n ? n(t) : t, a.memoizedState = a.baseState = t, e = (e = a.queue = {
- last: null,
- dispatch: null,
- lastRenderedReducer: e,
- lastRenderedState: t
- }).dispatch = Do.bind(null, Qi, e), [a.memoizedState, e]
- },
- useRef: function(e) {
- return e = {
- current: e
- }, fo().memoizedState = e
- },
- useState: vo,
- useDebugValue: Ao,
- useResponder: Ki,
- useDeferredValue: function(e, t) {
- var n = vo(e),
- a = n[0],
- r = n[1];
- return Eo((function() {
- i.unstable_next((function() {
- var n = Ji.suspense;
- Ji.suspense = void 0 === t ? null : t;
- try {
- r(e)
- } finally {
- Ji.suspense = n
- }
- }))
- }), [e, t]), a
- },
- useTransition: function(e) {
- var t = vo(!1),
- n = t[0],
- a = t[1];
- return [jo((function(t) {
- a(!0), i.unstable_next((function() {
- var n = Ji.suspense;
- Ji.suspense = void 0 === e ? null : e;
- try {
- a(!1), t()
- } finally {
- Ji.suspense = n
- }
- }))
- }), [e, n]), n]
- }
+ }, null === lo && (lo = new Map), void 0 === (n = lo.get(t))) lo.set(t, e);
+ else {
+ for (t = n; null !== t.next;) t = t.next;
+ t.next = e
+ }
+ else {
+ var r = tl(),
+ i = Si.suspense;
+ i = {
+ expirationTime: r = nl(r, e, i),
+ suspenseConfig: i,
+ action: n,
+ eagerReducer: null,
+ eagerState: null,
+ next: null
+ };
+ var s = t.last;
+ if (null === s) i.next = i;
+ else {
+ var l = s.next;
+ null !== l && (i.next = l), s.next = i
+ }
+ if (t.last = i, 0 === e.expirationTime && (null === a || 0 === a.expirationTime) && null !== (a = t.lastRenderedReducer)) try {
+ var c = t.lastRenderedState,
+ u = a(c, n);
+ if (i.eagerReducer = a, i.eagerState = u, Xa(u, c)) return
+ } catch (e) {}
+ al(e, r)
+ }
+ }
+ var jo = {
+ readContext: ui,
+ useCallback: uo,
+ useContext: uo,
+ useEffect: uo,
+ useImperativeHandle: uo,
+ useLayoutEffect: uo,
+ useMemo: uo,
+ useReducer: uo,
+ useRef: uo,
+ useState: uo,
+ useDebugValue: uo,
+ useResponder: uo,
+ useDeferredValue: uo,
+ useTransition: uo
+ },
+ Mo = {
+ readContext: ui,
+ useCallback: To,
+ useContext: ui,
+ useEffect: Eo,
+ useImperativeHandle: function(e, t, n) {
+ return n = null != n ? n.concat([e]) : null, wo(4, 36, Co.bind(null, t, e), n)
+ },
+ useLayoutEffect: function(e, t) {
+ return wo(4, 36, e, t)
+ },
+ useMemo: function(e, t) {
+ var n = fo();
+ return t = void 0 === t ? null : t, e = e(), n.memoizedState = [e, t], e
+ },
+ useReducer: function(e, t, n) {
+ var a = fo();
+ return t = void 0 !== n ? n(t) : t, a.memoizedState = a.baseState = t, e = (e = a.queue = {
+ last: null,
+ dispatch: null,
+ lastRenderedReducer: e,
+ lastRenderedState: t
+ }).dispatch = Po.bind(null, Qi, e), [a.memoizedState, e]
+ },
+ useRef: function(e) {
+ return e = {
+ current: e
+ }, fo().memoizedState = e
+ },
+ useState: vo,
+ useDebugValue: Ao,
+ useResponder: Ki,
+ useDeferredValue: function(e, t) {
+ var n = vo(e),
+ a = n[0],
+ r = n[1];
+ return Eo((function() {
+ i.unstable_next((function() {
+ var n = Ji.suspense;
+ Ji.suspense = void 0 === t ? null : t;
+ try {
+ r(e)
+ } finally {
+ Ji.suspense = n
+ }
+ }))
+ }), [e, t]), a
},
- Mo = {
- readContext: ui,
- useCallback: Po,
- useContext: ui,
- useEffect: xo,
- useImperativeHandle: function(e, t, n) {
- return n = null != n ? n.concat([e]) : null, So(4, 36, Co.bind(null, t, e), n)
- },
- useLayoutEffect: function(e, t) {
- return So(4, 36, e, t)
- },
- useMemo: function(e, t) {
- var n = go();
- t = void 0 === t ? null : t;
- var a = n.memoizedState;
- return null !== a && null !== t && po(t, a[1]) ? a[0] : (e = e(), n.memoizedState = [e, t], e)
- },
- useReducer: yo,
- useRef: function() {
- return go().memoizedState
- },
- useState: ko,
- useDebugValue: Ao,
- useResponder: Ki,
- useDeferredValue: function(e, t) {
- var n = ko(),
- a = n[0],
- r = n[1];
- return xo((function() {
- i.unstable_next((function() {
- var n = Ji.suspense;
- Ji.suspense = void 0 === t ? null : t;
- try {
- r(e)
- } finally {
- Ji.suspense = n
- }
- }))
- }), [e, t]), a
- },
- useTransition: function(e) {
- var t = ko(),
- n = t[0],
- a = t[1];
- return [Po((function(t) {
- a(!0), i.unstable_next((function() {
- var n = Ji.suspense;
- Ji.suspense = void 0 === e ? null : e;
- try {
- a(!1), t()
- } finally {
- Ji.suspense = n
- }
- }))
- }), [e, n]), n]
- }
+ useTransition: function(e) {
+ var t = vo(!1),
+ n = t[0],
+ a = t[1];
+ return [To((function(t) {
+ a(!0), i.unstable_next((function() {
+ var n = Ji.suspense;
+ Ji.suspense = void 0 === e ? null : e;
+ try {
+ a(!1), t()
+ } finally {
+ Ji.suspense = n
+ }
+ }))
+ }), [e, n]), n]
+ }
+ },
+ Io = {
+ readContext: ui,
+ useCallback: Do,
+ useContext: ui,
+ useEffect: xo,
+ useImperativeHandle: function(e, t, n) {
+ return n = null != n ? n.concat([e]) : null, So(4, 36, Co.bind(null, t, e), n)
+ },
+ useLayoutEffect: function(e, t) {
+ return So(4, 36, e, t)
+ },
+ useMemo: function(e, t) {
+ var n = go();
+ t = void 0 === t ? null : t;
+ var a = n.memoizedState;
+ return null !== a && null !== t && po(t, a[1]) ? a[0] : (e = e(), n.memoizedState = [e, t], e)
+ },
+ useReducer: yo,
+ useRef: function() {
+ return go().memoizedState
+ },
+ useState: ko,
+ useDebugValue: Ao,
+ useResponder: Ki,
+ useDeferredValue: function(e, t) {
+ var n = ko(),
+ a = n[0],
+ r = n[1];
+ return xo((function() {
+ i.unstable_next((function() {
+ var n = Ji.suspense;
+ Ji.suspense = void 0 === t ? null : t;
+ try {
+ r(e)
+ } finally {
+ Ji.suspense = n
+ }
+ }))
+ }), [e, t]), a
},
- Io = null,
- No = null,
- zo = !1;
+ useTransition: function(e) {
+ var t = ko(),
+ n = t[0],
+ a = t[1];
+ return [Do((function(t) {
+ a(!0), i.unstable_next((function() {
+ var n = Ji.suspense;
+ Ji.suspense = void 0 === e ? null : e;
+ try {
+ a(!1), t()
+ } finally {
+ Ji.suspense = n
+ }
+ }))
+ }), [e, n]), n]
+ }
+ },
+ Oo = null,
+ No = null,
+ Ro = !1;
- function Ro(e, t) {
- var n = Ml(5, null, null, 0);
- n.elementType = "DELETED", n.type = "DELETED", n.stateNode = t, n.return = e, n.effectTag = 8, null !== e.lastEffect ? (e.lastEffect.nextEffect = n, e.lastEffect = n) : e.firstEffect = e.lastEffect = n
- }
+ function zo(e, t) {
+ var n = Il(5, null, null, 0);
+ n.elementType = "DELETED", n.type = "DELETED", n.stateNode = t, n.return = e, n.effectTag = 8, null !== e.lastEffect ? (e.lastEffect.nextEffect = n, e.lastEffect = n) : e.firstEffect = e.lastEffect = n
+ }
- function Lo(e, t) {
- switch (e.tag) {
- case 5:
- var n = e.type;
- return null !== (t = 1 !== t.nodeType || n.toLowerCase() !== t.nodeName.toLowerCase() ? null : t) && (e.stateNode = t, !0);
- case 6:
- return null !== (t = "" === e.pendingProps || 3 !== t.nodeType ? null : t) && (e.stateNode = t, !0);
- default:
- return !1
- }
+ function Lo(e, t) {
+ switch (e.tag) {
+ case 5:
+ var n = e.type;
+ return null !== (t = 1 !== t.nodeType || n.toLowerCase() !== t.nodeName.toLowerCase() ? null : t) && (e.stateNode = t, !0);
+ case 6:
+ return null !== (t = "" === e.pendingProps || 3 !== t.nodeType ? null : t) && (e.stateNode = t, !0);
+ default:
+ return !1
}
+ }
- function Fo(e) {
- if (zo) {
- var t = No;
- if (t) {
- var n = t;
- if (!Lo(e, t)) {
- if (!(t = ia(n.nextSibling)) || !Lo(e, t)) return e.effectTag = -1025 & e.effectTag | 2, zo = !1, void(Io = e);
- Ro(Io, n)
- }
- Io = e, No = ia(t.firstChild)
- } else e.effectTag = -1025 & e.effectTag | 2, zo = !1, Io = e
- }
+ function Fo(e) {
+ if (Ro) {
+ var t = No;
+ if (t) {
+ var n = t;
+ if (!Lo(e, t)) {
+ if (!(t = ia(n.nextSibling)) || !Lo(e, t)) return e.effectTag = -1025 & e.effectTag | 2, Ro = !1, void(Oo = e);
+ zo(Oo, n)
+ }
+ Oo = e, No = ia(t.firstChild)
+ } else e.effectTag = -1025 & e.effectTag | 2, Ro = !1, Oo = e
}
+ }
- function qo(e) {
- for (e = e.return; null !== e && 5 !== e.tag && 3 !== e.tag && 13 !== e.tag;) e = e.return;
- Io = e
- }
+ function qo(e) {
+ for (e = e.return; null !== e && 5 !== e.tag && 3 !== e.tag && 13 !== e.tag;) e = e.return;
+ Oo = e
+ }
- function Bo(e) {
- if (e !== Io) return !1;
- if (!zo) return qo(e), zo = !0, !1;
- var t = e.type;
- if (5 !== e.tag || "head" !== t && "body" !== t && !na(t, e.memoizedProps))
- for (t = No; t;) Ro(e, t), t = ia(t.nextSibling);
- if (qo(e), 13 === e.tag) {
- if (!(e = null !== (e = e.memoizedState) ? e.dehydrated : null)) throw Error(o(317));
- e: {
- for (e = e.nextSibling, t = 0; e;) {
- if (8 === e.nodeType) {
- var n = e.data;
- if ("/$" === n) {
- if (0 === t) {
- No = ia(e.nextSibling);
- break e
- }
- t--
- } else "$" !== n && n !== Qn && n !== Zn || t++
- }
- e = e.nextSibling
+ function Bo(e) {
+ if (e !== Oo) return !1;
+ if (!Ro) return qo(e), Ro = !0, !1;
+ var t = e.type;
+ if (5 !== e.tag || "head" !== t && "body" !== t && !na(t, e.memoizedProps))
+ for (t = No; t;) zo(e, t), t = ia(t.nextSibling);
+ if (qo(e), 13 === e.tag) {
+ if (!(e = null !== (e = e.memoizedState) ? e.dehydrated : null)) throw Error(o(317));
+ e: {
+ for (e = e.nextSibling, t = 0; e;) {
+ if (8 === e.nodeType) {
+ var n = e.data;
+ if ("/$" === n) {
+ if (0 === t) {
+ No = ia(e.nextSibling);
+ break e
+ }
+ t--
+ } else "$" !== n && n !== Qn && n !== Zn || t++
}
- No = null
+ e = e.nextSibling
}
- } else No = Io ? ia(e.stateNode.nextSibling) : null;
- return !0
- }
+ No = null
+ }
+ } else No = Oo ? ia(e.stateNode.nextSibling) : null;
+ return !0
+ }
- function Uo() {
- No = Io = null, zo = !1
- }
- var Ho = M.ReactCurrentOwner,
- Vo = !1;
+ function Uo() {
+ No = Oo = null, Ro = !1
+ }
+ var Ho = I.ReactCurrentOwner,
+ Vo = !1;
- function Wo(e, t, n, a) {
- t.child = null === e ? zi(t, null, n, a) : Ni(t, e.child, n, a)
- }
+ function Wo(e, t, n, a) {
+ t.child = null === e ? Ri(t, null, n, a) : Ni(t, e.child, n, a)
+ }
- function Yo(e, t, n, a, r) {
- n = n.render;
- var i = t.ref;
- return ci(t, r), a = ho(e, t, n, a, i, r), null === e || Vo ? (t.effectTag |= 1, Wo(e, t, a, r), t.child) : (t.updateQueue = e.updateQueue, t.effectTag &= -517, e.expirationTime <= r && (e.expirationTime = 0), ls(e, t, r))
- }
+ function Yo(e, t, n, a, r) {
+ n = n.render;
+ var i = t.ref;
+ return ci(t, r), a = ho(e, t, n, a, i, r), null === e || Vo ? (t.effectTag |= 1, Wo(e, t, a, r), t.child) : (t.updateQueue = e.updateQueue, t.effectTag &= -517, e.expirationTime <= r && (e.expirationTime = 0), ls(e, t, r))
+ }
- function Go(e, t, n, a, r, i) {
- if (null === e) {
- var o = n.type;
- return "function" != typeof o || Il(o) || void 0 !== o.defaultProps || null !== n.compare || void 0 !== n.defaultProps ? ((e = zl(n.type, null, a, null, t.mode, i)).ref = t.ref, e.return = t, t.child = e) : (t.tag = 15, t.type = o, Ko(e, t, o, a, r, i))
- }
- return o = e.child, r < i && (r = o.memoizedProps, (n = null !== (n = n.compare) ? n : tr)(r, a) && e.ref === t.ref) ? ls(e, t, i) : (t.effectTag |= 1, (e = Nl(o, a)).ref = t.ref, e.return = t, t.child = e)
+ function Go(e, t, n, a, r, i) {
+ if (null === e) {
+ var o = n.type;
+ return "function" != typeof o || Ol(o) || void 0 !== o.defaultProps || null !== n.compare || void 0 !== n.defaultProps ? ((e = Rl(n.type, null, a, null, t.mode, i)).ref = t.ref, e.return = t, t.child = e) : (t.tag = 15, t.type = o, Ko(e, t, o, a, r, i))
}
+ return o = e.child, r < i && (r = o.memoizedProps, (n = null !== (n = n.compare) ? n : tr)(r, a) && e.ref === t.ref) ? ls(e, t, i) : (t.effectTag |= 1, (e = Nl(o, a)).ref = t.ref, e.return = t, t.child = e)
+ }
- function Ko(e, t, n, a, r, i) {
- return null !== e && tr(e.memoizedProps, a) && e.ref === t.ref && (Vo = !1, r < i) ? ls(e, t, i) : Jo(e, t, n, a, i)
- }
+ function Ko(e, t, n, a, r, i) {
+ return null !== e && tr(e.memoizedProps, a) && e.ref === t.ref && (Vo = !1, r < i) ? ls(e, t, i) : Jo(e, t, n, a, i)
+ }
- function $o(e, t) {
- var n = t.ref;
- (null === e && null !== n || null !== e && e.ref !== n) && (t.effectTag |= 128)
- }
+ function $o(e, t) {
+ var n = t.ref;
+ (null === e && null !== n || null !== e && e.ref !== n) && (t.effectTag |= 128)
+ }
- function Jo(e, t, n, a, r) {
- var i = vr(n) ? br : fr.current;
- return i = yr(t, i), ci(t, r), n = ho(e, t, n, a, i, r), null === e || Vo ? (t.effectTag |= 1, Wo(e, t, n, r), t.child) : (t.updateQueue = e.updateQueue, t.effectTag &= -517, e.expirationTime <= r && (e.expirationTime = 0), ls(e, t, r))
- }
+ function Jo(e, t, n, a, r) {
+ var i = vr(n) ? br : fr.current;
+ return i = yr(t, i), ci(t, r), n = ho(e, t, n, a, i, r), null === e || Vo ? (t.effectTag |= 1, Wo(e, t, n, r), t.child) : (t.updateQueue = e.updateQueue, t.effectTag &= -517, e.expirationTime <= r && (e.expirationTime = 0), ls(e, t, r))
+ }
- function Zo(e, t, n, a, r) {
- if (vr(n)) {
- var i = !0;
- Er(t)
- } else i = !1;
- if (ci(t, r), null === t.stateNode) null !== e && (e.alternate = null, t.alternate = null, t.effectTag |= 2), ji(t, n, a), Di(t, n, a, r), a = !0;
- else if (null === e) {
- var o = t.stateNode,
- s = t.memoizedProps;
- o.props = s;
- var l = o.context,
- c = n.contextType;
- c = "object" == typeof c && null !== c ? ui(c) : yr(t, c = vr(n) ? br : fr.current);
- var u = n.getDerivedStateFromProps,
- d = "function" == typeof u || "function" == typeof o.getSnapshotBeforeUpdate;
- d || "function" != typeof o.UNSAFE_componentWillReceiveProps && "function" != typeof o.componentWillReceiveProps || (s !== a || l !== c) && Pi(t, o, a, c), di = !1;
- var p = t.memoizedState;
- l = o.state = p;
- var h = t.updateQueue;
- null !== h && (ki(t, h, a, o, r), l = t.memoizedState), s !== a || p !== l || gr.current || di ? ("function" == typeof u && (xi(t, n, u, a), l = t.memoizedState), (s = di || Ai(t, n, s, a, p, l, c)) ? (d || "function" != typeof o.UNSAFE_componentWillMount && "function" != typeof o.componentWillMount || ("function" == typeof o.componentWillMount && o.componentWillMount(), "function" == typeof o.UNSAFE_componentWillMount && o.UNSAFE_componentWillMount()), "function" == typeof o.componentDidMount && (t.effectTag |= 4)) : ("function" == typeof o.componentDidMount && (t.effectTag |= 4), t.memoizedProps = a, t.memoizedState = l), o.props = a, o.state = l, o.context = c, a = s) : ("function" == typeof o.componentDidMount && (t.effectTag |= 4), a = !1)
- } else o = t.stateNode, s = t.memoizedProps, o.props = t.type === t.elementType ? s : ei(t.type, s), l = o.context, c = "object" == typeof(c = n.contextType) && null !== c ? ui(c) : yr(t, c = vr(n) ? br : fr.current), (d = "function" == typeof(u = n.getDerivedStateFromProps) || "function" == typeof o.getSnapshotBeforeUpdate) || "function" != typeof o.UNSAFE_componentWillReceiveProps && "function" != typeof o.componentWillReceiveProps || (s !== a || l !== c) && Pi(t, o, a, c), di = !1, l = t.memoizedState, p = o.state = l, null !== (h = t.updateQueue) && (ki(t, h, a, o, r), p = t.memoizedState), s !== a || l !== p || gr.current || di ? ("function" == typeof u && (xi(t, n, u, a), p = t.memoizedState), (u = di || Ai(t, n, s, a, l, p, c)) ? (d || "function" != typeof o.UNSAFE_componentWillUpdate && "function" != typeof o.componentWillUpdate || ("function" == typeof o.componentWillUpdate && o.componentWillUpdate(a, p, c), "function" == typeof o.UNSAFE_componentWillUpdate && o.UNSAFE_componentWillUpdate(a, p, c)), "function" == typeof o.componentDidUpdate && (t.effectTag |= 4), "function" == typeof o.getSnapshotBeforeUpdate && (t.effectTag |= 256)) : ("function" != typeof o.componentDidUpdate || s === e.memoizedProps && l === e.memoizedState || (t.effectTag |= 4), "function" != typeof o.getSnapshotBeforeUpdate || s === e.memoizedProps && l === e.memoizedState || (t.effectTag |= 256), t.memoizedProps = a, t.memoizedState = p), o.props = a, o.state = p, o.context = c, a = u) : ("function" != typeof o.componentDidUpdate || s === e.memoizedProps && l === e.memoizedState || (t.effectTag |= 4), "function" != typeof o.getSnapshotBeforeUpdate || s === e.memoizedProps && l === e.memoizedState || (t.effectTag |= 256), a = !1);
- return Qo(e, t, n, a, i, r)
- }
+ function Zo(e, t, n, a, r) {
+ if (vr(n)) {
+ var i = !0;
+ Er(t)
+ } else i = !1;
+ if (ci(t, r), null === t.stateNode) null !== e && (e.alternate = null, t.alternate = null, t.effectTag |= 2), Ti(t, n, a), Pi(t, n, a, r), a = !0;
+ else if (null === e) {
+ var o = t.stateNode,
+ s = t.memoizedProps;
+ o.props = s;
+ var l = o.context,
+ c = n.contextType;
+ c = "object" == typeof c && null !== c ? ui(c) : yr(t, c = vr(n) ? br : fr.current);
+ var u = n.getDerivedStateFromProps,
+ d = "function" == typeof u || "function" == typeof o.getSnapshotBeforeUpdate;
+ d || "function" != typeof o.UNSAFE_componentWillReceiveProps && "function" != typeof o.componentWillReceiveProps || (s !== a || l !== c) && Di(t, o, a, c), di = !1;
+ var p = t.memoizedState;
+ l = o.state = p;
+ var h = t.updateQueue;
+ null !== h && (ki(t, h, a, o, r), l = t.memoizedState), s !== a || p !== l || gr.current || di ? ("function" == typeof u && (xi(t, n, u, a), l = t.memoizedState), (s = di || Ai(t, n, s, a, p, l, c)) ? (d || "function" != typeof o.UNSAFE_componentWillMount && "function" != typeof o.componentWillMount || ("function" == typeof o.componentWillMount && o.componentWillMount(), "function" == typeof o.UNSAFE_componentWillMount && o.UNSAFE_componentWillMount()), "function" == typeof o.componentDidMount && (t.effectTag |= 4)) : ("function" == typeof o.componentDidMount && (t.effectTag |= 4), t.memoizedProps = a, t.memoizedState = l), o.props = a, o.state = l, o.context = c, a = s) : ("function" == typeof o.componentDidMount && (t.effectTag |= 4), a = !1)
+ } else o = t.stateNode, s = t.memoizedProps, o.props = t.type === t.elementType ? s : ei(t.type, s), l = o.context, c = "object" == typeof(c = n.contextType) && null !== c ? ui(c) : yr(t, c = vr(n) ? br : fr.current), (d = "function" == typeof(u = n.getDerivedStateFromProps) || "function" == typeof o.getSnapshotBeforeUpdate) || "function" != typeof o.UNSAFE_componentWillReceiveProps && "function" != typeof o.componentWillReceiveProps || (s !== a || l !== c) && Di(t, o, a, c), di = !1, l = t.memoizedState, p = o.state = l, null !== (h = t.updateQueue) && (ki(t, h, a, o, r), p = t.memoizedState), s !== a || l !== p || gr.current || di ? ("function" == typeof u && (xi(t, n, u, a), p = t.memoizedState), (u = di || Ai(t, n, s, a, l, p, c)) ? (d || "function" != typeof o.UNSAFE_componentWillUpdate && "function" != typeof o.componentWillUpdate || ("function" == typeof o.componentWillUpdate && o.componentWillUpdate(a, p, c), "function" == typeof o.UNSAFE_componentWillUpdate && o.UNSAFE_componentWillUpdate(a, p, c)), "function" == typeof o.componentDidUpdate && (t.effectTag |= 4), "function" == typeof o.getSnapshotBeforeUpdate && (t.effectTag |= 256)) : ("function" != typeof o.componentDidUpdate || s === e.memoizedProps && l === e.memoizedState || (t.effectTag |= 4), "function" != typeof o.getSnapshotBeforeUpdate || s === e.memoizedProps && l === e.memoizedState || (t.effectTag |= 256), t.memoizedProps = a, t.memoizedState = p), o.props = a, o.state = p, o.context = c, a = u) : ("function" != typeof o.componentDidUpdate || s === e.memoizedProps && l === e.memoizedState || (t.effectTag |= 4), "function" != typeof o.getSnapshotBeforeUpdate || s === e.memoizedProps && l === e.memoizedState || (t.effectTag |= 256), a = !1);
+ return Qo(e, t, n, a, i, r)
+ }
- function Qo(e, t, n, a, r, i) {
- $o(e, t);
- var o = 0 != (64 & t.effectTag);
- if (!a && !o) return r && xr(t, n, !1), ls(e, t, i);
- a = t.stateNode, Ho.current = t;
- var s = o && "function" != typeof n.getDerivedStateFromError ? null : a.render();
- return t.effectTag |= 1, null !== e && o ? (t.child = Ni(t, e.child, null, i), t.child = Ni(t, null, s, i)) : Wo(e, t, s, i), t.memoizedState = a.state, r && xr(t, n, !0), t.child
- }
+ function Qo(e, t, n, a, r, i) {
+ $o(e, t);
+ var o = 0 != (64 & t.effectTag);
+ if (!a && !o) return r && xr(t, n, !1), ls(e, t, i);
+ a = t.stateNode, Ho.current = t;
+ var s = o && "function" != typeof n.getDerivedStateFromError ? null : a.render();
+ return t.effectTag |= 1, null !== e && o ? (t.child = Ni(t, e.child, null, i), t.child = Ni(t, null, s, i)) : Wo(e, t, s, i), t.memoizedState = a.state, r && xr(t, n, !0), t.child
+ }
- function Xo(e) {
- var t = e.stateNode;
- t.pendingContext ? wr(0, t.pendingContext, t.pendingContext !== t.context) : t.context && wr(0, t.context, !1), Ui(e, t.containerInfo)
- }
- var es, ts, ns, as = {
- dehydrated: null,
- retryTime: 0
- };
+ function Xo(e) {
+ var t = e.stateNode;
+ t.pendingContext ? wr(0, t.pendingContext, t.pendingContext !== t.context) : t.context && wr(0, t.context, !1), Ui(e, t.containerInfo)
+ }
+ var es, ts, ns, as = {
+ dehydrated: null,
+ retryTime: 0
+ };
- function rs(e, t, n) {
- var a, r = t.mode,
- i = t.pendingProps,
- o = Yi.current,
- s = !1;
- if ((a = 0 != (64 & t.effectTag)) || (a = 0 != (2 & o) && (null === e || null !== e.memoizedState)), a ? (s = !0, t.effectTag &= -65) : null !== e && null === e.memoizedState || void 0 === i.fallback || !0 === i.unstable_avoidThisFallback || (o |= 1), hr(Yi, 1 & o), null === e) {
- if (void 0 !== i.fallback && Fo(t), s) {
- if (s = i.fallback, (i = Rl(null, r, 0, null)).return = t, 0 == (2 & t.mode))
- for (e = null !== t.memoizedState ? t.child.child : t.child, i.child = e; null !== e;) e.return = i, e = e.sibling;
- return (n = Rl(s, r, n, null)).return = t, i.sibling = n, t.memoizedState = as, t.child = i, n
- }
- return r = i.children, t.memoizedState = null, t.child = zi(t, null, r, n)
- }
- if (null !== e.memoizedState) {
- if (r = (e = e.child).sibling, s) {
- if (i = i.fallback, (n = Nl(e, e.pendingProps)).return = t, 0 == (2 & t.mode) && (s = null !== t.memoizedState ? t.child.child : t.child) !== e.child)
- for (n.child = s; null !== s;) s.return = n, s = s.sibling;
- return (r = Nl(r, i, r.expirationTime)).return = t, n.sibling = r, n.childExpirationTime = 0, t.memoizedState = as, t.child = n, r
- }
- return n = Ni(t, e.child, i.children, n), t.memoizedState = null, t.child = n
- }
- if (e = e.child, s) {
- if (s = i.fallback, (i = Rl(null, r, 0, null)).return = t, i.child = e, null !== e && (e.return = i), 0 == (2 & t.mode))
+ function rs(e, t, n) {
+ var a, r = t.mode,
+ i = t.pendingProps,
+ o = Yi.current,
+ s = !1;
+ if ((a = 0 != (64 & t.effectTag)) || (a = 0 != (2 & o) && (null === e || null !== e.memoizedState)), a ? (s = !0, t.effectTag &= -65) : null !== e && null === e.memoizedState || void 0 === i.fallback || !0 === i.unstable_avoidThisFallback || (o |= 1), hr(Yi, 1 & o), null === e) {
+ if (void 0 !== i.fallback && Fo(t), s) {
+ if (s = i.fallback, (i = zl(null, r, 0, null)).return = t, 0 == (2 & t.mode))
for (e = null !== t.memoizedState ? t.child.child : t.child, i.child = e; null !== e;) e.return = i, e = e.sibling;
- return (n = Rl(s, r, n, null)).return = t, i.sibling = n, n.effectTag |= 2, i.childExpirationTime = 0, t.memoizedState = as, t.child = i, n
- }
- return t.memoizedState = null, t.child = Ni(t, e, i.children, n)
- }
-
- function is(e, t) {
- e.expirationTime < t && (e.expirationTime = t);
- var n = e.alternate;
- null !== n && n.expirationTime < t && (n.expirationTime = t), li(e.return, t)
- }
-
- function os(e, t, n, a, r, i) {
- var o = e.memoizedState;
- null === o ? e.memoizedState = {
- isBackwards: t,
- rendering: null,
- last: a,
- tail: n,
- tailExpiration: 0,
- tailMode: r,
- lastEffect: i
- } : (o.isBackwards = t, o.rendering = null, o.last = a, o.tail = n, o.tailExpiration = 0, o.tailMode = r, o.lastEffect = i)
- }
-
- function ss(e, t, n) {
- var a = t.pendingProps,
- r = a.revealOrder,
- i = a.tail;
- if (Wo(e, t, a.children, n), 0 != (2 & (a = Yi.current))) a = 1 & a | 2, t.effectTag |= 64;
- else {
- if (null !== e && 0 != (64 & e.effectTag)) e: for (e = t.child; null !== e;) {
- if (13 === e.tag) null !== e.memoizedState && is(e, n);
- else if (19 === e.tag) is(e, n);
- else if (null !== e.child) {
- e.child.return = e, e = e.child;
- continue
- }
- if (e === t) break e;
- for (; null === e.sibling;) {
- if (null === e.return || e.return === t) break e;
- e = e.return
- }
- e.sibling.return = e.return, e = e.sibling
- }
- a &= 1
- }
- if (hr(Yi, a), 0 == (2 & t.mode)) t.memoizedState = null;
- else switch (r) {
- case "forwards":
- for (n = t.child, r = null; null !== n;) null !== (e = n.alternate) && null === Gi(e) && (r = n), n = n.sibling;
- null === (n = r) ? (r = t.child, t.child = null) : (r = n.sibling, n.sibling = null), os(t, !1, r, n, i, t.lastEffect);
- break;
- case "backwards":
- for (n = null, r = t.child, t.child = null; null !== r;) {
- if (null !== (e = r.alternate) && null === Gi(e)) {
- t.child = r;
- break
- }
- e = r.sibling, r.sibling = n, n = r, r = e
- }
- os(t, !0, n, null, i, t.lastEffect);
- break;
- case "together":
- os(t, !1, null, null, void 0, t.lastEffect);
- break;
- default:
- t.memoizedState = null
+ return (n = zl(s, r, n, null)).return = t, i.sibling = n, t.memoizedState = as, t.child = i, n
}
- return t.child
+ return r = i.children, t.memoizedState = null, t.child = Ri(t, null, r, n)
}
-
- function ls(e, t, n) {
- null !== e && (t.dependencies = e.dependencies);
- var a = t.expirationTime;
- if (0 !== a && fl(a), t.childExpirationTime < n) return null;
- if (null !== e && t.child !== e.child) throw Error(o(153));
- if (null !== t.child) {
- for (n = Nl(e = t.child, e.pendingProps, e.expirationTime), t.child = n, n.return = t; null !== e.sibling;) e = e.sibling, (n = n.sibling = Nl(e, e.pendingProps, e.expirationTime)).return = t;
- n.sibling = null
+ if (null !== e.memoizedState) {
+ if (r = (e = e.child).sibling, s) {
+ if (i = i.fallback, (n = Nl(e, e.pendingProps)).return = t, 0 == (2 & t.mode) && (s = null !== t.memoizedState ? t.child.child : t.child) !== e.child)
+ for (n.child = s; null !== s;) s.return = n, s = s.sibling;
+ return (r = Nl(r, i, r.expirationTime)).return = t, n.sibling = r, n.childExpirationTime = 0, t.memoizedState = as, t.child = n, r
}
- return t.child
+ return n = Ni(t, e.child, i.children, n), t.memoizedState = null, t.child = n
}
-
- function cs(e) {
- e.effectTag |= 4
+ if (e = e.child, s) {
+ if (s = i.fallback, (i = zl(null, r, 0, null)).return = t, i.child = e, null !== e && (e.return = i), 0 == (2 & t.mode))
+ for (e = null !== t.memoizedState ? t.child.child : t.child, i.child = e; null !== e;) e.return = i, e = e.sibling;
+ return (n = zl(s, r, n, null)).return = t, i.sibling = n, n.effectTag |= 2, i.childExpirationTime = 0, t.memoizedState = as, t.child = i, n
}
+ return t.memoizedState = null, t.child = Ni(t, e, i.children, n)
+ }
- function us(e, t) {
- switch (e.tailMode) {
- case "hidden":
- t = e.tail;
- for (var n = null; null !== t;) null !== t.alternate && (n = t), t = t.sibling;
- null === n ? e.tail = null : n.sibling = null;
- break;
- case "collapsed":
- n = e.tail;
- for (var a = null; null !== n;) null !== n.alternate && (a = n), n = n.sibling;
- null === a ? t || null === e.tail ? e.tail = null : e.tail.sibling = null : a.sibling = null
- }
- }
+ function is(e, t) {
+ e.expirationTime < t && (e.expirationTime = t);
+ var n = e.alternate;
+ null !== n && n.expirationTime < t && (n.expirationTime = t), li(e.return, t)
+ }
- function ds(e) {
- switch (e.tag) {
- case 1:
- vr(e.type) && kr();
- var t = e.effectTag;
- return 4096 & t ? (e.effectTag = -4097 & t | 64, e) : null;
- case 3:
- if (Hi(), _r(), 0 != (64 & (t = e.effectTag))) throw Error(o(285));
- return e.effectTag = -4097 & t | 64, e;
- case 5:
- return Wi(e), null;
- case 13:
- return pr(Yi), 4096 & (t = e.effectTag) ? (e.effectTag = -4097 & t | 64, e) : null;
- case 19:
- return pr(Yi), null;
- case 4:
- return Hi(), null;
- case 10:
- return si(e), null;
- default:
- return null
- }
- }
+ function os(e, t, n, a, r, i) {
+ var o = e.memoizedState;
+ null === o ? e.memoizedState = {
+ isBackwards: t,
+ rendering: null,
+ last: a,
+ tail: n,
+ tailExpiration: 0,
+ tailMode: r,
+ lastEffect: i
+ } : (o.isBackwards = t, o.rendering = null, o.last = a, o.tail = n, o.tailExpiration = 0, o.tailMode = r, o.lastEffect = i)
+ }
- function ps(e, t) {
- return {
- value: e,
- source: t,
- stack: Q(t)
- }
- }
- es = function(e, t) {
- for (var n = t.child; null !== n;) {
- if (5 === n.tag || 6 === n.tag) e.appendChild(n.stateNode);
- else if (4 !== n.tag && null !== n.child) {
- n.child.return = n, n = n.child;
+ function ss(e, t, n) {
+ var a = t.pendingProps,
+ r = a.revealOrder,
+ i = a.tail;
+ if (Wo(e, t, a.children, n), 0 != (2 & (a = Yi.current))) a = 1 & a | 2, t.effectTag |= 64;
+ else {
+ if (null !== e && 0 != (64 & e.effectTag)) e: for (e = t.child; null !== e;) {
+ if (13 === e.tag) null !== e.memoizedState && is(e, n);
+ else if (19 === e.tag) is(e, n);
+ else if (null !== e.child) {
+ e.child.return = e, e = e.child;
continue
}
- if (n === t) break;
- for (; null === n.sibling;) {
- if (null === n.return || n.return === t) return;
- n = n.return
- }
- n.sibling.return = n.return, n = n.sibling
- }
- }, ts = function(e, t, n, a, i) {
- var o = e.memoizedProps;
- if (o !== a) {
- var s, l, c = t.stateNode;
- switch (Bi(Li.current), e = null, n) {
- case "input":
- o = Ce(c, o), a = Ce(c, a), e = [];
- break;
- case "option":
- o = Oe(c, o), a = Oe(c, a), e = [];
- break;
- case "select":
- o = r({}, o, {
- value: void 0
- }), a = r({}, a, {
- value: void 0
- }), e = [];
- break;
- case "textarea":
- o = Ie(c, o), a = Ie(c, a), e = [];
- break;
- default:
- "function" != typeof o.onClick && "function" == typeof a.onClick && (c.onclick = Vn)
- }
- for (s in Bn(n, a), n = null, o)
- if (!a.hasOwnProperty(s) && o.hasOwnProperty(s) && null != o[s])
- if ("style" === s)
- for (l in c = o[s]) c.hasOwnProperty(l) && (n || (n = {}), n[l] = "");
- else "dangerouslySetInnerHTML" !== s && "children" !== s && "suppressContentEditableWarning" !== s && "suppressHydrationWarning" !== s && "autoFocus" !== s && (h.hasOwnProperty(s) ? e || (e = []) : (e = e || []).push(s, null));
- for (s in a) {
- var u = a[s];
- if (c = null != o ? o[s] : void 0, a.hasOwnProperty(s) && u !== c && (null != u || null != c))
- if ("style" === s)
- if (c) {
- for (l in c) !c.hasOwnProperty(l) || u && u.hasOwnProperty(l) || (n || (n = {}), n[l] = "");
- for (l in u) u.hasOwnProperty(l) && c[l] !== u[l] && (n || (n = {}), n[l] = u[l])
- } else n || (e || (e = []), e.push(s, n)), n = u;
- else "dangerouslySetInnerHTML" === s ? (u = u ? u.__html : void 0, c = c ? c.__html : void 0, null != u && c !== u && (e = e || []).push(s, "" + u)) : "children" === s ? c === u || "string" != typeof u && "number" != typeof u || (e = e || []).push(s, "" + u) : "suppressContentEditableWarning" !== s && "suppressHydrationWarning" !== s && (h.hasOwnProperty(s) ? (null != u && Hn(i, s), e || c === u || (e = [])) : (e = e || []).push(s, u))
+ if (e === t) break e;
+ for (; null === e.sibling;) {
+ if (null === e.return || e.return === t) break e;
+ e = e.return
+ }
+ e.sibling.return = e.return, e = e.sibling
+ }
+ a &= 1
+ }
+ if (hr(Yi, a), 0 == (2 & t.mode)) t.memoizedState = null;
+ else switch (r) {
+ case "forwards":
+ for (n = t.child, r = null; null !== n;) null !== (e = n.alternate) && null === Gi(e) && (r = n), n = n.sibling;
+ null === (n = r) ? (r = t.child, t.child = null) : (r = n.sibling, n.sibling = null), os(t, !1, r, n, i, t.lastEffect);
+ break;
+ case "backwards":
+ for (n = null, r = t.child, t.child = null; null !== r;) {
+ if (null !== (e = r.alternate) && null === Gi(e)) {
+ t.child = r;
+ break
+ }
+ e = r.sibling, r.sibling = n, n = r, r = e
}
- n && (e = e || []).push("style", n), i = e, (t.updateQueue = i) && cs(t)
- }
- }, ns = function(e, t, n, a) {
- n !== a && cs(t)
- };
- var hs = "function" == typeof WeakSet ? WeakSet : Set;
+ os(t, !0, n, null, i, t.lastEffect);
+ break;
+ case "together":
+ os(t, !1, null, null, void 0, t.lastEffect);
+ break;
+ default:
+ t.memoizedState = null
+ }
+ return t.child
+ }
- function ms(e, t) {
- var n = t.source,
- a = t.stack;
- null === a && null !== n && (a = Q(n)), null !== n && Z(n.type), t = t.value, null !== e && 1 === e.tag && Z(e.type);
- try {
- console.error(t)
- } catch (e) {
- setTimeout((function() {
- throw e
- }))
- }
+ function ls(e, t, n) {
+ null !== e && (t.dependencies = e.dependencies);
+ var a = t.expirationTime;
+ if (0 !== a && fl(a), t.childExpirationTime < n) return null;
+ if (null !== e && t.child !== e.child) throw Error(o(153));
+ if (null !== t.child) {
+ for (n = Nl(e = t.child, e.pendingProps, e.expirationTime), t.child = n, n.return = t; null !== e.sibling;) e = e.sibling, (n = n.sibling = Nl(e, e.pendingProps, e.expirationTime)).return = t;
+ n.sibling = null
}
+ return t.child
+ }
- function fs(e) {
- var t = e.ref;
- if (null !== t)
- if ("function" == typeof t) try {
- t(null)
- } catch (t) {
- Al(e, t)
- } else t.current = null
+ function cs(e) {
+ e.effectTag |= 4
+ }
+
+ function us(e, t) {
+ switch (e.tailMode) {
+ case "hidden":
+ t = e.tail;
+ for (var n = null; null !== t;) null !== t.alternate && (n = t), t = t.sibling;
+ null === n ? e.tail = null : n.sibling = null;
+ break;
+ case "collapsed":
+ n = e.tail;
+ for (var a = null; null !== n;) null !== n.alternate && (a = n), n = n.sibling;
+ null === a ? t || null === e.tail ? e.tail = null : e.tail.sibling = null : a.sibling = null
}
+ }
- function gs(e, t) {
- switch (t.tag) {
- case 0:
- case 11:
- case 15:
- bs(2, 0, t);
+ function ds(e) {
+ switch (e.tag) {
+ case 1:
+ vr(e.type) && kr();
+ var t = e.effectTag;
+ return 4096 & t ? (e.effectTag = -4097 & t | 64, e) : null;
+ case 3:
+ if (Hi(), _r(), 0 != (64 & (t = e.effectTag))) throw Error(o(285));
+ return e.effectTag = -4097 & t | 64, e;
+ case 5:
+ return Wi(e), null;
+ case 13:
+ return pr(Yi), 4096 & (t = e.effectTag) ? (e.effectTag = -4097 & t | 64, e) : null;
+ case 19:
+ return pr(Yi), null;
+ case 4:
+ return Hi(), null;
+ case 10:
+ return si(e), null;
+ default:
+ return null
+ }
+ }
+
+ function ps(e, t) {
+ return {
+ value: e,
+ source: t,
+ stack: Q(t)
+ }
+ }
+ es = function(e, t) {
+ for (var n = t.child; null !== n;) {
+ if (5 === n.tag || 6 === n.tag) e.appendChild(n.stateNode);
+ else if (4 !== n.tag && null !== n.child) {
+ n.child.return = n, n = n.child;
+ continue
+ }
+ if (n === t) break;
+ for (; null === n.sibling;) {
+ if (null === n.return || n.return === t) return;
+ n = n.return
+ }
+ n.sibling.return = n.return, n = n.sibling
+ }
+ }, ts = function(e, t, n, a, i) {
+ var o = e.memoizedProps;
+ if (o !== a) {
+ var s, l, c = t.stateNode;
+ switch (Bi(Li.current), e = null, n) {
+ case "input":
+ o = Ce(c, o), a = Ce(c, a), e = [];
break;
- case 1:
- if (256 & t.effectTag && null !== e) {
- var n = e.memoizedProps,
- a = e.memoizedState;
- t = (e = t.stateNode).getSnapshotBeforeUpdate(t.elementType === t.type ? n : ei(t.type, n), a), e.__reactInternalSnapshotBeforeUpdate = t
- }
+ case "option":
+ o = Me(c, o), a = Me(c, a), e = [];
break;
- case 3:
- case 5:
- case 6:
- case 4:
- case 17:
+ case "select":
+ o = r({}, o, {
+ value: void 0
+ }), a = r({}, a, {
+ value: void 0
+ }), e = [];
+ break;
+ case "textarea":
+ o = Oe(c, o), a = Oe(c, a), e = [];
break;
default:
- throw Error(o(163))
+ "function" != typeof o.onClick && "function" == typeof a.onClick && (c.onclick = Vn)
+ }
+ for (s in Bn(n, a), n = null, o)
+ if (!a.hasOwnProperty(s) && o.hasOwnProperty(s) && null != o[s])
+ if ("style" === s)
+ for (l in c = o[s]) c.hasOwnProperty(l) && (n || (n = {}), n[l] = "");
+ else "dangerouslySetInnerHTML" !== s && "children" !== s && "suppressContentEditableWarning" !== s && "suppressHydrationWarning" !== s && "autoFocus" !== s && (h.hasOwnProperty(s) ? e || (e = []) : (e = e || []).push(s, null));
+ for (s in a) {
+ var u = a[s];
+ if (c = null != o ? o[s] : void 0, a.hasOwnProperty(s) && u !== c && (null != u || null != c))
+ if ("style" === s)
+ if (c) {
+ for (l in c) !c.hasOwnProperty(l) || u && u.hasOwnProperty(l) || (n || (n = {}), n[l] = "");
+ for (l in u) u.hasOwnProperty(l) && c[l] !== u[l] && (n || (n = {}), n[l] = u[l])
+ } else n || (e || (e = []), e.push(s, n)), n = u;
+ else "dangerouslySetInnerHTML" === s ? (u = u ? u.__html : void 0, c = c ? c.__html : void 0, null != u && c !== u && (e = e || []).push(s, "" + u)) : "children" === s ? c === u || "string" != typeof u && "number" != typeof u || (e = e || []).push(s, "" + u) : "suppressContentEditableWarning" !== s && "suppressHydrationWarning" !== s && (h.hasOwnProperty(s) ? (null != u && Hn(i, s), e || c === u || (e = [])) : (e = e || []).push(s, u))
}
+ n && (e = e || []).push("style", n), i = e, (t.updateQueue = i) && cs(t)
}
+ }, ns = function(e, t, n, a) {
+ n !== a && cs(t)
+ };
+ var hs = "function" == typeof WeakSet ? WeakSet : Set;
- function bs(e, t, n) {
- if (null !== (n = null !== (n = n.updateQueue) ? n.lastEffect : null)) {
- var a = n = n.next;
- do {
- if (0 != (a.tag & e)) {
- var r = a.destroy;
- a.destroy = void 0, void 0 !== r && r()
- }
- 0 != (a.tag & t) && (r = a.create, a.destroy = r()), a = a.next
- } while (a !== n)
- }
+ function ms(e, t) {
+ var n = t.source,
+ a = t.stack;
+ null === a && null !== n && (a = Q(n)), null !== n && Z(n.type), t = t.value, null !== e && 1 === e.tag && Z(e.type);
+ try {
+ console.error(t)
+ } catch (e) {
+ setTimeout((function() {
+ throw e
+ }))
}
+ }
- function ys(e, t, n) {
- switch ("function" == typeof Tl && Tl(t), t.tag) {
- case 0:
- case 11:
- case 14:
- case 15:
- if (null !== (e = t.updateQueue) && null !== (e = e.lastEffect)) {
- var a = e.next;
- Gr(97 < n ? 97 : n, (function() {
- var e = a;
- do {
- var n = e.destroy;
- if (void 0 !== n) {
- var r = t;
- try {
- n()
- } catch (e) {
- Al(r, e)
- }
- }
- e = e.next
- } while (e !== a)
- }))
- }
- break;
- case 1:
- fs(t), "function" == typeof(n = t.stateNode).componentWillUnmount && function(e, t) {
- try {
- t.props = e.memoizedProps, t.state = e.memoizedState, t.componentWillUnmount()
- } catch (t) {
- Al(e, t)
- }
- }(t, n);
- break;
- case 5:
- fs(t);
- break;
- case 4:
- ws(e, t, n)
- }
- }
+ function fs(e) {
+ var t = e.ref;
+ if (null !== t)
+ if ("function" == typeof t) try {
+ t(null)
+ } catch (t) {
+ Al(e, t)
+ } else t.current = null
+ }
- function vs(e) {
- var t = e.alternate;
- e.return = null, e.child = null, e.memoizedState = null, e.updateQueue = null, e.dependencies = null, e.alternate = null, e.firstEffect = null, e.lastEffect = null, e.pendingProps = null, e.memoizedProps = null, null !== t && vs(t)
+ function gs(e, t) {
+ switch (t.tag) {
+ case 0:
+ case 11:
+ case 15:
+ bs(2, 0, t);
+ break;
+ case 1:
+ if (256 & t.effectTag && null !== e) {
+ var n = e.memoizedProps,
+ a = e.memoizedState;
+ t = (e = t.stateNode).getSnapshotBeforeUpdate(t.elementType === t.type ? n : ei(t.type, n), a), e.__reactInternalSnapshotBeforeUpdate = t
+ }
+ break;
+ case 3:
+ case 5:
+ case 6:
+ case 4:
+ case 17:
+ break;
+ default:
+ throw Error(o(163))
}
+ }
- function ks(e) {
- return 5 === e.tag || 3 === e.tag || 4 === e.tag
+ function bs(e, t, n) {
+ if (null !== (n = null !== (n = n.updateQueue) ? n.lastEffect : null)) {
+ var a = n = n.next;
+ do {
+ if (0 != (a.tag & e)) {
+ var r = a.destroy;
+ a.destroy = void 0, void 0 !== r && r()
+ }
+ 0 != (a.tag & t) && (r = a.create, a.destroy = r()), a = a.next
+ } while (a !== n)
}
+ }
- function _s(e) {
- e: {
- for (var t = e.return; null !== t;) {
- if (ks(t)) {
- var n = t;
- break e
+ function ys(e, t, n) {
+ switch ("function" == typeof jl && jl(t), t.tag) {
+ case 0:
+ case 11:
+ case 14:
+ case 15:
+ if (null !== (e = t.updateQueue) && null !== (e = e.lastEffect)) {
+ var a = e.next;
+ Gr(97 < n ? 97 : n, (function() {
+ var e = a;
+ do {
+ var n = e.destroy;
+ if (void 0 !== n) {
+ var r = t;
+ try {
+ n()
+ } catch (e) {
+ Al(r, e)
+ }
+ }
+ e = e.next
+ } while (e !== a)
+ }))
+ }
+ break;
+ case 1:
+ fs(t), "function" == typeof(n = t.stateNode).componentWillUnmount && function(e, t) {
+ try {
+ t.props = e.memoizedProps, t.state = e.memoizedState, t.componentWillUnmount()
+ } catch (t) {
+ Al(e, t)
}
- t = t.return
+ }(t, n);
+ break;
+ case 5:
+ fs(t);
+ break;
+ case 4:
+ ws(e, t, n)
+ }
+ }
+
+ function vs(e) {
+ var t = e.alternate;
+ e.return = null, e.child = null, e.memoizedState = null, e.updateQueue = null, e.dependencies = null, e.alternate = null, e.firstEffect = null, e.lastEffect = null, e.pendingProps = null, e.memoizedProps = null, null !== t && vs(t)
+ }
+
+ function ks(e) {
+ return 5 === e.tag || 3 === e.tag || 4 === e.tag
+ }
+
+ function _s(e) {
+ e: {
+ for (var t = e.return; null !== t;) {
+ if (ks(t)) {
+ var n = t;
+ break e
+ }
+ t = t.return
+ }
+ throw Error(o(160))
+ }
+ switch (t = n.stateNode, n.tag) {
+ case 5:
+ var a = !1;
+ break;
+ case 3:
+ case 4:
+ t = t.containerInfo, a = !0;
+ break;
+ default:
+ throw Error(o(161))
+ }
+ 16 & n.effectTag && (Ve(t, ""), n.effectTag &= -17);e: t: for (n = e;;) {
+ for (; null === n.sibling;) {
+ if (null === n.return || ks(n.return)) {
+ n = null;
+ break e
}
- throw Error(o(160))
+ n = n.return
}
- switch (t = n.stateNode, n.tag) {
- case 5:
- var a = !1;
- break;
- case 3:
- case 4:
- t = t.containerInfo, a = !0;
- break;
- default:
- throw Error(o(161))
+ for (n.sibling.return = n.return, n = n.sibling; 5 !== n.tag && 6 !== n.tag && 18 !== n.tag;) {
+ if (2 & n.effectTag) continue t;
+ if (null === n.child || 4 === n.tag) continue t;
+ n.child.return = n, n = n.child
}
- 16 & n.effectTag && (Ve(t, ""), n.effectTag &= -17);e: t: for (n = e;;) {
- for (; null === n.sibling;) {
- if (null === n.return || ks(n.return)) {
- n = null;
- break e
+ if (!(2 & n.effectTag)) {
+ n = n.stateNode;
+ break e
+ }
+ }
+ for (var r = e;;) {
+ var i = 5 === r.tag || 6 === r.tag;
+ if (i) {
+ var s = i ? r.stateNode : r.stateNode.instance;
+ if (n)
+ if (a) {
+ var l = s;
+ s = n, 8 === (i = t).nodeType ? i.parentNode.insertBefore(l, s) : i.insertBefore(l, s)
+ } else t.insertBefore(s, n);
+ else a ? (8 === (l = t).nodeType ? (i = l.parentNode).insertBefore(s, l) : (i = l).appendChild(s), null != (l = l._reactRootContainer) || null !== i.onclick || (i.onclick = Vn)) : t.appendChild(s)
+ } else if (4 !== r.tag && null !== r.child) {
+ r.child.return = r, r = r.child;
+ continue
+ }
+ if (r === e) break;
+ for (; null === r.sibling;) {
+ if (null === r.return || r.return === e) return;
+ r = r.return
+ }
+ r.sibling.return = r.return, r = r.sibling
+ }
+ }
+
+ function ws(e, t, n) {
+ for (var a, r, i = t, s = !1;;) {
+ if (!s) {
+ s = i.return;
+ e: for (;;) {
+ if (null === s) throw Error(o(160));
+ switch (a = s.stateNode, s.tag) {
+ case 5:
+ r = !1;
+ break e;
+ case 3:
+ case 4:
+ a = a.containerInfo, r = !0;
+ break e
}
- n = n.return
- }
- for (n.sibling.return = n.return, n = n.sibling; 5 !== n.tag && 6 !== n.tag && 18 !== n.tag;) {
- if (2 & n.effectTag) continue t;
- if (null === n.child || 4 === n.tag) continue t;
- n.child.return = n, n = n.child
- }
- if (!(2 & n.effectTag)) {
- n = n.stateNode;
- break e
+ s = s.return
}
+ s = !0
}
- for (var r = e;;) {
- var i = 5 === r.tag || 6 === r.tag;
- if (i) {
- var s = i ? r.stateNode : r.stateNode.instance;
- if (n)
- if (a) {
- var l = s;
- s = n, 8 === (i = t).nodeType ? i.parentNode.insertBefore(l, s) : i.insertBefore(l, s)
- } else t.insertBefore(s, n);
- else a ? (8 === (l = t).nodeType ? (i = l.parentNode).insertBefore(s, l) : (i = l).appendChild(s), null != (l = l._reactRootContainer) || null !== i.onclick || (i.onclick = Vn)) : t.appendChild(s)
- } else if (4 !== r.tag && null !== r.child) {
- r.child.return = r, r = r.child;
+ if (5 === i.tag || 6 === i.tag) {
+ e: for (var l = e, c = i, u = n, d = c;;)
+ if (ys(l, d, u), null !== d.child && 4 !== d.tag) d.child.return = d, d = d.child;
+ else {
+ if (d === c) break;
+ for (; null === d.sibling;) {
+ if (null === d.return || d.return === c) break e;
+ d = d.return
+ }
+ d.sibling.return = d.return, d = d.sibling
+ }r ? (l = a, c = i.stateNode, 8 === l.nodeType ? l.parentNode.removeChild(c) : l.removeChild(c)) : a.removeChild(i.stateNode)
+ }
+ else if (4 === i.tag) {
+ if (null !== i.child) {
+ a = i.stateNode.containerInfo, r = !0, i.child.return = i, i = i.child;
continue
}
- if (r === e) break;
- for (; null === r.sibling;) {
- if (null === r.return || r.return === e) return;
- r = r.return
- }
- r.sibling.return = r.return, r = r.sibling
+ } else if (ys(e, i, n), null !== i.child) {
+ i.child.return = i, i = i.child;
+ continue
}
+ if (i === t) break;
+ for (; null === i.sibling;) {
+ if (null === i.return || i.return === t) return;
+ 4 === (i = i.return).tag && (s = !1)
+ }
+ i.sibling.return = i.return, i = i.sibling
}
+ }
- function ws(e, t, n) {
- for (var a, r, i = t, s = !1;;) {
- if (!s) {
- s = i.return;
- e: for (;;) {
- if (null === s) throw Error(o(160));
- switch (a = s.stateNode, s.tag) {
- case 5:
- r = !1;
- break e;
- case 3:
- case 4:
- a = a.containerInfo, r = !0;
- break e
+ function Ss(e, t) {
+ switch (t.tag) {
+ case 0:
+ case 11:
+ case 14:
+ case 15:
+ bs(4, 8, t);
+ break;
+ case 1:
+ case 12:
+ case 17:
+ case 20:
+ case 21:
+ break;
+ case 5:
+ var n = t.stateNode;
+ if (null != n) {
+ var a = t.memoizedProps,
+ r = null !== e ? e.memoizedProps : a;
+ e = t.type;
+ var i = t.updateQueue;
+ if (t.updateQueue = null, null !== i) {
+ for (n[ca] = a, "input" === e && "radio" === a.type && null != a.name && Te(n, a), Un(e, r), t = Un(e, a), r = 0; r < i.length; r += 2) {
+ var s = i[r],
+ l = i[r + 1];
+ "style" === s ? Fn(n, l) : "dangerouslySetInnerHTML" === s ? He(n, l) : "children" === s ? Ve(n, l) : we(n, s, l, t)
+ }
+ switch (e) {
+ case "input":
+ De(n, a);
+ break;
+ case "textarea":
+ Re(n, a);
+ break;
+ case "select":
+ t = n._wrapperState.wasMultiple, n._wrapperState.wasMultiple = !!a.multiple, null != (e = a.value) ? Ie(n, !!a.multiple, e, !1) : t !== !!a.multiple && (null != a.defaultValue ? Ie(n, !!a.multiple, a.defaultValue, !0) : Ie(n, !!a.multiple, a.multiple ? [] : "", !1))
+ }
+ }
+ }
+ break;
+ case 6:
+ if (null === t.stateNode) throw Error(o(162));
+ t.stateNode.nodeValue = t.memoizedProps;
+ break;
+ case 3:
+ (t = t.stateNode).hydrate && (t.hydrate = !1, Ct(t.containerInfo));
+ break;
+ case 13:
+ if (n = t, null === t.memoizedState ? a = !1 : (a = !0, n = t.child, Hs = Vr()), null !== n) e: for (e = n;;) {
+ if (5 === e.tag) i = e.stateNode, a ? "function" == typeof(i = i.style).setProperty ? i.setProperty("display", "none", "important") : i.display = "none" : (i = e.stateNode, r = null != (r = e.memoizedProps.style) && r.hasOwnProperty("display") ? r.display : null, i.style.display = Ln("display", r));
+ else if (6 === e.tag) e.stateNode.nodeValue = a ? "" : e.memoizedProps;
+ else {
+ if (13 === e.tag && null !== e.memoizedState && null === e.memoizedState.dehydrated) {
+ (i = e.child.sibling).return = e, e = i;
+ continue
+ }
+ if (null !== e.child) {
+ e.child.return = e, e = e.child;
+ continue
}
- s = s.return
}
- s = !0
- }
- if (5 === i.tag || 6 === i.tag) {
- e: for (var l = e, c = i, u = n, d = c;;)
- if (ys(l, d, u), null !== d.child && 4 !== d.tag) d.child.return = d, d = d.child;
- else {
- if (d === c) break;
- for (; null === d.sibling;) {
- if (null === d.return || d.return === c) break e;
- d = d.return
- }
- d.sibling.return = d.return, d = d.sibling
- }r ? (l = a, c = i.stateNode, 8 === l.nodeType ? l.parentNode.removeChild(c) : l.removeChild(c)) : a.removeChild(i.stateNode)
- }
- else if (4 === i.tag) {
- if (null !== i.child) {
- a = i.stateNode.containerInfo, r = !0, i.child.return = i, i = i.child;
- continue
+ if (e === n) break e;
+ for (; null === e.sibling;) {
+ if (null === e.return || e.return === n) break e;
+ e = e.return
}
- } else if (ys(e, i, n), null !== i.child) {
- i.child.return = i, i = i.child;
- continue
+ e.sibling.return = e.return, e = e.sibling
+ }
+ Es(t);
+ break;
+ case 19:
+ Es(t);
+ break;
+ default:
+ throw Error(o(163))
+ }
+ }
+
+ function Es(e) {
+ var t = e.updateQueue;
+ if (null !== t) {
+ e.updateQueue = null;
+ var n = e.stateNode;
+ null === n && (n = e.stateNode = new hs), t.forEach((function(t) {
+ var a = Dl.bind(null, e, t);
+ n.has(t) || (n.add(t), t.then(a, a))
+ }))
+ }
+ }
+ var xs = "function" == typeof WeakMap ? WeakMap : Map;
+
+ function Cs(e, t, n) {
+ (n = mi(n, null)).tag = 3, n.payload = {
+ element: null
+ };
+ var a = t.value;
+ return n.callback = function() {
+ Ws || (Ws = !0, Ys = a), ms(e, t)
+ }, n
+ }
+
+ function As(e, t, n) {
+ (n = mi(n, null)).tag = 3;
+ var a = e.type.getDerivedStateFromError;
+ if ("function" == typeof a) {
+ var r = t.value;
+ n.payload = function() {
+ return ms(e, t), a(r)
+ }
+ }
+ var i = e.stateNode;
+ return null !== i && "function" == typeof i.componentDidCatch && (n.callback = function() {
+ "function" != typeof a && (null === Gs ? Gs = new Set([this]) : Gs.add(this), ms(e, t));
+ var n = t.stack;
+ this.componentDidCatch(t.value, {
+ componentStack: null !== n ? n : ""
+ })
+ }), n
+ }
+ var Ts, Ds = Math.ceil,
+ Ps = I.ReactCurrentDispatcher,
+ js = I.ReactCurrentOwner,
+ Ms = 0,
+ Is = null,
+ Os = null,
+ Ns = 0,
+ Rs = 0,
+ zs = null,
+ Ls = 1073741823,
+ Fs = 1073741823,
+ qs = null,
+ Bs = 0,
+ Us = !1,
+ Hs = 0,
+ Vs = null,
+ Ws = !1,
+ Ys = null,
+ Gs = null,
+ Ks = !1,
+ $s = null,
+ Js = 90,
+ Zs = null,
+ Qs = 0,
+ Xs = null,
+ el = 0;
+
+ function tl() {
+ return 0 != (48 & Ms) ? 1073741821 - (Vr() / 10 | 0) : 0 !== el ? el : el = 1073741821 - (Vr() / 10 | 0)
+ }
+
+ function nl(e, t, n) {
+ if (0 == (2 & (t = t.mode))) return 1073741823;
+ var a = Wr();
+ if (0 == (4 & t)) return 99 === a ? 1073741823 : 1073741822;
+ if (0 != (16 & Ms)) return Ns;
+ if (null !== n) e = Xr(e, 0 | n.timeoutMs || 5e3, 250);
+ else switch (a) {
+ case 99:
+ e = 1073741823;
+ break;
+ case 98:
+ e = Xr(e, 150, 100);
+ break;
+ case 97:
+ case 96:
+ e = Xr(e, 5e3, 250);
+ break;
+ case 95:
+ e = 2;
+ break;
+ default:
+ throw Error(o(326))
+ }
+ return null !== Is && e === Ns && --e, e
+ }
+
+ function al(e, t) {
+ if (50 < Qs) throw Qs = 0, Xs = null, Error(o(185));
+ if (null !== (e = rl(e, t))) {
+ var n = Wr();
+ 1073741823 === t ? 0 != (8 & Ms) && 0 == (48 & Ms) ? ll(e) : (ol(e), 0 === Ms && Jr()) : ol(e), 0 == (4 & Ms) || 98 !== n && 99 !== n || (null === Zs ? Zs = new Map([
+ [e, t]
+ ]) : (void 0 === (n = Zs.get(e)) || n > t) && Zs.set(e, t))
+ }
+ }
+
+ function rl(e, t) {
+ e.expirationTime < t && (e.expirationTime = t);
+ var n = e.alternate;
+ null !== n && n.expirationTime < t && (n.expirationTime = t);
+ var a = e.return,
+ r = null;
+ if (null === a && 3 === e.tag) r = e.stateNode;
+ else
+ for (; null !== a;) {
+ if (n = a.alternate, a.childExpirationTime < t && (a.childExpirationTime = t), null !== n && n.childExpirationTime < t && (n.childExpirationTime = t), null === a.return && 3 === a.tag) {
+ r = a.stateNode;
+ break
}
- if (i === t) break;
- for (; null === i.sibling;) {
- if (null === i.return || i.return === t) return;
- 4 === (i = i.return).tag && (s = !1)
+ a = a.return
+ }
+ return null !== r && (Is === r && (fl(t), 4 === Rs && Ul(r, Ns)), Hl(r, t)), r
+ }
+
+ function il(e) {
+ var t = e.lastExpiredTime;
+ return 0 !== t ? t : Bl(e, t = e.firstPendingTime) ? (t = e.lastPingedTime) > (e = e.nextKnownPendingLevel) ? t : e : t
+ }
+
+ function ol(e) {
+ if (0 !== e.lastExpiredTime) e.callbackExpirationTime = 1073741823, e.callbackPriority = 99, e.callbackNode = $r(ll.bind(null, e));
+ else {
+ var t = il(e),
+ n = e.callbackNode;
+ if (0 === t) null !== n && (e.callbackNode = null, e.callbackExpirationTime = 0, e.callbackPriority = 90);
+ else {
+ var a = tl();
+ if (a = 1073741823 === t ? 99 : 1 === t || 2 === t ? 95 : 0 >= (a = 10 * (1073741821 - t) - 10 * (1073741821 - a)) ? 99 : 250 >= a ? 98 : 5250 >= a ? 97 : 95, null !== n) {
+ var r = e.callbackPriority;
+ if (e.callbackExpirationTime === t && r >= a) return;
+ n !== Lr && Tr(n)
}
- i.sibling.return = i.return, i = i.sibling
+ e.callbackExpirationTime = t, e.callbackPriority = a, t = 1073741823 === t ? $r(ll.bind(null, e)) : Kr(a, sl.bind(null, e), {
+ timeout: 10 * (1073741821 - t) - Vr()
+ }), e.callbackNode = t
}
}
+ }
- function Ss(e, t) {
- switch (t.tag) {
- case 0:
- case 11:
- case 14:
- case 15:
- bs(4, 8, t);
- break;
- case 1:
- case 12:
- case 17:
- case 20:
- case 21:
- break;
- case 5:
- var n = t.stateNode;
- if (null != n) {
- var a = t.memoizedProps,
- r = null !== e ? e.memoizedProps : a;
- e = t.type;
- var i = t.updateQueue;
- if (t.updateQueue = null, null !== i) {
- for (n[ca] = a, "input" === e && "radio" === a.type && null != a.name && je(n, a), Un(e, r), t = Un(e, a), r = 0; r < i.length; r += 2) {
- var s = i[r],
- l = i[r + 1];
- "style" === s ? Fn(n, l) : "dangerouslySetInnerHTML" === s ? He(n, l) : "children" === s ? Ve(n, l) : we(n, s, l, t)
+ function sl(e, t) {
+ if (el = 0, t) return Vl(e, t = tl()), ol(e), null;
+ var n = il(e);
+ if (0 !== n) {
+ if (t = e.callbackNode, 0 != (48 & Ms)) throw Error(o(327));
+ if (El(), e === Is && n === Ns || dl(e, n), null !== Os) {
+ var a = Ms;
+ Ms |= 16;
+ for (var r = hl();;) try {
+ bl();
+ break
+ } catch (t) {
+ pl(e, t)
+ }
+ if (ii(), Ms = a, Ps.current = r, 1 === Rs) throw t = zs, dl(e, n), Ul(e, n), ol(e), t;
+ if (null === Os) switch (r = e.finishedWork = e.current.alternate, e.finishedExpirationTime = n, a = Rs, Is = null, a) {
+ case 0:
+ case 1:
+ throw Error(o(345));
+ case 2:
+ Vl(e, 2 < n ? 2 : n);
+ break;
+ case 3:
+ if (Ul(e, n), n === (a = e.lastSuspendedTime) && (e.nextKnownPendingLevel = kl(r)), 1073741823 === Ls && 10 < (r = Hs + 500 - Vr())) {
+ if (Us) {
+ var i = e.lastPingedTime;
+ if (0 === i || i >= n) {
+ e.lastPingedTime = n, dl(e, n);
+ break
+ }
}
- switch (e) {
- case "input":
- Pe(n, a);
- break;
- case "textarea":
- ze(n, a);
- break;
- case "select":
- t = n._wrapperState.wasMultiple, n._wrapperState.wasMultiple = !!a.multiple, null != (e = a.value) ? Me(n, !!a.multiple, e, !1) : t !== !!a.multiple && (null != a.defaultValue ? Me(n, !!a.multiple, a.defaultValue, !0) : Me(n, !!a.multiple, a.multiple ? [] : "", !1))
+ if (0 !== (i = il(e)) && i !== n) break;
+ if (0 !== a && a !== n) {
+ e.lastPingedTime = a;
+ break
}
+ e.timeoutHandle = aa(_l.bind(null, e), r);
+ break
}
- }
- break;
- case 6:
- if (null === t.stateNode) throw Error(o(162));
- t.stateNode.nodeValue = t.memoizedProps;
- break;
- case 3:
- (t = t.stateNode).hydrate && (t.hydrate = !1, Ct(t.containerInfo));
- break;
- case 13:
- if (n = t, null === t.memoizedState ? a = !1 : (a = !0, n = t.child, Hs = Vr()), null !== n) e: for (e = n;;) {
- if (5 === e.tag) i = e.stateNode, a ? "function" == typeof(i = i.style).setProperty ? i.setProperty("display", "none", "important") : i.display = "none" : (i = e.stateNode, r = null != (r = e.memoizedProps.style) && r.hasOwnProperty("display") ? r.display : null, i.style.display = Ln("display", r));
- else if (6 === e.tag) e.stateNode.nodeValue = a ? "" : e.memoizedProps;
- else {
- if (13 === e.tag && null !== e.memoizedState && null === e.memoizedState.dehydrated) {
- (i = e.child.sibling).return = e, e = i;
- continue
- }
- if (null !== e.child) {
- e.child.return = e, e = e.child;
- continue
- }
+ _l(e);
+ break;
+ case 4:
+ if (Ul(e, n), n === (a = e.lastSuspendedTime) && (e.nextKnownPendingLevel = kl(r)), Us && (0 === (r = e.lastPingedTime) || r >= n)) {
+ e.lastPingedTime = n, dl(e, n);
+ break
}
- if (e === n) break e;
- for (; null === e.sibling;) {
- if (null === e.return || e.return === n) break e;
- e = e.return
+ if (0 !== (r = il(e)) && r !== n) break;
+ if (0 !== a && a !== n) {
+ e.lastPingedTime = a;
+ break
}
- e.sibling.return = e.return, e = e.sibling
- }
- Es(t);
- break;
- case 19:
- Es(t);
- break;
- default:
- throw Error(o(163))
+ if (1073741823 !== Fs ? a = 10 * (1073741821 - Fs) - Vr() : 1073741823 === Ls ? a = 0 : (a = 10 * (1073741821 - Ls) - 5e3, 0 > (a = (r = Vr()) - a) && (a = 0), (n = 10 * (1073741821 - n) - r) < (a = (120 > a ? 120 : 480 > a ? 480 : 1080 > a ? 1080 : 1920 > a ? 1920 : 3e3 > a ? 3e3 : 4320 > a ? 4320 : 1960 * Ds(a / 1960)) - a) && (a = n)), 10 < a) {
+ e.timeoutHandle = aa(_l.bind(null, e), a);
+ break
+ }
+ _l(e);
+ break;
+ case 5:
+ if (1073741823 !== Ls && null !== qs) {
+ i = Ls;
+ var s = qs;
+ if (0 >= (a = 0 | s.busyMinDurationMs) ? a = 0 : (r = 0 | s.busyDelayMs, a = (i = Vr() - (10 * (1073741821 - i) - (0 | s.timeoutMs || 5e3))) <= r ? 0 : r + a - i), 10 < a) {
+ Ul(e, n), e.timeoutHandle = aa(_l.bind(null, e), a);
+ break
+ }
+ }
+ _l(e);
+ break;
+ default:
+ throw Error(o(329))
+ }
+ if (ol(e), e.callbackNode === t) return sl.bind(null, e)
}
}
+ return null
+ }
- function Es(e) {
- var t = e.updateQueue;
- if (null !== t) {
- e.updateQueue = null;
- var n = e.stateNode;
- null === n && (n = e.stateNode = new hs), t.forEach((function(t) {
- var a = Pl.bind(null, e, t);
- n.has(t) || (n.add(t), t.then(a, a))
- }))
+ function ll(e) {
+ var t = e.lastExpiredTime;
+ if (t = 0 !== t ? t : 1073741823, e.finishedExpirationTime === t) _l(e);
+ else {
+ if (0 != (48 & Ms)) throw Error(o(327));
+ if (El(), e === Is && t === Ns || dl(e, t), null !== Os) {
+ var n = Ms;
+ Ms |= 16;
+ for (var a = hl();;) try {
+ gl();
+ break
+ } catch (t) {
+ pl(e, t)
+ }
+ if (ii(), Ms = n, Ps.current = a, 1 === Rs) throw n = zs, dl(e, t), Ul(e, t), ol(e), n;
+ if (null !== Os) throw Error(o(261));
+ e.finishedWork = e.current.alternate, e.finishedExpirationTime = t, Is = null, _l(e), ol(e)
}
}
- var xs = "function" == typeof WeakMap ? WeakMap : Map;
+ return null
+ }
- function Cs(e, t, n) {
- (n = mi(n, null)).tag = 3, n.payload = {
- element: null
- };
- var a = t.value;
- return n.callback = function() {
- Ws || (Ws = !0, Ys = a), ms(e, t)
- }, n
- }
-
- function As(e, t, n) {
- (n = mi(n, null)).tag = 3;
- var a = e.type.getDerivedStateFromError;
- if ("function" == typeof a) {
- var r = t.value;
- n.payload = function() {
- return ms(e, t), a(r)
- }
- }
- var i = e.stateNode;
- return null !== i && "function" == typeof i.componentDidCatch && (n.callback = function() {
- "function" != typeof a && (null === Gs ? Gs = new Set([this]) : Gs.add(this), ms(e, t));
- var n = t.stack;
- this.componentDidCatch(t.value, {
- componentStack: null !== n ? n : ""
- })
- }), n
- }
- var js, Ps = Math.ceil,
- Ds = M.ReactCurrentDispatcher,
- Ts = M.ReactCurrentOwner,
- Os = 0,
- Ms = null,
- Is = null,
- Ns = 0,
- zs = 0,
- Rs = null,
- Ls = 1073741823,
- Fs = 1073741823,
- qs = null,
- Bs = 0,
- Us = !1,
- Hs = 0,
- Vs = null,
- Ws = !1,
- Ys = null,
- Gs = null,
- Ks = !1,
- $s = null,
- Js = 90,
- Zs = null,
- Qs = 0,
- Xs = null,
- el = 0;
-
- function tl() {
- return 0 != (48 & Os) ? 1073741821 - (Vr() / 10 | 0) : 0 !== el ? el : el = 1073741821 - (Vr() / 10 | 0)
- }
-
- function nl(e, t, n) {
- if (0 == (2 & (t = t.mode))) return 1073741823;
- var a = Wr();
- if (0 == (4 & t)) return 99 === a ? 1073741823 : 1073741822;
- if (0 != (16 & Os)) return Ns;
- if (null !== n) e = Xr(e, 0 | n.timeoutMs || 5e3, 250);
- else switch (a) {
- case 99:
- e = 1073741823;
- break;
- case 98:
- e = Xr(e, 150, 100);
- break;
- case 97:
- case 96:
- e = Xr(e, 5e3, 250);
- break;
- case 95:
- e = 2;
- break;
- default:
- throw Error(o(326))
- }
- return null !== Ms && e === Ns && --e, e
+ function cl(e, t) {
+ var n = Ms;
+ Ms |= 1;
+ try {
+ return e(t)
+ } finally {
+ 0 === (Ms = n) && Jr()
}
+ }
- function al(e, t) {
- if (50 < Qs) throw Qs = 0, Xs = null, Error(o(185));
- if (null !== (e = rl(e, t))) {
- var n = Wr();
- 1073741823 === t ? 0 != (8 & Os) && 0 == (48 & Os) ? ll(e) : (ol(e), 0 === Os && Jr()) : ol(e), 0 == (4 & Os) || 98 !== n && 99 !== n || (null === Zs ? Zs = new Map([
- [e, t]
- ]) : (void 0 === (n = Zs.get(e)) || n > t) && Zs.set(e, t))
- }
+ function ul(e, t) {
+ var n = Ms;
+ Ms &= -2, Ms |= 8;
+ try {
+ return e(t)
+ } finally {
+ 0 === (Ms = n) && Jr()
}
+ }
- function rl(e, t) {
- e.expirationTime < t && (e.expirationTime = t);
- var n = e.alternate;
- null !== n && n.expirationTime < t && (n.expirationTime = t);
- var a = e.return,
- r = null;
- if (null === a && 3 === e.tag) r = e.stateNode;
- else
- for (; null !== a;) {
- if (n = a.alternate, a.childExpirationTime < t && (a.childExpirationTime = t), null !== n && n.childExpirationTime < t && (n.childExpirationTime = t), null === a.return && 3 === a.tag) {
- r = a.stateNode;
- break
- }
- a = a.return
+ function dl(e, t) {
+ e.finishedWork = null, e.finishedExpirationTime = 0;
+ var n = e.timeoutHandle;
+ if (-1 !== n && (e.timeoutHandle = -1, ra(n)), null !== Os)
+ for (n = Os.return; null !== n;) {
+ var a = n;
+ switch (a.tag) {
+ case 1:
+ null != a.type.childContextTypes && kr();
+ break;
+ case 3:
+ Hi(), _r();
+ break;
+ case 5:
+ Wi(a);
+ break;
+ case 4:
+ Hi();
+ break;
+ case 13:
+ case 19:
+ pr(Yi);
+ break;
+ case 10:
+ si(a)
}
- return null !== r && (Ms === r && (fl(t), 4 === zs && Ul(r, Ns)), Hl(r, t)), r
- }
-
- function il(e) {
- var t = e.lastExpiredTime;
- return 0 !== t ? t : Bl(e, t = e.firstPendingTime) ? (t = e.lastPingedTime) > (e = e.nextKnownPendingLevel) ? t : e : t
- }
+ n = n.return
+ }
+ Is = e, Os = Nl(e.current, null), Ns = t, Rs = 0, zs = null, Fs = Ls = 1073741823, qs = null, Bs = 0, Us = !1
+ }
- function ol(e) {
- if (0 !== e.lastExpiredTime) e.callbackExpirationTime = 1073741823, e.callbackPriority = 99, e.callbackNode = $r(ll.bind(null, e));
- else {
- var t = il(e),
- n = e.callbackNode;
- if (0 === t) null !== n && (e.callbackNode = null, e.callbackExpirationTime = 0, e.callbackPriority = 90);
- else {
- var a = tl();
- if (a = 1073741823 === t ? 99 : 1 === t || 2 === t ? 95 : 0 >= (a = 10 * (1073741821 - t) - 10 * (1073741821 - a)) ? 99 : 250 >= a ? 98 : 5250 >= a ? 97 : 95, null !== n) {
- var r = e.callbackPriority;
- if (e.callbackExpirationTime === t && r >= a) return;
- n !== Lr && jr(n)
+ function pl(e, t) {
+ for (;;) {
+ try {
+ if (ii(), mo(), null === Os || null === Os.return) return Rs = 1, zs = t, null;
+ e: {
+ var n = e,
+ a = Os.return,
+ r = Os,
+ i = t;
+ if (t = Ns, r.effectTag |= 2048, r.firstEffect = r.lastEffect = null, null !== i && "object" == typeof i && "function" == typeof i.then) {
+ var o = i,
+ s = 0 != (1 & Yi.current),
+ l = a;
+ do {
+ var c;
+ if (c = 13 === l.tag) {
+ var u = l.memoizedState;
+ if (null !== u) c = null !== u.dehydrated;
+ else {
+ var d = l.memoizedProps;
+ c = void 0 !== d.fallback && (!0 !== d.unstable_avoidThisFallback || !s)
+ }
+ }
+ if (c) {
+ var p = l.updateQueue;
+ if (null === p) {
+ var h = new Set;
+ h.add(o), l.updateQueue = h
+ } else p.add(o);
+ if (0 == (2 & l.mode)) {
+ if (l.effectTag |= 64, r.effectTag &= -2981, 1 === r.tag)
+ if (null === r.alternate) r.tag = 17;
+ else {
+ var m = mi(1073741823, null);
+ m.tag = 2, gi(r, m)
+ } r.expirationTime = 1073741823;
+ break e
+ }
+ i = void 0, r = t;
+ var f = n.pingCache;
+ if (null === f ? (f = n.pingCache = new xs, i = new Set, f.set(o, i)) : void 0 === (i = f.get(o)) && (i = new Set, f.set(o, i)), !i.has(r)) {
+ i.add(r);
+ var g = Tl.bind(null, n, o, r);
+ o.then(g, g)
+ }
+ l.effectTag |= 4096, l.expirationTime = t;
+ break e
+ }
+ l = l.return
+ } while (null !== l);
+ i = Error((Z(r.type) || "A React component") + " suspended while rendering, but no fallback UI was specified.\n\nAdd a
component higher in the tree to provide a loading indicator or placeholder to display." + Q(r))
}
- e.callbackExpirationTime = t, e.callbackPriority = a, t = 1073741823 === t ? $r(ll.bind(null, e)) : Kr(a, sl.bind(null, e), {
- timeout: 10 * (1073741821 - t) - Vr()
- }), e.callbackNode = t
+ 5 !== Rs && (Rs = 2),
+ i = ps(i, r),
+ l = a;do {
+ switch (l.tag) {
+ case 3:
+ o = i, l.effectTag |= 4096, l.expirationTime = t, bi(l, Cs(l, o, t));
+ break e;
+ case 1:
+ o = i;
+ var b = l.type,
+ y = l.stateNode;
+ if (0 == (64 & l.effectTag) && ("function" == typeof b.getDerivedStateFromError || null !== y && "function" == typeof y.componentDidCatch && (null === Gs || !Gs.has(y)))) {
+ l.effectTag |= 4096, l.expirationTime = t, bi(l, As(l, o, t));
+ break e
+ }
+ }
+ l = l.return
+ } while (null !== l)
}
+ Os = vl(Os)
+ } catch (e) {
+ t = e;
+ continue
}
+ break
}
+ }
- function sl(e, t) {
- if (el = 0, t) return Vl(e, t = tl()), ol(e), null;
- var n = il(e);
- if (0 !== n) {
- if (t = e.callbackNode, 0 != (48 & Os)) throw Error(o(327));
- if (El(), e === Ms && n === Ns || dl(e, n), null !== Is) {
- var a = Os;
- Os |= 16;
- for (var r = hl();;) try {
- bl();
- break
- } catch (t) {
- pl(e, t)
- }
- if (ii(), Os = a, Ds.current = r, 1 === zs) throw t = Rs, dl(e, n), Ul(e, n), ol(e), t;
- if (null === Is) switch (r = e.finishedWork = e.current.alternate, e.finishedExpirationTime = n, a = zs, Ms = null, a) {
+ function hl() {
+ var e = Ps.current;
+ return Ps.current = jo, null === e ? jo : e
+ }
+
+ function ml(e, t) {
+ e < Ls && 2 < e && (Ls = e), null !== t && e < Fs && 2 < e && (Fs = e, qs = t)
+ }
+
+ function fl(e) {
+ e > Bs && (Bs = e)
+ }
+
+ function gl() {
+ for (; null !== Os;) Os = yl(Os)
+ }
+
+ function bl() {
+ for (; null !== Os && !Dr();) Os = yl(Os)
+ }
+
+ function yl(e) {
+ var t = Ts(e.alternate, e, Ns);
+ return e.memoizedProps = e.pendingProps, null === t && (t = vl(e)), js.current = null, t
+ }
+
+ function vl(e) {
+ Os = e;
+ do {
+ var t = Os.alternate;
+ if (e = Os.return, 0 == (2048 & Os.effectTag)) {
+ e: {
+ var n = t,
+ a = Ns,
+ i = (t = Os).pendingProps;
+ switch (t.tag) {
+ case 2:
+ case 16:
+ case 15:
case 0:
+ case 11:
+ case 7:
+ case 8:
+ case 12:
+ case 9:
+ case 14:
+ case 20:
+ case 21:
+ break;
case 1:
- throw Error(o(345));
- case 2:
- Vl(e, 2 < n ? 2 : n);
+ case 17:
+ vr(t.type) && kr();
break;
case 3:
- if (Ul(e, n), n === (a = e.lastSuspendedTime) && (e.nextKnownPendingLevel = kl(r)), 1073741823 === Ls && 10 < (r = Hs + 500 - Vr())) {
- if (Us) {
- var i = e.lastPingedTime;
- if (0 === i || i >= n) {
- e.lastPingedTime = n, dl(e, n);
- break
+ Hi(), _r(), (i = t.stateNode).pendingContext && (i.context = i.pendingContext, i.pendingContext = null), (null === n || null === n.child) && Bo(t) && cs(t);
+ break;
+ case 5:
+ Wi(t), a = Bi(qi.current);
+ var s = t.type;
+ if (null !== n && null != t.stateNode) ts(n, t, s, i, a), n.ref !== t.ref && (t.effectTag |= 128);
+ else if (i) {
+ var l = Bi(Li.current);
+ if (Bo(t)) {
+ var c = (i = t).stateNode;
+ n = i.type;
+ var u = i.memoizedProps,
+ d = a;
+ switch (c[la] = i, c[ca] = u, s = void 0, a = c, n) {
+ case "iframe":
+ case "object":
+ case "embed":
+ xn("load", a);
+ break;
+ case "video":
+ case "audio":
+ for (c = 0; c < et.length; c++) xn(et[c], a);
+ break;
+ case "source":
+ xn("error", a);
+ break;
+ case "img":
+ case "image":
+ case "link":
+ xn("error", a), xn("load", a);
+ break;
+ case "form":
+ xn("reset", a), xn("submit", a);
+ break;
+ case "details":
+ xn("toggle", a);
+ break;
+ case "input":
+ Ae(a, u), xn("invalid", a), Hn(d, "onChange");
+ break;
+ case "select":
+ a._wrapperState = {
+ wasMultiple: !!u.multiple
+ }, xn("invalid", a), Hn(d, "onChange");
+ break;
+ case "textarea":
+ Ne(a, u), xn("invalid", a), Hn(d, "onChange")
}
+ for (s in Bn(n, u), c = null, u) u.hasOwnProperty(s) && (l = u[s], "children" === s ? "string" == typeof l ? a.textContent !== l && (c = ["children", l]) : "number" == typeof l && a.textContent !== "" + l && (c = ["children", "" + l]) : h.hasOwnProperty(s) && null != l && Hn(d, s));
+ switch (n) {
+ case "input":
+ Ee(a), Pe(a, u, !0);
+ break;
+ case "textarea":
+ Ee(a), ze(a);
+ break;
+ case "select":
+ case "option":
+ break;
+ default:
+ "function" == typeof u.onClick && (a.onclick = Vn)
+ }
+ s = c, i.updateQueue = s, (i = null !== s) && cs(t)
+ } else {
+ n = t, d = s, u = i, c = 9 === a.nodeType ? a : a.ownerDocument, l === Le && (l = Fe(d)), l === Le ? "script" === d ? ((u = c.createElement("div")).innerHTML = "