<commit_before>define [
    'underscore'
    'URI'
    'backbone'
    'cs!app/views/base'
    'cs!app/views/context-menu'
    'cs!app/p13n'
    'i18next'
], (_, URI, Backbone, base, ContextMenu, p13n, i18n) ->

    class ExportingView extends base.SMLayout
        template: 'exporting'
        regions:
            exportingContext: '#exporting-context'
        events:
            'click': 'openMenu'
        openMenu: (ev) ->
            ev.preventDefault()
            ev.stopPropagation()
            if @exportingContext.currentView?
                @exportingContext.reset()
                return
            models = [
                new Backbone.Model
                    name: i18n.t 'tools.link_action'
                    action: _.bind @linkAction, @
                    icon: 'outbound-link'
                new Backbone.Model
                    name: i18n.t 'tools.share_action'
                    action: _.bind @shareAction, @
                    icon: 'outbound-link'
                new Backbone.Model
                    name: i18n.t 'tools.embed_action'
                    action: _.bind @embedAction, @
                    icon: 'outbound-link'
                new Backbone.Model
                    name: i18n.t 'tools.feedback_action'
                    action: _.bind @feedbackAction, @
                    icon: 'feedback'
                new Backbone.Model
                    name: i18n.t 'tools.info_action'
                    action: _.bind @infoAction, @
                    icon: 'info'<commit_msg>Disable under construction items from tool menu.<commit_after>define [
    'underscore'
    'URI'
    'backbone'
    'cs!app/views/base'
    'cs!app/views/context-menu'
    'cs!app/p13n'
    'i18next'
], (_, URI, Backbone, base, ContextMenu, p13n, i18n) ->

    class ExportingView extends base.SMLayout
        template: 'exporting'
        regions:
            exportingContext: '#exporting-context'
        events:
            'click': 'openMenu'
        openMenu: (ev) ->
            ev.preventDefault()
            ev.stopPropagation()
            if @exportingContext.currentView?
                @exportingContext.reset()
                return
            models = [
                # TODO: implement functionality
                # new Backbone.Model
                #     name: i18n.t 'tools.link_action'
                #     action: _.bind @linkAction, @
                #     icon: 'outbound-link'
                # new Backbone.Model
                #     name: i18n.t 'tools.share_action'
                #     action: _.bind @shareAction, @
                #     icon: 'outbound-link'
                new Backbone.Model
                    name: i18n.t 'tools.embed_action'
                    action: _.bind @embedAction, @
                    icon: 'outbound-link'
                new Backbone.Model
                    name: i18n.t 'tools.feedback_action'
                    action: _.bind @feedbackAction, @
                    icon: 'feedback'
                new Backbone.Model
                    name: i18n.t 'tools.info_action'
                    action: _.bind @infoAction, @
                    icon: 'info'
{'fraction_non_alphanumeric': 0.09675386069965332, 'fraction_numerical': 0.01134572959344469, 'mean_word_length': 1.2671428571428571, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '785151', 'n_tokens_mistral': 915, 'n_tokens_neox': 843, 'n_words': 178}