Greasy Fork is available in English.

WME URComments-Enhanced (beta)

URComments-Enhanced (URC-E) allows Waze editors to handle WME update requests more quickly and efficiently. Also adds many UR filtering options, ability to change the markers, plus much, much, more!

اعتبارا من 2019-07-24 18:28:04 UTC. شاهد أحدث إصدار.

// ==UserScript==
// @name        WME URComments-Enhanced (beta)
// @namespace   https://greasyfork.org/users/166843
// @version     2019.07.24.01
// eslint-disable-next-line max-len
// @description URComments-Enhanced (URC-E) allows Waze editors to handle WME update requests more quickly and efficiently. Also adds many UR filtering options, ability to change the markers, plus much, much, more!
// @grant       none
// @include     /^https:\/\/(www|beta)\.waze\.com\/(?!user\/)(.{2,6}\/)?editor\/?.*$/
// @require     https://greasyfork.org/scripts/24851-wazewrap/code/WazeWrap.js
// @require     https://apis.google.com/js/api.js
// @author      dBsooner
// @license     MIT/BSD/X11
// @connect     sheets.googleapis.com
// @icon        data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAwCAYAAACFUvPfAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvM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Wj0A3c6SQ2vYtm1bPpKrruXvLSJ1tD+9ujeHfJV+Yl5e3n4EjkoGDJVoY8A8f0ColgykP6qvDCPp9NKlS6UlJSUyqIYMDAU+u8MYmfNLlD+kHQbgcYsXL56xadOm9XpDr9RPFUAFBQVfbtmy5Qho1rFb4zVjjhH31sDAQCvcHJ+7WLu7u22IitaBn94eRT1cugxg/CXKl8/vMEbOF/d8tIBxfIIaivvI7du3/zInJ2d2XV1dzcqVKz+EZDlb4tPzHrw3YryZQXNihN0y8yIw1xAREWE8d+5cv7o8EmhpSkqKHGWPH0Cr+XiMz4TZk3Apxh6tHziYx+J3KNYSCA+xaOfOnVeqq6ubQUuH941o7NYYlJULC4w14Z0ehtyLe37XY8SFOtD6HWa7d1newEVwkcuqwODQs5T5k4EvepY+PxMgMTkWwc9l4Gtfv379ebwX0QS89+HzE/Qc7fhs28qVCcYL/LUAcy0Od65QCJj7g3xmtrPBREVFOXJrMOdi1wYAnLbKISHWbWbOC+vg+XzPjZUV4/mrq5V7bpC2o7jghnszABv4EJH9NPhY+w9fHhl0dna2FQQNXE1gK01wdQpIhMexWjgAcyXt7LmxivEnGTvXmUyDF8D3zm13nCszcNZrVhN4HRaC2Z37G5X36P/YjtJLCA0NlfIRA38UQi+BtCT8Ycj5hVUy/NhAcIFgb8H3SqVSZCH4+fmJ7DmgguLjiIhDvwmyG+SyTALmHvtYLNIOcHaei5S0H5X9UYPL/wQYAOwQASZqvrLnAAAAAElFTkSuQmCC
// @contributionURL https://github.com/WazeDev/Thank-The-Authors
// ==/UserScript==

/* global _, $, Blob, document, FileReader, gapi, GM_info, I18n, localStorage, location, MutationObserver, OL, performance, W, WazeWrap, window */

/*
 * Original concept and code for URComments (URC) was written by rickzabel and licensed under MIT/BSD/X11.
 * This script is a ground-up rewrite of URC. Special thanks is definitely given to rickzabel for his hard
 * work and dedication to the original script. You can reach him at rickzabel@gmail.com.
 *
 */

/*
 * Portions of this script were inspired by URO+ written by Twister-UK. Credit is given to him and his team
 * for development of that script. Where code was directly copied, function name or variable name was retained
 * and a comment was placed before the code. The code that was inspired by was a complete rewrite using URO+
 * as a reference for the logic. URO+ is located at: https://greasyfork.org/en/scripts/1952-uroverview-plus-uro
 *
 */

const SCRIPT_NAME = GM_info.script.name.replace('(beta)', 'β'),
    SCRIPT_AUTHOR = GM_info.script.author,
    SCRIPT_GF_URL = 'https://greasyfork.org/en/scripts/375430-wme-urcomments-enhanced',
    SCRIPT_FORUM_URL = 'https://www.waze.com/forum/viewtopic.php?f=819&t=275608',
    SETTINGS_STORE_NAME = 'WME_URC-E',
    ALERT_UPDATE = true,
    SCRIPT_VERSION = GM_info.script.version,
    SCRIPT_VERSION_CHANGES = ['<b>NEW:</b> WazeWrap settings storage ability.',
        '<b>CHANGE:</b> Compatibility with latest WME release.',
        '<b>CHANGE:</b> Cleanup of mutation processing.',
        '<b>CHANGE:</b> Future deprecation of properties for countries and states.',
        '<b>BUGFIX:</b> Per comment list settings toggles.',
        '<b>BUGFIX:</b> Further refinement of unstacking and selection.'
    ],
    DOUBLE_CLICK_ICON = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAGnRFWHRTb2Z0d2FyZQBQYWludC5ORVQgdjMuNS4xMDD0cqEAAAMnSURBVFhH7ZdNSFRRGIZH509ndGb8nZuCCSNE4CyGURmkTVCuBEmEiMSZBmaoRYsIgiDMhVFEFERBZITbEINQbFMtclGQtUgIalG0ioiMFkWlZc+53WN3rmfG64wSgS+8fOd8c8533u/83HPGsRZcLtedqqqqU0Z189De3q4ZxRyUlZVN+3y+EaNaENXV1VecTue8HZLYPO0v6B1jsZiG42soFErpDhPsCshkMgHM8npI7F/YP6ivr0+Wl5f/CAQCOSLsCkgmkyGMHtjtds8Q66Ig2Y5Jfx7+RV1dnS6CNT9kuBzUp5iZI0Y1L8wCEHzW4/Hs9Xq9MRJqEb7KysrHiPmM/w18JdvCXNTW1g4JEQTRRbS1tYkAOejt7Q12dnZqXV1d4VQq5RE+swAG+sKSfmImbkkB7LEo5QeNjY3DrP0x2RauBhkPof7ZwMCAHlygubm5o6KiYpyg76jKzsuIXULshFkA/Q9idUgBgmS+h/aXZN2gGul02i1sIpEgvm/M2DArHRlkP/5JUUbUE6uAmpqaEyTxgUE/Ch8JxPDfa2hoOM1yHJdtxTmfQpXYNDqZvplIJLKdHx3xeNxHgIcrjU0ks13slZuirBLQ2tq6MxwO72NfZYWPuPeJv4B9iX0u2zoIcpJMhiXpfJgfdPj9/huYnIElCwkg8ymEnzd4TfrzUI2mpqYO67SbaREwl81mi/kOCKsG6zSOWdVJ0iyAZVzo7u72MWPXqb+wS07DZawa1t1upVmAIIIno9HoNsqlo7+/f83ptAoQFFPKJluURNQE/vWDoxfG5AxopUqAgtNw/ZAC+PAMs74ZFfliapsugON0hqk8mo8csaeiXQGWJmADuCVgS8B/KoDv+r8V0NfX5zduqpLId0I8WIoDl9FbjDKwXXIXjGKLA52vYpSB7ZIHaAJbHDRN28HTaZGiMvha5B55NDs7S7EEcNmcwygHKESEfyeBOOXSMDg46OKVc5uiciAVxaxxUx6gvDFAhJOn0wiBv1FVDirJxn3Ns3s35Y0Hz+wWZmOUozXHe0D8xfrJgEvwPdf23WAwmO7p6fEazW3C4fgNPVAixOZacokAAAAASUVORK5CYII=',
    DEBUG = true,
    LOAD_BEGIN_TIME = performance.now(),
    STATIC_ONLY_USERS = ['itzwolf'],
    URCE_API_KEY = 'AIzaSyA2xOeUfopDqhB8r8esEa2A-G0X64UMr1c',
    URCE_SPREADSHEET_ID = '1aVKBOwjYmO88x96fIHtIQgAwMaCV_NfklvPqf0J0pzQ',
    _autoSwitch = {},
    _commentLists = [],
    _defaultComments = {
        dr: { commentNum: null, urNum: 98 }, // Default reminder
        dc: { commentNum: null, urNum: 99 }, // Default closed / not identified
        it: { commentNum: null, urNum: 6 }, // Incorrect turn
        ia: { commentNum: null, urNum: 7 }, // Incorrect address
        ir: { commentNum: null, urNum: 8 }, // Incorrect route
        mra: { commentNum: null, urNum: 9 }, // Missing roundabout
        ge: { commentNum: null, urNum: 10 }, // General error
        tna: { commentNum: null, urNum: 11 }, // Turn not allowed
        ij: { commentNum: null, urNum: 12 }, // Incorrect junction
        mbo: { commentNum: null, urNum: 13 }, // Missing bridge overpass
        wdd: { commentNum: null, urNum: 14 }, // Wrong driving direction
        me: { commentNum: null, urNum: 15 }, // Missing exit
        mr: { commentNum: null, urNum: 16 }, // Missing road
        ml: { commentNum: null, urNum: 18 }, // Missing landmark
        br: { commentNum: null, urNum: 19 }, // Blocked road
        msn: { commentNum: null, urNum: 21 }, // Missing street name
        isps: { commentNum: null, urNum: 22 }, // Incorrect street prefix or suffix
        sl: { commentNum: null, urNum: 23 } // Speed Limit
    },
    _restrictions = {},
    _timeouts = {
        alertBannerTimeout: {},
        checkRestrictions: {},
        getUrSessionAsync: {},
        getMapUrsAsync: {},
        getOverflowUrsFromUrl: {},
        urceTabLightbox: {},
        urPanelLightbox: {},
        bootstrap: undefined,
        saveSettingsToStorage: undefined,
        postUrComment: undefined,
        popupDelay: undefined,
        popup: undefined,
        checkForStaticListArray: undefined,
        initUrIdInUrl: undefined
    };
const _saveButtonObserver = new MutationObserver(mutations => {
    const saveCheck = mutations.filter(mutation => (mutation.type === 'attributes')
        && (mutation.attributeName === 'class')
        && mutation.target.classList.contains('ItemDisabled')
        && (mutation.oldValue.toString().indexOf('ItemDisabled') === -1)
        && $(mutation.target).hasClass('waze-icon-save'));
    if (saveCheck.length > 0)
        handleAfterSave();
});
const _urPanelContainerObserver = new MutationObserver(async mutations => {
    const newUrId = await getUrId(),
        dataStateMutations = mutations.filter(mutation => (mutation.type === 'attributes') && (mutation.attributeName === 'data-state')),
        mutatedChildren = mutations.filter(mutation => (mutation.type === 'childList')),
        addedChildren = mutatedChildren.filter(mutatedChild => (mutatedChild.addedNodes.length > 0)),
        removedChildren = mutatedChildren.filter(mutatedChild => (mutatedChild.removedNodes.length > 0));
    if ((addedChildren.length > 0)
        && addedChildren.filter(addedChild => (addedChild.addedNodes[0].className
            && (addedChild.addedNodes[0].className.indexOf('show') > -1)
            && (newUrId > 0)
            && $(addedChild.target).is('#panel-container')))
            .length > 0)
        return handleUpdateRequestContainer(newUrId, 'UR panel mutation');
    if (_selUr.handling
        && (removedChildren.length > 0)
        && removedChildren.filter(removedChild => (removedChild.removedNodes[0].className
            && (removedChild.removedNodes[0].className.indexOf('show') > -1)
            && $(removedChild.target).is('#panel-container')))
            .length > 0)
        return handleAfterCloseUpdateContainer();
    if (_selUr.handling
        && (addedChildren.length > 0)
        && addedChildren.filter(addedChild => (addedChild.addedNodes.length > 0)
            && $(addedChild.target).hasClass('comment-list')
            && (newUrId > 0)
            && (newUrId === _selUr.urId))
            .length > 0)
        return handleAfterCommentMutation(newUrId);
    if (_selUr.handling && (dataStateMutations.length > 0)) {
        const dataState = dataStateMutations[0].target.attributes['data-state'].nodeValue.replace('-', '');
        if ((dataState === 'open') || (dataState === 'solved') || (dataState === 'notidentified'))
            _selUr.newStatus = dataState;
        else
            logWarning(dataStateMutations[0].target.attributes['data-state'].nodeValue);
        return true;
    }
    return false;
});
const _urMarkerObserver = new MutationObserver(mutations => {
    const urMapMarkerIdsArr = [];
    if (!_selUr.handling) {
        const clickedUrCheck = mutations.filter(mutation => (mutation.type === 'attributes')
            && mutation.target.classList
            && (mutation.target.classList.contains('user-generated') || mutation.target.classList.contains('has-comments'))
            && ((!mutation.oldValue || !mutation.oldValue.match(/\bselected\b/)) && mutation.target.classList.contains('selected'))
            && (parseInt(mutation.target.attributes['data-id'].value) > 0));
        if (clickedUrCheck.length > 0) {
            for (let idx = 0; idx < clickedUrCheck.length; idx++) {
                if (!(_selUr.urId > 0) || (_selUr.urId !== parseInt(clickedUrCheck[idx].target.attributes['data-id'].value))) {
                    _selUr = {
                        doubleClick: false,
                        handling: false,
                        newStatus: undefined,
                        urId: parseInt(clickedUrCheck[idx].target.attributes['data-id'].value),
                        urOpen: false
                    };
                    logDebug(`Caught selected UR by backdoor. Firing the minions. urId: ${_selUr.urId}`);
                    return;
                }
            }
        }
    }
    const addedChildren = mutations.filter(mutation => (mutation.type === 'childList') && (mutation.addedNodes.length > 0));
    if (addedChildren.length > 0) {
        addedChildren.forEach(addedChild => {
            for (let idx = 0; idx < addedChild.addedNodes.length; idx++) {
                const addedNode = addedChild.addedNodes[idx];
                if (addedNode.classList && addedNode.classList.contains('map-problem') && addedNode.classList.contains('user-generated')) {
                    if ((parseInt(addedNode.attributes['data-id'].value) > 0) && (urMapMarkerIdsArr.indexOf(parseInt(addedNode.attributes['data-id'].value)) === -1))
                        urMapMarkerIdsArr.push(parseInt(addedNode.attributes['data-id'].value));
                }
            }
        });
    }
    const zoomLevel = W.map.getZoom();
    let filter = true;
    if ((_settings.disableFilteringAboveZoom && (zoomLevel < _settings.disableFilteringAboveZoomLevel))
            || (_settings.disableFilteringBelowZoom && (zoomLevel > _settings.disableFilteringBelowZoomLevel))
    )
        filter = false;
    if (urMapMarkerIdsArr.length > 0)
        handleUrLayer('markersAdded', filter, [...urMapMarkerIdsArr]);
});

let _settings = {},
    _selUr = {
        doubleClick: false,
        handling: false,
        newStatus: undefined,
        urId: -1,
        urOpen: false
    },
    _restrictionsEnforce = {},
    _commentList = [],
    _markerStackArray = [],
    _createConvert = false,
    _currentCommentList = null,
    _filtersAppliedOnZoom = false,
    _initialUrLayerScan = false,
    _markerCountOnInit = -1,
    _mousedOverMarkerId = null,
    _mouseIsDown = false,
    _needTranslation = false,
    _unstackedMasterId = null,
    _restoreZoom,
    _$restoreTab,
    _restoreTabPosition,
    _wmeUserId,
    _initUrIdInUrlObserver,
    _gapiAuth2,
    _gapiUser;

function log(message) { console.log('URC-E:', message); }
function logError(message) { console.error('URC-E:', message); }
function logWarning(message) { console.warn('URC-E:', message); }
function logDebug(message) {
    if (DEBUG)
        console.log('URC-E:', message);
}

function dynamicSort(property) {
    let sortOrder = 1;
    if (property[0] === '-') {
        sortOrder = -1;
        property = property.substr(1);
    }
    return function (a, b) {
        if (sortOrder === -1)
            return b[property].localeCompare(a[property]);
        return a[property].localeCompare(b[property]);
    };
}

function getRandomId() {
    return Math.random().toString(36).slice(2);
}

async function loadSettingsFromStorage(restoreSettings, proceedWithRestore) {
    if (!restoreSettings)
        logDebug('Loading settings from storage.');
    const invalidRestoreSettings = [],
        retainedSettings = [],
        defaultSettings = {
            lastSaved: 0,
            lastVersion: undefined,
            wmeUserId: undefined,
            // Comment List
            commentList: 0,
            commentListStyle: 'default',
            commentListCollapses: {},
            customSsId: '',
            tagEmail: '',
            autoSwitchCommentList: false,
            enableAppendMode: false,
            // Per Comment List Settings
            perCommentListSettings: {},
            // URC-E Master Settings
            autoCenterOnUr: false,
            autoClickOpenSolvedNi: false,
            autoCloseUrPanel: (_settings.autoCloseCommentWindow),
            autoSaveAfterSolvedOrNiComment: false,
            autoSendReminders: false,
            autoSetNewUrComment: false,
            autoSetNewUrCommentSlur: false,
            autoSetNewUrCommentWithDescription: false,
            autoSetReminderUrComment: false,
            autoSwitchToUrCommentsTab: false,
            autoZoomInOnNewUr: false,
            autoZoomOutAfterComment: false,
            disableDoneNextButtons: false,
            replaceNextWithDoneButton: false,
            doubleClickLinkNiComments: false,
            doubleClickLinkOpenComments: false,
            doubleClickLinkSolvedComments: false,
            hideZoomOutLinks: false,
            unfollowUrAfterSend: false,
            enableUrOverflowHandling: false,
            enableAutoRefresh: false,
            reminderDays: 0,
            closeDays: 7,
            // UR Marker Settings
            enableUrPillCounts: false,
            disableUrMarkerPopup: false,
            urMarkerPopupDelay: 2,
            urMarkerPopupTimeout: 3,
            doNotShowTagNameOnPill: false,
            replaceTagNameWithEditorName: false,
            unstackMarkers: false,
            unstackDisableAboveZoom: 3,
            unstackSensitivity: 15,
            customMarkersRoadworks: false,
            customMarkersConstruction: false,
            customMarkersClosures: false,
            customMarkersEvents: false,
            customMarkersNotes: false,
            customMarkersWslm: false,
            customMarkersBog: false,
            customMarkersDifficult: false,
            customMarkersNativeSl: false,
            customMarkersCustom: false,
            customMarkersCustomText: '',
            // UR Filtering Settings
            enableUrceUrFiltering: false,
            invertFilters: false,
            hideOutsideEditableArea: false,
            doNotFilterTaggedUrs: false,
            doNotHideSelectedUr: false,
            disableFilteringAboveZoom: false,
            disableFilteringAboveZoomLevel: 0,
            disableFilteringBelowZoom: false,
            disableFilteringBelowZoomLevel: 10,
            // -- Lifecycle
            hideWaiting: false,
            hideUrsCloseNeeded: false,
            hideUrsReminderNeeded: false,
            // -- Hide by status
            hideByStatusOpen: false,
            hideByStatusClosed: false,
            hideByStatusNotIdentified: false,
            hideByStatusSolved: false,
            hideByStatusClosedBy: false,
            hideByStatusClosedByUsers: '',
            // -- Hide by type
            hideByTypeBlockedRoad: false,
            hideByTypeGeneralError: false,
            hideByTypeIncorrectAddress: false,
            hideByTypeIncorrectJunction: false,
            hideByTypeIncorrectRoute: false,
            hideByTypeIncorrectStreetPrefixOrSuffix: false,
            hideByTypeIncorrectTurn: false,
            hideByTypeMissingBridgeOverpass: false,
            hideByTypeMissingExit: false,
            hideByTypeMissingLandmark: false,
            hideByTypeMissingOrInvalidSpeedLimit: false,
            hideByTypeMissingRoad: false,
            hideByTypeMissingRoundabout: false,
            hideByTypeMissingStreetName: false,
            hideByTypeTurnNotAllowed: false,
            hideByTypeUndefined: false,
            hideByTypeWrongDrivingDirection: false,
            // -- Hide by tag
            hideByTaggedBog: false,
            hideByTaggedClosure: false,
            hideByTaggedConstruction: false,
            hideByTaggedDifficult: false,
            hideByTaggedEvent: false,
            hideByTaggedNote: false,
            hideByTaggedRoadworks: false,
            hideByTaggedWslm: false,
            // -- Hide by age of submission
            hideByAgeOfSubmissionLessThan: false,
            hideByAgeOfSubmissionLessThanDaysOld: '',
            hideByAgeOfSubmissionMoreThan: false,
            hideByAgeOfSubmissionMoreThanDaysOld: '',
            // -- Hide by Descriptions / Comments / Following
            hideFollowing: false,
            hideNotFollowing: false,
            hideWithDescription: false,
            hideWithoutDescription: false,
            hideWithCommentsFromMe: false,
            hideWithoutCommentsFromMe: false,
            hideFirstCommentByMe: false,
            hideFirstCommentNotByMe: false,
            hideLastCommentByMe: false,
            hideLastCommentNotByMe: false,
            hideLastCommentByReporter: false,
            hideLastCommentNotByReporter: false,
            hideByCommentCountLessThan: false,
            hideByCommentCountLessThanNumber: '',
            hideByCommentCountMoreThan: false,
            hideByCommentCountMoreThanNumber: '',
            hideByAgeOfFirstCommentLessThan: false,
            hideByAgeOfFirstCommentLessThanDaysOld: '',
            hideByAgeOfFirstCommentMoreThan: false,
            hideByAgeOfFirstCommentMoreThanDaysOld: '',
            hideByAgeOfLastCommentLessThan: false,
            hideByAgeOfLastCommentLessThanDaysOld: '',
            hideByAgeOfLastCommentMoreThan: false,
            hideByAgeOfLastCommentMoreThanDaysOld: '',
            hideByKeywordIncluding: false,
            hideByKeywordIncludingKeyword: '',
            hideByKeywordNotIncluding: false,
            hideByKeywordNotIncludingKeyword: '',
            hideByKeywordCaseInsensitive: false,
            hideWithCommentBy: false,
            hideWithCommentByUsers: '',
            hideWithoutCommentBy: false,
            hideWithoutCommentByUsers: ''
        };
    if (restoreSettings && (restoreSettings !== 'resetSettings') && !proceedWithRestore) {
        Object.keys(restoreSettings).forEach(prop => {
            if (!defaultSettings.hasOwnProperty(prop)) {
                invalidRestoreSettings.push(prop);
                delete (restoreSettings[prop]);
            }
            else if ((restoreSettings[prop] === 'true') || (restoreSettings[prop] === true)) {
                restoreSettings[prop] = true;
            }
            else if ((restoreSettings[prop] === 'false') || (restoreSettings[prop] === false)) {
                restoreSettings[prop] = false;
            }
            else if ((typeof restoreSettings[prop] !== 'object')
                && !isNaN(restoreSettings[prop])
                && (restoreSettings[prop].length > 0)
                && (restoreSettings[prop] !== parseInt(restoreSettings[prop]))
            ) {
                restoreSettings[prop] = parseInt(restoreSettings[prop]);
            }
        });
        Object.keys(_settings).forEach(prop => {
            if (!restoreSettings.hasOwnProperty(prop)) {
                restoreSettings[prop] = _settings[prop];
                retainedSettings.push(prop);
            }
        });
        let outputText = `<b>${I18n.t('urce.prompts.RestoreSettingsNumOfSettings')}:</b> ${Object.keys(restoreSettings).length - retainedSettings.length}`;
        outputText += `<br><b>${I18n.t('urce.prompts.RestoreSettingsRetainedSettings')}:</b> `;
        if (retainedSettings.length > 0)
            outputText += `${retainedSettings.join(', ')} <i>(<b>${I18n.t('urce.common.Total')}:</b> ${retainedSettings.length})</i>`;
        else
            outputText += `<i>${I18n.t('urce.common.None')}</i>`;
        outputText += `<br><b>${I18n.t('urce.prompts.RestoreSettingsInvalidSettings')}:</b> `;
        if (invalidRestoreSettings.length > 0)
            outputText += `${invalidRestoreSettings.join(', ')} <i>(<b>${I18n.t('urce.common.Total')}:</b> ${invalidRestoreSettings.length})</i>`;
        else
            outputText += `<i>${I18n.t('urce.common.None')}</i>`;
        outputText += `<br><br><b>${I18n.t('urce.prompts.RestoreSettingsConfirmation')}</b>`;
        return WazeWrap.Alerts.confirm(SCRIPT_NAME, formatText(outputText), () => { loadSettingsFromStorage(restoreSettings, true); }, () => { }, I18n.t('urce.common.Yes'), I18n.t('urce.common.No'));
    }
    const loadedSettings = (restoreSettings === 'resetSettings') ? undefined : restoreSettings || $.parseJSON(localStorage.getItem(SETTINGS_STORE_NAME));
    _settings = $.extend({}, defaultSettings, loadedSettings);

    const serverSettings = await WazeWrap.Remote.RetrieveSettings(SETTINGS_STORE_NAME);
    if (serverSettings && (serverSettings.lastSaved > _settings.lastSaved))
        $.extend(_settings, serverSettings);

    if (_settings.wmeUserId !== _wmeUserId)
        _settings.wmeUserId = _wmeUserId;
    // Remove old settings
    let deleted = false;
    ['autoCloseCommentWindow', 'hideClosedUrs', 'showOthersUrsPastReminderClose', 'onlyShowMyUrs', 'hideTaggedUrs', 'hideUrsWoComments', 'hideUrsWoCommentsOrDescriptions',
        'hideUrsWoCommentsWithDescriptions', 'hideUrsWithUserReplies', 'disableAboveZoomLevel', 'hideByAgeOfLastCommentLessThanDaysAgo',
        'hideByAgeOfLastCommentMoreThanDaysAgo', 'hideByAgeOfFirstCommentMoreThanDaysAgo', 'hideByTypeWazeAutomatic'].forEach(oldSetting => {
        if (_settings.hasOwnProperty(oldSetting)) {
            delete (_settings[oldSetting]);
            deleted = true;
        }
    });
    // Fix bad settings
    let changed = false;
    ['reminderDays', 'closeDays', 'hideByAgeOfLastCommentMoreThanDaysOld', 'hideByAgeOfLastCommentLessThanDaysOld', 'hideByAgeOfFirstCommentMoreThanDaysOld',
        'hideByAgeOfFirstCommentLessThanDaysOld', 'hideByCommentCountMoreThanNumber', 'hideByCommentCountLessThanNumber', 'hideByAgeOfSubmissionMoreThanDaysOld',
        'hideByAgeOfSubmissionLessThanDaysOld'].forEach(setting => {
        if (_settings[setting] === undefined || _settings[setting] === null || ((_settings[setting].length === 0) && (_settings[setting] !== ''))) {
            _settings[setting] = '';
            changed = true;
        }
    });
    if (deleted || changed || proceedWithRestore)
        _timeouts.saveSettingsToStorage = window.setTimeout(saveSettingsToStorage, 5000);
    if (proceedWithRestore) {
        initTab();
        await changeCommentList(parseInt(this.value), false, true);
        await handleUrLayer('settingsToggle', null, null);
        WazeWrap.Alerts.success(SCRIPT_NAME, ((restoreSettings === 'resetSettings') ? `${I18n.t('urce.prompts.ResetSettingsComplete')}.` : `${I18n.t('urce.prompts.RestoreSettingsComplete')}.`));
    }
    return true;
}

function checkTimeout(obj) {
    if (obj.toIndex) {
        if (_timeouts[obj.timeout] && (_timeouts[obj.timeout][obj.toIndex] !== undefined)) {
            window.clearTimeout(_timeouts[obj.timeout][obj.toIndex]);
            _timeouts[obj.timeout][obj.toIndex] = undefined;
        }
    }
    else {
        if (_timeouts[obj.timeout] !== undefined)
            window.clearTimeout(_timeouts[obj.timeout]);
        _timeouts[obj.timeout] = undefined;
    }
}

async function saveSettingsToStorage() {
    checkTimeout({ timeout: 'saveSettingsToStorage' });
    if (localStorage) {
        if (_settings.commentListCollapses === undefined)
            _settings.commentListCollapses = {};
        _settings.commentListCollapses[_settings.commentList] = await getCollapsedGroups();
        _settings.lastVersion = SCRIPT_VERSION;
        _settings.lastSaved = Date.now();
        localStorage.setItem(SETTINGS_STORE_NAME, JSON.stringify(_settings));
        WazeWrap.Remote.SaveSettings(SETTINGS_STORE_NAME, _settings);
        logDebug('Settings saved.');
    }
}

function disableWme(message, remove) {
    if (remove && ($('#urce-disableWme').length > 0)) {
        $('#urce-disableWme').remove();
    }
    else if (!remove && ($('#urce-disableWme').length < 1)) {
        $('body').append(
            $('<div>', { id: 'urce-disableWme', style: 'position:absolute; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.75); z-index:2000;' }).append(
                $('<div>', {
                    id: 'urce-disableWme-text',
                    style: 'position:absolute; padding:8px; top:50%; left:50%; transform:translate(-50%,-50%); border:2px solid black; border-radius:5px;'
                        + 'box-shadow:5px 5px 10px black; background-color:#2F96B4; color:white; font-weight:600; z-index:20001'
                }).append(message)
            )
        );
    }
}

function dismissAlertBanner(event, idx) {
    if ((event && (event !== null) && event.data && (event.data.idx > -1) && ($(`#urceAlertPanelBox-${event.data.idx}`).length > 0))
        || ((idx > 0) && ($(`#urceAlertPanelBox-${idx}`).length > 0))
    )
        $(`#urceAlertPanelBox-${((idx > -1) ? idx : event.data.idx)}`).remove();
}

function alertBanner(message, alertBox, panelBox, panelBoxTitle, panelBoxDismiss, index) {
    index = (index === null) ? getRandomId() : index;
    if (alertBox)
        WazeWrap.Alerts.info(SCRIPT_NAME, message);
    if (panelBox) {
        if ($(`#urceAlertPanelBox-${index}`).length > 0)
            $(`#urceAlertPanelBox-${index}`).remove();
        $('#panel-urce-comments').prepend(
            $('<div>', { id: `urceAlertPanelBox-${index}`, class: 'URCE-divWarningBox', title: `${(panelBoxTitle || '')}` })
        );
        if (panelBoxDismiss) {
            $(`#urceAlertPanelBox-${index}`).append(
                $('<div>', { class: 'URCE-divDismiss' }).append(
                    $('<i>', { class: 'fa fa-close', 'aria-hidden': 'true' })
                ).off().on('click', { idx: index }, dismissAlertBanner)
            );
        }
        $(`#urceAlertPanelBox-${index}`).append(message);
    }
}

function showScriptInfoAlert() {
    if (ALERT_UPDATE && SCRIPT_VERSION !== _settings.lastVersion) {
        let releaseNotes = '';
        releaseNotes += '<p>What\'s New:</p>';
        if (SCRIPT_VERSION_CHANGES.length > 0) {
            releaseNotes += '<ul>';
            for (let idx = 0; idx < SCRIPT_VERSION_CHANGES.length; idx++)
                releaseNotes += `<li>${SCRIPT_VERSION_CHANGES[idx]}`;
            releaseNotes += '</ul>';
        }
        else {
            releaseNotes += '<ul><li>Nothing major.</ul>';
        }
        WazeWrap.Interface.ShowScriptUpdate(SCRIPT_NAME, SCRIPT_VERSION, releaseNotes, SCRIPT_GF_URL, SCRIPT_FORUM_URL);
    }
}

function isChecked(obj) {
    return $(obj).is(':checked');
}

function getCollapsedGroups() {
    return new Promise(resolve => {
        const $getDivs = $('div[id$="_body"]'),
            rObj = {};
        for (let idx = 0; idx < $getDivs.length; idx++) {
            if ($getDivs[idx].id.indexOf('urceComments-for-') > -1)
                rObj[$getDivs[idx].id] = $($getDivs[idx]).hasClass('collapse');
        }
        resolve(rObj);
    });
}

function checkRestrictions(event) {
    return new Promise(resolve => {
        (function retry(tries, toIndex, evt) {
            checkTimeout({ timeout: 'checkRestrictions', toIndex });
            let state,
                country;
            if (tries < 301) {
                if (evt && evt[0].type === 'state') {
                    country = W.model.countries.getObjectById(evt[0].countryID).abbr;
                    state = evt[0].name;
                }
                else if (evt && evt[0].type === 'country') {
                    country = evt[0].abbr;
                    state = null;
                }
                if (!country && !W.model.getTopCountry()) {
                    logDebug(`Waiting on Waze model for countries to populate. Try ${tries} of 300.`);
                    _timeouts.checkRestrictions[toIndex] = window.setTimeout(retry, 100, ++tries, toIndex, evt);
                }
                else {
                    logDebug('Setting up restrictions.');
                    checkTimeout({ timeout: 'checkRestrictions', toIndex });
                    country = country || W.model.getTopCountry().abbr;
                    state = state || (W.model.getTopState() ? W.model.getTopState().name : null);
                    _restrictionsEnforce = {};
                    let restrictionsAlertBannerTitle = `${I18n.t('urce.prompts.RestrictionsEnforcedTitle')}:\n`;
                    if (_restrictions[country]) {
                        if (state && _restrictions[country][state]) {
                            restrictionsAlertBannerTitle += `\n${W.model.countries.getByAttributes({ abbr: country })[0].name} - ${state}:`;
                            Object.keys(_restrictions[country][state]).forEach(restriction => {
                                _restrictionsEnforce[restriction] = _restrictions[country][state][restriction];
                                restrictionsAlertBannerTitle += `\n${I18n.t(`urce.prefs.${restriction.charAt(0).toUpperCase()}${restriction.slice(1)}`)}: `;
                                if (_restrictionsEnforce[restriction] === true)
                                    restrictionsAlertBannerTitle += I18n.t('urce.common.Enabled');
                                else if (_restrictionsEnforce[restriction] === false)
                                    restrictionsAlertBannerTitle += I18n.t('urce.common.Disabled');
                                else
                                    restrictionsAlertBannerTitle += I18n.t('common.time.days', { days: _restrictionsEnforce[restriction] });
                            });
                        }
                        else if (_restrictions[country].ALL && (Object.keys(_restrictions[country].ALL).length > 0)) {
                            restrictionsAlertBannerTitle += `\n${W.model.countries.getByAttributes({ abbr: country })[0].name} - ${I18n.t('urce.common.All')}:`;
                            Object.keys(_restrictions[country].ALL).forEach(restriction => {
                                _restrictionsEnforce[restriction] = _restrictions[country].ALL[restriction];
                                restrictionsAlertBannerTitle += `\n${I18n.t(`urce.prefs.${restriction.charAt(0).toUpperCase()}${restriction.slice(1)}`)}: `;
                                if (_restrictionsEnforce[restriction] === true)
                                    restrictionsAlertBannerTitle += I18n.t('urce.common.Enabled');
                                else if (_restrictionsEnforce[restriction] === false)
                                    restrictionsAlertBannerTitle += I18n.t('urce.common.Disabled');
                                else
                                    restrictionsAlertBannerTitle += I18n.t('common.time.days', { days: _restrictionsEnforce[restriction] });
                            });
                        }
                        if (Object.values(_restrictionsEnforce).length > 0)
                            alertBanner(I18n.t('urce.prompts.RestrictionsEnforced'), false, true, restrictionsAlertBannerTitle, false, 9997);
                        else
                            dismissAlertBanner(null, 9997);
                    }
                    else {
                        dismissAlertBanner(null, 9997);
                    }
                    resolve();
                }
            }
            else {
                resolve(logError('Unable to check for restrictions'));
            }
        }(1, getRandomId(), event));
    });
}

function getUrSessionsAsync(urIdsArr) {
    return new Promise(resolve => {
        (async function retry(urIds, tries, toIndex) {
            let urSessionsObj;
            checkTimeout({ timeout: 'getUrSessionAsync', toIndex });
            try {
                urSessionsObj = await W.model.updateRequestSessions.getAsync(urIds);
                urSessionsObj.sort((a, b) => a.id - b.id);
            }
            catch (error) {
                let debugMsg = `Error retreiving urSessions async for urIds: ${urIds.join(', ')} on try ${tries}.`;
                if (tries < 50)
                    debugMsg += ' Retrying.';
                logDebug(debugMsg);
            }
            if (tries > 49 && !urSessionsObj) {
                resolve({ error: true, text: '50 tries at getting urSessions async have elapsed. Stopping loop.' });
            }
            else if (!urSessionsObj) {
                _timeouts.getUrSessionAsync[toIndex] = window.setTimeout(retry, 100, urIds, ++tries, toIndex);
            }
            else {
                checkTimeout({ timeout: 'getUrSessionAsync', toIndex });
                resolve(urSessionsObj);
            }
        }(urIdsArr, 1, getRandomId()));
    });
}

function getMapUrsAsync(urIdsArr) {
    return new Promise(resolve => {
        (async function retry(urIds, tries, toIndex) {
            let mapUrsObj;
            checkTimeout({ timeout: 'getMapUrsAsync', toIndex });
            try {
                mapUrsObj = await W.model.mapUpdateRequests.getByIds(urIds);
                mapUrsObj.sort((a, b) => a.id - b.id);
            }
            catch (error) {
                let debugMsg = `Error retrieving mapUpdateRequests async for urIds: ${urIds.join(', ')} on try ${tries}.`;
                if (tries < 50)
                    debugMsg += ' Retrying.';
                logDebug(debugMsg);
            }
            if (tries > 49 && !mapUrsObj) {
                resolve({ error: true, text: '50 tries at getting mapUpdateRequests async have elapsed. Stopping loop.' });
            }
            else if (!mapUrsObj) {
                _timeouts.getMapUrsAsync[toIndex] = window.setTimeout(retry, 100, urIds, ++tries, toIndex);
            }
            else {
                checkTimeout({ timeout: 'getMapUrsAsync', toIndex });
                resolve(mapUrsObj);
            }
        }(urIdsArr, 1, getRandomId()));
    });
}

async function handleAfterCommentMutation(urId) {
    logDebug(`Handling new comment mutation for urId: ${urId}`);
    if (_settings.unfollowUrAfterSend)
        unfollowUrAfterSend(urId);
    if (_settings.autoCloseUrPanel || _selUr.doubleClick) {
        autoCloseUrPanel();
    }
    else {
        await updateUrceData([urId]);
        if ($($('#panel-container .mapUpdateRequest .top-section .body .conversation .comment .comment-title').last()).has('#urceDaysAgo').length === 0) {
            $($('#panel-container .mapUpdateRequest .top-section .body .conversation .comment .comment-title').last()).children().filter('span.date').css('float', 'right');
            $($('#panel-container .mapUpdateRequest .top-section .body .conversation .comment .comment-title').last()).append(
                $('<div>', { class: 'date', style: 'display:flex; justify-content:flex-end;' }).append(
                    $('<div>').text(
                        `(${parseDaysAgo(uroDateToDays(W.model.updateRequestSessions.objects[urId].comments[(W.model.mapUpdateRequests.objects[urId].attributes.urceData.commentCount - 1)].createdOn))})`
                    )
                )
            );
        }
        if (_settings.autoSaveAfterSolvedOrNiComment && (_selUr.newStatus === 'solved' || _selUr.newStatus === 'notidentified'))
            clickSaveButton();
        else
            await handleUrLayer('sendComment', null, [urId]);
    }
}

async function handleAfterCloseUpdateContainer() {
    if (parseInt($('.update-requests .selected').data('id')) > 0)
        return;
    if (_settings.autoSaveAfterSolvedOrNiComment && ((_selUr.newStatus === 'solved') || (_selUr.newStatus === 'notidentified'))) {
        clickSaveButton();
    }
    else {
        if (_settings.autoZoomOutAfterComment)
            autoZoomOut();
        if (_settings.autoSwitchToUrCommentsTab)
            autoSwitchToPrevTab();
        await handleUrLayer('close', null, [...[_selUr.urId]]);
    }
    _selUr = {
        doubleClick: false,
        handling: false,
        newStatus: undefined,
        urId: -1,
        urOpen: false
    };
    _restoreZoom = undefined;
}

async function handleAfterSave() {
    if (_settings.autoZoomOutAfterComment)
        autoZoomOut();
    if (_settings.autoSwitchToUrCommentsTab)
        autoSwitchToPrevTab();
    await handleUrLayer('save', null, null);
}

async function handleUpdateRequestContainer(urId, caller) {
    if (_settings.replaceNextWithDoneButton && ($('#panel-container .mapUpdateRequest.panel .section .content .navigation .done').length === 0))
        return W.reqres.request('problems:browse', _.extend({ showNext: false, nextButtonString: I18n.t('problems.panel.done') }, { problem: W.model.mapUpdateRequests.objects[urId] }));
    _selUr.handling = true;
    _restoreZoom = W.map.getZoom();
    if (_timeouts.popup !== undefined)
        hidePopup();
    logDebug(`Handling update request container after ${caller} for urId: ${urId}`);
    await updateUrceData([urId]);
    if ($('#panel-container .top-section .header .main-title').html().indexOf(urId) === -1)
        $('#panel-container .top-section .header .main-title').append(` (${urId}) `);
    if ($('#panel-container .top-section .header .reported').length === 1) {
        $('#panel-container .top-section .header').append(
            $('<div>', { class: 'reported' }).text(
                `${I18n.t('mte.edit.submitted')} ${parseDaysAgo(W.model.mapUpdateRequests.objects[urId].attributes.urceData.driveDaysOld)}`
            )
        );
    }
    if (W.model.mapUpdateRequests.objects[urId].attributes.urceData.commentCount > 0) {
        for (let idx = 0; idx < W.model.mapUpdateRequests.objects[urId].attributes.urceData.commentCount; idx++) {
            if ($($('#panel-container .mapUpdateRequest .top-section .body .conversation .comment .comment-title')[idx]).has('#urceDaysAgo').length === 0) {
                $($('#panel-container .mapUpdateRequest .top-section .body .conversation .comment .comment-title')[idx]).children().filter('span.date').css('float', 'right');
                $($('#panel-container .mapUpdateRequest .top-section .body .conversation .comment .comment-title')[idx]).append(
                    $('<div>', { class: 'date', style: 'display:flex; justify-content:flex-end;' }).append(
                        $('<div>').text(
                            `(${parseDaysAgo(uroDateToDays(W.model.updateRequestSessions.objects[urId].comments[idx].createdOn))})`
                        )
                    )
                );
            }
        }
    }
    if (_settings.autoSwitchCommentList) {
        const topCountry = W.model.getTopCountry(),
            topState = W.model.getTopState();
        if (_autoSwitch[topCountry.abbr] && ((_autoSwitch[topCountry.abbr].ALL > -1) || (_autoSwitch[topCountry.abbr][topState.name] > -1))) {
            let commentList;
            if (_autoSwitch[topCountry.abbr][topState.name] > -1)
                commentList = _autoSwitch[topCountry.abbr][topState.name];
            else if (_autoSwitch[topCountry.abbr].ALL)
                commentList = _autoSwitch[topState.abbr].ALL;
            else
                commentList = -1;
            if ((commentList > -1) && (commentList !== _currentCommentList))
                await changeCommentList(commentList, (commentList !== _settings.commentList), false);
        }
        else if (_currentCommentList !== _settings.commentList) {
            await changeCommentList(_settings.commentList, true, false);
        }
    }
    _selUr.urOpen = W.model.mapUpdateRequests.objects[urId].attributes.open;
    if (_settings.autoSwitchToUrCommentsTab)
        autoSwitchToUrceTab();
    if ($('#panel-container .mapUpdateRequest .top-section .body .conversation').hasClass('collapsed'))
        $('#panel-container .mapUpdateRequest .top-section .body .conversation').removeClass('collapsed');
    if (_settings.disableDoneNextButtons)
        $('#panel-container .mapUpdateRequest .actions .content .navigation').css({ display: 'none' });
    $('#panel-container .mapUpdateRequest .top-section .header .title .focus').off('click', recenterOnUr).on('click', { urId }, recenterOnUr);
    $('#panel-container .mapUpdateRequest .top-section').scrollTop($('#panel-container .mapUpdateRequest .top-section')[0].scrollHeight);
    $('#panel-container .mapUpdateRequest .top-section .body .conversation .new-comment-text').off('keyup', checkValue).on('keyup', checkValue);
    if (W.model.mapUpdateRequests.objects[urId].attributes.urceData.commentCount === 0) {
        if (_settings.autoZoomInOnNewUr)
            autoZoomIn(urId);
        const { commentNum } = Object.values(_defaultComments).find(defaultComment => defaultComment.urNum === W.model.mapUpdateRequests.objects[urId].attributes.type);
        if (_selUr.urOpen && commentNum) {
            if (
                ((_settings.perCommentListSettings[_currentCommentList].autoSetNewUrComment || (_restrictionsEnforce.autoSetNewUrComment === true))
                    && (_restrictionsEnforce.autoSetNewUrComment !== false)
                    && !W.model.mapUpdateRequests.objects[urId].attributes.description)
                || ((_settings.perCommentListSettings[_currentCommentList].autoSetNewUrCommentWithDescription || (_restrictionsEnforce.autoSetNewUrCommentWithDescription === true))
                    && (_restrictionsEnforce.autoSetNewUrCommentWithDescription !== false)
                    && W.model.mapUpdateRequests.objects[urId].attributes.description
                    && (W.model.mapUpdateRequests.objects[urId].attributes.type !== 23))
                || ((_settings.perCommentListSettings[_currentCommentList].autoSetNewUrCommentSlur || (_restrictionsEnforce.autoSetNewUrCommentSlur === true))
                    && (_restrictionsEnforce.autoSetNewUrCommentSlur !== false)
                    && W.model.mapUpdateRequests.objects[urId].attributes.type === 23)
            ) {
                if (_settings.autoClickOpenSolvedNi)
                    autoClickOpenSolvedNi(commentNum);
                const postUrCommentResult = await postUrComment(_commentList[commentNum].comment, false);
                if (postUrCommentResult.error) {
                    logError(new Error(postUrCommentResult.text));
                    WazeWrap.Alerts.error(SCRIPT_NAME, I18n.t('urce.prompts.CommentInsertTimedOut'));
                }
            }
        }
    }
    else if (W.model.mapUpdateRequests.objects[urId].attributes.urceData.commentCount === 1) {
        if (_selUr.urOpen
            && (_settings.perCommentListSettings[_currentCommentList].autoSetReminderUrComment || (_restrictionsEnforce.autoSetReminderUrComment === true))
            && (_restrictionsEnforce.autoSetReminderUrComment !== false)
            && _defaultComments.dr.commentNum
            && (W.model.mapUpdateRequests.objects[urId].attributes.urceData.commentCount > 0)
            && (_settings.perCommentListSettings[_currentCommentList].reminderDays !== 0)
            && (_restrictionsEnforce.reminderDays !== 0)
            && ((W.model.mapUpdateRequests.objects[urId].attributes.urceData.lastCommentDaysOld > (_settings.perCommentListSettings[_currentCommentList].reminderDays - 1))
                || W.model.mapUpdateRequests.objects[urId].attributes.urceData.lastCommentDaysOld > (_restrictionsEnforce.reminderDays - 1))
            && (W.model.mapUpdateRequests.objects[urId].attributes.urceData.lastCommentBy > 0)
        ) {
            if (_settings.autoClickOpenSolvedNi)
                autoClickOpenSolvedNi(_defaultComments.dr.commentNum);
            const postUrCommentResult = await postUrComment(_commentList[_defaultComments.dr.commentNum].comment, false);
            if (postUrCommentResult.error) {
                if (postUrCommentResult.reason === 'commentTooLong')
                    logError(new Error(postUrCommentResult.text));
                else
                    WazeWrap.Alerts.error(SCRIPT_NAME, I18n.t('urce.prompts.CommentInsertTimedOut'));
            }
        }
    }
    if (_settings.autoCenterOnUr)
        recenterOnUr({ data: { urId } }, W.map.getZoom());
    if ($('#urceShortcuts').length === 0) {
        $('#panel-container .mapUpdateRequest .top-section .body .conversation .new-comment-form').prepend(
            $('<div>', { id: 'urceShortcuts', style: 'text-align:center; padding-bottom:8px;' }).append(
                $('<div>').append(
                    $('<i>', {
                        class: 'fa fa-road', 'aria-hidden': 'true', style: 'cursor:pointer; padding-left:4px;', title: I18n.t('urce.urPanel.InsertSelSegsTitle')
                    }).off().on('click', { shortcut: 'selSegs' }, handleClickedShortcut),
                    $('<i>', {
                        class: 'fa fa-clock-o', 'aria-hidden': 'true', style: 'cursor:pointer; padding-left:4px;', title: I18n.t('urce.urPanel.InsertTimeTitle')
                    }).off().on('click', { shortcut: 'time' }, handleClickedShortcut),
                    $('<i>', {
                        class: 'fa fa-sun-o', 'aria-hidden': 'true', style: 'cursor:pointer; padding-left:4px;', title: I18n.t('urce.urPanel.InsertDayOfWeekTitle')
                    }).off().on('click', { shortcut: 'dayOfWeek' }, handleClickedShortcut),
                    $('<i>', {
                        class: 'fa fa-calendar-o', 'aria-hidden': 'true', style: 'cursor:pointer; padding-left:4px;', title: I18n.t('urce.urPanel.InsertDateTitle')
                    }).off().on('click', { shortcut: 'date' }, handleClickedShortcut),
                    $('<i>', {
                        class: 'fa fa-paragraph', 'aria-hidden': 'true', style: 'cursor:pointer; padding-left:4px;', title: I18n.t('urce.urPanel.InsertDescriptionTitle')
                    }).off().on('click', { shortcut: 'description' }, handleClickedShortcut),
                    $('<i>', {
                        class: 'fa fa-user-o', 'aria-hidden': 'true', style: 'cursor:pointer; padding-left:4px;', title: I18n.t('urce.urPanel.InsertWazeUsernameTitle')
                    }).off().on('click', { shortcut: 'wazeUsername' }, handleClickedShortcut)
                ).append(
                    $('<div>', { style: 'padding-left:20px; display:inline-block;' }).append(
                        $('<i>', {
                            class: 'fa fa-clock-o', 'aria-hidden': 'true', style: 'cursor:pointer; padding-left:4px;', title: I18n.t('urce.urPanel.InsertTimeCasualTitle')
                        }).off().on('click', { shortcut: 'timeCasual' }, handleClickedShortcut),
                        $('<i>', {
                            class: 'fa fa-calendar', 'aria-hidden': 'true', style: 'cursor:pointer; padding-left:4px;', title: I18n.t('urce.urPanel.InsertDateCasualTitle')
                        }).off().on('click', { shortcut: 'dateCasual' }, handleClickedShortcut),
                        $('<i>', {
                            class: 'fa fa-calendar-plus-o', 'aria-hidden': 'true', style: 'cursor:pointer; padding-left:4px;', title: I18n.t('urce.urPanel.InsertDateTimeCasualModeTitle')
                        }).off().on('click', { shortcut: 'dateTimeCasualMode' }, handleClickedShortcut)
                    )
                )
            )
        );
    }
    return true;
}

function checkValue() {
    const varsFound = this.value.match(/(\B\$[A-Za-z0-9]*\$?)/gm);
    if (varsFound) {
        let title;
        if ((this.value.indexOf('$SELSEGS$') > -1) || (this.value.indexOf('$SELSEGS') > -1))
            title = I18n.t('urce.prompts.SelSegsFound');
        else
            title = I18n.t('urce.prompts.VarFound').replace('$VARSFOUND$', varsFound.join(', '));
        $('#panel-container .mapUpdateRequest .top-section .body .conversation .new-comment-form .send-button').prop('disabled', true).attr('title', title);
    }
    else if ($('#panel-container .mapUpdateRequest .top-section .body .conversation .new-comment-form .send-button').prop('disabled') === true) {
        $('#panel-container .mapUpdateRequest .top-section .body .conversation .new-comment-form .send-button').prop('disabled', false).attr('title', '');
    }
}

async function handleClickedComment(commentNum, doubleClick) {
    _selUr.doubleClick = doubleClick;
    if ($('#panel-container .mapUpdateRequest .top-section .body .conversation .new-comment-text').length === 0) {
        logWarning('No comment box found after clicking a comment from the list.');
        alertBanner(I18n.t('urce.prompts.NoCommentBox'), true, false, null, null, null);
        return;
    }
    if (doubleClick)
        $('#panel-container .mapUpdateRequest .top-section .body .conversation .new-comment-text').off('blur', autoClickSendButton).on('blur', autoClickSendButton);
    if (_settings.autoClickOpenSolvedNi && _selUr.urOpen)
        autoClickOpenSolvedNi(commentNum);
    const postUrCommentResult = await postUrComment(_commentList[commentNum].comment, doubleClick);
    if (postUrCommentResult.error) {
        if (postUrCommentResult.reason === 'commentTooLong')
            logError(new Error(postUrCommentResult.text));
        else
            WazeWrap.Alerts.error(SCRIPT_NAME, I18n.t('urce.prompts.CommentInsertTimedOut'));
    }
}

function autoSwitchToUrceTab() {
    _$restoreTab = _$restoreTab || $('#user-tabs .nav .active > a');
    _restoreTabPosition = _restoreTabPosition || $($('#user-info .tab-content')[0]).scrollTop();
    $('a[href="#sidepanel-urc-e"]').trigger('click');
    $('a[href="#panel-urce-comments"]').trigger('click');
    $($('#user-info .tab-content')[0]).scrollTop(0);
}

function autoSwitchToPrevTab() {
    if ($(_$restoreTab) && !$(W.map.div).hasClass('problem-selected')) {
        $(_$restoreTab).click();
        $($('#user-info .tab-content')[0]).scrollTop(_restoreTabPosition);
        _$restoreTab = null;
        _restoreTabPosition = null;
    }
}

function unfollowUrAfterSend(urId) {
    W.model.updateRequestSessions.objects[urId].setFollowing('false');
}

function autoCloseUrPanel() {
    $('#panel-container .mapUpdateRequest .top-section .close-panel').trigger('click');
}

function clickSaveButton() {
    $('.toolbar-button.waze-icon-save').trigger('click');
}

function autoClickSendButton() {
    $('#panel-container .mapUpdateRequest .top-section .body .conversation .new-comment-form .send-button').trigger('click');
    $('#panel-container .mapUpdateRequest .top-section .body .conversation .new-comment-text').off('blur', autoClickSendButton);
}

function autoClickOpenSolvedNi(commentNum) {
    const confirmHold = window.confirm;
    window.confirm = function () {
        // Dummy confirm to prevent WME from being able to send confirmations during auto clicking
        return true;
    };
    $('#panel-container .mapUpdateRequest .top-section .body').scrollTop($('#panel-container .mapUpdateRequest .top-section .body')[0].scrollHeight);
    if (_commentList[commentNum].urstatus === 'notidentified' && _selUr.newStatus !== 'notidentified')
        $('#panel-container .mapUpdateRequest .actions .content .controls-container input[value="not-identified"]').trigger('click');
    else if (_commentList[commentNum].urstatus === 'solved' && _selUr.newStatus !== 'solved')
        $('#panel-container .mapUpdateRequest .actions .content .controls-container input[value="solved"]').trigger('click');
    else if (_commentList[commentNum].urstatus === 'open' && (_selUr.newStatus === 'solved' || _selUr.newStatus === 'notidentified'))
        $('#panel-container .mapUpdateRequest .actions .content .controls-container input[value="open"]').trigger('click');
    window.confirm = confirmHold;
}

function autoZoomIn(urId) {
    if (W.map.getZoom() < 5)
        W.map.moveTo(W.map.updateRequestLayer.featureMarkers[urId].marker.lonlat, 5);
}

function autoZoomOut() {
    if (_restoreZoom && !$(W.map.div).hasClass('problem-selected')) {
        if (_restoreZoom !== W.map.getZoom())
            W.map.setCenter(W.map.getCenter(), _restoreZoom);
    }
}

function convertTimeOfDayToCasual(hour) {
    let casualText;
    if ((hour > 20) || (hour < 4))
        casualText = I18n.t('urce.time.Night');
    else if ((hour > 3) && (hour < 12))
        casualText = I18n.t('urce.time.Morning');
    else if ((hour > 11) && (hour < 18))
        casualText = I18n.t('urce.time.Afternoon');
    else if ((hour > 17) && (hour < 21))
        casualText = I18n.t('urce.time.Evening');
    else
        casualText = '';
    return casualText;
}

function formatText(text, replaceVars) {
    if (replaceVars && (_selUr.urId > -1)) {
        if (text.search(/(\$(DRIVEDATE_DAY_OF_WEEK|DRIVEDATE_DATE|DRIVEDATE_DATE_CASUAL|DRIVEDATE_DAYS_AGO|DRIVEDATE_TIME|DRIVEDATE_TIME_CASUAL|DRIVEDATE_TIME_CASUALMODE)\$)/gm) > -1) {
            if (W.model.mapUpdateRequests.objects[_selUr.urId]) {
                if (text.indexOf('$DRIVEDATE_DAY_OF_WEEK$') > -1) {
                    if (W.model.mapUpdateRequests.objects[_selUr.urId].attributes && (W.model.mapUpdateRequests.objects[_selUr.urId].attributes.driveDate > -1)) {
                        text = text.replace('$DRIVEDATE_DAY_OF_WEEK$',
                            new Date(W.model.mapUpdateRequests.objects[_selUr.urId].attributes.driveDate).toLocaleDateString(I18n.currentLocale(), { weekday: 'long' }));
                    }
                    else {
                        text = text.replace('$DRIVEDATE_DAY_OF_WEEK$', '');
                    }
                }
                if (text.indexOf('$DRIVEDATE_DATE$') > -1) {
                    if (W.model.mapUpdateRequests.objects[_selUr.urId].attributes && (W.model.mapUpdateRequests.objects[_selUr.urId].attributes.driveDate > -1)) {
                        text = text.replace('$DRIVEDATE_DATE$',
                            new Date(W.model.mapUpdateRequests.objects[_selUr.urId].attributes.driveDate).toLocaleDateString(I18n.currentLocale(),
                                { month: '2-digit', day: '2-digit', year: 'numeric' }));
                    }
                    else {
                        text = text.replace('$DRIVEDATE_DATE$', '');
                    }
                }
                if (text.indexOf('$DRIVEDATE_DATE_CASUAL$') > -1) {
                    if (W.model.mapUpdateRequests.objects[_selUr.urId].attributes && (W.model.mapUpdateRequests.objects[_selUr.urId].attributes.driveDate > -1)) {
                        text = text.replace('$DRIVEDATE_DATE_CASUAL$',
                            new Date(W.model.mapUpdateRequests.objects[_selUr.urId].attributes.driveDate).toLocaleDateString(I18n.currentLocale(), { month: 'long', day: '2-digit' }));
                    }
                    else {
                        text = text.replace('$DRIVEDATE_DATE_CASUAL$', '');
                    }
                }
                if (text.indexOf('$DRIVEDATE_DAYS_AGO$') > -1) {
                    if (W.model.mapUpdateRequests.objects[_selUr.urId].attributes.urceData && (W.model.mapUpdateRequests.objects[_selUr.urId].attributes.urceData.driveDaysOld > -1))
                        text = text.replace('$DRIVEDATE_DAYS_AGO$', parseDaysAgo(W.model.mapUpdateRequests.objects[_selUr.urId].attributes.urceData.driveDaysOld));
                    else
                        text = text.replace('$DRIVEDATE_DAYS_AGO$', '');
                }
                if (text.indexOf('$DRIVEDATE_TIME$') > -1) {
                    if (W.model.mapUpdateRequests.objects[_selUr.urId].attributes && (W.model.mapUpdateRequests.objects[_selUr.urId].attributes.driveDate > -1)) {
                        text = text.replace('$DRIVEDATE_TIME$',
                            new Date(W.model.mapUpdateRequests.objects[_selUr.urId].attributes.driveDate).toLocaleTimeString(I18n.currentLocale(),
                                { hour: '2-digit', minute: '2-digit', timeZoneName: 'short' }));
                    }
                    else {
                        text = text.replace('$DRIVEDATE_TIME$', '');
                    }
                }
                if (text.indexOf('$DRIVEDATE_TIME_CASUAL$') > -1) {
                    if (W.model.mapUpdateRequests.objects[_selUr.urId].attributes && (W.model.mapUpdateRequests.objects[_selUr.urId].attributes.driveDate > -1))
                        text = text.replace('$DRIVEDATE_TIME_CASUAL$', convertTimeOfDayToCasual(new Date(W.model.mapUpdateRequests.objects[_selUr.urId].attributes.driveDate).getHours()));
                    else
                        text = text.replace('$DRIVEDATE_TIME_CASUAL$', '');
                }
                if (text.indexOf('$DRIVEDATE_TIME_CASUALMODE$') > -1) {
                    if (W.model.mapUpdateRequests.objects[_selUr.urId].attributes.urceData) {
                        const driveDaysAgo = W.model.mapUpdateRequests.objects[_selUr.urId].attributes.urceData.driveDaysOld;
                        const driveHour = new Date(W.model.mapUpdateRequests.objects[_selUr.urId].attributes.driveDate).getHours();
                        let dayOfWeek = new Date(W.model.mapUpdateRequests.objects[_selUr.urId].attributes.driveDate).getDay(),
                            casualText;
                        if ((driveDaysAgo < 21) && (driveHour > -1) && (driveHour < 4))
                            dayOfWeek = (dayOfWeek > 0) ? dayOfWeek - 1 : 6;
                        if (driveDaysAgo === 0) {
                            if ((driveHour > 20) && (driveHour < 25))
                                casualText = I18n.t('urce.time.Tonight');
                            else if ((driveHour > -1) && (driveHour < 4))
                                casualText = I18n.t('urce.time.LastNight');
                            else
                                casualText = I18n.t('urce.time.ThisCasualTOD').replace('$THIS_CASUAL_TOD$', convertTimeOfDayToCasual(driveHour));
                        }
                        else if (driveDaysAgo === 1) {
                            if ((driveHour > 20) && (driveHour < 25))
                                casualText = I18n.t('urce.time.LastNight');
                            else if ((driveHour > -1) && (driveHour < 4))
                                casualText = I18n.t('urce.time.ThisWeekTOD').replace('$CASUAL_TOD$', convertTimeOfDayToCasual(driveHour));
                            else
                                casualText = I18n.t('urce.time.YesterdayCasualTOD').replace('$YESTERDAY_CASUAL_TOD$', convertTimeOfDayToCasual(driveHour));
                            casualText = casualText.replace('$DAY_NAME$', I18n.translations[I18n.currentLocale()].date.day_names[dayOfWeek]);
                        }
                        else if ((driveDaysAgo > 1) && (driveDaysAgo < 21)) {
                            if ((driveDaysAgo > 1) && (driveDaysAgo < 7)) {
                                if ((driveDaysAgo === 6) && (driveHour > -1) && (driveHour < 4))
                                    casualText = I18n.t('urce.time.LastWeekTOD').replace('$CASUAL_TOD$', convertTimeOfDayToCasual(driveHour));
                                else
                                    casualText = I18n.t('urce.time.ThisWeekTOD').replace('$CASUAL_TOD$', convertTimeOfDayToCasual(driveHour));
                            }
                            else if ((driveDaysAgo > 6) && (driveDaysAgo < 14)) {
                                casualText = I18n.t('urce.time.LastWeekTOD').replace('$CASUAL_TOD$', convertTimeOfDayToCasual(driveHour));
                            }
                            else if ((driveDaysAgo > 13) && (driveDaysAgo < 21)) {
                                casualText = I18n.t('urce.time.TwoWeeksAgo');
                            }
                            casualText = casualText.replace('$DAY_NAME$', I18n.translations[I18n.currentLocale()].date.day_names[dayOfWeek]);
                        }
                        else if ((driveDaysAgo > 20) && (driveDaysAgo < 28)) {
                            casualText = I18n.t('urce.time.ThreeWeeksAgo');
                        }
                        else if ((driveDaysAgo > 27) && (driveDaysAgo < 61)) {
                            casualText = I18n.t('urce.time.AFewWeeksAgo');
                        }
                        else if ((driveDaysAgo > 60) && (driveDaysAgo < 121)) {
                            casualText = I18n.t('urce.time.ACoupleMonthsAgo');
                        }
                        else if (driveDaysAgo > 120) {
                            casualText = I18n.t('urce.time.AWhileBack');
                        }
                        else {
                            casualText = '';
                        }
                        text = text.replace('$DRIVEDATE_TIME_CASUALMODE$', casualText);
                    }
                    else {
                        text = text.replace('$DRIVEDATE_TIME_CASUALMODE$', '');
                    }
                }
            }
        }
    }
    if (replaceVars && text.indexOf('$CLOSED_NOR_EMAIL_TAG$') > -1) {
        if ((_settings.perCommentListSettings[_currentCommentList].tagEmail.length > 0) && (W.model.loginManager.user.userName.length > 0))
            text = text.replace('$CLOSED_NOR_EMAIL_TAG$', `Since this report is closed, please send further correspondence to ${_settings.perCommentListSettings[_currentCommentList].tagEmail} and include ${W.model.loginManager.user.userName} in the subject line.`);
        else
            text = text.replace('$CLOSED_NOR_EMAIL_TAG$', '');
    }
    if (replaceVars && (text.indexOf('$USERNAME') > -1)) {
        if (W.model.loginManager.user.userName !== null)
            text = text.replace(/(\$USERNAME\$?)+/gmi, W.model.loginManager.user.userName);
        else
            text = text.replace(/(\$USERNAME\$?)+/gmi, '');
    }
    if (replaceVars && (text.indexOf('$URD') > -1)) {
        if (W.model.mapUpdateRequests.objects[_selUr.urId].attributes.description)
            text = text.replace(/("?\$URD\$?"?)+/gmi, `"${W.model.mapUpdateRequests.objects[_selUr.urId].attributes.description}"`).replace(/\n+/gmi, '');
        else
            text = text.replace(/("?\$URD\$?"?)+/gmi, '');
    }
    return text.replace(/\\[r|n]+/gm, '\n');
}

function handleClickedShortcut(event) {
    const cursorPos = $('#panel-container .mapUpdateRequest .top-section .body .conversation .new-comment-text')[0].selectionStart,
        currVal = $('#panel-container .mapUpdateRequest .top-section .body .conversation .new-comment-text').val();
    let newVal = currVal.slice(0, cursorPos),
        outputText,
        replaceText;
    if (event.data.shortcut === 'selSegs') {
        if (currVal.indexOf('$SELSEGS$') > -1)
            replaceText = '$SELSEGS$';
        else if (currVal.indexOf('$SELSEGS') > -1)
            replaceText = '$SELSEGS';
        else
            replaceText = '_INSERT_';
    }
    else if (event.data.shortcut === 'time') {
        replaceText = '$DRIVEDATE_TIME$';
    }
    else if (event.data.shortcut === 'dayOfWeek') {
        replaceText = '$DRIVEDATE_DAY_OF_WEEK$';
    }
    else if (event.data.shortcut === 'date') {
        replaceText = '$DRIVEDATE_DATE$';
    }
    else if (event.data.shortcut === 'description') {
        replaceText = '$URD$';
    }
    else if (event.data.shortcut === 'wazeUsername') {
        replaceText = '$USERNAME$';
    }
    else if (event.data.shortcut === 'timeCasual') {
        replaceText = '$DRIVEDATE_TIME_CASUAL$';
    }
    else if (event.data.shortcut === 'dateCasual') {
        replaceText = '$DRIVEDATE_DATE_CASUAL$';
    }
    else if (event.data.shortcut === 'dateTimeCasualMode') {
        replaceText = '$DRIVEDATE_TIME_CASUALMODE$';
    }
    else {
        return;
    }
    if ((replaceText === '$SELSEGS$') || (replaceText === '$SELSEGS') || (replaceText === '_INSERT_')) {
        const selFeatures = W.selectionManager.getSelectedFeatures();
        let streetName;
        if (selFeatures.length > 0 && selFeatures.length < 3) {
            for (let idx = 0; idx < selFeatures.length; idx++) {
                if (selFeatures[idx].model.type === 'segment') {
                    if (selFeatures.length > 1) {
                        if (idx === 0)
                            streetName = `the intersection of ${W.model.streets.objects[selFeatures[idx].model.attributes.primaryStreetID].name} and `;
                        else
                            streetName += W.model.streets.objects[selFeatures[idx].model.attributes.primaryStreetID].name;
                    }
                    else {
                        streetName = W.model.streets.objects[selFeatures[idx].model.attributes.primaryStreetID].name;
                    }
                }
            }
            if (streetName && streetName.length > 0) {
                if (replaceText === '_INSERT_')
                    outputText = streetName;
                else
                    $('#panel-container .mapUpdateRequest .top-section .body .conversation .new-comment-text').val(currVal.replace(replaceText, streetName)).change().keyup();
            }
            else {
                WazeWrap.Alerts.error(SCRIPT_NAME, I18n.t('urce.prompts.SelSegsInsertError'));
            }
        }
        else {
            WazeWrap.Alerts.error(SCRIPT_NAME, I18n.t('urce.prompts.SelSegsInsertError'));
        }
    }
    else {
        outputText = formatText(replaceText, true);
    }
    if (outputText) {
        if ((newVal.length > 0) && (newVal.slice(newVal.length - 1).search(/\s/) === -1))
            newVal += ' ';
        newVal += outputText;
        if (currVal.slice(cursorPos).length > 0) {
            if ((currVal.substr(cursorPos, 1).search(/\s/) === -1))
                newVal += ' ';
            newVal += currVal.slice(cursorPos);
        }
        if (newVal.length > 2000)
            WazeWrap.Alerts.error(SCRIPT_NAME, I18n.t('urce.prompts.CommentTooLong'));
        else
            $('#panel-container .mapUpdateRequest .top-section .body .conversation .new-comment-text').val(newVal).selectRange((cursorPos + outputText.length + 1)).change().keyup().focus();
    }
}

function autoPostReminderComment(urId, comment) {
    return new Promise(resolve => {
        try {
            logDebug(`Automatically sending reminder comment to urId: ${urId}`);
            alertBanner(`${I18n.t('urce.prompts.ReminderMessageAuto')} ${urId}`, true, false, null, null, null);
            W.model.updateRequestSessions.objects[urId].addComment(comment);
            W.model.mapUpdateRequests.objects[urId].attributes.reminderSent = true;
        }
        catch (error) {
            delete (W.model.mapUpdateRequests.objects[urId].attributes.reminderSent);
            return resolve({ error: true, text: error });
        }
        return resolve({ error: false });
    });
}

function postUrComment(commentStr, doubleClick) {
    return new Promise(resolve => {
        (function retry(comment, tries) {
            let commentOutput,
                cursorPos,
                newCursorPos,
                postNls = 0;
            checkTimeout({ timeout: 'postUrComment' });
            if (tries > 100) {
                resolve({ error: true, reason: 'timeOut', text: 'Timed out waiting for the comment text box to become available.' });
            }
            else if ($('#panel-container .mapUpdateRequest .top-section .body .conversation .new-comment-text').length === 0) {
                _timeouts.postUrComment = window.setTimeout(retry, 100, comment, ++tries);
            }
            else {
                if (_settings.enableAppendMode && $('#panel-container .mapUpdateRequest .top-section .body .conversation .new-comment-text').val() !== '' && !doubleClick) {
                    cursorPos = $('#panel-container .mapUpdateRequest .top-section .body .conversation .new-comment-text')[0].selectionStart;
                    newCursorPos = cursorPos;
                    const currVal = $('#panel-container .mapUpdateRequest .top-section .body .conversation .new-comment-text').val();
                    let newVal = currVal.slice(0, cursorPos);
                    if ((newVal.length > 0) && (newVal.slice(-1).search(/[\n\r]/) > -1)) {
                        if (newVal.slice(-2, -1).search(/[\n\r]/) === -1) {
                            newVal += '\n';
                            newCursorPos++;
                        }
                    }
                    else {
                        newVal += '\n\n';
                        newCursorPos += 2;
                    }
                    newVal += formatText(comment, true);
                    if (currVal.slice(cursorPos).length > 0) {
                        if (currVal.substr(cursorPos, 1).search(/[\n\r]/) > -1) {
                            if (currVal.substr(cursorPos + 1, 1).search(/[\n\r]/) === -1) {
                                newVal += '\n';
                                postNls++;
                            }
                        }
                        else {
                            newVal += '\n\n';
                            postNls += 2;
                        }
                        newVal += currVal.slice(cursorPos);
                    }
                    commentOutput = newVal;
                }
                else {
                    commentOutput = formatText(comment, true);
                }
                if (commentOutput.length > 2000) {
                    WazeWrap.Alerts.error(SCRIPT_NAME, I18n.t('urce.prompts.CommentTooLong'));
                    resolve({ error: true, reason: 'commentTooLong', text: I18n.t('urce.prompts.CommentTooLong') });
                }
                else {
                    if (cursorPos !== undefined) {
                        $('#panel-container .mapUpdateRequest .top-section .body .conversation .new-comment-text').val(commentOutput).selectRange(
                            (newCursorPos + comment.replace(/\\[r|n]+/gm, ' ').length + postNls)
                        ).change().keyup().focus();
                    }
                    else {
                        $('#panel-container .mapUpdateRequest .top-section .body .conversation .new-comment-text').val(commentOutput).change().keyup().focus();
                    }
                    if ((commentOutput.indexOf('$SELSEGS$') === -1) && (commentOutput.indexOf('$SELSEGS') === -1))
                        $('#panel-container .mapUpdateRequest .top-section .body .conversation .new-comment-text').blur().focus();
                    else
                        $('#panel-container .mapUpdateRequest .top-section .body .conversation .new-comment-text').focus();
                    resolve({ error: false });
                }
            }
        }(commentStr, 1));
    });
}

function getUsernameAndRank(userId) {
    let username,
        rank;
    if (W.model.users.objects[userId] !== null && W.model.users.objects[userId] !== undefined) {
        username = (W.model.users.objects[userId].userName === undefined) ? userId : W.model.users.objects[userId].userName;
        rank = W.model.users.objects[userId].rank + 1;
    }
    else {
        username = userId;
        rank = '?';
    }
    return { username, rank };
}

function parsePxString(pxString) {
    return parseInt(pxString.split('px')[0]);
}

function parseDaysAgo(days) {
    if (days === 0)
        return I18n.t('date.today');
    if (days === 1)
        return I18n.t('date.yesterday');
    return I18n.t('common.time.ago', { time: I18n.t('common.time.days', { days }) });
}

function isIdAlreadyUnstacked(urId) {
    if (_markerStackArray.length === 0)
        return false;
    for (let idx = 0; idx < _markerStackArray.length; idx++) {
        if (_markerStackArray[idx].urId === urId)
            return true;
    }
    return false;
}

function StackListObj(urId, x, y) {
    this.urId = urId;
    this.x = parseInt(x);
    this.y = parseInt(y);
}

function restackMarkers() {
    if (_markerStackArray.length === 0)
        return;
    let filter = true;
    if ((_settings.disableFilteringAboveZoom && (W.map.getZoom() < _settings.disableFilteringAboveZoomLevel))
        || (_settings.disableFilteringBelowZoom && (W.map.getZoom() > _settings.disableFilteringBelowZoomLevel))
    )
        filter = false;
    const markerMapCollection = { ...W.map.updateRequestLayer.featureMarkers };
    const markerModelCollection = { ...W.model.mapUpdateRequests.objects };
    if (markerMapCollection !== null) {
        Object.keys(markerMapCollection).forEach(marker => {
            if (markerMapCollection.hasOwnProperty(marker)) {
                const markerMapObj = markerMapCollection[marker];
                const markerModelObj = markerModelCollection[marker];
                if (markerModelObj.attributes.geometry.urceRealX !== undefined) {
                    markerModelObj.attributes.geometry.x = markerModelObj.attributes.geometry.urceRealX;
                    markerModelObj.attributes.geometry.y = markerModelObj.attributes.geometry.urceRealY;
                    delete (markerModelObj.attributes.geometry.urceRealX);
                    delete (markerModelObj.attributes.geometry.urceRealY);
                }
                if (!(filter
                        && _settings.enableUrceUrFiltering
                        && markerModelObj.attributes.urceData
                        && markerModelObj.attributes.urceData.hideUr
                        && (!((_selUr.urId === markerModelObj.attributes.id) && _settings.doNotHideSelectedUr))
                        && (!((markerModelObj.attributes.urceData.tagType !== -1) && _settings.doNotFilterTaggedUrs)))
                ) {
                    if (markerMapObj.marker.icon.imageDiv.style.display === 'none')
                        $(markerMapObj.marker.icon.imageDiv).show();
                }
            }
        });
        for (let idx = 0; idx < _markerStackArray.length; idx++) {
            if (markerMapCollection[_markerStackArray[idx].urId] !== undefined) {
                markerMapCollection[_markerStackArray[idx].urId].marker.icon.imageDiv.style.left = `${_markerStackArray[idx].x}px`;
                markerMapCollection[_markerStackArray[idx].urId].marker.icon.imageDiv.style.top = `${_markerStackArray[idx].y}px`;
            }
        }
        _markerStackArray = [];
        _unstackedMasterId = null;
    }
}

function checkMarkerStacking(urId, unstackedX, unstackedY) {
    urId = parseInt(urId);
    if (!_settings.unstackMarkers || (isIdAlreadyUnstacked(urId) === true))
        return;
    const stackList = [],
        markerMapCollection = { ...W.map.updateRequestLayer.featureMarkers },
        markerModelCollection = { ...W.model.mapUpdateRequests.objects };
    let offset = 1000000000;
    stackList.push(urId);
    if (markerMapCollection !== null) {
        Object.keys(markerMapCollection).forEach(marker => {
            if (markerMapCollection.hasOwnProperty(marker)) {
                if (markerModelCollection[marker].attributes.geometry.urceRealX === undefined) {
                    markerModelCollection[marker].attributes.geometry.urceRealX = (markerModelCollection[marker].attributes.geometry.realX)
                        ? markerModelCollection[marker].attributes.geometry.realX
                        : markerModelCollection[marker].attributes.geometry.x;
                    markerModelCollection[marker].attributes.geometry.x = (markerModelCollection[marker].attributes.geometry.realX)
                        ? (markerModelCollection[marker].attributes.geometry.realX + offset)
                        : (markerModelCollection[marker].attributes.geometry.x + offset);
                    markerModelCollection[marker].attributes.geometry.urceRealY = (markerModelCollection[marker].attributes.geometry.realY)
                        ? markerModelCollection[marker].attributes.geometry.realY
                        : markerModelCollection[marker].attributes.geometry.y;
                    markerModelCollection[marker].attributes.geometry.y = (markerModelCollection[marker].attributes.geometry.realY)
                        ? (markerModelCollection[marker].attributes.geometry.realY + offset)
                        : (markerModelCollection[marker].attributes.geometry.y + offset);
                    offset += 1000;
                }
                if (!(markerMapCollection[marker].marker.icon.imageDiv.classList.contains('recently-closed') && (W.map.updateRequestLayer.showHidden === false))
                    && ((markerMapCollection[marker].marker.icon.imageDiv.style.display !== 'none') || (markerMapCollection[marker].marker.icon.imageDiv.style.visibility !== 'hidden'))
                ) {
                    // if (parseInt(markerCollection[marker].id) !== urId) {
                    if (parseInt(marker) !== urId) {
                        const xDiff = unstackedX - parsePxString(markerMapCollection[marker].marker.icon.imageDiv.style.left),
                            yDiff = unstackedY - parsePxString(markerMapCollection[marker].marker.icon.imageDiv.style.top),
                            distSquared = ((xDiff * xDiff) + (yDiff * yDiff));
                        if (distSquared < (_settings.unstackSensitivity * _settings.unstackSensitivity))
                            stackList.push(parseInt(marker));
                    }
                }
            }
        });
    }
    if (stackList.length > 0) {
        if (stackList.length === 1)
            logDebug('Single marker highlighted. Adjusting geometry properties to prevent recentering.');
        else if (W.map.getZoom() < _settings.unstackDisableAboveZoom)
            logDebug(`Zoom level is ${W.map.getZoom()} which is less than setting for disable above zoom of ${_settings.unstackDisableAboveZoom}. Adjusting geometry properties to prevent recentering.`);
        else
            logDebug(`${stackList.length} markers are stacked!`);
        if (_unstackedMasterId !== urId) {
            logDebug('Unstacked ID mismatch, relocating markers.');
            restackMarkers();
            _unstackedMasterId = urId;
            _markerStackArray = [];
            _markerStackArray.push(new StackListObj(urId, unstackedX, unstackedY));
            for (let idx = 0; idx < stackList.length; idx++) {
                const thisUrId = stackList[idx],
                    x = parsePxString(markerMapCollection[thisUrId].marker.icon.imageDiv.style.left),
                    y = parsePxString(markerMapCollection[thisUrId].marker.icon.imageDiv.style.top);
                _markerStackArray.push(new StackListObj(thisUrId, x, y));
                if (!((W.map.getZoom() < _settings.unstackDisableAboveZoom) || (stackList.length === 1))) {
                    markerMapCollection[thisUrId].marker.icon.imageDiv.style.left = `${unstackedX}px`;
                    markerMapCollection[thisUrId].marker.icon.imageDiv.style.top = `${unstackedY}px`;
                    unstackedX += 10;
                    unstackedY -= 30;
                }
            }
            if (!((W.map.getZoom() < _settings.unstackDisableAboveZoom) || (stackList.length === 1))) {
                Object.keys(markerMapCollection).forEach(marker => {
                    if (markerMapCollection.hasOwnProperty(marker)) {
                        if (!isIdAlreadyUnstacked(parseInt(marker)))
                            $(markerMapCollection[marker].marker.icon.imageDiv).hide();
                    }
                });
            }
        }
    }
    else {
        restackMarkers();
    }
}

async function markerMouseOver() {
    if (_mouseIsDown)
        return;
    const markerType = getMarkerType(this),
        popupDelayTime = (Date.now() + (_settings.urMarkerPopupDelay * 100));
    let popupX,
        popupY;
    if (markerType === 'ur') {
        const markerId = parseInt(this.attributes['data-id'].value);
        if ((markerId > 0) && ((_mousedOverMarkerId !== markerId) || ($('#urceDiv').css('visibility') === 'hidden'))) {
            _mousedOverMarkerId = markerId;
            const targetTab = `_urceTab_${Math.round(Math.random() * 1000000)}`,
                popupXOffset = parsePxString($('#sidebar').css('width')),
                unstackedX = parsePxString(W.map.updateRequestLayer.featureMarkers[markerId].marker.icon.imageDiv.style.left),
                unstackedY = parsePxString(W.map.updateRequestLayer.featureMarkers[markerId].marker.icon.imageDiv.style.top);
            checkMarkerStacking(markerId, unstackedX, unstackedY);
            if (!_settings.disableUrMarkerPopup) {
                if (W.model.mapUpdateRequests.objects[markerId].attributes.urceData === undefined)
                    await updateUrceData([markerId]);
                popupX = unstackedX - parsePxString(W.map.segmentLayer.div.style.left) + popupXOffset + 10;
                popupY = unstackedY - parsePxString(W.map.segmentLayer.div.style.top) + 10;
                let popupContent = `<b>${I18n.t('problems.panel.titles.map_update_request')} (${markerId}): `
                    + `${I18n.t(`update_requests.types.${W.model.mapUpdateRequests.objects[markerId].attributes.type}`)}</b><br>`;
                if (!W.model.mapUpdateRequests.objects[markerId].attributes.description)
                    popupContent += `<i>${I18n.t('urce.mouseOver.NoDescription')}</i>`;
                else
                    popupContent += clickify(W.model.mapUpdateRequests.objects[markerId].attributes.description.replace(/((?:.{80}).*?)\s/gm, '$1\n'), '');
                if (W.model.mapUpdateRequests.objects[markerId].attributes.urceData.driveDaysOld > -1) {
                    popupContent += `<br><i>${I18n.t('mte.edit.submitted')} ${parseDaysAgo(W.model.mapUpdateRequests.objects[markerId].attributes.urceData.driveDaysOld)} `;
                    if (W.model.mapUpdateRequests.objects[markerId].attributes.driveDate > -1) {
                        popupContent += `(${new Date(W.model.mapUpdateRequests.objects[markerId].attributes.driveDate).toLocaleDateString('en-us')}`
                            + ` ${new Date(W.model.mapUpdateRequests.objects[markerId].attributes.driveDate).toLocaleTimeString('en-us')}) `;
                    }
                    if (W.model.mapUpdateRequests.objects[markerId].attributes.guestUserName && (W.model.mapUpdateRequests.objects[markerId].attributes.guestUserName !== null)) {
                        popupContent += I18n.t('urce.mouseOver.ViaLivemap');
                        if (W.model.mapUpdateRequests.objects[markerId].attributes.guestUserName !== '')
                            popupContent += ` by ${W.model.mapUpdateRequests.objects[markerId].attributes.guestUserName.replace(/<\/?[^>]+(>|$)/g, '')}`;
                    }
                    popupContent += '</i>';
                }
                if ((W.model.mapUpdateRequests.objects[markerId].attributes.resolvedOn !== null) && (W.model.mapUpdateRequests.objects[markerId].attributes.urceData.resolveDaysAgo > -1)) {
                    popupContent += `<br><i>${I18n.t('urce.urStatus.Closed')} ${parseDaysAgo(W.model.mapUpdateRequests.objects[markerId].attributes.urceData.resolveDaysAgo)} `
                        + `(${new Date(W.model.mapUpdateRequests.objects[markerId].attributes.resolvedOn).toLocaleDateString('en-us')}`
                        + ` ${new Date(W.model.mapUpdateRequests.objects[markerId].attributes.resolvedOn).toLocaleTimeString('en-us')})</i>`
                        + `<br><i>${I18n.t('urce.mouseOver.MarkedAs')} `;
                    if (W.model.mapUpdateRequests.objects[markerId].attributes.resolution === 0)
                        popupContent += I18n.t('venues.update_requests.panel.solved');
                    else if (W.model.mapUpdateRequests.objects[markerId].attributes.resolution === 1)
                        popupContent += I18n.t('urce.urStatus.NotIdentified');
                    else
                        popupContent += I18n.t('segment.direction.0');
                    if (W.model.mapUpdateRequests.objects[markerId].attributes.resolvedBy !== null) {
                        popupContent += ` ${I18n.t('element_history.changed_by')} `
                            + `<a href="${W.Config.user_profile.url}${getUsernameAndRank(W.model.mapUpdateRequests.objects[markerId].attributes.resolvedBy).username}">`
                            + `${getUsernameAndRank(W.model.mapUpdateRequests.objects[markerId].attributes.resolvedBy).username}</a>`
                            + ` (${getUsernameAndRank(W.model.mapUpdateRequests.objects[markerId].attributes.resolvedBy).rank})`;
                    }
                    popupContent += '</i>';
                }
                popupContent += `<br><br>${W.model.mapUpdateRequests.objects[markerId].attributes.urceData.commentCount} ${I18n.t('urce.tabs.Comments')}`;
                if (!W.model.mapUpdateRequests.objects[markerId].attributes.urceData.commentsByMe && (W.model.mapUpdateRequests.objects[markerId].attributes.urceData.commentCount > 0))
                    popupContent += ` (${I18n.t('urce.mouseOver.NoneByMe')})`;
                if ((W.model.mapUpdateRequests.objects[markerId].attributes.urceData.commentCount > 0) && (W.model.mapUpdateRequests.objects[markerId].attributes.urceData.lastCommentDaysOld > -1))
                    popupContent += `, ${I18n.t('element_history.actions.default.UPDATE')} ${parseDaysAgo(W.model.mapUpdateRequests.objects[markerId].attributes.urceData.lastCommentDaysOld)}`;
                if (W.model.mapUpdateRequests.objects[markerId].attributes.urceData.commentCount > 0) {
                    popupContent += `<br>${I18n.t('urce.mouseOver.FirstComment')}: ${parseDaysAgo(W.model.mapUpdateRequests.objects[markerId].attributes.urceData.firstCommentDaysOld)}`
                        + ` ${I18n.t('element_history.changed_by')} `;
                    if (W.model.mapUpdateRequests.objects[markerId].attributes.urceData.firstCommentBy === -1) {
                        popupContent += I18n.t('conversation.reporter');
                    }
                    else {
                        popupContent += `<a href="${W.Config.user_profile.url}${getUsernameAndRank(W.model.mapUpdateRequests.objects[markerId].attributes.urceData.firstCommentBy).username}">`
                            + `${getUsernameAndRank(W.model.mapUpdateRequests.objects[markerId].attributes.urceData.firstCommentBy).username}</a>`
                            + ` (${getUsernameAndRank(W.model.mapUpdateRequests.objects[markerId].attributes.urceData.firstCommentBy).rank})`;
                    }
                    if (W.model.mapUpdateRequests.objects[markerId].attributes.urceData.commentCount > 1) {
                        popupContent += `<br>${I18n.t('urce.mouseOver.LastComment')}: ${parseDaysAgo(W.model.mapUpdateRequests.objects[markerId].attributes.urceData.lastCommentDaysOld)}`
                            + ` ${I18n.t('element_history.changed_by')} `;
                        if (W.model.mapUpdateRequests.objects[markerId].attributes.urceData.lastCommentBy === -1) {
                            popupContent += I18n.t('conversation.reporter');
                        }
                        else {
                            popupContent += `<a href="${W.Config.user_profile.url}${getUsernameAndRank(W.model.mapUpdateRequests.objects[markerId].attributes.urceData.lastCommentBy).username}">`
                                + `${getUsernameAndRank(W.model.mapUpdateRequests.objects[markerId].attributes.urceData.lastCommentBy).username}</a>`
                                + ` (${getUsernameAndRank(W.model.mapUpdateRequests.objects[markerId].attributes.urceData.lastCommentBy).rank})`;
                        }
                    }
                    popupContent += `<br>${I18n.t('urce.mouseOver.ReporterHasCommented')}: <i>${(W.model.mapUpdateRequests.objects[markerId].attributes.urceData.reporterHasCommented) ? I18n.t('urce.common.Yes') : I18n.t('urce.common.No')}</i>`;
                }
                let x,
                    y;
                if (W.model.mapUpdateRequests.objects[markerId].attributes.geometry.urceRealX !== undefined)
                    x = W.model.mapUpdateRequests.objects[markerId].attributes.geometry.urceRealX;
                else if (W.model.mapUpdateRequests.objects[markerId].attributes.geometry.realX !== undefined)
                    x = W.model.mapUpdateRequests.objects[markerId].attributes.geometry.realX;
                else
                    ({ x } = W.model.mapUpdateRequests.objects[markerId].attributes.geometry);
                if (W.model.mapUpdateRequests.objects[markerId].attributes.geometry.urceRealY !== undefined)
                    y = W.model.mapUpdateRequests.objects[markerId].attributes.geometry.urceRealY;
                else if (W.model.mapUpdateRequests.objects[markerId].attributes.geometry.realY !== undefined)
                    y = W.model.mapUpdateRequests.objects[markerId].attributes.geometry.realY;
                else
                    ({ y } = W.model.mapUpdateRequests.objects[markerId].attributes.geometry);
                const urPos = WazeWrap.Geometry.ConvertTo4326(x, y);
                let urLink = $(document)[0].location.href;
                urLink = `${urLink.substr(0, urLink.indexOf('?zoom'))}?zoom=5&lat=${urPos.lat}&lon=${urPos.lon}&mapUpdateRequest=${markerId}`;
                popupContent += `<hr><ul><li><a href="${urLink}" id="_urceOpenInNewTab" target="${targetTab}">${I18n.t('urce.mouseOver.OpenInNewTab')}</a> - `
                    + `<a href="#" id="_urceRecenterSession" data-id="${markerId}">${I18n.t('urce.mouseOver.CenterInCurrentTab')}</a>`;
                let lmLink = null;
                if ($('#livemap-link').length > 0)
                    lmLink = $('#livempa-link').href;
                else if ($('.livemap-link').length > 0)
                    lmLink = $('.livemap-link')[0].href;
                if (lmLink !== null) {
                    lmLink = `${((lmLink.indexOf('?') > -1) ? lmLink.substr(0, lmLink.indexOf('?')) : lmLink)}?zoom=17&lat=${urPos.lat}&lon=${urPos.lon}&layers=BTTTT`;
                    popupContent += `<li><a href="${lmLink}" target="${targetTab}_lmTab">${I18n.t('urce.mouseOver.OpenInNewLivemapTab')}</a>`;
                }
                const popupDelay = (Date.now() > popupDelayTime) ? -1 : (popupDelayTime - Date.now());
                if (popupDelay < 0) {
                    handlePopup({
                        popupContent, popupX, popupY, urId: markerId
                    });
                }
                else {
                    checkTimeout({ timeout: 'popupDelay' });
                    _timeouts.popupDelay = window.setTimeout(handlePopup, popupDelay, {
                        popupContent, popupX, popupY, urId: markerId
                    });
                }
            }
        }
    }
}

function markerMouseOut(event) {
    const newUrId = ((event.toElement) && (parseInt($(event.toElement).attr('data-id')) > -1)) ? parseInt($(event.toElement).attr('data-id')) : null;
    if ((newUrId > 0 && isIdAlreadyUnstacked(newUrId))
        || (event.toElement && ((event.toElement.id === 'urceDiv') || (event.toElement.id.indexOf('urceCounts') > -1) || (event.toElement.parentNode.id.indexOf('urce') > -1)))
    )
        return;
    if (!newUrId)
        _mousedOverMarkerId = null;
    hidePopup();
    restackMarkers();
}

function handlePopup(popupObj) {
    if (_mousedOverMarkerId !== popupObj.urId)
        return;
    $('#urceDiv').css({ height: 'auto', width: 'auto' }).html(popupObj.popupContent).off().on('mouseleave', hidePopup).on('mouseenter', () => {
        checkTimeout({ timeout: 'popup' });
        checkTimeout({ timeout: 'popupDelay' });
    }).on('dblclick', { doubleClick: true }, hidePopup);
    $('#_urceOpenInNewTab').off().on('mouseup', saveSettingsToStorage);
    $('#_urceRecenterSession').off().on('click', { urId: popupObj.urId }, recenterOnUr);
    let rw = parseInt($('#urceDiv')[0].clientWidth);
    if (rw > ($(window)[0].innerWidth * 0.45)) {
        rw = ($(window)[0].innerWidth * 0.45);
        $('#urceDiv').css({ width: `${rw}px` });
    }
    const rh = parseInt($('#urceDiv')[0].clientHeight);
    if ((popupObj.popupX + rw) > $(window)[0].innerWidth)
        popupObj.popupX -= (rw + 20);
    if ((popupObj.popupY + rh) > $(window)[0].innerHeight)
        popupObj.popupY -= (((popupObj.popupY + rh) - $(window)[0].innerHeight) + 30);
    popupObj.popupX = (popupObj.popupX < 0) ? 0 : popupObj.popupX;
    popupObj.popupY = (popupObj.popupY < 0) ? 0 : popupObj.popupY;
    $('#urceDiv').css({ top: `${popupObj.popupY}px`, left: `${popupObj.popupX}px`, visibility: 'visible' });
    checkTimeout({ timeout: 'popup' });
    checkTimeout({ timeout: 'popupDelay' });
    if (_settings.urMarkerPopupTimeout > 0)
        _timeouts.popup = window.setTimeout(hidePopup, (_settings.urMarkerPopupTimeout * 1000));
}

function hidePopup(event) {
    const newUrId = (event && event.toElement && (parseInt($(event.toElement).attr('data-id')) > -1)) ? parseInt($(event.toElement).attr('data-id')) : null;
    checkTimeout({ timeout: 'popup' });
    if ($('#urceDiv').css('visibility') !== 'hidden')
        $('#urceDiv').css({ visibility: 'hidden' });
    $('#urceDiv').off();
    if ((newUrId > 0 && isIdAlreadyUnstacked(newUrId))
        || (event && event.toElement && ((event.toElement.id === 'urceDiv') || (event.toElement.id.indexOf('urceCounts') > -1) || (event.toElement.parentNode.id.indexOf('urce') > -1)))
    ) {
        if (event.data && !event.data.doubleClick)
            return;
    }
    if (!newUrId && event && (event.type === 'mouseleave') && event.target && ((event.target.id === 'urceDiv') || (event.target.offsetParent.id === 'urceDiv')))
        _mousedOverMarkerId = null;
    if (_mousedOverMarkerId === null)
        restackMarkers();
}

function openUrPanel(urId) {
    const t = { showNext: false, nextButtonString: I18n.t('problems.panel.done') };
    if (urId !== _selUr.urId) {
        _selUr = {
            doubleClick: false,
            handling: false,
            newStatus: undefined,
            urId,
            urOpen: false
        };
    }
    W.reqres.request('problems:browse', _.extend(t, { problem: W.model.mapUpdateRequests.objects[urId] }));
}

function recenterOnUr(event, zoom) {
    const urId = (event.data && event.data.urId) ? event.data.urId : -1;
    if (!zoom && (zoom !== 0))
        zoom = 5;
    if (urId < 0)
        return;
    if (this && this.id === '_urceRecenterSession')
        openUrPanel(urId);
    W.map.moveTo(W.map.updateRequestLayer.featureMarkers[urId].marker.lonlat, zoom);
    hidePopup();
}

function getMarkerType(marker) {
    if (marker.className.indexOf('user-generated') > -1)
        return 'ur';
    return null;
}

function addCustomMarker(urId, urOpen, customType, $node) {
    let useCustomMarker = false;
    if (customType === 0)
        useCustomMarker = _settings.customMarkersRoadworks;
    if (customType === 1)
        useCustomMarker = _settings.customMarkersConstruction;
    if (customType === 2)
        useCustomMarker = _settings.customMarkersClosures;
    if (customType === 3)
        useCustomMarker = _settings.customMarkersEvents;
    if (customType === 4)
        useCustomMarker = _settings.customMarkersNotes;
    if (customType === 5)
        useCustomMarker = _settings.customMarkersWslm;
    if (customType === 6)
        useCustomMarker = _settings.customMarkersBog;
    if (customType === 7)
        useCustomMarker = _settings.customMarkersDifficult;
    if (customType === 98)
        useCustomMarker = _settings.customMarkersNativeSl;
    if (customType === 99)
        useCustomMarker = _settings.customMarkersCustom;
    if (useCustomMarker)
        return renderCustomMarker(urId, urOpen, customType, $node);
    return removeCustomMarker(urId);
}

function removeCustomMarker(urId) {
    if ($(`#urceCustomMarker_${urId}`).length > 0) {
        $(`#urceCustomMarker_${urId}`).remove();
        return 'removed';
    }
    return false;
}

function customMarkersEnabledCheck() {
    if (_settings.customMarkersRoadworks || _settings.customMarkersConstruction || _settings.customMarkersClosures || _settings.customMarkersEvents || _settings.customMarkersNotes
        || _settings.customMarkersWslm || _settings.customMarkersBog || _settings.customMarkersDifficult || _settings.customMarkersNativeSl || _settings.customMarkersCustom
    )
        return true;
    return false;
}

function renderCustomMarker(urId, urOpen, customType, $node) {
    let status = 'updated';
    if ($(`#urceCustomMarker_${urId}`).length === 0) {
        $($node).append(
            $('<span>', { id: `urceCustomMarker_${urId}`, style: 'position:absolute;pointer-events:none;top:-3px;left:-2px;' })
        );
        status = 'added';
    }
    const variant = (!urOpen) ? 2 : 0;
    $(`#urceCustomMarker_${urId}`).empty().append(
        $('<img>', { src: uroAltMarkers[getCustomMarkerIdx(customType)][variant] })
    );
    return status;
}

function getCustomMarkerIdx(customType) {
    if (customType === 0) // ROADWORKS
        return 1;
    if (customType === 1) // CONSTRUCTION
        return 1;
    if (customType === 2) // CLOSURE
        return 0;
    if (customType === 3) // EVENT
        return 4;
    if (customType === 4) // NOTE
        return 3;
    if (customType === 5) // WSLM
        return 5;
    if (customType === 6) // BOG
        return 11;
    if (customType === 7) // DIFFICULT
        return 12;
    if (customType === 98) // Native speed limit URs
        return 5;
    if (customType === 99) // custom text
        return 2;
    return -1;
}

function convertTagToCustomType(tag) {
    if (tag === 'ROADWORKS')
        return 0;
    if (tag === 'CONSTRUCTION')
        return 1;
    if (tag === 'CLOSURE')
        return 2;
    if (tag === 'EVENT')
        return 3;
    if (tag === 'NOTE')
        return 4;
    if (tag === 'WSLM')
        return 5;
    if (tag === 'BOG' || tag === 'BOTG')
        return 6;
    if (tag === 'DIFFICULT')
        return 7;
    return -1;
}

function updateUrMapMarkers(urIds, filter) {
    const closeDays = _restrictionsEnforce.closeDays || _settings.perCommentListSettings[_currentCommentList].closeDays || 7,
        markerChanges = {
            markers: {
                hidden: [],
                unhidden: []
            },
            pills: {
                added: [],
                updated: [],
                removed: []
            },
            customMarkers: {
                added: [],
                updated: [],
                removed: []
            }
        };
    for (let idx = 0; idx < urIds.length; idx++) {
        if (filter && _settings.enableUrceUrFiltering
            && (W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.hideUr
                || (_settings.hideOutsideEditableArea && !W.model.mapUpdateRequests.objects[urIds[idx]].canEdit()))
            && (!((_selUr.urId === urIds[idx]) && _settings.doNotHideSelectedUr))
            && (!((W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.tagType !== -1) && _settings.doNotFilterTaggedUrs))
        ) {
            markerChanges.markers.hidden.push(urIds[idx]);
            $(`.map-problem.user-generated[data-id="${urIds[idx]}"]`).hide();
        }
        else {
            if ($(`.map-problem.user-generated[data-id="${urIds[idx]}"]`).css('display') === 'none') {
                markerChanges.markers.unhidden.push(urIds[idx]);
                $(`.map-problem.user-generated[data-id="${urIds[idx]}"]`).show();
            }
            if (_settings.enableUrPillCounts || customMarkersEnabledCheck()) {
                if (_settings.enableUrPillCounts) {
                    let tagContent = '',
                        tagOffset,
                        urCountBackground;
                    if (W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.tagType !== -1)
                        urCountBackground = '#CCCCCC';
                    else if ((W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.commentCount > 0)
                        && (W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.lastCommentDaysOld > (closeDays - 1))
                    )
                        urCountBackground = '#FF8B8B';
                    else if (!W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.commentsByMe
                            && (W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.lastCommentBy < 0)
                            && (W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.lastCommentDaysOld < closeDays)
                    )
                        urCountBackground = '#FFCC99';
                    else if (!W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.commentsByMe
                        && (W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.lastCommentBy > -1)
                        && (W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.lastCommentDaysOld < closeDays)
                    )
                        urCountBackground = '#FFFF99';
                    else if (W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.commentsByMe
                        && (W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.lastCommentBy < 0)
                    )
                        urCountBackground = '#79B5C7';
                    else if (_wmeUserId === W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.lastCommentBy)
                        urCountBackground = '#FFFFFF';
                    else
                        urCountBackground = '#84FFFF';
                    if ((W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.tagType !== -1) && _settings.doNotShowTagNameOnPill) {
                        if (W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.commentCount > 0)
                            tagContent += `${W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.commentCount}c `;
                        tagContent += `${((W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.lastCommentDaysOld !== -1)
                            ? W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.lastCommentDaysOld
                            : W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.driveDaysOld)}d`;
                        tagOffset = (tagContent.length < 3) ? 0 : Math.round(tagContent.length * 2.28);
                    }
                    else if (W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.tagType !== -1) {
                        tagContent += W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.tagType;
                        if (W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.commentCount > 0)
                            tagContent += ` ${W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.commentCount}c`;
                        tagOffset = (tagContent.length < 10) ? Math.round(tagContent.length * 2.86) : Math.round(tagContent.length * 3.33);
                    }
                    else {
                        if (W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.commentCount > 0)
                            tagContent += `${W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.commentCount}c `;
                        tagContent += `${((W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.lastCommentDaysOld !== -1)
                            ? W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.lastCommentDaysOld
                            : W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.driveDaysOld)}d`;
                        tagOffset = (tagContent.length < 3) ? 0 : Math.round(tagContent.length * 2.28);
                    }
                    tagOffset = `-${tagOffset}px`;
                    if ($(`#urceCounters-${urIds[idx]}`).length > 0) {
                        markerChanges.pills.updated.push(urIds[idx]);
                        $(`#urceCounters-${urIds[idx]}`).remove();
                    }
                    else {
                        markerChanges.pills.added.push(urIds[idx]);
                    }
                    $(`.map-problem.user-generated[data-id="${urIds[idx]}"]`).append(
                        $('<div>', { id: `urceCounters-${urIds[idx]}`, 'data-id': `${urIds[idx]}` }).css('clear', 'both').css('margin-bottom', '10px').append(
                            $('<div>', { id: `urceCounters-${urIds[idx]}-text`, 'data-id': `${urIds[idx]}`, class: 'urceCountersPill' }).html(tagContent).css({ 'background-color': urCountBackground, right: tagOffset }).addClass('urceCounts')
                        )
                    );
                }
                else if ($(`#urceCounters-${urIds[idx]}`).length > 0) {
                    markerChanges.pills.removed.push(urIds[idx]);
                    $(`#urceCounters-${urIds[idx]}`).remove();
                }
                let status;
                if (customMarkersEnabledCheck()) {
                    if (W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.customType > -1)
                        status = addCustomMarker(urIds[idx], W.model.mapUpdateRequests.objects[urIds[idx]].attributes.open, W.model.mapUpdateRequests.objects[urIds[idx]].attributes.urceData.customType, $(`.map-problem.user-generated[data-id="${urIds[idx]}"]`));
                    else
                        status = removeCustomMarker(urIds[idx]);
                }
                else {
                    status = removeCustomMarker(urIds[idx]);
                }
                if (status)
                    markerChanges.customMarkers[status].push(urIds[idx]);
            }
            else {
                if ($(`#urceCounters-${urIds[idx]}`).length > 0) {
                    markerChanges.pills.removed.push(urIds[idx]);
                    $(`#urceCounters-${urIds[idx]}`).remove();
                }
                removeCustomMarker(urIds[idx]);
            }
        }
    }
    if (markerChanges.markers.hidden.length > 0)
        logDebug(`Hid UR markers for UR(s): ${markerChanges.markers.hidden.join(', ')} (Total: ${markerChanges.markers.hidden.length})`);
    if (markerChanges.markers.unhidden.length > 0)
        logDebug(`Unhid UR markers for UR(s): ${markerChanges.markers.unhidden.join(', ')} (Total: ${markerChanges.markers.unhidden.length})`);
    if (markerChanges.pills.added.length > 0)
        logDebug(`Added marker pills for UR(s): ${markerChanges.pills.added.join(', ')} (Total: ${markerChanges.pills.added.length})`);
    if (markerChanges.pills.updated.length > 0)
        logDebug(`Updated marker pills for UR(s): ${markerChanges.pills.updated.join(', ')} (Total: ${markerChanges.pills.updated.length})`);
    if (markerChanges.pills.removed.length > 0)
        logDebug(`Updated marker pills for UR(s): ${markerChanges.pills.removed.join(', ')} (Total: ${markerChanges.pills.removed.length})`);
    if (markerChanges.customMarkers.added.length > 0)
        logDebug(`Added custom markers for UR(s): ${markerChanges.customMarkers.added.join(', ')} (Total: ${markerChanges.customMarkers.added.length})`);
    if (markerChanges.customMarkers.updated.length > 0)
        logDebug(`Updated custom markers for UR(s): ${markerChanges.customMarkers.updated.join(', ')} (Total: ${markerChanges.customMarkers.updated.length})`);
    if (markerChanges.customMarkers.removed.length > 0)
        logDebug(`Removed custom markers for UR(s): ${markerChanges.customMarkers.removed.join(', ')} (Total: ${markerChanges.customMarkers.removed.length})`);
}

function updateUrceData(urIds) {
    const processUrIds = [...urIds],
        reminderDays = _restrictionsEnforce.reminderDays || _settings.perCommentListSettings[_currentCommentList].reminderDays || 0,
        closeDays = _restrictionsEnforce.closeDays || _settings.perCommentListSettings[_currentCommentList].closeDays || 7,
        getUserIdsToCheck = usersToCheck => {
            if (usersToCheck.length > 0) {
                // eslint-disable-next-line array-callback-return, consistent-return
                const userIdsArr = usersToCheck.split(',').map(username => {
                    if (W.model.users.getByAttributes({ userName: username.trim() }).length > 0)
                        return W.model.users.getByAttributes({ userName: username.trim() })[0].id;
                });
                return userIdsArr;
            }
            return [];
        },
        checkCommentedUsers = (userIdsToCheck, userIds) => {
            // eslint-disable-next-line array-callback-return, consistent-return
            let retVal = false;
            userIdsToCheck.forEach(userId => {
                if (userIds.indexOf(parseInt(userId)) > -1)
                    retVal = true;
            });
            return retVal;
        };
    return new Promise(async resolve => {
        while (processUrIds.length > 0) {
            const chunk = processUrIds.splice(0, 500),
                tagRegex = /^.*?\[(ROADWORKS|CONSTRUCTION|CLOSURE|EVENT|NOTE|WSLM|BOG|BOTG|DIFFICULT)\].*$/gim,
                tagUsernameRegex = new RegExp(` ${W.model.loginManager.user.userName} `, 'gi');
            let includingKeyword = null,
                keywordIncludingRegex = null,
                notIncludingKeyword = null,
                keywordNotIncludingRegex = null,
                urceData = {};
            logDebug(`Updating urceData for urIds: ${chunk.join(', ')} (Total Count: ${chunk.length})`);
            if (_settings.hideByKeywordIncludingKeyword.length > 0) {
                includingKeyword = _settings.hideByKeywordIncludingKeyword.trim(); // Make regex compat ... .replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&');
                if (_settings.hideByKeywordCaseInsensitive)
                    keywordIncludingRegex = new RegExp(includingKeyword, 'gim');
                else
                    keywordIncludingRegex = new RegExp(includingKeyword, 'gm');
            }
            if (_settings.hideByKeywordNotIncludingKeyword.length > 0) {
                notIncludingKeyword = _settings.hideByKeywordNotIncludingKeyword.trim(); // Make regex comapt ... .replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&');
                if (_settings.hideByKeywordCaseInsensitive)
                    keywordNotIncludingRegex = new RegExp(notIncludingKeyword, 'gim');
                else
                    keywordNotIncludingRegex = new RegExp(notIncludingKeyword, 'gm');
            }
            const urSessionsObj = await getUrSessionsAsync(chunk);
            if (urSessionsObj.error)
                return logError(new Error(urSessionsObj.text));
            const mapUrsObj = await getMapUrsAsync(chunk);
            if (mapUrsObj.error)
                return logError(new Error(mapUrsObj.text));
            for (let idx = 0; idx < chunk.length; idx++) {
                urceData = {
                    commentCount: urSessionsObj[idx].comments.length,
                    commentsByMe: false,
                    commentUserIds: [],
                    customType: -1,
                    driveDaysOld: (mapUrsObj[idx].attributes.driveDate) ? uroDateToDays(mapUrsObj[idx].attributes.driveDate) : -1,
                    firstCommentBy: -2,
                    firstCommentDaysOld: -1,
                    fullText: '',
                    hideByStatusClosedBy: false,
                    hideUr: false,
                    hideWithCommentBy: false,
                    hideWithoutCommentBy: false,
                    keywordIncluding: false,
                    keywordNotIncluding: false,
                    lastCommentBy: -2,
                    lastCommentDaysOld: -1,
                    needsClosed: false,
                    needsReminder: false,
                    reporterHasCommented: false,
                    resolveDaysAgo: (mapUrsObj[idx].attributes.resolvedOn !== null) ? uroDateToDays(mapUrsObj[idx].attributes.resolvedOn) : undefined,
                    tagType: -1,
                    waiting: false
                };
                if (urceData.commentCount > 0) {
                    urceData.firstCommentDaysOld = uroDateToDays(urSessionsObj[idx].comments[0].createdOn);
                    urceData.firstCommentBy = parseInt(urSessionsObj[idx].comments[0].userID);
                    urceData.lastCommentDaysOld = uroDateToDays(urSessionsObj[idx].comments[(urceData.commentCount - 1)].createdOn);
                    urceData.lastCommentBy = parseInt(urSessionsObj[idx].comments[(urceData.commentCount - 1)].userID);
                    urceData.fullText += (mapUrsObj[idx].attributes.description) ? `${mapUrsObj[idx].attributes.description} ` : '';
                    for (let commentIdx = 0; commentIdx < urceData.commentCount; commentIdx++) {
                        urceData.fullText += `${urSessionsObj[idx].comments[commentIdx].text} `;
                        urceData.commentUserIds.push(urSessionsObj[idx].comments[commentIdx].userID);
                    }
                    if (urceData.commentUserIds.indexOf(_wmeUserId) > -1)
                        urceData.commentsByMe = true;
                    if (urceData.commentUserIds.indexOf(-1) > -1)
                        urceData.reporterHasCommented = true;
                    if (mapUrsObj[idx].attributes.open && urceData.commentCount === 1) {
                        if ((reminderDays !== 0) && (urceData.lastCommentDaysOld > (reminderDays - 1))) {
                            if ((_settings.perCommentListSettings[_currentCommentList].autoSendReminders || _restrictionsEnforce.autoSendReminders === true)
                                && (_restrictionsEnforce.autoSendReminders !== false)
                                && (urceData.lastCommentBy > 1)
                                && (_wmeUserId === urceData.lastCommentBy)
                                && !mapUrsObj[idx].attributes.reminderSent
                            ) {
                                const autoPostReminderCommentResult = await autoPostReminderComment(chunk[idx], formatText(_commentList[_defaultComments.dr.commentNum].comment, true));
                                if (autoPostReminderCommentResult.error) {
                                    urceData.needsReminder = true;
                                    logWarning(autoPostReminderCommentResult.text); // Don't return here as we should go ahead and process the urceData.
                                }
                                else {
                                    if (_settings.unfollowAfterSend)
                                        unfollowUrAfterSend(chunk[idx]);
                                    urceData.waiting = true;
                                }
                            }
                            else {
                                urceData.needsReminder = true;
                            }
                        }
                        else if (((reminderDays === 0) || (_settings.perCommentListSettings[_currentCommentList].reminderDays === '')) && (urceData.lastCommentDaysOld > (closeDays - 1))) {
                            urceData.needsClosed = true;
                        }
                        else {
                            urceData.waiting = true;
                        }
                    }
                    if (mapUrsObj[idx].attributes.open && urceData.commentCount > 1) {
                        if (urceData.lastCommentBy > 1) {
                            if ((closeDays > 0) && (urceData.lastCommentDaysOld > (closeDays - 1))) {
                                if (_wmeUserId === urceData.lastCommentBy)
                                    urceData.needsClosed = true;
                                else if (urceData.lastCommentDaysOld < (reminderDays + closeDays))
                                    urceData.waiting = true;
                                else if (urceData.lastCommentDaysOld > (reminderDays + closeDays - 1))
                                    urceData.needsClosed = true;
                            }
                            else {
                                urceData.waiting = true;
                            }
                        }
                    }
                }
                else {
                    urceData.fullText += (mapUrsObj[idx].attributes.description) ? mapUrsObj[idx].attributes.description : '';
                }
                if (!mapUrsObj[idx].attributes.open && _settings.hideByStatusClosedBy && (_settings.hideByStatusClosedByUsers.length > 0)) {
                    const userIdsToCheck = getUserIdsToCheck(_settings.hideByStatusClosedByUsers);
                    if ((userIdsToCheck.length > 0) && (userIdsToCheck.indexOf(mapUrsObj[idx].attributes.resolvedBy) > -1))
                        urceData.hideByStatusClosedBy = true;
                }
                if (_settings.hideWithCommentBy && (_settings.hideWithCommentByUsers.length > 0)) {
                    const userIdsToCheck = getUserIdsToCheck(_settings.hideWithCommentByUsers);
                    if ((userIdsToCheck.length > 0) && (urceData.commentUserIds.length > 0)) {
                        if (checkCommentedUsers(userIdsToCheck, urceData.commentUserIds) === true)
                            urceData.hideWithCommentBy = true;
                    }
                }
                if (_settings.hideWithoutCommentBy && (_settings.hideWithoutCommentByUsers.length > 0)) {
                    const userIdsToCheck = getUserIdsToCheck(_settings.hideWithoutCommentByUsers);
                    if ((userIdsToCheck.length > 0) && (urceData.commentUserIds.length > 0)) {
                        if (checkCommentedUsers(userIdsToCheck, urceData.commentUserIds) !== true)
                            urceData.hideWithoutCommentBy = true;
                    }
                    else if (urceData.commentUserIds.length === 0) {
                        urceData.hideWithoutCommentBy = true;
                    }
                }
                // eslint-disable-next-line no-control-regex
                urceData.fullText = urceData.fullText.replace(/[\r\n\x0B\x0C\u0085\u2028\u2029]+/g, ' ');
                urceData.tagType = (urceData.fullText.search(tagRegex) > -1) ? urceData.fullText.replace(tagRegex, '$1') : -1;
                if (urceData.tagType !== -1) {
                    urceData.customType = convertTagToCustomType(urceData.tagType);
                }
                else if (mapUrsObj[idx].attributes.type === 23) {
                    urceData.customType = 98;
                }
                else if (_settings.customMarkersCustom && (_settings.customMarkersCustomText.length > 0) && (urceData.fullText.search(new RegExp(`\\[${_settings.customMarkersCustomText.replace(/[[\]]+/gim, '')}\\]`)) > -1)) {
                    urceData.tagType = 99;
                    urceData.customType = 99;
                }
                else {
                    urceData.customType = -1;
                }
                if ((keywordIncludingRegex !== null) && (urceData.fullText.search(keywordIncludingRegex) > -1))
                    urceData.keywordIncluding = true;
                if ((keywordNotIncludingRegex !== null) && (urceData.fullText.search(keywordNotIncludingRegex) === -1))
                    urceData.keywordNotIncluding = true;
                if ((urceData.tagType === -1) && (mapUrsObj[idx].attributes.type === 23))
                    urceData.customType = 98;
                else if (urceData.tagType === -1)
                    urceData.customType = -1;
                if ((urceData.tagType === -1) || _settings.replaceTagNameWithEditorName) {
                    if (_settings.replaceTagNameWithEditorName && (urceData.fullText.search(tagUsernameRegex) > -1))
                        urceData.tagType = W.loginManager.user.userName;
                    else if (urceData.tagType)
                        urceData.tagType = urceData.tagType;
                    else
                        urceData.tagType = -1;
                }
                if ((_settings.hideWaiting && urceData.waiting)
                    || (_settings.needsClosed && urceData.needsClosed)
                    || (_settings.hideUrsReminderNeeded && urceData.needsReminder)
                    || (_settings.hideByStatusOpen && mapUrsObj[idx].attributes.open)
                    || (_settings.hideByStatusClosed && !mapUrsObj[idx].attributes.open)
                    || (_settings.hideByStatusNotIdentified && (mapUrsObj[idx].attributes.resolution === 1))
                    || (_settings.hideByStatusSolved && (mapUrsObj[idx].attributes.resolution === 0))
                    || (_settings.hideByStatusClosedBy && urceData.hideByStatusClosedBy)
                    // Types
                    || (_settings.hideByTypeBlockedRoad && (mapUrsObj[idx].attributes.type === 19))
                    || (_settings.hideByTypeGeneralError && (mapUrsObj[idx].attributes.type === 10))
                    || (_settings.hideByTypeIncorrectAddress && (mapUrsObj[idx].attributes.type === 7))
                    || (_settings.hideByTypeIncorrectJunction && (mapUrsObj[idx].attributes.type === 12))
                    || (_settings.hideByTypeIncorrectRoute && (mapUrsObj[idx].attributes.type === 8))
                    || (_settings.hideByTypeIncorrectStreetPrefixOrSuffix && (mapUrsObj[idx].attributes.type === 22))
                    || (_settings.hideByTypeIncorrectTurn && (mapUrsObj[idx].attributes.type === 6))
                    || (_settings.hideByTypeMissingBridgeOverpass && (mapUrsObj[idx].attributes.type === 13))
                    || (_settings.hideByTypeMissingExit && (mapUrsObj[idx].attributes.type === 15))
                    || (_settings.hideByTypeMissingLandmark && (mapUrsObj[idx].attributes.type === 18))
                    || (_settings.hideByTypeMissingOrInvalidSpeedLimit && (mapUrsObj[idx].attributes.type === 23))
                    || (_settings.hideByTypeMissingRoad && (mapUrsObj[idx].attributes.type === 16))
                    || (_settings.hideByTypeMissingRoundabout && (mapUrsObj[idx].attributes.type === 9))
                    || (_settings.hideByTypeMissingStreetName && (mapUrsObj[idx].attributes.type === 21))
                    || (_settings.hideByTypeTurnNotAllowed && (mapUrsObj[idx].attributes.type === 11))
                    || (_settings.hideByTypeUndefined
                        && (!mapUrsObj[idx].attributes.type
                            || (mapUrsObj[idx].attributes.type > 23)
                            || (mapUrsObj[idx].attributes.type < 6)
                            || (mapUrsObj[idx].attributes.type === 17)
                            || (mapUrsObj[idx].attributes.type === 20)))
                    || (_settings.hideByTypeWrongDrivingDirection && (mapUrsObj[idx].attributes.type === 14))
                    // Tags
                    || (_settings.hideByTaggedBog && (urceData.customType === 6))
                    || (_settings.hideByTaggedClosure && (urceData.customType === 2))
                    || (_settings.hideByTaggedConstruction && (urceData.customType === 1))
                    || (_settings.hideByTaggedDifficult && (urceData.customType === 7))
                    || (_settings.hideByTaggedEvent && (urceData.customType === 3))
                    || (_settings.hideByTaggedNote && (urceData.customType === 4))
                    || (_settings.hideByTaggedRoadworks && (urceData.customType === 0))
                    || (_settings.hideByTaggedWslm && (urceData.customType === 5))
                    // Age of submission
                    || (_settings.hideByAgeOfSubmissionLessThan && (urceData.driveDaysOld < _settings.hideByAgeOfSubmissionLessThanDaysOld))
                    || (_settings.hideByAgeOfSubmissionMoreThan && (urceData.driveDaysOld > _settings.hideByAgeOfSubmissionMoreThanDaysOld))
                    // Following, description, comments
                    || (_settings.hideFollowing && urSessionsObj[idx].isFollowing)
                    || (_settings.hideNotFollowing && !urSessionsObj[idx].isFollowing)
                    || (_settings.hideDescription
                        && mapUrsObj[idx].attributes.description && (mapUrsObj[idx].attributes.description.length > 0) && (mapUrsObj[idx].attributes.description !== ''))
                    || (_settings.hideWithoutDescription
                        && (!mapUrsObj[idx].attributes.description || (mapUrsObj[idx].attributes.description.length === 0) || (mapUrsObj[idx].attributes.description === '')))
                    || (_settings.hideWithCommentsFromMe && (urceData.commentsByMe))
                    || (_settings.hideWithoutCommentsFromMe && (!urceData.commentsByMe))
                    || (_settings.hideLastCommentByMe && (urceData.lastCommentBy === _wmeUserId))
                    || (_settings.hideLastCommentNotByMe && (urceData.lastCommentBy !== _wmeUserId))
                    || (_settings.hideLastCommentByReporter && (urceData.lastCommentBy === -1))
                    || (_settings.hideLastCommentNotByReporter && (urceData.lastCommentBy > 0))
                    || (_settings.hideByCommentCountLessThan && (urceData.commentCount < _settings.hideByCommentCountLessThanNumber))
                    || (_settings.hideByCommentCountMoreThan && (urceData.commentCount > _settings.hideByCommentCountMoreThanNumber))
                    || (_settings.hideByAgeOfFirstCommentLessThan && (urceData.commentCount > 0) && (urceData.firstCommentDaysOld < _settings.hideByAgeOfFirstCommentLessThanDaysOld))
                    || (_settings.hideByAgeOfFirstCommentMoreThan && (urceData.commentCount > 0) && (urceData.firstCommentDaysOld > _settings.hideByAgeOfFirstCommentMoreThanDaysOld))
                    || (_settings.hideByAgeOfLastCommentLessThan && (urceData.commentCount > 0) && (urceData.lastCommentDaysOld < _settings.hideByAgeOfLastCommentLessThanDaysOld))
                    || (_settings.hideByAgeOfLastCommentMoreThan && (urceData.commentCount > 0) && (urceData.lastCommentDaysOld > _settings.hideByAgeOfLastCommentMoreThanDaysOld))
                    || (_settings.hideByKeywordIncluding && urceData.keywordIncluding)
                    || (_settings.hideByKeywordNotIncluding && urceData.keywordNotIncluding)
                    || (_settings.hideWithCommentBy && urceData.hideWithCommentBy)
                    || (_settings.hideWithoutCommentBy && urceData.hideWithoutCommentBy)
                )
                    urceData.hideUr = true;
                if (_settings.invertFilters) {
                    if (urceData.hideUr)
                        urceData.hideUr = false;
                    else
                        urceData.hideUr = true;
                }
                W.model.mapUpdateRequests.objects[chunk[idx]].attributes.urceData = urceData;
            }
        }
        return resolve();
    });
}

function handleUrLayer(phase, filter, urMapMarkerIdsArr) {
    return new Promise(async resolve => {
        const zoomLevel = W.map.getZoom();
        if (filter === undefined || filter === null) {
            filter = true;
            if ((_settings.disableFilteringAboveZoom && (zoomLevel < _settings.disableFilteringAboveZoomLevel))
                || (_settings.disableFilteringBelowZoom && (zoomLevel > _settings.disableFilteringBelowZoomLevel))
            )
                filter = false;
        }
        if (phase === 'init')
            logDebug('Checking for UR markers already present before URC-E completed initialization.');
        else if (phase === 'init_end')
            logDebug('Updating UR markers that appeared after initialization completed.');
        else if (phase === 'close')
            logDebug('Updating UR markers after closing UR panel.');
        else if (phase === 'settingsToggle')
            logDebug('Updating UR markers after a setting toggle.');
        else if (phase === 'sendComment')
            logDebug('Updating UR markers after sending a comment.');
        else if (phase === 'overflow')
            logDebug('Updating UR markers from being added through UR overflow handling.');
        else
            logDebug(`Updating UR markers that appeared after a ${phase} event.`);
        if (!urMapMarkerIdsArr) {
            urMapMarkerIdsArr = [];
            W.model.mapUpdateRequests.getObjectArray().forEach(urObj => {
                if (urMapMarkerIdsArr.indexOf(urObj.attributes.id) === -1)
                    urMapMarkerIdsArr.push(urObj.attributes.id);
            });
        }
        if (urMapMarkerIdsArr.length > 0) {
            urMapMarkerIdsArr.sort();
            if (phase === 'init')
                _markerCountOnInit = urMapMarkerIdsArr.length;
            if (phase === 'overflow' && _initialUrLayerScan) {
                if (_markerCountOnInit > -1)
                    _markerCountOnInit += urMapMarkerIdsArr.length;
                else
                    _markerCountOnInit = urMapMarkerIdsArr.length;
            }
            try {
                await updateUrceData(urMapMarkerIdsArr);
            }
            catch (error) {
                logWarning(error);
            }
            updateUrMapMarkers(urMapMarkerIdsArr, filter);
            if (_settings.enableUrOverflowHandling && (urMapMarkerIdsArr.length > 499)) {
                if (phase !== 'overflow')
                    await handleUrOverflow();
            }
            else if (urMapMarkerIdsArr.length > 499) {
                alertBanner(I18n.t('urce.prompts.UrOverflowErrorWithoutOverflowEnabled'), true, true, null, true, 9999);
            }
            else if (urMapMarkerIdsArr.length < 500) {
                dismissAlertBanner(null, 9999);
            }
            if (phase !== 'overflow')
                _filtersAppliedOnZoom = filter;
        }
        resolve();
    });
}

function getOverflowUrsFromUrl(urlStr) {
    return new Promise(resolve => {
        (async function retry(url, tries, toIndex) {
            checkTimeout({ timeout: 'getOverflowUrsFromUrl', toIndex });
            const errorObj = { error: null };
            let data;
            try {
                data = await $.getJSON(url);
            }
            catch (error) {
                if (error.status === 429) {
                    data = { error: { status: 429 } };
                }
                else if (!errorObj.error) {
                    errorObj.error = (typeof error === 'object') ? error : { error };
                    errorObj.error.url = url;
                }
            }
            if (tries > 10) {
                resolve({ error: { reason: 'Too many retries.', url } });
            }
            else if (errorObj.error) {
                resolve(errorObj);
            }
            else if (!data || (data.error && (data.error.status === 429))) {
                log('Rate limited by Waze server. Retrying overflow request.');
                _timeouts.getOverflowUrsFromUrl[toIndex] = window.setTimeout(retry, 100, url, ++tries, toIndex);
            }
            else {
                checkTimeout({ timeout: 'getOverflowUrsFromUrl', toIndex });
                resolve(data);
            }
        }(urlStr, 1, getRandomId()));
    });
}

function handleUrOverflow() {
    return new Promise(async resolve => {
        const baseUrl = `https://${document.location.host}${W.Config.api_base}/Features?language=en&mapUpdateRequestFilter=`
            + `${(($('#layer-switcher-item_closed_update_requests').is(':checked')) ? '3' : '1')}%2C0&bbox=`,
            overflowUrsToPut = [],
            vpBounds = W.map.getExtent().transform(W.map.projection, W.map.displayProjection),
            vpBoundsFrom = { lon: vpBounds.left, lat: vpBounds.bottom },
            vpBoundsTo = { lon: vpBounds.right, lat: vpBounds.top },
            vpCenter = W.map.getCenter().transform(W.map.projection, W.map.displayProjection),
            overflowUrlsToCheck = [
                `${baseUrl}${vpCenter.lon.toFixed(6)},${vpCenter.lat.toFixed(6)},${vpBoundsTo.lon.toFixed(6)},${vpBoundsTo.lat.toFixed(6)}`,
                `${baseUrl}${vpBoundsFrom.lon.toFixed(6)},${vpCenter.lat.toFixed(6)},${vpCenter.lon.toFixed(6)},${vpBoundsTo.lat.toFixed(6)}`,
                `${baseUrl}${vpBoundsFrom.lon.toFixed(6)},${vpBoundsFrom.lat.toFixed(6)},${vpCenter.lon.toFixed(6)},${vpCenter.lat.toFixed(6)}`,
                `${baseUrl}${vpCenter.lon.toFixed(6)},${vpBoundsFrom.lat.toFixed(6)},${vpBoundsTo.lon.toFixed(6)},${vpCenter.lat.toFixed(6)}`
            ];
        while (overflowUrlsToCheck.length > 0) {
            const overflowUrl = overflowUrlsToCheck.shift(),
                data = await getOverflowUrsFromUrl(overflowUrl);
            let respUrObjs = [];
            if (data.error) {
                logWarning(data.error);
            }
            else if (data.mapUpdateRequests && data.mapUpdateRequests.objects && data.mapUpdateRequests.objects.length > 499) {
                logDebug('More than 499 objects returned in overflow request, queueing sub quadrants for further checking.');
                const bbox = overflowUrl.split('bbox=')[1].split(','),
                    bboxFrom = WazeWrap.Geometry.ConvertTo900913(bbox[0], bbox[1]),
                    bboxTo = WazeWrap.Geometry.ConvertTo900913(bbox[2], bbox[3]),
                    subQuadCenter = WazeWrap.Geometry.ConvertTo4326((bboxFrom.lon - ((bboxFrom.lon - bboxTo.lon) / 2)), (bboxTo.lat - ((bboxTo.lat - bboxFrom.lat) / 2)));
                overflowUrlsToCheck.push(`${baseUrl}${subQuadCenter.lon.toFixed(6)},${subQuadCenter.lat.toFixed(6)},${bbox[2]},${bbox[3]}`);
                overflowUrlsToCheck.push(`${baseUrl}${bbox[0]},${subQuadCenter.lat.toFixed(6)},${subQuadCenter.lon.toFixed(6)},${bbox[3]}`);
                overflowUrlsToCheck.push(`${baseUrl}${bbox[0]},${bbox[1]},${subQuadCenter.lon.toFixed(6)},${subQuadCenter.lat.toFixed(6)}`);
                overflowUrlsToCheck.push(`${baseUrl}${subQuadCenter.lon.toFixed(6)},${bbox[1]},${bbox[2]},${subQuadCenter.lat.toFixed(6)}`);
            }
            else if (data.mapUpdateRequests && data.mapUpdateRequests.objects.length > 0) {
                respUrObjs = respUrObjs.concat(data.mapUpdateRequests.objects);
            }
            respUrObjs.forEach(respUrObj => {
                if (W.model.mapUpdateRequests.objects[respUrObj.id] === undefined) {
                    const NewUr = require('Waze/Feature/Vector/UpdateRequest'),
                        toPutUr = new NewUr(respUrObj),
                        toPutPoint = new OL.Geometry.Point(respUrObj.geometry.coordinates[0], respUrObj.geometry.coordinates[1]).transform(W.map.displayProjection, W.map.projection);
                    toPutUr.geometry = toPutPoint;
                    const toPutReqBounds = new OL.Geometry.Polygon(),
                        toPutBounds = new OL.Bounds(toPutPoint.x, toPutPoint.y, toPutPoint.x, toPutPoint.y);
                    toPutReqBounds.bounds = toPutBounds;
                    toPutUr.requestBounds = toPutReqBounds;
                    overflowUrsToPut.push(toPutUr);
                }
            });
        }
        if (overflowUrsToPut.length > 0) {
            const urIdsArr = overflowUrsToPut.map(obj => obj.attributes.id);
            while (overflowUrsToPut.length > 0) {
                const chunk = overflowUrsToPut.splice(0, 500);
                W.model.mapUpdateRequests.put(chunk);
                logDebug(`${chunk.length} URs added from overflow.`);
            }
            if (!_initialUrLayerScan)
                await initBackgroundTasks('disable', 'overflow');
            await handleUrLayer('overflow', null, urIdsArr);
            if (!_initialUrLayerScan)
                await initBackgroundTasks('enable', 'overflow');
        }
        else {
            logDebug('All URs submitted for overflow processing already exist on map.');
        }
        resolve({ error: false });
    });
}

function mouseDown() {
    _mouseIsDown = true;
}

function mouseUp() {
    _mouseIsDown = false;
}

function invokeMoveEnd() {
    if (_settings.enableAutoRefresh
        && (W.map.getZoom() > 2)
        && (W.model.mapUpdateRequests.getObjectArray().length > 499)
        && (W.saveController.options.actionManager.events.object._undoStack.length === 0)
    )
        W.controller.reload();
    else if (!_settings.enableUrOverflowHandling && (W.model.mapUpdateRequests.getObjectArray().length > 499))
        alertBanner(I18n.t('urce.prompts.UrOverflowErrorWithoutOverflowEnabled'), true, true, null, true, 9999);
    else
        dismissAlertBanner(null, 9999);
}

async function invokeZoomEnd() {
    const zoomLevel = W.map.getZoom();
    if (_settings.enableAutoRefresh && (zoomLevel > 2) && (W.model.mapUpdateRequests.getObjectArray().length > 499) && (W.saveController.options.actionManager.events.object._undoStack.length === 0))
        return W.controller.reload();
    let filter = null;
    if (_settings.disableFilteringAboveZoom || _settings.disableFilteringBelowZoom) {
        if (!_filtersAppliedOnZoom && _settings.disableFilteringAboveZoom && (zoomLevel > (_settings.disableFilteringAboveZoomLevel - 1)))
            filter = true;
        if (!_filtersAppliedOnZoom && _settings.disableFilteringBelowZoom && (zoomLevel < (_settings.disableFilteringBelowZoomLevel + 1)))
            filter = true;
        if (_filtersAppliedOnZoom && _settings.disableFilteringAboveZoom && (zoomLevel < _settings.disableFilteringAboveZoomLevel))
            filter = false;
        if (_filtersAppliedOnZoom && _settings.disableFilteringBelowZoom && (zoomLevel > _settings.disableFilteringBelowZoomLevel))
            filter = false;
    }
    if (W.model.mapUpdateRequests.getObjectArray().length > 499) {
        if (_settings.enableUrOverflowHandling)
            await handleUrOverflow();
        else
            alertBanner(I18n.t('urce.prompts.UrOverflowErrorWithoutOverflowEnabled'), true, true, null, true, 9999);
    }
    else if (W.model.mapUpdateRequests.getObjectArray().length < 500) {
        dismissAlertBanner(null, 9999);
    }
    if (filter !== null)
        await handleUrLayer('zoomEnd', filter, null);
    return true;
}

async function invokeModeChange(event) {
    if (event && event.changed && event.changed.mode === 1)
        await initBackgroundTasks('disable', 'invokeModeChange');
    else if (event && event.changed && event.changed.mode === 0)
        await initBackgroundTasks('enable', 'invokeModeChange');
    if (event && event.changed && ((event.changed.mode === 0) || (event.changed.isImperial === true) || (event.changed.isImperial === false))) {
        handleUrLayer('modeChange', null, null);
        await checkRestrictions();
        await changeCommentList(_currentCommentList, false, true);
    }
}

function handleUrMarkerClick() {
    if ($(this).hasClass('user-generated') || $(this).hasClass('has-comments')) {
        if (!(_selUr.urId > 0) || (_selUr.urId !== parseInt($(this).attr('data-id')))) {
            _selUr = {
                doubleClick: false,
                handling: false,
                newStatus: undefined,
                urId: parseInt($(this).attr('data-id')),
                urOpen: false
            };
            logDebug(`Clicked UR: ${_selUr.urId}`);
        }
    }
}

function getUrId() {
    return new Promise(resolve => {
        const newUrId = parseInt($('.update-requests .selected').data('id'));
        if (newUrId && newUrId !== undefined && newUrId !== null && newUrId > 0)
            resolve(parseInt($('.update-requests .selected').data('id')));
        resolve(undefined);
    });
}

function maskBoxes(message, unmask, phase, maskUrPanel) {
    const zIndex = (phase === 'init') ? 19999 : 10000;
    if (unmask) {
        $(`#urceTabLightbox-${phase}`).remove();
        $(`#urPanelLightbox-${phase}`).remove();
    }
    else if (!unmask) {
        if ($(`#urceTabLightbox-${phase}`).length === 0) {
            $('#sidepanel-urc-e').css('position', 'relative');
            const $urceTabDisabled = $('<div>', { id: `urceTabLightbox-${phase}`, style: `position:absolute; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,.75); color:white; z-index:${zIndex};` });
            $urceTabDisabled.html(`<div style="text-align:center; padding-top:200px; width:290px; position:fixed; font-weight:800;">${message}</div>`);
            (function retry(tries, toIndex) {
                checkTimeout({ timeout: 'urceTabLightbox', toIndex });
                const $urceSidePanel = $('#sidepanel-urc-e');
                if ((tries > 100) && ($urceSidePanel.length === 0)) {
                    logError('Timed out trying to add mask to URCE side panel.');
                }
                else if ($urceSidePanel.length === 0) {
                    _timeouts.urceTabLightbox[toIndex] = window.setTimeout(retry, 100, ++tries, toIndex);
                }
                else {
                    checkTimeout({ timeout: 'urceTabLightbox', toIndex });
                    $urceSidePanel.prepend($urceTabDisabled);
                }
            }(1, getRandomId()));
        }
        if (maskUrPanel && ($(`#urPanelLightbox-${phase}`).length === 0)) {
            $($('#panel-container .mapUpdateRequest.panel.show').children()[0]).css('position', 'relative');
            const $urPanelDisabled = $('<div>', { id: `urPanelLightbox-${phase}`, style: `position:absolute; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,.75); color:white; z-index:${zIndex};` });
            $urPanelDisabled.html(`<div style="text-align:center; padding-top:200px; width:290px; position:fixed; font-weight:800;">${message}</div>`);
            (function retry(tries, toIndex) {
                checkTimeout({ timeout: 'urPanelLightbox', toIndex });
                const $urPanel = $('#panel-container .mapUpdateRequest.panel.show');
                if ((tries > 100) && ($urPanel.length === 0)) {
                    logWarning('Timed out trying to add mask to UR panel.');
                }
                else if ($urPanel.length === 0) {
                    _timeouts.urPanelLightbox[toIndex] = window.setTimeout(retry, 100, ++tries, toIndex);
                }
                else {
                    checkTimeout({ timeout: 'urPanelLightbox', toIndex });
                    $($urPanel.children()[0]).prepend($urPanelDisabled);
                }
            }(1, getRandomId()));
        }
    }
}

function changeCommentListStyle(settingVal) {
    if (_settings.commentListStyle !== settingVal) {
        if (settingVal === 'default') {
            $('fieldset[id^="urceComments-for-"], legend[id^="urceComments-for-"], div[id^="urceComments-for-"]').removeClass('urStyle');
            $('fieldset[id^="urce-prefs-fieldset"], legend[id^="urce-prefs-legend"]').removeClass('urStyle');
        }
        else if (settingVal === 'urStyle') {
            $('fieldset[id^="urceComments-for-"], legend[id^="urceComments-for-"], div[id^="urceComments-for-"]').addClass('urStyle');
            $('fieldset[id^="urce-prefs-fieldset"], legend[id^="urce-prefs-legend"]').addClass('urStyle');
        }
        _settings.commentListStyle = settingVal;
    }
    saveSettingsToStorage();
}

async function changeCommentList(commentListIdx, autoSwitch, refresh) {
    refresh = (refresh === true);
    commentListIdx = (isNaN(commentListIdx)) ? _settings.commentList : commentListIdx;
    if (refresh || (!autoSwitch && ((commentListIdx !== _settings.commentList) || (commentListIdx !== _currentCommentList))) || (autoSwitch && (commentListIdx !== _currentCommentList))) {
        let debugMsg;
        if (autoSwitch)
            debugMsg = 'Automatically switching comment lists';
        else if (refresh)
            debugMsg = 'Refreshing comment list';
        else
            debugMsg = 'Switching comment lists';
        if (_currentCommentList !== null)
            debugMsg += ` from ${getCommentListInfo(_currentCommentList).name}`;
        logDebug(`${debugMsg} to ${getCommentListInfo(commentListIdx).name}.`);
        if (!autoSwitch && !refresh)
            _settings.commentList = commentListIdx;
        const buildCommentListResult = await buildCommentList(commentListIdx, 'changeList', autoSwitch);
        if (buildCommentListResult.error) {
            buildCommentListResult.maskUrPanel = (_selUr.urId > 0);
            buildCommentListResult.phase = 'changeList';
            buildCommentListResult.staticList = (getCommentListInfo(commentListIdx).type === 'static');
            handleError(buildCommentListResult);
        }
        if (!autoSwitch && !refresh)
            saveSettingsToStorage();
    }
    return new Promise(resolve => { resolve(); });
}

function getCommentListInfo(commentListIdx) {
    commentListIdx = (isNaN(commentListIdx)) ? _settings.commentList : commentListIdx;
    return _commentLists.find(cList => cList.idx === commentListIdx);
}

function setGapiSigninStatus() {
    _gapiUser = _gapiAuth2.currentUser.get();
    if (_gapiUser.hasGrantedScopes('https://www.googleapis.com/auth/drive.file https://www.googleapis.com/auth/drive.readonly')) {
        $('#gapiSignInOutButton').html('Sign out').attr('title', 'Sign out of Google for this app.');
        $('#gapiRevokeAccessButton').show();
        $('#urceGSheetCreateConvert').show();
        return true;
    }
    $('#gapiSignInOutButton').html('Sign In/Authorize').attr('title', 'Sign into Google and authorize this app.');
    $('#gapiRevokeAccessButton').hide();
    $('#urceGSheetCreateConvert').hide();
    return false;
}

function updateGapiSigninStatus() {
    setGapiSigninStatus();
}

function checkGapiSigninStatus() {
    return new Promise(resolve => { resolve(setGapiSigninStatus()); });
}

function makeApiRestCall(obj) {
    return new Promise(async resolve => {
        const token = _gapiUser.getAuthResponse().access_token;
        let data;
        try {
            const options = { ...obj };
            options.beforeSend = function (request) {
                request.setRequestHeader('Authorization', `Bearer ${token}`);
            };
            data = await $.ajax(options).fail(response => {
                const err = { error: response.responseJSON.error.code, message: response.responseJSON.error.message, urceError: true };
                logError(err);
                return resolve(err);
            });
            return resolve(data);
        }
        catch (error) {
            let err;
            if (typeof error !== 'object')
                err = { error };
            else
                err = error;
            err.urceError = true;
            logError(err);
            return resolve(err);
        }
    });
}

async function createStaticToGoogleSheet(convert) {
    if (_createConvert || (await checkGapiSigninStatus() === false))
        return;
    if (convert && getCommentListInfo(_currentCommentList).type !== 'static') {
        WazeWrap.Alerts.error(SCRIPT_NAME, I18n.t('urce.prompts.ConversionLoadAddonFirst'));
        return;
    }
    disableWme(((convert) ? I18n.t('urce.prompts.ConvertingToGoogleSheet') : I18n.t('urce.prompts.CreatingGoogleSheet')), false);
    _createConvert = true;
    const date = new Date(),
        dateTs = `${date.getFullYear()}${(date.getMonth() < 9) ? `0${(date.getMonth() + 1)}` : (date.getMonth() + 1)
        }${date.getDate() < 9 ? `0${(date.getDate() + 1)}` : (date.getDate() + 1)
        }${date.getHours() < 10 ? `0${date.getHours()}` : date.getHours()
        }${date.getMinutes() < 10 ? `0${date.getMinutes()}` : date.getMinutes()
        }${date.getSeconds() < 10 ? `0${date.getSeconds()}` : date.getSeconds()
        }`;
    let response,
        newSsId,
        createError = false,
        checkPermissionsByUser = false,
        convertDefaultsError = false,
        convertCommentsError = false;
    response = await makeApiRestCall({
        url: `https://www.googleapis.com/drive/v3/files/1JVtw4xwjKmPX_H1Xo1uwyYwxguM-oSi0LotD4lEwmK4/copy?alt=json&key=${URCE_API_KEY}`,
        method: 'POST',
        contentType: 'application/json',
        data: JSON.stringify({ name: `URC-E Custom Comments - ${W.model.loginManager.user.userName} - ${dateTs}` }),
        processData: false
    });
    if (response.urceError) {
        createError = true;
    }
    else {
        newSsId = response.id.toString();
        response = await makeApiRestCall({
            url: `https://www.googleapis.com/drive/v3/files/${newSsId}/permissions?key=${URCE_API_KEY}`,
            method: 'GET'
        });
        if (response.urceError) {
            checkPermissionsByUser = true;
        }
        else {
            const permissionCheck = [...response.permissions].filter(obj => obj.id === 'anyoneWithLink');
            if (permissionCheck.length === 0) {
                response = await makeApiRestCall({
                    url: `https://www.googleapis.com/drive/v3/files/${newSsId}/permissions?alt=json&key=${URCE_API_KEY}`,
                    method: 'POST',
                    contentType: 'application/json',
                    data: JSON.stringify({ role: 'reader', type: 'anyone' }),
                    processData: false
                });
                if (response.urceError)
                    checkPermissionsByUser = true;
            }
            else if (permissionCheck.filter(obj => (obj.type === 'anyone') && ((obj.role === 'writer') || (obj.role === 'reader') || (obj.role === 'commenter'))).length === 0) {
                response = await makeApiRestCall({
                    url: `https://www.googleapis.com/drive/v3/files/${newSsId}/permissions/anyoneWithLink?alt=json&key=${URCE_API_KEY}`,
                    method: 'POST',
                    contentType: 'application/json',
                    data: JSON.stringify({ role: 'reader' }),
                    processData: false
                });
                if (response.urceError)
                    checkPermissionsByUser = true;
            }
        }
        if (convert) {
            let idx,
                defaultsArr = {};
            Object.keys(_defaultComments).forEach(key => {
                if (key === 'dr')
                    idx = 0;
                else if (key === 'dc')
                    idx = 1;
                else
                    idx = _defaultComments[key].urNum;
                defaultsArr[idx] = (_defaultComments[key].commentNum !== null) ? [_commentList[_defaultComments[key].commentNum].title] : [''];
            });
            defaultsArr = Object.values(defaultsArr);
            const commentsArr = _commentList.map(entry => {
                let urstatus;
                if (entry.urstatus === 'open')
                    urstatus = 'Open';
                else if (entry.urstatus === 'solved')
                    urstatus = 'Solved';
                else if (entry.urstatus === 'notidentified')
                    urstatus = 'NotIdentified';
                else if (entry.urstatus !== '')
                    urstatus = entry.urstatus.toUpperCase();
                else
                    urstatus = '';
                return [entry.title, entry.comment, urstatus];
            });
            response = await makeApiRestCall({
                url: `https://sheets.googleapis.com/v4/spreadsheets/${newSsId}/values/CustomComments!B5:B22?valueInputOption=RAW&alt=json&key=${URCE_API_KEY}`,
                method: 'PUT',
                contentType: 'application/json',
                data: JSON.stringify({ values: defaultsArr }),
                processData: false
            });
            if (response.urceError)
                convertDefaultsError = true;
            response = await makeApiRestCall({
                url: `https://sheets.googleapis.com/v4/spreadsheets/${newSsId}/values/CustomComments!A25:C${(commentsArr.length + 25 - 1)}?valueInputOption=RAW&alt=json&key=${URCE_API_KEY}`,
                method: 'PUT',
                contentType: 'application/json',
                data: JSON.stringify({ values: commentsArr }),
                processData: false
            });
            if (response.urceError)
                convertCommentsError = true;
            response = await makeApiRestCall({
                url: `https://sheets.googleapis.com/v4/spreadsheets/${newSsId}/values/CustomComments!D26:D30?valueInputOption=RAW&alt=json&key=${URCE_API_KEY}`,
                method: 'PUT',
                contentType: 'application/json',
                data: JSON.stringify({ values: [[''], [''], [''], [''], ['']] }),
                processData: false
            });
        }
    }
    disableWme(null, true);
    let content = '<div id="urceCreateConvertResults">'
        + `<div><div><b>${I18n.t('urce.prompts.ConvertCreateCreateCustomSpreadsheet')}:</b> <div style="display:inline-block;${(createError) ? ' color:red;' : ''}"><i>${(createError) ? I18n.t('urce.common.Failed') : I18n.t('urce.common.Success')}</i></div></div>`
        // eslint-disable-next-line no-nested-ternary
        + `<div><b>${I18n.t('urce.prompts.ConvertCreateSetProperPermissions')}:</b> <div style="display:inline-block;${(checkPermissionsByUser) ? ' color:red;' : ''}"><i>${(createError) ? I18n.t('urce.common.NotApplicable') : (checkPermissionsByUser) ? I18n.t('urce.common.NeedsChecked') : I18n.t('urce.common.Success')}</i></div></div>`
        // eslint-disable-next-line no-nested-ternary
        + `<div><b>${I18n.t('urce.prompts.ConvertCreateConvertCurrent')}:</b> <div style="display:inline-block;"><i>${(createError) ? I18n.t('urce.common.NotApplicable') : (convert) ? I18n.t('urce.common.Yes') : I18n.t('urce.common.No')}</i></div></div>`
        // eslint-disable-next-line no-nested-ternary
        + `<div><b>${I18n.t('urce.prompts.ConvertCreateConvertDefaultComments')}:</b> <div style="display:inline-block;${(convertDefaultsError) ? ' color:red;' : ''}"><i>${(createError || !convert) ? I18n.t('urce.common.NotApplicable') : (convertDefaultsError) ? I18n.t('urce.common.Failed') : I18n.t('urce.common.Success')}</i></div></div>`
        // eslint-disable-next-line no-nested-ternary
        + `<div><b>${I18n.t('urce.prompts.ConvertCreateConvertComments')}:</b> <div style="display:inline-block;${(convertCommentsError) ? ' color:red;' : ''}"><i>${(createError || !convert) ? I18n.t('urce.common.NotApplicable') : (convertCommentsError) ? I18n.t('urce.common.Failed') : I18n.t('urce.common.Success')}</i></div></div>`
        + `</div><div><div style="margin-top:10px; border-top:1px solid black; padding-top:10px;"><b>${I18n.t('urce.prompts.ConvertCreateSpreadsheetURL')}:</b> ${(createError) ? I18n.t('urce.common.NotApplicable') : `<a href="https://docs.google.com/spreadsheets/d/${newSsId}/edit" target="_blank">https://docs.google.com/spreadsheets/d/${newSsId}/edit</a>`}</div>`
        + `<div><b>${I18n.t('urce.prompts.ConvertCreateGoogleAccount')}:</b> <i>${_gapiUser.getBasicProfile().getEmail()}</i></div>`
        + `<div><b>${I18n.t('urce.prompts.ConvertCreateSpreadsheetID')}:</b> <i>${(createError) ? I18n.t('urce.common.NotApplicable') : newSsId}</i><div id="urceCopySsId" style="display:inline-block; margin-left:5px;" title="${I18n.t('urce.prompts.ConvertCreateSpreadsheetIDCopyTitle')}"><i class="fa fa-files-o" aria-hidden="true"></i></div></div>`
        + `</div><div style="margin-top:10px; border-top:1px solid black; padding-top:10px;"><b>${I18n.t('urce.prompts.ConvertCreateNextSteps')}:</b>`
        + '<ul>';
    if (createError) {
        content += `<li>${I18n.t('urce.prompts.ConvertCreateNextStepsCreateError')}</li></ul>`;
    }
    else {
        if (checkPermissionsByUser) {
            content += `<li>${I18n.t('urce.prompts.ConvertCreateNextStepsCheckPermissions')}</li>`
                + `<ol><li><a href="https://docs.google.com/spreadsheets/d/${newSsId}/edit" target="_blank">${I18n.t('urce.prompts.ConvertCreateNextStepsCheckPermissionsStep1')}</li></a>`
                + `<li>${I18n.t('urce.prompts.ConvertCreateNextStepsCheckPermissionsStep2')}</li>`
                + `<li>${I18n.t('urce.prompts.ConvertCreateNextStepsCheckPermissionsStep3')}</li>`
                + `<li>${I18n.t('urce.prompts.ConvertCreateNextStepsCheckPermissionsStep4')}</li>`
                + `<li>${I18n.t('urce.prompts.ConvertCreateNextStepsCheckPermissionsStep5')}</li>`
                + `<li>${I18n.t('urce.prompts.ConvertCreateNextStepsCheckPermissionsStep6')}</li>`
                + `<li>${I18n.t('urce.prompts.ConvertCreateNextStepsCheckPermissionsStep7')}</li>`
                + `<li>${I18n.t('urce.prompts.ConvertCreateNextStepsCheckPermissionsStep8')}</li></ol>`;
        }
        if (convertDefaultsError)
            content += `<li>${I18n.t('urce.prompts.ConvertCreateNextStepsConvertDefaultsError')}</li>`;
        if (convertCommentsError)
            content += `<li>${I18n.t('urce.prompts.ConvertCreateNextStepsConvertCommentsError')}</li>`;
        if (!checkPermissionsByUser && !convertDefaultsError && !convertCommentsError)
            content += `<li>${I18n.t('urce.common.NotApplicable')}`;
        content += '</ul></div><div style="margin-top:10px; border-top:1px solid black; padding-top:10px;">';
        if (!checkPermissionsByUser && !convertDefaultsError && !convertCommentsError)
            content += ((convert) ? I18n.t('urce.prompts.ConversionComplete') : I18n.t('urce.prompts.CreationComplete'));
        else
            content += I18n.t('urce.prompts.ConvertCreateCompletionSteps');
        content += `<ol><li>${I18n.t('urce.prompts.ConvertCreateCompletionStepsStep1').replace('$COPY_ICON$', '<i class="fa fa-files-o" aria-hidden="true"></i>')}</li>`
            + `<li>${I18n.t('urce.prompts.ConvertCreateCompletionStepsStep2')}</li>`
            + `<li>${I18n.t('urce.prompts.ConvertCreateCompletionStepsStep3')}</li></ol>`;
    }
    content += '</div>';
    WazeWrap.Alerts.info(SCRIPT_NAME, content, true, true);
    $('#urceCopySsId').off().on('click', () => {
        $('<input>', { id: 'copySsIdTemp' }).val(newSsId).appendTo('body').select();
        document.execCommand('copy');
        $('#copySsIdTemp').remove();
    });
    _createConvert = false;
}

function checkForStaticListArray(oldVarNameStr) {
    return new Promise(resolve => {
        (function retry(oldVarName, tries) {
            checkTimeout({ timeout: 'checkForStaticListArray' });
            if (tries > 100)
                resolve({ error: true, text: I18n.t('urce.prompts.TimedOutWaitingStatic') });
            else if (!window[`Urcomments${oldVarName}Array2`])
                _timeouts.checkForStaticListArray = window.setTimeout(retry, 100, oldVarName, ++tries);
            else
                resolve({ error: false });
        }(oldVarNameStr, 1));
    });
}

function convertCommentListStatic(commentListIdx) {
    return new Promise(async resolve => {
        commentListIdx = (isNaN(commentListIdx)) ? _settings.commentList : commentListIdx;
        const { oldVarName } = getCommentListInfo(commentListIdx);
        const checkForStaticListArrayResult = await checkForStaticListArray(oldVarName);
        if (checkForStaticListArrayResult.error)
            return resolve(checkForStaticListArrayResult);
        const oldUrcArr = window[`Urcomments${oldVarName}Array2`],
            defaultReminderIdx = parseInt(window[`Urcomments${oldVarName}ReminderPosistion`]),
            closedNiIdx = parseInt(window[`Urcomments${oldVarName}CloseNotIdentifiedPosistion`]),
            data = [];
        let entryIdx;
        logDebug(`Converting static comment list to URC-E format for comment list: ${oldVarName}`);
        data[0] = ['URCE'];
        data[1] = ['2018.11.28.01'];
        data[2] = ['TITLE|COMMENT|URSTATUS|DR|DC|IT|IA|IR|MRA|GE|TNA|IJ|MBO|WDD|ME|MR|ML|BR|MSN|ISPS|SL'];
        if ((oldUrcArr[0].search(/<br>/gi) === -1) && (oldUrcArr[2] !== '')) {
            data[3] = ['||GROUP TITLE||||||||||||||||||'];
            entryIdx = 4;
        }
        else {
            entryIdx = 3;
        }
        for (let oldUrcArrIdx = 0; oldUrcArrIdx < oldUrcArr.length; oldUrcArrIdx += 3) {
            if ((oldUrcArr[oldUrcArrIdx].search(/<br>/gi) > -1) || (oldUrcArr[oldUrcArrIdx + 2] === '')) {
                oldUrcArr[oldUrcArrIdx + 2] = 'GROUP TITLE';
                oldUrcArr[oldUrcArrIdx] = $('<div>').html(oldUrcArr[oldUrcArrIdx]).text();
            }
            let temp = `${oldUrcArr[oldUrcArrIdx]}|${oldUrcArr[oldUrcArrIdx + 1]}|`
                + `${((oldUrcArr[oldUrcArrIdx + 2] !== '') ? oldUrcArr[oldUrcArrIdx + 2].toLowerCase() : '')}`
                + `${((oldUrcArrIdx === defaultReminderIdx) ? '|default_is_true' : '|')}`
                + `${((oldUrcArrIdx === closedNiIdx) ? '|default_is_true' : '|')}`;
            for (let i = 6; i < 24; i++) {
                if ((i !== 17) && (i !== 20))
                    temp += ((window[`Urcomments${oldVarName}def_names`][i]) && (window[`Urcomments${oldVarName}def_names`][i].toLowerCase() === oldUrcArr[oldUrcArrIdx].toLowerCase())) ? '|default_is_true' : '|';
            }
            data[entryIdx] = [temp];
            entryIdx++;
        }
        return resolve(data);
    });
}

function processCommentList(data) {
    return new Promise(resolve => {
        logDebug('Processing comment list data.');
        if (data) {
            const EXPECTED_FIELD_NAMES = ['TITLE', 'COMMENT', 'URSTATUS', 'DR', 'DC', 'IT', 'IA', 'IR', 'MRA', 'GE', 'TNA', 'IJ', 'MBO', 'WDD', 'ME', 'MR', 'ML', 'BR', 'MSN', 'ISPS', 'SL'],
                rowObj = {},
                checkFieldNames = fldName => ssFieldNames.indexOf(fldName) > -1,
                createRowObj = (entry, i) => {
                    i = i || 0;
                    if (ssFieldNames[i].trim().toLowerCase() === 'comment')
                        rowObj[ssFieldNames[i].trim().toLowerCase()] = entry;
                    else if (ssFieldNames[i].trim().toLowerCase() === 'title')
                        rowObj[ssFieldNames[i].trim().toLowerCase()] = entry.trim();
                    else
                        rowObj[ssFieldNames[i].trim().toLowerCase()] = entry.trim().toLowerCase();
                    i++;
                };
            let ssFieldNames,
                groupDivId,
                commentId = 0,
                blankGroup = 0;
            for (let entryIdx = 0; entryIdx < data.length; entryIdx++) {
                if (entryIdx === 0) {
                    if (data[entryIdx][0] !== 'URCE')
                        return resolve({ error: true, text: 'Incorrect format in spreadsheet data received.' });
                }
                else if (entryIdx === 1) {
                    if (SCRIPT_VERSION < data[entryIdx][0])
                        return resolve({ error: true, text: `updateRequired|${data[entryIdx][0]}` });
                }
                else if (entryIdx === 2) {
                    ssFieldNames = data[entryIdx][0].split('|').map(fldName => fldName.trim());
                    if (ssFieldNames.length !== EXPECTED_FIELD_NAMES.length)
                        return resolve({ error: true, text: `Expected ${EXPECTED_FIELD_NAMES.length} columns in comment definition data. Spreadsheet returned ${ssFieldNames.length}.` });
                    if (!EXPECTED_FIELD_NAMES.every(fldName => checkFieldNames(fldName)))
                        return resolve({ error: true, text: `Script expected to see the following column names in the comment definition spreadsheet:\n${EXPECTED_FIELD_NAMES.join(', ')}\nHowever, the spreadsheet returned these:\n${ssFieldNames.join(', ')}` });
                }
                else if (data[entryIdx][0]) {
                    data[entryIdx][0].split('|').forEach((entry, i) => createRowObj(entry, i));
                    if (rowObj.title !== 'URCE_REMOVED_SO_SKIP') {
                        if (rowObj.title === 'URCE_ERROR')
                            return resolve({ error: true, text: `There is an unknown error in the spreadsheet output. Please contact the list owner: ${getCommentListInfo(_settings.commentList).listOwner}` }); // UH OH . This is bad. Something broke in the arrayformula on the spradsheet.
                        if (rowObj.urstatus === 'group title') { // Group title row. Nothing to set in the arrays, but build html.
                            groupDivId = 'urceComments-for-';
                            if (rowObj.title !== '') {
                                groupDivId += rowObj.title.replace(/[^\w]+/gi, '').toLowerCase();
                                if (rowObj.title === rowObj.title.toUpperCase()) {
                                    if (rowObj.title.length > 30) {
                                        rowObj.titleMouseOver = rowObj.title;
                                        rowObj.title = `${rowObj.title.substring(0, 30)}...`;
                                    }
                                }
                                else if (rowObj.title.length > 35) {
                                    rowObj.titleMouseOver = rowObj.title;
                                    rowObj.title = `${rowObj.title.substring(0, 35)}...`;
                                }
                            }
                            else {
                                groupDivId += `blankGroup${(++blankGroup)}`;
                            }
                            const collapsed = (_settings.commentListCollapses.hasOwnProperty(_settings.commentList)
                                && _settings.commentListCollapses[_settings.commentList].hasOwnProperty(`${groupDivId}_body`)
                                && (_settings.commentListCollapses[_settings.commentList][`${groupDivId}_body`] === true))
                                    ? 'collapse'
                                    : '',
                                chevron = (collapsed === 'collapse') ? 'fa-chevron-right' : 'fa-chevron-down',
                                urStyle = (_settings.commentListStyle === 'urStyle') ? ' urStyle' : '';
                            $('#_commentList').append(
                                $('<fieldset>', { id: groupDivId, class: `URCE-field ${urStyle}` }).append(
                                    $('<legend>', { id: `${groupDivId}_legend`, class: `URCE-legend ${urStyle}` }).append(
                                        $('<i>', { class: `fa fa-fw ${chevron} URCE-chevron` }),
                                        $('<span>', { class: 'URCE-span', title: rowObj.titleMouseOver }).text(rowObj.title)
                                    ).click(function () {
                                        $($(this).children()[0]).toggleClass('fa fa-fw fa-chevron-down');
                                        $($(this).children()[0]).toggleClass('fa fa-fw fa-chevron-right');
                                        $($(this).siblings()[0]).toggleClass('collapse');
                                        saveSettingsToStorage();
                                    })
                                ).append(
                                    $('<div>', { id: `${groupDivId}_body`, class: `${collapsed} URCE-group_body ${urStyle}` })
                                )
                            );
                            _commentList[commentId] = { title: rowObj.title, comment: '', urstatus: 'GROUP TITLE' };
                            commentId++;
                        }
                        else { // SHOULD be a normal comments row, push values to arrays and build html.
                            if ((rowObj.urstatus !== 'solved') && (rowObj.urstatus !== 'notidentified') && (rowObj.urstatus !== 'open') && (rowObj.urstatus !== 'blank line'))
                                return resolve({ error: true, text: `Your current selected list does not have a status set for ${rowObj.title}. Please contact list owner: ${getCommentListInfo(_settings.commentList).listOwner}` });
                            _commentList[commentId] = { title: rowObj.title, comment: rowObj.comment, urstatus: rowObj.urstatus };
                            if (Object.values(rowObj).indexOf('default_is_true') > -1) {
                                const drIdx = ssFieldNames.indexOf('DR'),
                                    splitRowDefaultCommentsBoolean = Object.values(rowObj).slice(drIdx);
                                for (let boolIdx = 0; boolIdx < splitRowDefaultCommentsBoolean.length; boolIdx++) {
                                    if (splitRowDefaultCommentsBoolean[boolIdx].toLowerCase() === 'default_is_true')
                                        _defaultComments[ssFieldNames[(boolIdx + drIdx)].toLowerCase()].commentNum = commentId;
                                }
                            }
                            let linkClass;
                            let divDoubleClickId;
                            let divDoubleClickStyle = 'display:initial;';
                            if (rowObj.urstatus === 'solved') {
                                linkClass = 'URCE-solvedLink';
                                divDoubleClickId = 'URCE-divDoubleClickSolved';
                                if (!_settings.doubleClickLinkSolvedComments)
                                    divDoubleClickStyle = 'display:none;';
                            }
                            else if (rowObj.urstatus === 'notidentified') {
                                linkClass = 'URCE-niLink';
                                divDoubleClickId = 'URCE-divDoubleClickNi';
                                if (!_settings.doubleClickLinkNiComments)
                                    divDoubleClickStyle = 'display:none;';
                            }
                            else {
                                linkClass = (rowObj.urstatus === 'blank line') ? 'URCE-blankLine' : 'URCE-openLink';
                                divDoubleClickId = (rowObj.title !== '') ? 'URCE-divDoubleClickOpen' : 'URCE-divDoubleClickOpen-Hidden';
                                if (!_settings.doubleClickLinkOpenComments || (rowObj.urstatus === 'blank line'))
                                    divDoubleClickStyle = 'display:none;';
                            }
                            $(`#${groupDivId}_body`).append(
                                $('<div>', { class: `URCE-divComment hover expand ${linkClass}`, style: 'position:relative;' }).append(
                                    $('<div>', { style: 'width:225px; display:inline-flex;' }).append(
                                        $('<a>', { class: `URCE-Comments ${linkClass} URCE-Comments`, id: `urce-cid-${commentId}`, title: formatText(rowObj.comment, false) }).text(rowObj.title).click(function () {
                                            handleClickedComment(parseInt(this.id.replace(/urce-cid-/, '')), false);
                                        })
                                    )
                                ).append(
                                    $('<div>', {
                                        class: 'URCE-divDoubleClick', id: divDoubleClickId, style: divDoubleClickStyle, title: `${I18n.t('urce.common.DoubleClickTitle')}:\n${formatText(rowObj.comment, false)}`
                                    }).append(
                                        $('<img>', { src: DOUBLE_CLICK_ICON, class: 'URCE-doubleClickIcon', id: `urce-img-cid-${commentId}` }).dblclick(function () {
                                            handleClickedComment(parseInt(this.id.replace(/urce-img-cid-/, '')), true);
                                        })
                                    )
                                ).append($('<br>')),
                            );
                            commentId++;
                        }
                    }
                }
            }
        }
        else {
            return resolve({ error: true, text: 'No data passed to the JSON processing function.' });
        }
        return resolve({ error: false });
    });
}

function commentListAsync(commentListIdx) {
    return new Promise(async resolve => {
        commentListIdx = (isNaN(commentListIdx)) ? _settings.commentList : commentListIdx;
        const commentListInfo = getCommentListInfo(commentListIdx);
        logDebug(`Beginning comment list async for comment list: ${commentListInfo.name}`);
        const data = await $.getJSON(`https://sheets.googleapis.com/v4/spreadsheets/${((commentListIdx === 1001) ? _settings.customSsId : URCE_SPREADSHEET_ID)}/values/${commentListInfo.gSheetRange}?key=${URCE_API_KEY}`)
            .fail(response => resolve({ error: true, text: `Spreadsheet call failed. Code: ${response.status} - Text: ${response.statusText}` }));
        if (data.values.length > 0)
            resolve(data.values);
        else
            resolve({ error: true, text: 'No comments found in spreadsheet sheet.' });
    });
}

function buildCommentList(commentListIdx, phase, autoSwitch) {
    return new Promise(async resolve => {
        commentListIdx = (isNaN(commentListIdx)) ? _settings.commentList : commentListIdx;
        const commentListInfo = getCommentListInfo(commentListIdx);
        Object.values(_defaultComments).forEach(a => { a.commentNum = null; });
        logDebug(`Building comment list for: ${commentListInfo.name}`);
        if (phase !== 'init')
            maskBoxes(`${I18n.t('urce.prompts.SwitchingCommentLists')}.<br>${I18n.t('urce.common.PleaseWait')}.`, false, phase, (_selUr.urId > 0));
        $('#_commentList').empty();
        $('#_commentList').append(
            $('<div>', { class: 'URCE-commentListName' }).text(`${I18n.t('urce.common.CommentList')}: `).append(() => {
                const $selList = $('<select>', { id: '_selcurrentCommentList', title: I18n.t('urce.common.CurrentCommentListTitle') });
                _commentLists.forEach(cList => {
                    if (cList.status !== 'disabled') {
                        if (cList.idx === commentListIdx)
                            $selList.append($('<option>', { value: cList.idx, selected: true }).text(() => ((!autoSwitch) ? cList.name : `${cList.name} (${I18n.t('urce.common.AutoSwitched')})`)));
                        else
                            $selList.append($('<option>', { value: cList.idx }).text(cList.name));
                    }
                });
                return $selList.val(commentListIdx).off().on('change', function () {
                    if ((parseInt(this.value) === 1001) && (!_settings.customSsId || (_settings.customSsId.length < 1))) {
                        $(this).val(_currentCommentList);
                        WazeWrap.Alerts.error(SCRIPT_NAME, I18n.t('urce.prompts.SetCustomSsIdFirst'));
                    }
                    else {
                        changeCommentList(parseInt(this.value), false, true);
                    }
                });
            }),
            $('<div>', { class: 'URCE-commentListName URCE-controls URCE-divCC' }).append(
                $('<input>', {
                    type: 'checkbox', id: '_cbenableAppendMode', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.EnableAppendModeTitle')
                }).prop('checked', _settings.enableAppendMode).off().on('change', function () {
                    _settings[$(this)[0].id.substr(3)] = this.checked;
                    saveSettingsToStorage();
                }),
                $('<label>', { for: '_cbenableAppendMode', title: I18n.t('urce.prefs.EnableAppendModeTitle'), class: 'URCE-label' }).text(I18n.t('urce.prefs.EnableAppendMode'))
            ),
            $('<div>', { id: 'expandCollapseAll', class: 'URCE-expandCollapseAll' }).append(
                $('<div>', { class: 'URCE-expandCollapseAllItem' }).text(I18n.t('urce.common.ExpandAll')).off().on('click', () => {
                    const $legends = $('legend[id^="urceComments-for"');
                    for (let idx = 0; idx < $legends.length; idx++) {
                        if ($legends[idx].nextSibling.className.indexOf('collapse') > -1)
                            $($legends[idx]).click();
                    }
                }),
                $('<div>', { style: 'display:inline;' }).text(' : '),
                $('<div>', { class: 'URCE-expandCollapseAllItem' }).text(I18n.t('urce.common.CollapseAll')).off().on('click', () => {
                    const $legends = $('legend[id^="urceComments-for"');
                    for (let idx = 0; idx < $legends.length; idx++) {
                        if ($legends[idx].nextSibling.className.indexOf('collapse') === -1)
                            $($legends[idx]).click();
                    }
                })
            ),
        );
        _commentList = [];
        const data = (commentListInfo.type === 'static') ? await convertCommentListStatic(commentListIdx) : await commentListAsync(commentListIdx);
        if (data.error) {
            return resolve({
                error: true, text: data.text, staticList: (commentListInfo.type === 'static'), phase, maskUrPanel: (_selUr.urId > 0), commentList: commentListIdx
            });
        }
        const processCommentListResult = await processCommentList(data);
        if (processCommentListResult.error) {
            return resolve({
                error: true, text: processCommentListResult.text, staticList: (commentListInfo.type === 'static'), phase, maskUrPanel: (_selUr.urId > 0), commentList: commentListIdx
            });
        }
        _currentCommentList = commentListIdx;
        processPerCommentListSettings(_currentCommentList);
        if (phase !== 'init')
            maskBoxes(null, true, phase, (_selUr.urId > 0));
        return resolve({
            error: false, staticList: (commentListInfo.type === 'static'), phase, maskUrPanel: (_selUr.urId > 0), commentList: commentListIdx
        });
    });
}

function processPerCommentListSettings(commentListIdx) {
    const defaultPerCommentListSettings = {
        autoSendReminders: _settings.autoSendReminders,
        autoSendReminders_useDefault: true,
        autoSetNewUrComment: _settings.autoSetNewUrComment,
        autoSetNewUrComment_useDefault: true,
        autoSetNewUrCommentSlur: _settings.autoSetNewUrCommentSlur,
        autoSetNewUrCommentSlur_useDefault: true,
        autoSetNewUrCommentWithDescription: _settings.autoSetNewUrCommentWithDescription,
        autoSetNewUrCommentWithDescription_useDefault: true,
        autoSetReminderUrComment: _settings.autoSetReminderUrComment,
        autoSetReminderUrComment_useDefault: true,
        tagEmail: _settings.tagEmail,
        tagEmail_useDefault: true,
        reminderDays: _settings.reminderDays,
        reminderDays_useDefault: true,
        closeDays: _settings.closeDays,
        closeDays_useDefault: true
    };
    let perCommentListSettingsChanged = false;
    if (_settings.perCommentListSettings[commentListIdx] === undefined) {
        _settings.perCommentListSettings[commentListIdx] = defaultPerCommentListSettings;
        perCommentListSettingsChanged = true;
    }
    else {
        Object.keys(defaultPerCommentListSettings).forEach(prop => {
            if (!_settings.perCommentListSettings[commentListIdx].hasOwnProperty(prop)) {
                _settings.perCommentListSettings[commentListIdx][prop] = defaultPerCommentListSettings[prop];
                perCommentListSettingsChanged = true;
            }
        });
    }
    if (perCommentListSettingsChanged)
        saveSettingsToStorage();
    const perCListSettings = _settings.perCommentListSettings[commentListIdx],
        htmlOut = ''
            + `<div>${I18n.t('urce.prefs.SettingsFor')}: ${getCommentListInfo(commentListIdx).name}</div>`
            + '<div class="URCE-controls">'
            + '   <div>'
            + '      <div style="width:calc(100% - 18px); display:inline-block">'
            + `         <input type="checkbox" id="_cbperCommentList_autoSendReminders" urceprefs="perCommentList" class="urceSettingsCheckbox${((perCListSettings.autoSendReminders_useDefault) ? ' urceDisabled' : '')}" title="${I18n.t('urce.prefs.AutoSendRemindersTitle')}" ${((perCListSettings.autoSendReminders) ? 'checked="true"' : '')} ${((perCListSettings.autoSendReminders_useDefault) ? 'disabled="true"' : '')}>`
            + `         <label for="_cbperCommentList_autoSendReminders" title="${I18n.t('urce.prefs.AutoSendRemindersTitle')}" urceprefs="perCommentList" class="URCE-label${((perCListSettings.autoSendReminders_useDefault) ? ' urceDisabled' : '')}">${I18n.t('urce.prefs.AutoSendReminders')}</label>`
            + `         <div class="URCE-divWarning URCE-divWarningPre">(<div class="URCE-divWarning URCE-divWarningTitle" title="${I18n.t('urce.prefs.AutoSendRemindersWarningTitle')}">${I18n.t('urce.prefs.AutoSendRemindersWarning')}</div><div class="URCE-divWarning">)</div></div>`
            + '      </div>'
            + `      <input type="checkbox" style="right:1px;" id="_cbperCommentList_autoSendReminders_useDefault" urceprefs="perCommentList" class="urceSettingsCheckbox" title="${I18n.t('urce.prefs.UseDefault')}" ${((perCListSettings.autoSendReminders_useDefault) ? 'checked="true"' : '')}>`
            + '   </div>'
            + '   <div>'
            + '      <div style="width:calc(100% - 18px); display:inline-block">'
            + `         <input type="checkbox" id="_cbperCommentList_autoSetNewUrComment" urceprefs="perCommentList" class="urceSettingsCheckbox${((perCListSettings.autoSetNewUrComment_useDefault) ? ' urceDisabled' : '')}" title="${I18n.t('urce.prefs.AutoSetNewUrCommentTitle')}" ${((perCListSettings.autoSetNewUrComment) ? 'checked="true"' : '')} ${((perCListSettings.autoSetNewUrComment_useDefault) ? 'disabled="true"' : '')}>`
            + `         <label for="_cbperCommentList_autoSetNewUrComment" title="${I18n.t('urce.prefs.AutoSetNewUrCommentTitle')}" urceprefs="perCommentList" class="URCE-label${((perCListSettings.autoSetNewUrComment_useDefault) ? ' urceDisabled' : '')}">${I18n.t('urce.prefs.AutoSetNewUrComment')}</label>`
            + '      </div>'
            + `      <input type="checkbox" style="right:1px;" id="_cbperCommentList_autoSetNewUrComment_useDefault" urceprefs="perCommentList" class="urceSettingsCheckbox" title="${I18n.t('urce.prefs.UseDefault')}" ${((perCListSettings.autoSetNewUrComment_useDefault) ? 'checked="true"' : '')}>`
            + '   </div>'
            + '   <div>'
            + '      <div style="width:calc(100% - 18px); display:inline-block">'
            + `         <input type="checkbox" id="_cbperCommentList_autoSetNewUrCommentSlur" urceprefs="perCommentList" class="urceSettingsCheckbox${((perCListSettings.autoSetNewUrCommentSlur_useDefault) ? ' urceDisabled' : '')}" title="${I18n.t('urce.prefs.AutoSetNewUrCommentSlurTitle')}" ${((perCListSettings.autoSetNewUrCommentSlur) ? 'checked="true"' : '')} ${((perCListSettings.autoSetNewUrCommentSlur_useDefault) ? 'disabled="true"' : '')}>`
            + `         <label for="_cbperCommentList_autoSetNewUrCommentSlur" title="${I18n.t('urce.prefs.AutoSetNewUrCommentSlurTitle')}" urceprefs="perCommentList" class="URCE-label${((perCListSettings.autoSetNewUrCommentSlur_useDefault) ? ' urceDisabled' : '')}">${I18n.t('urce.prefs.AutoSetNewUrCommentSlur')}</label>`
            + '      </div>'
            + `      <input type="checkbox" style="right:1px;" id="_cbperCommentList_autoSetNewUrCommentSlur_useDefault" urceprefs="perCommentList" class="urceSettingsCheckbox" title="${I18n.t('urce.prefs.UseDefault')}" ${((perCListSettings.autoSetNewUrCommentSlur_useDefault) ? 'checked="true"' : '')}>`
            + '   </div>'
            + '   <div>'
            + '      <div style="width:calc(100% - 18px); display:inline-block">'
            + `         <input type="checkbox" id="_cbperCommentList_autoSetNewUrCommentWithDescription" urceprefs="perCommentList" class="urceSettingsCheckbox${((perCListSettings.autoSetNewUrCommentWithDescription_useDefault) ? ' urceDisabled' : '')}" title="${I18n.t('urce.prefs.AutoSetNewUrCommentWithDescriptionTitle')}" ${((perCListSettings.autoSetNewUrCommentWithDescription) ? 'checked="true"' : '')} ${((perCListSettings.autoSetNewUrCommentWithDescription_useDefault) ? 'disabled="true"' : '')}>`
            + `         <label for="_cbperCommentList_autoSetNewUrCommentWithDescription" title="${I18n.t('urce.prefs.AutoSetNewUrCommentWithDescriptionTitle')}" urceprefs="perCommentList" class="URCE-label${((perCListSettings.autoSetNewUrCommentWithDescription_useDefault) ? ' urceDisabled' : '')}">${I18n.t('urce.prefs.AutoSetNewUrCommentWithDescription')}</label>`
            + '      </div>'
            + `      <input type="checkbox" style="right:1px;" id="_cbperCommentList_autoSetNewUrCommentWithDescription_useDefault" urceprefs="perCommentList" class="urceSettingsCheckbox" title="${I18n.t('urce.prefs.UseDefault')}" ${((perCListSettings.autoSetNewUrCommentWithDescription_useDefault) ? 'checked="true"' : '')}>`
            + '   </div>'
            + '   <div>'
            + '      <div style="width:calc(100% - 18px); display:inline-block">'
            + `         <input type="checkbox" id="_cbperCommentList_autoSetReminderUrComment" urceprefs="perCommentList" class="urceSettingsCheckbox${((perCListSettings.autoSetReminderUrComment_useDefault) ? ' urceDisabled' : '')}" title="${I18n.t('urce.prefs.AutoSetReminderUrCommentTitle')}" ${((perCListSettings.autoSetReminderUrComment) ? 'checked="true"' : '')} ${((perCListSettings.autoSetReminderUrComment_useDefault) ? 'disabled="true"' : '')}>`
            + `         <label for="_cbperCommentList_autoSetReminderUrComment" title="${I18n.t('urce.prefs.AutoSetReminderUrCommentTitle')}" urceprefs="perCommentList" class="URCE-label${((perCListSettings.autoSetReminderUrComment_useDefault) ? ' urceDisabled' : '')}">${I18n.t('urce.prefs.AutoSetReminderUrComment')}</label>`
            + '      </div>'
            + `      <input type="checkbox" style="right:1px;" id="_cbperCommentList_autoSetReminderUrComment_useDefault" urceprefs="perCommentList" class="urceSettingsCheckbox" title="${I18n.t('urce.prefs.UseDefault')}" ${((perCListSettings.autoSetReminderUrComment_useDefault) ? 'checked="true"' : '')}>`
            + '   </div>'
            + '</div>'
            + '<div class="URCE-controls URCE-textFirst">'
            + '   <div>'
            + '      <div style="width:calc(100% - 18px); display:inline-block">'
            + `         <div style="display:inline;" title="${I18n.t('urce.prefs.TagEmailTitle')}" class="URCE-label${((perCListSettings.tagEmail_useDefault) ? ' urceDisabled' : '')}">${I18n.t('urce.prefs.TagEmail')}:</div>`
            + `         <input type="text" id="_textperCommentList_tagEmail" class="URCE-textInput urceSettingsTextBox${((perCListSettings.tagEmail_useDefault) ? ' urceDisabled' : '')}" urceprefs="perCommentList" value="${perCListSettings.tagEmail}" title="${I18n.t('urce.prefs.TagEmailTitle')}" ${((perCListSettings.tagEmail_useDefault) ? 'disabled="true"' : '')}>`
            + '      </div>'
            + `      <input type="checkbox" style="right:1px;" id="_cbperCommentList_tagEmail_useDefault" urceprefs="perCommentList" class="urceSettingsCheckbox" title="${I18n.t('urce.prefs.UseDefault')}" ${((perCListSettings.tagEmail_useDefault) ? 'checked="true"' : '')}>`
            + '   </div>'
            + '   <div>'
            + '      <div style="width:calc(100% - 18px); display:inline-block">'
            + `         <div style="display:inline;" title="${I18n.t('urce.prefs.ReminderDaysTitle')}" class="URCE-label${((perCListSettings.reminderDays_useDefault) ? ' urceDisabled' : '')}" urceprefs="perCommentList">${I18n.t('urce.prefs.ReminderDays')}:</div>`
            + `         <input type="number" id="_numperCommentList_reminderDays" class="URCE-daysInput urceSettingsNumberBox${((perCListSettings.reminderDays_useDefault) ? ' urceDisabled' : '')}" urceprefs="perCommentList" min="0" max="9999" step="1" value="${perCListSettings.reminderDays}" title="${I18n.t('urce.prefs.ReminderDaysTitle')}" ${((perCListSettings.reminderDays_useDefault) ? 'disabled="true"' : '')}>`
            + `         <div style="display:inline;" class="URCE-label${((perCListSettings.reminderDays_useDefault) ? ' urceDisabled' : '')}" urceprefs="perCommentList">${I18n.translations[I18n.currentLocale()].common.time.days.replace(/%{days} /gi, '')}</div>`
            + '      </div>'
            + `      <input type="checkbox" style="right:1px;" id="_cbperCommentList_reminderDays_useDefault" urceprefs="perCommentList" class="urceSettingsCheckbox" title="${I18n.t('urce.prefs.UseDefault')}" ${((perCListSettings.reminderDays_useDefault) ? 'checked="true"' : '')}>`
            + '   </div>'
            + '   <div>'
            + '      <div style="width:calc(100% - 18px); display:inline-block">'
            + `         <div style="display:inline;" title="${I18n.t('urce.prefs.CloseDaysTitle')}" class="URCE-label${((perCListSettings.closeDays_useDefault) ? ' urceDisabled' : '')}" urceprefs="perCommentList">${I18n.t('urce.prefs.CloseDays')}:</div>`
            + `         <input type="number" id="_numperCommentList_closeDays" class="URCE-daysInput urceSettingsNumberBox${((perCListSettings.closeDays_useDefault) ? ' urceDisabled' : '')}" urceprefs="perCommentList" min="1" max="9999" step="1" value="${perCListSettings.closeDays}" title="${I18n.t('urce.prefs.CloseDaysTitle')}" ${((perCListSettings.closeDays_useDefault) ? 'disabled="true"' : '')}>`
            + `         <div style="display:inline;" class="URCE-label${((perCListSettings.closeDays_useDefault) ? ' urceDisabled' : '')}" urceprefs="perCommentList">${I18n.translations[I18n.currentLocale()].common.time.days.replace(/%{days} /gi, '')}</div>`
            + '      </div>'
            + `      <input type="checkbox" style="right:1px;" id="_cbperCommentList_closeDays_useDefault" urceprefs="perCommentList" class="urceSettingsCheckbox" title="${I18n.t('urce.prefs.UseDefault')}" ${((perCListSettings.closeDays_useDefault) ? 'checked="true"' : '')}>`
            + '   </div>'
            + '</div>';
    $('#URCE-divPerCommentListSettings').html(htmlOut);
    $('input[urceprefs="perCommentList"]').off().on('change', function () {
        const settingName = $(this)[0].id.replace(/(_.+perCommentList_)/gmi, '');
        if (this.type === 'checkbox') {
            _settings.perCommentListSettings[_currentCommentList][settingName] = isChecked(this);
            saveSettingsToStorage();
        }
        if (this.type === 'number') {
            const val = Math.min(9999, Math.max(0, Math.abs((parseInt(this.value) || 0))));
            if ((val !== this.value) || (_settings.perCommentListSettings[_currentCommentList][settingName] !== val)) {
                if (val !== parseInt(this.value))
                    this.value = val;
                _settings.perCommentListSettings[_currentCommentList][settingName] = val;
                saveSettingsToStorage();
                handleUrLayer('settingsToggle', null, null);
            }
        }
        if (settingName.indexOf('_useDefault') > -1) {
            if (!isChecked(this)) {
                $(this).siblings().removeClass('urceDisabled').removeAttr('disabled');
                $(this).siblings().children().removeClass('urceDisabled').removeAttr('disabled');
            }
            else {
                $(this).siblings().addClass('urceDisabled').attr('disabled', true);
                $(this).siblings().children().addClass('urceDisabled').attr('disabled', true);
            }
            const parentSettingName = settingName.replace('_useDefault', '');
            if (_settings.perCommentListSettings[_currentCommentList][parentSettingName] !== _settings[parentSettingName]) {
                _settings.perCommentListSettings[_currentCommentList][parentSettingName] = _settings[parentSettingName];
                if ($(`input[id$="${parentSettingName}"][urceprefs!="perCommentList"]`)[0].type === 'checkbox')
                    $(`#_cbperCommentList_${parentSettingName}`).prop('checked', _settings[parentSettingName]);
                else if ($(`input[id$="${parentSettingName}"][urceprefs!="perCommentList"]`)[0].type === 'number')
                    $(`#_numperCommentList_${parentSettingName}`).val(_settings[parentSettingName]);
            }
            saveSettingsToStorage();
        }
    });
}

function handleError(obj) {
    let errorText,
        outputText;
    if (obj.text && obj.text.indexOf('|') > -1) {
        if (obj.text.split('|')[0] === 'updateRequired')
            errorText = `${I18n.t('urce.prompts.UpdateRequired')}: ${obj.text.split('|')[1]}`;
        outputText = errorText;
    }
    else {
        errorText = obj.text;
        outputText = (obj.commentList === 1001) ? I18n.t('urce.prompts.CustomGSheetLoadError') : I18n.t('urce.common.ErrorGeneric');
    }
    logError(new Error(errorText));
    _currentCommentList = null;
    if (obj.phase === 'changeList') {
        if (obj.staticList) {
            outputText += `\n\n${I18n.t('urce.common.Type')}: ${I18n.t('urce.common.Static')}`;
        }
        else if (obj.commentList) {
            const commentListInfo = getCommentListInfo(obj.commentList);
            outputText += `\n\n${I18n.t('urce.common.CommentList')}: ${commentListInfo.name}`
                + `\n${I18n.t('urce.common.ListOwner')}: ${commentListInfo.listOwner}`;
        }
    }
    $('#_commentList').empty();
    $('#_commentList').append(
        $('<div>', { class: 'URCE-divLoading' }).html(outputText)
    );
    WazeWrap.Alerts.error(SCRIPT_NAME, outputText);
    maskBoxes(null, true, obj.phase, obj.maskUrPanel);
}

async function initBackgroundTasks(status, phase) {
    logDebug(`${((status === 'enable') ? 'Initializing' : 'Uninitializing')} background tasks.`);
    if (status === 'enable') {
        logDebug('Setting event listeners for UR markers.');
        $(W.map.updateRequestLayer.div)
            .off('click', '.map-problem.user-generated', handleUrMarkerClick)
            .on('click', '.map-problem.user-generated', handleUrMarkerClick)
            .off('mouseover', '.map-problem.user-generated', markerMouseOver)
            .on('mouseover', '.map-problem.user-generated', markerMouseOver)
            .off('mouseout', '.map-problem.user-generated', markerMouseOut)
            .on('mouseout', '.map-problem.user-generated', markerMouseOut);
        if (phase !== 'overflow') {
            try {
                _initialUrLayerScan = true;
                await handleUrLayer('init', null, null);
                _initialUrLayerScan = false;
            }
            catch (error) {
                logWarning(error); // Don't need to return here, go ahead and setup the MOs.
            }
        }
        if (!_saveButtonObserver.isObserving || !_urPanelContainerObserver.isObserving || !_urMarkerObserver.isObserving) {
            logDebug('Enabling MOs.');
            if (!_saveButtonObserver.isObserving) {
                _saveButtonObserver.observe(document.getElementById('toolbar'), {
                    childList: true, attributes: true, attributeOldValue: true, characterData: true, characterDataOldValue: true, subtree: true
                });
                _saveButtonObserver.isObserving = true;
            }
            if (!_urPanelContainerObserver.isObserving) {
                _urPanelContainerObserver.observe(document.getElementById('panel-container'), {
                    childList: true, attributes: true, attributeOldValue: true, characterData: true, characterDataOldValue: true, subtree: true
                });
                _urPanelContainerObserver.isObserving = true;
            }
            if (!_urMarkerObserver.isObserving) {
                _urMarkerObserver.observe(W.map.updateRequestLayer.div, {
                    childList: true, attributes: true, attributeOldValue: true, characterData: true, characterDataOldValue: true, subtree: true
                });
                _urMarkerObserver.isObserving = true;
            }
        }
        logDebug('Registering event hooks.');
        WazeWrap.Events.register('zoomend', null, invokeZoomEnd);
        WazeWrap.Events.register('moveend', null, invokeMoveEnd);
        W.map.events.registerPriority('mousedown', null, mouseDown);
        WazeWrap.Events.register('mouseup', null, mouseUp);
        WazeWrap.Events.register('change:mode', null, invokeModeChange);
        WazeWrap.Events.register('change:isImperial', null, invokeModeChange);
        W.model.states.on('objectsadded', checkRestrictions);
        W.model.countries.on('objectsadded', checkRestrictions);
        if ((_gapiAuth2 === undefined) && (phase !== 'overflow')) {
            logDebug('Initializing gapi.');
            gapi.load('client:auth2', () => {
                gapi.client.init({
                    apiKey: URCE_API_KEY,
                    discoveryDocs: ['https://www.googleapis.com/discovery/v1/apis/drive/v3/rest', 'https://sheets.googleapis.com/$discovery/rest?version=v4'],
                    clientId: '309982510721-gsu1aodqc5upc6aolkq3m1f0c2dll6kp.apps.googleusercontent.com',
                    scope: 'https://www.googleapis.com/auth/drive.file https://www.googleapis.com/auth/drive.readonly'
                }).then(() => {
                    _gapiAuth2 = gapi.auth2.getAuthInstance();
                    _gapiAuth2.isSignedIn.listen(updateGapiSigninStatus);
                    _gapiUser = _gapiAuth2.currentUser.get();
                    setGapiSigninStatus();
                    $('#gapiSignInOutButton').off().on('click', () => {
                        if (_gapiAuth2.isSignedIn.get())
                            _gapiAuth2.signOut();
                        else
                            _gapiAuth2.signIn();
                    });
                    $('#gapiRevokeAccessButton').off().on('click', () => {
                        _gapiAuth2.disconnect();
                    });
                }).catch(error => {
                    logError(error);
                });
            });
        }
    }
    else if (status === 'disable') {
        if (_saveButtonObserver.isObserving || _urPanelContainerObserver.isObserving || _urMarkerObserver.isObserving) {
            logDebug('Disabling MOs.');
            if (_saveButtonObserver.isObserving) {
                _saveButtonObserver.disconnect();
                _saveButtonObserver.isObserving = false;
            }
            if (_urPanelContainerObserver.isObserving) {
                _urPanelContainerObserver.disconnect();
                _urPanelContainerObserver.isObserving = false;
            }
            if (_urMarkerObserver.isObserving) {
                _urMarkerObserver.disconnect();
                _urMarkerObserver.isObserving = false;
            }
        }
        logDebug('Disabling event listeners for UR markers.');
        $(W.map.updateRequestLayer.div)
            .off('click', '.map-problem.user-generated', handleUrMarkerClick)
            .off('mouseover', '.map-problem.user-generated', markerMouseOver)
            .off('mouseout', '.map-problem.user-generated', markerMouseOut);
        logDebug('Unregistering map.events event hook.');
        WazeWrap.Events.unregister('zoomend', null, invokeZoomEnd);
        WazeWrap.Events.unregister('moveend', null, invokeMoveEnd);
        W.map.events.unregister('mousedown', null, mouseDown);
        WazeWrap.Events.unregister('mouseup', null, mouseUp);
        W.model.states.off('objectsadded', checkRestrictions);
        W.model.countries.off('objectsadded', checkRestrictions);
    }
    return new Promise(resolve => { resolve({ error: false }); });
}

function injectCss() {
    logDebug('Injecting CSS.');
    $('<style = type="text/css">'
        // Comments tab
        + '#sidepanel-urc-e #panel-urce-comments .URCE-Comments { text-decoration:none; cursor:pointer; color: #000000; font-size:12px; }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-commentListName { padding-left:12px; font-size:11px; }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-divLoading { text-align:left; color:red; font-size:12px; }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-divCCLinks { text-align:center; }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-divIcon { height:0px; position:relative; top:-3px; left:-100px; }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-icon { cursor:default; }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-divComment { padding:0px 4px 0px 4px; }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-divComment:before, #sidepanel-urc-e #panel-urce-comments .URCE-divComment.hover:after { '
        + '     content:""; position:absolute; bottom:-2px; width:0px; height:2px; transition:all 0.2s ease-in-out; transition-duration:0.5s; opacity:0;'
        + '}'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-divComment.hover.expand.URCE-openLink:before { left:calc(50%); background-color:#000000; margin-right:5px; }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-divComment.hover.expand.URCE-openLink:after { right:calc(50%); background-color:#000000; }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-divComment.hover.expand.URCE-solvedLink:before { left:calc(50%); background-color:#008F00; margin-right:5px; }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-divComment.hover.expand.URCE-solvedLink:after { right:calc(50%); background-color:#008F00;}'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-divComment.hover.expand.URCE-niLink:before { left:calc(50%); background-color:#E68A00; margin-right:5px; }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-divComment.hover.expand.URCE-niLink:after { right:calc(50%); background-color:#E68A00; }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-divComment.hover:hover { cursor:pointer; }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-divComment.hover.URCE-blankLine:hover { cursor:default; }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-divComment:hover:after { width:100%; opacity:1; }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-divComment:hover:before { width:100%; opacity:1; margin-right:5px; }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-divComment.hover:hover.expand:after { width:50%; }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-divComment.hover:hover.expand:before { width:50%; margin-right:5px; }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-solvedLink { color:#008F00; }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-niLink { color:#E68A00; }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-openLink { color:#000000; }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-doubleClickIcon { padding-top:4px; height:16px; float:right; }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-divDoubleClick { display:inline; }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-span { cursor:pointer; }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-group_body.urStyle { padding-left:23px !important; }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-controls input[type="checkbox"] { margin:2px; vertical-align:middle; cursor:pointer; position:absolute }'
        + '#sidepanel-urc-e #panel-urce-comments .URCE-controls label { font-weight:normal; cursor:pointer; display:inline-block; position:relative; padding-left:16px; }'
        // Settings tab
        + '#sidepanel-urc-e #panel-urce-settings .URCE-divDefaultSettings {'
        + '     background-color:lightgray; border-top:1px solid gray; border-bottom:1px solid gray; margin-top:8px; text-align:center; font-size:12px; font-weight:600; width:286px;'
        + '     text-transform:uppercase;'
        + '}'
        + '#sidepanel-urc-e #panel-urce-settings .URCE-divWarningPre { margin-left:3px; }'
        + '#sidepanel-urc-e #panel-urce-settings .URCE-divWarning { display:inline; }'
        + '#sidepanel-urc-e #panel-urce-settings .URCE-divWarningTitle { color:red; text-decoration:underline; }'
        + '#sidepanel-urc-e #panel-urce-settings .URCE-daysInput { width:38px; height:20px; }'
        + '#sidepanel-urc-e #panel-urce-settings .URCE-textInput { width:175px; height:20px; }'
        + '#sidepanel-urc-e #panel-urce-settings .URCE-span { font-size:12px; text-transform:uppercase; cursor:pointer; }'
        + '#sidepanel-urc-e #panel-urce-settings .URCE-controls { padding:5px 0 5px 0; font-size:11px;}'
        + '#sidepanel-urc-e #panel-urce-settings .URCE-controls .URCE-subHeading { font-weight:600; }'
        + '#sidepanel-urc-e #panel-urce-settings .URCE-controls .URCE-textFirst, .URCE-controls.URCE-textFirst { padding:0 0 0 16px !important; }'
        + '#sidepanel-urc-e #panel-urce-settings .URCE-controls .URCE-textFirst.urceDisabled, .URCE-controls.URCE-textFirst.urceDisabled, div.URCE-label.urceDisabled { color:#808080; }'
        + '#sidepanel-urc-e #panel-urce-settings .URCE-controls .URCE-divDaysInline { display:inline; padding-left:3px; }'
        + '#sidepanel-urc-e #panel-urce-settings .URCE-controls .URCE-divDaysInline.urceDisabled { display:inline; padding-left:2px; cursor:default; color:#808080; }'
        + '#sidepanel-urc-e #panel-urce-settings .URCE-controls input[type="checkbox"] { margin:2px; vertical-align:middle; cursor:pointer; position:absolute }'
        + '#sidepanel-urc-e #panel-urce-settings .URCE-controls input[type="checkbox"][disabled] { margin:2px; vertical-align:middle; cursor:default; position:absolute; }'
        + '#sidepanel-urc-e #panel-urce-settings .URCE-controls select { height:22px; vertical-align:middle; }'
        + '#sidepanel-urc-e #panel-urce-settings .URCE-controls label { font-weight:normal; cursor:pointer; display:inline-block; position:relative; padding-left:16px; }'
        + '#sidepanel-urc-e #panel-urce-settings .URCE-controls label.urceDisabled { font-weight:normal; cursor:default; color:#808080;  display:inline-block; position:relative; padding-left:16px; }'
        + '#sidepanel-urc-e #panel-urce-settings .URCE-spreadsheetLink { font-size:11px; text-align:right; }'
        // Tools tab
        + '#sidepanel-urc-e #panel-urce-tools .URCE-divCC { text-align:center; }'
        + '#sidepanel-urc-e #panel-urce-tools .URCE-span { font-size:12px; text-transform:uppercase; cursor:pointer; }'
        + '#sidepanel-urc-e #panel-urce-tools .urceToolsButton {'
        + '     font-size:11px; margin-left:10px; background-color:lightgray; border:none; cursor:default; height:18px; border-radius:4px; border:1px solid gray;'
        + '}'
        + '#sidepanel-urc-e #panel-urce-tools .urceToolsButtonFile {'
        + '     font-size:11px; background-color:lightgray; border:1px solid gray; cursor:default; height:18px; margin-top:6px; border-radius:4px;'
        + '}'
        + '#sidepanel-urc-e #panel-urce-tools .urceToolsButton.active, .urceToolsButtonFile:hover, .urceToolsButton:hover { background-color:gray !important; }'
        + '#sidepanel-urc-e #panel-urce-tools .URCE-divRestoreFileError { font-weight:600; margin:6px; font-size:11px; text-align:left; }'
        + '#sidepanel-urc-e #panel-urce-tools #URCE-divCustomGoogleSheetInfoBox { text-align:left; margin-top:10px; border-top:1px solid black; padding:10px 0 10px 0; }'
        + '#sidepanel-urc-e #panel-urce-tools #urceGSheetCreateConvert { margin-top:5px; }'
        // Common
        + '#sidepanel-urc-e .URCE-divDismiss {'
        + '     display:inline-block; float:right; width:16px; height:16px; margin-top:-12px; border-radius:50%; border:1px solid black; background-color:white; text-align:center; cursor:pointer;'
        + '}'
        + '#sidepanel-urc-e .URCE-divWarningBox { background-color:indianred; border:1px solid silver; margin:6px 0 6px 0; font-size:12px; border-radius:4px; padding:5px; font-weight:600; }'
        + '#sidepanel-urc-e .URCE-expandCollapseAll { font-size:10px; margin-bottom:-8px; text-align:right; }'
        + '#sidepanel-urc-e .URCE-expandCollapseAllItem { display:inline; cursor:pointer; }'
        + '#sidepanel-urc-e .URCE-chevron { cursor:pointer; font-size:12px; margin-right:4px; }'
        + '#sidepanel-urc-e .URCE-field { border:1px solid silver; padding:5px; border-radius:4px; -webkit-padding-before:0; width:286px; }'
        + '#sidepanel-urc-e .URCE-field.urStyle { border:unset !important; padding:unset !important; border-radius:unset !important; }'
        + '#sidepanel-urc-e .URCE-legend { margin-bottom:0px; border-bottom-style:none; width:auto; }'
        + '#sidepanel-urc-e .URCE-legend.urStyle {'
        + '     border-bottom-style:unset !important; margin-bottom:2px !important; width:100% !important; background-color:#F6F7F7 !important; line-height:20px !important;'
        + '     padding:0 2px 0 2px !important; border-top:1px solid #C0C0C0 !important; border-bottom:1px solid #C0C0C0 !important;'
        + '}'
        + '#sidepanel-urc-e .URCE-divCC { /* padding-top:2px !important; */ }'
        + '#sidepanel-urc-e .URCE-label { white-space:pre-line; margin:0 0 0 0; }'
        + '#sidepanel-urc-e .URCE-span { font-size:13px; font-weight:600; }'
        + '#sidepanel-urc-e .URCE-spanTitle { font-size:13px; font-weight:600; }'
        + '#sidepanel-urc-e .URCE-spanVersion { font-size:11px; margin-left:11px; color:#000000; }'
        + '#sidepanel-urc-e .URCE-divTabs { padding:8px; padding-top:2px; }'
        // Main Tabs
        + '.URCE-tabIcon { padding-bottom:6px; width:18px; }'
        // urceDiv
        + '#urceDiv { position:absolute; visibility:hidden; top:0; left:0; z-index:15000; background-color:aliceBlue; border-width:3px; border-style:solid; border-radius:10px;'
        + '     box-shadow:5px 5px 10px silver; padding:4px;'
        + '}'
        + '#urceDiv hr { border-top:1px solid #000000; }'
        // UR Panel Manipulation
        + '#panel-container .mapUpdateRequest.panel { width:290px; }'
        // Map content
        + '.urceCountersPill { color:black; position:absolute; top:30px; display:block; width:auto; white-space:nowrap; padding-left:5px; padding-right:5px; border:1px solid; border-radius:25px; }'
        + '</style>').appendTo('head');
}

function initCommentsTab() {
    logDebug('Initializing Comments tab.');
    $('#panel-urce-comments').empty().append(
        $('<div>', { id: '_divZoomOutLinks', class: 'URCE-divCCLinks', style: ((_settings.hideZoomOutLinks) ? 'display: none;' : '') }).append(
            $('<div>', { id: 'urceIcon', class: 'URCE-divIcon' }).append(
                $('<img>', { src: GM_info.script.icon, class: 'URCE-icon' })
            ),
            $('<a>', {
                id: 'zoomOutLink1', class: 'URCE-Comments', zoomTo: 0, title: I18n.t('urce.commentsTab.ZoomOutLink1Title')
            }).text(I18n.t('urce.commentsTab.ZoomOutLink1')).append('<br>'),
            $('<a>', {
                id: 'zoomOutLink2', class: 'URCE-Comments', zoomTo: 2, title: I18n.t('urce.commentsTab.ZoomOutLink2Title')
            }).text(I18n.t('urce.commentsTab.ZoomOutLink2')).append('<br>'),
            $('<a>', {
                id: 'zoomOutLink3', class: 'URCE-Comments', zoomTo: 3, title: I18n.t('urce.commentsTab.ZoomOutLink3Title')
            }).text(I18n.t('urce.commentsTab.ZoomOutLink3')).append('<br>')
        ),
        $('<div>', { id: '_commentList', class: 'URCE-divCC' })
    );
    $('a[id^="zoomOutLink"]').off().on('click', function () {
        if ($('#panel-container .mapUpdateRequest .top-section .close-panel').length > 0)
            autoCloseUrPanel();
        W.map.setCenter(W.map.getCenter(), parseInt(this.getAttribute('zoomTo')));
    });
    if (_needTranslation) {
        alertBanner(`URC-E does not currently have a translation for your WME Language Setting (<i>${I18n.currentLocale()}</i>). Translations are setup on a Google Sheet, so they are simple to do.<br><br>If you would like to provide a translation for your WME Language Setting (<i>${I18n.currentLocale()}</i>), please contact ${SCRIPT_AUTHOR} via forum PM or Discord, or click reply on the forum thread:<br><a href="https://www.waze.com/forum/viewtopic.php?f=819&t=275608#p1920278" target="_blank">https://www.waze.com/forum/viewtopic.php?f=819&t=275608#p1920278</a>`,
            false, true, null, true, 9998);
    }
}

function initToolsTab() {
    logDebug('Initializing Tools tab.');
    const urStyle = (_settings.commentListStyle === 'urStyle') ? ' urStyle' : '';
    $('#panel-urce-tools').empty().append(
        $('<div>', { id: 'expandCollapseAll', class: 'URCE-expandCollapseAll' }).append(
            $('<div>', { class: 'URCE-expandCollapseAllItem' }).text(I18n.t('urce.common.ExpandAll')).off().on('click', () => {
                const $legends = $('legend[id^="urce-tools-legend"');
                for (let idx = 0; idx < $legends.length; idx++) {
                    if ($legends[idx].nextSibling.className.indexOf('collapse') > -1)
                        $($legends[idx]).click();
                }
            }),
            $('<div>', { style: 'display:inline;' }).text(' : '),
            $('<div>', { class: 'URCE-expandCollapseAllItem' }).text(I18n.t('urce.common.CollapseAll')).off().on('click', () => {
                const $legends = $('legend[id^="urce-tools-legend"');
                for (let idx = 0; idx < $legends.length; idx++) {
                    if ($legends[idx].nextSibling.className.indexOf('collapse') === -1)
                        $($legends[idx]).click();
                }
            })
        ),
        // Tools
        $('<fieldset>', { id: 'urce-tools-fieldset-settings', class: `URCE-field${urStyle}` }).append(
            $('<legend>', { id: 'urce-tools-legend-settings', class: `URCE-legend${urStyle}` }).append(
                $('<i>', { class: 'fa fa-fw fa-chevron-down URCE-chevron' }),
                $('<span>', { class: 'URCE-span' }).text(I18n.t('urce.tabs.Settings'))
            ).click(function () {
                $($(this).children()[0]).toggleClass('fa fa-fw fa-chevron-down');
                $($(this).children()[0]).toggleClass('fa fa-fw fa-chevron-right');
                $($(this).siblings()[0]).toggleClass('collapse');
            }),
            $('<div>', { class: 'URCE-controls URCE-divCC' }).append(
                $('<button>', {
                    id: '_butbackupSettings', urceprefs: 'tools', class: 'urceToolsButton', title: I18n.t('urce.tools.BackupSettingsTitle')
                }).text(I18n.t('urce.common.Backup')).on('click', () => {
                    saveSettingsToStorage();
                    const a = document.createElement('a');
                    a.href = URL.createObjectURL(new Blob([JSON.stringify({ URCE: _settings })], { type: 'application/json' }));
                    a.download = `urce-settings-v${SCRIPT_VERSION}.json`;
                    a.click();
                    $(a).remove();
                }),
                $('<button>', {
                    id: '_butrestoreSettings', urceprefs: 'tools', class: 'urceToolsButton', title: I18n.t('urce.tools.RestoreSettingsTitle')
                }).text(I18n.t('urce.common.Restore')).on('click', function () {
                    if (this.className.indexOf('active') === -1) {
                        $(this).addClass('active');
                        $('#urceRestoreSettingsFile').show();
                    }
                    else {
                        $(this).removeClass('active');
                        $('#_filerestoreSettings').val('');
                        $('#urceRestoreSettingsFile').hide().removeClass('error');
                        $('#urceRestoreSettingsFileError').empty();
                    }
                }),
                $('<button>', {
                    id: '_butresetSettings', urceprefs: 'tools', class: 'urceToolsButton', title: I18n.t('urce.tools.ResetSettingsTitle')
                }).text(I18n.t('urce.common.Reset')).on('click', () => {
                    WazeWrap.Alerts.confirm(
                        SCRIPT_NAME,
                        I18n.t('urce.prompts.ResetSettingsConfirmation'),
                        () => { loadSettingsFromStorage('resetSettings', true); },
                        () => { },
                        I18n.t('urce.common.Yes'),
                        I18n.t('urce.common.No')
                    );
                }),
                $('<div>', { id: 'urceRestoreSettingsFile', style: 'display:none;' }).append(
                    $('<input>', {
                        type: 'file', id: '_filerestoreSettings', urceprefs: 'tools', class: 'urceToolsButtonFile', title: I18n.t('urce.tools.RestoreSettingsSelectFileTitle')
                    }).on('change', function () {
                        const file = this.files[0];
                        if (((file.type === 'application/json') || (file.type === 'text/json')) && (file.size < 102400)) {
                            const reader = new FileReader();
                            reader.onload = function () {
                                let restoreSettings;
                                try {
                                    restoreSettings = $.parseJSON(this.result);
                                }
                                catch (error) {
                                    logError(error);
                                    logError(new Error('Unable to parse the input file.'));
                                    return $('#_filerestoreSettings').val('');
                                }
                                if (!restoreSettings.hasOwnProperty('URCE')) {
                                    logWarning('Invalid URCE settings JSON file.');
                                    $('#urceRestoreSettingsFileError').show();
                                    $('#urceRestoreSettingsFile').addClass('error');
                                }
                                else {
                                    loadSettingsFromStorage(restoreSettings.URCE);
                                }
                                return true;
                            };
                            reader.readAsText(file);
                        }
                        else {
                            logWarning('Invalid URCE settings JSON file.');
                            $('#urceRestoreSettingsFileError').show();
                            $('#urceRestoreSettingsFile').addClass('error');
                        }
                    }),
                    $('<div>', { id: 'urceRestoreSettingsFileError', class: 'URCE-divRestoreFileError error', style: 'display:none;' }).html(`* ${I18n.t('urce.tools.RestoreSettingsFileError')}`)
                )
            )
        ),
        $('<fieldset>', { id: 'urce-tools-fieldset-customGoogleSpreadsheet', class: `URCE-field${urStyle}` }).append(
            $('<legend>', { id: 'urce-tools-legend-customGoogleSpreadsheet', class: `URCE-legend${urStyle}` }).append(
                $('<i>', { class: 'fa fa-fw fa-chevron-down URCE-chevron' }),
                $('<span>', { class: 'URCE-span' }).text(I18n.t('urce.tools.CustomGoogleSpreadsheet'))
            ).click(function () {
                $($(this).children()[0]).toggleClass('fa fa-fw fa-chevron-down');
                $($(this).children()[0]).toggleClass('fa fa-fw fa-chevron-right');
                $($(this).siblings()[0]).toggleClass('collapse');
            }),
            $('<div>', { class: 'URCE-controls URCE-divCC' }).append(
                $('<div>').append(
                    $('<button>', { id: 'gapiSignInOutButton', class: 'urceToolsButton', title: I18n.t('urce.tools.CustomGoogleSheetSignInTitle') }).text(I18n.t('urce.tools.CustomGoogleSheetSignIn')),
                    $('<button>', {
                        id: 'gapiRevokeAccessButton', class: 'urceToolsButton', title: I18n.t('urce.tools.CustomGoogleSheetRevokeAccessTitle'), style: 'display:none;'
                    }).text(I18n.t('urce.tools.CustomGoogleSheetRevokeAccess'))
                ),
                $('<div>', { id: 'urceGSheetCreateConvert', urceprefs: 'tools', display: 'none' }).append(
                    $('<button>', {
                        id: '_butconvertCurrentCustom', urceprefs: 'tools', class: 'urceToolsButton', title: I18n.t('urce.tools.ConvertCurrentCustomTitle')
                    }).text(I18n.t('urce.tools.ConvertCurrentCustom')).on('click', () => {
                        createStaticToGoogleSheet(true);
                    }),
                    $('<button>', {
                        id: '_butcreateNewCustom', urceprefs: 'tools', class: 'urceToolsButton', title: I18n.t('urce.tools.CreateNewCustomTitle')
                    }).text(I18n.t('urce.tools.CreateNewCustom')).on('click', () => {
                        createStaticToGoogleSheet(false);
                    })
                ),
                $('<div>', { id: 'URCE-divCustomGoogleSheetInfoBox', style: 'text-align:left; margin-top:10px;' }).html(I18n.t('urce.tools.CustomGoogleSheetInfoBox'))
            )
        )
    );
}

function initSettingsTab() {
    logDebug('Initializing Settings tab.');
    const urStyle = (_settings.commentListStyle === 'urStyle') ? ' urStyle' : '',
        inverted = (_settings.invertFilters) ? 'Inverted' : '';
    $('#panel-urce-settings').empty().append(
        $('<div>', { id: 'expandCollapseAll', class: 'URCE-expandCollapseAll' }).append(
            $('<div>', { class: 'URCE-expandCollapseAllItem' }).text(I18n.t('urce.common.ExpandAll')).off().on('click', () => {
                const $legends = $('legend[id^="urce-prefs-legend"');
                for (let idx = 0; idx < $legends.length; idx++) {
                    if ($legends[idx].nextSibling.className.indexOf('collapse') > -1)
                        $($legends[idx]).click();
                }
            }),
            $('<div>', { style: 'display:inline;' }).text(' : '),
            $('<div>', { class: 'URCE-expandCollapseAllItem' }).text(I18n.t('urce.common.CollapseAll')).off().on('click', () => {
                const $legends = $('legend[id^="urce-prefs-legend"');
                for (let idx = 0; idx < $legends.length; idx++) {
                    if ($legends[idx].nextSibling.className.indexOf('collapse') === -1)
                        $($legends[idx]).click();
                }
            })
        ),
        // Comment List
        $('<fieldset>', { id: 'urce-prefs-fieldset-commentList', class: `URCE-field${urStyle}` }).append(
            $('<legend>', { id: 'urce-prefs-legend-commentList', class: `URCE-legend${urStyle}` }).append(
                $('<i>', { class: 'fa fa-fw fa-chevron-down URCE-chevron' }),
                $('<span>', { class: 'URCE-span' }).text(I18n.t('urce.common.CommentList'))
            ).click(function () {
                $($(this).children()[0]).toggleClass('fa fa-fw fa-chevron-down');
                $($(this).children()[0]).toggleClass('fa fa-fw fa-chevron-right');
                $($(this).siblings()[0]).toggleClass('collapse');
            }),
            $('<div>', { class: 'URCE-controls URCE-divCC' }).append(
                // Comment list
                $('<div>').text(`${I18n.t('urce.prefs.DefaultList')}: `).append(() => {
                    const $selList = $('<select>', { id: '_selCommentList', title: I18n.t('urce.prefs.DefaultListTitle'), urceprefs: 'commentList' });
                    _commentLists.forEach(cList => {
                        if (cList.status !== 'disabled') {
                            if (cList.idx === _settings.commentList)
                                $selList.append($('<option>', { value: cList.idx, selected: true }).text(cList.name));
                            else
                                $selList.append($('<option>', { value: cList.idx }).text(cList.name));
                        }
                    });
                    return $selList.val(_settings.commentList).off().on('change', function () {
                        if ((parseInt(this.value) === 1001) && (!_settings.customSsId || (_settings.customSsId.length < 1))) {
                            $(this).val(_currentCommentList);
                            WazeWrap.Alerts.error(SCRIPT_NAME, I18n.t('urce.prompts.SetCustomSsIdFirst'));
                        }
                        else {
                            changeCommentList(parseInt(this.value), false, false);
                        }
                    });
                }),
                $('<div>').text(`${I18n.t('urce.prefs.CustomSsId')}: `).append(
                    $('<input>', {
                        type: 'text',
                        id: '_textcustomSsId',
                        class: 'URCE-textInput urceSettingsTextBox',
                        urceprefs: 'commentList',
                        value: _settings.customSsId,
                        title: I18n.t('urce.prefs.CustomSsIdTitle'),
                        style: 'width:100px; margin-left:5px;'
                    })
                ),
                // Comment list style
                $('<div>').text(`${I18n.t('urce.common.Style')}: `).append(() => {
                    const $selList = $('<select>', { id: '_selCommentListStyle', title: I18n.t('urce.prefs.CommentListStyleTitle'), urceprefs: 'commentList' });
                    let defaultSelected = false,
                        urStyleSelected = false;
                    if (_settings.commentListStyle === 'default')
                        defaultSelected = true;
                    $selList.append(
                        $('<option>', { value: 'default' }).prop('selected', defaultSelected).text(I18n.t('urce.prefs.StyleDefault'))
                    );
                    if (_settings.commentListStyle === 'urStyle')
                        urStyleSelected = true;
                    $selList.append(
                        $('<option>', { value: 'urStyle' }).prop('selected', urStyleSelected).text(I18n.t('urce.prefs.StyleUrStyle'))
                    );
                    $selList.off().on('change', function () {
                        changeCommentListStyle(this.value);
                    });
                    return $selList;
                }),
                $('<input>', {
                    type: 'checkbox', id: '_cbautoSwitchCommentList', urceprefs: 'commentList', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.AutoSwitchCommentListTitle')
                }).prop('checked', _settings.autoSwitchCommentList),
                $('<label>', { for: '_cbautoSwitchCommentList', title: I18n.t('urce.prefs.AutoSwitchCommentListTitle'), class: 'URCE-label' }).text(I18n.t('urce.prefs.AutoSwitchCommentList')),
                $('<div>', { id: 'urceSpreadsheetLinks' }).append(
                    $('<div>', { class: 'URCE-spreadsheetLink', id: 'urceSpreadsheetLinkDiv' }).append(
                        $('<a>', {
                            class: 'URCE-Controls URCE-spreadsheetLink', id: 'urce-spreadsheet-link', title: I18n.t('urce.prefs.SpreadsheetLinkTitle'), href: 'http://bit.ly/urc-e_ss'
                        }).text(I18n.t('urce.prefs.SpreadsheetLink')).click(function (e) {
                            e.preventDefault();
                            e.stopPropagation();
                            window.open(this.href, '_blank');
                        })
                    ),
                    ((_settings.customSsId && (_settings.customSsId.length > 0))
                        ? $('<div>', { class: 'URCE-spreadsheetLink', id: 'urceCustomSpreadsheetLinkDiv' }).append(
                            $('<a>', {
                                class: 'URCE-Controls URCE-spreadsheetLink', id: 'urce-customSpreadsheet-link', title: I18n.t('urce.prefs.CustomSpreadsheetLinkTitle'), href: `https://docs.google.com/spreadsheets/d/${_settings.customSsId}/edit`
                            }).text(I18n.t('urce.prefs.CustomSpreadsheetLink')).click(function (e) {
                                e.preventDefault();
                                e.stopPropagation();
                                window.open(this.href, '_blank');
                            })
                        )
                        : ''
                    )
                )
            )
        ),
        // Per Comment List Settings Settings
        $('<fieldset>', { id: 'urce-prefs-fieldset-perCommentListSettings', class: `URCE-field${urStyle}` }).append(
            $('<legend>', { id: 'urce-prefs-legend-perCommentListSettings', class: `URCE-legend${urStyle}` }).append(
                $('<i>', { class: 'fa fa-fw fa-chevron-down URCE-chevron' }),
                $('<span>', { class: 'URCE-span' }).text(I18n.t('urce.prefs.PerCommentListSettings'))
            ).click(function () {
                $($(this).children()[0]).toggleClass('fa fa-fw fa-chevron-down');
                $($(this).children()[0]).toggleClass('fa fa-fw fa-chevron-right');
                $($(this).siblings()[0]).toggleClass('collapse');
            }),
            $('<div>', { id: 'URCE-divPerCommentListSettings' })
        ),
        // URC-E Master Settings
        $('<fieldset>', { id: 'urce-prefs-fieldset-urc-e-prefs', class: `URCE-field${urStyle}` }).append(
            $('<legend>', { id: 'urce-prefs-legend-urc-e-prefs', class: `URCE-legend${urStyle}` }).append(
                $('<i>', { class: 'fa fa-fw fa-chevron-down URCE-chevron' }),
                $('<span>', { class: 'URCE-span' }).text(I18n.t('urce.prefs.UrcePrefs'))
            ).click(function () {
                $($(this).children()[0]).toggleClass('fa fa-fw fa-chevron-down');
                $($(this).children()[0]).toggleClass('fa fa-fw fa-chevron-right');
                $($(this).siblings()[0]).toggleClass('collapse');
            }),
            $('<div>', { class: 'URCE-controls URCE-divCC' }).append(
                $('<input>', {
                    type: 'checkbox', id: '_cbautoCenterOnUr', urceprefs: 'urce', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.AutoCenterOnUrTitle')
                }).prop('checked', _settings.autoCenterOnUr),
                $('<label>', { for: '_cbautoCenterOnUr', title: I18n.t('urce.prefs.AutoCenterOnUrTitle'), class: 'URCE-label' }).text(I18n.t('urce.prefs.AutoCenterOnUr')),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbautoClickOpenSolvedNi', urceprefs: 'urce', title: I18n.t('urce.prefs.AutoClickOpenSolvedNiTitle')
                }).off().on('change', function () {
                    _settings.autoClickOpenSolvedNi = isChecked(this);
                    if (!_settings.autoClickOpenSolvedNi) {
                        if (isChecked('#_cbautoSaveAfterSolvedOrNiComment')) {
                            _settings.autoSaveAfterSolvedOrNiComment = false;
                            $('#_cbautoSaveAfterSolvedOrNiComment').prop('checked', false);
                        }
                        if (isChecked('#_cbdoubleClickLinkNiComments')) {
                            _settings.doubleClickLinkNiComments = false;
                            $('#_cbdoubleClickLinkNiComments').prop('checked', false);
                        }
                        if (isChecked('#_cbdoubleClickLinkOpenComments')) {
                            _settings.doubleClickLinkOpenComments = false;
                            $('#_cbdoubleClickLinkOpenComments').prop('checked', false);
                        }
                        if (isChecked('#_cbdoubleClickLinkSolvedComments')) {
                            _settings.doubleClickLinkSolvedComments = false;
                            $('#_cbdoubleClickLinkSolvedComments').prop('checked', false);
                        }
                    }
                    saveSettingsToStorage();
                }).prop('checked', _settings.autoClickOpenSolvedNi),
                $('<label>', { for: '_cbautoClickOpenSolvedNi', title: I18n.t('urce.prefs.AutoClickOpenSolvedNiTitle'), class: 'URCE-label' }).text(I18n.t('urce.prefs.AutoClickOpenSolvedNi')),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbautoCloseUrPanel', urceprefs: 'urce', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.AutoCloseUrPanelTitle')
                }).prop('checked', _settings.autoCloseUrPanel),
                $('<label>', { for: '_cbautoCloseUrPanel', title: I18n.t('urce.prefs.AutoCloseUrPanelTitle'), class: 'URCE-label' }).text(I18n.t('urce.prefs.AutoCloseUrPanel')),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbautoSaveAfterSolvedOrNiComment', urceprefs: 'urce', title: I18n.t('urce.prefs.AutoSaveAfterSolvedOrNiCommentTitle')
                }).off().on('change', function () {
                    _settings.autoSaveAfterSolvedOrNiComment = isChecked(this);
                    if (_settings.autoClickOpenSolvedNi && !isChecked('#_cbautoClickOpenSolvedNi')) {
                        _settings.autoClickOpenSolvedNi = true;
                        $('#_cbautoClickOpenSolvedNi').prop('checked', true);
                    }
                    saveSettingsToStorage();
                }).prop('checked', _settings.autoSaveAfterSolvedOrNiComment),
                $('<label>', {
                    for: '_cbautoSaveAfterSolvedOrNiComment', title: I18n.t('urce.prefs.AutoSaveAfterSolvedOrNiCommentTitle'), class: 'URCE-label'
                }).text(I18n.t('urce.prefs.AutoSaveAfterSolvedOrNiComment')),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbautoSendReminders', urceprefs: 'urce', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.AutoSendRemindersTitle')
                }).prop('checked', _settings.autoSendReminders),
                $('<label>', { for: '_cbautoSendReminders', title: I18n.t('urce.prefs.AutoSendRemindersTitle'), class: 'URCE-label' }).text(I18n.t('urce.prefs.AutoSendReminders')),
                $('<div>', { class: 'URCE-divWarning URCE-divWarningPre' }).text('(').append(
                    $('<div>', { class: 'URCE-divWarning URCE-divWarningTitle', title: I18n.t('urce.prefs.AutoSendRemindersWarningTitle') }).text(I18n.t('urce.prefs.AutoSendRemindersWarning')),
                ).append(
                    $('<div>', { class: 'URCE-divWarning' }).text(')')
                ),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbautoSetNewUrComment', urceprefs: 'urce', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.AutoSetNewUrCommentTitle')
                }).prop('checked', _settings.autoSetNewUrComment),
                $('<label>', { for: '_cbautoSetNewUrComment', title: I18n.t('urce.prefs.AutoSetNewUrCommentTitle'), class: 'URCE-label' }).text(I18n.t('urce.prefs.AutoSetNewUrComment')),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbautoSetNewUrCommentSlur', urceprefs: 'urce', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.AutoSetNewUrCommentSlurTitle')
                }).prop('checked', _settings.autoSetNewUrCommentSlur),
                $('<label>', { for: '_cbautoSetNewUrCommentSlur', title: I18n.t('urce.prefs.AutoSetNewUrCommentSlurTitle'), class: 'URCE-label' }).text(I18n.t('urce.prefs.AutoSetNewUrCommentSlur')),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbautoSetNewUrCommentWithDescription', urceprefs: 'urce', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.AutoSetNewUrCommentWithDescriptionTitle')
                }).prop('checked', _settings.autoSetNewUrCommentWithDescription),
                $('<label>', { for: '_cbautoSetNewUrCommentWithDescription', title: I18n.t('urce.prefs.AutoSetNewUrCommentWithDescriptionTitle'), class: 'URCE-label' }).text(
                    I18n.t('urce.prefs.AutoSetNewUrCommentWithDescription')
                ),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbautoSetReminderUrComment', urceprefs: 'urce', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.AutoSetReminderUrCommentTitle')
                }).prop('checked', _settings.autoSetReminderUrComment),
                $('<label>', { for: '_cbautoSetReminderUrComment', title: I18n.t('urce.prefs.AutoSetReminderUrCommentTitle'), class: 'URCE-label' }).text(
                    I18n.t('urce.prefs.AutoSetReminderUrComment')
                ),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbautoSwitchToUrCommentsTab', urceprefs: 'urce', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.AutoSwitchToUrCommentsTabTitle')
                }).prop('checked', _settings.autoSwitchToUrCommentsTab),
                $('<label>', { for: '_cbautoSwitchToUrCommentsTab', title: I18n.t('urce.prefs.AutoSwitchToUrCommentsTabTitle'), class: 'URCE-label' }).text(
                    I18n.t('urce.prefs.AutoSwitchToUrCommentsTab')
                ),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbautoZoomInOnNewUr', urceprefs: 'urce', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.AutoZoomInOnNewUrTitle')
                }).prop('checked', _settings.autoZoomInOnNewUr),
                $('<label>', { for: '_cbautoZoomInOnNewUr', title: I18n.t('urce.prefs.AutoZoomInOnNewUrTitle'), class: 'URCE-label' }).text(I18n.t('urce.prefs.AutoZoomInOnNewUr')),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbautoZoomOutAfterComment', urceprefs: 'urce', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.AutoZoomOutAfterCommentTitle')
                }).prop('checked', _settings.autoZoomOutAfterComment),
                $('<label>', { for: '_cbautoZoomOutAfterComment', title: I18n.t('urce.prefs.AutoZoomOutAfterCommentTitle'), class: 'URCE-label' }).text(I18n.t('urce.prefs.AutoZoomOutAfterComment')),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbdisableDoneNextButtons', urceprefs: 'urce', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.DisableDoneNextButtonsTitle')
                }).prop('checked', _settings.disableDoneNextButtons),
                $('<label>', { for: '_cbdisableDoneNextButtons', title: I18n.t('urce.prefs.DisableDoneNextButtonsTitle'), class: 'URCE-label' }).text(I18n.t('urce.prefs.DisableDoneNextButtons')),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbreplaceNextWithDoneButton', urceprefs: 'urce', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.ReplaceNextWithDoneButtonTitle')
                }).prop('checked', _settings.replaceNextWithDoneButton),
                $('<label>', { for: '_cbreplaceNextWithDoneButton', title: I18n.t('urce.prefs.ReplaceNextWithDoneButtonTitle'), class: 'URCE-label' }).text(
                    I18n.t('urce.prefs.ReplaceNextWithDoneButton')
                ),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbdoubleClickLinkNiComments', urceprefs: 'urce', title: I18n.t('urce.prefs.DoubleClickLinkNiCommentsTitle')
                }).off().on('change', function () {
                    _settings.doubleClickLinkNiComments = isChecked(this);
                    if (!_settings.doubleClickLinkNiComments) {
                        $('div#URCE-divDoubleClickNi').hide();
                    }
                    else {
                        if (!isChecked('#_cbautoClickOpenSolvedNi')) {
                            _settings.autoClickOpenSolvedNi = true;
                            $('#_cbautoClickOpenSolvedNi').prop('checked', true);
                        }
                        $('div#URCE-divDoubleClickNi').show();
                    }
                    saveSettingsToStorage();
                }).prop('checked', _settings.doubleClickLinkNiComments),
                $('<label>', { for: '_cbdoubleClickLinkNiComments', title: I18n.t('urce.prefs.DoubleClickLinkNiCommentsTitle'), class: 'URCE-label' }).text(
                    I18n.t('urce.prefs.DoubleClickLinkNiComments')
                ),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbdoubleClickLinkOpenComments', urceprefs: 'urce', title: I18n.t('urce.prefs.DoubleClickLinkOpenCommentsTitle')
                }).off().on('change', function () {
                    _settings.doubleClickLinkOpenComments = isChecked(this);
                    if (!_settings.doubleClickLinkOpenComments) {
                        $('div#URCE-divDoubleClickOpen').hide();
                    }
                    else {
                        if (!isChecked('#_cbautoClickOpenSolvedNi')) {
                            _settings.autoClickOpenSolvedNi = true;
                            $('#_cbautoClickOpenSolvedNi').prop('checked', true);
                        }
                        $('div#URCE-divDoubleClickOpen').show();
                    }
                    saveSettingsToStorage();
                }).prop('checked', _settings.doubleClickLinkOpenComments),
                $('<label>', { for: '_cbdoubleClickLinkOpenComments', title: I18n.t('urce.prefs.DoubleClickLinkOpenCommentsTitle'), class: 'URCE-label' }).text(
                    I18n.t('urce.prefs.DoubleClickLinkOpenComments')
                ),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbdoubleClickLinkSolvedComments', urceprefs: 'urce', title: I18n.t('urce.prefs.DoubleClickLinkSolvedCommentsTitle')
                }).off().on('change', function () {
                    _settings.doubleClickLinkSolvedComments = isChecked(this);
                    if (!_settings.doubleClickLinkSolvedComments) {
                        $('div#URCE-divDoubleClickSolved').hide();
                    }
                    else {
                        if (!isChecked('#_cbautoClickOpenSolvedNi')) {
                            _settings.autoClickOpenSolvedNi = true;
                            $('#_cbautoClickOpenSolvedNi').prop('checked', true);
                        }
                        $('div#URCE-divDoubleClickSolved').show();
                    }
                    saveSettingsToStorage();
                }).prop('checked', _settings.doubleClickLinkSolvedComments),
                $('<label>', { for: '_cbdoubleClickLinkSolvedComments', title: I18n.t('urce.prefs.DoubleClickLinkSolvedCommentsTitle'), class: 'URCE-label' }).text(
                    I18n.t('urce.prefs.DoubleClickLinkSolvedComments')
                ),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbhideZoomOutLinks', urceprefs: 'urce', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideZoomOutLinksTitle')
                }).prop('checked', _settings.hideZoomOutLinks),
                $('<label>', { for: '_cbhideZoomOutLinks', title: I18n.t('urce.prefs.HideZoomOutLinksTitle'), class: 'URCE-label' }).text(I18n.t('urce.prefs.HideZoomOutLinks')),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbunfollowUrAfterSend', urceprefs: 'urce', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.UnfollowUrAfterSendTitle')
                }).prop('checked', _settings.unfollowUrAfterSend),
                $('<label>', { for: '_cbunfollowUrAfterSend', title: I18n.t('urce.prefs.UnfollowUrAfterSendTitle'), class: 'URCE-label' }).text(I18n.t('urce.prefs.UnfollowUrAfterSend')),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbenableUrOverflowHandling', urceprefs: 'urce-marker-nodisable', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.EnableUrOverflowHandlingTitle')
                }).prop('checked', _settings.enableUrOverflowHandling),
                $('<label>', { for: '_cbenableUrOverflowHandling', title: I18n.t('urce.prefs.EnableUrOverflowHandlingTitle'), class: 'URCE-label' }).text(
                    I18n.t('urce.prefs.EnableUrOverflowHandling')
                ),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbenableAutoRefresh', urceprefs: 'urce-marker-nodisable', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.EnableAutoRefreshTitle')
                }).prop('checked', _settings.enableAutoRefresh),
                $('<label>', { for: '_cbenableAutoRefresh', title: I18n.t('urce.prefs.EnableAutoRefreshTitle'), class: 'URCE-label' }).text(I18n.t('urce.prefs.EnableAutoRefresh')),
                $('<div>', { class: 'URCE-controls URCE-textFirst' }).append(
                    $('<div>', { title: I18n.t('urce.prefs.TagEmailTitle'), class: 'URCE-label', urceprefs: 'commentList' }).text(`${I18n.t('urce.prefs.TagEmail')}: `).append(
                        $('<input>', {
                            type: 'text',
                            id: '_texttagEmail',
                            class: 'URCE-textInput urceSettingsTextBox',
                            urceprefs: 'commentList',
                            value: _settings.tagEmail,
                            title: I18n.t('urce.prefs.TagEmailTitle')
                        })
                    ),
                    $('<div>', { title: formatText(I18n.t('urce.prefs.ReminderDaysTitle'), false), class: 'URCE-label', urceprefs: 'urce' }).append(`${I18n.t('urce.prefs.ReminderDays')}: `).append(
                        $('<input>', {
                            type: 'number',
                            id: '_numreminderDays',
                            class: 'URCE-daysInput urceSettingsNumberBox',
                            urceprefs: 'urce',
                            min: '0',
                            max: '9999',
                            step: '1',
                            value: _settings.reminderDays,
                            title: formatText(I18n.t('urce.prefs.ReminderDaysTitle'), false)
                        }),
                        $('<div>', { class: 'URCE-divDaysInline', urceprefs: 'urce' }).append(I18n.translations[I18n.currentLocale()].common.time.days.replace(/%{days} /gi, ''))
                    ),
                    $('<div>', { title: formatText(I18n.t('urce.prefs.CloseDaysTitle'), false), class: 'URCE-label', urceprefs: 'urce' }).append(`${I18n.t('urce.prefs.CloseDays')}: `).append(
                        $('<input>', {
                            type: 'number',
                            id: '_numcloseDays',
                            class: 'URCE-daysInput urceSettingsNumberBox',
                            urceprefs: 'urce',
                            min: '1',
                            max: '9999',
                            step: '1',
                            value: _settings.closeDays,
                            title: formatText(I18n.t('urce.prefs.CloseDaysTitle'), false)
                        }),
                        $('<div>', { class: 'URCE-divDaysInline', urceprefs: 'urce' }).append(I18n.translations[I18n.currentLocale()].common.time.days.replace(/%{days} /gi, ''))
                    )
                )
            )
        ),
        // UR Marker Settings
        $('<fieldset>', { id: 'urce-prefs-fieldset-ur-marker-prefs', class: `URCE-field${urStyle}` }).append(
            $('<legend>', { id: 'urce-prefs-legend-ur-marker-prefs', class: `URCE-legend${urStyle}` }).append(
                $('<i>', { class: 'fa fa-fw fa-chevron-down URCE-chevron' }),
                $('<span>', { class: 'URCE-span' }).text(I18n.t('urce.prefs.UrMarkerPrefs'))
            ).click(function () {
                $($(this).children()[0]).toggleClass('fa fa-fw fa-chevron-down');
                $($(this).children()[0]).toggleClass('fa fa-fw fa-chevron-right');
                $($(this).siblings()[0]).toggleClass('collapse');
            }),
            $('<div>', { class: 'URCE-controls URCE-divCC' }).append(
                $('<input>', {
                    type: 'checkbox', id: '_cbenableUrPillCounts', urceprefs: 'markerMaster', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.EnableUrPillCountsTitle')
                }).prop('checked', _settings.enableUrPillCounts),
                $('<label>', {
                    for: '_cbenableUrPillCounts', urceprefs: 'markerMaster', title: I18n.t('urce.prefs.EnableUrPillCountsTitle'), class: 'URCE-label'
                }).text(I18n.t('urce.prefs.EnableUrPillCounts')),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbdisableUrMarkerPopup', urceprefs: 'marker-nodisable', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.DisableUrMarkerPopupTitle')
                }).prop('checked', _settings.disableUrMarkerPopup),
                $('<label>', {
                    for: '_cbdisableUrMarkerPopup', urceprefs: 'marker-nodisable', title: I18n.t('urce.prefs.DisableUrMarkerPopupTitle'), class: 'URCE-label'
                }).text(I18n.t('urce.prefs.DisableUrMarkerPopup')),
                $('<br>'),
                $('<div>', { class: 'URCE-textFirst', urceprefs: 'marker-nodisable' }).append(
                    $('<div>', { title: I18n.t('urce.prefs.UrMarkerPopupDelayTitle') }).text(`${I18n.t('urce.prefs.UrMarkerPopupDelay')}: `).append(
                        $('<div>', { style: 'display:inline;' }).append(
                            $('<div>', { class: 'URCE-divDaysInline' }).append(
                                $('<input>', {
                                    type: 'number',
                                    id: '_numurMarkerPopupDelay',
                                    class: 'URCE-daysInput urceSettingsNumberBox',
                                    urceprefs: 'marker-nodisable',
                                    min: '1',
                                    max: '99',
                                    step: '1',
                                    value: _settings.urMarkerPopupDelay,
                                    title: I18n.t('urce.prefs.UrMarkerPopupDelayTitle')
                                }),
                                ' * 100ms'
                            )
                        )
                    ),
                    $('<div>', { title: I18n.t('urce.prefs.UrMarkerPopupTimeoutTitle') }).text(`${I18n.t('urce.prefs.UrMarkerPopupTimeout')}: `).append(
                        $('<div>', { style: 'display:inline;' }).append(
                            $('<div>', { class: 'URCE-divDaysInline' }).append(
                                $('<input>', {
                                    type: 'number',
                                    id: '_numurMarkerPopupTimeout',
                                    class: 'URCE-daysInput urceSettingsNumberBox',
                                    urceprefs: 'marker-nodisable',
                                    min: '1',
                                    max: '99',
                                    step: '1',
                                    value: _settings.urMarkerPopupTimeout,
                                    title: I18n.t('urce.prefs.UrMarkerPopupTimeoutTitle')
                                }),
                                I18n.t('datetime.distance_in_words.x_seconds.other', { count: 30 }).replace('30', '')
                            )
                        )
                    )
                ),
                $('<input>', {
                    type: 'checkbox', id: '_cbdoNotShowTagNameOnPill', urceprefs: 'marker', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.DoNotShowTagNameOnPillTitle')
                }).prop('checked', _settings.doNotShowTagNameOnPill),
                $('<label>', {
                    for: '_cbdoNotShowTagNameOnPill', urceprefs: 'marker', title: I18n.t('urce.prefs.DoNotShowTagNameOnPillTitle'), class: 'URCE-label'
                }).text(I18n.t('urce.prefs.DoNotShowTagNameOnPill')),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbreplaceTagNameWithEditorName', urceprefs: 'marker', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.ReplaceTagNameWithEditorNameTitle')
                }).prop('checked', _settings.replaceTagNameWithEditorName),
                $('<label>', {
                    for: '_cbreplaceTagNameWithEditorName', urceprefs: 'marker', title: I18n.t('urce.prefs.ReplaceTagNameWithEditorNameTitle'), class: 'URCE-label'
                }).text(I18n.t('urce.prefs.ReplaceTagNameWithEditorName')),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbunstackMarkers', urceprefs: 'marker-nodisable', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.UnstackMarkersTitle')
                }).prop('checked', _settings.unstackMarkers),
                $('<label>', {
                    for: '_cbunstackMarkers', urceprefs: 'marker-nodisable', title: I18n.t('urce.prefs.UnstackMarkersTitle'), class: 'URCE-label'
                }).text(I18n.t('urce.prefs.UnstackMarkers')),
                $('<br>'),
                $('<div>', { class: 'URCE-textFirst', urceprefs: 'marker-nodisable-unstack' }).append(
                    $('<div>', { title: I18n.t('urce.prefs.UnstackSensativityTitle') }).text(`${I18n.t('urce.prefs.UnstackSensitivity')}: `).append(
                        $('<div>', { style: 'display:inline;' }).append(
                            $('<div>', { class: 'URCE-divDaysInline' }).append(
                                $('<input>', {
                                    type: 'number',
                                    id: '_numunstackSensitivity',
                                    class: 'URCE-daysInput urceSettingsNumberBox',
                                    urceprefs: 'marker-nodisable-unstack',
                                    min: '1',
                                    max: '99',
                                    step: '1',
                                    value: _settings.unstackSensitivity,
                                    title: I18n.t('urce.prefs.UnstackSensitivityTitle')
                                })
                            )
                        )
                    ),
                    $('<div>', { title: I18n.t('urce.prefs.UnstackDisableAboveZoomTitle') }).text(`${I18n.t('urce.prefs.UnstackDisableAboveZoom')}: `).append(
                        $('<div>', { style: 'display:inline;' }).append(
                            $('<div>', { class: 'URCE-divDaysInline' }).append(
                                $('<input>', {
                                    type: 'number',
                                    id: '_numunstackDisableAboveZoom',
                                    class: 'URCE-daysInput urceSettingsNumberBox',
                                    urceprefs: 'marker-nodisable-unstack',
                                    min: '0',
                                    max: '10',
                                    step: '1',
                                    value: _settings.unstackDisableAboveZoom,
                                    title: I18n.t('urce.prefs.UnstackDisableAboveZoomTitle')
                                })
                            )
                        )
                    )
                ),
                // -- Custom markers
                $('<div>').append(
                    $('<div>', { class: 'URCE-subHeading' }).text(`${I18n.t('urce.prefs.UseCustomMarkersFor')}:`).css({ fontWeight: '600' }).append('<br>')
                ).append(
                    $('<input>', {
                        type: 'checkbox', id: '_cbcustomMarkersBog', urceprefs: 'marker-nodisable', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.BogTitle')
                    }).prop('checked', _settings.customMarkersBog),
                    $('<label>', {
                        for: '_cbcustomMarkersBog', urceprefs: 'marker-nodisable', title: I18n.t('urce.prefs.BogTitle'), class: 'URCE-label'
                    }).text(I18n.t('urce.tags.Bog')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbcustomMarkersClosures', urceprefs: 'marker-nodisable', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.ClosureTitle')
                    }).prop('checked', _settings.customMarkersClosures),
                    $('<label>', {
                        for: '_cbcustomMarkersClosures', urceprefs: 'marker-nodisable', title: I18n.t('urce.prefs.ClosureTitle'), class: 'URCE-label'
                    }).text(I18n.t('urce.tags.Closure')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbcustomMarkersConstruction', urceprefs: 'marker-nodisable', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.ConstructionTitle')
                    }).prop('checked', _settings.customMarkersConstruction),
                    $('<label>', {
                        for: '_cbcustomMarkersConstruction', urceprefs: 'marker-nodisable', title: I18n.t('urce.prefs.ConstructionTitle'), class: 'URCE-label'
                    }).text(I18n.t('urce.tags.Construction')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbcustomMarkersDifficult', urceprefs: 'marker-nodisable', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.DifficultTitle')
                    }).prop('checked', _settings.customMarkersDifficult),
                    $('<label>', {
                        for: '_cbcustomMarkersDifficult', urceprefs: 'marker-nodisable', title: I18n.t('urce.prefs.DifficultTitle'), class: 'URCE-label'
                    }).text(I18n.t('urce.tags.Difficult')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbcustomMarkersEvents', urceprefs: 'marker-nodisable', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.EventTitle')
                    }).prop('checked', _settings.customMarkersEvents),
                    $('<label>', {
                        for: '_cbcustomMarkersEvents', urceprefs: 'marker-nodisable', title: I18n.t('urce.prefs.EventTitle'), class: 'URCE-label'
                    }).text(I18n.t('urce.tags.Event')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbcustomMarkersNotes', urceprefs: 'marker-nodisable', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.NoteTitle')
                    }).prop('checked', _settings.customMarkersNotes),
                    $('<label>', {
                        for: '_cbcustomMarkersNotes', urceprefs: 'marker-nodisable', title: I18n.t('urce.prefs.NoteTitle'), class: 'URCE-label'
                    }).text(I18n.t('urce.tags.Note')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbcustomMarkersRoadworks', urceprefs: 'marker-nodisable', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.RoadworksTitle')
                    }).prop('checked', _settings.customMarkersRoadworks),
                    $('<label>', {
                        for: '_cbcustomMarkersRoadworks', urceprefs: 'marker-nodisable', title: I18n.t('urce.prefs.RoadworksTitle'), class: 'URCE-label'
                    }).text(I18n.t('urce.tags.Roadworks')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbcustomMarkersWslm', urceprefs: 'marker-nodisable', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.WslmTitle')
                    }).prop('checked', _settings.customMarkersWslm),
                    $('<label>', {
                        for: '_cbcustomMarkersWslm', urceprefs: 'marker-nodisable', title: I18n.t('urce.prefs.WslmTitle'), class: 'URCE-label'
                    }).text(I18n.t('urce.tags.Wslm')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbcustomMarkersNativeSl', urceprefs: 'marker-nodisable', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.NativeSpeedLimitsTitle')
                    }).prop('checked', _settings.customMarkersNativeSl),
                    $('<label>', {
                        for: '_cbcustomMarkersNativeSl', urceprefs: 'marker-nodisable', title: I18n.t('urce.prefs.NativeSpeedLimitsTitle'), class: 'URCE-label'
                    }).text(I18n.t('urce.prefs.NativeSpeedLimits')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbcustomMarkersCustom', urceprefs: 'marker-nodisable', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.CustomTitle')
                    }).prop('checked', _settings.customMarkersCustom),
                    $('<label>', {
                        for: '_cbcustomMarkersCustom', urceprefs: 'marker-nodisable', title: I18n.t('urce.prefs.CustomTitle'), class: 'URCE-label'
                    }).text(`${I18n.t('urce.common.Custom')}: `),
                    $('<div>', { class: 'URCE-divDaysInline' }).append(
                        $('<input>', {
                            type: 'text',
                            id: '_textcustomMarkersCustomText',
                            class: 'urceSettingsTextBox',
                            style: 'width:100px; height:20px;',
                            urceprefs: 'marker-nodisable',
                            value: _settings.customMarkersCustomText,
                            title: I18n.t('urce.prefs.CustomTitle')
                        })
                    )
                )
            )
        ),
        // UR Filtering Settings
        $('<fieldset>', { id: 'urce-prefs-fieldset-ur-filtering-prefs', class: `URCE-field${urStyle}` }).append(
            $('<legend>', { id: 'urce-prefs-legend-ur-filtering-prefs', class: `URCE-legend${urStyle}` }).append(
                $('<i>', { class: 'fa fa-fw fa-chevron-down URCE-chevron' }),
                $('<span>', { class: 'URCE-span' }).text(I18n.t('urce.prefs.UrFilteringPrefs'))
            ).click(function () {
                $($(this).children()[0]).toggleClass('fa fa-fw fa-chevron-down');
                $($(this).children()[0]).toggleClass('fa fa-fw fa-chevron-right');
                $($(this).siblings()[0]).toggleClass('collapse');
            }),
            $('<div>', { class: 'URCE-controls URCE-divCC' }).append(
                $('<input>', {
                    type: 'checkbox', id: '_cbenableUrceUrFiltering', urceprefs: 'filteringMaster', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.EnableUrceUrFilteringTitle')
                }).prop('checked', _settings.enableUrceUrFiltering),
                $('<label>', {
                    for: '_cbenableUrceUrFiltering', urceprefs: 'filteringMaster', title: I18n.t('urce.prefs.EnableUrceUrFilteringTitle'), class: 'URCE-label'
                }).text(I18n.t('urce.prefs.EnableUrceUrFiltering')),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbinvertFilters', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.InvertFiltersTitle')
                }).prop('checked', _settings.invertFilters),
                $('<label>', {
                    for: '_cbinvertFilters', urceprefs: 'filtering', title: I18n.t('urce.prefs.InvertFiltersTitle'), class: 'URCE-label'
                }).text(I18n.t('urce.prefs.InvertFilters')),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbhideOutsideEditableArea', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideOutsideEditableAreaTitle')
                }).prop('checked', _settings.hideOutsideEditableArea),
                $('<label>', {
                    for: '_cbhideOutsideEditableArea', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideOutsideEditableAreaTitle'), class: 'URCE-label'
                }).text(I18n.t('urce.prefs.HideOutsideEditableArea')),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbdoNotFilterTaggedUrs', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.DoNotFilterTaggedUrsTitle')
                }).prop('checked', _settings.doNotFilterTaggedUrs),
                $('<label>', {
                    for: '_cbdoNotFilterTaggedUrs', urceprefs: 'filtering', title: I18n.t('urce.prefs.DoNotFilterTaggedUrsTitle'), class: 'URCE-label'
                }).text(I18n.t('urce.prefs.DoNotFilterTaggedUrs')),
                $('<br>'),
                $('<input>', {
                    type: 'checkbox', id: '_cbdoNotHideSelectedUr', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.DoNotHideSelectedUrTitle')
                }).prop('checked', _settings.doNotHideSelectedUr),
                $('<label>', {
                    for: '_cbdoNotHideSelectedUr', urceprefs: 'filtering', title: I18n.t('urce.prefs.DoNotHideSelectedUrTitle'), class: 'URCE-label'
                }).text(I18n.t('urce.prefs.DoNotHideSelectedUr')),
                $('<br>'),
                $('<div>').append(
                    $('<input>', {
                        type: 'checkbox', id: '_cbdisableFilteringAboveZoom', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.DisableFilteringAboveZoomLevelTitle')
                    }).prop('checked', _settings.disableFilteringAboveZoom),
                    $('<label>', {
                        for: '_cbdisableFilteringAboveZoom', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.DisableFilteringAboveZoomLevelTitle')
                    }).text(I18n.t('urce.prefs.DisableFilteringAboveZoomLevel')),
                    $('<div>', { class: 'URCE-divDaysInline' }).append(
                        $('<input>', {
                            type: 'number',
                            id: '_numdisableFilteringAboveZoomLevel',
                            class: 'URCE-daysInput urceSettingsNumberBox',
                            urceprefs: 'filtering',
                            min: '0',
                            max: '10',
                            step: '1',
                            value: _settings.disableFilteringAboveZoomLevel,
                            title: I18n.t('urce.prefs.DisableFilteringAboveZoomLevelTitle')
                        })
                    )
                ),
                $('<div>').append(
                    $('<input>', {
                        type: 'checkbox', id: '_cbdisableFilteringBelowZoom', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.DisableFilteringBelowZoomLevelTitle')
                    }).prop('checked', _settings.disableFilteringBelowZoom),
                    $('<label>', {
                        for: '_cbdisableFilteringBelowZoom', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.DisableFilteringBelowZoomLevelTitle')
                    }).text(I18n.t('urce.prefs.DisableFilteringBelowZoomLevel')),
                    $('<div>', { class: 'URCE-divDaysInline' }).append(
                        $('<input>', {
                            type: 'number',
                            id: '_numdisableFilteringBelowZoomLevel',
                            class: 'URCE-daysInput urceSettingsNumberBox',
                            urceprefs: 'filtering',
                            min: '0',
                            max: '10',
                            step: '1',
                            value: _settings.disableFilteringBelowZoomLevel,
                            title: I18n.t('urce.prefs.DisableFilteringBelowZoomLevelTitle')
                        })
                    )
                ),
                // -- Lifecycle
                $('<div>').append(
                    $('<div>', { class: 'URCE-subHeading' }).text(`${I18n.t(`urce.prefs.LifeCycleStatus${inverted}`)}:`).append('<br>')
                ).append(
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideWaiting', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideWaitingTitle')
                    }).prop('checked', _settings.hideWaiting),
                    $('<label>', {
                        for: '_cbhideWaiting', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideWaitingTitle'), class: 'URCE-label'
                    }).text(I18n.t('urce.prefs.HideWaiting')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideUrsCloseNeeded', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideUrsCloseNeededTitle')
                    }).prop('checked', _settings.hideUrsCloseNeeded),
                    $('<label>', {
                        for: '_cbhideUrsCloseNeeded', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideUrsCloseNeededTitle'), class: 'URCE-label'
                    }).text(I18n.t('urce.prefs.HideUrsCloseNeeded')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideUrsReminderNeeded', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideUrsReminderNeededTitle')
                    }).prop('checked', _settings.hideUrsReminderNeeded),
                    $('<label>', {
                        for: '_cbhideUrsReminderNeeded', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideUrsReminderNeededTitle'), class: 'URCE-label'
                    }).text(I18n.t('urce.prefs.HideUrsReminderNeeded')),
                    $('<br>')
                ),
                // -- Hide by status
                $('<div>').append(
                    $('<div>', { class: 'URCE-subHeading' }).text(`${I18n.t(`urce.prefs.HideByStatus${inverted}`)}:`).append('<br>')
                ).append(
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideByStatusOpen', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByStatusOpenTitle')
                    }).prop('checked', _settings.hideByStatusOpen),
                    $('<label>', {
                        for: '_cbhideByStatusOpen', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByStatusOpenTitle'), class: 'URCE-label'
                    }).text(I18n.t('venues.update_requests.panel.action.open')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideByStatusClosed', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByStatusClosedTitle')
                    }).prop('checked', _settings.hideByStatusClosed),
                    $('<label>', {
                        for: '_cbhideByStatusClosed', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByStatusClosedTitle'), class: 'URCE-label'
                    }).text(I18n.t('urce.urStatus.Closed')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideByStatusNotIdentified', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByStatusNotIdentifiedTitle')
                    }).prop('checked', _settings.hideByStatusNotIdentified),
                    $('<label>', {
                        for: '_cbhideByStatusNotIdentified', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByStatusNotIdentifiedTitle'), class: 'URCE-label'
                    }).text(I18n.t('urce.urStatus.NotIdentified')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideByStatusSolved', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByStatusSolvedTitle')
                    }).prop('checked', _settings.hideByStatusSolved),
                    $('<label>', {
                        for: '_cbhideByStatusSolved', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByStatusSolvedTitle'), class: 'URCE-label'
                    }).text(I18n.t('venues.update_requests.panel.solved')),
                    $('<br>'),
                    $('<div>', { style: 'display:inline-flex;' }).append(
                        $('<input>', {
                            type: 'checkbox', id: '_cbhideByStatusClosedBy', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByStatusClosedByTitle')
                        }).prop('checked', _settings.hideByStatusClosedBy),
                        $('<label>', {
                            for: '_cbhideByStatusClosedBy', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideByStatusClosedByTitle')
                        }).text(`${I18n.t('urce.common.ClosedBy')}:`),
                        $('<div>', { class: 'URCE-divDaysInline' }).append(
                            $('<input>', {
                                type: 'text',
                                id: '_texthideByStatusClosedByUsers',
                                class: 'urceSettingsTextBox',
                                style: 'width:150px; height:20px;',
                                urceprefs: 'filtering',
                                value: _settings.hideByStatusClosedByUsers,
                                title: I18n.t('urce.prefs.HideByStatusClosedByTitle')
                            })
                        )
                    )
                ),
                // -- Hide by type
                $('<div>').append(
                    $('<div>', { class: 'URCE-subHeading' }).text(`${I18n.t(`urce.prefs.HideByType${inverted}`)}:`).append('<br>')
                ).append(
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideByTypeBlockedRoad', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByTypeBlockedRoadTitle')
                    }).prop('checked', _settings.hideByTypeBlockedRoad),
                    $('<label>', {
                        for: '_cbhideByTypeBlockedRoad', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByTypeBlockedRoadTitle'), class: 'URCE-label'
                    }).text(I18n.t('update_requests.types.19')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideByTypeGeneralError', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByTypeGeneralErrorTitle')
                    }).prop('checked', _settings.hideByTypeGeneralError),
                    $('<label>', {
                        for: '_cbhideByTypeGeneralError', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByTypeGeneralErrorTitle'), class: 'URCE-label'
                    }).text(I18n.t('update_requests.types.10')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideByTypeIncorrectAddress', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByTypeIncorrectAddressTitle')
                    }).prop('checked', _settings.hideByTypeIncorrectAddress),
                    $('<label>', {
                        for: '_cbhideByTypeIncorrectAddress', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByTypeIncorrectAddressTitle'), class: 'URCE-label'
                    }).text(I18n.t('update_requests.types.7')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideByTypeIncorrectJunction', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByTypeIncorrectJunctionTitle')
                    }).prop('checked', _settings.hideByTypeIncorrectJunction),
                    $('<label>', {
                        for: '_cbhideByTypeIncorrectJunction', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByTypeIncorrectJunctionTitle'), class: 'URCE-label'
                    }).text(I18n.t('update_requests.types.12')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideByTypeIncorrectRoute', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByTypeIncorrectRouteTitle')
                    }).prop('checked', _settings.hideByTypeIncorrectRoute),
                    $('<label>', {
                        for: '_cbhideByTypeIncorrectRoute', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByTypeIncorrectRouteTitle'), class: 'URCE-label'
                    }).text(I18n.t('update_requests.types.8')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox',
                        id: '_cbhideByTypeIncorrectStreetPrefixOrSuffix',
                        urceprefs: 'filtering',
                        class: 'urceSettingsCheckbox',
                        title: I18n.t('urce.prefs.HideByTypeIncorrectStreetPrefixOrSuffixTitle')
                    }).prop('checked', _settings.hideByTypeIncorrectStreetPrefixOrSuffix),
                    $('<label>', {
                        for: '_cbhideByTypeIncorrectStreetPrefixOrSuffix', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByTypeIncorrectStreetPrefixOrSuffixTitle'), class: 'URCE-label'
                    }).text(I18n.t('update_requests.types.22')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideByTypeIncorrectTurn', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByTypeIncorrectTurnTitle')
                    }).prop('checked', _settings.hideByTypeIncorrectTurn),
                    $('<label>', {
                        for: '_cbhideByTypeIncorrectTurn', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByTypeIncorrectTurnTitle'), class: 'URCE-label'
                    }).text(I18n.t('update_requests.types.6')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox',
                        id: '_cbhideByTypeMissingBridgeOverpass',
                        urceprefs: 'filtering',
                        class: 'urceSettingsCheckbox',
                        title: I18n.t('urce.prefs.HideByTypeMissingBridgeOverpassTitle')
                    }).prop('checked', _settings.hideByTypeMissingBridgeOverpass),
                    $('<label>', {
                        for: '_cbhideByTypeMissingBridgeOverpass', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByTypeMissingBridgeOverpassTitle'), class: 'URCE-label'
                    }).text(I18n.t('update_requests.types.13')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideByTypeMissingExit', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByTypeMissingExitTitle')
                    }).prop('checked', _settings.hideByTypeMissingExit),
                    $('<label>', {
                        for: '_cbhideByTypeMissingExit', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByTypeMissingExitTitle'), class: 'URCE-label'
                    }).text(I18n.t('update_requests.types.15')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideByTypeMissingLandmark', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByTypeMissingLandmarkTitle')
                    }).prop('checked', _settings.hideByTypeMissingLandmark),
                    $('<label>', {
                        for: '_cbhideByTypeMissingLandmark', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByTypeMissingLandmarkTitle'), class: 'URCE-label'
                    }).text(I18n.t('update_requests.types.18')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox',
                        id: '_cbhideByTypeMissingOrInvalidSpeedLimit',
                        urceprefs: 'filtering',
                        class: 'urceSettingsCheckbox',
                        title: I18n.t('urce.prefs.HideByTypeMissingOrInvalidSpeedLimitTitle')
                    }).prop('checked', _settings.hideByTypeMissingOrInvalidSpeedLimit),
                    $('<label>', {
                        for: '_cbhideByTypeMissingOrInvalidSpeedLimit', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByTypeMissingOrInvalidSpeedLimitTitle'), class: 'URCE-label'
                    }).text(I18n.t('update_requests.types.23')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideByTypeMissingRoad', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByTypeMissingRoadTitle')
                    }).prop('checked', _settings.hideByTypeMissingRoad),
                    $('<label>', {
                        for: '_cbhideByTypeMissingRoad', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByTypeMissingRoadTitle'), class: 'URCE-label'
                    }).text(I18n.t('update_requests.types.16')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideByTypeMissingRoundabout', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByTypeMissingRoundaboutTitle')
                    }).prop('checked', _settings.hideByTypeMissingRoundabout),
                    $('<label>', {
                        for: '_cbhideByTypeMissingRoundabout', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByTypeMissingRoundaboutTitle'), class: 'URCE-label'
                    }).text(I18n.t('update_requests.types.9')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideByTypeMissingStreetName', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByTypeMissingStreetNameTitle')
                    }).prop('checked', _settings.hideByTypeMissingStreetName),
                    $('<label>', {
                        for: '_cbhideByTypeMissingStreetName', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByTypeMissingStreetNameTitle'), class: 'URCE-label'
                    }).text(I18n.t('update_requests.types.21')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideByTypeTurnNotAllowed', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByTypeTurnNotAllowedTitle')
                    }).prop('checked', _settings.hideByTypeTurnNotAllowed),
                    $('<label>', {
                        for: '_cbhideByTypeTurnNotAllowed', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByTypeTurnNotAllowedTitle'), class: 'URCE-label'
                    }).text(I18n.t('update_requests.types.11')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideByTypeUndefined', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByTypeUndefinedTitle')
                    }).prop('checked', _settings.hideByTypeUndefined),
                    $('<label>', {
                        for: '_cbhideByTypeUndefined', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByTypeUndefinedTitle'), class: 'URCE-label'
                    }).text(I18n.t('urce.urTypes.Undefined')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox',
                        id: '_cbhideByTypeWrongDrivingDirection',
                        urceprefs: 'filtering',
                        class: 'urceSettingsCheckbox',
                        title: I18n.t('urce.prefs.HideByTypeWrongDrivingDirectionTitle')
                    }).prop('checked', _settings.hideByTypeWrongDrivingDirection),
                    $('<label>', {
                        for: '_cbhideByTypeWrongDrivingDirection', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByTypeWrongDrivingDirectionTitle'), class: 'URCE-label'
                    }).text(I18n.t('update_requests.types.14')),
                    $('<br>')
                ),
                // -- Hide by tagged
                $('<div>').append(
                    $('<div>', { class: 'URCE-subHeading' }).text(`${I18n.t(`urce.prefs.HideByTagged${inverted}`)}:`).append('<br>')
                ).append(
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideByTaggedBog', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByTaggedBogTitle')
                    }).prop('checked', _settings.hideByTaggedBog),
                    $('<label>', {
                        for: '_cbhideByTaggedBog', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByTaggedBogTitle'), class: 'URCE-label'
                    }).text(I18n.t('urce.tags.Bog')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideByTaggedClosure', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByTaggedClosureTitle')
                    }).prop('checked', _settings.hideByTaggedClosure),
                    $('<label>', {
                        for: '_cbhideByTaggedClosure', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByTaggedClosureTitle'), class: 'URCE-label'
                    }).text(I18n.t('urce.tags.Closure')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideByTaggedConstruction', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByTaggedConstructionTitle')
                    }).prop('checked', _settings.hideByTaggedConstruction),
                    $('<label>', {
                        for: '_cbhideByTaggedConstruction', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByTaggedConstructionTitle'), class: 'URCE-label'
                    }).text(I18n.t('urce.tags.Construction')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideByTaggedDifficult', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByTaggedDifficultTitle')
                    }).prop('checked', _settings.hideByTaggedDifficult),
                    $('<label>', {
                        for: '_cbhideByTaggedDifficult', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByTaggedDifficultTitle'), class: 'URCE-label'
                    }).text(I18n.t('urce.tags.Difficult')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideByTaggedEvent', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByTaggedEventTitle')
                    }).prop('checked', _settings.hideByTaggedEvent),
                    $('<label>', {
                        for: '_cbhideByTaggedEvent', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByTaggedEventTitle'), class: 'URCE-label'
                    }).text(I18n.t('urce.tags.Event')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideByTaggedNote', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByTaggedNoteTitle')
                    }).prop('checked', _settings.hideByTaggedNote),
                    $('<label>', {
                        for: '_cbhideByTaggedNote', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByTaggedNoteTitle'), class: 'URCE-label'
                    }).text(I18n.t('urce.tags.Note')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideByTaggedRoadworks', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByTaggedRoadworksTitle')
                    }).prop('checked', _settings.hideByTaggedRoadworks),
                    $('<label>', {
                        for: '_cbhideByTaggedRoadworks', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByTaggedRoadworksTitle'), class: 'URCE-label'
                    }).text(I18n.t('urce.tags.Roadworks')),
                    $('<br>'),
                    $('<input>', {
                        type: 'checkbox', id: '_cbhideByTaggedWslm', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByTaggedWslmTitle')
                    }).prop('checked', _settings.hideByTaggedWslm),
                    $('<label>', {
                        for: '_cbhideByTaggedWslm', urceprefs: 'filtering', title: I18n.t('urce.prefs.HideByTaggedWslmTitle'), class: 'URCE-label'
                    }).text(I18n.t('urce.tags.Wslm')),
                    $('<br>')
                ),
                // -- Hide by age of submission
                $('<div>').append(
                    $('<div>', { class: 'URCE-subHeading' }).text(`${I18n.t(`urce.prefs.HideByAgeOfSubmission${inverted}`)}:`).append('<br>')
                ).append(
                    $('<div>').append(
                        $('<input>', {
                            type: 'checkbox',
                            id: '_cbhideByAgeOfSubmissionLessThan',
                            urceprefs: 'filtering',
                            class: 'urceSettingsCheckbox',
                            title: I18n.t('urce.prefs.HideByAgeOfSubmissionLessThanTitle')
                        }).prop('checked', _settings.hideByAgeOfSubmissionLessThan),
                        $('<label>', {
                            for: '_cbhideByAgeOfSubmissionLessThan', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideByAgeOfSubmissionLessThanTitle')
                        }).text(I18n.t('urce.common.LessThan')),
                        $('<div>', { class: 'URCE-divDaysInline' }).append(
                            $('<input>', {
                                type: 'number',
                                id: '_numhideByAgeOfSubmissionLessThanDaysOld',
                                class: 'URCE-daysInput urceSettingsNumberBox',
                                urceprefs: 'filtering',
                                min: '0',
                                max: '9999',
                                step: '1',
                                value: _settings.hideByAgeOfSubmissionLessThanDaysOld,
                                title: I18n.t('urce.prefs.HideByAgeOfSubmissionLessThanTitle')
                            }),
                            $('<div>', { class: 'URCE-divDaysInline', urceprefs: 'filtering' }).append(I18n.translations[I18n.currentLocale()].common.time.days.replace(/%{days} /gi, ''))
                        )
                    ),
                    $('<div>').append(
                        $('<input>', {
                            type: 'checkbox',
                            id: '_cbhideByAgeOfSubmissionMoreThan',
                            urceprefs: 'filtering',
                            class: 'urceSettingsCheckbox',
                            title: I18n.t('urce.prefs.HideByAgeOfSubmissionMoreThanTitle')
                        }).prop('checked', _settings.hideByAgeOfSubmissionMoreThan),
                        $('<label>', {
                            for: '_cbhideByAgeOfSubmissionMoreThan', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideByAgeOfSubmissionMoreThanTitle')
                        }).text(I18n.t('urce.common.MoreThan')),
                        $('<div>', { class: 'URCE-divDaysInline' }).append(
                            $('<input>', {
                                type: 'number',
                                id: '_numhideByAgeOfSubmissionMoreThanDaysOld',
                                class: 'URCE-daysInput urceSettingsNumberBox',
                                urceprefs: 'filtering',
                                min: '0',
                                max: '9999',
                                step: '1',
                                value: _settings.hideByAgeOfSubmissionMoreThanDaysOld,
                                title: I18n.t('urce.prefs.HideByAgeOfSubmissionMoreThanTitle')
                            }),
                            $('<div>', { class: 'URCE-divDaysInline', urceprefs: 'filtering' }).append(I18n.translations[I18n.currentLocale()].common.time.days.replace(/%{days} /gi, ''))
                        )
                    )
                ),
                // -- Hide by description, comments, following
                $('<div>').append(
                    $('<div>', { class: 'URCE-subHeading' }).text(`${I18n.t(`urce.prefs.DescriptionCommentsFollowing${inverted}`)}:`).append('<br>')
                ).append(
                    // -- -- Following / not following
                    $('<div>', { class: 'URCE-textFirst', urceprefs: 'filtering' }).append(
                        $('<div>', { style: 'display:inline-flex;' }).text(`${I18n.t('urce.common.Following')}: `).append(
                            $('<div>', { style: 'display:inline;' }).append(
                                $('<input>', {
                                    type: 'checkbox', id: '_cbhideFollowing', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideFollowingTitle')
                                }).prop('checked', _settings.hideFollowing),
                                $('<label>', {
                                    for: '_cbhideFollowing', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideFollowingTitle')
                                }).text(I18n.t('urce.common.Following')),
                                $('<input>', {
                                    type: 'checkbox', id: '_cbhideNotFollowing', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideNotFollowingTitle')
                                }).prop('checked', _settings.hideNotFollowing),
                                $('<label>', {
                                    for: '_cbhideNotFollowing', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideNotFollowingTitle')
                                }).text(I18n.t('urce.common.NotFollowing')),
                            )
                        ),
                        // -- -- With / without description
                        $('<div>', { style: 'display:inline-flex;' }).text(`${I18n.t('objects.venue.fields.description')}: `).append(
                            $('<div>', { style: 'display:inline;' }).append(
                                $('<input>', {
                                    type: 'checkbox', id: '_cbhideWithDescription', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideWithDescriptionTitle')
                                }).prop('checked', _settings.hideWithDescription),
                                $('<label>', {
                                    for: '_cbhideWithDescription', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideWithDescriptionTitle')
                                }).text(I18n.t('urce.common.With')),
                                $('<input>', {
                                    type: 'checkbox', id: '_cbhideWithoutDescription', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideWithoutDescriptionTitle')
                                }).prop('checked', _settings.hideWithoutDescription),
                                $('<label>', {
                                    for: '_cbhideWithoutDescription', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideWithoutDescriptionTitle')
                                }).text(I18n.t('urce.common.Without')),
                            )
                        ),
                        // -- -- With / without comments from me
                        $('<div>', { style: 'display:inline-flex;' }).text(`${I18n.t('urce.prefs.HideCommentsFromMe')}: `).append(
                            $('<div>', { style: 'display:inline;' }).append(
                                $('<input>', {
                                    type: 'checkbox', id: '_cbhideWithCommentsFromMe', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideWithCommentsFromMeTitle')
                                }).prop('checked', _settings.hideWithCommentsFromMe),
                                $('<label>', {
                                    for: '_cbhideWithCommentsFromMe', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideWithCommentsFromMeTitle')
                                }).text(I18n.t('urce.common.With')),
                                $('<input>', {
                                    type: 'checkbox',
                                    id: '_cbhideWithoutCommentsFromMe',
                                    urceprefs: 'filtering',
                                    class: 'urceSettingsCheckbox',
                                    title: I18n.t('urce.prefs.HideWithoutCommentsFromMeTitle')
                                }).prop('checked', _settings.hideWithoutCommentsFromMe),
                                $('<label>', {
                                    for: '_cbhideWithoutCommentsFromMe', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideWithoutCommentsFromMeTitle')
                                }).text(I18n.t('urce.common.Without')),
                            )
                        ),
                        // -- -- First comment by me yes / no
                        $('<div>', { style: 'display:inline-flex;' }).text(`${I18n.t('urce.prefs.HideFirstCommentByMe')}: `).append(
                            $('<div>', { style: 'display:inline;' }).append(
                                $('<input>', {
                                    type: 'checkbox', id: '_cbhideFirstCommentByMe', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideFirstCommentByMeTitle')
                                }).prop('checked', _settings.hideFirstCommentByMe),
                                $('<label>', {
                                    for: '_cbhideFirstCommentByMe', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideFirstCommentByMeTitle')
                                }).text(I18n.t('urce.common.Yes')),
                                $('<input>', {
                                    type: 'checkbox', id: '_cbhideFirstCommentNotByMe', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideFirstCommentNotByMeTitle')
                                }).prop('checked', _settings.hideFirstCommentNotByMe),
                                $('<label>', {
                                    for: '_cbhideFirstCommentNotByMe', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideFirstCommentNotByMeTitle')
                                }).text(I18n.t('urce.common.No')),
                            )
                        ),
                        // -- -- Last comment by me yes / no
                        $('<div>', { style: 'display:inline-flex;' }).text(`${I18n.t('urce.prefs.HideLastCommentByMe')}: `).append(
                            $('<div>', { style: 'display:inline;' }).append(
                                $('<input>', {
                                    type: 'checkbox', id: '_cbhideLastCommentByMe', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideLastCommentByMeTitle')
                                }).prop('checked', _settings.hideLastCommentByMe),
                                $('<label>', {
                                    for: '_cbhideLastCommentByMe', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideLastCommentByMeTitle')
                                }).text(I18n.t('urce.common.Yes')),
                                $('<input>', {
                                    type: 'checkbox', id: '_cbhideLastCommentNotByMe', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideLastCommentNotByMeTitle')
                                }).prop('checked', _settings.hideLastCommentNotByMe),
                                $('<label>', {
                                    for: '_cbhideLastCommentNotByMe', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideLastCommentNotByMeTitle')
                                }).text(I18n.t('urce.common.No')),
                            )
                        ),
                        // -- -- Last comment by reporter yes / no
                        $('<div>', { style: 'display:inline-flex;' }).text(`${I18n.t('urce.prefs.HideLastCommentByReporter')}: `).append(
                            $('<div>', { style: 'display:inline;' }).append(
                                $('<input>', {
                                    type: 'checkbox',
                                    id: '_cbhideLastCommentByReporter',
                                    urceprefs: 'filtering',
                                    class: 'urceSettingsCheckbox',
                                    title: I18n.t('urce.prefs.HideLastCommentByReporterTitle')
                                }).prop('checked', _settings.hideLastCommentByReporter),
                                $('<label>', {
                                    for: '_cbhideLastCommentByReporter', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideLastCommentByReporterTitle')
                                }).text(I18n.t('urce.common.Yes')),
                                $('<input>', {
                                    type: 'checkbox',
                                    id: '_cbhideLastCommentNotByReporter',
                                    urceprefs: 'filtering',
                                    class: 'urceSettingsCheckbox',
                                    title: I18n.t('urce.prefs.HideLastCommentNotByReporterTitle')
                                }).prop('checked', _settings.hideLastCommentNotByReporter),
                                $('<label>', {
                                    for: '_cbhideLastCommentNotByReporter', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideLastCommentNotByReporterTitle')
                                }).text(I18n.t('urce.common.No')),
                            )
                        )
                    ),
                    // -- -- Less than / more than XX comments
                    $('<div>', { style: 'display:inline-flex;' }).append(
                        $('<input>', {
                            type: 'checkbox', id: '_cbhideByCommentCountLessThan', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByCommentCountLessThanTitle')
                        }).prop('checked', _settings.hideByCommentCountLessThan),
                        $('<label>', {
                            for: '_cbhideByCommentCountLessThan', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideByCommentCountLessThanTitle')
                        }).text(I18n.t('urce.common.LessThan')),
                        $('<div>', { class: 'URCE-divDaysInline' }).append(
                            $('<input>', {
                                type: 'number',
                                id: '_numhideByCommentCountLessThanNumber',
                                class: 'urceSettingsNumberBox',
                                style: 'width:36px; height:20px;',
                                urceprefs: 'filtering',
                                min: '0',
                                max: '9999',
                                step: '1',
                                value: _settings.hideByCommentCountLessThanNumber,
                                title: I18n.t('urce.prefs.HideByCommentCountLessThanTitle')
                            }),
                            $('<div>', { class: 'URCE-divDaysInline', urceprefs: 'filtering' }).append(I18n.t('urce.tabs.Comments'))
                        )
                    ),
                    $('<div>', { style: 'display:inline-flex;' }).append(
                        $('<input>', {
                            type: 'checkbox', id: '_cbhideByCommentCountMoreThan', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByCommentCountMoreThanTitle')
                        }).prop('checked', _settings.hideByCommentCountMoreThan),
                        $('<label>', {
                            for: '_cbhideByCommentCountMoreThan', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideByCommentCountMoreThanTitle')
                        }).text(I18n.t('urce.common.MoreThan')),
                        $('<div>', { class: 'URCE-divDaysInline' }).append(
                            $('<input>', {
                                type: 'number',
                                id: '_numhideByCommentCountMoreThanNumber',
                                class: 'urceSettingsNumberBox',
                                style: 'width:36px; height:20px;',
                                urceprefs: 'filtering',
                                min: '0',
                                max: '9999',
                                step: '1',
                                value: _settings.hideByCommentCountMoreThanNumber,
                                title: I18n.t('urce.prefs.HideByCommentCountMoreThanTitle')
                            }),
                            $('<div>', { class: 'URCE-divDaysInline', urceprefs: 'filtering' }).append(I18n.t('urce.tabs.Comments'))
                        )
                    ),
                    // -- -- Age of first comment less than / more than XX days old
                    $('<div>', { style: 'display:inline-flex;' }).append(
                        $('<input>', {
                            type: 'checkbox',
                            id: '_cbhideByAgeOfFirstCommentLessThan',
                            urceprefs: 'filtering',
                            class: 'urceSettingsCheckbox',
                            title: I18n.t('urce.prefs.HideByAgeOfFirstCommentLessThanTitle')
                        }).prop('checked', _settings.hideByAgeOfFirstCommentLessThan),
                        $('<label>', {
                            for: '_cbhideByAgeOfFirstCommentLessThan', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideByAgeOfFirstCommentLessThanTitle')
                        }).text(I18n.t('urce.prefs.HideByAgeOfFirstCommentLessThan')),
                        $('<div>', { class: 'URCE-divDaysInline' }).append(
                            $('<input>', {
                                type: 'number',
                                id: '_numhideByAgeOfFirstCommentLessThanDaysOld',
                                class: 'urceSettingsNumberBox',
                                style: 'width:36px; height:20px;',
                                urceprefs: 'filtering',
                                min: '0',
                                max: '9999',
                                step: '1',
                                value: _settings.hideByAgeOfFirstCommentLessThanDaysOld,
                                title: I18n.t('urce.prefs.HideByAgeOfFirstCommentLessThanTitle')
                            }),
                            $('<div>', { class: 'URCE-divDaysInline', urceprefs: 'filtering' }).append(I18n.translations[I18n.currentLocale()].common.time.days.replace(/%{days} /gi, ''))
                        )
                    ),
                    $('<div>', { style: 'display:inline-flex;' }).append(
                        $('<input>', {
                            type: 'checkbox',
                            id: '_cbhideByAgeOfFirstCommentMoreThan',
                            urceprefs: 'filtering',
                            class: 'urceSettingsCheckbox',
                            title: I18n.t('urce.prefs.HideByAgeOfFirstCommentMoreThanTitle')
                        }).prop('checked', _settings.hideByAgeOfFirstCommentMoreThan),
                        $('<label>', {
                            for: '_cbhideByAgeOfFirstCommentMoreThan', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideByAgeOfFirstCommentMoreThanTitle')
                        }).text(I18n.t('urce.prefs.HideByAgeOfFirstCommentMoreThan')),
                        $('<div>', { class: 'URCE-divDaysInline' }).append(
                            $('<input>', {
                                type: 'number',
                                id: '_numhideByAgeOfFirstCommentMoreThanDaysOld',
                                class: 'urceSettingsNumberBox',
                                style: 'width:36px; height:20px;',
                                urceprefs: 'filtering',
                                min: '0',
                                max: '9999',
                                step: '1',
                                value: _settings.hideByAgeOfFirstCommentMoreThanDaysOld,
                                title: I18n.t('urce.prefs.HideByAgeOfFirstCommentMoreThanTitle')
                            }),
                            $('<div>', { class: 'URCE-divDaysInline', urceprefs: 'filtering' }).append(I18n.translations[I18n.currentLocale()].common.time.days.replace(/%{days} /gi, ''))
                        )
                    ),
                    // -- -- Age of last comment less than / more than XX days old
                    $('<div>', { style: 'display:inline-flex;' }).append(
                        $('<input>', {
                            type: 'checkbox',
                            id: '_cbhideByAgeOfLastCommentLessThan',
                            urceprefs: 'filtering',
                            class: 'urceSettingsCheckbox',
                            title: I18n.t('urce.prefs.HideByAgeOfLastCommentLessThanTitle')
                        }).prop('checked', _settings.hideByAgeOfLastCommentLessThan),
                        $('<label>', {
                            for: '_cbhideByAgeOfLastCommentLessThan', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideByAgeOfLastCommentLessThanTitle')
                        }).text(I18n.t('urce.prefs.HideByAgeOfLastCommentLessThan')),
                        $('<div>', { class: 'URCE-divDaysInline' }).append(
                            $('<input>', {
                                type: 'number',
                                id: '_numhideByAgeOfLastCommentLessThanDaysOld',
                                class: 'urceSettingsNumberBox URCE-daysInput URCE-daysInput',
                                urceprefs: 'filtering',
                                min: '0',
                                max: '9999',
                                step: '1',
                                value: _settings.hideByAgeOfLastCommentLessThanDaysOld,
                                title: I18n.t('urce.prefs.HideByAgeOfLastCommentLessThanTitle')
                            }),
                            $('<div>', { class: 'URCE-divDaysInline', urceprefs: 'filtering' }).append(I18n.translations[I18n.currentLocale()].common.time.days.replace(/%{days} /gi, ''))
                        )
                    ),
                    $('<div>', { style: 'display:inline-flex;' }).append(
                        $('<input>', {
                            type: 'checkbox',
                            id: '_cbhideByAgeOfLastCommentMoreThan',
                            urceprefs: 'filtering',
                            class: 'urceSettingsCheckbox',
                            title: I18n.t('urce.prefs.HideByAgeOfLastCommentMoreThanTitle')
                        }).prop('checked', _settings.hideByAgeOfLastCommentMoreThan),
                        $('<label>', {
                            for: '_cbhideByAgeOfLastCommentMoreThan', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideByAgeOfLastCommentMoreThanTitle')
                        }).text(I18n.t('urce.prefs.HideByAgeOfLastCommentMoreThan')),
                        $('<div>', { class: 'URCE-divDaysInline' }).append(
                            $('<input>', {
                                type: 'number',
                                id: '_numhideByAgeOfLastCommentMoreThanDaysOld',
                                class: 'urceSettingsNumberBox',
                                style: 'width:36px; height:20px;',
                                urceprefs: 'filtering',
                                min: '0',
                                max: '9999',
                                step: '1',
                                value: _settings.hideByAgeOfLastCommentMoreThanDaysOld,
                                title: I18n.t('urce.prefs.HideByAgeOfLastCommentMoreThanTitle')
                            }),
                            $('<div>', { class: 'URCE-divDaysInline', urceprefs: 'filtering' }).append(I18n.translations[I18n.currentLocale()].common.time.days.replace(/%{days} /gi, ''))
                        )
                    ),
                    // -- -- Including / not including keyword
                    $('<div>', { style: 'display:inline-flex;' }).append(
                        $('<input>', {
                            type: 'checkbox', id: '_cbhideByKeywordIncluding', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByKeywordIncludingTitle')
                        }).prop('checked', _settings.hideByKeywordIncluding),
                        $('<label>', {
                            for: '_cbhideByKeywordIncluding', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideByKeywordIncludingTitle')
                        }).text(I18n.t('urce.prefs.HideByKeywordIncluding')),
                        $('<div>', { class: 'URCE-divDaysInline' }).append(
                            $('<input>', {
                                type: 'text',
                                id: '_texthideByKeywordIncludingKeyword',
                                class: 'urceSettingsTextBox',
                                style: 'width:75px; height:20px;',
                                urceprefs: 'filtering',
                                value: _settings.hideByKeywordIncludingKeyword,
                                title: I18n.t('urce.prefs.HideByKeywordIncludingTitle')
                            })
                        )
                    ),
                    $('<div>', { style: 'display:inline-flex;' }).append(
                        $('<input>', {
                            type: 'checkbox', id: '_cbhideByKeywordNotIncluding', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideByKeywordNotIncludingTitle')
                        }).prop('checked', _settings.hideByKeywordNotIncluding),
                        $('<label>', {
                            for: '_cbhideByKeywordNotIncluding', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideByKeywordNotIncludingTitle')
                        }).text(I18n.t('urce.prefs.HideByKeywordNotIncluding')),
                        $('<div>', { class: 'URCE-divDaysInline' }).append(
                            $('<input>', {
                                type: 'text',
                                id: '_texthideByKeywordNotIncludingKeyword',
                                class: 'urceSettingsTextBox',
                                style: 'width:75px; height:20px;',
                                urceprefs: 'filtering',
                                value: _settings.hideByKeywordNotIncludingKeyword,
                                title: I18n.t('urce.prefs.HideByKeywordNotIncludingTitle')
                            })
                        )
                    ),
                    $('<div>', { style: 'padding-left:15px; font-style:italic;' }).append(
                        $('<input>', {
                            type: 'checkbox',
                            id: '_cbhideByKeywordCaseInsensitive',
                            urceprefs: 'filtering',
                            class: 'urceSettingsCheckbox',
                            title: I18n.t('urce.prefs.HideByKeywordCaseInsensitiveTitle')
                        }).prop('checked', _settings.hideByKeywordCaseInsensitive),
                        $('<label>', {
                            for: '_cbhideByKeywordCaseInsensitive', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideByKeywordCaseInsensitiveTitle')
                        }).text(I18n.t('urce.prefs.HideByKeywordCaseInsensitive'))
                    ),
                    // -- -- With / without comment by
                    $('<div>', { style: 'display:inline-flex;' }).append(
                        $('<input>', {
                            type: 'checkbox', id: '_cbhideWithCommentBy', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideWithCommentByTitle')
                        }).prop('checked', _settings.hideWithCommentBy),
                        $('<label>', {
                            for: '_cbhideWithCommentBy', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideWithCommentByTitle')
                        }).text(I18n.t('urce.prefs.HideWithCommentBy')),
                        $('<div>', { class: 'URCE-divDaysInline' }).append(
                            $('<input>', {
                                type: 'text',
                                id: '_texthideWithCommentByUsers',
                                class: 'urceSettingsTextBox',
                                style: 'width:75px; height:20px;',
                                urceprefs: 'filtering',
                                value: _settings.hideWithCommentByUsers,
                                title: I18n.t('urce.prefs.HideWithCommentByTitle')
                            })
                        )
                    ),
                    $('<div>', { style: 'display:inline-flex;' }).append(
                        $('<input>', {
                            type: 'checkbox', id: '_cbhideWithoutCommentBy', urceprefs: 'filtering', class: 'urceSettingsCheckbox', title: I18n.t('urce.prefs.HideWithoutCommentByTitle')
                        }).prop('checked', _settings.hideWithoutCommentBy),
                        $('<label>', {
                            for: '_cbhideWithoutCommentBy', urceprefs: 'filtering', class: 'URCE-label', title: I18n.t('urce.prefs.HideWithoutCommentByTitle')
                        }).text(I18n.t('urce.prefs.HideWithoutCommentBy')),
                        $('<div>', { class: 'URCE-divDaysInline' }).append(
                            $('<input>', {
                                type: 'text',
                                id: '_texthideWithoutCommentByUsers',
                                class: 'urceSettingsTextBox',
                                style: 'width:75px; height:20px;',
                                urceprefs: 'filtering',
                                value: _settings.hideWithoutCommentByUsers,
                                title: I18n.t('urce.prefs.HideWithoutCommentByTitle')
                            })
                        )
                    )
                )
            )
        )
    );
    if (!isChecked('#_cbenableUrPillCounts'))
        $('[urceprefs=marker]').prop('disabled', true).addClass('urceDisabled');
    else
        $('[urceprefs=marker]').prop('disabled', false).removeClass('urceDisabled');
    if (!isChecked('#_cbenableUrceUrFiltering'))
        $('[urceprefs=filtering]').prop('disabled', true).addClass('urceDisabled');
    else
        $('[urceprefs=filtering]').prop('disabled', false).removeClass('urceDisabled');
    if (!isChecked('#_cbunstackMarkers'))
        $('[urceprefs$="-unstack"]').prop('disabled', true).addClass('urceDisabled');
    else
        $('[urceprefs$="-unstack"]').prop('disabled', false).removeClass('urceDisabled');
    $('.urceSettingsCheckbox').off().on('change', function () {
        let otherSettingName = null;
        const settingName = $(this)[0].id.substr(3),
            urcePrefs = $(this).attr('urceprefs');
        if (settingName === 'hideFollowing')
            otherSettingName = 'hideNotFollowing';
        if (settingName === 'hideNotFollowing')
            otherSettingName = 'hideFollowing';
        if (settingName === 'hideWithDescription')
            otherSettingName = 'hideWithoutDescription';
        if (settingName === 'hideWithoutDescription')
            otherSettingName = 'hideWithDescription';
        if (settingName === 'hideWithCommentsFromMe')
            otherSettingName = 'hideWithoutCommentsFromMe';
        if (settingName === 'hideWithoutCommentsFromMe')
            otherSettingName = 'hideWithCommentsFromMe';
        if (settingName === 'hideFirstCommentByMe')
            otherSettingName = 'hideFirstCommentNotByMe';
        if (settingName === 'hideFirstCommentNotByMe')
            otherSettingName = 'hideFirstCommentByMe';
        if (settingName === 'hideLastCommentByMe')
            otherSettingName = 'hideLastCommentNotByMe';
        if (settingName === 'hideLastCommentNotByMe')
            otherSettingName = 'hideLastCommentByMe';
        if (settingName === 'hideLastCommentByReporter')
            otherSettingName = 'hideLastCommentNotByReporter';
        if (settingName === 'hideLastCommentNotByReporter')
            otherSettingName = 'hideLastCommentByReporter';
        if (settingName === 'replaceNextWithDoneButton')
            otherSettingName = 'disableDoneNextButtons';
        if (settingName === 'disableDoneNextButtons')
            otherSettingName = 'replaceNextWithDoneButton';
        if (otherSettingName !== null) {
            if (this.checked && isChecked(`#_cb${otherSettingName}`)) {
                _settings[otherSettingName] = false;
                $(`#_cb${otherSettingName}`).prop('checked', false);
            }
        }
        if (settingName === 'disableDoneNextButtons') {
            if (this.checked)
                $('#panel-container .content .navigation').css({ display: 'none' });
            else
                $('#panel-container .content .navigation').css({ display: 'block' });
        }
        if (settingName === 'hideZoomOutLinks') {
            if (this.checked)
                $('div#_divZoomOutLinks').hide();
            else
                $('div#_divZoomOutLinks').show();
        }
        if (settingName === 'unstackMarkers') {
            if (this.checked)
                $('[urceprefs$="-unstack"]').prop('disabled', false).removeClass('urceDisabled');
            else
                $('[urceprefs$="-unstack"]').prop('disabled', true).addClass('urceDisabled');
        }
        if (urcePrefs === 'markerMaster') {
            if (!this.checked)
                $('[urceprefs=marker]').prop('disabled', true).addClass('urceDisabled');
            else
                $('[urceprefs=marker]').prop('disabled', false).removeClass('urceDisabled');
        }
        if (urcePrefs === 'filteringMaster') {
            if (!this.checked)
                $('[urceprefs=filtering]').prop('disabled', true).addClass('urceDisabled');
            else
                $('[urceprefs=filtering]').prop('disabled', false).removeClass('urceDisabled');
        }
        _settings[settingName] = this.checked;
        if (isChecked($(`input[id="_cbperCommentList_${settingName}_useDefault"]`)) && (isChecked($(`input[id="_cbperCommentList_${settingName}"]`)) !== this.checked))
            $(`input[id="_cbperCommentList_${settingName}"]`).prop('checked', this.checked);
        Object.values(_settings.perCommentListSettings).forEach(arr => {
            if (arr[`${settingName}_useDefault`]) {
                if (arr[settingName] !== this.checked)
                    arr[settingName] = this.checked;
            }
        });
        saveSettingsToStorage();
        if (settingName === 'invertFilters')
            initSettingsTab();
        if (((urcePrefs.indexOf('marker') > -1) || (urcePrefs.indexOf('filtering') > -1)) && (settingName.indexOf('unstack') === -1))
            handleUrLayer('settingsToggle', null, null);
    });
    $('.urceSettingsNumberBox').off().on('change', function () {
        const settingName = $(this)[0].id.substr(4),
            maxVal = (settingName === 'disableFilteringAboveZoomLevel' || settingName === 'disableFilteringBelowZoomLevel') ? 10 : 9999,
            val = Math.min(maxVal, Math.max(0, parseInt(Math.abs(parseInt(this.value) || 0))));
        if ((val !== parseInt(this.value)) || (_settings[settingName] !== val)) {
            if (val !== parseInt(this.value))
                this.value = val;
            _settings[settingName] = val;
            if (isChecked($(`input[id="_cbperCommentList_${settingName}_useDefault"]`)) && ($(`input[id="_numperCommentList_${settingName}"]`) !== val))
                $(`input[id="_numperCommentList_${settingName}"]`).val(val);
            Object.values(_settings.perCommentListSettings).forEach(arr => {
                if (arr[`${settingName}_useDefault`]) {
                    if (arr[settingName] !== val)
                        arr[settingName] = val;
                }
            });
            saveSettingsToStorage();
            if (settingName.indexOf('unstack') === -1)
                handleUrLayer('settingsToggle', null, null);
        }
    });
    $('.urceSettingsTextBox').off().on('change', function () {
        const settingName = $(this)[0].id.substr(5),
            val = this.value.trim();
        if ((val !== this.value) || (_settings[settingName] !== val)) {
            if (val !== this.value)
                this.value = val;
            _settings[settingName] = val;
            if (isChecked($(`input[id="_cbperCommentList_${settingName}_useDefault"]`)) && ($(`input[id="_numperCommentList_${settingName}"]`) !== val))
                $(`input[id="_textperCommentList_${settingName}"]`).val(val);
            Object.values(_settings.perCommentListSettings).forEach(arr => {
                if (arr[`${settingName}_useDefault`]) {
                    if (arr[settingName] !== val)
                        arr[settingName] = val;
                }
            });
            saveSettingsToStorage();
            if (settingName === 'customSsId') {
                if (val && (val.length > 0)) {
                    const $customSsIdLink = $('<a>', {
                        class: 'URCE-Controls URCE-spreadsheetLink', id: 'urce-customSpreadsheet-link', title: I18n.t('urce.prefs.CustomSpreadsheetLinkTitle'), href: `https://docs.google.com/spreadsheets/d/${val}/edit`
                    }).text(I18n.t('urce.prefs.CustomSpreadsheetLink')).click(function (e) {
                        e.preventDefault();
                        e.stopPropagation();
                        window.open(this.href, '_blank');
                    });
                    if ($('#urceCustomSpreadsheetLinkDiv').length === 0) {
                        $('#urceSpreadsheetLinks').append(
                            $('<div>', { class: 'URCE-spreadsheetLink', id: 'urceCustomSpreadsheetLinkDiv' }).append($customSsIdLink)
                        );
                    }
                    else {
                        $('#urceCustomSpreadsheetLinkDiv').empty().append($customSsIdLink);
                    }
                }
                else if ($('#urceCustomSpreadsheetLinkDiv')) {
                    $('#urceCustomSpreadsheetLinkDiv').remove();
                }
            }
            if ((settingName !== 'tagEmail') && (settingName !== 'customSsId'))
                handleUrLayer('settingsToggle', null, null);
            else if ((settingName === 'tagEmail') || ((settingName === 'customSsId') && (_currentCommentList === 1001)))
                changeCommentList(_settings.commentList, false, true);
        }
    });
}

function initTab() {
    logDebug('Firing initTab via callback.');
    initSettingsTab();
    initCommentsTab();
    initToolsTab();
    if ($('img#urceIcon').length === 0)
        $('a[href="#sidepanel-urc-e"]').prepend($('<img>', { id: 'urceIcon', class: 'URCE-tabIcon', src: GM_info.script.icon }));
}

function initGui() {
    logDebug('Initializing GUI.');
    injectCss();
    $('body').append(
        $('<div>', { id: 'urceDiv' })
    );
    const $content = $('<div>').append(
        $('<span>', { class: 'URCE-spanTitle' }).text(SCRIPT_NAME),
        $('<span>', { class: 'URCE-spanVersion' }).text(SCRIPT_VERSION),
        '<ul class="nav nav-tabs">'
        + `<li class="active"><a data-toggle="tab" href="#panel-urce-comments" aria-expanded="true">${I18n.t('urce.tabs.Comments')}</a></li>`
        + `<li><a data-toggle="tab" href="#panel-urce-settings" aria-expanded="true">${I18n.t('urce.tabs.Settings')}</a></li>`
        + `<li><a data-toggle="tab" href="#panel-urce-tools" aria-expanded="true">${I18n.t('urce.tabs.Tools')}</a></li>`
        + '</ul>',
        $('<div>', { class: 'tab-content URCE-divTabs' }).append(
            $('<div>', { class: 'tab-pane active', id: 'panel-urce-comments' }),
            $('<div>', { class: 'tab-pane', id: 'panel-urce-settings' }),
            $('<div>', { class: 'tab-pane', id: 'panel-urce-tools' })
        )
    ).html();
    if (SCRIPT_NAME.indexOf('β') > -1)
        new WazeWrap.Interface.Tab('URC-E β', $content, initTab, null);
    else
        new WazeWrap.Interface.Tab('URC-E', $content, initTab, null);
    $('div#sidepanel-urc-e').width('295px');
    showScriptInfoAlert();
    return new Promise(resolve => { resolve({ error: false }); });
}

function initCommentLists() {
    logDebug('Initializing available comment lists.');
    return new Promise(async resolve => {
        let errorText,
            data;
        try {
            data = await $.getJSON(`https://sheets.googleapis.com/v4/spreadsheets/${URCE_SPREADSHEET_ID}/values/CommentLists!A3:G?key=${URCE_API_KEY}`).fail(response => {
                errorText = `Spreadsheet call failed. Code: ${response.status} - Text: ${response.responseText}`;
            });
        }
        catch (error) {
            if (!errorText)
                errorText = `Spreadsheet call failed. Code: ${error.status} - Text: ${error.responseText}`;
        }
        if (data && data.values.length > 0) {
            const EXPECTED_FIELD_NAMES = ['idx', 'name', 'status', 'type', 'oldVarName', 'Prefix', 'listOwner'],
                checkFieldNames = fldName => ssFieldNames.indexOf(fldName) > -1;
            let ssFieldNames;
            for (let entryIdx = 0; entryIdx < data.values.length; entryIdx++) {
                if (entryIdx === 0) {
                    if (SCRIPT_VERSION < data.values[entryIdx][0]) {
                        errorText = `updateRequired|${data.values[entryIdx][0]}`;
                        break;
                    }
                }
                else if (entryIdx === 1) {
                    ssFieldNames = data.values[entryIdx].map(fldName => fldName.trim());
                    if (ssFieldNames.length !== EXPECTED_FIELD_NAMES.length)
                        errorText = `Expected ${EXPECTED_FIELD_NAMES.length} columns in comment lists data. Spreadsheet returned ${ssFieldNames.length}.`;
                    else if (!EXPECTED_FIELD_NAMES.every(fldName => checkFieldNames(fldName)))
                        errorText = `Script expected to see the following column names in the comment definition spreadsheet:\n${EXPECTED_FIELD_NAMES.join(', ')}\nHowever, the spreadsheet returned these:\n${ssFieldNames.join(', ')}`;
                    if (errorText)
                        break;
                }
                else {
                    const output = Object.create(null);
                    for (let valIdx = 0; valIdx < data.values[entryIdx].length; valIdx++) {
                        if (ssFieldNames[valIdx] === 'idx')
                            output[ssFieldNames[valIdx]] = parseInt(data.values[entryIdx][valIdx]);
                        else if (ssFieldNames[valIdx] === 'Prefix')
                            output.gSheetRange = `${data.values[entryIdx][valIdx]}_Output_(do_not_edit)!A1:A`;
                        else
                            output[ssFieldNames[valIdx]] = data.values[entryIdx][valIdx];
                    }
                    _commentLists.push(output);
                }
            }
            if (!errorText)
                _commentLists.sort(dynamicSort('name'));
        }
        else {
            errorText = errorText || 'No lists available.';
        }
        if (errorText)
            logWarning(errorText);
        if (errorText && (STATIC_ONLY_USERS.indexOf(W.model.loginManager.user.userName) > -1)) {
            _commentLists.push({
                idx: 1, name: 'Custom', status: 'enabled', type: 'static', oldVarName: 'Custom', listOwner: 'Custom', gSheetRange: ''
            });
            _commentLists.push({
                idx: 3, name: 'USA - SER', status: 'enabled', type: 'static', oldVarName: 'USA_Southeast', listOwner: 'itzwolf', gSheetRange: ''
            });
            return resolve({ error: false });
        }
        return resolve({ error: (errorText !== undefined), text: errorText });
    });
}

function initAutoSwitchArrays() {
    logDebug('Initializing auto switch setup.');
    return new Promise(async resolve => {
        let errorText,
            data;
        try {
            data = await $.getJSON(`https://sheets.googleapis.com/v4/spreadsheets/${URCE_SPREADSHEET_ID}/values/CommentLists_AutoSwitch!A3:ZZ?majorDimension=COLUMNS&key=${URCE_API_KEY}`).fail(response => {
                errorText = `Spreadsheet call failed. Code: ${response.status} - Text: ${response.responseText}`;
            });
        }
        catch (error) {
            if (!errorText)
                errorText = `Spreadsheet call failed. Code: ${error.status} - Text: ${error.responseText}`;
        }
        if (data && data.values.length > 0) {
            for (let entryIdx = 0; entryIdx < data.values.length; entryIdx++) {
                if (entryIdx === 0 && SCRIPT_VERSION < data.values[entryIdx][0]) {
                    errorText = `updateRequired|${data.values[entryIdx][0]}`;
                    break;
                }
                if (data.values[entryIdx].length > 3) {
                    const commentListNum = parseInt(data.values[entryIdx][2]);
                    for (let idx = 3; idx < data.values[entryIdx].length; idx++) {
                        const values = data.values[entryIdx][idx].split('.');
                        if ((values[0] === 'state') && !_autoSwitch[values[1]])
                            _autoSwitch[values[1]] = {};
                        if (values[0] === 'state')
                            _autoSwitch[values[1]][values[2]] = commentListNum;
                        if ((values[0] === 'country') && !_autoSwitch[values[1]])
                            _autoSwitch[values[1]] = { ALL: commentListNum };
                    }
                }
            }
        }
        else {
            errorText = errorText || 'No autoswitch data available';
        }
        if (errorText)
            logWarning(errorText);
        if (errorText && (STATIC_ONLY_USERS.indexOf(W.model.loginManager.user.userName) > -1))
            return resolve({ error: false });
        return resolve({ error: (errorText !== undefined), text: errorText });
    });
}

function initRestrictions() {
    logDebug('Initializing restrictions.');
    return new Promise(async resolve => {
        let errorText,
            data;
        try {
            data = await $.getJSON(`https://sheets.googleapis.com/v4/spreadsheets/${URCE_SPREADSHEET_ID}/values/Restrictions!A3:ZZ?majorDimension=COLUMNS&key=${URCE_API_KEY}`).fail(response => {
                errorText = `Spreadsheet call failed. Code: ${response.status} - Text: ${response.responseText}`;
            });
        }
        catch (error) {
            if (!errorText)
                errorText = `Spreadsheet call failed. Code: ${error.status} - Text: ${error.responseText}`;
        }
        if (data && data.values.length > 0) {
            for (let entryIdx = 0; entryIdx < data.values.length; entryIdx++) {
                if (entryIdx === 0 && SCRIPT_VERSION < data.values[entryIdx][0]) {
                    errorText = `updateRequired|${data.values[entryIdx][0]}`;
                    break;
                }
                if (data.values[entryIdx].length > 1) {
                    const restriction = data.values[entryIdx][1];
                    for (let idx = 2; idx < data.values[entryIdx].length; idx++) {
                        const values = data.values[entryIdx][idx].split('.');
                        if (!_restrictions[values[1]])
                            _restrictions[values[1]] = {};
                        if (values[0] === 'state') {
                            if (!_restrictions[values[1]][values[2]])
                                _restrictions[values[1]][values[2]] = {};
                            _restrictions[values[1]][values[2]][restriction] = ((restriction !== 'reminderDays') && (restriction !== 'closeDays')) ? (values[3] === 'true') : parseInt(values[3]);
                        }
                        if (values[0] === 'country') {
                            if (!_restrictions[values[1]][values[2]])
                                _restrictions[values[1]][values[2]] = {};
                            _restrictions[values[1]][values[2]][restriction] = ((restriction !== 'reminderDays') && (restriction !== 'closeDays')) ? (values[3] === 'true') : parseInt(values[3]);
                        }
                    }
                }
            }
        }
        else {
            errorText = errorText || 'No restrictions data available';
        }
        if (errorText)
            logWarning(errorText);
        if (errorText && (STATIC_ONLY_USERS.indexOf(W.model.loginManager.user.userName) > -1))
            return resolve({ error: false });
        return resolve({ error: (errorText !== undefined), text: errorText });
    });
}

async function initFinish(urId, urPanelMissing) {
    checkTimeout({ timeout: 'initUrIdInUrl' });
    if (_initUrIdInUrlObserver && _initUrIdInUrlObserver.isObserving) {
        _initUrIdInUrlObserver.isObserving = false;
        _initUrIdInUrlObserver.disconnect();
    }
    await initBackgroundTasks('enable', 'initFinish');
    if (W.model.mapUpdateRequests.getObjectArray().length > _markerCountOnInit)
        await handleUrLayer('init_end', null, null);
    _markerCountOnInit = -1;
    maskBoxes(null, true, 'init', (urId > 0));
    if (urPanelMissing && W.model.mapUpdateRequests.objects[urId]) {
        logDebug(`UR ${urId} marker in URL. UR Panel did not appear after 15 seconds, attempting to activate marker.`);
        openUrPanel(urId);
    }
    else if (urPanelMissing) {
        log(`UR ${urId} marker in URL. UR Panel did not appear after 15 seconds. Marker not found.`);
    }
    else {
        logDebug(`UR ${urId} marker in URL. Re-opening.`);
        openUrPanel(urId);
    }
}

function initCheckForUrPanel(urId, tries) {
    checkTimeout({ timeout: 'initUrIdInUrl' });
    if (tries < 150) {
        if ($('#panel-container').children().length === 0) {
            if ($(`.map-problem.user-generated[data-id="${urId}"]`).length > 0)
                openUrPanel(urId);
            else
                _timeouts.initUrIdInUrl = window.setTimeout(initCheckForUrPanel, 100, urId, ++tries);
        }
    }
    else {
        logWarning(`UR ${urId} found in URL, but UR panel failed to open after 15 seconds.`);
        initFinish(urId, true);
    }
}

async function init() {
    log('Initializing.');
    _wmeUserId = W.loginManager.user.id;
    await loadSettingsFromStorage(null, null);
    const urIdInUrl = parseInt(location.search.split('mapUpdateRequest=')[1]),
        loadTranslationsResult = await loadTranslations(),
        initCommentListsResult = await initCommentLists(),
        initAutoSwitchArraysResult = await initAutoSwitchArrays(),
        initRestrictionsResult = await initRestrictions();
    await initGui();
    maskBoxes(`${I18n.t('urce.prompts.WaitingOnInit')}.<br>${I18n.t('urce.common.PleaseWait')}.`, false, 'init', (urIdInUrl > 0));
    const error = loadTranslationsResult.error || initCommentListsResult.error || initAutoSwitchArraysResult.error || initRestrictionsResult.error || false;
    if (!error) {
        await checkRestrictions();
        const buildCommentListResult = await buildCommentList(undefined, 'init', false);
        if (buildCommentListResult.error) {
            buildCommentListResult.maskUrPanel = (urIdInUrl > 0);
            handleError(buildCommentListResult);
        }
        else if (!urIdInUrl) {
            await initBackgroundTasks('enable', 'init');
        }
        window.addEventListener('beforeunload', () => { saveSettingsToStorage(); }, false);
        log(`Fully initialized in ${Math.round(performance.now() - LOAD_BEGIN_TIME)} ms.`);
        if (urIdInUrl > 0) {
            if ($('#panel-container').children().length === 0) {
                logDebug(`urId ${urIdInUrl} found in URL, but the UR Panel has not shown up yet. Waiting up to 15 seconds.`);
                _initUrIdInUrlObserver = new MutationObserver(mutations => {
                    mutations.forEach(mutation => {
                        if ((mutation.type === 'attributes')
                            && $(mutation.target.parentNode).is('#panel-container')
                            && (mutation.target.className.indexOf('show') > -1)
                            && (mutation.oldValue.indexOf('show') === -1)
                        )
                            initFinish(urIdInUrl, false);
                    });
                });
                _initUrIdInUrlObserver.observe(document.getElementById('panel-container'), {
                    childList: true, attributes: true, attributeOldValue: true, characterData: true, characterDataOldValue: true, subtree: true
                });
                _initUrIdInUrlObserver.isObserving = true;
                _timeouts.initUrIdInUrl = window.setTimeout(initCheckForUrPanel, 100, urIdInUrl, 1);
            }
            else {
                initFinish(urIdInUrl, false);
            }
        }
        else {
            if (W.model.mapUpdateRequests.getObjectArray().length > _markerCountOnInit)
                await handleUrLayer('init_end', null, null);
            _markerCountOnInit = -1;
            maskBoxes(null, true, 'init', (urIdInUrl > 0));
        }
    }
    else {
        handleError({
            text: loadTranslationsResult.text || initCommentListsResult.text || initAutoSwitchArraysResult.text || initRestrictionsResult.text || undefined,
            staticList: false,
            phase: 'init',
            maskUrPanel: (urIdInUrl > 0),
            commentList: null
        });
    }
}

function bootstrap(tries) {
    if (W && W.map && W.model && $ && WazeWrap.Ready) {
        checkTimeout({ timeout: 'bootstrap' });
        log('Bootstrapping.');
        init();
    }
    else if (tries < 1000) {
        logDebug(`Bootstrap failed. Retrying ${tries} of 1000`);
        _timeouts.bootstrap = window.setTimeout(bootstrap, 200, ++tries);
    }
    else {
        logError('Bootstrap timed out waiting for WME to become ready.');
    }
}

bootstrap(1);

function loadTranslations() {
    logDebug('Loading translations.');
    return new Promise(async resolve => {
        let errorText,
            data;
        try {
            data = await $.getJSON(`https://sheets.googleapis.com/v4/spreadsheets/${URCE_SPREADSHEET_ID}/values/Script_Translations!A3:AA?key=${URCE_API_KEY}`).fail(response => {
                errorText = `Spreadsheet call failed. Code: ${response.status} - Text: ${response.responseText}`;
            });
        }
        catch (error) {
            if (!errorText)
                errorText = `Spreadsheet call failed. Code: ${error.status} - Text: ${error.responseText}`;
        }
        const translationLocales = [];
        let translations = {};
        if (data && data.values.length > 0) {
            for (let entryIdx = 0; entryIdx < data.values.length; entryIdx++) {
                if (entryIdx === 0) {
                    if (SCRIPT_VERSION < data.values[entryIdx][0]) {
                        errorText = `updateRequired|${data.values[entryIdx][0]}`;
                        break;
                    }
                }
                else if (entryIdx === 1) {
                    for (let idx = 1; idx < data.values[entryIdx].length; idx++) {
                        translationLocales.push(data.values[entryIdx][idx].trim());
                        translations[data.values[entryIdx][idx].trim()] = {};
                    }
                }
                else {
                    let translationDefinition = [];
                    for (let valIdx = 0; valIdx < data.values[entryIdx].length; valIdx++) {
                        if (valIdx === 0) {
                            translationDefinition = data.values[entryIdx][valIdx].split('.');
                        }
                        else {
                            const translationLocale = translationLocales[(valIdx - 1)],
                                translationDef0 = translationDefinition[0],
                                translationDef1 = translationDefinition[1];
                            if (typeof translations[translationLocale][translationDef0] === 'undefined')
                                translations[translationLocale][translationDef0] = {};
                            translations[translationLocale][translationDef0][translationDef1] = data.values[entryIdx][valIdx].replace('$SCRIPT_AUTHOR$', SCRIPT_AUTHOR).replace(/\\[r|n]+/gm, '\n');
                        }
                    }
                }
            }
        }
        else {
            errorText = errorText || 'No translations available.';
        }
        if (errorText || !data || (data.values.length < 1)) {
            translations = {
                en: {
                    commentsTab: {
                        ZoomOutLink1: 'Zoom out 0 & close UR',
                        ZoomOutLink1Title: 'Zooms all the way out and closes the UR panel.',
                        ZoomOutLink2: 'Zoom out 2 & close UR',
                        ZoomOutLink2Title: 'Zooms out to level 2 and closes the UR panel.',
                        ZoomOutLink3: 'Zoom out 3 & close UR',
                        ZoomOutLink3Title: 'Zooms out to level 3 and closes the UR panel.'
                    },
                    common: {
                        All: 'All',
                        AutoSwitched: 'auto switched',
                        Backup: 'Backup',
                        ClosedBy: 'Closed by',
                        CollapseAll: 'Collapse all',
                        CommentList: 'Comment List',
                        CurrentCommentListTitle: 'You can change the currently loaded comment list using this drop down.\nChanging this drop down will not be saved as a setting and '
                            + 'will not change your default list (located on the settings tab).\nThis is only to allow you to quickly switch between lists.',
                        Custom: 'Custom',
                        Description: 'Description',
                        Disabled: 'Disabled',
                        DoubleClickTitle: 'Double click here to send this comment',
                        Enabled: 'Enabled',
                        ErrorGeneric: 'An error has occurred within URC-E. Please contact a WazeDev team member.',
                        ErrorHeader: 'URC-E Error',
                        ExpandAll: 'Expand all',
                        Failed: 'Failed',
                        Following: 'Following',
                        LessThan: 'Less than',
                        List: 'List',
                        ListOwner: 'List owner',
                        Loading: 'Loading',
                        MoreThan: 'More than',
                        NeedsChecked: 'Needs checked',
                        No: 'No',
                        None: 'None',
                        NotApplicable: 'Not applicable',
                        NotFollowing: 'Not following',
                        PleaseWait: 'Please wait',
                        Reset: 'Reset',
                        Restore: 'Restore',
                        Style: 'Style',
                        Success: 'Success',
                        Total: 'Total',
                        Type: 'Type',
                        With: 'With',
                        Without: 'Without',
                        Yes: 'Yes'
                    },
                    mouseOver: {
                        CenterInCurrentTab: 'Center in current tab',
                        FirstComment: 'First comment',
                        LastComment: 'Last comment',
                        MarkedAs: 'Marked as',
                        NoDescription: 'No description',
                        NoneByMe: 'none by me',
                        OpenInNewLivemapTab: 'Open in new Livemap tab',
                        OpenInNewTab: 'Open in new tab',
                        ReporterHasCommented: 'Reporter has commented',
                        ViaLivemap: 'via Livemap'
                    },
                    prefs: {
                        DefaultList: 'Default list',
                        DefaultListTitle: 'Select the custom list you would like to use. CommentTeam is the default. If you would like your comment list built into this script or have '
                            + 'suggestions on the CommentTeam list, please contact a WazeDev team member.',
                        CustomSsId: 'Custom Google Spreadsheet ID',
                        CustomSsIdTitle: 'Enter the Google Spreadsheet ID for the Custom comment list you would like to load when you select "Custom G Sheet" comment list.',
                        CommentListStyleTitle: 'Select the style you would like the URC-E panel to be displayed in. This only affects the look of the tab, no functionality is changed.',
                        SpreadsheetLink: 'URC-E Master Spreadsheet',
                        SpreadsheetLinkTitle: 'Click here to view the URC-E spreadsheet.',
                        CustomSpreadsheetLink: 'Custom Google Spreadsheet',
                        CustomSpreadsheetLinkTitle: 'Click here to view your custom google spreadsheet.',
                        StyleDefault: 'Default',
                        StyleUrStyle: 'UR Style',
                        TagEmail: 'Tag email',
                        TagEmailTitle: 'Some comment lists have specific comments that use a replacement tag.\nThe replacement tag is used to specify an email address to send correspondence '
                            + 'to.\nIf you are setup to use one of these email addresses, please specify it here. If not, leave it blank.',
                        AutoSwitchCommentList: 'Automatically switch comment lists',
                        AutoSwitchCommentListTitle: 'Automatically switch to the comment list designated for the area the UR is in, if there is a list associated with the area.\nOpening a UR '
                            + 'in an area that does not have a list associated will use the "Comment List" you have selected above.',
                        PerCommentListSettings: 'Per comment list settings',
                        SettingsFor: 'Settings for',
                        UseDefault: 'Use "URC-E Master Settings" setting',
                        UrcePrefs: 'URC-E Master Settings',
                        AutoCenterOnUr: 'Auto center on UR',
                        AutoCenterOnUrTitle: 'Auto center the map to the selected UR at the current map zoom level.',
                        AutoClickOpenSolvedNi: 'Auto click open, solved or not identified',
                        AutoClickOpenSolvedNiTitle: 'Suppress the message about recent pending questions to the reporter and then, depending on the choice set for that comment, automatically '
                            + 'select Open, Solved or Not Identified.',
                        AutoCloseUrPanel: 'Auto close UR panel',
                        AutoCloseUrPanelTitle: 'Automatically close the UR panel after you click send on a comment.',
                        AutoSaveAfterSolvedOrNiComment: 'Auto save after solved or NI comment',
                        AutoSaveAfterSolvedOrNiCommentTitle: 'If "Auto Click Open, Solved or Not Identified" is also checked, this will automatically click the save button after you click send '
                            + 'on a comment that set the UR to Solved or Not Identified.',
                        AutoSendReminders: 'Auto send reminders',
                        AutoSendRemindersTitle: 'Automatically send the reminder comment to the URs in the map window (as you pan around) you were the last to comment on and it has reached the '
                            + 'days specified in "Reminder Days".',
                        AutoSendRemindersWarning: 'WARNING',
                        AutoSendRemindersWarningTitle: 'AUTOMATICALLY SEND REMINDERS at the reminder days setting.\nThis only happens when they are visible on your screen.\n\nNOTE: When using '
                            + 'this feature you should not leave URs open unless you asked a question\nthat needs a response from the reporter, as this script will send reminders to all open '
                            + 'URs\nafter "Reminder days".',
                        AutoSetNewUrComment: 'Auto set new UR comment (without description)',
                        AutoSetNewUrCommentTitle: 'Automatically set the default UR comment for the UR type on new (do not already have comments) URs that do not have a description.',
                        AutoSetNewUrCommentSlur: 'Auto set new UR comment (SLURs)',
                        AutoSetNewUrCommentSlurTitle: 'Automatically set the default UR comment for new (do not already have comments) SLURs.',
                        AutoSetNewUrCommentWithDescription: 'Auto set new UR comment (with description)',
                        AutoSetNewUrCommentWithDescriptionTitle: 'Automatically set the default UR comment for the UR type on new (do not already have comments) URs that have a description.',
                        AutoSetReminderUrComment: 'Auto set reminder UR comment',
                        AutoSetReminderUrCommentTitle: 'Automatically set the UR reminder comment for URs that are older than the "Reminder days" setting and have only one comment.',
                        AutoSwitchToUrCommentsTab: 'Auto switch to the URC-E tab',
                        AutoSwitchToUrCommentsTabTitle: 'Automatically switch to the URComments-Enhanced tab when opening a UR. When the UR panel is closed you will be switched back to your '
                            + 'previous tab.',
                        AutoZoomInOnNewUr: 'Auto zoom in on new UR',
                        AutoZoomInOnNewUrTitle: 'Automatically zoom in when opening new (no comments) URs.',
                        AutoZoomOutAfterComment: 'Auto zoom out after comment',
                        AutoZoomOutAfterCommentTitle: 'Automatically zoom the map back to the previous zoom after clicking send on a UR comment.',
                        DisableDoneNextButtons: 'Disable done / next buttons',
                        DisableDoneNextButtonsTitle: 'Disable the done / next buttons at the bottom of the UR panel.',
                        ReplaceNextWithDoneButton: 'Replace Next UR button with Done button',
                        ReplaceNextWithDoneButtonTitle: 'Replace the Next Update Request button with a Done button.',
                        DoubleClickLinkNiComments: 'Double click link - NI comments',
                        DoubleClickLinkNiCommentsTitle: 'Add an image (extra link) to the "not identified" comments. When double clicked it will automatically set and send the UR comment of the '
                            + 'one you double clicked, and then launch all of the other options that are enabled.',
                        DoubleClickLinkOpenComments: 'Double click link - Open comments',
                        DoubleClickLinkOpenCommentsTitle: 'Add an image (extra link) to the "open" comments. When double clicked it will automatically set and send the UR comment of the one you '
                            + 'double clicked, and then launch all of the other options that are enabled.',
                        DoubleClickLinkSolvedComments: 'Double click link - Solved comments',
                        DoubleClickLinkSolvedCommentsTitle: 'Add an image (extra link) to the "solved" comments. When double clicked it will automatically set and send the UR comment of the one '
                            + 'you double clicked, and then launch all of the other options that are enabled.',
                        HideZoomOutLinks: 'Hide zoom out links',
                        HideZoomOutLinksTitle: 'Hide the zoom out links on the comments tab.',
                        UnfollowUrAfterSend: 'Unfollow UR after send',
                        UnfollowUrAfterSendTitle: 'Unfollow the UR after sending a comment.',
                        EnableUrOverflowHandling: 'Enable UR overflow handling',
                        EnableUrOverflowHandlingTitle: 'If this setting is enabled and there are more than 499 URs on the screen, URC-E will attempt to gather more URs and add them to the map, if '
                            + 'they do not already exist.\nWME does not display more than 500 URs on a single screen on its own.',
                        EnableAutoRefresh: 'Enable auto refresh on zoom / pan',
                        EnableAutoRefreshTitle: 'Reloads the map data when zooming or panning to show URs that may have been missed due to WME\'s 500 UR limit.  Will only reload if the zoom level is '
                            + 'between 3 and 10, there are not pending edits, and there are more than 499 URs loaded.',
                        UrMarkerPrefs: 'UR Marker Settings',
                        EnableUrPillCounts: 'Enable UR pill counts',
                        EnableUrPillCountsTitle: 'Enable or disable the pill with UR counts on the map marker.',
                        DisableUrMarkerPopup: 'Disable UR marker popup',
                        DisableUrMarkerPopupTitle: 'Do not show the UR popup tooltip when you mouse over a UR marker.',
                        UrMarkerPopupDelay: 'UR marker popup delay',
                        UrMarkerPopupDelayTitle: 'The number of milliseconds (* 100) to delay before the UR marker tooltip will be displayed.',
                        UrMarkerPopupTimeout: 'UR marker popup timeout',
                        UrMarkerPopupTimeoutTitle: 'Specify the number of seconds to leave the UR marker tooltip displayed, while hovering over the marker.\nLeaving the marker, unless to the tooltip '
                            + 'itself, will cause the tooltip to close.\nEntering the tooltip will cancel the timer and leaving the tooltip will close the tooltip.\nDouble click to quickly close.',
                        DoNotShowTagNameOnPill: 'Don\'t show tag name on pill',
                        DoNotShowTagNameOnPillTitle: 'Do not show the tag name on the pill where there is a tag. Example: [NOTE]',
                        ReplaceTagNameWithEditorName: 'Replace tag name with editor name',
                        ReplaceTagNameWithEditorNameTitle: 'When a UR has the logged in editors name in the description or any of the comments of the UR (not the name Waze automatically adds when '
                            + 'commenting), replace the tag type with the editors name.',
                        UnstackMarkers: 'Unstack markers',
                        UnstackMarkersTitle: 'Attempt to unstack markers by offsetting them. Similar to how URO+ unstacks markers.',
                        UnstackSensitivity: 'Unstack sensitivity',
                        UnstackSensitivityTitle: 'Specify the sensitivity for which markers are considered stacked.\nDefault: 15',
                        UnstackDisableAboveZoom: 'Unstack disable when zoom level <',
                        UnstackDisableAboveZoomTitle: 'When you zoom out wider than the specified zoom level, marker unstacking will be disabled.\nDefault: 3',
                        UseCustomMarkersFor: 'Use Custom Markers for',
                        BogTitle: 'Replace default UR marker with custom marker for the URs with "[BOG]" (boots on ground) / "[BOTG]" (boots on the ground) in the description or comments.',
                        ClosureTitle: 'Replace default UR marker with custom marker for the URs with "[CLOSURE]" in the description or comments.',
                        ConstructionTitle: 'Replace default UR marker with custom marker for the URs with "[CONSTRUCTION]" in the description or comments.',
                        DifficultTitle: 'Replace default UR marker with custom marker for the URs with "[DIFFICULT]" in the description or comments.',
                        EventTitle: 'Replace default UR marker with custom marker for the URs with "[EVENT]" in the description or comments.',
                        NoteTitle: 'Replace default UR marker with custom marker for the URs with "[NOTE]" in the description or comments.',
                        RoadworksTitle: 'Replace default UR marker with custom marker for the URs with "[ROADWORKS]" in the description or comments. Used in the UK.',
                        WslmTitle: 'Waze Speed Limit Marker',
                        NativeSpeedLimits: 'Native speed limits',
                        NativeSpeedLimitsTitle: 'Replace default UR marker with custom marker for the URs with "speed limit" type.',
                        CustomTitle: 'Replace default UR marker with custom marker for the URs with the text in the box to the right in the description or comments.',
                        UrFilteringPrefs: 'UR Filtering Settings',
                        EnableUrceUrFiltering: 'Enable URC-E UR filtering',
                        EnableUrceUrFilteringTitle: 'Enable or disable URComments-Enhanced built-in UR filtering.',
                        InvertFilters: 'Invert filters',
                        InvertFiltersTitle: 'This will invert the filters you select / do not select.\n\nExample: If a filter were to match a selected / enabled setting, it would normally '
                            + 'be hidden.\nBut, if you enable "invert filters", the marker would be shown and all others that do not match will be hidden.',
                        HideOutsideEditableArea: 'Hide outside editable area',
                        HideOutsideEditableAreaTitle: 'Hide URs outside your editable area.',
                        DoNotFilterTaggedUrs: 'Do not filter tagged URs',
                        DoNotFilterTaggedUrsTitle: 'Do not filter URs that are tagged with a [] tag. Example: [NOTE]',
                        DoNotHideSelectedUr: 'Do not hide selected UR',
                        DoNotHideSelectedUrTitle: 'Do not hide a UR if it is currently being selected.',
                        DisableFilteringAboveZoomLevel: 'Disable filtering when zoom level <',
                        DisableFilteringAboveZoomLevelTitle: 'Disable UR filtering when zoomed out wider than the specified zoom level. Set to "0" to enable all filtering.',
                        DisableFilteringBelowZoomLevel: 'Disable filtering when zoom level >',
                        DisableFilteringBelowZoomLevelTitle: 'Disable UR filtering when zoomed in tighter than the specified zoom level. Set to "10" to enable all filtering.',
                        LifeCycleStatus: 'Hide by lifecycle status',
                        LifeCycleStatusInverted: 'Show by lifecycle status',
                        HideWaiting: 'Waiting',
                        HideWaitingTitle: 'Hide/show URs that do not currently need work.',
                        HideUrsCloseNeeded: 'Close needed',
                        HideUrsCloseNeededTitle: 'Hide/show URs that need closing.',
                        HideUrsReminderNeeded: 'Reminders needed',
                        HideUrsReminderNeededTitle: 'Hide/show URs where reminders are needed.',
                        HideByStatus: 'Hide by status',
                        HideByStatusInverted: 'Show by status',
                        HideByStatusOpenTitle: 'Hide/show all open URs.',
                        HideByStatusClosedTitle: 'Hide/show all closed (solved and not identified) URs.',
                        HideByStatusNotIdentifiedTitle: 'Hide/show all closed as not identified URs.',
                        HideByStatusSolvedTitle: 'Hide/show all closed as solved URs.',
                        HideByStatusClosedByTitle: 'Hide/show closed URs that were closed by any of the specified users.\nInput username(s) in text box. Separate multiple entries with a comma.',
                        HideByType: 'Hide by type',
                        HideByTypeInverted: 'Show by type',
                        HideByTypeBlockedRoadTitle: 'Hide/show all blocked road URs.',
                        HideByTypeGeneralErrorTitle: 'Hide/show all general error URs.',
                        HideByTypeIncorrectAddressTitle: 'Hide/show all incorrect address URs.',
                        HideByTypeIncorrectJunctionTitle: 'Hide/show all incorrect junction URs.',
                        HideByTypeIncorrectRouteTitle: 'Hide/show all incorrect route URs.',
                        HideByTypeIncorrectStreetPrefixOrSuffixTitle: 'Hide/show all incorrect street prefix or suffix URs.',
                        HideByTypeIncorrectTurnTitle: 'Hide/show all incorrect turn URs.',
                        HideByTypeMissingBridgeOverpassTitle: 'Hide/show all missing bridge overpass URs.',
                        HideByTypeMissingExitTitle: 'Hide/show all missing exit URs.',
                        HideByTypeMissingLandmarkTitle: 'Hide/show all missing landmark URs.',
                        HideByTypeMissingOrInvalidSpeedLimitTitle: 'Hide/show all missing or invalid speed limit URs.',
                        HideByTypeMissingRoadTitle: 'Hide/show all missing road URs.',
                        HideByTypeMissingRoundaboutTitle: 'Hide/show all missing roundabout URs.',
                        HideByTypeMissingStreetNameTitle: 'Hide/show all missing street name URs.',
                        HideByTypeTurnNotAllowedTitle: 'Hide/show all turn not allowed URs.',
                        HideByTypeUndefinedTitle: 'Hide/show all undefined URs.',
                        HideByTypeWrongDrivingDirectionTitle: 'Hide/show all wrong driving direction URs.',
                        HideByTagged: 'Hide by tagged',
                        HideByTaggedInverted: 'Show by tagged',
                        HideByTaggedBogTitle: 'Hide/show all URs with [BOG] (boots on ground) / [BOTG] (boots on the ground) in description or comments.',
                        HideByTaggedClosureTitle: 'Hide/show all URs with [CLOSURE] in description or comments.',
                        HideByTaggedConstructionTitle: 'Hide/show all URs with [CONSTRUCTION] in description or comments.',
                        HideByTaggedDifficultTitle: 'Hide/show all URs with [DIFFICULT] in description or comments.',
                        HideByTaggedEventTitle: 'Hide/show all URs with [EVENT] in description or comments.',
                        HideByTaggedNoteTitle: 'Hide/show all URs with [NOTE] in description or comments.',
                        HideByTaggedRoadworksTitle: 'Hide/show all URs with [ROADWORKS] in description or comments. Used in the UK.',
                        HideByTaggedWslmTitle: 'Hide/show all URs with [WSLM] in description or comments.',
                        HideByAgeOfSubmission: 'Hide by age of submission',
                        HideByAgeOfSubmissionInverted: 'Show by age of submission',
                        HideByAgeOfSubmissionLessThanTitle: 'Hide/show URs that were originally created less than specified number of days ago.',
                        HideByAgeOfSubmissionMoreThanTitle: 'Hide/show URs that were originally created more than specified number of days ago.',
                        DescriptionCommentsFollowing: 'Hide by description, comment, following',
                        DescriptionCommentsFollowingInverted: 'Show by description, comment following',
                        HideFollowingTitle: 'Hide/show URs you are following.',
                        HideNotFollowingTitle: 'Hide/show URs you are not following.',
                        HideWithDescriptionTitle: 'Hide/show URs that have a description.',
                        HideWithoutDescriptionTitle: 'Hide/show URs that do not have a description.',
                        HideCommentsFromMe: 'Comments from me',
                        HideWithCommentsFromMeTitle: 'Hide/show URs you have commented on.',
                        HideWithoutCommentsFromMeTitle: 'Hide/show URs you have not commented on.',
                        HideFirstCommentByMe: 'First comment by me',
                        HideFirstCommentByMeTitle: 'Hide/show URs where you were the first person to comment.',
                        HideFirstCommentNotByMeTitle: 'Hide/show URs where someone else was the first person to comment.',
                        HideLastCommentByMe: 'Last comment by me',
                        HideLastCommentByMeTitle: 'Hide/show URs where you are the last person to comment.',
                        HideLastCommentNotByMeTitle: 'Hide/show URs where someone else is the last person to comment.',
                        HideLastCommentByReporter: 'Last comment by reporter',
                        HideLastCommentByReporterTitle: 'Hide/show URs where the reporter is the last person to comment.',
                        HideLastCommentNotByReporterTitle: 'Hide/show URs where the reporter is not the last person to comment.',
                        HideByCommentCountLessThanTitle: 'Hide/show URs that contain less comments than the number specified.',
                        HideByCommentCountMoreThanTitle: 'Hide/show URs that contain more comments than the number specified.',
                        HideByAgeOfFirstCommentLessThan: 'First comment less than',
                        HideByAgeOfFirstCommentLessThanTitle: 'Hide/show URs where the first comment is less than the days specified ago.',
                        HideByAgeOfFirstCommentMoreThan: 'First comment more than',
                        HideByAgeOfFirstCommentMoreThanTitle: 'Hide/show URs where the first comment is more than the days specified ago.',
                        HideByAgeOfLastCommentLessThan: 'Last comment less than',
                        HideByAgeOfLastCommentLessThanTitle: 'Hide/show URs where the last comment is less than the days specified ago.',
                        HideByAgeOfLastCommentMoreThan: 'Last comment more than',
                        HideByAgeOfLastCommentMoreThanTitle: 'Hide/show URs where the last comment is more than the days specified ago.',
                        HideByKeywordIncluding: 'Including keyword',
                        HideByKeywordIncludingTitle: 'Hide/show URs that include the custom word / text specified. Regex compatible.',
                        HideByKeywordNotIncluding: 'Not including keyword',
                        HideByKeywordNotIncludingTitle: 'Hide/show URs that do not include the custom word / text specified. Regex compatible.',
                        HideByKeywordCaseInsensitive: 'Case-insensitive keyword matches',
                        HideByKeywordCaseInsensitiveTitle: 'If enabled, searching for the above including or not including keywords will be done using case insensitive searching.',
                        HideWithCommentBy: 'With comment by',
                        HideWithCommentByTitle: 'Hide/show URs that have been commented on by the specified user(s).\nUse a comma (,) to separate usernames.',
                        HideWithoutCommentBy: 'Without comment by',
                        HideWithoutCommentByTitle: 'Hide/show URs that have not been commented on by the specified user(s).\nUse a comma (,) to separate usernames.',
                        ReminderDays: 'Reminder days',
                        ReminderDaysTitle: 'Number of days to use when calculating UR filtering and when setting and/or sending the reminder comment.\nThis is the number of days since the first '
                            + 'comment.\nSet to 0 if you do not use reminders.',
                        CloseDays: 'Close days',
                        CloseDaysTitle: 'Number of days to use when calculating UR filtering.\nThis is the number of days since the last comment.\nExample: If you close 4 days after the last comment '
                            + 'set to 4.\nAnything less than this time will be considered "waiting" as long as there is at least one comment already.',
                        EnableAppendMode: 'Enable append comment mode',
                        EnableAppendModeTitle: 'Enabling append comment mode will allow you to append a comment to the existing text in the new-comment box.\nThe comment is appended with a blank '
                        + 'line between the existing text and the new text.\nThe status of the UR is set to the status of the new comment you clicked to append.\nIf the comment would end up being '
                        + 'longer than 2000 characters, append mode will give a warning and not alter the text in the comment box, but the status would have been changed.'
                    },
                    tabs: {
                        Comments: 'Comments',
                        Settings: 'Settings',
                        Tools: 'Tools'
                    },
                    tags: {
                        Bog: '[BOG] / [BOTG]',
                        Closure: '[CLOSURE]',
                        Construction: '[CONSTRUCTION]',
                        Difficult: '[DIFFICULT]',
                        Event: '[EVENT]',
                        Note: '[NOTE]',
                        Roadworks: '[ROADWORKS]',
                        Wslm: '[WSLM]'
                    },
                    tools: {
                        BackupSettingsTitle: 'Download a backup copy of your URC-E settings in JSON format.\nThis backup can be used to restore your settings to another computer, or in the event you '
                            + 'lose your settings.\n\nNote: Please do not modify the JSON file in any way. The format is crucial to proper restoral of settings.',
                        RestoreSettingsFileError: 'Invalid URC-E settings JSON file.',
                        RestoreSettingsSelectFileTitle: 'Select the JSON file created by the URC-E "Backup" settings button.',
                        RestoreSettingsTitle: 'Restore a backup copy of your URC-E settings from the JSON backup file created with the backup settings button.\n\nNote: Please do not modify the JSON '
                            + 'file in any way. The format is crucial to proper restoral of settings.',
                        ResetSettingsTitle: 'Reset all URC-E settings back to their default values.\n\nNote: Almost all settings default to disabled.',
                        CustomGoogleSheetSignIn: 'Sign In/Authorize',
                        CustomGoogleSheetSignInTitle: 'Sign into Google and authorize this app.',
                        CustomGoogleSheetSignout: 'Sign out',
                        CustomGoogleSheetRevokeAccess: 'Revoke access',
                        CustomGoogleSheetRevokeAccessTitle: 'Revoke access to your Google data for this app.',
                        CustomGoogleSpreadsheet: 'Custom Google Spreadsheet',
                        ConvertCurrentCustom: 'Convert current custom',
                        ConvertCurrentCustomTitle: 'Convert your current custom comment list addon to URC-E style Google Sheet for easy maintenance, sharing, etc.',
                        CreateNewCustom: 'Create new custom',
                        CreateNewCustomTitle: 'Create your own URC-E custom comment list Google sheet for easy maintenance, sharing, etc.',
                        CustomGoogleSheetInfoBox: 'In order for URC-E to create a new Google Spreadsheet within your Google Drive, you must first sign-in / authorize URC-E to access your Google '
                        + 'Drive account.<br><br>URC-E needs access to two sets of permissions for your Google Account. The first is drive.file, which is any file created by URC-E within your Google '
                        + 'Drive. However, this does not allow URC-E to access the main "template" created to copy from. In order to see this template, a second permission of drive.readonly is asked '
                        + 'for. This permission is what causes the "unverified" warning from Google as URC-E cannot become verified due to not owning the Waze.com domain.<br><br>Once you have '
                        + 'created / converted your own static sheet, you can click "Sign out" or even "Revoke access" as URC-E does not need any permissions to your Google account after the initial '
                        + 'creation of the new spreadsheet.'
                    },
                    urPanel: {
                        InsertDateTimeCasualModeTitle: 'Shortcut - Drive day and time (fully casual): Click this icon to insert the drive date into the new comment box at the cursor position.\n\n'
                            + '0 days: this morning, this afternoon, this evening, tonight\n'
                            + '1 days: yesterday morning, yesterday afternoon, yesterrday evening, last night\n'
                            + '2-6 days: Day_of_Week morning/afternoon/evening/night\n'
                            + '7-13 days: last Day_of_Week morning/afternoon/evening/night\n'
                            + '14-20 days: Day_of_Week before last\n'
                            + '21-27 days: three weeks ago\n'
                            + '28-60 days: a few weeks ago\n'
                            + '61-120 days: a couple months back\n'
                            + '121+ days: a while ago',
                        InsertDateCasualTitle: 'Shortcut - Drive date (casual): Click this icon to insert the drive date into the new comment box at the cursor position (full month name, 2-digit '
                            + 'day in locale format).',
                        InsertDateTitle: 'Shortcut - Drive date: Click this icon to insert the drive date into the new comment box at the cursor position (2-digit month, 2-digit day, 4-digit year '
                            + 'in locale format).',
                        InsertDayOfWeekTitle: 'Shortcut - Drive day of week: Click this icon to insert the drive date day of the week into the new comment box at the cursor position (full day of '
                            + 'week name in locale language).',
                        InsertDescriptionTitle: 'Shortcut - Description: Click this icon to insert the UR description into the new comment box at the cursor position.',
                        InsertSelSegsTitle: 'Shortcut - Segment name(s): Click this icon to either replace "$SELSEGS$" (or "$SELSEGS)" with the name of the currently selected segment(s), or\nit '
                            + 'will insert the name of the currently selected segment(s) into the comment box at the cursor position.',
                        InsertTimeCasualTitle: 'Shortcut - Drive time of day (casual): Click this icon to insert the drive date time of day into the new comment box at the cursor position (in locale '
                            + 'language).\n\n04:00am-11:59am: morning\n12:00pm-05:59pm: afternoon\n06:00pm-08:59pm: evening\n09:00pm-03:59am: night',
                        InsertTimeTitle: 'Shortcut - Drive time of day: Click this icon to insert the drive date time of day into the new comment box at the cursor position (2-digit hour, 2-digit '
                            + 'minute in locale format).',
                        InsertWazeUsernameTitle: 'Shortcut - Waze username: Click this icon to insert your Waze username into the new comment box at the cursor position.'
                    },
                    urStatus: {
                        Closed: 'Closed',
                        NotIdentified: 'Not identified'
                    },
                    urTypes: {
                        Undefined: 'Undefined'
                    },
                    prompts: {
                        CommentTooLong: 'Appending another comment to the current text will cause the comment to be longer than 2000 characters, which is too long. URC-E did not append the selected '
                            + 'comment and left the new-comment box with the same text it had.',
                        ConversionLoadAddonFirst: 'In order to convert a custom comments addon script to the new URC-E style Google Sheet, you must first ensure your custom comments addon is enabled '
                            + 'in TamperMonkey and selected in URC-E\'s Comment List settings box.',
                        ConvertCreateCreateCustomSpreadsheet: 'Create custom spreadsheet',
                        ConvertCreateSetProperPermissions: 'Set proper permissions',
                        ConvertCreateConvertCurrent: 'Convert current',
                        ConvertCreateConvertDefaultComments: 'Convert default comments',
                        ConvertCreateConvertComments: 'Convert comments',
                        ConvertCreateSpreadsheetURL: 'Spreadsheet URL',
                        ConvertCreateGoogleAccount: 'Google account',
                        ConvertCreateSpreadsheetID: 'Spreadsheet ID',
                        ConvertCreateSpreadsheetIDCopyTitle: 'Click here to copy the Spreadsheet ID to your clipboard.',
                        ConvertCreateNextSteps: 'Next steps',
                        ConvertCreateNextStepsCreateError: 'Try again. If this error persists, please contact a member of the WazeDev team.',
                        ConvertCreateNextStepsCheckPermissions: 'Check permissions on your new google sheet by performing the following',
                        ConvertCreateNextStepsCheckPermissionsStep1: 'Open your spreadsheet',
                        ConvertCreateNextStepsCheckPermissionsStep2: 'Click <b>Share</b> at the top right.',
                        ConvertCreateNextStepsCheckPermissionsStep3: 'Click <b>Advanced</b> at the bottom right.',
                        ConvertCreateNextStepsCheckPermissionsStep4: 'If the first line after <b>Who has access</b> start with <i>Anyone who has the link can...</i>, then permissions are okay and '
                            + 'you can close the permissions screen and disregard this warning. Otherwise proceed to the next step.',
                        ConvertCreateNextStepsCheckPermissionsStep5: 'Click <b>Change...</b> next to <i>Specific people can access</i>',
                        ConvertCreateNextStepsCheckPermissionsStep6: 'Select <i>On - Anyone with the link</i>',
                        ConvertCreateNextStepsCheckPermissionsStep7: 'Ensure <i>Access: Anyone (no sign-in required)</i> is set to <b>Can view</b>.',
                        ConvertCreateNextStepsCheckPermissionsStep8: 'Click <b>Save</b> then <b>Done</b>.',
                        ConvertCreateNextStepsConvertDefaultsError: 'Your default comments were not set correctly in cells B5 to B22 in your spreadsheet. Check the sheet and update accordingly.',
                        ConvertCreateNextStepsConvertCommentsError: 'Your current custom comments were not correctly converted. You can try again, but if the error persists, please contact a member '
                            + 'of the WazeDev team.',
                        ConvertCreateCompletionSteps: 'After completing the <b>next steps</b> above, follow the following steps to start using your custom comments:',
                        ConvertCreateCompletionStepsStep1: 'Click the $COPY_ICON$ next to your <b>Spreadsheet ID</b> above to copy your spreadsheet ID.',
                        ConvertCreateCompletionStepsStep2: 'Paste the spreadsheet ID into the <b>Custom Google Spreadsheet ID</b> box in URC-E settings.',
                        ConvertCreateCompletionStepsStep3: 'Select <b>Custom G Sheet</b> from the available comment lists in URC-E settings.',
                        ConvertingToGoogleSheet: 'URC-E is converting your currently loaded custom comment list addon to a Google sheet. Please wait.',
                        ConvertToGoogleSheet: 'Convert to Google Sheet',
                        CreateGoogleSheet: 'Create Google Sheet',
                        CreatingGoogleSheet: 'URC-E is creating a custom Google sheet for you. Please wait.',
                        ConversionComplete: 'URC-E successfully converted your currently loaded custom comment list addon to a Google Sheet!<br>Please follow the following steps to start using your '
                            + 'custom comments:',
                        CreationComplete: 'URC-E successfully created a custom Google Sheet for you!<br>Please follow the following steps to start using your custom comments:',
                        CustomGSheetLoadError: 'An error has occurred loading your URC-E custom comment Google sheet.<br><br>Please make sure you have done the following:\n<ul><li>Used <b><i>Make a '
                            + 'copy...</i></b> on the original spreadsheet that was created for you and saved it to your own Google Drive.\n<li>Set the correct <b><i>Custom Google Spreadsheet '
                            + 'ID</i></b> (should be the ID of the copy created in the previous step) set on the settings tab.\n<li>Ensured your spreadsheet is shared to everyone with a link can '
                            + 'view.\n</ul>If all these have been done and you are still having issues, please contact a WazeDev team member.',
                        NoCommentBox: 'URC-E: Unable to find the comment box! In order for this script to work, you need to have a UR open.',
                        CommentInsertTimedOut: 'URC-E timed out waiting for the comment text box to become available.',
                        ReminderMessageAuto: 'URC-E: Automatically sending reminder message to UR:',
                        ResetSettings: 'Reset Settings',
                        ResetSettingsComplete: 'Settings reset complete',
                        ResetSettingsConfirmation: 'Are you sure you want to reset URC-E settings back to their default values?',
                        RestoreSettings: 'Restore Settings',
                        RestoreSettingsComplete: 'Settings restore complete',
                        RestoreSettingsConfirmation: 'Would you like to proceed with restoring your URC-E settings?',
                        RestoreSettingsInvalidSettings: 'Invalid settings removed from JSON file',
                        RestoreSettingsNumOfSettings: 'Number of settings to restore',
                        RestoreSettingsRetainedSettings: 'Retained current settings',
                        RestrictionsEnforced: 'Restrictions enforced!',
                        RestrictionsEnforcedTitle: 'The following restrictions have been enforced',
                        SelSegsFound: 'The selected comment contains "$SELSEGS$".\n\nIn order to replace this text with the road name(s), please\nselect one or two segments and click the road button '
                            + 'in the\nUR panel.',
                        SelSegsInsertError: 'In order to use the <i class="fa fa-road" aria-hidden="true"></i> button in the UR Panel, you must first select one or two segments.',
                        SelSegsInsertErrorHeader: 'Error Inserting Segment Names',
                        SetCustomSsIdFirst: 'Before you can select <b><i>Custom G Sheet</i></b> as your comment list, you must first set the <b><i>Custom Google Spreadsheet ID</i></b> setting on '
                            + 'the URC-E settings tab.',
                        UrOverflowErrorWithoutOverflowEnabled: 'WME will not load more than 500 URs per screen. Some URs may be missing. You can try to enable overflow handling, or zoom in and '
                            + 'refresh.',
                        SwitchingCommentLists: 'Switching comment lists',
                        TimedOutWaitingStatic: 'Timed out waiting for the static list to become available. Is it enabled?',
                        UpdateRequired: 'You are using an older version of URC-E, which has caused an error. Please update to at least version',
                        VarFound: 'The selected comment contains variables: $VARSFOUND$.\n\nUntil these are replaced, the send button is disabled.',
                        WaitingOnInit: 'Waiting for URC-E to fully initialize'
                    },
                    time: {
                        ACoupleMonthsAgo: 'a couple months ago',
                        AFewWeeksAgo: 'a few weeks ago',
                        Afternoon: 'afternoon',
                        AWhileBack: 'a while back',
                        Evening: 'evening',
                        Morning: 'morning',
                        LastNight: 'last night',
                        LastWeekTOD: 'last $DAY_NAME$ $CASUAL_TOD$',
                        Night: 'night',
                        ThisCasualTOD: 'this $THIS_CASUAL_TOD$',
                        ThisWeekTOD: '$DAY_NAME$ $CASUAL_TOD$',
                        Tonight: 'tonight',
                        TwoWeeksAgo: '$DAY_NAME$ before last',
                        ThreeWeeksAgo: 'three weeks ago',
                        YesterdayCasualTOD: 'yesterday $YESTERDAY_CASUAL_TOD$'
                    }
                }
            };
        }
        translations['en-US'] = { ...translations.en };
        await setTranslations(translations);
        if (errorText)
            logWarning(errorText);
        if (errorText && (STATIC_ONLY_USERS.indexOf(W.model.loginManager.user.userName) > -1))
            return resolve({ error: false });
        return resolve({ error: (errorText !== undefined), text: errorText });
    });
}

function setTranslations(translations) {
    return new Promise(resolve => {
        logDebug('Setting translations.');
        const availTranslations = Object.keys(translations),
            locale = I18n.currentLocale();
        I18n.translations[locale].urce = translations.en;
        if (availTranslations.indexOf(I18n.currentLocale()) > 0) {
            Object.keys(translations[locale]).forEach(prop => {
                if (typeof translations[locale][prop] === 'object') {
                    Object.keys(translations[locale][prop]).forEach(subProp => {
                        if (translations[locale][prop][subProp] !== '')
                            I18n.translations[locale].urce[prop][subProp] = translations[locale][prop][subProp];
                    });
                }
                else if (translations[locale][prop] !== '') {
                    I18n.translations[locale].urce[prop] = translations[locale][prop];
                }
            });
        }
        if (availTranslations.indexOf(I18n.currentLocale()) === -1)
            _needTranslation = true;
        resolve();
    });
}

// jQuery function to set cursor position in input
$.fn.selectRange = function (start, end) {
    if (end === undefined)
        end = start;
    return this.each(function () {
        if ('selectionStart' in this) {
            this.selectionStart = start;
            this.selectionEnd = end;
        }
        else if (this.setSelectionRange) {
            this.setSelectionRange(start, end);
        }
        else if (this.createTextRange) {
            const range = this.createTextRange();
            range.collapse(true);
            range.moveEnd('character', end);
            range.moveStart('character', start);
            range.select();
        }
    });
};

// Modified version of uroClickify() -- Thank you!!
function clickify(desc, suffix) {
    const terminators = [' ', ',', ')', ']', '\r', '\n'];
    if ((desc === null) || (desc === undefined) || (desc === ''))
        return '';
    desc = desc.replace(/<\/?[^>]+(>|$)/g, '');
    if (desc !== 'null') {
        if (desc.indexOf('http') > -1) {
            const links = desc.split('http');
            desc = '';
            for (let i = 0; i < links.length; i++) {
                if (links[i][2] === '/') {
                    links[i] = `http${links[i]}`;
                    let linkEndPos = links[i].length + 1;
                    for (let j = 0; j < terminators.length; j++) {
                        if (links[i].indexOf(terminators[j]) !== -1)
                            linkEndPos = Math.min(linkEndPos, links[i].indexOf(terminators[j]));
                    }
                    let descPostLink = '';
                    if (linkEndPos < links[i].length) {
                        descPostLink = links[i].slice(linkEndPos);
                        links[i] = links[i].slice(0, linkEndPos);
                    }
                    desc += `<a target="_wazeUR" href="${links[i]}">${links[i]}</a>${descPostLink}`;
                }
                else {
                    desc += links[i];
                }
            }
        }
        desc = desc.replace(/\n/g, '<br>');
        return desc + suffix;
    }
    return '';
}

// Date to Days, courtesy of URO+. Thank you!
function uroDateToDays(dateToConvert) {
    const dateNow = new Date(),
        elapsedSinceEpoch = dateNow.getTime(),
        elapsedSinceEvent = elapsedSinceEpoch - dateToConvert;
    dateNow.setHours(0);
    dateNow.setMinutes(0);
    dateNow.setSeconds(0);
    dateNow.setMilliseconds(0);
    const elapsedSinceMidnight = elapsedSinceEpoch - dateNow.getTime();
    dateNow.setHours(24);
    const pendingUntilMidnight = elapsedSinceEpoch - dateNow.getTime();
    if ((elapsedSinceEvent < elapsedSinceMidnight) && (elapsedSinceEvent > pendingUntilMidnight)) {
        // event occurred today...
        return 0;
    }
    if (elapsedSinceEvent < 0) {
        // event occurrs at some point in the future after midnight today, so return a minimum value of -1...
        return (-1 - Math.floor((pendingUntilMidnight - elapsedSinceEvent) / 86400000));
    }
    // event occurred at some point prior to midnight this morning, so return a minimum value of 1...
    return (1 + Math.floor((elapsedSinceEvent - elapsedSinceMidnight) / 86400000));
}

// URO+ Alt Markers, courtesy of URO+. Thank you!
let uroAltMarkers = [
    // each altMarker has 4 variants: 0 = normal open, 1 = selected open, 2 = normal closed, 3 = selected closed
    //  0: closure UR
    [
        'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAoCAYAAABw65OnAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94ICBQbMxztFfEAAAAdaVRYdENvbW1lbnQAAAAAAENyZWF0ZWQgd2l0aCBHSU1QZC5lBwAADOxJREFUWMOlWG1sXNWZft5zzj333vHMeJzEcUJid3BJC2WBwEBSE5YOFVACDVkE/lGICqJUaUUlJBapbBex3fzYTasqu9qKbRO2KqGwUhVp2/LR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bCqMf4xOsOPj46a3t1dFUZRwzmMAEYDo8OHDb9Zqtb5CodC2dOnSU3Q/iiJYa5u7du367tTU1ME0TUettRPGmJlMJtPav39/MjIyYs4mA9kf06dBEGjf92OlVMAYmzbGHDfGjL799tv/WCwW6wCgtYa1Fq7rmh07duwYHh4+pLUeZ4xNpWka+L4fV6tVs1Dhf5Iqp/7+fnbgwAGnq6tLLlq0SBKRK4SQWmuRpqlwXdeZnZ1lzWazduWVV5bq4Qz5bhtefvnlPY888sgLAKY45wFjLA3DEEIIvmTJEr58+XKxcuVK1t7eTtVq9WPDQeVymU9MTLjd3d1tHR0dOcZYu7U2L4RoZ4zlXdfNEVGb1jpz8ODBuFgs+p87/y+KR44cGbnvvvt2aa0bjLGEiBgA1/d9XymVSZLEB+AGQSA8z8Pq1avt8PDwqdAsBHFyCJJxHKeglOqQUnZwzjvSNO0gokKapu2Msby1dqXWeunevXuDSy+9tGvLli17q9UqALjzElFYa9ustVkAbZxznzEmpZRcSmniONZLly414+PjH9WifX19kohyRNShlOpwHCcLwE/TVEopHSLiSZI41toeAHmllC+EEFprY62NiaghhJhkjM1YaxXnXBFRmqZpLKVshmFYdxxnRkpZC4KgeVKd0xlJ6lx11VUZALk4jnOO42SIyLPWOlprQUScMcaIiGuthRCCExFP09RYazXnXFlrtbVWE5ERQigAKo7jxFobpmnaVErVrbXNoaGhk4LYntYx+/v7VbVaDYMgMHEcx77vy9nZWeF5nsMY41prprWGEIIJIVgcx2StJSKyrutaIrJaa6OUsp7n2TiOldZau66riCglojhN03j+zjBnGw2cKqFSqcSnp6f54sWLWS6XY0EQ8FwuR0op0lrTfGl+tNQ4P5X1YRgazrn1PM8MDw+b3t5eU6/XdWdnpzmzYdEnzLJovmxRrVZPGxl+0jo5Uuzv78euXbtOGjzrJO9/AY65x5+HQa7wAAAAAElFTkSuQmCC',
        'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAoCAYAAABw65OnAAAAAXNSR0IArs4c6QAAAAZiS0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Wu69o4jo0uadtebd8MYnp6WhFRBkDAzKEQIgCQNcb4SilfKeWmaepKyCEDk+kkHWV/YK/oho7LqmwlpBVCpAA0M0sppVRKSWOMcByHkyQxQojEdd3E0166srJyk1gJAM7x48ezAMI4jkPHcbJE5DOzY4xRRCSFEIKIpDFGLdpFCUBmbMaOyBEjpdTMbJjZEJFVSmkAOo7jhJl7aZp2tNYtZu7Mzc31t2m988CDT506pavVai+KIhvHcZzJZNxms6l833eEENIYI4wxUEoJpZTgNhMYFKiAHcdhImJjjNVas+/7HMexNsYYz/M0EaVEFKdpGm/tGfY9FRMATU1NyXq9LgcHB0UYhiKKIhmGIWmtyRhDALB9v4HlUl5nfa/Xs1JK9n3fLiws2MnJSdtqtczw8LDdKdnve2a1E9SpU6dQrVYpiqIPfFQShiFXKhU+deoUHn/8cd4h6jeJ1f8BAWtBUuBJuZIAAAAASUVORK5CYII='
    ],
    //  1: roadworks UR
    [
        'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAoCAYAAABw65OnAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94GCAc3MvOL7YEAAAAdaVRYdENvbW1lbnQAAAAAAENyZWF0ZWQgd2l0aCBHSU1QZC5lBwAACsJJREFUWMOlmHtsHVV+x7/nMWdm7r1zH45zvXnYuQFCQ0ikJC6JTEC9RbRg+AOpqf9KJdqKBFb9gy1/rlYrFgmhVuIhVSgbpF0WqyAoEivEsqtNUDMtCaAUV9k0BkKcteXYvbGv7VzfudczZ2bOOf0Dm80mfm33SPPPzJlzPuec3+P7OwR/eKMASLVaJUEQkKWXnucZ3/cNAANA/yEDknX2IdVqlY6NjfFKpcLTNLXCMGS2bdNms0ny+byRUmrXdRXnPBkbG0srlUrq+75ehDKrTcDWmJz29vZyrbWTz+eznuflwzAsaq1LADo45yUhRIlSmldKeUqpjJTSKRaLQinFkiQhO3fuNLVa7f+1E6RarTIpp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ob4cEuw+j+lA177aXrCYwAAAABJRU5ErkJggg==',
        'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAoCAYAAABw65OnAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wArIQOxXgAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94GCAgBKxWgkwkAAAAdaVRYdENvbW1lbnQAAAAAAENyZWF0ZWQgd2l0aCBHSU1QZC5lBwAAClpJREFUWMO1WG1sXMW5fubjzPnYPetd43iTOHaWfCgmTkQSm9waI90jSgmEH/2R+k9BoEpUoWolVNT+Qai0tAipUkDqFffeVP24lIKIkFohBLQJlG1JSGvFNIUGEurUp8Guk2xsb/Z4fXbOOTPTH7VpGhKT9Jbn19HRvDPPvPO+7zzvEFw9KAASBAGJoogs/vR931SrVQPAANBXMyG5wjEkCAIahiGvVCo8yzIrjmNm2zZtNBqkUCgYKaV2XVdxztMwDLNKpZJVq1W9QMostQD7mMVpf38/11o7hUIh5/t+IY7jota6BKCdc14SQpQopQWllK+U8qSUTrFYFEoplqYp6e3tNVNTU/+SJ0gQBExKaQFwGWN5rXVh+/bt3Xfeeednenp6BvL5/FrHcToopUJrnbRarXNzc3MnT506deSZZ545MDIy8gGltKGUmgMQ27adVqtVdSmvXIoE6e/v547jOK1WK29ZVvGOO+7YcM899+zu6uq6hVLKL7ejOGnCFTlorbPJyclXn3rqqb0vvfTSiTRN647jzLVardbo6Gh2MRFyKQKcc9e27bYkSZY9/vjjd23fvv1LhBKHEnrFwaaNhtGmNTIy8j8PPPDAT4UQNSnl+SzL4ouJkIuPIE1TlxBS8jxvxd69e79RqVR24v+JMAxf3r179yPz8/NTxphZy7Liyx0NK5fLucHBwa6hoaGB8fHxl82/EePj4y8PDQ0NDA4OdpXL5dyFSbH4QW6//XbL8zxfStn5xBNPfGHz5s134t+IYrG4vre3V7744ovHOzs7k02bNqVjY2P6QxJBEPDZ2VmPMdZ+6623brnrrru+vVQA/qtYuXLllomJiTfHx8enG41Gs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EtCCAXgBUEQJEmSklIGALwoirjv+9i1a5ddanzsjRBXhyApx3FySZL0uq7byxjrVUr1EkJySqkspTRjrV2bQ25g6p9TUXhnWMDP8PxIewQAPABgjHFrbdpa2wMgzRgLKKWu67rMdV0jhNADAwPXGuM3xwRZKnq5tdahlPrW2gBAYK11KaWO53lMSulYawNCCC/aouXf4n/RWhttNSOEeEuektZahzGWMMaUUoo5jmPjOFaUUsd1XdbtdpedT1AAzr59+1IAQiFE6DhOihDiW2sdrTUnhDBKKSWEMK0155wzQghTShlrrWaMJdZaba3VhBDDOU8AJEIIaa2NlVKdJEla1trOq6++2sWVQtC+2RN2bGwsqdVqcRRFRgghgiBwm80m933foZQyrTXVWoNzTjnnVAhBrLWEEGI9z7OEEKu1NkmSWN/3rRAi0Vprz/MSQogihAillLhSFMDcNGMuDUrY3Nwc6+/vp2EY0iiKWBiGJEkSorUmAHD1eV2UM3Yt6uM4Nowx6/u+mZycNMVi0bRaLb1q1SpzKxnzzetk6dqiVqtdNzJ8O10dKY6NjeHxxx+3b8oPb0lW/wMlRCCqsKHLVAAAAABJRU5ErkJggg=='
    ],
    // 2: custom keyword UR
    [
        'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAoCAYAAABw65OnAAAABmJLR0QA6QDsABRmpeNoAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIPABMrNWBKxgAACSBJREFUWMOtWF1oHNcVPvdn7szsala7smxF2JI39kOdqgRbMnYUBTqE9EHJQx+E8pKQvDRtQzGBQCAJoRRTE3CCXkowJiFJTQMhSmleaj84JgNxMBiJtOCfOFjR4spVpJWslUa7s3fuz+lDta4irf5CDwy73Hvnnm++8917z7kEdm4UAEgYhiSOY9JoDIIAoyhCAEAAsDuZkGxzDAnDkJZKJV4sFrnW2kmShLmuS5eWlkgul0MppfV933DOValU0sViUUdRZFdA4WYO2BbOaV9fH7fWerlcLhsEQS5Jkry1tgAAbZzzghCiQCnNGWMCY0xGSunl83lhjG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//UWidJkqgrV65YGoahEUJIQkjt3Llzl40xsvHyToFsBQAAQGstz507d5kQUhNCyDAMDY2iyLqumzLGqlNTU9PXrl2LVk+yGZDGZrWZYNfmGdevX4+mpqamGWNV13XTKIosBQCMokhVKpWqUmphZGTkEyllvB0gHe1z959mfdb+MPOXUsYjIyOfKKUWKpVKNYoiBQBIV05B3draWuOcVyYnJ0ujo6Pv45pP2EloGgys3rIREUdHR9+fmJiY5JxXWltbawCgAQAbSav96quv0r6+viVK6cyZM2cutrW1FScmJn554sQJAACo1+v3J95KhGsZGBsbg3q9/rczZ85cVErNWmuXxsfH00aR1MisEAAUANSy2ey8UuruqVOnPujs7Pzr119/DZcuXQLP89YxslYTzRgAALhw4cLsCy+8cEFK+e9sNjsPALUVfwgAsDp9xyAIUgBY5pyXEZF89tlnHz788MN3bty48eL09LT39NNPg7W2KSPNGHjzzTdtW1vbhZs3b54tFApTADALAMsrfnDDlH8l5fLiOA56e3vbjTEdLS0t+x3H+dXbb7/9yHaz7ddff/3a8vLynxYWFr6bmJiYSdN0LgiCGADqazNtslH1FcexeOihh7JpmuZd122bnZ3toJR2ZTKZlz/99NMDG9Udr7766mK1Wv3D4uJi6dtvv/1eSjkfBEGlVqtVgyBIm6X6zaopXBkogyCwlUpFua6b5HK5GiLWFhcXT73yyit/fOuttzobGmlYpVKpOI5zcmxs7JYxZhoA5gEgZozVx8fH1YoQsVmZv2FpGMex8X1faq1jzvk8AHxvjJm6e/fu6TiOFxERjDFgrQVrrX333Xc/iKLotjFmmlI6p5SKfd+X5XLZrq7wt6rKyfDwML1x44bT0dEh2traBCHE5ZyLWq3Gq9Uqp5Q6lUqFVqvVxUcffbRvKVkgvpuFL7744uI777zzOQDMMcZiSqlKkgQ456y9vZ11dnbyffv20dbWVlIul3EjECQMQzYzM+N2dXVlC4VCQCltRcQc57yVUppzXTcghGSNMZmbN2/KYrHo//TQz4p37twpvfTSS6PGmGVKaUoIoQDg+r7va60zaZr6AODGccw9z4PDhw/j7du374dm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DcCiuxWrraXKCQd6FonNoP3Q4HB/h93to30H/cehooLUwtxrz+HnAhbkHRRLUw+LbIpKgJfgpiLdnkb5NwrQ2rojKuDpaBb8rBchh/D6Cfmn1LJg5Dm0JrciTGVYqIgFuV8YJ3LJFnBvyTYOS24l+42B+U7BYLDuFT/NJjMLkI/y9F6s3oWWpRvcVMCg5hpcpzmMlz9XTDYw1EggJzujfqQwGg0YkGGbPNJqQVhKffzKoUIhWSGawj8LtyXn0v/jkIO2MRBLWWq6gCAut+2QYS4Jf78SWj5oj/gVbNsLdh171HgAAAABJRU5ErkJggg=='
    ],
    //  3: note UR
    [
        'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAoCAYAAABw65OnAAAAAXNSR0IArs4c6QAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94IGgkcJD6RqcYAAAqKSURBVFjDpVhbbBzXef7OZW67O8td6kpLpDaWXUmNZFhkI5WWgS5cVQAl50lggMBN3AZyCr1UsZ8c9sWRgQouXPuhcArXQKwqtYGYLuwEaWrYDjytCDEiLKWtKIliSXErkViRa1LLHc7OnJk55/TBpCJRVKzL/3gwM/833385//cT3LtRAKRcLhPf98nSoeu62vM8DUADUPfyQXKXz5ByuUwrlQovlUo8TVMjDENmWRZtNBokn89rIYRyHEdyzpNKpZKWSqXU8zy1CEr/PgfsK5zTrq4urpSy8/l81nXdfBiGBaVUEUAr57xommaRUpqXUrpSyowQwi4UCqaUkiVJQrZu3aqr1ep9MUHK5TITQhgAHMZYTimV37VrV/szzzzzZx0dHX+Uy+U227a9mlJqKqXiKIq+WFhYGL9y5crn77zzzidDQ0NXKaUNKeUCgNCyrMTzPLkSKyuBIF1dXdy2bTuKopxhGIUDBw5sefbZZ/9qw4YNeyml/E5/FMYBHDMLpVQ6NTX16T8fP/7mv/3qV5eSJKnbtr0QRVF05syZdDkQshIAzrljWVZLHMdrXnvttT/ftWvXYUKJTQm962RTSkJrREM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Q5whPSJMZhZh8EhQaYttNLMLBgSCb2QMix4QQMhyRpSKScsiSH2DZsKoRw1rhrZNSMFhwNCADOzTffnAUQxHEcOI6THaKhDDM7bFiBIEmQAEFaY1WkIplQIpHCgmEgocEwLrsGBEuKNIE0x5wEHDQ45Xqn7qwxc/3AgQPNuTqYT2eC+/v7dbVabURRZOM4jn3fdzumOtRYZswRQkg2LGAAUiSUUiIf5yniiBJKGB6YiNg1rmXNLDKCbWw1GzZFr6hBSLupO66n9XhunDJvE7TQkKy3t1eOj4/LtrY2EQSBiKJIVoMqsWayxhIAsOH5vTXUECNGRmbmrd42rIUEFzNFmx5K7apVq2ytVjMdHR327LERfcwsi+bcFtVqlQaigXOOSpZi6RnfgyDgSqXC/f392LFjB58W4D8UL/4PSNDiAHrjbwQAAAAASUVORK5CYII=',
        'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAoCAYAAABw65OnAAAAAXNSR0IArs4c6QAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94IGgkfK4UD55QAAAnbSURBVFjDrVhrbBxXFf7uvfPaXc9616+NEztZO46c5lFInDa4DWIVhUdbUIHKqKiCUtQWEKIIJIQEQm0jkCqeP+AHET8KEpWACCp+UApJwRKlafNommeT4job1+l6vfZ6vbO7s7Nz7z38yNokrk3T1ufPSDN35nznO9+ce85leOfGAbB0Js0CL2AePACA4RpUGi0RAAKg38kH2Q2uYelMmpeyJSOejhskyQz9UFTsCtdlzXicEwWkRUQoGAgb2YZ00o4sjZZ0ExT9PwfibZzzoaEho6zLjhW3YqZrxkM/TGitk2WU22AgySyWBEecFLla6agOtCMSwiJFgkJi0c1RauQa74oJlslkRBAE5gQmIhBoIU3xjls7ehP3JT5cXF/cdb7l/Ebt6A5wWNBo8DqfsSrW67GJ2HE8hUP1o/U3GGdlpliFgfltdluYHc2q5VhZDgTrHuo2hCMcWZctnuklondFB3vv7/3SqXWn9imujBVDagCwAGjI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mjPcI/dubXTXOjylx0DM5mMyOfzdm9vbyyZTLqc89Y5moszg7WCIy5s4YIhppWOVl+tBuvS6yLFzcV090R3tvr16kEoVDjnjS1sCy+iaIuIiGipo7IhIwDswAsMwzGw5v1rqDhW1EsnMADg2WzWSKfTUdM0E1LKpGVZyTbRliyEhSQYEipUrcQprkj1aKW7as/XPHeHm8J+PN8oNADAHsAAhBBGK7XGilRsIVCMCRYBhyUsIYQltAqU2tS1SedyuavN1LVMDA8Pc8aYQUQm59whogiASJrS1mV+2eQ2F6qhTCKKgMFQviL9Ff0sFDQIop/128QoppRqEJE5IAYkEywMw1BYpkW+74cmN03LsoRX95btizgAc8+ePVEAbhAErmmaUcaYQ0SmUsrIsqxgnHEwCK20wQ0uwCB0qHUf9SkhhCQiRUSKMaYNw5AAZBAEDSLywzCsSinLRFQ9d+5cvSlrupYJGhkZkYVCwfc8TwdBEEQiEatUKhmO45icc7FeredQgGEYXBiCB0HAiIgxxsi0TWKMkVJKSynJcRwKgkAqpZRt25IxFjLGgjAMg+ZxyqIm2HKHZENDQ2J2dla0t7dz13W553nCdV0mpWRKKQYAC9frio4QizXA930thCDHcfTY2Jju7+/X5XJZdXZ26tHR0betmFjSO7GRkREUCgXmed4NH5W4rkujo6M0MjKCgwcP0jXN31uK1X8B9tS5wV4E/YMAAAAASUVORK5CYII='
    ],
    //  4: event UR
    [
        'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAoCAYAAABw65OnAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94ICBQjDyQd1Y0AAAAdaVRYdENvbW1lbnQAAAAAAENyZWF0ZWQgd2l0aCBHSU1QZC5lBwAADRJJREFUWMOdWGuMXOV5fr7Luc7O7Myud3zD62XBxmmAGpu4rE3KqJCkNkKVsNympQktP2ijBqlQpYQikTa4qSqUVX4QESjEwRQJgVAoN7dxRKfF4GJuDmGJVzbJ1Lf17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d3e73R92Op0PkySZiKJoWmvdCoJAXUiFXVCL1mo1mpiYcMPDwyZN00wIoQCkjLH0yJHD77TbnZFisZgrl8tIuy2EcQ/SNIXOss5z//b838/Mzv5Ma32ciCadc7NxHHf379+fLYaALiTzP1YatlotG0WRMsa0OOcN59wpxvjxgwcP/tPQ0FATAKxzICIEQeAeeui7j9SOHh231k5wzqe11q0oilS9XndnK/xPUuVsx44d/IMPPvCWLl3q9/X1+YyxQErpW2ul1lqGYeQ1GtM8SdL5zZs3b5yaOcn6igN45ZVX9j744IM/FkJMCyFanHOdJAmklGLJkiVi+fLl8qKLLuK9vb2sXq9/bDhYpVIRk5OTwapVq3KlUinPOe8looKUspdzXgiCIM8Yy2lt4kOHfqaGhi6O1l6ydujEsaO1v77zzmcY423OecYY4wCCKIoiY0ycZVkEIGi1WjIMQ6xfv54Whc95JXp6CRJ7nlc0xpR83y8JIUpa6xJjrKi17uWcFxhjF+lMlV97/fXW+qvWL935j9/ad2piAkLIAACEEJKIckTUAyAnhIg4577v+8L3faeUsuVy2U1MTJwPYmRkRDLGIgA5IspzznMAYmttKKUMpZS+1tonoiXOuUgbLX/07z/6eb0+pQjMMcYc51wDMEQkhBBCSimstdzzPMqyzHLOM9/3syzL9MTEhDtXlXMA3rXXXhsDyCul8p7nxYyxkIg8a61kjAnOOWeMCWutZIDgQgiVpk5IaYUQhogsEVnGmJNSGgBGKZURUaK17hhjmkTUGRsbSwFYAHT2woN27Nhh6vV60mq1nFJKRVHkz83NyTAMPc65sNZyay2klFxKybudzkKHIkehFxFjjKy1zhhDYRiSUspYa20QBIYxphljSmutAGSLyzW64JJkcVEiGo2G6O/v5/l8nrdaLZHP55kxhllr2SJZZUQO1lgwxiCkhBDiTNYnSeKEEBSGoTty5IgbHh52zWbTDgwMuHMbFvuEXRZbLFvU6/WPrAxPPzpTkJ7/Ed5w9kpxx44deOaZZ+isQXles/o/KhD5gMjJ8lsAAAAASUVORK5CYII=',
        'data:image/png;base64,iVBORw0KGgoAAA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4772P49gRkSUiY601o5YWrvY0cPGR7Pbbb5crKytyYmJClMtl0ev1ZLlcJuccee8JALz3xBzgnQcRQSoFKeXFrE/TNEgpOUmScPr06bBz587Q7Xb91q1bw+HDh/2HPZJctVeMyhatVot6vd4V39vcQOloneBsWuVymQ8fPsyzs7N47rnneNN0uaJf/A82dYTLDshwfwAAAABJRU5ErkJggg==',
        'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAoCAYAAABw65OnAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94IDhUyEjBrr68AAAAdaVRYdENvbW1lbnQAAAAAAENyZWF0ZWQgd2l0aCBHSU1QZC5lBwAADEVJREFUWMOdWFuMG9d5/s5lzsyQnF1y75JW1lp2LVmSoctWdWQpCKM6CBTXsB+6RdP2xUCbom2A9KFJW0N12qRXpGiDFg3iPNhNntoKdZECSWDYqInA0gJWZEW2ZFuxIlGyDGqX2huHS86c298HcqWVLDVKzwvJwZnzf/y///L9h+HnXxwAq1arLE1TtvYwSRKq1WoEgAD4n+dAdo97WLVa5fV6XU5NTUlrbdDtdkUYhrzVarGBgQHK89zHceyklKZer9upqSlbq9V8HxT9XwbEzzDOp6enpfc+GhgYKCZJMtDtdsve+wqAISllRSlV4ZwPOOcS51whz/OoXC4r55wwxrDt27dTo9H4f3mCVatVked5ACAWQpS89wPtne3N5afKn1ocX/zFeTX/wJJYGjHcqMAHuuIq18f02E+H5oZ+tO/Vfa+88cYbH3DOW865NoBuGIamVqu5O3nlTiDY9PS0nBNzkc1siQWsPPnLk9vcU+53zwyeedxxJ+/6lwyAABBe2N0ru18V3xXPix+K88aY5SiK2lmWZadOnbK3A7mdDrZh9wbZZu2YS1728OMPHn3wmdOHT//t1fjqduLEcQ/kEiPeiBoPLuxeeHrzw5v95R9evjQajnoichMTE77RaNDdPMGq1aowxsSMscoVcWXDyF+OPPfm8JufuecwbwON0mvIVq6BbA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lJJ3Op21aKcoiogxRs45b62lKIooz3PrnHNhGFrGmGGM5caYvJ/Y/k5XAzdSaHp6WiwsLIjh4WGeJAlP01QkScKstcw5xwDAOceICK6vyoUQEELciPput+uFEBRFkb9w4YLfunWrb7VabnR01N9LxVz/nPXTFs1m85Yrw7VlrYEQsn8VcHOtXSnOzMzg2LFjtK67fKRY/S+/aHnarDBImQAAAABJRU5ErkJggg=='
    ],
    // 5: WMSL/SLUR UR
    [
        'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAoCAYAAABw65OnAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AMcDyEjolsAeQAADIlJREFUWMOdWHtsVNeZ/51z79zHzNzxjPELGxsTGi3Edgo2C54QaScsOIr4D0KkNBV005V2V60UUSkSpJVIokZES+RUiqLdKiuF0ICQwnYR0gYqiDJtiLzOBlgvr0CdMPUD1x6/xnfGM/dxzrd/HNsFAk26V7qaufeec77vfN/v9z0Ow19+cQAsk8kw13XZ4kvHcSibzRIAAiD/kgXZtxzDMpkMz+Vyemtrqx6GYaRcLmumafK5uTmWSCTI8zxp27bQdT3I5XJha2trmM1m5YJS9OcEaN8gnHd1delSSiuRSMQcx0mUy+WklDIFoFrX9ZRhGCnOeUII4Qghop7nWclk0hBCaEEQsDVr1tDY2Nj/yxIsk8lonudFANiapsWllImNGzc2P/fcc9taWlo2xOPx1ZZl1XDODSmlX6lUJovF4pdDQ0OfHz169Oxnn302zDmfE0IUAZRN0wyy2ay4n1XupwTr6urSLcuyKpVKPBKJJLdv3/5Xe/bs+YempqatnHP9QTsq+yXYRgxSynB0dPTce4cP//I/P/zwRhAEs5ZlFSuVSuXChQvhvYqw+ymg67ptmmaV7/u1vb2939+4ceM/Ms5MDsYAMAgBVCrqnp8HolHAttUvU0tKKUCEymeffPIvP9m//33DMPKe5xXCMCzfq4h2rws457amaSnbthsPHz78SkdHx/cZYxqXpGFujiGfB4aGgJER4Pn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ESCiARjTOq6HgIIPc/ziagcBEEpDMM5IipdvXq1AkAAoLsi5q5du8J8Pl92XVd6nufZtm3Mzs7qlmVFOOeaEIILIaDrOtd1nXuex4iIMcbINE1ijJEQQoZhSJZlked5oRBCmKYZMsYCxpgXBIEHwF84XKP7RsyFgxJtampKW7ZsGXcch7uuqzmOw8IwZEIItlCsfp1qmraE+nK5LDVNI8uy5ODgoHzooYfk3NycqK2tld8mYt75ni3QFvl8/q4jw2+6Fo8Ud+3ahQ8++IDuSJRfC1b/B2Hl0dTSD/k0AAAAAElFTkSuQmCC',
        'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAoCAYAAABw65OnAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AMcDy0ArIk+BwAAC8FJREFUWMOdWH9sVNeV/u599/2amTeeMTY2EBuTNFoIdgo2C3aItBOWTRXxXymRUiropivtrlopolKkJK3UJEqEtI2g0irarbJSCA0IKWwXVdpAS6PMboi8zgZYNvwIyAlT/2AKg+2ZeTOeee/d+87+cW0XiEnIHulp5j3de8+555zvO/dchq8vHADL5XLM9302/9HzPMrn8wSAAMRfZ0F2j2NYLpfjhUJB9PT0CCml2Wg0DNu2ebVaZel0moIgiF3XVUKIqFAoyJ6eHpnP5+M5o+jLFBhfoZwPDAyIOI6ddDqd9Dwv3Wg0MnEcZwG0CiGylmVlOedppZSnlEoEQeBkMhlLKWVEUcRWr15NxWLx/+UJlsvljCAITACuYRipOI7TGzdu7Nq5c+dfdXd3b0ilUg84jtPGObfiOA6bzebNWq322djY2MeHDh06+dFHH41zzqtKqRqAhm3bUT6fV4t5ZTEj2MDAgHAcx2k2mynTNDPbtm37s927d//tihUrtnLOxd121AjrcK0k4jiWk5OTv3/rwIFf/vu7716OoqjsOE6t2Ww2T58+Le80hC1mgBDCtW27JQzD9n379n1v48aNf8c4szkYA8CgFNBs6md2FkgkANfVv0wvGccKRGh+9MEH//Tj559/27KsUh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FKpVaapvk3r7322uC9EuYLL7xwvlar/ePMzMznn3322fUwDG96nucDaN7ZBLG7dV++71tr1qxJhmGYsW279caNGx2c865EIvHjo0eP3n835c8991ylXq+/WKlUCleuXPljEARTnueVZ2dn657nhYt1YYuWxkKhQMViMW5tbZWTk5NhpVIJLMtqapQ1//eTTz7Z+Pjjj3t3ziuXy+WRkZGXT506dblUKk0Q0fU4jmcSicTs8PBwWCgU4sXaQP5l/anv+8p13UBK6QshpgD8USk1MTk5+Q++71eICEopxHGMOI7jN9544818Pj+qlCpyzm9GUeS7rhuUSqX41g7/q7pytmPHDn7x4kWzo6PDam1ttRhjthDCmp2dFfV6XXDOzXK5zOv1euWRRx4ZqDZmmGsn8f777598/fXXfw/gpmEYPuc8ajQaEEIYbW1txrJly8R9993HW1paWKlUums4WC6XM65fv253dXUls9msxzlvIaK0EKKFc562bdtjjCWVUolLly4FPT097kOre3vGxsYKzzzzzDtKqRrnPGSMcQC267qulDIRhqELwPZ9XziOg3Xr1tFc40N3GjF/CZIwTTMjpcxalpU1DCMbRVGWMZaJoqiFc54movuUUktPnTrlr1+/vuPll18+VSqVMEfDMAxDEFGSiFIAkoZhuJxzy7Isw7KsOAgCtXTp0rhYLNKd6DCGhoYsxpjHGMtKKbOmaaYAuFEUWZZlmYwxIwxDk4i6AaSllK4QQiilYiIKGGM1IcQNzvkMEUnDMCRjLIqiKLAsq95oNKqmac5YllXxfb8+352zO5LUfPTRRxMAvCAIPNM0E4wxh4hMpZRgjBmcc84YM5RSQghhMMaMKIpiIlKGYUgiUkSkGGOxEEICkEEQhETUiKKoLqWsElH9woULTQAKAN3GmDt27JClUqnh+34cBEHguq5VLpeF4zgm59xQSnGlFIQQXAjBgyBgRMQYY2TbNjHGSCkVSynJcRwKgkAqpZRt25IxFjHGgiiKAgDh3OUaLcqYcxclxtTUlLFkyRLueR73fd/wPI9JKZlSis0dVr8INcNYyPpGoxEbhkGO48Sjo6Px/fffH1erVdXe3h7fC2Pe+p3NwRalUum2K8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ABJRU5ErkJggg==',
        'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAoCAYAAABw65OnAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AMcDzgGcl99JgAAC2JJREFUWMOdWG1sHNd1Pfe9N29mdneWuyt+6YM2RVmmhAitTQpJWRnNOrCRuI2B1gjRtOgfowWCoi2KBmjTBCgaJzUCB2gbNA6aNgWcP01aKI4BF24SWE63iBHWstzKcaXYMimtRdIUueLXDndn38z76I9ZMbIi2XLfnwEGM++ee+695777CO9/MQBUr9cpjmO69jKKItdoNBwAB8C+nw3pNr+her3Oms2mGB8fF1prL0kS7vs+a7fbVC6XnVLKhmFohBBZs9nU4+PjutFo2D4o924G+HsYZ9PT08JaG5TL5WIUReUkSSrW2iqAmhCiKqWsMsbKxpjIGFNQSgWVSkUaY3iWZXTkyBG3srLy/2KC6vU6V0p5AELOeWkxa5b3HR8ZOzA7/GBnf/v4Znj10I5sD2qWSWG9tJSWr1aTwYXicvnM0sm1598+s7o45o23jTE7ABLf97NGo2FuxsrNQND09LQIgiDo9Xolz/Mq4YN8MvpN71MXh3/6gGFG3MojlzqQJHDL9cTa0VPxv6T/kJyyb2RZthUEwU6v1+u98sor+kYg/GYAhBCh53mVZbM4cvTxOx59++E3v9SKViYtWQaAYAAkDogdsOGALN+TfAIIcOTYRmHtrvSDO78+fviAvfCfly7V5B7rnDOjo6N2ZWXlliCoXq9zxljIOa+uyKV9v/C1g49duPsnv2PJcmcdR+wIVx2wbIBlC/xxBzipgO+nwN0c6PZ99AnggGFGtA5cmflANDqG89F/W+e0EEIfOnTINJtNdzMQPEmSoFKpDCzby6PHnhx/bH7/+YfIElzXclyxwBsG+Ksu8IwCnk2BNQus2pyRRgY0UuB7KfCLAigS4OXMbByJDw/vL+zf+UHvtLU2m794UXc6nd38uAaCHnroIa9QKESXu5eGj3/pA49emHztt8mScx3LsGyBz+wAzypgyQJvW0ADCAkYZY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aYt7W1xVhXbKfH42nTc8QkYWRu/PlL31g+NcAqVznnMWMsS5IEQgg+ODjI9+7dKw4cOMAGBgao1Wq9+xi4urrqj42NFavVasQYG3DOlYUQA4yxsu/7EREVjTEFetNTpbFC2LurPV5ZHmo2P7t2EhY7VVFLiYgB8MMwDLXWhTRNQwB+HMciCALcc889rj/4/FyJXrsEKXieV9FaV6WUVc55NcuyKhFVsiwbYIyVnXMHjDHD/HQY/9Mvf2vk/JcvvqjXLQZYxQcAzrlwzhWdcyUARc55yBiTUkoupbRKKTM8PLw7GL9jepiZmZFEFBFRVWtd9TyvBCDMskxKKT0i4mmaes65OwCUtdahEEIYY6xzThHRjhBijTG26ZzTnHNNRFmWZUpK2UmSpO153qaUcjuO4861awK6IUm9++67rwAgUkpFnucViChwznnGGEFEnDHGiIgbY4QQghMRz7LMOucM51w754xzzhCRFUJoAFoplTrnkizLOlrrtnOuc+7cuV4/rd31Fx5udnZWt1qtJI5jq5RSYRjKra0tEQSBxxjjxhhmjIEQggkhmFKKnHNERM73fUdEzhhjtdYuCAKnlNLGGOP7viaijIhUlmWqf/bazQm62SXZ9PQ0X19f53v27GFRFLE4jnkURaS1JmMMAcC15zuynPPdrE+SxHLOXRAEdn5+3k5MTNh2u22Ghobs7Sjm9e+pX7ZotVrvuDJ8zyGsf6U4OzuLkydPuusa5c+J1f8BY+LHisG7qnkAAAAASUVORK5CYII='
    ],
    // 6: Elgin MP
    [
        'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAoCAYAAABw65OnAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wcCFBsF9eYkeAAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAABmJLR0QAAAAAAAD5Q7t/AAAKrUlEQVRYw61YCVSTVxZmqVKxBW2nQ91xWu0idbSAsoVAyEJiSCCbBAgQIOwQWVzYRBRGRFHUWtS2lI46CohKRapllR1cWETFUj3Wnnbqru24Q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5w5w+/Xi/8fCSWMwsZGkj4AAAAASUVORK5CYII='
    ],
    // 8: TrafficMaster MP
    [
        'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAoCAYAAABw65OnAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wcHFRsCXZ4r3gAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAABmJLR0QAAAAAAAD5Q7t/AAALPElEQVRYw5WY23NV5RnG33XY5+y9s3MwhJwTQMEoSVFB0OHglA6MDnWmjIeZthe99cqL3jr2T3A60wvacaZKFUWxFx0rOig4rSIJYMMhQAJJzBnIcWdnn9Za/b2LJAokAntmzVp7rfV93/M+7+n5liEP/jM5jB07dhizs7PG4s14PO599dVXHpd6uA8yoXGf7+iiuniwuro6YBhGOJ1OW57nGdls1lAArut6tm0XQqFQfmxsrFAsFvOAchZA/ezPvheAvXv32lNTU5H6+vpYRUVFWTQarTRNs7xQKMQcx7FYTAKBgMe9POcMYyZra2tvzMzMTAwODk4nk8lcZ2en+3NgVmQCy61gMBhavXp1srS0tIrJmph8Y0tLyy6YWD83N5fM5/M2DBi850UikUJJScm04+QvX7p05d8XL3Z3wFY/rIyPjo7Otra2Fg8cOODeN4hNmzbZ0K6WV/Jr4f+uVatW7QkGA9Xt7b+IQ3kIIFJ082KbwWWN6Dx76rsr3b0fnzlz5uTly5d7YG1qeHg4s8DKbT9rGQAWFscbGxvrANG+a9eu12Dhhfb2toqamtq4HTAClhW4FaGGtaIfE8lovKV57bry8ooqGJnCfVlcWXzmmWcKAPFWBKHBl0qlYoCo59iyffv2P+LzjU8//XQIusMQYFqmfX8Rb9uhoB0MY0BFOBxeOz09fRM25nFjpry8PN/X17csCGN+fj7c3Nz8EL+23bt3v47P14I8DADLsm4tzkSCVf7B86XrOw+n4Oi7QQZGWDRx/fr1DTdu3OhjzNTIyEh6aGjIuTM7jD179uh1KcHVBIDfM4EC8N1P5PuLUxeko6NDT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