<?php
/**
 * OrokuBlocks Promo Discount - Elementor Widget
 * 
 * @package OrokuBlocks
 * @author OrokuBlocks (https://orokublocks.com/)
 * 
 * @since 1.0.0
 * 
 */

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
  exit;
}

class OrokuBlocks_PromoDiscount_Elementor_Widget extends OrokuBlocks_Elementor_Widget {
  /**
   * Widget constructor
   * 
   * @since 1.0.0
   */
  public function __construct( $data = [], $args = null ) {
    parent::__construct( $data, $args );

    $this->widget_id = 'promo_discount';
    $this->addKeywords( [ 'promo', 'discount' ] );
    $this->addScriptDependencies( [ 'orokublocks-widget-main-scripts' ] );
    $this->registerScripts();
  }
}