You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: bulk_watch_episodes_button_component.rb
    path of file: ./repos/annict/app/components/deprecated/buttons
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Deprecated::Buttons
  class BulkWatchEpisodesButtonComponent < Deprecated::ApplicationV6Component
    def initialize(view_context, episode_id:, button_text: "", class_name: "")
      super view_context
      @episode_id = episode_id
      @button_text = button_text
      @class_name = class_name
    end

    def render
      build_html do |h|
        h.tag :button,
          class: "c-bulk-watch-episodes-button #{bulk_watch_episodes_button_class_name}",
          data_controller: "bulk-watch-episodes-button",

    
    def render
      build_html do |h|
        h.tag :button,
          class: "c-bulk-watch-episodes-button #{bulk_watch_episodes_button_class_name}",
          data_controller: "bulk-watch-episodes-button",
          data_bulk_watch_episodes_button_episode_id_value: @episode_id,
          data_bulk_watch_episodes_button_loading_class: "c-bulk-watch-episodes-button--loading",
          data_action: "click->bulk-watch-episodes-button#watch" do
            h.tag :span, class: "c-bulk-watch-episodes-button__spinner spinner-border spinner-border-sm"
            h.tag :i, class: "far fa-arrow-from-bottom"

            if @button_text.present?
              h.tag :span, class: "ms-1" do
                h.text @button_text
              end
            end
          end
      end