| @@ -53,9 +53,13 @@ | ||
| 53 | 53 | value: function dispatchEvent(eventName, payload) { |
| 54 | 54 | if (!this.isEventsManagerAvailable() || !this.canSendEvents()) { |
| 55 | 55 | return false; |
| 56 | 56 | } |
| 57 | - this.getEventsManager().dispatchEvent(eventName, payload); | |
| 57 | + try { | |
| 58 | + return this.getEventsManager().dispatchEvent(eventName, payload); | |
| 59 | + } catch (error) { | |
| 60 | + return false; | |
| 61 | + } | |
| 58 | 62 | } |
| 59 | 63 | }, { |
| 60 | 64 | key: "toLowerSnake", |
| 61 | 65 | value: function toLowerSnake(value) { |
| @@ -2924,9 +2928,9 @@ | ||
| 2924 | 2928 | sx: { |
| 2925 | 2929 | maxWidth: 520, |
| 2926 | 2930 | textAlign: 'center' |
| 2927 | 2931 | } |
| 2928 | - }, " ", (0, _i18n.__)('By clicking "Connect", I approve the ', 'elementor'), /*#__PURE__*/_react.default.createElement(_ui.Link, { | |
| 2932 | + }, (0, _i18n.__)('By clicking "Connect", I approve the ', 'elementor'), /*#__PURE__*/_react.default.createElement(_ui.Link, { | |
| 2929 | 2933 | href: "https://go.elementor.com/ai-terms/", |
| 2930 | 2934 | target: "_blank", |
| 2931 | 2935 | color: "info.main" |
| 2932 | 2936 | }, (0, _i18n.__)('Terms of Service', 'elementor')), ' & ', /*#__PURE__*/_react.default.createElement(_ui.Link, { |
| @@ -5632,9 +5636,9 @@ | ||
| 5632 | 5636 | maxWidth: 520 |
| 5633 | 5637 | }, |
| 5634 | 5638 | component: "label", |
| 5635 | 5639 | htmlFor: "e-ai-terms-approval" |
| 5636 | - }, " ", (0, _i18n.__)('I approve the ', 'elementor'), /*#__PURE__*/_react.default.createElement(_ui.Link, { | |
| 5640 | + }, (0, _i18n.__)('I approve the ', 'elementor'), /*#__PURE__*/_react.default.createElement(_ui.Link, { | |
| 5637 | 5641 | href: "https://go.elementor.com/ai-terms/", |
| 5638 | 5642 | target: "_blank", |
| 5639 | 5643 | color: "info.main" |
| 5640 | 5644 | }, (0, _i18n.__)('Terms of Service', 'elementor')), ' & ', /*#__PURE__*/_react.default.createElement(_ui.Link, { |