use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");$C->{script_start} = "<script>";$this->out("");$C->{script_end} = "</script>";$this->out("$C->{script_start}\nfunction MultiactHandler$C->{ListerControlsIncidence}(act)\n{\n");my $in = $C->{TabActs}{Lister};my $loop = ref($in) eq "ARRAY" ? $in : ref($in) eq "CODE" ? &{$in} : [];$C->{ITERATION}{a} = -1;for my $f (@$loop) {$C->{ITERATION}{a}++;$C->{a} = $f;$this->out("");if ( $C->{a}{codeMultiact} ) {$this->out("			if (act == \'$C->{a}{tabact}\')\n			{\n");require IIa66da94aed9b371a0ee16b72f938ea09;my $val = "$C->{a}{codeMultiact}";II8dae0e141ee45f5daba6a74e4a7c3b6f::IlIIIIIIIlllIlII($II720d6e18aa34327713eb014408fc9144::IIllIllllIlllIIl{$IIb39071a48a82a07eeb9256f406abebc5::lllllllIlIllIlIl},1019,$II720d6e18aa34327713eb014408fc9144::IIllIllllIlllIIl{$II720d6e18aa34327713eb014408fc9144::llIIIIIlllllIlIl})->evaluate(1) for $val;eval qq(\$C->{ta} = $val);die($@) if $@;$this->out("				$C->{ta}\n				return;\n			}\n");} else {$this->out("");if ( $C->{a}{confirm} ) {$this->out("				if (act == \'$C->{a}{tabact}\' && ! confirm(\'$C->{a}{confirm}\'))\n					return;\n");}$this->out("");}$this->out("");}$this->out("\n	var form = document.forms[\'Lister\'];\n	form.elements[\'TabAct\'].value = act;\n	form.submit();\n	return;\n}\n$C->{script_end}\n\n<select name=\"MultiactSelector$C->{ListerControlsIncidence}\" class=\"custom-select mb-2 mr-sm-2\">\n<option value=\"\"> With selected...\n");my $in = $C->{TabActs}{Lister};my $loop = ref($in) eq "ARRAY" ? $in : ref($in) eq "CODE" ? &{$in} : [];$C->{ITERATION}{a} = -1;for my $f (@$loop) {$C->{ITERATION}{a}++;$C->{a} = $f;$this->out("	<option value=\"$C->{a}{tabact}\"> &nbsp;&nbsp; $C->{a}{name}</option>\n");}$this->out("</select>\n<input type=button class=\"btn btn-primary mb-2 mr-sm-4\" value=\"DO\" onClick=\"var sel = document.forms[\'Lister\'].MultiactSelector$C->{ListerControlsIncidence}; return MultiactHandler$C->{ListerControlsIncidence}(sel.options[sel.selectedIndex].value);\">\n");}