<?php

/**
 * Post AI Summary related code
 */
if ( !defined( 'ABSPATH' ) ) {
    exit;
}
?>

<div class="ai-summary-wrap toggle-block-bg">

    <label class="sapmfly-switch-update">
        <div class="ai-summary-header toggle-header">
            <?php 
echo esc_html__( 'Enable AI blog summary', 'minifly' );
?>
            <input type="checkbox" class="sapmfly-setting-toggle" name="sapmfly_ai_summary"
                <?php 
checked( $ai_summary, 'yes' );
?> />
            <span class="sapmfly-slider"></span>
        </div>
    </label>

    <div class="sapmfly-toggle-resource-body">

        <?php 
?>
            <div class="sapmfly-adjust" onclick="miniflyShowPopup(); return false;">
                <p><?php 
echo esc_html__( 'Enable 5 AI Tools', 'minifly' );
?></p>
            </div>
        <?php 
?>

        <div class="sapmfly-docs">
            <p>
                <a href="https://brainywp.com/blog/ai-article-summarizer-to-a-wordpress-blog-site/" target="_blank">
                    <?php 
echo esc_html__( 'Docs', 'minifly' );
?>
                </a>
            </p>
        </div>
        <div class="sapmfly-tags">
            <p><?php 
echo esc_html__( 'Popular', 'minifly' );
?></p>
        </div>

    </div>

</div>