<commit_before>﻿<link rel="import" href="../../polymer/polymer.html" />

<dom-module id="address-lookup-field">
    <template>
        <paper-input label="Search for an address" name="alfField" id="alfField" type="text" id="street1" value="" required>
        <label>Search for an address</label>
    </template>
    <style>
    :host {
        
    }
    label {
        z-index: 1;
        width: 100%;
        pointer-events: none;
    }
    

    </style>

    <script>

        Polymer({
            is: "address-lookup-field",

            properties: {
                googleMapsKey: {
                    type: String
                },
                autoComplete: {
                    type: Object
                }
            },
            observers: [
  
            ],

            ready: function()
            {
                this.initAutoComplete();
            },

            initAutoComplete() {
                // Create the autocomplete object, restricting the search to geographical location types.
                this.autoComplete = new google.maps.places.Autocomplete(
                    this.$.alfField,<commit_msg>clarify autoComplete element<commit_after>﻿<link rel="import" href="../../polymer/polymer.html" />

<dom-module id="address-lookup-field">
    <template>
        <paper-input label="Search for an address" name="alfField" id="alfField" type="text" value="" required>
        <label>Search for an address</label>
    </template>
    <style>
    :host {
        
    }
    label {
        z-index: 1;
        width: 100%;
        pointer-events: none;
    }
    

    </style>

    <script>

        Polymer({
            is: "address-lookup-field",

            properties: {
                googleMapsKey: {
                    type: String
                },
                autoComplete: {
                    type: Object
                }
            },
            observers: [
  
            ],

            ready: function()
            {
                this.initAutoComplete();
            },

            initAutoComplete() {
                // Create the autocomplete object, restricting the search to geographical location types.
                var input = this.$.alfField.querySelector('input');
                this.autoComplete = new google.maps.places.Autocomplete(
                    input,
{'fraction_non_alphanumeric': 0.11460101867572156, 'fraction_numerical': 0.0038200339558573855, 'mean_word_length': 1.3130520117762512, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '2971009', 'n_tokens_mistral': 640, 'n_tokens_neox': 586, 'n_words': 129}