| @@ -42529,9 +42529,13 @@ | ||
| 42529 | 42529 | } |
| 42530 | 42530 | ]); |
| 42531 | 42531 | }(); |
| 42532 | 42532 | function applyProConnectPromotionOverrides(promotionData) { |
| 42533 | - if (!elementor.helpers.hasProAndNotConnected()) return promotionData; | |
| 42533 | + var _elementorProEditorCo; | |
| 42534 | + var _elementorProEditorCo2; | |
| 42535 | + if (!elementor.helpers.hasPro()) return promotionData; | |
| 42536 | + if ((_elementorProEditorCo = elementorProEditorConfig) !== null && _elementorProEditorCo !== void 0 && _elementorProEditorCo.isActive) return promotionData; | |
| 42537 | + if (!((_elementorProEditorCo2 = elementorProEditorConfig) !== null && _elementorProEditorCo2 !== void 0 && (_elementorProEditorCo2 = _elementorProEditorCo2.urls) !== null && _elementorProEditorCo2 !== void 0 && _elementorProEditorCo2.connect)) return promotionData; | |
| 42534 | 42538 | return _objectSpread(_objectSpread({}, promotionData), {}, { |
| 42535 | 42539 | ctaUrl: elementorProEditorConfig.urls.connect, |
| 42536 | 42540 | ctaText: (0, _wordpress_i18n.__)("Connect & Activate", "elementor") |
| 42537 | 42541 | }); |