PageSourceSearch

https://www.minisrael.co.il/wp-content/plugins/cartflows-pro/modul…/elementor/widgets-js/frontend.js?ver=1.9.1

js minisrael.co.il collected 2026-10-02 10:03:21 UTC 1,662 bytes, 62 lines download raw bytes

1( function ( $ ) {
2	/**
3	 * Search widget JS
4	 */
5
6	const WidgetCartflowsCheckoutForm = function ( $scope ) {
7		if ( 'undefined' === typeof $scope ) return;
8
9		const $wrapper = $scope.find( '.cartflows-elementor__checkout-form' );
10
11		const $offer_wrap = $( 'body' ).find( '#wcf-pre-checkout-offer-modal' );
12
13		const settings_data = $wrapper.data( 'settings-data' );
14
15		const is_offer_enable = settings_data.enable_checkout_offer;
16
17		const checkout_settings = {
18			offer_title: [
19				settings_data.title_text,
20				'.wcf-content-modal-title h1',
21			],
22			offer_subtitle: [
23				settings_data.subtitle_text,
24				'.wcf-content-modal-sub-title span',
25			],
26			offer_product_name: [
27				settings_data.product_name,
28				'.wcf-pre-checkout-offer-product-title h1',
29			],
30			offer_product_desc: [
31				settings_data.product_desc,
32				'.wcf-pre-checkout-offer-desc span',
33			],
34			offer_accept_button: [
35				settings_data.accept_button_text,
36				'.wcf-pre-checkout-offer-btn-action.wcf-pre-checkout-add-cart-btn button',
37			],
38			offer_skip_button: [
39				settings_data.skip_button_text,
40				'.wcf-pre-checkout-offer-btn-action.wcf-pre-checkout-skip-btn .wcf-pre-checkout-skip',
41			],
42		};
43
44		if ( 'yes' === is_offer_enable ) {
45			$.each( checkout_settings, function ( key, value ) {
46				const $control_name = value[ 0 ];
47				const $selector = value[ 1 ];
48
49				if ( '' !== $control_name ) {
50					$offer_wrap.find( $selector ).html( $control_name );
51				}
52			} );
53		}
54	};
55
56	$( window ).on( 'elementor/frontend/init', function () {
57		elementorFrontend.hooks.addAction(
58			'frontend/element_ready/checkout-form.default',
59			WidgetCartflowsCheckoutForm
60		);
61	} );
62} )( jQuery );

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.