use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");$this->out(Zen::PerlHandler->get("II1b7f5cd35f00c93f234e8e1273dbac2a->mnt_registry")->do($this->{C}));$this->out("\n");my $o = Zen::PerlHandler->get(II8dae0e141ee45f5daba6a74e4a7c3b6f::IlIIllIIllIlIIll($II982446f8950cc3dc59e487adba22df54::IIllllIlIIIIIlll{$II982446f8950cc3dc59e487adba22df54::llIllIIIIIIIlIIl},135,$II982446f8950cc3dc59e487adba22df54::IIllllIlIIIIIlll{$II982446f8950cc3dc59e487adba22df54::IlIllIlIlIIlIlll}).'->getOrDummy')->do($C->{INPUT}{pgtxn_id});$C->{PGTxn} = $o->getView("" || undef);$this->out("");$C->{Sale} = $C->{PGTxn}{sale};$this->out("");$C->{Order} = $C->{PGTxn}{order};$this->out("");$C->{Customer} = $C->{Order}{user};$this->out("\n<style>\n    BODY\n    {\n      font-family: Verdana;\n      font-size: 12px;\n    }\n    TD\n    {\n      font-size: 12px;\n    }\n    a, a:active, a:visited\n    {\n      color: blue;\n      text-decoration: none;\n    }\n    A:hover\n    {\n      text-decoration: underline;\n      color: red;\n    }\n</style>\n\n<table border=\"0\" width=\"500\" align=center><tr><td>\n<p align=\"center\">\n\n<font size=\"5\" color=\"#FF0000\"><b>Thank You!</b></font></p>\n\n");$C->{INVOICE} = "$C->{PGTxn}{invoiceNumber}";$this->out("");$C->{AMOUNT} = "$C->{PGTxn}{amountWithCurrencySign}";$this->out("");$C->{Settings} = $C->{PGTxn}{PGateSettings};$this->out("");$C->{Sale} = $C->{PGTxn}{SaleOrFirstSaleInBulk};$this->out("\n");if ( $C->{SpecfeatRegistry}{invoicepdf} ) {$this->out("");$C->{Objs} = Zen::PerlHandler->get(IIb39071a48a82a07eeb9256f406abebc5::lIIlIIIlllllllII($II720d6e18aa34327713eb014408fc9144::lIIIIIllIIIlllll{$IIb39071a48a82a07eeb9256f406abebc5::lllllllIlIllIlIl},153,$II720d6e18aa34327713eb014408fc9144::lIIIIIllIIIlllll{$II8dae0e141ee45f5daba6a74e4a7c3b6f::IlIlllllIllIIlIl}).'->search')->do(id => $C->{Settings}{invoice}, NUM => 1);$_ = $_->getView for @{ $C->{Objs} };$this->out("");$C->{I} = $C->{Objs}->[0];$this->out("");if ( $C->{I} ) {$this->out("");$C->{invoice_link} = "$C->{Sale}{thankLink}/invoice-$C->{I}{ID}.$C->{I}{format}";$this->out("");}$this->out("");}$this->out("\n");require IIa66da94aed9b371a0ee16b72f938ea09;my $val = "$C->{Settings}{message}";II720d6e18aa34327713eb014408fc9144::lIIlIIIIllIllIIl($IIb39071a48a82a07eeb9256f406abebc5::lllIlIIlIIIlIlll{$II720d6e18aa34327713eb014408fc9144::lIIlIIIIlllIlIII},1019,$IIb39071a48a82a07eeb9256f406abebc5::lllIlIIlIIIlIlll{$II982446f8950cc3dc59e487adba22df54::IllIIllIIIIlIIll})->evaluate(1) for $val;eval qq(\$C->{message} = $val);die($@) if $@;$this->out("<p align=\"justify\"><font size=\"3\">$C->{message}</font></p>\n\n</td></tr></table>\n");}