<commit_before><template>
  <div class="mew-component--moon-pay">
    <mew-popup
      :show="open && step == 0"
      :has-buttons="false"
      :has-title="false"
      :has-padding="false"
      max-width="540"
      :left-btn="leftBtn"
      scrollable
      has-body-content
    >
      <div>
        <div v-if="inWallet">
          <mew-tabs
            v-if="open"
            :items="tabItems"
            :active-tab="activeTab"
            active-color="greenPrimary"
            has-underline
            class="pt-3"
            @onTab="onTab"
          >
            <template #tabContent1>
              <buy-eth-component
                :moonpay-handler="moonpayHandler"
                :close="close"
                :tab="activeTab"
                :default-currency="defaltCurrency"
                :in-wallet="inWallet"
                @selectedCurrency="setSelectedCurrency"
                @openProviders="openProviders"
                @selectedFiat="setSelectedFiat"
                @setBuyObject="setBuyObj"
              />
            </template>
            <template #tabContent2>
              <sell-eth-component
                :moonpay-handler="moonpayHandler"
                :close="close"
                :tab="activeTab"
                :default-currency="defaltCurrency"
                @selectedCurrency="setSelectedCurrency"
              />
            </template>
          </mew-tabs>
        </div>
        <div v-else>
          <buy-eth-component
            :moonpay-handler="moonpayHandler"
            :close="close"
            :tab="activeTab"
            :default-currency="defaltCurrency"
            :in-wallet="inWallet"
            @selectedCurrency="setSelectedCurrency"
            @openProviders="openProviders"
            @selectedFiat="setSelectedFiat"
            @setBuyObject="setBuyObj"
          />
        </div>
      </div>
    </mew-popup>
    <mew-popup
      :show="open && step == 1"
      :has-buttons="false"
      :has-title="true"
      title="Select Provider"
      :has-padding="false"
      max-width="540"
      :left-btn="leftBtn"
      scrollable
      has-body-content
    >
      <MoonPayBuyProviderComponent
        :moonpay-handler="moonpayHandler"
        :close="close"
        :in-wallet="inWallet"
        :only-simplex="onlySimplex"
        :selected-currency="selectedCurrency"
        :selected-fiat="selectedFiat"<commit_msg>devop: put the provider component into one popup<commit_after><template>
  <div class="mew-component--moon-pay">
    <mew-popup
      :show="open"
      :has-buttons="false"
      :has-title="false"
      :has-padding="false"
      max-width="540"
      :left-btn="leftBtn"
      scrollable
      has-body-content
    >
      <div v-if="step == 0">
        <div v-if="inWallet">
          <mew-tabs
            v-if="open"
            :items="tabItems"
            :active-tab="activeTab"
            active-color="greenPrimary"
            has-underline
            class="pt-3"
            @onTab="onTab"
          >
            <template #tabContent1>
              <buy-eth-component
                :moonpay-handler="moonpayHandler"
                :close="close"
                :tab="activeTab"
                :default-currency="defaltCurrency"
                :in-wallet="inWallet"
                @selectedCurrency="setSelectedCurrency"
                @openProviders="openProviders"
                @selectedFiat="setSelectedFiat"
                @setBuyObject="setBuyObj"
              />
            </template>
            <template #tabContent2>
              <sell-eth-component
                :moonpay-handler="moonpayHandler"
                :close="close"
                :tab="activeTab"
                :default-currency="defaltCurrency"
                @selectedCurrency="setSelectedCurrency"
              />
            </template>
          </mew-tabs>
        </div>
        <div v-else>
          <buy-eth-component
            :moonpay-handler="moonpayHandler"
            :close="close"
            :tab="activeTab"
            :default-currency="defaltCurrency"
            :in-wallet="inWallet"
            @selectedCurrency="setSelectedCurrency"
            @openProviders="openProviders"
            @selectedFiat="setSelectedFiat"
            @setBuyObject="setBuyObj"
          />
        </div>
      </div>
      <MoonPayBuyProviderComponent
        v-if="step == 1"
        :moonpay-handler="moonpayHandler"
        :close="close"
        :in-wallet="inWallet"
        :only-simplex="onlySimplex"
        :selected-currency="selectedCurrency"
        :selected-fiat="selectedFiat"
{'fraction_non_alphanumeric': 0.12392241379310345, 'fraction_numerical': 0.004094827586206897, 'mean_word_length': 1.5570247933884298, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 41, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2874132', 'n_tokens_mistral': 1351, 'n_tokens_neox': 1328, 'n_words': 162}