<commit_before><div style="background-color: white" class="_main-content _middle-content md-whiteframe-z1 my-profile-body"
     ng-class="{'_sm': $mdMedia('sm'), '_gt-sm': $mdMedia('gt-sm')}">
    <md-toolbar class="my-profile-toolbar _content-nav"
                ng-class="{'_sm': $mdMedia('sm'), '_gt-sm': $mdMedia('gt-sm')}">
        <div class="md-toolbar-tools">
            <div class="my-profile-header _nav-title">Deposit Funds</div>
        </div>
    </md-toolbar>
    <md-progress-linear ng-if="payment.depositRequested" md-mode="indeterminate"></md-progress-linear>
    <div layout-margin="">
        <div style="padding-top: 32px; margin-bottom: 0">
            <md-input-container style="margin-bottom: 0">
                <label for="amount">Deposit Amount (USD)</label>
                <input name="amount" required type="number" min="1.00" step="0.01"
                       max="9999.99" ng-model="payment.amount">
            </md-input-container>
            <div style="line-height: 32px">Current balance: ${{ payment.financial_data.account_balance }}</div>

        </div>

        <div layout="row" layout-align="start center" style="padding-bottom: 16px; margin-top: 0">
            <div>Credit Card ****-{{ payment.financial_data.default_card.last_4 }},
                exp. {{ payment.financial_data.default_card.exp_month }}/{{ payment.financial_data.default_card.exp_year }}</div>
            <a style="padding-left: 16px" ui-sref="payment_card">Edit Card</a>
        </div>
        <div>
            <div>Your credit card will be charged: {{ payment.getTotal() | currency }}</div>
            <!--div>{{ payment.discount < 1.0? 'A 50% discount will be applied.': '' }}</div-->
            <div class="_secondary-text-small">Stripe collects a 2.9% + 30¢ fee per transaction, and Daemo holds 0.5% in
                reserve per transaction
            </div>
        </div>
        <div layout="row" layout-align="end center">
            <md-button ng-disabled="payment.depositRequested" class="md-accent" ng-click="payment.createCharge()"><commit_msg>add discount text for .edu, .org<commit_after><div style="background-color: white" class="_main-content _middle-content md-whiteframe-z1 my-profile-body"
     ng-class="{'_sm': $mdMedia('sm'), '_gt-sm': $mdMedia('gt-sm')}">
    <md-toolbar class="my-profile-toolbar _content-nav"
                ng-class="{'_sm': $mdMedia('sm'), '_gt-sm': $mdMedia('gt-sm')}">
        <div class="md-toolbar-tools">
            <div class="my-profile-header _nav-title">Deposit Funds</div>
        </div>
    </md-toolbar>
    <md-progress-linear ng-if="payment.depositRequested" md-mode="indeterminate"></md-progress-linear>
    <div layout-margin="">
        <div style="padding-top: 32px; margin-bottom: 0">
            <div ng-if="payment.discount < 1.0">
                <a href="https://forum.daemo.org/t/daemo-academic-and-nonprofit-discount/123/2" target="_blank">50% off for academic and nonprofit accounts: discount applied</a>
            </div>
            <md-input-container style="margin-bottom: 0">
                <label for="amount">Deposit Amount (USD)</label>
                <input name="amount" required type="number" min="1.00" step="0.01"
                       max="9999.99" ng-model="payment.amount">
            </md-input-container>
            <div style="line-height: 32px">Current balance: ${{ payment.financial_data.account_balance }}</div>

        </div>

        <div layout="row" layout-align="start center" style="padding-bottom: 16px; margin-top: 0">
            <div>Credit Card ****-{{ payment.financial_data.default_card.last_4 }},
                exp. {{ payment.financial_data.default_card.exp_month }}/{{ payment.financial_data.default_card.exp_year }}</div>
            <a style="padding-left: 16px" ui-sref="payment_card">Edit Card</a>
        </div>
        <div>
            <div>Your credit card will be charged: {{ payment.getTotal() | currency }}</div>

            <div class="_secondary-text-small">Stripe collects a 2.9% + 30¢ fee per transaction, and Daemo holds 0.5% in
                reserve per transaction
            </div>
        </div>
        <div layout="row" layout-align="end center">
            <md-button ng-disabled="payment.depositRequested" class="md-accent" ng-click="payment.createCharge()">
{'fraction_non_alphanumeric': 0.17174515235457063, 'fraction_numerical': 0.017082179132040628, 'mean_word_length': 2.6845238095238093, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 75, 'https://': 1, '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': '114524', 'n_tokens_mistral': 1417, 'n_tokens_neox': 1315, 'n_words': 263}