<turbo-stream action="replace" target="company_profile_product_lines_mobile_sort"><template>
  
<div id="company_profile_product_lines_mobile_sort"
     class="visible-tablet dropdown m-4"
     data-controller="toggle-class"
     data-toggle-class-css-class="is-active"
     data-toggle-class-target="el">
  <div class="dropdown-trigger full-width">
    <button class=" button full-width has-text-align-left is-justify-content-flex-start"
            
            data-action="click->toggle-class#toggle">
      <span>Sort: Product Line Amount Low to High</span>
      <span class="icon ml-auto mr-2">
        <i class="fas fa-angle-down"></i>
      </span>
    </button>
  </div>
  <div class="dropdown-menu-wrapper full-width">
    <div class="dropdown-menu full-width">
      <div class="dropdown-content">
        <a class="dropdown-item" data-turbo="true" data-turbo-stream="true" href="/product_lines?company_classification_id=10493&amp;sort%5Breporting_segment_name%5D=asc">Reporting Segment [A-Z]</a>
        <a class="dropdown-item" data-turbo="true" data-turbo-stream="true" href="/product_lines?company_classification_id=10493&amp;sort%5Breporting_segment_name%5D=desc">Reporting Segment [Z-A]</a>
        <a class="dropdown-item" data-turbo="true" data-turbo-stream="true" href="/product_lines?company_classification_id=10493&amp;sort%5Bname%5D=asc">Product Line [A-Z]</a>
        <a class="dropdown-item" data-turbo="true" data-turbo-stream="true" href="/product_lines?company_classification_id=10493&amp;sort%5Bname%5D=desc">Product Line [Z-A]</a>
        <a class="dropdown-item" data-turbo="true" data-turbo-stream="true" href="/product_lines?company_classification_id=10493&amp;sort%5Bmetric_amount_raw%5D=desc">Product Line Amount High to Low</a>
        <a class="dropdown-item" data-turbo="true" data-turbo-stream="true" href="/product_lines?company_classification_id=10493&amp;sort%5Bmetric_amount_raw%5D=asc">Product Line Amount Low to High</a>
        <a class="dropdown-item" data-turbo="true" data-turbo-stream="true" href="/product_lines?company_classification_id=10493&amp;sort%5Bmetric_percentage%5D=desc">Product Line Percentage High to Low</a>
        <a class="dropdown-item" data-turbo="true" data-turbo-stream="true" href="/product_lines?company_classification_id=10493&amp;sort%5Bmetric_percentage%5D=asc">Product Line Percentage Low to High</a>
      </div>
    </div>
  </div>
</div>

</template></turbo-stream>
<turbo-stream action="replace" target="company_profile_product_lines_table_header"><template>
  
<table id="company_profile_product_lines_table_header"
       class="table is-hoverable">
  <thead class="visible-non-tablet">
    <tr class="is-black ">
      <th class="is-vcentered" scope="col"><a class="has-text-white is-flex" data-turbo="true" data-turbo-stream="true" href="/product_lines?company_classification_id=10493&amp;sort%5Breporting_segment_name%5D=asc"><span>Reporting Segment</span><span class="material-symbols-outlined is-size-5"></span></a></th>
      <th class="is-vcentered" scope="col"><a class="has-text-white is-flex" data-turbo="true" data-turbo-stream="true" href="/product_lines?company_classification_id=10493&amp;sort%5Bname%5D=asc"><span>Product Line</span><span class="material-symbols-outlined is-size-5"></span></a></th>
      <th class="is-vcentered has-text-right" scope="col"><a class="has-text-white is-flex" data-turbo="true" data-turbo-stream="true" href="/product_lines?company_classification_id=10493&amp;sort%5Bmetric_amount_raw%5D=desc"><span>Amount (THB)</span><span class="material-symbols-outlined is-size-5">arrow_drop_up</span></a></th>
      <th class="is-vcentered has-text-right has-text-white" scope="col"><a class="has-text-white is-flex" data-turbo="true" data-turbo-stream="true" href="/product_lines?company_classification_id=10493&amp;sort%5Bmetric_percentage%5D=asc"><span>Percentage</span><span class="material-symbols-outlined is-size-5"></span></a></th>
    </tr>
  </thead>

  <thead class="visible-tablet">
    <tr class="is-black">
      <th class="is-vcentered">
        <span class="material-symbols-outlined is-size-6 visibility-hidden ml-2">
          keyboard_arrow_right
        </span>
      </th>
      <th class="is-vcentered">
        Reporting Segment &amp; Product Line
      </th>
      <th class="is-vcentered has-text-right">
        Amount (THB)
      </th>
      <th class="is-vcentered has-text-right">
        Percentage
      </th>
    </tr>
  </thead>
</table>

</template></turbo-stream>
<turbo-stream action="replace" target="company_profile_product_lines_table_body"><template>
  
<div class="table-container"
     id="company_profile_product_lines_table_body">
  <table class="table is-hoverable ">
    <tbody class="visible-non-tablet ">

        <tr class="">
          <td class="is-vcentered">
            Other Revenue
          </td>

          <td class="is-vcentered">
            <div>
              Foreign Exchange
            </div>
            <div class="is-size-7 has-text-grey">
              These companies trade various derivatives whose underlying asset is foreign exchange currencies. Specifically, the derivatives include FX contracts, currency swaps, and currency options.
            </div>
          </td>

          <td class="has-text-right is-vcentered">
            0.15B
          </td>

          <td class="has-text-right is-vcentered">
              <span>0.66%</span>
          </td>
        </tr>

        <tr class="">
          <td class="is-vcentered">
            Personal Loans
          </td>

          <td class="is-vcentered">
            <div>
              General Loan Servicing
            </div>
            <div class="is-size-7 has-text-grey">
              These companies service general consumer loans. 
            </div>
          </td>

          <td class="has-text-right is-vcentered">
            0.19B
          </td>

          <td class="has-text-right is-vcentered">
              <span>0.83%</span>
          </td>
        </tr>

        <tr class="">
          <td class="is-vcentered">
            Other Revenue
          </td>

          <td class="is-vcentered">
            <div>
              Diversified Consumer Loans
            </div>
            <div class="is-size-7 has-text-grey">
              These companies provide loans to consumers for a variety of purposes.
            </div>
          </td>

          <td class="has-text-right is-vcentered">
            0.37B
          </td>

          <td class="has-text-right is-vcentered">
              <span>1.64%</span>
          </td>
        </tr>

        <tr class="">
          <td class="is-vcentered">
            Credit Cards
          </td>

          <td class="is-vcentered">
            <div>
              Merchant Acquirer
            </div>
            <div class="is-size-7 has-text-grey">
              These companies seek out merchants to use certain credit networks but do not issue cards to consumers. During transactions, the merchant acquirer transports money from the card issuer to the merchant.
            </div>
          </td>

          <td class="has-text-right is-vcentered">
            1.74B
          </td>

          <td class="has-text-right is-vcentered">
              <span>7.68%</span>
          </td>
        </tr>

        <tr class="">
          <td class="is-vcentered">
            Credit Cards
          </td>

          <td class="is-vcentered">
            <div>
              Issuing Banks
            </div>
            <div class="is-size-7 has-text-grey">
              These companies issue credit cards to customers and are responsible for transferring cardholders’ funds to the payment network during settlement.
            </div>
          </td>

          <td class="has-text-right is-vcentered">
            3.11B
          </td>

          <td class="has-text-right is-vcentered">
              <span>13.73%</span>
          </td>
        </tr>

        <tr class="">
          <td class="is-vcentered">
            Credit Cards
          </td>

          <td class="is-vcentered">
            <div>
              Credit Card Loans
            </div>
            <div class="is-size-7 has-text-grey">
              These companies provide loans to consumers by means of credit cards that they issue.
            </div>
          </td>

          <td class="has-text-right is-vcentered">
            8.22B
          </td>

          <td class="has-text-right is-vcentered">
              <span>36.34%</span>
          </td>
        </tr>

        <tr class="">
          <td class="is-vcentered">
            Personal Loans
          </td>

          <td class="is-vcentered">
            <div>
              Diversified Consumer Loans
            </div>
            <div class="is-size-7 has-text-grey">
              These companies provide loans to consumers for a variety of purposes.
            </div>
          </td>

          <td class="has-text-right is-vcentered">
            8.85B
          </td>

          <td class="has-text-right is-vcentered">
              <span>39.12%</span>
          </td>
        </tr>
    </tbody>

    <tbody class="visible-tablet ">

        <tr class="pl-row "
            data-controller="toggle-class"
            data-toggle-class-css-class="show-pl"
            data-toggle-class-target="el">
          <td class="is-vcentered is-clickable"
              data-action="click->toggle-class#toggle">
            <span class="material-symbols-outlined is-size-6 ml-2 pl-description-expand">
              keyboard_arrow_right
            </span>
            <span class="material-symbols-outlined is-size-6 ml-2 pl-description-collapse">
              keyboard_arrow_down
            </span>
          </td>
          <td class="is-vcentered">
            <div class="has-text-weight-semibold">
              Other Revenue
            </div>
            <div class="pl-name-container">
              <div class="pl-name" data-toggle-class-target="el">
                Foreign Exchange
              </div>
            </div>
          </td>

          <td class="has-text-right is-vcentered">
            0.15B
          </td>

          <td class="has-text-right is-vcentered">
              <span>0.66%</span>
          </td>
        </tr>

        <tr class="pl-description-row">
          <td class="is-vcentered">
            <span class="material-symbols-outlined is-size-6 visibility-hidden ml-2">
              keyboard_arrow_right
            </span>
          </td>
          <td class="py-2" colspan="3">

            <div class="pl-description is-size-7 has-text-grey">
              These companies trade various derivatives whose underlying asset is foreign exchange currencies. Specifically, the derivatives include FX contracts, currency swaps, and currency options.
            </div>
          </td>
        </tr>

        <tr class="pl-row "
            data-controller="toggle-class"
            data-toggle-class-css-class="show-pl"
            data-toggle-class-target="el">
          <td class="is-vcentered is-clickable"
              data-action="click->toggle-class#toggle">
            <span class="material-symbols-outlined is-size-6 ml-2 pl-description-expand">
              keyboard_arrow_right
            </span>
            <span class="material-symbols-outlined is-size-6 ml-2 pl-description-collapse">
              keyboard_arrow_down
            </span>
          </td>
          <td class="is-vcentered">
            <div class="has-text-weight-semibold">
              Personal Loans
            </div>
            <div class="pl-name-container">
              <div class="pl-name" data-toggle-class-target="el">
                General Loan Servicing
              </div>
            </div>
          </td>

          <td class="has-text-right is-vcentered">
            0.19B
          </td>

          <td class="has-text-right is-vcentered">
              <span>0.83%</span>
          </td>
        </tr>

        <tr class="pl-description-row">
          <td class="is-vcentered">
            <span class="material-symbols-outlined is-size-6 visibility-hidden ml-2">
              keyboard_arrow_right
            </span>
          </td>
          <td class="py-2" colspan="3">

            <div class="pl-description is-size-7 has-text-grey">
              These companies service general consumer loans. 
            </div>
          </td>
        </tr>

        <tr class="pl-row "
            data-controller="toggle-class"
            data-toggle-class-css-class="show-pl"
            data-toggle-class-target="el">
          <td class="is-vcentered is-clickable"
              data-action="click->toggle-class#toggle">
            <span class="material-symbols-outlined is-size-6 ml-2 pl-description-expand">
              keyboard_arrow_right
            </span>
            <span class="material-symbols-outlined is-size-6 ml-2 pl-description-collapse">
              keyboard_arrow_down
            </span>
          </td>
          <td class="is-vcentered">
            <div class="has-text-weight-semibold">
              Other Revenue
            </div>
            <div class="pl-name-container">
              <div class="pl-name" data-toggle-class-target="el">
                Diversified Consumer Loans
              </div>
            </div>
          </td>

          <td class="has-text-right is-vcentered">
            0.37B
          </td>

          <td class="has-text-right is-vcentered">
              <span>1.64%</span>
          </td>
        </tr>

        <tr class="pl-description-row">
          <td class="is-vcentered">
            <span class="material-symbols-outlined is-size-6 visibility-hidden ml-2">
              keyboard_arrow_right
            </span>
          </td>
          <td class="py-2" colspan="3">

            <div class="pl-description is-size-7 has-text-grey">
              These companies provide loans to consumers for a variety of purposes.
            </div>
          </td>
        </tr>

        <tr class="pl-row "
            data-controller="toggle-class"
            data-toggle-class-css-class="show-pl"
            data-toggle-class-target="el">
          <td class="is-vcentered is-clickable"
              data-action="click->toggle-class#toggle">
            <span class="material-symbols-outlined is-size-6 ml-2 pl-description-expand">
              keyboard_arrow_right
            </span>
            <span class="material-symbols-outlined is-size-6 ml-2 pl-description-collapse">
              keyboard_arrow_down
            </span>
          </td>
          <td class="is-vcentered">
            <div class="has-text-weight-semibold">
              Credit Cards
            </div>
            <div class="pl-name-container">
              <div class="pl-name" data-toggle-class-target="el">
                Merchant Acquirer
              </div>
            </div>
          </td>

          <td class="has-text-right is-vcentered">
            1.74B
          </td>

          <td class="has-text-right is-vcentered">
              <span>7.68%</span>
          </td>
        </tr>

        <tr class="pl-description-row">
          <td class="is-vcentered">
            <span class="material-symbols-outlined is-size-6 visibility-hidden ml-2">
              keyboard_arrow_right
            </span>
          </td>
          <td class="py-2" colspan="3">

            <div class="pl-description is-size-7 has-text-grey">
              These companies seek out merchants to use certain credit networks but do not issue cards to consumers. During transactions, the merchant acquirer transports money from the card issuer to the merchant.
            </div>
          </td>
        </tr>

        <tr class="pl-row "
            data-controller="toggle-class"
            data-toggle-class-css-class="show-pl"
            data-toggle-class-target="el">
          <td class="is-vcentered is-clickable"
              data-action="click->toggle-class#toggle">
            <span class="material-symbols-outlined is-size-6 ml-2 pl-description-expand">
              keyboard_arrow_right
            </span>
            <span class="material-symbols-outlined is-size-6 ml-2 pl-description-collapse">
              keyboard_arrow_down
            </span>
          </td>
          <td class="is-vcentered">
            <div class="has-text-weight-semibold">
              Credit Cards
            </div>
            <div class="pl-name-container">
              <div class="pl-name" data-toggle-class-target="el">
                Issuing Banks
              </div>
            </div>
          </td>

          <td class="has-text-right is-vcentered">
            3.11B
          </td>

          <td class="has-text-right is-vcentered">
              <span>13.73%</span>
          </td>
        </tr>

        <tr class="pl-description-row">
          <td class="is-vcentered">
            <span class="material-symbols-outlined is-size-6 visibility-hidden ml-2">
              keyboard_arrow_right
            </span>
          </td>
          <td class="py-2" colspan="3">

            <div class="pl-description is-size-7 has-text-grey">
              These companies issue credit cards to customers and are responsible for transferring cardholders’ funds to the payment network during settlement.
            </div>
          </td>
        </tr>

        <tr class="pl-row "
            data-controller="toggle-class"
            data-toggle-class-css-class="show-pl"
            data-toggle-class-target="el">
          <td class="is-vcentered is-clickable"
              data-action="click->toggle-class#toggle">
            <span class="material-symbols-outlined is-size-6 ml-2 pl-description-expand">
              keyboard_arrow_right
            </span>
            <span class="material-symbols-outlined is-size-6 ml-2 pl-description-collapse">
              keyboard_arrow_down
            </span>
          </td>
          <td class="is-vcentered">
            <div class="has-text-weight-semibold">
              Credit Cards
            </div>
            <div class="pl-name-container">
              <div class="pl-name" data-toggle-class-target="el">
                Credit Card Loans
              </div>
            </div>
          </td>

          <td class="has-text-right is-vcentered">
            8.22B
          </td>

          <td class="has-text-right is-vcentered">
              <span>36.34%</span>
          </td>
        </tr>

        <tr class="pl-description-row">
          <td class="is-vcentered">
            <span class="material-symbols-outlined is-size-6 visibility-hidden ml-2">
              keyboard_arrow_right
            </span>
          </td>
          <td class="py-2" colspan="3">

            <div class="pl-description is-size-7 has-text-grey">
              These companies provide loans to consumers by means of credit cards that they issue.
            </div>
          </td>
        </tr>

        <tr class="pl-row "
            data-controller="toggle-class"
            data-toggle-class-css-class="show-pl"
            data-toggle-class-target="el">
          <td class="is-vcentered is-clickable"
              data-action="click->toggle-class#toggle">
            <span class="material-symbols-outlined is-size-6 ml-2 pl-description-expand">
              keyboard_arrow_right
            </span>
            <span class="material-symbols-outlined is-size-6 ml-2 pl-description-collapse">
              keyboard_arrow_down
            </span>
          </td>
          <td class="is-vcentered">
            <div class="has-text-weight-semibold">
              Personal Loans
            </div>
            <div class="pl-name-container">
              <div class="pl-name" data-toggle-class-target="el">
                Diversified Consumer Loans
              </div>
            </div>
          </td>

          <td class="has-text-right is-vcentered">
            8.85B
          </td>

          <td class="has-text-right is-vcentered">
              <span>39.12%</span>
          </td>
        </tr>

        <tr class="pl-description-row">
          <td class="is-vcentered">
            <span class="material-symbols-outlined is-size-6 visibility-hidden ml-2">
              keyboard_arrow_right
            </span>
          </td>
          <td class="py-2" colspan="3">

            <div class="pl-description is-size-7 has-text-grey">
              These companies provide loans to consumers for a variety of purposes.
            </div>
          </td>
        </tr>
    </tbody>
  </table>
</div>

</template></turbo-stream>