<commit_before><!-- Copyright (c) Microsoft Corporation. All rights reserved. -->

<!-- Include OpenLayers here rather than require'ing it, since it doesn't expose global variables when require'd -->
<script src="OpenLayers.js"></script>
<link href="sim-host.css" rel="stylesheet"/>

<!-- Panels -->
<cordova-panel id="geolocation" caption="Geolocation">
    <style>
        #geo-heading-label, #geo-delay-label {
            margin-right: 5px;
            margin-left: auto;
        }
    </style>
    <cordova-text-entry label="Latitude" id="geo-latitude"></cordova-text-entry>
    <cordova-text-entry label="Longitude" id="geo-longitude"></cordova-text-entry>
    <cordova-text-entry label="Altitude" id="geo-altitude"></cordova-text-entry>
    <cordova-text-entry label="Accuracy" id="geo-accuracy"></cordova-text-entry>
    <cordova-text-entry label="Altitude accuracy" id="geo-altitude-accuracy"></cordova-text-entry>
    <cordova-panel-row>
        <cordova-label label="Heading"></cordova-label>
        <cordova-label label="N" id="geo-heading-label"></cordova-label>
        <input id="geo-heading" type="range" value="0" min="0" max="359.5" step="0.5" style="width:112px;">
    </cordova-panel-row>
    <cordova-text-entry label="Speed" id="geo-speed"></cordova-text-entry>
    <cordova-panel-row>
        <cordova-label label="GPS Delay (seconds)"></cordova-label>
        <cordova-label label="0" id="geo-delay-label"></cordova-label>
        <input id="geo-delay" type="range" value="0" min="0" max="30" style="width:112px;">
    </cordova-panel-row>
    <cordova-checkbox id="geo-timeout">Simulate GPS Timeout</cordova-checkbox>

    <cordova-panel-row>
        <cordova-label label="Navigation Simulator"></cordova-label>
        <a href="https://github.com/TimBarham/cordova-simulate/blob/master/docs/gpx.md" target="_blank">How do I create a GPX file?</a>
    </cordova-panel-row>

    <cordova-panel-row>
        <cordova-button id="geo-gpxfile-button" style="width:100%">Choose File</cordova-button>
        <cordova-file hidden="true" id="geo-gpxfile"></cordova-file>
    </cordova-panel-row>

    <cordova-panel-row>
        <!-- Empty section to force other section to the right of the row -->
        <section></section>
        <section>
            <cordova-button id="geo-gpx-go" style="min-width:0;">Go</cordova-button>
            <cordova-combo id="geo-gpxmultiplier-select" style="width:auto;min-width:0;display:inline;">
                <option value="1">1x</option>
                <option value="2">2x</option>
                <option value="4">4x</option>
                <option value="8">8x</option>
                <option value="16">16x</option>
                <option value="32">32x</option>
                <option value="64">64x</option>
                <option value="128">128x</option>
            </cordova-combo>
        </section>
    </cordova-panel-row>

    <!-- Note that this needs to be a cordova-group not a cordova-panel-row as the flex box arranging of the latter
     screws up sizing of the map box in Firefox -->
    <cordova-group>
        <div class='geo-box'>
            <div class='geo-content'>
                <div id="geo-map-container"></div>
                <div id="geo-map-marker"></div>
                <div id="geo-map-direction">
                    <div id="geo-map-arrow"></div>
                    <div id="geo-map-direction-label"></div>
                </div>
                <div id="geo-gpxreplaystatus"></div>
            </div>
        </div>
    </cordova-group>
    <cordova-panel-row>
        <section>
        <cordova-button id="geo-map-zoom-decrease" style="min-width:0;">-</cordova-button>
        <cordova-button id="geo-map-zoom-increase" style="min-width:0;">+</cordova-button>
        </section>
        <section class="geo-map-zoomlevel">
            Zoom Level:&nbsp;
            <span id="geo-map-zoomlevel-value"></span>
        </section>
    </cordova-panel-row>
</cordova-panel><commit_msg>Moving geolocation map control to be rendered first.<commit_after><!-- Copyright (c) Microsoft Corporation. All rights reserved. -->

<!-- Include OpenLayers here rather than require'ing it, since it doesn't expose global variables when require'd -->
<script src="OpenLayers.js"></script>
<link href="sim-host.css" rel="stylesheet"/>

<!-- Panels -->
<cordova-panel id="geolocation" caption="Geolocation">
    <style>
        #geo-heading-label, #geo-delay-label {
            margin-right: 5px;
            margin-left: auto;
        }
    </style>
    <!-- Note that this needs to be a cordova-group not a cordova-panel-row as the flex box arranging of the latter
     screws up sizing of the map box in Firefox -->
    <cordova-group>
        <div class='geo-box'>
            <div class='geo-content'>
                <div id="geo-map-container"></div>
                <div id="geo-map-marker"></div>
                <div id="geo-map-direction">
                    <div id="geo-map-arrow"></div>
                    <div id="geo-map-direction-label"></div>
                </div>
                <div id="geo-gpxreplaystatus"></div>
            </div>
        </div>
    </cordova-group>
    <cordova-panel-row>
        <section>
        <cordova-button id="geo-map-zoom-decrease" style="min-width:0;">-</cordova-button>
        <cordova-button id="geo-map-zoom-increase" style="min-width:0;">+</cordova-button>
        </section>
        <section class="geo-map-zoomlevel">
            Zoom Level:&nbsp;
            <span id="geo-map-zoomlevel-value"></span>
        </section>
    </cordova-panel-row>

    <cordova-text-entry label="Latitude" id="geo-latitude"></cordova-text-entry>
    <cordova-text-entry label="Longitude" id="geo-longitude"></cordova-text-entry>
    <cordova-text-entry label="Altitude" id="geo-altitude"></cordova-text-entry>
    <cordova-text-entry label="Accuracy" id="geo-accuracy"></cordova-text-entry>
    <cordova-text-entry label="Altitude accuracy" id="geo-altitude-accuracy"></cordova-text-entry>
    <cordova-panel-row>
        <cordova-label label="Heading"></cordova-label>
        <cordova-label label="N" id="geo-heading-label"></cordova-label>
        <input id="geo-heading" type="range" value="0" min="0" max="359.5" step="0.5" style="width:112px;">
    </cordova-panel-row>
    <cordova-text-entry label="Speed" id="geo-speed"></cordova-text-entry>
    <cordova-panel-row>
        <cordova-label label="GPS Delay (seconds)"></cordova-label>
        <cordova-label label="0" id="geo-delay-label"></cordova-label>
        <input id="geo-delay" type="range" value="0" min="0" max="30" style="width:112px;">
    </cordova-panel-row>
    <cordova-checkbox id="geo-timeout">Simulate GPS Timeout</cordova-checkbox>

    <cordova-panel-row>
        <cordova-label label="Navigation Simulator"></cordova-label>
        <a href="https://github.com/TimBarham/cordova-simulate/blob/master/docs/gpx.md" target="_blank">How do I create a GPX file?</a>
    </cordova-panel-row>

    <cordova-panel-row>
        <cordova-button id="geo-gpxfile-button" style="width:100%">Choose File</cordova-button>
        <cordova-file hidden="true" id="geo-gpxfile"></cordova-file>
    </cordova-panel-row>

    <cordova-panel-row>
        <!-- Empty section to force other section to the right of the row -->
        <section></section>
        <section>
            <cordova-button id="geo-gpx-go" style="min-width:0;">Go</cordova-button>
            <cordova-combo id="geo-gpxmultiplier-select" style="width:auto;min-width:0;display:inline;">
                <option value="1">1x</option>
                <option value="2">2x</option>
                <option value="4">4x</option>
                <option value="8">8x</option>
                <option value="16">16x</option>
                <option value="32">32x</option>
                <option value="64">64x</option>
                <option value="128">128x</option>
            </cordova-combo>
        </section>
    </cordova-panel-row>
</cordova-panel>
{'fraction_non_alphanumeric': 0.17462295899289543, 'fraction_numerical': 0.01321201545556525, 'mean_word_length': 2.586946803755029, 'pattern_counts': {'":': 0, '<': 219, '<?xml version=': 0, '>': 219, 'https://': 2, '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': '3520359', 'n_tokens_mistral': 2652, 'n_tokens_neox': 2532, 'n_words': 454}