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 ( $pop_id, $trial_id, $list_id, $dataset_id, $data_set_type, $data_structure );
{
    my %pos;
    for ( my $x = 0; $x < @_; $x += 2 )
    {
        $pos{ $_[$x] } = $x + 1;
    }
#line 17 "/home/production/cxgn/sgn/mason/solgs/tools/kinship/plot.mas"
     $pop_id = exists $pos{'pop_id'} ? $_[ $pos{'pop_id'} ] :  undef;
#line 18 "/home/production/cxgn/sgn/mason/solgs/tools/kinship/plot.mas"
     $trial_id = exists $pos{'trial_id'} ? $_[ $pos{'trial_id'} ] :  undef;
#line 19 "/home/production/cxgn/sgn/mason/solgs/tools/kinship/plot.mas"
     $list_id = exists $pos{'list_id'} ? $_[ $pos{'list_id'} ] :  undef;
#line 20 "/home/production/cxgn/sgn/mason/solgs/tools/kinship/plot.mas"
     $dataset_id = exists $pos{'dataset_id'} ? $_[ $pos{'dataset_id'} ] :  undef;
#line 21 "/home/production/cxgn/sgn/mason/solgs/tools/kinship/plot.mas"
     $data_set_type = exists $pos{'data_set_type'} ? $_[ $pos{'data_set_type'} ] :  undef;
#line 22 "/home/production/cxgn/sgn/mason/solgs/tools/kinship/plot.mas"
     $data_structure = exists $pos{'data_structure'} ? $_[ $pos{'data_structure'} ] :  undef;
}
$m->debug_hook( $m->current_comp->path ) if ( HTML::Mason::Compiler::IN_PERL_DB() );

#line 14 "/home/production/cxgn/sgn/mason/solgs/tools/kinship/plot.mas"
$m->print( '
' );
#line 25 "/home/production/cxgn/sgn/mason/solgs/tools/kinship/plot.mas"
$m->print( '
' );
#line 26 "/home/production/cxgn/sgn/mason/solgs/tools/kinship/plot.mas"

$list_id = $pop_id if $pop_id =~ /list/;
$pop_id = undef if $list_id;
$pop_id = $trial_id if $trial_id;
#line 31 "/home/production/cxgn/sgn/mason/solgs/tools/kinship/plot.mas"
$m->print( '
<div id=\'kinship_canvas\'>
  <div id="kinship_message"  class="message"> </div>
  ' );
#line 34 "/home/production/cxgn/sgn/mason/solgs/tools/kinship/plot.mas"
$m->comp(   '/solgs/spinner/spinner.mas'  
); #line 34 "/home/production/cxgn/sgn/mason/solgs/tools/kinship/plot.mas"
$m->print( '

  <div id="kinship_plot" >
    <input type="hidden"  id="training_pop_id" value="' );
#line 37 "/home/production/cxgn/sgn/mason/solgs/tools/kinship/plot.mas"
$m->print(  $pop_id  );
#line 37 "/home/production/cxgn/sgn/mason/solgs/tools/kinship/plot.mas"
$m->print( '" />
    <input type="hidden"  id="dataset_id" value="' );
#line 38 "/home/production/cxgn/sgn/mason/solgs/tools/kinship/plot.mas"
$m->print(  $dataset_id  );
#line 38 "/home/production/cxgn/sgn/mason/solgs/tools/kinship/plot.mas"
$m->print( '" />
    <input type="hidden"  id="list_id" value="' );
#line 39 "/home/production/cxgn/sgn/mason/solgs/tools/kinship/plot.mas"
$m->print(  $list_id  );
#line 39 "/home/production/cxgn/sgn/mason/solgs/tools/kinship/plot.mas"
$m->print( '" />
    <input type="hidden"  id="data_structure" value="' );
#line 40 "/home/production/cxgn/sgn/mason/solgs/tools/kinship/plot.mas"
$m->print(  $data_structure  );
#line 40 "/home/production/cxgn/sgn/mason/solgs/tools/kinship/plot.mas"
$m->print( '" />
  </div>

</div>
' );
;return;
},
'declared_args' => {
  '$data_set_type' => { default => ' undef' },
  '$data_structure' => { default => ' undef' },
  '$dataset_id' => { default => ' undef' },
  '$list_id' => { default => ' undef' },
  '$pop_id' => { default => ' undef' },
  '$trial_id' => { default => ' undef' }
},
'load_time' => 1763102299,

)
;