Enqueue scripts.

@access public
@since 3.0.26
328695
public function customize_controls_print_footer_scripts() {
		wp_enqueue_script(
			'kirki-set-setting-value',
			URL::get_from_path( __DIR__ . '/assets/scripts/set-setting-value.js' ),
			[ 'jquery' ],
			KIRKI_VERSION,
			false
		);

		wp_enqueue_script(
			'kirki-preset',
			URL::get_from_path( __DIR__ . '/assets/scripts/preset.js' ),
			[ 'jquery', 'kirki-set-setting-value' ],
			KIRKI_VERSION,
			false
		);
	}
194318
public function _enqueue_assets() {
		$icon_picker = Icon_Picker::instance();

		wp_localize_script(
			'icon-picker',
			'iconPicker',
			array(
				'types' => $icon_picker->registry->get_types_for_js(),
			)
		);

		// Some pages don't call this by default, so let's make sure.
		wp_enqueue_media();

		foreach ( $this->script_ids as $script_id ) {
			wp_enqueue_script( $script_id );
		}

		foreach ( $this->style_ids as $style_id ) {
			wp_enqueue_style( $style_id );
		}

		/**
		 * Fires when admin functionality is loaded
		 *
		 * @since 0.1.0
		 * @param Icon_Picker $icon_picker Icon_Picker instance.
		 */
		do_action( 'icon_picker_admin_loaded', $icon_picker );
	}
349766
public function enqueue_scripts()
    {
        // Get specified jQuery version.
        $jquery_version = Config::get('theme.use_jquery_cdn');

        // if a valid jQuery version has been specified.
        if (Config::get('theme.disable_jquery') !== true
            && $jquery_version !== false
            && \version_compare($jquery_version, '0.0.1', '>=') === true
        ) {
            // get all non-deferred scripts, to check for jQuery.
            $defer_exclude_list = Config::get('theme.defer_scripts_skip');

            \wp_deregister_script('jquery');

            \wp_register_script(
                'jquery',
                "//ajax.googleapis.com/ajax/libs/jquery/{$jquery_version}/jquery.min.js",
                [],
                null,
                ( \is_array($defer_exclude_list) && \in_array('jquery', $defer_exclude_list) ) ? false : true
            );

            \wp_enqueue_script('jquery');
        }

        // Completely remove jQuery
        if (Config::get('theme.disable_jquery') === true) {
            \wp_deregister_script('jquery');
        }

        // Threaded comments JS.
        if ((! Config::get('theme.disable_comments'))
            && comments_open()
            && get_option('thread_comments')
        ) {
            wp_enqueue_script('comment-reply');
        }
    }
1148730
public function enqueue() {
		$screen = get_current_screen();

		if ( ! isset( $screen->id ) ) {
			return;
		}
		if ( false === apply_filters( $this->product->get_key() . '_enqueue_recommend', false, $screen->id ) ) {
			return;
		}

		?>
		<style type="text/css">
			.recommend-product {
				display: flex;
				justify-content: space-between;
				flex-wrap: wrap;
			}

			.recommend-product .theme-banner {
				width:200px;
				margin: auto;
			}
			.recommend-product .plugin-banner {
				width: 100px;
				margin: auto;
			}

			.recommend-product .plugin_box .button span{

				margin-top: 2px;
				margin-right: 7px;
			}
			.recommend-product .plugin_box .button{
				margin-bottom:10px;
			}
			.recommend-product .plugin_box {
				margin-bottom: 20px;
				padding-top: 5px;
				display: flex;
				box-shadow: 0px 0px 10px -5px rgba(0,0,0,0.55);
				background: #fff;
				border-radius: 5px;
				flex-direction: column;
				justify-content: flex-start;
				width: 95%;
			}

			.recommend-product .title-action-wrapper {
				padding: 15px 20px 5px 20px;
			}

			.recommend-product .plugin-name {
				font-size: 18px;
				display: block;
				white-space: nowrap;
				text-overflow: ellipsis;
				margin-bottom: 10px;
				overflow: hidden;
				line-height: normal;
			}


			.recommend-product .plugin-desc {
				display: block;
				margin-bottom: 10px;
				font-size: 13px;
				color: #777;
				line-height: 1.6;
			}

			.recommend-product .button-wrap > div {
				padding: 0;
				margin: 0;
			}

			.plugin-box-footer {
				display: flex;
				justify-content: space-around;
				vertical-align: middle;
				align-items: center;
				padding: 0px 10px 5px;
				flex: 1;
				margin-top: auto;
			}
		</style>
		<?php
	}
1190419
public function enqueue() {
		parent::enqueue();

		// Enqueue selectWoo.
		wp_enqueue_script( 'selectWoo', Select::get_control_path_url() . '/assets/scripts/selectWoo/js/selectWoo.full.js', [ 'jquery' ], '1.0.1', true );
		wp_enqueue_style( 'selectWoo', Select::get_control_path_url() . '/assets/scripts/selectWoo/css/selectWoo.css', [], '1.0.1' );

		// Enqueue the custom selectWoo style.
		wp_enqueue_style( 'kirki-control-select-style', Select::get_control_path_url() . '/assets/styles/style.css', [], self::$control_ver );

		// Enqueue the script.
		wp_enqueue_script( 'kirki-control-repeater', URL::get_from_path( dirname( __DIR__ ) . '/assets/scripts/control.js' ), [ 'jquery', 'customize-base' ], self::$control_ver, false );

		// Enqueue the style.
		wp_enqueue_style( 'kirki-control-repeater-style', URL::get_from_path( dirname( __DIR__ ) . '/assets/styles/style.css' ), [], self::$control_ver );
	}
1277523
protected function init_handlers() {
		$keys = [ self::KEY_SCRIPTS, self::KEY_STYLES ];
		foreach ( $keys as $key ) {
			if ( $this->hasConfigKey( $key ) ) {
				$this->add_handler( $key );
			}
		}
	}
877133
function admin_enqueue_scripts()
	{
		// validate page
		if( ! $this->validate_page() ){ return; }
		
		
		// settings
		$this->settings = apply_filters('acf/get_info', 'all');
		
		
		// no autosave
		wp_dequeue_script( 'autosave' );
		
		
		// custom scripts
		wp_enqueue_script(array(
			'acf-field-group',
		));
		
		
		// custom styles
		wp_enqueue_style(array(
			'acf-global',
			'acf-field-group',
		));
		
		
		// actions
		do_action('acf/field_group/admin_enqueue_scripts');
		add_action('admin_head', array($this,'admin_head'));
		
	}
1192261
protected function setUpScripts()
    {
        Admin::script($this->script());

        foreach ($this->actions as $action) {
            $abstract = $action['abstract'];
            $abstract->setResource($this->grid->resource());

            Admin::script($abstract->script());
        }
    }
956288
public function enqueueScripts()
    {
        $posttypesEnabled = self::getOption('options_readspeaker-helper-enable-posttypes');
        if (!is_array($posttypesEnabled) || !in_array(get_post_type(), $posttypesEnabled)) {
            return;
        }

        /**
         * Enqueue readspeaker script
         */
        wp_register_script(
            'readspeaker',
            '//f1-eu.readspeaker.com/script/' . self::$customerId . '/ReadSpeaker.js?pids=embhl&jit=1',
            array(),
            '1.0.0',
            self::getOption('options_readspeaker-helper-script-footer')
        );
        wp_enqueue_script('readspeaker');
    }
1314280
public function scripts()
    {
        $this->Boots->Ajax->scripts();
        $this->Boots->Media->scripts();

        $this->Boots->Enqueue
        ->script('jquery')->done(true)
        ->script('wp-color-picker')->done(true)
        ->raw_script('select2')
            ->source($this->url . '/third-party/select2-3.4.5/select2.min.js')
            ->requires('jquery')
            ->version('3.4.5')
            ->done(true)
        ->raw_script('switchery')
            ->source($this->url . '/third-party/switchery/switchery.min.js')
            ->done(true)
        ->raw_script('nouislider')
            ->source($this->url . '/third-party/nouislider/nouislider.min.js')
            ->done(true)
        ->raw_script('dropzone')
            ->source($this->url . '/third-party/dropzone/dropzone.min.js')
            ->version('4.0.0')
            ->done(true)
        ->raw_script('boots_form')
            ->source($this->url . '/js/boots_form.min.js')
            ->requires('wp-color-picker')
            ->requires('select2')
            ->requires('switchery')
            ->requires('nouislider')
            ->requires('dropzone')
            ->requires('boots_media')
            ->requires('boots_ajax')
            ->vars('uploader_path', $this->url . '/uploader.php')
            ->vars('action_image_fetch', 'boots_form_image_fetch')
            ->vars('nonce_image_fetch', wp_create_nonce('boots_form_image_fetch'))
            ->done(true);
    }
130466
public function run()
	{
		$script = '';
		$script = $script.'KindEditor.ready(function(K){var editor=K.create("textarea[id='.$this->options['id'].']", {'.$this->renderItems($this->items).'})});';
		$this->getView()->registerJs($script);
		KindEditorAsset::register($this->getView());
	}
563510
public function enqueueSemanticUiScripts()
    {
        if (($data = $this->didEnqueueLibs(__METHOD__))) {
            return $data; // Did this already.
        } // We only need to enqueue once.

        $data['scripts'] = [
            'semantic-ui' => [
                'ver'  => $this->cv,
                'deps' => ['jquery'],
                'url'  => $this->c::appWsCoreUrl('/client-s/semantic/dist/semantic.min.js'),
            ],
        ];
        return $this->enqueueLibs(__METHOD__, $data);
    }
738141
public function adminEnqueue()
    {
        if (\Modularity\Helper\Wp::isAddOrEditOfPostType($this->moduleSlug)) {
            do_action('Modularity/Module/' . $this->moduleSlug . '/enqueue');
        }
    }
308249
public function enqueueScript( $handle, $src, $dependencies = [], $in_footer = false ) {
		wp_enqueue_script( $handle, $src, $dependencies, $this->generateFileVersion( $src ), $in_footer );
	}
817363
public function enqueue_admin_stylescripts() {

		$screen = get_current_screen();

		if ( ! isset( $this->plugin_screen_hook_suffix ) ) {
			return;
		}

		if ( in_array( $screen->id, $this->plugin_screen_hook_suffix, true ) ) {
			$slug = array_search( $screen->id, $this->plugin_screen_hook_suffix );
			// $configfiles = glob( $this->get_path( __FILE__ ) .'configs/'.$slug.'-*.php' );
			if ( file_exists( $this->get_path( __FILE__ ) . 'configs/fieldgroups-' . $slug . '.php' ) ) {
				include $this->get_path( __FILE__ ) . 'configs/fieldgroups-' . $slug . '.php';
			}

			if ( ! empty( $configfiles ) ) {

				foreach ( $configfiles as $key => $fieldfile ) {
					include $fieldfile;
					if ( ! empty( $group['scripts'] ) ) {
						foreach ( $group['scripts'] as $script ) {
							wp_enqueue_script( $this->plugin_slug . '-' . strtok( $script, '.' ), $this->get_url( 'assets/js/' . $script, __FILE__ ), array( 'jquery' ) );
						}
					}
					if ( ! empty( $group['styles'] ) ) {
						foreach ( $group['styles'] as $style ) {
							wp_enqueue_style( $this->plugin_slug . '-' . strtok( $style, '.' ), $this->get_url( 'assets/css/' . $style, __FILE__ ) );
						}
					}
				}
			}
			wp_enqueue_style( $this->plugin_slug . '-admin-styles', $this->get_url( 'assets/css/panel.css', __FILE__ ), array(), self::VERSION );
			wp_enqueue_style( 'pods-codemirror' );
			wp_enqueue_script( $this->plugin_slug . '-admin-scripts', $this->get_url( 'assets/js/panel.js', __FILE__ ), array(), self::VERSION );
			wp_enqueue_script( 'pods_codemirror' );
			wp_enqueue_script( 'pods-codemirror-overlay' );
			wp_enqueue_script( 'pods-codemirror-hints' );
			wp_enqueue_script( $this->plugin_slug . '-cm-editor', $this->get_url( 'assets/js/editor1.js', __FILE__ ), array( 'jquery' ), self::VERSION, true );
			wp_enqueue_script( 'pods-codemirror-mode-xml' );
			wp_enqueue_script( 'pods-codemirror-mode-html' );
			wp_enqueue_script( 'pods-codemirror-mode-css' );
		}//end if

	}
963772
public function enqueue()
    {
        // Script
        wp_register_script('modularity-thickbox', MODULARITY_URL . '/dist/js/modularity-editor-modal.' . \Modularity\App::$assetSuffix . '.js', false, '1.0.0', true);
        wp_enqueue_script('modularity-thickbox');

        // Style
        wp_register_style(
            'modularity-thickbox',
            MODULARITY_URL . '/dist/css/modularity-thickbox-edit.' . \Modularity\App::$assetSuffix . '.css',
            false,
            '1.0.0'
        );

        wp_enqueue_style('modularity-thickbox');
    }
320409
public function reset() {
        $this->script   = '';
        $this->style    = '';
        $this->js       = [];
        $this->css      = [];
        $this->obsolete = [];
        $this->holder   = [];
        $this->run      = false;
    }