package SGN::View::Mason::Commands;
use strict;
use vars qw($m $c);
HTML::Mason::Component::FileBased->new(
'code' => sub {
use utf8; local $SGN::View::Mason::Commands::m = $HTML::Mason::Commands::m;
HTML::Mason::Exception::Params->throw
    ( error =>
      "Odd number of parameters passed to component expecting name/value pairs"
    ) if @_ % 2;
my ( $schema, $static_content_path, $show_accept_dialog, $phenotype_files, $breeding_programs, $locations, $preferred_species, $editable_stock_props, $timestamp, $facilities, $management_factor_types, $design_types );
{
    my %pos;
    for ( my $x = 0; $x < @_; $x += 2 )
    {
        $pos{ $_[$x] } = $x + 1;
    }

    foreach my $arg ( qw( schema timestamp ) )
    {
        HTML::Mason::Exception::Params->throw
            ( error => "no value sent for required parameter '$arg'" )
                unless exists $pos{$arg};
    }
#line 2 "/home/production/cxgn/cassava/mason/index.mas"
    $schema = $_[ $pos{'schema'} ];
#line 3 "/home/production/cxgn/cassava/mason/index.mas"
     $static_content_path = exists $pos{'static_content_path'} ? $_[ $pos{'static_content_path'} ] :  undef;
#line 4 "/home/production/cxgn/cassava/mason/index.mas"
     $show_accept_dialog = exists $pos{'show_accept_dialog'} ? $_[ $pos{'show_accept_dialog'} ] :  undef;
#line 5 "/home/production/cxgn/cassava/mason/index.mas"
     $phenotype_files = exists $pos{'phenotype_files'} ? $_[ $pos{'phenotype_files'} ] :  undef;
#line 6 "/home/production/cxgn/cassava/mason/index.mas"
     $breeding_programs = exists $pos{'breeding_programs'} ? $_[ $pos{'breeding_programs'} ] :  undef;
#line 7 "/home/production/cxgn/cassava/mason/index.mas"
     $locations = exists $pos{'locations'} ? $_[ $pos{'locations'} ] :  undef;
#line 8 "/home/production/cxgn/cassava/mason/index.mas"
     $preferred_species = exists $pos{'preferred_species'} ? $_[ $pos{'preferred_species'} ] :  undef;
#line 9 "/home/production/cxgn/cassava/mason/index.mas"
     $editable_stock_props = exists $pos{'editable_stock_props'} ? $_[ $pos{'editable_stock_props'} ] :  {};
#line 10 "/home/production/cxgn/cassava/mason/index.mas"
    $timestamp = $_[ $pos{'timestamp'} ];
#line 11 "/home/production/cxgn/cassava/mason/index.mas"
     $facilities = exists $pos{'facilities'} ? $_[ $pos{'facilities'} ] :  ();
#line 12 "/home/production/cxgn/cassava/mason/index.mas"
     $management_factor_types = exists $pos{'management_factor_types'} ? $_[ $pos{'management_factor_types'} ] :  ();
#line 13 "/home/production/cxgn/cassava/mason/index.mas"
     $design_types = exists $pos{'design_types'} ? $_[ $pos{'design_types'} ] :  ();
}
$m->debug_hook( $m->current_comp->path ) if ( HTML::Mason::Compiler::IN_PERL_DB() );

#line 15 "/home/production/cxgn/cassava/mason/index.mas"
$m->print( '
<center>
  ' );
#line 17 "/home/production/cxgn/cassava/mason/index.mas"
$m->comp(   'homepage/carousel.mas'  
); #line 17 "/home/production/cxgn/cassava/mason/index.mas"
$m->print( '
</center>
<br></br>

<div class="container-fluid">

    ' );
#line 23 "/home/production/cxgn/cassava/mason/index.mas"
$m->comp(   '/help/workflow_guided/begin.mas', breeding_programs=>$breeding_programs, locations=>$locations, preferred_species=>$preferred_species, editable_stock_props=>$editable_stock_props, timestamp=>$timestamp, management_factor_types => $management_factor_types, design_types => $design_types, facilities => $facilities   
); #line 23 "/home/production/cxgn/cassava/mason/index.mas"
$m->print( '

  <div class="well well-sm">
    ' );
#line 26 "/home/production/cxgn/cassava/mason/index.mas"
$m->comp(   '/util/include_file.mas', file=>  $static_content_path."/general_info.txt"   
); #line 26 "/home/production/cxgn/cassava/mason/index.mas"
$m->print( '
  </div>

  ' );
#line 29 "/home/production/cxgn/cassava/mason/index.mas"
$m->comp(   '/homepage/usage_popup.mas'  
); #line 29 "/home/production/cxgn/cassava/mason/index.mas"
$m->print( '
</div>

<div class="container-fluid">
  <div class="row">
    <div class="col-sm-6 col-md-6 col-lg-6">

      <div class="panel panel-info">
        <div class="panel-heading">News</div>
        <div class="panel-body" style="overflow:hidden">
          ' );
#line 39 "/home/production/cxgn/cassava/mason/index.mas"
$m->comp(   'homepage/news.mas'  
); #line 39 "/home/production/cxgn/cassava/mason/index.mas"
$m->print( '
        </div>
      </div>

      <!-- div class="panel panel-info">
        < div class="panel-heading">News Feed</div>
        <div class="panel-body" style="overflow:hidden">
          ' );
#line 46 "/home/production/cxgn/cassava/mason/index.mas"
$m->comp(   '/feed/xmlfeed.mas', uri=>"http://meltwaternews.com/magenta/xml/html/42/93/rss/v2_412463.rss2.XML"   
); #line 46 "/home/production/cxgn/cassava/mason/index.mas"
$m->print( '
        </div>
      </div -->



    </div>
    <div class="col-sm-6 col-md-6 col-lg-6">
     
      <div class="panel panel-info">
        <div class="panel-heading">Community</div>
	  <table class="table table-hover">
	    <tbody>
	      <tr>
	        <td><a href="/forum/topics.pl">CassavaBase Forum</a></td>
	      </tr>
	      <tr>
	        <td><a href="http://cassavabase.wikispaces.com">Cassava Wiki</a></td>
	      </tr>
	      <tr>
	        <td><a href="http://rubisco.sgn.cornell.edu/cgi-bin/mailman/listinfo/cassava-discussion">Cassava Discussion Mailing List</a></td>
	      </tr>
	    </tbody>
	  </table>
          
      </div>

      <div class="panel panel-info">
        <div class="panel-heading">Events</div>
        <div class="panel-body" style="overflow:hidden">
          ' );
#line 76 "/home/production/cxgn/cassava/mason/index.mas"
$m->comp(   'homepage/events.mas'  
); #line 76 "/home/production/cxgn/cassava/mason/index.mas"
$m->print( '
        </div>
      </div>


    </div>


  </div>
    <div class="panel panel-info">
        <div class="panel-heading">Featured Publication</div>
        <div class="panel-body" style="overflow:hidden">
          ' );
#line 88 "/home/production/cxgn/cassava/mason/index.mas"
$m->comp(   'homepage/publication_of_the_week.mas'  
); #line 88 "/home/production/cxgn/cassava/mason/index.mas"
$m->print( '<br />
        </div>
      </div>

</div>

' );
#line 94 "/home/production/cxgn/cassava/mason/index.mas"
$m->comp(   'homepage/github_pullrequests.mas'  
); #line 94 "/home/production/cxgn/cassava/mason/index.mas"
$m->print( '

' );
#line 96 "/home/production/cxgn/cassava/mason/index.mas"
 if ($phenotype_files) {
$m->print( '     ' );
#line 97 "/home/production/cxgn/cassava/mason/index.mas"
$m->comp(   'homepage/phenotype_uploads.mas', phenotype_files=>$phenotype_files   
); #line 97 "/home/production/cxgn/cassava/mason/index.mas"
$m->print( '
' );
#line 98 "/home/production/cxgn/cassava/mason/index.mas"
 }
$m->print( '




' );
;return;
},
'declared_args' => {
  '$breeding_programs' => { default => ' undef' },
  '$design_types' => { default => ' ()' },
  '$editable_stock_props' => { default => ' {}' },
  '$facilities' => { default => ' ()' },
  '$locations' => { default => ' undef' },
  '$management_factor_types' => { default => ' ()' },
  '$phenotype_files' => { default => ' undef' },
  '$preferred_species' => { default => ' undef' },
  '$schema' => { default => undef },
  '$show_accept_dialog' => { default => ' undef' },
  '$static_content_path' => { default => ' undef' },
  '$timestamp' => { default => undef }
},
'load_time' => 1763079527,

)
;