<commit_before>(function(angular){
    "use strict";

    var skeletonData = {
            global: {
                isVerified: false,
                isCombined: false,
                viewMode: 'map',
                filterEntity: null,
                locationFilters: {
                    enabled: null, // circle, address, neighborhood
                    circle: {
                        center: {
                            lat: null,
                            lng: null
                        },
                        radius: null,
                    },
                    neighborhood: {
                        center: {
                            lat: null,
                            lng: null
                        },
                        radius: 2000
                    },
                    address: {
                        text: '',
                        center: {
                            lat: null,
                            lng: null
                        }
                    }
                },
                map: {
                    zoom: null,
                    center: {
                        lat: null,
                        lng: null
                    }
                },
                enabled: {
                    agent: false,
                    space: false,
                    event: false
                }
            },
            agent: {
                keyword: '',
                areas: [],
                type: null,
                isVerified: false,
                id: null
            },
            space: {
                keyword: '',
                areas: [],
                types: [],
                acessibilidade: false,
                isVerified: false,
                id: null
            },
            event: {
                keyword: '',
                linguagens: [],
                from: null,
                to: null,
                classificacaoEtaria: null,
                isVerified: false,
            }
        };

    var diffFilter = function (input) {
        return _diffFilter(input, skeletonData);
    };

    var isEmpty = function (value) {
        if(typeof value === 'undefined' ||
           value === null) return true;

        if(angular.isObject(value)) {
            if(angular.equals(value, {}) ||<commit_msg>fixed search menu when not in combined search<commit_after>(function(angular){
    "use strict";

    var skeletonData = {
            global: {
                isVerified: false,
                isCombined: false,
                viewMode: 'map',
                filterEntity: null,
                locationFilters: {
                    enabled: null, // circle, address, neighborhood
                    circle: {
                        center: {
                            lat: null,
                            lng: null
                        },
                        radius: null,
                    },
                    neighborhood: {
                        center: {
                            lat: null,
                            lng: null
                        },
                        radius: 2000
                    },
                    address: {
                        text: '',
                        center: {
                            lat: null,
                            lng: null
                        }
                    }
                },
                map: {
                    zoom: null,
                    center: {
                        lat: null,
                        lng: null
                    }
                },
                enabled: {
                    agent: false,
                    space: false,
                    event: false
                }
            },
            agent: {
                keyword: '',
                areas: [],
                type: null,
                isVerified: false,
                id: null
            },
            space: {
                keyword: '',
                areas: [],
                types: [],
                acessibilidade: false,
                isVerified: false,
                id: null
            },
            event: {
                keyword: '',
                linguagens: [],
                from: '2010-01-01',
                to: '2014-10-10',
                classificacaoEtaria: null,
                isVerified: false,
            }
        };

    var diffFilter = function (input) {
        return _diffFilter(input, skeletonData);
    };

    var isEmpty = function (value) {
        if(typeof value === 'undefined' ||
           value === null) return true;

        if(angular.isObject(value)) {
            if(angular.equals(value, {}) ||
{'fraction_non_alphanumeric': 0.08368376787216147, 'fraction_numerical': 0.005046257359125316, 'mean_word_length': 0.6213360599863668, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1370179', 'n_tokens_mistral': 1086, 'n_tokens_neox': 963, 'n_words': 223}