<commit_before>kd                = require 'kd'
AvatarPopup       = require './avatarpopup'
CustomLinkView    = require '../customlinkview'
HelpSupportModal  = require '../commonviews/helpsupportmodal'
isSoloProductLite = require 'app/util/issoloproductlite'

module.exports = class AccountPopup extends AvatarPopup

  constructor: (options = {}, data) ->

    options.cssClass = kd.utils.curry 'account', options.cssClass

    super options, data

    { groupsController } = kd.singletons

    unless issoloproductlite()
      @avatarPopupContent.addSubView @paymentActionLabel = new CustomLinkView
        title      : 'Upgrade plan'
        href       : '/Pricing'
        cssClass   : 'bottom-separator'<commit_msg>accountpopup: renamed function call<commit_after>kd                = require 'kd'
AvatarPopup       = require './avatarpopup'
CustomLinkView    = require '../customlinkview'
HelpSupportModal  = require '../commonviews/helpsupportmodal'
isSoloProductLite = require 'app/util/issoloproductlite'

module.exports = class AccountPopup extends AvatarPopup

  constructor: (options = {}, data) ->

    options.cssClass = kd.utils.curry 'account', options.cssClass

    super options, data

    { groupsController } = kd.singletons

    unless isSoloProductLite()
      @avatarPopupContent.addSubView @paymentActionLabel = new CustomLinkView
        title      : 'Upgrade plan'
        href       : '/Pricing'
        cssClass   : 'bottom-separator'
{'fraction_non_alphanumeric': 0.09657534246575343, 'fraction_numerical': 0.0, 'mean_word_length': 3.1505681818181817, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5704821', 'n_tokens_mistral': 430, 'n_tokens_neox': 418, 'n_words': 92}