 BaseModalView           = require './views/basemodalview'
 HelpSupportModal        = require '../commonviews/helpsupportmodal'
 
-MarketingSnippetView    = require 'app/marketing/marketingsnippetview'
 ReadmeView              = require './environmentsmachinereadmeview'
 
 whoami                  = require 'app/util/whoami'

        if subscription?.state is 'expired'
        then @buildExpiredView subscription
        else @buildInitial()

    { marketingController } = kd.singletons
    marketingController.on 'SnippetNeedsToBeShown', @bound 'showMarketingSnippet'

    @on 'MachineTurnOnStarted', (machine) ->
      sendDataDogEvent 'MachineTurnedOn', { tags: { label: machine.label } }


      @createProgressBar percentage
      @triggerEventTimer percentage

    else if @state is Terminated
      @label.destroy?()
      @createStateLabel if isKoding() then "
