<?php

use SEOAIC\SEOAIC_POSTS;

defined( 'ABSPATH' ) || exit;

global $SEOAIC;
?>
<div id="seoaic_post_mass_set_tumbnail_modal" class="seoaic-modal">
    <div class="seoaic-modal-background seoaic-modal-close"></div>
    <div class="seoaic-popup">
        <div class="seoaic-popup__header">
            <span class="seoaic-modal-close">
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M1 1L15 15M15 1L1 15" stroke="#F1EBF7" stroke-width="2"/>
                </svg>
            </span>
            <h3 class="modal-title" data-title="<?php esc_attr_e('Confirm', 'seoaic');?>"><?php esc_html_e('Confirm', 'seoaic');?></h3>
        </div>
        <div class="seoaic-popup__content fs-18 position-relative">

            <label class="seoaic-modal-content mb-10"></label>
            <form id="posts-mass-set-thumbnail-form" class="mt-0 seoaic-form" method="post" data-callback="window_reload">
                <div class="seoaic-mass-set-btn-wrapper">
                    <?php
                    echo wp_kses(SEOAIC_POSTS::seoaicImageUploaderBulk(), [
                        'div' => [
                            'class' => [],
                        ],
                        'a' => [
                            'href'          => [],
                            'class'         => [],
                            'data-change'   => [],
                        ],
                        'input' => [
                            'type'          => [],
                            'name'          => [],
                            'class'         => [],
                            'value'         => [],
                            'data-thumb-id' => [],
                        ],
                    ]);
                    ?>
                </div>
                <div class="seoaic-posts-rows"></div>
            </form>
            <div class="dn seoaic-media-btn-tmplt">
                <?php
                echo wp_kses(SEOAIC_POSTS::seoaicImageUploader(), [
                    'div' => [
                        'class' => [],
                    ],
                    'a' => [
                        'href'          => [],
                        'data-upl'      => [],
                        'class'         => [],
                        'data-change'   => [],
                    ],
                    'svg' => [
                        'xmlns'     => [],
                        'width'     => [],
                        'height'    => [],
                        'fill'      => [],
                        'class'     => [],
                        'viewBox'   => [],
                    ],
                    'path' => [
                        'd' => '',
                    ],
                    'input' => [
                        'type'          => [],
                        'name'          => [],
                        'class'         => [],
                        'value'         => [],
                        'data-thumb-id' => [],
                    ],
                ]);
                ?>
            </div>
        </div>
        <div class="seoaic-popup__footer">
            <div class="flex-justify">
                <button form="posts-mass-set-thumbnail-form" type="submit" class="seoaic-popup__btn seoaic-popup__btn"><?php esc_html_e( 'Save', 'seoaic');?></button>
            </div>
        </div>
    </div>
</div>
