<commit_before>import React from 'react';
import { Fieldset, FormRow } from '../../_common/components/forms.jsx';

const Experience = () => (
    <React.Fragment>
        <option value=''>{it.L('Please select')}</option>
        <option value='0-1 year'>{it.L('0-1 year')}</option>
        <option value='1-2 years'>{it.L('1-2 years')}</option>
        <option value='Over 3 years'>{it.L('Over 3 years')}</option>
    </React.Fragment>
);

const Frequency = () => (
    <React.Fragment>
        <option value=''>{it.L('Please select')}</option>
        <option value='0-5 transactions in the past 12 months'>{it.L('0-5 transactions in the past 12 months')}</option>
        <option value='6-10 transactions in the past 12 months'>{it.L('6-10 transactions in the past 12 months')}</option>
        <option value='11-39 transactions in the past 12 months'>{it.L('11-39 transactions in the past 12 months')}</option>
        <option value='40 transactions or more in the past 12 months'>{it.L('40 transactions or more in the past 12 months')}</option>
    </React.Fragment>
);

const SelectRow = ({ id, label, con }) => (
    <FormRow id={id} label={label} type='select'>{con()}</FormRow>
);

const Values = () => (
    <React.Fragment>
        <option value=''>{it.L('Please select')}</option>
        <option value='Less than $25,000'>{it.L('Less than $25,000')}</option>
        <option value='$25,000 - $50,000'>{it.L('$25,000 - $50,000')}</option>
        <option value='$50,001 - $100,000'>{it.L('$50,001 - $100,000')}</option>
        <option value='$100,001 - $500,000'>{it.L('$100,001 - $500,000')}</option>
        <option value='Over $500,000'>{it.L('Over $500,000')}</option>
    </React.Fragment>
);

const TradingExperienceForm = () => (
    <Fieldset id='trading_experience_form' legend={it.L('Trading Experience')}>
        <SelectRow con={Experience} id='forex_trading_experience' label={it.L('Forex Trading Experience')} />
        <SelectRow con={Frequency}  id='forex_trading_frequency'  label={it.L('Forex Trading Frequency')} />

        <SelectRow con={Experience} id='binary_options_trading_experience' label={it.L('Binary Options Trading Experience')} />
        <SelectRow con={Frequency}  id='binary_options_trading_frequency'  label={it.L('Binary Options Trading Frequency')} />

        <SelectRow con={Experience} id='cfd_trading_experience' label={it.L('CFD Trading Experience')} />
        <SelectRow con={Frequency}  id='cfd_trading_frequency'  label={it.L('CFD Trading Frequency')} />

        <SelectRow con={Experience} id='other_instruments_trading_experience' label={it.L('Other Financial Instruments Trading Experience')} />
        <SelectRow con={Frequency}  id='other_instruments_trading_frequency'  label={it.L('Other Financial Instruments Trading Frequency')} />
    </Fieldset>
);

const FinancialInformationForm = () => (
    <Fieldset id='financial_info_form' legend={it.L('Financial information')}>
        <FormRow id='income_source' label={it.L('Source of income')} type='select'>
            <option value=''>{it.L('Please select')}</option>
            <option value='Salaried Employee'>{it.L('Salaried Employee')}</option>
            <option value='Self-Employed'>{it.L('Self-Employed')}</option>
            <option value='Investments &amp; Dividends'>{it.L('Investments &amp; Dividends')}</option>
            <option value='Pension'>{it.L('Pension')}</option>
            <option value='State Benefits'>{it.L('State Benefits')}</option>
            <option value='Savings &amp; Inheritance'>{it.L('Savings & Inheritance')}</option>
        </FormRow>

        <FormRow id='employment_status' label={it.L('Employment status')} type='select'>
            <option value=''>{it.L('Please select')}</option>
            <option value='Employed'>{it.L('Employed')}</option>
            <option value='Pensioner'>{it.L('Pensioner')}</option><commit_msg>Trading Experience modify<commit_after>import React from 'react';
import { Fieldset, FormRow } from '../../_common/components/forms.jsx';

const Experience = () => (
    <React.Fragment>
        <option value=''>{it.L('Please select')}</option>
        <option value='0-1 year'>{it.L('0-1 year')}</option>
        <option value='1-2 years'>{it.L('1-2 years')}</option>
        <option value='Over 3 years'>{it.L('Over 3 years')}</option>
    </React.Fragment>
);

const Frequency = () => (
    <React.Fragment>
        <option value=''>{it.L('Please select')}</option>
        <option value='0-5 transactions in the past 12 months'>{it.L('0-5 transactions in the past 12 months')}</option>
        <option value='6-10 transactions in the past 12 months'>{it.L('6-10 transactions in the past 12 months')}</option>
        <option value='11-39 transactions in the past 12 months'>{it.L('11-39 transactions in the past 12 months')}</option>
        <option value='40 transactions or more in the past 12 months'>{it.L('40 transactions or more in the past 12 months')}</option>
    </React.Fragment>
);

const SelectRow = ({ id, label, con }) => (
    <FormRow id={id} label={label} type='select'>{con()}</FormRow>
);

const Values = () => (
    <React.Fragment>
        <option value=''>{it.L('Please select')}</option>
        <option value='Less than $25,000'>{it.L('Less than $25,000')}</option>
        <option value='$25,000 - $50,000'>{it.L('$25,000 - $50,000')}</option>
        <option value='$50,001 - $100,000'>{it.L('$50,001 - $100,000')}</option>
        <option value='$100,001 - $500,000'>{it.L('$100,001 - $500,000')}</option>
        <option value='Over $500,000'>{it.L('Over $500,000')}</option>
    </React.Fragment>
);

const TradingExperienceForm = () => (
    <Fieldset id='trading_experience_form' legend={it.L('Trading experience')}>
        <SelectRow con={Experience} id='forex_trading_experience' label={it.L('Forex trading experience')} />
        <SelectRow con={Frequency}  id='forex_trading_frequency'  label={it.L('Forex trading frequency')} />

        <SelectRow con={Experience} id='binary_options_trading_experience' label={it.L('Binary options trading experience')} />
        <SelectRow con={Frequency}  id='binary_options_trading_frequency'  label={it.L('Binary options trading frequency')} />

        <SelectRow con={Experience} id='cfd_trading_experience' label={it.L('CFD trading experience')} />
        <SelectRow con={Frequency}  id='cfd_trading_frequency'  label={it.L('CFD trading frequency')} />

        <SelectRow con={Experience} id='other_instruments_trading_experience' label={it.L('Experience with trading other financial instruments')} />
        <SelectRow con={Frequency}  id='other_instruments_trading_frequency'  label={it.L('Frequency of trading other financial instruments')} />
    </Fieldset>
);

const FinancialInformationForm = () => (
    <Fieldset id='financial_info_form' legend={it.L('Financial information')}>
        <FormRow id='income_source' label={it.L('Source of income')} type='select'>
            <option value=''>{it.L('Please select')}</option>
            <option value='Salaried Employee'>{it.L('Salaried Employee')}</option>
            <option value='Self-Employed'>{it.L('Self-Employed')}</option>
            <option value='Investments &amp; Dividends'>{it.L('Investments &amp; Dividends')}</option>
            <option value='Pension'>{it.L('Pension')}</option>
            <option value='State Benefits'>{it.L('State Benefits')}</option>
            <option value='Savings &amp; Inheritance'>{it.L('Savings & Inheritance')}</option>
        </FormRow>

        <FormRow id='employment_status' label={it.L('Employment status')} type='select'>
            <option value=''>{it.L('Please select')}</option>
            <option value='Employed'>{it.L('Employed')}</option>
            <option value='Pensioner'>{it.L('Pensioner')}</option>
{'fraction_non_alphanumeric': 0.189769820971867, 'fraction_numerical': 0.034782608695652174, 'mean_word_length': 3.9468690702087286, 'pattern_counts': {'":': 0, '<': 147, '<?xml version=': 0, '>': 159, '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': '5620680', 'n_tokens_mistral': 2653, 'n_tokens_neox': 2481, 'n_words': 497}